diff --git a/deepdataspace/server/static/index.html b/deepdataspace/server/static/index.html index b04643c..a73c5e8 100644 --- a/deepdataspace/server/static/index.html +++ b/deepdataspace/server/static/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/deepdataspace/server/static/p__Annotator__index.1fc40bde.async.js b/deepdataspace/server/static/p__Annotator__index.1fc40bde.async.js new file mode 100644 index 0000000..e8473fd --- /dev/null +++ b/deepdataspace/server/static/p__Annotator__index.1fc40bde.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[734],{25970:function(l,e,_){_.r(e);var s=_(63900),a=_.n(s),E=_(58757),d=_(28638),n=_(97375),t=_(35667),o=function(){var u=(0,n.useModel)("Annotator.model");return(0,t.jsx)(d.Z,a()({},u))};e.default=o}}]); diff --git a/deepdataspace/server/static/p__Annotator__index.8750e2fd.async.js b/deepdataspace/server/static/p__Annotator__index.8750e2fd.async.js deleted file mode 100644 index a8f203d..0000000 --- a/deepdataspace/server/static/p__Annotator__index.8750e2fd.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[734],{25970:function(l,e,_){_.r(e);var a=_(63900),n=_.n(a),m=_(58757),s=_(28638),u=_(97375),o=_(35667),d=function(){var t=(0,u.useModel)("Annotator.model");return(0,o.jsx)(s.Z,n()({},t))};e.default=d}}]); diff --git a/deepdataspace/server/static/p__Dataset__index.a1265ad5.async.js b/deepdataspace/server/static/p__Dataset__index.419888be.async.js similarity index 99% rename from deepdataspace/server/static/p__Dataset__index.a1265ad5.async.js rename to deepdataspace/server/static/p__Dataset__index.419888be.async.js index b19bfe9..ff248bf 100644 --- a/deepdataspace/server/static/p__Dataset__index.a1265ad5.async.js +++ b/deepdataspace/server/static/p__Dataset__index.419888be.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[33],{51204:function(de,b,e){e.d(b,{Z:function(){return B}});var F=e(58757),x=e(59504),I=e(53357),w={wrapper:"wrapper___FtwXk"},v=e(35667),r=function(T){var c=(0,I.bU)(),i=c.localeText,f=T.categoryId,n=T.categories,h=T.onCategoryChange,M=(0,F.useMemo)(function(){return n.map(function(E){return{label:E.name,value:E.id}})},[n]);return(0,v.jsxs)("div",{className:w.wrapper,children:[i("dataset.detail.category"),":",(0,v.jsx)(x.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:M,optionFilterProp:"label",value:f,onChange:h,getPopupContainer:function(){var p;return((p=document.getElementById("filterWrap"))===null||p===void 0?void 0:p.parentElement)||null}})]})},B=r},85205:function(de,b,e){e.d(b,{Z:function(){return n}});var F=e(58757),x=e(10852),I=e(38904),w=e(57414),v={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},r=e(87615),B=e(87608),Y=e.n(B),T=e(53357),c=e(76180),i=e(35667),f=function(M){var E=(0,T.bU)(),p=E.localeText,K=M.annotationTypes,Z=M.disableChangeType,G=M.displayAnnotationType,_=M.displayOptions,X=M.displayOptionsValue,U=M.onDisplayAnnotationTypeChange,S=M.onDisplayOptionsChange;return(0,i.jsx)(r.Z,{className:v.dropBtn,customOverlay:(0,i.jsxs)("div",{className:Y()(v.displayPanel),children:[K.length>0&&(0,i.jsxs)("div",{className:v.objectTypeOption,children:[(0,i.jsxs)("span",{className:v.typeTitle,children:[p("dataset.detail.displayType"),":"]}),(0,i.jsx)(x.ZP.Group,{disabled:Z,onChange:function(k){return U(k.target.value)},value:G,children:K.map(function(D){return(0,i.jsx)(x.ZP,{value:D,children:D},D)})})]}),(0,i.jsx)(I.Z.Group,{className:v.displayOptions,onChange:S,value:X,children:(0,i.jsx)(w.Z,{direction:"vertical",children:_.map(function(D){return(0,i.jsx)(I.Z,{value:D,children:p(c.Ss[D])},D)})})})]}),children:p("dataset.detail.displayOptions")})},n=f},87615:function(de,b,e){e.d(b,{Z:function(){return f}});var F=e(58757),x=e(38904),I=e(10852),w=e(73267),v=e(57414),r=e(12562),B=e(10130),Y=e(53357),T={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},c=e(35667),i=function(h){var M=h.data,E=h.multiple,p=h.type,K=p===void 0?"primary":p,Z=h.ghost,G=Z===void 0?!0:Z,_=h.value,X=h.filterOptionValue,U=h.filterOptionName,S=h.onChange,D=h.className,k=h.children,se=h.customOverlay,oe=E?x.Z:I.ZP,je=function(A){S&&S(E?A:A.target.value)};return(0,c.jsx)(w.Z,{overlayClassName:T.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,c.jsx)("div",{className:T.dropdownWrap,children:se||(0,c.jsx)(oe.Group,{className:T.dropdownBox,onChange:je,value:_,children:(0,c.jsx)(v.Z,{direction:"vertical",children:M==null?void 0:M.map(function(A,ee){var ce=X?X(A):A,ue=U?U(A):A;return(0,c.jsx)(oe,{value:ce,children:(0,Y._w)(ue)},ee)})})})})},children:(0,c.jsxs)(r.ZP,{className:D,type:K,ghost:G,children:[k,(0,c.jsx)(B.Z,{})]})})},f=i},77589:function(de,b,e){e.d(b,{Z:function(){return M}});var F=e(58757),x=e(38904),I=e(57414),w=e(94706),v=e(10852),r={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},B=e(87615),Y=e(87608),T=e.n(Y),c=e(76180),i=e(74595),f=e(53357),n=e(35667),h=function(p){var K=(0,f.bU)(),Z=K.localeText,G=p.showMatting,_=p.showKeyPoints,X=p.isTiledDiff,U=p.labels,S=p.selectedLabelIds,D=p.diffMode,k=p.disableChangeDiffMode,se=p.onLabelsChange,oe=p.onLabelConfidenceChange,je=p.onLabelsDiffModeChange;return(0,n.jsx)(B.Z,{customOverlay:(0,n.jsxs)("div",{className:T()(r.labelsPanel),id:"labelsPanel",children:[(0,n.jsxs)("div",{className:r.labels,children:[(0,n.jsxs)("div",{className:r.labelTitle,children:[(0,n.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:Z("dataset.detail.labelSetsName")}),!G&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"132px"},children:Z("dataset.detail.confidence")}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:Z("dataset.detail.style")})]})]}),(0,n.jsx)(x.Z.Group,{onChange:se,value:S,className:r.options,children:(0,n.jsx)(I.Z,{direction:"vertical",children:U.map(function(d,A){var ee=(0,i.iE)(d.id,S,X),ce=ee.strokeDash,ue=ee.lineWidth,ge=ee.colorAplha;return(0,n.jsxs)("div",{className:r.optionRow,children:[(0,n.jsx)(x.Z,{value:d.id,className:r.checkbox,disabled:!S.includes(d.id)&&S.length>=c.JQ.length,children:d.name}),!G&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:r.slider,range:!0,min:0,max:1,value:d.confidenceRange,step:.01,onChange:function(R){return oe(A,R)},disabled:d.source!==c.$j.pred}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:S.includes(d.id)&&(0,n.jsxs)("svg",{className:r.lineStyle,children:[(0,n.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:ce.join(","),strokeWidth:"".concat(ue,"pt")}),_&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(ge,")")}),(0,n.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(ge,")")})]})]})})]})]},d.id)})})})]}),!G&&!k&&(0,n.jsx)("div",{className:r.modes,children:(0,n.jsx)(v.ZP.Group,{onChange:function(A){return je(A.target.value)},value:D,children:c.Wp.map(function(d){return(0,n.jsx)(v.ZP,{value:d,children:Z(d)},d)})})})]}),children:Z("dataset.detail.labelSets")})},M=h},2289:function(de,b,e){e.r(b),e.d(b,{default:function(){return Ge}});var F=e(24454),x=e.n(F),I=e(56592),w=e.n(I),v=e(58757),r=e(97375),B=e(28506),Y=e(61845),T=e(37617),c=e(79233),i=e(6233),f=e.n(i),n=e(12562),h=e(10852),M=e(92183),E=e(60698),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},K=p,Z=e(17202),G=function(o,t){return v.createElement(Z.Z,(0,E.Z)({},o,{ref:t,icon:K}))},_=v.forwardRef(G),X=Object.defineProperty,U=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,k=(O,o,t)=>o in O?X(O,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):O[o]=t,se=(O,o)=>{for(var t in o||(o={}))S.call(o,t)&&k(O,t,o[t]);if(U)for(var t of U(o))D.call(o,t)&&k(O,t,o[t]);return O};const oe=O=>v.createElement("svg",se({className:"random_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},O),v.createElement("path",{d:"M68.253 349.325h162.675c8.156 0 32.477 8.156 40.633 16.311l56.944 56.944c16.311 24.467 48.788 24.467 73.109 0 24.467-16.311 24.467-48.788 0-73.109l-56.944-56.944c-24.321-24.321-73.109-48.788-113.887-48.788H68.254c-32.477 0-48.788 24.467-48.788 48.788 0 32.331 24.467 56.798 48.788 56.798zm609.923 0h89.42v65.099c0 16.311 8.156 24.467 24.467 16.311l186.996-121.897c16.311-8.156 16.311-24.467 0-32.477L792.063 154.464c-16.311-8.156-24.467 0-24.467 16.311v89.275h-89.42c-81.265 0-97.575 40.633-154.519 97.575L336.661 625.594c-32.477 32.477-130.052 65.099-178.841 65.099H68.4c-32.477 0-48.788 24.321-48.788 48.788 0 32.477 24.321 48.788 48.788 48.788h89.42c81.265 0 195.152-40.633 252.095-97.575l186.996-268.26c40.633-40.633 32.477-73.109 81.265-73.109zm300.883 373.992L792.063 593.265c-16.311-8.156-24.467 0-24.467 16.311v81.265h-89.42c-8.156 0-32.477-8.156-40.633-16.311l-56.944-56.944c-16.311-24.467-48.788-24.467-73.109 0-24.321 16.311-24.321 48.788 0 73.109l56.944 56.944c24.467 24.321 73.109 48.788 113.887 48.788h89.42v65.099c0 16.311 8.156 24.321 24.467 16.311L979.204 755.94c16.02-8.156 16.02-24.467-.146-32.622z"}));var je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTY4LjI1MyAzNDkuMzI1aDE2Mi42NzVjOC4xNTYgMCAzMi40NzcgOC4xNTYgNDAuNjMzIDE2LjMxMWw1Ni45NDQgNTYuOTQ0YzE2LjMxMSAyNC40NjcgNDguNzg4IDI0LjQ2NyA3My4xMDkgMCAyNC40NjctMTYuMzExIDI0LjQ2Ny00OC43ODggMC03My4xMDlsLTU2Ljk0NC01Ni45NDRjLTI0LjMyMS0yNC4zMjEtNzMuMTA5LTQ4Ljc4OC0xMTMuODg3LTQ4Ljc4OEg2OC4yNTRjLTMyLjQ3NyAwLTQ4Ljc4OCAyNC40NjctNDguNzg4IDQ4Ljc4OCAwIDMyLjMzMSAyNC40NjcgNTYuNzk4IDQ4Ljc4OCA1Ni43OTh6bTYwOS45MjMgMGg4OS40MnY2NS4wOTljMCAxNi4zMTEgOC4xNTYgMjQuNDY3IDI0LjQ2NyAxNi4zMTFsMTg2Ljk5Ni0xMjEuODk3YzE2LjMxMS04LjE1NiAxNi4zMTEtMjQuNDY3IDAtMzIuNDc3TDc5Mi4wNjMgMTU0LjQ2NGMtMTYuMzExLTguMTU2LTI0LjQ2NyAwLTI0LjQ2NyAxNi4zMTF2ODkuMjc1aC04OS40MmMtODEuMjY1IDAtOTcuNTc1IDQwLjYzMy0xNTQuNTE5IDk3LjU3NUwzMzYuNjYxIDYyNS41OTRjLTMyLjQ3NyAzMi40NzctMTMwLjA1MiA2NS4wOTktMTc4Ljg0MSA2NS4wOTlINjguNGMtMzIuNDc3IDAtNDguNzg4IDI0LjMyMS00OC43ODggNDguNzg4IDAgMzIuNDc3IDI0LjMyMSA0OC43ODggNDguNzg4IDQ4Ljc4OGg4OS40MmM4MS4yNjUgMCAxOTUuMTUyLTQwLjYzMyAyNTIuMDk1LTk3LjU3NWwxODYuOTk2LTI2OC4yNmM0MC42MzMtNDAuNjMzIDMyLjQ3Ny03My4xMDkgODEuMjY1LTczLjEwOXptMzAwLjg4MyAzNzMuOTkyTDc5Mi4wNjMgNTkzLjI2NWMtMTYuMzExLTguMTU2LTI0LjQ2NyAwLTI0LjQ2NyAxNi4zMTF2ODEuMjY1aC04OS40MmMtOC4xNTYgMC0zMi40NzctOC4xNTYtNDAuNjMzLTE2LjMxMWwtNTYuOTQ0LTU2Ljk0NGMtMTYuMzExLTI0LjQ2Ny00OC43ODgtMjQuNDY3LTczLjEwOSAwLTI0LjMyMSAxNi4zMTEtMjQuMzIxIDQ4Ljc4OCAwIDczLjEwOWw1Ni45NDQgNTYuOTQ0YzI0LjQ2NyAyNC4zMjEgNzMuMTA5IDQ4Ljc4OCAxMTMuODg3IDQ4Ljc4OGg4OS40MnY2NS4wOTljMCAxNi4zMTEgOC4xNTYgMjQuMzIxIDI0LjQ2NyAxNi4zMTFMOTc5LjIwNCA3NTUuOTRjMTYuMDItOC4xNTYgMTYuMDItMjQuNDY3LS4xNDYtMzIuNjIyeiIvPjwvc3ZnPg==",d=e(76180),A=e(23707),ee=e(51204),ce=e(77589),ue=e(85205),ge=e(51830),xe=e(53357),R={fixMenu:"fixMenu___sFkoc",filter:"filter___YLCNA",rightFilters:"rightFilters___ciVMw",backBtn:"backBtn___czLrv",dropBtn:"dropBtn___dmpsD",randomBtn:"randomBtn___PIxOz"},Ce=e(67160),a=e(35667),Ae=function(){var o=(0,xe.bU)(),t=o.localeText,y=(0,r.useModel)("dataset.common",function(P){return{isTiledDiff:P.isTiledDiff,cloumnCount:P.pageState.cloumnCount,filters:P.pageData.filters,filterValues:P.pageState.filterValues,comparisons:P.pageState.comparisons,queryMode:P.pageState.queryMode,loadImgList:P.loadImgList}}),u=y.filters,C=y.filterValues,g=y.comparisons,N=y.isTiledDiff,H=y.cloumnCount,Q=y.queryMode,j=y.loadImgList,L=(0,r.useModel)("dataset.filters"),W=L.onCategoryChange,V=L.onDisplayOptionsChange,ie=L.onDisplayAnnotationTypeChange,pe=L.onLabelsChange,he=L.onLabelConfidenceChange,J=L.onLabelsDiffModeChange,fe=L.onColumnCountChange,ae=L.onQueryModeChanged,me=(0,r.useModel)("dataset.comparisons"),re=me.openAnalysisModal,Me=u.labels,l=C.selectedLabelIds,s=C.displayAnnotationType===d.JJ.Matting,ne=C.displayAnnotationType===d.JJ.KeyPoints;return(0,a.jsxs)("div",{className:R.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:R.filter,children:[(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(M.Z,{}),type:"text",className:R.backBtn,onClick:function(){return(0,A.yS)("/dataset")}}),(0,a.jsx)(ee.Z,{categoryId:C.categoryId,categories:u.categories,onCategoryChange:W}),g?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.ZP.Group,{value:Q,buttonStyle:"solid",className:R.dropBtn,onChange:function(te){return ae(te.target.value)},children:[(0,a.jsx)(h.ZP.Button,{value:Ce.nJ.pagination,children:t("dataset.detail.pagination")}),(0,a.jsx)(h.ZP.Button,{value:Ce.nJ.random,children:t("dataset.detail.random")})]}),Q===Ce.nJ.random&&(0,a.jsx)(n.ZP,{type:"text",icon:(0,a.jsx)(oe,{}),className:R.randomBtn,onClick:function(){return j(!1,!0)},children:t("dataset.detail.randomQuery")})]})]}),(0,a.jsxs)("div",{className:R.rightFilters,children:[g?null:(0,a.jsx)(ce.Z,{showMatting:s,showKeyPoints:ne,isTiledDiff:N,labels:Me,selectedLabelIds:l,diffMode:C.diffMode,onLabelsChange:pe,onLabelConfidenceChange:he,onLabelsDiffModeChange:J}),(0,a.jsx)(ue.Z,{annotationTypes:u.annotationTypes,disableChangeType:!!g,displayAnnotationType:C.displayAnnotationType,displayOptions:u.displayOptions,displayOptionsValue:C.displayOptions,onDisplayAnnotationTypeChange:ie,onDisplayOptionsChange:V}),g?null:(0,a.jsxs)(n.ZP,{className:R.dropBtn,type:"primary",onClick:re,children:[(0,a.jsx)(_,{}),t("dataset.detail.analysis")]}),!N&&(0,a.jsx)(ge.ii,{cloumnCount:H,onColumnCountChange:fe})]})]})},Pe=Ae,ze=e(88205),be=e.n(ze),Le=e(84045),we=e(62109),Ze=e(59504),ve=e(38904),Be=e(94706),Te=e(87615),m={tools:"tools___Ug3Ea",title:"title____AI54",optionsTitle:"optionsTitle___sroju",vsText:"vsText___dPKn_",vs:"vs___zpup3",splitLine:"splitLine___SWsIk",splitLineLeft:"splitLineLeft___gVvN2",toolsBar:"toolsBar___SS4ub",text:"text___TLeEl",selector:"selector___rNXkx",scoreSlider:"scoreSlider___Dmu_I",slider:"slider___TbBwi",displayBar:"displayBar___iGMj2",anlysisModal:"anlysisModal___IPNpO"},De=e(41260),Ee=function(){var o,t,y=(0,xe.bU)(),u=y.localeText,C=(0,r.useModel)("dataset.common",function(l){return{comparisons:l.pageState.comparisons,labels:l.pageData.filters.labels}}),g=C.comparisons,N=C.labels,H=(0,v.useState)(void 0),Q=be()(H,2),j=Q[0],L=Q[1],W=(0,r.useModel)("dataset.comparisons"),V=W.showAnalysisModal,ie=W.closeAnalysisModal,pe=W.compareLabelSet,he=W.exitComparisons,J=W.onFilterComparisonsPrecision,fe=N.length>0&&N.find(function(l){return l.source===d.$j.gt})&&N.find(function(l){var s;return((s=l.comparePrecisions)===null||s===void 0?void 0:s.length)>0}),ae=N.find(function(l){return l.source===d.$j.gt}),me=N.filter(function(l){var s;return((s=l.comparePrecisions)===null||s===void 0?void 0:s.length)>0}).map(function(l){return{value:l.id,label:l.name}}),re=function(s){L(s)},Me=function(){if(!fe){Le.ZP.warning(u("dataset.toAnalysis.unSupportWarn"));return}var s=N.find(function(ne){return ne.id===j});if(!j||!s){Le.ZP.warning(u("dataset.toAnalysis.unSelectWarn"));return}ie(),pe(s)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(we.Z,{title:u("dataset.detail.analModal.title"),footer:[(0,a.jsx)(n.ZP,{type:"primary",onClick:Me,children:u("dataset.detail.analModal.btn")},"analysis")],open:V,onCancel:ie,children:(0,a.jsxs)("div",{className:m.anlysisModal,children:[(0,a.jsx)("div",{children:ae==null?void 0:ae.name}),(0,a.jsx)("div",{className:m.vs,children:"vs"}),(0,a.jsx)(Ze.Z,{placeholder:u("dataset.detail.analModal.select"),style:{width:240},onChange:re,options:me,value:j})]})}),g&&(0,a.jsxs)("div",{className:m.tools,children:[(0,a.jsxs)("div",{className:m.toolsBar,children:[(0,a.jsxs)("div",{className:m.selector,children:[(0,a.jsxs)("div",{className:m.title,children:[u("dataset.detail.analModal.sort")," :"]}),(0,a.jsx)(Te.Z,{data:d.J1,value:g.orderBy,filterOptionName:function(s){return s.name},filterOptionValue:function(s){return s.value},onChange:function(s){return J("orderBy",s)},ghost:!1,type:"default",children:(o=d.J1.find(function(l){return l.value===g.orderBy}))===null||o===void 0?void 0:o.name}),(0,a.jsx)("span",{className:m.text,children:"with Confidence Precision"}),(0,a.jsxs)(Te.Z,{data:g.label.comparePrecisions,value:g.precision,filterOptionName:function(s){return"".concat(s.precision," (Threshold: ").concat((0,De.O)(s.threshold),")")},filterOptionValue:function(s){return s.precision},onChange:function(s){return J("precision",s)},ghost:!1,type:"default",children:[g.precision," (Threshold: ".concat((0,De.O)(((t=g.label.comparePrecisions.find(function(l){return l.precision===g.precision}))===null||t===void 0?void 0:t.threshold)||0),")")]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:m.vsText,children:["GroundTruch ",(0,a.jsx)("span",{className:m.vs,children:"VS"})," ",g==null?void 0:g.label.name]}),(0,a.jsx)(n.ZP,{onClick:he,children:u("dataset.detail.analModal.exit")})]})]}),(0,a.jsxs)("div",{className:m.displayBar,children:[(0,a.jsxs)("div",{className:m.title,children:[u("dataset.detail.analModal.display")," :"]}),(0,a.jsx)(h.ZP.Group,{options:d.Wp.map(function(l){return{label:"".concat(u(l)).concat(u("dataset.detail.analModal.diff")),value:l}}),onChange:function(s){return J("diffMode",s.target.value)},value:g.diffMode,optionType:"button"}),(0,a.jsx)("div",{className:m.splitLine}),(0,a.jsxs)(ve.Z.Group,{value:g.displays,onChange:function(s){return J("displays",s)},children:[(0,a.jsx)("span",{className:m.optionsTitle,children:"GroundTruth :"}),(0,a.jsx)(ve.Z,{value:d.$j.gt,children:"Matched"}),(0,a.jsx)(ve.Z,{value:d.BP.fn,children:"FN"}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsx)("span",{className:m.optionsTitle,children:"Prediction :"}),(0,a.jsx)(ve.Z,{value:d.$j.pred,children:"Matched"}),(0,a.jsx)(ve.Z,{value:d.BP.fp,children:"FP"})]}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsxs)("div",{className:m.scoreSlider,children:["Confidence threshold:",(0,a.jsx)(Be.Z,{className:m.slider,min:0,max:1,value:g.score,step:.01,onChange:function(s){return J("score",s)}})]})]})]})]})},Ye=Ee,Oe=e(74595),Ne={toolsBar:"toolsBar___YbUXd",name:"name___QVqrS",vs:"vs___xuWpM"},Qe=function(o){var t=o.itemWidth,y=(0,r.useModel)("dataset.common",function(j){return{selectedLabelIds:j.pageState.filterValues.selectedLabelIds,displayAnnotationType:j.pageState.filterValues.displayAnnotationType,labels:j.pageData.filters.labels,comparisons:j.pageState.comparisons,isTiledDiff:j.isTiledDiff}}),u=y.comparisons,C=y.isTiledDiff,g=y.labels,N=y.selectedLabelIds,H=y.displayAnnotationType;if(u||N.length<=1)return null;var Q=(0,Oe.WR)(g,N,H);return(0,a.jsx)("div",{className:Ne.toolsBar,children:Q.map(function(j,L){return(0,a.jsxs)(v.Fragment,{children:[!C&&L>0&&(0,a.jsx)("span",{className:Ne.vs,children:"VS"}),(0,a.jsx)("span",{className:Ne.name,style:{width:C&&L+1!==Q.length?t:"auto"},children:j.name})]},j.id)})})},We=Qe,Ie=e(88662),Ve=e(4394),q={page:"page___O9xsN",container:"container___rArHW",item:"item___aq9kP",itemImgWrap:"itemImgWrap___IaXgL",flagIcon:"flagIcon___Cm6rw",label:"label___spqGh",itemSelectedMask:"itemSelectedMask___CHtC_",pagination:"pagination___VE_pg",editor:"editor___Nl4nr",pageSpin:"pageSpin___zzy9v"},Fe=function(){var o=(0,r.useModel)("dataset.common"),t=o.pageState,y=o.onInitPageState,u=o.pageData,C=o.loading,g=o.displayLabelIds,N=o.isTiledDiff,H=o.displayOptionsResult,Q=o.onPageContentLoaded,j=o.onPreviewIndexChange,L=o.exitPreview,W=o.displayObjectsFilter,V=(0,r.useModel)("Dataset.model"),ie=V.onPageDidMount,pe=V.onPageWillUnmount,he=V.clickItem,J=V.doubleClickItem,fe=V.onPageChange,ae=V.onPageSizeChange,me=(0,r.useModel)("global"),re=me.layoutInnerWidth,Me=t.cloumnCount,l=t.isSingleAnnotation,s=t.filterValues,ne=t.flagTools;(0,B._)({onPageDidMount:ie,onPageWillUnmount:pe,onInitPageState:y,pageState:t});var P=re?re-80:0,te=(0,v.useMemo)(function(){return N?(0,Oe.JC)(u.imgList,g,s.displayAnnotationType):u.imgList},[N,u.imgList,g]),Se=N?te.length/(u.imgList.length||1):Me,le=P?(P-16*(Se-1))/(Se||1):0;return(0,a.jsxs)(Y._z,{ghost:!0,className:q.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Pe,{}),(0,a.jsx)(Ye,{}),(0,a.jsx)(We,{itemWidth:le+16})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:q.container,children:(0,a.jsx)(T.Z,{loading:C,children:te.length?(0,a.jsx)(f(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return Q()},enableResizableChildren:!0,children:te.map(function(z,ye){return(0,a.jsxs)("div",{className:q.item,style:{width:le},onClick:function(){return he(ye)},onDoubleClick:function(){return J(ye)},children:[(0,a.jsx)("div",{className:q.itemImgWrap,style:{width:le,height:ne?le*3/4:"auto"},children:(0,a.jsx)(Ie.D5,{isOldMode:!0,categories:u.filters.categories,data:z,wrapWidth:le,wrapHeight:ne?le*3/4:void 0,minHeight:le*3/4,objectsFilter:W,displayOptionsResult:H})}),z.flag>0&&(0,a.jsx)(Ve.r,{fill:d.a5[z.flag],className:q.flagIcon}),H.showImgDesc&&(0,a.jsxs)("div",{className:q.label,children:[" ",z.caption||z.desc," "]}),ne&&z.selected?(0,a.jsx)("div",{className:q.itemSelectedMask}):null]},"".concat(z.id,"_").concat(ye))})}):null})}),!C&&t.queryMode===Ce.nJ.pagination&&(0,a.jsx)(ge.ZJ,{current:t.page,size:t.pageSize,total:u.total,onPageChange:fe,onPageSizeChange:ae}),(0,a.jsx)(Ie.j5,{isOldMode:!0,visible:t.previewIndex>=0&&!l,categories:u.filters.categories,list:te,current:t.previewIndex,onCancel:L,onNext:w()(x()().mark(function z(){return x()().wrap(function($){for(;;)switch($.prev=$.next){case 0:t.previewIndex0&&j(t.previewIndex-1);case 1:case"end":return $.stop()}},z)})),objectsFilter:W,displayOptionsResult:H}),u.screenLoading?(0,a.jsx)("div",{className:q.pageSpin,children:(0,a.jsx)(c.Z,{spinning:!0,tip:u.screenLoading})}):null]})},Ge=Fe},4394:function(de,b,e){e.d(b,{r:function(){return Y}});var F=e(58757),x=Object.defineProperty,I=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,r=(c,i,f)=>i in c?x(c,i,{enumerable:!0,configurable:!0,writable:!0,value:f}):c[i]=f,B=(c,i)=>{for(var f in i||(i={}))w.call(i,f)&&r(c,f,i[f]);if(I)for(var f of I(i))v.call(i,f)&&r(c,f,i[f]);return c};const Y=c=>F.createElement("svg",B({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},c),F.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[33],{51204:function(de,b,e){e.d(b,{Z:function(){return B}});var F=e(58757),x=e(59504),I=e(53357),w={wrapper:"wrapper___FtwXk"},v=e(35667),r=function(T){var c=(0,I.bU)(),i=c.localeText,f=T.categoryId,n=T.categories,h=T.onCategoryChange,M=(0,F.useMemo)(function(){return n.map(function(E){return{label:E.name,value:E.id}})},[n]);return(0,v.jsxs)("div",{className:w.wrapper,children:[i("dataset.detail.category"),":",(0,v.jsx)(x.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:M,optionFilterProp:"label",value:f,onChange:h,getPopupContainer:function(){var p;return((p=document.getElementById("filterWrap"))===null||p===void 0?void 0:p.parentElement)||null}})]})},B=r},85205:function(de,b,e){e.d(b,{Z:function(){return n}});var F=e(58757),x=e(10852),I=e(38904),w=e(57414),v={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},r=e(87615),B=e(87608),Y=e.n(B),T=e(53357),c=e(76180),i=e(35667),f=function(M){var E=(0,T.bU)(),p=E.localeText,K=M.annotationTypes,Z=M.disableChangeType,G=M.displayAnnotationType,_=M.displayOptions,X=M.displayOptionsValue,U=M.onDisplayAnnotationTypeChange,S=M.onDisplayOptionsChange;return(0,i.jsx)(r.Z,{className:v.dropBtn,customOverlay:(0,i.jsxs)("div",{className:Y()(v.displayPanel),children:[K.length>0&&(0,i.jsxs)("div",{className:v.objectTypeOption,children:[(0,i.jsxs)("span",{className:v.typeTitle,children:[p("dataset.detail.displayType"),":"]}),(0,i.jsx)(x.ZP.Group,{disabled:Z,onChange:function(k){return U(k.target.value)},value:G,children:K.map(function(D){return(0,i.jsx)(x.ZP,{value:D,children:D},D)})})]}),(0,i.jsx)(I.Z.Group,{className:v.displayOptions,onChange:S,value:X,children:(0,i.jsx)(w.Z,{direction:"vertical",children:_.map(function(D){return(0,i.jsx)(I.Z,{value:D,children:p(c.Ss[D])},D)})})})]}),children:p("dataset.detail.displayOptions")})},n=f},87615:function(de,b,e){e.d(b,{Z:function(){return f}});var F=e(58757),x=e(38904),I=e(10852),w=e(73267),v=e(57414),r=e(12562),B=e(10130),Y=e(53357),T={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},c=e(35667),i=function(h){var M=h.data,E=h.multiple,p=h.type,K=p===void 0?"primary":p,Z=h.ghost,G=Z===void 0?!0:Z,_=h.value,X=h.filterOptionValue,U=h.filterOptionName,S=h.onChange,D=h.className,k=h.children,se=h.customOverlay,oe=E?x.Z:I.ZP,je=function(A){S&&S(E?A:A.target.value)};return(0,c.jsx)(w.Z,{overlayClassName:T.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,c.jsx)("div",{className:T.dropdownWrap,children:se||(0,c.jsx)(oe.Group,{className:T.dropdownBox,onChange:je,value:_,children:(0,c.jsx)(v.Z,{direction:"vertical",children:M==null?void 0:M.map(function(A,ee){var ce=X?X(A):A,ue=U?U(A):A;return(0,c.jsx)(oe,{value:ce,children:(0,Y._w)(ue)},ee)})})})})},children:(0,c.jsxs)(r.ZP,{className:D,type:K,ghost:G,children:[k,(0,c.jsx)(B.Z,{})]})})},f=i},77589:function(de,b,e){e.d(b,{Z:function(){return M}});var F=e(58757),x=e(38904),I=e(57414),w=e(94706),v=e(10852),r={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},B=e(87615),Y=e(87608),T=e.n(Y),c=e(76180),i=e(74595),f=e(53357),n=e(35667),h=function(p){var K=(0,f.bU)(),Z=K.localeText,G=p.showMatting,_=p.showKeyPoints,X=p.isTiledDiff,U=p.labels,S=p.selectedLabelIds,D=p.diffMode,k=p.disableChangeDiffMode,se=p.onLabelsChange,oe=p.onLabelConfidenceChange,je=p.onLabelsDiffModeChange;return(0,n.jsx)(B.Z,{customOverlay:(0,n.jsxs)("div",{className:T()(r.labelsPanel),id:"labelsPanel",children:[(0,n.jsxs)("div",{className:r.labels,children:[(0,n.jsxs)("div",{className:r.labelTitle,children:[(0,n.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:Z("dataset.detail.labelSetsName")}),!G&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"132px"},children:Z("dataset.detail.confidence")}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:Z("dataset.detail.style")})]})]}),(0,n.jsx)(x.Z.Group,{onChange:se,value:S,className:r.options,children:(0,n.jsx)(I.Z,{direction:"vertical",children:U.map(function(d,A){var ee=(0,i.iE)(d.id,S,X),ce=ee.strokeDash,ue=ee.lineWidth,ge=ee.colorAplha;return(0,n.jsxs)("div",{className:r.optionRow,children:[(0,n.jsx)(x.Z,{value:d.id,className:r.checkbox,disabled:!S.includes(d.id)&&S.length>=c.JQ.length,children:d.name}),!G&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:r.slider,range:!0,min:0,max:1,value:d.confidenceRange,step:.01,onChange:function(R){return oe(A,R)},disabled:d.source!==c.$j.pred}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:S.includes(d.id)&&(0,n.jsxs)("svg",{className:r.lineStyle,children:[(0,n.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:ce.join(","),strokeWidth:"".concat(ue,"pt")}),_&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(ge,")")}),(0,n.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(ge,")")})]})]})})]})]},d.id)})})})]}),!G&&!k&&(0,n.jsx)("div",{className:r.modes,children:(0,n.jsx)(v.ZP.Group,{onChange:function(A){return je(A.target.value)},value:D,children:c.Wp.map(function(d){return(0,n.jsx)(v.ZP,{value:d,children:Z(d)},d)})})})]}),children:Z("dataset.detail.labelSets")})},M=h},2289:function(de,b,e){e.r(b),e.d(b,{default:function(){return Ge}});var F=e(24454),x=e.n(F),I=e(56592),w=e.n(I),v=e(58757),r=e(97375),B=e(28506),Y=e(61845),T=e(37617),c=e(79233),i=e(6233),f=e.n(i),n=e(12562),h=e(10852),M=e(92183),E=e(60698),p={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M956 686.5l-.1-.1-.1-.1C911.7 593 843.4 545 752.5 545s-159.2 48.1-203.4 141.3v.1a42.92 42.92 0 000 36.4C593.3 816 661.6 864 752.5 864s159.2-48.1 203.4-141.3c5.4-11.5 5.4-24.8.1-36.2zM752.5 800c-62.1 0-107.4-30-141.1-95.5C645 639 690.4 609 752.5 609c62.1 0 107.4 30 141.1 95.5C860 770 814.6 800 752.5 800z"}},{tag:"path",attrs:{d:"M697 705a56 56 0 10112 0 56 56 0 10-112 0zM136 232h704v253h72V192c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32v520c0 17.7 14.3 32 32 32h352v-72H136V232z"}},{tag:"path",attrs:{d:"M724.9 338.1l-36.8-36.8a8.03 8.03 0 00-11.3 0L493 485.3l-86.1-86.2a8.03 8.03 0 00-11.3 0L251.3 543.4a8.03 8.03 0 000 11.3l36.8 36.8c3.1 3.1 8.2 3.1 11.3 0l101.8-101.8 86.1 86.2c3.1 3.1 8.2 3.1 11.3 0l226.3-226.5c3.2-3.1 3.2-8.2 0-11.3z"}}]},name:"fund-view",theme:"outlined"},K=p,Z=e(17202),G=function(o,t){return v.createElement(Z.Z,(0,E.Z)({},o,{ref:t,icon:K}))},_=v.forwardRef(G),X=Object.defineProperty,U=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,k=(O,o,t)=>o in O?X(O,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):O[o]=t,se=(O,o)=>{for(var t in o||(o={}))S.call(o,t)&&k(O,t,o[t]);if(U)for(var t of U(o))D.call(o,t)&&k(O,t,o[t]);return O};const oe=O=>v.createElement("svg",se({className:"random_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},O),v.createElement("path",{d:"M68.253 349.325h162.675c8.156 0 32.477 8.156 40.633 16.311l56.944 56.944c16.311 24.467 48.788 24.467 73.109 0 24.467-16.311 24.467-48.788 0-73.109l-56.944-56.944c-24.321-24.321-73.109-48.788-113.887-48.788H68.254c-32.477 0-48.788 24.467-48.788 48.788 0 32.331 24.467 56.798 48.788 56.798zm609.923 0h89.42v65.099c0 16.311 8.156 24.467 24.467 16.311l186.996-121.897c16.311-8.156 16.311-24.467 0-32.477L792.063 154.464c-16.311-8.156-24.467 0-24.467 16.311v89.275h-89.42c-81.265 0-97.575 40.633-154.519 97.575L336.661 625.594c-32.477 32.477-130.052 65.099-178.841 65.099H68.4c-32.477 0-48.788 24.321-48.788 48.788 0 32.477 24.321 48.788 48.788 48.788h89.42c81.265 0 195.152-40.633 252.095-97.575l186.996-268.26c40.633-40.633 32.477-73.109 81.265-73.109zm300.883 373.992L792.063 593.265c-16.311-8.156-24.467 0-24.467 16.311v81.265h-89.42c-8.156 0-32.477-8.156-40.633-16.311l-56.944-56.944c-16.311-24.467-48.788-24.467-73.109 0-24.321 16.311-24.321 48.788 0 73.109l56.944 56.944c24.467 24.321 73.109 48.788 113.887 48.788h89.42v65.099c0 16.311 8.156 24.321 24.467 16.311L979.204 755.94c16.02-8.156 16.02-24.467-.146-32.622z"}));var je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTY4LjI1MyAzNDkuMzI1aDE2Mi42NzVjOC4xNTYgMCAzMi40NzcgOC4xNTYgNDAuNjMzIDE2LjMxMWw1Ni45NDQgNTYuOTQ0YzE2LjMxMSAyNC40NjcgNDguNzg4IDI0LjQ2NyA3My4xMDkgMCAyNC40NjctMTYuMzExIDI0LjQ2Ny00OC43ODggMC03My4xMDlsLTU2Ljk0NC01Ni45NDRjLTI0LjMyMS0yNC4zMjEtNzMuMTA5LTQ4Ljc4OC0xMTMuODg3LTQ4Ljc4OEg2OC4yNTRjLTMyLjQ3NyAwLTQ4Ljc4OCAyNC40NjctNDguNzg4IDQ4Ljc4OCAwIDMyLjMzMSAyNC40NjcgNTYuNzk4IDQ4Ljc4OCA1Ni43OTh6bTYwOS45MjMgMGg4OS40MnY2NS4wOTljMCAxNi4zMTEgOC4xNTYgMjQuNDY3IDI0LjQ2NyAxNi4zMTFsMTg2Ljk5Ni0xMjEuODk3YzE2LjMxMS04LjE1NiAxNi4zMTEtMjQuNDY3IDAtMzIuNDc3TDc5Mi4wNjMgMTU0LjQ2NGMtMTYuMzExLTguMTU2LTI0LjQ2NyAwLTI0LjQ2NyAxNi4zMTF2ODkuMjc1aC04OS40MmMtODEuMjY1IDAtOTcuNTc1IDQwLjYzMy0xNTQuNTE5IDk3LjU3NUwzMzYuNjYxIDYyNS41OTRjLTMyLjQ3NyAzMi40NzctMTMwLjA1MiA2NS4wOTktMTc4Ljg0MSA2NS4wOTlINjguNGMtMzIuNDc3IDAtNDguNzg4IDI0LjMyMS00OC43ODggNDguNzg4IDAgMzIuNDc3IDI0LjMyMSA0OC43ODggNDguNzg4IDQ4Ljc4OGg4OS40MmM4MS4yNjUgMCAxOTUuMTUyLTQwLjYzMyAyNTIuMDk1LTk3LjU3NWwxODYuOTk2LTI2OC4yNmM0MC42MzMtNDAuNjMzIDMyLjQ3Ny03My4xMDkgODEuMjY1LTczLjEwOXptMzAwLjg4MyAzNzMuOTkyTDc5Mi4wNjMgNTkzLjI2NWMtMTYuMzExLTguMTU2LTI0LjQ2NyAwLTI0LjQ2NyAxNi4zMTF2ODEuMjY1aC04OS40MmMtOC4xNTYgMC0zMi40NzctOC4xNTYtNDAuNjMzLTE2LjMxMWwtNTYuOTQ0LTU2Ljk0NGMtMTYuMzExLTI0LjQ2Ny00OC43ODgtMjQuNDY3LTczLjEwOSAwLTI0LjMyMSAxNi4zMTEtMjQuMzIxIDQ4Ljc4OCAwIDczLjEwOWw1Ni45NDQgNTYuOTQ0YzI0LjQ2NyAyNC4zMjEgNzMuMTA5IDQ4Ljc4OCAxMTMuODg3IDQ4Ljc4OGg4OS40MnY2NS4wOTljMCAxNi4zMTEgOC4xNTYgMjQuMzIxIDI0LjQ2NyAxNi4zMTFMOTc5LjIwNCA3NTUuOTRjMTYuMDItOC4xNTYgMTYuMDItMjQuNDY3LS4xNDYtMzIuNjIyeiIvPjwvc3ZnPg==",d=e(76180),A=e(23707),ee=e(51204),ce=e(77589),ue=e(85205),ge=e(51830),xe=e(53357),R={fixMenu:"fixMenu___sFkoc",filter:"filter___YLCNA",rightFilters:"rightFilters___ciVMw",backBtn:"backBtn___czLrv",dropBtn:"dropBtn___dmpsD",randomBtn:"randomBtn___PIxOz"},Ce=e(67160),a=e(35667),Ae=function(){var o=(0,xe.bU)(),t=o.localeText,y=(0,r.useModel)("dataset.common",function(P){return{isTiledDiff:P.isTiledDiff,cloumnCount:P.pageState.cloumnCount,filters:P.pageData.filters,filterValues:P.pageState.filterValues,comparisons:P.pageState.comparisons,queryMode:P.pageState.queryMode,loadImgList:P.loadImgList}}),u=y.filters,C=y.filterValues,g=y.comparisons,N=y.isTiledDiff,H=y.cloumnCount,Q=y.queryMode,j=y.loadImgList,L=(0,r.useModel)("dataset.filters"),W=L.onCategoryChange,V=L.onDisplayOptionsChange,ie=L.onDisplayAnnotationTypeChange,pe=L.onLabelsChange,he=L.onLabelConfidenceChange,J=L.onLabelsDiffModeChange,fe=L.onColumnCountChange,ae=L.onQueryModeChanged,me=(0,r.useModel)("dataset.comparisons"),re=me.openAnalysisModal,Me=u.labels,l=C.selectedLabelIds,s=C.displayAnnotationType===d.JJ.Matting,ne=C.displayAnnotationType===d.JJ.KeyPoints;return(0,a.jsxs)("div",{className:R.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:R.filter,children:[(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(M.Z,{}),type:"text",className:R.backBtn,onClick:function(){return(0,A.yS)("/dataset")}}),(0,a.jsx)(ee.Z,{categoryId:C.categoryId,categories:u.categories,onCategoryChange:W}),g?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.ZP.Group,{value:Q,buttonStyle:"solid",className:R.dropBtn,onChange:function(te){return ae(te.target.value)},children:[(0,a.jsx)(h.ZP.Button,{value:Ce.nJ.pagination,children:t("dataset.detail.pagination")}),(0,a.jsx)(h.ZP.Button,{value:Ce.nJ.random,children:t("dataset.detail.random")})]}),Q===Ce.nJ.random&&(0,a.jsx)(n.ZP,{type:"text",icon:(0,a.jsx)(oe,{}),className:R.randomBtn,onClick:function(){return j(!1,!0)},children:t("dataset.detail.randomQuery")})]})]}),(0,a.jsxs)("div",{className:R.rightFilters,children:[g?null:(0,a.jsx)(ce.Z,{showMatting:s,showKeyPoints:ne,isTiledDiff:N,labels:Me,selectedLabelIds:l,diffMode:C.diffMode,onLabelsChange:pe,onLabelConfidenceChange:he,onLabelsDiffModeChange:J}),(0,a.jsx)(ue.Z,{annotationTypes:u.annotationTypes,disableChangeType:!!g,displayAnnotationType:C.displayAnnotationType,displayOptions:u.displayOptions,displayOptionsValue:C.displayOptions,onDisplayAnnotationTypeChange:ie,onDisplayOptionsChange:V}),g?null:(0,a.jsxs)(n.ZP,{className:R.dropBtn,type:"primary",onClick:re,children:[(0,a.jsx)(_,{}),t("dataset.detail.analysis")]}),!N&&(0,a.jsx)(ge.ii,{cloumnCount:H,onColumnCountChange:fe})]})]})},Pe=Ae,ze=e(88205),be=e.n(ze),Le=e(84045),we=e(62109),Ze=e(59504),ve=e(38904),Be=e(94706),Te=e(87615),m={tools:"tools___Ug3Ea",title:"title____AI54",optionsTitle:"optionsTitle___sroju",vsText:"vsText___dPKn_",vs:"vs___zpup3",splitLine:"splitLine___SWsIk",splitLineLeft:"splitLineLeft___gVvN2",toolsBar:"toolsBar___SS4ub",text:"text___TLeEl",selector:"selector___rNXkx",scoreSlider:"scoreSlider___Dmu_I",slider:"slider___TbBwi",displayBar:"displayBar___iGMj2",anlysisModal:"anlysisModal___IPNpO"},De=e(41260),Ee=function(){var o,t,y=(0,xe.bU)(),u=y.localeText,C=(0,r.useModel)("dataset.common",function(l){return{comparisons:l.pageState.comparisons,labels:l.pageData.filters.labels}}),g=C.comparisons,N=C.labels,H=(0,v.useState)(void 0),Q=be()(H,2),j=Q[0],L=Q[1],W=(0,r.useModel)("dataset.comparisons"),V=W.showAnalysisModal,ie=W.closeAnalysisModal,pe=W.compareLabelSet,he=W.exitComparisons,J=W.onFilterComparisonsPrecision,fe=N.length>0&&N.find(function(l){return l.source===d.$j.gt})&&N.find(function(l){var s;return((s=l.comparePrecisions)===null||s===void 0?void 0:s.length)>0}),ae=N.find(function(l){return l.source===d.$j.gt}),me=N.filter(function(l){var s;return((s=l.comparePrecisions)===null||s===void 0?void 0:s.length)>0}).map(function(l){return{value:l.id,label:l.name}}),re=function(s){L(s)},Me=function(){if(!fe){Le.ZP.warning(u("dataset.toAnalysis.unSupportWarn"));return}var s=N.find(function(ne){return ne.id===j});if(!j||!s){Le.ZP.warning(u("dataset.toAnalysis.unSelectWarn"));return}ie(),pe(s)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(we.Z,{title:u("dataset.detail.analModal.title"),footer:[(0,a.jsx)(n.ZP,{type:"primary",onClick:Me,children:u("dataset.detail.analModal.btn")},"analysis")],open:V,onCancel:ie,children:(0,a.jsxs)("div",{className:m.anlysisModal,children:[(0,a.jsx)("div",{children:ae==null?void 0:ae.name}),(0,a.jsx)("div",{className:m.vs,children:"vs"}),(0,a.jsx)(Ze.Z,{placeholder:u("dataset.detail.analModal.select"),style:{width:240},onChange:re,options:me,value:j})]})}),g&&(0,a.jsxs)("div",{className:m.tools,children:[(0,a.jsxs)("div",{className:m.toolsBar,children:[(0,a.jsxs)("div",{className:m.selector,children:[(0,a.jsxs)("div",{className:m.title,children:[u("dataset.detail.analModal.sort")," :"]}),(0,a.jsx)(Te.Z,{data:d.J1,value:g.orderBy,filterOptionName:function(s){return s.name},filterOptionValue:function(s){return s.value},onChange:function(s){return J("orderBy",s)},ghost:!1,type:"default",children:(o=d.J1.find(function(l){return l.value===g.orderBy}))===null||o===void 0?void 0:o.name}),(0,a.jsx)("span",{className:m.text,children:"with Confidence Precision"}),(0,a.jsxs)(Te.Z,{data:g.label.comparePrecisions,value:g.precision,filterOptionName:function(s){return"".concat(s.precision," (Threshold: ").concat((0,De.O)(s.threshold),")")},filterOptionValue:function(s){return s.precision},onChange:function(s){return J("precision",s)},ghost:!1,type:"default",children:[g.precision," (Threshold: ".concat((0,De.O)(((t=g.label.comparePrecisions.find(function(l){return l.precision===g.precision}))===null||t===void 0?void 0:t.threshold)||0),")")]})]}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:m.vsText,children:["GroundTruch ",(0,a.jsx)("span",{className:m.vs,children:"VS"})," ",g==null?void 0:g.label.name]}),(0,a.jsx)(n.ZP,{onClick:he,children:u("dataset.detail.analModal.exit")})]})]}),(0,a.jsxs)("div",{className:m.displayBar,children:[(0,a.jsxs)("div",{className:m.title,children:[u("dataset.detail.analModal.display")," :"]}),(0,a.jsx)(h.ZP.Group,{options:d.Wp.map(function(l){return{label:"".concat(u(l)).concat(u("dataset.detail.analModal.diff")),value:l}}),onChange:function(s){return J("diffMode",s.target.value)},value:g.diffMode,optionType:"button"}),(0,a.jsx)("div",{className:m.splitLine}),(0,a.jsxs)(ve.Z.Group,{value:g.displays,onChange:function(s){return J("displays",s)},children:[(0,a.jsx)("span",{className:m.optionsTitle,children:"GroundTruth :"}),(0,a.jsx)(ve.Z,{value:d.$j.gt,children:"Matched"}),(0,a.jsx)(ve.Z,{value:d.BP.fn,children:"FN"}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsx)("span",{className:m.optionsTitle,children:"Prediction :"}),(0,a.jsx)(ve.Z,{value:d.$j.pred,children:"Matched"}),(0,a.jsx)(ve.Z,{value:d.BP.fp,children:"FP"})]}),(0,a.jsx)("div",{className:m.splitLineLeft}),(0,a.jsxs)("div",{className:m.scoreSlider,children:["Confidence threshold:",(0,a.jsx)(Be.Z,{className:m.slider,min:0,max:1,value:g.score,step:.01,onChange:function(s){return J("score",s)}})]})]})]})]})},Ye=Ee,Oe=e(74595),Ne={toolsBar:"toolsBar___YbUXd",name:"name___QVqrS",vs:"vs___xuWpM"},Qe=function(o){var t=o.itemWidth,y=(0,r.useModel)("dataset.common",function(j){return{selectedLabelIds:j.pageState.filterValues.selectedLabelIds,displayAnnotationType:j.pageState.filterValues.displayAnnotationType,labels:j.pageData.filters.labels,comparisons:j.pageState.comparisons,isTiledDiff:j.isTiledDiff}}),u=y.comparisons,C=y.isTiledDiff,g=y.labels,N=y.selectedLabelIds,H=y.displayAnnotationType;if(u||N.length<=1)return null;var Q=(0,Oe.WR)(g,N,H);return(0,a.jsx)("div",{className:Ne.toolsBar,children:Q.map(function(j,L){return(0,a.jsxs)(v.Fragment,{children:[!C&&L>0&&(0,a.jsx)("span",{className:Ne.vs,children:"VS"}),(0,a.jsx)("span",{className:Ne.name,style:{width:C&&L+1!==Q.length?t:"auto"},children:j.name})]},j.id)})})},We=Qe,Ie=e(33010),Ve=e(4394),q={page:"page___O9xsN",container:"container___rArHW",item:"item___aq9kP",itemImgWrap:"itemImgWrap___IaXgL",flagIcon:"flagIcon___Cm6rw",label:"label___spqGh",itemSelectedMask:"itemSelectedMask___CHtC_",pagination:"pagination___VE_pg",editor:"editor___Nl4nr",pageSpin:"pageSpin___zzy9v"},Fe=function(){var o=(0,r.useModel)("dataset.common"),t=o.pageState,y=o.onInitPageState,u=o.pageData,C=o.loading,g=o.displayLabelIds,N=o.isTiledDiff,H=o.displayOptionsResult,Q=o.onPageContentLoaded,j=o.onPreviewIndexChange,L=o.exitPreview,W=o.displayObjectsFilter,V=(0,r.useModel)("Dataset.model"),ie=V.onPageDidMount,pe=V.onPageWillUnmount,he=V.clickItem,J=V.doubleClickItem,fe=V.onPageChange,ae=V.onPageSizeChange,me=(0,r.useModel)("global"),re=me.layoutInnerWidth,Me=t.cloumnCount,l=t.isSingleAnnotation,s=t.filterValues,ne=t.flagTools;(0,B._)({onPageDidMount:ie,onPageWillUnmount:pe,onInitPageState:y,pageState:t});var P=re?re-80:0,te=(0,v.useMemo)(function(){return N?(0,Oe.JC)(u.imgList,g,s.displayAnnotationType):u.imgList},[N,u.imgList,g]),Se=N?te.length/(u.imgList.length||1):Me,le=P?(P-16*(Se-1))/(Se||1):0;return(0,a.jsxs)(Y._z,{ghost:!0,className:q.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Pe,{}),(0,a.jsx)(Ye,{}),(0,a.jsx)(We,{itemWidth:le+16})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:q.container,children:(0,a.jsx)(T.Z,{loading:C,children:te.length?(0,a.jsx)(f(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return Q()},enableResizableChildren:!0,children:te.map(function(z,ye){return(0,a.jsxs)("div",{className:q.item,style:{width:le},onClick:function(){return he(ye)},onDoubleClick:function(){return J(ye)},children:[(0,a.jsx)("div",{className:q.itemImgWrap,style:{width:le,height:ne?le*3/4:"auto"},children:(0,a.jsx)(Ie.D5,{isOldMode:!0,categories:u.filters.categories,data:z,wrapWidth:le,wrapHeight:ne?le*3/4:void 0,minHeight:le*3/4,objectsFilter:W,displayOptionsResult:H})}),z.flag>0&&(0,a.jsx)(Ve.r,{fill:d.a5[z.flag],className:q.flagIcon}),H.showImgDesc&&(0,a.jsxs)("div",{className:q.label,children:[" ",z.caption||z.desc," "]}),ne&&z.selected?(0,a.jsx)("div",{className:q.itemSelectedMask}):null]},"".concat(z.id,"_").concat(ye))})}):null})}),!C&&t.queryMode===Ce.nJ.pagination&&(0,a.jsx)(ge.ZJ,{current:t.page,size:t.pageSize,total:u.total,onPageChange:fe,onPageSizeChange:ae}),(0,a.jsx)(Ie.j5,{isOldMode:!0,visible:t.previewIndex>=0&&!l,categories:u.filters.categories,list:te,current:t.previewIndex,onCancel:L,onNext:w()(x()().mark(function z(){return x()().wrap(function($){for(;;)switch($.prev=$.next){case 0:t.previewIndex0&&j(t.previewIndex-1);case 1:case"end":return $.stop()}},z)})),objectsFilter:W,displayOptionsResult:H}),u.screenLoading?(0,a.jsx)("div",{className:q.pageSpin,children:(0,a.jsx)(c.Z,{spinning:!0,tip:u.screenLoading})}):null]})},Ge=Fe},4394:function(de,b,e){e.d(b,{r:function(){return Y}});var F=e(58757),x=Object.defineProperty,I=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,r=(c,i,f)=>i in c?x(c,i,{enumerable:!0,configurable:!0,writable:!0,value:f}):c[i]=f,B=(c,i)=>{for(var f in i||(i={}))w.call(i,f)&&r(c,f,i[f]);if(I)for(var f of I(i))v.call(i,f)&&r(c,f,i[f]);return c};const Y=c=>F.createElement("svg",B({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},c),F.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var T="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); diff --git a/deepdataspace/server/static/p__Lab__FlagTool__index.91ecbc6f.async.js b/deepdataspace/server/static/p__Lab__FlagTool__index.c0cac9b9.async.js similarity index 99% rename from deepdataspace/server/static/p__Lab__FlagTool__index.91ecbc6f.async.js rename to deepdataspace/server/static/p__Lab__FlagTool__index.c0cac9b9.async.js index 6ddaa3c..51dbe54 100644 --- a/deepdataspace/server/static/p__Lab__FlagTool__index.91ecbc6f.async.js +++ b/deepdataspace/server/static/p__Lab__FlagTool__index.c0cac9b9.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[397],{51204:function(q,M,e){e.d(M,{Z:function(){return I}});var W=e(58757),m=e(59504),j=e(53357),P={wrapper:"wrapper___FtwXk"},u=e(35667),o=function(y){var l=(0,j.bU)(),t=l.localeText,g=y.categoryId,n=y.categories,h=y.onCategoryChange,s=(0,W.useMemo)(function(){return n.map(function(N){return{label:N.name,value:N.id}})},[n]);return(0,u.jsxs)("div",{className:P.wrapper,children:[t("dataset.detail.category"),":",(0,u.jsx)(m.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:s,optionFilterProp:"label",value:g,onChange:h,getPopupContainer:function(){var r;return((r=document.getElementById("filterWrap"))===null||r===void 0?void 0:r.parentElement)||null}})]})},I=o},85205:function(q,M,e){e.d(M,{Z:function(){return n}});var W=e(58757),m=e(10852),j=e(38904),P=e(57414),u={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},o=e(87615),I=e(87608),Z=e.n(I),y=e(53357),l=e(76180),t=e(35667),g=function(s){var N=(0,y.bU)(),r=N.localeText,z=s.annotationTypes,L=s.disableChangeType,b=s.displayAnnotationType,B=s.displayOptions,a=s.displayOptionsValue,E=s.onDisplayAnnotationTypeChange,O=s.onDisplayOptionsChange;return(0,t.jsx)(o.Z,{className:u.dropBtn,customOverlay:(0,t.jsxs)("div",{className:Z()(u.displayPanel),children:[z.length>0&&(0,t.jsxs)("div",{className:u.objectTypeOption,children:[(0,t.jsxs)("span",{className:u.typeTitle,children:[r("dataset.detail.displayType"),":"]}),(0,t.jsx)(m.ZP.Group,{disabled:L,onChange:function(J){return E(J.target.value)},value:b,children:z.map(function(x){return(0,t.jsx)(m.ZP,{value:x,children:x},x)})})]}),(0,t.jsx)(j.Z.Group,{className:u.displayOptions,onChange:O,value:a,children:(0,t.jsx)(P.Z,{direction:"vertical",children:B.map(function(x){return(0,t.jsx)(j.Z,{value:x,children:r(l.Ss[x])},x)})})})]}),children:r("dataset.detail.displayOptions")})},n=g},87615:function(q,M,e){e.d(M,{Z:function(){return g}});var W=e(58757),m=e(38904),j=e(10852),P=e(73267),u=e(57414),o=e(12562),I=e(10130),Z=e(53357),y={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},l=e(35667),t=function(h){var s=h.data,N=h.multiple,r=h.type,z=r===void 0?"primary":r,L=h.ghost,b=L===void 0?!0:L,B=h.value,a=h.filterOptionValue,E=h.filterOptionName,O=h.onChange,x=h.className,J=h.children,K=h.customOverlay,$=N?m.Z:j.ZP,_=function(S){O&&O(N?S:S.target.value)};return(0,l.jsx)(P.Z,{overlayClassName:y.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,l.jsx)("div",{className:y.dropdownWrap,children:K||(0,l.jsx)($.Group,{className:y.dropdownBox,onChange:_,value:B,children:(0,l.jsx)(u.Z,{direction:"vertical",children:s==null?void 0:s.map(function(S,U){var Q=a?a(S):S,A=E?E(S):S;return(0,l.jsx)($,{value:Q,children:(0,Z._w)(A)},U)})})})})},children:(0,l.jsxs)(o.ZP,{className:x,type:z,ghost:b,children:[J,(0,l.jsx)(I.Z,{})]})})},g=t},77589:function(q,M,e){e.d(M,{Z:function(){return s}});var W=e(58757),m=e(38904),j=e(57414),P=e(94706),u=e(10852),o={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},I=e(87615),Z=e(87608),y=e.n(Z),l=e(76180),t=e(74595),g=e(53357),n=e(35667),h=function(r){var z=(0,g.bU)(),L=z.localeText,b=r.showMatting,B=r.showKeyPoints,a=r.isTiledDiff,E=r.labels,O=r.selectedLabelIds,x=r.diffMode,J=r.disableChangeDiffMode,K=r.onLabelsChange,$=r.onLabelConfidenceChange,_=r.onLabelsDiffModeChange;return(0,n.jsx)(I.Z,{customOverlay:(0,n.jsxs)("div",{className:y()(o.labelsPanel),id:"labelsPanel",children:[(0,n.jsxs)("div",{className:o.labels,children:[(0,n.jsxs)("div",{className:o.labelTitle,children:[(0,n.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:L("dataset.detail.labelSetsName")}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"132px"},children:L("dataset.detail.confidence")}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:L("dataset.detail.style")})]})]}),(0,n.jsx)(m.Z.Group,{onChange:K,value:O,className:o.options,children:(0,n.jsx)(j.Z,{direction:"vertical",children:E.map(function(p,S){var U=(0,t.iE)(p.id,O,a),Q=U.strokeDash,A=U.lineWidth,F=U.colorAplha;return(0,n.jsxs)("div",{className:o.optionRow,children:[(0,n.jsx)(m.Z,{value:p.id,className:o.checkbox,disabled:!O.includes(p.id)&&O.length>=l.JQ.length,children:p.name}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(P.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:o.slider,range:!0,min:0,max:1,value:p.confidenceRange,step:.01,onChange:function(se){return $(S,se)},disabled:p.source!==l.$j.pred}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:O.includes(p.id)&&(0,n.jsxs)("svg",{className:o.lineStyle,children:[(0,n.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:Q.join(","),strokeWidth:"".concat(A,"pt")}),B&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")}),(0,n.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")})]})]})})]})]},p.id)})})})]}),!b&&!J&&(0,n.jsx)("div",{className:o.modes,children:(0,n.jsx)(u.ZP.Group,{onChange:function(S){return _(S.target.value)},value:x,children:l.Wp.map(function(p){return(0,n.jsx)(u.ZP,{value:p,children:L(p)},p)})})})]}),children:L("dataset.detail.labelSets")})},s=h},14481:function(q,M,e){e.r(M),e.d(M,{default:function(){return je}});var W=e(24454),m=e.n(W),j=e(56592),P=e.n(j),u=e(58757),o=e(97375),I=e(28506),Z=e(61845),y=e(37617),l=e(79233),t=e(6233),g=e.n(t),n=e(12562),h=e(92183),s=e(76180),N=e(23707),r=e(51204),z=e(77589),L=e(85205),b=e(51830),B={fixMenu:"fixMenu___3BTI4",filter:"filter___f53Ll",rightFilters:"rightFilters___PcqUj",backBtn:"backBtn___zqjXV",dropBtn:"dropBtn___f3XQO"},a=e(35667),E=function(){var d=(0,o.useModel)("dataset.common",function(H){return{isTiledDiff:H.isTiledDiff,cloumnCount:H.pageState.cloumnCount,filters:H.pageData.filters,filterValues:H.pageState.filterValues,comparisons:H.pageState.comparisons}}),i=d.filters,f=d.filterValues,C=d.comparisons,G=d.isTiledDiff,w=d.cloumnCount,T=(0,o.useModel)("dataset.filters"),Y=T.onCategoryChange,ee=T.onDisplayOptionsChange,X=T.onDisplayAnnotationTypeChange,ae=T.onLabelsChange,c=T.onLabelConfidenceChange,v=T.onLabelsDiffModeChange,re=T.onColumnCountChange,de=i.labels,ce=f.selectedLabelIds,ge=f.displayAnnotationType===s.JJ.Matting,ue=f.displayAnnotationType===s.JJ.KeyPoints;return(0,a.jsxs)("div",{className:B.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:B.filter,children:[(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(h.Z,{}),type:"text",className:B.backBtn,onClick:function(){return(0,N.yS)("/dataset")}}),(0,a.jsx)(r.Z,{categoryId:f.categoryId,categories:i.categories,onCategoryChange:Y})]}),(0,a.jsxs)("div",{className:B.rightFilters,children:[(0,a.jsx)(z.Z,{showMatting:ge,showKeyPoints:ue,isTiledDiff:G,labels:de,selectedLabelIds:ce,diffMode:s.uP.Overlay,disableChangeDiffMode:!0,onLabelsChange:ae,onLabelConfidenceChange:c,onLabelsDiffModeChange:v}),(0,a.jsx)(L.Z,{annotationTypes:i.annotationTypes,disableChangeType:!!C,displayAnnotationType:f.displayAnnotationType,displayOptions:i.displayOptions,displayOptionsValue:f.displayOptions,onDisplayAnnotationTypeChange:X,onDisplayOptionsChange:ee}),!G&&(0,a.jsx)(b.ii,{cloumnCount:w,onColumnCountChange:re})]})]})},O=E,x=e(38904),J=e(74820),K=e(60698),$={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"},_=$,p=e(17202),S=function(d,i){return u.createElement(p.Z,(0,K.Z)({},d,{ref:i,icon:_}))},U=u.forwardRef(S),Q=e(4394),A=e(53357),F={toolsBar:"toolsBar___BaJ18",selector:"selector___oykI4",antiBtn:"antiBtn___BMNv_",flagTip:"flagTip___jQeUr",flag:"flag___AuDg7",flagBtn:"flagBtn___kI5rw",rightContent:"rightContent___J7I4T",lineSplit:"lineSplit___cRXnA"},oe=e(87615),se=function(){var d,i=(0,o.useModel)("dataset.common",function(c){var v;return{pageSize:c.pageState.pageSize,flagStatus:(v=c.pageState.flagTools)===null||v===void 0?void 0:v.flagStatus,flagTools:c.pageState.flagTools&&c.pageData.flagTools}}),f=i.flagTools,C=i.flagStatus,G=i.pageSize,w=(0,o.useModel)("dataset.flag"),T=w.onChangeFlagStatus,Y=w.changeSelectAll,ee=w.antiSelect,X=w.saveFlag,ae=w.updateOrder;return f?(0,a.jsxs)("div",{className:F.toolsBar,children:[(0,a.jsxs)("div",{className:F.selector,children:[(0,a.jsx)(x.Z,{indeterminate:f.count>0&&f.count!==G,checked:(f==null?void 0:f.count)===G,onChange:Y,children:f.count===0?(0,a.jsx)(A.Og,{id:"lab.toolsBar.selectAll"}):(0,a.jsx)(A.Og,{id:"lab.toolsBar.selectSome",values:{num:f.count}})}),(0,a.jsx)(n.ZP,{onClick:function(){return ee()},className:F.antiBtn,children:(0,a.jsx)(A.Og,{id:"lab.toolsBar.selectInvert"})}),(0,a.jsxs)(oe.Z,{data:s.j3,value:C,filterOptionName:function(v){return v.name},filterOptionValue:function(v){return v.value},onChange:function(v){return T(v)},ghost:!1,type:"default",className:F.antiBtn,children:[(0,a.jsx)(A.Og,{id:"lab.toolsBar.filter"})," :"," ",(d=s.j3.find(function(c){return c.value===C}))===null||d===void 0?void 0:d.name]}),(0,a.jsxs)("div",{className:F.flagTip,children:[(0,a.jsx)(A.Og,{id:"lab.toolsBar.saveAs"}),"\uFF1A"]}),s.YC.map(function(c){return(0,a.jsx)(J.Z,{placement:"bottom",title:c.tip,children:(0,a.jsx)(n.ZP,{ghost:!0,onClick:function(){return X(c.value)},className:F.flagBtn,style:{borderColor:s.a5[c.value],opacity:f.count<=0?.5:1},icon:(0,a.jsx)(Q.r,{fill:s.a5[c.value]})})},c.value)})]}),(0,a.jsx)("div",{className:F.rightContent,children:(0,a.jsxs)(n.ZP,{onClick:ae,children:[(0,a.jsx)(U,{}),(0,a.jsx)(A.Og,{id:"lab.toolsBar.updateOrder"})]})})]}):null},me=se,he=e(88662),ye=e(74595),R={page:"page___gO_hp",container:"container___ZoYU1",item:"item___gLaMX",itemImgWrap:"itemImgWrap___I92CG",flagIcon:"flagIcon___snhaL",label:"label___m8WJS",itemSelectedMask:"itemSelectedMask___oYwMk",pagination:"pagination___Z13Xp",editor:"editor___ZxT8b",pageSpin:"pageSpin___kIm_a"},xe=e(95073),Ce=function(){var d=(0,o.useModel)("dataset.common"),i=d.pageState,f=d.onInitPageState,C=d.pageData,G=d.loading,w=d.displayLabelIds,T=d.isTiledDiff,Y=d.displayOptionsResult,ee=d.onPageContentLoaded,X=d.onPreviewIndexChange,ae=d.exitPreview,c=d.displayObjectsFilter,v=(0,o.useModel)("Lab.FlagTool.model"),re=v.onPageDidMount,de=v.onPageWillUnmount,ce=v.clickItem,ge=v.doubleClickItem,ue=v.onPageChange,H=v.onPageSizeChange,Oe=i.cloumnCount,Se=i.isSingleAnnotation,Te=i.filterValues,ve=i.flagTools;(0,I._)({onPageDidMount:re,onPageWillUnmount:de,onInitPageState:f,pageState:i});var le=(0,xe.Z)(function(){return document.querySelector(".ant-pro-page-container")}),fe=le!=null&&le.width?le.width-80:0,ne=(0,u.useMemo)(function(){return T?(0,ye.JC)(C.imgList,w,Te.displayAnnotationType):C.imgList},[T,C.imgList,w]),pe=T?ne.length/(C.imgList.length||1):Oe,k=fe?(fe-16*(pe-1))/(pe||1):0;return(0,a.jsxs)(Z._z,{ghost:!0,className:R.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(me,{})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:R.container,children:(0,a.jsx)(y.Z,{loading:G,children:ne.length?(0,a.jsx)(g(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return ee()},children:ne.map(function(D,te){return(0,a.jsxs)("div",{className:R.item,style:{width:k},onClick:function(){return ce(te)},onDoubleClick:function(){return ge(te)},children:[(0,a.jsx)("div",{className:R.itemImgWrap,style:{width:k,height:ve?k*3/4:"auto"},children:(0,a.jsx)(he.D5,{isOldMode:!0,categories:C.filters.categories,data:D,wrapWidth:k,wrapHeight:ve?k*3/4:void 0,minHeight:k*3/4,objectsFilter:c,displayOptionsResult:Y})}),D.flag>0&&(0,a.jsx)(Q.r,{fill:s.a5[D.flag],className:R.flagIcon}),Y.showImgDesc&&(0,a.jsxs)("div",{className:R.label,children:[" ",D.caption||D.desc," "]}),ve&&D.selected?(0,a.jsx)("div",{className:R.itemSelectedMask}):null]},"".concat(D.id,"_").concat(te))})}):null})}),!G&&(0,a.jsx)(b.ZJ,{current:i.page,size:i.pageSize,total:C.total,onPageChange:ue,onPageSizeChange:H}),(0,a.jsx)(he.j5,{isOldMode:!0,visible:i.previewIndex>=0&&!Se,categories:C.filters.categories,list:ne,current:i.previewIndex,onCancel:ae,onNext:P()(m()().mark(function D(){return m()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:i.previewIndex0&&X(i.previewIndex-1);case 1:case"end":return V.stop()}},D)})),objectsFilter:c,displayOptionsResult:Y}),C.screenLoading?(0,a.jsx)("div",{className:R.pageSpin,children:(0,a.jsx)(l.Z,{spinning:!0,tip:C.screenLoading})}):null]})},je=Ce},4394:function(q,M,e){e.d(M,{r:function(){return Z}});var W=e(58757),m=Object.defineProperty,j=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,o=(l,t,g)=>t in l?m(l,t,{enumerable:!0,configurable:!0,writable:!0,value:g}):l[t]=g,I=(l,t)=>{for(var g in t||(t={}))P.call(t,g)&&o(l,g,t[g]);if(j)for(var g of j(t))u.call(t,g)&&o(l,g,t[g]);return l};const Z=l=>W.createElement("svg",I({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},l),W.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[397],{51204:function(q,M,e){e.d(M,{Z:function(){return I}});var W=e(58757),m=e(59504),j=e(53357),P={wrapper:"wrapper___FtwXk"},u=e(35667),o=function(y){var l=(0,j.bU)(),t=l.localeText,g=y.categoryId,n=y.categories,h=y.onCategoryChange,s=(0,W.useMemo)(function(){return n.map(function(N){return{label:N.name,value:N.id}})},[n]);return(0,u.jsxs)("div",{className:P.wrapper,children:[t("dataset.detail.category"),":",(0,u.jsx)(m.Z,{showSearch:!0,style:{width:"160px",marginLeft:"10px"},placeholder:"Select a category",options:s,optionFilterProp:"label",value:g,onChange:h,getPopupContainer:function(){var r;return((r=document.getElementById("filterWrap"))===null||r===void 0?void 0:r.parentElement)||null}})]})},I=o},85205:function(q,M,e){e.d(M,{Z:function(){return n}});var W=e(58757),m=e(10852),j=e(38904),P=e(57414),u={dropBtn:"dropBtn___SYvIY",displayPanel:"displayPanel___JkzSB",objectTypeOption:"objectTypeOption___O6sJL",typeTitle:"typeTitle___l97pr",displayOptions:"displayOptions___NQVYA"},o=e(87615),I=e(87608),Z=e.n(I),y=e(53357),l=e(76180),t=e(35667),g=function(s){var N=(0,y.bU)(),r=N.localeText,z=s.annotationTypes,L=s.disableChangeType,b=s.displayAnnotationType,B=s.displayOptions,a=s.displayOptionsValue,E=s.onDisplayAnnotationTypeChange,O=s.onDisplayOptionsChange;return(0,t.jsx)(o.Z,{className:u.dropBtn,customOverlay:(0,t.jsxs)("div",{className:Z()(u.displayPanel),children:[z.length>0&&(0,t.jsxs)("div",{className:u.objectTypeOption,children:[(0,t.jsxs)("span",{className:u.typeTitle,children:[r("dataset.detail.displayType"),":"]}),(0,t.jsx)(m.ZP.Group,{disabled:L,onChange:function(J){return E(J.target.value)},value:b,children:z.map(function(x){return(0,t.jsx)(m.ZP,{value:x,children:x},x)})})]}),(0,t.jsx)(j.Z.Group,{className:u.displayOptions,onChange:O,value:a,children:(0,t.jsx)(P.Z,{direction:"vertical",children:B.map(function(x){return(0,t.jsx)(j.Z,{value:x,children:r(l.Ss[x])},x)})})})]}),children:r("dataset.detail.displayOptions")})},n=g},87615:function(q,M,e){e.d(M,{Z:function(){return g}});var W=e(58757),m=e(38904),j=e(10852),P=e(73267),u=e(57414),o=e(12562),I=e(10130),Z=e(53357),y={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},l=e(35667),t=function(h){var s=h.data,N=h.multiple,r=h.type,z=r===void 0?"primary":r,L=h.ghost,b=L===void 0?!0:L,B=h.value,a=h.filterOptionValue,E=h.filterOptionName,O=h.onChange,x=h.className,J=h.children,K=h.customOverlay,$=N?m.Z:j.ZP,_=function(S){O&&O(N?S:S.target.value)};return(0,l.jsx)(P.Z,{overlayClassName:y.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,l.jsx)("div",{className:y.dropdownWrap,children:K||(0,l.jsx)($.Group,{className:y.dropdownBox,onChange:_,value:B,children:(0,l.jsx)(u.Z,{direction:"vertical",children:s==null?void 0:s.map(function(S,U){var Q=a?a(S):S,A=E?E(S):S;return(0,l.jsx)($,{value:Q,children:(0,Z._w)(A)},U)})})})})},children:(0,l.jsxs)(o.ZP,{className:x,type:z,ghost:b,children:[J,(0,l.jsx)(I.Z,{})]})})},g=t},77589:function(q,M,e){e.d(M,{Z:function(){return s}});var W=e(58757),m=e(38904),j=e(57414),P=e(94706),u=e(10852),o={labelsPanel:"labelsPanel___nCoUr",labels:"labels___f2KO4",labelTitle:"labelTitle___C12Si",optionRow:"optionRow___X46cn",checkbox:"checkbox___Z6wLJ",slider:"slider___GUIhq",lineStyle:"lineStyle___Kmd9H",actionBtns:"actionBtns___JfDVN",modes:"modes___HaJVD"},I=e(87615),Z=e(87608),y=e.n(Z),l=e(76180),t=e(74595),g=e(53357),n=e(35667),h=function(r){var z=(0,g.bU)(),L=z.localeText,b=r.showMatting,B=r.showKeyPoints,a=r.isTiledDiff,E=r.labels,O=r.selectedLabelIds,x=r.diffMode,J=r.disableChangeDiffMode,K=r.onLabelsChange,$=r.onLabelConfidenceChange,_=r.onLabelsDiffModeChange;return(0,n.jsx)(I.Z,{customOverlay:(0,n.jsxs)("div",{className:y()(o.labelsPanel),id:"labelsPanel",children:[(0,n.jsxs)("div",{className:o.labels,children:[(0,n.jsxs)("div",{className:o.labelTitle,children:[(0,n.jsx)("div",{style:{width:"240px",paddingLeft:"24px"},children:L("dataset.detail.labelSetsName")}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{style:{width:"132px"},children:L("dataset.detail.confidence")}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:L("dataset.detail.style")})]})]}),(0,n.jsx)(m.Z.Group,{onChange:K,value:O,className:o.options,children:(0,n.jsx)(j.Z,{direction:"vertical",children:E.map(function(p,S){var U=(0,t.iE)(p.id,O,a),Q=U.strokeDash,A=U.lineWidth,F=U.colorAplha;return(0,n.jsxs)("div",{className:o.optionRow,children:[(0,n.jsx)(m.Z,{value:p.id,className:o.checkbox,disabled:!O.includes(p.id)&&O.length>=l.JQ.length,children:p.name}),!b&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(P.Z,{tooltip:{open:!0,prefixCls:"slider-tooltip",getPopupContainer:function(){return document.getElementById("labelsPanel")}},className:o.slider,range:!0,min:0,max:1,value:p.confidenceRange,step:.01,onChange:function(se){return $(S,se)},disabled:p.source!==l.$j.pred}),(0,n.jsx)("div",{style:{width:"100px",marginLeft:"40px"},children:O.includes(p.id)&&(0,n.jsxs)("svg",{className:o.lineStyle,children:[(0,n.jsx)("line",{x1:5,y1:5,x2:70,y2:5,strokeDasharray:Q.join(","),strokeWidth:"".concat(A,"pt")}),B&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:5,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")}),(0,n.jsx)("circle",{cx:70,cy:5,r:3,stroke:"black",strokeWidth:1,fill:"rgba(133, 208, 252, ".concat(F,")")})]})]})})]})]},p.id)})})})]}),!b&&!J&&(0,n.jsx)("div",{className:o.modes,children:(0,n.jsx)(u.ZP.Group,{onChange:function(S){return _(S.target.value)},value:x,children:l.Wp.map(function(p){return(0,n.jsx)(u.ZP,{value:p,children:L(p)},p)})})})]}),children:L("dataset.detail.labelSets")})},s=h},14481:function(q,M,e){e.r(M),e.d(M,{default:function(){return je}});var W=e(24454),m=e.n(W),j=e(56592),P=e.n(j),u=e(58757),o=e(97375),I=e(28506),Z=e(61845),y=e(37617),l=e(79233),t=e(6233),g=e.n(t),n=e(12562),h=e(92183),s=e(76180),N=e(23707),r=e(51204),z=e(77589),L=e(85205),b=e(51830),B={fixMenu:"fixMenu___3BTI4",filter:"filter___f53Ll",rightFilters:"rightFilters___PcqUj",backBtn:"backBtn___zqjXV",dropBtn:"dropBtn___f3XQO"},a=e(35667),E=function(){var d=(0,o.useModel)("dataset.common",function(H){return{isTiledDiff:H.isTiledDiff,cloumnCount:H.pageState.cloumnCount,filters:H.pageData.filters,filterValues:H.pageState.filterValues,comparisons:H.pageState.comparisons}}),i=d.filters,f=d.filterValues,C=d.comparisons,G=d.isTiledDiff,w=d.cloumnCount,T=(0,o.useModel)("dataset.filters"),Y=T.onCategoryChange,ee=T.onDisplayOptionsChange,X=T.onDisplayAnnotationTypeChange,ae=T.onLabelsChange,c=T.onLabelConfidenceChange,v=T.onLabelsDiffModeChange,re=T.onColumnCountChange,de=i.labels,ce=f.selectedLabelIds,ge=f.displayAnnotationType===s.JJ.Matting,ue=f.displayAnnotationType===s.JJ.KeyPoints;return(0,a.jsxs)("div",{className:B.fixMenu,id:"filterWrap",children:[(0,a.jsxs)("div",{className:B.filter,children:[(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(h.Z,{}),type:"text",className:B.backBtn,onClick:function(){return(0,N.yS)("/dataset")}}),(0,a.jsx)(r.Z,{categoryId:f.categoryId,categories:i.categories,onCategoryChange:Y})]}),(0,a.jsxs)("div",{className:B.rightFilters,children:[(0,a.jsx)(z.Z,{showMatting:ge,showKeyPoints:ue,isTiledDiff:G,labels:de,selectedLabelIds:ce,diffMode:s.uP.Overlay,disableChangeDiffMode:!0,onLabelsChange:ae,onLabelConfidenceChange:c,onLabelsDiffModeChange:v}),(0,a.jsx)(L.Z,{annotationTypes:i.annotationTypes,disableChangeType:!!C,displayAnnotationType:f.displayAnnotationType,displayOptions:i.displayOptions,displayOptionsValue:f.displayOptions,onDisplayAnnotationTypeChange:X,onDisplayOptionsChange:ee}),!G&&(0,a.jsx)(b.ii,{cloumnCount:w,onColumnCountChange:re})]})]})},O=E,x=e(38904),J=e(74820),K=e(60698),$={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"},_=$,p=e(17202),S=function(d,i){return u.createElement(p.Z,(0,K.Z)({},d,{ref:i,icon:_}))},U=u.forwardRef(S),Q=e(4394),A=e(53357),F={toolsBar:"toolsBar___BaJ18",selector:"selector___oykI4",antiBtn:"antiBtn___BMNv_",flagTip:"flagTip___jQeUr",flag:"flag___AuDg7",flagBtn:"flagBtn___kI5rw",rightContent:"rightContent___J7I4T",lineSplit:"lineSplit___cRXnA"},oe=e(87615),se=function(){var d,i=(0,o.useModel)("dataset.common",function(c){var v;return{pageSize:c.pageState.pageSize,flagStatus:(v=c.pageState.flagTools)===null||v===void 0?void 0:v.flagStatus,flagTools:c.pageState.flagTools&&c.pageData.flagTools}}),f=i.flagTools,C=i.flagStatus,G=i.pageSize,w=(0,o.useModel)("dataset.flag"),T=w.onChangeFlagStatus,Y=w.changeSelectAll,ee=w.antiSelect,X=w.saveFlag,ae=w.updateOrder;return f?(0,a.jsxs)("div",{className:F.toolsBar,children:[(0,a.jsxs)("div",{className:F.selector,children:[(0,a.jsx)(x.Z,{indeterminate:f.count>0&&f.count!==G,checked:(f==null?void 0:f.count)===G,onChange:Y,children:f.count===0?(0,a.jsx)(A.Og,{id:"lab.toolsBar.selectAll"}):(0,a.jsx)(A.Og,{id:"lab.toolsBar.selectSome",values:{num:f.count}})}),(0,a.jsx)(n.ZP,{onClick:function(){return ee()},className:F.antiBtn,children:(0,a.jsx)(A.Og,{id:"lab.toolsBar.selectInvert"})}),(0,a.jsxs)(oe.Z,{data:s.j3,value:C,filterOptionName:function(v){return v.name},filterOptionValue:function(v){return v.value},onChange:function(v){return T(v)},ghost:!1,type:"default",className:F.antiBtn,children:[(0,a.jsx)(A.Og,{id:"lab.toolsBar.filter"})," :"," ",(d=s.j3.find(function(c){return c.value===C}))===null||d===void 0?void 0:d.name]}),(0,a.jsxs)("div",{className:F.flagTip,children:[(0,a.jsx)(A.Og,{id:"lab.toolsBar.saveAs"}),"\uFF1A"]}),s.YC.map(function(c){return(0,a.jsx)(J.Z,{placement:"bottom",title:c.tip,children:(0,a.jsx)(n.ZP,{ghost:!0,onClick:function(){return X(c.value)},className:F.flagBtn,style:{borderColor:s.a5[c.value],opacity:f.count<=0?.5:1},icon:(0,a.jsx)(Q.r,{fill:s.a5[c.value]})})},c.value)})]}),(0,a.jsx)("div",{className:F.rightContent,children:(0,a.jsxs)(n.ZP,{onClick:ae,children:[(0,a.jsx)(U,{}),(0,a.jsx)(A.Og,{id:"lab.toolsBar.updateOrder"})]})})]}):null},me=se,he=e(33010),ye=e(74595),R={page:"page___gO_hp",container:"container___ZoYU1",item:"item___gLaMX",itemImgWrap:"itemImgWrap___I92CG",flagIcon:"flagIcon___snhaL",label:"label___m8WJS",itemSelectedMask:"itemSelectedMask___oYwMk",pagination:"pagination___Z13Xp",editor:"editor___ZxT8b",pageSpin:"pageSpin___kIm_a"},xe=e(95073),Ce=function(){var d=(0,o.useModel)("dataset.common"),i=d.pageState,f=d.onInitPageState,C=d.pageData,G=d.loading,w=d.displayLabelIds,T=d.isTiledDiff,Y=d.displayOptionsResult,ee=d.onPageContentLoaded,X=d.onPreviewIndexChange,ae=d.exitPreview,c=d.displayObjectsFilter,v=(0,o.useModel)("Lab.FlagTool.model"),re=v.onPageDidMount,de=v.onPageWillUnmount,ce=v.clickItem,ge=v.doubleClickItem,ue=v.onPageChange,H=v.onPageSizeChange,Oe=i.cloumnCount,Se=i.isSingleAnnotation,Te=i.filterValues,ve=i.flagTools;(0,I._)({onPageDidMount:re,onPageWillUnmount:de,onInitPageState:f,pageState:i});var le=(0,xe.Z)(function(){return document.querySelector(".ant-pro-page-container")}),fe=le!=null&&le.width?le.width-80:0,ne=(0,u.useMemo)(function(){return T?(0,ye.JC)(C.imgList,w,Te.displayAnnotationType):C.imgList},[T,C.imgList,w]),pe=T?ne.length/(C.imgList.length||1):Oe,k=fe?(fe-16*(pe-1))/(pe||1):0;return(0,a.jsxs)(Z._z,{ghost:!0,className:R.page,pageHeaderRender:function(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{}),(0,a.jsx)(me,{})]})},fixedHeader:!0,children:[(0,a.jsx)("div",{className:R.container,children:(0,a.jsx)(y.Z,{loading:G,children:ne.length?(0,a.jsx)(g(),{options:{gutter:16,horizontalOrder:!0,transitionDuration:0},onImagesLoaded:function(){return ee()},children:ne.map(function(D,te){return(0,a.jsxs)("div",{className:R.item,style:{width:k},onClick:function(){return ce(te)},onDoubleClick:function(){return ge(te)},children:[(0,a.jsx)("div",{className:R.itemImgWrap,style:{width:k,height:ve?k*3/4:"auto"},children:(0,a.jsx)(he.D5,{isOldMode:!0,categories:C.filters.categories,data:D,wrapWidth:k,wrapHeight:ve?k*3/4:void 0,minHeight:k*3/4,objectsFilter:c,displayOptionsResult:Y})}),D.flag>0&&(0,a.jsx)(Q.r,{fill:s.a5[D.flag],className:R.flagIcon}),Y.showImgDesc&&(0,a.jsxs)("div",{className:R.label,children:[" ",D.caption||D.desc," "]}),ve&&D.selected?(0,a.jsx)("div",{className:R.itemSelectedMask}):null]},"".concat(D.id,"_").concat(te))})}):null})}),!G&&(0,a.jsx)(b.ZJ,{current:i.page,size:i.pageSize,total:C.total,onPageChange:ue,onPageSizeChange:H}),(0,a.jsx)(he.j5,{isOldMode:!0,visible:i.previewIndex>=0&&!Se,categories:C.filters.categories,list:ne,current:i.previewIndex,onCancel:ae,onNext:P()(m()().mark(function D(){return m()().wrap(function(V){for(;;)switch(V.prev=V.next){case 0:i.previewIndex0&&X(i.previewIndex-1);case 1:case"end":return V.stop()}},D)})),objectsFilter:c,displayOptionsResult:Y}),C.screenLoading?(0,a.jsx)("div",{className:R.pageSpin,children:(0,a.jsx)(l.Z,{spinning:!0,tip:C.screenLoading})}):null]})},je=Ce},4394:function(q,M,e){e.d(M,{r:function(){return Z}});var W=e(58757),m=Object.defineProperty,j=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,o=(l,t,g)=>t in l?m(l,t,{enumerable:!0,configurable:!0,writable:!0,value:g}):l[t]=g,I=(l,t)=>{for(var g in t||(t={}))P.call(t,g)&&o(l,g,t[g]);if(j)for(var g of j(t))u.call(t,g)&&o(l,g,t[g]);return l};const Z=l=>W.createElement("svg",I({viewBox:"0 0 16 16",fill:"#52C41A",xmlns:"http://www.w3.org/2000/svg"},l),W.createElement("path",{d:"M12.633 4.84 3.838 1.05A.599.599 0 0 0 3 1.602v12.793a.602.602 0 1 0 1.204 0v-4l8.475-4.47a.601.601 0 0 0-.046-1.086Z"}));var y="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9IiM1MkM0MUEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEyLjYzMyA0Ljg0IDMuODM4IDEuMDVBLjU5OS41OTkgMCAwIDAgMyAxLjYwMnYxMi43OTNhLjYwMi42MDIgMCAxIDAgMS4yMDQgMHYtNGw4LjQ3NS00LjQ3YS42MDEuNjAxIDAgMCAwLS4wNDYtMS4wODZaIi8+PC9zdmc+"}}]); diff --git a/deepdataspace/server/static/p__Project__Workspace__index.afc69f7b.async.js b/deepdataspace/server/static/p__Project__Workspace__index.2c2baf46.async.js similarity index 98% rename from deepdataspace/server/static/p__Project__Workspace__index.afc69f7b.async.js rename to deepdataspace/server/static/p__Project__Workspace__index.2c2baf46.async.js index dede10f..7a0dca3 100644 --- a/deepdataspace/server/static/p__Project__Workspace__index.afc69f7b.async.js +++ b/deepdataspace/server/static/p__Project__Workspace__index.2c2baf46.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[914],{87615:function(ae,S,e){e.d(S,{Z:function(){return T}});var h=e(58757),R=e(38904),w=e(10852),b=e(73267),d=e(57414),E=e(12562),O=e(10130),L=e(53357),j={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},o=e(35667),D=function(i){var s=i.data,y=i.multiple,N=i.type,m=N===void 0?"primary":N,C=i.ghost,V=C===void 0?!0:C,$=i.value,t=i.filterOptionValue,k=i.filterOptionName,f=i.onChange,G=i.className,x=i.children,P=i.customOverlay,u=y?R.Z:w.ZP,a=function(n){f&&f(y?n:n.target.value)};return(0,o.jsx)(b.Z,{overlayClassName:j.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,o.jsx)("div",{className:j.dropdownWrap,children:P||(0,o.jsx)(u.Group,{className:j.dropdownBox,onChange:a,value:$,children:(0,o.jsx)(d.Z,{direction:"vertical",children:s==null?void 0:s.map(function(n,B){var H=t?t(n):n,z=k?k(n):n;return(0,o.jsx)(u,{value:H,children:(0,L._w)(z)},B)})})})})},children:(0,o.jsxs)(E.ZP,{className:G,type:m,ghost:V,children:[x,(0,o.jsx)(O.Z,{})]})})},T=D},61470:function(ae,S,e){e.r(S),e.d(S,{default:function(){return f}});var h=e(58757),R=e(97375),w=e(28506),b=e(61845),d=e(12562),E=e(16951),O=e(37617),L=e(79233),j=e(18695),o={page:"page___DZyiW",header:"header___bRKb4",backBtn:"backBtn___yET2T",tabs:"tabs___weXzX",btn:"btn____fESN",line:"line___k1GQQ",item:"item___Jv55m",itemImgWrap:"itemImgWrap___bWdL3",flagIcon:"flagIcon___PULYz",label:"label___LGG_W",itemSelectedMask:"itemSelectedMask___mU2PX",topSpin:"topSpin___eLVKZ",bottomSpin:"bottomSpin___MuKRE",pagination:"pagination___WlY5J",pageSpin:"pageSpin___BAc4e",editor:"editor___YUj9q"},D=e(39378),T=e(87615),U=e(93059),i=e(88662),s=e(35459),y=e(92183),N=e(22283),m=e(1239),C=e(95073),V=e(23707),$=e(53357),t=e(35667),k=function(){var x,P=(0,R.useModel)("Project.auth"),u=P.checkPermission,a=(0,R.useModel)("Project.workspace"),r=a.pageData,n=a.pageState,B=a.loading,H=a.loadPageData,z=a.onInitPageState,oe=a.projectId,l=a.curRole,p=a.userRoles,ne=a.tabItems,Y=a.labelImages,F=a.isEditorVisible,re=a.onStatusTabChange,ie=a.onRoleChange,le=a.clickItem,se=a.loadMore,de=a.onExitEditor,ce=a.onNextImage,ue=a.onPrevImage,ve=a.onLabelSave,ge=a.onReviewAccept,me=a.onReviewReject,pe=a.onEnterEdit,X=a.onStartLabel,J=a.onStartRework,Q=a.onStartReview;(0,w._)({onInitPageState:z,pageState:n});var he=(0,$.bU)(),v=he.localeText,je=(0,w.w)(),fe=je.height,Z=(0,C.Z)(function(){return document.querySelector(".ant-pro-page-container")}),q=Z!=null&&Z.width?Z.width-80:0,xe=h.useRef(null),I=5,M=q?(q-16*(I-1))/(I||1):0,A=M*3/4,_=fe-46,Se=function(c){Math.floor(c.currentTarget.scrollHeight-c.currentTarget.scrollTop)===Math.floor(_)&&se()},K=(0,h.useMemo)(function(){return(0,D.chunk)(Y,I).map(function(W,c){return{index:c,lineImgs:W}})},[r.list]),Re=(0,h.useMemo)(function(){return r.editorMode!==i.je.View||n.taskStatus!==s.gZ.Working?[]:u(p,m.Oc.StartLabel)?n.status===s.j$.Labeling?[(0,t.jsx)(d.ZP,{type:"primary",onClick:X,children:v("proj.workspace.eTask.startLabel")},"label")]:n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:pe,children:v("proj.workspace.eTask.edit")},"edit")]:n.status===s.j$.Rejected?[(0,t.jsx)(d.ZP,{type:"primary",onClick:J,children:v("proj.workspace.eTask.startRework")},"rework")]:[]:u(p,m.Oc.StartReview)&&n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:Q,children:v("proj.workspace.eTask.startReview")},"review")]:[]},[n.status,n.taskStatus,r.editorMode,p]);return(0,t.jsxs)(b._z,{ghost:!0,className:o.page,fixedHeader:!0,pageHeaderRender:function(){return(0,t.jsxs)("div",{className:o.header,children:[(0,t.jsx)(d.ZP,{icon:(0,t.jsx)(y.Z,{}),type:"text",className:o.backBtn,onClick:function(){return(0,V.yS)("/project/".concat(oe))}}),(0,t.jsx)(E.Z,{className:o.tabs,activeKey:n.status,onChange:re,items:ne,tabBarExtraContent:(0,t.jsxs)("div",{children:[(0,t.jsx)(d.ZP,{type:"text",className:o.btn,icon:(0,t.jsx)(N.Z,{}),onClick:function(){return H()}}),l&&(l==null?void 0:l.labelNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:X,children:v("proj.workspace.eProj.startLabeling")}),l&&(l==null?void 0:l.reviewNumRejected)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:J,children:v("proj.workspace.eProj.startRework")}),l&&(l==null?void 0:l.reviewNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartReview)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:Q,children:v("proj.workspace.eProj.startReview")}),(0,t.jsxs)(T.Z,{data:r.taskRoles,value:n.roleId||"",filterOptionName:function(g){return"".concat(g.userName," (").concat(g.role,")")},filterOptionValue:function(g){return g.id},onChange:ie,ghost:!1,type:"default",children:[v("proj.workspace.eProj.role"),": ",l==null?void 0:l.userName,"(",l==null?void 0:l.role,")"]})]})})]})},children:[(0,t.jsx)(O.Z,{loading:B,className:o.list,children:K.length>0&&(0,t.jsx)(j.Z,{ref:xe,data:K,height:_,itemHeight:A+16,itemKey:"index",onScroll:Se,children:function(c,g){return(0,t.jsxs)(h.Fragment,{children:[(0,t.jsx)("div",{className:o.line,children:c.lineImgs.map(function(ee,te){return(0,t.jsx)("div",{className:o.item,style:{width:M},onClick:function(){return le(g*I+te)},children:(0,t.jsx)("div",{className:o.itemImgWrap,style:{width:M,height:A},children:(0,t.jsx)(i.D5,{isOldMode:!0,categories:r.categoryList,data:ee,wrapWidth:M,wrapHeight:A})})},"".concat(ee.id,"_").concat(te))})}),g===K.length-1&&r.loadingImagesType===U.D.More&&(0,t.jsx)(L.Z,{className:o.bottomSpin})]},g)}})}),F&&(0,t.jsx)("div",{className:o.editor,children:(0,t.jsx)(i.kl,{isOldMode:!0,isSeperate:!1,mode:r.editorMode,visible:F,categories:r.categoryList,list:Y,current:r.curIndex,pagination:{show:r.editorMode!==i.je.Review&&!(r.editorMode===i.je.Edit&&n.status===s.j$.Reviewing),total:r.total,customText:r.editorMode===i.je.Edit?(0,t.jsx)(t.Fragment,{}):void 0,customDisableNext:r.editorMode===i.je.Edit?!((x=r.list[r.curIndex])!==null&&x!==void 0&&x.labeled)||r.curIndex>=r.total-1:void 0},actionElements:Re,onCancel:de,onSave:ve,onReviewAccept:ge,onReviewReject:me,onNext:ce,onPrev:ue})})]})},f=k}}]); +"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[914],{87615:function(ae,S,e){e.d(S,{Z:function(){return T}});var h=e(58757),R=e(38904),w=e(10852),b=e(73267),d=e(57414),E=e(12562),O=e(10130),L=e(53357),j={dropdownSelector:"dropdownSelector___gvMFq",dropdownWrap:"dropdownWrap___WWYlz",dropdownBox:"dropdownBox___lpUVf"},o=e(35667),D=function(i){var s=i.data,y=i.multiple,N=i.type,m=N===void 0?"primary":N,C=i.ghost,V=C===void 0?!0:C,$=i.value,t=i.filterOptionValue,k=i.filterOptionName,f=i.onChange,G=i.className,x=i.children,P=i.customOverlay,u=y?R.Z:w.ZP,a=function(n){f&&f(y?n:n.target.value)};return(0,o.jsx)(b.Z,{overlayClassName:j.dropdownSelector,trigger:["click"],dropdownRender:function(){return(0,o.jsx)("div",{className:j.dropdownWrap,children:P||(0,o.jsx)(u.Group,{className:j.dropdownBox,onChange:a,value:$,children:(0,o.jsx)(d.Z,{direction:"vertical",children:s==null?void 0:s.map(function(n,B){var H=t?t(n):n,z=k?k(n):n;return(0,o.jsx)(u,{value:H,children:(0,L._w)(z)},B)})})})})},children:(0,o.jsxs)(E.ZP,{className:G,type:m,ghost:V,children:[x,(0,o.jsx)(O.Z,{})]})})},T=D},61470:function(ae,S,e){e.r(S),e.d(S,{default:function(){return f}});var h=e(58757),R=e(97375),w=e(28506),b=e(61845),d=e(12562),E=e(16951),O=e(37617),L=e(79233),j=e(18695),o={page:"page___DZyiW",header:"header___bRKb4",backBtn:"backBtn___yET2T",tabs:"tabs___weXzX",btn:"btn____fESN",line:"line___k1GQQ",item:"item___Jv55m",itemImgWrap:"itemImgWrap___bWdL3",flagIcon:"flagIcon___PULYz",label:"label___LGG_W",itemSelectedMask:"itemSelectedMask___mU2PX",topSpin:"topSpin___eLVKZ",bottomSpin:"bottomSpin___MuKRE",pagination:"pagination___WlY5J",pageSpin:"pageSpin___BAc4e",editor:"editor___YUj9q"},D=e(39378),T=e(87615),U=e(93059),i=e(33010),s=e(35459),y=e(92183),N=e(22283),m=e(1239),C=e(95073),V=e(23707),$=e(53357),t=e(35667),k=function(){var x,P=(0,R.useModel)("Project.auth"),u=P.checkPermission,a=(0,R.useModel)("Project.workspace"),r=a.pageData,n=a.pageState,B=a.loading,H=a.loadPageData,z=a.onInitPageState,oe=a.projectId,l=a.curRole,p=a.userRoles,ne=a.tabItems,Y=a.labelImages,F=a.isEditorVisible,re=a.onStatusTabChange,ie=a.onRoleChange,le=a.clickItem,se=a.loadMore,de=a.onExitEditor,ce=a.onNextImage,ue=a.onPrevImage,ve=a.onLabelSave,ge=a.onReviewAccept,me=a.onReviewReject,pe=a.onEnterEdit,X=a.onStartLabel,J=a.onStartRework,Q=a.onStartReview;(0,w._)({onInitPageState:z,pageState:n});var he=(0,$.bU)(),v=he.localeText,je=(0,w.w)(),fe=je.height,Z=(0,C.Z)(function(){return document.querySelector(".ant-pro-page-container")}),q=Z!=null&&Z.width?Z.width-80:0,xe=h.useRef(null),I=5,M=q?(q-16*(I-1))/(I||1):0,A=M*3/4,_=fe-46,Se=function(c){Math.floor(c.currentTarget.scrollHeight-c.currentTarget.scrollTop)===Math.floor(_)&&se()},K=(0,h.useMemo)(function(){return(0,D.chunk)(Y,I).map(function(W,c){return{index:c,lineImgs:W}})},[r.list]),Re=(0,h.useMemo)(function(){return r.editorMode!==i.je.View||n.taskStatus!==s.gZ.Working?[]:u(p,m.Oc.StartLabel)?n.status===s.j$.Labeling?[(0,t.jsx)(d.ZP,{type:"primary",onClick:X,children:v("proj.workspace.eTask.startLabel")},"label")]:n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:pe,children:v("proj.workspace.eTask.edit")},"edit")]:n.status===s.j$.Rejected?[(0,t.jsx)(d.ZP,{type:"primary",onClick:J,children:v("proj.workspace.eTask.startRework")},"rework")]:[]:u(p,m.Oc.StartReview)&&n.status===s.j$.Reviewing?[(0,t.jsx)(d.ZP,{type:"primary",onClick:Q,children:v("proj.workspace.eTask.startReview")},"review")]:[]},[n.status,n.taskStatus,r.editorMode,p]);return(0,t.jsxs)(b._z,{ghost:!0,className:o.page,fixedHeader:!0,pageHeaderRender:function(){return(0,t.jsxs)("div",{className:o.header,children:[(0,t.jsx)(d.ZP,{icon:(0,t.jsx)(y.Z,{}),type:"text",className:o.backBtn,onClick:function(){return(0,V.yS)("/project/".concat(oe))}}),(0,t.jsx)(E.Z,{className:o.tabs,activeKey:n.status,onChange:re,items:ne,tabBarExtraContent:(0,t.jsxs)("div",{children:[(0,t.jsx)(d.ZP,{type:"text",className:o.btn,icon:(0,t.jsx)(N.Z,{}),onClick:function(){return H()}}),l&&(l==null?void 0:l.labelNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:X,children:v("proj.workspace.eProj.startLabeling")}),l&&(l==null?void 0:l.reviewNumRejected)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartLabel)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:J,children:v("proj.workspace.eProj.startRework")}),l&&(l==null?void 0:l.reviewNumWaiting)>0&&n.taskStatus===s.gZ.Working&&u(p,m.Oc.StartReview)&&(0,t.jsx)(d.ZP,{type:"primary",className:o.btn,onClick:Q,children:v("proj.workspace.eProj.startReview")}),(0,t.jsxs)(T.Z,{data:r.taskRoles,value:n.roleId||"",filterOptionName:function(g){return"".concat(g.userName," (").concat(g.role,")")},filterOptionValue:function(g){return g.id},onChange:ie,ghost:!1,type:"default",children:[v("proj.workspace.eProj.role"),": ",l==null?void 0:l.userName,"(",l==null?void 0:l.role,")"]})]})})]})},children:[(0,t.jsx)(O.Z,{loading:B,className:o.list,children:K.length>0&&(0,t.jsx)(j.Z,{ref:xe,data:K,height:_,itemHeight:A+16,itemKey:"index",onScroll:Se,children:function(c,g){return(0,t.jsxs)(h.Fragment,{children:[(0,t.jsx)("div",{className:o.line,children:c.lineImgs.map(function(ee,te){return(0,t.jsx)("div",{className:o.item,style:{width:M},onClick:function(){return le(g*I+te)},children:(0,t.jsx)("div",{className:o.itemImgWrap,style:{width:M,height:A},children:(0,t.jsx)(i.D5,{isOldMode:!0,categories:r.categoryList,data:ee,wrapWidth:M,wrapHeight:A})})},"".concat(ee.id,"_").concat(te))})}),g===K.length-1&&r.loadingImagesType===U.D.More&&(0,t.jsx)(L.Z,{className:o.bottomSpin})]},g)}})}),F&&(0,t.jsx)("div",{className:o.editor,children:(0,t.jsx)(i.kl,{isOldMode:!0,isSeperate:!1,mode:r.editorMode,visible:F,categories:r.categoryList,list:Y,current:r.curIndex,pagination:{show:r.editorMode!==i.je.Review&&!(r.editorMode===i.je.Edit&&n.status===s.j$.Reviewing),total:r.total,customText:r.editorMode===i.je.Edit?(0,t.jsx)(t.Fragment,{}):void 0,customDisableNext:r.editorMode===i.je.Edit?!((x=r.list[r.curIndex])!==null&&x!==void 0&&x.labeled)||r.curIndex>=r.total-1:void 0},actionElements:Re,onCancel:de,onSave:ve,onReviewAccept:ge,onReviewReject:me,onNext:ce,onPrev:ue})})]})},f=k}}]); diff --git a/deepdataspace/server/static/umi.d5355c89.js b/deepdataspace/server/static/umi.d97b8209.js similarity index 53% rename from deepdataspace/server/static/umi.d5355c89.js rename to deepdataspace/server/static/umi.d97b8209.js index 422c081..491c80d 100644 --- a/deepdataspace/server/static/umi.d5355c89.js +++ b/deepdataspace/server/static/umi.d97b8209.js @@ -1,5 +1,5 @@ -!(function(){var mg=Object.defineProperty,pg=Object.defineProperties;var hg=Object.getOwnPropertyDescriptors;var Hf=Object.getOwnPropertySymbols;var yg=Object.prototype.hasOwnProperty,bg=Object.prototype.propertyIsEnumerable;var _f=(Iu,Wl,Lt)=>Wl in Iu?mg(Iu,Wl,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Iu[Wl]=Lt,ka=(Iu,Wl)=>{for(var Lt in Wl||(Wl={}))yg.call(Wl,Lt)&&_f(Iu,Lt,Wl[Lt]);if(Hf)for(var Lt of Hf(Wl))bg.call(Wl,Lt)&&_f(Iu,Lt,Wl[Lt]);return Iu},Gs=(Iu,Wl)=>pg(Iu,hg(Wl));var xf=(Iu,Wl,Lt)=>new Promise((If,b)=>{var y=t=>{try{a(Lt.next(t))}catch(o){b(o)}},e=t=>{try{a(Lt.throw(t))}catch(o){b(o)}},a=t=>t.done?If(t.value):Promise.resolve(t.value).then(y,e);a((Lt=Lt.apply(Iu,Wl)).next())});(function(){var Iu={26134:function(b,y,e){"use strict";e.r(y),e.d(y,{blue:function(){return le},cyan:function(){return q},geekblue:function(){return X},generate:function(){return $},gold:function(){return j},gray:function(){return _},green:function(){return Y},grey:function(){return O},lime:function(){return te},magenta:function(){return x},orange:function(){return K},presetDarkPalettes:function(){return B},presetPalettes:function(){return L},presetPrimaryColors:function(){return N},purple:function(){return W},red:function(){return D},volcano:function(){return T},yellow:function(){return k}});var a=e(20117),t=e(76981),o=2,s=.16,n=.05,d=.05,l=.15,c=5,m=4,g=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function M(U){var A=U.r,G=U.g,de=U.b,he=(0,a.py)(A,G,de);return{h:he.h*360,s:he.s,v:he.v}}function h(U){var A=U.r,G=U.g,de=U.b;return"#".concat((0,a.vq)(A,G,de,!1))}function S(U,A,G){var de=G/100,he={r:(A.r-U.r)*de+U.r,g:(A.g-U.g)*de+U.g,b:(A.b-U.b)*de+U.b};return he}function w(U,A,G){var de;return Math.round(U.h)>=60&&Math.round(U.h)<=240?de=G?Math.round(U.h)-o*A:Math.round(U.h)+o*A:de=G?Math.round(U.h)+o*A:Math.round(U.h)-o*A,de<0?de+=360:de>=360&&(de-=360),de}function C(U,A,G){if(U.h===0&&U.s===0)return U.s;var de;return G?de=U.s-s*A:A===m?de=U.s+s:de=U.s+n*A,de>1&&(de=1),G&&A===c&&de>.1&&(de=.1),de<.06&&(de=.06),Number(de.toFixed(2))}function z(U,A,G){var de;return G?de=U.v+d*A:de=U.v-l*A,de>1&&(de=1),Number(de.toFixed(2))}function $(U){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=[],de=(0,t.uA)(U),he=c;he>0;he-=1){var ge=M(de),be=h((0,t.uA)({h:w(ge,he,!0),s:C(ge,he,!0),v:z(ge,he,!0)}));G.push(be)}G.push(h(de));for(var Te=1;Te<=m;Te+=1){var Ge=M(de),Je=h((0,t.uA)({h:w(Ge,Te),s:C(Ge,Te),v:z(Ge,Te)}));G.push(Je)}return A.theme==="dark"?g.map(function(Qe){var pt=Qe.index,Ct=Qe.opacity,ft=h(S((0,t.uA)(A.backgroundColor||"#141414"),(0,t.uA)(G[pt]),Ct*100));return ft}):G}var N={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},L={},B={};Object.keys(N).forEach(function(U){L[U]=$(N[U]),L[U].primary=L[U][5],B[U]=$(N[U],{theme:"dark",backgroundColor:"#141414"}),B[U].primary=B[U][5]});var D=L.red,T=L.volcano,j=L.gold,K=L.orange,k=L.yellow,te=L.lime,Y=L.green,q=L.cyan,le=L.blue,X=L.geekblue,W=L.purple,x=L.magenta,O=L.grey,_=L.grey},57793:function(b,y,e){"use strict";e.d(y,{E4:function(){return rr},jG:function(){return _},t2:function(){return Ne},fp:function(){return Oe},xy:function(){return Dn}});var a=e(29140),t=e(57370);function o(Xt){for(var Cn=0,jn,er=0,gr=Xt.length;gr>=4;++er,gr-=4)jn=Xt.charCodeAt(er)&255|(Xt.charCodeAt(++er)&255)<<8|(Xt.charCodeAt(++er)&255)<<16|(Xt.charCodeAt(++er)&255)<<24,jn=(jn&65535)*1540483477+((jn>>>16)*59797<<16),jn^=jn>>>24,Cn=(jn&65535)*1540483477+((jn>>>16)*59797<<16)^(Cn&65535)*1540483477+((Cn>>>16)*59797<<16);switch(gr){case 3:Cn^=(Xt.charCodeAt(er+2)&255)<<16;case 2:Cn^=(Xt.charCodeAt(er+1)&255)<<8;case 1:Cn^=Xt.charCodeAt(er)&255,Cn=(Cn&65535)*1540483477+((Cn>>>16)*59797<<16)}return Cn^=Cn>>>13,Cn=(Cn&65535)*1540483477+((Cn>>>16)*59797<<16),((Cn^Cn>>>15)>>>0).toString(36)}var s=o,n=e(58757),d=e.t(n,2),l=e(27903),c=e(7637),m=e(60412),g=e(14346),M=e(37734),h="%",S=function(){function Xt(Cn){(0,m.Z)(this,Xt),(0,M.Z)(this,"instanceId",void 0),(0,M.Z)(this,"cache",new Map),this.instanceId=Cn}return(0,g.Z)(Xt,[{key:"get",value:function(jn){return this.cache.get(jn.join(h))||null}},{key:"update",value:function(jn,er){var gr=jn.join(h),Wr=this.cache.get(gr),ea=er(Wr);ea===null?this.cache.delete(gr):this.cache.set(gr,ea)}}]),Xt}(),w=S,C=null,z="data-token-hash",$="data-css-hash",N="data-cache-path",L="__cssinjs_instance__";function B(){var Xt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var Cn=document.body.querySelectorAll("style[".concat($,"]"))||[],jn=document.head.firstChild;Array.from(Cn).forEach(function(gr){gr[L]=gr[L]||Xt,gr[L]===Xt&&document.head.insertBefore(gr,jn)});var er={};Array.from(document.querySelectorAll("style[".concat($,"]"))).forEach(function(gr){var Wr=gr.getAttribute($);if(er[Wr]){if(gr[L]===Xt){var ea;(ea=gr.parentNode)===null||ea===void 0||ea.removeChild(gr)}}else er[Wr]=!0})}return new w(Xt)}var D=n.createContext({hashPriority:"low",cache:B(),defaultCache:!0}),T=function(Cn){var jn=Cn.children,er=_objectWithoutProperties(Cn,C),gr=React.useContext(D),Wr=useMemo(function(){var ea=_objectSpread({},gr);Object.keys(er).forEach(function(_r){var fa=er[_r];er[_r]!==void 0&&(ea[_r]=fa)});var sr=er.cache;return ea.cache=ea.cache||B(),ea.defaultCache=!sr&&gr.defaultCache,ea},[gr,er],function(ea,sr){return!isEqual(ea[0],sr[0],!0)||!isEqual(ea[1],sr[1],!0)});return React.createElement(D.Provider,{value:Wr},jn)},j=D,K=e(38790),k=e(19075),te=e(39678),Y=e(28314);function q(Xt,Cn){if(Xt.length!==Cn.length)return!1;for(var jn=0;jn1&&arguments[1]!==void 0?arguments[1]:!1,ea={map:this.cache};return jn.forEach(function(sr){if(!ea)ea=void 0;else{var _r,fa;ea=(_r=ea)===null||_r===void 0||(fa=_r.map)===null||fa===void 0?void 0:fa.get(sr)}}),(er=ea)!==null&&er!==void 0&&er.value&&Wr&&(ea.value[1]=this.cacheCallTimes++),(gr=ea)===null||gr===void 0?void 0:gr.value}},{key:"get",value:function(jn){var er;return(er=this.internalGet(jn,!0))===null||er===void 0?void 0:er[0]}},{key:"has",value:function(jn){return!!this.internalGet(jn)}},{key:"set",value:function(jn,er){var gr=this;if(!this.has(jn)){if(this.size()+1>Xt.MAX_CACHE_SIZE+Xt.MAX_CACHE_OFFSET){var Wr=this.keys.reduce(function(fa,Oa){var Aa=(0,Y.Z)(fa,2),qr=Aa[1];return gr.internalGet(Oa)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),W+=1}return(0,g.Z)(Xt,[{key:"getDerivativeToken",value:function(jn){return this.derivatives.reduce(function(er,gr){return gr(jn,er)},void 0)}}]),Xt}(),O=new le;function _(Xt){var Cn=Array.isArray(Xt)?Xt:[Xt];return O.has(Cn)||O.set(Cn,new x(Cn)),O.get(Cn)}var U=new WeakMap;function A(Xt){var Cn=U.get(Xt)||"";return Cn||(Object.keys(Xt).forEach(function(jn){var er=Xt[jn];Cn+=jn,er instanceof x?Cn+=er.id:er&&(0,K.Z)(er)==="object"?Cn+=A(er):Cn+=er}),U.set(Xt,Cn)),Cn}function G(Xt,Cn){return s("".concat(Cn,"_").concat(A(Xt)))}var de="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),he="_bAmBoO_";function ge(Xt,Cn,jn){if((0,k.Z)()){var er,gr;(0,te.hq)(Xt,de);var Wr=document.createElement("div");Wr.style.position="fixed",Wr.style.left="0",Wr.style.top="0",Cn==null||Cn(Wr),document.body.appendChild(Wr);var ea=jn?jn(Wr):(er=getComputedStyle(Wr).content)===null||er===void 0?void 0:er.includes(he);return(gr=Wr.parentNode)===null||gr===void 0||gr.removeChild(Wr),(0,te.jL)(de),ea}return!1}var be=void 0;function Te(){return be===void 0&&(be=ge("@layer ".concat(de," { .").concat(de,' { content: "').concat(he,'"!important; } }'),function(Xt){Xt.className=de})),be}var Ge=void 0;function Je(){return Ge===void 0&&(Ge=ge(":where(.".concat(de,') { content: "').concat(he,'"!important; }'),function(Xt){Xt.className=de})),Ge}var Qe=void 0;function pt(){return Qe===void 0&&(Qe=ge(".".concat(de," { inset-block: 93px !important; }"),function(Xt){Xt.className=de},function(Xt){return getComputedStyle(Xt).bottom==="93px"})),Qe}var Ct=e(81334),ft=(0,t.Z)({},d),Ht=ft.useInsertionEffect,Ze=function(Cn,jn,er){n.useMemo(Cn,er),(0,Ct.Z)(function(){return jn(!0)},er)},Xe=Ht?function(Xt,Cn,jn){return Ht(function(){return Xt(),Cn()},jn)}:Ze,rt=Xe,Ke=(0,t.Z)({},d),ye=Ke.useInsertionEffect,ne=function(Cn){var jn=[],er=!1;function gr(Wr){er||jn.push(Wr)}return n.useEffect(function(){return er=!1,function(){er=!0,jn.length&&jn.forEach(function(Wr){return Wr()})}},Cn),gr},H=function(){return function(Cn){Cn()}},R=typeof ye!="undefined"?ne:H,P=R;function ae(){return!1}var Q=!1;function ie(){return Q}var me=ae;if(!1)var je,Ee;function Me(Xt,Cn,jn,er,gr){var Wr=n.useContext(j),ea=Wr.cache,sr=[Xt].concat((0,a.Z)(Cn)),_r=sr.join("_"),fa=P([_r]),Oa=me(),Aa=function(_a){ea.update(sr,function(Mo){var so=Mo||[],Ca=(0,Y.Z)(so,2),Ba=Ca[0],So=Ba===void 0?0:Ba,Xo=Ca[1],ei=Xo,ao=ei||jn(),hi=[So,ao];return _a?_a(hi):hi})};n.useMemo(function(){Aa()},[_r]);var qr=ea.get(sr),go=qr[1];return rt(function(){gr==null||gr(go)},function(xo){return Aa(function(_a){var Mo=(0,Y.Z)(_a,2),so=Mo[0],Ca=Mo[1];return xo&&so===0&&(gr==null||gr(go)),[so+1,Ca]}),function(){ea.update(sr,function(_a){var Mo=_a||[],so=(0,Y.Z)(Mo,2),Ca=so[0],Ba=Ca===void 0?0:Ca,So=so[1],Xo=Ba-1;return Xo===0?(fa(function(){return er==null?void 0:er(So,!1)}),null):[Ba-1,So]})}},[_r]),go}var We={},re="css",se=new Map;function J(Xt){se.set(Xt,(se.get(Xt)||0)+1)}function ce(Xt,Cn){if(typeof document!="undefined"){var jn=document.querySelectorAll("style[".concat(z,'="').concat(Xt,'"]'));jn.forEach(function(er){if(er[L]===Cn){var gr;(gr=er.parentNode)===null||gr===void 0||gr.removeChild(er)}})}}var xe=0;function ue(Xt,Cn){se.set(Xt,(se.get(Xt)||0)-1);var jn=Array.from(se.keys()),er=jn.filter(function(gr){var Wr=se.get(gr)||0;return Wr<=0});jn.length-er.length>xe&&er.forEach(function(gr){ce(gr,Cn),se.delete(gr)})}var Ne=function(Cn,jn,er,gr){var Wr=er.getDerivativeToken(Cn),ea=(0,t.Z)((0,t.Z)({},Wr),jn);return gr&&(ea=gr(ea)),ea};function Oe(Xt,Cn){var jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},er=(0,n.useContext)(j),gr=er.cache.instanceId,Wr=jn.salt,ea=Wr===void 0?"":Wr,sr=jn.override,_r=sr===void 0?We:sr,fa=jn.formatToken,Oa=jn.getComputedToken,Aa=n.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,a.Z)(Cn)))},[Cn]),qr=n.useMemo(function(){return A(Aa)},[Aa]),go=n.useMemo(function(){return A(_r)},[_r]),xo=Me("token",[ea,Xt.id,qr,go],function(){var _a=Oa?Oa(Aa,_r,Xt):Ne(Aa,_r,Xt,fa),Mo=G(_a,ea);_a._tokenKey=Mo,J(Mo);var so="".concat(re,"-").concat(s(Mo));return _a._hashId=so,[_a,so]},function(_a){ue(_a[0]._tokenKey,gr)});return xo}var we=e(60698),Re={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},st=Re,tt="-ms-",Ye="-moz-",ke="-webkit-",Be="comm",it="rule",Ve="decl",It="@page",_t="@media",wt="@import",jt="@charset",Yt="@viewport",yt="@supports",ze="@document",nt="@namespace",Et="@keyframes",lt="@font-face",Gt="@counter-style",Rt="@font-feature-values",Ot="@layer",Ie=Math.abs,Se=String.fromCharCode,bt=Object.assign;function Pt(Xt,Cn){return qt(Xt,0)^45?(((Cn<<2^qt(Xt,0))<<2^qt(Xt,1))<<2^qt(Xt,2))<<2^qt(Xt,3):0}function He(Xt){return Xt.trim()}function qe(Xt,Cn){return(Xt=Cn.exec(Xt))?Xt[0]:Xt}function Zt(Xt,Cn,jn){return Xt.replace(Cn,jn)}function Ut(Xt,Cn){return Xt.indexOf(Cn)}function qt(Xt,Cn){return Xt.charCodeAt(Cn)|0}function ln(Xt,Cn,jn){return Xt.slice(Cn,jn)}function En(Xt){return Xt.length}function mn(Xt){return Xt.length}function Yn(Xt,Cn){return Cn.push(Xt),Xt}function Gn(Xt,Cn){return Xt.map(Cn).join("")}function ir(Xt,Cn){return Xt.filter(function(jn){return!qe(jn,Cn)})}function mr(Xt,Cn){for(var jn="",er=0;er0?qt(mt,--In):0,rn--,on===10&&(rn=1,en--),on}function vn(){return on=In2||ct(on)>3?"":" "}function An(Xt){for(;vn();)switch(ct(on)){case 0:append(Fn(In-1),Xt);break;case 2:append(kt(on),Xt);break;default:append(from(on),Xt)}return Xt}function zn(Xt,Cn){for(;--Cn&&vn()&&!(on<48||on>102||on>57&&on<65||on>70&&on<97););return ut(Xt,tr()+(Cn<6&&Wn()==32&&vn()==32))}function Er(Xt){for(;vn();)switch(on){case Xt:return In;case 34:case 39:Xt!==34&&Xt!==39&&Er(on);break;case 40:Xt===41&&Er(Xt);break;case 92:vn();break}return In}function nr(Xt,Cn){for(;vn()&&Xt+on!==57;)if(Xt+on===84&&Wn()===47)break;return"/*"+ut(Cn,In-1)+"*"+Se(Xt===47?Xt:vn())}function Fn(Xt){for(;!ct(Wn());)vn();return ut(Xt,In)}function kr(Xt){return xt(hr("",null,null,null,[""],Xt=At(Xt),0,[0],Xt))}function hr(Xt,Cn,jn,er,gr,Wr,ea,sr,_r){for(var fa=0,Oa=0,Aa=ea,qr=0,go=0,xo=0,_a=1,Mo=1,so=1,Ca=0,Ba="",So=gr,Xo=Wr,ei=er,ao=Ba;Mo;)switch(xo=Ca,Ca=vn()){case 40:if(xo!=108&&qt(ao,Aa-1)==58){Ut(ao+=Zt(kt(Ca),"&","&\f"),"&\f")!=-1&&(so=-1);break}case 34:case 39:case 91:ao+=kt(Ca);break;case 9:case 10:case 13:case 32:ao+=nn(xo);break;case 92:ao+=zn(tr()-1,7);continue;case 47:switch(Wn()){case 42:case 47:Yn(zr(nr(vn(),tr()),Cn,jn,_r),_r);break;default:ao+="/"}break;case 123*_a:sr[fa++]=En(ao)*so;case 125*_a:case 59:case 0:switch(Ca){case 0:case 125:Mo=0;case 59+Oa:so==-1&&(ao=Zt(ao,/\f/g,"")),go>0&&En(ao)-Aa&&Yn(go>32?Zn(ao+";",er,jn,Aa-1,_r):Zn(Zt(ao," ","")+";",er,jn,Aa-2,_r),_r);break;case 59:ao+=";";default:if(Yn(ei=la(ao,Cn,jn,fa,Oa,gr,sr,Ba,So=[],Xo=[],Aa,Wr),Wr),Ca===123)if(Oa===0)hr(ao,Cn,ei,ei,So,Wr,Aa,sr,Xo);else switch(qr===99&&qt(ao,3)===110?100:qr){case 100:case 108:case 109:case 115:hr(Xt,ei,ei,er&&Yn(la(Xt,ei,ei,0,0,gr,sr,Ba,gr,So=[],Aa,Xo),Xo),gr,Xo,Aa,sr,er?So:Xo);break;default:hr(ao,ei,ei,ei,[""],Xo,0,sr,Xo)}}fa=Oa=go=0,_a=so=1,Ba=ao="",Aa=ea;break;case 58:Aa=1+En(ao),go=xo;default:if(_a<1){if(Ca==123)--_a;else if(Ca==125&&_a++==0&&yn()==125)continue}switch(ao+=Se(Ca),Ca*_a){case 38:so=Oa>0?1:(ao+="\f",-1);break;case 44:sr[fa++]=(En(ao)-1)*so,so=1;break;case 64:Wn()===45&&(ao+=kt(vn())),qr=Wn(),Oa=Aa=En(Ba=ao+=Fn(tr())),Ca++;break;case 45:xo===45&&En(ao)==2&&(_a=0)}}return Wr}function la(Xt,Cn,jn,er,gr,Wr,ea,sr,_r,fa,Oa,Aa){for(var qr=gr-1,go=gr===0?Wr:[""],xo=mn(go),_a=0,Mo=0,so=0;_a0?go[Ca]+" "+Ba:Zt(Ba,/&\f/g,go[Ca])))&&(_r[so++]=So);return gt(Xt,Cn,jn,gr===0?it:sr,_r,fa,Oa,Aa)}function zr(Xt,Cn,jn,er){return gt(Xt,Cn,jn,Be,Se(tn()),ln(Xt,2,-2),0,er)}function Zn(Xt,Cn,jn,er,gr){return gt(Xt,Cn,jn,Ve,ln(Xt,0,er),ln(Xt,er+1,-1),er,gr)}function On(Xt,Cn){var jn=Cn.path,er=Cn.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(jn?"Error in ".concat(jn,": "):"").concat(Xt).concat(er.length?" Selector: ".concat(er.join(" | ")):""))}var Tn=function(Cn,jn,er){if(Cn==="content"){var gr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Wr=["normal","none","initial","inherit","unset"];(typeof jn!="string"||Wr.indexOf(jn)===-1&&!gr.test(jn)&&(jn.charAt(0)!==jn.charAt(jn.length-1)||jn.charAt(0)!=='"'&&jn.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(jn,"\"'`."),er)}},ar=null,br=function(Cn,jn,er){Cn==="animation"&&er.hashId&&jn!=="none"&&lintWarning("You seem to be using hashed animation '".concat(jn,"', in which case 'animationName' with Keyframe as value is recommended."),er)},Kr=null;function ra(Xt){var Cn,jn=((Cn=Xt.match(/:not\(([^)]*)\)/))===null||Cn===void 0?void 0:Cn[1])||"",er=jn.split(/(\[[^[]*])|(?=[.#])/).filter(function(gr){return gr});return er.length>1}function pa(Xt){return Xt.parentSelectors.reduce(function(Cn,jn){return Cn?jn.includes("&")?jn.replace(/&/g,Cn):"".concat(Cn," ").concat(jn):jn},"")}var fr=function(Cn,jn,er){var gr=pa(er),Wr=gr.match(/:not\([^)]*\)/g)||[];Wr.length>0&&Wr.some(ra)&&lintWarning("Concat ':not' selector not support in legacy browsers.",er)},Ur=null,Ea=function(Cn,jn,er){switch(Cn){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(Cn,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),er);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof jn=="string"){var gr=jn.split(" ").map(function(sr){return sr.trim()});gr.length===4&&gr[1]!==gr[3]&&lintWarning("You seem to be using '".concat(Cn,"' property with different left ").concat(Cn," and right ").concat(Cn,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),er)}return;case"clear":case"textAlign":(jn==="left"||jn==="right")&&lintWarning("You seem to be using non-logical value '".concat(jn,"' of ").concat(Cn,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),er);return;case"borderRadius":if(typeof jn=="string"){var Wr=jn.split("/").map(function(sr){return sr.trim()}),ea=Wr.reduce(function(sr,_r){if(sr)return sr;var fa=_r.split(" ").map(function(Oa){return Oa.trim()});return fa.length>=2&&fa[0]!==fa[1]||fa.length===3&&fa[1]!==fa[2]||fa.length===4&&fa[2]!==fa[3]?!0:sr},!1);ea&&lintWarning("You seem to be using non-logical value '".concat(jn,"' of ").concat(Cn,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),er)}return;default:}},ha=null,Hn=function(Cn,jn,er){er.parentSelectors.some(function(gr){var Wr=gr.split(",");return Wr.some(function(ea){return ea.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",er)},Bn=null,yr="data-ant-cssinjs-cache-path",Xr="_FILE_STYLE__";function Dr(Xt){return Object.keys(Xt).map(function(Cn){var jn=Xt[Cn];return"".concat(Cn,":").concat(jn)}).join(";")}var Tt,an=!0;function bn(Xt){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Tt=Xt,an=Cn}function Xa(){if(!Tt&&(Tt={},(0,k.Z)())){var Xt=document.createElement("div");Xt.className=yr,Xt.style.position="fixed",Xt.style.visibility="hidden",Xt.style.top="-9999px",document.body.appendChild(Xt);var Cn=getComputedStyle(Xt).content||"";Cn=Cn.replace(/^"/,"").replace(/"$/,""),Cn.split(";").forEach(function(gr){var Wr=gr.split(":"),ea=(0,Y.Z)(Wr,2),sr=ea[0],_r=ea[1];Tt[sr]=_r});var jn=document.querySelector("style[".concat(yr,"]"));if(jn){var er;an=!1,(er=jn.parentNode)===null||er===void 0||er.removeChild(jn)}document.body.removeChild(Xt)}}function ho(Xt){return Xa(),!!Tt[Xt]}function $a(Xt){var Cn=Tt[Xt],jn=null;if(Cn&&(0,k.Z)())if(an)jn=Xr;else{var er=document.querySelector("style[".concat($,'="').concat(Tt[Xt],'"]'));er?jn=er.innerHTML:delete Tt[Xt]}return[jn,Cn]}var Ua=(0,k.Z)(),Ka="_skip_check_",wo="_multi_value_";function No(Xt){var Cn=mr(kr(Xt),Ft);return Cn.replace(/\{%%%\:[^;];}/g,";")}function yo(Xt){return(0,K.Z)(Xt)==="object"&&Xt&&(Ka in Xt||wo in Xt)}function dt(Xt,Cn,jn){if(!Cn)return Xt;var er=".".concat(Cn),gr=jn==="low"?":where(".concat(er,")"):er,Wr=Xt.split(",").map(function(ea){var sr,_r=ea.trim().split(/\s+/),fa=_r[0]||"",Oa=((sr=fa.match(/^\w+/))===null||sr===void 0?void 0:sr[0])||"";return fa="".concat(Oa).concat(gr).concat(fa.slice(Oa.length)),[fa].concat((0,a.Z)(_r.slice(1))).join(" ")});return Wr.join(",")}var zt=function Xt(Cn){var jn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},er=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},gr=er.root,Wr=er.injectHash,ea=er.parentSelectors,sr=jn.hashId,_r=jn.layer,fa=jn.path,Oa=jn.hashPriority,Aa=jn.transformers,qr=Aa===void 0?[]:Aa,go=jn.linters,xo=go===void 0?[]:go,_a="",Mo={};function so(ei){var ao=ei.getName(sr);if(!Mo[ao]){var hi=Xt(ei.style,jn,{root:!1,parentSelectors:ea}),wi=(0,Y.Z)(hi,1),Go=wi[0];Mo[ao]="@keyframes ".concat(ei.getName(sr)).concat(Go)}}function Ca(ei){var ao=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ei.forEach(function(hi){Array.isArray(hi)?Ca(hi,ao):hi&&ao.push(hi)}),ao}var Ba=Ca(Array.isArray(Cn)?Cn:[Cn]);if(Ba.forEach(function(ei){var ao=typeof ei=="string"&&!gr?{}:ei;if(typeof ao=="string")_a+="".concat(ao,` -`);else if(ao._keyframe)so(ao);else{var hi=qr.reduce(function(wi,Go){var $o;return(Go==null||($o=Go.visit)===null||$o===void 0?void 0:$o.call(Go,wi))||wi},ao);Object.keys(hi).forEach(function(wi){var Go=hi[wi];if((0,K.Z)(Go)==="object"&&Go&&(wi!=="animationName"||!Go._keyframe)&&!yo(Go)){var $o=!1,si=wi.trim(),ai=!1;(gr||Wr)&&sr?si.startsWith("@")?$o=!0:si=dt(wi,sr,Oa):gr&&!sr&&(si==="&"||si==="")&&(si="",ai=!0);var Si=Xt(Go,jn,{root:ai,injectHash:$o,parentSelectors:[].concat((0,a.Z)(ea),[si])}),Pi=(0,Y.Z)(Si,2),Ei=Pi[0],to=Pi[1];Mo=(0,t.Z)((0,t.Z)({},Mo),to),_a+="".concat(si).concat(Ei)}else{let ti=function(Io,Ro){var Ci=Io.replace(/[A-Z]/g,function(Ui){return"-".concat(Ui.toLowerCase())}),Ti=Ro;!st[Io]&&typeof Ti=="number"&&Ti!==0&&(Ti="".concat(Ti,"px")),Io==="animationName"&&Ro!==null&&Ro!==void 0&&Ro._keyframe&&(so(Ro),Ti=Ro.getName(sr)),_a+="".concat(Ci,":").concat(Ti,";")};var Ga,Jo=(Ga=Go==null?void 0:Go.value)!==null&&Ga!==void 0?Ga:Go;(0,K.Z)(Go)==="object"&&Go!==null&&Go!==void 0&&Go[wo]&&Array.isArray(Jo)?Jo.forEach(function(Io){ti(wi,Io)}):ti(wi,Jo)}})}}),!gr)_a="{".concat(_a,"}");else if(_r&&Te()){var So=_r.split(","),Xo=So[So.length-1].trim();_a="@layer ".concat(Xo," {").concat(_a,"}"),So.length>1&&(_a="@layer ".concat(_r,"{%%%:%}").concat(_a))}return[_a,Mo]};function Ae(Xt,Cn){return s("".concat(Xt.join("%")).concat(Cn))}function dn(){return null}function Dn(Xt,Cn){var jn=Xt.token,er=Xt.path,gr=Xt.hashId,Wr=Xt.layer,ea=Xt.nonce,sr=Xt.clientOnly,_r=Xt.order,fa=_r===void 0?0:_r,Oa=n.useContext(j),Aa=Oa.autoClear,qr=Oa.mock,go=Oa.defaultCache,xo=Oa.hashPriority,_a=Oa.container,Mo=Oa.ssrInline,so=Oa.transformers,Ca=Oa.linters,Ba=Oa.cache,So=jn._tokenKey,Xo=[So].concat((0,a.Z)(er)),ei=Ua,ao=Me("style",Xo,function(){var si=Xo.join("|");if(ho(si)){var ai=$a(si),Si=(0,Y.Z)(ai,2),Pi=Si[0],Ei=Si[1];if(Pi)return[Pi,So,Ei,{},sr,fa]}var to=Cn(),Ga=zt(to,{hashId:gr,hashPriority:xo,layer:Wr,path:er.join("-"),transformers:so,linters:Ca}),Jo=(0,Y.Z)(Ga,2),ti=Jo[0],Io=Jo[1],Ro=No(ti),Ci=Ae(Xo,Ro);return[Ro,So,Ci,Io,sr,fa]},function(si,ai){var Si=(0,Y.Z)(si,3),Pi=Si[2];(ai||Aa)&&Ua&&(0,te.jL)(Pi,{mark:$})},function(si){var ai=(0,Y.Z)(si,4),Si=ai[0],Pi=ai[1],Ei=ai[2],to=ai[3];if(ei&&Si!==Xr){var Ga={mark:$,prepend:"queue",attachTo:_a,priority:fa},Jo=typeof ea=="function"?ea():ea;Jo&&(Ga.csp={nonce:Jo});var ti=(0,te.hq)(Si,Ei,Ga);ti[L]=Ba.instanceId,ti.setAttribute(z,So),Object.keys(to).forEach(function(Io){(0,te.hq)(No(to[Io]),"_effect-".concat(Io),Ga)})}}),hi=(0,Y.Z)(ao,3),wi=hi[0],Go=hi[1],$o=hi[2];return function(si){var ai;if(!Mo||ei||!go)ai=n.createElement(dn,null);else{var Si;ai=n.createElement("style",(0,we.Z)({},(Si={},(0,M.Z)(Si,z,Go),(0,M.Z)(Si,$,$o),Si),{dangerouslySetInnerHTML:{__html:wi}}))}return n.createElement(n.Fragment,null,ai,si)}}function Mn(Xt){var Cn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,jn="style%",er=Array.from(Xt.cache.keys()).filter(function(fa){return fa.startsWith(jn)}),gr={},Wr={},ea="";function sr(fa,Oa,Aa){var qr,go=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},xo=_objectSpread(_objectSpread({},go),{},(qr={},_defineProperty(qr,ATTR_TOKEN,Oa),_defineProperty(qr,ATTR_MARK,Aa),qr)),_a=Object.keys(xo).map(function(Mo){var so=xo[Mo];return so?"".concat(Mo,'="').concat(so,'"'):null}).filter(function(Mo){return Mo}).join(" ");return Cn?fa:"")}var _r=er.map(function(fa){var Oa=fa.slice(jn.length).replace(/%/g,"|"),Aa=_slicedToArray(Xt.cache.get(fa)[1],6),qr=Aa[0],go=Aa[1],xo=Aa[2],_a=Aa[3],Mo=Aa[4],so=Aa[5];if(Mo)return null;var Ca={"data-rc-order":"prependQueue","data-rc-priority":"".concat(so)},Ba=sr(qr,go,xo,Ca);Wr[Oa]=xo,_a&&Object.keys(_a).forEach(function(Xo){gr[Xo]||(gr[Xo]=!0,Ba+=sr(No(_a[Xo]),go,"_effect-".concat(Xo),Ca))});var So=[so,Ba];return So}).filter(function(fa){return fa});return _r.sort(function(fa,Oa){return fa[0]-Oa[0]}).forEach(function(fa){var Oa=_slicedToArray(fa,2),Aa=Oa[1];ea+=Aa}),ea+=sr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Wr),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP)),ea}var qn=function(){function Xt(Cn,jn){(0,m.Z)(this,Xt),(0,M.Z)(this,"name",void 0),(0,M.Z)(this,"style",void 0),(0,M.Z)(this,"_keyframe",!0),this.name=Cn,this.style=jn}return(0,g.Z)(Xt,[{key:"getName",value:function(){var jn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return jn?"".concat(jn,"-").concat(this.name):this.name}}]),Xt}(),rr=qn;function Hr(Xt){if(typeof Xt=="number")return[[Xt],!1];var Cn=String(Xt).trim(),jn=Cn.match(/(.*)(!important)/),er=(jn?jn[1]:Cn).trim().split(/\s+/),gr="",Wr=0;return[er.reduce(function(ea,sr){return sr.includes("(")?(gr+=sr,Wr+=sr.split("(").length-1):sr.includes(")")?(gr+=sr,Wr-=sr.split(")").length-1,Wr===0&&(ea.push(gr),gr="")):Wr>0?gr+=sr:ea.push(sr),ea},[]),!!jn]}function Da(Xt){return Xt.notSplit=!0,Xt}var ia={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Da(["borderTop","borderBottom"]),borderBlockStart:Da(["borderTop"]),borderBlockEnd:Da(["borderBottom"]),borderInline:Da(["borderLeft","borderRight"]),borderInlineStart:Da(["borderLeft"]),borderInlineEnd:Da(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Jr(Xt,Cn){var jn=Xt;return Cn&&(jn="".concat(jn," !important")),{_skip_check_:!0,value:jn}}var aa={visit:function(Cn){var jn={};return Object.keys(Cn).forEach(function(er){var gr=Cn[er],Wr=ia[er];if(Wr&&(typeof gr=="number"||typeof gr=="string")){var ea=Hr(gr),sr=(0,Y.Z)(ea,2),_r=sr[0],fa=sr[1];Wr.length&&Wr.notSplit?Wr.forEach(function(Oa){jn[Oa]=Jr(gr,fa)}):Wr.length===1?jn[Wr[0]]=Jr(gr,fa):Wr.length===2?Wr.forEach(function(Oa,Aa){var qr;jn[Oa]=Jr((qr=_r[Aa])!==null&&qr!==void 0?qr:_r[0],fa)}):Wr.length===4?Wr.forEach(function(Oa,Aa){var qr,go;jn[Oa]=Jr((qr=(go=_r[Aa])!==null&&go!==void 0?go:_r[Aa-2])!==null&&qr!==void 0?qr:_r[0],fa)}):jn[er]=gr}else jn[er]=gr}),jn}},Pr=null,Zr=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function va(Xt,Cn){var jn=Math.pow(10,Cn+1),er=Math.floor(Xt*jn);return Math.round(er/10)*10/jn}var Na=function(){var Cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},jn=Cn.rootValue,er=jn===void 0?16:jn,gr=Cn.precision,Wr=gr===void 0?5:gr,ea=Cn.mediaQuery,sr=ea===void 0?!1:ea,_r=function(Aa,qr){if(!qr)return Aa;var go=parseFloat(qr);if(go<=1)return Aa;var xo=va(go/er,Wr);return"".concat(xo,"rem")},fa=function(Aa){var qr=_objectSpread({},Aa);return Object.entries(Aa).forEach(function(go){var xo=_slicedToArray(go,2),_a=xo[0],Mo=xo[1];if(typeof Mo=="string"&&Mo.includes("px")){var so=Mo.replace(Zr,_r);qr[_a]=so}!unitless[_a]&&typeof Mo=="number"&&Mo!==0&&(qr[_a]="".concat(Mo,"px").replace(Zr,_r));var Ca=_a.trim();if(Ca.startsWith("@")&&Ca.includes("px")&&sr){var Ba=_a.replace(Zr,_r);qr[Ba]=qr[_a],delete qr[_a]}}),qr};return{visit:fa}},eo=null,Va={supportModernCSS:function(){return Je()&&pt()}}},17202:function(b,y,e){"use strict";e.d(y,{Z:function(){return T}});var a=e(60698),t=e(28314),o=e(37734),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(26134),m=e(71048),g=e(57370),M=e(17332),h=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function w(j){var K=j.primaryColor,k=j.secondaryColor;S.primaryColor=K,S.secondaryColor=k||(0,M.pw)(K),S.calculated=!!k}function C(){return(0,g.Z)({},S)}var z=function(K){var k=K.icon,te=K.className,Y=K.onClick,q=K.style,le=K.primaryColor,X=K.secondaryColor,W=(0,s.Z)(K,h),x=n.useRef(),O=S;if(le&&(O={primaryColor:le,secondaryColor:X||(0,M.pw)(le)}),(0,M.C3)(x),(0,M.Kp)((0,M.r)(k),"icon should be icon definiton, but got ".concat(k)),!(0,M.r)(k))return null;var _=k;return _&&typeof _.icon=="function"&&(_=(0,g.Z)((0,g.Z)({},_),{},{icon:_.icon(O.primaryColor,O.secondaryColor)})),(0,M.R_)(_.icon,"svg-".concat(_.name),(0,g.Z)((0,g.Z)({className:te,onClick:Y,style:q,"data-icon":_.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},W),{},{ref:x}))};z.displayName="IconReact",z.getTwoToneColors=C,z.setTwoToneColors=w;var $=z;function N(j){var K=(0,M.H9)(j),k=(0,t.Z)(K,2),te=k[0],Y=k[1];return $.setTwoToneColors({primaryColor:te,secondaryColor:Y})}function L(){var j=$.getTwoToneColors();return j.calculated?[j.primaryColor,j.secondaryColor]:j.primaryColor}var B=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];N(c.blue.primary);var D=n.forwardRef(function(j,K){var k,te=j.className,Y=j.icon,q=j.spin,le=j.rotate,X=j.tabIndex,W=j.onClick,x=j.twoToneColor,O=(0,s.Z)(j,B),_=n.useContext(m.Z),U=_.prefixCls,A=U===void 0?"anticon":U,G=_.rootClassName,de=l()(G,A,(k={},(0,o.Z)(k,"".concat(A,"-").concat(Y.name),!!Y.name),(0,o.Z)(k,"".concat(A,"-spin"),!!q||Y.name==="loading"),k),te),he=X;he===void 0&&W&&(he=-1);var ge=le?{msTransform:"rotate(".concat(le,"deg)"),transform:"rotate(".concat(le,"deg)")}:void 0,be=(0,M.H9)(x),Te=(0,t.Z)(be,2),Ge=Te[0],Je=Te[1];return n.createElement("span",(0,a.Z)({role:"img","aria-label":Y.name},O,{ref:K,tabIndex:he,onClick:W,className:de}),n.createElement($,{icon:Y,primaryColor:Ge,secondaryColor:Je,style:ge}))});D.displayName="AntdIcon",D.getTwoToneColor=L,D.setTwoToneColor=N;var T=D},71048:function(b,y,e){"use strict";var a=e(58757),t=(0,a.createContext)({});y.Z=t},39875:function(b,y,e){"use strict";var a=e(60698),t=e(57370),o=e(37734),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(21319),m=e(71048),g=e(17332),M=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],h=n.forwardRef(function(S,w){var C=S.className,z=S.component,$=S.viewBox,N=S.spin,L=S.rotate,B=S.tabIndex,D=S.onClick,T=S.children,j=(0,s.Z)(S,M),K=n.useRef(),k=(0,c.x1)(K,w);(0,g.Kp)(!!(z||T),"Should have `component` prop or `children`."),(0,g.C3)(K);var te=n.useContext(m.Z),Y=te.prefixCls,q=Y===void 0?"anticon":Y,le=te.rootClassName,X=l()(le,q,C),W=l()((0,o.Z)({},"".concat(q,"-spin"),!!N)),x=L?{msTransform:"rotate(".concat(L,"deg)"),transform:"rotate(".concat(L,"deg)")}:void 0,O=(0,t.Z)((0,t.Z)({},g.vD),{},{className:W,style:x,viewBox:$});$||delete O.viewBox;var _=function(){return z?n.createElement(z,O,T):T?((0,g.Kp)(!!$||n.Children.count(T)===1&&n.isValidElement(T)&&n.Children.only(T).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),n.createElement("svg",(0,a.Z)({},O,{viewBox:$}),T)):null},U=B;return U===void 0&&D&&(U=-1),n.createElement("span",(0,a.Z)({role:"img"},j,{ref:k,tabIndex:U,onClick:D,className:X}),_())});h.displayName="AntdIcon",y.Z=h},92183:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},85678:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},35725:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},79999:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},52495:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},23605:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},10130:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},18974:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},69831:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},83720:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},56019:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},33064:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},99142:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},25755:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},12673:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},22283:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},91169:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},99534:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},39800:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},23926:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},98030:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},2528:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},17332:function(b,y,e){"use strict";e.d(y,{C3:function(){return L},H9:function(){return z},Kp:function(){return M},R_:function(){return w},pw:function(){return C},r:function(){return h},vD:function(){return $}});var a=e(57370),t=e(38790),o=e(26134),s=e(61012),n=e.n(s),d=e(39678),l=e(4171),c=e(75556),m=e(58757),g=e(71048);function M(B,D){(0,c.ZP)(B,"[@ant-design/icons] ".concat(D))}function h(B){return(0,t.Z)(B)==="object"&&typeof B.name=="string"&&typeof B.theme=="string"&&((0,t.Z)(B.icon)==="object"||typeof B.icon=="function")}function S(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(B).reduce(function(D,T){var j=B[T];switch(T){case"class":D.className=j,delete D.class;break;default:delete D[T],D[n()(T)]=j}return D},{})}function w(B,D,T){return T?m.createElement(B.tag,(0,a.Z)((0,a.Z)({key:D},S(B.attrs)),T),(B.children||[]).map(function(j,K){return w(j,"".concat(D,"-").concat(B.tag,"-").concat(K))})):m.createElement(B.tag,(0,a.Z)({key:D},S(B.attrs)),(B.children||[]).map(function(j,K){return w(j,"".concat(D,"-").concat(B.tag,"-").concat(K))}))}function C(B){return(0,o.generate)(B)[0]}function z(B){return B?Array.isArray(B)?B:[B]:[]}var $={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},N=` +!(function(){var mg=Object.defineProperty,pg=Object.defineProperties;var hg=Object.getOwnPropertyDescriptors;var Hf=Object.getOwnPropertySymbols;var yg=Object.prototype.hasOwnProperty,bg=Object.prototype.propertyIsEnumerable;var _f=(xu,Yl,Tt)=>Yl in xu?mg(xu,Yl,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):xu[Yl]=Tt,Wa=(xu,Yl)=>{for(var Tt in Yl||(Yl={}))yg.call(Yl,Tt)&&_f(xu,Tt,Yl[Tt]);if(Hf)for(var Tt of Hf(Yl))bg.call(Yl,Tt)&&_f(xu,Tt,Yl[Tt]);return xu},Vs=(xu,Yl)=>pg(xu,hg(Yl));var xf=(xu,Yl,Tt)=>new Promise((If,b)=>{var y=t=>{try{a(Tt.next(t))}catch(o){b(o)}},e=t=>{try{a(Tt.throw(t))}catch(o){b(o)}},a=t=>t.done?If(t.value):Promise.resolve(t.value).then(y,e);a((Tt=Tt.apply(xu,Yl)).next())});(function(){var xu={26134:function(b,y,e){"use strict";e.r(y),e.d(y,{blue:function(){return le},cyan:function(){return q},geekblue:function(){return X},generate:function(){return Z},gold:function(){return j},gray:function(){return _},green:function(){return V},grey:function(){return O},lime:function(){return te},magenta:function(){return x},orange:function(){return K},presetDarkPalettes:function(){return $},presetPalettes:function(){return L},presetPrimaryColors:function(){return N},purple:function(){return W},red:function(){return D},volcano:function(){return T},yellow:function(){return k}});var a=e(20117),t=e(76981),o=2,s=.16,n=.05,d=.05,l=.15,c=5,m=4,g=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function M(U){var A=U.r,G=U.g,fe=U.b,pe=(0,a.py)(A,G,fe);return{h:pe.h*360,s:pe.s,v:pe.v}}function h(U){var A=U.r,G=U.g,fe=U.b;return"#".concat((0,a.vq)(A,G,fe,!1))}function S(U,A,G){var fe=G/100,pe={r:(A.r-U.r)*fe+U.r,g:(A.g-U.g)*fe+U.g,b:(A.b-U.b)*fe+U.b};return pe}function w(U,A,G){var fe;return Math.round(U.h)>=60&&Math.round(U.h)<=240?fe=G?Math.round(U.h)-o*A:Math.round(U.h)+o*A:fe=G?Math.round(U.h)+o*A:Math.round(U.h)-o*A,fe<0?fe+=360:fe>=360&&(fe-=360),fe}function C(U,A,G){if(U.h===0&&U.s===0)return U.s;var fe;return G?fe=U.s-s*A:A===m?fe=U.s+s:fe=U.s+n*A,fe>1&&(fe=1),G&&A===c&&fe>.1&&(fe=.1),fe<.06&&(fe=.06),Number(fe.toFixed(2))}function F(U,A,G){var fe;return G?fe=U.v+d*A:fe=U.v-l*A,fe>1&&(fe=1),Number(fe.toFixed(2))}function Z(U){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=[],fe=(0,t.uA)(U),pe=c;pe>0;pe-=1){var ge=M(fe),be=h((0,t.uA)({h:w(ge,pe,!0),s:C(ge,pe,!0),v:F(ge,pe,!0)}));G.push(be)}G.push(h(fe));for(var Te=1;Te<=m;Te+=1){var Ge=M(fe),Je=h((0,t.uA)({h:w(Ge,Te),s:C(Ge,Te),v:F(Ge,Te)}));G.push(Je)}return A.theme==="dark"?g.map(function(Qe){var pt=Qe.index,Et=Qe.opacity,ft=h(S((0,t.uA)(A.backgroundColor||"#141414"),(0,t.uA)(G[pt]),Et*100));return ft}):G}var N={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},L={},$={};Object.keys(N).forEach(function(U){L[U]=Z(N[U]),L[U].primary=L[U][5],$[U]=Z(N[U],{theme:"dark",backgroundColor:"#141414"}),$[U].primary=$[U][5]});var D=L.red,T=L.volcano,j=L.gold,K=L.orange,k=L.yellow,te=L.lime,V=L.green,q=L.cyan,le=L.blue,X=L.geekblue,W=L.purple,x=L.magenta,O=L.grey,_=L.grey},57793:function(b,y,e){"use strict";e.d(y,{E4:function(){return ir},jG:function(){return _},t2:function(){return Le},fp:function(){return Oe},xy:function(){return Pn}});var a=e(29140),t=e(57370);function o(Xt){for(var In=0,Tn,tr=0,yr=Xt.length;yr>=4;++tr,yr-=4)Tn=Xt.charCodeAt(tr)&255|(Xt.charCodeAt(++tr)&255)<<8|(Xt.charCodeAt(++tr)&255)<<16|(Xt.charCodeAt(++tr)&255)<<24,Tn=(Tn&65535)*1540483477+((Tn>>>16)*59797<<16),Tn^=Tn>>>24,In=(Tn&65535)*1540483477+((Tn>>>16)*59797<<16)^(In&65535)*1540483477+((In>>>16)*59797<<16);switch(yr){case 3:In^=(Xt.charCodeAt(tr+2)&255)<<16;case 2:In^=(Xt.charCodeAt(tr+1)&255)<<8;case 1:In^=Xt.charCodeAt(tr)&255,In=(In&65535)*1540483477+((In>>>16)*59797<<16)}return In^=In>>>13,In=(In&65535)*1540483477+((In>>>16)*59797<<16),((In^In>>>15)>>>0).toString(36)}var s=o,n=e(58757),d=e.t(n,2),l=e(27903),c=e(7637),m=e(60412),g=e(14346),M=e(37734),h="%",S=function(){function Xt(In){(0,m.Z)(this,Xt),(0,M.Z)(this,"instanceId",void 0),(0,M.Z)(this,"cache",new Map),this.instanceId=In}return(0,g.Z)(Xt,[{key:"get",value:function(Tn){return this.cache.get(Tn.join(h))||null}},{key:"update",value:function(Tn,tr){var yr=Tn.join(h),Wr=this.cache.get(yr),ea=tr(Wr);ea===null?this.cache.delete(yr):this.cache.set(yr,ea)}}]),Xt}(),w=S,C=null,F="data-token-hash",Z="data-css-hash",N="data-cache-path",L="__cssinjs_instance__";function $(){var Xt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var In=document.body.querySelectorAll("style[".concat(Z,"]"))||[],Tn=document.head.firstChild;Array.from(In).forEach(function(yr){yr[L]=yr[L]||Xt,yr[L]===Xt&&document.head.insertBefore(yr,Tn)});var tr={};Array.from(document.querySelectorAll("style[".concat(Z,"]"))).forEach(function(yr){var Wr=yr.getAttribute(Z);if(tr[Wr]){if(yr[L]===Xt){var ea;(ea=yr.parentNode)===null||ea===void 0||ea.removeChild(yr)}}else tr[Wr]=!0})}return new w(Xt)}var D=n.createContext({hashPriority:"low",cache:$(),defaultCache:!0}),T=function(In){var Tn=In.children,tr=_objectWithoutProperties(In,C),yr=React.useContext(D),Wr=useMemo(function(){var ea=_objectSpread({},yr);Object.keys(tr).forEach(function(_r){var la=tr[_r];tr[_r]!==void 0&&(ea[_r]=la)});var dr=tr.cache;return ea.cache=ea.cache||$(),ea.defaultCache=!dr&&yr.defaultCache,ea},[yr,tr],function(ea,dr){return!isEqual(ea[0],dr[0],!0)||!isEqual(ea[1],dr[1],!0)});return React.createElement(D.Provider,{value:Wr},Tn)},j=D,K=e(38790),k=e(19075),te=e(39678),V=e(28314);function q(Xt,In){if(Xt.length!==In.length)return!1;for(var Tn=0;Tn1&&arguments[1]!==void 0?arguments[1]:!1,ea={map:this.cache};return Tn.forEach(function(dr){if(!ea)ea=void 0;else{var _r,la;ea=(_r=ea)===null||_r===void 0||(la=_r.map)===null||la===void 0?void 0:la.get(dr)}}),(tr=ea)!==null&&tr!==void 0&&tr.value&&Wr&&(ea.value[1]=this.cacheCallTimes++),(yr=ea)===null||yr===void 0?void 0:yr.value}},{key:"get",value:function(Tn){var tr;return(tr=this.internalGet(Tn,!0))===null||tr===void 0?void 0:tr[0]}},{key:"has",value:function(Tn){return!!this.internalGet(Tn)}},{key:"set",value:function(Tn,tr){var yr=this;if(!this.has(Tn)){if(this.size()+1>Xt.MAX_CACHE_SIZE+Xt.MAX_CACHE_OFFSET){var Wr=this.keys.reduce(function(la,Ia){var Ca=(0,V.Z)(la,2),qr=Ca[1];return yr.internalGet(Ia)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),W+=1}return(0,g.Z)(Xt,[{key:"getDerivativeToken",value:function(Tn){return this.derivatives.reduce(function(tr,yr){return yr(Tn,tr)},void 0)}}]),Xt}(),O=new le;function _(Xt){var In=Array.isArray(Xt)?Xt:[Xt];return O.has(In)||O.set(In,new x(In)),O.get(In)}var U=new WeakMap;function A(Xt){var In=U.get(Xt)||"";return In||(Object.keys(Xt).forEach(function(Tn){var tr=Xt[Tn];In+=Tn,tr instanceof x?In+=tr.id:tr&&(0,K.Z)(tr)==="object"?In+=A(tr):In+=tr}),U.set(Xt,In)),In}function G(Xt,In){return s("".concat(In,"_").concat(A(Xt)))}var fe="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),pe="_bAmBoO_";function ge(Xt,In,Tn){if((0,k.Z)()){var tr,yr;(0,te.hq)(Xt,fe);var Wr=document.createElement("div");Wr.style.position="fixed",Wr.style.left="0",Wr.style.top="0",In==null||In(Wr),document.body.appendChild(Wr);var ea=Tn?Tn(Wr):(tr=getComputedStyle(Wr).content)===null||tr===void 0?void 0:tr.includes(pe);return(yr=Wr.parentNode)===null||yr===void 0||yr.removeChild(Wr),(0,te.jL)(fe),ea}return!1}var be=void 0;function Te(){return be===void 0&&(be=ge("@layer ".concat(fe," { .").concat(fe,' { content: "').concat(pe,'"!important; } }'),function(Xt){Xt.className=fe})),be}var Ge=void 0;function Je(){return Ge===void 0&&(Ge=ge(":where(.".concat(fe,') { content: "').concat(pe,'"!important; }'),function(Xt){Xt.className=fe})),Ge}var Qe=void 0;function pt(){return Qe===void 0&&(Qe=ge(".".concat(fe," { inset-block: 93px !important; }"),function(Xt){Xt.className=fe},function(Xt){return getComputedStyle(Xt).bottom==="93px"})),Qe}var Et=e(81334),ft=(0,t.Z)({},d),Wt=ft.useInsertionEffect,$e=function(In,Tn,tr){n.useMemo(In,tr),(0,Et.Z)(function(){return Tn(!0)},tr)},Xe=Wt?function(Xt,In,Tn){return Wt(function(){return Xt(),In()},Tn)}:$e,nt=Xe,Ke=(0,t.Z)({},d),ye=Ke.useInsertionEffect,ne=function(In){var Tn=[],tr=!1;function yr(Wr){tr||Tn.push(Wr)}return n.useEffect(function(){return tr=!1,function(){tr=!0,Tn.length&&Tn.forEach(function(Wr){return Wr()})}},In),yr},H=function(){return function(In){In()}},R=typeof ye!="undefined"?ne:H,P=R;function ae(){return!1}var Q=!1;function ie(){return Q}var me=ae;if(!1)var je,Ee;function Me(Xt,In,Tn,tr,yr){var Wr=n.useContext(j),ea=Wr.cache,dr=[Xt].concat((0,a.Z)(In)),_r=dr.join("_"),la=P([_r]),Ia=me(),Ca=function(_a){ea.update(dr,function(bo){var so=bo||[],Sa=(0,V.Z)(so,2),Ba=Sa[0],Mo=Ba===void 0?0:Ba,Ko=Sa[1],Jo=Ko,ao=Jo||Tn(),yi=[Mo,ao];return _a?_a(yi):yi})};n.useMemo(function(){Ca()},[_r]);var qr=ea.get(dr),fo=qr[1];return nt(function(){yr==null||yr(fo)},function(Co){return Ca(function(_a){var bo=(0,V.Z)(_a,2),so=bo[0],Sa=bo[1];return Co&&so===0&&(yr==null||yr(fo)),[so+1,Sa]}),function(){ea.update(dr,function(_a){var bo=_a||[],so=(0,V.Z)(bo,2),Sa=so[0],Ba=Sa===void 0?0:Sa,Mo=so[1],Ko=Ba-1;return Ko===0?(la(function(){return tr==null?void 0:tr(Mo,!1)}),null):[Ba-1,Mo]})}},[_r]),fo}var We={},re="css",se=new Map;function J(Xt){se.set(Xt,(se.get(Xt)||0)+1)}function de(Xt,In){if(typeof document!="undefined"){var Tn=document.querySelectorAll("style[".concat(F,'="').concat(Xt,'"]'));Tn.forEach(function(tr){if(tr[L]===In){var yr;(yr=tr.parentNode)===null||yr===void 0||yr.removeChild(tr)}})}}var xe=0;function ce(Xt,In){se.set(Xt,(se.get(Xt)||0)-1);var Tn=Array.from(se.keys()),tr=Tn.filter(function(yr){var Wr=se.get(yr)||0;return Wr<=0});Tn.length-tr.length>xe&&tr.forEach(function(yr){de(yr,In),se.delete(yr)})}var Le=function(In,Tn,tr,yr){var Wr=tr.getDerivativeToken(In),ea=(0,t.Z)((0,t.Z)({},Wr),Tn);return yr&&(ea=yr(ea)),ea};function Oe(Xt,In){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},tr=(0,n.useContext)(j),yr=tr.cache.instanceId,Wr=Tn.salt,ea=Wr===void 0?"":Wr,dr=Tn.override,_r=dr===void 0?We:dr,la=Tn.formatToken,Ia=Tn.getComputedToken,Ca=n.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,a.Z)(In)))},[In]),qr=n.useMemo(function(){return A(Ca)},[Ca]),fo=n.useMemo(function(){return A(_r)},[_r]),Co=Me("token",[ea,Xt.id,qr,fo],function(){var _a=Ia?Ia(Ca,_r,Xt):Le(Ca,_r,Xt,la),bo=G(_a,ea);_a._tokenKey=bo,J(bo);var so="".concat(re,"-").concat(s(bo));return _a._hashId=so,[_a,so]},function(_a){ce(_a[0]._tokenKey,yr)});return Co}var we=e(60698),Ne={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},st=Ne,et="-ms-",Ye="-moz-",ke="-webkit-",Be="comm",it="rule",Ve="decl",xt="@page",Ht="@media",Ot="@import",wt="@charset",_t="@viewport",yt="@supports",ze="@document",tt="@namespace",St="@keyframes",lt="@font-face",Gt="@counter-style",Nt="@font-feature-values",At="@layer",Ie=Math.abs,Se=String.fromCharCode,bt=Object.assign;function jt(Xt,In){return qt(Xt,0)^45?(((In<<2^qt(Xt,0))<<2^qt(Xt,1))<<2^qt(Xt,2))<<2^qt(Xt,3):0}function He(Xt){return Xt.trim()}function qe(Xt,In){return(Xt=In.exec(Xt))?Xt[0]:Xt}function $t(Xt,In,Tn){return Xt.replace(In,Tn)}function Zt(Xt,In){return Xt.indexOf(In)}function qt(Xt,In){return Xt.charCodeAt(In)|0}function un(Xt,In,Tn){return Xt.slice(In,Tn)}function xn(Xt){return Xt.length}function pn(Xt){return Xt.length}function Gn(Xt,In){return In.push(Xt),Xt}function Qn(Xt,In){return Xt.map(In).join("")}function ur(Xt,In){return Xt.filter(function(Tn){return!qe(Tn,In)})}function br(Xt,In){for(var Tn="",tr=0;tr0?qt(mt,--An):0,an--,sn===10&&(an=1,en--),sn}function gn(){return sn=An2||ct(sn)>3?"":" "}function Dn(Xt){for(;gn();)switch(ct(sn)){case 0:append($n(An-1),Xt);break;case 2:append(Ut(sn),Xt);break;default:append(from(sn),Xt)}return Xt}function Bn(Xt,In){for(;--In&&gn()&&!(sn<48||sn>102||sn>57&&sn<65||sn>70&&sn<97););return ut(Xt,nr()+(In<6&&_n()==32&&gn()==32))}function Cr(Xt){for(;gn();)switch(sn){case Xt:return An;case 34:case 39:Xt!==34&&Xt!==39&&Cr(sn);break;case 40:Xt===41&&Cr(Xt);break;case 92:gn();break}return An}function rr(Xt,In){for(;gn()&&Xt+sn!==57;)if(Xt+sn===84&&_n()===47)break;return"/*"+ut(In,An-1)+"*"+Se(Xt===47?Xt:gn())}function $n(Xt){for(;!ct(_n());)gn();return ut(Xt,An)}function kr(Xt){return Ct(Mr("",null,null,null,[""],Xt=It(Xt),0,[0],Xt))}function Mr(Xt,In,Tn,tr,yr,Wr,ea,dr,_r){for(var la=0,Ia=0,Ca=ea,qr=0,fo=0,Co=0,_a=1,bo=1,so=1,Sa=0,Ba="",Mo=yr,Ko=Wr,Jo=tr,ao=Ba;bo;)switch(Co=Sa,Sa=gn()){case 40:if(Co!=108&&qt(ao,Ca-1)==58){Zt(ao+=$t(Ut(Sa),"&","&\f"),"&\f")!=-1&&(so=-1);break}case 34:case 39:case 91:ao+=Ut(Sa);break;case 9:case 10:case 13:case 32:ao+=rn(Co);break;case 92:ao+=Bn(nr()-1,7);continue;case 47:switch(_n()){case 42:case 47:Gn(zr(rr(gn(),nr()),In,Tn,_r),_r);break;default:ao+="/"}break;case 123*_a:dr[la++]=xn(ao)*so;case 125*_a:case 59:case 0:switch(Sa){case 0:case 125:bo=0;case 59+Ia:so==-1&&(ao=$t(ao,/\f/g,"")),fo>0&&xn(ao)-Ca&&Gn(fo>32?Wn(ao+";",tr,Tn,Ca-1,_r):Wn($t(ao," ","")+";",tr,Tn,Ca-2,_r),_r);break;case 59:ao+=";";default:if(Gn(Jo=ia(ao,In,Tn,la,Ia,yr,dr,Ba,Mo=[],Ko=[],Ca,Wr),Wr),Sa===123)if(Ia===0)Mr(ao,In,Jo,Jo,Mo,Wr,Ca,dr,Ko);else switch(qr===99&&qt(ao,3)===110?100:qr){case 100:case 108:case 109:case 115:Mr(Xt,Jo,Jo,tr&&Gn(ia(Xt,Jo,Jo,0,0,yr,dr,Ba,yr,Mo=[],Ca,Ko),Ko),yr,Ko,Ca,dr,tr?Mo:Ko);break;default:Mr(ao,Jo,Jo,Jo,[""],Ko,0,dr,Ko)}}la=Ia=fo=0,_a=so=1,Ba=ao="",Ca=ea;break;case 58:Ca=1+xn(ao),fo=Co;default:if(_a<1){if(Sa==123)--_a;else if(Sa==125&&_a++==0&&yn()==125)continue}switch(ao+=Se(Sa),Sa*_a){case 38:so=Ia>0?1:(ao+="\f",-1);break;case 44:dr[la++]=(xn(ao)-1)*so,so=1;break;case 64:_n()===45&&(ao+=Ut(gn())),qr=_n(),Ia=Ca=xn(Ba=ao+=$n(nr())),Sa++;break;case 45:Co===45&&xn(ao)==2&&(_a=0)}}return Wr}function ia(Xt,In,Tn,tr,yr,Wr,ea,dr,_r,la,Ia,Ca){for(var qr=yr-1,fo=yr===0?Wr:[""],Co=pn(fo),_a=0,bo=0,so=0;_a0?fo[Sa]+" "+Ba:$t(Ba,/&\f/g,fo[Sa])))&&(_r[so++]=Mo);return gt(Xt,In,Tn,yr===0?it:dr,_r,la,Ia,Ca)}function zr(Xt,In,Tn,tr){return gt(Xt,In,Tn,Be,Se(tn()),un(Xt,2,-2),0,tr)}function Wn(Xt,In,Tn,tr,yr){return gt(Xt,In,Tn,Ve,un(Xt,0,tr),un(Xt,tr+1,-1),tr,yr)}function wn(Xt,In){var Tn=In.path,tr=In.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(Tn?"Error in ".concat(Tn,": "):"").concat(Xt).concat(tr.length?" Selector: ".concat(tr.join(" | ")):""))}var Rn=function(In,Tn,tr){if(In==="content"){var yr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Wr=["normal","none","initial","inherit","unset"];(typeof Tn!="string"||Wr.indexOf(Tn)===-1&&!yr.test(Tn)&&(Tn.charAt(0)!==Tn.charAt(Tn.length-1)||Tn.charAt(0)!=='"'&&Tn.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(Tn,"\"'`."),tr)}},sr=null,Er=function(In,Tn,tr){In==="animation"&&tr.hashId&&Tn!=="none"&&lintWarning("You seem to be using hashed animation '".concat(Tn,"', in which case 'animationName' with Keyframe as value is recommended."),tr)},Kr=null;function ta(Xt){var In,Tn=((In=Xt.match(/:not\(([^)]*)\)/))===null||In===void 0?void 0:In[1])||"",tr=Tn.split(/(\[[^[]*])|(?=[.#])/).filter(function(yr){return yr});return tr.length>1}function ga(Xt){return Xt.parentSelectors.reduce(function(In,Tn){return In?Tn.includes("&")?Tn.replace(/&/g,In):"".concat(In," ").concat(Tn):Tn},"")}var pr=function(In,Tn,tr){var yr=ga(tr),Wr=yr.match(/:not\([^)]*\)/g)||[];Wr.length>0&&Wr.some(ta)&&lintWarning("Concat ':not' selector not support in legacy browsers.",tr)},Ur=null,Ma=function(In,Tn,tr){switch(In){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(In,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),tr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof Tn=="string"){var yr=Tn.split(" ").map(function(dr){return dr.trim()});yr.length===4&&yr[1]!==yr[3]&&lintWarning("You seem to be using '".concat(In,"' property with different left ").concat(In," and right ").concat(In,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),tr)}return;case"clear":case"textAlign":(Tn==="left"||Tn==="right")&&lintWarning("You seem to be using non-logical value '".concat(Tn,"' of ").concat(In,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),tr);return;case"borderRadius":if(typeof Tn=="string"){var Wr=Tn.split("/").map(function(dr){return dr.trim()}),ea=Wr.reduce(function(dr,_r){if(dr)return dr;var la=_r.split(" ").map(function(Ia){return Ia.trim()});return la.length>=2&&la[0]!==la[1]||la.length===3&&la[1]!==la[2]||la.length===4&&la[2]!==la[3]?!0:dr},!1);ea&&lintWarning("You seem to be using non-logical value '".concat(Tn,"' of ").concat(In,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),tr)}return;default:}},ma=null,Yn=function(In,Tn,tr){tr.parentSelectors.some(function(yr){var Wr=yr.split(",");return Wr.some(function(ea){return ea.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",tr)},Zn=null,Sr="data-ant-cssinjs-cache-path",Xr="_FILE_STYLE__";function wr(Xt){return Object.keys(Xt).map(function(In){var Tn=Xt[In];return"".concat(In,":").concat(Tn)}).join(";")}var Pt,on=!0;function Mn(Xt){var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Pt=Xt,on=In}function Ja(){if(!Pt&&(Pt={},(0,k.Z)())){var Xt=document.createElement("div");Xt.className=Sr,Xt.style.position="fixed",Xt.style.visibility="hidden",Xt.style.top="-9999px",document.body.appendChild(Xt);var In=getComputedStyle(Xt).content||"";In=In.replace(/^"/,"").replace(/"$/,""),In.split(";").forEach(function(yr){var Wr=yr.split(":"),ea=(0,V.Z)(Wr,2),dr=ea[0],_r=ea[1];Pt[dr]=_r});var Tn=document.querySelector("style[".concat(Sr,"]"));if(Tn){var tr;on=!1,(tr=Tn.parentNode)===null||tr===void 0||tr.removeChild(Tn)}document.body.removeChild(Xt)}}function mo(Xt){return Ja(),!!Pt[Xt]}function Ua(Xt){var In=Pt[Xt],Tn=null;if(In&&(0,k.Z)())if(on)Tn=Xr;else{var tr=document.querySelector("style[".concat(Z,'="').concat(Pt[Xt],'"]'));tr?Tn=tr.innerHTML:delete Pt[Xt]}return[Tn,In]}var ka=(0,k.Z)(),Qa="_skip_check_",wo="_multi_value_";function No(Xt){var In=br(kr(Xt),zt);return In.replace(/\{%%%\:[^;];}/g,";")}function ho(Xt){return(0,K.Z)(Xt)==="object"&&Xt&&(Qa in Xt||wo in Xt)}function dt(Xt,In,Tn){if(!In)return Xt;var tr=".".concat(In),yr=Tn==="low"?":where(".concat(tr,")"):tr,Wr=Xt.split(",").map(function(ea){var dr,_r=ea.trim().split(/\s+/),la=_r[0]||"",Ia=((dr=la.match(/^\w+/))===null||dr===void 0?void 0:dr[0])||"";return la="".concat(Ia).concat(yr).concat(la.slice(Ia.length)),[la].concat((0,a.Z)(_r.slice(1))).join(" ")});return Wr.join(",")}var Rt=function Xt(In){var Tn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},tr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},yr=tr.root,Wr=tr.injectHash,ea=tr.parentSelectors,dr=Tn.hashId,_r=Tn.layer,la=Tn.path,Ia=Tn.hashPriority,Ca=Tn.transformers,qr=Ca===void 0?[]:Ca,fo=Tn.linters,Co=fo===void 0?[]:fo,_a="",bo={};function so(Jo){var ao=Jo.getName(dr);if(!bo[ao]){var yi=Xt(Jo.style,Tn,{root:!1,parentSelectors:ea}),ji=(0,V.Z)(yi,1),_o=ji[0];bo[ao]="@keyframes ".concat(Jo.getName(dr)).concat(_o)}}function Sa(Jo){var ao=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Jo.forEach(function(yi){Array.isArray(yi)?Sa(yi,ao):yi&&ao.push(yi)}),ao}var Ba=Sa(Array.isArray(In)?In:[In]);if(Ba.forEach(function(Jo){var ao=typeof Jo=="string"&&!yr?{}:Jo;if(typeof ao=="string")_a+="".concat(ao,` +`);else if(ao._keyframe)so(ao);else{var yi=qr.reduce(function(ji,_o){var Bo;return(_o==null||(Bo=_o.visit)===null||Bo===void 0?void 0:Bo.call(_o,ji))||ji},ao);Object.keys(yi).forEach(function(ji){var _o=yi[ji];if((0,K.Z)(_o)==="object"&&_o&&(ji!=="animationName"||!_o._keyframe)&&!ho(_o)){var Bo=!1,oi=ji.trim(),ri=!1;(yr||Wr)&&dr?oi.startsWith("@")?Bo=!0:oi=dt(ji,dr,Ia):yr&&!dr&&(oi==="&"||oi==="")&&(oi="",ri=!0);var Si=Xt(_o,Tn,{root:ri,injectHash:Bo,parentSelectors:[].concat((0,a.Z)(ea),[oi])}),Ni=(0,V.Z)(Si,2),Ei=Ni[0],to=Ni[1];bo=(0,t.Z)((0,t.Z)({},bo),to),_a+="".concat(oi).concat(Ei)}else{let qo=function(xo,Ro){var Ci=xo.replace(/[A-Z]/g,function(Ui){return"-".concat(Ui.toLowerCase())}),Ri=Ro;!st[xo]&&typeof Ri=="number"&&Ri!==0&&(Ri="".concat(Ri,"px")),xo==="animationName"&&Ro!==null&&Ro!==void 0&&Ro._keyframe&&(so(Ro),Ri=Ro.getName(dr)),_a+="".concat(Ci,":").concat(Ri,";")};var Ga,Qo=(Ga=_o==null?void 0:_o.value)!==null&&Ga!==void 0?Ga:_o;(0,K.Z)(_o)==="object"&&_o!==null&&_o!==void 0&&_o[wo]&&Array.isArray(Qo)?Qo.forEach(function(xo){qo(ji,xo)}):qo(ji,Qo)}})}}),!yr)_a="{".concat(_a,"}");else if(_r&&Te()){var Mo=_r.split(","),Ko=Mo[Mo.length-1].trim();_a="@layer ".concat(Ko," {").concat(_a,"}"),Mo.length>1&&(_a="@layer ".concat(_r,"{%%%:%}").concat(_a))}return[_a,bo]};function Ae(Xt,In){return s("".concat(Xt.join("%")).concat(In))}function dn(){return null}function Pn(Xt,In){var Tn=Xt.token,tr=Xt.path,yr=Xt.hashId,Wr=Xt.layer,ea=Xt.nonce,dr=Xt.clientOnly,_r=Xt.order,la=_r===void 0?0:_r,Ia=n.useContext(j),Ca=Ia.autoClear,qr=Ia.mock,fo=Ia.defaultCache,Co=Ia.hashPriority,_a=Ia.container,bo=Ia.ssrInline,so=Ia.transformers,Sa=Ia.linters,Ba=Ia.cache,Mo=Tn._tokenKey,Ko=[Mo].concat((0,a.Z)(tr)),Jo=ka,ao=Me("style",Ko,function(){var oi=Ko.join("|");if(mo(oi)){var ri=Ua(oi),Si=(0,V.Z)(ri,2),Ni=Si[0],Ei=Si[1];if(Ni)return[Ni,Mo,Ei,{},dr,la]}var to=In(),Ga=Rt(to,{hashId:yr,hashPriority:Co,layer:Wr,path:tr.join("-"),transformers:so,linters:Sa}),Qo=(0,V.Z)(Ga,2),qo=Qo[0],xo=Qo[1],Ro=No(qo),Ci=Ae(Ko,Ro);return[Ro,Mo,Ci,xo,dr,la]},function(oi,ri){var Si=(0,V.Z)(oi,3),Ni=Si[2];(ri||Ca)&&ka&&(0,te.jL)(Ni,{mark:Z})},function(oi){var ri=(0,V.Z)(oi,4),Si=ri[0],Ni=ri[1],Ei=ri[2],to=ri[3];if(Jo&&Si!==Xr){var Ga={mark:Z,prepend:"queue",attachTo:_a,priority:la},Qo=typeof ea=="function"?ea():ea;Qo&&(Ga.csp={nonce:Qo});var qo=(0,te.hq)(Si,Ei,Ga);qo[L]=Ba.instanceId,qo.setAttribute(F,Mo),Object.keys(to).forEach(function(xo){(0,te.hq)(No(to[xo]),"_effect-".concat(xo),Ga)})}}),yi=(0,V.Z)(ao,3),ji=yi[0],_o=yi[1],Bo=yi[2];return function(oi){var ri;if(!bo||Jo||!fo)ri=n.createElement(dn,null);else{var Si;ri=n.createElement("style",(0,we.Z)({},(Si={},(0,M.Z)(Si,F,_o),(0,M.Z)(Si,Z,Bo),Si),{dangerouslySetInnerHTML:{__html:ji}}))}return n.createElement(n.Fragment,null,ri,oi)}}function Sn(Xt){var In=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Tn="style%",tr=Array.from(Xt.cache.keys()).filter(function(la){return la.startsWith(Tn)}),yr={},Wr={},ea="";function dr(la,Ia,Ca){var qr,fo=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Co=_objectSpread(_objectSpread({},fo),{},(qr={},_defineProperty(qr,ATTR_TOKEN,Ia),_defineProperty(qr,ATTR_MARK,Ca),qr)),_a=Object.keys(Co).map(function(bo){var so=Co[bo];return so?"".concat(bo,'="').concat(so,'"'):null}).filter(function(bo){return bo}).join(" ");return In?la:"")}var _r=tr.map(function(la){var Ia=la.slice(Tn.length).replace(/%/g,"|"),Ca=_slicedToArray(Xt.cache.get(la)[1],6),qr=Ca[0],fo=Ca[1],Co=Ca[2],_a=Ca[3],bo=Ca[4],so=Ca[5];if(bo)return null;var Sa={"data-rc-order":"prependQueue","data-rc-priority":"".concat(so)},Ba=dr(qr,fo,Co,Sa);Wr[Ia]=Co,_a&&Object.keys(_a).forEach(function(Ko){yr[Ko]||(yr[Ko]=!0,Ba+=dr(No(_a[Ko]),fo,"_effect-".concat(Ko),Sa))});var Mo=[so,Ba];return Mo}).filter(function(la){return la});return _r.sort(function(la,Ia){return la[0]-Ia[0]}).forEach(function(la){var Ia=_slicedToArray(la,2),Ca=Ia[1];ea+=Ca}),ea+=dr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Wr),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP)),ea}var er=function(){function Xt(In,Tn){(0,m.Z)(this,Xt),(0,M.Z)(this,"name",void 0),(0,M.Z)(this,"style",void 0),(0,M.Z)(this,"_keyframe",!0),this.name=In,this.style=Tn}return(0,g.Z)(Xt,[{key:"getName",value:function(){var Tn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Tn?"".concat(Tn,"-").concat(this.name):this.name}}]),Xt}(),ir=er;function Hr(Xt){if(typeof Xt=="number")return[[Xt],!1];var In=String(Xt).trim(),Tn=In.match(/(.*)(!important)/),tr=(Tn?Tn[1]:In).trim().split(/\s+/),yr="",Wr=0;return[tr.reduce(function(ea,dr){return dr.includes("(")?(yr+=dr,Wr+=dr.split("(").length-1):dr.includes(")")?(yr+=dr,Wr-=dr.split(")").length-1,Wr===0&&(ea.push(yr),yr="")):Wr>0?yr+=dr:ea.push(dr),ea},[]),!!Tn]}function Oa(Xt){return Xt.notSplit=!0,Xt}var oa={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Oa(["borderTop","borderBottom"]),borderBlockStart:Oa(["borderTop"]),borderBlockEnd:Oa(["borderBottom"]),borderInline:Oa(["borderLeft","borderRight"]),borderInlineStart:Oa(["borderLeft"]),borderInlineEnd:Oa(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function Jr(Xt,In){var Tn=Xt;return In&&(Tn="".concat(Tn," !important")),{_skip_check_:!0,value:Tn}}var na={visit:function(In){var Tn={};return Object.keys(In).forEach(function(tr){var yr=In[tr],Wr=oa[tr];if(Wr&&(typeof yr=="number"||typeof yr=="string")){var ea=Hr(yr),dr=(0,V.Z)(ea,2),_r=dr[0],la=dr[1];Wr.length&&Wr.notSplit?Wr.forEach(function(Ia){Tn[Ia]=Jr(yr,la)}):Wr.length===1?Tn[Wr[0]]=Jr(yr,la):Wr.length===2?Wr.forEach(function(Ia,Ca){var qr;Tn[Ia]=Jr((qr=_r[Ca])!==null&&qr!==void 0?qr:_r[0],la)}):Wr.length===4?Wr.forEach(function(Ia,Ca){var qr,fo;Tn[Ia]=Jr((qr=(fo=_r[Ca])!==null&&fo!==void 0?fo:_r[Ca-2])!==null&&qr!==void 0?qr:_r[0],la)}):Tn[tr]=yr}else Tn[tr]=yr}),Tn}},Lr=null,Zr=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function ca(Xt,In){var Tn=Math.pow(10,In+1),tr=Math.floor(Xt*Tn);return Math.round(tr/10)*10/Tn}var Ta=function(){var In=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Tn=In.rootValue,tr=Tn===void 0?16:Tn,yr=In.precision,Wr=yr===void 0?5:yr,ea=In.mediaQuery,dr=ea===void 0?!1:ea,_r=function(Ca,qr){if(!qr)return Ca;var fo=parseFloat(qr);if(fo<=1)return Ca;var Co=ca(fo/tr,Wr);return"".concat(Co,"rem")},la=function(Ca){var qr=_objectSpread({},Ca);return Object.entries(Ca).forEach(function(fo){var Co=_slicedToArray(fo,2),_a=Co[0],bo=Co[1];if(typeof bo=="string"&&bo.includes("px")){var so=bo.replace(Zr,_r);qr[_a]=so}!unitless[_a]&&typeof bo=="number"&&bo!==0&&(qr[_a]="".concat(bo,"px").replace(Zr,_r));var Sa=_a.trim();if(Sa.startsWith("@")&&Sa.includes("px")&&dr){var Ba=_a.replace(Zr,_r);qr[Ba]=qr[_a],delete qr[_a]}}),qr};return{visit:la}},eo=null,Va={supportModernCSS:function(){return Je()&&pt()}}},17202:function(b,y,e){"use strict";e.d(y,{Z:function(){return T}});var a=e(60698),t=e(28314),o=e(37734),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(26134),m=e(71048),g=e(57370),M=e(17332),h=["icon","className","onClick","style","primaryColor","secondaryColor"],S={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function w(j){var K=j.primaryColor,k=j.secondaryColor;S.primaryColor=K,S.secondaryColor=k||(0,M.pw)(K),S.calculated=!!k}function C(){return(0,g.Z)({},S)}var F=function(K){var k=K.icon,te=K.className,V=K.onClick,q=K.style,le=K.primaryColor,X=K.secondaryColor,W=(0,s.Z)(K,h),x=n.useRef(),O=S;if(le&&(O={primaryColor:le,secondaryColor:X||(0,M.pw)(le)}),(0,M.C3)(x),(0,M.Kp)((0,M.r)(k),"icon should be icon definiton, but got ".concat(k)),!(0,M.r)(k))return null;var _=k;return _&&typeof _.icon=="function"&&(_=(0,g.Z)((0,g.Z)({},_),{},{icon:_.icon(O.primaryColor,O.secondaryColor)})),(0,M.R_)(_.icon,"svg-".concat(_.name),(0,g.Z)((0,g.Z)({className:te,onClick:V,style:q,"data-icon":_.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},W),{},{ref:x}))};F.displayName="IconReact",F.getTwoToneColors=C,F.setTwoToneColors=w;var Z=F;function N(j){var K=(0,M.H9)(j),k=(0,t.Z)(K,2),te=k[0],V=k[1];return Z.setTwoToneColors({primaryColor:te,secondaryColor:V})}function L(){var j=Z.getTwoToneColors();return j.calculated?[j.primaryColor,j.secondaryColor]:j.primaryColor}var $=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];N(c.blue.primary);var D=n.forwardRef(function(j,K){var k,te=j.className,V=j.icon,q=j.spin,le=j.rotate,X=j.tabIndex,W=j.onClick,x=j.twoToneColor,O=(0,s.Z)(j,$),_=n.useContext(m.Z),U=_.prefixCls,A=U===void 0?"anticon":U,G=_.rootClassName,fe=l()(G,A,(k={},(0,o.Z)(k,"".concat(A,"-").concat(V.name),!!V.name),(0,o.Z)(k,"".concat(A,"-spin"),!!q||V.name==="loading"),k),te),pe=X;pe===void 0&&W&&(pe=-1);var ge=le?{msTransform:"rotate(".concat(le,"deg)"),transform:"rotate(".concat(le,"deg)")}:void 0,be=(0,M.H9)(x),Te=(0,t.Z)(be,2),Ge=Te[0],Je=Te[1];return n.createElement("span",(0,a.Z)({role:"img","aria-label":V.name},O,{ref:K,tabIndex:pe,onClick:W,className:fe}),n.createElement(Z,{icon:V,primaryColor:Ge,secondaryColor:Je,style:ge}))});D.displayName="AntdIcon",D.getTwoToneColor=L,D.setTwoToneColor=N;var T=D},71048:function(b,y,e){"use strict";var a=e(58757),t=(0,a.createContext)({});y.Z=t},39875:function(b,y,e){"use strict";var a=e(60698),t=e(57370),o=e(37734),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(21319),m=e(71048),g=e(17332),M=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],h=n.forwardRef(function(S,w){var C=S.className,F=S.component,Z=S.viewBox,N=S.spin,L=S.rotate,$=S.tabIndex,D=S.onClick,T=S.children,j=(0,s.Z)(S,M),K=n.useRef(),k=(0,c.x1)(K,w);(0,g.Kp)(!!(F||T),"Should have `component` prop or `children`."),(0,g.C3)(K);var te=n.useContext(m.Z),V=te.prefixCls,q=V===void 0?"anticon":V,le=te.rootClassName,X=l()(le,q,C),W=l()((0,o.Z)({},"".concat(q,"-spin"),!!N)),x=L?{msTransform:"rotate(".concat(L,"deg)"),transform:"rotate(".concat(L,"deg)")}:void 0,O=(0,t.Z)((0,t.Z)({},g.vD),{},{className:W,style:x,viewBox:Z});Z||delete O.viewBox;var _=function(){return F?n.createElement(F,O,T):T?((0,g.Kp)(!!Z||n.Children.count(T)===1&&n.isValidElement(T)&&n.Children.only(T).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),n.createElement("svg",(0,a.Z)({},O,{viewBox:Z}),T)):null},U=$;return U===void 0&&D&&(U=-1),n.createElement("span",(0,a.Z)({role:"img"},j,{ref:k,tabIndex:U,onClick:D,className:X}),_())});h.displayName="AntdIcon",y.Z=h},92183:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},85678:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},35725:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},79999:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},52495:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},23605:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},10130:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},18974:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},69831:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},83720:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},56019:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},33064:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},99142:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},25755:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},12673:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},22283:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},91169:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},99534:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},39800:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},23926:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={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"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},98030:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},2528:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},s=o,n=e(17202),d=function(m,g){return t.createElement(n.Z,(0,a.Z)({},m,{ref:g,icon:s}))},l=t.forwardRef(d)},17332:function(b,y,e){"use strict";e.d(y,{C3:function(){return L},H9:function(){return F},Kp:function(){return M},R_:function(){return w},pw:function(){return C},r:function(){return h},vD:function(){return Z}});var a=e(57370),t=e(38790),o=e(26134),s=e(61012),n=e.n(s),d=e(39678),l=e(4171),c=e(75556),m=e(58757),g=e(71048);function M($,D){(0,c.ZP)($,"[@ant-design/icons] ".concat(D))}function h($){return(0,t.Z)($)==="object"&&typeof $.name=="string"&&typeof $.theme=="string"&&((0,t.Z)($.icon)==="object"||typeof $.icon=="function")}function S(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys($).reduce(function(D,T){var j=$[T];switch(T){case"class":D.className=j,delete D.class;break;default:delete D[T],D[n()(T)]=j}return D},{})}function w($,D,T){return T?m.createElement($.tag,(0,a.Z)((0,a.Z)({key:D},S($.attrs)),T),($.children||[]).map(function(j,K){return w(j,"".concat(D,"-").concat($.tag,"-").concat(K))})):m.createElement($.tag,(0,a.Z)({key:D},S($.attrs)),($.children||[]).map(function(j,K){return w(j,"".concat(D,"-").concat($.tag,"-").concat(K))}))}function C($){return(0,o.generate)($)[0]}function F($){return $?Array.isArray($)?$:[$]:[]}var Z={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},N=` .anticon { display: inline-block; color: inherit; @@ -53,7 +53,7 @@ transform: rotate(360deg); } } -`,L=function(D){var T=(0,m.useContext)(g.Z),j=T.csp,K=T.prefixCls,k=N;K&&(k=k.replace(/anticon/g,K)),(0,m.useEffect)(function(){var te=D.current,Y=(0,l.A)(te);(0,d.hq)(k,"@ant-design-icons",{prepend:!0,csp:j,attachTo:Y})},[])}},8295:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return o}});var a=e(58757),t=(0,a.createContext)({}),o=t},38875:function(b,y,e){"use strict";var a;a={value:!0},Object.defineProperty(y,"Z",{enumerable:!0,get:function(){return $}});var t=g(e(58757)),o=c(e(87608)),s=e(25697),n=c(e(8295)),d=e(96757);function l(N,L,B){return L in N?Object.defineProperty(N,L,{value:B,enumerable:!0,configurable:!0,writable:!0}):N[L]=B,N}function c(N){return N&&N.__esModule?N:{default:N}}function m(N){if(typeof WeakMap!="function")return null;var L=new WeakMap,B=new WeakMap;return(m=function(D){return D?B:L})(N)}function g(N,L){if(!L&&N&&N.__esModule)return N;if(N===null||typeof N!="object"&&typeof N!="function")return{default:N};var B=m(L);if(B&&B.has(N))return B.get(N);var D={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in N)if(j!=="default"&&Object.prototype.hasOwnProperty.call(N,j)){var K=T?Object.getOwnPropertyDescriptor(N,j):null;K&&(K.get||K.set)?Object.defineProperty(D,j,K):D[j]=N[j]}return D.default=N,B&&B.set(N,D),D}function M(N){for(var L=1;L=0)&&Object.prototype.propertyIsEnumerable.call(N,D)&&(B[D]=N[D])}return B}function C(N,L){if(N==null)return{};var B={},D=Object.keys(N),T,j;for(j=0;j=0)&&(B[T]=N[T]);return B}var z=t.forwardRef(function(N,L){var B=N.className,D=N.component,T=N.viewBox,j=N.spin,K=N.rotate,k=N.tabIndex,te=N.onClick,Y=N.children,q=w(N,["className","component","viewBox","spin","rotate","tabIndex","onClick","children"]),le=t.useRef(),X=(0,s.useComposeRef)(le,L);(0,d.warning)(!!(D||Y),"Should have `component` prop or `children`."),(0,d.useInsertStyles)(le);var W=t.useContext(n.default),x=W.prefixCls,O=x===void 0?"anticon":x,_=W.rootClassName,U=(0,o.default)(_,O,B),A=(0,o.default)(l({},"".concat(O,"-spin"),!!j)),G=K?{msTransform:"rotate(".concat(K,"deg)"),transform:"rotate(".concat(K,"deg)")}:void 0,de=S(M({},d.svgBaseProps),{className:A,style:G,viewBox:T});T||delete de.viewBox;var he=function(){return D?t.createElement(D,de,Y):Y?((0,d.warning)(!!T||t.Children.count(Y)===1&&t.isValidElement(Y)&&t.Children.only(Y).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),t.createElement("svg",S(M({},de),{viewBox:T}),Y)):null},ge=k;return ge===void 0&&te&&(ge=-1),t.createElement("span",S(M({role:"img"},q),{ref:X,tabIndex:ge,onClick:te,className:U}),he())});z.displayName="AntdIcon";var $=z},96757:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0});function a(j,K){for(var k in K)Object.defineProperty(j,k,{enumerable:!0,get:K[k]})}a(y,{warning:function(){return w},isIconDefinition:function(){return C},normalizeAttrs:function(){return z},generate:function(){return $},getSecondaryColor:function(){return N},normalizeTwoToneColors:function(){return L},svgBaseProps:function(){return B},iconStyles:function(){return D},useInsertStyles:function(){return T}});var t=e(26134),o=g(e(61012)),s=e(82912),n=e(13393),d=g(e(66780)),l=h(e(58757)),c=g(e(8295));function m(j,K,k){return K in j?Object.defineProperty(j,K,{value:k,enumerable:!0,configurable:!0,writable:!0}):j[K]=k,j}function g(j){return j&&j.__esModule?j:{default:j}}function M(j){if(typeof WeakMap!="function")return null;var K=new WeakMap,k=new WeakMap;return(M=function(te){return te?k:K})(j)}function h(j,K){if(!K&&j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var k=M(K);if(k&&k.has(j))return k.get(j);var te={},Y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in j)if(q!=="default"&&Object.prototype.hasOwnProperty.call(j,q)){var le=Y?Object.getOwnPropertyDescriptor(j,q):null;le&&(le.get||le.set)?Object.defineProperty(te,q,le):te[q]=j[q]}return te.default=j,k&&k.set(j,te),te}function S(j){for(var K=1;K0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(j).reduce(function(K,k){var te=j[k];switch(k){case"class":K.className=te,delete K.class;break;default:delete K[k],K[(0,o.default)(k)]=te}return K},{})}function $(j,K,k){return k?l.default.createElement(j.tag,S({key:K},z(j.attrs),k),(j.children||[]).map(function(te,Y){return $(te,"".concat(K,"-").concat(j.tag,"-").concat(Y))})):l.default.createElement(j.tag,S({key:K},z(j.attrs)),(j.children||[]).map(function(te,Y){return $(te,"".concat(K,"-").concat(j.tag,"-").concat(Y))}))}function N(j){return(0,t.generate)(j)[0]}function L(j){return j?Array.isArray(j)?j:[j]:[]}var B={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},D=` +`,L=function(D){var T=(0,m.useContext)(g.Z),j=T.csp,K=T.prefixCls,k=N;K&&(k=k.replace(/anticon/g,K)),(0,m.useEffect)(function(){var te=D.current,V=(0,l.A)(te);(0,d.hq)(k,"@ant-design-icons",{prepend:!0,csp:j,attachTo:V})},[])}},8295:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),Object.defineProperty(y,"default",{enumerable:!0,get:function(){return o}});var a=e(58757),t=(0,a.createContext)({}),o=t},38875:function(b,y,e){"use strict";var a;a={value:!0},Object.defineProperty(y,"Z",{enumerable:!0,get:function(){return Z}});var t=g(e(58757)),o=c(e(87608)),s=e(25697),n=c(e(8295)),d=e(96757);function l(N,L,$){return L in N?Object.defineProperty(N,L,{value:$,enumerable:!0,configurable:!0,writable:!0}):N[L]=$,N}function c(N){return N&&N.__esModule?N:{default:N}}function m(N){if(typeof WeakMap!="function")return null;var L=new WeakMap,$=new WeakMap;return(m=function(D){return D?$:L})(N)}function g(N,L){if(!L&&N&&N.__esModule)return N;if(N===null||typeof N!="object"&&typeof N!="function")return{default:N};var $=m(L);if($&&$.has(N))return $.get(N);var D={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in N)if(j!=="default"&&Object.prototype.hasOwnProperty.call(N,j)){var K=T?Object.getOwnPropertyDescriptor(N,j):null;K&&(K.get||K.set)?Object.defineProperty(D,j,K):D[j]=N[j]}return D.default=N,$&&$.set(N,D),D}function M(N){for(var L=1;L=0)&&Object.prototype.propertyIsEnumerable.call(N,D)&&($[D]=N[D])}return $}function C(N,L){if(N==null)return{};var $={},D=Object.keys(N),T,j;for(j=0;j=0)&&($[T]=N[T]);return $}var F=t.forwardRef(function(N,L){var $=N.className,D=N.component,T=N.viewBox,j=N.spin,K=N.rotate,k=N.tabIndex,te=N.onClick,V=N.children,q=w(N,["className","component","viewBox","spin","rotate","tabIndex","onClick","children"]),le=t.useRef(),X=(0,s.useComposeRef)(le,L);(0,d.warning)(!!(D||V),"Should have `component` prop or `children`."),(0,d.useInsertStyles)(le);var W=t.useContext(n.default),x=W.prefixCls,O=x===void 0?"anticon":x,_=W.rootClassName,U=(0,o.default)(_,O,$),A=(0,o.default)(l({},"".concat(O,"-spin"),!!j)),G=K?{msTransform:"rotate(".concat(K,"deg)"),transform:"rotate(".concat(K,"deg)")}:void 0,fe=S(M({},d.svgBaseProps),{className:A,style:G,viewBox:T});T||delete fe.viewBox;var pe=function(){return D?t.createElement(D,fe,V):V?((0,d.warning)(!!T||t.Children.count(V)===1&&t.isValidElement(V)&&t.Children.only(V).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),t.createElement("svg",S(M({},fe),{viewBox:T}),V)):null},ge=k;return ge===void 0&&te&&(ge=-1),t.createElement("span",S(M({role:"img"},q),{ref:X,tabIndex:ge,onClick:te,className:U}),pe())});F.displayName="AntdIcon";var Z=F},96757:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0});function a(j,K){for(var k in K)Object.defineProperty(j,k,{enumerable:!0,get:K[k]})}a(y,{warning:function(){return w},isIconDefinition:function(){return C},normalizeAttrs:function(){return F},generate:function(){return Z},getSecondaryColor:function(){return N},normalizeTwoToneColors:function(){return L},svgBaseProps:function(){return $},iconStyles:function(){return D},useInsertStyles:function(){return T}});var t=e(26134),o=g(e(61012)),s=e(82912),n=e(13393),d=g(e(66780)),l=h(e(58757)),c=g(e(8295));function m(j,K,k){return K in j?Object.defineProperty(j,K,{value:k,enumerable:!0,configurable:!0,writable:!0}):j[K]=k,j}function g(j){return j&&j.__esModule?j:{default:j}}function M(j){if(typeof WeakMap!="function")return null;var K=new WeakMap,k=new WeakMap;return(M=function(te){return te?k:K})(j)}function h(j,K){if(!K&&j&&j.__esModule)return j;if(j===null||typeof j!="object"&&typeof j!="function")return{default:j};var k=M(K);if(k&&k.has(j))return k.get(j);var te={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in j)if(q!=="default"&&Object.prototype.hasOwnProperty.call(j,q)){var le=V?Object.getOwnPropertyDescriptor(j,q):null;le&&(le.get||le.set)?Object.defineProperty(te,q,le):te[q]=j[q]}return te.default=j,k&&k.set(j,te),te}function S(j){for(var K=1;K0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(j).reduce(function(K,k){var te=j[k];switch(k){case"class":K.className=te,delete K.class;break;default:delete K[k],K[(0,o.default)(k)]=te}return K},{})}function Z(j,K,k){return k?l.default.createElement(j.tag,S({key:K},F(j.attrs),k),(j.children||[]).map(function(te,V){return Z(te,"".concat(K,"-").concat(j.tag,"-").concat(V))})):l.default.createElement(j.tag,S({key:K},F(j.attrs)),(j.children||[]).map(function(te,V){return Z(te,"".concat(K,"-").concat(j.tag,"-").concat(V))}))}function N(j){return(0,t.generate)(j)[0]}function L(j){return j?Array.isArray(j)?j:[j]:[]}var $={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},D=` .anticon { display: inline-block; color: inherit; @@ -107,42 +107,42 @@ transform: rotate(360deg); } } -`,T=function(j){var K=(0,l.useContext)(c.default),k=K.csp,te=K.prefixCls,Y=D;te&&(Y=Y.replace(/anticon/g,te)),(0,l.useEffect)(function(){var q=j.current,le=(0,n.getShadowRoot)(q);(0,s.updateCSS)(Y,"@ant-design-icons",{prepend:!0,csp:k,attachTo:le})},[])}},20117:function(b,y,e){"use strict";e.d(y,{T6:function(){return h},VD:function(){return S},WE:function(){return l},Yt:function(){return w},lC:function(){return o},py:function(){return d},rW:function(){return t},s:function(){return m},ve:function(){return n},vq:function(){return c}});var a=e(33146);function t(C,z,$){return{r:(0,a.sh)(C,255)*255,g:(0,a.sh)(z,255)*255,b:(0,a.sh)($,255)*255}}function o(C,z,$){C=(0,a.sh)(C,255),z=(0,a.sh)(z,255),$=(0,a.sh)($,255);var N=Math.max(C,z,$),L=Math.min(C,z,$),B=0,D=0,T=(N+L)/2;if(N===L)D=0,B=0;else{var j=N-L;switch(D=T>.5?j/(2-N-L):j/(N+L),N){case C:B=(z-$)/j+(z<$?6:0);break;case z:B=($-C)/j+2;break;case $:B=(C-z)/j+4;break;default:break}B/=6}return{h:B,s:D,l:T}}function s(C,z,$){return $<0&&($+=1),$>1&&($-=1),$<.16666666666666666?C+(z-C)*(6*$):$<.5?z:$<.6666666666666666?C+(z-C)*(.6666666666666666-$)*6:C}function n(C,z,$){var N,L,B;if(C=(0,a.sh)(C,360),z=(0,a.sh)(z,100),$=(0,a.sh)($,100),z===0)L=$,B=$,N=$;else{var D=$<.5?$*(1+z):$+z-$*z,T=2*$-D;N=s(T,D,C+.3333333333333333),L=s(T,D,C),B=s(T,D,C-.3333333333333333)}return{r:N*255,g:L*255,b:B*255}}function d(C,z,$){C=(0,a.sh)(C,255),z=(0,a.sh)(z,255),$=(0,a.sh)($,255);var N=Math.max(C,z,$),L=Math.min(C,z,$),B=0,D=N,T=N-L,j=N===0?0:T/N;if(N===L)B=0;else{switch(N){case C:B=(z-$)/T+(z<$?6:0);break;case z:B=($-C)/T+2;break;case $:B=(C-z)/T+4;break;default:break}B/=6}return{h:B,s:j,v:D}}function l(C,z,$){C=(0,a.sh)(C,360)*6,z=(0,a.sh)(z,100),$=(0,a.sh)($,100);var N=Math.floor(C),L=C-N,B=$*(1-z),D=$*(1-L*z),T=$*(1-(1-L)*z),j=N%6,K=[$,D,B,B,T,$][j],k=[T,$,$,D,B,B][j],te=[B,B,T,$,$,D][j];return{r:K*255,g:k*255,b:te*255}}function c(C,z,$,N){var L=[(0,a.FZ)(Math.round(C).toString(16)),(0,a.FZ)(Math.round(z).toString(16)),(0,a.FZ)(Math.round($).toString(16))];return N&&L[0].startsWith(L[0].charAt(1))&&L[1].startsWith(L[1].charAt(1))&&L[2].startsWith(L[2].charAt(1))?L[0].charAt(0)+L[1].charAt(0)+L[2].charAt(0):L.join("")}function m(C,z,$,N,L){var B=[(0,a.FZ)(Math.round(C).toString(16)),(0,a.FZ)(Math.round(z).toString(16)),(0,a.FZ)(Math.round($).toString(16)),(0,a.FZ)(M(N))];return L&&B[0].startsWith(B[0].charAt(1))&&B[1].startsWith(B[1].charAt(1))&&B[2].startsWith(B[2].charAt(1))&&B[3].startsWith(B[3].charAt(1))?B[0].charAt(0)+B[1].charAt(0)+B[2].charAt(0)+B[3].charAt(0):B.join("")}function g(C,z,$,N){var L=[pad2(M(N)),pad2(Math.round(C).toString(16)),pad2(Math.round(z).toString(16)),pad2(Math.round($).toString(16))];return L.join("")}function M(C){return Math.round(parseFloat(C)*255).toString(16)}function h(C){return S(C)/255}function S(C){return parseInt(C,16)}function w(C){return{r:C>>16,g:(C&65280)>>8,b:C&255}}},53099:function(b,y,e){"use strict";e.d(y,{R:function(){return a}});var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},76981:function(b,y,e){"use strict";e.d(y,{uA:function(){return s}});var a=e(20117),t=e(53099),o=e(33146);function s(S){var w={r:0,g:0,b:0},C=1,z=null,$=null,N=null,L=!1,B=!1;return typeof S=="string"&&(S=M(S)),typeof S=="object"&&(h(S.r)&&h(S.g)&&h(S.b)?(w=(0,a.rW)(S.r,S.g,S.b),L=!0,B=String(S.r).substr(-1)==="%"?"prgb":"rgb"):h(S.h)&&h(S.s)&&h(S.v)?(z=(0,o.JX)(S.s),$=(0,o.JX)(S.v),w=(0,a.WE)(S.h,z,$),L=!0,B="hsv"):h(S.h)&&h(S.s)&&h(S.l)&&(z=(0,o.JX)(S.s),N=(0,o.JX)(S.l),w=(0,a.ve)(S.h,z,N),L=!0,B="hsl"),Object.prototype.hasOwnProperty.call(S,"a")&&(C=S.a)),C=(0,o.Yq)(C),{ok:L,format:S.format||B,r:Math.min(255,Math.max(w.r,0)),g:Math.min(255,Math.max(w.g,0)),b:Math.min(255,Math.max(w.b,0)),a:C}}var n="[-\\+]?\\d+%?",d="[-\\+]?\\d*\\.\\d+%?",l="(?:".concat(d,")|(?:").concat(n,")"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),m="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),g={CSS_UNIT:new RegExp(l),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+m),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+m),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+m),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function M(S){if(S=S.trim().toLowerCase(),S.length===0)return!1;var w=!1;if(t.R[S])S=t.R[S],w=!0;else if(S==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var C=g.rgb.exec(S);return C?{r:C[1],g:C[2],b:C[3]}:(C=g.rgba.exec(S),C?{r:C[1],g:C[2],b:C[3],a:C[4]}:(C=g.hsl.exec(S),C?{h:C[1],s:C[2],l:C[3]}:(C=g.hsla.exec(S),C?{h:C[1],s:C[2],l:C[3],a:C[4]}:(C=g.hsv.exec(S),C?{h:C[1],s:C[2],v:C[3]}:(C=g.hsva.exec(S),C?{h:C[1],s:C[2],v:C[3],a:C[4]}:(C=g.hex8.exec(S),C?{r:(0,a.VD)(C[1]),g:(0,a.VD)(C[2]),b:(0,a.VD)(C[3]),a:(0,a.T6)(C[4]),format:w?"name":"hex8"}:(C=g.hex6.exec(S),C?{r:(0,a.VD)(C[1]),g:(0,a.VD)(C[2]),b:(0,a.VD)(C[3]),format:w?"name":"hex"}:(C=g.hex4.exec(S),C?{r:(0,a.VD)(C[1]+C[1]),g:(0,a.VD)(C[2]+C[2]),b:(0,a.VD)(C[3]+C[3]),a:(0,a.T6)(C[4]+C[4]),format:w?"name":"hex8"}:(C=g.hex3.exec(S),C?{r:(0,a.VD)(C[1]+C[1]),g:(0,a.VD)(C[2]+C[2]),b:(0,a.VD)(C[3]+C[3]),format:w?"name":"hex"}:!1)))))))))}function h(S){return!!g.CSS_UNIT.exec(String(S))}},66671:function(b,y,e){"use strict";e.d(y,{C:function(){return n}});var a=e(20117),t=e(53099),o=e(76981),s=e(33146),n=function(){function l(c,m){c===void 0&&(c=""),m===void 0&&(m={});var g;if(c instanceof l)return c;typeof c=="number"&&(c=(0,a.Yt)(c)),this.originalInput=c;var M=(0,o.uA)(c);this.originalInput=c,this.r=M.r,this.g=M.g,this.b=M.b,this.a=M.a,this.roundA=Math.round(100*this.a)/100,this.format=(g=m.format)!==null&&g!==void 0?g:M.format,this.gradientType=m.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=M.ok}return l.prototype.isDark=function(){return this.getBrightness()<128},l.prototype.isLight=function(){return!this.isDark()},l.prototype.getBrightness=function(){var c=this.toRgb();return(c.r*299+c.g*587+c.b*114)/1e3},l.prototype.getLuminance=function(){var c=this.toRgb(),m,g,M,h=c.r/255,S=c.g/255,w=c.b/255;return h<=.03928?m=h/12.92:m=Math.pow((h+.055)/1.055,2.4),S<=.03928?g=S/12.92:g=Math.pow((S+.055)/1.055,2.4),w<=.03928?M=w/12.92:M=Math.pow((w+.055)/1.055,2.4),.2126*m+.7152*g+.0722*M},l.prototype.getAlpha=function(){return this.a},l.prototype.setAlpha=function(c){return this.a=(0,s.Yq)(c),this.roundA=Math.round(100*this.a)/100,this},l.prototype.isMonochrome=function(){var c=this.toHsl().s;return c===0},l.prototype.toHsv=function(){var c=(0,a.py)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,v:c.v,a:this.a}},l.prototype.toHsvString=function(){var c=(0,a.py)(this.r,this.g,this.b),m=Math.round(c.h*360),g=Math.round(c.s*100),M=Math.round(c.v*100);return this.a===1?"hsv(".concat(m,", ").concat(g,"%, ").concat(M,"%)"):"hsva(".concat(m,", ").concat(g,"%, ").concat(M,"%, ").concat(this.roundA,")")},l.prototype.toHsl=function(){var c=(0,a.lC)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,l:c.l,a:this.a}},l.prototype.toHslString=function(){var c=(0,a.lC)(this.r,this.g,this.b),m=Math.round(c.h*360),g=Math.round(c.s*100),M=Math.round(c.l*100);return this.a===1?"hsl(".concat(m,", ").concat(g,"%, ").concat(M,"%)"):"hsla(".concat(m,", ").concat(g,"%, ").concat(M,"%, ").concat(this.roundA,")")},l.prototype.toHex=function(c){return c===void 0&&(c=!1),(0,a.vq)(this.r,this.g,this.b,c)},l.prototype.toHexString=function(c){return c===void 0&&(c=!1),"#"+this.toHex(c)},l.prototype.toHex8=function(c){return c===void 0&&(c=!1),(0,a.s)(this.r,this.g,this.b,this.a,c)},l.prototype.toHex8String=function(c){return c===void 0&&(c=!1),"#"+this.toHex8(c)},l.prototype.toHexShortString=function(c){return c===void 0&&(c=!1),this.a===1?this.toHexString(c):this.toHex8String(c)},l.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},l.prototype.toRgbString=function(){var c=Math.round(this.r),m=Math.round(this.g),g=Math.round(this.b);return this.a===1?"rgb(".concat(c,", ").concat(m,", ").concat(g,")"):"rgba(".concat(c,", ").concat(m,", ").concat(g,", ").concat(this.roundA,")")},l.prototype.toPercentageRgb=function(){var c=function(m){return"".concat(Math.round((0,s.sh)(m,255)*100),"%")};return{r:c(this.r),g:c(this.g),b:c(this.b),a:this.a}},l.prototype.toPercentageRgbString=function(){var c=function(m){return Math.round((0,s.sh)(m,255)*100)};return this.a===1?"rgb(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%)"):"rgba(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%, ").concat(this.roundA,")")},l.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var c="#"+(0,a.vq)(this.r,this.g,this.b,!1),m=0,g=Object.entries(t.R);m=0,h=!m&&M&&(c.startsWith("hex")||c==="name");return h?c==="name"&&this.a===0?this.toName():this.toRgbString():(c==="rgb"&&(g=this.toRgbString()),c==="prgb"&&(g=this.toPercentageRgbString()),(c==="hex"||c==="hex6")&&(g=this.toHexString()),c==="hex3"&&(g=this.toHexString(!0)),c==="hex4"&&(g=this.toHex8String(!0)),c==="hex8"&&(g=this.toHex8String()),c==="name"&&(g=this.toName()),c==="hsl"&&(g=this.toHslString()),c==="hsv"&&(g=this.toHsvString()),g||this.toHexString())},l.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},l.prototype.clone=function(){return new l(this.toString())},l.prototype.lighten=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.l+=c/100,m.l=(0,s.V2)(m.l),new l(m)},l.prototype.brighten=function(c){c===void 0&&(c=10);var m=this.toRgb();return m.r=Math.max(0,Math.min(255,m.r-Math.round(255*-(c/100)))),m.g=Math.max(0,Math.min(255,m.g-Math.round(255*-(c/100)))),m.b=Math.max(0,Math.min(255,m.b-Math.round(255*-(c/100)))),new l(m)},l.prototype.darken=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.l-=c/100,m.l=(0,s.V2)(m.l),new l(m)},l.prototype.tint=function(c){return c===void 0&&(c=10),this.mix("white",c)},l.prototype.shade=function(c){return c===void 0&&(c=10),this.mix("black",c)},l.prototype.desaturate=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.s-=c/100,m.s=(0,s.V2)(m.s),new l(m)},l.prototype.saturate=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.s+=c/100,m.s=(0,s.V2)(m.s),new l(m)},l.prototype.greyscale=function(){return this.desaturate(100)},l.prototype.spin=function(c){var m=this.toHsl(),g=(m.h+c)%360;return m.h=g<0?360+g:g,new l(m)},l.prototype.mix=function(c,m){m===void 0&&(m=50);var g=this.toRgb(),M=new l(c).toRgb(),h=m/100,S={r:(M.r-g.r)*h+g.r,g:(M.g-g.g)*h+g.g,b:(M.b-g.b)*h+g.b,a:(M.a-g.a)*h+g.a};return new l(S)},l.prototype.analogous=function(c,m){c===void 0&&(c=6),m===void 0&&(m=30);var g=this.toHsl(),M=360/m,h=[this];for(g.h=(g.h-(M*c>>1)+720)%360;--c;)g.h=(g.h+M)%360,h.push(new l(g));return h},l.prototype.complement=function(){var c=this.toHsl();return c.h=(c.h+180)%360,new l(c)},l.prototype.monochromatic=function(c){c===void 0&&(c=6);for(var m=this.toHsv(),g=m.h,M=m.s,h=m.v,S=[],w=1/c;c--;)S.push(new l({h:g,s:M,v:h})),h=(h+w)%1;return S},l.prototype.splitcomplement=function(){var c=this.toHsl(),m=c.h;return[this,new l({h:(m+72)%360,s:c.s,l:c.l}),new l({h:(m+216)%360,s:c.s,l:c.l})]},l.prototype.onBackground=function(c){var m=this.toRgb(),g=new l(c).toRgb(),M=m.a+g.a*(1-m.a);return new l({r:(m.r*m.a+g.r*g.a*(1-m.a))/M,g:(m.g*m.a+g.g*g.a*(1-m.a))/M,b:(m.b*m.a+g.b*g.a*(1-m.a))/M,a:M})},l.prototype.triad=function(){return this.polyad(3)},l.prototype.tetrad=function(){return this.polyad(4)},l.prototype.polyad=function(c){for(var m=this.toHsl(),g=m.h,M=[this],h=360/c,S=1;S1)&&(c=1),c}function d(c){return c<=1?"".concat(Number(c)*100,"%"):c}function l(c){return c.length===1?"0"+c:String(c)}},57127:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(28314),t=e(58757),o=e(26736),s=e(19075),n=e(75556),d=e(21319),l=t.createContext(null),c=l,m=e(29140),g=e(81334),M=[];function h(k,te){var Y=t.useState(function(){if(!(0,s.Z)())return null;var he=document.createElement("div");return he}),q=(0,a.Z)(Y,1),le=q[0],X=t.useRef(!1),W=t.useContext(c),x=t.useState(M),O=(0,a.Z)(x,2),_=O[0],U=O[1],A=W||(X.current?void 0:function(he){U(function(ge){var be=[he].concat((0,m.Z)(ge));return be})});function G(){le.parentElement||document.body.appendChild(le),X.current=!0}function de(){var he;(he=le.parentElement)===null||he===void 0||he.removeChild(le),X.current=!1}return(0,g.Z)(function(){return k?W?W(G):G():de(),de},[k]),(0,g.Z)(function(){_.length&&(_.forEach(function(he){return he()}),U(M))},[_]),[le,A]}var S=e(39678),w=e(17502);function C(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var z="rc-util-locker-".concat(Date.now()),$=0;function N(k){var te=!!k,Y=t.useState(function(){return $+=1,"".concat(z,"_").concat($)}),q=(0,a.Z)(Y,1),le=q[0];(0,g.Z)(function(){if(te){var X=(0,w.o)(document.body).width,W=C();(0,S.hq)(` +`,T=function(j){var K=(0,l.useContext)(c.default),k=K.csp,te=K.prefixCls,V=D;te&&(V=V.replace(/anticon/g,te)),(0,l.useEffect)(function(){var q=j.current,le=(0,n.getShadowRoot)(q);(0,s.updateCSS)(V,"@ant-design-icons",{prepend:!0,csp:k,attachTo:le})},[])}},20117:function(b,y,e){"use strict";e.d(y,{T6:function(){return h},VD:function(){return S},WE:function(){return l},Yt:function(){return w},lC:function(){return o},py:function(){return d},rW:function(){return t},s:function(){return m},ve:function(){return n},vq:function(){return c}});var a=e(33146);function t(C,F,Z){return{r:(0,a.sh)(C,255)*255,g:(0,a.sh)(F,255)*255,b:(0,a.sh)(Z,255)*255}}function o(C,F,Z){C=(0,a.sh)(C,255),F=(0,a.sh)(F,255),Z=(0,a.sh)(Z,255);var N=Math.max(C,F,Z),L=Math.min(C,F,Z),$=0,D=0,T=(N+L)/2;if(N===L)D=0,$=0;else{var j=N-L;switch(D=T>.5?j/(2-N-L):j/(N+L),N){case C:$=(F-Z)/j+(F1&&(Z-=1),Z<.16666666666666666?C+(F-C)*(6*Z):Z<.5?F:Z<.6666666666666666?C+(F-C)*(.6666666666666666-Z)*6:C}function n(C,F,Z){var N,L,$;if(C=(0,a.sh)(C,360),F=(0,a.sh)(F,100),Z=(0,a.sh)(Z,100),F===0)L=Z,$=Z,N=Z;else{var D=Z<.5?Z*(1+F):Z+F-Z*F,T=2*Z-D;N=s(T,D,C+.3333333333333333),L=s(T,D,C),$=s(T,D,C-.3333333333333333)}return{r:N*255,g:L*255,b:$*255}}function d(C,F,Z){C=(0,a.sh)(C,255),F=(0,a.sh)(F,255),Z=(0,a.sh)(Z,255);var N=Math.max(C,F,Z),L=Math.min(C,F,Z),$=0,D=N,T=N-L,j=N===0?0:T/N;if(N===L)$=0;else{switch(N){case C:$=(F-Z)/T+(F>16,g:(C&65280)>>8,b:C&255}}},53099:function(b,y,e){"use strict";e.d(y,{R:function(){return a}});var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},76981:function(b,y,e){"use strict";e.d(y,{uA:function(){return s}});var a=e(20117),t=e(53099),o=e(33146);function s(S){var w={r:0,g:0,b:0},C=1,F=null,Z=null,N=null,L=!1,$=!1;return typeof S=="string"&&(S=M(S)),typeof S=="object"&&(h(S.r)&&h(S.g)&&h(S.b)?(w=(0,a.rW)(S.r,S.g,S.b),L=!0,$=String(S.r).substr(-1)==="%"?"prgb":"rgb"):h(S.h)&&h(S.s)&&h(S.v)?(F=(0,o.JX)(S.s),Z=(0,o.JX)(S.v),w=(0,a.WE)(S.h,F,Z),L=!0,$="hsv"):h(S.h)&&h(S.s)&&h(S.l)&&(F=(0,o.JX)(S.s),N=(0,o.JX)(S.l),w=(0,a.ve)(S.h,F,N),L=!0,$="hsl"),Object.prototype.hasOwnProperty.call(S,"a")&&(C=S.a)),C=(0,o.Yq)(C),{ok:L,format:S.format||$,r:Math.min(255,Math.max(w.r,0)),g:Math.min(255,Math.max(w.g,0)),b:Math.min(255,Math.max(w.b,0)),a:C}}var n="[-\\+]?\\d+%?",d="[-\\+]?\\d*\\.\\d+%?",l="(?:".concat(d,")|(?:").concat(n,")"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),m="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),g={CSS_UNIT:new RegExp(l),rgb:new RegExp("rgb"+c),rgba:new RegExp("rgba"+m),hsl:new RegExp("hsl"+c),hsla:new RegExp("hsla"+m),hsv:new RegExp("hsv"+c),hsva:new RegExp("hsva"+m),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function M(S){if(S=S.trim().toLowerCase(),S.length===0)return!1;var w=!1;if(t.R[S])S=t.R[S],w=!0;else if(S==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var C=g.rgb.exec(S);return C?{r:C[1],g:C[2],b:C[3]}:(C=g.rgba.exec(S),C?{r:C[1],g:C[2],b:C[3],a:C[4]}:(C=g.hsl.exec(S),C?{h:C[1],s:C[2],l:C[3]}:(C=g.hsla.exec(S),C?{h:C[1],s:C[2],l:C[3],a:C[4]}:(C=g.hsv.exec(S),C?{h:C[1],s:C[2],v:C[3]}:(C=g.hsva.exec(S),C?{h:C[1],s:C[2],v:C[3],a:C[4]}:(C=g.hex8.exec(S),C?{r:(0,a.VD)(C[1]),g:(0,a.VD)(C[2]),b:(0,a.VD)(C[3]),a:(0,a.T6)(C[4]),format:w?"name":"hex8"}:(C=g.hex6.exec(S),C?{r:(0,a.VD)(C[1]),g:(0,a.VD)(C[2]),b:(0,a.VD)(C[3]),format:w?"name":"hex"}:(C=g.hex4.exec(S),C?{r:(0,a.VD)(C[1]+C[1]),g:(0,a.VD)(C[2]+C[2]),b:(0,a.VD)(C[3]+C[3]),a:(0,a.T6)(C[4]+C[4]),format:w?"name":"hex8"}:(C=g.hex3.exec(S),C?{r:(0,a.VD)(C[1]+C[1]),g:(0,a.VD)(C[2]+C[2]),b:(0,a.VD)(C[3]+C[3]),format:w?"name":"hex"}:!1)))))))))}function h(S){return!!g.CSS_UNIT.exec(String(S))}},66671:function(b,y,e){"use strict";e.d(y,{C:function(){return n}});var a=e(20117),t=e(53099),o=e(76981),s=e(33146),n=function(){function l(c,m){c===void 0&&(c=""),m===void 0&&(m={});var g;if(c instanceof l)return c;typeof c=="number"&&(c=(0,a.Yt)(c)),this.originalInput=c;var M=(0,o.uA)(c);this.originalInput=c,this.r=M.r,this.g=M.g,this.b=M.b,this.a=M.a,this.roundA=Math.round(100*this.a)/100,this.format=(g=m.format)!==null&&g!==void 0?g:M.format,this.gradientType=m.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=M.ok}return l.prototype.isDark=function(){return this.getBrightness()<128},l.prototype.isLight=function(){return!this.isDark()},l.prototype.getBrightness=function(){var c=this.toRgb();return(c.r*299+c.g*587+c.b*114)/1e3},l.prototype.getLuminance=function(){var c=this.toRgb(),m,g,M,h=c.r/255,S=c.g/255,w=c.b/255;return h<=.03928?m=h/12.92:m=Math.pow((h+.055)/1.055,2.4),S<=.03928?g=S/12.92:g=Math.pow((S+.055)/1.055,2.4),w<=.03928?M=w/12.92:M=Math.pow((w+.055)/1.055,2.4),.2126*m+.7152*g+.0722*M},l.prototype.getAlpha=function(){return this.a},l.prototype.setAlpha=function(c){return this.a=(0,s.Yq)(c),this.roundA=Math.round(100*this.a)/100,this},l.prototype.isMonochrome=function(){var c=this.toHsl().s;return c===0},l.prototype.toHsv=function(){var c=(0,a.py)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,v:c.v,a:this.a}},l.prototype.toHsvString=function(){var c=(0,a.py)(this.r,this.g,this.b),m=Math.round(c.h*360),g=Math.round(c.s*100),M=Math.round(c.v*100);return this.a===1?"hsv(".concat(m,", ").concat(g,"%, ").concat(M,"%)"):"hsva(".concat(m,", ").concat(g,"%, ").concat(M,"%, ").concat(this.roundA,")")},l.prototype.toHsl=function(){var c=(0,a.lC)(this.r,this.g,this.b);return{h:c.h*360,s:c.s,l:c.l,a:this.a}},l.prototype.toHslString=function(){var c=(0,a.lC)(this.r,this.g,this.b),m=Math.round(c.h*360),g=Math.round(c.s*100),M=Math.round(c.l*100);return this.a===1?"hsl(".concat(m,", ").concat(g,"%, ").concat(M,"%)"):"hsla(".concat(m,", ").concat(g,"%, ").concat(M,"%, ").concat(this.roundA,")")},l.prototype.toHex=function(c){return c===void 0&&(c=!1),(0,a.vq)(this.r,this.g,this.b,c)},l.prototype.toHexString=function(c){return c===void 0&&(c=!1),"#"+this.toHex(c)},l.prototype.toHex8=function(c){return c===void 0&&(c=!1),(0,a.s)(this.r,this.g,this.b,this.a,c)},l.prototype.toHex8String=function(c){return c===void 0&&(c=!1),"#"+this.toHex8(c)},l.prototype.toHexShortString=function(c){return c===void 0&&(c=!1),this.a===1?this.toHexString(c):this.toHex8String(c)},l.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},l.prototype.toRgbString=function(){var c=Math.round(this.r),m=Math.round(this.g),g=Math.round(this.b);return this.a===1?"rgb(".concat(c,", ").concat(m,", ").concat(g,")"):"rgba(".concat(c,", ").concat(m,", ").concat(g,", ").concat(this.roundA,")")},l.prototype.toPercentageRgb=function(){var c=function(m){return"".concat(Math.round((0,s.sh)(m,255)*100),"%")};return{r:c(this.r),g:c(this.g),b:c(this.b),a:this.a}},l.prototype.toPercentageRgbString=function(){var c=function(m){return Math.round((0,s.sh)(m,255)*100)};return this.a===1?"rgb(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%)"):"rgba(".concat(c(this.r),"%, ").concat(c(this.g),"%, ").concat(c(this.b),"%, ").concat(this.roundA,")")},l.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var c="#"+(0,a.vq)(this.r,this.g,this.b,!1),m=0,g=Object.entries(t.R);m=0,h=!m&&M&&(c.startsWith("hex")||c==="name");return h?c==="name"&&this.a===0?this.toName():this.toRgbString():(c==="rgb"&&(g=this.toRgbString()),c==="prgb"&&(g=this.toPercentageRgbString()),(c==="hex"||c==="hex6")&&(g=this.toHexString()),c==="hex3"&&(g=this.toHexString(!0)),c==="hex4"&&(g=this.toHex8String(!0)),c==="hex8"&&(g=this.toHex8String()),c==="name"&&(g=this.toName()),c==="hsl"&&(g=this.toHslString()),c==="hsv"&&(g=this.toHsvString()),g||this.toHexString())},l.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},l.prototype.clone=function(){return new l(this.toString())},l.prototype.lighten=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.l+=c/100,m.l=(0,s.V2)(m.l),new l(m)},l.prototype.brighten=function(c){c===void 0&&(c=10);var m=this.toRgb();return m.r=Math.max(0,Math.min(255,m.r-Math.round(255*-(c/100)))),m.g=Math.max(0,Math.min(255,m.g-Math.round(255*-(c/100)))),m.b=Math.max(0,Math.min(255,m.b-Math.round(255*-(c/100)))),new l(m)},l.prototype.darken=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.l-=c/100,m.l=(0,s.V2)(m.l),new l(m)},l.prototype.tint=function(c){return c===void 0&&(c=10),this.mix("white",c)},l.prototype.shade=function(c){return c===void 0&&(c=10),this.mix("black",c)},l.prototype.desaturate=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.s-=c/100,m.s=(0,s.V2)(m.s),new l(m)},l.prototype.saturate=function(c){c===void 0&&(c=10);var m=this.toHsl();return m.s+=c/100,m.s=(0,s.V2)(m.s),new l(m)},l.prototype.greyscale=function(){return this.desaturate(100)},l.prototype.spin=function(c){var m=this.toHsl(),g=(m.h+c)%360;return m.h=g<0?360+g:g,new l(m)},l.prototype.mix=function(c,m){m===void 0&&(m=50);var g=this.toRgb(),M=new l(c).toRgb(),h=m/100,S={r:(M.r-g.r)*h+g.r,g:(M.g-g.g)*h+g.g,b:(M.b-g.b)*h+g.b,a:(M.a-g.a)*h+g.a};return new l(S)},l.prototype.analogous=function(c,m){c===void 0&&(c=6),m===void 0&&(m=30);var g=this.toHsl(),M=360/m,h=[this];for(g.h=(g.h-(M*c>>1)+720)%360;--c;)g.h=(g.h+M)%360,h.push(new l(g));return h},l.prototype.complement=function(){var c=this.toHsl();return c.h=(c.h+180)%360,new l(c)},l.prototype.monochromatic=function(c){c===void 0&&(c=6);for(var m=this.toHsv(),g=m.h,M=m.s,h=m.v,S=[],w=1/c;c--;)S.push(new l({h:g,s:M,v:h})),h=(h+w)%1;return S},l.prototype.splitcomplement=function(){var c=this.toHsl(),m=c.h;return[this,new l({h:(m+72)%360,s:c.s,l:c.l}),new l({h:(m+216)%360,s:c.s,l:c.l})]},l.prototype.onBackground=function(c){var m=this.toRgb(),g=new l(c).toRgb(),M=m.a+g.a*(1-m.a);return new l({r:(m.r*m.a+g.r*g.a*(1-m.a))/M,g:(m.g*m.a+g.g*g.a*(1-m.a))/M,b:(m.b*m.a+g.b*g.a*(1-m.a))/M,a:M})},l.prototype.triad=function(){return this.polyad(3)},l.prototype.tetrad=function(){return this.polyad(4)},l.prototype.polyad=function(c){for(var m=this.toHsl(),g=m.h,M=[this],h=360/c,S=1;S1)&&(c=1),c}function d(c){return c<=1?"".concat(Number(c)*100,"%"):c}function l(c){return c.length===1?"0"+c:String(c)}},57127:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(28314),t=e(58757),o=e(26736),s=e(19075),n=e(75556),d=e(21319),l=t.createContext(null),c=l,m=e(29140),g=e(81334),M=[];function h(k,te){var V=t.useState(function(){if(!(0,s.Z)())return null;var pe=document.createElement("div");return pe}),q=(0,a.Z)(V,1),le=q[0],X=t.useRef(!1),W=t.useContext(c),x=t.useState(M),O=(0,a.Z)(x,2),_=O[0],U=O[1],A=W||(X.current?void 0:function(pe){U(function(ge){var be=[pe].concat((0,m.Z)(ge));return be})});function G(){le.parentElement||document.body.appendChild(le),X.current=!0}function fe(){var pe;(pe=le.parentElement)===null||pe===void 0||pe.removeChild(le),X.current=!1}return(0,g.Z)(function(){return k?W?W(G):G():fe(),fe},[k]),(0,g.Z)(function(){_.length&&(_.forEach(function(pe){return pe()}),U(M))},[_]),[le,A]}var S=e(39678),w=e(17502);function C(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var F="rc-util-locker-".concat(Date.now()),Z=0;function N(k){var te=!!k,V=t.useState(function(){return Z+=1,"".concat(F,"_").concat(Z)}),q=(0,a.Z)(V,1),le=q[0];(0,g.Z)(function(){if(te){var X=(0,w.o)(document.body).width,W=C();(0,S.hq)(` html body { overflow-y: hidden; `.concat(W?"width: calc(100% - ".concat(X,"px);"):"",` -}`),le)}else(0,S.jL)(le);return function(){(0,S.jL)(le)}},[te,le])}var L=!1;function B(k){return typeof k=="boolean"&&(L=k),L}var D=function(te){return te===!1?!1:!(0,s.Z)()||!te?null:typeof te=="string"?document.querySelector(te):typeof te=="function"?te():te},T=t.forwardRef(function(k,te){var Y=k.open,q=k.autoLock,le=k.getContainer,X=k.debug,W=k.autoDestroy,x=W===void 0?!0:W,O=k.children,_=t.useState(Y),U=(0,a.Z)(_,2),A=U[0],G=U[1],de=A||Y;t.useEffect(function(){(x||Y)&&G(Y)},[Y,x]);var he=t.useState(function(){return D(le)}),ge=(0,a.Z)(he,2),be=ge[0],Te=ge[1];t.useEffect(function(){var Ke=D(le);Te(Ke!=null?Ke:null)});var Ge=h(de&&!be,X),Je=(0,a.Z)(Ge,2),Qe=Je[0],pt=Je[1],Ct=be!=null?be:Qe;N(q&&Y&&(0,s.Z)()&&(Ct===Qe||Ct===document.body));var ft=null;if(O&&(0,d.Yr)(O)&&te){var Ht=O;ft=Ht.ref}var Ze=(0,d.x1)(ft,te);if(!de||!(0,s.Z)()||be===void 0)return null;var Xe=Ct===!1||B(),rt=O;return te&&(rt=t.cloneElement(O,{ref:Ze})),t.createElement(c.Provider,{value:pt},Xe?rt:(0,o.createPortal)(rt,Ct))}),j=T,K=j},99863:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ke}});var a=e(57370),t=e(28314),o=e(47075),s=e(57127),n=e(87608),d=e.n(n),l=e(19425),c=e(69188),m=e(4171),g=e(51729),M=e(97071),h=e(81334),S=e(21618),w=e(58757),C=e(26736),z=w.createContext(null),$=z;function N(ye){return ye?Array.isArray(ye)?ye:[ye]:[]}function L(ye,ne,H,R){return w.useMemo(function(){var P=N(H!=null?H:ne),ae=N(R!=null?R:ne),Q=new Set(P),ie=new Set(ae);return ye&&(Q.has("hover")&&(Q.delete("hover"),Q.add("click")),ie.has("hover")&&(ie.delete("hover"),ie.add("click"))),[Q,ie]},[ye,ne,H,R])}var B=e(46499);function D(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=arguments.length>2?arguments[2]:void 0;return H?ye[0]===ne[0]:ye[0]===ne[0]&&ye[1]===ne[1]}function T(ye,ne,H,R){for(var P=H.points,ae=Object.keys(ye),Q=0;Q1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ye)?ne:ye}function Y(ye){return te(parseFloat(ye),0)}function q(ye,ne){var H=(0,a.Z)({},ye);return(ne||[]).forEach(function(R){if(!(R instanceof HTMLBodyElement||R instanceof HTMLHtmlElement)){var P=K(R).getComputedStyle(R),ae=P.overflow,Q=P.overflowClipMargin,ie=P.borderTopWidth,me=P.borderBottomWidth,je=P.borderLeftWidth,Ee=P.borderRightWidth,Me=R.getBoundingClientRect(),We=R.offsetHeight,re=R.clientHeight,se=R.offsetWidth,J=R.clientWidth,ce=Y(ie),xe=Y(me),ue=Y(je),Ne=Y(Ee),Oe=te(Math.round(Me.width/se*1e3)/1e3),we=te(Math.round(Me.height/We*1e3)/1e3),Re=(se-J-ue-Ne)*Oe,st=(We-re-ce-xe)*we,tt=ce*we,Ye=xe*we,ke=ue*Oe,Be=Ne*Oe,it=0,Ve=0;if(ae==="clip"){var It=Y(Q);it=It*Oe,Ve=It*we}var _t=Me.x+ke-it,wt=Me.y+tt-Ve,jt=_t+Me.width+2*it-ke-Be-Re,Yt=wt+Me.height+2*Ve-tt-Ye-st;H.left=Math.max(H.left,_t),H.top=Math.max(H.top,wt),H.right=Math.min(H.right,jt),H.bottom=Math.min(H.bottom,Yt)}}),H}function le(ye){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,H="".concat(ne),R=H.match(/^(.*)\%$/);return R?ye*(parseFloat(R[1])/100):parseFloat(H)}function X(ye,ne){var H=ne||[],R=(0,t.Z)(H,2),P=R[0],ae=R[1];return[le(ye.width,P),le(ye.height,ae)]}function W(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ye[0],ye[1]]}function x(ye,ne){var H=ne[0],R=ne[1],P,ae;return H==="t"?ae=ye.y:H==="b"?ae=ye.y+ye.height:ae=ye.y+ye.height/2,R==="l"?P=ye.x:R==="r"?P=ye.x+ye.width:P=ye.x+ye.width/2,{x:P,y:ae}}function O(ye,ne){var H={t:"b",b:"t",l:"r",r:"l"};return ye.map(function(R,P){return P===ne?H[R]||"c":R}).join("")}function _(ye,ne,H,R,P,ae,Q){var ie=w.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:P[R]||{}}),me=(0,t.Z)(ie,2),je=me[0],Ee=me[1],Me=w.useRef(0),We=w.useMemo(function(){return ne?k(ne):[]},[ne]),re=w.useRef({}),se=function(){re.current={}};ye||se();var J=(0,g.Z)(function(){if(ne&&H&&ye){let va=function(eo,Va){var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yn,Cn=yt.x+eo,jn=yt.y+Va,er=Cn+Se,gr=jn+Ie,Wr=Math.max(Cn,Xt.left),ea=Math.max(jn,Xt.top),sr=Math.min(er,Xt.right),_r=Math.min(gr,Xt.bottom);return Math.max(0,(sr-Wr)*(_r-ea))},Na=function(){ar=yt.y+nn,br=ar+Ie,Kr=yt.x+un,ra=Kr+Se};var ue,Ne,Oe=ne,we=Oe.ownerDocument,Re=K(Oe),st=Re.getComputedStyle(Oe),tt=st.width,Ye=st.height,ke=st.position,Be=Oe.style.left,it=Oe.style.top,Ve=Oe.style.right,It=Oe.style.bottom,_t=(0,a.Z)((0,a.Z)({},P[R]),ae),wt=we.createElement("div");(ue=Oe.parentElement)===null||ue===void 0||ue.appendChild(wt),wt.style.left="".concat(Oe.offsetLeft,"px"),wt.style.top="".concat(Oe.offsetTop,"px"),wt.style.position=ke,wt.style.height="".concat(Oe.offsetHeight,"px"),wt.style.width="".concat(Oe.offsetWidth,"px"),Oe.style.left="0",Oe.style.top="0",Oe.style.right="auto",Oe.style.bottom="auto";var jt;if(Array.isArray(H))jt={x:H[0],y:H[1],width:0,height:0};else{var Yt=H.getBoundingClientRect();jt={x:Yt.x,y:Yt.y,width:Yt.width,height:Yt.height}}var yt=Oe.getBoundingClientRect(),ze=we.documentElement,nt=ze.clientWidth,Et=ze.clientHeight,lt=ze.scrollWidth,Gt=ze.scrollHeight,Rt=ze.scrollTop,Ot=ze.scrollLeft,Ie=yt.height,Se=yt.width,bt=jt.height,Pt=jt.width,He={left:0,top:0,right:nt,bottom:Et},qe={left:-Ot,top:-Rt,right:lt-Ot,bottom:Gt-Rt},Zt=_t.htmlRegion,Ut="visible",qt="visibleFirst";Zt!=="scroll"&&Zt!==qt&&(Zt=Ut);var ln=Zt===qt,En=q(qe,We),mn=q(He,We),Yn=Zt===Ut?mn:En,Gn=ln?mn:Yn;Oe.style.left="auto",Oe.style.top="auto",Oe.style.right="0",Oe.style.bottom="0";var ir=Oe.getBoundingClientRect();Oe.style.left=Be,Oe.style.top=it,Oe.style.right=Ve,Oe.style.bottom=It,(Ne=Oe.parentElement)===null||Ne===void 0||Ne.removeChild(wt);var mr=te(Math.round(Se/parseFloat(tt)*1e3)/1e3),Ft=te(Math.round(Ie/parseFloat(Ye)*1e3)/1e3);if(mr===0||Ft===0||(0,c.S)(H)&&!(0,B.Z)(H))return;var en=_t.offset,rn=_t.targetOffset,fn=X(yt,en),In=(0,t.Z)(fn,2),on=In[0],mt=In[1],gt=X(jt,rn),sn=(0,t.Z)(gt,2),Qt=sn[0],tn=sn[1];jt.x-=Qt,jt.y-=tn;var yn=_t.points||[],vn=(0,t.Z)(yn,2),Wn=vn[0],tr=vn[1],ut=W(tr),ct=W(Wn),At=x(jt,ut),xt=x(yt,ct),kt=(0,a.Z)({},_t),un=At.x-xt.x+on,nn=At.y-xt.y+mt,An=va(un,nn),zn=va(un,nn,mn),Er=x(jt,["t","l"]),nr=x(yt,["t","l"]),Fn=x(jt,["b","r"]),kr=x(yt,["b","r"]),hr=_t.overflow||{},la=hr.adjustX,zr=hr.adjustY,Zn=hr.shiftX,On=hr.shiftY,Tn=function(Va){return typeof Va=="boolean"?Va:Va>=0},ar,br,Kr,ra;Na();var pa=Tn(zr),fr=ct[0]===ut[0];if(pa&&ct[0]==="t"&&(br>Gn.bottom||re.current.bt)){var Ur=nn;fr?Ur-=Ie-bt:Ur=Er.y-kr.y-mt;var Ea=va(un,Ur),ha=va(un,Ur,mn);Ea>An||Ea===An&&(!ln||ha>=zn)?(re.current.bt=!0,nn=Ur,mt=-mt,kt.points=[O(ct,0),O(ut,0)]):re.current.bt=!1}if(pa&&ct[0]==="b"&&(arAn||Bn===An&&(!ln||yr>=zn)?(re.current.tb=!0,nn=Hn,mt=-mt,kt.points=[O(ct,0),O(ut,0)]):re.current.tb=!1}var Xr=Tn(la),Dr=ct[1]===ut[1];if(Xr&&ct[1]==="l"&&(ra>Gn.right||re.current.rl)){var Tt=un;Dr?Tt-=Se-Pt:Tt=Er.x-kr.x-on;var an=va(Tt,nn),bn=va(Tt,nn,mn);an>An||an===An&&(!ln||bn>=zn)?(re.current.rl=!0,un=Tt,on=-on,kt.points=[O(ct,1),O(ut,1)]):re.current.rl=!1}if(Xr&&ct[1]==="r"&&(KrAn||ho===An&&(!ln||$a>=zn)?(re.current.lr=!0,un=Xa,on=-on,kt.points=[O(ct,1),O(ut,1)]):re.current.lr=!1}Na();var Ua=Zn===!0?0:Zn;typeof Ua=="number"&&(Krmn.right&&(un-=ra-mn.right-on,jt.x>mn.right-Ua&&(un+=jt.x-mn.right+Ua)));var Ka=On===!0?0:On;typeof Ka=="number"&&(armn.bottom&&(nn-=br-mn.bottom-mt,jt.y>mn.bottom-Ka&&(nn+=jt.y-mn.bottom+Ka)));var wo=yt.x+un,No=wo+Se,yo=yt.y+nn,dt=yo+Ie,zt=jt.x,Ae=zt+Pt,dn=jt.y,Dn=dn+bt,Mn=Math.max(wo,zt),qn=Math.min(No,Ae),rr=(Mn+qn)/2,Hr=rr-wo,Da=Math.max(yo,dn),ia=Math.min(dt,Dn),Jr=(Da+ia)/2,aa=Jr-yo;Q==null||Q(ne,kt);var Pr=ir.right-yt.x-(un+yt.width),Zr=ir.bottom-yt.y-(nn+yt.height);Ee({ready:!0,offsetX:un/mr,offsetY:nn/Ft,offsetR:Pr/mr,offsetB:Zr/Ft,arrowX:Hr/mr,arrowY:aa/Ft,scaleX:mr,scaleY:Ft,align:kt})}}),ce=function(){Me.current+=1;var Ne=Me.current;Promise.resolve().then(function(){Me.current===Ne&&J()})},xe=function(){Ee(function(Ne){return(0,a.Z)((0,a.Z)({},Ne),{},{ready:!1})})};return(0,h.Z)(xe,[R]),(0,h.Z)(function(){ye||xe()},[ye]),[je.ready,je.offsetX,je.offsetY,je.offsetR,je.offsetB,je.arrowX,je.arrowY,je.scaleX,je.scaleY,je.align,ce]}var U=e(29140);function A(ye,ne,H,R,P){(0,h.Z)(function(){if(ye&&ne&&H){let Me=function(){R(),P()};var ae=ne,Q=H,ie=k(ae),me=k(Q),je=K(Q),Ee=new Set([je].concat((0,U.Z)(ie),(0,U.Z)(me)));return Ee.forEach(function(We){We.addEventListener("scroll",Me,{passive:!0})}),je.addEventListener("resize",Me,{passive:!0}),R(),function(){Ee.forEach(function(We){We.removeEventListener("scroll",Me),je.removeEventListener("resize",Me)})}}},[ye,ne,H])}var G=e(71219),de=e(61834);function he(ye,ne,H,R,P,ae,Q,ie){var me=w.useRef(ye),je=w.useRef(!1);me.current!==ye&&(je.current=!0,me.current=ye),w.useEffect(function(){var Ee=(0,de.Z)(function(){je.current=!1});return function(){de.Z.cancel(Ee)}},[ye]),w.useEffect(function(){if(ne&&R&&(!P||ae)){var Ee=function(){var ke=!1,Be=function(It){var _t=It.target;ke=Q(_t)},it=function(It){var _t=It.target;!je.current&&me.current&&!ke&&!Q(_t)&&ie(!1)};return[Be,it]},Me=Ee(),We=(0,t.Z)(Me,2),re=We[0],se=We[1],J=Ee(),ce=(0,t.Z)(J,2),xe=ce[0],ue=ce[1],Ne=K(R);Ne.addEventListener("mousedown",re,!0),Ne.addEventListener("click",se,!0),Ne.addEventListener("contextmenu",se,!0);var Oe=(0,m.A)(H);if(Oe&&(Oe.addEventListener("mousedown",xe,!0),Oe.addEventListener("click",ue,!0),Oe.addEventListener("contextmenu",ue,!0)),!1)var we,Re,st,tt;return function(){Ne.removeEventListener("mousedown",re,!0),Ne.removeEventListener("click",se,!0),Ne.removeEventListener("contextmenu",se,!0),Oe&&(Oe.removeEventListener("mousedown",xe,!0),Oe.removeEventListener("click",ue,!0),Oe.removeEventListener("contextmenu",ue,!0))}}},[ne,H,R,P,ae])}var ge=e(60698),be=e(17598),Te=e(21319);function Ge(ye){var ne=ye.prefixCls,H=ye.align,R=ye.arrow,P=ye.arrowPos,ae=R||{},Q=ae.className,ie=ae.content,me=P.x,je=me===void 0?0:me,Ee=P.y,Me=Ee===void 0?0:Ee,We=w.useRef();if(!H||!H.points)return null;var re={position:"absolute"};if(H.autoArrow!==!1){var se=H.points[0],J=H.points[1],ce=se[0],xe=se[1],ue=J[0],Ne=J[1];ce===ue||!["t","b"].includes(ce)?re.top=Me:ce==="t"?re.top=0:re.bottom=0,xe===Ne||!["l","r"].includes(xe)?re.left=je:xe==="l"?re.left=0:re.right=0}return w.createElement("div",{ref:We,className:d()("".concat(ne,"-arrow"),Q),style:re},ie)}function Je(ye){var ne=ye.prefixCls,H=ye.open,R=ye.zIndex,P=ye.mask,ae=ye.motion;return P?w.createElement(be.ZP,(0,ge.Z)({},ae,{motionAppear:!0,visible:H,removeOnLeave:!0}),function(Q){var ie=Q.className;return w.createElement("div",{style:{zIndex:R},className:d()("".concat(ne,"-mask"),ie)})}):null}var Qe=w.memo(function(ye){var ne=ye.children;return ne},function(ye,ne){return ne.cache}),pt=Qe,Ct=w.forwardRef(function(ye,ne){var H=ye.popup,R=ye.className,P=ye.prefixCls,ae=ye.style,Q=ye.target,ie=ye.onVisibleChanged,me=ye.open,je=ye.keepDom,Ee=ye.onClick,Me=ye.mask,We=ye.arrow,re=ye.arrowPos,se=ye.align,J=ye.motion,ce=ye.maskMotion,xe=ye.forceRender,ue=ye.getPopupContainer,Ne=ye.autoDestroy,Oe=ye.portal,we=ye.zIndex,Re=ye.onMouseEnter,st=ye.onMouseLeave,tt=ye.onPointerEnter,Ye=ye.ready,ke=ye.offsetX,Be=ye.offsetY,it=ye.offsetR,Ve=ye.offsetB,It=ye.onAlign,_t=ye.onPrepare,wt=ye.stretch,jt=ye.targetWidth,Yt=ye.targetHeight,yt=typeof H=="function"?H():H,ze=me||je,nt=(ue==null?void 0:ue.length)>0,Et=w.useState(!ue||!nt),lt=(0,t.Z)(Et,2),Gt=lt[0],Rt=lt[1];if((0,h.Z)(function(){!Gt&&nt&&Q&&Rt(!0)},[Gt,nt,Q]),!Gt)return null;var Ot="auto",Ie={left:"-1000vw",top:"-1000vh",right:Ot,bottom:Ot};if(Ye||!me){var Se=se.points,bt=se._experimental,Pt=bt==null?void 0:bt.dynamicInset,He=Pt&&Se[0][1]==="r",qe=Pt&&Se[0][0]==="b";He?(Ie.right=it,Ie.left=Ot):(Ie.left=ke,Ie.right=Ot),qe?(Ie.bottom=Ve,Ie.top=Ot):(Ie.top=Be,Ie.bottom=Ot)}var Zt={};return wt&&(wt.includes("height")&&Yt?Zt.height=Yt:wt.includes("minHeight")&&Yt&&(Zt.minHeight=Yt),wt.includes("width")&&jt?Zt.width=jt:wt.includes("minWidth")&&jt&&(Zt.minWidth=jt)),me||(Zt.pointerEvents="none"),w.createElement(Oe,{open:xe||ze,getContainer:ue&&function(){return ue(Q)},autoDestroy:Ne},w.createElement(Je,{prefixCls:P,open:me,zIndex:we,mask:Me,motion:ce}),w.createElement(l.Z,{onResize:It,disabled:!me},function(Ut){return w.createElement(be.ZP,(0,ge.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:xe,leavedClassName:"".concat(P,"-hidden")},J,{onAppearPrepare:_t,onEnterPrepare:_t,visible:me,onVisibleChanged:function(ln){var En;J==null||(En=J.onVisibleChanged)===null||En===void 0||En.call(J,ln),ie(ln)}}),function(qt,ln){var En=qt.className,mn=qt.style,Yn=d()(P,En,R);return w.createElement("div",{ref:(0,Te.sQ)(Ut,ne,ln),className:Yn,style:(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({"--arrow-x":"".concat(re.x||0,"px"),"--arrow-y":"".concat(re.y||0,"px")},Ie),Zt),mn),{},{boxSizing:"border-box",zIndex:we},ae),onMouseEnter:Re,onMouseLeave:st,onPointerEnter:tt,onClick:Ee},We&&w.createElement(Ge,{prefixCls:P,arrow:We,arrowPos:re,align:se}),w.createElement(pt,{cache:!me},yt))})}))}),ft=Ct,Ht=w.forwardRef(function(ye,ne){var H=ye.children,R=ye.getTriggerDOMNode,P=(0,Te.Yr)(H),ae=w.useCallback(function(ie){(0,Te.mH)(ne,R?R(ie):ie)},[R]),Q=(0,Te.x1)(ae,H.ref);return P?w.cloneElement(H,{ref:Q}):H}),Ze=Ht,Xe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function rt(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s.Z,ne=w.forwardRef(function(H,R){var P=H.prefixCls,ae=P===void 0?"rc-trigger-popup":P,Q=H.children,ie=H.action,me=ie===void 0?"hover":ie,je=H.showAction,Ee=H.hideAction,Me=H.popupVisible,We=H.defaultPopupVisible,re=H.onPopupVisibleChange,se=H.afterPopupVisibleChange,J=H.mouseEnterDelay,ce=H.mouseLeaveDelay,xe=ce===void 0?.1:ce,ue=H.focusDelay,Ne=H.blurDelay,Oe=H.mask,we=H.maskClosable,Re=we===void 0?!0:we,st=H.getPopupContainer,tt=H.forceRender,Ye=H.autoDestroy,ke=H.destroyPopupOnHide,Be=H.popup,it=H.popupClassName,Ve=H.popupStyle,It=H.popupPlacement,_t=H.builtinPlacements,wt=_t===void 0?{}:_t,jt=H.popupAlign,Yt=H.zIndex,yt=H.stretch,ze=H.getPopupClassNameFromAlign,nt=H.alignPoint,Et=H.onPopupClick,lt=H.onPopupAlign,Gt=H.arrow,Rt=H.popupMotion,Ot=H.maskMotion,Ie=H.popupTransitionName,Se=H.popupAnimation,bt=H.maskTransitionName,Pt=H.maskAnimation,He=H.className,qe=H.getTriggerDOMNode,Zt=(0,o.Z)(H,Xe),Ut=Ye||ke||!1,qt=w.useState(!1),ln=(0,t.Z)(qt,2),En=ln[0],mn=ln[1];(0,h.Z)(function(){mn((0,S.Z)())},[]);var Yn=w.useRef({}),Gn=w.useContext($),ir=w.useMemo(function(){return{registerSubPopup:function(_r,fa){Yn.current[_r]=fa,Gn==null||Gn.registerSubPopup(_r,fa)}}},[Gn]),mr=(0,M.Z)(),Ft=w.useState(null),en=(0,t.Z)(Ft,2),rn=en[0],fn=en[1],In=(0,g.Z)(function(sr){(0,c.S)(sr)&&rn!==sr&&fn(sr),Gn==null||Gn.registerSubPopup(mr,sr)}),on=w.useState(null),mt=(0,t.Z)(on,2),gt=mt[0],sn=mt[1],Qt=(0,g.Z)(function(sr){(0,c.S)(sr)&>!==sr&&sn(sr)}),tn=w.Children.only(Q),yn=(tn==null?void 0:tn.props)||{},vn={},Wn=(0,g.Z)(function(sr){var _r,fa,Oa=gt;return(Oa==null?void 0:Oa.contains(sr))||((_r=(0,m.A)(Oa))===null||_r===void 0?void 0:_r.host)===sr||sr===Oa||(rn==null?void 0:rn.contains(sr))||((fa=(0,m.A)(rn))===null||fa===void 0?void 0:fa.host)===sr||sr===rn||Object.values(Yn.current).some(function(Aa){return(Aa==null?void 0:Aa.contains(sr))||sr===Aa})}),tr=j(ae,Rt,Se,Ie),ut=j(ae,Ot,Pt,bt),ct=w.useState(We||!1),At=(0,t.Z)(ct,2),xt=At[0],kt=At[1],un=Me!=null?Me:xt,nn=(0,g.Z)(function(sr){Me===void 0&&kt(sr)});(0,h.Z)(function(){kt(Me||!1)},[Me]);var An=w.useRef(un);An.current=un;var zn=(0,g.Z)(function(sr){(0,C.flushSync)(function(){un!==sr&&(nn(sr),re==null||re(sr))})}),Er=w.useRef(),nr=function(){clearTimeout(Er.current)},Fn=function(_r){var fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;nr(),fa===0?zn(_r):Er.current=setTimeout(function(){zn(_r)},fa*1e3)};w.useEffect(function(){return nr},[]);var kr=w.useState(!1),hr=(0,t.Z)(kr,2),la=hr[0],zr=hr[1];(0,h.Z)(function(sr){(!sr||un)&&zr(!0)},[un]);var Zn=w.useState(null),On=(0,t.Z)(Zn,2),Tn=On[0],ar=On[1],br=w.useState([0,0]),Kr=(0,t.Z)(br,2),ra=Kr[0],pa=Kr[1],fr=function(_r){pa([_r.clientX,_r.clientY])},Ur=_(un,rn,nt?ra:gt,It,wt,jt,lt),Ea=(0,t.Z)(Ur,11),ha=Ea[0],Hn=Ea[1],Bn=Ea[2],yr=Ea[3],Xr=Ea[4],Dr=Ea[5],Tt=Ea[6],an=Ea[7],bn=Ea[8],Xa=Ea[9],ho=Ea[10],$a=L(En,me,je,Ee),Ua=(0,t.Z)($a,2),Ka=Ua[0],wo=Ua[1],No=Ka.has("click"),yo=wo.has("click")||wo.has("contextMenu"),dt=(0,g.Z)(function(){la||ho()}),zt=function(){An.current&&nt&&yo&&Fn(!1)};A(un,gt,rn,dt,zt),(0,h.Z)(function(){dt()},[ra,It]),(0,h.Z)(function(){un&&!(wt!=null&&wt[It])&&dt()},[JSON.stringify(jt)]);var Ae=w.useMemo(function(){var sr=T(wt,ae,Xa,nt);return d()(sr,ze==null?void 0:ze(Xa))},[Xa,ze,wt,ae,nt]);w.useImperativeHandle(R,function(){return{forceAlign:dt}});var dn=w.useState(0),Dn=(0,t.Z)(dn,2),Mn=Dn[0],qn=Dn[1],rr=w.useState(0),Hr=(0,t.Z)(rr,2),Da=Hr[0],ia=Hr[1],Jr=function(){if(yt&>){var _r=gt.getBoundingClientRect();qn(_r.width),ia(_r.height)}},aa=function(){Jr(),dt()},Pr=function(_r){zr(!1),ho(),se==null||se(_r)},Zr=function(){return new Promise(function(_r){Jr(),ar(function(){return _r})})};(0,h.Z)(function(){Tn&&(ho(),Tn(),ar(null))},[Tn]);function va(sr,_r,fa,Oa){vn[sr]=function(Aa){var qr;Oa==null||Oa(Aa),Fn(_r,fa);for(var go=arguments.length,xo=new Array(go>1?go-1:0),_a=1;_a1?fa-1:0),Aa=1;Aa1?fa-1:0),Aa=1;AaDate.now()/1e3};function n(){const{performance:C}=o;if(!C||!C.now)return;const z=Date.now()-C.now();return{now:()=>C.now(),timeOrigin:z}}function d(){try{return(0,a.l$)(b,"perf_hooks").performance}catch(C){return}}const l=(0,a.KV)()?d():n(),c=l===void 0?s:{nowSeconds:()=>(l.timeOrigin+l.now())/1e3},m=s.nowSeconds.bind(s),g=c.nowSeconds.bind(c),M=null,h=l!==void 0;let S;const w=(()=>{const{performance:C}=o;if(!C||!C.now){S="none";return}const z=3600*1e3,$=C.now(),N=Date.now(),L=C.timeOrigin?Math.abs(C.timeOrigin+$-N):z,B=LZ.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,Ce=>(Ce^(fe()&15)>>Ce/4).toString(16))}function T(V){return V.exception&&V.exception.values?V.exception.values[0]:void 0}function j(V){const{message:Z,event_id:fe}=V;if(Z)return Z;const Ce=T(V);return Ce?Ce.type&&Ce.value?`${Ce.type}: ${Ce.value}`:Ce.type||Ce.value||fe||"":fe||""}function K(V,Z,fe){const Ce=V.exception=V.exception||{},Le=Ce.values=Ce.values||[],et=Le[0]=Le[0]||{};et.value||(et.value=Z||""),et.type||(et.type=fe||"Error")}function k(V,Z){const fe=T(V);if(!fe)return;const Ce={type:"generic",handled:!0},Le=fe.mechanism;if(fe.mechanism=ka(ka(ka({},Ce),Le),Z),Z&&"data"in Z){const et=ka(ka({},Le&&Le.data),Z.data);fe.mechanism.data=et}}const te=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function Y(V){const Z=V.match(te)||[],fe=parseInt(Z[1],10),Ce=parseInt(Z[2],10),Le=parseInt(Z[3],10);return{buildmetadata:Z[5],major:isNaN(fe)?void 0:fe,minor:isNaN(Ce)?void 0:Ce,patch:isNaN(Le)?void 0:Le,prerelease:Z[4]}}function q(V,Z,fe=5){if(Z.lineno===void 0)return;const Ce=V.length,Le=Math.max(Math.min(Ce-1,Z.lineno-1),0);Z.pre_context=V.slice(Math.max(0,Le-fe),Le).map(et=>snipLine(et,0)),Z.context_line=snipLine(V[Math.min(Ce-1,Le)],Z.colno||0),Z.post_context=V.slice(Math.min(Le+1,Ce),Le+1+fe).map(et=>snipLine(et,0))}function le(V){if(V&&V.__sentry_captured__)return!0;try{addNonEnumerableProperty(V,"__sentry_captured__",!0)}catch(Z){}return!1}function X(V){return Array.isArray(V)?V:[V]}var W=e(43038);const x="Sentry Logger ",O=["debug","info","warn","error","log","assert","trace"];function _(V){if(!("console"in B.n2))return V();const Z=B.n2.console,fe={};O.forEach(Ce=>{const Le=Z[Ce]&&Z[Ce].__sentry_original__;Ce in Z&&Le&&(fe[Ce]=Z[Ce],Z[Ce]=Le)});try{return V()}finally{Object.keys(fe).forEach(Ce=>{Z[Ce]=fe[Ce]})}}function U(){let V=!1;const Z={enable:()=>{V=!0},disable:()=>{V=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?O.forEach(fe=>{Z[fe]=(...Ce)=>{V&&_(()=>{B.n2.console[fe](`${x}[${fe}]:`,...Ce)})}}):O.forEach(fe=>{Z[fe]=()=>{}}),Z}let A;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?A=(0,B.YO)("logger",U):A=U();const G="production",de=Object.prototype.toString;function he(V){switch(de.call(V)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ke(V,Error)}}function ge(V,Z){return de.call(V)===`[object ${Z}]`}function be(V){return ge(V,"ErrorEvent")}function Te(V){return ge(V,"DOMError")}function Ge(V){return ge(V,"DOMException")}function Je(V){return ge(V,"String")}function Qe(V){return V===null||typeof V!="object"&&typeof V!="function"}function pt(V){return ge(V,"Object")}function Ct(V){return typeof Event!="undefined"&&Ke(V,Event)}function ft(V){return typeof Element!="undefined"&&Ke(V,Element)}function Ht(V){return ge(V,"RegExp")}function Ze(V){return!!(V&&V.then&&typeof V.then=="function")}function Xe(V){return pt(V)&&"nativeEvent"in V&&"preventDefault"in V&&"stopPropagation"in V}function rt(V){return typeof V=="number"&&V!==V}function Ke(V,Z){try{return V instanceof Z}catch(fe){return!1}}var ye;(function(V){V[V.PENDING=0]="PENDING";const fe=1;V[V.RESOLVED=fe]="RESOLVED";const Ce=2;V[V.REJECTED=Ce]="REJECTED"})(ye||(ye={}));function ne(V){return new R(Z=>{Z(V)})}function H(V){return new R((Z,fe)=>{fe(V)})}class R{constructor(Z){R.prototype.__init.call(this),R.prototype.__init2.call(this),R.prototype.__init3.call(this),R.prototype.__init4.call(this),this._state=ye.PENDING,this._handlers=[];try{Z(this._resolve,this._reject)}catch(fe){this._reject(fe)}}then(Z,fe){return new R((Ce,Le)=>{this._handlers.push([!1,et=>{if(!Z)Ce(et);else try{Ce(Z(et))}catch(Mt){Le(Mt)}},et=>{if(!fe)Le(et);else try{Ce(fe(et))}catch(Mt){Le(Mt)}}]),this._executeHandlers()})}catch(Z){return this.then(fe=>fe,Z)}finally(Z){return new R((fe,Ce)=>{let Le,et;return this.then(Mt=>{et=!1,Le=Mt,Z&&Z()},Mt=>{et=!0,Le=Mt,Z&&Z()}).then(()=>{if(et){Ce(Le);return}fe(Le)})})}__init(){this._resolve=Z=>{this._setResult(ye.RESOLVED,Z)}}__init2(){this._reject=Z=>{this._setResult(ye.REJECTED,Z)}}__init3(){this._setResult=(Z,fe)=>{if(this._state===ye.PENDING){if(Ze(fe)){fe.then(this._resolve,this._reject);return}this._state=Z,this._value=fe,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===ye.PENDING)return;const Z=this._handlers.slice();this._handlers=[],Z.forEach(fe=>{fe[0]||(this._state===ye.RESOLVED&&fe[1](this._value),this._state===ye.REJECTED&&fe[2](this._value),fe[0]=!0)})}}}const P=(0,B.Rf)(),ae=80;function Q(V,Z={}){try{let fe=V;const Ce=5,Le=[];let et=0,Mt=0;const Dt=" > ",Vt=Dt.length;let cn;const hn=Array.isArray(Z)?Z:Z.keyAttrs,St=!Array.isArray(Z)&&Z.maxStringLength||ae;for(;fe&&et++1&&Mt+Le.length*Vt+cn.length>=St));)Le.push(cn),Mt+=cn.length,fe=fe.parentNode;return Le.reverse().join(Dt)}catch(fe){return""}}function ie(V,Z){const fe=V,Ce=[];let Le,et,Mt,Dt,Vt;if(!fe||!fe.tagName)return"";Ce.push(fe.tagName.toLowerCase());const cn=Z&&Z.length?Z.filter(St=>fe.getAttribute(St)).map(St=>[St,fe.getAttribute(St)]):null;if(cn&&cn.length)cn.forEach(St=>{Ce.push(`[${St[0]}="${St[1]}"]`)});else if(fe.id&&Ce.push(`#${fe.id}`),Le=fe.className,Le&&Je(Le))for(et=Le.split(/\s+/),Vt=0;VtCe&&(Z=Ce);let Le=Math.max(Z-60,0);Le<5&&(Le=0);let et=Math.min(Le+140,Ce);return et>Ce-5&&(et=Ce),et===Ce&&(Le=Math.max(et-140,0)),fe=fe.slice(Le,et),Le>0&&(fe=`'{snip} ${fe}`),etre(V,Ce,fe))}function J(V,Z,fe){if(!(Z in V))return;const Ce=V[Z],Le=fe(Ce);if(typeof Le=="function")try{xe(Le,Ce)}catch(et){}V[Z]=Le}function ce(V,Z,fe){Object.defineProperty(V,Z,{value:fe,writable:!0,configurable:!0})}function xe(V,Z){const fe=Z.prototype||{};V.prototype=Z.prototype=fe,ce(V,"__sentry_original__",Z)}function ue(V){return V.__sentry_original__}function Ne(V){return Object.keys(V).map(Z=>`${encodeURIComponent(Z)}=${encodeURIComponent(V[Z])}`).join("&")}function Oe(V){if(he(V))return ka({message:V.message,name:V.name,stack:V.stack},Re(V));if(Ct(V)){const Z=ka({type:V.type,target:we(V.target),currentTarget:we(V.currentTarget)},Re(V));return typeof CustomEvent!="undefined"&&Ke(V,CustomEvent)&&(Z.detail=V.detail),Z}else return V}function we(V){try{return ft(V)?Q(V):Object.prototype.toString.call(V)}catch(Z){return""}}function Re(V){if(typeof V=="object"&&V!==null){const Z={};for(const fe in V)Object.prototype.hasOwnProperty.call(V,fe)&&(Z[fe]=V[fe]);return Z}else return{}}function st(V,Z=40){const fe=Object.keys(Oe(V));if(fe.sort(),!fe.length)return"[object has no keys]";if(fe[0].length>=Z)return Ee(fe[0],Z);for(let Ce=fe.length;Ce>0;Ce--){const Le=fe.slice(0,Ce).join(", ");if(!(Le.length>Z))return Ce===fe.length?Le:Ee(Le,Z)}return""}function tt(V){return Ye(V,new Map)}function Ye(V,Z){if(pt(V)){const fe=Z.get(V);if(fe!==void 0)return fe;const Ce={};Z.set(V,Ce);for(const Le of Object.keys(V))typeof V[Le]!="undefined"&&(Ce[Le]=Ye(V[Le],Z));return Ce}if(Array.isArray(V)){const fe=Z.get(V);if(fe!==void 0)return fe;const Ce=[];return Z.set(V,Ce),V.forEach(Le=>{Ce.push(Ye(Le,Z))}),Ce}return V}function ke(V){let Z;switch(!0){case V==null:Z=new String(V);break;case(typeof V=="symbol"||typeof V=="bigint"):Z=Object(V);break;case isPrimitive(V):Z=new V.constructor(V);break;default:Z=V;break}return Z}function Be(V){const Z=(0,W.ph)(),fe={sid:D(),init:!0,timestamp:Z,started:Z,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>It(fe)};return V&&it(fe,V),fe}function it(V,Z={}){if(Z.user&&(!V.ipAddress&&Z.user.ip_address&&(V.ipAddress=Z.user.ip_address),!V.did&&!Z.did&&(V.did=Z.user.id||Z.user.email||Z.user.username)),V.timestamp=Z.timestamp||(0,W.ph)(),Z.ignoreDuration&&(V.ignoreDuration=Z.ignoreDuration),Z.sid&&(V.sid=Z.sid.length===32?Z.sid:D()),Z.init!==void 0&&(V.init=Z.init),!V.did&&Z.did&&(V.did=`${Z.did}`),typeof Z.started=="number"&&(V.started=Z.started),V.ignoreDuration)V.duration=void 0;else if(typeof Z.duration=="number")V.duration=Z.duration;else{const fe=V.timestamp-V.started;V.duration=fe>=0?fe:0}Z.release&&(V.release=Z.release),Z.environment&&(V.environment=Z.environment),!V.ipAddress&&Z.ipAddress&&(V.ipAddress=Z.ipAddress),!V.userAgent&&Z.userAgent&&(V.userAgent=Z.userAgent),typeof Z.errors=="number"&&(V.errors=Z.errors),Z.status&&(V.status=Z.status)}function Ve(V,Z){let fe={};Z?fe={status:Z}:V.status==="ok"&&(fe={status:"exited"}),it(V,fe)}function It(V){return tt({sid:`${V.sid}`,init:V.init,started:new Date(V.started*1e3).toISOString(),timestamp:new Date(V.timestamp*1e3).toISOString(),status:V.status,errors:V.errors,did:typeof V.did=="number"||typeof V.did=="string"?`${V.did}`:void 0,duration:V.duration,attrs:{release:V.release,environment:V.environment,ip_address:V.ipAddress,user_agent:V.userAgent}})}const _t=100;class wt{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=yt()}static clone(Z){const fe=new wt;return Z&&(fe._breadcrumbs=[...Z._breadcrumbs],fe._tags=ka({},Z._tags),fe._extra=ka({},Z._extra),fe._contexts=ka({},Z._contexts),fe._user=Z._user,fe._level=Z._level,fe._span=Z._span,fe._session=Z._session,fe._transactionName=Z._transactionName,fe._fingerprint=Z._fingerprint,fe._eventProcessors=[...Z._eventProcessors],fe._requestSession=Z._requestSession,fe._attachments=[...Z._attachments],fe._sdkProcessingMetadata=ka({},Z._sdkProcessingMetadata),fe._propagationContext=ka({},Z._propagationContext)),fe}addScopeListener(Z){this._scopeListeners.push(Z)}addEventProcessor(Z){return this._eventProcessors.push(Z),this}setUser(Z){return this._user=Z||{},this._session&&it(this._session,{user:Z}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(Z){return this._requestSession=Z,this}setTags(Z){return this._tags=ka(ka({},this._tags),Z),this._notifyScopeListeners(),this}setTag(Z,fe){return this._tags=Gs(ka({},this._tags),{[Z]:fe}),this._notifyScopeListeners(),this}setExtras(Z){return this._extra=ka(ka({},this._extra),Z),this._notifyScopeListeners(),this}setExtra(Z,fe){return this._extra=Gs(ka({},this._extra),{[Z]:fe}),this._notifyScopeListeners(),this}setFingerprint(Z){return this._fingerprint=Z,this._notifyScopeListeners(),this}setLevel(Z){return this._level=Z,this._notifyScopeListeners(),this}setTransactionName(Z){return this._transactionName=Z,this._notifyScopeListeners(),this}setContext(Z,fe){return fe===null?delete this._contexts[Z]:this._contexts[Z]=fe,this._notifyScopeListeners(),this}setSpan(Z){return this._span=Z,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const Z=this.getSpan();return Z&&Z.transaction}setSession(Z){return Z?this._session=Z:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(Z){if(!Z)return this;if(typeof Z=="function"){const fe=Z(this);return fe instanceof wt?fe:this}return Z instanceof wt?(this._tags=ka(ka({},this._tags),Z._tags),this._extra=ka(ka({},this._extra),Z._extra),this._contexts=ka(ka({},this._contexts),Z._contexts),Z._user&&Object.keys(Z._user).length&&(this._user=Z._user),Z._level&&(this._level=Z._level),Z._fingerprint&&(this._fingerprint=Z._fingerprint),Z._requestSession&&(this._requestSession=Z._requestSession),Z._propagationContext&&(this._propagationContext=Z._propagationContext)):pt(Z)&&(Z=Z,this._tags=ka(ka({},this._tags),Z.tags),this._extra=ka(ka({},this._extra),Z.extra),this._contexts=ka(ka({},this._contexts),Z.contexts),Z.user&&(this._user=Z.user),Z.level&&(this._level=Z.level),Z.fingerprint&&(this._fingerprint=Z.fingerprint),Z.requestSession&&(this._requestSession=Z.requestSession),Z.propagationContext&&(this._propagationContext=Z.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=yt(),this}addBreadcrumb(Z,fe){const Ce=typeof fe=="number"?fe:_t;if(Ce<=0)return this;const Le=ka({timestamp:(0,W.yW)()},Z);return this._breadcrumbs=[...this._breadcrumbs,Le].slice(-Ce),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(Z){return this._attachments.push(Z),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(Z,fe={}){if(this._extra&&Object.keys(this._extra).length&&(Z.extra=ka(ka({},this._extra),Z.extra)),this._tags&&Object.keys(this._tags).length&&(Z.tags=ka(ka({},this._tags),Z.tags)),this._user&&Object.keys(this._user).length&&(Z.user=ka(ka({},this._user),Z.user)),this._contexts&&Object.keys(this._contexts).length&&(Z.contexts=ka(ka({},this._contexts),Z.contexts)),this._level&&(Z.level=this._level),this._transactionName&&(Z.transaction=this._transactionName),this._span){Z.contexts=ka({trace:this._span.getTraceContext()},Z.contexts);const Ce=this._span.transaction;if(Ce){Z.sdkProcessingMetadata=ka({dynamicSamplingContext:Ce.getDynamicSamplingContext()},Z.sdkProcessingMetadata);const Le=Ce.name;Le&&(Z.tags=ka({transaction:Le},Z.tags))}}return this._applyFingerprint(Z),Z.breadcrumbs=[...Z.breadcrumbs||[],...this._breadcrumbs],Z.breadcrumbs=Z.breadcrumbs.length>0?Z.breadcrumbs:void 0,Z.sdkProcessingMetadata=Gs(ka(ka({},Z.sdkProcessingMetadata),this._sdkProcessingMetadata),{propagationContext:this._propagationContext}),this._notifyEventProcessors([...jt(),...this._eventProcessors],Z,fe)}setSDKProcessingMetadata(Z){return this._sdkProcessingMetadata=ka(ka({},this._sdkProcessingMetadata),Z),this}setPropagationContext(Z){return this._propagationContext=Z,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(Z,fe,Ce,Le=0){return new R((et,Mt)=>{const Dt=Z[Le];if(fe===null||typeof Dt!="function")et(fe);else{const Vt=Dt(ka({},fe),Ce);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Dt.id&&Vt===null&&A.log(`Event processor "${Dt.id}" dropped event`),Ze(Vt)?Vt.then(cn=>this._notifyEventProcessors(Z,cn,Ce,Le+1).then(et)).then(null,Mt):this._notifyEventProcessors(Z,Vt,Ce,Le+1).then(et).then(null,Mt)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(Z=>{Z(this)}),this._notifyingListeners=!1)}_applyFingerprint(Z){Z.fingerprint=Z.fingerprint?X(Z.fingerprint):[],this._fingerprint&&(Z.fingerprint=Z.fingerprint.concat(this._fingerprint)),Z.fingerprint&&!Z.fingerprint.length&&delete Z.fingerprint}}function jt(){return(0,B.YO)("globalEventProcessors",()=>[])}function Yt(V){jt().push(V)}function yt(){return{traceId:D(),spanId:D().substring(16),sampled:!1}}const ze=4,nt=100;class Et{constructor(Z,fe=new wt,Ce=ze){this._version=Ce,this._stack=[{scope:fe}],Z&&this.bindClient(Z)}isOlderThan(Z){return this._version{et.captureException(Z,Gs(ka({originalException:Z,syntheticException:Le},fe),{event_id:Ce}),Mt)}),Ce}captureMessage(Z,fe,Ce){const Le=this._lastEventId=Ce&&Ce.event_id?Ce.event_id:D(),et=new Error(Z);return this._withClient((Mt,Dt)=>{Mt.captureMessage(Z,fe,Gs(ka({originalException:Z,syntheticException:et},Ce),{event_id:Le}),Dt)}),Le}captureEvent(Z,fe){const Ce=fe&&fe.event_id?fe.event_id:D();return Z.type||(this._lastEventId=Ce),this._withClient((Le,et)=>{Le.captureEvent(Z,Gs(ka({},fe),{event_id:Ce}),et)}),Ce}lastEventId(){return this._lastEventId}addBreadcrumb(Z,fe){const{scope:Ce,client:Le}=this.getStackTop();if(!Le)return;const{beforeBreadcrumb:et=null,maxBreadcrumbs:Mt=nt}=Le.getOptions&&Le.getOptions()||{};if(Mt<=0)return;const Dt=(0,W.yW)(),Vt=ka({timestamp:Dt},Z),cn=et?_(()=>et(Vt,fe)):Vt;cn!==null&&(Le.emit&&Le.emit("beforeAddBreadcrumb",cn,fe),Ce.addBreadcrumb(cn,Mt))}setUser(Z){this.getScope().setUser(Z)}setTags(Z){this.getScope().setTags(Z)}setExtras(Z){this.getScope().setExtras(Z)}setTag(Z,fe){this.getScope().setTag(Z,fe)}setExtra(Z,fe){this.getScope().setExtra(Z,fe)}setContext(Z,fe){this.getScope().setContext(Z,fe)}configureScope(Z){const{scope:fe,client:Ce}=this.getStackTop();Ce&&Z(fe)}run(Z){const fe=Gt(this);try{Z(this)}finally{Gt(fe)}}getIntegration(Z){const fe=this.getClient();if(!fe)return null;try{return fe.getIntegration(Z)}catch(Ce){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Cannot retrieve integration ${Z.id} from the current Hub`),null}}startTransaction(Z,fe){const Ce=this._callExtensionMethod("startTransaction",Z,fe);if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&!Ce){const Le=this.getClient();console.warn(Le?`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': +}`),le)}else(0,S.jL)(le);return function(){(0,S.jL)(le)}},[te,le])}var L=!1;function $(k){return typeof k=="boolean"&&(L=k),L}var D=function(te){return te===!1?!1:!(0,s.Z)()||!te?null:typeof te=="string"?document.querySelector(te):typeof te=="function"?te():te},T=t.forwardRef(function(k,te){var V=k.open,q=k.autoLock,le=k.getContainer,X=k.debug,W=k.autoDestroy,x=W===void 0?!0:W,O=k.children,_=t.useState(V),U=(0,a.Z)(_,2),A=U[0],G=U[1],fe=A||V;t.useEffect(function(){(x||V)&&G(V)},[V,x]);var pe=t.useState(function(){return D(le)}),ge=(0,a.Z)(pe,2),be=ge[0],Te=ge[1];t.useEffect(function(){var Ke=D(le);Te(Ke!=null?Ke:null)});var Ge=h(fe&&!be,X),Je=(0,a.Z)(Ge,2),Qe=Je[0],pt=Je[1],Et=be!=null?be:Qe;N(q&&V&&(0,s.Z)()&&(Et===Qe||Et===document.body));var ft=null;if(O&&(0,d.Yr)(O)&&te){var Wt=O;ft=Wt.ref}var $e=(0,d.x1)(ft,te);if(!fe||!(0,s.Z)()||be===void 0)return null;var Xe=Et===!1||$(),nt=O;return te&&(nt=t.cloneElement(O,{ref:$e})),t.createElement(c.Provider,{value:pt},Xe?nt:(0,o.createPortal)(nt,Et))}),j=T,K=j},99863:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ke}});var a=e(57370),t=e(28314),o=e(47075),s=e(57127),n=e(87608),d=e.n(n),l=e(19425),c=e(69188),m=e(4171),g=e(51729),M=e(97071),h=e(81334),S=e(21618),w=e(58757),C=e(26736),F=w.createContext(null),Z=F;function N(ye){return ye?Array.isArray(ye)?ye:[ye]:[]}function L(ye,ne,H,R){return w.useMemo(function(){var P=N(H!=null?H:ne),ae=N(R!=null?R:ne),Q=new Set(P),ie=new Set(ae);return ye&&(Q.has("hover")&&(Q.delete("hover"),Q.add("click")),ie.has("hover")&&(ie.delete("hover"),ie.add("click"))),[Q,ie]},[ye,ne,H,R])}var $=e(46499);function D(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],H=arguments.length>2?arguments[2]:void 0;return H?ye[0]===ne[0]:ye[0]===ne[0]&&ye[1]===ne[1]}function T(ye,ne,H,R){for(var P=H.points,ae=Object.keys(ye),Q=0;Q1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(ye)?ne:ye}function V(ye){return te(parseFloat(ye),0)}function q(ye,ne){var H=(0,a.Z)({},ye);return(ne||[]).forEach(function(R){if(!(R instanceof HTMLBodyElement||R instanceof HTMLHtmlElement)){var P=K(R).getComputedStyle(R),ae=P.overflow,Q=P.overflowClipMargin,ie=P.borderTopWidth,me=P.borderBottomWidth,je=P.borderLeftWidth,Ee=P.borderRightWidth,Me=R.getBoundingClientRect(),We=R.offsetHeight,re=R.clientHeight,se=R.offsetWidth,J=R.clientWidth,de=V(ie),xe=V(me),ce=V(je),Le=V(Ee),Oe=te(Math.round(Me.width/se*1e3)/1e3),we=te(Math.round(Me.height/We*1e3)/1e3),Ne=(se-J-ce-Le)*Oe,st=(We-re-de-xe)*we,et=de*we,Ye=xe*we,ke=ce*Oe,Be=Le*Oe,it=0,Ve=0;if(ae==="clip"){var xt=V(Q);it=xt*Oe,Ve=xt*we}var Ht=Me.x+ke-it,Ot=Me.y+et-Ve,wt=Ht+Me.width+2*it-ke-Be-Ne,_t=Ot+Me.height+2*Ve-et-Ye-st;H.left=Math.max(H.left,Ht),H.top=Math.max(H.top,Ot),H.right=Math.min(H.right,wt),H.bottom=Math.min(H.bottom,_t)}}),H}function le(ye){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,H="".concat(ne),R=H.match(/^(.*)\%$/);return R?ye*(parseFloat(R[1])/100):parseFloat(H)}function X(ye,ne){var H=ne||[],R=(0,t.Z)(H,2),P=R[0],ae=R[1];return[le(ye.width,P),le(ye.height,ae)]}function W(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[ye[0],ye[1]]}function x(ye,ne){var H=ne[0],R=ne[1],P,ae;return H==="t"?ae=ye.y:H==="b"?ae=ye.y+ye.height:ae=ye.y+ye.height/2,R==="l"?P=ye.x:R==="r"?P=ye.x+ye.width:P=ye.x+ye.width/2,{x:P,y:ae}}function O(ye,ne){var H={t:"b",b:"t",l:"r",r:"l"};return ye.map(function(R,P){return P===ne?H[R]||"c":R}).join("")}function _(ye,ne,H,R,P,ae,Q){var ie=w.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:P[R]||{}}),me=(0,t.Z)(ie,2),je=me[0],Ee=me[1],Me=w.useRef(0),We=w.useMemo(function(){return ne?k(ne):[]},[ne]),re=w.useRef({}),se=function(){re.current={}};ye||se();var J=(0,g.Z)(function(){if(ne&&H&&ye){let ca=function(eo,Va){var Xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Gn,In=yt.x+eo,Tn=yt.y+Va,tr=In+Se,yr=Tn+Ie,Wr=Math.max(In,Xt.left),ea=Math.max(Tn,Xt.top),dr=Math.min(tr,Xt.right),_r=Math.min(yr,Xt.bottom);return Math.max(0,(dr-Wr)*(_r-ea))},Ta=function(){sr=yt.y+rn,Er=sr+Ie,Kr=yt.x+cn,ta=Kr+Se};var ce,Le,Oe=ne,we=Oe.ownerDocument,Ne=K(Oe),st=Ne.getComputedStyle(Oe),et=st.width,Ye=st.height,ke=st.position,Be=Oe.style.left,it=Oe.style.top,Ve=Oe.style.right,xt=Oe.style.bottom,Ht=(0,a.Z)((0,a.Z)({},P[R]),ae),Ot=we.createElement("div");(ce=Oe.parentElement)===null||ce===void 0||ce.appendChild(Ot),Ot.style.left="".concat(Oe.offsetLeft,"px"),Ot.style.top="".concat(Oe.offsetTop,"px"),Ot.style.position=ke,Ot.style.height="".concat(Oe.offsetHeight,"px"),Ot.style.width="".concat(Oe.offsetWidth,"px"),Oe.style.left="0",Oe.style.top="0",Oe.style.right="auto",Oe.style.bottom="auto";var wt;if(Array.isArray(H))wt={x:H[0],y:H[1],width:0,height:0};else{var _t=H.getBoundingClientRect();wt={x:_t.x,y:_t.y,width:_t.width,height:_t.height}}var yt=Oe.getBoundingClientRect(),ze=we.documentElement,tt=ze.clientWidth,St=ze.clientHeight,lt=ze.scrollWidth,Gt=ze.scrollHeight,Nt=ze.scrollTop,At=ze.scrollLeft,Ie=yt.height,Se=yt.width,bt=wt.height,jt=wt.width,He={left:0,top:0,right:tt,bottom:St},qe={left:-At,top:-Nt,right:lt-At,bottom:Gt-Nt},$t=Ht.htmlRegion,Zt="visible",qt="visibleFirst";$t!=="scroll"&&$t!==qt&&($t=Zt);var un=$t===qt,xn=q(qe,We),pn=q(He,We),Gn=$t===Zt?pn:xn,Qn=un?pn:Gn;Oe.style.left="auto",Oe.style.top="auto",Oe.style.right="0",Oe.style.bottom="0";var ur=Oe.getBoundingClientRect();Oe.style.left=Be,Oe.style.top=it,Oe.style.right=Ve,Oe.style.bottom=xt,(Le=Oe.parentElement)===null||Le===void 0||Le.removeChild(Ot);var br=te(Math.round(Se/parseFloat(et)*1e3)/1e3),zt=te(Math.round(Ie/parseFloat(Ye)*1e3)/1e3);if(br===0||zt===0||(0,c.S)(H)&&!(0,$.Z)(H))return;var en=Ht.offset,an=Ht.targetOffset,vn=X(yt,en),An=(0,t.Z)(vn,2),sn=An[0],mt=An[1],gt=X(wt,an),ln=(0,t.Z)(gt,2),Qt=ln[0],tn=ln[1];wt.x-=Qt,wt.y-=tn;var yn=Ht.points||[],gn=(0,t.Z)(yn,2),_n=gn[0],nr=gn[1],ut=W(nr),ct=W(_n),It=x(wt,ut),Ct=x(yt,ct),Ut=(0,a.Z)({},Ht),cn=It.x-Ct.x+sn,rn=It.y-Ct.y+mt,Dn=ca(cn,rn),Bn=ca(cn,rn,pn),Cr=x(wt,["t","l"]),rr=x(yt,["t","l"]),$n=x(wt,["b","r"]),kr=x(yt,["b","r"]),Mr=Ht.overflow||{},ia=Mr.adjustX,zr=Mr.adjustY,Wn=Mr.shiftX,wn=Mr.shiftY,Rn=function(Va){return typeof Va=="boolean"?Va:Va>=0},sr,Er,Kr,ta;Ta();var ga=Rn(zr),pr=ct[0]===ut[0];if(ga&&ct[0]==="t"&&(Er>Qn.bottom||re.current.bt)){var Ur=rn;pr?Ur-=Ie-bt:Ur=Cr.y-kr.y-mt;var Ma=ca(cn,Ur),ma=ca(cn,Ur,pn);Ma>Dn||Ma===Dn&&(!un||ma>=Bn)?(re.current.bt=!0,rn=Ur,mt=-mt,Ut.points=[O(ct,0),O(ut,0)]):re.current.bt=!1}if(ga&&ct[0]==="b"&&(srDn||Zn===Dn&&(!un||Sr>=Bn)?(re.current.tb=!0,rn=Yn,mt=-mt,Ut.points=[O(ct,0),O(ut,0)]):re.current.tb=!1}var Xr=Rn(ia),wr=ct[1]===ut[1];if(Xr&&ct[1]==="l"&&(ta>Qn.right||re.current.rl)){var Pt=cn;wr?Pt-=Se-jt:Pt=Cr.x-kr.x-sn;var on=ca(Pt,rn),Mn=ca(Pt,rn,pn);on>Dn||on===Dn&&(!un||Mn>=Bn)?(re.current.rl=!0,cn=Pt,sn=-sn,Ut.points=[O(ct,1),O(ut,1)]):re.current.rl=!1}if(Xr&&ct[1]==="r"&&(KrDn||mo===Dn&&(!un||Ua>=Bn)?(re.current.lr=!0,cn=Ja,sn=-sn,Ut.points=[O(ct,1),O(ut,1)]):re.current.lr=!1}Ta();var ka=Wn===!0?0:Wn;typeof ka=="number"&&(Krpn.right&&(cn-=ta-pn.right-sn,wt.x>pn.right-ka&&(cn+=wt.x-pn.right+ka)));var Qa=wn===!0?0:wn;typeof Qa=="number"&&(srpn.bottom&&(rn-=Er-pn.bottom-mt,wt.y>pn.bottom-Qa&&(rn+=wt.y-pn.bottom+Qa)));var wo=yt.x+cn,No=wo+Se,ho=yt.y+rn,dt=ho+Ie,Rt=wt.x,Ae=Rt+jt,dn=wt.y,Pn=dn+bt,Sn=Math.max(wo,Rt),er=Math.min(No,Ae),ir=(Sn+er)/2,Hr=ir-wo,Oa=Math.max(ho,dn),oa=Math.min(dt,Pn),Jr=(Oa+oa)/2,na=Jr-ho;Q==null||Q(ne,Ut);var Lr=ur.right-yt.x-(cn+yt.width),Zr=ur.bottom-yt.y-(rn+yt.height);Ee({ready:!0,offsetX:cn/br,offsetY:rn/zt,offsetR:Lr/br,offsetB:Zr/zt,arrowX:Hr/br,arrowY:na/zt,scaleX:br,scaleY:zt,align:Ut})}}),de=function(){Me.current+=1;var Le=Me.current;Promise.resolve().then(function(){Me.current===Le&&J()})},xe=function(){Ee(function(Le){return(0,a.Z)((0,a.Z)({},Le),{},{ready:!1})})};return(0,h.Z)(xe,[R]),(0,h.Z)(function(){ye||xe()},[ye]),[je.ready,je.offsetX,je.offsetY,je.offsetR,je.offsetB,je.arrowX,je.arrowY,je.scaleX,je.scaleY,je.align,de]}var U=e(29140);function A(ye,ne,H,R,P){(0,h.Z)(function(){if(ye&&ne&&H){let Me=function(){R(),P()};var ae=ne,Q=H,ie=k(ae),me=k(Q),je=K(Q),Ee=new Set([je].concat((0,U.Z)(ie),(0,U.Z)(me)));return Ee.forEach(function(We){We.addEventListener("scroll",Me,{passive:!0})}),je.addEventListener("resize",Me,{passive:!0}),R(),function(){Ee.forEach(function(We){We.removeEventListener("scroll",Me),je.removeEventListener("resize",Me)})}}},[ye,ne,H])}var G=e(71219),fe=e(61834);function pe(ye,ne,H,R,P,ae,Q,ie){var me=w.useRef(ye),je=w.useRef(!1);me.current!==ye&&(je.current=!0,me.current=ye),w.useEffect(function(){var Ee=(0,fe.Z)(function(){je.current=!1});return function(){fe.Z.cancel(Ee)}},[ye]),w.useEffect(function(){if(ne&&R&&(!P||ae)){var Ee=function(){var ke=!1,Be=function(xt){var Ht=xt.target;ke=Q(Ht)},it=function(xt){var Ht=xt.target;!je.current&&me.current&&!ke&&!Q(Ht)&&ie(!1)};return[Be,it]},Me=Ee(),We=(0,t.Z)(Me,2),re=We[0],se=We[1],J=Ee(),de=(0,t.Z)(J,2),xe=de[0],ce=de[1],Le=K(R);Le.addEventListener("mousedown",re,!0),Le.addEventListener("click",se,!0),Le.addEventListener("contextmenu",se,!0);var Oe=(0,m.A)(H);if(Oe&&(Oe.addEventListener("mousedown",xe,!0),Oe.addEventListener("click",ce,!0),Oe.addEventListener("contextmenu",ce,!0)),!1)var we,Ne,st,et;return function(){Le.removeEventListener("mousedown",re,!0),Le.removeEventListener("click",se,!0),Le.removeEventListener("contextmenu",se,!0),Oe&&(Oe.removeEventListener("mousedown",xe,!0),Oe.removeEventListener("click",ce,!0),Oe.removeEventListener("contextmenu",ce,!0))}}},[ne,H,R,P,ae])}var ge=e(60698),be=e(17598),Te=e(21319);function Ge(ye){var ne=ye.prefixCls,H=ye.align,R=ye.arrow,P=ye.arrowPos,ae=R||{},Q=ae.className,ie=ae.content,me=P.x,je=me===void 0?0:me,Ee=P.y,Me=Ee===void 0?0:Ee,We=w.useRef();if(!H||!H.points)return null;var re={position:"absolute"};if(H.autoArrow!==!1){var se=H.points[0],J=H.points[1],de=se[0],xe=se[1],ce=J[0],Le=J[1];de===ce||!["t","b"].includes(de)?re.top=Me:de==="t"?re.top=0:re.bottom=0,xe===Le||!["l","r"].includes(xe)?re.left=je:xe==="l"?re.left=0:re.right=0}return w.createElement("div",{ref:We,className:d()("".concat(ne,"-arrow"),Q),style:re},ie)}function Je(ye){var ne=ye.prefixCls,H=ye.open,R=ye.zIndex,P=ye.mask,ae=ye.motion;return P?w.createElement(be.ZP,(0,ge.Z)({},ae,{motionAppear:!0,visible:H,removeOnLeave:!0}),function(Q){var ie=Q.className;return w.createElement("div",{style:{zIndex:R},className:d()("".concat(ne,"-mask"),ie)})}):null}var Qe=w.memo(function(ye){var ne=ye.children;return ne},function(ye,ne){return ne.cache}),pt=Qe,Et=w.forwardRef(function(ye,ne){var H=ye.popup,R=ye.className,P=ye.prefixCls,ae=ye.style,Q=ye.target,ie=ye.onVisibleChanged,me=ye.open,je=ye.keepDom,Ee=ye.onClick,Me=ye.mask,We=ye.arrow,re=ye.arrowPos,se=ye.align,J=ye.motion,de=ye.maskMotion,xe=ye.forceRender,ce=ye.getPopupContainer,Le=ye.autoDestroy,Oe=ye.portal,we=ye.zIndex,Ne=ye.onMouseEnter,st=ye.onMouseLeave,et=ye.onPointerEnter,Ye=ye.ready,ke=ye.offsetX,Be=ye.offsetY,it=ye.offsetR,Ve=ye.offsetB,xt=ye.onAlign,Ht=ye.onPrepare,Ot=ye.stretch,wt=ye.targetWidth,_t=ye.targetHeight,yt=typeof H=="function"?H():H,ze=me||je,tt=(ce==null?void 0:ce.length)>0,St=w.useState(!ce||!tt),lt=(0,t.Z)(St,2),Gt=lt[0],Nt=lt[1];if((0,h.Z)(function(){!Gt&&tt&&Q&&Nt(!0)},[Gt,tt,Q]),!Gt)return null;var At="auto",Ie={left:"-1000vw",top:"-1000vh",right:At,bottom:At};if(Ye||!me){var Se=se.points,bt=se._experimental,jt=bt==null?void 0:bt.dynamicInset,He=jt&&Se[0][1]==="r",qe=jt&&Se[0][0]==="b";He?(Ie.right=it,Ie.left=At):(Ie.left=ke,Ie.right=At),qe?(Ie.bottom=Ve,Ie.top=At):(Ie.top=Be,Ie.bottom=At)}var $t={};return Ot&&(Ot.includes("height")&&_t?$t.height=_t:Ot.includes("minHeight")&&_t&&($t.minHeight=_t),Ot.includes("width")&&wt?$t.width=wt:Ot.includes("minWidth")&&wt&&($t.minWidth=wt)),me||($t.pointerEvents="none"),w.createElement(Oe,{open:xe||ze,getContainer:ce&&function(){return ce(Q)},autoDestroy:Le},w.createElement(Je,{prefixCls:P,open:me,zIndex:we,mask:Me,motion:de}),w.createElement(l.Z,{onResize:xt,disabled:!me},function(Zt){return w.createElement(be.ZP,(0,ge.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:xe,leavedClassName:"".concat(P,"-hidden")},J,{onAppearPrepare:Ht,onEnterPrepare:Ht,visible:me,onVisibleChanged:function(un){var xn;J==null||(xn=J.onVisibleChanged)===null||xn===void 0||xn.call(J,un),ie(un)}}),function(qt,un){var xn=qt.className,pn=qt.style,Gn=d()(P,xn,R);return w.createElement("div",{ref:(0,Te.sQ)(Zt,ne,un),className:Gn,style:(0,a.Z)((0,a.Z)((0,a.Z)((0,a.Z)({"--arrow-x":"".concat(re.x||0,"px"),"--arrow-y":"".concat(re.y||0,"px")},Ie),$t),pn),{},{boxSizing:"border-box",zIndex:we},ae),onMouseEnter:Ne,onMouseLeave:st,onPointerEnter:et,onClick:Ee},We&&w.createElement(Ge,{prefixCls:P,arrow:We,arrowPos:re,align:se}),w.createElement(pt,{cache:!me},yt))})}))}),ft=Et,Wt=w.forwardRef(function(ye,ne){var H=ye.children,R=ye.getTriggerDOMNode,P=(0,Te.Yr)(H),ae=w.useCallback(function(ie){(0,Te.mH)(ne,R?R(ie):ie)},[R]),Q=(0,Te.x1)(ae,H.ref);return P?w.cloneElement(H,{ref:Q}):H}),$e=Wt,Xe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function nt(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:s.Z,ne=w.forwardRef(function(H,R){var P=H.prefixCls,ae=P===void 0?"rc-trigger-popup":P,Q=H.children,ie=H.action,me=ie===void 0?"hover":ie,je=H.showAction,Ee=H.hideAction,Me=H.popupVisible,We=H.defaultPopupVisible,re=H.onPopupVisibleChange,se=H.afterPopupVisibleChange,J=H.mouseEnterDelay,de=H.mouseLeaveDelay,xe=de===void 0?.1:de,ce=H.focusDelay,Le=H.blurDelay,Oe=H.mask,we=H.maskClosable,Ne=we===void 0?!0:we,st=H.getPopupContainer,et=H.forceRender,Ye=H.autoDestroy,ke=H.destroyPopupOnHide,Be=H.popup,it=H.popupClassName,Ve=H.popupStyle,xt=H.popupPlacement,Ht=H.builtinPlacements,Ot=Ht===void 0?{}:Ht,wt=H.popupAlign,_t=H.zIndex,yt=H.stretch,ze=H.getPopupClassNameFromAlign,tt=H.alignPoint,St=H.onPopupClick,lt=H.onPopupAlign,Gt=H.arrow,Nt=H.popupMotion,At=H.maskMotion,Ie=H.popupTransitionName,Se=H.popupAnimation,bt=H.maskTransitionName,jt=H.maskAnimation,He=H.className,qe=H.getTriggerDOMNode,$t=(0,o.Z)(H,Xe),Zt=Ye||ke||!1,qt=w.useState(!1),un=(0,t.Z)(qt,2),xn=un[0],pn=un[1];(0,h.Z)(function(){pn((0,S.Z)())},[]);var Gn=w.useRef({}),Qn=w.useContext(Z),ur=w.useMemo(function(){return{registerSubPopup:function(_r,la){Gn.current[_r]=la,Qn==null||Qn.registerSubPopup(_r,la)}}},[Qn]),br=(0,M.Z)(),zt=w.useState(null),en=(0,t.Z)(zt,2),an=en[0],vn=en[1],An=(0,g.Z)(function(dr){(0,c.S)(dr)&&an!==dr&&vn(dr),Qn==null||Qn.registerSubPopup(br,dr)}),sn=w.useState(null),mt=(0,t.Z)(sn,2),gt=mt[0],ln=mt[1],Qt=(0,g.Z)(function(dr){(0,c.S)(dr)&>!==dr&&ln(dr)}),tn=w.Children.only(Q),yn=(tn==null?void 0:tn.props)||{},gn={},_n=(0,g.Z)(function(dr){var _r,la,Ia=gt;return(Ia==null?void 0:Ia.contains(dr))||((_r=(0,m.A)(Ia))===null||_r===void 0?void 0:_r.host)===dr||dr===Ia||(an==null?void 0:an.contains(dr))||((la=(0,m.A)(an))===null||la===void 0?void 0:la.host)===dr||dr===an||Object.values(Gn.current).some(function(Ca){return(Ca==null?void 0:Ca.contains(dr))||dr===Ca})}),nr=j(ae,Nt,Se,Ie),ut=j(ae,At,jt,bt),ct=w.useState(We||!1),It=(0,t.Z)(ct,2),Ct=It[0],Ut=It[1],cn=Me!=null?Me:Ct,rn=(0,g.Z)(function(dr){Me===void 0&&Ut(dr)});(0,h.Z)(function(){Ut(Me||!1)},[Me]);var Dn=w.useRef(cn);Dn.current=cn;var Bn=(0,g.Z)(function(dr){(0,C.flushSync)(function(){cn!==dr&&(rn(dr),re==null||re(dr))})}),Cr=w.useRef(),rr=function(){clearTimeout(Cr.current)},$n=function(_r){var la=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rr(),la===0?Bn(_r):Cr.current=setTimeout(function(){Bn(_r)},la*1e3)};w.useEffect(function(){return rr},[]);var kr=w.useState(!1),Mr=(0,t.Z)(kr,2),ia=Mr[0],zr=Mr[1];(0,h.Z)(function(dr){(!dr||cn)&&zr(!0)},[cn]);var Wn=w.useState(null),wn=(0,t.Z)(Wn,2),Rn=wn[0],sr=wn[1],Er=w.useState([0,0]),Kr=(0,t.Z)(Er,2),ta=Kr[0],ga=Kr[1],pr=function(_r){ga([_r.clientX,_r.clientY])},Ur=_(cn,an,tt?ta:gt,xt,Ot,wt,lt),Ma=(0,t.Z)(Ur,11),ma=Ma[0],Yn=Ma[1],Zn=Ma[2],Sr=Ma[3],Xr=Ma[4],wr=Ma[5],Pt=Ma[6],on=Ma[7],Mn=Ma[8],Ja=Ma[9],mo=Ma[10],Ua=L(xn,me,je,Ee),ka=(0,t.Z)(Ua,2),Qa=ka[0],wo=ka[1],No=Qa.has("click"),ho=wo.has("click")||wo.has("contextMenu"),dt=(0,g.Z)(function(){ia||mo()}),Rt=function(){Dn.current&&tt&&ho&&$n(!1)};A(cn,gt,an,dt,Rt),(0,h.Z)(function(){dt()},[ta,xt]),(0,h.Z)(function(){cn&&!(Ot!=null&&Ot[xt])&&dt()},[JSON.stringify(wt)]);var Ae=w.useMemo(function(){var dr=T(Ot,ae,Ja,tt);return d()(dr,ze==null?void 0:ze(Ja))},[Ja,ze,Ot,ae,tt]);w.useImperativeHandle(R,function(){return{forceAlign:dt}});var dn=w.useState(0),Pn=(0,t.Z)(dn,2),Sn=Pn[0],er=Pn[1],ir=w.useState(0),Hr=(0,t.Z)(ir,2),Oa=Hr[0],oa=Hr[1],Jr=function(){if(yt&>){var _r=gt.getBoundingClientRect();er(_r.width),oa(_r.height)}},na=function(){Jr(),dt()},Lr=function(_r){zr(!1),mo(),se==null||se(_r)},Zr=function(){return new Promise(function(_r){Jr(),sr(function(){return _r})})};(0,h.Z)(function(){Rn&&(mo(),Rn(),sr(null))},[Rn]);function ca(dr,_r,la,Ia){gn[dr]=function(Ca){var qr;Ia==null||Ia(Ca),$n(_r,la);for(var fo=arguments.length,Co=new Array(fo>1?fo-1:0),_a=1;_a1?la-1:0),Ca=1;Ca1?la-1:0),Ca=1;CaDate.now()/1e3};function n(){const{performance:C}=o;if(!C||!C.now)return;const F=Date.now()-C.now();return{now:()=>C.now(),timeOrigin:F}}function d(){try{return(0,a.l$)(b,"perf_hooks").performance}catch(C){return}}const l=(0,a.KV)()?d():n(),c=l===void 0?s:{nowSeconds:()=>(l.timeOrigin+l.now())/1e3},m=s.nowSeconds.bind(s),g=c.nowSeconds.bind(c),M=null,h=l!==void 0;let S;const w=(()=>{const{performance:C}=o;if(!C||!C.now){S="none";return}const F=3600*1e3,Z=C.now(),N=Date.now(),L=C.timeOrigin?Math.abs(C.timeOrigin+Z-N):F,$=Lz.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,Ce=>(Ce^(ue()&15)>>Ce/4).toString(16))}function T(Y){return Y.exception&&Y.exception.values?Y.exception.values[0]:void 0}function j(Y){const{message:z,event_id:ue}=Y;if(z)return z;const Ce=T(Y);return Ce?Ce.type&&Ce.value?`${Ce.type}: ${Ce.value}`:Ce.type||Ce.value||ue||"":ue||""}function K(Y,z,ue){const Ce=Y.exception=Y.exception||{},Re=Ce.values=Ce.values||[],rt=Re[0]=Re[0]||{};rt.value||(rt.value=z||""),rt.type||(rt.type=ue||"Error")}function k(Y,z){const ue=T(Y);if(!ue)return;const Ce={type:"generic",handled:!0},Re=ue.mechanism;if(ue.mechanism=Wa(Wa(Wa({},Ce),Re),z),z&&"data"in z){const rt=Wa(Wa({},Re&&Re.data),z.data);ue.mechanism.data=rt}}const te=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function V(Y){const z=Y.match(te)||[],ue=parseInt(z[1],10),Ce=parseInt(z[2],10),Re=parseInt(z[3],10);return{buildmetadata:z[5],major:isNaN(ue)?void 0:ue,minor:isNaN(Ce)?void 0:Ce,patch:isNaN(Re)?void 0:Re,prerelease:z[4]}}function q(Y,z,ue=5){if(z.lineno===void 0)return;const Ce=Y.length,Re=Math.max(Math.min(Ce-1,z.lineno-1),0);z.pre_context=Y.slice(Math.max(0,Re-ue),Re).map(rt=>snipLine(rt,0)),z.context_line=snipLine(Y[Math.min(Ce-1,Re)],z.colno||0),z.post_context=Y.slice(Math.min(Re+1,Ce),Re+1+ue).map(rt=>snipLine(rt,0))}function le(Y){if(Y&&Y.__sentry_captured__)return!0;try{addNonEnumerableProperty(Y,"__sentry_captured__",!0)}catch(z){}return!1}function X(Y){return Array.isArray(Y)?Y:[Y]}var W=e(43038);const x="Sentry Logger ",O=["debug","info","warn","error","log","assert","trace"];function _(Y){if(!("console"in $.n2))return Y();const z=$.n2.console,ue={};O.forEach(Ce=>{const Re=z[Ce]&&z[Ce].__sentry_original__;Ce in z&&Re&&(ue[Ce]=z[Ce],z[Ce]=Re)});try{return Y()}finally{Object.keys(ue).forEach(Ce=>{z[Ce]=ue[Ce]})}}function U(){let Y=!1;const z={enable:()=>{Y=!0},disable:()=>{Y=!1}};return typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?O.forEach(ue=>{z[ue]=(...Ce)=>{Y&&_(()=>{$.n2.console[ue](`${x}[${ue}]:`,...Ce)})}}):O.forEach(ue=>{z[ue]=()=>{}}),z}let A;typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__?A=(0,$.YO)("logger",U):A=U();const G="production",fe=Object.prototype.toString;function pe(Y){switch(fe.call(Y)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Ke(Y,Error)}}function ge(Y,z){return fe.call(Y)===`[object ${z}]`}function be(Y){return ge(Y,"ErrorEvent")}function Te(Y){return ge(Y,"DOMError")}function Ge(Y){return ge(Y,"DOMException")}function Je(Y){return ge(Y,"String")}function Qe(Y){return Y===null||typeof Y!="object"&&typeof Y!="function"}function pt(Y){return ge(Y,"Object")}function Et(Y){return typeof Event!="undefined"&&Ke(Y,Event)}function ft(Y){return typeof Element!="undefined"&&Ke(Y,Element)}function Wt(Y){return ge(Y,"RegExp")}function $e(Y){return!!(Y&&Y.then&&typeof Y.then=="function")}function Xe(Y){return pt(Y)&&"nativeEvent"in Y&&"preventDefault"in Y&&"stopPropagation"in Y}function nt(Y){return typeof Y=="number"&&Y!==Y}function Ke(Y,z){try{return Y instanceof z}catch(ue){return!1}}var ye;(function(Y){Y[Y.PENDING=0]="PENDING";const ue=1;Y[Y.RESOLVED=ue]="RESOLVED";const Ce=2;Y[Y.REJECTED=Ce]="REJECTED"})(ye||(ye={}));function ne(Y){return new R(z=>{z(Y)})}function H(Y){return new R((z,ue)=>{ue(Y)})}class R{constructor(z){R.prototype.__init.call(this),R.prototype.__init2.call(this),R.prototype.__init3.call(this),R.prototype.__init4.call(this),this._state=ye.PENDING,this._handlers=[];try{z(this._resolve,this._reject)}catch(ue){this._reject(ue)}}then(z,ue){return new R((Ce,Re)=>{this._handlers.push([!1,rt=>{if(!z)Ce(rt);else try{Ce(z(rt))}catch(Mt){Re(Mt)}},rt=>{if(!ue)Re(rt);else try{Ce(ue(rt))}catch(Mt){Re(Mt)}}]),this._executeHandlers()})}catch(z){return this.then(ue=>ue,z)}finally(z){return new R((ue,Ce)=>{let Re,rt;return this.then(Mt=>{rt=!1,Re=Mt,z&&z()},Mt=>{rt=!0,Re=Mt,z&&z()}).then(()=>{if(rt){Ce(Re);return}ue(Re)})})}__init(){this._resolve=z=>{this._setResult(ye.RESOLVED,z)}}__init2(){this._reject=z=>{this._setResult(ye.REJECTED,z)}}__init3(){this._setResult=(z,ue)=>{if(this._state===ye.PENDING){if($e(ue)){ue.then(this._resolve,this._reject);return}this._state=z,this._value=ue,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===ye.PENDING)return;const z=this._handlers.slice();this._handlers=[],z.forEach(ue=>{ue[0]||(this._state===ye.RESOLVED&&ue[1](this._value),this._state===ye.REJECTED&&ue[2](this._value),ue[0]=!0)})}}}const P=(0,$.Rf)(),ae=80;function Q(Y,z={}){try{let ue=Y;const Ce=5,Re=[];let rt=0,Mt=0;const Dt=" > ",Vt=Dt.length;let nn;const fn=Array.isArray(z)?z:z.keyAttrs,hn=!Array.isArray(z)&&z.maxStringLength||ae;for(;ue&&rt++1&&Mt+Re.length*Vt+nn.length>=hn));)Re.push(nn),Mt+=nn.length,ue=ue.parentNode;return Re.reverse().join(Dt)}catch(ue){return""}}function ie(Y,z){const ue=Y,Ce=[];let Re,rt,Mt,Dt,Vt;if(!ue||!ue.tagName)return"";Ce.push(ue.tagName.toLowerCase());const nn=z&&z.length?z.filter(hn=>ue.getAttribute(hn)).map(hn=>[hn,ue.getAttribute(hn)]):null;if(nn&&nn.length)nn.forEach(hn=>{Ce.push(`[${hn[0]}="${hn[1]}"]`)});else if(ue.id&&Ce.push(`#${ue.id}`),Re=ue.className,Re&&Je(Re))for(rt=Re.split(/\s+/),Vt=0;VtCe&&(z=Ce);let Re=Math.max(z-60,0);Re<5&&(Re=0);let rt=Math.min(Re+140,Ce);return rt>Ce-5&&(rt=Ce),rt===Ce&&(Re=Math.max(rt-140,0)),ue=ue.slice(Re,rt),Re>0&&(ue=`'{snip} ${ue}`),rtre(Y,Ce,ue))}function J(Y,z,ue){if(!(z in Y))return;const Ce=Y[z],Re=ue(Ce);if(typeof Re=="function")try{xe(Re,Ce)}catch(rt){}Y[z]=Re}function de(Y,z,ue){Object.defineProperty(Y,z,{value:ue,writable:!0,configurable:!0})}function xe(Y,z){const ue=z.prototype||{};Y.prototype=z.prototype=ue,de(Y,"__sentry_original__",z)}function ce(Y){return Y.__sentry_original__}function Le(Y){return Object.keys(Y).map(z=>`${encodeURIComponent(z)}=${encodeURIComponent(Y[z])}`).join("&")}function Oe(Y){if(pe(Y))return Wa({message:Y.message,name:Y.name,stack:Y.stack},Ne(Y));if(Et(Y)){const z=Wa({type:Y.type,target:we(Y.target),currentTarget:we(Y.currentTarget)},Ne(Y));return typeof CustomEvent!="undefined"&&Ke(Y,CustomEvent)&&(z.detail=Y.detail),z}else return Y}function we(Y){try{return ft(Y)?Q(Y):Object.prototype.toString.call(Y)}catch(z){return""}}function Ne(Y){if(typeof Y=="object"&&Y!==null){const z={};for(const ue in Y)Object.prototype.hasOwnProperty.call(Y,ue)&&(z[ue]=Y[ue]);return z}else return{}}function st(Y,z=40){const ue=Object.keys(Oe(Y));if(ue.sort(),!ue.length)return"[object has no keys]";if(ue[0].length>=z)return Ee(ue[0],z);for(let Ce=ue.length;Ce>0;Ce--){const Re=ue.slice(0,Ce).join(", ");if(!(Re.length>z))return Ce===ue.length?Re:Ee(Re,z)}return""}function et(Y){return Ye(Y,new Map)}function Ye(Y,z){if(pt(Y)){const ue=z.get(Y);if(ue!==void 0)return ue;const Ce={};z.set(Y,Ce);for(const Re of Object.keys(Y))typeof Y[Re]!="undefined"&&(Ce[Re]=Ye(Y[Re],z));return Ce}if(Array.isArray(Y)){const ue=z.get(Y);if(ue!==void 0)return ue;const Ce=[];return z.set(Y,Ce),Y.forEach(Re=>{Ce.push(Ye(Re,z))}),Ce}return Y}function ke(Y){let z;switch(!0){case Y==null:z=new String(Y);break;case(typeof Y=="symbol"||typeof Y=="bigint"):z=Object(Y);break;case isPrimitive(Y):z=new Y.constructor(Y);break;default:z=Y;break}return z}function Be(Y){const z=(0,W.ph)(),ue={sid:D(),init:!0,timestamp:z,started:z,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>xt(ue)};return Y&&it(ue,Y),ue}function it(Y,z={}){if(z.user&&(!Y.ipAddress&&z.user.ip_address&&(Y.ipAddress=z.user.ip_address),!Y.did&&!z.did&&(Y.did=z.user.id||z.user.email||z.user.username)),Y.timestamp=z.timestamp||(0,W.ph)(),z.ignoreDuration&&(Y.ignoreDuration=z.ignoreDuration),z.sid&&(Y.sid=z.sid.length===32?z.sid:D()),z.init!==void 0&&(Y.init=z.init),!Y.did&&z.did&&(Y.did=`${z.did}`),typeof z.started=="number"&&(Y.started=z.started),Y.ignoreDuration)Y.duration=void 0;else if(typeof z.duration=="number")Y.duration=z.duration;else{const ue=Y.timestamp-Y.started;Y.duration=ue>=0?ue:0}z.release&&(Y.release=z.release),z.environment&&(Y.environment=z.environment),!Y.ipAddress&&z.ipAddress&&(Y.ipAddress=z.ipAddress),!Y.userAgent&&z.userAgent&&(Y.userAgent=z.userAgent),typeof z.errors=="number"&&(Y.errors=z.errors),z.status&&(Y.status=z.status)}function Ve(Y,z){let ue={};z?ue={status:z}:Y.status==="ok"&&(ue={status:"exited"}),it(Y,ue)}function xt(Y){return et({sid:`${Y.sid}`,init:Y.init,started:new Date(Y.started*1e3).toISOString(),timestamp:new Date(Y.timestamp*1e3).toISOString(),status:Y.status,errors:Y.errors,did:typeof Y.did=="number"||typeof Y.did=="string"?`${Y.did}`:void 0,duration:Y.duration,attrs:{release:Y.release,environment:Y.environment,ip_address:Y.ipAddress,user_agent:Y.userAgent}})}const Ht=100;class Ot{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=yt()}static clone(z){const ue=new Ot;return z&&(ue._breadcrumbs=[...z._breadcrumbs],ue._tags=Wa({},z._tags),ue._extra=Wa({},z._extra),ue._contexts=Wa({},z._contexts),ue._user=z._user,ue._level=z._level,ue._span=z._span,ue._session=z._session,ue._transactionName=z._transactionName,ue._fingerprint=z._fingerprint,ue._eventProcessors=[...z._eventProcessors],ue._requestSession=z._requestSession,ue._attachments=[...z._attachments],ue._sdkProcessingMetadata=Wa({},z._sdkProcessingMetadata),ue._propagationContext=Wa({},z._propagationContext)),ue}addScopeListener(z){this._scopeListeners.push(z)}addEventProcessor(z){return this._eventProcessors.push(z),this}setUser(z){return this._user=z||{},this._session&&it(this._session,{user:z}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(z){return this._requestSession=z,this}setTags(z){return this._tags=Wa(Wa({},this._tags),z),this._notifyScopeListeners(),this}setTag(z,ue){return this._tags=Vs(Wa({},this._tags),{[z]:ue}),this._notifyScopeListeners(),this}setExtras(z){return this._extra=Wa(Wa({},this._extra),z),this._notifyScopeListeners(),this}setExtra(z,ue){return this._extra=Vs(Wa({},this._extra),{[z]:ue}),this._notifyScopeListeners(),this}setFingerprint(z){return this._fingerprint=z,this._notifyScopeListeners(),this}setLevel(z){return this._level=z,this._notifyScopeListeners(),this}setTransactionName(z){return this._transactionName=z,this._notifyScopeListeners(),this}setContext(z,ue){return ue===null?delete this._contexts[z]:this._contexts[z]=ue,this._notifyScopeListeners(),this}setSpan(z){return this._span=z,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const z=this.getSpan();return z&&z.transaction}setSession(z){return z?this._session=z:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(z){if(!z)return this;if(typeof z=="function"){const ue=z(this);return ue instanceof Ot?ue:this}return z instanceof Ot?(this._tags=Wa(Wa({},this._tags),z._tags),this._extra=Wa(Wa({},this._extra),z._extra),this._contexts=Wa(Wa({},this._contexts),z._contexts),z._user&&Object.keys(z._user).length&&(this._user=z._user),z._level&&(this._level=z._level),z._fingerprint&&(this._fingerprint=z._fingerprint),z._requestSession&&(this._requestSession=z._requestSession),z._propagationContext&&(this._propagationContext=z._propagationContext)):pt(z)&&(z=z,this._tags=Wa(Wa({},this._tags),z.tags),this._extra=Wa(Wa({},this._extra),z.extra),this._contexts=Wa(Wa({},this._contexts),z.contexts),z.user&&(this._user=z.user),z.level&&(this._level=z.level),z.fingerprint&&(this._fingerprint=z.fingerprint),z.requestSession&&(this._requestSession=z.requestSession),z.propagationContext&&(this._propagationContext=z.propagationContext)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=yt(),this}addBreadcrumb(z,ue){const Ce=typeof ue=="number"?ue:Ht;if(Ce<=0)return this;const Re=Wa({timestamp:(0,W.yW)()},z);return this._breadcrumbs=[...this._breadcrumbs,Re].slice(-Ce),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(z){return this._attachments.push(z),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(z,ue={}){if(this._extra&&Object.keys(this._extra).length&&(z.extra=Wa(Wa({},this._extra),z.extra)),this._tags&&Object.keys(this._tags).length&&(z.tags=Wa(Wa({},this._tags),z.tags)),this._user&&Object.keys(this._user).length&&(z.user=Wa(Wa({},this._user),z.user)),this._contexts&&Object.keys(this._contexts).length&&(z.contexts=Wa(Wa({},this._contexts),z.contexts)),this._level&&(z.level=this._level),this._transactionName&&(z.transaction=this._transactionName),this._span){z.contexts=Wa({trace:this._span.getTraceContext()},z.contexts);const Ce=this._span.transaction;if(Ce){z.sdkProcessingMetadata=Wa({dynamicSamplingContext:Ce.getDynamicSamplingContext()},z.sdkProcessingMetadata);const Re=Ce.name;Re&&(z.tags=Wa({transaction:Re},z.tags))}}return this._applyFingerprint(z),z.breadcrumbs=[...z.breadcrumbs||[],...this._breadcrumbs],z.breadcrumbs=z.breadcrumbs.length>0?z.breadcrumbs:void 0,z.sdkProcessingMetadata=Vs(Wa(Wa({},z.sdkProcessingMetadata),this._sdkProcessingMetadata),{propagationContext:this._propagationContext}),this._notifyEventProcessors([...wt(),...this._eventProcessors],z,ue)}setSDKProcessingMetadata(z){return this._sdkProcessingMetadata=Wa(Wa({},this._sdkProcessingMetadata),z),this}setPropagationContext(z){return this._propagationContext=z,this}getPropagationContext(){return this._propagationContext}_notifyEventProcessors(z,ue,Ce,Re=0){return new R((rt,Mt)=>{const Dt=z[Re];if(ue===null||typeof Dt!="function")rt(ue);else{const Vt=Dt(Wa({},ue),Ce);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&Dt.id&&Vt===null&&A.log(`Event processor "${Dt.id}" dropped event`),$e(Vt)?Vt.then(nn=>this._notifyEventProcessors(z,nn,Ce,Re+1).then(rt)).then(null,Mt):this._notifyEventProcessors(z,Vt,Ce,Re+1).then(rt).then(null,Mt)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(z=>{z(this)}),this._notifyingListeners=!1)}_applyFingerprint(z){z.fingerprint=z.fingerprint?X(z.fingerprint):[],this._fingerprint&&(z.fingerprint=z.fingerprint.concat(this._fingerprint)),z.fingerprint&&!z.fingerprint.length&&delete z.fingerprint}}function wt(){return(0,$.YO)("globalEventProcessors",()=>[])}function _t(Y){wt().push(Y)}function yt(){return{traceId:D(),spanId:D().substring(16),sampled:!1}}const ze=4,tt=100;class St{constructor(z,ue=new Ot,Ce=ze){this._version=Ce,this._stack=[{scope:ue}],z&&this.bindClient(z)}isOlderThan(z){return this._version{rt.captureException(z,Vs(Wa({originalException:z,syntheticException:Re},ue),{event_id:Ce}),Mt)}),Ce}captureMessage(z,ue,Ce){const Re=this._lastEventId=Ce&&Ce.event_id?Ce.event_id:D(),rt=new Error(z);return this._withClient((Mt,Dt)=>{Mt.captureMessage(z,ue,Vs(Wa({originalException:z,syntheticException:rt},Ce),{event_id:Re}),Dt)}),Re}captureEvent(z,ue){const Ce=ue&&ue.event_id?ue.event_id:D();return z.type||(this._lastEventId=Ce),this._withClient((Re,rt)=>{Re.captureEvent(z,Vs(Wa({},ue),{event_id:Ce}),rt)}),Ce}lastEventId(){return this._lastEventId}addBreadcrumb(z,ue){const{scope:Ce,client:Re}=this.getStackTop();if(!Re)return;const{beforeBreadcrumb:rt=null,maxBreadcrumbs:Mt=tt}=Re.getOptions&&Re.getOptions()||{};if(Mt<=0)return;const Dt=(0,W.yW)(),Vt=Wa({timestamp:Dt},z),nn=rt?_(()=>rt(Vt,ue)):Vt;nn!==null&&(Re.emit&&Re.emit("beforeAddBreadcrumb",nn,ue),Ce.addBreadcrumb(nn,Mt))}setUser(z){this.getScope().setUser(z)}setTags(z){this.getScope().setTags(z)}setExtras(z){this.getScope().setExtras(z)}setTag(z,ue){this.getScope().setTag(z,ue)}setExtra(z,ue){this.getScope().setExtra(z,ue)}setContext(z,ue){this.getScope().setContext(z,ue)}configureScope(z){const{scope:ue,client:Ce}=this.getStackTop();Ce&&z(ue)}run(z){const ue=Gt(this);try{z(this)}finally{Gt(ue)}}getIntegration(z){const ue=this.getClient();if(!ue)return null;try{return ue.getIntegration(z)}catch(Ce){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Cannot retrieve integration ${z.id} from the current Hub`),null}}startTransaction(z,ue){const Ce=this._callExtensionMethod("startTransaction",z,ue);if((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&!Ce){const Re=this.getClient();console.warn(Re?`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); -`:"Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")}return Ce}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(Z=!1){if(Z)return this.endSession();this._sendSessionUpdate()}endSession(){const fe=this.getStackTop().scope,Ce=fe.getSession();Ce&&Ve(Ce),this._sendSessionUpdate(),fe.setSession()}startSession(Z){const{scope:fe,client:Ce}=this.getStackTop(),{release:Le,environment:et=G}=Ce&&Ce.getOptions()||{},{userAgent:Mt}=B.n2.navigator||{},Dt=Be(ka(ka({release:Le,environment:et,user:fe.getUser()},Mt&&{userAgent:Mt}),Z)),Vt=fe.getSession&&fe.getSession();return Vt&&Vt.status==="ok"&&it(Vt,{status:"exited"}),this.endSession(),fe.setSession(Dt),Dt}shouldSendDefaultPii(){const Z=this.getClient(),fe=Z&&Z.getOptions();return!!(fe&&fe.sendDefaultPii)}_sendSessionUpdate(){const{scope:Z,client:fe}=this.getStackTop(),Ce=Z.getSession();Ce&&fe&&fe.captureSession&&fe.captureSession(Ce)}_withClient(Z){const{scope:fe,client:Ce}=this.getStackTop();Ce&&Z(Ce,fe)}_callExtensionMethod(Z,...fe){const Le=lt().__SENTRY__;if(Le&&Le.extensions&&typeof Le.extensions[Z]=="function")return Le.extensions[Z].apply(this,fe);(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Extension method ${Z} couldn't be found, doing nothing.`)}}function lt(){return B.n2.__SENTRY__=B.n2.__SENTRY__||{extensions:{},hub:void 0},B.n2}function Gt(V){const Z=lt(),fe=He(Z);return qe(Z,V),fe}function Rt(){const V=lt();if(V.__SENTRY__&&V.__SENTRY__.acs){const Z=V.__SENTRY__.acs.getCurrentHub();if(Z)return Z}return Ot(V)}function Ot(V=lt()){return(!Pt(V)||He(V).isOlderThan(ze))&&qe(V,new Et),He(V)}function Ie(V,Z=Ot()){if(!Pt(V)||He(V).isOlderThan(ze)){const fe=Z.getStackTop();qe(V,new Et(fe.client,Scope.clone(fe.scope)))}}function Se(V){const Z=lt();Z.__SENTRY__=Z.__SENTRY__||{},Z.__SENTRY__.acs=V}function bt(V,Z={}){const fe=lt();return fe.__SENTRY__&&fe.__SENTRY__.acs?fe.__SENTRY__.acs.runWithAsyncContext(V,Z):V()}function Pt(V){return!!(V&&V.__SENTRY__&&V.__SENTRY__.hub)}function He(V){return(0,B.YO)("hub",()=>new Et,V)}function qe(V,Z){if(!V)return!1;const fe=V.__SENTRY__=V.__SENTRY__||{};return fe.hub=Z,!0}const Zt=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Ut=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class qt{static __initStatic(){this.id="InboundFilters"}constructor(Z={}){this.name=qt.id,this._options=Z}setupOnce(Z,fe){const Ce=Le=>{const et=fe();if(et){const Mt=et.getIntegration(qt);if(Mt){const Dt=et.getClient(),Vt=Dt?Dt.getOptions():{},cn=ln(Mt._options,Vt);return En(Le,cn)?null:Le}}return Le};Ce.id=this.name,Z(Ce)}}qt.__initStatic();function ln(V={},Z={}){return{allowUrls:[...V.allowUrls||[],...Z.allowUrls||[]],denyUrls:[...V.denyUrls||[],...Z.denyUrls||[]],ignoreErrors:[...V.ignoreErrors||[],...Z.ignoreErrors||[],...V.disableErrorDefaults?[]:Zt],ignoreTransactions:[...V.ignoreTransactions||[],...Z.ignoreTransactions||[],...V.disableTransactionDefaults?[]:Ut],ignoreInternal:V.ignoreInternal!==void 0?V.ignoreInternal:!0}}function En(V,Z){return Z.ignoreInternal&&Ft(V)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being internal Sentry Error. -Event: ${j(V)}`),!0):mn(V,Z.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`ignoreErrors\` option. -Event: ${j(V)}`),!0):Yn(V,Z.ignoreTransactions)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. -Event: ${j(V)}`),!0):Gn(V,Z.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`denyUrls\` option. -Event: ${j(V)}. -Url: ${rn(V)}`),!0):ir(V,Z.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to not being matched by \`allowUrls\` option. -Event: ${j(V)}. -Url: ${rn(V)}`),!0)}function mn(V,Z){return V.type||!Z||!Z.length?!1:mr(V).some(fe=>se(fe,Z))}function Yn(V,Z){if(V.type!=="transaction"||!Z||!Z.length)return!1;const fe=V.transaction;return fe?se(fe,Z):!1}function Gn(V,Z){if(!Z||!Z.length)return!1;const fe=rn(V);return fe?se(fe,Z):!1}function ir(V,Z){if(!Z||!Z.length)return!0;const fe=rn(V);return fe?se(fe,Z):!0}function mr(V){if(V.message)return[V.message];if(V.exception){const{values:Z}=V.exception;try{const{type:fe="",value:Ce=""}=Z&&Z[Z.length-1]||{};return[`${Ce}`,`${fe}: ${Ce}`]}catch(fe){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Cannot extract message for event ${j(V)}`),[]}}return[]}function Ft(V){try{return V.exception.values[0].type==="SentryError"}catch(Z){}return!1}function en(V=[]){for(let Z=V.length-1;Z>=0;Z--){const fe=V[Z];if(fe&&fe.filename!==""&&fe.filename!=="[native code]")return fe.filename||null}return null}function rn(V){try{let Z;try{Z=V.exception.values[0].stacktrace.frames}catch(fe){}return Z?en(Z):null}catch(Z){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Cannot extract url for event ${j(V)}`),null}}let fn;class In{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=In.id}setupOnce(){fn=Function.prototype.toString;try{Function.prototype.toString=function(...Z){const fe=ue(this)||this;return fn.apply(fe,Z)}}catch(Z){}}}In.__initStatic();const on=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function mt(V){return V==="http"||V==="https"}function gt(V,Z=!1){const{host:fe,path:Ce,pass:Le,port:et,projectId:Mt,protocol:Dt,publicKey:Vt}=V;return`${Dt}://${Vt}${Z&&Le?`:${Le}`:""}@${fe}${et?`:${et}`:""}/${Ce&&`${Ce}/`}${Mt}`}function sn(V){const Z=on.exec(V);if(!Z){console.error(`Invalid Sentry Dsn: ${V}`);return}const[fe,Ce,Le="",et,Mt="",Dt]=Z.slice(1);let Vt="",cn=Dt;const hn=cn.split("/");if(hn.length>1&&(Vt=hn.slice(0,-1).join("/"),cn=hn.pop()),cn){const St=cn.match(/^\d+/);St&&(cn=St[0])}return Qt({host:et,pass:Le,path:Vt,projectId:cn,port:Mt,protocol:fe,publicKey:Ce})}function Qt(V){return{protocol:V.protocol,publicKey:V.publicKey||"",pass:V.pass||"",host:V.host,port:V.port||"",path:V.path||"",projectId:V.projectId}}function tn(V){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return!0;const{port:Z,projectId:fe,protocol:Ce}=V;return["protocol","publicKey","host","projectId"].find(Mt=>V[Mt]?!1:(A.error(`Invalid Sentry Dsn: ${Mt} missing`),!0))?!1:fe.match(/^\d+$/)?mt(Ce)?Z&&isNaN(parseInt(Z,10))?(A.error(`Invalid Sentry Dsn: Invalid port ${Z}`),!1):!0:(A.error(`Invalid Sentry Dsn: Invalid protocol ${Ce}`),!1):(A.error(`Invalid Sentry Dsn: Invalid projectId ${fe}`),!1)}function yn(V){const Z=typeof V=="string"?sn(V):Qt(V);if(!(!Z||!tn(Z)))return Z}const vn="7";function Wn(V){const Z=V.protocol?`${V.protocol}:`:"",fe=V.port?`:${V.port}`:"";return`${Z}//${V.host}${fe}${V.path?`/${V.path}`:""}/api/`}function tr(V){return`${Wn(V)}${V.projectId}/envelope/`}function ut(V,Z){return urlEncode(ka({sentry_key:V.publicKey,sentry_version:vn},Z&&{sentry_client:`${Z.name}/${Z.version}`}))}function ct(V,Z={}){const fe=typeof Z=="string"?Z:Z.tunnel,Ce=typeof Z=="string"||!Z._metadata?void 0:Z._metadata.sdk;return fe||`${tr(V)}?${ut(V,Ce)}`}function At(V,Z){const fe=yn(V);if(!fe)return"";const Ce=`${Wn(fe)}embed/error-page/`;let Le=`dsn=${gt(fe)}`;for(const et in Z)if(et!=="dsn")if(et==="user"){const Mt=Z.user;if(!Mt)continue;Mt.name&&(Le+=`&name=${encodeURIComponent(Mt.name)}`),Mt.email&&(Le+=`&email=${encodeURIComponent(Mt.email)}`)}else Le+=`&${encodeURIComponent(et)}=${encodeURIComponent(Z[et])}`;return`${Ce}?${Le}`}function xt(V,Z){return Rt().captureException(V,{captureContext:Z})}function kt(V,Z){const fe=typeof Z=="string"?Z:void 0,Ce=typeof Z!="string"?{captureContext:Z}:void 0;return getCurrentHub().captureMessage(V,fe,Ce)}function un(V,Z){return getCurrentHub().captureEvent(V,Z)}function nn(V){getCurrentHub().configureScope(V)}function An(V){getCurrentHub().addBreadcrumb(V)}function zn(V,Z){getCurrentHub().setContext(V,Z)}function Er(V){getCurrentHub().setExtras(V)}function nr(V,Z){getCurrentHub().setExtra(V,Z)}function Fn(V){getCurrentHub().setTags(V)}function kr(V,Z){getCurrentHub().setTag(V,Z)}function hr(V){getCurrentHub().setUser(V)}function la(V){Rt().withScope(V)}function zr(V,Z){return getCurrentHub().startTransaction(ka({},V),Z)}function Zn(V,Z){const fe=getCurrentHub(),Ce=fe.getScope(),Le=fe.getClient();if(!Le)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot capture check-in. No client defined.");else if(!Le.captureCheckIn)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else return Le.captureCheckIn(V,Z,Ce);return uuid4()}function On(V){return xf(this,null,function*(){const Z=getCurrentHub().getClient();return Z?Z.flush(V):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))})}function Tn(V){return xf(this,null,function*(){const Z=getCurrentHub().getClient();return Z?Z.close(V):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))})}function ar(){return getCurrentHub().lastEventId()}const br=B.n2;let Kr=0;function ra(){return Kr>0}function pa(){Kr++,setTimeout(()=>{Kr--})}function fr(V,Z={},fe){if(typeof V!="function")return V;try{const Le=V.__sentry_wrapped__;if(Le)return Le;if(ue(V))return V}catch(Le){return V}const Ce=function(){const Le=Array.prototype.slice.call(arguments);try{fe&&typeof fe=="function"&&fe.apply(this,arguments);const et=Le.map(Mt=>fr(Mt,Z));return V.apply(this,et)}catch(et){throw pa(),la(Mt=>{Mt.addEventProcessor(Dt=>(Z.mechanism&&(K(Dt,void 0,void 0),k(Dt,Z.mechanism)),Dt.extra=Gs(ka({},Dt.extra),{arguments:Le}),Dt)),xt(et)}),et}};try{for(const Le in V)Object.prototype.hasOwnProperty.call(V,Le)&&(Ce[Le]=V[Le])}catch(Le){}xe(Ce,V),ce(V,"__sentry_wrapped__",Ce);try{Object.getOwnPropertyDescriptor(Ce,"name").configurable&&Object.defineProperty(Ce,"name",{get(){return V.name}})}catch(Le){}return Ce}const Ur=50,Ea=/\(error: (.*)\)/,ha=/captureMessage|captureException/;function Hn(...V){const Z=V.sort((fe,Ce)=>fe[0]-Ce[0]).map(fe=>fe[1]);return(fe,Ce=0)=>{const Le=[],et=fe.split(` -`);for(let Mt=Ce;Mt1024)continue;const Vt=Ea.test(Dt)?Dt.replace(Ea,"$1"):Dt;if(!Vt.match(/\S*Error: /)){for(const cn of Z){const hn=cn(Vt);if(hn){Le.push(hn);break}}if(Le.length>=Ur)break}}return yr(Le)}}function Bn(V){return Array.isArray(V)?Hn(...V):V}function yr(V){if(!V.length)return[];const Z=Array.from(V);return/sentryWrapped/.test(Z[Z.length-1].function||"")&&Z.pop(),Z.reverse(),ha.test(Z[Z.length-1].function||"")&&(Z.pop(),ha.test(Z[Z.length-1].function||"")&&Z.pop()),Z.slice(0,Ur).map(fe=>Gs(ka({},fe),{filename:fe.filename||Z[Z.length-1].filename,function:fe.function||"?"}))}const Xr="";function Dr(V){try{return!V||typeof V!="function"?Xr:V.name||Xr}catch(Z){return Xr}}function Tt(V){return[90,node(V)]}const an=(0,B.Rf)();function bn(){try{return new ErrorEvent(""),!0}catch(V){return!1}}function Xa(){try{return new DOMError(""),!0}catch(V){return!1}}function ho(){try{return new DOMException(""),!0}catch(V){return!1}}function $a(){if(!("fetch"in an))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(V){return!1}}function Ua(V){return V&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(V.toString())}function Ka(){if(!$a())return!1;if(Ua(an.fetch))return!0;let V=!1;const Z=an.document;if(Z&&typeof Z.createElement=="function")try{const fe=Z.createElement("iframe");fe.hidden=!0,Z.head.appendChild(fe),fe.contentWindow&&fe.contentWindow.fetch&&(V=Ua(fe.contentWindow.fetch)),Z.head.removeChild(fe)}catch(fe){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",fe)}return V}function wo(){return"ReportingObserver"in an}function No(){if(!$a())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(V){return!1}}const yo=(0,B.Rf)();function dt(){const V=yo.chrome,Z=V&&V.app&&V.app.runtime,fe="history"in yo&&!!yo.history.pushState&&!!yo.history.replaceState;return!Z&&fe}const zt=(0,B.Rf)(),Ae="__sentry_xhr_v2__",dn={},Dn={};function Mn(V){if(!Dn[V])switch(Dn[V]=!0,V){case"console":Hr();break;case"dom":er();break;case"xhr":Pr();break;case"fetch":Da();break;case"history":va();break;case"error":Wr();break;case"unhandledrejection":sr();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("unknown instrumentation type:",V);return}}function qn(V,Z){dn[V]=dn[V]||[],dn[V].push(Z),Mn(V)}function rr(V,Z){if(!(!V||!dn[V]))for(const fe of dn[V]||[])try{fe(Z)}catch(Ce){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Error while triggering instrumentation handler. -Type: ${V} -Name: ${Dr(fe)} -Error:`,Ce)}}function Hr(){"console"in zt&&O.forEach(function(V){V in zt.console&&J(zt.console,V,function(Z){return function(...fe){rr("console",{args:fe,level:V}),Z&&Z.apply(zt.console,fe)}})})}function Da(){Ka()&&J(zt,"fetch",function(V){return function(...Z){const{method:fe,url:Ce}=aa(Z),Le={args:Z,fetchData:{method:fe,url:Ce},startTimestamp:Date.now()};return rr("fetch",ka({},Le)),V.apply(zt,Z).then(et=>(rr("fetch",Gs(ka({},Le),{endTimestamp:Date.now(),response:et})),et),et=>{throw rr("fetch",Gs(ka({},Le),{endTimestamp:Date.now(),error:et})),et})}})}function ia(V,Z){return!!V&&typeof V=="object"&&!!V[Z]}function Jr(V){return typeof V=="string"?V:V?ia(V,"url")?V.url:V.toString?V.toString():"":""}function aa(V){if(V.length===0)return{method:"GET",url:""};if(V.length===2){const[fe,Ce]=V;return{url:Jr(fe),method:ia(Ce,"method")?String(Ce.method).toUpperCase():"GET"}}const Z=V[0];return{url:Jr(Z),method:ia(Z,"method")?String(Z.method).toUpperCase():"GET"}}function Pr(){if(!("XMLHttpRequest"in zt))return;const V=XMLHttpRequest.prototype;J(V,"open",function(Z){return function(...fe){const Ce=fe[1],Le=this[Ae]={method:Je(fe[0])?fe[0].toUpperCase():fe[0],url:fe[1],request_headers:{}};Je(Ce)&&Le.method==="POST"&&Ce.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const et=()=>{const Mt=this[Ae];if(Mt&&this.readyState===4){try{Mt.status_code=this.status}catch(Dt){}rr("xhr",{args:fe,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?J(this,"onreadystatechange",function(Mt){return function(...Dt){return et(),Mt.apply(this,Dt)}}):this.addEventListener("readystatechange",et),J(this,"setRequestHeader",function(Mt){return function(...Dt){const[Vt,cn]=Dt,hn=this[Ae];return hn&&(hn.request_headers[Vt.toLowerCase()]=cn),Mt.apply(this,Dt)}}),Z.apply(this,fe)}}),J(V,"send",function(Z){return function(...fe){const Ce=this[Ae];return Ce&&fe[0]!==void 0&&(Ce.body=fe[0]),rr("xhr",{args:fe,startTimestamp:Date.now(),xhr:this}),Z.apply(this,fe)}})}let Zr;function va(){if(!dt())return;const V=zt.onpopstate;zt.onpopstate=function(...fe){const Ce=zt.location.href,Le=Zr;if(Zr=Ce,rr("history",{from:Le,to:Ce}),V)try{return V.apply(this,fe)}catch(et){}};function Z(fe){return function(...Ce){const Le=Ce.length>2?Ce[2]:void 0;if(Le){const et=Zr,Mt=String(Le);Zr=Mt,rr("history",{from:et,to:Mt})}return fe.apply(this,Ce)}}J(zt.history,"pushState",Z),J(zt.history,"replaceState",Z)}const Na=1e3;let eo,Va;function Xt(V,Z){if(!V||V.type!==Z.type)return!0;try{if(V.target!==Z.target)return!0}catch(fe){}return!1}function Cn(V){if(V.type!=="keypress")return!1;try{const Z=V.target;if(!Z||!Z.tagName)return!0;if(Z.tagName==="INPUT"||Z.tagName==="TEXTAREA"||Z.isContentEditable)return!1}catch(Z){}return!0}function jn(V,Z=!1){return fe=>{if(!fe||Va===fe||Cn(fe))return;const Ce=fe.type==="keypress"?"input":fe.type;eo===void 0?(V({event:fe,name:Ce,global:Z}),Va=fe):Xt(Va,fe)&&(V({event:fe,name:Ce,global:Z}),Va=fe),clearTimeout(eo),eo=zt.setTimeout(()=>{eo=void 0},Na)}}function er(){if(!("document"in zt))return;const V=rr.bind(null,"dom"),Z=jn(V,!0);zt.document.addEventListener("click",Z,!1),zt.document.addEventListener("keypress",Z,!1),["EventTarget","Node"].forEach(fe=>{const Ce=zt[fe]&&zt[fe].prototype;!Ce||!Ce.hasOwnProperty||!Ce.hasOwnProperty("addEventListener")||(J(Ce,"addEventListener",function(Le){return function(et,Mt,Dt){if(et==="click"||et=="keypress")try{const Vt=this,cn=Vt.__sentry_instrumentation_handlers__=Vt.__sentry_instrumentation_handlers__||{},hn=cn[et]=cn[et]||{refCount:0};if(!hn.handler){const St=jn(V);hn.handler=St,Le.call(this,et,St,Dt)}hn.refCount++}catch(Vt){}return Le.call(this,et,Mt,Dt)}}),J(Ce,"removeEventListener",function(Le){return function(et,Mt,Dt){if(et==="click"||et=="keypress")try{const Vt=this,cn=Vt.__sentry_instrumentation_handlers__||{},hn=cn[et];hn&&(hn.refCount--,hn.refCount<=0&&(Le.call(this,et,hn.handler,Dt),hn.handler=void 0,delete cn[et]),Object.keys(cn).length===0&&delete Vt.__sentry_instrumentation_handlers__)}catch(Vt){}return Le.call(this,et,Mt,Dt)}}))})}let gr=null;function Wr(){gr=zt.onerror,zt.onerror=function(V,Z,fe,Ce,Le){return rr("error",{column:Ce,error:Le,line:fe,msg:V,url:Z}),gr&&!gr.__SENTRY_LOADER__?gr.apply(this,arguments):!1},zt.onerror.__SENTRY_INSTRUMENTED__=!0}let ea=null;function sr(){ea=zt.onunhandledrejection,zt.onunhandledrejection=function(V){return rr("unhandledrejection",V),ea&&!ea.__SENTRY_LOADER__?ea.apply(this,arguments):!0},zt.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function _r(){const V=typeof WeakSet=="function",Z=V?new WeakSet:[];function fe(Le){if(V)return Z.has(Le)?!0:(Z.add(Le),!1);for(let et=0;etfe?Oa(V,Z-1,fe):Ce}function Aa(V,Z,fe=1/0,Ce=1/0,Le=_r()){const[et,Mt]=Le;if(Z==null||["number","boolean","string"].includes(typeof Z)&&!rt(Z))return Z;const Dt=qr(V,Z);if(!Dt.startsWith("[object "))return Dt;if(Z.__sentry_skip_normalization__)return Z;const Vt=typeof Z.__sentry_override_normalization_depth__=="number"?Z.__sentry_override_normalization_depth__:fe;if(Vt===0)return Dt.replace("object ","");if(et(Z))return"[Circular ~]";const cn=Z;if(cn&&typeof cn.toJSON=="function")try{const Qn=cn.toJSON();return Aa("",Qn,Vt-1,Ce,Le)}catch(Qn){}const hn=Array.isArray(Z)?[]:{};let St=0;const pn=Oe(Z);for(const Qn in pn){if(!Object.prototype.hasOwnProperty.call(pn,Qn))continue;if(St>=Ce){hn[Qn]="[MaxProperties ~]";break}const Jn=pn[Qn];hn[Qn]=Aa(Qn,Jn,Vt-1,Ce,Le),St++}return Mt(Z),hn}function qr(V,Z){try{if(V==="domain"&&Z&&typeof Z=="object"&&Z._events)return"[Domain]";if(V==="domainEmitter")return"[DomainEmitter]";if(typeof e.g!="undefined"&&Z===e.g)return"[Global]";if(typeof window!="undefined"&&Z===window)return"[Window]";if(typeof document!="undefined"&&Z===document)return"[Document]";if(Xe(Z))return"[SyntheticEvent]";if(typeof Z=="number"&&Z!==Z)return"[NaN]";if(typeof Z=="function")return`[Function: ${Dr(Z)}]`;if(typeof Z=="symbol")return`[${String(Z)}]`;if(typeof Z=="bigint")return`[BigInt: ${String(Z)}]`;const fe=go(Z);return/^HTML(\w*)Element$/.test(fe)?`[HTMLElement: ${fe}]`:`[object ${fe}]`}catch(fe){return`**non-serializable** (${fe})`}}function go(V){const Z=Object.getPrototypeOf(V);return Z?Z.constructor.name:"null prototype"}function xo(V){return~-encodeURI(V).split(/%..|./).length}function _a(V){return xo(JSON.stringify(V))}function Mo(V,Z){const fe=Ba(V,Z),Ce={type:Z&&Z.name,value:ei(Z)};return fe.length&&(Ce.stacktrace={frames:fe}),Ce.type===void 0&&Ce.value===""&&(Ce.value="Unrecoverable error caught"),Ce}function so(V,Z,fe,Ce){const et=Rt().getClient(),Mt=et&&et.getOptions().normalizeDepth,Dt={exception:{values:[{type:Ct(Z)?Z.constructor.name:Ce?"UnhandledRejection":"Error",value:$o(Z,{isUnhandledRejection:Ce})}]},extra:{__serialized__:Oa(Z,Mt)}};if(fe){const Vt=Ba(V,fe);Vt.length&&(Dt.exception.values[0].stacktrace={frames:Vt})}return Dt}function Ca(V,Z){return{exception:{values:[Mo(V,Z)]}}}function Ba(V,Z){const fe=Z.stacktrace||Z.stack||"",Ce=Xo(Z);try{return V(fe,Ce)}catch(Le){}return[]}const So=/Minified React error #\d+;/i;function Xo(V){if(V){if(typeof V.framesToPop=="number")return V.framesToPop;if(So.test(V.message))return 1}return 0}function ei(V){const Z=V&&V.message;return Z?Z.error&&typeof Z.error.message=="string"?Z.error.message:Z:"No error message"}function ao(V,Z,fe,Ce){const Le=fe&&fe.syntheticException||void 0,et=wi(V,Z,Le,Ce);return addExceptionMechanism(et),et.level="error",fe&&fe.event_id&&(et.event_id=fe.event_id),resolvedSyncPromise(et)}function hi(V,Z,fe="info",Ce,Le){const et=Ce&&Ce.syntheticException||void 0,Mt=Go(V,Z,et,Le);return Mt.level=fe,Ce&&Ce.event_id&&(Mt.event_id=Ce.event_id),resolvedSyncPromise(Mt)}function wi(V,Z,fe,Ce,Le){let et;if(be(Z)&&Z.error)return Ca(V,Z.error);if(Te(Z)||Ge(Z)){const Mt=Z;if("stack"in Z)et=Ca(V,Z);else{const Dt=Mt.name||(Te(Mt)?"DOMError":"DOMException"),Vt=Mt.message?`${Dt}: ${Mt.message}`:Dt;et=Go(V,Vt,fe,Ce),K(et,Vt)}return"code"in Mt&&(et.tags=Gs(ka({},et.tags),{"DOMException.code":`${Mt.code}`})),et}return he(Z)?Ca(V,Z):pt(Z)||Ct(Z)?(et=so(V,Z,fe,Le),k(et,{synthetic:!0}),et):(et=Go(V,Z,fe,Ce),K(et,`${Z}`,void 0),k(et,{synthetic:!0}),et)}function Go(V,Z,fe,Ce){const Le={message:Z};if(Ce&&fe){const et=Ba(V,fe);et.length&&(Le.exception={values:[{value:Z,stacktrace:{frames:et}}]})}return Le}function $o(V,{isUnhandledRejection:Z}){const fe=st(V),Ce=Z?"promise rejection":"exception";return be(V)?`Event \`ErrorEvent\` captured as ${Ce} with message \`${V.message}\``:Ct(V)?`Event \`${si(V)}\` (type=${V.type}) captured as ${Ce}`:`Object captured as ${Ce} with keys: ${fe}`}function si(V){try{const Z=Object.getPrototypeOf(V);return Z?Z.constructor.name:void 0}catch(Z){}}class ai{static __initStatic(){this.id="GlobalHandlers"}constructor(Z){this.name=ai.id,this._options=ka({onerror:!0,onunhandledrejection:!0},Z),this._installFunc={onerror:Si,onunhandledrejection:Pi}}setupOnce(){Error.stackTraceLimit=50;const Z=this._options;for(const fe in Z){const Ce=this._installFunc[fe];Ce&&Z[fe]&&(Jo(fe),Ce(),this._installFunc[fe]=void 0)}}}ai.__initStatic();function Si(){qn("error",V=>{const[Z,fe,Ce]=Io();if(!Z.getIntegration(ai))return;const{msg:Le,url:et,line:Mt,column:Dt,error:Vt}=V;if(ra()||Vt&&Vt.__sentry_own_request__)return;const cn=Vt===void 0&&Je(Le)?to(Le,et,Mt,Dt):Ga(wi(fe,Vt||Le,void 0,Ce,!1),et,Mt,Dt);cn.level="error",ti(Z,Vt,cn,"onerror")})}function Pi(){qn("unhandledrejection",V=>{const[Z,fe,Ce]=Io();if(!Z.getIntegration(ai))return;let Le=V;try{"reason"in V?Le=V.reason:"detail"in V&&"reason"in V.detail&&(Le=V.detail.reason)}catch(Mt){}if(ra()||Le&&Le.__sentry_own_request__)return!0;const et=Qe(Le)?Ei(Le):wi(fe,Le,void 0,Ce,!0);et.level="error",ti(Z,Le,et,"onunhandledrejection")})}function Ei(V){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(V)}`}]}}}function to(V,Z,fe,Ce){const Le=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let et=be(V)?V.message:V,Mt="Error";const Dt=et.match(Le);return Dt&&(Mt=Dt[1],et=Dt[2]),Ga({exception:{values:[{type:Mt,value:et}]}},Z,fe,Ce)}function Ga(V,Z,fe,Ce){const Le=V.exception=V.exception||{},et=Le.values=Le.values||[],Mt=et[0]=et[0]||{},Dt=Mt.stacktrace=Mt.stacktrace||{},Vt=Dt.frames=Dt.frames||[],cn=isNaN(parseInt(Ce,10))?void 0:Ce,hn=isNaN(parseInt(fe,10))?void 0:fe,St=Je(Z)&&Z.length>0?Z:me();return Vt.length===0&&Vt.push({colno:cn,filename:St,function:"?",in_app:!0,lineno:hn}),V}function Jo(V){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.log(`Global Handler attached: ${V}`)}function ti(V,Z,fe,Ce){k(fe,{handled:!1,type:Ce}),V.captureEvent(fe,{originalException:Z})}function Io(){const V=Rt(),Z=V.getClient(),fe=Z&&Z.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[V,fe.stackParser,fe.attachStacktrace]}const Ro=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ci{static __initStatic(){this.id="TryCatch"}constructor(Z){this.name=Ci.id,this._options=ka({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},Z)}setupOnce(){this._options.setTimeout&&J(br,"setTimeout",Ti),this._options.setInterval&&J(br,"setInterval",Ti),this._options.requestAnimationFrame&&J(br,"requestAnimationFrame",Ui),this._options.XMLHttpRequest&&"XMLHttpRequest"in br&&J(XMLHttpRequest.prototype,"send",Os);const Z=this._options.eventTarget;Z&&(Array.isArray(Z)?Z:Ro).forEach(fs)}}Ci.__initStatic();function Ti(V){return function(...Z){const fe=Z[0];return Z[0]=fr(fe,{mechanism:{data:{function:Dr(V)},handled:!0,type:"instrument"}}),V.apply(this,Z)}}function Ui(V){return function(Z){return V.apply(this,[fr(Z,{mechanism:{data:{function:"requestAnimationFrame",handler:Dr(V)},handled:!0,type:"instrument"}})])}}function Os(V){return function(...Z){const fe=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(Le=>{Le in fe&&typeof fe[Le]=="function"&&J(fe,Le,function(et){const Mt={mechanism:{data:{function:Le,handler:Dr(et)},handled:!0,type:"instrument"}},Dt=ue(et);return Dt&&(Mt.mechanism.data.handler=Dr(Dt)),fr(et,Mt)})}),V.apply(this,Z)}}function fs(V){const Z=br,fe=Z[V]&&Z[V].prototype;!fe||!fe.hasOwnProperty||!fe.hasOwnProperty("addEventListener")||(J(fe,"addEventListener",function(Ce){return function(Le,et,Mt){try{typeof et.handleEvent=="function"&&(et.handleEvent=fr(et.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Dr(et),target:V},handled:!0,type:"instrument"}}))}catch(Dt){}return Ce.apply(this,[Le,fr(et,{mechanism:{data:{function:"addEventListener",handler:Dr(et),target:V},handled:!0,type:"instrument"}}),Mt])}}),J(fe,"removeEventListener",function(Ce){return function(Le,et,Mt){const Dt=et;try{const Vt=Dt&&Dt.__sentry_wrapped__;Vt&&Ce.call(this,Le,Vt,Mt)}catch(Vt){}return Ce.call(this,Le,Dt,Mt)}}))}const Ks=["fatal","error","warning","log","info","debug"];function yl(V){return Vn(V)}function Vn(V){return V==="warn"?"warning":Ks.includes(V)?V:"log"}function Gr(V){if(!V)return{};const Z=V.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!Z)return{};const fe=Z[6]||"",Ce=Z[8]||"";return{host:Z[4],path:Z[5],protocol:Z[2],search:fe,hash:Ce,relative:Z[5]+fe+Ce}}function wr(V){return V.split(/[\?#]/,1)[0]}function $r(V){return V.split(/\\?\//).filter(Z=>Z.length>0&&Z!==",").length}function oa(V){const{protocol:Z,host:fe,path:Ce}=V,Le=fe&&fe.replace(/^.*@/,"[filtered]:[filtered]@").replace(":80","").replace(":443","")||"";return`${Z?`${Z}://`:""}${Le}${Ce}`}const Ta=1024,za="Breadcrumbs";class La{static __initStatic(){this.id=za}constructor(Z){this.name=La.id,this.options=ka({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},Z)}setupOnce(){this.options.console&&qn("console",Ko),this.options.dom&&qn("dom",To(this.options.dom)),this.options.xhr&&qn("xhr",ko),this.options.fetch&&qn("fetch",Li),this.options.history&&qn("history",Ms)}addSentryBreadcrumb(Z){this.options.sentry&&Rt().addBreadcrumb({category:`sentry.${Z.type==="transaction"?"transaction":"event"}`,event_id:Z.event_id,level:Z.level,message:j(Z)},{event:Z})}}La.__initStatic();function To(V){function Z(fe){let Ce,Le=typeof V=="object"?V.serializeAttribute:void 0,et=typeof V=="object"&&typeof V.maxStringLength=="number"?V.maxStringLength:void 0;et&&et>Ta&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`\`dom.maxStringLength\` cannot exceed ${Ta}, but a value of ${et} was configured. Sentry will use ${Ta} instead.`),et=Ta),typeof Le=="string"&&(Le=[Le]);try{const Mt=fe.event;Ce=Ki(Mt)?Q(Mt.target,{keyAttrs:Le,maxStringLength:et}):Q(Mt,{keyAttrs:Le,maxStringLength:et})}catch(Mt){Ce=""}Ce.length!==0&&Rt().addBreadcrumb({category:`ui.${fe.name}`,message:Ce},{event:fe.event,name:fe.name,global:fe.global})}return Z}function Ko(V){for(let fe=0;fe0?et.exception.values[et.exception.values.length-1]:void 0;Dt&&(et.exception.values=bl(Xi(V,Z,Le,Mt.originalException,Ce,et.exception.values,Dt,0),fe))}function Xi(V,Z,fe,Ce,Le,et,Mt,Dt){if(et.length>=fe+1)return et;let Vt=[...et];if(Ke(Ce[Le],Error)){Qo(Mt,Dt);const cn=V(Z,Ce[Le]),hn=Vt.length;eu(cn,Le,hn,Dt),Vt=Xi(V,Z,fe,Ce[Le],Le,[cn,...Vt],cn,hn)}return Array.isArray(Ce.errors)&&Ce.errors.forEach((cn,hn)=>{if(Ke(cn,Error)){Qo(Mt,Dt);const St=V(Z,cn),pn=Vt.length;eu(St,`errors[${hn}]`,pn,Dt),Vt=Xi(V,Z,fe,cn,Le,[St,...Vt],St,pn)}}),Vt}function Qo(V,Z){V.mechanism=V.mechanism||{type:"generic",handled:!0},V.mechanism=Gs(ka({},V.mechanism),{is_exception_group:!0,exception_id:Z})}function eu(V,Z,fe,Ce){V.mechanism=V.mechanism||{type:"generic",handled:!0},V.mechanism=Gs(ka({},V.mechanism),{type:"chained",source:Z,exception_id:fe,parent_id:Ce})}function bl(V,Z){return V.map(fe=>(fe.value&&(fe.value=Ee(fe.value,Z)),fe))}const il="cause",Au=5;class sl{static __initStatic(){this.id="LinkedErrors"}constructor(Z={}){this.name=sl.id,this._key=Z.key||il,this._limit=Z.limit||Au}setupOnce(Z,fe){Z((Ce,Le)=>{const et=fe(),Mt=et.getClient(),Dt=et.getIntegration(sl);if(!Mt||!Dt)return Ce;const Vt=Mt.getOptions();return Ds(Mo,Vt.stackParser,Vt.maxValueLength,Dt._key,Dt._limit,Ce,Le),Ce})}}sl.__initStatic();class Qs{static __initStatic(){this.id="HttpContext"}constructor(){this.name=Qs.id}setupOnce(){Yt(Z=>{if(Rt().getIntegration(Qs)){if(!br.navigator&&!br.location&&!br.document)return Z;const fe=Z.request&&Z.request.url||br.location&&br.location.href,{referrer:Ce}=br.document||{},{userAgent:Le}=br.navigator||{},et=ka(ka(ka({},Z.request&&Z.request.headers),Ce&&{Referer:Ce}),Le&&{"User-Agent":Le}),Mt=Gs(ka(ka({},Z.request),fe&&{url:fe}),{headers:et});return Gs(ka({},Z),{request:Mt})}return Z})}}Qs.__initStatic();class ws{static __initStatic(){this.id="Dedupe"}constructor(){this.name=ws.id}setupOnce(Z,fe){const Ce=Le=>{if(Le.type)return Le;const et=fe().getIntegration(ws);if(et){try{if(Xs(Le,et._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(Mt){return et._previousEvent=Le}return et._previousEvent=Le}return Le};Ce.id=this.name,Z(Ce)}}ws.__initStatic();function Xs(V,Z){return Z?!!(Tl(V,Z)||cu(V,Z)):!1}function Tl(V,Z){const fe=V.message,Ce=Z.message;return!(!fe&&!Ce||fe&&!Ce||!fe&&Ce||fe!==Ce||!Ss(V,Z)||!ns(V,Z))}function cu(V,Z){const fe=Bs(Z),Ce=Bs(V);return!(!fe||!Ce||fe.type!==Ce.type||fe.value!==Ce.value||!Ss(V,Z)||!ns(V,Z))}function ns(V,Z){let fe=js(V),Ce=js(Z);if(!fe&&!Ce)return!0;if(fe&&!Ce||!fe&&Ce||(fe=fe,Ce=Ce,Ce.length!==fe.length))return!1;for(let Le=0;Le{Z===void 0||Z===fe||zo(getCurrentHub())}))}function ua(V){const Z=getCurrentHub().getClient();Z&&Z.captureUserFeedback(V)}var ul=e(10063);const nu="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx";function Js(V){const Z=V.match(/^([^.]+)/);return Z!==null&&parseInt(Z[0])>=17}const Ll="unknown",_l={componentStack:null,error:null,eventId:null};function Ao(V,Z){const fe=new WeakMap;function Ce(Le,et){if(!fe.has(Le)){if(Le.cause)return fe.set(Le,!0),Ce(Le.cause,et);Le.cause=et}}Ce(V,Z)}class yi extends C.Component{constructor(Z){super(Z),yi.prototype.__init.call(this),this.state=_l,this._openFallbackReportDialog=!0;const fe=Rt().getClient();fe&&fe.on&&Z.showDialog&&(this._openFallbackReportDialog=!1,fe.on("afterSendEvent",Ce=>{!Ce.type&&Ce.event_id===this._lastEventId&&Ps(Gs(ka({},Z.dialogOptions),{eventId:this._lastEventId}))}))}componentDidCatch(Z,{componentStack:fe}){const{beforeCapture:Ce,onError:Le,showDialog:et,dialogOptions:Mt}=this.props;la(Dt=>{if(Js(C.version)&&he(Z)){const cn=new Error(Z.message);cn.name=`React ErrorBoundary ${cn.name}`,cn.stack=fe,Ao(Z,cn)}Ce&&Ce(Dt,Z,fe);const Vt=xt(Z,{contexts:{react:{componentStack:fe}}});Le&&Le(Z,fe,Vt),et&&(this._lastEventId=Vt,this._openFallbackReportDialog&&Ps(Gs(ka({},Mt),{eventId:Vt}))),this.setState({error:Z,componentStack:fe,eventId:Vt})})}componentDidMount(){const{onMount:Z}=this.props;Z&&Z()}componentWillUnmount(){const{error:Z,componentStack:fe,eventId:Ce}=this.state,{onUnmount:Le}=this.props;Le&&Le(Z,fe,Ce)}__init(){this.resetErrorBoundary=()=>{const{onReset:Z}=this.props,{error:fe,componentStack:Ce,eventId:Le}=this.state;Z&&Z(fe,Ce,Le),this.setState(_l)}}render(){const{fallback:Z,children:fe}=this.props,Ce=this.state;if(Ce.error){let Le;return typeof Z=="function"?Le=Z({error:Ce.error,componentStack:Ce.componentStack,resetError:this.resetErrorBoundary,eventId:Ce.eventId}):Le=Z,C.isValidElement(Le)?Le:(Z&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("fallback did not produce a valid ReactElement"),null)}return typeof fe=="function"?fe():fe}}function dc(V,Z){const fe=V.displayName||V.name||Ll,Ce=Le=>React.createElement(yi,Gs(ka({},Z),{__self:this,__source:{fileName:nu,lineNumber:227}}),React.createElement(V,Gs(ka({},Le),{__self:this,__source:{fileName:nu,lineNumber:228}})));return Ce.displayName=`errorBoundary(${fe})`,hoistNonReactStatics(Ce,V),Ce}var ec=e(51830),no=e(76180),Ji=e(53357),Zs={200:"requestConfig.success.msg",401:"requestConfig.unAuth.msg",403:"requestConfig.permissionDenied.msg",429:"errCode.TokenExceedsRateLimit",500:"requestConfig.responseStatus.msg"},Ra={101:"requestConfig.errorContent.msg",200001:"errCode.PartialSuccessBatchAssignLeaders",200002:"errCode.PartialSuccessBatchAssignWorkers",4e5:"errCode.BadRequest",400001:"errCode.ParameterMissing",400002:"errCode.ParameterIsInvalid",400050:"errCode.AnnotationNotListOfObj",400051:"errCode.AnnotationMissingCatName",400052:"errCode.AnnotationMissingBBox",400053:"errCode.AnnotationBBoxFormatError",400054:"errCode.AnnotationFormatError",400100:"errCode.FlagGroupsNotListOfObj",400101:"errCode.FlagObjectMissingFlag",400102:"errCode.FlagObjectFlagValueInvalid",400103:"errCode.FlagObjectMissingIDs",400104:"errCode.FlagObjectIDsNotList",400150:"errCode.LabelSetNameInvalid",400151:"errCode.LabelSetNameConflicts",400200:"errCode.UserNotFoundForLabelProject",400201:"errCode.UserNotActiveForLabelProject",400202:"errCode.DatasetNotFoundForLabelProject",400203:"errCode.LabelTaskNotFoundForLabelProject",400204:"errCode.CreateLabelProjectRequireManager",400205:"errCode.CreateLabelProjectRequireDataset",400206:"errCode.CreateLabelProjectRequireCategory",400207:"errCode.CreateLabelProjectDatasetOccupied",400208:"errCode.EditLabelProjectRequireManager",400209:"errCode.InitLabelProjectMustBeWaiting",400210:"errCode.InitLabelProjectTaskConfigError",400211:"errCode.QALabelProjectActionError",400212:"errCode.QALabelProjectMustBeReviewing",400213:"errCode.ExportLabelProjectMustBeAccepted",400214:"errCode.LeaderIDIsRequired",400215:"errCode.LabelerIDIsRequired",400216:"errCode.LabelProjectRoleIsNotTaskLevel",400217:"errCode.CantReplaceRoleWithTheSameUser",400218:"errCode.OldUserDoesNotHaveTheTaskRole",400219:"errCode.NewUserAlreadyHaveTheTaskRole",400220:"errCode.CantTransferRoleBetweenDifferentTask",400221:"errCode.CantTransferRoleToDifferentKind",400222:"errCode.RestartLabelTaskMustBeRejected",400223:"errCode.QALabelTaskActionError",400224:"errCode.AcceptLabelTaskMustBeReviewing",400225:"errCode.RejectLabelTaskMustBeReviewing",400226:"errCode.ForceAcceptLabelTaskMustBeRejected",400227:"errCode.LabelAnnotationMissingFields",400228:"errCode.LabelAnnotationFieldValueInvalid",400229:"errCode.LabelImageRequireTaskStatusWorking",400230:"errCode.LabelImageRequireUnfinishedReviewing",400231:"errCode.ReviewImageRequireTaskStatusWorking",400232:"errCode.ReviewImageRequireFinishedLabeling",400233:"errCode.ReviewImageTargetLabelNotFound",400234:"errCode.ReviewImageFoundExistedReview",400235:"errCode.CantDeleteAllOwnersOfLabelProject",400236:"errCode.NumOfTaskLeaderMismatchesConfig",400237:"errCode.TaskDoesNotRequireReviewer",400238:"errCode.NumOfTaskLabelerMismatchesConfig",400239:"errCode.NumOfTaskReviewerMismatchesConfig",400240:"errCode.TryInitRoleForTaskWithActiveRoles",400241:"errCode.TaskRoleNotOfLeaderKind",401e3:"errCode.Unauthorized",401001:"requestConfig.unAuth.msg",403e3:"errCode.Forbidden",403001:"requestConfig.permissionDenied.msg",403050:"errCode.UserAuthenticationFailed",403051:"errCode.UserCantViewLabelProjectTask",403052:"errCode.UserCantViewLabelProjectRole",403053:"errCode.UserCantCreateLabelProject",403054:"errCode.UserCantViewLabelProject",403055:"errCode.UserCantEditLabelProject",403056:"errCode.UserCantInitLabelProject",403057:"errCode.UserCantQALabelProject",403058:"errCode.UserCantExportLabelProject",403059:"errCode.UserCantAssignLabelTaskLeader",403060:"errCode.UserCantAssignLabelTaskWorker",403061:"errCode.UserCantRestartLabelTask",403062:"errCode.UserCantQALabelTask",403063:"errCode.UserCantLabelTaskImage",403064:"errCode.UserCantReviewTaskImage",404e3:"errCode.NotFound",404050:"errCode.DatasetNotFound",404051:"errCode.DatasetNotReadable",404052:"errCode.DatasetMissingEmbdFile",404053:"errCode.DatasetImageNotFound",404054:"errCode.DatasetHasNoFNFPData",404055:"errCode.DatasetLabelNotFound",404056:"errCode.DatasetFNFPPrecisionNotFound",404100:"errCode.ReRankByFlagTaskNotFound",404150:"errCode.LabelProjectNotFound",404151:"errCode.LabelProjectRoleNotFound",404152:"errCode.LabelProjectTaskNotFound",404153:"errCode.LabelTaskImageNotFound",429002:"errCode.TokenExceedsRateLimit",5e5:"errCode.InternalError",500001:"errCode.FailedToCloneLabelSet"},ru=function(Z,fe){return Z&&Ra[Z]?(0,Ji._w)(Ra[Z]):fe&&Zs[fe]?(0,Ji._w)(Zs[fe]):(0,Ji._w)("requestConfig.errorData.msg",{code:"".concat(fe).concat(Z?"-".concat(Z):"")})},Yi=e(35667);function Ml(){return cl.apply(this,arguments)}function cl(){return cl=w()(g()().mark(function V(){return g()().wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return document.addEventListener("wheel",function(Ce){(Ce.ctrlKey||Ce.detail)&&Ce.preventDefault()},{capture:!1,passive:!1}),document.addEventListener("keydown",function(Ce){(Ce.ctrlKey===!0||Ce.metaKey===!0)&&(Ce.keyCode===61||Ce.keyCode===107||Ce.keyCode===173||Ce.keyCode===109||Ce.keyCode===187||Ce.keyCode===189)&&Ce.preventDefault()},!1),N.ZP.config({duration:1.5,maxCount:2}),fe.abrupt("return",{name:"@umijs/max"});case 4:case"end":return fe.stop()}},V)})),cl.apply(this,arguments)}var du=function(){return{pure:!0,title:(0,Ji._w)("layout.title")}};function Nl(V){var Z={showDialog:!0,fallback:function(Ce){return(0,Yi.jsx)(ec.xA,h()({},Ce))}};return C.createElement(yi,Z,V)}var tc={baseURL:"",timeout:1e5,headers:{"Content-Type":"application/json"},errorConfig:{errorHandler:function(Z,fe){var Ce;if(!/^2/.test(Z.status)&&!(fe!=null&&fe.skipErrorHandler)&&(((Ce=Z.response)===null||Ce===void 0?void 0:Ce.status)===401&&(L.history.push("/"),localStorage.removeItem(no.Uf.AUTH_TOKEN)),!(fe!=null&&fe.hideCodeErrorMsg)))if(Z.response){var Le;N.ZP.error(ru((Le=Z.response.data)===null||Le===void 0?void 0:Le.code,Z.response.status))}else Z.request?N.ZP.error((0,Ji._w)("requestConfig.noResponse.msg")):N.ZP.error((0,Ji._w)("requestConfig.requestError.msg"))}},requestInterceptors:[function(V){if(V.params&&(V.params=$().decamelizeKeys(V.params)),V.data&&(V.data=$().decamelizeKeys(V.data)),V.headers){var Z,fe;if((Z=V.url)!==null&&Z!==void 0&&Z.includes("https://api.deepdataspace.com"))V.headers.Token="dds-tool-free";else if(((fe=V.url)===null||fe===void 0?void 0:fe.indexOf("http"))!==0){var Ce=localStorage.getItem(no.Uf.AUTH_TOKEN);Ce&&(V.headers.Token=Ce)}}return h()({},V)}],responseInterceptors:[function(V){var Z;if(((Z=V.data)===null||Z===void 0?void 0:Z.code)===0){var fe;return V.data=$().camelizeKeys(((fe=V.data)===null||fe===void 0?void 0:fe.data)||{}),V}else{var Ce;if(!((Ce=V.config)!==null&&Ce!==void 0&&Ce.hideCodeErrorMsg)){var Le;N.ZP.error(ru((Le=V.data)===null||Le===void 0?void 0:Le.code,200))}throw V}}]},Zu=e(7862),Lo=e.n(Zu),Ou=e(81690),Yl=e.n(Ou),vs=e(21700),Sl=e.n(vs),dl=e(31236),Wt=e.n(dl);function Ai(){return Ai=Object.assign||function(V){for(var Z=1;Z=0||(Le[fe]=V[fe]);return Le}var co={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Uu={rel:["amphtml","canonical","alternate"]},fu={type:["application/ld+json"]},ss={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},El=Object.keys(co).map(function(V){return co[V]}),bi={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},xi=Object.keys(bi).reduce(function(V,Z){return V[bi[Z]]=Z,V},{}),qi=function(V,Z){for(var fe=V.length-1;fe>=0;fe-=1){var Ce=V[fe];if(Object.prototype.hasOwnProperty.call(Ce,Z))return Ce[Z]}return null},rs=function(V){var Z=qi(V,co.TITLE),fe=qi(V,"titleTemplate");if(Array.isArray(Z)&&(Z=Z.join("")),fe&&Z)return fe.replace(/%s/g,function(){return Z});var Ce=qi(V,"defaultTitle");return Z||Ce||void 0},mo=function(V){return qi(V,"onChangeClientState")||function(){}},qs=function(V,Z){return Z.filter(function(fe){return fe[V]!==void 0}).map(function(fe){return fe[V]}).reduce(function(fe,Ce){return Ai({},fe,Ce)},{})},au=function(V,Z){return Z.filter(function(fe){return fe[co.BASE]!==void 0}).map(function(fe){return fe[co.BASE]}).reverse().reduce(function(fe,Ce){if(!fe.length)for(var Le=Object.keys(Ce),et=0;et/g,">").replace(/"/g,""").replace(/'/g,"'")},gs=function(V){return Object.keys(V).reduce(function(Z,fe){var Ce=V[fe]!==void 0?fe+'="'+V[fe]+'"':""+fe;return Z?Z+" "+Ce:Ce},"")},Du=function(V,Z){return Z===void 0&&(Z={}),Object.keys(V).reduce(function(fe,Ce){return fe[bi[Ce]||Ce]=V[Ce],fe},Z)},ks=function(V,Z){return Z.map(function(fe,Ce){var Le,et=((Le={key:Ce})["data-rh"]=!0,Le);return Object.keys(fe).forEach(function(Mt){var Dt=bi[Mt]||Mt;Dt==="innerHTML"||Dt==="cssText"?et.dangerouslySetInnerHTML={__html:fe.innerHTML||fe.cssText}:et[Dt]=fe[Mt]}),C.createElement(V,et)})},ma=function(V,Z,fe){switch(V){case co.TITLE:return{toComponent:function(){return Le=Z.titleAttributes,(et={key:Ce=Z.title})["data-rh"]=!0,Mt=Du(Le,et),[C.createElement(co.TITLE,Mt,Ce)];var Ce,Le,et,Mt},toString:function(){return function(Ce,Le,et,Mt){var Dt=gs(et),Vt=vu(Le);return Dt?"<"+Ce+' data-rh="true" '+Dt+">"+Es(Vt,Mt)+"":"<"+Ce+' data-rh="true">'+Es(Vt,Mt)+""}(V,Z.title,Z.titleAttributes,fe)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Du(Z)},toString:function(){return gs(Z)}};default:return{toComponent:function(){return ks(V,Z)},toString:function(){return function(Ce,Le,et){return Le.reduce(function(Mt,Dt){var Vt=Object.keys(Dt).filter(function(St){return!(St==="innerHTML"||St==="cssText")}).reduce(function(St,pn){var Qn=Dt[pn]===void 0?pn:pn+'="'+Es(Dt[pn],et)+'"';return St?St+" "+Qn:Qn},""),cn=Dt.innerHTML||Dt.cssText||"",hn=xl.indexOf(Ce)===-1;return Mt+"<"+Ce+' data-rh="true" '+Vt+(hn?"/>":">"+cn+"")},"")}(V,Z,fe)}}}},at=function(V){var Z=V.baseTag,fe=V.bodyAttributes,Ce=V.encode,Le=V.htmlAttributes,et=V.noscriptTags,Mt=V.styleTags,Dt=V.title,Vt=Dt===void 0?"":Dt,cn=V.titleAttributes,hn=V.linkTags,St=V.metaTags,pn=V.scriptTags,Qn={toComponent:function(){},toString:function(){return""}};if(V.prioritizeSeoTags){var Jn=function(Sr){var Lr=Sr.linkTags,Qr=Sr.scriptTags,ya=Sr.encode,da=Us(Sr.metaTags,ss),ba=Us(Lr,Uu),qa=Us(Qr,fu);return{priorityMethods:{toComponent:function(){return[].concat(ks(co.META,da.priority),ks(co.LINK,ba.priority),ks(co.SCRIPT,qa.priority))},toString:function(){return ma(co.META,da.priority,ya)+" "+ma(co.LINK,ba.priority,ya)+" "+ma(co.SCRIPT,qa.priority,ya)}},metaTags:da.default,linkTags:ba.default,scriptTags:qa.default}}(V);Qn=Jn.priorityMethods,hn=Jn.linkTags,St=Jn.metaTags,pn=Jn.scriptTags}return{priority:Qn,base:ma(co.BASE,Z,Ce),bodyAttributes:ma("bodyAttributes",fe,Ce),htmlAttributes:ma("htmlAttributes",Le,Ce),link:ma(co.LINK,hn,Ce),meta:ma(co.META,St,Ce),noscript:ma(co.NOSCRIPT,et,Ce),script:ma(co.SCRIPT,pn,Ce),style:ma(co.STYLE,Mt,Ce),title:ma(co.TITLE,{title:Vt,titleAttributes:cn},Ce)}},Kt=[],_n=function(V,Z){var fe=this;Z===void 0&&(Z=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Ce){fe.context.helmet=Ce},helmetInstances:{get:function(){return fe.canUseDOM?Kt:fe.instances},add:function(Ce){(fe.canUseDOM?Kt:fe.instances).push(Ce)},remove:function(Ce){var Le=(fe.canUseDOM?Kt:fe.instances).indexOf(Ce);(fe.canUseDOM?Kt:fe.instances).splice(Le,1)}}},this.context=V,this.canUseDOM=Z,Z||(V.helmet=at({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},dr=C.createContext({}),wa=Lo().shape({setHelmet:Lo().func,helmetInstances:Lo().shape({get:Lo().func,add:Lo().func,remove:Lo().func})}),lo=typeof document!="undefined",li=function(V){function Z(fe){var Ce;return(Ce=V.call(this,fe)||this).helmetData=new _n(Ce.props.context,Z.canUseDOM),Ce}return Vl(Z,V),Z.prototype.render=function(){return C.createElement(dr.Provider,{value:this.helmetData.value},this.props.children)},Z}(C.Component);li.canUseDOM=lo,li.propTypes={context:Lo().shape({helmet:Lo().shape()}),children:Lo().node.isRequired},li.defaultProps={context:{}},li.displayName="HelmetProvider";var Fo=function(V,Z){var fe,Ce=document.head||document.querySelector(co.HEAD),Le=Ce.querySelectorAll(V+"[data-rh]"),et=[].slice.call(Le),Mt=[];return Z&&Z.length&&Z.forEach(function(Dt){var Vt=document.createElement(V);for(var cn in Dt)Object.prototype.hasOwnProperty.call(Dt,cn)&&(cn==="innerHTML"?Vt.innerHTML=Dt.innerHTML:cn==="cssText"?Vt.styleSheet?Vt.styleSheet.cssText=Dt.cssText:Vt.appendChild(document.createTextNode(Dt.cssText)):Vt.setAttribute(cn,Dt[cn]===void 0?"":Dt[cn]));Vt.setAttribute("data-rh","true"),et.some(function(hn,St){return fe=St,Vt.isEqualNode(hn)})?et.splice(fe,1):Mt.push(Vt)}),et.forEach(function(Dt){return Dt.parentNode.removeChild(Dt)}),Mt.forEach(function(Dt){return Ce.appendChild(Dt)}),{oldTags:et,newTags:Mt}},es=function(V,Z){var fe=document.getElementsByTagName(V)[0];if(fe){for(var Ce=fe.getAttribute("data-rh"),Le=Ce?Ce.split(","):[],et=[].concat(Le),Mt=Object.keys(Z),Dt=0;Dt=0;St-=1)fe.removeAttribute(et[St]);Le.length===et.length?fe.removeAttribute("data-rh"):fe.getAttribute("data-rh")!==Mt.join(",")&&fe.setAttribute("data-rh",Mt.join(","))}},ni=function(V,Z){var fe=V.baseTag,Ce=V.htmlAttributes,Le=V.linkTags,et=V.metaTags,Mt=V.noscriptTags,Dt=V.onChangeClientState,Vt=V.scriptTags,cn=V.styleTags,hn=V.title,St=V.titleAttributes;es(co.BODY,V.bodyAttributes),es(co.HTML,Ce),function(Sr,Lr){Sr!==void 0&&document.title!==Sr&&(document.title=vu(Sr)),es(co.TITLE,Lr)}(hn,St);var pn={baseTag:Fo(co.BASE,fe),linkTags:Fo(co.LINK,Le),metaTags:Fo(co.META,et),noscriptTags:Fo(co.NOSCRIPT,Mt),scriptTags:Fo(co.SCRIPT,Vt),styleTags:Fo(co.STYLE,cn)},Qn={},Jn={};Object.keys(pn).forEach(function(Sr){var Lr=pn[Sr],Qr=Lr.newTags,ya=Lr.oldTags;Qr.length&&(Qn[Sr]=Qr),ya.length&&(Jn[Sr]=pn[Sr].oldTags)}),Z&&Z(),Dt(V,Qn,Jn)},fi=null,Co=function(V){function Z(){for(var Ce,Le=arguments.length,et=new Array(Le),Mt=0;Mt elements are self-closing and can not contain children. Refer to our API for more information.")}},fe.flattenArrayTypeChildren=function(Ce){var Le,et=Ce.child,Mt=Ce.arrayTypeChildren;return Ai({},Mt,((Le={})[et.type]=[].concat(Mt[et.type]||[],[Ai({},Ce.newChildProps,this.mapNestedChildrenToProps(et,Ce.nestedChildren))]),Le))},fe.mapObjectTypeChildren=function(Ce){var Le,et,Mt=Ce.child,Dt=Ce.newProps,Vt=Ce.newChildProps,cn=Ce.nestedChildren;switch(Mt.type){case co.TITLE:return Ai({},Dt,((Le={})[Mt.type]=cn,Le.titleAttributes=Ai({},Vt),Le));case co.BODY:return Ai({},Dt,{bodyAttributes:Ai({},Vt)});case co.HTML:return Ai({},Dt,{htmlAttributes:Ai({},Vt)});default:return Ai({},Dt,((et={})[Mt.type]=Ai({},Vt),et))}},fe.mapArrayTypeChildrenToProps=function(Ce,Le){var et=Ai({},Le);return Object.keys(Ce).forEach(function(Mt){var Dt;et=Ai({},et,((Dt={})[Mt]=Ce[Mt],Dt))}),et},fe.warnOnInvalidChildren=function(Ce,Le){return Sl()(El.some(function(et){return Ce.type===et}),typeof Ce.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+El.join(", ")+" are allowed. Helmet does not support rendering <"+Ce.type+"> elements. Refer to our API for more information."),Sl()(!Le||typeof Le=="string"||Array.isArray(Le)&&!Le.some(function(et){return typeof et!="string"}),"Helmet expects a string as a child of <"+Ce.type+">. Did you forget to wrap your children in braces? ( <"+Ce.type+">{``} ) Refer to our API for more information."),!0},fe.mapChildrenToProps=function(Ce,Le){var et=this,Mt={};return C.Children.forEach(Ce,function(Dt){if(Dt&&Dt.props){var Vt=Dt.props,cn=Vt.children,hn=Zo(Vt,Oo),St=Object.keys(hn).reduce(function(Qn,Jn){return Qn[xi[Jn]||Jn]=hn[Jn],Qn},{}),pn=Dt.type;switch(typeof pn=="symbol"?pn=pn.toString():et.warnOnInvalidChildren(Dt,cn),pn){case co.FRAGMENT:Le=et.mapChildrenToProps(cn,Le);break;case co.LINK:case co.META:case co.NOSCRIPT:case co.SCRIPT:case co.STYLE:Mt=et.flattenArrayTypeChildren({child:Dt,arrayTypeChildren:Mt,newChildProps:St,nestedChildren:cn});break;default:Le=et.mapObjectTypeChildren({child:Dt,newProps:Le,newChildProps:St,nestedChildren:cn})}}}),this.mapArrayTypeChildrenToProps(Mt,Le)},fe.render=function(){var Ce=this.props,Le=Ce.children,et=Zo(Ce,ki),Mt=Ai({},et),Dt=et.helmetData;return Le&&(Mt=this.mapChildrenToProps(Le,Mt)),!Dt||Dt instanceof _n||(Dt=new _n(Dt.context,Dt.instances)),Dt?C.createElement(Co,Ai({},Mt,{context:Dt.value,helmetData:void 0})):C.createElement(dr.Consumer,null,function(Vt){return C.createElement(Co,Ai({},Mt,{context:Vt}))})},Z}(C.Component);ms.propTypes={base:Lo().object,bodyAttributes:Lo().object,children:Lo().oneOfType([Lo().arrayOf(Lo().node),Lo().node]),defaultTitle:Lo().string,defer:Lo().bool,encodeSpecialCharacters:Lo().bool,htmlAttributes:Lo().object,link:Lo().arrayOf(Lo().object),meta:Lo().arrayOf(Lo().object),noscript:Lo().arrayOf(Lo().object),onChangeClientState:Lo().func,script:Lo().arrayOf(Lo().object),style:Lo().arrayOf(Lo().object),title:Lo().string,titleAttributes:Lo().object,titleTemplate:Lo().string,prioritizeSeoTags:Lo().bool,helmetData:Lo().object},ms.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ms.displayName="Helmet";var wu={},Gl=function(Z){return C.createElement(li,{context:wu},Z)},ls=e(96662);function ju(V){var Z={};return(0,Yi.jsx)(ls.J.Provider,{value:Z,children:V.children})}function Kl(V){return(0,Yi.jsx)(ju,{children:V})}var us=e(62376),Ic=e.n(us),nc=e(62109),fl=e(65388),Il=e(42505),Rl=["appConfig"],ku=null,Ac=function(){return ku||(ku=Cr().applyPlugins({key:"antd",type:L.ApplyPluginsType.modify,initialValue:h()({},{theme:{token:{colorLink:"#1e53f5",colorPrimary:"#1e53f5"}}})})),ku};function gu(V){var Z=Ac(),fe=Z.appConfig,Ce=Ic()(Z,Rl),Le=V;return Ce.prefixCls&&(nc.Z.config({rootPrefixCls:Ce.prefixCls}),N.ZP.config({prefixCls:"".concat(Ce.prefixCls,"-message")}),fl.Z.config({prefixCls:"".concat(Ce.prefixCls,"-notification")})),Ce.iconPrefixCls&&Il.ZP.config({iconPrefixCls:Ce.iconPrefixCls}),Ce.theme&&Il.ZP.config({theme:Ce.theme}),Le=(0,Yi.jsx)(Il.ZP,h()(h()({},Ce),{},{children:Le})),Le}var mu=e(47338);function pu(){return(0,Yi.jsx)("div",{})}function as(V){var Z=C.useRef(!1),fe=(0,mu.t)("@@initialState")||{},Ce=fe.loading,Le=Ce===void 0?!1:Ce;return C.useEffect(function(){Le||(Z.current=!0)},[Le]),Le&&!Z.current?(0,Yi.jsx)(pu,{}):V.children}function Pu(V){return(0,Yi.jsx)(as,{children:V})}var ps={};function Qi(V){return V.replace(V[0],V[0].toUpperCase()).replace(/-(w)/g,function(Z,fe){return fe.toUpperCase()})}function Ts(V){var Z=V.routes;Object.keys(Z).forEach(function(fe){var Ce=Z[fe].icon;if(Ce&&typeof Ce=="string"){var Le=Qi(Ce);(ps[Le]||ps[Le+"Outlined"])&&(Z[fe].icon=C.createElement(ps[Le]||ps[Le+"Outlined"]))}})}var el=e(88205),Wo=e.n(el),iu=e(6901),cs=e.n(iu),rc=e(85417),tl=e(16221);function vl(){var V=getLocale();if(moment!=null&&moment.locale){var Z;moment.locale(((Z=localeInfo[V])===null||Z===void 0?void 0:Z.momentLocale)||"")}setIntl(V)}var Ls=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?C.useLayoutEffect:C.useEffect,vi=function(Z){var fe,Ce=(0,tl.Kd)(),Le=C.useState(Ce),et=Wo()(Le,2),Mt=et[0],Dt=et[1],Vt=C.useState(function(){return(0,tl.lw)(Mt,!0)}),cn=Wo()(Vt,2),hn=cn[0],St=cn[1],pn=function(Lr){if(cs()!==null&&cs()!==void 0&&cs().locale){var Qr;cs().locale(((Qr=tl.H8[Lr])===null||Qr===void 0?void 0:Qr.momentLocale)||"en")}Dt(Lr),St((0,tl.lw)(Lr))};Ls(function(){return tl.B.on(tl.PZ,pn),function(){tl.B.off(tl.PZ,pn)}},[]);var Qn={},Jn=(0,tl.Mg)();return(0,Yi.jsx)(Il.ZP,{direction:Jn,locale:((fe=tl.H8[Mt])===null||fe===void 0?void 0:fe.antd)||Qn,children:(0,Yi.jsx)(tl.eU,{value:hn,children:Z.children})})};function Cs(V){return C.createElement(vi,null,V)}var hu=e(34485),Tu=e.n(hu),gl=e(65246),Wu=e(7986);function Lu(V,Z){return zl.apply(this,arguments)}function zl(){return zl=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/datasets",h()({method:"GET",params:Z},fe||{})));case 1:case"end":return Le.stop()}},V)})),zl.apply(this,arguments)}function Al(V,Z){return Fl.apply(this,arguments)}function Fl(){return Fl=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/datasets/".concat(Z.datasetId),h()({method:"GET"},fe||{})));case 1:case"end":return Le.stop()}},V)})),Fl.apply(this,arguments)}function qo(V,Z){return F.apply(this,arguments)}function F(){return F=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/images",h()({method:"GET",params:Z},fe||{})));case 1:case"end":return Le.stop()}},V)})),F.apply(this,arguments)}function ve(V,Z){return Ue.apply(this,arguments)}function Ue(){return Ue=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/image_flags",h()({method:"POST",data:h()({},Z)},fe||{})));case 1:case"end":return Le.stop()}},V)})),Ue.apply(this,arguments)}function ot(V,Z){return Nt.apply(this,arguments)}function Nt(){return Nt=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/tasks/rerank_by_flags",h()({method:"POST",data:h()({},Z)},fe||{})));case 1:case"end":return Le.stop()}},V)})),Nt.apply(this,arguments)}function Pn(V,Z){return Fr.apply(this,arguments)}function Fr(){return Fr=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/tasks/".concat(Z.name,"/").concat(Z.id),h()({method:"GET"},fe||{})));case 1:case"end":return Le.stop()}},V)})),Fr.apply(this,arguments)}function io(V,Z){return jo.apply(this,arguments)}function jo(){return jo=_asyncToGenerator(_regeneratorRuntime().mark(function V(Z,fe){return _regeneratorRuntime().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",request("/api/v1/annotations",_objectSpread({method:"POST",data:_objectSpread({},Z)},fe||{})));case 1:case"end":return Le.stop()}},V)})),jo.apply(this,arguments)}function ci(V,Z){return Vi.apply(this,arguments)}function Vi(){return Vi=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/comparisons",h()({method:"GET",params:Z},fe||{})));case 1:case"end":return Le.stop()}},V)})),Vi.apply(this,arguments)}function nl(V,Z){return ml.apply(this,arguments)}function ml(){return ml=_asyncToGenerator(_regeneratorRuntime().mark(function V(Z,fe){return _regeneratorRuntime().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",request("/api/v1/label_clone",_objectSpread({method:"POST",data:_objectSpread({},Z)},fe||{})));case 1:case"end":return Le.stop()}},V)})),ml.apply(this,arguments)}var ac=e(74595),Ii=e(67160),oc=e(39378),Oc=function(){var V,Z,fe,Ce=(0,gl.x)(h()({},Ii.C2)),Le=Wo()(Ce,2),et=Le[0],Mt=Le[1],Dt=(0,gl.x)(h()({},Ii.$I)),Vt=Wo()(Dt,2),cn=Vt[0],hn=Vt[1],St=et.filterValues,pn=et.comparisons,Qn=cn.filters,Jn=function(Qa){Mt(function(Wa){Object.assign(Wa,Ii.C2,Qa)})},Sr=function(){},Lr=(0,Wu.Z)(function(uo){if(!et.datasetId)throw null;return Al({datasetId:et.datasetId})},{refreshDeps:[et.datasetId],onSuccess:function(Qa,Wa){var ui=Qa.categoryList,Mi=Qa.labelList,_i=Qa.objectTypes,fo=Wa.length>0?Wa[0]:no.$j.gt,Bi=_i.filter(function(oi){return oi!==no.JJ.Classification}),$i=et.filterValues.displayAnnotationType&&Bi.find(function(oi){return oi===et.filterValues.displayAnnotationType});hn(function(oi){var gi=$i||Bi[0],ja=(0,ac.B8)(et.filterValues.displayOptions,gi),ii=Wo()(ja,2),Wi=ii[0],Is=ii[1];oi.filters.categories=[{id:"All",name:"All"}].concat(Tu()(ui)),oi.filters.annotationTypes=Bi,oi.filters.displayOptions=Wi,$i||Mt(function(ts){ts.filterValues.displayOptions=Is,ts.filterValues.displayAnnotationType=gi}),et.filterValues.categoryId||Mt(function(ts){ts.filterValues.categoryId="All"}),Mi&&Mi.length&&(oi.filters.labels=Mi.map(function(ts){return ts.confidenceRange=ts.source===no.$j.pred?[.2,1]:[0,1],ts.source===fo&&!$i&&Mt(function(Hi){Hi.filterValues.selectedLabelIds=[ts.id]}),ts}))})},onError:function(){}},[function(uo){return{onBefore:function(){var Wa;return{loading:!(!((Wa=uo.state.params)===null||Wa===void 0)&&Wa.length)}}}}]),Qr=Lr.loading,ya=Lr.runAsync,da=(0,Wu.Z)(function(){var uo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Qa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!et.datasetId||!et.filterValues.categoryId)throw null;uo||(hn(function(Mi){Object.assign(Mi,Ii.vA)}),window.scrollTo(0,0));var Wa=et.filterValues.categoryId==="All"?void 0:et.filterValues.categoryId,ui={datasetId:et.datasetId,categoryId:Wa,pageNum:et.page,pageSize:et.pageSize};return et.queryMode===Ii.nJ.random&&Object.assign(ui,{offset:Qa?-1:et.offset,pageSize:no.L8}),et.comparisons?ci(h()(h()({},ui),{},{labelId:et.comparisons.label.id,precision:et.comparisons.precision,orderBy:et.comparisons.orderBy,displayCategoryId:Wa})):(et.flagTools&&et.flagTools.flagStatus>=0&&Object.assign(ui,{flag:et.flagTools.flagStatus}),qo(ui))},{debounceWait:20,refreshDeps:[et.datasetId,et.filterValues.categoryId,et.queryMode,et.page,et.pageSize,(V=et.comparisons)===null||V===void 0?void 0:V.precision,(Z=et.comparisons)===null||Z===void 0?void 0:Z.orderBy,(fe=et.flagTools)===null||fe===void 0?void 0:fe.flagStatus],onSuccess:function(Qa){hn(function(Wa){Wa.imgList=Qa.imageList,Wa.total=Qa.total}),Mt(function(Wa){Wa.offset=(0,oc.isNumber)(Qa.offset)?Qa.offset:-1})},onError:function(){}},[function(uo){return{onBefore:function(){var Wa;return{loading:!(!((Wa=uo.state.params)===null||Wa===void 0)&&Wa.length)}}}}]),ba=da.loading,qa=da.run,oo=function(Qa){Mt(function(Wa){Wa.previewIndex=Qa})},xa=function(){Mt(function(Qa){Qa.previewIndex=-1})},Tr=Qr||ba,Za=(0,C.useMemo)(function(){if(pn){var uo=[],Qa=Qn.labels.find(function(Wa){return Wa.source===no.$j.gt});return(pn.displays.includes(no.$j.gt)||pn.displays.includes(no.BP.fn))&&Qa&&uo.push(Qa.id),(pn.displays.includes(no.$j.pred)||pn.displays.includes(no.BP.fp))&&uo.push(pn.label.id),uo}return St.selectedLabelIds},[pn,St.selectedLabelIds,Qn.labels]),Ho=(0,C.useMemo)(function(){return Za.length>1&&(St.displayAnnotationType===no.JJ.Matting||(pn?pn.diffMode===no.uP.Tiled:St.diffMode===no.uP.Tiled))},[pn,St.diffMode,Za]),Bo=(0,C.useMemo)(function(){var uo={};return Object.keys(no.zY).forEach(function(Qa){var Wa;uo[Qa]=!!(!((Wa=St.displayOptions)===null||Wa===void 0)&&Wa.find(function(ui){return ui===Qa}))}),uo},[et.filterValues.displayOptions]),Uo=(0,C.useCallback)(function(uo){var Qa=Tu()(uo.objects)||[],Wa=et.comparisons,ui={labels:cn.filters.labels,displayLabelIds:Za,isTiledDiff:Ho},Mi=et.filterValues.displayAnnotationType;if(Qa=Qa.filter(function(fo){var Bi,$i;return fo.mask&&Mi===no.JJ.Mask||fo.alpha&&Mi===no.JJ.Matting||((Bi=fo.points)===null||Bi===void 0?void 0:Bi.length)&&Mi===no.JJ.KeyPoints||fo.segmentation&&Mi===no.JJ.Segmentation||!(($i=fo.points)!==null&&$i!==void 0&&$i.length)&&fo.boundingBox&&Mi===no.JJ.Detection}).map(function(fo){return h()(h()({},fo),{},{mask:Mi===no.JJ.Mask?fo.mask:void 0,alpha:Mi===no.JJ.Matting?fo.alpha:void 0,points:Mi===no.JJ.KeyPoints?fo.points:void 0,segmentation:Mi===no.JJ.Segmentation?fo.segmentation:void 0,boundingBox:[no.JJ.Detection,no.JJ.KeyPoints].includes(Mi)?fo.boundingBox:void 0})}),Wa){var _i=Qa.filter(function(fo){return fo.source===no.$j.pred});Qa=Qa.filter(function(fo){return(fo.conf||0)>=Wa.score}),Qa=Qa.map(function(fo){var Bi=h()({},fo);if(fo.source===no.$j.gt){var $i=(0,oc.isNumber)(fo.matchedDetIdx)&&fo.matchedDetIdx>=0&&Qa.includes(_i[fo.matchedDetIdx])?no.BP.ok:no.BP.fn;Bi.compareResult=$i}return Bi}),Qa=Qa.filter(function(fo){return fo.compareResult===no.BP.ok?fo.source&&Wa.displays.includes(fo.source):fo.compareResult&&Wa.displays.includes(fo.compareResult)})}return Qa.filter(function(fo){var Bi=Bo.showAnnotations,$i=Bo.showAllCategory,oi=et.filterValues.categoryId||"";if(!Bi||!$i&&fo.categoryId!==oi||ui&&fo.labelId&&!ui.displayLabelIds.includes(fo.labelId)||ui&&ui.isTiledDiff&&fo.labelId!==uo.curLabelId)return!1;if(!Wa&&ui){var gi=ui.labels.find(function(ja){return ja.id===fo.labelId});return gi?gi.source===no.$j.gt?!0:fo.conf!==void 0&&fo.conf>=(gi==null?void 0:gi.confidenceRange[0])&&fo.conf<=(gi==null?void 0:gi.confidenceRange[1]):!1}return!0}).map(function(fo){var Bi=h()({},fo),$i=(0,ac.iE)(fo.labelId,Za,Ho||!!et.comparisons),oi=$i.colorAplha,gi=$i.strokeDash,ja=$i.lineWidth;return Wa&&fo.compareResult?Bi.customStyles={pointAplha:oi,strokeDash:gi,thickness:ja,fillColor:no.pB[fo.compareResult]||"transparent"}:Bi.customStyles={pointAplha:oi,strokeDash:gi,thickness:ja},Bi})},[et.filterValues.categoryId,et.filterValues.displayAnnotationType,et.comparisons,cn.filters.labels,Za,Ho,Bo]);return{pageState:et,setPageState:Mt,pageData:cn,setPageData:hn,onInitPageState:Jn,onPageContentLoaded:Sr,onPreviewIndexChange:oo,exitPreview:xa,loadDatasetInfo:ya,loadImgList:qa,loading:Tr,displayLabelIds:Za,isTiledDiff:Ho,displayOptionsResult:Bo,displayObjectsFilter:Uo}},ic=e(41260),fc=function(){var V=(0,C.useState)(!1),Z=Wo()(V,2),fe=Z[0],Ce=Z[1],Le=(0,L.useModel)("dataset.common"),et=Le.setPageState,Mt=function(){Ce(!0)},Dt=function(){Ce(!1)},Vt=function(pn){et(function(Qn){Qn.queryMode=Ii.nJ.pagination,Qn.page=1,Qn.filterValues.displayAnnotationType=no.JJ.Detection,Qn.flagTools=void 0,Qn.comparisons={label:pn,orderBy:no.YZ.fn,precision:pn.comparePrecisions[0].precision,displays:no.G3.map(function(Jn){return Jn.value}),diffMode:no.uP.Overlay,score:(0,ic.p)(pn.comparePrecisions[0].threshold,2)}})},cn=function(){et(function(pn){pn.page=1,pn.comparisons=void 0})},hn=function(pn,Qn){et(function(Jn){if(Jn.comparisons&&(Jn.comparisons[pn]=Qn,pn==="precision")){var Sr=Jn.comparisons.label.comparePrecisions.find(function(Lr){return Lr.precision===Qn});Sr&&(Jn.comparisons.score=(0,ic.p)(Sr.threshold,2))}})};return{showAnalysisModal:fe,openAnalysisModal:Mt,closeAnalysisModal:Dt,compareLabelSet:Vt,exitComparisons:cn,onFilterComparisonsPrecision:hn}},vc=function(){var V=(0,L.useModel)("dataset.common"),Z=V.pageState,fe=V.setPageState,Ce=V.pageData,Le=V.setPageData,et=function(Jn){fe(function(Sr){Sr.filterValues.categoryId=Jn,Sr.page=1})},Mt=function(Jn){var Sr;typeof Jn=="number"?Sr=Jn:Jn?Sr=Z.cloumnCount1?Z.cloumnCount-1:Z.cloumnCount,fe(function(Lr){Lr.cloumnCount=Sr})},Dt=function(Jn){fe(function(Sr){Sr.filterValues.displayOptions=Jn})},Vt=function(Jn){fe(function(Sr){Sr.filterValues.selectedLabelIds=Jn.sort(function(Lr,Qr){return Ce.filters.labels.findIndex(function(ya){return ya.id===Lr})-Ce.filters.labels.findIndex(function(ya){return ya.id===Qr})})})},cn=function(Jn){fe(function(Sr){Sr.filterValues.diffMode=Jn})},hn=function(Jn,Sr){Le(function(Lr){Lr.filters.labels[Jn].confidenceRange=Sr})},St=function(Jn){var Sr=(0,ac.B8)(Z.filterValues.displayOptions,Jn),Lr=Wo()(Sr,2),Qr=Lr[0],ya=Lr[1];Le(function(da){da.filters.displayOptions=Qr}),fe(function(da){da.filterValues.displayAnnotationType=Jn,da.filterValues.displayOptions=ya})},pn=function(Jn){fe(function(Sr){Sr.queryMode=Jn,Sr.page=1})};return{onCategoryChange:et,onColumnCountChange:Mt,onDisplayOptionsChange:Dt,onDisplayAnnotationTypeChange:St,onLabelsChange:Vt,onLabelsDiffModeChange:cn,onLabelConfidenceChange:hn,onQueryModeChanged:pn}},Ql=e(2556),Ni=function(Z){var fe=[],Ce=[];return Z.forEach(function(Le,et){Le.selected&&(fe.push(et),Ce.push(Le.id))}),{selectIndexs:fe,selectedIds:Ce}},po=function(){var V=(0,L.useModel)("dataset.common"),Z=V.pageState,fe=V.setPageState,Ce=V.pageData,Le=V.setPageData,et=V.loadImgList,Mt=(0,gl.x)(!1),Dt=Wo()(Mt,2),Vt=Dt[0],cn=Dt[1],hn=function(xa){Le(function(Tr){if(Z.flagTools){var Za=!Tr.imgList[xa].selected;if(Vt&&Tr.flagTools.lastShiftIndex>=0&&xa!==Tr.flagTools.lastShiftIndex){var Ho=Tr.flagTools.count;Tr.imgList.forEach(function(Bo,Uo){(Uo>=Tr.flagTools.lastShiftIndex&&Uo<=xa||Uo>=xa&&Uo<=Tr.flagTools.lastShiftIndex)&&(Ho+=Bo.selected?0:1,Bo.selected=!0)}),Tr.flagTools.lastShiftIndex=-1,Tr.flagTools.count=Ho}else Tr.imgList[xa].selected=Za,Tr.flagTools.lastShiftIndex=Za?xa:-1,Tr.flagTools.count+=Za?1:-1}})},St=function(){var xa=Ce.flagTools.count!==Z.pageSize;Le(function(Tr){Tr.imgList.forEach(function(Za){Za.selected=xa}),Tr.flagTools.lastShiftIndex=-1,Tr.flagTools.count=xa?Z.pageSize:0})},pn=function(){Le(function(xa){xa.imgList.forEach(function(Tr){Tr.selected=!Tr.selected}),xa.flagTools.lastShiftIndex=-1,xa.flagTools.count=Z.pageSize-xa.flagTools.count})},Qn=function(){return new Promise(function(xa){if(!Z.flagTools){xa(null);return}var Tr=Ni(Ce.imgList),Za=Tr.selectIndexs;if(Za.length>0&&(Za.length!==Ce.flagTools.lastSavedIndexs.length||Ce.flagTools.lastSavedIndexs.find(function(Ho){return!Za.includes(Ho)}))){nc.Z.confirm({content:"Now selected items have not been saved, these will lose if you click 'OK', are you sure?",onOk:function(){xa(null)}});return}xa(null)})},Jn=function(xa){Qn().then(function(){fe(function(Tr){Tr.page=1,Tr.flagTools.flagStatus=xa})})},Sr=function(){Le(function(xa){xa.flagTools.lastShiftIndex=-1,xa.flagTools.lastSavedIndexs=[],xa.flagTools.count=0}),fe(function(xa){xa.page=1,xa.flagTools={flagStatus:no.po.all}})},Lr=function(){Qn().then(function(){fe(function(xa){xa.page=1,xa.flagTools=void 0})})},Qr=function(){var oo=w()(g()().mark(function xa(Tr){var Za,Ho,Bo,Uo;return g()().wrap(function(Qa){for(;;)switch(Qa.prev=Qa.next){case 0:if(!(Ce.flagTools.count<=0)){Qa.next=3;break}return N.ZP.warning("No any image to be selected!"),Qa.abrupt("return");case 3:return Za=Ni(Ce.imgList),Ho=Za.selectIndexs,Bo=Za.selectedIds,Uo=N.ZP.loading("Flag saving..."),Qa.prev=5,Qa.next=8,ve({datasetId:Z.datasetId,flagGroups:[{flag:Tr,ids:Bo}]});case 8:Uo(),Le(function(Wa){Wa.imgList.forEach(function(ui){ui.selected&&(ui.flag=Tr)}),Wa.flagTools.lastSavedIndexs=Ho}),Qa.next=17;break;case 12:Qa.prev=12,Qa.t0=Qa.catch(5),console.error("error",Qa.t0),Uo(),N.ZP.error("Flag save fail, please retry!");case 17:case"end":return Qa.stop()}},xa,null,[[5,12]])}));return function(Tr){return oo.apply(this,arguments)}}(),ya=(0,Wu.Z)(function(oo){return Pn(oo)},{manual:!0,pollingInterval:1e3,pollingWhenHidden:!0,onSuccess:function(xa){var Tr=xa.status;Tr==="success"?(ba(),N.ZP.success("Order update success!"),Le(function(Za){Za.screenLoading=""}),fe(function(Za){Za.page=1}),et()):Tr==="fail"&&(ba(),N.ZP.error("Query order task fail, Please retry!"),Le(function(Za){Za.screenLoading=""}))}}),da=ya.run,ba=ya.cancel,qa=function(){var oo=w()(g()().mark(function xa(){var Tr,Za,Ho;return g()().wrap(function(Uo){for(;;)switch(Uo.prev=Uo.next){case 0:return Uo.prev=0,Le(function(uo){uo.screenLoading="Updating order..."}),Uo.next=4,ot({datasetId:Z.datasetId});case 4:Tr=Uo.sent,Za=Tr.id,Ho=Tr.name,da({id:Za,name:Ho}),Uo.next=14;break;case 10:Uo.prev=10,Uo.t0=Uo.catch(0),console.error("error",Uo.t0),Le(function(uo){uo.screenLoading=""});case 14:case"end":return Uo.stop()}},xa,null,[[0,10]])}));return function(){return oo.apply(this,arguments)}}();return(0,Ql.Z)(["Shift"],function(oo){!Z.flagTools||Z.previewIndex>=0||cn(oo.type==="keydown")},{events:["keydown","keyup"]}),(0,Ql.Z)(["shift.q","shift.Q","shift.e","shift.E","v","V"],function(oo){!Z.flagTools||Z.previewIndex>=0||(["v","V"].includes(oo.key)&&pn(),["q","Q"].includes(oo.key)&&oo.shiftKey&&Qr(no.po.picked),["e","E"].includes(oo.key)&&oo.shiftKey&&Qr(no.po.rejected))}),{enterFlagTools:Sr,exitFlagTools:Lr,onChangeFlagStatus:Jn,selectItem:hn,changeSelectAll:St,antiSelect:pn,limitNoSaveChangePage:Qn,saveFlag:Qr,updateOrder:qa}},xs=function(){var V=(0,gl.x)({page:1,pageSize:no.L8}),Z=Wo()(V,2),fe=Z[0],Ce=Z[1],Le=(0,gl.x)({list:[],total:0}),et=Wo()(Le,2),Mt=et[0],Dt=et[1],Vt=(0,Wu.Z)(function(Qn,Jn){return Lu({pageNum:Qn||fe.page,pageSize:Jn||fe.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[fe.page,fe.pageSize],onSuccess:function(Jn){var Sr=Jn.datasetList,Lr=Jn.total;Dt(function(Qr){Qr.list=Sr,Qr.total=Lr})},onError:function(){}}),cn=Vt.loading,hn=Vt.run,St=function(Jn){Ce(function(Sr){Sr.page=Jn}),hn(Jn)},pn=function(Jn,Sr){Ce(function(Lr){Lr.page=Jn,Lr.pageSize=Sr}),hn(Jn,Sr)};return{loading:cn,pagination:fe,datasetsData:Mt,loadDatasets:hn,setPagination:Ce,onPageChange:St,onPageSizeChange:pn}},gc=e(7214),yu=e(21325),Hu=!1;(0,gc.ac)(function(V){Hu=V});var Jc=function(){var V=(0,C.useState)(!1),Z=Wo()(V,2),fe=Z[0],Ce=Z[1],Le=(0,C.useState)(""),et=Wo()(Le,2),Mt=et[0],Dt=et[1],Vt=(0,C.useState)(Hu),cn=Wo()(Vt,2),hn=cn[0],St=cn[1],pn=(0,C.useState)(0),Qn=Wo()(pn,2),Jn=Qn[0],Sr=Qn[1],Lr=(0,C.useState)(window.innerWidth),Qr=Wo()(Lr,2),ya=Qr[0],da=Qr[1];return(0,C.useEffect)(function(){(0,gc.ac)(function(ba){St(ba)})},[]),(0,C.useEffect)(function(){da(window.innerWidth-Jn)},[Jn]),(0,yu.Z)("resize",function(){var ba=window.innerWidth-Jn;da(ba)},{target:window}),{loading:fe,setLoading:Ce,loadingTip:Mt,setLoadingTip:Dt,isMobile:hn,fixSliderWidth:Jn,setFixSliderWidth:Sr,layoutInnerWidth:ya}};function Ws(V){return Hs.apply(this,arguments)}function Hs(){return Hs=w()(g()().mark(function V(Z){return g()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.abrupt("return",(0,L.request)("/api/v1/user_info",h()({method:"GET",skipErrorHandler:!0},Z||{})));case 1:case"end":return Ce.stop()}},V)})),Hs.apply(this,arguments)}function Dc(V,Z){return Nu.apply(this,arguments)}function Nu(){return Nu=w()(g()().mark(function V(Z,fe){return g()().wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Le.abrupt("return",(0,L.request)("/api/v1/login",h()({method:"POST",data:h()({},Z),skipErrorHandler:!0},fe||{})));case 1:case"end":return Le.stop()}},V)})),Nu.apply(this,arguments)}function Ol(V){return pl.apply(this,arguments)}function pl(){return pl=w()(g()().mark(function V(Z){return g()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.abrupt("return",(0,L.request)("/api/v1/logout",h()({method:"POST"},Z||{})));case 1:case"end":return Ce.stop()}},V)})),pl.apply(this,arguments)}var sc=function(){var V=(0,L.useModel)("global"),Z=V.setLoading,fe=(0,C.useState)(!1),Ce=Wo()(fe,2),Le=Ce[0],et=Ce[1],Mt=(0,gl.x)({}),Dt=Wo()(Mt,2),Vt=Dt[0],cn=Dt[1],hn=function(){return new Promise(function(Sr){if(Vt.isLogin){Sr(null);return}et(!0)})},St=function(){var Jn=w()(g()().mark(function Sr(){var Lr,Qr,ya,da,ba,qa;return g()().wrap(function(xa){for(;;)switch(xa.prev=xa.next){case 0:return xa.prev=0,Lr=localStorage.getItem(no.Uf.AUTH_TOKEN),xa.next=4,Ws();case 4:Qr=xa.sent,ya=Qr.id,da=Qr.name,ba=Qr.status,qa=Qr.isStaff,Lr&&ba===no.oC.Active&&cn({isLogin:!0,username:da,userId:ya,token:Lr,isStaff:qa}),xa.next=16;break;case 12:xa.prev=12,xa.t0=xa.catch(0),console.error("error",xa.t0),cn({isLogin:!1});case 16:case"end":return xa.stop()}},Sr,null,[[0,12]])}));return function(){return Jn.apply(this,arguments)}}(),pn=function(){var Jn=w()(g()().mark(function Sr(Lr){var Qr,ya,da,ba,qa,oo,xa,Tr,Za;return g()().wrap(function(Bo){for(;;)switch(Bo.prev=Bo.next){case 0:return Qr=Lr.username,ya=Lr.password,da=window.location.pathname,ba=da.includes("page/login"),Z(!0),Bo.prev=4,Bo.next=7,Dc({username:Qr,password:ya});case 7:qa=Bo.sent,oo=qa.username,xa=qa.userId,Tr=qa.token,Za=qa.isStaff,cn({isLogin:!0,username:oo,token:Tr,userId:xa,isStaff:Za}),localStorage.setItem(no.Uf.AUTH_TOKEN,Tr),ba||et(!1),N.ZP.success((0,Ji._w)("loginSuccess")),Bo.next=21;break;case 18:Bo.prev=18,Bo.t0=Bo.catch(4),N.ZP.error((0,Ji._w)("loginAuthenticationFailed"));case 21:return Bo.prev=21,Z(!1),Bo.finish(21);case 24:case"end":return Bo.stop()}},Sr,null,[[4,18,21,24]])}));return function(Lr){return Jn.apply(this,arguments)}}(),Qn=function(){var Jn=w()(g()().mark(function Sr(){return g()().wrap(function(Qr){for(;;)switch(Qr.prev=Qr.next){case 0:return Qr.prev=0,Qr.next=3,Ol();case 3:cn({isLogin:!1}),N.ZP.success((0,Ji._w)("logoutSuccess")),localStorage.removeItem(no.Uf.AUTH_TOKEN),L.history.push("/"),Qr.next=13;break;case 9:Qr.prev=9,Qr.t0=Qr.catch(0),console.error("error",Qr.t0),N.ZP.error((0,Ji._w)("logoutFailed"));case 13:case"end":return Qr.stop()}},Sr,null,[[0,9]])}));return function(){return Jn.apply(this,arguments)}}();return{user:Vt,setUser:cn,checkLoginStatus:St,onLogin:pn,onLogout:Qn,showLoginModal:Le,setShowLoginModal:et,limitLoginAction:hn}},_s=e(1239),su=e(32694),wc=e(54518),jc=e(93059),_u=e(45060),Fc=e(16962),Yu=e.n(Fc),Bc=e(88479),mc=e.n(Bc),lu=e(17410),bu=e(67761),$e=e(46134),pe=function(Z,fe){var Ce=function(hn){return"".concat(Z).concat(hn)},Le=function(hn){return hn.startsWith(Z)},et=function(hn){var St=hn.substring(Z.length),pn=parseInt(St);return isNaN(pn)?-1:pn},Mt=function(hn){var St=hn.filter(function(pn){return!!pn.id&&Le(pn.id)}).map(function(pn){return et(pn.id)});return St.length>0?Math.max.apply(Math,Tu()(St)):-1},Dt=Mt(fe)+1,Vt=function(hn){return hn&&Le(hn)?et(hn):Dt++};return{getStringItemId:Ce,getIntItemId:Vt}},Pe="user_import_category",kn="user_import_image",vt="user_import_annot",Nn=function(){var V=w()(g()().mark(function Z(fe){var Ce,Le,et,Mt,Dt,Vt,cn,hn,St,pn,Qn,Jn;return g()().wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:Ce=fe.info,Le=fe.images,et=fe.categories,Mt={info:{},images:[],categories:[],annotations:[]},Mt.info=h()(h()({},Ce),{},{year:new Date().getFullYear(),date_created:new Date().toISOString()}),Dt=pe(Pe,et),Vt=Dt.getIntItemId,cn={},et.forEach(function(Qr){var ya=Vt(Qr.id);cn[Qr.name]=ya,Mt.categories.push({id:ya,name:Qr.name})}),hn=pe(kn,Le),St=hn.getIntItemId,pn=mc()(Le),Lr.prev=8,Jn=g()().mark(function Qr(){var ya,da,ba,qa;return g()().wrap(function(xa){for(;;)switch(xa.prev=xa.next){case 0:if(ya=Qn.value,da=St(ya.id),ba={width:0,height:0},!(!ya.width||!ya.height)){xa.next=10;break}return xa.next=6,(0,_u.pz)(ya.urlFullRes);case 6:qa=xa.sent,ba=qa,xa.next=12;break;case 10:ba.width=ya.width,ba.height=ya.height;case 12:Mt.images.push(h()({id:da,file_name:ya.name},ba)),ya.objects.forEach(function(Tr){var Za={id:Mt.annotations.length,image_id:da};if(cn&&Tr.categoryName&&cn[Tr.categoryName]!==void 0&&(Za.category_id=cn[Tr.categoryName]),Tr.boundingBox){var Ho=(0,$e.cO)(Tr.boundingBox,ba),Bo=Ho.x,Uo=Ho.y,uo=Ho.width,Qa=Ho.height,Wa=uo*Qa,ui=[Bo,Uo,uo,Qa];Object.assign(Za,{area:Wa,bbox:ui})}if(Tr.segmentation){var Mi=Tr.segmentation.split("/").map(function(Is){return Is.split(",").map(function(ts){return parseFloat(ts)})}),_i=Mi.reduce(function(Is,ts){var Hi=(0,$e.X6)(ts),Mu=(0,$e.I4)(Hi);return Is+Mu},0);Object.assign(Za,{segmentation:Mi,area:_i})}if(Tr.mask){var fo=(0,bu.ei)(Tr.mask.counts||"",ba,"#fff"),Bi=Tr.mask;if(fo){var $i=(0,$e.e4)(fo),oi=$i.area;Object.assign(Za,{segmentation:Bi,area:oi})}else Object.assign(Za,{segmentation:Bi})}if(Tr.points&&Tr.points.length>0){for(var gi=Tr.points,ja=[],ii=0,Wi=0;Wi*60&&(Lr.categories=Le==null?void 0:Le.map(function(ba){var qa=ba.id,oo=ba.name;return{id:St(qa),name:oo}})),et&&et.length>0){var Qr=new Map(Lr.images.map(function(ba){return[ba.name,ba]}));et.forEach(function(ba){var qa=Qr.get(ba.file_name);qa&&(qa.id=Qn(ba.id),qa.width=ba.width,qa.height=ba.height)})}if(Mt&&Mt.length>0){var ya=new Map(et.map(function(ba){return[ba.id,ba]})),da=new Map(Lr.images.map(function(ba){return[ba.id,ba]}));Mt.forEach(function(ba){var qa=ba.id,oo=ba.image_id,xa=ba.category_id,Tr=ba.bbox,Za=ba.segmentation,Ho=ba.keypoints,Bo=ba.num_keypoints,Uo=ya.get(oo),uo=da.get(Qn(oo));if(Uo&&uo){var Qa,Wa=Uo.width,ui=Uo.height,Mi={id:Sr(qa),categoryId:St(xa),categoryName:Le==null||(Qa=Le.find(function(ii){return ii.id===xa}))===null||Qa===void 0?void 0:Qa.name};if(Tr){var _i=Wo()(Tr,4),fo=_i[0],Bi=_i[1],$i=_i[2],oi=_i[3];Object.assign(Mi,{boundingBox:(0,$e.kq)({x:fo,y:Bi,width:$i,height:oi},{width:Wa,height:ui})})}if(Za&&(Array.isArray(Za)?Object.assign(Mi,{segmentation:Za==null?void 0:Za.map(function(ii){var Wi;return(Wi=ii.map(function(Is){return Is.toString()}))===null||Wi===void 0?void 0:Wi.join(",")}).join("/")}):typeof Za.counts=="string"&&Object.assign(Mi,{mask:Za})),Ho&&Bo===lu.v_.pointNames.length){for(var gi=[],ja=0;ja*3-1?Mt:0),L.history.push("/quickstart")},gi=function(){fe.length<=0||(Tr(fe),Uo(!1))},ja=function(){$i(),Uo(!1),Dt(-1)},ii=(0,C.useCallback)(function(hs){var ds=fe.find(function(Ns){return Ns.id===xa[hs].id});return ds&&ds.objects.length>0},[fe,xa]),Wi=(0,C.useCallback)(function(hs){return ii(hs)?(fl.Z.error({message:(0,Ji._w)("quicklabel.formModal.deleteImage.title"),description:(0,Ji._w)("quicklabel.formModal.deleteImage.desc"),duration:3}),!0):!1},[ii]),Is=function(){var hs=w()(g()().mark(function ds(){var Ns,rl;return g()().wrap(function(Zi){for(;;)switch(Zi.prev=Zi.next){case 0:return Zi.next=2,Nn({info:hn,images:fe,categories:Jn});case 2:Ns=Zi.sent,rl=(0,_u.XV)(Date.now(),"Annotations"),(0,_u.Gf)(Ns,rl);case 5:case"end":return Zi.stop()}},ds)}));return function(){return hs.apply(this,arguments)}}(),ts=function(ds){var Ns=ds.file,rl=ds.fileList;if(!(rl.length===0||!rl[0].originFileObj)){var Dl=new FileReader;Dl.readAsText(rl[0].originFileObj),Dl.onload=function(Zi){var As,Bl=JSON.parse((As=Zi.target)===null||As===void 0?void 0:As.result),pc=wn(Bl);pc.success?(ui([Ns]),Bi(Bl)):N.ZP.error(pc.message)}}},Hi=function(ds){var Ns=Wa.findIndex(function(rl){return rl.uid===ds.uid});Wa.splice(Ns,1),ui(Tu()(Wa)),Bi(Rn)},Mu=function(ds){da(ds),Dt(-1)},Su=function(){da(null),Dt(-1)};return{qsModalVisible:Bo,setQsModalVisible:Uo,uploadFiles:xa,setUploadFiles:Tr,images:fe,setImages:Ce,filterImages:ba,onClickQuickstart:oi,onCancelUploadFiles:gi,onConfirmUploadFiles:ja,limitRemoveFile:Wi,current:Mt,setCurrent:Dt,categories:Jn,setCategories:Sr,filterCategoryName:ya,setFilterCategoryName:da,exportAnnotations:Is,uploadPreAnnot:Wa,onChangePreAnnotFile:ts,onRemovePreAnnotFile:Hi,onSelectFilterCategory:Mu,onClearFilterCategory:Su}},pr=function(){return vr()},Mr=function(){var V=(0,L.useModel)("dataset.common"),Z=V.pageState,fe=V.setPageState,Ce=V.setPageData,Le=function(St){fe(function(pn){pn.previewIndex=St})},et=function(St){fe(function(pn){pn.previewIndex=St})},Mt=function(St){Z.page!==St&&fe(function(pn){pn.page=St})},Dt=function(St,pn){fe(function(Qn){Qn.pageSize=pn})},Vt=function(){},cn=function(){Ce(function(St){Object.assign(St,Ii.$I)}),fe(function(St){Object.assign(St,Ii.C2)})};return{onPageDidMount:Vt,onPageWillUnmount:cn,clickItem:Le,doubleClickItem:et,onPageChange:Mt,onPageSizeChange:Dt}},Ln=e(86724),ta=e.n(Ln),Ir=function(){var V=(0,L.useModel)("datasets"),Z=V.loadDatasets,fe=V.setPagination,Ce=function(Dt){var Vt=JSON.stringify({datasetId:Dt.id,datasetName:Dt.name});L.history.push("/dataset/detail?pageState=".concat(encodeURIComponent(Vt)))},Le=function(Dt,Vt){var cn=JSON.stringify({datasetId:Vt.id,datasetName:Vt.name}),hn="".concat(window.location.origin,"/page/dataset/detail?pageState=").concat(encodeURIComponent(cn)),St=ta()(hn);St&&N.ZP.success((0,Ji._w)("dataset.onClickCopyLink.success")),Dt.stopPropagation()},et=function(Dt){fe(function(Vt){Object.assign(Vt,{page:1,pageSize:no.L8},Dt)}),Z()};return{onInitPageState:et,onClickItem:Ce,onClickCopyLink:Le}},lr=e(23707),Ar=function(){var V=(0,L.useModel)("datasets"),Z=V.loadDatasets,fe=V.setPagination,Ce=(0,lr.BQ)("type")||"flagtool",Le=function(Vt){var cn=JSON.stringify({datasetId:Vt.id,datasetName:Vt.name});L.history.push("/lab/".concat(Ce,"?pageState=").concat(encodeURIComponent(cn)))},et=function(Vt,cn){var hn=JSON.stringify({datasetId:cn.id,datasetName:cn.name}),St="".concat(window.location.origin,"/page/dataset/detail?pageState=").concat(encodeURIComponent(hn)),pn=ta()(St);pn&&N.ZP.success((0,Ji._w)("lab.onClickCopyLink.success")),Vt.stopPropagation()},Mt=function(Vt){fe(function(cn){Object.assign(cn,{page:1,pageSize:no.L8},Vt)}),Z()};return{labType:Ce,onInitPageState:Mt,onClickItem:Le,onClickCopyLink:et}},Or=function(){var V=(0,L.useModel)("user"),Z=V.showLoginModal,fe=(0,L.useModel)("dataset.common"),Ce=fe.pageState,Le=fe.setPageState,et=fe.pageData,Mt=fe.setPageData,Dt=(0,L.useModel)("dataset.flag"),Vt=Dt.selectItem,cn=Dt.enterFlagTools,hn=Dt.limitNoSaveChangePage,St=function(ya){Vt(ya)},pn=function(ya){Le(function(da){da.previewIndex=ya})},Qn=function(ya){Ce.page!==ya&&hn().then(function(){Le(function(da){da.page=ya})})},Jn=function(ya,da){hn().then(function(){Le(function(ba){ba.pageSize=da})})};(0,Ql.Z)(["a","A","d","D","shift.q","shift.Q","shift.e","shift.E","z","Z"],function(Qr){Ce.previewIndex>=0||Z||(["a","A"].includes(Qr.key)&&Ce.page>1&&Qn(Ce.page-1),["d","D"].includes(Qr.key)&&Ce.page=0)&&(At[kt]=ut[kt]);return At}const c=["onClick","reloadDocument","replace","state","target","to"],m=null;function g(ut,ct){if(!ut){typeof console!="undefined"&&console.warn(ct);try{throw new Error(ct)}catch(At){}}}function M(ut){let{basename:ct,children:At,window:xt}=ut,kt=useRef();kt.current==null&&(kt.current=createBrowserHistory({window:xt}));let un=kt.current,[nn,An]=useState({action:un.action,location:un.location});return useLayoutEffect(()=>un.listen(An),[un]),createElement(Router,{basename:ct,children:At,location:nn.location,navigationType:nn.action,navigator:un})}function h(ut){let{basename:ct,children:At,window:xt}=ut,kt=useRef();kt.current==null&&(kt.current=createHashHistory({window:xt}));let un=kt.current,[nn,An]=useState({action:un.action,location:un.location});return useLayoutEffect(()=>un.listen(An),[un]),createElement(Router,{basename:ct,children:At,location:nn.location,navigationType:nn.action,navigator:un})}function S(ut){let{basename:ct,children:At,history:xt}=ut;const[kt,un]=useState({action:xt.action,location:xt.location});return useLayoutEffect(()=>xt.listen(un),[xt]),createElement(Router,{basename:ct,children:At,location:kt.location,navigationType:kt.action,navigator:xt})}function w(ut){return!!(ut.metaKey||ut.altKey||ut.ctrlKey||ut.shiftKey)}const C=(0,o.forwardRef)(function(ct,At){let{onClick:xt,reloadDocument:kt,replace:un=!1,state:nn,target:An,to:zn}=ct,Er=l(ct,c),nr=(0,s.useHref)(zn),Fn=$(zn,{replace:un,state:nn,target:An});function kr(hr){xt&&xt(hr),!hr.defaultPrevented&&!kt&&Fn(hr)}return(0,o.createElement)("a",d({},Er,{href:nr,onClick:kr,ref:At,target:An}))}),z=null;function $(ut,ct){let{target:At,replace:xt,state:kt}=ct===void 0?{}:ct,un=(0,s.useNavigate)(),nn=(0,s.useLocation)(),An=(0,s.useResolvedPath)(ut);return(0,o.useCallback)(zn=>{if(zn.button===0&&(!At||At==="_self")&&!w(zn)){zn.preventDefault();let Er=!!xt||(0,n.Ep)(nn)===(0,n.Ep)(An);un(ut,{replace:Er,state:kt})}},[nn,un,An,xt,kt,At,ut])}function N(ut){let ct=useRef(L(ut)),At=useLocation(),xt=useMemo(()=>{let nn=L(At.search);for(let An of ct.current.keys())nn.has(An)||ct.current.getAll(An).forEach(zn=>{nn.append(An,zn)});return nn},[At.search]),kt=useNavigate(),un=useCallback((nn,An)=>{kt("?"+L(nn),An)},[kt]);return[xt,un]}function L(ut){return ut===void 0&&(ut=""),new URLSearchParams(typeof ut=="string"||Array.isArray(ut)||ut instanceof URLSearchParams?ut:Object.keys(ut).reduce((ct,At)=>{let xt=ut[At];return ct.concat(Array.isArray(xt)?xt.map(kt=>[At,kt]):[[At,xt]])},[]))}var B=e(60581),D=["prefetch"];function T(ut){var ct,At=ut.prefetch,xt=(0,t.Z)(ut,D),kt=(0,B.Ov)(),un=typeof ut.to=="string"?ut.to:(ct=ut.to)===null||ct===void 0?void 0:ct.pathname;return un?o.createElement(C,(0,a.Z)({onMouseEnter:function(){var An;return At&&un&&((An=kt.preloadRoute)===null||An===void 0?void 0:An.call(kt,un))}},xt),ut.children):null}var j=e(83753);function K(){"use strict";K=function(){return ut};var ut={},ct=Object.prototype,At=ct.hasOwnProperty,xt=Object.defineProperty||function(Hn,Bn,yr){Hn[Bn]=yr.value},kt=typeof Symbol=="function"?Symbol:{},un=kt.iterator||"@@iterator",nn=kt.asyncIterator||"@@asyncIterator",An=kt.toStringTag||"@@toStringTag";function zn(Hn,Bn,yr){return Object.defineProperty(Hn,Bn,{value:yr,enumerable:!0,configurable:!0,writable:!0}),Hn[Bn]}try{zn({},"")}catch(Hn){zn=function(yr,Xr,Dr){return yr[Xr]=Dr}}function Er(Hn,Bn,yr,Xr){var Dr=Bn&&Bn.prototype instanceof kr?Bn:kr,Tt=Object.create(Dr.prototype),an=new Ur(Xr||[]);return xt(Tt,"_invoke",{value:Kr(Hn,yr,an)}),Tt}function nr(Hn,Bn,yr){try{return{type:"normal",arg:Hn.call(Bn,yr)}}catch(Xr){return{type:"throw",arg:Xr}}}ut.wrap=Er;var Fn={};function kr(){}function hr(){}function la(){}var zr={};zn(zr,un,function(){return this});var Zn=Object.getPrototypeOf,On=Zn&&Zn(Zn(Ea([])));On&&On!==ct&&At.call(On,un)&&(zr=On);var Tn=la.prototype=kr.prototype=Object.create(zr);function ar(Hn){["next","throw","return"].forEach(function(Bn){zn(Hn,Bn,function(yr){return this._invoke(Bn,yr)})})}function br(Hn,Bn){function yr(Dr,Tt,an,bn){var Xa=nr(Hn[Dr],Hn,Tt);if(Xa.type!=="throw"){var ho=Xa.arg,$a=ho.value;return $a&&(0,j.Z)($a)=="object"&&At.call($a,"__await")?Bn.resolve($a.__await).then(function(Ua){yr("next",Ua,an,bn)},function(Ua){yr("throw",Ua,an,bn)}):Bn.resolve($a).then(function(Ua){ho.value=Ua,an(ho)},function(Ua){return yr("throw",Ua,an,bn)})}bn(Xa.arg)}var Xr;xt(this,"_invoke",{value:function(Tt,an){function bn(){return new Bn(function(Xa,ho){yr(Tt,an,Xa,ho)})}return Xr=Xr?Xr.then(bn,bn):bn()}})}function Kr(Hn,Bn,yr){var Xr="suspendedStart";return function(Dr,Tt){if(Xr==="executing")throw new Error("Generator is already running");if(Xr==="completed"){if(Dr==="throw")throw Tt;return ha()}for(yr.method=Dr,yr.arg=Tt;;){var an=yr.delegate;if(an){var bn=ra(an,yr);if(bn){if(bn===Fn)continue;return bn}}if(yr.method==="next")yr.sent=yr._sent=yr.arg;else if(yr.method==="throw"){if(Xr==="suspendedStart")throw Xr="completed",yr.arg;yr.dispatchException(yr.arg)}else yr.method==="return"&&yr.abrupt("return",yr.arg);Xr="executing";var Xa=nr(Hn,Bn,yr);if(Xa.type==="normal"){if(Xr=yr.done?"completed":"suspendedYield",Xa.arg===Fn)continue;return{value:Xa.arg,done:yr.done}}Xa.type==="throw"&&(Xr="completed",yr.method="throw",yr.arg=Xa.arg)}}}function ra(Hn,Bn){var yr=Bn.method,Xr=Hn.iterator[yr];if(Xr===void 0)return Bn.delegate=null,yr==="throw"&&Hn.iterator.return&&(Bn.method="return",Bn.arg=void 0,ra(Hn,Bn),Bn.method==="throw")||yr!=="return"&&(Bn.method="throw",Bn.arg=new TypeError("The iterator does not provide a '"+yr+"' method")),Fn;var Dr=nr(Xr,Hn.iterator,Bn.arg);if(Dr.type==="throw")return Bn.method="throw",Bn.arg=Dr.arg,Bn.delegate=null,Fn;var Tt=Dr.arg;return Tt?Tt.done?(Bn[Hn.resultName]=Tt.value,Bn.next=Hn.nextLoc,Bn.method!=="return"&&(Bn.method="next",Bn.arg=void 0),Bn.delegate=null,Fn):Tt:(Bn.method="throw",Bn.arg=new TypeError("iterator result is not an object"),Bn.delegate=null,Fn)}function pa(Hn){var Bn={tryLoc:Hn[0]};1 in Hn&&(Bn.catchLoc=Hn[1]),2 in Hn&&(Bn.finallyLoc=Hn[2],Bn.afterLoc=Hn[3]),this.tryEntries.push(Bn)}function fr(Hn){var Bn=Hn.completion||{};Bn.type="normal",delete Bn.arg,Hn.completion=Bn}function Ur(Hn){this.tryEntries=[{tryLoc:"root"}],Hn.forEach(pa,this),this.reset(!0)}function Ea(Hn){if(Hn){var Bn=Hn[un];if(Bn)return Bn.call(Hn);if(typeof Hn.next=="function")return Hn;if(!isNaN(Hn.length)){var yr=-1,Xr=function Dr(){for(;++yr=0;--Dr){var Tt=this.tryEntries[Dr],an=Tt.completion;if(Tt.tryLoc==="root")return Xr("end");if(Tt.tryLoc<=this.prev){var bn=At.call(Tt,"catchLoc"),Xa=At.call(Tt,"finallyLoc");if(bn&&Xa){if(this.prev=0;--Xr){var Dr=this.tryEntries[Xr];if(Dr.tryLoc<=this.prev&&At.call(Dr,"finallyLoc")&&this.prev=0;--yr){var Xr=this.tryEntries[yr];if(Xr.finallyLoc===Bn)return this.complete(Xr.completion,Xr.afterLoc),fr(Xr),Fn}},catch:function(Bn){for(var yr=this.tryEntries.length-1;yr>=0;--yr){var Xr=this.tryEntries[yr];if(Xr.tryLoc===Bn){var Dr=Xr.completion;if(Dr.type==="throw"){var Tt=Dr.arg;fr(Xr)}return Tt}}throw new Error("illegal catch attempt")},delegateYield:function(Bn,yr,Xr){return this.delegate={iterator:Ea(Bn),resultName:yr,nextLoc:Xr},this.method==="next"&&(this.arg=void 0),Fn}},ut}var k=e(5452);function te(ut,ct,At,xt,kt,un,nn){try{var An=ut[un](nn),zn=An.value}catch(Er){At(Er);return}An.done?ct(zn):Promise.resolve(zn).then(xt,kt)}function Y(ut){return function(){var ct=this,At=arguments;return new Promise(function(xt,kt){var un=ut.apply(ct,At);function nn(zn){te(un,xt,kt,nn,An,"next",zn)}function An(zn){te(un,xt,kt,nn,An,"throw",zn)}nn(void 0)})}}var q=e(50648);function le(ut,ct){var At=typeof Symbol!="undefined"&&ut[Symbol.iterator]||ut["@@iterator"];if(!At){if(Array.isArray(ut)||(At=(0,q.Z)(ut))||ct&&ut&&typeof ut.length=="number"){At&&(ut=At);var xt=0,kt=function(){};return{s:kt,n:function(){return xt>=ut.length?{done:!0}:{done:!1,value:ut[xt++]}},e:function(Er){throw Er},f:kt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var un=!0,nn=!1,An;return{s:function(){At=At.call(ut)},n:function(){var Er=At.next();return un=Er.done,Er},e:function(Er){nn=!0,An=Er},f:function(){try{!un&&At.return!=null&&At.return()}finally{if(nn)throw An}}}}var X=e(40642);function W(ut){if(typeof Symbol!="undefined"&&ut[Symbol.iterator]!=null||ut["@@iterator"]!=null)return Array.from(ut)}var x=e(8010);function O(ut){return(0,X.Z)(ut)||W(ut)||(0,q.Z)(ut)||(0,x.Z)()}function _(ut,ct){if(!(ut instanceof ct))throw new TypeError("Cannot call a class as a function")}var U=e(4566);function A(ut,ct){for(var At=0;At-1,"register failed, invalid key ".concat(kt," ").concat(At.path?"from plugin ".concat(At.path):"",".")),xt.hooks[kt]=(xt.hooks[kt]||[]).concat(At.apply[kt])})}},{key:"getHooks",value:function(At){var xt=At.split("."),kt=O(xt),un=kt[0],nn=kt.slice(1),An=this.hooks[un]||[];return nn.length&&(An=An.map(function(zn){try{var Er=zn,nr=le(nn),Fn;try{for(nr.s();!(Fn=nr.n()).done;){var kr=Fn.value;Er=Er[kr]}}catch(hr){nr.e(hr)}finally{nr.f()}return Er}catch(hr){return null}}).filter(Boolean)),An}},{key:"applyPlugins",value:function(At){var xt=At.key,kt=At.type,un=At.initialValue,nn=At.args,An=At.async,zn=this.getHooks(xt)||[];switch(nn&&he((0,j.Z)(nn)==="object","applyPlugins failed, args must be plain object."),An&&he(kt===Te.modify||kt===Te.event,"async only works with modify and event type."),kt){case Te.modify:return An?zn.reduce(function(){var Er=Y(K().mark(function nr(Fn,kr){var hr;return K().wrap(function(zr){for(;;)switch(zr.prev=zr.next){case 0:if(he(typeof kr=="function"||(0,j.Z)(kr)==="object"||be(kr),"applyPlugins failed, all hooks for key ".concat(xt," must be function, plain object or Promise.")),!be(Fn)){zr.next=5;break}return zr.next=4,Fn;case 4:Fn=zr.sent;case 5:if(typeof kr!="function"){zr.next=16;break}if(hr=kr(Fn,nn),!be(hr)){zr.next=13;break}return zr.next=10,hr;case 10:return zr.abrupt("return",zr.sent);case 13:return zr.abrupt("return",hr);case 14:zr.next=21;break;case 16:if(!be(kr)){zr.next=20;break}return zr.next=19,kr;case 19:kr=zr.sent;case 20:return zr.abrupt("return",(0,k.Z)((0,k.Z)({},Fn),kr));case 21:case"end":return zr.stop()}},nr)}));return function(nr,Fn){return Er.apply(this,arguments)}}(),be(un)?un:Promise.resolve(un)):zn.reduce(function(Er,nr){return he(typeof nr=="function"||(0,j.Z)(nr)==="object","applyPlugins failed, all hooks for key ".concat(xt," must be function or plain object.")),typeof nr=="function"?nr(Er,nn):(0,k.Z)((0,k.Z)({},Er),nr)},un);case Te.event:return Y(K().mark(function Er(){var nr,Fn,kr,hr;return K().wrap(function(zr){for(;;)switch(zr.prev=zr.next){case 0:nr=le(zn),zr.prev=1,nr.s();case 3:if((Fn=nr.n()).done){zr.next=12;break}if(kr=Fn.value,he(typeof kr=="function","applyPlugins failed, all hooks for key ".concat(xt," must be function.")),hr=kr(nn),!(An&&be(hr))){zr.next=10;break}return zr.next=10,hr;case 10:zr.next=3;break;case 12:zr.next=17;break;case 14:zr.prev=14,zr.t0=zr.catch(1),nr.e(zr.t0);case 17:return zr.prev=17,nr.f(),zr.finish(17);case 20:case"end":return zr.stop()}},Er,null,[[1,14,17,20]])}))();case Te.compose:return function(){return ge({fns:zn.concat(un),args:nn})()}}}}],[{key:"create",value:function(At){var xt=new ut({validKeys:At.validKeys});return At.plugins.forEach(function(kt){xt.register(kt)}),xt}}]),ut}(),Je=e(12763),Qe=e(16962),pt=e.n(Qe),Ct=0,ft=0;function Ht(ut,ct){if(!1)var At}function Ze(ut){return JSON.stringify(ut,null,2)}function Xe(ut){var ct=ut.length>1?ut.map(rt).join(" "):ut[0];return pt()(ct)==="object"?"".concat(Ze(ct)):ct.toString()}function rt(ut){return pt()(ut)==="object"?"".concat(JSON.stringify(ut)):ut.toString()}var Ke={log:function(){for(var ct=arguments.length,At=new Array(ct),xt=0;xt-1&&(un=setTimeout(function(){se.delete(ct)},At)),se.set(ct,{data:xt,timer:un,startTime:new Date().getTime()})},ce=function(ct){var At=se.get(ct);return{data:At==null?void 0:At.data,startTime:At==null?void 0:At.startTime}},xe=function(ut,ct){var At=typeof Symbol=="function"&&ut[Symbol.iterator];if(!At)return ut;var xt=At.call(ut),kt,un=[],nn;try{for(;(ct===void 0||ct-- >0)&&!(kt=xt.next()).done;)un.push(kt.value)}catch(An){nn={error:An}}finally{try{kt&&!kt.done&&(At=xt.return)&&At.call(xt)}finally{if(nn)throw nn.error}}return un},ue=function(){for(var ut=[],ct=0;ct0)&&!(kt=xt.next()).done;)un.push(kt.value)}catch(An){nn={error:An}}finally{try{kt&&!kt.done&&(At=xt.return)&&At.call(xt)}finally{if(nn)throw nn.error}}return un},we=function(){for(var ut=[],ct=0;ct0)&&!(kt=xt.next()).done;)un.push(kt.value)}catch(An){nn={error:An}}finally{try{kt&&!kt.done&&(At=xt.return)&&At.call(xt)}finally{if(nn)throw nn.error}}return un},Et=function(){for(var ut=[],ct=0;ct0){var Pr=Ur&&((aa=getCache(Ur))===null||aa===void 0?void 0:aa.startTime)||0;Bn===-1||new Date().getTime()-Pr<=Bn||Object.values(dn).forEach(function(Zr){Zr.refresh()})}else Hr.current.apply(Hr,Et(ar))},[]);var ia=useCallback(function(){Object.values(Mn.current).forEach(function(aa){aa.unmount()}),ho.current=lt,Dn({}),Mn.current={}},[Dn]);useUpdateEffect(function(){nn||Object.values(Mn.current).forEach(function(aa){aa.refresh()})},Et(kt)),useEffect(function(){return function(){Object.values(Mn.current).forEach(function(aa){aa.unmount()})}},[]);var Jr=useCallback(function(aa){return function(){console.warn("You should't call "+aa+" when service not executed once.")}},[]);return ze(ze({loading:an&&!nn||kr,data:Dr,error:void 0,params:[],cancel:Jr("cancel"),refresh:Jr("refresh"),mutate:Jr("mutate")},dn[ho.current]||{}),{run:rr,fetches:dn,reset:ia})}var Ot=null,Ie=function(){return Ie=Object.assign||function(ut){for(var ct,At=1,xt=arguments.length;At0)&&!(kt=xt.next()).done;)un.push(kt.value)}catch(An){nn={error:An}}finally{try{kt&&!kt.done&&(At=xt.return)&&At.call(xt)}finally{if(nn)throw nn.error}}return un},Pt=function(){for(var ut=[],ct=0;ct0)&&!(kt=xt.next()).done;)un.push(kt.value)}catch(An){nn={error:An}}finally{try{kt&&!kt.done&&(At=xt.return)&&At.call(xt)}finally{if(nn)throw nn.error}}return un},ln=function(){for(var ut=[],ct=0;ctXa&&(an=Math.max(1,Xa)),fr({current:an,pageSize:bn})},[Ur,fr]),Hn=useCallback(function(Dr){ha(Dr,ar)},[ha,ar]),Bn=useCallback(function(Dr){ha(On,Dr)},[ha,On]),yr=useRef(Hn);yr.current=Hn,useUpdateEffect(function(){ct.manual||yr.current(1)},ln(nn));var Xr=useCallback(function(Dr,Tt,an){fr({current:Dr.current,pageSize:Dr.pageSize||kt,filters:Tt,sorter:an})},[pa,Kr,fr]);return Zt({loading:hr,data:nr,params:Fn,run:kr,pagination:{current:On,pageSize:ar,total:Ur,totalPage:Ea,onChange:ha,changeCurrent:Hn,changePageSize:Bn},tableProps:{dataSource:(nr==null?void 0:nr.list)||[],loading:hr,onChange:Xr,pagination:{current:On,pageSize:ar,total:Ur}},sorter:Kr,filters:pa},la)}var mn=null,Yn=o.createContext({});Yn.displayName="UseRequestConfigContext";var Gn=Yn,ir=function(){return ir=Object.assign||function(ut){for(var ct,At=1,xt=arguments.length;At0)&&!(kt=xt.next()).done;)un.push(kt.value)}catch(An){nn={error:An}}finally{try{kt&&!kt.done&&(At=xt.return)&&At.call(xt)}finally{if(nn)throw nn.error}}return un},en=function(){for(var ut=[],ct=0;ct1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(ut,_objectSpread({formatResult:function(xt){return xt==null?void 0:xt.data},requestMethod:function(xt){if(typeof xt=="string")return Wn(xt);if(_typeof(xt)==="object"){var kt=xt.url,un=_objectWithoutProperties(xt,gt);return Wn(kt,un)}throw new Error("request options error")}},ct))}var Qt,tn,yn=function(){return tn||(tn=(0,mt.We)().applyPlugins({key:"request",type:Te.modify,initialValue:{}}),tn)},vn=function(){var ct,At;if(Qt)return Qt;var xt=yn();return Qt=ie().create(xt),xt==null||(ct=xt.requestInterceptors)===null||ct===void 0||ct.forEach(function(kt){kt instanceof Array?Qt.interceptors.request.use(function(un){var nn=un.url;if(kt[0].length===2){var An=kt[0](nn,un),zn=An.url,Er=An.options;return ae()(ae()({},Er),{},{url:zn})}return kt[0](un)},kt[1]):Qt.interceptors.request.use(function(un){var nn=un.url;if(kt.length===2){var An=kt(nn,un),zn=An.url,Er=An.options;return ae()(ae()({},Er),{},{url:zn})}return kt(un)})}),xt==null||(At=xt.responseInterceptors)===null||At===void 0||At.forEach(function(kt){kt instanceof Array?Qt.interceptors.response.use(kt[0],kt[1]):Qt.interceptors.response.use(kt)}),Qt.interceptors.response.use(function(kt){var un,nn=kt.data;return(nn==null?void 0:nn.success)===!1&&xt!==null&&xt!==void 0&&(un=xt.errorConfig)!==null&&un!==void 0&&un.errorThrower&&xt.errorConfig.errorThrower(nn),kt}),Qt},Wn=function(ct){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},xt=vn(),kt=yn(),un=At.getResponse,nn=un===void 0?!1:un,An=At.requestInterceptors,zn=At.responseInterceptors,Er=An==null?void 0:An.map(function(Fn){return Fn instanceof Array?xt.interceptors.request.use(function(kr){var hr=kr.url;if(Fn[0].length===2){var la=Fn[0](hr,kr),zr=la.url,Zn=la.options;return ae()(ae()({},Zn),{},{url:zr})}return Fn[0](kr)},Fn[1]):xt.interceptors.request.use(function(kr){var hr=kr.url;if(Fn.length===2){var la=Fn(hr,kr),zr=la.url,Zn=la.options;return ae()(ae()({},Zn),{},{url:zr})}return Fn(kr)})}),nr=zn==null?void 0:zn.map(function(Fn){return Fn instanceof Array?xt.interceptors.response.use(Fn[0],Fn[1]):xt.interceptors.response.use(Fn)});return new Promise(function(Fn,kr){xt.request(ae()(ae()({},At),{},{url:ct})).then(function(hr){Er==null||Er.forEach(function(la){xt.interceptors.request.eject(la)}),nr==null||nr.forEach(function(la){xt.interceptors.response.eject(la)}),Fn(nn?hr:hr.data)}).catch(function(hr){Er==null||Er.forEach(function(Zn){xt.interceptors.request.eject(Zn)}),nr==null||nr.forEach(function(Zn){xt.interceptors.response.eject(Zn)});try{var la,zr=kt==null||(la=kt.errorConfig)===null||la===void 0?void 0:la.errorHandler;zr&&zr(hr,At,kt)}catch(Zn){kr(Zn)}kr(hr)})})},tr=function(){}},96662:function(b,y,e){"use strict";e.d(y,{J:function(){return t}});var a=e(58757),t=a.createContext(null)},64470:function(b,y,e){"use strict";e.d(y,{Mf:function(){return d}});var a=e(58757),t=e(96662),o=e(35667),s=function(){return a.useContext(t.J)},n=function(c){return _jsx(_Fragment,{children:c.accessible?c.children:c.fallback})},d=function(c){var m=s(),g=a.useMemo(function(){var M=function h(S,w,C){var z,$,N=S.access,L=S;if(!N&&w&&(N=w,L=C),S.unaccessible=!1,typeof N=="string"){var B=m[N];typeof B=="function"?S.unaccessible=!B(L):typeof B=="boolean"?S.unaccessible=!B:typeof B=="undefined"&&(S.unaccessible=!0)}if((z=S.children)!==null&&z!==void 0&&z.length){var D=!S.children.reduce(function(j,K){return h(K,N,S),j||!K.unaccessible},!1);D&&(S.unaccessible=!0)}if(($=S.routes)!==null&&$!==void 0&&$.length){var T=!S.routes.reduce(function(j,K){return h(K,N,S),j||!K.unaccessible},!1);T&&(S.unaccessible=!0)}return S};return c.map(function(h){return M(h)})},[c.length,m]);return g}},93325:function(b,y,e){"use strict";e.d(y,{_H:function(){return a._H},pD:function(){return L},wv:function(){return a.wv},Kd:function(){return a.Kd},i_:function(){return a.i_},YB:function(){return a.YB}});var a=e(16221),t=e(88205),o=e.n(t),s=e(2657),n=e(63900),d=e.n(n),l=e(62376),c=e.n(l),m=e(58757),g=e(73267),M=e(93430),h=e(85706),S=e(35667),w=["overlayClassName"],C=["globalIconClassName","postLocalesData","onItemClick","icon","style","reload"],z=function(D){var T=D.overlayClassName,j=c()(D,w);return(0,S.jsx)(g.Z,d()({overlayClassName:T},j))},$=function(D){return D.reduce(function(T,j){return j.lang?_objectSpread(_objectSpread({},T),{},_defineProperty({},j.lang,j)):T},{})},N={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Vlaams",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},L=function(D){var T,j=D.globalIconClassName,K=D.postLocalesData,k=D.onItemClick,te=D.icon,Y=D.style,q=D.reload,le=c()(D,C),X=(0,m.useState)(function(){return(0,a.Kd)()}),W=o()(X,2),x=W[0],O=W[1],_=function(Je){var Qe=Je.key;(0,a.i_)(Qe,q),O((0,a.Kd)())},U=(0,a.XZ)().map(function(Ge){return N[Ge]||{lang:Ge,label:Ge,icon:"\u{1F310}",title:Ge}}),A=(K==null?void 0:K(U))||U,G=k?function(Ge){return k(Ge)}:_,de={minWidth:"160px"},he={marginRight:"8px"},ge={selectedKeys:[x],onClick:G,items:A.map(function(Ge){return{key:Ge.lang||Ge.key,style:de,label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("span",{role:"img","aria-label":(Ge==null?void 0:Ge.label)||"en-US",style:he,children:(Ge==null?void 0:Ge.icon)||"\u{1F310}"}),(Ge==null?void 0:Ge.label)||"en-US"]})}})},be;M.Z.startsWith("5.")||M.Z.startsWith("4.24.")?be={menu:ge}:M.Z.startsWith("3.")?be={overlay:(0,S.jsx)(h.Z,{children:ge.items.map(function(Ge){return(0,S.jsx)(h.Z.Item,{onClick:Ge.onClick,children:Ge.label},Ge.key)})})}:be={overlay:(0,S.jsx)(h.Z,d()({},ge))};var Te=d()({cursor:"pointer",padding:"12px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:18,verticalAlign:"middle"},Y);return(0,S.jsx)(z,d()(d()(d()({},be),{},{placement:"bottomRight"},le),{},{children:(0,S.jsx)("span",{className:j,style:Te,children:(0,S.jsx)("i",{className:"anticon",title:(T=A[x])===null||T===void 0?void 0:T.title,children:te||(0,S.jsxs)("svg",{viewBox:"0 0 24 24",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,S.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,S.jsx)("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",className:"css-c4d79v"})]})})})}))}},16221:function(b,y,e){"use strict";e.d(y,{_H:function(){return On},PZ:function(){return Xr},eU:function(){return j},B:function(){return yr},wv:function(){return No},XZ:function(){return yo},Mg:function(){return Ua},lw:function(){return Xa},Kd:function(){return $a},H8:function(){return Dr},i_:function(){return Ka},YB:function(){return Tn}});var a=e(62376),t=e.n(a),o=e(63900),s=e.n(o),n=e(77016),d=e.n(n),l=e(61697),c=e.n(l),m=e(1769),g=e.n(m),M=e(19881),h=e.n(M),S=e(58757),w=e.t(S,2),C=e(2657),z=e(10063),$=e.n(z),N=$()||z;function L(dt){return dt.displayName||dt.name||"Component"}var B=S.createContext(null),D=B.Consumer,T=B.Provider,j=T,K=B;function k(dt,zt){var Ae=zt||{},dn=Ae.intlPropName,Dn=dn===void 0?"intl":dn,Mn=Ae.forwardRef,qn=Mn===void 0?!1:Mn,rr=Ae.enforceContext,Hr=rr===void 0?!0:rr,Da=function(Jr){return React.createElement(D,null,function(aa){return Hr&&invariantIntlContext(aa),React.createElement(dt,Object.assign({},Jr,_defineProperty({},Dn,aa),{ref:qn?Jr.forwardedRef:null}))})};return Da.displayName="injectIntl(".concat(L(dt),")"),Da.WrappedComponent=dt,N(qn?React.forwardRef(function(ia,Jr){return React.createElement(Da,Object.assign({},ia,{forwardedRef:Jr}))}):Da,dt)}var te;(function(dt){dt[dt.literal=0]="literal",dt[dt.argument=1]="argument",dt[dt.number=2]="number",dt[dt.date=3]="date",dt[dt.time=4]="time",dt[dt.select=5]="select",dt[dt.plural=6]="plural",dt[dt.pound=7]="pound"})(te||(te={}));function Y(dt){return dt.type===te.literal}function q(dt){return dt.type===te.argument}function le(dt){return dt.type===te.number}function X(dt){return dt.type===te.date}function W(dt){return dt.type===te.time}function x(dt){return dt.type===te.select}function O(dt){return dt.type===te.plural}function _(dt){return dt.type===te.pound}function U(dt){return!!(dt&&typeof dt=="object"&&dt.type===0)}function A(dt){return!!(dt&&typeof dt=="object"&&dt.type===1)}function G(dt){return{type:te.literal,value:dt}}function de(dt,zt){return{type:te.number,value:dt,style:zt}}var he=function(){var dt=function(zt,Ae){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(dn,Dn){dn.__proto__=Dn}||function(dn,Dn){for(var Mn in Dn)Dn.hasOwnProperty(Mn)&&(dn[Mn]=Dn[Mn])},dt(zt,Ae)};return function(zt,Ae){dt(zt,Ae);function dn(){this.constructor=zt}zt.prototype=Ae===null?Object.create(Ae):(dn.prototype=Ae.prototype,new dn)}}(),ge=function(){return ge=Object.assign||function(dt){for(var zt,Ae=1,dn=arguments.length;Ae0){for(aa=1,Pr=1;aazo&&(zo=Bt,ll=[]),ll.push(at))}function ru(at,Kt){return new be(at,[],"",Kt)}function Yi(at,Kt,_n){return new be(be.buildMessage(at,Kt),at,Kt,_n)}function Ml(){var at;return at=cl(),at}function cl(){var at,Kt;for(at=[],Kt=du();Kt!==Ae;)at.push(Kt),Kt=du();return at}function du(){var at;return at=tc(),at===Ae&&(at=Lo(),at===Ae&&(at=Uu(),at===Ae&&(at=fu(),at===Ae&&(at=ss(),at===Ae&&(at=Zu()))))),at}function Nl(){var at,Kt,_n;if(at=Bt,Kt=[],_n=Fi(),_n===Ae&&(_n=ou(),_n===Ae&&(_n=vu())),_n!==Ae)for(;_n!==Ae;)Kt.push(_n),_n=Fi(),_n===Ae&&(_n=ou(),_n===Ae&&(_n=vu()));else Kt=Ae;return Kt!==Ae&&(Eo=at,Kt=Mn(Kt)),at=Kt,at}function tc(){var at,Kt;return at=Bt,Kt=Nl(),Kt!==Ae&&(Eo=at,Kt=qn(Kt)),at=Kt,at}function Zu(){var at,Kt;return at=Bt,dt.charCodeAt(Bt)===35?(Kt=rr,Bt++):(Kt=Ae,ua===0&&Ra(Hr)),Kt!==Ae&&(Eo=at,Kt=Da()),at=Kt,at}function Lo(){var at,Kt,_n,dr,wa,lo;return ua++,at=Bt,dt.charCodeAt(Bt)===123?(Kt=Jr,Bt++):(Kt=Ae,ua===0&&Ra(aa)),Kt!==Ae?(_n=mo(),_n!==Ae?(dr=Cl(),dr!==Ae?(wa=mo(),wa!==Ae?(dt.charCodeAt(Bt)===125?(lo=Pr,Bt++):(lo=Ae,ua===0&&Ra(Zr)),lo!==Ae?(Eo=at,Kt=va(dr),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae),ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(ia)),at}function Ou(){var at,Kt,_n,dr,wa;if(ua++,at=Bt,Kt=[],_n=Bt,dr=Bt,ua++,wa=qi(),wa===Ae&&(eo.test(dt.charAt(Bt))?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(Va))),ua--,wa===Ae?dr=void 0:(Bt=dr,dr=Ae),dr!==Ae?(dt.length>Bt?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(Xt)),wa!==Ae?(dr=[dr,wa],_n=dr):(Bt=_n,_n=Ae)):(Bt=_n,_n=Ae),_n!==Ae)for(;_n!==Ae;)Kt.push(_n),_n=Bt,dr=Bt,ua++,wa=qi(),wa===Ae&&(eo.test(dt.charAt(Bt))?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(Va))),ua--,wa===Ae?dr=void 0:(Bt=dr,dr=Ae),dr!==Ae?(dt.length>Bt?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(Xt)),wa!==Ae?(dr=[dr,wa],_n=dr):(Bt=_n,_n=Ae)):(Bt=_n,_n=Ae);else Kt=Ae;return Kt!==Ae?at=dt.substring(at,Bt):at=Kt,ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Na)),at}function Yl(){var at,Kt,_n;return ua++,at=Bt,dt.charCodeAt(Bt)===47?(Kt=jn,Bt++):(Kt=Ae,ua===0&&Ra(er)),Kt!==Ae?(_n=Ou(),_n!==Ae?(Eo=at,Kt=gr(_n),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae),ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Cn)),at}function vs(){var at,Kt,_n,dr,wa;if(ua++,at=Bt,Kt=mo(),Kt!==Ae)if(_n=Ou(),_n!==Ae){for(dr=[],wa=Yl();wa!==Ae;)dr.push(wa),wa=Yl();dr!==Ae?(Eo=at,Kt=ea(_n,dr),at=Kt):(Bt=at,at=Ae)}else Bt=at,at=Ae;else Bt=at,at=Ae;return ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Wr)),at}function Sl(){var at,Kt,_n;if(at=Bt,Kt=[],_n=vs(),_n!==Ae)for(;_n!==Ae;)Kt.push(_n),_n=vs();else Kt=Ae;return Kt!==Ae&&(Eo=at,Kt=sr(Kt)),at=Kt,at}function dl(){var at,Kt,_n;return at=Bt,dt.substr(Bt,2)===_r?(Kt=_r,Bt+=2):(Kt=Ae,ua===0&&Ra(fa)),Kt!==Ae?(_n=Sl(),_n!==Ae?(Eo=at,Kt=Oa(_n),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae),at===Ae&&(at=Bt,Eo=Bt,Kt=Aa(),Kt?Kt=void 0:Kt=Ae,Kt!==Ae?(_n=Nl(),_n!==Ae?(Eo=at,Kt=qr(_n),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)),at}function Wt(){var at,Kt,_n,dr,wa,lo,li,Fo,es,ni,fi,Co,Oo;return at=Bt,dt.charCodeAt(Bt)===123?(Kt=Jr,Bt++):(Kt=Ae,ua===0&&Ra(aa)),Kt!==Ae?(_n=mo(),_n!==Ae?(dr=Cl(),dr!==Ae?(wa=mo(),wa!==Ae?(dt.charCodeAt(Bt)===44?(lo=go,Bt++):(lo=Ae,ua===0&&Ra(xo)),lo!==Ae?(li=mo(),li!==Ae?(dt.substr(Bt,6)===_a?(Fo=_a,Bt+=6):(Fo=Ae,ua===0&&Ra(Mo)),Fo!==Ae?(es=mo(),es!==Ae?(ni=Bt,dt.charCodeAt(Bt)===44?(fi=go,Bt++):(fi=Ae,ua===0&&Ra(xo)),fi!==Ae?(Co=mo(),Co!==Ae?(Oo=dl(),Oo!==Ae?(fi=[fi,Co,Oo],ni=fi):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae),ni===Ae&&(ni=null),ni!==Ae?(fi=mo(),fi!==Ae?(dt.charCodeAt(Bt)===125?(Co=Pr,Bt++):(Co=Ae,ua===0&&Ra(Zr)),Co!==Ae?(Eo=at,Kt=so(dr,Fo,ni),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae),at}function Ai(){var at,Kt,_n,dr;if(at=Bt,dt.charCodeAt(Bt)===39?(Kt=Ca,Bt++):(Kt=Ae,ua===0&&Ra(Ba)),Kt!==Ae){if(_n=[],dr=Fi(),dr===Ae&&(So.test(dt.charAt(Bt))?(dr=dt.charAt(Bt),Bt++):(dr=Ae,ua===0&&Ra(Xo))),dr!==Ae)for(;dr!==Ae;)_n.push(dr),dr=Fi(),dr===Ae&&(So.test(dt.charAt(Bt))?(dr=dt.charAt(Bt),Bt++):(dr=Ae,ua===0&&Ra(Xo)));else _n=Ae;_n!==Ae?(dt.charCodeAt(Bt)===39?(dr=Ca,Bt++):(dr=Ae,ua===0&&Ra(Ba)),dr!==Ae?(Kt=[Kt,_n,dr],at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)}else Bt=at,at=Ae;if(at===Ae)if(at=[],Kt=Fi(),Kt===Ae&&(ei.test(dt.charAt(Bt))?(Kt=dt.charAt(Bt),Bt++):(Kt=Ae,ua===0&&Ra(ao))),Kt!==Ae)for(;Kt!==Ae;)at.push(Kt),Kt=Fi(),Kt===Ae&&(ei.test(dt.charAt(Bt))?(Kt=dt.charAt(Bt),Bt++):(Kt=Ae,ua===0&&Ra(ao)));else at=Ae;return at}function Vl(){var at,Kt;if(at=[],hi.test(dt.charAt(Bt))?(Kt=dt.charAt(Bt),Bt++):(Kt=Ae,ua===0&&Ra(wi)),Kt!==Ae)for(;Kt!==Ae;)at.push(Kt),hi.test(dt.charAt(Bt))?(Kt=dt.charAt(Bt),Bt++):(Kt=Ae,ua===0&&Ra(wi));else at=Ae;return at}function zi(){var at,Kt,_n,dr;if(at=Bt,Kt=Bt,_n=[],dr=Ai(),dr===Ae&&(dr=Vl()),dr!==Ae)for(;dr!==Ae;)_n.push(dr),dr=Ai(),dr===Ae&&(dr=Vl());else _n=Ae;return _n!==Ae?Kt=dt.substring(Kt,Bt):Kt=_n,Kt!==Ae&&(Eo=at,Kt=Go(Kt)),at=Kt,at}function Zo(){var at,Kt,_n;return at=Bt,dt.substr(Bt,2)===_r?(Kt=_r,Bt+=2):(Kt=Ae,ua===0&&Ra(fa)),Kt!==Ae?(_n=zi(),_n!==Ae?(Eo=at,Kt=Oa(_n),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae),at===Ae&&(at=Bt,Eo=Bt,Kt=$o(),Kt?Kt=void 0:Kt=Ae,Kt!==Ae?(_n=Nl(),_n!==Ae?(Eo=at,Kt=qr(_n),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)),at}function co(){var at,Kt,_n,dr,wa,lo,li,Fo,es,ni,fi,Co,Oo;return at=Bt,dt.charCodeAt(Bt)===123?(Kt=Jr,Bt++):(Kt=Ae,ua===0&&Ra(aa)),Kt!==Ae?(_n=mo(),_n!==Ae?(dr=Cl(),dr!==Ae?(wa=mo(),wa!==Ae?(dt.charCodeAt(Bt)===44?(lo=go,Bt++):(lo=Ae,ua===0&&Ra(xo)),lo!==Ae?(li=mo(),li!==Ae?(dt.substr(Bt,4)===si?(Fo=si,Bt+=4):(Fo=Ae,ua===0&&Ra(ai)),Fo===Ae&&(dt.substr(Bt,4)===Si?(Fo=Si,Bt+=4):(Fo=Ae,ua===0&&Ra(Pi))),Fo!==Ae?(es=mo(),es!==Ae?(ni=Bt,dt.charCodeAt(Bt)===44?(fi=go,Bt++):(fi=Ae,ua===0&&Ra(xo)),fi!==Ae?(Co=mo(),Co!==Ae?(Oo=Zo(),Oo!==Ae?(fi=[fi,Co,Oo],ni=fi):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae),ni===Ae&&(ni=null),ni!==Ae?(fi=mo(),fi!==Ae?(dt.charCodeAt(Bt)===125?(Co=Pr,Bt++):(Co=Ae,ua===0&&Ra(Zr)),Co!==Ae?(Eo=at,Kt=so(dr,Fo,ni),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae),at}function Uu(){var at;return at=Wt(),at===Ae&&(at=co()),at}function fu(){var at,Kt,_n,dr,wa,lo,li,Fo,es,ni,fi,Co,Oo,ki,ms,wu;if(at=Bt,dt.charCodeAt(Bt)===123?(Kt=Jr,Bt++):(Kt=Ae,ua===0&&Ra(aa)),Kt!==Ae)if(_n=mo(),_n!==Ae)if(dr=Cl(),dr!==Ae)if(wa=mo(),wa!==Ae)if(dt.charCodeAt(Bt)===44?(lo=go,Bt++):(lo=Ae,ua===0&&Ra(xo)),lo!==Ae)if(li=mo(),li!==Ae)if(dt.substr(Bt,6)===Ei?(Fo=Ei,Bt+=6):(Fo=Ae,ua===0&&Ra(to)),Fo===Ae&&(dt.substr(Bt,13)===Ga?(Fo=Ga,Bt+=13):(Fo=Ae,ua===0&&Ra(Jo))),Fo!==Ae)if(es=mo(),es!==Ae)if(dt.charCodeAt(Bt)===44?(ni=go,Bt++):(ni=Ae,ua===0&&Ra(xo)),ni!==Ae)if(fi=mo(),fi!==Ae)if(Co=Bt,dt.substr(Bt,7)===ti?(Oo=ti,Bt+=7):(Oo=Ae,ua===0&&Ra(Io)),Oo!==Ae?(ki=mo(),ki!==Ae?(ms=qs(),ms!==Ae?(Oo=[Oo,ki,ms],Co=Oo):(Bt=Co,Co=Ae)):(Bt=Co,Co=Ae)):(Bt=Co,Co=Ae),Co===Ae&&(Co=null),Co!==Ae)if(Oo=mo(),Oo!==Ae){if(ki=[],ms=xi(),ms!==Ae)for(;ms!==Ae;)ki.push(ms),ms=xi();else ki=Ae;ki!==Ae?(ms=mo(),ms!==Ae?(dt.charCodeAt(Bt)===125?(wu=Pr,Bt++):(wu=Ae,ua===0&&Ra(Zr)),wu!==Ae?(Eo=at,Kt=Ro(dr,Fo,Co,ki),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)}else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;return at}function ss(){var at,Kt,_n,dr,wa,lo,li,Fo,es,ni,fi,Co,Oo,ki;if(at=Bt,dt.charCodeAt(Bt)===123?(Kt=Jr,Bt++):(Kt=Ae,ua===0&&Ra(aa)),Kt!==Ae)if(_n=mo(),_n!==Ae)if(dr=Cl(),dr!==Ae)if(wa=mo(),wa!==Ae)if(dt.charCodeAt(Bt)===44?(lo=go,Bt++):(lo=Ae,ua===0&&Ra(xo)),lo!==Ae)if(li=mo(),li!==Ae)if(dt.substr(Bt,6)===Ci?(Fo=Ci,Bt+=6):(Fo=Ae,ua===0&&Ra(Ti)),Fo!==Ae)if(es=mo(),es!==Ae)if(dt.charCodeAt(Bt)===44?(ni=go,Bt++):(ni=Ae,ua===0&&Ra(xo)),ni!==Ae)if(fi=mo(),fi!==Ae){if(Co=[],Oo=bi(),Oo!==Ae)for(;Oo!==Ae;)Co.push(Oo),Oo=bi();else Co=Ae;Co!==Ae?(Oo=mo(),Oo!==Ae?(dt.charCodeAt(Bt)===125?(ki=Pr,Bt++):(ki=Ae,ua===0&&Ra(Zr)),ki!==Ae?(Eo=at,Kt=Ui(dr,Co),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)}else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;else Bt=at,at=Ae;return at}function El(){var at,Kt,_n,dr;return at=Bt,Kt=Bt,dt.charCodeAt(Bt)===61?(_n=Os,Bt++):(_n=Ae,ua===0&&Ra(fs)),_n!==Ae?(dr=qs(),dr!==Ae?(_n=[_n,dr],Kt=_n):(Bt=Kt,Kt=Ae)):(Bt=Kt,Kt=Ae),Kt!==Ae?at=dt.substring(at,Bt):at=Kt,at===Ae&&(at=Es()),at}function bi(){var at,Kt,_n,dr,wa,lo,li,Fo;return at=Bt,Kt=mo(),Kt!==Ae?(_n=Es(),_n!==Ae?(dr=mo(),dr!==Ae?(dt.charCodeAt(Bt)===123?(wa=Jr,Bt++):(wa=Ae,ua===0&&Ra(aa)),wa!==Ae?(Eo=Bt,lo=Ks(_n),lo?lo=void 0:lo=Ae,lo!==Ae?(li=cl(),li!==Ae?(dt.charCodeAt(Bt)===125?(Fo=Pr,Bt++):(Fo=Ae,ua===0&&Ra(Zr)),Fo!==Ae?(Eo=at,Kt=yl(_n,li),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae),at}function xi(){var at,Kt,_n,dr,wa,lo,li,Fo;return at=Bt,Kt=mo(),Kt!==Ae?(_n=El(),_n!==Ae?(dr=mo(),dr!==Ae?(dt.charCodeAt(Bt)===123?(wa=Jr,Bt++):(wa=Ae,ua===0&&Ra(aa)),wa!==Ae?(Eo=Bt,lo=Vn(_n),lo?lo=void 0:lo=Ae,lo!==Ae?(li=cl(),li!==Ae?(dt.charCodeAt(Bt)===125?(Fo=Pr,Bt++):(Fo=Ae,ua===0&&Ra(Zr)),Fo!==Ae?(Eo=at,Kt=Gr(_n,li),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae)):(Bt=at,at=Ae),at}function qi(){var at,Kt;return ua++,$r.test(dt.charAt(Bt))?(at=dt.charAt(Bt),Bt++):(at=Ae,ua===0&&Ra(oa)),ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(wr)),at}function rs(){var at,Kt;return ua++,za.test(dt.charAt(Bt))?(at=dt.charAt(Bt),Bt++):(at=Ae,ua===0&&Ra(La)),ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Ta)),at}function mo(){var at,Kt,_n;for(ua++,at=Bt,Kt=[],_n=qi();_n!==Ae;)Kt.push(_n),_n=qi();return Kt!==Ae?at=dt.substring(at,Bt):at=Kt,ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(To)),at}function qs(){var at,Kt,_n;return ua++,at=Bt,dt.charCodeAt(Bt)===45?(Kt=ko,Bt++):(Kt=Ae,ua===0&&Ra(Li)),Kt===Ae&&(Kt=null),Kt!==Ae?(_n=xl(),_n!==Ae?(Eo=at,Kt=Ms(Kt,_n),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae),ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Ko)),at}function au(){var at,Kt;return ua++,dt.charCodeAt(Bt)===39?(at=Ca,Bt++):(at=Ae,ua===0&&Ra(Ba)),ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Ki)),at}function Fi(){var at,Kt;return ua++,at=Bt,dt.substr(Bt,2)===Xi?(Kt=Xi,Bt+=2):(Kt=Ae,ua===0&&Ra(Qo)),Kt!==Ae&&(Eo=at,Kt=eu()),at=Kt,ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Ds)),at}function ou(){var at,Kt,_n,dr,wa,lo;if(at=Bt,dt.charCodeAt(Bt)===39?(Kt=Ca,Bt++):(Kt=Ae,ua===0&&Ra(Ba)),Kt!==Ae)if(_n=Us(),_n!==Ae){for(dr=Bt,wa=[],dt.substr(Bt,2)===Xi?(lo=Xi,Bt+=2):(lo=Ae,ua===0&&Ra(Qo)),lo===Ae&&(So.test(dt.charAt(Bt))?(lo=dt.charAt(Bt),Bt++):(lo=Ae,ua===0&&Ra(Xo)));lo!==Ae;)wa.push(lo),dt.substr(Bt,2)===Xi?(lo=Xi,Bt+=2):(lo=Ae,ua===0&&Ra(Qo)),lo===Ae&&(So.test(dt.charAt(Bt))?(lo=dt.charAt(Bt),Bt++):(lo=Ae,ua===0&&Ra(Xo)));wa!==Ae?dr=dt.substring(dr,Bt):dr=wa,dr!==Ae?(dt.charCodeAt(Bt)===39?(wa=Ca,Bt++):(wa=Ae,ua===0&&Ra(Ba)),wa===Ae&&(wa=null),wa!==Ae?(Eo=at,Kt=bl(_n,dr),at=Kt):(Bt=at,at=Ae)):(Bt=at,at=Ae)}else Bt=at,at=Ae;else Bt=at,at=Ae;return at}function vu(){var at,Kt,_n,dr;return at=Bt,Kt=Bt,dt.length>Bt?(_n=dt.charAt(Bt),Bt++):(_n=Ae,ua===0&&Ra(Xt)),_n!==Ae?(Eo=Bt,dr=il(_n),dr?dr=void 0:dr=Ae,dr!==Ae?(_n=[_n,dr],Kt=_n):(Bt=Kt,Kt=Ae)):(Bt=Kt,Kt=Ae),Kt===Ae&&(dt.charCodeAt(Bt)===10?(Kt=Au,Bt++):(Kt=Ae,ua===0&&Ra(sl))),Kt!==Ae?at=dt.substring(at,Bt):at=Kt,at}function Us(){var at,Kt,_n,dr;return at=Bt,Kt=Bt,dt.length>Bt?(_n=dt.charAt(Bt),Bt++):(_n=Ae,ua===0&&Ra(Xt)),_n!==Ae?(Eo=Bt,dr=Qs(_n),dr?dr=void 0:dr=Ae,dr!==Ae?(_n=[_n,dr],Kt=_n):(Bt=Kt,Kt=Ae)):(Bt=Kt,Kt=Ae),Kt!==Ae?at=dt.substring(at,Bt):at=Kt,at}function Cl(){var at,Kt;return ua++,at=Bt,Kt=xl(),Kt===Ae&&(Kt=Es()),Kt!==Ae?at=dt.substring(at,Bt):at=Kt,ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(ws)),at}function xl(){var at,Kt,_n,dr,wa;if(ua++,at=Bt,dt.charCodeAt(Bt)===48?(Kt=Tl,Bt++):(Kt=Ae,ua===0&&Ra(cu)),Kt!==Ae&&(Eo=at,Kt=ns()),at=Kt,at===Ae){if(at=Bt,Kt=Bt,Ss.test(dt.charAt(Bt))?(_n=dt.charAt(Bt),Bt++):(_n=Ae,ua===0&&Ra(Bs)),_n!==Ae){for(dr=[],js.test(dt.charAt(Bt))?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(tu));wa!==Ae;)dr.push(wa),js.test(dt.charAt(Bt))?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(tu));dr!==Ae?(_n=[_n,dr],Kt=_n):(Bt=Kt,Kt=Ae)}else Bt=Kt,Kt=Ae;Kt!==Ae&&(Eo=at,Kt=Hl(Kt)),at=Kt}return ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Xs)),at}function Es(){var at,Kt,_n,dr,wa;if(ua++,at=Bt,Kt=[],_n=Bt,dr=Bt,ua++,wa=qi(),wa===Ae&&(wa=rs()),ua--,wa===Ae?dr=void 0:(Bt=dr,dr=Ae),dr!==Ae?(dt.length>Bt?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(Xt)),wa!==Ae?(dr=[dr,wa],_n=dr):(Bt=_n,_n=Ae)):(Bt=_n,_n=Ae),_n!==Ae)for(;_n!==Ae;)Kt.push(_n),_n=Bt,dr=Bt,ua++,wa=qi(),wa===Ae&&(wa=rs()),ua--,wa===Ae?dr=void 0:(Bt=dr,dr=Ae),dr!==Ae?(dt.length>Bt?(wa=dt.charAt(Bt),Bt++):(wa=Ae,ua===0&&Ra(Xt)),wa!==Ae?(dr=[dr,wa],_n=dr):(Bt=_n,_n=Ae)):(Bt=_n,_n=Ae);else Kt=Ae;return Kt!==Ae?at=dt.substring(at,Bt):at=Kt,ua--,at===Ae&&(Kt=Ae,ua===0&&Ra(Ps)),at}var gs=["root"];function Du(){return gs.length>1}function ks(){return gs[gs.length-1]==="plural"}function ma(){return zt&&zt.captureLocation?{location:Js()}:{}}if(ul=Dn(),ul!==Ae&&Bt===dt.length)return ul;throw ul!==Ae&&Bt1)throw new RangeError("Fraction-precision stems only accept a single optional option");Dn.stem.replace(R,function(qn,rr,Hr){return qn==="."?zt.maximumFractionDigits=0:Hr==="+"?zt.minimumFractionDigits=Hr.length:rr[0]==="#"?zt.maximumFractionDigits=rr.length:(zt.minimumFractionDigits=rr.length,zt.maximumFractionDigits=rr.length+(typeof Hr=="string"?Hr.length:0)),""}),Dn.options.length&&(zt=Ke(Ke({},zt),ae(Dn.options[0])));continue}if(P.test(Dn.stem)){zt=Ke(Ke({},zt),ae(Dn.stem));continue}var Mn=Q(Dn.stem);Mn&&(zt=Ke(Ke({},zt),Mn))}return zt}var je=function(){var dt=function(zt,Ae){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(dn,Dn){dn.__proto__=Dn}||function(dn,Dn){for(var Mn in Dn)Dn.hasOwnProperty(Mn)&&(dn[Mn]=Dn[Mn])},dt(zt,Ae)};return function(zt,Ae){dt(zt,Ae);function dn(){this.constructor=zt}zt.prototype=Ae===null?Object.create(Ae):(dn.prototype=Ae.prototype,new dn)}}(),Ee=function(){for(var dt=0,zt=0,Ae=arguments.length;ztnew St,Y)}function qe(Y,z){if(!Y)return!1;const ue=Y.__SENTRY__=Y.__SENTRY__||{};return ue.hub=z,!0}const $t=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],Zt=[/^.*healthcheck.*$/,/^.*healthy.*$/,/^.*live.*$/,/^.*ready.*$/,/^.*heartbeat.*$/,/^.*\/health$/,/^.*\/healthz$/];class qt{static __initStatic(){this.id="InboundFilters"}constructor(z={}){this.name=qt.id,this._options=z}setupOnce(z,ue){const Ce=Re=>{const rt=ue();if(rt){const Mt=rt.getIntegration(qt);if(Mt){const Dt=rt.getClient(),Vt=Dt?Dt.getOptions():{},nn=un(Mt._options,Vt);return xn(Re,nn)?null:Re}}return Re};Ce.id=this.name,z(Ce)}}qt.__initStatic();function un(Y={},z={}){return{allowUrls:[...Y.allowUrls||[],...z.allowUrls||[]],denyUrls:[...Y.denyUrls||[],...z.denyUrls||[]],ignoreErrors:[...Y.ignoreErrors||[],...z.ignoreErrors||[],...Y.disableErrorDefaults?[]:$t],ignoreTransactions:[...Y.ignoreTransactions||[],...z.ignoreTransactions||[],...Y.disableTransactionDefaults?[]:Zt],ignoreInternal:Y.ignoreInternal!==void 0?Y.ignoreInternal:!0}}function xn(Y,z){return z.ignoreInternal&&zt(Y)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being internal Sentry Error. +Event: ${j(Y)}`),!0):pn(Y,z.ignoreErrors)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`ignoreErrors\` option. +Event: ${j(Y)}`),!0):Gn(Y,z.ignoreTransactions)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. +Event: ${j(Y)}`),!0):Qn(Y,z.denyUrls)?((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to being matched by \`denyUrls\` option. +Event: ${j(Y)}. +Url: ${an(Y)}`),!0):ur(Y,z.allowUrls)?!1:((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`Event dropped due to not being matched by \`allowUrls\` option. +Event: ${j(Y)}. +Url: ${an(Y)}`),!0)}function pn(Y,z){return Y.type||!z||!z.length?!1:br(Y).some(ue=>se(ue,z))}function Gn(Y,z){if(Y.type!=="transaction"||!z||!z.length)return!1;const ue=Y.transaction;return ue?se(ue,z):!1}function Qn(Y,z){if(!z||!z.length)return!1;const ue=an(Y);return ue?se(ue,z):!1}function ur(Y,z){if(!z||!z.length)return!0;const ue=an(Y);return ue?se(ue,z):!0}function br(Y){if(Y.message)return[Y.message];if(Y.exception){const{values:z}=Y.exception;try{const{type:ue="",value:Ce=""}=z&&z[z.length-1]||{};return[`${Ce}`,`${ue}: ${Ce}`]}catch(ue){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Cannot extract message for event ${j(Y)}`),[]}}return[]}function zt(Y){try{return Y.exception.values[0].type==="SentryError"}catch(z){}return!1}function en(Y=[]){for(let z=Y.length-1;z>=0;z--){const ue=Y[z];if(ue&&ue.filename!==""&&ue.filename!=="[native code]")return ue.filename||null}return null}function an(Y){try{let z;try{z=Y.exception.values[0].stacktrace.frames}catch(ue){}return z?en(z):null}catch(z){return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Cannot extract url for event ${j(Y)}`),null}}let vn;class An{static __initStatic(){this.id="FunctionToString"}constructor(){this.name=An.id}setupOnce(){vn=Function.prototype.toString;try{Function.prototype.toString=function(...z){const ue=ce(this)||this;return vn.apply(ue,z)}}catch(z){}}}An.__initStatic();const sn=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function mt(Y){return Y==="http"||Y==="https"}function gt(Y,z=!1){const{host:ue,path:Ce,pass:Re,port:rt,projectId:Mt,protocol:Dt,publicKey:Vt}=Y;return`${Dt}://${Vt}${z&&Re?`:${Re}`:""}@${ue}${rt?`:${rt}`:""}/${Ce&&`${Ce}/`}${Mt}`}function ln(Y){const z=sn.exec(Y);if(!z){console.error(`Invalid Sentry Dsn: ${Y}`);return}const[ue,Ce,Re="",rt,Mt="",Dt]=z.slice(1);let Vt="",nn=Dt;const fn=nn.split("/");if(fn.length>1&&(Vt=fn.slice(0,-1).join("/"),nn=fn.pop()),nn){const hn=nn.match(/^\d+/);hn&&(nn=hn[0])}return Qt({host:rt,pass:Re,path:Vt,projectId:nn,port:Mt,protocol:ue,publicKey:Ce})}function Qt(Y){return{protocol:Y.protocol,publicKey:Y.publicKey||"",pass:Y.pass||"",host:Y.host,port:Y.port||"",path:Y.path||"",projectId:Y.projectId}}function tn(Y){if(!(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__))return!0;const{port:z,projectId:ue,protocol:Ce}=Y;return["protocol","publicKey","host","projectId"].find(Mt=>Y[Mt]?!1:(A.error(`Invalid Sentry Dsn: ${Mt} missing`),!0))?!1:ue.match(/^\d+$/)?mt(Ce)?z&&isNaN(parseInt(z,10))?(A.error(`Invalid Sentry Dsn: Invalid port ${z}`),!1):!0:(A.error(`Invalid Sentry Dsn: Invalid protocol ${Ce}`),!1):(A.error(`Invalid Sentry Dsn: Invalid projectId ${ue}`),!1)}function yn(Y){const z=typeof Y=="string"?ln(Y):Qt(Y);if(!(!z||!tn(z)))return z}const gn="7";function _n(Y){const z=Y.protocol?`${Y.protocol}:`:"",ue=Y.port?`:${Y.port}`:"";return`${z}//${Y.host}${ue}${Y.path?`/${Y.path}`:""}/api/`}function nr(Y){return`${_n(Y)}${Y.projectId}/envelope/`}function ut(Y,z){return urlEncode(Wa({sentry_key:Y.publicKey,sentry_version:gn},z&&{sentry_client:`${z.name}/${z.version}`}))}function ct(Y,z={}){const ue=typeof z=="string"?z:z.tunnel,Ce=typeof z=="string"||!z._metadata?void 0:z._metadata.sdk;return ue||`${nr(Y)}?${ut(Y,Ce)}`}function It(Y,z){const ue=yn(Y);if(!ue)return"";const Ce=`${_n(ue)}embed/error-page/`;let Re=`dsn=${gt(ue)}`;for(const rt in z)if(rt!=="dsn")if(rt==="user"){const Mt=z.user;if(!Mt)continue;Mt.name&&(Re+=`&name=${encodeURIComponent(Mt.name)}`),Mt.email&&(Re+=`&email=${encodeURIComponent(Mt.email)}`)}else Re+=`&${encodeURIComponent(rt)}=${encodeURIComponent(z[rt])}`;return`${Ce}?${Re}`}function Ct(Y,z){return Nt().captureException(Y,{captureContext:z})}function Ut(Y,z){const ue=typeof z=="string"?z:void 0,Ce=typeof z!="string"?{captureContext:z}:void 0;return getCurrentHub().captureMessage(Y,ue,Ce)}function cn(Y,z){return getCurrentHub().captureEvent(Y,z)}function rn(Y){getCurrentHub().configureScope(Y)}function Dn(Y){getCurrentHub().addBreadcrumb(Y)}function Bn(Y,z){getCurrentHub().setContext(Y,z)}function Cr(Y){getCurrentHub().setExtras(Y)}function rr(Y,z){getCurrentHub().setExtra(Y,z)}function $n(Y){getCurrentHub().setTags(Y)}function kr(Y,z){getCurrentHub().setTag(Y,z)}function Mr(Y){getCurrentHub().setUser(Y)}function ia(Y){Nt().withScope(Y)}function zr(Y,z){return getCurrentHub().startTransaction(Wa({},Y),z)}function Wn(Y,z){const ue=getCurrentHub(),Ce=ue.getScope(),Re=ue.getClient();if(!Re)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot capture check-in. No client defined.");else if(!Re.captureCheckIn)(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else return Re.captureCheckIn(Y,z,Ce);return uuid4()}function wn(Y){return xf(this,null,function*(){const z=getCurrentHub().getClient();return z?z.flush(Y):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1))})}function Rn(Y){return xf(this,null,function*(){const z=getCurrentHub().getClient();return z?z.close(Y):((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1))})}function sr(){return getCurrentHub().lastEventId()}const Er=$.n2;let Kr=0;function ta(){return Kr>0}function ga(){Kr++,setTimeout(()=>{Kr--})}function pr(Y,z={},ue){if(typeof Y!="function")return Y;try{const Re=Y.__sentry_wrapped__;if(Re)return Re;if(ce(Y))return Y}catch(Re){return Y}const Ce=function(){const Re=Array.prototype.slice.call(arguments);try{ue&&typeof ue=="function"&&ue.apply(this,arguments);const rt=Re.map(Mt=>pr(Mt,z));return Y.apply(this,rt)}catch(rt){throw ga(),ia(Mt=>{Mt.addEventProcessor(Dt=>(z.mechanism&&(K(Dt,void 0,void 0),k(Dt,z.mechanism)),Dt.extra=Vs(Wa({},Dt.extra),{arguments:Re}),Dt)),Ct(rt)}),rt}};try{for(const Re in Y)Object.prototype.hasOwnProperty.call(Y,Re)&&(Ce[Re]=Y[Re])}catch(Re){}xe(Ce,Y),de(Y,"__sentry_wrapped__",Ce);try{Object.getOwnPropertyDescriptor(Ce,"name").configurable&&Object.defineProperty(Ce,"name",{get(){return Y.name}})}catch(Re){}return Ce}const Ur=50,Ma=/\(error: (.*)\)/,ma=/captureMessage|captureException/;function Yn(...Y){const z=Y.sort((ue,Ce)=>ue[0]-Ce[0]).map(ue=>ue[1]);return(ue,Ce=0)=>{const Re=[],rt=ue.split(` +`);for(let Mt=Ce;Mt1024)continue;const Vt=Ma.test(Dt)?Dt.replace(Ma,"$1"):Dt;if(!Vt.match(/\S*Error: /)){for(const nn of z){const fn=nn(Vt);if(fn){Re.push(fn);break}}if(Re.length>=Ur)break}}return Sr(Re)}}function Zn(Y){return Array.isArray(Y)?Yn(...Y):Y}function Sr(Y){if(!Y.length)return[];const z=Array.from(Y);return/sentryWrapped/.test(z[z.length-1].function||"")&&z.pop(),z.reverse(),ma.test(z[z.length-1].function||"")&&(z.pop(),ma.test(z[z.length-1].function||"")&&z.pop()),z.slice(0,Ur).map(ue=>Vs(Wa({},ue),{filename:ue.filename||z[z.length-1].filename,function:ue.function||"?"}))}const Xr="";function wr(Y){try{return!Y||typeof Y!="function"?Xr:Y.name||Xr}catch(z){return Xr}}function Pt(Y){return[90,node(Y)]}const on=(0,$.Rf)();function Mn(){try{return new ErrorEvent(""),!0}catch(Y){return!1}}function Ja(){try{return new DOMError(""),!0}catch(Y){return!1}}function mo(){try{return new DOMException(""),!0}catch(Y){return!1}}function Ua(){if(!("fetch"in on))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(Y){return!1}}function ka(Y){return Y&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(Y.toString())}function Qa(){if(!Ua())return!1;if(ka(on.fetch))return!0;let Y=!1;const z=on.document;if(z&&typeof z.createElement=="function")try{const ue=z.createElement("iframe");ue.hidden=!0,z.head.appendChild(ue),ue.contentWindow&&ue.contentWindow.fetch&&(Y=ka(ue.contentWindow.fetch)),z.head.removeChild(ue)}catch(ue){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",ue)}return Y}function wo(){return"ReportingObserver"in on}function No(){if(!Ua())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(Y){return!1}}const ho=(0,$.Rf)();function dt(){const Y=ho.chrome,z=Y&&Y.app&&Y.app.runtime,ue="history"in ho&&!!ho.history.pushState&&!!ho.history.replaceState;return!z&&ue}const Rt=(0,$.Rf)(),Ae="__sentry_xhr_v2__",dn={},Pn={};function Sn(Y){if(!Pn[Y])switch(Pn[Y]=!0,Y){case"console":Hr();break;case"dom":tr();break;case"xhr":Lr();break;case"fetch":Oa();break;case"history":ca();break;case"error":Wr();break;case"unhandledrejection":dr();break;default:(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("unknown instrumentation type:",Y);return}}function er(Y,z){dn[Y]=dn[Y]||[],dn[Y].push(z),Sn(Y)}function ir(Y,z){if(!(!Y||!dn[Y]))for(const ue of dn[Y]||[])try{ue(z)}catch(Ce){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.error(`Error while triggering instrumentation handler. +Type: ${Y} +Name: ${wr(ue)} +Error:`,Ce)}}function Hr(){"console"in Rt&&O.forEach(function(Y){Y in Rt.console&&J(Rt.console,Y,function(z){return function(...ue){ir("console",{args:ue,level:Y}),z&&z.apply(Rt.console,ue)}})})}function Oa(){Qa()&&J(Rt,"fetch",function(Y){return function(...z){const{method:ue,url:Ce}=na(z),Re={args:z,fetchData:{method:ue,url:Ce},startTimestamp:Date.now()};return ir("fetch",Wa({},Re)),Y.apply(Rt,z).then(rt=>(ir("fetch",Vs(Wa({},Re),{endTimestamp:Date.now(),response:rt})),rt),rt=>{throw ir("fetch",Vs(Wa({},Re),{endTimestamp:Date.now(),error:rt})),rt})}})}function oa(Y,z){return!!Y&&typeof Y=="object"&&!!Y[z]}function Jr(Y){return typeof Y=="string"?Y:Y?oa(Y,"url")?Y.url:Y.toString?Y.toString():"":""}function na(Y){if(Y.length===0)return{method:"GET",url:""};if(Y.length===2){const[ue,Ce]=Y;return{url:Jr(ue),method:oa(Ce,"method")?String(Ce.method).toUpperCase():"GET"}}const z=Y[0];return{url:Jr(z),method:oa(z,"method")?String(z.method).toUpperCase():"GET"}}function Lr(){if(!("XMLHttpRequest"in Rt))return;const Y=XMLHttpRequest.prototype;J(Y,"open",function(z){return function(...ue){const Ce=ue[1],Re=this[Ae]={method:Je(ue[0])?ue[0].toUpperCase():ue[0],url:ue[1],request_headers:{}};Je(Ce)&&Re.method==="POST"&&Ce.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const rt=()=>{const Mt=this[Ae];if(Mt&&this.readyState===4){try{Mt.status_code=this.status}catch(Dt){}ir("xhr",{args:ue,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&typeof this.onreadystatechange=="function"?J(this,"onreadystatechange",function(Mt){return function(...Dt){return rt(),Mt.apply(this,Dt)}}):this.addEventListener("readystatechange",rt),J(this,"setRequestHeader",function(Mt){return function(...Dt){const[Vt,nn]=Dt,fn=this[Ae];return fn&&(fn.request_headers[Vt.toLowerCase()]=nn),Mt.apply(this,Dt)}}),z.apply(this,ue)}}),J(Y,"send",function(z){return function(...ue){const Ce=this[Ae];return Ce&&ue[0]!==void 0&&(Ce.body=ue[0]),ir("xhr",{args:ue,startTimestamp:Date.now(),xhr:this}),z.apply(this,ue)}})}let Zr;function ca(){if(!dt())return;const Y=Rt.onpopstate;Rt.onpopstate=function(...ue){const Ce=Rt.location.href,Re=Zr;if(Zr=Ce,ir("history",{from:Re,to:Ce}),Y)try{return Y.apply(this,ue)}catch(rt){}};function z(ue){return function(...Ce){const Re=Ce.length>2?Ce[2]:void 0;if(Re){const rt=Zr,Mt=String(Re);Zr=Mt,ir("history",{from:rt,to:Mt})}return ue.apply(this,Ce)}}J(Rt.history,"pushState",z),J(Rt.history,"replaceState",z)}const Ta=1e3;let eo,Va;function Xt(Y,z){if(!Y||Y.type!==z.type)return!0;try{if(Y.target!==z.target)return!0}catch(ue){}return!1}function In(Y){if(Y.type!=="keypress")return!1;try{const z=Y.target;if(!z||!z.tagName)return!0;if(z.tagName==="INPUT"||z.tagName==="TEXTAREA"||z.isContentEditable)return!1}catch(z){}return!0}function Tn(Y,z=!1){return ue=>{if(!ue||Va===ue||In(ue))return;const Ce=ue.type==="keypress"?"input":ue.type;eo===void 0?(Y({event:ue,name:Ce,global:z}),Va=ue):Xt(Va,ue)&&(Y({event:ue,name:Ce,global:z}),Va=ue),clearTimeout(eo),eo=Rt.setTimeout(()=>{eo=void 0},Ta)}}function tr(){if(!("document"in Rt))return;const Y=ir.bind(null,"dom"),z=Tn(Y,!0);Rt.document.addEventListener("click",z,!1),Rt.document.addEventListener("keypress",z,!1),["EventTarget","Node"].forEach(ue=>{const Ce=Rt[ue]&&Rt[ue].prototype;!Ce||!Ce.hasOwnProperty||!Ce.hasOwnProperty("addEventListener")||(J(Ce,"addEventListener",function(Re){return function(rt,Mt,Dt){if(rt==="click"||rt=="keypress")try{const Vt=this,nn=Vt.__sentry_instrumentation_handlers__=Vt.__sentry_instrumentation_handlers__||{},fn=nn[rt]=nn[rt]||{refCount:0};if(!fn.handler){const hn=Tn(Y);fn.handler=hn,Re.call(this,rt,hn,Dt)}fn.refCount++}catch(Vt){}return Re.call(this,rt,Mt,Dt)}}),J(Ce,"removeEventListener",function(Re){return function(rt,Mt,Dt){if(rt==="click"||rt=="keypress")try{const Vt=this,nn=Vt.__sentry_instrumentation_handlers__||{},fn=nn[rt];fn&&(fn.refCount--,fn.refCount<=0&&(Re.call(this,rt,fn.handler,Dt),fn.handler=void 0,delete nn[rt]),Object.keys(nn).length===0&&delete Vt.__sentry_instrumentation_handlers__)}catch(Vt){}return Re.call(this,rt,Mt,Dt)}}))})}let yr=null;function Wr(){yr=Rt.onerror,Rt.onerror=function(Y,z,ue,Ce,Re){return ir("error",{column:Ce,error:Re,line:ue,msg:Y,url:z}),yr&&!yr.__SENTRY_LOADER__?yr.apply(this,arguments):!1},Rt.onerror.__SENTRY_INSTRUMENTED__=!0}let ea=null;function dr(){ea=Rt.onunhandledrejection,Rt.onunhandledrejection=function(Y){return ir("unhandledrejection",Y),ea&&!ea.__SENTRY_LOADER__?ea.apply(this,arguments):!0},Rt.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function _r(){const Y=typeof WeakSet=="function",z=Y?new WeakSet:[];function ue(Re){if(Y)return z.has(Re)?!0:(z.add(Re),!1);for(let rt=0;rtue?Ia(Y,z-1,ue):Ce}function Ca(Y,z,ue=1/0,Ce=1/0,Re=_r()){const[rt,Mt]=Re;if(z==null||["number","boolean","string"].includes(typeof z)&&!nt(z))return z;const Dt=qr(Y,z);if(!Dt.startsWith("[object "))return Dt;if(z.__sentry_skip_normalization__)return z;const Vt=typeof z.__sentry_override_normalization_depth__=="number"?z.__sentry_override_normalization_depth__:ue;if(Vt===0)return Dt.replace("object ","");if(rt(z))return"[Circular ~]";const nn=z;if(nn&&typeof nn.toJSON=="function")try{const Yt=nn.toJSON();return Ca("",Yt,Vt-1,Ce,Re)}catch(Yt){}const fn=Array.isArray(z)?[]:{};let hn=0;const bn=Oe(z);for(const Yt in bn){if(!Object.prototype.hasOwnProperty.call(bn,Yt))continue;if(hn>=Ce){fn[Yt]="[MaxProperties ~]";break}const Ln=bn[Yt];fn[Yt]=Ca(Yt,Ln,Vt-1,Ce,Re),hn++}return Mt(z),fn}function qr(Y,z){try{if(Y==="domain"&&z&&typeof z=="object"&&z._events)return"[Domain]";if(Y==="domainEmitter")return"[DomainEmitter]";if(typeof e.g!="undefined"&&z===e.g)return"[Global]";if(typeof window!="undefined"&&z===window)return"[Window]";if(typeof document!="undefined"&&z===document)return"[Document]";if(Xe(z))return"[SyntheticEvent]";if(typeof z=="number"&&z!==z)return"[NaN]";if(typeof z=="function")return`[Function: ${wr(z)}]`;if(typeof z=="symbol")return`[${String(z)}]`;if(typeof z=="bigint")return`[BigInt: ${String(z)}]`;const ue=fo(z);return/^HTML(\w*)Element$/.test(ue)?`[HTMLElement: ${ue}]`:`[object ${ue}]`}catch(ue){return`**non-serializable** (${ue})`}}function fo(Y){const z=Object.getPrototypeOf(Y);return z?z.constructor.name:"null prototype"}function Co(Y){return~-encodeURI(Y).split(/%..|./).length}function _a(Y){return Co(JSON.stringify(Y))}function bo(Y,z){const ue=Ba(Y,z),Ce={type:z&&z.name,value:Jo(z)};return ue.length&&(Ce.stacktrace={frames:ue}),Ce.type===void 0&&Ce.value===""&&(Ce.value="Unrecoverable error caught"),Ce}function so(Y,z,ue,Ce){const rt=Nt().getClient(),Mt=rt&&rt.getOptions().normalizeDepth,Dt={exception:{values:[{type:Et(z)?z.constructor.name:Ce?"UnhandledRejection":"Error",value:Bo(z,{isUnhandledRejection:Ce})}]},extra:{__serialized__:Ia(z,Mt)}};if(ue){const Vt=Ba(Y,ue);Vt.length&&(Dt.exception.values[0].stacktrace={frames:Vt})}return Dt}function Sa(Y,z){return{exception:{values:[bo(Y,z)]}}}function Ba(Y,z){const ue=z.stacktrace||z.stack||"",Ce=Ko(z);try{return Y(ue,Ce)}catch(Re){}return[]}const Mo=/Minified React error #\d+;/i;function Ko(Y){if(Y){if(typeof Y.framesToPop=="number")return Y.framesToPop;if(Mo.test(Y.message))return 1}return 0}function Jo(Y){const z=Y&&Y.message;return z?z.error&&typeof z.error.message=="string"?z.error.message:z:"No error message"}function ao(Y,z,ue,Ce){const Re=ue&&ue.syntheticException||void 0,rt=ji(Y,z,Re,Ce);return addExceptionMechanism(rt),rt.level="error",ue&&ue.event_id&&(rt.event_id=ue.event_id),resolvedSyncPromise(rt)}function yi(Y,z,ue="info",Ce,Re){const rt=Ce&&Ce.syntheticException||void 0,Mt=_o(Y,z,rt,Re);return Mt.level=ue,Ce&&Ce.event_id&&(Mt.event_id=Ce.event_id),resolvedSyncPromise(Mt)}function ji(Y,z,ue,Ce,Re){let rt;if(be(z)&&z.error)return Sa(Y,z.error);if(Te(z)||Ge(z)){const Mt=z;if("stack"in z)rt=Sa(Y,z);else{const Dt=Mt.name||(Te(Mt)?"DOMError":"DOMException"),Vt=Mt.message?`${Dt}: ${Mt.message}`:Dt;rt=_o(Y,Vt,ue,Ce),K(rt,Vt)}return"code"in Mt&&(rt.tags=Vs(Wa({},rt.tags),{"DOMException.code":`${Mt.code}`})),rt}return pe(z)?Sa(Y,z):pt(z)||Et(z)?(rt=so(Y,z,ue,Re),k(rt,{synthetic:!0}),rt):(rt=_o(Y,z,ue,Ce),K(rt,`${z}`,void 0),k(rt,{synthetic:!0}),rt)}function _o(Y,z,ue,Ce){const Re={message:z};if(Ce&&ue){const rt=Ba(Y,ue);rt.length&&(Re.exception={values:[{value:z,stacktrace:{frames:rt}}]})}return Re}function Bo(Y,{isUnhandledRejection:z}){const ue=st(Y),Ce=z?"promise rejection":"exception";return be(Y)?`Event \`ErrorEvent\` captured as ${Ce} with message \`${Y.message}\``:Et(Y)?`Event \`${oi(Y)}\` (type=${Y.type}) captured as ${Ce}`:`Object captured as ${Ce} with keys: ${ue}`}function oi(Y){try{const z=Object.getPrototypeOf(Y);return z?z.constructor.name:void 0}catch(z){}}class ri{static __initStatic(){this.id="GlobalHandlers"}constructor(z){this.name=ri.id,this._options=Wa({onerror:!0,onunhandledrejection:!0},z),this._installFunc={onerror:Si,onunhandledrejection:Ni}}setupOnce(){Error.stackTraceLimit=50;const z=this._options;for(const ue in z){const Ce=this._installFunc[ue];Ce&&z[ue]&&(Qo(ue),Ce(),this._installFunc[ue]=void 0)}}}ri.__initStatic();function Si(){er("error",Y=>{const[z,ue,Ce]=xo();if(!z.getIntegration(ri))return;const{msg:Re,url:rt,line:Mt,column:Dt,error:Vt}=Y;if(ta()||Vt&&Vt.__sentry_own_request__)return;const nn=Vt===void 0&&Je(Re)?to(Re,rt,Mt,Dt):Ga(ji(ue,Vt||Re,void 0,Ce,!1),rt,Mt,Dt);nn.level="error",qo(z,Vt,nn,"onerror")})}function Ni(){er("unhandledrejection",Y=>{const[z,ue,Ce]=xo();if(!z.getIntegration(ri))return;let Re=Y;try{"reason"in Y?Re=Y.reason:"detail"in Y&&"reason"in Y.detail&&(Re=Y.detail.reason)}catch(Mt){}if(ta()||Re&&Re.__sentry_own_request__)return!0;const rt=Qe(Re)?Ei(Re):ji(ue,Re,void 0,Ce,!0);rt.level="error",qo(z,Re,rt,"onunhandledrejection")})}function Ei(Y){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(Y)}`}]}}}function to(Y,z,ue,Ce){const Re=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let rt=be(Y)?Y.message:Y,Mt="Error";const Dt=rt.match(Re);return Dt&&(Mt=Dt[1],rt=Dt[2]),Ga({exception:{values:[{type:Mt,value:rt}]}},z,ue,Ce)}function Ga(Y,z,ue,Ce){const Re=Y.exception=Y.exception||{},rt=Re.values=Re.values||[],Mt=rt[0]=rt[0]||{},Dt=Mt.stacktrace=Mt.stacktrace||{},Vt=Dt.frames=Dt.frames||[],nn=isNaN(parseInt(Ce,10))?void 0:Ce,fn=isNaN(parseInt(ue,10))?void 0:ue,hn=Je(z)&&z.length>0?z:me();return Vt.length===0&&Vt.push({colno:nn,filename:hn,function:"?",in_app:!0,lineno:fn}),Y}function Qo(Y){(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.log(`Global Handler attached: ${Y}`)}function qo(Y,z,ue,Ce){k(ue,{handled:!1,type:Ce}),Y.captureEvent(ue,{originalException:z})}function xo(){const Y=Nt(),z=Y.getClient(),ue=z&&z.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[Y,ue.stackParser,ue.attachStacktrace]}const Ro=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ci{static __initStatic(){this.id="TryCatch"}constructor(z){this.name=Ci.id,this._options=Wa({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},z)}setupOnce(){this._options.setTimeout&&J(Er,"setTimeout",Ri),this._options.setInterval&&J(Er,"setInterval",Ri),this._options.requestAnimationFrame&&J(Er,"requestAnimationFrame",Ui),this._options.XMLHttpRequest&&"XMLHttpRequest"in Er&&J(XMLHttpRequest.prototype,"send",Os);const z=this._options.eventTarget;z&&(Array.isArray(z)?z:Ro).forEach(fs)}}Ci.__initStatic();function Ri(Y){return function(...z){const ue=z[0];return z[0]=pr(ue,{mechanism:{data:{function:wr(Y)},handled:!0,type:"instrument"}}),Y.apply(this,z)}}function Ui(Y){return function(z){return Y.apply(this,[pr(z,{mechanism:{data:{function:"requestAnimationFrame",handler:wr(Y)},handled:!0,type:"instrument"}})])}}function Os(Y){return function(...z){const ue=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(Re=>{Re in ue&&typeof ue[Re]=="function"&&J(ue,Re,function(rt){const Mt={mechanism:{data:{function:Re,handler:wr(rt)},handled:!0,type:"instrument"}},Dt=ce(rt);return Dt&&(Mt.mechanism.data.handler=wr(Dt)),pr(rt,Mt)})}),Y.apply(this,z)}}function fs(Y){const z=Er,ue=z[Y]&&z[Y].prototype;!ue||!ue.hasOwnProperty||!ue.hasOwnProperty("addEventListener")||(J(ue,"addEventListener",function(Ce){return function(Re,rt,Mt){try{typeof rt.handleEvent=="function"&&(rt.handleEvent=pr(rt.handleEvent,{mechanism:{data:{function:"handleEvent",handler:wr(rt),target:Y},handled:!0,type:"instrument"}}))}catch(Dt){}return Ce.apply(this,[Re,pr(rt,{mechanism:{data:{function:"addEventListener",handler:wr(rt),target:Y},handled:!0,type:"instrument"}}),Mt])}}),J(ue,"removeEventListener",function(Ce){return function(Re,rt,Mt){const Dt=rt;try{const Vt=Dt&&Dt.__sentry_wrapped__;Vt&&Ce.call(this,Re,Vt,Mt)}catch(Vt){}return Ce.call(this,Re,Dt,Mt)}}))}const Gs=["fatal","error","warning","log","info","debug"];function xl(Y){return Kn(Y)}function Kn(Y){return Y==="warn"?"warning":Gs.includes(Y)?Y:"log"}function Gr(Y){if(!Y)return{};const z=Y.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!z)return{};const ue=z[6]||"",Ce=z[8]||"";return{host:z[4],path:z[5],protocol:z[2],search:ue,hash:Ce,relative:z[5]+ue+Ce}}function jr(Y){return Y.split(/[\?#]/,1)[0]}function Br(Y){return Y.split(/\\?\//).filter(z=>z.length>0&&z!==",").length}function ra(Y){const{protocol:z,host:ue,path:Ce}=Y,Re=ue&&ue.replace(/^.*@/,"[filtered]:[filtered]@").replace(":80","").replace(":443","")||"";return`${z?`${z}://`:""}${Re}${Ce}`}const ja=1024,Ra="Breadcrumbs";class Pa{static __initStatic(){this.id=Ra}constructor(z){this.name=Pa.id,this.options=Wa({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},z)}setupOnce(){this.options.console&&er("console",Yo),this.options.dom&&er("dom",To(this.options.dom)),this.options.xhr&&er("xhr",Zo),this.options.fetch&&er("fetch",zi),this.options.history&&er("history",bs)}addSentryBreadcrumb(z){this.options.sentry&&Nt().addBreadcrumb({category:`sentry.${z.type==="transaction"?"transaction":"event"}`,event_id:z.event_id,level:z.level,message:j(z)},{event:z})}}Pa.__initStatic();function To(Y){function z(ue){let Ce,Re=typeof Y=="object"?Y.serializeAttribute:void 0,rt=typeof Y=="object"&&typeof Y.maxStringLength=="number"?Y.maxStringLength:void 0;rt&&rt>ja&&((typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn(`\`dom.maxStringLength\` cannot exceed ${ja}, but a value of ${rt} was configured. Sentry will use ${ja} instead.`),rt=ja),typeof Re=="string"&&(Re=[Re]);try{const Mt=ue.event;Ce=Gi(Mt)?Q(Mt.target,{keyAttrs:Re,maxStringLength:rt}):Q(Mt,{keyAttrs:Re,maxStringLength:rt})}catch(Mt){Ce=""}Ce.length!==0&&Nt().addBreadcrumb({category:`ui.${ue.name}`,message:Ce},{event:ue.event,name:ue.name,global:ue.global})}return z}function Yo(Y){for(let ue=0;ue0?rt.exception.values[rt.exception.values.length-1]:void 0;Dt&&(rt.exception.values=Il(Xi(Y,z,Re,Mt.originalException,Ce,rt.exception.values,Dt,0),ue))}function Xi(Y,z,ue,Ce,Re,rt,Mt,Dt){if(rt.length>=ue+1)return rt;let Vt=[...rt];if(Ke(Ce[Re],Error)){Vo(Mt,Dt);const nn=Y(z,Ce[Re]),fn=Vt.length;tu(nn,Re,fn,Dt),Vt=Xi(Y,z,ue,Ce[Re],Re,[nn,...Vt],nn,fn)}return Array.isArray(Ce.errors)&&Ce.errors.forEach((nn,fn)=>{if(Ke(nn,Error)){Vo(Mt,Dt);const hn=Y(z,nn),bn=Vt.length;tu(hn,`errors[${fn}]`,bn,Dt),Vt=Xi(Y,z,ue,nn,Re,[hn,...Vt],hn,bn)}}),Vt}function Vo(Y,z){Y.mechanism=Y.mechanism||{type:"generic",handled:!0},Y.mechanism=Vs(Wa({},Y.mechanism),{is_exception_group:!0,exception_id:z})}function tu(Y,z,ue,Ce){Y.mechanism=Y.mechanism||{type:"generic",handled:!0},Y.mechanism=Vs(Wa({},Y.mechanism),{type:"chained",source:z,exception_id:ue,parent_id:Ce})}function Il(Y,z){return Y.map(ue=>(ue.value&&(ue.value=Ee(ue.value,z)),ue))}const ul="cause",Iu=5;class cl{static __initStatic(){this.id="LinkedErrors"}constructor(z={}){this.name=cl.id,this._key=z.key||ul,this._limit=z.limit||Iu}setupOnce(z,ue){z((Ce,Re)=>{const rt=ue(),Mt=rt.getClient(),Dt=rt.getIntegration(cl);if(!Mt||!Dt)return Ce;const Vt=Mt.getOptions();return Ds(bo,Vt.stackParser,Vt.maxValueLength,Dt._key,Dt._limit,Ce,Re),Ce})}}cl.__initStatic();class Ks{static __initStatic(){this.id="HttpContext"}constructor(){this.name=Ks.id}setupOnce(){_t(z=>{if(Nt().getIntegration(Ks)){if(!Er.navigator&&!Er.location&&!Er.document)return z;const ue=z.request&&z.request.url||Er.location&&Er.location.href,{referrer:Ce}=Er.document||{},{userAgent:Re}=Er.navigator||{},rt=Wa(Wa(Wa({},z.request&&z.request.headers),Ce&&{Referer:Ce}),Re&&{"User-Agent":Re}),Mt=Vs(Wa(Wa({},z.request),ue&&{url:ue}),{headers:rt});return Vs(Wa({},z),{request:Mt})}return z})}}Ks.__initStatic();class ws{static __initStatic(){this.id="Dedupe"}constructor(){this.name=ws.id}setupOnce(z,ue){const Ce=Re=>{if(Re.type)return Re;const rt=ue().getIntegration(ws);if(rt){try{if(Qs(Re,rt._previousEvent))return(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(Mt){return rt._previousEvent=Re}return rt._previousEvent=Re}return Re};Ce.id=this.name,z(Ce)}}ws.__initStatic();function Qs(Y,z){return z?!!(zl(Y,z)||fu(Y,z)):!1}function zl(Y,z){const ue=Y.message,Ce=z.message;return!(!ue&&!Ce||ue&&!Ce||!ue&&Ce||ue!==Ce||!Ms(Y,z)||!rs(Y,z))}function fu(Y,z){const ue=Bs(z),Ce=Bs(Y);return!(!ue||!Ce||ue.type!==Ce.type||ue.value!==Ce.value||!Ms(Y,z)||!rs(Y,z))}function rs(Y,z){let ue=js(Y),Ce=js(z);if(!ue&&!Ce)return!0;if(ue&&!Ce||!ue&&Ce||(ue=ue,Ce=Ce,Ce.length!==ue.length))return!1;for(let Re=0;Re{z===void 0||z===ue||zo(getCurrentHub())}))}function sa(Y){const z=getCurrentHub().getClient();z&&z.captureUserFeedback(Y)}var fl=e(10063);const ru="/home/runner/work/sentry-javascript/sentry-javascript/packages/react/src/errorboundary.tsx";function Xs(Y){const z=Y.match(/^([^.]+)/);return z!==null&&parseInt(z[0])>=17}const Fl="unknown",Gl={componentStack:null,error:null,eventId:null};function Io(Y,z){const ue=new WeakMap;function Ce(Re,rt){if(!ue.has(Re)){if(Re.cause)return ue.set(Re,!0),Ce(Re.cause,rt);Re.cause=rt}}Ce(Y,z)}class bi extends C.Component{constructor(z){super(z),bi.prototype.__init.call(this),this.state=Gl,this._openFallbackReportDialog=!0;const ue=Nt().getClient();ue&&ue.on&&z.showDialog&&(this._openFallbackReportDialog=!1,ue.on("afterSendEvent",Ce=>{!Ce.type&&Ce.event_id===this._lastEventId&&Ps(Vs(Wa({},z.dialogOptions),{eventId:this._lastEventId}))}))}componentDidCatch(z,{componentStack:ue}){const{beforeCapture:Ce,onError:Re,showDialog:rt,dialogOptions:Mt}=this.props;ia(Dt=>{if(Xs(C.version)&&pe(z)){const nn=new Error(z.message);nn.name=`React ErrorBoundary ${nn.name}`,nn.stack=ue,Io(z,nn)}Ce&&Ce(Dt,z,ue);const Vt=Ct(z,{contexts:{react:{componentStack:ue}}});Re&&Re(z,ue,Vt),rt&&(this._lastEventId=Vt,this._openFallbackReportDialog&&Ps(Vs(Wa({},Mt),{eventId:Vt}))),this.setState({error:z,componentStack:ue,eventId:Vt})})}componentDidMount(){const{onMount:z}=this.props;z&&z()}componentWillUnmount(){const{error:z,componentStack:ue,eventId:Ce}=this.state,{onUnmount:Re}=this.props;Re&&Re(z,ue,Ce)}__init(){this.resetErrorBoundary=()=>{const{onReset:z}=this.props,{error:ue,componentStack:Ce,eventId:Re}=this.state;z&&z(ue,Ce,Re),this.setState(Gl)}}render(){const{fallback:z,children:ue}=this.props,Ce=this.state;if(Ce.error){let Re;return typeof z=="function"?Re=z({error:Ce.error,componentStack:Ce.componentStack,resetError:this.resetErrorBoundary,eventId:Ce.eventId}):Re=z,C.isValidElement(Re)?Re:(z&&(typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__)&&A.warn("fallback did not produce a valid ReactElement"),null)}return typeof ue=="function"?ue():ue}}function fc(Y,z){const ue=Y.displayName||Y.name||Fl,Ce=Re=>React.createElement(bi,Vs(Wa({},z),{__self:this,__source:{fileName:ru,lineNumber:227}}),React.createElement(Y,Vs(Wa({},Re),{__self:this,__source:{fileName:ru,lineNumber:228}})));return Ce.displayName=`errorBoundary(${ue})`,hoistNonReactStatics(Ce,Y),Ce}var ec=e(51830),no=e(76180),Ji=e(53357),Zs={200:"requestConfig.success.msg",401:"requestConfig.unAuth.msg",403:"requestConfig.permissionDenied.msg",429:"errCode.TokenExceedsRateLimit",500:"requestConfig.responseStatus.msg"},Na={101:"requestConfig.errorContent.msg",200001:"errCode.PartialSuccessBatchAssignLeaders",200002:"errCode.PartialSuccessBatchAssignWorkers",4e5:"errCode.BadRequest",400001:"errCode.ParameterMissing",400002:"errCode.ParameterIsInvalid",400050:"errCode.AnnotationNotListOfObj",400051:"errCode.AnnotationMissingCatName",400052:"errCode.AnnotationMissingBBox",400053:"errCode.AnnotationBBoxFormatError",400054:"errCode.AnnotationFormatError",400100:"errCode.FlagGroupsNotListOfObj",400101:"errCode.FlagObjectMissingFlag",400102:"errCode.FlagObjectFlagValueInvalid",400103:"errCode.FlagObjectMissingIDs",400104:"errCode.FlagObjectIDsNotList",400150:"errCode.LabelSetNameInvalid",400151:"errCode.LabelSetNameConflicts",400200:"errCode.UserNotFoundForLabelProject",400201:"errCode.UserNotActiveForLabelProject",400202:"errCode.DatasetNotFoundForLabelProject",400203:"errCode.LabelTaskNotFoundForLabelProject",400204:"errCode.CreateLabelProjectRequireManager",400205:"errCode.CreateLabelProjectRequireDataset",400206:"errCode.CreateLabelProjectRequireCategory",400207:"errCode.CreateLabelProjectDatasetOccupied",400208:"errCode.EditLabelProjectRequireManager",400209:"errCode.InitLabelProjectMustBeWaiting",400210:"errCode.InitLabelProjectTaskConfigError",400211:"errCode.QALabelProjectActionError",400212:"errCode.QALabelProjectMustBeReviewing",400213:"errCode.ExportLabelProjectMustBeAccepted",400214:"errCode.LeaderIDIsRequired",400215:"errCode.LabelerIDIsRequired",400216:"errCode.LabelProjectRoleIsNotTaskLevel",400217:"errCode.CantReplaceRoleWithTheSameUser",400218:"errCode.OldUserDoesNotHaveTheTaskRole",400219:"errCode.NewUserAlreadyHaveTheTaskRole",400220:"errCode.CantTransferRoleBetweenDifferentTask",400221:"errCode.CantTransferRoleToDifferentKind",400222:"errCode.RestartLabelTaskMustBeRejected",400223:"errCode.QALabelTaskActionError",400224:"errCode.AcceptLabelTaskMustBeReviewing",400225:"errCode.RejectLabelTaskMustBeReviewing",400226:"errCode.ForceAcceptLabelTaskMustBeRejected",400227:"errCode.LabelAnnotationMissingFields",400228:"errCode.LabelAnnotationFieldValueInvalid",400229:"errCode.LabelImageRequireTaskStatusWorking",400230:"errCode.LabelImageRequireUnfinishedReviewing",400231:"errCode.ReviewImageRequireTaskStatusWorking",400232:"errCode.ReviewImageRequireFinishedLabeling",400233:"errCode.ReviewImageTargetLabelNotFound",400234:"errCode.ReviewImageFoundExistedReview",400235:"errCode.CantDeleteAllOwnersOfLabelProject",400236:"errCode.NumOfTaskLeaderMismatchesConfig",400237:"errCode.TaskDoesNotRequireReviewer",400238:"errCode.NumOfTaskLabelerMismatchesConfig",400239:"errCode.NumOfTaskReviewerMismatchesConfig",400240:"errCode.TryInitRoleForTaskWithActiveRoles",400241:"errCode.TaskRoleNotOfLeaderKind",401e3:"errCode.Unauthorized",401001:"requestConfig.unAuth.msg",403e3:"errCode.Forbidden",403001:"requestConfig.permissionDenied.msg",403050:"errCode.UserAuthenticationFailed",403051:"errCode.UserCantViewLabelProjectTask",403052:"errCode.UserCantViewLabelProjectRole",403053:"errCode.UserCantCreateLabelProject",403054:"errCode.UserCantViewLabelProject",403055:"errCode.UserCantEditLabelProject",403056:"errCode.UserCantInitLabelProject",403057:"errCode.UserCantQALabelProject",403058:"errCode.UserCantExportLabelProject",403059:"errCode.UserCantAssignLabelTaskLeader",403060:"errCode.UserCantAssignLabelTaskWorker",403061:"errCode.UserCantRestartLabelTask",403062:"errCode.UserCantQALabelTask",403063:"errCode.UserCantLabelTaskImage",403064:"errCode.UserCantReviewTaskImage",404e3:"errCode.NotFound",404050:"errCode.DatasetNotFound",404051:"errCode.DatasetNotReadable",404052:"errCode.DatasetMissingEmbdFile",404053:"errCode.DatasetImageNotFound",404054:"errCode.DatasetHasNoFNFPData",404055:"errCode.DatasetLabelNotFound",404056:"errCode.DatasetFNFPPrecisionNotFound",404100:"errCode.ReRankByFlagTaskNotFound",404150:"errCode.LabelProjectNotFound",404151:"errCode.LabelProjectRoleNotFound",404152:"errCode.LabelProjectTaskNotFound",404153:"errCode.LabelTaskImageNotFound",429002:"errCode.TokenExceedsRateLimit",5e5:"errCode.InternalError",500001:"errCode.FailedToCloneLabelSet"},au=function(z,ue){return z&&Na[z]?(0,Ji._w)(Na[z]):ue&&Zs[ue]?(0,Ji._w)(Zs[ue]):(0,Ji._w)("requestConfig.errorData.msg",{code:"".concat(ue).concat(z?"-".concat(z):"")})},_i=e(35667);function Al(){return vl.apply(this,arguments)}function vl(){return vl=w()(g()().mark(function Y(){return g()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return document.addEventListener("wheel",function(Ce){(Ce.ctrlKey||Ce.detail)&&Ce.preventDefault()},{capture:!1,passive:!1}),document.addEventListener("keydown",function(Ce){(Ce.ctrlKey===!0||Ce.metaKey===!0)&&(Ce.keyCode===61||Ce.keyCode===107||Ce.keyCode===173||Ce.keyCode===109||Ce.keyCode===187||Ce.keyCode===189)&&Ce.preventDefault()},!1),N.ZP.config({duration:1.5,maxCount:2}),ue.abrupt("return",{name:"@umijs/max"});case 4:case"end":return ue.stop()}},Y)})),vl.apply(this,arguments)}var vu=function(){return{pure:!0,title:(0,Ji._w)("layout.title")}};function Bl(Y){var z={showDialog:!0,fallback:function(Ce){return(0,_i.jsx)(ec.xA,h()({},Ce))}};return C.createElement(bi,z,Y)}var tc={baseURL:"http://192.168.190.201:8765",timeout:1e5,headers:{"Content-Type":"application/json"},errorConfig:{errorHandler:function(z,ue){var Ce;if(!/^2/.test(z.status)&&!(ue!=null&&ue.skipErrorHandler)&&(((Ce=z.response)===null||Ce===void 0?void 0:Ce.status)===401&&(L.history.push("/"),localStorage.removeItem(no.Uf.AUTH_TOKEN)),!(ue!=null&&ue.hideCodeErrorMsg)))if(z.response){var Re;N.ZP.error(au((Re=z.response.data)===null||Re===void 0?void 0:Re.code,z.response.status))}else z.request?N.ZP.error((0,Ji._w)("requestConfig.noResponse.msg")):N.ZP.error((0,Ji._w)("requestConfig.requestError.msg"))}},requestInterceptors:[function(Y){if(Y.params&&(Y.params=Z().decamelizeKeys(Y.params)),Y.data&&(Y.data=Z().decamelizeKeys(Y.data)),Y.headers){var z,ue;if((z=Y.url)!==null&&z!==void 0&&z.includes("https://api.deepdataspace.com"))Y.headers.Token="dds-tool-free";else if(((ue=Y.url)===null||ue===void 0?void 0:ue.indexOf("http"))!==0){var Ce=localStorage.getItem(no.Uf.AUTH_TOKEN);Ce&&(Y.headers.Token=Ce)}}return h()({},Y)}],responseInterceptors:[function(Y){var z;if(((z=Y.data)===null||z===void 0?void 0:z.code)===0){var ue;return Y.data=Z().camelizeKeys(((ue=Y.data)===null||ue===void 0?void 0:ue.data)||{}),Y}else{var Ce;if(!((Ce=Y.config)!==null&&Ce!==void 0&&Ce.hideCodeErrorMsg)){var Re;N.ZP.error(au((Re=Y.data)===null||Re===void 0?void 0:Re.code,200))}throw Y}}]},Zu=e(7862),Lo=e.n(Zu),Au=e(81690),Kl=e.n(Au),vs=e(21700),Ol=e.n(vs),gl=e(31236),kt=e.n(gl);function Di(){return Di=Object.assign||function(Y){for(var z=1;z=0||(Re[ue]=Y[ue]);return Re}var uo={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},Uu={rel:["amphtml","canonical","alternate"]},gu={type:["application/ld+json"]},ss={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},Dl=Object.keys(uo).map(function(Y){return uo[Y]}),Mi={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},xi=Object.keys(Mi).reduce(function(Y,z){return Y[Mi[z]]=z,Y},{}),qi=function(Y,z){for(var ue=Y.length-1;ue>=0;ue-=1){var Ce=Y[ue];if(Object.prototype.hasOwnProperty.call(Ce,z))return Ce[z]}return null},as=function(Y){var z=qi(Y,uo.TITLE),ue=qi(Y,"titleTemplate");if(Array.isArray(z)&&(z=z.join("")),ue&&z)return ue.replace(/%s/g,function(){return z});var Ce=qi(Y,"defaultTitle");return z||Ce||void 0},vo=function(Y){return qi(Y,"onChangeClientState")||function(){}},Js=function(Y,z){return z.filter(function(ue){return ue[Y]!==void 0}).map(function(ue){return ue[Y]}).reduce(function(ue,Ce){return Di({},ue,Ce)},{})},ou=function(Y,z){return z.filter(function(ue){return ue[uo.BASE]!==void 0}).map(function(ue){return ue[uo.BASE]}).reverse().reduce(function(ue,Ce){if(!ue.length)for(var Re=Object.keys(Ce),rt=0;rt/g,">").replace(/"/g,""").replace(/'/g,"'")},gs=function(Y){return Object.keys(Y).reduce(function(z,ue){var Ce=Y[ue]!==void 0?ue+'="'+Y[ue]+'"':""+ue;return z?z+" "+Ce:Ce},"")},Ou=function(Y,z){return z===void 0&&(z={}),Object.keys(Y).reduce(function(ue,Ce){return ue[Mi[Ce]||Ce]=Y[Ce],ue},z)},ks=function(Y,z){return z.map(function(ue,Ce){var Re,rt=((Re={key:Ce})["data-rh"]=!0,Re);return Object.keys(ue).forEach(function(Mt){var Dt=Mi[Mt]||Mt;Dt==="innerHTML"||Dt==="cssText"?rt.dangerouslySetInnerHTML={__html:ue.innerHTML||ue.cssText}:rt[Dt]=ue[Mt]}),C.createElement(Y,rt)})},va=function(Y,z,ue){switch(Y){case uo.TITLE:return{toComponent:function(){return Re=z.titleAttributes,(rt={key:Ce=z.title})["data-rh"]=!0,Mt=Ou(Re,rt),[C.createElement(uo.TITLE,Mt,Ce)];var Ce,Re,rt,Mt},toString:function(){return function(Ce,Re,rt,Mt){var Dt=gs(rt),Vt=mu(Re);return Dt?"<"+Ce+' data-rh="true" '+Dt+">"+Ss(Vt,Mt)+"":"<"+Ce+' data-rh="true">'+Ss(Vt,Mt)+""}(Y,z.title,z.titleAttributes,ue)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Ou(z)},toString:function(){return gs(z)}};default:return{toComponent:function(){return ks(Y,z)},toString:function(){return function(Ce,Re,rt){return Re.reduce(function(Mt,Dt){var Vt=Object.keys(Dt).filter(function(hn){return!(hn==="innerHTML"||hn==="cssText")}).reduce(function(hn,bn){var Yt=Dt[bn]===void 0?bn:bn+'="'+Ss(Dt[bn],rt)+'"';return hn?hn+" "+Yt:Yt},""),nn=Dt.innerHTML||Dt.cssText||"",fn=jl.indexOf(Ce)===-1;return Mt+"<"+Ce+' data-rh="true" '+Vt+(fn?"/>":">"+nn+"")},"")}(Y,z,ue)}}}},at=function(Y){var z=Y.baseTag,ue=Y.bodyAttributes,Ce=Y.encode,Re=Y.htmlAttributes,rt=Y.noscriptTags,Mt=Y.styleTags,Dt=Y.title,Vt=Dt===void 0?"":Dt,nn=Y.titleAttributes,fn=Y.linkTags,hn=Y.metaTags,bn=Y.scriptTags,Yt={toComponent:function(){},toString:function(){return""}};if(Y.prioritizeSeoTags){var Ln=function(qn){var cr=qn.linkTags,Dr=qn.scriptTags,Rr=qn.encode,Aa=Us(qn.metaTags,ss),xa=Us(cr,Uu),pa=Us(Dr,gu);return{priorityMethods:{toComponent:function(){return[].concat(ks(uo.META,Aa.priority),ks(uo.LINK,xa.priority),ks(uo.SCRIPT,pa.priority))},toString:function(){return va(uo.META,Aa.priority,Rr)+" "+va(uo.LINK,xa.priority,Rr)+" "+va(uo.SCRIPT,pa.priority,Rr)}},metaTags:Aa.default,linkTags:xa.default,scriptTags:pa.default}}(Y);Yt=Ln.priorityMethods,fn=Ln.linkTags,hn=Ln.metaTags,bn=Ln.scriptTags}return{priority:Yt,base:va(uo.BASE,z,Ce),bodyAttributes:va("bodyAttributes",ue,Ce),htmlAttributes:va("htmlAttributes",Re,Ce),link:va(uo.LINK,fn,Ce),meta:va(uo.META,hn,Ce),noscript:va(uo.NOSCRIPT,rt,Ce),script:va(uo.SCRIPT,bn,Ce),style:va(uo.STYLE,Mt,Ce),title:va(uo.TITLE,{title:Vt,titleAttributes:nn},Ce)}},Kt=[],Vn=function(Y,z){var ue=this;z===void 0&&(z=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Ce){ue.context.helmet=Ce},helmetInstances:{get:function(){return ue.canUseDOM?Kt:ue.instances},add:function(Ce){(ue.canUseDOM?Kt:ue.instances).push(Ce)},remove:function(Ce){var Re=(ue.canUseDOM?Kt:ue.instances).indexOf(Ce);(ue.canUseDOM?Kt:ue.instances).splice(Re,1)}}},this.context=Y,this.canUseDOM=z,z||(Y.helmet=at({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},gr=C.createContext({}),Da=Lo().shape({setHelmet:Lo().func,helmetInstances:Lo().shape({get:Lo().func,add:Lo().func,remove:Lo().func})}),lo=typeof document!="undefined",ii=function(Y){function z(ue){var Ce;return(Ce=Y.call(this,ue)||this).helmetData=new Vn(Ce.props.context,z.canUseDOM),Ce}return Ql(z,Y),z.prototype.render=function(){return C.createElement(gr.Provider,{value:this.helmetData.value},this.props.children)},z}(C.Component);ii.canUseDOM=lo,ii.propTypes={context:Lo().shape({helmet:Lo().shape()}),children:Lo().node.isRequired},ii.defaultProps={context:{}},ii.displayName="HelmetProvider";var Fo=function(Y,z){var ue,Ce=document.head||document.querySelector(uo.HEAD),Re=Ce.querySelectorAll(Y+"[data-rh]"),rt=[].slice.call(Re),Mt=[];return z&&z.length&&z.forEach(function(Dt){var Vt=document.createElement(Y);for(var nn in Dt)Object.prototype.hasOwnProperty.call(Dt,nn)&&(nn==="innerHTML"?Vt.innerHTML=Dt.innerHTML:nn==="cssText"?Vt.styleSheet?Vt.styleSheet.cssText=Dt.cssText:Vt.appendChild(document.createTextNode(Dt.cssText)):Vt.setAttribute(nn,Dt[nn]===void 0?"":Dt[nn]));Vt.setAttribute("data-rh","true"),rt.some(function(fn,hn){return ue=hn,Vt.isEqualNode(fn)})?rt.splice(ue,1):Mt.push(Vt)}),rt.forEach(function(Dt){return Dt.parentNode.removeChild(Dt)}),Mt.forEach(function(Dt){return Ce.appendChild(Dt)}),{oldTags:rt,newTags:Mt}},es=function(Y,z){var ue=document.getElementsByTagName(Y)[0];if(ue){for(var Ce=ue.getAttribute("data-rh"),Re=Ce?Ce.split(","):[],rt=[].concat(Re),Mt=Object.keys(z),Dt=0;Dt=0;hn-=1)ue.removeAttribute(rt[hn]);Re.length===rt.length?ue.removeAttribute("data-rh"):ue.getAttribute("data-rh")!==Mt.join(",")&&ue.setAttribute("data-rh",Mt.join(","))}},ei=function(Y,z){var ue=Y.baseTag,Ce=Y.htmlAttributes,Re=Y.linkTags,rt=Y.metaTags,Mt=Y.noscriptTags,Dt=Y.onChangeClientState,Vt=Y.scriptTags,nn=Y.styleTags,fn=Y.title,hn=Y.titleAttributes;es(uo.BODY,Y.bodyAttributes),es(uo.HTML,Ce),function(qn,cr){qn!==void 0&&document.title!==qn&&(document.title=mu(qn)),es(uo.TITLE,cr)}(fn,hn);var bn={baseTag:Fo(uo.BASE,ue),linkTags:Fo(uo.LINK,Re),metaTags:Fo(uo.META,rt),noscriptTags:Fo(uo.NOSCRIPT,Mt),scriptTags:Fo(uo.SCRIPT,Vt),styleTags:Fo(uo.STYLE,nn)},Yt={},Ln={};Object.keys(bn).forEach(function(qn){var cr=bn[qn],Dr=cr.newTags,Rr=cr.oldTags;Dr.length&&(Yt[qn]=Dr),Rr.length&&(Ln[qn]=bn[qn].oldTags)}),z&&z(),Dt(Y,Yt,Ln)},di=null,Eo=function(Y){function z(){for(var Ce,Re=arguments.length,rt=new Array(Re),Mt=0;Mt elements are self-closing and can not contain children. Refer to our API for more information.")}},ue.flattenArrayTypeChildren=function(Ce){var Re,rt=Ce.child,Mt=Ce.arrayTypeChildren;return Di({},Mt,((Re={})[rt.type]=[].concat(Mt[rt.type]||[],[Di({},Ce.newChildProps,this.mapNestedChildrenToProps(rt,Ce.nestedChildren))]),Re))},ue.mapObjectTypeChildren=function(Ce){var Re,rt,Mt=Ce.child,Dt=Ce.newProps,Vt=Ce.newChildProps,nn=Ce.nestedChildren;switch(Mt.type){case uo.TITLE:return Di({},Dt,((Re={})[Mt.type]=nn,Re.titleAttributes=Di({},Vt),Re));case uo.BODY:return Di({},Dt,{bodyAttributes:Di({},Vt)});case uo.HTML:return Di({},Dt,{htmlAttributes:Di({},Vt)});default:return Di({},Dt,((rt={})[Mt.type]=Di({},Vt),rt))}},ue.mapArrayTypeChildrenToProps=function(Ce,Re){var rt=Di({},Re);return Object.keys(Ce).forEach(function(Mt){var Dt;rt=Di({},rt,((Dt={})[Mt]=Ce[Mt],Dt))}),rt},ue.warnOnInvalidChildren=function(Ce,Re){return Ol()(Dl.some(function(rt){return Ce.type===rt}),typeof Ce.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+Dl.join(", ")+" are allowed. Helmet does not support rendering <"+Ce.type+"> elements. Refer to our API for more information."),Ol()(!Re||typeof Re=="string"||Array.isArray(Re)&&!Re.some(function(rt){return typeof rt!="string"}),"Helmet expects a string as a child of <"+Ce.type+">. Did you forget to wrap your children in braces? ( <"+Ce.type+">{``} ) Refer to our API for more information."),!0},ue.mapChildrenToProps=function(Ce,Re){var rt=this,Mt={};return C.Children.forEach(Ce,function(Dt){if(Dt&&Dt.props){var Vt=Dt.props,nn=Vt.children,fn=$o(Vt,Ao),hn=Object.keys(fn).reduce(function(Yt,Ln){return Yt[xi[Ln]||Ln]=fn[Ln],Yt},{}),bn=Dt.type;switch(typeof bn=="symbol"?bn=bn.toString():rt.warnOnInvalidChildren(Dt,nn),bn){case uo.FRAGMENT:Re=rt.mapChildrenToProps(nn,Re);break;case uo.LINK:case uo.META:case uo.NOSCRIPT:case uo.SCRIPT:case uo.STYLE:Mt=rt.flattenArrayTypeChildren({child:Dt,arrayTypeChildren:Mt,newChildProps:hn,nestedChildren:nn});break;default:Re=rt.mapObjectTypeChildren({child:Dt,newProps:Re,newChildProps:hn,nestedChildren:nn})}}}),this.mapArrayTypeChildrenToProps(Mt,Re)},ue.render=function(){var Ce=this.props,Re=Ce.children,rt=$o(Ce,ki),Mt=Di({},rt),Dt=rt.helmetData;return Re&&(Mt=this.mapChildrenToProps(Re,Mt)),!Dt||Dt instanceof Vn||(Dt=new Vn(Dt.context,Dt.instances)),Dt?C.createElement(Eo,Di({},Mt,{context:Dt.value,helmetData:void 0})):C.createElement(gr.Consumer,null,function(Vt){return C.createElement(Eo,Di({},Mt,{context:Vt}))})},z}(C.Component);ms.propTypes={base:Lo().object,bodyAttributes:Lo().object,children:Lo().oneOfType([Lo().arrayOf(Lo().node),Lo().node]),defaultTitle:Lo().string,defer:Lo().bool,encodeSpecialCharacters:Lo().bool,htmlAttributes:Lo().object,link:Lo().arrayOf(Lo().object),meta:Lo().arrayOf(Lo().object),noscript:Lo().arrayOf(Lo().object),onChangeClientState:Lo().func,script:Lo().arrayOf(Lo().object),style:Lo().arrayOf(Lo().object),title:Lo().string,titleAttributes:Lo().object,titleTemplate:Lo().string,prioritizeSeoTags:Lo().bool,helmetData:Lo().object},ms.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ms.displayName="Helmet";var Du={},Xl=function(z){return C.createElement(ii,{context:Du},z)},ls=e(96662);function wu(Y){var z={};return(0,_i.jsx)(ls.J.Provider,{value:z,children:Y.children})}function Jl(Y){return(0,_i.jsx)(wu,{children:Y})}var us=e(62376),Oc=e.n(us),nc=e(62109),ml=e(65388),Pl=e(42505),$l=["appConfig"],ku=null,Dc=function(){return ku||(ku=Ar().applyPlugins({key:"antd",type:L.ApplyPluginsType.modify,initialValue:h()({},{theme:{token:{colorLink:"#1e53f5",colorPrimary:"#1e53f5"}}})})),ku};function pu(Y){var z=Dc(),ue=z.appConfig,Ce=Oc()(z,$l),Re=Y;return Ce.prefixCls&&(nc.Z.config({rootPrefixCls:Ce.prefixCls}),N.ZP.config({prefixCls:"".concat(Ce.prefixCls,"-message")}),ml.Z.config({prefixCls:"".concat(Ce.prefixCls,"-notification")})),Ce.iconPrefixCls&&Pl.ZP.config({iconPrefixCls:Ce.iconPrefixCls}),Ce.theme&&Pl.ZP.config({theme:Ce.theme}),Re=(0,_i.jsx)(Pl.ZP,h()(h()({},Ce),{},{children:Re})),Re}var hu=e(47338);function yu(){return(0,_i.jsx)("div",{})}function os(Y){var z=C.useRef(!1),ue=(0,hu.t)("@@initialState")||{},Ce=ue.loading,Re=Ce===void 0?!1:Ce;return C.useEffect(function(){Re||(z.current=!0)},[Re]),Re&&!z.current?(0,_i.jsx)(yu,{}):Y.children}function ju(Y){return(0,_i.jsx)(os,{children:Y})}var ps={};function Ki(Y){return Y.replace(Y[0],Y[0].toUpperCase()).replace(/-(w)/g,function(z,ue){return ue.toUpperCase()})}function Ts(Y){var z=Y.routes;Object.keys(z).forEach(function(ue){var Ce=z[ue].icon;if(Ce&&typeof Ce=="string"){var Re=Ki(Ce);(ps[Re]||ps[Re+"Outlined"])&&(z[ue].icon=C.createElement(ps[Re]||ps[Re+"Outlined"]))}})}var qs=e(88205),Uo=e.n(qs),su=e(6901),cs=e.n(su),rc=e(85417),el=e(16221);function pl(){var Y=getLocale();if(moment!=null&&moment.locale){var z;moment.locale(((z=localeInfo[Y])===null||z===void 0?void 0:z.momentLocale)||"")}setIntl(Y)}var Ls=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?C.useLayoutEffect:C.useEffect,fi=function(z){var ue,Ce=(0,el.Kd)(),Re=C.useState(Ce),rt=Uo()(Re,2),Mt=rt[0],Dt=rt[1],Vt=C.useState(function(){return(0,el.lw)(Mt,!0)}),nn=Uo()(Vt,2),fn=nn[0],hn=nn[1],bn=function(cr){if(cs()!==null&&cs()!==void 0&&cs().locale){var Dr;cs().locale(((Dr=el.H8[cr])===null||Dr===void 0?void 0:Dr.momentLocale)||"en")}Dt(cr),hn((0,el.lw)(cr))};Ls(function(){return el.B.on(el.PZ,bn),function(){el.B.off(el.PZ,bn)}},[]);var Yt={},Ln=(0,el.Mg)();return(0,_i.jsx)(Pl.ZP,{direction:Ln,locale:((ue=el.H8[Mt])===null||ue===void 0?void 0:ue.antd)||Yt,children:(0,_i.jsx)(el.eU,{value:fn,children:z.children})})};function Es(Y){return C.createElement(fi,null,Y)}var bu=e(34485),Pu=e.n(bu),hl=e(65246),Wu=e(7986);function Tu(Y,z){return Zl.apply(this,arguments)}function Zl(){return Zl=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/datasets",h()({method:"GET",params:z},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Zl.apply(this,arguments)}function Tl(Y,z){return Ul.apply(this,arguments)}function Ul(){return Ul=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/datasets/".concat(z.datasetId),h()({method:"GET"},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Ul.apply(this,arguments)}function Xo(Y,z){return B.apply(this,arguments)}function B(){return B=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/images",h()({method:"GET",params:z},ue||{})));case 1:case"end":return Re.stop()}},Y)})),B.apply(this,arguments)}function ve(Y,z){return Ze.apply(this,arguments)}function Ze(){return Ze=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/image_flags",h()({method:"POST",data:h()({},z)},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Ze.apply(this,arguments)}function ot(Y,z){return Lt.apply(this,arguments)}function Lt(){return Lt=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/tasks/rerank_by_flags",h()({method:"POST",data:h()({},z)},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Lt.apply(this,arguments)}function Nn(Y,z){return Fr.apply(this,arguments)}function Fr(){return Fr=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/tasks/".concat(z.name,"/").concat(z.id),h()({method:"GET"},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Fr.apply(this,arguments)}function oo(Y,z){return jo.apply(this,arguments)}function jo(){return jo=_asyncToGenerator(_regeneratorRuntime().mark(function Y(z,ue){return _regeneratorRuntime().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",request("/api/v1/annotations",_objectSpread({method:"POST",data:_objectSpread({},z)},ue||{})));case 1:case"end":return Re.stop()}},Y)})),jo.apply(this,arguments)}function li(Y,z){return Yi.apply(this,arguments)}function Yi(){return Yi=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/comparisons",h()({method:"GET",params:z},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Yi.apply(this,arguments)}function tl(Y,z){return yl.apply(this,arguments)}function yl(){return yl=_asyncToGenerator(_regeneratorRuntime().mark(function Y(z,ue){return _regeneratorRuntime().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",request("/api/v1/label_clone",_objectSpread({method:"POST",data:_objectSpread({},z)},ue||{})));case 1:case"end":return Re.stop()}},Y)})),yl.apply(this,arguments)}var ac=e(74595),Ii=e(67160),oc=e(39378),wc=function(){var Y,z,ue,Ce=(0,hl.x)(h()({},Ii.C2)),Re=Uo()(Ce,2),rt=Re[0],Mt=Re[1],Dt=(0,hl.x)(h()({},Ii.$I)),Vt=Uo()(Dt,2),nn=Vt[0],fn=Vt[1],hn=rt.filterValues,bn=rt.comparisons,Yt=nn.filters,Ln=function(Ka){Mt(function(Za){Object.assign(Za,Ii.C2,Ka)})},qn=function(){},cr=(0,Wu.Z)(function(Oo){if(!rt.datasetId)throw null;return Tl({datasetId:rt.datasetId})},{refreshDeps:[rt.datasetId],onSuccess:function(Ka,Za){var ui=Ka.categoryList,ai=Ka.labelList,Ai=Ka.objectTypes,po=Za.length>0?Za[0]:no.$j.gt,Pi=Ai.filter(function(vi){return vi!==no.JJ.Classification}),Oi=rt.filterValues.displayAnnotationType&&Pi.find(function(vi){return vi===rt.filterValues.displayAnnotationType});fn(function(vi){var Wi=Oi||Pi[0],La=(0,ac.B8)(rt.filterValues.displayOptions,Wi),mi=Uo()(La,2),hs=mi[0],Hi=mi[1];vi.filters.categories=[{id:"All",name:"All"}].concat(Pu()(ui)),vi.filters.annotationTypes=Pi,vi.filters.displayOptions=hs,Oi||Mt(function(ts){ts.filterValues.displayOptions=Hi,ts.filterValues.displayAnnotationType=Wi}),rt.filterValues.categoryId||Mt(function(ts){ts.filterValues.categoryId="All"}),ai&&ai.length&&(vi.filters.labels=ai.map(function(ts){return ts.confidenceRange=ts.source===no.$j.pred?[.2,1]:[0,1],ts.source===po&&!Oi&&Mt(function(kl){kl.filterValues.selectedLabelIds=[ts.id]}),ts}))})},onError:function(){}},[function(Oo){return{onBefore:function(){var Za;return{loading:!(!((Za=Oo.state.params)===null||Za===void 0)&&Za.length)}}}}]),Dr=cr.loading,Rr=cr.runAsync,Aa=(0,Wu.Z)(function(){var Oo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ka=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!rt.datasetId||!rt.filterValues.categoryId)throw null;Oo||(fn(function(ai){Object.assign(ai,Ii.vA)}),window.scrollTo(0,0));var Za=rt.filterValues.categoryId==="All"?void 0:rt.filterValues.categoryId,ui={datasetId:rt.datasetId,categoryId:Za,pageNum:rt.page,pageSize:rt.pageSize};return rt.queryMode===Ii.nJ.random&&Object.assign(ui,{offset:Ka?-1:rt.offset,pageSize:no.L8}),rt.comparisons?li(h()(h()({},ui),{},{labelId:rt.comparisons.label.id,precision:rt.comparisons.precision,orderBy:rt.comparisons.orderBy,displayCategoryId:Za})):(rt.flagTools&&rt.flagTools.flagStatus>=0&&Object.assign(ui,{flag:rt.flagTools.flagStatus}),Xo(ui))},{debounceWait:20,refreshDeps:[rt.datasetId,rt.filterValues.categoryId,rt.queryMode,rt.page,rt.pageSize,(Y=rt.comparisons)===null||Y===void 0?void 0:Y.precision,(z=rt.comparisons)===null||z===void 0?void 0:z.orderBy,(ue=rt.flagTools)===null||ue===void 0?void 0:ue.flagStatus],onSuccess:function(Ka){fn(function(Za){Za.imgList=Ka.imageList,Za.total=Ka.total}),Mt(function(Za){Za.offset=(0,oc.isNumber)(Ka.offset)?Ka.offset:-1})},onError:function(){}},[function(Oo){return{onBefore:function(){var Za;return{loading:!(!((Za=Oo.state.params)===null||Za===void 0)&&Za.length)}}}}]),xa=Aa.loading,pa=Aa.run,za=function(Ka){Mt(function(Za){Za.previewIndex=Ka})},ha=function(){Mt(function(Ka){Ka.previewIndex=-1})},Yr=Dr||xa,$a=(0,C.useMemo)(function(){if(bn){var Oo=[],Ka=Yt.labels.find(function(Za){return Za.source===no.$j.gt});return(bn.displays.includes(no.$j.gt)||bn.displays.includes(no.BP.fn))&&Ka&&Oo.push(Ka.id),(bn.displays.includes(no.$j.pred)||bn.displays.includes(no.BP.fp))&&Oo.push(bn.label.id),Oo}return hn.selectedLabelIds},[bn,hn.selectedLabelIds,Yt.labels]),Xa=(0,C.useMemo)(function(){return $a.length>1&&(hn.displayAnnotationType===no.JJ.Matting||(bn?bn.diffMode===no.uP.Tiled:hn.diffMode===no.uP.Tiled))},[bn,hn.diffMode,$a]),io=(0,C.useMemo)(function(){var Oo={};return Object.keys(no.zY).forEach(function(Ka){var Za;Oo[Ka]=!!(!((Za=hn.displayOptions)===null||Za===void 0)&&Za.find(function(ui){return ui===Ka}))}),Oo},[rt.filterValues.displayOptions]),Go=(0,C.useCallback)(function(Oo){var Ka=Pu()(Oo.objects)||[],Za=rt.comparisons,ui={labels:nn.filters.labels,displayLabelIds:$a,isTiledDiff:Xa},ai=rt.filterValues.displayAnnotationType;if(Ka=Ka.filter(function(po){var Pi,Oi;return po.mask&&ai===no.JJ.Mask||po.alpha&&ai===no.JJ.Matting||((Pi=po.points)===null||Pi===void 0?void 0:Pi.length)&&ai===no.JJ.KeyPoints||po.segmentation&&ai===no.JJ.Segmentation||!((Oi=po.points)!==null&&Oi!==void 0&&Oi.length)&&po.boundingBox&&ai===no.JJ.Detection}).map(function(po){return h()(h()({},po),{},{mask:ai===no.JJ.Mask?po.mask:void 0,alpha:ai===no.JJ.Matting?po.alpha:void 0,points:ai===no.JJ.KeyPoints?po.points:void 0,segmentation:ai===no.JJ.Segmentation?po.segmentation:void 0,boundingBox:[no.JJ.Detection,no.JJ.KeyPoints].includes(ai)?po.boundingBox:void 0})}),Za){var Ai=Ka.filter(function(po){return po.source===no.$j.pred});Ka=Ka.filter(function(po){return(po.conf||0)>=Za.score}),Ka=Ka.map(function(po){var Pi=h()({},po);if(po.source===no.$j.gt){var Oi=(0,oc.isNumber)(po.matchedDetIdx)&&po.matchedDetIdx>=0&&Ka.includes(Ai[po.matchedDetIdx])?no.BP.ok:no.BP.fn;Pi.compareResult=Oi}return Pi}),Ka=Ka.filter(function(po){return po.compareResult===no.BP.ok?po.source&&Za.displays.includes(po.source):po.compareResult&&Za.displays.includes(po.compareResult)})}return Ka.filter(function(po){var Pi=io.showAnnotations,Oi=io.showAllCategory,vi=rt.filterValues.categoryId||"";if(!Pi||!Oi&&po.categoryId!==vi||ui&&po.labelId&&!ui.displayLabelIds.includes(po.labelId)||ui&&ui.isTiledDiff&&po.labelId!==Oo.curLabelId)return!1;if(!Za&&ui){var Wi=ui.labels.find(function(La){return La.id===po.labelId});return Wi?Wi.source===no.$j.gt?!0:po.conf!==void 0&&po.conf>=(Wi==null?void 0:Wi.confidenceRange[0])&&po.conf<=(Wi==null?void 0:Wi.confidenceRange[1]):!1}return!0}).map(function(po){var Pi=h()({},po),Oi=(0,ac.iE)(po.labelId,$a,Xa||!!rt.comparisons),vi=Oi.colorAplha,Wi=Oi.strokeDash,La=Oi.lineWidth;return Za&&po.compareResult?Pi.customStyles={pointAplha:vi,strokeDash:Wi,thickness:La,fillColor:no.pB[po.compareResult]||"transparent"}:Pi.customStyles={pointAplha:vi,strokeDash:Wi,thickness:La},Pi})},[rt.filterValues.categoryId,rt.filterValues.displayAnnotationType,rt.comparisons,nn.filters.labels,$a,Xa,io]);return{pageState:rt,setPageState:Mt,pageData:nn,setPageData:fn,onInitPageState:Ln,onPageContentLoaded:qn,onPreviewIndexChange:za,exitPreview:ha,loadDatasetInfo:Rr,loadImgList:pa,loading:Yr,displayLabelIds:$a,isTiledDiff:Xa,displayOptionsResult:io,displayObjectsFilter:Go}},ic=e(41260),vc=function(){var Y=(0,C.useState)(!1),z=Uo()(Y,2),ue=z[0],Ce=z[1],Re=(0,L.useModel)("dataset.common"),rt=Re.setPageState,Mt=function(){Ce(!0)},Dt=function(){Ce(!1)},Vt=function(bn){rt(function(Yt){Yt.queryMode=Ii.nJ.pagination,Yt.page=1,Yt.filterValues.displayAnnotationType=no.JJ.Detection,Yt.flagTools=void 0,Yt.comparisons={label:bn,orderBy:no.YZ.fn,precision:bn.comparePrecisions[0].precision,displays:no.G3.map(function(Ln){return Ln.value}),diffMode:no.uP.Overlay,score:(0,ic.p)(bn.comparePrecisions[0].threshold,2)}})},nn=function(){rt(function(bn){bn.page=1,bn.comparisons=void 0})},fn=function(bn,Yt){rt(function(Ln){if(Ln.comparisons&&(Ln.comparisons[bn]=Yt,bn==="precision")){var qn=Ln.comparisons.label.comparePrecisions.find(function(cr){return cr.precision===Yt});qn&&(Ln.comparisons.score=(0,ic.p)(qn.threshold,2))}})};return{showAnalysisModal:ue,openAnalysisModal:Mt,closeAnalysisModal:Dt,compareLabelSet:Vt,exitComparisons:nn,onFilterComparisonsPrecision:fn}},gc=function(){var Y=(0,L.useModel)("dataset.common"),z=Y.pageState,ue=Y.setPageState,Ce=Y.pageData,Re=Y.setPageData,rt=function(Ln){ue(function(qn){qn.filterValues.categoryId=Ln,qn.page=1})},Mt=function(Ln){var qn;typeof Ln=="number"?qn=Ln:Ln?qn=z.cloumnCount1?z.cloumnCount-1:z.cloumnCount,ue(function(cr){cr.cloumnCount=qn})},Dt=function(Ln){ue(function(qn){qn.filterValues.displayOptions=Ln})},Vt=function(Ln){ue(function(qn){qn.filterValues.selectedLabelIds=Ln.sort(function(cr,Dr){return Ce.filters.labels.findIndex(function(Rr){return Rr.id===cr})-Ce.filters.labels.findIndex(function(Rr){return Rr.id===Dr})})})},nn=function(Ln){ue(function(qn){qn.filterValues.diffMode=Ln})},fn=function(Ln,qn){Re(function(cr){cr.filters.labels[Ln].confidenceRange=qn})},hn=function(Ln){var qn=(0,ac.B8)(z.filterValues.displayOptions,Ln),cr=Uo()(qn,2),Dr=cr[0],Rr=cr[1];Re(function(Aa){Aa.filters.displayOptions=Dr}),ue(function(Aa){Aa.filterValues.displayAnnotationType=Ln,Aa.filterValues.displayOptions=Rr})},bn=function(Ln){ue(function(qn){qn.queryMode=Ln,qn.page=1})};return{onCategoryChange:rt,onColumnCountChange:Mt,onDisplayOptionsChange:Dt,onDisplayAnnotationTypeChange:hn,onLabelsChange:Vt,onLabelsDiffModeChange:nn,onLabelConfidenceChange:fn,onQueryModeChanged:bn}},ql=e(2556),Fi=function(z){var ue=[],Ce=[];return z.forEach(function(Re,rt){Re.selected&&(ue.push(rt),Ce.push(Re.id))}),{selectIndexs:ue,selectedIds:Ce}},go=function(){var Y=(0,L.useModel)("dataset.common"),z=Y.pageState,ue=Y.setPageState,Ce=Y.pageData,Re=Y.setPageData,rt=Y.loadImgList,Mt=(0,hl.x)(!1),Dt=Uo()(Mt,2),Vt=Dt[0],nn=Dt[1],fn=function(ha){Re(function(Yr){if(z.flagTools){var $a=!Yr.imgList[ha].selected;if(Vt&&Yr.flagTools.lastShiftIndex>=0&&ha!==Yr.flagTools.lastShiftIndex){var Xa=Yr.flagTools.count;Yr.imgList.forEach(function(io,Go){(Go>=Yr.flagTools.lastShiftIndex&&Go<=ha||Go>=ha&&Go<=Yr.flagTools.lastShiftIndex)&&(Xa+=io.selected?0:1,io.selected=!0)}),Yr.flagTools.lastShiftIndex=-1,Yr.flagTools.count=Xa}else Yr.imgList[ha].selected=$a,Yr.flagTools.lastShiftIndex=$a?ha:-1,Yr.flagTools.count+=$a?1:-1}})},hn=function(){var ha=Ce.flagTools.count!==z.pageSize;Re(function(Yr){Yr.imgList.forEach(function($a){$a.selected=ha}),Yr.flagTools.lastShiftIndex=-1,Yr.flagTools.count=ha?z.pageSize:0})},bn=function(){Re(function(ha){ha.imgList.forEach(function(Yr){Yr.selected=!Yr.selected}),ha.flagTools.lastShiftIndex=-1,ha.flagTools.count=z.pageSize-ha.flagTools.count})},Yt=function(){return new Promise(function(ha){if(!z.flagTools){ha(null);return}var Yr=Fi(Ce.imgList),$a=Yr.selectIndexs;if($a.length>0&&($a.length!==Ce.flagTools.lastSavedIndexs.length||Ce.flagTools.lastSavedIndexs.find(function(Xa){return!$a.includes(Xa)}))){nc.Z.confirm({content:"Now selected items have not been saved, these will lose if you click 'OK', are you sure?",onOk:function(){ha(null)}});return}ha(null)})},Ln=function(ha){Yt().then(function(){ue(function(Yr){Yr.page=1,Yr.flagTools.flagStatus=ha})})},qn=function(){Re(function(ha){ha.flagTools.lastShiftIndex=-1,ha.flagTools.lastSavedIndexs=[],ha.flagTools.count=0}),ue(function(ha){ha.page=1,ha.flagTools={flagStatus:no.po.all}})},cr=function(){Yt().then(function(){ue(function(ha){ha.page=1,ha.flagTools=void 0})})},Dr=function(){var za=w()(g()().mark(function ha(Yr){var $a,Xa,io,Go;return g()().wrap(function(Ka){for(;;)switch(Ka.prev=Ka.next){case 0:if(!(Ce.flagTools.count<=0)){Ka.next=3;break}return N.ZP.warning("No any image to be selected!"),Ka.abrupt("return");case 3:return $a=Fi(Ce.imgList),Xa=$a.selectIndexs,io=$a.selectedIds,Go=N.ZP.loading("Flag saving..."),Ka.prev=5,Ka.next=8,ve({datasetId:z.datasetId,flagGroups:[{flag:Yr,ids:io}]});case 8:Go(),Re(function(Za){Za.imgList.forEach(function(ui){ui.selected&&(ui.flag=Yr)}),Za.flagTools.lastSavedIndexs=Xa}),Ka.next=17;break;case 12:Ka.prev=12,Ka.t0=Ka.catch(5),console.error("error",Ka.t0),Go(),N.ZP.error("Flag save fail, please retry!");case 17:case"end":return Ka.stop()}},ha,null,[[5,12]])}));return function(Yr){return za.apply(this,arguments)}}(),Rr=(0,Wu.Z)(function(za){return Nn(za)},{manual:!0,pollingInterval:1e3,pollingWhenHidden:!0,onSuccess:function(ha){var Yr=ha.status;Yr==="success"?(xa(),N.ZP.success("Order update success!"),Re(function($a){$a.screenLoading=""}),ue(function($a){$a.page=1}),rt()):Yr==="fail"&&(xa(),N.ZP.error("Query order task fail, Please retry!"),Re(function($a){$a.screenLoading=""}))}}),Aa=Rr.run,xa=Rr.cancel,pa=function(){var za=w()(g()().mark(function ha(){var Yr,$a,Xa;return g()().wrap(function(Go){for(;;)switch(Go.prev=Go.next){case 0:return Go.prev=0,Re(function(Oo){Oo.screenLoading="Updating order..."}),Go.next=4,ot({datasetId:z.datasetId});case 4:Yr=Go.sent,$a=Yr.id,Xa=Yr.name,Aa({id:$a,name:Xa}),Go.next=14;break;case 10:Go.prev=10,Go.t0=Go.catch(0),console.error("error",Go.t0),Re(function(Oo){Oo.screenLoading=""});case 14:case"end":return Go.stop()}},ha,null,[[0,10]])}));return function(){return za.apply(this,arguments)}}();return(0,ql.Z)(["Shift"],function(za){!z.flagTools||z.previewIndex>=0||nn(za.type==="keydown")},{events:["keydown","keyup"]}),(0,ql.Z)(["shift.q","shift.Q","shift.e","shift.E","v","V"],function(za){!z.flagTools||z.previewIndex>=0||(["v","V"].includes(za.key)&&bn(),["q","Q"].includes(za.key)&&za.shiftKey&&Dr(no.po.picked),["e","E"].includes(za.key)&&za.shiftKey&&Dr(no.po.rejected))}),{enterFlagTools:qn,exitFlagTools:cr,onChangeFlagStatus:Ln,selectItem:fn,changeSelectAll:hn,antiSelect:bn,limitNoSaveChangePage:Yt,saveFlag:Dr,updateOrder:pa}},Cs=function(){var Y=(0,hl.x)({page:1,pageSize:no.L8}),z=Uo()(Y,2),ue=z[0],Ce=z[1],Re=(0,hl.x)({list:[],total:0}),rt=Uo()(Re,2),Mt=rt[0],Dt=rt[1],Vt=(0,Wu.Z)(function(Yt,Ln){return Tu({pageNum:Yt||ue.page,pageSize:Ln||ue.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[ue.page,ue.pageSize],onSuccess:function(Ln){var qn=Ln.datasetList,cr=Ln.total;Dt(function(Dr){Dr.list=qn,Dr.total=cr})},onError:function(){}}),nn=Vt.loading,fn=Vt.run,hn=function(Ln){Ce(function(qn){qn.page=Ln}),fn(Ln)},bn=function(Ln,qn){Ce(function(cr){cr.page=Ln,cr.pageSize=qn}),fn(Ln,qn)};return{loading:nn,pagination:ue,datasetsData:Mt,loadDatasets:fn,setPagination:Ce,onPageChange:hn,onPageSizeChange:bn}},mc=e(7214),Mu=e(21325),Hu=!1;(0,mc.ac)(function(Y){Hu=Y});var ed=function(){var Y=(0,C.useState)(!1),z=Uo()(Y,2),ue=z[0],Ce=z[1],Re=(0,C.useState)(""),rt=Uo()(Re,2),Mt=rt[0],Dt=rt[1],Vt=(0,C.useState)(Hu),nn=Uo()(Vt,2),fn=nn[0],hn=nn[1],bn=(0,C.useState)(0),Yt=Uo()(bn,2),Ln=Yt[0],qn=Yt[1],cr=(0,C.useState)(window.innerWidth),Dr=Uo()(cr,2),Rr=Dr[0],Aa=Dr[1];return(0,C.useEffect)(function(){(0,mc.ac)(function(xa){hn(xa)})},[]),(0,C.useEffect)(function(){Aa(window.innerWidth-Ln)},[Ln]),(0,Mu.Z)("resize",function(){var xa=window.innerWidth-Ln;Aa(xa)},{target:window}),{loading:ue,setLoading:Ce,loadingTip:Mt,setLoadingTip:Dt,isMobile:fn,fixSliderWidth:Ln,setFixSliderWidth:qn,layoutInnerWidth:Rr}};function Ws(Y){return Hs.apply(this,arguments)}function Hs(){return Hs=w()(g()().mark(function Y(z){return g()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.abrupt("return",(0,L.request)("/api/v1/user_info",h()({method:"GET",skipErrorHandler:!0},z||{})));case 1:case"end":return Ce.stop()}},Y)})),Hs.apply(this,arguments)}function jc(Y,z){return Lu.apply(this,arguments)}function Lu(){return Lu=w()(g()().mark(function Y(z,ue){return g()().wrap(function(Re){for(;;)switch(Re.prev=Re.next){case 0:return Re.abrupt("return",(0,L.request)("/api/v1/login",h()({method:"POST",data:h()({},z),skipErrorHandler:!0},ue||{})));case 1:case"end":return Re.stop()}},Y)})),Lu.apply(this,arguments)}function Ll(Y){return bl.apply(this,arguments)}function bl(){return bl=w()(g()().mark(function Y(z){return g()().wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return Ce.abrupt("return",(0,L.request)("/api/v1/logout",h()({method:"POST"},z||{})));case 1:case"end":return Ce.stop()}},Y)})),bl.apply(this,arguments)}var sc=function(){var Y=(0,L.useModel)("global"),z=Y.setLoading,ue=(0,C.useState)(!1),Ce=Uo()(ue,2),Re=Ce[0],rt=Ce[1],Mt=(0,hl.x)({}),Dt=Uo()(Mt,2),Vt=Dt[0],nn=Dt[1],fn=function(){return new Promise(function(qn){if(Vt.isLogin){qn(null);return}rt(!0)})},hn=function(){var Ln=w()(g()().mark(function qn(){var cr,Dr,Rr,Aa,xa,pa;return g()().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:return ha.prev=0,cr=localStorage.getItem(no.Uf.AUTH_TOKEN),ha.next=4,Ws();case 4:Dr=ha.sent,Rr=Dr.id,Aa=Dr.name,xa=Dr.status,pa=Dr.isStaff,cr&&xa===no.oC.Active&&nn({isLogin:!0,username:Aa,userId:Rr,token:cr,isStaff:pa}),ha.next=16;break;case 12:ha.prev=12,ha.t0=ha.catch(0),console.error("error",ha.t0),nn({isLogin:!1});case 16:case"end":return ha.stop()}},qn,null,[[0,12]])}));return function(){return Ln.apply(this,arguments)}}(),bn=function(){var Ln=w()(g()().mark(function qn(cr){var Dr,Rr,Aa,xa,pa,za,ha,Yr,$a;return g()().wrap(function(io){for(;;)switch(io.prev=io.next){case 0:return Dr=cr.username,Rr=cr.password,Aa=window.location.pathname,xa=Aa.includes("page/login"),z(!0),io.prev=4,io.next=7,jc({username:Dr,password:Rr});case 7:pa=io.sent,za=pa.username,ha=pa.userId,Yr=pa.token,$a=pa.isStaff,nn({isLogin:!0,username:za,token:Yr,userId:ha,isStaff:$a}),localStorage.setItem(no.Uf.AUTH_TOKEN,Yr),xa||rt(!1),N.ZP.success((0,Ji._w)("loginSuccess")),io.next=21;break;case 18:io.prev=18,io.t0=io.catch(4),N.ZP.error((0,Ji._w)("loginAuthenticationFailed"));case 21:return io.prev=21,z(!1),io.finish(21);case 24:case"end":return io.stop()}},qn,null,[[4,18,21,24]])}));return function(cr){return Ln.apply(this,arguments)}}(),Yt=function(){var Ln=w()(g()().mark(function qn(){return g()().wrap(function(Dr){for(;;)switch(Dr.prev=Dr.next){case 0:return Dr.prev=0,Dr.next=3,Ll();case 3:nn({isLogin:!1}),N.ZP.success((0,Ji._w)("logoutSuccess")),localStorage.removeItem(no.Uf.AUTH_TOKEN),L.history.push("/"),Dr.next=13;break;case 9:Dr.prev=9,Dr.t0=Dr.catch(0),console.error("error",Dr.t0),N.ZP.error((0,Ji._w)("logoutFailed"));case 13:case"end":return Dr.stop()}},qn,null,[[0,9]])}));return function(){return Ln.apply(this,arguments)}}();return{user:Vt,setUser:nn,checkLoginStatus:hn,onLogin:bn,onLogout:Yt,showLoginModal:Re,setShowLoginModal:rt,limitLoginAction:fn}},_s=e(1239),lu=e(32694),Pc=e(54518),Tc=e(93059),_u=e(45060),Bc=e(16962),Yu=e.n(Bc),$c=e(88479),pc=e.n($c),uu=e(17410),Su=e(67761),Nu=e(46134),nl=function(z,ue){var Ce=function(fn){return"".concat(z).concat(fn)},Re=function(fn){return fn.startsWith(z)},rt=function(fn){var hn=fn.substring(z.length),bn=parseInt(hn);return isNaN(bn)?-1:bn},Mt=function(fn){var hn=fn.filter(function(bn){return!!bn.id&&Re(bn.id)}).map(function(bn){return rt(bn.id)});return hn.length>0?Math.max.apply(Math,Pu()(hn)):-1},Dt=Mt(ue)+1,Vt=function(fn){return fn&&Re(fn)?rt(fn):Dt++};return{getStringItemId:Ce,getIntItemId:Vt}},Ue="user_import_category",he="user_import_image",Pe="user_import_annot",Un=function(){var Y=w()(g()().mark(function z(ue){var Ce,Re,rt,Mt,Dt,Vt,nn,fn,hn,bn,Yt,Ln;return g()().wrap(function(cr){for(;;)switch(cr.prev=cr.next){case 0:Ce=ue.info,Re=ue.images,rt=ue.categories,Mt={info:{},images:[],categories:[],annotations:[]},Mt.info=h()(h()({},Ce),{},{year:new Date().getFullYear(),date_created:new Date().toISOString()}),Dt=nl(Ue,rt),Vt=Dt.getIntItemId,nn={},rt.forEach(function(Dr){var Rr=Vt(Dr.id);nn[Dr.name]=Rr,Mt.categories.push({id:Rr,name:Dr.name})}),fn=nl(he,Re),hn=fn.getIntItemId,bn=pc()(Re),cr.prev=8,Ln=g()().mark(function Dr(){var Rr,Aa,xa,pa;return g()().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:if(Rr=Yt.value,Aa=hn(Rr.id),xa={width:0,height:0},!(!Rr.width||!Rr.height)){ha.next=10;break}return ha.next=6,(0,_u.pz)(Rr.urlFullRes);case 6:pa=ha.sent,xa=pa,ha.next=12;break;case 10:xa.width=Rr.width,xa.height=Rr.height;case 12:Mt.images.push(h()({id:Aa,file_name:Rr.name},xa)),Rr.objects.forEach(function(Yr){var $a={id:Mt.annotations.length,image_id:Aa};if(nn&&Yr.categoryName&&nn[Yr.categoryName]!==void 0&&($a.category_id=nn[Yr.categoryName]),Yr.boundingBox){var Xa=(0,Nu.cO)(Yr.boundingBox,xa),io=Xa.x,Go=Xa.y,Oo=Xa.width,Ka=Xa.height,Za=Oo*Ka,ui=[io,Go,Oo,Ka];Object.assign($a,{area:Za,bbox:ui})}if(Yr.segmentation){var ai=Yr.segmentation.split("/").map(function(Hi){return Hi.split(",").map(function(ts){return parseFloat(ts)})}),Ai=ai.reduce(function(Hi,ts){var kl=(0,Nu.X6)(ts),Ru=(0,Nu.I4)(kl);return Hi+Ru},0);Object.assign($a,{segmentation:ai,area:Ai})}if(Yr.mask){var po=(0,Su.ei)(Yr.mask.counts||"",xa,"#fff"),Pi=Yr.mask;if(po){var Oi=(0,Nu.e4)(po),vi=Oi.area;Object.assign($a,{segmentation:Pi,area:vi})}else Object.assign($a,{segmentation:Pi})}if(Yr.points&&Yr.points.length>0){for(var Wi=Yr.points,La=[],mi=0,hs=0;hs*60&&(cr.categories=Re==null?void 0:Re.map(function(xa){var pa=xa.id,za=xa.name;return{id:hn(pa),name:za}})),rt&&rt.length>0){var Dr=new Map(cr.images.map(function(xa){return[xa.name,xa]}));rt.forEach(function(xa){var pa=Dr.get(xa.file_name);pa&&(pa.id=Yt(xa.id),pa.width=xa.width,pa.height=xa.height)})}if(Mt&&Mt.length>0){var Rr=new Map(rt.map(function(xa){return[xa.id,xa]})),Aa=new Map(cr.images.map(function(xa){return[xa.id,xa]}));Mt.forEach(function(xa){var pa=xa.id,za=xa.image_id,ha=xa.category_id,Yr=xa.bbox,$a=xa.segmentation,Xa=xa.keypoints,io=xa.num_keypoints,Go=Rr.get(za),Oo=Aa.get(Yt(za));if(Go&&Oo){var Ka,Za=Go.width,ui=Go.height,ai={id:qn(pa),categoryId:hn(ha),categoryName:Re==null||(Ka=Re.find(function(mi){return mi.id===ha}))===null||Ka===void 0?void 0:Ka.name};if(Yr){var Ai=Uo()(Yr,4),po=Ai[0],Pi=Ai[1],Oi=Ai[2],vi=Ai[3];Object.assign(ai,{boundingBox:(0,Nu.kq)({x:po,y:Pi,width:Oi,height:vi},{width:Za,height:ui})})}if($a&&(Array.isArray($a)?Object.assign(ai,{segmentation:$a==null?void 0:$a.map(function(mi){var hs;return(hs=mi.map(function(Hi){return Hi.toString()}))===null||hs===void 0?void 0:hs.join(",")}).join("/")}):typeof $a.counts=="string"&&Object.assign(ai,{mask:$a})),Xa&&io===uu.v_.pointNames.length){for(var Wi=[],La=0;La*3-1?Mt:0),L.history.push("/quickstart")},Wi=function(){ue.length<=0||(Yr(ue),Go(!1))},La=function(){Oi(),Go(!1),Dt(-1)},mi=(0,C.useCallback)(function(ys){var ds=ue.find(function(al){return al.id===ha[ys].id});return ds&&ds.objects.length>0},[ue,ha]),hs=(0,C.useCallback)(function(ys){return mi(ys)?(ml.Z.error({message:(0,Ji._w)("quicklabel.formModal.deleteImage.title"),description:(0,Ji._w)("quicklabel.formModal.deleteImage.desc"),duration:3}),!0):!1},[mi]),Hi=function(){var ys=w()(g()().mark(function ds(){var al,Ti;return g()().wrap(function(ti){for(;;)switch(ti.prev=ti.next){case 0:return ti.next=2,Un({info:fn,images:ue,categories:Ln});case 2:al=ti.sent,Ti=(0,_u.XV)(Date.now(),"Annotations"),(0,_u.Gf)(al,Ti);case 5:case"end":return ti.stop()}},ds)}));return function(){return ys.apply(this,arguments)}}(),ts=function(ds){var al=ds.file,Ti=ds.fileList;if(!(Ti.length===0||!Ti[0].originFileObj)){var ns=new FileReader;ns.readAsText(Ti[0].originFileObj),ns.onload=function(ti){var gi,Qi=JSON.parse((gi=ti.target)===null||gi===void 0?void 0:gi.result),Eu=zn(Qi);Eu.success?(ui([al]),Pi(Qi)):N.ZP.error(Eu.message)}}},kl=function(ds){var al=Za.findIndex(function(Ti){return Ti.uid===ds.uid});Za.splice(al,1),ui(Pu()(Za)),Pi(En)},Ru=function(ds){Aa(ds),Dt(-1)},rl=function(){Aa(null),Dt(-1)};return{qsModalVisible:io,setQsModalVisible:Go,uploadFiles:ha,setUploadFiles:Yr,images:ue,setImages:Ce,filterImages:xa,onClickQuickstart:vi,onCancelUploadFiles:Wi,onConfirmUploadFiles:La,limitRemoveFile:hs,current:Mt,setCurrent:Dt,categories:Ln,setCategories:qn,filterCategoryName:Rr,setFilterCategoryName:Aa,exportAnnotations:Hi,uploadPreAnnot:Za,onChangePreAnnotFile:ts,onRemovePreAnnotFile:kl,onSelectFilterCategory:Ru,onClearFilterCategory:rl}},Fn=function(){return On()},mr=function(){var Y=(0,L.useModel)("dataset.common"),z=Y.pageState,ue=Y.setPageState,Ce=Y.setPageData,Re=function(hn){ue(function(bn){bn.previewIndex=hn})},rt=function(hn){ue(function(bn){bn.previewIndex=hn})},Mt=function(hn){z.page!==hn&&ue(function(bn){bn.page=hn})},Dt=function(hn,bn){ue(function(Yt){Yt.pageSize=bn})},Vt=function(){},nn=function(){Ce(function(hn){Object.assign(hn,Ii.$I)}),ue(function(hn){Object.assign(hn,Ii.C2)})};return{onPageDidMount:Vt,onPageWillUnmount:nn,clickItem:Re,doubleClickItem:rt,onPageChange:Mt,onPageSizeChange:Dt}},fr=e(86724),or=e.n(fr),jn=function(){var Y=(0,L.useModel)("datasets"),z=Y.loadDatasets,ue=Y.setPagination,Ce=function(Dt){var Vt=JSON.stringify({datasetId:Dt.id,datasetName:Dt.name});L.history.push("/dataset/detail?pageState=".concat(encodeURIComponent(Vt)))},Re=function(Dt,Vt){var nn=JSON.stringify({datasetId:Vt.id,datasetName:Vt.name}),fn="".concat(window.location.origin,"/page/dataset/detail?pageState=").concat(encodeURIComponent(nn)),hn=or()(fn);hn&&N.ZP.success((0,Ji._w)("dataset.onClickCopyLink.success")),Dt.stopPropagation()},rt=function(Dt){ue(function(Vt){Object.assign(Vt,{page:1,pageSize:no.L8},Dt)}),z()};return{onInitPageState:rt,onClickItem:Ce,onClickCopyLink:Re}},ua=e(23707),Or=function(){var Y=(0,L.useModel)("datasets"),z=Y.loadDatasets,ue=Y.setPagination,Ce=(0,ua.BQ)("type")||"flagtool",Re=function(Vt){var nn=JSON.stringify({datasetId:Vt.id,datasetName:Vt.name});L.history.push("/lab/".concat(Ce,"?pageState=").concat(encodeURIComponent(nn)))},rt=function(Vt,nn){var fn=JSON.stringify({datasetId:nn.id,datasetName:nn.name}),hn="".concat(window.location.origin,"/page/dataset/detail?pageState=").concat(encodeURIComponent(fn)),bn=or()(hn);bn&&N.ZP.success((0,Ji._w)("lab.onClickCopyLink.success")),Vt.stopPropagation()},Mt=function(Vt){ue(function(nn){Object.assign(nn,{page:1,pageSize:no.L8},Vt)}),z()};return{labType:Ce,onInitPageState:Mt,onClickItem:Re,onClickCopyLink:rt}},ar=function(){var Y=(0,L.useModel)("user"),z=Y.showLoginModal,ue=(0,L.useModel)("dataset.common"),Ce=ue.pageState,Re=ue.setPageState,rt=ue.pageData,Mt=ue.setPageData,Dt=(0,L.useModel)("dataset.flag"),Vt=Dt.selectItem,nn=Dt.enterFlagTools,fn=Dt.limitNoSaveChangePage,hn=function(Rr){Vt(Rr)},bn=function(Rr){Re(function(Aa){Aa.previewIndex=Rr})},Yt=function(Rr){Ce.page!==Rr&&fn().then(function(){Re(function(Aa){Aa.page=Rr})})},Ln=function(Rr,Aa){fn().then(function(){Re(function(xa){xa.pageSize=Aa})})};(0,ql.Z)(["a","A","d","D","shift.q","shift.Q","shift.e","shift.E","z","Z"],function(Dr){Ce.previewIndex>=0||z||(["a","A"].includes(Dr.key)&&Ce.page>1&&Yt(Ce.page-1),["d","D"].includes(Dr.key)&&Ce.page=0)&&(It[Ut]=ut[Ut]);return It}const c=["onClick","reloadDocument","replace","state","target","to"],m=null;function g(ut,ct){if(!ut){typeof console!="undefined"&&console.warn(ct);try{throw new Error(ct)}catch(It){}}}function M(ut){let{basename:ct,children:It,window:Ct}=ut,Ut=useRef();Ut.current==null&&(Ut.current=createBrowserHistory({window:Ct}));let cn=Ut.current,[rn,Dn]=useState({action:cn.action,location:cn.location});return useLayoutEffect(()=>cn.listen(Dn),[cn]),createElement(Router,{basename:ct,children:It,location:rn.location,navigationType:rn.action,navigator:cn})}function h(ut){let{basename:ct,children:It,window:Ct}=ut,Ut=useRef();Ut.current==null&&(Ut.current=createHashHistory({window:Ct}));let cn=Ut.current,[rn,Dn]=useState({action:cn.action,location:cn.location});return useLayoutEffect(()=>cn.listen(Dn),[cn]),createElement(Router,{basename:ct,children:It,location:rn.location,navigationType:rn.action,navigator:cn})}function S(ut){let{basename:ct,children:It,history:Ct}=ut;const[Ut,cn]=useState({action:Ct.action,location:Ct.location});return useLayoutEffect(()=>Ct.listen(cn),[Ct]),createElement(Router,{basename:ct,children:It,location:Ut.location,navigationType:Ut.action,navigator:Ct})}function w(ut){return!!(ut.metaKey||ut.altKey||ut.ctrlKey||ut.shiftKey)}const C=(0,o.forwardRef)(function(ct,It){let{onClick:Ct,reloadDocument:Ut,replace:cn=!1,state:rn,target:Dn,to:Bn}=ct,Cr=l(ct,c),rr=(0,s.useHref)(Bn),$n=Z(Bn,{replace:cn,state:rn,target:Dn});function kr(Mr){Ct&&Ct(Mr),!Mr.defaultPrevented&&!Ut&&$n(Mr)}return(0,o.createElement)("a",d({},Cr,{href:rr,onClick:kr,ref:It,target:Dn}))}),F=null;function Z(ut,ct){let{target:It,replace:Ct,state:Ut}=ct===void 0?{}:ct,cn=(0,s.useNavigate)(),rn=(0,s.useLocation)(),Dn=(0,s.useResolvedPath)(ut);return(0,o.useCallback)(Bn=>{if(Bn.button===0&&(!It||It==="_self")&&!w(Bn)){Bn.preventDefault();let Cr=!!Ct||(0,n.Ep)(rn)===(0,n.Ep)(Dn);cn(ut,{replace:Cr,state:Ut})}},[rn,cn,Dn,Ct,Ut,It,ut])}function N(ut){let ct=useRef(L(ut)),It=useLocation(),Ct=useMemo(()=>{let rn=L(It.search);for(let Dn of ct.current.keys())rn.has(Dn)||ct.current.getAll(Dn).forEach(Bn=>{rn.append(Dn,Bn)});return rn},[It.search]),Ut=useNavigate(),cn=useCallback((rn,Dn)=>{Ut("?"+L(rn),Dn)},[Ut]);return[Ct,cn]}function L(ut){return ut===void 0&&(ut=""),new URLSearchParams(typeof ut=="string"||Array.isArray(ut)||ut instanceof URLSearchParams?ut:Object.keys(ut).reduce((ct,It)=>{let Ct=ut[It];return ct.concat(Array.isArray(Ct)?Ct.map(Ut=>[It,Ut]):[[It,Ct]])},[]))}var $=e(60581),D=["prefetch"];function T(ut){var ct,It=ut.prefetch,Ct=(0,t.Z)(ut,D),Ut=(0,$.Ov)(),cn=typeof ut.to=="string"?ut.to:(ct=ut.to)===null||ct===void 0?void 0:ct.pathname;return cn?o.createElement(C,(0,a.Z)({onMouseEnter:function(){var Dn;return It&&cn&&((Dn=Ut.preloadRoute)===null||Dn===void 0?void 0:Dn.call(Ut,cn))}},Ct),ut.children):null}var j=e(83753);function K(){"use strict";K=function(){return ut};var ut={},ct=Object.prototype,It=ct.hasOwnProperty,Ct=Object.defineProperty||function(Yn,Zn,Sr){Yn[Zn]=Sr.value},Ut=typeof Symbol=="function"?Symbol:{},cn=Ut.iterator||"@@iterator",rn=Ut.asyncIterator||"@@asyncIterator",Dn=Ut.toStringTag||"@@toStringTag";function Bn(Yn,Zn,Sr){return Object.defineProperty(Yn,Zn,{value:Sr,enumerable:!0,configurable:!0,writable:!0}),Yn[Zn]}try{Bn({},"")}catch(Yn){Bn=function(Sr,Xr,wr){return Sr[Xr]=wr}}function Cr(Yn,Zn,Sr,Xr){var wr=Zn&&Zn.prototype instanceof kr?Zn:kr,Pt=Object.create(wr.prototype),on=new Ur(Xr||[]);return Ct(Pt,"_invoke",{value:Kr(Yn,Sr,on)}),Pt}function rr(Yn,Zn,Sr){try{return{type:"normal",arg:Yn.call(Zn,Sr)}}catch(Xr){return{type:"throw",arg:Xr}}}ut.wrap=Cr;var $n={};function kr(){}function Mr(){}function ia(){}var zr={};Bn(zr,cn,function(){return this});var Wn=Object.getPrototypeOf,wn=Wn&&Wn(Wn(Ma([])));wn&&wn!==ct&&It.call(wn,cn)&&(zr=wn);var Rn=ia.prototype=kr.prototype=Object.create(zr);function sr(Yn){["next","throw","return"].forEach(function(Zn){Bn(Yn,Zn,function(Sr){return this._invoke(Zn,Sr)})})}function Er(Yn,Zn){function Sr(wr,Pt,on,Mn){var Ja=rr(Yn[wr],Yn,Pt);if(Ja.type!=="throw"){var mo=Ja.arg,Ua=mo.value;return Ua&&(0,j.Z)(Ua)=="object"&&It.call(Ua,"__await")?Zn.resolve(Ua.__await).then(function(ka){Sr("next",ka,on,Mn)},function(ka){Sr("throw",ka,on,Mn)}):Zn.resolve(Ua).then(function(ka){mo.value=ka,on(mo)},function(ka){return Sr("throw",ka,on,Mn)})}Mn(Ja.arg)}var Xr;Ct(this,"_invoke",{value:function(Pt,on){function Mn(){return new Zn(function(Ja,mo){Sr(Pt,on,Ja,mo)})}return Xr=Xr?Xr.then(Mn,Mn):Mn()}})}function Kr(Yn,Zn,Sr){var Xr="suspendedStart";return function(wr,Pt){if(Xr==="executing")throw new Error("Generator is already running");if(Xr==="completed"){if(wr==="throw")throw Pt;return ma()}for(Sr.method=wr,Sr.arg=Pt;;){var on=Sr.delegate;if(on){var Mn=ta(on,Sr);if(Mn){if(Mn===$n)continue;return Mn}}if(Sr.method==="next")Sr.sent=Sr._sent=Sr.arg;else if(Sr.method==="throw"){if(Xr==="suspendedStart")throw Xr="completed",Sr.arg;Sr.dispatchException(Sr.arg)}else Sr.method==="return"&&Sr.abrupt("return",Sr.arg);Xr="executing";var Ja=rr(Yn,Zn,Sr);if(Ja.type==="normal"){if(Xr=Sr.done?"completed":"suspendedYield",Ja.arg===$n)continue;return{value:Ja.arg,done:Sr.done}}Ja.type==="throw"&&(Xr="completed",Sr.method="throw",Sr.arg=Ja.arg)}}}function ta(Yn,Zn){var Sr=Zn.method,Xr=Yn.iterator[Sr];if(Xr===void 0)return Zn.delegate=null,Sr==="throw"&&Yn.iterator.return&&(Zn.method="return",Zn.arg=void 0,ta(Yn,Zn),Zn.method==="throw")||Sr!=="return"&&(Zn.method="throw",Zn.arg=new TypeError("The iterator does not provide a '"+Sr+"' method")),$n;var wr=rr(Xr,Yn.iterator,Zn.arg);if(wr.type==="throw")return Zn.method="throw",Zn.arg=wr.arg,Zn.delegate=null,$n;var Pt=wr.arg;return Pt?Pt.done?(Zn[Yn.resultName]=Pt.value,Zn.next=Yn.nextLoc,Zn.method!=="return"&&(Zn.method="next",Zn.arg=void 0),Zn.delegate=null,$n):Pt:(Zn.method="throw",Zn.arg=new TypeError("iterator result is not an object"),Zn.delegate=null,$n)}function ga(Yn){var Zn={tryLoc:Yn[0]};1 in Yn&&(Zn.catchLoc=Yn[1]),2 in Yn&&(Zn.finallyLoc=Yn[2],Zn.afterLoc=Yn[3]),this.tryEntries.push(Zn)}function pr(Yn){var Zn=Yn.completion||{};Zn.type="normal",delete Zn.arg,Yn.completion=Zn}function Ur(Yn){this.tryEntries=[{tryLoc:"root"}],Yn.forEach(ga,this),this.reset(!0)}function Ma(Yn){if(Yn){var Zn=Yn[cn];if(Zn)return Zn.call(Yn);if(typeof Yn.next=="function")return Yn;if(!isNaN(Yn.length)){var Sr=-1,Xr=function wr(){for(;++Sr=0;--wr){var Pt=this.tryEntries[wr],on=Pt.completion;if(Pt.tryLoc==="root")return Xr("end");if(Pt.tryLoc<=this.prev){var Mn=It.call(Pt,"catchLoc"),Ja=It.call(Pt,"finallyLoc");if(Mn&&Ja){if(this.prev=0;--Xr){var wr=this.tryEntries[Xr];if(wr.tryLoc<=this.prev&&It.call(wr,"finallyLoc")&&this.prev=0;--Sr){var Xr=this.tryEntries[Sr];if(Xr.finallyLoc===Zn)return this.complete(Xr.completion,Xr.afterLoc),pr(Xr),$n}},catch:function(Zn){for(var Sr=this.tryEntries.length-1;Sr>=0;--Sr){var Xr=this.tryEntries[Sr];if(Xr.tryLoc===Zn){var wr=Xr.completion;if(wr.type==="throw"){var Pt=wr.arg;pr(Xr)}return Pt}}throw new Error("illegal catch attempt")},delegateYield:function(Zn,Sr,Xr){return this.delegate={iterator:Ma(Zn),resultName:Sr,nextLoc:Xr},this.method==="next"&&(this.arg=void 0),$n}},ut}var k=e(5452);function te(ut,ct,It,Ct,Ut,cn,rn){try{var Dn=ut[cn](rn),Bn=Dn.value}catch(Cr){It(Cr);return}Dn.done?ct(Bn):Promise.resolve(Bn).then(Ct,Ut)}function V(ut){return function(){var ct=this,It=arguments;return new Promise(function(Ct,Ut){var cn=ut.apply(ct,It);function rn(Bn){te(cn,Ct,Ut,rn,Dn,"next",Bn)}function Dn(Bn){te(cn,Ct,Ut,rn,Dn,"throw",Bn)}rn(void 0)})}}var q=e(50648);function le(ut,ct){var It=typeof Symbol!="undefined"&&ut[Symbol.iterator]||ut["@@iterator"];if(!It){if(Array.isArray(ut)||(It=(0,q.Z)(ut))||ct&&ut&&typeof ut.length=="number"){It&&(ut=It);var Ct=0,Ut=function(){};return{s:Ut,n:function(){return Ct>=ut.length?{done:!0}:{done:!1,value:ut[Ct++]}},e:function(Cr){throw Cr},f:Ut}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var cn=!0,rn=!1,Dn;return{s:function(){It=It.call(ut)},n:function(){var Cr=It.next();return cn=Cr.done,Cr},e:function(Cr){rn=!0,Dn=Cr},f:function(){try{!cn&&It.return!=null&&It.return()}finally{if(rn)throw Dn}}}}var X=e(40642);function W(ut){if(typeof Symbol!="undefined"&&ut[Symbol.iterator]!=null||ut["@@iterator"]!=null)return Array.from(ut)}var x=e(8010);function O(ut){return(0,X.Z)(ut)||W(ut)||(0,q.Z)(ut)||(0,x.Z)()}function _(ut,ct){if(!(ut instanceof ct))throw new TypeError("Cannot call a class as a function")}var U=e(4566);function A(ut,ct){for(var It=0;It-1,"register failed, invalid key ".concat(Ut," ").concat(It.path?"from plugin ".concat(It.path):"",".")),Ct.hooks[Ut]=(Ct.hooks[Ut]||[]).concat(It.apply[Ut])})}},{key:"getHooks",value:function(It){var Ct=It.split("."),Ut=O(Ct),cn=Ut[0],rn=Ut.slice(1),Dn=this.hooks[cn]||[];return rn.length&&(Dn=Dn.map(function(Bn){try{var Cr=Bn,rr=le(rn),$n;try{for(rr.s();!($n=rr.n()).done;){var kr=$n.value;Cr=Cr[kr]}}catch(Mr){rr.e(Mr)}finally{rr.f()}return Cr}catch(Mr){return null}}).filter(Boolean)),Dn}},{key:"applyPlugins",value:function(It){var Ct=It.key,Ut=It.type,cn=It.initialValue,rn=It.args,Dn=It.async,Bn=this.getHooks(Ct)||[];switch(rn&&pe((0,j.Z)(rn)==="object","applyPlugins failed, args must be plain object."),Dn&&pe(Ut===Te.modify||Ut===Te.event,"async only works with modify and event type."),Ut){case Te.modify:return Dn?Bn.reduce(function(){var Cr=V(K().mark(function rr($n,kr){var Mr;return K().wrap(function(zr){for(;;)switch(zr.prev=zr.next){case 0:if(pe(typeof kr=="function"||(0,j.Z)(kr)==="object"||be(kr),"applyPlugins failed, all hooks for key ".concat(Ct," must be function, plain object or Promise.")),!be($n)){zr.next=5;break}return zr.next=4,$n;case 4:$n=zr.sent;case 5:if(typeof kr!="function"){zr.next=16;break}if(Mr=kr($n,rn),!be(Mr)){zr.next=13;break}return zr.next=10,Mr;case 10:return zr.abrupt("return",zr.sent);case 13:return zr.abrupt("return",Mr);case 14:zr.next=21;break;case 16:if(!be(kr)){zr.next=20;break}return zr.next=19,kr;case 19:kr=zr.sent;case 20:return zr.abrupt("return",(0,k.Z)((0,k.Z)({},$n),kr));case 21:case"end":return zr.stop()}},rr)}));return function(rr,$n){return Cr.apply(this,arguments)}}(),be(cn)?cn:Promise.resolve(cn)):Bn.reduce(function(Cr,rr){return pe(typeof rr=="function"||(0,j.Z)(rr)==="object","applyPlugins failed, all hooks for key ".concat(Ct," must be function or plain object.")),typeof rr=="function"?rr(Cr,rn):(0,k.Z)((0,k.Z)({},Cr),rr)},cn);case Te.event:return V(K().mark(function Cr(){var rr,$n,kr,Mr;return K().wrap(function(zr){for(;;)switch(zr.prev=zr.next){case 0:rr=le(Bn),zr.prev=1,rr.s();case 3:if(($n=rr.n()).done){zr.next=12;break}if(kr=$n.value,pe(typeof kr=="function","applyPlugins failed, all hooks for key ".concat(Ct," must be function.")),Mr=kr(rn),!(Dn&&be(Mr))){zr.next=10;break}return zr.next=10,Mr;case 10:zr.next=3;break;case 12:zr.next=17;break;case 14:zr.prev=14,zr.t0=zr.catch(1),rr.e(zr.t0);case 17:return zr.prev=17,rr.f(),zr.finish(17);case 20:case"end":return zr.stop()}},Cr,null,[[1,14,17,20]])}))();case Te.compose:return function(){return ge({fns:Bn.concat(cn),args:rn})()}}}}],[{key:"create",value:function(It){var Ct=new ut({validKeys:It.validKeys});return It.plugins.forEach(function(Ut){Ct.register(Ut)}),Ct}}]),ut}(),Je=e(12763),Qe=e(16962),pt=e.n(Qe),Et=0,ft=0;function Wt(ut,ct){if(!1)var It}function $e(ut){return JSON.stringify(ut,null,2)}function Xe(ut){var ct=ut.length>1?ut.map(nt).join(" "):ut[0];return pt()(ct)==="object"?"".concat($e(ct)):ct.toString()}function nt(ut){return pt()(ut)==="object"?"".concat(JSON.stringify(ut)):ut.toString()}var Ke={log:function(){for(var ct=arguments.length,It=new Array(ct),Ct=0;Ct-1&&(cn=setTimeout(function(){se.delete(ct)},It)),se.set(ct,{data:Ct,timer:cn,startTime:new Date().getTime()})},de=function(ct){var It=se.get(ct);return{data:It==null?void 0:It.data,startTime:It==null?void 0:It.startTime}},xe=function(ut,ct){var It=typeof Symbol=="function"&&ut[Symbol.iterator];if(!It)return ut;var Ct=It.call(ut),Ut,cn=[],rn;try{for(;(ct===void 0||ct-- >0)&&!(Ut=Ct.next()).done;)cn.push(Ut.value)}catch(Dn){rn={error:Dn}}finally{try{Ut&&!Ut.done&&(It=Ct.return)&&It.call(Ct)}finally{if(rn)throw rn.error}}return cn},ce=function(){for(var ut=[],ct=0;ct0)&&!(Ut=Ct.next()).done;)cn.push(Ut.value)}catch(Dn){rn={error:Dn}}finally{try{Ut&&!Ut.done&&(It=Ct.return)&&It.call(Ct)}finally{if(rn)throw rn.error}}return cn},we=function(){for(var ut=[],ct=0;ct0)&&!(Ut=Ct.next()).done;)cn.push(Ut.value)}catch(Dn){rn={error:Dn}}finally{try{Ut&&!Ut.done&&(It=Ct.return)&&It.call(Ct)}finally{if(rn)throw rn.error}}return cn},St=function(){for(var ut=[],ct=0;ct0){var Lr=Ur&&((na=getCache(Ur))===null||na===void 0?void 0:na.startTime)||0;Zn===-1||new Date().getTime()-Lr<=Zn||Object.values(dn).forEach(function(Zr){Zr.refresh()})}else Hr.current.apply(Hr,St(sr))},[]);var oa=useCallback(function(){Object.values(Sn.current).forEach(function(na){na.unmount()}),mo.current=lt,Pn({}),Sn.current={}},[Pn]);useUpdateEffect(function(){rn||Object.values(Sn.current).forEach(function(na){na.refresh()})},St(Ut)),useEffect(function(){return function(){Object.values(Sn.current).forEach(function(na){na.unmount()})}},[]);var Jr=useCallback(function(na){return function(){console.warn("You should't call "+na+" when service not executed once.")}},[]);return ze(ze({loading:on&&!rn||kr,data:wr,error:void 0,params:[],cancel:Jr("cancel"),refresh:Jr("refresh"),mutate:Jr("mutate")},dn[mo.current]||{}),{run:ir,fetches:dn,reset:oa})}var At=null,Ie=function(){return Ie=Object.assign||function(ut){for(var ct,It=1,Ct=arguments.length;It0)&&!(Ut=Ct.next()).done;)cn.push(Ut.value)}catch(Dn){rn={error:Dn}}finally{try{Ut&&!Ut.done&&(It=Ct.return)&&It.call(Ct)}finally{if(rn)throw rn.error}}return cn},jt=function(){for(var ut=[],ct=0;ct0)&&!(Ut=Ct.next()).done;)cn.push(Ut.value)}catch(Dn){rn={error:Dn}}finally{try{Ut&&!Ut.done&&(It=Ct.return)&&It.call(Ct)}finally{if(rn)throw rn.error}}return cn},un=function(){for(var ut=[],ct=0;ctJa&&(on=Math.max(1,Ja)),pr({current:on,pageSize:Mn})},[Ur,pr]),Yn=useCallback(function(wr){ma(wr,sr)},[ma,sr]),Zn=useCallback(function(wr){ma(wn,wr)},[ma,wn]),Sr=useRef(Yn);Sr.current=Yn,useUpdateEffect(function(){ct.manual||Sr.current(1)},un(rn));var Xr=useCallback(function(wr,Pt,on){pr({current:wr.current,pageSize:wr.pageSize||Ut,filters:Pt,sorter:on})},[ga,Kr,pr]);return $t({loading:Mr,data:rr,params:$n,run:kr,pagination:{current:wn,pageSize:sr,total:Ur,totalPage:Ma,onChange:ma,changeCurrent:Yn,changePageSize:Zn},tableProps:{dataSource:(rr==null?void 0:rr.list)||[],loading:Mr,onChange:Xr,pagination:{current:wn,pageSize:sr,total:Ur}},sorter:Kr,filters:ga},ia)}var pn=null,Gn=o.createContext({});Gn.displayName="UseRequestConfigContext";var Qn=Gn,ur=function(){return ur=Object.assign||function(ut){for(var ct,It=1,Ct=arguments.length;It0)&&!(Ut=Ct.next()).done;)cn.push(Ut.value)}catch(Dn){rn={error:Dn}}finally{try{Ut&&!Ut.done&&(It=Ct.return)&&It.call(Ct)}finally{if(rn)throw rn.error}}return cn},en=function(){for(var ut=[],ct=0;ct1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(ut,_objectSpread({formatResult:function(Ct){return Ct==null?void 0:Ct.data},requestMethod:function(Ct){if(typeof Ct=="string")return _n(Ct);if(_typeof(Ct)==="object"){var Ut=Ct.url,cn=_objectWithoutProperties(Ct,gt);return _n(Ut,cn)}throw new Error("request options error")}},ct))}var Qt,tn,yn=function(){return tn||(tn=(0,mt.We)().applyPlugins({key:"request",type:Te.modify,initialValue:{}}),tn)},gn=function(){var ct,It;if(Qt)return Qt;var Ct=yn();return Qt=ie().create(Ct),Ct==null||(ct=Ct.requestInterceptors)===null||ct===void 0||ct.forEach(function(Ut){Ut instanceof Array?Qt.interceptors.request.use(function(cn){var rn=cn.url;if(Ut[0].length===2){var Dn=Ut[0](rn,cn),Bn=Dn.url,Cr=Dn.options;return ae()(ae()({},Cr),{},{url:Bn})}return Ut[0](cn)},Ut[1]):Qt.interceptors.request.use(function(cn){var rn=cn.url;if(Ut.length===2){var Dn=Ut(rn,cn),Bn=Dn.url,Cr=Dn.options;return ae()(ae()({},Cr),{},{url:Bn})}return Ut(cn)})}),Ct==null||(It=Ct.responseInterceptors)===null||It===void 0||It.forEach(function(Ut){Ut instanceof Array?Qt.interceptors.response.use(Ut[0],Ut[1]):Qt.interceptors.response.use(Ut)}),Qt.interceptors.response.use(function(Ut){var cn,rn=Ut.data;return(rn==null?void 0:rn.success)===!1&&Ct!==null&&Ct!==void 0&&(cn=Ct.errorConfig)!==null&&cn!==void 0&&cn.errorThrower&&Ct.errorConfig.errorThrower(rn),Ut}),Qt},_n=function(ct){var It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Ct=gn(),Ut=yn(),cn=It.getResponse,rn=cn===void 0?!1:cn,Dn=It.requestInterceptors,Bn=It.responseInterceptors,Cr=Dn==null?void 0:Dn.map(function($n){return $n instanceof Array?Ct.interceptors.request.use(function(kr){var Mr=kr.url;if($n[0].length===2){var ia=$n[0](Mr,kr),zr=ia.url,Wn=ia.options;return ae()(ae()({},Wn),{},{url:zr})}return $n[0](kr)},$n[1]):Ct.interceptors.request.use(function(kr){var Mr=kr.url;if($n.length===2){var ia=$n(Mr,kr),zr=ia.url,Wn=ia.options;return ae()(ae()({},Wn),{},{url:zr})}return $n(kr)})}),rr=Bn==null?void 0:Bn.map(function($n){return $n instanceof Array?Ct.interceptors.response.use($n[0],$n[1]):Ct.interceptors.response.use($n)});return new Promise(function($n,kr){Ct.request(ae()(ae()({},It),{},{url:ct})).then(function(Mr){Cr==null||Cr.forEach(function(ia){Ct.interceptors.request.eject(ia)}),rr==null||rr.forEach(function(ia){Ct.interceptors.response.eject(ia)}),$n(rn?Mr:Mr.data)}).catch(function(Mr){Cr==null||Cr.forEach(function(Wn){Ct.interceptors.request.eject(Wn)}),rr==null||rr.forEach(function(Wn){Ct.interceptors.response.eject(Wn)});try{var ia,zr=Ut==null||(ia=Ut.errorConfig)===null||ia===void 0?void 0:ia.errorHandler;zr&&zr(Mr,It,Ut)}catch(Wn){kr(Wn)}kr(Mr)})})},nr=function(){}},96662:function(b,y,e){"use strict";e.d(y,{J:function(){return t}});var a=e(58757),t=a.createContext(null)},64470:function(b,y,e){"use strict";e.d(y,{Mf:function(){return d}});var a=e(58757),t=e(96662),o=e(35667),s=function(){return a.useContext(t.J)},n=function(c){return _jsx(_Fragment,{children:c.accessible?c.children:c.fallback})},d=function(c){var m=s(),g=a.useMemo(function(){var M=function h(S,w,C){var F,Z,N=S.access,L=S;if(!N&&w&&(N=w,L=C),S.unaccessible=!1,typeof N=="string"){var $=m[N];typeof $=="function"?S.unaccessible=!$(L):typeof $=="boolean"?S.unaccessible=!$:typeof $=="undefined"&&(S.unaccessible=!0)}if((F=S.children)!==null&&F!==void 0&&F.length){var D=!S.children.reduce(function(j,K){return h(K,N,S),j||!K.unaccessible},!1);D&&(S.unaccessible=!0)}if((Z=S.routes)!==null&&Z!==void 0&&Z.length){var T=!S.routes.reduce(function(j,K){return h(K,N,S),j||!K.unaccessible},!1);T&&(S.unaccessible=!0)}return S};return c.map(function(h){return M(h)})},[c.length,m]);return g}},93325:function(b,y,e){"use strict";e.d(y,{_H:function(){return a._H},pD:function(){return L},wv:function(){return a.wv},Kd:function(){return a.Kd},i_:function(){return a.i_},YB:function(){return a.YB}});var a=e(16221),t=e(88205),o=e.n(t),s=e(2657),n=e(63900),d=e.n(n),l=e(62376),c=e.n(l),m=e(58757),g=e(73267),M=e(93430),h=e(85706),S=e(35667),w=["overlayClassName"],C=["globalIconClassName","postLocalesData","onItemClick","icon","style","reload"],F=function(D){var T=D.overlayClassName,j=c()(D,w);return(0,S.jsx)(g.Z,d()({overlayClassName:T},j))},Z=function(D){return D.reduce(function(T,j){return j.lang?_objectSpread(_objectSpread({},T),{},_defineProperty({},j.lang,j)):T},{})},N={"ar-EG":{lang:"ar-EG",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",icon:"\u{1F1EA}\u{1F1EC}",title:"\u0644\u063A\u0629"},"az-AZ":{lang:"az-AZ",label:"Az\u0259rbaycan dili",icon:"\u{1F1E6}\u{1F1FF}",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438 \u0435\u0437\u0438\u043A",icon:"\u{1F1E7}\u{1F1EC}",title:"\u0435\u0437\u0438\u043A"},"bn-BD":{lang:"bn-BD",label:"\u09AC\u09BE\u0982\u09B2\u09BE",icon:"\u{1F1E7}\u{1F1E9}",title:"\u09AD\u09BE\u09B7\u09BE"},"ca-ES":{lang:"ca-ES",label:"Catal\xE1",icon:"\u{1F1E8}\u{1F1E6}",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"\u010Ce\u0161tina",icon:"\u{1F1E8}\u{1F1FF}",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"\u{1F1E9}\u{1F1F0}",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"\u{1F1E9}\u{1F1EA}",title:"Sprache"},"el-GR":{lang:"el-GR",label:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",icon:"\u{1F1EC}\u{1F1F7}",title:"\u0393\u03BB\u03CE\u03C3\u03C3\u03B1"},"en-GB":{lang:"en-GB",label:"English",icon:"\u{1F1EC}\u{1F1E7}",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"\u{1F1FA}\u{1F1F8}",title:"Language"},"es-ES":{lang:"es-ES",label:"Espa\xF1ol",icon:"\u{1F1EA}\u{1F1F8}",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"\u{1F1EA}\u{1F1EA}",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"\u0641\u0627\u0631\u0633\u06CC",icon:"\u{1F1EE}\u{1F1F7}",title:"\u0632\u0628\u0627\u0646"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"\u{1F1EB}\u{1F1EE}",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Fran\xE7ais",icon:"\u{1F1E7}\u{1F1EA}",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Fran\xE7ais",icon:"\u{1F1EB}\u{1F1F7}",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"\u{1F1EE}\u{1F1EA}",title:"Teanga"},"he-IL":{lang:"he-IL",label:"\u05E2\u05D1\u05E8\u05D9\u05EA",icon:"\u{1F1EE}\u{1F1F1}",title:"\u05E9\u05E4\u05D4"},"hi-IN":{lang:"hi-IN",label:"\u0939\u093F\u0928\u094D\u0926\u0940, \u0939\u093F\u0902\u0926\u0940",icon:"\u{1F1EE}\u{1F1F3}",title:"\u092D\u093E\u0937\u093E: \u0939\u093F\u0928\u094D\u0926\u0940"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"\u{1F1ED}\u{1F1F7}",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"\u{1F1ED}\u{1F1FA}",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",icon:"\u{1F1E6}\u{1F1F2}",title:"\u053C\u0565\u0566\u0578\u0582"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"\u{1F1EE}\u{1F1E9}",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"\u{1F1EE}\u{1F1F9}",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"\xCDslenska",icon:"\u{1F1EE}\u{1F1F8}",title:"Tungum\xE1l"},"ja-JP":{lang:"ja-JP",label:"\u65E5\u672C\u8A9E",icon:"\u{1F1EF}\u{1F1F5}",title:"\u8A00\u8A9E"},"ku-IQ":{lang:"ku-IQ",label:"\u06A9\u0648\u0631\u062F\u06CC",icon:"\u{1F1EE}\u{1F1F6}",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0CAD\u0CBE\u0CB7\u0CC6"},"ko-KR":{lang:"ko-KR",label:"\uD55C\uAD6D\uC5B4",icon:"\u{1F1F0}\u{1F1F7}",title:"\uC5B8\uC5B4"},"lv-LV":{lang:"lv-LV",label:"Latvie\u0161u valoda",icon:"\u{1F1F1}\u{1F1EE}",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"\u043C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438 \u0458\u0430\u0437\u0438\u043A",icon:"\u{1F1F2}\u{1F1F0}",title:"\u0408\u0430\u0437\u0438\u043A"},"mn-MN":{lang:"mn-MN",label:"\u041C\u043E\u043D\u0433\u043E\u043B \u0445\u044D\u043B",icon:"\u{1F1F2}\u{1F1F3}",title:"\u0425\u044D\u043B"},"ms-MY":{lang:"ms-MY",label:"\u0628\u0647\u0627\u0633 \u0645\u0644\u0627\u064A\u0648\u200E",icon:"\u{1F1F2}\u{1F1FE}",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"\u{1F1F3}\u{1F1F4}",title:"Spr\xE5k"},"ne-NP":{lang:"ne-NP",label:"\u0928\u0947\u092A\u093E\u0932\u0940",icon:"\u{1F1F3}\u{1F1F5}",title:"\u092D\u093E\u0937\u093E"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"\u{1F1E7}\u{1F1EA}",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Vlaams",icon:"\u{1F1F3}\u{1F1F1}",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"\u{1F1F5}\u{1F1F1}",title:"J\u0119zyk"},"pt-BR":{lang:"pt-BR",label:"Portugu\xEAs",icon:"\u{1F1E7}\u{1F1F7}",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Portugu\xEAs",icon:"\u{1F1F5}\u{1F1F9}",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Rom\xE2n\u0103",icon:"\u{1F1F7}\u{1F1F4}",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",icon:"\u{1F1F7}\u{1F1FA}",title:"\u044F\u0437\u044B\u043A"},"sk-SK":{lang:"sk-SK",label:"Sloven\u010Dina",icon:"\u{1F1F8}\u{1F1F0}",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"\u0441\u0440\u043F\u0441\u043A\u0438 \u0458\u0435\u0437\u0438\u043A",icon:"\u{1F1F8}\u{1F1F7}",title:"\u0408\u0435\u0437\u0438\u043A"},"sl-SI":{lang:"sl-SI",label:"Sloven\u0161\u010Dina",icon:"\u{1F1F8}\u{1F1F1}",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"\u{1F1F8}\u{1F1EA}",title:"Spr\xE5k"},"ta-IN":{lang:"ta-IN",label:"\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD",icon:"\u{1F1EE}\u{1F1F3}",title:"\u0BAE\u0BCA\u0BB4\u0BBF"},"th-TH":{lang:"th-TH",label:"\u0E44\u0E17\u0E22",icon:"\u{1F1F9}\u{1F1ED}",title:"\u0E20\u0E32\u0E29\u0E32"},"tr-TR":{lang:"tr-TR",label:"T\xFCrk\xE7e",icon:"\u{1F1F9}\u{1F1F7}",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",icon:"\u{1F1FA}\u{1F1F0}",title:"\u041C\u043E\u0432\u0430"},"vi-VN":{lang:"vi-VN",label:"Ti\u1EBFng Vi\u1EC7t",icon:"\u{1F1FB}\u{1F1F3}",title:"Ng\xF4n ng\u1EEF"},"zh-CN":{lang:"zh-CN",label:"\u7B80\u4F53\u4E2D\u6587",icon:"\u{1F1E8}\u{1F1F3}",title:"\u8BED\u8A00"},"zh-TW":{lang:"zh-TW",label:"\u7E41\u9AD4\u4E2D\u6587",icon:"\u{1F1ED}\u{1F1F0}",title:"\u8A9E\u8A00"}},L=function(D){var T,j=D.globalIconClassName,K=D.postLocalesData,k=D.onItemClick,te=D.icon,V=D.style,q=D.reload,le=c()(D,C),X=(0,m.useState)(function(){return(0,a.Kd)()}),W=o()(X,2),x=W[0],O=W[1],_=function(Je){var Qe=Je.key;(0,a.i_)(Qe,q),O((0,a.Kd)())},U=(0,a.XZ)().map(function(Ge){return N[Ge]||{lang:Ge,label:Ge,icon:"\u{1F310}",title:Ge}}),A=(K==null?void 0:K(U))||U,G=k?function(Ge){return k(Ge)}:_,fe={minWidth:"160px"},pe={marginRight:"8px"},ge={selectedKeys:[x],onClick:G,items:A.map(function(Ge){return{key:Ge.lang||Ge.key,style:fe,label:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("span",{role:"img","aria-label":(Ge==null?void 0:Ge.label)||"en-US",style:pe,children:(Ge==null?void 0:Ge.icon)||"\u{1F310}"}),(Ge==null?void 0:Ge.label)||"en-US"]})}})},be;M.Z.startsWith("5.")||M.Z.startsWith("4.24.")?be={menu:ge}:M.Z.startsWith("3.")?be={overlay:(0,S.jsx)(h.Z,{children:ge.items.map(function(Ge){return(0,S.jsx)(h.Z.Item,{onClick:Ge.onClick,children:Ge.label},Ge.key)})})}:be={overlay:(0,S.jsx)(h.Z,d()({},ge))};var Te=d()({cursor:"pointer",padding:"12px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:18,verticalAlign:"middle"},V);return(0,S.jsx)(F,d()(d()(d()({},be),{},{placement:"bottomRight"},le),{},{children:(0,S.jsx)("span",{className:j,style:Te,children:(0,S.jsx)("i",{className:"anticon",title:(T=A[x])===null||T===void 0?void 0:T.title,children:te||(0,S.jsxs)("svg",{viewBox:"0 0 24 24",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,S.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,S.jsx)("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",className:"css-c4d79v"})]})})})}))}},16221:function(b,y,e){"use strict";e.d(y,{_H:function(){return wn},PZ:function(){return Xr},eU:function(){return j},B:function(){return Sr},wv:function(){return No},XZ:function(){return ho},Mg:function(){return ka},lw:function(){return Ja},Kd:function(){return Ua},H8:function(){return wr},i_:function(){return Qa},YB:function(){return Rn}});var a=e(62376),t=e.n(a),o=e(63900),s=e.n(o),n=e(77016),d=e.n(n),l=e(61697),c=e.n(l),m=e(1769),g=e.n(m),M=e(19881),h=e.n(M),S=e(58757),w=e.t(S,2),C=e(2657),F=e(10063),Z=e.n(F),N=Z()||F;function L(dt){return dt.displayName||dt.name||"Component"}var $=S.createContext(null),D=$.Consumer,T=$.Provider,j=T,K=$;function k(dt,Rt){var Ae=Rt||{},dn=Ae.intlPropName,Pn=dn===void 0?"intl":dn,Sn=Ae.forwardRef,er=Sn===void 0?!1:Sn,ir=Ae.enforceContext,Hr=ir===void 0?!0:ir,Oa=function(Jr){return React.createElement(D,null,function(na){return Hr&&invariantIntlContext(na),React.createElement(dt,Object.assign({},Jr,_defineProperty({},Pn,na),{ref:er?Jr.forwardedRef:null}))})};return Oa.displayName="injectIntl(".concat(L(dt),")"),Oa.WrappedComponent=dt,N(er?React.forwardRef(function(oa,Jr){return React.createElement(Oa,Object.assign({},oa,{forwardedRef:Jr}))}):Oa,dt)}var te;(function(dt){dt[dt.literal=0]="literal",dt[dt.argument=1]="argument",dt[dt.number=2]="number",dt[dt.date=3]="date",dt[dt.time=4]="time",dt[dt.select=5]="select",dt[dt.plural=6]="plural",dt[dt.pound=7]="pound"})(te||(te={}));function V(dt){return dt.type===te.literal}function q(dt){return dt.type===te.argument}function le(dt){return dt.type===te.number}function X(dt){return dt.type===te.date}function W(dt){return dt.type===te.time}function x(dt){return dt.type===te.select}function O(dt){return dt.type===te.plural}function _(dt){return dt.type===te.pound}function U(dt){return!!(dt&&typeof dt=="object"&&dt.type===0)}function A(dt){return!!(dt&&typeof dt=="object"&&dt.type===1)}function G(dt){return{type:te.literal,value:dt}}function fe(dt,Rt){return{type:te.number,value:dt,style:Rt}}var pe=function(){var dt=function(Rt,Ae){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(dn,Pn){dn.__proto__=Pn}||function(dn,Pn){for(var Sn in Pn)Pn.hasOwnProperty(Sn)&&(dn[Sn]=Pn[Sn])},dt(Rt,Ae)};return function(Rt,Ae){dt(Rt,Ae);function dn(){this.constructor=Rt}Rt.prototype=Ae===null?Object.create(Ae):(dn.prototype=Ae.prototype,new dn)}}(),ge=function(){return ge=Object.assign||function(dt){for(var Rt,Ae=1,dn=arguments.length;Ae0){for(na=1,Lr=1;nazo&&(zo=Ft,dl=[]),dl.push(at))}function au(at,Kt){return new be(at,[],"",Kt)}function _i(at,Kt,Vn){return new be(be.buildMessage(at,Kt),at,Kt,Vn)}function Al(){var at;return at=vl(),at}function vl(){var at,Kt;for(at=[],Kt=vu();Kt!==Ae;)at.push(Kt),Kt=vu();return at}function vu(){var at;return at=tc(),at===Ae&&(at=Lo(),at===Ae&&(at=Uu(),at===Ae&&(at=gu(),at===Ae&&(at=ss(),at===Ae&&(at=Zu()))))),at}function Bl(){var at,Kt,Vn;if(at=Ft,Kt=[],Vn=Zi(),Vn===Ae&&(Vn=iu(),Vn===Ae&&(Vn=mu())),Vn!==Ae)for(;Vn!==Ae;)Kt.push(Vn),Vn=Zi(),Vn===Ae&&(Vn=iu(),Vn===Ae&&(Vn=mu()));else Kt=Ae;return Kt!==Ae&&(So=at,Kt=Sn(Kt)),at=Kt,at}function tc(){var at,Kt;return at=Ft,Kt=Bl(),Kt!==Ae&&(So=at,Kt=er(Kt)),at=Kt,at}function Zu(){var at,Kt;return at=Ft,dt.charCodeAt(Ft)===35?(Kt=ir,Ft++):(Kt=Ae,sa===0&&Na(Hr)),Kt!==Ae&&(So=at,Kt=Oa()),at=Kt,at}function Lo(){var at,Kt,Vn,gr,Da,lo;return sa++,at=Ft,dt.charCodeAt(Ft)===123?(Kt=Jr,Ft++):(Kt=Ae,sa===0&&Na(na)),Kt!==Ae?(Vn=vo(),Vn!==Ae?(gr=wl(),gr!==Ae?(Da=vo(),Da!==Ae?(dt.charCodeAt(Ft)===125?(lo=Lr,Ft++):(lo=Ae,sa===0&&Na(Zr)),lo!==Ae?(So=at,Kt=ca(gr),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae),sa--,at===Ae&&(Kt=Ae,sa===0&&Na(oa)),at}function Au(){var at,Kt,Vn,gr,Da;if(sa++,at=Ft,Kt=[],Vn=Ft,gr=Ft,sa++,Da=qi(),Da===Ae&&(eo.test(dt.charAt(Ft))?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(Va))),sa--,Da===Ae?gr=void 0:(Ft=gr,gr=Ae),gr!==Ae?(dt.length>Ft?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(Xt)),Da!==Ae?(gr=[gr,Da],Vn=gr):(Ft=Vn,Vn=Ae)):(Ft=Vn,Vn=Ae),Vn!==Ae)for(;Vn!==Ae;)Kt.push(Vn),Vn=Ft,gr=Ft,sa++,Da=qi(),Da===Ae&&(eo.test(dt.charAt(Ft))?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(Va))),sa--,Da===Ae?gr=void 0:(Ft=gr,gr=Ae),gr!==Ae?(dt.length>Ft?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(Xt)),Da!==Ae?(gr=[gr,Da],Vn=gr):(Ft=Vn,Vn=Ae)):(Ft=Vn,Vn=Ae);else Kt=Ae;return Kt!==Ae?at=dt.substring(at,Ft):at=Kt,sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Ta)),at}function Kl(){var at,Kt,Vn;return sa++,at=Ft,dt.charCodeAt(Ft)===47?(Kt=Tn,Ft++):(Kt=Ae,sa===0&&Na(tr)),Kt!==Ae?(Vn=Au(),Vn!==Ae?(So=at,Kt=yr(Vn),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae),sa--,at===Ae&&(Kt=Ae,sa===0&&Na(In)),at}function vs(){var at,Kt,Vn,gr,Da;if(sa++,at=Ft,Kt=vo(),Kt!==Ae)if(Vn=Au(),Vn!==Ae){for(gr=[],Da=Kl();Da!==Ae;)gr.push(Da),Da=Kl();gr!==Ae?(So=at,Kt=ea(Vn,gr),at=Kt):(Ft=at,at=Ae)}else Ft=at,at=Ae;else Ft=at,at=Ae;return sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Wr)),at}function Ol(){var at,Kt,Vn;if(at=Ft,Kt=[],Vn=vs(),Vn!==Ae)for(;Vn!==Ae;)Kt.push(Vn),Vn=vs();else Kt=Ae;return Kt!==Ae&&(So=at,Kt=dr(Kt)),at=Kt,at}function gl(){var at,Kt,Vn;return at=Ft,dt.substr(Ft,2)===_r?(Kt=_r,Ft+=2):(Kt=Ae,sa===0&&Na(la)),Kt!==Ae?(Vn=Ol(),Vn!==Ae?(So=at,Kt=Ia(Vn),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae),at===Ae&&(at=Ft,So=Ft,Kt=Ca(),Kt?Kt=void 0:Kt=Ae,Kt!==Ae?(Vn=Bl(),Vn!==Ae?(So=at,Kt=qr(Vn),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)),at}function kt(){var at,Kt,Vn,gr,Da,lo,ii,Fo,es,ei,di,Eo,Ao;return at=Ft,dt.charCodeAt(Ft)===123?(Kt=Jr,Ft++):(Kt=Ae,sa===0&&Na(na)),Kt!==Ae?(Vn=vo(),Vn!==Ae?(gr=wl(),gr!==Ae?(Da=vo(),Da!==Ae?(dt.charCodeAt(Ft)===44?(lo=fo,Ft++):(lo=Ae,sa===0&&Na(Co)),lo!==Ae?(ii=vo(),ii!==Ae?(dt.substr(Ft,6)===_a?(Fo=_a,Ft+=6):(Fo=Ae,sa===0&&Na(bo)),Fo!==Ae?(es=vo(),es!==Ae?(ei=Ft,dt.charCodeAt(Ft)===44?(di=fo,Ft++):(di=Ae,sa===0&&Na(Co)),di!==Ae?(Eo=vo(),Eo!==Ae?(Ao=gl(),Ao!==Ae?(di=[di,Eo,Ao],ei=di):(Ft=ei,ei=Ae)):(Ft=ei,ei=Ae)):(Ft=ei,ei=Ae),ei===Ae&&(ei=null),ei!==Ae?(di=vo(),di!==Ae?(dt.charCodeAt(Ft)===125?(Eo=Lr,Ft++):(Eo=Ae,sa===0&&Na(Zr)),Eo!==Ae?(So=at,Kt=so(gr,Fo,ei),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae),at}function Di(){var at,Kt,Vn,gr;if(at=Ft,dt.charCodeAt(Ft)===39?(Kt=Sa,Ft++):(Kt=Ae,sa===0&&Na(Ba)),Kt!==Ae){if(Vn=[],gr=Zi(),gr===Ae&&(Mo.test(dt.charAt(Ft))?(gr=dt.charAt(Ft),Ft++):(gr=Ae,sa===0&&Na(Ko))),gr!==Ae)for(;gr!==Ae;)Vn.push(gr),gr=Zi(),gr===Ae&&(Mo.test(dt.charAt(Ft))?(gr=dt.charAt(Ft),Ft++):(gr=Ae,sa===0&&Na(Ko)));else Vn=Ae;Vn!==Ae?(dt.charCodeAt(Ft)===39?(gr=Sa,Ft++):(gr=Ae,sa===0&&Na(Ba)),gr!==Ae?(Kt=[Kt,Vn,gr],at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)}else Ft=at,at=Ae;if(at===Ae)if(at=[],Kt=Zi(),Kt===Ae&&(Jo.test(dt.charAt(Ft))?(Kt=dt.charAt(Ft),Ft++):(Kt=Ae,sa===0&&Na(ao))),Kt!==Ae)for(;Kt!==Ae;)at.push(Kt),Kt=Zi(),Kt===Ae&&(Jo.test(dt.charAt(Ft))?(Kt=dt.charAt(Ft),Ft++):(Kt=Ae,sa===0&&Na(ao)));else at=Ae;return at}function Ql(){var at,Kt;if(at=[],yi.test(dt.charAt(Ft))?(Kt=dt.charAt(Ft),Ft++):(Kt=Ae,sa===0&&Na(ji)),Kt!==Ae)for(;Kt!==Ae;)at.push(Kt),yi.test(dt.charAt(Ft))?(Kt=dt.charAt(Ft),Ft++):(Kt=Ae,sa===0&&Na(ji));else at=Ae;return at}function $i(){var at,Kt,Vn,gr;if(at=Ft,Kt=Ft,Vn=[],gr=Di(),gr===Ae&&(gr=Ql()),gr!==Ae)for(;gr!==Ae;)Vn.push(gr),gr=Di(),gr===Ae&&(gr=Ql());else Vn=Ae;return Vn!==Ae?Kt=dt.substring(Kt,Ft):Kt=Vn,Kt!==Ae&&(So=at,Kt=_o(Kt)),at=Kt,at}function $o(){var at,Kt,Vn;return at=Ft,dt.substr(Ft,2)===_r?(Kt=_r,Ft+=2):(Kt=Ae,sa===0&&Na(la)),Kt!==Ae?(Vn=$i(),Vn!==Ae?(So=at,Kt=Ia(Vn),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae),at===Ae&&(at=Ft,So=Ft,Kt=Bo(),Kt?Kt=void 0:Kt=Ae,Kt!==Ae?(Vn=Bl(),Vn!==Ae?(So=at,Kt=qr(Vn),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)),at}function uo(){var at,Kt,Vn,gr,Da,lo,ii,Fo,es,ei,di,Eo,Ao;return at=Ft,dt.charCodeAt(Ft)===123?(Kt=Jr,Ft++):(Kt=Ae,sa===0&&Na(na)),Kt!==Ae?(Vn=vo(),Vn!==Ae?(gr=wl(),gr!==Ae?(Da=vo(),Da!==Ae?(dt.charCodeAt(Ft)===44?(lo=fo,Ft++):(lo=Ae,sa===0&&Na(Co)),lo!==Ae?(ii=vo(),ii!==Ae?(dt.substr(Ft,4)===oi?(Fo=oi,Ft+=4):(Fo=Ae,sa===0&&Na(ri)),Fo===Ae&&(dt.substr(Ft,4)===Si?(Fo=Si,Ft+=4):(Fo=Ae,sa===0&&Na(Ni))),Fo!==Ae?(es=vo(),es!==Ae?(ei=Ft,dt.charCodeAt(Ft)===44?(di=fo,Ft++):(di=Ae,sa===0&&Na(Co)),di!==Ae?(Eo=vo(),Eo!==Ae?(Ao=$o(),Ao!==Ae?(di=[di,Eo,Ao],ei=di):(Ft=ei,ei=Ae)):(Ft=ei,ei=Ae)):(Ft=ei,ei=Ae),ei===Ae&&(ei=null),ei!==Ae?(di=vo(),di!==Ae?(dt.charCodeAt(Ft)===125?(Eo=Lr,Ft++):(Eo=Ae,sa===0&&Na(Zr)),Eo!==Ae?(So=at,Kt=so(gr,Fo,ei),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae),at}function Uu(){var at;return at=kt(),at===Ae&&(at=uo()),at}function gu(){var at,Kt,Vn,gr,Da,lo,ii,Fo,es,ei,di,Eo,Ao,ki,ms,Du;if(at=Ft,dt.charCodeAt(Ft)===123?(Kt=Jr,Ft++):(Kt=Ae,sa===0&&Na(na)),Kt!==Ae)if(Vn=vo(),Vn!==Ae)if(gr=wl(),gr!==Ae)if(Da=vo(),Da!==Ae)if(dt.charCodeAt(Ft)===44?(lo=fo,Ft++):(lo=Ae,sa===0&&Na(Co)),lo!==Ae)if(ii=vo(),ii!==Ae)if(dt.substr(Ft,6)===Ei?(Fo=Ei,Ft+=6):(Fo=Ae,sa===0&&Na(to)),Fo===Ae&&(dt.substr(Ft,13)===Ga?(Fo=Ga,Ft+=13):(Fo=Ae,sa===0&&Na(Qo))),Fo!==Ae)if(es=vo(),es!==Ae)if(dt.charCodeAt(Ft)===44?(ei=fo,Ft++):(ei=Ae,sa===0&&Na(Co)),ei!==Ae)if(di=vo(),di!==Ae)if(Eo=Ft,dt.substr(Ft,7)===qo?(Ao=qo,Ft+=7):(Ao=Ae,sa===0&&Na(xo)),Ao!==Ae?(ki=vo(),ki!==Ae?(ms=Js(),ms!==Ae?(Ao=[Ao,ki,ms],Eo=Ao):(Ft=Eo,Eo=Ae)):(Ft=Eo,Eo=Ae)):(Ft=Eo,Eo=Ae),Eo===Ae&&(Eo=null),Eo!==Ae)if(Ao=vo(),Ao!==Ae){if(ki=[],ms=xi(),ms!==Ae)for(;ms!==Ae;)ki.push(ms),ms=xi();else ki=Ae;ki!==Ae?(ms=vo(),ms!==Ae?(dt.charCodeAt(Ft)===125?(Du=Lr,Ft++):(Du=Ae,sa===0&&Na(Zr)),Du!==Ae?(So=at,Kt=Ro(gr,Fo,Eo,ki),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)}else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;return at}function ss(){var at,Kt,Vn,gr,Da,lo,ii,Fo,es,ei,di,Eo,Ao,ki;if(at=Ft,dt.charCodeAt(Ft)===123?(Kt=Jr,Ft++):(Kt=Ae,sa===0&&Na(na)),Kt!==Ae)if(Vn=vo(),Vn!==Ae)if(gr=wl(),gr!==Ae)if(Da=vo(),Da!==Ae)if(dt.charCodeAt(Ft)===44?(lo=fo,Ft++):(lo=Ae,sa===0&&Na(Co)),lo!==Ae)if(ii=vo(),ii!==Ae)if(dt.substr(Ft,6)===Ci?(Fo=Ci,Ft+=6):(Fo=Ae,sa===0&&Na(Ri)),Fo!==Ae)if(es=vo(),es!==Ae)if(dt.charCodeAt(Ft)===44?(ei=fo,Ft++):(ei=Ae,sa===0&&Na(Co)),ei!==Ae)if(di=vo(),di!==Ae){if(Eo=[],Ao=Mi(),Ao!==Ae)for(;Ao!==Ae;)Eo.push(Ao),Ao=Mi();else Eo=Ae;Eo!==Ae?(Ao=vo(),Ao!==Ae?(dt.charCodeAt(Ft)===125?(ki=Lr,Ft++):(ki=Ae,sa===0&&Na(Zr)),ki!==Ae?(So=at,Kt=Ui(gr,Eo),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)}else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;else Ft=at,at=Ae;return at}function Dl(){var at,Kt,Vn,gr;return at=Ft,Kt=Ft,dt.charCodeAt(Ft)===61?(Vn=Os,Ft++):(Vn=Ae,sa===0&&Na(fs)),Vn!==Ae?(gr=Js(),gr!==Ae?(Vn=[Vn,gr],Kt=Vn):(Ft=Kt,Kt=Ae)):(Ft=Kt,Kt=Ae),Kt!==Ae?at=dt.substring(at,Ft):at=Kt,at===Ae&&(at=Ss()),at}function Mi(){var at,Kt,Vn,gr,Da,lo,ii,Fo;return at=Ft,Kt=vo(),Kt!==Ae?(Vn=Ss(),Vn!==Ae?(gr=vo(),gr!==Ae?(dt.charCodeAt(Ft)===123?(Da=Jr,Ft++):(Da=Ae,sa===0&&Na(na)),Da!==Ae?(So=Ft,lo=Gs(Vn),lo?lo=void 0:lo=Ae,lo!==Ae?(ii=vl(),ii!==Ae?(dt.charCodeAt(Ft)===125?(Fo=Lr,Ft++):(Fo=Ae,sa===0&&Na(Zr)),Fo!==Ae?(So=at,Kt=xl(Vn,ii),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae),at}function xi(){var at,Kt,Vn,gr,Da,lo,ii,Fo;return at=Ft,Kt=vo(),Kt!==Ae?(Vn=Dl(),Vn!==Ae?(gr=vo(),gr!==Ae?(dt.charCodeAt(Ft)===123?(Da=Jr,Ft++):(Da=Ae,sa===0&&Na(na)),Da!==Ae?(So=Ft,lo=Kn(Vn),lo?lo=void 0:lo=Ae,lo!==Ae?(ii=vl(),ii!==Ae?(dt.charCodeAt(Ft)===125?(Fo=Lr,Ft++):(Fo=Ae,sa===0&&Na(Zr)),Fo!==Ae?(So=at,Kt=Gr(Vn,ii),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae)):(Ft=at,at=Ae),at}function qi(){var at,Kt;return sa++,Br.test(dt.charAt(Ft))?(at=dt.charAt(Ft),Ft++):(at=Ae,sa===0&&Na(ra)),sa--,at===Ae&&(Kt=Ae,sa===0&&Na(jr)),at}function as(){var at,Kt;return sa++,Ra.test(dt.charAt(Ft))?(at=dt.charAt(Ft),Ft++):(at=Ae,sa===0&&Na(Pa)),sa--,at===Ae&&(Kt=Ae,sa===0&&Na(ja)),at}function vo(){var at,Kt,Vn;for(sa++,at=Ft,Kt=[],Vn=qi();Vn!==Ae;)Kt.push(Vn),Vn=qi();return Kt!==Ae?at=dt.substring(at,Ft):at=Kt,sa--,at===Ae&&(Kt=Ae,sa===0&&Na(To)),at}function Js(){var at,Kt,Vn;return sa++,at=Ft,dt.charCodeAt(Ft)===45?(Kt=Zo,Ft++):(Kt=Ae,sa===0&&Na(zi)),Kt===Ae&&(Kt=null),Kt!==Ae?(Vn=jl(),Vn!==Ae?(So=at,Kt=bs(Kt,Vn),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae),sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Yo)),at}function ou(){var at,Kt;return sa++,dt.charCodeAt(Ft)===39?(at=Sa,Ft++):(at=Ae,sa===0&&Na(Ba)),sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Gi)),at}function Zi(){var at,Kt;return sa++,at=Ft,dt.substr(Ft,2)===Xi?(Kt=Xi,Ft+=2):(Kt=Ae,sa===0&&Na(Vo)),Kt!==Ae&&(So=at,Kt=tu()),at=Kt,sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Ds)),at}function iu(){var at,Kt,Vn,gr,Da,lo;if(at=Ft,dt.charCodeAt(Ft)===39?(Kt=Sa,Ft++):(Kt=Ae,sa===0&&Na(Ba)),Kt!==Ae)if(Vn=Us(),Vn!==Ae){for(gr=Ft,Da=[],dt.substr(Ft,2)===Xi?(lo=Xi,Ft+=2):(lo=Ae,sa===0&&Na(Vo)),lo===Ae&&(Mo.test(dt.charAt(Ft))?(lo=dt.charAt(Ft),Ft++):(lo=Ae,sa===0&&Na(Ko)));lo!==Ae;)Da.push(lo),dt.substr(Ft,2)===Xi?(lo=Xi,Ft+=2):(lo=Ae,sa===0&&Na(Vo)),lo===Ae&&(Mo.test(dt.charAt(Ft))?(lo=dt.charAt(Ft),Ft++):(lo=Ae,sa===0&&Na(Ko)));Da!==Ae?gr=dt.substring(gr,Ft):gr=Da,gr!==Ae?(dt.charCodeAt(Ft)===39?(Da=Sa,Ft++):(Da=Ae,sa===0&&Na(Ba)),Da===Ae&&(Da=null),Da!==Ae?(So=at,Kt=Il(Vn,gr),at=Kt):(Ft=at,at=Ae)):(Ft=at,at=Ae)}else Ft=at,at=Ae;else Ft=at,at=Ae;return at}function mu(){var at,Kt,Vn,gr;return at=Ft,Kt=Ft,dt.length>Ft?(Vn=dt.charAt(Ft),Ft++):(Vn=Ae,sa===0&&Na(Xt)),Vn!==Ae?(So=Ft,gr=ul(Vn),gr?gr=void 0:gr=Ae,gr!==Ae?(Vn=[Vn,gr],Kt=Vn):(Ft=Kt,Kt=Ae)):(Ft=Kt,Kt=Ae),Kt===Ae&&(dt.charCodeAt(Ft)===10?(Kt=Iu,Ft++):(Kt=Ae,sa===0&&Na(cl))),Kt!==Ae?at=dt.substring(at,Ft):at=Kt,at}function Us(){var at,Kt,Vn,gr;return at=Ft,Kt=Ft,dt.length>Ft?(Vn=dt.charAt(Ft),Ft++):(Vn=Ae,sa===0&&Na(Xt)),Vn!==Ae?(So=Ft,gr=Ks(Vn),gr?gr=void 0:gr=Ae,gr!==Ae?(Vn=[Vn,gr],Kt=Vn):(Ft=Kt,Kt=Ae)):(Ft=Kt,Kt=Ae),Kt!==Ae?at=dt.substring(at,Ft):at=Kt,at}function wl(){var at,Kt;return sa++,at=Ft,Kt=jl(),Kt===Ae&&(Kt=Ss()),Kt!==Ae?at=dt.substring(at,Ft):at=Kt,sa--,at===Ae&&(Kt=Ae,sa===0&&Na(ws)),at}function jl(){var at,Kt,Vn,gr,Da;if(sa++,at=Ft,dt.charCodeAt(Ft)===48?(Kt=zl,Ft++):(Kt=Ae,sa===0&&Na(fu)),Kt!==Ae&&(So=at,Kt=rs()),at=Kt,at===Ae){if(at=Ft,Kt=Ft,Ms.test(dt.charAt(Ft))?(Vn=dt.charAt(Ft),Ft++):(Vn=Ae,sa===0&&Na(Bs)),Vn!==Ae){for(gr=[],js.test(dt.charAt(Ft))?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(nu));Da!==Ae;)gr.push(Da),js.test(dt.charAt(Ft))?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(nu));gr!==Ae?(Vn=[Vn,gr],Kt=Vn):(Ft=Kt,Kt=Ae)}else Ft=Kt,Kt=Ae;Kt!==Ae&&(So=at,Kt=Vl(Kt)),at=Kt}return sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Qs)),at}function Ss(){var at,Kt,Vn,gr,Da;if(sa++,at=Ft,Kt=[],Vn=Ft,gr=Ft,sa++,Da=qi(),Da===Ae&&(Da=as()),sa--,Da===Ae?gr=void 0:(Ft=gr,gr=Ae),gr!==Ae?(dt.length>Ft?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(Xt)),Da!==Ae?(gr=[gr,Da],Vn=gr):(Ft=Vn,Vn=Ae)):(Ft=Vn,Vn=Ae),Vn!==Ae)for(;Vn!==Ae;)Kt.push(Vn),Vn=Ft,gr=Ft,sa++,Da=qi(),Da===Ae&&(Da=as()),sa--,Da===Ae?gr=void 0:(Ft=gr,gr=Ae),gr!==Ae?(dt.length>Ft?(Da=dt.charAt(Ft),Ft++):(Da=Ae,sa===0&&Na(Xt)),Da!==Ae?(gr=[gr,Da],Vn=gr):(Ft=Vn,Vn=Ae)):(Ft=Vn,Vn=Ae);else Kt=Ae;return Kt!==Ae?at=dt.substring(at,Ft):at=Kt,sa--,at===Ae&&(Kt=Ae,sa===0&&Na(Ps)),at}var gs=["root"];function Ou(){return gs.length>1}function ks(){return gs[gs.length-1]==="plural"}function va(){return Rt&&Rt.captureLocation?{location:Xs()}:{}}if(fl=Pn(),fl!==Ae&&Ft===dt.length)return fl;throw fl!==Ae&&Ft1)throw new RangeError("Fraction-precision stems only accept a single optional option");Pn.stem.replace(R,function(er,ir,Hr){return er==="."?Rt.maximumFractionDigits=0:Hr==="+"?Rt.minimumFractionDigits=Hr.length:ir[0]==="#"?Rt.maximumFractionDigits=ir.length:(Rt.minimumFractionDigits=ir.length,Rt.maximumFractionDigits=ir.length+(typeof Hr=="string"?Hr.length:0)),""}),Pn.options.length&&(Rt=Ke(Ke({},Rt),ae(Pn.options[0])));continue}if(P.test(Pn.stem)){Rt=Ke(Ke({},Rt),ae(Pn.stem));continue}var Sn=Q(Pn.stem);Sn&&(Rt=Ke(Ke({},Rt),Sn))}return Rt}var je=function(){var dt=function(Rt,Ae){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(dn,Pn){dn.__proto__=Pn}||function(dn,Pn){for(var Sn in Pn)Pn.hasOwnProperty(Sn)&&(dn[Sn]=Pn[Sn])},dt(Rt,Ae)};return function(Rt,Ae){dt(Rt,Ae);function dn(){this.constructor=Rt}Rt.prototype=Ae===null?Object.create(Ae):(dn.prototype=Ae.prototype,new dn)}}(),Ee=function(){for(var dt=0,Rt=0,Ae=arguments.length;Rt(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Re=Date.now()+"@@",st=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function tt(dt,zt,Ae){var dn=dt.tagName,Dn=dt.outerHTML,Mn=dt.textContent,qn=dt.childNodes;if(!dn)return Oe(Mn||"",zt);dn=dn.toLowerCase();var rr=~st.indexOf(dn),Hr=Ae[dn];if(Hr&&rr)throw new Me(dn+" is a self-closing tag and can not be used, please use another tag name.");if(!qn.length)return[Dn];var Da=Array.prototype.slice.call(qn).reduce(function(ia,Jr){return ia.concat(tt(Jr,zt,Ae))},[]);return Hr?typeof Hr=="function"?[Hr.apply(void 0,Da)]:[Hr]:Ee(["<"+dn+">"],Da,[""])}function Ye(dt,zt,Ae,dn,Dn,Mn){var qn=re(dt,zt,Ae,dn,Dn,void 0,Mn),rr={},Hr=qn.reduce(function(aa,Pr){if(Pr.type===0)return aa+=Pr.value;var Zr=Ne();return rr[Zr]=Pr.value,aa+=""+ce+Zr+ce},"");if(!we.test(Hr))return Oe(Hr,rr);if(!Dn)throw new Me("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Me("Cannot format XML message without DOMParser");J||(J=new DOMParser);var Da=J.parseFromString(''+Hr+"","text/html").getElementById(Re);if(!Da)throw new Me("Malformed HTML message "+Hr);var ia=Object.keys(Dn).filter(function(aa){return!!Da.getElementsByTagName(aa).length});if(!ia.length)return Oe(Hr,rr);var Jr=ia.filter(function(aa){return aa!==aa.toLowerCase()});if(Jr.length)throw new Me("HTML tag must be lowercased but the following tags are not: "+Jr.join(", "));return Array.prototype.slice.call(Da.childNodes).reduce(function(aa,Pr){return aa.concat(tt(Pr,rr,Dn))},[])}var ke=function(){return ke=Object.assign||function(dt){for(var zt,Ae=1,dn=arguments.length;Ae<"']/g;function ze(dt){return(""+dt).replace(yt,function(zt){return Yt[zt.charCodeAt(0)]})}function nt(dt,zt){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return zt.reduce(function(dn,Dn){return Dn in dt?dn[Dn]=dt[Dn]:Dn in Ae&&(dn[Dn]=Ae[Dn]),dn},{})}function Et(dt){jt(dt,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function lt(dt,zt){var Ae=zt?` -`.concat(zt.stack):"";return"[React Intl] ".concat(dt).concat(Ae)}function Gt(dt){}var Rt={formats:{},messages:{},timeZone:void 0,textComponent:S.Fragment,defaultLocale:"en",defaultFormats:{},onError:Gt};function Ot(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ie(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ot(),zt=Intl.RelativeTimeFormat,Ae=Intl.ListFormat,dn=Intl.DisplayNames;return{getDateTimeFormat:rt(Intl.DateTimeFormat,dt.dateTime),getNumberFormat:rt(Intl.NumberFormat,dt.number),getMessageFormat:rt(wt,dt.message),getRelativeTimeFormat:rt(zt,dt.relativeTime),getPluralRules:rt(Intl.PluralRules,dt.pluralRules),getListFormat:rt(Ae,dt.list),getDisplayNames:rt(dn,dt.displayNames)}}function Se(dt,zt,Ae,dn){var Dn=dt&&dt[zt],Mn;if(Dn&&(Mn=Dn[Ae]),Mn)return Mn;dn(lt("No ".concat(zt," format named: ").concat(Ae)))}var bt=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Pt(dt,zt){var Ae=dt.locale,dn=dt.formats,Dn=dt.onError,Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},qn=Mn.format,rr=qn&&Se(dn,"number",qn,Dn)||{},Hr=nt(Mn,bt,rr);return zt(Ae,Hr)}function He(dt,zt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Pt(dt,zt,dn).format(Ae)}catch(Dn){dt.onError(lt("Error formatting number.",Dn))}return String(Ae)}function qe(dt,zt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Pt(dt,zt,dn).formatToParts(Ae)}catch(Dn){dt.onError(lt("Error formatting number.",Dn))}return[]}var Zt=["numeric","style"];function Ut(dt,zt){var Ae=dt.locale,dn=dt.formats,Dn=dt.onError,Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},qn=Mn.format,rr=!!qn&&Se(dn,"relative",qn,Dn)||{},Hr=nt(Mn,Zt,rr);return zt(Ae,Hr)}function qt(dt,zt,Ae,dn){var Dn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};dn||(dn="second");var Mn=Intl.RelativeTimeFormat;Mn||dt.onError(lt(`Intl.RelativeTimeFormat is not available in this environment. +`);var ca=Ae.getPluralRules(Rt,{type:oa.pluralType}).select(na-(oa.offset||0));Zr=oa.options[ca]||oa.options.other}if(!Zr)throw new RangeError('Invalid values for "'+oa.value+'": "'+na+'". Options are "'+Object.keys(oa.options).join('", "')+'"');ir.push.apply(ir,re(Zr.value,Rt,Ae,dn,Pn,na-(oa.offset||0)));continue}}return We(ir)}function se(dt,Rt,Ae,dn,Pn,Sn){var er=re(dt,Rt,Ae,dn,Pn,void 0,Sn);return er.length===1?er[0].value:er.reduce(function(ir,Hr){return ir+=Hr.value},"")}var J,de="@@",xe=/@@(\d+_\d+)@@/g,ce=0;function Le(){return Date.now()+"_"+ ++ce}function Oe(dt,Rt){return dt.split(xe).filter(Boolean).map(function(Ae){return Rt[Ae]!=null?Rt[Ae]:Ae}).reduce(function(Ae,dn){return Ae.length&&typeof dn=="string"&&typeof Ae[Ae.length-1]=="string"?Ae[Ae.length-1]+=dn:Ae.push(dn),Ae},[])}var we=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ne=Date.now()+"@@",st=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function et(dt,Rt,Ae){var dn=dt.tagName,Pn=dt.outerHTML,Sn=dt.textContent,er=dt.childNodes;if(!dn)return Oe(Sn||"",Rt);dn=dn.toLowerCase();var ir=~st.indexOf(dn),Hr=Ae[dn];if(Hr&&ir)throw new Me(dn+" is a self-closing tag and can not be used, please use another tag name.");if(!er.length)return[Pn];var Oa=Array.prototype.slice.call(er).reduce(function(oa,Jr){return oa.concat(et(Jr,Rt,Ae))},[]);return Hr?typeof Hr=="function"?[Hr.apply(void 0,Oa)]:[Hr]:Ee(["<"+dn+">"],Oa,[""])}function Ye(dt,Rt,Ae,dn,Pn,Sn){var er=re(dt,Rt,Ae,dn,Pn,void 0,Sn),ir={},Hr=er.reduce(function(na,Lr){if(Lr.type===0)return na+=Lr.value;var Zr=Le();return ir[Zr]=Lr.value,na+=""+de+Zr+de},"");if(!we.test(Hr))return Oe(Hr,ir);if(!Pn)throw new Me("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Me("Cannot format XML message without DOMParser");J||(J=new DOMParser);var Oa=J.parseFromString(''+Hr+"","text/html").getElementById(Ne);if(!Oa)throw new Me("Malformed HTML message "+Hr);var oa=Object.keys(Pn).filter(function(na){return!!Oa.getElementsByTagName(na).length});if(!oa.length)return Oe(Hr,ir);var Jr=oa.filter(function(na){return na!==na.toLowerCase()});if(Jr.length)throw new Me("HTML tag must be lowercased but the following tags are not: "+Jr.join(", "));return Array.prototype.slice.call(Oa.childNodes).reduce(function(na,Lr){return na.concat(et(Lr,ir,Pn))},[])}var ke=function(){return ke=Object.assign||function(dt){for(var Rt,Ae=1,dn=arguments.length;Ae<"']/g;function ze(dt){return(""+dt).replace(yt,function(Rt){return _t[Rt.charCodeAt(0)]})}function tt(dt,Rt){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Rt.reduce(function(dn,Pn){return Pn in dt?dn[Pn]=dt[Pn]:Pn in Ae&&(dn[Pn]=Ae[Pn]),dn},{})}function St(dt){wt(dt,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function lt(dt,Rt){var Ae=Rt?` +`.concat(Rt.stack):"";return"[React Intl] ".concat(dt).concat(Ae)}function Gt(dt){}var Nt={formats:{},messages:{},timeZone:void 0,textComponent:S.Fragment,defaultLocale:"en",defaultFormats:{},onError:Gt};function At(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ie(){var dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:At(),Rt=Intl.RelativeTimeFormat,Ae=Intl.ListFormat,dn=Intl.DisplayNames;return{getDateTimeFormat:nt(Intl.DateTimeFormat,dt.dateTime),getNumberFormat:nt(Intl.NumberFormat,dt.number),getMessageFormat:nt(Ot,dt.message),getRelativeTimeFormat:nt(Rt,dt.relativeTime),getPluralRules:nt(Intl.PluralRules,dt.pluralRules),getListFormat:nt(Ae,dt.list),getDisplayNames:nt(dn,dt.displayNames)}}function Se(dt,Rt,Ae,dn){var Pn=dt&&dt[Rt],Sn;if(Pn&&(Sn=Pn[Ae]),Sn)return Sn;dn(lt("No ".concat(Rt," format named: ").concat(Ae)))}var bt=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function jt(dt,Rt){var Ae=dt.locale,dn=dt.formats,Pn=dt.onError,Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},er=Sn.format,ir=er&&Se(dn,"number",er,Pn)||{},Hr=tt(Sn,bt,ir);return Rt(Ae,Hr)}function He(dt,Rt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return jt(dt,Rt,dn).format(Ae)}catch(Pn){dt.onError(lt("Error formatting number.",Pn))}return String(Ae)}function qe(dt,Rt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return jt(dt,Rt,dn).formatToParts(Ae)}catch(Pn){dt.onError(lt("Error formatting number.",Pn))}return[]}var $t=["numeric","style"];function Zt(dt,Rt){var Ae=dt.locale,dn=dt.formats,Pn=dt.onError,Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},er=Sn.format,ir=!!er&&Se(dn,"relative",er,Pn)||{},Hr=tt(Sn,$t,ir);return Rt(Ae,Hr)}function qt(dt,Rt,Ae,dn){var Pn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};dn||(dn="second");var Sn=Intl.RelativeTimeFormat;Sn||dt.onError(lt(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`));try{return Ut(dt,zt,Dn).format(Ae,dn)}catch(qn){dt.onError(lt("Error formatting relative time.",qn))}return String(Ae)}var ln=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function En(dt,zt,Ae){var dn=dt.locale,Dn=dt.formats,Mn=dt.onError,qn=dt.timeZone,rr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Hr=rr.format,Da=Object.assign(Object.assign({},qn&&{timeZone:qn}),Hr&&Se(Dn,zt,Hr,Mn)),ia=nt(rr,ln,Da);return zt==="time"&&!ia.hour&&!ia.minute&&!ia.second&&(ia=Object.assign(Object.assign({},ia),{hour:"numeric",minute:"numeric"})),Ae(dn,ia)}function mn(dt,zt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Dn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return En(dt,"date",zt,dn).format(Dn)}catch(Mn){dt.onError(lt("Error formatting date.",Mn))}return String(Dn)}function Yn(dt,zt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Dn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return En(dt,"time",zt,dn).format(Dn)}catch(Mn){dt.onError(lt("Error formatting time.",Mn))}return String(Dn)}function Gn(dt,zt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Dn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return En(dt,"date",zt,dn).formatToParts(Dn)}catch(Mn){dt.onError(lt("Error formatting date.",Mn))}return[]}function ir(dt,zt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Dn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return En(dt,"time",zt,dn).formatToParts(Dn)}catch(Mn){dt.onError(lt("Error formatting time.",Mn))}return[]}var mr=["localeMatcher","type"];function Ft(dt,zt,Ae){var dn=dt.locale,Dn=dt.onError,Mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||Dn(lt(`Intl.PluralRules is not available in this environment. +`));try{return Zt(dt,Rt,Pn).format(Ae,dn)}catch(er){dt.onError(lt("Error formatting relative time.",er))}return String(Ae)}var un=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function xn(dt,Rt,Ae){var dn=dt.locale,Pn=dt.formats,Sn=dt.onError,er=dt.timeZone,ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Hr=ir.format,Oa=Object.assign(Object.assign({},er&&{timeZone:er}),Hr&&Se(Pn,Rt,Hr,Sn)),oa=tt(ir,un,Oa);return Rt==="time"&&!oa.hour&&!oa.minute&&!oa.second&&(oa=Object.assign(Object.assign({},oa),{hour:"numeric",minute:"numeric"})),Ae(dn,oa)}function pn(dt,Rt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Pn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return xn(dt,"date",Rt,dn).format(Pn)}catch(Sn){dt.onError(lt("Error formatting date.",Sn))}return String(Pn)}function Gn(dt,Rt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Pn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return xn(dt,"time",Rt,dn).format(Pn)}catch(Sn){dt.onError(lt("Error formatting time.",Sn))}return String(Pn)}function Qn(dt,Rt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Pn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return xn(dt,"date",Rt,dn).formatToParts(Pn)}catch(Sn){dt.onError(lt("Error formatting date.",Sn))}return[]}function ur(dt,Rt,Ae){var dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Pn=typeof Ae=="string"?new Date(Ae||0):Ae;try{return xn(dt,"time",Rt,dn).formatToParts(Pn)}catch(Sn){dt.onError(lt("Error formatting time.",Sn))}return[]}var br=["localeMatcher","type"];function zt(dt,Rt,Ae){var dn=dt.locale,Pn=dt.onError,Sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||Pn(lt(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`));var qn=nt(Mn,mr);try{return zt(dn,qn).select(Ae)}catch(rr){Dn(lt("Error formatting plural.",rr))}return"other"}var en=e(34485),rn=e.n(en);function fn(dt,zt){return Object.keys(dt).reduce(function(Ae,dn){return Ae[dn]=Object.assign({timeZone:zt},dt[dn]),Ae},{})}function In(dt,zt){var Ae=Object.keys(Object.assign(Object.assign({},dt),zt));return Ae.reduce(function(dn,Dn){return dn[Dn]=Object.assign(Object.assign({},dt[Dn]||{}),zt[Dn]||{}),dn},{})}function on(dt,zt){if(!zt)return dt;var Ae=wt.formats;return Object.assign(Object.assign(Object.assign({},Ae),dt),{date:In(fn(Ae.date,zt),fn(dt.date||{},zt)),time:In(fn(Ae.time,zt),fn(dt.time||{},zt))})}var mt=function(zt){return S.createElement.apply(w,[S.Fragment,null].concat(rn()(zt)))};function gt(dt,zt){var Ae=dt.locale,dn=dt.formats,Dn=dt.messages,Mn=dt.defaultLocale,qn=dt.defaultFormats,rr=dt.onError,Hr=dt.timeZone,Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},ia=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Jr=Da.id,aa=Da.defaultMessage;jt(!!Jr,"[React Intl] An `id` must be provided to format a message.");var Pr=Dn&&Dn[String(Jr)];dn=on(dn,Hr),qn=on(qn,Hr);var Zr=[];if(Pr)try{var va=zt.getMessageFormat(Pr,Ae,dn,{formatters:zt});Zr=va.formatHTMLMessage(ia)}catch(eo){rr(lt('Error formatting message: "'.concat(Jr,'" for locale: "').concat(Ae,'"')+(aa?", using default message as fallback.":""),eo))}else(!aa||Ae&&Ae.toLowerCase()!==Mn.toLowerCase())&&rr(lt('Missing message: "'.concat(Jr,'" for locale: "').concat(Ae,'"')+(aa?", using default message as fallback.":"")));if(!Zr.length&&aa)try{var Na=zt.getMessageFormat(aa,Mn,qn);Zr=Na.formatHTMLMessage(ia)}catch(eo){rr(lt('Error formatting the default message for: "'.concat(Jr,'"'),eo))}return Zr.length?Zr.length===1&&typeof Zr[0]=="string"?Zr[0]||aa||String(Jr):mt(Zr):(rr(lt('Cannot format message: "'.concat(Jr,'", ')+"using message ".concat(Pr||aa?"source":"id"," as fallback."))),typeof Pr=="string"?Pr||aa||String(Jr):aa||String(Jr))}function sn(dt,zt){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Dn=Object.keys(dn).reduce(function(Mn,qn){var rr=dn[qn];return Mn[qn]=typeof rr=="string"?ze(rr):rr,Mn},{});return gt(dt,zt,Ae,Dn)}var Qt=e(57761),tn=e.n(Qt),yn=e(16962),vn=e.n(yn),Wn=["localeMatcher","type","style"],tr=Date.now();function ut(dt){return"".concat(tr,"_").concat(dt,"_").concat(tr)}function ct(dt,zt,Ae){var dn=dt.locale,Dn=dt.onError,Mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},qn=Intl.ListFormat;qn||Dn(lt(`Intl.ListFormat is not available in this environment. +`));var er=tt(Sn,br);try{return Rt(dn,er).select(Ae)}catch(ir){Pn(lt("Error formatting plural.",ir))}return"other"}var en=e(34485),an=e.n(en);function vn(dt,Rt){return Object.keys(dt).reduce(function(Ae,dn){return Ae[dn]=Object.assign({timeZone:Rt},dt[dn]),Ae},{})}function An(dt,Rt){var Ae=Object.keys(Object.assign(Object.assign({},dt),Rt));return Ae.reduce(function(dn,Pn){return dn[Pn]=Object.assign(Object.assign({},dt[Pn]||{}),Rt[Pn]||{}),dn},{})}function sn(dt,Rt){if(!Rt)return dt;var Ae=Ot.formats;return Object.assign(Object.assign(Object.assign({},Ae),dt),{date:An(vn(Ae.date,Rt),vn(dt.date||{},Rt)),time:An(vn(Ae.time,Rt),vn(dt.time||{},Rt))})}var mt=function(Rt){return S.createElement.apply(w,[S.Fragment,null].concat(an()(Rt)))};function gt(dt,Rt){var Ae=dt.locale,dn=dt.formats,Pn=dt.messages,Sn=dt.defaultLocale,er=dt.defaultFormats,ir=dt.onError,Hr=dt.timeZone,Oa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},oa=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Jr=Oa.id,na=Oa.defaultMessage;wt(!!Jr,"[React Intl] An `id` must be provided to format a message.");var Lr=Pn&&Pn[String(Jr)];dn=sn(dn,Hr),er=sn(er,Hr);var Zr=[];if(Lr)try{var ca=Rt.getMessageFormat(Lr,Ae,dn,{formatters:Rt});Zr=ca.formatHTMLMessage(oa)}catch(eo){ir(lt('Error formatting message: "'.concat(Jr,'" for locale: "').concat(Ae,'"')+(na?", using default message as fallback.":""),eo))}else(!na||Ae&&Ae.toLowerCase()!==Sn.toLowerCase())&&ir(lt('Missing message: "'.concat(Jr,'" for locale: "').concat(Ae,'"')+(na?", using default message as fallback.":"")));if(!Zr.length&&na)try{var Ta=Rt.getMessageFormat(na,Sn,er);Zr=Ta.formatHTMLMessage(oa)}catch(eo){ir(lt('Error formatting the default message for: "'.concat(Jr,'"'),eo))}return Zr.length?Zr.length===1&&typeof Zr[0]=="string"?Zr[0]||na||String(Jr):mt(Zr):(ir(lt('Cannot format message: "'.concat(Jr,'", ')+"using message ".concat(Lr||na?"source":"id"," as fallback."))),typeof Lr=="string"?Lr||na||String(Jr):na||String(Jr))}function ln(dt,Rt){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},dn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Pn=Object.keys(dn).reduce(function(Sn,er){var ir=dn[er];return Sn[er]=typeof ir=="string"?ze(ir):ir,Sn},{});return gt(dt,Rt,Ae,Pn)}var Qt=e(57761),tn=e.n(Qt),yn=e(16962),gn=e.n(yn),_n=["localeMatcher","type","style"],nr=Date.now();function ut(dt){return"".concat(nr,"_").concat(dt,"_").concat(nr)}function ct(dt,Rt,Ae){var dn=dt.locale,Pn=dt.onError,Sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},er=Intl.ListFormat;er||Pn(lt(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`));var rr=nt(Mn,Wn);try{var Hr={},Da=Ae.map(function(Jr,aa){if(vn()(Jr)==="object"){var Pr=ut(aa);return Hr[Pr]=Jr,Pr}return String(Jr)});if(!Object.keys(Hr).length)return zt(dn,rr).format(Da);var ia=zt(dn,rr).formatToParts(Da);return ia.reduce(function(Jr,aa){var Pr=aa.value;return Hr[Pr]?Jr.push(Hr[Pr]):typeof Jr[Jr.length-1]=="string"?Jr[Jr.length-1]+=Pr:Jr.push(Pr),Jr},[])}catch(Jr){Dn(lt("Error formatting list.",Jr))}return Ae}var At=["localeMatcher","style","type","fallback"];function xt(dt,zt,Ae){var dn=dt.locale,Dn=dt.onError,Mn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},qn=Intl.DisplayNames;qn||Dn(lt(`Intl.DisplayNames is not available in this environment. +`));var ir=tt(Sn,_n);try{var Hr={},Oa=Ae.map(function(Jr,na){if(gn()(Jr)==="object"){var Lr=ut(na);return Hr[Lr]=Jr,Lr}return String(Jr)});if(!Object.keys(Hr).length)return Rt(dn,ir).format(Oa);var oa=Rt(dn,ir).formatToParts(Oa);return oa.reduce(function(Jr,na){var Lr=na.value;return Hr[Lr]?Jr.push(Hr[Lr]):typeof Jr[Jr.length-1]=="string"?Jr[Jr.length-1]+=Lr:Jr.push(Lr),Jr},[])}catch(Jr){Pn(lt("Error formatting list.",Jr))}return Ae}var It=["localeMatcher","style","type","fallback"];function Ct(dt,Rt,Ae){var dn=dt.locale,Pn=dt.onError,Sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},er=Intl.DisplayNames;er||Pn(lt(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));var rr=nt(Mn,At);try{return zt(dn,rr).of(Ae)}catch(Hr){Dn(lt("Error formatting display name.",Hr))}}var kt=tn()||Qt;function un(dt){return{locale:dt.locale,timeZone:dt.timeZone,formats:dt.formats,textComponent:dt.textComponent,messages:dt.messages,defaultLocale:dt.defaultLocale,defaultFormats:dt.defaultFormats,onError:dt.onError}}function nn(dt,zt){var Ae=Ie(zt),dn=Object.assign(Object.assign({},Rt),dt),Dn=dn.locale,Mn=dn.defaultLocale,qn=dn.onError;return Dn?!Intl.NumberFormat.supportedLocalesOf(Dn).length&&qn?qn(lt('Missing locale data for locale: "'.concat(Dn,'" in Intl.NumberFormat. Using default locale: "').concat(Mn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(Dn).length&&qn&&qn(lt('Missing locale data for locale: "'.concat(Dn,'" in Intl.DateTimeFormat. Using default locale: "').concat(Mn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(qn&&qn(lt('"locale" was not configured, using "'.concat(Mn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),dn.locale=dn.defaultLocale||"en"),Object.assign(Object.assign({},dn),{formatters:Ae,formatNumber:He.bind(null,dn,Ae.getNumberFormat),formatNumberToParts:qe.bind(null,dn,Ae.getNumberFormat),formatRelativeTime:qt.bind(null,dn,Ae.getRelativeTimeFormat),formatDate:mn.bind(null,dn,Ae.getDateTimeFormat),formatDateToParts:Gn.bind(null,dn,Ae.getDateTimeFormat),formatTime:Yn.bind(null,dn,Ae.getDateTimeFormat),formatTimeToParts:ir.bind(null,dn,Ae.getDateTimeFormat),formatPlural:Ft.bind(null,dn,Ae.getPluralRules),formatMessage:gt.bind(null,dn,Ae),formatHTMLMessage:sn.bind(null,dn,Ae),formatList:ct.bind(null,dn,Ae.getListFormat),formatDisplayName:xt.bind(null,dn,Ae.getDisplayNames)})}var An=function(dt){g()(Ae,dt);var zt=h()(Ae);function Ae(){var dn;return d()(this,Ae),dn=zt.apply(this,arguments),dn.cache=Ot(),dn.state={cache:dn.cache,intl:nn(un(dn.props),dn.cache),prevConfig:un(dn.props)},dn}return c()(Ae,[{key:"render",value:function(){return Et(this.state.intl),S.createElement(j,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(Dn,Mn){var qn=Mn.prevConfig,rr=Mn.cache,Hr=un(Dn);return kt(qn,Hr)?null:{intl:nn(Hr,rr),prevConfig:Hr}}}]),Ae}(S.PureComponent);An.displayName="IntlProvider",An.defaultProps=Rt;var zn=e(14276),Er=e(87308),nr=e.n(Er),Fn=e(62118),kr=e.n(Fn),hr=function(dt,zt){var Ae={};for(var dn in dt)Object.prototype.hasOwnProperty.call(dt,dn)&&zt.indexOf(dn)<0&&(Ae[dn]=dt[dn]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Dn=0,dn=Object.getOwnPropertySymbols(dt);Dn1&&arguments[1]!==void 0?arguments[1]:!0,dn=function(){if($a()!==zt){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Bn&&window.localStorage.setItem("umi_locale",zt||""),ho(zt),Ae)window.location.reload();else if(yr.emit(Xr,zt),window.dispatchEvent){var Mn=new Event("languagechange");window.dispatchEvent(Mn)}}};dn()},wo=!0,No=function(zt,Ae){return wo&&(kr()(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. + car`,"annotator.formModal.categoriesCount":"\u5F53\u524D\u7C7B\u522B\u6807\u7B7E\u6570\u91CF","annotator.formModal.fileRequiredMsg":"\u8BF7\u81F3\u5C11\u5BFC\u5165\u4E00\u5F20\u56FE\u7247","annotator.formModal.fileCountLimitMsg":"\u56FE\u7247\u91CF\u4E0D\u80FD\u8D85\u8FC7{count}\u5F20","annotator.formModal.fileSizeLimitMsg":"\u5355\u5F20\u56FE\u7247\u4E0D\u80FD\u8D85\u8FC7{size}MB","annotator.formModal.categoryRequiredMsg":"\u8BF7\u81F3\u5C11\u8F93\u5165\u4E00\u4E2A\u7C7B\u522B\u6807\u7B7E","annotator.formModal.deleteCategory.title":"\u6CE8\u610F","annotator.formModal.deleteCategory.desc":"\u6709\u6807\u6CE8\u4E2D\u4F7F\u7528\u4E86\u8FD9\u4E2A\u7C7B\u522B\uFF0C\u8BF7\u5148\u624B\u52A8\u5220\u9664\u8FD9\u4E9B\u6807\u6CE8\u6216\u4FEE\u6539\u5B83\u4EEC\u7684\u7C7B\u522B","annotator.formModal.deleteImage.title":"\u6CE8\u610F","annotator.formModal.deleteImage.desc":"\u8BE5\u56FE\u7247\u5185\u5305\u542B\u6807\u6CE8\u4FE1\u606F\uFF0C\u8BF7\u5148\u624B\u52A8\u5220\u9664\u8FD9\u4E9B\u6807\u6CE8","proj.title":"\u9879\u76EE","proj.table.name":"\u9879\u76EE\u540D\u79F0","proj.table.owner":"\u9879\u76EE\u6240\u6709\u8005","proj.table.datasets":"\u6570\u636E\u96C6","proj.table.progress":"\u4EFB\u52A1\u8FDB\u5EA6","proj.table.PM":"\u9879\u76EE\u7ECF\u7406","proj.table.status":"\u72B6\u6001","proj.table.createAt":"\u521B\u5EFA\u65F6\u95F4","proj.table.action":"\u64CD\u4F5C","proj.table.action.accept":"\u901A\u8FC7","proj.table.action.reject":"\u62D2\u7EDD","proj.table.action.reject.tips":"\u786E\u5B9A\u8981\u62D2\u7EDD\u8FD9\u4E2A\u9879\u76EE\u5417\uFF1F","proj.table.action.edit":"\u7F16\u8F91","proj.table.action.init":"\u521D\u59CB\u5316","proj.table.action.info":"\u4FE1\u606F","proj.table.action.detail":"\u8BE6\u60C5","proj.table.action.export":"\u5BFC\u51FA","proj.table.newProject":"\u65B0\u5EFA\u9879\u76EE","proj.table.detail.index":"\u7D22\u5F15","proj.table.detail.labelLeader":"\u6807\u6CE8\u7EC4\u957F","proj.table.detail.labeler":"\u6807\u6CE8\u5458","proj.table.detail.reviewLeader":"\u5BA1\u6838\u7EC4\u957F","proj.table.detail.reviewer":"\u5BA1\u6838\u5458","proj.table.detail.progress":"\u8FDB\u5EA6","proj.table.detail.status":"\u72B6\u6001","proj.table.detail.action":"\u64CD\u4F5C","proj.table.detail.action.assignLeader":"\u5206\u914D\u7EC4\u957F","proj.table.detail.action.assignWorker":"\u5206\u914D\u64CD\u4F5C\u4EBA","proj.table.detail.action.detail":"\u8BE6\u60C5","proj.table.detail.action.restart":"\u91CD\u65B0\u5F00\u59CB","proj.table.detail.action.accept":"\u901A\u8FC7","proj.table.detail.action.reject":"\u62D2\u7EDD","proj.table.detail.action.reject.tips":"\u786E\u5B9A\u8981\u62D2\u7EDD\u8FD9\u4E2A\u4EFB\u52A1\u5417\uFF1F","proj.table.detail.action.view":"\u67E5\u770B","proj.table.detail.action.startLabel":"\u5F00\u59CB\u6807\u6CE8","proj.table.detail.action.startReview":"\u5F00\u59CB\u5BA1\u6838","proj.table.detail.batchAssignLeader":"\u6279\u91CF\u5206\u914D\u7EC4\u957F","proj.detail.owner":"\u9879\u76EE\u6240\u6709\u8005","proj.detail.managers":"\u9879\u76EE\u7ECF\u7406","proj.assign.modal.assign":"\u5206\u914D","proj.assign.modal.reassign":"\u91CD\u65B0\u5206\u914D","proj.assign.modal.ll.label":"\u6807\u6CE8\u56E2\u961F\u8D1F\u8D23\u4EBA","proj.assign.modal.ll.placeholder":"\u9009\u62E9\u4E00\u540D\u6210\u5458\u4F5C\u4E3A\u56E2\u961F\u8D1F\u8D23\u4EBA\u6765\u5206\u914D\u6807\u6CE8\u5458","proj.assign.modal.ll.tooltip":"\u4E5F\u53EF\u4EE5\u5C06\u81EA\u5DF1\u5206\u914D\u4E3A\u56E2\u961F\u8D1F\u8D23\u4EBA","proj.assign.modal.ll.msg":"\u8BF7\u9009\u62E9\u4E00\u540D\u6210\u5458\u4F5C\u4E3A\u6B64\u4EFB\u52A1\u7684\u56E2\u961F\u8D1F\u8D23\u4EBA","proj.assign.modal.rl.label":"\u5BA1\u6838\u56E2\u961F\u8D1F\u8D23\u4EBA","proj.assign.modal.rl.placeholder":"\u9009\u62E9\u4E00\u540D\u6210\u5458\u4F5C\u4E3A\u56E2\u961F\u8D1F\u8D23\u4EBA\u6765\u5206\u914D\u5BA1\u6838\u5458","proj.assign.modal.rl.tooltip":"\u4E5F\u53EF\u4EE5\u5C06\u81EA\u5DF1\u5206\u914D\u4E3A\u56E2\u961F\u8D1F\u8D23\u4EBA","proj.assign.modal.rl.msg":"\u8BF7\u9009\u62E9\u4E00\u540D\u6210\u5458\u4F5C\u4E3A\u6B64\u4EFB\u52A1\u7684\u56E2\u961F\u8D1F\u8D23\u4EBA","proj.assign.modal.ler.label":"\u6807\u6CE8\u5458","proj.assign.modal.ler.placeholder":"\u9009\u62E9{times}\u540D\u6210\u5458\u4F5C\u4E3A\u6807\u6CE8\u5458\u5DE5\u4F5C","proj.assign.modal.ler.tootltip":"\u4E5F\u53EF\u4EE5\u5C06\u81EA\u5DF1\u5206\u914D\u4E3A\u6807\u6CE8\u5458","proj.assign.modal.ler.msg":"\u8BF7\u9009\u62E9{times}\u540D\u6210\u5458\u4F5C\u4E3A\u6B64\u4EFB\u52A1\u7684\u6807\u6CE8\u5458","proj.assign.modal.ler.msgTimes":"\u5FC5\u987B\u662F{times}\u540D\u6210\u5458","proj.assign.modal.rer.label":"\u5BA1\u6838\u5458","proj.assign.modal.rer.placeholder":"\u9009\u62E9{times}\u540D\u6210\u5458\u4F5C\u4E3A\u6807\u6CE8\u5458\u5DE5\u4F5C","proj.assign.modal.rer.tootltip":"\u4E5F\u53EF\u4EE5\u5C06\u81EA\u5DF1\u5206\u914D\u4E3A\u5BA1\u6838\u5458","proj.assign.modal.rer.msg":"\u8BF7\u9009\u62E9{times}\u540D\u6210\u5458\u4F5C\u4E3A\u6B64\u4EFB\u52A1\u7684\u5BA1\u6838\u5458","proj.assign.modal.rer.msgTimes":"\u5FC5\u987B\u662F{times}\u540D\u6210\u5458","proj.assign.modal.reassign.label":"\u91CD\u65B0\u5206\u914D\u7ED9","proj.assign.modal.reassign.placeholder":"\u9009\u62E9\u4E00\u540D\u6210\u5458\u8FDB\u884C\u91CD\u65B0\u5206\u914D","proj.assign.modal.reassign.msg":"\u8BF7\u9009\u62E9\u4E00\u540D\u6210\u5458\u8FDB\u884C\u91CD\u65B0\u5206\u914D","proj.detail.modal.reassign":"\u91CD\u65B0\u5206\u914D","proj.detail.modal.index":"\u7D22\u5F15","proj.detail.modal.role":"\u89D2\u8272","proj.detail.modal.worker":"\u4EBA\u5458","proj.detail.modal.progress":"\u8FDB\u5EA6","proj.detail.modal.action":"\u64CD\u4F5C","proj.detail.modal.title":"ID\uFF1A{id} \u7684\u4EFB\u52A1\u8BE6\u60C5","proj.taskProgress.done":"\u5B8C\u6210","proj.taskProgress.inRework":"\u5DF2\u9A73\u56DE","proj.taskProgress.toReview":"\u5F85\u5BA1\u6838","proj.taskProgress.toLabel":"\u5F85\u6807\u6CE8","proj.assignModalFinish.assignLeader":"\u5206\u914D\u56E2\u961F\u8D1F\u8D23\u4EBA\u6210\u529F!","proj.assignModalFinish.assignWorker":"\u5206\u914D\u56E2\u961F\u5DE5\u4F5C\u4EBA\u5458\u6210\u529F!","proj.assignModalFinish.reassignWorker":"\u91CD\u65B0\u5206\u914D\u56E2\u961F\u5DE5\u4F5C\u4EBA\u5458\u6210\u529F!","proj.assignModalFinish.restarTask":"\u91CD\u65B0\u5F00\u59CB\u4EFB\u52A1\u6210\u529F!","proj.assignModalFinish.commiTask":"\u63D0\u4EA4\u4EFB\u52A1\u6210\u529F!","proj.assignModalFinish.changeTaskStatus":"\u4FEE\u6539\u4EFB\u52A1\u72B6\u6001\u6210\u529F!","proj.projectModalFinish.new":"\u65B0\u5EFA\u9879\u76EE\u6210\u529F!","proj.projectModalFinish.edit":"\u7F16\u8F91\u9879\u76EE\u6210\u529F!","proj.projectModalFinish.init":"\u521D\u59CB\u5316\u9879\u76EE\u6210\u529F!","proj.projectModalFinish.change":"\u4FEE\u6539\u9879\u76EE\u72B6\u6001\u6210\u529F!","proj.onLabelSave.warning":"\u6CA1\u6709\u6DFB\u52A0\u4EFB\u4F55\u6807\u6CE8\uFF0C\u8BF7\u68C0\u67E5","proj.onLabelSave.loading":"\u6B63\u5728\u4FDD\u5B58\u6807\u6CE8...","proj.onLabelSave.save":"\u4FDD\u5B58\u6210\u529F\uFF01","proj.onLabelSave.finish":"\u5B8C\u6210\u5DE5\u4F5C\uFF01","proj.onLabelSave.error":"\u4FDD\u5B58\u6807\u6CE8\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5","proj.onReviewResult.loading":"\u6B63\u5728\u4FDD\u5B58\u5BA1\u6838\u7ED3\u679C...","proj.onReviewResult.save":"\u4FDD\u5B58\u6210\u529F\uFF01","proj.onReviewResult.finish":"\u5B8C\u6210\u5DE5\u4F5C\uFF01","proj.onReviewResult.error":"\u4FDD\u5B58\u5BA1\u6838\u7ED3\u679C\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5","proj.tabItems.toLabel":"\u5F85\u6807\u6CE8 ({num})","proj.tabItems.toReview":"\u5F85\u5BA1\u6838 ({num})","proj.tabItems.inRework":"\u5DF2\u9A73\u56DE ({num})","proj.tabItems.done":"\u5DF2\u5B8C\u6210 ({num})","proj.editModal.editProj":"\u7F16\u8F91\u9879\u76EE","proj.editModal.newProj":"\u65B0\u5EFA\u9879\u76EE","proj.editModal.stepForm.title":"\u57FA\u7840\u4FE1\u606F","proj.editModal.stepForm.desc":"\u4EC5\u9650\u7BA1\u7406\u5458","proj.editModal.stepForm.name.label":"\u9879\u76EE\u540D\u79F0","proj.editModal.stepForm.name.placeholder":"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0","proj.editModal.stepForm.name.rule":"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0","proj.editModal.stepForm.desc.label":"\u63CF\u8FF0","proj.editModal.stepForm.desc.placeholder":"\u9009\u586B\uFF0C\u5173\u4E8E\u9879\u76EE\u7684\u63CF\u8FF0","proj.editModal.stepForm.dataset.label":"\u6570\u636E\u96C6","proj.editModal.stepForm.dataset.placeholder":"\u8BF7\u81F3\u5C11\u8FDE\u63A5\u4E00\u4E2A\u6570\u636E\u96C6\u81F3\u6B64\u9879\u76EE","proj.editModal.stepForm.dataset.rule":"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u6570\u636E\u96C6","proj.editModal.stepForm.preLabel.label":"\u9884\u6807\u6CE8","proj.editModal.stepForm.preLabel.placeholder":"\u8BF7\u8F93\u5165\u9884\u6807\u6CE8\u540D\u79F0","proj.editModal.stepForm.category.label":"\u5206\u7C7B","proj.editModal.stepForm.category.placeholder":"\u8BF7\u4EE5\u9017\u53F7\u5206\u9694\u8F93\u5165\u9879\u76EE\u5206\u7C7B","proj.editModal.stepForm.category.rule":"\u8BF7\u8F93\u5165\u9879\u76EE\u5206\u7C7B","proj.editModal.stepForm.PM.label":"\u9879\u76EE\u7ECF\u7406","proj.editModal.stepForm.PM.placeholder":"\u8BF7\u9009\u62E9\u81F3\u5C11\u4E00\u540D\u6210\u5458\u4F5C\u4E3A\u9879\u76EE\u7ECF\u7406\u6765\u7BA1\u7406\u4EFB\u52A1","proj.editModal.stepForm.PM.extra":"\u4E5F\u53EF\u4EE5\u5C06\u81EA\u5DF1\u5206\u914D\u4E3A\u9879\u76EE\u7ECF\u7406","proj.editModal.stepForm.PM.rule":"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u540D\u6210\u5458\u4F5C\u4E3A\u9879\u76EE\u7ECF\u7406","proj.editModal.stepForm.task.title":"\u6D41\u7A0B\u8BBE\u7F6E","proj.editModal.stepForm.task.desc":"\u4EC5\u9879\u76EE\u7ECF\u7406\u53EF\u89C1","proj.editModal.stepForm.task.msg":"\u4EC5\u9879\u76EE\u7ECF\u7406\u53EF\u89C1\uFF08\u60A8\u4E5F\u53EF\u4EE5\u5728\u524D\u4E00\u6B65\u4E2D\u5C06\u81EA\u5DF1\u5206\u914D\u4E3A\u9879\u76EE\u7ECF\u7406\uFF09\u3002","proj.editModal.stepForm.radio.label":"\u4EFB\u52A1\u5206\u914D\u65B9\u5F0F","proj.editModal.stepForm.radio.dataset":"\u6570\u636E\u96C6","proj.editModal.stepForm.radio.size":"\u6279\u6B21\u5927\u5C0F","proj.editModal.stepForm.batchSize.label":"\u6279\u6B21\u5927\u5C0F","proj.editModal.stepForm.batchSize.placeholder":"\u8BF7\u8F93\u5165\u6279\u6B21\u5927\u5C0F","proj.editModal.stepForm.batchSize.tooltip":"\u6279\u6B21\u5927\u5C0F\u8BBE\u7F6E\u4E3A\u6BCF\u4E2A\u4EFB\u52A1\u7684\u56FE\u50CF\u6570\u91CF","proj.editModal.stepForm.batchSize.msg":"\u8BF7\u8F93\u5165\u6279\u6B21\u5927\u5C0F","proj.editModal.stepForm.rview.label":"\u5BA1\u6838\u8005\u8BBE\u7F6E","proj.editModal.stepForm.rview.no":"\u65E0\u5BA1\u6838\u8005","proj.editModal.stepForm.rview.one":"1 \u540D\u5BA1\u6838\u8005","proj.editModal.setWorkflowNow":"\u7ACB\u5373\u8BBE\u7F6E\u5DE5\u4F5C\u6D41\u7A0B","proj.infoModal.title":"\u9879\u76EE\u4FE1\u606F","proj.infoModal.name":"\u9879\u76EE\u540D\u79F0","proj.infoModal.desc":"\u63CF\u8FF0","proj.infoModal.label":"\u9879\u76EE\u7ECF\u7406","proj.exportModal.title":"\u5BFC\u51FA\u5230\u6570\u636E\u96C6","proj.exportModal.labelName.name":"\u6807\u6CE8\u96C6\u540D\u79F0","proj.exportModal.labelName.rule":"\u8BF7\u8F93\u5165\u6807\u6CE8\u96C6\u540D\u79F0","proj.exportModal.labelName.tips":"\u70B9\u51FB\u201C\u786E\u5B9A\u201D\u540E\uFF0C\u53EF\u4EE5\u7528\u6807\u6CE8\u96C6\u540D\u79F0\u67E5\u770B\u6240\u9009\u6570\u636E\u96C6\u7684\u6807\u6CE8\u7ED3\u679C\u3002","proj.exportModal.submitSuccess":'\u5DF2\u6210\u529F\u5BFC\u51FA\u6807\u6CE8\u96C6 "{name}" \u5230\u6240\u9009\u6570\u636E\u96C6\uFF0C\u60A8\u53EF\u4EE5\u5728\u6570\u636E\u96C6\u6A21\u5757\u4E2D\u67E5\u770B\u6807\u6CE8\u7ED3\u679C\u3002',"proj.workspace.eTask.startLabel":"\u5F00\u59CB\u6807\u6CE8","proj.workspace.eTask.edit":"\u7F16\u8F91","proj.workspace.eTask.startRework":"\u5904\u7406\u9A73\u56DE","proj.workspace.eTask.startReview":"\u5F00\u59CB\u5BA1\u6838","proj.workspace.eProj.startLabeling":"\u5F00\u59CB\u6807\u6CE8","proj.workspace.eProj.startRework":"\u5904\u7406\u9A73\u56DE","proj.workspace.eProj.startReview":"\u5F00\u59CB\u5BA1\u6838","proj.workspace.eProj.role":"\u5F53\u524D\u89D2\u8272","proj.statusMap.waiting":"\u7B49\u5F85\u4E2D","proj.statusMap.initializing":"\u521D\u59CB\u5316\u4E2D","proj.statusMap.working":"\u8FDB\u884C\u4E2D","proj.statusMap.reviewing":"\u5BA1\u6838\u4E2D","proj.statusMap.rejected":"\u5DF2\u62D2\u7EDD","proj.statusMap.accepted":"\u5DF2\u901A\u8FC7","proj.statusMap.exported":"\u5DF2\u5BFC\u51FA","proj.eTaskStatus.waiting":"\u7B49\u5F85\u4E2D","proj.eTaskStatus.working":"\u8FDB\u884C\u4E2D","proj.eTaskStatus.reviewing":"\u5BA1\u6838\u4E2D","proj.eTaskStatus.rejected":"\u5DF2\u62D2\u7EDD","proj.eTaskStatus.accepted":"\u5DF2\u901A\u8FC7","lab.card.title":"\u6807\u8BB0\u5DE5\u5177","lab.card.subTitle":"\u9009\u62E9\u9700\u8981\u6807\u8BB0\u7684\u56FE\u50CF","lab.toolsBar.selectAll":"\u5168\u9009","lab.toolsBar.selectSome":"\u5DF2\u9009\u62E9 {num} \u5F20","lab.toolsBar.selectInvert":"\u53CD\u9009","lab.toolsBar.filter":"\u8FC7\u6EE4","lab.toolsBar.saveAs":"\u5C06\u5DF2\u9009\u9879\u76EE\u4FDD\u5B58\u4E3A","lab.toolsBar.genEmbed":"\u751F\u6210 Embedding","lab.toolsBar.updateOrder":"\u66F4\u65B0\u987A\u5E8F","lab.displayOption.showAnnotations":"\u663E\u793A\u9009\u5B9A\u7C7B\u578B\u7684\u6807\u6CE8","lab.displayOption.showAllCategory":"\u663E\u793A\u6240\u6709\u5206\u7C7B\u7684\u6807\u6CE8","lab.displayOption.showImgDesc":"\u663E\u793A\u56FE\u50CF\u63CF\u8FF0","lab.displayOption.showBoxText":"\u5728\u6846\u4E2D\u663E\u793A\u6587\u672C","lab.displayOption.showSegFilling":"\u663E\u793A\u5206\u5272\u7EBF\u6761\uFF08F\uFF09","lab.displayOption.showSegContour":"\u663E\u793A\u5206\u5272\u8F6E\u5ED3\uFF08C\uFF09","lab.displayOption.showMattingColorFill":"\u663E\u793A\u62A0\u56FE\u989C\u8272\u586B\u5145","lab.displayOption.showKeyPointsLine":"\u663E\u793A\u5173\u952E\u70B9\u7EBF\u6761","lab.displayOption.showKeyPointsBox":"\u663E\u793A\u5173\u952E\u70B9\u6846","lab.onClickCopyLink.success":"\u590D\u5236\u94FE\u63A5\u6210\u529F!","layout.title":"Deep Data Space","requestConfig.errorData.msg":"\u8BF7\u6C42\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5\uFF08{code}\uFF09","requestConfig.success.msg":"\u8BF7\u6C42\u6210\u529F\u3002","requestConfig.unAuth.msg":"\u672A\u6388\u6743\u7684\u8BBF\u95EE\u3002\u8BF7\u767B\u5F55\u3002","requestConfig.permissionDenied.msg":"\u6743\u9650\u88AB\u62D2\u7EDD\u3002\u60A8\u7684\u5E10\u6237\u6CA1\u6709\u6267\u884C\u6B64\u64CD\u4F5C\u6240\u9700\u7684\u6743\u9650\u3002","requestConfig.responseStatus.msg":"\u54CD\u5E94\u72B6\u6001\uFF1A{status}","requestConfig.noResponse.msg":"\u65E0\u54CD\u5E94\uFF01\u8BF7\u91CD\u8BD5\u3002","requestConfig.requestError.msg":"\u8BF7\u6C42\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5\u3002","requestConfig.errorContent.msg":"\u8BF7\u6C42\u6587\u672C\u4E2D\u5B58\u5728\u654F\u611F\u8BCD\uFF0C\u8BF7\u68C0\u67E5\u3002","errCode.PartialSuccessBatchAssignLeaders":"\u6210\u529F\u5206\u914D\u7EC4\u957F\u3002","errCode.PartialSuccessBatchAssignWorkers":"\u6210\u529F\u5206\u914D\u64CD\u4F5C\u4EBA\u3002","errCode.BadRequest":"\u9519\u8BEF\u8BF7\u6C42","errCode.ParameterMissing":"\u53C2\u6570\u7F3A\u5931","errCode.ParameterIsInvalid":"\u53C2\u6570\u65E0\u6548","errCode.CaptchaVerificationFailed":"\u9A8C\u8BC1\u7801\u9A8C\u8BC1\u5931\u8D25\u3002","errCode.AnnotationNotListOfObj":"\u6807\u6CE8\u5BF9\u8C61\u5FC5\u987B\u662F\u4E00\u4E2A\u5BF9\u8C61\u5217\u8868\u3002","errCode.AnnotationMissingCatName":"\u6807\u6CE8\u5BF9\u8C61\u7F3A\u5931\u7C7B\u522B\u540D\u79F0\u3002","errCode.AnnotationMissingBBox":"\u6CE8\u91CA\u5BF9\u8C61\u7F3A\u5C11\u8FB9\u6846\u3002","errCode.AnnotationBBoxFormatError":"\u6807\u6CE8\u5BF9\u8C61\u8FB9\u6846\u683C\u5F0F\u9519\u8BEF","errCode.AnnotationFormatError":"\u6807\u6CE8\u5BF9\u8C61\u683C\u5F0F\u9519\u8BEF\u3002","errCode.FlagGroupsNotListOfObj":"\u6807\u8BB0\u7EC4\u5FC5\u987B\u662F\u4E00\u4E2A\u5BF9\u8C61\u5217\u8868\u3002","errCode.FlagObjectMissingFlag":"\u6807\u8BB0\u5BF9\u8C61\u7F3A\u5931\u6807\u8BB0\u3002","errCode.FlagObjectFlagValueInvalid":"\u6807\u8BB0\u5BF9\u8C61\u6807\u8BB0\u65E0\u6548\uFF0C\u6807\u8BB0\u503C\u5FC5\u987B\u662F[0, 1, 2]\u5176\u4E2D\u4E4B\u4E00\u3002","errCode.FlagObjectMissingIDs":"\u6807\u8BB0\u5BF9\u8C61\u7F3A\u5931ID\u3002","errCode.FlagObjectIDsNotList":"\u6807\u8BB0\u5BF9\u8C61ID\u5FC5\u987B\u662F\u4E00\u4E2A\u5217\u8868\u3002","errCode.LabelSetNameInvalid":"\u6807\u6CE8\u96C6\u540D\u79F0\u4E0D\u80FD\u662FGroundTruth\u548CUserAnnotation\u3002","errCode.LabelSetNameConflicts":"\u76EE\u6807\u6807\u6CE8\u96C6\u540D\u79F0\u5DF2\u88AB\u5360\u7528\u3002","errCode.UserNotFoundForLabelProject":"\u6807\u6CE8\u9879\u76EE\u672A\u627E\u5230\u7528\u6237\u3002","errCode.UserNotActiveForLabelProject":"\u6807\u6CE8\u9879\u76EE\u7528\u6237\u672A\u6FC0\u6D3B\u3002","errCode.DatasetNotFoundForLabelProject":"\u6807\u6CE8\u9879\u76EE\u672A\u627E\u5230\u6570\u636E\u96C6\u3002","errCode.LabelTaskNotFoundForLabelProject":"\u6807\u6CE8\u9879\u76EE\u672A\u627E\u5230\u6807\u6CE8\u4EFB\u52A1\u3002","errCode.CreateLabelProjectRequireManager":"\u521B\u5EFA\u6807\u6CE8\u9879\u76EE\u65F6\u9879\u76EE\u7ECF\u7406\u4E0D\u80FD\u4E3A\u7A7A\u3002","errCode.CreateLabelProjectRequireDataset":"\u521B\u5EFA\u6807\u6CE8\u9879\u76EE\u65F6\u6570\u636E\u96C6\u4E0D\u80FD\u4E3A\u7A7A\u3002","errCode.CreateLabelProjectRequireCategory":"\u521B\u5EFA\u6807\u6CE8\u9879\u76EE\u65F6\u7C7B\u522B\u4E0D\u80FD\u4E3A\u7A7A\u3002","errCode.CreateLabelProjectDatasetOccupied":"\u6570\u636E\u96C6\u5DF2\u88AB\u5176\u4ED6\u6807\u6CE8\u9879\u76EE\u5360\u7528\u3002","errCode.EditLabelProjectRequireManager":"\u7F16\u8F91\u6807\u6CE8\u9879\u76EE\u65F6\u9879\u76EE\u7ECF\u7406\u4E0D\u80FD\u4E3A\u7A7A\u3002","errCode.InitLabelProjectMustBeWaiting":"\u6807\u6CE8\u9879\u76EE\u7684\u521D\u59CB\u5316\u72B6\u6001\u5FC5\u987B\u4E3A\u7B49\u5F85\u4E2D\u3002","errCode.InitLabelProjectTaskConfigError":"\u6279\u6B21\u5927\u5C0F\u3001\u6807\u6CE8\u5458\u3001\u5BA1\u6838\u5458\u5FC5\u987B\u540C\u65F6\u8BBE\u7F6E\u3002","errCode.QALabelProjectActionError":"\u64CD\u4F5C\u9519\u8BEF\uFF0C\u5FC5\u987B\u4E3A\u63A5\u53D7\u6216\u62D2\u7EDD\u3002","errCode.QALabelProjectMustBeReviewing":"\u6807\u6CE8\u9879\u76EE\u7684\u72B6\u6001\u5FC5\u987B\u4E3A\u5BA1\u6838\u4E2D\u3002","errCode.ExportLabelProjectMustBeAccepted":"\u6807\u6CE8\u9879\u76EE\u7684\u72B6\u6001\u5FC5\u987B\u4E3A\u5DF2\u63A5\u53D7\u3002","errCode.LeaderIDIsRequired":"\u6807\u6CE8\u7EC4\u957FID\u548C\u5BA1\u6838\u7EC4\u957FID\u4E0D\u80FD\u540C\u65F6\u4E3A\u7A7A\u3002","errCode.LabelerIDIsRequired":"\u6807\u6CE8\u5458ID\u548C\u5BA1\u6838\u5458ID\u4E0D\u80FD\u540C\u65F6\u4E3A\u7A7A\u3002","errCode.LabelProjectRoleIsNotTaskLevel":"\u6807\u6CE8\u9879\u76EE\u4E2D\u7684\u89D2\u8272\u4E0D\u662F\u4EFB\u52A1\u7EA7\u522B\uFF0C\u56E0\u6B64\u65E0\u6CD5\u88AB\u7ED1\u5B9A\u5230\u67D0\u4E2A\u4EFB\u52A1\u3002","errCode.CantReplaceRoleWithTheSameUser":"\u4E0D\u80FD\u7528\u540C\u4E2A\u7528\u6237\u66FF\u6362\u89D2\u8272\u3002","errCode.OldUserDoesNotHaveTheTaskRole":"\u65E7\u7528\u6237\u6CA1\u6709\u53EF\u88AB\u66FF\u6362\u7684\u4EFB\u52A1\u89D2\u8272\u3002","errCode.NewUserAlreadyHaveTheTaskRole":"\u65B0\u7528\u6237\u5DF2\u6709\u4EFB\u52A1\u89D2\u8272\u3002","errCode.CantTransferRoleBetweenDifferentTask":"\u89D2\u8272\u4E0D\u652F\u6301\u5728\u4E0D\u540C\u4EFB\u52A1\u95F4\u8FC1\u79FB\u3002","errCode.CantTransferRoleToDifferentKind":"\u65E0\u6CD5\u5C06\u89D2\u8272\u8F6C\u6362\u4E3A\u5176\u5B83\u7C7B\u578B\u3002","errCode.RestartLabelTaskMustBeRejected":"\u6807\u6CE8\u4EFB\u52A1\u72B6\u6001\u5FC5\u987B\u4E3A\u62D2\u7EDD\u3002","errCode.QALabelTaskActionError":"\u64CD\u4F5C\u9519\u8BEF\uFF0C\u5FC5\u987B\u4E3A\u63A5\u53D7\u3001\u62D2\u7EDD\u6216\u5F3A\u5236\u63A5\u53D7\u3002","errCode.AcceptLabelTaskMustBeReviewing":"\u63A5\u53D7\u6807\u6CE8\u4EFB\u52A1\u7684\u72B6\u6001\u5FC5\u987B\u4E3A\u5BA1\u6838\u4E2D\u3002","errCode.RejectLabelTaskMustBeReviewing":"\u62D2\u7EDD\u6807\u6CE8\u4EFB\u52A1\u7684\u72B6\u6001\u5FC5\u987B\u4E3A\u5BA1\u6838\u4E2D\u3002","errCode.ForceAcceptLabelTaskMustBeRejected":"\u5F3A\u5236\u63A5\u53D7\u6807\u6CE8\u4EFB\u52A1\u7684\u72B6\u6001\u5FC5\u987B\u4E3A\u5BA1\u6838\u4E2D\u3002","errCode.LabelAnnotationMissingFields":"\u6807\u6CE8\u5B57\u6BB5\u7F3A\u5931\u3002","errCode.LabelAnnotationFieldValueInvalid":"\u6807\u6CE8\u5B57\u6BB5\u5BF9\u5E94\u6570\u503C\u65E0\u6548\u3002","errCode.LabelImageRequireTaskStatusWorking":"\u6807\u6CE8\u56FE\u7247\u8981\u6C42\u4EFB\u52A1\u72B6\u6001\u4E3A\u8FDB\u884C\u4E2D\u3002","errCode.LabelImageRequireUnfinishedReviewing":"\u6807\u6CE8\u56FE\u7247\u8981\u6C42\u4EFB\u52A1\u72B6\u6001\u4E3A\u672A\u5B8C\u6210\u5BA1\u6838\u4E2D\u3002","errCode.ReviewImageRequireTaskStatusWorking":"\u5BA1\u6838\u56FE\u7247\u8981\u6C42\u4EFB\u52A1\u72B6\u6001\u4E3A\u8FDB\u884C\u4E2D\u3002","errCode.ReviewImageRequireFinishedLabeling":"\u5BA1\u6838\u56FE\u7247\u9700\u8981\u5DF2\u5B8C\u6210\u6807\u6CE8\u3002","errCode.ReviewImageTargetLabelNotFound":"\u5BA1\u6838\u56FE\u7247\u76EE\u6807\u6807\u7B7E\u672A\u627E\u5230\u3002","errCode.ReviewImageFoundExistedReview":"\u56FE\u7247\u5DF2\u7ECF\u88AB\u5BA1\u6838\u8FC7\u3002","errCode.CantDeleteAllOwnersOfLabelProject":"\u4E0D\u80FD\u5220\u9664\u6807\u6CE8\u9879\u76EE\u7684\u6240\u6709\u6240\u6709\u8005\u3002","errCode.NumOfTaskLeaderMismatchesConfig":"\u4EFB\u52A1\u8D1F\u8D23\u4EBA\u6570\u91CF\u4E0E\u914D\u7F6E\u4E0D\u5339\u914D\u3002","errCode.TaskDoesNotRequireReviewer":"\u4EFB\u52A1\u4E0D\u9700\u8981\u5BA1\u6838\u5458\u3002","errCode.NumOfTaskLabelerMismatchesConfig":"\u4EFB\u52A1\u6807\u6CE8\u5458\u6570\u91CF\u4E0E\u914D\u7F6E\u4E0D\u5339\u914D\u3002","errCode.NumOfTaskReviewerMismatchesConfig":"\u4EFB\u52A1\u5BA1\u6838\u5458\u6570\u91CF\u4E0E\u914D\u7F6E\u4E0D\u5339\u914D\u3002","errCode.TryInitRoleForTaskWithActiveRoles":"\u65E0\u6CD5\u4E3A\u5DF2\u6709\u6D3B\u8DC3\u72B6\u6001\u89D2\u8272\u7684\u4EFB\u52A1\u521D\u59CB\u5316\u89D2\u8272\u3002","errCode.TaskRoleNotOfLeaderKind":"\u4EFB\u52A1\u89D2\u8272\u4E0D\u662F\u9886\u5BFC\u8005\u7C7B\u578B\u3002","errCode.Unauthorized":"\u672A\u7ECF\u6388\u6743\u3002","errCode.Forbidden":"\u7981\u6B62\u8BBF\u95EE\u3002","errCode.UserAuthenticationFailed":"\u7528\u6237\u8BA4\u8BC1\u5931\u8D25\u3002","errCode.UserCantViewLabelProjectTask":"\u7528\u6237\u65E0\u6CD5\u67E5\u770B\u6807\u6CE8\u9879\u76EE\u4EFB\u52A1\u3002","errCode.UserCantViewLabelProjectRole":"\u7528\u6237\u65E0\u6CD5\u67E5\u770B\u6807\u6CE8\u9879\u76EE\u89D2\u8272\u3002","errCode.UserCantCreateLabelProject":"\u7528\u6237\u65E0\u6CD5\u521B\u5EFA\u6807\u6CE8\u9879\u76EE","errCode.UserCantViewLabelProject":"\u7528\u6237\u65E0\u6CD5\u67E5\u770B\u6807\u6CE8\u9879\u76EE\u3002","errCode.UserCantEditLabelProject":"\u7528\u6237\u65E0\u6CD5\u7F16\u8F91\u6807\u6CE8\u9879\u76EE\u3002","errCode.UserCantInitLabelProject":"\u7528\u6237\u65E0\u6CD5\u521D\u59CB\u5316\u6807\u6CE8\u9879\u76EE","errCode.UserCantQALabelProject":"\u7528\u6237\u65E0\u6CD5\u8FDB\u884C\u6807\u6CE8\u9879\u76EE\u7684 QA\u3002","errCode.UserCantExportLabelProject":"\u7528\u6237\u65E0\u6CD5\u5BFC\u51FA\u6807\u6CE8\u9879\u76EE\u3002","errCode.UserCantAssignLabelTaskLeader":"\u7528\u6237\u65E0\u6CD5\u6307\u5B9A\u6807\u6CE8\u4EFB\u52A1\u8D1F\u8D23\u4EBA\u3002","errCode.UserCantAssignLabelTaskWorker":"\u7528\u6237\u65E0\u6CD5\u6307\u5B9A\u6807\u6CE8\u4EFB\u52A1\u6807\u6CE8\u5458\u3002","errCode.UserCantRestartLabelTask":"\u7528\u6237\u65E0\u6CD5\u91CD\u65B0\u542F\u52A8\u6807\u6CE8\u4EFB\u52A1\u3002","errCode.UserCantQALabelTask":"\u7528\u6237\u65E0\u6CD5\u8FDB\u884C\u6807\u6CE8\u4EFB\u52A1\u7684 QA\u3002","errCode.UserCantLabelTaskImage":"\u7528\u6237\u65E0\u6CD5\u6807\u6CE8\u4EFB\u52A1\u56FE\u50CF\u3002","errCode.UserCantReviewTaskImage":"\u7528\u6237\u65E0\u6CD5\u5BA1\u6838\u4EFB\u52A1\u56FE\u50CF\u3002","errCode.NotFound":"\u672A\u627E\u5230\u3002","errCode.DatasetNotFound":"\u6570\u636E\u96C6\u672A\u627E\u5230\u3002","errCode.DatasetNotReadable":"\u6570\u636E\u96C6\u4E0D\u53EF\u8BFB\u3002","errCode.DatasetMissingEmbdFile":"\u6570\u636E\u96C6\u7F3A\u5C11 embedding \u6587\u4EF6\u3002","errCode.DatasetImageNotFound":"\u6570\u636E\u96C6\u56FE\u50CF\u672A\u627E\u5230\u3002","errCode.DatasetHasNoFNFPData":"\u6570\u636E\u96C6\u6CA1\u6709 FN/FP \u6570\u636E\u3002","errCode.DatasetLabelNotFound":"\u6570\u636E\u96C6\u6807\u7B7E\u672A\u627E\u5230\u3002","errCode.DatasetFNFPPrecisionNotFound":"\u6570\u636E\u96C6 FN/FP \u7CBE\u5EA6\u672A\u627E\u5230\u3002","errCode.DatasetSubsetNotFound":"\u6570\u636E\u96C6\u5B50\u96C6\u672A\u627E\u5230\u3002","errCode.LabelProjectNotFound":"\u6807\u6CE8\u9879\u76EE\u672A\u627E\u5230\u3002","errCode.LabelProjectRoleNotFound":"\u6807\u6CE8\u9879\u76EE\u89D2\u8272\u672A\u627E\u5230\u3002","errCode.LabelProjectTaskNotFound":"\u6807\u6CE8\u9879\u76EE\u4EFB\u52A1\u672A\u627E\u5230\u3002","errCode.LabelTaskImageNotFound":"\u6807\u6CE8\u4EFB\u52A1\u56FE\u50CF\u672A\u627E\u5230\u3002","errCode.TokenExceedsRateLimit":"\u8BE5\u8D26\u53F7\u8BF7\u6C42\u8D85\u8FC7\u9650\u9891\u3002","errCode.InternalError":"\u5185\u90E8\u9519\u8BEF\u3002","errCode.FailedToCloneLabelSet":"\u514B\u9686\u6807\u6CE8\u96C6\u5931\u8D25\u3002","errCode.UserPasswordInvalid":"\u7528\u6237\u5BC6\u7801\u65E0\u6548","errCode.UserEmailInvalid":"\u7528\u6237\u7535\u5B50\u90AE\u4EF6\u65E0\u6548","errCode.UserEmailOccupied":"\u7528\u6237\u7535\u5B50\u90AE\u4EF6\u5DF2\u88AB\u5360\u7528","errCode.UserActivationTokenInvalid":"\u7528\u6237\u6FC0\u6D3B\u4EE4\u724C\u65E0\u6548","errCode.UserActivationTokenExpired":"\u7528\u6237\u6FC0\u6D3B\u4EE4\u724C\u5DF2\u8FC7\u671F","errCode.UserActivationTokenUsed":"\u7528\u6237\u6FC0\u6D3B\u4EE4\u724C\u5DF2\u88AB\u4F7F\u7528","errCode.UserAlreadyActivated":"\u7528\u6237\u5DF2\u7ECF\u6FC0\u6D3B","errCode.UserEmailWaitForActivation":"\u8BE5\u90AE\u7BB1\u5DF2\u6CE8\u518C\uFF0C\u7B49\u5F85\u7528\u6237\u6FC0\u6D3B\u3002","errCode.UserNotFound":"\u627E\u4E0D\u5230\u7528\u6237","errCode.UserEmailNotFound":"\u627E\u4E0D\u5230\u7528\u6237\u7535\u5B50\u90AE\u4EF6"},Ma=s()(s()({},pr),Ur),ma=["cache"],Yn,Zn=!0,Sr=new(rr()),Xr=Symbol("LANG_CHANGE"),wr={"en-US":{messages:s()({},ta),locale:"en-US",antd:s()({},sr.Z),momentLocale:""},"zh-CN":{messages:s()({},Ma),locale:"zh-CN",antd:s()({},ga.Z),momentLocale:"zh-cn"}},Pt=function(Rt,Ae,dn){var Pn,Sn,er,ir;if(Rt){var Hr=(Pn=wr[Rt])!==null&&Pn!==void 0&&Pn.messages?Object.assign({},wr[Rt].messages,Ae):Ae,Oa=dn||{},oa=Oa.momentLocale,Jr=oa===void 0?(Sn=wr[Rt])===null||Sn===void 0?void 0:Sn.momentLocale:oa,na=Oa.antd,Lr=na===void 0?(er=wr[Rt])===null||er===void 0?void 0:er.antd:na,Zr=(ir=Rt.split("-"))===null||ir===void 0?void 0:ir.join("-");wr[Rt]={messages:Hr,locale:Zr,momentLocale:Jr,antd:Lr},Zr===Ua()&&Sr.emit(Xr,Zr)}},on=function(Rt){return(0,Bn.We)().applyPlugins({key:"locale",type:"modify",initialValue:Rt})},Mn=function(Rt){var Ae=on(wr[Rt]),dn=Ae.cache,Pn=t()(Ae,ma);return rn(Pn,dn)},Ja=function(Rt,Ae){return Yn&&!Ae&&!Rt?Yn:(Rt||(Rt=Ua()),Rt&&wr[Rt]?Mn(Rt):(kr()(!Rt||!!wr[Rt],"The current popular language does not exist, please check the locales folder!"),wr["en-US"]?Mn("en-US"):rn({locale:"en-US",messages:{}})))},mo=function(Rt){Yn=Ja(Rt,!0)},Ua=function(){var Rt=on({});if(typeof(Rt==null?void 0:Rt.getLocale)=="function")return Rt.getLocale();var Ae=navigator.cookieEnabled&&typeof localStorage!="undefined"&&Zn?window.localStorage.getItem("umi_locale"):"",dn,Pn=typeof navigator!="undefined"&&typeof navigator.language=="string";return dn=Pn?navigator.language.split("-").join("-"):"",Ae||dn||"en-US"},ka=function(){var Rt=Ua(),Ae=["he","ar","fa","ku"],dn=Ae.filter(function(Pn){return Rt.startsWith(Pn)}).length?"rtl":"ltr";return dn},Qa=function(Rt){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,dn=function(){if(Ua()!==Rt){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Zn&&window.localStorage.setItem("umi_locale",Rt||""),mo(Rt),Ae)window.location.reload();else if(Sr.emit(Xr,Rt),window.dispatchEvent){var Sn=new Event("languagechange");window.dispatchEvent(Sn)}}};dn()},wo=!0,No=function(Rt,Ae){return wo&&(kr()(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl. \u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002 http://j.mp/37Fkd5Q - `),wo=!1),Hn||ho($a()),Hn.formatMessage(zt,Ae)},yo=function(){return Object.keys(Dr)}},47338:function(b,y,e){"use strict";e.d(y,{t:function(){return N},z:function(){return $}});var a=e(88205),t=e.n(a),o=e(61697),s=e.n(o),n=e(77016),d=e.n(n),l=e(2657),c=e.n(l),m=e(44204),g=e.n(m),M=e(58757),h=e(35667),S=M.createContext(null),w=s()(function L(){var B=this;d()(this,L),c()(this,"callbacks",{}),c()(this,"data",{}),c()(this,"update",function(D){B.callbacks[D]&&B.callbacks[D].forEach(function(T){try{var j=B.data[D];T(j)}catch(K){T(void 0)}})})});function C(L){var B=L.hook,D=L.onUpdate,T=L.namespace,j=(0,M.useRef)(D),K=(0,M.useRef)(!1),k;try{k=B()}catch(te){console.error("plugin-model: Invoking '".concat(T||"unknown","' model failed:"),te)}return(0,M.useMemo)(function(){j.current(k)},[]),(0,M.useEffect)(function(){K.current?j.current(k):K.current=!0}),null}var z=new w;function $(L){return(0,h.jsxs)(S.Provider,{value:{dispatcher:z},children:[Object.keys(L.models).map(function(B){return(0,h.jsx)(C,{hook:L.models[B],namespace:B,onUpdate:function(T){z.data[B]=T,z.update(B)}},B)}),L.children]})}function N(L,B){var D=(0,M.useContext)(S),T=D.dispatcher,j=(0,M.useRef)(B);j.current=B;var K=(0,M.useState)(function(){return j.current?j.current(T.data[L]):T.data[L]}),k=t()(K,2),te=k[0],Y=k[1],q=(0,M.useRef)(te);q.current=te;var le=(0,M.useRef)(!1);return(0,M.useEffect)(function(){return le.current=!0,function(){le.current=!1}},[]),(0,M.useEffect)(function(){var X,W=function(O){if(!le.current)setTimeout(function(){T.data[L]=O,T.update(L)});else{var _=j.current?j.current(O):O,U=q.current;g()(_,U)||(q.current=_,Y(_))}};return(X=T.callbacks)[L]||(X[L]=new Set),T.callbacks[L].add(W),T.update(L),function(){T.callbacks[L].delete(W)}},[L]),te}},76180:function(b,y,e){"use strict";e.d(y,{AD:function(){return H},JJ:function(){return ye},EX:function(){return P},BP:function(){return xe},pB:function(){return ue},G3:function(){return Ne},YZ:function(){return J},J1:function(){return ce},L8:function(){return Ze},Ss:function(){return R},zY:function(){return ne},oC:function(){return we},gS:function(){return Ke},po:function(){return Ee},a5:function(){return Me},j3:function(){return re},YC:function(){return We},iP:function(){return Q},oM:function(){return ie},JQ:function(){return ae},Wp:function(){return je},$j:function(){return se},uP:function(){return me},Uf:function(){return Oe}});var a=e(2657),t=e.n(a),o=e(58757),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(tt,Ye,ke)=>Ye in tt?s(tt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):tt[Ye]=ke,m=(tt,Ye)=>{for(var ke in Ye||(Ye={}))d.call(Ye,ke)&&c(tt,ke,Ye[ke]);if(n)for(var ke of n(Ye))l.call(Ye,ke)&&c(tt,ke,Ye[ke]);return tt};const g=tt=>o.createElement("svg",m({className:"classification_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},tt),o.createElement("path",{d:"M797.723 912.007h-149.1c-59.634 0-109.325-49.691-109.325-109.326V539.325h263.356c59.635 0 109.326 49.69 109.326 109.325v149.073c0 29.804-9.944 54.65-29.804 79.495-29.83 24.818-54.703 34.762-84.48 34.762zm-422.373 0H226.277c-64.593 0-114.257-49.691-114.257-109.326V653.608c0-29.803 9.917-59.634 34.762-79.494 19.86-19.887 49.691-34.79 79.495-34.79h258.398v263.357c0 29.804-9.943 54.65-29.803 79.495-24.846 19.887-49.691 29.83-79.522 29.83zm422.373-422.373H534.339V226.277c0-29.804 9.97-59.634 34.79-79.495 19.887-19.86 49.69-34.762 79.521-34.762h149.073c59.608 4.932 109.298 54.623 109.298 114.257V375.35c0 29.83-9.916 54.676-29.803 79.495-24.846 24.845-49.691 34.762-79.495 34.762zm-313.048 0H221.32c-59.635 0-109.326-49.691-109.326-109.326V231.235c0-29.803 9.944-59.607 34.79-79.494 19.86-24.819 49.69-34.762 74.536-34.762h149.073c59.634 0 109.298 49.664 109.298 109.298v263.384h4.958v-.027z"}));var M="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTc5Ny43MjMgOTEyLjAwN2gtMTQ5LjFjLTU5LjYzNCAwLTEwOS4zMjUtNDkuNjkxLTEwOS4zMjUtMTA5LjMyNlY1MzkuMzI1aDI2My4zNTZjNTkuNjM1IDAgMTA5LjMyNiA0OS42OSAxMDkuMzI2IDEwOS4zMjV2MTQ5LjA3M2MwIDI5LjgwNC05Ljk0NCA1NC42NS0yOS44MDQgNzkuNDk1LTI5LjgzIDI0LjgxOC01NC43MDMgMzQuNzYyLTg0LjQ4IDM0Ljc2MnptLTQyMi4zNzMgMEgyMjYuMjc3Yy02NC41OTMgMC0xMTQuMjU3LTQ5LjY5MS0xMTQuMjU3LTEwOS4zMjZWNjUzLjYwOGMwLTI5LjgwMyA5LjkxNy01OS42MzQgMzQuNzYyLTc5LjQ5NCAxOS44Ni0xOS44ODcgNDkuNjkxLTM0Ljc5IDc5LjQ5NS0zNC43OWgyNTguMzk4djI2My4zNTdjMCAyOS44MDQtOS45NDMgNTQuNjUtMjkuODAzIDc5LjQ5NS0yNC44NDYgMTkuODg3LTQ5LjY5MSAyOS44My03OS41MjIgMjkuODN6bTQyMi4zNzMtNDIyLjM3M0g1MzQuMzM5VjIyNi4yNzdjMC0yOS44MDQgOS45Ny01OS42MzQgMzQuNzktNzkuNDk1IDE5Ljg4Ny0xOS44NiA0OS42OS0zNC43NjIgNzkuNTIxLTM0Ljc2MmgxNDkuMDczYzU5LjYwOCA0LjkzMiAxMDkuMjk4IDU0LjYyMyAxMDkuMjk4IDExNC4yNTdWMzc1LjM1YzAgMjkuODMtOS45MTYgNTQuNjc2LTI5LjgwMyA3OS40OTUtMjQuODQ2IDI0Ljg0NS00OS42OTEgMzQuNzYyLTc5LjQ5NSAzNC43NjJ6bS0zMTMuMDQ4IDBIMjIxLjMyYy01OS42MzUgMC0xMDkuMzI2LTQ5LjY5MS0xMDkuMzI2LTEwOS4zMjZWMjMxLjIzNWMwLTI5LjgwMyA5Ljk0NC01OS42MDcgMzQuNzktNzkuNDk0IDE5Ljg2LTI0LjgxOSA0OS42OS0zNC43NjIgNzQuNTM2LTM0Ljc2MmgxNDkuMDczYzU5LjYzNCAwIDEwOS4yOTggNDkuNjY0IDEwOS4yOTggMTA5LjI5OHYyNjMuMzg0aDQuOTU4di0uMDI3eiIvPjwvc3ZnPg==",h=Object.defineProperty,S=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,z=(tt,Ye,ke)=>Ye in tt?h(tt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):tt[Ye]=ke,$=(tt,Ye)=>{for(var ke in Ye||(Ye={}))w.call(Ye,ke)&&z(tt,ke,Ye[ke]);if(S)for(var ke of S(Ye))C.call(Ye,ke)&&z(tt,ke,Ye[ke]);return tt};const N=tt=>o.createElement("svg",$({className:"datasetDetection_svg__icon",viewBox:"0 0 1092 1024",xmlns:"http://www.w3.org/2000/svg",width:213.281,height:200},tt),o.createElement("path",{d:"m514.859 116.928 318.336 130.624-1.28 3.2 2.88-1.152v448l-320 128-320-128v-448l2.816 1.152-1.28-3.2 318.528-130.624zm-256 227.2v310.144l224 89.6V434.24h1.28l-225.28-90.112zm512 0L545.323 434.24h1.408v309.632l224-89.6V344.128zm-256.064-158.08-236.352 97.024L514.795 377.6l236.288-94.528-236.288-97.024zM132.523 728.064v160h160v64h-224v-224h64zm830.272 0v224h-224v-64h160v-160h64zm-670.272-672v64h-160v160h-64v-224h224zm670.272 0v224h-64v-160h-160v-64h224z"}),o.createElement("path",{d:"M4.267 0h1024v1024h-1024z",fill:"none"}));var L="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwOTIgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjEzLjI4MSIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Im01MTQuODU5IDExNi45MjggMzE4LjMzNiAxMzAuNjI0LTEuMjggMy4yIDIuODgtMS4xNTJ2NDQ4bC0zMjAgMTI4LTMyMC0xMjh2LTQ0OGwyLjgxNiAxLjE1Mi0xLjI4LTMuMiAzMTguNTI4LTEzMC42MjR6bS0yNTYgMjI3LjJ2MzEwLjE0NGwyMjQgODkuNlY0MzQuMjRoMS4yOGwtMjI1LjI4LTkwLjExMnptNTEyIDBMNTQ1LjMyMyA0MzQuMjRoMS40MDh2MzA5LjYzMmwyMjQtODkuNlYzNDQuMTI4em0tMjU2LjA2NC0xNTguMDgtMjM2LjM1MiA5Ny4wMjRMNTE0Ljc5NSAzNzcuNmwyMzYuMjg4LTk0LjUyOC0yMzYuMjg4LTk3LjAyNHpNMTMyLjUyMyA3MjguMDY0djE2MGgxNjB2NjRoLTIyNHYtMjI0aDY0em04MzAuMjcyIDB2MjI0aC0yMjR2LTY0aDE2MHYtMTYwaDY0em0tNjcwLjI3Mi02NzJ2NjRoLTE2MHYxNjBoLTY0di0yMjRoMjI0em02NzAuMjcyIDB2MjI0aC02NHYtMTYwaC0xNjB2LTY0aDIyNHoiLz48cGF0aCBkPSJNNC4yNjcgMGgxMDI0djEwMjRoLTEwMjR6IiBmaWxsPSJub25lIi8+PC9zdmc+",B=Object.defineProperty,D=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,K=(tt,Ye,ke)=>Ye in tt?B(tt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):tt[Ye]=ke,k=(tt,Ye)=>{for(var ke in Ye||(Ye={}))T.call(Ye,ke)&&K(tt,ke,Ye[ke]);if(D)for(var ke of D(Ye))j.call(Ye,ke)&&K(tt,ke,Ye[ke]);return tt};const te=tt=>o.createElement("svg",k({className:"datasetSegment_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},tt),o.createElement("path",{d:"M179.2 524.288h678.912a25.6 25.6 0 0 0 0-51.2H179.2a25.6 25.6 0 0 0 0 51.2zm700.672-245.504v-56.32l-164.864 156.16H774.4l105.472-99.84zm0 73.216-27.904 26.624h27.904V352zm-242.176 26.624 242.176-229.376v-15.616h-43.264L578.304 378.624h59.392zm-136.96 0 258.56-244.992h-59.392L441.6 378.624h59.136zm-136.704 0 258.304-244.992h-59.392l-258.56 244.992h59.648zm-136.96 0 258.56-244.992H426.24L167.68 378.624h59.392zm62.72-244.992L156.16 260.352v55.808l192.512-182.528h-58.88zm-133.632 0v53.504l56.32-53.504h-56.32zm618.24 742.4 105.472-99.584v-56.576l-164.864 156.16H774.4zm105.472 0v-26.368l-27.904 26.368h27.904zm-301.568 0h59.392l242.176-229.376v-15.36h-43.264L578.304 876.032zm121.6-244.736L441.6 876.032h59.136l258.56-244.736h-59.392zm-136.96 0-258.56 244.736h59.648l258.304-244.736h-59.392zm-136.704 0L167.68 876.032h59.392l258.56-244.736H426.24zm-136.448 0L156.16 758.016v55.808l192.512-182.528h-58.88zM156.16 684.544l56.32-53.248h-56.32v53.248z"}));var Y="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTE3OS4yIDUyNC4yODhoNjc4LjkxMmEyNS42IDI1LjYgMCAwIDAgMC01MS4ySDE3OS4yYTI1LjYgMjUuNiAwIDAgMCAwIDUxLjJ6bTcwMC42NzItMjQ1LjUwNHYtNTYuMzJsLTE2NC44NjQgMTU2LjE2SDc3NC40bDEwNS40NzItOTkuODR6bTAgNzMuMjE2LTI3LjkwNCAyNi42MjRoMjcuOTA0VjM1MnptLTI0Mi4xNzYgMjYuNjI0IDI0Mi4xNzYtMjI5LjM3NnYtMTUuNjE2aC00My4yNjRMNTc4LjMwNCAzNzguNjI0aDU5LjM5MnptLTEzNi45NiAwIDI1OC41Ni0yNDQuOTkyaC01OS4zOTJMNDQxLjYgMzc4LjYyNGg1OS4xMzZ6bS0xMzYuNzA0IDAgMjU4LjMwNC0yNDQuOTkyaC01OS4zOTJsLTI1OC41NiAyNDQuOTkyaDU5LjY0OHptLTEzNi45NiAwIDI1OC41Ni0yNDQuOTkySDQyNi4yNEwxNjcuNjggMzc4LjYyNGg1OS4zOTJ6bTYyLjcyLTI0NC45OTJMMTU2LjE2IDI2MC4zNTJ2NTUuODA4bDE5Mi41MTItMTgyLjUyOGgtNTguODh6bS0xMzMuNjMyIDB2NTMuNTA0bDU2LjMyLTUzLjUwNGgtNTYuMzJ6bTYxOC4yNCA3NDIuNCAxMDUuNDcyLTk5LjU4NHYtNTYuNTc2bC0xNjQuODY0IDE1Ni4xNkg3NzQuNHptMTA1LjQ3MiAwdi0yNi4zNjhsLTI3LjkwNCAyNi4zNjhoMjcuOTA0em0tMzAxLjU2OCAwaDU5LjM5MmwyNDIuMTc2LTIyOS4zNzZ2LTE1LjM2aC00My4yNjRMNTc4LjMwNCA4NzYuMDMyem0xMjEuNi0yNDQuNzM2TDQ0MS42IDg3Ni4wMzJoNTkuMTM2bDI1OC41Ni0yNDQuNzM2aC01OS4zOTJ6bS0xMzYuOTYgMC0yNTguNTYgMjQ0LjczNmg1OS42NDhsMjU4LjMwNC0yNDQuNzM2aC01OS4zOTJ6bS0xMzYuNzA0IDBMMTY3LjY4IDg3Ni4wMzJoNTkuMzkybDI1OC41Ni0yNDQuNzM2SDQyNi4yNHptLTEzNi40NDggMEwxNTYuMTYgNzU4LjAxNnY1NS44MDhsMTkyLjUxMi0xODIuNTI4aC01OC44OHpNMTU2LjE2IDY4NC41NDRsNTYuMzItNTMuMjQ4aC01Ni4zMnY1My4yNDh6Ii8+PC9zdmc+",q=Object.defineProperty,le=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,x=(tt,Ye,ke)=>Ye in tt?q(tt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):tt[Ye]=ke,O=(tt,Ye)=>{for(var ke in Ye||(Ye={}))X.call(Ye,ke)&&x(tt,ke,Ye[ke]);if(le)for(var ke of le(Ye))W.call(Ye,ke)&&x(tt,ke,Ye[ke]);return tt};const _=tt=>o.createElement("svg",O({className:"datasetMatting_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},tt),o.createElement("path",{d:"M832 288h-96v-96c0-52.9-43.1-96-96-96H192c-52.9 0-96 43.1-96 96v448c0 52.9 43.1 96 96 96h96v96c0 52.9 43.1 96 96 96h448c52.9 0 96-43.1 96-96V384c0-52.9-43.1-96-96-96zM160 640V192c0-17.6 14.4-32 32-32h448c17.6 0 32 14.4 32 32v96h-32c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v288c0 17.6-14.4 32-32 32H352v-32c0-17.7-14.3-32-32-32s-32 14.3-32 32v32h-96c-17.6 0-32-14.4-32-32zm704 192c0 17.6-14.4 32-32 32H384c-17.6 0-32-14.4-32-32v-96h288c52.9 0 96-43.1 96-96V352h96c17.6 0 32 14.4 32 32v448z"}),o.createElement("path",{d:"M320 576c17.7 0 32-14.3 32-32v-64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7 14.3 32 32 32zm160-224h64c17.7 0 32-14.3 32-32s-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-160 64c17.7 0 32-14.3 32-32 0-17.6 14.4-32 32-32 17.7 0 32-14.3 32-32s-14.3-32-32-32c-52.9 0-96 43.1-96 96 0 17.7 14.3 32 32 32z"}));var U="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgzMiAyODhoLTk2di05NmMwLTUyLjktNDMuMS05Ni05Ni05NkgxOTJjLTUyLjkgMC05NiA0My4xLTk2IDk2djQ0OGMwIDUyLjkgNDMuMSA5NiA5NiA5Nmg5NnY5NmMwIDUyLjkgNDMuMSA5NiA5NiA5Nmg0NDhjNTIuOSAwIDk2LTQzLjEgOTYtOTZWMzg0YzAtNTIuOS00My4xLTk2LTk2LTk2ek0xNjAgNjQwVjE5MmMwLTE3LjYgMTQuNC0zMiAzMi0zMmg0NDhjMTcuNiAwIDMyIDE0LjQgMzIgMzJ2OTZoLTMyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnMxNC4zIDMyIDMyIDMyaDMydjI4OGMwIDE3LjYtMTQuNCAzMi0zMiAzMkgzNTJ2LTMyYzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjMyaC05NmMtMTcuNiAwLTMyLTE0LjQtMzItMzJ6bTcwNCAxOTJjMCAxNy42LTE0LjQgMzItMzIgMzJIMzg0Yy0xNy42IDAtMzItMTQuNC0zMi0zMnYtOTZoMjg4YzUyLjkgMCA5Ni00My4xIDk2LTk2VjM1Mmg5NmMxNy42IDAgMzIgMTQuNCAzMiAzMnY0NDh6Ii8+PHBhdGggZD0iTTMyMCA1NzZjMTcuNyAwIDMyLTE0LjMgMzItMzJ2LTY0YzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjY0YzAgMTcuNyAxNC4zIDMyIDMyIDMyem0xNjAtMjI0aDY0YzE3LjcgMCAzMi0xNC4zIDMyLTMycy0xNC4zLTMyLTMyLTMyaC02NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJzMTQuMyAzMiAzMiAzMnptLTE2MCA2NGMxNy43IDAgMzItMTQuMyAzMi0zMiAwLTE3LjYgMTQuNC0zMiAzMi0zMiAxNy43IDAgMzItMTQuMyAzMi0zMnMtMTQuMy0zMi0zMi0zMmMtNTIuOSAwLTk2IDQzLjEtOTYgOTYgMCAxNy43IDE0LjMgMzIgMzIgMzJ6Ii8+PC9zdmc+",A=Object.defineProperty,G=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ge=(tt,Ye,ke)=>Ye in tt?A(tt,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):tt[Ye]=ke,be=(tt,Ye)=>{for(var ke in Ye||(Ye={}))de.call(Ye,ke)&&ge(tt,ke,Ye[ke]);if(G)for(var ke of G(Ye))he.call(Ye,ke)&&ge(tt,ke,Ye[ke]);return tt};const Te=tt=>o.createElement("svg",be({className:"datasetKeypoint_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},tt),o.createElement("path",{d:"M938.667 298.667c0 70.613-57.387 128-128 128s-128-57.387-128-128c0-1.92 0-3.627.213-5.334L501.12 238.72a107.03 107.03 0 0 1-63.787 55.253l69.334 138.24c15.36-3.626 31.573-5.546 48-5.546C672.213 426.667 768 522.453 768 640s-95.787 213.333-213.333 213.333c-85.334 0-159.147-50.56-193.067-123.093l-34.133 22.613c8.96 17.28 13.866 36.907 13.866 57.814 0 70.613-57.386 128-128 128s-128-57.387-128-128 57.387-128 128-128c34.774 0 66.134 13.653 88.96 36.053l44.8-29.867c-3.84-15.573-5.76-32-5.76-48.853 0-85.973 51.2-160.213 124.587-193.92L391.68 297.6A106.475 106.475 0 0 1 298.667 192c0-58.88 47.786-106.667 106.666-106.667S512 133.12 512 192c0 1.707 0 3.627-.213 5.333l180.053 53.974a127.957 127.957 0 0 1 118.827-80.64c70.613 0 128 57.386 128 128z"}));var Ge="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTkzOC42NjcgMjk4LjY2N2MwIDcwLjYxMy01Ny4zODcgMTI4LTEyOCAxMjhzLTEyOC01Ny4zODctMTI4LTEyOGMwLTEuOTIgMC0zLjYyNy4yMTMtNS4zMzRMNTAxLjEyIDIzOC43MmExMDcuMDMgMTA3LjAzIDAgMCAxLTYzLjc4NyA1NS4yNTNsNjkuMzM0IDEzOC4yNGMxNS4zNi0zLjYyNiAzMS41NzMtNS41NDYgNDgtNS41NDZDNjcyLjIxMyA0MjYuNjY3IDc2OCA1MjIuNDUzIDc2OCA2NDBzLTk1Ljc4NyAyMTMuMzMzLTIxMy4zMzMgMjEzLjMzM2MtODUuMzM0IDAtMTU5LjE0Ny01MC41Ni0xOTMuMDY3LTEyMy4wOTNsLTM0LjEzMyAyMi42MTNjOC45NiAxNy4yOCAxMy44NjYgMzYuOTA3IDEzLjg2NiA1Ny44MTQgMCA3MC42MTMtNTcuMzg2IDEyOC0xMjggMTI4cy0xMjgtNTcuMzg3LTEyOC0xMjggNTcuMzg3LTEyOCAxMjgtMTI4YzM0Ljc3NCAwIDY2LjEzNCAxMy42NTMgODguOTYgMzYuMDUzbDQ0LjgtMjkuODY3Yy0zLjg0LTE1LjU3My01Ljc2LTMyLTUuNzYtNDguODUzIDAtODUuOTczIDUxLjItMTYwLjIxMyAxMjQuNTg3LTE5My45MkwzOTEuNjggMjk3LjZBMTA2LjQ3NSAxMDYuNDc1IDAgMCAxIDI5OC42NjcgMTkyYzAtNTguODggNDcuNzg2LTEwNi42NjcgMTA2LjY2Ni0xMDYuNjY3UzUxMiAxMzMuMTIgNTEyIDE5MmMwIDEuNzA3IDAgMy42MjctLjIxMyA1LjMzM2wxODAuMDUzIDUzLjk3NGExMjcuOTU3IDEyNy45NTcgMCAwIDEgMTE4LjgyNy04MC42NGM3MC42MTMgMCAxMjggNTcuMzg2IDEyOCAxMjh6Ii8+PC9zdmc+",Je,Qe,pt,Ct,ft="Deep Data Space",Ht="https://img.alicdn.com/tfs/TB1YHEpwUT1gK0jSZFhXXaAtVXa-28-27.svg",Ze=50,Xe=null,rt=null,Ke=8,ye=function(tt){return tt.Classification="Classification",tt.Detection="Detection",tt.Segmentation="Segmentation",tt.Matting="Matting",tt.KeyPoints="KeyPoints",tt.Mask="Mask",tt}({}),ne=function(tt){return tt.showAnnotations="showAnnotations",tt.showAllCategory="showAllCategory",tt.showImgDesc="showImgDesc",tt.showBoxText="showBoxText",tt.showSegFilling="showSegFilling",tt.showSegContour="showSegContour",tt.showMattingColorFill="showMattingColorFill",tt.showKeyPointsLine="showKeyPointsLine",tt.showKeyPointsBox="showKeyPointsBox",tt}({}),H=(Je={},t()(Je,ye.Classification,g),t()(Je,ye.Detection,N),t()(Je,ye.Segmentation,te),t()(Je,ye.Matting,_),t()(Je,ye.KeyPoints,Te),t()(Je,ye.Mask,_),Je),R=(Qe={},t()(Qe,ne.showAnnotations,"lab.displayOption.showAnnotations"),t()(Qe,ne.showAllCategory,"lab.displayOption.showAllCategory"),t()(Qe,ne.showImgDesc,"lab.displayOption.showImgDesc"),t()(Qe,ne.showBoxText,"lab.displayOption.showBoxText"),t()(Qe,ne.showSegFilling,"lab.displayOption.showSegFilling"),t()(Qe,ne.showSegContour,"lab.displayOption.showSegContour"),t()(Qe,ne.showMattingColorFill,"lab.displayOption.showMattingColorFill"),t()(Qe,ne.showKeyPointsLine,"lab.displayOption.showKeyPointsLine"),t()(Qe,ne.showKeyPointsBox,"lab.displayOption.showKeyPointsBox"),Qe),P=[ne.showAnnotations,ne.showAllCategory,ne.showImgDesc],ae=[[0],[2],[5],[10],[1,5,3],[5,2,10]],Q=[1,.4,.6,.8,.85,.9],ie=[1,1.5,1.75,2,2.25,2.5],me=function(tt){return tt.Overlay="dataset.diffMode.overlay",tt.Tiled="dataset.diffMode.tiled",tt}({}),je=[me.Overlay,me.Tiled],Ee=function(tt){return tt[tt.all=-1]="all",tt[tt.unflaged=0]="unflaged",tt[tt.picked=1]="picked",tt[tt.rejected=2]="rejected",tt}({}),Me=(pt={},t()(pt,Ee.all,"transparent"),t()(pt,Ee.unflaged,"#8C8C8C"),t()(pt,Ee.picked,"#52C41A"),t()(pt,Ee.rejected,"#F5222D"),pt),We=[{value:Ee.picked,tip:"save as 'positive'"},{value:Ee.rejected,tip:"save as 'negative'"},{value:Ee.unflaged,tip:"save as 'unset'"}],re=[{value:Ee.all,name:"all"},{value:Ee.unflaged,name:"unset"},{value:Ee.picked,name:"positive"},{value:Ee.rejected,name:"negative"}],se=function(tt){return tt.gt="GT",tt.user="User",tt.pred="Pred",tt}({}),J=function(tt){return tt.fn="fn",tt.fp="fp",tt}({}),ce=[{value:J.fn,name:"FN count"},{value:J.fp,name:"FP count"}],xe=function(tt){return tt.ok="OK",tt.fn="FN",tt.fp="FP",tt}({}),ue=(Ct={},t()(Ct,xe.ok,""),t()(Ct,xe.fn,"rgba(255,0,0,0.4)"),t()(Ct,xe.fp,"rgba(0,0,255,0.4)"),Ct),Ne=[{value:se.gt,name:"GT - Matched"},{value:xe.fn,name:"GT - FN"},{value:se.pred,name:"Prediction - Matched"},{value:xe.fp,name:"Prediction - FP"}],Oe=function(tt){return tt.AUTH_TOKEN="auth_token",tt}({}),we=function(tt){return tt.Active="active",tt.Inactive="inactive",tt.Activating="activating",tt}({}),Re=function(tt){return tt.Upload="self_uploaded",tt.DirectUrl="direct_url",tt}({}),st=function(tt){return tt.Waiting="waiting",tt.Running="running",tt.Success="success",tt.Failed="failed",tt.Fail="fail",tt}({})},67160:function(b,y,e){"use strict";e.d(y,{$I:function(){return c},C2:function(){return d},nJ:function(){return s},vA:function(){return l}});var a=e(63900),t=e.n(a),o=e(76180),s=function(m){return m[m.pagination=0]="pagination",m[m.random=1]="random",m}({}),n={categoryId:"All",displayAnnotationType:void 0,displayOptions:[o.zY.showAnnotations,o.zY.showAllCategory],selectedLabelIds:[],diffMode:o.uP.Overlay},d={datasetId:"",datasetName:"",queryMode:s.pagination,offset:-1,page:1,pageSize:o.L8,cloumnCount:5,isSingleAnnotation:!1,previewIndex:-1,filterValues:t()({},n),comparisons:void 0,flagTools:void 0},l={imgList:[],total:0,flagTools:{lastShiftIndex:-1,lastSavedIndexs:[],count:0}},c=t()(t()({},l),{},{screenLoading:"",hasEmbedFile:!1,filters:{categories:[],annotationTypes:[],displayOptions:o.EX,labels:[]}})},35459:function(b,y,e){"use strict";e.d(y,{JE:function(){return m},ZA:function(){return c},gZ:function(){return l},j$:function(){return g},mu:function(){return d},tz:function(){return n}});var a=e(2657),t=e.n(a),o,s,n=function(M){return M.Waiting="waiting",M.Initializing="initializing",M.Working="working",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M.Exported="exported",M}({}),d=(o={},t()(o,n.Waiting,{text:"proj.statusMap.waiting",color:"default"}),t()(o,n.Initializing,{text:"proj.statusMap.initializing",color:"default"}),t()(o,n.Working,{text:"proj.statusMap.working",color:"processing"}),t()(o,n.Reviewing,{text:"proj.statusMap.reviewing",color:"warning"}),t()(o,n.Rejected,{text:"proj.statusMap.rejected",color:"error"}),t()(o,n.Accepted,{text:"proj.statusMap.accepted",color:"success"}),t()(o,n.Exported,{text:"proj.statusMap.exported",color:"default"}),o),l=function(M){return M.Waiting="waiting",M.Working="working",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M}({}),c=(s={},t()(s,l.Waiting,{text:"proj.eTaskStatus.waiting",color:"default"}),t()(s,l.Working,{text:"proj.eTaskStatus.working",color:"processing"}),t()(s,l.Reviewing,{text:"proj.eTaskStatus.reviewing",color:"warning"}),t()(s,l.Rejected,{text:"proj.eTaskStatus.rejected",color:"error"}),t()(s,l.Accepted,{text:"proj.eTaskStatus.accepted",color:"success"}),s),m=function(M){return M.Accept="accept",M.Reject="reject",M.ForceAccept="force_accept",M}({}),g=function(M){return M.Labeling="labeling",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M}({})},1239:function(b,y,e){"use strict";e.d(y,{Oc:function(){return d},vb:function(){return n}});var a=e(2657),t=e.n(a),o=e(97375),s,n=function(c){return c.Owner="owner",c.Manager="manager",c.LabelLeader="label_leader",c.ReviewLeader="review_leader",c.Labeler="labeler",c.Reviewer="reviewer",c}({}),d=function(c){return c[c.ProjectEdit=0]="ProjectEdit",c[c.ProjectInfo=1]="ProjectInfo",c[c.ProjectInit=2]="ProjectInit",c[c.ProjectQa=3]="ProjectQa",c[c.ProjectExport=4]="ProjectExport",c[c.AssignLeader=100]="AssignLeader",c[c.TaskQa=101]="TaskQa",c[c.AssignLabeler=102]="AssignLabeler",c[c.AssignReviewer=103]="AssignReviewer",c[c.RestartTask=104]="RestartTask",c[c.StartLabel=105]="StartLabel",c[c.StartReview=106]="StartReview",c[c.CommitReviewTask=107]="CommitReviewTask",c[c.View=108]="View",c}({}),l=(s={},t()(s,n.Owner,[d.ProjectEdit,d.ProjectQa,d.View,d.ProjectExport]),t()(s,n.Manager,[d.ProjectInit,d.ProjectInfo,d.AssignLeader,d.TaskQa,d.View]),t()(s,n.LabelLeader,[d.AssignLabeler,d.RestartTask,d.View]),t()(s,n.ReviewLeader,[d.AssignReviewer,d.View]),t()(s,n.Labeler,[d.StartLabel]),t()(s,n.Reviewer,[d.StartReview,d.CommitReviewTask]),s);y.ZP=function(){var c=(0,o.useModel)("user"),m=c.user,g=function(S,w){if(!m.userId||!S)return[];var C=[];if(m.userId===S.owner.id&&C.push(n.Owner),S.managers.find(function(N){return N.id===m.userId})&&C.push(n.Manager),w){var z,$;((z=w.labelLeader)===null||z===void 0?void 0:z.userId)===m.userId&&C.push(n.LabelLeader),(($=w.reviewLeader)===null||$===void 0?void 0:$.userId)===m.userId&&C.push(n.ReviewLeader),w.labelers.find(function(N){return N.userId===m.userId})&&C.push(n.Labeler),w.reviewers.find(function(N){return N.userId===m.userId})&&C.push(n.Reviewer)}return C},M=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1?arguments[1]:void 0,C=[];return S.forEach(function(z){var $=l[z];$.forEach(function(N){C.includes(N)||C.push(N)})}),C.includes(w)};return{getUserRoles:g,checkPermission:M}}},32694:function(b,y,e){"use strict";e.d(y,{u:function(){return $}});var a=e(24454),t=e.n(a),o=e(34485),s=e.n(o),n=e(56592),d=e.n(n),l=e(88205),c=e.n(l),m=e(97375),g=e(65246),M=e(7986),h=e(91290),S=e(53357),w=e(84045),C=e(23707),z=20,$=function(L){return L[L.labelLeader=0]="labelLeader",L[L.reviewLeader=1]="reviewLeader",L[L.labeler=2]="labeler",L[L.reviewer=3]="reviewer",L[L.reassign=4]="reassign",L}({}),N={show:!1,types:[],tasks:[],initialValues:{}};y.Z=function(){var L=(0,m.useModel)("user"),B=L.user,D=(0,g.x)({list:[],total:0,selectedTaskIds:[]}),T=c()(D,2),j=T[0],K=T[1],k=(0,g.x)({page:1,pageSize:z}),te=c()(k,2),Y=te[0],q=te[1],le=(0,g.x)(void 0),X=c()(le,2),W=X[0],x=X[1],O=(0,g.x)(N),_=c()(O,2),U=_[0],A=_[1],G=(0,M.Z)(function(ye,ne){return K(function(H){H.list=[]}),(0,h.ZJ)({projectId:(0,C.Oe)(),pageNum:ye||Y.page,pageSize:ne||Y.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[Y.page,Y.pageSize],onSuccess:function(ne){var H=ne.taskList,R=ne.total;K(function(P){P.list=H,P.total=R,P.selectedTaskIds=[]})},onError:function(){}}),de=G.loading,he=G.run,ge=(0,M.Z)(function(){return(0,h.NT)((0,C.Oe)())},{manual:!0,debounceWait:100,refreshDeps:[Y.page,Y.pageSize],onSuccess:function(ne){K(function(H){H.projectDetail=ne,H.isPm=!!ne.managers.find(function(R){return R.id===B.userId})})},onError:function(){}}),be=ge.run,Te=function(ne,H){q(function(R){R.page=H===R.pageSize?ne:1,R.pageSize=H}),he(ne,H)},Ge=function(ne){K(function(H){H.selectedTaskIds=ne})},Je=function(ne){if(j.projectDetail){var H=ne||j.selectedTaskIds,R=[],P={},ae=j.list.find(function(me){return me.id===H[0]});if(j.projectDetail.labelTimes>0){var Q;R.push($.labelLeader),P.labelLeaderId=ae==null||(Q=ae.labelLeader)===null||Q===void 0?void 0:Q.userId}if(j.projectDetail.reviewTimes>0){var ie;R.push($.reviewLeader),P.reviewLeaderId=ae==null||(ie=ae.reviewLeader)===null||ie===void 0?void 0:ie.userId}A(function(me){me.show=!0,me.types=R,me.tasks=j.list.filter(function(je){return H.includes(je.id)}),me.initialValues=P})}},Qe=function(ne,H){if(j.projectDetail){var R={};if(H.includes($.labeler)){var P;R.labelerIds=(P=ne.labelers)===null||P===void 0?void 0:P.map(function(Q){return Q.userId})}if(H.includes($.reviewer)){var ae;R.reviewerIds=(ae=ne.reviewers)===null||ae===void 0?void 0:ae.map(function(Q){return Q.userId})}A(function(Q){Q.show=!0,Q.types=H,Q.tasks=[ne],Q.initialValues=R})}},pt=function(ne,H){A(function(R){R.show=!0,R.types=[$.reassign],R.tasks=[ne],R.reassignTarget=H})},Ct=function(){A(N)},ft=function(){var ye=d()(t()().mark(function ne(H){var R,P,ae,Q,ie;return t()().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(R=H.keyWords,P=R===void 0?"":R,ae=[],Q=U.tasks,ie=U.types,Q.forEach(function(Ee){var Me=[];ie.includes($.labelLeader)&&Me.push(Ee.labelLeader),ie.includes($.reviewLeader)&&Me.push(Ee.reviewLeader),ie.includes($.labeler)&&Me.push.apply(Me,s()(Ee.labelers)),ie.includes($.reviewer)&&Me.push.apply(Me,s()(Ee.reviewers)),Me.forEach(function(We){We&&!ae.find(function(re){return We.userId===re.id})&&ae.push({id:We.userId,name:We.userName})})}),!P){je.next=8;break}return je.next=7,(0,h.Qm)({name:P});case 7:ae=je.sent.userList.map(function(Ee){return{name:Ee.name,id:Ee.id}});case 8:return je.abrupt("return",ae.map(function(Ee){return{label:Ee.name,value:Ee.id}}));case 9:case"end":return je.stop()}},ne)}));return function(H){return ye.apply(this,arguments)}}(),Ht=function(){var ye=d()(t()().mark(function ne(H){var R,P,ae,Q,ie,me;return t()().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(R=U.initialValues,!(U.types.includes($.labelLeader)||U.types.includes($.reviewLeader))){Ee.next=16;break}if(!(H.labelLeaderId!==R.labelLeaderId||H.reviewLeaderId!==R.reviewLeaderId)){Ee.next=14;break}return Ee.prev=3,Ee.next=6,(0,h.nu)({projectId:((P=j.projectDetail)===null||P===void 0?void 0:P.id)||"",taskIds:U.tasks.map(function(Me){return Me.id}),labelLeaderId:H.labelLeaderId!==R.labelLeaderId?H.labelLeaderId:void 0,reviewLeaderId:H.reviewLeaderId!==R.reviewLeaderId?H.reviewLeaderId:void 0});case 6:he(),w.ZP.success((0,S._w)("proj.assignModalFinish.assignLeader")),Ee.next=14;break;case 10:return Ee.prev=10,Ee.t0=Ee.catch(3),console.error(Ee.t0),Ee.abrupt("return",Promise.resolve(!1));case 14:Ee.next=43;break;case 16:if(Q=U.tasks[0],!(U.types.includes($.labeler)||U.types.includes($.reviewer))){Ee.next=31;break}return Ee.prev=18,Ee.next=21,(0,h.zb)(Q.id,H);case 21:he(),w.ZP.success((0,S._w)("proj.assignModalFinish.assignWorker")),Ee.next=29;break;case 25:return Ee.prev=25,Ee.t1=Ee.catch(18),console.error(Ee.t1),Ee.abrupt("return",Promise.resolve(!1));case 29:Ee.next=43;break;case 31:if(!(U.types.includes($.reassign)&&H.reassigner!==((ae=U.reassignTarget)===null||ae===void 0?void 0:ae.userId))){Ee.next=43;break}return Ee.prev=32,Ee.next=35,(0,h.xv)(Q.id,{oldWorkerId:((ie=U.reassignTarget)===null||ie===void 0?void 0:ie.userId)||"",newWorkerId:H.reassigner||"",role:((me=U.reassignTarget)===null||me===void 0?void 0:me.role)||""});case 35:he(),w.ZP.success((0,S._w)("proj.assignModalFinish.reassignWorker")),Ee.next=43;break;case 39:return Ee.prev=39,Ee.t2=Ee.catch(32),console.error(Ee.t2),Ee.abrupt("return",Promise.resolve(!1));case 43:return Ct(),Ee.abrupt("return",Promise.resolve(!1));case 45:case"end":return Ee.stop()}},ne,null,[[3,10],[18,25],[32,39]])}));return function(H){return ye.apply(this,arguments)}}(),Ze=function(){var ye=d()(t()().mark(function ne(H){return t()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.prev=0,P.next=3,(0,h.vo)(H.id);case 3:he(),w.ZP.success((0,S._w)("proj.assignModalFinish.restarTask")),P.next=11;break;case 7:return P.prev=7,P.t0=P.catch(0),console.error(P.t0),P.abrupt("return",Promise.resolve(!1));case 11:case"end":return P.stop()}},ne,null,[[0,7]])}));return function(H){return ye.apply(this,arguments)}}(),Xe=function(){var ye=d()(t()().mark(function ne(H){return t()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.prev=0,P.next=3,(0,h.$x)(H.id);case 3:he(),w.ZP.success((0,S._w)("proj.assignModalFinish.commiTask")),P.next=11;break;case 7:return P.prev=7,P.t0=P.catch(0),console.error(P.t0),P.abrupt("return",Promise.resolve(!1));case 11:case"end":return P.stop()}},ne,null,[[0,7]])}));return function(H){return ye.apply(this,arguments)}}(),rt=function(){var ye=d()(t()().mark(function ne(H,R){return t()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.prev=0,ae.next=3,(0,h.d5)(H.id,{action:R});case 3:w.ZP.success((0,S._w)("proj.assignModalFinish.changeTaskStatus")),he(),ae.next=11;break;case 7:return ae.prev=7,ae.t0=ae.catch(0),console.error(ae.t0),ae.abrupt("return",Promise.reject(!1));case 11:case"end":return ae.stop()}},ne,null,[[0,7]])}));return function(H,R){return ye.apply(this,arguments)}}(),Ke=function(ne){q(function(H){Object.assign(H,{page:1,pageSize:z},ne)}),be(),he()};return{pageData:j,pageState:Y,loading:de,onPageChange:Te,onSelectChange:Ge,onInitPageState:Ke,taskDetailModalIndex:W,setTaskDetailModalIndex:x,assignModal:U,assignLeaders:Je,assignWorker:Qe,reassignWorker:pt,onCloseAssignModal:Ct,userLintRequest:ft,assignModalFinish:Ht,restartTask:Ze,commitReviewTask:Xe,onChangeTaskResult:rt}}},54518:function(b,y,e){"use strict";e.d(y,{I:function(){return L}});var a=e(24454),t=e.n(a),o=e(56592),s=e.n(o),n=e(63900),d=e.n(n),l=e(88205),c=e.n(l),m=e(97375),g=e(65246),M=e(7986),h=e(91290),S=e(84045),w=e(53357),C=e(35459),z=e(39378),$=e.n(z),N=20,L="proj.editModal.setWorkflowNow",B={show:!1,current:0,initialValues:{basics:{},settings:{},workflowInitNow:[],hadBatchSize:!1,hadReviewer:!1}};y.Z=function(){var D=(0,m.useModel)("user"),T=D.user,j=(0,m.useModel)("Project.auth"),K=j.getUserRoles,k=(0,g.x)({list:[],total:0}),te=c()(k,2),Y=te[0],q=te[1],le=(0,g.x)({page:1,pageSize:N}),X=c()(le,2),W=X[0],x=X[1],O=(0,g.x)(B),_=c()(O,2),U=_[0],A=_[1],G=(0,M.Z)(function(Ze,Xe){return q(function(rt){rt.list=[]}),(0,h.eK)({pageNum:Ze||W.page,pageSize:Xe||W.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[W.page,W.pageSize],onSuccess:function(Xe){var rt=Xe.projectList,Ke=Xe.total;q({list:rt.map(function(ye){return d()(d()({},ye),{},{userRoles:K(ye)})}),total:Ke})},onError:function(){}}),de=G.loading,he=G.run,ge=function(Xe,rt){x(function(Ke){Ke.page=rt===Ke.pageSize?Xe:1,Ke.pageSize=rt}),he(Xe,rt)},be=function(){A(function(Xe){Xe.show=!0})},Te=function(Xe,rt){A(function(Ke){var ye=Xe.name,ne=Xe.description,H=Xe.categories,R=Xe.datasets,P=Xe.preLabel,ae=Xe.managers,Q=Xe.batchSize,ie=Xe.reviewTimes,me=Xe.status;Ke.show=!0,Ke.targetProject=Xe,Ke.current=rt?1:0,Ke.initialValues.basics={name:ye,description:ne,categories:H,preLabel:P,datasetIds:R.map(function(je){return je.id}),managerIds:ae.map(function(je){return je.id})},Ke.initialValues.settings=me!==C.tz.Waiting?{batchSize:Q>0?Q:void 0}:{},Ke.initialValues.workflowInitNow=[(0,w._w)(L)],Ke.initialValues.hadBatchSize=Q>0,Ke.initialValues.hadReviewer=ie>0})},Ge=function(){A(B)},Je=function(Xe){A(function(rt){Xe===0&&(rt.current=0)})},Qe=function(Xe){return A(function(rt){var Ke;rt.disableInitProject=!((Ke=Xe.basics.managerIds)!==null&&Ke!==void 0&&Ke.includes(T.userId)),rt.current=1}),Promise.resolve(!1)},pt=function(){var Ze=s()(t()().mark(function Xe(rt){var Ke,ye,ne,H,R,P,ae,Q;return t()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(ne=!1,H=(Ke=U.targetProject)===null||Ke===void 0?void 0:Ke.id,H){me.next=18;break}return me.prev=3,me.next=6,(0,h.o9)(rt.basics);case 6:R=me.sent,H=R.id,A(function(je){je.targetProject=R}),ne=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.new")),me.next=16;break;case 13:me.prev=13,me.t0=me.catch(3),console.error(me.t0);case 16:me.next=30;break;case 18:if(P=U.initialValues.basics,ae=P.description,Q=P.managerIds,!(rt.basics.description!==ae||!(0,z.isEqual)(rt.basics.managerIds,Q))){me.next=30;break}return me.prev=20,me.next=23,(0,h.NV)(H,rt.basics);case 23:ne=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.edit")),me.next=30;break;case 27:me.prev=27,me.t1=me.catch(20),console.error(me.t1);case 30:if(!((!U.targetProject||((ye=U.targetProject)===null||ye===void 0?void 0:ye.status)===C.tz.Waiting)&&rt.workflowInitNow&&rt.workflowInitNow.length)){me.next=41;break}return me.prev=31,me.next=34,(0,h.mN)(H,{batchSize:rt.hadBatchSize?rt.settings.batchSize:0,labelTimes:1,reviewTimes:rt.hadReviewer?1:0});case 34:ne=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.init")),me.next=41;break;case 38:me.prev=38,me.t2=me.catch(31),console.error(me.t2);case 41:return ne&&he(),Ge(),me.abrupt("return",Promise.resolve(!1));case 44:case"end":return me.stop()}},Xe,null,[[3,13],[20,27],[31,38]])}));return function(rt){return Ze.apply(this,arguments)}}(),Ct=function(){var Ze=s()(t()().mark(function Xe(rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.prev=0,ne.next=3,(0,h.lw)(rt.id,{action:Ke});case 3:S.ZP.success((0,w._w)("proj.projectModalFinish.change")),he(),ne.next=11;break;case 7:return ne.prev=7,ne.t0=ne.catch(0),console.error(ne.t0),ne.abrupt("return",Promise.reject(!1));case 11:case"end":return ne.stop()}},Xe,null,[[0,7]])}));return function(rt,Ke){return Ze.apply(this,arguments)}}(),ft=function(){var Ze=s()(t()().mark(function Xe(rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.prev=0,ne.next=3,(0,h.Cd)(rt,{labelName:Ke==null?void 0:Ke.labelName});case 3:S.ZP.success((0,w._w)("proj.exportModal.submitSuccess",{name:Ke==null?void 0:Ke.labelName})),he(),ne.next=10;break;case 7:ne.prev=7,ne.t0=ne.catch(0),console.error(ne.t0);case 10:case"end":return ne.stop()}},Xe,null,[[0,7]])}));return function(rt,Ke){return Ze.apply(this,arguments)}}(),Ht=function(Xe){x(function(rt){Object.assign(rt,{page:1,pageSize:N},Xe)}),he()};return{pageData:Y,pageState:W,loading:de,onPageChange:ge,onInitPageState:Ht,projectModal:U,onNewProject:be,onEditProject:Te,closeProjectModal:Ge,onProjectModalCurrentChange:Je,projectModalNext:Qe,projectModalFinish:pt,onChangeProjectResult:Ct,onExportLabelProject:ft}}},93059:function(b,y,e){"use strict";e.d(y,{D:function(){return T}});var a=e(63900),t=e.n(a),o=e(24454),s=e.n(o),n=e(56592),d=e.n(n),l=e(34485),c=e.n(l),m=e(88205),g=e.n(m),M=e(65246),h=e(7986),S=e(91290),w=e(35459),C=e(58757),z=e(84045),$=e(88662),N=e(97375),L=e(23707),B=e(53357),D=100,T={Init:0,More:1};y.Z=function(){var j=(0,N.useModel)("user"),K=j.user,k=(0,N.useModel)("global"),te=k.setLoading,Y=(0,M.x)({taskRoles:[],categoryList:[],list:[],curIndex:-1,page:1,pageSize:D,total:0,editorMode:$.je.View}),q=g()(Y,2),le=q[0],X=q[1],W=(0,M.x)({status:w.j$.Labeling,taskStatus:w.gZ.Working}),x=g()(W,2),O=x[0],_=x[1],U=(0,C.useMemo)(function(){return(0,L.BQ)("projectId")||""},[window.location.search]),A=(0,C.useMemo)(function(){return(0,L.BQ)("taskId")||""},[window.location.search]),G=(0,C.useMemo)(function(){var je;return(je=le.taskRoles)===null||je===void 0?void 0:je.find(function(Ee){return Ee.id===O.roleId})},[le.taskRoles,O.roleId]),de=(0,C.useMemo)(function(){return G&&K.userId===(G==null?void 0:G.userId)?[G.role]:[]},[K.userId,G]),he=(0,C.useMemo)(function(){var je;return((je=le.list)===null||je===void 0?void 0:je.map(function(Ee){var Me=[],We="";return O.status===w.j$.Labeling&&!Ee.labeled?Ee.defaultLabels&&Ee.defaultLabels.annotations&&Me.push.apply(Me,c()(Ee.defaultLabels.annotations)):Ee.labels.forEach(function(re){We=re.id,Me.push.apply(Me,c()(re.annotations))}),{id:Ee.id,url:Ee.url,urlFullRes:Ee.urlFullRes,labelId:We,objects:Me}}))||[]},[le.list,O.status]),ge=function(){var je=d()(s()().mark(function Ee(Me,We){var re,se,J,ce;return s()().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(!le.loadingImagesType){ue.next=2;break}return ue.abrupt("return",Promise.reject(null));case 2:return X(function(Ne){Ne.loadingImagesType=Me,Me===T.Init&&(Ne.list=[])}),ue.prev=3,ue.next=6,(0,S.zO)((0,L.BQ)("taskId")||"",{status:We.status||O.status,roleId:We.roleId||O.roleId,pageNum:We.page,pageSize:le.pageSize});case 6:re=ue.sent,se=re.imageList,J=re.total,ce=re.pageNum,X(function(Ne){Ne.list=Ne.list.concat(se),Ne.page=ce,Ne.total=J,Ne.loadingImagesType=void 0}),ue.next=17;break;case 13:return ue.prev=13,ue.t0=ue.catch(3),X(function(Ne){Ne.loadingImagesType=void 0}),ue.abrupt("return",Promise.reject(ue.t0));case 17:case"end":return ue.stop()}},Ee,null,[[3,13]])}));return function(Me,We){return je.apply(this,arguments)}}(),be=(0,h.Z)(function(){return Promise.all([(0,S.Cb)((0,L.BQ)("taskId")||""),(0,S.Iu)((0,L.BQ)("taskId")||"")])},{manual:!0,debounceWait:60,onSuccess:function(Ee){var Me=g()(Ee,2),We=Me[0],re=Me[1];X(function(se){se.categoryList=re.categoryList,se.taskRoles=We.roleList}),_(function(se){We.roleList.length&&(!se.roleId||!We.roleList.find(function(J){return J.id===se.roleId}))&&(se.roleId=We.roleList[0].id)})},onError:function(){}}),Te=be.loading,Ge=be.run,Je=function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Promise.all([Ge(),ge(T.Init,t()(t()({},Ee),{},{page:1}))])},Qe=function(){var je=d()(s()().mark(function Ee(){return s()().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(!(le.list.length0&&(re.curIndex=re.curIndex-1)}),We.abrupt("return",Promise.resolve());case 2:case"end":return We.stop()}},Ee)}));return function(){return je.apply(this,arguments)}}(),Ze=function(){var je=d()(s()().mark(function Ee(){return s()().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(!(le.curIndex=0;return{pageData:le,pageState:O,loading:Te||le.loadingImagesType===T.Init,loadPageData:Je,loadMore:Qe,onInitPageState:Q,projectId:U,taskId:A,curRole:G,userRoles:de,tabItems:ie,labelImages:he,isEditorVisible:me,onStatusTabChange:pt,onRoleChange:Ct,clickItem:ft,onExitEditor:ne,onPrevImage:Ht,onNextImage:Ze,onLabelSave:H,onReviewResult:R,onReviewAccept:P,onReviewReject:ae,onEnterEdit:Xe,onStartLabel:rt,onStartRework:Ke,onStartReview:ye}}},91290:function(b,y,e){"use strict";e.d(y,{$x:function(){return de},Cb:function(){return ge},Cd:function(){return B},Iu:function(){return Te},J9:function(){return T},Jg:function(){return ft},NT:function(){return g},NV:function(){return z},Qm:function(){return K},ZJ:function(){return te},d5:function(){return A},eK:function(){return c},lw:function(){return N},mN:function(){return w},nQ:function(){return pt},nu:function(){return q},o9:function(){return h},vo:function(){return _},xv:function(){return x},zO:function(){return Je},zb:function(){return X}});var a=e(24454),t=e.n(a),o=e(63900),s=e.n(o),n=e(56592),d=e.n(n),l=e(97375);function c(Ze,Xe){return m.apply(this,arguments)}function m(){return m=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_projects",s()({method:"GET",params:Xe},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),m.apply(this,arguments)}function g(Ze,Xe){return M.apply(this,arguments)}function M(){return M=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_projects/".concat(Xe),s()({method:"GET"},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),M.apply(this,arguments)}function h(Ze,Xe){return S.apply(this,arguments)}function S(){return S=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_projects",s()({method:"POST",data:s()({},Xe)},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),S.apply(this,arguments)}function w(Ze,Xe,rt){return C.apply(this,arguments)}function C(){return C=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_project_configs/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),C.apply(this,arguments)}function z(Ze,Xe,rt){return $.apply(this,arguments)}function $(){return $=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_projects/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),$.apply(this,arguments)}function N(Ze,Xe,rt){return L.apply(this,arguments)}function L(){return L=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_project_qa/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),L.apply(this,arguments)}function B(Ze,Xe,rt){return D.apply(this,arguments)}function D(){return D=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_project_export/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),D.apply(this,arguments)}function T(Ze,Xe){return j.apply(this,arguments)}function j(){return j=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/dataset_name_lints",s()({method:"GET",params:Xe},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),j.apply(this,arguments)}function K(Ze,Xe){return k.apply(this,arguments)}function k(){return k=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/user_name_lints",s()({method:"GET",params:Xe},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),k.apply(this,arguments)}function te(Ze,Xe){return Y.apply(this,arguments)}function Y(){return Y=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_tasks",s()({method:"GET",params:Xe},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),Y.apply(this,arguments)}function q(Ze,Xe){return le.apply(this,arguments)}function le(){return le=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_leaders",s()({method:"POST",data:s()({},Xe)},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),le.apply(this,arguments)}function X(Ze,Xe,rt){return W.apply(this,arguments)}function W(){return W=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_workers/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),W.apply(this,arguments)}function x(Ze,Xe,rt){return O.apply(this,arguments)}function O(){return O=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_reassign/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),O.apply(this,arguments)}function _(Ze,Xe){return U.apply(this,arguments)}function U(){return U=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_restart/".concat(Xe),s()({method:"POST"},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),U.apply(this,arguments)}function A(Ze,Xe,rt){return G.apply(this,arguments)}function G(){return G=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_qa/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),G.apply(this,arguments)}function de(Ze,Xe){return he.apply(this,arguments)}function he(){return he=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_review_commit/".concat(Xe),s()({method:"POST"},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),he.apply(this,arguments)}function ge(Ze,Xe){return be.apply(this,arguments)}function be(){return be=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_roles/".concat(Xe),s()({method:"GET"},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),be.apply(this,arguments)}function Te(Ze,Xe){return Ge.apply(this,arguments)}function Ge(){return Ge=d()(t()().mark(function Ze(Xe,rt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_configs/".concat(Xe),s()({method:"GET"},rt||{})));case 1:case"end":return ye.stop()}},Ze)})),Ge.apply(this,arguments)}function Je(Ze,Xe,rt){return Qe.apply(this,arguments)}function Qe(){return Qe=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_images/".concat(Xe),s()({method:"GET",params:rt},Ke||{})));case 1:case"end":return ne.stop()}},Ze)})),Qe.apply(this,arguments)}function pt(Ze,Xe,rt){return Ct.apply(this,arguments)}function Ct(){return Ct=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_image_labels/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{hideCodeErrorMsg:!0})));case 1:case"end":return ne.stop()}},Ze)})),Ct.apply(this,arguments)}function ft(Ze,Xe,rt){return Ht.apply(this,arguments)}function Ht(){return Ht=d()(t()().mark(function Ze(Xe,rt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_image_reviews/".concat(Xe),s()({method:"POST",data:s()({},rt)},Ke||{hideCodeErrorMsg:!0})));case 1:case"end":return ne.stop()}},Ze)})),Ht.apply(this,arguments)}},74595:function(b,y,e){"use strict";e.d(y,{B8:function(){return g},JC:function(){return h},WR:function(){return M},i0:function(){return c},iE:function(){return m}});var a=e(63900),t=e.n(a),o=e(34485),s=e.n(o),n=e(76180),d=e(39378),l=e.n(d),c=function(w){var C=0;return(0,d.includes)(w,"Classification")&&(C=1),(0,d.includes)(w,"Detection")&&(C=2),(0,d.includes)(w,"Segmentation")&&(C=3),(0,d.includes)(w,"Matting")&&(C=4),(0,d.includes)(w,"KeyPoints")&&(C=5),e(14677)("./card_cover_".concat(C,".png"))},m=function(w,C,z){if(!w||!C||z)return{colorAplha:n.iP[0],strokeDash:n.JQ[0],lineWidth:n.oM[0]};var $=C.indexOf(w);return{colorAplha:n.iP[$]||n.iP[0],strokeDash:n.JQ[$]||n.JQ[0],lineWidth:n.oM[$]||n.oM[0]}},g=function(w,C){var z=[],$=[],N=w.filter(function(L){return n.EX.includes(L)});return C===n.JJ.Detection?(z=[n.zY.showBoxText],$=z):C===n.JJ.Segmentation?(z=[n.zY.showSegFilling,n.zY.showSegContour],$=z):C===n.JJ.Matting?z=[n.zY.showMattingColorFill]:C===n.JJ.KeyPoints&&(z=[n.zY.showKeyPointsLine,n.zY.showKeyPointsBox],$=z),[[].concat(s()(n.EX),s()(z)),[].concat(s()(N),s()($))]},M=function(w,C,z){var $=[];return z===n.JJ.Matting&&$.push({id:"origin",name:"Origin image",source:n.$j.gt,comparePrecisions:[],confidenceRange:[0,1]}),C.length&&C.forEach(function(N){var L=w.find(function(B){return B.id===N});L&&$.push(t()({},L))}),$},h=function(w,C,z){var $=[];return C.length?(w.forEach(function(N){z===n.JJ.Matting&&$.push(t()({},N)),$.push.apply($,s()(new Array(C.length).fill({}).map(function(L,B){var D=t()({},N);return D.curLabelId=C[B],D})))}),$):w}},17410:function(b,y,e){"use strict";e.d(y,{v_:function(){return Dr},yj:function(){return zr},Uu:function(){return ra},ru:function(){return br},Zo:function(){return pa},QD:function(){return yr},Yq:function(){return ar},Ze:function(){return On},gr:function(){return Tn},jB:function(){return Kr},HE:function(){return fr},ft:function(){return kr},GI:function(){return Xr},t:function(){return ha},Fv:function(){return la},vL:function(){return hr},TR:function(){return Ea},VC:function(){return Bn},ef:function(){return Hn},Xn:function(){return Ur},oP:function(){return Zn}});var a=e(2657),t=e.n(a),o=e(58757),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(Tt,an,bn)=>an in Tt?s(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,m=(Tt,an)=>{for(var bn in an||(an={}))d.call(an,bn)&&c(Tt,bn,an[bn]);if(n)for(var bn of n(an))l.call(an,bn)&&c(Tt,bn,an[bn]);return Tt};const g=Tt=>o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"1em",width:"1em"},Tt),o.createElement("path",{d:"M3 11h8V3H3v8zm2-6h4v4H5V5zm8-2v8h8V3h-8zm6 6h-4V5h4v4zM3 21h8v-8H3v8zm2-6h4v4H5v-4zm13-2h-2v3h-3v2h3v3h2v-3h3v-2h-3z"}));var M="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgaGVpZ2h0PSIxZW0iIHdpZHRoPSIxZW0iPjxwYXRoIGQ9Ik0zIDExaDhWM0gzdjh6bTItNmg0djRINVY1em04LTJ2OGg4VjNoLTh6bTYgNmgtNFY1aDR2NHpNMyAyMWg4di04SDN2OHptMi02aDR2NEg1di00em0xMy0yaC0ydjNoLTN2MmgzdjNoMnYtM2gzdi0yaC0zeiIvPjwvc3ZnPg==",h=Object.defineProperty,S=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,z=(Tt,an,bn)=>an in Tt?h(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,$=(Tt,an)=>{for(var bn in an||(an={}))w.call(an,bn)&&z(Tt,bn,an[bn]);if(S)for(var bn of S(an))C.call(an,bn)&&z(Tt,bn,an[bn]);return Tt};const N=Tt=>o.createElement("svg",$({className:"delete_all_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Tt),o.createElement("path",{d:"M864 192v576h64V192c0-70.4-57.6-128-128-128H352v64h448c35.2 0 64 28.8 64 64z"}),o.createElement("path",{d:"M672 192H224c-70.4 0-128 57.6-128 128v512c0 70.4 57.6 128 128 128h448c70.4 0 128-57.6 128-128V320c0-70.4-57.6-128-128-128zm-73.235 489.51c12.445 12.445 12.445 32.81 0 45.255s-32.81 12.445-45.255 0L448 621.255l-105.51 105.51c-12.445 12.445-32.81 12.445-45.255 0s-12.445-32.81 0-45.255L402.745 576l-105.51-105.51c-12.445-12.445-12.445-32.81 0-45.255s32.81-12.445 45.255 0L448 530.745l105.51-105.51c12.445-12.445 32.81-12.445 45.255 0s12.445 32.81 0 45.255L493.255 576l105.51 105.51z"}));var L="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik04NjQgMTkydjU3Nmg2NFYxOTJjMC03MC40LTU3LjYtMTI4LTEyOC0xMjhIMzUydjY0aDQ0OGMzNS4yIDAgNjQgMjguOCA2NCA2NHoiLz48cGF0aCBkPSJNNjcyIDE5MkgyMjRjLTcwLjQgMC0xMjggNTcuNi0xMjggMTI4djUxMmMwIDcwLjQgNTcuNiAxMjggMTI4IDEyOGg0NDhjNzAuNCAwIDEyOC01Ny42IDEyOC0xMjhWMzIwYzAtNzAuNC01Ny42LTEyOC0xMjgtMTI4em0tNzMuMjM1IDQ4OS41MWMxMi40NDUgMTIuNDQ1IDEyLjQ0NSAzMi44MSAwIDQ1LjI1NXMtMzIuODEgMTIuNDQ1LTQ1LjI1NSAwTDQ0OCA2MjEuMjU1bC0xMDUuNTEgMTA1LjUxYy0xMi40NDUgMTIuNDQ1LTMyLjgxIDEyLjQ0NS00NS4yNTUgMHMtMTIuNDQ1LTMyLjgxIDAtNDUuMjU1TDQwMi43NDUgNTc2bC0xMDUuNTEtMTA1LjUxYy0xMi40NDUtMTIuNDQ1LTEyLjQ0NS0zMi44MSAwLTQ1LjI1NXMzMi44MS0xMi40NDUgNDUuMjU1IDBMNDQ4IDUzMC43NDVsMTA1LjUxLTEwNS41MWMxMi40NDUtMTIuNDQ1IDMyLjgxLTEyLjQ0NSA0NS4yNTUgMHMxMi40NDUgMzIuODEgMCA0NS4yNTVMNDkzLjI1NSA1NzZsMTA1LjUxIDEwNS41MXoiLz48L3N2Zz4=",B=Object.defineProperty,D=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,K=(Tt,an,bn)=>an in Tt?B(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,k=(Tt,an)=>{for(var bn in an||(an={}))T.call(an,bn)&&K(Tt,bn,an[bn]);if(D)for(var bn of D(an))j.call(an,bn)&&K(Tt,bn,an[bn]);return Tt};const te=Tt=>o.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Tt),o.createElement("defs",null,o.createElement("style",null,".magic_svg__cls-1{fill:#fff}")),o.createElement("path",{className:"magic_svg__cls-1",d:"M26.08 18.47V16.6c0-.58.27-1.19 1-1.25s1.05.45 1.06 1.29v1.83h1.92c.76 0 1.25.46 1.19 1.08a1 1 0 0 1-1.18 1h-1.91v1.74c0 .91-.39 1.41-1.06 1.39s-1-.49-1-1.42v-1.71h-1.91c-.71 0-1.21-.29-1.21-1s.5-1 1.21-1ZM12.81 6.47h1.59a1 1 0 0 1 1 1 1 1 0 0 1-1 1.07h-1.58v1.5c0 .68-.38 1.11-1.07 1.1a1 1 0 0 1-1-1.08V8.54H9.29c-.68 0-1.13-.36-1.12-1s.46-1 1.14-1h1.44V5.01a1 1 0 1 1 2.06 0c.02.38 0 .87 0 1.46ZM19.93 24.67c.11-1.56.33-2 1.05-2s1 .44 1.12 2c.8.17 2.09-.2 2 1.22-.07 1.15-1.14.89-2 .95-.18.8.22 2.11-1.2 2-1.18-.07-.89-1.19-1-2-.84-.09-1.91.21-2-1.06-.07-.7.39-.94 2.03-1.11ZM30.2 6l-2.51-2.49a2.15 2.15 0 0 0-3.06 0L3.27 24.92a2.2 2.2 0 0 0 0 3.08l2.51 2.51a2.17 2.17 0 0 0 3.06 0L30.2 9.09a2.19 2.19 0 0 0 0-3.09ZM29 8.47l-4.39 4.39a.94.94 0 0 1-1.35 0l-2.28-2.28a1 1 0 0 1 0-1.36l4.38-4.39a1 1 0 0 1 1.36 0L29 7.11a1 1 0 0 1 0 1.36Z"}));var Y="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMjYuMDggMTguNDdWMTYuNmMwLS41OC4yNy0xLjE5IDEtMS4yNXMxLjA1LjQ1IDEuMDYgMS4yOXYxLjgzaDEuOTJjLjc2IDAgMS4yNS40NiAxLjE5IDEuMDhhMSAxIDAgMCAxLTEuMTggMWgtMS45MXYxLjc0YzAgLjkxLS4zOSAxLjQxLTEuMDYgMS4zOXMtMS0uNDktMS0xLjQydi0xLjcxaC0xLjkxYy0uNzEgMC0xLjIxLS4yOS0xLjIxLTFzLjUtMSAxLjIxLTFaTTEyLjgxIDYuNDdoMS41OWExIDEgMCAwIDEgMSAxIDEgMSAwIDAgMS0xIDEuMDdoLTEuNTh2MS41YzAgLjY4LS4zOCAxLjExLTEuMDcgMS4xYTEgMSAwIDAgMS0xLTEuMDhWOC41NEg5LjI5Yy0uNjggMC0xLjEzLS4zNi0xLjEyLTFzLjQ2LTEgMS4xNC0xaDEuNDRWNS4wMWExIDEgMCAxIDEgMi4wNiAwYy4wMi4zOCAwIC44NyAwIDEuNDZaTTE5LjkzIDI0LjY3Yy4xMS0xLjU2LjMzLTIgMS4wNS0yczEgLjQ0IDEuMTIgMmMuOC4xNyAyLjA5LS4yIDIgMS4yMi0uMDcgMS4xNS0xLjE0Ljg5LTIgLjk1LS4xOC44LjIyIDIuMTEtMS4yIDItMS4xOC0uMDctLjg5LTEuMTktMS0yLS44NC0uMDktMS45MS4yMS0yLTEuMDYtLjA3LS43LjM5LS45NCAyLjAzLTEuMTFaTTMwLjIgNmwtMi41MS0yLjQ5YTIuMTUgMi4xNSAwIDAgMC0zLjA2IDBMMy4yNyAyNC45MmEyLjIgMi4yIDAgMCAwIDAgMy4wOGwyLjUxIDIuNTFhMi4xNyAyLjE3IDAgMCAwIDMuMDYgMEwzMC4yIDkuMDlhMi4xOSAyLjE5IDAgMCAwIDAtMy4wOVpNMjkgOC40N2wtNC4zOSA0LjM5YS45NC45NCAwIDAgMS0xLjM1IDBsLTIuMjgtMi4yOGExIDEgMCAwIDEgMC0xLjM2bDQuMzgtNC4zOWExIDEgMCAwIDEgMS4zNiAwTDI5IDcuMTFhMSAxIDAgMCAxIDAgMS4zNloiLz48L3N2Zz4=",q=Object.defineProperty,le=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,x=(Tt,an,bn)=>an in Tt?q(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,O=(Tt,an)=>{for(var bn in an||(an={}))X.call(an,bn)&&x(Tt,bn,an[bn]);if(le)for(var bn of le(an))W.call(an,bn)&&x(Tt,bn,an[bn]);return Tt};const _=Tt=>o.createElement("svg",O({viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#mask-ai_svg__a)"},o.createElement("path",{d:"M15.278 33H6.753c-1.77 0-2.435-.664-2.103-2.436.443-1.993.886-3.985 1.218-5.978.11-.665.443-.886 1.107-.886h16.718c.664 0 .996.332 1.107.886.443 1.993.886 3.985 1.218 5.978.332 1.772-.222 2.436-2.104 2.436h-8.636ZM15.39 20.6H7.306c-.996 0-1.107-.11-1.107-1.218v-1.66c0-1.218.554-1.772 1.882-1.772h3.432c.665 0 .997-.221.886-.886V5.432c0-1.66.886-2.99 2.325-3.321 1.993-.554 3.764.996 3.764 3.21v9.3c0 1.44 0 1.329 1.33 1.329h3.21c1.107 0 1.66.554 1.66 1.66v1.994c0 .775-.332.996-.996.996H15.39Z"})),o.createElement("path",{d:"M26.928 11.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L28.968 13h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V13h-1.368V4.66h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"mask-ai_svg__a"},o.createElement("path",{transform:"translate(0 2)",d:"M0 0h31v31H0z"}))));var U="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzMgMzMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTUuMjc4IDMzSDYuNzUzYy0xLjc3IDAtMi40MzUtLjY2NC0yLjEwMy0yLjQzNi40NDMtMS45OTMuODg2LTMuOTg1IDEuMjE4LTUuOTc4LjExLS42NjUuNDQzLS44ODYgMS4xMDctLjg4NmgxNi43MThjLjY2NCAwIC45OTYuMzMyIDEuMTA3Ljg4Ni40NDMgMS45OTMuODg2IDMuOTg1IDEuMjE4IDUuOTc4LjMzMiAxLjc3Mi0uMjIyIDIuNDM2LTIuMTA0IDIuNDM2aC04LjYzNlpNMTUuMzkgMjAuNkg3LjMwNmMtLjk5NiAwLTEuMTA3LS4xMS0xLjEwNy0xLjIxOHYtMS42NmMwLTEuMjE4LjU1NC0xLjc3MiAxLjg4Mi0xLjc3MmgzLjQzMmMuNjY1IDAgLjk5Ny0uMjIxLjg4Ni0uODg2VjUuNDMyYzAtMS42Ni44ODYtMi45OSAyLjMyNS0zLjMyMSAxLjk5My0uNTU0IDMuNzY0Ljk5NiAzLjc2NCAzLjIxdjkuM2MwIDEuNDQgMCAxLjMyOSAxLjMzIDEuMzI5aDMuMjFjMS4xMDcgMCAxLjY2LjU1NCAxLjY2IDEuNjZ2MS45OTRjMCAuNzc1LS4zMzIuOTk2LS45OTYuOTk2SDE1LjM5WiIvPjwvZz48cGF0aCBkPSJNMjYuOTI4IDExLjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwyOC45NjggMTNoLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxM2gtMS4zNjhWNC42NmgxLjM2OFoiLz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMikiIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",A=Object.defineProperty,G=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ge=(Tt,an,bn)=>an in Tt?A(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,be=(Tt,an)=>{for(var bn in an||(an={}))de.call(an,bn)&&ge(Tt,bn,an[bn]);if(G)for(var bn of G(an))he.call(an,bn)&&ge(Tt,bn,an[bn]);return Tt};const Te=Tt=>o.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34 34"},Tt),o.createElement("path",{className:"mask_svg__cls-1",d:"M17.29 31.49H9.44c-1.68 0-2.24-.66-1.92-2.28.36-1.83.77-3.66 1.13-5.49a.9.9 0 0 1 1-.84h15.39a.91.91 0 0 1 1 .85c.37 1.83.78 3.65 1.13 5.48.32 1.62-.24 2.28-1.92 2.28-2.63.01-5.25 0-7.96 0ZM17.39 20.05H9.92c-1 0-1.09-.12-1.09-1.06v-1.72a1.36 1.36 0 0 1 1.44-1.46h3.51c.56 0 .74-.19.73-.74 0-2.89.05-5.78 0-8.67C14.43 3.93 16 2.94 17.38 3s2.93 1 2.87 3.48c-.07 2.84 0 5.68 0 8.52 0 .64.16.89.84.86 1.09-.05 2.19 0 3.29 0a1.4 1.4 0 0 1 1.56 1.57v1.8c0 .6-.36.89-1 .89Z"}),o.createElement("path",{style:{fill:"none"},d:"M2.89 2.83h28.35v28.35H2.89z"}));var Ge="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNCAzNCI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTcuMjkgMzEuNDlIOS40NGMtMS42OCAwLTIuMjQtLjY2LTEuOTItMi4yOC4zNi0xLjgzLjc3LTMuNjYgMS4xMy01LjQ5YS45LjkgMCAwIDEgMS0uODRoMTUuMzlhLjkxLjkxIDAgMCAxIDEgLjg1Yy4zNyAxLjgzLjc4IDMuNjUgMS4xMyA1LjQ4LjMyIDEuNjItLjI0IDIuMjgtMS45MiAyLjI4LTIuNjMuMDEtNS4yNSAwLTcuOTYgMFpNMTcuMzkgMjAuMDVIOS45MmMtMSAwLTEuMDktLjEyLTEuMDktMS4wNnYtMS43MmExLjM2IDEuMzYgMCAwIDEgMS40NC0xLjQ2aDMuNTFjLjU2IDAgLjc0LS4xOS43My0uNzQgMC0yLjg5LjA1LTUuNzggMC04LjY3QzE0LjQzIDMuOTMgMTYgMi45NCAxNy4zOCAzczIuOTMgMSAyLjg3IDMuNDhjLS4wNyAyLjg0IDAgNS42OCAwIDguNTIgMCAuNjQuMTYuODkuODQuODYgMS4wOS0uMDUgMi4xOSAwIDMuMjkgMGExLjQgMS40IDAgMCAxIDEuNTYgMS41N3YxLjhjMCAuNi0uMzYuODktMSAuODlaIi8+PHBhdGggc3R5bGU9ImZpbGw6bm9uZSIgZD0iTTIuODkgMi44M2gyOC4zNXYyOC4zNUgyLjg5eiIvPjwvc3ZnPg==",Je=Object.defineProperty,Qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,ft=(Tt,an,bn)=>an in Tt?Je(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,Ht=(Tt,an)=>{for(var bn in an||(an={}))pt.call(an,bn)&&ft(Tt,bn,an[bn]);if(Qe)for(var bn of Qe(an))Ct.call(an,bn)&&ft(Tt,bn,an[bn]);return Tt};const Ze=Tt=>o.createElement("svg",Ht({viewBox:"0 0 35 31",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#polygon-ai_svg__a)"},o.createElement("path",{d:"M27.125 23.25c-.534 0-1.042.108-1.505.303l-5.444-6.17a3.854 3.854 0 0 0-.008-3.782l5.403-6.178c.477.21 1.002.327 1.554.327A3.88 3.88 0 0 0 31 3.875 3.88 3.88 0 0 0 27.125 0a3.88 3.88 0 0 0-3.653 2.583H7.528A3.88 3.88 0 0 0 3.875 0 3.88 3.88 0 0 0 0 3.875a3.88 3.88 0 0 0 2.583 3.653v15.944A3.88 3.88 0 0 0 0 27.125 3.88 3.88 0 0 0 3.875 31a3.88 3.88 0 0 0 3.653-2.583h15.944A3.88 3.88 0 0 0 27.125 31 3.88 3.88 0 0 0 31 27.125a3.88 3.88 0 0 0-3.875-3.875ZM7.528 5.167h15.944c.06.168.132.332.213.488l-5.46 6.245a3.854 3.854 0 0 0-1.433-.275 3.88 3.88 0 0 0-3.875 3.875 3.88 3.88 0 0 0 3.875 3.875c.511 0 1-.1 1.448-.282l5.471 6.202a3.937 3.937 0 0 0-.239.538H7.528a3.894 3.894 0 0 0-2.361-2.36V7.527a3.894 3.894 0 0 0 2.36-2.361Z"})),o.createElement("path",{d:"M28.928 17.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L30.968 19h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V19h-1.368v-8.34h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"polygon-ai_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var Xe="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzUgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjcuMTI1IDIzLjI1Yy0uNTM0IDAtMS4wNDIuMTA4LTEuNTA1LjMwM2wtNS40NDQtNi4xN2EzLjg1NCAzLjg1NCAwIDAgMC0uMDA4LTMuNzgybDUuNDAzLTYuMTc4Yy40NzcuMjEgMS4wMDIuMzI3IDEuNTU0LjMyN0EzLjg4IDMuODggMCAwIDAgMzEgMy44NzUgMy44OCAzLjg4IDAgMCAwIDI3LjEyNSAwYTMuODggMy44OCAwIDAgMC0zLjY1MyAyLjU4M0g3LjUyOEEzLjg4IDMuODggMCAwIDAgMy44NzUgMCAzLjg4IDMuODggMCAwIDAgMCAzLjg3NWEzLjg4IDMuODggMCAwIDAgMi41ODMgMy42NTN2MTUuOTQ0QTMuODggMy44OCAwIDAgMCAwIDI3LjEyNSAzLjg4IDMuODggMCAwIDAgMy44NzUgMzFhMy44OCAzLjg4IDAgMCAwIDMuNjUzLTIuNTgzaDE1Ljk0NEEzLjg4IDMuODggMCAwIDAgMjcuMTI1IDMxIDMuODggMy44OCAwIDAgMCAzMSAyNy4xMjVhMy44OCAzLjg4IDAgMCAwLTMuODc1LTMuODc1Wk03LjUyOCA1LjE2N2gxNS45NDRjLjA2LjE2OC4xMzIuMzMyLjIxMy40ODhsLTUuNDYgNi4yNDVhMy44NTQgMy44NTQgMCAwIDAtMS40MzMtLjI3NSAzLjg4IDMuODggMCAwIDAtMy44NzUgMy44NzUgMy44OCAzLjg4IDAgMCAwIDMuODc1IDMuODc1Yy41MTEgMCAxLS4xIDEuNDQ4LS4yODJsNS40NzEgNi4yMDJhMy45MzcgMy45MzcgMCAwIDAtLjIzOS41MzhINy41MjhhMy44OTQgMy44OTQgMCAwIDAtMi4zNjEtMi4zNlY3LjUyN2EzLjg5NCAzLjg5NCAwIDAgMCAyLjM2LTIuMzYxWiIvPjwvZz48cGF0aCBkPSJNMjguOTI4IDE3LjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwzMC45NjggMTloLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxOWgtMS4zNjh2LTguMzRoMS4zNjhaIi8+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDMxdjMxSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",rt=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,H=(Tt,an,bn)=>an in Tt?rt(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,R=(Tt,an)=>{for(var bn in an||(an={}))ye.call(an,bn)&&H(Tt,bn,an[bn]);if(Ke)for(var bn of Ke(an))ne.call(an,bn)&&H(Tt,bn,an[bn]);return Tt};const P=Tt=>o.createElement("svg",R({viewBox:"0 0 31 31",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#polygon_svg__a)"},o.createElement("path",{d:"M27.125 23.25c-.534 0-1.042.108-1.505.303l-5.444-6.17a3.854 3.854 0 0 0-.008-3.782l5.403-6.178c.477.21 1.002.327 1.554.327A3.88 3.88 0 0 0 31 3.875 3.88 3.88 0 0 0 27.125 0a3.88 3.88 0 0 0-3.653 2.583H7.528A3.88 3.88 0 0 0 3.875 0 3.88 3.88 0 0 0 0 3.875a3.88 3.88 0 0 0 2.583 3.653v15.944A3.88 3.88 0 0 0 0 27.125 3.88 3.88 0 0 0 3.875 31a3.88 3.88 0 0 0 3.653-2.583h15.944A3.88 3.88 0 0 0 27.125 31 3.88 3.88 0 0 0 31 27.125a3.88 3.88 0 0 0-3.875-3.875ZM7.528 5.167h15.944c.06.168.132.332.213.488l-5.46 6.245a3.854 3.854 0 0 0-1.433-.275 3.88 3.88 0 0 0-3.875 3.875 3.88 3.88 0 0 0 3.875 3.875c.511 0 1-.1 1.448-.282l5.471 6.202a3.937 3.937 0 0 0-.239.538H7.528a3.894 3.894 0 0 0-2.361-2.36V7.527a3.894 3.894 0 0 0 2.36-2.361Z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"polygon_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var ae="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjcuMTI1IDIzLjI1Yy0uNTM0IDAtMS4wNDIuMTA4LTEuNTA1LjMwM2wtNS40NDQtNi4xN2EzLjg1NCAzLjg1NCAwIDAgMC0uMDA4LTMuNzgybDUuNDAzLTYuMTc4Yy40NzcuMjEgMS4wMDIuMzI3IDEuNTU0LjMyN0EzLjg4IDMuODggMCAwIDAgMzEgMy44NzUgMy44OCAzLjg4IDAgMCAwIDI3LjEyNSAwYTMuODggMy44OCAwIDAgMC0zLjY1MyAyLjU4M0g3LjUyOEEzLjg4IDMuODggMCAwIDAgMy44NzUgMCAzLjg4IDMuODggMCAwIDAgMCAzLjg3NWEzLjg4IDMuODggMCAwIDAgMi41ODMgMy42NTN2MTUuOTQ0QTMuODggMy44OCAwIDAgMCAwIDI3LjEyNSAzLjg4IDMuODggMCAwIDAgMy44NzUgMzFhMy44OCAzLjg4IDAgMCAwIDMuNjUzLTIuNTgzaDE1Ljk0NEEzLjg4IDMuODggMCAwIDAgMjcuMTI1IDMxIDMuODggMy44OCAwIDAgMCAzMSAyNy4xMjVhMy44OCAzLjg4IDAgMCAwLTMuODc1LTMuODc1Wk03LjUyOCA1LjE2N2gxNS45NDRjLjA2LjE2OC4xMzIuMzMyLjIxMy40ODhsLTUuNDYgNi4yNDVhMy44NTQgMy44NTQgMCAwIDAtMS40MzMtLjI3NSAzLjg4IDMuODggMCAwIDAtMy44NzUgMy44NzUgMy44OCAzLjg4IDAgMCAwIDMuODc1IDMuODc1Yy41MTEgMCAxLS4xIDEuNDQ4LS4yODJsNS40NzEgNi4yMDJhMy45MzcgMy45MzcgMCAwIDAtLjIzOS41MzhINy41MjhhMy44OTQgMy44OTQgMCAwIDAtMi4zNjEtMi4zNlY3LjUyN2EzLjg5NCAzLjg5NCAwIDAgMCAyLjM2LTIuMzYxWiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",Q=Object.defineProperty,ie=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ee=(Tt,an,bn)=>an in Tt?Q(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,Me=(Tt,an)=>{for(var bn in an||(an={}))me.call(an,bn)&&Ee(Tt,bn,an[bn]);if(ie)for(var bn of ie(an))je.call(an,bn)&&Ee(Tt,bn,an[bn]);return Tt};const We=Tt=>o.createElement("svg",Me({viewBox:"0 0 29 29",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("path",{d:"M27.32 6.07a1 1 0 0 0 1-1V1.01a1 1 0 0 0-1-1.001h-4.05a1 1 0 0 0-1 1v1H6.06v-1a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1h1V22.26H1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-4.03a1 1 0 0 0-1-1h-1V6.07h1.02Zm-3 16.2h-1a1 1 0 0 0-1 1v1H6.06v-1a1 1 0 0 0-1-1h-1V6.07h1a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h1l.06 16.2Z"}),o.createElement("path",{d:"M13.928 17.305h-3.492l-.6 1.704H8.408l2.988-8.352h1.584l2.988 8.352h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52v8.34h-1.368v-8.34h1.368Z"}));var re="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjkgMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI3LjMyIDYuMDdhMSAxIDAgMCAwIDEtMVYxLjAxYTEgMSAwIDAgMC0xLTEuMDAxaC00LjA1YTEgMSAwIDAgMC0xIDF2MUg2LjA2di0xYTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQuMDVhMSAxIDAgMCAwIDEgMWgxVjIyLjI2SDFhMSAxIDAgMCAwLTEgMXY0LjA1YTEgMSAwIDAgMCAxIDFoNC4wNWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDQuMDVhMSAxIDAgMCAwIDEtMXYtNC4wM2ExIDEgMCAwIDAtMS0xaC0xVjYuMDdoMS4wMlptLTMgMTYuMmgtMWExIDEgMCAwIDAtMSAxdjFINi4wNnYtMWExIDEgMCAwIDAtMS0xaC0xVjYuMDdoMWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDFsLjA2IDE2LjJaIi8+PHBhdGggZD0iTTEzLjkyOCAxNy4zMDVoLTMuNDkybC0uNiAxLjcwNEg4LjQwOGwyLjk4OC04LjM1MmgxLjU4NGwyLjk4OCA4LjM1MmgtMS40NGwtLjYtMS43MDRabS0uMzg0LTEuMTE2LTEuMzU2LTMuODc2LTEuMzY4IDMuODc2aDIuNzI0Wm01LjA5MS01LjUydjguMzRoLTEuMzY4di04LjM0aDEuMzY4WiIvPjwvc3ZnPg==",se=Object.defineProperty,J=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ue=(Tt,an,bn)=>an in Tt?se(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,Ne=(Tt,an)=>{for(var bn in an||(an={}))ce.call(an,bn)&&ue(Tt,bn,an[bn]);if(J)for(var bn of J(an))xe.call(an,bn)&&ue(Tt,bn,an[bn]);return Tt};const Oe=Tt=>o.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Tt),o.createElement("path",{className:"rectangle_svg__cls-1",d:"M30.17 8.91a1 1 0 0 0 1-1V3.85a1 1 0 0 0-1-1h-4.05a1 1 0 0 0-1 1v1H8.91v-1a1 1 0 0 0-1-1H3.85a1 1 0 0 0-1 1V7.9a1 1 0 0 0 1 1h1v16.2h-1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1H7.9a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-4.03a1 1 0 0 0-1-1h-1V8.91Zm-3 16.2h-1a1 1 0 0 0-1 1v1H8.91v-1a1 1 0 0 0-1-1h-1V8.91h1a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h1Z"}),o.createElement("path",{className:"rectangle_svg__cls-2",fill:"none",d:"M2.83 2.83h28.35v28.35H2.83z"}));var we="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMzAuMTcgOC45MWExIDEgMCAwIDAgMS0xVjMuODVhMSAxIDAgMCAwLTEtMWgtNC4wNWExIDEgMCAwIDAtMSAxdjFIOC45MXYtMWExIDEgMCAwIDAtMS0xSDMuODVhMSAxIDAgMCAwLTEgMVY3LjlhMSAxIDAgMCAwIDEgMWgxdjE2LjJoLTFhMSAxIDAgMCAwLTEgMXY0LjA1YTEgMSAwIDAgMCAxIDFINy45YTEgMSAwIDAgMCAxLTF2LTFoMTYuMnYxYTEgMSAwIDAgMCAxIDFoNC4wNWExIDEgMCAwIDAgMS0xdi00LjAzYTEgMSAwIDAgMC0xLTFoLTFWOC45MVptLTMgMTYuMmgtMWExIDEgMCAwIDAtMSAxdjFIOC45MXYtMWExIDEgMCAwIDAtMS0xaC0xVjguOTFoMWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDFaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBmaWxsPSJub25lIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PC9zdmc+",Re=Object.defineProperty,st=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ke=(Tt,an,bn)=>an in Tt?Re(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,Be=(Tt,an)=>{for(var bn in an||(an={}))tt.call(an,bn)&&ke(Tt,bn,an[bn]);if(st)for(var bn of st(an))Ye.call(an,bn)&&ke(Tt,bn,an[bn]);return Tt};const it=Tt=>o.createElement("svg",Be({className:"redo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Tt),o.createElement("path",{d:"m1017.173 430.08-477.866-307.2c-6.827-3.413-13.654-3.413-17.067 0-6.827 3.413-10.24 6.827-10.24 13.653v187.734c-341.333 10.24-508.587 337.92-512 563.2v3.413c0 6.827 6.827 13.653 17.067 13.653s17.066-6.826 17.066-17.066c3.414-51.2 228.694-279.894 477.867-290.134v187.734c0 6.826 3.413 13.653 10.24 13.653 6.827 3.413 13.653 3.413 17.067 0l477.866-341.333c3.414-3.414 6.827-10.24 6.827-13.654s-3.413-10.24-6.827-13.653z",fill:"#fff"}));var Ve="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Im0xMDE3LjE3MyA0MzAuMDgtNDc3Ljg2Ni0zMDcuMmMtNi44MjctMy40MTMtMTMuNjU0LTMuNDEzLTE3LjA2NyAwLTYuODI3IDMuNDEzLTEwLjI0IDYuODI3LTEwLjI0IDEzLjY1M3YxODcuNzM0Yy0zNDEuMzMzIDEwLjI0LTUwOC41ODcgMzM3LjkyLTUxMiA1NjMuMnYzLjQxM2MwIDYuODI3IDYuODI3IDEzLjY1MyAxNy4wNjcgMTMuNjUzczE3LjA2Ni02LjgyNiAxNy4wNjYtMTcuMDY2YzMuNDE0LTUxLjIgMjI4LjY5NC0yNzkuODk0IDQ3Ny44NjctMjkwLjEzNHYxODcuNzM0YzAgNi44MjYgMy40MTMgMTMuNjUzIDEwLjI0IDEzLjY1MyA2LjgyNyAzLjQxMyAxMy42NTMgMy40MTMgMTcuMDY3IDBsNDc3Ljg2Ni0zNDEuMzMzYzMuNDE0LTMuNDE0IDYuODI3LTEwLjI0IDYuODI3LTEzLjY1NHMtMy40MTMtMTAuMjQtNi44MjctMTMuNjUzeiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",It=Object.defineProperty,_t=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,Yt=(Tt,an,bn)=>an in Tt?It(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,yt=(Tt,an)=>{for(var bn in an||(an={}))wt.call(an,bn)&&Yt(Tt,bn,an[bn]);if(_t)for(var bn of _t(an))jt.call(an,bn)&&Yt(Tt,bn,an[bn]);return Tt};const ze=Tt=>o.createElement("svg",yt({className:"repeat_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Tt),o.createElement("path",{d:"M0 448c0 35.4 28.6 64 64 64s64-28.6 64-64c0-106 86-192 192-192h320v64c0 25.8 15.6 49.2 39.6 59.2s51.4 4.4 69.8-13.8l128-128c25-25 25-65.6 0-90.6l-128-128C731 .4 703.6-5 679.6 5S640 38.2 640 64v64H320C143.2 128 0 271.2 0 448zm1024 128c0-35.4-28.6-64-64-64s-64 28.6-64 64c0 106-86 192-192 192H384v-64c0-25.8-15.6-49.2-39.6-59.2s-51.4-4.4-69.8 13.8l-128 128c-25 25-25 65.6 0 90.6l128 128c18.4 18.4 45.8 23.8 69.8 13.8s39.6-33.2 39.6-59.2V896h320c176.8 0 320-143.2 320-320z",fill:"#fff"}));var nt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik0wIDQ0OGMwIDM1LjQgMjguNiA2NCA2NCA2NHM2NC0yOC42IDY0LTY0YzAtMTA2IDg2LTE5MiAxOTItMTkyaDMyMHY2NGMwIDI1LjggMTUuNiA0OS4yIDM5LjYgNTkuMnM1MS40IDQuNCA2OS44LTEzLjhsMTI4LTEyOGMyNS0yNSAyNS02NS42IDAtOTAuNmwtMTI4LTEyOEM3MzEgLjQgNzAzLjYtNSA2NzkuNiA1UzY0MCAzOC4yIDY0MCA2NHY2NEgzMjBDMTQzLjIgMTI4IDAgMjcxLjIgMCA0NDh6bTEwMjQgMTI4YzAtMzUuNC0yOC42LTY0LTY0LTY0cy02NCAyOC42LTY0IDY0YzAgMTA2LTg2IDE5Mi0xOTIgMTkySDM4NHYtNjRjMC0yNS44LTE1LjYtNDkuMi0zOS42LTU5LjJzLTUxLjQtNC40LTY5LjggMTMuOGwtMTI4IDEyOGMtMjUgMjUtMjUgNjUuNiAwIDkwLjZsMTI4IDEyOGMxOC40IDE4LjQgNDUuOCAyMy44IDY5LjggMTMuOHMzOS42LTMzLjIgMzkuNi01OS4yVjg5NmgzMjBjMTc2LjggMCAzMjAtMTQzLjIgMzIwLTMyMHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",Et=Object.defineProperty,lt=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Ot=(Tt,an,bn)=>an in Tt?Et(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,Ie=(Tt,an)=>{for(var bn in an||(an={}))Gt.call(an,bn)&&Ot(Tt,bn,an[bn]);if(lt)for(var bn of lt(an))Rt.call(an,bn)&&Ot(Tt,bn,an[bn]);return Tt};const Se=Tt=>o.createElement("svg",Ie({viewBox:"0 0 31 35",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#skeleton-ai_svg__a)"},o.createElement("path",{d:"M25.833 19.5a5.161 5.161 0 0 0-4.097 2.023l-.09-.039a6.459 6.459 0 0 0-7.762-8.237l-.118-.222a5.16 5.16 0 1 0-2.297 1.18l.094.176a6.448 6.448 0 0 0-1.465 8.654l-2.435 2.277a5.167 5.167 0 1 0 1.88 1.78l2.374-2.22a6.45 6.45 0 0 0 8.446-1.125l.36.154a5.167 5.167 0 1 0 5.11-4.401ZM7.75 9.167a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0Zm-2.583 23.25a2.583 2.583 0 1 1 0-5.166 2.583 2.583 0 0 1 0 5.166ZM15.5 23.375a3.874 3.874 0 0 1-2.067-7.148l.526-.28a3.876 3.876 0 1 1 1.54 7.428Zm10.333 3.875a2.583 2.583 0 1 1 0-5.165 2.583 2.583 0 0 1 0 5.165Z"})),o.createElement("path",{d:"M24.928 11.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L26.968 13h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V13h-1.368V4.66h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"skeleton-ai_svg__a"},o.createElement("path",{transform:"translate(0 4)",d:"M0 0h31v31H0z"}))));var bt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjUuODMzIDE5LjVhNS4xNjEgNS4xNjEgMCAwIDAtNC4wOTcgMi4wMjNsLS4wOS0uMDM5YTYuNDU5IDYuNDU5IDAgMCAwLTcuNzYyLTguMjM3bC0uMTE4LS4yMjJhNS4xNiA1LjE2IDAgMSAwLTIuMjk3IDEuMThsLjA5NC4xNzZhNi40NDggNi40NDggMCAwIDAtMS40NjUgOC42NTRsLTIuNDM1IDIuMjc3YTUuMTY3IDUuMTY3IDAgMSAwIDEuODggMS43OGwyLjM3NC0yLjIyYTYuNDUgNi40NSAwIDAgMCA4LjQ0Ni0xLjEyNWwuMzYuMTU0YTUuMTY3IDUuMTY3IDAgMSAwIDUuMTEtNC40MDFaTTcuNzUgOS4xNjdhMi41ODMgMi41ODMgMCAxIDEgNS4xNjcgMCAyLjU4MyAyLjU4MyAwIDAgMS01LjE2NyAwWm0tMi41ODMgMjMuMjVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NiAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY2Wk0xNS41IDIzLjM3NWEzLjg3NCAzLjg3NCAwIDAgMS0yLjA2Ny03LjE0OGwuNTI2LS4yOGEzLjg3NiAzLjg3NiAwIDEgMSAxLjU0IDcuNDI4Wm0xMC4zMzMgMy44NzVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NSAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY1WiIvPjwvZz48cGF0aCBkPSJNMjQuOTI4IDExLjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwyNi45NjggMTNoLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxM2gtMS4zNjhWNC42NmgxLjM2OFoiLz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNCkiIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",Pt=Object.defineProperty,He=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,Ut=(Tt,an,bn)=>an in Tt?Pt(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,qt=(Tt,an)=>{for(var bn in an||(an={}))qe.call(an,bn)&&Ut(Tt,bn,an[bn]);if(He)for(var bn of He(an))Zt.call(an,bn)&&Ut(Tt,bn,an[bn]);return Tt};const ln=Tt=>o.createElement("svg",qt({viewBox:"0 0 31 31",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#skeleton_svg__a)"},o.createElement("path",{d:"M25.833 15.5a5.161 5.161 0 0 0-4.097 2.023l-.09-.039a6.459 6.459 0 0 0-7.762-8.237l-.118-.222a5.16 5.16 0 1 0-2.297 1.18l.094.176a6.448 6.448 0 0 0-1.465 8.654l-2.435 2.277a5.167 5.167 0 1 0 1.88 1.78l2.374-2.22a6.45 6.45 0 0 0 8.446-1.125l.36.154a5.167 5.167 0 1 0 5.11-4.401ZM7.75 5.167a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0Zm-2.583 23.25a2.583 2.583 0 1 1 0-5.166 2.583 2.583 0 0 1 0 5.166ZM15.5 19.375a3.874 3.874 0 0 1-2.067-7.148l.526-.28a3.876 3.876 0 1 1 1.54 7.428Zm10.333 3.875a2.583 2.583 0 1 1 0-5.165 2.583 2.583 0 0 1 0 5.165Z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"skeleton_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var En="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjUuODMzIDE1LjVhNS4xNjEgNS4xNjEgMCAwIDAtNC4wOTcgMi4wMjNsLS4wOS0uMDM5YTYuNDU5IDYuNDU5IDAgMCAwLTcuNzYyLTguMjM3bC0uMTE4LS4yMjJhNS4xNiA1LjE2IDAgMSAwLTIuMjk3IDEuMThsLjA5NC4xNzZhNi40NDggNi40NDggMCAwIDAtMS40NjUgOC42NTRsLTIuNDM1IDIuMjc3YTUuMTY3IDUuMTY3IDAgMSAwIDEuODggMS43OGwyLjM3NC0yLjIyYTYuNDUgNi40NSAwIDAgMCA4LjQ0Ni0xLjEyNWwuMzYuMTU0YTUuMTY3IDUuMTY3IDAgMSAwIDUuMTEtNC40MDFaTTcuNzUgNS4xNjdhMi41ODMgMi41ODMgMCAxIDEgNS4xNjcgMCAyLjU4MyAyLjU4MyAwIDAgMS01LjE2NyAwWm0tMi41ODMgMjMuMjVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NiAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY2Wk0xNS41IDE5LjM3NWEzLjg3NCAzLjg3NCAwIDAgMS0yLjA2Ny03LjE0OGwuNTI2LS4yOGEzLjg3NiAzLjg3NiAwIDEgMSAxLjU0IDcuNDI4Wm0xMC4zMzMgMy44NzVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NSAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY1WiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",mn=Object.defineProperty,Yn=Object.getOwnPropertySymbols,Gn=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,mr=(Tt,an,bn)=>an in Tt?mn(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,Ft=(Tt,an)=>{for(var bn in an||(an={}))Gn.call(an,bn)&&mr(Tt,bn,an[bn]);if(Yn)for(var bn of Yn(an))ir.call(an,bn)&&mr(Tt,bn,an[bn]);return Tt};const en=Tt=>o.createElement("svg",Ft({viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#text-prompt_svg__a)"},o.createElement("path",{d:"M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49Z",fill:"#CCDCFF"}),o.createElement("path",{d:"M4.64 16.275v16.45H24.5l9.93-8.225-9.93-8.225H4.64Z",fill:"#fff"}),o.createElement("path",{d:"M24.5 16.275h19.86v16.45H24.5v-16.45Z",fill:"#E8E8E8"}),o.createElement("path",{d:"M15.06 13.87v-3.243H6.646v3.242h2.586v21.262H6.646v3.242h8.414v-3.242h-2.585V13.869h2.585Z",fill:"#5C5B68"}),o.createElement("path",{d:"M15.69 26.757h6.247v2.871H15.69v-2.87Z",fill:"#397DEA"}),o.createElement("path",{d:"M25.24 26.757h6.247v2.871H25.24v-2.87ZM34.79 26.757h6.247v2.871H34.79v-2.87Z",fill:"#2C5DBF"})),o.createElement("defs",null,o.createElement("clipPath",{id:"text-prompt_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h49v49H0z"}))));var rn="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjQuNSA0OUMzOC4wMzEgNDkgNDkgMzguMDMxIDQ5IDI0LjVTMzguMDMxIDAgMjQuNSAwIDAgMTAuOTY5IDAgMjQuNSAxMC45NjkgNDkgMjQuNSA0OVoiIGZpbGw9IiNDQ0RDRkYiLz48cGF0aCBkPSJNNC42NCAxNi4yNzV2MTYuNDVIMjQuNWw5LjkzLTguMjI1LTkuOTMtOC4yMjVINC42NFoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMjQuNSAxNi4yNzVoMTkuODZ2MTYuNDVIMjQuNXYtMTYuNDVaIiBmaWxsPSIjRThFOEU4Ii8+PHBhdGggZD0iTTE1LjA2IDEzLjg3di0zLjI0M0g2LjY0NnYzLjI0MmgyLjU4NnYyMS4yNjJINi42NDZ2My4yNDJoOC40MTR2LTMuMjQyaC0yLjU4NVYxMy44NjloMi41ODVaIiBmaWxsPSIjNUM1QjY4Ii8+PHBhdGggZD0iTTE1LjY5IDI2Ljc1N2g2LjI0N3YyLjg3MUgxNS42OXYtMi44N1oiIGZpbGw9IiMzOTdERUEiLz48cGF0aCBkPSJNMjUuMjQgMjYuNzU3aDYuMjQ3djIuODcxSDI1LjI0di0yLjg3Wk0zNC43OSAyNi43NTdoNi4yNDd2Mi44NzFIMzQuNzl2LTIuODdaIiBmaWxsPSIjMkM1REJGIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg0OXY0OUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",fn=Object.defineProperty,In=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,gt=(Tt,an,bn)=>an in Tt?fn(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,sn=(Tt,an)=>{for(var bn in an||(an={}))on.call(an,bn)&>(Tt,bn,an[bn]);if(In)for(var bn of In(an))mt.call(an,bn)&>(Tt,bn,an[bn]);return Tt};const Qt=Tt=>o.createElement("svg",sn({className:"undo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Tt),o.createElement("path",{d:"M512 324.267V136.533c0-6.826-3.413-13.653-10.24-13.653-6.827-3.413-13.653-3.413-17.067 0L6.827 430.08C3.413 433.493 0 436.907 0 443.733s3.413 10.24 6.827 13.654L484.693 798.72c6.827 3.413 13.654 3.413 17.067 0 6.827-3.413 10.24-10.24 10.24-13.653V597.333c249.173 10.24 474.453 235.52 477.867 290.134 0 10.24 6.826 17.066 17.066 17.066S1024 897.707 1024 887.467c-3.413-225.28-170.667-552.96-512-563.2z",fill:"#fff"}));var tn="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI0LjI2N1YxMzYuNTMzYzAtNi44MjYtMy40MTMtMTMuNjUzLTEwLjI0LTEzLjY1My02LjgyNy0zLjQxMy0xMy42NTMtMy40MTMtMTcuMDY3IDBMNi44MjcgNDMwLjA4QzMuNDEzIDQzMy40OTMgMCA0MzYuOTA3IDAgNDQzLjczM3MzLjQxMyAxMC4yNCA2LjgyNyAxMy42NTRMNDg0LjY5MyA3OTguNzJjNi44MjcgMy40MTMgMTMuNjU0IDMuNDEzIDE3LjA2NyAwIDYuODI3LTMuNDEzIDEwLjI0LTEwLjI0IDEwLjI0LTEzLjY1M1Y1OTcuMzMzYzI0OS4xNzMgMTAuMjQgNDc0LjQ1MyAyMzUuNTIgNDc3Ljg2NyAyOTAuMTM0IDAgMTAuMjQgNi44MjYgMTcuMDY2IDE3LjA2NiAxNy4wNjZTMTAyNCA4OTcuNzA3IDEwMjQgODg3LjQ2N2MtMy40MTMtMjI1LjI4LTE3MC42NjctNTUyLjk2LTUxMi01NjMuMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",yn=Object.defineProperty,vn=Object.getOwnPropertySymbols,Wn=Object.prototype.hasOwnProperty,tr=Object.prototype.propertyIsEnumerable,ut=(Tt,an,bn)=>an in Tt?yn(Tt,an,{enumerable:!0,configurable:!0,writable:!0,value:bn}):Tt[an]=bn,ct=(Tt,an)=>{for(var bn in an||(an={}))Wn.call(an,bn)&&ut(Tt,bn,an[bn]);if(vn)for(var bn of vn(an))tr.call(an,bn)&&ut(Tt,bn,an[bn]);return Tt};const At=Tt=>o.createElement("svg",ct({viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tt),o.createElement("g",{clipPath:"url(#visual-prompt_svg__a)"},o.createElement("path",{d:"M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49Z",fill:"#CCDCFF"}),o.createElement("path",{d:"M24.5 40.84h-2.393v-7.178H24.5l.808 3.648-.808 3.53Z",fill:"#87ADFF"}),o.createElement("path",{d:"M24.5 33.662h2.393v7.177H24.5v-7.177Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 42.514h-5.742V40.6H24.5l.642.957-.642.957Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 40.6h5.742v1.914H24.5V40.6Z",fill:"#0E57FF"}),o.createElement("path",{d:"M25.765 23.118 24.5 13.32H6.316v18.183l18.184.563 1.265-8.948Z",fill:"#fff"}),o.createElement("path",{d:"M24.5 13.32v18.746l18.184-.563V13.32H24.5Z",fill:"#EAEDF4"}),o.createElement("path",{d:"m24.5 33.896.808-1.196-.808-1.197H6.316v2.393H24.5Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 31.503h18.184v2.393H24.5v-2.393Z",fill:"#0E57FF"}),o.createElement("path",{d:"m36.198 24.423-3.163-1.054 1.055 3.163.527-.527 1.912 1.912 1.054-1.055-1.912-1.912.527-.527Z",fill:"#5C5B68"}),o.createElement("path",{d:"m19.034 19.3 3.474.608 1.992 2.548 1.48 2.73-1.48 3.517-5.466-3.156V19.3Z",fill:"#87ADFF"}),o.createElement("path",{d:"M29.966 25.547v-6.311l-3.399.786-2.067 2.434v6.247l5.466-3.156Z",fill:"#165DFF"}),o.createElement("path",{d:"m19.034 19.3 5.466 3.156 1.241-3.33L24.5 16.08l-5.466 3.22Z",fill:"#C1D4FD"}),o.createElement("path",{d:"M24.5 16.08v6.376l5.466-3.22L24.5 16.08Z",fill:"#A9C3FC"})),o.createElement("defs",null,o.createElement("clipPath",{id:"visual-prompt_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h49v49H0z"}))));var xt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjQuNSA0OUMzOC4wMzEgNDkgNDkgMzguMDMxIDQ5IDI0LjVTMzguMDMxIDAgMjQuNSAwIDAgMTAuOTY5IDAgMjQuNSAxMC45NjkgNDkgMjQuNSA0OVoiIGZpbGw9IiNDQ0RDRkYiLz48cGF0aCBkPSJNMjQuNSA0MC44NGgtMi4zOTN2LTcuMTc4SDI0LjVsLjgwOCAzLjY0OC0uODA4IDMuNTNaIiBmaWxsPSIjODdBREZGIi8+PHBhdGggZD0iTTI0LjUgMzMuNjYyaDIuMzkzdjcuMTc3SDI0LjV2LTcuMTc3WiIgZmlsbD0iIzE2NURGRiIvPjxwYXRoIGQ9Ik0yNC41IDQyLjUxNGgtNS43NDJWNDAuNkgyNC41bC42NDIuOTU3LS42NDIuOTU3WiIgZmlsbD0iIzE2NURGRiIvPjxwYXRoIGQ9Ik0yNC41IDQwLjZoNS43NDJ2MS45MTRIMjQuNVY0MC42WiIgZmlsbD0iIzBFNTdGRiIvPjxwYXRoIGQ9Ik0yNS43NjUgMjMuMTE4IDI0LjUgMTMuMzJINi4zMTZ2MTguMTgzbDE4LjE4NC41NjMgMS4yNjUtOC45NDhaIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTI0LjUgMTMuMzJ2MTguNzQ2bDE4LjE4NC0uNTYzVjEzLjMySDI0LjVaIiBmaWxsPSIjRUFFREY0Ii8+PHBhdGggZD0ibTI0LjUgMzMuODk2LjgwOC0xLjE5Ni0uODA4LTEuMTk3SDYuMzE2djIuMzkzSDI0LjVaIiBmaWxsPSIjMTY1REZGIi8+PHBhdGggZD0iTTI0LjUgMzEuNTAzaDE4LjE4NHYyLjM5M0gyNC41di0yLjM5M1oiIGZpbGw9IiMwRTU3RkYiLz48cGF0aCBkPSJtMzYuMTk4IDI0LjQyMy0zLjE2My0xLjA1NCAxLjA1NSAzLjE2My41MjctLjUyNyAxLjkxMiAxLjkxMiAxLjA1NC0xLjA1NS0xLjkxMi0xLjkxMi41MjctLjUyN1oiIGZpbGw9IiM1QzVCNjgiLz48cGF0aCBkPSJtMTkuMDM0IDE5LjMgMy40NzQuNjA4IDEuOTkyIDIuNTQ4IDEuNDggMi43My0xLjQ4IDMuNTE3LTUuNDY2LTMuMTU2VjE5LjNaIiBmaWxsPSIjODdBREZGIi8+PHBhdGggZD0iTTI5Ljk2NiAyNS41NDd2LTYuMzExbC0zLjM5OS43ODYtMi4wNjcgMi40MzR2Ni4yNDdsNS40NjYtMy4xNTZaIiBmaWxsPSIjMTY1REZGIi8+PHBhdGggZD0ibTE5LjAzNCAxOS4zIDUuNDY2IDMuMTU2IDEuMjQxLTMuMzNMMjQuNSAxNi4wOGwtNS40NjYgMy4yMloiIGZpbGw9IiNDMUQ0RkQiLz48cGF0aCBkPSJNMjQuNSAxNi4wOHY2LjM3Nmw1LjQ2Ni0zLjIyTDI0LjUgMTYuMDhaIiBmaWxsPSIjQTlDM0ZDIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg0OXY0OUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",kt,un,nn,An,zn,Er,nr,Fn=function(Tt){return Tt.showAnnotations="showAnnotations",Tt.showAllCategory="showAllCategory",Tt.showImgDesc="showImgDesc",Tt.showBoxText="showBoxText",Tt.showSegFilling="showSegFilling",Tt.showSegContour="showSegContour",Tt.showMattingColorFill="showMattingColorFill",Tt.showKeyPointsLine="showKeyPointsLine",Tt.showKeyPointsBox="showKeyPointsBox",Tt}({}),kr=function(Tt){return Tt.Waiting="waiting",Tt.Running="running",Tt.Success="success",Tt.Failed="failed",Tt}({}),hr=.1,la=20,zr=.5,Zn=.1,On=function(Tt){return Tt.Rectangle="rect",Tt.Polygon="polygon",Tt.Mask="mask",Tt.Skeleton="coco_keypoints_17",Tt.Classification="classification",Tt}({}),Tn=function(Tt){return Tt.Custom="Custom",Tt.Classification="Classification",Tt.Rectangle="Rectangle",Tt.Polygon="Polygon",Tt.Skeleton="Skeleton",Tt.Mask="Mask",Tt.Matting="Matting",Tt.Point="Point",Tt.Polyline="Polyline",Tt}({}),ar=function(Tt){return Tt.Rect="rect",Tt.Circle="circle",Tt.Polygon="polygon",Tt.None="none",Tt}({}),br=function(Tt){return Tt.Drag="Drag",Tt.Rectangle="Rect",Tt.Polygon="Polygon",Tt.Skeleton="Skeleton",Tt.Mask="Mask",Tt}({}),Kr=function(Tt){return Tt.PenAdd="PenAdd",Tt.PenErase="PenErase",Tt.BrushAdd="BrushAdd",Tt.BrushErase="BrushErase",Tt.AutoSegmentByBox="AutoSegmentByBox",Tt.AutoSegmentByClick="AutoSegmentByClick",Tt.AutoSegmentByStroke="AutoSegmentByStroke",Tt.AutoSegmentEverything="AutoSegmentEverything",Tt.AutoEdgeStitching="AutoEdgeStitching",Tt.PositiveVisualPrompt="PositiveVisualPrompt",Tt.NegativeVisualPrompt="NegativeVisualPrompt",Tt}({}),ra=function(Tt){return Tt.SmartAnnotation="SmartAnnotation",Tt.Undo="Undo",Tt.Redo="Redo",Tt.RepeatPrevious="RepeatPrevious",Tt.DeleteAll="DeleteAll",Tt}({}),pa=(kt={},t()(kt,br.Drag,Tn.Custom),t()(kt,br.Rectangle,Tn.Rectangle),t()(kt,br.Polygon,Tn.Polygon),t()(kt,br.Skeleton,Tn.Skeleton),t()(kt,br.Mask,Tn.Mask),kt),fr=function(Tt){return Tt.Detection="ai_detection",Tt.IVP="ivp",Tt.SegmentByPolygon="ai_polygon",Tt.SegmentByMask="ai_segmentation_mask",Tt.Pose="ai_pose",Tt.MaskEdgeStitching="ai_mask_edge_stitching",Tt.SegmentEverything="ai_segment_everything",Tt}({}),Ur=(un={},t()(un,br.Drag,[]),t()(un,br.Rectangle,[fr.Detection,fr.IVP]),t()(un,br.Polygon,[fr.SegmentByPolygon]),t()(un,br.Mask,[fr.SegmentEverything,fr.SegmentByMask,fr.IVP]),t()(un,br.Skeleton,[fr.Pose]),un),Ea=(nn={},t()(nn,fr.Detection,{name:"DDSAnnotator.smart.gdino.name",icon:en,description:"DDSAnnotator.smart.gdino.desc",hightlight:!1}),t()(nn,fr.IVP,{name:"DDSAnnotator.smart.ivp.name",icon:At,description:"DDSAnnotator.smart.ivp.desc",hightlight:!0}),t()(nn,fr.SegmentEverything,{name:"DDSAnnotator.smart.sam.name",icon:At,description:"DDSAnnotator.smart.sam.desc",hightlight:!1}),t()(nn,fr.SegmentByMask,{name:"DDSAnnotator.smart.isg.name",icon:At,description:"DDSAnnotator.smart.isg.desc",hightlight:!1}),nn),ha=(An={},t()(An,On.Rectangle,br.Rectangle),t()(An,On.Polygon,br.Polygon),t()(An,On.Mask,br.Mask),t()(An,On.Skeleton,br.Skeleton),An),Hn=(zn={},t()(zn,Tn.Rectangle,Oe),t()(zn,Tn.Skeleton,ln),t()(zn,Tn.Polygon,P),t()(zn,Tn.Mask,Te),t()(zn,Tn.Matting,Te),t()(zn,Tn.Point,g),t()(zn,Tn.Polyline,g),t()(zn,Tn.Custom,g),t()(zn,Tn.Classification,g),zn),Bn=(Er={},t()(Er,Tn.Rectangle,We),t()(Er,Tn.Skeleton,Se),t()(Er,Tn.Polygon,Ze),t()(Er,Tn.Mask,_),Er),yr=(nr={},t()(nr,ra.SmartAnnotation,te),t()(nr,ra.Undo,Qt),t()(nr,ra.Redo,it),t()(nr,ra.RepeatPrevious,ze),t()(nr,ra.DeleteAll,N),nr),Xr=function(Tt){return Tt[Tt.noLabeled=0]="noLabeled",Tt[Tt.labeledNotVisible=1]="labeledNotVisible",Tt[Tt.labeledVisible=2]="labeledVisible",Tt}({}),Dr={categoryName:"person",boundingBox:{xmax:.44072164948453607,xmin:.2654639175257732,ymax:.5698739977090492,ymin:.09335624284077892},points:[175.25773195876286,61.21134020618557,0,1,2,1,179.9828178694158,41.45189003436426,0,1,2,1,170.96219931271477,41.881443298969074,0,1,2,1,189.86254295532646,51.33161512027492,0,1,2,1,163.23024054982818,50.47250859106529,0,1,2,1,192.86941580756016,68.08419243986253,0,1,2,1,158.295150820924,67.63982699371964,0,1,2,1,202.74914089347078,99.87113402061856,0,1,2,1,150.34364261168383,99.87113402061856,0,1,2,1,208.76288659793815,127.36254295532646,0,1,2,1,142.61168384879724,129.0807560137457,0,1,2,1,182.13058419243984,126.50343642611685,0,1,2,1,162.2279495990836,125.4739898092191,0,1,2,1,184.70790378006873,175.4725085910653,0,1,2,1,158.78675066819395,176.9759450171821,0,1,2,1,190.29209621993127,208.11855670103094,0,1,2,1,152.92096219931273,206.82989690721652,0,1,2,1],lines:[15,13,13,11,16,14,14,12,11,12,5,11,6,12,5,6,5,7,6,8,7,9,8,10,1,2,0,1,0,2,1,3,2,4,3,5,4,6],pointColors:["128","0","0","255","178","102","230","230","0","255","51","255","153","204","255","255","128","0","0","255","255","128","0","255","51","153","255","169","165","139","255","0","0","102","255","102","184","97","134","128","128","0","255","190","255","0","128","0","0","0","255"],pointNames:["nose","left_eye","right_eye","left_ear","right_ear","left_shoulder","right_shoulder","left_elbow","right_elbow","left_wrist","right_wrist","left_hip","right_hip","left_knee","right_knee","left_ankle","right_ankle"]}},34095:function(b,y,e){"use strict";e.d(y,{$k:function(){return S},Bt:function(){return m},CJ:function(){return g},XQ:function(){return c},cj:function(){return h},lz:function(){return M},mh:function(){return n},rl:function(){return d},s_:function(){return l}});var a=e(2657),t=e.n(a),o=e(50910),s,n={DEFAULT:0,DEFAULT_SHAPE:.35,CREATING:0,JUST_CREATED:.5,FOCUS:.6,CTRL_TO_SELECT:.1,OTHER:0},d={DEFAULT:1,CREATING:1,CREATING_LINE:.8,FOCUS:1,ACTIVE:1,OTHER:.3},l={CREATING:.7,FOCUS:.7,JUST_CREATED:.5,DEFAULT:.35},c={CREATING:"#fff"},m={CREATING:"transparent",CREATING_POSITIVE:"#2876d4",CREATING_NEGATIVE:"#e91d00"},g={POSITIVE:"rgba(1, 128, 0, 1)",NEGATIVE:"rgba(255, 3, 0, 1)"},M={POSITIVE:"rgba(1, 128, 0, 0.6)",NEGATIVE:"rgba(255, 3, 0, 0.6)"},h=(s={},t()(s,o.SP.Solid,{lineDash:[],thickness:2}),t()(s,o.SP.DoubleSolid,{lineDash:[],thickness:4}),t()(s,o.SP.LCurbside,{lineDash:[],thickness:2}),t()(s,o.SP.RCurbside,{lineDash:[],thickness:2}),t()(s,o.SP.Unknown,{lineDash:[],thickness:2}),t()(s,o.SP.Dashed,{lineDash:[4,4],thickness:2}),t()(s,o.SP.DoubleDashed,{lineDash:[4,4],thickness:4}),t()(s,o.SP.LDashedRSolid,{lineDash:[4,8,4,8,16,4],thickness:4}),t()(s,o.SP.LSolidRDashed,{lineDash:[4,8,16,4],thickness:4}),s),S={Yellow:"#d97945",White:"#de1760",Other:"#72af44"}},88662:function(b,y,e){"use strict";e.d(y,{kl:function(){return xs},j5:function(){return mc},D5:function(){return bu},je:function(){return W.je}});var a=e(63900),t=e.n(a),o=e(88205),s=e.n(o),n=e(62109),d=e(73267),l=e(87608),c=e.n(l),m=e(39378),g=e(58757),M=e(65246),h=e(52495),S=e(84045),w=e(18624),C=e(12562),z=e(53357),$=function(pe){return pe==null||pe===""||Array.isArray(pe)&&pe.length===0},N=e(47513),L=e(74820),B=e(10852),D=e(38904),T=e(21149),j=Object.defineProperty,K=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,Y=($e,pe,Pe)=>pe in $e?j($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,q=($e,pe)=>{for(var Pe in pe||(pe={}))k.call(pe,Pe)&&Y($e,Pe,pe[Pe]);if(K)for(var Pe of K(pe))te.call(pe,Pe)&&Y($e,Pe,pe[Pe]);return $e};const le=$e=>g.createElement("svg",q({viewBox:"0 0 21 21",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M16.625 4.375v12.25H4.375V4.375h12.25ZM3.5 2.625c-.438 0-.875.438-.875.875v14c0 .525.35.875.875.875h14c.525 0 .875-.35.875-.875v-14c0-.525-.35-.875-.875-.875h-14Z"}),g.createElement("path",{d:"M14.875 7.788c0-.525-.35-.875-.875-.875H9.625v-.438A.877.877 0 0 0 8.75 5.6c-.525 0-.875.35-.875.875v.438H7c-.525 0-.875.35-.875.875s.35.875.875.875h.875V9.1c0 .525.35.875.875.875s.875-.35.875-.875v-.437H14c.525 0 .875-.35.875-.875ZM6.125 13.3c0 .525.35.875.875.875h4.375v.438c0 .525.438.875.875.875.525 0 .875-.35.875-.875v-.438H14c.525 0 .875-.35.875-.875s-.35-.875-.875-.875h-.875v-.437c0-.525-.35-.875-.875-.875s-.875.35-.875.875v.437H7a.877.877 0 0 0-.875.875Z"}));var X="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjEgMjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjYyNSA0LjM3NXYxMi4yNUg0LjM3NVY0LjM3NWgxMi4yNVpNMy41IDIuNjI1Yy0uNDM4IDAtLjg3NS40MzgtLjg3NS44NzV2MTRjMCAuNTI1LjM1Ljg3NS44NzUuODc1aDE0Yy41MjUgMCAuODc1LS4zNS44NzUtLjg3NXYtMTRjMC0uNTI1LS4zNS0uODc1LS44NzUtLjg3NWgtMTRaIi8+PHBhdGggZD0iTTE0Ljg3NSA3Ljc4OGMwLS41MjUtLjM1LS44NzUtLjg3NS0uODc1SDkuNjI1di0uNDM4QS44NzcuODc3IDAgMCAwIDguNzUgNS42Yy0uNTI1IDAtLjg3NS4zNS0uODc1Ljg3NXYuNDM4SDdjLS41MjUgMC0uODc1LjM1LS44NzUuODc1cy4zNS44NzUuODc1Ljg3NWguODc1VjkuMWMwIC41MjUuMzUuODc1Ljg3NS44NzVzLjg3NS0uMzUuODc1LS44NzV2LS40MzdIMTRjLjUyNSAwIC44NzUtLjM1Ljg3NS0uODc1Wk02LjEyNSAxMy4zYzAgLjUyNS4zNS44NzUuODc1Ljg3NWg0LjM3NXYuNDM4YzAgLjUyNS40MzguODc1Ljg3NS44NzUuNTI1IDAgLjg3NS0uMzUuODc1LS44NzV2LS40MzhIMTRjLjUyNSAwIC44NzUtLjM1Ljg3NS0uODc1cy0uMzUtLjg3NS0uODc1LS44NzVoLS44NzV2LS40MzdjMC0uNTI1LS4zNS0uODc1LS44NzUtLjg3NXMtLjg3NS4zNS0uODc1Ljg3NXYuNDM3SDdhLjg3Ny44NzcgMCAwIDAtLjg3NS44NzVaIi8+PC9zdmc+",W=e(50910),x=e(35667),O=function(pe,Pe){return pe.isDarkTheme===Pe.isDarkTheme&&pe.disabled===Pe.disabled&&(0,m.isEqual)(pe.data,Pe.data)&&(0,m.isEqual)(pe.values,Pe.values)&&pe.onChangeValue===Pe.onChangeValue&&pe.onFocusInput===Pe.onFocusInput&&pe.onClickAttributes===Pe.onClickAttributes},_=(0,g.memo)(function($e){var pe=(0,z.bU)(),Pe=pe.localeText,kn=$e.isDarkTheme,vt=$e.disabled,Nn=$e.data,xn=$e.values,wn=$e.onChangeValue,Rn=$e.onFocusInput,vr=$e.onClickAttributes;return(0,x.jsx)(N.Z,{layout:"vertical",className:c()("dds-annotator-attributes-form",{"dds-annotator-attributes-form-dark":kn}),children:Nn.map(function(pr,Mr){var Ln,ta;return(0,x.jsxs)(N.Z.Item,{required:pr.required,label:pr.hasAttributes?(0,x.jsxs)("div",{className:"dds-annotator-attributes-form-item-title",children:[pr.field,(0,x.jsx)(L.Z,{title:Pe("DDSAnnotator.attribute.edit"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"dds-annotator-attributes-form-item-title-btn",icon:(0,x.jsx)(le,{className:pr.requireAttribute?"attribute-warn":""}),shape:"circle",onClick:function(lr){lr.stopPropagation(),vr==null||vr(Mr)}})})]}):pr.field,children:[pr.type===W.In.Radio&&(0,x.jsx)(B.ZP.Group,{value:xn[Mr],options:(Ln=pr.options)===null||Ln===void 0?void 0:Ln.map(function(Ir,lr){var Ar=Ir.label;return{label:Ar,value:lr}}),onChange:function(lr){return wn(Mr,lr.target.value)},disabled:vt}),pr.type===W.In.Checkbox&&(0,x.jsx)(D.Z.Group,{value:xn[Mr],options:(ta=pr.options)===null||ta===void 0?void 0:ta.map(function(Ir,lr){var Ar=Ir.label;return{label:Ar,value:lr}}),onChange:function(lr){return wn(Mr,lr)},disabled:vt}),pr.type===W.In.Text&&(0,x.jsx)(T.Z,{placeholder:Pe("DDSAnnotator.attribute.input"),value:xn[Mr],onChange:function(lr){return wn(Mr,lr.target.value)},onFocus:function(lr){return Rn==null?void 0:Rn(Mr,lr)},onKeyUp:function(lr){return lr.stopPropagation()},onKeyDown:function(lr){return lr.stopPropagation()},disabled:vt})]},pr.field)})})},O),U=_,A=function(pe){var Pe=pe.children,kn=pe.eventHandler,vt=function(xn){kn?kn(xn):xn.stopPropagation()};return(0,x.jsx)("div",{onMouseDown:vt,onMouseUp:vt,style:{userSelect:"none"},children:Pe})},G=(0,g.memo)(function($e){var pe=$e.data,Pe=$e.supportEdit,kn=$e.onConfirmAttibuteEdit,vt=$e.onCancelAttibuteEdit,Nn=(0,z.bU)(),xn=Nn.localeText,wn=(0,M.x)([]),Rn=s()(wn,2),vr=Rn[0],pr=Rn[1];(0,g.useEffect)(function(){pr((pe==null?void 0:pe.values)||[])},[pe.values]);var Mr=function(Ir,lr){pr(function(Ar){Ar[Ir]=lr})},Ln=function(){if(pe.attributes.find(function(lr,Ar){return lr.required&&$(vr[Ar])})){S.ZP.error(xn("DDSAnnotator.attribute.required"));return}var Ir=[];pe.attributes.forEach(function(lr,Ar){Ir.push(vr[Ar]===void 0?null:vr[Ar])}),kn(Ir)};return(0,x.jsx)(A,{children:(0,x.jsx)(w.Z,{id:"annotation-editor",className:"dds-annotator-attribute-editor",title:(0,x.jsxs)("div",{className:"dds-annotator-attribute-editor-title",children:[(0,x.jsxs)("div",{children:[xn("DDSAnnotator.attribute.modal")," #",pe.index+1]}),(0,x.jsx)(C.ZP,{ghost:!0,className:"dds-annotator-attribute-editor-title-btn",icon:(0,x.jsx)(h.Z,{}),shape:"circle",size:"small",onClick:vt})]}),children:(0,x.jsxs)("div",{className:"dds-annotator-attribute-editor-content",children:[(0,x.jsx)(U,{disabled:!Pe,data:pe.attributes,values:vr,onChangeValue:Mr}),Pe&&(0,x.jsx)("div",{className:"dds-annotator-attribute-editor-actions",children:(0,x.jsx)(C.ZP,{type:"primary",onClick:function(Ir){Ir.preventDefault(),Ln()},children:xn("DDSAnnotator.confirm")})})]})})})}),de=G,he=e(83720),ge=e(56019),be=e(16951),Te=function(pe,Pe){return pe.className===Pe.className&&pe.supportEdit===Pe.supportEdit&&(0,m.isEqual)(pe.classificationOptions,Pe.classificationOptions)&&(0,m.isEqual)(pe.values,Pe.values)&&pe.setDrawDataWithHistory===Pe.setDrawDataWithHistory},Ge=(0,g.memo)(function($e){var pe=(0,z.bU)(),Pe=pe.localeText,kn=$e.className,vt=$e.classificationOptions,Nn=$e.values,xn=$e.setDrawDataWithHistory,wn=$e.supportEdit,Rn=(0,g.useState)(!1),vr=s()(Rn,2),pr=vr[0],Mr=vr[1],Ln=function(Kn,Yr,na){var ca,or=vt[Kn],ur=Nn==null||(ca=Nn.find(function(Vr){var Rr=Vr.labelId;return Rr===(or==null?void 0:or.id)}))===null||ca===void 0?void 0:ca.attributes;return or!=null&&or.attributes&&or.attributes.length>0&&(Yr==null?void 0:Yr.labelId)!==or.id&&(!na||!(ur!=null&&ur.length))?{index:-1,labelId:or.id,attributes:or==null?void 0:or.attributes,values:ur}:null},ta=function(Kn){setTimeout(function(){xn(function(Yr){var na=Ln(Kn,Yr.editingAttribute);na&&(Yr.editingAttribute=na)})})},Ir=function(Kn,Yr){xn(function(na){var ca,or=vt[Kn],ur=na.classifications.findIndex(function(Vr){return Vr.labelId===or.id});ur>-1?na.classifications[ur].labelValue=Yr:na.classifications.push({labelId:vt[Kn].id,labelValue:Yr}),((ca=na.editingAttribute)===null||ca===void 0?void 0:ca.labelId)!==(or==null?void 0:or.id)&&(na.editingAttribute=Ln(Kn,na.editingAttribute,!0)||void 0)})},lr=(0,g.useMemo)(function(){return vt.map(function(sa){var Kn,Yr;return{field:sa.labelName,type:sa.valueType,required:!0,options:sa.valueOptions,hasAttributes:!!((Kn=sa.attributes)!==null&&Kn!==void 0&&Kn.length),requireAttribute:!!((Yr=sa.attributes)!==null&&Yr!==void 0&&Yr.find(function(na,ca){var or,ur;return(na==null?void 0:na.required)&&[void 0,null,""].includes((or=Nn.find(function(Vr){var Rr=Vr.labelId;return Rr===sa.id}))===null||or===void 0||(ur=or.attributes)===null||ur===void 0?void 0:ur[ca])}))}})},[vt,Nn]),Ar=(0,g.useMemo)(function(){var sa=[];return vt.forEach(function(Kn){var Yr,na=(Yr=Nn.find(function(ca){var or=ca.labelId;return or===Kn.id}))===null||Yr===void 0?void 0:Yr.labelValue;sa.push(na===void 0?null:na)}),sa},[vt,Nn]),Or=(0,x.jsx)(U,{isDarkTheme:!0,disabled:!wn,data:lr,values:Ar,onChangeValue:Ir,onFocusInput:ta,onClickAttributes:ta});return(0,x.jsx)("div",{className:c()("dds-annotator-classification",kn),onMouseDown:function(Kn){Kn.stopPropagation()},children:(0,x.jsx)(be.Z,{activeKey:"classification",items:[{key:"classification",label:Pe("DDSAnnotator.annotsList.classification"),children:pr?null:Or}],tabBarExtraContent:(0,x.jsx)(L.Z,{title:Pe(pr?"DDSAnnotator.annotsList.showAll":"DDSAnnotator.annotsList.hideAll"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"tab-header-actions",icon:pr?(0,x.jsx)(he.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:function(){return Mr(!pr)}})})})})},Te),Je=Ge,Qe=e(22283),pt=e(79233),Ct=Object.defineProperty,ft=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Xe=($e,pe,Pe)=>pe in $e?Ct($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,rt=($e,pe)=>{for(var Pe in pe||(pe={}))Ht.call(pe,Pe)&&Xe($e,Pe,pe[Pe]);if(ft)for(var Pe of ft(pe))Ze.call(pe,Pe)&&Xe($e,Pe,pe[Pe]);return $e};const Ke=$e=>React.createElement("svg",rt({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:600,height:600,fill:"none"},$e),React.createElement("path",{fill:"#FFF",d:"M0 0h600v600H0z"}),React.createElement("mask",{id:"img-broken_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#img-broken_svg__a"})),React.createElement("g",{mask:"url(#img-broken_svg__b)"},React.createElement("path",{style:{fill:"#f3f3fa"},opacity:.6,d:"M520.82 276.411c.7 7.103 1.058 14.305 1.058 21.589 0 122.04-100.54 221-224.51 221-99.159 0-183.328-63.313-213.047-151.107h-8.426c-3.4 0-6.17-2.76-6.17-6.16A6.168 6.168 0 0 1 73.608 356H84c7.18 0 13-5.82 13-13v-1c0-7.18-5.82-13-13-13h-8.95l-.023-.161H52.855c-5.68 0-10.28-4.6-10.28-10.28s4.6-10.28 10.28-10.28h20.241A221.042 221.042 0 0 1 72.858 298c0-32.629 7.187-63.608 20.086-91.486H57c-15.46 0-28-12.541-28-28.001v-1.56c0-14.913 11.67-27.11 26.373-27.953H182c5.52 0 10-4.48 10-10s-4.48-10-10-10h-29.294l.732-.605h-14.59c-10.49 0-19-8.51-19-19v-1.06c0-10.49 8.51-19 19-19h84.392C246.448 81.345 271.393 77 297.368 77c51.023 0 98.077 16.763 135.787 45H418c-7.18 0-13 5.82-13 13v1c0 7.18 5.82 13 13 13h45.166a222.478 222.478 0 0 1 23.253 29.763h21.461c7.73 0 14 6.27 14 14v.78c0 6.387-4.281 11.777-10.128 13.457H492c-8.84 0-16 7.16-16 16v5c0 8.84 7.16 16 16 16h67.901c6.952 1.741 12.097 8.028 12.097 15.521v.89c0 8.84-7.16 16-16 16z"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__c)",d:"M147.977 187.468c-14.64 0-26.51 11.87-26.51 26.5h-5.34c-6.73 0-12.19 5.93-12.19 13.25s5.46 13.25 12.19 13.25h65.65c6.74 0 12.19-5.93 12.19-13.25s-5.45-13.25-12.19-13.25h-7.31c0-14.63-11.86-26.5-26.49-26.5z"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__d)",d:"M313.088 148.128c0 5.25 3.91 9.5 8.74 9.5h47.07c4.83 0 8.74-4.25 8.74-9.5s-3.91-9.5-8.74-9.5h-5.24c0-10.5-8.51-19-19-19s-19 8.5-19 19h-3.83c-4.83 0-8.74 4.25-8.74 9.5z"}),React.createElement("path",{style:{fill:"#e7eaf0"},d:"M508 453.5c0 11.036-19.12 20.438-45.869 23.988-6.38 1.885-13.556 3.663-21.438 5.315A16.82 16.82 0 0 1 441 486c0 24.3-52.84 44-118 44-58.623 0-107.274-15.946-116.445-36.841C128.328 487.215 73 472.59 73 455.5c0-22.36 94.71-40.5 211.5-40.5 61.363 0 116.631 5.008 155.269 13.004C477.563 428.253 508 439.575 508 453.5z"}),React.createElement("g",{fillRule:"evenodd"},React.createElement("path",{fill:"url(#img-broken_svg__e)",d:"M356 62c-.12-1.36-.23-2.78-.31-4.26-.09-1.23-.16-2.63-.22-4.17-.06-1.55-.09-3.08-.09-4.6V38.66l9.74-.13h1.19c.42 0 .79-.02 1.13-.06.41 0 .81-.02 1.18-.06a5.374 5.374 0 0 0 2.44-1.95c.63-.88.94-1.9.94-3.05l-.13-.8-.24-.99c-.13-.37-.23-.73-.32-1.05l-1.06-2.1c.21-.74.31-1.44.31-2.1 0-1.61-.45-3.03-1.37-4.26-.92-1.23-2.09-2.1-3.5-2.6l-7.88-15.25a7.22 7.22 0 0 0-2.65-3.09C353.97.39 352.63 0 351.13 0c-1.71 0-3.11.51-4.19 1.54-1.08 1.03-2.02 2.27-2.82 3.71h-.06l-9.81 17.97c-.67.58-1.22 1.26-1.65 2.04-.45.78-.71 1.62-.79 2.53l-1.56 3.58c-.08.21-.14.41-.19.62 0 0-.06.43-.06.68 0 1.44.46 2.68 1.37 3.74a6.535 6.535 0 0 0 3.44 2.06l7.06.37c.34.58.76 1.03 1.28 1.36.53.33 1.14.5 1.85.5.88 0 1.67-.31 2.38-.93v9.45c0 2.71-.03 4.89-.07 6.51-.04 1.63-.08 2.92-.12 3.86L347 62h9z",transform:"translate(92 370)"}),React.createElement("path",{fill:"url(#img-broken_svg__f)",d:"M385 60.7c.88 0 1.67-.31 2.38-.93v9.45c0 2.71-.03 4.89-.07 6.51-.04 1.63-.08 2.92-.12 3.86L387 82h9c-.12-1.36-.23-2.78-.31-4.26-.09-1.23-.16-2.63-.22-4.17-.06-1.55-.09-3.08-.09-4.6V58.66l9.74-.13h1.19c.42 0 .79-.02 1.13-.06.41 0 .81-.02 1.18-.06a5.374 5.374 0 0 0 2.44-1.95c.63-.88.94-1.9.94-3.05l-.13-.8-.24-.99c-.13-.37-.23-.73-.32-1.05l-1.06-2.1c.21-.74.31-1.44.31-2.1 0-1.61-.45-3.03-1.37-4.26-.92-1.23-2.09-2.1-3.5-2.6l-7.88-15.25a7.22 7.22 0 0 0-2.65-3.09c-1.19-.78-2.53-1.17-4.03-1.17-1.71 0-3.11.51-4.19 1.54-1.08 1.03-2.02 2.27-2.82 3.71h-.06l-9.81 17.97c-.67.58-1.22 1.26-1.65 2.04-.45.78-.71 1.62-.79 2.53l-1.56 3.58c-.08.21-.14.41-.19.62 0 0-.06.43-.06.68 0 1.44.46 2.68 1.37 3.74a6.535 6.535 0 0 0 3.44 2.06l7.06.37c.34.58.76 1.03 1.28 1.36.53.33 1.14.5 1.85.5z",transform:"translate(92 370)"}),React.createElement("path",{fill:"url(#img-broken_svg__g)",d:"M35.34 1.66C33.67.55 31.78 0 29.68 0c-2.4 0-4.36.73-5.89 2.19-1.52 1.46-2.83 3.21-3.95 5.26h-.09L5.97 32.96c-.94.81-1.71 1.78-2.32 2.89a8.845 8.845 0 0 0-1.1 3.59l-2.2 5.09c-.11.29-.2.58-.26.87 0 0-.09.62-.09.97 0 2.04.64 3.81 1.93 5.3a9 9 0 0 0 4.83 2.93l9.92.53c.47.82 1.07 1.46 1.8 1.93s1.6.7 2.59.7c1.23 0 2.34-.44 3.34-1.32v13.41c0 3.86-.03 6.95-.09 9.25-.06 2.31-.12 4.14-.18 5.49L23.88 88h12.64c-.17-1.93-.32-3.94-.44-6.05-.11-1.75-.21-3.73-.3-5.92s-.13-4.36-.13-6.53V54.87l13.69-.18h1.67c.59 0 1.11-.02 1.58-.09.59 0 1.14-.02 1.67-.08a7.599 7.599 0 0 0 3.42-2.77c.88-1.25 1.32-2.7 1.32-4.34l-.18-1.13-.35-1.4c-.17-.53-.32-1.03-.44-1.5l-1.49-2.97c.29-1.06.44-2.05.44-2.98 0-2.28-.64-4.3-1.93-6.05s-2.93-2.98-4.92-3.69L39.07 6.05c-.82-1.82-2.07-3.28-3.73-4.39z",transform:"translate(92 370)"})),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__h)",opacity:.5,d:"M195.17 339.008 336 259.118l-180.79-56.11L3 241.048l192.17 97.96z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__i)",d:"m120.19 238.468 16.76-67-23.23-50.7L147 87.008l-137.81.8A9.242 9.242 0 0 0 0 97.058v132.16c0 5.12 4.15 9.25 9.26 9.25l103.61 4.54 7.32-4.54z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__j)",d:"M0 233.728c0 5.13 4.13 9.28 9.22 9.28h103.19l17.59-70.83-24.95-52.65L130 93.008l-120.85.8c-5.05.04-9.15 4.18-9.15 9.28v130.64z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__k)",d:"M129 177.408s-39.15 25.41-39.87 25.47c-15.59-13.61-41.17-39.55-41.17-39.55-2.95-3.01-8.11-3.11-11.19-.2L0 214.158v18.8c0 5.05 3.11 10.05 10.1 10.05h102.84l10.05-40.81 6.01-24.79z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__l)",d:"m161.114 121.588 10.21 50.9-39.15 72.66 77.97 21.2c5.34 2.12 11.32-1.05 12.51-6.63l36.14-134.09c1.03-4.82-1.95-9.58-6.76-10.81l-53.81-13.81-37.11 20.58z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__m)",d:"m153.53 125.233 10.21 50.89-37.74 67.36 77.98 21.21c5.33 2.12 11.31-1.04 12.5-6.63l34.73-128.8c1.03-4.82-1.96-9.58-6.76-10.81l-53.81-13.81-37.11 20.59z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__n)",d:"M181.344 174.368c-2-3.27-6.23-4.33-9.52-2.39l-8.09 4.16-37.65 67.37s67.22 18.7 75.12 20.47c7.91 1.76 13.7.54 14.89-5.08l3.37-11.51-38.12-73.02z",transform:"translate(180 194.992)"}),React.createElement("path",{style:{fill:"#fff"},d:"M223.104 151.697c0-9.32-7.57-16.88-16.9-16.88-9.33 0-16.89 7.56-16.89 16.88s7.56 16.88 16.89 16.88c9.33 0 16.9-7.56 16.9-16.88z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__o)",d:"m50.921 37.823 12.386-6.041 11.209 22.982-7.452-32.637-12.592 6.142L42.197 6.864l8.724 30.959z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__p)",d:"m217.598 48.895 17.888 17.184-30.945 23.817s47.929-22.37 46.996-23.709c-.925-1.335-18.57-16.992-18.57-16.992l24.134-25.537-39.503 25.236z",transform:"translate(180 194.992)"})),React.createElement("defs",null,React.createElement("linearGradient",{id:"img-broken_svg__i",x1:"178.579%",y1:"114.41%",x2:"-67.6%",y2:"-21.639%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__p",x1:198.923,y1:151.68,x2:253.588,y2:43.245,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__d",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__e",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__f",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__g",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__h",x1:"50%",y1:"30.387%",x2:"-31.215%",y2:"-60.228%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E8EBF1",stopOpacity:.24}),React.createElement("stop",{offset:1,stopColor:"#A2ABB9"})),React.createElement("linearGradient",{id:"img-broken_svg__c",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__j",x1:"137.408%",y1:"115.518%",x2:"64.225%",y2:"-9.666%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__k",x1:"93.55%",y1:"132.782%",x2:"29.55%",y2:"19.901%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__l",x1:"178.579%",y1:"114.41%",x2:"-67.6%",y2:"-21.639%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__m",x1:"113.805%",y1:"123.201%",x2:"30.832%",y2:"0%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__n",x1:"110.007%",y1:"128.49%",x2:"50%",y2:"0%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__o",x1:92.534,y1:94.384,x2:55.523,y2:19.166,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("path",{id:"img-broken_svg__a",d:"M0 0h600v600H0z"})));var ye="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAwIiBoZWlnaHQ9IjYwMCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTAgMGg2MDB2NjAwSDB6Ii8+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PGcgbWFzaz0idXJsKCNiKSI+PHBhdGggc3R5bGU9ImZpbGw6I2YzZjNmYSIgb3BhY2l0eT0iLjYiIGQ9Ik01MjAuODIgMjc2LjQxMWMuNyA3LjEwMyAxLjA1OCAxNC4zMDUgMS4wNTggMjEuNTg5IDAgMTIyLjA0LTEwMC41NCAyMjEtMjI0LjUxIDIyMS05OS4xNTkgMC0xODMuMzI4LTYzLjMxMy0yMTMuMDQ3LTE1MS4xMDdoLTguNDI2Yy0zLjQgMC02LjE3LTIuNzYtNi4xNy02LjE2QTYuMTY4IDYuMTY4IDAgMCAxIDczLjYwOCAzNTZIODRjNy4xOCAwIDEzLTUuODIgMTMtMTN2LTFjMC03LjE4LTUuODItMTMtMTMtMTNoLTguOTVsLS4wMjMtLjE2MUg1Mi44NTVjLTUuNjggMC0xMC4yOC00LjYtMTAuMjgtMTAuMjhzNC42LTEwLjI4IDEwLjI4LTEwLjI4aDIwLjI0MUEyMjEuMDQyIDIyMS4wNDIgMCAwIDEgNzIuODU4IDI5OGMwLTMyLjYyOSA3LjE4Ny02My42MDggMjAuMDg2LTkxLjQ4Nkg1N2MtMTUuNDYgMC0yOC0xMi41NDEtMjgtMjguMDAxdi0xLjU2YzAtMTQuOTEzIDExLjY3LTI3LjExIDI2LjM3My0yNy45NTNIMTgyYzUuNTIgMCAxMC00LjQ4IDEwLTEwcy00LjQ4LTEwLTEwLTEwaC0yOS4yOTRsLjczMi0uNjA1aC0xNC41OWMtMTAuNDkgMC0xOS04LjUxLTE5LTE5di0xLjA2YzAtMTAuNDkgOC41MS0xOSAxOS0xOWg4NC4zOTJDMjQ2LjQ0OCA4MS4zNDUgMjcxLjM5MyA3NyAyOTcuMzY4IDc3YzUxLjAyMyAwIDk4LjA3NyAxNi43NjMgMTM1Ljc4NyA0NUg0MThjLTcuMTggMC0xMyA1LjgyLTEzIDEzdjFjMCA3LjE4IDUuODIgMTMgMTMgMTNoNDUuMTY2YTIyMi40NzggMjIyLjQ3OCAwIDAgMSAyMy4yNTMgMjkuNzYzaDIxLjQ2MWM3LjczIDAgMTQgNi4yNyAxNCAxNHYuNzhjMCA2LjM4Ny00LjI4MSAxMS43NzctMTAuMTI4IDEzLjQ1N0g0OTJjLTguODQgMC0xNiA3LjE2LTE2IDE2djVjMCA4Ljg0IDcuMTYgMTYgMTYgMTZoNjcuOTAxYzYuOTUyIDEuNzQxIDEyLjA5NyA4LjAyOCAxMi4wOTcgMTUuNTIxdi44OWMwIDguODQtNy4xNiAxNi0xNiAxNnoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjYykiIGQ9Ik0xNDcuOTc3IDE4Ny40NjhjLTE0LjY0IDAtMjYuNTEgMTEuODctMjYuNTEgMjYuNWgtNS4zNGMtNi43MyAwLTEyLjE5IDUuOTMtMTIuMTkgMTMuMjVzNS40NiAxMy4yNSAxMi4xOSAxMy4yNWg2NS42NWM2Ljc0IDAgMTIuMTktNS45MyAxMi4xOS0xMy4yNXMtNS40NS0xMy4yNS0xMi4xOS0xMy4yNWgtNy4zMWMwLTE0LjYzLTExLjg2LTI2LjUtMjYuNDktMjYuNXoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjZCkiIGQ9Ik0zMTMuMDg4IDE0OC4xMjhjMCA1LjI1IDMuOTEgOS41IDguNzQgOS41aDQ3LjA3YzQuODMgMCA4Ljc0LTQuMjUgOC43NC05LjVzLTMuOTEtOS41LTguNzQtOS41aC01LjI0YzAtMTAuNS04LjUxLTE5LTE5LTE5cy0xOSA4LjUtMTkgMTloLTMuODNjLTQuODMgMC04Ljc0IDQuMjUtOC43NCA5LjV6Ii8+PHBhdGggc3R5bGU9ImZpbGw6I2U3ZWFmMCIgZD0iTTUwOCA0NTMuNWMwIDExLjAzNi0xOS4xMiAyMC40MzgtNDUuODY5IDIzLjk4OC02LjM4IDEuODg1LTEzLjU1NiAzLjY2My0yMS40MzggNS4zMTVBMTYuODIgMTYuODIgMCAwIDEgNDQxIDQ4NmMwIDI0LjMtNTIuODQgNDQtMTE4IDQ0LTU4LjYyMyAwLTEwNy4yNzQtMTUuOTQ2LTExNi40NDUtMzYuODQxQzEyOC4zMjggNDg3LjIxNSA3MyA0NzIuNTkgNzMgNDU1LjVjMC0yMi4zNiA5NC43MS00MC41IDIxMS41LTQwLjUgNjEuMzYzIDAgMTE2LjYzMSA1LjAwOCAxNTUuMjY5IDEzLjAwNEM0NzcuNTYzIDQyOC4yNTMgNTA4IDQzOS41NzUgNTA4IDQ1My41eiIvPjxnIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZmlsbD0idXJsKCNlKSIgZD0iTTM1NiA2MmMtLjEyLTEuMzYtLjIzLTIuNzgtLjMxLTQuMjYtLjA5LTEuMjMtLjE2LTIuNjMtLjIyLTQuMTctLjA2LTEuNTUtLjA5LTMuMDgtLjA5LTQuNlYzOC42Nmw5Ljc0LS4xM2gxLjE5Yy40MiAwIC43OS0uMDIgMS4xMy0uMDYuNDEgMCAuODEtLjAyIDEuMTgtLjA2YTUuMzc0IDUuMzc0IDAgMCAwIDIuNDQtMS45NWMuNjMtLjg4Ljk0LTEuOS45NC0zLjA1bC0uMTMtLjgtLjI0LS45OWMtLjEzLS4zNy0uMjMtLjczLS4zMi0xLjA1bC0xLjA2LTIuMWMuMjEtLjc0LjMxLTEuNDQuMzEtMi4xIDAtMS42MS0uNDUtMy4wMy0xLjM3LTQuMjYtLjkyLTEuMjMtMi4wOS0yLjEtMy41LTIuNmwtNy44OC0xNS4yNWE3LjIyIDcuMjIgMCAwIDAtMi42NS0zLjA5QzM1My45Ny4zOSAzNTIuNjMgMCAzNTEuMTMgMGMtMS43MSAwLTMuMTEuNTEtNC4xOSAxLjU0LTEuMDggMS4wMy0yLjAyIDIuMjctMi44MiAzLjcxaC0uMDZsLTkuODEgMTcuOTdjLS42Ny41OC0xLjIyIDEuMjYtMS42NSAyLjA0LS40NS43OC0uNzEgMS42Mi0uNzkgMi41M2wtMS41NiAzLjU4Yy0uMDguMjEtLjE0LjQxLS4xOS42MiAwIDAtLjA2LjQzLS4wNi42OCAwIDEuNDQuNDYgMi42OCAxLjM3IDMuNzRhNi41MzUgNi41MzUgMCAwIDAgMy40NCAyLjA2bDcuMDYuMzdjLjM0LjU4Ljc2IDEuMDMgMS4yOCAxLjM2LjUzLjMzIDEuMTQuNSAxLjg1LjUuODggMCAxLjY3LS4zMSAyLjM4LS45M3Y5LjQ1YzAgMi43MS0uMDMgNC44OS0uMDcgNi41MS0uMDQgMS42My0uMDggMi45Mi0uMTIgMy44NkwzNDcgNjJoOXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkyIDM3MCkiLz48cGF0aCBmaWxsPSJ1cmwoI2YpIiBkPSJNMzg1IDYwLjdjLjg4IDAgMS42Ny0uMzEgMi4zOC0uOTN2OS40NWMwIDIuNzEtLjAzIDQuODktLjA3IDYuNTEtLjA0IDEuNjMtLjA4IDIuOTItLjEyIDMuODZMMzg3IDgyaDljLS4xMi0xLjM2LS4yMy0yLjc4LS4zMS00LjI2LS4wOS0xLjIzLS4xNi0yLjYzLS4yMi00LjE3LS4wNi0xLjU1LS4wOS0zLjA4LS4wOS00LjZWNTguNjZsOS43NC0uMTNoMS4xOWMuNDIgMCAuNzktLjAyIDEuMTMtLjA2LjQxIDAgLjgxLS4wMiAxLjE4LS4wNmE1LjM3NCA1LjM3NCAwIDAgMCAyLjQ0LTEuOTVjLjYzLS44OC45NC0xLjkuOTQtMy4wNWwtLjEzLS44LS4yNC0uOTljLS4xMy0uMzctLjIzLS43My0uMzItMS4wNWwtMS4wNi0yLjFjLjIxLS43NC4zMS0xLjQ0LjMxLTIuMSAwLTEuNjEtLjQ1LTMuMDMtMS4zNy00LjI2LS45Mi0xLjIzLTIuMDktMi4xLTMuNS0yLjZsLTcuODgtMTUuMjVhNy4yMiA3LjIyIDAgMCAwLTIuNjUtMy4wOWMtMS4xOS0uNzgtMi41My0xLjE3LTQuMDMtMS4xNy0xLjcxIDAtMy4xMS41MS00LjE5IDEuNTQtMS4wOCAxLjAzLTIuMDIgMi4yNy0yLjgyIDMuNzFoLS4wNmwtOS44MSAxNy45N2MtLjY3LjU4LTEuMjIgMS4yNi0xLjY1IDIuMDQtLjQ1Ljc4LS43MSAxLjYyLS43OSAyLjUzbC0xLjU2IDMuNThjLS4wOC4yMS0uMTQuNDEtLjE5LjYyIDAgMC0uMDYuNDMtLjA2LjY4IDAgMS40NC40NiAyLjY4IDEuMzcgMy43NGE2LjUzNSA2LjUzNSAwIDAgMCAzLjQ0IDIuMDZsNy4wNi4zN2MuMzQuNTguNzYgMS4wMyAxLjI4IDEuMzYuNTMuMzMgMS4xNC41IDEuODUuNXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkyIDM3MCkiLz48cGF0aCBmaWxsPSJ1cmwoI2cpIiBkPSJNMzUuMzQgMS42NkMzMy42Ny41NSAzMS43OCAwIDI5LjY4IDBjLTIuNCAwLTQuMzYuNzMtNS44OSAyLjE5LTEuNTIgMS40Ni0yLjgzIDMuMjEtMy45NSA1LjI2aC0uMDlMNS45NyAzMi45NmMtLjk0LjgxLTEuNzEgMS43OC0yLjMyIDIuODlhOC44NDUgOC44NDUgMCAwIDAtMS4xIDMuNTlsLTIuMiA1LjA5Yy0uMTEuMjktLjIuNTgtLjI2Ljg3IDAgMC0uMDkuNjItLjA5Ljk3IDAgMi4wNC42NCAzLjgxIDEuOTMgNS4zYTkgOSAwIDAgMCA0LjgzIDIuOTNsOS45Mi41M2MuNDcuODIgMS4wNyAxLjQ2IDEuOCAxLjkzczEuNi43IDIuNTkuN2MxLjIzIDAgMi4zNC0uNDQgMy4zNC0xLjMydjEzLjQxYzAgMy44Ni0uMDMgNi45NS0uMDkgOS4yNS0uMDYgMi4zMS0uMTIgNC4xNC0uMTggNS40OUwyMy44OCA4OGgxMi42NGMtLjE3LTEuOTMtLjMyLTMuOTQtLjQ0LTYuMDUtLjExLTEuNzUtLjIxLTMuNzMtLjMtNS45MnMtLjEzLTQuMzYtLjEzLTYuNTNWNTQuODdsMTMuNjktLjE4aDEuNjdjLjU5IDAgMS4xMS0uMDIgMS41OC0uMDkuNTkgMCAxLjE0LS4wMiAxLjY3LS4wOGE3LjU5OSA3LjU5OSAwIDAgMCAzLjQyLTIuNzdjLjg4LTEuMjUgMS4zMi0yLjcgMS4zMi00LjM0bC0uMTgtMS4xMy0uMzUtMS40Yy0uMTctLjUzLS4zMi0xLjAzLS40NC0xLjVsLTEuNDktMi45N2MuMjktMS4wNi40NC0yLjA1LjQ0LTIuOTggMC0yLjI4LS42NC00LjMtMS45My02LjA1cy0yLjkzLTIuOTgtNC45Mi0zLjY5TDM5LjA3IDYuMDVjLS44Mi0xLjgyLTIuMDctMy4yOC0zLjczLTQuMzl6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MiAzNzApIi8+PC9nPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNoKSIgb3BhY2l0eT0iLjUiIGQ9Ik0xOTUuMTcgMzM5LjAwOCAzMzYgMjU5LjExOGwtMTgwLjc5LTU2LjExTDMgMjQxLjA0OGwxOTIuMTcgOTcuOTZ6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjaSkiIGQ9Im0xMjAuMTkgMjM4LjQ2OCAxNi43Ni02Ny0yMy4yMy01MC43TDE0NyA4Ny4wMDhsLTEzNy44MS44QTkuMjQyIDkuMjQyIDAgMCAwIDAgOTcuMDU4djEzMi4xNmMwIDUuMTIgNC4xNSA5LjI1IDkuMjYgOS4yNWwxMDMuNjEgNC41NCA3LjMyLTQuNTR6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjaikiIGQ9Ik0wIDIzMy43MjhjMCA1LjEzIDQuMTMgOS4yOCA5LjIyIDkuMjhoMTAzLjE5bDE3LjU5LTcwLjgzLTI0Ljk1LTUyLjY1TDEzMCA5My4wMDhsLTEyMC44NS44Yy01LjA1LjA0LTkuMTUgNC4xOC05LjE1IDkuMjh2MTMwLjY0eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSJ1cmwoI2spIiBkPSJNMTI5IDE3Ny40MDhzLTM5LjE1IDI1LjQxLTM5Ljg3IDI1LjQ3Yy0xNS41OS0xMy42MS00MS4xNy0zOS41NS00MS4xNy0zOS41NS0yLjk1LTMuMDEtOC4xMS0zLjExLTExLjE5LS4yTDAgMjE0LjE1OHYxOC44YzAgNS4wNSAzLjExIDEwLjA1IDEwLjEgMTAuMDVoMTAyLjg0bDEwLjA1LTQwLjgxIDYuMDEtMjQuNzl6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjbCkiIGQ9Im0xNjEuMTE0IDEyMS41ODggMTAuMjEgNTAuOS0zOS4xNSA3Mi42NiA3Ny45NyAyMS4yYzUuMzQgMi4xMiAxMS4zMi0xLjA1IDEyLjUxLTYuNjNsMzYuMTQtMTM0LjA5YzEuMDMtNC44Mi0xLjk1LTkuNTgtNi43Ni0xMC44MWwtNTMuODEtMTMuODEtMzcuMTEgMjAuNTh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjbSkiIGQ9Im0xNTMuNTMgMTI1LjIzMyAxMC4yMSA1MC44OS0zNy43NCA2Ny4zNiA3Ny45OCAyMS4yMWM1LjMzIDIuMTIgMTEuMzEtMS4wNCAxMi41LTYuNjNsMzQuNzMtMTI4LjhjMS4wMy00LjgyLTEuOTYtOS41OC02Ljc2LTEwLjgxbC01My44MS0xMy44MS0zNy4xMSAyMC41OXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNuKSIgZD0iTTE4MS4zNDQgMTc0LjM2OGMtMi0zLjI3LTYuMjMtNC4zMy05LjUyLTIuMzlsLTguMDkgNC4xNi0zNy42NSA2Ny4zN3M2Ny4yMiAxOC43IDc1LjEyIDIwLjQ3YzcuOTEgMS43NiAxMy43LjU0IDE0Ljg5LTUuMDhsMy4zNy0xMS41MS0zOC4xMi03My4wMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIHN0eWxlPSJmaWxsOiNmZmYiIGQ9Ik0yMjMuMTA0IDE1MS42OTdjMC05LjMyLTcuNTctMTYuODgtMTYuOS0xNi44OC05LjMzIDAtMTYuODkgNy41Ni0xNi44OSAxNi44OHM3LjU2IDE2Ljg4IDE2Ljg5IDE2Ljg4YzkuMzMgMCAxNi45LTcuNTYgMTYuOS0xNi44OHoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNvKSIgZD0ibTUwLjkyMSAzNy44MjMgMTIuMzg2LTYuMDQxIDExLjIwOSAyMi45ODItNy40NTItMzIuNjM3LTEyLjU5MiA2LjE0Mkw0Mi4xOTcgNi44NjRsOC43MjQgMzAuOTU5eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSJ1cmwoI3ApIiBkPSJtMjE3LjU5OCA0OC44OTUgMTcuODg4IDE3LjE4NC0zMC45NDUgMjMuODE3czQ3LjkyOS0yMi4zNyA0Ni45OTYtMjMuNzA5Yy0uOTI1LTEuMzM1LTE4LjU3LTE2Ljk5Mi0xOC41Ny0xNi45OTJsMjQuMTM0LTI1LjUzNy0zOS41MDMgMjUuMjM2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PC9nPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iaSIgeDE9IjE3OC41NzklIiB5MT0iMTE0LjQxJSIgeDI9Ii02Ny42JSIgeTI9Ii0yMS42MzklIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjQTJBQkI5Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTdFQUYwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InAiIHgxPSIxOTguOTIzIiB5MT0iMTUxLjY4IiB4Mj0iMjUzLjU4OCIgeTI9IjQzLjI0NSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJkIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDE9IjE0NC41ODglIiB5MT0iOTguOCUiIHgyPSIyOS41MTYlIiB5Mj0iMTAwJSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0UwRTVFRiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTBFNUVGIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImYiIHgxPSIxNDQuNTg4JSIgeTE9Ijk4LjglIiB4Mj0iMjkuNTE2JSIgeTI9IjEwMCUiIGdyYWRpZW50VW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNFMEU1RUYiIHN0b3Atb3BhY2l0eT0iMCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UwRTVFRiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjUwJSIgeTE9IjMwLjM4NyUiIHgyPSItMzEuMjE1JSIgeTI9Ii02MC4yMjglIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRThFQkYxIiBzdG9wLW9wYWNpdHk9Ii4yNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJjIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjEzNy40MDglIiB5MT0iMTE1LjUxOCUiIHgyPSI2NC4yMjUlIiB5Mj0iLTkuNjY2JSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJrIiB4MT0iOTMuNTUlIiB5MT0iMTMyLjc4MiUiIHgyPSIyOS41NSUiIHkyPSIxOS45MDElIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjQTJBQkI5Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTdFQUYwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIxNzguNTc5JSIgeTE9IjExNC40MSUiIHgyPSItNjcuNiUiIHkyPSItMjEuNjM5JSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJtIiB4MT0iMTEzLjgwNSUiIHkxPSIxMjMuMjAxJSIgeDI9IjMwLjgzMiUiIHkyPSIwJSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJuIiB4MT0iMTEwLjAwNyUiIHkxPSIxMjguNDklIiB4Mj0iNTAlIiB5Mj0iMCUiIGdyYWRpZW50VW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNBMkFCQjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFN0VBRjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibyIgeDE9IjkyLjUzNCIgeTE9Ijk0LjM4NCIgeDI9IjU1LjUyMyIgeTI9IjE5LjE2NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PHBhdGggaWQ9ImEiIGQ9Ik0wIDBoNjAwdjYwMEgweiIvPjwvZGVmcz48L3N2Zz4=",ne=function(pe){var Pe=pe.url,kn=Pe===void 0?"":Pe,vt=pe.imgRef,Nn=pe.canvasRef,xn=pe.activeCanvasRef,wn=pe.clientSize,Rn=pe.imagePos,vr=pe.onLoad,pr=(0,g.useState)(!1),Mr=s()(pr,2),Ln=Mr[0],ta=Mr[1],Ir=(0,g.useState)(!0),lr=s()(Ir,2),Ar=lr[0],Or=lr[1],sa=function(or){Or(!1),vr(or)},Kn=function(or){or.stopPropagation(),vt!=null&&vt.current&&(vt.current.src=kn,Or(!0),ta(!1))},Yr=function(or){var ur=or.target;ur.src=ye,Or(!1),ta(!0)},na=kn.indexOf("aliyuncs.com")>-1?"anonymous":void 0;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("img",{ref:vt,src:kn,alt:"pic",crossOrigin:na,style:{width:wn.width,height:wn.height},onLoad:sa,onError:Yr}),(0,x.jsx)("canvas",{ref:Nn,draggable:!1,onContextMenu:function(or){return or.preventDefault()},className:"dds-annotator-imageview-canvas"}),(0,x.jsx)("canvas",{ref:xn,draggable:!1,onContextMenu:function(or){return or.preventDefault()},className:"dds-annotator-imageview-canvas"}),Ln&&(0,x.jsxs)("div",{className:"dds-annotator-imageview-reload-cover",onClick:Kn,onDoubleClick:Kn,style:{left:Rn.current.x,top:Rn.current.y,width:wn.width,height:wn.height},children:[(0,x.jsx)("img",{src:ye,alt:"error-pic"}),(0,x.jsx)("div",{className:"content-box",children:(0,x.jsx)(C.ZP,{ghost:!0,type:"primary",className:"reload-trigger",shape:"circle",size:"small",icon:(0,x.jsx)(Qe.Z,{})})})]}),Ar&&(0,x.jsx)("div",{className:"dds-annotator-imageview-reload-cover",style:{backgroundColor:"#f6f6f6",left:Rn.current.x,top:Rn.current.y,width:wn.width,height:wn.height},children:(0,x.jsx)(pt.Z,{className:"reload-trigger"})})]})},H=e(39875),R=e(32814),P=e(45060),ae=e(23707),Q=e(17410),ie=(0,g.memo)(function($e){var pe=$e.AIAnnotation,Pe=$e.modelOptions,kn=$e.selectedModel,vt=$e.onSelectModel,Nn=$e.onCloseModal,xn=(0,z.bU)(),wn=xn.localeText,Rn=Pe.length*220+(Pe.length+1)*20,vr=(0,g.useMemo)(function(){return!!(pe&&Pe&&Pe.length>1&&!kn)},[pe,Pe,kn]);return(0,x.jsx)(A,{children:(0,x.jsx)(n.Z,{open:vr,title:wn("DDSAnnotator.smart.modelSelectModal.title"),width:Rn,onCancel:Nn,footer:null,centered:!0,destroyOnClose:!0,children:(0,x.jsx)("div",{className:"dds-annotator-model-selector-modal",children:Pe.map(function(pr,Mr){var Ln=Q.TR[pr];return Ln?(0,x.jsxs)("div",{className:c()("dds-annotator-model-selector-modal-option",{"dds-annotator-model-selector-modal-option-hightlight":Ln.hightlight}),onClick:function(){return vt(pr)},children:[(0,x.jsx)(H.Z,{className:"dds-annotator-model-selector-modal-option-icon",component:Ln.icon}),(0,x.jsx)("div",{className:"dds-annotator-model-selector-modal-option-name",children:wn(Ln.name)}),(0,x.jsx)("div",{className:"dds-annotator-model-selector-modal-option-description",children:wn(Ln.description)}),Ln.hightlight&&(0,x.jsx)(R.Z,{color:"geekblue",className:"dds-annotator-model-selector-modal-option-tag",children:"New"})]},Mr):(0,x.jsx)(x.Fragment,{})})})})})}),me=ie,je=e(23605),Ee=e(2556),Me=e(82968),We=e(37617),re=e(28506),se=e(18695),J=Object.defineProperty,ce=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,Ne=($e,pe,Pe)=>pe in $e?J($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Oe=($e,pe)=>{for(var Pe in pe||(pe={}))xe.call(pe,Pe)&&Ne($e,Pe,pe[Pe]);if(ce)for(var Pe of ce(pe))ue.call(pe,Pe)&&Ne($e,Pe,pe[Pe]);return $e};const we=$e=>g.createElement("svg",Oe({width:10,height:10,fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.464 5.65A1 1 0 0 0 2.88 7.064l2.12-2.12 2.122 2.12A1 1 0 0 0 8.535 5.65L5.713 2.828a1 1 0 0 0-1.42-.006L1.464 5.65Z",fill:"#fff"}));var Re="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjQ2NCA1LjY1QTEgMSAwIDAgMCAyLjg4IDcuMDY0bDIuMTItMi4xMiAyLjEyMiAyLjEyQTEgMSAwIDAgMCA4LjUzNSA1LjY1TDUuNzEzIDIuODI4YTEgMSAwIDAgMC0xLjQyLS4wMDZMMS40NjQgNS42NVoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",st=Object.defineProperty,tt=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Be=($e,pe,Pe)=>pe in $e?st($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,it=($e,pe)=>{for(var Pe in pe||(pe={}))Ye.call(pe,Pe)&&Be($e,Pe,pe[Pe]);if(tt)for(var Pe of tt(pe))ke.call(pe,Pe)&&Be($e,Pe,pe[Pe]);return $e};const Ve=$e=>g.createElement("svg",it({viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#layer_svg__a)"},g.createElement("path",{d:"m.57 6.625 5.805 3.48a2.182 2.182 0 0 0 2.25 0l5.805-3.48a1.163 1.163 0 0 0 0-1.995L8.625 1.144a2.18 2.18 0 0 0-2.25 0L.57 4.625a1.163 1.163 0 0 0 0 1.995v.005ZM7.34 2.75a.313.313 0 0 1 .32 0l4.789 2.875L7.66 8.5a.313.313 0 0 1-.322 0L2.551 5.625 7.34 2.75Z"}),g.createElement("path",{d:"M8.304 11.77a1.562 1.562 0 0 1-1.608 0L1.42 8.603a.937.937 0 0 0-.965 1.607l5.276 3.164a3.43 3.43 0 0 0 3.538 0l5.276-3.166a.937.937 0 1 0-.965-1.605l-5.276 3.165Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"layer_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h15v15H0z"}))));var It="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTUgMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJtLjU3IDYuNjI1IDUuODA1IDMuNDhhMi4xODIgMi4xODIgMCAwIDAgMi4yNSAwbDUuODA1LTMuNDhhMS4xNjMgMS4xNjMgMCAwIDAgMC0xLjk5NUw4LjYyNSAxLjE0NGEyLjE4IDIuMTggMCAwIDAtMi4yNSAwTC41NyA0LjYyNWExLjE2MyAxLjE2MyAwIDAgMCAwIDEuOTk1di4wMDVaTTcuMzQgMi43NWEuMzEzLjMxMyAwIDAgMSAuMzIgMGw0Ljc4OSAyLjg3NUw3LjY2IDguNWEuMzEzLjMxMyAwIDAgMS0uMzIyIDBMMi41NTEgNS42MjUgNy4zNCAyLjc1WiIvPjxwYXRoIGQ9Ik04LjMwNCAxMS43N2ExLjU2MiAxLjU2MiAwIDAgMS0xLjYwOCAwTDEuNDIgOC42MDNhLjkzNy45MzcgMCAwIDAtLjk2NSAxLjYwN2w1LjI3NiAzLjE2NGEzLjQzIDMuNDMgMCAwIDAgMy41MzggMGw1LjI3Ni0zLjE2NmEuOTM3LjkzNyAwIDEgMC0uOTY1LTEuNjA1bC01LjI3NiAzLjE2NVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE1djE1SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",_t=Object.defineProperty,wt=Object.getOwnPropertySymbols,jt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,yt=($e,pe,Pe)=>pe in $e?_t($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,ze=($e,pe)=>{for(var Pe in pe||(pe={}))jt.call(pe,Pe)&&yt($e,Pe,pe[Pe]);if(wt)for(var Pe of wt(pe))Yt.call(pe,Pe)&&yt($e,Pe,pe[Pe]);return $e};const nt=$e=>g.createElement("svg",ze({className:"palette_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},$e),g.createElement("path",{d:"M512 102.39c-226.202 0-409.6 183.367-409.6 409.6S285.798 921.62 512 921.62a408.556 408.556 0 0 0 156.672-31.2 68.332 68.332 0 0 0 22.16-111.402l-48.057-48.056a68.28 68.28 0 0 1 48.261-116.542l162.304-.04a68.26 68.26 0 0 0 68.27-68.26v-34.13c-.01-226.243-183.378-409.6-409.61-409.6zm341.33 443.73-162.304.03c-75.305 0-136.53 61.225-136.53 136.53 0 36.485 14.203 70.738 39.997 96.543l48.067 48.056a338.166 338.166 0 0 1-130.57 26.082c-188.201 0-341.33-153.14-341.33-341.371S323.799 170.65 512 170.65s341.33 153.098 341.33 341.33v34.14z",fill:"#fff"}),g.createElement("path",{d:"M443.73 307.19a68.27 68.27 0 1 0 136.54 0 68.27 68.27 0 1 0-136.54 0ZM300.503 555.254a68.198 68.198 0 0 1 93.225 24.996 68.3 68.3 0 0 1-24.934 93.266 68.352 68.352 0 0 1-93.297-24.996 68.321 68.321 0 0 1 25.006-93.266zM621.056 409.59a68.29 68.29 0 1 0 136.581 0 68.29 68.29 0 1 0-136.581 0ZM300.503 468.716a68.26 68.26 0 0 1-24.965-93.266 68.25 68.25 0 1 1 118.2 68.239 68.27 68.27 0 0 1-93.235 25.027z",fill:"#fff"}));var Et="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMTAyLjM5Yy0yMjYuMjAyIDAtNDA5LjYgMTgzLjM2Ny00MDkuNiA0MDkuNlMyODUuNzk4IDkyMS42MiA1MTIgOTIxLjYyYTQwOC41NTYgNDA4LjU1NiAwIDAgMCAxNTYuNjcyLTMxLjIgNjguMzMyIDY4LjMzMiAwIDAgMCAyMi4xNi0xMTEuNDAybC00OC4wNTctNDguMDU2YTY4LjI4IDY4LjI4IDAgMCAxIDQ4LjI2MS0xMTYuNTQybDE2Mi4zMDQtLjA0YTY4LjI2IDY4LjI2IDAgMCAwIDY4LjI3LTY4LjI2di0zNC4xM2MtLjAxLTIyNi4yNDMtMTgzLjM3OC00MDkuNi00MDkuNjEtNDA5LjZ6bTM0MS4zMyA0NDMuNzMtMTYyLjMwNC4wM2MtNzUuMzA1IDAtMTM2LjUzIDYxLjIyNS0xMzYuNTMgMTM2LjUzIDAgMzYuNDg1IDE0LjIwMyA3MC43MzggMzkuOTk3IDk2LjU0M2w0OC4wNjcgNDguMDU2YTMzOC4xNjYgMzM4LjE2NiAwIDAgMS0xMzAuNTcgMjYuMDgyYy0xODguMjAxIDAtMzQxLjMzLTE1My4xNC0zNDEuMzMtMzQxLjM3MVMzMjMuNzk5IDE3MC42NSA1MTIgMTcwLjY1czM0MS4zMyAxNTMuMDk4IDM0MS4zMyAzNDEuMzN2MzQuMTR6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQ0My43MyAzMDcuMTlhNjguMjcgNjguMjcgMCAxIDAgMTM2LjU0IDAgNjguMjcgNjguMjcgMCAxIDAtMTM2LjU0IDBaTTMwMC41MDMgNTU1LjI1NGE2OC4xOTggNjguMTk4IDAgMCAxIDkzLjIyNSAyNC45OTYgNjguMyA2OC4zIDAgMCAxLTI0LjkzNCA5My4yNjYgNjguMzUyIDY4LjM1MiAwIDAgMS05My4yOTctMjQuOTk2IDY4LjMyMSA2OC4zMjEgMCAwIDEgMjUuMDA2LTkzLjI2NnpNNjIxLjA1NiA0MDkuNTlhNjguMjkgNjguMjkgMCAxIDAgMTM2LjU4MSAwIDY4LjI5IDY4LjI5IDAgMSAwLTEzNi41ODEgMFpNMzAwLjUwMyA0NjguNzE2YTY4LjI2IDY4LjI2IDAgMCAxLTI0Ljk2NS05My4yNjYgNjguMjUgNjguMjUgMCAxIDEgMTE4LjIgNjguMjM5IDY4LjI3IDY4LjI3IDAgMCAxLTkzLjIzNSAyNS4wMjd6IiBmaWxsPSIjZmZmIi8+PC9zdmc+",lt=e(2657),Gt=e.n(lt),Rt,Ot=function($e){return $e.Tool="DDSAnnotator.shortcuts.tools",$e.GeneralAction="DDSAnnotator.shortcuts.general",$e.ViewAction="DDSAnnotator.shortcuts.viewControl",$e.AnnotationAction="DDSAnnotator.shortcuts.annotsControl",$e}({}),Ie=function($e){return $e[$e.RectangleTool=0]="RectangleTool",$e[$e.PolygonTool=1]="PolygonTool",$e[$e.SkeletonTool=2]="SkeletonTool",$e[$e.DragTool=3]="DragTool",$e[$e.MaskTool=4]="MaskTool",$e[$e.SmartAnnotation=5]="SmartAnnotation",$e[$e.Undo=6]="Undo",$e[$e.Redo=7]="Redo",$e[$e.RepeatPrevious=8]="RepeatPrevious",$e[$e.DeleteAll=9]="DeleteAll",$e[$e.NextImage=10]="NextImage",$e[$e.PreviousImage=11]="PreviousImage",$e[$e.Save=12]="Save",$e[$e.Accept=13]="Accept",$e[$e.Reject=14]="Reject",$e[$e.ZoomIn=15]="ZoomIn",$e[$e.ZoomOut=16]="ZoomOut",$e[$e.Reset=17]="Reset",$e[$e.HideCurrObject=18]="HideCurrObject",$e[$e.HideCurrCategory=19]="HideCurrCategory",$e[$e.HideAll=20]="HideAll",$e[$e.PanImage=21]="PanImage",$e[$e.DeleteCurrObject=22]="DeleteCurrObject",$e[$e.SaveCurrObject=23]="SaveCurrObject",$e[$e.CancelCurrObject=24]="CancelCurrObject",$e}({}),Se=(Rt={},Gt()(Rt,Ie.RectangleTool,{name:"RectangleTool",type:Ot.Tool,shortcut:["r"],descTextKey:"DDSAnnotator.shortcuts.tools.rectangle"}),Gt()(Rt,Ie.PolygonTool,{name:"PolygonTool",type:Ot.Tool,shortcut:["p"],descTextKey:"DDSAnnotator.shortcuts.tools.polygon"}),Gt()(Rt,Ie.SkeletonTool,{name:"SkeletonTool",type:Ot.Tool,shortcut:["s"],descTextKey:"DDSAnnotator.shortcuts.tools.skeleton"}),Gt()(Rt,Ie.MaskTool,{name:"MaskTool",type:Ot.Tool,shortcut:["m"],descTextKey:"DDSAnnotator.shortcuts.tools.mask"}),Gt()(Rt,Ie.DragTool,{name:"DragTool",type:Ot.Tool,shortcut:["d"],descTextKey:"DDSAnnotator.shortcuts.tools.drag"}),Gt()(Rt,Ie.SmartAnnotation,{name:"SmartAnnotation",type:Ot.GeneralAction,shortcut:["a"],descTextKey:"DDSAnnotator.shortcuts.general.smart"}),Gt()(Rt,Ie.Undo,{name:"Undo",type:Ot.GeneralAction,shortcut:["ctrl.z","meta.z"],descTextKey:"DDSAnnotator.shortcuts.general.undo"}),Gt()(Rt,Ie.Redo,{name:"Redo",type:Ot.GeneralAction,shortcut:["ctrl.shift.z","meta.shift.z"],descTextKey:"DDSAnnotator.shortcuts.general.redo"}),Gt()(Rt,Ie.RepeatPrevious,{name:"RepeatPrevious",type:Ot.GeneralAction,shortcut:["ctrl.r","meta.r"],descTextKey:"DDSAnnotator.shortcuts.general.repeatPrevious"}),Gt()(Rt,Ie.DeleteAll,{name:"DeleteAll",type:Ot.GeneralAction,shortcut:["ctrl.shift.d","meta.shift.d"],descTextKey:"DDSAnnotator.shortcuts.general.deleteAll"}),Gt()(Rt,Ie.Save,{name:"Save",type:Ot.GeneralAction,shortcut:["ctrl.s","meta.s"],descTextKey:"DDSAnnotator.shortcuts.general.save"}),Gt()(Rt,Ie.HideCurrObject,{name:"HideCurrObject",type:Ot.ViewAction,shortcut:["h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideCurrObject"}),Gt()(Rt,Ie.HideCurrCategory,{name:"HideCurrCategory",type:Ot.ViewAction,shortcut:["ctrl.h","meta.h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideCurrCategory"}),Gt()(Rt,Ie.HideAll,{name:"HideAll",type:Ot.ViewAction,shortcut:["ctrl.shift.h","meta.shift.h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideAll"}),Gt()(Rt,Ie.ZoomIn,{name:"ZoomIn",type:Ot.ViewAction,shortcut:["equalsign"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomIn"}),Gt()(Rt,Ie.ZoomOut,{name:"ZoomOut",type:Ot.ViewAction,shortcut:["dash"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomOut"}),Gt()(Rt,Ie.Reset,{name:"Reset",type:Ot.ViewAction,shortcut:["0"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomReset"}),Gt()(Rt,Ie.Accept,{name:"Accept",type:Ot.GeneralAction,shortcut:["ctrl.a","meta.a"],descTextKey:"DDSAnnotator.shortcuts.general.accept"}),Gt()(Rt,Ie.Reject,{name:"Reject",type:Ot.GeneralAction,shortcut:["ctrl.r","meta.r"],descTextKey:"DDSAnnotator.shortcuts.general.reject"}),Gt()(Rt,Ie.NextImage,{name:"NextImage",type:Ot.ViewAction,shortcut:["rightarrow"],descTextKey:"DDSAnnotator.shortcuts.general.next"}),Gt()(Rt,Ie.PreviousImage,{name:"PreviousImage",type:Ot.ViewAction,shortcut:["leftarrow"],descTextKey:"DDSAnnotator.shortcuts.general.prev"}),Gt()(Rt,Ie.PanImage,{name:"PanImage",type:Ot.ViewAction,shortcut:["Space"],descTextKey:"DDSAnnotator.shortcuts.viewControl.panImage"}),Gt()(Rt,Ie.SaveCurrObject,{name:"SaveCurrObject",type:Ot.AnnotationAction,shortcut:["enter"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.finish"}),Gt()(Rt,Ie.DeleteCurrObject,{name:"DeleteCurrObject",type:Ot.AnnotationAction,shortcut:["Backspace","Delete"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.delete"}),Gt()(Rt,Ie.CancelCurrObject,{name:"CancelCurrObject",type:Ot.AnnotationAction,shortcut:["esc"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.cancel"}),Rt),bt=function(pe){var Pe=pe;switch(pe){case"meta":Pe="\u2318";break;case"shift":Pe="\u21E7";break;case"equalsign":case"add":Pe="+";break;case"dash":case"subtract":Pe="-";break;case"leftarrow":Pe="\u2190";break;case"rightarrow":Pe="\u2192";break;default:Pe=pe.toUpperCase();break}return Pe},Pt=function($e){return $e.Object="object",$e.Class="class",$e}(Pt||{}),He=function(pe,Pe){return(0,m.isEqual)(pe.objects,Pe.objects)&&(0,m.isEqual)(pe.framesObjects,Pe.framesObjects)&&pe.activeObjectIndex===Pe.activeObjectIndex&&pe.supportEdit===Pe.supportEdit&&pe.activeClassName===Pe.activeClassName&&pe.className===Pe.className&&pe.onChangeActiveClassName===Pe.onChangeActiveClassName&&pe.onFocusObject===Pe.onFocusObject&&pe.onDeleteObject===Pe.onDeleteObject&&pe.onChangeObjectHidden===Pe.onChangeObjectHidden&&pe.onChangeCategoryHidden===Pe.onChangeCategoryHidden&&pe.setDrawDataWithHistory===Pe.setDrawDataWithHistory&&(0,m.isEqual)(pe.categories,Pe.categories)&&pe.colorByCategory===Pe.colorByCategory&&pe.onChangeAnnotsDisplayOpts===Pe.onChangeAnnotsDisplayOpts},qe=(0,g.memo)(function($e){var pe=$e.objects,Pe=$e.framesObjects,kn=$e.activeObjectIndex,vt=$e.className,Nn=$e.supportEdit,xn=$e.activeClassName,wn=$e.onFocusObject,Rn=$e.onActiveObject,vr=$e.onChangeObjectHidden,pr=$e.onDeleteObject,Mr=$e.onChangeCategoryHidden,Ln=$e.onChangeActiveClassName,ta=$e.categories,Ir=$e.setDrawDataWithHistory,lr=$e.colorByCategory,Ar=$e.onChangeAnnotsDisplayOpts,Or=(0,z.bU)(),sa=Or.localeText,Kn=sa("DDSAnnotator.annotsList.uncategorized"),Yr=(0,g.useState)(Pt.Class),na=s()(Yr,2),ca=na[0],or=na[1],ur=function(cn){or(cn)},Vr=(0,re.w)(),Rr=Vr.height,Br=45,Cr=35,V=Rr-Br-56,Z=(0,g.useRef)(null),fe=(0,g.useMemo)(function(){return!pe.some(function(Vt){return!Vt.hidden})},[pe]),Ce=function(){pe.forEach(function(cn,hn){vr(hn,!fe)})},Le=function(){Ar({colorByCategory:!lr})},et=(0,g.useCallback)(function(Vt,cn,hn){Rn(hn),Ir(function(St){St.editingAttribute={index:hn,labelId:Vt.labelId,attributes:cn.attributes||[],values:Vt.attributes||[]}})},[Rn,Ir]);(0,Ee.Z)(Se[Ie.HideAll].shortcut,function(Vt){Vt.preventDefault(),Ce()},{exactMatch:!0});var Mt=(0,g.useMemo)(function(){return pe.reduce(function(Vt,cn,hn){var St,pn=((St=ta.find(function(Qn){return Qn.id===cn.labelId}))===null||St===void 0?void 0:St.name)||Kn;return Vt[pn]||(Vt[pn]=[]),Vt[pn].push(t()(t()({},cn),{},{originIndex:hn})),Vt},{})},[pe]);(0,g.useEffect)(function(){if(!(kn<0)){var Vt=document.querySelector(".ant-tabs-tabpane-active");if(ca===Pt.Object){var cn=Vt==null?void 0:Vt.querySelector(".tab-collapse .ant-collapse-item:nth-child(".concat(kn+1,")"));cn==null||cn.scrollIntoView({behavior:"smooth",block:"nearest"})}else if(ca===Pt.Class&&Mt[xn]){var hn=Mt[xn].findIndex(function(pn){return pn.originIndex===kn});if(hn>-1){var St;(St=Z.current)===null||St===void 0||St.scrollTo({index:hn,align:"auto"})}}}},[kn]);var Dt=(0,x.jsx)(Me.Z,{accordion:!0,ghost:!0,className:"tab-collapse",activeKey:xn,children:pe.length>0&&Object.keys(Mt).sort().map(function(Vt){var cn,hn=Mt[Vt],St=hn.every(function(Qn){return Qn.hidden}),pn=(cn=hn[0])===null||cn===void 0?void 0:cn.color;return(0,x.jsx)(Me.Z.Panel,{showArrow:!1,header:(0,x.jsxs)("div",{className:c()("collapse-header",{"collapse-header-selected":xn===Vt}),style:{height:Br},onClick:function(){Ln(Vt===xn?"":Vt)},children:[xn===Vt&&(0,x.jsx)("div",{className:"selected-line",style:{backgroundColor:pn||"#fff"}}),(0,x.jsx)("div",{className:"label-name",children:Vt}),(0,x.jsxs)("div",{className:"label-actions",children:[(0,x.jsx)("span",{className:"label-count",children:hn.length}),(0,x.jsx)(L.Z,{title:sa(St?"DDSAnnotator.annotsList.showCate":"DDSAnnotator.annotsList.hideCate"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:St?(0,x.jsx)(he.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:function(Jn){Jn.stopPropagation(),Mr(Vt,!St)}})}),(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:(0,x.jsx)(we,{className:"down-arrow"}),shape:"circle"})]})]},Vt),children:xn===Vt&&(0,x.jsx)(We.Z,{children:(0,x.jsx)(se.Z,{data:hn,height:V,fullHeight:!1,itemHeight:Cr,itemKey:"originIndex",ref:Z,children:function(Jn,Sr){var Lr,Qr,ya,da,ba=ta.find(function(Tr){return Tr.id===Jn.labelId}),qa=!!(ba!=null&&(Lr=ba.attributes)!==null&&Lr!==void 0&&Lr.length),oo=ba==null||(Qr=ba.attributes)===null||Qr===void 0?void 0:Qr.find(function(Tr,Za){var Ho;return Tr.required&&[void 0,null,""].includes((Ho=Jn.attributes)===null||Ho===void 0?void 0:Ho[Za])}),xa=(Pe==null||(ya=Pe[Jn.originIndex])===null||ya===void 0||(da=ya.filter(function(Tr){return Tr&&!Tr.frameEmpty}))===null||da===void 0?void 0:da.length)||1;return(0,x.jsxs)(We.Z.Item,{className:"collapse-item",style:{height:Cr},onMouseOver:function(){wn(Jn.originIndex)},onClick:function(Za){Za.stopPropagation(),Rn(Jn.originIndex)},children:[kn===Jn.originIndex&&(0,x.jsx)("div",{className:"color-hint",style:{backgroundColor:Jn.color}}),(0,x.jsx)(H.Z,{className:"label-icon",component:Q.ef[Jn.type]}),(0,x.jsxs)("div",{className:"label",children:["# ",Jn.originIndex+1]}),(0,x.jsxs)("div",{className:"label-actions",children:[Pe&&(0,x.jsxs)("span",{className:"frame-count",children:[(0,x.jsx)(Ve,{})," ",xa]}),qa&&(0,x.jsx)(L.Z,{title:sa("DDSAnnotator.attribute.edit"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:c()("attr-btn",{"attr-btn-warn":oo}),icon:(0,x.jsx)(le,{}),shape:"circle",onClick:function(Za){Za.stopPropagation(),et(Jn,ba,Jn.originIndex)}})}),(0,x.jsx)(L.Z,{title:Jn.hidden?sa("DDSAnnotator.annotsList.show"):sa("DDSAnnotator.annotsList.hide"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:Jn.hidden?(0,x.jsx)(he.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:function(Za){Za.stopPropagation(),vr(Jn.originIndex,!Jn.hidden)}})}),Nn&&(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(L.Z,{title:sa("DDSAnnotator.annotsList.delete"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:(0,x.jsx)(je.Z,{}),shape:"circle",onClick:function(Za){Za.stopPropagation(),pr(Jn.originIndex)}})})})]})]},Jn.labelId+Sr)}})})},Vt||Kn)})});return(0,x.jsx)("div",{className:c()("dds-annotator-objectlist",vt),id:"rightOperations",onMouseDown:function(cn){cn.stopPropagation()},children:(0,x.jsx)(be.Z,{activeKey:ca,onChange:ur,items:[{key:Pt.Class,label:sa("DDSAnnotator.annotsList.labels"),children:Dt}],tabBarExtraContent:(0,x.jsxs)("div",{className:"tab-header-actions",children:[(0,x.jsx)(L.Z,{title:sa("DDSAnnotator.colorMode"),children:(0,x.jsx)(C.ZP,{type:"primary",className:c()("tab-header-actions-color-btn",{"tab-header-actions-color-btn-active":!lr}),icon:(0,x.jsx)(H.Z,{component:nt}),onClick:Le})}),pe.length>0&&(0,x.jsx)(L.Z,{title:sa(fe?"DDSAnnotator.annotsList.showAll":"DDSAnnotator.annotsList.hideAll"),children:(0,x.jsx)(C.ZP,{ghost:!0,icon:fe?(0,x.jsx)(he.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:Ce})})]})})})},He),Zt=e(60698),Ut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"down-circle",theme:"outlined"},qt=Ut,ln=e(17202),En=function(pe,Pe){return g.createElement(ln.Z,(0,Zt.Z)({},pe,{ref:Pe,icon:qt}))},mn=g.forwardRef(En),Yn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}},{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:"up-circle",theme:"outlined"},Gn=Yn,ir=function(pe,Pe){return g.createElement(ln.Z,(0,Zt.Z)({},pe,{ref:Pe,icon:Gn}))},mr=g.forwardRef(ir),Ft=e(59504),en={item:"item___v9XQ_",selected:"selected___H8gjQ",info:"info___YLqTh",action:"action___zGuUy",btn:"btn___ean1l"},rn=function(pe){var Pe=pe.point,kn=pe.index,vt=pe.active,Nn=pe.onMouseEnter,xn=pe.onMouseOut,wn=pe.onMouseOver,Rn=pe.onVisibleChange,vr=(0,z.bU)(),pr=vr.localeText;return(0,x.jsxs)("div",{className:en.item,onMouseOut:xn,onMouseOver:wn,onMouseEnter:Nn,children:[vt&&(0,x.jsx)("div",{className:en.selected,style:{backgroundColor:Pe.color}}),(0,x.jsx)("div",{className:en.info,children:Pe.name?"#".concat(kn+1," ").concat(Pe.name):"".concat(kn+1," ")}),(0,x.jsx)("div",{className:en.action,children:(0,x.jsxs)(Ft.Z,{bordered:!1,showArrow:!0,popupClassName:en["selector-dropdown"],size:"small",value:Pe.visible,onChange:Rn,style:{width:"100%"},children:[(0,x.jsx)(Ft.Z.Option,{value:Q.GI.noLabeled,children:pr("DDSAnnotator.annotsList.point.notInImage")}),(0,x.jsx)(Ft.Z.Option,{value:Q.GI.labeledNotVisible,children:pr("DDSAnnotator.annotsList.point.notVisible")}),(0,x.jsx)(Ft.Z.Option,{value:Q.GI.labeledVisible,children:pr("DDSAnnotator.annotsList.point.visible")})]})})]},kn)},fn=rn,In=(0,g.memo)(function($e){var pe=$e.mode,Pe=$e.isAiAnnotation,kn=$e.currObject,vt=$e.currObjectIndex,Nn=$e.focusObjectIndex,xn=$e.focusEleType,wn=$e.focusEleIndex,Rn=$e.onChangePointVisible,vr=$e.setEditState,pr=(0,z.bU)(),Mr=pr.localeText,Ln=(0,g.useState)(!0),ta=s()(Ln,2),Ir=ta[0],lr=ta[1],Ar=(0,g.useMemo)(function(){return vt>-1&&(kn==null?void 0:kn.type)===Q.gr.Skeleton&&!Pe},[pe,kn,vt,Pe]),Or=function(Kn){vr(function(Yr){Yr.focusObjectIndex=vt,Yr.focusEleIndex=Kn,Yr.focusEleType=Q.Yq.Circle})};return(0,x.jsx)(A,{children:(0,x.jsx)(w.Z,{className:c()("dds-annotator-points-editor",{"dds-annotator-points-editor-visible":Ar}),title:(0,x.jsxs)("div",{className:"title",onClick:function(){return lr(function(Kn){return!Kn})},children:[Mr("DDSAnnotator.points.editor"),(0,x.jsx)("div",{className:"extra-btn",children:Ir?(0,x.jsx)(mn,{}):(0,x.jsx)(mr,{})})]}),children:!Ir&&(0,x.jsx)("div",{className:"content",onMouseMove:function(Kn){Kn.stopPropagation()},children:kn&&kn.keypoints&&kn.keypoints.points.map(function(sa,Kn){return(0,x.jsx)(fn,{point:sa,index:Kn,active:Nn===vt&&xn===Q.Yq.Circle&&wn===Kn,onMouseEnter:function(){return Or(Kn)},onVisibleChange:function(na){Rn(Kn,na)}},Kn)})})})})}),on=In,mt=(0,g.memo)(function($e){var pe=$e.mode,Pe=$e.isAiAnnotation,kn=$e.latestLabelId,vt=$e.currObject,Nn=$e.onFinishCurrCreate,xn=(0,z.bU)(),wn=xn.localeText,Rn=(0,g.useMemo)(function(){return pe!==W.je.Edit?!1:!!((vt==null?void 0:vt.type)===Q.gr.Mask||(vt==null?void 0:vt.type)===Q.gr.Polygon&&Pe)},[pe,vt,Pe]);return(0,Ee.Z)(Se[Ie.SaveCurrObject].shortcut,function(vr){vt&&(vr.preventDefault(),Nn(kn))},{exactMatch:!0}),(0,x.jsx)(A,{children:(0,x.jsx)(w.Z,{className:c()("dds-annotator-seg-confirm",{"dds-annotator-seg-confirm-visible":Rn}),title:(0,x.jsx)("div",{className:"title",children:wn("DDSAnnotator.seg.tool")}),children:(0,x.jsxs)("div",{className:"content",children:[(0,x.jsx)("div",{children:wn("DDSAnnotator.seg.tool.content")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:function(pr){pr.preventDefault(),Nn(kn)},children:wn("DDSAnnotator.confirm")})]})})})}),gt=mt,sn=e(34485),Qt=e.n(sn),tn=e(2528),yn=e(98030),vn=e(33181),Wn=Object.defineProperty,tr=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,At=($e,pe,Pe)=>pe in $e?Wn($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,xt=($e,pe)=>{for(var Pe in pe||(pe={}))ut.call(pe,Pe)&&At($e,Pe,pe[Pe]);if(tr)for(var Pe of tr(pe))ct.call(pe,Pe)&&At($e,Pe,pe[Pe]);return $e};const kt=$e=>g.createElement("svg",xt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 29"},$e),g.createElement("defs",null,g.createElement("style",null,".drag_svg__cls-1{fill:none}")),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83z"}),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83z"}),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83Z"}),g.createElement("path",{className:"drag_svg__cls-2",d:"m21.73 18.19 8.23 4.8-3.51 1 2.51 4.35-2.05 1.18-2.51-4.35-2.63 2.54-.04-9.52z"}),g.createElement("path",{className:"drag_svg__cls-2",d:"M19.37 9.92h2.36v2.36h5.91a1.18 1.18 0 0 1 1.18 1.18v4.73h-2.36v-3.54H14.65v11.81h4.72v2.36h-5.91a1.18 1.18 0 0 1-1.18-1.18v-5.91H9.92v-2.36h2.36v-5.91a1.18 1.18 0 0 1 1.18-1.18h5.91ZM5.2 19.37h2.36v2.36H5.2zM5.2 14.65h2.36v2.36H5.2zM5.2 9.92h2.36v2.36H5.2zM5.2 5.2h2.36v2.36H5.2zM9.92 5.2h2.36v2.36H9.92zM14.65 5.2h2.36v2.36h-2.36zM19.37 5.2h2.36v2.36h-2.36z"}));var un="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOSAyOSI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOm5vbmV9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODNaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJtMjEuNzMgMTguMTkgOC4yMyA0LjgtMy41MSAxIDIuNTEgNC4zNS0yLjA1IDEuMTgtMi41MS00LjM1LTIuNjMgMi41NC0uMDQtOS41MnoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xOS4zNyA5LjkyaDIuMzZ2Mi4zNmg1LjkxYTEuMTggMS4xOCAwIDAgMSAxLjE4IDEuMTh2NC43M2gtMi4zNnYtMy41NEgxNC42NXYxMS44MWg0LjcydjIuMzZoLTUuOTFhMS4xOCAxLjE4IDAgMCAxLTEuMTgtMS4xOHYtNS45MUg5Ljkydi0yLjM2aDIuMzZ2LTUuOTFhMS4xOCAxLjE4IDAgMCAxIDEuMTgtMS4xOGg1LjkxWk01LjIgMTkuMzdoMi4zNnYyLjM2SDUuMnpNNS4yIDE0LjY1aDIuMzZ2Mi4zNkg1LjJ6TTUuMiA5LjkyaDIuMzZ2Mi4zNkg1LjJ6TTUuMiA1LjJoMi4zNnYyLjM2SDUuMnpNOS45MiA1LjJoMi4zNnYyLjM2SDkuOTJ6TTE0LjY1IDUuMmgyLjM2djIuMzZoLTIuMzZ6TTE5LjM3IDUuMmgyLjM2djIuMzZoLTIuMzZ6Ii8+PC9zdmc+",nn=Object.defineProperty,An=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,nr=($e,pe,Pe)=>pe in $e?nn($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Fn=($e,pe)=>{for(var Pe in pe||(pe={}))zn.call(pe,Pe)&&nr($e,Pe,pe[Pe]);if(An)for(var Pe of An(pe))Er.call(pe,Pe)&&nr($e,Pe,pe[Pe]);return $e};const kr=$e=>g.createElement("svg",Fn({className:"zoomResize_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},$e),g.createElement("path",{d:"M981.333 42.667v938.666H42.667V42.667h938.666zM128 896h768V128H128v768zm170.667-170.667H448v85.334H213.333V576h85.334v149.333zm426.666-426.666H576v-85.334h234.667V448h-85.334V298.667z"}));var hr="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk4MS4zMzMgNDIuNjY3djkzOC42NjZINDIuNjY3VjQyLjY2N2g5MzguNjY2ek0xMjggODk2aDc2OFYxMjhIMTI4djc2OHptMTcwLjY2Ny0xNzAuNjY3SDQ0OHY4NS4zMzRIMjEzLjMzM1Y1NzZoODUuMzM0djE0OS4zMzN6bTQyNi42NjYtNDI2LjY2Nkg1NzZ2LTg1LjMzNGgyMzQuNjY3VjQ0OGgtODUuMzM0VjI5OC42Njd6Ii8+PC9zdmc+",la=e(85706),zr=Object.defineProperty,Zn=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,ar=($e,pe,Pe)=>pe in $e?zr($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,br=($e,pe)=>{for(var Pe in pe||(pe={}))On.call(pe,Pe)&&ar($e,Pe,pe[Pe]);if(Zn)for(var Pe of Zn(pe))Tn.call(pe,Pe)&&ar($e,Pe,pe[Pe]);return $e};const Kr=$e=>g.createElement("svg",br({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M21.5 3h-19A2.503 2.503 0 0 0 0 5.5V17h24V5.5C24 4.122 22.878 3 21.5 3Zm.5 12H2V5.5a.5.5 0 0 1 .5-.5h19a.5.5 0 0 1 .5.5V15ZM4 7h3v2H4V7Zm8 2H9V7h3v2Zm2-2h6v2h-6V7Zm-6 4h8v2H8v-2Zm10 0h2v2h-2v-2ZM4 11h2v2H4v-2Zm11.293 7.707 1.414 1.414-3.293 3.293c-.39.39-.902.585-1.414.585a1.993 1.993 0 0 1-1.414-.585l-3.293-3.293 1.414-1.414L12 22l3.293-3.293Z"}));var ra="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIxLjUgM2gtMTlBMi41MDMgMi41MDMgMCAwIDAgMCA1LjVWMTdoMjRWNS41QzI0IDQuMTIyIDIyLjg3OCAzIDIxLjUgM1ptLjUgMTJIMlY1LjVhLjUuNSAwIDAgMSAuNS0uNWgxOWEuNS41IDAgMCAxIC41LjVWMTVaTTQgN2gzdjJINFY3Wm04IDJIOVY3aDN2MlptMi0yaDZ2MmgtNlY3Wm0tNiA0aDh2Mkg4di0yWm0xMCAwaDJ2MmgtMnYtMlpNNCAxMWgydjJINHYtMlptMTEuMjkzIDcuNzA3IDEuNDE0IDEuNDE0LTMuMjkzIDMuMjkzYy0uMzkuMzktLjkwMi41ODUtMS40MTQuNTg1YTEuOTkzIDEuOTkzIDAgMCAxLTEuNDE0LS41ODVsLTMuMjkzLTMuMjkzIDEuNDE0LTEuNDE0TDEyIDIybDMuMjkzLTMuMjkzWiIvPjwvc3ZnPg==",pa=function(pe){for(var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,kn=navigator.userAgent.toLowerCase(),vt=kn.indexOf("mac")>-1,Nn=[],xn=function(){var pr=pe[wn];if(!vt&&pr.includes("meta")||vt&&pr.includes("ctrl"))return"continue";if(pr.includes(".")){var Mr=pr.split(".");Mr.forEach(function(ta,Ir){var lr=(0,x.jsx)("span",{className:c()({"dds-annotator-shortcutsinfo-key":Pe}),children:bt(ta)},Ir);Nn.push(lr),Ir!==Mr.length-1&&Nn.push((0,x.jsxs)("span",{className:c()({"dds-annotator-shortcutsinfo-combine":Pe}),children:[" ","+"," "]},Ir+"and"))})}else{var Ln=(0,x.jsx)("span",{className:c()({"dds-annotator-shortcutsinfo-key":Pe}),children:bt(pr)},wn);Nn.push(Ln)}wn!==pe.length-1&&Nn.push((0,x.jsxs)("span",{className:c()({"dds-annotator-shortcutsinfo-combine":Pe}),children:[" ","/"," "]},wn+"or"))},wn=0;wn=Q.Fv,Rr=Ln<=Q.vL;(0,Ee.Z)(Se[Ie.ZoomIn].shortcut,function(){Vr||ta()}),(0,Ee.Z)(Se[Ie.ZoomOut].shortcut,function(){Rr||Ir()}),(0,Ee.Z)(Se[Ie.Reset].shortcut,function(){lr()});var Br=function(V){var Z=pa(V.shortcut.shortcut,!1);return(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar-popover",children:[(0,x.jsxs)("div",{children:[(0,x.jsx)("span",{className:"popover-title",children:V.name}),(0,x.jsx)("span",{className:"popover-key",children:Z})]}),(0,x.jsx)("div",{className:"popover-divider"}),(0,x.jsx)("div",{className:"popover-description",children:V.description})]})};return(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar",onMouseDown:function(V){V.stopPropagation()},children:[Ar?(0,x.jsx)("div",{}):(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar-content",children:[Yr.map(function(Cr){return(0,x.jsx)(vn.Z,{placement:"right",content:Br(Cr),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":pe===Cr.key}),icon:Cr.icon,onClick:function(){return xn(Cr.key)}})},Cr.key)}),na.map(function(Cr){return(0,x.jsxs)("div",{className:c()({"slidertoolbar-annotool-active-wrap":pe===Cr.key&&!Pe}),children:[(0,x.jsx)(vn.Z,{placement:"right",content:Br(Cr),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":pe===Cr.key&&!Nn}),icon:Cr.icon,onClick:function(){return xn(Cr.key)}})}),pe===Cr.key&&!Pe&&(0,x.jsx)(vn.Z,{placement:"right",content:Br(ca),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":Nn}),icon:Cr.aiIcon,onClick:function(){return wn(!Nn)}})},ca.key)]},Cr.key)}),(0,x.jsx)("div",{className:"slidertoolbar-divider"}),or.map(function(Cr){return(0,x.jsx)(vn.Z,{placement:"right",content:Br(Cr),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn"),icon:Cr.icon,onClick:Cr.handler})},Cr.key)})]}),(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar-content",children:[(0,x.jsx)(C.ZP,{type:"primary",className:"slidertoolbar-btn",onClick:lr,icon:(0,x.jsx)(H.Z,{component:kr})}),(0,x.jsx)(C.ZP,{type:"primary",className:c()("slidertoolbar-btn",{"slidertoolbar-btn-disabled":Rr}),icon:(0,x.jsx)(tn.Z,{}),onClick:Ir}),(0,x.jsxs)("div",{className:"slidertoolbar-scale-text",children:[Math.floor(Ln*100),"%"]}),(0,x.jsx)(C.ZP,{type:"primary",className:c()("slidertoolbar-btn",{"slidertoolbar-btn-disabled":Vr}),icon:(0,x.jsx)(yn.Z,{}),onClick:ta})]})]})}),Ea=Ur,ha=e(38875),Hn=e(94706),Bn=e(57414),yr=Object.defineProperty,Xr=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,an=($e,pe,Pe)=>pe in $e?yr($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,bn=($e,pe)=>{for(var Pe in pe||(pe={}))Dr.call(pe,Pe)&&an($e,Pe,pe[Pe]);if(Xr)for(var Pe of Xr(pe))Tt.call(pe,Pe)&&an($e,Pe,pe[Pe]);return $e};const Xa=$e=>g.createElement("svg",bn({width:32,height:32,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M23.737 13.118v7.764a6.713 6.713 0 0 1-6.706 6.707 6.713 6.713 0 0 1-6.705-6.707v-7.764a6.713 6.713 0 0 1 6.705-6.707 6.713 6.713 0 0 1 6.706 6.707Zm-.693 3.662H11.018v4.102a6.02 6.02 0 0 0 6.013 6.017 6.02 6.02 0 0 0 6.013-6.017V16.78Zm0-3.662a6.02 6.02 0 0 0-5.698-6.008v8.977h5.698v-2.969Z",fill:"#fff"}));var ho="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjMuNzM3IDEzLjExOHY3Ljc2NGE2LjcxMyA2LjcxMyAwIDAgMS02LjcwNiA2LjcwNyA2LjcxMyA2LjcxMyAwIDAgMS02LjcwNS02LjcwN3YtNy43NjRhNi43MTMgNi43MTMgMCAwIDEgNi43MDUtNi43MDcgNi43MTMgNi43MTMgMCAwIDEgNi43MDYgNi43MDdabS0uNjkzIDMuNjYySDExLjAxOHY0LjEwMmE2LjAyIDYuMDIgMCAwIDAgNi4wMTMgNi4wMTcgNi4wMiA2LjAyIDAgMCAwIDYuMDEzLTYuMDE3VjE2Ljc4Wm0wLTMuNjYyYTYuMDIgNi4wMiAwIDAgMC01LjY5OC02LjAwOHY4Ljk3N2g1LjY5OHYtMi45NjlaIiBmaWxsPSIjZmZmIi8+PC9zdmc+",$a=Object.defineProperty,Ua=Object.getOwnPropertySymbols,Ka=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,No=($e,pe,Pe)=>pe in $e?$a($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,yo=($e,pe)=>{for(var Pe in pe||(pe={}))Ka.call(pe,Pe)&&No($e,Pe,pe[Pe]);if(Ua)for(var Pe of Ua(pe))wo.call(pe,Pe)&&No($e,Pe,pe[Pe]);return $e};const dt=$e=>g.createElement("svg",yo({width:32,height:32,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M10.263 13.118v7.764a6.713 6.713 0 0 0 6.706 6.707 6.713 6.713 0 0 0 6.705-6.707v-7.764a6.713 6.713 0 0 0-6.705-6.707 6.713 6.713 0 0 0-6.706 6.707Zm.693 3.662h12.026v4.102a6.02 6.02 0 0 1-6.013 6.017 6.02 6.02 0 0 1-6.013-6.017V16.78Zm0-3.662a6.02 6.02 0 0 1 5.698-6.008v8.977h-5.698v-2.969Z",fill:"#fff"}));var zt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAuMjYzIDEzLjExOHY3Ljc2NGE2LjcxMyA2LjcxMyAwIDAgMCA2LjcwNiA2LjcwNyA2LjcxMyA2LjcxMyAwIDAgMCA2LjcwNS02LjcwN3YtNy43NjRhNi43MTMgNi43MTMgMCAwIDAtNi43MDUtNi43MDcgNi43MTMgNi43MTMgMCAwIDAtNi43MDYgNi43MDdabS42OTMgMy42NjJoMTIuMDI2djQuMTAyYTYuMDIgNi4wMiAwIDAgMS02LjAxMyA2LjAxNyA2LjAyIDYuMDIgMCAwIDEtNi4wMTMtNi4wMTdWMTYuNzhabTAtMy42NjJhNi4wMiA2LjAyIDAgMCAxIDUuNjk4LTYuMDA4djguOTc3aC01LjY5OHYtMi45NjlaIiBmaWxsPSIjZmZmIi8+PC9zdmc+",Ae=(0,g.memo)(function($e){var pe,Pe=$e.selectedTool,kn=$e.selectedSubTool,vt=$e.selectedModel,Nn=$e.AIAnnotation,xn=$e.isBatchEditing,wn=$e.isCtrlPressed,Rn=$e.naturalSize,vr=$e.limitConf,pr=$e.latestLabel,Mr=$e.onExitAIAnnotation,Ln=$e.onAiAnnotation,ta=$e.onChangeConfidenceRange,Ir=$e.onChangeLimitConf,lr=$e.onAcceptValidObjects,Ar=$e.onCancelBatchEdit,Or=$e.forceChangeTool,sa=(0,z.bU)(),Kn=sa.localeText,Yr=(0,g.useState)(function(){return pr}),na=s()(Yr,2),ca=na[0],or=na[1];(0,g.useEffect)(function(){or(pr)},[pr]);var ur=(0,M.x)({predIouThresh:.89,pointsPerSide:32,minMaskRegionArea:300}),Vr=s()(ur,2),Rr=Vr[0],Br=Vr[1],Cr=(pe={},Gt()(pe,Q.ru.Drag,{name:Kn("DDSAnnotator.shortcuts.tools.drag"),icon:kt}),Gt()(pe,Q.ru.Rectangle,{name:vt===Q.HE.Detection?Kn("DDSAnnotator.smart.detection.name"):Kn("DDSAnnotator.smart.ivp.name"),icon:Q.ef[Q.gr.Rectangle]}),Gt()(pe,Q.ru.Polygon,{name:Kn("DDSAnnotator.smart.segmentation.name"),icon:Q.ef[Q.gr.Polygon]}),Gt()(pe,Q.ru.Skeleton,{name:Kn("DDSAnnotator.smart.pose.name"),icon:Q.ef[Q.gr.Skeleton]}),Gt()(pe,Q.ru.Mask,{name:vt===Q.HE.SegmentByMask?Kn("DDSAnnotator.smart.isg.name"):vt===Q.HE.SegmentEverything?Kn("DDSAnnotator.smart.sam.name"):Kn("DDSAnnotator.smart.ivp.name"),icon:Q.ef[Q.gr.Mask]}),pe),V=function(et){if(et.type==="mouseup"&&(Pe===Q.ru.Skeleton||Pe===Q.ru.Mask&&kn===Q.jB.AutoSegmentEverything||Pe===Q.ru.Rectangle)){et.preventDefault();return}else et.stopPropagation()},Z=(0,g.useMemo)(function(){return!Nn||Pe===Q.ru.Drag?!1:Pe===Q.ru.Mask?vt===Q.HE.SegmentEverything?kn===Q.jB.AutoSegmentEverything:vt===Q.HE.SegmentByMask?!1:vt===Q.HE.IVP?xn:!1:Pe===Q.ru.Polygon?!1:Pe===Q.ru.Rectangle?vt===Q.HE.Detection?!(xn&&wn):vt===Q.HE.IVP?xn:!1:!0},[Pe,kn,vt,Nn,xn,wn]),fe=(0,g.useMemo)(function(){return Pe===Q.ru.Rectangle&&vt===Q.HE.Detection&&xn&&wn?[{text:Kn("DDSAnnotator.smart.tip.recover"),logo:(0,x.jsx)(Xa,{})},{text:Kn("DDSAnnotator.smart.tip.overlayobject"),logo:(0,x.jsx)(dt,{})}]:[]},[xn,wn,vt]),Ce=(0,g.useMemo)(function(){return Rn.width*Rn.height},[Rn]);return(0,x.jsxs)(A,{eventHandler:V,children:[fe.length>0&&(0,x.jsx)("div",{className:"dds-annotator-operation-tip",children:fe.map(function(Le){return(0,x.jsxs)("div",{className:"dds-annotator-operation-tip-item",children:[(0,x.jsx)("span",{children:Le.text}),Le.logo]},Le.text)})}),(0,x.jsx)(w.Z,{id:"smart-annotation-editor",className:c()("dds-annotator-smart-container",{"dds-annotator-smart-container-visible":Z}),title:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-title",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-title-icon",children:[(0,x.jsx)(ha.Z,{component:Q.QD[Q.Uu.SmartAnnotation]}),(0,x.jsx)("div",{children:Cr[Pe].name})]}),(0,x.jsx)(C.ZP,{ghost:!0,className:"dds-annotator-smart-container-btn",icon:(0,x.jsx)(h.Z,{}),shape:"circle",size:"small",onClick:function(){Mr(),Or(Pe,Q.jB.PenAdd)}})]}),children:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content",children:[Pe===Q.ru.Rectangle&&vt===Q.HE.Detection&&(xn?(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-controls",children:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:[Kn("DDSAnnotator.smart.detection.confidence"),":"]}),(0,x.jsx)(Hn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",defaultValue:vr,min:0,max:1,step:.01,onAfterChange:Ir,railStyle:{background:"#99bdff"},trackStyle:{background:"#edf0f3"}})]})}),(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-tip-text",children:[(0,x.jsxs)("span",{children:[Kn("DDSAnnotator.smart.tip"),": "]}),Kn("DDSAnnotator.smart.tip.ctrl")]}),(0,x.jsxs)("div",{style:{alignSelf:"flex-end"},children:[(0,x.jsx)(C.ZP,{style:{marginRight:"10px"},onClick:Ar,children:Kn("DDSAnnotator.smart.back")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:lr,children:Kn("DDSAnnotator.save")})]})]}):(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,x.jsxs)("div",{children:[(0,x.jsxs)("span",{children:[Kn("DDSAnnotator.smart.detection.label"),":"]}),pr]}),(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item-row",children:[(0,x.jsxs)("span",{children:[Kn("DDSAnnotator.smart.detection.prompt"),":"]}),(0,x.jsx)(T.Z,{placeholder:Kn("DDSAnnotator.smart.detection.input"),value:ca,onChange:function(et){return or(et.target.value)},onKeyUp:function(et){return et.stopPropagation()},onKeyDown:function(et){return et.stopPropagation()}})]}),(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-column-item-right",children:(0,x.jsx)(C.ZP,{type:"primary",onClick:function(){return Ln({text:ca})},children:Kn("DDSAnnotator.smart.annotate")})})]})),(Pe===Q.ru.Rectangle&&vt===Q.HE.IVP||Pe===Q.ru.Mask&&vt===Q.HE.IVP)&&(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-tip-text",children:[(0,x.jsxs)("span",{children:[Kn("DDSAnnotator.smart.tip"),": "]}),Kn("DDSAnnotator.smart.tip.visualPrompt")]}),(0,x.jsxs)("div",{style:{alignSelf:"flex-end"},children:[(0,x.jsx)(C.ZP,{style:{marginRight:"10px"},onClick:Ar,children:Kn("DDSAnnotator.smart.back")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:lr,children:Kn("DDSAnnotator.save")})]})]}),Pe===Q.ru.Skeleton&&(xn?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-controls",children:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Kn("DDSAnnotator.confidence")}),(0,x.jsx)(Hn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",range:!0,defaultValue:[0,100],onAfterChange:function(et){return ta([et[0]/100,et[1]/100])},tooltip:{formatter:function(et){return(0,x.jsx)(x.Fragment,{children:"".concat(et/100)})},getPopupContainer:function(){return document.getElementById("conf-slider")}}})]})}),(0,x.jsx)(C.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:lr,children:Kn("DDSAnnotator.save")})]}):(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(C.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:function(){return Ln({})},children:Kn("DDSAnnotator.smart.annotate")})})),Pe===Q.ru.Mask&&vt===Q.HE.SegmentEverything&&kn===Q.jB.AutoSegmentEverything&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{id:"param-controls",className:"dds-annotator-smart-container-content-param-controls",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Kn("DDSAnnotator.smart.iouThres")}),(0,x.jsx)(Hn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",value:1-Rr.predIouThresh,onChange:function(et){return Br(function(Mt){Mt.predIouThresh=1-et})},min:0,max:.99,step:.01,reverse:!0,tooltip:{formatter:function(et){return"".concat(Math.floor((1-et)*100),"%")},getPopupContainer:function(){return document.getElementById("param-controls")}}})]}),(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Kn("DDSAnnotator.smart.minArea")}),(0,x.jsx)(Hn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",value:Rr.minMaskRegionArea/Ce,onChange:function(et){return Br(function(Mt){Mt.minMaskRegionArea=et*Ce})},min:.01,max:.3,step:.01,tooltip:{formatter:function(et){return"".concat(Math.ceil(et*100),"%")},getPopupContainer:function(){return document.getElementById("param-controls")}}})]})]}),xn?(0,x.jsxs)(Bn.Z,{className:"dds-annotator-smart-container-content-actions",style:{justifyContent:"flex-end"},children:[(0,x.jsx)(C.ZP,{onClick:function(){return Ln({segmentEverythingParams:Rr})},children:Kn("DDSAnnotator.smart.retry")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:function(){lr(),Or(Q.ru.Mask,Q.jB.AutoEdgeStitching)},children:Kn("DDSAnnotator.annotsEditor.finish")})]}):(0,x.jsx)(C.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:function(){return Ln({segmentEverythingParams:Rr})},children:Kn("DDSAnnotator.smart.annotate")})]})]})})]})}),dn=Ae,Dn=e(24454),Mn=e.n(Dn),qn=e(56592),rr=e.n(qn),Hr=e(99142),Da=e(91169),ia=function(pe,Pe){return pe.current===Pe.current&&pe.total===Pe.total&&pe.customText===Pe.customText&&pe.customDisableNext===Pe.customDisableNext},Jr=(0,g.memo)(function($e){var pe=$e.current,Pe=$e.total,kn=$e.customText,vt=$e.customDisableNext,Nn=$e.onPrev,xn=Nn===void 0?function(){return Promise.resolve()}:Nn,wn=$e.onNext,Rn=wn===void 0?function(){return Promise.resolve()}:wn,vr=(0,z.bU)(),pr=vr.localeText,Mr=(0,g.useState)(!1),Ln=s()(Mr,2),ta=Ln[0],Ir=Ln[1],lr=(0,g.useState)(!1),Ar=s()(lr,2),Or=Ar[0],sa=Ar[1],Kn=function(){var or=rr()(Mn()().mark(function ur(){return Mn()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:return Ir(!0),Rr.next=3,xn();case 3:Ir(!1);case 4:case"end":return Rr.stop()}},ur)}));return function(){return or.apply(this,arguments)}}(),Yr=function(){var or=rr()(Mn()().mark(function ur(){return Mn()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:return sa(!0),Rr.next=3,Rn();case 3:sa(!1);case 4:case"end":return Rr.stop()}},ur)}));return function(){return or.apply(this,arguments)}}(),na=pe<=0,ca=vt!=null?vt:pe>=Pe-1;return(0,Ee.Z)(Se[Ie.PreviousImage].shortcut,function(){na||Kn()},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.NextImage].shortcut,function(){ca||Yr()},{exactMatch:!0}),(0,x.jsxs)("div",{className:"dds-annotator-toppagination",children:[(0,x.jsx)(L.Z,{title:pr("DDSAnnotator.prev"),children:(0,x.jsx)(C.ZP,{className:c()("dds-annotator-toppagination-btn",{"dds-annotator-toppagination-btn-disabled":na}),type:"primary",icon:(0,x.jsx)(Hr.Z,{}),loading:ta,onClick:Kn})}),kn||(0,x.jsxs)("div",{className:"dds-annotator-toppagination-scale-text",children:[pe+1," / ",Pe]}),(0,x.jsx)(L.Z,{title:pr("DDSAnnotator.next"),children:(0,x.jsx)(C.ZP,{className:c()("dds-annotator-toppagination-btn",{"dds-annotator-toppagination-btn-disabled":ca}),type:"primary",icon:(0,x.jsx)(Da.Z,{}),loading:Or,onClick:Yr})})]})},ia),aa=function(pe){var Pe=pe.mode,kn=pe.currImageItem,vt=pe.modal,Nn=pe.framesData,xn=pe.drawData,wn=pe.editState,Rn=pe.setEditState,vr=pe.hadChangeRecord,pr=pe.categories,Mr=pe.translateObject,Ln=pe.flagSaved,ta=pe.onCancel,Ir=pe.onSave,lr=pe.onCommit,Ar=pe.onReviewModify,Or=pe.onReviewAccept,sa=pe.onReviewReject,Kn=pe.classificationOptions,Yr=pe.isInAiSession,na=(0,z.bU)(),ca=na.localeText,or=wn.isRequiring,ur=function(et){return Rn(function(Mt){Mt.isRequiring=et})},Vr=(0,g.useCallback)(function(Le){var et=[];return Nn?et=Nn.objects.map(function(Mt){var Dt={};return Mt.forEach(function(Vt,cn){if(Vt&&!Vt.frameEmpty){var hn=Mr==null?void 0:Mr(Vt),St=hn.labelId,pn=hn.attributes,Qn=hn.labelValue;Dt.labelId=St,Dt.attributes=pn,Dt.labelValue||(Dt.labelValue={}),Dt.labelValue[String(cn)]=Qn}}),Dt}):et=Le.objectList.map(function(Mt){return Mr==null?void 0:Mr(Mt)}),[(Nn==null?void 0:Nn.id)||(kn==null?void 0:kn.id)||"",[].concat(Qt()(Le.classifications.map(function(Mt){var Dt,Vt=pr.find(function(cn){return cn.id===Mt.labelId});return t()(t()({},Mt),{},{attributes:Mt.attributes||(Vt==null||(Dt=Vt.attributes)===null||Dt===void 0?void 0:Dt.map(function(){return null}))||[]})})),Qt()(et)),Nn?Gt()({},Nn.activeIndex,{}):void 0]},[kn,Mr,Nn]),Rr=function(et){var Mt=[];return Kn==null||Kn.forEach(function(Dt,Vt){var cn=et.find(function(hn){return hn.labelId===Dt.id});(!cn||$(cn.labelValue))&&Mt.push(ca("DDSAnnotator.save.check.classification",{idx:Vt+1}))}),et.forEach(function(Dt,Vt){var cn,hn=pr.find(function(St){return St.id===Dt.labelId});hn!=null&&(cn=hn.attributes)!==null&&cn!==void 0&&cn.find(function(St,pn){var Qn;return St.required&&$((Qn=Dt.attributes)===null||Qn===void 0?void 0:Qn[pn])})&&Mt.push(ca("DDSAnnotator.save.check.label",{idx:Vt+1,labelName:hn.labelName}))}),Mt.length>0?(n.Z.warning({width:480,title:ca("DDSAnnotator.save.check.error"),content:(0,x.jsxs)("div",{children:[Mt.map(function(Dt,Vt){return(0,x.jsxs)("span",{children:[Dt,(0,x.jsx)("br",{})]},Vt)}),(0,x.jsx)("span",{children:ca("DDSAnnotator.save.check.tip")})]})}),!0):!1},Br=function(){var Le=rr()(Mn()().mark(function et(){var Mt,Dt,Vt,cn;return Mn()().wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(!(or||!Ir||Yr())){St.next=2;break}return St.abrupt("return");case 2:if(Mt=Vr(xn),Dt=s()(Mt,2),Vt=Dt[0],cn=Dt[1],console.log(">>> save",Vt,cn),!Rr(cn)){St.next=6;break}return St.abrupt("return");case 6:return ur(!0),St.prev=7,St.next=10,Ir(Vt,cn);case 10:Ln==null||Ln(),St.next=16;break;case 13:St.prev=13,St.t0=St.catch(7),console.error(St.t0);case 16:ur(!1);case 17:case"end":return St.stop()}},et,null,[[7,13]])}));return function(){return Le.apply(this,arguments)}}(),Cr=function(){var Le=rr()(Mn()().mark(function et(){var Mt,Dt,Vt,cn;return Mn()().wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(!(or||!lr||Yr())){St.next=2;break}return St.abrupt("return");case 2:if(Mt=Vr(xn),Dt=s()(Mt,2),Vt=Dt[0],cn=Dt[1],!Rr(cn)){St.next=5;break}return St.abrupt("return");case 5:return ur(!0),St.prev=6,St.next=9,lr(Vt,cn);case 9:St.next=14;break;case 11:St.prev=11,St.t0=St.catch(6),console.error(St.t0);case 14:ur(!1);case 15:case"end":return St.stop()}},et,null,[[6,11]])}));return function(){return Le.apply(this,arguments)}}(),V=function(){var Le=rr()(Mn()().mark(function et(){return Mn()().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:Pe===W.je.Review&&sa&&sa.apply(void 0,Qt()(Vr(xn)));case 1:case"end":return Dt.stop()}},et)}));return function(){return Le.apply(this,arguments)}}(),Z=function(){var Le=rr()(Mn()().mark(function et(){return Mn()().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:Pe===W.je.Review&&Or&&Or.apply(void 0,Qt()(Vr(xn)));case 1:case"end":return Dt.stop()}},et)}));return function(){return Le.apply(this,arguments)}}(),fe=function(){var Le=rr()(Mn()().mark(function et(){return Mn()().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:Pe===W.je.Review&&Ar&&Ar.apply(void 0,Qt()(Vr(xn)));case 1:case"end":return Dt.stop()}},et)}));return function(){return Le.apply(this,arguments)}}(),Ce=function(){var Le=rr()(Mn()().mark(function et(){return Mn()().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:if(!(Pe===W.je.Edit&&vr)){Dt.next=3;break}return vt.confirm({getContainer:function(){return document.body},content:ca("DDSAnnotator.confirmLeave.content"),cancelText:ca("DDSAnnotator.confirmLeave.cancel"),okText:ca("DDSAnnotator.confirmLeave.ok"),okButtonProps:{danger:!0},onOk:function(){ta&&ta()}}),Dt.abrupt("return");case 3:ta&&ta();case 4:case"end":return Dt.stop()}},et)}));return function(){return Le.apply(this,arguments)}}();return{onSaveAnnotations:Br,onCommitAnnotations:Cr,onCancelAnnotations:Ce,onRejectAnnotations:V,onAcceptAnnotations:Z,onModifyAnnotations:fe}},Pr=aa,Zr=e(97375),va;(function($e){})(va||(va={}));function Na($e,pe,Pe){return eo.apply(this,arguments)}function eo(){return eo=rr()(Mn()().mark(function $e(pe,Pe,kn){var vt;return Mn()().wrap(function(xn){for(;;)switch(xn.prev=xn.next){case 0:return vt="".concat("https://api.deepdataspace.com","/tasks/").concat(pe),xn.abrupt("return",(0,Zr.request)(vt,t()({method:"POST",data:t()({},Pe)},kn||{hideCodeErrorMsg:!0})));case 2:case"end":return xn.stop()}},$e)})),eo.apply(this,arguments)}function Va($e,pe){var Pe="".concat("https://api.deepdataspace.com","/task_statuses/").concat($e);return(0,Zr.request)(Pe,t()({method:"GET"},pe||{}))}function Xt($e,pe){return Cn.apply(this,arguments)}function Cn(){return Cn=rr()(Mn()().mark(function $e(pe,Pe){var kn,vt,Nn,xn,wn=arguments;return Mn()().wrap(function(vr){for(;;)switch(vr.prev=vr.next){case 0:kn=wn.length>2&&wn[2]!==void 0?wn[2]:5e3,vt=wn.length>3&&wn[3]!==void 0?wn[3]:1e3,Nn=0;case 3:if(!(NnQn?Jn.score:Qn},((et=Mt[0])===null||et===void 0?void 0:et.score)||0),hn=Mt.map(function(Qn){var Jn=t()({},(0,qr.JP)(Qn.bbox,Rn,vr)),Sr=Qn.score/cn;return{rect:t()(t()({},Jn),{},{visible:!0}),labelId:xn.latestLabelId,type:Q.gr.Rectangle,hidden:!1,status:Sr>=Vt?W.TK.Checked:W.TK.Unchecked,conf:Sr,color:pr(xn.latestLabelId,!0)}}).reverse(),Nn(function(Qn){Qn.isBatchEditing=!0,Qn.limitConf=Vt;var Jn=Qn.objectList.filter(function(Sr){return(Sr==null?void 0:Sr.status)===W.TK.Commited});Qn.objectList=[].concat(Qt()(Jn),Qt()(hn)),Qn.creatingObject&&Qn.objectList[Qn.activeObjectIndex]&&(Qn.creatingObject=t()({},Qn.objectList[Qn.activeObjectIndex])),Qn.prompt.sessionId=Le}),pn.abrupt("return",!0);case 18:case"end":return pn.stop()}},Br)}));return function(Cr,V){return Rr.apply(this,arguments)}}(),sa=function(){var Rr=rr()(Mn()().mark(function Br(Cr,V){var Z,fe,Ce,Le,et,Mt,Dt,Vt;return Mn()().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if(!(!Pe||!V)){hn.next=2;break}return hn.abrupt("return");case 2:if(Z={prompts:Ar(V||[]),labelTypes:["bbox"]},!Cr.prompt.sessionId){hn.next=7;break}Object.assign(Z,{sessionId:Cr.prompt.sessionId}),hn.next=11;break;case 7:return hn.next=9,Oa(Pe.url);case 9:fe=hn.sent,Object.assign(Z,{promptImage:fe,inferImage:fe});case 11:return hn.next=13,jn(Q.HE.IVP,Z);case 13:if(Ce=hn.sent,Le=Ce.result,et=Ce.sessionId,!Le){hn.next=22;break}return Mt=Le.objects,Dt=.3,Vt=Mt.filter(function(St){return St.bbox}).map(function(St){var pn=St.bbox,Qn=s()(pn,4),Jn=Qn[0],Sr=Qn[1],Lr=Qn[2],Qr=Qn[3],ya=(0,qr.$S)((0,qr.Aw)({xmin:Jn,ymin:Sr,xmax:Lr,ymax:Qr}),Rn,vr);return{rect:t()(t()({},ya),{},{visible:!0}),labelId:xn.latestLabelId,type:Q.gr.Rectangle,hidden:!1,status:St.score>=Dt?W.TK.Checked:W.TK.Unchecked,conf:St.score,color:pr(xn.latestLabelId,!0)}}).reverse(),Nn(function(St){St.isBatchEditing=!0,St.limitConf=Dt;var pn=St.objectList.filter(function(Qn){return Qn.status===W.TK.Commited});St.objectList=[].concat(Qt()(pn),Qt()(Vt)),St.creatingObject&&St.objectList[St.activeObjectIndex]&&(St.creatingObject=t()({},St.objectList[St.activeObjectIndex])),St.prompt.promptsQueue=V,St.prompt.sessionId=et,St.prompt.creatingPrompt=void 0}),hn.abrupt("return",!0);case 22:case"end":return hn.stop()}},Br)}));return function(Cr,V){return Rr.apply(this,arguments)}}(),Kn=function(){var Rr=rr()(Mn()().mark(function Br(Cr,V){var Z,fe,Ce,Le,et,Mt,Dt;return Mn()().wrap(function(cn){for(;;)switch(cn.prev=cn.next){case 0:if(!(!Pe||!V)){cn.next=2;break}return cn.abrupt("return");case 2:if(Z={prompts:Ar(V||[]),labelTypes:["mask"]},!Cr.prompt.sessionId){cn.next=7;break}Object.assign(Z,{sessionId:Cr.prompt.sessionId}),cn.next=11;break;case 7:return cn.next=9,Oa(Pe.url);case 9:fe=cn.sent,Object.assign(Z,{promptImage:fe,inferImage:fe});case 11:return cn.next=13,jn(Q.HE.IVP,Z);case 13:if(Ce=cn.sent,Le=Ce.result,et=Ce.sessionId,!Le){cn.next=22;break}return wn(function(hn){hn.annotsDisplayOptions.colorByCategory=!1}),Mt=Le.objects,Dt=Mt.filter(function(hn){return!!hn.mask}).map(function(hn){var St,pn=pr(xn.latestLabelId),Qn=((St=hn.mask)===null||St===void 0?void 0:St.counts)||"";return{type:Q.gr.Mask,hidden:!1,labelId:xn.latestLabelId,maskRle:Qn,maskCanvasElement:(0,gr.ei)(Qn,Rn,pn),status:W.TK.Checked,conf:hn.score,color:pr(xn.latestLabelId,!0)}}),Nn(function(hn){hn.isBatchEditing=!0;var St=hn.objectList.filter(function(pn){return pn.status===W.TK.Commited});hn.objectList=[].concat(Qt()(St),Qt()(Dt)),hn.creatingObject&&hn.objectList[hn.activeObjectIndex]&&(hn.creatingObject=t()({},hn.objectList[hn.activeObjectIndex])),hn.prompt.promptsQueue=V,hn.prompt.sessionId=et,hn.prompt.creatingPrompt=void 0}),cn.abrupt("return",!0);case 22:case"end":return cn.stop()}},Br)}));return function(Cr,V){return Rr.apply(this,arguments)}}(),Yr=function(){var Rr=rr()(Mn()().mark(function Br(Cr,V){var Z,fe,Ce,Le,et,Mt,Dt,Vt;return Mn()().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if(V){hn.next=2;break}return hn.abrupt("return");case 2:return hn.next=4,lr(Cr,{density:Cr.pointResolution,prompts:Ar(V||[])});case 4:return Z=hn.sent,hn.next=7,jn(Q.HE.SegmentByPolygon,Z);case 7:if(fe=hn.sent,Ce=fe.result,Le=fe.sessionId,!Ce){hn.next=17;break}if(et=Ce.polygons,!(et&&et.length>0)){hn.next=17;break}return Dt=et.filter(function(St){return St.length>=6}).map(function(St){for(var pn=[],Qn=0;Qn-1&&Le[Cr.activeObjectIndex]&&Cr.creatingObject&&(Le[Cr.activeObjectIndex]=t()(t()({},Le[Cr.activeObjectIndex]),Cr.creatingObject)),et=Le.filter(function(Jn){return Jn.type===Q.gr.Skeleton&&Jn.status===W.TK.Checked}),et.length>0&&(Mt=et.map(function(Jn){return{keypoints:Jn.keypoints?(0,qr.$G)(Jn.keypoints.points,Rn,vr).points:void 0,bbox:Jn.rect?(0,qr.cx)(Jn.rect,vr,Rn):void 0}}),Object.assign(Ce,{objects:Mt}))),Qn.next=7,jn(Q.HE.Pose,Ce);case 7:if(Dt=Qn.sent,Vt=Dt.result,cn=Dt.sessionId,!Vt){Qn.next=16;break}if(hn=Vt.objects,!(hn&&hn.length>0)){Qn.next=16;break}return St=hn.map(function(Jn){var Sr=Jn.bbox,Lr=Jn.keypoints,Qr=Jn.score,ya={labelId:xn.latestLabelId,color:pr(xn.latestLabelId),type:Q.gr.Skeleton,hidden:!1,conf:Qr,status:W.TK.Checked};if(Sr){var da=(0,qr.JP)(Sr,Rn,vr);Object.assign(ya,{rect:t()({visible:!0},da)})}if(Lr&&V&&fe&&Z){var ba=(0,qr.OX)(Lr,Z,fe,Rn,vr);Object.assign(ya,{keypoints:{points:ba,lines:V}})}return ya}),Nn(function(Jn){Jn.isBatchEditing||(Jn.isBatchEditing=!0);var Sr=Jn.objectList.filter(function(Lr){return Lr.status===W.TK.Commited});Jn.objectList=[].concat(Qt()(Sr),Qt()(St)),Jn.creatingObject&&Jn.objectList[Jn.activeObjectIndex]&&(Jn.creatingObject=t()({},Jn.objectList[Jn.activeObjectIndex])),Jn.prompt.sessionId=cn}),Qn.abrupt("return",!0);case 16:case"end":return Qn.stop()}},Br)}));return function(Cr){return Rr.apply(this,arguments)}}(),or=function(){var Rr=rr()(Mn()().mark(function Br(Cr){var V,Z,fe,Ce,Le,et,Mt,Dt,Vt,cn,hn,St,pn,Qn,Jn;return Mn()().wrap(function(Lr){for(;;)switch(Lr.prev=Lr.next){case 0:if(!(!((V=Cr.prompt.creatingPrompt)!==null&&V!==void 0&&V.stroke)||!((Z=Cr.prompt.creatingPrompt)!==null&&Z!==void 0&&Z.radius))){Lr.next=2;break}return Lr.abrupt("return");case 2:if(Ce=Cr.prompt.creatingPrompt,Le=Ce.stroke,et=Ce.radius,Mt=Cr.objectList.filter(function(Qr){return Qr.type===Q.gr.Mask}),!(Mt.length<2)){Lr.next=8;break}return S.ZP.error(Ln("DDSAnnotator.smart.tip.edgeStitchError")),vt(function(Qr){Qr.prompt.creatingPrompt=void 0}),Lr.abrupt("return");case 8:return Dt=Mt.map(function(Qr){return{counts:Qr.maskRle||"",size:[Rn.height,Rn.width]}}),Vt=Le.reduce(function(Qr,ya){var da=ya.x,ba=ya.y,qa=(0,qr.AR)([da,ba],Rn,vr);return Qr.concat([qa.x,qa.y])},[]),Lr.next=12,lr(Cr,{masks:Dt,prompts:[{type:W.Ae.Stroke,stroke:Vt,radius:et}]});case 12:return cn=Lr.sent,Lr.next=15,jn(Q.HE.MaskEdgeStitching,cn);case 15:if(hn=Lr.sent,St=hn.result,pn=hn.sessionId,!(St&&((fe=St.masks)===null||fe===void 0?void 0:fe.length)>0)){Lr.next=23;break}return Qn=Mt.map(function(Qr,ya){var da,ba,qa=((da=St.masks)===null||da===void 0||(ba=da[ya])===null||ba===void 0?void 0:ba.counts)||"";return t()(t()({},Qr),{},{maskRle:qa,maskCanvasElement:(0,gr.ei)(qa,Rn,Qr.color)})}),Jn=Cr.objectList.filter(function(Qr){return Qr.type!==Q.gr.Mask}),Nn(function(Qr){Qr.objectList=[].concat(Qt()(Jn),Qt()(Qn)),Qr.prompt.creatingPrompt=void 0,Qr.prompt.sessionId=pn}),Lr.abrupt("return",!0);case 23:case"end":return Lr.stop()}},Br)}));return function(Cr){return Rr.apply(this,arguments)}}(),ur=function(){var Rr=rr()(Mn()().mark(function Br(Cr){var V,Z,fe,Ce,Le;return Mn()().wrap(function(Mt){for(;;)switch(Mt.prev=Mt.next){case 0:if(Pe){Mt.next=2;break}return Mt.abrupt("return");case 2:return Mt.t0=t(),Mt.next=5,Oa(Pe.url);case 5:return Mt.t1=Mt.sent,Mt.t2={image:Mt.t1},Mt.t3=Cr,Z=(0,Mt.t0)(Mt.t2,Mt.t3),Mt.next=11,jn(Q.HE.SegmentEverything,Z);case 11:if(fe=Mt.sent,Ce=fe.result,!(Ce&&((V=Ce.masks)===null||V===void 0?void 0:V.length)>0)){Mt.next=18;break}return wn(function(Dt){Dt.annotsDisplayOptions.colorByCategory=!1}),Le=Ce.masks.map(function(Dt){var Vt=pr(xn.latestLabelId),cn=(Dt==null?void 0:Dt.counts)||"";return{type:Q.gr.Mask,hidden:!1,labelId:xn.latestLabelId,maskRle:cn,maskCanvasElement:(0,gr.ei)(cn,Rn,Vt),conf:1,status:W.TK.Checked,color:Vt}}),Nn(function(Dt){Dt.objectList=Le,Dt.isBatchEditing=!0}),Mt.abrupt("return",!0);case 18:case"end":return Mt.stop()}},Br)}));return function(Cr){return Rr.apply(this,arguments)}}(),Vr=(0,g.useCallback)(function(){var Rr=rr()(Mn()().mark(function Br(Cr){var V,Z,fe,Ce,Le,et,Mt,Dt,Vt,cn;return Mn()().wrap(function(St){for(;;)switch(St.prev=St.next){case 0:if(V=Cr.type,Z=Cr.drawData,fe=Cr.text,Ce=Cr.promptsQueue,Le=Cr.segmentEverythingParams,!(xn.isRequiring||!Pe)){St.next=3;break}return St.abrupt("return");case 3:et=Z||kn,Mt=S.ZP.loading(Ln("DDSAnnotator.smart.msg.loading"),1e5),St.prev=5,Ir(!0),wn(function(pn){pn.isRequiring=!0}),Dt=V||Q.Zo[et.selectedTool],St.t0=Dt,St.next=St.t0===Q.gr.Rectangle?12:St.t0===Q.gr.Skeleton?22:St.t0===Q.gr.Polygon?26:St.t0===Q.gr.Mask?30:54;break;case 12:if(et.selectedModel[et.selectedTool]!==Q.HE.Detection){St.next=18;break}return St.next=15,Or(et,fe||"");case 15:Vt=St.sent,St.next=21;break;case 18:return St.next=20,sa(et,Ce);case 20:Vt=St.sent;case 21:return St.abrupt("break",56);case 22:return St.next=24,ca(et);case 24:return Vt=St.sent,St.abrupt("break",56);case 26:return St.next=28,Yr(et,Ce);case 28:return Vt=St.sent,St.abrupt("break",56);case 30:if(cn=et.selectedModel[et.selectedTool],cn!==Q.HE.SegmentEverything){St.next=44;break}if(et.selectedSubTool!==Q.jB.AutoEdgeStitching){St.next=38;break}return St.next=35,or(et);case 35:Vt=St.sent,St.next=42;break;case 38:if(et.selectedSubTool!==Q.jB.AutoSegmentEverything){St.next=42;break}return St.next=41,ur(Le);case 41:Vt=St.sent;case 42:St.next=53;break;case 44:if(cn!==Q.HE.IVP){St.next=50;break}return St.next=47,Kn(et,Ce);case 47:Vt=St.sent,St.next=53;break;case 50:return St.next=52,na(et,Ce);case 52:Vt=St.sent;case 53:return St.abrupt("break",56);case 54:return S.ZP.warning("Plan to Support!"),St.abrupt("break",56);case 56:Vt&&S.ZP.success(Ln("DDSAnnotator.smart.msg.success")),St.next=63;break;case 59:St.prev=59,St.t1=St.catch(5),Nn(function(pn){pn.prompt.creatingPrompt&&(pn.prompt.creatingPrompt=void 0)}),S.ZP.error(Ln("DDSAnnotator.smart.msg.error"));case 63:return St.prev=63,Ir(!1),wn(function(pn){pn.isRequiring=!1}),vt(function(pn){pn.prompt.activeRectWhileLoading=void 0}),Mt(),St.finish(63);case 69:case"end":return St.stop()}},Br,null,[[5,59,63,69]])}));return function(Br){return Rr.apply(this,arguments)}}(),[kn,Pe,xn,Rn,vr,pr,Nn]);return{onAiAnnotation:Vr}},xo=go;function _a($e){var pe=$e.setDrawDataWithHistory,Pe=$e.categories,kn=(0,g.useCallback)(function(xn,wn){var Rn=Pe.find(function(vr){return vr.id===xn.labelId});if(Rn!=null&&Rn.attributes&&Rn.attributes.length>0)return{index:wn,labelId:xn.labelId,attributes:Rn.attributes,values:xn.attributes||[]}},[Pe]),vt=(0,g.useCallback)(function(xn){pe(function(wn){if(wn.editingAttribute){if(wn.objectList[wn.editingAttribute.index])wn.objectList[wn.editingAttribute.index].attributes=xn;else{var Rn=wn.classifications.findIndex(function(pr){var Mr;return pr.labelId===((Mr=wn.editingAttribute)===null||Mr===void 0?void 0:Mr.labelId)});if(Rn>-1)wn.classifications[Rn].attributes=xn;else{var vr;wn.classifications.push({labelId:(vr=wn.editingAttribute)===null||vr===void 0?void 0:vr.labelId,labelValue:null,attributes:xn})}}wn.editingAttribute=void 0}})},[pe]),Nn=function(){pe(function(wn){wn.editingAttribute=void 0})};return{judgeEditingAttribute:kn,onConfirmAttibuteEdit:vt,onCancelAttibuteEdit:Nn}}var Mo=e(95073),so=e(43112),Ca=e(5397),Ba=e(21325),So=e(68716),Xo={screenX:NaN,screenY:NaN,clientX:NaN,clientY:NaN,pageX:NaN,pageY:NaN,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},ei=function($e){var pe=(0,so.CR)((0,Ca.Z)(Xo),2),Pe=pe[0],kn=pe[1];return(0,Ba.Z)("mousemove",function(vt){var Nn=vt.screenX,xn=vt.screenY,wn=vt.clientX,Rn=vt.clientY,vr=vt.pageX,pr=vt.pageY,Mr={screenX:Nn,screenY:xn,clientX:wn,clientY:Rn,pageX:vr,pageY:pr,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},Ln=(0,So.n)($e);if(Ln){var ta=Ln.getBoundingClientRect(),Ir=ta.left,lr=ta.top,Ar=ta.width,Or=ta.height;Mr.elementPosX=Ir+window.pageXOffset,Mr.elementPosY=lr+window.pageYOffset,Mr.elementX=vr-Mr.elementPosX,Mr.elementY=pr-Mr.elementPosY,Mr.elementW=Ar,Mr.elementH=Or}kn(Mr)},{target:function(){return document}}),Pe},ao=e(41260);function hi($e){var pe=$e.isRequiring,Pe=$e.visible,kn=$e.minPadding,vt=kn===void 0?{top:0,left:0}:kn,Nn=$e.allowMove,xn=$e.drawData,wn=$e.cursorSize,Rn=$e.onClickMaskBg,vr=$e.hideReferenceLine,pr=(0,g.useRef)(null),Mr=(0,Mo.Z)(function(){return pr.current}),Ln=ei(function(){return pr.current}),ta=(0,g.useState)({width:0,height:0}),Ir=s()(ta,2),lr=Ir[0],Ar=Ir[1],Or=(0,M.x)({width:lr.width,height:lr.height,scale:1}),sa=s()(Or,2),Kn=sa[0],Yr=sa[1],na=(0,g.useRef)({x:0,y:0}),ca=(0,g.useRef)(void 0),or=(0,g.useMemo)(function(){return t()(t()({},Ln),{},{elementW:Kn.width,elementH:Kn.height,elementX:Ln.elementX-na.current.x,elementY:Ln.elementY-na.current.y})},[Ln,Kn]),ur=(0,M.x)(null),Vr=s()(ur,2),Rr=Vr[0],Br=Vr[1],Cr=function(Lr,Qr){if(Lr!=null&&Lr.width&&Qr!==null&&Qr!==void 0&&Qr.height){var ya=Qr.width,da=Qr.height,ba=(0,qr.t9)(Lr.width,Lr.height,ya-vt.left*2,da-vt.top*2),qa=s()(ba,3),oo=qa[0],xa=qa[1],Tr=qa[2];na.current={x:(ya-oo)*.5,y:(da-xa)*.5},Yr({scale:Tr,width:Lr.width*Tr,height:Lr.height*Tr}),ca.current=void 0}};(0,g.useEffect)(function(){lr&&Mr&&Cr(lr,Mr)},[Mr]);var V=function(){if(Mr){var Lr=Mr==null?void 0:Mr.width,Qr=Mr==null?void 0:Mr.height,ya=.5,da=.5,ba=Lr/2,qa=Qr/2;ca.current&&(ya=ca.current.posRatioX,da=ca.current.posRatioY,ba=ca.current.mouseX,qa=ca.current.mouseY);var oo=ba-Kn.width*ya,xa=qa-Kn.height*da;na.current={x:oo,y:xa}}};(0,g.useEffect)(function(){V()},[Kn]);var Z=function(Lr,Qr,ya){!Pe||pe||Yr(function(da){var ba=Lr?Math.min(Q.Fv,(0,ao.O)(da.scale+Qr,2)):Math.max(Q.vL,(0,ao.O)(da.scale-Qr,2));if((!ca.current||Ln.elementX!==ca.current.mouseX||Ln.elementY!==ca.current.mouseY)&&!ya&&!isNaN(or.elementX)&&!isNaN(Ln.elementX)&&Kn.width){var qa={posRatioX:or.elementX/Kn.width,posRatioY:or.elementY/Kn.height,mouseX:Ln.elementX,mouseY:Ln.elementY};ca.current=qa}da.scale=ba,da.width=lr.width*ba,da.height=lr.height*ba})},fe=(0,g.useCallback)(function(){Z(!0,Q.yj,!0)},[Q.yj,Z]),Ce=(0,g.useCallback)(function(){Z(!1,Q.yj,!0)},[Q.yj,Z]),Le=function(Lr){if(!(!Pe||pe)){var Qr=Lr.deltaY;Qr>0?Z(!1,Q.oP):Qr<0&&Z(!0,Q.oP)}},et=(0,g.useCallback)(function(){ca.current=void 0,Mr&&lr&&Cr(lr,Mr)},[lr.width,lr.height,Mr==null?void 0:Mr.width,Mr==null?void 0:Mr.height]);(0,g.useEffect)(function(){Pe||(Ar({width:0,height:0}),Yr({scale:1,width:0,height:0}),na.current={x:0,y:0},ca.current=void 0)},[Pe]);var Mt=(0,g.useState)(!1),Dt=s()(Mt,2),Vt=Dt[0],cn=Dt[1];(0,Ba.Z)("mousedown",function(){!Pe||!pr.current||!(0,qr.jt)(Ln)||(cn(!0),Br({x:or.elementX,y:or.elementY}))}),(0,Ba.Z)("mousemove",function(){if(Pe&&Rr&&Nn&&Vt){var Sr=or.elementX-Rr.x,Lr=or.elementY-Rr.y,Qr=na.current,ya=Qr.x,da=Qr.y;na.current={x:ya+Sr,y:da+Lr}}}),(0,Ba.Z)("mouseup",function(){if(cn(!1),!(!Pe||!Nn)&&Rr){Br(null);return}}),(0,g.useEffect)(function(){Br(Nn?{x:or.elementX,y:or.elementY}:null)},[Nn]);var hn=function(Lr,Qr){var ya=Lr.target,da={width:ya.naturalWidth,height:ya.naturalHeight};Ar(da),Mr&&da&&!Qr&&Cr(da,Mr)},St=function(Lr){(0,qr.jt)(or)||Rn==null||Rn(Lr)},pn=(0,g.useMemo)(function(){var Sr=[Q.jB.AutoEdgeStitching,Q.jB.AutoSegmentByStroke,Q.jB.BrushAdd,Q.jB.BrushErase].includes(xn.selectedSubTool);return xn.creatingObject&&xn.activeObjectIndex>-1&&[Q.gr.Mask,Q.gr.Polygon].includes(xn.creatingObject.type)?Sr:xn.selectedTool!==Q.ru.Drag&&!xn.isBatchEditing?[Q.ru.Mask,Q.ru.Polygon].includes(xn.selectedTool)&&Sr:!1},[xn.selectedTool,xn.selectedSubTool]),Qn=(0,g.useMemo)(function(){return xn.selectedTool!==Q.ru.Drag&&!pn&&!vr},[xn.selectedTool,pn,vr]),Jn=function(Lr){var Qr=Lr.children,ya=Lr.className;return Pe?(0,x.jsxs)("div",{ref:pr,onWheel:Le,onClick:St,className:ya,children:[Qr,Qn&&!Nn&&(0,qr.jt)(or)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:Ln.elementX-18,height:1,left:0,top:0,transform:"translateY(".concat(Ln.elementY,"px)")}}),(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",height:1,width:Ln.elementW-Ln.elementX-18,right:0,top:0,transform:"translateY(".concat(Ln.elementY,"px)")}}),(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:1,height:Ln.elementY-18,left:0,top:0,transform:"translateX(".concat(Ln.elementX-1,"px")}}),(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:1,height:Ln.elementH-Ln.elementY-18,left:0,bottom:0,transform:"translateX(".concat(Ln.elementX-1,"px")}})]}),pn&&wn>0&&(0,qr.jt)(Ln)&&(0,qr.jt)(or)&&!Nn&&(0,x.jsx)("div",{style:{position:"fixed",backgroundColor:"rgba(255, 255, 255, 0.5)",border:"1px solid rgba(255, 255, 255, 0.7)",width:wn*Kn.scale,height:wn*Kn.scale,borderRadius:wn*Kn.scale/2,left:0,top:0,transformOrigin:"top left",transform:"translate(".concat(Ln.clientX-wn*Kn.scale/2,"px, ").concat(Ln.clientY-wn*Kn.scale/2,"px)")}})]}):null};return{CanvasContainer:Jn,scale:Kn.scale,containerRef:pr,naturalSize:lr,clientSize:{width:Kn.width,height:Kn.height},containerSize:Mr,containerMouse:t()(t()({},Ln),{},{elementW:(Mr==null?void 0:Mr.width)||Ln.elementW,elementH:(Mr==null?void 0:Mr.height)||Ln.elementH}),contentMouse:or,imagePos:na,isMousePress:Vt,onLoadImg:hn,onZoomIn:fe,onZoomOut:Ce,onWheelMove:Le,onReset:et}}var wi=function(pe){var Pe=pe.index,kn=pe.targetElement,vt=pe.imagePos;return(0,x.jsx)(A,{children:(0,x.jsx)("div",{className:"dds-annotator-popover-menu",style:{left:kn.x+vt.x+5,top:kn.y+vt.y+5},children:(0,x.jsx)("div",{className:"dds-annotator-popover-menu-content",children:(0,x.jsx)("span",{className:"dds-annotator-popover-menu-text",children:"".concat(Pe+1," ").concat(kn.name)})})})})},Go=wi,$o=e(34095),si=e(14464),ai=e(81179),Si=function(pe){var Pe=pe.visible,kn=pe.drawData,vt=pe.editState,Nn=pe.clientSize,xn=pe.imagePos,wn=pe.containerMouse,Rn=pe.canvasRef,vr=pe.activeCanvasRef,pr=pe.imgRef,Mr=pe.objectHooksMap,Ln=pe.videoLoading,ta=function(or,ur,Vr){var Rr=[(0,si.a7)(ur,$o.rl.DEFAULT),(0,si.a7)(ur,$o.mh.DEFAULT),$o.s_.DEFAULT],Br=Rr[0],Cr=Rr[1],V=Rr[2];return Vr==="focus"?(V=$o.s_.FOCUS,Br=(0,si.a7)(ur,$o.rl.FOCUS),Cr=(0,si.a7)(ur,$o.mh.FOCUS)):Vr==="justCreated"?(V=$o.s_.JUST_CREATED,Cr=(0,si.a7)(ur,$o.mh.JUST_CREATED)):Vr==="editing"?(V=$o.s_.CREATING,Br=(0,si.a7)(ur,$o.rl.CREATING),Cr=(0,si.a7)(ur,$o.mh.CREATING)):Vr==="creating"&&(V=$o.s_.CREATING,Br=$o.XQ.CREATING,Cr=$o.Bt.CREATING),t()({strokeColor:Br,fillColor:Cr,maskAlpha:V,strokeDash:[0],thickness:2,pointAplha:1},or.customStyles||{})},Ir=function(or){var ur=ta(or,or.color,"creating");Mr[or.type].renderCreatingObject({object:or,color:or.color,styles:ur})},lr=function(or){if(!or.hidden){var ur=(0,qr.lT)(or,{x:-xn.current.x,y:-xn.current.y}),Vr=vt.focusObjectIndex===kn.activeObjectIndex,Rr=ta(or,or.color,Vr?"focus":"editing");Mr[or.type].renderEditingObject({object:ur,color:or.color,styles:Rr,isFocus:Vr})}},Ar=function(or){var ur=or.prompt;if(ur.creatingPrompt||ur.promptsQueue||ur.activeRectWhileLoading){var Vr,Rr;or.selectedTool===Q.ru.Mask||((Vr=or.creatingObject)===null||Vr===void 0?void 0:Vr.type)===Q.gr.Mask?Mr[Q.gr.Mask].renderPrompt({prompt:ur}):or.selectedTool===Q.ru.Polygon||((Rr=or.creatingObject)===null||Rr===void 0?void 0:Rr.type)===Q.gr.Polygon?Mr[Q.gr.Polygon].renderPrompt({prompt:ur}):or.selectedTool===Q.ru.Rectangle&&or.selectedModel[or.selectedTool]===Q.HE.IVP&&Mr[Q.gr.Rectangle].renderPrompt({prompt:ur})}},Or=function(or){if(!(!Pe||!vr.current)){(0,ai.ix)(vr.current,{width:wn.elementW,height:wn.elementH}),vr.current.getContext("2d").imageSmoothingEnabled=!1,(0,ai.UN)(vr.current);var ur=or||kn;ur.creatingObject&&(ur.activeObjectIndex>-1?lr(ur.creatingObject):Ir(ur.creatingObject)),Ar(ur)}},sa=function(or,ur,Vr){var Rr=(0,qr.lT)(or,{x:-xn.current.x,y:-xn.current.y}),Br=Rr.type,Cr=ur?"focus":Vr?"justCreated":void 0,V=ta(or,or.color,Cr);(0,ai.M5)(Rn.current,kn.creatingObject?.6:1),Mr[Br].renderObject({object:Rr,color:or.color,styles:V,isFocus:ur,isJustCreated:Vr})},Kn=function(or,ur){or.forEach(function(Vr,Rr){var Br;if(!(Vr.hidden||Rr===ur||Rr===vt.focusObjectIndex||Vr.frameEmpty)){var Cr=((Br=kn.editingAttribute)===null||Br===void 0?void 0:Br.index)===Rr,V=!vt.isCtrlPressed&&Vr.status===W.TK.Checked||kn.isJustCreated&&Rr===or.length-1;sa(Vr,Cr,V)}})},Yr=function(or){if(!(!Pe||!Rn.current||!pr.current||!pr.current.complete)){if(Ln){(0,ai.UN)(Rn.current);return}(0,ai.ix)(Rn.current,{width:wn.elementW,height:wn.elementH}),Rn.current.getContext("2d").imageSmoothingEnabled=!1,(0,ai.UN)(Rn.current),(0,ai.KJ)(Rn.current,vt.imageDisplayOptions.brightness,vt.imageDisplayOptions.contrast,vt.imageDisplayOptions.saturate),(0,ai.AE)(Rn.current,pr.current,{x:xn.current.x,y:xn.current.y,width:Nn.width,height:Nn.height}),(0,ai.ku)(Rn.current);var ur=or||kn;Kn(ur.objectList,ur.activeObjectIndex),Or(ur),vt.focusObjectIndex>-1&&vt.focusObjectIndex!==kn.activeObjectIndex&&ur.objectList[vt.focusObjectIndex]&&!ur.objectList[vt.focusObjectIndex].hidden&&!ur.objectList[vt.focusObjectIndex].frameEmpty&&sa(ur.objectList[vt.focusObjectIndex],!0,!1)}},na=function(){if(vt.focusObjectIndex>-1&&kn.objectList[vt.focusObjectIndex]&&!kn.objectList[vt.focusObjectIndex].hidden&&vt.focusEleIndex>-1&&vt.focusEleType===Q.Yq.Circle){var or,ur,Vr=(or=kn.objectList[vt.focusObjectIndex].keypoints)===null||or===void 0||(ur=or.points)===null||ur===void 0?void 0:ur[vt.focusEleIndex];if(Vr)return(0,x.jsx)(Go,{index:vt.focusEleIndex,targetElement:Vr,imagePos:xn.current})}return(0,x.jsx)(x.Fragment,{})};return{updateRender:Yr,renderPopoverMenu:na}},Pi=Si;function Ei($e){var pe=$e.categories,Pe=$e.editState,kn=$e.forceColorByObject,vt=(0,g.useMemo)(function(){return(0,si.Cj)(pe.map(function(Rn){return Rn.id}))},[pe]),Nn=(0,g.useRef)(0),xn=function(vr){var pr=.618;Nn.current=vr+pr;var Mr=(vr+pr)%1,Ln=(0,si.WE)(Mr,.8,.95);return(0,si.ZT)(Ln)};(0,g.useEffect)(function(){Nn.current=0},[Pe.annotsDisplayOptions.colorByCategory]);var wn=(0,g.useCallback)(function(Rn,vr){if(!kn&&(Pe.annotsDisplayOptions.colorByCategory||vr)){var pr=pe.find(function(Mr){return Mr.id===Rn});return(pr==null?void 0:pr.renderColor)||vt[Rn]||"#fff"}else return xn(Nn.current)},[Pe.annotsDisplayOptions.colorByCategory,vt,xn,Nn.current,kn]);return{labelColors:vt,getAnnotColor:wn}}function to($e,pe){var Pe=(0,g.useRef)(),kn=(0,g.useRef)(),vt=typeof pe=="function"?pe(kn.current,$e):!0;vt&&(Pe.current=kn.current,kn.current=$e);var Nn=function(){Pe.current=void 0};return[Pe.current,Nn]}var Ga=function(pe){var Pe=pe.imagePos,kn=pe.clientSize,vt=pe.naturalSize,Nn=pe.annotations,xn=pe.setAnnotations,wn=pe.drawData,Rn=pe.setDrawData,vr=pe.setFramesData,pr=pe.editState,Mr=pe.setEditState,Ln=pe.initObjectList,ta=pe.updateRender,Ir=pe.clearHistory,lr=pe.objectsFilter,Ar=pe.labelOptions,Or=pe.customDefaultDrawData,sa=to(kn),Kn=s()(sa,2),Yr=Kn[0],na=Kn[1],ca=function(Cr,V){if(!(!kn.width||!kn.height||!vt.width||!vt.height)){if(!wn.initialized||Cr)Ln(V||Nn);else if(wn.initialized&&Yr){vr&&(vr==null||vr(function(fe){fe.objects=(0,qr.nF)(fe.objects,Yr,kn)}));var Z=(0,qr.hv)(wn,Yr,kn);Rn(Z),ta(Z),na()}}},or=(0,g.useCallback)(function(){Rn(t()(t()({},(0,m.cloneDeep)(W.f7)),{},{brushSize:wn.brushSize,selectedTool:wn.selectedTool,selectedSubTool:wn.selectedSubTool,selectedModel:wn.selectedModel,AIAnnotation:wn.AIAnnotation},Or))},[W.f7,Or,wn.brushSize,wn.selectedSubTool,wn.selectedTool,wn.AIAnnotation]),ur=(0,g.useCallback)(function(){var Br;Mr(t()(t()({},(0,m.cloneDeep)(W.rl)),{},{latestLabelId:(Ar==null||(Br=Ar[0])===null||Br===void 0?void 0:Br.id)||"",imageDisplayOptions:pr.imageDisplayOptions,annotsDisplayOptions:pr.annotsDisplayOptions}))},[W.rl,Ar,pr.imageDisplayOptions,pr.annotsDisplayOptions]),Vr=(0,g.useCallback)(function(Br){var Cr=Br!=null&&Br.objects?Qt()(Br==null?void 0:Br.objects):[],V=Br&&lr?lr(Br)||[]:Cr;xn(V),ca(!0,V)},[lr,ca]),Rr=(0,g.useCallback)(function(Br){var Cr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;xn([]),or(),ur(),V&&Ir(),Cr&&Br&&Vr(Br)},[or,ur,Ir,Vr]);return(0,g.useEffect)(function(){ta()},[wn,pr,Pe.current.x,Pe.current.y]),(0,g.useEffect)(function(){ca()},[kn.height,kn.width]),(0,g.useEffect)(function(){ca(!0)},[vt.width,vt.height]),(0,g.useEffect)(function(){Ar!=null&&Ar.length&&Mr(function(Br){if(!Br.latestLabelId||!Ar.find(function(V){return V.id===Br.latestLabelId})){var Cr;Br.latestLabelId=(Cr=Ar[0])===null||Cr===void 0?void 0:Cr.id}})},[Ar]),{rebuildDrawData:ca,resetDataWithImageData:Rr}},Jo=Ga,ti=function(pe){var Pe=pe.clientSize,kn=pe.naturalSize,vt=pe.onAutoSave,Nn=pe.setDrawData,xn=pe.translateObject,wn=pe.framesData,Rn=pe.setFramesData,vr=(0,g.useRef)(!1),pr=(0,M.x)([]),Mr=s()(pr,2),Ln=Mr[0],ta=Mr[1],Ir=(0,g.useState)(0),lr=s()(Ir,2),Ar=lr[0],Or=lr[1],sa=20,Kn=function(){vr.current=!1},Yr=function(Cr){if(vt){var V=Cr.drawData.objectList.map(function(Z){return(xn==null?void 0:xn(Z))||{}});vt(V,kn)}},na=(0,g.useCallback)(function(Br){Rn==null||Rn(function(V){if(Br.framesData){var Z;V.activeIndex=(Z=Br.framesData)===null||Z===void 0?void 0:Z.activeIndex,V.objects=(0,qr.nF)(Br.framesData.objects,Br.clientSize,Pe)}});var Cr=(0,qr.hv)(Br.drawData,Br.clientSize,Pe);Nn(Cr),Yr(Br)},[Pe.width,Pe.height]),ca=(0,g.useCallback)(function(){Ar>0&&(Or(function(Br){return vr.current=Ln.length>1&&Br-1!==0,Br-1}),na(Ln[Ar-1]))},[Ar,Ln,na]),or=(0,g.useCallback)(function(){Ar1&&Br+1!==0,Br+1}),na(Ln[Ar+1]))},[Ar,Ln,na]),ur=function(Cr,V){var Z=(0,m.cloneDeep)({drawData:Cr,clientSize:Pe,framesData:V||wn});ta(function(fe){var Ce,Le,et;if(fe[Ar]&&(0,m.isEqual)(Z,fe[Ar])||Ar===0&&(0,m.isEqual)(Z.drawData,(Ce=fe[Ar])===null||Ce===void 0?void 0:Ce.drawData))return fe;!V&&Z.framesData&&Rn&&Z.drawData.objectList.length&&!(0,m.isEqual)(Z.drawData.objectList,(Le=fe[Ar])===null||Le===void 0||(et=Le.drawData)===null||et===void 0?void 0:et.objectList)&&(Z.framesData.objects=(0,qr.cf)(Z.drawData.objectList,Z.framesData.objects,Z.framesData.list.length,Z.framesData.activeIndex,kn),Rn(function(Mt){Mt.objects=(0,m.cloneDeep)(Z.framesData.objects)})),fe.splice(Ar+1),fe.push(Z),fe.length>sa&&fe.shift(),Or(fe.length-1),vr.current=fe.length>1&&fe.length-1!==0}),Yr(Z)},Vr=(0,g.useCallback)(function(){ta([])},[]),Rr=function(Cr){typeof Cr=="function"?Nn(function(V){Cr(V),ur((0,m.cloneDeep)(V))}):(Nn(Cr),ur((0,m.cloneDeep)(Cr)))};return{updateHistory:ur,undo:ca,redo:or,clearHistory:Vr,setDrawDataWithHistory:Rr,flagSaved:Kn,hadChangeRecord:vr.current}},Io=ti;function Ro($e){var pe=$e.isOldMode,Pe=$e.categories,kn=$e.setCategories,vt=$e.drawData,Nn=$e.setDrawData,xn=$e.editState,wn=$e.updateObjectWithoutHistory,Rn=$e.updateAllObjectWithoutHistory,vr=vt.objectList,pr=(0,g.useMemo)(function(){if(pe)return Pe;if(vt.objectList[vt.activeObjectIndex]||vt.selectedTool!==Q.ru.Drag){var Kn=vt.objectList[vt.activeObjectIndex]?Object.keys(Q.Zo).find(function(na){return vt.objectList[vt.activeObjectIndex].type===Q.Zo[na]}):vt.selectedTool,Yr=Object.keys(Q.t).find(function(na){return Kn===Q.t[na]});return Pe.filter(function(na){return na.labelType===Yr})}return[]},[Pe,vt.objectList,vt.activeObjectIndex,vt.selectedTool]),Mr=(0,g.useMemo)(function(){return(Pe==null?void 0:Pe.filter(function(Kn){return Kn.labelType===Q.Ze.Classification}))||[]},[Pe]),Ln=(0,g.useCallback)(function(Kn){Pe.find(function(Yr){return Yr.name===Kn})||!kn||kn(function(Yr){return[].concat(Qt()(Yr),[{id:Kn,name:Kn}])})},[Pe]),ta=(0,g.useCallback)(function(Kn,Yr){var na=t()({},vt.objectList[Kn]);na.hidden=Yr,wn(na,Kn)},[vt.objectList]),Ir=(0,g.useCallback)(function(Kn,Yr){var na=vt.objectList.map(function(ca){var or,ur=t()({},ca);return((or=Pe.find(function(Vr){return Vr.id===ca.labelId}))===null||or===void 0?void 0:or.name)===Kn&&(ur.hidden=Yr),ur});Rn(na)},[vt.objectList]),lr=function(Yr,na){var ca=t()({},vt.objectList[xn.focusObjectIndex]);switch(Yr){case Q.Yq.Rect:{ca.rect&&(ca.rect.visible=na,wn(ca,xn.focusObjectIndex));break}case Q.Yq.Polygon:{ca.polygon&&(ca.polygon.visible=na,wn(ca,xn.focusObjectIndex));break}}},Ar=(0,g.useCallback)(function(Kn,Yr){var na,ca,or=(0,m.cloneDeep)(vt.objectList[vt.activeObjectIndex]),ur=(na=or.keypoints)===null||na===void 0||(ca=na.points)===null||ca===void 0?void 0:ca[Kn];ur&&(ur.visible=Yr),wn(or,vt.activeObjectIndex)},[vt.activeObjectIndex,vt.objectList]),Or=(0,g.useCallback)(function(Kn){Nn(function(Yr){Kn!==Yr.activeClassName&&(Yr.activeClassName=Kn)})},[]);(0,g.useEffect)(function(){var Kn;if(!(vt.activeObjectIndex<0)){var Yr=((Kn=Pe.find(function(na){return na.id===vt.objectList[vt.activeObjectIndex].labelId}))===null||Kn===void 0?void 0:Kn.name)||"";Yr!==vt.activeClassName&&Or(Yr)}},[vt.activeObjectIndex]);var sa=(0,g.useMemo)(function(){var Kn=pr.find(function(Yr){return Yr.id===xn.latestLabelId});return(Kn==null?void 0:Kn.labelName)||(Kn==null?void 0:Kn.name)||""},[pr,xn.latestLabelId]);return{labelOptions:pr,latestLabel:sa,classificationOptions:Mr,curObjects:vr,onChangeObjectHidden:ta,onChangeCategoryHidden:Ir,onChangeElementVisible:lr,onChangePointVisible:Ar,onChangeActiveClass:Or,onCreateCategory:Ln}}var Ci=function(pe){var Pe=pe.topCanvas,kn=pe.editState,vt=pe.drawData,Nn=(0,g.useCallback)(function(xn,wn){if(Pe){var Rn=xn;if(wn)switch(wn){case qr.Nm.TOP:case qr.Nm.BOTTOM:Rn="ns-resize";break;case qr.Nm.TOP_LEFT:case qr.Nm.BOTTOM_RIGHT:Rn="nwse-resize";break;case qr.Nm.BOTTOM_LEFT:case qr.Nm.TOP_RIGHT:Rn="nesw-resize";break;default:Rn="ew-resize"}Rn!==Pe.style.cursor&&(Pe.style.cursor=Rn)}},[Pe]);return(0,g.useEffect)(function(){kn.allowMove?Nn("grabbing"):vt.selectedTool===Q.ru.Drag?Nn("grab"):Nn("crosshair")},[kn.allowMove]),{updateMouseCursor:Nn}},Ti=Ci,Ui=e(23671),Os=e(53807),fs=function($e,pe){if(pe===void 0&&(pe=0),typeof requestAnimationFrame=="undefined")return{id:setInterval($e,pe)};var Pe=new Date().getTime(),kn={id:0},vt=function(){var Nn=new Date().getTime();Nn-Pe>=pe&&($e(),Pe=new Date().getTime()),kn.id=requestAnimationFrame(vt)};return kn.id=requestAnimationFrame(vt),kn};function Ks($e){return typeof cancelAnimationFrame=="undefined"}var yl=function($e){if(Ks($e.id))return clearInterval($e.id);cancelAnimationFrame($e.id)};function Vn($e,pe,Pe){var kn=Pe==null?void 0:Pe.immediate,vt=(0,Ui.Z)($e),Nn=(0,g.useRef)();(0,g.useEffect)(function(){if(!(!(0,Os.hj)(pe)||pe<0))return kn&&vt.current(),Nn.current=fs(function(){vt.current()},pe),function(){Nn.current&&yl(Nn.current)}},[pe]);var xn=(0,g.useCallback)(function(){Nn.current&&yl(Nn.current)},[]);return xn}var Gr=Vn,wr=40,$r=10,oa=function(pe){var Pe=pe.visible,kn=pe.mode,vt=pe.drawData,Nn=pe.setDrawData,xn=pe.editState,wn=pe.setEditState,Rn=pe.clientSize,vr=pe.contentMouse,pr=pe.categories,Mr=pe.updateRender,Ln=pe.updateMouseCursor,ta=pe.objectHooksMap,Ir=pe.imagePos,lr=pe.containerMouse,Ar=pe.limitActiveObject,Or=pe.getAnnotColor,sa=(0,g.useRef)({topMin:0,topMax:0,leftMin:0,leftMax:0}),Kn=(0,g.useState)(void 0),Yr=s()(Kn,2),na=Yr[0],ca=Yr[1];Gr(function(){var Ce,Le,et,Mt,Dt=!1;(Ce=sa.current.direction)!==null&&Ce!==void 0&&Ce.includes("TOP")&&Ir.current.ysa.current.topMin&&(Ir.current.y-=8,Dt=!0),(et=sa.current.direction)!==null&&et!==void 0&&et.includes("LEFT")&&Ir.current.xsa.current.leftMin&&(Ir.current.x-=8,Dt=!0),Dt||ca(void 0),Mr()},na);var or=function(){var Le="",et=wr,Mt=lr.elementH-vr.elementH-wr,Dt=wr,Vt=lr.elementW-vr.elementW-wr;lr.elementY<=$r&&Ir.current.y=lr.elementH-$r&&Ir.current.y>Mt&&(Le="BOTTOM"),lr.elementX<=$r&&Ir.current.x=lr.elementW-$r&&Ir.current.x>Vt&&(Le+=Le?"_RIGHT":"RIGHT"),Le?(sa.current={direction:Le,topMax:et,topMin:Mt,leftMax:Dt,leftMin:Vt},ca(16)):ca(void 0)},ur=function(){var Le;return vt.isBatchEditing&&(vt.selectedTool===Q.ru.Rectangle&&xn.isCtrlPressed?Le=function(Mt){return Mt.status===W.TK.Unchecked}:Le=function(Mt){return Mt.status!==W.TK.Unchecked}),Le},Vr=function(){if((0,qr.jt)(lr)){var Le=(0,qr.Z0)(Rn,vr,vt.activeObjectIndex,vt.objectList,ur());if(Le>-1&&Le===vt.activeObjectIndex){wn(function(hn){hn.focusObjectIndex=Le});var et=vt.objectList[vt.activeObjectIndex],Mt=(0,qr.o7)(vr,et),Dt=Mt.focusEleIndex,Vt=Mt.focusEleType,cn=Mt.focusPolygonInfo;wn(function(hn){hn.focusEleIndex=Dt,hn.focusEleType=Vt,hn.focusPolygonInfo=cn})}else vt.selectedTool===Q.ru.Drag||vt.isBatchEditing?wn(function(hn){hn.focusObjectIndex=Le,hn.focusEleIndex=-1,hn.focusEleType=Q.Yq.None,hn.focusPolygonInfo={index:-1,pointIndex:-1,lineIndex:-1}}):wn(function(hn){hn.focusObjectIndex=-1,hn.focusEleIndex=-1,hn.focusEleType=Q.Yq.None,hn.focusPolygonInfo={index:-1,pointIndex:-1,lineIndex:-1}})}},Rr=(0,g.useCallback)(function(Ce,Le){if(!(Ce<0)){var et=(Le==null?void 0:Le.button)===2;if(et){var Mt=(0,qr.RF)(Rn,vr,vt.objectList,ur());Mt.length>0?wn(function(Dt){Dt.foucsObjectAllIndexs=Mt}):wn(function(Dt){Dt.foucsObjectAllIndexs=[]});return}Nn(function(Dt){var Vt;if(Dt.selectedTool===Q.ru.Rectangle&&Dt.isBatchEditing&&xn.isCtrlPressed)Dt.objectList[Ce].status=W.TK.Checked,wn(function(hn){hn.focusObjectIndex=-1});else{var cn;Dt.AIAnnotation=!1,Dt.activeObjectIndex=Ce,(cn=Dt.objectList[Ce])!==null&&cn!==void 0&&cn.frameEmpty?Dt.creatingObject=void 0:Dt.creatingObject=t()(t()({},Dt.objectList[Ce]),{},{currIndex:void 0,startPoint:void 0,tempMaskSteps:[],maskStep:void 0}),Dt.selectedTool!==Q.ru.Drag&&Dt.objectList[Ce]&&Q.Zo[Dt.selectedTool]!==Dt.objectList[Ce].type&&(Dt.selectedTool=Q.ru.Drag)}((Vt=Dt.editingAttribute)===null||Vt===void 0?void 0:Vt.index)!==Ce&&(Dt.editingAttribute=void 0)})}},[Rn.width,Rn.height,vr,vt.objectList]),Br=function(){if(!xn.foucsObjectAllIndexs.length)return(0,x.jsx)(x.Fragment,{});var Le=function(Vt){Vt.stopPropagation()},et=function(Vt){wn(function(cn){cn.focusObjectIndex=Vt})},Mt=function(Vt){Rr(Vt),wn(function(cn){cn.foucsObjectAllIndexs=[]})};return(0,x.jsx)("div",{className:"dds-annotator-dropdown-options",onMouseDown:Le,onMouseUp:Le,onMouseMove:Le,onContextMenu:function(Vt){return Vt.preventDefault()},children:xn.foucsObjectAllIndexs.map(function(Dt){var Vt,cn,hn;return(0,x.jsxs)("div",{className:"dds-annotator-dropdown-options-object",onMouseEnter:function(){return et(Dt)},onMouseDown:function(){return Mt(Dt)},children:[(0,x.jsx)("div",{className:"dds-annotator-dropdown-options-object-dot",style:{backgroundColor:((Vt=vt.objectList[Dt])===null||Vt===void 0?void 0:Vt.color)||"#fff"}}),((cn=pr.find(function(St){var pn;return St.id===((pn=vt.objectList[Dt])===null||pn===void 0?void 0:pn.labelId)}))===null||cn===void 0?void 0:cn.name)||"",vt.isBatchEditing&&" (".concat((0,ao.O)(((hn=vt.objectList[Dt])===null||hn===void 0?void 0:hn.conf)||0),")")]},Dt)})})},Cr=function(Le){if(!(!Pe||xn.allowMove||xn.isRequiring||!(0,qr.jt)(vr)||!(0,qr.jt)(lr))&&(wn(function(Mt){Mt.foucsObjectAllIndexs=[]}),!(vt.creatingObject&&vt.activeObjectIndex>-1&&kn===W.je.Edit&&ta[vt.creatingObject.type].startEditingWhenMouseDown({event:Le,object:vt.creatingObject}))))if(vt.selectedTool!==Q.ru.Drag&&(!vt.isBatchEditing||vt.selectedModel[vt.selectedTool]===Q.HE.IVP)){Nn(function(Mt){Mt.editingAttribute=void 0});var et=Q.Zo[vt.selectedTool];if(kn===W.je.Edit&&ta[et].startCreatingWhenMouseDown({event:Le,object:vt.creatingObject,point:{x:vr.elementX,y:vr.elementY},basic:{hidden:!1,labelId:xn.latestLabelId||pr[0].id,status:W.TK.Commited,color:Or(xn.latestLabelId||pr[0].name)}}))return}else xn.focusObjectIndex>-1&&!Ar?Rr(xn.focusObjectIndex,Le):(wn(function(Mt){Mt.allowMove=!0}),Nn(function(Mt){Mt.activeObjectIndex=-1,Mt.editingAttribute=void 0,Mt.creatingObject=void 0}))},V=function(Le){if(!(!Pe||xn.isRequiring||xn.allowMove)){if(xn.focusObjectIndex>-1?Ln("pointer"):vt.selectedTool!==Q.ru.Drag?Ln("crosshair"):Ln("grab"),vt.creatingObject&&vt.activeObjectIndex>-1){if(kn===W.je.Edit&&ta[vt.creatingObject.type].updateEditingWhenMouseMove({event:Le,object:vt.creatingObject})){var et,Mt=vt.creatingObject.type===Q.gr.Mask&&!((et=vt.creatingObject)!==null&&et!==void 0&&et.maskStep);Mt||or(),Mr();return}}else if(vt.selectedTool!==Q.ru.Drag&&vt.activeObjectIndex<0){var Dt=Q.Zo[vt.selectedTool];if(kn===W.je.Edit&&ta[Dt].updateCreatingWhenMouseMove({event:Le,object:vt.creatingObject})){var Vt,cn=Dt===Q.gr.Mask&&!((Vt=vt.creatingObject)!==null&&Vt!==void 0&&Vt.maskStep);cn||or(),Mr();return}}Vr(),Mr()}},Z=function(Le){if(ca(void 0),!(!Pe||xn.isRequiring)){if(xn.allowMove){wn(function(Mt){Mt.allowMove=!1});return}if(vt.creatingObject&&vt.activeObjectIndex>-1){if(kn===W.je.Edit&&ta[vt.creatingObject.type].finishEditingWhenMouseUp({event:Le,object:vt.creatingObject}))return}else if(vt.selectedTool!==Q.ru.Drag&&vt.activeObjectIndex<0){var et=Q.Zo[vt.selectedTool];if(kn===W.je.Edit&&ta[et].finishCreatingWhenMouseUp({event:Le,object:vt.creatingObject}))return}}},fe=(0,g.useCallback)(function(Ce){wn(function(Le){Le.focusObjectIndex=Ce})},[]);return(0,Ba.Z)("mousedown",function(Ce){Cr(Ce)}),(0,Ba.Z)("mousemove",function(Ce){V(Ce)}),(0,Ba.Z)("mouseup",function(Ce){Z(Ce)}),{selectFocusObject:Rr,forceChangeFocusObject:fe,mouseRightObjectsDropDownRender:Br}},Ta=oa,za=function(pe){var Pe=pe.mode,kn=pe.categories,vt=pe.drawData,Nn=pe.setDrawData,xn=pe.setDrawDataWithHistory,wn=pe.framesData,Rn=pe.setFramesData,vr=pe.setEditState,pr=pe.translateToObject,Mr=pe.judgeEditingAttribute,Ln=pe.updateHistory,ta=function(ur){Nn(function(Vr){var Rr=(0,m.cloneDeep)(Vr),Br=(0,m.cloneDeep)(wn);if(Rr.initialized=!0,Br){var Cr=ur.map(function(Z){return(pr==null?void 0:pr(Z,Br.list.length))||{}});Br.objects=Cr.filter(function(Z){return!!Z.objects}).map(function(Z){return Z.objects}),Rr.classifications=Cr.filter(function(Z){return!!Z.classification}).map(function(Z){return Z.classification}),Rr.objectList=Br.objects.map(function(Z){return Z[Br.activeIndex]}),Rn==null||Rn(Br)}else{var V=ur.map(function(Z){return(pr==null?void 0:pr(Z))||{}});Rr.classifications=V.filter(function(Z){return Z.type===Q.gr.Classification}),Rr.objectList=V.filter(function(Z){return Z.type!==Q.gr.Custom&&Z.type!==Q.gr.Classification})}return Ln((0,m.cloneDeep)(Rr),(0,m.cloneDeep)(Br)),Rr})},Ir=function(ur){Pe===W.je.Edit&&xn(function(Vr){var Rr;Vr.objectList.push(ur),Vr.isJustCreated=!0,Vr.creatingObject=void 0,Vr.activeObjectIndex=-1,Vr.activeClassName=((Rr=kn.find(function(Br){return Br.id===ur.labelId}))===null||Rr===void 0?void 0:Rr.name)||"",Mr&&(Vr.editingAttribute=Mr(ur,Vr.objectList.length-1))})},lr=function(ur){if(!(Pe!==W.je.Edit||!vt.objectList[ur])){vr(function(Br){Br.focusObjectIndex=-1,Br.focusEleIndex=-1,Br.focusEleType=Q.Yq.Rect});var Vr=(0,m.cloneDeep)(wn),Rr=(0,m.cloneDeep)(vt);Vr&&Vr.objects[ur]&&(Vr.objects.splice(ur,1),Rn==null||Rn(Vr)),Rr.objectList[ur]&&(Rr.objectList.splice(ur,1),Rr.activeObjectIndex=-1,Rr.creatingObject=void 0,Rr.editingAttribute=void 0),Nn(Rr),Ln((0,m.cloneDeep)(Rr),(0,m.cloneDeep)(Vr))}},Ar=(0,g.useCallback)(function(){if(Pe===W.je.Edit){vr(function(Vr){Vr.focusObjectIndex=-1,Vr.focusEleIndex=-1,Vr.focusEleType=Q.Yq.Rect});var or=(0,m.cloneDeep)(wn),ur=(0,m.cloneDeep)(vt);or&&(or.objects=[],Rn==null||Rn(or)),ur.objectList=[],ur.activeObjectIndex=-1,ur.creatingObject=void 0,ur.editingAttribute=void 0,Nn(ur),Ln((0,m.cloneDeep)(ur),(0,m.cloneDeep)(or))}},[Pe,wn,vt]),Or=function(ur,Vr){Pe!==W.je.Edit||!vt.objectList[Vr]||xn(function(Rr){ur.labelId!==Rr.objectList[Vr].labelId&&Mr&&(Rr.editingAttribute=Mr(ur,Vr)),Rr.objectList[Vr]=ur,Rr.creatingObject&&Rr.activeObjectIndex===Vr&&(Rr.creatingObject=t()({},ur))})},sa=function(ur){xn(function(Vr){Vr.objectList=ur,Vr.creatingObject&&Vr.objectList[Vr.activeObjectIndex]&&(Vr.creatingObject=t()({},Vr.objectList[Vr.activeObjectIndex])),Vr.isJustCreated=!1})},Kn=function(ur,Vr){vt.objectList[Vr]&&Nn(function(Rr){Rr.objectList[Vr]=ur,Rr.creatingObject&&Rr.activeObjectIndex===Vr&&(Rr.creatingObject=t()({},ur))})},Yr=function(ur){Nn(function(Vr){Vr.objectList=ur,Vr.creatingObject&&Vr.objectList[Vr.activeObjectIndex]&&(Vr.creatingObject=t()({},Vr.objectList[Vr.activeObjectIndex]))})},na=(0,g.useMemo)(function(){return vt.objectList.filter(function(or){return(or==null?void 0:or.status)===W.TK.Commited})},[vt.isBatchEditing,vt.objectList]),ca=(0,g.useMemo)(function(){return vt.objectList[vt.activeObjectIndex]||vt.creatingObject},[vt.objectList,vt.activeObjectIndex,vt.creatingObject]);return{initObjectList:ta,addObject:Ir,removeObject:lr,removeAllObjects:Ar,updateObject:Or,updateAllObject:sa,updateObjectWithoutHistory:Kn,updateAllObjectWithoutHistory:Yr,commitedObjects:na,currObject:ca}},La=za,To=function(pe){var Pe=pe.visible,kn=pe.mode,vt=pe.drawData,Nn=pe.categories,xn=pe.isMousePress,wn=pe.setDrawData,Rn=pe.setEditState,vr=pe.onSaveAnnotations,pr=pe.onAcceptAnnotations,Mr=pe.onRejectAnnotations,Ln=pe.onChangeObjectHidden,ta=pe.onChangeCategoryHidden,Ir=pe.removeObject,lr=pe.addObject;return(0,Ee.Z)(Se[Ie.Save].shortcut,function(Ar){Ar.preventDefault(),kn===W.je.Edit&&(vr==null||vr())},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.Accept].shortcut,function(Ar){Ar.preventDefault(),pr==null||pr()},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.Reject].shortcut,function(Ar){Ar.preventDefault(),Mr==null||Mr()},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.PanImage].shortcut,function(Ar){Pe&&(Ar.type==="keydown"&&!xn?Rn(function(Or){Or.allowMove=!0}):Ar.type==="keyup"&&Rn(function(Or){Or.allowMove=!1}))},{events:["keydown","keyup"]}),(0,Ee.Z)(Se[Ie.CancelCurrObject].shortcut,function(Ar){Pe&&Ar.type==="keyup"&&(vt.creatingObject?wn(function(Or){var sa,Kn,Yr,na,ca,or;((sa=Or.creatingObject)===null||sa===void 0?void 0:sa.type)===Q.gr.Mask&&(Kn=Or.creatingObject)!==null&&Kn!==void 0&&(Yr=Kn.maskStep)!==null&&Yr!==void 0&&(na=Yr.points)!==null&&na!==void 0&&na.length&&(ca=Or.creatingObject)!==null&&ca!==void 0&&(or=ca.tempMaskSteps)!==null&&or!==void 0&&or.length?Or.creatingObject.maskStep=void 0:(Or.creatingObject=void 0,Or.activeObjectIndex=-1),Or.AIAnnotation&&(Or.prompt={})}):wn(function(Or){Or.activeObjectIndex=-1}))},{events:["keydown","keyup"]}),(0,Ee.Z)(Se[Ie.HideCurrObject].shortcut,function(Ar){vt.activeObjectIndex<0||(Ar.preventDefault(),Ln(vt.activeObjectIndex,!vt.objectList[vt.activeObjectIndex].hidden))},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.HideCurrCategory].shortcut,function(Ar){var Or;if(!(vt.activeObjectIndex<0)){Ar.preventDefault();var sa=vt.objectList[vt.activeObjectIndex],Kn=sa.labelId,Yr=sa.hidden,na=((Or=Nn.find(function(ca){return ca.id===Kn}))===null||Or===void 0?void 0:Or.name)||"";ta(na,!Yr)}},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.DeleteCurrObject].shortcut,function(Ar){!Pe||kn!==W.je.Edit||["Delete","Backspace"].includes(Ar.key)&&vt.activeObjectIndex>-1&&Ir(vt.activeObjectIndex)},{events:["keyup"]}),(0,Ee.Z)(["ctrl"],function(Ar){vt.activeObjectIndex>-1||Rn(function(Or){var sa=Ar.type==="keydown";if(Or.isCtrlPressed===sa)return Or;Or.isCtrlPressed=Ar.type==="keydown",Or.focusObjectIndex=-1,Or.foucsObjectAllIndexs=[]})},{events:["keydown","keyup"]}),(0,Ee.Z)(["v"],function(Ar){Rn(function(Or){var sa=Ar.type==="keydown";if(Or.hideCreatingObject===sa)return Or;Or.hideCreatingObject=Ar.type==="keydown"})},{events:["keydown","keyup"]}),(0,Ee.Z)(["enter"],function(){if(!vt.AIAnnotation&&vt.creatingObject&&vt.creatingObject.type===Q.gr.Polygon){var Ar=vt.creatingObject,Or=Ar.polygon,sa=Ar.type,Kn=Ar.hidden,Yr=Ar.labelId,na=Ar.status,ca=Ar.color;if(Or&&Or.group&&Or.group[0].length>2){var or={polygon:Or,type:sa,hidden:Kn,labelId:Yr,status:na,color:ca};lr(or)}}},{exactMatch:!0,events:["keyup"]}),{}},Ko=To,ko=Object.defineProperty,Li=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable,Ds=($e,pe,Pe)=>pe in $e?ko($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Xi=($e,pe)=>{for(var Pe in pe||(pe={}))Ms.call(pe,Pe)&&Ds($e,Pe,pe[Pe]);if(Li)for(var Pe of Li(pe))Ki.call(pe,Pe)&&Ds($e,Pe,pe[Pe]);return $e};const Qo=$e=>g.createElement("svg",Xi({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M18.33 4.069a.67.67 0 0 0 .67-.672V.671A.672.672 0 0 0 18.33 0h-2.718a.67.67 0 0 0-.671.671v.672H4.066V.67A.672.672 0 0 0 3.395 0H.67A.67.67 0 0 0 0 .671v2.72a.672.672 0 0 0 .67.67h.672v10.877H.67A.67.67 0 0 0 0 15.61v2.72A.672.672 0 0 0 .67 19h2.718a.67.67 0 0 0 .671-.671v-.672h10.869v.672a.672.672 0 0 0 .67.671h2.718a.67.67 0 0 0 .67-.671v-2.706a.672.672 0 0 0-.67-.671h-.671V4.069h.684Zm-2.014 10.876h-.67a.67.67 0 0 0-.671.671v.672H4.065v-.672a.672.672 0 0 0-.67-.671h-.671V4.069h.67a.67.67 0 0 0 .672-.672v-.671h10.868v.671a.672.672 0 0 0 .671.672h.671l.02 5.438.02 5.438Z",fill:"#fff"}),g.createElement("g",{clipPath:"url(#add-prompt_svg__a)"},g.createElement("path",{d:"M14.51 5.884a.851.851 0 0 0-1.204 0l-5.418 5.423-2.409-2.41a.851.851 0 1 0-1.204 1.205l3.01 3.012a.849.849 0 0 0 1.205 0l6.02-6.025a.852.852 0 0 0 0-1.205Z",fill:"#fff"})),g.createElement("defs",null,g.createElement("clipPath",{id:"add-prompt_svg__a"},g.createElement("path",{fill:"#fff",transform:"translate(4.025 4.129)",d:"M0 0h10.735v10.742H0z"}))));var eu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTkgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE4LjMzIDQuMDY5YS42Ny42NyAwIDAgMCAuNjctLjY3MlYuNjcxQS42NzIuNjcyIDAgMCAwIDE4LjMzIDBoLTIuNzE4YS42Ny42NyAwIDAgMC0uNjcxLjY3MXYuNjcySDQuMDY2Vi42N0EuNjcyLjY3MiAwIDAgMCAzLjM5NSAwSC42N0EuNjcuNjcgMCAwIDAgMCAuNjcxdjIuNzJhLjY3Mi42NzIgMCAwIDAgLjY3LjY3aC42NzJ2MTAuODc3SC42N0EuNjcuNjcgMCAwIDAgMCAxNS42MXYyLjcyQS42NzIuNjcyIDAgMCAwIC42NyAxOWgyLjcxOGEuNjcuNjcgMCAwIDAgLjY3MS0uNjcxdi0uNjcyaDEwLjg2OXYuNjcyYS42NzIuNjcyIDAgMCAwIC42Ny42NzFoMi43MThhLjY3LjY3IDAgMCAwIC42Ny0uNjcxdi0yLjcwNmEuNjcyLjY3MiAwIDAgMC0uNjctLjY3MWgtLjY3MVY0LjA2OWguNjg0Wm0tMi4wMTQgMTAuODc2aC0uNjdhLjY3LjY3IDAgMCAwLS42NzEuNjcxdi42NzJINC4wNjV2LS42NzJhLjY3Mi42NzIgMCAwIDAtLjY3LS42NzFoLS42NzFWNC4wNjloLjY3YS42Ny42NyAwIDAgMCAuNjcyLS42NzJ2LS42NzFoMTAuODY4di42NzFhLjY3Mi42NzIgMCAwIDAgLjY3MS42NzJoLjY3MWwuMDIgNS40MzguMDIgNS40MzhaIiBmaWxsPSIjZmZmIi8+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTQuNTEgNS44ODRhLjg1MS44NTEgMCAwIDAtMS4yMDQgMGwtNS40MTggNS40MjMtMi40MDktMi40MWEuODUxLjg1MSAwIDEgMC0xLjIwNCAxLjIwNWwzLjAxIDMuMDEyYS44NDkuODQ5IDAgMCAwIDEuMjA1IDBsNi4wMi02LjAyNWEuODUyLjg1MiAwIDAgMCAwLTEuMjA1WiIgZmlsbD0iI2ZmZiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuMDI1IDQuMTI5KSIgZD0iTTAgMGgxMC43MzV2MTAuNzQySDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",bl=Object.defineProperty,il=Object.getOwnPropertySymbols,Au=Object.prototype.hasOwnProperty,sl=Object.prototype.propertyIsEnumerable,Qs=($e,pe,Pe)=>pe in $e?bl($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,ws=($e,pe)=>{for(var Pe in pe||(pe={}))Au.call(pe,Pe)&&Qs($e,Pe,pe[Pe]);if(il)for(var Pe of il(pe))sl.call(pe,Pe)&&Qs($e,Pe,pe[Pe]);return $e};const Xs=$e=>g.createElement("svg",ws({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#brush-add_svg__a)",fill:"#fff"},g.createElement("path",{d:"M5.07 10.37 4.02 9.22l-.46-.46a1.42 1.42 0 0 1 0-1.89l.41-.41 3.84-3.73L10.34.22a.71.71 0 0 1 1.07 0c.34.31.67.63 1 .93a.66.66 0 0 1 .22.69c-.1.43-.19.87-.28 1.34l.69-.13c.25 0 .5-.1.75-.12a.82.82 0 0 1 .69.26l4.47 4.37.45.44a.87.87 0 0 1 0 1.3l-2 2-.08.08-1.34-.79 1.89-1.95-.33-.33-3.78-3.71a.3.3 0 0 0-.32-.09l-1.89.37A.74.74 0 0 1 10.7 4c.06-.33.12-.65.19-1s.1-.58.18-.85a.31.31 0 0 0-.17-.4L6.7 5.94l5 4.85c-.3.21-.61.4-.88.62a4.76 4.76 0 0 0-1.75 3 .88.88 0 0 1-.25.44l-2.94 3.37a3.42 3.42 0 0 1-5 .22 3 3 0 0 1-.83-2 3.39 3.39 0 0 1 1.33-2.88l3.32-2.89.37-.3Z"}),g.createElement("path",{d:"M17.88 13.99a4.06 4.06 0 0 0-4.46-2.68 4 4 0 0 0 .61 7.9c.22 0 .44 0 .65-.06a4 4 0 0 0 3.2-5.16Zm-2.31 2.13h-.62v.58a.94.94 0 0 1-1.87 0v-.58h-.58a.94.94 0 0 1 0-1.87h.58v-.56a.94.94 0 1 1 1.87 0v.53h.62a.94.94 0 0 1 0 1.87v.03Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"brush-add_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h19.7v19.44H0z"}))));var Tl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik01LjA3IDEwLjM3IDQuMDIgOS4yMmwtLjQ2LS40NmExLjQyIDEuNDIgMCAwIDEgMC0xLjg5bC40MS0uNDEgMy44NC0zLjczTDEwLjM0LjIyYS43MS43MSAwIDAgMSAxLjA3IDBjLjM0LjMxLjY3LjYzIDEgLjkzYS42Ni42NiAwIDAgMSAuMjIuNjljLS4xLjQzLS4xOS44Ny0uMjggMS4zNGwuNjktLjEzYy4yNSAwIC41LS4xLjc1LS4xMmEuODIuODIgMCAwIDEgLjY5LjI2bDQuNDcgNC4zNy40NS40NGEuODcuODcgMCAwIDEgMCAxLjNsLTIgMi0uMDguMDgtMS4zNC0uNzkgMS44OS0xLjk1LS4zMy0uMzMtMy43OC0zLjcxYS4zLjMgMCAwIDAtLjMyLS4wOWwtMS44OS4zN0EuNzQuNzQgMCAwIDEgMTAuNyA0Yy4wNi0uMzMuMTItLjY1LjE5LTFzLjEtLjU4LjE4LS44NWEuMzEuMzEgMCAwIDAtLjE3LS40TDYuNyA1Ljk0bDUgNC44NWMtLjMuMjEtLjYxLjQtLjg4LjYyYTQuNzYgNC43NiAwIDAgMC0xLjc1IDMgLjg4Ljg4IDAgMCAxLS4yNS40NGwtMi45NCAzLjM3YTMuNDIgMy40MiAwIDAgMS01IC4yMiAzIDMgMCAwIDEtLjgzLTIgMy4zOSAzLjM5IDAgMCAxIDEuMzMtMi44OGwzLjMyLTIuODkuMzctLjNaIi8+PHBhdGggZD0iTTE3Ljg4IDEzLjk5YTQuMDYgNC4wNiAwIDAgMC00LjQ2LTIuNjggNCA0IDAgMCAwIC42MSA3LjljLjIyIDAgLjQ0IDAgLjY1LS4wNmE0IDQgMCAwIDAgMy4yLTUuMTZabS0yLjMxIDIuMTNoLS42MnYuNThhLjk0Ljk0IDAgMCAxLTEuODcgMHYtLjU4aC0uNThhLjk0Ljk0IDAgMCAxIDAtMS44N2guNTh2LS41NmEuOTQuOTQgMCAxIDEgMS44NyAwdi41M2guNjJhLjk0Ljk0IDAgMCAxIDAgMS44N3YuMDNaIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgxOS43djE5LjQ0SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",cu=Object.defineProperty,ns=Object.getOwnPropertySymbols,Ss=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,js=($e,pe,Pe)=>pe in $e?cu($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,tu=($e,pe)=>{for(var Pe in pe||(pe={}))Ss.call(pe,Pe)&&js($e,Pe,pe[Pe]);if(ns)for(var Pe of ns(pe))Bs.call(pe,Pe)&&js($e,Pe,pe[Pe]);return $e};const Hl=$e=>g.createElement("svg",tu({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#brush-erase_svg__a)",fill:"#fff"},g.createElement("path",{d:"m6.47 5.69 4.8 4.7c-.29.2-.59.38-.85.59a4.73 4.73 0 0 0-1.74 3.05.45.45 0 0 1-.1.21l-2.89 3.34a3.24 3.24 0 0 1-2.47 1.2 3 3 0 0 1-3.23-3.1 3.34 3.34 0 0 1 1.39-2.7c1.16-.95 2.29-1.93 3.44-2.89l.14-.1-.4-.38-1-1a1.38 1.38 0 0 1 0-2.07L7.7 2.48c.76-.7 1.52-1.5 2.29-2.24a.69.69 0 0 1 1.05 0l1 .91a.59.59 0 0 1 .18.63c-.09.43-.18.87-.27 1.33l1.27-.25a.88.88 0 0 1 .84.24l2.71 2.68 2 1.92a.9.9 0 0 1 .29.8.66.66 0 0 1-.16.35c-.7.7-1.41 1.39-2.12 2.08l-1.28-.77 1.84-1.79V8.3l-4-3.88a.29.29 0 0 0-.28-.07l-1.84.43a.86.86 0 0 1-.8-.26.571.571 0 0 1-.13-.56c.12-.59.24-1.17.37-1.76 0-.19 0-.33-.18-.42L6.47 5.69Z"}),g.createElement("path",{d:"M9.69 14.71a3.88 3.88 0 1 1 3.88 3.8 3.83 3.83 0 0 1-3.88-3.8Zm3.87 1h1.57a1 1 0 0 0 1-1 1 1 0 0 0-1-1.06h-3.14a1 1 0 0 0 0 2l1.57.06Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"brush-erase_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h19.03v18.77H0z"}))));var Ps="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Im02LjQ3IDUuNjkgNC44IDQuN2MtLjI5LjItLjU5LjM4LS44NS41OWE0LjczIDQuNzMgMCAwIDAtMS43NCAzLjA1LjQ1LjQ1IDAgMCAxLS4xLjIxbC0yLjg5IDMuMzRhMy4yNCAzLjI0IDAgMCAxLTIuNDcgMS4yIDMgMyAwIDAgMS0zLjIzLTMuMSAzLjM0IDMuMzQgMCAwIDEgMS4zOS0yLjdjMS4xNi0uOTUgMi4yOS0xLjkzIDMuNDQtMi44OWwuMTQtLjEtLjQtLjM4LTEtMWExLjM4IDEuMzggMCAwIDEgMC0yLjA3TDcuNyAyLjQ4Yy43Ni0uNyAxLjUyLTEuNSAyLjI5LTIuMjRhLjY5LjY5IDAgMCAxIDEuMDUgMGwxIC45MWEuNTkuNTkgMCAwIDEgLjE4LjYzYy0uMDkuNDMtLjE4Ljg3LS4yNyAxLjMzbDEuMjctLjI1YS44OC44OCAwIDAgMSAuODQuMjRsMi43MSAyLjY4IDIgMS45MmEuOS45IDAgMCAxIC4yOS44LjY2LjY2IDAgMCAxLS4xNi4zNWMtLjcuNy0xLjQxIDEuMzktMi4xMiAyLjA4bC0xLjI4LS43NyAxLjg0LTEuNzlWOC4zbC00LTMuODhhLjI5LjI5IDAgMCAwLS4yOC0uMDdsLTEuODQuNDNhLjg2Ljg2IDAgMCAxLS44LS4yNi41NzEuNTcxIDAgMCAxLS4xMy0uNTZjLjEyLS41OS4yNC0xLjE3LjM3LTEuNzYgMC0uMTkgMC0uMzMtLjE4LS40Mkw2LjQ3IDUuNjlaIi8+PHBhdGggZD0iTTkuNjkgMTQuNzFhMy44OCAzLjg4IDAgMSAxIDMuODggMy44IDMuODMgMy44MyAwIDAgMS0zLjg4LTMuOFptMy44NyAxaDEuNTdhMSAxIDAgMCAwIDEtMSAxIDEgMCAwIDAtMS0xLjA2aC0zLjE0YTEgMSAwIDAgMCAwIDJsMS41Ny4wNloiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE5LjAzdjE4Ljc3SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Bt=Object.defineProperty,Eo=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable,ll=($e,pe,Pe)=>pe in $e?Bt($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,ua=($e,pe)=>{for(var Pe in pe||(pe={}))$s.call(pe,Pe)&&ll($e,Pe,pe[Pe]);if(Eo)for(var Pe of Eo(pe))zo.call(pe,Pe)&&ll($e,Pe,pe[Pe]);return $e};const ul=$e=>g.createElement("svg",ua({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},$e),g.createElement("defs",null,g.createElement("style",null,".edge-stitch_svg__cls-1{fill:#fcfefe}.edge-stitch_svg__cls-3{fill:#fff}")),g.createElement("path",{className:"edge-stitch_svg__cls-1",d:"M22.25 18.52a.82.82 0 0 0 .57.15h4.3a1.44 1.44 0 1 0 0-2.87h-.86L31 11.06a1.42 1.42 0 0 0-2-2l-4.73 4.74v-.86a1.44 1.44 0 1 0-2.87 0v4.3a.87.87 0 0 0 .14.57 1.67 1.67 0 0 0 .71.71ZM9.91 31.58a1.31 1.31 0 0 0 1-.43l4.74-4.74v.86a1.44 1.44 0 1 0 2.87 0V23a.82.82 0 0 0-.15-.57 1.7 1.7 0 0 0-.71-.72.85.85 0 0 0-.58-.15h-4.3a1.44 1.44 0 1 0 0 2.87h.86l-4.73 4.71a1.38 1.38 0 0 0 0 2 1.31 1.31 0 0 0 1 .44Z"}),g.createElement("path",{style:{fill:"none",stroke:"#fff",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3},d:"m14.4 14.51 11.14 11.14"}),g.createElement("path",{className:"edge-stitch_svg__cls-3",d:"M7.51 5.7a3.41 3.41 0 0 1 .74.45c.85.8 1.67 1.64 2.49 2.47a1.19 1.19 0 1 1-1.69 1.67Q7.77 9 6.53 7.77a1.13 1.13 0 0 1-.26-1.33 1.33 1.33 0 0 1 1.24-.74ZM19.85 10.84a5.11 5.11 0 0 1-.92-.75.93.93 0 0 1 .07-1.24c.94-1 1.89-1.95 2.88-2.87a1.07 1.07 0 0 1 1.51.09 1.09 1.09 0 0 1 .11 1.56c-.91 1-1.87 1.9-2.83 2.83a2.88 2.88 0 0 1-.82.38ZM7.26 23.44a5 5 0 0 1-.92-.73.92.92 0 0 1 .06-1.24Q7.81 20 9.31 18.56a1.08 1.08 0 0 1 1.51.14 1.1 1.1 0 0 1 .09 1.52C10 21.21 9 22.15 8 23.09a3.07 3.07 0 0 1-.74.35ZM16.16 5.64v1.67A1.24 1.24 0 0 1 15 8.59a1.22 1.22 0 0 1-1.19-1.28v-3.4A1.22 1.22 0 0 1 15 2.63a1.23 1.23 0 0 1 1.19 1.29c-.01.57-.03 1.15-.03 1.72ZM6 15.73H4.38a1.2 1.2 0 1 1 0-2.4h3.34a1.2 1.2 0 1 1 0 2.4c-.58.02-1.15 0-1.72 0Z"}));var nu="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmY2ZlZmV9LmNscy0ze2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yMi4yNSAxOC41MmEuODIuODIgMCAwIDAgLjU3LjE1aDQuM2ExLjQ0IDEuNDQgMCAxIDAgMC0yLjg3aC0uODZMMzEgMTEuMDZhMS40MiAxLjQyIDAgMCAwLTItMmwtNC43MyA0Ljc0di0uODZhMS40NCAxLjQ0IDAgMSAwLTIuODcgMHY0LjNhLjg3Ljg3IDAgMCAwIC4xNC41NyAxLjY3IDEuNjcgMCAwIDAgLjcxLjcxWk05LjkxIDMxLjU4YTEuMzEgMS4zMSAwIDAgMCAxLS40M2w0Ljc0LTQuNzR2Ljg2YTEuNDQgMS40NCAwIDEgMCAyLjg3IDBWMjNhLjgyLjgyIDAgMCAwLS4xNS0uNTcgMS43IDEuNyAwIDAgMC0uNzEtLjcyLjg1Ljg1IDAgMCAwLS41OC0uMTVoLTQuM2ExLjQ0IDEuNDQgMCAxIDAgMCAyLjg3aC44NmwtNC43MyA0LjcxYTEuMzggMS4zOCAwIDAgMCAwIDIgMS4zMSAxLjMxIDAgMCAwIDEgLjQ0WiIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjNweCIgZD0ibTE0LjQgMTQuNTEgMTEuMTQgMTEuMTQiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik03LjUxIDUuN2EzLjQxIDMuNDEgMCAwIDEgLjc0LjQ1Yy44NS44IDEuNjcgMS42NCAyLjQ5IDIuNDdhMS4xOSAxLjE5IDAgMSAxLTEuNjkgMS42N1E3Ljc3IDkgNi41MyA3Ljc3YTEuMTMgMS4xMyAwIDAgMS0uMjYtMS4zMyAxLjMzIDEuMzMgMCAwIDEgMS4yNC0uNzRaTTE5Ljg1IDEwLjg0YTUuMTEgNS4xMSAwIDAgMS0uOTItLjc1LjkzLjkzIDAgMCAxIC4wNy0xLjI0Yy45NC0xIDEuODktMS45NSAyLjg4LTIuODdhMS4wNyAxLjA3IDAgMCAxIDEuNTEuMDkgMS4wOSAxLjA5IDAgMCAxIC4xMSAxLjU2Yy0uOTEgMS0xLjg3IDEuOS0yLjgzIDIuODNhMi44OCAyLjg4IDAgMCAxLS44Mi4zOFpNNy4yNiAyMy40NGE1IDUgMCAwIDEtLjkyLS43My45Mi45MiAwIDAgMSAuMDYtMS4yNFE3LjgxIDIwIDkuMzEgMTguNTZhMS4wOCAxLjA4IDAgMCAxIDEuNTEuMTQgMS4xIDEuMSAwIDAgMSAuMDkgMS41MkMxMCAyMS4yMSA5IDIyLjE1IDggMjMuMDlhMy4wNyAzLjA3IDAgMCAxLS43NC4zNVpNMTYuMTYgNS42NHYxLjY3QTEuMjQgMS4yNCAwIDAgMSAxNSA4LjU5YTEuMjIgMS4yMiAwIDAgMS0xLjE5LTEuMjh2LTMuNEExLjIyIDEuMjIgMCAwIDEgMTUgMi42M2ExLjIzIDEuMjMgMCAwIDEgMS4xOSAxLjI5Yy0uMDEuNTctLjAzIDEuMTUtLjAzIDEuNzJaTTYgMTUuNzNINC4zOGExLjIgMS4yIDAgMSAxIDAtMi40aDMuMzRhMS4yIDEuMiAwIDEgMSAwIDIuNGMtLjU4LjAyLTEuMTUgMC0xLjcyIDBaIi8+PC9zdmc+",Js=Object.defineProperty,Ll=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Ao=Object.prototype.propertyIsEnumerable,yi=($e,pe,Pe)=>pe in $e?Js($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,dc=($e,pe)=>{for(var Pe in pe||(pe={}))_l.call(pe,Pe)&&yi($e,Pe,pe[Pe]);if(Ll)for(var Pe of Ll(pe))Ao.call(pe,Pe)&&yi($e,Pe,pe[Pe]);return $e};const ec=$e=>g.createElement("svg",dc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},$e),g.createElement("defs",null,g.createElement("style",null,".magic-box_svg__cls-1,.magic-box_svg__cls-3{fill:none}.magic-box_svg__cls-2{fill:#fcfefe}.magic-box_svg__cls-3{stroke:#fcfeff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px}")),g.createElement("path",{className:"magic-box_svg__cls-1",d:"M5.28 16.36V6.08a1 1 0 0 1 1-1h22.2a1 1 0 0 1 1 1v21.67a1 1 0 0 1-1 .95h-10v2.39H31.4V2.74H3.17v13.62ZM3.06 2.74h.11v13.62h-.11z"}),g.createElement("path",{className:"magic-box_svg__cls-2",d:"M7.28 7.12H27.4V26.7h-8.91v2h10a1 1 0 0 0 1-.95V6.08a1 1 0 0 0-1-1H6.24a1 1 0 0 0-1 1v10.28h2Z"}),g.createElement("path",{className:"magic-box_svg__cls-2",d:"M4.82 28.43a.87.87 0 0 0 .11 1.19 1 1 0 0 0 1.19.09c3.29-2.56 4.66-2.56 8 0a.92.92 0 0 0 1.28-1.28c-2.56-3.29-2.56-4.66 0-8a.92.92 0 0 0-1.28-1.28c-3.29 2.56-4.66 2.56-8 0a1.37 1.37 0 0 0-.55-.15.83.83 0 0 0-.64.27.87.87 0 0 0-.09 1.19c2.63 3.31 2.63 4.59-.02 7.97Z"}),g.createElement("path",{className:"magic-box_svg__cls-3",d:"m19.24 10.15 5.75-.07M24.99 15.91v-5.83M17.97 17.19l7.02-7.11"}));var no="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMSwuY2xzLTN7ZmlsbDpub25lfS5jbHMtMntmaWxsOiNmY2ZlZmV9LmNscy0ze3N0cm9rZTojZmNmZWZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS13aWR0aDoycHh9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNS4yOCAxNi4zNlY2LjA4YTEgMSAwIDAgMSAxLTFoMjIuMmExIDEgMCAwIDEgMSAxdjIxLjY3YTEgMSAwIDAgMS0xIC45NWgtMTB2Mi4zOUgzMS40VjIuNzRIMy4xN3YxMy42MlpNMy4wNiAyLjc0aC4xMXYxMy42MmgtLjExeiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTcuMjggNy4xMkgyNy40VjI2LjdoLTguOTF2MmgxMGExIDEgMCAwIDAgMS0uOTVWNi4wOGExIDEgMCAwIDAtMS0xSDYuMjRhMSAxIDAgMCAwLTEgMXYxMC4yOGgyWiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQuODIgMjguNDNhLjg3Ljg3IDAgMCAwIC4xMSAxLjE5IDEgMSAwIDAgMCAxLjE5LjA5YzMuMjktMi41NiA0LjY2LTIuNTYgOCAwYS45Mi45MiAwIDAgMCAxLjI4LTEuMjhjLTIuNTYtMy4yOS0yLjU2LTQuNjYgMC04YS45Mi45MiAwIDAgMC0xLjI4LTEuMjhjLTMuMjkgMi41Ni00LjY2IDIuNTYtOCAwYTEuMzcgMS4zNyAwIDAgMC0uNTUtLjE1LjgzLjgzIDAgMCAwLS42NC4yNy44Ny44NyAwIDAgMC0uMDkgMS4xOWMyLjYzIDMuMzEgMi42MyA0LjU5LS4wMiA3Ljk3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTE5LjI0IDEwLjE1IDUuNzUtLjA3TTI0Ljk5IDE1Ljkxdi01LjgzTTE3Ljk3IDE3LjE5bDcuMDItNy4xMSIvPjwvc3ZnPg==",Ji=Object.defineProperty,Zs=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,ru=Object.prototype.propertyIsEnumerable,Yi=($e,pe,Pe)=>pe in $e?Ji($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Ml=($e,pe)=>{for(var Pe in pe||(pe={}))Ra.call(pe,Pe)&&Yi($e,Pe,pe[Pe]);if(Zs)for(var Pe of Zs(pe))ru.call(pe,Pe)&&Yi($e,Pe,pe[Pe]);return $e};const cl=$e=>g.createElement("svg",Ml({id:"magic-brush_svg__\\u56FE\\u5C42_1","data-name":"\\u56FE\\u5C42 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},$e),g.createElement("defs",null,g.createElement("style",null,".magic-brush_svg__cls-1{fill:#fff}")),g.createElement("path",{className:"magic-brush_svg__cls-1",d:"M15.22 14.73 21 9l10.1 10.1-5.8 5.76ZM14.33 15.43l10.34 10.36c-.87.86-1.78 1.78-2.71 2.68-.09.08-.37 0-.53-.07-1.31-.58-2.63-1.16-3.92-1.78a.74.74 0 0 0-1 .17q-1.75 1.82-3.57 3.56a2.14 2.14 0 0 1-2.33.51 2.08 2.08 0 0 1-1.42-1.69 2.2 2.2 0 0 1 .67-2.05C11 26 12.14 24.8 13.32 23.66a.74.74 0 0 0 .19-1c-.61-1.27-1.16-2.57-1.77-3.85a.67.67 0 0 1 .15-.91c.84-.81 1.63-1.64 2.44-2.47Zm-1.82 13.18a1 1 0 1 0-2 .05 1 1 0 0 0 2-.05Z"}),g.createElement("path",{d:"M3.2 12.66a.89.89 0 0 0 .11 1.23 1 1 0 0 0 1.23.1c3.4-2.65 4.82-2.65 8.27 0a.95.95 0 0 0 1.32-1.33c-2.64-3.4-2.64-4.81 0-8.26A.9.9 0 0 0 14 3.17a.89.89 0 0 0-1.23-.1C9.41 5.72 8 5.72 4.54 3.07A1.27 1.27 0 0 0 4 2.89a.84.84 0 0 0-.66.28.9.9 0 0 0-.12 1.23c2.72 3.45 2.72 4.77-.02 8.26Z",style:{fill:"#fcfefe"}}));var du="data:image/svg+xml;base64,PHN2ZyBpZD0i5Zu+5bGCXzEiIGRhdGEtbmFtZT0i5Zu+5bGCIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM0LjAyIDM0LjAyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0xNS4yMiAxNC43MyAyMSA5bDEwLjEgMTAuMS01LjggNS43NlpNMTQuMzMgMTUuNDNsMTAuMzQgMTAuMzZjLS44Ny44Ni0xLjc4IDEuNzgtMi43MSAyLjY4LS4wOS4wOC0uMzcgMC0uNTMtLjA3LTEuMzEtLjU4LTIuNjMtMS4xNi0zLjkyLTEuNzhhLjc0Ljc0IDAgMCAwLTEgLjE3cS0xLjc1IDEuODItMy41NyAzLjU2YTIuMTQgMi4xNCAwIDAgMS0yLjMzLjUxIDIuMDggMi4wOCAwIDAgMS0xLjQyLTEuNjkgMi4yIDIuMiAwIDAgMSAuNjctMi4wNUMxMSAyNiAxMi4xNCAyNC44IDEzLjMyIDIzLjY2YS43NC43NCAwIDAgMCAuMTktMWMtLjYxLTEuMjctMS4xNi0yLjU3LTEuNzctMy44NWEuNjcuNjcgMCAwIDEgLjE1LS45MWMuODQtLjgxIDEuNjMtMS42NCAyLjQ0LTIuNDdabS0xLjgyIDEzLjE4YTEgMSAwIDEgMC0yIC4wNSAxIDEgMCAwIDAgMi0uMDVaIi8+PHBhdGggZD0iTTMuMiAxMi42NmEuODkuODkgMCAwIDAgLjExIDEuMjMgMSAxIDAgMCAwIDEuMjMuMWMzLjQtMi42NSA0LjgyLTIuNjUgOC4yNyAwYS45NS45NSAwIDAgMCAxLjMyLTEuMzNjLTIuNjQtMy40LTIuNjQtNC44MSAwLTguMjZBLjkuOSAwIDAgMCAxNCAzLjE3YS44OS44OSAwIDAgMC0xLjIzLS4xQzkuNDEgNS43MiA4IDUuNzIgNC41NCAzLjA3QTEuMjcgMS4yNyAwIDAgMCA0IDIuODlhLjg0Ljg0IDAgMCAwLS42Ni4yOC45LjkgMCAwIDAtLjEyIDEuMjNjMi43MiAzLjQ1IDIuNzIgNC43Ny0uMDIgOC4yNloiIHN0eWxlPSJmaWxsOiNmY2ZlZmUiLz48L3N2Zz4=",Nl=Object.defineProperty,tc=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,Lo=Object.prototype.propertyIsEnumerable,Ou=($e,pe,Pe)=>pe in $e?Nl($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Yl=($e,pe)=>{for(var Pe in pe||(pe={}))Zu.call(pe,Pe)&&Ou($e,Pe,pe[Pe]);if(tc)for(var Pe of tc(pe))Lo.call(pe,Pe)&&Ou($e,Pe,pe[Pe]);return $e};const vs=$e=>g.createElement("svg",Yl({id:"magic-click_svg__\\u56FE\\u5C42_1","data-name":"\\u56FE\\u5C42 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},$e),g.createElement("defs",null,g.createElement("style",null,".magic-click_svg__cls-1{fill:#fff}")),g.createElement("path",{className:"magic-click_svg__cls-1",d:"M30.88 21.21a1.6 1.6 0 0 1-1 1.35c-1.54.75-3.08 1.51-4.59 2.31a2.18 2.18 0 0 0-.87.86c-.79 1.49-1.53 3-2.27 4.53a1.49 1.49 0 0 1-2.89-.18Q17.2 23.8 15.1 17.52a1.49 1.49 0 0 1 2-2l12.55 4.19a1.56 1.56 0 0 1 1.23 1.5Zm-5.25.23-6.94-2.32 2.32 7c.37-.74.71-1.3.95-1.9a3 3 0 0 1 1.8-1.79c.6-.29 1.15-.62 1.87-.99ZM7.34 6.09a4.23 4.23 0 0 1 .89.54l3 3a1.45 1.45 0 1 1-2 2c-1-1-2.06-2-3.07-3.07A1.37 1.37 0 0 1 5.83 7a1.6 1.6 0 0 1 1.51-.91ZM22.35 12.35a6.61 6.61 0 0 1-1.12-.92 1.14 1.14 0 0 1 .09-1.51c1.14-1.19 2.3-2.37 3.5-3.49a1.31 1.31 0 0 1 1.84.1 1.34 1.34 0 0 1 .14 1.9c-1.11 1.19-2.28 2.32-3.45 3.45a3.92 3.92 0 0 1-1 .47ZM7 27.68a6 6 0 0 1-1.13-.9 1.12 1.12 0 0 1 .13-1.5c1.15-1.21 2.32-2.4 3.55-3.54a1.32 1.32 0 0 1 1.84.17 1.33 1.33 0 0 1 .1 1.85C10.35 25 9.16 26.11 8 27.25a3.75 3.75 0 0 1-1 .43ZM17.87 6v2A1.46 1.46 0 1 1 15 8V3.87a1.49 1.49 0 0 1 1.46-1.56 1.51 1.51 0 0 1 1.45 1.57c-.03.74-.04 1.44-.04 2.12ZM5.48 18.3h-2a1.5 1.5 0 0 1-1.55-1.5 1.48 1.48 0 0 1 1.59-1.42h4.07a1.49 1.49 0 0 1 1.59 1.49 1.5 1.5 0 0 1-1.6 1.42c-.69.02-1.4.01-2.1.01Z"}),g.createElement("path",{className:"magic-click_svg__cls-1",d:"M25.63 21.44c-.72.37-1.27.7-1.87.94A3 3 0 0 0 22 24.17c-.24.6-.58 1.16-.95 1.9l-2.32-6.95Z"}));var Sl="data:image/svg+xml;base64,PHN2ZyBpZD0i5Zu+5bGCXzEiIGRhdGEtbmFtZT0i5Zu+5bGCIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM0LjAyIDM0LjAyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0zMC44OCAyMS4yMWExLjYgMS42IDAgMCAxLTEgMS4zNWMtMS41NC43NS0zLjA4IDEuNTEtNC41OSAyLjMxYTIuMTggMi4xOCAwIDAgMC0uODcuODZjLS43OSAxLjQ5LTEuNTMgMy0yLjI3IDQuNTNhMS40OSAxLjQ5IDAgMCAxLTIuODktLjE4UTE3LjIgMjMuOCAxNS4xIDE3LjUyYTEuNDkgMS40OSAwIDAgMSAyLTJsMTIuNTUgNC4xOWExLjU2IDEuNTYgMCAwIDEgMS4yMyAxLjVabS01LjI1LjIzLTYuOTQtMi4zMiAyLjMyIDdjLjM3LS43NC43MS0xLjMuOTUtMS45YTMgMyAwIDAgMSAxLjgtMS43OWMuNi0uMjkgMS4xNS0uNjIgMS44Ny0uOTlaTTcuMzQgNi4wOWE0LjIzIDQuMjMgMCAwIDEgLjg5LjU0bDMgM2ExLjQ1IDEuNDUgMCAxIDEtMiAyYy0xLTEtMi4wNi0yLTMuMDctMy4wN0ExLjM3IDEuMzcgMCAwIDEgNS44MyA3YTEuNiAxLjYgMCAwIDEgMS41MS0uOTFaTTIyLjM1IDEyLjM1YTYuNjEgNi42MSAwIDAgMS0xLjEyLS45MiAxLjE0IDEuMTQgMCAwIDEgLjA5LTEuNTFjMS4xNC0xLjE5IDIuMy0yLjM3IDMuNS0zLjQ5YTEuMzEgMS4zMSAwIDAgMSAxLjg0LjEgMS4zNCAxLjM0IDAgMCAxIC4xNCAxLjljLTEuMTEgMS4xOS0yLjI4IDIuMzItMy40NSAzLjQ1YTMuOTIgMy45MiAwIDAgMS0xIC40N1pNNyAyNy42OGE2IDYgMCAwIDEtMS4xMy0uOSAxLjEyIDEuMTIgMCAwIDEgLjEzLTEuNWMxLjE1LTEuMjEgMi4zMi0yLjQgMy41NS0zLjU0YTEuMzIgMS4zMiAwIDAgMSAxLjg0LjE3IDEuMzMgMS4zMyAwIDAgMSAuMSAxLjg1QzEwLjM1IDI1IDkuMTYgMjYuMTEgOCAyNy4yNWEzLjc1IDMuNzUgMCAwIDEtMSAuNDNaTTE3Ljg3IDZ2MkExLjQ2IDEuNDYgMCAxIDEgMTUgOFYzLjg3YTEuNDkgMS40OSAwIDAgMSAxLjQ2LTEuNTYgMS41MSAxLjUxIDAgMCAxIDEuNDUgMS41N2MtLjAzLjc0LS4wNCAxLjQ0LS4wNCAyLjEyWk01LjQ4IDE4LjNoLTJhMS41IDEuNSAwIDAgMS0xLjU1LTEuNSAxLjQ4IDEuNDggMCAwIDEgMS41OS0xLjQyaDQuMDdhMS40OSAxLjQ5IDAgMCAxIDEuNTkgMS40OSAxLjUgMS41IDAgMCAxLTEuNiAxLjQyYy0uNjkuMDItMS40LjAxLTIuMS4wMVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNS42MyAyMS40NGMtLjcyLjM3LTEuMjcuNy0xLjg3Ljk0QTMgMyAwIDAgMCAyMiAyNC4xN2MtLjI0LjYtLjU4IDEuMTYtLjk1IDEuOWwtMi4zMi02Ljk1WiIvPjwvc3ZnPg==",dl=Object.defineProperty,Wt=Object.getOwnPropertySymbols,Ai=Object.prototype.hasOwnProperty,Vl=Object.prototype.propertyIsEnumerable,zi=($e,pe,Pe)=>pe in $e?dl($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Zo=($e,pe)=>{for(var Pe in pe||(pe={}))Ai.call(pe,Pe)&&zi($e,Pe,pe[Pe]);if(Wt)for(var Pe of Wt(pe))Vl.call(pe,Pe)&&zi($e,Pe,pe[Pe]);return $e};const co=$e=>g.createElement("svg",Zo({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#pen-add_svg__a)",fill:"#fff"},g.createElement("path",{d:"M16.7 10c0-.1 0-.1.1-.2v-.2c0-.1 0-.1-.1-.1l-3.2-3.2-3.1-3.1v-.1H10.1c-.1.2-.3.3-.6.3-1.7.7-3.4 1.3-5.2 1.9-.1 0-.1.1-.2.1s0 .1 0 .2c-.2.6-.4 1.2-.6 1.9C3 9.2 2.5 11 2 12.7L.3 18.4c-.1.3-.2.7-.3 1l.2-.1L7 12.4l.1-.1V12c-.1-.2-.2-.5-.2-.8 0-.3 0-.6.1-.8.1-.3.3-.5.5-.7.2-.2.4-.3.7-.4H9c.3 0 .5.1.8.3.2.1.4.3.6.6.9-.8 2-1.2 3.3-1.2 1.1 0 2.2.4 3 1Z"}),g.createElement("path",{d:"M8.6 13.2h-.3c-.2-.1-.3-.2-.5-.3L.7 20l4-1.2 5-1.4c-.7-.9-1.2-2-1.2-3.3 0-.3.1-.6.1-.9ZM11.3 2.6 16.7 8l.8.8L20 7.2 12.8 0l-.1.1c-.5.8-1 1.5-1.5 2.2v.2l.1.1c-.1 0-.1 0 0 0ZM16.4 11c-.7-.6-1.7-1.1-2.7-1.1-1.2 0-2.3.5-3 1.3-.4.5-.8 1-.9 1.7-.1.4-.2.7-.2 1.1 0 1.2.5 2.2 1.3 3 .7.7 1.7 1.2 2.9 1.2 2.3 0 4.1-1.9 4.1-4.1-.1-1.2-.7-2.3-1.5-3.1Zm-1.1 4.1h-.7v.8c0 .6-.4 1-1 1s-1-.4-1-1v-.8H12c-.6 0-1-.4-1-1s.4-1 1-1h.6v-.5c0-.6.4-1 1-1s1 .4 1 1v.5h.7c.6 0 1 .4 1 1s-.4 1-1 1Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"pen-add_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"}))));var Uu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik0xNi43IDEwYzAtLjEgMC0uMS4xLS4ydi0uMmMwLS4xIDAtLjEtLjEtLjFsLTMuMi0zLjItMy4xLTMuMXYtLjFIMTAuMWMtLjEuMi0uMy4zLS42LjMtMS43LjctMy40IDEuMy01LjIgMS45LS4xIDAtLjEuMS0uMi4xczAgLjEgMCAuMmMtLjIuNi0uNCAxLjItLjYgMS45QzMgOS4yIDIuNSAxMSAyIDEyLjdMLjMgMTguNGMtLjEuMy0uMi43LS4zIDFsLjItLjFMNyAxMi40bC4xLS4xVjEyYy0uMS0uMi0uMi0uNS0uMi0uOCAwLS4zIDAtLjYuMS0uOC4xLS4zLjMtLjUuNS0uNy4yLS4yLjQtLjMuNy0uNEg5Yy4zIDAgLjUuMS44LjMuMi4xLjQuMy42LjYuOS0uOCAyLTEuMiAzLjMtMS4yIDEuMSAwIDIuMi40IDMgMVoiLz48cGF0aCBkPSJNOC42IDEzLjJoLS4zYy0uMi0uMS0uMy0uMi0uNS0uM0wuNyAyMGw0LTEuMiA1LTEuNGMtLjctLjktMS4yLTItMS4yLTMuMyAwLS4zLjEtLjYuMS0uOVpNMTEuMyAyLjYgMTYuNyA4bC44LjhMMjAgNy4yIDEyLjggMGwtLjEuMWMtLjUuOC0xIDEuNS0xLjUgMi4ydi4ybC4xLjFjLS4xIDAtLjEgMCAwIDBaTTE2LjQgMTFjLS43LS42LTEuNy0xLjEtMi43LTEuMS0xLjIgMC0yLjMuNS0zIDEuMy0uNC41LS44IDEtLjkgMS43LS4xLjQtLjIuNy0uMiAxLjEgMCAxLjIuNSAyLjIgMS4zIDMgLjcuNyAxLjcgMS4yIDIuOSAxLjIgMi4zIDAgNC4xLTEuOSA0LjEtNC4xLS4xLTEuMi0uNy0yLjMtMS41LTMuMVptLTEuMSA0LjFoLS43di44YzAgLjYtLjQgMS0xIDFzLTEtLjQtMS0xdi0uOEgxMmMtLjYgMC0xLS40LTEtMXMuNC0xIDEtMWguNnYtLjVjMC0uNi40LTEgMS0xczEgLjQgMSAxdi41aC43Yy42IDAgMSAuNCAxIDFzLS40IDEtMSAxWiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMjB2MjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",fu=Object.defineProperty,ss=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,bi=Object.prototype.propertyIsEnumerable,xi=($e,pe,Pe)=>pe in $e?fu($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,qi=($e,pe)=>{for(var Pe in pe||(pe={}))El.call(pe,Pe)&&xi($e,Pe,pe[Pe]);if(ss)for(var Pe of ss(pe))bi.call(pe,Pe)&&xi($e,Pe,pe[Pe]);return $e};const rs=$e=>g.createElement("svg",qi({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#pen-erase_svg__a)",fill:"#fff"},g.createElement("path",{d:"m16.74 10 .07-.2a.22.22 0 0 0 0-.16.22.22 0 0 0-.09-.12l-3.14-3.16-3.07-3.08a.18.18 0 0 0 0-.07H10.29l-.72.26-5.23 1.82a.42.42 0 0 0-.18.11.35.35 0 0 0-.1.19c-.17.63-.36 1.25-.55 1.88C3 9.21 2.51 11 2 12.67L.3 18.34c-.09.31-.18.66-.3 1l.16-.14L7 12.42l.06-.06a.16.16 0 0 0 0-.09.17.17 0 0 0 0-.1v-.08a1.87 1.87 0 0 1-.06-1.6A1.95 1.95 0 0 1 8.16 9.4c.27-.09.558-.118.84-.08a2 2 0 0 1 .78.26c.232.15.432.344.59.57a5 5 0 0 1 6.37-.15Z"}),g.createElement("path",{d:"M8.63 13.2c-.106.01-.214.01-.32 0a3.38 3.38 0 0 1-.52-.22L.74 20l4-1.2 5-1.44a4.9 4.9 0 0 1-1.11-4.16ZM11.25 2.62c1.83 1.82 3.62 3.62 5.43 5.43l.81.83L20 7.21 12.83 0l-.08.1c-.5.75-1 1.53-1.5 2.25v.06a.192.192 0 0 0 0 .07.19.19 0 0 0 0 .08.208.208 0 0 0 0 .06ZM16.38 11a4.1 4.1 0 0 0-6.66 2 4.24 4.24 0 0 0-.18 1.13 4.11 4.11 0 0 0 1.27 3 4.06 4.06 0 0 0 2.85 1.16A4.12 4.12 0 0 0 16.38 11Zm-1 4.08h-3.32a1 1 0 0 1 0-2h3.27a1 1 0 0 1 0 2h.05Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"pen-erase_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"}))));var mo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Im0xNi43NCAxMCAuMDctLjJhLjIyLjIyIDAgMCAwIDAtLjE2LjIyLjIyIDAgMCAwLS4wOS0uMTJsLTMuMTQtMy4xNi0zLjA3LTMuMDhhLjE4LjE4IDAgMCAwIDAtLjA3SDEwLjI5bC0uNzIuMjYtNS4yMyAxLjgyYS40Mi40MiAwIDAgMC0uMTguMTEuMzUuMzUgMCAwIDAtLjEuMTljLS4xNy42My0uMzYgMS4yNS0uNTUgMS44OEMzIDkuMjEgMi41MSAxMSAyIDEyLjY3TC4zIDE4LjM0Yy0uMDkuMzEtLjE4LjY2LS4zIDFsLjE2LS4xNEw3IDEyLjQybC4wNi0uMDZhLjE2LjE2IDAgMCAwIDAtLjA5LjE3LjE3IDAgMCAwIDAtLjF2LS4wOGExLjg3IDEuODcgMCAwIDEtLjA2LTEuNkExLjk1IDEuOTUgMCAwIDEgOC4xNiA5LjRjLjI3LS4wOS41NTgtLjExOC44NC0uMDhhMiAyIDAgMCAxIC43OC4yNmMuMjMyLjE1LjQzMi4zNDQuNTkuNTdhNSA1IDAgMCAxIDYuMzctLjE1WiIvPjxwYXRoIGQ9Ik04LjYzIDEzLjJjLS4xMDYuMDEtLjIxNC4wMS0uMzIgMGEzLjM4IDMuMzggMCAwIDEtLjUyLS4yMkwuNzQgMjBsNC0xLjIgNS0xLjQ0YTQuOSA0LjkgMCAwIDEtMS4xMS00LjE2Wk0xMS4yNSAyLjYyYzEuODMgMS44MiAzLjYyIDMuNjIgNS40MyA1LjQzbC44MS44M0wyMCA3LjIxIDEyLjgzIDBsLS4wOC4xYy0uNS43NS0xIDEuNTMtMS41IDIuMjV2LjA2YS4xOTIuMTkyIDAgMCAwIDAgLjA3LjE5LjE5IDAgMCAwIDAgLjA4LjIwOC4yMDggMCAwIDAgMCAuMDZaTTE2LjM4IDExYTQuMSA0LjEgMCAwIDAtNi42NiAyIDQuMjQgNC4yNCAwIDAgMC0uMTggMS4xMyA0LjExIDQuMTEgMCAwIDAgMS4yNyAzIDQuMDYgNC4wNiAwIDAgMCAyLjg1IDEuMTZBNC4xMiA0LjEyIDAgMCAwIDE2LjM4IDExWm0tMSA0LjA4aC0zLjMyYTEgMSAwIDAgMSAwLTJoMy4yN2ExIDEgMCAwIDEgMCAyaC4wNVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDIwdjIwSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",qs=Object.defineProperty,au=Object.getOwnPropertySymbols,Fi=Object.prototype.hasOwnProperty,ou=Object.prototype.propertyIsEnumerable,vu=($e,pe,Pe)=>pe in $e?qs($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Us=($e,pe)=>{for(var Pe in pe||(pe={}))Fi.call(pe,Pe)&&vu($e,Pe,pe[Pe]);if(au)for(var Pe of au(pe))ou.call(pe,Pe)&&vu($e,Pe,pe[Pe]);return $e};const Cl=$e=>g.createElement("svg",Us({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M18.33 4.069a.67.67 0 0 0 .67-.672V.671A.672.672 0 0 0 18.33 0h-2.718a.67.67 0 0 0-.671.671v.672H4.066V.67A.672.672 0 0 0 3.395 0H.67A.67.67 0 0 0 0 .671v2.72a.672.672 0 0 0 .67.67h.672v10.877H.67A.67.67 0 0 0 0 15.61v2.72A.672.672 0 0 0 .67 19h2.718a.67.67 0 0 0 .671-.671v-.672h10.869v.672a.672.672 0 0 0 .67.671h2.718a.67.67 0 0 0 .67-.671v-2.706a.672.672 0 0 0-.67-.671h-.671V4.069h.684Zm-2.014 10.876h-.67a.67.67 0 0 0-.671.671v.672H4.065v-.672a.672.672 0 0 0-.67-.671h-.671V4.069h.67a.67.67 0 0 0 .672-.672v-.671h10.868v.671a.672.672 0 0 0 .671.672h.671l.02 5.438.02 5.438Z",fill:"#fff"}),g.createElement("g",{stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"},g.createElement("path",{d:"m6.71 6.713 6.037 6.043M6.71 6.713l6.037 6.043M6.71 6.713l6.037 6.043M6.71 6.713l6.037 6.043"})),g.createElement("g",{stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"},g.createElement("path",{d:"M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756"})));var xl="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTkgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE4LjMzIDQuMDY5YS42Ny42NyAwIDAgMCAuNjctLjY3MlYuNjcxQS42NzIuNjcyIDAgMCAwIDE4LjMzIDBoLTIuNzE4YS42Ny42NyAwIDAgMC0uNjcxLjY3MXYuNjcySDQuMDY2Vi42N0EuNjcyLjY3MiAwIDAgMCAzLjM5NSAwSC42N0EuNjcuNjcgMCAwIDAgMCAuNjcxdjIuNzJhLjY3Mi42NzIgMCAwIDAgLjY3LjY3aC42NzJ2MTAuODc3SC42N0EuNjcuNjcgMCAwIDAgMCAxNS42MXYyLjcyQS42NzIuNjcyIDAgMCAwIC42NyAxOWgyLjcxOGEuNjcuNjcgMCAwIDAgLjY3MS0uNjcxdi0uNjcyaDEwLjg2OXYuNjcyYS42NzIuNjcyIDAgMCAwIC42Ny42NzFoMi43MThhLjY3LjY3IDAgMCAwIC42Ny0uNjcxdi0yLjcwNmEuNjcyLjY3MiAwIDAgMC0uNjctLjY3MWgtLjY3MVY0LjA2OWguNjg0Wm0tMi4wMTQgMTAuODc2aC0uNjdhLjY3LjY3IDAgMCAwLS42NzEuNjcxdi42NzJINC4wNjV2LS42NzJhLjY3Mi42NzIgMCAwIDAtLjY3LS42NzFoLS42NzFWNC4wNjloLjY3YS42Ny42NyAwIDAgMCAuNjcyLS42NzJ2LS42NzFoMTAuODY4di42NzFhLjY3Mi42NzIgMCAwIDAgLjY3MS42NzJoLjY3MWwuMDIgNS40MzguMDIgNS40MzhaIiBmaWxsPSIjZmZmIi8+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48cGF0aCBkPSJtNi43MSA2LjcxMyA2LjAzNyA2LjA0M002LjcxIDYuNzEzbDYuMDM3IDYuMDQzTTYuNzEgNi43MTNsNi4wMzcgNi4wNDNNNi43MSA2LjcxM2w2LjAzNyA2LjA0MyIvPjwvZz48ZyBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik0xMi43NDcgNi43MTMgNi43MSAxMi43NTZNMTIuNzQ3IDYuNzEzIDYuNzEgMTIuNzU2TTEyLjc0NyA2LjcxMyA2LjcxIDEyLjc1Nk0xMi43NDcgNi43MTMgNi43MSAxMi43NTYiLz48L2c+PC9zdmc+",Es=Object.defineProperty,gs=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,ma=($e,pe,Pe)=>pe in $e?Es($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,at=($e,pe)=>{for(var Pe in pe||(pe={}))Du.call(pe,Pe)&&ma($e,Pe,pe[Pe]);if(gs)for(var Pe of gs(pe))ks.call(pe,Pe)&&ma($e,Pe,pe[Pe]);return $e};const Kt=$e=>g.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},$e),g.createElement("defs",null,g.createElement("style",null,".segment-everything_svg__cls-1{fill:#fff}.segment-everything_svg__cls-3{fill:none}")),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"m6.26 15.54 5.88 3.88a1 1 0 0 1 0 1.56L6.1 25.29a.9.9 0 0 1-1.41-.79l.19-8.2a.9.9 0 0 1 1.38-.76ZM7.58 29.17 23.43 17.7a1.71 1.71 0 0 1 2.25.22l3.32 3.5v7.75Z"}),g.createElement("path",{d:"M31 4.35a.88.88 0 0 0-.11-1.19 1 1 0 0 0-1.19-.09c-3.29 2.56-4.66 2.56-8 0a.87.87 0 0 0-1.19.09.87.87 0 0 0-.09 1.19c2.56 3.29 2.56 4.66 0 8a.92.92 0 0 0 1.28 1.28c3.29-2.56 4.66-2.56 8 0a1.28 1.28 0 0 0 .55.18.91.91 0 0 0 .64-.27.87.87 0 0 0 .11-1.19c-2.65-3.35-2.65-4.62 0-8Z",style:{fill:"#fcfefe"}}),g.createElement("path",{className:"segment-everything_svg__cls-3",d:"M4.07 4.13h26.29v26.29H4.07z"}),g.createElement("path",{className:"segment-everything_svg__cls-3",d:"M6.39 28.56h22.49V17H16.49v-3.38a2.56 2.56 0 0 1-2 .93 2.63 2.63 0 0 1-2.59-2.72 2.66 2.66 0 0 1 2.6-2.67 2.57 2.57 0 0 1 2 .95v-4H6.39Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M14.51 9.16a2.66 2.66 0 0 0-2.6 2.67 2.63 2.63 0 0 0 2.59 2.72 2.56 2.56 0 0 0 2-.93v-3.51a2.57 2.57 0 0 0-1.99-.95Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M28.88 28.56H6.39V6.1h10.1V4.25H5.42a.88.88 0 0 0-.89.88v25.28h26.21V17h-1.86Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M17.14 11.87a2.74 2.74 0 0 0-.65-1.76v3.51a2.7 2.7 0 0 0 .65-1.75Z"}));var _n="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9LmNscy0ze2ZpbGw6bm9uZX08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im02LjI2IDE1LjU0IDUuODggMy44OGExIDEgMCAwIDEgMCAxLjU2TDYuMSAyNS4yOWEuOS45IDAgMCAxLTEuNDEtLjc5bC4xOS04LjJhLjkuOSAwIDAgMSAxLjM4LS43NlpNNy41OCAyOS4xNyAyMy40MyAxNy43YTEuNzEgMS43MSAwIDAgMSAyLjI1LjIybDMuMzIgMy41djcuNzVaIi8+PHBhdGggZD0iTTMxIDQuMzVhLjg4Ljg4IDAgMCAwLS4xMS0xLjE5IDEgMSAwIDAgMC0xLjE5LS4wOWMtMy4yOSAyLjU2LTQuNjYgMi41Ni04IDBhLjg3Ljg3IDAgMCAwLTEuMTkuMDkuODcuODcgMCAwIDAtLjA5IDEuMTljMi41NiAzLjI5IDIuNTYgNC42NiAwIDhhLjkyLjkyIDAgMCAwIDEuMjggMS4yOGMzLjI5LTIuNTYgNC42Ni0yLjU2IDggMGExLjI4IDEuMjggMCAwIDAgLjU1LjE4LjkxLjkxIDAgMCAwIC42NC0uMjcuODcuODcgMCAwIDAgLjExLTEuMTljLTIuNjUtMy4zNS0yLjY1LTQuNjIgMC04WiIgc3R5bGU9ImZpbGw6I2ZjZmVmZSIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTQuMDcgNC4xM2gyNi4yOXYyNi4yOUg0LjA3eiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTYuMzkgMjguNTZoMjIuNDlWMTdIMTYuNDl2LTMuMzhhMi41NiAyLjU2IDAgMCAxLTIgLjkzIDIuNjMgMi42MyAwIDAgMS0yLjU5LTIuNzIgMi42NiAyLjY2IDAgMCAxIDIuNi0yLjY3IDIuNTcgMi41NyAwIDAgMSAyIC45NXYtNEg2LjM5WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE0LjUxIDkuMTZhMi42NiAyLjY2IDAgMCAwLTIuNiAyLjY3IDIuNjMgMi42MyAwIDAgMCAyLjU5IDIuNzIgMi41NiAyLjU2IDAgMCAwIDItLjkzdi0zLjUxYTIuNTcgMi41NyAwIDAgMC0xLjk5LS45NVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yOC44OCAyOC41Nkg2LjM5VjYuMWgxMC4xVjQuMjVINS40MmEuODguODggMCAwIDAtLjg5Ljg4djI1LjI4aDI2LjIxVjE3aC0xLjg2WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE3LjE0IDExLjg3YTIuNzQgMi43NCAwIDAgMC0uNjUtMS43NnYzLjUxYTIuNyAyLjcgMCAwIDAgLjY1LTEuNzVaIi8+PC9zdmc+",dr=function(pe){var Pe=pe.drawData,kn=pe.onChangePointResolution,vt=(0,z.bU)(),Nn=vt.localeText,xn=(0,g.useMemo)(function(){return Pe.objectList.length===0&&!Pe.creatingObject||Pe.isBatchEditing},[Pe.objectList,Pe.creatingObject,Pe.isBatchEditing]),wn=(0,g.useMemo)(function(){return[{key:Q.jB.PenAdd,name:Nn("DDSAnnotator.subtoolbar.mask.penAdd"),icon:(0,x.jsx)(H.Z,{component:co}),available:!0},{key:Q.jB.PenErase,name:Nn("DDSAnnotator.subtoolbar.mask.penErase"),icon:(0,x.jsx)(H.Z,{component:rs}),available:!!Pe.creatingObject},{key:Q.jB.BrushAdd,name:Nn("DDSAnnotator.subtoolbar.mask.brushAdd"),icon:(0,x.jsx)(H.Z,{component:Xs}),available:!0,withSize:!0},{key:Q.jB.BrushErase,name:Nn("DDSAnnotator.subtoolbar.mask.brushErase"),icon:(0,x.jsx)(H.Z,{component:Hl}),available:!!Pe.creatingObject,withSize:!0}]},[Pe.creatingObject]),Rn=(0,g.useMemo)(function(){return[{key:Q.jB.AutoSegmentByBox,name:Nn("DDSAnnotator.subtoolbar.mask.box"),icon:(0,x.jsx)(H.Z,{component:ec}),available:!0},{key:Q.jB.AutoSegmentByStroke,name:Nn("DDSAnnotator.subtoolbar.mask.stroke"),icon:(0,x.jsx)(H.Z,{component:cl}),available:!0,withSize:!0},{key:Q.jB.AutoSegmentByClick,name:Nn("DDSAnnotator.subtoolbar.mask.click"),icon:(0,x.jsx)(H.Z,{component:vs}),available:!0}]},[]),vr=(0,g.useMemo)(function(){return[{key:Q.jB.AutoSegmentByBox,name:Nn("DDSAnnotator.subtoolbar.mask.box"),icon:(0,x.jsx)(H.Z,{component:ec}),available:!0,withCustomElement:!0},{key:Q.jB.AutoSegmentByStroke,name:Nn("DDSAnnotator.subtoolbar.mask.stroke"),icon:(0,x.jsx)(H.Z,{component:cl}),available:!0,withSize:!0,withCustomElement:!0},{key:Q.jB.AutoSegmentByClick,name:Nn("DDSAnnotator.subtoolbar.mask.click"),icon:(0,x.jsx)(H.Z,{component:vs}),available:!0,withCustomElement:!0}]},[]),pr=(0,g.useMemo)(function(){var Ir;return[{key:Q.jB.PositiveVisualPrompt,name:Nn("DDSAnnotator.subtoolbar.visualprompt.positive"),icon:(0,x.jsx)(H.Z,{component:Qo}),available:!0},{key:Q.jB.NegativeVisualPrompt,name:Nn("DDSAnnotator.subtoolbar.visualprompt.negative"),icon:(0,x.jsx)(H.Z,{component:Cl}),available:!!((Ir=Pe.prompt.promptsQueue)!==null&&Ir!==void 0&&Ir.some(function(lr){return lr.isPositive}))}]},[Pe.prompt]),Mr=(0,g.useMemo)(function(){return[{key:Q.jB.AutoSegmentEverything,name:Nn("DDSAnnotator.subtoolbar.mask.sam"),icon:(0,x.jsx)(H.Z,{component:Kt}),available:xn,description:Nn(xn?"DDSAnnotator.subtoolbar.mask.sam.desc":"DDSAnnotator.subtoolbar.mask.sam.notAllow")},{key:Q.jB.AutoEdgeStitching,name:Nn("DDSAnnotator.subtoolbar.mask.edgeStitch"),icon:(0,x.jsx)(H.Z,{component:ul}),available:!0,withSize:!0}]},[xn]),Ln=(0,g.useMemo)(function(){var Ir=Pe.selectedTool,lr=Pe.creatingObject,Ar=Pe.AIAnnotation,Or=Pe.selectedModel;return!!(Ir===Q.ru.Mask||(lr==null?void 0:lr.type)===Q.gr.Mask||Ir===Q.ru.Rectangle&&Ar&&Or[Ir]===Q.HE.IVP||(Ir===Q.ru.Polygon||(lr==null?void 0:lr.type)===Q.gr.Polygon)&&Ar)},[Pe.selectedTool,Pe.creatingObject,Pe.AIAnnotation,Pe.selectedModel]),ta=(0,g.useMemo)(function(){var Ir,lr;if(Pe.selectedTool===Q.ru.Mask||((Ir=Pe.creatingObject)===null||Ir===void 0?void 0:Ir.type)===Q.gr.Mask){if(!Pe.AIAnnotation)return{basicTools:wn,smartTools:[]};var Ar=Pe.selectedModel[Pe.selectedTool];return Ar===Q.HE.IVP?{basicTools:[],smartTools:pr}:Ar===Q.HE.SegmentByMask?{basicTools:[],smartTools:Rn}:Ar===Q.HE.SegmentEverything?{basicTools:[],smartTools:Mr}:{basicTools:wn,smartTools:[]}}else{if(Pe.selectedTool===Q.ru.Polygon||((lr=Pe.creatingObject)===null||lr===void 0?void 0:lr.type)===Q.gr.Polygon)return{basicTools:[],smartTools:vr,customElement:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-title",children:Nn("DDSAnnotator.subtoolbar.polygon.pointResolution")}),(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-slider",children:(0,x.jsx)(Hn.Z,{min:.1,max:.9,step:.1,value:Pe.pointResolution,onChange:kn,onAfterChange:function(sa){return kn(sa,!0)}})})]})};if(Pe.selectedTool===Q.ru.Rectangle&&Pe.AIAnnotation&&Pe.selectedModel[Pe.selectedTool]===Q.HE.IVP)return{basicTools:[],smartTools:pr}}return{basicTools:[],smartTools:[]}},[Pe.selectedTool,Pe.creatingObject,Pe.AIAnnotation,Pe.selectedModel,vr,wn,Rn,Mr,pr,Pe.pointResolution]);return{showSubTools:Ln,currSubTools:ta}},wa=dr,lo=function(pe){var Pe=pe.mode,kn=pe.manualMode,vt=pe.drawData,Nn=pe.setDrawData,xn=pe.setDrawDataWithHistory,wn=pe.editState,Rn=pe.setEditState,vr=pe.clientSize,pr=pe.naturalSize,Mr=pe.addObject,Ln=pe.updateObject,ta=pe.updateAllObject,Ir=pe.getAnnotColor,lr=pe.onAiAnnotation,Ar=(0,z.bU)(),Or=Ar.localeText,sa=(0,g.useCallback)(function(St){var pn;return wn.annotsDisplayOptions.colorByCategory?Ir(St):vt.activeObjectIndex>-1?vt.objectList[vt.activeObjectIndex].color:((pn=vt.creatingObject)===null||pn===void 0?void 0:pn.color)||Ir(St)},[wn.annotsDisplayOptions.colorByCategory,Ir,vt.activeObjectIndex,vt.objectList,vt.creatingObject]),Kn=function(pn){var Qn=vt.objectList[vt.activeObjectIndex];if(Qn){var Jn=t()(t()({},vt.objectList[vt.activeObjectIndex]),{},{attributes:void 0});Jn.labelId=pn,wn.annotsDisplayOptions.colorByCategory&&(Jn.color=Ir(pn)),Jn.type===Q.gr.Mask&&Jn.maskRle&&(Jn.maskCanvasElement=(0,gr.ei)(Jn.maskRle,pr,Jn.color)),vt.isBatchEditing&&(Jn.conf=1),Ln(Jn,vt.activeObjectIndex)}Rn(function(Sr){Sr.latestLabelId=pn})},Yr=(0,g.useCallback)(function(St){var pn,Qn;if(((pn=vt.creatingObject)===null||pn===void 0?void 0:pn.type)===Q.gr.Mask){var Jn,Sr,Lr=(0,gr.G9)(vr,pr,((Jn=vt.creatingObject)===null||Jn===void 0?void 0:Jn.tempMaskSteps)||[],(Sr=vt.creatingObject)===null||Sr===void 0?void 0:Sr.maskCanvasElement);if(Lr&&Lr.length>0){var Qr=sa(St),ya=t()(t()({},vt.objectList[vt.activeObjectIndex]),{},{type:Q.gr.Mask,labelId:St,hidden:!1,maskRle:Lr,maskCanvasElement:(0,gr.ei)(Lr,pr,Qr),conf:1,status:W.TK.Commited,color:Qr});vt.activeObjectIndex>-1?Ln(ya,vt.activeObjectIndex):Mr(ya)}else Lr?S.ZP.warning(Or("DDSAnnotator.anno.mask.emptyWarning")):S.ZP.error(Or("DDSAnnotator.anno.mask.translateToRleError"))}else if(((Qn=vt.creatingObject)===null||Qn===void 0?void 0:Qn.type)===Q.gr.Polygon){var da,ba=Ir(St),qa=t()(t()({},vt.objectList[vt.activeObjectIndex]),{},{type:Q.gr.Polygon,labelId:St,hidden:!1,polygon:(da=vt.creatingObject)===null||da===void 0?void 0:da.polygon,conf:1,status:W.TK.Commited,color:ba});vt.activeObjectIndex>-1?Ln(qa,vt.activeObjectIndex):Mr(qa)}else{var oo=t()({},vt.objectList[vt.activeObjectIndex]);oo.labelId=St,wn.annotsDisplayOptions.colorByCategory&&(oo.color=Ir(St)),vt.isBatchEditing&&(oo.conf=1),Ln(oo,vt.activeObjectIndex)}Nn(function(xa){xa.creatingObject=void 0,xa.prompt={},xa.activeObjectIndex=-1,xa.selectedSubTool===Q.jB.PenErase?xa.selectedSubTool=Q.jB.PenAdd:xa.selectedSubTool===Q.jB.BrushErase&&(xa.selectedSubTool=Q.jB.BrushAdd)}),Rn(function(xa){xa.latestLabelId=St})},[vt.creatingObject,vt.activeObjectIndex,vt.objectList,vt.selectedSubTool]),na=(0,g.useCallback)(function(){xn(function(St){var pn=(0,m.cloneDeep)(vt.objectList).filter(function(Qn){return Qn.status!==W.TK.Unchecked}).map(function(Qn){return Qn.status=W.TK.Commited,Qn.type!==Q.gr.Mask&&(Qn.color=Ir(Qn.labelId)),Qn});St.objectList=pn,St.isBatchEditing=!1,St.activeObjectIndex=-1,St.creatingObject=void 0,St.prompt={}})},[vt.objectList,xn]),ca=(0,g.useCallback)(function(){xn(function(St){var pn=(0,m.cloneDeep)(vt.objectList).filter(function(Qn){return Qn.status===W.TK.Commited});St.objectList=pn,St.isBatchEditing=!1,St.activeObjectIndex=-1,St.creatingObject=void 0,St.prompt={}})},[vt.objectList,xn]),or=(0,g.useCallback)(function(){var St=vt.selectedTool,pn=vt.AIAnnotation,Qn=vt.selectedModel,Jn=vt.selectedSubTool,Sr=vt.isBatchEditing,Lr=vt.creatingObject,Qr=function(){if(!pn)return!1;if(St===Q.ru.Rectangle)return Sr;if(St===Q.ru.Polygon)return Lr;if(St===Q.ru.Skeleton)return Sr;if(St===Q.ru.Mask){var ba=Qn[St];return ba===Q.HE.IVP||ba===Q.HE.SegmentEverything&&Jn===Q.jB.AutoSegmentEverything?Sr:ba===Q.HE.SegmentByMask?Lr:!1}return!1},ya=Qr();return ya&&S.ZP.warning(Or("DDSAnnotator.smart.tip.limitJump")),ya},[vt.selectedTool,vt.selectedModel,vt.AIAnnotation,vt.selectedSubTool,vt.isBatchEditing,vt.creatingObject]),ur=(0,g.useCallback)(function(St){Pe!==W.je.Edit||St===vt.selectedTool&&!vt.AIAnnotation||or()||Nn(function(pn){pn.selectedTool=St,pn.isJustCreated=!1,pn.AIAnnotation=!1,pn.activeObjectIndex=-1,pn.creatingObject=void 0,pn.editingAttribute=void 0,pn.prompt={}})},[Pe,vt.selectedTool,vt.isBatchEditing,vt.AIAnnotation,or]),Vr=(0,g.useCallback)(function(St){var pn=vt.selectedTool,Qn=vt.selectedModel,Jn=vt.selectedSubTool,Sr=vt.AIAnnotation,Lr=vt.isBatchEditing;Pe!==W.je.Edit||St===Jn||pn===Q.ru.Mask&&Sr&&Qn[pn]===Q.HE.SegmentEverything&&Lr||Nn(function(Qr){Qr.selectedSubTool=St})},[Pe,vt.selectedTool,vt.AIAnnotation,vt.selectedModel,vt.isBatchEditing,vt.selectedSubTool,or]),Rr=(0,g.useCallback)(function(St,pn){Nn(function(Qn){Qn.selectedTool=St,Qn.selectedSubTool=pn})},[]),Br=(0,g.useCallback)(function(){xn(function(St){St.objectList=St.objectList.filter(function(pn){return pn.status===W.TK.Commited}),St.AIAnnotation=!1,St.isBatchEditing=!1,St.creatingObject=void 0,St.prompt={}})},[xn]),Cr=(0,g.useCallback)(function(St){Pe===W.je.Edit&&Nn(function(pn){pn.brushSize=St})},[Pe]),V=(0,g.useCallback)(function(St){Pe===W.je.Edit&&Nn(function(pn){pn.pointResolution=St})},[Pe]),Z=(0,g.useCallback)(function(St,pn){if(V(St),pn&&vt.creatingObject&&vt.creatingObject.type===Q.gr.Polygon&&vt.prompt.promptsQueue&&vt.prompt.promptsQueue.length>0){var Qn=t()(t()({},vt),{},{pointResolution:St});lr({type:Q.gr.Polygon,drawData:Qn,promptsQueue:vt.prompt.promptsQueue})}},[vt.creatingObject,vt.prompt]),fe=function(){n.Z.info({centered:!0,closable:!0,title:Or("DDSAnnotator.smart.infoModal.title"),content:Or("DDSAnnotator.smart.infoModal.content"),okText:Or("DDSAnnotator.smart.infoModal.action"),onOk:function(){window.open("https://deepdataspace.com","_blank")}})},Ce=(0,g.useCallback)(function(St){Pe!==W.je.Edit||kn||or()||Nn(function(pn){pn.AIAnnotation=St})},[Pe,kn,or]),Le=(0,g.useCallback)(function(St){xn(function(pn){var Qn=(0,m.cloneDeep)(vt.objectList).map(function(Jn){return Jn.status===W.TK.Commited?Jn:Jn.conf===void 0?(Jn.status=W.TK.Unchecked,Jn):(Jn.status=Jn.confSt[1]?W.TK.Unchecked:W.TK.Checked,Jn)});pn.objectList=Qn})},[vt.objectList,xn]),et=(0,g.useCallback)(function(St){xn(function(pn){var Qn=(0,m.cloneDeep)(vt.objectList).map(function(Sr){return Sr.status===W.TK.Commited||(Sr.status=Sr.conf&&Sr.conf>=St?W.TK.Checked:W.TK.Unchecked),Sr});pn.objectList=Qn;var Jn=Qn.filter(function(Sr){return Sr.status===W.TK.Checked}).length;S.ZP.success(Or("DDSAnnotator.smart.tip.annotationApplied",{count:Jn}))})},[vt.objectList,xn]),Mt=(0,g.useCallback)(function(St){Rn(function(pn){pn.imageDisplayOptions=St})},[]),Dt=(0,g.useCallback)(function(St){Rn(function(pn){pn.annotsDisplayOptions=St})},[]),Vt=(0,g.useCallback)(function(){if(!(!vt.objectList||!vt.objectList.length)){var St=(0,m.cloneDeep)(vt.objectList).map(function(pn){var Qn=Ir(pn.labelId);return pn.type===Q.gr.Mask&&pn.maskRle&&pn.maskRle.length>0?t()(t()({},pn),{},{color:Qn,maskCanvasElement:(0,gr.ei)(pn.maskRle,pr,Qn)}):t()(t()({},pn),{},{color:Qn})});ta(St)}},[vt.objectList,Ir]),cn=(0,g.useCallback)(function(St){var pn=vt.selectedTool,Qn=Q.Xn[pn];return!(!Qn.includes(St)||or())},[Q.Xn,vt.selectedTool,or]),hn=(0,g.useCallback)(function(St){cn(St)&&Nn(function(pn){pn.selectedModel[pn.selectedTool]=St})},[cn]);return(0,g.useEffect)(function(){Nn(function(St){if(St.AIAnnotation){var pn=St.selectedModel[St.selectedTool];switch(St.selectedTool){case Q.ru.Rectangle:pn===Q.HE.IVP?St.selectedSubTool=Q.jB.PositiveVisualPrompt:St.selectedSubTool=Q.jB.PenAdd;break;case Q.ru.Mask:if(pn===Q.HE.IVP)St.selectedSubTool=Q.jB.PositiveVisualPrompt;else if(pn===Q.HE.SegmentEverything){var Qn=St.objectList.length===0&&!St.creatingObject||St.isBatchEditing;St.selectedSubTool=Qn?Q.jB.AutoSegmentEverything:Q.jB.PenAdd}else St.selectedSubTool=Q.jB.AutoSegmentByBox;break;case Q.ru.Polygon:St.selectedSubTool=Q.jB.AutoSegmentByBox;break;case Q.ru.Skeleton:case Q.ru.Drag:St.selectedSubTool=Q.jB.PenAdd;break}}else St.selectedSubTool=Q.jB.PenAdd})},[vt.selectedTool,vt.AIAnnotation,vt.selectedModel]),{onChangeObjectLabel:Kn,onFinishCurrCreate:Yr,onAcceptValidObjects:na,onAbortBatchObjects:ca,selectTool:ur,selectSubTool:Vr,forceChangeTool:Rr,onExitAIAnnotation:Br,setBrushSize:Cr,activeAIAnnotation:Ce,displayAIModeUnavailableModal:fe,onChangeSkeletonConf:Le,onChangeLimitConf:et,onChangeImageDisplayOpts:Mt,onChangeAnnotsDisplayOpts:Dt,onChangeColorMode:Vt,onChangePointResolution:Z,onSelectModel:hn,isInAiSession:or}},li=lo,Fo=e(92183),es=Object.defineProperty,ni=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable,Oo=($e,pe,Pe)=>pe in $e?es($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,ki=($e,pe)=>{for(var Pe in pe||(pe={}))fi.call(pe,Pe)&&Oo($e,Pe,pe[Pe]);if(ni)for(var Pe of ni(pe))Co.call(pe,Pe)&&Oo($e,Pe,pe[Pe]);return $e};const ms=$e=>g.createElement("svg",ki({viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#docs_svg__a)"},g.createElement("path",{d:"M14.666 5.5a.917.917 0 1 1 0 1.833H7.333a.917.917 0 1 1 0-1.833h7.333Zm7.065 16.231a.916.916 0 0 1-1.296 0l-2.206-2.206a4.086 4.086 0 0 1-4.48-.053 4.125 4.125 0 1 1 6.417-3.43 4.085 4.085 0 0 1-.641 2.187l2.206 2.206a.917.917 0 0 1 0 1.296Zm-5.69-3.398a2.292 2.292 0 1 0 0-4.583 2.292 2.292 0 0 0 0 4.583Zm-4.125 1.834h-5.5a2.75 2.75 0 0 1-2.75-2.75V4.583a2.75 2.75 0 0 1 2.75-2.75h11a.917.917 0 0 1 .917.917v7.333a.917.917 0 0 0 1.833 0V2.75A2.75 2.75 0 0 0 17.416 0h-11a4.589 4.589 0 0 0-4.583 4.583v12.834A4.589 4.589 0 0 0 6.416 22h5.5a.917.917 0 1 0 0-1.833Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"docs_svg__a"},g.createElement("path",{d:"M0 0h22v22H0z"}))));var wu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjIgMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTQuNjY2IDUuNWEuOTE3LjkxNyAwIDEgMSAwIDEuODMzSDcuMzMzYS45MTcuOTE3IDAgMSAxIDAtMS44MzNoNy4zMzNabTcuMDY1IDE2LjIzMWEuOTE2LjkxNiAwIDAgMS0xLjI5NiAwbC0yLjIwNi0yLjIwNmE0LjA4NiA0LjA4NiAwIDAgMS00LjQ4LS4wNTMgNC4xMjUgNC4xMjUgMCAxIDEgNi40MTctMy40MyA0LjA4NSA0LjA4NSAwIDAgMS0uNjQxIDIuMTg3bDIuMjA2IDIuMjA2YS45MTcuOTE3IDAgMCAxIDAgMS4yOTZabS01LjY5LTMuMzk4YTIuMjkyIDIuMjkyIDAgMSAwIDAtNC41ODMgMi4yOTIgMi4yOTIgMCAwIDAgMCA0LjU4M1ptLTQuMTI1IDEuODM0aC01LjVhMi43NSAyLjc1IDAgMCAxLTIuNzUtMi43NVY0LjU4M2EyLjc1IDIuNzUgMCAwIDEgMi43NS0yLjc1aDExYS45MTcuOTE3IDAgMCAxIC45MTcuOTE3djcuMzMzYS45MTcuOTE3IDAgMCAwIDEuODMzIDBWMi43NUEyLjc1IDIuNzUgMCAwIDAgMTcuNDE2IDBoLTExYTQuNTg5IDQuNTg5IDAgMCAwLTQuNTgzIDQuNTgzdjEyLjgzNEE0LjU4OSA0LjU4OSAwIDAgMCA2LjQxNiAyMmg1LjVhLjkxNy45MTcgMCAxIDAgMC0xLjgzM1oiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Gl=Object.defineProperty,ls=Object.getOwnPropertySymbols,ju=Object.prototype.hasOwnProperty,Kl=Object.prototype.propertyIsEnumerable,us=($e,pe,Pe)=>pe in $e?Gl($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Ic=($e,pe)=>{for(var Pe in pe||(pe={}))ju.call(pe,Pe)&&us($e,Pe,pe[Pe]);if(ls)for(var Pe of ls(pe))Kl.call(pe,Pe)&&us($e,Pe,pe[Pe]);return $e};const nc=$e=>g.createElement("svg",Ic({viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},$e),g.createElement("path",{d:"m15.5 1 13.423 7.75v15.5L15.5 32 2.077 24.25V8.75L15.5 1Z",fill:"#fff"}),g.createElement("path",{fill:"url(#logo_svg__a)",d:"M0 0h33v33H0z"}),g.createElement("defs",null,g.createElement("pattern",{id:"logo_svg__a",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#logo_svg__b",transform:"scale(.00417)"})),g.createElement("image",{id:"logo_svg__b",width:240,height:240,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABLHSURBVHgB7d1fVhw3FgbwKxX2jIE47QWYFCtIWMHACoLBeQ5eAbACmhUAK8B5DtidFcAOcFbgMlmAexyMk4GSRqqmCSYBd3dJKl3V93vKOfPnnND9dd0rXakEQXLy5U+LOtNbmnQhS7ld9B4VBEkSBMnIl3VHyU9bJPTGZ/+Blt0P6o+9fu9JnyApCHAi5lZscEsTXNG5479SaK23f3s1+5IgGQgwc7ZcVlLtm08yH/F/YsvqJZTVaUCAmTLBzU2fu2/63EWazEv0x/whwMwM+tw/1kmoLtXXN/3x7umrR9sELCHAjOSr5+uKbHDv7HMnhf6YKQSYgRvbQovkkSDRE6XYRFnNBwIcMQd97qTQHzOBAEforz733m0h31BWM4AAR+bpytmaELTTYHBvKzSVm78dPu4RRAcBjkSoPrcGlNURQoAbVpXL2cdd81H8SBxo2ZWKfkKQ44AANySSPndS6I8jgQA3YILxx1gVsnzwrOg9fEPQCAQ4oPyHs++0kjsR97mTQn/cEAQ4gDuP+aXG9McYywwLAfbM4/hjrNAfB4QAe5JQnzupN6asfoay2i8E2LEGxx9jhf7YIwTYEcfH/FJTmP74Jfpj9xBgB1rY504K/bFjCHANDMYfo4Rji+4gwBMY9LnK7OfSMkEd6I9rQoDHwHz8MVYoq2tAgEdUHfMjsdXibSHfcGxxAgjwF6DPDQ5l9RgQ4DuwO+aXGrxNYiQI8C3oc6OC/vgLEOAbMP4YLbxN4g4IMCV9zC816I9vaXWAW3PMLzU4tnittQHG+CN76I+phQG2fW4py10hxLcEKWj1scXWBBjH/JLXyv44+QBjW6hVCtJi7/TV9C61RNIBRp/bWq3pj5MMMMYf4UryZXVSAbZ9rsrKLsYf4TNa7Eol9lIMchIBRp8LI0iyrGYf4KerH5eFph2MP8KI7FjmC/M0PqYEsA0w+lyoKYn+mF2AMf4ITjE/tsgqwHMrNrjoc8E5tv0xiwDjmB8Ewu7YYtQBxvgjNIRNfxxlgNHnQgT6pj/ejf3YYnQBTmT8sW9+fLal+Qet5LoWOifgKur+OJoAp3PMT+/JcqZb9ES1qonpsDQIEseiFC9iK6sbD3AqfW71AUu1Wfw8++af/vPq31PqIzyN2YuqP24swKmMP5rgFkKUL4qDr45H+e/nK2drmuQWgsxaNMcWGwlw9ZYDQTv8+1y1Jy9nd4fl8qhQViej8f44aIBTGX80f7SeKGXtt+tdvSTttSb6joCzxsrqIAFO5YlT9bmi3B61XB4VyupENHBs0WuAEzrmV20LnR7Meut5qh+5qcs1s/e4RcBZ0LLaW4ATOuZnyqPpzXH73EkNqpVL80MhvyfgrJDlg2dF7+Eb8sh5gBM95he8x0FZnQyv3x1nAW7B+GMjo3Vzz3/voqxOgKe3STgJcMuO+QXfOsC2UzKcf3dqBbjlx/yCvxEAZXUynB1brBXgudWPmiB4f3xVVq+bf8TFBnwVp4cz81STJKhrTWXqqGojAjk9+KprfjQWTGP1E0GrIcBu5CRU11Qkb+2YKAVgn/inh7NrUuhNgtZCgN3KhRD736yev7YLTxRAcTC7a57G80KLgqB1EGAPzB74simr35on8n6IINunsVBiCSFuHwTYr6v++Nz73jhC3E5JBtgsrXsdXxuT6Y/1Toj+GCH+nD18Iql8lvJiX1IBtofrpVBL7w5nFmxfGNkHV/XHvsvqKsSZMl9aYnlRuQvV90DrF+8Op5eKw8e9arEv0XWCVAJsD9dvi/LRwvCo3/UqrfkgI/vg1qr+2OO2k73Wx6xOR32boid/fQ9uTTvZ78O7V9PzEX4faklhkGOkQYpIhx+8TnPZ1XC7oEYtMM6lc5Ec3XQyyME2wJMcro90priQUj+76zK8OvLl9x2VPXxLCU9sCU2/Cqk2JrlkoeHvQ2sDXPtwff7890Wtsv2IZor7JsRLPkI8t2IqD5HkaSZnlyw0NGPewgCb/maSS+Tukj8/24jo4nVvIf5m5fxtWgcgPr972xXbZgmV/Rjob9WeWehqO8CsItoZYJcfmp1istsukaxWd5QSR/kPZ84vuBOk9igB19+Dw9kNHzek2O9XRN+HkUT9BB73zuU6Irp4vfhQ/m/B5ftquffCIb8HQ4P+WJ2Qv79Z+k9gralHl1MFBRDRNkP+dfav1+RQYX8MFMthhr9tD4Zwdc79iBj84MVdQgu9YUcRQ53wsez+YdNllL1PzPX4pcx0j3ixlwk6b5vuY4Nrtt6O7HeOyyUVnBax7C0Gdp/vmAJp+OL1viml512W0ubzek+RP1V83b19n4buc2vdgf68OhgQ6ISPVZXVdiyzmbK681j+y+32j6JfKF796/HHQOG1wbUTcSr7+JbrZYwcRymvRxE7ZnGGArguq00/RiGZL5XLHyspdEyHPIaqPteWy0XAiwJtW6bk+Ym9iIHzZYx8Z6HNH/5x9vAk6A0Yg6ts5m2ZR4Go6rZPR2RcAb7aFlpoos+1B0tSuIwxlUvtgtyCf5MdAlFa2BLX96+3s174ajvpPTWszvjjpK7WM3bMFzaW2XBcaneD6Y8vToL2x4OrbBYC9Ma2F14jB4rBj0CTxwzt+OPmu1cz34Xvc8uTiMLrTGoH+r0f1btpcID+zwXfJbUQ5O49SbqpANvxR7st5O8Fcbflq+frgwUq3n3ufVK+FzroGxTmVs9e+jzVYsroJy7K6LkV+4UO1/s1VC4vlrLcNX3utxQvlNBfMLwB422IstpeHuBz+KMz9e8m9qJr0ntCTS+GK5c/5cNBjMjD60wbLrXLQ90QKcuLDV/3camy5NW/mV7X16GD2wZ97vmO/ZwTeyvmF7XpVkrbH594vcrGlLiilH7uo5IiJx769l6yUL0u90GMutp2rWxn+AYFX09ju7BlvsDPyD0OJeHgTHOY02OLg34+3QWqUbT1XuhqLPPp6kcvZengC+z8DG78J2O03vRxIcFNHA8c+NTmi91z06++9lVSy/KyS25L6bgDLGjb5yhk1eealX4b3Lb1uffBmxlsSe0hxNXQhHb7FA41+z0u80PYOz2Y6ZIntlKq+ly84PxvEGCrCrH7159IdWkXcpw9hTv07+gCXN2WUUpvb0i0q8u2Umpzn3sfBHhI6J38+adFcsjHUzg2QisvLze3JfPTlbM3bV1dHhUCfIPSyvlrQa+ewkmyT18ffW91H5U8P2nLMEYdCPDnOjrT++RQtTcc8PhhSPbpS44NwosV5lFFficWbYe+m8rHfVTmyZ7c2/F8PX1LWfYQ3tHFfSul0oMXlAm1FPSVoUI7ve0jUxc9SoyPp2+1YIWyeSwsSmg7GBH4bqrOY/nQ2VO4WswSUb2zuLa+4x+l6mYVLFiNjVUPbEu2YHc3C1p3uu9a0q+Ujl/cXjz/KTcleYrvb/KO5SLWdZCF3vQYZKdP4UgvlJuI+QF1+vSt3hCIvncirFehr99t5Ou2SPMUJkdKoQpKhcqOyZHBth0mrCbFfhvp5m2RHlasO66GOzIpC0pAtfrscHDD9bZd2ySzD1wF2a5YOw6ys4P0F1mTl8m5VJAj1U2ROJhQS3KDHDeD7GTrSQp3F8olQCvlbDGu6n2hlmQnsaobI0vlYsg+D3VVLQvCYSugxX8IasEo5SiyC4YXyvmhSTlpBZ6ufljGynN9CPAIlJ7KCZwSJJO7ZL0JCPAoMN7nHv6mTiQe4KmCnFBPKBWi+at57DuaTC2OtsQBPIFHYPY+v6Z0RHCzxRTC6wgCDMGVmcb1OI4gwBCc0BmewI4gwACMIcAQnkYJ7QoCDA3AFbGuIMAAjCHAAIwhwACMIcAAjCHAAIwhwKE8KLHyCs4hwKFcYO8T3EOAARhDgAEYQ4ABGEOAARhDgAEYQ4ABGEOAYSyCRE4QDQQYgDEEGIAxBBiAMQQYgDEEuEXwkrb0IMAAjCHAAIwhwACMIcAjwVleiBMCPAIdxQvBAP4OAQZgDAEGYAwBBmAMAQZgDAEGYAwBBmAMAQZgDAEOpJQiJwDHEGAAxhBgGI/GWGlMog5wJrOCIC4y+5ogGngCAzCGAAMwhgADMIYAAzCGAAMwhgADMIYAAzCGALfJgzKOIQypMAziCALcJhdxTFEJwjCIKwgwAGNxB1hfoNQCuEfUAVaUvZ5b+bTVWX6PIFcy/B3gM/GX0EJ1H2cPT56unK1R201FsggF0eDSA+dCiP251Y9v8YY9gL9wW8TKVabemiDvI8gAfFeh10yQT2x/TAAtxnkbqWP7Y1tW39UfF71HBQEkLIV94Ko//mb1/AhlNbRNMoMcmvQi+mNomxQnsWx/fDS3cr5B4JwgnRNEI9VRypyE3rH9MQEkLPVZ6JwiIUjkBOAYDjPAWDSJgiAaCDCMR5X/JYgGAgzjEbIgiAYCDGORUrwhiAYCDGPpX/5RO8BaYyvKFQQYRmZW0o/7vSd9qkvEszvAHQIMIxNa/UQ15T+cfUfgTK0AS61fCI1thTYwT9+ieDX7kmoqlcqp5WwlI4V6QQ7UCrD9QN+9mp6XQm8iyGkTpVgiB4SSi9RS9kfQPvTeHU4vFQdfHZMDTkro4mB2Vyj7AevaJVakOq0+ICFo29nRzEz8h9qnb365tkX5aMFFFXOTsx7YfsCnh7NrspTztkSgtHSqk07ML9grs0nuhdZ7pwczXXKg+hHU1KoeWBD1TCYWTg++6hY9UX8B8Bbni1g2yLZESLI/5n7BnpZjBtiE93DW2amuUpaL1BJXfe7Su8OZZz4vlvC2Cj3sj23pQLaESEc7Ltgz6xouw1v9X5JowxVIffu3c9nn3sf7NpItHWwJkWB/nOQFe9VCi3lynJp1DXLo6eqH5eT3f83DSpbT867/dvcJsg/8WX+c3mp1Qhfs6b1qocXDk0PS1DolqiqXzXfbV597n6CDHFV/bLed0uuPv3jBXsyun7qmZPbxBbR/E3vlESVm+HeryuWGLlBsZBLL9sdC/blw1R+nhNsFe9X2hvkCzvvs1xLsfYd97nyIPvc+jY1SFr0n/av+eD61/pjJBXsvh9sb5NHcysettHpfvRe6z73PFDXsqvRYy1c/9LSe2tEiqZMqtj9enFs537OxjoHt14Qot0M8Oezcs1LUpQRUfzepNoufZ6M6TikoMnnVL8mtxILshBTSbE08OqYJ5cu6E2qRxVYeSqoj7k9f2+eaH7wXTZfKd4nuNNKgP056LLMx4cKrO6Use8zD+9f4Y6ThtaI8Tnhz2wlB5kdn5/tmMe9b4uvloM8Nvy00rsZ74Ptc98crZ8coq+Nnn7w6+/Sa65ZRyPUBV6Lrge8z9/z3rlDZj20Nct0e2Cfb89qymemTty+13nR9UigEVjdy2JIG/XF8THgX7YIVw/D2h+OPHMNrsXoC32R/8XWmTLnWnuNpsT2Bbcms5Cezz6vZvYeqKpdL8YL7K2jZ3ok1OLY4s4BrfZrxdPXjspLnJ9zCKzT92vT4o0tsn8C32f6YtEz6uFoMT2BbLutMbzFcqLLjj9uxTFC5ksytlKmOZX5GXzR2G4gtl+dWznfsq1v5hTeu8UeXknkC32RH+HQpXye4Wl1orbd/C7jgMuhz/1gnUZpSWbC6TiiVPvc+SQZ4KOGxzEJTufnb4eMeeXS1urzPbaIq9vFHl5IOsFXN5E5driXaH9sTRduunzCDFX69z7PPVXu+T1jFJPkAD1VBzsqu+Vf+kVKjZVcq+qlukDlvCw363JnoRx9da02Ah/LVD8sJHlu0avXH+er5uiLVZdnnMht/dKl1AR5KuT+W5YNnRe/hSOdWbZ9bynKX2xRV1eeS3iwOZ7yuA8SutQG2ki6rv9Afc+9z5eXsbtvK5X/S6gAPDYJ8afYI5feUGtMfn756dH33GOdtIfK0aMcZAnxD0ttOpj+2/yAE7aDPTQcC/A/afmwxImyP+YWCAN8h8f44duhzR4QAf0Ebjy02qQ3jjy4hwCPCbZl+2WN+QqoN9LnjQYDH1IZji4ElecwvFAR4AuiPXWnn+KNLCHANCR9b9Ap9rjsIsAPoj0fTpmN+oSDAjlxNc20QyWTfg1sDtoU8QYAdQ398G/pcnxBgT9peVmP8MQwE2LP8+dmGVnK9LUHGMb+wEOAAWlJWo89tAAIcEOMzuPcyX6KeKOUmtoXCQ4AbkEp/jD63eQhwg67GMu22E7eD9Rh/jAQC3DB2/bF9mx/63GggwJGo+mOpj2ItqzH+GCcEODKx9ccYf4wbAhyhfPl9R01NbTR8bBF9LgMIcMSa648x/sgFAsxA/vz3Ra2yfd9lddXnSrVZ/Dw70qXw0DwEmBFf/TH6XL4QYGYcH1vE+CNzCDBTDvrjl7Kc3kRweUOAmRu3rMb4Y1oQ4ER86dhi1edqtY23HKQFAU7IHWU1+tyEIcAJGh5bNPu5fRzzS9v/AWiP/NYPzz1QAAAAAElFTkSuQmCC"})));var fl="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzMgMzMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Im0xNS41IDEgMTMuNDIzIDcuNzV2MTUuNUwxNS41IDMyIDIuMDc3IDI0LjI1VjguNzVMMTUuNSAxWiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik0wIDBoMzN2MzNIMHoiLz48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPjx1c2UgeGxpbms6aHJlZj0iI2IiIHRyYW5zZm9ybT0ic2NhbGUoLjAwNDE3KSIvPjwvcGF0dGVybj48aW1hZ2UgaWQ9ImIiIHdpZHRoPSIyNDAiIGhlaWdodD0iMjQwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3BuZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQVBBQUFBRHdDQVlBQUFBK1ZlbVNBQUFBQ1hCSVdYTUFBQ0U0QUFBaE9BRkZsakZnQUFBQUFYTlNSMElBcnM0YzZRQUFBQVJuUVUxQkFBQ3hqd3Y4WVFVQUFCTEhTVVJCVkhnQjdkMWZWaHczRmdid0t4WDJqSUU0N1FXWUZDdElXTUhBQ29MQmVRNWVBYkFDbWhVQUs4QjVEdGlkRmNBT2NGYmdNbG1BZXh5TWs0R1NScXFtQ1NZQmQzZEpLbDNWOTN2S09mUG5uTkQ5ZGQwclhha0VRWEx5NVUrTE90TmJtblFoUzdsZDlCNFZCRWtTQk1uSWwzVkh5VTliSlBUR1ovK0JsdDBQNm8rOWZ1OUpueUFwQ0hBaTVsWnNjRXNUWE5HNTQ3OVNhSzIzZjNzMSs1SWdHUWd3YzdaY1ZsTHRtMDh5SC9GL1lzdnFKWlRWYVVDQW1UTEJ6VTJmdTIvNjNFV2F6RXYweC93aHdNd00rdHcvMWttb0x0WFhOLzN4N3VtclI5c0VMQ0hBak9TcjUrdUtiSER2N0hNbmhmNllLUVNZZ1J2YlFvdmtrU0RSRTZYWVJGbk5Cd0ljTVFkOTdxVFFIek9CQUVmb3J6NzMzbTBoMzFCV000QUFSK2JweXRtYUVMVFRZSEJ2S3pTVm03OGRQdTRSUkFjQmprU29QcmNHbE5VUlFvQWJWcFhMMmNkZDgxSDhTQnhvMlpXS2ZrS1E0NEFBTnlTU1BuZFM2SThqZ1FBM1lJTHh4MWdWc256d3JPZzlmRVBRQ0FRNG9QeUhzKyswa2pzUjk3bVRRbi9jRUFRNGdEdVArYVhHOU1jWXl3d0xBZmJNNC9oanJOQWZCNFFBZTVKUW56dXBONmFzZm9heTJpOEUyTEVHeHg5amhmN1lJd1RZRWNmSC9GSlRtUDc0SmZwajl4QmdCMXJZNTA0Sy9iRmpDSEFORE1ZZm80UmppKzRnd0JNWTlMbks3T2ZTTWtFZDZJOXJRb0RId0h6OE1WWW9xMnRBZ0VkVUhmTWpzZFhpYlNIZmNHeHhBZ2p3RjZEUERRNWw5UmdRNER1d08rYVhHcnhOWWlRSThDM29jNk9DL3ZnTEVPQWJNUDRZTGJ4TjRnNElNQ1Y5ekM4MTZJOXZhWFdBVzNQTUx6VTR0bml0dFFIRytDTjc2SStwaFFHMmZXNHB5MTBoeExjRUtXajFzY1hXQkJqSC9KTFh5djQ0K1FCalc2aFZDdEppNy9UVjlDNjFSTklCUnAvYldxM3BqNU1NTU1ZZjRVcnlaWFZTQWJaOXJzcktMc1lmNFROYTdFb2w5bElNY2hJQlJwOExJMGl5ckdZZjRLZXJINWVGcGgyTVA4S0k3RmptQy9NMFBxWUVzQTB3K2x5b0tZbittRjJBTWY0SVRqRS90c2dxd0hNck5yam9jOEU1dHYweGl3RGptQjhFd3U3WVl0UUJ4dmdqTklSTmZ4eGxnTkhuUWdUNnBqL2VqZjNZWW5RQlRtVDhzVzkrZkxhbCtRZXQ1TG9XT2lmZ0t1citPSm9BcDNQTVQrL0pjcVpiOUVTMXFvbnBzRFFJRXNlaUZDOWlLNnNiRDNBcWZXNzFBVXUxV2Z3OCsrYWYvdlBxMzFQcUl6eU4yWXVxUDI0c3dLbU1QNXJnRmtLVUw0cURyNDVIK2UvbksyZHJtdVFXZ3N4YU5NY1dHd2x3OVpZRFFUdjgrMXkxSnk5bmQ0Zmw4cWhRVmllajhmNDRhSUJUR1g4MGY3U2VLR1h0dCt0ZHZTVHR0U2I2am9DenhzcnFJQUZPNVlsVDlibWkzQjYxWEI0Vnl1cEVOSEJzMFd1QUV6cm1WMjBMblI3TWV1dDVxaCs1cWNzMXMvZTRSY0JaMExMYVc0QVRPdVpueXFQcHpYSDczRWtOcXBWTDgwTWh2eWZnckpEbGcyZEY3K0ViOHNoNWdCTTk1aGU4eDBGWm5ReXYzeDFuQVc3QitHTWpvM1Z6ejMvdm9xeE9nS2UzU1RnSmNNdU8rUVhmT3NDMlV6S2NmM2RxQmJqbHgveUN2eEVBWlhVeW5CMWJyQlhndWRXUG1pQjRmM3hWVnErYmY4VEZCbndWcDRjejgxU1RKS2hyVFdYcXFHb2pBams5K0twcmZqUVdUR1AxRTBHckljQnU1Q1JVMTFRa2IrMllLQVZnbi9pbmg3TnJVdWhOZ3RaQ2dOM0toUkQ3MzZ5ZXY3WUxUeFJBY1RDN2E1N0c4MEtMZ3FCMUVHQVB6Qjc0c2ltcjM1b244bjZJSU51bnNWQmlDU0Z1SHdUWXI2disrTno3M2poQzNFNUpCdGdzclhzZFh4dVQ2WS8xVG9qK0dDSCtuRDE4SXFsOGx2SmlYMUlCdG9mcnBWQkw3dzVuRm14ZkdOa0hWL1hIdnN2cUtzU1pNbDlhWW5sUnVRdlY5MERyRis4T3A1ZUt3OGU5YXJFdjBYV0NWQUpzRDlkdmkvTFJ3dkNvMy9VcXJma2dJL3ZnMXFyKzJPTzJrNzNXeDZ4T1IzMmJvaWQvZlE5dVRUdlo3OE83VjlQekVYNGZha2xoa0dPa1FZcEloeCs4VG5QWjFYQzdvRVl0TU02bGM1RWMzWFF5eU1FMndKTWNybzkwcHJpUVVqKzc2eks4T3ZMbDl4MlZQWHhMQ1U5c0NVMi9DcWsySnJsa29lSHZRMnNEWFB0d2ZmNzg5MFd0c3YySVpvcjdKc1JMUGtJOHQySXFENUhrYVNabmx5dzBOR1Bld2dDYi9tYVNTK1R1a2o4LzI0am80blZ2SWY1bTVmeHRXZ2NnUHI5NzJ4WGJaZ21WL1Jqb2I5V2VXZWhxTzhDc0l0b1pZSmNmbXAxaXN0c3VrYXhXZDVRU1Iva1BaODR2dUJPazlpZ0IxOStEdzlrTkh6ZWsyTzlYUk4rSGtVVDlCQjczenVVNklycDR2ZmhRL20vQjVmdHF1ZmZDSWI4SFE0UCtXSjJRdjc5WitrOWdyYWxIbDFNRkJSRFJOa1ArZGZhdjErUlFZWDhNRk10aGhyOXRENFp3ZGM3OWlCajg0TVZkUWd1OVlVY1JRNTN3c2V6K1lkTmxsTDFQelBYNHBjeDBqM2l4bHdrNmI1dnVZNE5ydHQ2TzdIZU95eVVWbkJheDdDMEdkcC92bUFKcCtPTDF2aW1sNTEyVzB1YnplaytSUDFWODNiMTluNGJ1YzJ2ZGdmNjhPaGdRNklTUFZaWFZkaXl6bWJLNjgxait5KzMyajZKZktGNzk2L0hIUU9HMXdiVVRjU3I3K0piclpZd2NSeW12UnhFN1puR0dBcmd1cTAwL1JpR1pMNVhMSHlzcGRFeUhQSWFxUHRlV3kwWEFpd0p0VzZiaytZbTlpSUh6Wll4OFo2SE5ILzV4OXZBazZBMFlnNnRzNW0yWlI0R282clpQUjJSY0FiN2FGbHBvb3MrMUIwdFN1SXd4bFV2dGd0eUNmNU1kQWxGYTJCTFg5NiszczE3NGFqdnBQVFdzenZqanBLN1dNM2JNRnphVzJYQmNhbmVENlk4dlRvTDJ4NE9yYkJZQzlNYTJGMTRqQjRyQmowQ1R4d3p0K09QbXUxY3ozNFh2Yzh1VGlNTHJUR29IK3IwZjFidHBjSUQrendYZkpiVVE1TzQ5U2JxcEFOdnhSN3N0NU84RmNiZmxxK2ZyZ3dVcTNuM3VmVksrRnpyb0d4VG1WczllK2p6Vllzcm9KeTdLNkxrVis0VU8xL3MxVkM0dmxyTGNOWDN1dHhRdmxOQmZNTHdCNDIySXN0cGVIdUJ6K0tNejllOG05cUpyMG50Q1RTK0dLNWMvNWNOQmpNakQ2MHdiTHJYTFE5MFFLY3VMRFYvM2NhbXk1TlcvbVY3WDE2R0Qyd1o5N3ZtTy9ad1RleXZtRjdYcFZrcmJINTk0dmNyR2xMaWlsSDd1bzVJaUp4NzY5bDZ5VUwwdTkwR011dHAycld4bitBWUZYMDlqdTdCbHZzRFB5RDBPSmVIZ1RIT1kwMk9MZzM0KzNRV3FVYlQxWHVocUxQUHA2a2N2WmVuZ0MrejhERzc4SjJPMDN2UnhJY0ZOSEE4YytOVG1pOTF6MDYrKzlsVlN5L0t5UzI1TDZiZ0RMR2piNXloazFlZWFsWDRiM0xiMXVmZkJteGxzU2UwaHhOWFFoSGI3RkE0MSt6MHU4MFBZT3oyWTZaSW50bEtxK2x5ODRQeHZFR0NyQ3JINzE1OUlkV2tYY3B3OWhUdjA3K2dDWE4yV1VVcHZiMGkwcTh1MlVtcHpuM3NmQkhoSTZKMzgrYWRGY3NqSFV6ZzJRaXN2THplM0pmUFRsYk0zYlYxZEhoVUNmSVBTeXZsclFhK2V3a215VDE4ZmZXOTFINVU4UDJuTE1FWWRDUERuT2pyVCsrUlF0VGNjOFBoaFNQYnBTNDROd29zVjVsRkZmaWNXYlllK204ckhmVlRteVo3YzIvRjhQWDFMV2ZZUTN0SEZmU3VsMG9NWGxBbTFGUFNWb1VJN3ZlMGpVeGM5U295UHAyKzFZSVd5ZVN3c1NtZzdHQkg0YnFyT1kvblEyVk80V3N3U1ViMnp1TGErNHgrbDZtWVZMRmlOalZVUGJFdTJZSGMzQzFwM3V1OWEwcStVamwvY1hqei9LVGNsZVlydmIvS081U0xXZFpDRjN2UVlaS2RQNFVndmxKdUkrUUYxK3ZTdDNoQ0l2bmNpckZlaHI5OXQ1T3UyU1BNVUprZEtvUXBLaGNxT3laSEJ0aDBtckNiRmZodnA1bTJSSGxhc082NkdPeklwQzBwQXRmcnNjSEREOWJaZDJ5U3pEMXdGMmE1WU93NnlzNFAwRjFtVGw4bTVWSkFqMVUyUk9KaFFTM0tESERlRDdHVHJTUXAzRjhvbFFDdmxiREd1Nm4yaGxtUW5zYW9iSTB2bFlzZytEM1ZWTFF2Q1lTdWd4WDhJYXNFbzVTaXlDNFlYeXZtaFNUbHBCWjZ1ZmxqR3luTjlDUEFJbEo3S0Nad1NKSk83WkwwSkNQQW9NTjduSHY2bVRpUWU0S21DbkZCUEtCV2krYXQ1N0R1YVRDMk90c1FCUElGSFlQWSt2NlowUkhDenhSVEM2d2dDRE1HVm1jYjFPSTRnd0JDYzBCbWV3STRnd0FDTUljQVFua1lKN1FvQ0RBM0FGYkd1SU1BQWpDSEFBSXdod0FDTUljQUFqQ0hBQUl3aHdLRThLTEh5Q3M0aHdLRmNZTzhUM0VPQUFSaERnQUVZUTRBQkdFT0FBUmhEZ0FFWVE0QUJHRU9BWVN5Q1JFNFFEUVFZZ0RFRUdJQXhCQmlBTVFRWWdERUV1RVh3a3JiMElNQUFqQ0hBQUl3aHdBQ01JY0Fqd1ZsZWlCTUNQQUlkeFF2QkFQNE9BUVpnREFFR1lBd0JCbUFNQVFaZ0RBRUdZQXdCQm1BTUFRWmdEQUVPcEpRaUp3REhFR0FBeGhCZ0dJL0dXR2xNb2c1d0pyT0NJQzR5KzVvZ0duZ0NBekNHQUFNd2hnQURNSVlBQXpDR0FBTXdoZ0FETUlZQUF6Q0dBTGZKZ3pLT0lReXBNQXppQ0FMY0poZHhURkVKd2pDSUt3Z3dBR054QjFoZm9OUUN1RWZVQVZhVXZaNWIrYlRWV1g2UElGY3kvQjNnTS9HWDBFSjFIMmNQVDU2dW5LMVIyMDFGc2dnRjBlRFNBK2RDaVAyNTFZOXY4WVk5Z0w5d1c4VEtWYWJlbWlEdkk4Z0FmRmVoMTB5UVQyeC9UQUF0eG5rYnFXUDdZMXRXMzlVZkY3MUhCUUVrTElWOTRLby8vbWIxL0FobE5iUk5Nb01jbXZRaSttTm9teFFuc1d4L2ZEUzNjcjVCNEp3Z25STkVJOVZSeXB5RTNySDlNUUVrTFBWWjZKd2lJVWprQk9BWURqUEFXRFNKZ2lBYUNEQ01SNVgvSllnR0FnempFYklnaUFZQ0RHT1JVcndoaUFZQ0RHUHBYLzVSTzhCYVl5dktGUVFZUm1aVzBvLzd2U2Q5cWt2RXN6dkFIUUlNSXhOYS9VUTE1VCtjZlVmZ1RLMEFTNjFmQ0kxdGhUWXdUOStpZURYN2ttb3FsY3FwNVd3bEk0VjZRUTdVQ3JEOVFOKzltcDZYUW04aXlHa1RwVmdpQjRTU2k5UlM5a2ZRUHZUZUhVNHZGUWRmSFpNRFRrcm80bUIyVnlqN0FldmFKVmFrT3EwK0lDRm8yOW5SekV6OGg5cW5iMzY1dGtYNWFNRkZGWE9Uc3g3WWZzQ25oN05yc3BUenRrU2d0SFNxazA3TUw5Z3JzMG51aGRaN3B3Y3pYWEtnK2hIVTFLb2VXQkQxVENZV1RnKys2aFk5VVg4QjhCYm5pMWcyeUxaRVNMSS81bjdCbnBaakJ0aUU5M0RXMmFtdVVwYUwxQkpYZmU3U3U4T1paejR2bHZDMkNqM3NqMjNwUUxhRVNFYzdMdGd6NnhvdXcxdjlYNUpvd3hWSWZmdTNjOW5uM3NmN05wSXRIV3dKa1dCL25PUUZlOVZDaTNseW5KcDFEWExvNmVxSDVlVDNmODNEU3BiVDg2Ny9kdmNKc2cvOFdYK2MzbXAxUWhmczZiMXFvY1hEazBQUzFEb2xxaXFYelhmYlY1OTduNkNESEZWL2JMZWQwdXVQdjNqQlhzeXVuN3FtWlBieEJiUi9FM3ZsRVNWbStIZXJ5dVdHTGxCc1pCTEw5c2RDL2JsdzFSK25oTnNGZTlYMmh2a0N6dnZzMXhMc2ZZZDk3bnlJUHZjK2pZMVNGcjBuL2F2K2VENjEvcGpKQlhzdmg5c2I1TkhjeXNldHRIcGZ2UmU2ejczUEZEWHNxdlJZeTFjLzlMU2UydEVpcVpNcXRqOWVuRnM1MzdPeGpvSHQxNFFvdDBNOE9lemNzMUxVcFFSVWZ6ZXBOb3VmWjZNNlRpa29Nbm5WTDhtdHhJTHNoQlRTYkUwOE9xWUo1Y3U2RTJxUnhWWWVTcW9qN2s5ZjIrZWFIN3dYVFpmS2Q0bnVOTktnUDA1NkxMTXg0Y0tyTzZVc2U4ekQrOWY0WTZUaHRhSThUbmh6MndsQjVrZG41L3RtTWU5YjR1dmxvTThOdnkwMHJzWjc0UHRjOThjclo4Y29xK05ubjd3NisvU2E2NVpSeVBVQlY2THJnZTh6OS96M3JsRFpqMjBOY3QwZTJDZmI4OXF5bWVtVHR5KzEzblI5VWlnRVZqZHkySklHL1hGOFRIZ1g3WUlWdy9EMmgrT1BITU5yc1hvQzMyUi84WFdtVExuV251TnBzVDJCYmNtczVDZXp6NnZadlllcUtwZEw4WUw3SzJqWjNvazFPTFk0czRCcmZacnhkUFhqc3BMbko5ekNLelQ5MnZUNG8wdHNuOEMzMmY2WXRFejZ1Rm9NVDJCYkx1dE1iekZjcUxMamo5dXhURkM1a3N5dGxLbU9aWDVHWHpSMkc0Z3RsK2RXem5mc3ExdjVoVGV1OFVlWGtua0MzMlJIK0hRcFh5ZTRXbDFvcmJkL0M3amdNdWh6LzFnblVacFNXYkM2VGlpVlB2YytTUVo0S09HeHpFSlR1Zm5iNGVNZWVYUzF1cnpQYmFJcTl2RkhsNUlPc0ZYTjVFNWRyaVhhSDlzVFJkdXVuekNERlg2OXo3UFBWWHUrVDFqRkpQa0FEMVZCenNxdStWZitrVktqWlZjcStxbHVrRGx2Q3czNjNKbm9SeDlkYTAyQWgvTFZEOHNKSGx1MGF2WEgrZXI1dWlMVlpkbm5NaHQvZEtsMUFSNUt1VCtXNVlOblJlL2hTT2RXYlo5YnluS1gyeFJWMWVlUzNpd09aN3l1QThTdXRRRzJraTZydjlBZmMrOXo1ZVhzYnR2SzVYL1M2Z0FQRFlKOGFmWUk1ZmVVR3RNZm43NTZkSDMzR09kdElmSzBhTWNaQW54RDB0dE9waisyL3lBRTdhRFBUUWNDL0EvYWZtd3hJbXlQK1lXQ0FOOGg4ZjQ0ZHVoelI0UUFmMEViankwMnFRM2pqeTRod0NQQ2JabCsyV04rUXFvTjlMbmpRWURIMUlaamk0RWxlY3d2RkFSNEF1aVBYV25uK0tOTENIQU5DUjliOUFwOXJqc0lzQVBvajBmVHBtTitvU0RBamx4TmMyMFF5V1RmZzFzRHRvVThRWUFkUTM5OEcvcGNueEJnVDlwZVZtUDhNUXdFMkxQOCtkbUdWbks5TFVIR01iK3dFT0FBV2xKV284OXRBQUljRU9NenVQY3lYNktlS09VbXRvWENRNEFia0VwL2pENjNlUWh3ZzY3R011MjJFN2VEOVJoL2pBUUMzREIyL2JGOW14LzYzR2dnd0pHbyttT3BqMkl0cXpIK0dDY0VPREt4OWNjWWY0d2JBaHloZlBsOVIwMU5iVFI4YkJGOUxnTUljTVNhNjQ4eC9zZ0ZBc3hBL3Z6M1JhMnlmZDlsZGRYblNyVlovRHc3MHFYdzBEd0VtQkZmL1RINlhMNFFZR1ljSDF2RStDTnpDREJURHZyamw3S2Mza1J3ZVVPQW1SdTNyTWI0WTFvUTRFUjg2ZGhpMWVkcXRZMjNIS1FGQVU3SUhXVTErdHlFSWNBSkdoNWJOUHU1ZlJ6elM5di9BV2lQL05ZUHp6MVFBQUFBQUVsRlRrU3VRbUNDIi8+PC9kZWZzPjwvc3ZnPg==",Il=Object.defineProperty,Rl=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Ac=Object.prototype.propertyIsEnumerable,gu=($e,pe,Pe)=>pe in $e?Il($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,mu=($e,pe)=>{for(var Pe in pe||(pe={}))ku.call(pe,Pe)&&gu($e,Pe,pe[Pe]);if(Rl)for(var Pe of Rl(pe))Ac.call(pe,Pe)&&gu($e,Pe,pe[Pe]);return $e};const pu=$e=>g.createElement("svg",mu({className:"displayReset_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},$e),g.createElement("path",{d:"m193.07 70.353 5.423.931a34.91 34.91 0 0 1 28.37 40.425l-.024.07-12.87 72.541A448.698 448.698 0 0 1 507.857 75.38c246.831 0 447.023 197.912 447.023 442.182S754.688 959.744 507.857 959.744c-160.186 0-305.687-84.084-385.466-218.159a37.795 37.795 0 0 1 13.359-51.921 38.167 38.167 0 0 1 52.154 13.289c66.21 111.243 186.903 180.992 319.953 180.992 204.87 0 370.851-164.096 370.851-366.383S712.728 151.18 507.858 151.18c-107.288 0-206.802 45.265-276.318 121.995H373.04a34.91 34.91 0 0 1 0 69.818H163.584c-2.607 0-5.19-.279-7.657-.837a34.63 34.63 0 0 1-5.26-.512l-5.422-.931a34.91 34.91 0 0 1-28.346-40.495l35.77-201.588a34.91 34.91 0 0 1 40.402-28.277z",fill:"#fff"}));var as="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0ibTE5My4wNyA3MC4zNTMgNS40MjMuOTMxYTM0LjkxIDM0LjkxIDAgMCAxIDI4LjM3IDQwLjQyNWwtLjAyNC4wNy0xMi44NyA3Mi41NDFBNDQ4LjY5OCA0NDguNjk4IDAgMCAxIDUwNy44NTcgNzUuMzhjMjQ2LjgzMSAwIDQ0Ny4wMjMgMTk3LjkxMiA0NDcuMDIzIDQ0Mi4xODJTNzU0LjY4OCA5NTkuNzQ0IDUwNy44NTcgOTU5Ljc0NGMtMTYwLjE4NiAwLTMwNS42ODctODQuMDg0LTM4NS40NjYtMjE4LjE1OWEzNy43OTUgMzcuNzk1IDAgMCAxIDEzLjM1OS01MS45MjEgMzguMTY3IDM4LjE2NyAwIDAgMSA1Mi4xNTQgMTMuMjg5YzY2LjIxIDExMS4yNDMgMTg2LjkwMyAxODAuOTkyIDMxOS45NTMgMTgwLjk5MiAyMDQuODcgMCAzNzAuODUxLTE2NC4wOTYgMzcwLjg1MS0zNjYuMzgzUzcxMi43MjggMTUxLjE4IDUwNy44NTggMTUxLjE4Yy0xMDcuMjg4IDAtMjA2LjgwMiA0NS4yNjUtMjc2LjMxOCAxMjEuOTk1SDM3My4wNGEzNC45MSAzNC45MSAwIDAgMSAwIDY5LjgxOEgxNjMuNTg0Yy0yLjYwNyAwLTUuMTktLjI3OS03LjY1Ny0uODM3YTM0LjYzIDM0LjYzIDAgMCAxLTUuMjYtLjUxMmwtNS40MjItLjkzMWEzNC45MSAzNC45MSAwIDAgMS0yOC4zNDYtNDAuNDk1bDM1Ljc3LTIwMS41ODhhMzQuOTEgMzQuOTEgMCAwIDEgNDAuNDAyLTI4LjI3N3oiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",Pu=Object.defineProperty,ps=Object.getOwnPropertySymbols,Qi=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,el=($e,pe,Pe)=>pe in $e?Pu($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Wo=($e,pe)=>{for(var Pe in pe||(pe={}))Qi.call(pe,Pe)&&el($e,Pe,pe[Pe]);if(ps)for(var Pe of ps(pe))Ts.call(pe,Pe)&&el($e,Pe,pe[Pe]);return $e};const iu=$e=>g.createElement("svg",Wo({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#settings-sliders_svg__a)"},g.createElement("path",{d:"M.833 3.958h2.28a3.107 3.107 0 0 0 5.996 0h10.058a.833.833 0 0 0 0-1.667H9.109a3.107 3.107 0 0 0-5.996 0H.833a.833.833 0 0 0 0 1.667Zm5.278-2.292a1.458 1.458 0 1 1 0 2.917 1.458 1.458 0 0 1 0-2.917ZM19.167 9.167h-2.28a3.106 3.106 0 0 0-5.995 0H.833a.833.833 0 0 0 0 1.666h10.059a3.105 3.105 0 0 0 5.995 0h2.28a.833.833 0 0 0 0-1.666Zm-5.278 2.291a1.458 1.458 0 1 1 0-2.915 1.458 1.458 0 0 1 0 2.915ZM19.167 16.042H9.109a3.107 3.107 0 0 0-5.996 0H.833a.833.833 0 1 0 0 1.666h2.28a3.107 3.107 0 0 0 5.996 0h10.058a.833.833 0 0 0 0-1.666ZM6.11 18.333a1.458 1.458 0 1 1 0-2.915 1.458 1.458 0 0 1 0 2.915Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"settings-sliders_svg__a"},g.createElement("path",{d:"M0 0h20v20H0z"}))));var cs="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNLjgzMyAzLjk1OGgyLjI4YTMuMTA3IDMuMTA3IDAgMCAwIDUuOTk2IDBoMTAuMDU4YS44MzMuODMzIDAgMCAwIDAtMS42NjdIOS4xMDlhMy4xMDcgMy4xMDcgMCAwIDAtNS45OTYgMEguODMzYS44MzMuODMzIDAgMCAwIDAgMS42NjdabTUuMjc4LTIuMjkyYTEuNDU4IDEuNDU4IDAgMSAxIDAgMi45MTcgMS40NTggMS40NTggMCAwIDEgMC0yLjkxN1pNMTkuMTY3IDkuMTY3aC0yLjI4YTMuMTA2IDMuMTA2IDAgMCAwLTUuOTk1IDBILjgzM2EuODMzLjgzMyAwIDAgMCAwIDEuNjY2aDEwLjA1OWEzLjEwNSAzLjEwNSAwIDAgMCA1Ljk5NSAwaDIuMjhhLjgzMy44MzMgMCAwIDAgMC0xLjY2NlptLTUuMjc4IDIuMjkxYTEuNDU4IDEuNDU4IDAgMSAxIDAtMi45MTUgMS40NTggMS40NTggMCAwIDEgMCAyLjkxNVpNMTkuMTY3IDE2LjA0Mkg5LjEwOWEzLjEwNyAzLjEwNyAwIDAgMC01Ljk5NiAwSC44MzNhLjgzMy44MzMgMCAxIDAgMCAxLjY2NmgyLjI4YTMuMTA3IDMuMTA3IDAgMCAwIDUuOTk2IDBoMTAuMDU4YS44MzMuODMzIDAgMCAwIDAtMS42NjZaTTYuMTEgMTguMzMzYTEuNDU4IDEuNDU4IDAgMSAxIDAtMi45MTUgMS40NTggMS40NTggMCAwIDEgMCAyLjkxNVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDIwdjIwSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",rc=(0,g.memo)(function($e){var pe=$e.displayOption,Pe=$e.onChangeImageDisplayOpts,kn=$e.onChangeAnnotsDisplayOpts,vt=(0,z.bU)(),Nn=vt.localeText,xn=(0,g.useMemo)(function(){return(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container",children:[(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-header",children:[(0,x.jsx)("div",{children:Nn("DDSAnnotator.imgDisplayTool.title")}),(0,x.jsx)(C.ZP,{type:"primary",className:"dds-annotator-display-pop-container-btn",icon:(0,x.jsx)(H.Z,{component:pu}),onClick:function(){return Pe(W.O4)}})]}),(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,x.jsx)("label",{children:Nn("DDSAnnotator.imgDisplayTool.brightness")}),(0,x.jsx)(Hn.Z,{value:pe.brightness,onChange:function(Rn){return Pe(t()(t()({},pe),{},{brightness:Rn}))},min:0,max:200})]}),(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,x.jsx)("label",{children:Nn("DDSAnnotator.imgDisplayTool.contrast")}),(0,x.jsx)(Hn.Z,{value:pe.contrast,onChange:function(Rn){return Pe(t()(t()({},pe),{},{contrast:Rn}))},min:0,max:200})]}),(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,x.jsx)("label",{children:Nn("DDSAnnotator.imgDisplayTool.saturate")}),(0,x.jsx)(Hn.Z,{value:pe.saturate,onChange:function(Rn){return Pe(t()(t()({},pe),{},{saturate:Rn}))},min:0,max:200})]})]})},[pe.brightness,pe.contrast,pe.saturate,Pe,kn]);return(0,x.jsx)(vn.Z,{placement:"top",content:xn,trigger:"click",overlayClassName:"dds-annotator-display-popover",color:"#212121",children:(0,x.jsx)(L.Z,{title:Nn("DDSAnnotator.imgDisplayTool.title"),children:(0,x.jsx)(H.Z,{component:iu,className:"dds-annotator-display"})})})}),tl=rc,vl=Object.defineProperty,Ls=Object.getOwnPropertySymbols,vi=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable,hu=($e,pe,Pe)=>pe in $e?vl($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Tu=($e,pe)=>{for(var Pe in pe||(pe={}))vi.call(pe,Pe)&&hu($e,Pe,pe[Pe]);if(Ls)for(var Pe of Ls(pe))Cs.call(pe,Pe)&&hu($e,Pe,pe[Pe]);return $e};const gl=$e=>g.createElement("svg",Tu({viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("g",{clipPath:"url(#label_svg__a)"},g.createElement("path",{d:"M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27Z",fill:"#26A1F4"}),g.createElement("path",{d:"m18.201 12.527-.007-.008-3.721-3.723s-4.535 4.535-6.72 6.765c-.273.278-.479.664-.601 1.037-.359 1.097-.656 2.215-.986 3.322-.088.297-.07.559.162.78.22.211.466.219.751.133 1.055-.316 2.116-.617 3.176-.92a3.243 3.243 0 0 0 1.432-.865c2.082-2.095 6.514-6.521 6.514-6.521ZM20.373 7.9l-1.272-1.272a1.74 1.74 0 0 0-2.46 0l-1.442 1.44 3.733 3.734 1.442-1.442a1.74 1.74 0 0 0 0-2.46Z",fill:"#fff"})),g.createElement("defs",null,g.createElement("clipPath",{id:"label_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h27v27H0z"}))));var Wu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgMjciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTMuNSAyN0MyMC45NTYgMjcgMjcgMjAuOTU2IDI3IDEzLjVTMjAuOTU2IDAgMTMuNSAwIDAgNi4wNDQgMCAxMy41IDYuMDQ0IDI3IDEzLjUgMjdaIiBmaWxsPSIjMjZBMUY0Ii8+PHBhdGggZD0ibTE4LjIwMSAxMi41MjctLjAwNy0uMDA4LTMuNzIxLTMuNzIzcy00LjUzNSA0LjUzNS02LjcyIDYuNzY1Yy0uMjczLjI3OC0uNDc5LjY2NC0uNjAxIDEuMDM3LS4zNTkgMS4wOTctLjY1NiAyLjIxNS0uOTg2IDMuMzIyLS4wODguMjk3LS4wNy41NTkuMTYyLjc4LjIyLjIxMS40NjYuMjE5Ljc1MS4xMzMgMS4wNTUtLjMxNiAyLjExNi0uNjE3IDMuMTc2LS45MmEzLjI0MyAzLjI0MyAwIDAgMCAxLjQzMi0uODY1YzIuMDgyLTIuMDk1IDYuNTE0LTYuNTIxIDYuNTE0LTYuNTIxWk0yMC4zNzMgNy45bC0xLjI3Mi0xLjI3MmExLjc0IDEuNzQgMCAwIDAtMi40NiAwbC0xLjQ0MiAxLjQ0IDMuNzMzIDMuNzM0IDEuNDQyLTEuNDQyYTEuNzQgMS43NCAwIDAgMCAwLTIuNDZaIiBmaWxsPSIjZmZmIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgyN3YyN0gweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",Lu=Object.defineProperty,zl=Object.getOwnPropertySymbols,Al=Object.prototype.hasOwnProperty,Fl=Object.prototype.propertyIsEnumerable,qo=($e,pe,Pe)=>pe in $e?Lu($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,F=($e,pe)=>{for(var Pe in pe||(pe={}))Al.call(pe,Pe)&&qo($e,Pe,pe[Pe]);if(zl)for(var Pe of zl(pe))Fl.call(pe,Pe)&&qo($e,Pe,pe[Pe]);return $e};const ve=$e=>g.createElement("svg",F({viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27Z",fill:"#FFD305"}),g.createElement("path",{d:"m20.713 19.26-.369-.37-.063-.064-1.493 1.493.036.036.396.396c.254.254.791.125 1.207-.287.415-.412.54-.952.286-1.204ZM16.709 15.31a5.797 5.797 0 1 0-1.515 1.47l3.229 3.181 1.493-1.492-3.207-3.16Zm-4.655.717a4.092 4.092 0 1 1 0-8.184 4.092 4.092 0 0 1 0 8.184Z",fill:"#fff"}));var Ue="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgMjciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjUgMjdDMjAuOTU2IDI3IDI3IDIwLjk1NiAyNyAxMy41UzIwLjk1NiAwIDEzLjUgMCAwIDYuMDQ0IDAgMTMuNSA2LjA0NCAyNyAxMy41IDI3WiIgZmlsbD0iI0ZGRDMwNSIvPjxwYXRoIGQ9Im0yMC43MTMgMTkuMjYtLjM2OS0uMzctLjA2My0uMDY0LTEuNDkzIDEuNDkzLjAzNi4wMzYuMzk2LjM5NmMuMjU0LjI1NC43OTEuMTI1IDEuMjA3LS4yODcuNDE1LS40MTIuNTQtLjk1Mi4yODYtMS4yMDRaTTE2LjcwOSAxNS4zMWE1Ljc5NyA1Ljc5NyAwIDEgMC0xLjUxNSAxLjQ3bDMuMjI5IDMuMTgxIDEuNDkzLTEuNDkyLTMuMjA3LTMuMTZabS00LjY1NS43MTdhNC4wOTIgNC4wOTIgMCAxIDEgMC04LjE4NCA0LjA5MiA0LjA5MiAwIDAgMSAwIDguMTg0WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",ot=(0,g.memo)(function($e){var pe=$e.mode,Pe=(0,z.bU)(),kn=Pe.localeText;return pe===W.je.View?null:(0,x.jsx)("div",{className:c()("dds-annotator-editor-status","dds-annotator-editor-status-".concat(pe)),children:pe===W.je.Edit?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(gl,{}),kn("DDSAnnotator.status.labeling")]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ve,{}),kn("DDSAnnotator.status.reviewing")]})})}),Nt=ot,Pn=e(12673),Fr=e(51244),io=(0,g.memo)(function($e){var pe=$e.onAdd,Pe=(0,z.bU)(),kn=Pe.localeText,vt=(0,g.useRef)(null),Nn=(0,g.useState)(""),xn=s()(Nn,2),wn=xn[0],Rn=xn[1],vr=function(Ln){Ln.stopPropagation(),Rn(Ln.target.value)},pr=function(){var Ln;wn!==""&&(pe(wn),Rn(""),(Ln=vt.current)===null||Ln===void 0||Ln.focus())};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(Fr.Z,{style:{margin:"8px 0"}}),(0,x.jsxs)(Bn.Z,{style:{padding:"0 8px 4px"},children:[(0,x.jsx)(T.Z,{placeholder:kn("DDSAnnotator.annotsEditor.addCategory"),ref:vt,value:wn,onChange:vr,onKeyDown:function(Ln){Ln.code==="Enter"&&pr(),Ln.stopPropagation()}}),(0,x.jsx)(C.ZP,{type:"text",icon:(0,x.jsx)(Pn.Z,{}),onClick:pr,children:kn("DDSAnnotator.annotsEditor.add")})]})]})}),jo=io,ci=(0,g.memo)(function($e){var pe,Pe=$e.drawData,kn=$e.latestLabelId,vt=$e.isSeperate,Nn=$e.labelOptions,xn=$e.labelColors,wn=$e.onChangeObjectLabel,Rn=$e.onCreateCategory,vr=(0,z.bU)(),pr=vr.localeText,Mr=(0,g.useMemo)(function(){if(Nn.length>0){var Ln,ta=(Ln=Nn[0])===null||Ln===void 0?void 0:Ln.labelType,Ir=ta&&Q.t[ta],lr=Q.Zo[Ir];if(lr)return Q.ef[lr]}},[Nn]);return(0,x.jsx)("div",{className:"dds-annotator-label-selector",children:(0,x.jsx)(Ft.Z,{showSearch:!0,placeholder:pr("DDSAnnotator.label.select"),size:"middle",value:((pe=Pe.objectList[Pe.activeObjectIndex])===null||pe===void 0?void 0:pe.labelId)||kn,onChange:wn,popupClassName:"objects-select-popup",onClick:function(ta){return ta.stopPropagation()},onKeyUp:function(ta){return ta.stopPropagation()},onInputKeyDown:function(ta){ta.code!=="Enter"&&ta.stopPropagation()},filterOption:function(ta,Ir){var lr,Ar,Or,sa=(Ir==null||(lr=Ir.children)===null||lr===void 0?void 0:lr[((Ir==null||(Ar=Ir.children)===null||Ar===void 0?void 0:Ar.length)||0)-1])||"";return(Or=sa.toLowerCase())===null||Or===void 0?void 0:Or.includes(ta.toLowerCase())},dropdownRender:function(ta){return(0,x.jsxs)(x.Fragment,{children:[ta,vt&&(0,x.jsx)(jo,{onAdd:Rn})]})},children:Nn==null?void 0:Nn.map(function(Ln){return(0,x.jsxs)(Ft.Z.Option,{value:Ln.id,className:"dds-annotator-label-selector-option",children:[Mr?(0,x.jsx)(Mr,{color:Ln.renderColor,fill:Ln.renderColor}):(0,x.jsx)("div",{className:"dds-annotator-label-selector-option-color",style:{backgroundColor:xn==null?void 0:xn[Ln.id]}}),Ln.name]},Ln.id)})})})}),Vi=ci,nl=(0,g.memo)(function($e){var pe=$e.selectedTool,Pe=$e.selectedModel,kn=$e.modelOptions,vt=$e.onSelectModel,Nn=(0,z.bU)(),xn=Nn.localeText,wn=Q.Zo[pe];return(0,x.jsx)("div",{className:"dds-annotator-model-selector",children:(0,x.jsx)(Ft.Z,{placeholder:xn("DDSAnnotator.label.select"),size:"middle",value:Pe,onChange:vt,popupClassName:"objects-select-popup",onClick:function(vr){return vr.stopPropagation()},onKeyUp:function(vr){return vr.stopPropagation()},onInputKeyDown:function(vr){vr.code!=="Enter"&&vr.stopPropagation()},children:kn==null?void 0:kn.map(function(Rn,vr){return(0,x.jsxs)(Ft.Z.Option,{value:Rn,className:"dds-annotator-model-selector-option",children:[(0,x.jsx)(H.Z,{component:Q.VC[wn]}),Q.TR[Rn]&&xn(Q.TR[Rn].name)]},vr)})})})}),ml=nl,ac=(0,g.memo)(function($e){var pe,Pe=$e.toolOptions,kn=$e.selectedSubTool,vt=$e.isAIAnnotationActive,Nn=$e.brushSize,xn=$e.onChangeSubTool,wn=$e.onChangeBrushSize,Rn=(0,g.useMemo)(function(){return[].concat(Qt()(Pe.basicTools),Qt()(Pe.smartTools))},[Pe.basicTools,Pe.smartTools]),vr=(0,g.useMemo)(function(){for(var Ir=[],lr=1;lr<=Rn.length;lr++)Ir.push(lr.toString());return Ir},[Rn]);(0,Ee.Z)(vr,function(Ir){var lr=Rn.find(function(Ar,Or){return(Or+1).toString()===Ir.key});if(lr&&lr.available){if(Pe.smartTools.find(function(Ar){return lr.key===Ar.key})&&!vt)return;xn(lr.key)}},{exactMatch:!0});var pr=function(lr){var Ar=Rn.find(function(Or){return Or.key===kn});lr.type==="mouseup"&&(Ar!=null&&Ar.withSize||Ar!=null&&Ar.withCustomElement)||lr.stopPropagation()},Mr=function(lr){var Ar=Rn.findIndex(function(Or){return Or.key===lr.key})+1;return(0,x.jsxs)("div",{className:"dds-annotator-subtoolbar-popover",children:[(0,x.jsxs)("div",{children:[(0,x.jsx)("span",{className:"dds-annotator-subtoolbar-popover-title",children:lr.name}),Ar&&(0,x.jsx)("span",{className:"dds-annotator-subtoolbar-popover-key",children:Ar})]}),lr.description&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-popover-divider"}),(0,x.jsx)("div",{children:lr.description})]})]})},Ln=function(lr){var Ar=Rn.find(function(Or){return Or.key===lr});Ar&&Ar.available&&xn(lr)},ta=function(lr){return(0,x.jsx)(vn.Z,{placement:"bottom",content:Mr(lr),children:(0,x.jsx)(C.ZP,{className:c()("dds-annotator-subtoolbar-btn",{"dds-annotator-subtoolbar-btn-active":kn===lr.key&&lr.available,"dds-annotator-subtoolbar-btn-limited":lr.available}),style:{cursor:lr.available?"pointer":"not-allowed"},icon:lr.icon,onClick:function(){return Ln(lr.key)}})},lr.key)};return(0,x.jsx)(A,{eventHandler:pr,children:(0,x.jsxs)("div",{className:"dds-annotator-subtoolbar",children:[Pe.basicTools.map(function(Ir){return ta(Ir)}),vt&&(0,x.jsxs)(x.Fragment,{children:[Pe.basicTools.length>0&&Pe.smartTools.length>0&&(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),Pe.smartTools.map(function(Ir){return ta(Ir)})]}),Pe.customElement&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),Pe.customElement]}),!!((pe=Rn.find(function(Ir){return Ir.key===kn}))!==null&&pe!==void 0&&pe.withSize)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-title",children:"Brush Size"}),(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-slider",children:(0,x.jsx)(Hn.Z,{defaultValue:20,min:1,max:100,value:Nn,onChange:function(lr){return wn(lr)}})})]})]})})}),Ii=ac,oc=function(pe){var Pe=pe.className,kn=Pe===void 0?"":Pe,vt=pe.children,Nn=pe.leftTools,xn=Nn===void 0?[]:Nn,wn=pe.rightTools,Rn=wn===void 0?[]:wn,vr=function(Mr){return Mr.map(function(Ln,ta){var Ir=Ln.title,lr=Ln.icon,Ar=Ln.onClick,Or=Ln.disabled,sa=Ln.splitLine,Kn=Ln.customElement;return(0,x.jsxs)(g.Fragment,{children:[Kn||(0,x.jsx)(L.Z,{title:Ir,children:(0,x.jsx)("div",{className:c()("dds-annnotator-toptools-row-icon",{"dds-annnotator-toptools-row-icon-disabled":!!Or}),onClick:Ar,children:lr})}),sa&&(0,x.jsx)("div",{className:"dds-annnotator-toptools-row-split"})]},ta)})};return(0,x.jsxs)("div",{className:c()("dds-annnotator-toptools",kn),onMouseDown:function(Mr){Mr.stopPropagation()},children:[(0,x.jsx)("div",{className:"dds-annnotator-toptools-row",children:vr(xn)}),(0,x.jsx)("div",{className:"dds-annnotator-toptools-progress",children:vt}),(0,x.jsx)("div",{className:"dds-annnotator-toptools-row",children:vr(Rn)})]})},Oc=oc,ic=function(pe){var Pe=pe.isOldMode,kn=pe.isSeperate,vt=pe.mode,Nn=pe.fileName,xn=pe.drawData,wn=pe.editState,Rn=pe.hideTopBarActions,vr=pe.titleElements,pr=pe.actionElements,Mr=pe.enableReviewerModify,Ln=pe.labelOptions,ta=pe.labelColors,Ir=pe.showSubTools,lr=pe.currSubTools,Ar=pe.topBarCenterElement,Or=pe.selectSubTool,sa=pe.setBrushSize,Kn=pe.activeAIAnnotation,Yr=pe.onChangeImageDisplayOpts,na=pe.onChangeAnnotsDisplayOpts,ca=pe.onChangeObjectLabel,or=pe.onCreateCategory,ur=pe.onSaveAnnotations,Vr=pe.onCommitAnnotations,Rr=pe.onRejectAnnotations,Br=pe.onAcceptAnnotations,Cr=pe.onModifyAnnotations,V=pe.onCancelAnnotations,Z=pe.onSelectModel,fe=(0,z.bU)(),Ce=fe.localeText,Le=function(){window.open("https://docs.deepdataspace.com")},et=(0,g.useMemo)(function(){var Vt=pr?pr.map(function(cn){return{customElement:cn}}):[];return Rn||(vt===W.je.Review&&Vt.push.apply(Vt,[{customElement:(0,x.jsx)(C.ZP,{type:"primary",danger:!0,onClick:Rr,children:Ce("DDSAnnotator.reject")})}].concat(Qt()(Pe||!Mr?[]:[{customElement:(0,x.jsx)(C.ZP,{type:"default",onClick:Cr,children:Ce("DDSAnnotator.modify")})}]),[{customElement:(0,x.jsx)(C.ZP,{type:"primary",onClick:Br,children:Ce("DDSAnnotator.approve")})}])),vt===W.je.Edit&&!kn&&(Vt.push({customElement:(0,x.jsx)(C.ZP,{type:"default",onClick:ur,children:Ce("DDSAnnotator.save")})}),Pe||Vt.push({customElement:(0,x.jsx)(C.ZP,{type:"primary",onClick:Vr,children:Ce("DDSAnnotator.commit")})})),Vt.unshift({customElement:(0,x.jsxs)(x.Fragment,{children:[vt===W.je.Edit&&(0,x.jsxs)("div",{className:"dds-annotator-qk-actions",children:[(0,x.jsx)(L.Z,{title:Ce("DDSAnnotator.docs"),children:(0,x.jsx)(H.Z,{component:ms,onClick:Le})}),(0,x.jsx)(tl,{displayOption:wn.imageDisplayOptions,colorByCategory:wn.annotsDisplayOptions.colorByCategory,onChangeImageDisplayOpts:Yr,onChangeAnnotsDisplayOpts:na})]}),(0,x.jsx)(fr,{mode:vt}),(0,x.jsx)(Nt,{mode:vt})]})}),vt===W.je.Edit&&Nn&&Vt.unshift({customElement:(0,x.jsx)(x.Fragment,{children:Nn})})),Vt},[vt,Pe,Mr,Rn,ur,Vr,V,Rr,Br,Cr]),Mt=function(){var cn=[];return vr?cn.push.apply(cn,Qt()(vr.map(function(hn){return{customElement:hn}}))):(kn||vt===W.je.Edit?cn.push({customElement:(0,x.jsx)(L.Z,{title:Ce("DDSAnnotator.exit"),children:(0,x.jsx)(nc,{className:"dds-annotator-logo",onClick:V})})}):cn.push({title:Ce("DDSAnnotator.exit"),icon:(0,x.jsx)(Fo.Z,{}),onClick:function(){return V()}}),vt!==W.je.Edit&&Nn&&cn.push({customElement:Nn})),vt===W.je.Edit&&Q.Xn[xn.selectedTool]&&Q.Xn[xn.selectedTool].length>1&&xn.AIAnnotation&&xn.selectedModel&&cn.push({customElement:(0,x.jsx)(ml,{selectedTool:xn.selectedTool,selectedModel:xn.selectedModel[xn.selectedTool],modelOptions:Q.Xn[xn.selectedTool],onSelectModel:Z})}),vt===W.je.Edit&&(xn.objectList[xn.activeObjectIndex]||xn.selectedTool!==Q.ru.Drag)&&cn.push({customElement:(0,x.jsx)(Vi,{drawData:xn,latestLabelId:wn.latestLabelId,isSeperate:kn,labelOptions:Ln,labelColors:ta,onChangeObjectLabel:ca,onCreateCategory:or})}),vt===W.je.Edit&&Ir&&cn.push({customElement:(0,x.jsx)(Ii,{toolOptions:lr,selectedSubTool:xn.selectedSubTool,isAIAnnotationActive:xn.AIAnnotation,brushSize:xn.brushSize,onChangeSubTool:Or,onChangeBrushSize:sa,onActiveAIAnnotation:Kn})}),cn},Dt=(0,x.jsx)(Oc,{leftTools:Mt(),rightTools:et,children:Ar});return{topToolsBar:Dt}},fc=ic,vc=function(pe){var Pe=pe.isOldMode,kn=pe.clientSize,vt=pe.naturalSize,Nn=pe.categories,xn=pe.getAnnotColor,wn=function(Ln){var ta=Ln.categoryId,Ir=Ln.boundingBox,lr=Ln.points,Ar=Ln.lines,Or=Ln.pointNames,sa=Ln.pointColors,Kn=Ln.segmentation,Yr=Ln.mask,na=Ln.alpha,ca=Ln.point,or=Ln.polyline,ur=Ln.lineColor,Vr=Ln.lineType,Rr=xn(ta||""),Br={labelId:ta||"",type:Q.gr.Rectangle,hidden:!1,conf:Ln.conf||1,customStyles:Ln.customStyles,status:W.TK.Commited,color:Rr};if(Ir){var Cr=(0,qr.cO)(Ir,kn);Object.assign(Br,{rect:t()({visible:!0},Cr)})}if(lr&&lr.length>0&&Ar&&Ar.length>0&&Or&&sa){var V=(0,qr.el)(lr,Or,sa,vt,kn);Object.assign(Br,{keypoints:{points:V,lines:Ar}})}if(Kn){var Z=(0,qr.Vh)(Kn,vt,kn),fe={group:Z,visible:!0};Object.assign(Br,{polygon:fe})}if(Yr){var Ce=Yr.counts||"";Object.assign(Br,{maskRle:Ce,maskCanvasElement:(0,gr.ei)(Ce,vt,Rr)})}if(na){var Le=new Image;Le.src=na,Object.assign(Br,{alpha:na,alphaImageElement:Le})}if(ca&&Object.assign(Br,{point:t()(t()({},(0,qr.YO)(ca,vt,kn)),{},{visible:Q.GI.labeledVisible})}),or&&Vr&&ur){var et=(0,qr.aH)(or).map(function(Dt){return(0,qr.YO)([Dt.x,Dt.y],vt,kn)}),Mt={group:[et],visible:!0,lineType:Vr,color:(0,qr.Yc)(ur)};Object.assign(Br,{polyline:Mt})}return Br.type=(0,qr.tQ)(Br),Br},Rn=function(Ln){var ta,Ir=Ln.labelId,lr=Ln.rect,Ar=Ln.keypoints,Or=Ln.polygon,sa=Ln.maskRle,Kn=Ln.point,Yr=((ta=Nn.find(function(Rr){return Rr.id===Ir}))===null||ta===void 0?void 0:ta.name)||"",na={categoryId:Ir,categoryName:Yr};if(lr&&Object.assign(na,{boundingBox:(0,qr.kq)(lr,kn)}),Ar&&Object.assign(na,t()({lines:Ar.lines},(0,qr.yn)(Ar.points,vt,kn))),Or){var ca=(0,qr.Vi)(Or,vt,kn);Object.assign(na,{segmentation:ca})}if(sa&&Object.assign(na,{mask:{counts:sa,size:[vt.height,vt.width]}}),Kn){var or=(0,qr.AR)([Kn.x,Kn.y],vt,kn),ur=or.x,Vr=or.y;Object.assign(na,{point:[ur,Vr]})}return na},vr=function(Ln,ta){var Ir,lr=Ln.labelId,Ar=Ln.labelValue,Or=xn(lr),sa=Nn.find(function(ur){return ur.id===lr}),Kn=(sa==null||(Ir=sa.attributes)===null||Ir===void 0?void 0:Ir.map(function(ur,Vr){var Rr;return((Rr=Ln.attributes)===null||Rr===void 0?void 0:Rr[Vr])||null}))||void 0,Yr={labelId:lr,type:Q.gr.Custom,hidden:!1,status:W.TK.Commited,color:Or,attributes:Kn},na=function(Vr,Rr){switch(sa==null?void 0:sa.labelType){case Q.Ze.Rectangle:{var Br=(0,qr.JP)(Rr,vt,kn);Object.assign(Vr,{rect:t()({visible:!0},Br),type:Q.gr.Rectangle});break}case Q.Ze.Polygon:{var Cr=(0,qr.Uy)(Rr,vt,kn),V={group:Cr,visible:!0};Object.assign(Vr,{polygon:V,type:Q.gr.Polygon});break}case Q.Ze.Skeleton:{var Z=(0,qr.OX)(Rr,Q.v_.pointNames,Q.v_.pointColors,vt,kn);Object.assign(Vr,{keypoints:{points:Z,lines:Q.v_.lines},type:Q.gr.Skeleton});break}case Q.Ze.Mask:{var fe=Rr.counts||"";Object.assign(Vr,{maskRle:fe,maskCanvasElement:(0,gr.ei)(fe,vt,Or),type:Q.gr.Mask});break}case Q.Ze.Classification:{Object.assign(Vr,{labelValue:Rr,type:Q.gr.Classification});break}}return Vr};if(ta&&ta>0){if((sa==null?void 0:sa.labelType)===Q.Ze.Classification)return{classification:na(Yr,Ar)};var ca=new Array(ta).fill(void 0),or;return Object.keys(Ar).forEach(function(ur){or=na((0,m.cloneDeep)(Yr),Ar[ur]),ca[Number(ur)]=t()(t()({},or),{},{frameEmpty:!1})}),{objects:ca.map(function(ur){return ur||t()(t()({},(0,m.cloneDeep)(or)),{},{frameEmpty:!0})})}}return na(Yr,Ar)},pr=function(Ln){var ta,Ir=Ln.labelId,lr=Ln.rect,Ar=Ln.keypoints,Or=Ln.polygon,sa=Ln.maskRle,Kn=Ln.attributes,Yr=Nn.find(function(ur){return ur.id===Ir}),na={labelId:Ir,attributes:Kn||(Yr==null||(ta=Yr.attributes)===null||ta===void 0?void 0:ta.map(function(){return null}))||[]};switch(Yr==null?void 0:Yr.labelType){case Q.Ze.Rectangle:{lr&&(na.labelValue=(0,qr.cx)(lr,kn,vt));break}case Q.Ze.Polygon:{Or&&(na.labelValue=(0,qr.A_)(Or,vt,kn));break}case Q.Ze.Skeleton:{if(Ar){var ca=(0,qr.$G)(Ar.points,vt,kn),or=ca.points;na.labelValue=or}break}case Q.Ze.Mask:{sa&&(na.labelValue={counts:sa,size:[vt.height,vt.width]});break}}return na};return{translateAnnotationToObject:wn,translateObjectToAnnotation:Rn,translateLabelToObject:vr,translateObjectToLabel:pr,translateObject:Pe?Rn:pr,translateToObject:Pe?wn:vr}},Ql=vc,Ni=e(87478),po=function(pe){var Pe,kn=pe.theme,vt=kn===void 0?"dark":kn,Nn=pe.isOldMode,xn=pe.isSeperate,wn=pe.visible,Rn=pe.categories,vr=pe.list,pr=pe.current,Mr=pe.pagination,Ln=pe.mode,ta=pe.enableReviewerModify,Ir=pe.limitToolTypes,lr=pe.titleElements,Ar=pe.actionElements,Or=pe.layoutOptions,sa=pe.displayOptionsResult,Kn=pe.manualMode,Yr=pe.forceColorByObject,na=pe.limitActiveObject,ca=pe.customDefaultDrawData,or=pe.onPrev,ur=pe.onNext,Vr=pe.onCancel,Rr=pe.onSave,Br=pe.onCommit,Cr=pe.onReviewModify,V=pe.onReviewAccept,Z=pe.onReviewReject,fe=pe.setCategories,Ce=pe.onAutoSave,Le=pe.objectsFilter,et=n.Z.useModal(),Mt=s()(et,2),Dt=Mt[0],Vt=Mt[1],cn=(0,M.x)([]),hn=s()(cn,2),St=hn[0],pn=hn[1],Qn=(0,M.x)((0,m.cloneDeep)(W.rl)),Jn=s()(Qn,2),Sr=Jn[0],Lr=Jn[1],Qr=(0,M.x)(t()(t()({},(0,m.cloneDeep)(W.f7)),ca)),ya=s()(Qr,2),da=ya[0],ba=ya[1],qa=(0,g.useRef)(null),oo=(0,g.useRef)(null),xa=(0,g.useRef)(null),Tr=(0,g.useMemo)(function(){return vr[pr]},[vr,pr]),Za=Tr,Ho=Ei({categories:Rn,editState:Sr,forceColorByObject:Yr}),Bo=Ho.getAnnotColor,Uo=Ho.labelColors,uo=hi({visible:wn,drawData:da,allowMove:Sr.allowMove,isRequiring:Sr.isRequiring,minPadding:(Or==null?void 0:Or.minPadding)||{top:30,left:80},cursorSize:da.brushSize,hideReferenceLine:!!(Or!=null&&Or.hideReferenceLine)}),Qa=uo.scale,Wa=uo.naturalSize,ui=uo.clientSize,Mi=uo.containerMouse,_i=uo.contentMouse,fo=uo.imagePos,Bi=uo.onLoadImg,$i=uo.onZoomIn,oi=uo.onZoomOut,gi=uo.onReset,ja=uo.CanvasContainer,ii=uo.isMousePress,Wi=Ql({isOldMode:Nn,clientSize:ui,naturalSize:Wa,categories:Rn,getAnnotColor:Bo}),Is=Wi.translateObject,ts=Wi.translateToObject,Hi=Io({clientSize:ui,naturalSize:Wa,setDrawData:ba,onAutoSave:Ce,translateObject:Is}),Mu=Hi.undo,Su=Hi.redo,hs=Hi.clearHistory,ds=Hi.flagSaved,Ns=Hi.hadChangeRecord,rl=Hi.updateHistory,Dl=Hi.setDrawDataWithHistory,Zi=_a({setDrawDataWithHistory:Dl,categories:Rn}),As=Zi.judgeEditingAttribute,Bl=Zi.onConfirmAttibuteEdit,pc=Zi.onCancelAttibuteEdit,wl=La({mode:Ln,categories:Rn,drawData:da,setDrawData:ba,setDrawDataWithHistory:Dl,setEditState:Lr,translateToObject:ts,judgeEditingAttribute:As,updateHistory:rl}),$l=wl.addObject,hc=wl.removeObject,uu=wl.removeAllObjects,Sd=wl.initObjectList,ud=wl.updateAllObject,Pc=wl.updateObject,cd=wl.updateObjectWithoutHistory,Eu=wl.updateAllObjectWithoutHistory,yc=wl.commitedObjects,$c=wl.currObject,Cu=Ro({isOldMode:Nn,mode:Ln,categories:Rn,setCategories:fe,drawData:da,setDrawData:ba,editState:Sr,updateObjectWithoutHistory:cd,updateAllObjectWithoutHistory:Eu}),Xl=Cu.labelOptions,Oi=Cu.latestLabel,ys=Cu.classificationOptions,bs=Cu.onChangeObjectHidden,Ys=Cu.onChangeCategoryHidden,Jl=Cu.onChangeActiveClass,Tc=Cu.onCreateCategory,Rs=Cu.onChangePointVisible,Zc=xo({currImageItem:Za,drawData:da,setDrawData:ba,setDrawDataWithHistory:Dl,editState:Sr,setEditState:Lr,naturalSize:Wa,clientSize:ui,getAnnotColor:Bo}),Vu=Zc.onAiAnnotation,qc=Ti({topCanvas:oo.current,editState:Sr,drawData:da}),Uc=qc.updateMouseCursor,os=li({mode:Ln,manualMode:!!Kn,drawData:da,setDrawData:ba,setDrawDataWithHistory:Dl,editState:Sr,setEditState:Lr,getAnnotColor:Bo,clientSize:ui,naturalSize:Wa,addObject:$l,updateObject:Pc,updateAllObject:ud,onAiAnnotation:Vu}),jl=os.onChangeObjectLabel,dd=os.onFinishCurrCreate,Lc=os.onAcceptValidObjects,Gu=os.onAbortBatchObjects,kc=os.selectTool,fd=os.selectSubTool,lc=os.forceChangeTool,ed=os.onExitAIAnnotation,uc=os.setBrushSize,Wc=os.activeAIAnnotation,Hc=os.onChangeSkeletonConf,Zl=os.onChangeLimitConf,_c=os.onChangeAnnotsDisplayOpts,td=os.onChangeImageDisplayOpts,Pl=os.onChangeColorMode,Ku=os.onChangePointResolution,ql=os.onSelectModel,nd=os.isInAiSession,vd=wa({drawData:da,onChangePointResolution:Ku}),Ul=vd.showSubTools,rd=vd.currSubTools,gd=(0,Ni.Vr)({imgRef:xa,editState:Sr,clientSize:ui,naturalSize:Wa,contentMouse:_i,imagePos:fo,containerMouse:Mi,canvasRef:qa,activeCanvasRef:oo,setEditState:Lr,drawData:da,setDrawData:ba,setDrawDataWithHistory:Dl,updateHistory:rl,updateObject:Pc,addObject:$l,updateMouseCursor:Uc,onAiAnnotation:Vu,getAnnotColor:Bo,categories:Rn,displayOptionsResult:sa}),ad=gd.objectHooksMap,Ed=Pi({visible:wn,drawData:da,editState:Sr,clientSize:ui,imagePos:fo,containerMouse:Mi,canvasRef:qa,activeCanvasRef:oo,imgRef:xa,objectHooksMap:ad}),Ru=Ed.updateRender,Cd=Ed.renderPopoverMenu,Yc=Ta({visible:wn,mode:Ln,drawData:da,setDrawData:ba,editState:Sr,setEditState:Lr,clientSize:ui,contentMouse:_i,categories:Rn,updateRender:Ru,updateMouseCursor:Uc,objectHooksMap:ad,imagePos:fo,containerMouse:Mi,getAnnotColor:Bo,limitActiveObject:na}),bc=Yc.selectFocusObject,md=Yc.forceChangeFocusObject,Mc=Yc.mouseRightObjectsDropDownRender,Sc=Pr({mode:Ln,currImageItem:Za,modal:Dt,drawData:da,editState:Sr,setEditState:Lr,hadChangeRecord:Ns,categories:Rn,translateObject:Is,flagSaved:ds,onCancel:Vr,onSave:Rr,onCommit:Br,onReviewModify:Cr,onReviewAccept:V,onReviewReject:Z,classificationOptions:ys,isInAiSession:nd}),pd=Sc.onSaveAnnotations,hd=Sc.onCommitAnnotations,od=Sc.onCancelAnnotations,xd=Sc.onRejectAnnotations,Id=Sc.onAcceptAnnotations,Ad=Sc.onModifyAnnotations;Ko({visible:wn,mode:Ln,drawData:da,categories:Rn,isMousePress:ii,setDrawData:ba,setEditState:Lr,onSaveAnnotations:pd,onAcceptAnnotations:Id,onRejectAnnotations:xd,onChangeObjectHidden:bs,onChangeCategoryHidden:Ys,removeObject:hc,addObject:$l});var Od=Jo({imagePos:fo,clientSize:ui,naturalSize:Wa,annotations:St,setAnnotations:pn,drawData:da,setDrawData:ba,editState:Sr,setEditState:Lr,initObjectList:Sd,updateRender:Ru,clearHistory:hs,objectsFilter:Le,labelOptions:Xl,customDefaultDrawData:ca}),Ec=Od.resetDataWithImageData;(0,g.useEffect)(function(){return document.body.style.overflow=wn?"hidden":"overlay",function(){document.body.style.overflow="overlay"}},[wn]),(0,g.useEffect)(function(){Ec(Za,wn)},[wn,Ln,pr,Za==null?void 0:Za.id,Le]),(0,g.useEffect)(function(){Pl()},[Sr.annotsDisplayOptions.colorByCategory]);var Bd=(0,g.useMemo)(function(){if(Tr!=null&&Tr.name)return Tr==null?void 0:Tr.name;if(Tr!=null&&Tr.url&&(Tr==null?void 0:Tr.url.indexOf("http"))===0){var sd=decodeURIComponent(Tr==null?void 0:Tr.url);return sd.replace(/\?.*$/,"").split("/").pop()||""}return""},[Tr]),Nc=Mr&&Mr.show?(0,x.jsx)(Jr,{list:vr,current:pr,total:Mr.total,customText:Mr.customText,customDisableNext:Mr.customDisableNext,onPrev:or,onNext:ur}):null,id=fc({isOldMode:Nn,isSeperate:xn,mode:Ln,hideTopBarActions:Or==null?void 0:Or.hideTopBarActions,fileName:Bd,drawData:da,editState:Sr,titleElements:lr,actionElements:Ar,enableReviewerModify:ta,labelOptions:Xl,showSubTools:Ul,currSubTools:rd,topBarCenterElement:Nc,labelColors:Uo,selectSubTool:fd,setBrushSize:uc,activeAIAnnotation:Wc,onChangeImageDisplayOpts:td,onChangeAnnotsDisplayOpts:_c,onChangeObjectLabel:jl,onCreateCategory:Tc,onSaveAnnotations:pd,onCommitAnnotations:hd,onRejectAnnotations:xd,onAcceptAnnotations:Id,onModifyAnnotations:Ad,onCancelAnnotations:od,onSelectModel:ql}),is=id.topToolsBar;return wn?(0,x.jsxs)("div",{className:c()("dds-annotator","dds-annotator-editor","dds-annotator-editor-".concat(vt)),style:{height:(Or==null?void 0:Or.wrapHeight)||"100vh"},children:[!(Or!=null&&Or.hideTopBar)&&is,(0,x.jsxs)("div",{className:"editor-container",style:{top:Or!=null&&Or.hideTopBar?"0":""},children:[!(Or!=null&&Or.hideMainToolBar)&&(0,x.jsx)(Ea,{onlySupportZoom:Ln!==W.je.Edit,selectedTool:da.selectedTool,manualMode:!!Kn,limitToolTypes:Ir,isAIAnnotationActive:da.AIAnnotation,onChangeSelectedTool:kc,onActiveAIAnnotation:Wc,hideUndoRedoActions:Or==null?void 0:Or.hideUndoRedoActions,undo:Mu,redo:Su,deleteAll:uu,scale:Qa,onZoomIn:$i,onZoomOut:oi,onZoomReset:gi}),(0,x.jsxs)("div",{className:"center-content",children:[Za&&(0,x.jsx)(d.Z,{dropdownRender:Mc,trigger:["contextMenu"],open:Sr.foucsObjectAllIndexs.length>0,children:ja({className:"edit-wrap",children:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ne,{url:Za==null?void 0:Za.url,imgRef:xa,canvasRef:qa,activeCanvasRef:oo,clientSize:ui,imagePos:fo,onLoad:function(Rc){Ru(),Bi(Rc)}}),Cd()]})})}),(0,x.jsx)(gt,{mode:Ln,isAiAnnotation:da.AIAnnotation,latestLabelId:Sr.latestLabelId,currObject:$c,onFinishCurrCreate:dd}),(0,x.jsx)(on,{mode:Ln,isAiAnnotation:da.AIAnnotation,currObject:$c,currObjectIndex:da.activeObjectIndex,focusObjectIndex:Sr.focusObjectIndex,focusEleType:Sr.focusEleType,focusEleIndex:Sr.focusEleIndex,onChangePointVisible:Rs,setEditState:Lr}),(0,x.jsx)(dn,{selectedTool:da.selectedTool,selectedSubTool:da.selectedSubTool,selectedModel:da.selectedModel[da.selectedTool],isBatchEditing:da.isBatchEditing,AIAnnotation:da.AIAnnotation,hasPolygonPreds:!!((Pe=da.creatingObject)!==null&&Pe!==void 0&&Pe.polygon),isCtrlPressed:Sr.isCtrlPressed,limitConf:da.limitConf,naturalSize:Wa,latestLabel:Oi,forceChangeTool:lc,onAiAnnotation:Vu,onExitAIAnnotation:ed,onChangeConfidenceRange:Hc,onChangeLimitConf:Zl,onAcceptValidObjects:Lc,onCancelBatchEdit:Gu}),(0,x.jsx)(me,{AIAnnotation:da.AIAnnotation,modelOptions:Q.Xn[da.selectedTool],selectedModel:da.selectedModel[da.selectedTool],onSelectModel:ql,onCloseModal:function(){return ba(function(Rc){Rc.AIAnnotation=!1})}}),da.editingAttribute&&(0,x.jsx)(de,{data:da.editingAttribute,supportEdit:Ln===W.je.Edit,onConfirmAttibuteEdit:Bl,onCancelAttibuteEdit:pc})]}),!(Or!=null&&Or.hideRightList)&&(0,x.jsxs)("div",{className:"right-slider",children:[ys.length>0&&(0,x.jsx)(Je,{className:"classifications",supportEdit:Ln===W.je.Edit,classificationOptions:ys,values:da.classifications,setDrawDataWithHistory:Dl}),(0,x.jsx)(qe,{supportEdit:Ln===W.je.Edit,className:"object-list",objects:yc,categories:Rn,activeObjectIndex:da.activeObjectIndex,activeClassName:da.activeClassName,onFocusObject:md,onActiveObject:bc,onChangeObjectHidden:bs,onChangeCategoryHidden:Ys,onDeleteObject:hc,onChangeActiveClassName:Jl,setDrawDataWithHistory:Dl,colorByCategory:Sr.annotsDisplayOptions.colorByCategory,onChangeAnnotsDisplayOpts:_c})]})]}),(0,x.jsx)("div",{onMouseDown:function(Rc){Rc.stopPropagation()},children:Vt})]}):null},xs=po,gc=e(16962),yu=e.n(gc),Hu=Object.defineProperty,Jc=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,Dc=($e,pe,Pe)=>pe in $e?Hu($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,Nu=($e,pe)=>{for(var Pe in pe||(pe={}))Ws.call(pe,Pe)&&Dc($e,Pe,pe[Pe]);if(Jc)for(var Pe of Jc(pe))Hs.call(pe,Pe)&&Dc($e,Pe,pe[Pe]);return $e};const Ol=$e=>g.createElement("svg",Nu({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"m8.379 7.648-4.56-5.825a.283.283 0 0 0-.224-.11h-1.38a.142.142 0 0 0-.113.231L6.842 8l-4.74 6.055a.143.143 0 0 0 .112.23h1.38a.289.289 0 0 0 .226-.109l4.559-5.823a.571.571 0 0 0 0-.705Zm5.428 0L9.248 1.823a.283.283 0 0 0-.225-.11h-1.38a.142.142 0 0 0-.112.231L12.27 8l-4.74 6.055a.143.143 0 0 0 .113.23h1.38a.289.289 0 0 0 .225-.109l4.56-5.823a.571.571 0 0 0 0-.705Z",fill:"#fff",opacity:.85}));var pl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTguMzc5IDcuNjQ4LTQuNTYtNS44MjVhLjI4My4yODMgMCAwIDAtLjIyNC0uMTFoLTEuMzhhLjE0Mi4xNDIgMCAwIDAtLjExMy4yMzFMNi44NDIgOGwtNC43NCA2LjA1NWEuMTQzLjE0MyAwIDAgMCAuMTEyLjIzaDEuMzhhLjI4OS4yODkgMCAwIDAgLjIyNi0uMTA5bDQuNTU5LTUuODIzYS41NzEuNTcxIDAgMCAwIDAtLjcwNVptNS40MjggMEw5LjI0OCAxLjgyM2EuMjgzLjI4MyAwIDAgMC0uMjI1LS4xMWgtMS4zOGEuMTQyLjE0MiAwIDAgMC0uMTEyLjIzMUwxMi4yNyA4bC00Ljc0IDYuMDU1YS4xNDMuMTQzIDAgMCAwIC4xMTMuMjNoMS4zOGEuMjg5LjI4OSAwIDAgMCAuMjI1LS4xMDlsNC41Ni01LjgyM2EuNTcxLjU3MSAwIDAgMCAwLS43MDVaIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIuODUiLz48L3N2Zz4=",sc=Object.defineProperty,_s=Object.getOwnPropertySymbols,su=Object.prototype.hasOwnProperty,wc=Object.prototype.propertyIsEnumerable,jc=($e,pe,Pe)=>pe in $e?sc($e,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):$e[pe]=Pe,_u=($e,pe)=>{for(var Pe in pe||(pe={}))su.call(pe,Pe)&&jc($e,Pe,pe[Pe]);if(_s)for(var Pe of _s(pe))wc.call(pe,Pe)&&jc($e,Pe,pe[Pe]);return $e};const Fc=$e=>g.createElement("svg",_u({viewBox:"0 0 14 14",fill:"#595959",xmlns:"http://www.w3.org/2000/svg"},$e),g.createElement("path",{d:"M6.887 9.657a.143.143 0 0 0 .225 0l2-2.53A.142.142 0 0 0 9 6.897H7.677V.854A.143.143 0 0 0 7.534.71H6.462a.143.143 0 0 0-.143.143v6.041H5a.142.142 0 0 0-.112.23l2 2.532Zm6.649-.625h-1.072a.143.143 0 0 0-.143.143v2.75H1.678v-2.75a.143.143 0 0 0-.142-.143H.464a.143.143 0 0 0-.143.143v3.536a.57.57 0 0 0 .572.572h12.214a.57.57 0 0 0 .571-.572V9.175a.143.143 0 0 0-.142-.143Z"}));var Yu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTQiIGZpbGw9IiM1OTU5NTkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuODg3IDkuNjU3YS4xNDMuMTQzIDAgMCAwIC4yMjUgMGwyLTIuNTNBLjE0Mi4xNDIgMCAwIDAgOSA2Ljg5N0g3LjY3N1YuODU0QS4xNDMuMTQzIDAgMCAwIDcuNTM0LjcxSDYuNDYyYS4xNDMuMTQzIDAgMCAwLS4xNDMuMTQzdjYuMDQxSDVhLjE0Mi4xNDIgMCAwIDAtLjExMi4yM2wyIDIuNTMyWm02LjY0OS0uNjI1aC0xLjA3MmEuMTQzLjE0MyAwIDAgMC0uMTQzLjE0M3YyLjc1SDEuNjc4di0yLjc1YS4xNDMuMTQzIDAgMCAwLS4xNDItLjE0M0guNDY0YS4xNDMuMTQzIDAgMCAwLS4xNDMuMTQzdjMuNTM2YS41Ny41NyAwIDAgMCAuNTcyLjU3MmgxMi4yMTRhLjU3LjU3IDAgMCAwIC41NzEtLjU3MlY5LjE3NWEuMTQzLjE0MyAwIDAgMC0uMTQyLS4xNDNaIi8+PC9zdmc+",Bc=function(pe){var Pe,kn,vt=pe.isOldMode,Nn=pe.visible,xn=pe.categories,wn=pe.list,Rn=pe.current,vr=pe.onPrev,pr=pe.onNext,Mr=pe.onCancel,Ln=pe.objectsFilter,ta=pe.displayOptionsResult,Ir=(0,M.x)([]),lr=s()(Ir,2),Ar=lr[0],Or=lr[1],sa=(0,M.x)((0,m.cloneDeep)(W.rl)),Kn=s()(sa,2),Yr=Kn[0],na=Kn[1],ca=(0,M.x)((0,m.cloneDeep)(W.f7)),or=s()(ca,2),ur=or[0],Vr=or[1],Rr=(0,g.useRef)(null),Br=(0,g.useRef)(null),Cr=(0,g.useRef)(null),V=hi({visible:Nn,drawData:ur,allowMove:Yr.allowMove,isRequiring:Yr.isRequiring,minPadding:{top:120,left:300},cursorSize:ur.brushSize,onClickMaskBg:Mr}),Z=V.scale,fe=V.naturalSize,Ce=V.clientSize,Le=V.containerMouse,et=V.contentMouse,Mt=V.imagePos,Dt=V.onLoadImg,Vt=V.onZoomIn,cn=V.onZoomOut,hn=V.CanvasContainer,St=Ei({categories:xn,editState:Yr}),pn=St.getAnnotColor,Qn=Ti({topCanvas:Br.current,editState:Yr,drawData:ur}),Jn=Qn.updateMouseCursor,Sr=Ql({isOldMode:vt,clientSize:Ce,naturalSize:fe,categories:xn,getAnnotColor:pn}),Lr=Sr.translateToObject,Qr=Io({clientSize:Ce,naturalSize:fe,setDrawData:Vr}),ya=Qr.clearHistory,da=Qr.updateHistory,ba=Qr.setDrawDataWithHistory,qa=La({mode:W.je.View,categories:xn,drawData:ur,setDrawData:Vr,setDrawDataWithHistory:ba,setEditState:na,translateToObject:Lr,updateHistory:da}),oo=qa.addObject,xa=qa.initObjectList,Tr=qa.updateObject,Za=(0,Ni.Vr)({imgRef:Cr,editState:Yr,clientSize:Ce,naturalSize:fe,contentMouse:et,imagePos:Mt,containerMouse:Le,canvasRef:Rr,activeCanvasRef:Br,setEditState:na,drawData:ur,setDrawData:Vr,setDrawDataWithHistory:ba,updateHistory:da,updateObject:Tr,addObject:oo,updateMouseCursor:Jn,displayOptionsResult:ta,getAnnotColor:pn,categories:xn}),Ho=Za.objectHooksMap,Bo=Pi({visible:Nn,drawData:ur,editState:Yr,clientSize:Ce,imagePos:Mt,containerMouse:Le,canvasRef:Rr,activeCanvasRef:Br,imgRef:Cr,objectHooksMap:Ho}),Uo=Bo.updateRender;Ta({visible:Nn,mode:W.je.View,drawData:ur,setDrawData:Vr,editState:Yr,setEditState:na,clientSize:Ce,contentMouse:et,categories:xn,updateRender:Uo,updateMouseCursor:Jn,objectHooksMap:Ho,imagePos:Mt,containerMouse:Le,getAnnotColor:pn,limitActiveObject:!0}),(0,g.useEffect)(function(){document.body.style.overflow=Nn?"hidden":"overlay"},[Nn]);var uo=Jo({imagePos:Mt,clientSize:Ce,naturalSize:fe,annotations:Ar,setAnnotations:Or,drawData:ur,setDrawData:Vr,editState:Yr,setEditState:na,initObjectList:xa,updateRender:Uo,clearHistory:ya,objectsFilter:Ln,labelOptions:xn}),Qa=uo.resetDataWithImageData;(0,g.useEffect)(function(){Qa(wn[Rn],Nn)},[Nn,wn[Rn],Ln]),(0,g.useEffect)(function(){Uo()},[ta]);var Wa=(0,g.useState)(!0),ui=s()(Wa,2),Mi=ui[0],_i=ui[1],fo=(0,g.useCallback)(function(){_i(function(gi){return!gi})},[]),Bi=function(){var gi=rr()(Mn()().mark(function ja(ii){var Wi,Is;return Mn()().wrap(function(Hi){for(;;)switch(Hi.prev=Hi.next){case 0:return ii.preventDefault(),ii.stopPropagation(),Wi=S.ZP.loading("Creating image...",6e4),Is=function(){return new Promise(function(Su,hs){setTimeout(function(){try{if(!Rr.current)return;var ds=Rr.current.toDataURL(),Ns=document.createElement("a");Ns.setAttribute("download","".concat(wn[Rn].id,".png")),Ns.setAttribute("href",ds),Ns.click(),Wi(),Su(null)}catch(rl){hs(rl)}},500)})},Hi.prev=4,na(function(Mu){Mu.focusObjectIndex=-1}),Uo(),Hi.next=9,Is();case 9:Hi.next=16;break;case 11:Hi.prev=11,Hi.t0=Hi.catch(4),console.error(Hi.t0),Wi(),S.ZP.error("Create image fail, please try again");case 16:case"end":return Hi.stop()}},ja,null,[[4,11]])}));return function(ii){return gi.apply(this,arguments)}}();(0,Ee.Z)(Se[Ie.PreviousImage].shortcut,function(){Nn&&(vr==null||vr())},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.NextImage].shortcut,function(){Nn&&(pr==null||pr())},{exactMatch:!0});var $i=function(){var ja;if(Yr.focusObjectIndex>-1&&ur.objectList[Yr.focusObjectIndex]&&!((ja=ur.objectList[Yr.focusObjectIndex])!==null&&ja!==void 0&&ja.hidden)&&Yr.focusEleIndex>-1&&Yr.focusEleType===Q.Yq.Circle){var ii,Wi,Is,ts=(ii=ur.objectList[Yr.focusObjectIndex])===null||ii===void 0||(Wi=ii.keypoints)===null||Wi===void 0||(Is=Wi.points)===null||Is===void 0?void 0:Is[Yr.focusEleIndex];if(ts)return(0,x.jsx)(Go,{index:Yr.focusEleIndex,targetElement:ts,imagePos:Mt.current})}return(0,x.jsx)(x.Fragment,{})};if(!Nn)return(0,x.jsx)(x.Fragment,{});var oi=(0,m.isEmpty)((Pe=wn[Rn])===null||Pe===void 0?void 0:Pe.metadata)?void 0:wn[Rn].metadata;return(0,x.jsxs)("div",{className:"dds-annotator dds-annotator-preview",children:[(0,x.jsx)(Oc,{className:"top-tools",leftTools:[{icon:(0,x.jsx)(yn.Z,{}),onClick:Vt,disabled:Z>=Q.Fv},{icon:(0,x.jsx)(tn.Z,{}),onClick:cn,disabled:Z<=Q.vL},{icon:(0,x.jsx)(Fc,{}),onClick:Bi}],rightTools:[{icon:(0,x.jsx)(h.Z,{}),onClick:Mr}],children:"".concat(Rn+1," / ").concat(wn.length)}),hn({className:"edit-wrap",children:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ne,{url:(kn=wn[Rn])===null||kn===void 0?void 0:kn.url,imgRef:Cr,canvasRef:Rr,activeCanvasRef:Br,clientSize:Ce,imagePos:Mt,onLoad:Dt}),$i()]})}),(0,x.jsx)("div",{className:c()("switch","switch-left",{"switch-disable":Rn===0}),onClick:vr,children:(0,x.jsx)(Hr.Z,{})}),(0,x.jsx)("div",{className:c()("switch","switch-right",{"switch-disable":Rn===wn.length-1}),onClick:pr,children:(0,x.jsx)(Da.Z,{})}),Mi&&oi&&(0,x.jsxs)("div",{className:"info-wrap",children:[(0,x.jsx)("div",{className:"info-box",children:Object.keys(oi).map(function(gi){return(0,x.jsxs)("div",{className:"item",children:[gi,(0,x.jsx)("br",{}),yu()(oi[gi])==="object"?JSON.stringify(oi[gi]):oi[gi]]},gi)})}),(0,x.jsx)("div",{className:"bottom-mask"}),(0,x.jsx)("div",{className:"hide-info-btn",onClick:fo,children:(0,x.jsx)(Ol,{})})]}),!Mi&&(0,x.jsx)("div",{className:"show-info-btn",onClick:fo,children:(0,x.jsx)(Ol,{})})]})},mc=Bc,lu=function(pe){var Pe=pe.isOldMode,kn=pe.categories,vt=pe.data,Nn=pe.currentSize,xn=pe.wrapWidth,wn=pe.wrapHeight,Rn=pe.minHeight,vr=pe.objectsFilter,pr=pe.displayOptionsResult,Mr=(0,M.x)([]),Ln=s()(Mr,2),ta=Ln[0],Ir=Ln[1],lr=(0,M.x)((0,m.cloneDeep)(W.rl)),Ar=s()(lr,2),Or=Ar[0],sa=Ar[1],Kn=(0,M.x)((0,m.cloneDeep)(W.f7)),Yr=s()(Kn,2),na=Yr[0],ca=Yr[1],or=(0,g.useRef)(null),ur=(0,g.useRef)(null),Vr=(0,g.useRef)(null),Rr=(0,g.useRef)({x:0,y:0}),Br=(0,g.useState)({width:0,height:Rn||0}),Cr=s()(Br,2),V=Cr[0],Z=Cr[1],fe=(0,g.useMemo)(function(){if(Nn)return Nn;if(!V.width)return{width:xn||0,height:wn||Rn||0};var Uo=(0,qr.t9)(V.width,V.height,xn,wn),uo=s()(Uo,2),Qa=uo[0],Wa=uo[1];return{width:Qa,height:Wa}},[xn,wn,Rn,V,Nn]),Ce=(0,g.useMemo)(function(){var Uo={screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,elementX:0,elementY:0,elementPosX:0,elementPosY:0,elementW:fe.width,elementH:fe.height};return[Uo,Uo]},[fe]),Le=s()(Ce,2),et=Le[0],Mt=Le[1],Dt=Ei({categories:kn,editState:Or}),Vt=Dt.getAnnotColor,cn=Ql({isOldMode:Pe,clientSize:fe,naturalSize:V,categories:kn,getAnnotColor:Vt}),hn=cn.translateToObject,St=Io({clientSize:fe,naturalSize:V,setDrawData:ca}),pn=St.clearHistory,Qn=St.updateHistory,Jn=St.setDrawDataWithHistory,Sr=La({mode:W.je.View,categories:kn,drawData:na,setDrawData:ca,setDrawDataWithHistory:Jn,setEditState:sa,translateToObject:hn,updateHistory:Qn}),Lr=Sr.addObject,Qr=Sr.initObjectList,ya=Sr.updateObject,da=Ti({topCanvas:ur.current,editState:Or,drawData:na}),ba=da.updateMouseCursor,qa=(0,Ni.Vr)({imgRef:Vr,editState:Or,clientSize:fe,naturalSize:V,contentMouse:et,containerMouse:Mt,imagePos:Rr,canvasRef:or,activeCanvasRef:ur,setEditState:sa,drawData:na,setDrawData:ca,setDrawDataWithHistory:Jn,updateHistory:Qn,updateObject:ya,addObject:Lr,updateMouseCursor:ba,displayOptionsResult:pr,getAnnotColor:Vt,categories:kn}),oo=qa.objectHooksMap,xa=Pi({visible:!0,drawData:na,editState:Or,clientSize:fe,imagePos:Rr,containerMouse:Mt,canvasRef:or,activeCanvasRef:ur,imgRef:Vr,objectHooksMap:oo}),Tr=xa.updateRender,Za=Jo({imagePos:Rr,clientSize:fe,naturalSize:V,annotations:ta,setAnnotations:Ir,drawData:na,setDrawData:ca,editState:Or,setEditState:sa,initObjectList:Qr,updateRender:Tr,clearHistory:pn,objectsFilter:vr,labelOptions:kn}),Ho=Za.resetDataWithImageData;(0,g.useEffect)(function(){Ho(vt,!0)},[vt,vr]),(0,g.useEffect)(function(){Tr()},[pr]);var Bo=function(uo){var Qa=uo.target,Wa={width:Qa.naturalWidth,height:Qa.naturalHeight};Z(Wa)};return(0,x.jsx)("div",{className:"dds-annotator-view",children:(0,x.jsx)(ne,{url:vt==null?void 0:vt.url,imgRef:Vr,canvasRef:or,activeCanvasRef:ur,clientSize:fe,imagePos:Rr,onLoad:Bo})})},bu=lu},87478:function(b,y,e){"use strict";e.d(y,{$N:function(){return x},hF:function(){return X},G9:function(){return W},_G:function(){return O},Vr:function(){return le}});var a=e(63900),t=e.n(a),o=e(2657),s=e.n(o),n=e(17410),d=e(46134),l=e(81179),c=e(67761),m=function(U){var A=U.imgRef,G=U.imagePos,de=U.canvasRef,he=U.clientSize,ge=U.displayOptionsResult,be=function(Ke){if(!(!Ke||!de.current||!A.current)){var ye=ge||{},ne=ye.showMattingColorFill,H=de.current.getContext("2d"),R=t()({x:G.current.x,y:G.current.y},he);(0,l.UN)(de.current),(0,l.AE)(de.current,Ke,R),ne?(H.globalCompositeOperation="source-out",(0,l.CR)(de.current,R,"#000"),H.globalCompositeOperation="destination-atop",(0,l.CR)(de.current,R,"#fff")):(H.globalCompositeOperation="source-in",(0,l.AE)(de.current,A.current,R),H.globalCompositeOperation="destination-over",(0,l.CR)(de.current,R,"#fff"))}},Te=function(Ke){var ye=Ke.object,ne=ye.alphaImageElement;ne&&(be(ne),ne.onload=function(){be(ne)})},Ge=function(){},Je=function(){},Qe=function(){},pt=function(){return!1},Ct=function(){return!1},ft=function(){return!1},Ht=function(){return!1},Ze=function(){return!1},Xe=function(){return!1};return{renderObject:Te,renderCreatingObject:Ge,renderEditingObject:Je,renderPrompt:Qe,startEditingWhenMouseDown:pt,startCreatingWhenMouseDown:Ct,updateEditingWhenMouseMove:ft,updateCreatingWhenMouseMove:Ht,finishEditingWhenMouseUp:Ze,finishCreatingWhenMouseUp:Xe}},g=m,M=function(U){var A=U.canvasRef,G=function(ft){var Ht=ft.object,Ze=ft.styles,Xe=Ht.point;if(Xe&&Xe.visible){var rt=Xe.x,Ke=Xe.y,ye=Ze.strokeColor,ne=Ze.fillColor;(0,l.G5)(A.current,{x:rt,y:Ke},4,ne,2,ye)}},de=function(){},he=function(){},ge=function(){},be=function(){return!1},Te=function(){return!1},Ge=function(){return!1},Je=function(){return!1},Qe=function(){return!1},pt=function(){return!1};return{renderObject:G,renderCreatingObject:de,renderEditingObject:he,renderPrompt:ge,startEditingWhenMouseDown:be,startCreatingWhenMouseDown:Te,updateEditingWhenMouseMove:Ge,updateCreatingWhenMouseMove:Je,finishEditingWhenMouseUp:Qe,finishCreatingWhenMouseUp:pt}},h=M,S=e(34485),w=e.n(S),C=e(39378),z=e(34095),$=e(50910),N=e(14464),L=function(U){var A=U.editState,G=U.clientSize,de=U.naturalSize,he=U.imagePos,ge=U.containerMouse,be=U.canvasRef,Te=U.activeCanvasRef,Ge=U.contentMouse,Je=U.setEditState,Qe=U.drawData,pt=U.setDrawData,Ct=U.setDrawDataWithHistory,ft=U.updateHistory,Ht=U.updateMouseCursor,Ze=U.updateObject,Xe=U.addObject,rt=U.onAiAnnotation,Ke=U.displayOptionsResult,ye=function(J){var ce=J.object,xe=J.color,ue=J.styles,Ne=J.isFocus,Oe=J.isJustCreated,we=ce.polygon;if(we&&we.visible){var Re=ue.fillColor;!Ne&&!Oe&&(Re=(0,N.a7)(xe,z.mh.DEFAULT_SHAPE));var st=ue.thickness;Ke&&(!Ke.showSegFilling&&!Ne&&(Re="transparent"),Ke.showSegContour||(st=0)),we==null||we.group.forEach(function(tt){(0,l.fb)(be.current,tt,Re,ue.strokeColor,st,ue.strokeDash)})}},ne=function(J){var ce=J.object,xe=J.styles,ue=ce.currIndex,Ne=(0,d.lT)(ce,{x:-he.current.x,y:-he.current.y}),Oe=Ne.polygon;Oe&&Oe.visible&&Oe.group.forEach(function(we,Re){ue===Re?we.forEach(function(st,tt){(0,l.G5)(Te.current,st,tt===0?6:4,xe.strokeColor,3,"#1f4dd8"),we.length>1&&tt-1&&tt>-1){var ke=Oe.group[st][tt];ke&&(0,l.G5)(Te.current,ke,4,"#fff",5,xe)}else if(st>-1&&Ye>-1){var Be=(0,d.Iw)(Oe.group[st]);if(Be[Ye]){var it=Be[Ye],Ve=it.start,It=it.end,_t=(0,d.Z4)({x:Ge.elementX+he.current.x,y:Ge.elementY+he.current.y},Ve,It);_t&&(0,l.G5)(Te.current,_t,4,"#fff",5,xe)}}}},R=function(J){var ce=J.prompt;if(ce.creatingPrompt){var xe=z.XQ.CREATING,ue=z.Bt.CREATING;switch(ce.creatingPrompt.type){case $.Ae.Rect:{var Ne=ce.creatingPrompt.startPoint,Oe=(0,d.A7)(Ne,{x:Ge.elementX,y:Ge.elementY},{width:Ge.elementW,height:Ge.elementH}),we=(0,d.ZU)(Oe,{x:-he.current.x,y:-he.current.y});(0,l.Mu)(Te.current,we,xe,2,[0],ue);break}case $.Ae.Point:{if(!ce.creatingPrompt.point)break;var Re=(0,d.aF)(ce.creatingPrompt.point,{x:-he.current.x,y:-he.current.y});(0,l.G5)(Te.current,Re,4,ce.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff")}case $.Ae.Stroke:{if(!ce.creatingPrompt.stroke||!ce.creatingPrompt.radius)break;var st=(0,d.U8)(ce.creatingPrompt.stroke,{x:-he.current.x,y:-he.current.y}),tt=ce.creatingPrompt.radius*G.width/de.width,Ye=ce.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE;(0,l.AT)(Te.current,st,Ye,tt);break}default:break}if(A.isRequiring&&ce.activeRectWhileLoading){var ke=(0,d.ZU)(ce.activeRectWhileLoading,{x:-he.current.x,y:-he.current.y});(0,l.HU)(Te.current,ke)}}ce.promptsQueue&&ce.promptsQueue.forEach(function(Be){if(Be.type===$.Ae.Point){var it=(0,d.aF)(Be.point,{x:-he.current.x,y:-he.current.y});(0,l.G5)(Te.current,it,4,Be.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff")}})},P=function(J){var ce={x:Ge.elementX,y:Ge.elementY};pt(function(xe){switch(xe.selectedSubTool){case n.jB.AutoSegmentByBox:xe.prompt.creatingPrompt={type:$.Ae.Rect,startPoint:ce,isPositive:!0};break;case n.jB.AutoSegmentByClick:xe.prompt.creatingPrompt={type:$.Ae.Point,startPoint:ce,point:ce,isPositive:X(J)};break;case n.jB.AutoSegmentByStroke:{xe.prompt.creatingPrompt={type:$.Ae.Stroke,startPoint:ce,stroke:[ce],radius:xe.brushSize,isPositive:X(J)};break}default:}})},ae=function(J){var ce=J.object,xe=J.event;return Qe.AIAnnotation?(P(xe),!0):(xe==null?void 0:xe.button)===2?!1:!!x({object:ce,contentMouse:Ge,setEditState:Je,setDrawData:pt})},Q=function(J){var ce=J.event,xe=J.point,ue=J.basic;return pt(function(Ne){if(!Ne.creatingObject||Ne.activeObjectIndex>-1)if(Ne.activeObjectIndex=-1,Ne.AIAnnotation)switch(Ne.selectedSubTool){case n.jB.AutoSegmentByBox:Ne.prompt.creatingPrompt={type:$.Ae.Rect,startPoint:xe,isPositive:!0};break;case n.jB.AutoSegmentByClick:Ne.prompt.creatingPrompt={type:$.Ae.Point,startPoint:xe,point:xe,isPositive:X(ce)};break;case n.jB.AutoSegmentByStroke:{Ne.prompt.creatingPrompt={type:$.Ae.Stroke,startPoint:xe,stroke:[xe],radius:Ne.brushSize,isPositive:X(ce)};break}}else Ne.creatingObject=t()({type:n.gr.Polygon,polygon:{visible:!0,group:[[xe]]},currIndex:0},ue),ft((0,C.cloneDeep)(Qe));else if(Ne.AIAnnotation)P(ce);else{var Oe=Ne.creatingObject.currIndex,we=Ne.creatingObject.polygon;if(Oe>-1){var Re=we.group[Oe][0];(0,d.uN)(Re,Ge)?Ne.creatingObject.currIndex=-1:Ne.creatingObject.polygon&&(we.group[Oe].push(xe),ft((0,C.cloneDeep)(Ne)))}else we.group.push([xe]),Ne.creatingObject.currIndex=we.group.length-1,ft((0,C.cloneDeep)(Ne))}}),!0},ie=function(J){var ce=J.event,xe=Qe.selectedSubTool===n.jB.AutoSegmentByStroke,ue=ce.buttons===1||ce.buttons===2;if(Qe.prompt.creatingPrompt&&xe&&ue){var Ne={x:Ge.elementX,y:Ge.elementY};return pt(function(Oe){var we,Re;(we=Oe.prompt.creatingPrompt)===null||we===void 0||(Re=we.stroke)===null||Re===void 0||Re.push(Ne)}),!0}return!!Qe.creatingObject},me=function(J){var ce=J.event;if(Qe.AIAnnotation)return Ht("crosshair"),ie({event:ce});var xe=A.focusEleType,ue=A.focusEleIndex,Ne=A.focusObjectIndex,Oe=A.focusPolygonInfo;if(Ne===Qe.activeObjectIndex&&xe===n.Yq.Polygon&&(Oe.pointIndex>-1?Ht("pointer"):Oe.lineIndex>-1?Ht("crosshair"):Ht("move")),xe===n.Yq.Polygon&&ue===0){var we=A.focusPolygonInfo,Re=we.index,st=we.pointIndex;if(A.startElementMovePoint&&Re>-1)return st>-1?(pt(function(tt){var Ye,ke;if(tt.activeObjectIndex>-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(Ye=tt.creatingObject)!==null&&Ye!==void 0&&(ke=Ye.polygon)!==null&&ke!==void 0&&ke.group[Re]){var Be,it,Ve=(Be=tt.creatingObject)===null||Be===void 0||(it=Be.polygon)===null||it===void 0?void 0:it.group[Re];Ve[st]=(0,d.E5)(Ge)}}),!0):(pt(function(tt){var Ye,ke;if(tt.activeObjectIndex>-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(Ye=tt.creatingObject)!==null&&Ye!==void 0&&(ke=Ye.polygon)!==null&&ke!==void 0&&ke.group[Re]){var Be,it,Ve=(Be=tt.creatingObject)===null||Be===void 0||(it=Be.polygon)===null||it===void 0?void 0:it.group[Re],It=(0,d.s5)(Ve,A.startElementMovePoint,Ge);tt.creatingObject.polygon.group[Re]=It,Je(function(_t){_t.startElementMovePoint&&(_t.startElementMovePoint.mousePoint={x:Ge.elementX,y:Ge.elementY})})}}),!0)}return!1},je=function(J){var ce=J.event;return ie({event:ce})},Ee=function(){if(Qe.prompt.promptsQueue&&Qe.prompt.promptsQueue.length>0)return Qe.prompt.promptsQueue;var J=!Qe.prompt.sessionId&&Qe.creatingObject;if(J){var ce,xe,ue=((ce=Qe.creatingObject)===null||ce===void 0||(xe=ce.polygon)===null||xe===void 0?void 0:xe.group.map(function(Oe){return Oe.reduce(function(we,Re){return we.concat([Re.x,Re.y])},[])}))||[],Ne={type:$.Ae.Modify,isPositive:!0,polygons:ue};return[Ne]}else return[]},Me=function(){var J={x:Ge.elementX,y:Ge.elementY},ce=Ee();switch(Qe.selectedSubTool){case n.jB.AutoSegmentByBox:{var xe,ue,Ne;if(!((xe=Qe.prompt.creatingPrompt)!==null&&xe!==void 0&&xe.startPoint))break;if(J.x===((ue=Qe.prompt.creatingPrompt.startPoint)===null||ue===void 0?void 0:ue.x)||J.y===((Ne=Qe.prompt.creatingPrompt.startPoint)===null||Ne===void 0?void 0:Ne.y)){pt(function(Ve){return Ve.prompt.creatingPrompt=void 0});break}var Oe=(0,d.A7)(Qe.prompt.creatingPrompt.startPoint,J,{width:Ge.elementW,height:Ge.elementH}),we={type:$.Ae.Rect,isPositive:!0,rect:Oe};Ct(function(Ve){Ve.prompt.activeRectWhileLoading=Oe});var Re=[].concat(w()(ce),[we]);rt==null||rt({type:n.gr.Polygon,drawData:Qe,promptsQueue:Re});break}case n.jB.AutoSegmentByClick:{var st;if(!(0,d.jt)(Ge)||!(0,d.jt)(ge)||!((st=Qe.prompt.creatingPrompt)!==null&&st!==void 0&&st.point))break;var tt={type:$.Ae.Point,isPositive:Qe.prompt.creatingPrompt.isPositive,point:Qe.prompt.creatingPrompt.point},Ye=[].concat(w()(ce),[tt]);rt==null||rt({type:n.gr.Polygon,drawData:Qe,promptsQueue:Ye});break}case n.jB.AutoSegmentByStroke:{var ke;if(!((ke=Qe.prompt.creatingPrompt)!==null&&ke!==void 0&&ke.stroke))break;var Be={type:$.Ae.Stroke,isPositive:Qe.prompt.creatingPrompt.isPositive,stroke:Qe.prompt.creatingPrompt.stroke,radius:Qe.brushSize},it=[].concat(w()(ce),[Be]);rt==null||rt({type:n.gr.Polygon,drawData:Qe,promptsQueue:it});break}}},We=function(J){var ce=J.object;if(Qe.AIAnnotation)Me();else{var xe,ue,Ne=A.startRectResizeAnchor||A.startElementMovePoint,Oe=A.startElementMovePoint&&((xe=A.startElementMovePoint.initPoint)===null||xe===void 0?void 0:xe.x)===Ge.elementX&&((ue=A.startElementMovePoint.initPoint)===null||ue===void 0?void 0:ue.y)===Ge.elementY,we=Oe&&A.focusPolygonInfo.index>-1&&A.focusPolygonInfo.pointIndex>-1;if(we){var Re,st=(0,C.cloneDeep)(ce),tt=A.focusPolygonInfo,Ye=tt.index,ke=tt.pointIndex,Be=(Re=st.polygon)===null||Re===void 0?void 0:Re.group[Ye];Be&&Ye>-1&&ke>-1&&Be.length>=3&&Be.splice(ke,1),Ze(st,Qe.activeObjectIndex)}else Ne&&Ze(ce,Qe.activeObjectIndex);Je(function(it){it.startRectResizeAnchor=void 0,it.startElementMovePoint=void 0})}return!0},re=function(J){var ce=J.object;if(Qe.AIAnnotation)Me();else if(ce&&ce.currIndex===-1){var xe=ce.polygon,ue=ce.type,Ne=ce.hidden,Oe=ce.labelId,we=ce.status,Re=ce.color,st={polygon:xe,type:ue,hidden:Ne,labelId:Oe,status:we,color:Re};Xe(st)}return!0};return{renderObject:ye,renderCreatingObject:ne,renderEditingObject:H,renderPrompt:R,startEditingWhenMouseDown:ae,startCreatingWhenMouseDown:Q,updateEditingWhenMouseMove:me,updateCreatingWhenMouseMove:je,finishEditingWhenMouseUp:We,finishCreatingWhenMouseUp:re}},B=L,D=function(U){var A=U.canvasRef,G=function(ft){var Ht=ft.object,Ze=ft.color,Xe=ft.isFocus,rt=Ht.polyline;if(rt&&rt.visible&&rt.lineType){var Ke=rt.lineType,ye=rt.color||Ze,ne=Xe?(0,N.a7)(ye,z.rl.FOCUS):(0,N.a7)(ye,z.rl.DEFAULT);rt==null||rt.group.forEach(function(H){(0,l.bT)(A.current,H,ne,Ke)})}},de=function(){},he=function(){},ge=function(){},be=function(){return!1},Te=function(){return!1},Ge=function(){return!1},Je=function(){return!1},Qe=function(){return!1},pt=function(){return!1};return{renderObject:G,renderCreatingObject:de,renderEditingObject:he,renderPrompt:ge,startEditingWhenMouseDown:be,startCreatingWhenMouseDown:Te,updateEditingWhenMouseMove:Ge,updateCreatingWhenMouseMove:Je,finishEditingWhenMouseUp:Qe,finishCreatingWhenMouseUp:pt}},T=D,j=function(U){var A=U.contentMouse,G=U.imagePos,de=U.canvasRef,he=U.activeCanvasRef,ge=U.editState,be=U.setEditState,Te=U.drawData,Ge=U.setDrawData,Je=U.updateMouseCursor,Qe=U.updateObject,pt=U.addObject,Ct=U.getAnnotColor,ft=U.displayOptionsResult,Ht=U.categories,Ze=U.onAiAnnotation,Xe=function(me){var je=me.object,Ee=me.color,Me=me.styles,We=me.isFocus,re=je.rect;if(re&&re.visible){var se=Me.strokeDash,J=Me.strokeColor,ce=Me.fillColor,xe=Me.thickness,ue=Te.selectedModel[Te.selectedTool];if(Te.isBatchEditing){if(je.status===$.TK.Unchecked&&(!ge.isCtrlPressed||ue===n.HE.IVP))return;ge.isCtrlPressed&&ue===n.HE.Detection&&(je.status!==$.TK.Unchecked?(J=(0,N.a7)(Ee,.8),se=[2],xe=1.5):ce=We?(0,N.a7)(Ee,z.mh.DEFAULT):(0,N.a7)(Ee,z.mh.CTRL_TO_SELECT))}if((0,l.Mu)(de.current,re,J,xe,se,ce),ft!=null&&ft.showBoxText){var Ne,Oe=((Ne=Ht.find(function(Re){return Re.id===je.labelId}))===null||Ne===void 0?void 0:Ne.name)||"",we=je!=null&&je.conf&&je.conf>0&&je.conf<1?"".concat(Oe," (").concat(je.conf.toFixed(3),")"):Oe;(0,l.yU)(de.current,we||"",13,{x:re.x+6,y:re.y+6},Ee,!0,"left")}Te.isBatchEditing&&ge.isCtrlPressed&&We&&(0,l.HU)(he.current,re,"#000",.6)}},rt=function(me){var je=me.object,Ee=me.styles,Me=je.startPoint;if(Me){var We=(0,d.A7)(Me,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),re=(0,d.ZU)(We,{x:-G.current.x,y:-G.current.y});(0,l.Mu)(he.current,re,Ee.strokeColor,Ee.thickness,Ee.strokeDash,Ee.fillColor)}},Ke=function(me){var je=me.object,Ee=me.styles,Me=je.rect;Me&&Me.visible&&((0,l.Mu)(he.current,Me,Ee.strokeColor,Ee.thickness,Ee.strokeDash,Ee.fillColor),W(he.current,Me))},ye=function(me){var je=me.prompt;if(je.creatingPrompt){var Ee=je.creatingPrompt.isPositive?z.CJ.POSITIVE:z.CJ.NEGATIVE,Me=je.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE;switch(je.creatingPrompt.type){case $.Ae.Rect:{var We=je.creatingPrompt.startPoint,re=(0,d.A7)(We,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),se=(0,d.ZU)(re,{x:-G.current.x,y:-G.current.y});(0,l.Mu)(he.current,se,Ee,2,[0],Me);break}case $.Ae.Point:{if(!je.creatingPrompt.point)break;var J=(0,d.aF)(je.creatingPrompt.point,{x:-G.current.x,y:-G.current.y});(0,l.G5)(he.current,J,4,je.creatingPrompt.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff")}default:break}}je.promptsQueue&&je.promptsQueue.forEach(function(ce){switch(ce.type){case $.Ae.Rect:{var xe=(0,d.ZU)(ce.rect,{x:-G.current.x,y:-G.current.y});(0,l.Mu)(he.current,xe,ce.isPositive?z.CJ.POSITIVE:z.CJ.NEGATIVE,2,[0],ce.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE);break}case $.Ae.Point:{var ue=(0,d.aF)(ce.point,{x:-G.current.x,y:-G.current.y});(0,l.G5)(he.current,ue,4,ce.isPositive?z.lz.POSITIVE:z.lz.NEGATIVE,2,"#fff");break}}})},ne=function(me){var je=me.object,Ee=me.event;return(Ee==null?void 0:Ee.button)===2?!1:!!x({object:je,contentMouse:A,setEditState:be,setDrawData:Ge})},H=function(me){var je=me.point,Ee=me.basic;return Ge(function(Me){var We=Me.selectedModel[Me.selectedTool];Me.AIAnnotation&&We===n.HE.IVP?(Me.activeObjectIndex=-1,Me.prompt.creatingPrompt={type:$.Ae.Rect,startPoint:je,point:je,isPositive:Me.selectedSubTool!==n.jB.NegativeVisualPrompt}):(Me.activeObjectIndex=-1,Me.creatingObject=t()({type:n.gr.Rectangle,startPoint:je},Ee))}),!0},R=function(me){var je=me.object;return O({object:je,editState:ge,contentMouse:A,drawData:Te,setDrawData:Ge,updateMouseCursor:Je})},P=function(me){var je=me.object;return!!je},ae=function(me){var je=me.object,Ee=ge.startRectResizeAnchor||ge.startElementMovePoint;return Ee&&Qe(je,Te.activeObjectIndex),be(function(Me){Me.startRectResizeAnchor=void 0,Me.startElementMovePoint=void 0}),!0},Q=function(me){var je,Ee=me.object,Me={x:A.elementX,y:A.elementY};if(Te.AIAnnotation&&Te.selectedModel[Te.selectedTool]===n.HE.IVP&&(je=Te.prompt.creatingPrompt)!==null&&je!==void 0&&je.startPoint){var We=Te.prompt.creatingPrompt.startPoint;if(Me.x===We.x||Me.y===We.y)return Ge(function(ue){ue.prompt.creatingPrompt=void 0}),!0;var re=(0,d.A7)(We,Me,{width:A.elementW,height:A.elementH}),se={type:$.Ae.Rect,isPositive:Te.prompt.creatingPrompt.isPositive,rect:re},J=[].concat(w()(Te.prompt.promptsQueue||[]),[se]);return Ze==null||Ze({type:n.gr.Rectangle,drawData:Te,promptsQueue:J}),!0}if(!Ee||!Ee.startPoint)return!1;if(A.elementX===Ee.startPoint.x||A.elementY===Ee.startPoint.y)return Ge(function(ue){ue.creatingObject=void 0}),!0;var ce=(0,d.A7)(Ee.startPoint,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),xe={type:n.gr.Rectangle,labelId:Ee.labelId,hidden:!1,rect:t()({visible:!0},ce),conf:1,status:$.TK.Commited,color:Ct(Ee.labelId)};return pt(xe),!0};return{renderObject:Xe,renderCreatingObject:rt,renderEditingObject:Ke,renderPrompt:ye,startEditingWhenMouseDown:ne,startCreatingWhenMouseDown:H,updateEditingWhenMouseMove:R,updateCreatingWhenMouseMove:P,finishEditingWhenMouseUp:ae,finishCreatingWhenMouseUp:Q}},K=j,k=function(U,A,G,de,he){var ge=arguments.length>5&&arguments[5]!==void 0?arguments[5]:4,be=A.lines,Te=A.points;if(!he)for(var Ge=0;Ge*2400?4:2)}},rt=function(me){var je=me.object,Ee=me.styles,Me=je.startPoint;if(Me){var We=(0,d.A7)(Me,{x:he.elementX,y:he.elementY},{width:he.elementW,height:he.elementH}),re=(0,d.ZU)(We,{x:-ge.current.x,y:-ge.current.y}),se=n.v_.points,J=n.v_.lines,ce=n.v_.pointColors,xe=n.v_.pointNames,ue=(0,d.el)(se,xe,ce,de,G),Ne=(0,d.cU)(ue,re);(0,l.Mu)(Te.current,re,Ee.strokeColor,Ee.thickness),Ne.forEach(function(tt){(0,l.G5)(Te.current,{x:tt.x,y:tt.y},4,Ee.strokeColor,3,"#1f4dd8")});for(var Oe=0;Oe*2-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(Me=Ee.creatingObject)!==null&&Me!==void 0&&(We=Me.keypoints)!==null&&We!==void 0&&(re=We.points)!==null&&re!==void 0&&re[A.focusEleIndex]){var se,J,ce,xe=(se=Ee.creatingObject)===null||se===void 0||(J=se.keypoints)===null||J===void 0||(ce=J.points)===null||ce===void 0?void 0:ce[A.focusEleIndex],ue=(0,d.E5)(he),Ne=ue.x,Oe=ue.y;xe.x=Ne,xe.y=Oe}}),!0):!1)},P=function(me){var je=me.object;return!!je},ae=function(me){var je=me.object,Ee=A.startRectResizeAnchor||A.startElementMovePoint;if(Ee&&ft(je,Je.activeObjectIndex),Je.AIAnnotation){var Me,We;A.startElementMovePoint&&(((Me=A.startElementMovePoint.mousePoint)===null||Me===void 0?void 0:Me.x)!==he.elementX||((We=A.startElementMovePoint.mousePoint)===null||We===void 0?void 0:We.y)!==he.elementY)&&(Ht==null||Ht({type:n.gr.Skeleton,drawData:Je}))}return Ge(function(re){re.startRectResizeAnchor=void 0,re.startElementMovePoint=void 0}),!0},Q=function(me){var je,Ee,Me=me.object;if(!Me||!Me.startPoint)return!1;if(he.elementX===((je=Me.startPoint)===null||je===void 0?void 0:je.x)||he.elementY===((Ee=Me.startPoint)===null||Ee===void 0?void 0:Ee.y))return Qe(function(Oe){return Oe.creatingObject=void 0}),!0;var We=(0,d.A7)(Me.startPoint,{x:he.elementX,y:he.elementY},{width:he.elementW,height:he.elementH}),re=n.v_.points,se=n.v_.lines,J=n.v_.pointColors,ce=n.v_.pointNames,xe=(0,d.el)(re,ce,J,de,G),ue=(0,d.cU)(xe,We),Ne={type:n.gr.Skeleton,labelId:Me.labelId,hidden:!1,color:Me.color,rect:t()({visible:!0},We),keypoints:{points:ue,lines:se},conf:1,status:$.TK.Commited};return Ct(Ne),!0};return{renderObject:Xe,renderCreatingObject:rt,renderEditingObject:Ke,renderPrompt:ye,startEditingWhenMouseDown:ne,startCreatingWhenMouseDown:H,updateEditingWhenMouseMove:R,updateCreatingWhenMouseMove:P,finishEditingWhenMouseUp:ae,finishCreatingWhenMouseUp:Q}},Y=te,q;(function(_){})(q||(q={}));var le=function(U){var A,G=K(U),de=B(U),he=Y(U),ge=(0,c.ZP)(U),be=g(U),Te=h(U),Ge=T(U),Je=(A={},s()(A,n.gr.Rectangle,G),s()(A,n.gr.Polygon,de),s()(A,n.gr.Skeleton,he),s()(A,n.gr.Mask,ge),s()(A,n.gr.Matting,be),s()(A,n.gr.Point,Te),s()(A,n.gr.Polyline,Ge),s()(A,n.gr.Custom,G),s()(A,n.gr.Classification,G),A);return{objectHooksMap:Je}},X=function(U){return!(U.button===2||U.button===0&&U.altKey)},W=function(U,A){var G=(0,d.Qo)(A).map(function(de){return de.position});G.forEach(function(de){var he=(0,d.Ak)(de,{width:10,height:10}),ge=(0,d.my)(he);(0,l.Mu)(U,ge,"rgba(0, 0, 0, 0.8)",3,[0],"#fff")})},x=function(U){var A=U.object,G=U.contentMouse,de=U.setEditState,he=U.setDrawData,ge=(0,d.o7)(G,A),be=ge.focusEleIndex,Te=ge.focusEleType,Ge=ge.focusPolygonInfo;if(Te===n.Yq.None)return!1;var Je=A.rect,Qe=A.keypoints,pt=A.polygon,Ct={x:G.elementX,y:G.elementY};return de(function(ft){switch(Te){case n.Yq.Rect:{if(Je){var Ht=(0,d.Oh)(Je,Ct);Ht?ft.startRectResizeAnchor={type:Ht.type,position:(0,d.l1)(Je,Ht.type)}:ft.startElementMovePoint={topLeftPoint:{x:Je.x,y:Je.y},mousePoint:Ct}}break}case n.Yq.Circle:{if(Qe){var Ze=Qe.points[be];ft.startElementMovePoint={topLeftPoint:{x:Ze.x,y:Ze.y},mousePoint:Ct}}break}case n.Yq.Polygon:{var Xe=Ge.lineIndex,rt=Ge.index;if(pt)if(Xe>-1){var Ke=(0,d.Iw)(pt.group[rt])[Xe];if(Ke){var ye=(0,d.Z4)(Ct,Ke.start,Ke.end);he(function(ne){var H=ne.objectList[ne.activeObjectIndex];H.polygon&&H.polygon.group[rt].splice(Xe+1,0,ye),ne.creatingObject=t()({},H)}),ft.focusPolygonInfo.pointIndex=Xe+1,ft.startElementMovePoint={topLeftPoint:{x:0,y:0},mousePoint:ye,initPoint:ye}}}else ft.startElementMovePoint={topLeftPoint:{x:0,y:0},mousePoint:Ct,initPoint:Ct};break}}}),!0},O=function(U){var A=U.object,G=U.editState,de=U.contentMouse,he=U.drawData,ge=U.setDrawData,be=U.updateMouseCursor,Te=G.focusObjectIndex,Ge=G.focusEleIndex,Je=G.focusEleType,Qe=G.startRectResizeAnchor;if(Te===he.activeObjectIndex&&Je===n.Yq.Rect&&A.rect){var pt=(0,d.Oh)(A.rect,{x:de.elementX,y:de.elementY});pt?be("resize",pt.type):be("move")}if(Je===n.Yq.Rect&&Ge===0){if(Qe)return ge(function(Ct){if(Ct.activeObjectIndex>-1&&G.startRectResizeAnchor&&Ct.creatingObject&&Ct.creatingObject.rect){var ft=(0,d.XR)(Ct.creatingObject.rect,G.startRectResizeAnchor,de);Ct.creatingObject.rect=t()(t()({},Ct.creatingObject.rect),ft)}}),!0;if(G.startElementMovePoint)return ge(function(Ct){if(Ct.activeObjectIndex>-1&&G.startElementMovePoint&&Ct.creatingObject&&Ct.creatingObject.rect){var ft=(0,d.i$)(Ct.creatingObject.rect,G.startElementMovePoint,de);Ct.creatingObject.rect=t()(t()({},Ct.creatingObject.rect),ft)}}),!0}return!1}},67761:function(b,y,e){"use strict";e.d(y,{G9:function(){return j},ei:function(){return K}});var a=e(34485),t=e.n(a),o=e(63900),s=e.n(o),n=e(39378),d=e.n(n),l=e(17410),c=e(34095),m=e(50910),g=e(14464),M=e(46134),h=e(81179),S=e(87478),w=function(Y){for(var q=Y.length,le=0,X=0,W=!0,x=Array(q*6),O=0;O2&&(X-=Y[O-2]),W=!0;W;){var _=X&31;X>>=5,W=!!(X!==-1&&_&16||X!==0&&!(_&16)),W&&(_|=32),_+=48,x[le]=String.fromCharCode(_),le+=1}return x.join("")},C=function(Y){for(var q=0,le=[];q2&&(X+=le[le.length-2]),le.push(X)}return le},z=function(Y,q){for(var le=new Array(q),X=0,W=0,x=0;x0&&x.forEach(function(_){var U=(0,M.U8)(_.points,{x:-q.x,y:-q.y});(_.tool===l.jB.PenAdd||_.tool===l.jB.PenErase)&&(0,h.HT)(Y,U,_.positive,(0,g.a7)(W,c.s_.CREATING),"transparent"),(_.tool===l.jB.BrushAdd||_.tool===l.jB.BrushErase)&&(0,h.T8)(Y,U,_.positive,W,c.s_.CREATING,_.radius*le.width/X.width)}),O.restore()},D=function(Y,q,le,X,W,x,O){if(Y){var _=q.maskStep,U=q.tempMaskSteps,A=q.maskCanvasElement,G=Y.getContext("2d");if(!G)return null;if(A&&(G.globalAlpha=c.s_.CREATING,(0,h.AE)(Y,A,{x:le.x,y:le.y,width:x.width,height:x.height}),G.globalAlpha=1),B(Y,le,x,O,X,U),_&&_.points.length>0){var de=_.tool===l.jB.PenAdd||_.tool===l.jB.BrushAdd?c.Bt.CREATING_POSITIVE:c.Bt.CREATING_NEGATIVE,he=(0,M.U8)(_.points,{x:-le.x,y:-le.y});(_.tool===l.jB.PenAdd||_.tool===l.jB.PenErase)&&((0,h.G5)(Y,he[0],6,(0,g.a7)(de,c.rl.CREATING),3,c.XQ.CREATING),he.length>0&&((0,h.MC)(Y,he,(0,g.a7)(de,c.rl.CREATING),2.5,[0]),(0,h.pS)(Y,he[he.length-1],W,(0,g.a7)(de,c.rl.CREATING_LINE),2.5,[5]))),(_.tool===l.jB.BrushAdd||_.tool===l.jB.BrushErase||_.tool===l.jB.AutoSegmentByStroke)&&he.length>1&&(0,h.AT)(Y,he,(0,g.a7)(de,c.s_.CREATING),_.radius*x.width/O.width)}}},T=function(Y,q){var le=Y.getContext("2d",{willReadFrequently:!0});if(!le)return null;for(var X=le.getImageData(0,0,Y.width,Y.height),W=hexToRgbArray(q),x=X.data.length/4;x--;)X.data[x*4+3]>0&&(X.data[x*4]=W[0],X.data[x*4+1]=W[1],X.data[x*4+2]=W[2],X.data[x*4+3]=255);return clearCanvas(Y),le.putImageData(X,0,0),Y},j=function(Y,q,le,X){var W=document.createElement("canvas"),x=W.getContext("2d",{willReadFrequently:!0});if(!x||!le)return null;W.width=q.width,W.height=q.height;var O=le.map(function(he){return s()(s()({},he),{},{points:he.points.map(function(ge){return(0,M.Ap)(ge,Y,q)})})});X&&(0,h.AE)(W,X,{x:0,y:0,width:q.width,height:q.height}),B(W,{x:0,y:0},q,q,"#fff",O);for(var _=x.getImageData(0,0,q.width,q.height),U=0,A=new Array(_.data.length/4).fill(0),G=_.data.length/4;G--;){var de=0;_.data[G*4+3]>0&&(U++,de=1,A[G]=1),_.data[G*4]=_.data[G*4+1]=_.data[G*4+2]=_.data[G*4+3]=de}return U>0?L(A):""},K=function(Y,q,le){var X=q.width,W=q.height,x=document.createElement("canvas"),O=x.getContext("2d");if(x.width=X,x.height=W,!O)return null;for(var _=O.createImageData(X,W),U=(0,g.dX)(le),A=N(Y,Math.ceil(X)*Math.ceil(W)),G=_.data.length/4;G--;)A[G]>0&&(_.data[G*4]=U[0],_.data[G*4+1]=U[1],_.data[G*4+2]=U[2],_.data[G*4+3]=255);return O.putImageData(_,0,0),x},k=function(Y){var q=Y.editState,le=Y.clientSize,X=Y.naturalSize,W=Y.contentMouse,x=Y.imagePos,O=Y.containerMouse,_=Y.canvasRef,U=Y.activeCanvasRef,A=Y.drawData,G=Y.setDrawData,de=Y.setDrawDataWithHistory,he=Y.updateHistory,ge=Y.onAiAnnotation,be=Y.updateMouseCursor,Te=function(H){var R=H.object,P=H.styles,ae=R.maskCanvasElement,Q=_.current.getContext("2d"),ie=Q.globalAlpha;Q.globalAlpha=Q.globalAlpha*P.maskAlpha,(0,h.AE)(_.current,ae,{x:x.current.x,y:x.current.y,width:le.width,height:le.height}),Q.globalAlpha=ie},Ge=function(H){var R=H.object,P=H.color;q.hideCreatingObject||D(U.current,R,x.current,P,{x:O.elementX,y:O.elementY},le,X)},Je=function(H){var R=H.object,P=H.color;q.hideCreatingObject||D(U.current,R,x.current,P,{x:O.elementX,y:O.elementY},le,X)},Qe=function(H){var R=H.prompt,P=A.selectedModel[A.selectedTool];if(R.creatingPrompt)if(P===l.HE.IVP){var ae=R.creatingPrompt.isPositive?c.CJ.POSITIVE:c.CJ.NEGATIVE,Q=R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE;switch(R.creatingPrompt.type){case m.Ae.Rect:{var ie=R.creatingPrompt.startPoint,me=(0,M.A7)(ie,{x:W.elementX,y:W.elementY},{width:W.elementW,height:W.elementH}),je=(0,M.ZU)(me,{x:-x.current.x,y:-x.current.y});(0,h.Mu)(U.current,je,ae,2,[0],Q);break}case m.Ae.Point:{if(!R.creatingPrompt.point)break;var Ee=(0,M.aF)(R.creatingPrompt.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,Ee,4,R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}default:break}}else{var Me=c.XQ.CREATING,We=c.Bt.CREATING;switch(R.creatingPrompt.type){case m.Ae.Rect:{var re=R.creatingPrompt.startPoint,se=(0,M.A7)(re,{x:W.elementX,y:W.elementY},{width:W.elementW,height:W.elementH}),J=(0,M.ZU)(se,{x:-x.current.x,y:-x.current.y});(0,h.Mu)(U.current,J,Me,2,[0],We);break}case m.Ae.Point:{if(!R.creatingPrompt.point)break;var ce=(0,M.aF)(R.creatingPrompt.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,ce,4,R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}case m.Ae.EdgeStitch:case m.Ae.Stroke:{if(!R.creatingPrompt.stroke||!R.creatingPrompt.radius)break;var xe=(0,M.U8)(R.creatingPrompt.stroke,{x:-x.current.x,y:-x.current.y}),ue=R.creatingPrompt.radius*le.width/X.width,Ne=R.creatingPrompt.type===m.Ae.EdgeStitch?(0,g.a7)(Me,c.s_.CREATING):R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE;(0,h.AT)(U.current,xe,Ne,ue);break}default:break}if(q.isRequiring&&R.activeRectWhileLoading){var Oe=(0,M.ZU)(R.activeRectWhileLoading,{x:-x.current.x,y:-x.current.y});(0,h.HU)(U.current,Oe)}}R.promptsQueue&&(P===l.HE.IVP?R.promptsQueue.forEach(function(we){switch(we.type){case m.Ae.Rect:{var Re=(0,M.ZU)(we.rect,{x:-x.current.x,y:-x.current.y});(0,h.Mu)(U.current,Re,we.isPositive?c.CJ.POSITIVE:c.CJ.NEGATIVE,2,[0],we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE);break}case m.Ae.Point:{var st=(0,M.aF)(we.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,st,4,we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff");break}}}):R.promptsQueue.forEach(function(we){if(we.type===m.Ae.Point){var Re=(0,M.aF)(we.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,Re,4,we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}}))},pt=function(H){var R={x:W.elementX,y:W.elementY};G(function(P){switch(P.selectedSubTool){case l.jB.PenAdd:case l.jB.PenErase:case l.jB.BrushAdd:case l.jB.BrushErase:if(P.creatingObject){if(P.creatingObject.maskStep){if(P.creatingObject.maskStep.points.push(R),[l.jB.PenAdd,l.jB.PenErase].includes(P.selectedSubTool)&&(0,M.uN)(P.creatingObject.maskStep.points[0],W)){var ae;(ae=P.creatingObject.tempMaskSteps)===null||ae===void 0||ae.push(P.creatingObject.maskStep),P.creatingObject.maskStep=void 0}}else P.creatingObject.maskStep={tool:P.selectedSubTool,positive:P.selectedSubTool===l.jB.PenAdd||P.selectedSubTool===l.jB.BrushAdd,points:[R],radius:P.brushSize};[l.jB.BrushAdd,l.jB.BrushErase].includes(P.selectedSubTool)||he((0,n.cloneDeep)(P))}P.prompt.sessionId=void 0;break;case l.jB.AutoSegmentByBox:P.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:R,isPositive:!0};break;case l.jB.AutoSegmentByClick:P.prompt.creatingPrompt={type:m.Ae.Point,startPoint:R,point:R,isPositive:(0,S.hF)(H)};break;case l.jB.AutoSegmentByStroke:P.prompt.creatingPrompt={type:m.Ae.Stroke,startPoint:R,stroke:[R],radius:P.brushSize,isPositive:(0,S.hF)(H)};break;case l.jB.AutoEdgeStitching:P.prompt.creatingPrompt={type:m.Ae.EdgeStitch,startPoint:R,stroke:[R],radius:P.brushSize,isPositive:!0};default:break}})},Ct=function(H){var R=H.event;return pt(R),!0},ft=function(H){var R=H.event,P=H.object,ae=H.point,Q=H.basic;return P?pt(R):G(function(ie){switch(ie.activeObjectIndex=-1,ie.selectedSubTool){case l.jB.PenAdd:case l.jB.PenErase:case l.jB.BrushAdd:case l.jB.BrushErase:ie.creatingObject=s()(s()({},Q),{},{type:l.gr.Mask,startPoint:ae,maskStep:{tool:ie.selectedSubTool,positive:ie.selectedSubTool===l.jB.PenAdd||ie.selectedSubTool===l.jB.BrushAdd,points:[ae],radius:ie.brushSize},tempMaskSteps:[]}),ie.prompt.sessionId=void 0;break;case l.jB.AutoSegmentByBox:ie.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:ae,isPositive:!0};break;case l.jB.AutoSegmentByClick:ie.prompt.creatingPrompt={type:m.Ae.Point,startPoint:ae,point:ae,isPositive:(0,S.hF)(R)};break;case l.jB.AutoSegmentByStroke:ie.prompt.creatingPrompt={type:m.Ae.Stroke,startPoint:ae,stroke:[ae],radius:ie.brushSize,isPositive:(0,S.hF)(R)};break;case l.jB.AutoEdgeStitching:ie.prompt.creatingPrompt={type:m.Ae.EdgeStitch,startPoint:ae,stroke:[ae],radius:ie.brushSize,isPositive:!0};break;case l.jB.PositiveVisualPrompt:case l.jB.NegativeVisualPrompt:ie.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:ae,point:ae,isPositive:ie.selectedSubTool!==l.jB.NegativeVisualPrompt};default:break}}),!0},Ht=function(H){var R=H.event,P=H.object;if(P||A.prompt.creatingPrompt){be("crosshair");var ae=[l.jB.BrushAdd,l.jB.BrushErase,l.jB.PenAdd,l.jB.PenErase,l.jB.AutoSegmentByStroke,l.jB.AutoEdgeStitching].includes(A.selectedSubTool),Q=R.buttons===1||R.buttons===2;if(ae&&Q){var ie={x:W.elementX,y:W.elementY},me=[l.jB.AutoSegmentByStroke,l.jB.AutoEdgeStitching].includes(A.selectedSubTool);G(function(je){if(me){var Ee,Me;(Ee=je.prompt.creatingPrompt)===null||Ee===void 0||(Me=Ee.stroke)===null||Me===void 0||Me.push(ie)}else{var We,re;(We=je.creatingObject)===null||We===void 0||(re=We.maskStep)===null||re===void 0||re.points.push(ie)}})}return!0}return!1},Ze=function(H){var R=H.object,P=H.event;return Ht({object:R,event:P})},Xe=function(H){var R=H.object,P=H.event;return Ht({object:R,event:P})},rt=function(){if(!(!A.creatingObject&&!A.prompt.creatingPrompt)){var H={x:W.elementX,y:W.elementY},R=A.selectedModel[A.selectedTool];switch(A.selectedSubTool){case l.jB.BrushAdd:case l.jB.BrushErase:case l.jB.PenAdd:case l.jB.PenErase:{de(function(Re){if(Re.creatingObject&&Re.creatingObject.tempMaskSteps&&Re.creatingObject.maskStep&&Re.creatingObject.maskStep.points.length>1&&([l.jB.BrushAdd,l.jB.BrushErase].includes(Re.selectedSubTool)||[l.jB.PenAdd,l.jB.PenErase].includes(Re.selectedSubTool)&&(0,M.uN)(Re.creatingObject.maskStep.points[0],W))){var st;(st=Re.creatingObject.tempMaskSteps)===null||st===void 0||st.push(Re.creatingObject.maskStep),Re.creatingObject.maskStep=void 0}Re.prompt.sessionId=void 0});break}case l.jB.AutoSegmentByBox:{var P,ae,Q;if(!((P=A.prompt.creatingPrompt)!==null&&P!==void 0&&P.startPoint))break;if(H.x===((ae=A.prompt.creatingPrompt.startPoint)===null||ae===void 0?void 0:ae.x)||H.y===((Q=A.prompt.creatingPrompt.startPoint)===null||Q===void 0?void 0:Q.y)){G(function(Re){return Re.prompt.creatingPrompt=void 0});break}var ie=(0,M.A7)(A.prompt.creatingPrompt.startPoint,H,{width:W.elementW,height:W.elementH}),me={type:m.Ae.Rect,isPositive:!0,rect:ie};de(function(Re){Re.prompt.activeRectWhileLoading=ie});var je=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[me]):[me];ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:je});break}case l.jB.AutoSegmentByClick:{var Ee;if(!(0,M.jt)(W)||!(0,M.jt)(O)||!((Ee=A.prompt.creatingPrompt)!==null&&Ee!==void 0&&Ee.point))break;var Me={type:m.Ae.Point,isPositive:A.prompt.creatingPrompt.isPositive,point:A.prompt.creatingPrompt.point},We=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[Me]):[Me];ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:We});break}case l.jB.AutoSegmentByStroke:{var re;if(!((re=A.prompt.creatingPrompt)!==null&&re!==void 0&&re.stroke))break;var se={type:m.Ae.Stroke,isPositive:A.prompt.creatingPrompt.isPositive,stroke:A.prompt.creatingPrompt.stroke,radius:A.brushSize},J=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[se]):[se];ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:J});break}case l.jB.AutoEdgeStitching:{var ce;if(!((ce=A.prompt.creatingPrompt)!==null&&ce!==void 0&&ce.stroke))break;ge==null||ge({type:l.gr.Mask,drawData:A});break}case l.jB.PositiveVisualPrompt:case l.jB.NegativeVisualPrompt:{var xe;if(R!==l.HE.IVP||!((xe=A.prompt.creatingPrompt)!==null&&xe!==void 0&&xe.startPoint))break;var ue=A.prompt.creatingPrompt.startPoint;if(H.x===ue.x||H.y===ue.y){G(function(Re){return Re.prompt.creatingPrompt=void 0});break}else{var Ne=(0,M.A7)(ue,H,{width:W.elementW,height:W.elementH}),Oe={type:m.Ae.Rect,isPositive:A.prompt.creatingPrompt.isPositive,rect:Ne},we=[].concat(t()(A.prompt.promptsQueue||[]),[Oe]);ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:we})}}}}},Ke=function(){return rt(),!0},ye=function(){return rt(),!0};return{renderObject:Te,renderCreatingObject:Ge,renderEditingObject:Je,renderPrompt:Qe,startEditingWhenMouseDown:Ct,startCreatingWhenMouseDown:ft,updateEditingWhenMouseMove:Ze,updateCreatingWhenMouseMove:Xe,finishEditingWhenMouseUp:Ke,finishCreatingWhenMouseUp:ye}};y.ZP=k},50910:function(b,y,e){"use strict";e.d(y,{Ae:function(){return l},In:function(){return n},O4:function(){return g},SP:function(){return S},TK:function(){return d},f7:function(){return m},je:function(){return c},rl:function(){return h}});var a=e(2657),t=e.n(a),o=e(17410),s,n=function(w){return w.Radio="radio",w.Checkbox="checkbox",w.Text="text",w}({}),d=function(w){return w[w.Unchecked=0]="Unchecked",w[w.Checked=1]="Checked",w[w.Commited=2]="Commited",w}({}),l=function(w){return w.Rect="rect",w.Point="point",w.Stroke="stroke",w.EdgeStitch="edgeStitch",w.Modify="modify",w.Text="text",w}({}),c={View:0,Edit:1,Review:2},m={initialized:!1,selectedTool:o.ru.Drag,selectedSubTool:o.jB.PenAdd,selectedModel:(s={},t()(s,o.ru.Drag,void 0),t()(s,o.ru.Rectangle,void 0),t()(s,o.ru.Mask,void 0),t()(s,o.ru.Skeleton,o.HE.Pose),t()(s,o.ru.Polygon,o.HE.SegmentByPolygon),s),AIAnnotation:!1,objectList:[],classifications:[],activeObjectIndex:-1,activeClassName:"",isJustCreated:!1,creatingObject:void 0,editingAttribute:void 0,brushSize:20,pointResolution:.5,prompt:{},isBatchEditing:!1,limitConf:0},g={brightness:100,contrast:100,saturate:100},M={colorByCategory:!0},h={isLoading:!1,isLoadingError:!1,isRequiring:!1,allowMove:!1,latestLabelId:"",startRectResizeAnchor:void 0,startElementMovePoint:void 0,focusObjectIndex:-1,foucsObjectAllIndexs:[],focusEleType:o.Yq.Rect,focusEleIndex:-1,focusPolygonInfo:{index:-1,pointIndex:-1,lineIndex:-1},isCtrlPressed:!1,hideCreatingObject:!1,imageDisplayOptions:g,annotsDisplayOptions:M},S=function(w){return w.Solid="solid",w.Dashed="dash",w.DoubleSolid="double_solid",w.DoubleDashed="double_dash",w.LDashedRSolid="left_dash-right_solid",w.LSolidRDashed="left_solid-right_dash",w.LCurbside="left_curbside",w.RCurbside="right_curbside",w.Unknown="none",w}({})},14464:function(b,y,e){"use strict";e.d(y,{Cj:function(){return c},WE:function(){return h},ZT:function(){return o},a7:function(){return d},dX:function(){return n},g9:function(){return g},wj:function(){return m}});var a=e(34485),t=e.n(a),o=function(C){return C.length!==3?"transparent":"#".concat(C[0].toString(16).padStart(2,"0")).concat(C[1].toString(16).padStart(2,"0")).concat(C[2].toString(16).padStart(2,"0")).toUpperCase()},s=function(C){var z=/^rgba?\((\d+),\s*(\d+),\s*(\d+)\)$/i.exec(C);return z?o(z):"transparent"},n=function(C){var z=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,$=C.replace(z,function(L,B,D,T){return B+B+D+D+T+T}),N=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec($);return N?[parseInt(N[1],16),parseInt(N[2],16),parseInt(N[3],16)]:[0,0,0]},d=function(C){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,$=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,N=C.replace($,function(D,T,j,K){return T+T+j+j+K+K}),L=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N),B=z<0||z>1?1:z;return L?"rgba(".concat(parseInt(L[1],16),",").concat(parseInt(L[2],16),",").concat(parseInt(L[3],16),",").concat(B,")"):"transparent"},l=function(C){for(var z=["#FFFF00","#FF0000","#0000FF","#00FF00","#FF00FF","#00FFFF"],$=[255,128,64,32,16,8,4,2,1],N=z.length+1;z.length0)if(L[T%3]+$[Math.floor(T/3)]<=255)L[T%3]+=$[Math.floor(T/3)];else{D=!1;break}B<<=1}if(D){var j="#".concat(L[0].toString(16).padStart(2,"0")).concat(L[1].toString(16).padStart(2,"0")).concat(L[2].toString(16).padStart(2,"0")).toUpperCase();z.includes(j)||z.push(j)}}return z},c=function(C){if(!C.length)return{};var z=t()(C),$=l(z.length),N={};return z.forEach(function(L,B){N[L]=$[B]}),N},m=function(C,z){return C.length!==3?"transparent":"rgba(".concat(C[0],", ").concat(C[1],", ").concat(C[2],", ").concat(z,")")},g=function(C){var z=C.slice(5,-1).split(",").map(function($){return $.trim()});return z.length!==4||isNaN(parseFloat(z[3]))?[]:z.slice(0,3)},M=function(C,z){if(!C)return"rgba(0,0,0,0)";var $=C.substring(5,C.length-1).split(",").map(function(B){return parseInt(B.trim())}),N=[].concat(_toConsumableArray($.slice(0,3)),[z]),L="rgba(".concat(N.join(","),")");return L},h=function(C,z,$){var N=$*z,L=N*(1-Math.abs(C*6%2-1)),B=$-N,D=0,T=0,j=0;return C<1/6?(D=N,T=L):C<2/6?(D=L,T=N):C<3/6?(T=N,j=L):C<4/6?(T=L,j=N):C<5/6?(D=L,j=N):(D=N,j=L),[Math.round((D+B)*255),Math.round((T+B)*255),Math.round((j+B)*255)]},S=function(){var w=.618033988749895,C=0;return function(){C=(C+w)%1;var z=h(C,.8,.95);return o(z)}}()},46134:function(b,y,e){"use strict";e.d(y,{$G:function(){return G},$S:function(){return q},A7:function(){return D},AR:function(){return N},A_:function(){return We},Ak:function(){return R},Ap:function(){return X},Aw:function(){return O},E5:function(){return je},I4:function(){return Ne},Iw:function(){return Ct},JP:function(){return W},Nm:function(){return rt},OX:function(){return A},Oh:function(){return P},Qo:function(){return H},RF:function(){return Xe},U8:function(){return Re},Uy:function(){return B},Vh:function(){return L},Vi:function(){return re},X6:function(){return Oe},XR:function(){return Q},YO:function(){return $},Yc:function(){return Yt},Z0:function(){return Ze},Z4:function(){return se},ZU:function(){return we},aF:function(){return st},aH:function(){return jt},cO:function(){return x},cU:function(){return k},cf:function(){return Ve},cx:function(){return le},e4:function(){return wt},el:function(){return _},hv:function(){return it},i$:function(){return ie},jt:function(){return he},kh:function(){return Y},kq:function(){return te},l1:function(){return ae},lT:function(){return tt},my:function(){return ne},nF:function(){return Be},o7:function(){return Ht},s5:function(){return me},t9:function(){return z},tQ:function(){return Me},uN:function(){return Je},yn:function(){return U}});var a=e(34485),t=e.n(a),o=e(63900),s=e.n(o),n=e(88479),d=e.n(n),l=e(88205),c=e.n(l),m=e(39378),g=e.n(m),M=e(17410),h=e(34095),S=e(67761),w=e(50910),C=e(14464),z=function(ze,nt,Et,lt){if(!ze||!nt)return[0,0,1];if(!Et)return[ze/nt*(lt||0),lt||0,1];if(!lt)return[Et||0,nt/ze*(Et||0),1];var Gt=ze,Rt=nt,Ot=1;return ze/nt>=Et/lt?(Gt=Et,Rt=nt*Et/ze,Ot=Et/ze):(Rt=lt,Gt=ze*lt/nt,Ot=lt/nt),[Gt||0,Rt||0,Ot]},$=function(ze,nt,Et){var lt=c()(ze,2),Gt=lt[0],Rt=Gt===void 0?0:Gt,Ot=lt[1],Ie=Ot===void 0?0:Ot;return{x:Rt/nt.width*Et.width,y:Ie/nt.height*Et.height}},N=function(ze,nt,Et){var lt=c()(ze,2),Gt=lt[0],Rt=Gt===void 0?0:Gt,Ot=lt[1],Ie=Ot===void 0?0:Ot;return{x:Rt/Et.width*nt.width,y:Ie/Et.height*nt.height}},L=function(ze,nt,Et){var lt=[];if(!ze)return lt;var Gt=ze.split("/");return Gt==null||Gt.forEach(function(Rt){for(var Ot=[],Ie=Rt.split(",").map(Number),Se=0;SeEt.width?Et.width:nt.x,y:nt.y<0?0:nt.y>Et.height?Et.height:nt.y};return{x:Math.min(ze.x,lt.x),y:Math.min(ze.y,lt.y),width:Math.abs(ze.x-lt.x),height:Math.abs(ze.y-lt.y)}},T=function(ze){var nt=1/0,Et=1/0,lt=-1/0,Gt=-1/0,Rt=d()(ze),Ot;try{for(Rt.s();!(Ot=Rt.n()).done;){var Ie=Ot.value;nt=Math.min(nt,Ie.x),Et=Math.min(Et,Ie.y),lt=Math.max(lt,Ie.x),Gt=Math.max(Gt,Ie.y)}}catch(Se){Rt.e(Se)}finally{Rt.f()}return{minX:nt,minY:Et,maxX:lt,maxY:Gt}},j=function(ze,nt,Et){return{x:nt*ze.x,y:Et*ze.y}},K=function(ze,nt,Et){return{x:ze.x+nt,y:ze.y+Et}},k=function(ze,nt){var Et=T(ze),lt=Et.minX,Gt=Et.minY,Rt=Et.maxX,Ot=Et.maxY,Ie=nt.width/(Rt-lt),Se=nt.height/(Ot-Gt),bt=ze.map(function(Pt){var He=K(Pt,-lt,-Gt),qe=j(He,Ie,Se),Zt=K(qe,nt.x,nt.y);return s()(s()({},Pt),Zt)});return bt},te=function(ze,nt){return{xmin:ze.x/nt.width,ymin:ze.y/nt.height,xmax:(ze.x+ze.width)/nt.width,ymax:(ze.y+ze.height)/nt.height}},Y=function(ze){return{xmin:ze.x,ymin:ze.y,xmax:ze.x+ze.width,ymax:ze.y+ze.height}},q=function(ze,nt,Et){return{x:ze.x*Et.width/nt.width,y:ze.y*Et.height/nt.height,width:ze.width*Et.width/nt.width,height:ze.height*Et.height/nt.height}},le=function(ze,nt,Et){var lt=q(ze,nt,Et);return[lt.x,lt.y,lt.x+lt.width,lt.y+lt.height]},X=function(ze,nt,Et){return{x:ze.x*Et.width/nt.width,y:ze.y*Et.height/nt.height}},W=function(ze,nt,Et){return{x:(ze[0]||0)/nt.width*Et.width,y:(ze[1]||0)/nt.height*Et.height,width:((ze[2]||0)-(ze[0]||0))/nt.width*Et.width,height:((ze[3]||0)-(ze[1]||0))/nt.height*Et.height}},x=function(ze,nt){return{x:(ze.xmin||0)*nt.width,y:(ze.ymin||0)*nt.height,width:((ze.xmax||0)-(ze.xmin||0))*nt.width,height:((ze.ymax||0)-(ze.ymin||0))*nt.height}},O=function(ze){return{x:ze.xmin,y:ze.ymin,width:ze.xmax-ze.xmin,height:ze.ymax-ze.ymin}},_=function(ze,nt,Et,lt,Gt){for(var Rt=[],Ot=0;Ot*6=0&&ze.elementX<=ze.elementW&&ze.elementY>=0&&ze.elementY<=ze.elementH},ge=function(ze,nt){return{x:ze.x-nt.x,y:ze.y-nt.y,width:ze.width+2*nt.x,height:ze.height+2*nt.y}},be=function(ze,nt){return s()(s()({},ze),{},{radius:nt})};function Te(yt,ze,nt){var Et={x:ze.x-yt.x,y:ze.y-yt.y},lt={x:nt.x-yt.x,y:nt.y-yt.y};return Et.x*lt.y-Et.y*lt.x}var Ge=function(ze,nt,Et){if(!ze||!nt)return!1;switch(Et){case M.Yq.Rect:{var lt=ze;return lt.x<=nt.x&<.x+lt.width>=nt.x&<.y<=nt.y&<.y+lt.height>=nt.y}case M.Yq.Circle:{var Gt=ze;return Math.sqrt(Math.pow(nt.x-Gt.x,2)+Math.pow(nt.y-Gt.y,2))<=Gt.radius}case M.Yq.Polygon:{for(var Rt=ze,Ot=1;Ot0&&Ie*bt>0)return!0}return!1}default:return!1}},Je=function(ze,nt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5,lt=be(ze,Et),Gt={x:nt.elementX,y:nt.elementY};return Ge(lt,Gt,M.Yq.Circle)},Qe=function(ze,nt){var Et=nt.elementX,lt=nt.elementY,Gt=Math.sqrt(Math.pow(Et-ze.start.x,2)+Math.pow(lt-ze.start.y,2)),Rt=Math.sqrt(Math.pow(Et-ze.end.x,2)+Math.pow(lt-ze.end.y,2)),Ot=Math.sqrt(Math.pow(ze.end.x-ze.start.x,2)+Math.pow(ze.end.y-ze.start.y,2)),Ie=.75;return Gt+Rt>=Ot-Ie&&Gt+Rt<=Ot+Ie},pt=function(ze){var nt=T(ze),Et=nt.maxX,lt=nt.minX,Gt=nt.maxY,Rt=nt.minY;return{x:lt,y:Rt,width:Et-lt,height:Gt-Rt}},Ct=function(ze){for(var nt=[],Et=0;Et0)return!0}break}}return!1},Ht=function(ze,nt){var Et,lt=M.Yq.None,Gt=-1,Rt={index:-1,pointIndex:-1,lineIndex:-1};if(!he(ze)||nt.hidden)return{focusEleType:lt,focusEleIndex:Gt,focusPolygonInfo:Rt};if((Et=nt.keypoints)!==null&&Et!==void 0&&Et.points)for(var Ot=nt.keypoints.points,Ie=0;Ie-1)return Rt.index=Zt,Rt.pointIndex=Ut,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Rt}}for(var qt=0;qt-1)return Rt.index=qt,Rt.lineIndex=En,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Rt}}var mn=qe.findIndex(function(Yn){return Ge(Yn,{x:ze.elementX,y:ze.elementY},M.Yq.Polygon)});if(mn>-1)return Rt.index=mn,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Rt}}return nt.rect&&Ge(ge(nt.rect,{x:8,y:8}),{x:ze.elementX,y:ze.elementY},M.Yq.Rect)?(lt=M.Yq.Rect,Gt=0,{focusEleType:lt,focusEleIndex:Gt,focusPolygonInfo:Rt}):{focusEleType:lt,focusEleIndex:Gt,focusPolygonInfo:Rt}},Ze=function(ze,nt,Et,lt){var Gt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){return!0};if(!he(nt))return-1;if(lt[Et]&&Gt(lt[Et])&&ft(nt,lt[Et],ze))return Et;for(var Rt=lt.length-1;Rt>=0;Rt--)if(Gt(lt[Rt])&&ft(nt,lt[Rt],ze))return Rt;return-1},Xe=function(ze,nt,Et){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(!he(nt))return[];for(var Gt=[],Rt=Et.length-1;Rt>=0;Rt--)lt(Et[Rt])&&ft(nt,Et[Rt],ze)&&Gt.push(Rt);return Gt},rt=function(yt){return yt.TOP="TOP",yt.BOTTOM="BOTTOM",yt.LEFT="LEFT",yt.RIGHT="RIGHT",yt.TOP_RIGHT="TOP_RIGHT",yt.TOP_LEFT="TOP_LEFT",yt.BOTTOM_RIGHT="BOTTOM_RIGHT",yt.BOTTOM_LEFT="BOTTOM_LEFT",yt.CENTER="CENTER",yt}({}),Ke=function(ze){return Math.floor(ze)+.5},ye=function(ze){return{x:Ke(ze.x),y:Ke(ze.y)}},ne=function(ze){var nt={x:ze.x,y:ze.y},Et={x:ze.x+ze.width,y:ze.y+ze.height},lt=ye(nt),Gt=ye(Et);return{x:lt.x,y:lt.y,width:Gt.x-lt.x,height:Gt.y-lt.y}},H=function(ze){return[{type:rt.TOP_LEFT,position:{x:ze.x,y:ze.y}},{type:rt.TOP,position:{x:ze.x+.5*ze.width,y:ze.y}},{type:rt.TOP_RIGHT,position:{x:ze.x+ze.width,y:ze.y}},{type:rt.LEFT,position:{x:ze.x,y:ze.y+.5*ze.height}},{type:rt.RIGHT,position:{x:ze.x+ze.width,y:ze.y+.5*ze.height}},{type:rt.BOTTOM_LEFT,position:{x:ze.x,y:ze.y+ze.height}},{type:rt.BOTTOM,position:{x:ze.x+.5*ze.width,y:ze.y+ze.height}},{type:rt.BOTTOM_RIGHT,position:{x:ze.x+ze.width,y:ze.y+ze.height}}]},R=function(ze,nt){return s()({x:ze.x-.5*nt.width,y:ze.y-.5*nt.height},nt)},P=function(ze,nt){for(var Et=H(ze),lt=0;ltEt.elementW?Et.elementW:Et.elementX,Ot=Et.elementY<0?0:Et.elementY>Et.elementH?Et.elementH:Et.elementY,Ie={x:Rt,y:Ot};switch(lt){case rt.RIGHT:Ie.y=ze.y+ze.height;break;case rt.BOTTOM:Ie.x=ze.x+ze.width;break;case rt.LEFT:Ie.y=ze.y;break;case rt.TOP:Ie.x=ze.x;break}return D(Gt,Ie,{width:Et.elementW,height:Et.elementH})},ie=function(ze,nt,Et){var lt=ze.width,Gt=ze.height,Rt=nt.topLeftPoint,Ot=nt.mousePoint,Ie=Et.elementX-Ot.x,Se=Et.elementY-Ot.y,bt=Rt.x+Ie,Pt=Rt.y+Se;return{x:bt<0?0:bt+lt>Et.elementW?Et.elementW-lt:bt,y:Pt<0?0:Pt+Gt>Et.elementH?Et.elementH-Gt:Pt,width:lt,height:Gt}},me=function(ze,nt,Et){var lt=nt.mousePoint,Gt=Et.elementX,Rt=Et.elementY,Ot=Et.elementW,Ie=Et.elementH,Se=T(ze),bt=Se.minX,Pt=Se.minY,He=Se.maxX,qe=Se.maxY,Zt=Gt-lt.x,Ut=Rt-lt.y;Zt=Zt+He>Ot?Ot-He:Zt+bt<0?0:Zt,Ut=Ut+qe>Ie?Ie-qe:Ut+Pt<0?0:Ut;var qt=ze.map(function(ln){return{x:ln.x+Zt,y:ln.y+Ut}});return qt},je=function(ze){var nt=ze.elementX,Et=ze.elementY;return{x:nt<0?0:nt>ze.elementW?ze.elementW:nt,y:Et<0?0:Et>ze.elementH?ze.elementH:Et}},Ee=function(ze){return!(!(0,m.isNumber)(ze.x)||!(0,m.isNumber)(ze.y)||!(0,m.isNumber)(ze.width)||!(0,m.isNumber)(ze.height)||ze.x===0&&ze.y===0&&ze.width===0&&ze.height===0)},Me=function(ze){return ze.maskRle?M.gr.Mask:ze.alpha?M.gr.Matting:ze.keypoints?M.gr.Skeleton:ze.polygon?M.gr.Polygon:ze.point?M.gr.Point:ze.rect&&Ee(ze.rect)?M.gr.Rectangle:ze.polyline?M.gr.Polyline:M.gr.Custom},We=function(ze,nt,Et){var lt=ze.group.map(function(Gt){return Gt.reduce(function(Rt,Ot){var Ie=Ot.x,Se=Ot.y,bt=N([Ie,Se],nt,Et);return Rt.concat([bt.x,bt.y])},[])});return lt},re=function(ze,nt,Et){var lt=We(ze,nt,Et),Gt=lt.map(function(Rt){return Rt.join(",")}).join("/")||"";return Gt},se=function(ze,nt,Et){var lt={x:ze.x-nt.x,y:ze.y-nt.y},Gt={x:Et.x-nt.x,y:Et.y-nt.y},Rt=Gt.x*Gt.x+Gt.y*Gt.y,Ot=lt.x*Gt.x+lt.y*Gt.y,Ie=Ot/Rt;return Ie<0||isNaN(Ie)?Ie=0:Ie>1&&(Ie=1),{x:nt.x+Gt.x*Ie,y:nt.y+Gt.y*Ie}},J=function(ze,nt){return{x:(ze.x+nt.x)/2,y:(ze.y+nt.y)/2}},ce=function(ze){var nt=ze.x,Et=ze.y,lt=ze.width,Gt=ze.height,Rt={x:nt,y:Et},Ot={x:nt+lt,y:Et},Ie={x:nt,y:Et+Gt},Se={x:nt+lt,y:Et+Gt},bt={x:nt+lt/2,y:Et},Pt={x:nt+lt/2,y:Et+Gt},He={x:nt,y:Et+Gt/2},qe={x:nt+lt,y:Et+Gt/2},Zt={x:nt+lt/2,y:Et+Gt/2};return[Rt,Ot,Ie,Se,bt,Pt,He,qe,Zt]},xe=function(ze,nt){var Et=T(ze),lt=T(nt);if(lt.minX>=Et.maxX||lt.maxX<=Et.minX||lt.minY>=Et.maxY||lt.maxY<=Et.minY)return!1;var Gt=_createForOfIteratorHelper(ze),Rt;try{for(Gt.s();!(Rt=Gt.n()).done;){var Ot=Rt.value;if(!Ge(nt,Ot,EElementType.Polygon))return!1}}catch(Ie){Gt.e(Ie)}finally{Gt.f()}return!0},ue=function(ze){for(var nt=[],Et=0;Etlt&&(0,m.isEqual)((0,m.omitBy)(bt,m.isUndefined),(0,m.omitBy)(Se[lt],m.isUndefined))?qe=Ot:!He&&Ot.type===M.gr.Mask&&qe.maskRle&&Ot.labelId!==bt.labelId&&(qe.maskCanvasElement=(0,S.ei)(qe.maskRle,Gt,Ot.color)),s()(s()({},qe),{},{type:Ot.type,labelId:Ot.labelId,hidden:Ot.hidden,color:Ot.color,customStyles:Ot.customStyles,attributes:Ot.attributes,status:Ot.status,frameEmpty:He})})}),Rt},It=function(ze){var nt,Et;if(ze.activeObjectIndex>=0&&(nt=ze.objectList)!==null&&nt!==void 0&&nt[ze.activeObjectIndex]&&!((Et=ze.objectList)!==null&&Et!==void 0&&Et[ze.activeObjectIndex].frameEmpty)){var lt;ze.creatingObject=_objectSpread(_objectSpread({},ze.creatingObject),(lt=ze.objectList)===null||lt===void 0?void 0:lt[ze.activeObjectIndex]);return}ze.prompt={},ze.creatingObject=void 0},_t=function(ze,nt,Et){var lt=ze.x,Gt=ze.y,Rt=nt.width,Ot=nt.height,Ie=Et.elementW,Se=Et.elementH;if(lt>Ie||Gt>Se||lt+Rt<=0||Gt+Ot<=0)return{xmin:0,ymin:0,xmax:0,ymax:0};var bt={x:Math.max(0,lt),y:Math.max(0,Gt)},Pt={x:Math.min(lt+Rt,Ie),y:Math.min(Gt+Ot,Se)},He={x:ze.x,y:ze.y},qe=st(bt,He),Zt=qe.x,Ut=qe.y,qt=st(Pt,He),ln=qt.x,En=qt.y;return{xmin:Zt,ymin:Ut,xmax:ln,ymax:En}},wt=function(ze){for(var nt=ze.getContext("2d",{willReadFrequently:!0}),Et=nt.getImageData(0,0,ze.width,ze.height),lt=Et.data,Gt=Et.width,Rt=Et.height,Ot=Gt,Ie=Rt,Se=0,bt=0,Pt=0,He=0;He0){var Zt=He/4%Gt,Ut=Math.floor(He/4/Gt);Pt++,Ot=Math.min(Ot,Zt),Ie=Math.min(Ie,Ut),Se=Math.max(Se,Zt),bt=Math.max(bt,Ut)}}var qt={xmin:Ot,ymin:Ie,xmax:Se,ymax:bt};return{area:Pt,bbox:qt}},jt=function(ze){var nt,Et;if(!ze||ze.length<2||((nt=ze[0])===null||nt===void 0?void 0:nt.length)!==((Et=ze[1])===null||Et===void 0?void 0:Et.length))return[];for(var lt=c()(ze,2),Gt=lt[0],Rt=lt[1],Ot=[],Ie=0;Ie3&&arguments[3]!==void 0?arguments[3]:"#111111",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5?arguments[5]:void 0,O=Y.getContext("2d");O.save(),O.strokeStyle=X,O.lineWidth=W,O.lineCap="round",O.beginPath(),x&&O.setLineDash(x),O.moveTo(q.x,q.y),O.lineTo(le.x+1,le.y+1),O.stroke(),O.restore()}function h(Y,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#111111",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,W=arguments.length>4?arguments[4]:void 0,x=Y.getContext("2d");x.save(),x.strokeStyle=le,x.lineWidth=X,x.lineCap="round",x.lineJoin="round",W&&x.setLineDash(W),x.beginPath(),x.moveTo(q[0].x,q[0].y);for(var O=1,_=q.length;O<_;O++)x.lineTo(q[O].x,q[O].y);x.stroke(),x.restore()}var S=function(q,le){return{x:q.x+(le.x-q.x)/2,y:q.y+(le.y-q.y)/2}};function w(Y,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#111111",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:20,W=arguments.length>4?arguments[4]:void 0,x=Y.getContext("2d");x.save(),x.strokeStyle=le,x.lineWidth=X,x.lineCap="round",x.lineJoin="round",W&&x.setLineDash(W),x.beginPath();var O=q[0],_=q[1];x.moveTo(O.x,O.y);for(var U=1,A=q.length;U2&&arguments[2]!==void 0?arguments[2]:"#fff",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,W=arguments.length>4?arguments[4]:void 0,x=arguments.length>5?arguments[5]:void 0;if(Y){var O=Y.getContext("2d");O.save(),O.strokeStyle=le,O.lineWidth=X,O.beginPath(),W&&O.setLineDash(W),O.rect(q.x,q.y,q.width,q.height),O.stroke(),x&&(O.fillStyle=x,O.fill()),O.restore()}}function z(Y,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#fff";if(Y){var X=Y.getContext("2d");X.save(),X.fillStyle=le,X.beginPath(),X.rect(q.x,q.y,q.width,q.height),X.fill(),X.restore()}}function $(Y,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#000",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5,W=Y.getContext("2d");W.save(),W.fillStyle=le,W.globalAlpha=X,W.fillRect(0,0,Y.width,Y.height),W.globalCompositeOperation="destination-out",W.globalAlpha=1,W.fillRect(q.x,q.y,q.width,q.height),W.restore()}function N(Y){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0},le=arguments.length>2?arguments[2]:void 0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1;if(Y){var x=Y.getContext("2d");x.save(),x.strokeStyle=X,x.lineWidth=W,x.beginPath();var O=q.x,_=q.y;x.moveTo(le[0].x+O,le[0].y+_);for(var U=1;U1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0},le=arguments.length>2?arguments[2]:void 0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5?arguments[5]:void 0;if(Y){var O=Y.getContext("2d");O.save(),O.strokeStyle=X,O.lineWidth=W,x&&O.setLineDash(x),O.beginPath();var _=q.x,U=q.y;O.moveTo(le[0].x+_,le[0].y+U);for(var A=1;A2&&arguments[2]!==void 0?arguments[2]:"#fff",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5?arguments[5]:void 0;if(Y){var O=Y.getContext("2d");O.save(),O.fillStyle=le,O.strokeStyle=X,O.lineWidth=W,x&&O.setLineDash(x),O.beginPath(),O.moveTo(q[0].x,q[0].y);for(var _=1;_0&&O.stroke(),O.fill(),O.restore()}}function T(Y,q,le,X){var W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#ffffff",x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,O=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"center",_=Y.getContext("2d");_.save(),_.fillStyle=W,_.textAlign=O,_.textBaseline="top",_.font=(x?"bold ":"")+le+"px Arial",_.fillText(q,X.x,X.y),_.restore()}function j(Y,q,le){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#ffffff",W=arguments.length>4?arguments[4]:void 0,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#000",O=Y.getContext("2d");O.save();var _=o(0),U=o(360);O.lineWidth=W||0,O.strokeStyle=x,O.fillStyle=X,O.beginPath(),O.arc(q.x,q.y,le,_,U,!1),O.stroke(),O.fill(),O.restore()}function K(Y,q,le,X,W){var x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:20,O=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"#ffffff",_=Y.getContext("2d"),U=o(X),A=o(W);_.save(),_.strokeStyle=O,_.lineWidth=x,_.beginPath(),_.arc(q.x,q.y,le,U,A,!1),_.stroke(),_.restore()}function k(Y,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#fff",x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,O=arguments.length>6?arguments[6]:void 0,_=Y.getContext("2d");_.save(),_.fillStyle=X,_.strokeStyle=W,_.lineWidth=x,_.lineCap="round",_.lineJoin="round",O&&_.setLineDash(O),_.beginPath(),_.moveTo(q[0].x,q[0].y);for(var U=1;U0&&_.stroke(),_.fill()),_.restore()}function te(Y,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#111111",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:20,O=arguments.length>6?arguments[6]:void 0,_=Y.getContext("2d");_.save(),_.strokeStyle=X,_.lineWidth=x,_.lineCap="round",_.lineJoin="round",_.beginPath(),O&&_.setLineDash(O);var U=q[0],A=q[1];_.moveTo(U.x,U.y);for(var G=1,de=q.length;G0&&(_.globalCompositeOperation="destination-out",_.strokeStyle=X,_.stroke(),_.strokeStyle=(0,t.a7)(X,W),_.globalCompositeOperation="source-over",_.stroke()):(_.globalCompositeOperation="destination-out",_.stroke()),_.restore()}},28638:function(b,y,e){"use strict";e.d(y,{Z:function(){return re}});var a=e(39800),t=e(97375),o=e(2556),s=e(12562),n=e(88662),d=e(53357),l=e(58757),c=e(60698),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},g=m,M=e(17202),h=function(J,ce){return l.createElement(M.Z,(0,c.Z)({},J,{ref:ce,icon:g}))},S=l.forwardRef(h),w=e(59504),C=e(35667),z=function(J){var ce=J.categories,xe=J.filterCategoryName,ue=J.onSelectFilter,Ne=J.onClearFilter;return(0,C.jsxs)("div",{className:"dds-quicklabel-image-filter",children:[(0,C.jsx)("div",{children:(0,d._w)("quicklabel.imageFilter")}),(0,C.jsx)(w.Z,{style:{width:150},showSearch:!0,placeholder:(0,d._w)("quicklabel.allCategories"),size:"middle",value:xe,onChange:ue,popupClassName:"filter-options-popup",onClick:function(we){return we.stopPropagation()},onKeyUp:function(we){return we.stopPropagation()},onInputKeyDown:function(we){we.code!=="Enter"&&we.stopPropagation()},dropdownRender:function(we){return(0,C.jsxs)(C.Fragment,{children:[we,(0,C.jsx)(s.ZP,{type:"text",icon:(0,C.jsx)(S,{}),onClick:Ne,children:(0,d._w)("quicklabel.clearFilter")})]})},children:ce==null?void 0:ce.map(function(Oe){return(0,C.jsx)(w.Z.Option,{value:Oe.name,children:Oe.name},Oe.name)})})]})},$=z,N=e(88205),L=e.n(N),B=e(18695),D=function(J){var ce=J.images,xe=J.selected,ue=J.onImageSelected,Ne=(0,l.useState)(0),Oe=L()(Ne,2),we=Oe[0],Re=Oe[1],st=120,tt=(0,l.useCallback)(function(){var ke=document.getElementById("image-options-container");if(ke){var Be=ke.offsetHeight||0;Re(Be-56)}},[]);(0,l.useEffect)(function(){return tt(),window.addEventListener("resize",tt),function(){window.removeEventListener("resize",tt)}},[tt]);var Ye=function(Be){Be<0||Be>=ce.length||ue(Be)};return(0,C.jsx)("div",{id:"image-options-container",className:"dds-quicklabel-options-list",children:(0,C.jsx)(B.Z,{className:"dds-quicklabel-options-list-virtual",data:ce,height:we,fullHeight:!0,itemHeight:st,itemKey:"id",children:function(Be,it){var Ve=it===xe?"dds-quicklabel-options-list-image-selected":"";return(0,C.jsx)("div",{children:(0,C.jsx)("img",{className:"dds-quicklabel-options-list-image ".concat(Ve),src:Be.url,onClick:function(){return Ye(it)}},Be.id)})}})})},T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},j=T,K=function(J,ce){return l.createElement(M.Z,(0,c.Z)({},J,{ref:ce,icon:j}))},k=l.forwardRef(K),te=e(62109),Y=e(15618),q=e(51830),le=e(24454),X=e.n(le),W=e(34485),x=e.n(W),O=e(88479),_=e.n(O),U=e(56592),A=e.n(U),G=e(84045),de=e(79233),he=e(23671),ge=e(68716),be=e(8851),Te=function(se,J){J===void 0&&(J={});var ce=(0,he.Z)(J),xe=(0,l.useRef)();(0,be.Z)(function(){var ue=(0,ge.n)(se);if(ue!=null&&ue.addEventListener){var Ne=function(Ye,ke){var Be=Ye.getData("text/uri-list"),it=Ye.getData("custom");if(it&&ce.current.onDom){var Ve=it;try{Ve=JSON.parse(it)}catch(It){Ve=it}ce.current.onDom(Ve,ke);return}if(Be&&ce.current.onUri){ce.current.onUri(Be,ke);return}if(Ye.files&&Ye.files.length&&ce.current.onFiles){ce.current.onFiles(Array.from(Ye.files),ke);return}Ye.items&&Ye.items.length&&ce.current.onText&&Ye.items[0].getAsString(function(It){ce.current.onText(It,ke)})},Oe=function(Ye){var ke,Be;Ye.preventDefault(),Ye.stopPropagation(),xe.current=Ye.target,(Be=(ke=ce.current).onDragEnter)===null||Be===void 0||Be.call(ke,Ye)},we=function(Ye){var ke,Be;Ye.preventDefault(),(Be=(ke=ce.current).onDragOver)===null||Be===void 0||Be.call(ke,Ye)},Re=function(Ye){var ke,Be;Ye.target===xe.current&&((Be=(ke=ce.current).onDragLeave)===null||Be===void 0||Be.call(ke,Ye))},st=function(Ye){var ke,Be;Ye.preventDefault(),Ne(Ye.dataTransfer,Ye),(Be=(ke=ce.current).onDrop)===null||Be===void 0||Be.call(ke,Ye)},tt=function(Ye){var ke,Be;Ne(Ye.clipboardData,Ye),(Be=(ke=ce.current).onPaste)===null||Be===void 0||Be.call(ke,Ye)};return ue.addEventListener("dragenter",Oe),ue.addEventListener("dragover",we),ue.addEventListener("dragleave",Re),ue.addEventListener("drop",st),ue.addEventListener("paste",tt),function(){ue.removeEventListener("dragenter",Oe),ue.removeEventListener("dragover",we),ue.removeEventListener("dragleave",Re),ue.removeEventListener("drop",st),ue.removeEventListener("paste",tt)}}},[],se)},Ge=Te,Je=e(39378),Qe=Object.defineProperty,pt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Ht=(se,J,ce)=>J in se?Qe(se,J,{enumerable:!0,configurable:!0,writable:!0,value:ce}):se[J]=ce,Ze=(se,J)=>{for(var ce in J||(J={}))Ct.call(J,ce)&&Ht(se,ce,J[ce]);if(pt)for(var ce of pt(J))ft.call(J,ce)&&Ht(se,ce,J[ce]);return se};const Xe=se=>l.createElement("svg",Ze({viewBox:"0 0 91 75",fill:"none",xmlns:"http://www.w3.org/2000/svg"},se),l.createElement("path",{d:"M60.633.007C49.453-.22 37.923 6.255 34.76 20.864c-12.874-4.444-24.497 4.32-23.29 18.315C4.735 41.932 0 48.587 0 56.409 0 66.709 8.199 75 18.383 75h22.33c-.005-6.26-.018-18.818-.018-21.197l-5.237 1.919c-3.8 1.656-6.605-3.183-3.352-6.195l9.909-9.739c2.263-2.288 4.966-2.026 6.97 0l9.909 9.739c3.253 3.012.447 7.85-3.352 6.195l-5.237-1.92V75h22.312C82.801 75 91 66.708 91 56.41c0-7.58-4.45-14.06-10.855-16.96C92.558 14.977 76.972.336 60.633.006Z",fill:"#B9CEFF"}),l.createElement("path",{d:"M60.633.004c-.623-.013-1.306.009-1.93.037-14.278 22.757 7.788 39.403 21.442 39.403C92.558 14.974 76.972.334 60.633.004Z",fill:"#739EFF"}));var rt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgOTEgNzUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwLjYzMy4wMDdDNDkuNDUzLS4yMiAzNy45MjMgNi4yNTUgMzQuNzYgMjAuODY0Yy0xMi44NzQtNC40NDQtMjQuNDk3IDQuMzItMjMuMjkgMTguMzE1QzQuNzM1IDQxLjkzMiAwIDQ4LjU4NyAwIDU2LjQwOSAwIDY2LjcwOSA4LjE5OSA3NSAxOC4zODMgNzVoMjIuMzNjLS4wMDUtNi4yNi0uMDE4LTE4LjgxOC0uMDE4LTIxLjE5N2wtNS4yMzcgMS45MTljLTMuOCAxLjY1Ni02LjYwNS0zLjE4My0zLjM1Mi02LjE5NWw5LjkwOS05LjczOWMyLjI2My0yLjI4OCA0Ljk2Ni0yLjAyNiA2Ljk3IDBsOS45MDkgOS43MzljMy4yNTMgMy4wMTIuNDQ3IDcuODUtMy4zNTIgNi4xOTVsLTUuMjM3LTEuOTJWNzVoMjIuMzEyQzgyLjgwMSA3NSA5MSA2Ni43MDggOTEgNTYuNDFjMC03LjU4LTQuNDUtMTQuMDYtMTAuODU1LTE2Ljk2QzkyLjU1OCAxNC45NzcgNzYuOTcyLjMzNiA2MC42MzMuMDA2WiIgZmlsbD0iI0I5Q0VGRiIvPjxwYXRoIGQ9Ik02MC42MzMuMDA0Yy0uNjIzLS4wMTMtMS4zMDYuMDA5LTEuOTMuMDM3LTE0LjI3OCAyMi43NTcgNy43ODggMzkuNDAzIDIxLjQ0MiAzOS40MDNDOTIuNTU4IDE0Ljk3NCA3Ni45NzIuMzM0IDYwLjYzMy4wMDRaIiBmaWxsPSIjNzM5RUZGIi8+PC9zdmc+",Ke=e(45060),ye=e(23605),ne=e(95073),H=e(87608),R=e.n(H),P=function(J){var ce=J.files,xe=J.fileType,ue=J.onRemoveFile,Ne=(0,l.useRef)(null),Oe=(0,ne.Z)(Ne),we=Oe!=null&&Oe.width&&Oe.width>800?8:5,Re=(0,l.useMemo)(function(){return(0,Je.chunk)(ce,we).map(function(wt,jt){return{index:jt,rowImages:wt}})},[ce,we]),st=8,tt=18,Ye=.75,ke=.95,Be=30,it=(0,l.useMemo)(function(){return Oe!=null&&Oe.width?((Oe==null?void 0:Oe.width)-tt*2-(we-1)*st)/we:0},[Oe==null?void 0:Oe.width,we,st]),Ve=(0,l.useMemo)(function(){return it*ke},[it,ke]),It=(0,l.useMemo)(function(){return Ve*Ye},[Ve,Ye]),_t=(0,l.useMemo)(function(){return It+Be+16},[It,Be]);return(0,C.jsx)("div",{ref:Ne,className:"dds-upload-list",children:(0,C.jsx)(B.Z,{className:"virtual-list",data:Re,height:(Oe==null?void 0:Oe.height)||0,fullHeight:!0,itemHeight:_t,itemKey:"index",children:function(jt,Yt){return(0,C.jsx)("div",{className:"row-container",style:{gap:st,padding:"".concat(st,"px ").concat(tt,"px")},children:jt.rowImages.map(function(yt,ze){return(0,C.jsxs)("div",{className:R()("preview-container",{"preview-container-success":yt.status==="success","preview-container-error":yt.status==="error"}),style:{width:it},children:[xe==="video"?(0,C.jsx)("video",{className:"file-preview",src:yt.url,style:{width:Ve,height:It}}):(0,C.jsx)("img",{className:"file-preview",src:yt.url,style:{width:Ve,height:It}}),(0,C.jsx)("div",{className:"remove-button",children:(0,C.jsx)(s.ZP,{icon:(0,C.jsx)(ye.Z,{}),shape:"circle",danger:!0,onClick:function(Et){Et.stopPropagation(),ue(Yt*we+ze)}})}),(0,C.jsx)("div",{className:"file-name",children:yt.name})]},yt.name)})},Yt)}})})},ae=P,Q=function(J){var ce=J.fileList,xe=J.setFileList,ue=J.acceptTypes,Ne=J.maxCount,Oe=J.maxSize,we=J.maxDuratuion,Re=J.limitRemoveFile,st=J.fileType,tt=(0,d.bU)(),Ye=tt.localeText,ke=(0,l.useState)(!1),Be=L()(ke,2),it=Be[0],Ve=Be[1],It=(0,l.useState)(!1),_t=L()(It,2),wt=_t[0],jt=_t[1],Yt=(0,l.useRef)(!1),yt=(0,l.useRef)(null),ze=ue?ue.join(", "):void 0,nt=function(){var Rt=A()(X()().mark(function Ot(Ie){var Se,bt,Pt,He,qe;return X()().wrap(function(Ut){for(;;)switch(Ut.prev=Ut.next){case 0:Ve(!0),Se=[],bt=_()(Ie),Ut.prev=3,He=X()().mark(function qt(){var ln,En,mn,Yn;return X()().wrap(function(ir){for(;;)switch(ir.prev=ir.next){case 0:if(ln=Pt.value,En=0,mn=0,Yn=0,!(Oe&&ln.size&&ln.size/1024/1024>Oe)){ir.next=4;break}return ir.abrupt("return","continue");case 4:if(!(Ne&&Se.length+ce.length>Ne-1)){ir.next=6;break}return ir.abrupt("return","continue");case 6:if(!ce.find(function(mr){return mr.name===ln.name})){ir.next=8;break}return ir.abrupt("return","continue");case 8:Se.push({id:ln.name,name:ln.name,url:URL.createObjectURL(ln),originFileObj:ln,frameCount:En,frameRate:mn,duration:Yn});case 9:case"end":return ir.stop()}},qt)}),bt.s();case 6:if((Pt=bt.n()).done){Ut.next=13;break}return Ut.delegateYield(He(),"t0",8);case 8:if(qe=Ut.t0,qe!=="continue"){Ut.next=11;break}return Ut.abrupt("continue",11);case 11:Ut.next=6;break;case 13:Ut.next=18;break;case 15:Ut.prev=15,Ut.t1=Ut.catch(3),bt.e(Ut.t1);case 18:return Ut.prev=18,bt.f(),Ut.finish(18);case 21:Ve(!1),Se.length>0&&(xe([].concat(Se,x()(ce))),G.ZP.success(Ye("dds-upload.tip.successLoad",{count:Se.length})));case 23:case"end":return Ut.stop()}},Ot,null,[[3,15,18,21]])}));return function(Ie){return Rt.apply(this,arguments)}}(),Et=(0,l.useCallback)(function(Rt){if(!(Re&&Re(Rt))){var Ot=(0,Je.cloneDeep)(ce);Ot.splice(Rt,1),xe(Ot)}},[ce]),lt=function(Ot){Yt.current=!1;var Ie=Ot.target.files?x()(Ot.target.files):[];Ie.length>0&&nt(Ie),jt(!1),Ot.target.value=""},Gt=(0,l.useCallback)(function(){var Rt;if(Ne&&ce.length>=Ne){G.ZP.warning(Ye("dds-upload.tip.fileCountLimitMsg",{count:Ne}));return}jt(!0),(Rt=yt.current)===null||Rt===void 0||Rt.click(),Yt.current=!0,window.addEventListener("focus",function(){setTimeout(function(){Yt.current&&jt(!1)},100)},{once:!0})},[ce,Ne]);return Ge(window.document.body,{onFiles:function(){var Rt=A()(X()().mark(function Ie(Se,bt){var Pt;return X()().wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!(Ne&&ce.length>=Ne)){qe.next=3;break}return G.ZP.warning(Ye("dds-upload.tip.fileCountLimitMsg",{count:Ne})),qe.abrupt("return");case 3:return qe.next=5,(0,Ke._q)(bt==null?void 0:bt.dataTransfer,ue);case 5:Pt=qe.sent,nt(Pt);case 7:case"end":return qe.stop()}},Ie)}));function Ot(Ie,Se){return Rt.apply(this,arguments)}return Ot}(),onDragEnter:function(){jt(!0)},onDrop:function(){jt(!1)},onDragLeave:function(){jt(!1)}}),(0,C.jsxs)("div",{className:"dds-upload",children:[(0,C.jsx)("input",{ref:yt,type:"file",accept:ze,multiple:!0,onChange:lt}),ce.length<=0?(0,C.jsxs)("div",{className:R()("dds-upload-empty",{"dds-upload-draging":wt}),onClick:Gt,children:[(0,C.jsx)(Xe,{}),(0,C.jsx)("p",{className:"dds-upload-title",children:Ye("dds-upload.title")}),(0,C.jsx)("p",{className:"dds-upload-text",children:Ye(st==="video"?"dds-upload.limit.type.video":"dds-upload.limit.type.image")})]}):(0,C.jsxs)("div",{className:R()("dds-upload-content",{"dds-upload-draging":wt}),children:[(0,C.jsxs)("div",{className:"dds-upload-topbar",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"dds-upload-title",children:Ye("dds-upload.title")}),(0,C.jsx)("div",{className:"dds-upload-text",children:Ye(st==="video"?"dds-upload.limit.type.video":"dds-upload.limit.type.image")})]}),(0,C.jsx)(s.ZP,{type:"primary",onClick:Gt,children:Ye("dds-upload.upload")})]}),(0,C.jsxs)("div",{className:"dds-upload-content-list",children:[Ne&&(0,C.jsxs)("div",{className:"dds-upload-content-list-count",children:[ce.length," / ",Ne]}),(0,C.jsx)(ae,{files:ce,onRemoveFile:Et,fileType:st})]})]}),it&&(0,C.jsx)(de.Z,{size:"large",className:"dds-upload-loading",spinning:it,delay:500})]})},ie=Q,me=1e3,je=10,Ee=function(J){var ce=J.open,xe=J.isInit,ue=J.fileList,Ne=J.setFileList,Oe=J.onClickOk,we=J.onClickCancel,Re=J.limitRemoveFile,st=J.okText,tt=J.limitClose,Ye=J.uploadPreAnnot,ke=J.onChangePreAnnotFile,Be=J.onRemovePreAnnotFile;return(0,C.jsx)("div",{onMouseDown:function(Ve){return Ve.stopPropagation()},onMouseUp:function(Ve){return Ve.stopPropagation()},children:(0,C.jsxs)(te.Z,{title:(0,d._w)("quicklabel.title"),width:675,open:ce,onOk:Oe,onCancel:we,okText:st,okButtonProps:{disabled:ue.length===0},cancelButtonProps:{hidden:tt},closable:!tt,destroyOnClose:!0,children:[(0,C.jsx)(Y.Z,{message:(0,d._w)("quicklabel.formModal.attn"),description:(0,d._w)("quicklabel.formModal.tip"),type:"info",showIcon:!0}),(0,C.jsx)("div",{className:"dds-quicklabel-subtitle",children:(0,d._w)("quicklabel.formModal.importImages")}),(0,C.jsx)("div",{className:"dds-quicklabel-upload",children:(0,C.jsx)(ie,{fileList:ue,setFileList:Ne,fileType:"image",acceptTypes:["image/png","image/jpeg","image/jpg"],limitRemoveFile:Re,maxCount:me,maxSize:je})}),(0,C.jsx)(Y.Z,{className:"dds-quicklabel-upload-tip",message:(0,d._w)("quicklabel.formModal.imageTips",{count:me,size:je}),type:"info",showIcon:!0}),xe&&(0,C.jsx)(q.Tn,{uploadFiles:Ye,onChangeFile:ke,onRemoveFile:Be,children:(0,C.jsx)(s.ZP,{icon:(0,C.jsx)(k,{}),className:"dds-quicklabel-upload-preannot-btn",children:(0,d._w)("quicklabel.formModal.importPreAnnots")})})]})})},Me=Ee,We=function(J){var ce=J.images,xe=J.filterImages,ue=J.current,Ne=J.categories,Oe=J.qsModalVisible,we=J.uploadFiles,Re=J.uploadPreAnnot,st=J.filterCategoryName,tt=J.setImages,Ye=J.setCurrent,ke=J.setCategories,Be=J.setQsModalVisible,it=J.setUploadFiles,Ve=J.limitRemoveFile,It=J.onCancelUploadFiles,_t=J.onConfirmUploadFiles,wt=J.exportAnnotations,jt=J.onChangePreAnnotFile,Yt=J.onRemovePreAnnotFile,yt=J.onSelectFilterCategory,ze=J.onClearFilterCategory;(0,l.useEffect)(function(){ce.length<=0&&Be(!0)},[]),(0,o.Z)("uparrow",function(){Ye(Math.max(0,ue-1))},{exactMatch:!0}),(0,o.Z)("downarrow",function(){Ye(Math.min(ue+1,ce.length-1))},{exactMatch:!0});var nt=function(lt,Gt){if(xe[ue]){var Rt=xe[ue].originalIndex;tt(function(Ot){Ot[Rt]&&(Ot[Rt].objects=lt,Ot[Rt].width=Gt.width,Ot[Rt].height=Gt.height)})}};return(0,C.jsxs)("div",{className:"dds-quicklabel",children:[(0,C.jsxs)("div",{className:"dds-quicklabel-list",onMouseDown:function(lt){lt.stopPropagation()},onMouseUp:function(lt){lt.stopPropagation()},children:[(0,C.jsx)(s.ZP,{type:"primary",icon:(0,C.jsx)(a.Z,{}),onClick:function(){Be(!0)},children:(0,d._w)("quicklabel.setting")}),(0,C.jsx)(D,{images:xe,selected:ue,onImageSelected:function(lt){Ye(lt)}})]}),(0,C.jsx)("div",{className:"dds-quicklabel-workspace",children:(0,C.jsx)(n.kl,{isOldMode:!0,isSeperate:!0,visible:!0,mode:n.je.Edit,categories:Ne,setCategories:ke,list:xe,current:ue,titleElements:[(0,C.jsx)($,{categories:Ne,filterCategoryName:st,onSelectFilter:yt,onClearFilter:ze},"image-filters")],actionElements:[(0,C.jsx)(s.ZP,{type:"primary",onClick:wt,children:(0,d._w)("quicklabel.export")},"export")],onAutoSave:nt,onCancel:function(){return t.history.push("/")}})}),(0,C.jsx)(Me,{open:Oe,isInit:ce.length===0,fileList:we,setFileList:it,limitRemoveFile:Ve,okText:(0,d._w)("quicklabel.formModal.confirm"),onClickCancel:It,onClickOk:_t,limitClose:ce.length<=0,uploadPreAnnot:Re,onChangePreAnnotFile:jt,onRemovePreAnnotFile:Yt})]})},re=We},51830:function(b,y,e){"use strict";e.d(y,{ii:function(){return Qe},ZJ:function(){return rt},mn:function(){return n},fL:function(){return h},Qs:function(){return Ct},xA:function(){return z},Tn:function(){return se}});var a=e(79233),t=e(58757),o=e(35667),s=function(ce){var xe=ce.children,ue=ce.active,Ne=ce.tip;return(0,o.jsx)(a.Z,{size:"large",spinning:ue,delay:500,style:{maxHeight:"none",opacity:.3},tip:Ne,children:xe})},n=s,d=e(88205),l=e.n(d),c=e(74820),m=e(12562),g=function(J){return J.en="en-US",J.zh="zh-CN",J}({}),M=function(ce){var xe=ce.getLocale,ue=ce.setLocale,Ne=ce.tooltipPlacement,Oe=Ne===void 0?"right":Ne,we=ce.theme,Re=we===void 0?"light":we,st=ce.className,tt=xe(),Ye=function(){var _t=tt===g.zh?g.en:g.zh;ue(_t)},ke=(0,t.useMemo)(function(){return tt===g.zh?["change-lang change-lang-".concat(Re),"cur-lang cur-lang-".concat(Re)]:["cur-lang cur-lang-".concat(Re),"change-lang change-lang-".concat(Re)]},[Re,tt]),Be=l()(ke,2),it=Be[0],Ve=Be[1];return(0,o.jsx)(c.Z,{placement:Oe,title:tt===g.zh?"\u4E2D\u6587 / English":"English / \u4E2D\u6587",children:(0,o.jsx)(m.ZP,{type:"text",className:"dds-lang-selector ".concat(st),onClick:Ye,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:Ve,children:"\u4E2D"}),(0,o.jsx)("span",{className:it,children:"En"})]})})})},h=M,S=e(62109),w=e(12632),C=function(ce){var xe=ce.error,ue=ce.componentStack,Ne=ce.resetError,Oe=function(){S.Z.error({title:xe.toString(),content:(0,o.jsx)("div",{style:{height:"60vh",overflowY:"scroll"},children:(0,o.jsx)("p",{children:ue})}),onOk:function(){},maskClosable:!0,width:"80vw"})};return(0,o.jsx)("div",{style:{position:"relative",height:"calc(100vh - 64px)",width:"100%",backgroundColor:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.jsx)(w.ZP,{status:"500",title:"Running Error",subTitle:"Sorry, something went wrong.",extra:[(0,o.jsx)(m.ZP,{type:"primary",onClick:Ne,children:"Click here to reset"},"bt1"),(0,o.jsx)(m.ZP,{onClick:Oe,children:"Error Detail"},"bt2")]})})},z=C,$=e(73267),N=e(94706),L=Object.defineProperty,B=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,j=(J,ce,xe)=>ce in J?L(J,ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[ce]=xe,K=(J,ce)=>{for(var xe in ce||(ce={}))D.call(ce,xe)&&j(J,xe,ce[xe]);if(B)for(var xe of B(ce))T.call(ce,xe)&&j(J,xe,ce[xe]);return J};const k=J=>t.createElement("svg",K({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4.4c0-.22.18-.4.4-.4h1.2c.22 0 .4.18.4.4V6h3.6c.22 0 .4.18.4.4v1.2a.4.4 0 0 1-.4.4H18v1.6a.4.4 0 0 1-.4.4h-1.2a.4.4 0 0 1-.4-.4V4.4ZM2.4 6a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 0 0 .4-.4V6.4a.4.4 0 0 0-.4-.4H2.4Zm8 10a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 0 0 .4-.4v-1.2a.4.4 0 0 0-.4-.4H10.4Zm-8 0a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4H6v1.6c0 .22.18.4.4.4h1.2a.4.4 0 0 0 .4-.4v-5.2a.4.4 0 0 0-.4-.4H6.4a.4.4 0 0 0-.4.4V16H2.4Z",fill:"#434343"}));var te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNiA0LjRjMC0uMjIuMTgtLjQuNC0uNGgxLjJjLjIyIDAgLjQuMTguNC40VjZoMy42Yy4yMiAwIC40LjE4LjQuNHYxLjJhLjQuNCAwIDAgMS0uNC40SDE4djEuNmEuNC40IDAgMCAxLS40LjRoLTEuMmEuNC40IDAgMCAxLS40LS40VjQuNFpNMi40IDZhLjQuNCAwIDAgMC0uNC40djEuMmMwIC4yMi4xOC40LjQuNGgxMS4yYS40LjQgMCAwIDAgLjQtLjRWNi40YS40LjQgMCAwIDAtLjQtLjRIMi40Wm04IDEwYS40LjQgMCAwIDAtLjQuNHYxLjJjMCAuMjIuMTguNC40LjRoMTEuMmEuNC40IDAgMCAwIC40LS40di0xLjJhLjQuNCAwIDAgMC0uNC0uNEgxMC40Wm0tOCAwYS40LjQgMCAwIDAtLjQuNHYxLjJjMCAuMjIuMTguNC40LjRINnYxLjZjMCAuMjIuMTguNC40LjRoMS4yYS40LjQgMCAwIDAgLjQtLjR2LTUuMmEuNC40IDAgMCAwLS40LS40SDYuNGEuNC40IDAgMCAwLS40LjRWMTZIMi40WiIgZmlsbD0iIzQzNDM0MyIvPjwvc3ZnPg==",Y=Object.defineProperty,q=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,W=(J,ce,xe)=>ce in J?Y(J,ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[ce]=xe,x=(J,ce)=>{for(var xe in ce||(ce={}))le.call(ce,xe)&&W(J,xe,ce[xe]);if(q)for(var xe of q(ce))X.call(ce,xe)&&W(J,xe,ce[xe]);return J};const O=J=>t.createElement("svg",x({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("path",{d:"M8.536 1.572H7.464c-.095 0-.143.048-.143.143v5.607h-5.32c-.096 0-.144.048-.144.143v1.072c0 .095.048.142.143.142h5.321v5.608c0 .095.048.142.143.142h1.072c.095 0 .142-.047.142-.142V8.679H14c.095 0 .143-.047.143-.142V7.465c0-.095-.048-.143-.143-.143H8.678V1.715c0-.095-.047-.143-.142-.143Z",fill:"#595959"}));var _="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTguNTM2IDEuNTcySDcuNDY0Yy0uMDk1IDAtLjE0My4wNDgtLjE0My4xNDN2NS42MDdoLTUuMzJjLS4wOTYgMC0uMTQ0LjA0OC0uMTQ0LjE0M3YxLjA3MmMwIC4wOTUuMDQ4LjE0Mi4xNDMuMTQyaDUuMzIxdjUuNjA4YzAgLjA5NS4wNDguMTQyLjE0My4xNDJoMS4wNzJjLjA5NSAwIC4xNDItLjA0Ny4xNDItLjE0MlY4LjY3OUgxNGMuMDk1IDAgLjE0My0uMDQ3LjE0My0uMTQyVjcuNDY1YzAtLjA5NS0uMDQ4LS4xNDMtLjE0My0uMTQzSDguNjc4VjEuNzE1YzAtLjA5NS0uMDQ3LS4xNDMtLjE0Mi0uMTQzWiIgZmlsbD0iIzU5NTk1OSIvPjwvc3ZnPg==",U=Object.defineProperty,A=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,he=(J,ce,xe)=>ce in J?U(J,ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[ce]=xe,ge=(J,ce)=>{for(var xe in ce||(ce={}))G.call(ce,xe)&&he(J,xe,ce[xe]);if(A)for(var xe of A(ce))de.call(ce,xe)&&he(J,xe,ce[xe]);return J};const be=J=>t.createElement("svg",ge({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("path",{d:"M14.429 7.322H1.572a.143.143 0 0 0-.143.143v1.072c0 .078.064.142.143.142h12.857a.143.143 0 0 0 .143-.142V7.465a.143.143 0 0 0-.143-.143Z",fill:"#595959"}));var Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjQyOSA3LjMyMkgxLjU3MmEuMTQzLjE0MyAwIDAgMC0uMTQzLjE0M3YxLjA3MmMwIC4wNzguMDY0LjE0Mi4xNDMuMTQyaDEyLjg1N2EuMTQzLjE0MyAwIDAgMCAuMTQzLS4xNDJWNy40NjVhLjE0My4xNDMgMCAwIDAtLjE0My0uMTQzWiIgZmlsbD0iIzU5NTk1OSIvPjwvc3ZnPg==",Ge=e(53357),Je=function(ce){var xe=(0,Ge.bU)(),ue=xe.localeText,Ne=ce.cloumnCount,Oe=ce.maxCloumnCount,we=Oe===void 0?8:Oe,Re=ce.onColumnCountChange,st=ce.getPopupContainer;return(0,o.jsx)($.Z,{getPopupContainer:st,dropdownRender:function(){return(0,o.jsxs)("div",{className:"dds-column-settings-panel",children:[(0,o.jsx)("div",{className:"item-title",children:ue("ColumnSettings.title")}),(0,o.jsxs)("div",{className:"item-content",children:[(0,o.jsx)(N.Z,{min:1,max:we,onChange:function(ke){return Re(ke)},value:Ne,className:"slider"}),(0,o.jsxs)("div",{className:"num-box",children:[(0,o.jsx)(be,{onClick:function(){return Re(!1)}}),(0,o.jsx)("div",{className:"num",children:Ne}),(0,o.jsx)(O,{onClick:function(){return Re(!0)}})]})]})]})},children:(0,o.jsx)("div",{className:"dds-column-settings-btn",children:(0,o.jsx)(k,{})})})},Qe=Je,pt=function(){return(0,o.jsx)("div",{style:{height:"100vh",width:"100%",backgroundColor:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.jsx)(w.ZP,{status:"404",title:(0,Ge._w)("MobileAlert.title"),subTitle:(0,Ge._w)("MobileAlert.subTitle")})})},Ct=pt,ft=e(35910),Ht=e(32423),Ze=e(39378),Xe=function(ce){var xe=ce.current,ue=ce.size,Ne=ce.total,Oe=ce.onPageChange,we=ce.onPageSizeChange,Re=(0,t.useState)(ue),st=l()(Re,2),tt=st[0],Ye=st[1],ke=(0,Ge.bU)(),Be=ke.localeText;return(0,o.jsxs)("div",{className:"dds-dynamic-pagination",children:[(0,o.jsx)(ft.Z,{current:xe,pageSize:ue,total:Ne,showSizeChanger:!1,showQuickJumper:!0,onChange:function(Ve){return Oe(Ve)}}),(0,o.jsxs)("div",{className:"pagesize-wrap",children:[(0,o.jsx)("div",{className:"pagesize-label",children:Be("DynamicPagination.label")}),(0,o.jsx)(Ht.Z,{min:1,value:tt,onChange:function(Ve){Ye(Number(Ve))},onBlur:function(Ve){(0,Ze.isNaN)(Number(Ve.target.value))||Number(Ve.target.value)<=0?we(xe,1):we(xe,Number(Ve.target.value))},onPressEnter:function(Ve){Ve.target.blur(Ve)}})]})]})},rt=Xe,Ke=e(28638),ye=e(88662),ne=e(39875),H=e(23241),R=e(18624),P=Object.defineProperty,ae=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,me=(J,ce,xe)=>ce in J?P(J,ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[ce]=xe,je=(J,ce)=>{for(var xe in ce||(ce={}))Q.call(ce,xe)&&me(J,xe,ce[xe]);if(ae)for(var xe of ae(ce))ie.call(ce,xe)&&me(J,xe,ce[xe]);return J};const Ee=J=>t.createElement("svg",je({viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("g",{clipPath:"url(#upload_file_svg__a)"},t.createElement("path",{d:"m46.55 12.917-8.132-8.131A16.227 16.227 0 0 0 26.868.002H16.333C9.9 0 4.667 5.234 4.667 11.667v32.666C4.667 50.766 9.9 56 16.333 56h23.334c6.433 0 11.666-5.234 11.666-11.667V24.465c0-4.363-1.698-8.46-4.783-11.548Zm-3.3 3.3c.743.742 1.37 1.565 1.879 2.45H35a2.337 2.337 0 0 1-2.333-2.334V6.204c.884.509 1.71 1.137 2.45 1.879l8.131 8.131.003.003Zm3.417 28.116c0 3.86-3.141 7-7 7H16.333c-3.859 0-7-3.14-7-7V11.667c0-3.86 3.141-7 7-7h10.535c.38 0 .759.018 1.132.053v11.613c0 3.86 3.14 7 7 7h11.613c.035.374.054.752.054 1.132v19.868ZM36.65 33.79a2.33 2.33 0 0 1 0 3.3 2.327 2.327 0 0 1-1.65.683 2.327 2.327 0 0 1-1.65-.684l-3.017-3.017v10.262a2.334 2.334 0 0 1-4.666 0V34.071l-3.017 3.017a2.33 2.33 0 0 1-3.3 0 2.33 2.33 0 0 1 0-3.299l3.766-3.766c2.693-2.693 7.075-2.693 9.77 0l3.766 3.766h-.002Z",fill:"#739EFF"})),t.createElement("defs",null,t.createElement("clipPath",{id:"upload_file_svg__a"},t.createElement("path",{fill:"#fff",d:"M0 0h56v56H0z"}))));var Me="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTYgNTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJtNDYuNTUgMTIuOTE3LTguMTMyLTguMTMxQTE2LjIyNyAxNi4yMjcgMCAwIDAgMjYuODY4LjAwMkgxNi4zMzNDOS45IDAgNC42NjcgNS4yMzQgNC42NjcgMTEuNjY3djMyLjY2NkM0LjY2NyA1MC43NjYgOS45IDU2IDE2LjMzMyA1NmgyMy4zMzRjNi40MzMgMCAxMS42NjYtNS4yMzQgMTEuNjY2LTExLjY2N1YyNC40NjVjMC00LjM2My0xLjY5OC04LjQ2LTQuNzgzLTExLjU0OFptLTMuMyAzLjNjLjc0My43NDIgMS4zNyAxLjU2NSAxLjg3OSAyLjQ1SDM1YTIuMzM3IDIuMzM3IDAgMCAxLTIuMzMzLTIuMzM0VjYuMjA0Yy44ODQuNTA5IDEuNzEgMS4xMzcgMi40NSAxLjg3OWw4LjEzMSA4LjEzMS4wMDMuMDAzWm0zLjQxNyAyOC4xMTZjMCAzLjg2LTMuMTQxIDctNyA3SDE2LjMzM2MtMy44NTkgMC03LTMuMTQtNy03VjExLjY2N2MwLTMuODYgMy4xNDEtNyA3LTdoMTAuNTM1Yy4zOCAwIC43NTkuMDE4IDEuMTMyLjA1M3YxMS42MTNjMCAzLjg2IDMuMTQgNyA3IDdoMTEuNjEzYy4wMzUuMzc0LjA1NC43NTIuMDU0IDEuMTMydjE5Ljg2OFpNMzYuNjUgMzMuNzlhMi4zMyAyLjMzIDAgMCAxIDAgMy4zIDIuMzI3IDIuMzI3IDAgMCAxLTEuNjUuNjgzIDIuMzI3IDIuMzI3IDAgMCAxLTEuNjUtLjY4NGwtMy4wMTctMy4wMTd2MTAuMjYyYTIuMzM0IDIuMzM0IDAgMCAxLTQuNjY2IDBWMzQuMDcxbC0zLjAxNyAzLjAxN2EyLjMzIDIuMzMgMCAwIDEtMy4zIDAgMi4zMyAyLjMzIDAgMCAxIDAtMy4yOTlsMy43NjYtMy43NjZjMi42OTMtMi42OTMgNy4wNzUtMi42OTMgOS43NyAwbDMuNzY2IDMuNzY2aC0uMDAyWiIgZmlsbD0iIzczOUVGRiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoNTZ2NTZIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",We=20,re=function(ce){var xe=ce.uploadFiles,ue=ce.onChangeFile,Ne=ce.onRemoveFile,Oe=ce.children,we=(0,Ge.bU)(),Re=we.localeText;return(0,o.jsx)(H.Z,{className:"dds-upload-pre-anno",maxCount:1,beforeUpload:function(){return!1},fileList:xe,onChange:ue,onRemove:Ne,accept:".json",showUploadList:!0,children:Oe||(0,o.jsx)(R.Z,{children:(0,o.jsx)(R.Z.Meta,{avatar:(0,o.jsx)(ne.Z,{component:Ee}),title:Re("dds-upload-pre-anno"),description:Re("dds-upload-pre-anno.tip",{maxSize:We})})})})},se=re},28506:function(b,y,e){"use strict";e.d(y,{_:function(){return C},w:function(){return z}});var a=e(63900),t=e.n(a),o=e(88205),s=e.n(o),n=e(58757),d=e(86429),l=e(51129),c=e(74324),m=e(66682);const g=m,M={parseNumbers:!1,parseBooleans:!1},h={skipNull:!1,skipEmptyString:!1};var w=($,N)=>{var L,B;const{navigateMode:D="push",parseOptions:T,stringifyOptions:j}=N||{},K=Object.assign(Object.assign({},M),T),k=Object.assign(Object.assign({},h),j),te=g.useLocation(),Y=(L=g.useHistory)===null||L===void 0?void 0:L.call(g),q=(B=g.useNavigate)===null||B===void 0?void 0:B.call(g),le=(0,d.Z)(),X=(0,n.useRef)(typeof $=="function"?$():$||{}),W=(0,n.useMemo)(()=>(0,c.parse)(te.search,K),[te.search]),x=(0,n.useMemo)(()=>Object.assign(Object.assign({},X.current),W),[W]),O=_=>{const U=typeof _=="function"?_(x):_;le(),Y&&Y[D]({hash:te.hash,search:(0,c.stringify)(Object.assign(Object.assign({},W),U),k)||"?"},te.state),q&&q({hash:te.hash,search:(0,c.stringify)(Object.assign(Object.assign({},W),U),k)||"?"},{replace:D==="replace",state:te.state})};return[x,(0,l.Z)(O)]};function C($){var N=$.pageState,L=$.onInitPageState,B=$.onPageDidMount,D=$.onPageWillUnmount,T=w({},{navigateMode:"replace"}),j=s()(T,2),K=j[0],k=j[1];(0,n.useEffect)(function(){if(L){var te={};try{te=K.pageState?JSON.parse(K.pageState):{}}catch(Y){console.error("get urlPageState error: ",Y)}L(te,K)}return B&&B(K),function(){D&&D()}},[]),(0,n.useEffect)(function(){k(t()(t()({},K),{},{pageState:JSON.stringify(N)}))},[N])}function z(){var $=(0,n.useState)(window.innerWidth),N=s()($,2),L=N[0],B=N[1],D=(0,n.useState)(window.innerHeight),T=s()(D,2),j=T[0],K=T[1],k=function(){B(window.innerWidth),K(window.innerHeight)};return(0,n.useEffect)(function(){return window.addEventListener("resize",k),function(){window.removeEventListener("resize",k)}},[]),{width:L,height:j}}},41260:function(b,y,e){"use strict";e.d(y,{O:function(){return t},p:function(){return a}});var a=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Math.floor(s*Math.pow(10,n))/Math.pow(10,n)},t=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number(s.toFixed(n))}},45060:function(b,y,e){"use strict";e.d(y,{Gf:function(){return m},XV:function(){return c},_q:function(){return S},pz:function(){return C}});var a=e(88479),t=e.n(a),o=e(24454),s=e.n(o),n=e(56592),d=e.n(n),l=e(41260);function c($,N,L){var B=new Date($),D=B.getFullYear(),T=(0,l.p)(B.getMonth()+1),j=(0,l.p)(B.getDate()),K=(0,l.p)(B.getHours()),k=(0,l.p)(B.getMinutes()),te=(0,l.p)(B.getSeconds()),Y=(0,l.p)(B.getMilliseconds(),3),q="".concat(D,"_").concat(T,"_").concat(j,"_").concat(K,"_").concat(k,"_").concat(te,"_").concat(Y);return N&&(q="".concat(N,"_").concat(q)),L&&(q="".concat(q,".").concat(L)),q}function m($,N){var L=JSON.stringify($),B=new Blob([L],{type:"application/json"}),D=URL.createObjectURL(B),T=document.createElement("a");T.href=D,T.download=N,document.body.appendChild(T),T.click(),document.body.removeChild(T),URL.revokeObjectURL(D)}var g=function(N){return new Promise(function(L,B){var D=new Image;D.src=N,D.onload=function(){L(D)},D.onerror=function(){B(D)}})};function M($,N,L){return h.apply(this,arguments)}function h(){return h=d()(s()().mark(function $(N,L,B){return s()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.abrupt("return",new Promise(function(j,K){if(N.isDirectory){var k=N.createReader();k.readEntries(function(){var te=d()(s()().mark(function Y(q){var le;return s()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:le=0;case 1:if(!(le0)){le.next=25;break}K=t()(N.items),le.prev=7,K.s();case 9:if((k=K.n()).done){le.next=17;break}if(te=k.value,Y=te.webkitGetAsEntry(),!(Y!=null&&Y.isDirectory)){le.next=15;break}return le.next=15,M(Y,B,L);case 15:le.next=9;break;case 17:le.next=22;break;case 19:le.prev=19,le.t0=le.catch(7),K.e(le.t0);case 22:return le.prev=22,K.f(),le.finish(22);case 25:return le.abrupt("return",B);case 26:case"end":return le.stop()}},$,null,[[7,19,22,25]])})),w.apply(this,arguments)}function C($){return z.apply(this,arguments)}function z(){return z=d()(s()().mark(function $(N){return s()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.abrupt("return",new Promise(function(D,T){var j=new Image;j.src=N,j.onload=function(){var K=j.width,k=j.height;D({width:K,height:k})},j.onerror=function(){T(new Error("Load Image Error"))}}));case 1:case"end":return B.stop()}},$)})),z.apply(this,arguments)}},53357:function(b,y,e){"use strict";e.d(y,{Og:function(){return o},_w:function(){return t},bU:function(){return s}});var a=e(97375),t=function(d){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,a.formatMessage)({id:d},l)},o=a.FormattedMessage,s=function(){var d=(0,a.useIntl)(),l=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d.formatMessage({id:m},g)};return{localeText:l}}},23707:function(b,y,e){"use strict";e.d(y,{BQ:function(){return t},Oe:function(){return o},yS:function(){return s}});var a=e(97375),t=function(d){var l=new RegExp("(^|&)"+d+"=([^&]*)(&|$)","i"),c=window.location.search.substr(1).match(l);return c!==null?decodeURIComponent(c[2]):null},o=function(){var d=window.location.pathname.split("/");return d[d.length-1]},s=function(d){document.referrer.includes(d)?window.history.back():a.history.push(d)}},74324:function(b,y,e){"use strict";var a=e(88205).default,t=e(88479).default,o=e(16962).default,s=e(34485).default,n=e(75978),d=e(65140),l=e(96896),c=e(22475),m=function(T){return T==null};function g(D){switch(D.arrayFormat){case"index":return function(T){return function(j,K){var k=j.length;return K===void 0||D.skipNull&&K===null||D.skipEmptyString&&K===""?j:K===null?[].concat(s(j),[[S(T,D),"[",k,"]"].join("")]):[].concat(s(j),[[S(T,D),"[",S(k,D),"]=",S(K,D)].join("")])}};case"bracket":return function(T){return function(j,K){return K===void 0||D.skipNull&&K===null||D.skipEmptyString&&K===""?j:K===null?[].concat(s(j),[[S(T,D),"[]"].join("")]):[].concat(s(j),[[S(T,D),"[]=",S(K,D)].join("")])}};case"comma":case"separator":return function(T){return function(j,K){return K==null||K.length===0?j:j.length===0?[[S(T,D),"=",S(K,D)].join("")]:[[j,S(K,D)].join(D.arrayFormatSeparator)]}};default:return function(T){return function(j,K){return K===void 0||D.skipNull&&K===null||D.skipEmptyString&&K===""?j:K===null?[].concat(s(j),[S(T,D)]):[].concat(s(j),[[S(T,D),"=",S(K,D)].join("")])}}}}function M(D){var T;switch(D.arrayFormat){case"index":return function(j,K,k){if(T=/\[(\d*)\]$/.exec(j),j=j.replace(/\[\d*\]$/,""),!T){k[j]=K;return}k[j]===void 0&&(k[j]={}),k[j][T[1]]=K};case"bracket":return function(j,K,k){if(T=/(\[\])$/.exec(j),j=j.replace(/\[\]$/,""),!T){k[j]=K;return}if(k[j]===void 0){k[j]=[K];return}k[j]=[].concat(k[j],K)};case"comma":case"separator":return function(j,K,k){var te=typeof K=="string"&&K.includes(D.arrayFormatSeparator),Y=typeof K=="string"&&!te&&w(K,D).includes(D.arrayFormatSeparator);K=Y?w(K,D):K;var q=te||Y?K.split(D.arrayFormatSeparator).map(function(le){return w(le,D)}):K===null?K:w(K,D);k[j]=q};default:return function(j,K,k){if(k[j]===void 0){k[j]=K;return}k[j]=[].concat(k[j],K)}}}function h(D){if(typeof D!="string"||D.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function S(D,T){return T.encode?T.strict?n(D):encodeURIComponent(D):D}function w(D,T){return T.decode?d(D):D}function C(D){return Array.isArray(D)?D.sort():o(D)==="object"?C(Object.keys(D)).sort(function(T,j){return Number(T)-Number(j)}).map(function(T){return D[T]}):D}function z(D){var T=D.indexOf("#");return T!==-1&&(D=D.slice(0,T)),D}function $(D){var T="",j=D.indexOf("#");return j!==-1&&(T=D.slice(j)),T}function N(D){D=z(D);var T=D.indexOf("?");return T===-1?"":D.slice(T+1)}function L(D,T){return T.parseNumbers&&!Number.isNaN(Number(D))&&typeof D=="string"&&D.trim()!==""?D=Number(D):T.parseBooleans&&D!==null&&(D.toLowerCase()==="true"||D.toLowerCase()==="false")&&(D=D.toLowerCase()==="true"),D}function B(D,T){T=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},T),h(T.arrayFormatSeparator);var j=M(T),K=Object.create(null);if(typeof D!="string"||(D=D.trim().replace(/^[?#&]/,""),!D))return K;var k=t(D.split("&")),te;try{for(k.s();!(te=k.n()).done;){var Y=te.value;if(Y!==""){var q=l(T.decode?Y.replace(/\+/g," "):Y,"="),le=a(q,2),X=le[0],W=le[1];W=W===void 0?null:["comma","separator"].includes(T.arrayFormat)?W:w(W,T),j(w(X,T),W,K)}}}catch(he){k.e(he)}finally{k.f()}for(var x=0,O=Object.keys(K);x0}).join("&")},y.parseUrl=function(D,T){T=Object.assign({decode:!0},T);var j=l(D,"#"),K=a(j,2),k=K[0],te=K[1];return Object.assign({url:k.split("?")[0]||"",query:B(N(D),T)},T&&T.parseFragmentIdentifier&&te?{fragmentIdentifier:w(te,T)}:{})},y.stringifyUrl=function(D,T){T=Object.assign({encode:!0,strict:!0},T);var j=z(D.url).split("?")[0]||"",K=y.extract(D.url),k=y.parse(K,{sort:!1}),te=Object.assign(k,D.query),Y=y.stringify(te,T);Y&&(Y="?".concat(Y));var q=$(D.url);return D.fragmentIdentifier&&(q="#".concat(S(D.fragmentIdentifier,T))),"".concat(j).concat(Y).concat(q)},y.pick=function(D,T,j){j=Object.assign({parseFragmentIdentifier:!0},j);var K=y.parseUrl(D,j),k=K.url,te=K.query,Y=K.fragmentIdentifier;return y.stringifyUrl({url:k,query:c(te,T),fragmentIdentifier:Y},j)},y.exclude=function(D,T,j){var K=Array.isArray(T)?function(k){return!T.includes(k)}:function(k,te){return!T(k,te)};return y.pick(D,K,j)}},96896:function(b){"use strict";b.exports=function(y,e){if(!(typeof y=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[y];var a=y.indexOf(e);return a===-1?[y]:[y.slice(0,a),y.slice(a+e.length)]}},75978:function(b){"use strict";b.exports=function(y){return encodeURIComponent(y).replace(/[!'()*]/g,function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())})}},60581:function(b,y,e){"use strict";e.d(y,{Il:function(){return o},Ov:function(){return s}});var a=e(58757),t=null,o=a.createContext({});function s(){return a.useContext(o)}function n(){var m=useLocation(),g=s(),M=g.clientRoutes,h=matchRoutes(M,m.pathname);return h||[]}function d(){var m,g=n().slice(-1),M=((m=g[0])===null||m===void 0?void 0:m.route)||{},h=M.element,S=_objectWithoutProperties(M,t);return S}function l(){var m=useRouteData(),g=s();return{data:g.serverLoaderData[m.route.id]}}function c(){var m=useRouteData(),g=s();return{data:g.clientLoaderData[m.route.id]}}},21325:function(b,y,e){"use strict";var a=e(23671),t=e(68716),o=e(8851);function s(n,d,l){l===void 0&&(l={});var c=(0,a.Z)(d);(0,o.Z)(function(){var m=(0,t.n)(l.target,window);if(m!=null&&m.addEventListener){var g=function(M){return c.current(M)};return m.addEventListener(n,g,{capture:l.capture,once:l.once,passive:l.passive}),function(){m.removeEventListener(n,g,{capture:l.capture})}}},[n,l.capture,l.once,l.passive],l.target)}y.Z=s},2556:function(b,y,e){"use strict";e.d(y,{Z:function(){return D}});var a=e(43112),t=e(23671),o=e(53807),s=e(68716),n=e(58757),d=e(8851),l=e(85466),c=e.n(l),m=function(T,j){return T===void 0&&(T=[]),j===void 0&&(j=[]),c()(T,j)},g=function(T,j,K){var k=(0,n.useRef)(),te=(0,n.useRef)(0);m(j,k.current)||(k.current=j,te.current+=1),(0,d.Z)(T,[te.current],K)},M=g,h=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?navigator==null?void 0:navigator.platform:""),S=h,w={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,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,leftwindowkey:91,rightwindowkey:92,meta:S?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide: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,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},C={ctrl:function(T){return T.ctrlKey},shift:function(T){return T.shiftKey},alt:function(T){return T.altKey},meta:function(T){return T.type==="keyup"?w.meta.includes(T.keyCode):T.metaKey}};function z(T){var j=Object.keys(C).reduce(function(K,k){return C[k](T)?K+1:K},0);return[16,17,18,91,92].includes(T.keyCode)?j:j+1}function $(T,j,K){var k,te;if(!T.key)return!1;if((0,o.hj)(j))return T.keyCode===j;var Y=j.split("."),q=0;try{for(var le=(0,a.XA)(Y),X=le.next();!X.done;X=le.next()){var W=X.value,x=C[W],O=w[W.toLowerCase()];(x&&x(T)||O&&O===T.keyCode)&&q++}}catch(_){k={error:_}}finally{try{X&&!X.done&&(te=le.return)&&te.call(le)}finally{if(k)throw k.error}}return K?q===Y.length&&z(T)===Y.length:q===Y.length}function N(T,j){return(0,o.mf)(T)?T:(0,o.HD)(T)||(0,o.hj)(T)?function(K){return $(K,T,j)}:Array.isArray(T)?function(K){return T.some(function(k){return $(K,k,j)})}:function(){return!!T}}var L=["keydown"];function B(T,j,K){var k=K||{},te=k.events,Y=te===void 0?L:te,q=k.target,le=k.exactMatch,X=le===void 0?!1:le,W=k.useCapture,x=W===void 0?!1:W,O=(0,t.Z)(j),_=(0,t.Z)(T);M(function(){var U,A,G,de=(0,s.n)(q,window);if(de){var he=function(Ge){var Je,Qe=N(_.current,X);if(Qe(Ge))return(Je=O.current)===null||Je===void 0?void 0:Je.call(O,Ge)};try{for(var ge=(0,a.XA)(Y),be=ge.next();!be.done;be=ge.next()){var Te=be.value;(G=de==null?void 0:de.addEventListener)===null||G===void 0||G.call(de,Te,he,x)}}catch(Ge){U={error:Ge}}finally{try{be&&!be.done&&(A=ge.return)&&A.call(ge)}finally{if(U)throw U.error}}return function(){var Ge,Je,Qe;try{for(var pt=(0,a.XA)(Y),Ct=pt.next();!Ct.done;Ct=pt.next()){var ft=Ct.value;(Qe=de==null?void 0:de.removeEventListener)===null||Qe===void 0||Qe.call(de,ft,he,x)}}catch(Ht){Ge={error:Ht}}finally{try{Ct&&!Ct.done&&(Je=pt.return)&&Je.call(pt)}finally{if(Ge)throw Ge.error}}}}},[Y],q)}var D=B},23671:function(b,y,e){"use strict";var a=e(58757);function t(o){var s=(0,a.useRef)(o);return s.current=o,s}y.Z=t},51129:function(b,y,e){"use strict";var a=e(58757),t=e(53807),o=e(8182);function s(n){o.Z&&((0,t.mf)(n)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof n)));var d=(0,a.useRef)(n);d.current=(0,a.useMemo)(function(){return n},[n]);var l=(0,a.useRef)();return l.current||(l.current=function(){for(var c=[],m=0;m-1&&(J=setTimeout(function(){M.delete(Me)},We)),M.set(Me,(0,a.pi)((0,a.pi)({},re),{timer:J}))},S=function(Me){return M.get(Me)},w=function(Me){if(Me){var We=Array.isArray(Me)?Me:[Me];We.forEach(function(re){return M.delete(re)})}else M.clear()},C=new Map,z=function(Me){return C.get(Me)},$=function(Me,We){C.set(Me,We),We.then(function(re){return C.delete(Me),re}).catch(function(){C.delete(Me)})},N={},L=function(Me,We){N[Me]&&N[Me].forEach(function(re){return re(We)})},B=function(Me,We){return N[Me]||(N[Me]=[]),N[Me].push(We),function(){var se=N[Me].indexOf(We);N[Me].splice(se,1)}},D=function(Me,We){var re=We.cacheKey,se=We.cacheTime,J=se===void 0?5*60*1e3:se,ce=We.staleTime,xe=ce===void 0?0:ce,ue=We.setCache,Ne=We.getCache,Oe=(0,t.useRef)(),we=(0,t.useRef)(),Re=function(tt,Ye){ue?ue(Ye):h(tt,J,Ye),L(tt,Ye.data)},st=function(tt,Ye){return Ye===void 0&&(Ye=[]),Ne?Ne(Ye):S(tt)};return m(function(){if(re){var tt=st(re);tt&&Object.hasOwnProperty.call(tt,"data")&&(Me.state.data=tt.data,Me.state.params=tt.params,(xe===-1||new Date().getTime()-tt.time<=xe)&&(Me.state.loading=!1)),Oe.current=B(re,function(Ye){Me.setState({data:Ye})})}},[]),(0,g.Z)(function(){var tt;(tt=Oe.current)===null||tt===void 0||tt.call(Oe)}),re?{onBefore:function(tt){var Ye=st(re,tt);return!Ye||!Object.hasOwnProperty.call(Ye,"data")?{}:xe===-1||new Date().getTime()-Ye.time<=xe?{loading:!1,data:Ye==null?void 0:Ye.data,error:void 0,returnNow:!0}:{data:Ye==null?void 0:Ye.data,error:void 0}},onRequest:function(tt,Ye){var ke=z(re);return ke&&ke!==we.current?{servicePromise:ke}:(ke=tt.apply(void 0,(0,a.ev)([],(0,a.CR)(Ye),!1)),we.current=ke,$(re,ke),{servicePromise:ke})},onSuccess:function(tt,Ye){var ke;re&&((ke=Oe.current)===null||ke===void 0||ke.call(Oe),Re(re,{data:tt,params:Ye,time:new Date().getTime()}),Oe.current=B(re,function(Be){Me.setState({data:Be})}))},onMutate:function(tt){var Ye;re&&((Ye=Oe.current)===null||Ye===void 0||Ye.call(Oe),Re(re,{data:tt,params:Me.state.params,time:new Date().getTime()}),Oe.current=B(re,function(ke){Me.setState({data:ke})}))}}:{}},T=D,j=e(77837),K=e.n(j),k=function(Me,We){var re=We.debounceWait,se=We.debounceLeading,J=We.debounceTrailing,ce=We.debounceMaxWait,xe=(0,t.useRef)(),ue=(0,t.useMemo)(function(){var Ne={};return se!==void 0&&(Ne.leading=se),J!==void 0&&(Ne.trailing=J),ce!==void 0&&(Ne.maxWait=ce),Ne},[se,J,ce]);return(0,t.useEffect)(function(){if(re){var Ne=Me.runAsync.bind(Me);return xe.current=K()(function(Oe){Oe()},re,ue),Me.runAsync=function(){for(var Oe=[],we=0;we-1&&he.splice(re,1)}}if(le.Z){var be=function(){if(!(!X()||!de()))for(var Me=0;Me{const{type:c,children:m,prefixCls:g,buttonProps:M,close:h,autoFocus:S,emitEvent:w,isSilent:C,quitOnNullishReturnValue:z,actionFn:$}=l,N=t.useRef(!1),L=t.useRef(null),[B,D]=(0,a.Z)(!1),T=function(){h==null||h.apply(void 0,arguments)};t.useEffect(()=>{let k=null;return S&&(k=setTimeout(()=>{var te;(te=L.current)===null||te===void 0||te.focus()})),()=>{k&&clearTimeout(k)}},[]);const j=k=>{n(k)&&(D(!0),k.then(function(){D(!1,!0),T.apply(void 0,arguments),N.current=!1},te=>{if(D(!1,!0),N.current=!1,!(C!=null&&C()))return Promise.reject(te)}))},K=k=>{if(N.current)return;if(N.current=!0,!$){T();return}let te;if(w){if(te=$(k),z&&!n(te)){N.current=!1,T(k);return}}else if($.length)te=$(h),N.current=!1;else if(te=$(),!te){T();return}j(te)};return t.createElement(o.ZP,Object.assign({},(0,s.n)(c),{onClick:K,loading:B,prefixCls:g},M,{ref:L}),m)};y.Z=d},15018:function(b,y,e){"use strict";e.d(y,{Z:function(){return d},i:function(){return n}});var a=e(60409),t=e(58757),o=e(42505),s=e(61836);function n(l){return function(m){return t.createElement(o.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(l,Object.assign({},m)))}}function d(l,c,m,g){function M(h){const{prefixCls:S,style:w}=h,C=t.useRef(null),[z,$]=t.useState(0),[N,L]=t.useState(0),[B,D]=(0,a.Z)(!1,{value:h.open}),{getPrefixCls:T}=t.useContext(s.E_),j=T(c||"select",S);t.useEffect(()=>{if(D(!0),typeof ResizeObserver!="undefined"){const k=new ResizeObserver(Y=>{const q=Y[0].target;$(q.offsetHeight+8),L(q.offsetWidth)}),te=setInterval(()=>{var Y;const q=m?`.${m(j)}`:`.${j}-dropdown`,le=(Y=C.current)===null||Y===void 0?void 0:Y.querySelector(q);le&&(clearInterval(te),k.observe(le))},10);return()=>{clearInterval(te),k.disconnect()}}},[]);let K=Object.assign(Object.assign({},h),{style:Object.assign(Object.assign({},w),{margin:0}),open:B,visible:B,getPopupContainer:()=>C.current});return g&&(K=g(K)),t.createElement("div",{ref:C,style:{paddingBottom:z,position:"relative",minWidth:N}},t.createElement(l,Object.assign({},K)))}return n(M)}},1878:function(b,y,e){"use strict";e.d(y,{o2:function(){return n},yT:function(){return d}});var a=e(29140),t=e(34966);const o=t.i.map(l=>`${l}-inverse`),s=["success","processing","error","default","warning"];function n(l){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,a.Z)(o),(0,a.Z)(t.i)).includes(l):t.i.includes(l)}function d(l){return s.includes(l)}},44818:function(b,y){"use strict";function e(){const a=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const n=o[s];n!==void 0&&(a[s]=n)})}return a}y.Z=e},99836:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});const a=t=>t?typeof t=="function"?t():t:null},88858:function(b,y,e){"use strict";e.d(y,{Z:function(){return s}});var a=e(52495),t=e(58757);function o(n,d,l){return typeof n=="boolean"?n:d===void 0?!!l:d!==!1&&d!==null}function s(n,d,l){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t.createElement(a.Z,null),m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!o(n,d,m))return[!1,null];const M=typeof d=="boolean"||d===void 0||d===null?c:d;return[!0,l?l(M):M]}},69387:function(b,y,e){"use strict";var a=e(58757),t=e(32792);y.Z=()=>{const[o,s]=a.useState(!1);return a.useEffect(()=>{s((0,t.fk)())},[]),o}},4459:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(){const[,o]=a.useReducer(s=>s+1,0);return o}},90881:function(b,y,e){"use strict";e.d(y,{m:function(){return l}});const a=()=>({height:0,opacity:0}),t=c=>{const{scrollHeight:m}=c;return{height:m,opacity:1}},o=c=>({height:c?c.offsetHeight:0}),s=(c,m)=>(m==null?void 0:m.deadline)===!0||m.propertyName==="height",n=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:a,onEnterStart:a,onAppearActive:t,onEnterActive:t,onLeaveStart:o,onLeaveActive:a,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}},d=null,l=(c,m,g)=>g!==void 0?g:`${c}-${m}`;y.Z=n},95446:function(b,y,e){"use strict";e.d(y,{Z:function(){return d}});var a=e(24542);function t(l,c,m,g){if(g===!1)return{adjustX:!1,adjustY:!1};const M=g&&typeof g=="object"?g:{},h={};switch(l){case"top":case"bottom":h.shiftX=c.dropdownArrowOffset*2+m;break;case"left":case"right":h.shiftY=c.dropdownArrowOffsetVertical*2+m;break}const S=Object.assign(Object.assign({},h),M);return S.shiftX||(S.adjustX=!0),S.shiftY||(S.adjustY=!0),S}const o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},s={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},n=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function d(l){const{arrowWidth:c,autoAdjustOverflow:m,arrowPointAtCenter:g,offset:M,borderRadius:h,visibleFirst:S}=l,w=c/2,C={};return Object.keys(o).forEach(z=>{const $=g&&s[z]||o[z],N=Object.assign(Object.assign({},$),{offset:[0,0]});switch(C[z]=N,n.has(z)&&(N.autoArrow=!1),z){case"top":case"topLeft":case"topRight":N.offset[1]=-w-M;break;case"bottom":case"bottomLeft":case"bottomRight":N.offset[1]=w+M;break;case"left":case"leftTop":case"leftBottom":N.offset[0]=-w-M;break;case"right":case"rightTop":case"rightBottom":N.offset[0]=w+M;break}const L=(0,a.fS)({contentRadius:h,limitVerticalRadius:!0});if(g)switch(z){case"topLeft":case"bottomLeft":N.offset[0]=-L.dropdownArrowOffset-w;break;case"topRight":case"bottomRight":N.offset[0]=L.dropdownArrowOffset+w;break;case"leftTop":case"rightTop":N.offset[1]=-L.dropdownArrowOffset-w;break;case"leftBottom":case"rightBottom":N.offset[1]=L.dropdownArrowOffset+w;break}N.overflow=t(z,L,c,m),S&&(N.htmlRegion="visibleFirst")}),C}},37047:function(b,y,e){"use strict";var a;e.d(y,{M2:function(){return s},Tm:function(){return d},l$:function(){return o},wm:function(){return n}});var t=e(58757);const{isValidElement:o}=a||(a=e.t(t,2));function s(l){return l&&o(l)&&l.type===t.Fragment}function n(l,c,m){return o(l)?t.cloneElement(l,typeof m=="function"?m(l.props||{}):m):c}function d(l,c){return n(l,l,c)}},87078:function(b,y,e){"use strict";e.d(y,{Z:function(){return d},c:function(){return o}});var a=e(58757),t=e(51806);const o=["xxl","xl","lg","md","sm","xs"],s=l=>({xs:`(max-width: ${l.screenXSMax}px)`,sm:`(min-width: ${l.screenSM}px)`,md:`(min-width: ${l.screenMD}px)`,lg:`(min-width: ${l.screenLG}px)`,xl:`(min-width: ${l.screenXL}px)`,xxl:`(min-width: ${l.screenXXL}px)`}),n=l=>{const c=l,m=[].concat(o).reverse();return m.forEach((g,M)=>{const h=g.toUpperCase(),S=`screen${h}Min`,w=`screen${h}`;if(!(c[S]<=c[w]))throw new Error(`${S}<=${w} fails : !(${c[S]}<=${c[w]})`);if(M{const m=new Map;let g=-1,M={};return{matchHandlers:{},dispatch(h){return M=h,m.forEach(S=>S(M)),m.size>=1},subscribe(h){return m.size||this.register(),g+=1,m.set(g,h),h(M),g},unsubscribe(h){m.delete(h),m.size||this.unregister()},unregister(){Object.keys(c).forEach(h=>{const S=c[h],w=this.matchHandlers[S];w==null||w.mql.removeListener(w==null?void 0:w.listener)}),m.clear()},register(){Object.keys(c).forEach(h=>{const S=c[h],w=z=>{let{matches:$}=z;this.dispatch(Object.assign(Object.assign({},M),{[h]:$}))},C=window.matchMedia(S);C.addListener(w),this.matchHandlers[S]={mql:C,listener:w},w(C)})},responsiveMap:c}},[l])}},41496:function(b,y,e){"use strict";e.d(y,{F:function(){return n},Z:function(){return s}});var a=e(87608),t=e.n(a);const o=null;function s(d,l,c){return t()({[`${d}-status-success`]:l==="success",[`${d}-status-warning`]:l==="warning",[`${d}-status-error`]:l==="error",[`${d}-status-validating`]:l==="validating",[`${d}-has-feedback`]:c})}const n=(d,l)=>l||d},32792:function(b,y,e){"use strict";e.d(y,{fk:function(){return s},jD:function(){return t}});var a=e(19075);const t=()=>(0,a.Z)()&&window.document.documentElement;let o;const s=()=>{if(!t())return!1;if(o!==void 0)return o;const n=document.createElement("div");n.style.display="flex",n.style.flexDirection="column",n.style.rowGap="1px",n.appendChild(document.createElement("div")),n.appendChild(document.createElement("div"));const d=document.createElement("div");return d.style.position="absolute",d.style.zIndex="-9999",d.appendChild(n),document.body.appendChild(d),o=n.scrollHeight===1,document.body.removeChild(d),o}},37486:function(b,y,e){"use strict";e.d(y,{Z:function(){return te}});var a=e(87608),t=e.n(a),o=e(21319),s=e(46499),n=e(58757),d=e(61836),l=e(37047),c=e(52628);const m=Y=>{const{componentCls:q,colorPrimary:le}=Y;return{[q]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${le})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${Y.motionEaseOutCirc}`,`opacity 2s ${Y.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${Y.motionEaseInOut}`,`opacity 0.35s ${Y.motionEaseInOut}`].join(",")}}}}};var g=(0,c.Z)("Wave",Y=>[m(Y)]),M=e(51729),h=e(61834),S=e(17598),w=e(52323);function C(Y){const q=(Y||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return q&&q[1]&&q[2]&&q[3]?!(q[1]===q[2]&&q[2]===q[3]):!0}function z(Y){return Y&&Y!=="#fff"&&Y!=="#ffffff"&&Y!=="rgb(255, 255, 255)"&&Y!=="rgba(255, 255, 255, 1)"&&C(Y)&&!/rgba\((?:\d*, ){3}0\)/.test(Y)&&Y!=="transparent"}function $(Y){const{borderTopColor:q,borderColor:le,backgroundColor:X}=getComputedStyle(Y);return z(q)?q:z(le)?le:z(X)?X:null}var N=e(78856);function L(Y){return Number.isNaN(Y)?0:Y}const B=Y=>{const{className:q,target:le,component:X}=Y,W=n.useRef(null),[x,O]=n.useState(null),[_,U]=n.useState([]),[A,G]=n.useState(0),[de,he]=n.useState(0),[ge,be]=n.useState(0),[Te,Ge]=n.useState(0),[Je,Qe]=n.useState(!1),pt={left:A,top:de,width:ge,height:Te,borderRadius:_.map(Ht=>`${Ht}px`).join(" ")};x&&(pt["--wave-color"]=x);function Ct(){const Ht=getComputedStyle(le);O($(le));const Ze=Ht.position==="static",{borderLeftWidth:Xe,borderTopWidth:rt}=Ht;G(Ze?le.offsetLeft:L(-parseFloat(Xe))),he(Ze?le.offsetTop:L(-parseFloat(rt))),be(le.offsetWidth),Ge(le.offsetHeight);const{borderTopLeftRadius:Ke,borderTopRightRadius:ye,borderBottomLeftRadius:ne,borderBottomRightRadius:H}=Ht;U([Ke,ye,H,ne].map(R=>L(parseFloat(R))))}if(n.useEffect(()=>{if(le){const Ht=(0,h.Z)(()=>{Ct(),Qe(!0)});let Ze;return typeof ResizeObserver!="undefined"&&(Ze=new ResizeObserver(Ct),Ze.observe(le)),()=>{h.Z.cancel(Ht),Ze==null||Ze.disconnect()}}},[]),!Je)return null;const ft=(X==="Checkbox"||X==="Radio")&&(le==null?void 0:le.classList.contains(N.A));return n.createElement(S.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Ht,Ze)=>{var Xe;if(Ze.deadline||Ze.propertyName==="opacity"){const rt=(Xe=W.current)===null||Xe===void 0?void 0:Xe.parentElement;(0,w.v)(rt).then(()=>{rt==null||rt.remove()})}return!1}},Ht=>{let{className:Ze}=Ht;return n.createElement("div",{ref:W,className:t()(q,{"wave-quick":ft},Ze),style:pt})})};var T=(Y,q)=>{var le;const{component:X}=q;if(X==="Checkbox"&&!(!((le=Y.querySelector("input"))===null||le===void 0)&&le.checked))return;const W=document.createElement("div");W.style.position="absolute",W.style.left="0px",W.style.top="0px",Y==null||Y.insertBefore(W,Y==null?void 0:Y.firstChild),(0,w.s)(n.createElement(B,Object.assign({},q,{target:Y})),W)},j=e(51806);function K(Y,q,le){const{wave:X}=n.useContext(d.E_),[,W,x]=(0,j.Z)(),O=(0,M.Z)(A=>{const G=Y.current;if(X!=null&&X.disabled||!G)return;const de=G.querySelector(`.${N.A}`)||G,{showEffect:he}=X||{};(he||T)(de,{className:q,token:W,component:le,event:A,hashId:x})}),_=n.useRef();return A=>{h.Z.cancel(_.current),_.current=(0,h.Z)(()=>{O(A)})}}var te=Y=>{const{children:q,disabled:le,component:X}=Y,{getPrefixCls:W}=(0,n.useContext)(d.E_),x=(0,n.useRef)(null),O=W("wave"),[,_]=g(O),U=K(x,t()(O,_),X);if(n.useEffect(()=>{const G=x.current;if(!G||G.nodeType!==1||le)return;const de=he=>{!(0,s.Z)(he.target)||!G.getAttribute||G.getAttribute("disabled")||G.disabled||G.className.includes("disabled")||G.className.includes("-leave")||U(he)};return G.addEventListener("click",de,!0),()=>{G.removeEventListener("click",de,!0)}},[le]),!n.isValidElement(q))return q!=null?q:null;const A=(0,o.Yr)(q)?(0,o.sQ)(q.ref,x):x;return(0,l.Tm)(q,{ref:A})}},78856:function(b,y,e){"use strict";e.d(y,{A:function(){return a}});const a="ant-wave-target"},15618:function(b,y,e){"use strict";e.d(y,{Z:function(){return U}});var a=e(85678),t=e(79999),o=e(52495),s=e(69831),n=e(33064),d=e(87608),l=e.n(d),c=e(17598),m=e(33926),g=e(58757),M=e(37047),h=e(61836),S=e(78330),w=e(52628),C=e(22151);const z=(A,G,de,he,ge)=>({backgroundColor:A,border:`${he.lineWidth}px ${he.lineType} ${G}`,[`${ge}-icon`]:{color:de}}),$=A=>{const{componentCls:G,motionDurationSlow:de,marginXS:he,marginSM:ge,fontSize:be,fontSizeLG:Te,lineHeight:Ge,borderRadiusLG:Je,motionEaseInOutCirc:Qe,alertIconSizeLG:pt,colorText:Ct,paddingContentVerticalSM:ft,alertPaddingHorizontal:Ht,paddingMD:Ze,paddingContentHorizontalLG:Xe,colorTextHeading:rt}=A;return{[G]:Object.assign(Object.assign({},(0,S.Wf)(A)),{position:"relative",display:"flex",alignItems:"center",padding:`${ft}px ${Ht}px`,wordWrap:"break-word",borderRadius:Je,[`&${G}-rtl`]:{direction:"rtl"},[`${G}-content`]:{flex:1,minWidth:0},[`${G}-icon`]:{marginInlineEnd:he,lineHeight:0},["&-description"]:{display:"none",fontSize:be,lineHeight:Ge},"&-message":{color:Ct},[`&${G}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${de} ${Qe}, opacity ${de} ${Qe}, - padding-top ${de} ${Qe}, padding-bottom ${de} ${Qe}, - margin-bottom ${de} ${Qe}`},[`&${G}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${G}-with-description`]:{alignItems:"flex-start",paddingInline:Xe,paddingBlock:Ze,[`${G}-icon`]:{marginInlineEnd:ge,fontSize:pt,lineHeight:0},[`${G}-message`]:{display:"block",marginBottom:he,color:rt,fontSize:Te},[`${G}-description`]:{display:"block"}},[`${G}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},N=A=>{const{componentCls:G,colorSuccess:de,colorSuccessBorder:he,colorSuccessBg:ge,colorWarning:be,colorWarningBorder:Te,colorWarningBg:Ge,colorError:Je,colorErrorBorder:Qe,colorErrorBg:pt,colorInfo:Ct,colorInfoBorder:ft,colorInfoBg:Ht}=A;return{[G]:{"&-success":z(ge,he,de,A,G),"&-info":z(Ht,ft,Ct,A,G),"&-warning":z(Ge,Te,be,A,G),"&-error":Object.assign(Object.assign({},z(pt,Qe,Je,A,G)),{[`${G}-description > pre`]:{margin:0,padding:0}})}}},L=A=>{const{componentCls:G,iconCls:de,motionDurationMid:he,marginXS:ge,fontSizeIcon:be,colorIcon:Te,colorIconHover:Ge}=A;return{[G]:{["&-action"]:{marginInlineStart:ge},[`${G}-close-icon`]:{marginInlineStart:ge,padding:0,overflow:"hidden",fontSize:be,lineHeight:`${be}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${de}-close`]:{color:Te,transition:`color ${he}`,"&:hover":{color:Ge}}},"&-close-text":{color:Te,transition:`color ${he}`,"&:hover":{color:Ge}}}}},B=A=>[$(A),N(A),L(A)];var D=(0,w.Z)("Alert",A=>{const{fontSizeHeading3:G}=A,de=(0,C.TS)(A,{alertIconSizeLG:G,alertPaddingHorizontal:12});return[B(de)]}),T=function(A,G){var de={};for(var he in A)Object.prototype.hasOwnProperty.call(A,he)&&G.indexOf(he)<0&&(de[he]=A[he]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,he=Object.getOwnPropertySymbols(A);ge{const{icon:G,prefixCls:de,type:he}=A,ge=j[he]||null;return G?(0,M.wm)(G,g.createElement("span",{className:`${de}-icon`},G),()=>({className:l()(`${de}-icon`,{[G.props.className]:G.props.className})})):g.createElement(ge,{className:`${de}-icon`})},k=A=>{const{isClosable:G,prefixCls:de,closeIcon:he,handleClose:ge}=A,be=he===!0||he===void 0?g.createElement(o.Z,null):he;return G?g.createElement("button",{type:"button",onClick:ge,className:`${de}-close-icon`,tabIndex:0},be):null};var Y=A=>{const{description:G,prefixCls:de,message:he,banner:ge,className:be,rootClassName:Te,style:Ge,onMouseEnter:Je,onMouseLeave:Qe,onClick:pt,afterClose:Ct,showIcon:ft,closable:Ht,closeText:Ze,closeIcon:Xe,action:rt}=A,Ke=T(A,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[ye,ne]=g.useState(!1),H=g.useRef(null),{getPrefixCls:R,direction:P,alert:ae}=g.useContext(h.E_),Q=R("alert",de),[ie,me]=D(Q),je=J=>{var ce;ne(!0),(ce=A.onClose)===null||ce===void 0||ce.call(A,J)},Ee=g.useMemo(()=>A.type!==void 0?A.type:ge?"warning":"info",[A.type,ge]),Me=g.useMemo(()=>Ze?!0:typeof Ht=="boolean"?Ht:Xe!==!1&&Xe!==null&&Xe!==void 0,[Ze,Xe,Ht]),We=ge&&ft===void 0?!0:ft,re=l()(Q,`${Q}-${Ee}`,{[`${Q}-with-description`]:!!G,[`${Q}-no-icon`]:!We,[`${Q}-banner`]:!!ge,[`${Q}-rtl`]:P==="rtl"},ae==null?void 0:ae.className,be,Te,me),se=(0,m.Z)(Ke,{aria:!0,data:!0});return ie(g.createElement(c.ZP,{visible:!ye,motionName:`${Q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:J=>({maxHeight:J.offsetHeight}),onLeaveEnd:Ct},J=>{let{className:ce,style:xe}=J;return g.createElement("div",Object.assign({ref:H,"data-show":!ye,className:l()(re,ce),style:Object.assign(Object.assign(Object.assign({},ae==null?void 0:ae.style),Ge),xe),onMouseEnter:Je,onMouseLeave:Qe,onClick:pt,role:"alert"},se),We?g.createElement(K,{description:G,icon:A.icon,prefixCls:Q,type:Ee}):null,g.createElement("div",{className:`${Q}-content`},he?g.createElement("div",{className:`${Q}-message`},he):null,G?g.createElement("div",{className:`${Q}-description`},G):null),rt?g.createElement("div",{className:`${Q}-action`},rt):null,g.createElement(k,{isClosable:Me,prefixCls:Q,closeIcon:Ze||Xe,handleClose:je}))}))},q=e(60412),le=e(14346),X=e(87498),W=e(73726),O=function(A){(0,X.Z)(de,A);var G=(0,W.Z)(de);function de(){var he;return(0,q.Z)(this,de),he=G.apply(this,arguments),he.state={error:void 0,info:{componentStack:""}},he}return(0,le.Z)(de,[{key:"componentDidCatch",value:function(ge,be){this.setState({error:ge,info:be})}},{key:"render",value:function(){const{message:ge,description:be,children:Te}=this.props,{error:Ge,info:Je}=this.state,Qe=Je&&Je.componentStack?Je.componentStack:null,pt=typeof ge=="undefined"?(Ge||"").toString():ge,Ct=typeof be=="undefined"?Qe:be;return Ge?g.createElement(Y,{type:"error",message:pt,description:g.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Ct)}):Te}}]),de}(g.Component);const _=Y;_.ErrorBoundary=O;var U=_},70921:function(b,y,e){"use strict";e.d(y,{n:function(){return re},Z:function(){return xe}});var a=e(87608),t=e.n(a),o=e(98186),s=e(21319),n=e(58757),d=e(37486),l=e(61836),c=e(92428),m=e(58785),g=e(43528),h=(0,n.forwardRef)((ue,Ne)=>{const{className:Oe,style:we,children:Re,prefixCls:st}=ue,tt=t()(`${st}-icon`,Oe);return n.createElement("span",{ref:Ne,className:tt,style:we},Re)}),S=e(25755),w=e(17598);const C=(0,n.forwardRef)((ue,Ne)=>{let{prefixCls:Oe,className:we,style:Re,iconClassName:st}=ue;const tt=t()(`${Oe}-loading-icon`,we);return n.createElement(h,{prefixCls:Oe,className:tt,style:Re,ref:Ne},n.createElement(S.Z,{className:st}))}),z=()=>({width:0,opacity:0,transform:"scale(0)"}),$=ue=>({width:ue.scrollWidth,opacity:1,transform:"scale(1)"});var L=ue=>{const{prefixCls:Ne,loading:Oe,existIcon:we,className:Re,style:st}=ue,tt=!!Oe;return we?n.createElement(C,{prefixCls:Ne,className:Re,style:st}):n.createElement(w.ZP,{visible:tt,motionName:`${Ne}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:z,onAppearActive:$,onEnterStart:z,onEnterActive:$,onLeaveStart:$,onLeaveActive:z},(Ye,ke)=>{let{className:Be,style:it}=Ye;return n.createElement(C,{prefixCls:Ne,className:Re,style:Object.assign(Object.assign({},st),it),ref:ke,iconClassName:Be})})},B=e(51806),D=function(ue,Ne){var Oe={};for(var we in ue)Object.prototype.hasOwnProperty.call(ue,we)&&Ne.indexOf(we)<0&&(Oe[we]=ue[we]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,we=Object.getOwnPropertySymbols(ue);Re{const{getPrefixCls:Ne,direction:Oe}=n.useContext(l.E_),{prefixCls:we,size:Re,className:st}=ue,tt=D(ue,["prefixCls","size","className"]),Ye=Ne("btn-group",we),[,,ke]=(0,B.Z)();let Be="";switch(Re){case"large":Be="lg";break;case"small":Be="sm";break;case"middle":case void 0:break;default:}const it=t()(Ye,{[`${Ye}-${Be}`]:Be,[`${Ye}-rtl`]:Oe==="rtl"},st,ke);return n.createElement(T.Provider,{value:Re},n.createElement("div",Object.assign({},tt,{className:it})))},k=e(37047);const te=/^[\u4e00-\u9fa5]{2}$/,Y=te.test.bind(te);function q(ue){return typeof ue=="string"}function le(ue){return ue==="text"||ue==="link"}function X(ue,Ne){if(ue==null)return;const Oe=Ne?" ":"";return typeof ue!="string"&&typeof ue!="number"&&q(ue.type)&&Y(ue.props.children)?(0,k.Tm)(ue,{children:ue.props.children.split("").join(Oe)}):q(ue)?Y(ue)?n.createElement("span",null,ue.split("").join(Oe)):n.createElement("span",null,ue):(0,k.M2)(ue)?n.createElement("span",null,ue):ue}function W(ue,Ne){let Oe=!1;const we=[];return n.Children.forEach(ue,Re=>{const st=typeof Re,tt=st==="string"||st==="number";if(Oe&&tt){const Ye=we.length-1,ke=we[Ye];we[Ye]=`${ke}${Re}`}else we.push(Re);Oe=tt}),n.Children.map(we,Re=>X(Re,Ne))}const x=null,O=null,_=null;var U=e(78330),A=e(64493);function G(ue,Ne){return{[`&-item:not(${Ne}-last-item)`]:{marginBottom:-ue.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function de(ue,Ne){return{[`&-item:not(${Ne}-first-item):not(${Ne}-last-item)`]:{borderRadius:0},[`&-item${Ne}-first-item:not(${Ne}-last-item)`]:{[`&, &${ue}-sm, &${ue}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${Ne}-last-item:not(${Ne}-first-item)`]:{[`&, &${ue}-sm, &${ue}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function he(ue){const Ne=`${ue.componentCls}-compact-vertical`;return{[Ne]:Object.assign(Object.assign({},G(ue,Ne)),de(ue.componentCls,Ne))}}var ge=e(22151),be=e(52628);const Te=(ue,Ne)=>({[`> span, > ${ue}`]:{"&:not(:last-child)":{[`&, & > ${ue}`]:{"&:not(:disabled)":{borderInlineEndColor:Ne}}},"&:not(:first-child)":{[`&, & > ${ue}`]:{"&:not(:disabled)":{borderInlineStartColor:Ne}}}}});var Je=ue=>{const{componentCls:Ne,fontSize:Oe,lineWidth:we,colorPrimaryHover:Re,colorErrorHover:st}=ue;return{[`${Ne}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${Ne}`]:{"&:not(:last-child)":{[`&, & > ${Ne}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-we,[`&, & > ${Ne}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[Ne]:{position:"relative",zIndex:1,[`&:hover, + `),wo=!1),Yn||mo(Ua()),Yn.formatMessage(Rt,Ae)},ho=function(){return Object.keys(wr)}},47338:function(b,y,e){"use strict";e.d(y,{t:function(){return N},z:function(){return Z}});var a=e(88205),t=e.n(a),o=e(61697),s=e.n(o),n=e(77016),d=e.n(n),l=e(2657),c=e.n(l),m=e(44204),g=e.n(m),M=e(58757),h=e(35667),S=M.createContext(null),w=s()(function L(){var $=this;d()(this,L),c()(this,"callbacks",{}),c()(this,"data",{}),c()(this,"update",function(D){$.callbacks[D]&&$.callbacks[D].forEach(function(T){try{var j=$.data[D];T(j)}catch(K){T(void 0)}})})});function C(L){var $=L.hook,D=L.onUpdate,T=L.namespace,j=(0,M.useRef)(D),K=(0,M.useRef)(!1),k;try{k=$()}catch(te){console.error("plugin-model: Invoking '".concat(T||"unknown","' model failed:"),te)}return(0,M.useMemo)(function(){j.current(k)},[]),(0,M.useEffect)(function(){K.current?j.current(k):K.current=!0}),null}var F=new w;function Z(L){return(0,h.jsxs)(S.Provider,{value:{dispatcher:F},children:[Object.keys(L.models).map(function($){return(0,h.jsx)(C,{hook:L.models[$],namespace:$,onUpdate:function(T){F.data[$]=T,F.update($)}},$)}),L.children]})}function N(L,$){var D=(0,M.useContext)(S),T=D.dispatcher,j=(0,M.useRef)($);j.current=$;var K=(0,M.useState)(function(){return j.current?j.current(T.data[L]):T.data[L]}),k=t()(K,2),te=k[0],V=k[1],q=(0,M.useRef)(te);q.current=te;var le=(0,M.useRef)(!1);return(0,M.useEffect)(function(){return le.current=!0,function(){le.current=!1}},[]),(0,M.useEffect)(function(){var X,W=function(O){if(!le.current)setTimeout(function(){T.data[L]=O,T.update(L)});else{var _=j.current?j.current(O):O,U=q.current;g()(_,U)||(q.current=_,V(_))}};return(X=T.callbacks)[L]||(X[L]=new Set),T.callbacks[L].add(W),T.update(L),function(){T.callbacks[L].delete(W)}},[L]),te}},76180:function(b,y,e){"use strict";e.d(y,{AD:function(){return H},JJ:function(){return ye},EX:function(){return P},BP:function(){return xe},pB:function(){return ce},G3:function(){return Le},YZ:function(){return J},J1:function(){return de},L8:function(){return $e},Ss:function(){return R},zY:function(){return ne},oC:function(){return we},gS:function(){return Ke},po:function(){return Ee},a5:function(){return Me},j3:function(){return re},YC:function(){return We},iP:function(){return Q},oM:function(){return ie},JQ:function(){return ae},Wp:function(){return je},$j:function(){return se},uP:function(){return me},Uf:function(){return Oe}});var a=e(2657),t=e.n(a),o=e(58757),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(et,Ye,ke)=>Ye in et?s(et,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):et[Ye]=ke,m=(et,Ye)=>{for(var ke in Ye||(Ye={}))d.call(Ye,ke)&&c(et,ke,Ye[ke]);if(n)for(var ke of n(Ye))l.call(Ye,ke)&&c(et,ke,Ye[ke]);return et};const g=et=>o.createElement("svg",m({className:"classification_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},et),o.createElement("path",{d:"M797.723 912.007h-149.1c-59.634 0-109.325-49.691-109.325-109.326V539.325h263.356c59.635 0 109.326 49.69 109.326 109.325v149.073c0 29.804-9.944 54.65-29.804 79.495-29.83 24.818-54.703 34.762-84.48 34.762zm-422.373 0H226.277c-64.593 0-114.257-49.691-114.257-109.326V653.608c0-29.803 9.917-59.634 34.762-79.494 19.86-19.887 49.691-34.79 79.495-34.79h258.398v263.357c0 29.804-9.943 54.65-29.803 79.495-24.846 19.887-49.691 29.83-79.522 29.83zm422.373-422.373H534.339V226.277c0-29.804 9.97-59.634 34.79-79.495 19.887-19.86 49.69-34.762 79.521-34.762h149.073c59.608 4.932 109.298 54.623 109.298 114.257V375.35c0 29.83-9.916 54.676-29.803 79.495-24.846 24.845-49.691 34.762-79.495 34.762zm-313.048 0H221.32c-59.635 0-109.326-49.691-109.326-109.326V231.235c0-29.803 9.944-59.607 34.79-79.494 19.86-24.819 49.69-34.762 74.536-34.762h149.073c59.634 0 109.298 49.664 109.298 109.298v263.384h4.958v-.027z"}));var M="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTc5Ny43MjMgOTEyLjAwN2gtMTQ5LjFjLTU5LjYzNCAwLTEwOS4zMjUtNDkuNjkxLTEwOS4zMjUtMTA5LjMyNlY1MzkuMzI1aDI2My4zNTZjNTkuNjM1IDAgMTA5LjMyNiA0OS42OSAxMDkuMzI2IDEwOS4zMjV2MTQ5LjA3M2MwIDI5LjgwNC05Ljk0NCA1NC42NS0yOS44MDQgNzkuNDk1LTI5LjgzIDI0LjgxOC01NC43MDMgMzQuNzYyLTg0LjQ4IDM0Ljc2MnptLTQyMi4zNzMgMEgyMjYuMjc3Yy02NC41OTMgMC0xMTQuMjU3LTQ5LjY5MS0xMTQuMjU3LTEwOS4zMjZWNjUzLjYwOGMwLTI5LjgwMyA5LjkxNy01OS42MzQgMzQuNzYyLTc5LjQ5NCAxOS44Ni0xOS44ODcgNDkuNjkxLTM0Ljc5IDc5LjQ5NS0zNC43OWgyNTguMzk4djI2My4zNTdjMCAyOS44MDQtOS45NDMgNTQuNjUtMjkuODAzIDc5LjQ5NS0yNC44NDYgMTkuODg3LTQ5LjY5MSAyOS44My03OS41MjIgMjkuODN6bTQyMi4zNzMtNDIyLjM3M0g1MzQuMzM5VjIyNi4yNzdjMC0yOS44MDQgOS45Ny01OS42MzQgMzQuNzktNzkuNDk1IDE5Ljg4Ny0xOS44NiA0OS42OS0zNC43NjIgNzkuNTIxLTM0Ljc2MmgxNDkuMDczYzU5LjYwOCA0LjkzMiAxMDkuMjk4IDU0LjYyMyAxMDkuMjk4IDExNC4yNTdWMzc1LjM1YzAgMjkuODMtOS45MTYgNTQuNjc2LTI5LjgwMyA3OS40OTUtMjQuODQ2IDI0Ljg0NS00OS42OTEgMzQuNzYyLTc5LjQ5NSAzNC43NjJ6bS0zMTMuMDQ4IDBIMjIxLjMyYy01OS42MzUgMC0xMDkuMzI2LTQ5LjY5MS0xMDkuMzI2LTEwOS4zMjZWMjMxLjIzNWMwLTI5LjgwMyA5Ljk0NC01OS42MDcgMzQuNzktNzkuNDk0IDE5Ljg2LTI0LjgxOSA0OS42OS0zNC43NjIgNzQuNTM2LTM0Ljc2MmgxNDkuMDczYzU5LjYzNCAwIDEwOS4yOTggNDkuNjY0IDEwOS4yOTggMTA5LjI5OHYyNjMuMzg0aDQuOTU4di0uMDI3eiIvPjwvc3ZnPg==",h=Object.defineProperty,S=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,F=(et,Ye,ke)=>Ye in et?h(et,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):et[Ye]=ke,Z=(et,Ye)=>{for(var ke in Ye||(Ye={}))w.call(Ye,ke)&&F(et,ke,Ye[ke]);if(S)for(var ke of S(Ye))C.call(Ye,ke)&&F(et,ke,Ye[ke]);return et};const N=et=>o.createElement("svg",Z({className:"datasetDetection_svg__icon",viewBox:"0 0 1092 1024",xmlns:"http://www.w3.org/2000/svg",width:213.281,height:200},et),o.createElement("path",{d:"m514.859 116.928 318.336 130.624-1.28 3.2 2.88-1.152v448l-320 128-320-128v-448l2.816 1.152-1.28-3.2 318.528-130.624zm-256 227.2v310.144l224 89.6V434.24h1.28l-225.28-90.112zm512 0L545.323 434.24h1.408v309.632l224-89.6V344.128zm-256.064-158.08-236.352 97.024L514.795 377.6l236.288-94.528-236.288-97.024zM132.523 728.064v160h160v64h-224v-224h64zm830.272 0v224h-224v-64h160v-160h64zm-670.272-672v64h-160v160h-64v-224h224zm670.272 0v224h-64v-160h-160v-64h224z"}),o.createElement("path",{d:"M4.267 0h1024v1024h-1024z",fill:"none"}));var L="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwOTIgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjEzLjI4MSIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Im01MTQuODU5IDExNi45MjggMzE4LjMzNiAxMzAuNjI0LTEuMjggMy4yIDIuODgtMS4xNTJ2NDQ4bC0zMjAgMTI4LTMyMC0xMjh2LTQ0OGwyLjgxNiAxLjE1Mi0xLjI4LTMuMiAzMTguNTI4LTEzMC42MjR6bS0yNTYgMjI3LjJ2MzEwLjE0NGwyMjQgODkuNlY0MzQuMjRoMS4yOGwtMjI1LjI4LTkwLjExMnptNTEyIDBMNTQ1LjMyMyA0MzQuMjRoMS40MDh2MzA5LjYzMmwyMjQtODkuNlYzNDQuMTI4em0tMjU2LjA2NC0xNTguMDgtMjM2LjM1MiA5Ny4wMjRMNTE0Ljc5NSAzNzcuNmwyMzYuMjg4LTk0LjUyOC0yMzYuMjg4LTk3LjAyNHpNMTMyLjUyMyA3MjguMDY0djE2MGgxNjB2NjRoLTIyNHYtMjI0aDY0em04MzAuMjcyIDB2MjI0aC0yMjR2LTY0aDE2MHYtMTYwaDY0em0tNjcwLjI3Mi02NzJ2NjRoLTE2MHYxNjBoLTY0di0yMjRoMjI0em02NzAuMjcyIDB2MjI0aC02NHYtMTYwaC0xNjB2LTY0aDIyNHoiLz48cGF0aCBkPSJNNC4yNjcgMGgxMDI0djEwMjRoLTEwMjR6IiBmaWxsPSJub25lIi8+PC9zdmc+",$=Object.defineProperty,D=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,K=(et,Ye,ke)=>Ye in et?$(et,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):et[Ye]=ke,k=(et,Ye)=>{for(var ke in Ye||(Ye={}))T.call(Ye,ke)&&K(et,ke,Ye[ke]);if(D)for(var ke of D(Ye))j.call(Ye,ke)&&K(et,ke,Ye[ke]);return et};const te=et=>o.createElement("svg",k({className:"datasetSegment_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},et),o.createElement("path",{d:"M179.2 524.288h678.912a25.6 25.6 0 0 0 0-51.2H179.2a25.6 25.6 0 0 0 0 51.2zm700.672-245.504v-56.32l-164.864 156.16H774.4l105.472-99.84zm0 73.216-27.904 26.624h27.904V352zm-242.176 26.624 242.176-229.376v-15.616h-43.264L578.304 378.624h59.392zm-136.96 0 258.56-244.992h-59.392L441.6 378.624h59.136zm-136.704 0 258.304-244.992h-59.392l-258.56 244.992h59.648zm-136.96 0 258.56-244.992H426.24L167.68 378.624h59.392zm62.72-244.992L156.16 260.352v55.808l192.512-182.528h-58.88zm-133.632 0v53.504l56.32-53.504h-56.32zm618.24 742.4 105.472-99.584v-56.576l-164.864 156.16H774.4zm105.472 0v-26.368l-27.904 26.368h27.904zm-301.568 0h59.392l242.176-229.376v-15.36h-43.264L578.304 876.032zm121.6-244.736L441.6 876.032h59.136l258.56-244.736h-59.392zm-136.96 0-258.56 244.736h59.648l258.304-244.736h-59.392zm-136.704 0L167.68 876.032h59.392l258.56-244.736H426.24zm-136.448 0L156.16 758.016v55.808l192.512-182.528h-58.88zM156.16 684.544l56.32-53.248h-56.32v53.248z"}));var V="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTE3OS4yIDUyNC4yODhoNjc4LjkxMmEyNS42IDI1LjYgMCAwIDAgMC01MS4ySDE3OS4yYTI1LjYgMjUuNiAwIDAgMCAwIDUxLjJ6bTcwMC42NzItMjQ1LjUwNHYtNTYuMzJsLTE2NC44NjQgMTU2LjE2SDc3NC40bDEwNS40NzItOTkuODR6bTAgNzMuMjE2LTI3LjkwNCAyNi42MjRoMjcuOTA0VjM1MnptLTI0Mi4xNzYgMjYuNjI0IDI0Mi4xNzYtMjI5LjM3NnYtMTUuNjE2aC00My4yNjRMNTc4LjMwNCAzNzguNjI0aDU5LjM5MnptLTEzNi45NiAwIDI1OC41Ni0yNDQuOTkyaC01OS4zOTJMNDQxLjYgMzc4LjYyNGg1OS4xMzZ6bS0xMzYuNzA0IDAgMjU4LjMwNC0yNDQuOTkyaC01OS4zOTJsLTI1OC41NiAyNDQuOTkyaDU5LjY0OHptLTEzNi45NiAwIDI1OC41Ni0yNDQuOTkySDQyNi4yNEwxNjcuNjggMzc4LjYyNGg1OS4zOTJ6bTYyLjcyLTI0NC45OTJMMTU2LjE2IDI2MC4zNTJ2NTUuODA4bDE5Mi41MTItMTgyLjUyOGgtNTguODh6bS0xMzMuNjMyIDB2NTMuNTA0bDU2LjMyLTUzLjUwNGgtNTYuMzJ6bTYxOC4yNCA3NDIuNCAxMDUuNDcyLTk5LjU4NHYtNTYuNTc2bC0xNjQuODY0IDE1Ni4xNkg3NzQuNHptMTA1LjQ3MiAwdi0yNi4zNjhsLTI3LjkwNCAyNi4zNjhoMjcuOTA0em0tMzAxLjU2OCAwaDU5LjM5MmwyNDIuMTc2LTIyOS4zNzZ2LTE1LjM2aC00My4yNjRMNTc4LjMwNCA4NzYuMDMyem0xMjEuNi0yNDQuNzM2TDQ0MS42IDg3Ni4wMzJoNTkuMTM2bDI1OC41Ni0yNDQuNzM2aC01OS4zOTJ6bS0xMzYuOTYgMC0yNTguNTYgMjQ0LjczNmg1OS42NDhsMjU4LjMwNC0yNDQuNzM2aC01OS4zOTJ6bS0xMzYuNzA0IDBMMTY3LjY4IDg3Ni4wMzJoNTkuMzkybDI1OC41Ni0yNDQuNzM2SDQyNi4yNHptLTEzNi40NDggMEwxNTYuMTYgNzU4LjAxNnY1NS44MDhsMTkyLjUxMi0xODIuNTI4aC01OC44OHpNMTU2LjE2IDY4NC41NDRsNTYuMzItNTMuMjQ4aC01Ni4zMnY1My4yNDh6Ii8+PC9zdmc+",q=Object.defineProperty,le=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,x=(et,Ye,ke)=>Ye in et?q(et,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):et[Ye]=ke,O=(et,Ye)=>{for(var ke in Ye||(Ye={}))X.call(Ye,ke)&&x(et,ke,Ye[ke]);if(le)for(var ke of le(Ye))W.call(Ye,ke)&&x(et,ke,Ye[ke]);return et};const _=et=>o.createElement("svg",O({className:"datasetMatting_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},et),o.createElement("path",{d:"M832 288h-96v-96c0-52.9-43.1-96-96-96H192c-52.9 0-96 43.1-96 96v448c0 52.9 43.1 96 96 96h96v96c0 52.9 43.1 96 96 96h448c52.9 0 96-43.1 96-96V384c0-52.9-43.1-96-96-96zM160 640V192c0-17.6 14.4-32 32-32h448c17.6 0 32 14.4 32 32v96h-32c-17.7 0-32 14.3-32 32s14.3 32 32 32h32v288c0 17.6-14.4 32-32 32H352v-32c0-17.7-14.3-32-32-32s-32 14.3-32 32v32h-96c-17.6 0-32-14.4-32-32zm704 192c0 17.6-14.4 32-32 32H384c-17.6 0-32-14.4-32-32v-96h288c52.9 0 96-43.1 96-96V352h96c17.6 0 32 14.4 32 32v448z"}),o.createElement("path",{d:"M320 576c17.7 0 32-14.3 32-32v-64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64c0 17.7 14.3 32 32 32zm160-224h64c17.7 0 32-14.3 32-32s-14.3-32-32-32h-64c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-160 64c17.7 0 32-14.3 32-32 0-17.6 14.4-32 32-32 17.7 0 32-14.3 32-32s-14.3-32-32-32c-52.9 0-96 43.1-96 96 0 17.7 14.3 32 32 32z"}));var U="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTgzMiAyODhoLTk2di05NmMwLTUyLjktNDMuMS05Ni05Ni05NkgxOTJjLTUyLjkgMC05NiA0My4xLTk2IDk2djQ0OGMwIDUyLjkgNDMuMSA5NiA5NiA5Nmg5NnY5NmMwIDUyLjkgNDMuMSA5NiA5NiA5Nmg0NDhjNTIuOSAwIDk2LTQzLjEgOTYtOTZWMzg0YzAtNTIuOS00My4xLTk2LTk2LTk2ek0xNjAgNjQwVjE5MmMwLTE3LjYgMTQuNC0zMiAzMi0zMmg0NDhjMTcuNiAwIDMyIDE0LjQgMzIgMzJ2OTZoLTMyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnMxNC4zIDMyIDMyIDMyaDMydjI4OGMwIDE3LjYtMTQuNCAzMi0zMiAzMkgzNTJ2LTMyYzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjMyaC05NmMtMTcuNiAwLTMyLTE0LjQtMzItMzJ6bTcwNCAxOTJjMCAxNy42LTE0LjQgMzItMzIgMzJIMzg0Yy0xNy42IDAtMzItMTQuNC0zMi0zMnYtOTZoMjg4YzUyLjkgMCA5Ni00My4xIDk2LTk2VjM1Mmg5NmMxNy42IDAgMzIgMTQuNCAzMiAzMnY0NDh6Ii8+PHBhdGggZD0iTTMyMCA1NzZjMTcuNyAwIDMyLTE0LjMgMzItMzJ2LTY0YzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjY0YzAgMTcuNyAxNC4zIDMyIDMyIDMyem0xNjAtMjI0aDY0YzE3LjcgMCAzMi0xNC4zIDMyLTMycy0xNC4zLTMyLTMyLTMyaC02NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJzMTQuMyAzMiAzMiAzMnptLTE2MCA2NGMxNy43IDAgMzItMTQuMyAzMi0zMiAwLTE3LjYgMTQuNC0zMiAzMi0zMiAxNy43IDAgMzItMTQuMyAzMi0zMnMtMTQuMy0zMi0zMi0zMmMtNTIuOSAwLTk2IDQzLjEtOTYgOTYgMCAxNy43IDE0LjMgMzIgMzIgMzJ6Ii8+PC9zdmc+",A=Object.defineProperty,G=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ge=(et,Ye,ke)=>Ye in et?A(et,Ye,{enumerable:!0,configurable:!0,writable:!0,value:ke}):et[Ye]=ke,be=(et,Ye)=>{for(var ke in Ye||(Ye={}))fe.call(Ye,ke)&&ge(et,ke,Ye[ke]);if(G)for(var ke of G(Ye))pe.call(Ye,ke)&&ge(et,ke,Ye[ke]);return et};const Te=et=>o.createElement("svg",be({className:"datasetKeypoint_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},et),o.createElement("path",{d:"M938.667 298.667c0 70.613-57.387 128-128 128s-128-57.387-128-128c0-1.92 0-3.627.213-5.334L501.12 238.72a107.03 107.03 0 0 1-63.787 55.253l69.334 138.24c15.36-3.626 31.573-5.546 48-5.546C672.213 426.667 768 522.453 768 640s-95.787 213.333-213.333 213.333c-85.334 0-159.147-50.56-193.067-123.093l-34.133 22.613c8.96 17.28 13.866 36.907 13.866 57.814 0 70.613-57.386 128-128 128s-128-57.387-128-128 57.387-128 128-128c34.774 0 66.134 13.653 88.96 36.053l44.8-29.867c-3.84-15.573-5.76-32-5.76-48.853 0-85.973 51.2-160.213 124.587-193.92L391.68 297.6A106.475 106.475 0 0 1 298.667 192c0-58.88 47.786-106.667 106.666-106.667S512 133.12 512 192c0 1.707 0 3.627-.213 5.333l180.053 53.974a127.957 127.957 0 0 1 118.827-80.64c70.613 0 128 57.386 128 128z"}));var Ge="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTkzOC42NjcgMjk4LjY2N2MwIDcwLjYxMy01Ny4zODcgMTI4LTEyOCAxMjhzLTEyOC01Ny4zODctMTI4LTEyOGMwLTEuOTIgMC0zLjYyNy4yMTMtNS4zMzRMNTAxLjEyIDIzOC43MmExMDcuMDMgMTA3LjAzIDAgMCAxLTYzLjc4NyA1NS4yNTNsNjkuMzM0IDEzOC4yNGMxNS4zNi0zLjYyNiAzMS41NzMtNS41NDYgNDgtNS41NDZDNjcyLjIxMyA0MjYuNjY3IDc2OCA1MjIuNDUzIDc2OCA2NDBzLTk1Ljc4NyAyMTMuMzMzLTIxMy4zMzMgMjEzLjMzM2MtODUuMzM0IDAtMTU5LjE0Ny01MC41Ni0xOTMuMDY3LTEyMy4wOTNsLTM0LjEzMyAyMi42MTNjOC45NiAxNy4yOCAxMy44NjYgMzYuOTA3IDEzLjg2NiA1Ny44MTQgMCA3MC42MTMtNTcuMzg2IDEyOC0xMjggMTI4cy0xMjgtNTcuMzg3LTEyOC0xMjggNTcuMzg3LTEyOCAxMjgtMTI4YzM0Ljc3NCAwIDY2LjEzNCAxMy42NTMgODguOTYgMzYuMDUzbDQ0LjgtMjkuODY3Yy0zLjg0LTE1LjU3My01Ljc2LTMyLTUuNzYtNDguODUzIDAtODUuOTczIDUxLjItMTYwLjIxMyAxMjQuNTg3LTE5My45MkwzOTEuNjggMjk3LjZBMTA2LjQ3NSAxMDYuNDc1IDAgMCAxIDI5OC42NjcgMTkyYzAtNTguODggNDcuNzg2LTEwNi42NjcgMTA2LjY2Ni0xMDYuNjY3UzUxMiAxMzMuMTIgNTEyIDE5MmMwIDEuNzA3IDAgMy42MjctLjIxMyA1LjMzM2wxODAuMDUzIDUzLjk3NGExMjcuOTU3IDEyNy45NTcgMCAwIDEgMTE4LjgyNy04MC42NGM3MC42MTMgMCAxMjggNTcuMzg2IDEyOCAxMjh6Ii8+PC9zdmc+",Je,Qe,pt,Et,ft="Deep Data Space",Wt="https://img.alicdn.com/tfs/TB1YHEpwUT1gK0jSZFhXXaAtVXa-28-27.svg",$e=50,Xe=null,nt=null,Ke=8,ye=function(et){return et.Classification="Classification",et.Detection="Detection",et.Segmentation="Segmentation",et.Matting="Matting",et.KeyPoints="KeyPoints",et.Mask="Mask",et}({}),ne=function(et){return et.showAnnotations="showAnnotations",et.showAllCategory="showAllCategory",et.showImgDesc="showImgDesc",et.showBoxText="showBoxText",et.showSegFilling="showSegFilling",et.showSegContour="showSegContour",et.showMattingColorFill="showMattingColorFill",et.showKeyPointsLine="showKeyPointsLine",et.showKeyPointsBox="showKeyPointsBox",et}({}),H=(Je={},t()(Je,ye.Classification,g),t()(Je,ye.Detection,N),t()(Je,ye.Segmentation,te),t()(Je,ye.Matting,_),t()(Je,ye.KeyPoints,Te),t()(Je,ye.Mask,_),Je),R=(Qe={},t()(Qe,ne.showAnnotations,"lab.displayOption.showAnnotations"),t()(Qe,ne.showAllCategory,"lab.displayOption.showAllCategory"),t()(Qe,ne.showImgDesc,"lab.displayOption.showImgDesc"),t()(Qe,ne.showBoxText,"lab.displayOption.showBoxText"),t()(Qe,ne.showSegFilling,"lab.displayOption.showSegFilling"),t()(Qe,ne.showSegContour,"lab.displayOption.showSegContour"),t()(Qe,ne.showMattingColorFill,"lab.displayOption.showMattingColorFill"),t()(Qe,ne.showKeyPointsLine,"lab.displayOption.showKeyPointsLine"),t()(Qe,ne.showKeyPointsBox,"lab.displayOption.showKeyPointsBox"),Qe),P=[ne.showAnnotations,ne.showAllCategory,ne.showImgDesc],ae=[[0],[2],[5],[10],[1,5,3],[5,2,10]],Q=[1,.4,.6,.8,.85,.9],ie=[1,1.5,1.75,2,2.25,2.5],me=function(et){return et.Overlay="dataset.diffMode.overlay",et.Tiled="dataset.diffMode.tiled",et}({}),je=[me.Overlay,me.Tiled],Ee=function(et){return et[et.all=-1]="all",et[et.unflaged=0]="unflaged",et[et.picked=1]="picked",et[et.rejected=2]="rejected",et}({}),Me=(pt={},t()(pt,Ee.all,"transparent"),t()(pt,Ee.unflaged,"#8C8C8C"),t()(pt,Ee.picked,"#52C41A"),t()(pt,Ee.rejected,"#F5222D"),pt),We=[{value:Ee.picked,tip:"save as 'positive'"},{value:Ee.rejected,tip:"save as 'negative'"},{value:Ee.unflaged,tip:"save as 'unset'"}],re=[{value:Ee.all,name:"all"},{value:Ee.unflaged,name:"unset"},{value:Ee.picked,name:"positive"},{value:Ee.rejected,name:"negative"}],se=function(et){return et.gt="GT",et.user="User",et.pred="Pred",et}({}),J=function(et){return et.fn="fn",et.fp="fp",et}({}),de=[{value:J.fn,name:"FN count"},{value:J.fp,name:"FP count"}],xe=function(et){return et.ok="OK",et.fn="FN",et.fp="FP",et}({}),ce=(Et={},t()(Et,xe.ok,""),t()(Et,xe.fn,"rgba(255,0,0,0.4)"),t()(Et,xe.fp,"rgba(0,0,255,0.4)"),Et),Le=[{value:se.gt,name:"GT - Matched"},{value:xe.fn,name:"GT - FN"},{value:se.pred,name:"Prediction - Matched"},{value:xe.fp,name:"Prediction - FP"}],Oe=function(et){return et.AUTH_TOKEN="auth_token",et}({}),we=function(et){return et.Active="active",et.Inactive="inactive",et.Activating="activating",et}({}),Ne=function(et){return et.Upload="self_uploaded",et.DirectUrl="direct_url",et}({}),st=function(et){return et.Waiting="waiting",et.Running="running",et.Success="success",et.Failed="failed",et.Fail="fail",et}({})},67160:function(b,y,e){"use strict";e.d(y,{$I:function(){return c},C2:function(){return d},nJ:function(){return s},vA:function(){return l}});var a=e(63900),t=e.n(a),o=e(76180),s=function(m){return m[m.pagination=0]="pagination",m[m.random=1]="random",m}({}),n={categoryId:"All",displayAnnotationType:void 0,displayOptions:[o.zY.showAnnotations,o.zY.showAllCategory],selectedLabelIds:[],diffMode:o.uP.Overlay},d={datasetId:"",datasetName:"",queryMode:s.pagination,offset:-1,page:1,pageSize:o.L8,cloumnCount:5,isSingleAnnotation:!1,previewIndex:-1,filterValues:t()({},n),comparisons:void 0,flagTools:void 0},l={imgList:[],total:0,flagTools:{lastShiftIndex:-1,lastSavedIndexs:[],count:0}},c=t()(t()({},l),{},{screenLoading:"",hasEmbedFile:!1,filters:{categories:[],annotationTypes:[],displayOptions:o.EX,labels:[]}})},35459:function(b,y,e){"use strict";e.d(y,{JE:function(){return m},ZA:function(){return c},gZ:function(){return l},j$:function(){return g},mu:function(){return d},tz:function(){return n}});var a=e(2657),t=e.n(a),o,s,n=function(M){return M.Waiting="waiting",M.Initializing="initializing",M.Working="working",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M.Exported="exported",M}({}),d=(o={},t()(o,n.Waiting,{text:"proj.statusMap.waiting",color:"default"}),t()(o,n.Initializing,{text:"proj.statusMap.initializing",color:"default"}),t()(o,n.Working,{text:"proj.statusMap.working",color:"processing"}),t()(o,n.Reviewing,{text:"proj.statusMap.reviewing",color:"warning"}),t()(o,n.Rejected,{text:"proj.statusMap.rejected",color:"error"}),t()(o,n.Accepted,{text:"proj.statusMap.accepted",color:"success"}),t()(o,n.Exported,{text:"proj.statusMap.exported",color:"default"}),o),l=function(M){return M.Waiting="waiting",M.Working="working",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M}({}),c=(s={},t()(s,l.Waiting,{text:"proj.eTaskStatus.waiting",color:"default"}),t()(s,l.Working,{text:"proj.eTaskStatus.working",color:"processing"}),t()(s,l.Reviewing,{text:"proj.eTaskStatus.reviewing",color:"warning"}),t()(s,l.Rejected,{text:"proj.eTaskStatus.rejected",color:"error"}),t()(s,l.Accepted,{text:"proj.eTaskStatus.accepted",color:"success"}),s),m=function(M){return M.Accept="accept",M.Reject="reject",M.ForceAccept="force_accept",M}({}),g=function(M){return M.Labeling="labeling",M.Reviewing="reviewing",M.Rejected="rejected",M.Accepted="accepted",M}({})},1239:function(b,y,e){"use strict";e.d(y,{Oc:function(){return d},vb:function(){return n}});var a=e(2657),t=e.n(a),o=e(97375),s,n=function(c){return c.Owner="owner",c.Manager="manager",c.LabelLeader="label_leader",c.ReviewLeader="review_leader",c.Labeler="labeler",c.Reviewer="reviewer",c}({}),d=function(c){return c[c.ProjectEdit=0]="ProjectEdit",c[c.ProjectInfo=1]="ProjectInfo",c[c.ProjectInit=2]="ProjectInit",c[c.ProjectQa=3]="ProjectQa",c[c.ProjectExport=4]="ProjectExport",c[c.AssignLeader=100]="AssignLeader",c[c.TaskQa=101]="TaskQa",c[c.AssignLabeler=102]="AssignLabeler",c[c.AssignReviewer=103]="AssignReviewer",c[c.RestartTask=104]="RestartTask",c[c.StartLabel=105]="StartLabel",c[c.StartReview=106]="StartReview",c[c.CommitReviewTask=107]="CommitReviewTask",c[c.View=108]="View",c}({}),l=(s={},t()(s,n.Owner,[d.ProjectEdit,d.ProjectQa,d.View,d.ProjectExport]),t()(s,n.Manager,[d.ProjectInit,d.ProjectInfo,d.AssignLeader,d.TaskQa,d.View]),t()(s,n.LabelLeader,[d.AssignLabeler,d.RestartTask,d.View]),t()(s,n.ReviewLeader,[d.AssignReviewer,d.View]),t()(s,n.Labeler,[d.StartLabel]),t()(s,n.Reviewer,[d.StartReview,d.CommitReviewTask]),s);y.ZP=function(){var c=(0,o.useModel)("user"),m=c.user,g=function(S,w){if(!m.userId||!S)return[];var C=[];if(m.userId===S.owner.id&&C.push(n.Owner),S.managers.find(function(N){return N.id===m.userId})&&C.push(n.Manager),w){var F,Z;((F=w.labelLeader)===null||F===void 0?void 0:F.userId)===m.userId&&C.push(n.LabelLeader),((Z=w.reviewLeader)===null||Z===void 0?void 0:Z.userId)===m.userId&&C.push(n.ReviewLeader),w.labelers.find(function(N){return N.userId===m.userId})&&C.push(n.Labeler),w.reviewers.find(function(N){return N.userId===m.userId})&&C.push(n.Reviewer)}return C},M=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1?arguments[1]:void 0,C=[];return S.forEach(function(F){var Z=l[F];Z.forEach(function(N){C.includes(N)||C.push(N)})}),C.includes(w)};return{getUserRoles:g,checkPermission:M}}},32694:function(b,y,e){"use strict";e.d(y,{u:function(){return Z}});var a=e(24454),t=e.n(a),o=e(34485),s=e.n(o),n=e(56592),d=e.n(n),l=e(88205),c=e.n(l),m=e(97375),g=e(65246),M=e(7986),h=e(91290),S=e(53357),w=e(84045),C=e(23707),F=20,Z=function(L){return L[L.labelLeader=0]="labelLeader",L[L.reviewLeader=1]="reviewLeader",L[L.labeler=2]="labeler",L[L.reviewer=3]="reviewer",L[L.reassign=4]="reassign",L}({}),N={show:!1,types:[],tasks:[],initialValues:{}};y.Z=function(){var L=(0,m.useModel)("user"),$=L.user,D=(0,g.x)({list:[],total:0,selectedTaskIds:[]}),T=c()(D,2),j=T[0],K=T[1],k=(0,g.x)({page:1,pageSize:F}),te=c()(k,2),V=te[0],q=te[1],le=(0,g.x)(void 0),X=c()(le,2),W=X[0],x=X[1],O=(0,g.x)(N),_=c()(O,2),U=_[0],A=_[1],G=(0,M.Z)(function(ye,ne){return K(function(H){H.list=[]}),(0,h.ZJ)({projectId:(0,C.Oe)(),pageNum:ye||V.page,pageSize:ne||V.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[V.page,V.pageSize],onSuccess:function(ne){var H=ne.taskList,R=ne.total;K(function(P){P.list=H,P.total=R,P.selectedTaskIds=[]})},onError:function(){}}),fe=G.loading,pe=G.run,ge=(0,M.Z)(function(){return(0,h.NT)((0,C.Oe)())},{manual:!0,debounceWait:100,refreshDeps:[V.page,V.pageSize],onSuccess:function(ne){K(function(H){H.projectDetail=ne,H.isPm=!!ne.managers.find(function(R){return R.id===$.userId})})},onError:function(){}}),be=ge.run,Te=function(ne,H){q(function(R){R.page=H===R.pageSize?ne:1,R.pageSize=H}),pe(ne,H)},Ge=function(ne){K(function(H){H.selectedTaskIds=ne})},Je=function(ne){if(j.projectDetail){var H=ne||j.selectedTaskIds,R=[],P={},ae=j.list.find(function(me){return me.id===H[0]});if(j.projectDetail.labelTimes>0){var Q;R.push(Z.labelLeader),P.labelLeaderId=ae==null||(Q=ae.labelLeader)===null||Q===void 0?void 0:Q.userId}if(j.projectDetail.reviewTimes>0){var ie;R.push(Z.reviewLeader),P.reviewLeaderId=ae==null||(ie=ae.reviewLeader)===null||ie===void 0?void 0:ie.userId}A(function(me){me.show=!0,me.types=R,me.tasks=j.list.filter(function(je){return H.includes(je.id)}),me.initialValues=P})}},Qe=function(ne,H){if(j.projectDetail){var R={};if(H.includes(Z.labeler)){var P;R.labelerIds=(P=ne.labelers)===null||P===void 0?void 0:P.map(function(Q){return Q.userId})}if(H.includes(Z.reviewer)){var ae;R.reviewerIds=(ae=ne.reviewers)===null||ae===void 0?void 0:ae.map(function(Q){return Q.userId})}A(function(Q){Q.show=!0,Q.types=H,Q.tasks=[ne],Q.initialValues=R})}},pt=function(ne,H){A(function(R){R.show=!0,R.types=[Z.reassign],R.tasks=[ne],R.reassignTarget=H})},Et=function(){A(N)},ft=function(){var ye=d()(t()().mark(function ne(H){var R,P,ae,Q,ie;return t()().wrap(function(je){for(;;)switch(je.prev=je.next){case 0:if(R=H.keyWords,P=R===void 0?"":R,ae=[],Q=U.tasks,ie=U.types,Q.forEach(function(Ee){var Me=[];ie.includes(Z.labelLeader)&&Me.push(Ee.labelLeader),ie.includes(Z.reviewLeader)&&Me.push(Ee.reviewLeader),ie.includes(Z.labeler)&&Me.push.apply(Me,s()(Ee.labelers)),ie.includes(Z.reviewer)&&Me.push.apply(Me,s()(Ee.reviewers)),Me.forEach(function(We){We&&!ae.find(function(re){return We.userId===re.id})&&ae.push({id:We.userId,name:We.userName})})}),!P){je.next=8;break}return je.next=7,(0,h.Qm)({name:P});case 7:ae=je.sent.userList.map(function(Ee){return{name:Ee.name,id:Ee.id}});case 8:return je.abrupt("return",ae.map(function(Ee){return{label:Ee.name,value:Ee.id}}));case 9:case"end":return je.stop()}},ne)}));return function(H){return ye.apply(this,arguments)}}(),Wt=function(){var ye=d()(t()().mark(function ne(H){var R,P,ae,Q,ie,me;return t()().wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(R=U.initialValues,!(U.types.includes(Z.labelLeader)||U.types.includes(Z.reviewLeader))){Ee.next=16;break}if(!(H.labelLeaderId!==R.labelLeaderId||H.reviewLeaderId!==R.reviewLeaderId)){Ee.next=14;break}return Ee.prev=3,Ee.next=6,(0,h.nu)({projectId:((P=j.projectDetail)===null||P===void 0?void 0:P.id)||"",taskIds:U.tasks.map(function(Me){return Me.id}),labelLeaderId:H.labelLeaderId!==R.labelLeaderId?H.labelLeaderId:void 0,reviewLeaderId:H.reviewLeaderId!==R.reviewLeaderId?H.reviewLeaderId:void 0});case 6:pe(),w.ZP.success((0,S._w)("proj.assignModalFinish.assignLeader")),Ee.next=14;break;case 10:return Ee.prev=10,Ee.t0=Ee.catch(3),console.error(Ee.t0),Ee.abrupt("return",Promise.resolve(!1));case 14:Ee.next=43;break;case 16:if(Q=U.tasks[0],!(U.types.includes(Z.labeler)||U.types.includes(Z.reviewer))){Ee.next=31;break}return Ee.prev=18,Ee.next=21,(0,h.zb)(Q.id,H);case 21:pe(),w.ZP.success((0,S._w)("proj.assignModalFinish.assignWorker")),Ee.next=29;break;case 25:return Ee.prev=25,Ee.t1=Ee.catch(18),console.error(Ee.t1),Ee.abrupt("return",Promise.resolve(!1));case 29:Ee.next=43;break;case 31:if(!(U.types.includes(Z.reassign)&&H.reassigner!==((ae=U.reassignTarget)===null||ae===void 0?void 0:ae.userId))){Ee.next=43;break}return Ee.prev=32,Ee.next=35,(0,h.xv)(Q.id,{oldWorkerId:((ie=U.reassignTarget)===null||ie===void 0?void 0:ie.userId)||"",newWorkerId:H.reassigner||"",role:((me=U.reassignTarget)===null||me===void 0?void 0:me.role)||""});case 35:pe(),w.ZP.success((0,S._w)("proj.assignModalFinish.reassignWorker")),Ee.next=43;break;case 39:return Ee.prev=39,Ee.t2=Ee.catch(32),console.error(Ee.t2),Ee.abrupt("return",Promise.resolve(!1));case 43:return Et(),Ee.abrupt("return",Promise.resolve(!1));case 45:case"end":return Ee.stop()}},ne,null,[[3,10],[18,25],[32,39]])}));return function(H){return ye.apply(this,arguments)}}(),$e=function(){var ye=d()(t()().mark(function ne(H){return t()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.prev=0,P.next=3,(0,h.vo)(H.id);case 3:pe(),w.ZP.success((0,S._w)("proj.assignModalFinish.restarTask")),P.next=11;break;case 7:return P.prev=7,P.t0=P.catch(0),console.error(P.t0),P.abrupt("return",Promise.resolve(!1));case 11:case"end":return P.stop()}},ne,null,[[0,7]])}));return function(H){return ye.apply(this,arguments)}}(),Xe=function(){var ye=d()(t()().mark(function ne(H){return t()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.prev=0,P.next=3,(0,h.$x)(H.id);case 3:pe(),w.ZP.success((0,S._w)("proj.assignModalFinish.commiTask")),P.next=11;break;case 7:return P.prev=7,P.t0=P.catch(0),console.error(P.t0),P.abrupt("return",Promise.resolve(!1));case 11:case"end":return P.stop()}},ne,null,[[0,7]])}));return function(H){return ye.apply(this,arguments)}}(),nt=function(){var ye=d()(t()().mark(function ne(H,R){return t()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.prev=0,ae.next=3,(0,h.d5)(H.id,{action:R});case 3:w.ZP.success((0,S._w)("proj.assignModalFinish.changeTaskStatus")),pe(),ae.next=11;break;case 7:return ae.prev=7,ae.t0=ae.catch(0),console.error(ae.t0),ae.abrupt("return",Promise.reject(!1));case 11:case"end":return ae.stop()}},ne,null,[[0,7]])}));return function(H,R){return ye.apply(this,arguments)}}(),Ke=function(ne){q(function(H){Object.assign(H,{page:1,pageSize:F},ne)}),be(),pe()};return{pageData:j,pageState:V,loading:fe,onPageChange:Te,onSelectChange:Ge,onInitPageState:Ke,taskDetailModalIndex:W,setTaskDetailModalIndex:x,assignModal:U,assignLeaders:Je,assignWorker:Qe,reassignWorker:pt,onCloseAssignModal:Et,userLintRequest:ft,assignModalFinish:Wt,restartTask:$e,commitReviewTask:Xe,onChangeTaskResult:nt}}},54518:function(b,y,e){"use strict";e.d(y,{I:function(){return L}});var a=e(24454),t=e.n(a),o=e(56592),s=e.n(o),n=e(63900),d=e.n(n),l=e(88205),c=e.n(l),m=e(97375),g=e(65246),M=e(7986),h=e(91290),S=e(84045),w=e(53357),C=e(35459),F=e(39378),Z=e.n(F),N=20,L="proj.editModal.setWorkflowNow",$={show:!1,current:0,initialValues:{basics:{},settings:{},workflowInitNow:[],hadBatchSize:!1,hadReviewer:!1}};y.Z=function(){var D=(0,m.useModel)("user"),T=D.user,j=(0,m.useModel)("Project.auth"),K=j.getUserRoles,k=(0,g.x)({list:[],total:0}),te=c()(k,2),V=te[0],q=te[1],le=(0,g.x)({page:1,pageSize:N}),X=c()(le,2),W=X[0],x=X[1],O=(0,g.x)($),_=c()(O,2),U=_[0],A=_[1],G=(0,M.Z)(function($e,Xe){return q(function(nt){nt.list=[]}),(0,h.eK)({pageNum:$e||W.page,pageSize:Xe||W.pageSize})},{manual:!0,debounceWait:100,refreshDeps:[W.page,W.pageSize],onSuccess:function(Xe){var nt=Xe.projectList,Ke=Xe.total;q({list:nt.map(function(ye){return d()(d()({},ye),{},{userRoles:K(ye)})}),total:Ke})},onError:function(){}}),fe=G.loading,pe=G.run,ge=function(Xe,nt){x(function(Ke){Ke.page=nt===Ke.pageSize?Xe:1,Ke.pageSize=nt}),pe(Xe,nt)},be=function(){A(function(Xe){Xe.show=!0})},Te=function(Xe,nt){A(function(Ke){var ye=Xe.name,ne=Xe.description,H=Xe.categories,R=Xe.datasets,P=Xe.preLabel,ae=Xe.managers,Q=Xe.batchSize,ie=Xe.reviewTimes,me=Xe.status;Ke.show=!0,Ke.targetProject=Xe,Ke.current=nt?1:0,Ke.initialValues.basics={name:ye,description:ne,categories:H,preLabel:P,datasetIds:R.map(function(je){return je.id}),managerIds:ae.map(function(je){return je.id})},Ke.initialValues.settings=me!==C.tz.Waiting?{batchSize:Q>0?Q:void 0}:{},Ke.initialValues.workflowInitNow=[(0,w._w)(L)],Ke.initialValues.hadBatchSize=Q>0,Ke.initialValues.hadReviewer=ie>0})},Ge=function(){A($)},Je=function(Xe){A(function(nt){Xe===0&&(nt.current=0)})},Qe=function(Xe){return A(function(nt){var Ke;nt.disableInitProject=!((Ke=Xe.basics.managerIds)!==null&&Ke!==void 0&&Ke.includes(T.userId)),nt.current=1}),Promise.resolve(!1)},pt=function(){var $e=s()(t()().mark(function Xe(nt){var Ke,ye,ne,H,R,P,ae,Q;return t()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(ne=!1,H=(Ke=U.targetProject)===null||Ke===void 0?void 0:Ke.id,H){me.next=18;break}return me.prev=3,me.next=6,(0,h.o9)(nt.basics);case 6:R=me.sent,H=R.id,A(function(je){je.targetProject=R}),ne=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.new")),me.next=16;break;case 13:me.prev=13,me.t0=me.catch(3),console.error(me.t0);case 16:me.next=30;break;case 18:if(P=U.initialValues.basics,ae=P.description,Q=P.managerIds,!(nt.basics.description!==ae||!(0,F.isEqual)(nt.basics.managerIds,Q))){me.next=30;break}return me.prev=20,me.next=23,(0,h.NV)(H,nt.basics);case 23:ne=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.edit")),me.next=30;break;case 27:me.prev=27,me.t1=me.catch(20),console.error(me.t1);case 30:if(!((!U.targetProject||((ye=U.targetProject)===null||ye===void 0?void 0:ye.status)===C.tz.Waiting)&&nt.workflowInitNow&&nt.workflowInitNow.length)){me.next=41;break}return me.prev=31,me.next=34,(0,h.mN)(H,{batchSize:nt.hadBatchSize?nt.settings.batchSize:0,labelTimes:1,reviewTimes:nt.hadReviewer?1:0});case 34:ne=!0,S.ZP.success((0,w._w)("proj.projectModalFinish.init")),me.next=41;break;case 38:me.prev=38,me.t2=me.catch(31),console.error(me.t2);case 41:return ne&&pe(),Ge(),me.abrupt("return",Promise.resolve(!1));case 44:case"end":return me.stop()}},Xe,null,[[3,13],[20,27],[31,38]])}));return function(nt){return $e.apply(this,arguments)}}(),Et=function(){var $e=s()(t()().mark(function Xe(nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.prev=0,ne.next=3,(0,h.lw)(nt.id,{action:Ke});case 3:S.ZP.success((0,w._w)("proj.projectModalFinish.change")),pe(),ne.next=11;break;case 7:return ne.prev=7,ne.t0=ne.catch(0),console.error(ne.t0),ne.abrupt("return",Promise.reject(!1));case 11:case"end":return ne.stop()}},Xe,null,[[0,7]])}));return function(nt,Ke){return $e.apply(this,arguments)}}(),ft=function(){var $e=s()(t()().mark(function Xe(nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.prev=0,ne.next=3,(0,h.Cd)(nt,{labelName:Ke==null?void 0:Ke.labelName});case 3:S.ZP.success((0,w._w)("proj.exportModal.submitSuccess",{name:Ke==null?void 0:Ke.labelName})),pe(),ne.next=10;break;case 7:ne.prev=7,ne.t0=ne.catch(0),console.error(ne.t0);case 10:case"end":return ne.stop()}},Xe,null,[[0,7]])}));return function(nt,Ke){return $e.apply(this,arguments)}}(),Wt=function(Xe){x(function(nt){Object.assign(nt,{page:1,pageSize:N},Xe)}),pe()};return{pageData:V,pageState:W,loading:fe,onPageChange:ge,onInitPageState:Wt,projectModal:U,onNewProject:be,onEditProject:Te,closeProjectModal:Ge,onProjectModalCurrentChange:Je,projectModalNext:Qe,projectModalFinish:pt,onChangeProjectResult:Et,onExportLabelProject:ft}}},93059:function(b,y,e){"use strict";e.d(y,{D:function(){return T}});var a=e(63900),t=e.n(a),o=e(24454),s=e.n(o),n=e(56592),d=e.n(n),l=e(34485),c=e.n(l),m=e(88205),g=e.n(m),M=e(65246),h=e(7986),S=e(91290),w=e(35459),C=e(58757),F=e(84045),Z=e(33010),N=e(97375),L=e(23707),$=e(53357),D=100,T={Init:0,More:1};y.Z=function(){var j=(0,N.useModel)("user"),K=j.user,k=(0,N.useModel)("global"),te=k.setLoading,V=(0,M.x)({taskRoles:[],categoryList:[],list:[],curIndex:-1,page:1,pageSize:D,total:0,editorMode:Z.je.View}),q=g()(V,2),le=q[0],X=q[1],W=(0,M.x)({status:w.j$.Labeling,taskStatus:w.gZ.Working}),x=g()(W,2),O=x[0],_=x[1],U=(0,C.useMemo)(function(){return(0,L.BQ)("projectId")||""},[window.location.search]),A=(0,C.useMemo)(function(){return(0,L.BQ)("taskId")||""},[window.location.search]),G=(0,C.useMemo)(function(){var je;return(je=le.taskRoles)===null||je===void 0?void 0:je.find(function(Ee){return Ee.id===O.roleId})},[le.taskRoles,O.roleId]),fe=(0,C.useMemo)(function(){return G&&K.userId===(G==null?void 0:G.userId)?[G.role]:[]},[K.userId,G]),pe=(0,C.useMemo)(function(){var je;return((je=le.list)===null||je===void 0?void 0:je.map(function(Ee){var Me=[],We="";return O.status===w.j$.Labeling&&!Ee.labeled?Ee.defaultLabels&&Ee.defaultLabels.annotations&&Me.push.apply(Me,c()(Ee.defaultLabels.annotations)):Ee.labels.forEach(function(re){We=re.id,Me.push.apply(Me,c()(re.annotations))}),{id:Ee.id,url:Ee.url,urlFullRes:Ee.urlFullRes,labelId:We,objects:Me}}))||[]},[le.list,O.status]),ge=function(){var je=d()(s()().mark(function Ee(Me,We){var re,se,J,de;return s()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:if(!le.loadingImagesType){ce.next=2;break}return ce.abrupt("return",Promise.reject(null));case 2:return X(function(Le){Le.loadingImagesType=Me,Me===T.Init&&(Le.list=[])}),ce.prev=3,ce.next=6,(0,S.zO)((0,L.BQ)("taskId")||"",{status:We.status||O.status,roleId:We.roleId||O.roleId,pageNum:We.page,pageSize:le.pageSize});case 6:re=ce.sent,se=re.imageList,J=re.total,de=re.pageNum,X(function(Le){Le.list=Le.list.concat(se),Le.page=de,Le.total=J,Le.loadingImagesType=void 0}),ce.next=17;break;case 13:return ce.prev=13,ce.t0=ce.catch(3),X(function(Le){Le.loadingImagesType=void 0}),ce.abrupt("return",Promise.reject(ce.t0));case 17:case"end":return ce.stop()}},Ee,null,[[3,13]])}));return function(Me,We){return je.apply(this,arguments)}}(),be=(0,h.Z)(function(){return Promise.all([(0,S.Cb)((0,L.BQ)("taskId")||""),(0,S.Iu)((0,L.BQ)("taskId")||"")])},{manual:!0,debounceWait:60,onSuccess:function(Ee){var Me=g()(Ee,2),We=Me[0],re=Me[1];X(function(se){se.categoryList=re.categoryList,se.taskRoles=We.roleList}),_(function(se){We.roleList.length&&(!se.roleId||!We.roleList.find(function(J){return J.id===se.roleId}))&&(se.roleId=We.roleList[0].id)})},onError:function(){}}),Te=be.loading,Ge=be.run,Je=function(){var Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Promise.all([Ge(),ge(T.Init,t()(t()({},Ee),{},{page:1}))])},Qe=function(){var je=d()(s()().mark(function Ee(){return s()().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(!(le.list.length0&&(re.curIndex=re.curIndex-1)}),We.abrupt("return",Promise.resolve());case 2:case"end":return We.stop()}},Ee)}));return function(){return je.apply(this,arguments)}}(),$e=function(){var je=d()(s()().mark(function Ee(){return s()().wrap(function(We){for(;;)switch(We.prev=We.next){case 0:if(!(le.curIndex=0;return{pageData:le,pageState:O,loading:Te||le.loadingImagesType===T.Init,loadPageData:Je,loadMore:Qe,onInitPageState:Q,projectId:U,taskId:A,curRole:G,userRoles:fe,tabItems:ie,labelImages:pe,isEditorVisible:me,onStatusTabChange:pt,onRoleChange:Et,clickItem:ft,onExitEditor:ne,onPrevImage:Wt,onNextImage:$e,onLabelSave:H,onReviewResult:R,onReviewAccept:P,onReviewReject:ae,onEnterEdit:Xe,onStartLabel:nt,onStartRework:Ke,onStartReview:ye}}},91290:function(b,y,e){"use strict";e.d(y,{$x:function(){return fe},Cb:function(){return ge},Cd:function(){return $},Iu:function(){return Te},J9:function(){return T},Jg:function(){return ft},NT:function(){return g},NV:function(){return F},Qm:function(){return K},ZJ:function(){return te},d5:function(){return A},eK:function(){return c},lw:function(){return N},mN:function(){return w},nQ:function(){return pt},nu:function(){return q},o9:function(){return h},vo:function(){return _},xv:function(){return x},zO:function(){return Je},zb:function(){return X}});var a=e(24454),t=e.n(a),o=e(63900),s=e.n(o),n=e(56592),d=e.n(n),l=e(97375);function c($e,Xe){return m.apply(this,arguments)}function m(){return m=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_projects",s()({method:"GET",params:Xe},nt||{})));case 1:case"end":return ye.stop()}},$e)})),m.apply(this,arguments)}function g($e,Xe){return M.apply(this,arguments)}function M(){return M=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_projects/".concat(Xe),s()({method:"GET"},nt||{})));case 1:case"end":return ye.stop()}},$e)})),M.apply(this,arguments)}function h($e,Xe){return S.apply(this,arguments)}function S(){return S=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_projects",s()({method:"POST",data:s()({},Xe)},nt||{})));case 1:case"end":return ye.stop()}},$e)})),S.apply(this,arguments)}function w($e,Xe,nt){return C.apply(this,arguments)}function C(){return C=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_project_configs/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),C.apply(this,arguments)}function F($e,Xe,nt){return Z.apply(this,arguments)}function Z(){return Z=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_projects/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),Z.apply(this,arguments)}function N($e,Xe,nt){return L.apply(this,arguments)}function L(){return L=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_project_qa/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),L.apply(this,arguments)}function $($e,Xe,nt){return D.apply(this,arguments)}function D(){return D=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_project_export/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),D.apply(this,arguments)}function T($e,Xe){return j.apply(this,arguments)}function j(){return j=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/dataset_name_lints",s()({method:"GET",params:Xe},nt||{})));case 1:case"end":return ye.stop()}},$e)})),j.apply(this,arguments)}function K($e,Xe){return k.apply(this,arguments)}function k(){return k=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/user_name_lints",s()({method:"GET",params:Xe},nt||{})));case 1:case"end":return ye.stop()}},$e)})),k.apply(this,arguments)}function te($e,Xe){return V.apply(this,arguments)}function V(){return V=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_tasks",s()({method:"GET",params:Xe},nt||{})));case 1:case"end":return ye.stop()}},$e)})),V.apply(this,arguments)}function q($e,Xe){return le.apply(this,arguments)}function le(){return le=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_leaders",s()({method:"POST",data:s()({},Xe)},nt||{})));case 1:case"end":return ye.stop()}},$e)})),le.apply(this,arguments)}function X($e,Xe,nt){return W.apply(this,arguments)}function W(){return W=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_workers/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),W.apply(this,arguments)}function x($e,Xe,nt){return O.apply(this,arguments)}function O(){return O=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_reassign/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),O.apply(this,arguments)}function _($e,Xe){return U.apply(this,arguments)}function U(){return U=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_restart/".concat(Xe),s()({method:"POST"},nt||{})));case 1:case"end":return ye.stop()}},$e)})),U.apply(this,arguments)}function A($e,Xe,nt){return G.apply(this,arguments)}function G(){return G=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_qa/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),G.apply(this,arguments)}function fe($e,Xe){return pe.apply(this,arguments)}function pe(){return pe=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_review_commit/".concat(Xe),s()({method:"POST"},nt||{})));case 1:case"end":return ye.stop()}},$e)})),pe.apply(this,arguments)}function ge($e,Xe){return be.apply(this,arguments)}function be(){return be=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_roles/".concat(Xe),s()({method:"GET"},nt||{})));case 1:case"end":return ye.stop()}},$e)})),be.apply(this,arguments)}function Te($e,Xe){return Ge.apply(this,arguments)}function Ge(){return Ge=d()(t()().mark(function $e(Xe,nt){return t()().wrap(function(ye){for(;;)switch(ye.prev=ye.next){case 0:return ye.abrupt("return",(0,l.request)("/api/v1/label_task_configs/".concat(Xe),s()({method:"GET"},nt||{})));case 1:case"end":return ye.stop()}},$e)})),Ge.apply(this,arguments)}function Je($e,Xe,nt){return Qe.apply(this,arguments)}function Qe(){return Qe=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_images/".concat(Xe),s()({method:"GET",params:nt},Ke||{})));case 1:case"end":return ne.stop()}},$e)})),Qe.apply(this,arguments)}function pt($e,Xe,nt){return Et.apply(this,arguments)}function Et(){return Et=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_image_labels/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{hideCodeErrorMsg:!0})));case 1:case"end":return ne.stop()}},$e)})),Et.apply(this,arguments)}function ft($e,Xe,nt){return Wt.apply(this,arguments)}function Wt(){return Wt=d()(t()().mark(function $e(Xe,nt,Ke){return t()().wrap(function(ne){for(;;)switch(ne.prev=ne.next){case 0:return ne.abrupt("return",(0,l.request)("/api/v1/label_task_image_reviews/".concat(Xe),s()({method:"POST",data:s()({},nt)},Ke||{hideCodeErrorMsg:!0})));case 1:case"end":return ne.stop()}},$e)})),Wt.apply(this,arguments)}},74595:function(b,y,e){"use strict";e.d(y,{B8:function(){return g},JC:function(){return h},WR:function(){return M},i0:function(){return c},iE:function(){return m}});var a=e(63900),t=e.n(a),o=e(34485),s=e.n(o),n=e(76180),d=e(39378),l=e.n(d),c=function(w){var C=0;return(0,d.includes)(w,"Classification")&&(C=1),(0,d.includes)(w,"Detection")&&(C=2),(0,d.includes)(w,"Segmentation")&&(C=3),(0,d.includes)(w,"Matting")&&(C=4),(0,d.includes)(w,"KeyPoints")&&(C=5),e(14677)("./card_cover_".concat(C,".png"))},m=function(w,C,F){if(!w||!C||F)return{colorAplha:n.iP[0],strokeDash:n.JQ[0],lineWidth:n.oM[0]};var Z=C.indexOf(w);return{colorAplha:n.iP[Z]||n.iP[0],strokeDash:n.JQ[Z]||n.JQ[0],lineWidth:n.oM[Z]||n.oM[0]}},g=function(w,C){var F=[],Z=[],N=w.filter(function(L){return n.EX.includes(L)});return C===n.JJ.Detection?(F=[n.zY.showBoxText],Z=F):C===n.JJ.Segmentation?(F=[n.zY.showSegFilling,n.zY.showSegContour],Z=F):C===n.JJ.Matting?F=[n.zY.showMattingColorFill]:C===n.JJ.KeyPoints&&(F=[n.zY.showKeyPointsLine,n.zY.showKeyPointsBox],Z=F),[[].concat(s()(n.EX),s()(F)),[].concat(s()(N),s()(Z))]},M=function(w,C,F){var Z=[];return F===n.JJ.Matting&&Z.push({id:"origin",name:"Origin image",source:n.$j.gt,comparePrecisions:[],confidenceRange:[0,1]}),C.length&&C.forEach(function(N){var L=w.find(function($){return $.id===N});L&&Z.push(t()({},L))}),Z},h=function(w,C,F){var Z=[];return C.length?(w.forEach(function(N){F===n.JJ.Matting&&Z.push(t()({},N)),Z.push.apply(Z,s()(new Array(C.length).fill({}).map(function(L,$){var D=t()({},N);return D.curLabelId=C[$],D})))}),Z):w}},17410:function(b,y,e){"use strict";e.d(y,{v_:function(){return wr},yj:function(){return zr},Uu:function(){return ta},ru:function(){return Er},Zo:function(){return ga},QD:function(){return Sr},Yq:function(){return sr},Ze:function(){return wn},gr:function(){return Rn},jB:function(){return Kr},HE:function(){return pr},ft:function(){return kr},GI:function(){return Xr},t:function(){return ma},Fv:function(){return ia},vL:function(){return Mr},TR:function(){return Ma},VC:function(){return Zn},ef:function(){return Yn},Xn:function(){return Ur},oP:function(){return Wn}});var a=e(2657),t=e.n(a),o=e(58757),s=Object.defineProperty,n=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(Pt,on,Mn)=>on in Pt?s(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,m=(Pt,on)=>{for(var Mn in on||(on={}))d.call(on,Mn)&&c(Pt,Mn,on[Mn]);if(n)for(var Mn of n(on))l.call(on,Mn)&&c(Pt,Mn,on[Mn]);return Pt};const g=Pt=>o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"1em",width:"1em"},Pt),o.createElement("path",{d:"M3 11h8V3H3v8zm2-6h4v4H5V5zm8-2v8h8V3h-8zm6 6h-4V5h4v4zM3 21h8v-8H3v8zm2-6h4v4H5v-4zm13-2h-2v3h-3v2h3v3h2v-3h3v-2h-3z"}));var M="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgaGVpZ2h0PSIxZW0iIHdpZHRoPSIxZW0iPjxwYXRoIGQ9Ik0zIDExaDhWM0gzdjh6bTItNmg0djRINVY1em04LTJ2OGg4VjNoLTh6bTYgNmgtNFY1aDR2NHpNMyAyMWg4di04SDN2OHptMi02aDR2NEg1di00em0xMy0yaC0ydjNoLTN2MmgzdjNoMnYtM2gzdi0yaC0zeiIvPjwvc3ZnPg==",h=Object.defineProperty,S=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,F=(Pt,on,Mn)=>on in Pt?h(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,Z=(Pt,on)=>{for(var Mn in on||(on={}))w.call(on,Mn)&&F(Pt,Mn,on[Mn]);if(S)for(var Mn of S(on))C.call(on,Mn)&&F(Pt,Mn,on[Mn]);return Pt};const N=Pt=>o.createElement("svg",Z({className:"delete_all_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Pt),o.createElement("path",{d:"M864 192v576h64V192c0-70.4-57.6-128-128-128H352v64h448c35.2 0 64 28.8 64 64z"}),o.createElement("path",{d:"M672 192H224c-70.4 0-128 57.6-128 128v512c0 70.4 57.6 128 128 128h448c70.4 0 128-57.6 128-128V320c0-70.4-57.6-128-128-128zm-73.235 489.51c12.445 12.445 12.445 32.81 0 45.255s-32.81 12.445-45.255 0L448 621.255l-105.51 105.51c-12.445 12.445-32.81 12.445-45.255 0s-12.445-32.81 0-45.255L402.745 576l-105.51-105.51c-12.445-12.445-12.445-32.81 0-45.255s32.81-12.445 45.255 0L448 530.745l105.51-105.51c12.445-12.445 32.81-12.445 45.255 0s12.445 32.81 0 45.255L493.255 576l105.51 105.51z"}));var L="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik04NjQgMTkydjU3Nmg2NFYxOTJjMC03MC40LTU3LjYtMTI4LTEyOC0xMjhIMzUydjY0aDQ0OGMzNS4yIDAgNjQgMjguOCA2NCA2NHoiLz48cGF0aCBkPSJNNjcyIDE5MkgyMjRjLTcwLjQgMC0xMjggNTcuNi0xMjggMTI4djUxMmMwIDcwLjQgNTcuNiAxMjggMTI4IDEyOGg0NDhjNzAuNCAwIDEyOC01Ny42IDEyOC0xMjhWMzIwYzAtNzAuNC01Ny42LTEyOC0xMjgtMTI4em0tNzMuMjM1IDQ4OS41MWMxMi40NDUgMTIuNDQ1IDEyLjQ0NSAzMi44MSAwIDQ1LjI1NXMtMzIuODEgMTIuNDQ1LTQ1LjI1NSAwTDQ0OCA2MjEuMjU1bC0xMDUuNTEgMTA1LjUxYy0xMi40NDUgMTIuNDQ1LTMyLjgxIDEyLjQ0NS00NS4yNTUgMHMtMTIuNDQ1LTMyLjgxIDAtNDUuMjU1TDQwMi43NDUgNTc2bC0xMDUuNTEtMTA1LjUxYy0xMi40NDUtMTIuNDQ1LTEyLjQ0NS0zMi44MSAwLTQ1LjI1NXMzMi44MS0xMi40NDUgNDUuMjU1IDBMNDQ4IDUzMC43NDVsMTA1LjUxLTEwNS41MWMxMi40NDUtMTIuNDQ1IDMyLjgxLTEyLjQ0NSA0NS4yNTUgMHMxMi40NDUgMzIuODEgMCA0NS4yNTVMNDkzLjI1NSA1NzZsMTA1LjUxIDEwNS41MXoiLz48L3N2Zz4=",$=Object.defineProperty,D=Object.getOwnPropertySymbols,T=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,K=(Pt,on,Mn)=>on in Pt?$(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,k=(Pt,on)=>{for(var Mn in on||(on={}))T.call(on,Mn)&&K(Pt,Mn,on[Mn]);if(D)for(var Mn of D(on))j.call(on,Mn)&&K(Pt,Mn,on[Mn]);return Pt};const te=Pt=>o.createElement("svg",k({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Pt),o.createElement("defs",null,o.createElement("style",null,".magic_svg__cls-1{fill:#fff}")),o.createElement("path",{className:"magic_svg__cls-1",d:"M26.08 18.47V16.6c0-.58.27-1.19 1-1.25s1.05.45 1.06 1.29v1.83h1.92c.76 0 1.25.46 1.19 1.08a1 1 0 0 1-1.18 1h-1.91v1.74c0 .91-.39 1.41-1.06 1.39s-1-.49-1-1.42v-1.71h-1.91c-.71 0-1.21-.29-1.21-1s.5-1 1.21-1ZM12.81 6.47h1.59a1 1 0 0 1 1 1 1 1 0 0 1-1 1.07h-1.58v1.5c0 .68-.38 1.11-1.07 1.1a1 1 0 0 1-1-1.08V8.54H9.29c-.68 0-1.13-.36-1.12-1s.46-1 1.14-1h1.44V5.01a1 1 0 1 1 2.06 0c.02.38 0 .87 0 1.46ZM19.93 24.67c.11-1.56.33-2 1.05-2s1 .44 1.12 2c.8.17 2.09-.2 2 1.22-.07 1.15-1.14.89-2 .95-.18.8.22 2.11-1.2 2-1.18-.07-.89-1.19-1-2-.84-.09-1.91.21-2-1.06-.07-.7.39-.94 2.03-1.11ZM30.2 6l-2.51-2.49a2.15 2.15 0 0 0-3.06 0L3.27 24.92a2.2 2.2 0 0 0 0 3.08l2.51 2.51a2.17 2.17 0 0 0 3.06 0L30.2 9.09a2.19 2.19 0 0 0 0-3.09ZM29 8.47l-4.39 4.39a.94.94 0 0 1-1.35 0l-2.28-2.28a1 1 0 0 1 0-1.36l4.38-4.39a1 1 0 0 1 1.36 0L29 7.11a1 1 0 0 1 0 1.36Z"}));var V="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMjYuMDggMTguNDdWMTYuNmMwLS41OC4yNy0xLjE5IDEtMS4yNXMxLjA1LjQ1IDEuMDYgMS4yOXYxLjgzaDEuOTJjLjc2IDAgMS4yNS40NiAxLjE5IDEuMDhhMSAxIDAgMCAxLTEuMTggMWgtMS45MXYxLjc0YzAgLjkxLS4zOSAxLjQxLTEuMDYgMS4zOXMtMS0uNDktMS0xLjQydi0xLjcxaC0xLjkxYy0uNzEgMC0xLjIxLS4yOS0xLjIxLTFzLjUtMSAxLjIxLTFaTTEyLjgxIDYuNDdoMS41OWExIDEgMCAwIDEgMSAxIDEgMSAwIDAgMS0xIDEuMDdoLTEuNTh2MS41YzAgLjY4LS4zOCAxLjExLTEuMDcgMS4xYTEgMSAwIDAgMS0xLTEuMDhWOC41NEg5LjI5Yy0uNjggMC0xLjEzLS4zNi0xLjEyLTFzLjQ2LTEgMS4xNC0xaDEuNDRWNS4wMWExIDEgMCAxIDEgMi4wNiAwYy4wMi4zOCAwIC44NyAwIDEuNDZaTTE5LjkzIDI0LjY3Yy4xMS0xLjU2LjMzLTIgMS4wNS0yczEgLjQ0IDEuMTIgMmMuOC4xNyAyLjA5LS4yIDIgMS4yMi0uMDcgMS4xNS0xLjE0Ljg5LTIgLjk1LS4xOC44LjIyIDIuMTEtMS4yIDItMS4xOC0uMDctLjg5LTEuMTktMS0yLS44NC0uMDktMS45MS4yMS0yLTEuMDYtLjA3LS43LjM5LS45NCAyLjAzLTEuMTFaTTMwLjIgNmwtMi41MS0yLjQ5YTIuMTUgMi4xNSAwIDAgMC0zLjA2IDBMMy4yNyAyNC45MmEyLjIgMi4yIDAgMCAwIDAgMy4wOGwyLjUxIDIuNTFhMi4xNyAyLjE3IDAgMCAwIDMuMDYgMEwzMC4yIDkuMDlhMi4xOSAyLjE5IDAgMCAwIDAtMy4wOVpNMjkgOC40N2wtNC4zOSA0LjM5YS45NC45NCAwIDAgMS0xLjM1IDBsLTIuMjgtMi4yOGExIDEgMCAwIDEgMC0xLjM2bDQuMzgtNC4zOWExIDEgMCAwIDEgMS4zNiAwTDI5IDcuMTFhMSAxIDAgMCAxIDAgMS4zNloiLz48L3N2Zz4=",q=Object.defineProperty,le=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable,x=(Pt,on,Mn)=>on in Pt?q(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,O=(Pt,on)=>{for(var Mn in on||(on={}))X.call(on,Mn)&&x(Pt,Mn,on[Mn]);if(le)for(var Mn of le(on))W.call(on,Mn)&&x(Pt,Mn,on[Mn]);return Pt};const _=Pt=>o.createElement("svg",O({viewBox:"0 0 33 33",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#mask-ai_svg__a)"},o.createElement("path",{d:"M15.278 33H6.753c-1.77 0-2.435-.664-2.103-2.436.443-1.993.886-3.985 1.218-5.978.11-.665.443-.886 1.107-.886h16.718c.664 0 .996.332 1.107.886.443 1.993.886 3.985 1.218 5.978.332 1.772-.222 2.436-2.104 2.436h-8.636ZM15.39 20.6H7.306c-.996 0-1.107-.11-1.107-1.218v-1.66c0-1.218.554-1.772 1.882-1.772h3.432c.665 0 .997-.221.886-.886V5.432c0-1.66.886-2.99 2.325-3.321 1.993-.554 3.764.996 3.764 3.21v9.3c0 1.44 0 1.329 1.33 1.329h3.21c1.107 0 1.66.554 1.66 1.66v1.994c0 .775-.332.996-.996.996H15.39Z"})),o.createElement("path",{d:"M26.928 11.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L28.968 13h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V13h-1.368V4.66h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"mask-ai_svg__a"},o.createElement("path",{transform:"translate(0 2)",d:"M0 0h31v31H0z"}))));var U="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzMgMzMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTUuMjc4IDMzSDYuNzUzYy0xLjc3IDAtMi40MzUtLjY2NC0yLjEwMy0yLjQzNi40NDMtMS45OTMuODg2LTMuOTg1IDEuMjE4LTUuOTc4LjExLS42NjUuNDQzLS44ODYgMS4xMDctLjg4NmgxNi43MThjLjY2NCAwIC45OTYuMzMyIDEuMTA3Ljg4Ni40NDMgMS45OTMuODg2IDMuOTg1IDEuMjE4IDUuOTc4LjMzMiAxLjc3Mi0uMjIyIDIuNDM2LTIuMTA0IDIuNDM2aC04LjYzNlpNMTUuMzkgMjAuNkg3LjMwNmMtLjk5NiAwLTEuMTA3LS4xMS0xLjEwNy0xLjIxOHYtMS42NmMwLTEuMjE4LjU1NC0xLjc3MiAxLjg4Mi0xLjc3MmgzLjQzMmMuNjY1IDAgLjk5Ny0uMjIxLjg4Ni0uODg2VjUuNDMyYzAtMS42Ni44ODYtMi45OSAyLjMyNS0zLjMyMSAxLjk5My0uNTU0IDMuNzY0Ljk5NiAzLjc2NCAzLjIxdjkuM2MwIDEuNDQgMCAxLjMyOSAxLjMzIDEuMzI5aDMuMjFjMS4xMDcgMCAxLjY2LjU1NCAxLjY2IDEuNjZ2MS45OTRjMCAuNzc1LS4zMzIuOTk2LS45OTYuOTk2SDE1LjM5WiIvPjwvZz48cGF0aCBkPSJNMjYuOTI4IDExLjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwyOC45NjggMTNoLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxM2gtMS4zNjhWNC42NmgxLjM2OFoiLz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMikiIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",A=Object.defineProperty,G=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ge=(Pt,on,Mn)=>on in Pt?A(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,be=(Pt,on)=>{for(var Mn in on||(on={}))fe.call(on,Mn)&&ge(Pt,Mn,on[Mn]);if(G)for(var Mn of G(on))pe.call(on,Mn)&&ge(Pt,Mn,on[Mn]);return Pt};const Te=Pt=>o.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34 34"},Pt),o.createElement("path",{className:"mask_svg__cls-1",d:"M17.29 31.49H9.44c-1.68 0-2.24-.66-1.92-2.28.36-1.83.77-3.66 1.13-5.49a.9.9 0 0 1 1-.84h15.39a.91.91 0 0 1 1 .85c.37 1.83.78 3.65 1.13 5.48.32 1.62-.24 2.28-1.92 2.28-2.63.01-5.25 0-7.96 0ZM17.39 20.05H9.92c-1 0-1.09-.12-1.09-1.06v-1.72a1.36 1.36 0 0 1 1.44-1.46h3.51c.56 0 .74-.19.73-.74 0-2.89.05-5.78 0-8.67C14.43 3.93 16 2.94 17.38 3s2.93 1 2.87 3.48c-.07 2.84 0 5.68 0 8.52 0 .64.16.89.84.86 1.09-.05 2.19 0 3.29 0a1.4 1.4 0 0 1 1.56 1.57v1.8c0 .6-.36.89-1 .89Z"}),o.createElement("path",{style:{fill:"none"},d:"M2.89 2.83h28.35v28.35H2.89z"}));var Ge="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNCAzNCI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTcuMjkgMzEuNDlIOS40NGMtMS42OCAwLTIuMjQtLjY2LTEuOTItMi4yOC4zNi0xLjgzLjc3LTMuNjYgMS4xMy01LjQ5YS45LjkgMCAwIDEgMS0uODRoMTUuMzlhLjkxLjkxIDAgMCAxIDEgLjg1Yy4zNyAxLjgzLjc4IDMuNjUgMS4xMyA1LjQ4LjMyIDEuNjItLjI0IDIuMjgtMS45MiAyLjI4LTIuNjMuMDEtNS4yNSAwLTcuOTYgMFpNMTcuMzkgMjAuMDVIOS45MmMtMSAwLTEuMDktLjEyLTEuMDktMS4wNnYtMS43MmExLjM2IDEuMzYgMCAwIDEgMS40NC0xLjQ2aDMuNTFjLjU2IDAgLjc0LS4xOS43My0uNzQgMC0yLjg5LjA1LTUuNzggMC04LjY3QzE0LjQzIDMuOTMgMTYgMi45NCAxNy4zOCAzczIuOTMgMSAyLjg3IDMuNDhjLS4wNyAyLjg0IDAgNS42OCAwIDguNTIgMCAuNjQuMTYuODkuODQuODYgMS4wOS0uMDUgMi4xOSAwIDMuMjkgMGExLjQgMS40IDAgMCAxIDEuNTYgMS41N3YxLjhjMCAuNi0uMzYuODktMSAuODlaIi8+PHBhdGggc3R5bGU9ImZpbGw6bm9uZSIgZD0iTTIuODkgMi44M2gyOC4zNXYyOC4zNUgyLjg5eiIvPjwvc3ZnPg==",Je=Object.defineProperty,Qe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,ft=(Pt,on,Mn)=>on in Pt?Je(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,Wt=(Pt,on)=>{for(var Mn in on||(on={}))pt.call(on,Mn)&&ft(Pt,Mn,on[Mn]);if(Qe)for(var Mn of Qe(on))Et.call(on,Mn)&&ft(Pt,Mn,on[Mn]);return Pt};const $e=Pt=>o.createElement("svg",Wt({viewBox:"0 0 35 31",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#polygon-ai_svg__a)"},o.createElement("path",{d:"M27.125 23.25c-.534 0-1.042.108-1.505.303l-5.444-6.17a3.854 3.854 0 0 0-.008-3.782l5.403-6.178c.477.21 1.002.327 1.554.327A3.88 3.88 0 0 0 31 3.875 3.88 3.88 0 0 0 27.125 0a3.88 3.88 0 0 0-3.653 2.583H7.528A3.88 3.88 0 0 0 3.875 0 3.88 3.88 0 0 0 0 3.875a3.88 3.88 0 0 0 2.583 3.653v15.944A3.88 3.88 0 0 0 0 27.125 3.88 3.88 0 0 0 3.875 31a3.88 3.88 0 0 0 3.653-2.583h15.944A3.88 3.88 0 0 0 27.125 31 3.88 3.88 0 0 0 31 27.125a3.88 3.88 0 0 0-3.875-3.875ZM7.528 5.167h15.944c.06.168.132.332.213.488l-5.46 6.245a3.854 3.854 0 0 0-1.433-.275 3.88 3.88 0 0 0-3.875 3.875 3.88 3.88 0 0 0 3.875 3.875c.511 0 1-.1 1.448-.282l5.471 6.202a3.937 3.937 0 0 0-.239.538H7.528a3.894 3.894 0 0 0-2.361-2.36V7.527a3.894 3.894 0 0 0 2.36-2.361Z"})),o.createElement("path",{d:"M28.928 17.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L30.968 19h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V19h-1.368v-8.34h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"polygon-ai_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var Xe="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzUgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjcuMTI1IDIzLjI1Yy0uNTM0IDAtMS4wNDIuMTA4LTEuNTA1LjMwM2wtNS40NDQtNi4xN2EzLjg1NCAzLjg1NCAwIDAgMC0uMDA4LTMuNzgybDUuNDAzLTYuMTc4Yy40NzcuMjEgMS4wMDIuMzI3IDEuNTU0LjMyN0EzLjg4IDMuODggMCAwIDAgMzEgMy44NzUgMy44OCAzLjg4IDAgMCAwIDI3LjEyNSAwYTMuODggMy44OCAwIDAgMC0zLjY1MyAyLjU4M0g3LjUyOEEzLjg4IDMuODggMCAwIDAgMy44NzUgMCAzLjg4IDMuODggMCAwIDAgMCAzLjg3NWEzLjg4IDMuODggMCAwIDAgMi41ODMgMy42NTN2MTUuOTQ0QTMuODggMy44OCAwIDAgMCAwIDI3LjEyNSAzLjg4IDMuODggMCAwIDAgMy44NzUgMzFhMy44OCAzLjg4IDAgMCAwIDMuNjUzLTIuNTgzaDE1Ljk0NEEzLjg4IDMuODggMCAwIDAgMjcuMTI1IDMxIDMuODggMy44OCAwIDAgMCAzMSAyNy4xMjVhMy44OCAzLjg4IDAgMCAwLTMuODc1LTMuODc1Wk03LjUyOCA1LjE2N2gxNS45NDRjLjA2LjE2OC4xMzIuMzMyLjIxMy40ODhsLTUuNDYgNi4yNDVhMy44NTQgMy44NTQgMCAwIDAtMS40MzMtLjI3NSAzLjg4IDMuODggMCAwIDAtMy44NzUgMy44NzUgMy44OCAzLjg4IDAgMCAwIDMuODc1IDMuODc1Yy41MTEgMCAxLS4xIDEuNDQ4LS4yODJsNS40NzEgNi4yMDJhMy45MzcgMy45MzcgMCAwIDAtLjIzOS41MzhINy41MjhhMy44OTQgMy44OTQgMCAwIDAtMi4zNjEtMi4zNlY3LjUyN2EzLjg5NCAzLjg5NCAwIDAgMCAyLjM2LTIuMzYxWiIvPjwvZz48cGF0aCBkPSJNMjguOTI4IDE3LjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwzMC45NjggMTloLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxOWgtMS4zNjh2LTguMzRoMS4zNjhaIi8+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDMxdjMxSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",nt=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,H=(Pt,on,Mn)=>on in Pt?nt(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,R=(Pt,on)=>{for(var Mn in on||(on={}))ye.call(on,Mn)&&H(Pt,Mn,on[Mn]);if(Ke)for(var Mn of Ke(on))ne.call(on,Mn)&&H(Pt,Mn,on[Mn]);return Pt};const P=Pt=>o.createElement("svg",R({viewBox:"0 0 31 31",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#polygon_svg__a)"},o.createElement("path",{d:"M27.125 23.25c-.534 0-1.042.108-1.505.303l-5.444-6.17a3.854 3.854 0 0 0-.008-3.782l5.403-6.178c.477.21 1.002.327 1.554.327A3.88 3.88 0 0 0 31 3.875 3.88 3.88 0 0 0 27.125 0a3.88 3.88 0 0 0-3.653 2.583H7.528A3.88 3.88 0 0 0 3.875 0 3.88 3.88 0 0 0 0 3.875a3.88 3.88 0 0 0 2.583 3.653v15.944A3.88 3.88 0 0 0 0 27.125 3.88 3.88 0 0 0 3.875 31a3.88 3.88 0 0 0 3.653-2.583h15.944A3.88 3.88 0 0 0 27.125 31 3.88 3.88 0 0 0 31 27.125a3.88 3.88 0 0 0-3.875-3.875ZM7.528 5.167h15.944c.06.168.132.332.213.488l-5.46 6.245a3.854 3.854 0 0 0-1.433-.275 3.88 3.88 0 0 0-3.875 3.875 3.88 3.88 0 0 0 3.875 3.875c.511 0 1-.1 1.448-.282l5.471 6.202a3.937 3.937 0 0 0-.239.538H7.528a3.894 3.894 0 0 0-2.361-2.36V7.527a3.894 3.894 0 0 0 2.36-2.361Z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"polygon_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var ae="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjcuMTI1IDIzLjI1Yy0uNTM0IDAtMS4wNDIuMTA4LTEuNTA1LjMwM2wtNS40NDQtNi4xN2EzLjg1NCAzLjg1NCAwIDAgMC0uMDA4LTMuNzgybDUuNDAzLTYuMTc4Yy40NzcuMjEgMS4wMDIuMzI3IDEuNTU0LjMyN0EzLjg4IDMuODggMCAwIDAgMzEgMy44NzUgMy44OCAzLjg4IDAgMCAwIDI3LjEyNSAwYTMuODggMy44OCAwIDAgMC0zLjY1MyAyLjU4M0g3LjUyOEEzLjg4IDMuODggMCAwIDAgMy44NzUgMCAzLjg4IDMuODggMCAwIDAgMCAzLjg3NWEzLjg4IDMuODggMCAwIDAgMi41ODMgMy42NTN2MTUuOTQ0QTMuODggMy44OCAwIDAgMCAwIDI3LjEyNSAzLjg4IDMuODggMCAwIDAgMy44NzUgMzFhMy44OCAzLjg4IDAgMCAwIDMuNjUzLTIuNTgzaDE1Ljk0NEEzLjg4IDMuODggMCAwIDAgMjcuMTI1IDMxIDMuODggMy44OCAwIDAgMCAzMSAyNy4xMjVhMy44OCAzLjg4IDAgMCAwLTMuODc1LTMuODc1Wk03LjUyOCA1LjE2N2gxNS45NDRjLjA2LjE2OC4xMzIuMzMyLjIxMy40ODhsLTUuNDYgNi4yNDVhMy44NTQgMy44NTQgMCAwIDAtMS40MzMtLjI3NSAzLjg4IDMuODggMCAwIDAtMy44NzUgMy44NzUgMy44OCAzLjg4IDAgMCAwIDMuODc1IDMuODc1Yy41MTEgMCAxLS4xIDEuNDQ4LS4yODJsNS40NzEgNi4yMDJhMy45MzcgMy45MzcgMCAwIDAtLjIzOS41MzhINy41MjhhMy44OTQgMy44OTQgMCAwIDAtMi4zNjEtMi4zNlY3LjUyN2EzLjg5NCAzLjg5NCAwIDAgMCAyLjM2LTIuMzYxWiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",Q=Object.defineProperty,ie=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ee=(Pt,on,Mn)=>on in Pt?Q(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,Me=(Pt,on)=>{for(var Mn in on||(on={}))me.call(on,Mn)&&Ee(Pt,Mn,on[Mn]);if(ie)for(var Mn of ie(on))je.call(on,Mn)&&Ee(Pt,Mn,on[Mn]);return Pt};const We=Pt=>o.createElement("svg",Me({viewBox:"0 0 29 29",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("path",{d:"M27.32 6.07a1 1 0 0 0 1-1V1.01a1 1 0 0 0-1-1.001h-4.05a1 1 0 0 0-1 1v1H6.06v-1a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1h1V22.26H1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-4.03a1 1 0 0 0-1-1h-1V6.07h1.02Zm-3 16.2h-1a1 1 0 0 0-1 1v1H6.06v-1a1 1 0 0 0-1-1h-1V6.07h1a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h1l.06 16.2Z"}),o.createElement("path",{d:"M13.928 17.305h-3.492l-.6 1.704H8.408l2.988-8.352h1.584l2.988 8.352h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52v8.34h-1.368v-8.34h1.368Z"}));var re="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjkgMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTI3LjMyIDYuMDdhMSAxIDAgMCAwIDEtMVYxLjAxYTEgMSAwIDAgMC0xLTEuMDAxaC00LjA1YTEgMSAwIDAgMC0xIDF2MUg2LjA2di0xYTEgMSAwIDAgMC0xLTFIMWExIDEgMCAwIDAtMSAxdjQuMDVhMSAxIDAgMCAwIDEgMWgxVjIyLjI2SDFhMSAxIDAgMCAwLTEgMXY0LjA1YTEgMSAwIDAgMCAxIDFoNC4wNWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDQuMDVhMSAxIDAgMCAwIDEtMXYtNC4wM2ExIDEgMCAwIDAtMS0xaC0xVjYuMDdoMS4wMlptLTMgMTYuMmgtMWExIDEgMCAwIDAtMSAxdjFINi4wNnYtMWExIDEgMCAwIDAtMS0xaC0xVjYuMDdoMWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDFsLjA2IDE2LjJaIi8+PHBhdGggZD0iTTEzLjkyOCAxNy4zMDVoLTMuNDkybC0uNiAxLjcwNEg4LjQwOGwyLjk4OC04LjM1MmgxLjU4NGwyLjk4OCA4LjM1MmgtMS40NGwtLjYtMS43MDRabS0uMzg0LTEuMTE2LTEuMzU2LTMuODc2LTEuMzY4IDMuODc2aDIuNzI0Wm01LjA5MS01LjUydjguMzRoLTEuMzY4di04LjM0aDEuMzY4WiIvPjwvc3ZnPg==",se=Object.defineProperty,J=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,ce=(Pt,on,Mn)=>on in Pt?se(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,Le=(Pt,on)=>{for(var Mn in on||(on={}))de.call(on,Mn)&&ce(Pt,Mn,on[Mn]);if(J)for(var Mn of J(on))xe.call(on,Mn)&&ce(Pt,Mn,on[Mn]);return Pt};const Oe=Pt=>o.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Pt),o.createElement("path",{className:"rectangle_svg__cls-1",d:"M30.17 8.91a1 1 0 0 0 1-1V3.85a1 1 0 0 0-1-1h-4.05a1 1 0 0 0-1 1v1H8.91v-1a1 1 0 0 0-1-1H3.85a1 1 0 0 0-1 1V7.9a1 1 0 0 0 1 1h1v16.2h-1a1 1 0 0 0-1 1v4.05a1 1 0 0 0 1 1H7.9a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h4.05a1 1 0 0 0 1-1v-4.03a1 1 0 0 0-1-1h-1V8.91Zm-3 16.2h-1a1 1 0 0 0-1 1v1H8.91v-1a1 1 0 0 0-1-1h-1V8.91h1a1 1 0 0 0 1-1v-1h16.2v1a1 1 0 0 0 1 1h1Z"}),o.createElement("path",{className:"rectangle_svg__cls-2",fill:"none",d:"M2.83 2.83h28.35v28.35H2.83z"}));var we="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMzAuMTcgOC45MWExIDEgMCAwIDAgMS0xVjMuODVhMSAxIDAgMCAwLTEtMWgtNC4wNWExIDEgMCAwIDAtMSAxdjFIOC45MXYtMWExIDEgMCAwIDAtMS0xSDMuODVhMSAxIDAgMCAwLTEgMVY3LjlhMSAxIDAgMCAwIDEgMWgxdjE2LjJoLTFhMSAxIDAgMCAwLTEgMXY0LjA1YTEgMSAwIDAgMCAxIDFINy45YTEgMSAwIDAgMCAxLTF2LTFoMTYuMnYxYTEgMSAwIDAgMCAxIDFoNC4wNWExIDEgMCAwIDAgMS0xdi00LjAzYTEgMSAwIDAgMC0xLTFoLTFWOC45MVptLTMgMTYuMmgtMWExIDEgMCAwIDAtMSAxdjFIOC45MXYtMWExIDEgMCAwIDAtMS0xaC0xVjguOTFoMWExIDEgMCAwIDAgMS0xdi0xaDE2LjJ2MWExIDEgMCAwIDAgMSAxaDFaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBmaWxsPSJub25lIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PC9zdmc+",Ne=Object.defineProperty,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ke=(Pt,on,Mn)=>on in Pt?Ne(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,Be=(Pt,on)=>{for(var Mn in on||(on={}))et.call(on,Mn)&&ke(Pt,Mn,on[Mn]);if(st)for(var Mn of st(on))Ye.call(on,Mn)&&ke(Pt,Mn,on[Mn]);return Pt};const it=Pt=>o.createElement("svg",Be({className:"redo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Pt),o.createElement("path",{d:"m1017.173 430.08-477.866-307.2c-6.827-3.413-13.654-3.413-17.067 0-6.827 3.413-10.24 6.827-10.24 13.653v187.734c-341.333 10.24-508.587 337.92-512 563.2v3.413c0 6.827 6.827 13.653 17.067 13.653s17.066-6.826 17.066-17.066c3.414-51.2 228.694-279.894 477.867-290.134v187.734c0 6.826 3.413 13.653 10.24 13.653 6.827 3.413 13.653 3.413 17.067 0l477.866-341.333c3.414-3.414 6.827-10.24 6.827-13.654s-3.413-10.24-6.827-13.653z",fill:"#fff"}));var Ve="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Im0xMDE3LjE3MyA0MzAuMDgtNDc3Ljg2Ni0zMDcuMmMtNi44MjctMy40MTMtMTMuNjU0LTMuNDEzLTE3LjA2NyAwLTYuODI3IDMuNDEzLTEwLjI0IDYuODI3LTEwLjI0IDEzLjY1M3YxODcuNzM0Yy0zNDEuMzMzIDEwLjI0LTUwOC41ODcgMzM3LjkyLTUxMiA1NjMuMnYzLjQxM2MwIDYuODI3IDYuODI3IDEzLjY1MyAxNy4wNjcgMTMuNjUzczE3LjA2Ni02LjgyNiAxNy4wNjYtMTcuMDY2YzMuNDE0LTUxLjIgMjI4LjY5NC0yNzkuODk0IDQ3Ny44NjctMjkwLjEzNHYxODcuNzM0YzAgNi44MjYgMy40MTMgMTMuNjUzIDEwLjI0IDEzLjY1MyA2LjgyNyAzLjQxMyAxMy42NTMgMy40MTMgMTcuMDY3IDBsNDc3Ljg2Ni0zNDEuMzMzYzMuNDE0LTMuNDE0IDYuODI3LTEwLjI0IDYuODI3LTEzLjY1NHMtMy40MTMtMTAuMjQtNi44MjctMTMuNjUzeiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",xt=Object.defineProperty,Ht=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,_t=(Pt,on,Mn)=>on in Pt?xt(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,yt=(Pt,on)=>{for(var Mn in on||(on={}))Ot.call(on,Mn)&&_t(Pt,Mn,on[Mn]);if(Ht)for(var Mn of Ht(on))wt.call(on,Mn)&&_t(Pt,Mn,on[Mn]);return Pt};const ze=Pt=>o.createElement("svg",yt({className:"repeat_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Pt),o.createElement("path",{d:"M0 448c0 35.4 28.6 64 64 64s64-28.6 64-64c0-106 86-192 192-192h320v64c0 25.8 15.6 49.2 39.6 59.2s51.4 4.4 69.8-13.8l128-128c25-25 25-65.6 0-90.6l-128-128C731 .4 703.6-5 679.6 5S640 38.2 640 64v64H320C143.2 128 0 271.2 0 448zm1024 128c0-35.4-28.6-64-64-64s-64 28.6-64 64c0 106-86 192-192 192H384v-64c0-25.8-15.6-49.2-39.6-59.2s-51.4-4.4-69.8 13.8l-128 128c-25 25-25 65.6 0 90.6l128 128c18.4 18.4 45.8 23.8 69.8 13.8s39.6-33.2 39.6-59.2V896h320c176.8 0 320-143.2 320-320z",fill:"#fff"}));var tt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik0wIDQ0OGMwIDM1LjQgMjguNiA2NCA2NCA2NHM2NC0yOC42IDY0LTY0YzAtMTA2IDg2LTE5MiAxOTItMTkyaDMyMHY2NGMwIDI1LjggMTUuNiA0OS4yIDM5LjYgNTkuMnM1MS40IDQuNCA2OS44LTEzLjhsMTI4LTEyOGMyNS0yNSAyNS02NS42IDAtOTAuNmwtMTI4LTEyOEM3MzEgLjQgNzAzLjYtNSA2NzkuNiA1UzY0MCAzOC4yIDY0MCA2NHY2NEgzMjBDMTQzLjIgMTI4IDAgMjcxLjIgMCA0NDh6bTEwMjQgMTI4YzAtMzUuNC0yOC42LTY0LTY0LTY0cy02NCAyOC42LTY0IDY0YzAgMTA2LTg2IDE5Mi0xOTIgMTkySDM4NHYtNjRjMC0yNS44LTE1LjYtNDkuMi0zOS42LTU5LjJzLTUxLjQtNC40LTY5LjggMTMuOGwtMTI4IDEyOGMtMjUgMjUtMjUgNjUuNiAwIDkwLjZsMTI4IDEyOGMxOC40IDE4LjQgNDUuOCAyMy44IDY5LjggMTMuOHMzOS42LTMzLjIgMzkuNi01OS4yVjg5NmgzMjBjMTc2LjggMCAzMjAtMTQzLjIgMzIwLTMyMHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",St=Object.defineProperty,lt=Object.getOwnPropertySymbols,Gt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,At=(Pt,on,Mn)=>on in Pt?St(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,Ie=(Pt,on)=>{for(var Mn in on||(on={}))Gt.call(on,Mn)&&At(Pt,Mn,on[Mn]);if(lt)for(var Mn of lt(on))Nt.call(on,Mn)&&At(Pt,Mn,on[Mn]);return Pt};const Se=Pt=>o.createElement("svg",Ie({viewBox:"0 0 31 35",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#skeleton-ai_svg__a)"},o.createElement("path",{d:"M25.833 19.5a5.161 5.161 0 0 0-4.097 2.023l-.09-.039a6.459 6.459 0 0 0-7.762-8.237l-.118-.222a5.16 5.16 0 1 0-2.297 1.18l.094.176a6.448 6.448 0 0 0-1.465 8.654l-2.435 2.277a5.167 5.167 0 1 0 1.88 1.78l2.374-2.22a6.45 6.45 0 0 0 8.446-1.125l.36.154a5.167 5.167 0 1 0 5.11-4.401ZM7.75 9.167a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0Zm-2.583 23.25a2.583 2.583 0 1 1 0-5.166 2.583 2.583 0 0 1 0 5.166ZM15.5 23.375a3.874 3.874 0 0 1-2.067-7.148l.526-.28a3.876 3.876 0 1 1 1.54 7.428Zm10.333 3.875a2.583 2.583 0 1 1 0-5.165 2.583 2.583 0 0 1 0 5.165Z"})),o.createElement("path",{d:"M24.928 11.296h-3.492l-.6 1.704h-1.428l2.988-8.352h1.584L26.968 13h-1.44l-.6-1.704Zm-.384-1.116-1.356-3.876-1.368 3.876h2.724Zm5.091-5.52V13h-1.368V4.66h1.368Z"}),o.createElement("defs",null,o.createElement("clipPath",{id:"skeleton-ai_svg__a"},o.createElement("path",{transform:"translate(0 4)",d:"M0 0h31v31H0z"}))));var bt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjUuODMzIDE5LjVhNS4xNjEgNS4xNjEgMCAwIDAtNC4wOTcgMi4wMjNsLS4wOS0uMDM5YTYuNDU5IDYuNDU5IDAgMCAwLTcuNzYyLTguMjM3bC0uMTE4LS4yMjJhNS4xNiA1LjE2IDAgMSAwLTIuMjk3IDEuMThsLjA5NC4xNzZhNi40NDggNi40NDggMCAwIDAtMS40NjUgOC42NTRsLTIuNDM1IDIuMjc3YTUuMTY3IDUuMTY3IDAgMSAwIDEuODggMS43OGwyLjM3NC0yLjIyYTYuNDUgNi40NSAwIDAgMCA4LjQ0Ni0xLjEyNWwuMzYuMTU0YTUuMTY3IDUuMTY3IDAgMSAwIDUuMTEtNC40MDFaTTcuNzUgOS4xNjdhMi41ODMgMi41ODMgMCAxIDEgNS4xNjcgMCAyLjU4MyAyLjU4MyAwIDAgMS01LjE2NyAwWm0tMi41ODMgMjMuMjVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NiAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY2Wk0xNS41IDIzLjM3NWEzLjg3NCAzLjg3NCAwIDAgMS0yLjA2Ny03LjE0OGwuNTI2LS4yOGEzLjg3NiAzLjg3NiAwIDEgMSAxLjU0IDcuNDI4Wm0xMC4zMzMgMy44NzVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NSAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY1WiIvPjwvZz48cGF0aCBkPSJNMjQuOTI4IDExLjI5NmgtMy40OTJsLS42IDEuNzA0aC0xLjQyOGwyLjk4OC04LjM1MmgxLjU4NEwyNi45NjggMTNoLTEuNDRsLS42LTEuNzA0Wm0tLjM4NC0xLjExNi0xLjM1Ni0zLjg3Ni0xLjM2OCAzLjg3NmgyLjcyNFptNS4wOTEtNS41MlYxM2gtMS4zNjhWNC42NmgxLjM2OFoiLz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNCkiIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",jt=Object.defineProperty,He=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Zt=(Pt,on,Mn)=>on in Pt?jt(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,qt=(Pt,on)=>{for(var Mn in on||(on={}))qe.call(on,Mn)&&Zt(Pt,Mn,on[Mn]);if(He)for(var Mn of He(on))$t.call(on,Mn)&&Zt(Pt,Mn,on[Mn]);return Pt};const un=Pt=>o.createElement("svg",qt({viewBox:"0 0 31 31",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#skeleton_svg__a)"},o.createElement("path",{d:"M25.833 15.5a5.161 5.161 0 0 0-4.097 2.023l-.09-.039a6.459 6.459 0 0 0-7.762-8.237l-.118-.222a5.16 5.16 0 1 0-2.297 1.18l.094.176a6.448 6.448 0 0 0-1.465 8.654l-2.435 2.277a5.167 5.167 0 1 0 1.88 1.78l2.374-2.22a6.45 6.45 0 0 0 8.446-1.125l.36.154a5.167 5.167 0 1 0 5.11-4.401ZM7.75 5.167a2.583 2.583 0 1 1 5.167 0 2.583 2.583 0 0 1-5.167 0Zm-2.583 23.25a2.583 2.583 0 1 1 0-5.166 2.583 2.583 0 0 1 0 5.166ZM15.5 19.375a3.874 3.874 0 0 1-2.067-7.148l.526-.28a3.876 3.876 0 1 1 1.54 7.428Zm10.333 3.875a2.583 2.583 0 1 1 0-5.165 2.583 2.583 0 0 1 0 5.165Z"})),o.createElement("defs",null,o.createElement("clipPath",{id:"skeleton_svg__a"},o.createElement("path",{d:"M0 0h31v31H0z"}))));var xn="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzEgMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjUuODMzIDE1LjVhNS4xNjEgNS4xNjEgMCAwIDAtNC4wOTcgMi4wMjNsLS4wOS0uMDM5YTYuNDU5IDYuNDU5IDAgMCAwLTcuNzYyLTguMjM3bC0uMTE4LS4yMjJhNS4xNiA1LjE2IDAgMSAwLTIuMjk3IDEuMThsLjA5NC4xNzZhNi40NDggNi40NDggMCAwIDAtMS40NjUgOC42NTRsLTIuNDM1IDIuMjc3YTUuMTY3IDUuMTY3IDAgMSAwIDEuODggMS43OGwyLjM3NC0yLjIyYTYuNDUgNi40NSAwIDAgMCA4LjQ0Ni0xLjEyNWwuMzYuMTU0YTUuMTY3IDUuMTY3IDAgMSAwIDUuMTEtNC40MDFaTTcuNzUgNS4xNjdhMi41ODMgMi41ODMgMCAxIDEgNS4xNjcgMCAyLjU4MyAyLjU4MyAwIDAgMS01LjE2NyAwWm0tMi41ODMgMjMuMjVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NiAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY2Wk0xNS41IDE5LjM3NWEzLjg3NCAzLjg3NCAwIDAgMS0yLjA2Ny03LjE0OGwuNTI2LS4yOGEzLjg3NiAzLjg3NiAwIDEgMSAxLjU0IDcuNDI4Wm0xMC4zMzMgMy44NzVhMi41ODMgMi41ODMgMCAxIDEgMC01LjE2NSAyLjU4MyAyLjU4MyAwIDAgMSAwIDUuMTY1WiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0wIDBoMzF2MzFIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",pn=Object.defineProperty,Gn=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,br=(Pt,on,Mn)=>on in Pt?pn(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,zt=(Pt,on)=>{for(var Mn in on||(on={}))Qn.call(on,Mn)&&br(Pt,Mn,on[Mn]);if(Gn)for(var Mn of Gn(on))ur.call(on,Mn)&&br(Pt,Mn,on[Mn]);return Pt};const en=Pt=>o.createElement("svg",zt({viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#text-prompt_svg__a)"},o.createElement("path",{d:"M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49Z",fill:"#CCDCFF"}),o.createElement("path",{d:"M4.64 16.275v16.45H24.5l9.93-8.225-9.93-8.225H4.64Z",fill:"#fff"}),o.createElement("path",{d:"M24.5 16.275h19.86v16.45H24.5v-16.45Z",fill:"#E8E8E8"}),o.createElement("path",{d:"M15.06 13.87v-3.243H6.646v3.242h2.586v21.262H6.646v3.242h8.414v-3.242h-2.585V13.869h2.585Z",fill:"#5C5B68"}),o.createElement("path",{d:"M15.69 26.757h6.247v2.871H15.69v-2.87Z",fill:"#397DEA"}),o.createElement("path",{d:"M25.24 26.757h6.247v2.871H25.24v-2.87ZM34.79 26.757h6.247v2.871H34.79v-2.87Z",fill:"#2C5DBF"})),o.createElement("defs",null,o.createElement("clipPath",{id:"text-prompt_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h49v49H0z"}))));var an="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjQuNSA0OUMzOC4wMzEgNDkgNDkgMzguMDMxIDQ5IDI0LjVTMzguMDMxIDAgMjQuNSAwIDAgMTAuOTY5IDAgMjQuNSAxMC45NjkgNDkgMjQuNSA0OVoiIGZpbGw9IiNDQ0RDRkYiLz48cGF0aCBkPSJNNC42NCAxNi4yNzV2MTYuNDVIMjQuNWw5LjkzLTguMjI1LTkuOTMtOC4yMjVINC42NFoiIGZpbGw9IiNmZmYiLz48cGF0aCBkPSJNMjQuNSAxNi4yNzVoMTkuODZ2MTYuNDVIMjQuNXYtMTYuNDVaIiBmaWxsPSIjRThFOEU4Ii8+PHBhdGggZD0iTTE1LjA2IDEzLjg3di0zLjI0M0g2LjY0NnYzLjI0MmgyLjU4NnYyMS4yNjJINi42NDZ2My4yNDJoOC40MTR2LTMuMjQyaC0yLjU4NVYxMy44NjloMi41ODVaIiBmaWxsPSIjNUM1QjY4Ii8+PHBhdGggZD0iTTE1LjY5IDI2Ljc1N2g2LjI0N3YyLjg3MUgxNS42OXYtMi44N1oiIGZpbGw9IiMzOTdERUEiLz48cGF0aCBkPSJNMjUuMjQgMjYuNzU3aDYuMjQ3djIuODcxSDI1LjI0di0yLjg3Wk0zNC43OSAyNi43NTdoNi4yNDd2Mi44NzFIMzQuNzl2LTIuODdaIiBmaWxsPSIjMkM1REJGIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg0OXY0OUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",vn=Object.defineProperty,An=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,gt=(Pt,on,Mn)=>on in Pt?vn(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,ln=(Pt,on)=>{for(var Mn in on||(on={}))sn.call(on,Mn)&>(Pt,Mn,on[Mn]);if(An)for(var Mn of An(on))mt.call(on,Mn)&>(Pt,Mn,on[Mn]);return Pt};const Qt=Pt=>o.createElement("svg",ln({className:"undo_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Pt),o.createElement("path",{d:"M512 324.267V136.533c0-6.826-3.413-13.653-10.24-13.653-6.827-3.413-13.653-3.413-17.067 0L6.827 430.08C3.413 433.493 0 436.907 0 443.733s3.413 10.24 6.827 13.654L484.693 798.72c6.827 3.413 13.654 3.413 17.067 0 6.827-3.413 10.24-10.24 10.24-13.653V597.333c249.173 10.24 474.453 235.52 477.867 290.134 0 10.24 6.826 17.066 17.066 17.066S1024 897.707 1024 887.467c-3.413-225.28-170.667-552.96-512-563.2z",fill:"#fff"}));var tn="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMzI0LjI2N1YxMzYuNTMzYzAtNi44MjYtMy40MTMtMTMuNjUzLTEwLjI0LTEzLjY1My02LjgyNy0zLjQxMy0xMy42NTMtMy40MTMtMTcuMDY3IDBMNi44MjcgNDMwLjA4QzMuNDEzIDQzMy40OTMgMCA0MzYuOTA3IDAgNDQzLjczM3MzLjQxMyAxMC4yNCA2LjgyNyAxMy42NTRMNDg0LjY5MyA3OTguNzJjNi44MjcgMy40MTMgMTMuNjU0IDMuNDEzIDE3LjA2NyAwIDYuODI3LTMuNDEzIDEwLjI0LTEwLjI0IDEwLjI0LTEzLjY1M1Y1OTcuMzMzYzI0OS4xNzMgMTAuMjQgNDc0LjQ1MyAyMzUuNTIgNDc3Ljg2NyAyOTAuMTM0IDAgMTAuMjQgNi44MjYgMTcuMDY2IDE3LjA2NiAxNy4wNjZTMTAyNCA4OTcuNzA3IDEwMjQgODg3LjQ2N2MtMy40MTMtMjI1LjI4LTE3MC42NjctNTUyLjk2LTUxMi01NjMuMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",yn=Object.defineProperty,gn=Object.getOwnPropertySymbols,_n=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,ut=(Pt,on,Mn)=>on in Pt?yn(Pt,on,{enumerable:!0,configurable:!0,writable:!0,value:Mn}):Pt[on]=Mn,ct=(Pt,on)=>{for(var Mn in on||(on={}))_n.call(on,Mn)&&ut(Pt,Mn,on[Mn]);if(gn)for(var Mn of gn(on))nr.call(on,Mn)&&ut(Pt,Mn,on[Mn]);return Pt};const It=Pt=>o.createElement("svg",ct({viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pt),o.createElement("g",{clipPath:"url(#visual-prompt_svg__a)"},o.createElement("path",{d:"M24.5 49C38.031 49 49 38.031 49 24.5S38.031 0 24.5 0 0 10.969 0 24.5 10.969 49 24.5 49Z",fill:"#CCDCFF"}),o.createElement("path",{d:"M24.5 40.84h-2.393v-7.178H24.5l.808 3.648-.808 3.53Z",fill:"#87ADFF"}),o.createElement("path",{d:"M24.5 33.662h2.393v7.177H24.5v-7.177Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 42.514h-5.742V40.6H24.5l.642.957-.642.957Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 40.6h5.742v1.914H24.5V40.6Z",fill:"#0E57FF"}),o.createElement("path",{d:"M25.765 23.118 24.5 13.32H6.316v18.183l18.184.563 1.265-8.948Z",fill:"#fff"}),o.createElement("path",{d:"M24.5 13.32v18.746l18.184-.563V13.32H24.5Z",fill:"#EAEDF4"}),o.createElement("path",{d:"m24.5 33.896.808-1.196-.808-1.197H6.316v2.393H24.5Z",fill:"#165DFF"}),o.createElement("path",{d:"M24.5 31.503h18.184v2.393H24.5v-2.393Z",fill:"#0E57FF"}),o.createElement("path",{d:"m36.198 24.423-3.163-1.054 1.055 3.163.527-.527 1.912 1.912 1.054-1.055-1.912-1.912.527-.527Z",fill:"#5C5B68"}),o.createElement("path",{d:"m19.034 19.3 3.474.608 1.992 2.548 1.48 2.73-1.48 3.517-5.466-3.156V19.3Z",fill:"#87ADFF"}),o.createElement("path",{d:"M29.966 25.547v-6.311l-3.399.786-2.067 2.434v6.247l5.466-3.156Z",fill:"#165DFF"}),o.createElement("path",{d:"m19.034 19.3 5.466 3.156 1.241-3.33L24.5 16.08l-5.466 3.22Z",fill:"#C1D4FD"}),o.createElement("path",{d:"M24.5 16.08v6.376l5.466-3.22L24.5 16.08Z",fill:"#A9C3FC"})),o.createElement("defs",null,o.createElement("clipPath",{id:"visual-prompt_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h49v49H0z"}))));var Ct="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDkgNDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMjQuNSA0OUMzOC4wMzEgNDkgNDkgMzguMDMxIDQ5IDI0LjVTMzguMDMxIDAgMjQuNSAwIDAgMTAuOTY5IDAgMjQuNSAxMC45NjkgNDkgMjQuNSA0OVoiIGZpbGw9IiNDQ0RDRkYiLz48cGF0aCBkPSJNMjQuNSA0MC44NGgtMi4zOTN2LTcuMTc4SDI0LjVsLjgwOCAzLjY0OC0uODA4IDMuNTNaIiBmaWxsPSIjODdBREZGIi8+PHBhdGggZD0iTTI0LjUgMzMuNjYyaDIuMzkzdjcuMTc3SDI0LjV2LTcuMTc3WiIgZmlsbD0iIzE2NURGRiIvPjxwYXRoIGQ9Ik0yNC41IDQyLjUxNGgtNS43NDJWNDAuNkgyNC41bC42NDIuOTU3LS42NDIuOTU3WiIgZmlsbD0iIzE2NURGRiIvPjxwYXRoIGQ9Ik0yNC41IDQwLjZoNS43NDJ2MS45MTRIMjQuNVY0MC42WiIgZmlsbD0iIzBFNTdGRiIvPjxwYXRoIGQ9Ik0yNS43NjUgMjMuMTE4IDI0LjUgMTMuMzJINi4zMTZ2MTguMTgzbDE4LjE4NC41NjMgMS4yNjUtOC45NDhaIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTI0LjUgMTMuMzJ2MTguNzQ2bDE4LjE4NC0uNTYzVjEzLjMySDI0LjVaIiBmaWxsPSIjRUFFREY0Ii8+PHBhdGggZD0ibTI0LjUgMzMuODk2LjgwOC0xLjE5Ni0uODA4LTEuMTk3SDYuMzE2djIuMzkzSDI0LjVaIiBmaWxsPSIjMTY1REZGIi8+PHBhdGggZD0iTTI0LjUgMzEuNTAzaDE4LjE4NHYyLjM5M0gyNC41di0yLjM5M1oiIGZpbGw9IiMwRTU3RkYiLz48cGF0aCBkPSJtMzYuMTk4IDI0LjQyMy0zLjE2My0xLjA1NCAxLjA1NSAzLjE2My41MjctLjUyNyAxLjkxMiAxLjkxMiAxLjA1NC0xLjA1NS0xLjkxMi0xLjkxMi41MjctLjUyN1oiIGZpbGw9IiM1QzVCNjgiLz48cGF0aCBkPSJtMTkuMDM0IDE5LjMgMy40NzQuNjA4IDEuOTkyIDIuNTQ4IDEuNDggMi43My0xLjQ4IDMuNTE3LTUuNDY2LTMuMTU2VjE5LjNaIiBmaWxsPSIjODdBREZGIi8+PHBhdGggZD0iTTI5Ljk2NiAyNS41NDd2LTYuMzExbC0zLjM5OS43ODYtMi4wNjcgMi40MzR2Ni4yNDdsNS40NjYtMy4xNTZaIiBmaWxsPSIjMTY1REZGIi8+PHBhdGggZD0ibTE5LjAzNCAxOS4zIDUuNDY2IDMuMTU2IDEuMjQxLTMuMzNMMjQuNSAxNi4wOGwtNS40NjYgMy4yMloiIGZpbGw9IiNDMUQ0RkQiLz48cGF0aCBkPSJNMjQuNSAxNi4wOHY2LjM3Nmw1LjQ2Ni0zLjIyTDI0LjUgMTYuMDhaIiBmaWxsPSIjQTlDM0ZDIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGg0OXY0OUgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",Ut,cn,rn,Dn,Bn,Cr,rr,$n=function(Pt){return Pt.showAnnotations="showAnnotations",Pt.showAllCategory="showAllCategory",Pt.showImgDesc="showImgDesc",Pt.showBoxText="showBoxText",Pt.showSegFilling="showSegFilling",Pt.showSegContour="showSegContour",Pt.showMattingColorFill="showMattingColorFill",Pt.showKeyPointsLine="showKeyPointsLine",Pt.showKeyPointsBox="showKeyPointsBox",Pt}({}),kr=function(Pt){return Pt.Waiting="waiting",Pt.Running="running",Pt.Success="success",Pt.Failed="failed",Pt}({}),Mr=.1,ia=20,zr=.5,Wn=.1,wn=function(Pt){return Pt.Rectangle="rect",Pt.Polygon="polygon",Pt.Mask="mask",Pt.Skeleton="coco_keypoints_17",Pt.Classification="classification",Pt}({}),Rn=function(Pt){return Pt.Custom="Custom",Pt.Classification="Classification",Pt.Rectangle="Rectangle",Pt.Polygon="Polygon",Pt.Skeleton="Skeleton",Pt.Mask="Mask",Pt.Matting="Matting",Pt.Point="Point",Pt.Polyline="Polyline",Pt}({}),sr=function(Pt){return Pt.Rect="rect",Pt.Circle="circle",Pt.Polygon="polygon",Pt.None="none",Pt}({}),Er=function(Pt){return Pt.Drag="Drag",Pt.Rectangle="Rect",Pt.Polygon="Polygon",Pt.Skeleton="Skeleton",Pt.Mask="Mask",Pt}({}),Kr=function(Pt){return Pt.PenAdd="PenAdd",Pt.PenErase="PenErase",Pt.BrushAdd="BrushAdd",Pt.BrushErase="BrushErase",Pt.AutoSegmentByBox="AutoSegmentByBox",Pt.AutoSegmentByClick="AutoSegmentByClick",Pt.AutoSegmentByStroke="AutoSegmentByStroke",Pt.AutoSegmentEverything="AutoSegmentEverything",Pt.AutoEdgeStitching="AutoEdgeStitching",Pt.PositiveVisualPrompt="PositiveVisualPrompt",Pt.NegativeVisualPrompt="NegativeVisualPrompt",Pt}({}),ta=function(Pt){return Pt.SmartAnnotation="SmartAnnotation",Pt.Undo="Undo",Pt.Redo="Redo",Pt.RepeatPrevious="RepeatPrevious",Pt.DeleteAll="DeleteAll",Pt}({}),ga=(Ut={},t()(Ut,Er.Drag,Rn.Custom),t()(Ut,Er.Rectangle,Rn.Rectangle),t()(Ut,Er.Polygon,Rn.Polygon),t()(Ut,Er.Skeleton,Rn.Skeleton),t()(Ut,Er.Mask,Rn.Mask),Ut),pr=function(Pt){return Pt.Detection="ai_detection",Pt.IVP="ivp",Pt.SegmentByPolygon="ai_polygon",Pt.SegmentByMask="ai_segmentation_mask",Pt.Pose="ai_pose",Pt.MaskEdgeStitching="ai_mask_edge_stitching",Pt.SegmentEverything="ai_segment_everything",Pt}({}),Ur=(cn={},t()(cn,Er.Drag,[]),t()(cn,Er.Rectangle,[pr.Detection,pr.IVP]),t()(cn,Er.Polygon,[pr.SegmentByPolygon]),t()(cn,Er.Mask,[pr.SegmentEverything,pr.SegmentByMask,pr.IVP]),t()(cn,Er.Skeleton,[pr.Pose]),cn),Ma=(rn={},t()(rn,pr.Detection,{name:"DDSAnnotator.smart.gdino.name",icon:en,description:"DDSAnnotator.smart.gdino.desc",hightlight:!1}),t()(rn,pr.IVP,{name:"DDSAnnotator.smart.ivp.name",icon:It,description:"DDSAnnotator.smart.ivp.desc",hightlight:!0}),t()(rn,pr.SegmentEverything,{name:"DDSAnnotator.smart.sam.name",icon:It,description:"DDSAnnotator.smart.sam.desc",hightlight:!1}),t()(rn,pr.SegmentByMask,{name:"DDSAnnotator.smart.isg.name",icon:It,description:"DDSAnnotator.smart.isg.desc",hightlight:!1}),rn),ma=(Dn={},t()(Dn,wn.Rectangle,Er.Rectangle),t()(Dn,wn.Polygon,Er.Polygon),t()(Dn,wn.Mask,Er.Mask),t()(Dn,wn.Skeleton,Er.Skeleton),Dn),Yn=(Bn={},t()(Bn,Rn.Rectangle,Oe),t()(Bn,Rn.Skeleton,un),t()(Bn,Rn.Polygon,P),t()(Bn,Rn.Mask,Te),t()(Bn,Rn.Matting,Te),t()(Bn,Rn.Point,g),t()(Bn,Rn.Polyline,g),t()(Bn,Rn.Custom,g),t()(Bn,Rn.Classification,g),Bn),Zn=(Cr={},t()(Cr,Rn.Rectangle,We),t()(Cr,Rn.Skeleton,Se),t()(Cr,Rn.Polygon,$e),t()(Cr,Rn.Mask,_),Cr),Sr=(rr={},t()(rr,ta.SmartAnnotation,te),t()(rr,ta.Undo,Qt),t()(rr,ta.Redo,it),t()(rr,ta.RepeatPrevious,ze),t()(rr,ta.DeleteAll,N),rr),Xr=function(Pt){return Pt[Pt.noLabeled=0]="noLabeled",Pt[Pt.labeledNotVisible=1]="labeledNotVisible",Pt[Pt.labeledVisible=2]="labeledVisible",Pt}({}),wr={categoryName:"person",boundingBox:{xmax:.44072164948453607,xmin:.2654639175257732,ymax:.5698739977090492,ymin:.09335624284077892},points:[175.25773195876286,61.21134020618557,0,1,2,1,179.9828178694158,41.45189003436426,0,1,2,1,170.96219931271477,41.881443298969074,0,1,2,1,189.86254295532646,51.33161512027492,0,1,2,1,163.23024054982818,50.47250859106529,0,1,2,1,192.86941580756016,68.08419243986253,0,1,2,1,158.295150820924,67.63982699371964,0,1,2,1,202.74914089347078,99.87113402061856,0,1,2,1,150.34364261168383,99.87113402061856,0,1,2,1,208.76288659793815,127.36254295532646,0,1,2,1,142.61168384879724,129.0807560137457,0,1,2,1,182.13058419243984,126.50343642611685,0,1,2,1,162.2279495990836,125.4739898092191,0,1,2,1,184.70790378006873,175.4725085910653,0,1,2,1,158.78675066819395,176.9759450171821,0,1,2,1,190.29209621993127,208.11855670103094,0,1,2,1,152.92096219931273,206.82989690721652,0,1,2,1],lines:[15,13,13,11,16,14,14,12,11,12,5,11,6,12,5,6,5,7,6,8,7,9,8,10,1,2,0,1,0,2,1,3,2,4,3,5,4,6],pointColors:["128","0","0","255","178","102","230","230","0","255","51","255","153","204","255","255","128","0","0","255","255","128","0","255","51","153","255","169","165","139","255","0","0","102","255","102","184","97","134","128","128","0","255","190","255","0","128","0","0","0","255"],pointNames:["nose","left_eye","right_eye","left_ear","right_ear","left_shoulder","right_shoulder","left_elbow","right_elbow","left_wrist","right_wrist","left_hip","right_hip","left_knee","right_knee","left_ankle","right_ankle"]}},34095:function(b,y,e){"use strict";e.d(y,{$k:function(){return S},Bt:function(){return m},CJ:function(){return g},XQ:function(){return c},cj:function(){return h},lz:function(){return M},mh:function(){return n},rl:function(){return d},s_:function(){return l}});var a=e(2657),t=e.n(a),o=e(50910),s,n={DEFAULT:0,DEFAULT_SHAPE:.35,CREATING:0,JUST_CREATED:.5,FOCUS:.6,CTRL_TO_SELECT:.1,OTHER:0},d={DEFAULT:1,CREATING:1,CREATING_LINE:.8,FOCUS:1,ACTIVE:1,OTHER:.3},l={CREATING:.7,FOCUS:.7,JUST_CREATED:.5,DEFAULT:.35},c={CREATING:"#fff"},m={CREATING:"transparent",CREATING_POSITIVE:"#2876d4",CREATING_NEGATIVE:"#e91d00"},g={POSITIVE:"rgba(1, 128, 0, 1)",NEGATIVE:"rgba(255, 3, 0, 1)"},M={POSITIVE:"rgba(1, 128, 0, 0.6)",NEGATIVE:"rgba(255, 3, 0, 0.6)"},h=(s={},t()(s,o.SP.Solid,{lineDash:[],thickness:2}),t()(s,o.SP.DoubleSolid,{lineDash:[],thickness:4}),t()(s,o.SP.LCurbside,{lineDash:[],thickness:2}),t()(s,o.SP.RCurbside,{lineDash:[],thickness:2}),t()(s,o.SP.Unknown,{lineDash:[],thickness:2}),t()(s,o.SP.Dashed,{lineDash:[4,4],thickness:2}),t()(s,o.SP.DoubleDashed,{lineDash:[4,4],thickness:4}),t()(s,o.SP.LDashedRSolid,{lineDash:[4,8,4,8,16,4],thickness:4}),t()(s,o.SP.LSolidRDashed,{lineDash:[4,8,16,4],thickness:4}),s),S={Yellow:"#d97945",White:"#de1760",Other:"#72af44"}},33010:function(b,y,e){"use strict";e.d(y,{kl:function(){return Cs},j5:function(){return Su},D5:function(){return nl},je:function(){return W.je}});var a=e(63900),t=e.n(a),o=e(88205),s=e.n(o),n=e(62109),d=e(73267),l=e(87608),c=e.n(l),m=e(39378),g=e(58757),M=e(65246),h=e(52495),S=e(84045),w=e(18624),C=e(12562),F=e(53357),Z=function(he){return he==null||he===""||Array.isArray(he)&&he.length===0},N=e(47513),L=e(74820),$=e(10852),D=e(38904),T=e(21149),j=Object.defineProperty,K=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,V=(Ue,he,Pe)=>he in Ue?j(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,q=(Ue,he)=>{for(var Pe in he||(he={}))k.call(he,Pe)&&V(Ue,Pe,he[Pe]);if(K)for(var Pe of K(he))te.call(he,Pe)&&V(Ue,Pe,he[Pe]);return Ue};const le=Ue=>g.createElement("svg",q({viewBox:"0 0 21 21",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M16.625 4.375v12.25H4.375V4.375h12.25ZM3.5 2.625c-.438 0-.875.438-.875.875v14c0 .525.35.875.875.875h14c.525 0 .875-.35.875-.875v-14c0-.525-.35-.875-.875-.875h-14Z"}),g.createElement("path",{d:"M14.875 7.788c0-.525-.35-.875-.875-.875H9.625v-.438A.877.877 0 0 0 8.75 5.6c-.525 0-.875.35-.875.875v.438H7c-.525 0-.875.35-.875.875s.35.875.875.875h.875V9.1c0 .525.35.875.875.875s.875-.35.875-.875v-.437H14c.525 0 .875-.35.875-.875ZM6.125 13.3c0 .525.35.875.875.875h4.375v.438c0 .525.438.875.875.875.525 0 .875-.35.875-.875v-.438H14c.525 0 .875-.35.875-.875s-.35-.875-.875-.875h-.875v-.437c0-.525-.35-.875-.875-.875s-.875.35-.875.875v.437H7a.877.877 0 0 0-.875.875Z"}));var X="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjEgMjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2LjYyNSA0LjM3NXYxMi4yNUg0LjM3NVY0LjM3NWgxMi4yNVpNMy41IDIuNjI1Yy0uNDM4IDAtLjg3NS40MzgtLjg3NS44NzV2MTRjMCAuNTI1LjM1Ljg3NS44NzUuODc1aDE0Yy41MjUgMCAuODc1LS4zNS44NzUtLjg3NXYtMTRjMC0uNTI1LS4zNS0uODc1LS44NzUtLjg3NWgtMTRaIi8+PHBhdGggZD0iTTE0Ljg3NSA3Ljc4OGMwLS41MjUtLjM1LS44NzUtLjg3NS0uODc1SDkuNjI1di0uNDM4QS44NzcuODc3IDAgMCAwIDguNzUgNS42Yy0uNTI1IDAtLjg3NS4zNS0uODc1Ljg3NXYuNDM4SDdjLS41MjUgMC0uODc1LjM1LS44NzUuODc1cy4zNS44NzUuODc1Ljg3NWguODc1VjkuMWMwIC41MjUuMzUuODc1Ljg3NS44NzVzLjg3NS0uMzUuODc1LS44NzV2LS40MzdIMTRjLjUyNSAwIC44NzUtLjM1Ljg3NS0uODc1Wk02LjEyNSAxMy4zYzAgLjUyNS4zNS44NzUuODc1Ljg3NWg0LjM3NXYuNDM4YzAgLjUyNS40MzguODc1Ljg3NS44NzUuNTI1IDAgLjg3NS0uMzUuODc1LS44NzV2LS40MzhIMTRjLjUyNSAwIC44NzUtLjM1Ljg3NS0uODc1cy0uMzUtLjg3NS0uODc1LS44NzVoLS44NzV2LS40MzdjMC0uNTI1LS4zNS0uODc1LS44NzUtLjg3NXMtLjg3NS4zNS0uODc1Ljg3NXYuNDM3SDdhLjg3Ny44NzcgMCAwIDAtLjg3NS44NzVaIi8+PC9zdmc+",W=e(50910),x=e(35667),O=function(he,Pe){return he.isDarkTheme===Pe.isDarkTheme&&he.disabled===Pe.disabled&&(0,m.isEqual)(he.data,Pe.data)&&(0,m.isEqual)(he.values,Pe.values)&&he.onChangeValue===Pe.onChangeValue&&he.onFocusInput===Pe.onFocusInput&&he.onClickAttributes===Pe.onClickAttributes},_=(0,g.memo)(function(Ue){var he=(0,F.bU)(),Pe=he.localeText,Un=Ue.isDarkTheme,vt=Ue.disabled,zn=Ue.data,En=Ue.values,On=Ue.onChangeValue,Fn=Ue.onFocusInput,mr=Ue.onClickAttributes;return(0,x.jsx)(N.Z,{layout:"vertical",className:c()("dds-annotator-attributes-form",{"dds-annotator-attributes-form-dark":Un}),children:zn.map(function(fr,or){var jn,ua;return(0,x.jsxs)(N.Z.Item,{required:fr.required,label:fr.hasAttributes?(0,x.jsxs)("div",{className:"dds-annotator-attributes-form-item-title",children:[fr.field,(0,x.jsx)(L.Z,{title:Pe("DDSAnnotator.attribute.edit"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"dds-annotator-attributes-form-item-title-btn",icon:(0,x.jsx)(le,{className:fr.requireAttribute?"attribute-warn":""}),shape:"circle",onClick:function(ar){ar.stopPropagation(),mr==null||mr(or)}})})]}):fr.field,children:[fr.type===W.In.Radio&&(0,x.jsx)($.ZP.Group,{value:En[or],options:(jn=fr.options)===null||jn===void 0?void 0:jn.map(function(Or,ar){var hr=Or.label;return{label:hr,value:ar}}),onChange:function(ar){return On(or,ar.target.value)},disabled:vt}),fr.type===W.In.Checkbox&&(0,x.jsx)(D.Z.Group,{value:En[or],options:(ua=fr.options)===null||ua===void 0?void 0:ua.map(function(Or,ar){var hr=Or.label;return{label:hr,value:ar}}),onChange:function(ar){return On(or,ar)},disabled:vt}),fr.type===W.In.Text&&(0,x.jsx)(T.Z,{placeholder:Pe("DDSAnnotator.attribute.input"),value:En[or],onChange:function(ar){return On(or,ar.target.value)},onFocus:function(ar){return Fn==null?void 0:Fn(or,ar)},onKeyUp:function(ar){return ar.stopPropagation()},onKeyDown:function(ar){return ar.stopPropagation()},disabled:vt})]},fr.field)})})},O),U=_,A=function(he){var Pe=he.children,Un=he.eventHandler,vt=function(En){Un?Un(En):En.stopPropagation()};return(0,x.jsx)("div",{onMouseDown:vt,onMouseUp:vt,style:{userSelect:"none"},children:Pe})},G=(0,g.memo)(function(Ue){var he=Ue.data,Pe=Ue.supportEdit,Un=Ue.onConfirmAttibuteEdit,vt=Ue.onCancelAttibuteEdit,zn=(0,F.bU)(),En=zn.localeText,On=(0,M.x)([]),Fn=s()(On,2),mr=Fn[0],fr=Fn[1];(0,g.useEffect)(function(){fr((he==null?void 0:he.values)||[])},[he.values]);var or=function(Or,ar){fr(function(hr){hr[Or]=ar})},jn=function(){if(he.attributes.find(function(ar,hr){return ar.required&&Z(mr[hr])})){S.ZP.error(En("DDSAnnotator.attribute.required"));return}var Or=[];he.attributes.forEach(function(ar,hr){Or.push(mr[hr]===void 0?null:mr[hr])}),Un(Or)};return(0,x.jsx)(A,{children:(0,x.jsx)(w.Z,{id:"annotation-editor",className:"dds-annotator-attribute-editor",title:(0,x.jsxs)("div",{className:"dds-annotator-attribute-editor-title",children:[(0,x.jsxs)("div",{children:[En("DDSAnnotator.attribute.modal")," #",he.index+1]}),(0,x.jsx)(C.ZP,{ghost:!0,className:"dds-annotator-attribute-editor-title-btn",icon:(0,x.jsx)(h.Z,{}),shape:"circle",size:"small",onClick:vt})]}),children:(0,x.jsxs)("div",{className:"dds-annotator-attribute-editor-content",children:[(0,x.jsx)(U,{disabled:!Pe,data:he.attributes,values:mr,onChangeValue:or}),Pe&&(0,x.jsx)("div",{className:"dds-annotator-attribute-editor-actions",children:(0,x.jsx)(C.ZP,{type:"primary",onClick:function(Or){Or.preventDefault(),jn()},children:En("DDSAnnotator.confirm")})})]})})})}),fe=G,pe=e(83720),ge=e(56019),be=e(16951),Te=function(he,Pe){return he.className===Pe.className&&he.supportEdit===Pe.supportEdit&&(0,m.isEqual)(he.classificationOptions,Pe.classificationOptions)&&(0,m.isEqual)(he.values,Pe.values)&&he.setDrawDataWithHistory===Pe.setDrawDataWithHistory},Ge=(0,g.memo)(function(Ue){var he=(0,F.bU)(),Pe=he.localeText,Un=Ue.className,vt=Ue.classificationOptions,zn=Ue.values,En=Ue.setDrawDataWithHistory,On=Ue.supportEdit,Fn=(0,g.useState)(!1),mr=s()(Fn,2),fr=mr[0],or=mr[1],jn=function(Jn,fa,Qr){var $r,lr=vt[Jn],Ir=zn==null||($r=zn.find(function(Vr){var Ar=Vr.labelId;return Ar===(lr==null?void 0:lr.id)}))===null||$r===void 0?void 0:$r.attributes;return lr!=null&&lr.attributes&&lr.attributes.length>0&&(fa==null?void 0:fa.labelId)!==lr.id&&(!Qr||!(Ir!=null&&Ir.length))?{index:-1,labelId:lr.id,attributes:lr==null?void 0:lr.attributes,values:Ir}:null},ua=function(Jn){setTimeout(function(){En(function(fa){var Qr=jn(Jn,fa.editingAttribute);Qr&&(fa.editingAttribute=Qr)})})},Or=function(Jn,fa){En(function(Qr){var $r,lr=vt[Jn],Ir=Qr.classifications.findIndex(function(Vr){return Vr.labelId===lr.id});Ir>-1?Qr.classifications[Ir].labelValue=fa:Qr.classifications.push({labelId:vt[Jn].id,labelValue:fa}),(($r=Qr.editingAttribute)===null||$r===void 0?void 0:$r.labelId)!==(lr==null?void 0:lr.id)&&(Qr.editingAttribute=jn(Jn,Qr.editingAttribute,!0)||void 0)})},ar=(0,g.useMemo)(function(){return vt.map(function(aa){var Jn,fa;return{field:aa.labelName,type:aa.valueType,required:!0,options:aa.valueOptions,hasAttributes:!!((Jn=aa.attributes)!==null&&Jn!==void 0&&Jn.length),requireAttribute:!!((fa=aa.attributes)!==null&&fa!==void 0&&fa.find(function(Qr,$r){var lr,Ir;return(Qr==null?void 0:Qr.required)&&[void 0,null,""].includes((lr=zn.find(function(Vr){var Ar=Vr.labelId;return Ar===aa.id}))===null||lr===void 0||(Ir=lr.attributes)===null||Ir===void 0?void 0:Ir[$r])}))}})},[vt,zn]),hr=(0,g.useMemo)(function(){var aa=[];return vt.forEach(function(Jn){var fa,Qr=(fa=zn.find(function($r){var lr=$r.labelId;return lr===Jn.id}))===null||fa===void 0?void 0:fa.labelValue;aa.push(Qr===void 0?null:Qr)}),aa},[vt,zn]),Pr=(0,x.jsx)(U,{isDarkTheme:!0,disabled:!On,data:ar,values:hr,onChangeValue:Or,onFocusInput:ua,onClickAttributes:ua});return(0,x.jsx)("div",{className:c()("dds-annotator-classification",Un),onMouseDown:function(Jn){Jn.stopPropagation()},children:(0,x.jsx)(be.Z,{activeKey:"classification",items:[{key:"classification",label:Pe("DDSAnnotator.annotsList.classification"),children:fr?null:Pr}],tabBarExtraContent:(0,x.jsx)(L.Z,{title:Pe(fr?"DDSAnnotator.annotsList.showAll":"DDSAnnotator.annotsList.hideAll"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"tab-header-actions",icon:fr?(0,x.jsx)(pe.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:function(){return or(!fr)}})})})})},Te),Je=Ge,Qe=e(22283),pt=e(79233),Et=Object.defineProperty,ft=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Xe=(Ue,he,Pe)=>he in Ue?Et(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,nt=(Ue,he)=>{for(var Pe in he||(he={}))Wt.call(he,Pe)&&Xe(Ue,Pe,he[Pe]);if(ft)for(var Pe of ft(he))$e.call(he,Pe)&&Xe(Ue,Pe,he[Pe]);return Ue};const Ke=Ue=>React.createElement("svg",nt({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:600,height:600,fill:"none"},Ue),React.createElement("path",{fill:"#FFF",d:"M0 0h600v600H0z"}),React.createElement("mask",{id:"img-broken_svg__b",fill:"#fff"},React.createElement("use",{xlinkHref:"#img-broken_svg__a"})),React.createElement("g",{mask:"url(#img-broken_svg__b)"},React.createElement("path",{style:{fill:"#f3f3fa"},opacity:.6,d:"M520.82 276.411c.7 7.103 1.058 14.305 1.058 21.589 0 122.04-100.54 221-224.51 221-99.159 0-183.328-63.313-213.047-151.107h-8.426c-3.4 0-6.17-2.76-6.17-6.16A6.168 6.168 0 0 1 73.608 356H84c7.18 0 13-5.82 13-13v-1c0-7.18-5.82-13-13-13h-8.95l-.023-.161H52.855c-5.68 0-10.28-4.6-10.28-10.28s4.6-10.28 10.28-10.28h20.241A221.042 221.042 0 0 1 72.858 298c0-32.629 7.187-63.608 20.086-91.486H57c-15.46 0-28-12.541-28-28.001v-1.56c0-14.913 11.67-27.11 26.373-27.953H182c5.52 0 10-4.48 10-10s-4.48-10-10-10h-29.294l.732-.605h-14.59c-10.49 0-19-8.51-19-19v-1.06c0-10.49 8.51-19 19-19h84.392C246.448 81.345 271.393 77 297.368 77c51.023 0 98.077 16.763 135.787 45H418c-7.18 0-13 5.82-13 13v1c0 7.18 5.82 13 13 13h45.166a222.478 222.478 0 0 1 23.253 29.763h21.461c7.73 0 14 6.27 14 14v.78c0 6.387-4.281 11.777-10.128 13.457H492c-8.84 0-16 7.16-16 16v5c0 8.84 7.16 16 16 16h67.901c6.952 1.741 12.097 8.028 12.097 15.521v.89c0 8.84-7.16 16-16 16z"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__c)",d:"M147.977 187.468c-14.64 0-26.51 11.87-26.51 26.5h-5.34c-6.73 0-12.19 5.93-12.19 13.25s5.46 13.25 12.19 13.25h65.65c6.74 0 12.19-5.93 12.19-13.25s-5.45-13.25-12.19-13.25h-7.31c0-14.63-11.86-26.5-26.49-26.5z"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__d)",d:"M313.088 148.128c0 5.25 3.91 9.5 8.74 9.5h47.07c4.83 0 8.74-4.25 8.74-9.5s-3.91-9.5-8.74-9.5h-5.24c0-10.5-8.51-19-19-19s-19 8.5-19 19h-3.83c-4.83 0-8.74 4.25-8.74 9.5z"}),React.createElement("path",{style:{fill:"#e7eaf0"},d:"M508 453.5c0 11.036-19.12 20.438-45.869 23.988-6.38 1.885-13.556 3.663-21.438 5.315A16.82 16.82 0 0 1 441 486c0 24.3-52.84 44-118 44-58.623 0-107.274-15.946-116.445-36.841C128.328 487.215 73 472.59 73 455.5c0-22.36 94.71-40.5 211.5-40.5 61.363 0 116.631 5.008 155.269 13.004C477.563 428.253 508 439.575 508 453.5z"}),React.createElement("g",{fillRule:"evenodd"},React.createElement("path",{fill:"url(#img-broken_svg__e)",d:"M356 62c-.12-1.36-.23-2.78-.31-4.26-.09-1.23-.16-2.63-.22-4.17-.06-1.55-.09-3.08-.09-4.6V38.66l9.74-.13h1.19c.42 0 .79-.02 1.13-.06.41 0 .81-.02 1.18-.06a5.374 5.374 0 0 0 2.44-1.95c.63-.88.94-1.9.94-3.05l-.13-.8-.24-.99c-.13-.37-.23-.73-.32-1.05l-1.06-2.1c.21-.74.31-1.44.31-2.1 0-1.61-.45-3.03-1.37-4.26-.92-1.23-2.09-2.1-3.5-2.6l-7.88-15.25a7.22 7.22 0 0 0-2.65-3.09C353.97.39 352.63 0 351.13 0c-1.71 0-3.11.51-4.19 1.54-1.08 1.03-2.02 2.27-2.82 3.71h-.06l-9.81 17.97c-.67.58-1.22 1.26-1.65 2.04-.45.78-.71 1.62-.79 2.53l-1.56 3.58c-.08.21-.14.41-.19.62 0 0-.06.43-.06.68 0 1.44.46 2.68 1.37 3.74a6.535 6.535 0 0 0 3.44 2.06l7.06.37c.34.58.76 1.03 1.28 1.36.53.33 1.14.5 1.85.5.88 0 1.67-.31 2.38-.93v9.45c0 2.71-.03 4.89-.07 6.51-.04 1.63-.08 2.92-.12 3.86L347 62h9z",transform:"translate(92 370)"}),React.createElement("path",{fill:"url(#img-broken_svg__f)",d:"M385 60.7c.88 0 1.67-.31 2.38-.93v9.45c0 2.71-.03 4.89-.07 6.51-.04 1.63-.08 2.92-.12 3.86L387 82h9c-.12-1.36-.23-2.78-.31-4.26-.09-1.23-.16-2.63-.22-4.17-.06-1.55-.09-3.08-.09-4.6V58.66l9.74-.13h1.19c.42 0 .79-.02 1.13-.06.41 0 .81-.02 1.18-.06a5.374 5.374 0 0 0 2.44-1.95c.63-.88.94-1.9.94-3.05l-.13-.8-.24-.99c-.13-.37-.23-.73-.32-1.05l-1.06-2.1c.21-.74.31-1.44.31-2.1 0-1.61-.45-3.03-1.37-4.26-.92-1.23-2.09-2.1-3.5-2.6l-7.88-15.25a7.22 7.22 0 0 0-2.65-3.09c-1.19-.78-2.53-1.17-4.03-1.17-1.71 0-3.11.51-4.19 1.54-1.08 1.03-2.02 2.27-2.82 3.71h-.06l-9.81 17.97c-.67.58-1.22 1.26-1.65 2.04-.45.78-.71 1.62-.79 2.53l-1.56 3.58c-.08.21-.14.41-.19.62 0 0-.06.43-.06.68 0 1.44.46 2.68 1.37 3.74a6.535 6.535 0 0 0 3.44 2.06l7.06.37c.34.58.76 1.03 1.28 1.36.53.33 1.14.5 1.85.5z",transform:"translate(92 370)"}),React.createElement("path",{fill:"url(#img-broken_svg__g)",d:"M35.34 1.66C33.67.55 31.78 0 29.68 0c-2.4 0-4.36.73-5.89 2.19-1.52 1.46-2.83 3.21-3.95 5.26h-.09L5.97 32.96c-.94.81-1.71 1.78-2.32 2.89a8.845 8.845 0 0 0-1.1 3.59l-2.2 5.09c-.11.29-.2.58-.26.87 0 0-.09.62-.09.97 0 2.04.64 3.81 1.93 5.3a9 9 0 0 0 4.83 2.93l9.92.53c.47.82 1.07 1.46 1.8 1.93s1.6.7 2.59.7c1.23 0 2.34-.44 3.34-1.32v13.41c0 3.86-.03 6.95-.09 9.25-.06 2.31-.12 4.14-.18 5.49L23.88 88h12.64c-.17-1.93-.32-3.94-.44-6.05-.11-1.75-.21-3.73-.3-5.92s-.13-4.36-.13-6.53V54.87l13.69-.18h1.67c.59 0 1.11-.02 1.58-.09.59 0 1.14-.02 1.67-.08a7.599 7.599 0 0 0 3.42-2.77c.88-1.25 1.32-2.7 1.32-4.34l-.18-1.13-.35-1.4c-.17-.53-.32-1.03-.44-1.5l-1.49-2.97c.29-1.06.44-2.05.44-2.98 0-2.28-.64-4.3-1.93-6.05s-2.93-2.98-4.92-3.69L39.07 6.05c-.82-1.82-2.07-3.28-3.73-4.39z",transform:"translate(92 370)"})),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__h)",opacity:.5,d:"M195.17 339.008 336 259.118l-180.79-56.11L3 241.048l192.17 97.96z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__i)",d:"m120.19 238.468 16.76-67-23.23-50.7L147 87.008l-137.81.8A9.242 9.242 0 0 0 0 97.058v132.16c0 5.12 4.15 9.25 9.26 9.25l103.61 4.54 7.32-4.54z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__j)",d:"M0 233.728c0 5.13 4.13 9.28 9.22 9.28h103.19l17.59-70.83-24.95-52.65L130 93.008l-120.85.8c-5.05.04-9.15 4.18-9.15 9.28v130.64z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__k)",d:"M129 177.408s-39.15 25.41-39.87 25.47c-15.59-13.61-41.17-39.55-41.17-39.55-2.95-3.01-8.11-3.11-11.19-.2L0 214.158v18.8c0 5.05 3.11 10.05 10.1 10.05h102.84l10.05-40.81 6.01-24.79z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__l)",d:"m161.114 121.588 10.21 50.9-39.15 72.66 77.97 21.2c5.34 2.12 11.32-1.05 12.51-6.63l36.14-134.09c1.03-4.82-1.95-9.58-6.76-10.81l-53.81-13.81-37.11 20.58z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__m)",d:"m153.53 125.233 10.21 50.89-37.74 67.36 77.98 21.21c5.33 2.12 11.31-1.04 12.5-6.63l34.73-128.8c1.03-4.82-1.96-9.58-6.76-10.81l-53.81-13.81-37.11 20.59z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__n)",d:"M181.344 174.368c-2-3.27-6.23-4.33-9.52-2.39l-8.09 4.16-37.65 67.37s67.22 18.7 75.12 20.47c7.91 1.76 13.7.54 14.89-5.08l3.37-11.51-38.12-73.02z",transform:"translate(180 194.992)"}),React.createElement("path",{style:{fill:"#fff"},d:"M223.104 151.697c0-9.32-7.57-16.88-16.9-16.88-9.33 0-16.89 7.56-16.89 16.88s7.56 16.88 16.89 16.88c9.33 0 16.9-7.56 16.9-16.88z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__o)",d:"m50.921 37.823 12.386-6.041 11.209 22.982-7.452-32.637-12.592 6.142L42.197 6.864l8.724 30.959z",transform:"translate(180 194.992)"}),React.createElement("path",{fillRule:"evenodd",fill:"url(#img-broken_svg__p)",d:"m217.598 48.895 17.888 17.184-30.945 23.817s47.929-22.37 46.996-23.709c-.925-1.335-18.57-16.992-18.57-16.992l24.134-25.537-39.503 25.236z",transform:"translate(180 194.992)"})),React.createElement("defs",null,React.createElement("linearGradient",{id:"img-broken_svg__i",x1:"178.579%",y1:"114.41%",x2:"-67.6%",y2:"-21.639%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__p",x1:198.923,y1:151.68,x2:253.588,y2:43.245,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__d",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__e",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__f",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__g",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__h",x1:"50%",y1:"30.387%",x2:"-31.215%",y2:"-60.228%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E8EBF1",stopOpacity:.24}),React.createElement("stop",{offset:1,stopColor:"#A2ABB9"})),React.createElement("linearGradient",{id:"img-broken_svg__c",x1:"144.588%",y1:"98.8%",x2:"29.516%",y2:"100%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#E0E5EF",stopOpacity:0}),React.createElement("stop",{offset:1,stopColor:"#E0E5EF"})),React.createElement("linearGradient",{id:"img-broken_svg__j",x1:"137.408%",y1:"115.518%",x2:"64.225%",y2:"-9.666%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__k",x1:"93.55%",y1:"132.782%",x2:"29.55%",y2:"19.901%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__l",x1:"178.579%",y1:"114.41%",x2:"-67.6%",y2:"-21.639%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__m",x1:"113.805%",y1:"123.201%",x2:"30.832%",y2:"0%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__n",x1:"110.007%",y1:"128.49%",x2:"50%",y2:"0%",gradientUnits:"objectBoundingBox"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("linearGradient",{id:"img-broken_svg__o",x1:92.534,y1:94.384,x2:55.523,y2:19.166,gradientUnits:"userSpaceOnUse"},React.createElement("stop",{offset:0,stopColor:"#A2ABB9"}),React.createElement("stop",{offset:1,stopColor:"#E7EAF0"})),React.createElement("path",{id:"img-broken_svg__a",d:"M0 0h600v600H0z"})));var ye="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAwIiBoZWlnaHQ9IjYwMCIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iI0ZGRiIgZD0iTTAgMGg2MDB2NjAwSDB6Ii8+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PGcgbWFzaz0idXJsKCNiKSI+PHBhdGggc3R5bGU9ImZpbGw6I2YzZjNmYSIgb3BhY2l0eT0iLjYiIGQ9Ik01MjAuODIgMjc2LjQxMWMuNyA3LjEwMyAxLjA1OCAxNC4zMDUgMS4wNTggMjEuNTg5IDAgMTIyLjA0LTEwMC41NCAyMjEtMjI0LjUxIDIyMS05OS4xNTkgMC0xODMuMzI4LTYzLjMxMy0yMTMuMDQ3LTE1MS4xMDdoLTguNDI2Yy0zLjQgMC02LjE3LTIuNzYtNi4xNy02LjE2QTYuMTY4IDYuMTY4IDAgMCAxIDczLjYwOCAzNTZIODRjNy4xOCAwIDEzLTUuODIgMTMtMTN2LTFjMC03LjE4LTUuODItMTMtMTMtMTNoLTguOTVsLS4wMjMtLjE2MUg1Mi44NTVjLTUuNjggMC0xMC4yOC00LjYtMTAuMjgtMTAuMjhzNC42LTEwLjI4IDEwLjI4LTEwLjI4aDIwLjI0MUEyMjEuMDQyIDIyMS4wNDIgMCAwIDEgNzIuODU4IDI5OGMwLTMyLjYyOSA3LjE4Ny02My42MDggMjAuMDg2LTkxLjQ4Nkg1N2MtMTUuNDYgMC0yOC0xMi41NDEtMjgtMjguMDAxdi0xLjU2YzAtMTQuOTEzIDExLjY3LTI3LjExIDI2LjM3My0yNy45NTNIMTgyYzUuNTIgMCAxMC00LjQ4IDEwLTEwcy00LjQ4LTEwLTEwLTEwaC0yOS4yOTRsLjczMi0uNjA1aC0xNC41OWMtMTAuNDkgMC0xOS04LjUxLTE5LTE5di0xLjA2YzAtMTAuNDkgOC41MS0xOSAxOS0xOWg4NC4zOTJDMjQ2LjQ0OCA4MS4zNDUgMjcxLjM5MyA3NyAyOTcuMzY4IDc3YzUxLjAyMyAwIDk4LjA3NyAxNi43NjMgMTM1Ljc4NyA0NUg0MThjLTcuMTggMC0xMyA1LjgyLTEzIDEzdjFjMCA3LjE4IDUuODIgMTMgMTMgMTNoNDUuMTY2YTIyMi40NzggMjIyLjQ3OCAwIDAgMSAyMy4yNTMgMjkuNzYzaDIxLjQ2MWM3LjczIDAgMTQgNi4yNyAxNCAxNHYuNzhjMCA2LjM4Ny00LjI4MSAxMS43NzctMTAuMTI4IDEzLjQ1N0g0OTJjLTguODQgMC0xNiA3LjE2LTE2IDE2djVjMCA4Ljg0IDcuMTYgMTYgMTYgMTZoNjcuOTAxYzYuOTUyIDEuNzQxIDEyLjA5NyA4LjAyOCAxMi4wOTcgMTUuNTIxdi44OWMwIDguODQtNy4xNiAxNi0xNiAxNnoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjYykiIGQ9Ik0xNDcuOTc3IDE4Ny40NjhjLTE0LjY0IDAtMjYuNTEgMTEuODctMjYuNTEgMjYuNWgtNS4zNGMtNi43MyAwLTEyLjE5IDUuOTMtMTIuMTkgMTMuMjVzNS40NiAxMy4yNSAxMi4xOSAxMy4yNWg2NS42NWM2Ljc0IDAgMTIuMTktNS45MyAxMi4xOS0xMy4yNXMtNS40NS0xMy4yNS0xMi4xOS0xMy4yNWgtNy4zMWMwLTE0LjYzLTExLjg2LTI2LjUtMjYuNDktMjYuNXoiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjZCkiIGQ9Ik0zMTMuMDg4IDE0OC4xMjhjMCA1LjI1IDMuOTEgOS41IDguNzQgOS41aDQ3LjA3YzQuODMgMCA4Ljc0LTQuMjUgOC43NC05LjVzLTMuOTEtOS41LTguNzQtOS41aC01LjI0YzAtMTAuNS04LjUxLTE5LTE5LTE5cy0xOSA4LjUtMTkgMTloLTMuODNjLTQuODMgMC04Ljc0IDQuMjUtOC43NCA5LjV6Ii8+PHBhdGggc3R5bGU9ImZpbGw6I2U3ZWFmMCIgZD0iTTUwOCA0NTMuNWMwIDExLjAzNi0xOS4xMiAyMC40MzgtNDUuODY5IDIzLjk4OC02LjM4IDEuODg1LTEzLjU1NiAzLjY2My0yMS40MzggNS4zMTVBMTYuODIgMTYuODIgMCAwIDEgNDQxIDQ4NmMwIDI0LjMtNTIuODQgNDQtMTE4IDQ0LTU4LjYyMyAwLTEwNy4yNzQtMTUuOTQ2LTExNi40NDUtMzYuODQxQzEyOC4zMjggNDg3LjIxNSA3MyA0NzIuNTkgNzMgNDU1LjVjMC0yMi4zNiA5NC43MS00MC41IDIxMS41LTQwLjUgNjEuMzYzIDAgMTE2LjYzMSA1LjAwOCAxNTUuMjY5IDEzLjAwNEM0NzcuNTYzIDQyOC4yNTMgNTA4IDQzOS41NzUgNTA4IDQ1My41eiIvPjxnIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZmlsbD0idXJsKCNlKSIgZD0iTTM1NiA2MmMtLjEyLTEuMzYtLjIzLTIuNzgtLjMxLTQuMjYtLjA5LTEuMjMtLjE2LTIuNjMtLjIyLTQuMTctLjA2LTEuNTUtLjA5LTMuMDgtLjA5LTQuNlYzOC42Nmw5Ljc0LS4xM2gxLjE5Yy40MiAwIC43OS0uMDIgMS4xMy0uMDYuNDEgMCAuODEtLjAyIDEuMTgtLjA2YTUuMzc0IDUuMzc0IDAgMCAwIDIuNDQtMS45NWMuNjMtLjg4Ljk0LTEuOS45NC0zLjA1bC0uMTMtLjgtLjI0LS45OWMtLjEzLS4zNy0uMjMtLjczLS4zMi0xLjA1bC0xLjA2LTIuMWMuMjEtLjc0LjMxLTEuNDQuMzEtMi4xIDAtMS42MS0uNDUtMy4wMy0xLjM3LTQuMjYtLjkyLTEuMjMtMi4wOS0yLjEtMy41LTIuNmwtNy44OC0xNS4yNWE3LjIyIDcuMjIgMCAwIDAtMi42NS0zLjA5QzM1My45Ny4zOSAzNTIuNjMgMCAzNTEuMTMgMGMtMS43MSAwLTMuMTEuNTEtNC4xOSAxLjU0LTEuMDggMS4wMy0yLjAyIDIuMjctMi44MiAzLjcxaC0uMDZsLTkuODEgMTcuOTdjLS42Ny41OC0xLjIyIDEuMjYtMS42NSAyLjA0LS40NS43OC0uNzEgMS42Mi0uNzkgMi41M2wtMS41NiAzLjU4Yy0uMDguMjEtLjE0LjQxLS4xOS42MiAwIDAtLjA2LjQzLS4wNi42OCAwIDEuNDQuNDYgMi42OCAxLjM3IDMuNzRhNi41MzUgNi41MzUgMCAwIDAgMy40NCAyLjA2bDcuMDYuMzdjLjM0LjU4Ljc2IDEuMDMgMS4yOCAxLjM2LjUzLjMzIDEuMTQuNSAxLjg1LjUuODggMCAxLjY3LS4zMSAyLjM4LS45M3Y5LjQ1YzAgMi43MS0uMDMgNC44OS0uMDcgNi41MS0uMDQgMS42My0uMDggMi45Mi0uMTIgMy44NkwzNDcgNjJoOXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkyIDM3MCkiLz48cGF0aCBmaWxsPSJ1cmwoI2YpIiBkPSJNMzg1IDYwLjdjLjg4IDAgMS42Ny0uMzEgMi4zOC0uOTN2OS40NWMwIDIuNzEtLjAzIDQuODktLjA3IDYuNTEtLjA0IDEuNjMtLjA4IDIuOTItLjEyIDMuODZMMzg3IDgyaDljLS4xMi0xLjM2LS4yMy0yLjc4LS4zMS00LjI2LS4wOS0xLjIzLS4xNi0yLjYzLS4yMi00LjE3LS4wNi0xLjU1LS4wOS0zLjA4LS4wOS00LjZWNTguNjZsOS43NC0uMTNoMS4xOWMuNDIgMCAuNzktLjAyIDEuMTMtLjA2LjQxIDAgLjgxLS4wMiAxLjE4LS4wNmE1LjM3NCA1LjM3NCAwIDAgMCAyLjQ0LTEuOTVjLjYzLS44OC45NC0xLjkuOTQtMy4wNWwtLjEzLS44LS4yNC0uOTljLS4xMy0uMzctLjIzLS43My0uMzItMS4wNWwtMS4wNi0yLjFjLjIxLS43NC4zMS0xLjQ0LjMxLTIuMSAwLTEuNjEtLjQ1LTMuMDMtMS4zNy00LjI2LS45Mi0xLjIzLTIuMDktMi4xLTMuNS0yLjZsLTcuODgtMTUuMjVhNy4yMiA3LjIyIDAgMCAwLTIuNjUtMy4wOWMtMS4xOS0uNzgtMi41My0xLjE3LTQuMDMtMS4xNy0xLjcxIDAtMy4xMS41MS00LjE5IDEuNTQtMS4wOCAxLjAzLTIuMDIgMi4yNy0yLjgyIDMuNzFoLS4wNmwtOS44MSAxNy45N2MtLjY3LjU4LTEuMjIgMS4yNi0xLjY1IDIuMDQtLjQ1Ljc4LS43MSAxLjYyLS43OSAyLjUzbC0xLjU2IDMuNThjLS4wOC4yMS0uMTQuNDEtLjE5LjYyIDAgMC0uMDYuNDMtLjA2LjY4IDAgMS40NC40NiAyLjY4IDEuMzcgMy43NGE2LjUzNSA2LjUzNSAwIDAgMCAzLjQ0IDIuMDZsNy4wNi4zN2MuMzQuNTguNzYgMS4wMyAxLjI4IDEuMzYuNTMuMzMgMS4xNC41IDEuODUuNXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkyIDM3MCkiLz48cGF0aCBmaWxsPSJ1cmwoI2cpIiBkPSJNMzUuMzQgMS42NkMzMy42Ny41NSAzMS43OCAwIDI5LjY4IDBjLTIuNCAwLTQuMzYuNzMtNS44OSAyLjE5LTEuNTIgMS40Ni0yLjgzIDMuMjEtMy45NSA1LjI2aC0uMDlMNS45NyAzMi45NmMtLjk0LjgxLTEuNzEgMS43OC0yLjMyIDIuODlhOC44NDUgOC44NDUgMCAwIDAtMS4xIDMuNTlsLTIuMiA1LjA5Yy0uMTEuMjktLjIuNTgtLjI2Ljg3IDAgMC0uMDkuNjItLjA5Ljk3IDAgMi4wNC42NCAzLjgxIDEuOTMgNS4zYTkgOSAwIDAgMCA0LjgzIDIuOTNsOS45Mi41M2MuNDcuODIgMS4wNyAxLjQ2IDEuOCAxLjkzczEuNi43IDIuNTkuN2MxLjIzIDAgMi4zNC0uNDQgMy4zNC0xLjMydjEzLjQxYzAgMy44Ni0uMDMgNi45NS0uMDkgOS4yNS0uMDYgMi4zMS0uMTIgNC4xNC0uMTggNS40OUwyMy44OCA4OGgxMi42NGMtLjE3LTEuOTMtLjMyLTMuOTQtLjQ0LTYuMDUtLjExLTEuNzUtLjIxLTMuNzMtLjMtNS45MnMtLjEzLTQuMzYtLjEzLTYuNTNWNTQuODdsMTMuNjktLjE4aDEuNjdjLjU5IDAgMS4xMS0uMDIgMS41OC0uMDkuNTkgMCAxLjE0LS4wMiAxLjY3LS4wOGE3LjU5OSA3LjU5OSAwIDAgMCAzLjQyLTIuNzdjLjg4LTEuMjUgMS4zMi0yLjcgMS4zMi00LjM0bC0uMTgtMS4xMy0uMzUtMS40Yy0uMTctLjUzLS4zMi0xLjAzLS40NC0xLjVsLTEuNDktMi45N2MuMjktMS4wNi40NC0yLjA1LjQ0LTIuOTggMC0yLjI4LS42NC00LjMtMS45My02LjA1cy0yLjkzLTIuOTgtNC45Mi0zLjY5TDM5LjA3IDYuMDVjLS44Mi0xLjgyLTIuMDctMy4yOC0zLjczLTQuMzl6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MiAzNzApIi8+PC9nPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNoKSIgb3BhY2l0eT0iLjUiIGQ9Ik0xOTUuMTcgMzM5LjAwOCAzMzYgMjU5LjExOGwtMTgwLjc5LTU2LjExTDMgMjQxLjA0OGwxOTIuMTcgOTcuOTZ6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjaSkiIGQ9Im0xMjAuMTkgMjM4LjQ2OCAxNi43Ni02Ny0yMy4yMy01MC43TDE0NyA4Ny4wMDhsLTEzNy44MS44QTkuMjQyIDkuMjQyIDAgMCAwIDAgOTcuMDU4djEzMi4xNmMwIDUuMTIgNC4xNSA5LjI1IDkuMjYgOS4yNWwxMDMuNjEgNC41NCA3LjMyLTQuNTR6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjaikiIGQ9Ik0wIDIzMy43MjhjMCA1LjEzIDQuMTMgOS4yOCA5LjIyIDkuMjhoMTAzLjE5bDE3LjU5LTcwLjgzLTI0Ljk1LTUyLjY1TDEzMCA5My4wMDhsLTEyMC44NS44Yy01LjA1LjA0LTkuMTUgNC4xOC05LjE1IDkuMjh2MTMwLjY0eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSJ1cmwoI2spIiBkPSJNMTI5IDE3Ny40MDhzLTM5LjE1IDI1LjQxLTM5Ljg3IDI1LjQ3Yy0xNS41OS0xMy42MS00MS4xNy0zOS41NS00MS4xNy0zOS41NS0yLjk1LTMuMDEtOC4xMS0zLjExLTExLjE5LS4yTDAgMjE0LjE1OHYxOC44YzAgNS4wNSAzLjExIDEwLjA1IDEwLjEgMTAuMDVoMTAyLjg0bDEwLjA1LTQwLjgxIDYuMDEtMjQuNzl6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjbCkiIGQ9Im0xNjEuMTE0IDEyMS41ODggMTAuMjEgNTAuOS0zOS4xNSA3Mi42NiA3Ny45NyAyMS4yYzUuMzQgMi4xMiAxMS4zMi0xLjA1IDEyLjUxLTYuNjNsMzYuMTQtMTM0LjA5YzEuMDMtNC44Mi0xLjk1LTkuNTgtNi43Ni0xMC44MWwtNTMuODEtMTMuODEtMzcuMTEgMjAuNTh6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxODAgMTk0Ljk5MikiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9InVybCgjbSkiIGQ9Im0xNTMuNTMgMTI1LjIzMyAxMC4yMSA1MC44OS0zNy43NCA2Ny4zNiA3Ny45OCAyMS4yMWM1LjMzIDIuMTIgMTEuMzEtMS4wNCAxMi41LTYuNjNsMzQuNzMtMTI4LjhjMS4wMy00LjgyLTEuOTYtOS41OC02Ljc2LTEwLjgxbC01My44MS0xMy44MS0zNy4xMSAyMC41OXoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNuKSIgZD0iTTE4MS4zNDQgMTc0LjM2OGMtMi0zLjI3LTYuMjMtNC4zMy05LjUyLTIuMzlsLTguMDkgNC4xNi0zNy42NSA2Ny4zN3M2Ny4yMiAxOC43IDc1LjEyIDIwLjQ3YzcuOTEgMS43NiAxMy43LjU0IDE0Ljg5LTUuMDhsMy4zNy0xMS41MS0zOC4xMi03My4wMnoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIHN0eWxlPSJmaWxsOiNmZmYiIGQ9Ik0yMjMuMTA0IDE1MS42OTdjMC05LjMyLTcuNTctMTYuODgtMTYuOS0xNi44OC05LjMzIDAtMTYuODkgNy41Ni0xNi44OSAxNi44OHM3LjU2IDE2Ljg4IDE2Ljg5IDE2Ljg4YzkuMzMgMCAxNi45LTcuNTYgMTYuOS0xNi44OHoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4MCAxOTQuOTkyKSIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgZmlsbD0idXJsKCNvKSIgZD0ibTUwLjkyMSAzNy44MjMgMTIuMzg2LTYuMDQxIDExLjIwOSAyMi45ODItNy40NTItMzIuNjM3LTEyLjU5MiA2LjE0Mkw0Mi4xOTcgNi44NjRsOC43MjQgMzAuOTU5eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBmaWxsPSJ1cmwoI3ApIiBkPSJtMjE3LjU5OCA0OC44OTUgMTcuODg4IDE3LjE4NC0zMC45NDUgMjMuODE3czQ3LjkyOS0yMi4zNyA0Ni45OTYtMjMuNzA5Yy0uOTI1LTEuMzM1LTE4LjU3LTE2Ljk5Mi0xOC41Ny0xNi45OTJsMjQuMTM0LTI1LjUzNy0zOS41MDMgMjUuMjM2eiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTgwIDE5NC45OTIpIi8+PC9nPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iaSIgeDE9IjE3OC41NzklIiB5MT0iMTE0LjQxJSIgeDI9Ii02Ny42JSIgeTI9Ii0yMS42MzklIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjQTJBQkI5Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTdFQUYwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9InAiIHgxPSIxOTguOTIzIiB5MT0iMTUxLjY4IiB4Mj0iMjUzLjU4OCIgeTI9IjQzLjI0NSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJkIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDE9IjE0NC41ODglIiB5MT0iOTguOCUiIHgyPSIyOS41MTYlIiB5Mj0iMTAwJSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0UwRTVFRiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTBFNUVGIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImYiIHgxPSIxNDQuNTg4JSIgeTE9Ijk4LjglIiB4Mj0iMjkuNTE2JSIgeTI9IjEwMCUiIGdyYWRpZW50VW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNFMEU1RUYiIHN0b3Atb3BhY2l0eT0iMCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0UwRTVFRiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJnIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaCIgeDE9IjUwJSIgeTE9IjMwLjM4NyUiIHgyPSItMzEuMjE1JSIgeTI9Ii02MC4yMjglIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRThFQkYxIiBzdG9wLW9wYWNpdHk9Ii4yNCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJjIiB4MT0iMTQ0LjU4OCUiIHkxPSI5OC44JSIgeDI9IjI5LjUxNiUiIHkyPSIxMDAlIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjRTBFNUVGIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFMEU1RUYiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iaiIgeDE9IjEzNy40MDglIiB5MT0iMTE1LjUxOCUiIHgyPSI2NC4yMjUlIiB5Mj0iLTkuNjY2JSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJrIiB4MT0iOTMuNTUlIiB5MT0iMTMyLjc4MiUiIHgyPSIyOS41NSUiIHkyPSIxOS45MDElIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjQTJBQkI5Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjRTdFQUYwIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImwiIHgxPSIxNzguNTc5JSIgeTE9IjExNC40MSUiIHgyPSItNjcuNiUiIHkyPSItMjEuNjM5JSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJtIiB4MT0iMTEzLjgwNSUiIHkxPSIxMjMuMjAxJSIgeDI9IjMwLjgzMiUiIHkyPSIwJSIgZ3JhZGllbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJuIiB4MT0iMTEwLjAwNyUiIHkxPSIxMjguNDklIiB4Mj0iNTAlIiB5Mj0iMCUiIGdyYWRpZW50VW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNBMkFCQjkiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNFN0VBRjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0ibyIgeDE9IjkyLjUzNCIgeTE9Ijk0LjM4NCIgeDI9IjU1LjUyMyIgeTI9IjE5LjE2NiIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI0EyQUJCOSIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI0U3RUFGMCIvPjwvbGluZWFyR3JhZGllbnQ+PHBhdGggaWQ9ImEiIGQ9Ik0wIDBoNjAwdjYwMEgweiIvPjwvZGVmcz48L3N2Zz4=",ne=function(he){var Pe=he.url,Un=Pe===void 0?"":Pe,vt=he.imgRef,zn=he.canvasRef,En=he.activeCanvasRef,On=he.clientSize,Fn=he.imagePos,mr=he.onLoad,fr=(0,g.useState)(!1),or=s()(fr,2),jn=or[0],ua=or[1],Or=(0,g.useState)(!0),ar=s()(Or,2),hr=ar[0],Pr=ar[1],aa=function(lr){Pr(!1),mr(lr)},Jn=function(lr){lr.stopPropagation(),vt!=null&&vt.current&&(vt.current.src=Un,Pr(!0),ua(!1))},fa=function(lr){var Ir=lr.target;Ir.src=ye,Pr(!1),ua(!0)},Qr=Un.indexOf("aliyuncs.com")>-1?"anonymous":void 0;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("img",{ref:vt,src:Un,alt:"pic",crossOrigin:Qr,style:{width:On.width,height:On.height},onLoad:aa,onError:fa}),(0,x.jsx)("canvas",{ref:zn,draggable:!1,onContextMenu:function(lr){return lr.preventDefault()},className:"dds-annotator-imageview-canvas"}),(0,x.jsx)("canvas",{ref:En,draggable:!1,onContextMenu:function(lr){return lr.preventDefault()},className:"dds-annotator-imageview-canvas"}),jn&&(0,x.jsxs)("div",{className:"dds-annotator-imageview-reload-cover",onClick:Jn,onDoubleClick:Jn,style:{left:Fn.current.x,top:Fn.current.y,width:On.width,height:On.height},children:[(0,x.jsx)("img",{src:ye,alt:"error-pic"}),(0,x.jsx)("div",{className:"content-box",children:(0,x.jsx)(C.ZP,{ghost:!0,type:"primary",className:"reload-trigger",shape:"circle",size:"small",icon:(0,x.jsx)(Qe.Z,{})})})]}),hr&&(0,x.jsx)("div",{className:"dds-annotator-imageview-reload-cover",style:{backgroundColor:"#f6f6f6",left:Fn.current.x,top:Fn.current.y,width:On.width,height:On.height},children:(0,x.jsx)(pt.Z,{className:"reload-trigger"})})]})},H=e(39875),R=e(32814),P=e(45060),ae=e(23707),Q=e(17410),ie=(0,g.memo)(function(Ue){var he=Ue.AIAnnotation,Pe=Ue.modelOptions,Un=Ue.selectedModel,vt=Ue.onSelectModel,zn=Ue.onCloseModal,En=(0,F.bU)(),On=En.localeText,Fn=Pe.length*220+(Pe.length+1)*20,mr=(0,g.useMemo)(function(){return!!(he&&Pe&&Pe.length>1&&!Un)},[he,Pe,Un]);return(0,x.jsx)(A,{children:(0,x.jsx)(n.Z,{open:mr,title:On("DDSAnnotator.smart.modelSelectModal.title"),width:Fn,onCancel:zn,footer:null,centered:!0,destroyOnClose:!0,children:(0,x.jsx)("div",{className:"dds-annotator-model-selector-modal",children:Pe.map(function(fr,or){var jn=Q.TR[fr];return jn?(0,x.jsxs)("div",{className:c()("dds-annotator-model-selector-modal-option",{"dds-annotator-model-selector-modal-option-hightlight":jn.hightlight}),onClick:function(){return vt(fr)},children:[(0,x.jsx)(H.Z,{className:"dds-annotator-model-selector-modal-option-icon",component:jn.icon}),(0,x.jsx)("div",{className:"dds-annotator-model-selector-modal-option-name",children:On(jn.name)}),(0,x.jsx)("div",{className:"dds-annotator-model-selector-modal-option-description",children:On(jn.description)}),jn.hightlight&&(0,x.jsx)(R.Z,{color:"geekblue",className:"dds-annotator-model-selector-modal-option-tag",children:"New"})]},or):(0,x.jsx)(x.Fragment,{})})})})})}),me=ie,je=e(23605),Ee=e(2556),Me=e(82968),We=e(37617),re=e(28506),se=e(18695),J=Object.defineProperty,de=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,Le=(Ue,he,Pe)=>he in Ue?J(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Oe=(Ue,he)=>{for(var Pe in he||(he={}))xe.call(he,Pe)&&Le(Ue,Pe,he[Pe]);if(de)for(var Pe of de(he))ce.call(he,Pe)&&Le(Ue,Pe,he[Pe]);return Ue};const we=Ue=>g.createElement("svg",Oe({width:10,height:10,fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.464 5.65A1 1 0 0 0 2.88 7.064l2.12-2.12 2.122 2.12A1 1 0 0 0 8.535 5.65L5.713 2.828a1 1 0 0 0-1.42-.006L1.464 5.65Z",fill:"#fff"}));var Ne="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjQ2NCA1LjY1QTEgMSAwIDAgMCAyLjg4IDcuMDY0bDIuMTItMi4xMiAyLjEyMiAyLjEyQTEgMSAwIDAgMCA4LjUzNSA1LjY1TDUuNzEzIDIuODI4YTEgMSAwIDAgMC0xLjQyLS4wMDZMMS40NjQgNS42NVoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",st=Object.defineProperty,et=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Be=(Ue,he,Pe)=>he in Ue?st(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,it=(Ue,he)=>{for(var Pe in he||(he={}))Ye.call(he,Pe)&&Be(Ue,Pe,he[Pe]);if(et)for(var Pe of et(he))ke.call(he,Pe)&&Be(Ue,Pe,he[Pe]);return Ue};const Ve=Ue=>g.createElement("svg",it({viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#layer_svg__a)"},g.createElement("path",{d:"m.57 6.625 5.805 3.48a2.182 2.182 0 0 0 2.25 0l5.805-3.48a1.163 1.163 0 0 0 0-1.995L8.625 1.144a2.18 2.18 0 0 0-2.25 0L.57 4.625a1.163 1.163 0 0 0 0 1.995v.005ZM7.34 2.75a.313.313 0 0 1 .32 0l4.789 2.875L7.66 8.5a.313.313 0 0 1-.322 0L2.551 5.625 7.34 2.75Z"}),g.createElement("path",{d:"M8.304 11.77a1.562 1.562 0 0 1-1.608 0L1.42 8.603a.937.937 0 0 0-.965 1.607l5.276 3.164a3.43 3.43 0 0 0 3.538 0l5.276-3.166a.937.937 0 1 0-.965-1.605l-5.276 3.165Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"layer_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h15v15H0z"}))));var xt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTUgMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJtLjU3IDYuNjI1IDUuODA1IDMuNDhhMi4xODIgMi4xODIgMCAwIDAgMi4yNSAwbDUuODA1LTMuNDhhMS4xNjMgMS4xNjMgMCAwIDAgMC0xLjk5NUw4LjYyNSAxLjE0NGEyLjE4IDIuMTggMCAwIDAtMi4yNSAwTC41NyA0LjYyNWExLjE2MyAxLjE2MyAwIDAgMCAwIDEuOTk1di4wMDVaTTcuMzQgMi43NWEuMzEzLjMxMyAwIDAgMSAuMzIgMGw0Ljc4OSAyLjg3NUw3LjY2IDguNWEuMzEzLjMxMyAwIDAgMS0uMzIyIDBMMi41NTEgNS42MjUgNy4zNCAyLjc1WiIvPjxwYXRoIGQ9Ik04LjMwNCAxMS43N2ExLjU2MiAxLjU2MiAwIDAgMS0xLjYwOCAwTDEuNDIgOC42MDNhLjkzNy45MzcgMCAwIDAtLjk2NSAxLjYwN2w1LjI3NiAzLjE2NGEzLjQzIDMuNDMgMCAwIDAgMy41MzggMGw1LjI3Ni0zLjE2NmEuOTM3LjkzNyAwIDEgMC0uOTY1LTEuNjA1bC01LjI3NiAzLjE2NVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE1djE1SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Ht=Object.defineProperty,Ot=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,yt=(Ue,he,Pe)=>he in Ue?Ht(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,ze=(Ue,he)=>{for(var Pe in he||(he={}))wt.call(he,Pe)&&yt(Ue,Pe,he[Pe]);if(Ot)for(var Pe of Ot(he))_t.call(he,Pe)&&yt(Ue,Pe,he[Pe]);return Ue};const tt=Ue=>g.createElement("svg",ze({className:"palette_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:16,height:16},Ue),g.createElement("path",{d:"M512 102.39c-226.202 0-409.6 183.367-409.6 409.6S285.798 921.62 512 921.62a408.556 408.556 0 0 0 156.672-31.2 68.332 68.332 0 0 0 22.16-111.402l-48.057-48.056a68.28 68.28 0 0 1 48.261-116.542l162.304-.04a68.26 68.26 0 0 0 68.27-68.26v-34.13c-.01-226.243-183.378-409.6-409.61-409.6zm341.33 443.73-162.304.03c-75.305 0-136.53 61.225-136.53 136.53 0 36.485 14.203 70.738 39.997 96.543l48.067 48.056a338.166 338.166 0 0 1-130.57 26.082c-188.201 0-341.33-153.14-341.33-341.371S323.799 170.65 512 170.65s341.33 153.098 341.33 341.33v34.14z",fill:"#fff"}),g.createElement("path",{d:"M443.73 307.19a68.27 68.27 0 1 0 136.54 0 68.27 68.27 0 1 0-136.54 0ZM300.503 555.254a68.198 68.198 0 0 1 93.225 24.996 68.3 68.3 0 0 1-24.934 93.266 68.352 68.352 0 0 1-93.297-24.996 68.321 68.321 0 0 1 25.006-93.266zM621.056 409.59a68.29 68.29 0 1 0 136.581 0 68.29 68.29 0 1 0-136.581 0ZM300.503 468.716a68.26 68.26 0 0 1-24.965-93.266 68.25 68.25 0 1 1 118.2 68.239 68.27 68.27 0 0 1-93.235 25.027z",fill:"#fff"}));var St="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiPjxwYXRoIGQ9Ik01MTIgMTAyLjM5Yy0yMjYuMjAyIDAtNDA5LjYgMTgzLjM2Ny00MDkuNiA0MDkuNlMyODUuNzk4IDkyMS42MiA1MTIgOTIxLjYyYTQwOC41NTYgNDA4LjU1NiAwIDAgMCAxNTYuNjcyLTMxLjIgNjguMzMyIDY4LjMzMiAwIDAgMCAyMi4xNi0xMTEuNDAybC00OC4wNTctNDguMDU2YTY4LjI4IDY4LjI4IDAgMCAxIDQ4LjI2MS0xMTYuNTQybDE2Mi4zMDQtLjA0YTY4LjI2IDY4LjI2IDAgMCAwIDY4LjI3LTY4LjI2di0zNC4xM2MtLjAxLTIyNi4yNDMtMTgzLjM3OC00MDkuNi00MDkuNjEtNDA5LjZ6bTM0MS4zMyA0NDMuNzMtMTYyLjMwNC4wM2MtNzUuMzA1IDAtMTM2LjUzIDYxLjIyNS0xMzYuNTMgMTM2LjUzIDAgMzYuNDg1IDE0LjIwMyA3MC43MzggMzkuOTk3IDk2LjU0M2w0OC4wNjcgNDguMDU2YTMzOC4xNjYgMzM4LjE2NiAwIDAgMS0xMzAuNTcgMjYuMDgyYy0xODguMjAxIDAtMzQxLjMzLTE1My4xNC0zNDEuMzMtMzQxLjM3MVMzMjMuNzk5IDE3MC42NSA1MTIgMTcwLjY1czM0MS4zMyAxNTMuMDk4IDM0MS4zMyAzNDEuMzN2MzQuMTR6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQ0My43MyAzMDcuMTlhNjguMjcgNjguMjcgMCAxIDAgMTM2LjU0IDAgNjguMjcgNjguMjcgMCAxIDAtMTM2LjU0IDBaTTMwMC41MDMgNTU1LjI1NGE2OC4xOTggNjguMTk4IDAgMCAxIDkzLjIyNSAyNC45OTYgNjguMyA2OC4zIDAgMCAxLTI0LjkzNCA5My4yNjYgNjguMzUyIDY4LjM1MiAwIDAgMS05My4yOTctMjQuOTk2IDY4LjMyMSA2OC4zMjEgMCAwIDEgMjUuMDA2LTkzLjI2NnpNNjIxLjA1NiA0MDkuNTlhNjguMjkgNjguMjkgMCAxIDAgMTM2LjU4MSAwIDY4LjI5IDY4LjI5IDAgMSAwLTEzNi41ODEgMFpNMzAwLjUwMyA0NjguNzE2YTY4LjI2IDY4LjI2IDAgMCAxLTI0Ljk2NS05My4yNjYgNjguMjUgNjguMjUgMCAxIDEgMTE4LjIgNjguMjM5IDY4LjI3IDY4LjI3IDAgMCAxLTkzLjIzNSAyNS4wMjd6IiBmaWxsPSIjZmZmIi8+PC9zdmc+",lt=e(2657),Gt=e.n(lt),Nt,At=function(Ue){return Ue.Tool="DDSAnnotator.shortcuts.tools",Ue.GeneralAction="DDSAnnotator.shortcuts.general",Ue.ViewAction="DDSAnnotator.shortcuts.viewControl",Ue.AnnotationAction="DDSAnnotator.shortcuts.annotsControl",Ue}({}),Ie=function(Ue){return Ue[Ue.RectangleTool=0]="RectangleTool",Ue[Ue.PolygonTool=1]="PolygonTool",Ue[Ue.SkeletonTool=2]="SkeletonTool",Ue[Ue.DragTool=3]="DragTool",Ue[Ue.MaskTool=4]="MaskTool",Ue[Ue.SmartAnnotation=5]="SmartAnnotation",Ue[Ue.Undo=6]="Undo",Ue[Ue.Redo=7]="Redo",Ue[Ue.RepeatPrevious=8]="RepeatPrevious",Ue[Ue.DeleteAll=9]="DeleteAll",Ue[Ue.NextImage=10]="NextImage",Ue[Ue.PreviousImage=11]="PreviousImage",Ue[Ue.Save=12]="Save",Ue[Ue.Accept=13]="Accept",Ue[Ue.Reject=14]="Reject",Ue[Ue.ZoomIn=15]="ZoomIn",Ue[Ue.ZoomOut=16]="ZoomOut",Ue[Ue.Reset=17]="Reset",Ue[Ue.HideCurrObject=18]="HideCurrObject",Ue[Ue.HideCurrCategory=19]="HideCurrCategory",Ue[Ue.HideAll=20]="HideAll",Ue[Ue.PanImage=21]="PanImage",Ue[Ue.DeleteCurrObject=22]="DeleteCurrObject",Ue[Ue.SaveCurrObject=23]="SaveCurrObject",Ue[Ue.CancelCurrObject=24]="CancelCurrObject",Ue}({}),Se=(Nt={},Gt()(Nt,Ie.RectangleTool,{name:"RectangleTool",type:At.Tool,shortcut:["r"],descTextKey:"DDSAnnotator.shortcuts.tools.rectangle"}),Gt()(Nt,Ie.PolygonTool,{name:"PolygonTool",type:At.Tool,shortcut:["p"],descTextKey:"DDSAnnotator.shortcuts.tools.polygon"}),Gt()(Nt,Ie.SkeletonTool,{name:"SkeletonTool",type:At.Tool,shortcut:["s"],descTextKey:"DDSAnnotator.shortcuts.tools.skeleton"}),Gt()(Nt,Ie.MaskTool,{name:"MaskTool",type:At.Tool,shortcut:["m"],descTextKey:"DDSAnnotator.shortcuts.tools.mask"}),Gt()(Nt,Ie.DragTool,{name:"DragTool",type:At.Tool,shortcut:["d"],descTextKey:"DDSAnnotator.shortcuts.tools.drag"}),Gt()(Nt,Ie.SmartAnnotation,{name:"SmartAnnotation",type:At.GeneralAction,shortcut:["a"],descTextKey:"DDSAnnotator.shortcuts.general.smart"}),Gt()(Nt,Ie.Undo,{name:"Undo",type:At.GeneralAction,shortcut:["ctrl.z","meta.z"],descTextKey:"DDSAnnotator.shortcuts.general.undo"}),Gt()(Nt,Ie.Redo,{name:"Redo",type:At.GeneralAction,shortcut:["ctrl.shift.z","meta.shift.z"],descTextKey:"DDSAnnotator.shortcuts.general.redo"}),Gt()(Nt,Ie.RepeatPrevious,{name:"RepeatPrevious",type:At.GeneralAction,shortcut:["ctrl.r","meta.r"],descTextKey:"DDSAnnotator.shortcuts.general.repeatPrevious"}),Gt()(Nt,Ie.DeleteAll,{name:"DeleteAll",type:At.GeneralAction,shortcut:["ctrl.shift.d","meta.shift.d"],descTextKey:"DDSAnnotator.shortcuts.general.deleteAll"}),Gt()(Nt,Ie.Save,{name:"Save",type:At.GeneralAction,shortcut:["ctrl.s","meta.s"],descTextKey:"DDSAnnotator.shortcuts.general.save"}),Gt()(Nt,Ie.HideCurrObject,{name:"HideCurrObject",type:At.ViewAction,shortcut:["h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideCurrObject"}),Gt()(Nt,Ie.HideCurrCategory,{name:"HideCurrCategory",type:At.ViewAction,shortcut:["ctrl.h","meta.h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideCurrCategory"}),Gt()(Nt,Ie.HideAll,{name:"HideAll",type:At.ViewAction,shortcut:["ctrl.shift.h","meta.shift.h"],descTextKey:"DDSAnnotator.shortcuts.viewControl.hideAll"}),Gt()(Nt,Ie.ZoomIn,{name:"ZoomIn",type:At.ViewAction,shortcut:["equalsign"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomIn"}),Gt()(Nt,Ie.ZoomOut,{name:"ZoomOut",type:At.ViewAction,shortcut:["dash"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomOut"}),Gt()(Nt,Ie.Reset,{name:"Reset",type:At.ViewAction,shortcut:["0"],descTextKey:"DDSAnnotator.shortcuts.viewControl.zoomReset"}),Gt()(Nt,Ie.Accept,{name:"Accept",type:At.GeneralAction,shortcut:["ctrl.a","meta.a"],descTextKey:"DDSAnnotator.shortcuts.general.accept"}),Gt()(Nt,Ie.Reject,{name:"Reject",type:At.GeneralAction,shortcut:["ctrl.r","meta.r"],descTextKey:"DDSAnnotator.shortcuts.general.reject"}),Gt()(Nt,Ie.NextImage,{name:"NextImage",type:At.ViewAction,shortcut:["rightarrow"],descTextKey:"DDSAnnotator.shortcuts.general.next"}),Gt()(Nt,Ie.PreviousImage,{name:"PreviousImage",type:At.ViewAction,shortcut:["leftarrow"],descTextKey:"DDSAnnotator.shortcuts.general.prev"}),Gt()(Nt,Ie.PanImage,{name:"PanImage",type:At.ViewAction,shortcut:["Space"],descTextKey:"DDSAnnotator.shortcuts.viewControl.panImage"}),Gt()(Nt,Ie.SaveCurrObject,{name:"SaveCurrObject",type:At.AnnotationAction,shortcut:["enter"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.finish"}),Gt()(Nt,Ie.DeleteCurrObject,{name:"DeleteCurrObject",type:At.AnnotationAction,shortcut:["Backspace","Delete"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.delete"}),Gt()(Nt,Ie.CancelCurrObject,{name:"CancelCurrObject",type:At.AnnotationAction,shortcut:["esc"],descTextKey:"DDSAnnotator.shortcuts.annotsControl.cancel"}),Nt),bt=function(he){var Pe=he;switch(he){case"meta":Pe="\u2318";break;case"shift":Pe="\u21E7";break;case"equalsign":case"add":Pe="+";break;case"dash":case"subtract":Pe="-";break;case"leftarrow":Pe="\u2190";break;case"rightarrow":Pe="\u2192";break;default:Pe=he.toUpperCase();break}return Pe},jt=function(Ue){return Ue.Object="object",Ue.Class="class",Ue}(jt||{}),He=function(he,Pe){return(0,m.isEqual)(he.objects,Pe.objects)&&(0,m.isEqual)(he.framesObjects,Pe.framesObjects)&&he.activeObjectIndex===Pe.activeObjectIndex&&he.supportEdit===Pe.supportEdit&&he.activeClassName===Pe.activeClassName&&he.className===Pe.className&&he.onChangeActiveClassName===Pe.onChangeActiveClassName&&he.onFocusObject===Pe.onFocusObject&&he.onDeleteObject===Pe.onDeleteObject&&he.onChangeObjectHidden===Pe.onChangeObjectHidden&&he.onChangeCategoryHidden===Pe.onChangeCategoryHidden&&he.setDrawDataWithHistory===Pe.setDrawDataWithHistory&&(0,m.isEqual)(he.categories,Pe.categories)&&he.colorByCategory===Pe.colorByCategory&&he.onChangeAnnotsDisplayOpts===Pe.onChangeAnnotsDisplayOpts},qe=(0,g.memo)(function(Ue){var he=Ue.objects,Pe=Ue.framesObjects,Un=Ue.activeObjectIndex,vt=Ue.className,zn=Ue.supportEdit,En=Ue.activeClassName,On=Ue.onFocusObject,Fn=Ue.onActiveObject,mr=Ue.onChangeObjectHidden,fr=Ue.onDeleteObject,or=Ue.onChangeCategoryHidden,jn=Ue.onChangeActiveClassName,ua=Ue.categories,Or=Ue.setDrawDataWithHistory,ar=Ue.colorByCategory,hr=Ue.onChangeAnnotsDisplayOpts,Pr=(0,F.bU)(),aa=Pr.localeText,Jn=aa("DDSAnnotator.annotsList.uncategorized"),fa=(0,g.useState)(jt.Class),Qr=s()(fa,2),$r=Qr[0],lr=Qr[1],Ir=function(hn){lr(hn)},Vr=(0,re.w)(),Ar=Vr.height,Y=45,z=35,ue=Ar-Y-56,Ce=(0,g.useRef)(null),Re=(0,g.useMemo)(function(){return!he.some(function(fn){return!fn.hidden})},[he]),rt=function(){he.forEach(function(hn,bn){mr(bn,!Re)})},Mt=function(){hr({colorByCategory:!ar})},Dt=(0,g.useCallback)(function(fn,hn,bn){Fn(bn),Or(function(Yt){Yt.editingAttribute={index:bn,labelId:fn.labelId,attributes:hn.attributes||[],values:fn.attributes||[]}})},[Fn,Or]);(0,Ee.Z)(Se[Ie.HideAll].shortcut,function(fn){fn.preventDefault(),rt()},{exactMatch:!0});var Vt=(0,g.useMemo)(function(){return he.reduce(function(fn,hn,bn){var Yt,Ln=((Yt=ua.find(function(qn){return qn.id===hn.labelId}))===null||Yt===void 0?void 0:Yt.name)||Jn;return fn[Ln]||(fn[Ln]=[]),fn[Ln].push(t()(t()({},hn),{},{originIndex:bn})),fn},{})},[he]);(0,g.useEffect)(function(){if(!(Un<0)){var fn=document.querySelector(".ant-tabs-tabpane-active");if($r===jt.Object){var hn=fn==null?void 0:fn.querySelector(".tab-collapse .ant-collapse-item:nth-child(".concat(Un+1,")"));hn==null||hn.scrollIntoView({behavior:"smooth",block:"nearest"})}else if($r===jt.Class&&Vt[En]){var bn=Vt[En].findIndex(function(Ln){return Ln.originIndex===Un});if(bn>-1){var Yt;(Yt=Ce.current)===null||Yt===void 0||Yt.scrollTo({index:bn,align:"auto"})}}}},[Un]);var nn=(0,x.jsx)(Me.Z,{accordion:!0,ghost:!0,className:"tab-collapse",activeKey:En,children:he.length>0&&Object.keys(Vt).sort().map(function(fn){var hn,bn=Vt[fn],Yt=bn.every(function(qn){return qn.hidden}),Ln=(hn=bn[0])===null||hn===void 0?void 0:hn.color;return(0,x.jsx)(Me.Z.Panel,{showArrow:!1,header:(0,x.jsxs)("div",{className:c()("collapse-header",{"collapse-header-selected":En===fn}),style:{height:Y},onClick:function(){jn(fn===En?"":fn)},children:[En===fn&&(0,x.jsx)("div",{className:"selected-line",style:{backgroundColor:Ln||"#fff"}}),(0,x.jsx)("div",{className:"label-name",children:fn}),(0,x.jsxs)("div",{className:"label-actions",children:[(0,x.jsx)("span",{className:"label-count",children:bn.length}),(0,x.jsx)(L.Z,{title:aa(Yt?"DDSAnnotator.annotsList.showCate":"DDSAnnotator.annotsList.hideCate"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:Yt?(0,x.jsx)(pe.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:function(cr){cr.stopPropagation(),or(fn,!Yt)}})}),(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:(0,x.jsx)(we,{className:"down-arrow"}),shape:"circle"})]})]},fn),children:En===fn&&(0,x.jsx)(We.Z,{children:(0,x.jsx)(se.Z,{data:bn,height:ue,fullHeight:!1,itemHeight:z,itemKey:"originIndex",ref:Ce,children:function(cr,Dr){var Rr,Aa,xa,pa,za=ua.find(function(Xa){return Xa.id===cr.labelId}),ha=!!(za!=null&&(Rr=za.attributes)!==null&&Rr!==void 0&&Rr.length),Yr=za==null||(Aa=za.attributes)===null||Aa===void 0?void 0:Aa.find(function(Xa,io){var Go;return Xa.required&&[void 0,null,""].includes((Go=cr.attributes)===null||Go===void 0?void 0:Go[io])}),$a=(Pe==null||(xa=Pe[cr.originIndex])===null||xa===void 0||(pa=xa.filter(function(Xa){return Xa&&!Xa.frameEmpty}))===null||pa===void 0?void 0:pa.length)||1;return(0,x.jsxs)(We.Z.Item,{className:"collapse-item",style:{height:z},onMouseOver:function(){On(cr.originIndex)},onClick:function(io){io.stopPropagation(),Fn(cr.originIndex)},children:[Un===cr.originIndex&&(0,x.jsx)("div",{className:"color-hint",style:{backgroundColor:cr.color}}),(0,x.jsx)(H.Z,{className:"label-icon",component:Q.ef[cr.type]}),(0,x.jsxs)("div",{className:"label",children:["# ",cr.originIndex+1]}),(0,x.jsxs)("div",{className:"label-actions",children:[Pe&&(0,x.jsxs)("span",{className:"frame-count",children:[(0,x.jsx)(Ve,{})," ",$a]}),ha&&(0,x.jsx)(L.Z,{title:aa("DDSAnnotator.attribute.edit"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:c()("attr-btn",{"attr-btn-warn":Yr}),icon:(0,x.jsx)(le,{}),shape:"circle",onClick:function(io){io.stopPropagation(),Dt(cr,za,cr.originIndex)}})}),(0,x.jsx)(L.Z,{title:cr.hidden?aa("DDSAnnotator.annotsList.show"):aa("DDSAnnotator.annotsList.hide"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:cr.hidden?(0,x.jsx)(pe.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:function(io){io.stopPropagation(),mr(cr.originIndex,!cr.hidden)}})}),zn&&(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(L.Z,{title:aa("DDSAnnotator.annotsList.delete"),children:(0,x.jsx)(C.ZP,{ghost:!0,className:"label-btn",icon:(0,x.jsx)(je.Z,{}),shape:"circle",onClick:function(io){io.stopPropagation(),fr(cr.originIndex)}})})})]})]},cr.labelId+Dr)}})})},fn||Jn)})});return(0,x.jsx)("div",{className:c()("dds-annotator-objectlist",vt),id:"rightOperations",onMouseDown:function(hn){hn.stopPropagation()},children:(0,x.jsx)(be.Z,{activeKey:$r,onChange:Ir,items:[{key:jt.Class,label:aa("DDSAnnotator.annotsList.labels"),children:nn}],tabBarExtraContent:(0,x.jsxs)("div",{className:"tab-header-actions",children:[(0,x.jsx)(L.Z,{title:aa("DDSAnnotator.colorMode"),children:(0,x.jsx)(C.ZP,{type:"primary",className:c()("tab-header-actions-color-btn",{"tab-header-actions-color-btn-active":!ar}),icon:(0,x.jsx)(H.Z,{component:tt}),onClick:Mt})}),he.length>0&&(0,x.jsx)(L.Z,{title:aa(Re?"DDSAnnotator.annotsList.showAll":"DDSAnnotator.annotsList.hideAll"),children:(0,x.jsx)(C.ZP,{ghost:!0,icon:Re?(0,x.jsx)(pe.Z,{}):(0,x.jsx)(ge.Z,{}),shape:"circle",onClick:rt})})]})})})},He),$t=e(60698),Zt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z"}},{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:"down-circle",theme:"outlined"},qt=Zt,un=e(17202),xn=function(he,Pe){return g.createElement(un.Z,(0,$t.Z)({},he,{ref:Pe,icon:qt}))},pn=g.forwardRef(xn),Gn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.5 360.3a7.95 7.95 0 00-12.9 0l-178 246c-3.8 5.3 0 12.7 6.5 12.7H381c10.2 0 19.9-4.9 25.9-13.2L512 460.4l105.2 145.4c6 8.3 15.6 13.2 25.9 13.2H690c6.5 0 10.3-7.4 6.5-12.7l-178-246z"}},{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:"up-circle",theme:"outlined"},Qn=Gn,ur=function(he,Pe){return g.createElement(un.Z,(0,$t.Z)({},he,{ref:Pe,icon:Qn}))},br=g.forwardRef(ur),zt=e(59504),en={item:"item___v9XQ_",selected:"selected___H8gjQ",info:"info___YLqTh",action:"action___zGuUy",btn:"btn___ean1l"},an=function(he){var Pe=he.point,Un=he.index,vt=he.active,zn=he.onMouseEnter,En=he.onMouseOut,On=he.onMouseOver,Fn=he.onVisibleChange,mr=(0,F.bU)(),fr=mr.localeText;return(0,x.jsxs)("div",{className:en.item,onMouseOut:En,onMouseOver:On,onMouseEnter:zn,children:[vt&&(0,x.jsx)("div",{className:en.selected,style:{backgroundColor:Pe.color}}),(0,x.jsx)("div",{className:en.info,children:Pe.name?"#".concat(Un+1," ").concat(Pe.name):"".concat(Un+1," ")}),(0,x.jsx)("div",{className:en.action,children:(0,x.jsxs)(zt.Z,{bordered:!1,showArrow:!0,popupClassName:en["selector-dropdown"],size:"small",value:Pe.visible,onChange:Fn,style:{width:"100%"},children:[(0,x.jsx)(zt.Z.Option,{value:Q.GI.noLabeled,children:fr("DDSAnnotator.annotsList.point.notInImage")}),(0,x.jsx)(zt.Z.Option,{value:Q.GI.labeledNotVisible,children:fr("DDSAnnotator.annotsList.point.notVisible")}),(0,x.jsx)(zt.Z.Option,{value:Q.GI.labeledVisible,children:fr("DDSAnnotator.annotsList.point.visible")})]})})]},Un)},vn=an,An=(0,g.memo)(function(Ue){var he=Ue.mode,Pe=Ue.isAiAnnotation,Un=Ue.currObject,vt=Ue.currObjectIndex,zn=Ue.focusObjectIndex,En=Ue.focusEleType,On=Ue.focusEleIndex,Fn=Ue.onChangePointVisible,mr=Ue.setEditState,fr=(0,F.bU)(),or=fr.localeText,jn=(0,g.useState)(!0),ua=s()(jn,2),Or=ua[0],ar=ua[1],hr=(0,g.useMemo)(function(){return vt>-1&&(Un==null?void 0:Un.type)===Q.gr.Skeleton&&!Pe},[he,Un,vt,Pe]),Pr=function(Jn){mr(function(fa){fa.focusObjectIndex=vt,fa.focusEleIndex=Jn,fa.focusEleType=Q.Yq.Circle})};return(0,x.jsx)(A,{children:(0,x.jsx)(w.Z,{className:c()("dds-annotator-points-editor",{"dds-annotator-points-editor-visible":hr}),title:(0,x.jsxs)("div",{className:"title",onClick:function(){return ar(function(Jn){return!Jn})},children:[or("DDSAnnotator.points.editor"),(0,x.jsx)("div",{className:"extra-btn",children:Or?(0,x.jsx)(pn,{}):(0,x.jsx)(br,{})})]}),children:!Or&&(0,x.jsx)("div",{className:"content",onMouseMove:function(Jn){Jn.stopPropagation()},children:Un&&Un.keypoints&&Un.keypoints.points.map(function(aa,Jn){return(0,x.jsx)(vn,{point:aa,index:Jn,active:zn===vt&&En===Q.Yq.Circle&&On===Jn,onMouseEnter:function(){return Pr(Jn)},onVisibleChange:function(Qr){Fn(Jn,Qr)}},Jn)})})})})}),sn=An,mt=(0,g.memo)(function(Ue){var he=Ue.mode,Pe=Ue.isAiAnnotation,Un=Ue.latestLabelId,vt=Ue.currObject,zn=Ue.onFinishCurrCreate,En=(0,F.bU)(),On=En.localeText,Fn=(0,g.useMemo)(function(){return he!==W.je.Edit?!1:!!((vt==null?void 0:vt.type)===Q.gr.Mask||(vt==null?void 0:vt.type)===Q.gr.Polygon&&Pe)},[he,vt,Pe]);return(0,Ee.Z)(Se[Ie.SaveCurrObject].shortcut,function(mr){vt&&(mr.preventDefault(),zn(Un))},{exactMatch:!0}),(0,x.jsx)(A,{children:(0,x.jsx)(w.Z,{className:c()("dds-annotator-seg-confirm",{"dds-annotator-seg-confirm-visible":Fn}),title:(0,x.jsx)("div",{className:"title",children:On("DDSAnnotator.seg.tool")}),children:(0,x.jsxs)("div",{className:"content",children:[(0,x.jsx)("div",{children:On("DDSAnnotator.seg.tool.content")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:function(fr){fr.preventDefault(),zn(Un)},children:On("DDSAnnotator.confirm")})]})})})}),gt=mt,ln=e(34485),Qt=e.n(ln),tn=e(2528),yn=e(98030),gn=e(33181),_n=Object.defineProperty,nr=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,It=(Ue,he,Pe)=>he in Ue?_n(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Ct=(Ue,he)=>{for(var Pe in he||(he={}))ut.call(he,Pe)&&It(Ue,Pe,he[Pe]);if(nr)for(var Pe of nr(he))ct.call(he,Pe)&&It(Ue,Pe,he[Pe]);return Ue};const Ut=Ue=>g.createElement("svg",Ct({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 29"},Ue),g.createElement("defs",null,g.createElement("style",null,".drag_svg__cls-1{fill:none}")),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83z"}),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83z"}),g.createElement("path",{className:"drag_svg__cls-1",d:"M2.83 2.83h28.35v28.35H2.83Z"}),g.createElement("path",{className:"drag_svg__cls-2",d:"m21.73 18.19 8.23 4.8-3.51 1 2.51 4.35-2.05 1.18-2.51-4.35-2.63 2.54-.04-9.52z"}),g.createElement("path",{className:"drag_svg__cls-2",d:"M19.37 9.92h2.36v2.36h5.91a1.18 1.18 0 0 1 1.18 1.18v4.73h-2.36v-3.54H14.65v11.81h4.72v2.36h-5.91a1.18 1.18 0 0 1-1.18-1.18v-5.91H9.92v-2.36h2.36v-5.91a1.18 1.18 0 0 1 1.18-1.18h5.91ZM5.2 19.37h2.36v2.36H5.2zM5.2 14.65h2.36v2.36H5.2zM5.2 9.92h2.36v2.36H5.2zM5.2 5.2h2.36v2.36H5.2zM9.92 5.2h2.36v2.36H9.92zM14.65 5.2h2.36v2.36h-2.36zM19.37 5.2h2.36v2.36h-2.36z"}));var cn="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyOSAyOSI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOm5vbmV9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODN6Ii8+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMi44MyAyLjgzaDI4LjM1djI4LjM1SDIuODNaIi8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJtMjEuNzMgMTguMTkgOC4yMyA0LjgtMy41MSAxIDIuNTEgNC4zNS0yLjA1IDEuMTgtMi41MS00LjM1LTIuNjMgMi41NC0uMDQtOS41MnoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xOS4zNyA5LjkyaDIuMzZ2Mi4zNmg1LjkxYTEuMTggMS4xOCAwIDAgMSAxLjE4IDEuMTh2NC43M2gtMi4zNnYtMy41NEgxNC42NXYxMS44MWg0LjcydjIuMzZoLTUuOTFhMS4xOCAxLjE4IDAgMCAxLTEuMTgtMS4xOHYtNS45MUg5Ljkydi0yLjM2aDIuMzZ2LTUuOTFhMS4xOCAxLjE4IDAgMCAxIDEuMTgtMS4xOGg1LjkxWk01LjIgMTkuMzdoMi4zNnYyLjM2SDUuMnpNNS4yIDE0LjY1aDIuMzZ2Mi4zNkg1LjJ6TTUuMiA5LjkyaDIuMzZ2Mi4zNkg1LjJ6TTUuMiA1LjJoMi4zNnYyLjM2SDUuMnpNOS45MiA1LjJoMi4zNnYyLjM2SDkuOTJ6TTE0LjY1IDUuMmgyLjM2djIuMzZoLTIuMzZ6TTE5LjM3IDUuMmgyLjM2djIuMzZoLTIuMzZ6Ii8+PC9zdmc+",rn=Object.defineProperty,Dn=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,rr=(Ue,he,Pe)=>he in Ue?rn(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,$n=(Ue,he)=>{for(var Pe in he||(he={}))Bn.call(he,Pe)&&rr(Ue,Pe,he[Pe]);if(Dn)for(var Pe of Dn(he))Cr.call(he,Pe)&&rr(Ue,Pe,he[Pe]);return Ue};const kr=Ue=>g.createElement("svg",$n({className:"zoomResize_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ue),g.createElement("path",{d:"M981.333 42.667v938.666H42.667V42.667h938.666zM128 896h768V128H128v768zm170.667-170.667H448v85.334H213.333V576h85.334v149.333zm426.666-426.666H576v-85.334h234.667V448h-85.334V298.667z"}));var Mr="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk4MS4zMzMgNDIuNjY3djkzOC42NjZINDIuNjY3VjQyLjY2N2g5MzguNjY2ek0xMjggODk2aDc2OFYxMjhIMTI4djc2OHptMTcwLjY2Ny0xNzAuNjY3SDQ0OHY4NS4zMzRIMjEzLjMzM1Y1NzZoODUuMzM0djE0OS4zMzN6bTQyNi42NjYtNDI2LjY2Nkg1NzZ2LTg1LjMzNGgyMzQuNjY3VjQ0OGgtODUuMzM0VjI5OC42Njd6Ii8+PC9zdmc+",ia=e(85706),zr=Object.defineProperty,Wn=Object.getOwnPropertySymbols,wn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,sr=(Ue,he,Pe)=>he in Ue?zr(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Er=(Ue,he)=>{for(var Pe in he||(he={}))wn.call(he,Pe)&&sr(Ue,Pe,he[Pe]);if(Wn)for(var Pe of Wn(he))Rn.call(he,Pe)&&sr(Ue,Pe,he[Pe]);return Ue};const Kr=Ue=>g.createElement("svg",Er({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M21.5 3h-19A2.503 2.503 0 0 0 0 5.5V17h24V5.5C24 4.122 22.878 3 21.5 3Zm.5 12H2V5.5a.5.5 0 0 1 .5-.5h19a.5.5 0 0 1 .5.5V15ZM4 7h3v2H4V7Zm8 2H9V7h3v2Zm2-2h6v2h-6V7Zm-6 4h8v2H8v-2Zm10 0h2v2h-2v-2ZM4 11h2v2H4v-2Zm11.293 7.707 1.414 1.414-3.293 3.293c-.39.39-.902.585-1.414.585a1.993 1.993 0 0 1-1.414-.585l-3.293-3.293 1.414-1.414L12 22l3.293-3.293Z"}));var ta="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIxLjUgM2gtMTlBMi41MDMgMi41MDMgMCAwIDAgMCA1LjVWMTdoMjRWNS41QzI0IDQuMTIyIDIyLjg3OCAzIDIxLjUgM1ptLjUgMTJIMlY1LjVhLjUuNSAwIDAgMSAuNS0uNWgxOWEuNS41IDAgMCAxIC41LjVWMTVaTTQgN2gzdjJINFY3Wm04IDJIOVY3aDN2MlptMi0yaDZ2MmgtNlY3Wm0tNiA0aDh2Mkg4di0yWm0xMCAwaDJ2MmgtMnYtMlpNNCAxMWgydjJINHYtMlptMTEuMjkzIDcuNzA3IDEuNDE0IDEuNDE0LTMuMjkzIDMuMjkzYy0uMzkuMzktLjkwMi41ODUtMS40MTQuNTg1YTEuOTkzIDEuOTkzIDAgMCAxLTEuNDE0LS41ODVsLTMuMjkzLTMuMjkzIDEuNDE0LTEuNDE0TDEyIDIybDMuMjkzLTMuMjkzWiIvPjwvc3ZnPg==",ga=function(he){for(var Pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Un=navigator.userAgent.toLowerCase(),vt=Un.indexOf("mac")>-1,zn=[],En=function(){var fr=he[On];if(!vt&&fr.includes("meta")||vt&&fr.includes("ctrl"))return"continue";if(fr.includes(".")){var or=fr.split(".");or.forEach(function(ua,Or){var ar=(0,x.jsx)("span",{className:c()({"dds-annotator-shortcutsinfo-key":Pe}),children:bt(ua)},Or);zn.push(ar),Or!==or.length-1&&zn.push((0,x.jsxs)("span",{className:c()({"dds-annotator-shortcutsinfo-combine":Pe}),children:[" ","+"," "]},Or+"and"))})}else{var jn=(0,x.jsx)("span",{className:c()({"dds-annotator-shortcutsinfo-key":Pe}),children:bt(fr)},On);zn.push(jn)}On!==he.length-1&&zn.push((0,x.jsxs)("span",{className:c()({"dds-annotator-shortcutsinfo-combine":Pe}),children:[" ","/"," "]},On+"or"))},On=0;On=Q.Fv,Ar=jn<=Q.vL;(0,Ee.Z)(Se[Ie.ZoomIn].shortcut,function(){Vr||ua()}),(0,Ee.Z)(Se[Ie.ZoomOut].shortcut,function(){Ar||Or()}),(0,Ee.Z)(Se[Ie.Reset].shortcut,function(){ar()});var Y=function(ue){var Ce=ga(ue.shortcut.shortcut,!1);return(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar-popover",children:[(0,x.jsxs)("div",{children:[(0,x.jsx)("span",{className:"popover-title",children:ue.name}),(0,x.jsx)("span",{className:"popover-key",children:Ce})]}),(0,x.jsx)("div",{className:"popover-divider"}),(0,x.jsx)("div",{className:"popover-description",children:ue.description})]})};return(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar",onMouseDown:function(ue){ue.stopPropagation()},children:[hr?(0,x.jsx)("div",{}):(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar-content",children:[fa.map(function(z){return(0,x.jsx)(gn.Z,{placement:"right",content:Y(z),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":he===z.key}),icon:z.icon,onClick:function(){return En(z.key)}})},z.key)}),Qr.map(function(z){return(0,x.jsxs)("div",{className:c()({"slidertoolbar-annotool-active-wrap":he===z.key&&!Pe}),children:[(0,x.jsx)(gn.Z,{placement:"right",content:Y(z),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":he===z.key&&!zn}),icon:z.icon,onClick:function(){return En(z.key)}})}),he===z.key&&!Pe&&(0,x.jsx)(gn.Z,{placement:"right",content:Y($r),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn",{"slidertoolbar-btn-active":zn}),icon:z.aiIcon,onClick:function(){return On(!zn)}})},$r.key)]},z.key)}),(0,x.jsx)("div",{className:"slidertoolbar-divider"}),lr.map(function(z){return(0,x.jsx)(gn.Z,{placement:"right",content:Y(z),children:(0,x.jsx)(C.ZP,{className:c()("slidertoolbar-btn"),icon:z.icon,onClick:z.handler})},z.key)})]}),(0,x.jsxs)("div",{className:"dds-annotator-slidertoolbar-content",children:[(0,x.jsx)(C.ZP,{type:"primary",className:"slidertoolbar-btn",onClick:ar,icon:(0,x.jsx)(H.Z,{component:kr})}),(0,x.jsx)(C.ZP,{type:"primary",className:c()("slidertoolbar-btn",{"slidertoolbar-btn-disabled":Ar}),icon:(0,x.jsx)(tn.Z,{}),onClick:Or}),(0,x.jsxs)("div",{className:"slidertoolbar-scale-text",children:[Math.floor(jn*100),"%"]}),(0,x.jsx)(C.ZP,{type:"primary",className:c()("slidertoolbar-btn",{"slidertoolbar-btn-disabled":Vr}),icon:(0,x.jsx)(yn.Z,{}),onClick:ua})]})]})}),Ma=Ur,ma=e(38875),Yn=e(94706),Zn=e(57414),Sr=Object.defineProperty,Xr=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,on=(Ue,he,Pe)=>he in Ue?Sr(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Mn=(Ue,he)=>{for(var Pe in he||(he={}))wr.call(he,Pe)&&on(Ue,Pe,he[Pe]);if(Xr)for(var Pe of Xr(he))Pt.call(he,Pe)&&on(Ue,Pe,he[Pe]);return Ue};const Ja=Ue=>g.createElement("svg",Mn({width:32,height:32,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M23.737 13.118v7.764a6.713 6.713 0 0 1-6.706 6.707 6.713 6.713 0 0 1-6.705-6.707v-7.764a6.713 6.713 0 0 1 6.705-6.707 6.713 6.713 0 0 1 6.706 6.707Zm-.693 3.662H11.018v4.102a6.02 6.02 0 0 0 6.013 6.017 6.02 6.02 0 0 0 6.013-6.017V16.78Zm0-3.662a6.02 6.02 0 0 0-5.698-6.008v8.977h5.698v-2.969Z",fill:"#fff"}));var mo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMjMuNzM3IDEzLjExOHY3Ljc2NGE2LjcxMyA2LjcxMyAwIDAgMS02LjcwNiA2LjcwNyA2LjcxMyA2LjcxMyAwIDAgMS02LjcwNS02LjcwN3YtNy43NjRhNi43MTMgNi43MTMgMCAwIDEgNi43MDUtNi43MDcgNi43MTMgNi43MTMgMCAwIDEgNi43MDYgNi43MDdabS0uNjkzIDMuNjYySDExLjAxOHY0LjEwMmE2LjAyIDYuMDIgMCAwIDAgNi4wMTMgNi4wMTcgNi4wMiA2LjAyIDAgMCAwIDYuMDEzLTYuMDE3VjE2Ljc4Wm0wLTMuNjYyYTYuMDIgNi4wMiAwIDAgMC01LjY5OC02LjAwOHY4Ljk3N2g1LjY5OHYtMi45NjlaIiBmaWxsPSIjZmZmIi8+PC9zdmc+",Ua=Object.defineProperty,ka=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,wo=Object.prototype.propertyIsEnumerable,No=(Ue,he,Pe)=>he in Ue?Ua(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,ho=(Ue,he)=>{for(var Pe in he||(he={}))Qa.call(he,Pe)&&No(Ue,Pe,he[Pe]);if(ka)for(var Pe of ka(he))wo.call(he,Pe)&&No(Ue,Pe,he[Pe]);return Ue};const dt=Ue=>g.createElement("svg",ho({width:32,height:32,viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M10.263 13.118v7.764a6.713 6.713 0 0 0 6.706 6.707 6.713 6.713 0 0 0 6.705-6.707v-7.764a6.713 6.713 0 0 0-6.705-6.707 6.713 6.713 0 0 0-6.706 6.707Zm.693 3.662h12.026v4.102a6.02 6.02 0 0 1-6.013 6.017 6.02 6.02 0 0 1-6.013-6.017V16.78Zm0-3.662a6.02 6.02 0 0 1 5.698-6.008v8.977h-5.698v-2.969Z",fill:"#fff"}));var Rt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzNCAzNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTAuMjYzIDEzLjExOHY3Ljc2NGE2LjcxMyA2LjcxMyAwIDAgMCA2LjcwNiA2LjcwNyA2LjcxMyA2LjcxMyAwIDAgMCA2LjcwNS02LjcwN3YtNy43NjRhNi43MTMgNi43MTMgMCAwIDAtNi43MDUtNi43MDcgNi43MTMgNi43MTMgMCAwIDAtNi43MDYgNi43MDdabS42OTMgMy42NjJoMTIuMDI2djQuMTAyYTYuMDIgNi4wMiAwIDAgMS02LjAxMyA2LjAxNyA2LjAyIDYuMDIgMCAwIDEtNi4wMTMtNi4wMTdWMTYuNzhabTAtMy42NjJhNi4wMiA2LjAyIDAgMCAxIDUuNjk4LTYuMDA4djguOTc3aC01LjY5OHYtMi45NjlaIiBmaWxsPSIjZmZmIi8+PC9zdmc+",Ae=(0,g.memo)(function(Ue){var he,Pe=Ue.selectedTool,Un=Ue.selectedSubTool,vt=Ue.selectedModel,zn=Ue.AIAnnotation,En=Ue.isBatchEditing,On=Ue.isCtrlPressed,Fn=Ue.naturalSize,mr=Ue.limitConf,fr=Ue.latestLabel,or=Ue.onExitAIAnnotation,jn=Ue.onAiAnnotation,ua=Ue.onChangeConfidenceRange,Or=Ue.onChangeLimitConf,ar=Ue.onAcceptValidObjects,hr=Ue.onCancelBatchEdit,Pr=Ue.forceChangeTool,aa=(0,F.bU)(),Jn=aa.localeText,fa=(0,g.useState)(function(){return fr}),Qr=s()(fa,2),$r=Qr[0],lr=Qr[1];(0,g.useEffect)(function(){lr(fr)},[fr]);var Ir=(0,M.x)({predIouThresh:.89,pointsPerSide:32,minMaskRegionArea:300}),Vr=s()(Ir,2),Ar=Vr[0],Y=Vr[1],z=(he={},Gt()(he,Q.ru.Drag,{name:Jn("DDSAnnotator.shortcuts.tools.drag"),icon:Ut}),Gt()(he,Q.ru.Rectangle,{name:vt===Q.HE.Detection?Jn("DDSAnnotator.smart.detection.name"):Jn("DDSAnnotator.smart.ivp.name"),icon:Q.ef[Q.gr.Rectangle]}),Gt()(he,Q.ru.Polygon,{name:Jn("DDSAnnotator.smart.segmentation.name"),icon:Q.ef[Q.gr.Polygon]}),Gt()(he,Q.ru.Skeleton,{name:Jn("DDSAnnotator.smart.pose.name"),icon:Q.ef[Q.gr.Skeleton]}),Gt()(he,Q.ru.Mask,{name:vt===Q.HE.SegmentByMask?Jn("DDSAnnotator.smart.isg.name"):vt===Q.HE.SegmentEverything?Jn("DDSAnnotator.smart.sam.name"):Jn("DDSAnnotator.smart.ivp.name"),icon:Q.ef[Q.gr.Mask]}),he),ue=function(Dt){if(Dt.type==="mouseup"&&(Pe===Q.ru.Skeleton||Pe===Q.ru.Mask&&Un===Q.jB.AutoSegmentEverything||Pe===Q.ru.Rectangle)){Dt.preventDefault();return}else Dt.stopPropagation()},Ce=(0,g.useMemo)(function(){return!zn||Pe===Q.ru.Drag?!1:Pe===Q.ru.Mask?vt===Q.HE.SegmentEverything?Un===Q.jB.AutoSegmentEverything:vt===Q.HE.SegmentByMask?!1:vt===Q.HE.IVP?En:!1:Pe===Q.ru.Polygon?!1:Pe===Q.ru.Rectangle?vt===Q.HE.Detection?!(En&&On):vt===Q.HE.IVP?En:!1:!0},[Pe,Un,vt,zn,En,On]),Re=(0,g.useMemo)(function(){return Pe===Q.ru.Rectangle&&vt===Q.HE.Detection&&En&&On?[{text:Jn("DDSAnnotator.smart.tip.recover"),logo:(0,x.jsx)(Ja,{})},{text:Jn("DDSAnnotator.smart.tip.overlayobject"),logo:(0,x.jsx)(dt,{})}]:[]},[En,On,vt]),rt=(0,g.useMemo)(function(){return Fn.width*Fn.height},[Fn]);return(0,x.jsxs)(A,{eventHandler:ue,children:[Re.length>0&&(0,x.jsx)("div",{className:"dds-annotator-operation-tip",children:Re.map(function(Mt){return(0,x.jsxs)("div",{className:"dds-annotator-operation-tip-item",children:[(0,x.jsx)("span",{children:Mt.text}),Mt.logo]},Mt.text)})}),(0,x.jsx)(w.Z,{id:"smart-annotation-editor",className:c()("dds-annotator-smart-container",{"dds-annotator-smart-container-visible":Ce}),title:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-title",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-title-icon",children:[(0,x.jsx)(ma.Z,{component:Q.QD[Q.Uu.SmartAnnotation]}),(0,x.jsx)("div",{children:z[Pe].name})]}),(0,x.jsx)(C.ZP,{ghost:!0,className:"dds-annotator-smart-container-btn",icon:(0,x.jsx)(h.Z,{}),shape:"circle",size:"small",onClick:function(){or(),Pr(Pe,Q.jB.PenAdd)}})]}),children:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content",children:[Pe===Q.ru.Rectangle&&vt===Q.HE.Detection&&(En?(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-controls",children:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:[Jn("DDSAnnotator.smart.detection.confidence"),":"]}),(0,x.jsx)(Yn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",defaultValue:mr,min:0,max:1,step:.01,onAfterChange:Or,railStyle:{background:"#99bdff"},trackStyle:{background:"#edf0f3"}})]})}),(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-tip-text",children:[(0,x.jsxs)("span",{children:[Jn("DDSAnnotator.smart.tip"),": "]}),Jn("DDSAnnotator.smart.tip.ctrl")]}),(0,x.jsxs)("div",{style:{alignSelf:"flex-end"},children:[(0,x.jsx)(C.ZP,{style:{marginRight:"10px"},onClick:hr,children:Jn("DDSAnnotator.smart.back")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:ar,children:Jn("DDSAnnotator.save")})]})]}):(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,x.jsxs)("div",{children:[(0,x.jsxs)("span",{children:[Jn("DDSAnnotator.smart.detection.label"),":"]}),fr]}),(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item-row",children:[(0,x.jsxs)("span",{children:[Jn("DDSAnnotator.smart.detection.prompt"),":"]}),(0,x.jsx)(T.Z,{placeholder:Jn("DDSAnnotator.smart.detection.input"),value:$r,onChange:function(Dt){return lr(Dt.target.value)},onKeyUp:function(Dt){return Dt.stopPropagation()},onKeyDown:function(Dt){return Dt.stopPropagation()}})]}),(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-column-item-right",children:(0,x.jsx)(C.ZP,{type:"primary",onClick:function(){return jn({text:$r})},children:Jn("DDSAnnotator.smart.annotate")})})]})),(Pe===Q.ru.Rectangle&&vt===Q.HE.IVP||Pe===Q.ru.Mask&&vt===Q.HE.IVP)&&(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-column-item",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-tip-text",children:[(0,x.jsxs)("span",{children:[Jn("DDSAnnotator.smart.tip"),": "]}),Jn("DDSAnnotator.smart.tip.visualPrompt")]}),(0,x.jsxs)("div",{style:{alignSelf:"flex-end"},children:[(0,x.jsx)(C.ZP,{style:{marginRight:"10px"},onClick:hr,children:Jn("DDSAnnotator.smart.back")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:ar,children:Jn("DDSAnnotator.save")})]})]}),Pe===Q.ru.Skeleton&&(En?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-controls",children:(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Jn("DDSAnnotator.confidence")}),(0,x.jsx)(Yn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",range:!0,defaultValue:[0,100],onAfterChange:function(Dt){return ua([Dt[0]/100,Dt[1]/100])},tooltip:{formatter:function(Dt){return(0,x.jsx)(x.Fragment,{children:"".concat(Dt/100)})},getPopupContainer:function(){return document.getElementById("conf-slider")}}})]})}),(0,x.jsx)(C.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:ar,children:Jn("DDSAnnotator.save")})]}):(0,x.jsx)(x.Fragment,{children:(0,x.jsx)(C.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:function(){return jn({})},children:Jn("DDSAnnotator.smart.annotate")})})),Pe===Q.ru.Mask&&vt===Q.HE.SegmentEverything&&Un===Q.jB.AutoSegmentEverything&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{id:"param-controls",className:"dds-annotator-smart-container-content-param-controls",children:[(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Jn("DDSAnnotator.smart.iouThres")}),(0,x.jsx)(Yn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",value:1-Ar.predIouThresh,onChange:function(Dt){return Y(function(Vt){Vt.predIouThresh=1-Dt})},min:0,max:.99,step:.01,reverse:!0,tooltip:{formatter:function(Dt){return"".concat(Math.floor((1-Dt)*100),"%")},getPopupContainer:function(){return document.getElementById("param-controls")}}})]}),(0,x.jsxs)("div",{className:"dds-annotator-smart-container-content-param-item",children:[(0,x.jsx)("div",{className:"dds-annotator-smart-container-content-param-item-title",children:Jn("DDSAnnotator.smart.minArea")}),(0,x.jsx)(Yn.Z,{className:"dds-annotator-smart-container-content-param-item-slider",value:Ar.minMaskRegionArea/rt,onChange:function(Dt){return Y(function(Vt){Vt.minMaskRegionArea=Dt*rt})},min:.01,max:.3,step:.01,tooltip:{formatter:function(Dt){return"".concat(Math.ceil(Dt*100),"%")},getPopupContainer:function(){return document.getElementById("param-controls")}}})]})]}),En?(0,x.jsxs)(Zn.Z,{className:"dds-annotator-smart-container-content-actions",style:{justifyContent:"flex-end"},children:[(0,x.jsx)(C.ZP,{onClick:function(){return jn({segmentEverythingParams:Ar})},children:Jn("DDSAnnotator.smart.retry")}),(0,x.jsx)(C.ZP,{type:"primary",onClick:function(){ar(),Pr(Q.ru.Mask,Q.jB.AutoEdgeStitching)},children:Jn("DDSAnnotator.annotsEditor.finish")})]}):(0,x.jsx)(C.ZP,{style:{alignSelf:"flex-end"},type:"primary",onClick:function(){return jn({segmentEverythingParams:Ar})},children:Jn("DDSAnnotator.smart.annotate")})]})]})})]})}),dn=Ae,Pn=e(24454),Sn=e.n(Pn),er=e(56592),ir=e.n(er),Hr=e(99142),Oa=e(91169),oa=function(he,Pe){return he.current===Pe.current&&he.total===Pe.total&&he.customText===Pe.customText&&he.customDisableNext===Pe.customDisableNext},Jr=(0,g.memo)(function(Ue){var he=Ue.current,Pe=Ue.total,Un=Ue.customText,vt=Ue.customDisableNext,zn=Ue.onPrev,En=zn===void 0?function(){return Promise.resolve()}:zn,On=Ue.onNext,Fn=On===void 0?function(){return Promise.resolve()}:On,mr=(0,F.bU)(),fr=mr.localeText,or=(0,g.useState)(!1),jn=s()(or,2),ua=jn[0],Or=jn[1],ar=(0,g.useState)(!1),hr=s()(ar,2),Pr=hr[0],aa=hr[1],Jn=function(){var lr=ir()(Sn()().mark(function Ir(){return Sn()().wrap(function(Ar){for(;;)switch(Ar.prev=Ar.next){case 0:return Or(!0),Ar.next=3,En();case 3:Or(!1);case 4:case"end":return Ar.stop()}},Ir)}));return function(){return lr.apply(this,arguments)}}(),fa=function(){var lr=ir()(Sn()().mark(function Ir(){return Sn()().wrap(function(Ar){for(;;)switch(Ar.prev=Ar.next){case 0:return aa(!0),Ar.next=3,Fn();case 3:aa(!1);case 4:case"end":return Ar.stop()}},Ir)}));return function(){return lr.apply(this,arguments)}}(),Qr=he<=0,$r=vt!=null?vt:he>=Pe-1;return(0,Ee.Z)(Se[Ie.PreviousImage].shortcut,function(){Qr||Jn()},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.NextImage].shortcut,function(){$r||fa()},{exactMatch:!0}),(0,x.jsxs)("div",{className:"dds-annotator-toppagination",children:[(0,x.jsx)(L.Z,{title:fr("DDSAnnotator.prev"),children:(0,x.jsx)(C.ZP,{className:c()("dds-annotator-toppagination-btn",{"dds-annotator-toppagination-btn-disabled":Qr}),type:"primary",icon:(0,x.jsx)(Hr.Z,{}),loading:ua,onClick:Jn})}),Un||(0,x.jsxs)("div",{className:"dds-annotator-toppagination-scale-text",children:[he+1," / ",Pe]}),(0,x.jsx)(L.Z,{title:fr("DDSAnnotator.next"),children:(0,x.jsx)(C.ZP,{className:c()("dds-annotator-toppagination-btn",{"dds-annotator-toppagination-btn-disabled":$r}),type:"primary",icon:(0,x.jsx)(Oa.Z,{}),loading:Pr,onClick:fa})})]})},oa),na=function(he){var Pe=he.mode,Un=he.currImageItem,vt=he.modal,zn=he.framesData,En=he.drawData,On=he.editState,Fn=he.setEditState,mr=he.hadChangeRecord,fr=he.categories,or=he.translateObject,jn=he.flagSaved,ua=he.onCancel,Or=he.onSave,ar=he.onCommit,hr=he.onReviewModify,Pr=he.onReviewAccept,aa=he.onReviewReject,Jn=he.classificationOptions,fa=he.isInAiSession,Qr=(0,F.bU)(),$r=Qr.localeText,lr=On.isRequiring,Ir=function(Dt){return Fn(function(Vt){Vt.isRequiring=Dt})},Vr=(0,g.useCallback)(function(Mt){var Dt=[];return zn?Dt=zn.objects.map(function(Vt){var nn={};return Vt.forEach(function(fn,hn){if(fn&&!fn.frameEmpty){var bn=or==null?void 0:or(fn),Yt=bn.labelId,Ln=bn.attributes,qn=bn.labelValue;nn.labelId=Yt,nn.attributes=Ln,nn.labelValue||(nn.labelValue={}),nn.labelValue[String(hn)]=qn}}),nn}):Dt=Mt.objectList.map(function(Vt){return or==null?void 0:or(Vt)}),[(zn==null?void 0:zn.id)||(Un==null?void 0:Un.id)||"",[].concat(Qt()(Mt.classifications.map(function(Vt){var nn,fn=fr.find(function(hn){return hn.id===Vt.labelId});return t()(t()({},Vt),{},{attributes:Vt.attributes||(fn==null||(nn=fn.attributes)===null||nn===void 0?void 0:nn.map(function(){return null}))||[]})})),Qt()(Dt)),zn?Gt()({},zn.activeIndex,{}):void 0]},[Un,or,zn]),Ar=function(Dt){var Vt=[];return Jn==null||Jn.forEach(function(nn,fn){var hn=Dt.find(function(bn){return bn.labelId===nn.id});(!hn||Z(hn.labelValue))&&Vt.push($r("DDSAnnotator.save.check.classification",{idx:fn+1}))}),Dt.forEach(function(nn,fn){var hn,bn=fr.find(function(Yt){return Yt.id===nn.labelId});bn!=null&&(hn=bn.attributes)!==null&&hn!==void 0&&hn.find(function(Yt,Ln){var qn;return Yt.required&&Z((qn=nn.attributes)===null||qn===void 0?void 0:qn[Ln])})&&Vt.push($r("DDSAnnotator.save.check.label",{idx:fn+1,labelName:bn.labelName}))}),Vt.length>0?(n.Z.warning({width:480,title:$r("DDSAnnotator.save.check.error"),content:(0,x.jsxs)("div",{children:[Vt.map(function(nn,fn){return(0,x.jsxs)("span",{children:[nn,(0,x.jsx)("br",{})]},fn)}),(0,x.jsx)("span",{children:$r("DDSAnnotator.save.check.tip")})]})}),!0):!1},Y=function(){var Mt=ir()(Sn()().mark(function Dt(){var Vt,nn,fn,hn;return Sn()().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:if(!(lr||!Or||fa())){Yt.next=2;break}return Yt.abrupt("return");case 2:if(Vt=Vr(En),nn=s()(Vt,2),fn=nn[0],hn=nn[1],console.log(">>> save",fn,hn),!Ar(hn)){Yt.next=6;break}return Yt.abrupt("return");case 6:return Ir(!0),Yt.prev=7,Yt.next=10,Or(fn,hn);case 10:jn==null||jn(),Yt.next=16;break;case 13:Yt.prev=13,Yt.t0=Yt.catch(7),console.error(Yt.t0);case 16:Ir(!1);case 17:case"end":return Yt.stop()}},Dt,null,[[7,13]])}));return function(){return Mt.apply(this,arguments)}}(),z=function(){var Mt=ir()(Sn()().mark(function Dt(){var Vt,nn,fn,hn;return Sn()().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:if(!(lr||!ar||fa())){Yt.next=2;break}return Yt.abrupt("return");case 2:if(Vt=Vr(En),nn=s()(Vt,2),fn=nn[0],hn=nn[1],!Ar(hn)){Yt.next=5;break}return Yt.abrupt("return");case 5:return Ir(!0),Yt.prev=6,Yt.next=9,ar(fn,hn);case 9:Yt.next=14;break;case 11:Yt.prev=11,Yt.t0=Yt.catch(6),console.error(Yt.t0);case 14:Ir(!1);case 15:case"end":return Yt.stop()}},Dt,null,[[6,11]])}));return function(){return Mt.apply(this,arguments)}}(),ue=function(){var Mt=ir()(Sn()().mark(function Dt(){return Sn()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:Pe===W.je.Review&&aa&&aa.apply(void 0,Qt()(Vr(En)));case 1:case"end":return nn.stop()}},Dt)}));return function(){return Mt.apply(this,arguments)}}(),Ce=function(){var Mt=ir()(Sn()().mark(function Dt(){return Sn()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:Pe===W.je.Review&&Pr&&Pr.apply(void 0,Qt()(Vr(En)));case 1:case"end":return nn.stop()}},Dt)}));return function(){return Mt.apply(this,arguments)}}(),Re=function(){var Mt=ir()(Sn()().mark(function Dt(){return Sn()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:Pe===W.je.Review&&hr&&hr.apply(void 0,Qt()(Vr(En)));case 1:case"end":return nn.stop()}},Dt)}));return function(){return Mt.apply(this,arguments)}}(),rt=function(){var Mt=ir()(Sn()().mark(function Dt(){return Sn()().wrap(function(nn){for(;;)switch(nn.prev=nn.next){case 0:if(!(Pe===W.je.Edit&&mr)){nn.next=3;break}return vt.confirm({getContainer:function(){return document.body},content:$r("DDSAnnotator.confirmLeave.content"),cancelText:$r("DDSAnnotator.confirmLeave.cancel"),okText:$r("DDSAnnotator.confirmLeave.ok"),okButtonProps:{danger:!0},onOk:function(){ua&&ua()}}),nn.abrupt("return");case 3:ua&&ua();case 4:case"end":return nn.stop()}},Dt)}));return function(){return Mt.apply(this,arguments)}}();return{onSaveAnnotations:Y,onCommitAnnotations:z,onCancelAnnotations:rt,onRejectAnnotations:ue,onAcceptAnnotations:Ce,onModifyAnnotations:Re}},Lr=na,Zr=e(97375),ca;(function(Ue){})(ca||(ca={}));function Ta(Ue,he,Pe){return eo.apply(this,arguments)}function eo(){return eo=ir()(Sn()().mark(function Ue(he,Pe,Un){var vt;return Sn()().wrap(function(En){for(;;)switch(En.prev=En.next){case 0:return vt="".concat("https://api.deepdataspace.com","/tasks/").concat(he),En.abrupt("return",(0,Zr.request)(vt,t()({method:"POST",data:t()({},Pe)},Un||{hideCodeErrorMsg:!0})));case 2:case"end":return En.stop()}},Ue)})),eo.apply(this,arguments)}function Va(Ue,he){var Pe="".concat("https://api.deepdataspace.com","/task_statuses/").concat(Ue);return(0,Zr.request)(Pe,t()({method:"GET"},he||{}))}function Xt(Ue,he){return In.apply(this,arguments)}function In(){return In=ir()(Sn()().mark(function Ue(he,Pe){var Un,vt,zn,En,On=arguments;return Sn()().wrap(function(mr){for(;;)switch(mr.prev=mr.next){case 0:Un=On.length>2&&On[2]!==void 0?On[2]:5e3,vt=On.length>3&&On[3]!==void 0?On[3]:1e3,zn=0;case 3:if(!(znqn?cr.score:qn},((Dt=Vt[0])===null||Dt===void 0?void 0:Dt.score)||0),bn=Vt.map(function(qn){var cr=t()({},(0,qr.JP)(qn.bbox,Fn,mr)),Dr=qn.score/hn;return{rect:t()(t()({},cr),{},{visible:!0}),labelId:En.latestLabelId,type:Q.gr.Rectangle,hidden:!1,status:Dr>=fn?W.TK.Checked:W.TK.Unchecked,conf:Dr,color:fr(En.latestLabelId,!0)}}).reverse(),zn(function(qn){qn.isBatchEditing=!0,qn.limitConf=fn;var cr=qn.objectList.filter(function(Dr){return(Dr==null?void 0:Dr.status)===W.TK.Commited});qn.objectList=[].concat(Qt()(cr),Qt()(bn)),qn.creatingObject&&qn.objectList[qn.activeObjectIndex]&&(qn.creatingObject=t()({},qn.objectList[qn.activeObjectIndex])),qn.prompt.sessionId=Mt}),Ln.abrupt("return",!0);case 18:case"end":return Ln.stop()}},Y)}));return function(z,ue){return Ar.apply(this,arguments)}}(),aa=function(){var Ar=ir()(Sn()().mark(function Y(z,ue){var Ce,Re,rt,Mt,Dt,Vt,nn,fn;return Sn()().wrap(function(bn){for(;;)switch(bn.prev=bn.next){case 0:if(!(!Pe||!ue)){bn.next=2;break}return bn.abrupt("return");case 2:if(Ce={prompts:hr(ue||[]),labelTypes:["bbox"]},!z.prompt.sessionId){bn.next=7;break}Object.assign(Ce,{sessionId:z.prompt.sessionId}),bn.next=11;break;case 7:return bn.next=9,Ia(Pe.url);case 9:Re=bn.sent,Object.assign(Ce,{promptImage:Re,inferImage:Re});case 11:return bn.next=13,Tn(Q.HE.IVP,Ce);case 13:if(rt=bn.sent,Mt=rt.result,Dt=rt.sessionId,!Mt){bn.next=22;break}return Vt=Mt.objects,nn=.3,fn=Vt.filter(function(Yt){return Yt.bbox}).map(function(Yt){var Ln=Yt.bbox,qn=s()(Ln,4),cr=qn[0],Dr=qn[1],Rr=qn[2],Aa=qn[3],xa=(0,qr.$S)((0,qr.Aw)({xmin:cr,ymin:Dr,xmax:Rr,ymax:Aa}),Fn,mr);return{rect:t()(t()({},xa),{},{visible:!0}),labelId:En.latestLabelId,type:Q.gr.Rectangle,hidden:!1,status:Yt.score>=nn?W.TK.Checked:W.TK.Unchecked,conf:Yt.score,color:fr(En.latestLabelId,!0)}}).reverse(),zn(function(Yt){Yt.isBatchEditing=!0,Yt.limitConf=nn;var Ln=Yt.objectList.filter(function(qn){return qn.status===W.TK.Commited});Yt.objectList=[].concat(Qt()(Ln),Qt()(fn)),Yt.creatingObject&&Yt.objectList[Yt.activeObjectIndex]&&(Yt.creatingObject=t()({},Yt.objectList[Yt.activeObjectIndex])),Yt.prompt.promptsQueue=ue,Yt.prompt.sessionId=Dt,Yt.prompt.creatingPrompt=void 0}),bn.abrupt("return",!0);case 22:case"end":return bn.stop()}},Y)}));return function(z,ue){return Ar.apply(this,arguments)}}(),Jn=function(){var Ar=ir()(Sn()().mark(function Y(z,ue){var Ce,Re,rt,Mt,Dt,Vt,nn;return Sn()().wrap(function(hn){for(;;)switch(hn.prev=hn.next){case 0:if(!(!Pe||!ue)){hn.next=2;break}return hn.abrupt("return");case 2:if(Ce={prompts:hr(ue||[]),labelTypes:["mask"]},!z.prompt.sessionId){hn.next=7;break}Object.assign(Ce,{sessionId:z.prompt.sessionId}),hn.next=11;break;case 7:return hn.next=9,Ia(Pe.url);case 9:Re=hn.sent,Object.assign(Ce,{promptImage:Re,inferImage:Re});case 11:return hn.next=13,Tn(Q.HE.IVP,Ce);case 13:if(rt=hn.sent,Mt=rt.result,Dt=rt.sessionId,!Mt){hn.next=22;break}return On(function(bn){bn.annotsDisplayOptions.colorByCategory=!1}),Vt=Mt.objects,nn=Vt.filter(function(bn){return!!bn.mask}).map(function(bn){var Yt,Ln=fr(En.latestLabelId),qn=((Yt=bn.mask)===null||Yt===void 0?void 0:Yt.counts)||"";return{type:Q.gr.Mask,hidden:!1,labelId:En.latestLabelId,maskRle:qn,maskCanvasElement:(0,yr.ei)(qn,Fn,Ln),status:W.TK.Checked,conf:bn.score,color:fr(En.latestLabelId,!0)}}),zn(function(bn){bn.isBatchEditing=!0;var Yt=bn.objectList.filter(function(Ln){return Ln.status===W.TK.Commited});bn.objectList=[].concat(Qt()(Yt),Qt()(nn)),bn.creatingObject&&bn.objectList[bn.activeObjectIndex]&&(bn.creatingObject=t()({},bn.objectList[bn.activeObjectIndex])),bn.prompt.promptsQueue=ue,bn.prompt.sessionId=Dt,bn.prompt.creatingPrompt=void 0}),hn.abrupt("return",!0);case 22:case"end":return hn.stop()}},Y)}));return function(z,ue){return Ar.apply(this,arguments)}}(),fa=function(){var Ar=ir()(Sn()().mark(function Y(z,ue){var Ce,Re,rt,Mt,Dt,Vt,nn,fn;return Sn()().wrap(function(bn){for(;;)switch(bn.prev=bn.next){case 0:if(ue){bn.next=2;break}return bn.abrupt("return");case 2:return bn.next=4,ar(z,{density:z.pointResolution,prompts:hr(ue||[])});case 4:return Ce=bn.sent,bn.next=7,Tn(Q.HE.SegmentByPolygon,Ce);case 7:if(Re=bn.sent,rt=Re.result,Mt=Re.sessionId,!rt){bn.next=17;break}if(Dt=rt.polygons,!(Dt&&Dt.length>0)){bn.next=17;break}return nn=Dt.filter(function(Yt){return Yt.length>=6}).map(function(Yt){for(var Ln=[],qn=0;qn-1&&Mt[z.activeObjectIndex]&&z.creatingObject&&(Mt[z.activeObjectIndex]=t()(t()({},Mt[z.activeObjectIndex]),z.creatingObject)),Dt=Mt.filter(function(cr){return cr.type===Q.gr.Skeleton&&cr.status===W.TK.Checked}),Dt.length>0&&(Vt=Dt.map(function(cr){return{keypoints:cr.keypoints?(0,qr.$G)(cr.keypoints.points,Fn,mr).points:void 0,bbox:cr.rect?(0,qr.cx)(cr.rect,mr,Fn):void 0}}),Object.assign(rt,{objects:Vt}))),qn.next=7,Tn(Q.HE.Pose,rt);case 7:if(nn=qn.sent,fn=nn.result,hn=nn.sessionId,!fn){qn.next=16;break}if(bn=fn.objects,!(bn&&bn.length>0)){qn.next=16;break}return Yt=bn.map(function(cr){var Dr=cr.bbox,Rr=cr.keypoints,Aa=cr.score,xa={labelId:En.latestLabelId,color:fr(En.latestLabelId),type:Q.gr.Skeleton,hidden:!1,conf:Aa,status:W.TK.Checked};if(Dr){var pa=(0,qr.JP)(Dr,Fn,mr);Object.assign(xa,{rect:t()({visible:!0},pa)})}if(Rr&&ue&&Re&&Ce){var za=(0,qr.OX)(Rr,Ce,Re,Fn,mr);Object.assign(xa,{keypoints:{points:za,lines:ue}})}return xa}),zn(function(cr){cr.isBatchEditing||(cr.isBatchEditing=!0);var Dr=cr.objectList.filter(function(Rr){return Rr.status===W.TK.Commited});cr.objectList=[].concat(Qt()(Dr),Qt()(Yt)),cr.creatingObject&&cr.objectList[cr.activeObjectIndex]&&(cr.creatingObject=t()({},cr.objectList[cr.activeObjectIndex])),cr.prompt.sessionId=hn}),qn.abrupt("return",!0);case 16:case"end":return qn.stop()}},Y)}));return function(z){return Ar.apply(this,arguments)}}(),lr=function(){var Ar=ir()(Sn()().mark(function Y(z){var ue,Ce,Re,rt,Mt,Dt,Vt,nn,fn,hn,bn,Yt,Ln,qn,cr;return Sn()().wrap(function(Rr){for(;;)switch(Rr.prev=Rr.next){case 0:if(!(!((ue=z.prompt.creatingPrompt)!==null&&ue!==void 0&&ue.stroke)||!((Ce=z.prompt.creatingPrompt)!==null&&Ce!==void 0&&Ce.radius))){Rr.next=2;break}return Rr.abrupt("return");case 2:if(rt=z.prompt.creatingPrompt,Mt=rt.stroke,Dt=rt.radius,Vt=z.objectList.filter(function(Aa){return Aa.type===Q.gr.Mask}),!(Vt.length<2)){Rr.next=8;break}return S.ZP.error(jn("DDSAnnotator.smart.tip.edgeStitchError")),vt(function(Aa){Aa.prompt.creatingPrompt=void 0}),Rr.abrupt("return");case 8:return nn=Vt.map(function(Aa){return{counts:Aa.maskRle||"",size:[Fn.height,Fn.width]}}),fn=Mt.reduce(function(Aa,xa){var pa=xa.x,za=xa.y,ha=(0,qr.AR)([pa,za],Fn,mr);return Aa.concat([ha.x,ha.y])},[]),Rr.next=12,ar(z,{masks:nn,prompts:[{type:W.Ae.Stroke,stroke:fn,radius:Dt}]});case 12:return hn=Rr.sent,Rr.next=15,Tn(Q.HE.MaskEdgeStitching,hn);case 15:if(bn=Rr.sent,Yt=bn.result,Ln=bn.sessionId,!(Yt&&((Re=Yt.masks)===null||Re===void 0?void 0:Re.length)>0)){Rr.next=23;break}return qn=Vt.map(function(Aa,xa){var pa,za,ha=((pa=Yt.masks)===null||pa===void 0||(za=pa[xa])===null||za===void 0?void 0:za.counts)||"";return t()(t()({},Aa),{},{maskRle:ha,maskCanvasElement:(0,yr.ei)(ha,Fn,Aa.color)})}),cr=z.objectList.filter(function(Aa){return Aa.type!==Q.gr.Mask}),zn(function(Aa){Aa.objectList=[].concat(Qt()(cr),Qt()(qn)),Aa.prompt.creatingPrompt=void 0,Aa.prompt.sessionId=Ln}),Rr.abrupt("return",!0);case 23:case"end":return Rr.stop()}},Y)}));return function(z){return Ar.apply(this,arguments)}}(),Ir=function(){var Ar=ir()(Sn()().mark(function Y(z){var ue,Ce,Re,rt,Mt;return Sn()().wrap(function(Vt){for(;;)switch(Vt.prev=Vt.next){case 0:if(Pe){Vt.next=2;break}return Vt.abrupt("return");case 2:return Vt.t0=t(),Vt.next=5,Ia(Pe.url);case 5:return Vt.t1=Vt.sent,Vt.t2={image:Vt.t1},Vt.t3=z,Ce=(0,Vt.t0)(Vt.t2,Vt.t3),Vt.next=11,Tn(Q.HE.SegmentEverything,Ce);case 11:if(Re=Vt.sent,rt=Re.result,!(rt&&((ue=rt.masks)===null||ue===void 0?void 0:ue.length)>0)){Vt.next=18;break}return On(function(nn){nn.annotsDisplayOptions.colorByCategory=!1}),Mt=rt.masks.map(function(nn){var fn=fr(En.latestLabelId),hn=(nn==null?void 0:nn.counts)||"";return{type:Q.gr.Mask,hidden:!1,labelId:En.latestLabelId,maskRle:hn,maskCanvasElement:(0,yr.ei)(hn,Fn,fn),conf:1,status:W.TK.Checked,color:fn}}),zn(function(nn){nn.objectList=Mt,nn.isBatchEditing=!0}),Vt.abrupt("return",!0);case 18:case"end":return Vt.stop()}},Y)}));return function(z){return Ar.apply(this,arguments)}}(),Vr=(0,g.useCallback)(function(){var Ar=ir()(Sn()().mark(function Y(z){var ue,Ce,Re,rt,Mt,Dt,Vt,nn,fn,hn;return Sn()().wrap(function(Yt){for(;;)switch(Yt.prev=Yt.next){case 0:if(ue=z.type,Ce=z.drawData,Re=z.text,rt=z.promptsQueue,Mt=z.segmentEverythingParams,!(En.isRequiring||!Pe)){Yt.next=3;break}return Yt.abrupt("return");case 3:Dt=Ce||Un,Vt=S.ZP.loading(jn("DDSAnnotator.smart.msg.loading"),1e5),Yt.prev=5,Or(!0),On(function(Ln){Ln.isRequiring=!0}),nn=ue||Q.Zo[Dt.selectedTool],Yt.t0=nn,Yt.next=Yt.t0===Q.gr.Rectangle?12:Yt.t0===Q.gr.Skeleton?22:Yt.t0===Q.gr.Polygon?26:Yt.t0===Q.gr.Mask?30:54;break;case 12:if(Dt.selectedModel[Dt.selectedTool]!==Q.HE.Detection){Yt.next=18;break}return Yt.next=15,Pr(Dt,Re||"");case 15:fn=Yt.sent,Yt.next=21;break;case 18:return Yt.next=20,aa(Dt,rt);case 20:fn=Yt.sent;case 21:return Yt.abrupt("break",56);case 22:return Yt.next=24,$r(Dt);case 24:return fn=Yt.sent,Yt.abrupt("break",56);case 26:return Yt.next=28,fa(Dt,rt);case 28:return fn=Yt.sent,Yt.abrupt("break",56);case 30:if(hn=Dt.selectedModel[Dt.selectedTool],hn!==Q.HE.SegmentEverything){Yt.next=44;break}if(Dt.selectedSubTool!==Q.jB.AutoEdgeStitching){Yt.next=38;break}return Yt.next=35,lr(Dt);case 35:fn=Yt.sent,Yt.next=42;break;case 38:if(Dt.selectedSubTool!==Q.jB.AutoSegmentEverything){Yt.next=42;break}return Yt.next=41,Ir(Mt);case 41:fn=Yt.sent;case 42:Yt.next=53;break;case 44:if(hn!==Q.HE.IVP){Yt.next=50;break}return Yt.next=47,Jn(Dt,rt);case 47:fn=Yt.sent,Yt.next=53;break;case 50:return Yt.next=52,Qr(Dt,rt);case 52:fn=Yt.sent;case 53:return Yt.abrupt("break",56);case 54:return S.ZP.warning("Plan to Support!"),Yt.abrupt("break",56);case 56:fn&&S.ZP.success(jn("DDSAnnotator.smart.msg.success")),Yt.next=63;break;case 59:Yt.prev=59,Yt.t1=Yt.catch(5),zn(function(Ln){Ln.prompt.creatingPrompt&&(Ln.prompt.creatingPrompt=void 0)}),S.ZP.error(jn("DDSAnnotator.smart.msg.error"));case 63:return Yt.prev=63,Or(!1),On(function(Ln){Ln.isRequiring=!1}),vt(function(Ln){Ln.prompt.activeRectWhileLoading=void 0}),Vt(),Yt.finish(63);case 69:case"end":return Yt.stop()}},Y,null,[[5,59,63,69]])}));return function(Y){return Ar.apply(this,arguments)}}(),[Un,Pe,En,Fn,mr,fr,zn]);return{onAiAnnotation:Vr}},Co=fo;function _a(Ue){var he=Ue.setDrawDataWithHistory,Pe=Ue.categories,Un=(0,g.useCallback)(function(En,On){var Fn=Pe.find(function(mr){return mr.id===En.labelId});if(Fn!=null&&Fn.attributes&&Fn.attributes.length>0)return{index:On,labelId:En.labelId,attributes:Fn.attributes,values:En.attributes||[]}},[Pe]),vt=(0,g.useCallback)(function(En){he(function(On){if(On.editingAttribute){if(On.objectList[On.editingAttribute.index])On.objectList[On.editingAttribute.index].attributes=En;else{var Fn=On.classifications.findIndex(function(fr){var or;return fr.labelId===((or=On.editingAttribute)===null||or===void 0?void 0:or.labelId)});if(Fn>-1)On.classifications[Fn].attributes=En;else{var mr;On.classifications.push({labelId:(mr=On.editingAttribute)===null||mr===void 0?void 0:mr.labelId,labelValue:null,attributes:En})}}On.editingAttribute=void 0}})},[he]),zn=function(){he(function(On){On.editingAttribute=void 0})};return{judgeEditingAttribute:Un,onConfirmAttibuteEdit:vt,onCancelAttibuteEdit:zn}}var bo=e(95073),so=e(43112),Sa=e(5397),Ba=e(21325),Mo=e(68716),Ko={screenX:NaN,screenY:NaN,clientX:NaN,clientY:NaN,pageX:NaN,pageY:NaN,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},Jo=function(Ue){var he=(0,so.CR)((0,Sa.Z)(Ko),2),Pe=he[0],Un=he[1];return(0,Ba.Z)("mousemove",function(vt){var zn=vt.screenX,En=vt.screenY,On=vt.clientX,Fn=vt.clientY,mr=vt.pageX,fr=vt.pageY,or={screenX:zn,screenY:En,clientX:On,clientY:Fn,pageX:mr,pageY:fr,elementX:NaN,elementY:NaN,elementH:NaN,elementW:NaN,elementPosX:NaN,elementPosY:NaN},jn=(0,Mo.n)(Ue);if(jn){var ua=jn.getBoundingClientRect(),Or=ua.left,ar=ua.top,hr=ua.width,Pr=ua.height;or.elementPosX=Or+window.pageXOffset,or.elementPosY=ar+window.pageYOffset,or.elementX=mr-or.elementPosX,or.elementY=fr-or.elementPosY,or.elementW=hr,or.elementH=Pr}Un(or)},{target:function(){return document}}),Pe},ao=e(41260);function yi(Ue){var he=Ue.isRequiring,Pe=Ue.visible,Un=Ue.minPadding,vt=Un===void 0?{top:0,left:0}:Un,zn=Ue.allowMove,En=Ue.drawData,On=Ue.cursorSize,Fn=Ue.onClickMaskBg,mr=Ue.hideReferenceLine,fr=(0,g.useRef)(null),or=(0,bo.Z)(function(){return fr.current}),jn=Jo(function(){return fr.current}),ua=(0,g.useState)({width:0,height:0}),Or=s()(ua,2),ar=Or[0],hr=Or[1],Pr=(0,M.x)({width:ar.width,height:ar.height,scale:1}),aa=s()(Pr,2),Jn=aa[0],fa=aa[1],Qr=(0,g.useRef)({x:0,y:0}),$r=(0,g.useRef)(void 0),lr=(0,g.useMemo)(function(){return t()(t()({},jn),{},{elementW:Jn.width,elementH:Jn.height,elementX:jn.elementX-Qr.current.x,elementY:jn.elementY-Qr.current.y})},[jn,Jn]),Ir=(0,M.x)(null),Vr=s()(Ir,2),Ar=Vr[0],Y=Vr[1],z=function(Rr,Aa){if(Rr!=null&&Rr.width&&Aa!==null&&Aa!==void 0&&Aa.height){var xa=Aa.width,pa=Aa.height,za=(0,qr.t9)(Rr.width,Rr.height,xa-vt.left*2,pa-vt.top*2),ha=s()(za,3),Yr=ha[0],$a=ha[1],Xa=ha[2];Qr.current={x:(xa-Yr)*.5,y:(pa-$a)*.5},fa({scale:Xa,width:Rr.width*Xa,height:Rr.height*Xa}),$r.current=void 0}};(0,g.useEffect)(function(){ar&&or&&z(ar,or)},[or]);var ue=function(){if(or){var Rr=or==null?void 0:or.width,Aa=or==null?void 0:or.height,xa=.5,pa=.5,za=Rr/2,ha=Aa/2;$r.current&&(xa=$r.current.posRatioX,pa=$r.current.posRatioY,za=$r.current.mouseX,ha=$r.current.mouseY);var Yr=za-Jn.width*xa,$a=ha-Jn.height*pa;Qr.current={x:Yr,y:$a}}};(0,g.useEffect)(function(){ue()},[Jn]);var Ce=function(Rr,Aa,xa){!Pe||he||fa(function(pa){var za=Rr?Math.min(Q.Fv,(0,ao.O)(pa.scale+Aa,2)):Math.max(Q.vL,(0,ao.O)(pa.scale-Aa,2));if((!$r.current||jn.elementX!==$r.current.mouseX||jn.elementY!==$r.current.mouseY)&&!xa&&!isNaN(lr.elementX)&&!isNaN(jn.elementX)&&Jn.width){var ha={posRatioX:lr.elementX/Jn.width,posRatioY:lr.elementY/Jn.height,mouseX:jn.elementX,mouseY:jn.elementY};$r.current=ha}pa.scale=za,pa.width=ar.width*za,pa.height=ar.height*za})},Re=(0,g.useCallback)(function(){Ce(!0,Q.yj,!0)},[Q.yj,Ce]),rt=(0,g.useCallback)(function(){Ce(!1,Q.yj,!0)},[Q.yj,Ce]),Mt=function(Rr){if(!(!Pe||he)){var Aa=Rr.deltaY;Aa>0?Ce(!1,Q.oP):Aa<0&&Ce(!0,Q.oP)}},Dt=(0,g.useCallback)(function(){$r.current=void 0,or&&ar&&z(ar,or)},[ar.width,ar.height,or==null?void 0:or.width,or==null?void 0:or.height]);(0,g.useEffect)(function(){Pe||(hr({width:0,height:0}),fa({scale:1,width:0,height:0}),Qr.current={x:0,y:0},$r.current=void 0)},[Pe]);var Vt=(0,g.useState)(!1),nn=s()(Vt,2),fn=nn[0],hn=nn[1];(0,Ba.Z)("mousedown",function(){!Pe||!fr.current||!(0,qr.jt)(jn)||(hn(!0),Y({x:lr.elementX,y:lr.elementY}))}),(0,Ba.Z)("mousemove",function(){if(Pe&&Ar&&zn&&fn){var Dr=lr.elementX-Ar.x,Rr=lr.elementY-Ar.y,Aa=Qr.current,xa=Aa.x,pa=Aa.y;Qr.current={x:xa+Dr,y:pa+Rr}}}),(0,Ba.Z)("mouseup",function(){if(hn(!1),!(!Pe||!zn)&&Ar){Y(null);return}}),(0,g.useEffect)(function(){Y(zn?{x:lr.elementX,y:lr.elementY}:null)},[zn]);var bn=function(Rr,Aa){var xa=Rr.target,pa={width:xa.naturalWidth,height:xa.naturalHeight};hr(pa),or&&pa&&!Aa&&z(pa,or)},Yt=function(Rr){(0,qr.jt)(lr)||Fn==null||Fn(Rr)},Ln=(0,g.useMemo)(function(){var Dr=[Q.jB.AutoEdgeStitching,Q.jB.AutoSegmentByStroke,Q.jB.BrushAdd,Q.jB.BrushErase].includes(En.selectedSubTool);return En.creatingObject&&En.activeObjectIndex>-1&&[Q.gr.Mask,Q.gr.Polygon].includes(En.creatingObject.type)?Dr:En.selectedTool!==Q.ru.Drag&&!En.isBatchEditing?[Q.ru.Mask,Q.ru.Polygon].includes(En.selectedTool)&&Dr:!1},[En.selectedTool,En.selectedSubTool]),qn=(0,g.useMemo)(function(){return En.selectedTool!==Q.ru.Drag&&!Ln&&!mr},[En.selectedTool,Ln,mr]),cr=function(Rr){var Aa=Rr.children,xa=Rr.className;return Pe?(0,x.jsxs)("div",{ref:fr,onWheel:Mt,onClick:Yt,className:xa,children:[Aa,qn&&!zn&&(0,qr.jt)(lr)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:jn.elementX-18,height:1,left:0,top:0,transform:"translateY(".concat(jn.elementY,"px)")}}),(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",height:1,width:jn.elementW-jn.elementX-18,right:0,top:0,transform:"translateY(".concat(jn.elementY,"px)")}}),(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:1,height:jn.elementY-18,left:0,top:0,transform:"translateX(".concat(jn.elementX-1,"px")}}),(0,x.jsx)("div",{style:{position:"absolute",backgroundColor:"#fff",width:1,height:jn.elementH-jn.elementY-18,left:0,bottom:0,transform:"translateX(".concat(jn.elementX-1,"px")}})]}),Ln&&On>0&&(0,qr.jt)(jn)&&(0,qr.jt)(lr)&&!zn&&(0,x.jsx)("div",{style:{position:"fixed",backgroundColor:"rgba(255, 255, 255, 0.5)",border:"1px solid rgba(255, 255, 255, 0.7)",width:On*Jn.scale,height:On*Jn.scale,borderRadius:On*Jn.scale/2,left:0,top:0,transformOrigin:"top left",transform:"translate(".concat(jn.clientX-On*Jn.scale/2,"px, ").concat(jn.clientY-On*Jn.scale/2,"px)")}})]}):null};return{CanvasContainer:cr,scale:Jn.scale,containerRef:fr,naturalSize:ar,clientSize:{width:Jn.width,height:Jn.height},containerSize:or,containerMouse:t()(t()({},jn),{},{elementW:(or==null?void 0:or.width)||jn.elementW,elementH:(or==null?void 0:or.height)||jn.elementH}),contentMouse:lr,imagePos:Qr,isMousePress:fn,onLoadImg:bn,onZoomIn:Re,onZoomOut:rt,onWheelMove:Mt,onReset:Dt}}var ji=function(he){var Pe=he.index,Un=he.targetElement,vt=he.imagePos;return(0,x.jsx)(A,{children:(0,x.jsx)("div",{className:"dds-annotator-popover-menu",style:{left:Un.x+vt.x+5,top:Un.y+vt.y+5},children:(0,x.jsx)("div",{className:"dds-annotator-popover-menu-content",children:(0,x.jsx)("span",{className:"dds-annotator-popover-menu-text",children:"".concat(Pe+1," ").concat(Un.name)})})})})},_o=ji,Bo=e(34095),oi=e(14464),ri=e(81179),Si=function(he){var Pe=he.visible,Un=he.drawData,vt=he.editState,zn=he.clientSize,En=he.imagePos,On=he.containerMouse,Fn=he.canvasRef,mr=he.activeCanvasRef,fr=he.imgRef,or=he.objectHooksMap,jn=he.videoLoading,ua=function(lr,Ir,Vr){var Ar=[(0,oi.a7)(Ir,Bo.rl.DEFAULT),(0,oi.a7)(Ir,Bo.mh.DEFAULT),Bo.s_.DEFAULT],Y=Ar[0],z=Ar[1],ue=Ar[2];return Vr==="focus"?(ue=Bo.s_.FOCUS,Y=(0,oi.a7)(Ir,Bo.rl.FOCUS),z=(0,oi.a7)(Ir,Bo.mh.FOCUS)):Vr==="justCreated"?(ue=Bo.s_.JUST_CREATED,z=(0,oi.a7)(Ir,Bo.mh.JUST_CREATED)):Vr==="editing"?(ue=Bo.s_.CREATING,Y=(0,oi.a7)(Ir,Bo.rl.CREATING),z=(0,oi.a7)(Ir,Bo.mh.CREATING)):Vr==="creating"&&(ue=Bo.s_.CREATING,Y=Bo.XQ.CREATING,z=Bo.Bt.CREATING),t()({strokeColor:Y,fillColor:z,maskAlpha:ue,strokeDash:[0],thickness:2,pointAplha:1},lr.customStyles||{})},Or=function(lr){var Ir=ua(lr,lr.color,"creating");or[lr.type].renderCreatingObject({object:lr,color:lr.color,styles:Ir})},ar=function(lr){if(!lr.hidden){var Ir=(0,qr.lT)(lr,{x:-En.current.x,y:-En.current.y}),Vr=vt.focusObjectIndex===Un.activeObjectIndex,Ar=ua(lr,lr.color,Vr?"focus":"editing");or[lr.type].renderEditingObject({object:Ir,color:lr.color,styles:Ar,isFocus:Vr})}},hr=function(lr){var Ir=lr.prompt;if(Ir.creatingPrompt||Ir.promptsQueue||Ir.activeRectWhileLoading){var Vr,Ar;lr.selectedTool===Q.ru.Mask||((Vr=lr.creatingObject)===null||Vr===void 0?void 0:Vr.type)===Q.gr.Mask?or[Q.gr.Mask].renderPrompt({prompt:Ir}):lr.selectedTool===Q.ru.Polygon||((Ar=lr.creatingObject)===null||Ar===void 0?void 0:Ar.type)===Q.gr.Polygon?or[Q.gr.Polygon].renderPrompt({prompt:Ir}):lr.selectedTool===Q.ru.Rectangle&&lr.selectedModel[lr.selectedTool]===Q.HE.IVP&&or[Q.gr.Rectangle].renderPrompt({prompt:Ir})}},Pr=function(lr){if(!(!Pe||!mr.current)){(0,ri.ix)(mr.current,{width:On.elementW,height:On.elementH}),mr.current.getContext("2d").imageSmoothingEnabled=!1,(0,ri.UN)(mr.current);var Ir=lr||Un;Ir.creatingObject&&(Ir.activeObjectIndex>-1?ar(Ir.creatingObject):Or(Ir.creatingObject)),hr(Ir)}},aa=function(lr,Ir,Vr){var Ar=(0,qr.lT)(lr,{x:-En.current.x,y:-En.current.y}),Y=Ar.type,z=Ir?"focus":Vr?"justCreated":void 0,ue=ua(lr,lr.color,z);(0,ri.M5)(Fn.current,Un.creatingObject?.6:1),or[Y].renderObject({object:Ar,color:lr.color,styles:ue,isFocus:Ir,isJustCreated:Vr})},Jn=function(lr,Ir){lr.forEach(function(Vr,Ar){var Y;if(!(Vr.hidden||Ar===Ir||Ar===vt.focusObjectIndex||Vr.frameEmpty)){var z=((Y=Un.editingAttribute)===null||Y===void 0?void 0:Y.index)===Ar,ue=!vt.isCtrlPressed&&Vr.status===W.TK.Checked||Un.isJustCreated&&Ar===lr.length-1;aa(Vr,z,ue)}})},fa=function(lr){if(!(!Pe||!Fn.current||!fr.current||!fr.current.complete)){if(jn){(0,ri.UN)(Fn.current);return}(0,ri.ix)(Fn.current,{width:On.elementW,height:On.elementH}),Fn.current.getContext("2d").imageSmoothingEnabled=!1,(0,ri.UN)(Fn.current),(0,ri.KJ)(Fn.current,vt.imageDisplayOptions.brightness,vt.imageDisplayOptions.contrast,vt.imageDisplayOptions.saturate),(0,ri.AE)(Fn.current,fr.current,{x:En.current.x,y:En.current.y,width:zn.width,height:zn.height}),(0,ri.ku)(Fn.current);var Ir=lr||Un;if(Jn(Ir.objectList,Ir.activeObjectIndex),Pr(Ir),vt.focusObjectIndex>-1&&vt.focusObjectIndex!==Un.activeObjectIndex&&Ir.objectList[vt.focusObjectIndex]&&!Ir.objectList[vt.focusObjectIndex].hidden&&!Ir.objectList[vt.focusObjectIndex].frameEmpty&&aa(Ir.objectList[vt.focusObjectIndex],!0,!1),Un.highlightCategory){var Vr=Ir.objectList.filter(function(Ar){return Ar.labelId===Un.highlightCategory.id});Vr.forEach(function(Ar){aa(Ar,!0,!1)})}}},Qr=function(){if(vt.focusObjectIndex>-1&&Un.objectList[vt.focusObjectIndex]&&!Un.objectList[vt.focusObjectIndex].hidden&&vt.focusEleIndex>-1&&vt.focusEleType===Q.Yq.Circle){var lr,Ir,Vr=(lr=Un.objectList[vt.focusObjectIndex].keypoints)===null||lr===void 0||(Ir=lr.points)===null||Ir===void 0?void 0:Ir[vt.focusEleIndex];if(Vr)return(0,x.jsx)(_o,{index:vt.focusEleIndex,targetElement:Vr,imagePos:En.current})}return(0,x.jsx)(x.Fragment,{})};return{updateRender:fa,renderPopoverMenu:Qr}},Ni=Si;function Ei(Ue){var he=Ue.categories,Pe=Ue.editState,Un=Ue.forceColorByObject,vt=(0,g.useMemo)(function(){return(0,oi.Cj)(he.map(function(Fn){return Fn.id}))},[he]),zn=(0,g.useRef)(0),En=function(mr){var fr=.618;zn.current=mr+fr;var or=(mr+fr)%1,jn=(0,oi.WE)(or,.8,.95);return(0,oi.ZT)(jn)};(0,g.useEffect)(function(){zn.current=0},[Pe.annotsDisplayOptions.colorByCategory]);var On=(0,g.useCallback)(function(Fn,mr){if(!Un&&(Pe.annotsDisplayOptions.colorByCategory||mr)){var fr=he.find(function(or){return or.id===Fn});return(fr==null?void 0:fr.renderColor)||vt[Fn]||"#fff"}else return En(zn.current)},[Pe.annotsDisplayOptions.colorByCategory,vt,En,zn.current,Un]);return{labelColors:vt,getAnnotColor:On}}function to(Ue,he){var Pe=(0,g.useRef)(),Un=(0,g.useRef)(),vt=typeof he=="function"?he(Un.current,Ue):!0;vt&&(Pe.current=Un.current,Un.current=Ue);var zn=function(){Pe.current=void 0};return[Pe.current,zn]}var Ga=function(he){var Pe=he.imagePos,Un=he.clientSize,vt=he.naturalSize,zn=he.annotations,En=he.setAnnotations,On=he.drawData,Fn=he.setDrawData,mr=he.setFramesData,fr=he.editState,or=he.setEditState,jn=he.initObjectList,ua=he.updateRender,Or=he.clearHistory,ar=he.objectsFilter,hr=he.labelOptions,Pr=he.customDefaultDrawData,aa=to(Un),Jn=s()(aa,2),fa=Jn[0],Qr=Jn[1],$r=function(z,ue){if(!(!Un.width||!Un.height||!vt.width||!vt.height)){if(!On.initialized||z)jn(ue||zn);else if(On.initialized&&fa){mr&&(mr==null||mr(function(Re){Re.objects=(0,qr.nF)(Re.objects,fa,Un)}));var Ce=(0,qr.hv)(On,fa,Un);Fn(Ce),ua(Ce),Qr()}}},lr=(0,g.useCallback)(function(){Fn(t()(t()({},(0,m.cloneDeep)(W.f7)),{},{brushSize:On.brushSize,selectedTool:On.selectedTool,selectedSubTool:On.selectedSubTool,selectedModel:On.selectedModel,AIAnnotation:On.AIAnnotation},Pr))},[W.f7,Pr,On.brushSize,On.selectedSubTool,On.selectedTool,On.AIAnnotation]),Ir=(0,g.useCallback)(function(){var Y;or(t()(t()({},(0,m.cloneDeep)(W.rl)),{},{latestLabelId:(hr==null||(Y=hr[0])===null||Y===void 0?void 0:Y.id)||"",imageDisplayOptions:fr.imageDisplayOptions,annotsDisplayOptions:fr.annotsDisplayOptions}))},[W.rl,hr,fr.imageDisplayOptions,fr.annotsDisplayOptions]),Vr=(0,g.useCallback)(function(Y){var z=Y!=null&&Y.objects?Qt()(Y==null?void 0:Y.objects):[],ue=Y&&ar?ar(Y)||[]:z;En(ue),$r(!0,ue)},[ar,$r]),Ar=(0,g.useCallback)(function(Y){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;En([]),lr(),Ir(),ue&&Or(),z&&Y&&Vr(Y)},[lr,Ir,Or,Vr]);return(0,g.useEffect)(function(){ua()},[On,fr,Pe.current.x,Pe.current.y]),(0,g.useEffect)(function(){$r()},[Un.height,Un.width]),(0,g.useEffect)(function(){$r(!0)},[vt.width,vt.height]),(0,g.useEffect)(function(){hr!=null&&hr.length&&or(function(Y){if(!Y.latestLabelId||!hr.find(function(ue){return ue.id===Y.latestLabelId})){var z;Y.latestLabelId=(z=hr[0])===null||z===void 0?void 0:z.id}})},[hr]),{rebuildDrawData:$r,resetDataWithImageData:Ar}},Qo=Ga,qo=function(he){var Pe=he.clientSize,Un=he.naturalSize,vt=he.onAutoSave,zn=he.setDrawData,En=he.translateObject,On=he.framesData,Fn=he.setFramesData,mr=(0,g.useRef)(!1),fr=(0,M.x)([]),or=s()(fr,2),jn=or[0],ua=or[1],Or=(0,g.useState)(0),ar=s()(Or,2),hr=ar[0],Pr=ar[1],aa=20,Jn=function(){mr.current=!1},fa=function(z){if(vt){var ue=z.drawData.objectList.map(function(Ce){return(En==null?void 0:En(Ce))||{}});vt(ue,Un)}},Qr=(0,g.useCallback)(function(Y){Fn==null||Fn(function(ue){if(Y.framesData){var Ce;ue.activeIndex=(Ce=Y.framesData)===null||Ce===void 0?void 0:Ce.activeIndex,ue.objects=(0,qr.nF)(Y.framesData.objects,Y.clientSize,Pe)}});var z=(0,qr.hv)(Y.drawData,Y.clientSize,Pe);zn(z),fa(Y)},[Pe.width,Pe.height]),$r=(0,g.useCallback)(function(){hr>0&&(Pr(function(Y){return mr.current=jn.length>1&&Y-1!==0,Y-1}),Qr(jn[hr-1]))},[hr,jn,Qr]),lr=(0,g.useCallback)(function(){hr1&&Y+1!==0,Y+1}),Qr(jn[hr+1]))},[hr,jn,Qr]),Ir=function(z,ue){var Ce=(0,m.cloneDeep)({drawData:z,clientSize:Pe,framesData:ue||On});ua(function(Re){var rt,Mt,Dt;if(Re[hr]&&(0,m.isEqual)(Ce,Re[hr])||hr===0&&(0,m.isEqual)(Ce.drawData,(rt=Re[hr])===null||rt===void 0?void 0:rt.drawData))return Re;!ue&&Ce.framesData&&Fn&&Ce.drawData.objectList.length&&!(0,m.isEqual)(Ce.drawData.objectList,(Mt=Re[hr])===null||Mt===void 0||(Dt=Mt.drawData)===null||Dt===void 0?void 0:Dt.objectList)&&(Ce.framesData.objects=(0,qr.cf)(Ce.drawData.objectList,Ce.framesData.objects,Ce.framesData.list.length,Ce.framesData.activeIndex,Un),Fn(function(Vt){Vt.objects=(0,m.cloneDeep)(Ce.framesData.objects)})),Re.splice(hr+1),Re.push(Ce),Re.length>aa&&Re.shift(),Pr(Re.length-1),mr.current=Re.length>1&&Re.length-1!==0}),fa(Ce)},Vr=(0,g.useCallback)(function(){ua([])},[]),Ar=function(z){typeof z=="function"?zn(function(ue){z(ue),Ir((0,m.cloneDeep)(ue))}):(zn(z),Ir((0,m.cloneDeep)(z)))};return{updateHistory:Ir,undo:$r,redo:lr,clearHistory:Vr,setDrawDataWithHistory:Ar,flagSaved:Jn,hadChangeRecord:mr.current}},xo=qo;function Ro(Ue){var he=Ue.isOldMode,Pe=Ue.categories,Un=Ue.setCategories,vt=Ue.drawData,zn=Ue.setDrawData,En=Ue.editState,On=Ue.updateObjectWithoutHistory,Fn=Ue.updateAllObjectWithoutHistory,mr=vt.objectList,fr=(0,g.useMemo)(function(){if(he)return Pe;if(vt.objectList[vt.activeObjectIndex]||vt.selectedTool!==Q.ru.Drag){var Jn=vt.objectList[vt.activeObjectIndex]?Object.keys(Q.Zo).find(function(Qr){return vt.objectList[vt.activeObjectIndex].type===Q.Zo[Qr]}):vt.selectedTool,fa=Object.keys(Q.t).find(function(Qr){return Jn===Q.t[Qr]});return Pe.filter(function(Qr){return Qr.labelType===fa})}return[]},[Pe,vt.objectList,vt.activeObjectIndex,vt.selectedTool]),or=(0,g.useMemo)(function(){return(Pe==null?void 0:Pe.filter(function(Jn){return Jn.labelType===Q.Ze.Classification}))||[]},[Pe]),jn=(0,g.useCallback)(function(Jn){Pe.find(function(fa){return fa.name===Jn})||!Un||Un(function(fa){return[].concat(Qt()(fa),[{id:Jn,name:Jn}])})},[Pe]),ua=(0,g.useCallback)(function(Jn,fa){var Qr=t()({},vt.objectList[Jn]);Qr.hidden=fa,On(Qr,Jn)},[vt.objectList]),Or=(0,g.useCallback)(function(Jn,fa){var Qr=vt.objectList.map(function($r){var lr,Ir=t()({},$r);return((lr=Pe.find(function(Vr){return Vr.id===$r.labelId}))===null||lr===void 0?void 0:lr.name)===Jn&&(Ir.hidden=fa),Ir});Fn(Qr)},[vt.objectList]),ar=function(fa,Qr){var $r=t()({},vt.objectList[En.focusObjectIndex]);switch(fa){case Q.Yq.Rect:{$r.rect&&($r.rect.visible=Qr,On($r,En.focusObjectIndex));break}case Q.Yq.Polygon:{$r.polygon&&($r.polygon.visible=Qr,On($r,En.focusObjectIndex));break}}},hr=(0,g.useCallback)(function(Jn,fa){var Qr,$r,lr=(0,m.cloneDeep)(vt.objectList[vt.activeObjectIndex]),Ir=(Qr=lr.keypoints)===null||Qr===void 0||($r=Qr.points)===null||$r===void 0?void 0:$r[Jn];Ir&&(Ir.visible=fa),On(lr,vt.activeObjectIndex)},[vt.activeObjectIndex,vt.objectList]),Pr=(0,g.useCallback)(function(Jn){zn(function(fa){Jn!==fa.activeClassName&&(fa.activeClassName=Jn)})},[]);(0,g.useEffect)(function(){var Jn;if(!(vt.activeObjectIndex<0)){var fa=((Jn=Pe.find(function(Qr){return Qr.id===vt.objectList[vt.activeObjectIndex].labelId}))===null||Jn===void 0?void 0:Jn.name)||"";fa!==vt.activeClassName&&Pr(fa)}},[vt.activeObjectIndex]);var aa=(0,g.useMemo)(function(){var Jn=fr.find(function(fa){return fa.id===En.latestLabelId});return(Jn==null?void 0:Jn.labelName)||(Jn==null?void 0:Jn.name)||""},[fr,En.latestLabelId]);return{labelOptions:fr,latestLabel:aa,classificationOptions:or,curObjects:mr,onChangeObjectHidden:ua,onChangeCategoryHidden:Or,onChangeElementVisible:ar,onChangePointVisible:hr,onChangeActiveClass:Pr,onCreateCategory:jn}}var Ci=function(he){var Pe=he.topCanvas,Un=he.editState,vt=he.drawData,zn=(0,g.useCallback)(function(En,On){if(Pe){var Fn=En;if(On)switch(On){case qr.Nm.TOP:case qr.Nm.BOTTOM:Fn="ns-resize";break;case qr.Nm.TOP_LEFT:case qr.Nm.BOTTOM_RIGHT:Fn="nwse-resize";break;case qr.Nm.BOTTOM_LEFT:case qr.Nm.TOP_RIGHT:Fn="nesw-resize";break;default:Fn="ew-resize"}Fn!==Pe.style.cursor&&(Pe.style.cursor=Fn)}},[Pe]);return(0,g.useEffect)(function(){Un.allowMove?zn("grabbing"):vt.selectedTool===Q.ru.Drag?zn("grab"):zn("crosshair")},[Un.allowMove]),{updateMouseCursor:zn}},Ri=Ci,Ui=e(23671),Os=e(53807),fs=function(Ue,he){if(he===void 0&&(he=0),typeof requestAnimationFrame=="undefined")return{id:setInterval(Ue,he)};var Pe=new Date().getTime(),Un={id:0},vt=function(){var zn=new Date().getTime();zn-Pe>=he&&(Ue(),Pe=new Date().getTime()),Un.id=requestAnimationFrame(vt)};return Un.id=requestAnimationFrame(vt),Un};function Gs(Ue){return typeof cancelAnimationFrame=="undefined"}var xl=function(Ue){if(Gs(Ue.id))return clearInterval(Ue.id);cancelAnimationFrame(Ue.id)};function Kn(Ue,he,Pe){var Un=Pe==null?void 0:Pe.immediate,vt=(0,Ui.Z)(Ue),zn=(0,g.useRef)();(0,g.useEffect)(function(){if(!(!(0,Os.hj)(he)||he<0))return Un&&vt.current(),zn.current=fs(function(){vt.current()},he),function(){zn.current&&xl(zn.current)}},[he]);var En=(0,g.useCallback)(function(){zn.current&&xl(zn.current)},[]);return En}var Gr=Kn,jr=40,Br=10,ra=function(he){var Pe=he.visible,Un=he.mode,vt=he.drawData,zn=he.setDrawData,En=he.editState,On=he.setEditState,Fn=he.clientSize,mr=he.contentMouse,fr=he.categories,or=he.updateRender,jn=he.updateMouseCursor,ua=he.objectHooksMap,Or=he.imagePos,ar=he.containerMouse,hr=he.limitActiveObject,Pr=he.getAnnotColor,aa=(0,g.useRef)({topMin:0,topMax:0,leftMin:0,leftMax:0}),Jn=(0,g.useState)(void 0),fa=s()(Jn,2),Qr=fa[0],$r=fa[1];Gr(function(){var rt,Mt,Dt,Vt,nn=!1;(rt=aa.current.direction)!==null&&rt!==void 0&&rt.includes("TOP")&&Or.current.yaa.current.topMin&&(Or.current.y-=8,nn=!0),(Dt=aa.current.direction)!==null&&Dt!==void 0&&Dt.includes("LEFT")&&Or.current.xaa.current.leftMin&&(Or.current.x-=8,nn=!0),nn||$r(void 0),or()},Qr);var lr=function(){var Mt="",Dt=jr,Vt=ar.elementH-mr.elementH-jr,nn=jr,fn=ar.elementW-mr.elementW-jr;ar.elementY<=Br&&Or.current.y=ar.elementH-Br&&Or.current.y>Vt&&(Mt="BOTTOM"),ar.elementX<=Br&&Or.current.x=ar.elementW-Br&&Or.current.x>fn&&(Mt+=Mt?"_RIGHT":"RIGHT"),Mt?(aa.current={direction:Mt,topMax:Dt,topMin:Vt,leftMax:nn,leftMin:fn},$r(16)):$r(void 0)},Ir=function(){var Mt;return vt.isBatchEditing&&(vt.selectedTool===Q.ru.Rectangle&&En.isCtrlPressed?Mt=function(Vt){return Vt.status===W.TK.Unchecked}:Mt=function(Vt){return Vt.status!==W.TK.Unchecked}),Mt},Vr=function(){if((0,qr.jt)(ar)){var Mt=(0,qr.Z0)(Fn,mr,vt.activeObjectIndex,vt.objectList,Ir());if(Mt>-1&&Mt===vt.activeObjectIndex){On(function(bn){bn.focusObjectIndex=Mt});var Dt=vt.objectList[vt.activeObjectIndex],Vt=(0,qr.o7)(mr,Dt),nn=Vt.focusEleIndex,fn=Vt.focusEleType,hn=Vt.focusPolygonInfo;On(function(bn){bn.focusEleIndex=nn,bn.focusEleType=fn,bn.focusPolygonInfo=hn})}else vt.selectedTool===Q.ru.Drag||vt.isBatchEditing?On(function(bn){bn.focusObjectIndex=Mt,bn.focusEleIndex=-1,bn.focusEleType=Q.Yq.None,bn.focusPolygonInfo={index:-1,pointIndex:-1,lineIndex:-1}}):On(function(bn){bn.focusObjectIndex=-1,bn.focusEleIndex=-1,bn.focusEleType=Q.Yq.None,bn.focusPolygonInfo={index:-1,pointIndex:-1,lineIndex:-1}})}},Ar=(0,g.useCallback)(function(rt,Mt){if(!(rt<0)){var Dt=(Mt==null?void 0:Mt.button)===2;if(Dt){var Vt=(0,qr.RF)(Fn,mr,vt.objectList,Ir());Vt.length>0?On(function(nn){nn.foucsObjectAllIndexs=Vt}):On(function(nn){nn.foucsObjectAllIndexs=[]});return}zn(function(nn){var fn;if(nn.selectedTool===Q.ru.Rectangle&&nn.isBatchEditing&&En.isCtrlPressed)nn.objectList[rt].status=W.TK.Checked,On(function(bn){bn.focusObjectIndex=-1});else{var hn;nn.AIAnnotation=!1,nn.activeObjectIndex=rt,(hn=nn.objectList[rt])!==null&&hn!==void 0&&hn.frameEmpty?nn.creatingObject=void 0:nn.creatingObject=t()(t()({},nn.objectList[rt]),{},{currIndex:void 0,startPoint:void 0,tempMaskSteps:[],maskStep:void 0}),nn.selectedTool!==Q.ru.Drag&&nn.objectList[rt]&&Q.Zo[nn.selectedTool]!==nn.objectList[rt].type&&(nn.selectedTool=Q.ru.Drag)}((fn=nn.editingAttribute)===null||fn===void 0?void 0:fn.index)!==rt&&(nn.editingAttribute=void 0)})}},[Fn.width,Fn.height,mr,vt.objectList]),Y=function(){if(!En.foucsObjectAllIndexs.length)return(0,x.jsx)(x.Fragment,{});var Mt=function(fn){fn.stopPropagation()},Dt=function(fn){On(function(hn){hn.focusObjectIndex=fn})},Vt=function(fn){Ar(fn),On(function(hn){hn.foucsObjectAllIndexs=[]})};return(0,x.jsx)("div",{className:"dds-annotator-dropdown-options",onMouseDown:Mt,onMouseUp:Mt,onMouseMove:Mt,onContextMenu:function(fn){return fn.preventDefault()},children:En.foucsObjectAllIndexs.map(function(nn){var fn,hn,bn;return(0,x.jsxs)("div",{className:"dds-annotator-dropdown-options-object",onMouseEnter:function(){return Dt(nn)},onMouseDown:function(){return Vt(nn)},children:[(0,x.jsx)("div",{className:"dds-annotator-dropdown-options-object-dot",style:{backgroundColor:((fn=vt.objectList[nn])===null||fn===void 0?void 0:fn.color)||"#fff"}}),((hn=fr.find(function(Yt){var Ln;return Yt.id===((Ln=vt.objectList[nn])===null||Ln===void 0?void 0:Ln.labelId)}))===null||hn===void 0?void 0:hn.name)||"",vt.isBatchEditing&&" (".concat((0,ao.O)(((bn=vt.objectList[nn])===null||bn===void 0?void 0:bn.conf)||0),")")]},nn)})})},z=function(Mt){if(!(!Pe||En.allowMove||En.isRequiring||!(0,qr.jt)(mr)||!(0,qr.jt)(ar))&&(On(function(Vt){Vt.foucsObjectAllIndexs=[]}),!(vt.creatingObject&&vt.activeObjectIndex>-1&&Un===W.je.Edit&&ua[vt.creatingObject.type].startEditingWhenMouseDown({event:Mt,object:vt.creatingObject}))))if(vt.selectedTool!==Q.ru.Drag&&(!vt.isBatchEditing||vt.selectedModel[vt.selectedTool]===Q.HE.IVP)){zn(function(Vt){Vt.editingAttribute=void 0});var Dt=Q.Zo[vt.selectedTool];if(Un===W.je.Edit&&ua[Dt].startCreatingWhenMouseDown({event:Mt,object:vt.creatingObject,point:{x:mr.elementX,y:mr.elementY},basic:{hidden:!1,labelId:En.latestLabelId||fr[0].id,status:W.TK.Commited,color:Pr(En.latestLabelId||fr[0].name)}}))return}else En.focusObjectIndex>-1&&!hr?Ar(En.focusObjectIndex,Mt):(On(function(Vt){Vt.allowMove=!0}),zn(function(Vt){Vt.activeObjectIndex=-1,Vt.editingAttribute=void 0,Vt.creatingObject=void 0}))},ue=function(Mt){if(!(!Pe||En.isRequiring||En.allowMove)){if(En.focusObjectIndex>-1?jn("pointer"):vt.selectedTool!==Q.ru.Drag?jn("crosshair"):jn("grab"),vt.creatingObject&&vt.activeObjectIndex>-1){if(Un===W.je.Edit&&ua[vt.creatingObject.type].updateEditingWhenMouseMove({event:Mt,object:vt.creatingObject})){var Dt,Vt=vt.creatingObject.type===Q.gr.Mask&&!((Dt=vt.creatingObject)!==null&&Dt!==void 0&&Dt.maskStep);Vt||lr(),or();return}}else if(vt.selectedTool!==Q.ru.Drag&&vt.activeObjectIndex<0){var nn=Q.Zo[vt.selectedTool];if(Un===W.je.Edit&&ua[nn].updateCreatingWhenMouseMove({event:Mt,object:vt.creatingObject})){var fn,hn=nn===Q.gr.Mask&&!((fn=vt.creatingObject)!==null&&fn!==void 0&&fn.maskStep);hn||lr(),or();return}}Vr(),or()}},Ce=function(Mt){if($r(void 0),!(!Pe||En.isRequiring)){if(En.allowMove){On(function(Vt){Vt.allowMove=!1});return}if(vt.creatingObject&&vt.activeObjectIndex>-1){if(Un===W.je.Edit&&ua[vt.creatingObject.type].finishEditingWhenMouseUp({event:Mt,object:vt.creatingObject}))return}else if(vt.selectedTool!==Q.ru.Drag&&vt.activeObjectIndex<0){var Dt=Q.Zo[vt.selectedTool];if(Un===W.je.Edit&&ua[Dt].finishCreatingWhenMouseUp({event:Mt,object:vt.creatingObject}))return}}},Re=(0,g.useCallback)(function(rt){On(function(Mt){Mt.focusObjectIndex=rt})},[]);return(0,Ba.Z)("mousedown",function(rt){z(rt)}),(0,Ba.Z)("mousemove",function(rt){ue(rt)}),(0,Ba.Z)("mouseup",function(rt){Ce(rt)}),{selectFocusObject:Ar,forceChangeFocusObject:Re,mouseRightObjectsDropDownRender:Y}},ja=ra,Ra=function(he){var Pe=he.mode,Un=he.categories,vt=he.drawData,zn=he.setDrawData,En=he.setDrawDataWithHistory,On=he.framesData,Fn=he.setFramesData,mr=he.setEditState,fr=he.translateToObject,or=he.judgeEditingAttribute,jn=he.updateHistory,ua=function(Ir){zn(function(Vr){var Ar=(0,m.cloneDeep)(Vr),Y=(0,m.cloneDeep)(On);if(Ar.initialized=!0,Y){var z=Ir.map(function(Ce){return(fr==null?void 0:fr(Ce,Y.list.length))||{}});Y.objects=z.filter(function(Ce){return!!Ce.objects}).map(function(Ce){return Ce.objects}),Ar.classifications=z.filter(function(Ce){return!!Ce.classification}).map(function(Ce){return Ce.classification}),Ar.objectList=Y.objects.map(function(Ce){return Ce[Y.activeIndex]}),Fn==null||Fn(Y)}else{var ue=Ir.map(function(Ce){return(fr==null?void 0:fr(Ce))||{}});Ar.classifications=ue.filter(function(Ce){return Ce.type===Q.gr.Classification}),Ar.objectList=ue.filter(function(Ce){return Ce.type!==Q.gr.Custom&&Ce.type!==Q.gr.Classification})}return jn((0,m.cloneDeep)(Ar),(0,m.cloneDeep)(Y)),Ar})},Or=function(Ir){Pe===W.je.Edit&&En(function(Vr){var Ar;Vr.objectList.push(Ir),Vr.isJustCreated=!0,Vr.creatingObject=void 0,Vr.activeObjectIndex=-1,Vr.activeClassName=((Ar=Un.find(function(Y){return Y.id===Ir.labelId}))===null||Ar===void 0?void 0:Ar.name)||"",or&&(Vr.editingAttribute=or(Ir,Vr.objectList.length-1))})},ar=function(Ir){if(!(Pe!==W.je.Edit||!vt.objectList[Ir])){mr(function(Y){Y.focusObjectIndex=-1,Y.focusEleIndex=-1,Y.focusEleType=Q.Yq.Rect});var Vr=(0,m.cloneDeep)(On),Ar=(0,m.cloneDeep)(vt);Vr&&Vr.objects[Ir]&&(Vr.objects.splice(Ir,1),Fn==null||Fn(Vr)),Ar.objectList[Ir]&&(Ar.objectList.splice(Ir,1),Ar.activeObjectIndex=-1,Ar.creatingObject=void 0,Ar.editingAttribute=void 0),zn(Ar),jn((0,m.cloneDeep)(Ar),(0,m.cloneDeep)(Vr))}},hr=(0,g.useCallback)(function(){if(Pe===W.je.Edit){mr(function(Vr){Vr.focusObjectIndex=-1,Vr.focusEleIndex=-1,Vr.focusEleType=Q.Yq.Rect});var lr=(0,m.cloneDeep)(On),Ir=(0,m.cloneDeep)(vt);lr&&(lr.objects=[],Fn==null||Fn(lr)),Ir.objectList=[],Ir.activeObjectIndex=-1,Ir.creatingObject=void 0,Ir.editingAttribute=void 0,zn(Ir),jn((0,m.cloneDeep)(Ir),(0,m.cloneDeep)(lr))}},[Pe,On,vt]),Pr=function(Ir,Vr){Pe!==W.je.Edit||!vt.objectList[Vr]||En(function(Ar){Ir.labelId!==Ar.objectList[Vr].labelId&&or&&(Ar.editingAttribute=or(Ir,Vr)),Ar.objectList[Vr]=Ir,Ar.creatingObject&&Ar.activeObjectIndex===Vr&&(Ar.creatingObject=t()({},Ir))})},aa=function(Ir){En(function(Vr){Vr.objectList=Ir,Vr.creatingObject&&Vr.objectList[Vr.activeObjectIndex]&&(Vr.creatingObject=t()({},Vr.objectList[Vr.activeObjectIndex])),Vr.isJustCreated=!1})},Jn=function(Ir,Vr){vt.objectList[Vr]&&zn(function(Ar){Ar.objectList[Vr]=Ir,Ar.creatingObject&&Ar.activeObjectIndex===Vr&&(Ar.creatingObject=t()({},Ir))})},fa=function(Ir){zn(function(Vr){Vr.objectList=Ir,Vr.creatingObject&&Vr.objectList[Vr.activeObjectIndex]&&(Vr.creatingObject=t()({},Vr.objectList[Vr.activeObjectIndex]))})},Qr=(0,g.useMemo)(function(){return vt.objectList.filter(function(lr){return(lr==null?void 0:lr.status)===W.TK.Commited})},[vt.isBatchEditing,vt.objectList]),$r=(0,g.useMemo)(function(){return vt.objectList[vt.activeObjectIndex]||vt.creatingObject},[vt.objectList,vt.activeObjectIndex,vt.creatingObject]);return{initObjectList:ua,addObject:Or,removeObject:ar,removeAllObjects:hr,updateObject:Pr,updateAllObject:aa,updateObjectWithoutHistory:Jn,updateAllObjectWithoutHistory:fa,commitedObjects:Qr,currObject:$r}},Pa=Ra,To=function(he){var Pe=he.visible,Un=he.mode,vt=he.drawData,zn=he.categories,En=he.isMousePress,On=he.setDrawData,Fn=he.setEditState,mr=he.onSaveAnnotations,fr=he.onAcceptAnnotations,or=he.onRejectAnnotations,jn=he.onChangeObjectHidden,ua=he.onChangeCategoryHidden,Or=he.removeObject,ar=he.addObject;return(0,Ee.Z)(Se[Ie.Save].shortcut,function(hr){hr.preventDefault(),Un===W.je.Edit&&(mr==null||mr())},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.Accept].shortcut,function(hr){hr.preventDefault(),fr==null||fr()},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.Reject].shortcut,function(hr){hr.preventDefault(),or==null||or()},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.PanImage].shortcut,function(hr){Pe&&(hr.type==="keydown"&&!En?Fn(function(Pr){Pr.allowMove=!0}):hr.type==="keyup"&&Fn(function(Pr){Pr.allowMove=!1}))},{events:["keydown","keyup"]}),(0,Ee.Z)(Se[Ie.CancelCurrObject].shortcut,function(hr){Pe&&hr.type==="keyup"&&(vt.creatingObject?On(function(Pr){var aa,Jn,fa,Qr,$r,lr;((aa=Pr.creatingObject)===null||aa===void 0?void 0:aa.type)===Q.gr.Mask&&(Jn=Pr.creatingObject)!==null&&Jn!==void 0&&(fa=Jn.maskStep)!==null&&fa!==void 0&&(Qr=fa.points)!==null&&Qr!==void 0&&Qr.length&&($r=Pr.creatingObject)!==null&&$r!==void 0&&(lr=$r.tempMaskSteps)!==null&&lr!==void 0&&lr.length?Pr.creatingObject.maskStep=void 0:(Pr.creatingObject=void 0,Pr.activeObjectIndex=-1),Pr.AIAnnotation&&(Pr.prompt={})}):On(function(Pr){Pr.activeObjectIndex=-1}))},{events:["keydown","keyup"]}),(0,Ee.Z)(Se[Ie.HideCurrObject].shortcut,function(hr){vt.activeObjectIndex<0||(hr.preventDefault(),jn(vt.activeObjectIndex,!vt.objectList[vt.activeObjectIndex].hidden))},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.HideCurrCategory].shortcut,function(hr){var Pr;if(!(vt.activeObjectIndex<0)){hr.preventDefault();var aa=vt.objectList[vt.activeObjectIndex],Jn=aa.labelId,fa=aa.hidden,Qr=((Pr=zn.find(function($r){return $r.id===Jn}))===null||Pr===void 0?void 0:Pr.name)||"";ua(Qr,!fa)}},{exactMatch:!0}),(0,Ee.Z)(Se[Ie.DeleteCurrObject].shortcut,function(hr){!Pe||Un!==W.je.Edit||["Delete","Backspace"].includes(hr.key)&&vt.activeObjectIndex>-1&&Or(vt.activeObjectIndex)},{events:["keyup"]}),(0,Ee.Z)(["ctrl"],function(hr){vt.activeObjectIndex>-1||Fn(function(Pr){var aa=hr.type==="keydown";if(Pr.isCtrlPressed===aa)return Pr;Pr.isCtrlPressed=hr.type==="keydown",Pr.focusObjectIndex=-1,Pr.foucsObjectAllIndexs=[]})},{events:["keydown","keyup"]}),(0,Ee.Z)(["v"],function(hr){Fn(function(Pr){var aa=hr.type==="keydown";if(Pr.hideCreatingObject===aa)return Pr;Pr.hideCreatingObject=hr.type==="keydown"})},{events:["keydown","keyup"]}),(0,Ee.Z)(["enter"],function(){if(!vt.AIAnnotation&&vt.creatingObject&&vt.creatingObject.type===Q.gr.Polygon){var hr=vt.creatingObject,Pr=hr.polygon,aa=hr.type,Jn=hr.hidden,fa=hr.labelId,Qr=hr.status,$r=hr.color;if(Pr&&Pr.group&&Pr.group[0].length>2){var lr={polygon:Pr,type:aa,hidden:Jn,labelId:fa,status:Qr,color:$r};ar(lr)}}},{exactMatch:!0,events:["keyup"]}),{}},Yo=To,Zo=Object.defineProperty,zi=Object.getOwnPropertySymbols,bs=Object.prototype.hasOwnProperty,Gi=Object.prototype.propertyIsEnumerable,Ds=(Ue,he,Pe)=>he in Ue?Zo(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Xi=(Ue,he)=>{for(var Pe in he||(he={}))bs.call(he,Pe)&&Ds(Ue,Pe,he[Pe]);if(zi)for(var Pe of zi(he))Gi.call(he,Pe)&&Ds(Ue,Pe,he[Pe]);return Ue};const Vo=Ue=>g.createElement("svg",Xi({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M18.33 4.069a.67.67 0 0 0 .67-.672V.671A.672.672 0 0 0 18.33 0h-2.718a.67.67 0 0 0-.671.671v.672H4.066V.67A.672.672 0 0 0 3.395 0H.67A.67.67 0 0 0 0 .671v2.72a.672.672 0 0 0 .67.67h.672v10.877H.67A.67.67 0 0 0 0 15.61v2.72A.672.672 0 0 0 .67 19h2.718a.67.67 0 0 0 .671-.671v-.672h10.869v.672a.672.672 0 0 0 .67.671h2.718a.67.67 0 0 0 .67-.671v-2.706a.672.672 0 0 0-.67-.671h-.671V4.069h.684Zm-2.014 10.876h-.67a.67.67 0 0 0-.671.671v.672H4.065v-.672a.672.672 0 0 0-.67-.671h-.671V4.069h.67a.67.67 0 0 0 .672-.672v-.671h10.868v.671a.672.672 0 0 0 .671.672h.671l.02 5.438.02 5.438Z",fill:"#fff"}),g.createElement("g",{clipPath:"url(#add-prompt_svg__a)"},g.createElement("path",{d:"M14.51 5.884a.851.851 0 0 0-1.204 0l-5.418 5.423-2.409-2.41a.851.851 0 1 0-1.204 1.205l3.01 3.012a.849.849 0 0 0 1.205 0l6.02-6.025a.852.852 0 0 0 0-1.205Z",fill:"#fff"})),g.createElement("defs",null,g.createElement("clipPath",{id:"add-prompt_svg__a"},g.createElement("path",{fill:"#fff",transform:"translate(4.025 4.129)",d:"M0 0h10.735v10.742H0z"}))));var tu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTkgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE4LjMzIDQuMDY5YS42Ny42NyAwIDAgMCAuNjctLjY3MlYuNjcxQS42NzIuNjcyIDAgMCAwIDE4LjMzIDBoLTIuNzE4YS42Ny42NyAwIDAgMC0uNjcxLjY3MXYuNjcySDQuMDY2Vi42N0EuNjcyLjY3MiAwIDAgMCAzLjM5NSAwSC42N0EuNjcuNjcgMCAwIDAgMCAuNjcxdjIuNzJhLjY3Mi42NzIgMCAwIDAgLjY3LjY3aC42NzJ2MTAuODc3SC42N0EuNjcuNjcgMCAwIDAgMCAxNS42MXYyLjcyQS42NzIuNjcyIDAgMCAwIC42NyAxOWgyLjcxOGEuNjcuNjcgMCAwIDAgLjY3MS0uNjcxdi0uNjcyaDEwLjg2OXYuNjcyYS42NzIuNjcyIDAgMCAwIC42Ny42NzFoMi43MThhLjY3LjY3IDAgMCAwIC42Ny0uNjcxdi0yLjcwNmEuNjcyLjY3MiAwIDAgMC0uNjctLjY3MWgtLjY3MVY0LjA2OWguNjg0Wm0tMi4wMTQgMTAuODc2aC0uNjdhLjY3LjY3IDAgMCAwLS42NzEuNjcxdi42NzJINC4wNjV2LS42NzJhLjY3Mi42NzIgMCAwIDAtLjY3LS42NzFoLS42NzFWNC4wNjloLjY3YS42Ny42NyAwIDAgMCAuNjcyLS42NzJ2LS42NzFoMTAuODY4di42NzFhLjY3Mi42NzIgMCAwIDAgLjY3MS42NzJoLjY3MWwuMDIgNS40MzguMDIgNS40MzhaIiBmaWxsPSIjZmZmIi8+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTQuNTEgNS44ODRhLjg1MS44NTEgMCAwIDAtMS4yMDQgMGwtNS40MTggNS40MjMtMi40MDktMi40MWEuODUxLjg1MSAwIDEgMC0xLjIwNCAxLjIwNWwzLjAxIDMuMDEyYS44NDkuODQ5IDAgMCAwIDEuMjA1IDBsNi4wMi02LjAyNWEuODUyLjg1MiAwIDAgMCAwLTEuMjA1WiIgZmlsbD0iI2ZmZiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuMDI1IDQuMTI5KSIgZD0iTTAgMGgxMC43MzV2MTAuNzQySDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Il=Object.defineProperty,ul=Object.getOwnPropertySymbols,Iu=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,Ks=(Ue,he,Pe)=>he in Ue?Il(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,ws=(Ue,he)=>{for(var Pe in he||(he={}))Iu.call(he,Pe)&&Ks(Ue,Pe,he[Pe]);if(ul)for(var Pe of ul(he))cl.call(he,Pe)&&Ks(Ue,Pe,he[Pe]);return Ue};const Qs=Ue=>g.createElement("svg",ws({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#brush-add_svg__a)",fill:"#fff"},g.createElement("path",{d:"M5.07 10.37 4.02 9.22l-.46-.46a1.42 1.42 0 0 1 0-1.89l.41-.41 3.84-3.73L10.34.22a.71.71 0 0 1 1.07 0c.34.31.67.63 1 .93a.66.66 0 0 1 .22.69c-.1.43-.19.87-.28 1.34l.69-.13c.25 0 .5-.1.75-.12a.82.82 0 0 1 .69.26l4.47 4.37.45.44a.87.87 0 0 1 0 1.3l-2 2-.08.08-1.34-.79 1.89-1.95-.33-.33-3.78-3.71a.3.3 0 0 0-.32-.09l-1.89.37A.74.74 0 0 1 10.7 4c.06-.33.12-.65.19-1s.1-.58.18-.85a.31.31 0 0 0-.17-.4L6.7 5.94l5 4.85c-.3.21-.61.4-.88.62a4.76 4.76 0 0 0-1.75 3 .88.88 0 0 1-.25.44l-2.94 3.37a3.42 3.42 0 0 1-5 .22 3 3 0 0 1-.83-2 3.39 3.39 0 0 1 1.33-2.88l3.32-2.89.37-.3Z"}),g.createElement("path",{d:"M17.88 13.99a4.06 4.06 0 0 0-4.46-2.68 4 4 0 0 0 .61 7.9c.22 0 .44 0 .65-.06a4 4 0 0 0 3.2-5.16Zm-2.31 2.13h-.62v.58a.94.94 0 0 1-1.87 0v-.58h-.58a.94.94 0 0 1 0-1.87h.58v-.56a.94.94 0 1 1 1.87 0v.53h.62a.94.94 0 0 1 0 1.87v.03Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"brush-add_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h19.7v19.44H0z"}))));var zl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik01LjA3IDEwLjM3IDQuMDIgOS4yMmwtLjQ2LS40NmExLjQyIDEuNDIgMCAwIDEgMC0xLjg5bC40MS0uNDEgMy44NC0zLjczTDEwLjM0LjIyYS43MS43MSAwIDAgMSAxLjA3IDBjLjM0LjMxLjY3LjYzIDEgLjkzYS42Ni42NiAwIDAgMSAuMjIuNjljLS4xLjQzLS4xOS44Ny0uMjggMS4zNGwuNjktLjEzYy4yNSAwIC41LS4xLjc1LS4xMmEuODIuODIgMCAwIDEgLjY5LjI2bDQuNDcgNC4zNy40NS40NGEuODcuODcgMCAwIDEgMCAxLjNsLTIgMi0uMDguMDgtMS4zNC0uNzkgMS44OS0xLjk1LS4zMy0uMzMtMy43OC0zLjcxYS4zLjMgMCAwIDAtLjMyLS4wOWwtMS44OS4zN0EuNzQuNzQgMCAwIDEgMTAuNyA0Yy4wNi0uMzMuMTItLjY1LjE5LTFzLjEtLjU4LjE4LS44NWEuMzEuMzEgMCAwIDAtLjE3LS40TDYuNyA1Ljk0bDUgNC44NWMtLjMuMjEtLjYxLjQtLjg4LjYyYTQuNzYgNC43NiAwIDAgMC0xLjc1IDMgLjg4Ljg4IDAgMCAxLS4yNS40NGwtMi45NCAzLjM3YTMuNDIgMy40MiAwIDAgMS01IC4yMiAzIDMgMCAwIDEtLjgzLTIgMy4zOSAzLjM5IDAgMCAxIDEuMzMtMi44OGwzLjMyLTIuODkuMzctLjNaIi8+PHBhdGggZD0iTTE3Ljg4IDEzLjk5YTQuMDYgNC4wNiAwIDAgMC00LjQ2LTIuNjggNCA0IDAgMCAwIC42MSA3LjljLjIyIDAgLjQ0IDAgLjY1LS4wNmE0IDQgMCAwIDAgMy4yLTUuMTZabS0yLjMxIDIuMTNoLS42MnYuNThhLjk0Ljk0IDAgMCAxLTEuODcgMHYtLjU4aC0uNThhLjk0Ljk0IDAgMCAxIDAtMS44N2guNTh2LS41NmEuOTQuOTQgMCAxIDEgMS44NyAwdi41M2guNjJhLjk0Ljk0IDAgMCAxIDAgMS44N3YuMDNaIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgxOS43djE5LjQ0SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",fu=Object.defineProperty,rs=Object.getOwnPropertySymbols,Ms=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,js=(Ue,he,Pe)=>he in Ue?fu(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,nu=(Ue,he)=>{for(var Pe in he||(he={}))Ms.call(he,Pe)&&js(Ue,Pe,he[Pe]);if(rs)for(var Pe of rs(he))Bs.call(he,Pe)&&js(Ue,Pe,he[Pe]);return Ue};const Vl=Ue=>g.createElement("svg",nu({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#brush-erase_svg__a)",fill:"#fff"},g.createElement("path",{d:"m6.47 5.69 4.8 4.7c-.29.2-.59.38-.85.59a4.73 4.73 0 0 0-1.74 3.05.45.45 0 0 1-.1.21l-2.89 3.34a3.24 3.24 0 0 1-2.47 1.2 3 3 0 0 1-3.23-3.1 3.34 3.34 0 0 1 1.39-2.7c1.16-.95 2.29-1.93 3.44-2.89l.14-.1-.4-.38-1-1a1.38 1.38 0 0 1 0-2.07L7.7 2.48c.76-.7 1.52-1.5 2.29-2.24a.69.69 0 0 1 1.05 0l1 .91a.59.59 0 0 1 .18.63c-.09.43-.18.87-.27 1.33l1.27-.25a.88.88 0 0 1 .84.24l2.71 2.68 2 1.92a.9.9 0 0 1 .29.8.66.66 0 0 1-.16.35c-.7.7-1.41 1.39-2.12 2.08l-1.28-.77 1.84-1.79V8.3l-4-3.88a.29.29 0 0 0-.28-.07l-1.84.43a.86.86 0 0 1-.8-.26.571.571 0 0 1-.13-.56c.12-.59.24-1.17.37-1.76 0-.19 0-.33-.18-.42L6.47 5.69Z"}),g.createElement("path",{d:"M9.69 14.71a3.88 3.88 0 1 1 3.88 3.8 3.83 3.83 0 0 1-3.88-3.8Zm3.87 1h1.57a1 1 0 0 0 1-1 1 1 0 0 0-1-1.06h-3.14a1 1 0 0 0 0 2l1.57.06Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"brush-erase_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h19.03v18.77H0z"}))));var Ps="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Im02LjQ3IDUuNjkgNC44IDQuN2MtLjI5LjItLjU5LjM4LS44NS41OWE0LjczIDQuNzMgMCAwIDAtMS43NCAzLjA1LjQ1LjQ1IDAgMCAxLS4xLjIxbC0yLjg5IDMuMzRhMy4yNCAzLjI0IDAgMCAxLTIuNDcgMS4yIDMgMyAwIDAgMS0zLjIzLTMuMSAzLjM0IDMuMzQgMCAwIDEgMS4zOS0yLjdjMS4xNi0uOTUgMi4yOS0xLjkzIDMuNDQtMi44OWwuMTQtLjEtLjQtLjM4LTEtMWExLjM4IDEuMzggMCAwIDEgMC0yLjA3TDcuNyAyLjQ4Yy43Ni0uNyAxLjUyLTEuNSAyLjI5LTIuMjRhLjY5LjY5IDAgMCAxIDEuMDUgMGwxIC45MWEuNTkuNTkgMCAwIDEgLjE4LjYzYy0uMDkuNDMtLjE4Ljg3LS4yNyAxLjMzbDEuMjctLjI1YS44OC44OCAwIDAgMSAuODQuMjRsMi43MSAyLjY4IDIgMS45MmEuOS45IDAgMCAxIC4yOS44LjY2LjY2IDAgMCAxLS4xNi4zNWMtLjcuNy0xLjQxIDEuMzktMi4xMiAyLjA4bC0xLjI4LS43NyAxLjg0LTEuNzlWOC4zbC00LTMuODhhLjI5LjI5IDAgMCAwLS4yOC0uMDdsLTEuODQuNDNhLjg2Ljg2IDAgMCAxLS44LS4yNi41NzEuNTcxIDAgMCAxLS4xMy0uNTZjLjEyLS41OS4yNC0xLjE3LjM3LTEuNzYgMC0uMTkgMC0uMzMtLjE4LS40Mkw2LjQ3IDUuNjlaIi8+PHBhdGggZD0iTTkuNjkgMTQuNzFhMy44OCAzLjg4IDAgMSAxIDMuODggMy44IDMuODMgMy44MyAwIDAgMS0zLjg4LTMuOFptMy44NyAxaDEuNTdhMSAxIDAgMCAwIDEtMSAxIDEgMCAwIDAtMS0xLjA2aC0zLjE0YTEgMSAwIDAgMCAwIDJsMS41Ny4wNloiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE5LjAzdjE4Ljc3SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Ft=Object.defineProperty,So=Object.getOwnPropertySymbols,$s=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable,dl=(Ue,he,Pe)=>he in Ue?Ft(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,sa=(Ue,he)=>{for(var Pe in he||(he={}))$s.call(he,Pe)&&dl(Ue,Pe,he[Pe]);if(So)for(var Pe of So(he))zo.call(he,Pe)&&dl(Ue,Pe,he[Pe]);return Ue};const fl=Ue=>g.createElement("svg",sa({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ue),g.createElement("defs",null,g.createElement("style",null,".edge-stitch_svg__cls-1{fill:#fcfefe}.edge-stitch_svg__cls-3{fill:#fff}")),g.createElement("path",{className:"edge-stitch_svg__cls-1",d:"M22.25 18.52a.82.82 0 0 0 .57.15h4.3a1.44 1.44 0 1 0 0-2.87h-.86L31 11.06a1.42 1.42 0 0 0-2-2l-4.73 4.74v-.86a1.44 1.44 0 1 0-2.87 0v4.3a.87.87 0 0 0 .14.57 1.67 1.67 0 0 0 .71.71ZM9.91 31.58a1.31 1.31 0 0 0 1-.43l4.74-4.74v.86a1.44 1.44 0 1 0 2.87 0V23a.82.82 0 0 0-.15-.57 1.7 1.7 0 0 0-.71-.72.85.85 0 0 0-.58-.15h-4.3a1.44 1.44 0 1 0 0 2.87h.86l-4.73 4.71a1.38 1.38 0 0 0 0 2 1.31 1.31 0 0 0 1 .44Z"}),g.createElement("path",{style:{fill:"none",stroke:"#fff",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3},d:"m14.4 14.51 11.14 11.14"}),g.createElement("path",{className:"edge-stitch_svg__cls-3",d:"M7.51 5.7a3.41 3.41 0 0 1 .74.45c.85.8 1.67 1.64 2.49 2.47a1.19 1.19 0 1 1-1.69 1.67Q7.77 9 6.53 7.77a1.13 1.13 0 0 1-.26-1.33 1.33 1.33 0 0 1 1.24-.74ZM19.85 10.84a5.11 5.11 0 0 1-.92-.75.93.93 0 0 1 .07-1.24c.94-1 1.89-1.95 2.88-2.87a1.07 1.07 0 0 1 1.51.09 1.09 1.09 0 0 1 .11 1.56c-.91 1-1.87 1.9-2.83 2.83a2.88 2.88 0 0 1-.82.38ZM7.26 23.44a5 5 0 0 1-.92-.73.92.92 0 0 1 .06-1.24Q7.81 20 9.31 18.56a1.08 1.08 0 0 1 1.51.14 1.1 1.1 0 0 1 .09 1.52C10 21.21 9 22.15 8 23.09a3.07 3.07 0 0 1-.74.35ZM16.16 5.64v1.67A1.24 1.24 0 0 1 15 8.59a1.22 1.22 0 0 1-1.19-1.28v-3.4A1.22 1.22 0 0 1 15 2.63a1.23 1.23 0 0 1 1.19 1.29c-.01.57-.03 1.15-.03 1.72ZM6 15.73H4.38a1.2 1.2 0 1 1 0-2.4h3.34a1.2 1.2 0 1 1 0 2.4c-.58.02-1.15 0-1.72 0Z"}));var ru="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmY2ZlZmV9LmNscy0ze2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yMi4yNSAxOC41MmEuODIuODIgMCAwIDAgLjU3LjE1aDQuM2ExLjQ0IDEuNDQgMCAxIDAgMC0yLjg3aC0uODZMMzEgMTEuMDZhMS40MiAxLjQyIDAgMCAwLTItMmwtNC43MyA0Ljc0di0uODZhMS40NCAxLjQ0IDAgMSAwLTIuODcgMHY0LjNhLjg3Ljg3IDAgMCAwIC4xNC41NyAxLjY3IDEuNjcgMCAwIDAgLjcxLjcxWk05LjkxIDMxLjU4YTEuMzEgMS4zMSAwIDAgMCAxLS40M2w0Ljc0LTQuNzR2Ljg2YTEuNDQgMS40NCAwIDEgMCAyLjg3IDBWMjNhLjgyLjgyIDAgMCAwLS4xNS0uNTcgMS43IDEuNyAwIDAgMC0uNzEtLjcyLjg1Ljg1IDAgMCAwLS41OC0uMTVoLTQuM2ExLjQ0IDEuNDQgMCAxIDAgMCAyLjg3aC44NmwtNC43MyA0LjcxYTEuMzggMS4zOCAwIDAgMCAwIDIgMS4zMSAxLjMxIDAgMCAwIDEgLjQ0WiIvPjxwYXRoIHN0eWxlPSJmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjNweCIgZD0ibTE0LjQgMTQuNTEgMTEuMTQgMTEuMTQiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik03LjUxIDUuN2EzLjQxIDMuNDEgMCAwIDEgLjc0LjQ1Yy44NS44IDEuNjcgMS42NCAyLjQ5IDIuNDdhMS4xOSAxLjE5IDAgMSAxLTEuNjkgMS42N1E3Ljc3IDkgNi41MyA3Ljc3YTEuMTMgMS4xMyAwIDAgMS0uMjYtMS4zMyAxLjMzIDEuMzMgMCAwIDEgMS4yNC0uNzRaTTE5Ljg1IDEwLjg0YTUuMTEgNS4xMSAwIDAgMS0uOTItLjc1LjkzLjkzIDAgMCAxIC4wNy0xLjI0Yy45NC0xIDEuODktMS45NSAyLjg4LTIuODdhMS4wNyAxLjA3IDAgMCAxIDEuNTEuMDkgMS4wOSAxLjA5IDAgMCAxIC4xMSAxLjU2Yy0uOTEgMS0xLjg3IDEuOS0yLjgzIDIuODNhMi44OCAyLjg4IDAgMCAxLS44Mi4zOFpNNy4yNiAyMy40NGE1IDUgMCAwIDEtLjkyLS43My45Mi45MiAwIDAgMSAuMDYtMS4yNFE3LjgxIDIwIDkuMzEgMTguNTZhMS4wOCAxLjA4IDAgMCAxIDEuNTEuMTQgMS4xIDEuMSAwIDAgMSAuMDkgMS41MkMxMCAyMS4yMSA5IDIyLjE1IDggMjMuMDlhMy4wNyAzLjA3IDAgMCAxLS43NC4zNVpNMTYuMTYgNS42NHYxLjY3QTEuMjQgMS4yNCAwIDAgMSAxNSA4LjU5YTEuMjIgMS4yMiAwIDAgMS0xLjE5LTEuMjh2LTMuNEExLjIyIDEuMjIgMCAwIDEgMTUgMi42M2ExLjIzIDEuMjMgMCAwIDEgMS4xOSAxLjI5Yy0uMDEuNTctLjAzIDEuMTUtLjAzIDEuNzJaTTYgMTUuNzNINC4zOGExLjIgMS4yIDAgMSAxIDAtMi40aDMuMzRhMS4yIDEuMiAwIDEgMSAwIDIuNGMtLjU4LjAyLTEuMTUgMC0xLjcyIDBaIi8+PC9zdmc+",Xs=Object.defineProperty,Fl=Object.getOwnPropertySymbols,Gl=Object.prototype.hasOwnProperty,Io=Object.prototype.propertyIsEnumerable,bi=(Ue,he,Pe)=>he in Ue?Xs(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,fc=(Ue,he)=>{for(var Pe in he||(he={}))Gl.call(he,Pe)&&bi(Ue,Pe,he[Pe]);if(Fl)for(var Pe of Fl(he))Io.call(he,Pe)&&bi(Ue,Pe,he[Pe]);return Ue};const ec=Ue=>g.createElement("svg",fc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ue),g.createElement("defs",null,g.createElement("style",null,".magic-box_svg__cls-1,.magic-box_svg__cls-3{fill:none}.magic-box_svg__cls-2{fill:#fcfefe}.magic-box_svg__cls-3{stroke:#fcfeff;stroke-linecap:round;stroke-miterlimit:10;stroke-width:2px}")),g.createElement("path",{className:"magic-box_svg__cls-1",d:"M5.28 16.36V6.08a1 1 0 0 1 1-1h22.2a1 1 0 0 1 1 1v21.67a1 1 0 0 1-1 .95h-10v2.39H31.4V2.74H3.17v13.62ZM3.06 2.74h.11v13.62h-.11z"}),g.createElement("path",{className:"magic-box_svg__cls-2",d:"M7.28 7.12H27.4V26.7h-8.91v2h10a1 1 0 0 0 1-.95V6.08a1 1 0 0 0-1-1H6.24a1 1 0 0 0-1 1v10.28h2Z"}),g.createElement("path",{className:"magic-box_svg__cls-2",d:"M4.82 28.43a.87.87 0 0 0 .11 1.19 1 1 0 0 0 1.19.09c3.29-2.56 4.66-2.56 8 0a.92.92 0 0 0 1.28-1.28c-2.56-3.29-2.56-4.66 0-8a.92.92 0 0 0-1.28-1.28c-3.29 2.56-4.66 2.56-8 0a1.37 1.37 0 0 0-.55-.15.83.83 0 0 0-.64.27.87.87 0 0 0-.09 1.19c2.63 3.31 2.63 4.59-.02 7.97Z"}),g.createElement("path",{className:"magic-box_svg__cls-3",d:"m19.24 10.15 5.75-.07M24.99 15.91v-5.83M17.97 17.19l7.02-7.11"}));var no="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMSwuY2xzLTN7ZmlsbDpub25lfS5jbHMtMntmaWxsOiNmY2ZlZmV9LmNscy0ze3N0cm9rZTojZmNmZWZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEwO3N0cm9rZS13aWR0aDoycHh9PC9zdHlsZT48L2RlZnM+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNS4yOCAxNi4zNlY2LjA4YTEgMSAwIDAgMSAxLTFoMjIuMmExIDEgMCAwIDEgMSAxdjIxLjY3YTEgMSAwIDAgMS0xIC45NWgtMTB2Mi4zOUgzMS40VjIuNzRIMy4xN3YxMy42MlpNMy4wNiAyLjc0aC4xMXYxMy42MmgtLjExeiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTcuMjggNy4xMkgyNy40VjI2LjdoLTguOTF2MmgxMGExIDEgMCAwIDAgMS0uOTVWNi4wOGExIDEgMCAwIDAtMS0xSDYuMjRhMSAxIDAgMCAwLTEgMXYxMC4yOGgyWiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTQuODIgMjguNDNhLjg3Ljg3IDAgMCAwIC4xMSAxLjE5IDEgMSAwIDAgMCAxLjE5LjA5YzMuMjktMi41NiA0LjY2LTIuNTYgOCAwYS45Mi45MiAwIDAgMCAxLjI4LTEuMjhjLTIuNTYtMy4yOS0yLjU2LTQuNjYgMC04YS45Mi45MiAwIDAgMC0xLjI4LTEuMjhjLTMuMjkgMi41Ni00LjY2IDIuNTYtOCAwYTEuMzcgMS4zNyAwIDAgMC0uNTUtLjE1LjgzLjgzIDAgMCAwLS42NC4yNy44Ny44NyAwIDAgMC0uMDkgMS4xOWMyLjYzIDMuMzEgMi42MyA0LjU5LS4wMiA3Ljk3WiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0ibTE5LjI0IDEwLjE1IDUuNzUtLjA3TTI0Ljk5IDE1Ljkxdi01LjgzTTE3Ljk3IDE3LjE5bDcuMDItNy4xMSIvPjwvc3ZnPg==",Ji=Object.defineProperty,Zs=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,au=Object.prototype.propertyIsEnumerable,_i=(Ue,he,Pe)=>he in Ue?Ji(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Al=(Ue,he)=>{for(var Pe in he||(he={}))Na.call(he,Pe)&&_i(Ue,Pe,he[Pe]);if(Zs)for(var Pe of Zs(he))au.call(he,Pe)&&_i(Ue,Pe,he[Pe]);return Ue};const vl=Ue=>g.createElement("svg",Al({id:"magic-brush_svg__\\u56FE\\u5C42_1","data-name":"\\u56FE\\u5C42 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ue),g.createElement("defs",null,g.createElement("style",null,".magic-brush_svg__cls-1{fill:#fff}")),g.createElement("path",{className:"magic-brush_svg__cls-1",d:"M15.22 14.73 21 9l10.1 10.1-5.8 5.76ZM14.33 15.43l10.34 10.36c-.87.86-1.78 1.78-2.71 2.68-.09.08-.37 0-.53-.07-1.31-.58-2.63-1.16-3.92-1.78a.74.74 0 0 0-1 .17q-1.75 1.82-3.57 3.56a2.14 2.14 0 0 1-2.33.51 2.08 2.08 0 0 1-1.42-1.69 2.2 2.2 0 0 1 .67-2.05C11 26 12.14 24.8 13.32 23.66a.74.74 0 0 0 .19-1c-.61-1.27-1.16-2.57-1.77-3.85a.67.67 0 0 1 .15-.91c.84-.81 1.63-1.64 2.44-2.47Zm-1.82 13.18a1 1 0 1 0-2 .05 1 1 0 0 0 2-.05Z"}),g.createElement("path",{d:"M3.2 12.66a.89.89 0 0 0 .11 1.23 1 1 0 0 0 1.23.1c3.4-2.65 4.82-2.65 8.27 0a.95.95 0 0 0 1.32-1.33c-2.64-3.4-2.64-4.81 0-8.26A.9.9 0 0 0 14 3.17a.89.89 0 0 0-1.23-.1C9.41 5.72 8 5.72 4.54 3.07A1.27 1.27 0 0 0 4 2.89a.84.84 0 0 0-.66.28.9.9 0 0 0-.12 1.23c2.72 3.45 2.72 4.77-.02 8.26Z",style:{fill:"#fcfefe"}}));var vu="data:image/svg+xml;base64,PHN2ZyBpZD0i5Zu+5bGCXzEiIGRhdGEtbmFtZT0i5Zu+5bGCIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM0LjAyIDM0LjAyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0xNS4yMiAxNC43MyAyMSA5bDEwLjEgMTAuMS01LjggNS43NlpNMTQuMzMgMTUuNDNsMTAuMzQgMTAuMzZjLS44Ny44Ni0xLjc4IDEuNzgtMi43MSAyLjY4LS4wOS4wOC0uMzcgMC0uNTMtLjA3LTEuMzEtLjU4LTIuNjMtMS4xNi0zLjkyLTEuNzhhLjc0Ljc0IDAgMCAwLTEgLjE3cS0xLjc1IDEuODItMy41NyAzLjU2YTIuMTQgMi4xNCAwIDAgMS0yLjMzLjUxIDIuMDggMi4wOCAwIDAgMS0xLjQyLTEuNjkgMi4yIDIuMiAwIDAgMSAuNjctMi4wNUMxMSAyNiAxMi4xNCAyNC44IDEzLjMyIDIzLjY2YS43NC43NCAwIDAgMCAuMTktMWMtLjYxLTEuMjctMS4xNi0yLjU3LTEuNzctMy44NWEuNjcuNjcgMCAwIDEgLjE1LS45MWMuODQtLjgxIDEuNjMtMS42NCAyLjQ0LTIuNDdabS0xLjgyIDEzLjE4YTEgMSAwIDEgMC0yIC4wNSAxIDEgMCAwIDAgMi0uMDVaIi8+PHBhdGggZD0iTTMuMiAxMi42NmEuODkuODkgMCAwIDAgLjExIDEuMjMgMSAxIDAgMCAwIDEuMjMuMWMzLjQtMi42NSA0LjgyLTIuNjUgOC4yNyAwYS45NS45NSAwIDAgMCAxLjMyLTEuMzNjLTIuNjQtMy40LTIuNjQtNC44MSAwLTguMjZBLjkuOSAwIDAgMCAxNCAzLjE3YS44OS44OSAwIDAgMC0xLjIzLS4xQzkuNDEgNS43MiA4IDUuNzIgNC41NCAzLjA3QTEuMjcgMS4yNyAwIDAgMCA0IDIuODlhLjg0Ljg0IDAgMCAwLS42Ni4yOC45LjkgMCAwIDAtLjEyIDEuMjNjMi43MiAzLjQ1IDIuNzIgNC43Ny0uMDIgOC4yNloiIHN0eWxlPSJmaWxsOiNmY2ZlZmUiLz48L3N2Zz4=",Bl=Object.defineProperty,tc=Object.getOwnPropertySymbols,Zu=Object.prototype.hasOwnProperty,Lo=Object.prototype.propertyIsEnumerable,Au=(Ue,he,Pe)=>he in Ue?Bl(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Kl=(Ue,he)=>{for(var Pe in he||(he={}))Zu.call(he,Pe)&&Au(Ue,Pe,he[Pe]);if(tc)for(var Pe of tc(he))Lo.call(he,Pe)&&Au(Ue,Pe,he[Pe]);return Ue};const vs=Ue=>g.createElement("svg",Kl({id:"magic-click_svg__\\u56FE\\u5C42_1","data-name":"\\u56FE\\u5C42 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ue),g.createElement("defs",null,g.createElement("style",null,".magic-click_svg__cls-1{fill:#fff}")),g.createElement("path",{className:"magic-click_svg__cls-1",d:"M30.88 21.21a1.6 1.6 0 0 1-1 1.35c-1.54.75-3.08 1.51-4.59 2.31a2.18 2.18 0 0 0-.87.86c-.79 1.49-1.53 3-2.27 4.53a1.49 1.49 0 0 1-2.89-.18Q17.2 23.8 15.1 17.52a1.49 1.49 0 0 1 2-2l12.55 4.19a1.56 1.56 0 0 1 1.23 1.5Zm-5.25.23-6.94-2.32 2.32 7c.37-.74.71-1.3.95-1.9a3 3 0 0 1 1.8-1.79c.6-.29 1.15-.62 1.87-.99ZM7.34 6.09a4.23 4.23 0 0 1 .89.54l3 3a1.45 1.45 0 1 1-2 2c-1-1-2.06-2-3.07-3.07A1.37 1.37 0 0 1 5.83 7a1.6 1.6 0 0 1 1.51-.91ZM22.35 12.35a6.61 6.61 0 0 1-1.12-.92 1.14 1.14 0 0 1 .09-1.51c1.14-1.19 2.3-2.37 3.5-3.49a1.31 1.31 0 0 1 1.84.1 1.34 1.34 0 0 1 .14 1.9c-1.11 1.19-2.28 2.32-3.45 3.45a3.92 3.92 0 0 1-1 .47ZM7 27.68a6 6 0 0 1-1.13-.9 1.12 1.12 0 0 1 .13-1.5c1.15-1.21 2.32-2.4 3.55-3.54a1.32 1.32 0 0 1 1.84.17 1.33 1.33 0 0 1 .1 1.85C10.35 25 9.16 26.11 8 27.25a3.75 3.75 0 0 1-1 .43ZM17.87 6v2A1.46 1.46 0 1 1 15 8V3.87a1.49 1.49 0 0 1 1.46-1.56 1.51 1.51 0 0 1 1.45 1.57c-.03.74-.04 1.44-.04 2.12ZM5.48 18.3h-2a1.5 1.5 0 0 1-1.55-1.5 1.48 1.48 0 0 1 1.59-1.42h4.07a1.49 1.49 0 0 1 1.59 1.49 1.5 1.5 0 0 1-1.6 1.42c-.69.02-1.4.01-2.1.01Z"}),g.createElement("path",{className:"magic-click_svg__cls-1",d:"M25.63 21.44c-.72.37-1.27.7-1.87.94A3 3 0 0 0 22 24.17c-.24.6-.58 1.16-.95 1.9l-2.32-6.95Z"}));var Ol="data:image/svg+xml;base64,PHN2ZyBpZD0i5Zu+5bGCXzEiIGRhdGEtbmFtZT0i5Zu+5bGCIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDM0LjAyIDM0LjAyIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZn08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0zMC44OCAyMS4yMWExLjYgMS42IDAgMCAxLTEgMS4zNWMtMS41NC43NS0zLjA4IDEuNTEtNC41OSAyLjMxYTIuMTggMi4xOCAwIDAgMC0uODcuODZjLS43OSAxLjQ5LTEuNTMgMy0yLjI3IDQuNTNhMS40OSAxLjQ5IDAgMCAxLTIuODktLjE4UTE3LjIgMjMuOCAxNS4xIDE3LjUyYTEuNDkgMS40OSAwIDAgMSAyLTJsMTIuNTUgNC4xOWExLjU2IDEuNTYgMCAwIDEgMS4yMyAxLjVabS01LjI1LjIzLTYuOTQtMi4zMiAyLjMyIDdjLjM3LS43NC43MS0xLjMuOTUtMS45YTMgMyAwIDAgMSAxLjgtMS43OWMuNi0uMjkgMS4xNS0uNjIgMS44Ny0uOTlaTTcuMzQgNi4wOWE0LjIzIDQuMjMgMCAwIDEgLjg5LjU0bDMgM2ExLjQ1IDEuNDUgMCAxIDEtMiAyYy0xLTEtMi4wNi0yLTMuMDctMy4wN0ExLjM3IDEuMzcgMCAwIDEgNS44MyA3YTEuNiAxLjYgMCAwIDEgMS41MS0uOTFaTTIyLjM1IDEyLjM1YTYuNjEgNi42MSAwIDAgMS0xLjEyLS45MiAxLjE0IDEuMTQgMCAwIDEgLjA5LTEuNTFjMS4xNC0xLjE5IDIuMy0yLjM3IDMuNS0zLjQ5YTEuMzEgMS4zMSAwIDAgMSAxLjg0LjEgMS4zNCAxLjM0IDAgMCAxIC4xNCAxLjljLTEuMTEgMS4xOS0yLjI4IDIuMzItMy40NSAzLjQ1YTMuOTIgMy45MiAwIDAgMS0xIC40N1pNNyAyNy42OGE2IDYgMCAwIDEtMS4xMy0uOSAxLjEyIDEuMTIgMCAwIDEgLjEzLTEuNWMxLjE1LTEuMjEgMi4zMi0yLjQgMy41NS0zLjU0YTEuMzIgMS4zMiAwIDAgMSAxLjg0LjE3IDEuMzMgMS4zMyAwIDAgMSAuMSAxLjg1QzEwLjM1IDI1IDkuMTYgMjYuMTEgOCAyNy4yNWEzLjc1IDMuNzUgMCAwIDEtMSAuNDNaTTE3Ljg3IDZ2MkExLjQ2IDEuNDYgMCAxIDEgMTUgOFYzLjg3YTEuNDkgMS40OSAwIDAgMSAxLjQ2LTEuNTYgMS41MSAxLjUxIDAgMCAxIDEuNDUgMS41N2MtLjAzLjc0LS4wNCAxLjQ0LS4wNCAyLjEyWk01LjQ4IDE4LjNoLTJhMS41IDEuNSAwIDAgMS0xLjU1LTEuNSAxLjQ4IDEuNDggMCAwIDEgMS41OS0xLjQyaDQuMDdhMS40OSAxLjQ5IDAgMCAxIDEuNTkgMS40OSAxLjUgMS41IDAgMCAxLTEuNiAxLjQyYy0uNjkuMDItMS40LjAxLTIuMS4wMVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yNS42MyAyMS40NGMtLjcyLjM3LTEuMjcuNy0xLjg3Ljk0QTMgMyAwIDAgMCAyMiAyNC4xN2MtLjI0LjYtLjU4IDEuMTYtLjk1IDEuOWwtMi4zMi02Ljk1WiIvPjwvc3ZnPg==",gl=Object.defineProperty,kt=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,$i=(Ue,he,Pe)=>he in Ue?gl(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,$o=(Ue,he)=>{for(var Pe in he||(he={}))Di.call(he,Pe)&&$i(Ue,Pe,he[Pe]);if(kt)for(var Pe of kt(he))Ql.call(he,Pe)&&$i(Ue,Pe,he[Pe]);return Ue};const uo=Ue=>g.createElement("svg",$o({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#pen-add_svg__a)",fill:"#fff"},g.createElement("path",{d:"M16.7 10c0-.1 0-.1.1-.2v-.2c0-.1 0-.1-.1-.1l-3.2-3.2-3.1-3.1v-.1H10.1c-.1.2-.3.3-.6.3-1.7.7-3.4 1.3-5.2 1.9-.1 0-.1.1-.2.1s0 .1 0 .2c-.2.6-.4 1.2-.6 1.9C3 9.2 2.5 11 2 12.7L.3 18.4c-.1.3-.2.7-.3 1l.2-.1L7 12.4l.1-.1V12c-.1-.2-.2-.5-.2-.8 0-.3 0-.6.1-.8.1-.3.3-.5.5-.7.2-.2.4-.3.7-.4H9c.3 0 .5.1.8.3.2.1.4.3.6.6.9-.8 2-1.2 3.3-1.2 1.1 0 2.2.4 3 1Z"}),g.createElement("path",{d:"M8.6 13.2h-.3c-.2-.1-.3-.2-.5-.3L.7 20l4-1.2 5-1.4c-.7-.9-1.2-2-1.2-3.3 0-.3.1-.6.1-.9ZM11.3 2.6 16.7 8l.8.8L20 7.2 12.8 0l-.1.1c-.5.8-1 1.5-1.5 2.2v.2l.1.1c-.1 0-.1 0 0 0ZM16.4 11c-.7-.6-1.7-1.1-2.7-1.1-1.2 0-2.3.5-3 1.3-.4.5-.8 1-.9 1.7-.1.4-.2.7-.2 1.1 0 1.2.5 2.2 1.3 3 .7.7 1.7 1.2 2.9 1.2 2.3 0 4.1-1.9 4.1-4.1-.1-1.2-.7-2.3-1.5-3.1Zm-1.1 4.1h-.7v.8c0 .6-.4 1-1 1s-1-.4-1-1v-.8H12c-.6 0-1-.4-1-1s.4-1 1-1h.6v-.5c0-.6.4-1 1-1s1 .4 1 1v.5h.7c.6 0 1 .4 1 1s-.4 1-1 1Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"pen-add_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"}))));var Uu="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Ik0xNi43IDEwYzAtLjEgMC0uMS4xLS4ydi0uMmMwLS4xIDAtLjEtLjEtLjFsLTMuMi0zLjItMy4xLTMuMXYtLjFIMTAuMWMtLjEuMi0uMy4zLS42LjMtMS43LjctMy40IDEuMy01LjIgMS45LS4xIDAtLjEuMS0uMi4xczAgLjEgMCAuMmMtLjIuNi0uNCAxLjItLjYgMS45QzMgOS4yIDIuNSAxMSAyIDEyLjdMLjMgMTguNGMtLjEuMy0uMi43LS4zIDFsLjItLjFMNyAxMi40bC4xLS4xVjEyYy0uMS0uMi0uMi0uNS0uMi0uOCAwLS4zIDAtLjYuMS0uOC4xLS4zLjMtLjUuNS0uNy4yLS4yLjQtLjMuNy0uNEg5Yy4zIDAgLjUuMS44LjMuMi4xLjQuMy42LjYuOS0uOCAyLTEuMiAzLjMtMS4yIDEuMSAwIDIuMi40IDMgMVoiLz48cGF0aCBkPSJNOC42IDEzLjJoLS4zYy0uMi0uMS0uMy0uMi0uNS0uM0wuNyAyMGw0LTEuMiA1LTEuNGMtLjctLjktMS4yLTItMS4yLTMuMyAwLS4zLjEtLjYuMS0uOVpNMTEuMyAyLjYgMTYuNyA4bC44LjhMMjAgNy4yIDEyLjggMGwtLjEuMWMtLjUuOC0xIDEuNS0xLjUgMi4ydi4ybC4xLjFjLS4xIDAtLjEgMCAwIDBaTTE2LjQgMTFjLS43LS42LTEuNy0xLjEtMi43LTEuMS0xLjIgMC0yLjMuNS0zIDEuMy0uNC41LS44IDEtLjkgMS43LS4xLjQtLjIuNy0uMiAxLjEgMCAxLjIuNSAyLjIgMS4zIDMgLjcuNyAxLjcgMS4yIDIuOSAxLjIgMi4zIDAgNC4xLTEuOSA0LjEtNC4xLS4xLTEuMi0uNy0yLjMtMS41LTMuMVptLTEuMSA0LjFoLS43di44YzAgLjYtLjQgMS0xIDFzLTEtLjQtMS0xdi0uOEgxMmMtLjYgMC0xLS40LTEtMXMuNC0xIDEtMWguNnYtLjVjMC0uNi40LTEgMS0xczEgLjQgMSAxdi41aC43Yy42IDAgMSAuNCAxIDFzLS40IDEtMSAxWiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMjB2MjBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",gu=Object.defineProperty,ss=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,xi=(Ue,he,Pe)=>he in Ue?gu(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,qi=(Ue,he)=>{for(var Pe in he||(he={}))Dl.call(he,Pe)&&xi(Ue,Pe,he[Pe]);if(ss)for(var Pe of ss(he))Mi.call(he,Pe)&&xi(Ue,Pe,he[Pe]);return Ue};const as=Ue=>g.createElement("svg",qi({width:16,height:16,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#pen-erase_svg__a)",fill:"#fff"},g.createElement("path",{d:"m16.74 10 .07-.2a.22.22 0 0 0 0-.16.22.22 0 0 0-.09-.12l-3.14-3.16-3.07-3.08a.18.18 0 0 0 0-.07H10.29l-.72.26-5.23 1.82a.42.42 0 0 0-.18.11.35.35 0 0 0-.1.19c-.17.63-.36 1.25-.55 1.88C3 9.21 2.51 11 2 12.67L.3 18.34c-.09.31-.18.66-.3 1l.16-.14L7 12.42l.06-.06a.16.16 0 0 0 0-.09.17.17 0 0 0 0-.1v-.08a1.87 1.87 0 0 1-.06-1.6A1.95 1.95 0 0 1 8.16 9.4c.27-.09.558-.118.84-.08a2 2 0 0 1 .78.26c.232.15.432.344.59.57a5 5 0 0 1 6.37-.15Z"}),g.createElement("path",{d:"M8.63 13.2c-.106.01-.214.01-.32 0a3.38 3.38 0 0 1-.52-.22L.74 20l4-1.2 5-1.44a4.9 4.9 0 0 1-1.11-4.16ZM11.25 2.62c1.83 1.82 3.62 3.62 5.43 5.43l.81.83L20 7.21 12.83 0l-.08.1c-.5.75-1 1.53-1.5 2.25v.06a.192.192 0 0 0 0 .07.19.19 0 0 0 0 .08.208.208 0 0 0 0 .06ZM16.38 11a4.1 4.1 0 0 0-6.66 2 4.24 4.24 0 0 0-.18 1.13 4.11 4.11 0 0 0 1.27 3 4.06 4.06 0 0 0 2.85 1.16A4.12 4.12 0 0 0 16.38 11Zm-1 4.08h-3.32a1 1 0 0 1 0-2h3.27a1 1 0 0 1 0 2h.05Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"pen-erase_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"}))));var vo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9IiNmZmYiPjxwYXRoIGQ9Im0xNi43NCAxMCAuMDctLjJhLjIyLjIyIDAgMCAwIDAtLjE2LjIyLjIyIDAgMCAwLS4wOS0uMTJsLTMuMTQtMy4xNi0zLjA3LTMuMDhhLjE4LjE4IDAgMCAwIDAtLjA3SDEwLjI5bC0uNzIuMjYtNS4yMyAxLjgyYS40Mi40MiAwIDAgMC0uMTguMTEuMzUuMzUgMCAwIDAtLjEuMTljLS4xNy42My0uMzYgMS4yNS0uNTUgMS44OEMzIDkuMjEgMi41MSAxMSAyIDEyLjY3TC4zIDE4LjM0Yy0uMDkuMzEtLjE4LjY2LS4zIDFsLjE2LS4xNEw3IDEyLjQybC4wNi0uMDZhLjE2LjE2IDAgMCAwIDAtLjA5LjE3LjE3IDAgMCAwIDAtLjF2LS4wOGExLjg3IDEuODcgMCAwIDEtLjA2LTEuNkExLjk1IDEuOTUgMCAwIDEgOC4xNiA5LjRjLjI3LS4wOS41NTgtLjExOC44NC0uMDhhMiAyIDAgMCAxIC43OC4yNmMuMjMyLjE1LjQzMi4zNDQuNTkuNTdhNSA1IDAgMCAxIDYuMzctLjE1WiIvPjxwYXRoIGQ9Ik04LjYzIDEzLjJjLS4xMDYuMDEtLjIxNC4wMS0uMzIgMGEzLjM4IDMuMzggMCAwIDEtLjUyLS4yMkwuNzQgMjBsNC0xLjIgNS0xLjQ0YTQuOSA0LjkgMCAwIDEtMS4xMS00LjE2Wk0xMS4yNSAyLjYyYzEuODMgMS44MiAzLjYyIDMuNjIgNS40MyA1LjQzbC44MS44M0wyMCA3LjIxIDEyLjgzIDBsLS4wOC4xYy0uNS43NS0xIDEuNTMtMS41IDIuMjV2LjA2YS4xOTIuMTkyIDAgMCAwIDAgLjA3LjE5LjE5IDAgMCAwIDAgLjA4LjIwOC4yMDggMCAwIDAgMCAuMDZaTTE2LjM4IDExYTQuMSA0LjEgMCAwIDAtNi42NiAyIDQuMjQgNC4yNCAwIDAgMC0uMTggMS4xMyA0LjExIDQuMTEgMCAwIDAgMS4yNyAzIDQuMDYgNC4wNiAwIDAgMCAyLjg1IDEuMTZBNC4xMiA0LjEyIDAgMCAwIDE2LjM4IDExWm0tMSA0LjA4aC0zLjMyYTEgMSAwIDAgMSAwLTJoMy4yN2ExIDEgMCAwIDEgMCAyaC4wNVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDIwdjIwSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Js=Object.defineProperty,ou=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,mu=(Ue,he,Pe)=>he in Ue?Js(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Us=(Ue,he)=>{for(var Pe in he||(he={}))Zi.call(he,Pe)&&mu(Ue,Pe,he[Pe]);if(ou)for(var Pe of ou(he))iu.call(he,Pe)&&mu(Ue,Pe,he[Pe]);return Ue};const wl=Ue=>g.createElement("svg",Us({viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M18.33 4.069a.67.67 0 0 0 .67-.672V.671A.672.672 0 0 0 18.33 0h-2.718a.67.67 0 0 0-.671.671v.672H4.066V.67A.672.672 0 0 0 3.395 0H.67A.67.67 0 0 0 0 .671v2.72a.672.672 0 0 0 .67.67h.672v10.877H.67A.67.67 0 0 0 0 15.61v2.72A.672.672 0 0 0 .67 19h2.718a.67.67 0 0 0 .671-.671v-.672h10.869v.672a.672.672 0 0 0 .67.671h2.718a.67.67 0 0 0 .67-.671v-2.706a.672.672 0 0 0-.67-.671h-.671V4.069h.684Zm-2.014 10.876h-.67a.67.67 0 0 0-.671.671v.672H4.065v-.672a.672.672 0 0 0-.67-.671h-.671V4.069h.67a.67.67 0 0 0 .672-.672v-.671h10.868v.671a.672.672 0 0 0 .671.672h.671l.02 5.438.02 5.438Z",fill:"#fff"}),g.createElement("g",{stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"},g.createElement("path",{d:"m6.71 6.713 6.037 6.043M6.71 6.713l6.037 6.043M6.71 6.713l6.037 6.043M6.71 6.713l6.037 6.043"})),g.createElement("g",{stroke:"#fff",strokeWidth:1.5,strokeLinecap:"round"},g.createElement("path",{d:"M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756M12.747 6.713 6.71 12.756"})));var jl="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTkgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE4LjMzIDQuMDY5YS42Ny42NyAwIDAgMCAuNjctLjY3MlYuNjcxQS42NzIuNjcyIDAgMCAwIDE4LjMzIDBoLTIuNzE4YS42Ny42NyAwIDAgMC0uNjcxLjY3MXYuNjcySDQuMDY2Vi42N0EuNjcyLjY3MiAwIDAgMCAzLjM5NSAwSC42N0EuNjcuNjcgMCAwIDAgMCAuNjcxdjIuNzJhLjY3Mi42NzIgMCAwIDAgLjY3LjY3aC42NzJ2MTAuODc3SC42N0EuNjcuNjcgMCAwIDAgMCAxNS42MXYyLjcyQS42NzIuNjcyIDAgMCAwIC42NyAxOWgyLjcxOGEuNjcuNjcgMCAwIDAgLjY3MS0uNjcxdi0uNjcyaDEwLjg2OXYuNjcyYS42NzIuNjcyIDAgMCAwIC42Ny42NzFoMi43MThhLjY3LjY3IDAgMCAwIC42Ny0uNjcxdi0yLjcwNmEuNjcyLjY3MiAwIDAgMC0uNjctLjY3MWgtLjY3MVY0LjA2OWguNjg0Wm0tMi4wMTQgMTAuODc2aC0uNjdhLjY3LjY3IDAgMCAwLS42NzEuNjcxdi42NzJINC4wNjV2LS42NzJhLjY3Mi42NzIgMCAwIDAtLjY3LS42NzFoLS42NzFWNC4wNjloLjY3YS42Ny42NyAwIDAgMCAuNjcyLS42NzJ2LS42NzFoMTAuODY4di42NzFhLjY3Mi42NzIgMCAwIDAgLjY3MS42NzJoLjY3MWwuMDIgNS40MzguMDIgNS40MzhaIiBmaWxsPSIjZmZmIi8+PGcgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48cGF0aCBkPSJtNi43MSA2LjcxMyA2LjAzNyA2LjA0M002LjcxIDYuNzEzbDYuMDM3IDYuMDQzTTYuNzEgNi43MTNsNi4wMzcgNi4wNDNNNi43MSA2LjcxM2w2LjAzNyA2LjA0MyIvPjwvZz48ZyBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiPjxwYXRoIGQ9Ik0xMi43NDcgNi43MTMgNi43MSAxMi43NTZNMTIuNzQ3IDYuNzEzIDYuNzEgMTIuNzU2TTEyLjc0NyA2LjcxMyA2LjcxIDEyLjc1Nk0xMi43NDcgNi43MTMgNi43MSAxMi43NTYiLz48L2c+PC9zdmc+",Ss=Object.defineProperty,gs=Object.getOwnPropertySymbols,Ou=Object.prototype.hasOwnProperty,ks=Object.prototype.propertyIsEnumerable,va=(Ue,he,Pe)=>he in Ue?Ss(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,at=(Ue,he)=>{for(var Pe in he||(he={}))Ou.call(he,Pe)&&va(Ue,Pe,he[Pe]);if(gs)for(var Pe of gs(he))ks.call(he,Pe)&&va(Ue,Pe,he[Pe]);return Ue};const Kt=Ue=>g.createElement("svg",at({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 34.02 34.02"},Ue),g.createElement("defs",null,g.createElement("style",null,".segment-everything_svg__cls-1{fill:#fff}.segment-everything_svg__cls-3{fill:none}")),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"m6.26 15.54 5.88 3.88a1 1 0 0 1 0 1.56L6.1 25.29a.9.9 0 0 1-1.41-.79l.19-8.2a.9.9 0 0 1 1.38-.76ZM7.58 29.17 23.43 17.7a1.71 1.71 0 0 1 2.25.22l3.32 3.5v7.75Z"}),g.createElement("path",{d:"M31 4.35a.88.88 0 0 0-.11-1.19 1 1 0 0 0-1.19-.09c-3.29 2.56-4.66 2.56-8 0a.87.87 0 0 0-1.19.09.87.87 0 0 0-.09 1.19c2.56 3.29 2.56 4.66 0 8a.92.92 0 0 0 1.28 1.28c3.29-2.56 4.66-2.56 8 0a1.28 1.28 0 0 0 .55.18.91.91 0 0 0 .64-.27.87.87 0 0 0 .11-1.19c-2.65-3.35-2.65-4.62 0-8Z",style:{fill:"#fcfefe"}}),g.createElement("path",{className:"segment-everything_svg__cls-3",d:"M4.07 4.13h26.29v26.29H4.07z"}),g.createElement("path",{className:"segment-everything_svg__cls-3",d:"M6.39 28.56h22.49V17H16.49v-3.38a2.56 2.56 0 0 1-2 .93 2.63 2.63 0 0 1-2.59-2.72 2.66 2.66 0 0 1 2.6-2.67 2.57 2.57 0 0 1 2 .95v-4H6.39Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M14.51 9.16a2.66 2.66 0 0 0-2.6 2.67 2.63 2.63 0 0 0 2.59 2.72 2.56 2.56 0 0 0 2-.93v-3.51a2.57 2.57 0 0 0-1.99-.95Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M28.88 28.56H6.39V6.1h10.1V4.25H5.42a.88.88 0 0 0-.89.88v25.28h26.21V17h-1.86Z"}),g.createElement("path",{className:"segment-everything_svg__cls-1",d:"M17.14 11.87a2.74 2.74 0 0 0-.65-1.76v3.51a2.7 2.7 0 0 0 .65-1.75Z"}));var Vn="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzNC4wMiAzNC4wMiI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOiNmZmZ9LmNscy0ze2ZpbGw6bm9uZX08L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Im02LjI2IDE1LjU0IDUuODggMy44OGExIDEgMCAwIDEgMCAxLjU2TDYuMSAyNS4yOWEuOS45IDAgMCAxLTEuNDEtLjc5bC4xOS04LjJhLjkuOSAwIDAgMSAxLjM4LS43NlpNNy41OCAyOS4xNyAyMy40MyAxNy43YTEuNzEgMS43MSAwIDAgMSAyLjI1LjIybDMuMzIgMy41djcuNzVaIi8+PHBhdGggZD0iTTMxIDQuMzVhLjg4Ljg4IDAgMCAwLS4xMS0xLjE5IDEgMSAwIDAgMC0xLjE5LS4wOWMtMy4yOSAyLjU2LTQuNjYgMi41Ni04IDBhLjg3Ljg3IDAgMCAwLTEuMTkuMDkuODcuODcgMCAwIDAtLjA5IDEuMTljMi41NiAzLjI5IDIuNTYgNC42NiAwIDhhLjkyLjkyIDAgMCAwIDEuMjggMS4yOGMzLjI5LTIuNTYgNC42Ni0yLjU2IDggMGExLjI4IDEuMjggMCAwIDAgLjU1LjE4LjkxLjkxIDAgMCAwIC42NC0uMjcuODcuODcgMCAwIDAgLjExLTEuMTljLTIuNjUtMy4zNS0yLjY1LTQuNjIgMC04WiIgc3R5bGU9ImZpbGw6I2ZjZmVmZSIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTQuMDcgNC4xM2gyNi4yOXYyNi4yOUg0LjA3eiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTYuMzkgMjguNTZoMjIuNDlWMTdIMTYuNDl2LTMuMzhhMi41NiAyLjU2IDAgMCAxLTIgLjkzIDIuNjMgMi42MyAwIDAgMS0yLjU5LTIuNzIgMi42NiAyLjY2IDAgMCAxIDIuNi0yLjY3IDIuNTcgMi41NyAwIDAgMSAyIC45NXYtNEg2LjM5WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE0LjUxIDkuMTZhMi42NiAyLjY2IDAgMCAwLTIuNiAyLjY3IDIuNjMgMi42MyAwIDAgMCAyLjU5IDIuNzIgMi41NiAyLjU2IDAgMCAwIDItLjkzdi0zLjUxYTIuNTcgMi41NyAwIDAgMC0xLjk5LS45NVoiLz48cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0yOC44OCAyOC41Nkg2LjM5VjYuMWgxMC4xVjQuMjVINS40MmEuODguODggMCAwIDAtLjg5Ljg4djI1LjI4aDI2LjIxVjE3aC0xLjg2WiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTE3LjE0IDExLjg3YTIuNzQgMi43NCAwIDAgMC0uNjUtMS43NnYzLjUxYTIuNyAyLjcgMCAwIDAgLjY1LTEuNzVaIi8+PC9zdmc+",gr=function(he){var Pe=he.drawData,Un=he.onChangePointResolution,vt=(0,F.bU)(),zn=vt.localeText,En=(0,g.useMemo)(function(){return Pe.objectList.length===0&&!Pe.creatingObject||Pe.isBatchEditing},[Pe.objectList,Pe.creatingObject,Pe.isBatchEditing]),On=(0,g.useMemo)(function(){return[{key:Q.jB.PenAdd,name:zn("DDSAnnotator.subtoolbar.mask.penAdd"),icon:(0,x.jsx)(H.Z,{component:uo}),available:!0},{key:Q.jB.PenErase,name:zn("DDSAnnotator.subtoolbar.mask.penErase"),icon:(0,x.jsx)(H.Z,{component:as}),available:!!Pe.creatingObject},{key:Q.jB.BrushAdd,name:zn("DDSAnnotator.subtoolbar.mask.brushAdd"),icon:(0,x.jsx)(H.Z,{component:Qs}),available:!0,withSize:!0},{key:Q.jB.BrushErase,name:zn("DDSAnnotator.subtoolbar.mask.brushErase"),icon:(0,x.jsx)(H.Z,{component:Vl}),available:!!Pe.creatingObject,withSize:!0}]},[Pe.creatingObject]),Fn=(0,g.useMemo)(function(){return[{key:Q.jB.AutoSegmentByBox,name:zn("DDSAnnotator.subtoolbar.mask.box"),icon:(0,x.jsx)(H.Z,{component:ec}),available:!0},{key:Q.jB.AutoSegmentByStroke,name:zn("DDSAnnotator.subtoolbar.mask.stroke"),icon:(0,x.jsx)(H.Z,{component:vl}),available:!0,withSize:!0},{key:Q.jB.AutoSegmentByClick,name:zn("DDSAnnotator.subtoolbar.mask.click"),icon:(0,x.jsx)(H.Z,{component:vs}),available:!0}]},[]),mr=(0,g.useMemo)(function(){return[{key:Q.jB.AutoSegmentByBox,name:zn("DDSAnnotator.subtoolbar.mask.box"),icon:(0,x.jsx)(H.Z,{component:ec}),available:!0,withCustomElement:!0},{key:Q.jB.AutoSegmentByStroke,name:zn("DDSAnnotator.subtoolbar.mask.stroke"),icon:(0,x.jsx)(H.Z,{component:vl}),available:!0,withSize:!0,withCustomElement:!0},{key:Q.jB.AutoSegmentByClick,name:zn("DDSAnnotator.subtoolbar.mask.click"),icon:(0,x.jsx)(H.Z,{component:vs}),available:!0,withCustomElement:!0}]},[]),fr=(0,g.useMemo)(function(){var Or;return[{key:Q.jB.PositiveVisualPrompt,name:zn("DDSAnnotator.subtoolbar.visualprompt.positive"),icon:(0,x.jsx)(H.Z,{component:Vo}),available:!0},{key:Q.jB.NegativeVisualPrompt,name:zn("DDSAnnotator.subtoolbar.visualprompt.negative"),icon:(0,x.jsx)(H.Z,{component:wl}),available:!!((Or=Pe.prompt.promptsQueue)!==null&&Or!==void 0&&Or.some(function(ar){return ar.isPositive}))}]},[Pe.prompt]),or=(0,g.useMemo)(function(){return[{key:Q.jB.AutoSegmentEverything,name:zn("DDSAnnotator.subtoolbar.mask.sam"),icon:(0,x.jsx)(H.Z,{component:Kt}),available:En,description:zn(En?"DDSAnnotator.subtoolbar.mask.sam.desc":"DDSAnnotator.subtoolbar.mask.sam.notAllow")},{key:Q.jB.AutoEdgeStitching,name:zn("DDSAnnotator.subtoolbar.mask.edgeStitch"),icon:(0,x.jsx)(H.Z,{component:fl}),available:!0,withSize:!0}]},[En]),jn=(0,g.useMemo)(function(){var Or=Pe.selectedTool,ar=Pe.creatingObject,hr=Pe.AIAnnotation,Pr=Pe.selectedModel;return!!(Or===Q.ru.Mask||(ar==null?void 0:ar.type)===Q.gr.Mask||Or===Q.ru.Rectangle&&hr&&Pr[Or]===Q.HE.IVP||(Or===Q.ru.Polygon||(ar==null?void 0:ar.type)===Q.gr.Polygon)&&hr)},[Pe.selectedTool,Pe.creatingObject,Pe.AIAnnotation,Pe.selectedModel]),ua=(0,g.useMemo)(function(){var Or,ar;if(Pe.selectedTool===Q.ru.Mask||((Or=Pe.creatingObject)===null||Or===void 0?void 0:Or.type)===Q.gr.Mask){if(!Pe.AIAnnotation)return{basicTools:On,smartTools:[]};var hr=Pe.selectedModel[Pe.selectedTool];return hr===Q.HE.IVP?{basicTools:[],smartTools:fr}:hr===Q.HE.SegmentByMask?{basicTools:[],smartTools:Fn}:hr===Q.HE.SegmentEverything?{basicTools:[],smartTools:or}:{basicTools:On,smartTools:[]}}else{if(Pe.selectedTool===Q.ru.Polygon||((ar=Pe.creatingObject)===null||ar===void 0?void 0:ar.type)===Q.gr.Polygon)return{basicTools:[],smartTools:mr,customElement:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-title",children:zn("DDSAnnotator.subtoolbar.polygon.pointResolution")}),(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-slider",children:(0,x.jsx)(Yn.Z,{min:.1,max:.9,step:.1,value:Pe.pointResolution,onChange:Un,onAfterChange:function(aa){return Un(aa,!0)}})})]})};if(Pe.selectedTool===Q.ru.Rectangle&&Pe.AIAnnotation&&Pe.selectedModel[Pe.selectedTool]===Q.HE.IVP)return{basicTools:[],smartTools:fr}}return{basicTools:[],smartTools:[]}},[Pe.selectedTool,Pe.creatingObject,Pe.AIAnnotation,Pe.selectedModel,mr,On,Fn,or,fr,Pe.pointResolution]);return{showSubTools:jn,currSubTools:ua}},Da=gr,lo=function(he){var Pe=he.mode,Un=he.manualMode,vt=he.drawData,zn=he.setDrawData,En=he.setDrawDataWithHistory,On=he.editState,Fn=he.setEditState,mr=he.clientSize,fr=he.naturalSize,or=he.addObject,jn=he.updateObject,ua=he.updateAllObject,Or=he.getAnnotColor,ar=he.onAiAnnotation,hr=(0,F.bU)(),Pr=hr.localeText,aa=(0,g.useCallback)(function(Yt){var Ln;return On.annotsDisplayOptions.colorByCategory?Or(Yt):vt.activeObjectIndex>-1?vt.objectList[vt.activeObjectIndex].color:((Ln=vt.creatingObject)===null||Ln===void 0?void 0:Ln.color)||Or(Yt)},[On.annotsDisplayOptions.colorByCategory,Or,vt.activeObjectIndex,vt.objectList,vt.creatingObject]),Jn=function(Ln){var qn=vt.objectList[vt.activeObjectIndex];if(qn){var cr=t()(t()({},vt.objectList[vt.activeObjectIndex]),{},{attributes:void 0});cr.labelId=Ln,On.annotsDisplayOptions.colorByCategory&&(cr.color=Or(Ln)),cr.type===Q.gr.Mask&&cr.maskRle&&(cr.maskCanvasElement=(0,yr.ei)(cr.maskRle,fr,cr.color)),vt.isBatchEditing&&(cr.conf=1),jn(cr,vt.activeObjectIndex)}Fn(function(Dr){Dr.latestLabelId=Ln})},fa=(0,g.useCallback)(function(Yt){var Ln,qn;if(((Ln=vt.creatingObject)===null||Ln===void 0?void 0:Ln.type)===Q.gr.Mask){var cr,Dr,Rr=(0,yr.G9)(mr,fr,((cr=vt.creatingObject)===null||cr===void 0?void 0:cr.tempMaskSteps)||[],(Dr=vt.creatingObject)===null||Dr===void 0?void 0:Dr.maskCanvasElement);if(Rr&&Rr.length>0){var Aa=aa(Yt),xa=t()(t()({},vt.objectList[vt.activeObjectIndex]),{},{type:Q.gr.Mask,labelId:Yt,hidden:!1,maskRle:Rr,maskCanvasElement:(0,yr.ei)(Rr,fr,Aa),conf:1,status:W.TK.Commited,color:Aa});vt.activeObjectIndex>-1?jn(xa,vt.activeObjectIndex):or(xa)}else Rr?S.ZP.warning(Pr("DDSAnnotator.anno.mask.emptyWarning")):S.ZP.error(Pr("DDSAnnotator.anno.mask.translateToRleError"))}else if(((qn=vt.creatingObject)===null||qn===void 0?void 0:qn.type)===Q.gr.Polygon){var pa,za=Or(Yt),ha=t()(t()({},vt.objectList[vt.activeObjectIndex]),{},{type:Q.gr.Polygon,labelId:Yt,hidden:!1,polygon:(pa=vt.creatingObject)===null||pa===void 0?void 0:pa.polygon,conf:1,status:W.TK.Commited,color:za});vt.activeObjectIndex>-1?jn(ha,vt.activeObjectIndex):or(ha)}else{var Yr=t()({},vt.objectList[vt.activeObjectIndex]);Yr.labelId=Yt,On.annotsDisplayOptions.colorByCategory&&(Yr.color=Or(Yt)),vt.isBatchEditing&&(Yr.conf=1),jn(Yr,vt.activeObjectIndex)}zn(function($a){$a.creatingObject=void 0,$a.prompt={},$a.activeObjectIndex=-1,$a.selectedSubTool===Q.jB.PenErase?$a.selectedSubTool=Q.jB.PenAdd:$a.selectedSubTool===Q.jB.BrushErase&&($a.selectedSubTool=Q.jB.BrushAdd)}),Fn(function($a){$a.latestLabelId=Yt})},[vt.creatingObject,vt.activeObjectIndex,vt.objectList,vt.selectedSubTool]),Qr=(0,g.useCallback)(function(){En(function(Yt){var Ln=(0,m.cloneDeep)(vt.objectList).filter(function(qn){return qn.status!==W.TK.Unchecked}).map(function(qn){return qn.status=W.TK.Commited,qn.type!==Q.gr.Mask&&(qn.color=Or(qn.labelId)),qn});Yt.objectList=Ln,Yt.isBatchEditing=!1,Yt.activeObjectIndex=-1,Yt.creatingObject=void 0,Yt.prompt={}})},[vt.objectList,En]),$r=(0,g.useCallback)(function(){En(function(Yt){var Ln=(0,m.cloneDeep)(vt.objectList).filter(function(qn){return qn.status===W.TK.Commited});Yt.objectList=Ln,Yt.isBatchEditing=!1,Yt.activeObjectIndex=-1,Yt.creatingObject=void 0,Yt.prompt={}})},[vt.objectList,En]),lr=(0,g.useCallback)(function(){var Yt=vt.selectedTool,Ln=vt.AIAnnotation,qn=vt.selectedModel,cr=vt.selectedSubTool,Dr=vt.isBatchEditing,Rr=vt.creatingObject,Aa=function(){if(!Ln)return!1;if(Yt===Q.ru.Rectangle)return Dr;if(Yt===Q.ru.Polygon)return Rr;if(Yt===Q.ru.Skeleton)return Dr;if(Yt===Q.ru.Mask){var za=qn[Yt];return za===Q.HE.IVP||za===Q.HE.SegmentEverything&&cr===Q.jB.AutoSegmentEverything?Dr:za===Q.HE.SegmentByMask?Rr:!1}return!1},xa=Aa();return xa&&S.ZP.warning(Pr("DDSAnnotator.smart.tip.limitJump")),xa},[vt.selectedTool,vt.selectedModel,vt.AIAnnotation,vt.selectedSubTool,vt.isBatchEditing,vt.creatingObject]),Ir=(0,g.useCallback)(function(Yt){Pe!==W.je.Edit||Yt===vt.selectedTool&&!vt.AIAnnotation||lr()||zn(function(Ln){Ln.selectedTool=Yt,Ln.isJustCreated=!1,Ln.AIAnnotation=!1,Ln.activeObjectIndex=-1,Ln.creatingObject=void 0,Ln.editingAttribute=void 0,Ln.prompt={}})},[Pe,vt.selectedTool,vt.isBatchEditing,vt.AIAnnotation,lr]),Vr=(0,g.useCallback)(function(Yt){var Ln=vt.selectedTool,qn=vt.selectedModel,cr=vt.selectedSubTool,Dr=vt.AIAnnotation,Rr=vt.isBatchEditing;Pe!==W.je.Edit||Yt===cr||Ln===Q.ru.Mask&&Dr&&qn[Ln]===Q.HE.SegmentEverything&&Rr||zn(function(Aa){Aa.selectedSubTool=Yt})},[Pe,vt.selectedTool,vt.AIAnnotation,vt.selectedModel,vt.isBatchEditing,vt.selectedSubTool,lr]),Ar=(0,g.useCallback)(function(Yt,Ln){zn(function(qn){qn.selectedTool=Yt,qn.selectedSubTool=Ln})},[]),Y=(0,g.useCallback)(function(){En(function(Yt){Yt.objectList=Yt.objectList.filter(function(Ln){return Ln.status===W.TK.Commited}),Yt.AIAnnotation=!1,Yt.isBatchEditing=!1,Yt.creatingObject=void 0,Yt.prompt={}})},[En]),z=(0,g.useCallback)(function(Yt){Pe===W.je.Edit&&zn(function(Ln){Ln.brushSize=Yt})},[Pe]),ue=(0,g.useCallback)(function(Yt){Pe===W.je.Edit&&zn(function(Ln){Ln.pointResolution=Yt})},[Pe]),Ce=(0,g.useCallback)(function(Yt,Ln){if(ue(Yt),Ln&&vt.creatingObject&&vt.creatingObject.type===Q.gr.Polygon&&vt.prompt.promptsQueue&&vt.prompt.promptsQueue.length>0){var qn=t()(t()({},vt),{},{pointResolution:Yt});ar({type:Q.gr.Polygon,drawData:qn,promptsQueue:vt.prompt.promptsQueue})}},[vt.creatingObject,vt.prompt]),Re=function(){n.Z.info({centered:!0,closable:!0,title:Pr("DDSAnnotator.smart.infoModal.title"),content:Pr("DDSAnnotator.smart.infoModal.content"),okText:Pr("DDSAnnotator.smart.infoModal.action"),onOk:function(){window.open("https://deepdataspace.com","_blank")}})},rt=(0,g.useCallback)(function(Yt){Pe!==W.je.Edit||Un||lr()||zn(function(Ln){Ln.AIAnnotation=Yt})},[Pe,Un,lr]),Mt=(0,g.useCallback)(function(Yt){En(function(Ln){var qn=(0,m.cloneDeep)(vt.objectList).map(function(cr){return cr.status===W.TK.Commited?cr:cr.conf===void 0?(cr.status=W.TK.Unchecked,cr):(cr.status=cr.confYt[1]?W.TK.Unchecked:W.TK.Checked,cr)});Ln.objectList=qn})},[vt.objectList,En]),Dt=(0,g.useCallback)(function(Yt){En(function(Ln){var qn=(0,m.cloneDeep)(vt.objectList).map(function(Dr){return Dr.status===W.TK.Commited||(Dr.status=Dr.conf&&Dr.conf>=Yt?W.TK.Checked:W.TK.Unchecked),Dr});Ln.objectList=qn;var cr=qn.filter(function(Dr){return Dr.status===W.TK.Checked}).length;S.ZP.success(Pr("DDSAnnotator.smart.tip.annotationApplied",{count:cr}))})},[vt.objectList,En]),Vt=(0,g.useCallback)(function(Yt){Fn(function(Ln){Ln.imageDisplayOptions=Yt})},[]),nn=(0,g.useCallback)(function(Yt){Fn(function(Ln){Ln.annotsDisplayOptions=Yt})},[]),fn=(0,g.useCallback)(function(){if(!(!vt.objectList||!vt.objectList.length)){var Yt=(0,m.cloneDeep)(vt.objectList).map(function(Ln){var qn=Or(Ln.labelId);return Ln.type===Q.gr.Mask&&Ln.maskRle&&Ln.maskRle.length>0?t()(t()({},Ln),{},{color:qn,maskCanvasElement:(0,yr.ei)(Ln.maskRle,fr,qn)}):t()(t()({},Ln),{},{color:qn})});ua(Yt)}},[vt.objectList,Or]),hn=(0,g.useCallback)(function(Yt){var Ln=vt.selectedTool,qn=Q.Xn[Ln];return!(!qn.includes(Yt)||lr())},[Q.Xn,vt.selectedTool,lr]),bn=(0,g.useCallback)(function(Yt){hn(Yt)&&zn(function(Ln){Ln.selectedModel[Ln.selectedTool]=Yt})},[hn]);return(0,g.useEffect)(function(){zn(function(Yt){if(Yt.AIAnnotation){var Ln=Yt.selectedModel[Yt.selectedTool];switch(Yt.selectedTool){case Q.ru.Rectangle:Ln===Q.HE.IVP?Yt.selectedSubTool=Q.jB.PositiveVisualPrompt:Yt.selectedSubTool=Q.jB.PenAdd;break;case Q.ru.Mask:if(Ln===Q.HE.IVP)Yt.selectedSubTool=Q.jB.PositiveVisualPrompt;else if(Ln===Q.HE.SegmentEverything){var qn=Yt.objectList.length===0&&!Yt.creatingObject||Yt.isBatchEditing;Yt.selectedSubTool=qn?Q.jB.AutoSegmentEverything:Q.jB.PenAdd}else Yt.selectedSubTool=Q.jB.AutoSegmentByBox;break;case Q.ru.Polygon:Yt.selectedSubTool=Q.jB.AutoSegmentByBox;break;case Q.ru.Skeleton:case Q.ru.Drag:Yt.selectedSubTool=Q.jB.PenAdd;break}}else Yt.selectedSubTool=Q.jB.PenAdd})},[vt.selectedTool,vt.AIAnnotation,vt.selectedModel]),{onChangeObjectLabel:Jn,onFinishCurrCreate:fa,onAcceptValidObjects:Qr,onAbortBatchObjects:$r,selectTool:Ir,selectSubTool:Vr,forceChangeTool:Ar,onExitAIAnnotation:Y,setBrushSize:z,activeAIAnnotation:rt,displayAIModeUnavailableModal:Re,onChangeSkeletonConf:Mt,onChangeLimitConf:Dt,onChangeImageDisplayOpts:Vt,onChangeAnnotsDisplayOpts:nn,onChangeColorMode:fn,onChangePointResolution:Ce,onSelectModel:bn,isInAiSession:lr}},ii=lo,Fo=e(92183),es=Object.defineProperty,ei=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,Eo=Object.prototype.propertyIsEnumerable,Ao=(Ue,he,Pe)=>he in Ue?es(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,ki=(Ue,he)=>{for(var Pe in he||(he={}))di.call(he,Pe)&&Ao(Ue,Pe,he[Pe]);if(ei)for(var Pe of ei(he))Eo.call(he,Pe)&&Ao(Ue,Pe,he[Pe]);return Ue};const ms=Ue=>g.createElement("svg",ki({viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#docs_svg__a)"},g.createElement("path",{d:"M14.666 5.5a.917.917 0 1 1 0 1.833H7.333a.917.917 0 1 1 0-1.833h7.333Zm7.065 16.231a.916.916 0 0 1-1.296 0l-2.206-2.206a4.086 4.086 0 0 1-4.48-.053 4.125 4.125 0 1 1 6.417-3.43 4.085 4.085 0 0 1-.641 2.187l2.206 2.206a.917.917 0 0 1 0 1.296Zm-5.69-3.398a2.292 2.292 0 1 0 0-4.583 2.292 2.292 0 0 0 0 4.583Zm-4.125 1.834h-5.5a2.75 2.75 0 0 1-2.75-2.75V4.583a2.75 2.75 0 0 1 2.75-2.75h11a.917.917 0 0 1 .917.917v7.333a.917.917 0 0 0 1.833 0V2.75A2.75 2.75 0 0 0 17.416 0h-11a4.589 4.589 0 0 0-4.583 4.583v12.834A4.589 4.589 0 0 0 6.416 22h5.5a.917.917 0 1 0 0-1.833Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"docs_svg__a"},g.createElement("path",{d:"M0 0h22v22H0z"}))));var Du="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjIgMjIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTQuNjY2IDUuNWEuOTE3LjkxNyAwIDEgMSAwIDEuODMzSDcuMzMzYS45MTcuOTE3IDAgMSAxIDAtMS44MzNoNy4zMzNabTcuMDY1IDE2LjIzMWEuOTE2LjkxNiAwIDAgMS0xLjI5NiAwbC0yLjIwNi0yLjIwNmE0LjA4NiA0LjA4NiAwIDAgMS00LjQ4LS4wNTMgNC4xMjUgNC4xMjUgMCAxIDEgNi40MTctMy40MyA0LjA4NSA0LjA4NSAwIDAgMS0uNjQxIDIuMTg3bDIuMjA2IDIuMjA2YS45MTcuOTE3IDAgMCAxIDAgMS4yOTZabS01LjY5LTMuMzk4YTIuMjkyIDIuMjkyIDAgMSAwIDAtNC41ODMgMi4yOTIgMi4yOTIgMCAwIDAgMCA0LjU4M1ptLTQuMTI1IDEuODM0aC01LjVhMi43NSAyLjc1IDAgMCAxLTIuNzUtMi43NVY0LjU4M2EyLjc1IDIuNzUgMCAwIDEgMi43NS0yLjc1aDExYS45MTcuOTE3IDAgMCAxIC45MTcuOTE3djcuMzMzYS45MTcuOTE3IDAgMCAwIDEuODMzIDBWMi43NUEyLjc1IDIuNzUgMCAwIDAgMTcuNDE2IDBoLTExYTQuNTg5IDQuNTg5IDAgMCAwLTQuNTgzIDQuNTgzdjEyLjgzNEE0LjU4OSA0LjU4OSAwIDAgMCA2LjQxNiAyMmg1LjVhLjkxNy45MTcgMCAxIDAgMC0xLjgzM1oiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDIydjIySDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",Xl=Object.defineProperty,ls=Object.getOwnPropertySymbols,wu=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,us=(Ue,he,Pe)=>he in Ue?Xl(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Oc=(Ue,he)=>{for(var Pe in he||(he={}))wu.call(he,Pe)&&us(Ue,Pe,he[Pe]);if(ls)for(var Pe of ls(he))Jl.call(he,Pe)&&us(Ue,Pe,he[Pe]);return Ue};const nc=Ue=>g.createElement("svg",Oc({viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},Ue),g.createElement("path",{d:"m15.5 1 13.423 7.75v15.5L15.5 32 2.077 24.25V8.75L15.5 1Z",fill:"#fff"}),g.createElement("path",{fill:"url(#logo_svg__a)",d:"M0 0h33v33H0z"}),g.createElement("defs",null,g.createElement("pattern",{id:"logo_svg__a",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#logo_svg__b",transform:"scale(.00417)"})),g.createElement("image",{id:"logo_svg__b",width:240,height:240,xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABLHSURBVHgB7d1fVhw3FgbwKxX2jIE47QWYFCtIWMHACoLBeQ5eAbACmhUAK8B5DtidFcAOcFbgMlmAexyMk4GSRqqmCSYBd3dJKl3V93vKOfPnnND9dd0rXakEQXLy5U+LOtNbmnQhS7ld9B4VBEkSBMnIl3VHyU9bJPTGZ/+Blt0P6o+9fu9JnyApCHAi5lZscEsTXNG5479SaK23f3s1+5IgGQgwc7ZcVlLtm08yH/F/YsvqJZTVaUCAmTLBzU2fu2/63EWazEv0x/whwMwM+tw/1kmoLtXXN/3x7umrR9sELCHAjOSr5+uKbHDv7HMnhf6YKQSYgRvbQovkkSDRE6XYRFnNBwIcMQd97qTQHzOBAEforz733m0h31BWM4AAR+bpytmaELTTYHBvKzSVm78dPu4RRAcBjkSoPrcGlNURQoAbVpXL2cdd81H8SBxo2ZWKfkKQ44AANySSPndS6I8jgQA3YILxx1gVsnzwrOg9fEPQCAQ4oPyHs++0kjsR97mTQn/cEAQ4gDuP+aXG9McYywwLAfbM4/hjrNAfB4QAe5JQnzupN6asfoay2i8E2LEGxx9jhf7YIwTYEcfH/FJTmP74Jfpj9xBgB1rY504K/bFjCHANDMYfo4Rji+4gwBMY9LnK7OfSMkEd6I9rQoDHwHz8MVYoq2tAgEdUHfMjsdXibSHfcGxxAgjwF6DPDQ5l9RgQ4DuwO+aXGrxNYiQI8C3oc6OC/vgLEOAbMP4YLbxN4g4IMCV9zC816I9vaXWAW3PMLzU4tnittQHG+CN76I+phQG2fW4py10hxLcEKWj1scXWBBjH/JLXyv44+QBjW6hVCtJi7/TV9C61RNIBRp/bWq3pj5MMMMYf4UryZXVSAbZ9rsrKLsYf4TNa7Eol9lIMchIBRp8LI0iyrGYf4KerH5eFph2MP8KI7FjmC/M0PqYEsA0w+lyoKYn+mF2AMf4ITjE/tsgqwHMrNrjoc8E5tv0xiwDjmB8Ewu7YYtQBxvgjNIRNfxxlgNHnQgT6pj/ejf3YYnQBTmT8sW9+fLal+Qet5LoWOifgKur+OJoAp3PMT+/JcqZb9ES1qonpsDQIEseiFC9iK6sbD3AqfW71AUu1Wfw8++af/vPq31PqIzyN2YuqP24swKmMP5rgFkKUL4qDr45H+e/nK2drmuQWgsxaNMcWGwlw9ZYDQTv8+1y1Jy9nd4fl8qhQViej8f44aIBTGX80f7SeKGXtt+tdvSTttSb6joCzxsrqIAFO5YlT9bmi3B61XB4VyupENHBs0WuAEzrmV20LnR7Meut5qh+5qcs1s/e4RcBZ0LLaW4ATOuZnyqPpzXH73EkNqpVL80MhvyfgrJDlg2dF7+Eb8sh5gBM95he8x0FZnQyv3x1nAW7B+GMjo3Vzz3/voqxOgKe3STgJcMuO+QXfOsC2UzKcf3dqBbjlx/yCvxEAZXUynB1brBXgudWPmiB4f3xVVq+bf8TFBnwVp4cz81STJKhrTWXqqGojAjk9+KprfjQWTGP1E0GrIcBu5CRU11Qkb+2YKAVgn/inh7NrUuhNgtZCgN3KhRD736yev7YLTxRAcTC7a57G80KLgqB1EGAPzB74simr35on8n6IINunsVBiCSFuHwTYr6v++Nz73jhC3E5JBtgsrXsdXxuT6Y/1Toj+GCH+nD18Iql8lvJiX1IBtofrpVBL7w5nFmxfGNkHV/XHvsvqKsSZMl9aYnlRuQvV90DrF+8Op5eKw8e9arEv0XWCVAJsD9dvi/LRwvCo3/UqrfkgI/vg1qr+2OO2k73Wx6xOR32boid/fQ9uTTvZ78O7V9PzEX4faklhkGOkQYpIhx+8TnPZ1XC7oEYtMM6lc5Ec3XQyyME2wJMcro90priQUj+76zK8OvLl9x2VPXxLCU9sCU2/Cqk2JrlkoeHvQ2sDXPtwff7890Wtsv2IZor7JsRLPkI8t2IqD5HkaSZnlyw0NGPewgCb/maSS+Tukj8/24jo4nVvIf5m5fxtWgcgPr972xXbZgmV/Rjob9WeWehqO8CsItoZYJcfmp1istsukaxWd5QSR/kPZ84vuBOk9igB19+Dw9kNHzek2O9XRN+HkUT9BB73zuU6Irp4vfhQ/m/B5ftquffCIb8HQ4P+WJ2Qv79Z+k9gralHl1MFBRDRNkP+dfav1+RQYX8MFMthhr9tD4Zwdc79iBj84MVdQgu9YUcRQ53wsez+YdNllL1PzPX4pcx0j3ixlwk6b5vuY4Nrtt6O7HeOyyUVnBax7C0Gdp/vmAJp+OL1viml512W0ubzek+RP1V83b19n4buc2vdgf68OhgQ6ISPVZXVdiyzmbK681j+y+32j6JfKF796/HHQOG1wbUTcSr7+JbrZYwcRymvRxE7ZnGGArguq00/RiGZL5XLHyspdEyHPIaqPteWy0XAiwJtW6bk+Ym9iIHzZYx8Z6HNH/5x9vAk6A0Yg6ts5m2ZR4Go6rZPR2RcAb7aFlpoos+1B0tSuIwxlUvtgtyCf5MdAlFa2BLX96+3s174ajvpPTWszvjjpK7WM3bMFzaW2XBcaneD6Y8vToL2x4OrbBYC9Ma2F14jB4rBj0CTxwzt+OPmu1cz34Xvc8uTiMLrTGoH+r0f1btpcID+zwXfJbUQ5O49SbqpANvxR7st5O8Fcbflq+frgwUq3n3ufVK+FzroGxTmVs9e+jzVYsroJy7K6LkV+4UO1/s1VC4vlrLcNX3utxQvlNBfMLwB422IstpeHuBz+KMz9e8m9qJr0ntCTS+GK5c/5cNBjMjD60wbLrXLQ90QKcuLDV/3camy5NW/mV7X16GD2wZ97vmO/ZwTeyvmF7XpVkrbH594vcrGlLiilH7uo5IiJx769l6yUL0u90GMutp2rWxn+AYFX09ju7BlvsDPyD0OJeHgTHOY02OLg34+3QWqUbT1XuhqLPPp6kcvZengC+z8DG78J2O03vRxIcFNHA8c+NTmi91z06++9lVSy/KyS25L6bgDLGjb5yhk1eealX4b3Lb1uffBmxlsSe0hxNXQhHb7FA41+z0u80PYOz2Y6ZIntlKq+ly84PxvEGCrCrH7159IdWkXcpw9hTv07+gCXN2WUUpvb0i0q8u2Umpzn3sfBHhI6J38+adFcsjHUzg2QisvLze3JfPTlbM3bV1dHhUCfIPSyvlrQa+ewkmyT18ffW91H5U8P2nLMEYdCPDnOjrT++RQtTcc8PhhSPbpS44NwosV5lFFficWbYe+m8rHfVTmyZ7c2/F8PX1LWfYQ3tHFfSul0oMXlAm1FPSVoUI7ve0jUxc9SoyPp2+1YIWyeSwsSmg7GBH4bqrOY/nQ2VO4WswSUb2zuLa+4x+l6mYVLFiNjVUPbEu2YHc3C1p3uu9a0q+Ujl/cXjz/KTcleYrvb/KO5SLWdZCF3vQYZKdP4UgvlJuI+QF1+vSt3hCIvncirFehr99t5Ou2SPMUJkdKoQpKhcqOyZHBth0mrCbFfhvp5m2RHlasO66GOzIpC0pAtfrscHDD9bZd2ySzD1wF2a5YOw6ys4P0F1mTl8m5VJAj1U2ROJhQS3KDHDeD7GTrSQp3F8olQCvlbDGu6n2hlmQnsaobI0vlYsg+D3VVLQvCYSugxX8IasEo5SiyC4YXyvmhSTlpBZ6ufljGynN9CPAIlJ7KCZwSJJO7ZL0JCPAoMN7nHv6mTiQe4KmCnFBPKBWi+at57DuaTC2OtsQBPIFHYPY+v6Z0RHCzxRTC6wgCDMGVmcb1OI4gwBCc0BmewI4gwACMIcAQnkYJ7QoCDA3AFbGuIMAAjCHAAIwhwACMIcAAjCHAAIwhwKE8KLHyCs4hwKFcYO8T3EOAARhDgAEYQ4ABGEOAARhDgAEYQ4ABGEOAYSyCRE4QDQQYgDEEGIAxBBiAMQQYgDEEuEXwkrb0IMAAjCHAAIwhwACMIcAjwVleiBMCPAIdxQvBAP4OAQZgDAEGYAwBBmAMAQZgDAEGYAwBBmAMAQZgDAEOpJQiJwDHEGAAxhBgGI/GWGlMog5wJrOCIC4y+5ogGngCAzCGAAMwhgADMIYAAzCGAAMwhgADMIYAAzCGALfJgzKOIQypMAziCALcJhdxTFEJwjCIKwgwAGNxB1hfoNQCuEfUAVaUvZ5b+bTVWX6PIFcy/B3gM/GX0EJ1H2cPT56unK1R201FsggF0eDSA+dCiP251Y9v8YY9gL9wW8TKVabemiDvI8gAfFeh10yQT2x/TAAtxnkbqWP7Y1tW39UfF71HBQEkLIV94Ko//mb1/AhlNbRNMoMcmvQi+mNomxQnsWx/fDS3cr5B4JwgnRNEI9VRypyE3rH9MQEkLPVZ6JwiIUjkBOAYDjPAWDSJgiAaCDCMR5X/JYgGAgzjEbIgiAYCDGORUrwhiAYCDGPpX/5RO8BaYyvKFQQYRmZW0o/7vSd9qkvEszvAHQIMIxNa/UQ15T+cfUfgTK0AS61fCI1thTYwT9+ieDX7kmoqlcqp5WwlI4V6QQ7UCrD9QN+9mp6XQm8iyGkTpVgiB4SSi9RS9kfQPvTeHU4vFQdfHZMDTkro4mB2Vyj7AevaJVakOq0+ICFo29nRzEz8h9qnb365tkX5aMFFFXOTsx7YfsCnh7NrspTztkSgtHSqk07ML9grs0nuhdZ7pwczXXKg+hHU1KoeWBD1TCYWTg++6hY9UX8B8Bbni1g2yLZESLI/5n7BnpZjBtiE93DW2amuUpaL1BJXfe7Su8OZZz4vlvC2Cj3sj23pQLaESEc7Ltgz6xouw1v9X5JowxVIffu3c9nn3sf7NpItHWwJkWB/nOQFe9VCi3lynJp1DXLo6eqH5eT3f83DSpbT867/dvcJsg/8WX+c3mp1Qhfs6b1qocXDk0PS1DolqiqXzXfbV597n6CDHFV/bLed0uuPv3jBXsyun7qmZPbxBbR/E3vlESVm+HeryuWGLlBsZBLL9sdC/blw1R+nhNsFe9X2hvkCzvvs1xLsfYd97nyIPvc+jY1SFr0n/av+eD61/pjJBXsvh9sb5NHcysettHpfvRe6z73PFDXsqvRYy1c/9LSe2tEiqZMqtj9enFs537OxjoHt14Qot0M8Oezcs1LUpQRUfzepNoufZ6M6TikoMnnVL8mtxILshBTSbE08OqYJ5cu6E2qRxVYeSqoj7k9f2+eaH7wXTZfKd4nuNNKgP056LLMx4cKrO6Use8zD+9f4Y6ThtaI8Tnhz2wlB5kdn5/tmMe9b4uvloM8Nvy00rsZ74Ptc98crZ8coq+Nnn7w6+/Sa65ZRyPUBV6Lrge8z9/z3rlDZj20Nct0e2Cfb89qymemTty+13nR9UigEVjdy2JIG/XF8THgX7YIVw/D2h+OPHMNrsXoC32R/8XWmTLnWnuNpsT2Bbcms5Cezz6vZvYeqKpdL8YL7K2jZ3ok1OLY4s4BrfZrxdPXjspLnJ9zCKzT92vT4o0tsn8C32f6YtEz6uFoMT2BbLutMbzFcqLLjj9uxTFC5ksytlKmOZX5GXzR2G4gtl+dWznfsq1v5hTeu8UeXknkC32RH+HQpXye4Wl1orbd/C7jgMuhz/1gnUZpSWbC6TiiVPvc+SQZ4KOGxzEJTufnb4eMeeXS1urzPbaIq9vFHl5IOsFXN5E5driXaH9sTRduunzCDFX69z7PPVXu+T1jFJPkAD1VBzsqu+Vf+kVKjZVcq+qlukDlvCw363JnoRx9da02Ah/LVD8sJHlu0avXH+er5uiLVZdnnMht/dKl1AR5KuT+W5YNnRe/hSOdWbZ9bynKX2xRV1eeS3iwOZ7yuA8SutQG2ki6rv9Afc+9z5eXsbtvK5X/S6gAPDYJ8afYI5feUGtMfn756dH33GOdtIfK0aMcZAnxD0ttOpj+2/yAE7aDPTQcC/A/afmwxImyP+YWCAN8h8f44duhzR4QAf0Ebjy02qQ3jjy4hwCPCbZl+2WN+QqoN9LnjQYDH1IZji4ElecwvFAR4AuiPXWnn+KNLCHANCR9b9Ap9rjsIsAPoj0fTpmN+oSDAjlxNc20QyWTfg1sDtoU8QYAdQ398G/pcnxBgT9peVmP8MQwE2LP8+dmGVnK9LUHGMb+wEOAAWlJWo89tAAIcEOMzuPcyX6KeKOUmtoXCQ4AbkEp/jD63eQhwg67GMu22E7eD9Rh/jAQC3DB2/bF9mx/63GggwJGo+mOpj2ItqzH+GCcEODKx9ccYf4wbAhyhfPl9R01NbTR8bBF9LgMIcMSa648x/sgFAsxA/vz3Ra2yfd9lddXnSrVZ/Dw70qXw0DwEmBFf/TH6XL4QYGYcH1vE+CNzCDBTDvrjl7Kc3kRweUOAmRu3rMb4Y1oQ4ER86dhi1edqtY23HKQFAU7IHWU1+tyEIcAJGh5bNPu5fRzzS9v/AWiP/NYPzz1QAAAAAElFTkSuQmCC"})));var ml="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzMgMzMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Im0xNS41IDEgMTMuNDIzIDcuNzV2MTUuNUwxNS41IDMyIDIuMDc3IDI0LjI1VjguNzVMMTUuNSAxWiIgZmlsbD0iI2ZmZiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik0wIDBoMzN2MzNIMHoiLz48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVybkNvbnRlbnRVbml0cz0ib2JqZWN0Qm91bmRpbmdCb3giIHdpZHRoPSIxIiBoZWlnaHQ9IjEiPjx1c2UgeGxpbms6aHJlZj0iI2IiIHRyYW5zZm9ybT0ic2NhbGUoLjAwNDE3KSIvPjwvcGF0dGVybj48aW1hZ2UgaWQ9ImIiIHdpZHRoPSIyNDAiIGhlaWdodD0iMjQwIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3BuZztiYXNlNjQsaVZCT1J3MEtHZ29BQUFBTlNVaEVVZ0FBQVBBQUFBRHdDQVlBQUFBK1ZlbVNBQUFBQ1hCSVdYTUFBQ0U0QUFBaE9BRkZsakZnQUFBQUFYTlNSMElBcnM0YzZRQUFBQVJuUVUxQkFBQ3hqd3Y4WVFVQUFCTEhTVVJCVkhnQjdkMWZWaHczRmdid0t4WDJqSUU0N1FXWUZDdElXTUhBQ29MQmVRNWVBYkFDbWhVQUs4QjVEdGlkRmNBT2NGYmdNbG1BZXh5TWs0R1NScXFtQ1NZQmQzZEpLbDNWOTN2S09mUG5uTkQ5ZGQwclhha0VRWEx5NVUrTE90TmJtblFoUzdsZDlCNFZCRWtTQk1uSWwzVkh5VTliSlBUR1ovK0JsdDBQNm8rOWZ1OUpueUFwQ0hBaTVsWnNjRXNUWE5HNTQ3OVNhSzIzZjNzMSs1SWdHUWd3YzdaY1ZsTHRtMDh5SC9GL1lzdnFKWlRWYVVDQW1UTEJ6VTJmdTIvNjNFV2F6RXYweC93aHdNd00rdHcvMWttb0x0WFhOLzN4N3VtclI5c0VMQ0hBak9TcjUrdUtiSER2N0hNbmhmNllLUVNZZ1J2YlFvdmtrU0RSRTZYWVJGbk5Cd0ljTVFkOTdxVFFIek9CQUVmb3J6NzMzbTBoMzFCV000QUFSK2JweXRtYUVMVFRZSEJ2S3pTVm03OGRQdTRSUkFjQmprU29QcmNHbE5VUlFvQWJWcFhMMmNkZDgxSDhTQnhvMlpXS2ZrS1E0NEFBTnlTU1BuZFM2SThqZ1FBM1lJTHh4MWdWc256d3JPZzlmRVBRQ0FRNG9QeUhzKyswa2pzUjk3bVRRbi9jRUFRNGdEdVArYVhHOU1jWXl3d0xBZmJNNC9oanJOQWZCNFFBZTVKUW56dXBONmFzZm9heTJpOEUyTEVHeHg5amhmN1lJd1RZRWNmSC9GSlRtUDc0SmZwajl4QmdCMXJZNTA0Sy9iRmpDSEFORE1ZZm80UmppKzRnd0JNWTlMbks3T2ZTTWtFZDZJOXJRb0RId0h6OE1WWW9xMnRBZ0VkVUhmTWpzZFhpYlNIZmNHeHhBZ2p3RjZEUERRNWw5UmdRNER1d08rYVhHcnhOWWlRSThDM29jNk9DL3ZnTEVPQWJNUDRZTGJ4TjRnNElNQ1Y5ekM4MTZJOXZhWFdBVzNQTUx6VTR0bml0dFFIRytDTjc2SStwaFFHMmZXNHB5MTBoeExjRUtXajFzY1hXQkJqSC9KTFh5djQ0K1FCalc2aFZDdEppNy9UVjlDNjFSTklCUnAvYldxM3BqNU1NTU1ZZjRVcnlaWFZTQWJaOXJzcktMc1lmNFROYTdFb2w5bElNY2hJQlJwOExJMGl5ckdZZjRLZXJINWVGcGgyTVA4S0k3RmptQy9NMFBxWUVzQTB3K2x5b0tZbittRjJBTWY0SVRqRS90c2dxd0hNck5yam9jOEU1dHYweGl3RGptQjhFd3U3WVl0UUJ4dmdqTklSTmZ4eGxnTkhuUWdUNnBqL2VqZjNZWW5RQlRtVDhzVzkrZkxhbCtRZXQ1TG9XT2lmZ0t1citPSm9BcDNQTVQrL0pjcVpiOUVTMXFvbnBzRFFJRXNlaUZDOWlLNnNiRDNBcWZXNzFBVXUxV2Z3OCsrYWYvdlBxMzFQcUl6eU4yWXVxUDI0c3dLbU1QNXJnRmtLVUw0cURyNDVIK2UvbksyZHJtdVFXZ3N4YU5NY1dHd2x3OVpZRFFUdjgrMXkxSnk5bmQ0Zmw4cWhRVmllajhmNDRhSUJUR1g4MGY3U2VLR1h0dCt0ZHZTVHR0U2I2am9DenhzcnFJQUZPNVlsVDlibWkzQjYxWEI0Vnl1cEVOSEJzMFd1QUV6cm1WMjBMblI3TWV1dDVxaCs1cWNzMXMvZTRSY0JaMExMYVc0QVRPdVpueXFQcHpYSDczRWtOcXBWTDgwTWh2eWZnckpEbGcyZEY3K0ViOHNoNWdCTTk1aGU4eDBGWm5ReXYzeDFuQVc3QitHTWpvM1Z6ejMvdm9xeE9nS2UzU1RnSmNNdU8rUVhmT3NDMlV6S2NmM2RxQmJqbHgveUN2eEVBWlhVeW5CMWJyQlhndWRXUG1pQjRmM3hWVnErYmY4VEZCbndWcDRjejgxU1RKS2hyVFdYcXFHb2pBams5K0twcmZqUVdUR1AxRTBHckljQnU1Q1JVMTFRa2IrMllLQVZnbi9pbmg3TnJVdWhOZ3RaQ2dOM0toUkQ3MzZ5ZXY3WUxUeFJBY1RDN2E1N0c4MEtMZ3FCMUVHQVB6Qjc0c2ltcjM1b244bjZJSU51bnNWQmlDU0Z1SHdUWXI2disrTno3M2poQzNFNUpCdGdzclhzZFh4dVQ2WS8xVG9qK0dDSCtuRDE4SXFsOGx2SmlYMUlCdG9mcnBWQkw3dzVuRm14ZkdOa0hWL1hIdnN2cUtzU1pNbDlhWW5sUnVRdlY5MERyRis4T3A1ZUt3OGU5YXJFdjBYV0NWQUpzRDlkdmkvTFJ3dkNvMy9VcXJma2dJL3ZnMXFyKzJPTzJrNzNXeDZ4T1IzMmJvaWQvZlE5dVRUdlo3OE83VjlQekVYNGZha2xoa0dPa1FZcEloeCs4VG5QWjFYQzdvRVl0TU02bGM1RWMzWFF5eU1FMndKTWNybzkwcHJpUVVqKzc2eks4T3ZMbDl4MlZQWHhMQ1U5c0NVMi9DcWsySnJsa29lSHZRMnNEWFB0d2ZmNzg5MFd0c3YySVpvcjdKc1JMUGtJOHQySXFENUhrYVNabmx5dzBOR1Bld2dDYi9tYVNTK1R1a2o4LzI0am80blZ2SWY1bTVmeHRXZ2NnUHI5NzJ4WGJaZ21WL1Jqb2I5V2VXZWhxTzhDc0l0b1pZSmNmbXAxaXN0c3VrYXhXZDVRU1Iva1BaODR2dUJPazlpZ0IxOStEdzlrTkh6ZWsyTzlYUk4rSGtVVDlCQjczenVVNklycDR2ZmhRL20vQjVmdHF1ZmZDSWI4SFE0UCtXSjJRdjc5WitrOWdyYWxIbDFNRkJSRFJOa1ArZGZhdjErUlFZWDhNRk10aGhyOXRENFp3ZGM3OWlCajg0TVZkUWd1OVlVY1JRNTN3c2V6K1lkTmxsTDFQelBYNHBjeDBqM2l4bHdrNmI1dnVZNE5ydHQ2TzdIZU95eVVWbkJheDdDMEdkcC92bUFKcCtPTDF2aW1sNTEyVzB1YnplaytSUDFWODNiMTluNGJ1YzJ2ZGdmNjhPaGdRNklTUFZaWFZkaXl6bWJLNjgxait5KzMyajZKZktGNzk2L0hIUU9HMXdiVVRjU3I3K0piclpZd2NSeW12UnhFN1puR0dBcmd1cTAwL1JpR1pMNVhMSHlzcGRFeUhQSWFxUHRlV3kwWEFpd0p0VzZiaytZbTlpSUh6Wll4OFo2SE5ILzV4OXZBazZBMFlnNnRzNW0yWlI0R282clpQUjJSY0FiN2FGbHBvb3MrMUIwdFN1SXd4bFV2dGd0eUNmNU1kQWxGYTJCTFg5NiszczE3NGFqdnBQVFdzenZqanBLN1dNM2JNRnphVzJYQmNhbmVENlk4dlRvTDJ4NE9yYkJZQzlNYTJGMTRqQjRyQmowQ1R4d3p0K09QbXUxY3ozNFh2Yzh1VGlNTHJUR29IK3IwZjFidHBjSUQrendYZkpiVVE1TzQ5U2JxcEFOdnhSN3N0NU84RmNiZmxxK2ZyZ3dVcTNuM3VmVksrRnpyb0d4VG1WczllK2p6Vllzcm9KeTdLNkxrVis0VU8xL3MxVkM0dmxyTGNOWDN1dHhRdmxOQmZNTHdCNDIySXN0cGVIdUJ6K0tNejllOG05cUpyMG50Q1RTK0dLNWMvNWNOQmpNakQ2MHdiTHJYTFE5MFFLY3VMRFYvM2NhbXk1TlcvbVY3WDE2R0Qyd1o5N3ZtTy9ad1RleXZtRjdYcFZrcmJINTk0dmNyR2xMaWlsSDd1bzVJaUp4NzY5bDZ5VUwwdTkwR011dHAycld4bitBWUZYMDlqdTdCbHZzRFB5RDBPSmVIZ1RIT1kwMk9MZzM0KzNRV3FVYlQxWHVocUxQUHA2a2N2WmVuZ0MrejhERzc4SjJPMDN2UnhJY0ZOSEE4YytOVG1pOTF6MDYrKzlsVlN5L0t5UzI1TDZiZ0RMR2piNXloazFlZWFsWDRiM0xiMXVmZkJteGxzU2UwaHhOWFFoSGI3RkE0MSt6MHU4MFBZT3oyWTZaSW50bEtxK2x5ODRQeHZFR0NyQ3JINzE1OUlkV2tYY3B3OWhUdjA3K2dDWE4yV1VVcHZiMGkwcTh1MlVtcHpuM3NmQkhoSTZKMzgrYWRGY3NqSFV6ZzJRaXN2THplM0pmUFRsYk0zYlYxZEhoVUNmSVBTeXZsclFhK2V3a215VDE4ZmZXOTFINVU4UDJuTE1FWWRDUERuT2pyVCsrUlF0VGNjOFBoaFNQYnBTNDROd29zVjVsRkZmaWNXYlllK204ckhmVlRteVo3YzIvRjhQWDFMV2ZZUTN0SEZmU3VsMG9NWGxBbTFGUFNWb1VJN3ZlMGpVeGM5U295UHAyKzFZSVd5ZVN3c1NtZzdHQkg0YnFyT1kvblEyVk80V3N3U1ViMnp1TGErNHgrbDZtWVZMRmlOalZVUGJFdTJZSGMzQzFwM3V1OWEwcStVamwvY1hqei9LVGNsZVlydmIvS081U0xXZFpDRjN2UVlaS2RQNFVndmxKdUkrUUYxK3ZTdDNoQ0l2bmNpckZlaHI5OXQ1T3UyU1BNVUprZEtvUXBLaGNxT3laSEJ0aDBtckNiRmZodnA1bTJSSGxhc082NkdPeklwQzBwQXRmcnNjSEREOWJaZDJ5U3pEMXdGMmE1WU93NnlzNFAwRjFtVGw4bTVWSkFqMVUyUk9KaFFTM0tESERlRDdHVHJTUXAzRjhvbFFDdmxiREd1Nm4yaGxtUW5zYW9iSTB2bFlzZytEM1ZWTFF2Q1lTdWd4WDhJYXNFbzVTaXlDNFlYeXZtaFNUbHBCWjZ1ZmxqR3luTjlDUEFJbEo3S0Nad1NKSk83WkwwSkNQQW9NTjduSHY2bVRpUWU0S21DbkZCUEtCV2krYXQ1N0R1YVRDMk90c1FCUElGSFlQWSt2NlowUkhDenhSVEM2d2dDRE1HVm1jYjFPSTRnd0JDYzBCbWV3STRnd0FDTUljQVFua1lKN1FvQ0RBM0FGYkd1SU1BQWpDSEFBSXdod0FDTUljQUFqQ0hBQUl3aHdLRThLTEh5Q3M0aHdLRmNZTzhUM0VPQUFSaERnQUVZUTRBQkdFT0FBUmhEZ0FFWVE0QUJHRU9BWVN5Q1JFNFFEUVFZZ0RFRUdJQXhCQmlBTVFRWWdERUV1RVh3a3JiMElNQUFqQ0hBQUl3aHdBQ01JY0Fqd1ZsZWlCTUNQQUlkeFF2QkFQNE9BUVpnREFFR1lBd0JCbUFNQVFaZ0RBRUdZQXdCQm1BTUFRWmdEQUVPcEpRaUp3REhFR0FBeGhCZ0dJL0dXR2xNb2c1d0pyT0NJQzR5KzVvZ0duZ0NBekNHQUFNd2hnQURNSVlBQXpDR0FBTXdoZ0FETUlZQUF6Q0dBTGZKZ3pLT0lReXBNQXppQ0FMY0poZHhURkVKd2pDSUt3Z3dBR054QjFoZm9OUUN1RWZVQVZhVXZaNWIrYlRWV1g2UElGY3kvQjNnTS9HWDBFSjFIMmNQVDU2dW5LMVIyMDFGc2dnRjBlRFNBK2RDaVAyNTFZOXY4WVk5Z0w5d1c4VEtWYWJlbWlEdkk4Z0FmRmVoMTB5UVQyeC9UQUF0eG5rYnFXUDdZMXRXMzlVZkY3MUhCUUVrTElWOTRLby8vbWIxL0FobE5iUk5Nb01jbXZRaSttTm9teFFuc1d4L2ZEUzNjcjVCNEp3Z25STkVJOVZSeXB5RTNySDlNUUVrTFBWWjZKd2lJVWprQk9BWURqUEFXRFNKZ2lBYUNEQ01SNVgvSllnR0FnempFYklnaUFZQ0RHT1JVcndoaUFZQ0RHUHBYLzVSTzhCYVl5dktGUVFZUm1aVzBvLzd2U2Q5cWt2RXN6dkFIUUlNSXhOYS9VUTE1VCtjZlVmZ1RLMEFTNjFmQ0kxdGhUWXdUOStpZURYN2ttb3FsY3FwNVd3bEk0VjZRUTdVQ3JEOVFOKzltcDZYUW04aXlHa1RwVmdpQjRTU2k5UlM5a2ZRUHZUZUhVNHZGUWRmSFpNRFRrcm80bUIyVnlqN0FldmFKVmFrT3EwK0lDRm8yOW5SekV6OGg5cW5iMzY1dGtYNWFNRkZGWE9Uc3g3WWZzQ25oN05yc3BUenRrU2d0SFNxazA3TUw5Z3JzMG51aGRaN3B3Y3pYWEtnK2hIVTFLb2VXQkQxVENZV1RnKys2aFk5VVg4QjhCYm5pMWcyeUxaRVNMSS81bjdCbnBaakJ0aUU5M0RXMmFtdVVwYUwxQkpYZmU3U3U4T1paejR2bHZDMkNqM3NqMjNwUUxhRVNFYzdMdGd6NnhvdXcxdjlYNUpvd3hWSWZmdTNjOW5uM3NmN05wSXRIV3dKa1dCL25PUUZlOVZDaTNseW5KcDFEWExvNmVxSDVlVDNmODNEU3BiVDg2Ny9kdmNKc2cvOFdYK2MzbXAxUWhmczZiMXFvY1hEazBQUzFEb2xxaXFYelhmYlY1OTduNkNESEZWL2JMZWQwdXVQdjNqQlhzeXVuN3FtWlBieEJiUi9FM3ZsRVNWbStIZXJ5dVdHTGxCc1pCTEw5c2RDL2JsdzFSK25oTnNGZTlYMmh2a0N6dnZzMXhMc2ZZZDk3bnlJUHZjK2pZMVNGcjBuL2F2K2VENjEvcGpKQlhzdmg5c2I1TkhjeXNldHRIcGZ2UmU2ejczUEZEWHNxdlJZeTFjLzlMU2UydEVpcVpNcXRqOWVuRnM1MzdPeGpvSHQxNFFvdDBNOE9lemNzMUxVcFFSVWZ6ZXBOb3VmWjZNNlRpa29Nbm5WTDhtdHhJTHNoQlRTYkUwOE9xWUo1Y3U2RTJxUnhWWWVTcW9qN2s5ZjIrZWFIN3dYVFpmS2Q0bnVOTktnUDA1NkxMTXg0Y0tyTzZVc2U4ekQrOWY0WTZUaHRhSThUbmh6MndsQjVrZG41L3RtTWU5YjR1dmxvTThOdnkwMHJzWjc0UHRjOThjclo4Y29xK05ubjd3NisvU2E2NVpSeVBVQlY2THJnZTh6OS96M3JsRFpqMjBOY3QwZTJDZmI4OXF5bWVtVHR5KzEzblI5VWlnRVZqZHkySklHL1hGOFRIZ1g3WUlWdy9EMmgrT1BITU5yc1hvQzMyUi84WFdtVExuV251TnBzVDJCYmNtczVDZXp6NnZadlllcUtwZEw4WUw3SzJqWjNvazFPTFk0czRCcmZacnhkUFhqc3BMbko5ekNLelQ5MnZUNG8wdHNuOEMzMmY2WXRFejZ1Rm9NVDJCYkx1dE1iekZjcUxMamo5dXhURkM1a3N5dGxLbU9aWDVHWHpSMkc0Z3RsK2RXem5mc3ExdjVoVGV1OFVlWGtua0MzMlJIK0hRcFh5ZTRXbDFvcmJkL0M3amdNdWh6LzFnblVacFNXYkM2VGlpVlB2YytTUVo0S09HeHpFSlR1Zm5iNGVNZWVYUzF1cnpQYmFJcTl2RkhsNUlPc0ZYTjVFNWRyaVhhSDlzVFJkdXVuekNERlg2OXo3UFBWWHUrVDFqRkpQa0FEMVZCenNxdStWZitrVktqWlZjcStxbHVrRGx2Q3czNjNKbm9SeDlkYTAyQWgvTFZEOHNKSGx1MGF2WEgrZXI1dWlMVlpkbm5NaHQvZEtsMUFSNUt1VCtXNVlOblJlL2hTT2RXYlo5YnluS1gyeFJWMWVlUzNpd09aN3l1QThTdXRRRzJraTZydjlBZmMrOXo1ZVhzYnR2SzVYL1M2Z0FQRFlKOGFmWUk1ZmVVR3RNZm43NTZkSDMzR09kdElmSzBhTWNaQW54RDB0dE9waisyL3lBRTdhRFBUUWNDL0EvYWZtd3hJbXlQK1lXQ0FOOGg4ZjQ0ZHVoelI0UUFmMEViankwMnFRM2pqeTRod0NQQ2JabCsyV04rUXFvTjlMbmpRWURIMUlaamk0RWxlY3d2RkFSNEF1aVBYV25uK0tOTENIQU5DUjliOUFwOXJqc0lzQVBvajBmVHBtTitvU0RBamx4TmMyMFF5V1RmZzFzRHRvVThRWUFkUTM5OEcvcGNueEJnVDlwZVZtUDhNUXdFMkxQOCtkbUdWbks5TFVIR01iK3dFT0FBV2xKV284OXRBQUljRU9NenVQY3lYNktlS09VbXRvWENRNEFia0VwL2pENjNlUWh3ZzY3R011MjJFN2VEOVJoL2pBUUMzREIyL2JGOW14LzYzR2dnd0pHbyttT3BqMkl0cXpIK0dDY0VPREt4OWNjWWY0d2JBaHloZlBsOVIwMU5iVFI4YkJGOUxnTUljTVNhNjQ4eC9zZ0ZBc3hBL3Z6M1JhMnlmZDlsZGRYblNyVlovRHc3MHFYdzBEd0VtQkZmL1RINlhMNFFZR1ljSDF2RStDTnpDREJURHZyamw3S2Mza1J3ZVVPQW1SdTNyTWI0WTFvUTRFUjg2ZGhpMWVkcXRZMjNIS1FGQVU3SUhXVTErdHlFSWNBSkdoNWJOUHU1ZlJ6elM5di9BV2lQL05ZUHp6MVFBQUFBQUVsRlRrU3VRbUNDIi8+PC9kZWZzPjwvc3ZnPg==",Pl=Object.defineProperty,$l=Object.getOwnPropertySymbols,ku=Object.prototype.hasOwnProperty,Dc=Object.prototype.propertyIsEnumerable,pu=(Ue,he,Pe)=>he in Ue?Pl(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,hu=(Ue,he)=>{for(var Pe in he||(he={}))ku.call(he,Pe)&&pu(Ue,Pe,he[Pe]);if($l)for(var Pe of $l(he))Dc.call(he,Pe)&&pu(Ue,Pe,he[Pe]);return Ue};const yu=Ue=>g.createElement("svg",hu({className:"displayReset_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ue),g.createElement("path",{d:"m193.07 70.353 5.423.931a34.91 34.91 0 0 1 28.37 40.425l-.024.07-12.87 72.541A448.698 448.698 0 0 1 507.857 75.38c246.831 0 447.023 197.912 447.023 442.182S754.688 959.744 507.857 959.744c-160.186 0-305.687-84.084-385.466-218.159a37.795 37.795 0 0 1 13.359-51.921 38.167 38.167 0 0 1 52.154 13.289c66.21 111.243 186.903 180.992 319.953 180.992 204.87 0 370.851-164.096 370.851-366.383S712.728 151.18 507.858 151.18c-107.288 0-206.802 45.265-276.318 121.995H373.04a34.91 34.91 0 0 1 0 69.818H163.584c-2.607 0-5.19-.279-7.657-.837a34.63 34.63 0 0 1-5.26-.512l-5.422-.931a34.91 34.91 0 0 1-28.346-40.495l35.77-201.588a34.91 34.91 0 0 1 40.402-28.277z",fill:"#fff"}));var os="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0ibTE5My4wNyA3MC4zNTMgNS40MjMuOTMxYTM0LjkxIDM0LjkxIDAgMCAxIDI4LjM3IDQwLjQyNWwtLjAyNC4wNy0xMi44NyA3Mi41NDFBNDQ4LjY5OCA0NDguNjk4IDAgMCAxIDUwNy44NTcgNzUuMzhjMjQ2LjgzMSAwIDQ0Ny4wMjMgMTk3LjkxMiA0NDcuMDIzIDQ0Mi4xODJTNzU0LjY4OCA5NTkuNzQ0IDUwNy44NTcgOTU5Ljc0NGMtMTYwLjE4NiAwLTMwNS42ODctODQuMDg0LTM4NS40NjYtMjE4LjE1OWEzNy43OTUgMzcuNzk1IDAgMCAxIDEzLjM1OS01MS45MjEgMzguMTY3IDM4LjE2NyAwIDAgMSA1Mi4xNTQgMTMuMjg5YzY2LjIxIDExMS4yNDMgMTg2LjkwMyAxODAuOTkyIDMxOS45NTMgMTgwLjk5MiAyMDQuODcgMCAzNzAuODUxLTE2NC4wOTYgMzcwLjg1MS0zNjYuMzgzUzcxMi43MjggMTUxLjE4IDUwNy44NTggMTUxLjE4Yy0xMDcuMjg4IDAtMjA2LjgwMiA0NS4yNjUtMjc2LjMxOCAxMjEuOTk1SDM3My4wNGEzNC45MSAzNC45MSAwIDAgMSAwIDY5LjgxOEgxNjMuNTg0Yy0yLjYwNyAwLTUuMTktLjI3OS03LjY1Ny0uODM3YTM0LjYzIDM0LjYzIDAgMCAxLTUuMjYtLjUxMmwtNS40MjItLjkzMWEzNC45MSAzNC45MSAwIDAgMS0yOC4zNDYtNDAuNDk1bDM1Ljc3LTIwMS41ODhhMzQuOTEgMzQuOTEgMCAwIDEgNDAuNDAyLTI4LjI3N3oiIGZpbGw9IiNmZmYiLz48L3N2Zz4=",ju=Object.defineProperty,ps=Object.getOwnPropertySymbols,Ki=Object.prototype.hasOwnProperty,Ts=Object.prototype.propertyIsEnumerable,qs=(Ue,he,Pe)=>he in Ue?ju(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Uo=(Ue,he)=>{for(var Pe in he||(he={}))Ki.call(he,Pe)&&qs(Ue,Pe,he[Pe]);if(ps)for(var Pe of ps(he))Ts.call(he,Pe)&&qs(Ue,Pe,he[Pe]);return Ue};const su=Ue=>g.createElement("svg",Uo({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#settings-sliders_svg__a)"},g.createElement("path",{d:"M.833 3.958h2.28a3.107 3.107 0 0 0 5.996 0h10.058a.833.833 0 0 0 0-1.667H9.109a3.107 3.107 0 0 0-5.996 0H.833a.833.833 0 0 0 0 1.667Zm5.278-2.292a1.458 1.458 0 1 1 0 2.917 1.458 1.458 0 0 1 0-2.917ZM19.167 9.167h-2.28a3.106 3.106 0 0 0-5.995 0H.833a.833.833 0 0 0 0 1.666h10.059a3.105 3.105 0 0 0 5.995 0h2.28a.833.833 0 0 0 0-1.666Zm-5.278 2.291a1.458 1.458 0 1 1 0-2.915 1.458 1.458 0 0 1 0 2.915ZM19.167 16.042H9.109a3.107 3.107 0 0 0-5.996 0H.833a.833.833 0 1 0 0 1.666h2.28a3.107 3.107 0 0 0 5.996 0h10.058a.833.833 0 0 0 0-1.666ZM6.11 18.333a1.458 1.458 0 1 1 0-2.915 1.458 1.458 0 0 1 0 2.915Z"})),g.createElement("defs",null,g.createElement("clipPath",{id:"settings-sliders_svg__a"},g.createElement("path",{d:"M0 0h20v20H0z"}))));var cs="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNLjgzMyAzLjk1OGgyLjI4YTMuMTA3IDMuMTA3IDAgMCAwIDUuOTk2IDBoMTAuMDU4YS44MzMuODMzIDAgMCAwIDAtMS42NjdIOS4xMDlhMy4xMDcgMy4xMDcgMCAwIDAtNS45OTYgMEguODMzYS44MzMuODMzIDAgMCAwIDAgMS42NjdabTUuMjc4LTIuMjkyYTEuNDU4IDEuNDU4IDAgMSAxIDAgMi45MTcgMS40NTggMS40NTggMCAwIDEgMC0yLjkxN1pNMTkuMTY3IDkuMTY3aC0yLjI4YTMuMTA2IDMuMTA2IDAgMCAwLTUuOTk1IDBILjgzM2EuODMzLjgzMyAwIDAgMCAwIDEuNjY2aDEwLjA1OWEzLjEwNSAzLjEwNSAwIDAgMCA1Ljk5NSAwaDIuMjhhLjgzMy44MzMgMCAwIDAgMC0xLjY2NlptLTUuMjc4IDIuMjkxYTEuNDU4IDEuNDU4IDAgMSAxIDAtMi45MTUgMS40NTggMS40NTggMCAwIDEgMCAyLjkxNVpNMTkuMTY3IDE2LjA0Mkg5LjEwOWEzLjEwNyAzLjEwNyAwIDAgMC01Ljk5NiAwSC44MzNhLjgzMy44MzMgMCAxIDAgMCAxLjY2NmgyLjI4YTMuMTA3IDMuMTA3IDAgMCAwIDUuOTk2IDBoMTAuMDU4YS44MzMuODMzIDAgMCAwIDAtMS42NjZaTTYuMTEgMTguMzMzYTEuNDU4IDEuNDU4IDAgMSAxIDAtMi45MTUgMS40NTggMS40NTggMCAwIDEgMCAyLjkxNVoiLz48L2c+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMCAwaDIwdjIwSDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+",rc=(0,g.memo)(function(Ue){var he=Ue.displayOption,Pe=Ue.onChangeImageDisplayOpts,Un=Ue.onChangeAnnotsDisplayOpts,vt=(0,F.bU)(),zn=vt.localeText,En=(0,g.useMemo)(function(){return(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container",children:[(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-header",children:[(0,x.jsx)("div",{children:zn("DDSAnnotator.imgDisplayTool.title")}),(0,x.jsx)(C.ZP,{type:"primary",className:"dds-annotator-display-pop-container-btn",icon:(0,x.jsx)(H.Z,{component:yu}),onClick:function(){return Pe(W.O4)}})]}),(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,x.jsx)("label",{children:zn("DDSAnnotator.imgDisplayTool.brightness")}),(0,x.jsx)(Yn.Z,{value:he.brightness,onChange:function(Fn){return Pe(t()(t()({},he),{},{brightness:Fn}))},min:0,max:200})]}),(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,x.jsx)("label",{children:zn("DDSAnnotator.imgDisplayTool.contrast")}),(0,x.jsx)(Yn.Z,{value:he.contrast,onChange:function(Fn){return Pe(t()(t()({},he),{},{contrast:Fn}))},min:0,max:200})]}),(0,x.jsxs)("div",{className:"dds-annotator-display-pop-container-option",children:[(0,x.jsx)("label",{children:zn("DDSAnnotator.imgDisplayTool.saturate")}),(0,x.jsx)(Yn.Z,{value:he.saturate,onChange:function(Fn){return Pe(t()(t()({},he),{},{saturate:Fn}))},min:0,max:200})]})]})},[he.brightness,he.contrast,he.saturate,Pe,Un]);return(0,x.jsx)(gn.Z,{placement:"top",content:En,trigger:"click",overlayClassName:"dds-annotator-display-popover",color:"#212121",children:(0,x.jsx)(L.Z,{title:zn("DDSAnnotator.imgDisplayTool.title"),children:(0,x.jsx)(H.Z,{component:su,className:"dds-annotator-display"})})})}),el=rc,pl=Object.defineProperty,Ls=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,Es=Object.prototype.propertyIsEnumerable,bu=(Ue,he,Pe)=>he in Ue?pl(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Pu=(Ue,he)=>{for(var Pe in he||(he={}))fi.call(he,Pe)&&bu(Ue,Pe,he[Pe]);if(Ls)for(var Pe of Ls(he))Es.call(he,Pe)&&bu(Ue,Pe,he[Pe]);return Ue};const hl=Ue=>g.createElement("svg",Pu({viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("g",{clipPath:"url(#label_svg__a)"},g.createElement("path",{d:"M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27Z",fill:"#26A1F4"}),g.createElement("path",{d:"m18.201 12.527-.007-.008-3.721-3.723s-4.535 4.535-6.72 6.765c-.273.278-.479.664-.601 1.037-.359 1.097-.656 2.215-.986 3.322-.088.297-.07.559.162.78.22.211.466.219.751.133 1.055-.316 2.116-.617 3.176-.92a3.243 3.243 0 0 0 1.432-.865c2.082-2.095 6.514-6.521 6.514-6.521ZM20.373 7.9l-1.272-1.272a1.74 1.74 0 0 0-2.46 0l-1.442 1.44 3.733 3.734 1.442-1.442a1.74 1.74 0 0 0 0-2.46Z",fill:"#fff"})),g.createElement("defs",null,g.createElement("clipPath",{id:"label_svg__a"},g.createElement("path",{fill:"#fff",d:"M0 0h27v27H0z"}))));var Wu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgMjciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTMuNSAyN0MyMC45NTYgMjcgMjcgMjAuOTU2IDI3IDEzLjVTMjAuOTU2IDAgMTMuNSAwIDAgNi4wNDQgMCAxMy41IDYuMDQ0IDI3IDEzLjUgMjdaIiBmaWxsPSIjMjZBMUY0Ii8+PHBhdGggZD0ibTE4LjIwMSAxMi41MjctLjAwNy0uMDA4LTMuNzIxLTMuNzIzcy00LjUzNSA0LjUzNS02LjcyIDYuNzY1Yy0uMjczLjI3OC0uNDc5LjY2NC0uNjAxIDEuMDM3LS4zNTkgMS4wOTctLjY1NiAyLjIxNS0uOTg2IDMuMzIyLS4wODguMjk3LS4wNy41NTkuMTYyLjc4LjIyLjIxMS40NjYuMjE5Ljc1MS4xMzMgMS4wNTUtLjMxNiAyLjExNi0uNjE3IDMuMTc2LS45MmEzLjI0MyAzLjI0MyAwIDAgMCAxLjQzMi0uODY1YzIuMDgyLTIuMDk1IDYuNTE0LTYuNTIxIDYuNTE0LTYuNTIxWk0yMC4zNzMgNy45bC0xLjI3Mi0xLjI3MmExLjc0IDEuNzQgMCAwIDAtMi40NiAwbC0xLjQ0MiAxLjQ0IDMuNzMzIDMuNzM0IDEuNDQyLTEuNDQyYTEuNzQgMS43NCAwIDAgMCAwLTIuNDZaIiBmaWxsPSIjZmZmIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgyN3YyN0gweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",Tu=Object.defineProperty,Zl=Object.getOwnPropertySymbols,Tl=Object.prototype.hasOwnProperty,Ul=Object.prototype.propertyIsEnumerable,Xo=(Ue,he,Pe)=>he in Ue?Tu(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,B=(Ue,he)=>{for(var Pe in he||(he={}))Tl.call(he,Pe)&&Xo(Ue,Pe,he[Pe]);if(Zl)for(var Pe of Zl(he))Ul.call(he,Pe)&&Xo(Ue,Pe,he[Pe]);return Ue};const ve=Ue=>g.createElement("svg",B({viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M13.5 27C20.956 27 27 20.956 27 13.5S20.956 0 13.5 0 0 6.044 0 13.5 6.044 27 13.5 27Z",fill:"#FFD305"}),g.createElement("path",{d:"m20.713 19.26-.369-.37-.063-.064-1.493 1.493.036.036.396.396c.254.254.791.125 1.207-.287.415-.412.54-.952.286-1.204ZM16.709 15.31a5.797 5.797 0 1 0-1.515 1.47l3.229 3.181 1.493-1.492-3.207-3.16Zm-4.655.717a4.092 4.092 0 1 1 0-8.184 4.092 4.092 0 0 1 0 8.184Z",fill:"#fff"}));var Ze="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjcgMjciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEzLjUgMjdDMjAuOTU2IDI3IDI3IDIwLjk1NiAyNyAxMy41UzIwLjk1NiAwIDEzLjUgMCAwIDYuMDQ0IDAgMTMuNSA2LjA0NCAyNyAxMy41IDI3WiIgZmlsbD0iI0ZGRDMwNSIvPjxwYXRoIGQ9Im0yMC43MTMgMTkuMjYtLjM2OS0uMzctLjA2My0uMDY0LTEuNDkzIDEuNDkzLjAzNi4wMzYuMzk2LjM5NmMuMjU0LjI1NC43OTEuMTI1IDEuMjA3LS4yODcuNDE1LS40MTIuNTQtLjk1Mi4yODYtMS4yMDRaTTE2LjcwOSAxNS4zMWE1Ljc5NyA1Ljc5NyAwIDEgMC0xLjUxNSAxLjQ3bDMuMjI5IDMuMTgxIDEuNDkzLTEuNDkyLTMuMjA3LTMuMTZabS00LjY1NS43MTdhNC4wOTIgNC4wOTIgMCAxIDEgMC04LjE4NCA0LjA5MiA0LjA5MiAwIDAgMSAwIDguMTg0WiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",ot=(0,g.memo)(function(Ue){var he=Ue.mode,Pe=(0,F.bU)(),Un=Pe.localeText;return he===W.je.View?null:(0,x.jsx)("div",{className:c()("dds-annotator-editor-status","dds-annotator-editor-status-".concat(he)),children:he===W.je.Edit?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(hl,{}),Un("DDSAnnotator.status.labeling")]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ve,{}),Un("DDSAnnotator.status.reviewing")]})})}),Lt=ot,Nn=e(12673),Fr=e(51244),oo=(0,g.memo)(function(Ue){var he=Ue.onAdd,Pe=(0,F.bU)(),Un=Pe.localeText,vt=(0,g.useRef)(null),zn=(0,g.useState)(""),En=s()(zn,2),On=En[0],Fn=En[1],mr=function(jn){jn.stopPropagation(),Fn(jn.target.value)},fr=function(){var jn;On!==""&&(he(On),Fn(""),(jn=vt.current)===null||jn===void 0||jn.focus())};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(Fr.Z,{style:{margin:"8px 0"}}),(0,x.jsxs)(Zn.Z,{style:{padding:"0 8px 4px"},children:[(0,x.jsx)(T.Z,{placeholder:Un("DDSAnnotator.annotsEditor.addCategory"),ref:vt,value:On,onChange:mr,onKeyDown:function(jn){jn.code==="Enter"&&fr(),jn.stopPropagation()}}),(0,x.jsx)(C.ZP,{type:"text",icon:(0,x.jsx)(Nn.Z,{}),onClick:fr,children:Un("DDSAnnotator.annotsEditor.add")})]})]})}),jo=oo,li=(0,g.memo)(function(Ue){var he,Pe=Ue.drawData,Un=Ue.latestLabelId,vt=Ue.isSeperate,zn=Ue.labelOptions,En=Ue.labelColors,On=Ue.onChangeObjectLabel,Fn=Ue.onCreateCategory,mr=(0,F.bU)(),fr=mr.localeText,or=(0,g.useMemo)(function(){if(zn.length>0){var jn,ua=(jn=zn[0])===null||jn===void 0?void 0:jn.labelType,Or=ua&&Q.t[ua],ar=Q.Zo[Or];if(ar)return Q.ef[ar]}},[zn]);return(0,x.jsx)("div",{className:"dds-annotator-label-selector",children:(0,x.jsx)(zt.Z,{showSearch:!0,placeholder:fr("DDSAnnotator.label.select"),size:"middle",value:((he=Pe.objectList[Pe.activeObjectIndex])===null||he===void 0?void 0:he.labelId)||Un,onChange:On,popupClassName:"objects-select-popup",onClick:function(ua){return ua.stopPropagation()},onKeyUp:function(ua){return ua.stopPropagation()},onInputKeyDown:function(ua){ua.code!=="Enter"&&ua.stopPropagation()},filterOption:function(ua,Or){var ar,hr,Pr,aa=(Or==null||(ar=Or.children)===null||ar===void 0?void 0:ar[((Or==null||(hr=Or.children)===null||hr===void 0?void 0:hr.length)||0)-1])||"";return(Pr=aa.toLowerCase())===null||Pr===void 0?void 0:Pr.includes(ua.toLowerCase())},dropdownRender:function(ua){return(0,x.jsxs)(x.Fragment,{children:[ua,vt&&(0,x.jsx)(jo,{onAdd:Fn})]})},children:zn==null?void 0:zn.map(function(jn){return(0,x.jsxs)(zt.Z.Option,{value:jn.id,className:"dds-annotator-label-selector-option",children:[or?(0,x.jsx)(or,{color:jn.renderColor,fill:jn.renderColor}):(0,x.jsx)("div",{className:"dds-annotator-label-selector-option-color",style:{backgroundColor:En==null?void 0:En[jn.id]}}),jn.name]},jn.id)})})})}),Yi=li,tl=(0,g.memo)(function(Ue){var he=Ue.selectedTool,Pe=Ue.selectedModel,Un=Ue.modelOptions,vt=Ue.onSelectModel,zn=(0,F.bU)(),En=zn.localeText,On=Q.Zo[he];return(0,x.jsx)("div",{className:"dds-annotator-model-selector",children:(0,x.jsx)(zt.Z,{placeholder:En("DDSAnnotator.label.select"),size:"middle",value:Pe,onChange:vt,popupClassName:"objects-select-popup",onClick:function(mr){return mr.stopPropagation()},onKeyUp:function(mr){return mr.stopPropagation()},onInputKeyDown:function(mr){mr.code!=="Enter"&&mr.stopPropagation()},children:Un==null?void 0:Un.map(function(Fn,mr){return(0,x.jsxs)(zt.Z.Option,{value:Fn,className:"dds-annotator-model-selector-option",children:[(0,x.jsx)(H.Z,{component:Q.VC[On]}),Q.TR[Fn]&&En(Q.TR[Fn].name)]},mr)})})})}),yl=tl,ac=(0,g.memo)(function(Ue){var he,Pe=Ue.toolOptions,Un=Ue.selectedSubTool,vt=Ue.isAIAnnotationActive,zn=Ue.brushSize,En=Ue.onChangeSubTool,On=Ue.onChangeBrushSize,Fn=(0,g.useMemo)(function(){return[].concat(Qt()(Pe.basicTools),Qt()(Pe.smartTools))},[Pe.basicTools,Pe.smartTools]),mr=(0,g.useMemo)(function(){for(var Or=[],ar=1;ar<=Fn.length;ar++)Or.push(ar.toString());return Or},[Fn]);(0,Ee.Z)(mr,function(Or){var ar=Fn.find(function(hr,Pr){return(Pr+1).toString()===Or.key});if(ar&&ar.available){if(Pe.smartTools.find(function(hr){return ar.key===hr.key})&&!vt)return;En(ar.key)}},{exactMatch:!0});var fr=function(ar){var hr=Fn.find(function(Pr){return Pr.key===Un});ar.type==="mouseup"&&(hr!=null&&hr.withSize||hr!=null&&hr.withCustomElement)||ar.stopPropagation()},or=function(ar){var hr=Fn.findIndex(function(Pr){return Pr.key===ar.key})+1;return(0,x.jsxs)("div",{className:"dds-annotator-subtoolbar-popover",children:[(0,x.jsxs)("div",{children:[(0,x.jsx)("span",{className:"dds-annotator-subtoolbar-popover-title",children:ar.name}),hr&&(0,x.jsx)("span",{className:"dds-annotator-subtoolbar-popover-key",children:hr})]}),ar.description&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-popover-divider"}),(0,x.jsx)("div",{children:ar.description})]})]})},jn=function(ar){var hr=Fn.find(function(Pr){return Pr.key===ar});hr&&hr.available&&En(ar)},ua=function(ar){return(0,x.jsx)(gn.Z,{placement:"bottom",content:or(ar),children:(0,x.jsx)(C.ZP,{className:c()("dds-annotator-subtoolbar-btn",{"dds-annotator-subtoolbar-btn-active":Un===ar.key&&ar.available,"dds-annotator-subtoolbar-btn-limited":ar.available}),style:{cursor:ar.available?"pointer":"not-allowed"},icon:ar.icon,onClick:function(){return jn(ar.key)}})},ar.key)};return(0,x.jsx)(A,{eventHandler:fr,children:(0,x.jsxs)("div",{className:"dds-annotator-subtoolbar",children:[Pe.basicTools.map(function(Or){return ua(Or)}),vt&&(0,x.jsxs)(x.Fragment,{children:[Pe.basicTools.length>0&&Pe.smartTools.length>0&&(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),Pe.smartTools.map(function(Or){return ua(Or)})]}),Pe.customElement&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),Pe.customElement]}),!!((he=Fn.find(function(Or){return Or.key===Un}))!==null&&he!==void 0&&he.withSize)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-divider"}),(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-title",children:"Brush Size"}),(0,x.jsx)("div",{className:"dds-annotator-subtoolbar-slider",children:(0,x.jsx)(Yn.Z,{defaultValue:20,min:1,max:100,value:zn,onChange:function(ar){return On(ar)}})})]})]})})}),Ii=ac,oc=function(he){var Pe=he.className,Un=Pe===void 0?"":Pe,vt=he.children,zn=he.leftTools,En=zn===void 0?[]:zn,On=he.rightTools,Fn=On===void 0?[]:On,mr=function(or){return or.map(function(jn,ua){var Or=jn.title,ar=jn.icon,hr=jn.onClick,Pr=jn.disabled,aa=jn.splitLine,Jn=jn.customElement;return(0,x.jsxs)(g.Fragment,{children:[Jn||(0,x.jsx)(L.Z,{title:Or,children:(0,x.jsx)("div",{className:c()("dds-annnotator-toptools-row-icon",{"dds-annnotator-toptools-row-icon-disabled":!!Pr}),onClick:hr,children:ar})}),aa&&(0,x.jsx)("div",{className:"dds-annnotator-toptools-row-split"})]},ua)})};return(0,x.jsxs)("div",{className:c()("dds-annnotator-toptools",Un),onMouseDown:function(or){or.stopPropagation()},children:[(0,x.jsx)("div",{className:"dds-annnotator-toptools-row",children:mr(En)}),(0,x.jsx)("div",{className:"dds-annnotator-toptools-progress",children:vt}),(0,x.jsx)("div",{className:"dds-annnotator-toptools-row",children:mr(Fn)})]})},wc=oc,ic=function(he){var Pe=he.isOldMode,Un=he.isSeperate,vt=he.mode,zn=he.fileName,En=he.drawData,On=he.editState,Fn=he.hideTopBarActions,mr=he.titleElements,fr=he.actionElements,or=he.enableReviewerModify,jn=he.labelOptions,ua=he.labelColors,Or=he.showSubTools,ar=he.currSubTools,hr=he.topBarCenterElement,Pr=he.selectSubTool,aa=he.setBrushSize,Jn=he.activeAIAnnotation,fa=he.onChangeImageDisplayOpts,Qr=he.onChangeAnnotsDisplayOpts,$r=he.onChangeObjectLabel,lr=he.onCreateCategory,Ir=he.onSaveAnnotations,Vr=he.onCommitAnnotations,Ar=he.onRejectAnnotations,Y=he.onAcceptAnnotations,z=he.onModifyAnnotations,ue=he.onCancelAnnotations,Ce=he.onSelectModel,Re=(0,F.bU)(),rt=Re.localeText,Mt=function(){window.open("https://docs.deepdataspace.com")},Dt=(0,g.useMemo)(function(){var fn=fr?fr.map(function(hn){return{customElement:hn}}):[];return Fn||(vt===W.je.Review&&fn.push.apply(fn,[{customElement:(0,x.jsx)(C.ZP,{type:"primary",danger:!0,onClick:Ar,children:rt("DDSAnnotator.reject")})}].concat(Qt()(Pe||!or?[]:[{customElement:(0,x.jsx)(C.ZP,{type:"default",onClick:z,children:rt("DDSAnnotator.modify")})}]),[{customElement:(0,x.jsx)(C.ZP,{type:"primary",onClick:Y,children:rt("DDSAnnotator.approve")})}])),vt===W.je.Edit&&!Un&&(fn.push({customElement:(0,x.jsx)(C.ZP,{type:"default",onClick:Ir,children:rt("DDSAnnotator.save")})}),Pe||fn.push({customElement:(0,x.jsx)(C.ZP,{type:"primary",onClick:Vr,children:rt("DDSAnnotator.commit")})})),fn.unshift({customElement:(0,x.jsxs)(x.Fragment,{children:[vt===W.je.Edit&&(0,x.jsxs)("div",{className:"dds-annotator-qk-actions",children:[(0,x.jsx)(L.Z,{title:rt("DDSAnnotator.docs"),children:(0,x.jsx)(H.Z,{component:ms,onClick:Mt})}),(0,x.jsx)(el,{displayOption:On.imageDisplayOptions,colorByCategory:On.annotsDisplayOptions.colorByCategory,onChangeImageDisplayOpts:fa,onChangeAnnotsDisplayOpts:Qr})]}),(0,x.jsx)(pr,{mode:vt}),(0,x.jsx)(Lt,{mode:vt})]})}),vt===W.je.Edit&&zn&&fn.unshift({customElement:(0,x.jsx)(x.Fragment,{children:zn})})),fn},[vt,Pe,or,Fn,Ir,Vr,ue,Ar,Y,z]),Vt=function(){var hn=[];return mr?hn.push.apply(hn,Qt()(mr.map(function(bn){return{customElement:bn}}))):(Un||vt===W.je.Edit?hn.push({customElement:(0,x.jsx)(L.Z,{title:rt("DDSAnnotator.exit"),children:(0,x.jsx)(nc,{className:"dds-annotator-logo",onClick:ue})})}):hn.push({title:rt("DDSAnnotator.exit"),icon:(0,x.jsx)(Fo.Z,{}),onClick:function(){return ue()}}),vt!==W.je.Edit&&zn&&hn.push({customElement:zn})),vt===W.je.Edit&&Q.Xn[En.selectedTool]&&Q.Xn[En.selectedTool].length>1&&En.AIAnnotation&&En.selectedModel&&hn.push({customElement:(0,x.jsx)(yl,{selectedTool:En.selectedTool,selectedModel:En.selectedModel[En.selectedTool],modelOptions:Q.Xn[En.selectedTool],onSelectModel:Ce})}),vt===W.je.Edit&&(En.objectList[En.activeObjectIndex]||En.selectedTool!==Q.ru.Drag)&&hn.push({customElement:(0,x.jsx)(Yi,{drawData:En,latestLabelId:On.latestLabelId,isSeperate:Un,labelOptions:jn,labelColors:ua,onChangeObjectLabel:$r,onCreateCategory:lr})}),vt===W.je.Edit&&Or&&hn.push({customElement:(0,x.jsx)(Ii,{toolOptions:ar,selectedSubTool:En.selectedSubTool,isAIAnnotationActive:En.AIAnnotation,brushSize:En.brushSize,onChangeSubTool:Pr,onChangeBrushSize:aa,onActiveAIAnnotation:Jn})}),hn},nn=(0,x.jsx)(wc,{leftTools:Vt(),rightTools:Dt,children:hr});return{topToolsBar:nn}},vc=ic,gc=function(he){var Pe=he.isOldMode,Un=he.clientSize,vt=he.naturalSize,zn=he.categories,En=he.getAnnotColor,On=function(jn){var ua=jn.categoryId,Or=jn.boundingBox,ar=jn.points,hr=jn.lines,Pr=jn.pointNames,aa=jn.pointColors,Jn=jn.segmentation,fa=jn.mask,Qr=jn.alpha,$r=jn.point,lr=jn.polyline,Ir=jn.lineColor,Vr=jn.lineType,Ar=En(ua||""),Y={labelId:ua||"",type:Q.gr.Rectangle,hidden:!1,conf:jn.conf||1,customStyles:jn.customStyles,status:W.TK.Commited,color:Ar};if(Or){var z=(0,qr.cO)(Or,Un);Object.assign(Y,{rect:t()({visible:!0},z)})}if(ar&&ar.length>0&&hr&&hr.length>0&&Pr&&aa){var ue=(0,qr.el)(ar,Pr,aa,vt,Un);Object.assign(Y,{keypoints:{points:ue,lines:hr}})}if(Jn){var Ce=(0,qr.Vh)(Jn,vt,Un),Re={group:Ce,visible:!0};Object.assign(Y,{polygon:Re})}if(fa){var rt=fa.counts||"";Object.assign(Y,{maskRle:rt,maskCanvasElement:(0,yr.ei)(rt,vt,Ar)})}if(Qr){var Mt=new Image;Mt.src=Qr,Object.assign(Y,{alpha:Qr,alphaImageElement:Mt})}if($r&&Object.assign(Y,{point:t()(t()({},(0,qr.YO)($r,vt,Un)),{},{visible:Q.GI.labeledVisible})}),lr&&Vr&&Ir){var Dt=(0,qr.aH)(lr).map(function(nn){return(0,qr.YO)([nn.x,nn.y],vt,Un)}),Vt={group:[Dt],visible:!0,lineType:Vr,color:(0,qr.Yc)(Ir)};Object.assign(Y,{polyline:Vt})}return Y.type=(0,qr.tQ)(Y),Y},Fn=function(jn){var ua,Or=jn.labelId,ar=jn.rect,hr=jn.keypoints,Pr=jn.polygon,aa=jn.maskRle,Jn=jn.point,fa=((ua=zn.find(function(Ar){return Ar.id===Or}))===null||ua===void 0?void 0:ua.name)||"",Qr={categoryId:Or,categoryName:fa};if(ar&&Object.assign(Qr,{boundingBox:(0,qr.kq)(ar,Un)}),hr&&Object.assign(Qr,t()({lines:hr.lines},(0,qr.yn)(hr.points,vt,Un))),Pr){var $r=(0,qr.Vi)(Pr,vt,Un);Object.assign(Qr,{segmentation:$r})}if(aa&&Object.assign(Qr,{mask:{counts:aa,size:[vt.height,vt.width]}}),Jn){var lr=(0,qr.AR)([Jn.x,Jn.y],vt,Un),Ir=lr.x,Vr=lr.y;Object.assign(Qr,{point:[Ir,Vr]})}return Qr},mr=function(jn,ua){var Or,ar=jn.labelId,hr=jn.labelValue,Pr=En(ar),aa=zn.find(function(Ir){return Ir.id===ar}),Jn=(aa==null||(Or=aa.attributes)===null||Or===void 0?void 0:Or.map(function(Ir,Vr){var Ar;return((Ar=jn.attributes)===null||Ar===void 0?void 0:Ar[Vr])||null}))||void 0,fa={labelId:ar,type:Q.gr.Custom,hidden:!1,status:W.TK.Commited,color:Pr,attributes:Jn},Qr=function(Vr,Ar){switch(aa==null?void 0:aa.labelType){case Q.Ze.Rectangle:{var Y=(0,qr.JP)(Ar,vt,Un);Object.assign(Vr,{rect:t()({visible:!0},Y),type:Q.gr.Rectangle});break}case Q.Ze.Polygon:{var z=(0,qr.Uy)(Ar,vt,Un),ue={group:z,visible:!0};Object.assign(Vr,{polygon:ue,type:Q.gr.Polygon});break}case Q.Ze.Skeleton:{var Ce=(0,qr.OX)(Ar,Q.v_.pointNames,Q.v_.pointColors,vt,Un);Object.assign(Vr,{keypoints:{points:Ce,lines:Q.v_.lines},type:Q.gr.Skeleton});break}case Q.Ze.Mask:{var Re=Ar.counts||"";Object.assign(Vr,{maskRle:Re,maskCanvasElement:(0,yr.ei)(Re,vt,Pr),type:Q.gr.Mask});break}case Q.Ze.Classification:{Object.assign(Vr,{labelValue:Ar,type:Q.gr.Classification});break}}return Vr};if(ua&&ua>0){if((aa==null?void 0:aa.labelType)===Q.Ze.Classification)return{classification:Qr(fa,hr)};var $r=new Array(ua).fill(void 0),lr;return Object.keys(hr).forEach(function(Ir){lr=Qr((0,m.cloneDeep)(fa),hr[Ir]),$r[Number(Ir)]=t()(t()({},lr),{},{frameEmpty:!1})}),{objects:$r.map(function(Ir){return Ir||t()(t()({},(0,m.cloneDeep)(lr)),{},{frameEmpty:!0})})}}return Qr(fa,hr)},fr=function(jn){var ua,Or=jn.labelId,ar=jn.rect,hr=jn.keypoints,Pr=jn.polygon,aa=jn.maskRle,Jn=jn.attributes,fa=zn.find(function(Ir){return Ir.id===Or}),Qr={labelId:Or,attributes:Jn||(fa==null||(ua=fa.attributes)===null||ua===void 0?void 0:ua.map(function(){return null}))||[]};switch(fa==null?void 0:fa.labelType){case Q.Ze.Rectangle:{ar&&(Qr.labelValue=(0,qr.cx)(ar,Un,vt));break}case Q.Ze.Polygon:{Pr&&(Qr.labelValue=(0,qr.A_)(Pr,vt,Un));break}case Q.Ze.Skeleton:{if(hr){var $r=(0,qr.$G)(hr.points,vt,Un),lr=$r.points;Qr.labelValue=lr}break}case Q.Ze.Mask:{aa&&(Qr.labelValue={counts:aa,size:[vt.height,vt.width]});break}}return Qr};return{translateAnnotationToObject:On,translateObjectToAnnotation:Fn,translateLabelToObject:mr,translateObjectToLabel:fr,translateObject:Pe?Fn:fr,translateToObject:Pe?On:mr}},ql=gc,Fi=e(87478),go=function(he){var Pe,Un=he.theme,vt=Un===void 0?"dark":Un,zn=he.isOldMode,En=he.isSeperate,On=he.visible,Fn=he.categories,mr=he.list,fr=he.current,or=he.pagination,jn=he.mode,ua=he.enableReviewerModify,Or=he.limitToolTypes,ar=he.titleElements,hr=he.actionElements,Pr=he.layoutOptions,aa=he.displayOptionsResult,Jn=he.manualMode,fa=he.forceColorByObject,Qr=he.limitActiveObject,$r=he.customDefaultDrawData,lr=he.onPrev,Ir=he.onNext,Vr=he.onCancel,Ar=he.onSave,Y=he.onCommit,z=he.onReviewModify,ue=he.onReviewAccept,Ce=he.onReviewReject,Re=he.setCategories,rt=he.onAutoSave,Mt=he.objectsFilter,Dt=n.Z.useModal(),Vt=s()(Dt,2),nn=Vt[0],fn=Vt[1],hn=(0,M.x)([]),bn=s()(hn,2),Yt=bn[0],Ln=bn[1],qn=(0,M.x)((0,m.cloneDeep)(W.rl)),cr=s()(qn,2),Dr=cr[0],Rr=cr[1],Aa=(0,M.x)(t()(t()({},(0,m.cloneDeep)(W.f7)),$r)),xa=s()(Aa,2),pa=xa[0],za=xa[1],ha=(0,g.useRef)(null),Yr=(0,g.useRef)(null),$a=(0,g.useRef)(null),Xa=(0,g.useMemo)(function(){return mr[fr]},[mr,fr]),io=Xa,Go=Ei({categories:Fn,editState:Dr,forceColorByObject:fa}),Oo=Go.getAnnotColor,Ka=Go.labelColors,Za=yi({visible:On,drawData:pa,allowMove:Dr.allowMove,isRequiring:Dr.isRequiring,minPadding:(Pr==null?void 0:Pr.minPadding)||{top:30,left:80},cursorSize:pa.brushSize,hideReferenceLine:!!(Pr!=null&&Pr.hideReferenceLine)}),ui=Za.scale,ai=Za.naturalSize,Ai=Za.clientSize,po=Za.containerMouse,Pi=Za.contentMouse,Oi=Za.imagePos,vi=Za.onLoadImg,Wi=Za.onZoomIn,La=Za.onZoomOut,mi=Za.onReset,hs=Za.CanvasContainer,Hi=Za.isMousePress,ts=ql({isOldMode:zn,clientSize:Ai,naturalSize:ai,categories:Fn,getAnnotColor:Oo}),kl=ts.translateObject,Ru=ts.translateToObject,rl=xo({clientSize:Ai,naturalSize:ai,setDrawData:za,onAutoSave:rt,translateObject:kl}),ys=rl.undo,ds=rl.redo,al=rl.clearHistory,Ti=rl.flagSaved,ns=rl.hadChangeRecord,ti=rl.updateHistory,gi=rl.setDrawDataWithHistory,Qi=_a({setDrawDataWithHistory:gi,categories:Fn}),Eu=Qi.judgeEditingAttribute,ol=Qi.onConfirmAttibuteEdit,Nl=Qi.onCancelAttibuteEdit,il=Pa({mode:jn,categories:Fn,drawData:pa,setDrawData:za,setDrawDataWithHistory:gi,setEditState:Rr,translateToObject:Ru,judgeEditingAttribute:Eu,updateHistory:ti}),Ml=il.addObject,Zc=il.removeObject,hc=il.removeAllObjects,yc=il.initObjectList,fd=il.updateAllObject,cu=il.updateObject,bc=il.updateObjectWithoutHistory,td=il.updateAllObjectWithoutHistory,nd=il.commitedObjects,eu=il.currObject,si=Ro({isOldMode:zn,mode:jn,categories:Fn,setCategories:Re,drawData:pa,setDrawData:za,editState:Dr,updateObjectWithoutHistory:bc,updateAllObjectWithoutHistory:td}),xs=si.labelOptions,Is=si.latestLabel,Ns=si.classificationOptions,Wl=si.onChangeObjectHidden,Mc=si.onChangeCategoryHidden,Rs=si.onChangeActiveClass,Uc=si.onCreateCategory,Sc=si.onChangePointVisible,rd=Co({currImageItem:io,drawData:pa,setDrawData:za,setDrawDataWithHistory:gi,editState:Dr,setEditState:Rr,naturalSize:ai,clientSize:Ai,getAnnotColor:Oo}),Lc=rd.onAiAnnotation,Nc=Ri({topCanvas:Yr.current,editState:Dr,drawData:pa}),Sl=Nc.updateMouseCursor,As=ii({mode:jn,manualMode:!!Jn,drawData:pa,setDrawData:za,setDrawDataWithHistory:gi,editState:Dr,setEditState:Rr,getAnnotColor:Oo,clientSize:Ai,naturalSize:ai,addObject:Ml,updateObject:cu,updateAllObject:fd,onAiAnnotation:Lc}),Rc=As.onChangeObjectLabel,Vu=As.onFinishCurrCreate,kc=As.onAcceptValidObjects,vd=As.onAbortBatchObjects,lc=As.selectTool,ad=As.selectSubTool,uc=As.forceChangeTool,od=As.onExitAIAnnotation,Wc=As.setBrushSize,Rl=As.activeAIAnnotation,id=As.onChangeSkeletonConf,sd=As.onChangeLimitConf,El=As.onChangeAnnotsDisplayOpts,Gu=As.onChangeImageDisplayOpts,du=As.onChangeColorMode,ld=As.onChangePointResolution,gd=As.onSelectModel,Hl=As.isInAiSession,Hc=Da({drawData:pa,onChangePointResolution:ld}),md=Hc.showSubTools,pd=Hc.currSubTools,zd=(0,Fi.Vr)({imgRef:$a,editState:Dr,clientSize:Ai,naturalSize:ai,contentMouse:Pi,imagePos:Oi,containerMouse:po,canvasRef:ha,activeCanvasRef:Yr,setEditState:Rr,drawData:pa,setDrawData:za,setDrawDataWithHistory:gi,updateHistory:ti,updateObject:cu,addObject:Ml,updateMouseCursor:Sl,onAiAnnotation:Lc,getAnnotColor:Oo,categories:Fn,displayOptionsResult:aa}),Ku=zd.objectHooksMap,hd=Ni({visible:On,drawData:pa,editState:Dr,clientSize:Ai,imagePos:Oi,containerMouse:po,canvasRef:ha,activeCanvasRef:Yr,imgRef:$a,objectHooksMap:Ku}),_c=hd.updateRender,Ec=hd.renderPopoverMenu,Yc=ja({visible:On,mode:jn,drawData:pa,setDrawData:za,editState:Dr,setEditState:Rr,clientSize:Ai,contentMouse:Pi,categories:Fn,updateRender:_c,updateMouseCursor:Sl,objectHooksMap:Ku,imagePos:Oi,containerMouse:po,getAnnotColor:Oo,limitActiveObject:Qr}),Cc=Yc.selectFocusObject,Cd=Yc.forceChangeFocusObject,xd=Yc.mouseRightObjectsDropDownRender,cc=Lr({mode:jn,currImageItem:io,modal:nn,drawData:pa,editState:Dr,setEditState:Rr,hadChangeRecord:ns,categories:Fn,translateObject:kl,flagSaved:Ti,onCancel:Vr,onSave:Ar,onCommit:Y,onReviewModify:z,onReviewAccept:ue,onReviewReject:Ce,classificationOptions:Ns,isInAiSession:Hl}),Vc=cc.onSaveAnnotations,Fd=cc.onCommitAnnotations,Bd=cc.onCancelAnnotations,yd=cc.onRejectAnnotations,bd=cc.onAcceptAnnotations,xc=cc.onModifyAnnotations;Yo({visible:On,mode:jn,drawData:pa,categories:Fn,isMousePress:Hi,setDrawData:za,setEditState:Rr,onSaveAnnotations:Vc,onAcceptAnnotations:bd,onRejectAnnotations:yd,onChangeObjectHidden:Wl,onChangeCategoryHidden:Mc,removeObject:Zc,addObject:Ml});var $d=Qo({imagePos:Oi,clientSize:Ai,naturalSize:ai,annotations:Yt,setAnnotations:Ln,drawData:pa,setDrawData:za,editState:Dr,setEditState:Rr,initObjectList:yc,updateRender:_c,clearHistory:al,objectsFilter:Mt,labelOptions:xs,customDefaultDrawData:$r}),zc=$d.resetDataWithImageData;(0,g.useEffect)(function(){return document.body.style.overflow=On?"hidden":"overlay",function(){document.body.style.overflow="overlay"}},[On]),(0,g.useEffect)(function(){zc(io,On)},[On,jn,fr,io==null?void 0:io.id,Mt]),(0,g.useEffect)(function(){du()},[Dr.annotsDisplayOptions.colorByCategory]);var ud=(0,g.useMemo)(function(){if(Xa!=null&&Xa.name)return Xa==null?void 0:Xa.name;if(Xa!=null&&Xa.url&&(Xa==null?void 0:Xa.url.indexOf("http"))===0){var cd=decodeURIComponent(Xa==null?void 0:Xa.url);return cd.replace(/\?.*$/,"").split("/").pop()||""}return""},[Xa]),is=or&&or.show?(0,x.jsx)(Jr,{list:mr,current:fr,total:or.total,customText:or.customText,customDisableNext:or.customDisableNext,onPrev:lr,onNext:Ir}):null,Zd=vc({isOldMode:zn,isSeperate:En,mode:jn,hideTopBarActions:Pr==null?void 0:Pr.hideTopBarActions,fileName:ud,drawData:pa,editState:Dr,titleElements:ar,actionElements:hr,enableReviewerModify:ua,labelOptions:xs,showSubTools:md,currSubTools:pd,topBarCenterElement:is,labelColors:Ka,selectSubTool:ad,setBrushSize:Wc,activeAIAnnotation:Rl,onChangeImageDisplayOpts:Gu,onChangeAnnotsDisplayOpts:El,onChangeObjectLabel:Rc,onCreateCategory:Uc,onSaveAnnotations:Vc,onCommitAnnotations:Fd,onRejectAnnotations:yd,onAcceptAnnotations:bd,onModifyAnnotations:xc,onCancelAnnotations:Bd,onSelectModel:gd}),Id=Zd.topToolsBar;return On?(0,x.jsxs)("div",{className:c()("dds-annotator","dds-annotator-editor","dds-annotator-editor-".concat(vt)),style:{height:(Pr==null?void 0:Pr.wrapHeight)||"100vh"},children:[!(Pr!=null&&Pr.hideTopBar)&&Id,(0,x.jsxs)("div",{className:"editor-container",style:{top:Pr!=null&&Pr.hideTopBar?"0":""},children:[!(Pr!=null&&Pr.hideMainToolBar)&&(0,x.jsx)(Ma,{onlySupportZoom:jn!==W.je.Edit,selectedTool:pa.selectedTool,manualMode:!!Jn,limitToolTypes:Or,isAIAnnotationActive:pa.AIAnnotation,onChangeSelectedTool:lc,onActiveAIAnnotation:Rl,hideUndoRedoActions:Pr==null?void 0:Pr.hideUndoRedoActions,undo:ys,redo:ds,deleteAll:hc,scale:ui,onZoomIn:Wi,onZoomOut:La,onZoomReset:mi}),(0,x.jsxs)("div",{className:"center-content",children:[io&&(0,x.jsx)(d.Z,{dropdownRender:xd,trigger:["contextMenu"],open:Dr.foucsObjectAllIndexs.length>0,children:hs({className:"edit-wrap",children:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ne,{url:io==null?void 0:io.url,imgRef:$a,canvasRef:ha,activeCanvasRef:Yr,clientSize:Ai,imagePos:Oi,onLoad:function(Gc){_c(),vi(Gc)}}),Ec()]})})}),(0,x.jsx)(gt,{mode:jn,isAiAnnotation:pa.AIAnnotation,latestLabelId:Dr.latestLabelId,currObject:eu,onFinishCurrCreate:Vu}),(0,x.jsx)(sn,{mode:jn,isAiAnnotation:pa.AIAnnotation,currObject:eu,currObjectIndex:pa.activeObjectIndex,focusObjectIndex:Dr.focusObjectIndex,focusEleType:Dr.focusEleType,focusEleIndex:Dr.focusEleIndex,onChangePointVisible:Sc,setEditState:Rr}),(0,x.jsx)(dn,{selectedTool:pa.selectedTool,selectedSubTool:pa.selectedSubTool,selectedModel:pa.selectedModel[pa.selectedTool],isBatchEditing:pa.isBatchEditing,AIAnnotation:pa.AIAnnotation,hasPolygonPreds:!!((Pe=pa.creatingObject)!==null&&Pe!==void 0&&Pe.polygon),isCtrlPressed:Dr.isCtrlPressed,limitConf:pa.limitConf,naturalSize:ai,latestLabel:Is,forceChangeTool:uc,onAiAnnotation:Lc,onExitAIAnnotation:od,onChangeConfidenceRange:id,onChangeLimitConf:sd,onAcceptValidObjects:kc,onCancelBatchEdit:vd}),(0,x.jsx)(me,{AIAnnotation:pa.AIAnnotation,modelOptions:Q.Xn[pa.selectedTool],selectedModel:pa.selectedModel[pa.selectedTool],onSelectModel:gd,onCloseModal:function(){return za(function(Gc){Gc.AIAnnotation=!1})}}),pa.editingAttribute&&(0,x.jsx)(fe,{data:pa.editingAttribute,supportEdit:jn===W.je.Edit,onConfirmAttibuteEdit:ol,onCancelAttibuteEdit:Nl})]}),!(Pr!=null&&Pr.hideRightList)&&(0,x.jsxs)("div",{className:"right-slider",children:[Ns.length>0&&(0,x.jsx)(Je,{className:"classifications",supportEdit:jn===W.je.Edit,classificationOptions:Ns,values:pa.classifications,setDrawDataWithHistory:gi}),(0,x.jsx)(qe,{supportEdit:jn===W.je.Edit,className:"object-list",objects:nd,categories:Fn,activeObjectIndex:pa.activeObjectIndex,activeClassName:pa.activeClassName,onFocusObject:Cd,onActiveObject:Cc,onChangeObjectHidden:Wl,onChangeCategoryHidden:Mc,onDeleteObject:Zc,onChangeActiveClassName:Rs,setDrawDataWithHistory:gi,colorByCategory:Dr.annotsDisplayOptions.colorByCategory,onChangeAnnotsDisplayOpts:El})]})]}),(0,x.jsx)("div",{onMouseDown:function(Gc){Gc.stopPropagation()},children:fn})]}):null},Cs=go,mc=e(16962),Mu=e.n(mc),Hu=Object.defineProperty,ed=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,jc=(Ue,he,Pe)=>he in Ue?Hu(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,Lu=(Ue,he)=>{for(var Pe in he||(he={}))Ws.call(he,Pe)&&jc(Ue,Pe,he[Pe]);if(ed)for(var Pe of ed(he))Hs.call(he,Pe)&&jc(Ue,Pe,he[Pe]);return Ue};const Ll=Ue=>g.createElement("svg",Lu({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"m8.379 7.648-4.56-5.825a.283.283 0 0 0-.224-.11h-1.38a.142.142 0 0 0-.113.231L6.842 8l-4.74 6.055a.143.143 0 0 0 .112.23h1.38a.289.289 0 0 0 .226-.109l4.559-5.823a.571.571 0 0 0 0-.705Zm5.428 0L9.248 1.823a.283.283 0 0 0-.225-.11h-1.38a.142.142 0 0 0-.112.231L12.27 8l-4.74 6.055a.143.143 0 0 0 .113.23h1.38a.289.289 0 0 0 .225-.109l4.56-5.823a.571.571 0 0 0 0-.705Z",fill:"#fff",opacity:.85}));var bl="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTguMzc5IDcuNjQ4LTQuNTYtNS44MjVhLjI4My4yODMgMCAwIDAtLjIyNC0uMTFoLTEuMzhhLjE0Mi4xNDIgMCAwIDAtLjExMy4yMzFMNi44NDIgOGwtNC43NCA2LjA1NWEuMTQzLjE0MyAwIDAgMCAuMTEyLjIzaDEuMzhhLjI4OS4yODkgMCAwIDAgLjIyNi0uMTA5bDQuNTU5LTUuODIzYS41NzEuNTcxIDAgMCAwIDAtLjcwNVptNS40MjggMEw5LjI0OCAxLjgyM2EuMjgzLjI4MyAwIDAgMC0uMjI1LS4xMWgtMS4zOGEuMTQyLjE0MiAwIDAgMC0uMTEyLjIzMUwxMi4yNyA4bC00Ljc0IDYuMDU1YS4xNDMuMTQzIDAgMCAwIC4xMTMuMjNoMS4zOGEuMjg5LjI4OSAwIDAgMCAuMjI1LS4xMDlsNC41Ni01LjgyM2EuNTcxLjU3MSAwIDAgMCAwLS43MDVaIiBmaWxsPSIjZmZmIiBvcGFjaXR5PSIuODUiLz48L3N2Zz4=",sc=Object.defineProperty,_s=Object.getOwnPropertySymbols,lu=Object.prototype.hasOwnProperty,Pc=Object.prototype.propertyIsEnumerable,Tc=(Ue,he,Pe)=>he in Ue?sc(Ue,he,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):Ue[he]=Pe,_u=(Ue,he)=>{for(var Pe in he||(he={}))lu.call(he,Pe)&&Tc(Ue,Pe,he[Pe]);if(_s)for(var Pe of _s(he))Pc.call(he,Pe)&&Tc(Ue,Pe,he[Pe]);return Ue};const Bc=Ue=>g.createElement("svg",_u({viewBox:"0 0 14 14",fill:"#595959",xmlns:"http://www.w3.org/2000/svg"},Ue),g.createElement("path",{d:"M6.887 9.657a.143.143 0 0 0 .225 0l2-2.53A.142.142 0 0 0 9 6.897H7.677V.854A.143.143 0 0 0 7.534.71H6.462a.143.143 0 0 0-.143.143v6.041H5a.142.142 0 0 0-.112.23l2 2.532Zm6.649-.625h-1.072a.143.143 0 0 0-.143.143v2.75H1.678v-2.75a.143.143 0 0 0-.142-.143H.464a.143.143 0 0 0-.143.143v3.536a.57.57 0 0 0 .572.572h12.214a.57.57 0 0 0 .571-.572V9.175a.143.143 0 0 0-.142-.143Z"}));var Yu="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTQgMTQiIGZpbGw9IiM1OTU5NTkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuODg3IDkuNjU3YS4xNDMuMTQzIDAgMCAwIC4yMjUgMGwyLTIuNTNBLjE0Mi4xNDIgMCAwIDAgOSA2Ljg5N0g3LjY3N1YuODU0QS4xNDMuMTQzIDAgMCAwIDcuNTM0LjcxSDYuNDYyYS4xNDMuMTQzIDAgMCAwLS4xNDMuMTQzdjYuMDQxSDVhLjE0Mi4xNDIgMCAwIDAtLjExMi4yM2wyIDIuNTMyWm02LjY0OS0uNjI1aC0xLjA3MmEuMTQzLjE0MyAwIDAgMC0uMTQzLjE0M3YyLjc1SDEuNjc4di0yLjc1YS4xNDMuMTQzIDAgMCAwLS4xNDItLjE0M0guNDY0YS4xNDMuMTQzIDAgMCAwLS4xNDMuMTQzdjMuNTM2YS41Ny41NyAwIDAgMCAuNTcyLjU3MmgxMi4yMTRhLjU3LjU3IDAgMCAwIC41NzEtLjU3MlY5LjE3NWEuMTQzLjE0MyAwIDAgMC0uMTQyLS4xNDNaIi8+PC9zdmc+",$c=function(he){var Pe=he.text,Un=he.highlights,vt=he.onHoverHighlightWord,zn=he.onLeaveHighlightWord,En=(0,g.useMemo)(function(){var On=[],Fn=new RegExp(Un.map(function(or){return"\\b(".concat((0,m.escapeRegExp)(or.text),")\\b")}).join("|"),"g"),mr=Array.from(Pe.matchAll(Fn)),fr=0;return mr.forEach(function(or){var jn,ua=or[0],Or=(jn=or.index)!==null&&jn!==void 0?jn:0;Or>fr&&On.push(Pe.substring(fr,Or));var ar=Un.find(function(hr){return hr.text===ua});ar&&On.push((0,x.jsx)(R.Z,{color:ar.color,bordered:!1,onMouseEnter:function(){return vt(ua)},onMouseLeave:zn,children:ua},"".concat(Or,"-").concat(ua))),fr=Or+ua.length}),fr-1&&Ar.objectList[$r.focusObjectIndex]&&!((ns=Ar.objectList[$r.focusObjectIndex])!==null&&ns!==void 0&&ns.hidden)&&$r.focusEleIndex>-1&&$r.focusEleType===Q.Yq.Circle){var ti,gi,Qi,Eu=(ti=Ar.objectList[$r.focusObjectIndex])===null||ti===void 0||(gi=ti.keypoints)===null||gi===void 0||(Qi=gi.points)===null||Qi===void 0?void 0:Qi[$r.focusEleIndex];if(Eu)return(0,x.jsx)(_o,{index:$r.focusEleIndex,targetElement:Eu,imagePos:fn.current})}return(0,x.jsx)(x.Fragment,{})};if(!zn)return(0,x.jsx)(x.Fragment,{});var ys=function(){var ns=On[Fn].objects;return En.filter(function(ti){return ns.find(function(gi){return gi.categoryId===ti.id})}).map(function(ti){return{text:ti.name,color:cr(ti.id)}})},ds=function(ns){Y(function(ti){var gi=En.find(function(Qi){return Qi.name===ns});ti.highlightCategory=gi})},al=function(){Y(function(ns){ns.highlightCategory=void 0})};return(0,x.jsxs)("div",{className:"dds-annotator dds-annotator-preview",children:[(0,x.jsx)(wc,{className:"top-tools",leftTools:[{icon:(0,x.jsx)(yn.Z,{}),onClick:bn,disabled:rt>=Q.Fv},{icon:(0,x.jsx)(tn.Z,{}),onClick:Yt,disabled:rt<=Q.vL},{icon:(0,x.jsx)(Bc,{}),onClick:Ru},{icon:mi?(0,x.jsx)(ge.Z,{}):(0,x.jsx)(pe.Z,{}),onClick:kl,disabled:!Hi||!Hi.caption,title:ar(mi?"dataset.detail.hideGrounding":"dataset.detail.showGrounding")}],rightTools:[{icon:(0,x.jsx)(h.Z,{}),onClick:or}],children:"".concat(Fn+1," / ").concat(On.length)}),Ln({className:"edit-wrap",children:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(ne,{url:(Un=On[Fn])===null||Un===void 0?void 0:Un.url,imgRef:Ce,canvasRef:z,activeCanvasRef:ue,clientSize:Dt,imagePos:fn,onLoad:hn}),rl()]})}),(0,x.jsx)("div",{className:c()("switch","switch-left",{"switch-disable":Fn===0}),onClick:mr,children:(0,x.jsx)(Hr.Z,{})}),(0,x.jsx)("div",{className:c()("switch","switch-right",{"switch-disable":Fn===On.length-1}),onClick:fr,children:(0,x.jsx)(Oa.Z,{})}),Oi&&Hi&&(0,x.jsxs)("div",{className:"info-wrap",children:[(0,x.jsx)("div",{className:"info-box",children:Object.keys(Hi).map(function(Ti){return(0,x.jsxs)("div",{className:"item",children:[Ti,(0,x.jsx)("br",{}),Mu()(Hi[Ti])==="object"?JSON.stringify(Hi[Ti]):Hi[Ti]]},Ti)})}),(0,x.jsx)("div",{className:"bottom-mask"}),(0,x.jsx)("div",{className:"hide-info-btn",onClick:ts,children:(0,x.jsx)(Ll,{})})]}),!Oi&&(0,x.jsx)("div",{className:"show-info-btn",onClick:ts,children:(0,x.jsx)(Ll,{})}),mi&&!!(Hi!=null&&Hi.caption)&&(0,x.jsx)("div",{className:"dds-annotator-grounding-preview",children:(0,x.jsx)(pc,{text:Hi.caption,highlights:ys(),onHoverHighlightWord:function(ns){return ds(ns)},onLeaveHighlightWord:al})})]})},Su=uu,Nu=function(he){var Pe=he.isOldMode,Un=he.categories,vt=he.data,zn=he.currentSize,En=he.wrapWidth,On=he.wrapHeight,Fn=he.minHeight,mr=he.objectsFilter,fr=he.displayOptionsResult,or=(0,M.x)([]),jn=s()(or,2),ua=jn[0],Or=jn[1],ar=(0,M.x)((0,m.cloneDeep)(W.rl)),hr=s()(ar,2),Pr=hr[0],aa=hr[1],Jn=(0,M.x)((0,m.cloneDeep)(W.f7)),fa=s()(Jn,2),Qr=fa[0],$r=fa[1],lr=(0,g.useRef)(null),Ir=(0,g.useRef)(null),Vr=(0,g.useRef)(null),Ar=(0,g.useRef)({x:0,y:0}),Y=(0,g.useState)({width:0,height:Fn||0}),z=s()(Y,2),ue=z[0],Ce=z[1],Re=(0,g.useMemo)(function(){if(zn)return zn;if(!ue.width)return{width:En||0,height:On||Fn||0};var Ka=(0,qr.t9)(ue.width,ue.height,En,On),Za=s()(Ka,2),ui=Za[0],ai=Za[1];return{width:ui,height:ai}},[En,On,Fn,ue,zn]),rt=(0,g.useMemo)(function(){var Ka={screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,elementX:0,elementY:0,elementPosX:0,elementPosY:0,elementW:Re.width,elementH:Re.height};return[Ka,Ka]},[Re]),Mt=s()(rt,2),Dt=Mt[0],Vt=Mt[1],nn=Ei({categories:Un,editState:Pr}),fn=nn.getAnnotColor,hn=ql({isOldMode:Pe,clientSize:Re,naturalSize:ue,categories:Un,getAnnotColor:fn}),bn=hn.translateToObject,Yt=xo({clientSize:Re,naturalSize:ue,setDrawData:$r}),Ln=Yt.clearHistory,qn=Yt.updateHistory,cr=Yt.setDrawDataWithHistory,Dr=Pa({mode:W.je.View,categories:Un,drawData:Qr,setDrawData:$r,setDrawDataWithHistory:cr,setEditState:aa,translateToObject:bn,updateHistory:qn}),Rr=Dr.addObject,Aa=Dr.initObjectList,xa=Dr.updateObject,pa=Ri({topCanvas:Ir.current,editState:Pr,drawData:Qr}),za=pa.updateMouseCursor,ha=(0,Fi.Vr)({imgRef:Vr,editState:Pr,clientSize:Re,naturalSize:ue,contentMouse:Dt,containerMouse:Vt,imagePos:Ar,canvasRef:lr,activeCanvasRef:Ir,setEditState:aa,drawData:Qr,setDrawData:$r,setDrawDataWithHistory:cr,updateHistory:qn,updateObject:xa,addObject:Rr,updateMouseCursor:za,displayOptionsResult:fr,getAnnotColor:fn,categories:Un}),Yr=ha.objectHooksMap,$a=Ni({visible:!0,drawData:Qr,editState:Pr,clientSize:Re,imagePos:Ar,containerMouse:Vt,canvasRef:lr,activeCanvasRef:Ir,imgRef:Vr,objectHooksMap:Yr}),Xa=$a.updateRender,io=Qo({imagePos:Ar,clientSize:Re,naturalSize:ue,annotations:ua,setAnnotations:Or,drawData:Qr,setDrawData:$r,editState:Pr,setEditState:aa,initObjectList:Aa,updateRender:Xa,clearHistory:Ln,objectsFilter:mr,labelOptions:Un}),Go=io.resetDataWithImageData;(0,g.useEffect)(function(){Go(vt,!0)},[vt,mr]),(0,g.useEffect)(function(){Xa()},[fr]);var Oo=function(Za){var ui=Za.target,ai={width:ui.naturalWidth,height:ui.naturalHeight};Ce(ai)};return(0,x.jsx)("div",{className:"dds-annotator-view",children:(0,x.jsx)(ne,{url:vt==null?void 0:vt.url,imgRef:Vr,canvasRef:lr,activeCanvasRef:Ir,clientSize:Re,imagePos:Ar,onLoad:Oo})})},nl=Nu},87478:function(b,y,e){"use strict";e.d(y,{$N:function(){return x},hF:function(){return X},G9:function(){return W},_G:function(){return O},Vr:function(){return le}});var a=e(63900),t=e.n(a),o=e(2657),s=e.n(o),n=e(17410),d=e(46134),l=e(81179),c=e(67761),m=function(U){var A=U.imgRef,G=U.imagePos,fe=U.canvasRef,pe=U.clientSize,ge=U.displayOptionsResult,be=function(Ke){if(!(!Ke||!fe.current||!A.current)){var ye=ge||{},ne=ye.showMattingColorFill,H=fe.current.getContext("2d"),R=t()({x:G.current.x,y:G.current.y},pe);(0,l.UN)(fe.current),(0,l.AE)(fe.current,Ke,R),ne?(H.globalCompositeOperation="source-out",(0,l.CR)(fe.current,R,"#000"),H.globalCompositeOperation="destination-atop",(0,l.CR)(fe.current,R,"#fff")):(H.globalCompositeOperation="source-in",(0,l.AE)(fe.current,A.current,R),H.globalCompositeOperation="destination-over",(0,l.CR)(fe.current,R,"#fff"))}},Te=function(Ke){var ye=Ke.object,ne=ye.alphaImageElement;ne&&(be(ne),ne.onload=function(){be(ne)})},Ge=function(){},Je=function(){},Qe=function(){},pt=function(){return!1},Et=function(){return!1},ft=function(){return!1},Wt=function(){return!1},$e=function(){return!1},Xe=function(){return!1};return{renderObject:Te,renderCreatingObject:Ge,renderEditingObject:Je,renderPrompt:Qe,startEditingWhenMouseDown:pt,startCreatingWhenMouseDown:Et,updateEditingWhenMouseMove:ft,updateCreatingWhenMouseMove:Wt,finishEditingWhenMouseUp:$e,finishCreatingWhenMouseUp:Xe}},g=m,M=function(U){var A=U.canvasRef,G=function(ft){var Wt=ft.object,$e=ft.styles,Xe=Wt.point;if(Xe&&Xe.visible){var nt=Xe.x,Ke=Xe.y,ye=$e.strokeColor,ne=$e.fillColor;(0,l.G5)(A.current,{x:nt,y:Ke},4,ne,2,ye)}},fe=function(){},pe=function(){},ge=function(){},be=function(){return!1},Te=function(){return!1},Ge=function(){return!1},Je=function(){return!1},Qe=function(){return!1},pt=function(){return!1};return{renderObject:G,renderCreatingObject:fe,renderEditingObject:pe,renderPrompt:ge,startEditingWhenMouseDown:be,startCreatingWhenMouseDown:Te,updateEditingWhenMouseMove:Ge,updateCreatingWhenMouseMove:Je,finishEditingWhenMouseUp:Qe,finishCreatingWhenMouseUp:pt}},h=M,S=e(34485),w=e.n(S),C=e(39378),F=e(34095),Z=e(50910),N=e(14464),L=function(U){var A=U.editState,G=U.clientSize,fe=U.naturalSize,pe=U.imagePos,ge=U.containerMouse,be=U.canvasRef,Te=U.activeCanvasRef,Ge=U.contentMouse,Je=U.setEditState,Qe=U.drawData,pt=U.setDrawData,Et=U.setDrawDataWithHistory,ft=U.updateHistory,Wt=U.updateMouseCursor,$e=U.updateObject,Xe=U.addObject,nt=U.onAiAnnotation,Ke=U.displayOptionsResult,ye=function(J){var de=J.object,xe=J.color,ce=J.styles,Le=J.isFocus,Oe=J.isJustCreated,we=de.polygon;if(we&&we.visible){var Ne=ce.fillColor;!Le&&!Oe&&(Ne=(0,N.a7)(xe,F.mh.DEFAULT_SHAPE));var st=ce.thickness;Ke&&(!Ke.showSegFilling&&!Le&&(Ne="transparent"),Ke.showSegContour||(st=0)),we==null||we.group.forEach(function(et){(0,l.fb)(be.current,et,Ne,ce.strokeColor,st,ce.strokeDash)})}},ne=function(J){var de=J.object,xe=J.styles,ce=de.currIndex,Le=(0,d.lT)(de,{x:-pe.current.x,y:-pe.current.y}),Oe=Le.polygon;Oe&&Oe.visible&&Oe.group.forEach(function(we,Ne){ce===Ne?we.forEach(function(st,et){(0,l.G5)(Te.current,st,et===0?6:4,xe.strokeColor,3,"#1f4dd8"),we.length>1&&et-1&&et>-1){var ke=Oe.group[st][et];ke&&(0,l.G5)(Te.current,ke,4,"#fff",5,xe)}else if(st>-1&&Ye>-1){var Be=(0,d.Iw)(Oe.group[st]);if(Be[Ye]){var it=Be[Ye],Ve=it.start,xt=it.end,Ht=(0,d.Z4)({x:Ge.elementX+pe.current.x,y:Ge.elementY+pe.current.y},Ve,xt);Ht&&(0,l.G5)(Te.current,Ht,4,"#fff",5,xe)}}}},R=function(J){var de=J.prompt;if(de.creatingPrompt){var xe=F.XQ.CREATING,ce=F.Bt.CREATING;switch(de.creatingPrompt.type){case Z.Ae.Rect:{var Le=de.creatingPrompt.startPoint,Oe=(0,d.A7)(Le,{x:Ge.elementX,y:Ge.elementY},{width:Ge.elementW,height:Ge.elementH}),we=(0,d.ZU)(Oe,{x:-pe.current.x,y:-pe.current.y});(0,l.Mu)(Te.current,we,xe,2,[0],ce);break}case Z.Ae.Point:{if(!de.creatingPrompt.point)break;var Ne=(0,d.aF)(de.creatingPrompt.point,{x:-pe.current.x,y:-pe.current.y});(0,l.G5)(Te.current,Ne,4,de.creatingPrompt.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE,2,"#fff")}case Z.Ae.Stroke:{if(!de.creatingPrompt.stroke||!de.creatingPrompt.radius)break;var st=(0,d.U8)(de.creatingPrompt.stroke,{x:-pe.current.x,y:-pe.current.y}),et=de.creatingPrompt.radius*G.width/fe.width,Ye=de.creatingPrompt.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE;(0,l.AT)(Te.current,st,Ye,et);break}default:break}if(A.isRequiring&&de.activeRectWhileLoading){var ke=(0,d.ZU)(de.activeRectWhileLoading,{x:-pe.current.x,y:-pe.current.y});(0,l.HU)(Te.current,ke)}}de.promptsQueue&&de.promptsQueue.forEach(function(Be){if(Be.type===Z.Ae.Point){var it=(0,d.aF)(Be.point,{x:-pe.current.x,y:-pe.current.y});(0,l.G5)(Te.current,it,4,Be.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE,2,"#fff")}})},P=function(J){var de={x:Ge.elementX,y:Ge.elementY};pt(function(xe){switch(xe.selectedSubTool){case n.jB.AutoSegmentByBox:xe.prompt.creatingPrompt={type:Z.Ae.Rect,startPoint:de,isPositive:!0};break;case n.jB.AutoSegmentByClick:xe.prompt.creatingPrompt={type:Z.Ae.Point,startPoint:de,point:de,isPositive:X(J)};break;case n.jB.AutoSegmentByStroke:{xe.prompt.creatingPrompt={type:Z.Ae.Stroke,startPoint:de,stroke:[de],radius:xe.brushSize,isPositive:X(J)};break}default:}})},ae=function(J){var de=J.object,xe=J.event;return Qe.AIAnnotation?(P(xe),!0):(xe==null?void 0:xe.button)===2?!1:!!x({object:de,contentMouse:Ge,setEditState:Je,setDrawData:pt})},Q=function(J){var de=J.event,xe=J.point,ce=J.basic;return pt(function(Le){if(!Le.creatingObject||Le.activeObjectIndex>-1)if(Le.activeObjectIndex=-1,Le.AIAnnotation)switch(Le.selectedSubTool){case n.jB.AutoSegmentByBox:Le.prompt.creatingPrompt={type:Z.Ae.Rect,startPoint:xe,isPositive:!0};break;case n.jB.AutoSegmentByClick:Le.prompt.creatingPrompt={type:Z.Ae.Point,startPoint:xe,point:xe,isPositive:X(de)};break;case n.jB.AutoSegmentByStroke:{Le.prompt.creatingPrompt={type:Z.Ae.Stroke,startPoint:xe,stroke:[xe],radius:Le.brushSize,isPositive:X(de)};break}}else Le.creatingObject=t()({type:n.gr.Polygon,polygon:{visible:!0,group:[[xe]]},currIndex:0},ce),ft((0,C.cloneDeep)(Qe));else if(Le.AIAnnotation)P(de);else{var Oe=Le.creatingObject.currIndex,we=Le.creatingObject.polygon;if(Oe>-1){var Ne=we.group[Oe][0];(0,d.uN)(Ne,Ge)?Le.creatingObject.currIndex=-1:Le.creatingObject.polygon&&(we.group[Oe].push(xe),ft((0,C.cloneDeep)(Le)))}else we.group.push([xe]),Le.creatingObject.currIndex=we.group.length-1,ft((0,C.cloneDeep)(Le))}}),!0},ie=function(J){var de=J.event,xe=Qe.selectedSubTool===n.jB.AutoSegmentByStroke,ce=de.buttons===1||de.buttons===2;if(Qe.prompt.creatingPrompt&&xe&&ce){var Le={x:Ge.elementX,y:Ge.elementY};return pt(function(Oe){var we,Ne;(we=Oe.prompt.creatingPrompt)===null||we===void 0||(Ne=we.stroke)===null||Ne===void 0||Ne.push(Le)}),!0}return!!Qe.creatingObject},me=function(J){var de=J.event;if(Qe.AIAnnotation)return Wt("crosshair"),ie({event:de});var xe=A.focusEleType,ce=A.focusEleIndex,Le=A.focusObjectIndex,Oe=A.focusPolygonInfo;if(Le===Qe.activeObjectIndex&&xe===n.Yq.Polygon&&(Oe.pointIndex>-1?Wt("pointer"):Oe.lineIndex>-1?Wt("crosshair"):Wt("move")),xe===n.Yq.Polygon&&ce===0){var we=A.focusPolygonInfo,Ne=we.index,st=we.pointIndex;if(A.startElementMovePoint&&Ne>-1)return st>-1?(pt(function(et){var Ye,ke;if(et.activeObjectIndex>-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(Ye=et.creatingObject)!==null&&Ye!==void 0&&(ke=Ye.polygon)!==null&&ke!==void 0&&ke.group[Ne]){var Be,it,Ve=(Be=et.creatingObject)===null||Be===void 0||(it=Be.polygon)===null||it===void 0?void 0:it.group[Ne];Ve[st]=(0,d.E5)(Ge)}}),!0):(pt(function(et){var Ye,ke;if(et.activeObjectIndex>-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(Ye=et.creatingObject)!==null&&Ye!==void 0&&(ke=Ye.polygon)!==null&&ke!==void 0&&ke.group[Ne]){var Be,it,Ve=(Be=et.creatingObject)===null||Be===void 0||(it=Be.polygon)===null||it===void 0?void 0:it.group[Ne],xt=(0,d.s5)(Ve,A.startElementMovePoint,Ge);et.creatingObject.polygon.group[Ne]=xt,Je(function(Ht){Ht.startElementMovePoint&&(Ht.startElementMovePoint.mousePoint={x:Ge.elementX,y:Ge.elementY})})}}),!0)}return!1},je=function(J){var de=J.event;return ie({event:de})},Ee=function(){if(Qe.prompt.promptsQueue&&Qe.prompt.promptsQueue.length>0)return Qe.prompt.promptsQueue;var J=!Qe.prompt.sessionId&&Qe.creatingObject;if(J){var de,xe,ce=((de=Qe.creatingObject)===null||de===void 0||(xe=de.polygon)===null||xe===void 0?void 0:xe.group.map(function(Oe){return Oe.reduce(function(we,Ne){return we.concat([Ne.x,Ne.y])},[])}))||[],Le={type:Z.Ae.Modify,isPositive:!0,polygons:ce};return[Le]}else return[]},Me=function(){var J={x:Ge.elementX,y:Ge.elementY},de=Ee();switch(Qe.selectedSubTool){case n.jB.AutoSegmentByBox:{var xe,ce,Le;if(!((xe=Qe.prompt.creatingPrompt)!==null&&xe!==void 0&&xe.startPoint))break;if(J.x===((ce=Qe.prompt.creatingPrompt.startPoint)===null||ce===void 0?void 0:ce.x)||J.y===((Le=Qe.prompt.creatingPrompt.startPoint)===null||Le===void 0?void 0:Le.y)){pt(function(Ve){return Ve.prompt.creatingPrompt=void 0});break}var Oe=(0,d.A7)(Qe.prompt.creatingPrompt.startPoint,J,{width:Ge.elementW,height:Ge.elementH}),we={type:Z.Ae.Rect,isPositive:!0,rect:Oe};Et(function(Ve){Ve.prompt.activeRectWhileLoading=Oe});var Ne=[].concat(w()(de),[we]);nt==null||nt({type:n.gr.Polygon,drawData:Qe,promptsQueue:Ne});break}case n.jB.AutoSegmentByClick:{var st;if(!(0,d.jt)(Ge)||!(0,d.jt)(ge)||!((st=Qe.prompt.creatingPrompt)!==null&&st!==void 0&&st.point))break;var et={type:Z.Ae.Point,isPositive:Qe.prompt.creatingPrompt.isPositive,point:Qe.prompt.creatingPrompt.point},Ye=[].concat(w()(de),[et]);nt==null||nt({type:n.gr.Polygon,drawData:Qe,promptsQueue:Ye});break}case n.jB.AutoSegmentByStroke:{var ke;if(!((ke=Qe.prompt.creatingPrompt)!==null&&ke!==void 0&&ke.stroke))break;var Be={type:Z.Ae.Stroke,isPositive:Qe.prompt.creatingPrompt.isPositive,stroke:Qe.prompt.creatingPrompt.stroke,radius:Qe.brushSize},it=[].concat(w()(de),[Be]);nt==null||nt({type:n.gr.Polygon,drawData:Qe,promptsQueue:it});break}}},We=function(J){var de=J.object;if(Qe.AIAnnotation)Me();else{var xe,ce,Le=A.startRectResizeAnchor||A.startElementMovePoint,Oe=A.startElementMovePoint&&((xe=A.startElementMovePoint.initPoint)===null||xe===void 0?void 0:xe.x)===Ge.elementX&&((ce=A.startElementMovePoint.initPoint)===null||ce===void 0?void 0:ce.y)===Ge.elementY,we=Oe&&A.focusPolygonInfo.index>-1&&A.focusPolygonInfo.pointIndex>-1;if(we){var Ne,st=(0,C.cloneDeep)(de),et=A.focusPolygonInfo,Ye=et.index,ke=et.pointIndex,Be=(Ne=st.polygon)===null||Ne===void 0?void 0:Ne.group[Ye];Be&&Ye>-1&&ke>-1&&Be.length>=3&&Be.splice(ke,1),$e(st,Qe.activeObjectIndex)}else Le&&$e(de,Qe.activeObjectIndex);Je(function(it){it.startRectResizeAnchor=void 0,it.startElementMovePoint=void 0})}return!0},re=function(J){var de=J.object;if(Qe.AIAnnotation)Me();else if(de&&de.currIndex===-1){var xe=de.polygon,ce=de.type,Le=de.hidden,Oe=de.labelId,we=de.status,Ne=de.color,st={polygon:xe,type:ce,hidden:Le,labelId:Oe,status:we,color:Ne};Xe(st)}return!0};return{renderObject:ye,renderCreatingObject:ne,renderEditingObject:H,renderPrompt:R,startEditingWhenMouseDown:ae,startCreatingWhenMouseDown:Q,updateEditingWhenMouseMove:me,updateCreatingWhenMouseMove:je,finishEditingWhenMouseUp:We,finishCreatingWhenMouseUp:re}},$=L,D=function(U){var A=U.canvasRef,G=function(ft){var Wt=ft.object,$e=ft.color,Xe=ft.isFocus,nt=Wt.polyline;if(nt&&nt.visible&&nt.lineType){var Ke=nt.lineType,ye=nt.color||$e,ne=Xe?(0,N.a7)(ye,F.rl.FOCUS):(0,N.a7)(ye,F.rl.DEFAULT);nt==null||nt.group.forEach(function(H){(0,l.bT)(A.current,H,ne,Ke)})}},fe=function(){},pe=function(){},ge=function(){},be=function(){return!1},Te=function(){return!1},Ge=function(){return!1},Je=function(){return!1},Qe=function(){return!1},pt=function(){return!1};return{renderObject:G,renderCreatingObject:fe,renderEditingObject:pe,renderPrompt:ge,startEditingWhenMouseDown:be,startCreatingWhenMouseDown:Te,updateEditingWhenMouseMove:Ge,updateCreatingWhenMouseMove:Je,finishEditingWhenMouseUp:Qe,finishCreatingWhenMouseUp:pt}},T=D,j=function(U){var A=U.contentMouse,G=U.imagePos,fe=U.canvasRef,pe=U.activeCanvasRef,ge=U.editState,be=U.setEditState,Te=U.drawData,Ge=U.setDrawData,Je=U.updateMouseCursor,Qe=U.updateObject,pt=U.addObject,Et=U.getAnnotColor,ft=U.displayOptionsResult,Wt=U.categories,$e=U.onAiAnnotation,Xe=function(me){var je=me.object,Ee=me.color,Me=me.styles,We=me.isFocus,re=je.rect;if(re&&re.visible){var se=Me.strokeDash,J=Me.strokeColor,de=Me.fillColor,xe=Me.thickness,ce=Te.selectedModel[Te.selectedTool];if(Te.isBatchEditing){if(je.status===Z.TK.Unchecked&&(!ge.isCtrlPressed||ce===n.HE.IVP))return;ge.isCtrlPressed&&ce===n.HE.Detection&&(je.status!==Z.TK.Unchecked?(J=(0,N.a7)(Ee,.8),se=[2],xe=1.5):de=We?(0,N.a7)(Ee,F.mh.DEFAULT):(0,N.a7)(Ee,F.mh.CTRL_TO_SELECT))}if((0,l.Mu)(fe.current,re,J,xe,se,de),ft!=null&&ft.showBoxText){var Le,Oe=((Le=Wt.find(function(Ne){return Ne.id===je.labelId}))===null||Le===void 0?void 0:Le.name)||"",we=je!=null&&je.conf&&je.conf>0&&je.conf<1?"".concat(Oe," (").concat(je.conf.toFixed(3),")"):Oe;(0,l.yU)(fe.current,we||"",13,{x:re.x+6,y:re.y+6},Ee,!0,"left")}Te.isBatchEditing&&ge.isCtrlPressed&&We&&(0,l.HU)(pe.current,re,"#000",.6)}},nt=function(me){var je=me.object,Ee=me.styles,Me=je.startPoint;if(Me){var We=(0,d.A7)(Me,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),re=(0,d.ZU)(We,{x:-G.current.x,y:-G.current.y});(0,l.Mu)(pe.current,re,Ee.strokeColor,Ee.thickness,Ee.strokeDash,Ee.fillColor)}},Ke=function(me){var je=me.object,Ee=me.styles,Me=je.rect;Me&&Me.visible&&((0,l.Mu)(pe.current,Me,Ee.strokeColor,Ee.thickness,Ee.strokeDash,Ee.fillColor),W(pe.current,Me))},ye=function(me){var je=me.prompt;if(je.creatingPrompt){var Ee=je.creatingPrompt.isPositive?F.CJ.POSITIVE:F.CJ.NEGATIVE,Me=je.creatingPrompt.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE;switch(je.creatingPrompt.type){case Z.Ae.Rect:{var We=je.creatingPrompt.startPoint,re=(0,d.A7)(We,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),se=(0,d.ZU)(re,{x:-G.current.x,y:-G.current.y});(0,l.Mu)(pe.current,se,Ee,2,[0],Me);break}case Z.Ae.Point:{if(!je.creatingPrompt.point)break;var J=(0,d.aF)(je.creatingPrompt.point,{x:-G.current.x,y:-G.current.y});(0,l.G5)(pe.current,J,4,je.creatingPrompt.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE,2,"#fff")}default:break}}je.promptsQueue&&je.promptsQueue.forEach(function(de){switch(de.type){case Z.Ae.Rect:{var xe=(0,d.ZU)(de.rect,{x:-G.current.x,y:-G.current.y});(0,l.Mu)(pe.current,xe,de.isPositive?F.CJ.POSITIVE:F.CJ.NEGATIVE,2,[0],de.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE);break}case Z.Ae.Point:{var ce=(0,d.aF)(de.point,{x:-G.current.x,y:-G.current.y});(0,l.G5)(pe.current,ce,4,de.isPositive?F.lz.POSITIVE:F.lz.NEGATIVE,2,"#fff");break}}})},ne=function(me){var je=me.object,Ee=me.event;return(Ee==null?void 0:Ee.button)===2?!1:!!x({object:je,contentMouse:A,setEditState:be,setDrawData:Ge})},H=function(me){var je=me.point,Ee=me.basic;return Ge(function(Me){var We=Me.selectedModel[Me.selectedTool];Me.AIAnnotation&&We===n.HE.IVP?(Me.activeObjectIndex=-1,Me.prompt.creatingPrompt={type:Z.Ae.Rect,startPoint:je,point:je,isPositive:Me.selectedSubTool!==n.jB.NegativeVisualPrompt}):(Me.activeObjectIndex=-1,Me.creatingObject=t()({type:n.gr.Rectangle,startPoint:je},Ee))}),!0},R=function(me){var je=me.object;return O({object:je,editState:ge,contentMouse:A,drawData:Te,setDrawData:Ge,updateMouseCursor:Je})},P=function(me){var je=me.object;return!!je},ae=function(me){var je=me.object,Ee=ge.startRectResizeAnchor||ge.startElementMovePoint;return Ee&&Qe(je,Te.activeObjectIndex),be(function(Me){Me.startRectResizeAnchor=void 0,Me.startElementMovePoint=void 0}),!0},Q=function(me){var je,Ee=me.object,Me={x:A.elementX,y:A.elementY};if(Te.AIAnnotation&&Te.selectedModel[Te.selectedTool]===n.HE.IVP&&(je=Te.prompt.creatingPrompt)!==null&&je!==void 0&&je.startPoint){var We=Te.prompt.creatingPrompt.startPoint;if(Me.x===We.x||Me.y===We.y)return Ge(function(ce){ce.prompt.creatingPrompt=void 0}),!0;var re=(0,d.A7)(We,Me,{width:A.elementW,height:A.elementH}),se={type:Z.Ae.Rect,isPositive:Te.prompt.creatingPrompt.isPositive,rect:re},J=[].concat(w()(Te.prompt.promptsQueue||[]),[se]);return $e==null||$e({type:n.gr.Rectangle,drawData:Te,promptsQueue:J}),!0}if(!Ee||!Ee.startPoint)return!1;if(A.elementX===Ee.startPoint.x||A.elementY===Ee.startPoint.y)return Ge(function(ce){ce.creatingObject=void 0}),!0;var de=(0,d.A7)(Ee.startPoint,{x:A.elementX,y:A.elementY},{width:A.elementW,height:A.elementH}),xe={type:n.gr.Rectangle,labelId:Ee.labelId,hidden:!1,rect:t()({visible:!0},de),conf:1,status:Z.TK.Commited,color:Et(Ee.labelId)};return pt(xe),!0};return{renderObject:Xe,renderCreatingObject:nt,renderEditingObject:Ke,renderPrompt:ye,startEditingWhenMouseDown:ne,startCreatingWhenMouseDown:H,updateEditingWhenMouseMove:R,updateCreatingWhenMouseMove:P,finishEditingWhenMouseUp:ae,finishCreatingWhenMouseUp:Q}},K=j,k=function(U,A,G,fe,pe){var ge=arguments.length>5&&arguments[5]!==void 0?arguments[5]:4,be=A.lines,Te=A.points;if(!pe)for(var Ge=0;Ge*2400?4:2)}},nt=function(me){var je=me.object,Ee=me.styles,Me=je.startPoint;if(Me){var We=(0,d.A7)(Me,{x:pe.elementX,y:pe.elementY},{width:pe.elementW,height:pe.elementH}),re=(0,d.ZU)(We,{x:-ge.current.x,y:-ge.current.y}),se=n.v_.points,J=n.v_.lines,de=n.v_.pointColors,xe=n.v_.pointNames,ce=(0,d.el)(se,xe,de,fe,G),Le=(0,d.cU)(ce,re);(0,l.Mu)(Te.current,re,Ee.strokeColor,Ee.thickness),Le.forEach(function(et){(0,l.G5)(Te.current,{x:et.x,y:et.y},4,Ee.strokeColor,3,"#1f4dd8")});for(var Oe=0;Oe*2-1&&A.focusEleIndex>-1&&A.startElementMovePoint&&(Me=Ee.creatingObject)!==null&&Me!==void 0&&(We=Me.keypoints)!==null&&We!==void 0&&(re=We.points)!==null&&re!==void 0&&re[A.focusEleIndex]){var se,J,de,xe=(se=Ee.creatingObject)===null||se===void 0||(J=se.keypoints)===null||J===void 0||(de=J.points)===null||de===void 0?void 0:de[A.focusEleIndex],ce=(0,d.E5)(pe),Le=ce.x,Oe=ce.y;xe.x=Le,xe.y=Oe}}),!0):!1)},P=function(me){var je=me.object;return!!je},ae=function(me){var je=me.object,Ee=A.startRectResizeAnchor||A.startElementMovePoint;if(Ee&&ft(je,Je.activeObjectIndex),Je.AIAnnotation){var Me,We;A.startElementMovePoint&&(((Me=A.startElementMovePoint.mousePoint)===null||Me===void 0?void 0:Me.x)!==pe.elementX||((We=A.startElementMovePoint.mousePoint)===null||We===void 0?void 0:We.y)!==pe.elementY)&&(Wt==null||Wt({type:n.gr.Skeleton,drawData:Je}))}return Ge(function(re){re.startRectResizeAnchor=void 0,re.startElementMovePoint=void 0}),!0},Q=function(me){var je,Ee,Me=me.object;if(!Me||!Me.startPoint)return!1;if(pe.elementX===((je=Me.startPoint)===null||je===void 0?void 0:je.x)||pe.elementY===((Ee=Me.startPoint)===null||Ee===void 0?void 0:Ee.y))return Qe(function(Oe){return Oe.creatingObject=void 0}),!0;var We=(0,d.A7)(Me.startPoint,{x:pe.elementX,y:pe.elementY},{width:pe.elementW,height:pe.elementH}),re=n.v_.points,se=n.v_.lines,J=n.v_.pointColors,de=n.v_.pointNames,xe=(0,d.el)(re,de,J,fe,G),ce=(0,d.cU)(xe,We),Le={type:n.gr.Skeleton,labelId:Me.labelId,hidden:!1,color:Me.color,rect:t()({visible:!0},We),keypoints:{points:ce,lines:se},conf:1,status:Z.TK.Commited};return Et(Le),!0};return{renderObject:Xe,renderCreatingObject:nt,renderEditingObject:Ke,renderPrompt:ye,startEditingWhenMouseDown:ne,startCreatingWhenMouseDown:H,updateEditingWhenMouseMove:R,updateCreatingWhenMouseMove:P,finishEditingWhenMouseUp:ae,finishCreatingWhenMouseUp:Q}},V=te,q;(function(_){})(q||(q={}));var le=function(U){var A,G=K(U),fe=$(U),pe=V(U),ge=(0,c.ZP)(U),be=g(U),Te=h(U),Ge=T(U),Je=(A={},s()(A,n.gr.Rectangle,G),s()(A,n.gr.Polygon,fe),s()(A,n.gr.Skeleton,pe),s()(A,n.gr.Mask,ge),s()(A,n.gr.Matting,be),s()(A,n.gr.Point,Te),s()(A,n.gr.Polyline,Ge),s()(A,n.gr.Custom,G),s()(A,n.gr.Classification,G),A);return{objectHooksMap:Je}},X=function(U){return!(U.button===2||U.button===0&&U.altKey)},W=function(U,A){var G=(0,d.Qo)(A).map(function(fe){return fe.position});G.forEach(function(fe){var pe=(0,d.Ak)(fe,{width:10,height:10}),ge=(0,d.my)(pe);(0,l.Mu)(U,ge,"rgba(0, 0, 0, 0.8)",3,[0],"#fff")})},x=function(U){var A=U.object,G=U.contentMouse,fe=U.setEditState,pe=U.setDrawData,ge=(0,d.o7)(G,A),be=ge.focusEleIndex,Te=ge.focusEleType,Ge=ge.focusPolygonInfo;if(Te===n.Yq.None)return!1;var Je=A.rect,Qe=A.keypoints,pt=A.polygon,Et={x:G.elementX,y:G.elementY};return fe(function(ft){switch(Te){case n.Yq.Rect:{if(Je){var Wt=(0,d.Oh)(Je,Et);Wt?ft.startRectResizeAnchor={type:Wt.type,position:(0,d.l1)(Je,Wt.type)}:ft.startElementMovePoint={topLeftPoint:{x:Je.x,y:Je.y},mousePoint:Et}}break}case n.Yq.Circle:{if(Qe){var $e=Qe.points[be];ft.startElementMovePoint={topLeftPoint:{x:$e.x,y:$e.y},mousePoint:Et}}break}case n.Yq.Polygon:{var Xe=Ge.lineIndex,nt=Ge.index;if(pt)if(Xe>-1){var Ke=(0,d.Iw)(pt.group[nt])[Xe];if(Ke){var ye=(0,d.Z4)(Et,Ke.start,Ke.end);pe(function(ne){var H=ne.objectList[ne.activeObjectIndex];H.polygon&&H.polygon.group[nt].splice(Xe+1,0,ye),ne.creatingObject=t()({},H)}),ft.focusPolygonInfo.pointIndex=Xe+1,ft.startElementMovePoint={topLeftPoint:{x:0,y:0},mousePoint:ye,initPoint:ye}}}else ft.startElementMovePoint={topLeftPoint:{x:0,y:0},mousePoint:Et,initPoint:Et};break}}}),!0},O=function(U){var A=U.object,G=U.editState,fe=U.contentMouse,pe=U.drawData,ge=U.setDrawData,be=U.updateMouseCursor,Te=G.focusObjectIndex,Ge=G.focusEleIndex,Je=G.focusEleType,Qe=G.startRectResizeAnchor;if(Te===pe.activeObjectIndex&&Je===n.Yq.Rect&&A.rect){var pt=(0,d.Oh)(A.rect,{x:fe.elementX,y:fe.elementY});pt?be("resize",pt.type):be("move")}if(Je===n.Yq.Rect&&Ge===0){if(Qe)return ge(function(Et){if(Et.activeObjectIndex>-1&&G.startRectResizeAnchor&&Et.creatingObject&&Et.creatingObject.rect){var ft=(0,d.XR)(Et.creatingObject.rect,G.startRectResizeAnchor,fe);Et.creatingObject.rect=t()(t()({},Et.creatingObject.rect),ft)}}),!0;if(G.startElementMovePoint)return ge(function(Et){if(Et.activeObjectIndex>-1&&G.startElementMovePoint&&Et.creatingObject&&Et.creatingObject.rect){var ft=(0,d.i$)(Et.creatingObject.rect,G.startElementMovePoint,fe);Et.creatingObject.rect=t()(t()({},Et.creatingObject.rect),ft)}}),!0}return!1}},67761:function(b,y,e){"use strict";e.d(y,{G9:function(){return j},ei:function(){return K}});var a=e(34485),t=e.n(a),o=e(63900),s=e.n(o),n=e(39378),d=e.n(n),l=e(17410),c=e(34095),m=e(50910),g=e(14464),M=e(46134),h=e(81179),S=e(87478),w=function(V){for(var q=V.length,le=0,X=0,W=!0,x=Array(q*6),O=0;O2&&(X-=V[O-2]),W=!0;W;){var _=X&31;X>>=5,W=!!(X!==-1&&_&16||X!==0&&!(_&16)),W&&(_|=32),_+=48,x[le]=String.fromCharCode(_),le+=1}return x.join("")},C=function(V){for(var q=0,le=[];q2&&(X+=le[le.length-2]),le.push(X)}return le},F=function(V,q){for(var le=new Array(q),X=0,W=0,x=0;x0&&x.forEach(function(_){var U=(0,M.U8)(_.points,{x:-q.x,y:-q.y});(_.tool===l.jB.PenAdd||_.tool===l.jB.PenErase)&&(0,h.HT)(V,U,_.positive,(0,g.a7)(W,c.s_.CREATING),"transparent"),(_.tool===l.jB.BrushAdd||_.tool===l.jB.BrushErase)&&(0,h.T8)(V,U,_.positive,W,c.s_.CREATING,_.radius*le.width/X.width)}),O.restore()},D=function(V,q,le,X,W,x,O){if(V){var _=q.maskStep,U=q.tempMaskSteps,A=q.maskCanvasElement,G=V.getContext("2d");if(!G)return null;if(A&&(G.globalAlpha=c.s_.CREATING,(0,h.AE)(V,A,{x:le.x,y:le.y,width:x.width,height:x.height}),G.globalAlpha=1),$(V,le,x,O,X,U),_&&_.points.length>0){var fe=_.tool===l.jB.PenAdd||_.tool===l.jB.BrushAdd?c.Bt.CREATING_POSITIVE:c.Bt.CREATING_NEGATIVE,pe=(0,M.U8)(_.points,{x:-le.x,y:-le.y});(_.tool===l.jB.PenAdd||_.tool===l.jB.PenErase)&&((0,h.G5)(V,pe[0],6,(0,g.a7)(fe,c.rl.CREATING),3,c.XQ.CREATING),pe.length>0&&((0,h.MC)(V,pe,(0,g.a7)(fe,c.rl.CREATING),2.5,[0]),(0,h.pS)(V,pe[pe.length-1],W,(0,g.a7)(fe,c.rl.CREATING_LINE),2.5,[5]))),(_.tool===l.jB.BrushAdd||_.tool===l.jB.BrushErase||_.tool===l.jB.AutoSegmentByStroke)&&pe.length>1&&(0,h.AT)(V,pe,(0,g.a7)(fe,c.s_.CREATING),_.radius*x.width/O.width)}}},T=function(V,q){var le=V.getContext("2d",{willReadFrequently:!0});if(!le)return null;for(var X=le.getImageData(0,0,V.width,V.height),W=hexToRgbArray(q),x=X.data.length/4;x--;)X.data[x*4+3]>0&&(X.data[x*4]=W[0],X.data[x*4+1]=W[1],X.data[x*4+2]=W[2],X.data[x*4+3]=255);return clearCanvas(V),le.putImageData(X,0,0),V},j=function(V,q,le,X){var W=document.createElement("canvas"),x=W.getContext("2d",{willReadFrequently:!0});if(!x||!le)return null;W.width=q.width,W.height=q.height;var O=le.map(function(pe){return s()(s()({},pe),{},{points:pe.points.map(function(ge){return(0,M.Ap)(ge,V,q)})})});X&&(0,h.AE)(W,X,{x:0,y:0,width:q.width,height:q.height}),$(W,{x:0,y:0},q,q,"#fff",O);for(var _=x.getImageData(0,0,q.width,q.height),U=0,A=new Array(_.data.length/4).fill(0),G=_.data.length/4;G--;){var fe=0;_.data[G*4+3]>0&&(U++,fe=1,A[G]=1),_.data[G*4]=_.data[G*4+1]=_.data[G*4+2]=_.data[G*4+3]=fe}return U>0?L(A):""},K=function(V,q,le){var X=q.width,W=q.height,x=document.createElement("canvas"),O=x.getContext("2d");if(x.width=X,x.height=W,!O)return null;for(var _=O.createImageData(X,W),U=(0,g.dX)(le),A=N(V,Math.ceil(X)*Math.ceil(W)),G=_.data.length/4;G--;)A[G]>0&&(_.data[G*4]=U[0],_.data[G*4+1]=U[1],_.data[G*4+2]=U[2],_.data[G*4+3]=255);return O.putImageData(_,0,0),x},k=function(V){var q=V.editState,le=V.clientSize,X=V.naturalSize,W=V.contentMouse,x=V.imagePos,O=V.containerMouse,_=V.canvasRef,U=V.activeCanvasRef,A=V.drawData,G=V.setDrawData,fe=V.setDrawDataWithHistory,pe=V.updateHistory,ge=V.onAiAnnotation,be=V.updateMouseCursor,Te=function(H){var R=H.object,P=H.styles,ae=R.maskCanvasElement,Q=_.current.getContext("2d"),ie=Q.globalAlpha;Q.globalAlpha=Q.globalAlpha*P.maskAlpha,(0,h.AE)(_.current,ae,{x:x.current.x,y:x.current.y,width:le.width,height:le.height}),Q.globalAlpha=ie},Ge=function(H){var R=H.object,P=H.color;q.hideCreatingObject||D(U.current,R,x.current,P,{x:O.elementX,y:O.elementY},le,X)},Je=function(H){var R=H.object,P=H.color;q.hideCreatingObject||D(U.current,R,x.current,P,{x:O.elementX,y:O.elementY},le,X)},Qe=function(H){var R=H.prompt,P=A.selectedModel[A.selectedTool];if(R.creatingPrompt)if(P===l.HE.IVP){var ae=R.creatingPrompt.isPositive?c.CJ.POSITIVE:c.CJ.NEGATIVE,Q=R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE;switch(R.creatingPrompt.type){case m.Ae.Rect:{var ie=R.creatingPrompt.startPoint,me=(0,M.A7)(ie,{x:W.elementX,y:W.elementY},{width:W.elementW,height:W.elementH}),je=(0,M.ZU)(me,{x:-x.current.x,y:-x.current.y});(0,h.Mu)(U.current,je,ae,2,[0],Q);break}case m.Ae.Point:{if(!R.creatingPrompt.point)break;var Ee=(0,M.aF)(R.creatingPrompt.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,Ee,4,R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}default:break}}else{var Me=c.XQ.CREATING,We=c.Bt.CREATING;switch(R.creatingPrompt.type){case m.Ae.Rect:{var re=R.creatingPrompt.startPoint,se=(0,M.A7)(re,{x:W.elementX,y:W.elementY},{width:W.elementW,height:W.elementH}),J=(0,M.ZU)(se,{x:-x.current.x,y:-x.current.y});(0,h.Mu)(U.current,J,Me,2,[0],We);break}case m.Ae.Point:{if(!R.creatingPrompt.point)break;var de=(0,M.aF)(R.creatingPrompt.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,de,4,R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}case m.Ae.EdgeStitch:case m.Ae.Stroke:{if(!R.creatingPrompt.stroke||!R.creatingPrompt.radius)break;var xe=(0,M.U8)(R.creatingPrompt.stroke,{x:-x.current.x,y:-x.current.y}),ce=R.creatingPrompt.radius*le.width/X.width,Le=R.creatingPrompt.type===m.Ae.EdgeStitch?(0,g.a7)(Me,c.s_.CREATING):R.creatingPrompt.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE;(0,h.AT)(U.current,xe,Le,ce);break}default:break}if(q.isRequiring&&R.activeRectWhileLoading){var Oe=(0,M.ZU)(R.activeRectWhileLoading,{x:-x.current.x,y:-x.current.y});(0,h.HU)(U.current,Oe)}}R.promptsQueue&&(P===l.HE.IVP?R.promptsQueue.forEach(function(we){switch(we.type){case m.Ae.Rect:{var Ne=(0,M.ZU)(we.rect,{x:-x.current.x,y:-x.current.y});(0,h.Mu)(U.current,Ne,we.isPositive?c.CJ.POSITIVE:c.CJ.NEGATIVE,2,[0],we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE);break}case m.Ae.Point:{var st=(0,M.aF)(we.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,st,4,we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff");break}}}):R.promptsQueue.forEach(function(we){if(we.type===m.Ae.Point){var Ne=(0,M.aF)(we.point,{x:-x.current.x,y:-x.current.y});(0,h.G5)(U.current,Ne,4,we.isPositive?c.lz.POSITIVE:c.lz.NEGATIVE,2,"#fff")}}))},pt=function(H){var R={x:W.elementX,y:W.elementY};G(function(P){switch(P.selectedSubTool){case l.jB.PenAdd:case l.jB.PenErase:case l.jB.BrushAdd:case l.jB.BrushErase:if(P.creatingObject){if(P.creatingObject.maskStep){if(P.creatingObject.maskStep.points.push(R),[l.jB.PenAdd,l.jB.PenErase].includes(P.selectedSubTool)&&(0,M.uN)(P.creatingObject.maskStep.points[0],W)){var ae;(ae=P.creatingObject.tempMaskSteps)===null||ae===void 0||ae.push(P.creatingObject.maskStep),P.creatingObject.maskStep=void 0}}else P.creatingObject.maskStep={tool:P.selectedSubTool,positive:P.selectedSubTool===l.jB.PenAdd||P.selectedSubTool===l.jB.BrushAdd,points:[R],radius:P.brushSize};[l.jB.BrushAdd,l.jB.BrushErase].includes(P.selectedSubTool)||pe((0,n.cloneDeep)(P))}P.prompt.sessionId=void 0;break;case l.jB.AutoSegmentByBox:P.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:R,isPositive:!0};break;case l.jB.AutoSegmentByClick:P.prompt.creatingPrompt={type:m.Ae.Point,startPoint:R,point:R,isPositive:(0,S.hF)(H)};break;case l.jB.AutoSegmentByStroke:P.prompt.creatingPrompt={type:m.Ae.Stroke,startPoint:R,stroke:[R],radius:P.brushSize,isPositive:(0,S.hF)(H)};break;case l.jB.AutoEdgeStitching:P.prompt.creatingPrompt={type:m.Ae.EdgeStitch,startPoint:R,stroke:[R],radius:P.brushSize,isPositive:!0};default:break}})},Et=function(H){var R=H.event;return pt(R),!0},ft=function(H){var R=H.event,P=H.object,ae=H.point,Q=H.basic;return P?pt(R):G(function(ie){switch(ie.activeObjectIndex=-1,ie.selectedSubTool){case l.jB.PenAdd:case l.jB.PenErase:case l.jB.BrushAdd:case l.jB.BrushErase:ie.creatingObject=s()(s()({},Q),{},{type:l.gr.Mask,startPoint:ae,maskStep:{tool:ie.selectedSubTool,positive:ie.selectedSubTool===l.jB.PenAdd||ie.selectedSubTool===l.jB.BrushAdd,points:[ae],radius:ie.brushSize},tempMaskSteps:[]}),ie.prompt.sessionId=void 0;break;case l.jB.AutoSegmentByBox:ie.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:ae,isPositive:!0};break;case l.jB.AutoSegmentByClick:ie.prompt.creatingPrompt={type:m.Ae.Point,startPoint:ae,point:ae,isPositive:(0,S.hF)(R)};break;case l.jB.AutoSegmentByStroke:ie.prompt.creatingPrompt={type:m.Ae.Stroke,startPoint:ae,stroke:[ae],radius:ie.brushSize,isPositive:(0,S.hF)(R)};break;case l.jB.AutoEdgeStitching:ie.prompt.creatingPrompt={type:m.Ae.EdgeStitch,startPoint:ae,stroke:[ae],radius:ie.brushSize,isPositive:!0};break;case l.jB.PositiveVisualPrompt:case l.jB.NegativeVisualPrompt:ie.prompt.creatingPrompt={type:m.Ae.Rect,startPoint:ae,point:ae,isPositive:ie.selectedSubTool!==l.jB.NegativeVisualPrompt};default:break}}),!0},Wt=function(H){var R=H.event,P=H.object;if(P||A.prompt.creatingPrompt){be("crosshair");var ae=[l.jB.BrushAdd,l.jB.BrushErase,l.jB.PenAdd,l.jB.PenErase,l.jB.AutoSegmentByStroke,l.jB.AutoEdgeStitching].includes(A.selectedSubTool),Q=R.buttons===1||R.buttons===2;if(ae&&Q){var ie={x:W.elementX,y:W.elementY},me=[l.jB.AutoSegmentByStroke,l.jB.AutoEdgeStitching].includes(A.selectedSubTool);G(function(je){if(me){var Ee,Me;(Ee=je.prompt.creatingPrompt)===null||Ee===void 0||(Me=Ee.stroke)===null||Me===void 0||Me.push(ie)}else{var We,re;(We=je.creatingObject)===null||We===void 0||(re=We.maskStep)===null||re===void 0||re.points.push(ie)}})}return!0}return!1},$e=function(H){var R=H.object,P=H.event;return Wt({object:R,event:P})},Xe=function(H){var R=H.object,P=H.event;return Wt({object:R,event:P})},nt=function(){if(!(!A.creatingObject&&!A.prompt.creatingPrompt)){var H={x:W.elementX,y:W.elementY},R=A.selectedModel[A.selectedTool];switch(A.selectedSubTool){case l.jB.BrushAdd:case l.jB.BrushErase:case l.jB.PenAdd:case l.jB.PenErase:{fe(function(Ne){if(Ne.creatingObject&&Ne.creatingObject.tempMaskSteps&&Ne.creatingObject.maskStep&&Ne.creatingObject.maskStep.points.length>1&&([l.jB.BrushAdd,l.jB.BrushErase].includes(Ne.selectedSubTool)||[l.jB.PenAdd,l.jB.PenErase].includes(Ne.selectedSubTool)&&(0,M.uN)(Ne.creatingObject.maskStep.points[0],W))){var st;(st=Ne.creatingObject.tempMaskSteps)===null||st===void 0||st.push(Ne.creatingObject.maskStep),Ne.creatingObject.maskStep=void 0}Ne.prompt.sessionId=void 0});break}case l.jB.AutoSegmentByBox:{var P,ae,Q;if(!((P=A.prompt.creatingPrompt)!==null&&P!==void 0&&P.startPoint))break;if(H.x===((ae=A.prompt.creatingPrompt.startPoint)===null||ae===void 0?void 0:ae.x)||H.y===((Q=A.prompt.creatingPrompt.startPoint)===null||Q===void 0?void 0:Q.y)){G(function(Ne){return Ne.prompt.creatingPrompt=void 0});break}var ie=(0,M.A7)(A.prompt.creatingPrompt.startPoint,H,{width:W.elementW,height:W.elementH}),me={type:m.Ae.Rect,isPositive:!0,rect:ie};fe(function(Ne){Ne.prompt.activeRectWhileLoading=ie});var je=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[me]):[me];ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:je});break}case l.jB.AutoSegmentByClick:{var Ee;if(!(0,M.jt)(W)||!(0,M.jt)(O)||!((Ee=A.prompt.creatingPrompt)!==null&&Ee!==void 0&&Ee.point))break;var Me={type:m.Ae.Point,isPositive:A.prompt.creatingPrompt.isPositive,point:A.prompt.creatingPrompt.point},We=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[Me]):[Me];ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:We});break}case l.jB.AutoSegmentByStroke:{var re;if(!((re=A.prompt.creatingPrompt)!==null&&re!==void 0&&re.stroke))break;var se={type:m.Ae.Stroke,isPositive:A.prompt.creatingPrompt.isPositive,stroke:A.prompt.creatingPrompt.stroke,radius:A.brushSize},J=A.prompt.promptsQueue?[].concat(t()(A.prompt.promptsQueue),[se]):[se];ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:J});break}case l.jB.AutoEdgeStitching:{var de;if(!((de=A.prompt.creatingPrompt)!==null&&de!==void 0&&de.stroke))break;ge==null||ge({type:l.gr.Mask,drawData:A});break}case l.jB.PositiveVisualPrompt:case l.jB.NegativeVisualPrompt:{var xe;if(R!==l.HE.IVP||!((xe=A.prompt.creatingPrompt)!==null&&xe!==void 0&&xe.startPoint))break;var ce=A.prompt.creatingPrompt.startPoint;if(H.x===ce.x||H.y===ce.y){G(function(Ne){return Ne.prompt.creatingPrompt=void 0});break}else{var Le=(0,M.A7)(ce,H,{width:W.elementW,height:W.elementH}),Oe={type:m.Ae.Rect,isPositive:A.prompt.creatingPrompt.isPositive,rect:Le},we=[].concat(t()(A.prompt.promptsQueue||[]),[Oe]);ge==null||ge({type:l.gr.Mask,drawData:A,promptsQueue:we})}}}}},Ke=function(){return nt(),!0},ye=function(){return nt(),!0};return{renderObject:Te,renderCreatingObject:Ge,renderEditingObject:Je,renderPrompt:Qe,startEditingWhenMouseDown:Et,startCreatingWhenMouseDown:ft,updateEditingWhenMouseMove:$e,updateCreatingWhenMouseMove:Xe,finishEditingWhenMouseUp:Ke,finishCreatingWhenMouseUp:ye}};y.ZP=k},50910:function(b,y,e){"use strict";e.d(y,{Ae:function(){return l},In:function(){return n},O4:function(){return g},SP:function(){return S},TK:function(){return d},f7:function(){return m},je:function(){return c},rl:function(){return h}});var a=e(2657),t=e.n(a),o=e(17410),s,n=function(w){return w.Radio="radio",w.Checkbox="checkbox",w.Text="text",w}({}),d=function(w){return w[w.Unchecked=0]="Unchecked",w[w.Checked=1]="Checked",w[w.Commited=2]="Commited",w}({}),l=function(w){return w.Rect="rect",w.Point="point",w.Stroke="stroke",w.EdgeStitch="edgeStitch",w.Modify="modify",w.Text="text",w}({}),c={View:0,Edit:1,Review:2},m={initialized:!1,selectedTool:o.ru.Drag,selectedSubTool:o.jB.PenAdd,selectedModel:(s={},t()(s,o.ru.Drag,void 0),t()(s,o.ru.Rectangle,void 0),t()(s,o.ru.Mask,void 0),t()(s,o.ru.Skeleton,o.HE.Pose),t()(s,o.ru.Polygon,o.HE.SegmentByPolygon),s),AIAnnotation:!1,objectList:[],classifications:[],activeObjectIndex:-1,activeClassName:"",isJustCreated:!1,creatingObject:void 0,editingAttribute:void 0,highlightCategory:void 0,brushSize:20,pointResolution:.5,prompt:{},isBatchEditing:!1,limitConf:0},g={brightness:100,contrast:100,saturate:100},M={colorByCategory:!0},h={isLoading:!1,isLoadingError:!1,isRequiring:!1,allowMove:!1,latestLabelId:"",startRectResizeAnchor:void 0,startElementMovePoint:void 0,focusObjectIndex:-1,foucsObjectAllIndexs:[],focusEleType:o.Yq.Rect,focusEleIndex:-1,focusPolygonInfo:{index:-1,pointIndex:-1,lineIndex:-1},isCtrlPressed:!1,hideCreatingObject:!1,imageDisplayOptions:g,annotsDisplayOptions:M},S=function(w){return w.Solid="solid",w.Dashed="dash",w.DoubleSolid="double_solid",w.DoubleDashed="double_dash",w.LDashedRSolid="left_dash-right_solid",w.LSolidRDashed="left_solid-right_dash",w.LCurbside="left_curbside",w.RCurbside="right_curbside",w.Unknown="none",w}({})},14464:function(b,y,e){"use strict";e.d(y,{Cj:function(){return c},WE:function(){return h},ZT:function(){return o},a7:function(){return d},dX:function(){return n},g9:function(){return g},wj:function(){return m}});var a=e(34485),t=e.n(a),o=function(C){return C.length!==3?"transparent":"#".concat(C[0].toString(16).padStart(2,"0")).concat(C[1].toString(16).padStart(2,"0")).concat(C[2].toString(16).padStart(2,"0")).toUpperCase()},s=function(C){var F=/^rgba?\((\d+),\s*(\d+),\s*(\d+)\)$/i.exec(C);return F?o(F):"transparent"},n=function(C){var F=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Z=C.replace(F,function(L,$,D,T){return $+$+D+D+T+T}),N=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(Z);return N?[parseInt(N[1],16),parseInt(N[2],16),parseInt(N[3],16)]:[0,0,0]},d=function(C){var F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,N=C.replace(Z,function(D,T,j,K){return T+T+j+j+K+K}),L=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(N),$=F<0||F>1?1:F;return L?"rgba(".concat(parseInt(L[1],16),",").concat(parseInt(L[2],16),",").concat(parseInt(L[3],16),",").concat($,")"):"transparent"},l=function(C){for(var F=["#FFFF00","#FF0000","#0000FF","#00FF00","#FF00FF","#00FFFF"],Z=[255,128,64,32,16,8,4,2,1],N=F.length+1;F.length0)if(L[T%3]+Z[Math.floor(T/3)]<=255)L[T%3]+=Z[Math.floor(T/3)];else{D=!1;break}$<<=1}if(D){var j="#".concat(L[0].toString(16).padStart(2,"0")).concat(L[1].toString(16).padStart(2,"0")).concat(L[2].toString(16).padStart(2,"0")).toUpperCase();F.includes(j)||F.push(j)}}return F},c=function(C){if(!C.length)return{};var F=t()(C),Z=l(F.length),N={};return F.forEach(function(L,$){N[L]=Z[$]}),N},m=function(C,F){return C.length!==3?"transparent":"rgba(".concat(C[0],", ").concat(C[1],", ").concat(C[2],", ").concat(F,")")},g=function(C){var F=C.slice(5,-1).split(",").map(function(Z){return Z.trim()});return F.length!==4||isNaN(parseFloat(F[3]))?[]:F.slice(0,3)},M=function(C,F){if(!C)return"rgba(0,0,0,0)";var Z=C.substring(5,C.length-1).split(",").map(function($){return parseInt($.trim())}),N=[].concat(_toConsumableArray(Z.slice(0,3)),[F]),L="rgba(".concat(N.join(","),")");return L},h=function(C,F,Z){var N=Z*F,L=N*(1-Math.abs(C*6%2-1)),$=Z-N,D=0,T=0,j=0;return C<1/6?(D=N,T=L):C<2/6?(D=L,T=N):C<3/6?(T=N,j=L):C<4/6?(T=L,j=N):C<5/6?(D=L,j=N):(D=N,j=L),[Math.round((D+$)*255),Math.round((T+$)*255),Math.round((j+$)*255)]},S=function(){var w=.618033988749895,C=0;return function(){C=(C+w)%1;var F=h(C,.8,.95);return o(F)}}()},46134:function(b,y,e){"use strict";e.d(y,{$G:function(){return G},$S:function(){return q},A7:function(){return D},AR:function(){return N},A_:function(){return We},Ak:function(){return R},Ap:function(){return X},Aw:function(){return O},E5:function(){return je},I4:function(){return Le},Iw:function(){return Et},JP:function(){return W},Nm:function(){return nt},OX:function(){return A},Oh:function(){return P},Qo:function(){return H},RF:function(){return Xe},U8:function(){return Ne},Uy:function(){return $},Vh:function(){return L},Vi:function(){return re},X6:function(){return Oe},XR:function(){return Q},YO:function(){return Z},Yc:function(){return _t},Z0:function(){return $e},Z4:function(){return se},ZU:function(){return we},aF:function(){return st},aH:function(){return wt},cO:function(){return x},cU:function(){return k},cf:function(){return Ve},cx:function(){return le},e4:function(){return Ot},el:function(){return _},hv:function(){return it},i$:function(){return ie},jt:function(){return pe},kh:function(){return V},kq:function(){return te},l1:function(){return ae},lT:function(){return et},my:function(){return ne},nF:function(){return Be},o7:function(){return Wt},s5:function(){return me},t9:function(){return F},tQ:function(){return Me},uN:function(){return Je},yn:function(){return U}});var a=e(34485),t=e.n(a),o=e(63900),s=e.n(o),n=e(88479),d=e.n(n),l=e(88205),c=e.n(l),m=e(39378),g=e.n(m),M=e(17410),h=e(34095),S=e(67761),w=e(50910),C=e(14464),F=function(ze,tt,St,lt){if(!ze||!tt)return[0,0,1];if(!St)return[ze/tt*(lt||0),lt||0,1];if(!lt)return[St||0,tt/ze*(St||0),1];var Gt=ze,Nt=tt,At=1;return ze/tt>=St/lt?(Gt=St,Nt=tt*St/ze,At=St/ze):(Nt=lt,Gt=ze*lt/tt,At=lt/tt),[Gt||0,Nt||0,At]},Z=function(ze,tt,St){var lt=c()(ze,2),Gt=lt[0],Nt=Gt===void 0?0:Gt,At=lt[1],Ie=At===void 0?0:At;return{x:Nt/tt.width*St.width,y:Ie/tt.height*St.height}},N=function(ze,tt,St){var lt=c()(ze,2),Gt=lt[0],Nt=Gt===void 0?0:Gt,At=lt[1],Ie=At===void 0?0:At;return{x:Nt/St.width*tt.width,y:Ie/St.height*tt.height}},L=function(ze,tt,St){var lt=[];if(!ze)return lt;var Gt=ze.split("/");return Gt==null||Gt.forEach(function(Nt){for(var At=[],Ie=Nt.split(",").map(Number),Se=0;SeSt.width?St.width:tt.x,y:tt.y<0?0:tt.y>St.height?St.height:tt.y};return{x:Math.min(ze.x,lt.x),y:Math.min(ze.y,lt.y),width:Math.abs(ze.x-lt.x),height:Math.abs(ze.y-lt.y)}},T=function(ze){var tt=1/0,St=1/0,lt=-1/0,Gt=-1/0,Nt=d()(ze),At;try{for(Nt.s();!(At=Nt.n()).done;){var Ie=At.value;tt=Math.min(tt,Ie.x),St=Math.min(St,Ie.y),lt=Math.max(lt,Ie.x),Gt=Math.max(Gt,Ie.y)}}catch(Se){Nt.e(Se)}finally{Nt.f()}return{minX:tt,minY:St,maxX:lt,maxY:Gt}},j=function(ze,tt,St){return{x:tt*ze.x,y:St*ze.y}},K=function(ze,tt,St){return{x:ze.x+tt,y:ze.y+St}},k=function(ze,tt){var St=T(ze),lt=St.minX,Gt=St.minY,Nt=St.maxX,At=St.maxY,Ie=tt.width/(Nt-lt),Se=tt.height/(At-Gt),bt=ze.map(function(jt){var He=K(jt,-lt,-Gt),qe=j(He,Ie,Se),$t=K(qe,tt.x,tt.y);return s()(s()({},jt),$t)});return bt},te=function(ze,tt){return{xmin:ze.x/tt.width,ymin:ze.y/tt.height,xmax:(ze.x+ze.width)/tt.width,ymax:(ze.y+ze.height)/tt.height}},V=function(ze){return{xmin:ze.x,ymin:ze.y,xmax:ze.x+ze.width,ymax:ze.y+ze.height}},q=function(ze,tt,St){return{x:ze.x*St.width/tt.width,y:ze.y*St.height/tt.height,width:ze.width*St.width/tt.width,height:ze.height*St.height/tt.height}},le=function(ze,tt,St){var lt=q(ze,tt,St);return[lt.x,lt.y,lt.x+lt.width,lt.y+lt.height]},X=function(ze,tt,St){return{x:ze.x*St.width/tt.width,y:ze.y*St.height/tt.height}},W=function(ze,tt,St){return{x:(ze[0]||0)/tt.width*St.width,y:(ze[1]||0)/tt.height*St.height,width:((ze[2]||0)-(ze[0]||0))/tt.width*St.width,height:((ze[3]||0)-(ze[1]||0))/tt.height*St.height}},x=function(ze,tt){return{x:(ze.xmin||0)*tt.width,y:(ze.ymin||0)*tt.height,width:((ze.xmax||0)-(ze.xmin||0))*tt.width,height:((ze.ymax||0)-(ze.ymin||0))*tt.height}},O=function(ze){return{x:ze.xmin,y:ze.ymin,width:ze.xmax-ze.xmin,height:ze.ymax-ze.ymin}},_=function(ze,tt,St,lt,Gt){for(var Nt=[],At=0;At*6=0&&ze.elementX<=ze.elementW&&ze.elementY>=0&&ze.elementY<=ze.elementH},ge=function(ze,tt){return{x:ze.x-tt.x,y:ze.y-tt.y,width:ze.width+2*tt.x,height:ze.height+2*tt.y}},be=function(ze,tt){return s()(s()({},ze),{},{radius:tt})};function Te(yt,ze,tt){var St={x:ze.x-yt.x,y:ze.y-yt.y},lt={x:tt.x-yt.x,y:tt.y-yt.y};return St.x*lt.y-St.y*lt.x}var Ge=function(ze,tt,St){if(!ze||!tt)return!1;switch(St){case M.Yq.Rect:{var lt=ze;return lt.x<=tt.x&<.x+lt.width>=tt.x&<.y<=tt.y&<.y+lt.height>=tt.y}case M.Yq.Circle:{var Gt=ze;return Math.sqrt(Math.pow(tt.x-Gt.x,2)+Math.pow(tt.y-Gt.y,2))<=Gt.radius}case M.Yq.Polygon:{for(var Nt=ze,At=1;At0&&Ie*bt>0)return!0}return!1}default:return!1}},Je=function(ze,tt){var St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:5,lt=be(ze,St),Gt={x:tt.elementX,y:tt.elementY};return Ge(lt,Gt,M.Yq.Circle)},Qe=function(ze,tt){var St=tt.elementX,lt=tt.elementY,Gt=Math.sqrt(Math.pow(St-ze.start.x,2)+Math.pow(lt-ze.start.y,2)),Nt=Math.sqrt(Math.pow(St-ze.end.x,2)+Math.pow(lt-ze.end.y,2)),At=Math.sqrt(Math.pow(ze.end.x-ze.start.x,2)+Math.pow(ze.end.y-ze.start.y,2)),Ie=.75;return Gt+Nt>=At-Ie&&Gt+Nt<=At+Ie},pt=function(ze){var tt=T(ze),St=tt.maxX,lt=tt.minX,Gt=tt.maxY,Nt=tt.minY;return{x:lt,y:Nt,width:St-lt,height:Gt-Nt}},Et=function(ze){for(var tt=[],St=0;St0)return!0}break}}return!1},Wt=function(ze,tt){var St,lt=M.Yq.None,Gt=-1,Nt={index:-1,pointIndex:-1,lineIndex:-1};if(!pe(ze)||tt.hidden)return{focusEleType:lt,focusEleIndex:Gt,focusPolygonInfo:Nt};if((St=tt.keypoints)!==null&&St!==void 0&&St.points)for(var At=tt.keypoints.points,Ie=0;Ie-1)return Nt.index=$t,Nt.pointIndex=Zt,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Nt}}for(var qt=0;qt-1)return Nt.index=qt,Nt.lineIndex=xn,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Nt}}var pn=qe.findIndex(function(Gn){return Ge(Gn,{x:ze.elementX,y:ze.elementY},M.Yq.Polygon)});if(pn>-1)return Nt.index=pn,{focusEleType:M.Yq.Polygon,focusEleIndex:0,focusPolygonInfo:Nt}}return tt.rect&&Ge(ge(tt.rect,{x:8,y:8}),{x:ze.elementX,y:ze.elementY},M.Yq.Rect)?(lt=M.Yq.Rect,Gt=0,{focusEleType:lt,focusEleIndex:Gt,focusPolygonInfo:Nt}):{focusEleType:lt,focusEleIndex:Gt,focusPolygonInfo:Nt}},$e=function(ze,tt,St,lt){var Gt=arguments.length>4&&arguments[4]!==void 0?arguments[4]:function(){return!0};if(!pe(tt))return-1;if(lt[St]&&Gt(lt[St])&&ft(tt,lt[St],ze))return St;for(var Nt=lt.length-1;Nt>=0;Nt--)if(Gt(lt[Nt])&&ft(tt,lt[Nt],ze))return Nt;return-1},Xe=function(ze,tt,St){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0};if(!pe(tt))return[];for(var Gt=[],Nt=St.length-1;Nt>=0;Nt--)lt(St[Nt])&&ft(tt,St[Nt],ze)&&Gt.push(Nt);return Gt},nt=function(yt){return yt.TOP="TOP",yt.BOTTOM="BOTTOM",yt.LEFT="LEFT",yt.RIGHT="RIGHT",yt.TOP_RIGHT="TOP_RIGHT",yt.TOP_LEFT="TOP_LEFT",yt.BOTTOM_RIGHT="BOTTOM_RIGHT",yt.BOTTOM_LEFT="BOTTOM_LEFT",yt.CENTER="CENTER",yt}({}),Ke=function(ze){return Math.floor(ze)+.5},ye=function(ze){return{x:Ke(ze.x),y:Ke(ze.y)}},ne=function(ze){var tt={x:ze.x,y:ze.y},St={x:ze.x+ze.width,y:ze.y+ze.height},lt=ye(tt),Gt=ye(St);return{x:lt.x,y:lt.y,width:Gt.x-lt.x,height:Gt.y-lt.y}},H=function(ze){return[{type:nt.TOP_LEFT,position:{x:ze.x,y:ze.y}},{type:nt.TOP,position:{x:ze.x+.5*ze.width,y:ze.y}},{type:nt.TOP_RIGHT,position:{x:ze.x+ze.width,y:ze.y}},{type:nt.LEFT,position:{x:ze.x,y:ze.y+.5*ze.height}},{type:nt.RIGHT,position:{x:ze.x+ze.width,y:ze.y+.5*ze.height}},{type:nt.BOTTOM_LEFT,position:{x:ze.x,y:ze.y+ze.height}},{type:nt.BOTTOM,position:{x:ze.x+.5*ze.width,y:ze.y+ze.height}},{type:nt.BOTTOM_RIGHT,position:{x:ze.x+ze.width,y:ze.y+ze.height}}]},R=function(ze,tt){return s()({x:ze.x-.5*tt.width,y:ze.y-.5*tt.height},tt)},P=function(ze,tt){for(var St=H(ze),lt=0;ltSt.elementW?St.elementW:St.elementX,At=St.elementY<0?0:St.elementY>St.elementH?St.elementH:St.elementY,Ie={x:Nt,y:At};switch(lt){case nt.RIGHT:Ie.y=ze.y+ze.height;break;case nt.BOTTOM:Ie.x=ze.x+ze.width;break;case nt.LEFT:Ie.y=ze.y;break;case nt.TOP:Ie.x=ze.x;break}return D(Gt,Ie,{width:St.elementW,height:St.elementH})},ie=function(ze,tt,St){var lt=ze.width,Gt=ze.height,Nt=tt.topLeftPoint,At=tt.mousePoint,Ie=St.elementX-At.x,Se=St.elementY-At.y,bt=Nt.x+Ie,jt=Nt.y+Se;return{x:bt<0?0:bt+lt>St.elementW?St.elementW-lt:bt,y:jt<0?0:jt+Gt>St.elementH?St.elementH-Gt:jt,width:lt,height:Gt}},me=function(ze,tt,St){var lt=tt.mousePoint,Gt=St.elementX,Nt=St.elementY,At=St.elementW,Ie=St.elementH,Se=T(ze),bt=Se.minX,jt=Se.minY,He=Se.maxX,qe=Se.maxY,$t=Gt-lt.x,Zt=Nt-lt.y;$t=$t+He>At?At-He:$t+bt<0?0:$t,Zt=Zt+qe>Ie?Ie-qe:Zt+jt<0?0:Zt;var qt=ze.map(function(un){return{x:un.x+$t,y:un.y+Zt}});return qt},je=function(ze){var tt=ze.elementX,St=ze.elementY;return{x:tt<0?0:tt>ze.elementW?ze.elementW:tt,y:St<0?0:St>ze.elementH?ze.elementH:St}},Ee=function(ze){return!(!(0,m.isNumber)(ze.x)||!(0,m.isNumber)(ze.y)||!(0,m.isNumber)(ze.width)||!(0,m.isNumber)(ze.height)||ze.x===0&&ze.y===0&&ze.width===0&&ze.height===0)},Me=function(ze){return ze.maskRle?M.gr.Mask:ze.alpha?M.gr.Matting:ze.keypoints?M.gr.Skeleton:ze.polygon?M.gr.Polygon:ze.point?M.gr.Point:ze.rect&&Ee(ze.rect)?M.gr.Rectangle:ze.polyline?M.gr.Polyline:M.gr.Custom},We=function(ze,tt,St){var lt=ze.group.map(function(Gt){return Gt.reduce(function(Nt,At){var Ie=At.x,Se=At.y,bt=N([Ie,Se],tt,St);return Nt.concat([bt.x,bt.y])},[])});return lt},re=function(ze,tt,St){var lt=We(ze,tt,St),Gt=lt.map(function(Nt){return Nt.join(",")}).join("/")||"";return Gt},se=function(ze,tt,St){var lt={x:ze.x-tt.x,y:ze.y-tt.y},Gt={x:St.x-tt.x,y:St.y-tt.y},Nt=Gt.x*Gt.x+Gt.y*Gt.y,At=lt.x*Gt.x+lt.y*Gt.y,Ie=At/Nt;return Ie<0||isNaN(Ie)?Ie=0:Ie>1&&(Ie=1),{x:tt.x+Gt.x*Ie,y:tt.y+Gt.y*Ie}},J=function(ze,tt){return{x:(ze.x+tt.x)/2,y:(ze.y+tt.y)/2}},de=function(ze){var tt=ze.x,St=ze.y,lt=ze.width,Gt=ze.height,Nt={x:tt,y:St},At={x:tt+lt,y:St},Ie={x:tt,y:St+Gt},Se={x:tt+lt,y:St+Gt},bt={x:tt+lt/2,y:St},jt={x:tt+lt/2,y:St+Gt},He={x:tt,y:St+Gt/2},qe={x:tt+lt,y:St+Gt/2},$t={x:tt+lt/2,y:St+Gt/2};return[Nt,At,Ie,Se,bt,jt,He,qe,$t]},xe=function(ze,tt){var St=T(ze),lt=T(tt);if(lt.minX>=St.maxX||lt.maxX<=St.minX||lt.minY>=St.maxY||lt.maxY<=St.minY)return!1;var Gt=_createForOfIteratorHelper(ze),Nt;try{for(Gt.s();!(Nt=Gt.n()).done;){var At=Nt.value;if(!Ge(tt,At,EElementType.Polygon))return!1}}catch(Ie){Gt.e(Ie)}finally{Gt.f()}return!0},ce=function(ze){for(var tt=[],St=0;Stlt&&(0,m.isEqual)((0,m.omitBy)(bt,m.isUndefined),(0,m.omitBy)(Se[lt],m.isUndefined))?qe=At:!He&&At.type===M.gr.Mask&&qe.maskRle&&At.labelId!==bt.labelId&&(qe.maskCanvasElement=(0,S.ei)(qe.maskRle,Gt,At.color)),s()(s()({},qe),{},{type:At.type,labelId:At.labelId,hidden:At.hidden,color:At.color,customStyles:At.customStyles,attributes:At.attributes,status:At.status,frameEmpty:He})})}),Nt},xt=function(ze){var tt,St;if(ze.activeObjectIndex>=0&&(tt=ze.objectList)!==null&&tt!==void 0&&tt[ze.activeObjectIndex]&&!((St=ze.objectList)!==null&&St!==void 0&&St[ze.activeObjectIndex].frameEmpty)){var lt;ze.creatingObject=_objectSpread(_objectSpread({},ze.creatingObject),(lt=ze.objectList)===null||lt===void 0?void 0:lt[ze.activeObjectIndex]);return}ze.prompt={},ze.creatingObject=void 0},Ht=function(ze,tt,St){var lt=ze.x,Gt=ze.y,Nt=tt.width,At=tt.height,Ie=St.elementW,Se=St.elementH;if(lt>Ie||Gt>Se||lt+Nt<=0||Gt+At<=0)return{xmin:0,ymin:0,xmax:0,ymax:0};var bt={x:Math.max(0,lt),y:Math.max(0,Gt)},jt={x:Math.min(lt+Nt,Ie),y:Math.min(Gt+At,Se)},He={x:ze.x,y:ze.y},qe=st(bt,He),$t=qe.x,Zt=qe.y,qt=st(jt,He),un=qt.x,xn=qt.y;return{xmin:$t,ymin:Zt,xmax:un,ymax:xn}},Ot=function(ze){for(var tt=ze.getContext("2d",{willReadFrequently:!0}),St=tt.getImageData(0,0,ze.width,ze.height),lt=St.data,Gt=St.width,Nt=St.height,At=Gt,Ie=Nt,Se=0,bt=0,jt=0,He=0;He0){var $t=He/4%Gt,Zt=Math.floor(He/4/Gt);jt++,At=Math.min(At,$t),Ie=Math.min(Ie,Zt),Se=Math.max(Se,$t),bt=Math.max(bt,Zt)}}var qt={xmin:At,ymin:Ie,xmax:Se,ymax:bt};return{area:jt,bbox:qt}},wt=function(ze){var tt,St;if(!ze||ze.length<2||((tt=ze[0])===null||tt===void 0?void 0:tt.length)!==((St=ze[1])===null||St===void 0?void 0:St.length))return[];for(var lt=c()(ze,2),Gt=lt[0],Nt=lt[1],At=[],Ie=0;Ie3&&arguments[3]!==void 0?arguments[3]:"#111111",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5?arguments[5]:void 0,O=V.getContext("2d");O.save(),O.strokeStyle=X,O.lineWidth=W,O.lineCap="round",O.beginPath(),x&&O.setLineDash(x),O.moveTo(q.x,q.y),O.lineTo(le.x+1,le.y+1),O.stroke(),O.restore()}function h(V,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#111111",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,W=arguments.length>4?arguments[4]:void 0,x=V.getContext("2d");x.save(),x.strokeStyle=le,x.lineWidth=X,x.lineCap="round",x.lineJoin="round",W&&x.setLineDash(W),x.beginPath(),x.moveTo(q[0].x,q[0].y);for(var O=1,_=q.length;O<_;O++)x.lineTo(q[O].x,q[O].y);x.stroke(),x.restore()}var S=function(q,le){return{x:q.x+(le.x-q.x)/2,y:q.y+(le.y-q.y)/2}};function w(V,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#111111",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:20,W=arguments.length>4?arguments[4]:void 0,x=V.getContext("2d");x.save(),x.strokeStyle=le,x.lineWidth=X,x.lineCap="round",x.lineJoin="round",W&&x.setLineDash(W),x.beginPath();var O=q[0],_=q[1];x.moveTo(O.x,O.y);for(var U=1,A=q.length;U2&&arguments[2]!==void 0?arguments[2]:"#fff",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,W=arguments.length>4?arguments[4]:void 0,x=arguments.length>5?arguments[5]:void 0;if(V){var O=V.getContext("2d");O.save(),O.strokeStyle=le,O.lineWidth=X,O.beginPath(),W&&O.setLineDash(W),O.rect(q.x,q.y,q.width,q.height),O.stroke(),x&&(O.fillStyle=x,O.fill()),O.restore()}}function F(V,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#fff";if(V){var X=V.getContext("2d");X.save(),X.fillStyle=le,X.beginPath(),X.rect(q.x,q.y,q.width,q.height),X.fill(),X.restore()}}function Z(V,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#000",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5,W=V.getContext("2d");W.save(),W.fillStyle=le,W.globalAlpha=X,W.fillRect(0,0,V.width,V.height),W.globalCompositeOperation="destination-out",W.globalAlpha=1,W.fillRect(q.x,q.y,q.width,q.height),W.restore()}function N(V){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0},le=arguments.length>2?arguments[2]:void 0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1;if(V){var x=V.getContext("2d");x.save(),x.strokeStyle=X,x.lineWidth=W,x.beginPath();var O=q.x,_=q.y;x.moveTo(le[0].x+O,le[0].y+_);for(var U=1;U1&&arguments[1]!==void 0?arguments[1]:{x:0,y:0},le=arguments.length>2?arguments[2]:void 0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5?arguments[5]:void 0;if(V){var O=V.getContext("2d");O.save(),O.strokeStyle=X,O.lineWidth=W,x&&O.setLineDash(x),O.beginPath();var _=q.x,U=q.y;O.moveTo(le[0].x+_,le[0].y+U);for(var A=1;A2&&arguments[2]!==void 0?arguments[2]:"#fff",X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5?arguments[5]:void 0;if(V){var O=V.getContext("2d");O.save(),O.fillStyle=le,O.strokeStyle=X,O.lineWidth=W,x&&O.setLineDash(x),O.beginPath(),O.moveTo(q[0].x,q[0].y);for(var _=1;_0&&O.stroke(),O.fill(),O.restore()}}function T(V,q,le,X){var W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#ffffff",x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,O=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"center",_=V.getContext("2d");_.save(),_.fillStyle=W,_.textAlign=O,_.textBaseline="top",_.font=(x?"bold ":"")+le+"px Arial",_.fillText(q,X.x,X.y),_.restore()}function j(V,q,le){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#ffffff",W=arguments.length>4?arguments[4]:void 0,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:"#000",O=V.getContext("2d");O.save();var _=o(0),U=o(360);O.lineWidth=W||0,O.strokeStyle=x,O.fillStyle=X,O.beginPath(),O.arc(q.x,q.y,le,_,U,!1),O.stroke(),O.fill(),O.restore()}function K(V,q,le,X,W){var x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:20,O=arguments.length>6&&arguments[6]!==void 0?arguments[6]:"#ffffff",_=V.getContext("2d"),U=o(X),A=o(W);_.save(),_.strokeStyle=O,_.lineWidth=x,_.beginPath(),_.arc(q.x,q.y,le,U,A,!1),_.stroke(),_.restore()}function k(V,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#fff",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"#fff",x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,O=arguments.length>6?arguments[6]:void 0,_=V.getContext("2d");_.save(),_.fillStyle=X,_.strokeStyle=W,_.lineWidth=x,_.lineCap="round",_.lineJoin="round",O&&_.setLineDash(O),_.beginPath(),_.moveTo(q[0].x,q[0].y);for(var U=1;U0&&_.stroke(),_.fill()),_.restore()}function te(V,q){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"#111111",W=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,x=arguments.length>5&&arguments[5]!==void 0?arguments[5]:20,O=arguments.length>6?arguments[6]:void 0,_=V.getContext("2d");_.save(),_.strokeStyle=X,_.lineWidth=x,_.lineCap="round",_.lineJoin="round",_.beginPath(),O&&_.setLineDash(O);var U=q[0],A=q[1];_.moveTo(U.x,U.y);for(var G=1,fe=q.length;G0&&(_.globalCompositeOperation="destination-out",_.strokeStyle=X,_.stroke(),_.strokeStyle=(0,t.a7)(X,W),_.globalCompositeOperation="source-over",_.stroke()):(_.globalCompositeOperation="destination-out",_.stroke()),_.restore()}},28638:function(b,y,e){"use strict";e.d(y,{Z:function(){return re}});var a=e(39800),t=e(97375),o=e(2556),s=e(12562),n=e(33010),d=e(53357),l=e(58757),c=e(60698),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},g=m,M=e(17202),h=function(J,de){return l.createElement(M.Z,(0,c.Z)({},J,{ref:de,icon:g}))},S=l.forwardRef(h),w=e(59504),C=e(35667),F=function(J){var de=J.categories,xe=J.filterCategoryName,ce=J.onSelectFilter,Le=J.onClearFilter;return(0,C.jsxs)("div",{className:"dds-quicklabel-image-filter",children:[(0,C.jsx)("div",{children:(0,d._w)("quicklabel.imageFilter")}),(0,C.jsx)(w.Z,{style:{width:150},showSearch:!0,placeholder:(0,d._w)("quicklabel.allCategories"),size:"middle",value:xe,onChange:ce,popupClassName:"filter-options-popup",onClick:function(we){return we.stopPropagation()},onKeyUp:function(we){return we.stopPropagation()},onInputKeyDown:function(we){we.code!=="Enter"&&we.stopPropagation()},dropdownRender:function(we){return(0,C.jsxs)(C.Fragment,{children:[we,(0,C.jsx)(s.ZP,{type:"text",icon:(0,C.jsx)(S,{}),onClick:Le,children:(0,d._w)("quicklabel.clearFilter")})]})},children:de==null?void 0:de.map(function(Oe){return(0,C.jsx)(w.Z.Option,{value:Oe.name,children:Oe.name},Oe.name)})})]})},Z=F,N=e(88205),L=e.n(N),$=e(18695),D=function(J){var de=J.images,xe=J.selected,ce=J.onImageSelected,Le=(0,l.useState)(0),Oe=L()(Le,2),we=Oe[0],Ne=Oe[1],st=120,et=(0,l.useCallback)(function(){var ke=document.getElementById("image-options-container");if(ke){var Be=ke.offsetHeight||0;Ne(Be-56)}},[]);(0,l.useEffect)(function(){return et(),window.addEventListener("resize",et),function(){window.removeEventListener("resize",et)}},[et]);var Ye=function(Be){Be<0||Be>=de.length||ce(Be)};return(0,C.jsx)("div",{id:"image-options-container",className:"dds-quicklabel-options-list",children:(0,C.jsx)($.Z,{className:"dds-quicklabel-options-list-virtual",data:de,height:we,fullHeight:!0,itemHeight:st,itemKey:"id",children:function(Be,it){var Ve=it===xe?"dds-quicklabel-options-list-image-selected":"";return(0,C.jsx)("div",{children:(0,C.jsx)("img",{className:"dds-quicklabel-options-list-image ".concat(Ve),src:Be.url,onClick:function(){return Ye(it)}},Be.id)})}})})},T={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},j=T,K=function(J,de){return l.createElement(M.Z,(0,c.Z)({},J,{ref:de,icon:j}))},k=l.forwardRef(K),te=e(62109),V=e(15618),q=e(51830),le=e(24454),X=e.n(le),W=e(34485),x=e.n(W),O=e(88479),_=e.n(O),U=e(56592),A=e.n(U),G=e(84045),fe=e(79233),pe=e(23671),ge=e(68716),be=e(8851),Te=function(se,J){J===void 0&&(J={});var de=(0,pe.Z)(J),xe=(0,l.useRef)();(0,be.Z)(function(){var ce=(0,ge.n)(se);if(ce!=null&&ce.addEventListener){var Le=function(Ye,ke){var Be=Ye.getData("text/uri-list"),it=Ye.getData("custom");if(it&&de.current.onDom){var Ve=it;try{Ve=JSON.parse(it)}catch(xt){Ve=it}de.current.onDom(Ve,ke);return}if(Be&&de.current.onUri){de.current.onUri(Be,ke);return}if(Ye.files&&Ye.files.length&&de.current.onFiles){de.current.onFiles(Array.from(Ye.files),ke);return}Ye.items&&Ye.items.length&&de.current.onText&&Ye.items[0].getAsString(function(xt){de.current.onText(xt,ke)})},Oe=function(Ye){var ke,Be;Ye.preventDefault(),Ye.stopPropagation(),xe.current=Ye.target,(Be=(ke=de.current).onDragEnter)===null||Be===void 0||Be.call(ke,Ye)},we=function(Ye){var ke,Be;Ye.preventDefault(),(Be=(ke=de.current).onDragOver)===null||Be===void 0||Be.call(ke,Ye)},Ne=function(Ye){var ke,Be;Ye.target===xe.current&&((Be=(ke=de.current).onDragLeave)===null||Be===void 0||Be.call(ke,Ye))},st=function(Ye){var ke,Be;Ye.preventDefault(),Le(Ye.dataTransfer,Ye),(Be=(ke=de.current).onDrop)===null||Be===void 0||Be.call(ke,Ye)},et=function(Ye){var ke,Be;Le(Ye.clipboardData,Ye),(Be=(ke=de.current).onPaste)===null||Be===void 0||Be.call(ke,Ye)};return ce.addEventListener("dragenter",Oe),ce.addEventListener("dragover",we),ce.addEventListener("dragleave",Ne),ce.addEventListener("drop",st),ce.addEventListener("paste",et),function(){ce.removeEventListener("dragenter",Oe),ce.removeEventListener("dragover",we),ce.removeEventListener("dragleave",Ne),ce.removeEventListener("drop",st),ce.removeEventListener("paste",et)}}},[],se)},Ge=Te,Je=e(39378),Qe=Object.defineProperty,pt=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Wt=(se,J,de)=>J in se?Qe(se,J,{enumerable:!0,configurable:!0,writable:!0,value:de}):se[J]=de,$e=(se,J)=>{for(var de in J||(J={}))Et.call(J,de)&&Wt(se,de,J[de]);if(pt)for(var de of pt(J))ft.call(J,de)&&Wt(se,de,J[de]);return se};const Xe=se=>l.createElement("svg",$e({viewBox:"0 0 91 75",fill:"none",xmlns:"http://www.w3.org/2000/svg"},se),l.createElement("path",{d:"M60.633.007C49.453-.22 37.923 6.255 34.76 20.864c-12.874-4.444-24.497 4.32-23.29 18.315C4.735 41.932 0 48.587 0 56.409 0 66.709 8.199 75 18.383 75h22.33c-.005-6.26-.018-18.818-.018-21.197l-5.237 1.919c-3.8 1.656-6.605-3.183-3.352-6.195l9.909-9.739c2.263-2.288 4.966-2.026 6.97 0l9.909 9.739c3.253 3.012.447 7.85-3.352 6.195l-5.237-1.92V75h22.312C82.801 75 91 66.708 91 56.41c0-7.58-4.45-14.06-10.855-16.96C92.558 14.977 76.972.336 60.633.006Z",fill:"#B9CEFF"}),l.createElement("path",{d:"M60.633.004c-.623-.013-1.306.009-1.93.037-14.278 22.757 7.788 39.403 21.442 39.403C92.558 14.974 76.972.334 60.633.004Z",fill:"#739EFF"}));var nt="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgOTEgNzUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwLjYzMy4wMDdDNDkuNDUzLS4yMiAzNy45MjMgNi4yNTUgMzQuNzYgMjAuODY0Yy0xMi44NzQtNC40NDQtMjQuNDk3IDQuMzItMjMuMjkgMTguMzE1QzQuNzM1IDQxLjkzMiAwIDQ4LjU4NyAwIDU2LjQwOSAwIDY2LjcwOSA4LjE5OSA3NSAxOC4zODMgNzVoMjIuMzNjLS4wMDUtNi4yNi0uMDE4LTE4LjgxOC0uMDE4LTIxLjE5N2wtNS4yMzcgMS45MTljLTMuOCAxLjY1Ni02LjYwNS0zLjE4My0zLjM1Mi02LjE5NWw5LjkwOS05LjczOWMyLjI2My0yLjI4OCA0Ljk2Ni0yLjAyNiA2Ljk3IDBsOS45MDkgOS43MzljMy4yNTMgMy4wMTIuNDQ3IDcuODUtMy4zNTIgNi4xOTVsLTUuMjM3LTEuOTJWNzVoMjIuMzEyQzgyLjgwMSA3NSA5MSA2Ni43MDggOTEgNTYuNDFjMC03LjU4LTQuNDUtMTQuMDYtMTAuODU1LTE2Ljk2QzkyLjU1OCAxNC45NzcgNzYuOTcyLjMzNiA2MC42MzMuMDA2WiIgZmlsbD0iI0I5Q0VGRiIvPjxwYXRoIGQ9Ik02MC42MzMuMDA0Yy0uNjIzLS4wMTMtMS4zMDYuMDA5LTEuOTMuMDM3LTE0LjI3OCAyMi43NTcgNy43ODggMzkuNDAzIDIxLjQ0MiAzOS40MDNDOTIuNTU4IDE0Ljk3NCA3Ni45NzIuMzM0IDYwLjYzMy4wMDRaIiBmaWxsPSIjNzM5RUZGIi8+PC9zdmc+",Ke=e(45060),ye=e(23605),ne=e(95073),H=e(87608),R=e.n(H),P=function(J){var de=J.files,xe=J.fileType,ce=J.onRemoveFile,Le=(0,l.useRef)(null),Oe=(0,ne.Z)(Le),we=Oe!=null&&Oe.width&&Oe.width>800?8:5,Ne=(0,l.useMemo)(function(){return(0,Je.chunk)(de,we).map(function(Ot,wt){return{index:wt,rowImages:Ot}})},[de,we]),st=8,et=18,Ye=.75,ke=.95,Be=30,it=(0,l.useMemo)(function(){return Oe!=null&&Oe.width?((Oe==null?void 0:Oe.width)-et*2-(we-1)*st)/we:0},[Oe==null?void 0:Oe.width,we,st]),Ve=(0,l.useMemo)(function(){return it*ke},[it,ke]),xt=(0,l.useMemo)(function(){return Ve*Ye},[Ve,Ye]),Ht=(0,l.useMemo)(function(){return xt+Be+16},[xt,Be]);return(0,C.jsx)("div",{ref:Le,className:"dds-upload-list",children:(0,C.jsx)($.Z,{className:"virtual-list",data:Ne,height:(Oe==null?void 0:Oe.height)||0,fullHeight:!0,itemHeight:Ht,itemKey:"index",children:function(wt,_t){return(0,C.jsx)("div",{className:"row-container",style:{gap:st,padding:"".concat(st,"px ").concat(et,"px")},children:wt.rowImages.map(function(yt,ze){return(0,C.jsxs)("div",{className:R()("preview-container",{"preview-container-success":yt.status==="success","preview-container-error":yt.status==="error"}),style:{width:it},children:[xe==="video"?(0,C.jsx)("video",{className:"file-preview",src:yt.url,style:{width:Ve,height:xt}}):(0,C.jsx)("img",{className:"file-preview",src:yt.url,style:{width:Ve,height:xt}}),(0,C.jsx)("div",{className:"remove-button",children:(0,C.jsx)(s.ZP,{icon:(0,C.jsx)(ye.Z,{}),shape:"circle",danger:!0,onClick:function(St){St.stopPropagation(),ce(_t*we+ze)}})}),(0,C.jsx)("div",{className:"file-name",children:yt.name})]},yt.name)})},_t)}})})},ae=P,Q=function(J){var de=J.fileList,xe=J.setFileList,ce=J.acceptTypes,Le=J.maxCount,Oe=J.maxSize,we=J.maxDuratuion,Ne=J.limitRemoveFile,st=J.fileType,et=(0,d.bU)(),Ye=et.localeText,ke=(0,l.useState)(!1),Be=L()(ke,2),it=Be[0],Ve=Be[1],xt=(0,l.useState)(!1),Ht=L()(xt,2),Ot=Ht[0],wt=Ht[1],_t=(0,l.useRef)(!1),yt=(0,l.useRef)(null),ze=ce?ce.join(", "):void 0,tt=function(){var Nt=A()(X()().mark(function At(Ie){var Se,bt,jt,He,qe;return X()().wrap(function(Zt){for(;;)switch(Zt.prev=Zt.next){case 0:Ve(!0),Se=[],bt=_()(Ie),Zt.prev=3,He=X()().mark(function qt(){var un,xn,pn,Gn;return X()().wrap(function(ur){for(;;)switch(ur.prev=ur.next){case 0:if(un=jt.value,xn=0,pn=0,Gn=0,!(Oe&&un.size&&un.size/1024/1024>Oe)){ur.next=4;break}return ur.abrupt("return","continue");case 4:if(!(Le&&Se.length+de.length>Le-1)){ur.next=6;break}return ur.abrupt("return","continue");case 6:if(!de.find(function(br){return br.name===un.name})){ur.next=8;break}return ur.abrupt("return","continue");case 8:Se.push({id:un.name,name:un.name,url:URL.createObjectURL(un),originFileObj:un,frameCount:xn,frameRate:pn,duration:Gn});case 9:case"end":return ur.stop()}},qt)}),bt.s();case 6:if((jt=bt.n()).done){Zt.next=13;break}return Zt.delegateYield(He(),"t0",8);case 8:if(qe=Zt.t0,qe!=="continue"){Zt.next=11;break}return Zt.abrupt("continue",11);case 11:Zt.next=6;break;case 13:Zt.next=18;break;case 15:Zt.prev=15,Zt.t1=Zt.catch(3),bt.e(Zt.t1);case 18:return Zt.prev=18,bt.f(),Zt.finish(18);case 21:Ve(!1),Se.length>0&&(xe([].concat(Se,x()(de))),G.ZP.success(Ye("dds-upload.tip.successLoad",{count:Se.length})));case 23:case"end":return Zt.stop()}},At,null,[[3,15,18,21]])}));return function(Ie){return Nt.apply(this,arguments)}}(),St=(0,l.useCallback)(function(Nt){if(!(Ne&&Ne(Nt))){var At=(0,Je.cloneDeep)(de);At.splice(Nt,1),xe(At)}},[de]),lt=function(At){_t.current=!1;var Ie=At.target.files?x()(At.target.files):[];Ie.length>0&&tt(Ie),wt(!1),At.target.value=""},Gt=(0,l.useCallback)(function(){var Nt;if(Le&&de.length>=Le){G.ZP.warning(Ye("dds-upload.tip.fileCountLimitMsg",{count:Le}));return}wt(!0),(Nt=yt.current)===null||Nt===void 0||Nt.click(),_t.current=!0,window.addEventListener("focus",function(){setTimeout(function(){_t.current&&wt(!1)},100)},{once:!0})},[de,Le]);return Ge(window.document.body,{onFiles:function(){var Nt=A()(X()().mark(function Ie(Se,bt){var jt;return X()().wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!(Le&&de.length>=Le)){qe.next=3;break}return G.ZP.warning(Ye("dds-upload.tip.fileCountLimitMsg",{count:Le})),qe.abrupt("return");case 3:return qe.next=5,(0,Ke._q)(bt==null?void 0:bt.dataTransfer,ce);case 5:jt=qe.sent,tt(jt);case 7:case"end":return qe.stop()}},Ie)}));function At(Ie,Se){return Nt.apply(this,arguments)}return At}(),onDragEnter:function(){wt(!0)},onDrop:function(){wt(!1)},onDragLeave:function(){wt(!1)}}),(0,C.jsxs)("div",{className:"dds-upload",children:[(0,C.jsx)("input",{ref:yt,type:"file",accept:ze,multiple:!0,onChange:lt}),de.length<=0?(0,C.jsxs)("div",{className:R()("dds-upload-empty",{"dds-upload-draging":Ot}),onClick:Gt,children:[(0,C.jsx)(Xe,{}),(0,C.jsx)("p",{className:"dds-upload-title",children:Ye("dds-upload.title")}),(0,C.jsx)("p",{className:"dds-upload-text",children:Ye(st==="video"?"dds-upload.limit.type.video":"dds-upload.limit.type.image")})]}):(0,C.jsxs)("div",{className:R()("dds-upload-content",{"dds-upload-draging":Ot}),children:[(0,C.jsxs)("div",{className:"dds-upload-topbar",children:[(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"dds-upload-title",children:Ye("dds-upload.title")}),(0,C.jsx)("div",{className:"dds-upload-text",children:Ye(st==="video"?"dds-upload.limit.type.video":"dds-upload.limit.type.image")})]}),(0,C.jsx)(s.ZP,{type:"primary",onClick:Gt,children:Ye("dds-upload.upload")})]}),(0,C.jsxs)("div",{className:"dds-upload-content-list",children:[Le&&(0,C.jsxs)("div",{className:"dds-upload-content-list-count",children:[de.length," / ",Le]}),(0,C.jsx)(ae,{files:de,onRemoveFile:St,fileType:st})]})]}),it&&(0,C.jsx)(fe.Z,{size:"large",className:"dds-upload-loading",spinning:it,delay:500})]})},ie=Q,me=1e3,je=10,Ee=function(J){var de=J.open,xe=J.isInit,ce=J.fileList,Le=J.setFileList,Oe=J.onClickOk,we=J.onClickCancel,Ne=J.limitRemoveFile,st=J.okText,et=J.limitClose,Ye=J.uploadPreAnnot,ke=J.onChangePreAnnotFile,Be=J.onRemovePreAnnotFile;return(0,C.jsx)("div",{onMouseDown:function(Ve){return Ve.stopPropagation()},onMouseUp:function(Ve){return Ve.stopPropagation()},children:(0,C.jsxs)(te.Z,{title:(0,d._w)("quicklabel.title"),width:675,open:de,onOk:Oe,onCancel:we,okText:st,okButtonProps:{disabled:ce.length===0},cancelButtonProps:{hidden:et},closable:!et,destroyOnClose:!0,children:[(0,C.jsx)(V.Z,{message:(0,d._w)("quicklabel.formModal.attn"),description:(0,d._w)("quicklabel.formModal.tip"),type:"info",showIcon:!0}),(0,C.jsx)("div",{className:"dds-quicklabel-subtitle",children:(0,d._w)("quicklabel.formModal.importImages")}),(0,C.jsx)("div",{className:"dds-quicklabel-upload",children:(0,C.jsx)(ie,{fileList:ce,setFileList:Le,fileType:"image",acceptTypes:["image/png","image/jpeg","image/jpg"],limitRemoveFile:Ne,maxCount:me,maxSize:je})}),(0,C.jsx)(V.Z,{className:"dds-quicklabel-upload-tip",message:(0,d._w)("quicklabel.formModal.imageTips",{count:me,size:je}),type:"info",showIcon:!0}),xe&&(0,C.jsx)(q.Tn,{uploadFiles:Ye,onChangeFile:ke,onRemoveFile:Be,children:(0,C.jsx)(s.ZP,{icon:(0,C.jsx)(k,{}),className:"dds-quicklabel-upload-preannot-btn",children:(0,d._w)("quicklabel.formModal.importPreAnnots")})})]})})},Me=Ee,We=function(J){var de=J.images,xe=J.filterImages,ce=J.current,Le=J.categories,Oe=J.qsModalVisible,we=J.uploadFiles,Ne=J.uploadPreAnnot,st=J.filterCategoryName,et=J.setImages,Ye=J.setCurrent,ke=J.setCategories,Be=J.setQsModalVisible,it=J.setUploadFiles,Ve=J.limitRemoveFile,xt=J.onCancelUploadFiles,Ht=J.onConfirmUploadFiles,Ot=J.exportAnnotations,wt=J.onChangePreAnnotFile,_t=J.onRemovePreAnnotFile,yt=J.onSelectFilterCategory,ze=J.onClearFilterCategory;(0,l.useEffect)(function(){de.length<=0&&Be(!0)},[]),(0,o.Z)("uparrow",function(){Ye(Math.max(0,ce-1))},{exactMatch:!0}),(0,o.Z)("downarrow",function(){Ye(Math.min(ce+1,de.length-1))},{exactMatch:!0});var tt=function(lt,Gt){if(xe[ce]){var Nt=xe[ce].originalIndex;et(function(At){At[Nt]&&(At[Nt].objects=lt,At[Nt].width=Gt.width,At[Nt].height=Gt.height)})}};return(0,C.jsxs)("div",{className:"dds-quicklabel",children:[(0,C.jsxs)("div",{className:"dds-quicklabel-list",onMouseDown:function(lt){lt.stopPropagation()},onMouseUp:function(lt){lt.stopPropagation()},children:[(0,C.jsx)(s.ZP,{type:"primary",icon:(0,C.jsx)(a.Z,{}),onClick:function(){Be(!0)},children:(0,d._w)("quicklabel.setting")}),(0,C.jsx)(D,{images:xe,selected:ce,onImageSelected:function(lt){Ye(lt)}})]}),(0,C.jsx)("div",{className:"dds-quicklabel-workspace",children:(0,C.jsx)(n.kl,{isOldMode:!0,isSeperate:!0,visible:!0,mode:n.je.Edit,categories:Le,setCategories:ke,list:xe,current:ce,titleElements:[(0,C.jsx)(Z,{categories:Le,filterCategoryName:st,onSelectFilter:yt,onClearFilter:ze},"image-filters")],actionElements:[(0,C.jsx)(s.ZP,{type:"primary",onClick:Ot,children:(0,d._w)("quicklabel.export")},"export")],onAutoSave:tt,onCancel:function(){return t.history.push("/")}})}),(0,C.jsx)(Me,{open:Oe,isInit:de.length===0,fileList:we,setFileList:it,limitRemoveFile:Ve,okText:(0,d._w)("quicklabel.formModal.confirm"),onClickCancel:xt,onClickOk:Ht,limitClose:de.length<=0,uploadPreAnnot:Ne,onChangePreAnnotFile:wt,onRemovePreAnnotFile:_t})]})},re=We},51830:function(b,y,e){"use strict";e.d(y,{ii:function(){return Qe},ZJ:function(){return nt},mn:function(){return n},fL:function(){return h},Qs:function(){return Et},xA:function(){return F},Tn:function(){return se}});var a=e(79233),t=e(58757),o=e(35667),s=function(de){var xe=de.children,ce=de.active,Le=de.tip;return(0,o.jsx)(a.Z,{size:"large",spinning:ce,delay:500,style:{maxHeight:"none",opacity:.3},tip:Le,children:xe})},n=s,d=e(88205),l=e.n(d),c=e(74820),m=e(12562),g=function(J){return J.en="en-US",J.zh="zh-CN",J}({}),M=function(de){var xe=de.getLocale,ce=de.setLocale,Le=de.tooltipPlacement,Oe=Le===void 0?"right":Le,we=de.theme,Ne=we===void 0?"light":we,st=de.className,et=xe(),Ye=function(){var Ht=et===g.zh?g.en:g.zh;ce(Ht)},ke=(0,t.useMemo)(function(){return et===g.zh?["change-lang change-lang-".concat(Ne),"cur-lang cur-lang-".concat(Ne)]:["cur-lang cur-lang-".concat(Ne),"change-lang change-lang-".concat(Ne)]},[Ne,et]),Be=l()(ke,2),it=Be[0],Ve=Be[1];return(0,o.jsx)(c.Z,{placement:Oe,title:et===g.zh?"\u4E2D\u6587 / English":"English / \u4E2D\u6587",children:(0,o.jsx)(m.ZP,{type:"text",className:"dds-lang-selector ".concat(st),onClick:Ye,children:(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{className:Ve,children:"\u4E2D"}),(0,o.jsx)("span",{className:it,children:"En"})]})})})},h=M,S=e(62109),w=e(12632),C=function(de){var xe=de.error,ce=de.componentStack,Le=de.resetError,Oe=function(){S.Z.error({title:xe.toString(),content:(0,o.jsx)("div",{style:{height:"60vh",overflowY:"scroll"},children:(0,o.jsx)("p",{children:ce})}),onOk:function(){},maskClosable:!0,width:"80vw"})};return(0,o.jsx)("div",{style:{position:"relative",height:"calc(100vh - 64px)",width:"100%",backgroundColor:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.jsx)(w.ZP,{status:"500",title:"Running Error",subTitle:"Sorry, something went wrong.",extra:[(0,o.jsx)(m.ZP,{type:"primary",onClick:Le,children:"Click here to reset"},"bt1"),(0,o.jsx)(m.ZP,{onClick:Oe,children:"Error Detail"},"bt2")]})})},F=C,Z=e(73267),N=e(94706),L=Object.defineProperty,$=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,j=(J,de,xe)=>de in J?L(J,de,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[de]=xe,K=(J,de)=>{for(var xe in de||(de={}))D.call(de,xe)&&j(J,xe,de[xe]);if($)for(var xe of $(de))T.call(de,xe)&&j(J,xe,de[xe]);return J};const k=J=>t.createElement("svg",K({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 4.4c0-.22.18-.4.4-.4h1.2c.22 0 .4.18.4.4V6h3.6c.22 0 .4.18.4.4v1.2a.4.4 0 0 1-.4.4H18v1.6a.4.4 0 0 1-.4.4h-1.2a.4.4 0 0 1-.4-.4V4.4ZM2.4 6a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 0 0 .4-.4V6.4a.4.4 0 0 0-.4-.4H2.4Zm8 10a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4h11.2a.4.4 0 0 0 .4-.4v-1.2a.4.4 0 0 0-.4-.4H10.4Zm-8 0a.4.4 0 0 0-.4.4v1.2c0 .22.18.4.4.4H6v1.6c0 .22.18.4.4.4h1.2a.4.4 0 0 0 .4-.4v-5.2a.4.4 0 0 0-.4-.4H6.4a.4.4 0 0 0-.4.4V16H2.4Z",fill:"#434343"}));var te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNiA0LjRjMC0uMjIuMTgtLjQuNC0uNGgxLjJjLjIyIDAgLjQuMTguNC40VjZoMy42Yy4yMiAwIC40LjE4LjQuNHYxLjJhLjQuNCAwIDAgMS0uNC40SDE4djEuNmEuNC40IDAgMCAxLS40LjRoLTEuMmEuNC40IDAgMCAxLS40LS40VjQuNFpNMi40IDZhLjQuNCAwIDAgMC0uNC40djEuMmMwIC4yMi4xOC40LjQuNGgxMS4yYS40LjQgMCAwIDAgLjQtLjRWNi40YS40LjQgMCAwIDAtLjQtLjRIMi40Wm04IDEwYS40LjQgMCAwIDAtLjQuNHYxLjJjMCAuMjIuMTguNC40LjRoMTEuMmEuNC40IDAgMCAwIC40LS40di0xLjJhLjQuNCAwIDAgMC0uNC0uNEgxMC40Wm0tOCAwYS40LjQgMCAwIDAtLjQuNHYxLjJjMCAuMjIuMTguNC40LjRINnYxLjZjMCAuMjIuMTguNC40LjRoMS4yYS40LjQgMCAwIDAgLjQtLjR2LTUuMmEuNC40IDAgMCAwLS40LS40SDYuNGEuNC40IDAgMCAwLS40LjRWMTZIMi40WiIgZmlsbD0iIzQzNDM0MyIvPjwvc3ZnPg==",V=Object.defineProperty,q=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,X=Object.prototype.propertyIsEnumerable,W=(J,de,xe)=>de in J?V(J,de,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[de]=xe,x=(J,de)=>{for(var xe in de||(de={}))le.call(de,xe)&&W(J,xe,de[xe]);if(q)for(var xe of q(de))X.call(de,xe)&&W(J,xe,de[xe]);return J};const O=J=>t.createElement("svg",x({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("path",{d:"M8.536 1.572H7.464c-.095 0-.143.048-.143.143v5.607h-5.32c-.096 0-.144.048-.144.143v1.072c0 .095.048.142.143.142h5.321v5.608c0 .095.048.142.143.142h1.072c.095 0 .142-.047.142-.142V8.679H14c.095 0 .143-.047.143-.142V7.465c0-.095-.048-.143-.143-.143H8.678V1.715c0-.095-.047-.143-.142-.143Z",fill:"#595959"}));var _="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTguNTM2IDEuNTcySDcuNDY0Yy0uMDk1IDAtLjE0My4wNDgtLjE0My4xNDN2NS42MDdoLTUuMzJjLS4wOTYgMC0uMTQ0LjA0OC0uMTQ0LjE0M3YxLjA3MmMwIC4wOTUuMDQ4LjE0Mi4xNDMuMTQyaDUuMzIxdjUuNjA4YzAgLjA5NS4wNDguMTQyLjE0My4xNDJoMS4wNzJjLjA5NSAwIC4xNDItLjA0Ny4xNDItLjE0MlY4LjY3OUgxNGMuMDk1IDAgLjE0My0uMDQ3LjE0My0uMTQyVjcuNDY1YzAtLjA5NS0uMDQ4LS4xNDMtLjE0My0uMTQzSDguNjc4VjEuNzE1YzAtLjA5NS0uMDQ3LS4xNDMtLjE0Mi0uMTQzWiIgZmlsbD0iIzU5NTk1OSIvPjwvc3ZnPg==",U=Object.defineProperty,A=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,pe=(J,de,xe)=>de in J?U(J,de,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[de]=xe,ge=(J,de)=>{for(var xe in de||(de={}))G.call(de,xe)&&pe(J,xe,de[xe]);if(A)for(var xe of A(de))fe.call(de,xe)&&pe(J,xe,de[xe]);return J};const be=J=>t.createElement("svg",ge({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("path",{d:"M14.429 7.322H1.572a.143.143 0 0 0-.143.143v1.072c0 .078.064.142.143.142h12.857a.143.143 0 0 0 .143-.142V7.465a.143.143 0 0 0-.143-.143Z",fill:"#595959"}));var Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE0LjQyOSA3LjMyMkgxLjU3MmEuMTQzLjE0MyAwIDAgMC0uMTQzLjE0M3YxLjA3MmMwIC4wNzguMDY0LjE0Mi4xNDMuMTQyaDEyLjg1N2EuMTQzLjE0MyAwIDAgMCAuMTQzLS4xNDJWNy40NjVhLjE0My4xNDMgMCAwIDAtLjE0My0uMTQzWiIgZmlsbD0iIzU5NTk1OSIvPjwvc3ZnPg==",Ge=e(53357),Je=function(de){var xe=(0,Ge.bU)(),ce=xe.localeText,Le=de.cloumnCount,Oe=de.maxCloumnCount,we=Oe===void 0?8:Oe,Ne=de.onColumnCountChange,st=de.getPopupContainer;return(0,o.jsx)(Z.Z,{getPopupContainer:st,dropdownRender:function(){return(0,o.jsxs)("div",{className:"dds-column-settings-panel",children:[(0,o.jsx)("div",{className:"item-title",children:ce("ColumnSettings.title")}),(0,o.jsxs)("div",{className:"item-content",children:[(0,o.jsx)(N.Z,{min:1,max:we,onChange:function(ke){return Ne(ke)},value:Le,className:"slider"}),(0,o.jsxs)("div",{className:"num-box",children:[(0,o.jsx)(be,{onClick:function(){return Ne(!1)}}),(0,o.jsx)("div",{className:"num",children:Le}),(0,o.jsx)(O,{onClick:function(){return Ne(!0)}})]})]})]})},children:(0,o.jsx)("div",{className:"dds-column-settings-btn",children:(0,o.jsx)(k,{})})})},Qe=Je,pt=function(){return(0,o.jsx)("div",{style:{height:"100vh",width:"100%",backgroundColor:"#fff",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,o.jsx)(w.ZP,{status:"404",title:(0,Ge._w)("MobileAlert.title"),subTitle:(0,Ge._w)("MobileAlert.subTitle")})})},Et=pt,ft=e(35910),Wt=e(32423),$e=e(39378),Xe=function(de){var xe=de.current,ce=de.size,Le=de.total,Oe=de.onPageChange,we=de.onPageSizeChange,Ne=(0,t.useState)(ce),st=l()(Ne,2),et=st[0],Ye=st[1],ke=(0,Ge.bU)(),Be=ke.localeText;return(0,o.jsxs)("div",{className:"dds-dynamic-pagination",children:[(0,o.jsx)(ft.Z,{current:xe,pageSize:ce,total:Le,showSizeChanger:!1,showQuickJumper:!0,onChange:function(Ve){return Oe(Ve)}}),(0,o.jsxs)("div",{className:"pagesize-wrap",children:[(0,o.jsx)("div",{className:"pagesize-label",children:Be("DynamicPagination.label")}),(0,o.jsx)(Wt.Z,{min:1,value:et,onChange:function(Ve){Ye(Number(Ve))},onBlur:function(Ve){(0,$e.isNaN)(Number(Ve.target.value))||Number(Ve.target.value)<=0?we(xe,1):we(xe,Number(Ve.target.value))},onPressEnter:function(Ve){Ve.target.blur(Ve)}})]})]})},nt=Xe,Ke=e(28638),ye=e(33010),ne=e(39875),H=e(23241),R=e(18624),P=Object.defineProperty,ae=Object.getOwnPropertySymbols,Q=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,me=(J,de,xe)=>de in J?P(J,de,{enumerable:!0,configurable:!0,writable:!0,value:xe}):J[de]=xe,je=(J,de)=>{for(var xe in de||(de={}))Q.call(de,xe)&&me(J,xe,de[xe]);if(ae)for(var xe of ae(de))ie.call(de,xe)&&me(J,xe,de[xe]);return J};const Ee=J=>t.createElement("svg",je({viewBox:"0 0 56 56",fill:"none",xmlns:"http://www.w3.org/2000/svg"},J),t.createElement("g",{clipPath:"url(#upload_file_svg__a)"},t.createElement("path",{d:"m46.55 12.917-8.132-8.131A16.227 16.227 0 0 0 26.868.002H16.333C9.9 0 4.667 5.234 4.667 11.667v32.666C4.667 50.766 9.9 56 16.333 56h23.334c6.433 0 11.666-5.234 11.666-11.667V24.465c0-4.363-1.698-8.46-4.783-11.548Zm-3.3 3.3c.743.742 1.37 1.565 1.879 2.45H35a2.337 2.337 0 0 1-2.333-2.334V6.204c.884.509 1.71 1.137 2.45 1.879l8.131 8.131.003.003Zm3.417 28.116c0 3.86-3.141 7-7 7H16.333c-3.859 0-7-3.14-7-7V11.667c0-3.86 3.141-7 7-7h10.535c.38 0 .759.018 1.132.053v11.613c0 3.86 3.14 7 7 7h11.613c.035.374.054.752.054 1.132v19.868ZM36.65 33.79a2.33 2.33 0 0 1 0 3.3 2.327 2.327 0 0 1-1.65.683 2.327 2.327 0 0 1-1.65-.684l-3.017-3.017v10.262a2.334 2.334 0 0 1-4.666 0V34.071l-3.017 3.017a2.33 2.33 0 0 1-3.3 0 2.33 2.33 0 0 1 0-3.299l3.766-3.766c2.693-2.693 7.075-2.693 9.77 0l3.766 3.766h-.002Z",fill:"#739EFF"})),t.createElement("defs",null,t.createElement("clipPath",{id:"upload_file_svg__a"},t.createElement("path",{fill:"#fff",d:"M0 0h56v56H0z"}))));var Me="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNTYgNTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJtNDYuNTUgMTIuOTE3LTguMTMyLTguMTMxQTE2LjIyNyAxNi4yMjcgMCAwIDAgMjYuODY4LjAwMkgxNi4zMzNDOS45IDAgNC42NjcgNS4yMzQgNC42NjcgMTEuNjY3djMyLjY2NkM0LjY2NyA1MC43NjYgOS45IDU2IDE2LjMzMyA1NmgyMy4zMzRjNi40MzMgMCAxMS42NjYtNS4yMzQgMTEuNjY2LTExLjY2N1YyNC40NjVjMC00LjM2My0xLjY5OC04LjQ2LTQuNzgzLTExLjU0OFptLTMuMyAzLjNjLjc0My43NDIgMS4zNyAxLjU2NSAxLjg3OSAyLjQ1SDM1YTIuMzM3IDIuMzM3IDAgMCAxLTIuMzMzLTIuMzM0VjYuMjA0Yy44ODQuNTA5IDEuNzEgMS4xMzcgMi40NSAxLjg3OWw4LjEzMSA4LjEzMS4wMDMuMDAzWm0zLjQxNyAyOC4xMTZjMCAzLjg2LTMuMTQxIDctNyA3SDE2LjMzM2MtMy44NTkgMC03LTMuMTQtNy03VjExLjY2N2MwLTMuODYgMy4xNDEtNyA3LTdoMTAuNTM1Yy4zOCAwIC43NTkuMDE4IDEuMTMyLjA1M3YxMS42MTNjMCAzLjg2IDMuMTQgNyA3IDdoMTEuNjEzYy4wMzUuMzc0LjA1NC43NTIuMDU0IDEuMTMydjE5Ljg2OFpNMzYuNjUgMzMuNzlhMi4zMyAyLjMzIDAgMCAxIDAgMy4zIDIuMzI3IDIuMzI3IDAgMCAxLTEuNjUuNjgzIDIuMzI3IDIuMzI3IDAgMCAxLTEuNjUtLjY4NGwtMy4wMTctMy4wMTd2MTAuMjYyYTIuMzM0IDIuMzM0IDAgMCAxLTQuNjY2IDBWMzQuMDcxbC0zLjAxNyAzLjAxN2EyLjMzIDIuMzMgMCAwIDEtMy4zIDAgMi4zMyAyLjMzIDAgMCAxIDAtMy4yOTlsMy43NjYtMy43NjZjMi42OTMtMi42OTMgNy4wNzUtMi42OTMgOS43NyAwbDMuNzY2IDMuNzY2aC0uMDAyWiIgZmlsbD0iIzczOUVGRiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoNTZ2NTZIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=",We=20,re=function(de){var xe=de.uploadFiles,ce=de.onChangeFile,Le=de.onRemoveFile,Oe=de.children,we=(0,Ge.bU)(),Ne=we.localeText;return(0,o.jsx)(H.Z,{className:"dds-upload-pre-anno",maxCount:1,beforeUpload:function(){return!1},fileList:xe,onChange:ce,onRemove:Le,accept:".json",showUploadList:!0,children:Oe||(0,o.jsx)(R.Z,{children:(0,o.jsx)(R.Z.Meta,{avatar:(0,o.jsx)(ne.Z,{component:Ee}),title:Ne("dds-upload-pre-anno"),description:Ne("dds-upload-pre-anno.tip",{maxSize:We})})})})},se=re},28506:function(b,y,e){"use strict";e.d(y,{_:function(){return C},w:function(){return F}});var a=e(63900),t=e.n(a),o=e(88205),s=e.n(o),n=e(58757),d=e(86429),l=e(51129),c=e(74324),m=e(66682);const g=m,M={parseNumbers:!1,parseBooleans:!1},h={skipNull:!1,skipEmptyString:!1};var w=(Z,N)=>{var L,$;const{navigateMode:D="push",parseOptions:T,stringifyOptions:j}=N||{},K=Object.assign(Object.assign({},M),T),k=Object.assign(Object.assign({},h),j),te=g.useLocation(),V=(L=g.useHistory)===null||L===void 0?void 0:L.call(g),q=($=g.useNavigate)===null||$===void 0?void 0:$.call(g),le=(0,d.Z)(),X=(0,n.useRef)(typeof Z=="function"?Z():Z||{}),W=(0,n.useMemo)(()=>(0,c.parse)(te.search,K),[te.search]),x=(0,n.useMemo)(()=>Object.assign(Object.assign({},X.current),W),[W]),O=_=>{const U=typeof _=="function"?_(x):_;le(),V&&V[D]({hash:te.hash,search:(0,c.stringify)(Object.assign(Object.assign({},W),U),k)||"?"},te.state),q&&q({hash:te.hash,search:(0,c.stringify)(Object.assign(Object.assign({},W),U),k)||"?"},{replace:D==="replace",state:te.state})};return[x,(0,l.Z)(O)]};function C(Z){var N=Z.pageState,L=Z.onInitPageState,$=Z.onPageDidMount,D=Z.onPageWillUnmount,T=w({},{navigateMode:"replace"}),j=s()(T,2),K=j[0],k=j[1];(0,n.useEffect)(function(){if(L){var te={};try{te=K.pageState?JSON.parse(K.pageState):{}}catch(V){console.error("get urlPageState error: ",V)}L(te,K)}return $&&$(K),function(){D&&D()}},[]),(0,n.useEffect)(function(){k(t()(t()({},K),{},{pageState:JSON.stringify(N)}))},[N])}function F(){var Z=(0,n.useState)(window.innerWidth),N=s()(Z,2),L=N[0],$=N[1],D=(0,n.useState)(window.innerHeight),T=s()(D,2),j=T[0],K=T[1],k=function(){$(window.innerWidth),K(window.innerHeight)};return(0,n.useEffect)(function(){return window.addEventListener("resize",k),function(){window.removeEventListener("resize",k)}},[]),{width:L,height:j}}},41260:function(b,y,e){"use strict";e.d(y,{O:function(){return t},p:function(){return a}});var a=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Math.floor(s*Math.pow(10,n))/Math.pow(10,n)},t=function(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Number(s.toFixed(n))}},45060:function(b,y,e){"use strict";e.d(y,{Gf:function(){return m},XV:function(){return c},_q:function(){return S},pz:function(){return C}});var a=e(88479),t=e.n(a),o=e(24454),s=e.n(o),n=e(56592),d=e.n(n),l=e(41260);function c(Z,N,L){var $=new Date(Z),D=$.getFullYear(),T=(0,l.p)($.getMonth()+1),j=(0,l.p)($.getDate()),K=(0,l.p)($.getHours()),k=(0,l.p)($.getMinutes()),te=(0,l.p)($.getSeconds()),V=(0,l.p)($.getMilliseconds(),3),q="".concat(D,"_").concat(T,"_").concat(j,"_").concat(K,"_").concat(k,"_").concat(te,"_").concat(V);return N&&(q="".concat(N,"_").concat(q)),L&&(q="".concat(q,".").concat(L)),q}function m(Z,N){var L=JSON.stringify(Z),$=new Blob([L],{type:"application/json"}),D=URL.createObjectURL($),T=document.createElement("a");T.href=D,T.download=N,document.body.appendChild(T),T.click(),document.body.removeChild(T),URL.revokeObjectURL(D)}var g=function(N){return new Promise(function(L,$){var D=new Image;D.src=N,D.onload=function(){L(D)},D.onerror=function(){$(D)}})};function M(Z,N,L){return h.apply(this,arguments)}function h(){return h=d()(s()().mark(function Z(N,L,$){return s()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.abrupt("return",new Promise(function(j,K){if(N.isDirectory){var k=N.createReader();k.readEntries(function(){var te=d()(s()().mark(function V(q){var le;return s()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:le=0;case 1:if(!(le0)){le.next=25;break}K=t()(N.items),le.prev=7,K.s();case 9:if((k=K.n()).done){le.next=17;break}if(te=k.value,V=te.webkitGetAsEntry(),!(V!=null&&V.isDirectory)){le.next=15;break}return le.next=15,M(V,$,L);case 15:le.next=9;break;case 17:le.next=22;break;case 19:le.prev=19,le.t0=le.catch(7),K.e(le.t0);case 22:return le.prev=22,K.f(),le.finish(22);case 25:return le.abrupt("return",$);case 26:case"end":return le.stop()}},Z,null,[[7,19,22,25]])})),w.apply(this,arguments)}function C(Z){return F.apply(this,arguments)}function F(){return F=d()(s()().mark(function Z(N){return s()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.abrupt("return",new Promise(function(D,T){var j=new Image;j.src=N,j.onload=function(){var K=j.width,k=j.height;D({width:K,height:k})},j.onerror=function(){T(new Error("Load Image Error"))}}));case 1:case"end":return $.stop()}},Z)})),F.apply(this,arguments)}},53357:function(b,y,e){"use strict";e.d(y,{Og:function(){return o},_w:function(){return t},bU:function(){return s}});var a=e(97375),t=function(d){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,a.formatMessage)({id:d},l)},o=a.FormattedMessage,s=function(){var d=(0,a.useIntl)(),l=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return d.formatMessage({id:m},g)};return{localeText:l}}},23707:function(b,y,e){"use strict";e.d(y,{BQ:function(){return t},Oe:function(){return o},yS:function(){return s}});var a=e(97375),t=function(d){var l=new RegExp("(^|&)"+d+"=([^&]*)(&|$)","i"),c=window.location.search.substr(1).match(l);return c!==null?decodeURIComponent(c[2]):null},o=function(){var d=window.location.pathname.split("/");return d[d.length-1]},s=function(d){document.referrer.includes(d)?window.history.back():a.history.push(d)}},74324:function(b,y,e){"use strict";var a=e(88205).default,t=e(88479).default,o=e(16962).default,s=e(34485).default,n=e(75978),d=e(65140),l=e(96896),c=e(22475),m=function(T){return T==null};function g(D){switch(D.arrayFormat){case"index":return function(T){return function(j,K){var k=j.length;return K===void 0||D.skipNull&&K===null||D.skipEmptyString&&K===""?j:K===null?[].concat(s(j),[[S(T,D),"[",k,"]"].join("")]):[].concat(s(j),[[S(T,D),"[",S(k,D),"]=",S(K,D)].join("")])}};case"bracket":return function(T){return function(j,K){return K===void 0||D.skipNull&&K===null||D.skipEmptyString&&K===""?j:K===null?[].concat(s(j),[[S(T,D),"[]"].join("")]):[].concat(s(j),[[S(T,D),"[]=",S(K,D)].join("")])}};case"comma":case"separator":return function(T){return function(j,K){return K==null||K.length===0?j:j.length===0?[[S(T,D),"=",S(K,D)].join("")]:[[j,S(K,D)].join(D.arrayFormatSeparator)]}};default:return function(T){return function(j,K){return K===void 0||D.skipNull&&K===null||D.skipEmptyString&&K===""?j:K===null?[].concat(s(j),[S(T,D)]):[].concat(s(j),[[S(T,D),"=",S(K,D)].join("")])}}}}function M(D){var T;switch(D.arrayFormat){case"index":return function(j,K,k){if(T=/\[(\d*)\]$/.exec(j),j=j.replace(/\[\d*\]$/,""),!T){k[j]=K;return}k[j]===void 0&&(k[j]={}),k[j][T[1]]=K};case"bracket":return function(j,K,k){if(T=/(\[\])$/.exec(j),j=j.replace(/\[\]$/,""),!T){k[j]=K;return}if(k[j]===void 0){k[j]=[K];return}k[j]=[].concat(k[j],K)};case"comma":case"separator":return function(j,K,k){var te=typeof K=="string"&&K.includes(D.arrayFormatSeparator),V=typeof K=="string"&&!te&&w(K,D).includes(D.arrayFormatSeparator);K=V?w(K,D):K;var q=te||V?K.split(D.arrayFormatSeparator).map(function(le){return w(le,D)}):K===null?K:w(K,D);k[j]=q};default:return function(j,K,k){if(k[j]===void 0){k[j]=K;return}k[j]=[].concat(k[j],K)}}}function h(D){if(typeof D!="string"||D.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function S(D,T){return T.encode?T.strict?n(D):encodeURIComponent(D):D}function w(D,T){return T.decode?d(D):D}function C(D){return Array.isArray(D)?D.sort():o(D)==="object"?C(Object.keys(D)).sort(function(T,j){return Number(T)-Number(j)}).map(function(T){return D[T]}):D}function F(D){var T=D.indexOf("#");return T!==-1&&(D=D.slice(0,T)),D}function Z(D){var T="",j=D.indexOf("#");return j!==-1&&(T=D.slice(j)),T}function N(D){D=F(D);var T=D.indexOf("?");return T===-1?"":D.slice(T+1)}function L(D,T){return T.parseNumbers&&!Number.isNaN(Number(D))&&typeof D=="string"&&D.trim()!==""?D=Number(D):T.parseBooleans&&D!==null&&(D.toLowerCase()==="true"||D.toLowerCase()==="false")&&(D=D.toLowerCase()==="true"),D}function $(D,T){T=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},T),h(T.arrayFormatSeparator);var j=M(T),K=Object.create(null);if(typeof D!="string"||(D=D.trim().replace(/^[?#&]/,""),!D))return K;var k=t(D.split("&")),te;try{for(k.s();!(te=k.n()).done;){var V=te.value;if(V!==""){var q=l(T.decode?V.replace(/\+/g," "):V,"="),le=a(q,2),X=le[0],W=le[1];W=W===void 0?null:["comma","separator"].includes(T.arrayFormat)?W:w(W,T),j(w(X,T),W,K)}}}catch(pe){k.e(pe)}finally{k.f()}for(var x=0,O=Object.keys(K);x0}).join("&")},y.parseUrl=function(D,T){T=Object.assign({decode:!0},T);var j=l(D,"#"),K=a(j,2),k=K[0],te=K[1];return Object.assign({url:k.split("?")[0]||"",query:$(N(D),T)},T&&T.parseFragmentIdentifier&&te?{fragmentIdentifier:w(te,T)}:{})},y.stringifyUrl=function(D,T){T=Object.assign({encode:!0,strict:!0},T);var j=F(D.url).split("?")[0]||"",K=y.extract(D.url),k=y.parse(K,{sort:!1}),te=Object.assign(k,D.query),V=y.stringify(te,T);V&&(V="?".concat(V));var q=Z(D.url);return D.fragmentIdentifier&&(q="#".concat(S(D.fragmentIdentifier,T))),"".concat(j).concat(V).concat(q)},y.pick=function(D,T,j){j=Object.assign({parseFragmentIdentifier:!0},j);var K=y.parseUrl(D,j),k=K.url,te=K.query,V=K.fragmentIdentifier;return y.stringifyUrl({url:k,query:c(te,T),fragmentIdentifier:V},j)},y.exclude=function(D,T,j){var K=Array.isArray(T)?function(k){return!T.includes(k)}:function(k,te){return!T(k,te)};return y.pick(D,K,j)}},96896:function(b){"use strict";b.exports=function(y,e){if(!(typeof y=="string"&&typeof e=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e==="")return[y];var a=y.indexOf(e);return a===-1?[y]:[y.slice(0,a),y.slice(a+e.length)]}},75978:function(b){"use strict";b.exports=function(y){return encodeURIComponent(y).replace(/[!'()*]/g,function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())})}},60581:function(b,y,e){"use strict";e.d(y,{Il:function(){return o},Ov:function(){return s}});var a=e(58757),t=null,o=a.createContext({});function s(){return a.useContext(o)}function n(){var m=useLocation(),g=s(),M=g.clientRoutes,h=matchRoutes(M,m.pathname);return h||[]}function d(){var m,g=n().slice(-1),M=((m=g[0])===null||m===void 0?void 0:m.route)||{},h=M.element,S=_objectWithoutProperties(M,t);return S}function l(){var m=useRouteData(),g=s();return{data:g.serverLoaderData[m.route.id]}}function c(){var m=useRouteData(),g=s();return{data:g.clientLoaderData[m.route.id]}}},21325:function(b,y,e){"use strict";var a=e(23671),t=e(68716),o=e(8851);function s(n,d,l){l===void 0&&(l={});var c=(0,a.Z)(d);(0,o.Z)(function(){var m=(0,t.n)(l.target,window);if(m!=null&&m.addEventListener){var g=function(M){return c.current(M)};return m.addEventListener(n,g,{capture:l.capture,once:l.once,passive:l.passive}),function(){m.removeEventListener(n,g,{capture:l.capture})}}},[n,l.capture,l.once,l.passive],l.target)}y.Z=s},2556:function(b,y,e){"use strict";e.d(y,{Z:function(){return D}});var a=e(43112),t=e(23671),o=e(53807),s=e(68716),n=e(58757),d=e(8851),l=e(85466),c=e.n(l),m=function(T,j){return T===void 0&&(T=[]),j===void 0&&(j=[]),c()(T,j)},g=function(T,j,K){var k=(0,n.useRef)(),te=(0,n.useRef)(0);m(j,k.current)||(k.current=j,te.current+=1),(0,d.Z)(T,[te.current],K)},M=g,h=/(mac|iphone|ipod|ipad)/i.test(typeof navigator!="undefined"?navigator==null?void 0:navigator.platform:""),S=h,w={0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pausebreak:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,leftarrow:37,uparrow:38,rightarrow:39,downarrow:40,insert:45,delete:46,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,leftwindowkey:91,rightwindowkey:92,meta:S?[91,93]:[91,92],selectkey:93,numpad0:96,numpad1:97,numpad2:98,numpad3:99,numpad4:100,numpad5:101,numpad6:102,numpad7:103,numpad8:104,numpad9:105,multiply:106,add:107,subtract:109,decimalpoint:110,divide: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,scrolllock:145,semicolon:186,equalsign:187,comma:188,dash:189,period:190,forwardslash:191,graveaccent:192,openbracket:219,backslash:220,closebracket:221,singlequote:222},C={ctrl:function(T){return T.ctrlKey},shift:function(T){return T.shiftKey},alt:function(T){return T.altKey},meta:function(T){return T.type==="keyup"?w.meta.includes(T.keyCode):T.metaKey}};function F(T){var j=Object.keys(C).reduce(function(K,k){return C[k](T)?K+1:K},0);return[16,17,18,91,92].includes(T.keyCode)?j:j+1}function Z(T,j,K){var k,te;if(!T.key)return!1;if((0,o.hj)(j))return T.keyCode===j;var V=j.split("."),q=0;try{for(var le=(0,a.XA)(V),X=le.next();!X.done;X=le.next()){var W=X.value,x=C[W],O=w[W.toLowerCase()];(x&&x(T)||O&&O===T.keyCode)&&q++}}catch(_){k={error:_}}finally{try{X&&!X.done&&(te=le.return)&&te.call(le)}finally{if(k)throw k.error}}return K?q===V.length&&F(T)===V.length:q===V.length}function N(T,j){return(0,o.mf)(T)?T:(0,o.HD)(T)||(0,o.hj)(T)?function(K){return Z(K,T,j)}:Array.isArray(T)?function(K){return T.some(function(k){return Z(K,k,j)})}:function(){return!!T}}var L=["keydown"];function $(T,j,K){var k=K||{},te=k.events,V=te===void 0?L:te,q=k.target,le=k.exactMatch,X=le===void 0?!1:le,W=k.useCapture,x=W===void 0?!1:W,O=(0,t.Z)(j),_=(0,t.Z)(T);M(function(){var U,A,G,fe=(0,s.n)(q,window);if(fe){var pe=function(Ge){var Je,Qe=N(_.current,X);if(Qe(Ge))return(Je=O.current)===null||Je===void 0?void 0:Je.call(O,Ge)};try{for(var ge=(0,a.XA)(V),be=ge.next();!be.done;be=ge.next()){var Te=be.value;(G=fe==null?void 0:fe.addEventListener)===null||G===void 0||G.call(fe,Te,pe,x)}}catch(Ge){U={error:Ge}}finally{try{be&&!be.done&&(A=ge.return)&&A.call(ge)}finally{if(U)throw U.error}}return function(){var Ge,Je,Qe;try{for(var pt=(0,a.XA)(V),Et=pt.next();!Et.done;Et=pt.next()){var ft=Et.value;(Qe=fe==null?void 0:fe.removeEventListener)===null||Qe===void 0||Qe.call(fe,ft,pe,x)}}catch(Wt){Ge={error:Wt}}finally{try{Et&&!Et.done&&(Je=pt.return)&&Je.call(pt)}finally{if(Ge)throw Ge.error}}}}},[V],q)}var D=$},23671:function(b,y,e){"use strict";var a=e(58757);function t(o){var s=(0,a.useRef)(o);return s.current=o,s}y.Z=t},51129:function(b,y,e){"use strict";var a=e(58757),t=e(53807),o=e(8182);function s(n){o.Z&&((0,t.mf)(n)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof n)));var d=(0,a.useRef)(n);d.current=(0,a.useMemo)(function(){return n},[n]);var l=(0,a.useRef)();return l.current||(l.current=function(){for(var c=[],m=0;m-1&&(J=setTimeout(function(){M.delete(Me)},We)),M.set(Me,(0,a.pi)((0,a.pi)({},re),{timer:J}))},S=function(Me){return M.get(Me)},w=function(Me){if(Me){var We=Array.isArray(Me)?Me:[Me];We.forEach(function(re){return M.delete(re)})}else M.clear()},C=new Map,F=function(Me){return C.get(Me)},Z=function(Me,We){C.set(Me,We),We.then(function(re){return C.delete(Me),re}).catch(function(){C.delete(Me)})},N={},L=function(Me,We){N[Me]&&N[Me].forEach(function(re){return re(We)})},$=function(Me,We){return N[Me]||(N[Me]=[]),N[Me].push(We),function(){var se=N[Me].indexOf(We);N[Me].splice(se,1)}},D=function(Me,We){var re=We.cacheKey,se=We.cacheTime,J=se===void 0?5*60*1e3:se,de=We.staleTime,xe=de===void 0?0:de,ce=We.setCache,Le=We.getCache,Oe=(0,t.useRef)(),we=(0,t.useRef)(),Ne=function(et,Ye){ce?ce(Ye):h(et,J,Ye),L(et,Ye.data)},st=function(et,Ye){return Ye===void 0&&(Ye=[]),Le?Le(Ye):S(et)};return m(function(){if(re){var et=st(re);et&&Object.hasOwnProperty.call(et,"data")&&(Me.state.data=et.data,Me.state.params=et.params,(xe===-1||new Date().getTime()-et.time<=xe)&&(Me.state.loading=!1)),Oe.current=$(re,function(Ye){Me.setState({data:Ye})})}},[]),(0,g.Z)(function(){var et;(et=Oe.current)===null||et===void 0||et.call(Oe)}),re?{onBefore:function(et){var Ye=st(re,et);return!Ye||!Object.hasOwnProperty.call(Ye,"data")?{}:xe===-1||new Date().getTime()-Ye.time<=xe?{loading:!1,data:Ye==null?void 0:Ye.data,error:void 0,returnNow:!0}:{data:Ye==null?void 0:Ye.data,error:void 0}},onRequest:function(et,Ye){var ke=F(re);return ke&&ke!==we.current?{servicePromise:ke}:(ke=et.apply(void 0,(0,a.ev)([],(0,a.CR)(Ye),!1)),we.current=ke,Z(re,ke),{servicePromise:ke})},onSuccess:function(et,Ye){var ke;re&&((ke=Oe.current)===null||ke===void 0||ke.call(Oe),Ne(re,{data:et,params:Ye,time:new Date().getTime()}),Oe.current=$(re,function(Be){Me.setState({data:Be})}))},onMutate:function(et){var Ye;re&&((Ye=Oe.current)===null||Ye===void 0||Ye.call(Oe),Ne(re,{data:et,params:Me.state.params,time:new Date().getTime()}),Oe.current=$(re,function(ke){Me.setState({data:ke})}))}}:{}},T=D,j=e(77837),K=e.n(j),k=function(Me,We){var re=We.debounceWait,se=We.debounceLeading,J=We.debounceTrailing,de=We.debounceMaxWait,xe=(0,t.useRef)(),ce=(0,t.useMemo)(function(){var Le={};return se!==void 0&&(Le.leading=se),J!==void 0&&(Le.trailing=J),de!==void 0&&(Le.maxWait=de),Le},[se,J,de]);return(0,t.useEffect)(function(){if(re){var Le=Me.runAsync.bind(Me);return xe.current=K()(function(Oe){Oe()},re,ce),Me.runAsync=function(){for(var Oe=[],we=0;we-1&&pe.splice(re,1)}}if(le.Z){var be=function(){if(!(!X()||!fe()))for(var Me=0;Me{const{type:c,children:m,prefixCls:g,buttonProps:M,close:h,autoFocus:S,emitEvent:w,isSilent:C,quitOnNullishReturnValue:F,actionFn:Z}=l,N=t.useRef(!1),L=t.useRef(null),[$,D]=(0,a.Z)(!1),T=function(){h==null||h.apply(void 0,arguments)};t.useEffect(()=>{let k=null;return S&&(k=setTimeout(()=>{var te;(te=L.current)===null||te===void 0||te.focus()})),()=>{k&&clearTimeout(k)}},[]);const j=k=>{n(k)&&(D(!0),k.then(function(){D(!1,!0),T.apply(void 0,arguments),N.current=!1},te=>{if(D(!1,!0),N.current=!1,!(C!=null&&C()))return Promise.reject(te)}))},K=k=>{if(N.current)return;if(N.current=!0,!Z){T();return}let te;if(w){if(te=Z(k),F&&!n(te)){N.current=!1,T(k);return}}else if(Z.length)te=Z(h),N.current=!1;else if(te=Z(),!te){T();return}j(te)};return t.createElement(o.ZP,Object.assign({},(0,s.n)(c),{onClick:K,loading:$,prefixCls:g},M,{ref:L}),m)};y.Z=d},15018:function(b,y,e){"use strict";e.d(y,{Z:function(){return d},i:function(){return n}});var a=e(60409),t=e(58757),o=e(42505),s=e(61836);function n(l){return function(m){return t.createElement(o.ZP,{theme:{token:{motion:!1,zIndexPopupBase:0}}},t.createElement(l,Object.assign({},m)))}}function d(l,c,m,g){function M(h){const{prefixCls:S,style:w}=h,C=t.useRef(null),[F,Z]=t.useState(0),[N,L]=t.useState(0),[$,D]=(0,a.Z)(!1,{value:h.open}),{getPrefixCls:T}=t.useContext(s.E_),j=T(c||"select",S);t.useEffect(()=>{if(D(!0),typeof ResizeObserver!="undefined"){const k=new ResizeObserver(V=>{const q=V[0].target;Z(q.offsetHeight+8),L(q.offsetWidth)}),te=setInterval(()=>{var V;const q=m?`.${m(j)}`:`.${j}-dropdown`,le=(V=C.current)===null||V===void 0?void 0:V.querySelector(q);le&&(clearInterval(te),k.observe(le))},10);return()=>{clearInterval(te),k.disconnect()}}},[]);let K=Object.assign(Object.assign({},h),{style:Object.assign(Object.assign({},w),{margin:0}),open:$,visible:$,getPopupContainer:()=>C.current});return g&&(K=g(K)),t.createElement("div",{ref:C,style:{paddingBottom:F,position:"relative",minWidth:N}},t.createElement(l,Object.assign({},K)))}return n(M)}},1878:function(b,y,e){"use strict";e.d(y,{o2:function(){return n},yT:function(){return d}});var a=e(29140),t=e(34966);const o=t.i.map(l=>`${l}-inverse`),s=["success","processing","error","default","warning"];function n(l){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,a.Z)(o),(0,a.Z)(t.i)).includes(l):t.i.includes(l)}function d(l){return s.includes(l)}},44818:function(b,y){"use strict";function e(){const a=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const n=o[s];n!==void 0&&(a[s]=n)})}return a}y.Z=e},99836:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});const a=t=>t?typeof t=="function"?t():t:null},88858:function(b,y,e){"use strict";e.d(y,{Z:function(){return s}});var a=e(52495),t=e(58757);function o(n,d,l){return typeof n=="boolean"?n:d===void 0?!!l:d!==!1&&d!==null}function s(n,d,l){let c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t.createElement(a.Z,null),m=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!o(n,d,m))return[!1,null];const M=typeof d=="boolean"||d===void 0||d===null?c:d;return[!0,l?l(M):M]}},69387:function(b,y,e){"use strict";var a=e(58757),t=e(32792);y.Z=()=>{const[o,s]=a.useState(!1);return a.useEffect(()=>{s((0,t.fk)())},[]),o}},4459:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(){const[,o]=a.useReducer(s=>s+1,0);return o}},90881:function(b,y,e){"use strict";e.d(y,{m:function(){return l}});const a=()=>({height:0,opacity:0}),t=c=>{const{scrollHeight:m}=c;return{height:m,opacity:1}},o=c=>({height:c?c.offsetHeight:0}),s=(c,m)=>(m==null?void 0:m.deadline)===!0||m.propertyName==="height",n=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:a,onEnterStart:a,onAppearActive:t,onEnterActive:t,onLeaveStart:o,onLeaveActive:a,onAppearEnd:s,onEnterEnd:s,onLeaveEnd:s,motionDeadline:500}},d=null,l=(c,m,g)=>g!==void 0?g:`${c}-${m}`;y.Z=n},95446:function(b,y,e){"use strict";e.d(y,{Z:function(){return d}});var a=e(24542);function t(l,c,m,g){if(g===!1)return{adjustX:!1,adjustY:!1};const M=g&&typeof g=="object"?g:{},h={};switch(l){case"top":case"bottom":h.shiftX=c.dropdownArrowOffset*2+m;break;case"left":case"right":h.shiftY=c.dropdownArrowOffsetVertical*2+m;break}const S=Object.assign(Object.assign({},h),M);return S.shiftX||(S.adjustX=!0),S.shiftY||(S.adjustY=!0),S}const o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},s={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},n=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function d(l){const{arrowWidth:c,autoAdjustOverflow:m,arrowPointAtCenter:g,offset:M,borderRadius:h,visibleFirst:S}=l,w=c/2,C={};return Object.keys(o).forEach(F=>{const Z=g&&s[F]||o[F],N=Object.assign(Object.assign({},Z),{offset:[0,0]});switch(C[F]=N,n.has(F)&&(N.autoArrow=!1),F){case"top":case"topLeft":case"topRight":N.offset[1]=-w-M;break;case"bottom":case"bottomLeft":case"bottomRight":N.offset[1]=w+M;break;case"left":case"leftTop":case"leftBottom":N.offset[0]=-w-M;break;case"right":case"rightTop":case"rightBottom":N.offset[0]=w+M;break}const L=(0,a.fS)({contentRadius:h,limitVerticalRadius:!0});if(g)switch(F){case"topLeft":case"bottomLeft":N.offset[0]=-L.dropdownArrowOffset-w;break;case"topRight":case"bottomRight":N.offset[0]=L.dropdownArrowOffset+w;break;case"leftTop":case"rightTop":N.offset[1]=-L.dropdownArrowOffset-w;break;case"leftBottom":case"rightBottom":N.offset[1]=L.dropdownArrowOffset+w;break}N.overflow=t(F,L,c,m),S&&(N.htmlRegion="visibleFirst")}),C}},37047:function(b,y,e){"use strict";var a;e.d(y,{M2:function(){return s},Tm:function(){return d},l$:function(){return o},wm:function(){return n}});var t=e(58757);const{isValidElement:o}=a||(a=e.t(t,2));function s(l){return l&&o(l)&&l.type===t.Fragment}function n(l,c,m){return o(l)?t.cloneElement(l,typeof m=="function"?m(l.props||{}):m):c}function d(l,c){return n(l,l,c)}},87078:function(b,y,e){"use strict";e.d(y,{Z:function(){return d},c:function(){return o}});var a=e(58757),t=e(51806);const o=["xxl","xl","lg","md","sm","xs"],s=l=>({xs:`(max-width: ${l.screenXSMax}px)`,sm:`(min-width: ${l.screenSM}px)`,md:`(min-width: ${l.screenMD}px)`,lg:`(min-width: ${l.screenLG}px)`,xl:`(min-width: ${l.screenXL}px)`,xxl:`(min-width: ${l.screenXXL}px)`}),n=l=>{const c=l,m=[].concat(o).reverse();return m.forEach((g,M)=>{const h=g.toUpperCase(),S=`screen${h}Min`,w=`screen${h}`;if(!(c[S]<=c[w]))throw new Error(`${S}<=${w} fails : !(${c[S]}<=${c[w]})`);if(M{const m=new Map;let g=-1,M={};return{matchHandlers:{},dispatch(h){return M=h,m.forEach(S=>S(M)),m.size>=1},subscribe(h){return m.size||this.register(),g+=1,m.set(g,h),h(M),g},unsubscribe(h){m.delete(h),m.size||this.unregister()},unregister(){Object.keys(c).forEach(h=>{const S=c[h],w=this.matchHandlers[S];w==null||w.mql.removeListener(w==null?void 0:w.listener)}),m.clear()},register(){Object.keys(c).forEach(h=>{const S=c[h],w=F=>{let{matches:Z}=F;this.dispatch(Object.assign(Object.assign({},M),{[h]:Z}))},C=window.matchMedia(S);C.addListener(w),this.matchHandlers[S]={mql:C,listener:w},w(C)})},responsiveMap:c}},[l])}},41496:function(b,y,e){"use strict";e.d(y,{F:function(){return n},Z:function(){return s}});var a=e(87608),t=e.n(a);const o=null;function s(d,l,c){return t()({[`${d}-status-success`]:l==="success",[`${d}-status-warning`]:l==="warning",[`${d}-status-error`]:l==="error",[`${d}-status-validating`]:l==="validating",[`${d}-has-feedback`]:c})}const n=(d,l)=>l||d},32792:function(b,y,e){"use strict";e.d(y,{fk:function(){return s},jD:function(){return t}});var a=e(19075);const t=()=>(0,a.Z)()&&window.document.documentElement;let o;const s=()=>{if(!t())return!1;if(o!==void 0)return o;const n=document.createElement("div");n.style.display="flex",n.style.flexDirection="column",n.style.rowGap="1px",n.appendChild(document.createElement("div")),n.appendChild(document.createElement("div"));const d=document.createElement("div");return d.style.position="absolute",d.style.zIndex="-9999",d.appendChild(n),document.body.appendChild(d),o=n.scrollHeight===1,document.body.removeChild(d),o}},37486:function(b,y,e){"use strict";e.d(y,{Z:function(){return te}});var a=e(87608),t=e.n(a),o=e(21319),s=e(46499),n=e(58757),d=e(61836),l=e(37047),c=e(52628);const m=V=>{const{componentCls:q,colorPrimary:le}=V;return{[q]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${le})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${V.motionEaseOutCirc}`,`opacity 2s ${V.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${V.motionEaseInOut}`,`opacity 0.35s ${V.motionEaseInOut}`].join(",")}}}}};var g=(0,c.Z)("Wave",V=>[m(V)]),M=e(51729),h=e(61834),S=e(17598),w=e(52323);function C(V){const q=(V||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return q&&q[1]&&q[2]&&q[3]?!(q[1]===q[2]&&q[2]===q[3]):!0}function F(V){return V&&V!=="#fff"&&V!=="#ffffff"&&V!=="rgb(255, 255, 255)"&&V!=="rgba(255, 255, 255, 1)"&&C(V)&&!/rgba\((?:\d*, ){3}0\)/.test(V)&&V!=="transparent"}function Z(V){const{borderTopColor:q,borderColor:le,backgroundColor:X}=getComputedStyle(V);return F(q)?q:F(le)?le:F(X)?X:null}var N=e(78856);function L(V){return Number.isNaN(V)?0:V}const $=V=>{const{className:q,target:le,component:X}=V,W=n.useRef(null),[x,O]=n.useState(null),[_,U]=n.useState([]),[A,G]=n.useState(0),[fe,pe]=n.useState(0),[ge,be]=n.useState(0),[Te,Ge]=n.useState(0),[Je,Qe]=n.useState(!1),pt={left:A,top:fe,width:ge,height:Te,borderRadius:_.map(Wt=>`${Wt}px`).join(" ")};x&&(pt["--wave-color"]=x);function Et(){const Wt=getComputedStyle(le);O(Z(le));const $e=Wt.position==="static",{borderLeftWidth:Xe,borderTopWidth:nt}=Wt;G($e?le.offsetLeft:L(-parseFloat(Xe))),pe($e?le.offsetTop:L(-parseFloat(nt))),be(le.offsetWidth),Ge(le.offsetHeight);const{borderTopLeftRadius:Ke,borderTopRightRadius:ye,borderBottomLeftRadius:ne,borderBottomRightRadius:H}=Wt;U([Ke,ye,H,ne].map(R=>L(parseFloat(R))))}if(n.useEffect(()=>{if(le){const Wt=(0,h.Z)(()=>{Et(),Qe(!0)});let $e;return typeof ResizeObserver!="undefined"&&($e=new ResizeObserver(Et),$e.observe(le)),()=>{h.Z.cancel(Wt),$e==null||$e.disconnect()}}},[]),!Je)return null;const ft=(X==="Checkbox"||X==="Radio")&&(le==null?void 0:le.classList.contains(N.A));return n.createElement(S.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(Wt,$e)=>{var Xe;if($e.deadline||$e.propertyName==="opacity"){const nt=(Xe=W.current)===null||Xe===void 0?void 0:Xe.parentElement;(0,w.v)(nt).then(()=>{nt==null||nt.remove()})}return!1}},Wt=>{let{className:$e}=Wt;return n.createElement("div",{ref:W,className:t()(q,{"wave-quick":ft},$e),style:pt})})};var T=(V,q)=>{var le;const{component:X}=q;if(X==="Checkbox"&&!(!((le=V.querySelector("input"))===null||le===void 0)&&le.checked))return;const W=document.createElement("div");W.style.position="absolute",W.style.left="0px",W.style.top="0px",V==null||V.insertBefore(W,V==null?void 0:V.firstChild),(0,w.s)(n.createElement($,Object.assign({},q,{target:V})),W)},j=e(51806);function K(V,q,le){const{wave:X}=n.useContext(d.E_),[,W,x]=(0,j.Z)(),O=(0,M.Z)(A=>{const G=V.current;if(X!=null&&X.disabled||!G)return;const fe=G.querySelector(`.${N.A}`)||G,{showEffect:pe}=X||{};(pe||T)(fe,{className:q,token:W,component:le,event:A,hashId:x})}),_=n.useRef();return A=>{h.Z.cancel(_.current),_.current=(0,h.Z)(()=>{O(A)})}}var te=V=>{const{children:q,disabled:le,component:X}=V,{getPrefixCls:W}=(0,n.useContext)(d.E_),x=(0,n.useRef)(null),O=W("wave"),[,_]=g(O),U=K(x,t()(O,_),X);if(n.useEffect(()=>{const G=x.current;if(!G||G.nodeType!==1||le)return;const fe=pe=>{!(0,s.Z)(pe.target)||!G.getAttribute||G.getAttribute("disabled")||G.disabled||G.className.includes("disabled")||G.className.includes("-leave")||U(pe)};return G.addEventListener("click",fe,!0),()=>{G.removeEventListener("click",fe,!0)}},[le]),!n.isValidElement(q))return q!=null?q:null;const A=(0,o.Yr)(q)?(0,o.sQ)(q.ref,x):x;return(0,l.Tm)(q,{ref:A})}},78856:function(b,y,e){"use strict";e.d(y,{A:function(){return a}});const a="ant-wave-target"},15618:function(b,y,e){"use strict";e.d(y,{Z:function(){return U}});var a=e(85678),t=e(79999),o=e(52495),s=e(69831),n=e(33064),d=e(87608),l=e.n(d),c=e(17598),m=e(33926),g=e(58757),M=e(37047),h=e(61836),S=e(78330),w=e(52628),C=e(22151);const F=(A,G,fe,pe,ge)=>({backgroundColor:A,border:`${pe.lineWidth}px ${pe.lineType} ${G}`,[`${ge}-icon`]:{color:fe}}),Z=A=>{const{componentCls:G,motionDurationSlow:fe,marginXS:pe,marginSM:ge,fontSize:be,fontSizeLG:Te,lineHeight:Ge,borderRadiusLG:Je,motionEaseInOutCirc:Qe,alertIconSizeLG:pt,colorText:Et,paddingContentVerticalSM:ft,alertPaddingHorizontal:Wt,paddingMD:$e,paddingContentHorizontalLG:Xe,colorTextHeading:nt}=A;return{[G]:Object.assign(Object.assign({},(0,S.Wf)(A)),{position:"relative",display:"flex",alignItems:"center",padding:`${ft}px ${Wt}px`,wordWrap:"break-word",borderRadius:Je,[`&${G}-rtl`]:{direction:"rtl"},[`${G}-content`]:{flex:1,minWidth:0},[`${G}-icon`]:{marginInlineEnd:pe,lineHeight:0},["&-description"]:{display:"none",fontSize:be,lineHeight:Ge},"&-message":{color:Et},[`&${G}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${fe} ${Qe}, opacity ${fe} ${Qe}, + padding-top ${fe} ${Qe}, padding-bottom ${fe} ${Qe}, + margin-bottom ${fe} ${Qe}`},[`&${G}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${G}-with-description`]:{alignItems:"flex-start",paddingInline:Xe,paddingBlock:$e,[`${G}-icon`]:{marginInlineEnd:ge,fontSize:pt,lineHeight:0},[`${G}-message`]:{display:"block",marginBottom:pe,color:nt,fontSize:Te},[`${G}-description`]:{display:"block"}},[`${G}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},N=A=>{const{componentCls:G,colorSuccess:fe,colorSuccessBorder:pe,colorSuccessBg:ge,colorWarning:be,colorWarningBorder:Te,colorWarningBg:Ge,colorError:Je,colorErrorBorder:Qe,colorErrorBg:pt,colorInfo:Et,colorInfoBorder:ft,colorInfoBg:Wt}=A;return{[G]:{"&-success":F(ge,pe,fe,A,G),"&-info":F(Wt,ft,Et,A,G),"&-warning":F(Ge,Te,be,A,G),"&-error":Object.assign(Object.assign({},F(pt,Qe,Je,A,G)),{[`${G}-description > pre`]:{margin:0,padding:0}})}}},L=A=>{const{componentCls:G,iconCls:fe,motionDurationMid:pe,marginXS:ge,fontSizeIcon:be,colorIcon:Te,colorIconHover:Ge}=A;return{[G]:{["&-action"]:{marginInlineStart:ge},[`${G}-close-icon`]:{marginInlineStart:ge,padding:0,overflow:"hidden",fontSize:be,lineHeight:`${be}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${fe}-close`]:{color:Te,transition:`color ${pe}`,"&:hover":{color:Ge}}},"&-close-text":{color:Te,transition:`color ${pe}`,"&:hover":{color:Ge}}}}},$=A=>[Z(A),N(A),L(A)];var D=(0,w.Z)("Alert",A=>{const{fontSizeHeading3:G}=A,fe=(0,C.TS)(A,{alertIconSizeLG:G,alertPaddingHorizontal:12});return[$(fe)]}),T=function(A,G){var fe={};for(var pe in A)Object.prototype.hasOwnProperty.call(A,pe)&&G.indexOf(pe)<0&&(fe[pe]=A[pe]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,pe=Object.getOwnPropertySymbols(A);ge{const{icon:G,prefixCls:fe,type:pe}=A,ge=j[pe]||null;return G?(0,M.wm)(G,g.createElement("span",{className:`${fe}-icon`},G),()=>({className:l()(`${fe}-icon`,{[G.props.className]:G.props.className})})):g.createElement(ge,{className:`${fe}-icon`})},k=A=>{const{isClosable:G,prefixCls:fe,closeIcon:pe,handleClose:ge}=A,be=pe===!0||pe===void 0?g.createElement(o.Z,null):pe;return G?g.createElement("button",{type:"button",onClick:ge,className:`${fe}-close-icon`,tabIndex:0},be):null};var V=A=>{const{description:G,prefixCls:fe,message:pe,banner:ge,className:be,rootClassName:Te,style:Ge,onMouseEnter:Je,onMouseLeave:Qe,onClick:pt,afterClose:Et,showIcon:ft,closable:Wt,closeText:$e,closeIcon:Xe,action:nt}=A,Ke=T(A,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[ye,ne]=g.useState(!1),H=g.useRef(null),{getPrefixCls:R,direction:P,alert:ae}=g.useContext(h.E_),Q=R("alert",fe),[ie,me]=D(Q),je=J=>{var de;ne(!0),(de=A.onClose)===null||de===void 0||de.call(A,J)},Ee=g.useMemo(()=>A.type!==void 0?A.type:ge?"warning":"info",[A.type,ge]),Me=g.useMemo(()=>$e?!0:typeof Wt=="boolean"?Wt:Xe!==!1&&Xe!==null&&Xe!==void 0,[$e,Xe,Wt]),We=ge&&ft===void 0?!0:ft,re=l()(Q,`${Q}-${Ee}`,{[`${Q}-with-description`]:!!G,[`${Q}-no-icon`]:!We,[`${Q}-banner`]:!!ge,[`${Q}-rtl`]:P==="rtl"},ae==null?void 0:ae.className,be,Te,me),se=(0,m.Z)(Ke,{aria:!0,data:!0});return ie(g.createElement(c.ZP,{visible:!ye,motionName:`${Q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:J=>({maxHeight:J.offsetHeight}),onLeaveEnd:Et},J=>{let{className:de,style:xe}=J;return g.createElement("div",Object.assign({ref:H,"data-show":!ye,className:l()(re,de),style:Object.assign(Object.assign(Object.assign({},ae==null?void 0:ae.style),Ge),xe),onMouseEnter:Je,onMouseLeave:Qe,onClick:pt,role:"alert"},se),We?g.createElement(K,{description:G,icon:A.icon,prefixCls:Q,type:Ee}):null,g.createElement("div",{className:`${Q}-content`},pe?g.createElement("div",{className:`${Q}-message`},pe):null,G?g.createElement("div",{className:`${Q}-description`},G):null),nt?g.createElement("div",{className:`${Q}-action`},nt):null,g.createElement(k,{isClosable:Me,prefixCls:Q,closeIcon:$e||Xe,handleClose:je}))}))},q=e(60412),le=e(14346),X=e(87498),W=e(73726),O=function(A){(0,X.Z)(fe,A);var G=(0,W.Z)(fe);function fe(){var pe;return(0,q.Z)(this,fe),pe=G.apply(this,arguments),pe.state={error:void 0,info:{componentStack:""}},pe}return(0,le.Z)(fe,[{key:"componentDidCatch",value:function(ge,be){this.setState({error:ge,info:be})}},{key:"render",value:function(){const{message:ge,description:be,children:Te}=this.props,{error:Ge,info:Je}=this.state,Qe=Je&&Je.componentStack?Je.componentStack:null,pt=typeof ge=="undefined"?(Ge||"").toString():ge,Et=typeof be=="undefined"?Qe:be;return Ge?g.createElement(V,{type:"error",message:pt,description:g.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},Et)}):Te}}]),fe}(g.Component);const _=V;_.ErrorBoundary=O;var U=_},70921:function(b,y,e){"use strict";e.d(y,{n:function(){return re},Z:function(){return xe}});var a=e(87608),t=e.n(a),o=e(98186),s=e(21319),n=e(58757),d=e(37486),l=e(61836),c=e(92428),m=e(58785),g=e(43528),h=(0,n.forwardRef)((ce,Le)=>{const{className:Oe,style:we,children:Ne,prefixCls:st}=ce,et=t()(`${st}-icon`,Oe);return n.createElement("span",{ref:Le,className:et,style:we},Ne)}),S=e(25755),w=e(17598);const C=(0,n.forwardRef)((ce,Le)=>{let{prefixCls:Oe,className:we,style:Ne,iconClassName:st}=ce;const et=t()(`${Oe}-loading-icon`,we);return n.createElement(h,{prefixCls:Oe,className:et,style:Ne,ref:Le},n.createElement(S.Z,{className:st}))}),F=()=>({width:0,opacity:0,transform:"scale(0)"}),Z=ce=>({width:ce.scrollWidth,opacity:1,transform:"scale(1)"});var L=ce=>{const{prefixCls:Le,loading:Oe,existIcon:we,className:Ne,style:st}=ce,et=!!Oe;return we?n.createElement(C,{prefixCls:Le,className:Ne,style:st}):n.createElement(w.ZP,{visible:et,motionName:`${Le}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:F,onAppearActive:Z,onEnterStart:F,onEnterActive:Z,onLeaveStart:Z,onLeaveActive:F},(Ye,ke)=>{let{className:Be,style:it}=Ye;return n.createElement(C,{prefixCls:Le,className:Ne,style:Object.assign(Object.assign({},st),it),ref:ke,iconClassName:Be})})},$=e(51806),D=function(ce,Le){var Oe={};for(var we in ce)Object.prototype.hasOwnProperty.call(ce,we)&&Le.indexOf(we)<0&&(Oe[we]=ce[we]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,we=Object.getOwnPropertySymbols(ce);Ne{const{getPrefixCls:Le,direction:Oe}=n.useContext(l.E_),{prefixCls:we,size:Ne,className:st}=ce,et=D(ce,["prefixCls","size","className"]),Ye=Le("btn-group",we),[,,ke]=(0,$.Z)();let Be="";switch(Ne){case"large":Be="lg";break;case"small":Be="sm";break;case"middle":case void 0:break;default:}const it=t()(Ye,{[`${Ye}-${Be}`]:Be,[`${Ye}-rtl`]:Oe==="rtl"},st,ke);return n.createElement(T.Provider,{value:Ne},n.createElement("div",Object.assign({},et,{className:it})))},k=e(37047);const te=/^[\u4e00-\u9fa5]{2}$/,V=te.test.bind(te);function q(ce){return typeof ce=="string"}function le(ce){return ce==="text"||ce==="link"}function X(ce,Le){if(ce==null)return;const Oe=Le?" ":"";return typeof ce!="string"&&typeof ce!="number"&&q(ce.type)&&V(ce.props.children)?(0,k.Tm)(ce,{children:ce.props.children.split("").join(Oe)}):q(ce)?V(ce)?n.createElement("span",null,ce.split("").join(Oe)):n.createElement("span",null,ce):(0,k.M2)(ce)?n.createElement("span",null,ce):ce}function W(ce,Le){let Oe=!1;const we=[];return n.Children.forEach(ce,Ne=>{const st=typeof Ne,et=st==="string"||st==="number";if(Oe&&et){const Ye=we.length-1,ke=we[Ye];we[Ye]=`${ke}${Ne}`}else we.push(Ne);Oe=et}),n.Children.map(we,Ne=>X(Ne,Le))}const x=null,O=null,_=null;var U=e(78330),A=e(64493);function G(ce,Le){return{[`&-item:not(${Le}-last-item)`]:{marginBottom:-ce.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function fe(ce,Le){return{[`&-item:not(${Le}-first-item):not(${Le}-last-item)`]:{borderRadius:0},[`&-item${Le}-first-item:not(${Le}-last-item)`]:{[`&, &${ce}-sm, &${ce}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${Le}-last-item:not(${Le}-first-item)`]:{[`&, &${ce}-sm, &${ce}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function pe(ce){const Le=`${ce.componentCls}-compact-vertical`;return{[Le]:Object.assign(Object.assign({},G(ce,Le)),fe(ce.componentCls,Le))}}var ge=e(22151),be=e(52628);const Te=(ce,Le)=>({[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{"&:not(:disabled)":{borderInlineEndColor:Le}}},"&:not(:first-child)":{[`&, & > ${ce}`]:{"&:not(:disabled)":{borderInlineStartColor:Le}}}}});var Je=ce=>{const{componentCls:Le,fontSize:Oe,lineWidth:we,colorPrimaryHover:Ne,colorErrorHover:st}=ce;return{[`${Le}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${Le}`]:{"&:not(:last-child)":{[`&, & > ${Le}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-we,[`&, & > ${Le}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[Le]:{position:"relative",zIndex:1,[`&:hover, &:focus, - &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${Ne}-icon-only`]:{fontSize:Oe}},Te(`${Ne}-primary`,Re),Te(`${Ne}-danger`,st)]}};const Qe=ue=>{const{componentCls:Ne,iconCls:Oe,buttonFontWeight:we}=ue;return{[Ne]:{outline:"none",position:"relative",display:"inline-block",fontWeight:we,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${ue.lineWidth}px ${ue.lineType} transparent`,cursor:"pointer",transition:`all ${ue.motionDurationMid} ${ue.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:ue.lineHeight,color:ue.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${Ne}-icon`]:{lineHeight:0},[`> ${Oe} + span, > span + ${Oe}`]:{marginInlineStart:ue.marginXS},[`&:not(${Ne}-icon-only) > ${Ne}-icon`]:{[`&${Ne}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:ue.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,U.Qy)(ue)),[`&-icon-only${Ne}-compact-item`]:{flex:"none"},[`&-compact-item${Ne}-primary`]:{[`&:not([disabled]) + ${Ne}-compact-item${Ne}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-ue.lineWidth,insetInlineStart:-ue.lineWidth,display:"inline-block",width:ue.lineWidth,height:`calc(100% + ${ue.lineWidth*2}px)`,backgroundColor:ue.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${Ne}-primary`]:{[`&:not([disabled]) + ${Ne}-compact-vertical-item${Ne}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-ue.lineWidth,insetInlineStart:-ue.lineWidth,display:"inline-block",width:`calc(100% + ${ue.lineWidth*2}px)`,height:ue.lineWidth,backgroundColor:ue.colorPrimaryHover,content:'""'}}}}}}},pt=(ue,Ne,Oe)=>({[`&:not(:disabled):not(${ue}-disabled)`]:{"&:hover":Ne,"&:active":Oe}}),Ct=ue=>({minWidth:ue.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ft=ue=>({borderRadius:ue.controlHeight,paddingInlineStart:ue.controlHeight/2,paddingInlineEnd:ue.controlHeight/2}),Ht=ue=>({cursor:"not-allowed",borderColor:ue.colorBorder,color:ue.colorTextDisabled,backgroundColor:ue.colorBgContainerDisabled,boxShadow:"none"}),Ze=(ue,Ne,Oe,we,Re,st,tt)=>({[`&${ue}-background-ghost`]:Object.assign(Object.assign({color:Ne||void 0,backgroundColor:"transparent",borderColor:Oe||void 0,boxShadow:"none"},pt(ue,Object.assign({backgroundColor:"transparent"},st),Object.assign({backgroundColor:"transparent"},tt))),{"&:disabled":{cursor:"not-allowed",color:we||void 0,borderColor:Re||void 0}})}),Xe=ue=>({[`&:disabled, &${ue.componentCls}-disabled`]:Object.assign({},Ht(ue))}),rt=ue=>Object.assign({},Xe(ue)),Ke=ue=>({[`&:disabled, &${ue.componentCls}-disabled`]:{cursor:"not-allowed",color:ue.colorTextDisabled}}),ye=ue=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},rt(ue)),{backgroundColor:ue.colorBgContainer,borderColor:ue.colorBorder,boxShadow:`0 ${ue.controlOutlineWidth}px 0 ${ue.controlTmpOutline}`}),pt(ue.componentCls,{color:ue.colorPrimaryHover,borderColor:ue.colorPrimaryHover},{color:ue.colorPrimaryActive,borderColor:ue.colorPrimaryActive})),Ze(ue.componentCls,ue.colorBgContainer,ue.colorBgContainer,ue.colorTextDisabled,ue.colorBorder)),{[`&${ue.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:ue.colorError,borderColor:ue.colorError},pt(ue.componentCls,{color:ue.colorErrorHover,borderColor:ue.colorErrorBorderHover},{color:ue.colorErrorActive,borderColor:ue.colorErrorActive})),Ze(ue.componentCls,ue.colorError,ue.colorError,ue.colorTextDisabled,ue.colorBorder)),Xe(ue))}),ne=ue=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},rt(ue)),{color:ue.colorTextLightSolid,backgroundColor:ue.colorPrimary,boxShadow:`0 ${ue.controlOutlineWidth}px 0 ${ue.controlOutline}`}),pt(ue.componentCls,{color:ue.colorTextLightSolid,backgroundColor:ue.colorPrimaryHover},{color:ue.colorTextLightSolid,backgroundColor:ue.colorPrimaryActive})),Ze(ue.componentCls,ue.colorPrimary,ue.colorPrimary,ue.colorTextDisabled,ue.colorBorder,{color:ue.colorPrimaryHover,borderColor:ue.colorPrimaryHover},{color:ue.colorPrimaryActive,borderColor:ue.colorPrimaryActive})),{[`&${ue.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:ue.colorError,boxShadow:`0 ${ue.controlOutlineWidth}px 0 ${ue.colorErrorOutline}`},pt(ue.componentCls,{backgroundColor:ue.colorErrorHover},{backgroundColor:ue.colorErrorActive})),Ze(ue.componentCls,ue.colorError,ue.colorError,ue.colorTextDisabled,ue.colorBorder,{color:ue.colorErrorHover,borderColor:ue.colorErrorHover},{color:ue.colorErrorActive,borderColor:ue.colorErrorActive})),Xe(ue))}),H=ue=>Object.assign(Object.assign({},ye(ue)),{borderStyle:"dashed"}),R=ue=>Object.assign(Object.assign(Object.assign({color:ue.colorLink},pt(ue.componentCls,{color:ue.colorLinkHover},{color:ue.colorLinkActive})),Ke(ue)),{[`&${ue.componentCls}-dangerous`]:Object.assign(Object.assign({color:ue.colorError},pt(ue.componentCls,{color:ue.colorErrorHover},{color:ue.colorErrorActive})),Ke(ue))}),P=ue=>Object.assign(Object.assign(Object.assign({},pt(ue.componentCls,{color:ue.colorText,backgroundColor:ue.colorBgTextHover},{color:ue.colorText,backgroundColor:ue.colorBgTextActive})),Ke(ue)),{[`&${ue.componentCls}-dangerous`]:Object.assign(Object.assign({color:ue.colorError},Ke(ue)),pt(ue.componentCls,{color:ue.colorErrorHover,backgroundColor:ue.colorErrorBg},{color:ue.colorErrorHover,backgroundColor:ue.colorErrorBg}))}),ae=ue=>{const{componentCls:Ne}=ue;return{[`${Ne}-default`]:ye(ue),[`${Ne}-primary`]:ne(ue),[`${Ne}-dashed`]:H(ue),[`${Ne}-link`]:R(ue),[`${Ne}-text`]:P(ue),[`${Ne}-ghost`]:Ze(ue.componentCls,ue.colorBgContainer,ue.colorBgContainer,ue.colorTextDisabled,ue.colorBorder)}},Q=function(ue){let Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:Oe,controlHeight:we,fontSize:Re,lineHeight:st,lineWidth:tt,borderRadius:Ye,buttonPaddingHorizontal:ke,iconCls:Be}=ue,it=Math.max(0,(we-Re*st)/2-tt),Ve=ke-tt,It=`${Oe}-icon-only`;return[{[`${Oe}${Ne}`]:{fontSize:Re,height:we,padding:`${it}px ${Ve}px`,borderRadius:Ye,[`&${It}`]:{width:we,paddingInlineStart:0,paddingInlineEnd:0,[`&${Oe}-round`]:{width:"auto"},[Be]:{fontSize:ue.buttonIconOnlyFontSize}},[`&${Oe}-loading`]:{opacity:ue.opacityLoading,cursor:"default"},[`${Oe}-loading-icon`]:{transition:`width ${ue.motionDurationSlow} ${ue.motionEaseInOut}, opacity ${ue.motionDurationSlow} ${ue.motionEaseInOut}`}}},{[`${Oe}${Oe}-circle${Ne}`]:Ct(ue)},{[`${Oe}${Oe}-round${Ne}`]:ft(ue)}]},ie=ue=>Q(ue),me=ue=>{const Ne=(0,ge.TS)(ue,{controlHeight:ue.controlHeightSM,padding:ue.paddingXS,buttonPaddingHorizontal:8,borderRadius:ue.borderRadiusSM,buttonIconOnlyFontSize:ue.fontSizeLG-2});return Q(Ne,`${ue.componentCls}-sm`)},je=ue=>{const Ne=(0,ge.TS)(ue,{controlHeight:ue.controlHeightLG,fontSize:ue.fontSizeLG,borderRadius:ue.borderRadiusLG,buttonIconOnlyFontSize:ue.fontSizeLG+2});return Q(Ne,`${ue.componentCls}-lg`)},Ee=ue=>{const{componentCls:Ne}=ue;return{[Ne]:{[`&${Ne}-block`]:{width:"100%"}}}};var Me=(0,be.Z)("Button",ue=>{const{controlTmpOutline:Ne,paddingContentHorizontal:Oe}=ue,we=(0,ge.TS)(ue,{colorOutlineDefault:Ne,buttonPaddingHorizontal:Oe,buttonIconOnlyFontSize:ue.fontSizeLG,buttonFontWeight:400});return[Qe(we),me(we),ie(we),je(we),Ee(we),ae(we),Je(we),(0,A.c)(ue),he(ue)]}),We=function(ue,Ne){var Oe={};for(var we in ue)Object.prototype.hasOwnProperty.call(ue,we)&&Ne.indexOf(we)<0&&(Oe[we]=ue[we]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,we=Object.getOwnPropertySymbols(ue);Re{var Oe,we;const{loading:Re=!1,prefixCls:st,type:tt="default",danger:Ye,shape:ke="default",size:Be,styles:it,disabled:Ve,className:It,rootClassName:_t,children:wt,icon:jt,ghost:Yt=!1,block:yt=!1,htmlType:ze="button",classNames:nt,style:Et={}}=ue,lt=We(ue,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Gt,autoInsertSpaceInButton:Rt,direction:Ot,button:Ie}=(0,n.useContext)(l.E_),Se=Gt("btn",st),[bt,Pt]=Me(Se),He=(0,n.useContext)(c.Z),qe=Ve!=null?Ve:He,Zt=(0,n.useContext)(T),Ut=(0,n.useMemo)(()=>se(Re),[Re]),[qt,ln]=(0,n.useState)(Ut.loading),[En,mn]=(0,n.useState)(!1),Yn=(0,n.createRef)(),Gn=(0,s.sQ)(Ne,Yn),ir=n.Children.count(wt)===1&&!jt&&!le(tt);(0,n.useEffect)(()=>{let ut=null;Ut.delay>0?ut=setTimeout(()=>{ut=null,ln(!0)},Ut.delay):ln(Ut.loading);function ct(){ut&&(clearTimeout(ut),ut=null)}return ct},[Ut]),(0,n.useEffect)(()=>{if(!Gn||!Gn.current||Rt===!1)return;const ut=Gn.current.textContent;ir&&Y(ut)?En||mn(!0):En&&mn(!1)},[Gn]);const mr=ut=>{const{onClick:ct}=ue;if(qt||qe){ut.preventDefault();return}ct==null||ct(ut)},Ft=Rt!==!1,{compactSize:en,compactItemClassnames:rn}=(0,g.ri)(Se,Ot),fn={large:"lg",small:"sm",middle:void 0},In=(0,m.Z)(ut=>{var ct,At;return(At=(ct=Be!=null?Be:en)!==null&&ct!==void 0?ct:Zt)!==null&&At!==void 0?At:ut}),on=In&&fn[In]||"",mt=qt?"loading":jt,gt=(0,o.Z)(lt,["navigate"]),sn=t()(Se,Pt,{[`${Se}-${ke}`]:ke!=="default"&&ke,[`${Se}-${tt}`]:tt,[`${Se}-${on}`]:on,[`${Se}-icon-only`]:!wt&&wt!==0&&!!mt,[`${Se}-background-ghost`]:Yt&&!le(tt),[`${Se}-loading`]:qt,[`${Se}-two-chinese-chars`]:En&&Ft&&!qt,[`${Se}-block`]:yt,[`${Se}-dangerous`]:!!Ye,[`${Se}-rtl`]:Ot==="rtl"},rn,It,_t,Ie==null?void 0:Ie.className),Qt=Object.assign(Object.assign({},Ie==null?void 0:Ie.style),Et),tn=t()(nt==null?void 0:nt.icon,(Oe=Ie==null?void 0:Ie.classNames)===null||Oe===void 0?void 0:Oe.icon),yn=Object.assign(Object.assign({},(it==null?void 0:it.icon)||{}),((we=Ie==null?void 0:Ie.styles)===null||we===void 0?void 0:we.icon)||{}),vn=jt&&!qt?n.createElement(h,{prefixCls:Se,className:tn,style:yn},jt):n.createElement(L,{existIcon:!!jt,prefixCls:Se,loading:!!qt}),Wn=wt||wt===0?W(wt,ir&&Ft):null;if(gt.href!==void 0)return bt(n.createElement("a",Object.assign({},gt,{className:t()(sn,{[`${Se}-disabled`]:qe}),style:Qt,onClick:mr,ref:Gn}),vn,Wn));let tr=n.createElement("button",Object.assign({},lt,{type:ze,className:sn,style:Qt,onClick:mr,disabled:qe,ref:Gn}),vn,Wn);return le(tt)||(tr=n.createElement(d.Z,{component:"Button",disabled:!!qt},tr)),bt(tr)},ce=(0,n.forwardRef)(J);ce.Group=K,ce.__ANT_BUTTON=!0;var xe=ce},12562:function(b,y,e){"use strict";var a=e(70921);y.ZP=a.Z},81872:function(b,y,e){"use strict";var a=e(7056);y.Z=a.Z},18624:function(b,y,e){"use strict";e.d(y,{Z:function(){return x}});var a=e(87608),t=e.n(a),o=e(98186),s=e(58757),n=e(61836),d=e(58785),l=e(57214),c=e(16951),m=function(O,_){var U={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&_.indexOf(A)<0&&(U[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(O);G{var{prefixCls:_,className:U,hoverable:A=!0}=O,G=m(O,["prefixCls","className","hoverable"]);const{getPrefixCls:de}=s.useContext(n.E_),he=de("card",_),ge=t()(`${he}-grid`,U,{[`${he}-grid-hoverable`]:A});return s.createElement("div",Object.assign({},G,{className:ge}))},h=e(78330),S=e(52628),w=e(22151);const C=O=>{const{antCls:_,componentCls:U,headerHeight:A,cardPaddingBase:G,tabsMarginBottom:de}=O;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:A,marginBottom:-1,padding:`0 ${G}px`,color:O.colorTextHeading,fontWeight:O.fontWeightStrong,fontSize:O.headerFontSize,background:O.headerBg,borderBottom:`${O.lineWidth}px ${O.lineType} ${O.colorBorderSecondary}`,borderRadius:`${O.borderRadiusLG}px ${O.borderRadiusLG}px 0 0`},(0,h.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},h.vS),{[` + &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${Le}-icon-only`]:{fontSize:Oe}},Te(`${Le}-primary`,Ne),Te(`${Le}-danger`,st)]}};const Qe=ce=>{const{componentCls:Le,iconCls:Oe,buttonFontWeight:we}=ce;return{[Le]:{outline:"none",position:"relative",display:"inline-block",fontWeight:we,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${ce.lineWidth}px ${ce.lineType} transparent`,cursor:"pointer",transition:`all ${ce.motionDurationMid} ${ce.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:ce.lineHeight,color:ce.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${Le}-icon`]:{lineHeight:0},[`> ${Oe} + span, > span + ${Oe}`]:{marginInlineStart:ce.marginXS},[`&:not(${Le}-icon-only) > ${Le}-icon`]:{[`&${Le}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:ce.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,U.Qy)(ce)),[`&-icon-only${Le}-compact-item`]:{flex:"none"},[`&-compact-item${Le}-primary`]:{[`&:not([disabled]) + ${Le}-compact-item${Le}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-ce.lineWidth,insetInlineStart:-ce.lineWidth,display:"inline-block",width:ce.lineWidth,height:`calc(100% + ${ce.lineWidth*2}px)`,backgroundColor:ce.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${Le}-primary`]:{[`&:not([disabled]) + ${Le}-compact-vertical-item${Le}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-ce.lineWidth,insetInlineStart:-ce.lineWidth,display:"inline-block",width:`calc(100% + ${ce.lineWidth*2}px)`,height:ce.lineWidth,backgroundColor:ce.colorPrimaryHover,content:'""'}}}}}}},pt=(ce,Le,Oe)=>({[`&:not(:disabled):not(${ce}-disabled)`]:{"&:hover":Le,"&:active":Oe}}),Et=ce=>({minWidth:ce.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ft=ce=>({borderRadius:ce.controlHeight,paddingInlineStart:ce.controlHeight/2,paddingInlineEnd:ce.controlHeight/2}),Wt=ce=>({cursor:"not-allowed",borderColor:ce.colorBorder,color:ce.colorTextDisabled,backgroundColor:ce.colorBgContainerDisabled,boxShadow:"none"}),$e=(ce,Le,Oe,we,Ne,st,et)=>({[`&${ce}-background-ghost`]:Object.assign(Object.assign({color:Le||void 0,backgroundColor:"transparent",borderColor:Oe||void 0,boxShadow:"none"},pt(ce,Object.assign({backgroundColor:"transparent"},st),Object.assign({backgroundColor:"transparent"},et))),{"&:disabled":{cursor:"not-allowed",color:we||void 0,borderColor:Ne||void 0}})}),Xe=ce=>({[`&:disabled, &${ce.componentCls}-disabled`]:Object.assign({},Wt(ce))}),nt=ce=>Object.assign({},Xe(ce)),Ke=ce=>({[`&:disabled, &${ce.componentCls}-disabled`]:{cursor:"not-allowed",color:ce.colorTextDisabled}}),ye=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nt(ce)),{backgroundColor:ce.colorBgContainer,borderColor:ce.colorBorder,boxShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.controlTmpOutline}`}),pt(ce.componentCls,{color:ce.colorPrimaryHover,borderColor:ce.colorPrimaryHover},{color:ce.colorPrimaryActive,borderColor:ce.colorPrimaryActive})),$e(ce.componentCls,ce.colorBgContainer,ce.colorBgContainer,ce.colorTextDisabled,ce.colorBorder)),{[`&${ce.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:ce.colorError,borderColor:ce.colorError},pt(ce.componentCls,{color:ce.colorErrorHover,borderColor:ce.colorErrorBorderHover},{color:ce.colorErrorActive,borderColor:ce.colorErrorActive})),$e(ce.componentCls,ce.colorError,ce.colorError,ce.colorTextDisabled,ce.colorBorder)),Xe(ce))}),ne=ce=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nt(ce)),{color:ce.colorTextLightSolid,backgroundColor:ce.colorPrimary,boxShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.controlOutline}`}),pt(ce.componentCls,{color:ce.colorTextLightSolid,backgroundColor:ce.colorPrimaryHover},{color:ce.colorTextLightSolid,backgroundColor:ce.colorPrimaryActive})),$e(ce.componentCls,ce.colorPrimary,ce.colorPrimary,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorPrimaryHover,borderColor:ce.colorPrimaryHover},{color:ce.colorPrimaryActive,borderColor:ce.colorPrimaryActive})),{[`&${ce.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:ce.colorError,boxShadow:`0 ${ce.controlOutlineWidth}px 0 ${ce.colorErrorOutline}`},pt(ce.componentCls,{backgroundColor:ce.colorErrorHover},{backgroundColor:ce.colorErrorActive})),$e(ce.componentCls,ce.colorError,ce.colorError,ce.colorTextDisabled,ce.colorBorder,{color:ce.colorErrorHover,borderColor:ce.colorErrorHover},{color:ce.colorErrorActive,borderColor:ce.colorErrorActive})),Xe(ce))}),H=ce=>Object.assign(Object.assign({},ye(ce)),{borderStyle:"dashed"}),R=ce=>Object.assign(Object.assign(Object.assign({color:ce.colorLink},pt(ce.componentCls,{color:ce.colorLinkHover},{color:ce.colorLinkActive})),Ke(ce)),{[`&${ce.componentCls}-dangerous`]:Object.assign(Object.assign({color:ce.colorError},pt(ce.componentCls,{color:ce.colorErrorHover},{color:ce.colorErrorActive})),Ke(ce))}),P=ce=>Object.assign(Object.assign(Object.assign({},pt(ce.componentCls,{color:ce.colorText,backgroundColor:ce.colorBgTextHover},{color:ce.colorText,backgroundColor:ce.colorBgTextActive})),Ke(ce)),{[`&${ce.componentCls}-dangerous`]:Object.assign(Object.assign({color:ce.colorError},Ke(ce)),pt(ce.componentCls,{color:ce.colorErrorHover,backgroundColor:ce.colorErrorBg},{color:ce.colorErrorHover,backgroundColor:ce.colorErrorBg}))}),ae=ce=>{const{componentCls:Le}=ce;return{[`${Le}-default`]:ye(ce),[`${Le}-primary`]:ne(ce),[`${Le}-dashed`]:H(ce),[`${Le}-link`]:R(ce),[`${Le}-text`]:P(ce),[`${Le}-ghost`]:$e(ce.componentCls,ce.colorBgContainer,ce.colorBgContainer,ce.colorTextDisabled,ce.colorBorder)}},Q=function(ce){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:Oe,controlHeight:we,fontSize:Ne,lineHeight:st,lineWidth:et,borderRadius:Ye,buttonPaddingHorizontal:ke,iconCls:Be}=ce,it=Math.max(0,(we-Ne*st)/2-et),Ve=ke-et,xt=`${Oe}-icon-only`;return[{[`${Oe}${Le}`]:{fontSize:Ne,height:we,padding:`${it}px ${Ve}px`,borderRadius:Ye,[`&${xt}`]:{width:we,paddingInlineStart:0,paddingInlineEnd:0,[`&${Oe}-round`]:{width:"auto"},[Be]:{fontSize:ce.buttonIconOnlyFontSize}},[`&${Oe}-loading`]:{opacity:ce.opacityLoading,cursor:"default"},[`${Oe}-loading-icon`]:{transition:`width ${ce.motionDurationSlow} ${ce.motionEaseInOut}, opacity ${ce.motionDurationSlow} ${ce.motionEaseInOut}`}}},{[`${Oe}${Oe}-circle${Le}`]:Et(ce)},{[`${Oe}${Oe}-round${Le}`]:ft(ce)}]},ie=ce=>Q(ce),me=ce=>{const Le=(0,ge.TS)(ce,{controlHeight:ce.controlHeightSM,padding:ce.paddingXS,buttonPaddingHorizontal:8,borderRadius:ce.borderRadiusSM,buttonIconOnlyFontSize:ce.fontSizeLG-2});return Q(Le,`${ce.componentCls}-sm`)},je=ce=>{const Le=(0,ge.TS)(ce,{controlHeight:ce.controlHeightLG,fontSize:ce.fontSizeLG,borderRadius:ce.borderRadiusLG,buttonIconOnlyFontSize:ce.fontSizeLG+2});return Q(Le,`${ce.componentCls}-lg`)},Ee=ce=>{const{componentCls:Le}=ce;return{[Le]:{[`&${Le}-block`]:{width:"100%"}}}};var Me=(0,be.Z)("Button",ce=>{const{controlTmpOutline:Le,paddingContentHorizontal:Oe}=ce,we=(0,ge.TS)(ce,{colorOutlineDefault:Le,buttonPaddingHorizontal:Oe,buttonIconOnlyFontSize:ce.fontSizeLG,buttonFontWeight:400});return[Qe(we),me(we),ie(we),je(we),Ee(we),ae(we),Je(we),(0,A.c)(ce),pe(ce)]}),We=function(ce,Le){var Oe={};for(var we in ce)Object.prototype.hasOwnProperty.call(ce,we)&&Le.indexOf(we)<0&&(Oe[we]=ce[we]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,we=Object.getOwnPropertySymbols(ce);Ne{var Oe,we;const{loading:Ne=!1,prefixCls:st,type:et="default",danger:Ye,shape:ke="default",size:Be,styles:it,disabled:Ve,className:xt,rootClassName:Ht,children:Ot,icon:wt,ghost:_t=!1,block:yt=!1,htmlType:ze="button",classNames:tt,style:St={}}=ce,lt=We(ce,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Gt,autoInsertSpaceInButton:Nt,direction:At,button:Ie}=(0,n.useContext)(l.E_),Se=Gt("btn",st),[bt,jt]=Me(Se),He=(0,n.useContext)(c.Z),qe=Ve!=null?Ve:He,$t=(0,n.useContext)(T),Zt=(0,n.useMemo)(()=>se(Ne),[Ne]),[qt,un]=(0,n.useState)(Zt.loading),[xn,pn]=(0,n.useState)(!1),Gn=(0,n.createRef)(),Qn=(0,s.sQ)(Le,Gn),ur=n.Children.count(Ot)===1&&!wt&&!le(et);(0,n.useEffect)(()=>{let ut=null;Zt.delay>0?ut=setTimeout(()=>{ut=null,un(!0)},Zt.delay):un(Zt.loading);function ct(){ut&&(clearTimeout(ut),ut=null)}return ct},[Zt]),(0,n.useEffect)(()=>{if(!Qn||!Qn.current||Nt===!1)return;const ut=Qn.current.textContent;ur&&V(ut)?xn||pn(!0):xn&&pn(!1)},[Qn]);const br=ut=>{const{onClick:ct}=ce;if(qt||qe){ut.preventDefault();return}ct==null||ct(ut)},zt=Nt!==!1,{compactSize:en,compactItemClassnames:an}=(0,g.ri)(Se,At),vn={large:"lg",small:"sm",middle:void 0},An=(0,m.Z)(ut=>{var ct,It;return(It=(ct=Be!=null?Be:en)!==null&&ct!==void 0?ct:$t)!==null&&It!==void 0?It:ut}),sn=An&&vn[An]||"",mt=qt?"loading":wt,gt=(0,o.Z)(lt,["navigate"]),ln=t()(Se,jt,{[`${Se}-${ke}`]:ke!=="default"&&ke,[`${Se}-${et}`]:et,[`${Se}-${sn}`]:sn,[`${Se}-icon-only`]:!Ot&&Ot!==0&&!!mt,[`${Se}-background-ghost`]:_t&&!le(et),[`${Se}-loading`]:qt,[`${Se}-two-chinese-chars`]:xn&&zt&&!qt,[`${Se}-block`]:yt,[`${Se}-dangerous`]:!!Ye,[`${Se}-rtl`]:At==="rtl"},an,xt,Ht,Ie==null?void 0:Ie.className),Qt=Object.assign(Object.assign({},Ie==null?void 0:Ie.style),St),tn=t()(tt==null?void 0:tt.icon,(Oe=Ie==null?void 0:Ie.classNames)===null||Oe===void 0?void 0:Oe.icon),yn=Object.assign(Object.assign({},(it==null?void 0:it.icon)||{}),((we=Ie==null?void 0:Ie.styles)===null||we===void 0?void 0:we.icon)||{}),gn=wt&&!qt?n.createElement(h,{prefixCls:Se,className:tn,style:yn},wt):n.createElement(L,{existIcon:!!wt,prefixCls:Se,loading:!!qt}),_n=Ot||Ot===0?W(Ot,ur&&zt):null;if(gt.href!==void 0)return bt(n.createElement("a",Object.assign({},gt,{className:t()(ln,{[`${Se}-disabled`]:qe}),style:Qt,onClick:br,ref:Qn}),gn,_n));let nr=n.createElement("button",Object.assign({},lt,{type:ze,className:ln,style:Qt,onClick:br,disabled:qe,ref:Qn}),gn,_n);return le(et)||(nr=n.createElement(d.Z,{component:"Button",disabled:!!qt},nr)),bt(nr)},de=(0,n.forwardRef)(J);de.Group=K,de.__ANT_BUTTON=!0;var xe=de},12562:function(b,y,e){"use strict";var a=e(70921);y.ZP=a.Z},81872:function(b,y,e){"use strict";var a=e(7056);y.Z=a.Z},18624:function(b,y,e){"use strict";e.d(y,{Z:function(){return x}});var a=e(87608),t=e.n(a),o=e(98186),s=e(58757),n=e(61836),d=e(58785),l=e(57214),c=e(16951),m=function(O,_){var U={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&_.indexOf(A)<0&&(U[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(O);G{var{prefixCls:_,className:U,hoverable:A=!0}=O,G=m(O,["prefixCls","className","hoverable"]);const{getPrefixCls:fe}=s.useContext(n.E_),pe=fe("card",_),ge=t()(`${pe}-grid`,U,{[`${pe}-grid-hoverable`]:A});return s.createElement("div",Object.assign({},G,{className:ge}))},h=e(78330),S=e(52628),w=e(22151);const C=O=>{const{antCls:_,componentCls:U,headerHeight:A,cardPaddingBase:G,tabsMarginBottom:fe}=O;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:A,marginBottom:-1,padding:`0 ${G}px`,color:O.colorTextHeading,fontWeight:O.fontWeightStrong,fontSize:O.headerFontSize,background:O.headerBg,borderBottom:`${O.lineWidth}px ${O.lineType} ${O.colorBorderSecondary}`,borderRadius:`${O.borderRadiusLG}px ${O.borderRadiusLG}px 0 0`},(0,h.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},h.vS),{[` > ${U}-typography, > ${U}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${_}-tabs-top`]:{clear:"both",marginBottom:de,color:O.colorText,fontWeight:"normal",fontSize:O.fontSize,"&-bar":{borderBottom:`${O.lineWidth}px ${O.lineType} ${O.colorBorderSecondary}`}}})},z=O=>{const{cardPaddingBase:_,colorBorderSecondary:U,cardShadow:A,lineWidth:G}=O;return{width:"33.33%",padding:_,border:0,borderRadius:0,boxShadow:` + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${_}-tabs-top`]:{clear:"both",marginBottom:fe,color:O.colorText,fontWeight:"normal",fontSize:O.fontSize,"&-bar":{borderBottom:`${O.lineWidth}px ${O.lineType} ${O.colorBorderSecondary}`}}})},F=O=>{const{cardPaddingBase:_,colorBorderSecondary:U,cardShadow:A,lineWidth:G}=O;return{width:"33.33%",padding:_,border:0,borderRadius:0,boxShadow:` ${G}px 0 0 0 ${U}, 0 ${G}px 0 0 ${U}, ${G}px ${G}px 0 0 ${U}, ${G}px 0 0 0 ${U} inset, 0 ${G}px 0 0 ${U} inset; - `,transition:`all ${O.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:A}}},$=O=>{const{componentCls:_,iconCls:U,actionsLiMargin:A,cardActionsIconSize:G,colorBorderSecondary:de,actionsBg:he}=O;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:he,borderTop:`${O.lineWidth}px ${O.lineType} ${de}`,display:"flex",borderRadius:`0 0 ${O.borderRadiusLG}px ${O.borderRadiusLG}px `},(0,h.dF)()),{"& > li":{margin:A,color:O.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:O.cardActionsIconSize*2,fontSize:O.fontSize,lineHeight:O.lineHeight,cursor:"pointer","&:hover":{color:O.colorPrimary,transition:`color ${O.motionDurationMid}`},[`a:not(${_}-btn), > ${U}`]:{display:"inline-block",width:"100%",color:O.colorTextDescription,lineHeight:`${O.fontSize*O.lineHeight}px`,transition:`color ${O.motionDurationMid}`,"&:hover":{color:O.colorPrimary}},[`> ${U}`]:{fontSize:G,lineHeight:`${G*O.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${O.lineWidth}px ${O.lineType} ${de}`}}})},N=O=>Object.assign(Object.assign({margin:`-${O.marginXXS}px 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:O.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:O.marginXS}},"&-title":Object.assign({color:O.colorTextHeading,fontWeight:O.fontWeightStrong,fontSize:O.fontSizeLG},h.vS),"&-description":{color:O.colorTextDescription}}),L=O=>{const{componentCls:_,cardPaddingBase:U,colorFillAlter:A}=O;return{[`${_}-head`]:{padding:`0 ${U}px`,background:A,"&-title":{fontSize:O.fontSize}},[`${_}-body`]:{padding:`${O.padding}px ${U}px`}}},B=O=>{const{componentCls:_}=O;return{overflow:"hidden",[`${_}-body`]:{userSelect:"none"}}},D=O=>{const{antCls:_,componentCls:U,cardShadow:A,cardHeadPadding:G,colorBorderSecondary:de,boxShadowTertiary:he,cardPaddingBase:ge,extraColor:be}=O;return{[U]:Object.assign(Object.assign({},(0,h.Wf)(O)),{position:"relative",background:O.colorBgContainer,borderRadius:O.borderRadiusLG,[`&:not(${U}-bordered)`]:{boxShadow:he},[`${U}-head`]:C(O),[`${U}-extra`]:{marginInlineStart:"auto",color:be,fontWeight:"normal",fontSize:O.fontSize},[`${U}-body`]:Object.assign({padding:ge,borderRadius:` 0 0 ${O.borderRadiusLG}px ${O.borderRadiusLG}px`},(0,h.dF)()),[`${U}-grid`]:z(O),[`${U}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${_}-image-mask`]:{borderRadius:`${O.borderRadiusLG}px ${O.borderRadiusLG}px 0 0`}},[`${U}-actions`]:$(O),[`${U}-meta`]:N(O)}),[`${U}-bordered`]:{border:`${O.lineWidth}px ${O.lineType} ${de}`,[`${U}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${U}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${O.motionDurationMid}, border-color ${O.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:A}},[`${U}-contain-grid`]:{[`${U}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${U}-loading) ${U}-body`]:{marginBlockStart:-O.lineWidth,marginInlineStart:-O.lineWidth,padding:0}},[`${U}-contain-tabs`]:{[`> ${U}-head`]:{[`${U}-head-title, ${U}-extra`]:{paddingTop:G}}},[`${U}-type-inner`]:L(O),[`${U}-loading`]:B(O),[`${U}-rtl`]:{direction:"rtl"}}},T=O=>{const{componentCls:_,cardPaddingSM:U,headerHeightSM:A,headerFontSizeSM:G}=O;return{[`${_}-small`]:{[`> ${_}-head`]:{minHeight:A,padding:`0 ${U}px`,fontSize:G,[`> ${_}-head-wrapper`]:{[`> ${_}-extra`]:{fontSize:O.fontSize}}},[`> ${_}-body`]:{padding:U}},[`${_}-small${_}-contain-tabs`]:{[`> ${_}-head`]:{[`${_}-head-title, ${_}-extra`]:{minHeight:A,paddingTop:0,display:"flex",alignItems:"center"}}}}};var j=(0,S.Z)("Card",O=>{const _=(0,w.TS)(O,{cardShadow:O.boxShadowCard,cardHeadPadding:O.padding,cardPaddingBase:O.paddingLG,cardActionsIconSize:O.fontSize,cardPaddingSM:12});return[D(_),T(_)]},O=>({headerBg:"transparent",headerFontSize:O.fontSizeLG,headerFontSizeSM:O.fontSize,headerHeight:O.fontSizeLG*O.lineHeightLG+O.padding*2,headerHeightSM:O.fontSize*O.lineHeight+O.paddingXS*2,actionsBg:O.colorBgContainer,actionsLiMargin:`${O.paddingSM}px 0`,tabsMarginBottom:-O.padding-O.lineWidth,extraColor:O.colorText})),K=function(O,_){var U={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&_.indexOf(A)<0&&(U[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(O);Gs.createElement("li",{style:{width:`${100/O.length}%`},key:`action-${U}`},s.createElement("span",null,_)))}var Y=s.forwardRef((O,_)=>{const{prefixCls:U,className:A,rootClassName:G,style:de,extra:he,headStyle:ge={},bodyStyle:be={},title:Te,loading:Ge,bordered:Je=!0,size:Qe,type:pt,cover:Ct,actions:ft,tabList:Ht,children:Ze,activeTabKey:Xe,defaultActiveTabKey:rt,tabBarExtraContent:Ke,hoverable:ye,tabProps:ne={}}=O,H=K(O,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:R,direction:P,card:ae}=s.useContext(n.E_),Q=tt=>{var Ye;(Ye=O.onTabChange)===null||Ye===void 0||Ye.call(O,tt)},ie=s.useMemo(()=>{let tt=!1;return s.Children.forEach(Ze,Ye=>{Ye&&Ye.type&&Ye.type===M&&(tt=!0)}),tt},[Ze]),me=R("card",U),[je,Ee]=j(me),Me=s.createElement(l.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},Ze),We=Xe!==void 0,re=Object.assign(Object.assign({},ne),{[We?"activeKey":"defaultActiveKey"]:We?Xe:rt,tabBarExtraContent:Ke});let se;const J=(0,d.Z)(Qe),ce=!J||J==="default"?"large":J,xe=Ht?s.createElement(c.Z,Object.assign({size:ce},re,{className:`${me}-head-tabs`,onChange:Q,items:Ht.map(tt=>{var{tab:Ye}=tt,ke=K(tt,["tab"]);return Object.assign({label:Ye},ke)})})):null;(Te||he||xe)&&(se=s.createElement("div",{className:`${me}-head`,style:ge},s.createElement("div",{className:`${me}-head-wrapper`},Te&&s.createElement("div",{className:`${me}-head-title`},Te),he&&s.createElement("div",{className:`${me}-extra`},he)),xe));const ue=Ct?s.createElement("div",{className:`${me}-cover`},Ct):null,Ne=s.createElement("div",{className:`${me}-body`,style:be},Ge?Me:Ze),Oe=ft&&ft.length?s.createElement("ul",{className:`${me}-actions`},k(ft)):null,we=(0,o.Z)(H,["onTabChange"]),Re=t()(me,ae==null?void 0:ae.className,{[`${me}-loading`]:Ge,[`${me}-bordered`]:Je,[`${me}-hoverable`]:ye,[`${me}-contain-grid`]:ie,[`${me}-contain-tabs`]:Ht&&Ht.length,[`${me}-${J}`]:J,[`${me}-type-${pt}`]:!!pt,[`${me}-rtl`]:P==="rtl"},A,G,Ee),st=Object.assign(Object.assign({},ae==null?void 0:ae.style),de);return je(s.createElement("div",Object.assign({ref:_},we,{className:Re,style:st}),se,ue,Ne,Oe))}),q=function(O,_){var U={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&_.indexOf(A)<0&&(U[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(O);G{const{prefixCls:_,className:U,avatar:A,title:G,description:de}=O,he=q(O,["prefixCls","className","avatar","title","description"]),{getPrefixCls:ge}=s.useContext(n.E_),be=ge("card",_),Te=t()(`${be}-meta`,U),Ge=A?s.createElement("div",{className:`${be}-meta-avatar`},A):null,Je=G?s.createElement("div",{className:`${be}-meta-title`},G):null,Qe=de?s.createElement("div",{className:`${be}-meta-description`},de):null,pt=Je||Qe?s.createElement("div",{className:`${be}-meta-detail`},Je,Qe):null;return s.createElement("div",Object.assign({},he,{className:Te}),Ge,pt)};const W=Y;W.Grid=M,W.Meta=X;var x=W},38904:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(87608),t=e.n(a),o=e(60357),s=e(58757),n=e(61836),d=e(92428),l=e(81496),m=s.createContext(null),g=e(7316),M=e(37486),h=e(78856),S=function(k,te){var Y={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(Y[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{var Y;const{prefixCls:q,className:le,rootClassName:X,children:W,indeterminate:x=!1,style:O,onMouseEnter:_,onMouseLeave:U,skipGroup:A=!1,disabled:G}=k,de=S(k,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:he,direction:ge,checkbox:be}=s.useContext(n.E_),Te=s.useContext(m),{isFormItemInput:Ge}=s.useContext(l.aM),Je=s.useContext(d.Z),Qe=(Y=(Te==null?void 0:Te.disabled)||G)!==null&&Y!==void 0?Y:Je,pt=s.useRef(de.value);s.useEffect(()=>{Te==null||Te.registerValue(de.value)},[]),s.useEffect(()=>{if(!A)return de.value!==pt.current&&(Te==null||Te.cancelValue(pt.current),Te==null||Te.registerValue(de.value),pt.current=de.value),()=>Te==null?void 0:Te.cancelValue(de.value)},[de.value]);const Ct=he("checkbox",q),[ft,Ht]=(0,g.ZP)(Ct),Ze=Object.assign({},de);Te&&!A&&(Ze.onChange=function(){de.onChange&&de.onChange.apply(de,arguments),Te.toggleOption&&Te.toggleOption({label:W,value:de.value})},Ze.name=Te.name,Ze.checked=Te.value.includes(de.value));const Xe=t()(`${Ct}-wrapper`,{[`${Ct}-rtl`]:ge==="rtl",[`${Ct}-wrapper-checked`]:Ze.checked,[`${Ct}-wrapper-disabled`]:Qe,[`${Ct}-wrapper-in-form-item`]:Ge},be==null?void 0:be.className,le,X,Ht),rt=t()({[`${Ct}-indeterminate`]:x},h.A,Ht),Ke=x?"mixed":void 0;return ft(s.createElement(M.Z,{component:"Checkbox",disabled:Qe},s.createElement("label",{className:Xe,style:Object.assign(Object.assign({},be==null?void 0:be.style),O),onMouseEnter:_,onMouseLeave:U},s.createElement(o.Z,Object.assign({"aria-checked":Ke},Ze,{prefixCls:Ct,className:rt,disabled:Qe,ref:te})),W!==void 0&&s.createElement("span",null,W))))};var z=s.forwardRef(w),$=e(29140),N=e(98186),L=function(k,te){var Y={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(Y[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{const{defaultValue:Y,children:q,options:le=[],prefixCls:X,className:W,rootClassName:x,style:O,onChange:_}=k,U=L(k,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:A,direction:G}=s.useContext(n.E_),[de,he]=s.useState(U.value||Y||[]),[ge,be]=s.useState([]);s.useEffect(()=>{"value"in U&&he(U.value||[])},[U.value]);const Te=s.useMemo(()=>le.map(ye=>typeof ye=="string"||typeof ye=="number"?{label:ye,value:ye}:ye),[le]),Ge=ye=>{be(ne=>ne.filter(H=>H!==ye))},Je=ye=>{be(ne=>[].concat((0,$.Z)(ne),[ye]))},Qe=ye=>{const ne=de.indexOf(ye.value),H=(0,$.Z)(de);ne===-1?H.push(ye.value):H.splice(ne,1),"value"in U||he(H),_==null||_(H.filter(R=>ge.includes(R)).sort((R,P)=>{const ae=Te.findIndex(ie=>ie.value===R),Q=Te.findIndex(ie=>ie.value===P);return ae-Q}))},pt=A("checkbox",X),Ct=`${pt}-group`,[ft,Ht]=(0,g.ZP)(pt),Ze=(0,N.Z)(U,["value","disabled"]),Xe=le.length?Te.map(ye=>s.createElement(z,{prefixCls:pt,key:ye.value.toString(),disabled:"disabled"in ye?ye.disabled:U.disabled,value:ye.value,checked:de.includes(ye.value),onChange:ye.onChange,className:`${Ct}-item`,style:ye.style,title:ye.title},ye.label)):q,rt={toggleOption:Qe,value:de,disabled:U.disabled,name:U.name,registerValue:Je,cancelValue:Ge},Ke=t()(Ct,{[`${Ct}-rtl`]:G==="rtl"},W,x,Ht);return ft(s.createElement("div",Object.assign({className:Ke,style:O},Ze,{ref:te}),s.createElement(m.Provider,{value:rt},Xe)))},D=s.forwardRef(B);var T=s.memo(D);const j=z;j.Group=T,j.__ANT_CHECKBOX=!0;var K=j},7316:function(b,y,e){"use strict";e.d(y,{C2:function(){return n}});var a=e(78330),t=e(22151),o=e(52628);const s=d=>{const{checkboxCls:l}=d,c=`${l}-wrapper`;return[{[`${l}-group`]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",flexWrap:"wrap",columnGap:d.marginXS,[`> ${d.antCls}-row`]:{flex:1}}),[c]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${c}`]:{marginInlineStart:0},[`&${c}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[l]:Object.assign(Object.assign({},(0,a.Wf)(d)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:d.borderRadiusSM,alignSelf:"center",[`${l}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${l}-inner`]:Object.assign({},(0,a.oN)(d))},[`${l}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:d.checkboxSize,height:d.checkboxSize,direction:"ltr",backgroundColor:d.colorBgContainer,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadiusSM,borderCollapse:"separate",transition:`all ${d.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:d.checkboxSize/14*5,height:d.checkboxSize/14*8,border:`${d.lineWidthBold}px solid ${d.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${d.motionDurationFast} ${d.motionEaseInBack}, opacity ${d.motionDurationFast}`}},"& + span":{paddingInlineStart:d.paddingXS,paddingInlineEnd:d.paddingXS}})},{[` + `,transition:`all ${O.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:A}}},Z=O=>{const{componentCls:_,iconCls:U,actionsLiMargin:A,cardActionsIconSize:G,colorBorderSecondary:fe,actionsBg:pe}=O;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:pe,borderTop:`${O.lineWidth}px ${O.lineType} ${fe}`,display:"flex",borderRadius:`0 0 ${O.borderRadiusLG}px ${O.borderRadiusLG}px `},(0,h.dF)()),{"& > li":{margin:A,color:O.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:O.cardActionsIconSize*2,fontSize:O.fontSize,lineHeight:O.lineHeight,cursor:"pointer","&:hover":{color:O.colorPrimary,transition:`color ${O.motionDurationMid}`},[`a:not(${_}-btn), > ${U}`]:{display:"inline-block",width:"100%",color:O.colorTextDescription,lineHeight:`${O.fontSize*O.lineHeight}px`,transition:`color ${O.motionDurationMid}`,"&:hover":{color:O.colorPrimary}},[`> ${U}`]:{fontSize:G,lineHeight:`${G*O.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${O.lineWidth}px ${O.lineType} ${fe}`}}})},N=O=>Object.assign(Object.assign({margin:`-${O.marginXXS}px 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:O.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:O.marginXS}},"&-title":Object.assign({color:O.colorTextHeading,fontWeight:O.fontWeightStrong,fontSize:O.fontSizeLG},h.vS),"&-description":{color:O.colorTextDescription}}),L=O=>{const{componentCls:_,cardPaddingBase:U,colorFillAlter:A}=O;return{[`${_}-head`]:{padding:`0 ${U}px`,background:A,"&-title":{fontSize:O.fontSize}},[`${_}-body`]:{padding:`${O.padding}px ${U}px`}}},$=O=>{const{componentCls:_}=O;return{overflow:"hidden",[`${_}-body`]:{userSelect:"none"}}},D=O=>{const{antCls:_,componentCls:U,cardShadow:A,cardHeadPadding:G,colorBorderSecondary:fe,boxShadowTertiary:pe,cardPaddingBase:ge,extraColor:be}=O;return{[U]:Object.assign(Object.assign({},(0,h.Wf)(O)),{position:"relative",background:O.colorBgContainer,borderRadius:O.borderRadiusLG,[`&:not(${U}-bordered)`]:{boxShadow:pe},[`${U}-head`]:C(O),[`${U}-extra`]:{marginInlineStart:"auto",color:be,fontWeight:"normal",fontSize:O.fontSize},[`${U}-body`]:Object.assign({padding:ge,borderRadius:` 0 0 ${O.borderRadiusLG}px ${O.borderRadiusLG}px`},(0,h.dF)()),[`${U}-grid`]:F(O),[`${U}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${_}-image-mask`]:{borderRadius:`${O.borderRadiusLG}px ${O.borderRadiusLG}px 0 0`}},[`${U}-actions`]:Z(O),[`${U}-meta`]:N(O)}),[`${U}-bordered`]:{border:`${O.lineWidth}px ${O.lineType} ${fe}`,[`${U}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${U}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${O.motionDurationMid}, border-color ${O.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:A}},[`${U}-contain-grid`]:{[`${U}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${U}-loading) ${U}-body`]:{marginBlockStart:-O.lineWidth,marginInlineStart:-O.lineWidth,padding:0}},[`${U}-contain-tabs`]:{[`> ${U}-head`]:{[`${U}-head-title, ${U}-extra`]:{paddingTop:G}}},[`${U}-type-inner`]:L(O),[`${U}-loading`]:$(O),[`${U}-rtl`]:{direction:"rtl"}}},T=O=>{const{componentCls:_,cardPaddingSM:U,headerHeightSM:A,headerFontSizeSM:G}=O;return{[`${_}-small`]:{[`> ${_}-head`]:{minHeight:A,padding:`0 ${U}px`,fontSize:G,[`> ${_}-head-wrapper`]:{[`> ${_}-extra`]:{fontSize:O.fontSize}}},[`> ${_}-body`]:{padding:U}},[`${_}-small${_}-contain-tabs`]:{[`> ${_}-head`]:{[`${_}-head-title, ${_}-extra`]:{minHeight:A,paddingTop:0,display:"flex",alignItems:"center"}}}}};var j=(0,S.Z)("Card",O=>{const _=(0,w.TS)(O,{cardShadow:O.boxShadowCard,cardHeadPadding:O.padding,cardPaddingBase:O.paddingLG,cardActionsIconSize:O.fontSize,cardPaddingSM:12});return[D(_),T(_)]},O=>({headerBg:"transparent",headerFontSize:O.fontSizeLG,headerFontSizeSM:O.fontSize,headerHeight:O.fontSizeLG*O.lineHeightLG+O.padding*2,headerHeightSM:O.fontSize*O.lineHeight+O.paddingXS*2,actionsBg:O.colorBgContainer,actionsLiMargin:`${O.paddingSM}px 0`,tabsMarginBottom:-O.padding-O.lineWidth,extraColor:O.colorText})),K=function(O,_){var U={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&_.indexOf(A)<0&&(U[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(O);Gs.createElement("li",{style:{width:`${100/O.length}%`},key:`action-${U}`},s.createElement("span",null,_)))}var V=s.forwardRef((O,_)=>{const{prefixCls:U,className:A,rootClassName:G,style:fe,extra:pe,headStyle:ge={},bodyStyle:be={},title:Te,loading:Ge,bordered:Je=!0,size:Qe,type:pt,cover:Et,actions:ft,tabList:Wt,children:$e,activeTabKey:Xe,defaultActiveTabKey:nt,tabBarExtraContent:Ke,hoverable:ye,tabProps:ne={}}=O,H=K(O,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:R,direction:P,card:ae}=s.useContext(n.E_),Q=et=>{var Ye;(Ye=O.onTabChange)===null||Ye===void 0||Ye.call(O,et)},ie=s.useMemo(()=>{let et=!1;return s.Children.forEach($e,Ye=>{Ye&&Ye.type&&Ye.type===M&&(et=!0)}),et},[$e]),me=R("card",U),[je,Ee]=j(me),Me=s.createElement(l.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},$e),We=Xe!==void 0,re=Object.assign(Object.assign({},ne),{[We?"activeKey":"defaultActiveKey"]:We?Xe:nt,tabBarExtraContent:Ke});let se;const J=(0,d.Z)(Qe),de=!J||J==="default"?"large":J,xe=Wt?s.createElement(c.Z,Object.assign({size:de},re,{className:`${me}-head-tabs`,onChange:Q,items:Wt.map(et=>{var{tab:Ye}=et,ke=K(et,["tab"]);return Object.assign({label:Ye},ke)})})):null;(Te||pe||xe)&&(se=s.createElement("div",{className:`${me}-head`,style:ge},s.createElement("div",{className:`${me}-head-wrapper`},Te&&s.createElement("div",{className:`${me}-head-title`},Te),pe&&s.createElement("div",{className:`${me}-extra`},pe)),xe));const ce=Et?s.createElement("div",{className:`${me}-cover`},Et):null,Le=s.createElement("div",{className:`${me}-body`,style:be},Ge?Me:$e),Oe=ft&&ft.length?s.createElement("ul",{className:`${me}-actions`},k(ft)):null,we=(0,o.Z)(H,["onTabChange"]),Ne=t()(me,ae==null?void 0:ae.className,{[`${me}-loading`]:Ge,[`${me}-bordered`]:Je,[`${me}-hoverable`]:ye,[`${me}-contain-grid`]:ie,[`${me}-contain-tabs`]:Wt&&Wt.length,[`${me}-${J}`]:J,[`${me}-type-${pt}`]:!!pt,[`${me}-rtl`]:P==="rtl"},A,G,Ee),st=Object.assign(Object.assign({},ae==null?void 0:ae.style),fe);return je(s.createElement("div",Object.assign({ref:_},we,{className:Ne,style:st}),se,ce,Le,Oe))}),q=function(O,_){var U={};for(var A in O)Object.prototype.hasOwnProperty.call(O,A)&&_.indexOf(A)<0&&(U[A]=O[A]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,A=Object.getOwnPropertySymbols(O);G{const{prefixCls:_,className:U,avatar:A,title:G,description:fe}=O,pe=q(O,["prefixCls","className","avatar","title","description"]),{getPrefixCls:ge}=s.useContext(n.E_),be=ge("card",_),Te=t()(`${be}-meta`,U),Ge=A?s.createElement("div",{className:`${be}-meta-avatar`},A):null,Je=G?s.createElement("div",{className:`${be}-meta-title`},G):null,Qe=fe?s.createElement("div",{className:`${be}-meta-description`},fe):null,pt=Je||Qe?s.createElement("div",{className:`${be}-meta-detail`},Je,Qe):null;return s.createElement("div",Object.assign({},pe,{className:Te}),Ge,pt)};const W=V;W.Grid=M,W.Meta=X;var x=W},38904:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(87608),t=e.n(a),o=e(60357),s=e(58757),n=e(61836),d=e(92428),l=e(81496),m=s.createContext(null),g=e(7316),M=e(37486),h=e(78856),S=function(k,te){var V={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(V[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{var V;const{prefixCls:q,className:le,rootClassName:X,children:W,indeterminate:x=!1,style:O,onMouseEnter:_,onMouseLeave:U,skipGroup:A=!1,disabled:G}=k,fe=S(k,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:pe,direction:ge,checkbox:be}=s.useContext(n.E_),Te=s.useContext(m),{isFormItemInput:Ge}=s.useContext(l.aM),Je=s.useContext(d.Z),Qe=(V=(Te==null?void 0:Te.disabled)||G)!==null&&V!==void 0?V:Je,pt=s.useRef(fe.value);s.useEffect(()=>{Te==null||Te.registerValue(fe.value)},[]),s.useEffect(()=>{if(!A)return fe.value!==pt.current&&(Te==null||Te.cancelValue(pt.current),Te==null||Te.registerValue(fe.value),pt.current=fe.value),()=>Te==null?void 0:Te.cancelValue(fe.value)},[fe.value]);const Et=pe("checkbox",q),[ft,Wt]=(0,g.ZP)(Et),$e=Object.assign({},fe);Te&&!A&&($e.onChange=function(){fe.onChange&&fe.onChange.apply(fe,arguments),Te.toggleOption&&Te.toggleOption({label:W,value:fe.value})},$e.name=Te.name,$e.checked=Te.value.includes(fe.value));const Xe=t()(`${Et}-wrapper`,{[`${Et}-rtl`]:ge==="rtl",[`${Et}-wrapper-checked`]:$e.checked,[`${Et}-wrapper-disabled`]:Qe,[`${Et}-wrapper-in-form-item`]:Ge},be==null?void 0:be.className,le,X,Wt),nt=t()({[`${Et}-indeterminate`]:x},h.A,Wt),Ke=x?"mixed":void 0;return ft(s.createElement(M.Z,{component:"Checkbox",disabled:Qe},s.createElement("label",{className:Xe,style:Object.assign(Object.assign({},be==null?void 0:be.style),O),onMouseEnter:_,onMouseLeave:U},s.createElement(o.Z,Object.assign({"aria-checked":Ke},$e,{prefixCls:Et,className:nt,disabled:Qe,ref:te})),W!==void 0&&s.createElement("span",null,W))))};var F=s.forwardRef(w),Z=e(29140),N=e(98186),L=function(k,te){var V={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(V[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{const{defaultValue:V,children:q,options:le=[],prefixCls:X,className:W,rootClassName:x,style:O,onChange:_}=k,U=L(k,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:A,direction:G}=s.useContext(n.E_),[fe,pe]=s.useState(U.value||V||[]),[ge,be]=s.useState([]);s.useEffect(()=>{"value"in U&&pe(U.value||[])},[U.value]);const Te=s.useMemo(()=>le.map(ye=>typeof ye=="string"||typeof ye=="number"?{label:ye,value:ye}:ye),[le]),Ge=ye=>{be(ne=>ne.filter(H=>H!==ye))},Je=ye=>{be(ne=>[].concat((0,Z.Z)(ne),[ye]))},Qe=ye=>{const ne=fe.indexOf(ye.value),H=(0,Z.Z)(fe);ne===-1?H.push(ye.value):H.splice(ne,1),"value"in U||pe(H),_==null||_(H.filter(R=>ge.includes(R)).sort((R,P)=>{const ae=Te.findIndex(ie=>ie.value===R),Q=Te.findIndex(ie=>ie.value===P);return ae-Q}))},pt=A("checkbox",X),Et=`${pt}-group`,[ft,Wt]=(0,g.ZP)(pt),$e=(0,N.Z)(U,["value","disabled"]),Xe=le.length?Te.map(ye=>s.createElement(F,{prefixCls:pt,key:ye.value.toString(),disabled:"disabled"in ye?ye.disabled:U.disabled,value:ye.value,checked:fe.includes(ye.value),onChange:ye.onChange,className:`${Et}-item`,style:ye.style,title:ye.title},ye.label)):q,nt={toggleOption:Qe,value:fe,disabled:U.disabled,name:U.name,registerValue:Je,cancelValue:Ge},Ke=t()(Et,{[`${Et}-rtl`]:G==="rtl"},W,x,Wt);return ft(s.createElement("div",Object.assign({className:Ke,style:O},$e,{ref:te}),s.createElement(m.Provider,{value:nt},Xe)))},D=s.forwardRef($);var T=s.memo(D);const j=F;j.Group=T,j.__ANT_CHECKBOX=!0;var K=j},7316:function(b,y,e){"use strict";e.d(y,{C2:function(){return n}});var a=e(78330),t=e(22151),o=e(52628);const s=d=>{const{checkboxCls:l}=d,c=`${l}-wrapper`;return[{[`${l}-group`]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",flexWrap:"wrap",columnGap:d.marginXS,[`> ${d.antCls}-row`]:{flex:1}}),[c]:Object.assign(Object.assign({},(0,a.Wf)(d)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${c}`]:{marginInlineStart:0},[`&${c}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[l]:Object.assign(Object.assign({},(0,a.Wf)(d)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:d.borderRadiusSM,alignSelf:"center",[`${l}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${l}-inner`]:Object.assign({},(0,a.oN)(d))},[`${l}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:d.checkboxSize,height:d.checkboxSize,direction:"ltr",backgroundColor:d.colorBgContainer,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadiusSM,borderCollapse:"separate",transition:`all ${d.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:d.checkboxSize/14*5,height:d.checkboxSize/14*8,border:`${d.lineWidthBold}px solid ${d.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${d.motionDurationFast} ${d.motionEaseInBack}, opacity ${d.motionDurationFast}`}},"& + span":{paddingInlineStart:d.paddingXS,paddingInlineEnd:d.paddingXS}})},{[` ${c}:not(${c}-disabled), ${l}:not(${l}-disabled) `]:{[`&:hover ${l}-inner`]:{borderColor:d.colorPrimary}},[`${c}:not(${c}-disabled)`]:{[`&:hover ${l}-checked:not(${l}-disabled) ${l}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${l}-checked:not(${l}-disabled):after`]:{borderColor:d.colorPrimaryHover}}},{[`${l}-checked`]:{[`${l}-inner`]:{backgroundColor:d.colorPrimary,borderColor:d.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${d.motionDurationMid} ${d.motionEaseOutBack} ${d.motionDurationFast}`}}},[` ${c}-checked:not(${c}-disabled), ${l}-checked:not(${l}-disabled) - `]:{[`&:hover ${l}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"}}},{[l]:{"&-indeterminate":{[`${l}-inner`]:{backgroundColor:d.colorBgContainer,borderColor:d.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:d.fontSizeLG/2,height:d.fontSizeLG/2,backgroundColor:d.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${c}-disabled`]:{cursor:"not-allowed"},[`${l}-disabled`]:{[`&, ${l}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${l}-inner`]:{background:d.colorBgContainerDisabled,borderColor:d.colorBorder,"&:after":{borderColor:d.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:d.colorTextDisabled},[`&${l}-indeterminate ${l}-inner::after`]:{background:d.colorTextDisabled}}}]};function n(d,l){const c=(0,t.TS)(l,{checkboxCls:`.${d}`,checkboxSize:l.controlInteractiveSize});return[s(c)]}y.ZP=(0,o.Z)("Checkbox",(d,l)=>{let{prefixCls:c}=l;return[n(c,d)]})},82968:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ht}});var a=e(91169),t=e(87608),o=e.n(t),s=e(28314),n=e(29140),d=e(38790),l=e(60409),c=e(75556),m=e(58757),g=e(60698),M=e(47075),h=e(42156),S=e(37734),w=e(17598),C=e(29639),z=m.forwardRef(function(Ze,Xe){var rt,Ke=Ze.prefixCls,ye=Ze.forceRender,ne=Ze.className,H=Ze.style,R=Ze.children,P=Ze.isActive,ae=Ze.role,Q=m.useState(P||ye),ie=(0,s.Z)(Q,2),me=ie[0],je=ie[1];return m.useEffect(function(){(ye||P)&&je(!0)},[ye,P]),me?m.createElement("div",{ref:Xe,className:o()("".concat(Ke,"-content"),(rt={},(0,S.Z)(rt,"".concat(Ke,"-content-active"),P),(0,S.Z)(rt,"".concat(Ke,"-content-inactive"),!P),rt),ne),style:H,role:ae},m.createElement("div",{className:"".concat(Ke,"-content-box")},R)):null});z.displayName="PanelContent";var $=z,N=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],L=m.forwardRef(function(Ze,Xe){var rt,Ke,ye=Ze.showArrow,ne=ye===void 0?!0:ye,H=Ze.headerClass,R=Ze.isActive,P=Ze.onItemClick,ae=Ze.forceRender,Q=Ze.className,ie=Ze.prefixCls,me=Ze.collapsible,je=Ze.accordion,Ee=Ze.panelKey,Me=Ze.extra,We=Ze.header,re=Ze.expandIcon,se=Ze.openMotion,J=Ze.destroyInactivePanel,ce=Ze.children,xe=(0,M.Z)(Ze,N),ue=me==="disabled",Ne=me==="header",Oe=me==="icon",we=Me!=null&&typeof Me!="boolean",Re=function(){P==null||P(Ee)},st=function(Ve){(Ve.key==="Enter"||Ve.keyCode===C.Z.ENTER||Ve.which===C.Z.ENTER)&&Re()},tt=typeof re=="function"?re(Ze):m.createElement("i",{className:"arrow"});tt&&(tt=m.createElement("div",{className:"".concat(ie,"-expand-icon"),onClick:["header","icon"].includes(me)?Re:void 0},tt));var Ye=o()((rt={},(0,S.Z)(rt,"".concat(ie,"-item"),!0),(0,S.Z)(rt,"".concat(ie,"-item-active"),R),(0,S.Z)(rt,"".concat(ie,"-item-disabled"),ue),rt),Q),ke=o()(H,(Ke={},(0,S.Z)(Ke,"".concat(ie,"-header"),!0),(0,S.Z)(Ke,"".concat(ie,"-header-collapsible-only"),Ne),(0,S.Z)(Ke,"".concat(ie,"-icon-collapsible-only"),Oe),Ke)),Be={className:ke,"aria-expanded":R,"aria-disabled":ue,onKeyDown:st};return!Ne&&!Oe&&(Be.onClick=Re,Be.role=je?"tab":"button",Be.tabIndex=ue?-1:0),m.createElement("div",(0,g.Z)({},xe,{ref:Xe,className:Ye}),m.createElement("div",Be,ne&&tt,m.createElement("span",{className:"".concat(ie,"-header-text"),onClick:me==="header"?Re:void 0},We),we&&m.createElement("div",{className:"".concat(ie,"-extra")},Me)),m.createElement(w.ZP,(0,g.Z)({visible:R,leavedClassName:"".concat(ie,"-content-hidden")},se,{forceRender:ae,removeOnLeave:J}),function(it,Ve){var It=it.className,_t=it.style;return m.createElement($,{ref:Ve,prefixCls:ie,className:It,style:_t,isActive:R,forceRender:ae,role:je?"tabpanel":void 0},ce)}))}),B=L,D=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],T=function(Xe,rt){var Ke=rt.prefixCls,ye=rt.accordion,ne=rt.collapsible,H=rt.destroyInactivePanel,R=rt.onItemClick,P=rt.activeKey,ae=rt.openMotion,Q=rt.expandIcon;return Xe.map(function(ie,me){var je=ie.children,Ee=ie.label,Me=ie.key,We=ie.collapsible,re=ie.onItemClick,se=ie.destroyInactivePanel,J=(0,M.Z)(ie,D),ce=String(Me!=null?Me:me),xe=We!=null?We:ne,ue=se!=null?se:H,Ne=function(Re){xe!=="disabled"&&(R(Re),re==null||re(Re))},Oe=!1;return ye?Oe=P[0]===ce:Oe=P.indexOf(ce)>-1,m.createElement(B,(0,g.Z)({},J,{prefixCls:Ke,key:ce,panelKey:ce,isActive:Oe,accordion:ye,openMotion:ae,expandIcon:Q,header:Ee,collapsible:xe,onItemClick:Ne,destroyInactivePanel:ue}),je)})},j=function(Xe,rt,Ke){if(!Xe)return null;var ye=Ke.prefixCls,ne=Ke.accordion,H=Ke.collapsible,R=Ke.destroyInactivePanel,P=Ke.onItemClick,ae=Ke.activeKey,Q=Ke.openMotion,ie=Ke.expandIcon,me=Xe.key||String(rt),je=Xe.props,Ee=je.header,Me=je.headerClass,We=je.destroyInactivePanel,re=je.collapsible,se=je.onItemClick,J=!1;ne?J=ae[0]===me:J=ae.indexOf(me)>-1;var ce=re!=null?re:H,xe=function(Oe){ce!=="disabled"&&(P(Oe),se==null||se(Oe))},ue={key:me,panelKey:me,header:Ee,headerClass:Me,isActive:J,prefixCls:ye,destroyInactivePanel:We!=null?We:R,openMotion:Q,accordion:ne,children:Xe.props.children,onItemClick:xe,expandIcon:ie,collapsible:ce};return typeof Xe.type=="string"?Xe:(Object.keys(ue).forEach(function(Ne){typeof ue[Ne]=="undefined"&&delete ue[Ne]}),m.cloneElement(Xe,ue))};function K(Ze,Xe,rt){return Array.isArray(Ze)?T(Ze,rt):(0,h.Z)(Xe).map(function(Ke,ye){return j(Ke,ye,rt)})}var k=K;function te(Ze){var Xe=Ze;if(!Array.isArray(Xe)){var rt=(0,d.Z)(Xe);Xe=rt==="number"||rt==="string"?[Xe]:[]}return Xe.map(function(Ke){return String(Ke)})}var Y=m.forwardRef(function(Ze,Xe){var rt=Ze.prefixCls,Ke=rt===void 0?"rc-collapse":rt,ye=Ze.destroyInactivePanel,ne=ye===void 0?!1:ye,H=Ze.style,R=Ze.accordion,P=Ze.className,ae=Ze.children,Q=Ze.collapsible,ie=Ze.openMotion,me=Ze.expandIcon,je=Ze.activeKey,Ee=Ze.defaultActiveKey,Me=Ze.onChange,We=Ze.items,re=o()(Ke,P),se=(0,l.Z)([],{value:je,onChange:function(we){return Me==null?void 0:Me(we)},defaultValue:Ee,postState:te}),J=(0,s.Z)(se,2),ce=J[0],xe=J[1],ue=function(we){return xe(function(){if(R)return ce[0]===we?[]:[we];var Re=ce.indexOf(we),st=Re>-1;return st?ce.filter(function(tt){return tt!==we}):[].concat((0,n.Z)(ce),[we])})};(0,c.ZP)(!ae,"`children` will be removed in next major version. Please use `items` instead.");var Ne=k(We,ae,{prefixCls:Ke,accordion:R,openMotion:ie,expandIcon:me,collapsible:Q,destroyInactivePanel:ne,onItemClick:ue,activeKey:ce});return m.createElement("div",{ref:Xe,className:re,style:H,role:R?"tablist":void 0},Ne)}),q=Object.assign(Y,{Panel:B}),le=q,X=q.Panel,W=e(98186),x=e(90881),O=e(37047),_=e(61836),U=e(58785),G=m.forwardRef((Ze,Xe)=>{const{getPrefixCls:rt}=m.useContext(_.E_),{prefixCls:Ke,className:ye,showArrow:ne=!0}=Ze,H=rt("collapse",Ke),R=o()({[`${H}-no-arrow`]:!ne},ye);return m.createElement(le.Panel,Object.assign({ref:Xe},Ze,{prefixCls:H,className:R}))}),de=e(78330),he=e(41086),ge=e(52628),be=e(22151);const Te=Ze=>{const{componentCls:Xe,collapseContentBg:rt,padding:Ke,collapseContentPaddingHorizontal:ye,collapseHeaderBg:ne,collapseHeaderPadding:H,collapseHeaderPaddingSM:R,collapseHeaderPaddingLG:P,collapsePanelBorderRadius:ae,lineWidth:Q,lineType:ie,colorBorder:me,colorText:je,colorTextHeading:Ee,colorTextDisabled:Me,fontSize:We,fontSizeLG:re,lineHeight:se,marginSM:J,paddingSM:ce,paddingLG:xe,paddingXS:ue,motionDurationSlow:Ne,fontSizeIcon:Oe}=Ze,we=`${Q}px ${ie} ${me}`;return{[Xe]:Object.assign(Object.assign({},(0,de.Wf)(Ze)),{backgroundColor:ne,border:we,borderBottom:0,borderRadius:`${ae}px`,["&-rtl"]:{direction:"rtl"},[`& > ${Xe}-item`]:{borderBottom:we,["&:last-child"]:{[` + `]:{[`&:hover ${l}-inner`]:{backgroundColor:d.colorPrimaryHover,borderColor:"transparent"}}},{[l]:{"&-indeterminate":{[`${l}-inner`]:{backgroundColor:d.colorBgContainer,borderColor:d.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:d.fontSizeLG/2,height:d.fontSizeLG/2,backgroundColor:d.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${c}-disabled`]:{cursor:"not-allowed"},[`${l}-disabled`]:{[`&, ${l}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${l}-inner`]:{background:d.colorBgContainerDisabled,borderColor:d.colorBorder,"&:after":{borderColor:d.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:d.colorTextDisabled},[`&${l}-indeterminate ${l}-inner::after`]:{background:d.colorTextDisabled}}}]};function n(d,l){const c=(0,t.TS)(l,{checkboxCls:`.${d}`,checkboxSize:l.controlInteractiveSize});return[s(c)]}y.ZP=(0,o.Z)("Checkbox",(d,l)=>{let{prefixCls:c}=l;return[n(c,d)]})},82968:function(b,y,e){"use strict";e.d(y,{Z:function(){return Wt}});var a=e(91169),t=e(87608),o=e.n(t),s=e(28314),n=e(29140),d=e(38790),l=e(60409),c=e(75556),m=e(58757),g=e(60698),M=e(47075),h=e(42156),S=e(37734),w=e(17598),C=e(29639),F=m.forwardRef(function($e,Xe){var nt,Ke=$e.prefixCls,ye=$e.forceRender,ne=$e.className,H=$e.style,R=$e.children,P=$e.isActive,ae=$e.role,Q=m.useState(P||ye),ie=(0,s.Z)(Q,2),me=ie[0],je=ie[1];return m.useEffect(function(){(ye||P)&&je(!0)},[ye,P]),me?m.createElement("div",{ref:Xe,className:o()("".concat(Ke,"-content"),(nt={},(0,S.Z)(nt,"".concat(Ke,"-content-active"),P),(0,S.Z)(nt,"".concat(Ke,"-content-inactive"),!P),nt),ne),style:H,role:ae},m.createElement("div",{className:"".concat(Ke,"-content-box")},R)):null});F.displayName="PanelContent";var Z=F,N=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],L=m.forwardRef(function($e,Xe){var nt,Ke,ye=$e.showArrow,ne=ye===void 0?!0:ye,H=$e.headerClass,R=$e.isActive,P=$e.onItemClick,ae=$e.forceRender,Q=$e.className,ie=$e.prefixCls,me=$e.collapsible,je=$e.accordion,Ee=$e.panelKey,Me=$e.extra,We=$e.header,re=$e.expandIcon,se=$e.openMotion,J=$e.destroyInactivePanel,de=$e.children,xe=(0,M.Z)($e,N),ce=me==="disabled",Le=me==="header",Oe=me==="icon",we=Me!=null&&typeof Me!="boolean",Ne=function(){P==null||P(Ee)},st=function(Ve){(Ve.key==="Enter"||Ve.keyCode===C.Z.ENTER||Ve.which===C.Z.ENTER)&&Ne()},et=typeof re=="function"?re($e):m.createElement("i",{className:"arrow"});et&&(et=m.createElement("div",{className:"".concat(ie,"-expand-icon"),onClick:["header","icon"].includes(me)?Ne:void 0},et));var Ye=o()((nt={},(0,S.Z)(nt,"".concat(ie,"-item"),!0),(0,S.Z)(nt,"".concat(ie,"-item-active"),R),(0,S.Z)(nt,"".concat(ie,"-item-disabled"),ce),nt),Q),ke=o()(H,(Ke={},(0,S.Z)(Ke,"".concat(ie,"-header"),!0),(0,S.Z)(Ke,"".concat(ie,"-header-collapsible-only"),Le),(0,S.Z)(Ke,"".concat(ie,"-icon-collapsible-only"),Oe),Ke)),Be={className:ke,"aria-expanded":R,"aria-disabled":ce,onKeyDown:st};return!Le&&!Oe&&(Be.onClick=Ne,Be.role=je?"tab":"button",Be.tabIndex=ce?-1:0),m.createElement("div",(0,g.Z)({},xe,{ref:Xe,className:Ye}),m.createElement("div",Be,ne&&et,m.createElement("span",{className:"".concat(ie,"-header-text"),onClick:me==="header"?Ne:void 0},We),we&&m.createElement("div",{className:"".concat(ie,"-extra")},Me)),m.createElement(w.ZP,(0,g.Z)({visible:R,leavedClassName:"".concat(ie,"-content-hidden")},se,{forceRender:ae,removeOnLeave:J}),function(it,Ve){var xt=it.className,Ht=it.style;return m.createElement(Z,{ref:Ve,prefixCls:ie,className:xt,style:Ht,isActive:R,forceRender:ae,role:je?"tabpanel":void 0},de)}))}),$=L,D=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],T=function(Xe,nt){var Ke=nt.prefixCls,ye=nt.accordion,ne=nt.collapsible,H=nt.destroyInactivePanel,R=nt.onItemClick,P=nt.activeKey,ae=nt.openMotion,Q=nt.expandIcon;return Xe.map(function(ie,me){var je=ie.children,Ee=ie.label,Me=ie.key,We=ie.collapsible,re=ie.onItemClick,se=ie.destroyInactivePanel,J=(0,M.Z)(ie,D),de=String(Me!=null?Me:me),xe=We!=null?We:ne,ce=se!=null?se:H,Le=function(Ne){xe!=="disabled"&&(R(Ne),re==null||re(Ne))},Oe=!1;return ye?Oe=P[0]===de:Oe=P.indexOf(de)>-1,m.createElement($,(0,g.Z)({},J,{prefixCls:Ke,key:de,panelKey:de,isActive:Oe,accordion:ye,openMotion:ae,expandIcon:Q,header:Ee,collapsible:xe,onItemClick:Le,destroyInactivePanel:ce}),je)})},j=function(Xe,nt,Ke){if(!Xe)return null;var ye=Ke.prefixCls,ne=Ke.accordion,H=Ke.collapsible,R=Ke.destroyInactivePanel,P=Ke.onItemClick,ae=Ke.activeKey,Q=Ke.openMotion,ie=Ke.expandIcon,me=Xe.key||String(nt),je=Xe.props,Ee=je.header,Me=je.headerClass,We=je.destroyInactivePanel,re=je.collapsible,se=je.onItemClick,J=!1;ne?J=ae[0]===me:J=ae.indexOf(me)>-1;var de=re!=null?re:H,xe=function(Oe){de!=="disabled"&&(P(Oe),se==null||se(Oe))},ce={key:me,panelKey:me,header:Ee,headerClass:Me,isActive:J,prefixCls:ye,destroyInactivePanel:We!=null?We:R,openMotion:Q,accordion:ne,children:Xe.props.children,onItemClick:xe,expandIcon:ie,collapsible:de};return typeof Xe.type=="string"?Xe:(Object.keys(ce).forEach(function(Le){typeof ce[Le]=="undefined"&&delete ce[Le]}),m.cloneElement(Xe,ce))};function K($e,Xe,nt){return Array.isArray($e)?T($e,nt):(0,h.Z)(Xe).map(function(Ke,ye){return j(Ke,ye,nt)})}var k=K;function te($e){var Xe=$e;if(!Array.isArray(Xe)){var nt=(0,d.Z)(Xe);Xe=nt==="number"||nt==="string"?[Xe]:[]}return Xe.map(function(Ke){return String(Ke)})}var V=m.forwardRef(function($e,Xe){var nt=$e.prefixCls,Ke=nt===void 0?"rc-collapse":nt,ye=$e.destroyInactivePanel,ne=ye===void 0?!1:ye,H=$e.style,R=$e.accordion,P=$e.className,ae=$e.children,Q=$e.collapsible,ie=$e.openMotion,me=$e.expandIcon,je=$e.activeKey,Ee=$e.defaultActiveKey,Me=$e.onChange,We=$e.items,re=o()(Ke,P),se=(0,l.Z)([],{value:je,onChange:function(we){return Me==null?void 0:Me(we)},defaultValue:Ee,postState:te}),J=(0,s.Z)(se,2),de=J[0],xe=J[1],ce=function(we){return xe(function(){if(R)return de[0]===we?[]:[we];var Ne=de.indexOf(we),st=Ne>-1;return st?de.filter(function(et){return et!==we}):[].concat((0,n.Z)(de),[we])})};(0,c.ZP)(!ae,"`children` will be removed in next major version. Please use `items` instead.");var Le=k(We,ae,{prefixCls:Ke,accordion:R,openMotion:ie,expandIcon:me,collapsible:Q,destroyInactivePanel:ne,onItemClick:ce,activeKey:de});return m.createElement("div",{ref:Xe,className:re,style:H,role:R?"tablist":void 0},Le)}),q=Object.assign(V,{Panel:$}),le=q,X=q.Panel,W=e(98186),x=e(90881),O=e(37047),_=e(61836),U=e(58785),G=m.forwardRef(($e,Xe)=>{const{getPrefixCls:nt}=m.useContext(_.E_),{prefixCls:Ke,className:ye,showArrow:ne=!0}=$e,H=nt("collapse",Ke),R=o()({[`${H}-no-arrow`]:!ne},ye);return m.createElement(le.Panel,Object.assign({ref:Xe},$e,{prefixCls:H,className:R}))}),fe=e(78330),pe=e(41086),ge=e(52628),be=e(22151);const Te=$e=>{const{componentCls:Xe,collapseContentBg:nt,padding:Ke,collapseContentPaddingHorizontal:ye,collapseHeaderBg:ne,collapseHeaderPadding:H,collapseHeaderPaddingSM:R,collapseHeaderPaddingLG:P,collapsePanelBorderRadius:ae,lineWidth:Q,lineType:ie,colorBorder:me,colorText:je,colorTextHeading:Ee,colorTextDisabled:Me,fontSize:We,fontSizeLG:re,lineHeight:se,marginSM:J,paddingSM:de,paddingLG:xe,paddingXS:ce,motionDurationSlow:Le,fontSizeIcon:Oe}=$e,we=`${Q}px ${ie} ${me}`;return{[Xe]:Object.assign(Object.assign({},(0,fe.Wf)($e)),{backgroundColor:ne,border:we,borderBottom:0,borderRadius:`${ae}px`,["&-rtl"]:{direction:"rtl"},[`& > ${Xe}-item`]:{borderBottom:we,["&:last-child"]:{[` &, - & > ${Xe}-header`]:{borderRadius:`0 0 ${ae}px ${ae}px`}},[`> ${Xe}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:H,paddingInlineStart:ce,color:Ee,lineHeight:se,cursor:"pointer",transition:`all ${Ne}, visibility 0s`,[`> ${Xe}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Xe}-expand-icon`]:{height:We*se,display:"flex",alignItems:"center",paddingInlineEnd:J,marginInlineStart:Ke-ce},[`${Xe}-arrow`]:Object.assign(Object.assign({},(0,de.Ro)()),{fontSize:Oe,svg:{transition:`transform ${Ne}`}}),[`${Xe}-header-text`]:{marginInlineEnd:"auto"}},[`${Xe}-header-collapsible-only`]:{cursor:"default",[`${Xe}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Xe}-icon-collapsible-only`]:{cursor:"default",[`${Xe}-expand-icon`]:{cursor:"pointer"}}},[`${Xe}-content`]:{color:je,backgroundColor:rt,borderTop:we,[`& > ${Xe}-content-box`]:{padding:`${Ke}px ${ye}px`},["&-hidden"]:{display:"none"}},["&-small"]:{[`> ${Xe}-item`]:{[`> ${Xe}-header`]:{padding:R,paddingInlineStart:ue,[`> ${Xe}-expand-icon`]:{marginInlineStart:ce-ue}},[`> ${Xe}-content > ${Xe}-content-box`]:{padding:ce}}},["&-large"]:{[`> ${Xe}-item`]:{fontSize:re,[`> ${Xe}-header`]:{padding:P,paddingInlineStart:Ke,[`> ${Xe}-expand-icon`]:{height:re*se,marginInlineStart:xe-Ke}},[`> ${Xe}-content > ${Xe}-content-box`]:{padding:xe}}},[`${Xe}-item:last-child`]:{[`> ${Xe}-content`]:{borderRadius:`0 0 ${ae}px ${ae}px`}},[`& ${Xe}-item-disabled > ${Xe}-header`]:{[` + & > ${Xe}-header`]:{borderRadius:`0 0 ${ae}px ${ae}px`}},[`> ${Xe}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:H,paddingInlineStart:de,color:Ee,lineHeight:se,cursor:"pointer",transition:`all ${Le}, visibility 0s`,[`> ${Xe}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Xe}-expand-icon`]:{height:We*se,display:"flex",alignItems:"center",paddingInlineEnd:J,marginInlineStart:Ke-de},[`${Xe}-arrow`]:Object.assign(Object.assign({},(0,fe.Ro)()),{fontSize:Oe,svg:{transition:`transform ${Le}`}}),[`${Xe}-header-text`]:{marginInlineEnd:"auto"}},[`${Xe}-header-collapsible-only`]:{cursor:"default",[`${Xe}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Xe}-icon-collapsible-only`]:{cursor:"default",[`${Xe}-expand-icon`]:{cursor:"pointer"}}},[`${Xe}-content`]:{color:je,backgroundColor:nt,borderTop:we,[`& > ${Xe}-content-box`]:{padding:`${Ke}px ${ye}px`},["&-hidden"]:{display:"none"}},["&-small"]:{[`> ${Xe}-item`]:{[`> ${Xe}-header`]:{padding:R,paddingInlineStart:ce,[`> ${Xe}-expand-icon`]:{marginInlineStart:de-ce}},[`> ${Xe}-content > ${Xe}-content-box`]:{padding:de}}},["&-large"]:{[`> ${Xe}-item`]:{fontSize:re,[`> ${Xe}-header`]:{padding:P,paddingInlineStart:Ke,[`> ${Xe}-expand-icon`]:{height:re*se,marginInlineStart:xe-Ke}},[`> ${Xe}-content > ${Xe}-content-box`]:{padding:xe}}},[`${Xe}-item:last-child`]:{[`> ${Xe}-content`]:{borderRadius:`0 0 ${ae}px ${ae}px`}},[`& ${Xe}-item-disabled > ${Xe}-header`]:{[` &, & > .arrow - `]:{color:Me,cursor:"not-allowed"}},[`&${Xe}-icon-position-end`]:{[`& > ${Xe}-item`]:{[`> ${Xe}-header`]:{[`${Xe}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:J}}}}})}},Ge=Ze=>{const{componentCls:Xe}=Ze,rt=`> ${Xe}-item > ${Xe}-header ${Xe}-arrow svg`;return{[`${Xe}-rtl`]:{[rt]:{transform:"rotate(180deg)"}}}},Je=Ze=>{const{componentCls:Xe,collapseHeaderBg:rt,paddingXXS:Ke,colorBorder:ye}=Ze;return{[`${Xe}-borderless`]:{backgroundColor:rt,border:0,[`> ${Xe}-item`]:{borderBottom:`1px solid ${ye}`},[` + `]:{color:Me,cursor:"not-allowed"}},[`&${Xe}-icon-position-end`]:{[`& > ${Xe}-item`]:{[`> ${Xe}-header`]:{[`${Xe}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:J}}}}})}},Ge=$e=>{const{componentCls:Xe}=$e,nt=`> ${Xe}-item > ${Xe}-header ${Xe}-arrow svg`;return{[`${Xe}-rtl`]:{[nt]:{transform:"rotate(180deg)"}}}},Je=$e=>{const{componentCls:Xe,collapseHeaderBg:nt,paddingXXS:Ke,colorBorder:ye}=$e;return{[`${Xe}-borderless`]:{backgroundColor:nt,border:0,[`> ${Xe}-item`]:{borderBottom:`1px solid ${ye}`},[` > ${Xe}-item:last-child, > ${Xe}-item:last-child ${Xe}-header - `]:{borderRadius:0},[`> ${Xe}-item:last-child`]:{borderBottom:0},[`> ${Xe}-item > ${Xe}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Xe}-item > ${Xe}-content > ${Xe}-content-box`]:{paddingTop:Ke}}}},Qe=Ze=>{const{componentCls:Xe,paddingSM:rt}=Ze;return{[`${Xe}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Xe}-item`]:{borderBottom:0,[`> ${Xe}-content`]:{backgroundColor:"transparent",border:0,[`> ${Xe}-content-box`]:{paddingBlock:rt}}}}}};var pt=(0,ge.Z)("Collapse",Ze=>{const Xe=(0,be.TS)(Ze,{collapseContentBg:Ze.colorBgContainer,collapseHeaderBg:Ze.colorFillAlter,collapseHeaderPadding:`${Ze.paddingSM}px ${Ze.padding}px`,collapseHeaderPaddingSM:`${Ze.paddingXS}px ${Ze.paddingSM}px`,collapseHeaderPaddingLG:`${Ze.padding}px ${Ze.paddingLG}px`,collapsePanelBorderRadius:Ze.borderRadiusLG,collapseContentPaddingHorizontal:16});return[Te(Xe),Je(Xe),Qe(Xe),Ge(Xe),(0,he.Z)(Xe)]}),ft=Object.assign(m.forwardRef((Ze,Xe)=>{const{getPrefixCls:rt,direction:Ke,collapse:ye}=m.useContext(_.E_),{prefixCls:ne,className:H,rootClassName:R,style:P,bordered:ae=!0,ghost:Q,size:ie,expandIconPosition:me="start",children:je,expandIcon:Ee}=Ze,Me=(0,U.Z)(we=>{var Re;return(Re=ie!=null?ie:we)!==null&&Re!==void 0?Re:"middle"}),We=rt("collapse",ne),re=rt(),[se,J]=pt(We),ce=m.useMemo(()=>me==="left"?"start":me==="right"?"end":me,[me]),xe=function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Re=Ee?Ee(we):m.createElement(a.Z,{rotate:we.isActive?90:void 0});return(0,O.Tm)(Re,()=>({className:o()(Re.props.className,`${We}-arrow`)}))},ue=o()(`${We}-icon-position-${ce}`,{[`${We}-borderless`]:!ae,[`${We}-rtl`]:Ke==="rtl",[`${We}-ghost`]:!!Q,[`${We}-${Me}`]:Me!=="middle"},ye==null?void 0:ye.className,H,R,J),Ne=Object.assign(Object.assign({},(0,x.Z)(re)),{motionAppear:!1,leavedClassName:`${We}-content-hidden`}),Oe=m.useMemo(()=>je?(0,h.Z)(je).map((we,Re)=>{var st,tt;if(!((st=we.props)===null||st===void 0)&&st.disabled){const Ye=(tt=we.key)!==null&&tt!==void 0?tt:String(Re),{disabled:ke,collapsible:Be}=we.props,it=Object.assign(Object.assign({},(0,W.Z)(we.props,["disabled"])),{key:Ye,collapsible:Be!=null?Be:ke?"disabled":void 0});return(0,O.Tm)(we,it)}return we}):null,[je]);return se(m.createElement(le,Object.assign({ref:Xe,openMotion:Ne},(0,W.Z)(Ze,["rootClassName"]),{expandIcon:xe,prefixCls:We,className:ue,style:Object.assign(Object.assign({},ye==null?void 0:ye.style),P)}),Oe))}),{Panel:G}),Ht=ft},92428:function(b,y,e){"use strict";e.d(y,{n:function(){return o}});var a=e(58757);const t=a.createContext(!1),o=s=>{let{children:n,disabled:d}=s;const l=a.useContext(t);return a.createElement(t.Provider,{value:d!=null?d:l},n)};y.Z=t},33446:function(b,y,e){"use strict";e.d(y,{q:function(){return o}});var a=e(58757);const t=a.createContext(void 0),o=s=>{let{children:n,size:d}=s;const l=a.useContext(t);return a.createElement(t.Provider,{value:d||l},n)};y.Z=t},61836:function(b,y,e){"use strict";e.d(y,{E_:function(){return s},oR:function(){return t}});var a=e(58757);const t="anticon",o=(d,l)=>l||(d?`ant-${d}`:"ant"),s=a.createContext({getPrefixCls:o,iconPrefixCls:t}),{Consumer:n}=s},10401:function(b,y,e){"use strict";var a=e(58757),t=e(61836),o=e(17444);const s=n=>{const{componentName:d}=n,{getPrefixCls:l}=(0,a.useContext)(t.E_),c=l("empty");switch(d){case"Table":case"List":return a.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return a.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,className:`${c}-small`});default:return a.createElement(o.Z,null)}};y.Z=s},58785:function(b,y,e){"use strict";var a=e(58757),t=e(33446);const o=s=>{const n=a.useContext(t.Z);return a.useMemo(()=>s?typeof s=="string"?s!=null?s:n:s instanceof Function?s(n):n:n,[s,n])};y.Z=o},42505:function(b,y,e){"use strict";e.d(y,{ZP:function(){return Ht},w6:function(){return pt}});var a=e(57793),t=e(71048),o=e(27903),s=e(16766),n=e(58757),d=e(48736),l=e(67228),c=e(10520);const m="internalMark";var M=Ze=>{const{locale:Xe={},children:rt,_ANT_MARK__:Ke}=Ze;n.useEffect(()=>(0,l.f)(Xe&&Xe.Modal),[Xe]);const ye=n.useMemo(()=>Object.assign(Object.assign({},Xe),{exist:!0}),[Xe]);return n.createElement(c.Z.Provider,{value:ye},rt)},h=e(80076),S=e(83631),w=e(28378),C=e(61836),z=e(26134),$=e(66671),N=e(19075),L=e(39678);const B=`-ant-${Date.now()}-${Math.random()}`;function D(Ze,Xe){const rt={},Ke=(H,R)=>{let P=H.clone();return P=(R==null?void 0:R(P))||P,P.toRgbString()},ye=(H,R)=>{const P=new $.C(H),ae=(0,z.generate)(P.toRgbString());rt[`${R}-color`]=Ke(P),rt[`${R}-color-disabled`]=ae[1],rt[`${R}-color-hover`]=ae[4],rt[`${R}-color-active`]=ae[6],rt[`${R}-color-outline`]=P.clone().setAlpha(.2).toRgbString(),rt[`${R}-color-deprecated-bg`]=ae[0],rt[`${R}-color-deprecated-border`]=ae[2]};if(Xe.primaryColor){ye(Xe.primaryColor,"primary");const H=new $.C(Xe.primaryColor),R=(0,z.generate)(H.toRgbString());R.forEach((ae,Q)=>{rt[`primary-${Q+1}`]=ae}),rt["primary-color-deprecated-l-35"]=Ke(H,ae=>ae.lighten(35)),rt["primary-color-deprecated-l-20"]=Ke(H,ae=>ae.lighten(20)),rt["primary-color-deprecated-t-20"]=Ke(H,ae=>ae.tint(20)),rt["primary-color-deprecated-t-50"]=Ke(H,ae=>ae.tint(50)),rt["primary-color-deprecated-f-12"]=Ke(H,ae=>ae.setAlpha(ae.getAlpha()*.12));const P=new $.C(R[0]);rt["primary-color-active-deprecated-f-30"]=Ke(P,ae=>ae.setAlpha(ae.getAlpha()*.3)),rt["primary-color-active-deprecated-d-02"]=Ke(P,ae=>ae.darken(2))}return Xe.successColor&&ye(Xe.successColor,"success"),Xe.warningColor&&ye(Xe.warningColor,"warning"),Xe.errorColor&&ye(Xe.errorColor,"error"),Xe.infoColor&&ye(Xe.infoColor,"info"),` + `]:{borderRadius:0},[`> ${Xe}-item:last-child`]:{borderBottom:0},[`> ${Xe}-item > ${Xe}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Xe}-item > ${Xe}-content > ${Xe}-content-box`]:{paddingTop:Ke}}}},Qe=$e=>{const{componentCls:Xe,paddingSM:nt}=$e;return{[`${Xe}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Xe}-item`]:{borderBottom:0,[`> ${Xe}-content`]:{backgroundColor:"transparent",border:0,[`> ${Xe}-content-box`]:{paddingBlock:nt}}}}}};var pt=(0,ge.Z)("Collapse",$e=>{const Xe=(0,be.TS)($e,{collapseContentBg:$e.colorBgContainer,collapseHeaderBg:$e.colorFillAlter,collapseHeaderPadding:`${$e.paddingSM}px ${$e.padding}px`,collapseHeaderPaddingSM:`${$e.paddingXS}px ${$e.paddingSM}px`,collapseHeaderPaddingLG:`${$e.padding}px ${$e.paddingLG}px`,collapsePanelBorderRadius:$e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[Te(Xe),Je(Xe),Qe(Xe),Ge(Xe),(0,pe.Z)(Xe)]}),ft=Object.assign(m.forwardRef(($e,Xe)=>{const{getPrefixCls:nt,direction:Ke,collapse:ye}=m.useContext(_.E_),{prefixCls:ne,className:H,rootClassName:R,style:P,bordered:ae=!0,ghost:Q,size:ie,expandIconPosition:me="start",children:je,expandIcon:Ee}=$e,Me=(0,U.Z)(we=>{var Ne;return(Ne=ie!=null?ie:we)!==null&&Ne!==void 0?Ne:"middle"}),We=nt("collapse",ne),re=nt(),[se,J]=pt(We),de=m.useMemo(()=>me==="left"?"start":me==="right"?"end":me,[me]),xe=function(){let we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ne=Ee?Ee(we):m.createElement(a.Z,{rotate:we.isActive?90:void 0});return(0,O.Tm)(Ne,()=>({className:o()(Ne.props.className,`${We}-arrow`)}))},ce=o()(`${We}-icon-position-${de}`,{[`${We}-borderless`]:!ae,[`${We}-rtl`]:Ke==="rtl",[`${We}-ghost`]:!!Q,[`${We}-${Me}`]:Me!=="middle"},ye==null?void 0:ye.className,H,R,J),Le=Object.assign(Object.assign({},(0,x.Z)(re)),{motionAppear:!1,leavedClassName:`${We}-content-hidden`}),Oe=m.useMemo(()=>je?(0,h.Z)(je).map((we,Ne)=>{var st,et;if(!((st=we.props)===null||st===void 0)&&st.disabled){const Ye=(et=we.key)!==null&&et!==void 0?et:String(Ne),{disabled:ke,collapsible:Be}=we.props,it=Object.assign(Object.assign({},(0,W.Z)(we.props,["disabled"])),{key:Ye,collapsible:Be!=null?Be:ke?"disabled":void 0});return(0,O.Tm)(we,it)}return we}):null,[je]);return se(m.createElement(le,Object.assign({ref:Xe,openMotion:Le},(0,W.Z)($e,["rootClassName"]),{expandIcon:xe,prefixCls:We,className:ce,style:Object.assign(Object.assign({},ye==null?void 0:ye.style),P)}),Oe))}),{Panel:G}),Wt=ft},92428:function(b,y,e){"use strict";e.d(y,{n:function(){return o}});var a=e(58757);const t=a.createContext(!1),o=s=>{let{children:n,disabled:d}=s;const l=a.useContext(t);return a.createElement(t.Provider,{value:d!=null?d:l},n)};y.Z=t},33446:function(b,y,e){"use strict";e.d(y,{q:function(){return o}});var a=e(58757);const t=a.createContext(void 0),o=s=>{let{children:n,size:d}=s;const l=a.useContext(t);return a.createElement(t.Provider,{value:d||l},n)};y.Z=t},61836:function(b,y,e){"use strict";e.d(y,{E_:function(){return s},oR:function(){return t}});var a=e(58757);const t="anticon",o=(d,l)=>l||(d?`ant-${d}`:"ant"),s=a.createContext({getPrefixCls:o,iconPrefixCls:t}),{Consumer:n}=s},10401:function(b,y,e){"use strict";var a=e(58757),t=e(61836),o=e(17444);const s=n=>{const{componentName:d}=n,{getPrefixCls:l}=(0,a.useContext)(t.E_),c=l("empty");switch(d){case"Table":case"List":return a.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return a.createElement(o.Z,{image:o.Z.PRESENTED_IMAGE_SIMPLE,className:`${c}-small`});default:return a.createElement(o.Z,null)}};y.Z=s},58785:function(b,y,e){"use strict";var a=e(58757),t=e(33446);const o=s=>{const n=a.useContext(t.Z);return a.useMemo(()=>s?typeof s=="string"?s!=null?s:n:s instanceof Function?s(n):n:n,[s,n])};y.Z=o},42505:function(b,y,e){"use strict";e.d(y,{ZP:function(){return Wt},w6:function(){return pt}});var a=e(57793),t=e(71048),o=e(27903),s=e(16766),n=e(58757),d=e(48736),l=e(67228),c=e(10520);const m="internalMark";var M=$e=>{const{locale:Xe={},children:nt,_ANT_MARK__:Ke}=$e;n.useEffect(()=>(0,l.f)(Xe&&Xe.Modal),[Xe]);const ye=n.useMemo(()=>Object.assign(Object.assign({},Xe),{exist:!0}),[Xe]);return n.createElement(c.Z.Provider,{value:ye},nt)},h=e(80076),S=e(83631),w=e(28378),C=e(61836),F=e(26134),Z=e(66671),N=e(19075),L=e(39678);const $=`-ant-${Date.now()}-${Math.random()}`;function D($e,Xe){const nt={},Ke=(H,R)=>{let P=H.clone();return P=(R==null?void 0:R(P))||P,P.toRgbString()},ye=(H,R)=>{const P=new Z.C(H),ae=(0,F.generate)(P.toRgbString());nt[`${R}-color`]=Ke(P),nt[`${R}-color-disabled`]=ae[1],nt[`${R}-color-hover`]=ae[4],nt[`${R}-color-active`]=ae[6],nt[`${R}-color-outline`]=P.clone().setAlpha(.2).toRgbString(),nt[`${R}-color-deprecated-bg`]=ae[0],nt[`${R}-color-deprecated-border`]=ae[2]};if(Xe.primaryColor){ye(Xe.primaryColor,"primary");const H=new Z.C(Xe.primaryColor),R=(0,F.generate)(H.toRgbString());R.forEach((ae,Q)=>{nt[`primary-${Q+1}`]=ae}),nt["primary-color-deprecated-l-35"]=Ke(H,ae=>ae.lighten(35)),nt["primary-color-deprecated-l-20"]=Ke(H,ae=>ae.lighten(20)),nt["primary-color-deprecated-t-20"]=Ke(H,ae=>ae.tint(20)),nt["primary-color-deprecated-t-50"]=Ke(H,ae=>ae.tint(50)),nt["primary-color-deprecated-f-12"]=Ke(H,ae=>ae.setAlpha(ae.getAlpha()*.12));const P=new Z.C(R[0]);nt["primary-color-active-deprecated-f-30"]=Ke(P,ae=>ae.setAlpha(ae.getAlpha()*.3)),nt["primary-color-active-deprecated-d-02"]=Ke(P,ae=>ae.darken(2))}return Xe.successColor&&ye(Xe.successColor,"success"),Xe.warningColor&&ye(Xe.warningColor,"warning"),Xe.errorColor&&ye(Xe.errorColor,"error"),Xe.infoColor&&ye(Xe.infoColor,"info"),` :root { - ${Object.keys(rt).map(H=>`--${Ze}-${H}: ${rt[H]};`).join(` + ${Object.keys(nt).map(H=>`--${$e}-${H}: ${nt[H]};`).join(` `)} } - `.trim()}function T(Ze,Xe){const rt=D(Ze,Xe);(0,N.Z)()&&(0,L.hq)(rt,`${B}-dynamic-theme`)}var j=e(92428),K=e(33446);function k(){const Ze=(0,n.useContext)(j.Z),Xe=(0,n.useContext)(K.Z);return{componentDisabled:Ze,componentSize:Xe}}var te=k,Y=e(7637);function q(Ze,Xe){const rt=Ze||{},Ke=rt.inherit===!1||!Xe?S.u_:Xe;return(0,o.Z)(()=>{if(!Ze)return Xe;const ye=Object.assign({},Ke.components);return Object.keys(Ze.components||{}).forEach(ne=>{ye[ne]=Object.assign(Object.assign({},ye[ne]),Ze.components[ne])}),Object.assign(Object.assign(Object.assign({},Ke),rt),{token:Object.assign(Object.assign({},Ke.token),rt.token),components:ye})},[rt,Ke],(ye,ne)=>ye.some((H,R)=>{const P=ne[R];return!(0,Y.Z)(H,P,!0)}))}var le=e(17598),X=e(51806);function W(Ze){const{children:Xe}=Ze,[,rt]=(0,X.Z)(),{motion:Ke}=rt,ye=n.useRef(!1);return ye.current=ye.current||Ke===!1,ye.current?n.createElement(le.zt,{motion:Ke},Xe):Xe}var x=e(60619),O=function(Ze,Xe){var rt={};for(var Ke in Ze)Object.prototype.hasOwnProperty.call(Ze,Ke)&&Xe.indexOf(Ke)<0&&(rt[Ke]=Ze[Ke]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ke=Object.getOwnPropertySymbols(Ze);yeXe.endsWith("Color"))}const Qe=Ze=>{let{prefixCls:Xe,iconPrefixCls:rt,theme:Ke}=Ze;Xe!==void 0&&(he=Xe),rt!==void 0&&(ge=rt),Ke&&(Je(Ke)?T(Te(),Ke):be=Ke)},pt=()=>({getPrefixCls:(Ze,Xe)=>Xe||(Ze?`${Te()}-${Ze}`:Te()),getIconPrefixCls:Ge,getRootPrefixCls:()=>he||Te(),getTheme:()=>be}),Ct=Ze=>{const{children:Xe,csp:rt,autoInsertSpaceInButton:Ke,alert:ye,anchor:ne,form:H,locale:R,componentSize:P,direction:ae,space:Q,virtual:ie,dropdownMatchSelectWidth:me,popupMatchSelectWidth:je,popupOverflow:Ee,legacyLocale:Me,parentContext:We,iconPrefixCls:re,theme:se,componentDisabled:J,segmented:ce,statistic:xe,spin:ue,calendar:Ne,carousel:Oe,cascader:we,collapse:Re,typography:st,checkbox:tt,descriptions:Ye,divider:ke,drawer:Be,skeleton:it,steps:Ve,image:It,layout:_t,list:wt,mentions:jt,modal:Yt,progress:yt,result:ze,slider:nt,breadcrumb:Et,menu:lt,pagination:Gt,input:Rt,empty:Ot,badge:Ie,radio:Se,rate:bt,switch:Pt,transfer:He,avatar:qe,message:Zt,tag:Ut,table:qt,card:ln,tabs:En,timeline:mn,timePicker:Yn,upload:Gn,notification:ir,tree:mr,colorPicker:Ft,datePicker:en,wave:rn}=Ze,fn=n.useCallback((ct,At)=>{const{prefixCls:xt}=Ze;if(At)return At;const kt=xt||We.getPrefixCls("");return ct?`${kt}-${ct}`:kt},[We.getPrefixCls,Ze.prefixCls]),In=re||We.iconPrefixCls||C.oR,on=In!==We.iconPrefixCls,mt=rt||We.csp,gt=(0,x.Z)(In,mt),sn=q(se,We.theme),Qt={csp:mt,autoInsertSpaceInButton:Ke,alert:ye,anchor:ne,locale:R||Me,direction:ae,space:Q,virtual:ie,popupMatchSelectWidth:je!=null?je:me,popupOverflow:Ee,getPrefixCls:fn,iconPrefixCls:In,theme:sn,segmented:ce,statistic:xe,spin:ue,calendar:Ne,carousel:Oe,cascader:we,collapse:Re,typography:st,checkbox:tt,descriptions:Ye,divider:ke,drawer:Be,skeleton:it,steps:Ve,image:It,input:Rt,layout:_t,list:wt,mentions:jt,modal:Yt,progress:yt,result:ze,slider:nt,breadcrumb:Et,menu:lt,pagination:Gt,empty:Ot,badge:Ie,radio:Se,rate:bt,switch:Pt,transfer:He,avatar:qe,message:Zt,tag:Ut,table:qt,card:ln,tabs:En,timeline:mn,timePicker:Yn,upload:Gn,notification:ir,tree:mr,colorPicker:Ft,datePicker:en,wave:rn},tn=Object.assign({},We);Object.keys(Qt).forEach(ct=>{Qt[ct]!==void 0&&(tn[ct]=Qt[ct])}),G.forEach(ct=>{const At=Ze[ct];At&&(tn[ct]=At)});const yn=(0,o.Z)(()=>tn,tn,(ct,At)=>{const xt=Object.keys(ct),kt=Object.keys(At);return xt.length!==kt.length||xt.some(un=>ct[un]!==At[un])}),vn=n.useMemo(()=>({prefixCls:In,csp:mt}),[In,mt]);let Wn=on?gt(Xe):Xe;const tr=n.useMemo(()=>{var ct,At,xt,kt;return(0,s.T)(((ct=h.Z.Form)===null||ct===void 0?void 0:ct.defaultValidateMessages)||{},((xt=(At=yn.locale)===null||At===void 0?void 0:At.Form)===null||xt===void 0?void 0:xt.defaultValidateMessages)||{},((kt=yn.form)===null||kt===void 0?void 0:kt.validateMessages)||{},(H==null?void 0:H.validateMessages)||{})},[yn,H==null?void 0:H.validateMessages]);Object.keys(tr).length>0&&(Wn=n.createElement(d.Z.Provider,{value:tr},Xe)),R&&(Wn=n.createElement(M,{locale:R,_ANT_MARK__:m},Wn)),(In||mt)&&(Wn=n.createElement(t.Z.Provider,{value:vn},Wn)),P&&(Wn=n.createElement(K.q,{size:P},Wn)),Wn=n.createElement(W,null,Wn);const ut=n.useMemo(()=>{const ct=sn||{},{algorithm:At,token:xt,components:kt}=ct,un=O(ct,["algorithm","token","components"]),nn=At&&(!Array.isArray(At)||At.length>0)?(0,a.jG)(At):S.uH,An={};return Object.entries(kt||{}).forEach(zn=>{let[Er,nr]=zn;const Fn=Object.assign({},nr);"algorithm"in Fn&&(Fn.algorithm===!0?Fn.theme=nn:(Array.isArray(Fn.algorithm)||typeof Fn.algorithm=="function")&&(Fn.theme=(0,a.jG)(Fn.algorithm)),delete Fn.algorithm),An[Er]=Fn}),Object.assign(Object.assign({},un),{theme:nn,token:Object.assign(Object.assign({},w.Z),xt),components:An})},[sn]);return se&&(Wn=n.createElement(S.Mj.Provider,{value:ut},Wn)),J!==void 0&&(Wn=n.createElement(j.n,{disabled:J},Wn)),n.createElement(C.E_.Provider,{value:yn},Wn)},ft=Ze=>{const Xe=n.useContext(C.E_),rt=n.useContext(c.Z);return n.createElement(Ct,Object.assign({parentContext:Xe,legacyLocale:rt},Ze))};ft.ConfigContext=C.E_,ft.SizeContext=K.Z,ft.config=Qe,ft.useConfig=te,Object.defineProperty(ft,"SizeContext",{get:()=>K.Z});var Ht=ft},7056:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},t=a,o=e(38107),n={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},t),timePickerLocale:Object.assign({},o.Z)}},51244:function(b,y,e){"use strict";e.d(y,{Z:function(){return h}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(78330),d=e(52628),l=e(22151);const c=S=>{const{componentCls:w,sizePaddingEdgeHorizontal:C,colorSplit:z,lineWidth:$}=S;return{[w]:Object.assign(Object.assign({},(0,n.Wf)(S)),{borderBlockStart:`${$}px solid ${z}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${S.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${$}px solid ${z}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${S.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${w}-with-text`]:{display:"flex",alignItems:"center",margin:`${S.dividerHorizontalWithTextGutterMargin}px 0`,color:S.colorTextHeading,fontWeight:500,fontSize:S.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${z}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${$}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${w}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${w}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${w}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:z,borderStyle:"dashed",borderWidth:`${$}px 0 0`},[`&-horizontal${w}-with-text${w}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${w}-dashed`]:{borderInlineStartWidth:$,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${w}-with-text`]:{color:S.colorText,fontWeight:"normal",fontSize:S.fontSize},[`&-horizontal${w}-with-text-left${w}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${w}-inner-text`]:{paddingInlineStart:C}},[`&-horizontal${w}-with-text-right${w}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${w}-inner-text`]:{paddingInlineEnd:C}}})}};var m=(0,d.Z)("Divider",S=>{const w=(0,l.TS)(S,{dividerVerticalGutterMargin:S.marginXS,dividerHorizontalWithTextGutterMargin:S.margin,dividerHorizontalGutterMargin:S.marginLG});return[c(w)]},{sizePaddingEdgeHorizontal:0}),g=function(S,w){var C={};for(var z in S)Object.prototype.hasOwnProperty.call(S,z)&&w.indexOf(z)<0&&(C[z]=S[z]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,z=Object.getOwnPropertySymbols(S);${const{getPrefixCls:w,direction:C,divider:z}=o.useContext(s.E_),{prefixCls:$,type:N="horizontal",orientation:L="center",orientationMargin:B,className:D,rootClassName:T,children:j,dashed:K,plain:k,style:te}=S,Y=g(S,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),q=w("divider",$),[le,X]=m(q),W=L.length>0?`-${L}`:L,x=!!j,O=L==="left"&&B!=null,_=L==="right"&&B!=null,U=t()(q,z==null?void 0:z.className,X,`${q}-${N}`,{[`${q}-with-text`]:x,[`${q}-with-text${W}`]:x,[`${q}-dashed`]:!!K,[`${q}-plain`]:!!k,[`${q}-rtl`]:C==="rtl",[`${q}-no-default-orientation-margin-left`]:O,[`${q}-no-default-orientation-margin-right`]:_},D,T),A=o.useMemo(()=>typeof B=="number"?B:/^\d+$/.test(B)?Number(B):B,[B]),G=Object.assign(Object.assign({},O&&{marginLeft:A}),_&&{marginRight:A});return le(o.createElement("div",Object.assign({className:U,style:Object.assign(Object.assign({},z==null?void 0:z.style),te)},Y,{role:"separator"}),j&&N!=="vertical"&&o.createElement("span",{className:`${q}-inner-text`,style:G},j)))}},40627:function(b,y,e){"use strict";var a=e(91169),t=e(87608),o=e.n(t),s=e(4933),n=e(51729),d=e(60409),l=e(98186),c=e(58757),m=e(15018),g=e(95446),M=e(37047),h=e(61836),S=e(85706),w=e(81285),C=e(22802),z=e(78607);const $=null,N=T=>{const{menu:j,arrow:K,prefixCls:k,children:te,trigger:Y,disabled:q,dropdownRender:le,getPopupContainer:X,overlayClassName:W,rootClassName:x,open:O,onOpenChange:_,visible:U,onVisibleChange:A,mouseEnterDelay:G=.15,mouseLeaveDelay:de=.1,autoAdjustOverflow:he=!0,placement:ge="",overlay:be,transitionName:Te}=T,{getPopupContainer:Ge,getPrefixCls:Je,direction:Qe}=c.useContext(h.E_),pt=c.useMemo(()=>{const je=Je();return Te!==void 0?Te:ge.includes("top")?`${je}-slide-down`:`${je}-slide-up`},[Je,ge,Te]),Ct=c.useMemo(()=>ge?ge.includes("Center")?ge.slice(0,ge.indexOf("Center")):ge:Qe==="rtl"?"bottomRight":"bottomLeft",[ge,Qe]),ft=Je("dropdown",k),[Ht,Ze]=(0,z.Z)(ft),{token:Xe}=C.Z.useToken(),rt=c.Children.only(te),Ke=(0,M.Tm)(rt,{className:o()(`${ft}-trigger`,{[`${ft}-rtl`]:Qe==="rtl"},rt.props.className),disabled:q}),ye=q?[]:Y;let ne;ye&&ye.includes("contextMenu")&&(ne=!0);const[H,R]=(0,d.Z)(!1,{value:O!=null?O:U}),P=(0,n.Z)(je=>{_==null||_(je),A==null||A(je),R(je)}),ae=o()(W,x,Ze,{[`${ft}-rtl`]:Qe==="rtl"}),Q=(0,g.Z)({arrowPointAtCenter:typeof K=="object"&&K.pointAtCenter,autoAdjustOverflow:he,offset:Xe.marginXXS,arrowWidth:K?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius}),ie=c.useCallback(()=>{R(!1)},[]),me=()=>{let je;return j!=null&&j.items?je=c.createElement(S.Z,Object.assign({},j)):typeof be=="function"?je=be():je=be,le&&(je=le(je)),je=c.Children.only(typeof je=="string"?c.createElement("span",null,je):je),c.createElement(w.J,{prefixCls:`${ft}-menu`,expandIcon:c.createElement("span",{className:`${ft}-menu-submenu-arrow`},c.createElement(a.Z,{className:`${ft}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ie,validator:Ee=>{let{mode:Me}=Ee}},je)};return Ht(c.createElement(s.Z,Object.assign({alignPoint:ne},(0,l.Z)(T,["rootClassName"]),{mouseEnterDelay:G,mouseLeaveDelay:de,visible:H,builtinPlacements:Q,arrow:!!K,overlayClassName:ae,prefixCls:ft,getPopupContainer:X||Ge,transitionName:pt,trigger:ye,overlay:me,placement:Ct,onVisibleChange:P}),Ke))};function L(T){return Object.assign(Object.assign({},T),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const B=(0,m.Z)(N,"dropdown",T=>T,L),D=T=>c.createElement(B,Object.assign({},T),c.createElement("span",null));N._InternalPanelDoNotUseOrYouWillBeFired=D,y.Z=N},73267:function(b,y,e){"use strict";e.d(y,{Z:function(){return C}});var a=e(40627),t=e(87608),o=e.n(t),s=e(58757),n=e(18974),d=e(12562),l=e(61836),c=e(57414),m=e(43528),g=e(78607),M=function(z,$){var N={};for(var L in z)Object.prototype.hasOwnProperty.call(z,L)&&$.indexOf(L)<0&&(N[L]=z[L]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,L=Object.getOwnPropertySymbols(z);B{const{getPopupContainer:$,getPrefixCls:N,direction:L}=s.useContext(l.E_),{prefixCls:B,type:D="default",danger:T,disabled:j,loading:K,onClick:k,htmlType:te,children:Y,className:q,menu:le,arrow:X,autoFocus:W,overlay:x,trigger:O,align:_,open:U,onOpenChange:A,placement:G,getPopupContainer:de,href:he,icon:ge=s.createElement(n.Z,null),title:be,buttonsRender:Te=me=>me,mouseEnterDelay:Ge,mouseLeaveDelay:Je,overlayClassName:Qe,overlayStyle:pt,destroyPopupOnHide:Ct,dropdownRender:ft}=z,Ht=M(z,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Ze=N("dropdown",B),Xe=`${Ze}-button`,[rt,Ke]=(0,g.Z)(Ze),ye={menu:le,arrow:X,autoFocus:W,align:_,disabled:j,trigger:j?[]:O,onOpenChange:A,getPopupContainer:de||$,mouseEnterDelay:Ge,mouseLeaveDelay:Je,overlayClassName:Qe,overlayStyle:pt,destroyPopupOnHide:Ct,dropdownRender:ft},{compactSize:ne,compactItemClassnames:H}=(0,m.ri)(Ze,L),R=o()(Xe,H,q,Ke);"overlay"in z&&(ye.overlay=x),"open"in z&&(ye.open=U),"placement"in z?ye.placement=G:ye.placement=L==="rtl"?"bottomLeft":"bottomRight";const P=s.createElement(d.ZP,{type:D,danger:T,disabled:j,loading:K,onClick:k,htmlType:te,href:he,title:be},Y),ae=s.createElement(d.ZP,{type:D,danger:T,icon:ge}),[Q,ie]=Te([P,ae]);return rt(s.createElement(c.Z.Compact,Object.assign({className:R,size:ne,block:!0},Ht),Q,s.createElement(a.Z,Object.assign({},ye),ie)))};h.__ANT_BUTTON=!0;var S=h;const w=a.Z;w.Button=S;var C=w},78607:function(b,y,e){"use strict";e.d(y,{Z:function(){return M}});var a=e(78330),t=e(1016),o=e(1546),s=e(28107),n=e(24542),d=e(52628),l=e(22151),m=h=>{const{componentCls:S,menuCls:w,colorError:C,colorTextLightSolid:z}=h,$=`${w}-item`;return{[`${S}, ${S}-menu-submenu`]:{[`${w} ${$}`]:{[`&${$}-danger:not(${$}-disabled)`]:{color:C,"&:hover":{color:z,backgroundColor:C}}}}}};const g=h=>{const{componentCls:S,menuCls:w,zIndexPopup:C,dropdownArrowDistance:z,sizePopupArrow:$,antCls:N,iconCls:L,motionDurationMid:B,dropdownPaddingVertical:D,fontSize:T,dropdownEdgeChildPadding:j,colorTextDisabled:K,fontSizeIcon:k,controlPaddingHorizontal:te,colorBgElevated:Y}=h;return[{[S]:Object.assign(Object.assign({},(0,a.Wf)(h)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:C,display:"block","&::before":{position:"absolute",insetBlock:-z+$/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${N}-btn`]:{[`& > ${L}-down, & > ${N}-btn-icon > ${L}-down`]:{fontSize:k}},[`${S}-wrap`]:{position:"relative",[`${N}-btn > ${L}-down`]:{fontSize:k},[`${L}-down::before`]:{transition:`transform ${B}`}},[`${S}-wrap-open`]:{[`${L}-down::before`]:{transform:"rotate(180deg)"}},[` + `.trim()}function T($e,Xe){const nt=D($e,Xe);(0,N.Z)()&&(0,L.hq)(nt,`${$}-dynamic-theme`)}var j=e(92428),K=e(33446);function k(){const $e=(0,n.useContext)(j.Z),Xe=(0,n.useContext)(K.Z);return{componentDisabled:$e,componentSize:Xe}}var te=k,V=e(7637);function q($e,Xe){const nt=$e||{},Ke=nt.inherit===!1||!Xe?S.u_:Xe;return(0,o.Z)(()=>{if(!$e)return Xe;const ye=Object.assign({},Ke.components);return Object.keys($e.components||{}).forEach(ne=>{ye[ne]=Object.assign(Object.assign({},ye[ne]),$e.components[ne])}),Object.assign(Object.assign(Object.assign({},Ke),nt),{token:Object.assign(Object.assign({},Ke.token),nt.token),components:ye})},[nt,Ke],(ye,ne)=>ye.some((H,R)=>{const P=ne[R];return!(0,V.Z)(H,P,!0)}))}var le=e(17598),X=e(51806);function W($e){const{children:Xe}=$e,[,nt]=(0,X.Z)(),{motion:Ke}=nt,ye=n.useRef(!1);return ye.current=ye.current||Ke===!1,ye.current?n.createElement(le.zt,{motion:Ke},Xe):Xe}var x=e(60619),O=function($e,Xe){var nt={};for(var Ke in $e)Object.prototype.hasOwnProperty.call($e,Ke)&&Xe.indexOf(Ke)<0&&(nt[Ke]=$e[Ke]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ke=Object.getOwnPropertySymbols($e);yeXe.endsWith("Color"))}const Qe=$e=>{let{prefixCls:Xe,iconPrefixCls:nt,theme:Ke}=$e;Xe!==void 0&&(pe=Xe),nt!==void 0&&(ge=nt),Ke&&(Je(Ke)?T(Te(),Ke):be=Ke)},pt=()=>({getPrefixCls:($e,Xe)=>Xe||($e?`${Te()}-${$e}`:Te()),getIconPrefixCls:Ge,getRootPrefixCls:()=>pe||Te(),getTheme:()=>be}),Et=$e=>{const{children:Xe,csp:nt,autoInsertSpaceInButton:Ke,alert:ye,anchor:ne,form:H,locale:R,componentSize:P,direction:ae,space:Q,virtual:ie,dropdownMatchSelectWidth:me,popupMatchSelectWidth:je,popupOverflow:Ee,legacyLocale:Me,parentContext:We,iconPrefixCls:re,theme:se,componentDisabled:J,segmented:de,statistic:xe,spin:ce,calendar:Le,carousel:Oe,cascader:we,collapse:Ne,typography:st,checkbox:et,descriptions:Ye,divider:ke,drawer:Be,skeleton:it,steps:Ve,image:xt,layout:Ht,list:Ot,mentions:wt,modal:_t,progress:yt,result:ze,slider:tt,breadcrumb:St,menu:lt,pagination:Gt,input:Nt,empty:At,badge:Ie,radio:Se,rate:bt,switch:jt,transfer:He,avatar:qe,message:$t,tag:Zt,table:qt,card:un,tabs:xn,timeline:pn,timePicker:Gn,upload:Qn,notification:ur,tree:br,colorPicker:zt,datePicker:en,wave:an}=$e,vn=n.useCallback((ct,It)=>{const{prefixCls:Ct}=$e;if(It)return It;const Ut=Ct||We.getPrefixCls("");return ct?`${Ut}-${ct}`:Ut},[We.getPrefixCls,$e.prefixCls]),An=re||We.iconPrefixCls||C.oR,sn=An!==We.iconPrefixCls,mt=nt||We.csp,gt=(0,x.Z)(An,mt),ln=q(se,We.theme),Qt={csp:mt,autoInsertSpaceInButton:Ke,alert:ye,anchor:ne,locale:R||Me,direction:ae,space:Q,virtual:ie,popupMatchSelectWidth:je!=null?je:me,popupOverflow:Ee,getPrefixCls:vn,iconPrefixCls:An,theme:ln,segmented:de,statistic:xe,spin:ce,calendar:Le,carousel:Oe,cascader:we,collapse:Ne,typography:st,checkbox:et,descriptions:Ye,divider:ke,drawer:Be,skeleton:it,steps:Ve,image:xt,input:Nt,layout:Ht,list:Ot,mentions:wt,modal:_t,progress:yt,result:ze,slider:tt,breadcrumb:St,menu:lt,pagination:Gt,empty:At,badge:Ie,radio:Se,rate:bt,switch:jt,transfer:He,avatar:qe,message:$t,tag:Zt,table:qt,card:un,tabs:xn,timeline:pn,timePicker:Gn,upload:Qn,notification:ur,tree:br,colorPicker:zt,datePicker:en,wave:an},tn=Object.assign({},We);Object.keys(Qt).forEach(ct=>{Qt[ct]!==void 0&&(tn[ct]=Qt[ct])}),G.forEach(ct=>{const It=$e[ct];It&&(tn[ct]=It)});const yn=(0,o.Z)(()=>tn,tn,(ct,It)=>{const Ct=Object.keys(ct),Ut=Object.keys(It);return Ct.length!==Ut.length||Ct.some(cn=>ct[cn]!==It[cn])}),gn=n.useMemo(()=>({prefixCls:An,csp:mt}),[An,mt]);let _n=sn?gt(Xe):Xe;const nr=n.useMemo(()=>{var ct,It,Ct,Ut;return(0,s.T)(((ct=h.Z.Form)===null||ct===void 0?void 0:ct.defaultValidateMessages)||{},((Ct=(It=yn.locale)===null||It===void 0?void 0:It.Form)===null||Ct===void 0?void 0:Ct.defaultValidateMessages)||{},((Ut=yn.form)===null||Ut===void 0?void 0:Ut.validateMessages)||{},(H==null?void 0:H.validateMessages)||{})},[yn,H==null?void 0:H.validateMessages]);Object.keys(nr).length>0&&(_n=n.createElement(d.Z.Provider,{value:nr},Xe)),R&&(_n=n.createElement(M,{locale:R,_ANT_MARK__:m},_n)),(An||mt)&&(_n=n.createElement(t.Z.Provider,{value:gn},_n)),P&&(_n=n.createElement(K.q,{size:P},_n)),_n=n.createElement(W,null,_n);const ut=n.useMemo(()=>{const ct=ln||{},{algorithm:It,token:Ct,components:Ut}=ct,cn=O(ct,["algorithm","token","components"]),rn=It&&(!Array.isArray(It)||It.length>0)?(0,a.jG)(It):S.uH,Dn={};return Object.entries(Ut||{}).forEach(Bn=>{let[Cr,rr]=Bn;const $n=Object.assign({},rr);"algorithm"in $n&&($n.algorithm===!0?$n.theme=rn:(Array.isArray($n.algorithm)||typeof $n.algorithm=="function")&&($n.theme=(0,a.jG)($n.algorithm)),delete $n.algorithm),Dn[Cr]=$n}),Object.assign(Object.assign({},cn),{theme:rn,token:Object.assign(Object.assign({},w.Z),Ct),components:Dn})},[ln]);return se&&(_n=n.createElement(S.Mj.Provider,{value:ut},_n)),J!==void 0&&(_n=n.createElement(j.n,{disabled:J},_n)),n.createElement(C.E_.Provider,{value:yn},_n)},ft=$e=>{const Xe=n.useContext(C.E_),nt=n.useContext(c.Z);return n.createElement(Et,Object.assign({parentContext:Xe,legacyLocale:nt},$e))};ft.ConfigContext=C.E_,ft.SizeContext=K.Z,ft.config=Qe,ft.useConfig=te,Object.defineProperty(ft,"SizeContext",{get:()=>K.Z});var Wt=ft},7056:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},t=a,o=e(38107),n={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},t),timePickerLocale:Object.assign({},o.Z)}},51244:function(b,y,e){"use strict";e.d(y,{Z:function(){return h}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(78330),d=e(52628),l=e(22151);const c=S=>{const{componentCls:w,sizePaddingEdgeHorizontal:C,colorSplit:F,lineWidth:Z}=S;return{[w]:Object.assign(Object.assign({},(0,n.Wf)(S)),{borderBlockStart:`${Z}px solid ${F}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${S.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Z}px solid ${F}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${S.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${w}-with-text`]:{display:"flex",alignItems:"center",margin:`${S.dividerHorizontalWithTextGutterMargin}px 0`,color:S.colorTextHeading,fontWeight:500,fontSize:S.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${F}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Z}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${w}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${w}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${w}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:F,borderStyle:"dashed",borderWidth:`${Z}px 0 0`},[`&-horizontal${w}-with-text${w}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${w}-dashed`]:{borderInlineStartWidth:Z,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${w}-with-text`]:{color:S.colorText,fontWeight:"normal",fontSize:S.fontSize},[`&-horizontal${w}-with-text-left${w}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${w}-inner-text`]:{paddingInlineStart:C}},[`&-horizontal${w}-with-text-right${w}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${w}-inner-text`]:{paddingInlineEnd:C}}})}};var m=(0,d.Z)("Divider",S=>{const w=(0,l.TS)(S,{dividerVerticalGutterMargin:S.marginXS,dividerHorizontalWithTextGutterMargin:S.margin,dividerHorizontalGutterMargin:S.marginLG});return[c(w)]},{sizePaddingEdgeHorizontal:0}),g=function(S,w){var C={};for(var F in S)Object.prototype.hasOwnProperty.call(S,F)&&w.indexOf(F)<0&&(C[F]=S[F]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,F=Object.getOwnPropertySymbols(S);Z{const{getPrefixCls:w,direction:C,divider:F}=o.useContext(s.E_),{prefixCls:Z,type:N="horizontal",orientation:L="center",orientationMargin:$,className:D,rootClassName:T,children:j,dashed:K,plain:k,style:te}=S,V=g(S,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),q=w("divider",Z),[le,X]=m(q),W=L.length>0?`-${L}`:L,x=!!j,O=L==="left"&&$!=null,_=L==="right"&&$!=null,U=t()(q,F==null?void 0:F.className,X,`${q}-${N}`,{[`${q}-with-text`]:x,[`${q}-with-text${W}`]:x,[`${q}-dashed`]:!!K,[`${q}-plain`]:!!k,[`${q}-rtl`]:C==="rtl",[`${q}-no-default-orientation-margin-left`]:O,[`${q}-no-default-orientation-margin-right`]:_},D,T),A=o.useMemo(()=>typeof $=="number"?$:/^\d+$/.test($)?Number($):$,[$]),G=Object.assign(Object.assign({},O&&{marginLeft:A}),_&&{marginRight:A});return le(o.createElement("div",Object.assign({className:U,style:Object.assign(Object.assign({},F==null?void 0:F.style),te)},V,{role:"separator"}),j&&N!=="vertical"&&o.createElement("span",{className:`${q}-inner-text`,style:G},j)))}},40627:function(b,y,e){"use strict";var a=e(91169),t=e(87608),o=e.n(t),s=e(4933),n=e(51729),d=e(60409),l=e(98186),c=e(58757),m=e(15018),g=e(95446),M=e(37047),h=e(61836),S=e(85706),w=e(81285),C=e(22802),F=e(78607);const Z=null,N=T=>{const{menu:j,arrow:K,prefixCls:k,children:te,trigger:V,disabled:q,dropdownRender:le,getPopupContainer:X,overlayClassName:W,rootClassName:x,open:O,onOpenChange:_,visible:U,onVisibleChange:A,mouseEnterDelay:G=.15,mouseLeaveDelay:fe=.1,autoAdjustOverflow:pe=!0,placement:ge="",overlay:be,transitionName:Te}=T,{getPopupContainer:Ge,getPrefixCls:Je,direction:Qe}=c.useContext(h.E_),pt=c.useMemo(()=>{const je=Je();return Te!==void 0?Te:ge.includes("top")?`${je}-slide-down`:`${je}-slide-up`},[Je,ge,Te]),Et=c.useMemo(()=>ge?ge.includes("Center")?ge.slice(0,ge.indexOf("Center")):ge:Qe==="rtl"?"bottomRight":"bottomLeft",[ge,Qe]),ft=Je("dropdown",k),[Wt,$e]=(0,F.Z)(ft),{token:Xe}=C.Z.useToken(),nt=c.Children.only(te),Ke=(0,M.Tm)(nt,{className:o()(`${ft}-trigger`,{[`${ft}-rtl`]:Qe==="rtl"},nt.props.className),disabled:q}),ye=q?[]:V;let ne;ye&&ye.includes("contextMenu")&&(ne=!0);const[H,R]=(0,d.Z)(!1,{value:O!=null?O:U}),P=(0,n.Z)(je=>{_==null||_(je),A==null||A(je),R(je)}),ae=o()(W,x,$e,{[`${ft}-rtl`]:Qe==="rtl"}),Q=(0,g.Z)({arrowPointAtCenter:typeof K=="object"&&K.pointAtCenter,autoAdjustOverflow:pe,offset:Xe.marginXXS,arrowWidth:K?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius}),ie=c.useCallback(()=>{R(!1)},[]),me=()=>{let je;return j!=null&&j.items?je=c.createElement(S.Z,Object.assign({},j)):typeof be=="function"?je=be():je=be,le&&(je=le(je)),je=c.Children.only(typeof je=="string"?c.createElement("span",null,je):je),c.createElement(w.J,{prefixCls:`${ft}-menu`,expandIcon:c.createElement("span",{className:`${ft}-menu-submenu-arrow`},c.createElement(a.Z,{className:`${ft}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ie,validator:Ee=>{let{mode:Me}=Ee}},je)};return Wt(c.createElement(s.Z,Object.assign({alignPoint:ne},(0,l.Z)(T,["rootClassName"]),{mouseEnterDelay:G,mouseLeaveDelay:fe,visible:H,builtinPlacements:Q,arrow:!!K,overlayClassName:ae,prefixCls:ft,getPopupContainer:X||Ge,transitionName:pt,trigger:ye,overlay:me,placement:Et,onVisibleChange:P}),Ke))};function L(T){return Object.assign(Object.assign({},T),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const $=(0,m.Z)(N,"dropdown",T=>T,L),D=T=>c.createElement($,Object.assign({},T),c.createElement("span",null));N._InternalPanelDoNotUseOrYouWillBeFired=D,y.Z=N},73267:function(b,y,e){"use strict";e.d(y,{Z:function(){return C}});var a=e(40627),t=e(87608),o=e.n(t),s=e(58757),n=e(18974),d=e(12562),l=e(61836),c=e(57414),m=e(43528),g=e(78607),M=function(F,Z){var N={};for(var L in F)Object.prototype.hasOwnProperty.call(F,L)&&Z.indexOf(L)<0&&(N[L]=F[L]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,L=Object.getOwnPropertySymbols(F);${const{getPopupContainer:Z,getPrefixCls:N,direction:L}=s.useContext(l.E_),{prefixCls:$,type:D="default",danger:T,disabled:j,loading:K,onClick:k,htmlType:te,children:V,className:q,menu:le,arrow:X,autoFocus:W,overlay:x,trigger:O,align:_,open:U,onOpenChange:A,placement:G,getPopupContainer:fe,href:pe,icon:ge=s.createElement(n.Z,null),title:be,buttonsRender:Te=me=>me,mouseEnterDelay:Ge,mouseLeaveDelay:Je,overlayClassName:Qe,overlayStyle:pt,destroyPopupOnHide:Et,dropdownRender:ft}=F,Wt=M(F,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),$e=N("dropdown",$),Xe=`${$e}-button`,[nt,Ke]=(0,g.Z)($e),ye={menu:le,arrow:X,autoFocus:W,align:_,disabled:j,trigger:j?[]:O,onOpenChange:A,getPopupContainer:fe||Z,mouseEnterDelay:Ge,mouseLeaveDelay:Je,overlayClassName:Qe,overlayStyle:pt,destroyPopupOnHide:Et,dropdownRender:ft},{compactSize:ne,compactItemClassnames:H}=(0,m.ri)($e,L),R=o()(Xe,H,q,Ke);"overlay"in F&&(ye.overlay=x),"open"in F&&(ye.open=U),"placement"in F?ye.placement=G:ye.placement=L==="rtl"?"bottomLeft":"bottomRight";const P=s.createElement(d.ZP,{type:D,danger:T,disabled:j,loading:K,onClick:k,htmlType:te,href:pe,title:be},V),ae=s.createElement(d.ZP,{type:D,danger:T,icon:ge}),[Q,ie]=Te([P,ae]);return nt(s.createElement(c.Z.Compact,Object.assign({className:R,size:ne,block:!0},Wt),Q,s.createElement(a.Z,Object.assign({},ye),ie)))};h.__ANT_BUTTON=!0;var S=h;const w=a.Z;w.Button=S;var C=w},78607:function(b,y,e){"use strict";e.d(y,{Z:function(){return M}});var a=e(78330),t=e(1016),o=e(1546),s=e(28107),n=e(24542),d=e(52628),l=e(22151),m=h=>{const{componentCls:S,menuCls:w,colorError:C,colorTextLightSolid:F}=h,Z=`${w}-item`;return{[`${S}, ${S}-menu-submenu`]:{[`${w} ${Z}`]:{[`&${Z}-danger:not(${Z}-disabled)`]:{color:C,"&:hover":{color:F,backgroundColor:C}}}}}};const g=h=>{const{componentCls:S,menuCls:w,zIndexPopup:C,dropdownArrowDistance:F,sizePopupArrow:Z,antCls:N,iconCls:L,motionDurationMid:$,dropdownPaddingVertical:D,fontSize:T,dropdownEdgeChildPadding:j,colorTextDisabled:K,fontSizeIcon:k,controlPaddingHorizontal:te,colorBgElevated:V}=h;return[{[S]:Object.assign(Object.assign({},(0,a.Wf)(h)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:C,display:"block","&::before":{position:"absolute",insetBlock:-F+Z/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${N}-btn`]:{[`& > ${L}-down, & > ${N}-btn-icon > ${L}-down`]:{fontSize:k}},[`${S}-wrap`]:{position:"relative",[`${N}-btn > ${L}-down`]:{fontSize:k},[`${L}-down::before`]:{transition:`transform ${$}`}},[`${S}-wrap-open`]:{[`${L}-down::before`]:{transform:"rotate(180deg)"}},[` &-hidden, &-menu-hidden, &-menu-submenu-hidden @@ -215,27 +215,27 @@ http://j.mp/37Fkd5Q &${N}-slide-down-leave${N}-slide-down-leave-active${S}-placement-bottom, &${N}-slide-down-leave${N}-slide-down-leave-active${S}-placement-bottomRight`]:{animationName:t.Uw},[`&${N}-slide-up-leave${N}-slide-up-leave-active${S}-placement-topLeft, &${N}-slide-up-leave${N}-slide-up-leave-active${S}-placement-top, - &${N}-slide-up-leave${N}-slide-up-leave-active${S}-placement-topRight`]:{animationName:t.ly}})},(0,n.ZP)(h,{colorBg:Y,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${S} ${w}`]:{position:"relative",margin:0},[`${w}-submenu-popup`]:{position:"absolute",zIndex:C,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${S}, ${S}-menu-submenu`]:{[w]:Object.assign(Object.assign({padding:j,listStyleType:"none",backgroundColor:Y,backgroundClip:"padding-box",borderRadius:h.borderRadiusLG,outline:"none",boxShadow:h.boxShadowSecondary},(0,a.Qy)(h)),{[`${w}-item-group-title`]:{padding:`${D}px ${te}px`,color:h.colorTextDescription,transition:`all ${B}`},[`${w}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${w}-item-icon`]:{minWidth:T,marginInlineEnd:h.marginXS,fontSize:h.fontSizeSM},[`${w}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${B}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${w}-item, ${w}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${D}px ${te}px`,color:h.colorText,fontWeight:"normal",fontSize:T,lineHeight:h.lineHeight,cursor:"pointer",transition:`all ${B}`,borderRadius:h.borderRadiusSM,["&:hover, &-active"]:{backgroundColor:h.controlItemBgHover}},(0,a.Qy)(h)),{"&-selected":{color:h.colorPrimary,backgroundColor:h.controlItemBgActive,"&:hover, &-active":{backgroundColor:h.controlItemBgActiveHover}},"&-disabled":{color:K,cursor:"not-allowed","&:hover":{color:K,backgroundColor:Y,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${h.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:h.colorSplit},[`${S}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:h.paddingXS,[`${S}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:h.colorTextDescription,fontSize:k,fontStyle:"normal"}}}),[`${w}-item-group-list`]:{margin:`0 ${h.marginXS}px`,padding:0,listStyle:"none"},[`${w}-submenu-title`]:{paddingInlineEnd:te+h.fontSizeSM},[`${w}-submenu-vertical`]:{position:"relative"},[`${w}-submenu${w}-submenu-disabled ${S}-menu-submenu-title`]:{[`&, ${S}-menu-submenu-arrow-icon`]:{color:K,backgroundColor:Y,cursor:"not-allowed"}},[`${w}-submenu-selected ${S}-menu-submenu-title`]:{color:h.colorPrimary}})}},[(0,t.oN)(h,"slide-up"),(0,t.oN)(h,"slide-down"),(0,o.Fm)(h,"move-up"),(0,o.Fm)(h,"move-down"),(0,s._y)(h,"zoom-big")]]};var M=(0,d.Z)("Dropdown",(h,S)=>{let{rootPrefixCls:w}=S;const{marginXXS:C,sizePopupArrow:z,controlHeight:$,fontSize:N,lineHeight:L,paddingXXS:B,componentCls:D,borderRadiusLG:T}=h,j=($-N*L)/2,{dropdownArrowOffset:K}=(0,n.fS)({contentRadius:T}),k=(0,l.TS)(h,{menuCls:`${D}-menu`,rootPrefixCls:w,dropdownArrowDistance:z/2+C,dropdownArrowOffset:K,dropdownPaddingVertical:j,dropdownEdgeChildPadding:B});return[g(k),m(k)]},h=>({zIndexPopup:h.zIndexPopupBase+50}))},17444:function(b,y,e){"use strict";e.d(y,{Z:function(){return B}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(29487),d=e(66671),l=e(51806),m=()=>{const[,D]=(0,l.Z)(),j=new d.C(D.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:j,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},M=()=>{const[,D]=(0,l.Z)(),{colorFill:T,colorFillTertiary:j,colorFillQuaternary:K,colorBgContainer:k}=D,{borderColor:te,shadowColor:Y,contentColor:q}=(0,o.useMemo)(()=>({borderColor:new d.C(T).onBackground(k).toHexShortString(),shadowColor:new d.C(j).onBackground(k).toHexShortString(),contentColor:new d.C(K).onBackground(k).toHexShortString()}),[T,j,K,k]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:Y,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:te},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:q}))))},h=e(52628),S=e(22151);const w=D=>{const{componentCls:T,margin:j,marginXS:K,marginXL:k,fontSize:te,lineHeight:Y}=D;return{[T]:{marginInline:K,fontSize:te,lineHeight:Y,textAlign:"center",[`${T}-image`]:{height:D.emptyImgHeight,marginBottom:K,opacity:D.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${T}-description`]:{color:D.colorText},[`${T}-footer`]:{marginTop:j},"&-normal":{marginBlock:k,color:D.colorTextDisabled,[`${T}-description`]:{color:D.colorTextDisabled},[`${T}-image`]:{height:D.emptyImgHeightMD}},"&-small":{marginBlock:K,color:D.colorTextDisabled,[`${T}-image`]:{height:D.emptyImgHeightSM}}}}};var C=(0,h.Z)("Empty",D=>{const{componentCls:T,controlHeightLG:j}=D,K=(0,S.TS)(D,{emptyImgCls:`${T}-img`,emptyImgHeight:j*2.5,emptyImgHeightMD:j,emptyImgHeightSM:j*.875});return[w(K)]}),z=function(D,T){var j={};for(var K in D)Object.prototype.hasOwnProperty.call(D,K)&&T.indexOf(K)<0&&(j[K]=D[K]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,K=Object.getOwnPropertySymbols(D);k{var{className:T,rootClassName:j,prefixCls:K,image:k=$,description:te,children:Y,imageStyle:q,style:le}=D,X=z(D,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:W,direction:x,empty:O}=o.useContext(s.E_),_=W("empty",K),[U,A]=C(_),[G]=(0,n.Z)("Empty"),de=typeof te!="undefined"?te:G==null?void 0:G.description,he=typeof de=="string"?de:"empty";let ge=null;return typeof k=="string"?ge=o.createElement("img",{alt:he,src:k}):ge=k,U(o.createElement("div",Object.assign({className:t()(A,_,O==null?void 0:O.className,{[`${_}-normal`]:k===N,[`${_}-rtl`]:x==="rtl"},T,j),style:Object.assign(Object.assign({},O==null?void 0:O.style),le)},X),o.createElement("div",{className:`${_}-image`,style:q},ge),de&&o.createElement("div",{className:`${_}-description`},de),Y&&o.createElement("div",{className:`${_}-footer`},Y)))};L.PRESENTED_IMAGE_DEFAULT=$,L.PRESENTED_IMAGE_SIMPLE=N;var B=L},81496:function(b,y,e){"use strict";e.d(y,{RV:function(){return d},Rk:function(){return l},Ux:function(){return m},aM:function(){return c},q3:function(){return s},qI:function(){return n}});var a=e(94866),t=e(98186),o=e(58757);const s=o.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),n=o.createContext(null),d=g=>{const M=(0,t.Z)(g,["prefixCls"]);return o.createElement(a.RV,Object.assign({},M))},l=o.createContext({prefixCls:""}),c=o.createContext({}),m=g=>{let{children:M,status:h,override:S}=g;const w=(0,o.useContext)(c),C=(0,o.useMemo)(()=>{const z=Object.assign({},w);return S&&delete z.isFormItemInput,h&&(delete z.status,delete z.hasFeedback,delete z.feedbackIcon),z},[h,S,w]);return o.createElement(c.Provider,{value:C},M)}},47513:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ie}});var a=e(29140),t=e(87608),o=e.n(t),s=e(17598),n=e(58757),d=e(90881),l=e(81496);function c(Se){const[bt,Pt]=n.useState(Se);return n.useEffect(()=>{const He=setTimeout(()=>{Pt(Se)},Se.length?0:10);return()=>{clearTimeout(He)}},[Se]),bt}var m=e(78330),g=e(28107),M=e(41086),h=e(52628),S=e(22151),C=Se=>{const{componentCls:bt}=Se,Pt=`${bt}-show-help`,He=`${bt}-show-help-item`;return{[Pt]:{transition:`opacity ${Se.motionDurationSlow} ${Se.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[He]:{overflow:"hidden",transition:`height ${Se.motionDurationSlow} ${Se.motionEaseInOut}, + &${N}-slide-up-leave${N}-slide-up-leave-active${S}-placement-topRight`]:{animationName:t.ly}})},(0,n.ZP)(h,{colorBg:V,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${S} ${w}`]:{position:"relative",margin:0},[`${w}-submenu-popup`]:{position:"absolute",zIndex:C,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${S}, ${S}-menu-submenu`]:{[w]:Object.assign(Object.assign({padding:j,listStyleType:"none",backgroundColor:V,backgroundClip:"padding-box",borderRadius:h.borderRadiusLG,outline:"none",boxShadow:h.boxShadowSecondary},(0,a.Qy)(h)),{[`${w}-item-group-title`]:{padding:`${D}px ${te}px`,color:h.colorTextDescription,transition:`all ${$}`},[`${w}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${w}-item-icon`]:{minWidth:T,marginInlineEnd:h.marginXS,fontSize:h.fontSizeSM},[`${w}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${$}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${w}-item, ${w}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${D}px ${te}px`,color:h.colorText,fontWeight:"normal",fontSize:T,lineHeight:h.lineHeight,cursor:"pointer",transition:`all ${$}`,borderRadius:h.borderRadiusSM,["&:hover, &-active"]:{backgroundColor:h.controlItemBgHover}},(0,a.Qy)(h)),{"&-selected":{color:h.colorPrimary,backgroundColor:h.controlItemBgActive,"&:hover, &-active":{backgroundColor:h.controlItemBgActiveHover}},"&-disabled":{color:K,cursor:"not-allowed","&:hover":{color:K,backgroundColor:V,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${h.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:h.colorSplit},[`${S}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:h.paddingXS,[`${S}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:h.colorTextDescription,fontSize:k,fontStyle:"normal"}}}),[`${w}-item-group-list`]:{margin:`0 ${h.marginXS}px`,padding:0,listStyle:"none"},[`${w}-submenu-title`]:{paddingInlineEnd:te+h.fontSizeSM},[`${w}-submenu-vertical`]:{position:"relative"},[`${w}-submenu${w}-submenu-disabled ${S}-menu-submenu-title`]:{[`&, ${S}-menu-submenu-arrow-icon`]:{color:K,backgroundColor:V,cursor:"not-allowed"}},[`${w}-submenu-selected ${S}-menu-submenu-title`]:{color:h.colorPrimary}})}},[(0,t.oN)(h,"slide-up"),(0,t.oN)(h,"slide-down"),(0,o.Fm)(h,"move-up"),(0,o.Fm)(h,"move-down"),(0,s._y)(h,"zoom-big")]]};var M=(0,d.Z)("Dropdown",(h,S)=>{let{rootPrefixCls:w}=S;const{marginXXS:C,sizePopupArrow:F,controlHeight:Z,fontSize:N,lineHeight:L,paddingXXS:$,componentCls:D,borderRadiusLG:T}=h,j=(Z-N*L)/2,{dropdownArrowOffset:K}=(0,n.fS)({contentRadius:T}),k=(0,l.TS)(h,{menuCls:`${D}-menu`,rootPrefixCls:w,dropdownArrowDistance:F/2+C,dropdownArrowOffset:K,dropdownPaddingVertical:j,dropdownEdgeChildPadding:$});return[g(k),m(k)]},h=>({zIndexPopup:h.zIndexPopupBase+50}))},17444:function(b,y,e){"use strict";e.d(y,{Z:function(){return $}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(29487),d=e(66671),l=e(51806),m=()=>{const[,D]=(0,l.Z)(),j=new d.C(D.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:j,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},M=()=>{const[,D]=(0,l.Z)(),{colorFill:T,colorFillTertiary:j,colorFillQuaternary:K,colorBgContainer:k}=D,{borderColor:te,shadowColor:V,contentColor:q}=(0,o.useMemo)(()=>({borderColor:new d.C(T).onBackground(k).toHexShortString(),shadowColor:new d.C(j).onBackground(k).toHexShortString(),contentColor:new d.C(K).onBackground(k).toHexShortString()}),[T,j,K,k]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:V,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:te},o.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),o.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:q}))))},h=e(52628),S=e(22151);const w=D=>{const{componentCls:T,margin:j,marginXS:K,marginXL:k,fontSize:te,lineHeight:V}=D;return{[T]:{marginInline:K,fontSize:te,lineHeight:V,textAlign:"center",[`${T}-image`]:{height:D.emptyImgHeight,marginBottom:K,opacity:D.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${T}-description`]:{color:D.colorText},[`${T}-footer`]:{marginTop:j},"&-normal":{marginBlock:k,color:D.colorTextDisabled,[`${T}-description`]:{color:D.colorTextDisabled},[`${T}-image`]:{height:D.emptyImgHeightMD}},"&-small":{marginBlock:K,color:D.colorTextDisabled,[`${T}-image`]:{height:D.emptyImgHeightSM}}}}};var C=(0,h.Z)("Empty",D=>{const{componentCls:T,controlHeightLG:j}=D,K=(0,S.TS)(D,{emptyImgCls:`${T}-img`,emptyImgHeight:j*2.5,emptyImgHeightMD:j,emptyImgHeightSM:j*.875});return[w(K)]}),F=function(D,T){var j={};for(var K in D)Object.prototype.hasOwnProperty.call(D,K)&&T.indexOf(K)<0&&(j[K]=D[K]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,K=Object.getOwnPropertySymbols(D);k{var{className:T,rootClassName:j,prefixCls:K,image:k=Z,description:te,children:V,imageStyle:q,style:le}=D,X=F(D,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:W,direction:x,empty:O}=o.useContext(s.E_),_=W("empty",K),[U,A]=C(_),[G]=(0,n.Z)("Empty"),fe=typeof te!="undefined"?te:G==null?void 0:G.description,pe=typeof fe=="string"?fe:"empty";let ge=null;return typeof k=="string"?ge=o.createElement("img",{alt:pe,src:k}):ge=k,U(o.createElement("div",Object.assign({className:t()(A,_,O==null?void 0:O.className,{[`${_}-normal`]:k===N,[`${_}-rtl`]:x==="rtl"},T,j),style:Object.assign(Object.assign({},O==null?void 0:O.style),le)},X),o.createElement("div",{className:`${_}-image`,style:q},ge),fe&&o.createElement("div",{className:`${_}-description`},fe),V&&o.createElement("div",{className:`${_}-footer`},V)))};L.PRESENTED_IMAGE_DEFAULT=Z,L.PRESENTED_IMAGE_SIMPLE=N;var $=L},81496:function(b,y,e){"use strict";e.d(y,{RV:function(){return d},Rk:function(){return l},Ux:function(){return m},aM:function(){return c},q3:function(){return s},qI:function(){return n}});var a=e(94866),t=e(98186),o=e(58757);const s=o.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),n=o.createContext(null),d=g=>{const M=(0,t.Z)(g,["prefixCls"]);return o.createElement(a.RV,Object.assign({},M))},l=o.createContext({prefixCls:""}),c=o.createContext({}),m=g=>{let{children:M,status:h,override:S}=g;const w=(0,o.useContext)(c),C=(0,o.useMemo)(()=>{const F=Object.assign({},w);return S&&delete F.isFormItemInput,h&&(delete F.status,delete F.hasFeedback,delete F.feedbackIcon),F},[h,S,w]);return o.createElement(c.Provider,{value:C},M)}},47513:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ie}});var a=e(29140),t=e(87608),o=e.n(t),s=e(17598),n=e(58757),d=e(90881),l=e(81496);function c(Se){const[bt,jt]=n.useState(Se);return n.useEffect(()=>{const He=setTimeout(()=>{jt(Se)},Se.length?0:10);return()=>{clearTimeout(He)}},[Se]),bt}var m=e(78330),g=e(28107),M=e(41086),h=e(52628),S=e(22151),C=Se=>{const{componentCls:bt}=Se,jt=`${bt}-show-help`,He=`${bt}-show-help-item`;return{[jt]:{transition:`opacity ${Se.motionDurationSlow} ${Se.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[He]:{overflow:"hidden",transition:`height ${Se.motionDurationSlow} ${Se.motionEaseInOut}, opacity ${Se.motionDurationSlow} ${Se.motionEaseInOut}, - transform ${Se.motionDurationSlow} ${Se.motionEaseInOut} !important`,[`&${He}-appear, &${He}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${He}-leave-active`]:{transform:"translateY(-5px)"}}}}};const z=Se=>({legend:{display:"block",width:"100%",marginBottom:Se.marginLG,padding:0,color:Se.colorTextDescription,fontSize:Se.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`},label:{fontSize:Se.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + transform ${Se.motionDurationSlow} ${Se.motionEaseInOut} !important`,[`&${He}-appear, &${He}-enter`]:{transform:"translateY(-5px)",opacity:0,["&-active"]:{transform:"translateY(0)",opacity:1}},[`&${He}-leave-active`]:{transform:"translateY(-5px)"}}}}};const F=Se=>({legend:{display:"block",width:"100%",marginBottom:Se.marginLG,padding:0,color:Se.colorTextDescription,fontSize:Se.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`},label:{fontSize:Se.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, input[type='radio']:focus, - input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${Se.controlOutlineWidth}px ${Se.controlOutline}`},output:{display:"block",paddingTop:15,color:Se.colorText,fontSize:Se.fontSize,lineHeight:Se.lineHeight}}),$=(Se,bt)=>{const{formItemCls:Pt}=Se;return{[Pt]:{[`${Pt}-label > label`]:{height:bt},[`${Pt}-control-input`]:{minHeight:bt}}}},N=Se=>{const{componentCls:bt}=Se;return{[Se.componentCls]:Object.assign(Object.assign(Object.assign({},(0,m.Wf)(Se)),z(Se)),{[`${bt}-text`]:{display:"inline-block",paddingInlineEnd:Se.paddingSM},"&-small":Object.assign({},$(Se,Se.controlHeightSM)),"&-large":Object.assign({},$(Se,Se.controlHeightLG))})}},L=Se=>{const{formItemCls:bt,iconCls:Pt,componentCls:He,rootPrefixCls:qe}=Se;return{[bt]:Object.assign(Object.assign({},(0,m.Wf)(Se)),{marginBottom:Se.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden.${qe}-row`]:{display:"none"},"&-has-warning":{[`${bt}-split`]:{color:Se.colorError}},"&-has-error":{[`${bt}-split`]:{color:Se.colorWarning}},[`${bt}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Se.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Se.controlHeight,color:Se.colorTextHeading,fontSize:Se.fontSize,[`> ${Pt}`]:{fontSize:Se.fontSize,verticalAlign:"top"},[`&${bt}-required:not(${bt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Se.marginXXS,color:Se.colorError,fontSize:Se.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${He}-hide-required-mark &`]:{display:"none"}},[`${bt}-optional`]:{display:"inline-block",marginInlineStart:Se.marginXXS,color:Se.colorTextDescription,[`${He}-hide-required-mark &`]:{display:"none"}},[`${bt}-tooltip`]:{color:Se.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Se.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Se.marginXXS/2,marginInlineEnd:Se.marginXS},[`&${bt}-no-colon::after`]:{content:'"\\a0"'}}},[`${bt}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${qe}-col-'"]):not([class*="' ${qe}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Se.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[bt]:{"&-explain, &-extra":{clear:"both",color:Se.colorTextDescription,fontSize:Se.fontSize,lineHeight:Se.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Se.controlHeightSM,transition:`color ${Se.motionDurationMid} ${Se.motionEaseOut}`},"&-explain":{"&-error":{color:Se.colorError},"&-warning":{color:Se.colorWarning}}},[`&-with-help ${bt}-explain`]:{height:"auto",opacity:1},[`${bt}-feedback-icon`]:{fontSize:Se.fontSize,textAlign:"center",visibility:"visible",animationName:g.kr,animationDuration:Se.motionDurationMid,animationTimingFunction:Se.motionEaseOutBack,pointerEvents:"none","&-success":{color:Se.colorSuccess},"&-error":{color:Se.colorError},"&-warning":{color:Se.colorWarning},"&-validating":{color:Se.colorPrimary}}})}},B=Se=>{const{componentCls:bt,formItemCls:Pt,rootPrefixCls:He}=Se;return{[`${bt}-horizontal`]:{[`${Pt}-label`]:{flexGrow:0},[`${Pt}-control`]:{flex:"1 1 0",minWidth:0},[`${Pt}-label.${He}-col-24 + ${Pt}-control`]:{minWidth:"unset"}}}},D=Se=>{const{componentCls:bt,formItemCls:Pt}=Se;return{[`${bt}-inline`]:{display:"flex",flexWrap:"wrap",[Pt]:{flex:"none",marginInlineEnd:Se.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${Pt}-label, - > ${Pt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${Pt}-label`]:{flex:"none"},[`${bt}-text`]:{display:"inline-block"},[`${Pt}-has-feedback`]:{display:"inline-block"}}}}},T=Se=>({padding:`0 0 ${Se.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),j=Se=>{const{componentCls:bt,formItemCls:Pt,rootPrefixCls:He}=Se;return{[`${Pt} ${Pt}-label`]:T(Se),[bt]:{[Pt]:{flexWrap:"wrap",[`${Pt}-label, ${Pt}-control`]:{[`&:not([class*=" ${He}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},K=Se=>{const{componentCls:bt,formItemCls:Pt,rootPrefixCls:He}=Se;return{[`${bt}-vertical`]:{[Pt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${bt}-item-control`]:{width:"100%"}}},[`${bt}-vertical ${Pt}-label, - .${He}-col-24${Pt}-label, - .${He}-col-xl-24${Pt}-label`]:T(Se),[`@media (max-width: ${Se.screenXSMax}px)`]:[j(Se),{[bt]:{[`.${He}-col-xs-24${Pt}-label`]:T(Se)}}],[`@media (max-width: ${Se.screenSMMax}px)`]:{[bt]:{[`.${He}-col-sm-24${Pt}-label`]:T(Se)}},[`@media (max-width: ${Se.screenMDMax}px)`]:{[bt]:{[`.${He}-col-md-24${Pt}-label`]:T(Se)}},[`@media (max-width: ${Se.screenLGMax}px)`]:{[bt]:{[`.${He}-col-lg-24${Pt}-label`]:T(Se)}}}};var k=(0,h.Z)("Form",(Se,bt)=>{let{rootPrefixCls:Pt}=bt;const He=(0,S.TS)(Se,{formItemCls:`${Se.componentCls}-item`,rootPrefixCls:Pt});return[N(He),L(He),C(He),B(He),D(He),K(He),(0,M.Z)(He),g.kr]});const te=[];function Y(Se,bt,Pt){let He=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Se=="string"?Se:`${bt}-${He}`,error:Se,errorStatus:Pt}}var le=Se=>{let{help:bt,helpStatus:Pt,errors:He=te,warnings:qe=te,className:Zt,fieldId:Ut,onVisibleChanged:qt}=Se;const{prefixCls:ln}=n.useContext(l.Rk),En=`${ln}-item-explain`,[,mn]=k(ln),Yn=(0,n.useMemo)(()=>(0,d.Z)(ln),[ln]),Gn=c(He),ir=c(qe),mr=n.useMemo(()=>bt!=null?[Y(bt,"help",Pt)]:[].concat((0,a.Z)(Gn.map((en,rn)=>Y(en,"error","error",rn))),(0,a.Z)(ir.map((en,rn)=>Y(en,"warning","warning",rn)))),[bt,Pt,Gn,ir]),Ft={};return Ut&&(Ft.id=`${Ut}_help`),n.createElement(s.ZP,{motionDeadline:Yn.motionDeadline,motionName:`${ln}-show-help`,visible:!!mr.length,onVisibleChanged:qt},en=>{const{className:rn,style:fn}=en;return n.createElement("div",Object.assign({},Ft,{className:o()(En,rn,Zt,mn),style:fn,role:"alert"}),n.createElement(s.V4,Object.assign({keys:mr},(0,d.Z)(ln),{motionName:`${ln}-show-help-item`,component:!1}),In=>{const{key:on,error:mt,errorStatus:gt,className:sn,style:Qt}=In;return n.createElement("div",{key:on,className:o()(sn,{[`${En}-${gt}`]:gt}),style:Qt},mt)}))})},X=e(94866),W=e(61836),x=e(92428),O=e(33446),_=e(58785),U=e(18591);const A=["parentNode"],G="form_item";function de(Se){return Se===void 0||Se===!1?[]:Array.isArray(Se)?Se:[Se]}function he(Se,bt){if(!Se.length)return;const Pt=Se.join("_");return bt?`${bt}_${Pt}`:A.includes(Pt)?`${G}_${Pt}`:Pt}function ge(Se){return de(Se).join("_")}function be(Se){const[bt]=(0,X.cI)(),Pt=n.useRef({}),He=n.useMemo(()=>Se!=null?Se:Object.assign(Object.assign({},bt),{__INTERNAL__:{itemRef:qe=>Zt=>{const Ut=ge(qe);Zt?Pt.current[Ut]=Zt:delete Pt.current[Ut]}},scrollToField:function(qe){let Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Ut=de(qe),qt=he(Ut,He.__INTERNAL__.name),ln=qt?document.getElementById(qt):null;ln&&(0,U.Z)(ln,Object.assign({scrollMode:"if-needed",block:"nearest"},Zt))},getFieldInstance:qe=>{const Zt=ge(qe);return Pt.current[Zt]}}),[Se,bt]);return[He]}var Te=e(48736),Ge=function(Se,bt){var Pt={};for(var He in Se)Object.prototype.hasOwnProperty.call(Se,He)&&bt.indexOf(He)<0&&(Pt[He]=Se[He]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(Se);qe{const Pt=n.useContext(x.Z),{getPrefixCls:He,direction:qe,form:Zt}=n.useContext(W.E_),{prefixCls:Ut,className:qt,rootClassName:ln,size:En,disabled:mn=Pt,form:Yn,colon:Gn,labelAlign:ir,labelWrap:mr,labelCol:Ft,wrapperCol:en,hideRequiredMark:rn,layout:fn="horizontal",scrollToFirstError:In,requiredMark:on,onFinishFailed:mt,name:gt,style:sn}=Se,Qt=Ge(Se,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),tn=(0,_.Z)(En),yn=n.useContext(Te.Z),vn=(0,n.useMemo)(()=>on!==void 0?on:Zt&&Zt.requiredMark!==void 0?Zt.requiredMark:!rn,[rn,on,Zt]),Wn=Gn!=null?Gn:Zt==null?void 0:Zt.colon,tr=He("form",Ut),[ut,ct]=k(tr),At=o()(tr,`${tr}-${fn}`,{[`${tr}-hide-required-mark`]:vn===!1,[`${tr}-rtl`]:qe==="rtl",[`${tr}-${tn}`]:tn},ct,Zt==null?void 0:Zt.className,qt,ln),[xt]=be(Yn),{__INTERNAL__:kt}=xt;kt.name=gt;const un=(0,n.useMemo)(()=>({name:gt,labelAlign:ir,labelCol:Ft,labelWrap:mr,wrapperCol:en,vertical:fn==="vertical",colon:Wn,requiredMark:vn,itemRef:kt.itemRef,form:xt}),[gt,ir,Ft,en,fn,Wn,vn,xt]);n.useImperativeHandle(bt,()=>xt);const nn=(zn,Er)=>{if(zn){let nr={block:"nearest"};typeof zn=="object"&&(nr=zn),xt.scrollToField(Er,nr)}},An=zn=>{if(mt==null||mt(zn),zn.errorFields.length){const Er=zn.errorFields[0].name;if(In!==void 0){nn(In,Er);return}Zt&&Zt.scrollToFirstError!==void 0&&nn(Zt.scrollToFirstError,Er)}};return ut(n.createElement(x.n,{disabled:mn},n.createElement(O.q,{size:tn},n.createElement(l.RV,{validateMessages:yn},n.createElement(l.q3.Provider,{value:un},n.createElement(X.ZP,Object.assign({id:gt},Qt,{name:gt,onFinishFailed:An,form:xt,style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),sn),className:At})))))))};var pt=n.forwardRef(Je),Ct=e(13989),ft=e(21319),Ht=e(37047);const Ze=()=>{const{status:Se,errors:bt=[],warnings:Pt=[]}=(0,n.useContext)(l.aM);return{status:Se,errors:bt,warnings:Pt}};Ze.Context=l.aM;var Xe=Ze,rt=e(61834);function Ke(Se){const[bt,Pt]=n.useState(Se),He=(0,n.useRef)(null),qe=(0,n.useRef)([]),Zt=(0,n.useRef)(!1);n.useEffect(()=>(Zt.current=!1,()=>{Zt.current=!0,rt.Z.cancel(He.current),He.current=null}),[]);function Ut(qt){Zt.current||(He.current===null&&(qe.current=[],He.current=(0,rt.Z)(()=>{He.current=null,Pt(ln=>{let En=ln;return qe.current.forEach(mn=>{En=mn(En)}),En})})),qe.current.push(qt))}return[bt,Ut]}function ye(){const{itemRef:Se}=n.useContext(l.q3),bt=n.useRef({});function Pt(He,qe){const Zt=qe&&typeof qe=="object"&&qe.ref,Ut=He.join("_");return(bt.current.name!==Ut||bt.current.originRef!==Zt)&&(bt.current.name=Ut,bt.current.originRef=Zt,bt.current.ref=(0,ft.sQ)(Se(He),Zt)),bt.current.ref}return Pt}var ne=e(85678),H=e(79999),R=e(69831),P=e(25755),ae=e(81334),Q=e(46499),ie=e(98186),me=e(67665),je=e(91334),Me=Se=>{const{prefixCls:bt,status:Pt,wrapperCol:He,children:qe,errors:Zt,warnings:Ut,_internalItemRender:qt,extra:ln,help:En,fieldId:mn,marginBottom:Yn,onErrorVisibleChanged:Gn}=Se,ir=`${bt}-item`,mr=n.useContext(l.q3),Ft=He||mr.wrapperCol||{},en=o()(`${ir}-control`,Ft.className),rn=n.useMemo(()=>Object.assign({},mr),[mr]);delete rn.labelCol,delete rn.wrapperCol;const fn=n.createElement("div",{className:`${ir}-control-input`},n.createElement("div",{className:`${ir}-control-input-content`},qe)),In=n.useMemo(()=>({prefixCls:bt,status:Pt}),[bt,Pt]),on=Yn!==null||Zt.length||Ut.length?n.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},n.createElement(l.Rk.Provider,{value:In},n.createElement(le,{fieldId:mn,errors:Zt,warnings:Ut,help:En,helpStatus:Pt,className:`${ir}-explain-connected`,onVisibleChanged:Gn})),!!Yn&&n.createElement("div",{style:{width:0,height:Yn}})):null,mt={};mn&&(mt.id=`${mn}_extra`);const gt=ln?n.createElement("div",Object.assign({},mt,{className:`${ir}-extra`}),ln):null,sn=qt&&qt.mark==="pro_table_render"&&qt.render?qt.render(Se,{input:fn,errorList:on,extra:gt}):n.createElement(n.Fragment,null,fn,on,gt);return n.createElement(l.q3.Provider,{value:rn},n.createElement(je.Z,Object.assign({},Ft,{className:en}),sn))},We=e(60698),re={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},se=re,J=e(17202),ce=function(bt,Pt){return n.createElement(J.Z,(0,We.Z)({},bt,{ref:Pt,icon:se}))},xe=n.forwardRef(ce),ue=e(80076),Ne=e(29487),Oe=e(74820),we=function(Se,bt){var Pt={};for(var He in Se)Object.prototype.hasOwnProperty.call(Se,He)&&bt.indexOf(He)<0&&(Pt[He]=Se[He]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(Se);qe{let{prefixCls:bt,label:Pt,htmlFor:He,labelCol:qe,labelAlign:Zt,colon:Ut,required:qt,requiredMark:ln,tooltip:En}=Se;var mn;const[Yn]=(0,Ne.Z)("Form"),{vertical:Gn,labelAlign:ir,labelCol:mr,labelWrap:Ft,colon:en}=n.useContext(l.q3);if(!Pt)return null;const rn=qe||mr||{},fn=Zt||ir,In=`${bt}-item-label`,on=o()(In,fn==="left"&&`${In}-left`,rn.className,{[`${In}-wrap`]:!!Ft});let mt=Pt;const gt=Ut===!0||en!==!1&&Ut!==!1;gt&&!Gn&&typeof Pt=="string"&&Pt.trim()!==""&&(mt=Pt.replace(/[:|:]\s*$/,""));const Qt=Re(En);if(Qt){const{icon:yn=n.createElement(xe,null)}=Qt,vn=we(Qt,["icon"]),Wn=n.createElement(Oe.Z,Object.assign({},vn),n.cloneElement(yn,{className:`${bt}-item-tooltip`,title:""}));mt=n.createElement(n.Fragment,null,mt,Wn)}ln==="optional"&&!qt&&(mt=n.createElement(n.Fragment,null,mt,n.createElement("span",{className:`${bt}-item-optional`,title:""},(Yn==null?void 0:Yn.optional)||((mn=ue.Z.Form)===null||mn===void 0?void 0:mn.optional))));const tn=o()({[`${bt}-item-required`]:qt,[`${bt}-item-required-mark-optional`]:ln==="optional",[`${bt}-item-no-colon`]:!gt});return n.createElement(je.Z,Object.assign({},rn,{className:on}),n.createElement("label",{htmlFor:He,className:tn,title:typeof Pt=="string"?Pt:""},mt))},Ye=function(Se,bt){var Pt={};for(var He in Se)Object.prototype.hasOwnProperty.call(Se,He)&&bt.indexOf(He)<0&&(Pt[He]=Se[He]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(Se);qe{if(Qt&&on.current){const xt=getComputedStyle(on.current);vn(parseInt(xt.marginBottom,10))}},[Qt,tn]);const Wn=xt=>{xt||vn(null)},ut=function(){let xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,kt="";const un=xt?mt:En.errors,nn=xt?gt:En.warnings;return ln!==void 0?kt=ln:En.validating?kt="validating":un.length?kt="error":nn.length?kt="warning":(En.touched||mn&&En.validated)&&(kt="success"),kt}(),ct=n.useMemo(()=>{let xt;if(mn){const kt=ut&&ke[ut];xt=kt?n.createElement("span",{className:o()(`${fn}-feedback-icon`,`${fn}-feedback-icon-${ut}`)},n.createElement(kt,null)):null}return{status:ut,errors:Ut,warnings:qt,hasFeedback:mn,feedbackIcon:xt,isFormItemInput:!0}},[ut,mn]),At=o()(fn,Pt,He,{[`${fn}-with-help`]:sn||mt.length||gt.length,[`${fn}-has-feedback`]:ut&&mn,[`${fn}-has-success`]:ut==="success",[`${fn}-has-warning`]:ut==="warning",[`${fn}-has-error`]:ut==="error",[`${fn}-is-validating`]:ut==="validating",[`${fn}-hidden`]:Yn});return n.createElement("div",{className:At,style:qe,ref:on},n.createElement(me.Z,Object.assign({className:`${fn}-row`},(0,ie.Z)(rn,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),n.createElement(tt,Object.assign({htmlFor:ir},Se,{requiredMark:In,required:mr!=null?mr:Ft,prefixCls:bt})),n.createElement(Me,Object.assign({},Se,En,{errors:mt,warnings:gt,prefixCls:bt,status:ut,help:Zt,marginBottom:yn,onErrorVisibleChanged:Wn}),n.createElement(l.qI.Provider,{value:en},n.createElement(l.aM.Provider,{value:ct},Gn)))),!!yn&&n.createElement("div",{className:`${fn}-margin-offset`,style:{marginBottom:-yn}}))}var it=e(42156);function Ve(Se){if(typeof Se=="function")return Se;const bt=(0,it.Z)(Se);return bt.length<=1?bt[0]:bt}const It="__SPLIT__",_t=null,wt=n.memo(Se=>{let{children:bt}=Se;return bt},(Se,bt)=>Se.value===bt.value&&Se.update===bt.update&&Se.childProps.length===bt.childProps.length&&Se.childProps.every((Pt,He)=>Pt===bt.childProps[He]));function jt(Se){return Se!=null}function Yt(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function yt(Se){const{name:bt,noStyle:Pt,className:He,dependencies:qe,prefixCls:Zt,shouldUpdate:Ut,rules:qt,children:ln,required:En,label:mn,messageVariables:Yn,trigger:Gn="onChange",validateTrigger:ir,hidden:mr,help:Ft}=Se,{getPrefixCls:en}=n.useContext(W.E_),{name:rn}=n.useContext(l.q3),fn=Ve(ln),In=typeof fn=="function",on=n.useContext(l.qI),{validateTrigger:mt}=n.useContext(X.zb),gt=ir!==void 0?ir:mt,sn=jt(bt),Qt=en("form",Zt),[tn,yn]=k(Qt),vn=n.useContext(X.ZM),Wn=n.useRef(),[tr,ut]=Ke({}),[ct,At]=(0,Ct.Z)(()=>Yt()),xt=nr=>{const Fn=vn==null?void 0:vn.getKey(nr.name);if(At(nr.destroy?Yt():nr,!0),Pt&&Ft!==!1&&on){let kr=nr.name;if(nr.destroy)kr=Wn.current||kr;else if(Fn!==void 0){const[hr,la]=Fn;kr=[hr].concat((0,a.Z)(la)),Wn.current=kr}on(nr,kr)}},kt=(nr,Fn)=>{ut(kr=>{const hr=Object.assign({},kr),zr=[].concat((0,a.Z)(nr.name.slice(0,-1)),(0,a.Z)(Fn)).join(It);return nr.destroy?delete hr[zr]:hr[zr]=nr,hr})},[un,nn]=n.useMemo(()=>{const nr=(0,a.Z)(ct.errors),Fn=(0,a.Z)(ct.warnings);return Object.values(tr).forEach(kr=>{nr.push.apply(nr,(0,a.Z)(kr.errors||[])),Fn.push.apply(Fn,(0,a.Z)(kr.warnings||[]))}),[nr,Fn]},[tr,ct.errors,ct.warnings]),An=ye();function zn(nr,Fn,kr){return Pt&&!mr?nr:n.createElement(Be,Object.assign({key:"row"},Se,{className:o()(He,yn),prefixCls:Qt,fieldId:Fn,isRequired:kr,errors:un,warnings:nn,meta:ct,onSubItemMetaChange:kt}),nr)}if(!sn&&!In&&!qe)return tn(zn(fn));let Er={};return typeof mn=="string"?Er.label=mn:bt&&(Er.label=String(bt)),Yn&&(Er=Object.assign(Object.assign({},Er),Yn)),tn(n.createElement(X.gN,Object.assign({},Se,{messageVariables:Er,trigger:Gn,validateTrigger:gt,onMetaChange:xt}),(nr,Fn,kr)=>{const hr=de(bt).length&&Fn?Fn.name:[],la=he(hr,rn),zr=En!==void 0?En:!!(qt&&qt.some(Tn=>{if(Tn&&typeof Tn=="object"&&Tn.required&&!Tn.warningOnly)return!0;if(typeof Tn=="function"){const ar=Tn(kr);return ar&&ar.required&&!ar.warningOnly}return!1})),Zn=Object.assign({},nr);let On=null;if(Array.isArray(fn)&&sn)On=fn;else if(!(In&&(!(Ut||qe)||sn))){if(!(qe&&!In&&!sn))if((0,Ht.l$)(fn)){const Tn=Object.assign(Object.assign({},fn.props),Zn);if(Tn.id||(Tn.id=la),Ft||un.length>0||nn.length>0||Se.extra){const Kr=[];(Ft||un.length>0)&&Kr.push(`${la}_help`),Se.extra&&Kr.push(`${la}_extra`),Tn["aria-describedby"]=Kr.join(" ")}un.length>0&&(Tn["aria-invalid"]="true"),zr&&(Tn["aria-required"]="true"),(0,ft.Yr)(fn)&&(Tn.ref=An(hr,fn)),new Set([].concat((0,a.Z)(de(Gn)),(0,a.Z)(de(gt)))).forEach(Kr=>{Tn[Kr]=function(){for(var ra,pa,fr,Ur,Ea,ha=arguments.length,Hn=new Array(ha),Bn=0;Bn{var{prefixCls:bt,children:Pt}=Se,He=Et(Se,["prefixCls","children"]);const{getPrefixCls:qe}=n.useContext(W.E_),Zt=qe("form",bt),Ut=n.useMemo(()=>({prefixCls:Zt,status:"error"}),[Zt]);return n.createElement(X.aV,Object.assign({},He),(qt,ln,En)=>n.createElement(l.Rk.Provider,{value:Ut},Pt(qt.map(mn=>Object.assign(Object.assign({},mn),{fieldKey:mn.key})),ln,{errors:En.errors,warnings:En.warnings})))};function Rt(){const{form:Se}=(0,n.useContext)(l.q3);return Se}const Ot=pt;Ot.Item=nt,Ot.List=Gt,Ot.ErrorList=le,Ot.useForm=be,Ot.useFormInstance=Rt,Ot.useWatch=X.qo,Ot.Provider=l.RV,Ot.create=()=>{};var Ie=Ot},48736:function(b,y,e){"use strict";var a=e(58757);y.Z=(0,a.createContext)(void 0)},35429:function(b,y,e){"use strict";var a=e(58757);const t=(0,a.createContext)({});y.Z=t},91334:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(35429),d=e(58378),l=function(M,h){var S={};for(var w in M)Object.prototype.hasOwnProperty.call(M,w)&&h.indexOf(w)<0&&(S[w]=M[w]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,w=Object.getOwnPropertySymbols(M);C{const{getPrefixCls:S,direction:w}=o.useContext(s.E_),{gutter:C,wrap:z,supportFlexGap:$}=o.useContext(n.Z),{prefixCls:N,span:L,order:B,offset:D,push:T,pull:j,className:K,children:k,flex:te,style:Y}=M,q=l(M,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),le=S("col",N),[X,W]=(0,d.c)(le);let x={};m.forEach(U=>{let A={};const G=M[U];typeof G=="number"?A.span=G:typeof G=="object"&&(A=G||{}),delete q[U],x=Object.assign(Object.assign({},x),{[`${le}-${U}-${A.span}`]:A.span!==void 0,[`${le}-${U}-order-${A.order}`]:A.order||A.order===0,[`${le}-${U}-offset-${A.offset}`]:A.offset||A.offset===0,[`${le}-${U}-push-${A.push}`]:A.push||A.push===0,[`${le}-${U}-pull-${A.pull}`]:A.pull||A.pull===0,[`${le}-${U}-flex-${A.flex}`]:A.flex||A.flex==="auto",[`${le}-rtl`]:w==="rtl"})});const O=t()(le,{[`${le}-${L}`]:L!==void 0,[`${le}-order-${B}`]:B,[`${le}-offset-${D}`]:D,[`${le}-push-${T}`]:T,[`${le}-pull-${j}`]:j},K,x,W),_={};if(C&&C[0]>0){const U=C[0]/2;_.paddingLeft=U,_.paddingRight=U}if(C&&C[1]>0&&!$){const U=C[1]/2;_.paddingTop=U,_.paddingBottom=U}return te&&(_.flex=c(te),z===!1&&!_.minWidth&&(_.minWidth=0)),X(o.createElement("div",Object.assign({},q,{style:Object.assign(Object.assign({},_),Y),className:O,ref:h}),k))});y.Z=g},60059:function(b,y,e){"use strict";var a=e(58757),t=e(81334),o=e(4459),s=e(87078);function n(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const l=(0,a.useRef)({}),c=(0,o.Z)(),m=(0,s.Z)();return(0,t.Z)(()=>{const g=m.subscribe(M=>{l.current=M,d&&c()});return()=>m.unsubscribe(g)},[]),l.current}y.Z=n},67665:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(69387),d=e(87078),l=e(35429),c=e(58378),m=function(w,C){var z={};for(var $ in w)Object.prototype.hasOwnProperty.call(w,$)&&C.indexOf($)<0&&(z[$]=w[$]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,$=Object.getOwnPropertySymbols(w);N<$.length;N++)C.indexOf($[N])<0&&Object.prototype.propertyIsEnumerable.call(w,$[N])&&(z[$[N]]=w[$[N]]);return z};const g=null,M=null;function h(w,C){const[z,$]=o.useState(typeof w=="string"?w:""),N=()=>{if(typeof w=="string"&&$(w),typeof w=="object")for(let L=0;L{N()},[JSON.stringify(w),C]),z}const S=o.forwardRef((w,C)=>{const{prefixCls:z,justify:$,align:N,className:L,style:B,children:D,gutter:T=0,wrap:j}=w,K=m(w,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:k,direction:te}=o.useContext(s.E_),[Y,q]=o.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[le,X]=o.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),W=h(N,le),x=h($,le),O=(0,n.Z)(),_=o.useRef(T),U=(0,d.Z)();o.useEffect(()=>{const ft=U.subscribe(Ht=>{X(Ht);const Ze=_.current||0;(!Array.isArray(Ze)&&typeof Ze=="object"||Array.isArray(Ze)&&(typeof Ze[0]=="object"||typeof Ze[1]=="object"))&&q(Ht)});return()=>U.unsubscribe(ft)},[]);const A=()=>{const ft=[void 0,void 0];return(Array.isArray(T)?T:[T,void 0]).forEach((Ze,Xe)=>{if(typeof Ze=="object")for(let rt=0;rt0?ge[0]/-2:void 0,Je=ge[1]!=null&&ge[1]>0?ge[1]/-2:void 0;Ge&&(Te.marginLeft=Ge,Te.marginRight=Ge),O?[,Te.rowGap]=ge:Je&&(Te.marginTop=Je,Te.marginBottom=Je);const[Qe,pt]=ge,Ct=o.useMemo(()=>({gutter:[Qe,pt],wrap:j,supportFlexGap:O}),[Qe,pt,j,O]);return de(o.createElement(l.Z.Provider,{value:Ct},o.createElement("div",Object.assign({},K,{className:be,style:Object.assign(Object.assign({},Te),B),ref:C}),D)))});y.Z=S},58378:function(b,y,e){"use strict";e.d(y,{V:function(){return c},c:function(){return m}});var a=e(52628),t=e(22151);const o=g=>{const{componentCls:M}=g;return{[M]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},s=g=>{const{componentCls:M}=g;return{[M]:{position:"relative",maxWidth:"100%",minHeight:1}}},n=(g,M)=>{const{componentCls:h,gridColumns:S}=g,w={};for(let C=S;C>=0;C--)C===0?(w[`${h}${M}-${C}`]={display:"none"},w[`${h}-push-${C}`]={insetInlineStart:"auto"},w[`${h}-pull-${C}`]={insetInlineEnd:"auto"},w[`${h}${M}-push-${C}`]={insetInlineStart:"auto"},w[`${h}${M}-pull-${C}`]={insetInlineEnd:"auto"},w[`${h}${M}-offset-${C}`]={marginInlineStart:0},w[`${h}${M}-order-${C}`]={order:0}):(w[`${h}${M}-${C}`]={display:"block",flex:`0 0 ${C/S*100}%`,maxWidth:`${C/S*100}%`},w[`${h}${M}-push-${C}`]={insetInlineStart:`${C/S*100}%`},w[`${h}${M}-pull-${C}`]={insetInlineEnd:`${C/S*100}%`},w[`${h}${M}-offset-${C}`]={marginInlineStart:`${C/S*100}%`},w[`${h}${M}-order-${C}`]={order:C});return w},d=(g,M)=>n(g,M),l=(g,M,h)=>({[`@media (min-width: ${M}px)`]:Object.assign({},d(g,h))}),c=(0,a.Z)("Grid",g=>[o(g)]),m=(0,a.Z)("Grid",g=>{const M=(0,t.TS)(g,{gridColumns:24}),h={"-sm":M.screenSMMin,"-md":M.screenMDMin,"-lg":M.screenLGMin,"-xl":M.screenXLMin,"-xxl":M.screenXXLMin};return[s(M),d(M,""),d(M,"-xs"),Object.keys(h).map(S=>l(M,h[S],S)).reduce((S,w)=>Object.assign(Object.assign({},S),w),{})]})},32423:function(b,y,e){"use strict";e.d(y,{Z:function(){return re}});var a=e(10130),t=e(23926),o=e(87608),s=e.n(o),n=e(60698),d=e(37734),l=e(38790),c=e(28314),m=e(47075),g=e(60412),M=e(14346);function h(){return typeof BigInt=="function"}function S(se){return!se&&se!==0&&!Number.isNaN(se)||!String(se).trim()}function w(se){var J=se.trim(),ce=J.startsWith("-");ce&&(J=J.slice(1)),J=J.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),J.startsWith(".")&&(J="0".concat(J));var xe=J||"0",ue=xe.split("."),Ne=ue[0]||"0",Oe=ue[1]||"0";Ne==="0"&&Oe==="0"&&(ce=!1);var we=ce?"-":"";return{negative:ce,negativeStr:we,trimStr:xe,integerStr:Ne,decimalStr:Oe,fullStr:"".concat(we).concat(xe)}}function C(se){var J=String(se);return!Number.isNaN(Number(J))&&J.includes("e")}function z(se){var J=String(se);if(C(se)){var ce=Number(J.slice(J.indexOf("e-")+2)),xe=J.match(/\.(\d+)/);return xe!=null&&xe[1]&&(ce+=xe[1].length),ce}return J.includes(".")&&N(J)?J.length-J.indexOf(".")-1:0}function $(se){var J=String(se);if(C(se)){if(se>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(se).toString():Number.MAX_SAFE_INTEGER);if(se0&&arguments[0]!==void 0?arguments[0]:!0;return ce?this.isInvalidate()?"":w("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),se}(),B=function(){function se(J){if((0,g.Z)(this,se),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),S(J)){this.empty=!0;return}this.origin=String(J),this.number=Number(J)}return(0,M.Z)(se,[{key:"negate",value:function(){return new se(-this.toNumber())}},{key:"add",value:function(ce){if(this.isInvalidate())return new se(ce);var xe=Number(ce);if(Number.isNaN(xe))return this;var ue=this.number+xe;if(ue>Number.MAX_SAFE_INTEGER)return new se(Number.MAX_SAFE_INTEGER);if(ueNumber.MAX_SAFE_INTEGER)return new se(Number.MAX_SAFE_INTEGER);if(ue0&&arguments[0]!==void 0?arguments[0]:!0;return ce?this.isInvalidate()?"":$(this.number):this.origin}}]),se}();function D(se){return h()?new L(se):new B(se)}function T(se,J,ce){var xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(se==="")return"";var ue=w(se),Ne=ue.negativeStr,Oe=ue.integerStr,we=ue.decimalStr,Re="".concat(J).concat(we),st="".concat(Ne).concat(Oe);if(ce>=0){var tt=Number(we[ce]);if(tt>=5&&!xe){var Ye=D(se).add("".concat(Ne,"0.").concat("0".repeat(ce)).concat(10-tt));return T(Ye.toString(),J,ce,xe)}return ce===0?st:"".concat(st).concat(J).concat(we.padEnd(ce,"0").slice(0,ce))}return Re===".0"?st:"".concat(st).concat(Re)}var j=D,K=e(19570),k=e(81334),te=e(21319),Y=e(58757),q=e(75556);function le(se,J){var ce=(0,Y.useRef)(null);function xe(){try{var Ne=se.selectionStart,Oe=se.selectionEnd,we=se.value,Re=we.substring(0,Ne),st=we.substring(Oe);ce.current={start:Ne,end:Oe,value:we,beforeTxt:Re,afterTxt:st}}catch(tt){}}function ue(){if(se&&ce.current&&J)try{var Ne=se.value,Oe=ce.current,we=Oe.beforeTxt,Re=Oe.afterTxt,st=Oe.start,tt=Ne.length;if(Ne.endsWith(Re))tt=Ne.length-ce.current.afterTxt.length;else if(Ne.startsWith(we))tt=we.length;else{var Ye=we[st-1],ke=Ne.indexOf(Ye,st-1);ke!==-1&&(tt=ke+1)}se.setSelectionRange(tt,tt)}catch(Be){(0,q.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Be.message))}}return[xe,ue]}var X=e(21618),W=function(){var J=(0,Y.useState)(!1),ce=(0,c.Z)(J,2),xe=ce[0],ue=ce[1];return(0,k.Z)(function(){ue((0,X.Z)())},[]),xe},x=W,O=e(61834),_=200,U=600;function A(se){var J=se.prefixCls,ce=se.upNode,xe=se.downNode,ue=se.upDisabled,Ne=se.downDisabled,Oe=se.onStep,we=Y.useRef(),Re=Y.useRef([]),st=Y.useRef();st.current=Oe;var tt=function(){clearTimeout(we.current)},Ye=function(jt,Yt){jt.preventDefault(),tt(),st.current(Yt);function yt(){st.current(Yt),we.current=setTimeout(yt,_)}we.current=setTimeout(yt,U)};Y.useEffect(function(){return function(){tt(),Re.current.forEach(function(wt){return O.Z.cancel(wt)})}},[]);var ke=x();if(ke)return null;var Be="".concat(J,"-handler"),it=s()(Be,"".concat(Be,"-up"),(0,d.Z)({},"".concat(Be,"-up-disabled"),ue)),Ve=s()(Be,"".concat(Be,"-down"),(0,d.Z)({},"".concat(Be,"-down-disabled"),Ne)),It=function(){return Re.current.push((0,O.Z)(tt))},_t={unselectable:"on",role:"button",onMouseUp:It,onMouseLeave:It};return Y.createElement("div",{className:"".concat(Be,"-wrap")},Y.createElement("span",(0,n.Z)({},_t,{onMouseDown:function(jt){Ye(jt,!0)},"aria-label":"Increase Value","aria-disabled":ue,className:it}),ce||Y.createElement("span",{unselectable:"on",className:"".concat(J,"-handler-up-inner")})),Y.createElement("span",(0,n.Z)({},_t,{onMouseDown:function(jt){Ye(jt,!1)},"aria-label":"Decrease Value","aria-disabled":Ne,className:Ve}),xe||Y.createElement("span",{unselectable:"on",className:"".concat(J,"-handler-down-inner")})))}function G(se){var J=typeof se=="number"?$(se):w(se).fullStr,ce=J.includes(".");return ce?w(J.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:se+"0"}var de=e(33615),he=function(){var se=(0,Y.useRef)(0),J=function(){O.Z.cancel(se.current)};return(0,Y.useEffect)(function(){return J},[]),function(ce){J(),se.current=(0,O.Z)(function(){ce()})}},ge=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],be=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Te=function(J,ce){return J||ce.isEmpty()?ce.toString():ce.toNumber()},Ge=function(J){var ce=j(J);return ce.isInvalidate()?null:ce},Je=Y.forwardRef(function(se,J){var ce,xe=se.prefixCls,ue=xe===void 0?"rc-input-number":xe,Ne=se.className,Oe=se.style,we=se.min,Re=se.max,st=se.step,tt=st===void 0?1:st,Ye=se.defaultValue,ke=se.value,Be=se.disabled,it=se.readOnly,Ve=se.upHandler,It=se.downHandler,_t=se.keyboard,wt=se.controls,jt=wt===void 0?!0:wt,Yt=se.classNames,yt=se.stringMode,ze=se.parser,nt=se.formatter,Et=se.precision,lt=se.decimalSeparator,Gt=se.onChange,Rt=se.onInput,Ot=se.onPressEnter,Ie=se.onStep,Se=(0,m.Z)(se,ge),bt="".concat(ue,"-input"),Pt=Y.useRef(null),He=Y.useState(!1),qe=(0,c.Z)(He,2),Zt=qe[0],Ut=qe[1],qt=Y.useRef(!1),ln=Y.useRef(!1),En=Y.useRef(!1),mn=Y.useState(function(){return j(ke!=null?ke:Ye)}),Yn=(0,c.Z)(mn,2),Gn=Yn[0],ir=Yn[1];function mr(Zn){ke===void 0&&ir(Zn)}var Ft=Y.useCallback(function(Zn,On){if(!On)return Et>=0?Et:Math.max(z(Zn),z(tt))},[Et,tt]),en=Y.useCallback(function(Zn){var On=String(Zn);if(ze)return ze(On);var Tn=On;return lt&&(Tn=Tn.replace(lt,".")),Tn.replace(/[^\w.-]+/g,"")},[ze,lt]),rn=Y.useRef(""),fn=Y.useCallback(function(Zn,On){if(nt)return nt(Zn,{userTyping:On,input:String(rn.current)});var Tn=typeof Zn=="number"?$(Zn):Zn;if(!On){var ar=Ft(Tn,On);if(N(Tn)&&(lt||ar>=0)){var br=lt||".";Tn=T(Tn,br,ar)}}return Tn},[nt,Ft,lt]),In=Y.useState(function(){var Zn=Ye!=null?Ye:ke;return Gn.isInvalidate()&&["string","number"].includes((0,l.Z)(Zn))?Number.isNaN(Zn)?"":Zn:fn(Gn.toString(),!1)}),on=(0,c.Z)(In,2),mt=on[0],gt=on[1];rn.current=mt;function sn(Zn,On){gt(fn(Zn.isInvalidate()?Zn.toString(!1):Zn.toString(!On),On))}var Qt=Y.useMemo(function(){return Ge(Re)},[Re,Et]),tn=Y.useMemo(function(){return Ge(we)},[we,Et]),yn=Y.useMemo(function(){return!Qt||!Gn||Gn.isInvalidate()?!1:Qt.lessEquals(Gn)},[Qt,Gn]),vn=Y.useMemo(function(){return!tn||!Gn||Gn.isInvalidate()?!1:Gn.lessEquals(tn)},[tn,Gn]),Wn=le(Pt.current,Zt),tr=(0,c.Z)(Wn,2),ut=tr[0],ct=tr[1],At=function(On){return Qt&&!On.lessEquals(Qt)?Qt:tn&&!tn.lessEquals(On)?tn:null},xt=function(On){return!At(On)},kt=function(On,Tn){var ar=On,br=xt(ar)||ar.isEmpty();if(!ar.isEmpty()&&!Tn&&(ar=At(ar)||ar,br=!0),!it&&!Be&&br){var Kr=ar.toString(),ra=Ft(Kr,Tn);return ra>=0&&(ar=j(T(Kr,".",ra)),xt(ar)||(ar=j(T(Kr,".",ra,!0)))),ar.equals(Gn)||(mr(ar),Gt==null||Gt(ar.isEmpty()?null:Te(yt,ar)),ke===void 0&&sn(ar,Tn)),ar}return Gn},un=he(),nn=function Zn(On){if(ut(),rn.current=On,gt(On),!ln.current){var Tn=en(On),ar=j(Tn);ar.isNaN()||kt(ar,!0)}Rt==null||Rt(On),un(function(){var br=On;ze||(br=On.replace(/。/g,".")),br!==On&&Zn(br)})},An=function(){ln.current=!0},zn=function(){ln.current=!1,nn(Pt.current.value)},Er=function(On){nn(On.target.value)},nr=function(On){var Tn;if(!(On&&yn||!On&&vn)){qt.current=!1;var ar=j(En.current?G(tt):tt);On||(ar=ar.negate());var br=(Gn||j(0)).add(ar.toString()),Kr=kt(br,!1);Ie==null||Ie(Te(yt,Kr),{offset:En.current?G(tt):tt,type:On?"up":"down"}),(Tn=Pt.current)===null||Tn===void 0||Tn.focus()}},Fn=function(On){var Tn=j(en(mt)),ar=Tn;Tn.isNaN()?ar=kt(Gn,On):ar=kt(Tn,On),ke!==void 0?sn(Gn,!1):ar.isNaN()||sn(ar,!1)},kr=function(){qt.current=!0},hr=function(On){var Tn=On.key,ar=On.shiftKey;qt.current=!0,En.current=ar,Tn==="Enter"&&(ln.current||(qt.current=!1),Fn(!1),Ot==null||Ot(On)),_t!==!1&&!ln.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Tn)&&(nr(Tn==="Up"||Tn==="ArrowUp"),On.preventDefault())},la=function(){qt.current=!1,En.current=!1},zr=function(){Fn(!1),Ut(!1),qt.current=!1};return(0,k.o)(function(){Gn.isInvalidate()||sn(Gn,!1)},[Et]),(0,k.o)(function(){var Zn=j(ke);ir(Zn);var On=j(en(mt));(!Zn.equals(On)||!qt.current||nt)&&sn(Zn,qt.current)},[ke]),(0,k.o)(function(){nt&&ct()},[mt]),Y.createElement("div",{className:s()(ue,Yt==null?void 0:Yt.input,Ne,(ce={},(0,d.Z)(ce,"".concat(ue,"-focused"),Zt),(0,d.Z)(ce,"".concat(ue,"-disabled"),Be),(0,d.Z)(ce,"".concat(ue,"-readonly"),it),(0,d.Z)(ce,"".concat(ue,"-not-a-number"),Gn.isNaN()),(0,d.Z)(ce,"".concat(ue,"-out-of-range"),!Gn.isInvalidate()&&!xt(Gn)),ce)),style:Oe,onFocus:function(){Ut(!0)},onBlur:zr,onKeyDown:hr,onKeyUp:la,onCompositionStart:An,onCompositionEnd:zn,onBeforeInput:kr},jt&&Y.createElement(A,{prefixCls:ue,upNode:Ve,downNode:It,upDisabled:yn,downDisabled:vn,onStep:nr}),Y.createElement("div",{className:"".concat(bt,"-wrap")},Y.createElement("input",(0,n.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":we,"aria-valuemax":Re,"aria-valuenow":Gn.isInvalidate()?null:Gn.toString(),step:tt},Se,{ref:(0,te.sQ)(Pt,J),className:bt,value:mt,onChange:Er,disabled:Be,readOnly:it}))))}),Qe=Y.forwardRef(function(se,J){var ce=se.disabled,xe=se.style,ue=se.prefixCls,Ne=se.value,Oe=se.prefix,we=se.suffix,Re=se.addonBefore,st=se.addonAfter,tt=se.classes,Ye=se.className,ke=se.classNames,Be=(0,m.Z)(se,be),it=Y.useRef(null),Ve=function(_t){it.current&&(0,de.nH)(it.current,_t)};return Y.createElement(K.Q,{inputElement:Y.createElement(Je,(0,n.Z)({prefixCls:ue,disabled:ce,classNames:ke,ref:(0,te.sQ)(it,J)},Be)),className:Ye,triggerFocus:Ve,prefixCls:ue,value:Ne,disabled:ce,style:xe,prefix:Oe,suffix:we,addonAfter:st,addonBefore:Re,classes:tt,classNames:ke,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Qe.displayName="InputNumber";var pt=Qe,Ct=pt,ft=e(41496),Ht=e(61836),Ze=e(42505),Xe=e(92428),rt=e(58785),Ke=e(81496),ye=e(43528),ne=e(46902),H=e(78330),R=e(64493),P=e(52628);const ae=(se,J)=>{let{componentCls:ce,borderRadiusSM:xe,borderRadiusLG:ue}=se;const Ne=J==="lg"?ue:xe;return{[`&-${J}`]:{[`${ce}-handler-wrap`]:{borderStartEndRadius:Ne,borderEndEndRadius:Ne},[`${ce}-handler-up`]:{borderStartEndRadius:Ne},[`${ce}-handler-down`]:{borderEndEndRadius:Ne}}}},Q=se=>{const{componentCls:J,lineWidth:ce,lineType:xe,colorBorder:ue,borderRadius:Ne,fontSizeLG:Oe,controlHeightLG:we,controlHeightSM:Re,colorError:st,inputPaddingHorizontalSM:tt,colorTextDescription:Ye,motionDurationMid:ke,colorPrimary:Be,inputPaddingHorizontal:it,inputPaddingVertical:Ve,colorBgContainer:It,colorTextDisabled:_t,borderRadiusSM:wt,borderRadiusLG:jt,controlWidth:Yt,handleVisible:yt}=se;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,H.Wf)(se)),(0,ne.ik)(se)),(0,ne.bi)(se,J)),{display:"inline-block",width:Yt,margin:0,padding:0,border:`${ce}px ${xe} ${ue}`,borderRadius:Ne,"&-rtl":{direction:"rtl",[`${J}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Oe,borderRadius:jt,[`input${J}-input`]:{height:we-2*ce}},"&-sm":{padding:0,borderRadius:wt,[`input${J}-input`]:{height:Re-2*ce,padding:`0 ${tt}px`}},"&:hover":Object.assign({},(0,ne.pU)(se)),"&-focused":Object.assign({},(0,ne.M1)(se)),"&-out-of-range":{[`${J}-input-wrap`]:{input:{color:st}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,H.Wf)(se)),(0,ne.s7)(se)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${J}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${J}-group-addon`]:{borderRadius:jt,fontSize:se.fontSizeLG}},"&-sm":{[`${J}-group-addon`]:{borderRadius:wt}},[`${J}-wrapper-disabled > ${J}-group-addon`]:Object.assign({},(0,ne.Xy)(se))}}),[`&-disabled ${J}-input`]:{cursor:"not-allowed"},[J]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,H.Wf)(se)),{width:"100%",padding:`${Ve}px ${it}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Ne,outline:0,transition:`all ${ke} linear`,appearance:"textfield",fontSize:"inherit"}),(0,ne.nz)(se.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[J]:Object.assign(Object.assign(Object.assign({[`&:hover ${J}-handler-wrap, &-focused ${J}-handler-wrap`]:{opacity:1},[`${J}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:se.handleWidth,height:"100%",background:It,borderStartStartRadius:0,borderStartEndRadius:Ne,borderEndEndRadius:Ne,borderEndStartRadius:0,opacity:yt===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${ke} linear ${ke}`,[`${J}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${Se.controlOutlineWidth}px ${Se.controlOutline}`},output:{display:"block",paddingTop:15,color:Se.colorText,fontSize:Se.fontSize,lineHeight:Se.lineHeight}}),Z=(Se,bt)=>{const{formItemCls:jt}=Se;return{[jt]:{[`${jt}-label > label`]:{height:bt},[`${jt}-control-input`]:{minHeight:bt}}}},N=Se=>{const{componentCls:bt}=Se;return{[Se.componentCls]:Object.assign(Object.assign(Object.assign({},(0,m.Wf)(Se)),F(Se)),{[`${bt}-text`]:{display:"inline-block",paddingInlineEnd:Se.paddingSM},"&-small":Object.assign({},Z(Se,Se.controlHeightSM)),"&-large":Object.assign({},Z(Se,Se.controlHeightLG))})}},L=Se=>{const{formItemCls:bt,iconCls:jt,componentCls:He,rootPrefixCls:qe}=Se;return{[bt]:Object.assign(Object.assign({},(0,m.Wf)(Se)),{marginBottom:Se.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${qe}-row`]:{display:"none"},"&-has-warning":{[`${bt}-split`]:{color:Se.colorError}},"&-has-error":{[`${bt}-split`]:{color:Se.colorWarning}},[`${bt}-label`]:{display:"inline-block",flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${Se.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:Se.controlHeight,color:Se.colorTextHeading,fontSize:Se.fontSize,[`> ${jt}`]:{fontSize:Se.fontSize,verticalAlign:"top"},[`&${bt}-required:not(${bt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:Se.marginXXS,color:Se.colorError,fontSize:Se.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${He}-hide-required-mark &`]:{display:"none"}},[`${bt}-optional`]:{display:"inline-block",marginInlineStart:Se.marginXXS,color:Se.colorTextDescription,[`${He}-hide-required-mark &`]:{display:"none"}},[`${bt}-tooltip`]:{color:Se.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:Se.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Se.marginXXS/2,marginInlineEnd:Se.marginXS},[`&${bt}-no-colon::after`]:{content:'"\\a0"'}}},[`${bt}-control`]:{display:"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${qe}-col-'"]):not([class*="' ${qe}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:Se.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[bt]:{"&-explain, &-extra":{clear:"both",color:Se.colorTextDescription,fontSize:Se.fontSize,lineHeight:Se.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:Se.controlHeightSM,transition:`color ${Se.motionDurationMid} ${Se.motionEaseOut}`},"&-explain":{"&-error":{color:Se.colorError},"&-warning":{color:Se.colorWarning}}},[`&-with-help ${bt}-explain`]:{height:"auto",opacity:1},[`${bt}-feedback-icon`]:{fontSize:Se.fontSize,textAlign:"center",visibility:"visible",animationName:g.kr,animationDuration:Se.motionDurationMid,animationTimingFunction:Se.motionEaseOutBack,pointerEvents:"none","&-success":{color:Se.colorSuccess},"&-error":{color:Se.colorError},"&-warning":{color:Se.colorWarning},"&-validating":{color:Se.colorPrimary}}})}},$=Se=>{const{componentCls:bt,formItemCls:jt,rootPrefixCls:He}=Se;return{[`${bt}-horizontal`]:{[`${jt}-label`]:{flexGrow:0},[`${jt}-control`]:{flex:"1 1 0",minWidth:0},[`${jt}-label.${He}-col-24 + ${jt}-control`]:{minWidth:"unset"}}}},D=Se=>{const{componentCls:bt,formItemCls:jt}=Se;return{[`${bt}-inline`]:{display:"flex",flexWrap:"wrap",[jt]:{flex:"none",marginInlineEnd:Se.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${jt}-label, + > ${jt}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${jt}-label`]:{flex:"none"},[`${bt}-text`]:{display:"inline-block"},[`${jt}-has-feedback`]:{display:"inline-block"}}}}},T=Se=>({padding:`0 0 ${Se.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),j=Se=>{const{componentCls:bt,formItemCls:jt,rootPrefixCls:He}=Se;return{[`${jt} ${jt}-label`]:T(Se),[bt]:{[jt]:{flexWrap:"wrap",[`${jt}-label, ${jt}-control`]:{[`&:not([class*=" ${He}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},K=Se=>{const{componentCls:bt,formItemCls:jt,rootPrefixCls:He}=Se;return{[`${bt}-vertical`]:{[jt]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${bt}-item-control`]:{width:"100%"}}},[`${bt}-vertical ${jt}-label, + .${He}-col-24${jt}-label, + .${He}-col-xl-24${jt}-label`]:T(Se),[`@media (max-width: ${Se.screenXSMax}px)`]:[j(Se),{[bt]:{[`.${He}-col-xs-24${jt}-label`]:T(Se)}}],[`@media (max-width: ${Se.screenSMMax}px)`]:{[bt]:{[`.${He}-col-sm-24${jt}-label`]:T(Se)}},[`@media (max-width: ${Se.screenMDMax}px)`]:{[bt]:{[`.${He}-col-md-24${jt}-label`]:T(Se)}},[`@media (max-width: ${Se.screenLGMax}px)`]:{[bt]:{[`.${He}-col-lg-24${jt}-label`]:T(Se)}}}};var k=(0,h.Z)("Form",(Se,bt)=>{let{rootPrefixCls:jt}=bt;const He=(0,S.TS)(Se,{formItemCls:`${Se.componentCls}-item`,rootPrefixCls:jt});return[N(He),L(He),C(He),$(He),D(He),K(He),(0,M.Z)(He),g.kr]});const te=[];function V(Se,bt,jt){let He=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof Se=="string"?Se:`${bt}-${He}`,error:Se,errorStatus:jt}}var le=Se=>{let{help:bt,helpStatus:jt,errors:He=te,warnings:qe=te,className:$t,fieldId:Zt,onVisibleChanged:qt}=Se;const{prefixCls:un}=n.useContext(l.Rk),xn=`${un}-item-explain`,[,pn]=k(un),Gn=(0,n.useMemo)(()=>(0,d.Z)(un),[un]),Qn=c(He),ur=c(qe),br=n.useMemo(()=>bt!=null?[V(bt,"help",jt)]:[].concat((0,a.Z)(Qn.map((en,an)=>V(en,"error","error",an))),(0,a.Z)(ur.map((en,an)=>V(en,"warning","warning",an)))),[bt,jt,Qn,ur]),zt={};return Zt&&(zt.id=`${Zt}_help`),n.createElement(s.ZP,{motionDeadline:Gn.motionDeadline,motionName:`${un}-show-help`,visible:!!br.length,onVisibleChanged:qt},en=>{const{className:an,style:vn}=en;return n.createElement("div",Object.assign({},zt,{className:o()(xn,an,$t,pn),style:vn,role:"alert"}),n.createElement(s.V4,Object.assign({keys:br},(0,d.Z)(un),{motionName:`${un}-show-help-item`,component:!1}),An=>{const{key:sn,error:mt,errorStatus:gt,className:ln,style:Qt}=An;return n.createElement("div",{key:sn,className:o()(ln,{[`${xn}-${gt}`]:gt}),style:Qt},mt)}))})},X=e(94866),W=e(61836),x=e(92428),O=e(33446),_=e(58785),U=e(18591);const A=["parentNode"],G="form_item";function fe(Se){return Se===void 0||Se===!1?[]:Array.isArray(Se)?Se:[Se]}function pe(Se,bt){if(!Se.length)return;const jt=Se.join("_");return bt?`${bt}_${jt}`:A.includes(jt)?`${G}_${jt}`:jt}function ge(Se){return fe(Se).join("_")}function be(Se){const[bt]=(0,X.cI)(),jt=n.useRef({}),He=n.useMemo(()=>Se!=null?Se:Object.assign(Object.assign({},bt),{__INTERNAL__:{itemRef:qe=>$t=>{const Zt=ge(qe);$t?jt.current[Zt]=$t:delete jt.current[Zt]}},scrollToField:function(qe){let $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Zt=fe(qe),qt=pe(Zt,He.__INTERNAL__.name),un=qt?document.getElementById(qt):null;un&&(0,U.Z)(un,Object.assign({scrollMode:"if-needed",block:"nearest"},$t))},getFieldInstance:qe=>{const $t=ge(qe);return jt.current[$t]}}),[Se,bt]);return[He]}var Te=e(48736),Ge=function(Se,bt){var jt={};for(var He in Se)Object.prototype.hasOwnProperty.call(Se,He)&&bt.indexOf(He)<0&&(jt[He]=Se[He]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(Se);qe{const jt=n.useContext(x.Z),{getPrefixCls:He,direction:qe,form:$t}=n.useContext(W.E_),{prefixCls:Zt,className:qt,rootClassName:un,size:xn,disabled:pn=jt,form:Gn,colon:Qn,labelAlign:ur,labelWrap:br,labelCol:zt,wrapperCol:en,hideRequiredMark:an,layout:vn="horizontal",scrollToFirstError:An,requiredMark:sn,onFinishFailed:mt,name:gt,style:ln}=Se,Qt=Ge(Se,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),tn=(0,_.Z)(xn),yn=n.useContext(Te.Z),gn=(0,n.useMemo)(()=>sn!==void 0?sn:$t&&$t.requiredMark!==void 0?$t.requiredMark:!an,[an,sn,$t]),_n=Qn!=null?Qn:$t==null?void 0:$t.colon,nr=He("form",Zt),[ut,ct]=k(nr),It=o()(nr,`${nr}-${vn}`,{[`${nr}-hide-required-mark`]:gn===!1,[`${nr}-rtl`]:qe==="rtl",[`${nr}-${tn}`]:tn},ct,$t==null?void 0:$t.className,qt,un),[Ct]=be(Gn),{__INTERNAL__:Ut}=Ct;Ut.name=gt;const cn=(0,n.useMemo)(()=>({name:gt,labelAlign:ur,labelCol:zt,labelWrap:br,wrapperCol:en,vertical:vn==="vertical",colon:_n,requiredMark:gn,itemRef:Ut.itemRef,form:Ct}),[gt,ur,zt,en,vn,_n,gn,Ct]);n.useImperativeHandle(bt,()=>Ct);const rn=(Bn,Cr)=>{if(Bn){let rr={block:"nearest"};typeof Bn=="object"&&(rr=Bn),Ct.scrollToField(Cr,rr)}},Dn=Bn=>{if(mt==null||mt(Bn),Bn.errorFields.length){const Cr=Bn.errorFields[0].name;if(An!==void 0){rn(An,Cr);return}$t&&$t.scrollToFirstError!==void 0&&rn($t.scrollToFirstError,Cr)}};return ut(n.createElement(x.n,{disabled:pn},n.createElement(O.q,{size:tn},n.createElement(l.RV,{validateMessages:yn},n.createElement(l.q3.Provider,{value:cn},n.createElement(X.ZP,Object.assign({id:gt},Qt,{name:gt,onFinishFailed:Dn,form:Ct,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),ln),className:It})))))))};var pt=n.forwardRef(Je),Et=e(13989),ft=e(21319),Wt=e(37047);const $e=()=>{const{status:Se,errors:bt=[],warnings:jt=[]}=(0,n.useContext)(l.aM);return{status:Se,errors:bt,warnings:jt}};$e.Context=l.aM;var Xe=$e,nt=e(61834);function Ke(Se){const[bt,jt]=n.useState(Se),He=(0,n.useRef)(null),qe=(0,n.useRef)([]),$t=(0,n.useRef)(!1);n.useEffect(()=>($t.current=!1,()=>{$t.current=!0,nt.Z.cancel(He.current),He.current=null}),[]);function Zt(qt){$t.current||(He.current===null&&(qe.current=[],He.current=(0,nt.Z)(()=>{He.current=null,jt(un=>{let xn=un;return qe.current.forEach(pn=>{xn=pn(xn)}),xn})})),qe.current.push(qt))}return[bt,Zt]}function ye(){const{itemRef:Se}=n.useContext(l.q3),bt=n.useRef({});function jt(He,qe){const $t=qe&&typeof qe=="object"&&qe.ref,Zt=He.join("_");return(bt.current.name!==Zt||bt.current.originRef!==$t)&&(bt.current.name=Zt,bt.current.originRef=$t,bt.current.ref=(0,ft.sQ)(Se(He),$t)),bt.current.ref}return jt}var ne=e(85678),H=e(79999),R=e(69831),P=e(25755),ae=e(81334),Q=e(46499),ie=e(98186),me=e(67665),je=e(91334),Me=Se=>{const{prefixCls:bt,status:jt,wrapperCol:He,children:qe,errors:$t,warnings:Zt,_internalItemRender:qt,extra:un,help:xn,fieldId:pn,marginBottom:Gn,onErrorVisibleChanged:Qn}=Se,ur=`${bt}-item`,br=n.useContext(l.q3),zt=He||br.wrapperCol||{},en=o()(`${ur}-control`,zt.className),an=n.useMemo(()=>Object.assign({},br),[br]);delete an.labelCol,delete an.wrapperCol;const vn=n.createElement("div",{className:`${ur}-control-input`},n.createElement("div",{className:`${ur}-control-input-content`},qe)),An=n.useMemo(()=>({prefixCls:bt,status:jt}),[bt,jt]),sn=Gn!==null||$t.length||Zt.length?n.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},n.createElement(l.Rk.Provider,{value:An},n.createElement(le,{fieldId:pn,errors:$t,warnings:Zt,help:xn,helpStatus:jt,className:`${ur}-explain-connected`,onVisibleChanged:Qn})),!!Gn&&n.createElement("div",{style:{width:0,height:Gn}})):null,mt={};pn&&(mt.id=`${pn}_extra`);const gt=un?n.createElement("div",Object.assign({},mt,{className:`${ur}-extra`}),un):null,ln=qt&&qt.mark==="pro_table_render"&&qt.render?qt.render(Se,{input:vn,errorList:sn,extra:gt}):n.createElement(n.Fragment,null,vn,sn,gt);return n.createElement(l.q3.Provider,{value:an},n.createElement(je.Z,Object.assign({},zt,{className:en}),ln))},We=e(60698),re={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},se=re,J=e(17202),de=function(bt,jt){return n.createElement(J.Z,(0,We.Z)({},bt,{ref:jt,icon:se}))},xe=n.forwardRef(de),ce=e(80076),Le=e(29487),Oe=e(74820),we=function(Se,bt){var jt={};for(var He in Se)Object.prototype.hasOwnProperty.call(Se,He)&&bt.indexOf(He)<0&&(jt[He]=Se[He]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(Se);qe{let{prefixCls:bt,label:jt,htmlFor:He,labelCol:qe,labelAlign:$t,colon:Zt,required:qt,requiredMark:un,tooltip:xn}=Se;var pn;const[Gn]=(0,Le.Z)("Form"),{vertical:Qn,labelAlign:ur,labelCol:br,labelWrap:zt,colon:en}=n.useContext(l.q3);if(!jt)return null;const an=qe||br||{},vn=$t||ur,An=`${bt}-item-label`,sn=o()(An,vn==="left"&&`${An}-left`,an.className,{[`${An}-wrap`]:!!zt});let mt=jt;const gt=Zt===!0||en!==!1&&Zt!==!1;gt&&!Qn&&typeof jt=="string"&&jt.trim()!==""&&(mt=jt.replace(/[:|:]\s*$/,""));const Qt=Ne(xn);if(Qt){const{icon:yn=n.createElement(xe,null)}=Qt,gn=we(Qt,["icon"]),_n=n.createElement(Oe.Z,Object.assign({},gn),n.cloneElement(yn,{className:`${bt}-item-tooltip`,title:""}));mt=n.createElement(n.Fragment,null,mt,_n)}un==="optional"&&!qt&&(mt=n.createElement(n.Fragment,null,mt,n.createElement("span",{className:`${bt}-item-optional`,title:""},(Gn==null?void 0:Gn.optional)||((pn=ce.Z.Form)===null||pn===void 0?void 0:pn.optional))));const tn=o()({[`${bt}-item-required`]:qt,[`${bt}-item-required-mark-optional`]:un==="optional",[`${bt}-item-no-colon`]:!gt});return n.createElement(je.Z,Object.assign({},an,{className:sn}),n.createElement("label",{htmlFor:He,className:tn,title:typeof jt=="string"?jt:""},mt))},Ye=function(Se,bt){var jt={};for(var He in Se)Object.prototype.hasOwnProperty.call(Se,He)&&bt.indexOf(He)<0&&(jt[He]=Se[He]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,He=Object.getOwnPropertySymbols(Se);qe{if(Qt&&sn.current){const Ct=getComputedStyle(sn.current);gn(parseInt(Ct.marginBottom,10))}},[Qt,tn]);const _n=Ct=>{Ct||gn(null)},ut=function(){let Ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ut="";const cn=Ct?mt:xn.errors,rn=Ct?gt:xn.warnings;return un!==void 0?Ut=un:xn.validating?Ut="validating":cn.length?Ut="error":rn.length?Ut="warning":(xn.touched||pn&&xn.validated)&&(Ut="success"),Ut}(),ct=n.useMemo(()=>{let Ct;if(pn){const Ut=ut&&ke[ut];Ct=Ut?n.createElement("span",{className:o()(`${vn}-feedback-icon`,`${vn}-feedback-icon-${ut}`)},n.createElement(Ut,null)):null}return{status:ut,errors:Zt,warnings:qt,hasFeedback:pn,feedbackIcon:Ct,isFormItemInput:!0}},[ut,pn]),It=o()(vn,jt,He,{[`${vn}-with-help`]:ln||mt.length||gt.length,[`${vn}-has-feedback`]:ut&&pn,[`${vn}-has-success`]:ut==="success",[`${vn}-has-warning`]:ut==="warning",[`${vn}-has-error`]:ut==="error",[`${vn}-is-validating`]:ut==="validating",[`${vn}-hidden`]:Gn});return n.createElement("div",{className:It,style:qe,ref:sn},n.createElement(me.Z,Object.assign({className:`${vn}-row`},(0,ie.Z)(an,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),n.createElement(et,Object.assign({htmlFor:ur},Se,{requiredMark:An,required:br!=null?br:zt,prefixCls:bt})),n.createElement(Me,Object.assign({},Se,xn,{errors:mt,warnings:gt,prefixCls:bt,status:ut,help:$t,marginBottom:yn,onErrorVisibleChanged:_n}),n.createElement(l.qI.Provider,{value:en},n.createElement(l.aM.Provider,{value:ct},Qn)))),!!yn&&n.createElement("div",{className:`${vn}-margin-offset`,style:{marginBottom:-yn}}))}var it=e(42156);function Ve(Se){if(typeof Se=="function")return Se;const bt=(0,it.Z)(Se);return bt.length<=1?bt[0]:bt}const xt="__SPLIT__",Ht=null,Ot=n.memo(Se=>{let{children:bt}=Se;return bt},(Se,bt)=>Se.value===bt.value&&Se.update===bt.update&&Se.childProps.length===bt.childProps.length&&Se.childProps.every((jt,He)=>jt===bt.childProps[He]));function wt(Se){return Se!=null}function _t(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function yt(Se){const{name:bt,noStyle:jt,className:He,dependencies:qe,prefixCls:$t,shouldUpdate:Zt,rules:qt,children:un,required:xn,label:pn,messageVariables:Gn,trigger:Qn="onChange",validateTrigger:ur,hidden:br,help:zt}=Se,{getPrefixCls:en}=n.useContext(W.E_),{name:an}=n.useContext(l.q3),vn=Ve(un),An=typeof vn=="function",sn=n.useContext(l.qI),{validateTrigger:mt}=n.useContext(X.zb),gt=ur!==void 0?ur:mt,ln=wt(bt),Qt=en("form",$t),[tn,yn]=k(Qt),gn=n.useContext(X.ZM),_n=n.useRef(),[nr,ut]=Ke({}),[ct,It]=(0,Et.Z)(()=>_t()),Ct=rr=>{const $n=gn==null?void 0:gn.getKey(rr.name);if(It(rr.destroy?_t():rr,!0),jt&&zt!==!1&&sn){let kr=rr.name;if(rr.destroy)kr=_n.current||kr;else if($n!==void 0){const[Mr,ia]=$n;kr=[Mr].concat((0,a.Z)(ia)),_n.current=kr}sn(rr,kr)}},Ut=(rr,$n)=>{ut(kr=>{const Mr=Object.assign({},kr),zr=[].concat((0,a.Z)(rr.name.slice(0,-1)),(0,a.Z)($n)).join(xt);return rr.destroy?delete Mr[zr]:Mr[zr]=rr,Mr})},[cn,rn]=n.useMemo(()=>{const rr=(0,a.Z)(ct.errors),$n=(0,a.Z)(ct.warnings);return Object.values(nr).forEach(kr=>{rr.push.apply(rr,(0,a.Z)(kr.errors||[])),$n.push.apply($n,(0,a.Z)(kr.warnings||[]))}),[rr,$n]},[nr,ct.errors,ct.warnings]),Dn=ye();function Bn(rr,$n,kr){return jt&&!br?rr:n.createElement(Be,Object.assign({key:"row"},Se,{className:o()(He,yn),prefixCls:Qt,fieldId:$n,isRequired:kr,errors:cn,warnings:rn,meta:ct,onSubItemMetaChange:Ut}),rr)}if(!ln&&!An&&!qe)return tn(Bn(vn));let Cr={};return typeof pn=="string"?Cr.label=pn:bt&&(Cr.label=String(bt)),Gn&&(Cr=Object.assign(Object.assign({},Cr),Gn)),tn(n.createElement(X.gN,Object.assign({},Se,{messageVariables:Cr,trigger:Qn,validateTrigger:gt,onMetaChange:Ct}),(rr,$n,kr)=>{const Mr=fe(bt).length&&$n?$n.name:[],ia=pe(Mr,an),zr=xn!==void 0?xn:!!(qt&&qt.some(Rn=>{if(Rn&&typeof Rn=="object"&&Rn.required&&!Rn.warningOnly)return!0;if(typeof Rn=="function"){const sr=Rn(kr);return sr&&sr.required&&!sr.warningOnly}return!1})),Wn=Object.assign({},rr);let wn=null;if(Array.isArray(vn)&&ln)wn=vn;else if(!(An&&(!(Zt||qe)||ln))){if(!(qe&&!An&&!ln))if((0,Wt.l$)(vn)){const Rn=Object.assign(Object.assign({},vn.props),Wn);if(Rn.id||(Rn.id=ia),zt||cn.length>0||rn.length>0||Se.extra){const Kr=[];(zt||cn.length>0)&&Kr.push(`${ia}_help`),Se.extra&&Kr.push(`${ia}_extra`),Rn["aria-describedby"]=Kr.join(" ")}cn.length>0&&(Rn["aria-invalid"]="true"),zr&&(Rn["aria-required"]="true"),(0,ft.Yr)(vn)&&(Rn.ref=Dn(Mr,vn)),new Set([].concat((0,a.Z)(fe(Qn)),(0,a.Z)(fe(gt)))).forEach(Kr=>{Rn[Kr]=function(){for(var ta,ga,pr,Ur,Ma,ma=arguments.length,Yn=new Array(ma),Zn=0;Zn{var{prefixCls:bt,children:jt}=Se,He=St(Se,["prefixCls","children"]);const{getPrefixCls:qe}=n.useContext(W.E_),$t=qe("form",bt),Zt=n.useMemo(()=>({prefixCls:$t,status:"error"}),[$t]);return n.createElement(X.aV,Object.assign({},He),(qt,un,xn)=>n.createElement(l.Rk.Provider,{value:Zt},jt(qt.map(pn=>Object.assign(Object.assign({},pn),{fieldKey:pn.key})),un,{errors:xn.errors,warnings:xn.warnings})))};function Nt(){const{form:Se}=(0,n.useContext)(l.q3);return Se}const At=pt;At.Item=tt,At.List=Gt,At.ErrorList=le,At.useForm=be,At.useFormInstance=Nt,At.useWatch=X.qo,At.Provider=l.RV,At.create=()=>{};var Ie=At},48736:function(b,y,e){"use strict";var a=e(58757);y.Z=(0,a.createContext)(void 0)},35429:function(b,y,e){"use strict";var a=e(58757);const t=(0,a.createContext)({});y.Z=t},91334:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(35429),d=e(58378),l=function(M,h){var S={};for(var w in M)Object.prototype.hasOwnProperty.call(M,w)&&h.indexOf(w)<0&&(S[w]=M[w]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,w=Object.getOwnPropertySymbols(M);C{const{getPrefixCls:S,direction:w}=o.useContext(s.E_),{gutter:C,wrap:F,supportFlexGap:Z}=o.useContext(n.Z),{prefixCls:N,span:L,order:$,offset:D,push:T,pull:j,className:K,children:k,flex:te,style:V}=M,q=l(M,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),le=S("col",N),[X,W]=(0,d.c)(le);let x={};m.forEach(U=>{let A={};const G=M[U];typeof G=="number"?A.span=G:typeof G=="object"&&(A=G||{}),delete q[U],x=Object.assign(Object.assign({},x),{[`${le}-${U}-${A.span}`]:A.span!==void 0,[`${le}-${U}-order-${A.order}`]:A.order||A.order===0,[`${le}-${U}-offset-${A.offset}`]:A.offset||A.offset===0,[`${le}-${U}-push-${A.push}`]:A.push||A.push===0,[`${le}-${U}-pull-${A.pull}`]:A.pull||A.pull===0,[`${le}-${U}-flex-${A.flex}`]:A.flex||A.flex==="auto",[`${le}-rtl`]:w==="rtl"})});const O=t()(le,{[`${le}-${L}`]:L!==void 0,[`${le}-order-${$}`]:$,[`${le}-offset-${D}`]:D,[`${le}-push-${T}`]:T,[`${le}-pull-${j}`]:j},K,x,W),_={};if(C&&C[0]>0){const U=C[0]/2;_.paddingLeft=U,_.paddingRight=U}if(C&&C[1]>0&&!Z){const U=C[1]/2;_.paddingTop=U,_.paddingBottom=U}return te&&(_.flex=c(te),F===!1&&!_.minWidth&&(_.minWidth=0)),X(o.createElement("div",Object.assign({},q,{style:Object.assign(Object.assign({},_),V),className:O,ref:h}),k))});y.Z=g},60059:function(b,y,e){"use strict";var a=e(58757),t=e(81334),o=e(4459),s=e(87078);function n(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const l=(0,a.useRef)({}),c=(0,o.Z)(),m=(0,s.Z)();return(0,t.Z)(()=>{const g=m.subscribe(M=>{l.current=M,d&&c()});return()=>m.unsubscribe(g)},[]),l.current}y.Z=n},67665:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(69387),d=e(87078),l=e(35429),c=e(58378),m=function(w,C){var F={};for(var Z in w)Object.prototype.hasOwnProperty.call(w,Z)&&C.indexOf(Z)<0&&(F[Z]=w[Z]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,Z=Object.getOwnPropertySymbols(w);N{if(typeof w=="string"&&Z(w),typeof w=="object")for(let L=0;L{N()},[JSON.stringify(w),C]),F}const S=o.forwardRef((w,C)=>{const{prefixCls:F,justify:Z,align:N,className:L,style:$,children:D,gutter:T=0,wrap:j}=w,K=m(w,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:k,direction:te}=o.useContext(s.E_),[V,q]=o.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[le,X]=o.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),W=h(N,le),x=h(Z,le),O=(0,n.Z)(),_=o.useRef(T),U=(0,d.Z)();o.useEffect(()=>{const ft=U.subscribe(Wt=>{X(Wt);const $e=_.current||0;(!Array.isArray($e)&&typeof $e=="object"||Array.isArray($e)&&(typeof $e[0]=="object"||typeof $e[1]=="object"))&&q(Wt)});return()=>U.unsubscribe(ft)},[]);const A=()=>{const ft=[void 0,void 0];return(Array.isArray(T)?T:[T,void 0]).forEach(($e,Xe)=>{if(typeof $e=="object")for(let nt=0;nt0?ge[0]/-2:void 0,Je=ge[1]!=null&&ge[1]>0?ge[1]/-2:void 0;Ge&&(Te.marginLeft=Ge,Te.marginRight=Ge),O?[,Te.rowGap]=ge:Je&&(Te.marginTop=Je,Te.marginBottom=Je);const[Qe,pt]=ge,Et=o.useMemo(()=>({gutter:[Qe,pt],wrap:j,supportFlexGap:O}),[Qe,pt,j,O]);return fe(o.createElement(l.Z.Provider,{value:Et},o.createElement("div",Object.assign({},K,{className:be,style:Object.assign(Object.assign({},Te),$),ref:C}),D)))});y.Z=S},58378:function(b,y,e){"use strict";e.d(y,{V:function(){return c},c:function(){return m}});var a=e(52628),t=e(22151);const o=g=>{const{componentCls:M}=g;return{[M]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},s=g=>{const{componentCls:M}=g;return{[M]:{position:"relative",maxWidth:"100%",minHeight:1}}},n=(g,M)=>{const{componentCls:h,gridColumns:S}=g,w={};for(let C=S;C>=0;C--)C===0?(w[`${h}${M}-${C}`]={display:"none"},w[`${h}-push-${C}`]={insetInlineStart:"auto"},w[`${h}-pull-${C}`]={insetInlineEnd:"auto"},w[`${h}${M}-push-${C}`]={insetInlineStart:"auto"},w[`${h}${M}-pull-${C}`]={insetInlineEnd:"auto"},w[`${h}${M}-offset-${C}`]={marginInlineStart:0},w[`${h}${M}-order-${C}`]={order:0}):(w[`${h}${M}-${C}`]={display:"block",flex:`0 0 ${C/S*100}%`,maxWidth:`${C/S*100}%`},w[`${h}${M}-push-${C}`]={insetInlineStart:`${C/S*100}%`},w[`${h}${M}-pull-${C}`]={insetInlineEnd:`${C/S*100}%`},w[`${h}${M}-offset-${C}`]={marginInlineStart:`${C/S*100}%`},w[`${h}${M}-order-${C}`]={order:C});return w},d=(g,M)=>n(g,M),l=(g,M,h)=>({[`@media (min-width: ${M}px)`]:Object.assign({},d(g,h))}),c=(0,a.Z)("Grid",g=>[o(g)]),m=(0,a.Z)("Grid",g=>{const M=(0,t.TS)(g,{gridColumns:24}),h={"-sm":M.screenSMMin,"-md":M.screenMDMin,"-lg":M.screenLGMin,"-xl":M.screenXLMin,"-xxl":M.screenXXLMin};return[s(M),d(M,""),d(M,"-xs"),Object.keys(h).map(S=>l(M,h[S],S)).reduce((S,w)=>Object.assign(Object.assign({},S),w),{})]})},32423:function(b,y,e){"use strict";e.d(y,{Z:function(){return re}});var a=e(10130),t=e(23926),o=e(87608),s=e.n(o),n=e(60698),d=e(37734),l=e(38790),c=e(28314),m=e(47075),g=e(60412),M=e(14346);function h(){return typeof BigInt=="function"}function S(se){return!se&&se!==0&&!Number.isNaN(se)||!String(se).trim()}function w(se){var J=se.trim(),de=J.startsWith("-");de&&(J=J.slice(1)),J=J.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),J.startsWith(".")&&(J="0".concat(J));var xe=J||"0",ce=xe.split("."),Le=ce[0]||"0",Oe=ce[1]||"0";Le==="0"&&Oe==="0"&&(de=!1);var we=de?"-":"";return{negative:de,negativeStr:we,trimStr:xe,integerStr:Le,decimalStr:Oe,fullStr:"".concat(we).concat(xe)}}function C(se){var J=String(se);return!Number.isNaN(Number(J))&&J.includes("e")}function F(se){var J=String(se);if(C(se)){var de=Number(J.slice(J.indexOf("e-")+2)),xe=J.match(/\.(\d+)/);return xe!=null&&xe[1]&&(de+=xe[1].length),de}return J.includes(".")&&N(J)?J.length-J.indexOf(".")-1:0}function Z(se){var J=String(se);if(C(se)){if(se>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(se).toString():Number.MAX_SAFE_INTEGER);if(se0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":w("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),se}(),$=function(){function se(J){if((0,g.Z)(this,se),(0,d.Z)(this,"origin",""),(0,d.Z)(this,"number",void 0),(0,d.Z)(this,"empty",void 0),S(J)){this.empty=!0;return}this.origin=String(J),this.number=Number(J)}return(0,M.Z)(se,[{key:"negate",value:function(){return new se(-this.toNumber())}},{key:"add",value:function(de){if(this.isInvalidate())return new se(de);var xe=Number(de);if(Number.isNaN(xe))return this;var ce=this.number+xe;if(ce>Number.MAX_SAFE_INTEGER)return new se(Number.MAX_SAFE_INTEGER);if(ceNumber.MAX_SAFE_INTEGER)return new se(Number.MAX_SAFE_INTEGER);if(ce0&&arguments[0]!==void 0?arguments[0]:!0;return de?this.isInvalidate()?"":Z(this.number):this.origin}}]),se}();function D(se){return h()?new L(se):new $(se)}function T(se,J,de){var xe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(se==="")return"";var ce=w(se),Le=ce.negativeStr,Oe=ce.integerStr,we=ce.decimalStr,Ne="".concat(J).concat(we),st="".concat(Le).concat(Oe);if(de>=0){var et=Number(we[de]);if(et>=5&&!xe){var Ye=D(se).add("".concat(Le,"0.").concat("0".repeat(de)).concat(10-et));return T(Ye.toString(),J,de,xe)}return de===0?st:"".concat(st).concat(J).concat(we.padEnd(de,"0").slice(0,de))}return Ne===".0"?st:"".concat(st).concat(Ne)}var j=D,K=e(19570),k=e(81334),te=e(21319),V=e(58757),q=e(75556);function le(se,J){var de=(0,V.useRef)(null);function xe(){try{var Le=se.selectionStart,Oe=se.selectionEnd,we=se.value,Ne=we.substring(0,Le),st=we.substring(Oe);de.current={start:Le,end:Oe,value:we,beforeTxt:Ne,afterTxt:st}}catch(et){}}function ce(){if(se&&de.current&&J)try{var Le=se.value,Oe=de.current,we=Oe.beforeTxt,Ne=Oe.afterTxt,st=Oe.start,et=Le.length;if(Le.endsWith(Ne))et=Le.length-de.current.afterTxt.length;else if(Le.startsWith(we))et=we.length;else{var Ye=we[st-1],ke=Le.indexOf(Ye,st-1);ke!==-1&&(et=ke+1)}se.setSelectionRange(et,et)}catch(Be){(0,q.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Be.message))}}return[xe,ce]}var X=e(21618),W=function(){var J=(0,V.useState)(!1),de=(0,c.Z)(J,2),xe=de[0],ce=de[1];return(0,k.Z)(function(){ce((0,X.Z)())},[]),xe},x=W,O=e(61834),_=200,U=600;function A(se){var J=se.prefixCls,de=se.upNode,xe=se.downNode,ce=se.upDisabled,Le=se.downDisabled,Oe=se.onStep,we=V.useRef(),Ne=V.useRef([]),st=V.useRef();st.current=Oe;var et=function(){clearTimeout(we.current)},Ye=function(wt,_t){wt.preventDefault(),et(),st.current(_t);function yt(){st.current(_t),we.current=setTimeout(yt,_)}we.current=setTimeout(yt,U)};V.useEffect(function(){return function(){et(),Ne.current.forEach(function(Ot){return O.Z.cancel(Ot)})}},[]);var ke=x();if(ke)return null;var Be="".concat(J,"-handler"),it=s()(Be,"".concat(Be,"-up"),(0,d.Z)({},"".concat(Be,"-up-disabled"),ce)),Ve=s()(Be,"".concat(Be,"-down"),(0,d.Z)({},"".concat(Be,"-down-disabled"),Le)),xt=function(){return Ne.current.push((0,O.Z)(et))},Ht={unselectable:"on",role:"button",onMouseUp:xt,onMouseLeave:xt};return V.createElement("div",{className:"".concat(Be,"-wrap")},V.createElement("span",(0,n.Z)({},Ht,{onMouseDown:function(wt){Ye(wt,!0)},"aria-label":"Increase Value","aria-disabled":ce,className:it}),de||V.createElement("span",{unselectable:"on",className:"".concat(J,"-handler-up-inner")})),V.createElement("span",(0,n.Z)({},Ht,{onMouseDown:function(wt){Ye(wt,!1)},"aria-label":"Decrease Value","aria-disabled":Le,className:Ve}),xe||V.createElement("span",{unselectable:"on",className:"".concat(J,"-handler-down-inner")})))}function G(se){var J=typeof se=="number"?Z(se):w(se).fullStr,de=J.includes(".");return de?w(J.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:se+"0"}var fe=e(33615),pe=function(){var se=(0,V.useRef)(0),J=function(){O.Z.cancel(se.current)};return(0,V.useEffect)(function(){return J},[]),function(de){J(),se.current=(0,O.Z)(function(){de()})}},ge=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],be=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Te=function(J,de){return J||de.isEmpty()?de.toString():de.toNumber()},Ge=function(J){var de=j(J);return de.isInvalidate()?null:de},Je=V.forwardRef(function(se,J){var de,xe=se.prefixCls,ce=xe===void 0?"rc-input-number":xe,Le=se.className,Oe=se.style,we=se.min,Ne=se.max,st=se.step,et=st===void 0?1:st,Ye=se.defaultValue,ke=se.value,Be=se.disabled,it=se.readOnly,Ve=se.upHandler,xt=se.downHandler,Ht=se.keyboard,Ot=se.controls,wt=Ot===void 0?!0:Ot,_t=se.classNames,yt=se.stringMode,ze=se.parser,tt=se.formatter,St=se.precision,lt=se.decimalSeparator,Gt=se.onChange,Nt=se.onInput,At=se.onPressEnter,Ie=se.onStep,Se=(0,m.Z)(se,ge),bt="".concat(ce,"-input"),jt=V.useRef(null),He=V.useState(!1),qe=(0,c.Z)(He,2),$t=qe[0],Zt=qe[1],qt=V.useRef(!1),un=V.useRef(!1),xn=V.useRef(!1),pn=V.useState(function(){return j(ke!=null?ke:Ye)}),Gn=(0,c.Z)(pn,2),Qn=Gn[0],ur=Gn[1];function br(Wn){ke===void 0&&ur(Wn)}var zt=V.useCallback(function(Wn,wn){if(!wn)return St>=0?St:Math.max(F(Wn),F(et))},[St,et]),en=V.useCallback(function(Wn){var wn=String(Wn);if(ze)return ze(wn);var Rn=wn;return lt&&(Rn=Rn.replace(lt,".")),Rn.replace(/[^\w.-]+/g,"")},[ze,lt]),an=V.useRef(""),vn=V.useCallback(function(Wn,wn){if(tt)return tt(Wn,{userTyping:wn,input:String(an.current)});var Rn=typeof Wn=="number"?Z(Wn):Wn;if(!wn){var sr=zt(Rn,wn);if(N(Rn)&&(lt||sr>=0)){var Er=lt||".";Rn=T(Rn,Er,sr)}}return Rn},[tt,zt,lt]),An=V.useState(function(){var Wn=Ye!=null?Ye:ke;return Qn.isInvalidate()&&["string","number"].includes((0,l.Z)(Wn))?Number.isNaN(Wn)?"":Wn:vn(Qn.toString(),!1)}),sn=(0,c.Z)(An,2),mt=sn[0],gt=sn[1];an.current=mt;function ln(Wn,wn){gt(vn(Wn.isInvalidate()?Wn.toString(!1):Wn.toString(!wn),wn))}var Qt=V.useMemo(function(){return Ge(Ne)},[Ne,St]),tn=V.useMemo(function(){return Ge(we)},[we,St]),yn=V.useMemo(function(){return!Qt||!Qn||Qn.isInvalidate()?!1:Qt.lessEquals(Qn)},[Qt,Qn]),gn=V.useMemo(function(){return!tn||!Qn||Qn.isInvalidate()?!1:Qn.lessEquals(tn)},[tn,Qn]),_n=le(jt.current,$t),nr=(0,c.Z)(_n,2),ut=nr[0],ct=nr[1],It=function(wn){return Qt&&!wn.lessEquals(Qt)?Qt:tn&&!tn.lessEquals(wn)?tn:null},Ct=function(wn){return!It(wn)},Ut=function(wn,Rn){var sr=wn,Er=Ct(sr)||sr.isEmpty();if(!sr.isEmpty()&&!Rn&&(sr=It(sr)||sr,Er=!0),!it&&!Be&&Er){var Kr=sr.toString(),ta=zt(Kr,Rn);return ta>=0&&(sr=j(T(Kr,".",ta)),Ct(sr)||(sr=j(T(Kr,".",ta,!0)))),sr.equals(Qn)||(br(sr),Gt==null||Gt(sr.isEmpty()?null:Te(yt,sr)),ke===void 0&&ln(sr,Rn)),sr}return Qn},cn=pe(),rn=function Wn(wn){if(ut(),an.current=wn,gt(wn),!un.current){var Rn=en(wn),sr=j(Rn);sr.isNaN()||Ut(sr,!0)}Nt==null||Nt(wn),cn(function(){var Er=wn;ze||(Er=wn.replace(/。/g,".")),Er!==wn&&Wn(Er)})},Dn=function(){un.current=!0},Bn=function(){un.current=!1,rn(jt.current.value)},Cr=function(wn){rn(wn.target.value)},rr=function(wn){var Rn;if(!(wn&&yn||!wn&&gn)){qt.current=!1;var sr=j(xn.current?G(et):et);wn||(sr=sr.negate());var Er=(Qn||j(0)).add(sr.toString()),Kr=Ut(Er,!1);Ie==null||Ie(Te(yt,Kr),{offset:xn.current?G(et):et,type:wn?"up":"down"}),(Rn=jt.current)===null||Rn===void 0||Rn.focus()}},$n=function(wn){var Rn=j(en(mt)),sr=Rn;Rn.isNaN()?sr=Ut(Qn,wn):sr=Ut(Rn,wn),ke!==void 0?ln(Qn,!1):sr.isNaN()||ln(sr,!1)},kr=function(){qt.current=!0},Mr=function(wn){var Rn=wn.key,sr=wn.shiftKey;qt.current=!0,xn.current=sr,Rn==="Enter"&&(un.current||(qt.current=!1),$n(!1),At==null||At(wn)),Ht!==!1&&!un.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Rn)&&(rr(Rn==="Up"||Rn==="ArrowUp"),wn.preventDefault())},ia=function(){qt.current=!1,xn.current=!1},zr=function(){$n(!1),Zt(!1),qt.current=!1};return(0,k.o)(function(){Qn.isInvalidate()||ln(Qn,!1)},[St]),(0,k.o)(function(){var Wn=j(ke);ur(Wn);var wn=j(en(mt));(!Wn.equals(wn)||!qt.current||tt)&&ln(Wn,qt.current)},[ke]),(0,k.o)(function(){tt&&ct()},[mt]),V.createElement("div",{className:s()(ce,_t==null?void 0:_t.input,Le,(de={},(0,d.Z)(de,"".concat(ce,"-focused"),$t),(0,d.Z)(de,"".concat(ce,"-disabled"),Be),(0,d.Z)(de,"".concat(ce,"-readonly"),it),(0,d.Z)(de,"".concat(ce,"-not-a-number"),Qn.isNaN()),(0,d.Z)(de,"".concat(ce,"-out-of-range"),!Qn.isInvalidate()&&!Ct(Qn)),de)),style:Oe,onFocus:function(){Zt(!0)},onBlur:zr,onKeyDown:Mr,onKeyUp:ia,onCompositionStart:Dn,onCompositionEnd:Bn,onBeforeInput:kr},wt&&V.createElement(A,{prefixCls:ce,upNode:Ve,downNode:xt,upDisabled:yn,downDisabled:gn,onStep:rr}),V.createElement("div",{className:"".concat(bt,"-wrap")},V.createElement("input",(0,n.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":we,"aria-valuemax":Ne,"aria-valuenow":Qn.isInvalidate()?null:Qn.toString(),step:et},Se,{ref:(0,te.sQ)(jt,J),className:bt,value:mt,onChange:Cr,disabled:Be,readOnly:it}))))}),Qe=V.forwardRef(function(se,J){var de=se.disabled,xe=se.style,ce=se.prefixCls,Le=se.value,Oe=se.prefix,we=se.suffix,Ne=se.addonBefore,st=se.addonAfter,et=se.classes,Ye=se.className,ke=se.classNames,Be=(0,m.Z)(se,be),it=V.useRef(null),Ve=function(Ht){it.current&&(0,fe.nH)(it.current,Ht)};return V.createElement(K.Q,{inputElement:V.createElement(Je,(0,n.Z)({prefixCls:ce,disabled:de,classNames:ke,ref:(0,te.sQ)(it,J)},Be)),className:Ye,triggerFocus:Ve,prefixCls:ce,value:Le,disabled:de,style:xe,prefix:Oe,suffix:we,addonAfter:st,addonBefore:Ne,classes:et,classNames:ke,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Qe.displayName="InputNumber";var pt=Qe,Et=pt,ft=e(41496),Wt=e(61836),$e=e(42505),Xe=e(92428),nt=e(58785),Ke=e(81496),ye=e(43528),ne=e(46902),H=e(78330),R=e(64493),P=e(52628);const ae=(se,J)=>{let{componentCls:de,borderRadiusSM:xe,borderRadiusLG:ce}=se;const Le=J==="lg"?ce:xe;return{[`&-${J}`]:{[`${de}-handler-wrap`]:{borderStartEndRadius:Le,borderEndEndRadius:Le},[`${de}-handler-up`]:{borderStartEndRadius:Le},[`${de}-handler-down`]:{borderEndEndRadius:Le}}}},Q=se=>{const{componentCls:J,lineWidth:de,lineType:xe,colorBorder:ce,borderRadius:Le,fontSizeLG:Oe,controlHeightLG:we,controlHeightSM:Ne,colorError:st,inputPaddingHorizontalSM:et,colorTextDescription:Ye,motionDurationMid:ke,colorPrimary:Be,inputPaddingHorizontal:it,inputPaddingVertical:Ve,colorBgContainer:xt,colorTextDisabled:Ht,borderRadiusSM:Ot,borderRadiusLG:wt,controlWidth:_t,handleVisible:yt}=se;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,H.Wf)(se)),(0,ne.ik)(se)),(0,ne.bi)(se,J)),{display:"inline-block",width:_t,margin:0,padding:0,border:`${de}px ${xe} ${ce}`,borderRadius:Le,"&-rtl":{direction:"rtl",[`${J}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Oe,borderRadius:wt,[`input${J}-input`]:{height:we-2*de}},"&-sm":{padding:0,borderRadius:Ot,[`input${J}-input`]:{height:Ne-2*de,padding:`0 ${et}px`}},"&:hover":Object.assign({},(0,ne.pU)(se)),"&-focused":Object.assign({},(0,ne.M1)(se)),"&-out-of-range":{[`${J}-input-wrap`]:{input:{color:st}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,H.Wf)(se)),(0,ne.s7)(se)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${J}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${J}-group-addon`]:{borderRadius:wt,fontSize:se.fontSizeLG}},"&-sm":{[`${J}-group-addon`]:{borderRadius:Ot}},[`${J}-wrapper-disabled > ${J}-group-addon`]:Object.assign({},(0,ne.Xy)(se))}}),[`&-disabled ${J}-input`]:{cursor:"not-allowed"},[J]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,H.Wf)(se)),{width:"100%",padding:`${Ve}px ${it}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Le,outline:0,transition:`all ${ke} linear`,appearance:"textfield",fontSize:"inherit"}),(0,ne.nz)(se.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[J]:Object.assign(Object.assign(Object.assign({[`&:hover ${J}-handler-wrap, &-focused ${J}-handler-wrap`]:{opacity:1},[`${J}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:se.handleWidth,height:"100%",background:xt,borderStartStartRadius:0,borderStartEndRadius:Le,borderEndEndRadius:Le,borderEndStartRadius:0,opacity:yt===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${ke} linear ${ke}`,[`${J}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${J}-handler-up-inner, ${J}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:se.handleFontSize}}},[`${J}-handler`]:{height:"50%",overflow:"hidden",color:Ye,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${ce}px ${xe} ${ue}`,transition:`all ${ke} linear`,"&:active":{background:se.colorFillAlter},"&:hover":{height:"60%",[` + `]:{marginInlineEnd:0,fontSize:se.handleFontSize}}},[`${J}-handler`]:{height:"50%",overflow:"hidden",color:Ye,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${de}px ${xe} ${ce}`,transition:`all ${ke} linear`,"&:active":{background:se.colorFillAlter},"&:hover":{height:"60%",[` ${J}-handler-up-inner, ${J}-handler-down-inner - `]:{color:Be}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,H.Ro)()),{color:Ye,transition:`all ${ke} linear`,userSelect:"none"})},[`${J}-handler-up`]:{borderStartEndRadius:Ne},[`${J}-handler-down`]:{borderBlockStart:`${ce}px ${xe} ${ue}`,borderEndEndRadius:Ne}},ae(se,"lg")),ae(se,"sm")),{"&-disabled, &-readonly":{[`${J}-handler-wrap`]:{display:"none"},[`${J}-input`]:{color:"inherit"}},[` + `]:{color:Be}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,H.Ro)()),{color:Ye,transition:`all ${ke} linear`,userSelect:"none"})},[`${J}-handler-up`]:{borderStartEndRadius:Le},[`${J}-handler-down`]:{borderBlockStart:`${de}px ${xe} ${ce}`,borderEndEndRadius:Le}},ae(se,"lg")),ae(se,"sm")),{"&-disabled, &-readonly":{[`${J}-handler-wrap`]:{display:"none"},[`${J}-input`]:{color:"inherit"}},[` ${J}-handler-up-disabled, ${J}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${J}-handler-up-disabled:hover &-handler-up-inner, ${J}-handler-down-disabled:hover &-handler-down-inner - `]:{color:_t}})},{[`${J}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${J}-handler-down`]:{borderBlockStartWidth:0}}}]},ie=se=>{const{componentCls:J,inputPaddingVertical:ce,inputPaddingHorizontal:xe,inputAffixPadding:ue,controlWidth:Ne,borderRadiusLG:Oe,borderRadiusSM:we}=se;return{[`${J}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,ne.ik)(se)),(0,ne.bi)(se,`${J}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Ne,padding:0,paddingInlineStart:xe,"&-lg":{borderRadius:Oe},"&-sm":{borderRadius:we},[`&:not(${J}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,ne.pU)(se)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${J}-disabled`]:{background:"transparent"},[`> div${J}`]:{width:"100%",border:"none",outline:"none",[`&${J}-focused`]:{boxShadow:"none !important"}},[`input${J}-input`]:{padding:`${ce}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${J}-handler-wrap`]:{zIndex:2},[J]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:ue},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:xe,marginInlineStart:ue}}})}};var me=(0,P.Z)("InputNumber",se=>{const J=(0,ne.e5)(se);return[Q(J),ie(J),(0,R.c)(J)]},se=>({controlWidth:90,handleWidth:se.controlHeightSM-se.lineWidth*2,handleFontSize:se.fontSize/2,handleVisible:"auto"})),je=function(se,J){var ce={};for(var xe in se)Object.prototype.hasOwnProperty.call(se,xe)&&J.indexOf(xe)<0&&(ce[xe]=se[xe]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,xe=Object.getOwnPropertySymbols(se);ue{const{getPrefixCls:ce,direction:xe}=Y.useContext(Ht.E_),ue=Y.useRef(null);Y.useImperativeHandle(J,()=>ue.current);const{className:Ne,rootClassName:Oe,size:we,disabled:Re,prefixCls:st,addonBefore:tt,addonAfter:Ye,prefix:ke,bordered:Be=!0,readOnly:it,status:Ve,controls:It}=se,_t=je(se,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),wt=ce("input-number",st),[jt,Yt]=me(wt),{compactSize:yt,compactItemClassnames:ze}=(0,ye.ri)(wt,xe);let nt=Y.createElement(t.Z,{className:`${wt}-handler-up-inner`}),Et=Y.createElement(a.Z,{className:`${wt}-handler-down-inner`});const lt=typeof It=="boolean"?It:void 0;typeof It=="object"&&(nt=typeof It.upIcon=="undefined"?nt:Y.createElement("span",{className:`${wt}-handler-up-inner`},It.upIcon),Et=typeof It.downIcon=="undefined"?Et:Y.createElement("span",{className:`${wt}-handler-down-inner`},It.downIcon));const{hasFeedback:Gt,status:Rt,isFormItemInput:Ot,feedbackIcon:Ie}=Y.useContext(Ke.aM),Se=(0,ft.F)(Rt,Ve),bt=(0,rt.Z)(qt=>{var ln;return(ln=we!=null?we:yt)!==null&&ln!==void 0?ln:qt}),Pt=Y.useContext(Xe.Z),He=Re!=null?Re:Pt,qe=s()({[`${wt}-lg`]:bt==="large",[`${wt}-sm`]:bt==="small",[`${wt}-rtl`]:xe==="rtl",[`${wt}-borderless`]:!Be,[`${wt}-in-form-item`]:Ot},(0,ft.Z)(wt,Se),ze,Yt),Zt=`${wt}-group`,Ut=Y.createElement(Ct,Object.assign({ref:ue,disabled:He,className:s()(Ne,Oe),upHandler:nt,downHandler:Et,prefixCls:wt,readOnly:it,controls:lt,prefix:ke,suffix:Gt&&Ie,addonAfter:Ye&&Y.createElement(ye.BR,null,Y.createElement(Ke.Ux,{override:!0,status:!0},Ye)),addonBefore:tt&&Y.createElement(ye.BR,null,Y.createElement(Ke.Ux,{override:!0,status:!0},tt)),classNames:{input:qe},classes:{affixWrapper:s()((0,ft.Z)(`${wt}-affix-wrapper`,Se,Gt),{[`${wt}-affix-wrapper-sm`]:bt==="small",[`${wt}-affix-wrapper-lg`]:bt==="large",[`${wt}-affix-wrapper-rtl`]:xe==="rtl",[`${wt}-affix-wrapper-borderless`]:!Be},Yt),wrapper:s()({[`${Zt}-rtl`]:xe==="rtl",[`${wt}-wrapper-disabled`]:He},Yt),group:s()({[`${wt}-group-wrapper-sm`]:bt==="small",[`${wt}-group-wrapper-lg`]:bt==="large",[`${wt}-group-wrapper-rtl`]:xe==="rtl"},(0,ft.Z)(`${wt}-group-wrapper`,Se,Gt),Yt)}},_t));return jt(Ut)}),Me=Ee,We=se=>Y.createElement(Ze.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},Y.createElement(Ee,Object.assign({},se)));Me._InternalPanelDoNotUseOrYouWillBeFired=We;var re=Me},95670:function(b,y,e){"use strict";e.d(y,{Z:function(){return L},n:function(){return $}});var a=e(79999),t=e(87608),o=e.n(t),s=e(19570),n=e(21319),d=e(58757),l=e(41496),c=e(61836),m=e(92428),g=e(58785),M=e(81496),h=e(43528),S=e(52191),w=e(46902);function C(B){return!!(B.prefix||B.suffix||B.allowClear)}var z=function(B,D){var T={};for(var j in B)Object.prototype.hasOwnProperty.call(B,j)&&D.indexOf(j)<0&&(T[j]=B[j]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,j=Object.getOwnPropertySymbols(B);K{var T;const{prefixCls:j,bordered:K=!0,status:k,size:te,disabled:Y,onBlur:q,onFocus:le,suffix:X,allowClear:W,addonAfter:x,addonBefore:O,className:_,style:U,styles:A,rootClassName:G,onChange:de,classNames:he}=B,ge=z(B,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:be,direction:Te,input:Ge}=d.useContext(c.E_),Je=be("input",j),Qe=(0,d.useRef)(null),[pt,Ct]=(0,w.ZP)(Je),{compactSize:ft,compactItemClassnames:Ht}=(0,h.ri)(Je,Te),Ze=(0,g.Z)(Me=>{var We;return(We=te!=null?te:ft)!==null&&We!==void 0?We:Me}),Xe=d.useContext(m.Z),rt=Y!=null?Y:Xe,{status:Ke,hasFeedback:ye,feedbackIcon:ne}=(0,d.useContext)(M.aM),H=(0,l.F)(Ke,k),R=C(B)||!!ye,P=(0,d.useRef)(R);(0,d.useEffect)(()=>{var Me;R&&P.current,P.current=R},[R]);const ae=(0,S.Z)(Qe,!0),Q=Me=>{ae(),q==null||q(Me)},ie=Me=>{ae(),le==null||le(Me)},me=Me=>{ae(),de==null||de(Me)},je=(ye||X)&&d.createElement(d.Fragment,null,X,ye&&ne);let Ee;return typeof W=="object"&&(W!=null&&W.clearIcon)?Ee=W:W&&(Ee={clearIcon:d.createElement(a.Z,null)}),pt(d.createElement(s.Z,Object.assign({ref:(0,n.sQ)(D,Qe),prefixCls:Je,autoComplete:Ge==null?void 0:Ge.autoComplete},ge,{disabled:rt,onBlur:Q,onFocus:ie,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),U),styles:Object.assign(Object.assign({},Ge==null?void 0:Ge.styles),A),suffix:je,allowClear:Ee,className:o()(_,G,Ht,Ge==null?void 0:Ge.className),onChange:me,addonAfter:x&&d.createElement(h.BR,null,d.createElement(M.Ux,{override:!0,status:!0},x)),addonBefore:O&&d.createElement(h.BR,null,d.createElement(M.Ux,{override:!0,status:!0},O)),classNames:Object.assign(Object.assign(Object.assign({},he),Ge==null?void 0:Ge.classNames),{input:o()({[`${Je}-sm`]:Ze==="small",[`${Je}-lg`]:Ze==="large",[`${Je}-rtl`]:Te==="rtl",[`${Je}-borderless`]:!K},!R&&(0,l.Z)(Je,H),he==null?void 0:he.input,(T=Ge==null?void 0:Ge.classNames)===null||T===void 0?void 0:T.input,Ct)}),classes:{affixWrapper:o()({[`${Je}-affix-wrapper-sm`]:Ze==="small",[`${Je}-affix-wrapper-lg`]:Ze==="large",[`${Je}-affix-wrapper-rtl`]:Te==="rtl",[`${Je}-affix-wrapper-borderless`]:!K},(0,l.Z)(`${Je}-affix-wrapper`,H,ye),Ct),wrapper:o()({[`${Je}-group-rtl`]:Te==="rtl"},Ct),group:o()({[`${Je}-group-wrapper-sm`]:Ze==="small",[`${Je}-group-wrapper-lg`]:Ze==="large",[`${Je}-group-wrapper-rtl`]:Te==="rtl",[`${Je}-group-wrapper-disabled`]:rt},(0,l.Z)(`${Je}-group-wrapper`,H,ye),Ct)}})))})},79617:function(b,y,e){"use strict";var a=e(79999),t=e(87608),o=e.n(t),s=e(9457),n=e(58757),d=e(41496),l=e(61836),c=e(92428),m=e(58785),g=e(81496),M=e(95670),h=e(46902),S=function(C,z){var $={};for(var N in C)Object.prototype.hasOwnProperty.call(C,N)&&z.indexOf(N)<0&&($[N]=C[N]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,N=Object.getOwnPropertySymbols(C);L{const{prefixCls:$,bordered:N=!0,size:L,disabled:B,status:D,allowClear:T,showCount:j,classNames:K}=C,k=S(C,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:te,direction:Y}=n.useContext(l.E_),q=(0,m.Z)(L),le=n.useContext(c.Z),X=B!=null?B:le,{status:W,hasFeedback:x,feedbackIcon:O}=n.useContext(g.aM),_=(0,d.F)(W,D),U=n.useRef(null);n.useImperativeHandle(z,()=>{var ge;return{resizableTextArea:(ge=U.current)===null||ge===void 0?void 0:ge.resizableTextArea,focus:be=>{var Te,Ge;(0,M.n)((Ge=(Te=U.current)===null||Te===void 0?void 0:Te.resizableTextArea)===null||Ge===void 0?void 0:Ge.textArea,be)},blur:()=>{var be;return(be=U.current)===null||be===void 0?void 0:be.blur()}}});const A=te("input",$);let G;typeof T=="object"&&(T!=null&&T.clearIcon)?G=T:T&&(G={clearIcon:n.createElement(a.Z,null)});const[de,he]=(0,h.ZP)(A);return de(n.createElement(s.Z,Object.assign({},k,{disabled:X,allowClear:G,classes:{affixWrapper:o()(`${A}-textarea-affix-wrapper`,{[`${A}-affix-wrapper-rtl`]:Y==="rtl",[`${A}-affix-wrapper-borderless`]:!N,[`${A}-affix-wrapper-sm`]:q==="small",[`${A}-affix-wrapper-lg`]:q==="large",[`${A}-textarea-show-count`]:j},(0,d.Z)(`${A}-affix-wrapper`,_),he)},classNames:Object.assign(Object.assign({},K),{textarea:o()({[`${A}-borderless`]:!N,[`${A}-sm`]:q==="small",[`${A}-lg`]:q==="large"},(0,d.Z)(A,_),he,K==null?void 0:K.textarea)}),prefixCls:A,suffix:x&&n.createElement("span",{className:`${A}-textarea-suffix`},O),showCount:j,ref:U})))});y.Z=w},52191:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(o,s){const n=(0,a.useRef)([]),d=()=>{n.current.push(setTimeout(()=>{var l,c,m,g;!((l=o.current)===null||l===void 0)&&l.input&&((c=o.current)===null||c===void 0?void 0:c.input.getAttribute("type"))==="password"&&(!((m=o.current)===null||m===void 0)&&m.input.hasAttribute("value"))&&((g=o.current)===null||g===void 0||g.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(s&&d(),()=>n.current.forEach(l=>{l&&clearTimeout(l)})),[]),d}},21149:function(b,y,e){"use strict";e.d(y,{Z:function(){return X}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(81496),d=e(46902),c=W=>{const{getPrefixCls:x,direction:O}=(0,o.useContext)(s.E_),{prefixCls:_,className:U}=W,A=x("input-group",_),G=x("input"),[de,he]=(0,d.ZP)(G),ge=t()(A,{[`${A}-lg`]:W.size==="large",[`${A}-sm`]:W.size==="small",[`${A}-compact`]:W.compact,[`${A}-rtl`]:O==="rtl"},he,U),be=(0,o.useContext)(n.aM),Te=(0,o.useMemo)(()=>Object.assign(Object.assign({},be),{isFormItemInput:!1}),[be]);return de(o.createElement("span",{className:ge,style:W.style,onMouseEnter:W.onMouseEnter,onMouseLeave:W.onMouseLeave,onFocus:W.onFocus,onBlur:W.onBlur},o.createElement(n.aM.Provider,{value:Te},W.children)))},m=e(95670),g=e(83720),M=e(56019),h=e(98186),S=e(21319),w=e(52191),C=function(W,x){var O={};for(var _ in W)Object.prototype.hasOwnProperty.call(W,_)&&x.indexOf(_)<0&&(O[_]=W[_]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,_=Object.getOwnPropertySymbols(W);U<_.length;U++)x.indexOf(_[U])<0&&Object.prototype.propertyIsEnumerable.call(W,_[U])&&(O[_[U]]=W[_[U]]);return O};const z=W=>W?o.createElement(M.Z,null):o.createElement(g.Z,null),$={click:"onClick",hover:"onMouseOver"};var L=o.forwardRef((W,x)=>{const{visibilityToggle:O=!0}=W,_=typeof O=="object"&&O.visible!==void 0,[U,A]=(0,o.useState)(()=>_?O.visible:!1),G=(0,o.useRef)(null);o.useEffect(()=>{_&&A(O.visible)},[_,O]);const de=(0,w.Z)(G),he=()=>{const{disabled:rt}=W;rt||(U&&de(),A(Ke=>{var ye;const ne=!Ke;return typeof O=="object"&&((ye=O.onVisibleChange)===null||ye===void 0||ye.call(O,ne)),ne}))},ge=rt=>{const{action:Ke="click",iconRender:ye=z}=W,ne=$[Ke]||"",H=ye(U),R={[ne]:he,className:`${rt}-icon`,key:"passwordIcon",onMouseDown:P=>{P.preventDefault()},onMouseUp:P=>{P.preventDefault()}};return o.cloneElement(o.isValidElement(H)?H:o.createElement("span",null,H),R)},{className:be,prefixCls:Te,inputPrefixCls:Ge,size:Je}=W,Qe=C(W,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:pt}=o.useContext(s.E_),Ct=pt("input",Ge),ft=pt("input-password",Te),Ht=O&&ge(ft),Ze=t()(ft,be,{[`${ft}-${Je}`]:!!Je}),Xe=Object.assign(Object.assign({},(0,h.Z)(Qe,["suffix","iconRender","visibilityToggle"])),{type:U?"text":"password",className:Ze,prefixCls:Ct,suffix:Ht});return Je&&(Xe.size=Je),o.createElement(m.Z,Object.assign({ref:(0,S.sQ)(x,G)},Xe))}),B=e(99534),D=e(37047),T=e(12562),j=e(58785),K=e(43528),k=function(W,x){var O={};for(var _ in W)Object.prototype.hasOwnProperty.call(W,_)&&x.indexOf(_)<0&&(O[_]=W[_]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,_=Object.getOwnPropertySymbols(W);U<_.length;U++)x.indexOf(_[U])<0&&Object.prototype.propertyIsEnumerable.call(W,_[U])&&(O[_[U]]=W[_[U]]);return O},Y=o.forwardRef((W,x)=>{const{prefixCls:O,inputPrefixCls:_,className:U,size:A,suffix:G,enterButton:de=!1,addonAfter:he,loading:ge,disabled:be,onSearch:Te,onChange:Ge,onCompositionStart:Je,onCompositionEnd:Qe}=W,pt=k(W,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ct,direction:ft}=o.useContext(s.E_),Ht=o.useRef(!1),Ze=Ct("input-search",O),Xe=Ct("input",_),{compactSize:rt}=(0,K.ri)(Ze,ft),Ke=(0,j.Z)(re=>{var se;return(se=A!=null?A:rt)!==null&&se!==void 0?se:re}),ye=o.useRef(null),ne=re=>{re&&re.target&&re.type==="click"&&Te&&Te(re.target.value,re),Ge&&Ge(re)},H=re=>{var se;document.activeElement===((se=ye.current)===null||se===void 0?void 0:se.input)&&re.preventDefault()},R=re=>{var se,J;Te&&Te((J=(se=ye.current)===null||se===void 0?void 0:se.input)===null||J===void 0?void 0:J.value,re)},P=re=>{Ht.current||ge||R(re)},ae=typeof de=="boolean"?o.createElement(B.Z,null):null,Q=`${Ze}-button`;let ie;const me=de||{},je=me.type&&me.type.__ANT_BUTTON===!0;je||me.type==="button"?ie=(0,D.Tm)(me,Object.assign({onMouseDown:H,onClick:re=>{var se,J;(J=(se=me==null?void 0:me.props)===null||se===void 0?void 0:se.onClick)===null||J===void 0||J.call(se,re),R(re)},key:"enterButton"},je?{className:Q,size:Ke}:{})):ie=o.createElement(T.ZP,{className:Q,type:de?"primary":void 0,size:Ke,disabled:be,key:"enterButton",onMouseDown:H,onClick:R,loading:ge,icon:ae},de),he&&(ie=[ie,(0,D.Tm)(he,{key:"addonAfter"})]);const Ee=t()(Ze,{[`${Ze}-rtl`]:ft==="rtl",[`${Ze}-${Ke}`]:!!Ke,[`${Ze}-with-button`]:!!de},U),Me=re=>{Ht.current=!0,Je==null||Je(re)},We=re=>{Ht.current=!1,Qe==null||Qe(re)};return o.createElement(m.Z,Object.assign({ref:(0,S.sQ)(ye,x),onPressEnter:P},pt,{size:Ke,onCompositionStart:Me,onCompositionEnd:We,prefixCls:Xe,addonAfter:ie,suffix:G,onChange:ne,className:Ee,disabled:be}))}),q=e(79617);const le=m.Z;le.Group=c,le.Search=Y,le.TextArea=q.Z,le.Password=L;var X=le},46902:function(b,y,e){"use strict";e.d(y,{M1:function(){return l},Xy:function(){return c},bi:function(){return M},e5:function(){return L},ik:function(){return h},nz:function(){return n},pU:function(){return d},s7:function(){return S},x0:function(){return g}});var a=e(78330),t=e(64493),o=e(22151),s=e(52628);const n=D=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:D,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=D=>({borderColor:D.inputBorderHoverColor,borderInlineEndWidth:D.lineWidth}),l=D=>({borderColor:D.inputBorderHoverColor,boxShadow:`0 0 0 ${D.controlOutlineWidth}px ${D.controlOutline}`,borderInlineEndWidth:D.lineWidth,outline:0}),c=D=>({color:D.colorTextDisabled,backgroundColor:D.colorBgContainerDisabled,borderColor:D.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},d((0,o.TS)(D,{inputBorderHoverColor:D.colorBorder})))}),m=D=>{const{inputPaddingVerticalLG:T,fontSizeLG:j,lineHeightLG:K,borderRadiusLG:k,inputPaddingHorizontalLG:te}=D;return{padding:`${T}px ${te}px`,fontSize:j,lineHeight:K,borderRadius:k}},g=D=>({padding:`${D.inputPaddingVerticalSM}px ${D.controlPaddingHorizontalSM-1}px`,borderRadius:D.borderRadiusSM}),M=(D,T)=>{const{componentCls:j,colorError:K,colorWarning:k,colorErrorOutline:te,colorWarningOutline:Y,colorErrorBorderHover:q,colorWarningBorderHover:le}=D;return{[`&-status-error:not(${T}-disabled):not(${T}-borderless)${T}`]:{borderColor:K,"&:hover":{borderColor:q},"&:focus, &-focused":Object.assign({},l((0,o.TS)(D,{inputBorderActiveColor:K,inputBorderHoverColor:K,controlOutline:te}))),[`${j}-prefix, ${j}-suffix`]:{color:K}},[`&-status-warning:not(${T}-disabled):not(${T}-borderless)${T}`]:{borderColor:k,"&:hover":{borderColor:le},"&:focus, &-focused":Object.assign({},l((0,o.TS)(D,{inputBorderActiveColor:k,inputBorderHoverColor:k,controlOutline:Y}))),[`${j}-prefix, ${j}-suffix`]:{color:k}}}},h=D=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${D.inputPaddingVertical}px ${D.inputPaddingHorizontal}px`,color:D.colorText,fontSize:D.fontSize,lineHeight:D.lineHeight,backgroundColor:D.colorBgContainer,backgroundImage:"none",borderWidth:D.lineWidth,borderStyle:D.lineType,borderColor:D.colorBorder,borderRadius:D.borderRadius,transition:`all ${D.motionDurationMid}`},n(D.colorTextPlaceholder)),{"&:hover":Object.assign({},d(D)),"&:focus, &-focused":Object.assign({},l(D)),"&-disabled, &[disabled]":Object.assign({},c(D)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:D.controlHeight,lineHeight:D.lineHeight,verticalAlign:"bottom",transition:`all ${D.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},m(D)),"&-sm":Object.assign({},g(D)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),S=D=>{const{componentCls:T,antCls:j}=D;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:D.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${T}, &-lg > ${T}-group-addon`]:Object.assign({},m(D)),[`&-sm ${T}, &-sm > ${T}-group-addon`]:Object.assign({},g(D)),[`&-lg ${j}-select-single ${j}-select-selector`]:{height:D.controlHeightLG},[`&-sm ${j}-select-single ${j}-select-selector`]:{height:D.controlHeightSM},[`> ${T}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${T}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${D.inputPaddingHorizontal}px`,color:D.colorText,fontWeight:"normal",fontSize:D.fontSize,textAlign:"center",backgroundColor:D.colorFillAlter,border:`${D.lineWidth}px ${D.lineType} ${D.colorBorder}`,borderRadius:D.borderRadius,transition:`all ${D.motionDurationSlow}`,lineHeight:1,[`${j}-select`]:{margin:`-${D.inputPaddingVertical+1}px -${D.inputPaddingHorizontal}px`,[`&${j}-select-single:not(${j}-select-customize-input)`]:{[`${j}-select-selector`]:{backgroundColor:"inherit",border:`${D.lineWidth}px ${D.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${j}-select-selector`]:{color:D.colorPrimary}}},[`${j}-cascader-picker`]:{margin:`-9px -${D.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${j}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${T}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${T}-search-with-button &`]:{zIndex:0}}},[`> ${T}:first-child, ${T}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${j}-select ${j}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}-affix-wrapper`]:{[`&:not(:first-child) ${T}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${T}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}:last-child, ${T}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${j}-select ${j}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${T}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${T}-search &`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius}},[`&:not(:first-child), ${T}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${T}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,a.dF)()),{[`${T}-group-addon, ${T}-group-wrap, > ${T}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:D.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{color:Ht}})},{[`${J}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${J}-handler-down`]:{borderBlockStartWidth:0}}}]},ie=se=>{const{componentCls:J,inputPaddingVertical:de,inputPaddingHorizontal:xe,inputAffixPadding:ce,controlWidth:Le,borderRadiusLG:Oe,borderRadiusSM:we}=se;return{[`${J}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,ne.ik)(se)),(0,ne.bi)(se,`${J}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Le,padding:0,paddingInlineStart:xe,"&-lg":{borderRadius:Oe},"&-sm":{borderRadius:we},[`&:not(${J}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,ne.pU)(se)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${J}-disabled`]:{background:"transparent"},[`> div${J}`]:{width:"100%",border:"none",outline:"none",[`&${J}-focused`]:{boxShadow:"none !important"}},[`input${J}-input`]:{padding:`${de}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${J}-handler-wrap`]:{zIndex:2},[J]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:ce},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:xe,marginInlineStart:ce}}})}};var me=(0,P.Z)("InputNumber",se=>{const J=(0,ne.e5)(se);return[Q(J),ie(J),(0,R.c)(J)]},se=>({controlWidth:90,handleWidth:se.controlHeightSM-se.lineWidth*2,handleFontSize:se.fontSize/2,handleVisible:"auto"})),je=function(se,J){var de={};for(var xe in se)Object.prototype.hasOwnProperty.call(se,xe)&&J.indexOf(xe)<0&&(de[xe]=se[xe]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,xe=Object.getOwnPropertySymbols(se);ce{const{getPrefixCls:de,direction:xe}=V.useContext(Wt.E_),ce=V.useRef(null);V.useImperativeHandle(J,()=>ce.current);const{className:Le,rootClassName:Oe,size:we,disabled:Ne,prefixCls:st,addonBefore:et,addonAfter:Ye,prefix:ke,bordered:Be=!0,readOnly:it,status:Ve,controls:xt}=se,Ht=je(se,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),Ot=de("input-number",st),[wt,_t]=me(Ot),{compactSize:yt,compactItemClassnames:ze}=(0,ye.ri)(Ot,xe);let tt=V.createElement(t.Z,{className:`${Ot}-handler-up-inner`}),St=V.createElement(a.Z,{className:`${Ot}-handler-down-inner`});const lt=typeof xt=="boolean"?xt:void 0;typeof xt=="object"&&(tt=typeof xt.upIcon=="undefined"?tt:V.createElement("span",{className:`${Ot}-handler-up-inner`},xt.upIcon),St=typeof xt.downIcon=="undefined"?St:V.createElement("span",{className:`${Ot}-handler-down-inner`},xt.downIcon));const{hasFeedback:Gt,status:Nt,isFormItemInput:At,feedbackIcon:Ie}=V.useContext(Ke.aM),Se=(0,ft.F)(Nt,Ve),bt=(0,nt.Z)(qt=>{var un;return(un=we!=null?we:yt)!==null&&un!==void 0?un:qt}),jt=V.useContext(Xe.Z),He=Ne!=null?Ne:jt,qe=s()({[`${Ot}-lg`]:bt==="large",[`${Ot}-sm`]:bt==="small",[`${Ot}-rtl`]:xe==="rtl",[`${Ot}-borderless`]:!Be,[`${Ot}-in-form-item`]:At},(0,ft.Z)(Ot,Se),ze,_t),$t=`${Ot}-group`,Zt=V.createElement(Et,Object.assign({ref:ce,disabled:He,className:s()(Le,Oe),upHandler:tt,downHandler:St,prefixCls:Ot,readOnly:it,controls:lt,prefix:ke,suffix:Gt&&Ie,addonAfter:Ye&&V.createElement(ye.BR,null,V.createElement(Ke.Ux,{override:!0,status:!0},Ye)),addonBefore:et&&V.createElement(ye.BR,null,V.createElement(Ke.Ux,{override:!0,status:!0},et)),classNames:{input:qe},classes:{affixWrapper:s()((0,ft.Z)(`${Ot}-affix-wrapper`,Se,Gt),{[`${Ot}-affix-wrapper-sm`]:bt==="small",[`${Ot}-affix-wrapper-lg`]:bt==="large",[`${Ot}-affix-wrapper-rtl`]:xe==="rtl",[`${Ot}-affix-wrapper-borderless`]:!Be},_t),wrapper:s()({[`${$t}-rtl`]:xe==="rtl",[`${Ot}-wrapper-disabled`]:He},_t),group:s()({[`${Ot}-group-wrapper-sm`]:bt==="small",[`${Ot}-group-wrapper-lg`]:bt==="large",[`${Ot}-group-wrapper-rtl`]:xe==="rtl"},(0,ft.Z)(`${Ot}-group-wrapper`,Se,Gt),_t)}},Ht));return wt(Zt)}),Me=Ee,We=se=>V.createElement($e.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},V.createElement(Ee,Object.assign({},se)));Me._InternalPanelDoNotUseOrYouWillBeFired=We;var re=Me},95670:function(b,y,e){"use strict";e.d(y,{Z:function(){return L},n:function(){return Z}});var a=e(79999),t=e(87608),o=e.n(t),s=e(19570),n=e(21319),d=e(58757),l=e(41496),c=e(61836),m=e(92428),g=e(58785),M=e(81496),h=e(43528),S=e(52191),w=e(46902);function C($){return!!($.prefix||$.suffix||$.allowClear)}var F=function($,D){var T={};for(var j in $)Object.prototype.hasOwnProperty.call($,j)&&D.indexOf(j)<0&&(T[j]=$[j]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,j=Object.getOwnPropertySymbols($);K{var T;const{prefixCls:j,bordered:K=!0,status:k,size:te,disabled:V,onBlur:q,onFocus:le,suffix:X,allowClear:W,addonAfter:x,addonBefore:O,className:_,style:U,styles:A,rootClassName:G,onChange:fe,classNames:pe}=$,ge=F($,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:be,direction:Te,input:Ge}=d.useContext(c.E_),Je=be("input",j),Qe=(0,d.useRef)(null),[pt,Et]=(0,w.ZP)(Je),{compactSize:ft,compactItemClassnames:Wt}=(0,h.ri)(Je,Te),$e=(0,g.Z)(Me=>{var We;return(We=te!=null?te:ft)!==null&&We!==void 0?We:Me}),Xe=d.useContext(m.Z),nt=V!=null?V:Xe,{status:Ke,hasFeedback:ye,feedbackIcon:ne}=(0,d.useContext)(M.aM),H=(0,l.F)(Ke,k),R=C($)||!!ye,P=(0,d.useRef)(R);(0,d.useEffect)(()=>{var Me;R&&P.current,P.current=R},[R]);const ae=(0,S.Z)(Qe,!0),Q=Me=>{ae(),q==null||q(Me)},ie=Me=>{ae(),le==null||le(Me)},me=Me=>{ae(),fe==null||fe(Me)},je=(ye||X)&&d.createElement(d.Fragment,null,X,ye&&ne);let Ee;return typeof W=="object"&&(W!=null&&W.clearIcon)?Ee=W:W&&(Ee={clearIcon:d.createElement(a.Z,null)}),pt(d.createElement(s.Z,Object.assign({ref:(0,n.sQ)(D,Qe),prefixCls:Je,autoComplete:Ge==null?void 0:Ge.autoComplete},ge,{disabled:nt,onBlur:Q,onFocus:ie,style:Object.assign(Object.assign({},Ge==null?void 0:Ge.style),U),styles:Object.assign(Object.assign({},Ge==null?void 0:Ge.styles),A),suffix:je,allowClear:Ee,className:o()(_,G,Wt,Ge==null?void 0:Ge.className),onChange:me,addonAfter:x&&d.createElement(h.BR,null,d.createElement(M.Ux,{override:!0,status:!0},x)),addonBefore:O&&d.createElement(h.BR,null,d.createElement(M.Ux,{override:!0,status:!0},O)),classNames:Object.assign(Object.assign(Object.assign({},pe),Ge==null?void 0:Ge.classNames),{input:o()({[`${Je}-sm`]:$e==="small",[`${Je}-lg`]:$e==="large",[`${Je}-rtl`]:Te==="rtl",[`${Je}-borderless`]:!K},!R&&(0,l.Z)(Je,H),pe==null?void 0:pe.input,(T=Ge==null?void 0:Ge.classNames)===null||T===void 0?void 0:T.input,Et)}),classes:{affixWrapper:o()({[`${Je}-affix-wrapper-sm`]:$e==="small",[`${Je}-affix-wrapper-lg`]:$e==="large",[`${Je}-affix-wrapper-rtl`]:Te==="rtl",[`${Je}-affix-wrapper-borderless`]:!K},(0,l.Z)(`${Je}-affix-wrapper`,H,ye),Et),wrapper:o()({[`${Je}-group-rtl`]:Te==="rtl"},Et),group:o()({[`${Je}-group-wrapper-sm`]:$e==="small",[`${Je}-group-wrapper-lg`]:$e==="large",[`${Je}-group-wrapper-rtl`]:Te==="rtl",[`${Je}-group-wrapper-disabled`]:nt},(0,l.Z)(`${Je}-group-wrapper`,H,ye),Et)}})))})},79617:function(b,y,e){"use strict";var a=e(79999),t=e(87608),o=e.n(t),s=e(9457),n=e(58757),d=e(41496),l=e(61836),c=e(92428),m=e(58785),g=e(81496),M=e(95670),h=e(46902),S=function(C,F){var Z={};for(var N in C)Object.prototype.hasOwnProperty.call(C,N)&&F.indexOf(N)<0&&(Z[N]=C[N]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,N=Object.getOwnPropertySymbols(C);L{const{prefixCls:Z,bordered:N=!0,size:L,disabled:$,status:D,allowClear:T,showCount:j,classNames:K}=C,k=S(C,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:te,direction:V}=n.useContext(l.E_),q=(0,m.Z)(L),le=n.useContext(c.Z),X=$!=null?$:le,{status:W,hasFeedback:x,feedbackIcon:O}=n.useContext(g.aM),_=(0,d.F)(W,D),U=n.useRef(null);n.useImperativeHandle(F,()=>{var ge;return{resizableTextArea:(ge=U.current)===null||ge===void 0?void 0:ge.resizableTextArea,focus:be=>{var Te,Ge;(0,M.n)((Ge=(Te=U.current)===null||Te===void 0?void 0:Te.resizableTextArea)===null||Ge===void 0?void 0:Ge.textArea,be)},blur:()=>{var be;return(be=U.current)===null||be===void 0?void 0:be.blur()}}});const A=te("input",Z);let G;typeof T=="object"&&(T!=null&&T.clearIcon)?G=T:T&&(G={clearIcon:n.createElement(a.Z,null)});const[fe,pe]=(0,h.ZP)(A);return fe(n.createElement(s.Z,Object.assign({},k,{disabled:X,allowClear:G,classes:{affixWrapper:o()(`${A}-textarea-affix-wrapper`,{[`${A}-affix-wrapper-rtl`]:V==="rtl",[`${A}-affix-wrapper-borderless`]:!N,[`${A}-affix-wrapper-sm`]:q==="small",[`${A}-affix-wrapper-lg`]:q==="large",[`${A}-textarea-show-count`]:j},(0,d.Z)(`${A}-affix-wrapper`,_),pe)},classNames:Object.assign(Object.assign({},K),{textarea:o()({[`${A}-borderless`]:!N,[`${A}-sm`]:q==="small",[`${A}-lg`]:q==="large"},(0,d.Z)(A,_),pe,K==null?void 0:K.textarea)}),prefixCls:A,suffix:x&&n.createElement("span",{className:`${A}-textarea-suffix`},O),showCount:j,ref:U})))});y.Z=w},52191:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(o,s){const n=(0,a.useRef)([]),d=()=>{n.current.push(setTimeout(()=>{var l,c,m,g;!((l=o.current)===null||l===void 0)&&l.input&&((c=o.current)===null||c===void 0?void 0:c.input.getAttribute("type"))==="password"&&(!((m=o.current)===null||m===void 0)&&m.input.hasAttribute("value"))&&((g=o.current)===null||g===void 0||g.input.removeAttribute("value"))}))};return(0,a.useEffect)(()=>(s&&d(),()=>n.current.forEach(l=>{l&&clearTimeout(l)})),[]),d}},21149:function(b,y,e){"use strict";e.d(y,{Z:function(){return X}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(81496),d=e(46902),c=W=>{const{getPrefixCls:x,direction:O}=(0,o.useContext)(s.E_),{prefixCls:_,className:U}=W,A=x("input-group",_),G=x("input"),[fe,pe]=(0,d.ZP)(G),ge=t()(A,{[`${A}-lg`]:W.size==="large",[`${A}-sm`]:W.size==="small",[`${A}-compact`]:W.compact,[`${A}-rtl`]:O==="rtl"},pe,U),be=(0,o.useContext)(n.aM),Te=(0,o.useMemo)(()=>Object.assign(Object.assign({},be),{isFormItemInput:!1}),[be]);return fe(o.createElement("span",{className:ge,style:W.style,onMouseEnter:W.onMouseEnter,onMouseLeave:W.onMouseLeave,onFocus:W.onFocus,onBlur:W.onBlur},o.createElement(n.aM.Provider,{value:Te},W.children)))},m=e(95670),g=e(83720),M=e(56019),h=e(98186),S=e(21319),w=e(52191),C=function(W,x){var O={};for(var _ in W)Object.prototype.hasOwnProperty.call(W,_)&&x.indexOf(_)<0&&(O[_]=W[_]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,_=Object.getOwnPropertySymbols(W);U<_.length;U++)x.indexOf(_[U])<0&&Object.prototype.propertyIsEnumerable.call(W,_[U])&&(O[_[U]]=W[_[U]]);return O};const F=W=>W?o.createElement(M.Z,null):o.createElement(g.Z,null),Z={click:"onClick",hover:"onMouseOver"};var L=o.forwardRef((W,x)=>{const{visibilityToggle:O=!0}=W,_=typeof O=="object"&&O.visible!==void 0,[U,A]=(0,o.useState)(()=>_?O.visible:!1),G=(0,o.useRef)(null);o.useEffect(()=>{_&&A(O.visible)},[_,O]);const fe=(0,w.Z)(G),pe=()=>{const{disabled:nt}=W;nt||(U&&fe(),A(Ke=>{var ye;const ne=!Ke;return typeof O=="object"&&((ye=O.onVisibleChange)===null||ye===void 0||ye.call(O,ne)),ne}))},ge=nt=>{const{action:Ke="click",iconRender:ye=F}=W,ne=Z[Ke]||"",H=ye(U),R={[ne]:pe,className:`${nt}-icon`,key:"passwordIcon",onMouseDown:P=>{P.preventDefault()},onMouseUp:P=>{P.preventDefault()}};return o.cloneElement(o.isValidElement(H)?H:o.createElement("span",null,H),R)},{className:be,prefixCls:Te,inputPrefixCls:Ge,size:Je}=W,Qe=C(W,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:pt}=o.useContext(s.E_),Et=pt("input",Ge),ft=pt("input-password",Te),Wt=O&&ge(ft),$e=t()(ft,be,{[`${ft}-${Je}`]:!!Je}),Xe=Object.assign(Object.assign({},(0,h.Z)(Qe,["suffix","iconRender","visibilityToggle"])),{type:U?"text":"password",className:$e,prefixCls:Et,suffix:Wt});return Je&&(Xe.size=Je),o.createElement(m.Z,Object.assign({ref:(0,S.sQ)(x,G)},Xe))}),$=e(99534),D=e(37047),T=e(12562),j=e(58785),K=e(43528),k=function(W,x){var O={};for(var _ in W)Object.prototype.hasOwnProperty.call(W,_)&&x.indexOf(_)<0&&(O[_]=W[_]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,_=Object.getOwnPropertySymbols(W);U<_.length;U++)x.indexOf(_[U])<0&&Object.prototype.propertyIsEnumerable.call(W,_[U])&&(O[_[U]]=W[_[U]]);return O},V=o.forwardRef((W,x)=>{const{prefixCls:O,inputPrefixCls:_,className:U,size:A,suffix:G,enterButton:fe=!1,addonAfter:pe,loading:ge,disabled:be,onSearch:Te,onChange:Ge,onCompositionStart:Je,onCompositionEnd:Qe}=W,pt=k(W,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Et,direction:ft}=o.useContext(s.E_),Wt=o.useRef(!1),$e=Et("input-search",O),Xe=Et("input",_),{compactSize:nt}=(0,K.ri)($e,ft),Ke=(0,j.Z)(re=>{var se;return(se=A!=null?A:nt)!==null&&se!==void 0?se:re}),ye=o.useRef(null),ne=re=>{re&&re.target&&re.type==="click"&&Te&&Te(re.target.value,re),Ge&&Ge(re)},H=re=>{var se;document.activeElement===((se=ye.current)===null||se===void 0?void 0:se.input)&&re.preventDefault()},R=re=>{var se,J;Te&&Te((J=(se=ye.current)===null||se===void 0?void 0:se.input)===null||J===void 0?void 0:J.value,re)},P=re=>{Wt.current||ge||R(re)},ae=typeof fe=="boolean"?o.createElement($.Z,null):null,Q=`${$e}-button`;let ie;const me=fe||{},je=me.type&&me.type.__ANT_BUTTON===!0;je||me.type==="button"?ie=(0,D.Tm)(me,Object.assign({onMouseDown:H,onClick:re=>{var se,J;(J=(se=me==null?void 0:me.props)===null||se===void 0?void 0:se.onClick)===null||J===void 0||J.call(se,re),R(re)},key:"enterButton"},je?{className:Q,size:Ke}:{})):ie=o.createElement(T.ZP,{className:Q,type:fe?"primary":void 0,size:Ke,disabled:be,key:"enterButton",onMouseDown:H,onClick:R,loading:ge,icon:ae},fe),pe&&(ie=[ie,(0,D.Tm)(pe,{key:"addonAfter"})]);const Ee=t()($e,{[`${$e}-rtl`]:ft==="rtl",[`${$e}-${Ke}`]:!!Ke,[`${$e}-with-button`]:!!fe},U),Me=re=>{Wt.current=!0,Je==null||Je(re)},We=re=>{Wt.current=!1,Qe==null||Qe(re)};return o.createElement(m.Z,Object.assign({ref:(0,S.sQ)(ye,x),onPressEnter:P},pt,{size:Ke,onCompositionStart:Me,onCompositionEnd:We,prefixCls:Xe,addonAfter:ie,suffix:G,onChange:ne,className:Ee,disabled:be}))}),q=e(79617);const le=m.Z;le.Group=c,le.Search=V,le.TextArea=q.Z,le.Password=L;var X=le},46902:function(b,y,e){"use strict";e.d(y,{M1:function(){return l},Xy:function(){return c},bi:function(){return M},e5:function(){return L},ik:function(){return h},nz:function(){return n},pU:function(){return d},s7:function(){return S},x0:function(){return g}});var a=e(78330),t=e(64493),o=e(22151),s=e(52628);const n=D=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:D,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),d=D=>({borderColor:D.inputBorderHoverColor,borderInlineEndWidth:D.lineWidth}),l=D=>({borderColor:D.inputBorderHoverColor,boxShadow:`0 0 0 ${D.controlOutlineWidth}px ${D.controlOutline}`,borderInlineEndWidth:D.lineWidth,outline:0}),c=D=>({color:D.colorTextDisabled,backgroundColor:D.colorBgContainerDisabled,borderColor:D.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},d((0,o.TS)(D,{inputBorderHoverColor:D.colorBorder})))}),m=D=>{const{inputPaddingVerticalLG:T,fontSizeLG:j,lineHeightLG:K,borderRadiusLG:k,inputPaddingHorizontalLG:te}=D;return{padding:`${T}px ${te}px`,fontSize:j,lineHeight:K,borderRadius:k}},g=D=>({padding:`${D.inputPaddingVerticalSM}px ${D.controlPaddingHorizontalSM-1}px`,borderRadius:D.borderRadiusSM}),M=(D,T)=>{const{componentCls:j,colorError:K,colorWarning:k,colorErrorOutline:te,colorWarningOutline:V,colorErrorBorderHover:q,colorWarningBorderHover:le}=D;return{[`&-status-error:not(${T}-disabled):not(${T}-borderless)${T}`]:{borderColor:K,"&:hover":{borderColor:q},"&:focus, &-focused":Object.assign({},l((0,o.TS)(D,{inputBorderActiveColor:K,inputBorderHoverColor:K,controlOutline:te}))),[`${j}-prefix, ${j}-suffix`]:{color:K}},[`&-status-warning:not(${T}-disabled):not(${T}-borderless)${T}`]:{borderColor:k,"&:hover":{borderColor:le},"&:focus, &-focused":Object.assign({},l((0,o.TS)(D,{inputBorderActiveColor:k,inputBorderHoverColor:k,controlOutline:V}))),[`${j}-prefix, ${j}-suffix`]:{color:k}}}},h=D=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${D.inputPaddingVertical}px ${D.inputPaddingHorizontal}px`,color:D.colorText,fontSize:D.fontSize,lineHeight:D.lineHeight,backgroundColor:D.colorBgContainer,backgroundImage:"none",borderWidth:D.lineWidth,borderStyle:D.lineType,borderColor:D.colorBorder,borderRadius:D.borderRadius,transition:`all ${D.motionDurationMid}`},n(D.colorTextPlaceholder)),{"&:hover":Object.assign({},d(D)),"&:focus, &-focused":Object.assign({},l(D)),"&-disabled, &[disabled]":Object.assign({},c(D)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:D.controlHeight,lineHeight:D.lineHeight,verticalAlign:"bottom",transition:`all ${D.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},m(D)),"&-sm":Object.assign({},g(D)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),S=D=>{const{componentCls:T,antCls:j}=D;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,["&[class*='col-']"]:{paddingInlineEnd:D.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${T}, &-lg > ${T}-group-addon`]:Object.assign({},m(D)),[`&-sm ${T}, &-sm > ${T}-group-addon`]:Object.assign({},g(D)),[`&-lg ${j}-select-single ${j}-select-selector`]:{height:D.controlHeightLG},[`&-sm ${j}-select-single ${j}-select-selector`]:{height:D.controlHeightSM},[`> ${T}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${T}-group`]:{["&-addon, &-wrap"]:{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${D.inputPaddingHorizontal}px`,color:D.colorText,fontWeight:"normal",fontSize:D.fontSize,textAlign:"center",backgroundColor:D.colorFillAlter,border:`${D.lineWidth}px ${D.lineType} ${D.colorBorder}`,borderRadius:D.borderRadius,transition:`all ${D.motionDurationSlow}`,lineHeight:1,[`${j}-select`]:{margin:`-${D.inputPaddingVertical+1}px -${D.inputPaddingHorizontal}px`,[`&${j}-select-single:not(${j}-select-customize-input)`]:{[`${j}-select-selector`]:{backgroundColor:"inherit",border:`${D.lineWidth}px ${D.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${j}-select-selector`]:{color:D.colorPrimary}}},[`${j}-cascader-picker`]:{margin:`-9px -${D.inputPaddingHorizontal}px`,backgroundColor:"transparent",[`${j}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${T}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${T}-search-with-button &`]:{zIndex:0}}},[`> ${T}:first-child, ${T}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${j}-select ${j}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}-affix-wrapper`]:{[`&:not(:first-child) ${T}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${T}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${T}:last-child, ${T}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${j}-select ${j}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${T}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${T}-search &`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius}},[`&:not(:first-child), ${T}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${T}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,a.dF)()),{[`${T}-group-addon, ${T}-group-wrap, > ${T}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:D.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${T}-affix-wrapper, & > ${T}-number-affix-wrapper, & > ${j}-picker-range @@ -248,20 +248,20 @@ http://j.mp/37Fkd5Q & > ${j}-cascader-picker:first-child ${T}`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius},[`& > *:last-child, & > ${j}-select:last-child > ${j}-select-selector, & > ${j}-cascader-picker:last-child ${T}, - & > ${j}-cascader-picker-focused:last-child ${T}`]:{borderInlineEndWidth:D.lineWidth,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius},[`& > ${j}-select-auto-complete ${T}`]:{verticalAlign:"top"},[`${T}-group-wrapper + ${T}-group-wrapper`]:{marginInlineStart:-D.lineWidth,[`${T}-affix-wrapper`]:{borderRadius:0}},[`${T}-group-wrapper:not(:last-child)`]:{[`&${T}-search > ${T}-group`]:{[`& > ${T}-group-addon > ${T}-search-button`]:{borderRadius:0},[`& > ${T}`]:{borderStartStartRadius:D.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:D.borderRadius}}}})}},w=D=>{const{componentCls:T,controlHeightSM:j,lineWidth:K}=D,k=16,te=(j-K*2-k)/2;return{[T]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,a.Wf)(D)),h(D)),M(D,T)),{'&[type="color"]':{height:D.controlHeight,[`&${T}-lg`]:{height:D.controlHeightLG},[`&${T}-sm`]:{height:j,paddingTop:te,paddingBottom:te}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},C=D=>{const{componentCls:T}=D;return{[`${T}-clear-icon`]:{margin:0,color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${D.motionDurationSlow}`,"&:hover":{color:D.colorTextTertiary},"&:active":{color:D.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${D.inputAffixPadding}px`}}}},z=D=>{const{componentCls:T,inputAffixPadding:j,colorTextDescription:K,motionDurationSlow:k,colorIcon:te,colorIconHover:Y,iconCls:q}=D;return{[`${T}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(D)),{display:"inline-flex",[`&:not(${T}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},d(D)),{zIndex:1,[`${T}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${T}[disabled]`]:{background:"transparent"}},[`> input${T}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${T}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:D.paddingXS}},"&-show-count-suffix":{color:K},"&-show-count-has-suffix":{marginInlineEnd:D.paddingXXS},"&-prefix":{marginInlineEnd:j},"&-suffix":{marginInlineStart:j}}}),C(D)),{[`${q}${T}-password-icon`]:{color:te,cursor:"pointer",transition:`all ${k}`,"&:hover":{color:Y}}}),M(D,`${T}-affix-wrapper`))}},$=D=>{const{componentCls:T,colorError:j,colorWarning:K,borderRadiusLG:k,borderRadiusSM:te}=D;return{[`${T}-group`]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(D)),S(D)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${T}-group-addon`]:{borderRadius:k,fontSize:D.fontSizeLG}},"&-sm":{[`${T}-group-addon`]:{borderRadius:te}},"&-status-error":{[`${T}-group-addon`]:{color:j,borderColor:j}},"&-status-warning":{[`${T}-group-addon`]:{color:K,borderColor:K}},"&-disabled":{[`${T}-group-addon`]:Object.assign({},c(D))},[`&:not(${T}-compact-first-item):not(${T}-compact-last-item)${T}-compact-item`]:{[`${T}, ${T}-group-addon`]:{borderRadius:0}},[`&:not(${T}-compact-last-item)${T}-compact-first-item`]:{[`${T}, ${T}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${T}-compact-first-item)${T}-compact-last-item`]:{[`${T}, ${T}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},N=D=>{const{componentCls:T,antCls:j}=D,K=`${T}-search`;return{[K]:{[`${T}`]:{"&:hover, &:focus":{borderColor:D.colorPrimaryHover,[`+ ${T}-group-addon ${K}-button:not(${j}-btn-primary)`]:{borderInlineStartColor:D.colorPrimaryHover}}},[`${T}-affix-wrapper`]:{borderRadius:0},[`${T}-lg`]:{lineHeight:D.lineHeightLG-2e-4},[`> ${T}-group`]:{[`> ${T}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${K}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius,borderEndStartRadius:0},[`${K}-button:not(${j}-btn-primary)`]:{color:D.colorTextDescription,"&:hover":{color:D.colorPrimaryHover},"&:active":{color:D.colorPrimaryActive},[`&${j}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${K}-button`]:{height:D.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${K}-button`]:{height:D.controlHeightLG},[`&-small ${K}-button`]:{height:D.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${T}-compact-item`]:{[`&:not(${T}-compact-last-item)`]:{[`${T}-group-addon`]:{[`${T}-search-button`]:{marginInlineEnd:-D.lineWidth,borderRadius:0}}},[`&:not(${T}-compact-first-item)`]:{[`${T},${T}-affix-wrapper`]:{borderRadius:0}},[`> ${T}-group-addon ${T}-search-button, + & > ${j}-cascader-picker-focused:last-child ${T}`]:{borderInlineEndWidth:D.lineWidth,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius},[`& > ${j}-select-auto-complete ${T}`]:{verticalAlign:"top"},[`${T}-group-wrapper + ${T}-group-wrapper`]:{marginInlineStart:-D.lineWidth,[`${T}-affix-wrapper`]:{borderRadius:0}},[`${T}-group-wrapper:not(:last-child)`]:{[`&${T}-search > ${T}-group`]:{[`& > ${T}-group-addon > ${T}-search-button`]:{borderRadius:0},[`& > ${T}`]:{borderStartStartRadius:D.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:D.borderRadius}}}})}},w=D=>{const{componentCls:T,controlHeightSM:j,lineWidth:K}=D,k=16,te=(j-K*2-k)/2;return{[T]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,a.Wf)(D)),h(D)),M(D,T)),{'&[type="color"]':{height:D.controlHeight,[`&${T}-lg`]:{height:D.controlHeightLG},[`&${T}-sm`]:{height:j,paddingTop:te,paddingBottom:te}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},C=D=>{const{componentCls:T}=D;return{[`${T}-clear-icon`]:{margin:0,color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${D.motionDurationSlow}`,"&:hover":{color:D.colorTextTertiary},"&:active":{color:D.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${D.inputAffixPadding}px`}}}},F=D=>{const{componentCls:T,inputAffixPadding:j,colorTextDescription:K,motionDurationSlow:k,colorIcon:te,colorIconHover:V,iconCls:q}=D;return{[`${T}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},h(D)),{display:"inline-flex",[`&:not(${T}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},d(D)),{zIndex:1,[`${T}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${T}[disabled]`]:{background:"transparent"}},[`> input${T}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${T}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:D.paddingXS}},"&-show-count-suffix":{color:K},"&-show-count-has-suffix":{marginInlineEnd:D.paddingXXS},"&-prefix":{marginInlineEnd:j},"&-suffix":{marginInlineStart:j}}}),C(D)),{[`${q}${T}-password-icon`]:{color:te,cursor:"pointer",transition:`all ${k}`,"&:hover":{color:V}}}),M(D,`${T}-affix-wrapper`))}},Z=D=>{const{componentCls:T,colorError:j,colorWarning:K,borderRadiusLG:k,borderRadiusSM:te}=D;return{[`${T}-group`]:Object.assign(Object.assign(Object.assign({},(0,a.Wf)(D)),S(D)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${T}-group-addon`]:{borderRadius:k,fontSize:D.fontSizeLG}},"&-sm":{[`${T}-group-addon`]:{borderRadius:te}},"&-status-error":{[`${T}-group-addon`]:{color:j,borderColor:j}},"&-status-warning":{[`${T}-group-addon`]:{color:K,borderColor:K}},"&-disabled":{[`${T}-group-addon`]:Object.assign({},c(D))},[`&:not(${T}-compact-first-item):not(${T}-compact-last-item)${T}-compact-item`]:{[`${T}, ${T}-group-addon`]:{borderRadius:0}},[`&:not(${T}-compact-last-item)${T}-compact-first-item`]:{[`${T}, ${T}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${T}-compact-first-item)${T}-compact-last-item`]:{[`${T}, ${T}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},N=D=>{const{componentCls:T,antCls:j}=D,K=`${T}-search`;return{[K]:{[`${T}`]:{"&:hover, &:focus":{borderColor:D.colorPrimaryHover,[`+ ${T}-group-addon ${K}-button:not(${j}-btn-primary)`]:{borderInlineStartColor:D.colorPrimaryHover}}},[`${T}-affix-wrapper`]:{borderRadius:0},[`${T}-lg`]:{lineHeight:D.lineHeightLG-2e-4},[`> ${T}-group`]:{[`> ${T}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${K}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius,borderEndStartRadius:0},[`${K}-button:not(${j}-btn-primary)`]:{color:D.colorTextDescription,"&:hover":{color:D.colorPrimaryHover},"&:active":{color:D.colorPrimaryActive},[`&${j}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${K}-button`]:{height:D.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${K}-button`]:{height:D.controlHeightLG},[`&-small ${K}-button`]:{height:D.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${T}-compact-item`]:{[`&:not(${T}-compact-last-item)`]:{[`${T}-group-addon`]:{[`${T}-search-button`]:{marginInlineEnd:-D.lineWidth,borderRadius:0}}},[`&:not(${T}-compact-first-item)`]:{[`${T},${T}-affix-wrapper`]:{borderRadius:0}},[`> ${T}-group-addon ${T}-search-button, > ${T}, - ${T}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${T}-affix-wrapper-focused`]:{zIndex:2}}}}};function L(D){return(0,o.TS)(D,{inputAffixPadding:D.paddingXXS,inputPaddingVertical:Math.max(Math.round((D.controlHeight-D.fontSize*D.lineHeight)/2*10)/10-D.lineWidth,3),inputPaddingVerticalLG:Math.ceil((D.controlHeightLG-D.fontSizeLG*D.lineHeightLG)/2*10)/10-D.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((D.controlHeightSM-D.fontSize*D.lineHeight)/2*10)/10-D.lineWidth,0),inputPaddingHorizontal:D.paddingSM-D.lineWidth,inputPaddingHorizontalSM:D.paddingXS-D.lineWidth,inputPaddingHorizontalLG:D.controlPaddingHorizontal-D.lineWidth,inputBorderHoverColor:D.colorPrimaryHover,inputBorderActiveColor:D.colorPrimaryHover})}const B=D=>{const{componentCls:T,paddingLG:j}=D,K=`${T}-textarea`;return{[K]:{position:"relative","&-show-count":{[`> ${T}`]:{height:"100%"},[`${T}-data-count`]:{position:"absolute",bottom:-D.fontSize*D.lineHeight,insetInlineEnd:0,color:D.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${T}`]:{paddingInlineEnd:j}},[`&-affix-wrapper${K}-has-feedback`]:{[`${T}`]:{paddingInlineEnd:j}},[`&-affix-wrapper${T}-affix-wrapper`]:{padding:0,[`> textarea${T}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${T}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${T}-clear-icon`]:{position:"absolute",insetInlineEnd:D.paddingXS,insetBlockStart:D.paddingXS},[`${K}-suffix`]:{position:"absolute",top:0,insetInlineEnd:D.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};y.ZP=(0,s.Z)("Input",D=>{const T=L(D);return[w(T),B(T),z(T),$(T),N(T),(0,t.c)(T)]})},67423:function(b,y,e){"use strict";e.d(y,{D:function(){return L},Z:function(){return T}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},s=o,n=e(17202),d=function(K,k){return t.createElement(n.Z,(0,a.Z)({},K,{ref:k,icon:s}))},l=t.forwardRef(d),c=e(99142),m=e(91169),g=e(87608),M=e.n(g),h=e(98186),w=j=>!isNaN(parseFloat(j))&&isFinite(j),C=e(61836),z=e(79802),$=function(j,K){var k={};for(var te in j)Object.prototype.hasOwnProperty.call(j,te)&&K.indexOf(te)<0&&(k[te]=j[te]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,te=Object.getOwnPropertySymbols(j);Y{let j=0;return function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,`${K}${j}`}})();var T=t.forwardRef((j,K)=>{const{prefixCls:k,className:te,trigger:Y,children:q,defaultCollapsed:le=!1,theme:X="dark",style:W={},collapsible:x=!1,reverseArrow:O=!1,width:_=200,collapsedWidth:U=80,zeroWidthTriggerStyle:A,breakpoint:G,onCollapse:de,onBreakpoint:he}=j,ge=$(j,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:be}=(0,t.useContext)(z.Gs),[Te,Ge]=(0,t.useState)("collapsed"in j?j.collapsed:le),[Je,Qe]=(0,t.useState)(!1);(0,t.useEffect)(()=>{"collapsed"in j&&Ge(j.collapsed)},[j.collapsed]);const pt=(rt,Ke)=>{"collapsed"in j||Ge(rt),de==null||de(rt,Ke)},Ct=(0,t.useRef)();Ct.current=rt=>{Qe(rt.matches),he==null||he(rt.matches),Te!==rt.matches&&pt(rt.matches,"responsive")},(0,t.useEffect)(()=>{function rt(ye){return Ct.current(ye)}let Ke;if(typeof window!="undefined"){const{matchMedia:ye}=window;if(ye&&G&&G in N){Ke=ye(`(max-width: ${N[G]})`);try{Ke.addEventListener("change",rt)}catch(ne){Ke.addListener(rt)}rt(Ke)}}return()=>{try{Ke==null||Ke.removeEventListener("change",rt)}catch(ye){Ke==null||Ke.removeListener(rt)}}},[G]),(0,t.useEffect)(()=>{const rt=B("ant-sider-");return be.addSider(rt),()=>be.removeSider(rt)},[]);const ft=()=>{pt(!Te,"clickTrigger")},{getPrefixCls:Ht}=(0,t.useContext)(C.E_),Ze=()=>{const rt=Ht("layout-sider",k),Ke=(0,h.Z)(ge,["collapsed"]),ye=Te?U:_,ne=w(ye)?`${ye}px`:String(ye),H=parseFloat(String(U||0))===0?t.createElement("span",{onClick:ft,className:M()(`${rt}-zero-width-trigger`,`${rt}-zero-width-trigger-${O?"right":"left"}`),style:A},Y||t.createElement(l,null)):null,ae={expanded:O?t.createElement(m.Z,null):t.createElement(c.Z,null),collapsed:O?t.createElement(c.Z,null):t.createElement(m.Z,null)}[Te?"collapsed":"expanded"],Q=Y!==null?H||t.createElement("div",{className:`${rt}-trigger`,onClick:ft,style:{width:ne}},Y||ae):null,ie=Object.assign(Object.assign({},W),{flex:`0 0 ${ne}`,maxWidth:ne,minWidth:ne,width:ne}),me=M()(rt,`${rt}-${X}`,{[`${rt}-collapsed`]:!!Te,[`${rt}-has-trigger`]:x&&Y!==null&&!H,[`${rt}-below`]:!!Je,[`${rt}-zero-width`]:parseFloat(ne)===0},te);return t.createElement("aside",Object.assign({className:me},Ke,{style:ie,ref:K}),t.createElement("div",{className:`${rt}-children`},q),x||Je&&H?Q:null)},Xe=t.useMemo(()=>({siderCollapsed:Te}),[Te]);return t.createElement(L.Provider,{value:Xe},Ze())})},79802:function(b,y,e){"use strict";e.d(y,{VY:function(){return D},$_:function(){return B},h4:function(){return L},Gs:function(){return w},ZP:function(){return T}});var a=e(29140),t=e(87608),o=e.n(t),s=e(98186),n=e(58757),d=e(61836),l=e(52628),c=e(22151),g=j=>{const{componentCls:K,colorBgContainer:k,colorBgBody:te,colorText:Y}=j;return{[`${K}-sider-light`]:{background:k,[`${K}-sider-trigger`]:{color:Y,background:k},[`${K}-sider-zero-width-trigger`]:{color:Y,background:k,border:`1px solid ${te}`,borderInlineStart:0}}}};const M=j=>{const{antCls:K,componentCls:k,colorText:te,colorTextLightSolid:Y,colorBgHeader:q,colorBgBody:le,colorBgTrigger:X,layoutHeaderHeight:W,layoutHeaderPaddingInline:x,layoutHeaderColor:O,layoutFooterPadding:_,layoutTriggerHeight:U,layoutZeroTriggerSize:A,motionDurationMid:G,motionDurationSlow:de,fontSize:he,borderRadius:ge}=j;return{[k]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:le,"&, *":{boxSizing:"border-box"},[`&${k}-has-sider`]:{flexDirection:"row",[`> ${k}, > ${k}-content`]:{width:0}},[`${k}-header, &${k}-footer`]:{flex:"0 0 auto"},[`${k}-sider`]:{position:"relative",minWidth:0,background:q,transition:`all ${G}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${K}-menu${K}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:U},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:U,color:Y,lineHeight:`${U}px`,textAlign:"center",background:X,cursor:"pointer",transition:`all ${G}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:W,insetInlineEnd:-A,zIndex:1,width:A,height:A,color:Y,fontSize:j.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:q,borderStartStartRadius:0,borderStartEndRadius:ge,borderEndEndRadius:ge,borderEndStartRadius:0,cursor:"pointer",transition:`background ${de} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${de}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-A,borderStartStartRadius:ge,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ge}}}}},g(j)),{"&-rtl":{direction:"rtl"}}),[`${k}-header`]:{height:W,paddingInline:x,color:O,lineHeight:`${W}px`,background:q,[`${K}-menu`]:{lineHeight:"inherit"}},[`${k}-footer`]:{padding:_,color:te,fontSize:he,background:le},[`${k}-content`]:{flex:"auto",minHeight:0}}};var h=(0,l.Z)("Layout",j=>{const{colorText:K,controlHeightSM:k,controlHeight:te,controlHeightLG:Y,marginXXS:q}=j,le=Y*1.25,X=(0,c.TS)(j,{layoutHeaderHeight:te*2,layoutHeaderPaddingInline:le,layoutHeaderColor:K,layoutFooterPadding:`${k}px ${le}px`,layoutTriggerHeight:Y+q*2,layoutZeroTriggerSize:Y});return[M(X)]},j=>{const{colorBgLayout:K}=j;return{colorBgHeader:"#001529",colorBgBody:K,colorBgTrigger:"#002140"}}),S=function(j,K){var k={};for(var te in j)Object.prototype.hasOwnProperty.call(j,te)&&K.indexOf(te)<0&&(k[te]=j[te]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,te=Object.getOwnPropertySymbols(j);Ynull,removeSider:()=>null}});function C(j){let{suffixCls:K,tagName:k,displayName:te}=j;return Y=>n.forwardRef((le,X)=>n.createElement(Y,Object.assign({ref:X,suffixCls:K,tagName:k},le)))}const z=n.forwardRef((j,K)=>{const{prefixCls:k,suffixCls:te,className:Y,tagName:q}=j,le=S(j,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:X}=n.useContext(d.E_),W=X("layout",k),[x,O]=h(W),_=te?`${W}-${te}`:W;return x(n.createElement(q,Object.assign({className:o()(k||_,Y,O),ref:K},le)))}),$=n.forwardRef((j,K)=>{const{direction:k}=n.useContext(d.E_),[te,Y]=n.useState([]),{prefixCls:q,className:le,rootClassName:X,children:W,hasSider:x,tagName:O,style:_}=j,U=S(j,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),A=(0,s.Z)(U,["suffixCls"]),{getPrefixCls:G,layout:de}=n.useContext(d.E_),he=G("layout",q),[ge,be]=h(he),Te=o()(he,{[`${he}-has-sider`]:typeof x=="boolean"?x:te.length>0,[`${he}-rtl`]:k==="rtl"},de==null?void 0:de.className,le,X,be),Ge=n.useMemo(()=>({siderHook:{addSider:Je=>{Y(Qe=>[].concat((0,a.Z)(Qe),[Je]))},removeSider:Je=>{Y(Qe=>Qe.filter(pt=>pt!==Je))}}}),[]);return ge(n.createElement(w.Provider,{value:Ge},n.createElement(O,Object.assign({ref:K,className:Te,style:Object.assign(Object.assign({},de==null?void 0:de.style),_)},A),W)))}),N=C({tagName:"div",displayName:"Layout"})($),L=C({suffixCls:"header",tagName:"header",displayName:"Header"})(z),B=C({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(z),D=C({suffixCls:"content",tagName:"main",displayName:"Content"})(z);var T=N},37617:function(b,y,e){"use strict";e.d(y,{Z:function(){return W}});var a=e(29140),t=e(87608),o=e.n(t),s=e(58757),n=e(44818),d=e(87078),l=e(61836),c=e(10401),m=e(67665),g=e(60059),M=e(35910),h=e(79233),S=e(37047),w=e(91334);const C=s.createContext({}),z=C.Consumer;var $=function(x,O){var _={};for(var U in x)Object.prototype.hasOwnProperty.call(x,U)&&O.indexOf(U)<0&&(_[U]=x[U]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,U=Object.getOwnPropertySymbols(x);A{var{prefixCls:O,className:_,avatar:U,title:A,description:G}=x,de=$(x,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:he}=(0,s.useContext)(l.E_),ge=he("list",O),be=o()(`${ge}-item-meta`,_),Te=s.createElement("div",{className:`${ge}-item-meta-content`},A&&s.createElement("h4",{className:`${ge}-item-meta-title`},A),G&&s.createElement("div",{className:`${ge}-item-meta-description`},G));return s.createElement("div",Object.assign({},de,{className:be}),U&&s.createElement("div",{className:`${ge}-item-meta-avatar`},U),(A||G)&&Te)},L=(x,O)=>{var{prefixCls:_,children:U,actions:A,extra:G,className:de,colStyle:he}=x,ge=$(x,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:be,itemLayout:Te}=(0,s.useContext)(C),{getPrefixCls:Ge}=(0,s.useContext)(l.E_),Je=()=>{let Ze;return s.Children.forEach(U,Xe=>{typeof Xe=="string"&&(Ze=!0)}),Ze&&s.Children.count(U)>1},Qe=()=>Te==="vertical"?!!G:!Je(),pt=Ge("list",_),Ct=A&&A.length>0&&s.createElement("ul",{className:`${pt}-item-action`,key:"actions"},A.map((Ze,Xe)=>s.createElement("li",{key:`${pt}-item-action-${Xe}`},Ze,Xe!==A.length-1&&s.createElement("em",{className:`${pt}-item-action-split`})))),ft=be?"div":"li",Ht=s.createElement(ft,Object.assign({},ge,be?{}:{ref:O},{className:o()(`${pt}-item`,{[`${pt}-item-no-flex`]:!Qe()},de)}),Te==="vertical"&&G?[s.createElement("div",{className:`${pt}-item-main`,key:"content"},U,Ct),s.createElement("div",{className:`${pt}-item-extra`,key:"extra"},G)]:[U,Ct,(0,S.Tm)(G,{key:"extra"})]);return be?s.createElement(w.Z,{ref:O,flex:1,style:he},Ht):Ht},B=(0,s.forwardRef)(L);B.Meta=N;var D=B,T=e(78330),j=e(52628),K=e(22151);const k=x=>{const{listBorderedCls:O,componentCls:_,paddingLG:U,margin:A,itemPaddingSM:G,itemPaddingLG:de,marginLG:he,borderRadiusLG:ge}=x;return{[`${O}`]:{border:`${x.lineWidth}px ${x.lineType} ${x.colorBorder}`,borderRadius:ge,[`${_}-header,${_}-footer,${_}-item`]:{paddingInline:U},[`${_}-pagination`]:{margin:`${A}px ${he}px`}},[`${O}${_}-sm`]:{[`${_}-item,${_}-header,${_}-footer`]:{padding:G}},[`${O}${_}-lg`]:{[`${_}-item,${_}-header,${_}-footer`]:{padding:de}}}},te=x=>{const{componentCls:O,screenSM:_,screenMD:U,marginLG:A,marginSM:G,margin:de}=x;return{[`@media screen and (max-width:${U})`]:{[`${O}`]:{[`${O}-item`]:{[`${O}-item-action`]:{marginInlineStart:A}}},[`${O}-vertical`]:{[`${O}-item`]:{[`${O}-item-extra`]:{marginInlineStart:A}}}},[`@media screen and (max-width: ${_})`]:{[`${O}`]:{[`${O}-item`]:{flexWrap:"wrap",[`${O}-action`]:{marginInlineStart:G}}},[`${O}-vertical`]:{[`${O}-item`]:{flexWrap:"wrap-reverse",[`${O}-item-main`]:{minWidth:x.contentWidth},[`${O}-item-extra`]:{margin:`auto auto ${de}px`}}}}}},Y=x=>{const{componentCls:O,antCls:_,controlHeight:U,minHeight:A,paddingSM:G,marginLG:de,padding:he,itemPadding:ge,colorPrimary:be,itemPaddingSM:Te,itemPaddingLG:Ge,paddingXS:Je,margin:Qe,colorText:pt,colorTextDescription:Ct,motionDurationSlow:ft,lineWidth:Ht,headerBg:Ze,footerBg:Xe,emptyTextPadding:rt,metaMarginBottom:Ke,avatarMarginRight:ye,titleMarginBottom:ne,descriptionFontSize:H}=x,R={};return["start","center","end"].forEach(P=>{R[`&-align-${P}`]={textAlign:P}}),{[`${O}`]:Object.assign(Object.assign({},(0,T.Wf)(x)),{position:"relative","*":{outline:"none"},[`${O}-header`]:{background:Ze},[`${O}-footer`]:{background:Xe},[`${O}-header, ${O}-footer`]:{paddingBlock:G},[`${O}-pagination`]:Object.assign(Object.assign({marginBlockStart:de},R),{[`${_}-pagination-options`]:{textAlign:"start"}}),[`${O}-spin`]:{minHeight:A,textAlign:"center"},[`${O}-items`]:{margin:0,padding:0,listStyle:"none"},[`${O}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:ge,color:pt,[`${O}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${O}-item-meta-avatar`]:{marginInlineEnd:ye},[`${O}-item-meta-content`]:{flex:"1 0",width:0,color:pt},[`${O}-item-meta-title`]:{margin:`0 0 ${x.marginXXS}px 0`,color:pt,fontSize:x.fontSize,lineHeight:x.lineHeight,"> a":{color:pt,transition:`all ${ft}`,["&:hover"]:{color:be}}},[`${O}-item-meta-description`]:{color:Ct,fontSize:H,lineHeight:x.lineHeight}},[`${O}-item-action`]:{flex:"0 0 auto",marginInlineStart:x.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${Je}px`,color:Ct,fontSize:x.fontSize,lineHeight:x.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${O}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:Ht,height:Math.ceil(x.fontSize*x.lineHeight)-x.marginXXS*2,transform:"translateY(-50%)",backgroundColor:x.colorSplit}}},[`${O}-empty`]:{padding:`${he}px 0`,color:Ct,fontSize:x.fontSizeSM,textAlign:"center"},[`${O}-empty-text`]:{padding:rt,color:x.colorTextDisabled,fontSize:x.fontSize,textAlign:"center"},[`${O}-item-no-flex`]:{display:"block"}}),[`${O}-grid ${_}-col > ${O}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:Qe,paddingBlock:0,borderBlockEnd:"none"},[`${O}-vertical ${O}-item`]:{alignItems:"initial",[`${O}-item-main`]:{display:"block",flex:1},[`${O}-item-extra`]:{marginInlineStart:de},[`${O}-item-meta`]:{marginBlockEnd:Ke,[`${O}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:ne,color:pt,fontSize:x.fontSizeLG,lineHeight:x.lineHeightLG}},[`${O}-item-action`]:{marginBlockStart:he,marginInlineStart:"auto","> li":{padding:`0 ${he}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${O}-split ${O}-item`]:{borderBlockEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${O}-split ${O}-header`]:{borderBlockEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`},[`${O}-split${O}-empty ${O}-footer`]:{borderTop:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`},[`${O}-loading ${O}-spin-nested-loading`]:{minHeight:U},[`${O}-split${O}-something-after-last-item ${_}-spin-container > ${O}-items > ${O}-item:last-child`]:{borderBlockEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`},[`${O}-lg ${O}-item`]:{padding:Ge},[`${O}-sm ${O}-item`]:{padding:Te},[`${O}:not(${O}-vertical)`]:{[`${O}-item-no-flex`]:{[`${O}-item-action`]:{float:"right"}}}}};var q=(0,j.Z)("List",x=>{const O=(0,K.TS)(x,{listBorderedCls:`${x.componentCls}-bordered`,minHeight:x.controlHeightLG});return[Y(O),k(O),te(O)]},x=>({contentWidth:220,itemPadding:`${x.paddingContentVertical}px 0`,itemPaddingSM:`${x.paddingContentVerticalSM}px ${x.paddingContentHorizontal}px`,itemPaddingLG:`${x.paddingContentVerticalLG}px ${x.paddingContentHorizontalLG}px`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:x.padding,metaMarginBottom:x.padding,avatarMarginRight:x.padding,titleMarginBottom:x.paddingSM,descriptionFontSize:x.fontSize})),le=function(x,O){var _={};for(var U in x)Object.prototype.hasOwnProperty.call(x,U)&&O.indexOf(U)<0&&(_[U]=x[U]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,U=Object.getOwnPropertySymbols(x);A(Yt,yt)=>{var ze;H(Yt),P(yt),_&&_[jt]&&((ze=_==null?void 0:_[jt])===null||ze===void 0||ze.call(_,Yt,yt))},Me=Ee("onChange"),We=Ee("onShowSizeChange"),re=(jt,Yt)=>{if(!Xe)return null;let yt;return typeof Ze=="function"?yt=Ze(jt):Ze?yt=jt[Ze]:yt=jt.key,yt||(yt=`list-item-${Yt}`),s.createElement(s.Fragment,{key:yt},Xe(jt,Yt))},se=()=>!!(Ge||_||ft),J=ae("list",U),[ce,xe]=q(J);let ue=Ht;typeof ue=="boolean"&&(ue={spinning:ue});const Ne=ue&&ue.spinning;let Oe="";switch(pt){case"large":Oe="lg";break;case"small":Oe="sm";break;default:break}const we=o()(J,{[`${J}-vertical`]:Te==="vertical",[`${J}-${Oe}`]:Oe,[`${J}-split`]:G,[`${J}-bordered`]:A,[`${J}-loading`]:Ne,[`${J}-grid`]:!!Je,[`${J}-something-after-last-item`]:se(),[`${J}-rtl`]:ie==="rtl"},me==null?void 0:me.className,de,he,xe),Re=(0,n.Z)(je,{total:Qe.length,current:ne,pageSize:R},_||{}),st=Math.ceil(Re.total/Re.pageSize);Re.current>st&&(Re.current=st);const tt=_?s.createElement("div",{className:o()(`${J}-pagination`,`${J}-pagination-align-${(O=Re==null?void 0:Re.align)!==null&&O!==void 0?O:"end"}`)},s.createElement(M.Z,Object.assign({},Re,{onChange:Me,onShowSizeChange:We}))):null;let Ye=(0,a.Z)(Qe);_&&Qe.length>(Re.current-1)*Re.pageSize&&(Ye=(0,a.Z)(Qe).splice((Re.current-1)*Re.pageSize,Re.pageSize));const ke=Object.keys(Je||{}).some(jt=>["xs","sm","md","lg","xl","xxl"].includes(jt)),Be=(0,g.Z)(ke),it=s.useMemo(()=>{for(let jt=0;jt{if(!Je)return;const jt=it&&Je[it]?Je[it]:Je.column;if(jt)return{width:`${100/jt}%`,maxWidth:`${100/jt}%`}},[Je==null?void 0:Je.column,it]);let It=Ne&&s.createElement("div",{style:{minHeight:53}});if(Ye.length>0){const jt=Ye.map((Yt,yt)=>re(Yt,yt));It=Je?s.createElement(m.Z,{gutter:Je.gutter},s.Children.map(jt,Yt=>s.createElement("div",{key:Yt==null?void 0:Yt.key,style:Ve},Yt))):s.createElement("ul",{className:`${J}-items`},jt)}else!be&&!Ne&&(It=s.createElement("div",{className:`${J}-empty-text`},rt&&rt.emptyText||(Q==null?void 0:Q("List"))||s.createElement(c.Z,{componentName:"List"})));const _t=Re.position||"bottom",wt=s.useMemo(()=>({grid:Je,itemLayout:Te}),[JSON.stringify(Je),Te]);return ce(s.createElement(C.Provider,{value:wt},s.createElement("div",Object.assign({style:Object.assign(Object.assign({},me==null?void 0:me.style),ge),className:we},Ke),(_t==="top"||_t==="both")&&tt,Ct&&s.createElement("div",{className:`${J}-header`},Ct),s.createElement(h.Z,Object.assign({},ue),It,be),ft&&s.createElement("div",{className:`${J}-footer`},ft),Ge||(_t==="bottom"||_t==="both")&&tt)))}X.Item=D;var W=X},10520:function(b,y,e){"use strict";var a=e(58757);const t=(0,a.createContext)(void 0);y.Z=t},80076:function(b,y,e){"use strict";var a=e(57522),t=e(81872),o=e(7056),s=e(38107);const n="${label} is not a valid ${type}",d={locale:"en",Pagination:a.Z,DatePicker:o.Z,TimePicker:s.Z,Calendar:t.Z,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};y.Z=d},29487:function(b,y,e){"use strict";var a=e(58757),t=e(10520),o=e(80076);const s=(n,d)=>{const l=a.useContext(t.Z),c=a.useMemo(()=>{var g;const M=d||o.Z[n],h=(g=l==null?void 0:l[n])!==null&&g!==void 0?g:{};return Object.assign(Object.assign({},typeof M=="function"?M():M),h||{})},[n,d,l]),m=a.useMemo(()=>{const g=l==null?void 0:l.locale;return l!=null&&l.exist&&!g?o.Z.locale:g},[l]);return[c,m]};y.Z=s},1597:function(b,y,e){"use strict";e.d(y,{Z:function(){return M}});var a=e(23737),t={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},o=t,n={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const d={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},o),timePickerLocale:Object.assign({},n)};d.lang.ok="\u786E\u5B9A";var l=d,c=l;const m="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var M={locale:"zh-cn",Pagination:a.Z,DatePicker:l,TimePicker:n,Calendar:c,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:m,method:m,array:m,object:m,number:m,date:m,boolean:m,integer:m,float:m,regexp:m,email:m,url:m,hex:m},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},81285:function(b,y,e){"use strict";e.d(y,{J:function(){return d}});var a=e(58757),t=e(43528),o=e(71219),s=function(l,c){var m={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&c.indexOf(g)<0&&(m[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,g=Object.getOwnPropertySymbols(l);M{const{children:m}=l,g=s(l,["children"]),M=a.useContext(n),h=a.useMemo(()=>Object.assign(Object.assign({},M),g),[M,g.prefixCls,g.mode,g.selectable]);return a.createElement(n.Provider,{value:h},a.createElement(t.BR,null,(0,o.t4)(m)?a.cloneElement(m,{ref:c}):m))});y.Z=n},85706:function(b,y,e){"use strict";e.d(y,{Z:function(){return rt}});var a=e(87854),t=e(58757),o=e(67423),s=e(87608),n=e.n(s),d=e(61836),l=function(Ke,ye){var ne={};for(var H in Ke)Object.prototype.hasOwnProperty.call(Ke,H)&&ye.indexOf(H)<0&&(ne[H]=Ke[H]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,H=Object.getOwnPropertySymbols(Ke);R{const{prefixCls:ye,className:ne,dashed:H}=Ke,R=l(Ke,["prefixCls","className","dashed"]),{getPrefixCls:P}=t.useContext(d.E_),ae=P("menu",ye),Q=n()({[`${ae}-item-divider-dashed`]:!!H},ne);return t.createElement(a.iz,Object.assign({className:Q},R))},g=e(42156),M=e(98186),h=e(74820),S=e(37047),C=(0,t.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),$=Ke=>{var ye;const{className:ne,children:H,icon:R,title:P,danger:ae}=Ke,{prefixCls:Q,firstLevel:ie,direction:me,disableMenuItemTitleTooltip:je,inlineCollapsed:Ee}=t.useContext(C),Me=xe=>{const ue=t.createElement("span",{className:`${Q}-title-content`},H);return(!R||(0,S.l$)(H)&&H.type==="span")&&H&&xe&&ie&&typeof H=="string"?t.createElement("div",{className:`${Q}-inline-collapsed-noicon`},H.charAt(0)):ue},{siderCollapsed:We}=t.useContext(o.D);let re=P;typeof P=="undefined"?re=ie?H:"":P===!1&&(re="");const se={title:re};!We&&!Ee&&(se.title=null,se.open=!1);const J=(0,g.Z)(H).length;let ce=t.createElement(a.ck,Object.assign({},(0,M.Z)(Ke,["title","icon","danger"]),{className:n()({[`${Q}-item-danger`]:ae,[`${Q}-item-only-child`]:(R?J+1:J)===1},ne),title:typeof P=="string"?P:void 0}),(0,S.Tm)(R,{className:n()((0,S.l$)(R)?(ye=R.props)===null||ye===void 0?void 0:ye.className:"",`${Q}-item-icon`)}),Me(Ee));return je||(ce=t.createElement(h.Z,Object.assign({},se,{placement:me==="rtl"?"left":"right",overlayClassName:`${Q}-inline-collapsed-tooltip`}),ce)),ce},L=Ke=>{var ye;const{popupClassName:ne,icon:H,title:R,theme:P}=Ke,ae=t.useContext(C),{prefixCls:Q,inlineCollapsed:ie,theme:me}=ae,je=(0,a.Xl)();let Ee;if(!H)Ee=ie&&!je.length&&R&&typeof R=="string"?t.createElement("div",{className:`${Q}-inline-collapsed-noicon`},R.charAt(0)):t.createElement("span",{className:`${Q}-title-content`},R);else{const We=(0,S.l$)(R)&&R.type==="span";Ee=t.createElement(t.Fragment,null,(0,S.Tm)(H,{className:n()((0,S.l$)(H)?(ye=H.props)===null||ye===void 0?void 0:ye.className:"",`${Q}-item-icon`)}),We?R:t.createElement("span",{className:`${Q}-title-content`},R))}const Me=t.useMemo(()=>Object.assign(Object.assign({},ae),{firstLevel:!1}),[ae]);return t.createElement(C.Provider,{value:Me},t.createElement(a.Wd,Object.assign({},(0,M.Z)(Ke,["icon"]),{title:Ee,popupClassName:n()(Q,ne,`${Q}-${P||me}`)})))},B=e(18974),D=e(51729),T=e(90881),j=e(81285),K=function(Ke,ye){var ne={};for(var H in Ke)Object.prototype.hasOwnProperty.call(Ke,H)&&ye.indexOf(H)<0&&(ne[H]=Ke[H]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,H=Object.getOwnPropertySymbols(Ke);R{if(ye&&typeof ye=="object"){const H=ye,{label:R,children:P,key:ae,type:Q}=H,ie=K(H,["label","children","key","type"]),me=ae!=null?ae:`tmp-${ne}`;return P||Q==="group"?Q==="group"?t.createElement(a.BW,Object.assign({key:me},ie,{title:R}),k(P)):t.createElement(L,Object.assign({key:me},ie,{title:R}),k(P)):Q==="divider"?t.createElement(m,Object.assign({key:me},ie)):t.createElement($,Object.assign({key:me},ie),R)}return null}).filter(ye=>ye)}function te(Ke){return t.useMemo(()=>Ke&&k(Ke),[Ke])}var Y=e(66671),q=e(78330),le=e(41086),X=e(1016),W=e(28107),x=e(52628),O=e(22151),U=Ke=>{const{componentCls:ye,motionDurationSlow:ne,horizontalLineHeight:H,colorSplit:R,lineWidth:P,lineType:ae,itemPaddingInline:Q}=Ke;return{[`${ye}-horizontal`]:{lineHeight:H,border:0,borderBottom:`${P}px ${ae} ${R}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ye}-item, ${ye}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Q},[`> ${ye}-item:hover, + ${T}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${T}-affix-wrapper-focused`]:{zIndex:2}}}}};function L(D){return(0,o.TS)(D,{inputAffixPadding:D.paddingXXS,inputPaddingVertical:Math.max(Math.round((D.controlHeight-D.fontSize*D.lineHeight)/2*10)/10-D.lineWidth,3),inputPaddingVerticalLG:Math.ceil((D.controlHeightLG-D.fontSizeLG*D.lineHeightLG)/2*10)/10-D.lineWidth,inputPaddingVerticalSM:Math.max(Math.round((D.controlHeightSM-D.fontSize*D.lineHeight)/2*10)/10-D.lineWidth,0),inputPaddingHorizontal:D.paddingSM-D.lineWidth,inputPaddingHorizontalSM:D.paddingXS-D.lineWidth,inputPaddingHorizontalLG:D.controlPaddingHorizontal-D.lineWidth,inputBorderHoverColor:D.colorPrimaryHover,inputBorderActiveColor:D.colorPrimaryHover})}const $=D=>{const{componentCls:T,paddingLG:j}=D,K=`${T}-textarea`;return{[K]:{position:"relative","&-show-count":{[`> ${T}`]:{height:"100%"},[`${T}-data-count`]:{position:"absolute",bottom:-D.fontSize*D.lineHeight,insetInlineEnd:0,color:D.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${T}`]:{paddingInlineEnd:j}},[`&-affix-wrapper${K}-has-feedback`]:{[`${T}`]:{paddingInlineEnd:j}},[`&-affix-wrapper${T}-affix-wrapper`]:{padding:0,[`> textarea${T}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${T}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${T}-clear-icon`]:{position:"absolute",insetInlineEnd:D.paddingXS,insetBlockStart:D.paddingXS},[`${K}-suffix`]:{position:"absolute",top:0,insetInlineEnd:D.inputPaddingHorizontal,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};y.ZP=(0,s.Z)("Input",D=>{const T=L(D);return[w(T),$(T),F(T),Z(T),N(T),(0,t.c)(T)]})},67423:function(b,y,e){"use strict";e.d(y,{D:function(){return L},Z:function(){return T}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},s=o,n=e(17202),d=function(K,k){return t.createElement(n.Z,(0,a.Z)({},K,{ref:k,icon:s}))},l=t.forwardRef(d),c=e(99142),m=e(91169),g=e(87608),M=e.n(g),h=e(98186),w=j=>!isNaN(parseFloat(j))&&isFinite(j),C=e(61836),F=e(79802),Z=function(j,K){var k={};for(var te in j)Object.prototype.hasOwnProperty.call(j,te)&&K.indexOf(te)<0&&(k[te]=j[te]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,te=Object.getOwnPropertySymbols(j);V{let j=0;return function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return j+=1,`${K}${j}`}})();var T=t.forwardRef((j,K)=>{const{prefixCls:k,className:te,trigger:V,children:q,defaultCollapsed:le=!1,theme:X="dark",style:W={},collapsible:x=!1,reverseArrow:O=!1,width:_=200,collapsedWidth:U=80,zeroWidthTriggerStyle:A,breakpoint:G,onCollapse:fe,onBreakpoint:pe}=j,ge=Z(j,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:be}=(0,t.useContext)(F.Gs),[Te,Ge]=(0,t.useState)("collapsed"in j?j.collapsed:le),[Je,Qe]=(0,t.useState)(!1);(0,t.useEffect)(()=>{"collapsed"in j&&Ge(j.collapsed)},[j.collapsed]);const pt=(nt,Ke)=>{"collapsed"in j||Ge(nt),fe==null||fe(nt,Ke)},Et=(0,t.useRef)();Et.current=nt=>{Qe(nt.matches),pe==null||pe(nt.matches),Te!==nt.matches&&pt(nt.matches,"responsive")},(0,t.useEffect)(()=>{function nt(ye){return Et.current(ye)}let Ke;if(typeof window!="undefined"){const{matchMedia:ye}=window;if(ye&&G&&G in N){Ke=ye(`(max-width: ${N[G]})`);try{Ke.addEventListener("change",nt)}catch(ne){Ke.addListener(nt)}nt(Ke)}}return()=>{try{Ke==null||Ke.removeEventListener("change",nt)}catch(ye){Ke==null||Ke.removeListener(nt)}}},[G]),(0,t.useEffect)(()=>{const nt=$("ant-sider-");return be.addSider(nt),()=>be.removeSider(nt)},[]);const ft=()=>{pt(!Te,"clickTrigger")},{getPrefixCls:Wt}=(0,t.useContext)(C.E_),$e=()=>{const nt=Wt("layout-sider",k),Ke=(0,h.Z)(ge,["collapsed"]),ye=Te?U:_,ne=w(ye)?`${ye}px`:String(ye),H=parseFloat(String(U||0))===0?t.createElement("span",{onClick:ft,className:M()(`${nt}-zero-width-trigger`,`${nt}-zero-width-trigger-${O?"right":"left"}`),style:A},V||t.createElement(l,null)):null,ae={expanded:O?t.createElement(m.Z,null):t.createElement(c.Z,null),collapsed:O?t.createElement(c.Z,null):t.createElement(m.Z,null)}[Te?"collapsed":"expanded"],Q=V!==null?H||t.createElement("div",{className:`${nt}-trigger`,onClick:ft,style:{width:ne}},V||ae):null,ie=Object.assign(Object.assign({},W),{flex:`0 0 ${ne}`,maxWidth:ne,minWidth:ne,width:ne}),me=M()(nt,`${nt}-${X}`,{[`${nt}-collapsed`]:!!Te,[`${nt}-has-trigger`]:x&&V!==null&&!H,[`${nt}-below`]:!!Je,[`${nt}-zero-width`]:parseFloat(ne)===0},te);return t.createElement("aside",Object.assign({className:me},Ke,{style:ie,ref:K}),t.createElement("div",{className:`${nt}-children`},q),x||Je&&H?Q:null)},Xe=t.useMemo(()=>({siderCollapsed:Te}),[Te]);return t.createElement(L.Provider,{value:Xe},$e())})},79802:function(b,y,e){"use strict";e.d(y,{VY:function(){return D},$_:function(){return $},h4:function(){return L},Gs:function(){return w},ZP:function(){return T}});var a=e(29140),t=e(87608),o=e.n(t),s=e(98186),n=e(58757),d=e(61836),l=e(52628),c=e(22151),g=j=>{const{componentCls:K,colorBgContainer:k,colorBgBody:te,colorText:V}=j;return{[`${K}-sider-light`]:{background:k,[`${K}-sider-trigger`]:{color:V,background:k},[`${K}-sider-zero-width-trigger`]:{color:V,background:k,border:`1px solid ${te}`,borderInlineStart:0}}}};const M=j=>{const{antCls:K,componentCls:k,colorText:te,colorTextLightSolid:V,colorBgHeader:q,colorBgBody:le,colorBgTrigger:X,layoutHeaderHeight:W,layoutHeaderPaddingInline:x,layoutHeaderColor:O,layoutFooterPadding:_,layoutTriggerHeight:U,layoutZeroTriggerSize:A,motionDurationMid:G,motionDurationSlow:fe,fontSize:pe,borderRadius:ge}=j;return{[k]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:le,"&, *":{boxSizing:"border-box"},[`&${k}-has-sider`]:{flexDirection:"row",[`> ${k}, > ${k}-content`]:{width:0}},[`${k}-header, &${k}-footer`]:{flex:"0 0 auto"},[`${k}-sider`]:{position:"relative",minWidth:0,background:q,transition:`all ${G}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${K}-menu${K}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:U},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:U,color:V,lineHeight:`${U}px`,textAlign:"center",background:X,cursor:"pointer",transition:`all ${G}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:W,insetInlineEnd:-A,zIndex:1,width:A,height:A,color:V,fontSize:j.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:q,borderStartStartRadius:0,borderStartEndRadius:ge,borderEndEndRadius:ge,borderEndStartRadius:0,cursor:"pointer",transition:`background ${fe} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${fe}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-A,borderStartStartRadius:ge,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ge}}}}},g(j)),{"&-rtl":{direction:"rtl"}}),[`${k}-header`]:{height:W,paddingInline:x,color:O,lineHeight:`${W}px`,background:q,[`${K}-menu`]:{lineHeight:"inherit"}},[`${k}-footer`]:{padding:_,color:te,fontSize:pe,background:le},[`${k}-content`]:{flex:"auto",minHeight:0}}};var h=(0,l.Z)("Layout",j=>{const{colorText:K,controlHeightSM:k,controlHeight:te,controlHeightLG:V,marginXXS:q}=j,le=V*1.25,X=(0,c.TS)(j,{layoutHeaderHeight:te*2,layoutHeaderPaddingInline:le,layoutHeaderColor:K,layoutFooterPadding:`${k}px ${le}px`,layoutTriggerHeight:V+q*2,layoutZeroTriggerSize:V});return[M(X)]},j=>{const{colorBgLayout:K}=j;return{colorBgHeader:"#001529",colorBgBody:K,colorBgTrigger:"#002140"}}),S=function(j,K){var k={};for(var te in j)Object.prototype.hasOwnProperty.call(j,te)&&K.indexOf(te)<0&&(k[te]=j[te]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,te=Object.getOwnPropertySymbols(j);Vnull,removeSider:()=>null}});function C(j){let{suffixCls:K,tagName:k,displayName:te}=j;return V=>n.forwardRef((le,X)=>n.createElement(V,Object.assign({ref:X,suffixCls:K,tagName:k},le)))}const F=n.forwardRef((j,K)=>{const{prefixCls:k,suffixCls:te,className:V,tagName:q}=j,le=S(j,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:X}=n.useContext(d.E_),W=X("layout",k),[x,O]=h(W),_=te?`${W}-${te}`:W;return x(n.createElement(q,Object.assign({className:o()(k||_,V,O),ref:K},le)))}),Z=n.forwardRef((j,K)=>{const{direction:k}=n.useContext(d.E_),[te,V]=n.useState([]),{prefixCls:q,className:le,rootClassName:X,children:W,hasSider:x,tagName:O,style:_}=j,U=S(j,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),A=(0,s.Z)(U,["suffixCls"]),{getPrefixCls:G,layout:fe}=n.useContext(d.E_),pe=G("layout",q),[ge,be]=h(pe),Te=o()(pe,{[`${pe}-has-sider`]:typeof x=="boolean"?x:te.length>0,[`${pe}-rtl`]:k==="rtl"},fe==null?void 0:fe.className,le,X,be),Ge=n.useMemo(()=>({siderHook:{addSider:Je=>{V(Qe=>[].concat((0,a.Z)(Qe),[Je]))},removeSider:Je=>{V(Qe=>Qe.filter(pt=>pt!==Je))}}}),[]);return ge(n.createElement(w.Provider,{value:Ge},n.createElement(O,Object.assign({ref:K,className:Te,style:Object.assign(Object.assign({},fe==null?void 0:fe.style),_)},A),W)))}),N=C({tagName:"div",displayName:"Layout"})(Z),L=C({suffixCls:"header",tagName:"header",displayName:"Header"})(F),$=C({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(F),D=C({suffixCls:"content",tagName:"main",displayName:"Content"})(F);var T=N},37617:function(b,y,e){"use strict";e.d(y,{Z:function(){return W}});var a=e(29140),t=e(87608),o=e.n(t),s=e(58757),n=e(44818),d=e(87078),l=e(61836),c=e(10401),m=e(67665),g=e(60059),M=e(35910),h=e(79233),S=e(37047),w=e(91334);const C=s.createContext({}),F=C.Consumer;var Z=function(x,O){var _={};for(var U in x)Object.prototype.hasOwnProperty.call(x,U)&&O.indexOf(U)<0&&(_[U]=x[U]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,U=Object.getOwnPropertySymbols(x);A{var{prefixCls:O,className:_,avatar:U,title:A,description:G}=x,fe=Z(x,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:pe}=(0,s.useContext)(l.E_),ge=pe("list",O),be=o()(`${ge}-item-meta`,_),Te=s.createElement("div",{className:`${ge}-item-meta-content`},A&&s.createElement("h4",{className:`${ge}-item-meta-title`},A),G&&s.createElement("div",{className:`${ge}-item-meta-description`},G));return s.createElement("div",Object.assign({},fe,{className:be}),U&&s.createElement("div",{className:`${ge}-item-meta-avatar`},U),(A||G)&&Te)},L=(x,O)=>{var{prefixCls:_,children:U,actions:A,extra:G,className:fe,colStyle:pe}=x,ge=Z(x,["prefixCls","children","actions","extra","className","colStyle"]);const{grid:be,itemLayout:Te}=(0,s.useContext)(C),{getPrefixCls:Ge}=(0,s.useContext)(l.E_),Je=()=>{let $e;return s.Children.forEach(U,Xe=>{typeof Xe=="string"&&($e=!0)}),$e&&s.Children.count(U)>1},Qe=()=>Te==="vertical"?!!G:!Je(),pt=Ge("list",_),Et=A&&A.length>0&&s.createElement("ul",{className:`${pt}-item-action`,key:"actions"},A.map(($e,Xe)=>s.createElement("li",{key:`${pt}-item-action-${Xe}`},$e,Xe!==A.length-1&&s.createElement("em",{className:`${pt}-item-action-split`})))),ft=be?"div":"li",Wt=s.createElement(ft,Object.assign({},ge,be?{}:{ref:O},{className:o()(`${pt}-item`,{[`${pt}-item-no-flex`]:!Qe()},fe)}),Te==="vertical"&&G?[s.createElement("div",{className:`${pt}-item-main`,key:"content"},U,Et),s.createElement("div",{className:`${pt}-item-extra`,key:"extra"},G)]:[U,Et,(0,S.Tm)(G,{key:"extra"})]);return be?s.createElement(w.Z,{ref:O,flex:1,style:pe},Wt):Wt},$=(0,s.forwardRef)(L);$.Meta=N;var D=$,T=e(78330),j=e(52628),K=e(22151);const k=x=>{const{listBorderedCls:O,componentCls:_,paddingLG:U,margin:A,itemPaddingSM:G,itemPaddingLG:fe,marginLG:pe,borderRadiusLG:ge}=x;return{[`${O}`]:{border:`${x.lineWidth}px ${x.lineType} ${x.colorBorder}`,borderRadius:ge,[`${_}-header,${_}-footer,${_}-item`]:{paddingInline:U},[`${_}-pagination`]:{margin:`${A}px ${pe}px`}},[`${O}${_}-sm`]:{[`${_}-item,${_}-header,${_}-footer`]:{padding:G}},[`${O}${_}-lg`]:{[`${_}-item,${_}-header,${_}-footer`]:{padding:fe}}}},te=x=>{const{componentCls:O,screenSM:_,screenMD:U,marginLG:A,marginSM:G,margin:fe}=x;return{[`@media screen and (max-width:${U})`]:{[`${O}`]:{[`${O}-item`]:{[`${O}-item-action`]:{marginInlineStart:A}}},[`${O}-vertical`]:{[`${O}-item`]:{[`${O}-item-extra`]:{marginInlineStart:A}}}},[`@media screen and (max-width: ${_})`]:{[`${O}`]:{[`${O}-item`]:{flexWrap:"wrap",[`${O}-action`]:{marginInlineStart:G}}},[`${O}-vertical`]:{[`${O}-item`]:{flexWrap:"wrap-reverse",[`${O}-item-main`]:{minWidth:x.contentWidth},[`${O}-item-extra`]:{margin:`auto auto ${fe}px`}}}}}},V=x=>{const{componentCls:O,antCls:_,controlHeight:U,minHeight:A,paddingSM:G,marginLG:fe,padding:pe,itemPadding:ge,colorPrimary:be,itemPaddingSM:Te,itemPaddingLG:Ge,paddingXS:Je,margin:Qe,colorText:pt,colorTextDescription:Et,motionDurationSlow:ft,lineWidth:Wt,headerBg:$e,footerBg:Xe,emptyTextPadding:nt,metaMarginBottom:Ke,avatarMarginRight:ye,titleMarginBottom:ne,descriptionFontSize:H}=x,R={};return["start","center","end"].forEach(P=>{R[`&-align-${P}`]={textAlign:P}}),{[`${O}`]:Object.assign(Object.assign({},(0,T.Wf)(x)),{position:"relative","*":{outline:"none"},[`${O}-header`]:{background:$e},[`${O}-footer`]:{background:Xe},[`${O}-header, ${O}-footer`]:{paddingBlock:G},[`${O}-pagination`]:Object.assign(Object.assign({marginBlockStart:fe},R),{[`${_}-pagination-options`]:{textAlign:"start"}}),[`${O}-spin`]:{minHeight:A,textAlign:"center"},[`${O}-items`]:{margin:0,padding:0,listStyle:"none"},[`${O}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:ge,color:pt,[`${O}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${O}-item-meta-avatar`]:{marginInlineEnd:ye},[`${O}-item-meta-content`]:{flex:"1 0",width:0,color:pt},[`${O}-item-meta-title`]:{margin:`0 0 ${x.marginXXS}px 0`,color:pt,fontSize:x.fontSize,lineHeight:x.lineHeight,"> a":{color:pt,transition:`all ${ft}`,["&:hover"]:{color:be}}},[`${O}-item-meta-description`]:{color:Et,fontSize:H,lineHeight:x.lineHeight}},[`${O}-item-action`]:{flex:"0 0 auto",marginInlineStart:x.marginXXL,padding:0,fontSize:0,listStyle:"none",["& > li"]:{position:"relative",display:"inline-block",padding:`0 ${Je}px`,color:Et,fontSize:x.fontSize,lineHeight:x.lineHeight,textAlign:"center",["&:first-child"]:{paddingInlineStart:0}},[`${O}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:Wt,height:Math.ceil(x.fontSize*x.lineHeight)-x.marginXXS*2,transform:"translateY(-50%)",backgroundColor:x.colorSplit}}},[`${O}-empty`]:{padding:`${pe}px 0`,color:Et,fontSize:x.fontSizeSM,textAlign:"center"},[`${O}-empty-text`]:{padding:nt,color:x.colorTextDisabled,fontSize:x.fontSize,textAlign:"center"},[`${O}-item-no-flex`]:{display:"block"}}),[`${O}-grid ${_}-col > ${O}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:Qe,paddingBlock:0,borderBlockEnd:"none"},[`${O}-vertical ${O}-item`]:{alignItems:"initial",[`${O}-item-main`]:{display:"block",flex:1},[`${O}-item-extra`]:{marginInlineStart:fe},[`${O}-item-meta`]:{marginBlockEnd:Ke,[`${O}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:ne,color:pt,fontSize:x.fontSizeLG,lineHeight:x.lineHeightLG}},[`${O}-item-action`]:{marginBlockStart:pe,marginInlineStart:"auto","> li":{padding:`0 ${pe}px`,["&:first-child"]:{paddingInlineStart:0}}}},[`${O}-split ${O}-item`]:{borderBlockEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`,["&:last-child"]:{borderBlockEnd:"none"}},[`${O}-split ${O}-header`]:{borderBlockEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`},[`${O}-split${O}-empty ${O}-footer`]:{borderTop:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`},[`${O}-loading ${O}-spin-nested-loading`]:{minHeight:U},[`${O}-split${O}-something-after-last-item ${_}-spin-container > ${O}-items > ${O}-item:last-child`]:{borderBlockEnd:`${x.lineWidth}px ${x.lineType} ${x.colorSplit}`},[`${O}-lg ${O}-item`]:{padding:Ge},[`${O}-sm ${O}-item`]:{padding:Te},[`${O}:not(${O}-vertical)`]:{[`${O}-item-no-flex`]:{[`${O}-item-action`]:{float:"right"}}}}};var q=(0,j.Z)("List",x=>{const O=(0,K.TS)(x,{listBorderedCls:`${x.componentCls}-bordered`,minHeight:x.controlHeightLG});return[V(O),k(O),te(O)]},x=>({contentWidth:220,itemPadding:`${x.paddingContentVertical}px 0`,itemPaddingSM:`${x.paddingContentVerticalSM}px ${x.paddingContentHorizontal}px`,itemPaddingLG:`${x.paddingContentVerticalLG}px ${x.paddingContentHorizontalLG}px`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:x.padding,metaMarginBottom:x.padding,avatarMarginRight:x.padding,titleMarginBottom:x.paddingSM,descriptionFontSize:x.fontSize})),le=function(x,O){var _={};for(var U in x)Object.prototype.hasOwnProperty.call(x,U)&&O.indexOf(U)<0&&(_[U]=x[U]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,U=Object.getOwnPropertySymbols(x);A(_t,yt)=>{var ze;H(_t),P(yt),_&&_[wt]&&((ze=_==null?void 0:_[wt])===null||ze===void 0||ze.call(_,_t,yt))},Me=Ee("onChange"),We=Ee("onShowSizeChange"),re=(wt,_t)=>{if(!Xe)return null;let yt;return typeof $e=="function"?yt=$e(wt):$e?yt=wt[$e]:yt=wt.key,yt||(yt=`list-item-${_t}`),s.createElement(s.Fragment,{key:yt},Xe(wt,_t))},se=()=>!!(Ge||_||ft),J=ae("list",U),[de,xe]=q(J);let ce=Wt;typeof ce=="boolean"&&(ce={spinning:ce});const Le=ce&&ce.spinning;let Oe="";switch(pt){case"large":Oe="lg";break;case"small":Oe="sm";break;default:break}const we=o()(J,{[`${J}-vertical`]:Te==="vertical",[`${J}-${Oe}`]:Oe,[`${J}-split`]:G,[`${J}-bordered`]:A,[`${J}-loading`]:Le,[`${J}-grid`]:!!Je,[`${J}-something-after-last-item`]:se(),[`${J}-rtl`]:ie==="rtl"},me==null?void 0:me.className,fe,pe,xe),Ne=(0,n.Z)(je,{total:Qe.length,current:ne,pageSize:R},_||{}),st=Math.ceil(Ne.total/Ne.pageSize);Ne.current>st&&(Ne.current=st);const et=_?s.createElement("div",{className:o()(`${J}-pagination`,`${J}-pagination-align-${(O=Ne==null?void 0:Ne.align)!==null&&O!==void 0?O:"end"}`)},s.createElement(M.Z,Object.assign({},Ne,{onChange:Me,onShowSizeChange:We}))):null;let Ye=(0,a.Z)(Qe);_&&Qe.length>(Ne.current-1)*Ne.pageSize&&(Ye=(0,a.Z)(Qe).splice((Ne.current-1)*Ne.pageSize,Ne.pageSize));const ke=Object.keys(Je||{}).some(wt=>["xs","sm","md","lg","xl","xxl"].includes(wt)),Be=(0,g.Z)(ke),it=s.useMemo(()=>{for(let wt=0;wt{if(!Je)return;const wt=it&&Je[it]?Je[it]:Je.column;if(wt)return{width:`${100/wt}%`,maxWidth:`${100/wt}%`}},[Je==null?void 0:Je.column,it]);let xt=Le&&s.createElement("div",{style:{minHeight:53}});if(Ye.length>0){const wt=Ye.map((_t,yt)=>re(_t,yt));xt=Je?s.createElement(m.Z,{gutter:Je.gutter},s.Children.map(wt,_t=>s.createElement("div",{key:_t==null?void 0:_t.key,style:Ve},_t))):s.createElement("ul",{className:`${J}-items`},wt)}else!be&&!Le&&(xt=s.createElement("div",{className:`${J}-empty-text`},nt&&nt.emptyText||(Q==null?void 0:Q("List"))||s.createElement(c.Z,{componentName:"List"})));const Ht=Ne.position||"bottom",Ot=s.useMemo(()=>({grid:Je,itemLayout:Te}),[JSON.stringify(Je),Te]);return de(s.createElement(C.Provider,{value:Ot},s.createElement("div",Object.assign({style:Object.assign(Object.assign({},me==null?void 0:me.style),ge),className:we},Ke),(Ht==="top"||Ht==="both")&&et,Et&&s.createElement("div",{className:`${J}-header`},Et),s.createElement(h.Z,Object.assign({},ce),xt,be),ft&&s.createElement("div",{className:`${J}-footer`},ft),Ge||(Ht==="bottom"||Ht==="both")&&et)))}X.Item=D;var W=X},10520:function(b,y,e){"use strict";var a=e(58757);const t=(0,a.createContext)(void 0);y.Z=t},80076:function(b,y,e){"use strict";var a=e(57522),t=e(81872),o=e(7056),s=e(38107);const n="${label} is not a valid ${type}",d={locale:"en",Pagination:a.Z,DatePicker:o.Z,TimePicker:s.Z,Calendar:t.Z,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};y.Z=d},29487:function(b,y,e){"use strict";var a=e(58757),t=e(10520),o=e(80076);const s=(n,d)=>{const l=a.useContext(t.Z),c=a.useMemo(()=>{var g;const M=d||o.Z[n],h=(g=l==null?void 0:l[n])!==null&&g!==void 0?g:{};return Object.assign(Object.assign({},typeof M=="function"?M():M),h||{})},[n,d,l]),m=a.useMemo(()=>{const g=l==null?void 0:l.locale;return l!=null&&l.exist&&!g?o.Z.locale:g},[l]);return[c,m]};y.Z=s},1597:function(b,y,e){"use strict";e.d(y,{Z:function(){return M}});var a=e(23737),t={locale:"zh_CN",today:"\u4ECA\u5929",now:"\u6B64\u523B",backToToday:"\u8FD4\u56DE\u4ECA\u5929",ok:"\u786E\u5B9A",timeSelect:"\u9009\u62E9\u65F6\u95F4",dateSelect:"\u9009\u62E9\u65E5\u671F",weekSelect:"\u9009\u62E9\u5468",clear:"\u6E05\u9664",month:"\u6708",year:"\u5E74",previousMonth:"\u4E0A\u4E2A\u6708 (\u7FFB\u9875\u4E0A\u952E)",nextMonth:"\u4E0B\u4E2A\u6708 (\u7FFB\u9875\u4E0B\u952E)",monthSelect:"\u9009\u62E9\u6708\u4EFD",yearSelect:"\u9009\u62E9\u5E74\u4EFD",decadeSelect:"\u9009\u62E9\u5E74\u4EE3",yearFormat:"YYYY\u5E74",dayFormat:"D\u65E5",dateFormat:"YYYY\u5E74M\u6708D\u65E5",dateTimeFormat:"YYYY\u5E74M\u6708D\u65E5 HH\u65F6mm\u5206ss\u79D2",previousYear:"\u4E0A\u4E00\u5E74 (Control\u952E\u52A0\u5DE6\u65B9\u5411\u952E)",nextYear:"\u4E0B\u4E00\u5E74 (Control\u952E\u52A0\u53F3\u65B9\u5411\u952E)",previousDecade:"\u4E0A\u4E00\u5E74\u4EE3",nextDecade:"\u4E0B\u4E00\u5E74\u4EE3",previousCentury:"\u4E0A\u4E00\u4E16\u7EAA",nextCentury:"\u4E0B\u4E00\u4E16\u7EAA"},o=t,n={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]};const d={lang:Object.assign({placeholder:"\u8BF7\u9009\u62E9\u65E5\u671F",yearPlaceholder:"\u8BF7\u9009\u62E9\u5E74\u4EFD",quarterPlaceholder:"\u8BF7\u9009\u62E9\u5B63\u5EA6",monthPlaceholder:"\u8BF7\u9009\u62E9\u6708\u4EFD",weekPlaceholder:"\u8BF7\u9009\u62E9\u5468",rangePlaceholder:["\u5F00\u59CB\u65E5\u671F","\u7ED3\u675F\u65E5\u671F"],rangeYearPlaceholder:["\u5F00\u59CB\u5E74\u4EFD","\u7ED3\u675F\u5E74\u4EFD"],rangeMonthPlaceholder:["\u5F00\u59CB\u6708\u4EFD","\u7ED3\u675F\u6708\u4EFD"],rangeQuarterPlaceholder:["\u5F00\u59CB\u5B63\u5EA6","\u7ED3\u675F\u5B63\u5EA6"],rangeWeekPlaceholder:["\u5F00\u59CB\u5468","\u7ED3\u675F\u5468"]},o),timePickerLocale:Object.assign({},n)};d.lang.ok="\u786E\u5B9A";var l=d,c=l;const m="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}";var M={locale:"zh-cn",Pagination:a.Z,DatePicker:l,TimePicker:n,Calendar:c,global:{placeholder:"\u8BF7\u9009\u62E9"},Table:{filterTitle:"\u7B5B\u9009",filterConfirm:"\u786E\u5B9A",filterReset:"\u91CD\u7F6E",filterEmptyText:"\u65E0\u7B5B\u9009\u9879",filterCheckall:"\u5168\u9009",filterSearchPlaceholder:"\u5728\u7B5B\u9009\u9879\u4E2D\u641C\u7D22",selectAll:"\u5168\u9009\u5F53\u9875",selectInvert:"\u53CD\u9009\u5F53\u9875",selectNone:"\u6E05\u7A7A\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5E8F",expand:"\u5C55\u5F00\u884C",collapse:"\u5173\u95ED\u884C",triggerDesc:"\u70B9\u51FB\u964D\u5E8F",triggerAsc:"\u70B9\u51FB\u5347\u5E8F",cancelSort:"\u53D6\u6D88\u6392\u5E8F"},Modal:{okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",justOkText:"\u77E5\u9053\u4E86"},Tour:{Next:"\u4E0B\u4E00\u6B65",Previous:"\u4E0A\u4E00\u6B65",Finish:"\u7ED3\u675F\u5BFC\u89C8"},Popconfirm:{cancelText:"\u53D6\u6D88",okText:"\u786E\u5B9A"},Transfer:{titles:["",""],searchPlaceholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5F53\u9875",removeCurrent:"\u5220\u9664\u5F53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90E8",selectInvert:"\u53CD\u9009\u5F53\u9875"},Upload:{uploading:"\u6587\u4EF6\u4E0A\u4F20\u4E2D",removeFile:"\u5220\u9664\u6587\u4EF6",uploadError:"\u4E0A\u4F20\u9519\u8BEF",previewFile:"\u9884\u89C8\u6587\u4EF6",downloadFile:"\u4E0B\u8F7D\u6587\u4EF6"},Empty:{description:"\u6682\u65E0\u6570\u636E"},Icon:{icon:"\u56FE\u6807"},Text:{edit:"\u7F16\u8F91",copy:"\u590D\u5236",copied:"\u590D\u5236\u6210\u529F",expand:"\u5C55\u5F00"},PageHeader:{back:"\u8FD4\u56DE"},Form:{optional:"\uFF08\u53EF\u9009\uFF09",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:m,method:m,array:m,object:m,number:m,date:m,boolean:m,integer:m,float:m,regexp:m,email:m,url:m,hex:m},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},Image:{preview:"\u9884\u89C8"},QRCode:{expired:"\u4E8C\u7EF4\u7801\u8FC7\u671F",refresh:"\u70B9\u51FB\u5237\u65B0"},ColorPicker:{presetEmpty:"\u6682\u65E0"}}},81285:function(b,y,e){"use strict";e.d(y,{J:function(){return d}});var a=e(58757),t=e(43528),o=e(71219),s=function(l,c){var m={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&c.indexOf(g)<0&&(m[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,g=Object.getOwnPropertySymbols(l);M{const{children:m}=l,g=s(l,["children"]),M=a.useContext(n),h=a.useMemo(()=>Object.assign(Object.assign({},M),g),[M,g.prefixCls,g.mode,g.selectable]);return a.createElement(n.Provider,{value:h},a.createElement(t.BR,null,(0,o.t4)(m)?a.cloneElement(m,{ref:c}):m))});y.Z=n},85706:function(b,y,e){"use strict";e.d(y,{Z:function(){return nt}});var a=e(87854),t=e(58757),o=e(67423),s=e(87608),n=e.n(s),d=e(61836),l=function(Ke,ye){var ne={};for(var H in Ke)Object.prototype.hasOwnProperty.call(Ke,H)&&ye.indexOf(H)<0&&(ne[H]=Ke[H]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,H=Object.getOwnPropertySymbols(Ke);R{const{prefixCls:ye,className:ne,dashed:H}=Ke,R=l(Ke,["prefixCls","className","dashed"]),{getPrefixCls:P}=t.useContext(d.E_),ae=P("menu",ye),Q=n()({[`${ae}-item-divider-dashed`]:!!H},ne);return t.createElement(a.iz,Object.assign({className:Q},R))},g=e(42156),M=e(98186),h=e(74820),S=e(37047),C=(0,t.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Z=Ke=>{var ye;const{className:ne,children:H,icon:R,title:P,danger:ae}=Ke,{prefixCls:Q,firstLevel:ie,direction:me,disableMenuItemTitleTooltip:je,inlineCollapsed:Ee}=t.useContext(C),Me=xe=>{const ce=t.createElement("span",{className:`${Q}-title-content`},H);return(!R||(0,S.l$)(H)&&H.type==="span")&&H&&xe&&ie&&typeof H=="string"?t.createElement("div",{className:`${Q}-inline-collapsed-noicon`},H.charAt(0)):ce},{siderCollapsed:We}=t.useContext(o.D);let re=P;typeof P=="undefined"?re=ie?H:"":P===!1&&(re="");const se={title:re};!We&&!Ee&&(se.title=null,se.open=!1);const J=(0,g.Z)(H).length;let de=t.createElement(a.ck,Object.assign({},(0,M.Z)(Ke,["title","icon","danger"]),{className:n()({[`${Q}-item-danger`]:ae,[`${Q}-item-only-child`]:(R?J+1:J)===1},ne),title:typeof P=="string"?P:void 0}),(0,S.Tm)(R,{className:n()((0,S.l$)(R)?(ye=R.props)===null||ye===void 0?void 0:ye.className:"",`${Q}-item-icon`)}),Me(Ee));return je||(de=t.createElement(h.Z,Object.assign({},se,{placement:me==="rtl"?"left":"right",overlayClassName:`${Q}-inline-collapsed-tooltip`}),de)),de},L=Ke=>{var ye;const{popupClassName:ne,icon:H,title:R,theme:P}=Ke,ae=t.useContext(C),{prefixCls:Q,inlineCollapsed:ie,theme:me}=ae,je=(0,a.Xl)();let Ee;if(!H)Ee=ie&&!je.length&&R&&typeof R=="string"?t.createElement("div",{className:`${Q}-inline-collapsed-noicon`},R.charAt(0)):t.createElement("span",{className:`${Q}-title-content`},R);else{const We=(0,S.l$)(R)&&R.type==="span";Ee=t.createElement(t.Fragment,null,(0,S.Tm)(H,{className:n()((0,S.l$)(H)?(ye=H.props)===null||ye===void 0?void 0:ye.className:"",`${Q}-item-icon`)}),We?R:t.createElement("span",{className:`${Q}-title-content`},R))}const Me=t.useMemo(()=>Object.assign(Object.assign({},ae),{firstLevel:!1}),[ae]);return t.createElement(C.Provider,{value:Me},t.createElement(a.Wd,Object.assign({},(0,M.Z)(Ke,["icon"]),{title:Ee,popupClassName:n()(Q,ne,`${Q}-${P||me}`)})))},$=e(18974),D=e(51729),T=e(90881),j=e(81285),K=function(Ke,ye){var ne={};for(var H in Ke)Object.prototype.hasOwnProperty.call(Ke,H)&&ye.indexOf(H)<0&&(ne[H]=Ke[H]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,H=Object.getOwnPropertySymbols(Ke);R{if(ye&&typeof ye=="object"){const H=ye,{label:R,children:P,key:ae,type:Q}=H,ie=K(H,["label","children","key","type"]),me=ae!=null?ae:`tmp-${ne}`;return P||Q==="group"?Q==="group"?t.createElement(a.BW,Object.assign({key:me},ie,{title:R}),k(P)):t.createElement(L,Object.assign({key:me},ie,{title:R}),k(P)):Q==="divider"?t.createElement(m,Object.assign({key:me},ie)):t.createElement(Z,Object.assign({key:me},ie),R)}return null}).filter(ye=>ye)}function te(Ke){return t.useMemo(()=>Ke&&k(Ke),[Ke])}var V=e(66671),q=e(78330),le=e(41086),X=e(1016),W=e(28107),x=e(52628),O=e(22151),U=Ke=>{const{componentCls:ye,motionDurationSlow:ne,horizontalLineHeight:H,colorSplit:R,lineWidth:P,lineType:ae,itemPaddingInline:Q}=Ke;return{[`${ye}-horizontal`]:{lineHeight:H,border:0,borderBottom:`${P}px ${ae} ${R}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${ye}-item, ${ye}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Q},[`> ${ye}-item:hover, > ${ye}-item-active, > ${ye}-submenu ${ye}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${ye}-item, ${ye}-submenu-title`]:{transition:[`border-color ${ne}`,`background ${ne}`].join(",")},[`${ye}-submenu-arrow`]:{display:"none"}}}},G=Ke=>{let{componentCls:ye,menuArrowOffset:ne}=Ke;return{[`${ye}-rtl`]:{direction:"rtl"},[`${ye}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${ye}-rtl${ye}-vertical, - ${ye}-submenu-rtl ${ye}-vertical`]:{[`${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ne})`},"&::after":{transform:`rotate(45deg) translateY(${ne})`}}}}};const de=Ke=>Object.assign({},(0,q.oN)(Ke));var ge=(Ke,ye)=>{const{componentCls:ne,itemColor:H,itemSelectedColor:R,groupTitleColor:P,itemBg:ae,subMenuItemBg:Q,itemSelectedBg:ie,activeBarHeight:me,activeBarWidth:je,activeBarBorderWidth:Ee,motionDurationSlow:Me,motionEaseInOut:We,motionEaseOut:re,itemPaddingInline:se,motionDurationMid:J,itemHoverColor:ce,lineType:xe,colorSplit:ue,itemDisabledColor:Ne,dangerItemColor:Oe,dangerItemHoverColor:we,dangerItemSelectedColor:Re,dangerItemActiveBg:st,dangerItemSelectedBg:tt,itemHoverBg:Ye,itemActiveBg:ke,menuSubMenuBg:Be,horizontalItemSelectedColor:it,horizontalItemSelectedBg:Ve,horizontalItemBorderRadius:It,horizontalItemHoverBg:_t,popupBg:wt}=Ke;return{[`${ne}-${ye}, ${ne}-${ye} > ${ne}`]:{color:H,background:ae,[`&${ne}-root:focus-visible`]:Object.assign({},de(Ke)),[`${ne}-item-group-title`]:{color:P},[`${ne}-submenu-selected`]:{[`> ${ne}-submenu-title`]:{color:R}},[`${ne}-item-disabled, ${ne}-submenu-disabled`]:{color:`${Ne} !important`},[`${ne}-item:not(${ne}-item-selected):not(${ne}-submenu-selected)`]:{[`&:hover, > ${ne}-submenu-title:hover`]:{color:ce}},[`&:not(${ne}-horizontal)`]:{[`${ne}-item:not(${ne}-item-selected)`]:{"&:hover":{backgroundColor:Ye},"&:active":{backgroundColor:ke}},[`${ne}-submenu-title`]:{"&:hover":{backgroundColor:Ye},"&:active":{backgroundColor:ke}}},[`${ne}-item-danger`]:{color:Oe,[`&${ne}-item:hover`]:{[`&:not(${ne}-item-selected):not(${ne}-submenu-selected)`]:{color:we}},[`&${ne}-item:active`]:{background:st}},[`${ne}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ne}-item-selected`]:{color:R,[`&${ne}-item-danger`]:{color:Re},["a, a:hover"]:{color:"inherit"}},[`& ${ne}-item-selected`]:{backgroundColor:ie,[`&${ne}-item-danger`]:{backgroundColor:tt}},[`${ne}-item, ${ne}-submenu-title`]:{[`&:not(${ne}-item-disabled):focus-visible`]:Object.assign({},de(Ke))},[`&${ne}-submenu > ${ne}`]:{backgroundColor:Be},[`&${ne}-popup > ${ne}`]:{backgroundColor:wt},[`&${ne}-horizontal`]:Object.assign(Object.assign({},ye==="dark"?{borderBottom:0}:{}),{[`> ${ne}-item, > ${ne}-submenu`]:{top:Ee,marginTop:-Ee,marginBottom:0,borderRadius:It,"&::after":{position:"absolute",insetInline:se,bottom:0,borderBottom:`${me}px solid transparent`,transition:`border-color ${Me} ${We}`,content:'""'},["&:hover, &-active, &-open"]:{background:_t,"&::after":{borderBottomWidth:me,borderBottomColor:it}},["&-selected"]:{color:it,backgroundColor:Ve,"&:hover":{backgroundColor:Ve},"&::after":{borderBottomWidth:me,borderBottomColor:it}}}}),[`&${ne}-root`]:{[`&${ne}-inline, &${ne}-vertical`]:{borderInlineEnd:`${Ee}px ${xe} ${ue}`}},[`&${ne}-inline`]:{[`${ne}-sub${ne}-inline`]:{background:Q},[`${ne}-item, ${ne}-submenu-title`]:Ee&&je?{width:`calc(100% + ${Ee}px)`}:{},[`${ne}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${je}px solid ${R}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${J} ${re}`,`opacity ${J} ${re}`].join(","),content:'""'},[`&${ne}-item-danger`]:{"&::after":{borderInlineEndColor:Re}}},[`${ne}-selected, ${ne}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${J} ${We}`,`opacity ${J} ${We}`].join(",")}}}}}};const be=Ke=>{const{componentCls:ye,itemHeight:ne,itemMarginInline:H,padding:R,menuArrowSize:P,marginXS:ae,itemMarginBlock:Q}=Ke,ie=R+P+ae;return{[`${ye}-item`]:{position:"relative",overflow:"hidden"},[`${ye}-item, ${ye}-submenu-title`]:{height:ne,lineHeight:`${ne}px`,paddingInline:R,overflow:"hidden",textOverflow:"ellipsis",marginInline:H,marginBlock:Q,width:`calc(100% - ${H*2}px)`},[`> ${ye}-item, + ${ye}-submenu-rtl ${ye}-vertical`]:{[`${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ne})`},"&::after":{transform:`rotate(45deg) translateY(${ne})`}}}}};const fe=Ke=>Object.assign({},(0,q.oN)(Ke));var ge=(Ke,ye)=>{const{componentCls:ne,itemColor:H,itemSelectedColor:R,groupTitleColor:P,itemBg:ae,subMenuItemBg:Q,itemSelectedBg:ie,activeBarHeight:me,activeBarWidth:je,activeBarBorderWidth:Ee,motionDurationSlow:Me,motionEaseInOut:We,motionEaseOut:re,itemPaddingInline:se,motionDurationMid:J,itemHoverColor:de,lineType:xe,colorSplit:ce,itemDisabledColor:Le,dangerItemColor:Oe,dangerItemHoverColor:we,dangerItemSelectedColor:Ne,dangerItemActiveBg:st,dangerItemSelectedBg:et,itemHoverBg:Ye,itemActiveBg:ke,menuSubMenuBg:Be,horizontalItemSelectedColor:it,horizontalItemSelectedBg:Ve,horizontalItemBorderRadius:xt,horizontalItemHoverBg:Ht,popupBg:Ot}=Ke;return{[`${ne}-${ye}, ${ne}-${ye} > ${ne}`]:{color:H,background:ae,[`&${ne}-root:focus-visible`]:Object.assign({},fe(Ke)),[`${ne}-item-group-title`]:{color:P},[`${ne}-submenu-selected`]:{[`> ${ne}-submenu-title`]:{color:R}},[`${ne}-item-disabled, ${ne}-submenu-disabled`]:{color:`${Le} !important`},[`${ne}-item:not(${ne}-item-selected):not(${ne}-submenu-selected)`]:{[`&:hover, > ${ne}-submenu-title:hover`]:{color:de}},[`&:not(${ne}-horizontal)`]:{[`${ne}-item:not(${ne}-item-selected)`]:{"&:hover":{backgroundColor:Ye},"&:active":{backgroundColor:ke}},[`${ne}-submenu-title`]:{"&:hover":{backgroundColor:Ye},"&:active":{backgroundColor:ke}}},[`${ne}-item-danger`]:{color:Oe,[`&${ne}-item:hover`]:{[`&:not(${ne}-item-selected):not(${ne}-submenu-selected)`]:{color:we}},[`&${ne}-item:active`]:{background:st}},[`${ne}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ne}-item-selected`]:{color:R,[`&${ne}-item-danger`]:{color:Ne},["a, a:hover"]:{color:"inherit"}},[`& ${ne}-item-selected`]:{backgroundColor:ie,[`&${ne}-item-danger`]:{backgroundColor:et}},[`${ne}-item, ${ne}-submenu-title`]:{[`&:not(${ne}-item-disabled):focus-visible`]:Object.assign({},fe(Ke))},[`&${ne}-submenu > ${ne}`]:{backgroundColor:Be},[`&${ne}-popup > ${ne}`]:{backgroundColor:Ot},[`&${ne}-horizontal`]:Object.assign(Object.assign({},ye==="dark"?{borderBottom:0}:{}),{[`> ${ne}-item, > ${ne}-submenu`]:{top:Ee,marginTop:-Ee,marginBottom:0,borderRadius:xt,"&::after":{position:"absolute",insetInline:se,bottom:0,borderBottom:`${me}px solid transparent`,transition:`border-color ${Me} ${We}`,content:'""'},["&:hover, &-active, &-open"]:{background:Ht,"&::after":{borderBottomWidth:me,borderBottomColor:it}},["&-selected"]:{color:it,backgroundColor:Ve,"&:hover":{backgroundColor:Ve},"&::after":{borderBottomWidth:me,borderBottomColor:it}}}}),[`&${ne}-root`]:{[`&${ne}-inline, &${ne}-vertical`]:{borderInlineEnd:`${Ee}px ${xe} ${ce}`}},[`&${ne}-inline`]:{[`${ne}-sub${ne}-inline`]:{background:Q},[`${ne}-item, ${ne}-submenu-title`]:Ee&&je?{width:`calc(100% + ${Ee}px)`}:{},[`${ne}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${je}px solid ${R}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${J} ${re}`,`opacity ${J} ${re}`].join(","),content:'""'},[`&${ne}-item-danger`]:{"&::after":{borderInlineEndColor:Ne}}},[`${ne}-selected, ${ne}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${J} ${We}`,`opacity ${J} ${We}`].join(",")}}}}}};const be=Ke=>{const{componentCls:ye,itemHeight:ne,itemMarginInline:H,padding:R,menuArrowSize:P,marginXS:ae,itemMarginBlock:Q}=Ke,ie=R+P+ae;return{[`${ye}-item`]:{position:"relative",overflow:"hidden"},[`${ye}-item, ${ye}-submenu-title`]:{height:ne,lineHeight:`${ne}px`,paddingInline:R,overflow:"hidden",textOverflow:"ellipsis",marginInline:H,marginBlock:Q,width:`calc(100% - ${H*2}px)`},[`> ${ye}-item, > ${ye}-submenu > ${ye}-submenu-title`]:{height:ne,lineHeight:`${ne}px`},[`${ye}-item-group-list ${ye}-submenu-title, - ${ye}-submenu-title`]:{paddingInlineEnd:ie}}};var Ge=Ke=>{const{componentCls:ye,iconCls:ne,itemHeight:H,colorTextLightSolid:R,dropdownWidth:P,controlHeightLG:ae,motionDurationMid:Q,motionEaseOut:ie,paddingXL:me,itemMarginInline:je,fontSizeLG:Ee,motionDurationSlow:Me,paddingXS:We,boxShadowSecondary:re,collapsedWidth:se,collapsedIconSize:J}=Ke,ce={height:H,lineHeight:`${H}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ye]:{["&-inline, &-vertical"]:Object.assign({[`&${ye}-root`]:{boxShadow:"none"}},be(Ke))},[`${ye}-submenu-popup`]:{[`${ye}-vertical`]:Object.assign(Object.assign({},be(Ke)),{boxShadow:re})}},{[`${ye}-submenu-popup ${ye}-vertical${ye}-sub`]:{minWidth:P,maxHeight:`calc(100vh - ${ae*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ye}-inline`]:{width:"100%",[`&${ye}-root`]:{[`${ye}-item, ${ye}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Me}`,`background ${Me}`,`padding ${Q} ${ie}`].join(","),[`> ${ye}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ye}-sub${ye}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ye}-submenu > ${ye}-submenu-title`]:ce,[`& ${ye}-item-group-title`]:{paddingInlineStart:me}},[`${ye}-item`]:ce}},{[`${ye}-inline-collapsed`]:{width:se,[`&${ye}-root`]:{[`${ye}-item, ${ye}-submenu ${ye}-submenu-title`]:{[`> ${ye}-inline-collapsed-noicon`]:{fontSize:Ee,textAlign:"center"}}},[`> ${ye}-item, + ${ye}-submenu-title`]:{paddingInlineEnd:ie}}};var Ge=Ke=>{const{componentCls:ye,iconCls:ne,itemHeight:H,colorTextLightSolid:R,dropdownWidth:P,controlHeightLG:ae,motionDurationMid:Q,motionEaseOut:ie,paddingXL:me,itemMarginInline:je,fontSizeLG:Ee,motionDurationSlow:Me,paddingXS:We,boxShadowSecondary:re,collapsedWidth:se,collapsedIconSize:J}=Ke,de={height:H,lineHeight:`${H}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[ye]:{["&-inline, &-vertical"]:Object.assign({[`&${ye}-root`]:{boxShadow:"none"}},be(Ke))},[`${ye}-submenu-popup`]:{[`${ye}-vertical`]:Object.assign(Object.assign({},be(Ke)),{boxShadow:re})}},{[`${ye}-submenu-popup ${ye}-vertical${ye}-sub`]:{minWidth:P,maxHeight:`calc(100vh - ${ae*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${ye}-inline`]:{width:"100%",[`&${ye}-root`]:{[`${ye}-item, ${ye}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Me}`,`background ${Me}`,`padding ${Q} ${ie}`].join(","),[`> ${ye}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${ye}-sub${ye}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${ye}-submenu > ${ye}-submenu-title`]:de,[`& ${ye}-item-group-title`]:{paddingInlineStart:me}},[`${ye}-item`]:de}},{[`${ye}-inline-collapsed`]:{width:se,[`&${ye}-root`]:{[`${ye}-item, ${ye}-submenu ${ye}-submenu-title`]:{[`> ${ye}-inline-collapsed-noicon`]:{fontSize:Ee,textAlign:"center"}}},[`> ${ye}-item, > ${ye}-item-group > ${ye}-item-group-list > ${ye}-item, > ${ye}-item-group > ${ye}-item-group-list > ${ye}-submenu > ${ye}-submenu-title, > ${ye}-submenu > ${ye}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ee/2}px - ${je}px)`,textOverflow:"clip",[` ${ye}-submenu-arrow, ${ye}-submenu-expand-icon - `]:{opacity:0},[`${ye}-item-icon, ${ne}`]:{margin:0,fontSize:J,lineHeight:`${H}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ye}-item-icon, ${ne}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ye}-item-icon, ${ne}`]:{display:"none"},"a, a:hover":{color:R}},[`${ye}-item-group-title`]:Object.assign(Object.assign({},q.vS),{paddingInline:We})}}]};const Je=Ke=>{const{componentCls:ye,motionDurationSlow:ne,motionDurationMid:H,motionEaseInOut:R,motionEaseOut:P,iconCls:ae,iconSize:Q,iconMarginInlineEnd:ie}=Ke;return{[`${ye}-item, ${ye}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ne}`,`background ${ne}`,`padding ${ne} ${R}`].join(","),[`${ye}-item-icon, ${ae}`]:{minWidth:Q,fontSize:Q,transition:[`font-size ${H} ${P}`,`margin ${ne} ${R}`,`color ${ne}`].join(","),"+ span":{marginInlineStart:ie,opacity:1,transition:[`opacity ${ne} ${R}`,`margin ${ne}`,`color ${ne}`].join(",")}},[`${ye}-item-icon`]:Object.assign({},(0,q.Ro)()),[`&${ye}-item-only-child`]:{[`> ${ae}, > ${ye}-item-icon`]:{marginInlineEnd:0}}},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ye}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qe=Ke=>{const{componentCls:ye,motionDurationSlow:ne,motionEaseInOut:H,borderRadius:R,menuArrowSize:P,menuArrowOffset:ae}=Ke;return{[`${ye}-submenu`]:{["&-expand-icon, &-arrow"]:{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:P,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ne} ${H}, opacity ${ne}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:P*.6,height:P*.15,backgroundColor:"currentcolor",borderRadius:R,transition:[`background ${ne} ${H}`,`transform ${ne} ${H}`,`top ${ne} ${H}`,`color ${ne} ${H}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${ae})`},"&::after":{transform:`rotate(-45deg) translateY(${ae})`}}}}},pt=Ke=>{const{antCls:ye,componentCls:ne,fontSize:H,motionDurationSlow:R,motionDurationMid:P,motionEaseInOut:ae,paddingXS:Q,padding:ie,colorSplit:me,lineWidth:je,zIndexPopup:Ee,borderRadiusLG:Me,subMenuItemBorderRadius:We,menuArrowSize:re,menuArrowOffset:se,lineType:J,menuPanelMaskInset:ce,groupTitleLineHeight:xe,groupTitleFontSize:ue}=Ke;return[{"":{[`${ne}`]:Object.assign(Object.assign({},(0,q.dF)()),{["&-hidden"]:{display:"none"}})},[`${ne}-submenu-hidden`]:{display:"none"}},{[ne]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,q.Wf)(Ke)),(0,q.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:H,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${R} cubic-bezier(0.2, 0, 0, 1) 0s`,["ul, ol"]:{margin:0,padding:0,listStyle:"none"},["&-overflow"]:{display:"flex",[`${ne}-item`]:{flex:"none"}},[`${ne}-item, ${ne}-submenu, ${ne}-submenu-title`]:{borderRadius:Ke.itemBorderRadius},[`${ne}-item-group-title`]:{padding:`${Q}px ${ie}px`,fontSize:ue,lineHeight:xe,transition:`all ${R}`},[`&-horizontal ${ne}-submenu`]:{transition:[`border-color ${R} ${ae}`,`background ${R} ${ae}`].join(",")},[`${ne}-submenu, ${ne}-submenu-inline`]:{transition:[`border-color ${R} ${ae}`,`background ${R} ${ae}`,`padding ${P} ${ae}`].join(",")},[`${ne}-submenu ${ne}-sub`]:{cursor:"initial",transition:[`background ${R} ${ae}`,`padding ${R} ${ae}`].join(",")},[`${ne}-title-content`]:{transition:`color ${R}`},[`${ne}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ne}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:me,borderStyle:J,borderWidth:0,borderTopWidth:je,marginBlock:je,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Je(Ke)),{[`${ne}-item-group`]:{[`${ne}-item-group-list`]:{margin:0,padding:0,[`${ne}-item, ${ne}-submenu-title`]:{paddingInline:`${H*2}px ${ie}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ee,borderRadius:Me,boxShadow:"none",transformOrigin:"0 0",[`&${ne}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ce}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ce},[` + `]:{opacity:0},[`${ye}-item-icon, ${ne}`]:{margin:0,fontSize:J,lineHeight:`${H}px`,"+ span":{display:"inline-block",opacity:0}}},[`${ye}-item-icon, ${ne}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${ye}-item-icon, ${ne}`]:{display:"none"},"a, a:hover":{color:R}},[`${ye}-item-group-title`]:Object.assign(Object.assign({},q.vS),{paddingInline:We})}}]};const Je=Ke=>{const{componentCls:ye,motionDurationSlow:ne,motionDurationMid:H,motionEaseInOut:R,motionEaseOut:P,iconCls:ae,iconSize:Q,iconMarginInlineEnd:ie}=Ke;return{[`${ye}-item, ${ye}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ne}`,`background ${ne}`,`padding ${ne} ${R}`].join(","),[`${ye}-item-icon, ${ae}`]:{minWidth:Q,fontSize:Q,transition:[`font-size ${H} ${P}`,`margin ${ne} ${R}`,`color ${ne}`].join(","),"+ span":{marginInlineStart:ie,opacity:1,transition:[`opacity ${ne} ${R}`,`margin ${ne}`,`color ${ne}`].join(",")}},[`${ye}-item-icon`]:Object.assign({},(0,q.Ro)()),[`&${ye}-item-only-child`]:{[`> ${ae}, > ${ye}-item-icon`]:{marginInlineEnd:0}}},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${ye}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Qe=Ke=>{const{componentCls:ye,motionDurationSlow:ne,motionEaseInOut:H,borderRadius:R,menuArrowSize:P,menuArrowOffset:ae}=Ke;return{[`${ye}-submenu`]:{["&-expand-icon, &-arrow"]:{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:P,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ne} ${H}, opacity ${ne}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:P*.6,height:P*.15,backgroundColor:"currentcolor",borderRadius:R,transition:[`background ${ne} ${H}`,`transform ${ne} ${H}`,`top ${ne} ${H}`,`color ${ne} ${H}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${ae})`},"&::after":{transform:`rotate(-45deg) translateY(${ae})`}}}}},pt=Ke=>{const{antCls:ye,componentCls:ne,fontSize:H,motionDurationSlow:R,motionDurationMid:P,motionEaseInOut:ae,paddingXS:Q,padding:ie,colorSplit:me,lineWidth:je,zIndexPopup:Ee,borderRadiusLG:Me,subMenuItemBorderRadius:We,menuArrowSize:re,menuArrowOffset:se,lineType:J,menuPanelMaskInset:de,groupTitleLineHeight:xe,groupTitleFontSize:ce}=Ke;return[{"":{[`${ne}`]:Object.assign(Object.assign({},(0,q.dF)()),{["&-hidden"]:{display:"none"}})},[`${ne}-submenu-hidden`]:{display:"none"}},{[ne]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,q.Wf)(Ke)),(0,q.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:H,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${R} cubic-bezier(0.2, 0, 0, 1) 0s`,["ul, ol"]:{margin:0,padding:0,listStyle:"none"},["&-overflow"]:{display:"flex",[`${ne}-item`]:{flex:"none"}},[`${ne}-item, ${ne}-submenu, ${ne}-submenu-title`]:{borderRadius:Ke.itemBorderRadius},[`${ne}-item-group-title`]:{padding:`${Q}px ${ie}px`,fontSize:ce,lineHeight:xe,transition:`all ${R}`},[`&-horizontal ${ne}-submenu`]:{transition:[`border-color ${R} ${ae}`,`background ${R} ${ae}`].join(",")},[`${ne}-submenu, ${ne}-submenu-inline`]:{transition:[`border-color ${R} ${ae}`,`background ${R} ${ae}`,`padding ${P} ${ae}`].join(",")},[`${ne}-submenu ${ne}-sub`]:{cursor:"initial",transition:[`background ${R} ${ae}`,`padding ${R} ${ae}`].join(",")},[`${ne}-title-content`]:{transition:`color ${R}`},[`${ne}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ne}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:me,borderStyle:J,borderWidth:0,borderTopWidth:je,marginBlock:je,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Je(Ke)),{[`${ne}-item-group`]:{[`${ne}-item-group-list`]:{margin:0,padding:0,[`${ne}-item, ${ne}-submenu-title`]:{paddingInline:`${H*2}px ${ie}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ee,borderRadius:Me,boxShadow:"none",transformOrigin:"0 0",[`&${ne}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${de}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:de},[` &-placement-leftTop, &-placement-bottomRight, `]:{transformOrigin:"100% 0"},[` @@ -286,20 +286,20 @@ http://j.mp/37Fkd5Q &-placement-bottomRight, &-placement-bottomLeft `]:{paddingTop:Ke.paddingXS},[`> ${ne}`]:Object.assign(Object.assign(Object.assign({borderRadius:Me},Je(Ke)),Qe(Ke)),{[`${ne}-item, ${ne}-submenu > ${ne}-submenu-title`]:{borderRadius:We},[`${ne}-submenu-title::after`]:{transition:`transform ${R} ${ae}`}})}}),Qe(Ke)),{[`&-inline-collapsed ${ne}-submenu-arrow, - &-inline ${ne}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${se})`},"&::after":{transform:`rotate(45deg) translateX(-${se})`}},[`${ne}-submenu-open${ne}-submenu-inline > ${ne}-submenu-title > ${ne}-submenu-arrow`]:{transform:`translateY(-${re*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${se})`},"&::before":{transform:`rotate(45deg) translateX(${se})`}}})},{[`${ye}-layout-header`]:{[ne]:{lineHeight:"inherit"}}}]};var Ct=(Ke,ye)=>(0,x.Z)("Menu",H=>{if(ye===!1)return[];const{colorBgElevated:R,colorPrimary:P,colorTextLightSolid:ae,controlHeightLG:Q,fontSize:ie,darkItemColor:me,darkDangerItemColor:je,darkItemBg:Ee,darkSubMenuItemBg:Me,darkItemSelectedColor:We,darkItemSelectedBg:re,darkDangerItemSelectedBg:se,darkItemHoverBg:J,darkGroupTitleColor:ce,darkItemHoverColor:xe,darkItemDisabledColor:ue,darkDangerItemHoverColor:Ne,darkDangerItemSelectedColor:Oe,darkDangerItemActiveBg:we}=H,Re=ie/7*5,st=(0,O.TS)(H,{menuArrowSize:Re,menuHorizontalHeight:Q*1.15,menuArrowOffset:`${Re*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:R}),tt=(0,O.TS)(st,{itemColor:me,itemHoverColor:xe,groupTitleColor:ce,itemSelectedColor:We,itemBg:Ee,popupBg:Ee,subMenuItemBg:Me,itemActiveBg:"transparent",itemSelectedBg:re,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:J,itemDisabledColor:ue,dangerItemColor:je,dangerItemHoverColor:Ne,dangerItemSelectedColor:Oe,dangerItemActiveBg:we,dangerItemSelectedBg:se,menuSubMenuBg:Me,horizontalItemSelectedColor:ae,horizontalItemSelectedBg:P});return[pt(st),U(st),Ge(st),ge(st,"light"),ge(tt,"dark"),G(st),(0,le.Z)(st),(0,X.oN)(st,"slide-up"),(0,X.oN)(st,"slide-down"),(0,W._y)(st,"zoom-big")]},H=>{const{colorPrimary:R,colorError:P,colorTextDisabled:ae,colorErrorBg:Q,colorText:ie,colorTextDescription:me,colorBgContainer:je,colorFillAlter:Ee,colorFillContent:Me,lineWidth:We,lineWidthBold:re,controlItemBgActive:se,colorBgTextHover:J,controlHeightLG:ce,lineHeight:xe,colorBgElevated:ue,marginXXS:Ne,padding:Oe,fontSize:we,controlHeightSM:Re,fontSizeLG:st,colorTextLightSolid:tt,colorErrorHover:Ye}=H,ke=new Y.C(tt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:H.zIndexPopupBase+50,radiusItem:H.borderRadiusLG,itemBorderRadius:H.borderRadiusLG,radiusSubMenuItem:H.borderRadiusSM,subMenuItemBorderRadius:H.borderRadiusSM,colorItemText:ie,itemColor:ie,colorItemTextHover:ie,itemHoverColor:ie,colorItemTextHoverHorizontal:R,horizontalItemHoverColor:R,colorGroupTitle:me,groupTitleColor:me,colorItemTextSelected:R,itemSelectedColor:R,colorItemTextSelectedHorizontal:R,horizontalItemSelectedColor:R,colorItemBg:je,itemBg:je,colorItemBgHover:J,itemHoverBg:J,colorItemBgActive:Me,itemActiveBg:se,colorSubItemBg:Ee,subMenuItemBg:Ee,colorItemBgSelected:se,itemSelectedBg:se,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:re,activeBarHeight:re,colorActiveBarBorderSize:We,activeBarBorderWidth:We,colorItemTextDisabled:ae,itemDisabledColor:ae,colorDangerItemText:P,dangerItemColor:P,colorDangerItemTextHover:P,dangerItemHoverColor:P,colorDangerItemTextSelected:P,dangerItemSelectedColor:P,colorDangerItemBgActive:Q,dangerItemActiveBg:Q,colorDangerItemBgSelected:Q,dangerItemSelectedBg:Q,itemMarginInline:H.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ce,groupTitleLineHeight:xe,collapsedWidth:ce*2,popupBg:ue,itemMarginBlock:Ne,itemPaddingInline:Oe,horizontalLineHeight:`${ce*1.15}px`,iconSize:we,iconMarginInlineEnd:Re-we,collapsedIconSize:st,groupTitleFontSize:we,darkItemDisabledColor:new Y.C(tt).setAlpha(.25).toRgbString(),darkItemColor:ke,darkDangerItemColor:P,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:tt,darkItemSelectedBg:R,darkDangerItemSelectedBg:P,darkItemHoverBg:"transparent",darkGroupTitleColor:ke,darkItemHoverColor:tt,darkDangerItemHoverColor:Ye,darkDangerItemSelectedColor:tt,darkDangerItemActiveBg:P}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ke),ft=function(Ke,ye){var ne={};for(var H in Ke)Object.prototype.hasOwnProperty.call(Ke,H)&&ye.indexOf(H)<0&&(ne[H]=Ke[H]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,H=Object.getOwnPropertySymbols(Ke);R{var ne,H;const R=t.useContext(j.Z),P=R||{},{getPrefixCls:ae,getPopupContainer:Q,direction:ie,menu:me}=t.useContext(d.E_),je=ae(),{prefixCls:Ee,className:Me,style:We,theme:re="light",expandIcon:se,_internalDisableMenuItemTitleTooltip:J,inlineCollapsed:ce,siderCollapsed:xe,items:ue,children:Ne,rootClassName:Oe,mode:we,selectable:Re,onClick:st,overflowedIndicatorPopupClassName:tt}=Ke,Ye=ft(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ke=(0,M.Z)(Ye,["collapsedWidth"]),Be=te(ue)||Ne;(ne=P.validator)===null||ne===void 0||ne.call(P,{mode:we});const it=(0,D.Z)(function(){var lt;st==null||st.apply(void 0,arguments),(lt=P.onClick)===null||lt===void 0||lt.call(P)}),Ve=P.mode||we,It=Re!=null?Re:P.selectable,_t=t.useMemo(()=>xe!==void 0?xe:ce,[ce,xe]),wt={horizontal:{motionName:`${je}-slide-up`},inline:(0,T.Z)(je),other:{motionName:`${je}-zoom-big`}},jt=ae("menu",Ee||P.prefixCls),[Yt,yt]=Ct(jt,!R),ze=n()(`${jt}-${re}`,me==null?void 0:me.className,Me);let nt;if(typeof se=="function")nt=se;else{const lt=se||P.expandIcon;nt=(0,S.Tm)(lt,{className:n()(`${jt}-submenu-expand-icon`,(0,S.l$)(lt)?(H=lt.props)===null||H===void 0?void 0:H.className:"")})}const Et=t.useMemo(()=>({prefixCls:jt,inlineCollapsed:_t||!1,direction:ie,firstLevel:!0,theme:re,mode:Ve,disableMenuItemTitleTooltip:J}),[jt,_t,ie,J,re]);return Yt(t.createElement(j.Z.Provider,{value:null},t.createElement(C.Provider,{value:Et},t.createElement(a.ZP,Object.assign({getPopupContainer:Q,overflowedIndicator:t.createElement(B.Z,null),overflowedIndicatorPopupClassName:n()(jt,`${jt}-${re}`,tt),mode:Ve,selectable:It,onClick:it},ke,{inlineCollapsed:_t,style:Object.assign(Object.assign({},me==null?void 0:me.style),We),className:ze,prefixCls:jt,direction:ie,defaultMotions:wt,expandIcon:nt,ref:ye,rootClassName:n()(Oe,yt)}),Be))))});const Xe=(0,t.forwardRef)((Ke,ye)=>{const ne=(0,t.useRef)(null),H=t.useContext(o.D);return(0,t.useImperativeHandle)(ye,()=>({menu:ne.current,focus:R=>{var P;(P=ne.current)===null||P===void 0||P.focus(R)}})),t.createElement(Ze,Object.assign({ref:ne},Ke,H))});Xe.Item=$,Xe.SubMenu=L,Xe.Divider=m,Xe.ItemGroup=a.BW;var rt=Xe},80209:function(b,y,e){"use strict";e.d(y,{CW:function(){return w}});var a=e(85678),t=e(79999),o=e(69831),s=e(33064),n=e(25755),d=e(87608),l=e.n(d),c=e(75248),m=e(58757),g=e(61836),M=e(13952),h=function(z,$){var N={};for(var L in z)Object.prototype.hasOwnProperty.call(z,L)&&$.indexOf(L)<0&&(N[L]=z[L]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,L=Object.getOwnPropertySymbols(z);B{let{prefixCls:$,type:N,icon:L,children:B}=z;return m.createElement("div",{className:l()(`${$}-custom-content`,`${$}-${N}`)},L||S[N],m.createElement("span",null,B))},C=z=>{const{prefixCls:$,className:N,type:L,icon:B,content:D}=z,T=h(z,["prefixCls","className","type","icon","content"]),{getPrefixCls:j}=m.useContext(g.E_),K=$||j("message"),[,k]=(0,M.Z)(K);return m.createElement(c.q,Object.assign({},T,{prefixCls:K,className:l()(N,k,`${K}-notice-pure-panel`),eventKey:"pure",duration:null,content:m.createElement(w,{prefixCls:K,type:L,icon:B},D)}))};y.ZP=C},84045:function(b,y,e){"use strict";var a=e(29140),t=e(58757),o=e(52323),s=e(42505),n=e(80209),d=e(45054),l=e(86538);let c=null,m=k=>k(),g=[],M={};function h(){const{prefixCls:k,getContainer:te,duration:Y,rtl:q,maxCount:le,top:X}=M,W=k!=null?k:(0,s.w6)().getPrefixCls("message"),x=(te==null?void 0:te())||document.body;return{prefixCls:W,getContainer:()=>x,duration:Y,rtl:q,maxCount:le,top:X}}const S=t.forwardRef((k,te)=>{const[Y,q]=t.useState(h),[le,X]=(0,d.K)(Y),W=(0,s.w6)(),x=W.getRootPrefixCls(),O=W.getIconPrefixCls(),_=W.getTheme(),U=()=>{q(h)};return t.useEffect(U,[]),t.useImperativeHandle(te,()=>{const A=Object.assign({},le);return Object.keys(A).forEach(G=>{A[G]=function(){return U(),le[G].apply(le,arguments)}}),{instance:A,sync:U}}),t.createElement(s.ZP,{prefixCls:x,iconPrefixCls:O,theme:_},X)});function w(){if(!c){const k=document.createDocumentFragment(),te={fragment:k};c=te,m(()=>{(0,o.s)(t.createElement(S,{ref:Y=>{const{instance:q,sync:le}=Y||{};Promise.resolve().then(()=>{!te.instance&&q&&(te.instance=q,te.sync=le,w())})}}),k)});return}c.instance&&(g.forEach(k=>{const{type:te,skipped:Y}=k;if(!Y)switch(te){case"open":{m(()=>{const q=c.instance.open(Object.assign(Object.assign({},M),k.config));q==null||q.then(k.resolve),k.setCloseFn(q)});break}case"destroy":m(()=>{c==null||c.instance.destroy(k.key)});break;default:m(()=>{var q;const le=(q=c.instance)[te].apply(q,(0,a.Z)(k.args));le==null||le.then(k.resolve),k.setCloseFn(le)})}}),g=[])}function C(k){M=Object.assign(Object.assign({},M),k),m(()=>{var te;(te=c==null?void 0:c.sync)===null||te===void 0||te.call(c)})}function z(k){const te=(0,l.J)(Y=>{let q;const le={type:"open",config:k,resolve:Y,setCloseFn:X=>{q=X}};return g.push(le),()=>{q?m(()=>{q()}):le.skipped=!0}});return w(),te}function $(k,te){const Y=(0,l.J)(q=>{let le;const X={type:k,args:te,resolve:q,setCloseFn:W=>{le=W}};return g.push(X),()=>{le?m(()=>{le()}):X.skipped=!0}});return w(),Y}function N(k){g.push({type:"destroy",key:k}),w()}const L=["success","info","warning","error","loading"],D={open:z,destroy:N,config:C,useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:n.ZP};L.forEach(k=>{D[k]=function(){for(var te=arguments.length,Y=new Array(te),q=0;q{};let j=null,K=null;y.ZP=D},13952:function(b,y,e){"use strict";var a=e(57793),t=e(78330),o=e(52628),s=e(22151);const n=d=>{const{componentCls:l,iconCls:c,boxShadow:m,colorText:g,colorSuccess:M,colorError:h,colorWarning:S,colorInfo:w,fontSizeLG:C,motionEaseInOutCirc:z,motionDurationSlow:$,marginXS:N,paddingXS:L,borderRadiusLG:B,zIndexPopup:D,contentPadding:T,contentBg:j}=d,K=`${l}-notice`,k=new a.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:L,transform:"translateY(0)",opacity:1}}),te=new a.E4("MessageMoveOut",{"0%":{maxHeight:d.height,padding:L,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),Y={padding:L,textAlign:"center",[`${l}-custom-content > ${c}`]:{verticalAlign:"text-bottom",marginInlineEnd:N,fontSize:C},[`${K}-content`]:{display:"inline-block",padding:T,background:j,borderRadius:B,boxShadow:m,pointerEvents:"all"},[`${l}-success > ${c}`]:{color:M},[`${l}-error > ${c}`]:{color:h},[`${l}-warning > ${c}`]:{color:S},[`${l}-info > ${c}, + &-inline ${ne}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${se})`},"&::after":{transform:`rotate(45deg) translateX(-${se})`}},[`${ne}-submenu-open${ne}-submenu-inline > ${ne}-submenu-title > ${ne}-submenu-arrow`]:{transform:`translateY(-${re*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${se})`},"&::before":{transform:`rotate(45deg) translateX(${se})`}}})},{[`${ye}-layout-header`]:{[ne]:{lineHeight:"inherit"}}}]};var Et=(Ke,ye)=>(0,x.Z)("Menu",H=>{if(ye===!1)return[];const{colorBgElevated:R,colorPrimary:P,colorTextLightSolid:ae,controlHeightLG:Q,fontSize:ie,darkItemColor:me,darkDangerItemColor:je,darkItemBg:Ee,darkSubMenuItemBg:Me,darkItemSelectedColor:We,darkItemSelectedBg:re,darkDangerItemSelectedBg:se,darkItemHoverBg:J,darkGroupTitleColor:de,darkItemHoverColor:xe,darkItemDisabledColor:ce,darkDangerItemHoverColor:Le,darkDangerItemSelectedColor:Oe,darkDangerItemActiveBg:we}=H,Ne=ie/7*5,st=(0,O.TS)(H,{menuArrowSize:Ne,menuHorizontalHeight:Q*1.15,menuArrowOffset:`${Ne*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:R}),et=(0,O.TS)(st,{itemColor:me,itemHoverColor:xe,groupTitleColor:de,itemSelectedColor:We,itemBg:Ee,popupBg:Ee,subMenuItemBg:Me,itemActiveBg:"transparent",itemSelectedBg:re,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:J,itemDisabledColor:ce,dangerItemColor:je,dangerItemHoverColor:Le,dangerItemSelectedColor:Oe,dangerItemActiveBg:we,dangerItemSelectedBg:se,menuSubMenuBg:Me,horizontalItemSelectedColor:ae,horizontalItemSelectedBg:P});return[pt(st),U(st),Ge(st),ge(st,"light"),ge(et,"dark"),G(st),(0,le.Z)(st),(0,X.oN)(st,"slide-up"),(0,X.oN)(st,"slide-down"),(0,W._y)(st,"zoom-big")]},H=>{const{colorPrimary:R,colorError:P,colorTextDisabled:ae,colorErrorBg:Q,colorText:ie,colorTextDescription:me,colorBgContainer:je,colorFillAlter:Ee,colorFillContent:Me,lineWidth:We,lineWidthBold:re,controlItemBgActive:se,colorBgTextHover:J,controlHeightLG:de,lineHeight:xe,colorBgElevated:ce,marginXXS:Le,padding:Oe,fontSize:we,controlHeightSM:Ne,fontSizeLG:st,colorTextLightSolid:et,colorErrorHover:Ye}=H,ke=new V.C(et).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:H.zIndexPopupBase+50,radiusItem:H.borderRadiusLG,itemBorderRadius:H.borderRadiusLG,radiusSubMenuItem:H.borderRadiusSM,subMenuItemBorderRadius:H.borderRadiusSM,colorItemText:ie,itemColor:ie,colorItemTextHover:ie,itemHoverColor:ie,colorItemTextHoverHorizontal:R,horizontalItemHoverColor:R,colorGroupTitle:me,groupTitleColor:me,colorItemTextSelected:R,itemSelectedColor:R,colorItemTextSelectedHorizontal:R,horizontalItemSelectedColor:R,colorItemBg:je,itemBg:je,colorItemBgHover:J,itemHoverBg:J,colorItemBgActive:Me,itemActiveBg:se,colorSubItemBg:Ee,subMenuItemBg:Ee,colorItemBgSelected:se,itemSelectedBg:se,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:re,activeBarHeight:re,colorActiveBarBorderSize:We,activeBarBorderWidth:We,colorItemTextDisabled:ae,itemDisabledColor:ae,colorDangerItemText:P,dangerItemColor:P,colorDangerItemTextHover:P,dangerItemHoverColor:P,colorDangerItemTextSelected:P,dangerItemSelectedColor:P,colorDangerItemBgActive:Q,dangerItemActiveBg:Q,colorDangerItemBgSelected:Q,dangerItemSelectedBg:Q,itemMarginInline:H.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:de,groupTitleLineHeight:xe,collapsedWidth:de*2,popupBg:ce,itemMarginBlock:Le,itemPaddingInline:Oe,horizontalLineHeight:`${de*1.15}px`,iconSize:we,iconMarginInlineEnd:Ne-we,collapsedIconSize:st,groupTitleFontSize:we,darkItemDisabledColor:new V.C(et).setAlpha(.25).toRgbString(),darkItemColor:ke,darkDangerItemColor:P,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:et,darkItemSelectedBg:R,darkDangerItemSelectedBg:P,darkItemHoverBg:"transparent",darkGroupTitleColor:ke,darkItemHoverColor:et,darkDangerItemHoverColor:Ye,darkDangerItemSelectedColor:et,darkDangerItemActiveBg:P}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ke),ft=function(Ke,ye){var ne={};for(var H in Ke)Object.prototype.hasOwnProperty.call(Ke,H)&&ye.indexOf(H)<0&&(ne[H]=Ke[H]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,H=Object.getOwnPropertySymbols(Ke);R{var ne,H;const R=t.useContext(j.Z),P=R||{},{getPrefixCls:ae,getPopupContainer:Q,direction:ie,menu:me}=t.useContext(d.E_),je=ae(),{prefixCls:Ee,className:Me,style:We,theme:re="light",expandIcon:se,_internalDisableMenuItemTitleTooltip:J,inlineCollapsed:de,siderCollapsed:xe,items:ce,children:Le,rootClassName:Oe,mode:we,selectable:Ne,onClick:st,overflowedIndicatorPopupClassName:et}=Ke,Ye=ft(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ke=(0,M.Z)(Ye,["collapsedWidth"]),Be=te(ce)||Le;(ne=P.validator)===null||ne===void 0||ne.call(P,{mode:we});const it=(0,D.Z)(function(){var lt;st==null||st.apply(void 0,arguments),(lt=P.onClick)===null||lt===void 0||lt.call(P)}),Ve=P.mode||we,xt=Ne!=null?Ne:P.selectable,Ht=t.useMemo(()=>xe!==void 0?xe:de,[de,xe]),Ot={horizontal:{motionName:`${je}-slide-up`},inline:(0,T.Z)(je),other:{motionName:`${je}-zoom-big`}},wt=ae("menu",Ee||P.prefixCls),[_t,yt]=Et(wt,!R),ze=n()(`${wt}-${re}`,me==null?void 0:me.className,Me);let tt;if(typeof se=="function")tt=se;else{const lt=se||P.expandIcon;tt=(0,S.Tm)(lt,{className:n()(`${wt}-submenu-expand-icon`,(0,S.l$)(lt)?(H=lt.props)===null||H===void 0?void 0:H.className:"")})}const St=t.useMemo(()=>({prefixCls:wt,inlineCollapsed:Ht||!1,direction:ie,firstLevel:!0,theme:re,mode:Ve,disableMenuItemTitleTooltip:J}),[wt,Ht,ie,J,re]);return _t(t.createElement(j.Z.Provider,{value:null},t.createElement(C.Provider,{value:St},t.createElement(a.ZP,Object.assign({getPopupContainer:Q,overflowedIndicator:t.createElement($.Z,null),overflowedIndicatorPopupClassName:n()(wt,`${wt}-${re}`,et),mode:Ve,selectable:xt,onClick:it},ke,{inlineCollapsed:Ht,style:Object.assign(Object.assign({},me==null?void 0:me.style),We),className:ze,prefixCls:wt,direction:ie,defaultMotions:Ot,expandIcon:tt,ref:ye,rootClassName:n()(Oe,yt)}),Be))))});const Xe=(0,t.forwardRef)((Ke,ye)=>{const ne=(0,t.useRef)(null),H=t.useContext(o.D);return(0,t.useImperativeHandle)(ye,()=>({menu:ne.current,focus:R=>{var P;(P=ne.current)===null||P===void 0||P.focus(R)}})),t.createElement($e,Object.assign({ref:ne},Ke,H))});Xe.Item=Z,Xe.SubMenu=L,Xe.Divider=m,Xe.ItemGroup=a.BW;var nt=Xe},80209:function(b,y,e){"use strict";e.d(y,{CW:function(){return w}});var a=e(85678),t=e(79999),o=e(69831),s=e(33064),n=e(25755),d=e(87608),l=e.n(d),c=e(75248),m=e(58757),g=e(61836),M=e(13952),h=function(F,Z){var N={};for(var L in F)Object.prototype.hasOwnProperty.call(F,L)&&Z.indexOf(L)<0&&(N[L]=F[L]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,L=Object.getOwnPropertySymbols(F);${let{prefixCls:Z,type:N,icon:L,children:$}=F;return m.createElement("div",{className:l()(`${Z}-custom-content`,`${Z}-${N}`)},L||S[N],m.createElement("span",null,$))},C=F=>{const{prefixCls:Z,className:N,type:L,icon:$,content:D}=F,T=h(F,["prefixCls","className","type","icon","content"]),{getPrefixCls:j}=m.useContext(g.E_),K=Z||j("message"),[,k]=(0,M.Z)(K);return m.createElement(c.q,Object.assign({},T,{prefixCls:K,className:l()(N,k,`${K}-notice-pure-panel`),eventKey:"pure",duration:null,content:m.createElement(w,{prefixCls:K,type:L,icon:$},D)}))};y.ZP=C},84045:function(b,y,e){"use strict";var a=e(29140),t=e(58757),o=e(52323),s=e(42505),n=e(80209),d=e(45054),l=e(86538);let c=null,m=k=>k(),g=[],M={};function h(){const{prefixCls:k,getContainer:te,duration:V,rtl:q,maxCount:le,top:X}=M,W=k!=null?k:(0,s.w6)().getPrefixCls("message"),x=(te==null?void 0:te())||document.body;return{prefixCls:W,getContainer:()=>x,duration:V,rtl:q,maxCount:le,top:X}}const S=t.forwardRef((k,te)=>{const[V,q]=t.useState(h),[le,X]=(0,d.K)(V),W=(0,s.w6)(),x=W.getRootPrefixCls(),O=W.getIconPrefixCls(),_=W.getTheme(),U=()=>{q(h)};return t.useEffect(U,[]),t.useImperativeHandle(te,()=>{const A=Object.assign({},le);return Object.keys(A).forEach(G=>{A[G]=function(){return U(),le[G].apply(le,arguments)}}),{instance:A,sync:U}}),t.createElement(s.ZP,{prefixCls:x,iconPrefixCls:O,theme:_},X)});function w(){if(!c){const k=document.createDocumentFragment(),te={fragment:k};c=te,m(()=>{(0,o.s)(t.createElement(S,{ref:V=>{const{instance:q,sync:le}=V||{};Promise.resolve().then(()=>{!te.instance&&q&&(te.instance=q,te.sync=le,w())})}}),k)});return}c.instance&&(g.forEach(k=>{const{type:te,skipped:V}=k;if(!V)switch(te){case"open":{m(()=>{const q=c.instance.open(Object.assign(Object.assign({},M),k.config));q==null||q.then(k.resolve),k.setCloseFn(q)});break}case"destroy":m(()=>{c==null||c.instance.destroy(k.key)});break;default:m(()=>{var q;const le=(q=c.instance)[te].apply(q,(0,a.Z)(k.args));le==null||le.then(k.resolve),k.setCloseFn(le)})}}),g=[])}function C(k){M=Object.assign(Object.assign({},M),k),m(()=>{var te;(te=c==null?void 0:c.sync)===null||te===void 0||te.call(c)})}function F(k){const te=(0,l.J)(V=>{let q;const le={type:"open",config:k,resolve:V,setCloseFn:X=>{q=X}};return g.push(le),()=>{q?m(()=>{q()}):le.skipped=!0}});return w(),te}function Z(k,te){const V=(0,l.J)(q=>{let le;const X={type:k,args:te,resolve:q,setCloseFn:W=>{le=W}};return g.push(X),()=>{le?m(()=>{le()}):X.skipped=!0}});return w(),V}function N(k){g.push({type:"destroy",key:k}),w()}const L=["success","info","warning","error","loading"],D={open:F,destroy:N,config:C,useMessage:d.Z,_InternalPanelDoNotUseOrYouWillBeFired:n.ZP};L.forEach(k=>{D[k]=function(){for(var te=arguments.length,V=new Array(te),q=0;q{};let j=null,K=null;y.ZP=D},13952:function(b,y,e){"use strict";var a=e(57793),t=e(78330),o=e(52628),s=e(22151);const n=d=>{const{componentCls:l,iconCls:c,boxShadow:m,colorText:g,colorSuccess:M,colorError:h,colorWarning:S,colorInfo:w,fontSizeLG:C,motionEaseInOutCirc:F,motionDurationSlow:Z,marginXS:N,paddingXS:L,borderRadiusLG:$,zIndexPopup:D,contentPadding:T,contentBg:j}=d,K=`${l}-notice`,k=new a.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:L,transform:"translateY(0)",opacity:1}}),te=new a.E4("MessageMoveOut",{"0%":{maxHeight:d.height,padding:L,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),V={padding:L,textAlign:"center",[`${l}-custom-content > ${c}`]:{verticalAlign:"text-bottom",marginInlineEnd:N,fontSize:C},[`${K}-content`]:{display:"inline-block",padding:T,background:j,borderRadius:$,boxShadow:m,pointerEvents:"all"},[`${l}-success > ${c}`]:{color:M},[`${l}-error > ${c}`]:{color:h},[`${l}-warning > ${c}`]:{color:S},[`${l}-info > ${c}, ${l}-loading > ${c}`]:{color:w}};return[{[l]:Object.assign(Object.assign({},(0,t.Wf)(d)),{color:g,position:"fixed",top:N,width:"100%",pointerEvents:"none",zIndex:D,[`${l}-move-up`]:{animationFillMode:"forwards"},[` ${l}-move-up-appear, ${l}-move-up-enter - `]:{animationName:k,animationDuration:$,animationPlayState:"paused",animationTimingFunction:z},[` + `]:{animationName:k,animationDuration:Z,animationPlayState:"paused",animationTimingFunction:F},[` ${l}-move-up-appear${l}-move-up-appear-active, ${l}-move-up-enter${l}-move-up-enter-active - `]:{animationPlayState:"running"},[`${l}-move-up-leave`]:{animationName:te,animationDuration:$,animationPlayState:"paused",animationTimingFunction:z},[`${l}-move-up-leave${l}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[l]:{[K]:Object.assign({},Y)}},{[`${l}-notice-pure-panel`]:Object.assign(Object.assign({},Y),{padding:0,textAlign:"start"})}]};y.Z=(0,o.Z)("Message",d=>{const l=(0,s.TS)(d,{height:150});return[n(l)]},d=>({zIndexPopup:d.zIndexPopupBase+10,contentBg:d.colorBgElevated,contentPadding:`${(d.controlHeightLG-d.fontSize*d.lineHeight)/2}px ${d.paddingSM}px`}),{clientOnly:!0})},45054:function(b,y,e){"use strict";e.d(y,{K:function(){return C},Z:function(){return z}});var a=e(52495),t=e(87608),o=e.n(t),s=e(75248),n=e(58757),d=e(61836),l=e(80209),c=e(13952),m=e(86538),g=function($,N){var L={};for(var B in $)Object.prototype.hasOwnProperty.call($,B)&&N.indexOf(B)<0&&(L[B]=$[B]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,B=Object.getOwnPropertySymbols($);D{const{top:L,prefixCls:B,getContainer:D,maxCount:T,duration:j=h,rtl:K,transitionName:k,onAllRemoved:te}=$,{getPrefixCls:Y,getPopupContainer:q,message:le}=n.useContext(d.E_),X=B||Y("message"),[,W]=(0,c.Z)(X),x=()=>({left:"50%",transform:"translateX(-50%)",top:L!=null?L:M}),O=()=>o()(W,{[`${X}-rtl`]:K}),_=()=>(0,m.g)(X,k),U=n.createElement("span",{className:`${X}-close-x`},n.createElement(a.Z,{className:`${X}-close-icon`})),[A,G]=(0,s.l)({prefixCls:X,style:x,className:O,motion:_,closable:!1,closeIcon:U,duration:j,getContainer:()=>(D==null?void 0:D())||(q==null?void 0:q())||document.body,maxCount:T,onAllRemoved:te});return n.useImperativeHandle(N,()=>Object.assign(Object.assign({},A),{prefixCls:X,hashId:W,message:le})),G});let w=0;function C($){const N=n.useRef(null);return[n.useMemo(()=>{const B=k=>{var te;(te=N.current)===null||te===void 0||te.close(k)},D=k=>{if(!N.current){const ge=()=>{};return ge.then=()=>{},ge}const{open:te,prefixCls:Y,hashId:q,message:le}=N.current,X=`${Y}-notice`,{content:W,icon:x,type:O,key:_,className:U,style:A,onClose:G}=k,de=g(k,["content","icon","type","key","className","style","onClose"]);let he=_;return he==null&&(w+=1,he=`antd-message-${w}`),(0,m.J)(ge=>(te(Object.assign(Object.assign({},de),{key:he,content:n.createElement(l.CW,{prefixCls:Y,type:O,icon:x},W),placement:"top",className:o()(O&&`${X}-${O}`,q,U,le==null?void 0:le.className),style:Object.assign(Object.assign({},le==null?void 0:le.style),A),onClose:()=>{G==null||G(),ge()}})),()=>{B(he)}))},j={open:D,destroy:k=>{var te;k!==void 0?B(k):(te=N.current)===null||te===void 0||te.destroy()}};return["info","success","warning","error","loading"].forEach(k=>{const te=(Y,q,le)=>{let X;Y&&typeof Y=="object"&&"content"in Y?X=Y:X={content:Y};let W,x;typeof q=="function"?x=q:(W=q,x=le);const O=Object.assign(Object.assign({onClose:x,duration:W},X),{type:k});return D(O)};j[k]=te}),j},[]),n.createElement(S,Object.assign({key:"message-holder"},$,{ref:N}))]}function z($){return C($)}},86538:function(b,y,e){"use strict";e.d(y,{J:function(){return t},g:function(){return a}});function a(o,s){return{motionName:s!=null?s:`${o}-move-up`}}function t(o){let s;const n=new Promise(l=>{s=o(()=>{l(!0)})}),d=()=>{s==null||s()};return d.then=(l,c)=>n.then(l,c),d.promise=n,d}},76370:function(b,y,e){"use strict";e.d(y,{O:function(){return S}});var a=e(85678),t=e(79999),o=e(69831),s=e(33064),n=e(87608),d=e.n(n),l=e(58757),c=e(99086),m=e(90881),g=e(42505),M=e(29487),h=e(65401);function S(C){const{icon:z,onCancel:$,onOk:N,close:L,onConfirm:B,isSilent:D,okText:T,okButtonProps:j,cancelText:K,cancelButtonProps:k,confirmPrefixCls:te,rootPrefixCls:Y,type:q,okCancel:le,footer:X,locale:W}=C;let x=z;if(!z&&z!==null)switch(q){case"info":x=l.createElement(s.Z,null);break;case"success":x=l.createElement(a.Z,null);break;case"error":x=l.createElement(t.Z,null);break;default:x=l.createElement(o.Z,null)}const O=C.okType||"primary",_=le!=null?le:q==="confirm",U=C.autoFocusButton===null?!1:C.autoFocusButton||"ok",[A]=(0,M.Z)("Modal"),G=W||A,de=_&&l.createElement(c.Z,{isSilent:D,actionFn:$,close:function(){L==null||L.apply(void 0,arguments),B==null||B(!1)},autoFocus:U==="cancel",buttonProps:k,prefixCls:`${Y}-btn`},K||(G==null?void 0:G.cancelText));return l.createElement("div",{className:`${te}-body-wrapper`},l.createElement("div",{className:`${te}-body`},x,C.title===void 0?null:l.createElement("span",{className:`${te}-title`},C.title),l.createElement("div",{className:`${te}-content`},C.content)),X===void 0?l.createElement("div",{className:`${te}-btns`},de,l.createElement(c.Z,{isSilent:D,type:O,actionFn:N,close:function(){L==null||L.apply(void 0,arguments),B==null||B(!0)},autoFocus:U==="ok",buttonProps:j,prefixCls:`${Y}-btn`},T||(_?G==null?void 0:G.okText:G==null?void 0:G.justOkText))):X)}const w=C=>{const{close:z,zIndex:$,afterClose:N,visible:L,open:B,keyboard:D,centered:T,getContainer:j,maskStyle:K,direction:k,prefixCls:te,wrapClassName:Y,rootPrefixCls:q,iconPrefixCls:le,theme:X,bodyStyle:W,closable:x=!1,closeIcon:O,modalRender:_,focusTriggerAfterClose:U}=C,A=`${te}-confirm`,G=C.width||416,de=C.style||{},he=C.mask===void 0?!0:C.mask,ge=C.maskClosable===void 0?!1:C.maskClosable,be=d()(A,`${A}-${C.type}`,{[`${A}-rtl`]:k==="rtl"},C.className);return l.createElement(g.ZP,{prefixCls:q,iconPrefixCls:le,direction:k,theme:X},l.createElement(h.Z,{prefixCls:te,className:be,wrapClassName:d()({[`${A}-centered`]:!!C.centered},Y),onCancel:()=>z==null?void 0:z({triggerCancel:!0}),open:B,title:"",footer:null,transitionName:(0,m.m)(q,"zoom",C.transitionName),maskTransitionName:(0,m.m)(q,"fade",C.maskTransitionName),mask:he,maskClosable:ge,maskStyle:K,style:de,bodyStyle:W,width:G,zIndex:$,afterClose:N,keyboard:D,centered:T,getContainer:j,closable:x,closeIcon:O,modalRender:_,focusTriggerAfterClose:U},l.createElement(S,Object.assign({},C,{confirmPrefixCls:A}))))};y.Z=w},65401:function(b,y,e){"use strict";var a=e(52495),t=e(87608),o=e.n(t),s=e(67117),n=e(58757),d=e(88858),l=e(90881),c=e(32792),m=e(61836),g=e(81496),M=e(43528),h=e(78669),S=e(76073),w=function(N,L){var B={};for(var D in N)Object.prototype.hasOwnProperty.call(N,D)&&L.indexOf(D)<0&&(B[D]=N[D]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,D=Object.getOwnPropertySymbols(N);T{C={x:N.pageX,y:N.pageY},setTimeout(()=>{C=null},100)};(0,c.jD)()&&document.documentElement.addEventListener("click",z,!0);const $=N=>{var L;const{getPopupContainer:B,getPrefixCls:D,direction:T,modal:j}=n.useContext(m.E_),K=Ht=>{const{onCancel:Ze}=N;Ze==null||Ze(Ht)},k=Ht=>{const{onOk:Ze}=N;Ze==null||Ze(Ht)},{prefixCls:te,className:Y,rootClassName:q,open:le,wrapClassName:X,centered:W,getContainer:x,closeIcon:O,closable:_,focusTriggerAfterClose:U=!0,style:A,visible:G,width:de=520,footer:he}=N,ge=w(N,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),be=D("modal",te),Te=D(),[Ge,Je]=(0,S.Z)(be),Qe=o()(X,{[`${be}-centered`]:!!W,[`${be}-wrap-rtl`]:T==="rtl"}),pt=he===void 0?n.createElement(h.$,Object.assign({},N,{onOk:k,onCancel:K})):he,[Ct,ft]=(0,d.Z)(_,O,Ht=>(0,h.b)(be,Ht),n.createElement(a.Z,{className:`${be}-close-icon`}),!0);return Ge(n.createElement(M.BR,null,n.createElement(g.Ux,{status:!0,override:!0},n.createElement(s.Z,Object.assign({width:de},ge,{getContainer:x===void 0?B:x,prefixCls:be,rootClassName:o()(Je,q),wrapClassName:Qe,footer:pt,visible:le!=null?le:G,mousePosition:(L=ge.mousePosition)!==null&&L!==void 0?L:C,onClose:K,closable:Ct,closeIcon:ft,focusTriggerAfterClose:U,transitionName:(0,l.m)(Te,"zoom",N.transitionName),maskTransitionName:(0,l.m)(Te,"fade",N.maskTransitionName),className:o()(Je,Y,j==null?void 0:j.className),style:Object.assign(Object.assign({},j==null?void 0:j.style),A)})))))};y.Z=$},49316:function(b,y,e){"use strict";e.d(y,{AQ:function(){return C},Au:function(){return z},ZP:function(){return M},ai:function(){return $},cw:function(){return S},uW:function(){return h},vq:function(){return w}});var a=e(29140),t=e(52323),o=e(58757),s=e(42505),n=e(76370),d=e(98702),l=e(67228),c=function(N,L){var B={};for(var D in N)Object.prototype.hasOwnProperty.call(N,D)&&L.indexOf(D)<0&&(B[D]=N[D]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,D=Object.getOwnPropertySymbols(N);TX&&X.triggerCancel);N.onCancel&&le&&N.onCancel.apply(N,[()=>{}].concat((0,a.Z)(Y.slice(1))));for(let X=0;X{const x=(0,l.A)(),{getPrefixCls:O,getIconPrefixCls:_,getTheme:U}=(0,s.w6)(),A=O(void 0,g()),G=le||`${A}-modal`,de=_(),he=U();let ge=X;ge===!1&&(ge=void 0),(0,t.s)(o.createElement(n.Z,Object.assign({},W,{getContainer:ge,prefixCls:G,rootPrefixCls:A,iconPrefixCls:de,okText:Y,locale:x,theme:he,cancelText:q||x.cancelText})),L)})}function K(){for(var te=arguments.length,Y=new Array(te),q=0;q{typeof N.afterClose=="function"&&N.afterClose(),T.apply(this,Y)}}),B.visible&&delete B.visible,j(B)}function k(te){typeof te=="function"?B=te(B):B=Object.assign(Object.assign({},B),te),j(B)}return j(B),d.Z.push(K),{destroy:K,update:k}}function h(N){return Object.assign(Object.assign({},N),{type:"warning"})}function S(N){return Object.assign(Object.assign({},N),{type:"info"})}function w(N){return Object.assign(Object.assign({},N),{type:"success"})}function C(N){return Object.assign(Object.assign({},N),{type:"error"})}function z(N){return Object.assign(Object.assign({},N),{type:"confirm"})}function $(N){let{rootPrefixCls:L}=N;m=L}},98702:function(b,y){"use strict";const e=[];y.Z=e},62109:function(b,y,e){"use strict";e.d(y,{Z:function(){return L}});var a=e(49316),t=e(98702),o=e(65401),s=e(87608),n=e.n(s),d=e(67117),l=e(58757),c=e(61836),m=e(76370),g=e(78669),M=e(76073),h=e(15018),S=function(B,D){var T={};for(var j in B)Object.prototype.hasOwnProperty.call(B,j)&&D.indexOf(j)<0&&(T[j]=B[j]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,j=Object.getOwnPropertySymbols(B);K{const{prefixCls:D,className:T,closeIcon:j,closable:K,type:k,title:te,children:Y}=B,q=S(B,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:le}=l.useContext(c.E_),X=le(),W=D||le("modal"),[,x]=(0,M.Z)(W),O=`${W}-confirm`;let _={};return k?_={closable:K!=null?K:!1,title:"",footer:"",children:l.createElement(m.O,Object.assign({},B,{confirmPrefixCls:O,rootPrefixCls:X,content:Y}))}:_={closable:K!=null?K:!0,title:te,footer:B.footer===void 0?l.createElement(g.$,Object.assign({},B)):B.footer,children:Y},l.createElement(d.s,Object.assign({prefixCls:W,className:n()(x,`${W}-pure-panel`,k&&O,k&&`${O}-${k}`,T)},q,{closeIcon:(0,g.b)(W,j),closable:K},_))};var C=(0,h.i)(w),z=e(65172);function $(B){return(0,a.ZP)((0,a.uW)(B))}const N=o.Z;N.useModal=z.Z,N.info=function(D){return(0,a.ZP)((0,a.cw)(D))},N.success=function(D){return(0,a.ZP)((0,a.vq)(D))},N.error=function(D){return(0,a.ZP)((0,a.AQ)(D))},N.warning=$,N.warn=$,N.confirm=function(D){return(0,a.ZP)((0,a.Au)(D))},N.destroyAll=function(){for(;t.Z.length;){const D=t.Z.pop();D&&D()}},N.config=a.ai,N._InternalPanelDoNotUseOrYouWillBeFired=C;var L=N},67228:function(b,y,e){"use strict";e.d(y,{A:function(){return d},f:function(){return n}});var a=e(80076);let t=Object.assign({},a.Z.Modal),o=[];const s=()=>o.reduce((l,c)=>Object.assign(Object.assign({},l),c),a.Z.Modal);function n(l){if(l){const c=Object.assign({},l);return o.push(c),t=s(),()=>{o=o.filter(m=>m!==c),t=s()}}t=Object.assign({},a.Z.Modal)}function d(){return t}},78669:function(b,y,e){"use strict";e.d(y,{$:function(){return m},b:function(){return c}});var a=e(52495),t=e(58757),o=e(12562),s=e(70921),n=e(92428),d=e(29487),l=e(67228);function c(g,M){return t.createElement("span",{className:`${g}-close-x`},M||t.createElement(a.Z,{className:`${g}-close-icon`}))}const m=g=>{const{okText:M,okType:h="primary",cancelText:S,confirmLoading:w,onOk:C,onCancel:z,okButtonProps:$,cancelButtonProps:N}=g,[L]=(0,d.Z)("Modal",(0,l.A)());return t.createElement(n.n,{disabled:!1},t.createElement(o.ZP,Object.assign({onClick:z},N),S||(L==null?void 0:L.cancelText)),t.createElement(o.ZP,Object.assign({},(0,s.n)(h),{loading:w,onClick:C},$),M||(L==null?void 0:L.okText)))}},76073:function(b,y,e){"use strict";e.d(y,{Q:function(){return l}});var a=e(78330),t=e(7239),o=e(28107),s=e(52628),n=e(22151);function d(h){return{position:h,inset:0}}const l=h=>{const{componentCls:S,antCls:w}=h;return[{[`${S}-root`]:{[`${S}${w}-zoom-enter, ${S}${w}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:h.motionDurationSlow,userSelect:"none"},[`${S}${w}-zoom-leave ${S}-content`]:{pointerEvents:"none"},[`${S}-mask`]:Object.assign(Object.assign({},d("fixed")),{zIndex:h.zIndexPopupBase,height:"100%",backgroundColor:h.colorBgMask,pointerEvents:"none",[`${S}-hidden`]:{display:"none"}}),[`${S}-wrap`]:Object.assign(Object.assign({},d("fixed")),{zIndex:h.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${S}${w}-zoom-enter), &:has(${S}${w}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${S}-root`]:(0,t.J$)(h)}]},c=h=>{const{componentCls:S}=h;return[{[`${S}-root`]:{[`${S}-wrap-rtl`]:{direction:"rtl"},[`${S}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[S]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${h.screenSMMax})`]:{[S]:{maxWidth:"calc(100vw - 16px)",margin:`${h.marginXS} auto`},[`${S}-centered`]:{[S]:{flex:1}}}}},{[S]:Object.assign(Object.assign({},(0,a.Wf)(h)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${h.margin*2}px)`,margin:"0 auto",paddingBottom:h.paddingLG,[`${S}-title`]:{margin:0,color:h.titleColor,fontWeight:h.fontWeightStrong,fontSize:h.titleFontSize,lineHeight:h.titleLineHeight,wordWrap:"break-word"},[`${S}-content`]:{position:"relative",backgroundColor:h.contentBg,backgroundClip:"padding-box",border:0,borderRadius:h.borderRadiusLG,boxShadow:h.boxShadow,pointerEvents:"auto",padding:`${h.paddingMD}px ${h.paddingContentHorizontalLG}px`},[`${S}-close`]:Object.assign({position:"absolute",top:(h.modalHeaderHeight-h.modalCloseBtnSize)/2,insetInlineEnd:(h.modalHeaderHeight-h.modalCloseBtnSize)/2,zIndex:h.zIndexPopupBase+10,padding:0,color:h.modalCloseIconColor,fontWeight:h.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:h.borderRadiusSM,width:h.modalCloseBtnSize,height:h.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${h.motionDurationMid}, background-color ${h.motionDurationMid}`,"&-x":{display:"flex",fontSize:h.fontSizeLG,fontStyle:"normal",lineHeight:`${h.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:h.modalIconHoverColor,backgroundColor:h.wireframe?"transparent":h.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:h.wireframe?"transparent":h.colorFillContentHover}},(0,a.Qy)(h)),[`${S}-header`]:{color:h.colorText,background:h.headerBg,borderRadius:`${h.borderRadiusLG}px ${h.borderRadiusLG}px 0 0`,marginBottom:h.marginXS},[`${S}-body`]:{fontSize:h.fontSize,lineHeight:h.lineHeight,wordWrap:"break-word"},[`${S}-footer`]:{textAlign:"end",background:h.footerBg,marginTop:h.marginSM,[`${h.antCls}-btn + ${h.antCls}-btn:not(${h.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:h.marginXS}},[`${S}-open`]:{overflow:"hidden"}})},{[`${S}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${S}-content, + `]:{animationPlayState:"running"},[`${l}-move-up-leave`]:{animationName:te,animationDuration:Z,animationPlayState:"paused",animationTimingFunction:F},[`${l}-move-up-leave${l}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[l]:{[K]:Object.assign({},V)}},{[`${l}-notice-pure-panel`]:Object.assign(Object.assign({},V),{padding:0,textAlign:"start"})}]};y.Z=(0,o.Z)("Message",d=>{const l=(0,s.TS)(d,{height:150});return[n(l)]},d=>({zIndexPopup:d.zIndexPopupBase+10,contentBg:d.colorBgElevated,contentPadding:`${(d.controlHeightLG-d.fontSize*d.lineHeight)/2}px ${d.paddingSM}px`}),{clientOnly:!0})},45054:function(b,y,e){"use strict";e.d(y,{K:function(){return C},Z:function(){return F}});var a=e(52495),t=e(87608),o=e.n(t),s=e(75248),n=e(58757),d=e(61836),l=e(80209),c=e(13952),m=e(86538),g=function(Z,N){var L={};for(var $ in Z)Object.prototype.hasOwnProperty.call(Z,$)&&N.indexOf($)<0&&(L[$]=Z[$]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,$=Object.getOwnPropertySymbols(Z);D<$.length;D++)N.indexOf($[D])<0&&Object.prototype.propertyIsEnumerable.call(Z,$[D])&&(L[$[D]]=Z[$[D]]);return L};const M=8,h=3,S=n.forwardRef((Z,N)=>{const{top:L,prefixCls:$,getContainer:D,maxCount:T,duration:j=h,rtl:K,transitionName:k,onAllRemoved:te}=Z,{getPrefixCls:V,getPopupContainer:q,message:le}=n.useContext(d.E_),X=$||V("message"),[,W]=(0,c.Z)(X),x=()=>({left:"50%",transform:"translateX(-50%)",top:L!=null?L:M}),O=()=>o()(W,{[`${X}-rtl`]:K}),_=()=>(0,m.g)(X,k),U=n.createElement("span",{className:`${X}-close-x`},n.createElement(a.Z,{className:`${X}-close-icon`})),[A,G]=(0,s.l)({prefixCls:X,style:x,className:O,motion:_,closable:!1,closeIcon:U,duration:j,getContainer:()=>(D==null?void 0:D())||(q==null?void 0:q())||document.body,maxCount:T,onAllRemoved:te});return n.useImperativeHandle(N,()=>Object.assign(Object.assign({},A),{prefixCls:X,hashId:W,message:le})),G});let w=0;function C(Z){const N=n.useRef(null);return[n.useMemo(()=>{const $=k=>{var te;(te=N.current)===null||te===void 0||te.close(k)},D=k=>{if(!N.current){const ge=()=>{};return ge.then=()=>{},ge}const{open:te,prefixCls:V,hashId:q,message:le}=N.current,X=`${V}-notice`,{content:W,icon:x,type:O,key:_,className:U,style:A,onClose:G}=k,fe=g(k,["content","icon","type","key","className","style","onClose"]);let pe=_;return pe==null&&(w+=1,pe=`antd-message-${w}`),(0,m.J)(ge=>(te(Object.assign(Object.assign({},fe),{key:pe,content:n.createElement(l.CW,{prefixCls:V,type:O,icon:x},W),placement:"top",className:o()(O&&`${X}-${O}`,q,U,le==null?void 0:le.className),style:Object.assign(Object.assign({},le==null?void 0:le.style),A),onClose:()=>{G==null||G(),ge()}})),()=>{$(pe)}))},j={open:D,destroy:k=>{var te;k!==void 0?$(k):(te=N.current)===null||te===void 0||te.destroy()}};return["info","success","warning","error","loading"].forEach(k=>{const te=(V,q,le)=>{let X;V&&typeof V=="object"&&"content"in V?X=V:X={content:V};let W,x;typeof q=="function"?x=q:(W=q,x=le);const O=Object.assign(Object.assign({onClose:x,duration:W},X),{type:k});return D(O)};j[k]=te}),j},[]),n.createElement(S,Object.assign({key:"message-holder"},Z,{ref:N}))]}function F(Z){return C(Z)}},86538:function(b,y,e){"use strict";e.d(y,{J:function(){return t},g:function(){return a}});function a(o,s){return{motionName:s!=null?s:`${o}-move-up`}}function t(o){let s;const n=new Promise(l=>{s=o(()=>{l(!0)})}),d=()=>{s==null||s()};return d.then=(l,c)=>n.then(l,c),d.promise=n,d}},76370:function(b,y,e){"use strict";e.d(y,{O:function(){return S}});var a=e(85678),t=e(79999),o=e(69831),s=e(33064),n=e(87608),d=e.n(n),l=e(58757),c=e(99086),m=e(90881),g=e(42505),M=e(29487),h=e(65401);function S(C){const{icon:F,onCancel:Z,onOk:N,close:L,onConfirm:$,isSilent:D,okText:T,okButtonProps:j,cancelText:K,cancelButtonProps:k,confirmPrefixCls:te,rootPrefixCls:V,type:q,okCancel:le,footer:X,locale:W}=C;let x=F;if(!F&&F!==null)switch(q){case"info":x=l.createElement(s.Z,null);break;case"success":x=l.createElement(a.Z,null);break;case"error":x=l.createElement(t.Z,null);break;default:x=l.createElement(o.Z,null)}const O=C.okType||"primary",_=le!=null?le:q==="confirm",U=C.autoFocusButton===null?!1:C.autoFocusButton||"ok",[A]=(0,M.Z)("Modal"),G=W||A,fe=_&&l.createElement(c.Z,{isSilent:D,actionFn:Z,close:function(){L==null||L.apply(void 0,arguments),$==null||$(!1)},autoFocus:U==="cancel",buttonProps:k,prefixCls:`${V}-btn`},K||(G==null?void 0:G.cancelText));return l.createElement("div",{className:`${te}-body-wrapper`},l.createElement("div",{className:`${te}-body`},x,C.title===void 0?null:l.createElement("span",{className:`${te}-title`},C.title),l.createElement("div",{className:`${te}-content`},C.content)),X===void 0?l.createElement("div",{className:`${te}-btns`},fe,l.createElement(c.Z,{isSilent:D,type:O,actionFn:N,close:function(){L==null||L.apply(void 0,arguments),$==null||$(!0)},autoFocus:U==="ok",buttonProps:j,prefixCls:`${V}-btn`},T||(_?G==null?void 0:G.okText:G==null?void 0:G.justOkText))):X)}const w=C=>{const{close:F,zIndex:Z,afterClose:N,visible:L,open:$,keyboard:D,centered:T,getContainer:j,maskStyle:K,direction:k,prefixCls:te,wrapClassName:V,rootPrefixCls:q,iconPrefixCls:le,theme:X,bodyStyle:W,closable:x=!1,closeIcon:O,modalRender:_,focusTriggerAfterClose:U}=C,A=`${te}-confirm`,G=C.width||416,fe=C.style||{},pe=C.mask===void 0?!0:C.mask,ge=C.maskClosable===void 0?!1:C.maskClosable,be=d()(A,`${A}-${C.type}`,{[`${A}-rtl`]:k==="rtl"},C.className);return l.createElement(g.ZP,{prefixCls:q,iconPrefixCls:le,direction:k,theme:X},l.createElement(h.Z,{prefixCls:te,className:be,wrapClassName:d()({[`${A}-centered`]:!!C.centered},V),onCancel:()=>F==null?void 0:F({triggerCancel:!0}),open:$,title:"",footer:null,transitionName:(0,m.m)(q,"zoom",C.transitionName),maskTransitionName:(0,m.m)(q,"fade",C.maskTransitionName),mask:pe,maskClosable:ge,maskStyle:K,style:fe,bodyStyle:W,width:G,zIndex:Z,afterClose:N,keyboard:D,centered:T,getContainer:j,closable:x,closeIcon:O,modalRender:_,focusTriggerAfterClose:U},l.createElement(S,Object.assign({},C,{confirmPrefixCls:A}))))};y.Z=w},65401:function(b,y,e){"use strict";var a=e(52495),t=e(87608),o=e.n(t),s=e(67117),n=e(58757),d=e(88858),l=e(90881),c=e(32792),m=e(61836),g=e(81496),M=e(43528),h=e(78669),S=e(76073),w=function(N,L){var $={};for(var D in N)Object.prototype.hasOwnProperty.call(N,D)&&L.indexOf(D)<0&&($[D]=N[D]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,D=Object.getOwnPropertySymbols(N);T{C={x:N.pageX,y:N.pageY},setTimeout(()=>{C=null},100)};(0,c.jD)()&&document.documentElement.addEventListener("click",F,!0);const Z=N=>{var L;const{getPopupContainer:$,getPrefixCls:D,direction:T,modal:j}=n.useContext(m.E_),K=Wt=>{const{onCancel:$e}=N;$e==null||$e(Wt)},k=Wt=>{const{onOk:$e}=N;$e==null||$e(Wt)},{prefixCls:te,className:V,rootClassName:q,open:le,wrapClassName:X,centered:W,getContainer:x,closeIcon:O,closable:_,focusTriggerAfterClose:U=!0,style:A,visible:G,width:fe=520,footer:pe}=N,ge=w(N,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),be=D("modal",te),Te=D(),[Ge,Je]=(0,S.Z)(be),Qe=o()(X,{[`${be}-centered`]:!!W,[`${be}-wrap-rtl`]:T==="rtl"}),pt=pe===void 0?n.createElement(h.$,Object.assign({},N,{onOk:k,onCancel:K})):pe,[Et,ft]=(0,d.Z)(_,O,Wt=>(0,h.b)(be,Wt),n.createElement(a.Z,{className:`${be}-close-icon`}),!0);return Ge(n.createElement(M.BR,null,n.createElement(g.Ux,{status:!0,override:!0},n.createElement(s.Z,Object.assign({width:fe},ge,{getContainer:x===void 0?$:x,prefixCls:be,rootClassName:o()(Je,q),wrapClassName:Qe,footer:pt,visible:le!=null?le:G,mousePosition:(L=ge.mousePosition)!==null&&L!==void 0?L:C,onClose:K,closable:Et,closeIcon:ft,focusTriggerAfterClose:U,transitionName:(0,l.m)(Te,"zoom",N.transitionName),maskTransitionName:(0,l.m)(Te,"fade",N.maskTransitionName),className:o()(Je,V,j==null?void 0:j.className),style:Object.assign(Object.assign({},j==null?void 0:j.style),A)})))))};y.Z=Z},49316:function(b,y,e){"use strict";e.d(y,{AQ:function(){return C},Au:function(){return F},ZP:function(){return M},ai:function(){return Z},cw:function(){return S},uW:function(){return h},vq:function(){return w}});var a=e(29140),t=e(52323),o=e(58757),s=e(42505),n=e(76370),d=e(98702),l=e(67228),c=function(N,L){var $={};for(var D in N)Object.prototype.hasOwnProperty.call(N,D)&&L.indexOf(D)<0&&($[D]=N[D]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,D=Object.getOwnPropertySymbols(N);TX&&X.triggerCancel);N.onCancel&&le&&N.onCancel.apply(N,[()=>{}].concat((0,a.Z)(V.slice(1))));for(let X=0;X{const x=(0,l.A)(),{getPrefixCls:O,getIconPrefixCls:_,getTheme:U}=(0,s.w6)(),A=O(void 0,g()),G=le||`${A}-modal`,fe=_(),pe=U();let ge=X;ge===!1&&(ge=void 0),(0,t.s)(o.createElement(n.Z,Object.assign({},W,{getContainer:ge,prefixCls:G,rootPrefixCls:A,iconPrefixCls:fe,okText:V,locale:x,theme:pe,cancelText:q||x.cancelText})),L)})}function K(){for(var te=arguments.length,V=new Array(te),q=0;q{typeof N.afterClose=="function"&&N.afterClose(),T.apply(this,V)}}),$.visible&&delete $.visible,j($)}function k(te){typeof te=="function"?$=te($):$=Object.assign(Object.assign({},$),te),j($)}return j($),d.Z.push(K),{destroy:K,update:k}}function h(N){return Object.assign(Object.assign({},N),{type:"warning"})}function S(N){return Object.assign(Object.assign({},N),{type:"info"})}function w(N){return Object.assign(Object.assign({},N),{type:"success"})}function C(N){return Object.assign(Object.assign({},N),{type:"error"})}function F(N){return Object.assign(Object.assign({},N),{type:"confirm"})}function Z(N){let{rootPrefixCls:L}=N;m=L}},98702:function(b,y){"use strict";const e=[];y.Z=e},62109:function(b,y,e){"use strict";e.d(y,{Z:function(){return L}});var a=e(49316),t=e(98702),o=e(65401),s=e(87608),n=e.n(s),d=e(67117),l=e(58757),c=e(61836),m=e(76370),g=e(78669),M=e(76073),h=e(15018),S=function($,D){var T={};for(var j in $)Object.prototype.hasOwnProperty.call($,j)&&D.indexOf(j)<0&&(T[j]=$[j]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,j=Object.getOwnPropertySymbols($);K{const{prefixCls:D,className:T,closeIcon:j,closable:K,type:k,title:te,children:V}=$,q=S($,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:le}=l.useContext(c.E_),X=le(),W=D||le("modal"),[,x]=(0,M.Z)(W),O=`${W}-confirm`;let _={};return k?_={closable:K!=null?K:!1,title:"",footer:"",children:l.createElement(m.O,Object.assign({},$,{confirmPrefixCls:O,rootPrefixCls:X,content:V}))}:_={closable:K!=null?K:!0,title:te,footer:$.footer===void 0?l.createElement(g.$,Object.assign({},$)):$.footer,children:V},l.createElement(d.s,Object.assign({prefixCls:W,className:n()(x,`${W}-pure-panel`,k&&O,k&&`${O}-${k}`,T)},q,{closeIcon:(0,g.b)(W,j),closable:K},_))};var C=(0,h.i)(w),F=e(65172);function Z($){return(0,a.ZP)((0,a.uW)($))}const N=o.Z;N.useModal=F.Z,N.info=function(D){return(0,a.ZP)((0,a.cw)(D))},N.success=function(D){return(0,a.ZP)((0,a.vq)(D))},N.error=function(D){return(0,a.ZP)((0,a.AQ)(D))},N.warning=Z,N.warn=Z,N.confirm=function(D){return(0,a.ZP)((0,a.Au)(D))},N.destroyAll=function(){for(;t.Z.length;){const D=t.Z.pop();D&&D()}},N.config=a.ai,N._InternalPanelDoNotUseOrYouWillBeFired=C;var L=N},67228:function(b,y,e){"use strict";e.d(y,{A:function(){return d},f:function(){return n}});var a=e(80076);let t=Object.assign({},a.Z.Modal),o=[];const s=()=>o.reduce((l,c)=>Object.assign(Object.assign({},l),c),a.Z.Modal);function n(l){if(l){const c=Object.assign({},l);return o.push(c),t=s(),()=>{o=o.filter(m=>m!==c),t=s()}}t=Object.assign({},a.Z.Modal)}function d(){return t}},78669:function(b,y,e){"use strict";e.d(y,{$:function(){return m},b:function(){return c}});var a=e(52495),t=e(58757),o=e(12562),s=e(70921),n=e(92428),d=e(29487),l=e(67228);function c(g,M){return t.createElement("span",{className:`${g}-close-x`},M||t.createElement(a.Z,{className:`${g}-close-icon`}))}const m=g=>{const{okText:M,okType:h="primary",cancelText:S,confirmLoading:w,onOk:C,onCancel:F,okButtonProps:Z,cancelButtonProps:N}=g,[L]=(0,d.Z)("Modal",(0,l.A)());return t.createElement(n.n,{disabled:!1},t.createElement(o.ZP,Object.assign({onClick:F},N),S||(L==null?void 0:L.cancelText)),t.createElement(o.ZP,Object.assign({},(0,s.n)(h),{loading:w,onClick:C},Z),M||(L==null?void 0:L.okText)))}},76073:function(b,y,e){"use strict";e.d(y,{Q:function(){return l}});var a=e(78330),t=e(7239),o=e(28107),s=e(52628),n=e(22151);function d(h){return{position:h,inset:0}}const l=h=>{const{componentCls:S,antCls:w}=h;return[{[`${S}-root`]:{[`${S}${w}-zoom-enter, ${S}${w}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:h.motionDurationSlow,userSelect:"none"},[`${S}${w}-zoom-leave ${S}-content`]:{pointerEvents:"none"},[`${S}-mask`]:Object.assign(Object.assign({},d("fixed")),{zIndex:h.zIndexPopupBase,height:"100%",backgroundColor:h.colorBgMask,pointerEvents:"none",[`${S}-hidden`]:{display:"none"}}),[`${S}-wrap`]:Object.assign(Object.assign({},d("fixed")),{zIndex:h.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${S}${w}-zoom-enter), &:has(${S}${w}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${S}-root`]:(0,t.J$)(h)}]},c=h=>{const{componentCls:S}=h;return[{[`${S}-root`]:{[`${S}-wrap-rtl`]:{direction:"rtl"},[`${S}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[S]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${h.screenSMMax})`]:{[S]:{maxWidth:"calc(100vw - 16px)",margin:`${h.marginXS} auto`},[`${S}-centered`]:{[S]:{flex:1}}}}},{[S]:Object.assign(Object.assign({},(0,a.Wf)(h)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${h.margin*2}px)`,margin:"0 auto",paddingBottom:h.paddingLG,[`${S}-title`]:{margin:0,color:h.titleColor,fontWeight:h.fontWeightStrong,fontSize:h.titleFontSize,lineHeight:h.titleLineHeight,wordWrap:"break-word"},[`${S}-content`]:{position:"relative",backgroundColor:h.contentBg,backgroundClip:"padding-box",border:0,borderRadius:h.borderRadiusLG,boxShadow:h.boxShadow,pointerEvents:"auto",padding:`${h.paddingMD}px ${h.paddingContentHorizontalLG}px`},[`${S}-close`]:Object.assign({position:"absolute",top:(h.modalHeaderHeight-h.modalCloseBtnSize)/2,insetInlineEnd:(h.modalHeaderHeight-h.modalCloseBtnSize)/2,zIndex:h.zIndexPopupBase+10,padding:0,color:h.modalCloseIconColor,fontWeight:h.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:h.borderRadiusSM,width:h.modalCloseBtnSize,height:h.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${h.motionDurationMid}, background-color ${h.motionDurationMid}`,"&-x":{display:"flex",fontSize:h.fontSizeLG,fontStyle:"normal",lineHeight:`${h.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:h.modalIconHoverColor,backgroundColor:h.wireframe?"transparent":h.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:h.wireframe?"transparent":h.colorFillContentHover}},(0,a.Qy)(h)),[`${S}-header`]:{color:h.colorText,background:h.headerBg,borderRadius:`${h.borderRadiusLG}px ${h.borderRadiusLG}px 0 0`,marginBottom:h.marginXS},[`${S}-body`]:{fontSize:h.fontSize,lineHeight:h.lineHeight,wordWrap:"break-word"},[`${S}-footer`]:{textAlign:"end",background:h.footerBg,marginTop:h.marginSM,[`${h.antCls}-btn + ${h.antCls}-btn:not(${h.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:h.marginXS}},[`${S}-open`]:{overflow:"hidden"}})},{[`${S}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${S}-content, ${S}-body, ${S}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${S}-confirm-body`]:{marginBottom:"auto"}}}]},m=h=>{const{componentCls:S}=h,w=`${S}-confirm`;return{[w]:{"&-rtl":{direction:"rtl"},[`${h.antCls}-modal-header`]:{display:"none"},[`${w}-body-wrapper`]:Object.assign({},(0,a.dF)()),[`${w}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${w}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:h.colorTextHeading,fontWeight:h.fontWeightStrong,fontSize:h.titleFontSize,lineHeight:h.titleLineHeight,[`+ ${w}-content`]:{marginBlockStart:h.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${h.modalConfirmIconSize+h.marginSM}px)`}},[`${w}-content`]:{color:h.colorText,fontSize:h.fontSize},[`> ${h.iconCls}`]:{flex:"none",marginInlineEnd:h.marginSM,fontSize:h.modalConfirmIconSize,[`+ ${w}-title`]:{flex:1},[`+ ${w}-title + ${w}-content`]:{marginInlineStart:h.modalConfirmIconSize+h.marginSM}}},[`${w}-btns`]:{textAlign:"end",marginTop:h.marginSM,[`${h.antCls}-btn + ${h.antCls}-btn`]:{marginBottom:0,marginInlineStart:h.marginXS}}},[`${w}-error ${w}-body > ${h.iconCls}`]:{color:h.colorError},[`${w}-warning ${w}-body > ${h.iconCls}, - ${w}-confirm ${w}-body > ${h.iconCls}`]:{color:h.colorWarning},[`${w}-info ${w}-body > ${h.iconCls}`]:{color:h.colorInfo},[`${w}-success ${w}-body > ${h.iconCls}`]:{color:h.colorSuccess}}},g=h=>{const{componentCls:S}=h;return{[`${S}-root`]:{[`${S}-wrap-rtl`]:{direction:"rtl",[`${S}-confirm-body`]:{direction:"rtl"}}}}},M=h=>{const{componentCls:S,antCls:w}=h,C=`${S}-confirm`;return{[S]:{[`${S}-content`]:{padding:0},[`${S}-header`]:{padding:h.modalHeaderPadding,borderBottom:`${h.modalHeaderBorderWidth}px ${h.modalHeaderBorderStyle} ${h.modalHeaderBorderColorSplit}`,marginBottom:0},[`${S}-body`]:{padding:h.modalBodyPadding},[`${S}-footer`]:{padding:`${h.modalFooterPaddingVertical}px ${h.modalFooterPaddingHorizontal}px`,borderTop:`${h.modalFooterBorderWidth}px ${h.modalFooterBorderStyle} ${h.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${h.borderRadiusLG}px ${h.borderRadiusLG}px`,marginTop:0}},[C]:{[`${w}-modal-body`]:{padding:`${h.padding*2}px ${h.padding*2}px ${h.paddingLG}px`},[`${C}-body`]:{[`> ${h.iconCls}`]:{marginInlineEnd:h.margin,[`+ ${C}-title + ${C}-content`]:{marginInlineStart:h.modalConfirmIconSize+h.margin}}},[`${C}-btns`]:{marginTop:h.marginLG}}}};y.Z=(0,s.Z)("Modal",h=>{const S=h.padding,w=h.fontSizeHeading5,C=h.lineHeightHeading5,z=(0,n.TS)(h,{modalBodyPadding:h.paddingLG,modalHeaderPadding:`${S}px ${h.paddingLG}px`,modalHeaderBorderWidth:h.lineWidth,modalHeaderBorderStyle:h.lineType,modalHeaderBorderColorSplit:h.colorSplit,modalHeaderHeight:C*w+S*2,modalFooterBorderColorSplit:h.colorSplit,modalFooterBorderStyle:h.lineType,modalFooterPaddingVertical:h.paddingXS,modalFooterPaddingHorizontal:h.padding,modalFooterBorderWidth:h.lineWidth,modalIconHoverColor:h.colorIconHover,modalCloseIconColor:h.colorIcon,modalCloseBtnSize:h.fontSize*h.lineHeight,modalConfirmIconSize:h.fontSize*h.lineHeight});return[c(z),m(z),g(z),l(z),h.wireframe&&M(z),(0,o._y)(z,"zoom")]},h=>({footerBg:"transparent",headerBg:h.colorBgElevated,titleLineHeight:h.lineHeightHeading5,titleFontSize:h.fontSizeHeading5,contentBg:h.colorBgElevated,titleColor:h.colorTextHeading}))},65172:function(b,y,e){"use strict";e.d(y,{Z:function(){return z}});var a=e(29140),t=e(58757);function o(){const[$,N]=t.useState([]),L=t.useCallback(B=>(N(D=>[].concat((0,a.Z)(D),[B])),()=>{N(D=>D.filter(T=>T!==B))}),[]);return[$,L]}var s=e(49316),n=e(98702),d=e(61836),l=e(80076),c=e(29487),m=e(76370),g=function($,N){var L={};for(var B in $)Object.prototype.hasOwnProperty.call($,B)&&N.indexOf(B)<0&&(L[B]=$[B]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,B=Object.getOwnPropertySymbols($);D{var L,{afterClose:B,config:D}=$,T=g($,["afterClose","config"]);const[j,K]=t.useState(!0),[k,te]=t.useState(D),{direction:Y,getPrefixCls:q}=t.useContext(d.E_),le=q("modal"),X=q(),W=()=>{var U;B(),(U=k.afterClose)===null||U===void 0||U.call(k)},x=function(){K(!1);for(var U=arguments.length,A=new Array(U),G=0;Ghe&&he.triggerCancel);k.onCancel&&de&&k.onCancel.apply(k,[()=>{}].concat((0,a.Z)(A.slice(1))))};t.useImperativeHandle(N,()=>({destroy:x,update:U=>{te(A=>Object.assign(Object.assign({},A),U))}}));const O=(L=k.okCancel)!==null&&L!==void 0?L:k.type==="confirm",[_]=(0,c.Z)("Modal",l.Z.Modal);return t.createElement(m.Z,Object.assign({prefixCls:le,rootPrefixCls:X},k,{close:x,open:j,afterClose:W,okText:k.okText||(O?_==null?void 0:_.okText:_==null?void 0:_.justOkText),direction:k.direction||Y,cancelText:k.cancelText||(_==null?void 0:_.cancelText)},T))};var h=t.forwardRef(M);let S=0;const w=t.memo(t.forwardRef(($,N)=>{const[L,B]=o();return t.useImperativeHandle(N,()=>({patchElement:B}),[]),t.createElement(t.Fragment,null,L)}));function C(){const $=t.useRef(null),[N,L]=t.useState([]);t.useEffect(()=>{N.length&&((0,a.Z)(N).forEach(j=>{j()}),L([]))},[N]);const B=t.useCallback(T=>function(K){var k;S+=1;const te=t.createRef();let Y;const q=new Promise(O=>{Y=O});let le=!1,X;const W=t.createElement(h,{key:`modal-${S}`,config:T(K),ref:te,afterClose:()=>{X==null||X()},isSilent:()=>le,onConfirm:O=>{Y(O)}});return X=(k=$.current)===null||k===void 0?void 0:k.patchElement(W),X&&n.Z.push(X),{destroy:()=>{function O(){var _;(_=te.current)===null||_===void 0||_.destroy()}te.current?O():L(_=>[].concat((0,a.Z)(_),[O]))},update:O=>{function _(){var U;(U=te.current)===null||U===void 0||U.update(O)}te.current?_():L(U=>[].concat((0,a.Z)(U),[_]))},then:O=>(le=!0,q.then(O))}},[]);return[t.useMemo(()=>({info:B(s.cw),success:B(s.vq),error:B(s.AQ),warning:B(s.uW),confirm:B(s.Au)}),[]),t.createElement(w,{key:"modal-holder",ref:$})]}var z=C},37864:function(b,y,e){"use strict";e.d(y,{CW:function(){return $},z5:function(){return C}});var a=e(85678),t=e(79999),o=e(52495),s=e(69831),n=e(33064),d=e(25755),l=e(87608),c=e.n(l),m=e(75248),g=e(58757),M=e(61836),h=e(26284),S=function(L,B){var D={};for(var T in L)Object.prototype.hasOwnProperty.call(L,T)&&B.indexOf(T)<0&&(D[T]=L[T]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,T=Object.getOwnPropertySymbols(L);j{const{prefixCls:B,icon:D,type:T,message:j,description:K,btn:k,role:te="alert"}=L;let Y=null;return D?Y=g.createElement("span",{className:`${B}-icon`},D):T&&(Y=g.createElement(z[T]||null,{className:c()(`${B}-icon`,`${B}-icon-${T}`)})),g.createElement("div",{className:c()({[`${B}-with-icon`]:Y}),role:te},Y,g.createElement("div",{className:`${B}-message`},j),g.createElement("div",{className:`${B}-description`},K),k&&g.createElement("div",{className:`${B}-btn`},k))},N=L=>{const{prefixCls:B,className:D,icon:T,type:j,message:K,description:k,btn:te,closable:Y=!0,closeIcon:q}=L,le=S(L,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:X}=g.useContext(M.E_),W=B||X("notification"),x=`${W}-notice`,[,O]=(0,h.Z)(W);return g.createElement(m.q,Object.assign({},le,{prefixCls:W,className:c()(D,O,`${x}-pure-panel`),eventKey:"pure",duration:null,closable:Y,closeIcon:C(W,q),content:g.createElement($,{prefixCls:x,icon:T,type:j,message:K,description:k,btn:te})}))};y.ZP=N},65388:function(b,y,e){"use strict";var a=e(58757),t=e(52323),o=e(42505),s=e(37864),n=e(75105);let d=null,l=D=>D(),c=[],m={};function g(){const{prefixCls:D,getContainer:T,rtl:j,maxCount:K,top:k,bottom:te}=m,Y=D!=null?D:(0,o.w6)().getPrefixCls("notification"),q=(T==null?void 0:T())||document.body;return{prefixCls:Y,getContainer:()=>q,rtl:j,maxCount:K,top:k,bottom:te}}const M=a.forwardRef((D,T)=>{const[j,K]=a.useState(g),[k,te]=(0,n.k)(j),Y=(0,o.w6)(),q=Y.getRootPrefixCls(),le=Y.getIconPrefixCls(),X=Y.getTheme(),W=()=>{K(g)};return a.useEffect(W,[]),a.useImperativeHandle(T,()=>{const x=Object.assign({},k);return Object.keys(x).forEach(O=>{x[O]=function(){return W(),k[O].apply(k,arguments)}}),{instance:x,sync:W}}),a.createElement(o.ZP,{prefixCls:q,iconPrefixCls:le,theme:X},te)});function h(){if(!d){const D=document.createDocumentFragment(),T={fragment:D};d=T,l(()=>{(0,t.s)(a.createElement(M,{ref:j=>{const{instance:K,sync:k}=j||{};Promise.resolve().then(()=>{!T.instance&&K&&(T.instance=K,T.sync=k,h())})}}),D)});return}d.instance&&(c.forEach(D=>{switch(D.type){case"open":{l(()=>{d.instance.open(Object.assign(Object.assign({},m),D.config))});break}case"destroy":l(()=>{d==null||d.instance.destroy(D.key)});break}}),c=[])}function S(D){m=Object.assign(Object.assign({},m),D),l(()=>{var T;(T=d==null?void 0:d.sync)===null||T===void 0||T.call(d)})}function w(D){c.push({type:"open",config:D}),h()}function C(D){c.push({type:"destroy",key:D}),h()}const z=["success","info","warning","error"],N={open:w,destroy:C,config:S,useNotification:n.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};z.forEach(D=>{N[D]=T=>w(Object.assign(Object.assign({},T),{type:D}))});const L=()=>{};let B=null;y.Z=N},26284:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});var a=e(57793),t=e(78330),o=e(52628),s=e(22151),d=m=>{const{componentCls:g,width:M,notificationMarginEdge:h}=m,S=new a.E4("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),w=new a.E4("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),C=new a.E4("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:M},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${g}-top, &${g}-bottom`]:{marginInline:0},[`&${g}-top`]:{[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:S}},[`&${g}-bottom`]:{[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:w}},[`&${g}-topLeft, &${g}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:h,[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:C}}}};const l=m=>{const{iconCls:g,componentCls:M,boxShadow:h,fontSizeLG:S,notificationMarginBottom:w,borderRadiusLG:C,colorSuccess:z,colorInfo:$,colorWarning:N,colorError:L,colorTextHeading:B,notificationBg:D,notificationPadding:T,notificationMarginEdge:j,motionDurationMid:K,motionEaseInOut:k,fontSize:te,lineHeight:Y,width:q,notificationIconSize:le,colorText:X}=m,W=`${M}-notice`,x=new a.E4("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:q},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),O=new a.E4("antNotificationFadeOut",{"0%":{maxHeight:m.animationMaxHeight,marginBottom:w,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),_={position:"relative",width:q,maxWidth:`calc(100vw - ${j*2}px)`,marginBottom:w,marginInlineStart:"auto",padding:T,overflow:"hidden",lineHeight:Y,wordWrap:"break-word",background:D,borderRadius:C,boxShadow:h,[`${M}-close-icon`]:{fontSize:te,cursor:"pointer"},[`${W}-message`]:{marginBottom:m.marginXS,color:B,fontSize:S,lineHeight:m.lineHeightLG},[`${W}-description`]:{fontSize:te,color:X},[`&${W}-closable ${W}-message`]:{paddingInlineEnd:m.paddingLG},[`${W}-with-icon ${W}-message`]:{marginBottom:m.marginXS,marginInlineStart:m.marginSM+le,fontSize:S},[`${W}-with-icon ${W}-description`]:{marginInlineStart:m.marginSM+le,fontSize:te},[`${W}-icon`]:{position:"absolute",fontSize:le,lineHeight:0,[`&-success${g}`]:{color:z},[`&-info${g}`]:{color:$},[`&-warning${g}`]:{color:N},[`&-error${g}`]:{color:L}},[`${W}-close`]:{position:"absolute",top:m.notificationPaddingVertical,insetInlineEnd:m.notificationPaddingHorizontal,color:m.colorIcon,outline:"none",width:m.notificationCloseButtonSize,height:m.notificationCloseButtonSize,borderRadius:m.borderRadiusSM,transition:`background-color ${m.motionDurationMid}, color ${m.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:m.colorIconHover,backgroundColor:m.wireframe?"transparent":m.colorFillContent}},[`${W}-btn`]:{float:"right",marginTop:m.marginSM}};return[{[M]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.Wf)(m)),{position:"fixed",zIndex:m.zIndexPopup,marginInlineEnd:j,[`${M}-hook-holder`]:{position:"relative"},[`&${M}-top, &${M}-bottom`]:{[W]:{marginInline:"auto auto"}},[`&${M}-topLeft, &${M}-bottomLeft`]:{[W]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${M}-fade-enter, ${M}-fade-appear`]:{animationDuration:m.motionDurationMid,animationTimingFunction:k,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${M}-fade-leave`]:{animationTimingFunction:k,animationFillMode:"both",animationDuration:K,animationPlayState:"paused"},[`${M}-fade-enter${M}-fade-enter-active, ${M}-fade-appear${M}-fade-appear-active`]:{animationName:x,animationPlayState:"running"},[`${M}-fade-leave${M}-fade-leave-active`]:{animationName:O,animationPlayState:"running"}}),d(m)),{"&-rtl":{direction:"rtl",[`${W}-btn`]:{float:"left"}}})},{[M]:{[W]:Object.assign({},_)}},{[`${W}-pure-panel`]:Object.assign(Object.assign({},_),{margin:0})}]};var c=(0,o.Z)("Notification",m=>{const g=m.paddingMD,M=m.paddingLG,h=(0,s.TS)(m,{notificationBg:m.colorBgElevated,notificationPaddingVertical:g,notificationPaddingHorizontal:M,notificationIconSize:m.fontSizeLG*m.lineHeightLG,notificationCloseButtonSize:m.controlHeightLG*.55,notificationMarginBottom:m.margin,notificationPadding:`${m.paddingMD}px ${m.paddingContentHorizontalLG}px`,notificationMarginEdge:m.marginLG,animationMaxHeight:150});return[l(h)]},m=>({zIndexPopup:m.zIndexPopupBase+50,width:384}),{clientOnly:!0})},75105:function(b,y,e){"use strict";e.d(y,{Z:function(){return z},k:function(){return C}});var a=e(58757),t=e(87608),o=e.n(t),s=e(75248),n=e(61836),d=e(37864),l=e(26284);function c($,N,L){let B;switch($){case"top":B={left:"50%",transform:"translateX(-50%)",right:"auto",top:N,bottom:"auto"};break;case"topLeft":B={left:0,top:N,bottom:"auto"};break;case"topRight":B={right:0,top:N,bottom:"auto"};break;case"bottom":B={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:L};break;case"bottomLeft":B={left:0,top:"auto",bottom:L};break;default:B={right:0,top:"auto",bottom:L};break}return B}function m($){return{motionName:`${$}-fade`}}var g=function($,N){var L={};for(var B in $)Object.prototype.hasOwnProperty.call($,B)&&N.indexOf(B)<0&&(L[B]=$[B]);if($!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,B=Object.getOwnPropertySymbols($);D{const{top:L,bottom:B,prefixCls:D,getContainer:T,maxCount:j,rtl:K,onAllRemoved:k}=$,{getPrefixCls:te,getPopupContainer:Y,notification:q}=a.useContext(n.E_),le=D||te("notification"),X=A=>c(A,L!=null?L:M,B!=null?B:M),[,W]=(0,l.Z)(le),x=()=>o()(W,{[`${le}-rtl`]:K}),O=()=>m(le),[_,U]=(0,s.l)({prefixCls:le,style:X,className:x,motion:O,closable:!0,closeIcon:(0,d.z5)(le),duration:h,getContainer:()=>(T==null?void 0:T())||(Y==null?void 0:Y())||document.body,maxCount:j,onAllRemoved:k});return a.useImperativeHandle(N,()=>Object.assign(Object.assign({},_),{prefixCls:le,hashId:W,notification:q})),U});function C($){const N=a.useRef(null);return[a.useMemo(()=>{const B=K=>{var k;if(!N.current)return;const{open:te,prefixCls:Y,hashId:q,notification:le}=N.current,X=`${Y}-notice`,{message:W,description:x,icon:O,type:_,btn:U,className:A,style:G,role:de="alert",closeIcon:he}=K,ge=g(K,["message","description","icon","type","btn","className","style","role","closeIcon"]),be=(0,d.z5)(X,he);return te(Object.assign(Object.assign({placement:(k=$==null?void 0:$.placement)!==null&&k!==void 0?k:S},ge),{content:a.createElement(d.CW,{prefixCls:X,icon:O,type:_,message:W,description:x,btn:U,role:de}),className:o()(_&&`${X}-${_}`,q,A,le==null?void 0:le.className),style:Object.assign(Object.assign({},le==null?void 0:le.style),G),closeIcon:be,closable:!!be}))},T={open:B,destroy:K=>{var k,te;K!==void 0?(k=N.current)===null||k===void 0||k.close(K):(te=N.current)===null||te===void 0||te.destroy()}};return["success","info","warning","error"].forEach(K=>{T[K]=k=>B(Object.assign(Object.assign({},k),{type:K}))}),T},[]),a.createElement(w,Object.assign({key:"notification-holder"},$,{ref:N}))]}function z($){return C($)}},35910:function(b,y,e){"use strict";e.d(y,{Z:function(){return Q}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},s=o,n=e(17202),d=function(me,je){return t.createElement(n.Z,(0,a.Z)({},me,{ref:je,icon:s}))},l=t.forwardRef(d),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=c,g=function(me,je){return t.createElement(n.Z,(0,a.Z)({},me,{ref:je,icon:m}))},M=t.forwardRef(g),h=e(99142),S=e(91169),w=e(87608),C=e.n(w),z=e(37734),$=e(57370),N=e(60412),L=e(14346),B=e(87498),D=e(73726),T=e(33926),j={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},K=j,k=e(23737),te=function(ie){(0,B.Z)(je,ie);var me=(0,D.Z)(je);function je(){var Ee;(0,N.Z)(this,je);for(var Me=arguments.length,We=new Array(Me),re=0;re=0||se.relatedTarget.className.indexOf("".concat(ue,"-item"))>=0))&&xe(Ee.getValidValue()))},Ee.go=function(se){var J=Ee.state.goInputText;J!==""&&(se.keyCode===K.ENTER||se.type==="click")&&(Ee.setState({goInputText:""}),Ee.props.quickGo(Ee.getValidValue()))},Ee}return(0,L.Z)(je,[{key:"getPageSizeOptions",value:function(){var Me=this.props,We=Me.pageSize,re=Me.pageSizeOptions;return re.some(function(se){return se.toString()===We.toString()})?re:re.concat([We.toString()]).sort(function(se,J){var ce=Number.isNaN(Number(se))?0:Number(se),xe=Number.isNaN(Number(J))?0:Number(J);return ce-xe})}},{key:"render",value:function(){var Me=this,We=this.props,re=We.pageSize,se=We.locale,J=We.rootPrefixCls,ce=We.changeSize,xe=We.quickGo,ue=We.goButton,Ne=We.selectComponentClass,Oe=We.buildOptionText,we=We.selectPrefixCls,Re=We.disabled,st=this.state.goInputText,tt="".concat(J,"-options"),Ye=Ne,ke=null,Be=null,it=null;if(!ce&&!xe)return null;var Ve=this.getPageSizeOptions();if(ce&&Ye){var It=Ve.map(function(_t,wt){return t.createElement(Ye.Option,{key:wt,value:_t.toString()},(Oe||Me.buildOptionText)(_t))});ke=t.createElement(Ye,{disabled:Re,prefixCls:we,showSearch:!1,className:"".concat(tt,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(re||Ve[0]).toString(),onChange:this.changeSize,getPopupContainer:function(wt){return wt.parentNode},"aria-label":se.page_size,defaultOpen:!1},It)}return xe&&(ue&&(it=typeof ue=="boolean"?t.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Re,className:"".concat(tt,"-quick-jumper-button")},se.jump_to_confirm):t.createElement("span",{onClick:this.go,onKeyUp:this.go},ue)),Be=t.createElement("div",{className:"".concat(tt,"-quick-jumper")},se.jump_to,t.createElement("input",{disabled:Re,type:"text",value:st,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":se.page}),se.page,it)),t.createElement("li",{className:"".concat(tt)},ke,Be)}}]),je}(t.Component);te.defaultProps={pageSizeOptions:["10","20","50","100"]};var Y=te,q=function(me){var je,Ee=me.rootPrefixCls,Me=me.page,We=me.active,re=me.className,se=me.showTitle,J=me.onClick,ce=me.onKeyPress,xe=me.itemRender,ue="".concat(Ee,"-item"),Ne=C()(ue,"".concat(ue,"-").concat(Me),(je={},(0,z.Z)(je,"".concat(ue,"-active"),We),(0,z.Z)(je,"".concat(ue,"-disabled"),!Me),(0,z.Z)(je,me.className,re),je)),Oe=function(){J(Me)},we=function(tt){ce(tt,J,Me)},Re=xe(Me,"page",t.createElement("a",{rel:"nofollow"},Me));return Re?t.createElement("li",{title:se?Me.toString():null,className:Ne,onClick:Oe,onKeyPress:we,tabIndex:0},Re):null},le=q;function X(){}function W(ie){var me=Number(ie);return typeof me=="number"&&!Number.isNaN(me)&&isFinite(me)&&Math.floor(me)===me}var x=function(me,je,Ee){return Ee};function O(ie,me,je){var Ee=typeof ie=="undefined"?me.pageSize:ie;return Math.floor((je.total-1)/Ee)+1}var _=function(ie){(0,B.Z)(je,ie);var me=(0,D.Z)(je);function je(Ee){var Me;(0,N.Z)(this,je),Me=me.call(this,Ee),Me.paginationNode=t.createRef(),Me.getJumpPrevPage=function(){return Math.max(1,Me.state.current-(Me.props.showLessItems?3:5))},Me.getJumpNextPage=function(){return Math.min(O(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(ce,xe){var ue=Me.props.prefixCls,Ne=ce||t.createElement("button",{type:"button","aria-label":xe,className:"".concat(ue,"-item-link")});return typeof ce=="function"&&(Ne=t.createElement(ce,(0,$.Z)({},Me.props))),Ne},Me.isValid=function(ce){var xe=Me.props.total;return W(ce)&&ce!==Me.state.current&&W(xe)&&xe>0},Me.shouldDisplayQuickJumper=function(){var ce=Me.props,xe=ce.showQuickJumper,ue=ce.total,Ne=Me.state.pageSize;return ue<=Ne?!1:xe},Me.handleKeyDown=function(ce){(ce.keyCode===K.ARROW_UP||ce.keyCode===K.ARROW_DOWN)&&ce.preventDefault()},Me.handleKeyUp=function(ce){var xe=Me.getValidValue(ce),ue=Me.state.currentInputValue;xe!==ue&&Me.setState({currentInputValue:xe}),ce.keyCode===K.ENTER?Me.handleChange(xe):ce.keyCode===K.ARROW_UP?Me.handleChange(xe-1):ce.keyCode===K.ARROW_DOWN&&Me.handleChange(xe+1)},Me.handleBlur=function(ce){var xe=Me.getValidValue(ce);Me.handleChange(xe)},Me.changePageSize=function(ce){var xe=Me.state.current,ue=O(ce,Me.state,Me.props);xe=xe>ue?ue:xe,ue===0&&(xe=Me.state.current),typeof ce=="number"&&("pageSize"in Me.props||Me.setState({pageSize:ce}),"current"in Me.props||Me.setState({current:xe,currentInputValue:xe})),Me.props.onShowSizeChange(xe,ce),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(xe,ce)},Me.handleChange=function(ce){var xe=Me.props,ue=xe.disabled,Ne=xe.onChange,Oe=Me.state,we=Oe.pageSize,Re=Oe.current,st=Oe.currentInputValue;if(Me.isValid(ce)&&!ue){var tt=O(void 0,Me.state,Me.props),Ye=ce;return ce>tt?Ye=tt:ce<1&&(Ye=1),"current"in Me.props||Me.setState({current:Ye}),Ye!==st&&Me.setState({currentInputValue:Ye}),Ne(Ye,we),Ye}return Re},Me.prev=function(){Me.hasPrev()&&Me.handleChange(Me.state.current-1)},Me.next=function(){Me.hasNext()&&Me.handleChange(Me.state.current+1)},Me.jumpPrev=function(){Me.handleChange(Me.getJumpPrevPage())},Me.jumpNext=function(){Me.handleChange(Me.getJumpNextPage())},Me.hasPrev=function(){return Me.state.current>1},Me.hasNext=function(){return Me.state.current2?ue-2:0),Oe=2;Oe=re?J=re:J=Number(We),J}},{key:"getShowSizeChanger",value:function(){var Me=this.props,We=Me.showSizeChanger,re=Me.total,se=Me.totalBoundaryShowSizeChanger;return typeof We!="undefined"?We:re>se}},{key:"render",value:function(){var Me=this.props,We=Me.prefixCls,re=Me.className,se=Me.style,J=Me.disabled,ce=Me.hideOnSinglePage,xe=Me.total,ue=Me.locale,Ne=Me.showQuickJumper,Oe=Me.showLessItems,we=Me.showTitle,Re=Me.showTotal,st=Me.simple,tt=Me.itemRender,Ye=Me.showPrevNextJumpers,ke=Me.jumpPrevIcon,Be=Me.jumpNextIcon,it=Me.selectComponentClass,Ve=Me.selectPrefixCls,It=Me.pageSizeOptions,_t=this.state,wt=_t.current,jt=_t.pageSize,Yt=_t.currentInputValue;if(ce===!0&&xe<=jt)return null;var yt=O(void 0,this.state,this.props),ze=[],nt=null,Et=null,lt=null,Gt=null,Rt=null,Ot=Ne&&Ne.goButton,Ie=Oe?1:2,Se=wt-1>0?wt-1:0,bt=wt+1xe?xe:wt*jt]));if(st){Ot&&(typeof Ot=="boolean"?Rt=t.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ue.jump_to_confirm):Rt=t.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ot),Rt=t.createElement("li",{title:we?"".concat(ue.jump_to).concat(wt,"/").concat(yt):null,className:"".concat(We,"-simple-pager")},Rt));var qe=this.renderPrev(Se);return t.createElement("ul",(0,a.Z)({className:C()(We,"".concat(We,"-simple"),(0,z.Z)({},"".concat(We,"-disabled"),J),re),style:se,ref:this.paginationNode},Pt),He,qe?t.createElement("li",{title:we?ue.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:C()("".concat(We,"-prev"),(0,z.Z)({},"".concat(We,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},qe):null,t.createElement("li",{title:we?"".concat(wt,"/").concat(yt):null,className:"".concat(We,"-simple-pager")},t.createElement("input",{type:"text",value:Yt,disabled:J,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),t.createElement("span",{className:"".concat(We,"-slash")},"/"),yt),t.createElement("li",{title:we?ue.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:C()("".concat(We,"-next"),(0,z.Z)({},"".concat(We,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(bt)),Rt)}if(yt<=3+Ie*2){var Zt={locale:ue,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:we,itemRender:tt};yt||ze.push(t.createElement(le,(0,a.Z)({},Zt,{key:"noPager",page:1,className:"".concat(We,"-item-disabled")})));for(var Ut=1;Ut<=yt;Ut+=1){var qt=wt===Ut;ze.push(t.createElement(le,(0,a.Z)({},Zt,{key:Ut,page:Ut,active:qt})))}}else{var ln=Oe?ue.prev_3:ue.prev_5,En=Oe?ue.next_3:ue.next_5,mn=tt(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ke,"prev page")),Yn=tt(this.getJumpNextPage(),"jump-next",this.getItemIcon(Be,"next page"));Ye&&(nt=mn?t.createElement("li",{title:we?ln:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:C()("".concat(We,"-jump-prev"),(0,z.Z)({},"".concat(We,"-jump-prev-custom-icon"),!!ke))},mn):null,Et=Yn?t.createElement("li",{title:we?En:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:C()("".concat(We,"-jump-next"),(0,z.Z)({},"".concat(We,"-jump-next-custom-icon"),!!Be))},Yn):null),Gt=t.createElement(le,{locale:ue,last:!0,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:yt,page:yt,active:!1,showTitle:we,itemRender:tt}),lt=t.createElement(le,{locale:ue,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:we,itemRender:tt});var Gn=Math.max(1,wt-Ie),ir=Math.min(wt+Ie,yt);wt-1<=Ie&&(ir=1+Ie*2),yt-wt<=Ie&&(Gn=yt-Ie*2);for(var mr=Gn;mr<=ir;mr+=1){var Ft=wt===mr;ze.push(t.createElement(le,{locale:ue,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:mr,page:mr,active:Ft,showTitle:we,itemRender:tt}))}wt-1>=Ie*2&&wt!==1+2&&(ze[0]=(0,t.cloneElement)(ze[0],{className:"".concat(We,"-item-after-jump-prev")}),ze.unshift(nt)),yt-wt>=Ie*2&&wt!==yt-2&&(ze[ze.length-1]=(0,t.cloneElement)(ze[ze.length-1],{className:"".concat(We,"-item-before-jump-next")}),ze.push(Et)),Gn!==1&&ze.unshift(lt),ir!==yt&&ze.push(Gt)}var en=!this.hasPrev()||!yt,rn=!this.hasNext()||!yt,fn=this.renderPrev(Se),In=this.renderNext(bt);return t.createElement("ul",(0,a.Z)({className:C()(We,re,(0,z.Z)({},"".concat(We,"-disabled"),J)),style:se,ref:this.paginationNode},Pt),He,fn?t.createElement("li",{title:we?ue.prev_page:null,onClick:this.prev,tabIndex:en?null:0,onKeyPress:this.runIfEnterPrev,className:C()("".concat(We,"-prev"),(0,z.Z)({},"".concat(We,"-disabled"),en)),"aria-disabled":en},fn):null,ze,In?t.createElement("li",{title:we?ue.next_page:null,onClick:this.next,tabIndex:rn?null:0,onKeyPress:this.runIfEnterNext,className:C()("".concat(We,"-next"),(0,z.Z)({},"".concat(We,"-disabled"),rn)),"aria-disabled":rn},In):null,t.createElement(Y,{disabled:J,locale:ue,rootPrefixCls:We,selectComponentClass:it,selectPrefixCls:Ve,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:wt,pageSize:jt,pageSizeOptions:It,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ot}))}}],[{key:"getDerivedStateFromProps",value:function(Me,We){var re={};if("current"in Me&&(re.current=Me.current,Me.current!==We.current&&(re.currentInputValue=re.current)),"pageSize"in Me&&Me.pageSize!==We.pageSize){var se=We.current,J=O(Me.pageSize,We,Me);se=se>J?J:se,"current"in Me||(re.current=se,re.currentInputValue=se),re.pageSize=Me.pageSize}return re}}]),je}(t.Component);_.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:X,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:X,locale:k.Z,style:{},itemRender:x,totalBoundaryShowSizeChanger:50};var U=_,A=e(57522),G=e(61836),de=e(58785),he=e(60059),ge=e(29487),be=e(59504);const Te=ie=>t.createElement(be.Z,Object.assign({},ie,{showSearch:!0,size:"small"})),Ge=ie=>t.createElement(be.Z,Object.assign({},ie,{showSearch:!0,size:"middle"}));Te.Option=be.Z.Option,Ge.Option=be.Z.Option;var Je=e(46902),Qe=e(78330),pt=e(52628),Ct=e(22151);const ft=ie=>{const{componentCls:me}=ie;return{[`${me}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${me}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${me}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed"}}},[`&${me}-disabled`]:{cursor:"not-allowed",[`${me}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ie.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ie.colorBorder,backgroundColor:ie.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ie.itemActiveBgDisabled},a:{color:ie.itemActiveColorDisabled}}},[`${me}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${me}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${me}-simple-pager`]:{color:ie.colorTextDisabled},[`${me}-jump-prev, ${me}-jump-next`]:{[`${me}-item-link-icon`]:{opacity:0},[`${me}-item-ellipsis`]:{opacity:1}}},[`&${me}-simple`]:{[`${me}-prev, ${me}-next`]:{[`&${me}-disabled ${me}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ht=ie=>{const{componentCls:me}=ie;return{[`&${me}-mini ${me}-total-text, &${me}-mini ${me}-simple-pager`]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`},[`&${me}-mini ${me}-item`]:{minWidth:ie.itemSizeSM,height:ie.itemSizeSM,margin:0,lineHeight:`${ie.itemSizeSM-2}px`},[`&${me}-mini:not(${me}-disabled) ${me}-item:not(${me}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},[`&${me}-mini ${me}-prev, &${me}-mini ${me}-next`]:{minWidth:ie.itemSizeSM,height:ie.itemSizeSM,margin:0,lineHeight:`${ie.itemSizeSM}px`},[`&${me}-mini:not(${me}-disabled)`]:{[`${me}-prev, ${me}-next`]:{[`&:hover ${me}-item-link`]:{backgroundColor:ie.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:ie.colorBgTextActive},[`&${me}-disabled:hover ${me}-item-link`]:{backgroundColor:"transparent"}}},[` + ${w}-confirm ${w}-body > ${h.iconCls}`]:{color:h.colorWarning},[`${w}-info ${w}-body > ${h.iconCls}`]:{color:h.colorInfo},[`${w}-success ${w}-body > ${h.iconCls}`]:{color:h.colorSuccess}}},g=h=>{const{componentCls:S}=h;return{[`${S}-root`]:{[`${S}-wrap-rtl`]:{direction:"rtl",[`${S}-confirm-body`]:{direction:"rtl"}}}}},M=h=>{const{componentCls:S,antCls:w}=h,C=`${S}-confirm`;return{[S]:{[`${S}-content`]:{padding:0},[`${S}-header`]:{padding:h.modalHeaderPadding,borderBottom:`${h.modalHeaderBorderWidth}px ${h.modalHeaderBorderStyle} ${h.modalHeaderBorderColorSplit}`,marginBottom:0},[`${S}-body`]:{padding:h.modalBodyPadding},[`${S}-footer`]:{padding:`${h.modalFooterPaddingVertical}px ${h.modalFooterPaddingHorizontal}px`,borderTop:`${h.modalFooterBorderWidth}px ${h.modalFooterBorderStyle} ${h.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${h.borderRadiusLG}px ${h.borderRadiusLG}px`,marginTop:0}},[C]:{[`${w}-modal-body`]:{padding:`${h.padding*2}px ${h.padding*2}px ${h.paddingLG}px`},[`${C}-body`]:{[`> ${h.iconCls}`]:{marginInlineEnd:h.margin,[`+ ${C}-title + ${C}-content`]:{marginInlineStart:h.modalConfirmIconSize+h.margin}}},[`${C}-btns`]:{marginTop:h.marginLG}}}};y.Z=(0,s.Z)("Modal",h=>{const S=h.padding,w=h.fontSizeHeading5,C=h.lineHeightHeading5,F=(0,n.TS)(h,{modalBodyPadding:h.paddingLG,modalHeaderPadding:`${S}px ${h.paddingLG}px`,modalHeaderBorderWidth:h.lineWidth,modalHeaderBorderStyle:h.lineType,modalHeaderBorderColorSplit:h.colorSplit,modalHeaderHeight:C*w+S*2,modalFooterBorderColorSplit:h.colorSplit,modalFooterBorderStyle:h.lineType,modalFooterPaddingVertical:h.paddingXS,modalFooterPaddingHorizontal:h.padding,modalFooterBorderWidth:h.lineWidth,modalIconHoverColor:h.colorIconHover,modalCloseIconColor:h.colorIcon,modalCloseBtnSize:h.fontSize*h.lineHeight,modalConfirmIconSize:h.fontSize*h.lineHeight});return[c(F),m(F),g(F),l(F),h.wireframe&&M(F),(0,o._y)(F,"zoom")]},h=>({footerBg:"transparent",headerBg:h.colorBgElevated,titleLineHeight:h.lineHeightHeading5,titleFontSize:h.fontSizeHeading5,contentBg:h.colorBgElevated,titleColor:h.colorTextHeading}))},65172:function(b,y,e){"use strict";e.d(y,{Z:function(){return F}});var a=e(29140),t=e(58757);function o(){const[Z,N]=t.useState([]),L=t.useCallback($=>(N(D=>[].concat((0,a.Z)(D),[$])),()=>{N(D=>D.filter(T=>T!==$))}),[]);return[Z,L]}var s=e(49316),n=e(98702),d=e(61836),l=e(80076),c=e(29487),m=e(76370),g=function(Z,N){var L={};for(var $ in Z)Object.prototype.hasOwnProperty.call(Z,$)&&N.indexOf($)<0&&(L[$]=Z[$]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,$=Object.getOwnPropertySymbols(Z);D<$.length;D++)N.indexOf($[D])<0&&Object.prototype.propertyIsEnumerable.call(Z,$[D])&&(L[$[D]]=Z[$[D]]);return L};const M=(Z,N)=>{var L,{afterClose:$,config:D}=Z,T=g(Z,["afterClose","config"]);const[j,K]=t.useState(!0),[k,te]=t.useState(D),{direction:V,getPrefixCls:q}=t.useContext(d.E_),le=q("modal"),X=q(),W=()=>{var U;$(),(U=k.afterClose)===null||U===void 0||U.call(k)},x=function(){K(!1);for(var U=arguments.length,A=new Array(U),G=0;Gpe&&pe.triggerCancel);k.onCancel&&fe&&k.onCancel.apply(k,[()=>{}].concat((0,a.Z)(A.slice(1))))};t.useImperativeHandle(N,()=>({destroy:x,update:U=>{te(A=>Object.assign(Object.assign({},A),U))}}));const O=(L=k.okCancel)!==null&&L!==void 0?L:k.type==="confirm",[_]=(0,c.Z)("Modal",l.Z.Modal);return t.createElement(m.Z,Object.assign({prefixCls:le,rootPrefixCls:X},k,{close:x,open:j,afterClose:W,okText:k.okText||(O?_==null?void 0:_.okText:_==null?void 0:_.justOkText),direction:k.direction||V,cancelText:k.cancelText||(_==null?void 0:_.cancelText)},T))};var h=t.forwardRef(M);let S=0;const w=t.memo(t.forwardRef((Z,N)=>{const[L,$]=o();return t.useImperativeHandle(N,()=>({patchElement:$}),[]),t.createElement(t.Fragment,null,L)}));function C(){const Z=t.useRef(null),[N,L]=t.useState([]);t.useEffect(()=>{N.length&&((0,a.Z)(N).forEach(j=>{j()}),L([]))},[N]);const $=t.useCallback(T=>function(K){var k;S+=1;const te=t.createRef();let V;const q=new Promise(O=>{V=O});let le=!1,X;const W=t.createElement(h,{key:`modal-${S}`,config:T(K),ref:te,afterClose:()=>{X==null||X()},isSilent:()=>le,onConfirm:O=>{V(O)}});return X=(k=Z.current)===null||k===void 0?void 0:k.patchElement(W),X&&n.Z.push(X),{destroy:()=>{function O(){var _;(_=te.current)===null||_===void 0||_.destroy()}te.current?O():L(_=>[].concat((0,a.Z)(_),[O]))},update:O=>{function _(){var U;(U=te.current)===null||U===void 0||U.update(O)}te.current?_():L(U=>[].concat((0,a.Z)(U),[_]))},then:O=>(le=!0,q.then(O))}},[]);return[t.useMemo(()=>({info:$(s.cw),success:$(s.vq),error:$(s.AQ),warning:$(s.uW),confirm:$(s.Au)}),[]),t.createElement(w,{key:"modal-holder",ref:Z})]}var F=C},37864:function(b,y,e){"use strict";e.d(y,{CW:function(){return Z},z5:function(){return C}});var a=e(85678),t=e(79999),o=e(52495),s=e(69831),n=e(33064),d=e(25755),l=e(87608),c=e.n(l),m=e(75248),g=e(58757),M=e(61836),h=e(26284),S=function(L,$){var D={};for(var T in L)Object.prototype.hasOwnProperty.call(L,T)&&$.indexOf(T)<0&&(D[T]=L[T]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,T=Object.getOwnPropertySymbols(L);j{const{prefixCls:$,icon:D,type:T,message:j,description:K,btn:k,role:te="alert"}=L;let V=null;return D?V=g.createElement("span",{className:`${$}-icon`},D):T&&(V=g.createElement(F[T]||null,{className:c()(`${$}-icon`,`${$}-icon-${T}`)})),g.createElement("div",{className:c()({[`${$}-with-icon`]:V}),role:te},V,g.createElement("div",{className:`${$}-message`},j),g.createElement("div",{className:`${$}-description`},K),k&&g.createElement("div",{className:`${$}-btn`},k))},N=L=>{const{prefixCls:$,className:D,icon:T,type:j,message:K,description:k,btn:te,closable:V=!0,closeIcon:q}=L,le=S(L,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:X}=g.useContext(M.E_),W=$||X("notification"),x=`${W}-notice`,[,O]=(0,h.Z)(W);return g.createElement(m.q,Object.assign({},le,{prefixCls:W,className:c()(D,O,`${x}-pure-panel`),eventKey:"pure",duration:null,closable:V,closeIcon:C(W,q),content:g.createElement(Z,{prefixCls:x,icon:T,type:j,message:K,description:k,btn:te})}))};y.ZP=N},65388:function(b,y,e){"use strict";var a=e(58757),t=e(52323),o=e(42505),s=e(37864),n=e(75105);let d=null,l=D=>D(),c=[],m={};function g(){const{prefixCls:D,getContainer:T,rtl:j,maxCount:K,top:k,bottom:te}=m,V=D!=null?D:(0,o.w6)().getPrefixCls("notification"),q=(T==null?void 0:T())||document.body;return{prefixCls:V,getContainer:()=>q,rtl:j,maxCount:K,top:k,bottom:te}}const M=a.forwardRef((D,T)=>{const[j,K]=a.useState(g),[k,te]=(0,n.k)(j),V=(0,o.w6)(),q=V.getRootPrefixCls(),le=V.getIconPrefixCls(),X=V.getTheme(),W=()=>{K(g)};return a.useEffect(W,[]),a.useImperativeHandle(T,()=>{const x=Object.assign({},k);return Object.keys(x).forEach(O=>{x[O]=function(){return W(),k[O].apply(k,arguments)}}),{instance:x,sync:W}}),a.createElement(o.ZP,{prefixCls:q,iconPrefixCls:le,theme:X},te)});function h(){if(!d){const D=document.createDocumentFragment(),T={fragment:D};d=T,l(()=>{(0,t.s)(a.createElement(M,{ref:j=>{const{instance:K,sync:k}=j||{};Promise.resolve().then(()=>{!T.instance&&K&&(T.instance=K,T.sync=k,h())})}}),D)});return}d.instance&&(c.forEach(D=>{switch(D.type){case"open":{l(()=>{d.instance.open(Object.assign(Object.assign({},m),D.config))});break}case"destroy":l(()=>{d==null||d.instance.destroy(D.key)});break}}),c=[])}function S(D){m=Object.assign(Object.assign({},m),D),l(()=>{var T;(T=d==null?void 0:d.sync)===null||T===void 0||T.call(d)})}function w(D){c.push({type:"open",config:D}),h()}function C(D){c.push({type:"destroy",key:D}),h()}const F=["success","info","warning","error"],N={open:w,destroy:C,config:S,useNotification:n.Z,_InternalPanelDoNotUseOrYouWillBeFired:s.ZP};F.forEach(D=>{N[D]=T=>w(Object.assign(Object.assign({},T),{type:D}))});const L=()=>{};let $=null;y.Z=N},26284:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});var a=e(57793),t=e(78330),o=e(52628),s=e(22151),d=m=>{const{componentCls:g,width:M,notificationMarginEdge:h}=m,S=new a.E4("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),w=new a.E4("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),C=new a.E4("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:M},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${g}-top, &${g}-bottom`]:{marginInline:0},[`&${g}-top`]:{[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:S}},[`&${g}-bottom`]:{[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:w}},[`&${g}-topLeft, &${g}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:h,[`${g}-fade-enter${g}-fade-enter-active, ${g}-fade-appear${g}-fade-appear-active`]:{animationName:C}}}};const l=m=>{const{iconCls:g,componentCls:M,boxShadow:h,fontSizeLG:S,notificationMarginBottom:w,borderRadiusLG:C,colorSuccess:F,colorInfo:Z,colorWarning:N,colorError:L,colorTextHeading:$,notificationBg:D,notificationPadding:T,notificationMarginEdge:j,motionDurationMid:K,motionEaseInOut:k,fontSize:te,lineHeight:V,width:q,notificationIconSize:le,colorText:X}=m,W=`${M}-notice`,x=new a.E4("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:q},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),O=new a.E4("antNotificationFadeOut",{"0%":{maxHeight:m.animationMaxHeight,marginBottom:w,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),_={position:"relative",width:q,maxWidth:`calc(100vw - ${j*2}px)`,marginBottom:w,marginInlineStart:"auto",padding:T,overflow:"hidden",lineHeight:V,wordWrap:"break-word",background:D,borderRadius:C,boxShadow:h,[`${M}-close-icon`]:{fontSize:te,cursor:"pointer"},[`${W}-message`]:{marginBottom:m.marginXS,color:$,fontSize:S,lineHeight:m.lineHeightLG},[`${W}-description`]:{fontSize:te,color:X},[`&${W}-closable ${W}-message`]:{paddingInlineEnd:m.paddingLG},[`${W}-with-icon ${W}-message`]:{marginBottom:m.marginXS,marginInlineStart:m.marginSM+le,fontSize:S},[`${W}-with-icon ${W}-description`]:{marginInlineStart:m.marginSM+le,fontSize:te},[`${W}-icon`]:{position:"absolute",fontSize:le,lineHeight:0,[`&-success${g}`]:{color:F},[`&-info${g}`]:{color:Z},[`&-warning${g}`]:{color:N},[`&-error${g}`]:{color:L}},[`${W}-close`]:{position:"absolute",top:m.notificationPaddingVertical,insetInlineEnd:m.notificationPaddingHorizontal,color:m.colorIcon,outline:"none",width:m.notificationCloseButtonSize,height:m.notificationCloseButtonSize,borderRadius:m.borderRadiusSM,transition:`background-color ${m.motionDurationMid}, color ${m.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:m.colorIconHover,backgroundColor:m.wireframe?"transparent":m.colorFillContent}},[`${W}-btn`]:{float:"right",marginTop:m.marginSM}};return[{[M]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,t.Wf)(m)),{position:"fixed",zIndex:m.zIndexPopup,marginInlineEnd:j,[`${M}-hook-holder`]:{position:"relative"},[`&${M}-top, &${M}-bottom`]:{[W]:{marginInline:"auto auto"}},[`&${M}-topLeft, &${M}-bottomLeft`]:{[W]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${M}-fade-enter, ${M}-fade-appear`]:{animationDuration:m.motionDurationMid,animationTimingFunction:k,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${M}-fade-leave`]:{animationTimingFunction:k,animationFillMode:"both",animationDuration:K,animationPlayState:"paused"},[`${M}-fade-enter${M}-fade-enter-active, ${M}-fade-appear${M}-fade-appear-active`]:{animationName:x,animationPlayState:"running"},[`${M}-fade-leave${M}-fade-leave-active`]:{animationName:O,animationPlayState:"running"}}),d(m)),{"&-rtl":{direction:"rtl",[`${W}-btn`]:{float:"left"}}})},{[M]:{[W]:Object.assign({},_)}},{[`${W}-pure-panel`]:Object.assign(Object.assign({},_),{margin:0})}]};var c=(0,o.Z)("Notification",m=>{const g=m.paddingMD,M=m.paddingLG,h=(0,s.TS)(m,{notificationBg:m.colorBgElevated,notificationPaddingVertical:g,notificationPaddingHorizontal:M,notificationIconSize:m.fontSizeLG*m.lineHeightLG,notificationCloseButtonSize:m.controlHeightLG*.55,notificationMarginBottom:m.margin,notificationPadding:`${m.paddingMD}px ${m.paddingContentHorizontalLG}px`,notificationMarginEdge:m.marginLG,animationMaxHeight:150});return[l(h)]},m=>({zIndexPopup:m.zIndexPopupBase+50,width:384}),{clientOnly:!0})},75105:function(b,y,e){"use strict";e.d(y,{Z:function(){return F},k:function(){return C}});var a=e(58757),t=e(87608),o=e.n(t),s=e(75248),n=e(61836),d=e(37864),l=e(26284);function c(Z,N,L){let $;switch(Z){case"top":$={left:"50%",transform:"translateX(-50%)",right:"auto",top:N,bottom:"auto"};break;case"topLeft":$={left:0,top:N,bottom:"auto"};break;case"topRight":$={right:0,top:N,bottom:"auto"};break;case"bottom":$={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:L};break;case"bottomLeft":$={left:0,top:"auto",bottom:L};break;default:$={right:0,top:"auto",bottom:L};break}return $}function m(Z){return{motionName:`${Z}-fade`}}var g=function(Z,N){var L={};for(var $ in Z)Object.prototype.hasOwnProperty.call(Z,$)&&N.indexOf($)<0&&(L[$]=Z[$]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,$=Object.getOwnPropertySymbols(Z);D<$.length;D++)N.indexOf($[D])<0&&Object.prototype.propertyIsEnumerable.call(Z,$[D])&&(L[$[D]]=Z[$[D]]);return L};const M=24,h=4.5,S="topRight",w=a.forwardRef((Z,N)=>{const{top:L,bottom:$,prefixCls:D,getContainer:T,maxCount:j,rtl:K,onAllRemoved:k}=Z,{getPrefixCls:te,getPopupContainer:V,notification:q}=a.useContext(n.E_),le=D||te("notification"),X=A=>c(A,L!=null?L:M,$!=null?$:M),[,W]=(0,l.Z)(le),x=()=>o()(W,{[`${le}-rtl`]:K}),O=()=>m(le),[_,U]=(0,s.l)({prefixCls:le,style:X,className:x,motion:O,closable:!0,closeIcon:(0,d.z5)(le),duration:h,getContainer:()=>(T==null?void 0:T())||(V==null?void 0:V())||document.body,maxCount:j,onAllRemoved:k});return a.useImperativeHandle(N,()=>Object.assign(Object.assign({},_),{prefixCls:le,hashId:W,notification:q})),U});function C(Z){const N=a.useRef(null);return[a.useMemo(()=>{const $=K=>{var k;if(!N.current)return;const{open:te,prefixCls:V,hashId:q,notification:le}=N.current,X=`${V}-notice`,{message:W,description:x,icon:O,type:_,btn:U,className:A,style:G,role:fe="alert",closeIcon:pe}=K,ge=g(K,["message","description","icon","type","btn","className","style","role","closeIcon"]),be=(0,d.z5)(X,pe);return te(Object.assign(Object.assign({placement:(k=Z==null?void 0:Z.placement)!==null&&k!==void 0?k:S},ge),{content:a.createElement(d.CW,{prefixCls:X,icon:O,type:_,message:W,description:x,btn:U,role:fe}),className:o()(_&&`${X}-${_}`,q,A,le==null?void 0:le.className),style:Object.assign(Object.assign({},le==null?void 0:le.style),G),closeIcon:be,closable:!!be}))},T={open:$,destroy:K=>{var k,te;K!==void 0?(k=N.current)===null||k===void 0||k.close(K):(te=N.current)===null||te===void 0||te.destroy()}};return["success","info","warning","error"].forEach(K=>{T[K]=k=>$(Object.assign(Object.assign({},k),{type:K}))}),T},[]),a.createElement(w,Object.assign({key:"notification-holder"},Z,{ref:N}))]}function F(Z){return C(Z)}},35910:function(b,y,e){"use strict";e.d(y,{Z:function(){return Q}});var a=e(60698),t=e(58757),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},s=o,n=e(17202),d=function(me,je){return t.createElement(n.Z,(0,a.Z)({},me,{ref:je,icon:s}))},l=t.forwardRef(d),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=c,g=function(me,je){return t.createElement(n.Z,(0,a.Z)({},me,{ref:je,icon:m}))},M=t.forwardRef(g),h=e(99142),S=e(91169),w=e(87608),C=e.n(w),F=e(37734),Z=e(57370),N=e(60412),L=e(14346),$=e(87498),D=e(73726),T=e(33926),j={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},K=j,k=e(23737),te=function(ie){(0,$.Z)(je,ie);var me=(0,D.Z)(je);function je(){var Ee;(0,N.Z)(this,je);for(var Me=arguments.length,We=new Array(Me),re=0;re=0||se.relatedTarget.className.indexOf("".concat(ce,"-item"))>=0))&&xe(Ee.getValidValue()))},Ee.go=function(se){var J=Ee.state.goInputText;J!==""&&(se.keyCode===K.ENTER||se.type==="click")&&(Ee.setState({goInputText:""}),Ee.props.quickGo(Ee.getValidValue()))},Ee}return(0,L.Z)(je,[{key:"getPageSizeOptions",value:function(){var Me=this.props,We=Me.pageSize,re=Me.pageSizeOptions;return re.some(function(se){return se.toString()===We.toString()})?re:re.concat([We.toString()]).sort(function(se,J){var de=Number.isNaN(Number(se))?0:Number(se),xe=Number.isNaN(Number(J))?0:Number(J);return de-xe})}},{key:"render",value:function(){var Me=this,We=this.props,re=We.pageSize,se=We.locale,J=We.rootPrefixCls,de=We.changeSize,xe=We.quickGo,ce=We.goButton,Le=We.selectComponentClass,Oe=We.buildOptionText,we=We.selectPrefixCls,Ne=We.disabled,st=this.state.goInputText,et="".concat(J,"-options"),Ye=Le,ke=null,Be=null,it=null;if(!de&&!xe)return null;var Ve=this.getPageSizeOptions();if(de&&Ye){var xt=Ve.map(function(Ht,Ot){return t.createElement(Ye.Option,{key:Ot,value:Ht.toString()},(Oe||Me.buildOptionText)(Ht))});ke=t.createElement(Ye,{disabled:Ne,prefixCls:we,showSearch:!1,className:"".concat(et,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(re||Ve[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Ot){return Ot.parentNode},"aria-label":se.page_size,defaultOpen:!1},xt)}return xe&&(ce&&(it=typeof ce=="boolean"?t.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ne,className:"".concat(et,"-quick-jumper-button")},se.jump_to_confirm):t.createElement("span",{onClick:this.go,onKeyUp:this.go},ce)),Be=t.createElement("div",{className:"".concat(et,"-quick-jumper")},se.jump_to,t.createElement("input",{disabled:Ne,type:"text",value:st,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":se.page}),se.page,it)),t.createElement("li",{className:"".concat(et)},ke,Be)}}]),je}(t.Component);te.defaultProps={pageSizeOptions:["10","20","50","100"]};var V=te,q=function(me){var je,Ee=me.rootPrefixCls,Me=me.page,We=me.active,re=me.className,se=me.showTitle,J=me.onClick,de=me.onKeyPress,xe=me.itemRender,ce="".concat(Ee,"-item"),Le=C()(ce,"".concat(ce,"-").concat(Me),(je={},(0,F.Z)(je,"".concat(ce,"-active"),We),(0,F.Z)(je,"".concat(ce,"-disabled"),!Me),(0,F.Z)(je,me.className,re),je)),Oe=function(){J(Me)},we=function(et){de(et,J,Me)},Ne=xe(Me,"page",t.createElement("a",{rel:"nofollow"},Me));return Ne?t.createElement("li",{title:se?Me.toString():null,className:Le,onClick:Oe,onKeyPress:we,tabIndex:0},Ne):null},le=q;function X(){}function W(ie){var me=Number(ie);return typeof me=="number"&&!Number.isNaN(me)&&isFinite(me)&&Math.floor(me)===me}var x=function(me,je,Ee){return Ee};function O(ie,me,je){var Ee=typeof ie=="undefined"?me.pageSize:ie;return Math.floor((je.total-1)/Ee)+1}var _=function(ie){(0,$.Z)(je,ie);var me=(0,D.Z)(je);function je(Ee){var Me;(0,N.Z)(this,je),Me=me.call(this,Ee),Me.paginationNode=t.createRef(),Me.getJumpPrevPage=function(){return Math.max(1,Me.state.current-(Me.props.showLessItems?3:5))},Me.getJumpNextPage=function(){return Math.min(O(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(de,xe){var ce=Me.props.prefixCls,Le=de||t.createElement("button",{type:"button","aria-label":xe,className:"".concat(ce,"-item-link")});return typeof de=="function"&&(Le=t.createElement(de,(0,Z.Z)({},Me.props))),Le},Me.isValid=function(de){var xe=Me.props.total;return W(de)&&de!==Me.state.current&&W(xe)&&xe>0},Me.shouldDisplayQuickJumper=function(){var de=Me.props,xe=de.showQuickJumper,ce=de.total,Le=Me.state.pageSize;return ce<=Le?!1:xe},Me.handleKeyDown=function(de){(de.keyCode===K.ARROW_UP||de.keyCode===K.ARROW_DOWN)&&de.preventDefault()},Me.handleKeyUp=function(de){var xe=Me.getValidValue(de),ce=Me.state.currentInputValue;xe!==ce&&Me.setState({currentInputValue:xe}),de.keyCode===K.ENTER?Me.handleChange(xe):de.keyCode===K.ARROW_UP?Me.handleChange(xe-1):de.keyCode===K.ARROW_DOWN&&Me.handleChange(xe+1)},Me.handleBlur=function(de){var xe=Me.getValidValue(de);Me.handleChange(xe)},Me.changePageSize=function(de){var xe=Me.state.current,ce=O(de,Me.state,Me.props);xe=xe>ce?ce:xe,ce===0&&(xe=Me.state.current),typeof de=="number"&&("pageSize"in Me.props||Me.setState({pageSize:de}),"current"in Me.props||Me.setState({current:xe,currentInputValue:xe})),Me.props.onShowSizeChange(xe,de),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(xe,de)},Me.handleChange=function(de){var xe=Me.props,ce=xe.disabled,Le=xe.onChange,Oe=Me.state,we=Oe.pageSize,Ne=Oe.current,st=Oe.currentInputValue;if(Me.isValid(de)&&!ce){var et=O(void 0,Me.state,Me.props),Ye=de;return de>et?Ye=et:de<1&&(Ye=1),"current"in Me.props||Me.setState({current:Ye}),Ye!==st&&Me.setState({currentInputValue:Ye}),Le(Ye,we),Ye}return Ne},Me.prev=function(){Me.hasPrev()&&Me.handleChange(Me.state.current-1)},Me.next=function(){Me.hasNext()&&Me.handleChange(Me.state.current+1)},Me.jumpPrev=function(){Me.handleChange(Me.getJumpPrevPage())},Me.jumpNext=function(){Me.handleChange(Me.getJumpNextPage())},Me.hasPrev=function(){return Me.state.current>1},Me.hasNext=function(){return Me.state.current2?ce-2:0),Oe=2;Oe=re?J=re:J=Number(We),J}},{key:"getShowSizeChanger",value:function(){var Me=this.props,We=Me.showSizeChanger,re=Me.total,se=Me.totalBoundaryShowSizeChanger;return typeof We!="undefined"?We:re>se}},{key:"render",value:function(){var Me=this.props,We=Me.prefixCls,re=Me.className,se=Me.style,J=Me.disabled,de=Me.hideOnSinglePage,xe=Me.total,ce=Me.locale,Le=Me.showQuickJumper,Oe=Me.showLessItems,we=Me.showTitle,Ne=Me.showTotal,st=Me.simple,et=Me.itemRender,Ye=Me.showPrevNextJumpers,ke=Me.jumpPrevIcon,Be=Me.jumpNextIcon,it=Me.selectComponentClass,Ve=Me.selectPrefixCls,xt=Me.pageSizeOptions,Ht=this.state,Ot=Ht.current,wt=Ht.pageSize,_t=Ht.currentInputValue;if(de===!0&&xe<=wt)return null;var yt=O(void 0,this.state,this.props),ze=[],tt=null,St=null,lt=null,Gt=null,Nt=null,At=Le&&Le.goButton,Ie=Oe?1:2,Se=Ot-1>0?Ot-1:0,bt=Ot+1xe?xe:Ot*wt]));if(st){At&&(typeof At=="boolean"?Nt=t.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ce.jump_to_confirm):Nt=t.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},At),Nt=t.createElement("li",{title:we?"".concat(ce.jump_to).concat(Ot,"/").concat(yt):null,className:"".concat(We,"-simple-pager")},Nt));var qe=this.renderPrev(Se);return t.createElement("ul",(0,a.Z)({className:C()(We,"".concat(We,"-simple"),(0,F.Z)({},"".concat(We,"-disabled"),J),re),style:se,ref:this.paginationNode},jt),He,qe?t.createElement("li",{title:we?ce.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:C()("".concat(We,"-prev"),(0,F.Z)({},"".concat(We,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},qe):null,t.createElement("li",{title:we?"".concat(Ot,"/").concat(yt):null,className:"".concat(We,"-simple-pager")},t.createElement("input",{type:"text",value:_t,disabled:J,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),t.createElement("span",{className:"".concat(We,"-slash")},"/"),yt),t.createElement("li",{title:we?ce.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:C()("".concat(We,"-next"),(0,F.Z)({},"".concat(We,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(bt)),Nt)}if(yt<=3+Ie*2){var $t={locale:ce,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:we,itemRender:et};yt||ze.push(t.createElement(le,(0,a.Z)({},$t,{key:"noPager",page:1,className:"".concat(We,"-item-disabled")})));for(var Zt=1;Zt<=yt;Zt+=1){var qt=Ot===Zt;ze.push(t.createElement(le,(0,a.Z)({},$t,{key:Zt,page:Zt,active:qt})))}}else{var un=Oe?ce.prev_3:ce.prev_5,xn=Oe?ce.next_3:ce.next_5,pn=et(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ke,"prev page")),Gn=et(this.getJumpNextPage(),"jump-next",this.getItemIcon(Be,"next page"));Ye&&(tt=pn?t.createElement("li",{title:we?un:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:C()("".concat(We,"-jump-prev"),(0,F.Z)({},"".concat(We,"-jump-prev-custom-icon"),!!ke))},pn):null,St=Gn?t.createElement("li",{title:we?xn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:C()("".concat(We,"-jump-next"),(0,F.Z)({},"".concat(We,"-jump-next-custom-icon"),!!Be))},Gn):null),Gt=t.createElement(le,{locale:ce,last:!0,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:yt,page:yt,active:!1,showTitle:we,itemRender:et}),lt=t.createElement(le,{locale:ce,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:we,itemRender:et});var Qn=Math.max(1,Ot-Ie),ur=Math.min(Ot+Ie,yt);Ot-1<=Ie&&(ur=1+Ie*2),yt-Ot<=Ie&&(Qn=yt-Ie*2);for(var br=Qn;br<=ur;br+=1){var zt=Ot===br;ze.push(t.createElement(le,{locale:ce,rootPrefixCls:We,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:br,page:br,active:zt,showTitle:we,itemRender:et}))}Ot-1>=Ie*2&&Ot!==1+2&&(ze[0]=(0,t.cloneElement)(ze[0],{className:"".concat(We,"-item-after-jump-prev")}),ze.unshift(tt)),yt-Ot>=Ie*2&&Ot!==yt-2&&(ze[ze.length-1]=(0,t.cloneElement)(ze[ze.length-1],{className:"".concat(We,"-item-before-jump-next")}),ze.push(St)),Qn!==1&&ze.unshift(lt),ur!==yt&&ze.push(Gt)}var en=!this.hasPrev()||!yt,an=!this.hasNext()||!yt,vn=this.renderPrev(Se),An=this.renderNext(bt);return t.createElement("ul",(0,a.Z)({className:C()(We,re,(0,F.Z)({},"".concat(We,"-disabled"),J)),style:se,ref:this.paginationNode},jt),He,vn?t.createElement("li",{title:we?ce.prev_page:null,onClick:this.prev,tabIndex:en?null:0,onKeyPress:this.runIfEnterPrev,className:C()("".concat(We,"-prev"),(0,F.Z)({},"".concat(We,"-disabled"),en)),"aria-disabled":en},vn):null,ze,An?t.createElement("li",{title:we?ce.next_page:null,onClick:this.next,tabIndex:an?null:0,onKeyPress:this.runIfEnterNext,className:C()("".concat(We,"-next"),(0,F.Z)({},"".concat(We,"-disabled"),an)),"aria-disabled":an},An):null,t.createElement(V,{disabled:J,locale:ce,rootPrefixCls:We,selectComponentClass:it,selectPrefixCls:Ve,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Ot,pageSize:wt,pageSizeOptions:xt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:At}))}}],[{key:"getDerivedStateFromProps",value:function(Me,We){var re={};if("current"in Me&&(re.current=Me.current,Me.current!==We.current&&(re.currentInputValue=re.current)),"pageSize"in Me&&Me.pageSize!==We.pageSize){var se=We.current,J=O(Me.pageSize,We,Me);se=se>J?J:se,"current"in Me||(re.current=se,re.currentInputValue=se),re.pageSize=Me.pageSize}return re}}]),je}(t.Component);_.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:X,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:X,locale:k.Z,style:{},itemRender:x,totalBoundaryShowSizeChanger:50};var U=_,A=e(57522),G=e(61836),fe=e(58785),pe=e(60059),ge=e(29487),be=e(59504);const Te=ie=>t.createElement(be.Z,Object.assign({},ie,{showSearch:!0,size:"small"})),Ge=ie=>t.createElement(be.Z,Object.assign({},ie,{showSearch:!0,size:"middle"}));Te.Option=be.Z.Option,Ge.Option=be.Z.Option;var Je=e(46902),Qe=e(78330),pt=e(52628),Et=e(22151);const ft=ie=>{const{componentCls:me}=ie;return{[`${me}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${me}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${me}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed"}}},[`&${me}-disabled`]:{cursor:"not-allowed",[`${me}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ie.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ie.colorBorder,backgroundColor:ie.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ie.itemActiveBgDisabled},a:{color:ie.itemActiveColorDisabled}}},[`${me}-item-link`]:{color:ie.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${me}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${me}-simple-pager`]:{color:ie.colorTextDisabled},[`${me}-jump-prev, ${me}-jump-next`]:{[`${me}-item-link-icon`]:{opacity:0},[`${me}-item-ellipsis`]:{opacity:1}}},[`&${me}-simple`]:{[`${me}-prev, ${me}-next`]:{[`&${me}-disabled ${me}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Wt=ie=>{const{componentCls:me}=ie;return{[`&${me}-mini ${me}-total-text, &${me}-mini ${me}-simple-pager`]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`},[`&${me}-mini ${me}-item`]:{minWidth:ie.itemSizeSM,height:ie.itemSizeSM,margin:0,lineHeight:`${ie.itemSizeSM-2}px`},[`&${me}-mini:not(${me}-disabled) ${me}-item:not(${me}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},[`&${me}-mini ${me}-prev, &${me}-mini ${me}-next`]:{minWidth:ie.itemSizeSM,height:ie.itemSizeSM,margin:0,lineHeight:`${ie.itemSizeSM}px`},[`&${me}-mini:not(${me}-disabled)`]:{[`${me}-prev, ${me}-next`]:{[`&:hover ${me}-item-link`]:{backgroundColor:ie.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:ie.colorBgTextActive},[`&${me}-disabled:hover ${me}-item-link`]:{backgroundColor:"transparent"}}},[` &${me}-mini ${me}-prev ${me}-item-link, &${me}-mini ${me}-next ${me}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`}},[`&${me}-mini ${me}-jump-prev, &${me}-mini ${me}-jump-next`]:{height:ie.itemSizeSM,marginInlineEnd:0,lineHeight:`${ie.itemSizeSM}px`},[`&${me}-mini ${me}-options`]:{marginInlineStart:ie.paginationMiniOptionsMarginInlineStart,["&-size-changer"]:{top:ie.miniOptionsSizeChangerTop},["&-quick-jumper"]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Je.x0)(ie)),{width:ie.paginationMiniQuickJumperInputWidth,height:ie.controlHeightSM})}}}},Ze=ie=>{const{componentCls:me}=ie;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`}},[`&${me}-mini ${me}-jump-prev, &${me}-mini ${me}-jump-next`]:{height:ie.itemSizeSM,marginInlineEnd:0,lineHeight:`${ie.itemSizeSM}px`},[`&${me}-mini ${me}-options`]:{marginInlineStart:ie.paginationMiniOptionsMarginInlineStart,["&-size-changer"]:{top:ie.miniOptionsSizeChangerTop},["&-quick-jumper"]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Je.x0)(ie)),{width:ie.paginationMiniQuickJumperInputWidth,height:ie.controlHeightSM})}}}},$e=ie=>{const{componentCls:me}=ie;return{[` &${me}-simple ${me}-prev, &${me}-simple ${me}-next `]:{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`,verticalAlign:"top",[`${me}-item-link`]:{height:ie.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive},"&::after":{height:ie.itemSizeSM,lineHeight:`${ie.itemSizeSM}px`}}},[`&${me}-simple ${me}-simple-pager`]:{display:"inline-block",height:ie.itemSizeSM,marginInlineEnd:ie.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:ie.marginXS,padding:`0 ${ie.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:ie.itemInputBg,border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorBorder}`,borderRadius:ie.borderRadius,outline:"none",transition:`border-color ${ie.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ie.colorPrimary},"&:focus":{borderColor:ie.colorPrimaryHover,boxShadow:`${ie.inputOutlineOffset}px 0 ${ie.controlOutlineWidth}px ${ie.controlOutline}`},"&[disabled]":{color:ie.colorTextDisabled,backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,cursor:"not-allowed"}}}}},Xe=ie=>{const{componentCls:me}=ie;return{[`${me}-jump-prev, ${me}-jump-next`]:{outline:0,[`${me}-item-container`]:{position:"relative",[`${me}-item-link-icon`]:{color:ie.colorPrimary,fontSize:ie.fontSizeSM,opacity:0,transition:`all ${ie.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${me}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ie.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:ie.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ie.paginationEllipsisTextIndent,opacity:1,transition:`all ${ie.motionDurationMid}`}},"&:hover":{[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}}},[` @@ -311,42 +311,42 @@ http://j.mp/37Fkd5Q ${me}-next, ${me}-jump-prev, ${me}-jump-next - `]:{display:"inline-block",minWidth:ie.itemSize,height:ie.itemSize,color:ie.colorText,fontFamily:ie.fontFamily,lineHeight:`${ie.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ie.borderRadius,cursor:"pointer",transition:`all ${ie.motionDurationMid}`},[`${me}-prev, ${me}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ie.colorText,cursor:"pointer",userSelect:"none"},[`${me}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ie.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ie.lineWidth}px ${ie.lineType} transparent`,borderRadius:ie.borderRadius,outline:"none",transition:`all ${ie.motionDurationMid}`},[`&:hover ${me}-item-link`]:{backgroundColor:ie.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:ie.colorBgTextActive},[`&${me}-disabled:hover`]:{[`${me}-item-link`]:{backgroundColor:"transparent"}}},[`${me}-slash`]:{marginInlineEnd:ie.paginationSlashMarginInlineEnd,marginInlineStart:ie.paginationSlashMarginInlineStart},[`${me}-options`]:{display:"inline-block",marginInlineStart:ie.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ie.controlHeight,marginInlineStart:ie.marginXS,lineHeight:`${ie.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Je.ik)(ie)),{width:ie.controlHeightLG*1.25,height:ie.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ie.marginXS,marginInlineEnd:ie.marginXS})}}}},rt=ie=>{const{componentCls:me}=ie;return{[`${me}-item`]:{display:"inline-block",minWidth:ie.itemSize,height:ie.itemSize,marginInlineEnd:ie.marginXS,fontFamily:ie.fontFamily,lineHeight:`${ie.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ie.lineWidth}px ${ie.lineType} transparent`,borderRadius:ie.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ie.paginationItemPaddingInline}px`,color:ie.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${me}-item-active)`]:{"&:hover":{transition:`all ${ie.motionDurationMid}`,backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},"&-active":{fontWeight:ie.fontWeightStrong,backgroundColor:ie.itemActiveBg,borderColor:ie.colorPrimary,a:{color:ie.colorPrimary},"&:hover":{borderColor:ie.colorPrimaryHover},"&:hover a":{color:ie.colorPrimaryHover}}}}},Ke=ie=>{const{componentCls:me}=ie;return{[me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(ie)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${me}-total-text`]:{display:"inline-block",height:ie.itemSize,marginInlineEnd:ie.marginXS,lineHeight:`${ie.itemSize-2}px`,verticalAlign:"middle"}}),rt(ie)),Xe(ie)),Ze(ie)),Ht(ie)),ft(ie)),{[`@media only screen and (max-width: ${ie.screenLG}px)`]:{[`${me}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ie.screenSM}px)`]:{[`${me}-options`]:{display:"none"}}}),[`&${ie.componentCls}-rtl`]:{direction:"rtl"}}},ye=ie=>{const{componentCls:me}=ie;return{[`${me}${me}-disabled:not(${me}-mini)`]:{"&, &:hover":{[`${me}-item-link`]:{borderColor:ie.colorBorder}},"&:focus-visible":{[`${me}-item-link`]:{borderColor:ie.colorBorder}},[`${me}-item, ${me}-item-link`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,[`&:hover:not(${me}-item-active)`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,a:{color:ie.colorTextDisabled}},[`&${me}-item-active`]:{backgroundColor:ie.itemActiveBgDisabled}},[`${me}-prev, ${me}-next`]:{"&:hover button":{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,color:ie.colorTextDisabled},[`${me}-item-link`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder}}},[`${me}:not(${me}-mini)`]:{[`${me}-prev, ${me}-next`]:{"&:hover button":{borderColor:ie.colorPrimaryHover,backgroundColor:ie.itemBg},[`${me}-item-link`]:{backgroundColor:ie.itemLinkBg,borderColor:ie.colorBorder},[`&:hover ${me}-item-link`]:{borderColor:ie.colorPrimary,backgroundColor:ie.itemBg,color:ie.colorPrimary},[`&${me}-disabled`]:{[`${me}-item-link`]:{borderColor:ie.colorBorder,color:ie.colorTextDisabled}}},[`${me}-item`]:{backgroundColor:ie.itemBg,border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorBorder}`,[`&:hover:not(${me}-item-active)`]:{borderColor:ie.colorPrimary,backgroundColor:ie.itemBg,a:{color:ie.colorPrimary}},"&-active":{borderColor:ie.colorPrimary}}}}},ne=ie=>{const{componentCls:me}=ie;return{[`${me}:not(${me}-disabled)`]:{[`${me}-item`]:Object.assign({},(0,Qe.Qy)(ie)),[`${me}-jump-prev, ${me}-jump-next`]:{"&:focus-visible":Object.assign({[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(ie))},[`${me}-prev, ${me}-next`]:{[`&:focus-visible ${me}-item-link`]:Object.assign({},(0,Qe.oN)(ie))}}}};var H=(0,pt.Z)("Pagination",ie=>{const me=(0,Ct.TS)(ie,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ie.marginXXS/2,paginationMiniQuickJumperInputWidth:ie.controlHeightLG*1.1,paginationItemPaddingInline:ie.marginXXS*1.5,paginationEllipsisLetterSpacing:ie.marginXXS/2,paginationSlashMarginInlineStart:ie.marginXXS,paginationSlashMarginInlineEnd:ie.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e5)(ie));return[Ke(me),ne(me),ie.wireframe&&ye(me)]},ie=>({itemBg:ie.colorBgContainer,itemSize:ie.controlHeight,itemSizeSM:ie.controlHeightSM,itemActiveBg:ie.colorBgContainer,itemLinkBg:ie.colorBgContainer,itemActiveColorDisabled:ie.colorTextDisabled,itemActiveBgDisabled:ie.controlItemBgActiveDisabled,itemInputBg:ie.colorBgContainer,miniOptionsSizeChangerTop:0})),R=function(ie,me){var je={};for(var Ee in ie)Object.prototype.hasOwnProperty.call(ie,Ee)&&me.indexOf(Ee)<0&&(je[Ee]=ie[Ee]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(ie);Me{const{prefixCls:me,selectPrefixCls:je,className:Ee,rootClassName:Me,style:We,size:re,locale:se,selectComponentClass:J,responsive:ce,showSizeChanger:xe}=ie,ue=R(ie,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ne}=(0,he.Z)(ce),{getPrefixCls:Oe,direction:we,pagination:Re={}}=t.useContext(G.E_),st=Oe("pagination",me),[tt,Ye]=H(st),ke=xe!=null?xe:Re.showSizeChanger,Be=t.useMemo(()=>{const yt=t.createElement("span",{className:`${st}-item-ellipsis`},"\u2022\u2022\u2022"),ze=t.createElement("button",{className:`${st}-item-link`,type:"button",tabIndex:-1},we==="rtl"?t.createElement(S.Z,null):t.createElement(h.Z,null)),nt=t.createElement("button",{className:`${st}-item-link`,type:"button",tabIndex:-1},we==="rtl"?t.createElement(h.Z,null):t.createElement(S.Z,null)),Et=t.createElement("a",{className:`${st}-item-link`},t.createElement("div",{className:`${st}-item-container`},we==="rtl"?t.createElement(M,{className:`${st}-item-link-icon`}):t.createElement(l,{className:`${st}-item-link-icon`}),yt)),lt=t.createElement("a",{className:`${st}-item-link`},t.createElement("div",{className:`${st}-item-container`},we==="rtl"?t.createElement(l,{className:`${st}-item-link-icon`}):t.createElement(M,{className:`${st}-item-link-icon`}),yt));return{prevIcon:ze,nextIcon:nt,jumpPrevIcon:Et,jumpNextIcon:lt}},[we,st]),[it]=(0,ge.Z)("Pagination",A.Z),Ve=Object.assign(Object.assign({},it),se),It=(0,de.Z)(re),_t=It==="small"||!!(Ne&&!It&&ce),wt=Oe("select",je),jt=C()({[`${st}-mini`]:_t,[`${st}-rtl`]:we==="rtl"},Re==null?void 0:Re.className,Ee,Me,Ye),Yt=Object.assign(Object.assign({},Re==null?void 0:Re.style),We);return tt(t.createElement(U,Object.assign({},Be,ue,{style:Yt,prefixCls:st,selectPrefixCls:wt,className:jt,selectComponentClass:J||(_t?Te:Ge),locale:Ve,showSizeChanger:ke})))},Q=ae},21465:function(b,y,e){"use strict";e.d(y,{t5:function(){return g}});var a=e(87608),t=e.n(a),o=e(33664),s=e(58757),n=e(61836),d=e(99836),l=e(86194),c=function(h,S){var w={};for(var C in h)Object.prototype.hasOwnProperty.call(h,C)&&S.indexOf(C)<0&&(w[C]=h[C]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,C=Object.getOwnPropertySymbols(h);z{if(!(!S&&!w))return s.createElement(s.Fragment,null,S&&s.createElement("div",{className:`${h}-title`},(0,d.Z)(S)),s.createElement("div",{className:`${h}-inner-content`},(0,d.Z)(w)))},g=h=>{const{hashId:S,prefixCls:w,className:C,style:z,placement:$="top",title:N,content:L,children:B}=h;return s.createElement("div",{className:t()(S,w,`${w}-pure`,`${w}-placement-${$}`,C),style:z},s.createElement("div",{className:`${w}-arrow`}),s.createElement(o.G,Object.assign({},h,{className:S,prefixCls:w}),B||m(w,N,L)))},M=h=>{const{prefixCls:S}=h,w=c(h,["prefixCls"]),{getPrefixCls:C}=s.useContext(n.E_),z=C("popover",S),[$,N]=(0,l.Z)(z);return $(s.createElement(g,Object.assign({},w,{prefixCls:z,hashId:N})))};y.ZP=M},33181:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(99836),n=e(90881),d=e(61836),l=e(74820),c=e(21465),m=e(86194),g=function(S,w){var C={};for(var z in S)Object.prototype.hasOwnProperty.call(S,z)&&w.indexOf(z)<0&&(C[z]=S[z]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,z=Object.getOwnPropertySymbols(S);${let{title:w,content:C,prefixCls:z}=S;return o.createElement(o.Fragment,null,w&&o.createElement("div",{className:`${z}-title`},(0,s.Z)(w)),o.createElement("div",{className:`${z}-inner-content`},(0,s.Z)(C)))},h=o.forwardRef((S,w)=>{const{prefixCls:C,title:z,content:$,overlayClassName:N,placement:L="top",trigger:B="hover",mouseEnterDelay:D=.1,mouseLeaveDelay:T=.1,overlayStyle:j={}}=S,K=g(S,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:k}=o.useContext(d.E_),te=k("popover",C),[Y,q]=(0,m.Z)(te),le=k(),X=t()(N,q);return Y(o.createElement(l.Z,Object.assign({placement:L,trigger:B,mouseEnterDelay:D,mouseLeaveDelay:T,overlayStyle:j},K,{prefixCls:te,overlayClassName:X,ref:w,overlay:z||$?o.createElement(M,{prefixCls:te,title:z,content:$}):null,transitionName:(0,n.m)(le,"zoom-big",K.transitionName),"data-popover-inject":!0})))});h._InternalPanelDoNotUseOrYouWillBeFired=c.ZP,y.Z=h},86194:function(b,y,e){"use strict";var a=e(78330),t=e(28107),o=e(24542),s=e(34966),n=e(52628),d=e(22151);const l=g=>{const{componentCls:M,popoverColor:h,minWidth:S,fontWeightStrong:w,popoverPadding:C,boxShadowSecondary:z,colorTextHeading:$,borderRadiusLG:N,zIndexPopup:L,marginXS:B,colorBgElevated:D,popoverBg:T}=g;return[{[M]:Object.assign(Object.assign({},(0,a.Wf)(g)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:L,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":D,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${M}-content`]:{position:"relative"},[`${M}-inner`]:{backgroundColor:T,backgroundClip:"padding-box",borderRadius:N,boxShadow:z,padding:C},[`${M}-title`]:{minWidth:S,marginBottom:B,color:$,fontWeight:w},[`${M}-inner-content`]:{color:h}})},(0,o.ZP)(g,{colorBg:"var(--antd-arrow-background-color)"}),{[`${M}-pure`]:{position:"relative",maxWidth:"none",margin:g.sizePopupArrow,display:"inline-block",[`${M}-content`]:{display:"inline-block"}}}]},c=g=>{const{componentCls:M}=g;return{[M]:s.i.map(h=>{const S=g[`${h}6`];return{[`&${M}-${h}`]:{"--antd-arrow-background-color":S,[`${M}-inner`]:{backgroundColor:S},[`${M}-arrow`]:{background:"transparent"}}}})}},m=g=>{const{componentCls:M,lineWidth:h,lineType:S,colorSplit:w,paddingSM:C,controlHeight:z,fontSize:$,lineHeight:N,padding:L}=g,B=z-Math.round($*N),D=B/2,T=B/2-h,j=L;return{[M]:{[`${M}-inner`]:{padding:0},[`${M}-title`]:{margin:0,padding:`${D}px ${j}px ${T}px`,borderBottom:`${h}px ${S} ${w}`},[`${M}-inner-content`]:{padding:`${C}px ${j}px`}}}};y.Z=(0,n.Z)("Popover",g=>{const{colorBgElevated:M,colorText:h,wireframe:S}=g,w=(0,d.TS)(g,{popoverPadding:12,popoverBg:M,popoverColor:h});return[l(w),c(w),S&&m(w),(0,t._y)(w,"zoom-big")]},g=>({width:177,minWidth:177,zIndexPopup:g.zIndexPopupBase+30}),{deprecatedTokens:[["width","minWidth"]]})},95664:function(b,y,e){"use strict";e.d(y,{Z:function(){return We}});var a=e(85678),t=e(35725),o=e(79999),s=e(52495),n=e(87608),d=e.n(n),l=e(98186),c=e(58757),m=e(61836),g=e(60698),M=e(57370),h=e(47075),S={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},w=function(){var se=(0,c.useRef)([]),J=(0,c.useRef)(null);return(0,c.useEffect)(function(){var ce=Date.now(),xe=!1;se.current.forEach(function(ue){if(ue){xe=!0;var Ne=ue.style;Ne.transitionDuration=".3s, .3s, .3s, .06s",J.current&&ce-J.current<100&&(Ne.transitionDuration="0s, 0s")}}),xe&&(J.current=Date.now())}),se.current},C=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],z=function(se){var J=(0,M.Z)((0,M.Z)({},S),se),ce=J.className,xe=J.percent,ue=J.prefixCls,Ne=J.strokeColor,Oe=J.strokeLinecap,we=J.strokeWidth,Re=J.style,st=J.trailColor,tt=J.trailWidth,Ye=J.transition,ke=(0,h.Z)(J,C);delete ke.gapPosition;var Be=Array.isArray(xe)?xe:[xe],it=Array.isArray(Ne)?Ne:[Ne],Ve=w(),It=we/2,_t=100-we/2,wt="M ".concat(Oe==="round"?It:0,",").concat(It,` - L `).concat(Oe==="round"?_t:100,",").concat(It),jt="0 0 100 ".concat(we),Yt=0;return c.createElement("svg",(0,g.Z)({className:d()("".concat(ue,"-line"),ce),viewBox:jt,preserveAspectRatio:"none",style:Re},ke),c.createElement("path",{className:"".concat(ue,"-line-trail"),d:wt,strokeLinecap:Oe,stroke:st,strokeWidth:tt||we,fillOpacity:"0"}),Be.map(function(yt,ze){var nt=1;switch(Oe){case"round":nt=1-we/100;break;case"square":nt=1-we/2/100;break;default:nt=1;break}var Et={strokeDasharray:"".concat(yt*nt,"px, 100px"),strokeDashoffset:"-".concat(Yt,"px"),transition:Ye||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},lt=it[ze]||it[it.length-1];return Yt+=yt,c.createElement("path",{key:ze,className:"".concat(ue,"-line-path"),d:wt,strokeLinecap:Oe,stroke:lt,strokeWidth:we,fillOpacity:"0",ref:function(Rt){Ve[ze]=Rt},style:Et})}))},$=z,N=e(38790),L=e(28314),B=e(19075),D=0,T=(0,B.Z)();function j(){var re;return T?(re=D,D+=1):re="TEST_OR_SSR",re}var K=function(re){var se=c.useState(),J=(0,L.Z)(se,2),ce=J[0],xe=J[1];return c.useEffect(function(){xe("rc_progress_".concat(j()))},[]),re||ce},k=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function te(re){return+re.replace("%","")}function Y(re){var se=re!=null?re:[];return Array.isArray(se)?se:[se]}var q=100,le=function(se,J,ce,xe,ue,Ne,Oe,we,Re,st){var tt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ye=ce/100*360*((360-Ne)/360),ke=Ne===0?0:{bottom:0,top:180,left:90,right:-90}[Oe],Be=(100-xe)/100*J;return Re==="round"&&xe!==100&&(Be+=st/2,Be>=J&&(Be=J-.01)),{stroke:typeof we=="string"?we:void 0,strokeDasharray:"".concat(J,"px ").concat(se),strokeDashoffset:Be+tt,transform:"rotate(".concat(ue+Ye+ke,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},X=function(se){var J=(0,M.Z)((0,M.Z)({},S),se),ce=J.id,xe=J.prefixCls,ue=J.steps,Ne=J.strokeWidth,Oe=J.trailWidth,we=J.gapDegree,Re=we===void 0?0:we,st=J.gapPosition,tt=J.trailColor,Ye=J.strokeLinecap,ke=J.style,Be=J.className,it=J.strokeColor,Ve=J.percent,It=(0,h.Z)(J,k),_t=K(ce),wt="".concat(_t,"-gradient"),jt=q/2-Ne/2,Yt=Math.PI*2*jt,yt=Re>0?90+Re/2:-90,ze=Yt*((360-Re)/360),nt=(0,N.Z)(ue)==="object"?ue:{count:ue,space:2},Et=nt.count,lt=nt.space,Gt=le(Yt,ze,0,100,yt,Re,st,tt,Ye,Ne),Rt=Y(Ve),Ot=Y(it),Ie=Ot.find(function(He){return He&&(0,N.Z)(He)==="object"}),Se=w(),bt=function(){var qe=0;return Rt.map(function(Zt,Ut){var qt=Ot[Ut]||Ot[Ot.length-1],ln=qt&&(0,N.Z)(qt)==="object"?"url(#".concat(wt,")"):void 0,En=le(Yt,ze,qe,Zt,yt,Re,st,qt,Ye,Ne);return qe+=Zt,c.createElement("circle",{key:Ut,className:"".concat(xe,"-circle-path"),r:jt,cx:0,cy:0,stroke:ln,strokeLinecap:Ye,strokeWidth:Ne,opacity:Zt===0?0:1,style:En,ref:function(Yn){Se[Ut]=Yn}})}).reverse()},Pt=function(){var qe=Math.round(Et*(Rt[0]/100)),Zt=100/Et,Ut=0;return new Array(Et).fill(null).map(function(qt,ln){var En=ln<=qe-1?Ot[0]:tt,mn=En&&(0,N.Z)(En)==="object"?"url(#".concat(wt,")"):void 0,Yn=le(Yt,ze,Ut,Zt,yt,Re,st,En,"butt",Ne,lt);return Ut+=(ze-Yn.strokeDashoffset+lt)*100/ze,c.createElement("circle",{key:ln,className:"".concat(xe,"-circle-path"),r:jt,cx:0,cy:0,stroke:mn,strokeWidth:Ne,opacity:1,style:Yn,ref:function(ir){Se[ln]=ir}})})};return c.createElement("svg",(0,g.Z)({className:d()("".concat(xe,"-circle"),Be),viewBox:"".concat(-q/2," ").concat(-q/2," ").concat(q," ").concat(q),style:ke,id:ce,role:"presentation"},It),Ie&&c.createElement("defs",null,c.createElement("linearGradient",{id:wt,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ie).sort(function(He,qe){return te(He)-te(qe)}).map(function(He,qe){return c.createElement("stop",{key:qe,offset:He,stopColor:Ie[He]})}))),!Et&&c.createElement("circle",{className:"".concat(xe,"-circle-trail"),r:jt,cx:0,cy:0,stroke:tt,strokeLinecap:Ye,strokeWidth:Oe||Ne,style:Gt}),Et?Pt():bt())},W=X,x={Line:$,Circle:W},O=e(74820),_=e(26134);function U(re){return!re||re<0?0:re>100?100:re}function A(re){let{success:se,successPercent:J}=re,ce=J;return se&&"progress"in se&&(ce=se.progress),se&&"percent"in se&&(ce=se.percent),ce}const G=re=>{let{percent:se,success:J,successPercent:ce}=re;const xe=U(A({success:J,successPercent:ce}));return[xe,U(U(se)-xe)]},de=re=>{let{success:se={},strokeColor:J}=re;const{strokeColor:ce}=se;return[ce||_.presetPrimaryColors.green,J||null]},he=(re,se,J)=>{var ce,xe,ue,Ne;let Oe=-1,we=-1;if(se==="step"){const Re=J.steps,st=J.strokeWidth;typeof re=="string"||typeof re=="undefined"?(Oe=re==="small"?2:14,we=st!=null?st:8):typeof re=="number"?[Oe,we]=[re,re]:[Oe=14,we=8]=re,Oe*=Re}else if(se==="line"){const Re=J==null?void 0:J.strokeWidth;typeof re=="string"||typeof re=="undefined"?we=Re||(re==="small"?6:8):typeof re=="number"?[Oe,we]=[re,re]:[Oe=-1,we=8]=re}else(se==="circle"||se==="dashboard")&&(typeof re=="string"||typeof re=="undefined"?[Oe,we]=re==="small"?[60,60]:[120,120]:typeof re=="number"?[Oe,we]=[re,re]:(Oe=(xe=(ce=re[0])!==null&&ce!==void 0?ce:re[1])!==null&&xe!==void 0?xe:120,we=(Ne=(ue=re[0])!==null&&ue!==void 0?ue:re[1])!==null&&Ne!==void 0?Ne:120));return[Oe,we]},ge=3,be=re=>ge/re*100;var Ge=re=>{const{prefixCls:se,trailColor:J=null,strokeLinecap:ce="round",gapPosition:xe,gapDegree:ue,width:Ne=120,type:Oe,children:we,success:Re,size:st=Ne}=re,[tt,Ye]=he(st,"circle");let{strokeWidth:ke}=re;ke===void 0&&(ke=Math.max(be(tt),6));const Be={width:tt,height:Ye,fontSize:tt*.15+6},it=c.useMemo(()=>{if(ue||ue===0)return ue;if(Oe==="dashboard")return 75},[ue,Oe]),Ve=xe||Oe==="dashboard"&&"bottom"||void 0,It=Object.prototype.toString.call(re.strokeColor)==="[object Object]",_t=de({success:Re,strokeColor:re.strokeColor}),wt=d()(`${se}-inner`,{[`${se}-circle-gradient`]:It}),jt=c.createElement(W,{percent:G(re),strokeWidth:ke,trailWidth:ke,strokeColor:_t,strokeLinecap:ce,trailColor:J,prefixCls:se,gapDegree:it,gapPosition:Ve});return c.createElement("div",{className:wt,style:Be},tt<=20?c.createElement(O.Z,{title:we},c.createElement("span",null,jt)):c.createElement(c.Fragment,null,jt,we))},Je=function(re,se){var J={};for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&se.indexOf(ce)<0&&(J[ce]=re[ce]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ce=Object.getOwnPropertySymbols(re);xe{let se=[];return Object.keys(re).forEach(J=>{const ce=parseFloat(J.replace(/%/g,""));isNaN(ce)||se.push({key:ce,value:re[J]})}),se=se.sort((J,ce)=>J.key-ce.key),se.map(J=>{let{key:ce,value:xe}=J;return`${xe} ${ce}%`}).join(", ")},pt=(re,se)=>{const{from:J=_.presetPrimaryColors.blue,to:ce=_.presetPrimaryColors.blue,direction:xe=se==="rtl"?"to left":"to right"}=re,ue=Je(re,["from","to","direction"]);if(Object.keys(ue).length!==0){const Ne=Qe(ue);return{backgroundImage:`linear-gradient(${xe}, ${Ne})`}}return{backgroundImage:`linear-gradient(${xe}, ${J}, ${ce})`}};var ft=re=>{const{prefixCls:se,direction:J,percent:ce,size:xe,strokeWidth:ue,strokeColor:Ne,strokeLinecap:Oe="round",children:we,trailColor:Re=null,success:st}=re,tt=Ne&&typeof Ne!="string"?pt(Ne,J):{backgroundColor:Ne},Ye=Oe==="square"||Oe==="butt"?0:void 0,ke={backgroundColor:Re||void 0,borderRadius:Ye},Be=xe!=null?xe:[-1,ue||(xe==="small"?6:8)],[it,Ve]=he(Be,"line",{strokeWidth:ue}),It=Object.assign({width:`${U(ce)}%`,height:Ve,borderRadius:Ye},tt),_t=A(re),wt={width:`${U(_t)}%`,height:Ve,borderRadius:Ye,backgroundColor:st==null?void 0:st.strokeColor},jt={width:it<0?"100%":it,height:Ve};return c.createElement(c.Fragment,null,c.createElement("div",{className:`${se}-outer`,style:jt},c.createElement("div",{className:`${se}-inner`,style:ke},c.createElement("div",{className:`${se}-bg`,style:It}),_t!==void 0?c.createElement("div",{className:`${se}-success-bg`,style:wt}):null)),we)},Ze=re=>{const{size:se,steps:J,percent:ce=0,strokeWidth:xe=8,strokeColor:ue,trailColor:Ne=null,prefixCls:Oe,children:we}=re,Re=Math.round(J*(ce/100)),st=se==="small"?2:14,tt=se!=null?se:[st,xe],[Ye,ke]=he(tt,"step",{steps:J,strokeWidth:xe}),Be=Ye/J,it=new Array(J);for(let Ve=0;Ve{const se=re?"100%":"-100%";return new Xe.E4(`antProgress${re?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${se}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${se}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},H=re=>{const{componentCls:se,iconCls:J}=re;return{[se]:Object.assign(Object.assign({},(0,rt.Wf)(re)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:re.fontSize,marginInlineEnd:re.marginXS,marginBottom:re.marginXS},[`${se}-outer`]:{display:"inline-block",width:"100%"},[`&${se}-show-info`]:{[`${se}-outer`]:{marginInlineEnd:`calc(-2em - ${re.marginXS}px)`,paddingInlineEnd:`calc(2em + ${re.paddingXS}px)`}},[`${se}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:re.progressRemainingColor,borderRadius:re.progressLineRadius},[`${se}-inner:not(${se}-circle-gradient)`]:{[`${se}-circle-path`]:{stroke:re.colorInfo}},[`${se}-success-bg, ${se}-bg`]:{position:"relative",backgroundColor:re.colorInfo,borderRadius:re.progressLineRadius,transition:`all ${re.motionDurationSlow} ${re.motionEaseInOutCirc}`},[`${se}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:re.colorSuccess},[`${se}-text`]:{display:"inline-block",width:"2em",marginInlineStart:re.marginXS,color:re.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[J]:{fontSize:re.fontSize}},[`&${se}-status-active`]:{[`${se}-bg::before`]:{position:"absolute",inset:0,backgroundColor:re.colorBgContainer,borderRadius:re.progressLineRadius,opacity:0,animationName:ne(),animationDuration:re.progressActiveMotionDuration,animationTimingFunction:re.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${se}-rtl${se}-status-active`]:{[`${se}-bg::before`]:{animationName:ne(!0)}},[`&${se}-status-exception`]:{[`${se}-bg`]:{backgroundColor:re.colorError},[`${se}-text`]:{color:re.colorError}},[`&${se}-status-exception ${se}-inner:not(${se}-circle-gradient)`]:{[`${se}-circle-path`]:{stroke:re.colorError}},[`&${se}-status-success`]:{[`${se}-bg`]:{backgroundColor:re.colorSuccess},[`${se}-text`]:{color:re.colorSuccess}},[`&${se}-status-success ${se}-inner:not(${se}-circle-gradient)`]:{[`${se}-circle-path`]:{stroke:re.colorSuccess}}})}},R=re=>{const{componentCls:se,iconCls:J}=re;return{[se]:{[`${se}-circle-trail`]:{stroke:re.progressRemainingColor},[`&${se}-circle ${se}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${se}-circle ${se}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:re.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[J]:{fontSize:`${re.fontSize/re.fontSizeSM}em`}},[`${se}-circle&-status-exception`]:{[`${se}-text`]:{color:re.colorError}},[`${se}-circle&-status-success`]:{[`${se}-text`]:{color:re.colorSuccess}}},[`${se}-inline-circle`]:{lineHeight:1,[`${se}-inner`]:{verticalAlign:"bottom"}}}},P=re=>{const{componentCls:se}=re;return{[se]:{[`${se}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:re.progressStepMinWidth,marginInlineEnd:re.progressStepMarginInlineEnd,backgroundColor:re.progressRemainingColor,transition:`all ${re.motionDurationSlow}`,"&-active":{backgroundColor:re.colorInfo}}}}}},ae=re=>{const{componentCls:se,iconCls:J}=re;return{[se]:{[`${se}-small&-line, ${se}-small&-line ${se}-text ${J}`]:{fontSize:re.fontSizeSM}}}};var Q=(0,Ke.Z)("Progress",re=>{const se=re.marginXXS/2,J=(0,ye.TS)(re,{progressLineRadius:100,progressInfoTextColor:re.colorText,progressDefaultColor:re.colorInfo,progressRemainingColor:re.colorFillSecondary,progressStepMarginInlineEnd:se,progressStepMinWidth:se,progressActiveMotionDuration:"2.4s"});return[H(J),R(J),P(J),ae(J)]}),ie=function(re,se){var J={};for(var ce in re)Object.prototype.hasOwnProperty.call(re,ce)&&se.indexOf(ce)<0&&(J[ce]=re[ce]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ce=Object.getOwnPropertySymbols(re);xe{const{prefixCls:J,className:ce,rootClassName:xe,steps:ue,strokeColor:Ne,percent:Oe=0,size:we="default",showInfo:Re=!0,type:st="line",status:tt,format:Ye,style:ke}=re,Be=ie(re,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),it=c.useMemo(()=>{var Rt,Ot;const Ie=A(re);return parseInt(Ie!==void 0?(Rt=Ie!=null?Ie:0)===null||Rt===void 0?void 0:Rt.toString():(Ot=Oe!=null?Oe:0)===null||Ot===void 0?void 0:Ot.toString(),10)},[Oe,re.success,re.successPercent]),Ve=c.useMemo(()=>!je.includes(tt)&&it>=100?"success":tt||"normal",[tt,it]),{getPrefixCls:It,direction:_t,progress:wt}=c.useContext(m.E_),jt=It("progress",J),[Yt,yt]=Q(jt),ze=c.useMemo(()=>{if(!Re)return null;const Rt=A(re);let Ot;const Ie=Ye||(bt=>`${bt}%`),Se=st==="line";return Ye||Ve!=="exception"&&Ve!=="success"?Ot=Ie(U(Oe),U(Rt)):Ve==="exception"?Ot=Se?c.createElement(o.Z,null):c.createElement(s.Z,null):Ve==="success"&&(Ot=Se?c.createElement(a.Z,null):c.createElement(t.Z,null)),c.createElement("span",{className:`${jt}-text`,title:typeof Ot=="string"?Ot:void 0},Ot)},[Re,Oe,it,Ve,st,jt,Ye]),nt=Array.isArray(Ne)?Ne[0]:Ne,Et=typeof Ne=="string"||Array.isArray(Ne)?Ne:void 0;let lt;st==="line"?lt=ue?c.createElement(Ze,Object.assign({},re,{strokeColor:Et,prefixCls:jt,steps:ue}),ze):c.createElement(ft,Object.assign({},re,{strokeColor:nt,prefixCls:jt,direction:_t}),ze):(st==="circle"||st==="dashboard")&&(lt=c.createElement(Ge,Object.assign({},re,{strokeColor:nt,prefixCls:jt,progressStatus:Ve}),ze));const Gt=d()(jt,`${jt}-status-${Ve}`,`${jt}-${st==="dashboard"&&"circle"||ue&&"steps"||st}`,{[`${jt}-inline-circle`]:st==="circle"&&he(we,"circle")[0]<=20,[`${jt}-show-info`]:Re,[`${jt}-${we}`]:typeof we=="string",[`${jt}-rtl`]:_t==="rtl"},wt==null?void 0:wt.className,ce,xe,yt);return Yt(c.createElement("div",Object.assign({ref:se,style:Object.assign(Object.assign({},wt==null?void 0:wt.style),ke),className:Gt,role:"progressbar","aria-valuenow":it},(0,l.Z)(Be,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),lt))}),We=Me},86035:function(b,y,e){"use strict";e.d(y,{Ag:function(){return s},IH:function(){return n},w:function(){return o}});var a=e(58757);const t=a.createContext(null),o=t.Provider;y.ZP=t;const s=a.createContext(null),n=s.Provider},40256:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(60409),s=e(33926),n=e(58757),d=e(61836),l=e(58785),c=e(86035),m=e(27538),g=e(44397);const M=n.forwardRef((h,S)=>{const{getPrefixCls:w,direction:C}=n.useContext(d.E_),[z,$]=(0,o.Z)(h.defaultValue,{value:h.value}),N=ge=>{const be=z,Te=ge.target.value;"value"in h||$(Te);const{onChange:Ge}=h;Ge&&Te!==be&&Ge(ge)},{prefixCls:L,className:B,rootClassName:D,options:T,buttonStyle:j="outline",disabled:K,children:k,size:te,style:Y,id:q,onMouseEnter:le,onMouseLeave:X,onFocus:W,onBlur:x}=h,O=w("radio",L),_=`${O}-group`,[U,A]=(0,g.Z)(O);let G=k;T&&T.length>0&&(G=T.map(ge=>typeof ge=="string"||typeof ge=="number"?n.createElement(m.Z,{key:ge.toString(),prefixCls:O,disabled:K,value:ge,checked:z===ge},ge):n.createElement(m.Z,{key:`radio-group-value-options-${ge.value}`,prefixCls:O,disabled:ge.disabled||K,value:ge.value,checked:z===ge.value,title:ge.title,style:ge.style},ge.label)));const de=(0,l.Z)(te),he=t()(_,`${_}-${j}`,{[`${_}-${de}`]:de,[`${_}-rtl`]:C==="rtl"},B,D,A);return U(n.createElement("div",Object.assign({},(0,s.Z)(h,{aria:!0,data:!0}),{className:he,style:Y,onMouseEnter:le,onMouseLeave:X,onFocus:W,onBlur:x,id:q,ref:S}),n.createElement(c.w,{value:{onChange:N,value:z,disabled:h.disabled,name:h.name,optionType:h.optionType}},G)))});y.Z=n.memo(M)},10852:function(b,y,e){"use strict";var a=e(40256),t=e(27538),o=e(42253);const s=t.Z;s.Button=o.Z,s.Group=a.Z,s.__ANT_RADIO=!0,y.ZP=s},27538:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(60357),s=e(21319),n=e(58757),d=e(61836),l=e(92428),c=e(81496),m=e(86035),g=e(44397),M=e(37486),h=e(78856),S=function(z,$){var N={};for(var L in z)Object.prototype.hasOwnProperty.call(z,L)&&$.indexOf(L)<0&&(N[L]=z[L]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,L=Object.getOwnPropertySymbols(z);B{var N,L;const B=n.useContext(m.ZP),D=n.useContext(m.Ag),{getPrefixCls:T,direction:j,radio:K}=n.useContext(d.E_),k=n.useRef(null),te=(0,s.sQ)($,k),{isFormItemInput:Y}=n.useContext(c.aM),q=Ge=>{var Je,Qe;(Je=z.onChange)===null||Je===void 0||Je.call(z,Ge),(Qe=B==null?void 0:B.onChange)===null||Qe===void 0||Qe.call(B,Ge)},{prefixCls:le,className:X,rootClassName:W,children:x,style:O}=z,_=S(z,["prefixCls","className","rootClassName","children","style"]),U=T("radio",le),A=((B==null?void 0:B.optionType)||D)==="button",G=A?`${U}-button`:U,[de,he]=(0,g.Z)(U),ge=Object.assign({},_),be=n.useContext(l.Z);B&&(ge.name=B.name,ge.onChange=q,ge.checked=z.value===B.value,ge.disabled=(N=ge.disabled)!==null&&N!==void 0?N:B.disabled),ge.disabled=(L=ge.disabled)!==null&&L!==void 0?L:be;const Te=t()(`${G}-wrapper`,{[`${G}-wrapper-checked`]:ge.checked,[`${G}-wrapper-disabled`]:ge.disabled,[`${G}-wrapper-rtl`]:j==="rtl",[`${G}-wrapper-in-form-item`]:Y},K==null?void 0:K.className,X,W,he);return de(n.createElement(M.Z,{component:"Radio",disabled:ge.disabled},n.createElement("label",{className:Te,style:Object.assign(Object.assign({},K==null?void 0:K.style),O),onMouseEnter:z.onMouseEnter,onMouseLeave:z.onMouseLeave},n.createElement(o.Z,Object.assign({},ge,{className:t()(ge.className,!A&&h.A),type:"radio",prefixCls:G,ref:te})),x!==void 0?n.createElement("span",null,x):null)))},C=n.forwardRef(w);y.Z=C},42253:function(b,y,e){"use strict";var a=e(58757),t=e(61836),o=e(86035),s=e(27538),n=function(l,c){var m={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&c.indexOf(g)<0&&(m[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,g=Object.getOwnPropertySymbols(l);M{const{getPrefixCls:m}=a.useContext(t.E_),{prefixCls:g}=l,M=n(l,["prefixCls"]),h=m("radio",g);return a.createElement(o.IH,{value:"button"},a.createElement(s.Z,Object.assign({prefixCls:h},M,{type:"radio",ref:c})))};y.Z=a.forwardRef(d)},44397:function(b,y,e){"use strict";var a=e(78330),t=e(52628),o=e(22151);const s=c=>{const{componentCls:m,antCls:g}=c,M=`${m}-group`;return{[M]:Object.assign(Object.assign({},(0,a.Wf)(c)),{display:"inline-block",fontSize:0,[`&${M}-rtl`]:{direction:"rtl"},[`${g}-badge ${g}-badge-count`]:{zIndex:1},[`> ${g}-badge:not(:first-child) > ${g}-button-wrapper`]:{borderInlineStart:"none"}})}},n=c=>{const{componentCls:m,wrapperMarginInlineEnd:g,colorPrimary:M,radioSize:h,motionDurationSlow:S,motionDurationMid:w,motionEaseInOutCirc:C,colorBgContainer:z,colorBorder:$,lineWidth:N,dotSize:L,colorBgContainerDisabled:B,colorTextDisabled:D,paddingXS:T,dotColorDisabled:j,lineType:K,radioDotDisabledSize:k,wireframe:te,colorWhite:Y}=c,q=`${m}-inner`;return{[`${m}-wrapper`]:Object.assign(Object.assign({},(0,a.Wf)(c)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:g,cursor:"pointer",[`&${m}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:c.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${m}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${N}px ${K} ${M}`,borderRadius:"50%",visibility:"hidden",content:'""'},[m]:Object.assign(Object.assign({},(0,a.Wf)(c)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${m}-wrapper:hover &, - &:hover ${q}`]:{borderColor:M},[`${m}-input:focus-visible + ${q}`]:Object.assign({},(0,a.oN)(c)),[`${m}:hover::after, ${m}-wrapper:hover &::after`]:{visibility:"visible"},[`${m}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:h,height:h,marginBlockStart:h/-2,marginInlineStart:h/-2,backgroundColor:te?M:Y,borderBlockStart:0,borderInlineStart:0,borderRadius:h,transform:"scale(0)",opacity:0,transition:`all ${S} ${C}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:h,height:h,backgroundColor:z,borderColor:$,borderStyle:"solid",borderWidth:N,borderRadius:"50%",transition:`all ${w}`},[`${m}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${m}-checked`]:{[q]:{borderColor:M,backgroundColor:te?z:M,"&::after":{transform:`scale(${L/h})`,opacity:1,transition:`all ${S} ${C}`}}},[`${m}-disabled`]:{cursor:"not-allowed",[q]:{backgroundColor:B,borderColor:$,cursor:"not-allowed","&::after":{backgroundColor:j}},[`${m}-input`]:{cursor:"not-allowed"},[`${m}-disabled + span`]:{color:D,cursor:"not-allowed"},[`&${m}-checked`]:{[q]:{"&::after":{transform:`scale(${k/h})`}}}},[`span${m} + *`]:{paddingInlineStart:T,paddingInlineEnd:T}})}},d=c=>{const{buttonColor:m,controlHeight:g,componentCls:M,lineWidth:h,lineType:S,colorBorder:w,motionDurationSlow:C,motionDurationMid:z,buttonPaddingInline:$,fontSize:N,buttonBg:L,fontSizeLG:B,controlHeightLG:D,controlHeightSM:T,paddingXS:j,borderRadius:K,borderRadiusSM:k,borderRadiusLG:te,buttonCheckedBg:Y,buttonSolidCheckedColor:q,colorTextDisabled:le,colorBgContainerDisabled:X,buttonCheckedBgDisabled:W,buttonCheckedColorDisabled:x,colorPrimary:O,colorPrimaryHover:_,colorPrimaryActive:U}=c;return{[`${M}-button-wrapper`]:{position:"relative",display:"inline-block",height:g,margin:0,paddingInline:$,paddingBlock:0,color:m,fontSize:N,lineHeight:`${g-h*2}px`,background:L,border:`${h}px ${S} ${w}`,borderBlockStartWidth:h+.02,borderInlineStartWidth:0,borderInlineEndWidth:h,cursor:"pointer",transition:[`color ${z}`,`background ${z}`,`box-shadow ${z}`].join(","),a:{color:m},[`> ${M}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-h,insetInlineStart:-h,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:h,paddingInline:0,backgroundColor:w,transition:`background-color ${C}`,content:'""'}},"&:first-child":{borderInlineStart:`${h}px ${S} ${w}`,borderStartStartRadius:K,borderEndStartRadius:K},"&:last-child":{borderStartEndRadius:K,borderEndEndRadius:K},"&:first-child:last-child":{borderRadius:K},[`${M}-group-large &`]:{height:D,fontSize:B,lineHeight:`${D-h*2}px`,"&:first-child":{borderStartStartRadius:te,borderEndStartRadius:te},"&:last-child":{borderStartEndRadius:te,borderEndEndRadius:te}},[`${M}-group-small &`]:{height:T,paddingInline:j-h,paddingBlock:0,lineHeight:`${T-h*2}px`,"&:first-child":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child":{borderStartEndRadius:k,borderEndEndRadius:k}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},(0,a.oN)(c)),[`${M}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${M}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:Y,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:_,borderColor:_,"&::before":{backgroundColor:_}},"&:active":{color:U,borderColor:U,"&::before":{backgroundColor:U}}},[`${M}-group-solid &-checked:not(${M}-button-wrapper-disabled)`]:{color:q,background:O,borderColor:O,"&:hover":{color:q,background:_,borderColor:_},"&:active":{color:q,background:U,borderColor:U}},"&-disabled":{color:le,backgroundColor:X,borderColor:w,cursor:"not-allowed","&:first-child, &:hover":{color:le,backgroundColor:X,borderColor:w}},[`&-disabled${M}-button-wrapper-checked`]:{color:x,backgroundColor:W,borderColor:w,boxShadow:"none"}}}},l=c=>c-4*2;y.Z=(0,t.Z)("Radio",c=>{const{controlOutline:m,controlOutlineWidth:g,radioSize:M}=c,h=`0 0 0 ${g}px ${m}`,S=h,w=l(M),C=(0,o.TS)(c,{radioDotDisabledSize:w,radioFocusShadow:h,radioButtonFocusShadow:S});return[s(C),n(C),d(C)]},c=>{const{wireframe:m,padding:g,marginXS:M,lineWidth:h,fontSizeLG:S,colorText:w,colorBgContainer:C,colorTextDisabled:z,controlItemBgActiveDisabled:$,colorTextLightSolid:N}=c,L=4,B=S,D=m?l(B):B-(L+h)*2;return{radioSize:B,dotSize:D,dotColorDisabled:z,buttonSolidCheckedColor:N,buttonBg:C,buttonCheckedBg:C,buttonColor:w,buttonCheckedBgDisabled:$,buttonCheckedColorDisabled:z,buttonPaddingInline:g-h,wrapperMarginInlineEnd:M}})},12632:function(b,y,e){"use strict";e.d(y,{ZP:function(){return O}});var a=e(85678),t=e(79999),o=e(69831),s=e(60698),n=e(58757),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},l=d,c=e(17202),m=function(U,A){return n.createElement(c.Z,(0,s.Z)({},U,{ref:A,icon:l}))},g=n.forwardRef(m),M=e(87608),h=e.n(M),S=e(61836),C=()=>n.createElement("svg",{width:"252",height:"294"},n.createElement("defs",null,n.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(0 .012)"},n.createElement("mask",{fill:"#fff"}),n.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),n.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),n.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),n.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),n.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),n.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),n.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),n.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),n.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),n.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),n.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),n.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),n.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),n.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),n.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),n.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),n.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),n.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),n.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),n.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),n.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),n.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),n.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),n.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),n.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),n.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),n.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),n.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),n.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),n.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),n.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),n.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),n.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),n.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),n.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),n.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),n.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),n.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),$=()=>n.createElement("svg",{width:"254",height:"294"},n.createElement("defs",null,n.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),n.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(0 .067)"},n.createElement("mask",{fill:"#fff"}),n.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),n.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),n.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),n.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),n.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),n.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),n.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),n.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),n.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),n.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),n.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),n.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),n.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),n.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),n.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),n.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),n.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),n.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),n.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),n.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),n.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),n.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),n.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),n.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),n.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),n.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),n.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),n.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),n.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),n.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),n.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),n.createElement("mask",{fill:"#fff"}),n.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),n.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),n.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),n.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),n.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),n.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),n.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),n.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),L=()=>n.createElement("svg",{width:"251",height:"294"},n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),n.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),n.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),n.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),n.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),n.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),n.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),n.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),n.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),n.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),n.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),n.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),n.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),n.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),n.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),n.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),n.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),n.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),n.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),n.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),n.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),n.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),n.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),n.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),n.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),n.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),n.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),n.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),n.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),n.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),n.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),n.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),n.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),n.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),n.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),B=e(52628),D=e(22151);const T=_=>{const{componentCls:U,lineHeightHeading3:A,iconCls:G,padding:de,paddingXL:he,paddingXS:ge,paddingLG:be,marginXS:Te,lineHeight:Ge}=_;return{[U]:{padding:`${be*2}px ${he}px`,"&-rtl":{direction:"rtl"}},[`${U} ${U}-image`]:{width:_.imageWidth,height:_.imageHeight,margin:"auto"},[`${U} ${U}-icon`]:{marginBottom:be,textAlign:"center",[`& > ${G}`]:{fontSize:_.iconFontSize}},[`${U} ${U}-title`]:{color:_.colorTextHeading,fontSize:_.titleFontSize,lineHeight:A,marginBlock:Te,textAlign:"center"},[`${U} ${U}-subtitle`]:{color:_.colorTextDescription,fontSize:_.subtitleFontSize,lineHeight:Ge,textAlign:"center"},[`${U} ${U}-content`]:{marginTop:be,padding:`${be}px ${de*2.5}px`,backgroundColor:_.colorFillAlter},[`${U} ${U}-extra`]:{margin:_.extraMargin,textAlign:"center","& > *":{marginInlineEnd:ge,"&:last-child":{marginInlineEnd:0}}}}},j=_=>{const{componentCls:U,iconCls:A}=_;return{[`${U}-success ${U}-icon > ${A}`]:{color:_.resultSuccessIconColor},[`${U}-error ${U}-icon > ${A}`]:{color:_.resultErrorIconColor},[`${U}-info ${U}-icon > ${A}`]:{color:_.resultInfoIconColor},[`${U}-warning ${U}-icon > ${A}`]:{color:_.resultWarningIconColor}}},K=_=>[T(_),j(_)],k=_=>K(_);var te=(0,B.Z)("Result",_=>{const U=_.colorInfo,A=_.colorError,G=_.colorSuccess,de=_.colorWarning,he=(0,D.TS)(_,{resultInfoIconColor:U,resultErrorIconColor:A,resultSuccessIconColor:G,resultWarningIconColor:de,imageWidth:250,imageHeight:295});return[k(he)]},_=>({titleFontSize:_.fontSizeHeading3,subtitleFontSize:_.fontSize,iconFontSize:_.fontSizeHeading3*3,extraMargin:`${_.paddingLG}px 0 0 0`}));const Y={success:a.Z,error:t.Z,info:o.Z,warning:g},q={404:C,500:$,403:L},le=Object.keys(q),X=_=>{let{prefixCls:U,icon:A,status:G}=_;const de=h()(`${U}-icon`);if(le.includes(`${G}`)){const ge=q[G];return n.createElement("div",{className:`${de} ${U}-image`},n.createElement(ge,null))}const he=n.createElement(Y[G]);return A===null||A===!1?null:n.createElement("div",{className:de},A||he)},W=_=>{let{prefixCls:U,extra:A}=_;return A?n.createElement("div",{className:`${U}-extra`},A):null},x=_=>{let{prefixCls:U,className:A,rootClassName:G,subTitle:de,title:he,style:ge,children:be,status:Te="info",icon:Ge,extra:Je}=_;const{getPrefixCls:Qe,direction:pt,result:Ct}=n.useContext(S.E_),ft=Qe("result",U),[Ht,Ze]=te(ft),Xe=h()(ft,`${ft}-${Te}`,A,Ct==null?void 0:Ct.className,G,{[`${ft}-rtl`]:pt==="rtl"},Ze),rt=Object.assign(Object.assign({},Ct==null?void 0:Ct.style),ge);return Ht(n.createElement("div",{className:Xe,style:rt},n.createElement(X,{prefixCls:ft,status:Te,icon:Ge}),n.createElement("div",{className:`${ft}-title`},he),de&&n.createElement("div",{className:`${ft}-subtitle`},de),n.createElement(W,{prefixCls:ft,extra:Je}),be&&n.createElement("div",{className:`${ft}-content`},be)))};x.PRESENTED_IMAGE_403=q[403],x.PRESENTED_IMAGE_404=q[404],x.PRESENTED_IMAGE_500=q[500];var O=x},59504:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(18510),s=e(98186),n=e(58757),d=e(15018),l=e(90881),c=e(41496),m=e(61836),g=e(92428),M=e(10401),h=e(58785),S=e(81496),w=e(43528),C=e(92493),z=e(25639),$=e(61698),N=e(29701),L=function(K,k){var te={};for(var Y in K)Object.prototype.hasOwnProperty.call(K,Y)&&k.indexOf(Y)<0&&(te[Y]=K[Y]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(K);q{var te,{prefixCls:Y,bordered:q=!0,className:le,rootClassName:X,getPopupContainer:W,popupClassName:x,dropdownClassName:O,listHeight:_=256,placement:U,listItemHeight:A=24,size:G,disabled:de,notFoundContent:he,status:ge,builtinPlacements:be,dropdownMatchSelectWidth:Te,popupMatchSelectWidth:Ge,direction:Je,style:Qe,allowClear:pt}=K,Ct=L(K,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:ft,getPrefixCls:Ht,renderEmpty:Ze,direction:Xe,virtual:rt,popupMatchSelectWidth:Ke,popupOverflow:ye,select:ne}=n.useContext(m.E_),H=Ht("select",Y),R=Ht(),P=Je!=null?Je:Xe,{compactSize:ae,compactItemClassnames:Q}=(0,w.ri)(H,P),[ie,me]=(0,C.Z)(H),je=n.useMemo(()=>{const{mode:wt}=Ct;if(wt!=="combobox")return wt===B?"combobox":wt},[Ct.mode]),Ee=je==="multiple"||je==="tags",Me=(0,$.Z)(Ct.suffixIcon,Ct.showArrow),We=(te=Ge!=null?Ge:Te)!==null&&te!==void 0?te:Ke,{status:re,hasFeedback:se,isFormItemInput:J,feedbackIcon:ce}=n.useContext(S.aM),xe=(0,c.F)(re,ge);let ue;he!==void 0?ue=he:je==="combobox"?ue=null:ue=(Ze==null?void 0:Ze("Select"))||n.createElement(M.Z,{componentName:"Select"});const{suffixIcon:Ne,itemIcon:Oe,removeIcon:we,clearIcon:Re}=(0,N.Z)(Object.assign(Object.assign({},Ct),{multiple:Ee,hasFeedback:se,feedbackIcon:ce,showSuffixIcon:Me,prefixCls:H,showArrow:Ct.showArrow,componentName:"Select"})),st=pt===!0?{clearIcon:Re}:pt,tt=(0,s.Z)(Ct,["suffixIcon","itemIcon"]),Ye=t()(x||O,{[`${H}-dropdown-${P}`]:P==="rtl"},X,me),ke=(0,h.Z)(wt=>{var jt;return(jt=G!=null?G:ae)!==null&&jt!==void 0?jt:wt}),Be=n.useContext(g.Z),it=de!=null?de:Be,Ve=t()({[`${H}-lg`]:ke==="large",[`${H}-sm`]:ke==="small",[`${H}-rtl`]:P==="rtl",[`${H}-borderless`]:!q,[`${H}-in-form-item`]:J},(0,c.Z)(H,xe,se),Q,ne==null?void 0:ne.className,le,X,me),It=n.useMemo(()=>U!==void 0?U:P==="rtl"?"bottomRight":"bottomLeft",[U,P]),_t=(0,z.Z)(be,ye);return ie(n.createElement(o.ZP,Object.assign({ref:k,virtual:rt,showSearch:ne==null?void 0:ne.showSearch},tt,{style:Object.assign(Object.assign({},ne==null?void 0:ne.style),Qe),dropdownMatchSelectWidth:We,builtinPlacements:_t,transitionName:(0,l.m)(R,"slide-up",Ct.transitionName),listHeight:_,listItemHeight:A,mode:je,prefixCls:H,placement:It,direction:P,suffixIcon:Ne,menuItemSelectedIcon:Oe,removeIcon:we,allowClear:st,notFoundContent:ue,className:Ve,getPopupContainer:W||ft,dropdownClassName:Ye,disabled:it})))},T=n.forwardRef(D),j=(0,d.Z)(T);T.SECRET_COMBOBOX_MODE_DO_NOT_USE=B,T.Option=o.Wx,T.OptGroup=o.Xo,T._InternalPanelDoNotUseOrYouWillBeFired=j,y.Z=T},92493:function(b,y,e){"use strict";e.d(y,{Z:function(){return T}});var a=e(78330),t=e(64493),o=e(22151),s=e(52628),n=e(1016),d=e(1546);const l=j=>{const{controlPaddingHorizontal:K,controlHeight:k,fontSize:te,lineHeight:Y}=j;return{position:"relative",display:"block",minHeight:k,padding:`${(k-te*Y)/2}px ${K}px`,color:j.colorText,fontWeight:"normal",fontSize:te,lineHeight:Y,boxSizing:"border-box"}};var m=j=>{const{antCls:K,componentCls:k}=j,te=`${k}-item`,Y=`&${K}-slide-up-enter${K}-slide-up-enter-active`,q=`&${K}-slide-up-appear${K}-slide-up-appear-active`,le=`&${K}-slide-up-leave${K}-slide-up-leave-active`,X=`${k}-dropdown-placement-`;return[{[`${k}-dropdown`]:Object.assign(Object.assign({},(0,a.Wf)(j)),{position:"absolute",top:-9999,zIndex:j.zIndexPopup,boxSizing:"border-box",padding:j.paddingXXS,overflow:"hidden",fontSize:j.fontSize,fontVariant:"initial",backgroundColor:j.colorBgElevated,borderRadius:j.borderRadiusLG,outline:"none",boxShadow:j.boxShadowSecondary,[` - ${Y}${X}bottomLeft, + `]:{display:"inline-block",minWidth:ie.itemSize,height:ie.itemSize,color:ie.colorText,fontFamily:ie.fontFamily,lineHeight:`${ie.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ie.borderRadius,cursor:"pointer",transition:`all ${ie.motionDurationMid}`},[`${me}-prev, ${me}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ie.colorText,cursor:"pointer",userSelect:"none"},[`${me}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ie.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ie.lineWidth}px ${ie.lineType} transparent`,borderRadius:ie.borderRadius,outline:"none",transition:`all ${ie.motionDurationMid}`},[`&:hover ${me}-item-link`]:{backgroundColor:ie.colorBgTextHover},[`&:active ${me}-item-link`]:{backgroundColor:ie.colorBgTextActive},[`&${me}-disabled:hover`]:{[`${me}-item-link`]:{backgroundColor:"transparent"}}},[`${me}-slash`]:{marginInlineEnd:ie.paginationSlashMarginInlineEnd,marginInlineStart:ie.paginationSlashMarginInlineStart},[`${me}-options`]:{display:"inline-block",marginInlineStart:ie.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ie.controlHeight,marginInlineStart:ie.marginXS,lineHeight:`${ie.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Je.ik)(ie)),{width:ie.controlHeightLG*1.25,height:ie.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ie.marginXS,marginInlineEnd:ie.marginXS})}}}},nt=ie=>{const{componentCls:me}=ie;return{[`${me}-item`]:{display:"inline-block",minWidth:ie.itemSize,height:ie.itemSize,marginInlineEnd:ie.marginXS,fontFamily:ie.fontFamily,lineHeight:`${ie.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ie.lineWidth}px ${ie.lineType} transparent`,borderRadius:ie.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ie.paginationItemPaddingInline}px`,color:ie.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${me}-item-active)`]:{"&:hover":{transition:`all ${ie.motionDurationMid}`,backgroundColor:ie.colorBgTextHover},"&:active":{backgroundColor:ie.colorBgTextActive}},"&-active":{fontWeight:ie.fontWeightStrong,backgroundColor:ie.itemActiveBg,borderColor:ie.colorPrimary,a:{color:ie.colorPrimary},"&:hover":{borderColor:ie.colorPrimaryHover},"&:hover a":{color:ie.colorPrimaryHover}}}}},Ke=ie=>{const{componentCls:me}=ie;return{[me]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(ie)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${me}-total-text`]:{display:"inline-block",height:ie.itemSize,marginInlineEnd:ie.marginXS,lineHeight:`${ie.itemSize-2}px`,verticalAlign:"middle"}}),nt(ie)),Xe(ie)),$e(ie)),Wt(ie)),ft(ie)),{[`@media only screen and (max-width: ${ie.screenLG}px)`]:{[`${me}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ie.screenSM}px)`]:{[`${me}-options`]:{display:"none"}}}),[`&${ie.componentCls}-rtl`]:{direction:"rtl"}}},ye=ie=>{const{componentCls:me}=ie;return{[`${me}${me}-disabled:not(${me}-mini)`]:{"&, &:hover":{[`${me}-item-link`]:{borderColor:ie.colorBorder}},"&:focus-visible":{[`${me}-item-link`]:{borderColor:ie.colorBorder}},[`${me}-item, ${me}-item-link`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,[`&:hover:not(${me}-item-active)`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,a:{color:ie.colorTextDisabled}},[`&${me}-item-active`]:{backgroundColor:ie.itemActiveBgDisabled}},[`${me}-prev, ${me}-next`]:{"&:hover button":{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder,color:ie.colorTextDisabled},[`${me}-item-link`]:{backgroundColor:ie.colorBgContainerDisabled,borderColor:ie.colorBorder}}},[`${me}:not(${me}-mini)`]:{[`${me}-prev, ${me}-next`]:{"&:hover button":{borderColor:ie.colorPrimaryHover,backgroundColor:ie.itemBg},[`${me}-item-link`]:{backgroundColor:ie.itemLinkBg,borderColor:ie.colorBorder},[`&:hover ${me}-item-link`]:{borderColor:ie.colorPrimary,backgroundColor:ie.itemBg,color:ie.colorPrimary},[`&${me}-disabled`]:{[`${me}-item-link`]:{borderColor:ie.colorBorder,color:ie.colorTextDisabled}}},[`${me}-item`]:{backgroundColor:ie.itemBg,border:`${ie.lineWidth}px ${ie.lineType} ${ie.colorBorder}`,[`&:hover:not(${me}-item-active)`]:{borderColor:ie.colorPrimary,backgroundColor:ie.itemBg,a:{color:ie.colorPrimary}},"&-active":{borderColor:ie.colorPrimary}}}}},ne=ie=>{const{componentCls:me}=ie;return{[`${me}:not(${me}-disabled)`]:{[`${me}-item`]:Object.assign({},(0,Qe.Qy)(ie)),[`${me}-jump-prev, ${me}-jump-next`]:{"&:focus-visible":Object.assign({[`${me}-item-link-icon`]:{opacity:1},[`${me}-item-ellipsis`]:{opacity:0}},(0,Qe.oN)(ie))},[`${me}-prev, ${me}-next`]:{[`&:focus-visible ${me}-item-link`]:Object.assign({},(0,Qe.oN)(ie))}}}};var H=(0,pt.Z)("Pagination",ie=>{const me=(0,Et.TS)(ie,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ie.marginXXS/2,paginationMiniQuickJumperInputWidth:ie.controlHeightLG*1.1,paginationItemPaddingInline:ie.marginXXS*1.5,paginationEllipsisLetterSpacing:ie.marginXXS/2,paginationSlashMarginInlineStart:ie.marginXXS,paginationSlashMarginInlineEnd:ie.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Je.e5)(ie));return[Ke(me),ne(me),ie.wireframe&&ye(me)]},ie=>({itemBg:ie.colorBgContainer,itemSize:ie.controlHeight,itemSizeSM:ie.controlHeightSM,itemActiveBg:ie.colorBgContainer,itemLinkBg:ie.colorBgContainer,itemActiveColorDisabled:ie.colorTextDisabled,itemActiveBgDisabled:ie.controlItemBgActiveDisabled,itemInputBg:ie.colorBgContainer,miniOptionsSizeChangerTop:0})),R=function(ie,me){var je={};for(var Ee in ie)Object.prototype.hasOwnProperty.call(ie,Ee)&&me.indexOf(Ee)<0&&(je[Ee]=ie[Ee]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ee=Object.getOwnPropertySymbols(ie);Me{const{prefixCls:me,selectPrefixCls:je,className:Ee,rootClassName:Me,style:We,size:re,locale:se,selectComponentClass:J,responsive:de,showSizeChanger:xe}=ie,ce=R(ie,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Le}=(0,pe.Z)(de),{getPrefixCls:Oe,direction:we,pagination:Ne={}}=t.useContext(G.E_),st=Oe("pagination",me),[et,Ye]=H(st),ke=xe!=null?xe:Ne.showSizeChanger,Be=t.useMemo(()=>{const yt=t.createElement("span",{className:`${st}-item-ellipsis`},"\u2022\u2022\u2022"),ze=t.createElement("button",{className:`${st}-item-link`,type:"button",tabIndex:-1},we==="rtl"?t.createElement(S.Z,null):t.createElement(h.Z,null)),tt=t.createElement("button",{className:`${st}-item-link`,type:"button",tabIndex:-1},we==="rtl"?t.createElement(h.Z,null):t.createElement(S.Z,null)),St=t.createElement("a",{className:`${st}-item-link`},t.createElement("div",{className:`${st}-item-container`},we==="rtl"?t.createElement(M,{className:`${st}-item-link-icon`}):t.createElement(l,{className:`${st}-item-link-icon`}),yt)),lt=t.createElement("a",{className:`${st}-item-link`},t.createElement("div",{className:`${st}-item-container`},we==="rtl"?t.createElement(l,{className:`${st}-item-link-icon`}):t.createElement(M,{className:`${st}-item-link-icon`}),yt));return{prevIcon:ze,nextIcon:tt,jumpPrevIcon:St,jumpNextIcon:lt}},[we,st]),[it]=(0,ge.Z)("Pagination",A.Z),Ve=Object.assign(Object.assign({},it),se),xt=(0,fe.Z)(re),Ht=xt==="small"||!!(Le&&!xt&&de),Ot=Oe("select",je),wt=C()({[`${st}-mini`]:Ht,[`${st}-rtl`]:we==="rtl"},Ne==null?void 0:Ne.className,Ee,Me,Ye),_t=Object.assign(Object.assign({},Ne==null?void 0:Ne.style),We);return et(t.createElement(U,Object.assign({},Be,ce,{style:_t,prefixCls:st,selectPrefixCls:Ot,className:wt,selectComponentClass:J||(Ht?Te:Ge),locale:Ve,showSizeChanger:ke})))},Q=ae},21465:function(b,y,e){"use strict";e.d(y,{t5:function(){return g}});var a=e(87608),t=e.n(a),o=e(33664),s=e(58757),n=e(61836),d=e(99836),l=e(86194),c=function(h,S){var w={};for(var C in h)Object.prototype.hasOwnProperty.call(h,C)&&S.indexOf(C)<0&&(w[C]=h[C]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,C=Object.getOwnPropertySymbols(h);F{if(!(!S&&!w))return s.createElement(s.Fragment,null,S&&s.createElement("div",{className:`${h}-title`},(0,d.Z)(S)),s.createElement("div",{className:`${h}-inner-content`},(0,d.Z)(w)))},g=h=>{const{hashId:S,prefixCls:w,className:C,style:F,placement:Z="top",title:N,content:L,children:$}=h;return s.createElement("div",{className:t()(S,w,`${w}-pure`,`${w}-placement-${Z}`,C),style:F},s.createElement("div",{className:`${w}-arrow`}),s.createElement(o.G,Object.assign({},h,{className:S,prefixCls:w}),$||m(w,N,L)))},M=h=>{const{prefixCls:S}=h,w=c(h,["prefixCls"]),{getPrefixCls:C}=s.useContext(n.E_),F=C("popover",S),[Z,N]=(0,l.Z)(F);return Z(s.createElement(g,Object.assign({},w,{prefixCls:F,hashId:N})))};y.ZP=M},33181:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(58757),s=e(99836),n=e(90881),d=e(61836),l=e(74820),c=e(21465),m=e(86194),g=function(S,w){var C={};for(var F in S)Object.prototype.hasOwnProperty.call(S,F)&&w.indexOf(F)<0&&(C[F]=S[F]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,F=Object.getOwnPropertySymbols(S);Z{let{title:w,content:C,prefixCls:F}=S;return o.createElement(o.Fragment,null,w&&o.createElement("div",{className:`${F}-title`},(0,s.Z)(w)),o.createElement("div",{className:`${F}-inner-content`},(0,s.Z)(C)))},h=o.forwardRef((S,w)=>{const{prefixCls:C,title:F,content:Z,overlayClassName:N,placement:L="top",trigger:$="hover",mouseEnterDelay:D=.1,mouseLeaveDelay:T=.1,overlayStyle:j={}}=S,K=g(S,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:k}=o.useContext(d.E_),te=k("popover",C),[V,q]=(0,m.Z)(te),le=k(),X=t()(N,q);return V(o.createElement(l.Z,Object.assign({placement:L,trigger:$,mouseEnterDelay:D,mouseLeaveDelay:T,overlayStyle:j},K,{prefixCls:te,overlayClassName:X,ref:w,overlay:F||Z?o.createElement(M,{prefixCls:te,title:F,content:Z}):null,transitionName:(0,n.m)(le,"zoom-big",K.transitionName),"data-popover-inject":!0})))});h._InternalPanelDoNotUseOrYouWillBeFired=c.ZP,y.Z=h},86194:function(b,y,e){"use strict";var a=e(78330),t=e(28107),o=e(24542),s=e(34966),n=e(52628),d=e(22151);const l=g=>{const{componentCls:M,popoverColor:h,minWidth:S,fontWeightStrong:w,popoverPadding:C,boxShadowSecondary:F,colorTextHeading:Z,borderRadiusLG:N,zIndexPopup:L,marginXS:$,colorBgElevated:D,popoverBg:T}=g;return[{[M]:Object.assign(Object.assign({},(0,a.Wf)(g)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:L,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":D,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${M}-content`]:{position:"relative"},[`${M}-inner`]:{backgroundColor:T,backgroundClip:"padding-box",borderRadius:N,boxShadow:F,padding:C},[`${M}-title`]:{minWidth:S,marginBottom:$,color:Z,fontWeight:w},[`${M}-inner-content`]:{color:h}})},(0,o.ZP)(g,{colorBg:"var(--antd-arrow-background-color)"}),{[`${M}-pure`]:{position:"relative",maxWidth:"none",margin:g.sizePopupArrow,display:"inline-block",[`${M}-content`]:{display:"inline-block"}}}]},c=g=>{const{componentCls:M}=g;return{[M]:s.i.map(h=>{const S=g[`${h}6`];return{[`&${M}-${h}`]:{"--antd-arrow-background-color":S,[`${M}-inner`]:{backgroundColor:S},[`${M}-arrow`]:{background:"transparent"}}}})}},m=g=>{const{componentCls:M,lineWidth:h,lineType:S,colorSplit:w,paddingSM:C,controlHeight:F,fontSize:Z,lineHeight:N,padding:L}=g,$=F-Math.round(Z*N),D=$/2,T=$/2-h,j=L;return{[M]:{[`${M}-inner`]:{padding:0},[`${M}-title`]:{margin:0,padding:`${D}px ${j}px ${T}px`,borderBottom:`${h}px ${S} ${w}`},[`${M}-inner-content`]:{padding:`${C}px ${j}px`}}}};y.Z=(0,n.Z)("Popover",g=>{const{colorBgElevated:M,colorText:h,wireframe:S}=g,w=(0,d.TS)(g,{popoverPadding:12,popoverBg:M,popoverColor:h});return[l(w),c(w),S&&m(w),(0,t._y)(w,"zoom-big")]},g=>({width:177,minWidth:177,zIndexPopup:g.zIndexPopupBase+30}),{deprecatedTokens:[["width","minWidth"]]})},95664:function(b,y,e){"use strict";e.d(y,{Z:function(){return We}});var a=e(85678),t=e(35725),o=e(79999),s=e(52495),n=e(87608),d=e.n(n),l=e(98186),c=e(58757),m=e(61836),g=e(60698),M=e(57370),h=e(47075),S={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},w=function(){var se=(0,c.useRef)([]),J=(0,c.useRef)(null);return(0,c.useEffect)(function(){var de=Date.now(),xe=!1;se.current.forEach(function(ce){if(ce){xe=!0;var Le=ce.style;Le.transitionDuration=".3s, .3s, .3s, .06s",J.current&&de-J.current<100&&(Le.transitionDuration="0s, 0s")}}),xe&&(J.current=Date.now())}),se.current},C=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],F=function(se){var J=(0,M.Z)((0,M.Z)({},S),se),de=J.className,xe=J.percent,ce=J.prefixCls,Le=J.strokeColor,Oe=J.strokeLinecap,we=J.strokeWidth,Ne=J.style,st=J.trailColor,et=J.trailWidth,Ye=J.transition,ke=(0,h.Z)(J,C);delete ke.gapPosition;var Be=Array.isArray(xe)?xe:[xe],it=Array.isArray(Le)?Le:[Le],Ve=w(),xt=we/2,Ht=100-we/2,Ot="M ".concat(Oe==="round"?xt:0,",").concat(xt,` + L `).concat(Oe==="round"?Ht:100,",").concat(xt),wt="0 0 100 ".concat(we),_t=0;return c.createElement("svg",(0,g.Z)({className:d()("".concat(ce,"-line"),de),viewBox:wt,preserveAspectRatio:"none",style:Ne},ke),c.createElement("path",{className:"".concat(ce,"-line-trail"),d:Ot,strokeLinecap:Oe,stroke:st,strokeWidth:et||we,fillOpacity:"0"}),Be.map(function(yt,ze){var tt=1;switch(Oe){case"round":tt=1-we/100;break;case"square":tt=1-we/2/100;break;default:tt=1;break}var St={strokeDasharray:"".concat(yt*tt,"px, 100px"),strokeDashoffset:"-".concat(_t,"px"),transition:Ye||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},lt=it[ze]||it[it.length-1];return _t+=yt,c.createElement("path",{key:ze,className:"".concat(ce,"-line-path"),d:Ot,strokeLinecap:Oe,stroke:lt,strokeWidth:we,fillOpacity:"0",ref:function(Nt){Ve[ze]=Nt},style:St})}))},Z=F,N=e(38790),L=e(28314),$=e(19075),D=0,T=(0,$.Z)();function j(){var re;return T?(re=D,D+=1):re="TEST_OR_SSR",re}var K=function(re){var se=c.useState(),J=(0,L.Z)(se,2),de=J[0],xe=J[1];return c.useEffect(function(){xe("rc_progress_".concat(j()))},[]),re||de},k=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function te(re){return+re.replace("%","")}function V(re){var se=re!=null?re:[];return Array.isArray(se)?se:[se]}var q=100,le=function(se,J,de,xe,ce,Le,Oe,we,Ne,st){var et=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ye=de/100*360*((360-Le)/360),ke=Le===0?0:{bottom:0,top:180,left:90,right:-90}[Oe],Be=(100-xe)/100*J;return Ne==="round"&&xe!==100&&(Be+=st/2,Be>=J&&(Be=J-.01)),{stroke:typeof we=="string"?we:void 0,strokeDasharray:"".concat(J,"px ").concat(se),strokeDashoffset:Be+et,transform:"rotate(".concat(ce+Ye+ke,"deg)"),transformOrigin:"0 0",transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},X=function(se){var J=(0,M.Z)((0,M.Z)({},S),se),de=J.id,xe=J.prefixCls,ce=J.steps,Le=J.strokeWidth,Oe=J.trailWidth,we=J.gapDegree,Ne=we===void 0?0:we,st=J.gapPosition,et=J.trailColor,Ye=J.strokeLinecap,ke=J.style,Be=J.className,it=J.strokeColor,Ve=J.percent,xt=(0,h.Z)(J,k),Ht=K(de),Ot="".concat(Ht,"-gradient"),wt=q/2-Le/2,_t=Math.PI*2*wt,yt=Ne>0?90+Ne/2:-90,ze=_t*((360-Ne)/360),tt=(0,N.Z)(ce)==="object"?ce:{count:ce,space:2},St=tt.count,lt=tt.space,Gt=le(_t,ze,0,100,yt,Ne,st,et,Ye,Le),Nt=V(Ve),At=V(it),Ie=At.find(function(He){return He&&(0,N.Z)(He)==="object"}),Se=w(),bt=function(){var qe=0;return Nt.map(function($t,Zt){var qt=At[Zt]||At[At.length-1],un=qt&&(0,N.Z)(qt)==="object"?"url(#".concat(Ot,")"):void 0,xn=le(_t,ze,qe,$t,yt,Ne,st,qt,Ye,Le);return qe+=$t,c.createElement("circle",{key:Zt,className:"".concat(xe,"-circle-path"),r:wt,cx:0,cy:0,stroke:un,strokeLinecap:Ye,strokeWidth:Le,opacity:$t===0?0:1,style:xn,ref:function(Gn){Se[Zt]=Gn}})}).reverse()},jt=function(){var qe=Math.round(St*(Nt[0]/100)),$t=100/St,Zt=0;return new Array(St).fill(null).map(function(qt,un){var xn=un<=qe-1?At[0]:et,pn=xn&&(0,N.Z)(xn)==="object"?"url(#".concat(Ot,")"):void 0,Gn=le(_t,ze,Zt,$t,yt,Ne,st,xn,"butt",Le,lt);return Zt+=(ze-Gn.strokeDashoffset+lt)*100/ze,c.createElement("circle",{key:un,className:"".concat(xe,"-circle-path"),r:wt,cx:0,cy:0,stroke:pn,strokeWidth:Le,opacity:1,style:Gn,ref:function(ur){Se[un]=ur}})})};return c.createElement("svg",(0,g.Z)({className:d()("".concat(xe,"-circle"),Be),viewBox:"".concat(-q/2," ").concat(-q/2," ").concat(q," ").concat(q),style:ke,id:de,role:"presentation"},xt),Ie&&c.createElement("defs",null,c.createElement("linearGradient",{id:Ot,x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Ie).sort(function(He,qe){return te(He)-te(qe)}).map(function(He,qe){return c.createElement("stop",{key:qe,offset:He,stopColor:Ie[He]})}))),!St&&c.createElement("circle",{className:"".concat(xe,"-circle-trail"),r:wt,cx:0,cy:0,stroke:et,strokeLinecap:Ye,strokeWidth:Oe||Le,style:Gt}),St?jt():bt())},W=X,x={Line:Z,Circle:W},O=e(74820),_=e(26134);function U(re){return!re||re<0?0:re>100?100:re}function A(re){let{success:se,successPercent:J}=re,de=J;return se&&"progress"in se&&(de=se.progress),se&&"percent"in se&&(de=se.percent),de}const G=re=>{let{percent:se,success:J,successPercent:de}=re;const xe=U(A({success:J,successPercent:de}));return[xe,U(U(se)-xe)]},fe=re=>{let{success:se={},strokeColor:J}=re;const{strokeColor:de}=se;return[de||_.presetPrimaryColors.green,J||null]},pe=(re,se,J)=>{var de,xe,ce,Le;let Oe=-1,we=-1;if(se==="step"){const Ne=J.steps,st=J.strokeWidth;typeof re=="string"||typeof re=="undefined"?(Oe=re==="small"?2:14,we=st!=null?st:8):typeof re=="number"?[Oe,we]=[re,re]:[Oe=14,we=8]=re,Oe*=Ne}else if(se==="line"){const Ne=J==null?void 0:J.strokeWidth;typeof re=="string"||typeof re=="undefined"?we=Ne||(re==="small"?6:8):typeof re=="number"?[Oe,we]=[re,re]:[Oe=-1,we=8]=re}else(se==="circle"||se==="dashboard")&&(typeof re=="string"||typeof re=="undefined"?[Oe,we]=re==="small"?[60,60]:[120,120]:typeof re=="number"?[Oe,we]=[re,re]:(Oe=(xe=(de=re[0])!==null&&de!==void 0?de:re[1])!==null&&xe!==void 0?xe:120,we=(Le=(ce=re[0])!==null&&ce!==void 0?ce:re[1])!==null&&Le!==void 0?Le:120));return[Oe,we]},ge=3,be=re=>ge/re*100;var Ge=re=>{const{prefixCls:se,trailColor:J=null,strokeLinecap:de="round",gapPosition:xe,gapDegree:ce,width:Le=120,type:Oe,children:we,success:Ne,size:st=Le}=re,[et,Ye]=pe(st,"circle");let{strokeWidth:ke}=re;ke===void 0&&(ke=Math.max(be(et),6));const Be={width:et,height:Ye,fontSize:et*.15+6},it=c.useMemo(()=>{if(ce||ce===0)return ce;if(Oe==="dashboard")return 75},[ce,Oe]),Ve=xe||Oe==="dashboard"&&"bottom"||void 0,xt=Object.prototype.toString.call(re.strokeColor)==="[object Object]",Ht=fe({success:Ne,strokeColor:re.strokeColor}),Ot=d()(`${se}-inner`,{[`${se}-circle-gradient`]:xt}),wt=c.createElement(W,{percent:G(re),strokeWidth:ke,trailWidth:ke,strokeColor:Ht,strokeLinecap:de,trailColor:J,prefixCls:se,gapDegree:it,gapPosition:Ve});return c.createElement("div",{className:Ot,style:Be},et<=20?c.createElement(O.Z,{title:we},c.createElement("span",null,wt)):c.createElement(c.Fragment,null,wt,we))},Je=function(re,se){var J={};for(var de in re)Object.prototype.hasOwnProperty.call(re,de)&&se.indexOf(de)<0&&(J[de]=re[de]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,de=Object.getOwnPropertySymbols(re);xe{let se=[];return Object.keys(re).forEach(J=>{const de=parseFloat(J.replace(/%/g,""));isNaN(de)||se.push({key:de,value:re[J]})}),se=se.sort((J,de)=>J.key-de.key),se.map(J=>{let{key:de,value:xe}=J;return`${xe} ${de}%`}).join(", ")},pt=(re,se)=>{const{from:J=_.presetPrimaryColors.blue,to:de=_.presetPrimaryColors.blue,direction:xe=se==="rtl"?"to left":"to right"}=re,ce=Je(re,["from","to","direction"]);if(Object.keys(ce).length!==0){const Le=Qe(ce);return{backgroundImage:`linear-gradient(${xe}, ${Le})`}}return{backgroundImage:`linear-gradient(${xe}, ${J}, ${de})`}};var ft=re=>{const{prefixCls:se,direction:J,percent:de,size:xe,strokeWidth:ce,strokeColor:Le,strokeLinecap:Oe="round",children:we,trailColor:Ne=null,success:st}=re,et=Le&&typeof Le!="string"?pt(Le,J):{backgroundColor:Le},Ye=Oe==="square"||Oe==="butt"?0:void 0,ke={backgroundColor:Ne||void 0,borderRadius:Ye},Be=xe!=null?xe:[-1,ce||(xe==="small"?6:8)],[it,Ve]=pe(Be,"line",{strokeWidth:ce}),xt=Object.assign({width:`${U(de)}%`,height:Ve,borderRadius:Ye},et),Ht=A(re),Ot={width:`${U(Ht)}%`,height:Ve,borderRadius:Ye,backgroundColor:st==null?void 0:st.strokeColor},wt={width:it<0?"100%":it,height:Ve};return c.createElement(c.Fragment,null,c.createElement("div",{className:`${se}-outer`,style:wt},c.createElement("div",{className:`${se}-inner`,style:ke},c.createElement("div",{className:`${se}-bg`,style:xt}),Ht!==void 0?c.createElement("div",{className:`${se}-success-bg`,style:Ot}):null)),we)},$e=re=>{const{size:se,steps:J,percent:de=0,strokeWidth:xe=8,strokeColor:ce,trailColor:Le=null,prefixCls:Oe,children:we}=re,Ne=Math.round(J*(de/100)),st=se==="small"?2:14,et=se!=null?se:[st,xe],[Ye,ke]=pe(et,"step",{steps:J,strokeWidth:xe}),Be=Ye/J,it=new Array(J);for(let Ve=0;Ve{const se=re?"100%":"-100%";return new Xe.E4(`antProgress${re?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${se}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${se}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},H=re=>{const{componentCls:se,iconCls:J}=re;return{[se]:Object.assign(Object.assign({},(0,nt.Wf)(re)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:re.fontSize,marginInlineEnd:re.marginXS,marginBottom:re.marginXS},[`${se}-outer`]:{display:"inline-block",width:"100%"},[`&${se}-show-info`]:{[`${se}-outer`]:{marginInlineEnd:`calc(-2em - ${re.marginXS}px)`,paddingInlineEnd:`calc(2em + ${re.paddingXS}px)`}},[`${se}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:re.progressRemainingColor,borderRadius:re.progressLineRadius},[`${se}-inner:not(${se}-circle-gradient)`]:{[`${se}-circle-path`]:{stroke:re.colorInfo}},[`${se}-success-bg, ${se}-bg`]:{position:"relative",backgroundColor:re.colorInfo,borderRadius:re.progressLineRadius,transition:`all ${re.motionDurationSlow} ${re.motionEaseInOutCirc}`},[`${se}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:re.colorSuccess},[`${se}-text`]:{display:"inline-block",width:"2em",marginInlineStart:re.marginXS,color:re.progressInfoTextColor,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[J]:{fontSize:re.fontSize}},[`&${se}-status-active`]:{[`${se}-bg::before`]:{position:"absolute",inset:0,backgroundColor:re.colorBgContainer,borderRadius:re.progressLineRadius,opacity:0,animationName:ne(),animationDuration:re.progressActiveMotionDuration,animationTimingFunction:re.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${se}-rtl${se}-status-active`]:{[`${se}-bg::before`]:{animationName:ne(!0)}},[`&${se}-status-exception`]:{[`${se}-bg`]:{backgroundColor:re.colorError},[`${se}-text`]:{color:re.colorError}},[`&${se}-status-exception ${se}-inner:not(${se}-circle-gradient)`]:{[`${se}-circle-path`]:{stroke:re.colorError}},[`&${se}-status-success`]:{[`${se}-bg`]:{backgroundColor:re.colorSuccess},[`${se}-text`]:{color:re.colorSuccess}},[`&${se}-status-success ${se}-inner:not(${se}-circle-gradient)`]:{[`${se}-circle-path`]:{stroke:re.colorSuccess}}})}},R=re=>{const{componentCls:se,iconCls:J}=re;return{[se]:{[`${se}-circle-trail`]:{stroke:re.progressRemainingColor},[`&${se}-circle ${se}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${se}-circle ${se}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:re.colorText,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[J]:{fontSize:`${re.fontSize/re.fontSizeSM}em`}},[`${se}-circle&-status-exception`]:{[`${se}-text`]:{color:re.colorError}},[`${se}-circle&-status-success`]:{[`${se}-text`]:{color:re.colorSuccess}}},[`${se}-inline-circle`]:{lineHeight:1,[`${se}-inner`]:{verticalAlign:"bottom"}}}},P=re=>{const{componentCls:se}=re;return{[se]:{[`${se}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:re.progressStepMinWidth,marginInlineEnd:re.progressStepMarginInlineEnd,backgroundColor:re.progressRemainingColor,transition:`all ${re.motionDurationSlow}`,"&-active":{backgroundColor:re.colorInfo}}}}}},ae=re=>{const{componentCls:se,iconCls:J}=re;return{[se]:{[`${se}-small&-line, ${se}-small&-line ${se}-text ${J}`]:{fontSize:re.fontSizeSM}}}};var Q=(0,Ke.Z)("Progress",re=>{const se=re.marginXXS/2,J=(0,ye.TS)(re,{progressLineRadius:100,progressInfoTextColor:re.colorText,progressDefaultColor:re.colorInfo,progressRemainingColor:re.colorFillSecondary,progressStepMarginInlineEnd:se,progressStepMinWidth:se,progressActiveMotionDuration:"2.4s"});return[H(J),R(J),P(J),ae(J)]}),ie=function(re,se){var J={};for(var de in re)Object.prototype.hasOwnProperty.call(re,de)&&se.indexOf(de)<0&&(J[de]=re[de]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,de=Object.getOwnPropertySymbols(re);xe{const{prefixCls:J,className:de,rootClassName:xe,steps:ce,strokeColor:Le,percent:Oe=0,size:we="default",showInfo:Ne=!0,type:st="line",status:et,format:Ye,style:ke}=re,Be=ie(re,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),it=c.useMemo(()=>{var Nt,At;const Ie=A(re);return parseInt(Ie!==void 0?(Nt=Ie!=null?Ie:0)===null||Nt===void 0?void 0:Nt.toString():(At=Oe!=null?Oe:0)===null||At===void 0?void 0:At.toString(),10)},[Oe,re.success,re.successPercent]),Ve=c.useMemo(()=>!je.includes(et)&&it>=100?"success":et||"normal",[et,it]),{getPrefixCls:xt,direction:Ht,progress:Ot}=c.useContext(m.E_),wt=xt("progress",J),[_t,yt]=Q(wt),ze=c.useMemo(()=>{if(!Ne)return null;const Nt=A(re);let At;const Ie=Ye||(bt=>`${bt}%`),Se=st==="line";return Ye||Ve!=="exception"&&Ve!=="success"?At=Ie(U(Oe),U(Nt)):Ve==="exception"?At=Se?c.createElement(o.Z,null):c.createElement(s.Z,null):Ve==="success"&&(At=Se?c.createElement(a.Z,null):c.createElement(t.Z,null)),c.createElement("span",{className:`${wt}-text`,title:typeof At=="string"?At:void 0},At)},[Ne,Oe,it,Ve,st,wt,Ye]),tt=Array.isArray(Le)?Le[0]:Le,St=typeof Le=="string"||Array.isArray(Le)?Le:void 0;let lt;st==="line"?lt=ce?c.createElement($e,Object.assign({},re,{strokeColor:St,prefixCls:wt,steps:ce}),ze):c.createElement(ft,Object.assign({},re,{strokeColor:tt,prefixCls:wt,direction:Ht}),ze):(st==="circle"||st==="dashboard")&&(lt=c.createElement(Ge,Object.assign({},re,{strokeColor:tt,prefixCls:wt,progressStatus:Ve}),ze));const Gt=d()(wt,`${wt}-status-${Ve}`,`${wt}-${st==="dashboard"&&"circle"||ce&&"steps"||st}`,{[`${wt}-inline-circle`]:st==="circle"&&pe(we,"circle")[0]<=20,[`${wt}-show-info`]:Ne,[`${wt}-${we}`]:typeof we=="string",[`${wt}-rtl`]:Ht==="rtl"},Ot==null?void 0:Ot.className,de,xe,yt);return _t(c.createElement("div",Object.assign({ref:se,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),ke),className:Gt,role:"progressbar","aria-valuenow":it},(0,l.Z)(Be,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),lt))}),We=Me},86035:function(b,y,e){"use strict";e.d(y,{Ag:function(){return s},IH:function(){return n},w:function(){return o}});var a=e(58757);const t=a.createContext(null),o=t.Provider;y.ZP=t;const s=a.createContext(null),n=s.Provider},40256:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(60409),s=e(33926),n=e(58757),d=e(61836),l=e(58785),c=e(86035),m=e(27538),g=e(44397);const M=n.forwardRef((h,S)=>{const{getPrefixCls:w,direction:C}=n.useContext(d.E_),[F,Z]=(0,o.Z)(h.defaultValue,{value:h.value}),N=ge=>{const be=F,Te=ge.target.value;"value"in h||Z(Te);const{onChange:Ge}=h;Ge&&Te!==be&&Ge(ge)},{prefixCls:L,className:$,rootClassName:D,options:T,buttonStyle:j="outline",disabled:K,children:k,size:te,style:V,id:q,onMouseEnter:le,onMouseLeave:X,onFocus:W,onBlur:x}=h,O=w("radio",L),_=`${O}-group`,[U,A]=(0,g.Z)(O);let G=k;T&&T.length>0&&(G=T.map(ge=>typeof ge=="string"||typeof ge=="number"?n.createElement(m.Z,{key:ge.toString(),prefixCls:O,disabled:K,value:ge,checked:F===ge},ge):n.createElement(m.Z,{key:`radio-group-value-options-${ge.value}`,prefixCls:O,disabled:ge.disabled||K,value:ge.value,checked:F===ge.value,title:ge.title,style:ge.style},ge.label)));const fe=(0,l.Z)(te),pe=t()(_,`${_}-${j}`,{[`${_}-${fe}`]:fe,[`${_}-rtl`]:C==="rtl"},$,D,A);return U(n.createElement("div",Object.assign({},(0,s.Z)(h,{aria:!0,data:!0}),{className:pe,style:V,onMouseEnter:le,onMouseLeave:X,onFocus:W,onBlur:x,id:q,ref:S}),n.createElement(c.w,{value:{onChange:N,value:F,disabled:h.disabled,name:h.name,optionType:h.optionType}},G)))});y.Z=n.memo(M)},10852:function(b,y,e){"use strict";var a=e(40256),t=e(27538),o=e(42253);const s=t.Z;s.Button=o.Z,s.Group=a.Z,s.__ANT_RADIO=!0,y.ZP=s},27538:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(60357),s=e(21319),n=e(58757),d=e(61836),l=e(92428),c=e(81496),m=e(86035),g=e(44397),M=e(37486),h=e(78856),S=function(F,Z){var N={};for(var L in F)Object.prototype.hasOwnProperty.call(F,L)&&Z.indexOf(L)<0&&(N[L]=F[L]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,L=Object.getOwnPropertySymbols(F);${var N,L;const $=n.useContext(m.ZP),D=n.useContext(m.Ag),{getPrefixCls:T,direction:j,radio:K}=n.useContext(d.E_),k=n.useRef(null),te=(0,s.sQ)(Z,k),{isFormItemInput:V}=n.useContext(c.aM),q=Ge=>{var Je,Qe;(Je=F.onChange)===null||Je===void 0||Je.call(F,Ge),(Qe=$==null?void 0:$.onChange)===null||Qe===void 0||Qe.call($,Ge)},{prefixCls:le,className:X,rootClassName:W,children:x,style:O}=F,_=S(F,["prefixCls","className","rootClassName","children","style"]),U=T("radio",le),A=(($==null?void 0:$.optionType)||D)==="button",G=A?`${U}-button`:U,[fe,pe]=(0,g.Z)(U),ge=Object.assign({},_),be=n.useContext(l.Z);$&&(ge.name=$.name,ge.onChange=q,ge.checked=F.value===$.value,ge.disabled=(N=ge.disabled)!==null&&N!==void 0?N:$.disabled),ge.disabled=(L=ge.disabled)!==null&&L!==void 0?L:be;const Te=t()(`${G}-wrapper`,{[`${G}-wrapper-checked`]:ge.checked,[`${G}-wrapper-disabled`]:ge.disabled,[`${G}-wrapper-rtl`]:j==="rtl",[`${G}-wrapper-in-form-item`]:V},K==null?void 0:K.className,X,W,pe);return fe(n.createElement(M.Z,{component:"Radio",disabled:ge.disabled},n.createElement("label",{className:Te,style:Object.assign(Object.assign({},K==null?void 0:K.style),O),onMouseEnter:F.onMouseEnter,onMouseLeave:F.onMouseLeave},n.createElement(o.Z,Object.assign({},ge,{className:t()(ge.className,!A&&h.A),type:"radio",prefixCls:G,ref:te})),x!==void 0?n.createElement("span",null,x):null)))},C=n.forwardRef(w);y.Z=C},42253:function(b,y,e){"use strict";var a=e(58757),t=e(61836),o=e(86035),s=e(27538),n=function(l,c){var m={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&c.indexOf(g)<0&&(m[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,g=Object.getOwnPropertySymbols(l);M{const{getPrefixCls:m}=a.useContext(t.E_),{prefixCls:g}=l,M=n(l,["prefixCls"]),h=m("radio",g);return a.createElement(o.IH,{value:"button"},a.createElement(s.Z,Object.assign({prefixCls:h},M,{type:"radio",ref:c})))};y.Z=a.forwardRef(d)},44397:function(b,y,e){"use strict";var a=e(78330),t=e(52628),o=e(22151);const s=c=>{const{componentCls:m,antCls:g}=c,M=`${m}-group`;return{[M]:Object.assign(Object.assign({},(0,a.Wf)(c)),{display:"inline-block",fontSize:0,[`&${M}-rtl`]:{direction:"rtl"},[`${g}-badge ${g}-badge-count`]:{zIndex:1},[`> ${g}-badge:not(:first-child) > ${g}-button-wrapper`]:{borderInlineStart:"none"}})}},n=c=>{const{componentCls:m,wrapperMarginInlineEnd:g,colorPrimary:M,radioSize:h,motionDurationSlow:S,motionDurationMid:w,motionEaseInOutCirc:C,colorBgContainer:F,colorBorder:Z,lineWidth:N,dotSize:L,colorBgContainerDisabled:$,colorTextDisabled:D,paddingXS:T,dotColorDisabled:j,lineType:K,radioDotDisabledSize:k,wireframe:te,colorWhite:V}=c,q=`${m}-inner`;return{[`${m}-wrapper`]:Object.assign(Object.assign({},(0,a.Wf)(c)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:g,cursor:"pointer",[`&${m}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:c.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${m}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${N}px ${K} ${M}`,borderRadius:"50%",visibility:"hidden",content:'""'},[m]:Object.assign(Object.assign({},(0,a.Wf)(c)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${m}-wrapper:hover &, + &:hover ${q}`]:{borderColor:M},[`${m}-input:focus-visible + ${q}`]:Object.assign({},(0,a.oN)(c)),[`${m}:hover::after, ${m}-wrapper:hover &::after`]:{visibility:"visible"},[`${m}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:h,height:h,marginBlockStart:h/-2,marginInlineStart:h/-2,backgroundColor:te?M:V,borderBlockStart:0,borderInlineStart:0,borderRadius:h,transform:"scale(0)",opacity:0,transition:`all ${S} ${C}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:h,height:h,backgroundColor:F,borderColor:Z,borderStyle:"solid",borderWidth:N,borderRadius:"50%",transition:`all ${w}`},[`${m}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${m}-checked`]:{[q]:{borderColor:M,backgroundColor:te?F:M,"&::after":{transform:`scale(${L/h})`,opacity:1,transition:`all ${S} ${C}`}}},[`${m}-disabled`]:{cursor:"not-allowed",[q]:{backgroundColor:$,borderColor:Z,cursor:"not-allowed","&::after":{backgroundColor:j}},[`${m}-input`]:{cursor:"not-allowed"},[`${m}-disabled + span`]:{color:D,cursor:"not-allowed"},[`&${m}-checked`]:{[q]:{"&::after":{transform:`scale(${k/h})`}}}},[`span${m} + *`]:{paddingInlineStart:T,paddingInlineEnd:T}})}},d=c=>{const{buttonColor:m,controlHeight:g,componentCls:M,lineWidth:h,lineType:S,colorBorder:w,motionDurationSlow:C,motionDurationMid:F,buttonPaddingInline:Z,fontSize:N,buttonBg:L,fontSizeLG:$,controlHeightLG:D,controlHeightSM:T,paddingXS:j,borderRadius:K,borderRadiusSM:k,borderRadiusLG:te,buttonCheckedBg:V,buttonSolidCheckedColor:q,colorTextDisabled:le,colorBgContainerDisabled:X,buttonCheckedBgDisabled:W,buttonCheckedColorDisabled:x,colorPrimary:O,colorPrimaryHover:_,colorPrimaryActive:U}=c;return{[`${M}-button-wrapper`]:{position:"relative",display:"inline-block",height:g,margin:0,paddingInline:Z,paddingBlock:0,color:m,fontSize:N,lineHeight:`${g-h*2}px`,background:L,border:`${h}px ${S} ${w}`,borderBlockStartWidth:h+.02,borderInlineStartWidth:0,borderInlineEndWidth:h,cursor:"pointer",transition:[`color ${F}`,`background ${F}`,`box-shadow ${F}`].join(","),a:{color:m},[`> ${M}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-h,insetInlineStart:-h,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:h,paddingInline:0,backgroundColor:w,transition:`background-color ${C}`,content:'""'}},"&:first-child":{borderInlineStart:`${h}px ${S} ${w}`,borderStartStartRadius:K,borderEndStartRadius:K},"&:last-child":{borderStartEndRadius:K,borderEndEndRadius:K},"&:first-child:last-child":{borderRadius:K},[`${M}-group-large &`]:{height:D,fontSize:$,lineHeight:`${D-h*2}px`,"&:first-child":{borderStartStartRadius:te,borderEndStartRadius:te},"&:last-child":{borderStartEndRadius:te,borderEndEndRadius:te}},[`${M}-group-small &`]:{height:T,paddingInline:j-h,paddingBlock:0,lineHeight:`${T-h*2}px`,"&:first-child":{borderStartStartRadius:k,borderEndStartRadius:k},"&:last-child":{borderStartEndRadius:k,borderEndEndRadius:k}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},(0,a.oN)(c)),[`${M}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${M}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:V,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:_,borderColor:_,"&::before":{backgroundColor:_}},"&:active":{color:U,borderColor:U,"&::before":{backgroundColor:U}}},[`${M}-group-solid &-checked:not(${M}-button-wrapper-disabled)`]:{color:q,background:O,borderColor:O,"&:hover":{color:q,background:_,borderColor:_},"&:active":{color:q,background:U,borderColor:U}},"&-disabled":{color:le,backgroundColor:X,borderColor:w,cursor:"not-allowed","&:first-child, &:hover":{color:le,backgroundColor:X,borderColor:w}},[`&-disabled${M}-button-wrapper-checked`]:{color:x,backgroundColor:W,borderColor:w,boxShadow:"none"}}}},l=c=>c-4*2;y.Z=(0,t.Z)("Radio",c=>{const{controlOutline:m,controlOutlineWidth:g,radioSize:M}=c,h=`0 0 0 ${g}px ${m}`,S=h,w=l(M),C=(0,o.TS)(c,{radioDotDisabledSize:w,radioFocusShadow:h,radioButtonFocusShadow:S});return[s(C),n(C),d(C)]},c=>{const{wireframe:m,padding:g,marginXS:M,lineWidth:h,fontSizeLG:S,colorText:w,colorBgContainer:C,colorTextDisabled:F,controlItemBgActiveDisabled:Z,colorTextLightSolid:N}=c,L=4,$=S,D=m?l($):$-(L+h)*2;return{radioSize:$,dotSize:D,dotColorDisabled:F,buttonSolidCheckedColor:N,buttonBg:C,buttonCheckedBg:C,buttonColor:w,buttonCheckedBgDisabled:Z,buttonCheckedColorDisabled:F,buttonPaddingInline:g-h,wrapperMarginInlineEnd:M}})},12632:function(b,y,e){"use strict";e.d(y,{ZP:function(){return O}});var a=e(85678),t=e(79999),o=e(69831),s=e(60698),n=e(58757),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},l=d,c=e(17202),m=function(U,A){return n.createElement(c.Z,(0,s.Z)({},U,{ref:A,icon:l}))},g=n.forwardRef(m),M=e(87608),h=e.n(M),S=e(61836),C=()=>n.createElement("svg",{width:"252",height:"294"},n.createElement("defs",null,n.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(0 .012)"},n.createElement("mask",{fill:"#fff"}),n.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),n.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),n.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),n.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),n.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),n.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),n.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),n.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),n.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),n.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),n.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),n.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),n.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),n.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),n.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),n.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),n.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),n.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),n.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),n.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),n.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),n.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),n.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),n.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),n.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),n.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),n.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),n.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),n.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),n.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),n.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),n.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),n.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),n.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),n.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),n.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),n.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),n.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),Z=()=>n.createElement("svg",{width:"254",height:"294"},n.createElement("defs",null,n.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),n.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("g",{transform:"translate(0 .067)"},n.createElement("mask",{fill:"#fff"}),n.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),n.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),n.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),n.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),n.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),n.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),n.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),n.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),n.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),n.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),n.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),n.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),n.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),n.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),n.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),n.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),n.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),n.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),n.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),n.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),n.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),n.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),n.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),n.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),n.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),n.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),n.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),n.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),n.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),n.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),n.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),n.createElement("mask",{fill:"#fff"}),n.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),n.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),n.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),n.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),n.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),n.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),n.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),n.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),n.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),L=()=>n.createElement("svg",{width:"251",height:"294"},n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),n.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),n.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),n.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),n.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),n.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),n.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),n.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),n.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),n.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),n.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),n.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),n.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),n.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),n.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),n.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),n.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),n.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),n.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),n.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),n.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),n.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),n.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),n.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),n.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),n.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),n.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),n.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),n.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),n.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),n.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),n.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),n.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),n.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),n.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),n.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),n.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),$=e(52628),D=e(22151);const T=_=>{const{componentCls:U,lineHeightHeading3:A,iconCls:G,padding:fe,paddingXL:pe,paddingXS:ge,paddingLG:be,marginXS:Te,lineHeight:Ge}=_;return{[U]:{padding:`${be*2}px ${pe}px`,"&-rtl":{direction:"rtl"}},[`${U} ${U}-image`]:{width:_.imageWidth,height:_.imageHeight,margin:"auto"},[`${U} ${U}-icon`]:{marginBottom:be,textAlign:"center",[`& > ${G}`]:{fontSize:_.iconFontSize}},[`${U} ${U}-title`]:{color:_.colorTextHeading,fontSize:_.titleFontSize,lineHeight:A,marginBlock:Te,textAlign:"center"},[`${U} ${U}-subtitle`]:{color:_.colorTextDescription,fontSize:_.subtitleFontSize,lineHeight:Ge,textAlign:"center"},[`${U} ${U}-content`]:{marginTop:be,padding:`${be}px ${fe*2.5}px`,backgroundColor:_.colorFillAlter},[`${U} ${U}-extra`]:{margin:_.extraMargin,textAlign:"center","& > *":{marginInlineEnd:ge,"&:last-child":{marginInlineEnd:0}}}}},j=_=>{const{componentCls:U,iconCls:A}=_;return{[`${U}-success ${U}-icon > ${A}`]:{color:_.resultSuccessIconColor},[`${U}-error ${U}-icon > ${A}`]:{color:_.resultErrorIconColor},[`${U}-info ${U}-icon > ${A}`]:{color:_.resultInfoIconColor},[`${U}-warning ${U}-icon > ${A}`]:{color:_.resultWarningIconColor}}},K=_=>[T(_),j(_)],k=_=>K(_);var te=(0,$.Z)("Result",_=>{const U=_.colorInfo,A=_.colorError,G=_.colorSuccess,fe=_.colorWarning,pe=(0,D.TS)(_,{resultInfoIconColor:U,resultErrorIconColor:A,resultSuccessIconColor:G,resultWarningIconColor:fe,imageWidth:250,imageHeight:295});return[k(pe)]},_=>({titleFontSize:_.fontSizeHeading3,subtitleFontSize:_.fontSize,iconFontSize:_.fontSizeHeading3*3,extraMargin:`${_.paddingLG}px 0 0 0`}));const V={success:a.Z,error:t.Z,info:o.Z,warning:g},q={404:C,500:Z,403:L},le=Object.keys(q),X=_=>{let{prefixCls:U,icon:A,status:G}=_;const fe=h()(`${U}-icon`);if(le.includes(`${G}`)){const ge=q[G];return n.createElement("div",{className:`${fe} ${U}-image`},n.createElement(ge,null))}const pe=n.createElement(V[G]);return A===null||A===!1?null:n.createElement("div",{className:fe},A||pe)},W=_=>{let{prefixCls:U,extra:A}=_;return A?n.createElement("div",{className:`${U}-extra`},A):null},x=_=>{let{prefixCls:U,className:A,rootClassName:G,subTitle:fe,title:pe,style:ge,children:be,status:Te="info",icon:Ge,extra:Je}=_;const{getPrefixCls:Qe,direction:pt,result:Et}=n.useContext(S.E_),ft=Qe("result",U),[Wt,$e]=te(ft),Xe=h()(ft,`${ft}-${Te}`,A,Et==null?void 0:Et.className,G,{[`${ft}-rtl`]:pt==="rtl"},$e),nt=Object.assign(Object.assign({},Et==null?void 0:Et.style),ge);return Wt(n.createElement("div",{className:Xe,style:nt},n.createElement(X,{prefixCls:ft,status:Te,icon:Ge}),n.createElement("div",{className:`${ft}-title`},pe),fe&&n.createElement("div",{className:`${ft}-subtitle`},fe),n.createElement(W,{prefixCls:ft,extra:Je}),be&&n.createElement("div",{className:`${ft}-content`},be)))};x.PRESENTED_IMAGE_403=q[403],x.PRESENTED_IMAGE_404=q[404],x.PRESENTED_IMAGE_500=q[500];var O=x},59504:function(b,y,e){"use strict";var a=e(87608),t=e.n(a),o=e(18510),s=e(98186),n=e(58757),d=e(15018),l=e(90881),c=e(41496),m=e(61836),g=e(92428),M=e(10401),h=e(58785),S=e(81496),w=e(43528),C=e(92493),F=e(25639),Z=e(61698),N=e(29701),L=function(K,k){var te={};for(var V in K)Object.prototype.hasOwnProperty.call(K,V)&&k.indexOf(V)<0&&(te[V]=K[V]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,V=Object.getOwnPropertySymbols(K);q{var te,{prefixCls:V,bordered:q=!0,className:le,rootClassName:X,getPopupContainer:W,popupClassName:x,dropdownClassName:O,listHeight:_=256,placement:U,listItemHeight:A=24,size:G,disabled:fe,notFoundContent:pe,status:ge,builtinPlacements:be,dropdownMatchSelectWidth:Te,popupMatchSelectWidth:Ge,direction:Je,style:Qe,allowClear:pt}=K,Et=L(K,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:ft,getPrefixCls:Wt,renderEmpty:$e,direction:Xe,virtual:nt,popupMatchSelectWidth:Ke,popupOverflow:ye,select:ne}=n.useContext(m.E_),H=Wt("select",V),R=Wt(),P=Je!=null?Je:Xe,{compactSize:ae,compactItemClassnames:Q}=(0,w.ri)(H,P),[ie,me]=(0,C.Z)(H),je=n.useMemo(()=>{const{mode:Ot}=Et;if(Ot!=="combobox")return Ot===$?"combobox":Ot},[Et.mode]),Ee=je==="multiple"||je==="tags",Me=(0,Z.Z)(Et.suffixIcon,Et.showArrow),We=(te=Ge!=null?Ge:Te)!==null&&te!==void 0?te:Ke,{status:re,hasFeedback:se,isFormItemInput:J,feedbackIcon:de}=n.useContext(S.aM),xe=(0,c.F)(re,ge);let ce;pe!==void 0?ce=pe:je==="combobox"?ce=null:ce=($e==null?void 0:$e("Select"))||n.createElement(M.Z,{componentName:"Select"});const{suffixIcon:Le,itemIcon:Oe,removeIcon:we,clearIcon:Ne}=(0,N.Z)(Object.assign(Object.assign({},Et),{multiple:Ee,hasFeedback:se,feedbackIcon:de,showSuffixIcon:Me,prefixCls:H,showArrow:Et.showArrow,componentName:"Select"})),st=pt===!0?{clearIcon:Ne}:pt,et=(0,s.Z)(Et,["suffixIcon","itemIcon"]),Ye=t()(x||O,{[`${H}-dropdown-${P}`]:P==="rtl"},X,me),ke=(0,h.Z)(Ot=>{var wt;return(wt=G!=null?G:ae)!==null&&wt!==void 0?wt:Ot}),Be=n.useContext(g.Z),it=fe!=null?fe:Be,Ve=t()({[`${H}-lg`]:ke==="large",[`${H}-sm`]:ke==="small",[`${H}-rtl`]:P==="rtl",[`${H}-borderless`]:!q,[`${H}-in-form-item`]:J},(0,c.Z)(H,xe,se),Q,ne==null?void 0:ne.className,le,X,me),xt=n.useMemo(()=>U!==void 0?U:P==="rtl"?"bottomRight":"bottomLeft",[U,P]),Ht=(0,F.Z)(be,ye);return ie(n.createElement(o.ZP,Object.assign({ref:k,virtual:nt,showSearch:ne==null?void 0:ne.showSearch},et,{style:Object.assign(Object.assign({},ne==null?void 0:ne.style),Qe),dropdownMatchSelectWidth:We,builtinPlacements:Ht,transitionName:(0,l.m)(R,"slide-up",Et.transitionName),listHeight:_,listItemHeight:A,mode:je,prefixCls:H,placement:xt,direction:P,suffixIcon:Le,menuItemSelectedIcon:Oe,removeIcon:we,allowClear:st,notFoundContent:ce,className:Ve,getPopupContainer:W||ft,dropdownClassName:Ye,disabled:it})))},T=n.forwardRef(D),j=(0,d.Z)(T);T.SECRET_COMBOBOX_MODE_DO_NOT_USE=$,T.Option=o.Wx,T.OptGroup=o.Xo,T._InternalPanelDoNotUseOrYouWillBeFired=j,y.Z=T},92493:function(b,y,e){"use strict";e.d(y,{Z:function(){return T}});var a=e(78330),t=e(64493),o=e(22151),s=e(52628),n=e(1016),d=e(1546);const l=j=>{const{controlPaddingHorizontal:K,controlHeight:k,fontSize:te,lineHeight:V}=j;return{position:"relative",display:"block",minHeight:k,padding:`${(k-te*V)/2}px ${K}px`,color:j.colorText,fontWeight:"normal",fontSize:te,lineHeight:V,boxSizing:"border-box"}};var m=j=>{const{antCls:K,componentCls:k}=j,te=`${k}-item`,V=`&${K}-slide-up-enter${K}-slide-up-enter-active`,q=`&${K}-slide-up-appear${K}-slide-up-appear-active`,le=`&${K}-slide-up-leave${K}-slide-up-leave-active`,X=`${k}-dropdown-placement-`;return[{[`${k}-dropdown`]:Object.assign(Object.assign({},(0,a.Wf)(j)),{position:"absolute",top:-9999,zIndex:j.zIndexPopup,boxSizing:"border-box",padding:j.paddingXXS,overflow:"hidden",fontSize:j.fontSize,fontVariant:"initial",backgroundColor:j.colorBgElevated,borderRadius:j.borderRadiusLG,outline:"none",boxShadow:j.boxShadowSecondary,[` + ${V}${X}bottomLeft, ${q}${X}bottomLeft `]:{animationName:n.fJ},[` - ${Y}${X}topLeft, + ${V}${X}topLeft, ${q}${X}topLeft, - ${Y}${X}topRight, + ${V}${X}topRight, ${q}${X}topRight `]:{animationName:n.Qt},[`${le}${X}bottomLeft`]:{animationName:n.Uw},[` ${le}${X}topLeft, ${le}${X}topRight - `]:{animationName:n.ly},"&-hidden":{display:"none"},[`${te}`]:Object.assign(Object.assign({},l(j)),{cursor:"pointer",transition:`background ${j.motionDurationSlow} ease`,borderRadius:j.borderRadiusSM,"&-group":{color:j.colorTextDescription,fontSize:j.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},a.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${te}-option-disabled)`]:{backgroundColor:j.controlItemBgHover},[`&-selected:not(${te}-option-disabled)`]:{color:j.colorText,fontWeight:j.fontWeightStrong,backgroundColor:j.controlItemBgActive,[`${te}-option-state`]:{color:j.colorPrimary}},"&-disabled":{[`&${te}-option-selected`]:{backgroundColor:j.colorBgContainerDisabled},color:j.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:j.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,n.oN)(j,"slide-up"),(0,n.oN)(j,"slide-down"),(0,d.Fm)(j,"move-up"),(0,d.Fm)(j,"move-down")]};const g=2,M=j=>{let{controlHeightSM:K,controlHeight:k,lineWidth:te}=j;const Y=(k-K)/2-te,q=Math.ceil(Y/2);return[Y,q]};function h(j,K){const{componentCls:k,iconCls:te}=j,Y=`${k}-selection-overflow`,q=j.controlHeightSM,[le]=M(j),X=K?`${k}-${K}`:"";return{[`${k}-multiple${X}`]:{fontSize:j.fontSize,[Y]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${k}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${le-g}px ${g*2}px`,borderRadius:j.borderRadius,[`${k}-show-search&`]:{cursor:"text"},[`${k}-disabled&`]:{background:j.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${g}px 0`,lineHeight:`${q}px`,visibility:"hidden",content:'"\\a0"'}},[` + `]:{animationName:n.ly},"&-hidden":{display:"none"},[`${te}`]:Object.assign(Object.assign({},l(j)),{cursor:"pointer",transition:`background ${j.motionDurationSlow} ease`,borderRadius:j.borderRadiusSM,"&-group":{color:j.colorTextDescription,fontSize:j.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},a.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${te}-option-disabled)`]:{backgroundColor:j.controlItemBgHover},[`&-selected:not(${te}-option-disabled)`]:{color:j.colorText,fontWeight:j.fontWeightStrong,backgroundColor:j.controlItemBgActive,[`${te}-option-state`]:{color:j.colorPrimary}},"&-disabled":{[`&${te}-option-selected`]:{backgroundColor:j.colorBgContainerDisabled},color:j.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:j.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,n.oN)(j,"slide-up"),(0,n.oN)(j,"slide-down"),(0,d.Fm)(j,"move-up"),(0,d.Fm)(j,"move-down")]};const g=2,M=j=>{let{controlHeightSM:K,controlHeight:k,lineWidth:te}=j;const V=(k-K)/2-te,q=Math.ceil(V/2);return[V,q]};function h(j,K){const{componentCls:k,iconCls:te}=j,V=`${k}-selection-overflow`,q=j.controlHeightSM,[le]=M(j),X=K?`${k}-${K}`:"";return{[`${k}-multiple${X}`]:{fontSize:j.fontSize,[V]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${k}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${le-g}px ${g*2}px`,borderRadius:j.borderRadius,[`${k}-show-search&`]:{cursor:"text"},[`${k}-disabled&`]:{background:j.colorBgContainerDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${g}px 0`,lineHeight:`${q}px`,visibility:"hidden",content:'"\\a0"'}},[` &${k}-show-arrow ${k}-selector, &${k}-allow-clear ${k}-selector - `]:{paddingInlineEnd:j.fontSizeIcon+j.controlPaddingHorizontal},[`${k}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:q,marginTop:g,marginBottom:g,lineHeight:`${q-j.lineWidth*2}px`,background:j.colorFillSecondary,borderRadius:j.borderRadiusSM,cursor:"default",transition:`font-size ${j.motionDurationSlow}, line-height ${j.motionDurationSlow}, height ${j.motionDurationSlow}`,userSelect:"none",marginInlineEnd:g*2,paddingInlineStart:j.paddingXS,paddingInlineEnd:j.paddingXS/2,[`${k}-disabled&`]:{color:j.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:j.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,a.Ro)()),{display:"inline-flex",alignItems:"center",color:j.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${te}`]:{verticalAlign:"-0.2em"},"&:hover":{color:j.colorIconHover}})},[`${Y}-item + ${Y}-item`]:{[`${k}-selection-search`]:{marginInlineStart:0}},[`${k}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:j.inputPaddingHorizontalBase-le,[` + `]:{paddingInlineEnd:j.fontSizeIcon+j.controlPaddingHorizontal},[`${k}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:q,marginTop:g,marginBottom:g,lineHeight:`${q-j.lineWidth*2}px`,background:j.colorFillSecondary,borderRadius:j.borderRadiusSM,cursor:"default",transition:`font-size ${j.motionDurationSlow}, line-height ${j.motionDurationSlow}, height ${j.motionDurationSlow}`,userSelect:"none",marginInlineEnd:g*2,paddingInlineStart:j.paddingXS,paddingInlineEnd:j.paddingXS/2,[`${k}-disabled&`]:{color:j.colorTextDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:j.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,a.Ro)()),{display:"inline-flex",alignItems:"center",color:j.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${te}`]:{verticalAlign:"-0.2em"},"&:hover":{color:j.colorIconHover}})},[`${V}-item + ${V}-item`]:{[`${k}-selection-search`]:{marginInlineStart:0}},[`${k}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:j.inputPaddingHorizontalBase-le,[` &-input, &-mirror - `]:{height:q,fontFamily:j.fontFamily,lineHeight:`${q}px`,transition:`all ${j.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${k}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:j.inputPaddingHorizontalBase,insetInlineEnd:j.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${j.motionDurationSlow}`}}}}var w=j=>{const{componentCls:K}=j,k=(0,o.TS)(j,{controlHeight:j.controlHeightSM,controlHeightSM:j.controlHeightXS,borderRadius:j.borderRadiusSM,borderRadiusSM:j.borderRadiusXS}),te=(0,o.TS)(j,{fontSize:j.fontSizeLG,controlHeight:j.controlHeightLG,controlHeightSM:j.controlHeight,borderRadius:j.borderRadiusLG,borderRadiusSM:j.borderRadius}),[,Y]=M(j);return[h(j),h(k,"sm"),{[`${K}-multiple${K}-sm`]:{[`${K}-selection-placeholder`]:{insetInline:j.controlPaddingHorizontalSM-j.lineWidth},[`${K}-selection-search`]:{marginInlineStart:Y}}},h(te,"lg")]};function C(j,K){const{componentCls:k,inputPaddingHorizontalBase:te,borderRadius:Y}=j,q=j.controlHeight-j.lineWidth*2,le=Math.ceil(j.fontSize*1.25),X=K?`${k}-${K}`:"";return{[`${k}-single${X}`]:{fontSize:j.fontSize,[`${k}-selector`]:Object.assign(Object.assign({},(0,a.Wf)(j)),{display:"flex",borderRadius:Y,[`${k}-selection-search`]:{position:"absolute",top:0,insetInlineStart:te,insetInlineEnd:te,bottom:0,"&-input":{width:"100%"}},[` + `]:{height:q,fontFamily:j.fontFamily,lineHeight:`${q}px`,transition:`all ${j.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${k}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:j.inputPaddingHorizontalBase,insetInlineEnd:j.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${j.motionDurationSlow}`}}}}var w=j=>{const{componentCls:K}=j,k=(0,o.TS)(j,{controlHeight:j.controlHeightSM,controlHeightSM:j.controlHeightXS,borderRadius:j.borderRadiusSM,borderRadiusSM:j.borderRadiusXS}),te=(0,o.TS)(j,{fontSize:j.fontSizeLG,controlHeight:j.controlHeightLG,controlHeightSM:j.controlHeight,borderRadius:j.borderRadiusLG,borderRadiusSM:j.borderRadius}),[,V]=M(j);return[h(j),h(k,"sm"),{[`${K}-multiple${K}-sm`]:{[`${K}-selection-placeholder`]:{insetInline:j.controlPaddingHorizontalSM-j.lineWidth},[`${K}-selection-search`]:{marginInlineStart:V}}},h(te,"lg")]};function C(j,K){const{componentCls:k,inputPaddingHorizontalBase:te,borderRadius:V}=j,q=j.controlHeight-j.lineWidth*2,le=Math.ceil(j.fontSize*1.25),X=K?`${k}-${K}`:"";return{[`${k}-single${X}`]:{fontSize:j.fontSize,[`${k}-selector`]:Object.assign(Object.assign({},(0,a.Wf)(j)),{display:"flex",borderRadius:V,[`${k}-selection-search`]:{position:"absolute",top:0,insetInlineStart:te,insetInlineEnd:te,bottom:0,"&-input":{width:"100%"}},[` ${k}-selection-item, ${k}-selection-placeholder `]:{padding:0,lineHeight:`${q}px`,transition:`all ${j.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${q}px`}},[`${k}-selection-item`]:{position:"relative",userSelect:"none"},[`${k}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${k}-selection-item:after`,`${k}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` &${k}-show-arrow ${k}-selection-item, &${k}-show-arrow ${k}-selection-placeholder - `]:{paddingInlineEnd:le},[`&${k}-open ${k}-selection-item`]:{color:j.colorTextPlaceholder},[`&:not(${k}-customize-input)`]:{[`${k}-selector`]:{width:"100%",height:j.controlHeight,padding:`0 ${te}px`,[`${k}-selection-search-input`]:{height:q},"&:after":{lineHeight:`${q}px`}}},[`&${k}-customize-input`]:{[`${k}-selector`]:{"&:after":{display:"none"},[`${k}-selection-search`]:{position:"static",width:"100%"},[`${k}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${te}px`,"&:after":{display:"none"}}}}}}}function z(j){const{componentCls:K}=j,k=j.controlPaddingHorizontalSM-j.lineWidth;return[C(j),C((0,o.TS)(j,{controlHeight:j.controlHeightSM,borderRadius:j.borderRadiusSM}),"sm"),{[`${K}-single${K}-sm`]:{[`&:not(${K}-customize-input)`]:{[`${K}-selection-search`]:{insetInlineStart:k,insetInlineEnd:k},[`${K}-selector`]:{padding:`0 ${k}px`},[`&${K}-show-arrow ${K}-selection-search`]:{insetInlineEnd:k+j.fontSize*1.5},[` + `]:{paddingInlineEnd:le},[`&${k}-open ${k}-selection-item`]:{color:j.colorTextPlaceholder},[`&:not(${k}-customize-input)`]:{[`${k}-selector`]:{width:"100%",height:j.controlHeight,padding:`0 ${te}px`,[`${k}-selection-search-input`]:{height:q},"&:after":{lineHeight:`${q}px`}}},[`&${k}-customize-input`]:{[`${k}-selector`]:{"&:after":{display:"none"},[`${k}-selection-search`]:{position:"static",width:"100%"},[`${k}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${te}px`,"&:after":{display:"none"}}}}}}}function F(j){const{componentCls:K}=j,k=j.controlPaddingHorizontalSM-j.lineWidth;return[C(j),C((0,o.TS)(j,{controlHeight:j.controlHeightSM,borderRadius:j.borderRadiusSM}),"sm"),{[`${K}-single${K}-sm`]:{[`&:not(${K}-customize-input)`]:{[`${K}-selection-search`]:{insetInlineStart:k,insetInlineEnd:k},[`${K}-selector`]:{padding:`0 ${k}px`},[`&${K}-show-arrow ${K}-selection-search`]:{insetInlineEnd:k+j.fontSize*1.5},[` &${K}-show-arrow ${K}-selection-item, &${K}-show-arrow ${K}-selection-placeholder - `]:{paddingInlineEnd:j.fontSize*1.5}}}},C((0,o.TS)(j,{controlHeight:j.controlHeightLG,fontSize:j.fontSizeLG,borderRadius:j.borderRadiusLG}),"lg")]}const $=j=>{const{componentCls:K}=j;return{position:"relative",backgroundColor:j.colorBgContainer,border:`${j.lineWidth}px ${j.lineType} ${j.colorBorder}`,transition:`all ${j.motionDurationMid} ${j.motionEaseInOut}`,input:{cursor:"pointer"},[`${K}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${K}-disabled&`]:{color:j.colorTextDisabled,background:j.colorBgContainerDisabled,cursor:"not-allowed",[`${K}-multiple&`]:{background:j.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},N=function(j,K){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:te,borderHoverColor:Y,outlineColor:q,antCls:le}=K,X=k?{[`${te}-selector`]:{borderColor:Y}}:{};return{[j]:{[`&:not(${te}-disabled):not(${te}-customize-input):not(${le}-pagination-size-changer)`]:Object.assign(Object.assign({},X),{[`${te}-focused& ${te}-selector`]:{borderColor:Y,boxShadow:`0 0 0 ${K.controlOutlineWidth}px ${q}`,outline:0},[`&:hover ${te}-selector`]:{borderColor:Y}})}}},L=j=>{const{componentCls:K}=j;return{[`${K}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},B=j=>{const{componentCls:K,inputPaddingHorizontalBase:k,iconCls:te}=j;return{[K]:Object.assign(Object.assign({},(0,a.Wf)(j)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${K}-customize-input) ${K}-selector`]:Object.assign(Object.assign({},$(j)),L(j)),[`${K}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},a.vS),[`${K}-selection-placeholder`]:Object.assign(Object.assign({},a.vS),{flex:1,color:j.colorTextPlaceholder,pointerEvents:"none"}),[`${K}-arrow`]:Object.assign(Object.assign({},(0,a.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:k,height:j.fontSizeIcon,marginTop:-j.fontSizeIcon/2,color:j.colorTextQuaternary,fontSize:j.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[te]:{verticalAlign:"top",transition:`transform ${j.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${K}-suffix)`]:{pointerEvents:"auto"}},[`${K}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${K}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:k,zIndex:1,display:"inline-block",width:j.fontSizeIcon,height:j.fontSizeIcon,marginTop:-j.fontSizeIcon/2,color:j.colorTextQuaternary,fontSize:j.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:j.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${j.motionDurationMid} ease, opacity ${j.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:j.colorTextTertiary}},"&:hover":{[`${K}-clear`]:{opacity:1}}}),[`${K}-has-feedback`]:{[`${K}-clear`]:{insetInlineEnd:k+j.fontSize+j.paddingXS}}}},D=j=>{const{componentCls:K}=j;return[{[K]:{[`&-borderless ${K}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${K}-in-form-item`]:{width:"100%"}}},B(j),z(j),w(j),m(j),{[`${K}-rtl`]:{direction:"rtl"}},N(K,(0,o.TS)(j,{borderHoverColor:j.colorPrimaryHover,outlineColor:j.controlOutline})),N(`${K}-status-error`,(0,o.TS)(j,{borderHoverColor:j.colorErrorHover,outlineColor:j.colorErrorOutline}),!0),N(`${K}-status-warning`,(0,o.TS)(j,{borderHoverColor:j.colorWarningHover,outlineColor:j.colorWarningOutline}),!0),(0,t.c)(j,{borderElCls:`${K}-selector`,focusElCls:`${K}-focused`})]};var T=(0,s.Z)("Select",(j,K)=>{let{rootPrefixCls:k}=K;const te=(0,o.TS)(j,{rootPrefixCls:k,inputPaddingHorizontalBase:j.paddingSM-1});return[D(te)]},j=>({zIndexPopup:j.zIndexPopupBase+50}))},25639:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});const a=o=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:o==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function t(o,s){return o||a(s)}},61698:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t,o){return o!==void 0?o:t!==null}},29701:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});var a=e(35725),t=e(79999),o=e(52495),s=e(10130),n=e(25755),d=e(99534),l=e(58757);function c(m){let{suffixIcon:g,clearIcon:M,menuItemSelectedIcon:h,removeIcon:S,loading:w,multiple:C,hasFeedback:z,prefixCls:$,showSuffixIcon:N,feedbackIcon:L,showArrow:B,componentName:D}=m;const T=M!=null?M:l.createElement(t.Z,null),j=Y=>g===null&&!z&&!B?null:l.createElement(l.Fragment,null,N!==!1&&Y,z&&L);let K=null;if(g!==void 0)K=j(g);else if(w)K=j(l.createElement(n.Z,{spin:!0}));else{const Y=`${$}-suffix`;K=q=>{let{open:le,showSearch:X}=q;return j(le&&X?l.createElement(d.Z,{className:Y}):l.createElement(s.Z,{className:Y}))}}let k=null;h!==void 0?k=h:C?k=l.createElement(a.Z,null):k=null;let te=null;return S!==void 0?te=S:te=l.createElement(o.Z,null),{clearIcon:T,suffixIcon:K,itemIcon:k,removeIcon:te}}},57214:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ke}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(98186),l=ye=>{const{prefixCls:ne,className:H,style:R,size:P,shape:ae}=ye,Q=t()({[`${ne}-lg`]:P==="large",[`${ne}-sm`]:P==="small"}),ie=t()({[`${ne}-circle`]:ae==="circle",[`${ne}-square`]:ae==="square",[`${ne}-round`]:ae==="round"}),me=o.useMemo(()=>typeof P=="number"?{width:P,height:P,lineHeight:`${P}px`}:{},[P]);return o.createElement("span",{className:t()(ne,Q,ie,H),style:Object.assign(Object.assign({},me),R)})},c=e(57793),m=e(52628),g=e(22151);const M=new c.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),h=ye=>({height:ye,lineHeight:`${ye}px`}),S=ye=>Object.assign({width:ye},h(ye)),w=ye=>({background:ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:M,animationDuration:ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),C=ye=>Object.assign({width:ye*5,minWidth:ye*5},h(ye)),z=ye=>{const{skeletonAvatarCls:ne,gradientFromColor:H,controlHeight:R,controlHeightLG:P,controlHeightSM:ae}=ye;return{[`${ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:H},S(R)),[`${ne}${ne}-circle`]:{borderRadius:"50%"},[`${ne}${ne}-lg`]:Object.assign({},S(P)),[`${ne}${ne}-sm`]:Object.assign({},S(ae))}},$=ye=>{const{controlHeight:ne,borderRadiusSM:H,skeletonInputCls:R,controlHeightLG:P,controlHeightSM:ae,gradientFromColor:Q}=ye;return{[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Q,borderRadius:H},C(ne)),[`${R}-lg`]:Object.assign({},C(P)),[`${R}-sm`]:Object.assign({},C(ae))}},N=ye=>Object.assign({width:ye},h(ye)),L=ye=>{const{skeletonImageCls:ne,imageSizeBase:H,gradientFromColor:R,borderRadiusSM:P}=ye;return{[`${ne}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:R,borderRadius:P},N(H*2)),{[`${ne}-path`]:{fill:"#bfbfbf"},[`${ne}-svg`]:Object.assign(Object.assign({},N(H)),{maxWidth:H*4,maxHeight:H*4}),[`${ne}-svg${ne}-svg-circle`]:{borderRadius:"50%"}}),[`${ne}${ne}-circle`]:{borderRadius:"50%"}}},B=(ye,ne,H)=>{const{skeletonButtonCls:R}=ye;return{[`${H}${R}-circle`]:{width:ne,minWidth:ne,borderRadius:"50%"},[`${H}${R}-round`]:{borderRadius:ne}}},D=ye=>Object.assign({width:ye*2,minWidth:ye*2},h(ye)),T=ye=>{const{borderRadiusSM:ne,skeletonButtonCls:H,controlHeight:R,controlHeightLG:P,controlHeightSM:ae,gradientFromColor:Q}=ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${H}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Q,borderRadius:ne,width:R*2,minWidth:R*2},D(R))},B(ye,R,H)),{[`${H}-lg`]:Object.assign({},D(P))}),B(ye,P,`${H}-lg`)),{[`${H}-sm`]:Object.assign({},D(ae))}),B(ye,ae,`${H}-sm`))},j=ye=>{const{componentCls:ne,skeletonAvatarCls:H,skeletonTitleCls:R,skeletonParagraphCls:P,skeletonButtonCls:ae,skeletonInputCls:Q,skeletonImageCls:ie,controlHeight:me,controlHeightLG:je,controlHeightSM:Ee,gradientFromColor:Me,padding:We,marginSM:re,borderRadius:se,titleHeight:J,blockRadius:ce,paragraphLiHeight:xe,controlHeightXS:ue,paragraphMarginTop:Ne}=ye;return{[`${ne}`]:{display:"table",width:"100%",[`${ne}-header`]:{display:"table-cell",paddingInlineEnd:We,verticalAlign:"top",[`${H}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Me},S(me)),[`${H}-circle`]:{borderRadius:"50%"},[`${H}-lg`]:Object.assign({},S(je)),[`${H}-sm`]:Object.assign({},S(Ee))},[`${ne}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${R}`]:{width:"100%",height:J,background:Me,borderRadius:ce,[`+ ${P}`]:{marginBlockStart:Ee}},[`${P}`]:{padding:0,"> li":{width:"100%",height:xe,listStyle:"none",background:Me,borderRadius:ce,"+ li":{marginBlockStart:ue}}},[`${P}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ne}-content`]:{[`${R}, ${P} > li`]:{borderRadius:se}}},[`${ne}-with-avatar ${ne}-content`]:{[`${R}`]:{marginBlockStart:re,[`+ ${P}`]:{marginBlockStart:Ne}}},[`${ne}${ne}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},T(ye)),z(ye)),$(ye)),L(ye)),[`${ne}${ne}-block`]:{width:"100%",[`${ae}`]:{width:"100%"},[`${Q}`]:{width:"100%"}},[`${ne}${ne}-active`]:{[` + `]:{paddingInlineEnd:j.fontSize*1.5}}}},C((0,o.TS)(j,{controlHeight:j.controlHeightLG,fontSize:j.fontSizeLG,borderRadius:j.borderRadiusLG}),"lg")]}const Z=j=>{const{componentCls:K}=j;return{position:"relative",backgroundColor:j.colorBgContainer,border:`${j.lineWidth}px ${j.lineType} ${j.colorBorder}`,transition:`all ${j.motionDurationMid} ${j.motionEaseInOut}`,input:{cursor:"pointer"},[`${K}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${K}-disabled&`]:{color:j.colorTextDisabled,background:j.colorBgContainerDisabled,cursor:"not-allowed",[`${K}-multiple&`]:{background:j.colorBgContainerDisabled},input:{cursor:"not-allowed"}}}},N=function(j,K){let k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:te,borderHoverColor:V,outlineColor:q,antCls:le}=K,X=k?{[`${te}-selector`]:{borderColor:V}}:{};return{[j]:{[`&:not(${te}-disabled):not(${te}-customize-input):not(${le}-pagination-size-changer)`]:Object.assign(Object.assign({},X),{[`${te}-focused& ${te}-selector`]:{borderColor:V,boxShadow:`0 0 0 ${K.controlOutlineWidth}px ${q}`,outline:0},[`&:hover ${te}-selector`]:{borderColor:V}})}}},L=j=>{const{componentCls:K}=j;return{[`${K}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},$=j=>{const{componentCls:K,inputPaddingHorizontalBase:k,iconCls:te}=j;return{[K]:Object.assign(Object.assign({},(0,a.Wf)(j)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${K}-customize-input) ${K}-selector`]:Object.assign(Object.assign({},Z(j)),L(j)),[`${K}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},a.vS),[`${K}-selection-placeholder`]:Object.assign(Object.assign({},a.vS),{flex:1,color:j.colorTextPlaceholder,pointerEvents:"none"}),[`${K}-arrow`]:Object.assign(Object.assign({},(0,a.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:k,height:j.fontSizeIcon,marginTop:-j.fontSizeIcon/2,color:j.colorTextQuaternary,fontSize:j.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[te]:{verticalAlign:"top",transition:`transform ${j.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${K}-suffix)`]:{pointerEvents:"auto"}},[`${K}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${K}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:k,zIndex:1,display:"inline-block",width:j.fontSizeIcon,height:j.fontSizeIcon,marginTop:-j.fontSizeIcon/2,color:j.colorTextQuaternary,fontSize:j.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:j.colorBgContainer,cursor:"pointer",opacity:0,transition:`color ${j.motionDurationMid} ease, opacity ${j.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:j.colorTextTertiary}},"&:hover":{[`${K}-clear`]:{opacity:1}}}),[`${K}-has-feedback`]:{[`${K}-clear`]:{insetInlineEnd:k+j.fontSize+j.paddingXS}}}},D=j=>{const{componentCls:K}=j;return[{[K]:{[`&-borderless ${K}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${K}-in-form-item`]:{width:"100%"}}},$(j),F(j),w(j),m(j),{[`${K}-rtl`]:{direction:"rtl"}},N(K,(0,o.TS)(j,{borderHoverColor:j.colorPrimaryHover,outlineColor:j.controlOutline})),N(`${K}-status-error`,(0,o.TS)(j,{borderHoverColor:j.colorErrorHover,outlineColor:j.colorErrorOutline}),!0),N(`${K}-status-warning`,(0,o.TS)(j,{borderHoverColor:j.colorWarningHover,outlineColor:j.colorWarningOutline}),!0),(0,t.c)(j,{borderElCls:`${K}-selector`,focusElCls:`${K}-focused`})]};var T=(0,s.Z)("Select",(j,K)=>{let{rootPrefixCls:k}=K;const te=(0,o.TS)(j,{rootPrefixCls:k,inputPaddingHorizontalBase:j.paddingSM-1});return[D(te)]},j=>({zIndexPopup:j.zIndexPopupBase+50}))},25639:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});const a=o=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:o==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function t(o,s){return o||a(s)}},61698:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t,o){return o!==void 0?o:t!==null}},29701:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});var a=e(35725),t=e(79999),o=e(52495),s=e(10130),n=e(25755),d=e(99534),l=e(58757);function c(m){let{suffixIcon:g,clearIcon:M,menuItemSelectedIcon:h,removeIcon:S,loading:w,multiple:C,hasFeedback:F,prefixCls:Z,showSuffixIcon:N,feedbackIcon:L,showArrow:$,componentName:D}=m;const T=M!=null?M:l.createElement(t.Z,null),j=V=>g===null&&!F&&!$?null:l.createElement(l.Fragment,null,N!==!1&&V,F&&L);let K=null;if(g!==void 0)K=j(g);else if(w)K=j(l.createElement(n.Z,{spin:!0}));else{const V=`${Z}-suffix`;K=q=>{let{open:le,showSearch:X}=q;return j(le&&X?l.createElement(d.Z,{className:V}):l.createElement(s.Z,{className:V}))}}let k=null;h!==void 0?k=h:C?k=l.createElement(a.Z,null):k=null;let te=null;return S!==void 0?te=S:te=l.createElement(o.Z,null),{clearIcon:T,suffixIcon:K,itemIcon:k,removeIcon:te}}},57214:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ke}});var a=e(87608),t=e.n(a),o=e(58757),s=e(61836),n=e(98186),l=ye=>{const{prefixCls:ne,className:H,style:R,size:P,shape:ae}=ye,Q=t()({[`${ne}-lg`]:P==="large",[`${ne}-sm`]:P==="small"}),ie=t()({[`${ne}-circle`]:ae==="circle",[`${ne}-square`]:ae==="square",[`${ne}-round`]:ae==="round"}),me=o.useMemo(()=>typeof P=="number"?{width:P,height:P,lineHeight:`${P}px`}:{},[P]);return o.createElement("span",{className:t()(ne,Q,ie,H),style:Object.assign(Object.assign({},me),R)})},c=e(57793),m=e(52628),g=e(22151);const M=new c.E4("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),h=ye=>({height:ye,lineHeight:`${ye}px`}),S=ye=>Object.assign({width:ye},h(ye)),w=ye=>({background:ye.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:M,animationDuration:ye.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),C=ye=>Object.assign({width:ye*5,minWidth:ye*5},h(ye)),F=ye=>{const{skeletonAvatarCls:ne,gradientFromColor:H,controlHeight:R,controlHeightLG:P,controlHeightSM:ae}=ye;return{[`${ne}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:H},S(R)),[`${ne}${ne}-circle`]:{borderRadius:"50%"},[`${ne}${ne}-lg`]:Object.assign({},S(P)),[`${ne}${ne}-sm`]:Object.assign({},S(ae))}},Z=ye=>{const{controlHeight:ne,borderRadiusSM:H,skeletonInputCls:R,controlHeightLG:P,controlHeightSM:ae,gradientFromColor:Q}=ye;return{[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Q,borderRadius:H},C(ne)),[`${R}-lg`]:Object.assign({},C(P)),[`${R}-sm`]:Object.assign({},C(ae))}},N=ye=>Object.assign({width:ye},h(ye)),L=ye=>{const{skeletonImageCls:ne,imageSizeBase:H,gradientFromColor:R,borderRadiusSM:P}=ye;return{[`${ne}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:R,borderRadius:P},N(H*2)),{[`${ne}-path`]:{fill:"#bfbfbf"},[`${ne}-svg`]:Object.assign(Object.assign({},N(H)),{maxWidth:H*4,maxHeight:H*4}),[`${ne}-svg${ne}-svg-circle`]:{borderRadius:"50%"}}),[`${ne}${ne}-circle`]:{borderRadius:"50%"}}},$=(ye,ne,H)=>{const{skeletonButtonCls:R}=ye;return{[`${H}${R}-circle`]:{width:ne,minWidth:ne,borderRadius:"50%"},[`${H}${R}-round`]:{borderRadius:ne}}},D=ye=>Object.assign({width:ye*2,minWidth:ye*2},h(ye)),T=ye=>{const{borderRadiusSM:ne,skeletonButtonCls:H,controlHeight:R,controlHeightLG:P,controlHeightSM:ae,gradientFromColor:Q}=ye;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${H}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Q,borderRadius:ne,width:R*2,minWidth:R*2},D(R))},$(ye,R,H)),{[`${H}-lg`]:Object.assign({},D(P))}),$(ye,P,`${H}-lg`)),{[`${H}-sm`]:Object.assign({},D(ae))}),$(ye,ae,`${H}-sm`))},j=ye=>{const{componentCls:ne,skeletonAvatarCls:H,skeletonTitleCls:R,skeletonParagraphCls:P,skeletonButtonCls:ae,skeletonInputCls:Q,skeletonImageCls:ie,controlHeight:me,controlHeightLG:je,controlHeightSM:Ee,gradientFromColor:Me,padding:We,marginSM:re,borderRadius:se,titleHeight:J,blockRadius:de,paragraphLiHeight:xe,controlHeightXS:ce,paragraphMarginTop:Le}=ye;return{[`${ne}`]:{display:"table",width:"100%",[`${ne}-header`]:{display:"table-cell",paddingInlineEnd:We,verticalAlign:"top",[`${H}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Me},S(me)),[`${H}-circle`]:{borderRadius:"50%"},[`${H}-lg`]:Object.assign({},S(je)),[`${H}-sm`]:Object.assign({},S(Ee))},[`${ne}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${R}`]:{width:"100%",height:J,background:Me,borderRadius:de,[`+ ${P}`]:{marginBlockStart:Ee}},[`${P}`]:{padding:0,"> li":{width:"100%",height:xe,listStyle:"none",background:Me,borderRadius:de,"+ li":{marginBlockStart:ce}}},[`${P}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${ne}-content`]:{[`${R}, ${P} > li`]:{borderRadius:se}}},[`${ne}-with-avatar ${ne}-content`]:{[`${R}`]:{marginBlockStart:re,[`+ ${P}`]:{marginBlockStart:Le}}},[`${ne}${ne}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},T(ye)),F(ye)),Z(ye)),L(ye)),[`${ne}${ne}-block`]:{width:"100%",[`${ae}`]:{width:"100%"},[`${Q}`]:{width:"100%"}},[`${ne}${ne}-active`]:{[` ${R}, ${P} > li, ${H}, ${ae}, ${Q}, ${ie} - `]:Object.assign({},w(ye))}}};var K=(0,m.Z)("Skeleton",ye=>{const{componentCls:ne}=ye,H=(0,g.TS)(ye,{skeletonAvatarCls:`${ne}-avatar`,skeletonTitleCls:`${ne}-title`,skeletonParagraphCls:`${ne}-paragraph`,skeletonButtonCls:`${ne}-button`,skeletonInputCls:`${ne}-input`,skeletonImageCls:`${ne}-image`,imageSizeBase:ye.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ye.gradientFromColor} 25%, ${ye.gradientToColor} 37%, ${ye.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[j(H)]},ye=>{const{colorFillContent:ne,colorFill:H}=ye,R=ne,P=H;return{color:R,colorGradientEnd:P,gradientFromColor:R,gradientToColor:P,titleHeight:ye.controlHeight/2,blockRadius:ye.borderRadiusSM,paragraphMarginTop:ye.marginLG+ye.marginXXS,paragraphLiHeight:ye.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),te=ye=>{const{prefixCls:ne,className:H,rootClassName:R,active:P,shape:ae="circle",size:Q="default"}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=(0,n.Z)(ye,["prefixCls","className"]),We=t()(me,`${me}-element`,{[`${me}-active`]:P},H,R,Ee);return je(o.createElement("div",{className:We},o.createElement(l,Object.assign({prefixCls:`${me}-avatar`,shape:ae,size:Q},Me))))},q=ye=>{const{prefixCls:ne,className:H,rootClassName:R,active:P,block:ae=!1,size:Q="default"}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=(0,n.Z)(ye,["prefixCls"]),We=t()(me,`${me}-element`,{[`${me}-active`]:P,[`${me}-block`]:ae},H,R,Ee);return je(o.createElement("div",{className:We},o.createElement(l,Object.assign({prefixCls:`${me}-button`,size:Q},Me))))};const le="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var W=ye=>{const{prefixCls:ne,className:H,rootClassName:R,style:P,active:ae}=ye,{getPrefixCls:Q}=o.useContext(s.E_),ie=Q("skeleton",ne),[me,je]=K(ie),Ee=t()(ie,`${ie}-element`,{[`${ie}-active`]:ae},H,R,je);return me(o.createElement("div",{className:Ee},o.createElement("div",{className:t()(`${ie}-image`,H),style:P},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ie}-image-svg`},o.createElement("path",{d:le,className:`${ie}-image-path`})))))},O=ye=>{const{prefixCls:ne,className:H,rootClassName:R,active:P,block:ae,size:Q="default"}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=(0,n.Z)(ye,["prefixCls"]),We=t()(me,`${me}-element`,{[`${me}-active`]:P,[`${me}-block`]:ae},H,R,Ee);return je(o.createElement("div",{className:We},o.createElement(l,Object.assign({prefixCls:`${me}-input`,size:Q},Me))))},_=e(60698),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},A=U,G=e(17202),de=function(ne,H){return o.createElement(G.Z,(0,_.Z)({},ne,{ref:H,icon:A}))},he=o.forwardRef(de),be=ye=>{const{prefixCls:ne,className:H,rootClassName:R,style:P,active:ae,children:Q}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=t()(me,`${me}-element`,{[`${me}-active`]:ae},Ee,H,R),We=Q!=null?Q:o.createElement(he,null);return je(o.createElement("div",{className:Me},o.createElement("div",{className:t()(`${me}-image`,H),style:P},We)))},Te=e(29140),Je=ye=>{const ne=ie=>{const{width:me,rows:je=2}=ye;if(Array.isArray(me))return me[ie];if(je-1===ie)return me},{prefixCls:H,className:R,style:P,rows:ae}=ye,Q=(0,Te.Z)(Array(ae)).map((ie,me)=>o.createElement("li",{key:me,style:{width:ne(me)}}));return o.createElement("ul",{className:t()(H,R),style:P},Q)},pt=ye=>{let{prefixCls:ne,className:H,width:R,style:P}=ye;return o.createElement("h3",{className:t()(ne,H),style:Object.assign({width:R},P)})};function Ct(ye){return ye&&typeof ye=="object"?ye:{}}function ft(ye,ne){return ye&&!ne?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ht(ye,ne){return!ye&&ne?{width:"38%"}:ye&&ne?{width:"50%"}:{}}function Ze(ye,ne){const H={};return(!ye||!ne)&&(H.width="61%"),!ye&&ne?H.rows=3:H.rows=2,H}const Xe=ye=>{const{prefixCls:ne,loading:H,className:R,rootClassName:P,style:ae,children:Q,avatar:ie=!1,title:me=!0,paragraph:je=!0,active:Ee,round:Me}=ye,{getPrefixCls:We,direction:re,skeleton:se}=o.useContext(s.E_),J=We("skeleton",ne),[ce,xe]=K(J);if(H||!("loading"in ye)){const ue=!!ie,Ne=!!me,Oe=!!je;let we;if(ue){const tt=Object.assign(Object.assign({prefixCls:`${J}-avatar`},ft(Ne,Oe)),Ct(ie));we=o.createElement("div",{className:`${J}-header`},o.createElement(l,Object.assign({},tt)))}let Re;if(Ne||Oe){let tt;if(Ne){const ke=Object.assign(Object.assign({prefixCls:`${J}-title`},Ht(ue,Oe)),Ct(me));tt=o.createElement(pt,Object.assign({},ke))}let Ye;if(Oe){const ke=Object.assign(Object.assign({prefixCls:`${J}-paragraph`},Ze(ue,Ne)),Ct(je));Ye=o.createElement(Je,Object.assign({},ke))}Re=o.createElement("div",{className:`${J}-content`},tt,Ye)}const st=t()(J,{[`${J}-with-avatar`]:ue,[`${J}-active`]:Ee,[`${J}-rtl`]:re==="rtl",[`${J}-round`]:Me},se==null?void 0:se.className,R,P,xe);return ce(o.createElement("div",{className:st,style:Object.assign(Object.assign({},se==null?void 0:se.style),ae)},we,Re))}return typeof Q!="undefined"?Q:null};Xe.Button=q,Xe.Avatar=te,Xe.Input=O,Xe.Image=W,Xe.Node=be;var rt=Xe,Ke=rt},94706:function(b,y,e){"use strict";e.d(y,{Z:function(){return R}});var a=e(87608),t=e.n(a),o=e(37734),s=e(29140),n=e(28314),d=e(38790),l=e(58757),c=e(7637),m=e(60409),g=e(60698),M=e(47075),h=e(57370),S=e(29639),w=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),C=w;function z(P,ae,Q){return(P-ae)/(Q-ae)}function $(P,ae,Q,ie){var me=z(ae,Q,ie),je={};switch(P){case"rtl":je.right="".concat(me*100,"%"),je.transform="translateX(50%)";break;case"btt":je.bottom="".concat(me*100,"%"),je.transform="translateY(50%)";break;case"ttb":je.top="".concat(me*100,"%"),je.transform="translateY(-50%)";break;default:je.left="".concat(me*100,"%"),je.transform="translateX(-50%)";break}return je}function N(P,ae){return Array.isArray(P)?P[ae]:P}var L=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],B=l.forwardRef(function(P,ae){var Q,ie,me=P.prefixCls,je=P.value,Ee=P.valueIndex,Me=P.onStartMove,We=P.style,re=P.render,se=P.dragging,J=P.onOffsetChange,ce=(0,M.Z)(P,L),xe=l.useContext(C),ue=xe.min,Ne=xe.max,Oe=xe.direction,we=xe.disabled,Re=xe.keyboard,st=xe.range,tt=xe.tabIndex,Ye=xe.ariaLabelForHandle,ke=xe.ariaLabelledByForHandle,Be=xe.ariaValueTextFormatterForHandle,it="".concat(me,"-handle"),Ve=function(Yt){we||Me(Yt,Ee)},It=function(Yt){if(!we&&Re){var yt=null;switch(Yt.which||Yt.keyCode){case S.Z.LEFT:yt=Oe==="ltr"||Oe==="btt"?-1:1;break;case S.Z.RIGHT:yt=Oe==="ltr"||Oe==="btt"?1:-1;break;case S.Z.UP:yt=Oe!=="ttb"?1:-1;break;case S.Z.DOWN:yt=Oe!=="ttb"?-1:1;break;case S.Z.HOME:yt="min";break;case S.Z.END:yt="max";break;case S.Z.PAGE_UP:yt=2;break;case S.Z.PAGE_DOWN:yt=-2;break}yt!==null&&(Yt.preventDefault(),J(yt,Ee))}},_t=$(Oe,je,ue,Ne),wt=l.createElement("div",(0,g.Z)({ref:ae,className:t()(it,(Q={},(0,o.Z)(Q,"".concat(it,"-").concat(Ee+1),st),(0,o.Z)(Q,"".concat(it,"-dragging"),se),Q)),style:(0,h.Z)((0,h.Z)({},_t),We),onMouseDown:Ve,onTouchStart:Ve,onKeyDown:It,tabIndex:we?null:N(tt,Ee),role:"slider","aria-valuemin":ue,"aria-valuemax":Ne,"aria-valuenow":je,"aria-disabled":we,"aria-label":N(Ye,Ee),"aria-labelledby":N(ke,Ee),"aria-valuetext":(ie=N(Be,Ee))===null||ie===void 0?void 0:ie(je)},ce));return re&&(wt=re(wt,{index:Ee,prefixCls:me,value:je,dragging:se})),wt}),D=B,T=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],j=l.forwardRef(function(P,ae){var Q=P.prefixCls,ie=P.style,me=P.onStartMove,je=P.onOffsetChange,Ee=P.values,Me=P.handleRender,We=P.draggingIndex,re=(0,M.Z)(P,T),se=l.useRef({});return l.useImperativeHandle(ae,function(){return{focus:function(ce){var xe;(xe=se.current[ce])===null||xe===void 0||xe.focus()}}}),l.createElement(l.Fragment,null,Ee.map(function(J,ce){return l.createElement(D,(0,g.Z)({ref:function(ue){ue?se.current[ce]=ue:delete se.current[ce]},dragging:We===ce,prefixCls:Q,style:N(ie,ce),key:ce,value:J,valueIndex:ce,onStartMove:me,onOffsetChange:je,render:Me},re))}))}),K=j;function k(P){var ae="touches"in P?P.touches[0]:P;return{pageX:ae.pageX,pageY:ae.pageY}}function te(P,ae,Q,ie,me,je,Ee,Me,We){var re=l.useState(null),se=(0,n.Z)(re,2),J=se[0],ce=se[1],xe=l.useState(-1),ue=(0,n.Z)(xe,2),Ne=ue[0],Oe=ue[1],we=l.useState(Q),Re=(0,n.Z)(we,2),st=Re[0],tt=Re[1],Ye=l.useState(Q),ke=(0,n.Z)(Ye,2),Be=ke[0],it=ke[1],Ve=l.useRef(null),It=l.useRef(null);l.useEffect(function(){Ne===-1&&tt(Q)},[Q,Ne]),l.useEffect(function(){return function(){document.removeEventListener("mousemove",Ve.current),document.removeEventListener("mouseup",It.current),document.removeEventListener("touchmove",Ve.current),document.removeEventListener("touchend",It.current)}},[]);var _t=function(nt,Et){st.some(function(lt,Gt){return lt!==nt[Gt]})&&(Et!==void 0&&ce(Et),tt(nt),Ee(nt))},wt=function(nt,Et){if(nt===-1){var lt=Be[0],Gt=Be[Be.length-1],Rt=ie-lt,Ot=me-Gt,Ie=Et*(me-ie);Ie=Math.max(Ie,Rt),Ie=Math.min(Ie,Ot);var Se=je(lt+Ie);Ie=Se-lt;var bt=Be.map(function(Zt){return Zt+Ie});_t(bt)}else{var Pt=(me-ie)*Et,He=(0,s.Z)(st);He[nt]=Be[nt];var qe=We(He,Pt,nt,"dist");_t(qe.values,qe.value)}},jt=l.useRef(wt);jt.current=wt;var Yt=function(nt,Et){nt.stopPropagation();var lt=Q[Et];Oe(Et),ce(lt),it(Q);var Gt=k(nt),Rt=Gt.pageX,Ot=Gt.pageY,Ie=function(Pt){Pt.preventDefault();var He=k(Pt),qe=He.pageX,Zt=He.pageY,Ut=qe-Rt,qt=Zt-Ot,ln=P.current.getBoundingClientRect(),En=ln.width,mn=ln.height,Yn;switch(ae){case"btt":Yn=-qt/mn;break;case"ttb":Yn=qt/mn;break;case"rtl":Yn=-Ut/En;break;default:Yn=Ut/En}jt.current(Et,Yn)},Se=function bt(Pt){Pt.preventDefault(),document.removeEventListener("mouseup",bt),document.removeEventListener("mousemove",Ie),document.removeEventListener("touchend",bt),document.removeEventListener("touchmove",Ie),Ve.current=null,It.current=null,Oe(-1),Me()};document.addEventListener("mouseup",Se),document.addEventListener("mousemove",Ie),document.addEventListener("touchend",Se),document.addEventListener("touchmove",Ie),Ve.current=Ie,It.current=Se},yt=l.useMemo(function(){var ze=(0,s.Z)(Q).sort(function(Et,lt){return Et-lt}),nt=(0,s.Z)(st).sort(function(Et,lt){return Et-lt});return ze.every(function(Et,lt){return Et===nt[lt]})?st:Q},[Q,st]);return[Ne,J,yt,Yt]}function Y(P){var ae=P.prefixCls,Q=P.style,ie=P.start,me=P.end,je=P.index,Ee=P.onStartMove,Me=l.useContext(C),We=Me.direction,re=Me.min,se=Me.max,J=Me.disabled,ce=Me.range,xe="".concat(ae,"-track"),ue=z(ie,re,se),Ne=z(me,re,se),Oe=function(st){!J&&Ee&&Ee(st,-1)},we={};switch(We){case"rtl":we.right="".concat(ue*100,"%"),we.width="".concat(Ne*100-ue*100,"%");break;case"btt":we.bottom="".concat(ue*100,"%"),we.height="".concat(Ne*100-ue*100,"%");break;case"ttb":we.top="".concat(ue*100,"%"),we.height="".concat(Ne*100-ue*100,"%");break;default:we.left="".concat(ue*100,"%"),we.width="".concat(Ne*100-ue*100,"%")}return l.createElement("div",{className:t()(xe,ce&&"".concat(xe,"-").concat(je+1)),style:(0,h.Z)((0,h.Z)({},we),Q),onMouseDown:Oe,onTouchStart:Oe})}function q(P){var ae=P.prefixCls,Q=P.style,ie=P.values,me=P.startPoint,je=P.onStartMove,Ee=l.useContext(C),Me=Ee.included,We=Ee.range,re=Ee.min,se=l.useMemo(function(){if(!We){if(ie.length===0)return[];var J=me!=null?me:re,ce=ie[0];return[{start:Math.min(J,ce),end:Math.max(J,ce)}]}for(var xe=[],ue=0;ue3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Ne=="number"){var Re,st=ue[Oe],tt=st+Ne,Ye=[];ie.forEach(function(It){Ye.push(It.value)}),Ye.push(P,ae),Ye.push(Me(st));var ke=Ne>0?1:-1;we==="unit"?Ye.push(Me(st+ke*Q)):Ye.push(Me(tt)),Ye=Ye.filter(function(It){return It!==null}).filter(function(It){return Ne<0?It<=st:It>=st}),we==="unit"&&(Ye=Ye.filter(function(It){return It!==st}));var Be=we==="unit"?st:tt;Re=Ye[0];var it=Math.abs(Re-Be);if(Ye.forEach(function(It){var _t=Math.abs(It-Be);_t1){var Ve=(0,s.Z)(ue);return Ve[Oe]=Re,xe(Ve,Ne-ke,Oe,we)}return Re}else{if(Ne==="min")return P;if(Ne==="max")return ae}},se=function(ue,Ne,Oe){var we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Re=ue[Oe],st=re(ue,Ne,Oe,we);return{value:st,changed:st!==Re}},J=function(ue){return je===null&&ue===0||typeof je=="number"&&ue3&&arguments[3]!==void 0?arguments[3]:"unit",Re=ue.map(We),st=Re[Oe],tt=re(Re,Ne,Oe,we);if(Re[Oe]=tt,me===!1){var Ye=je||0;Oe>0&&Re[Oe-1]!==st&&(Re[Oe]=Math.max(Re[Oe],Re[Oe-1]+Ye)),Oe0;Ve-=1)for(var It=!0;J(Re[Ve]-Re[Ve-1])&&It;){var _t=se(Re,-1,Ve-1);Re[Ve-1]=_t.value,It=_t.changed}for(var wt=Re.length-1;wt>0;wt-=1)for(var jt=!0;J(Re[wt]-Re[wt-1])&&jt;){var Yt=se(Re,-1,wt-1);Re[wt-1]=Yt.value,jt=Yt.changed}for(var yt=0;yt=0?Yt:!1},[Yt,Ft]),rn=l.useMemo(function(){var pa=Object.keys(Pt||{});return pa.map(function(fr){var Ur=Pt[fr],Ea={value:Number(fr)};return Ur&&(0,d.Z)(Ur)==="object"&&!l.isValidElement(Ur)&&("label"in Ur||"style"in Ur)?(Ea.style=Ur.style,Ea.label=Ur.label):Ea.label=Ur,Ea}).filter(function(fr){var Ur=fr.label;return Ur||typeof Ur=="number"}).sort(function(fr,Ur){return fr.value-Ur.value})},[Pt]),fn=O(ir,mr,Ft,rn,wt,en),In=(0,n.Z)(fn,2),on=In[0],mt=In[1],gt=(0,m.Z)(Ye,{value:tt}),sn=(0,n.Z)(gt,2),Qt=sn[0],tn=sn[1],yn=l.useMemo(function(){var pa=Qt==null?[]:Array.isArray(Qt)?Qt:[Qt],fr=(0,n.Z)(pa,1),Ur=fr[0],Ea=Ur===void 0?ir:Ur,ha=Qt===null?[]:[Ea];if(ke){if(ha=(0,s.Z)(pa),Be||Qt===void 0){var Hn=Be>=0?Be+1:2;for(ha=ha.slice(0,Hn);ha.length=0&&mn.current.focus(pa)}un(null)},[kt]);var An=l.useMemo(function(){return yt&&Ft===null?!1:yt},[yt,Ft]),zn=function(){It==null||It(Wn(vn.current))},Er=te(Yn,Gn,yn,ir,mr,on,tr,zn,mt),nr=(0,n.Z)(Er,4),Fn=nr[0],kr=nr[1],hr=nr[2],la=nr[3],zr=function(fr,Ur){la(fr,Ur),Ve==null||Ve(Wn(vn.current))},Zn=Fn!==-1;l.useEffect(function(){if(!Zn){var pa=yn.lastIndexOf(kr);mn.current.focus(pa)}},[Zn]);var On=l.useMemo(function(){return(0,s.Z)(hr).sort(function(pa,fr){return pa-fr})},[hr]),Tn=l.useMemo(function(){return ke?[On[0],On[On.length-1]]:[ir,On[0]]},[On,ke,ir]),ar=(0,n.Z)(Tn,2),br=ar[0],Kr=ar[1];l.useImperativeHandle(ae,function(){return{focus:function(){mn.current.focus(0)},blur:function(){var fr=document,Ur=fr.activeElement;Yn.current.contains(Ur)&&(Ur==null||Ur.blur())}}}),l.useEffect(function(){J&&mn.current.focus(0)},[]);var ra=l.useMemo(function(){return{min:ir,max:mr,direction:Gn,disabled:We,keyboard:se,step:Ft,included:lt,includedStart:br,includedEnd:Kr,range:ke,tabIndex:Ut,ariaLabelForHandle:qt,ariaLabelledByForHandle:ln,ariaValueTextFormatterForHandle:En}},[ir,mr,Gn,We,se,Ft,lt,br,Kr,ke,Ut,qt,ln,En]);return l.createElement(C.Provider,{value:ra},l.createElement("div",{ref:Yn,className:t()(me,je,(Q={},(0,o.Z)(Q,"".concat(me,"-disabled"),We),(0,o.Z)(Q,"".concat(me,"-vertical"),nt),(0,o.Z)(Q,"".concat(me,"-horizontal"),!nt),(0,o.Z)(Q,"".concat(me,"-with-marks"),rn.length),Q)),style:Ee,onMouseDown:ct},l.createElement("div",{className:"".concat(me,"-rail"),style:Ie}),l.createElement(q,{prefixCls:me,style:Rt,values:On,startPoint:Gt,onStartMove:An?zr:null}),l.createElement(x,{prefixCls:me,marks:rn,dots:He,style:Se,activeStyle:bt}),l.createElement(K,{ref:mn,prefixCls:me,style:Ot,values:hr,draggingIndex:Fn,onStartMove:zr,onOffsetChange:nn,onFocus:ce,onBlur:xe,handleRender:qe}),l.createElement(X,{prefixCls:me,marks:rn,onClick:ut})))}),A=U,G=A,de=e(61836),he=e(92428),ge=e(61834),be=e(21319),Te=e(74820),Je=l.forwardRef((P,ae)=>{const{open:Q}=P,ie=(0,l.useRef)(null),me=(0,l.useRef)(null);function je(){ge.Z.cancel(me.current),me.current=null}function Ee(){me.current=(0,ge.Z)(()=>{var Me;(Me=ie.current)===null||Me===void 0||Me.forceAlign(),me.current=null})}return l.useEffect(()=>(Q?Ee():je(),je),[Q,P.title]),l.createElement(Te.Z,Object.assign({ref:(0,be.sQ)(ie,ae)},P))}),Qe=e(66671),pt=e(78330),Ct=e(52628),ft=e(22151);const Ht=P=>{const{componentCls:ae,antCls:Q,controlSize:ie,dotSize:me,marginFull:je,marginPart:Ee,colorFillContentHover:Me}=P;return{[ae]:Object.assign(Object.assign({},(0,pt.Wf)(P)),{position:"relative",height:ie,margin:`${Ee}px ${je}px`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${je}px ${Ee}px`},[`${ae}-rail`]:{position:"absolute",backgroundColor:P.railBg,borderRadius:P.borderRadiusXS,transition:`background-color ${P.motionDurationMid}`},[`${ae}-track`]:{position:"absolute",backgroundColor:P.trackBg,borderRadius:P.borderRadiusXS,transition:`background-color ${P.motionDurationMid}`},"&:hover":{[`${ae}-rail`]:{backgroundColor:P.railHoverBg},[`${ae}-track`]:{backgroundColor:P.trackHoverBg},[`${ae}-dot`]:{borderColor:Me},[`${ae}-handle::after`]:{boxShadow:`0 0 0 ${P.handleLineWidth}px ${P.colorPrimaryBorderHover}`},[`${ae}-dot-active`]:{borderColor:P.dotActiveBorderColor}},[`${ae}-handle`]:{position:"absolute",width:P.handleSize,height:P.handleSize,outline:"none",[`${ae}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-P.handleLineWidth,insetBlockStart:-P.handleLineWidth,width:P.handleSize+P.handleLineWidth*2,height:P.handleSize+P.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:P.handleSize,height:P.handleSize,backgroundColor:P.colorBgElevated,boxShadow:`0 0 0 ${P.handleLineWidth}px ${P.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` + `]:Object.assign({},w(ye))}}};var K=(0,m.Z)("Skeleton",ye=>{const{componentCls:ne}=ye,H=(0,g.TS)(ye,{skeletonAvatarCls:`${ne}-avatar`,skeletonTitleCls:`${ne}-title`,skeletonParagraphCls:`${ne}-paragraph`,skeletonButtonCls:`${ne}-button`,skeletonInputCls:`${ne}-input`,skeletonImageCls:`${ne}-image`,imageSizeBase:ye.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ye.gradientFromColor} 25%, ${ye.gradientToColor} 37%, ${ye.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[j(H)]},ye=>{const{colorFillContent:ne,colorFill:H}=ye,R=ne,P=H;return{color:R,colorGradientEnd:P,gradientFromColor:R,gradientToColor:P,titleHeight:ye.controlHeight/2,blockRadius:ye.borderRadiusSM,paragraphMarginTop:ye.marginLG+ye.marginXXS,paragraphLiHeight:ye.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),te=ye=>{const{prefixCls:ne,className:H,rootClassName:R,active:P,shape:ae="circle",size:Q="default"}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=(0,n.Z)(ye,["prefixCls","className"]),We=t()(me,`${me}-element`,{[`${me}-active`]:P},H,R,Ee);return je(o.createElement("div",{className:We},o.createElement(l,Object.assign({prefixCls:`${me}-avatar`,shape:ae,size:Q},Me))))},q=ye=>{const{prefixCls:ne,className:H,rootClassName:R,active:P,block:ae=!1,size:Q="default"}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=(0,n.Z)(ye,["prefixCls"]),We=t()(me,`${me}-element`,{[`${me}-active`]:P,[`${me}-block`]:ae},H,R,Ee);return je(o.createElement("div",{className:We},o.createElement(l,Object.assign({prefixCls:`${me}-button`,size:Q},Me))))};const le="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var W=ye=>{const{prefixCls:ne,className:H,rootClassName:R,style:P,active:ae}=ye,{getPrefixCls:Q}=o.useContext(s.E_),ie=Q("skeleton",ne),[me,je]=K(ie),Ee=t()(ie,`${ie}-element`,{[`${ie}-active`]:ae},H,R,je);return me(o.createElement("div",{className:Ee},o.createElement("div",{className:t()(`${ie}-image`,H),style:P},o.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${ie}-image-svg`},o.createElement("path",{d:le,className:`${ie}-image-path`})))))},O=ye=>{const{prefixCls:ne,className:H,rootClassName:R,active:P,block:ae,size:Q="default"}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=(0,n.Z)(ye,["prefixCls"]),We=t()(me,`${me}-element`,{[`${me}-active`]:P,[`${me}-block`]:ae},H,R,Ee);return je(o.createElement("div",{className:We},o.createElement(l,Object.assign({prefixCls:`${me}-input`,size:Q},Me))))},_=e(60698),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},A=U,G=e(17202),fe=function(ne,H){return o.createElement(G.Z,(0,_.Z)({},ne,{ref:H,icon:A}))},pe=o.forwardRef(fe),be=ye=>{const{prefixCls:ne,className:H,rootClassName:R,style:P,active:ae,children:Q}=ye,{getPrefixCls:ie}=o.useContext(s.E_),me=ie("skeleton",ne),[je,Ee]=K(me),Me=t()(me,`${me}-element`,{[`${me}-active`]:ae},Ee,H,R),We=Q!=null?Q:o.createElement(pe,null);return je(o.createElement("div",{className:Me},o.createElement("div",{className:t()(`${me}-image`,H),style:P},We)))},Te=e(29140),Je=ye=>{const ne=ie=>{const{width:me,rows:je=2}=ye;if(Array.isArray(me))return me[ie];if(je-1===ie)return me},{prefixCls:H,className:R,style:P,rows:ae}=ye,Q=(0,Te.Z)(Array(ae)).map((ie,me)=>o.createElement("li",{key:me,style:{width:ne(me)}}));return o.createElement("ul",{className:t()(H,R),style:P},Q)},pt=ye=>{let{prefixCls:ne,className:H,width:R,style:P}=ye;return o.createElement("h3",{className:t()(ne,H),style:Object.assign({width:R},P)})};function Et(ye){return ye&&typeof ye=="object"?ye:{}}function ft(ye,ne){return ye&&!ne?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Wt(ye,ne){return!ye&&ne?{width:"38%"}:ye&&ne?{width:"50%"}:{}}function $e(ye,ne){const H={};return(!ye||!ne)&&(H.width="61%"),!ye&&ne?H.rows=3:H.rows=2,H}const Xe=ye=>{const{prefixCls:ne,loading:H,className:R,rootClassName:P,style:ae,children:Q,avatar:ie=!1,title:me=!0,paragraph:je=!0,active:Ee,round:Me}=ye,{getPrefixCls:We,direction:re,skeleton:se}=o.useContext(s.E_),J=We("skeleton",ne),[de,xe]=K(J);if(H||!("loading"in ye)){const ce=!!ie,Le=!!me,Oe=!!je;let we;if(ce){const et=Object.assign(Object.assign({prefixCls:`${J}-avatar`},ft(Le,Oe)),Et(ie));we=o.createElement("div",{className:`${J}-header`},o.createElement(l,Object.assign({},et)))}let Ne;if(Le||Oe){let et;if(Le){const ke=Object.assign(Object.assign({prefixCls:`${J}-title`},Wt(ce,Oe)),Et(me));et=o.createElement(pt,Object.assign({},ke))}let Ye;if(Oe){const ke=Object.assign(Object.assign({prefixCls:`${J}-paragraph`},$e(ce,Le)),Et(je));Ye=o.createElement(Je,Object.assign({},ke))}Ne=o.createElement("div",{className:`${J}-content`},et,Ye)}const st=t()(J,{[`${J}-with-avatar`]:ce,[`${J}-active`]:Ee,[`${J}-rtl`]:re==="rtl",[`${J}-round`]:Me},se==null?void 0:se.className,R,P,xe);return de(o.createElement("div",{className:st,style:Object.assign(Object.assign({},se==null?void 0:se.style),ae)},we,Ne))}return typeof Q!="undefined"?Q:null};Xe.Button=q,Xe.Avatar=te,Xe.Input=O,Xe.Image=W,Xe.Node=be;var nt=Xe,Ke=nt},94706:function(b,y,e){"use strict";e.d(y,{Z:function(){return R}});var a=e(87608),t=e.n(a),o=e(37734),s=e(29140),n=e(28314),d=e(38790),l=e(58757),c=e(7637),m=e(60409),g=e(60698),M=e(47075),h=e(57370),S=e(29639),w=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0}),C=w;function F(P,ae,Q){return(P-ae)/(Q-ae)}function Z(P,ae,Q,ie){var me=F(ae,Q,ie),je={};switch(P){case"rtl":je.right="".concat(me*100,"%"),je.transform="translateX(50%)";break;case"btt":je.bottom="".concat(me*100,"%"),je.transform="translateY(50%)";break;case"ttb":je.top="".concat(me*100,"%"),je.transform="translateY(-50%)";break;default:je.left="".concat(me*100,"%"),je.transform="translateX(-50%)";break}return je}function N(P,ae){return Array.isArray(P)?P[ae]:P}var L=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange"],$=l.forwardRef(function(P,ae){var Q,ie,me=P.prefixCls,je=P.value,Ee=P.valueIndex,Me=P.onStartMove,We=P.style,re=P.render,se=P.dragging,J=P.onOffsetChange,de=(0,M.Z)(P,L),xe=l.useContext(C),ce=xe.min,Le=xe.max,Oe=xe.direction,we=xe.disabled,Ne=xe.keyboard,st=xe.range,et=xe.tabIndex,Ye=xe.ariaLabelForHandle,ke=xe.ariaLabelledByForHandle,Be=xe.ariaValueTextFormatterForHandle,it="".concat(me,"-handle"),Ve=function(_t){we||Me(_t,Ee)},xt=function(_t){if(!we&&Ne){var yt=null;switch(_t.which||_t.keyCode){case S.Z.LEFT:yt=Oe==="ltr"||Oe==="btt"?-1:1;break;case S.Z.RIGHT:yt=Oe==="ltr"||Oe==="btt"?1:-1;break;case S.Z.UP:yt=Oe!=="ttb"?1:-1;break;case S.Z.DOWN:yt=Oe!=="ttb"?-1:1;break;case S.Z.HOME:yt="min";break;case S.Z.END:yt="max";break;case S.Z.PAGE_UP:yt=2;break;case S.Z.PAGE_DOWN:yt=-2;break}yt!==null&&(_t.preventDefault(),J(yt,Ee))}},Ht=Z(Oe,je,ce,Le),Ot=l.createElement("div",(0,g.Z)({ref:ae,className:t()(it,(Q={},(0,o.Z)(Q,"".concat(it,"-").concat(Ee+1),st),(0,o.Z)(Q,"".concat(it,"-dragging"),se),Q)),style:(0,h.Z)((0,h.Z)({},Ht),We),onMouseDown:Ve,onTouchStart:Ve,onKeyDown:xt,tabIndex:we?null:N(et,Ee),role:"slider","aria-valuemin":ce,"aria-valuemax":Le,"aria-valuenow":je,"aria-disabled":we,"aria-label":N(Ye,Ee),"aria-labelledby":N(ke,Ee),"aria-valuetext":(ie=N(Be,Ee))===null||ie===void 0?void 0:ie(je)},de));return re&&(Ot=re(Ot,{index:Ee,prefixCls:me,value:je,dragging:se})),Ot}),D=$,T=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","draggingIndex"],j=l.forwardRef(function(P,ae){var Q=P.prefixCls,ie=P.style,me=P.onStartMove,je=P.onOffsetChange,Ee=P.values,Me=P.handleRender,We=P.draggingIndex,re=(0,M.Z)(P,T),se=l.useRef({});return l.useImperativeHandle(ae,function(){return{focus:function(de){var xe;(xe=se.current[de])===null||xe===void 0||xe.focus()}}}),l.createElement(l.Fragment,null,Ee.map(function(J,de){return l.createElement(D,(0,g.Z)({ref:function(ce){ce?se.current[de]=ce:delete se.current[de]},dragging:We===de,prefixCls:Q,style:N(ie,de),key:de,value:J,valueIndex:de,onStartMove:me,onOffsetChange:je,render:Me},re))}))}),K=j;function k(P){var ae="touches"in P?P.touches[0]:P;return{pageX:ae.pageX,pageY:ae.pageY}}function te(P,ae,Q,ie,me,je,Ee,Me,We){var re=l.useState(null),se=(0,n.Z)(re,2),J=se[0],de=se[1],xe=l.useState(-1),ce=(0,n.Z)(xe,2),Le=ce[0],Oe=ce[1],we=l.useState(Q),Ne=(0,n.Z)(we,2),st=Ne[0],et=Ne[1],Ye=l.useState(Q),ke=(0,n.Z)(Ye,2),Be=ke[0],it=ke[1],Ve=l.useRef(null),xt=l.useRef(null);l.useEffect(function(){Le===-1&&et(Q)},[Q,Le]),l.useEffect(function(){return function(){document.removeEventListener("mousemove",Ve.current),document.removeEventListener("mouseup",xt.current),document.removeEventListener("touchmove",Ve.current),document.removeEventListener("touchend",xt.current)}},[]);var Ht=function(tt,St){st.some(function(lt,Gt){return lt!==tt[Gt]})&&(St!==void 0&&de(St),et(tt),Ee(tt))},Ot=function(tt,St){if(tt===-1){var lt=Be[0],Gt=Be[Be.length-1],Nt=ie-lt,At=me-Gt,Ie=St*(me-ie);Ie=Math.max(Ie,Nt),Ie=Math.min(Ie,At);var Se=je(lt+Ie);Ie=Se-lt;var bt=Be.map(function($t){return $t+Ie});Ht(bt)}else{var jt=(me-ie)*St,He=(0,s.Z)(st);He[tt]=Be[tt];var qe=We(He,jt,tt,"dist");Ht(qe.values,qe.value)}},wt=l.useRef(Ot);wt.current=Ot;var _t=function(tt,St){tt.stopPropagation();var lt=Q[St];Oe(St),de(lt),it(Q);var Gt=k(tt),Nt=Gt.pageX,At=Gt.pageY,Ie=function(jt){jt.preventDefault();var He=k(jt),qe=He.pageX,$t=He.pageY,Zt=qe-Nt,qt=$t-At,un=P.current.getBoundingClientRect(),xn=un.width,pn=un.height,Gn;switch(ae){case"btt":Gn=-qt/pn;break;case"ttb":Gn=qt/pn;break;case"rtl":Gn=-Zt/xn;break;default:Gn=Zt/xn}wt.current(St,Gn)},Se=function bt(jt){jt.preventDefault(),document.removeEventListener("mouseup",bt),document.removeEventListener("mousemove",Ie),document.removeEventListener("touchend",bt),document.removeEventListener("touchmove",Ie),Ve.current=null,xt.current=null,Oe(-1),Me()};document.addEventListener("mouseup",Se),document.addEventListener("mousemove",Ie),document.addEventListener("touchend",Se),document.addEventListener("touchmove",Ie),Ve.current=Ie,xt.current=Se},yt=l.useMemo(function(){var ze=(0,s.Z)(Q).sort(function(St,lt){return St-lt}),tt=(0,s.Z)(st).sort(function(St,lt){return St-lt});return ze.every(function(St,lt){return St===tt[lt]})?st:Q},[Q,st]);return[Le,J,yt,_t]}function V(P){var ae=P.prefixCls,Q=P.style,ie=P.start,me=P.end,je=P.index,Ee=P.onStartMove,Me=l.useContext(C),We=Me.direction,re=Me.min,se=Me.max,J=Me.disabled,de=Me.range,xe="".concat(ae,"-track"),ce=F(ie,re,se),Le=F(me,re,se),Oe=function(st){!J&&Ee&&Ee(st,-1)},we={};switch(We){case"rtl":we.right="".concat(ce*100,"%"),we.width="".concat(Le*100-ce*100,"%");break;case"btt":we.bottom="".concat(ce*100,"%"),we.height="".concat(Le*100-ce*100,"%");break;case"ttb":we.top="".concat(ce*100,"%"),we.height="".concat(Le*100-ce*100,"%");break;default:we.left="".concat(ce*100,"%"),we.width="".concat(Le*100-ce*100,"%")}return l.createElement("div",{className:t()(xe,de&&"".concat(xe,"-").concat(je+1)),style:(0,h.Z)((0,h.Z)({},we),Q),onMouseDown:Oe,onTouchStart:Oe})}function q(P){var ae=P.prefixCls,Q=P.style,ie=P.values,me=P.startPoint,je=P.onStartMove,Ee=l.useContext(C),Me=Ee.included,We=Ee.range,re=Ee.min,se=l.useMemo(function(){if(!We){if(ie.length===0)return[];var J=me!=null?me:re,de=ie[0];return[{start:Math.min(J,de),end:Math.max(J,de)}]}for(var xe=[],ce=0;ce3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof Le=="number"){var Ne,st=ce[Oe],et=st+Le,Ye=[];ie.forEach(function(xt){Ye.push(xt.value)}),Ye.push(P,ae),Ye.push(Me(st));var ke=Le>0?1:-1;we==="unit"?Ye.push(Me(st+ke*Q)):Ye.push(Me(et)),Ye=Ye.filter(function(xt){return xt!==null}).filter(function(xt){return Le<0?xt<=st:xt>=st}),we==="unit"&&(Ye=Ye.filter(function(xt){return xt!==st}));var Be=we==="unit"?st:et;Ne=Ye[0];var it=Math.abs(Ne-Be);if(Ye.forEach(function(xt){var Ht=Math.abs(xt-Be);Ht1){var Ve=(0,s.Z)(ce);return Ve[Oe]=Ne,xe(Ve,Le-ke,Oe,we)}return Ne}else{if(Le==="min")return P;if(Le==="max")return ae}},se=function(ce,Le,Oe){var we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",Ne=ce[Oe],st=re(ce,Le,Oe,we);return{value:st,changed:st!==Ne}},J=function(ce){return je===null&&ce===0||typeof je=="number"&&ce3&&arguments[3]!==void 0?arguments[3]:"unit",Ne=ce.map(We),st=Ne[Oe],et=re(Ne,Le,Oe,we);if(Ne[Oe]=et,me===!1){var Ye=je||0;Oe>0&&Ne[Oe-1]!==st&&(Ne[Oe]=Math.max(Ne[Oe],Ne[Oe-1]+Ye)),Oe0;Ve-=1)for(var xt=!0;J(Ne[Ve]-Ne[Ve-1])&&xt;){var Ht=se(Ne,-1,Ve-1);Ne[Ve-1]=Ht.value,xt=Ht.changed}for(var Ot=Ne.length-1;Ot>0;Ot-=1)for(var wt=!0;J(Ne[Ot]-Ne[Ot-1])&&wt;){var _t=se(Ne,-1,Ot-1);Ne[Ot-1]=_t.value,wt=_t.changed}for(var yt=0;yt=0?_t:!1},[_t,zt]),an=l.useMemo(function(){var ga=Object.keys(jt||{});return ga.map(function(pr){var Ur=jt[pr],Ma={value:Number(pr)};return Ur&&(0,d.Z)(Ur)==="object"&&!l.isValidElement(Ur)&&("label"in Ur||"style"in Ur)?(Ma.style=Ur.style,Ma.label=Ur.label):Ma.label=Ur,Ma}).filter(function(pr){var Ur=pr.label;return Ur||typeof Ur=="number"}).sort(function(pr,Ur){return pr.value-Ur.value})},[jt]),vn=O(ur,br,zt,an,Ot,en),An=(0,n.Z)(vn,2),sn=An[0],mt=An[1],gt=(0,m.Z)(Ye,{value:et}),ln=(0,n.Z)(gt,2),Qt=ln[0],tn=ln[1],yn=l.useMemo(function(){var ga=Qt==null?[]:Array.isArray(Qt)?Qt:[Qt],pr=(0,n.Z)(ga,1),Ur=pr[0],Ma=Ur===void 0?ur:Ur,ma=Qt===null?[]:[Ma];if(ke){if(ma=(0,s.Z)(ga),Be||Qt===void 0){var Yn=Be>=0?Be+1:2;for(ma=ma.slice(0,Yn);ma.length=0&&pn.current.focus(ga)}cn(null)},[Ut]);var Dn=l.useMemo(function(){return yt&&zt===null?!1:yt},[yt,zt]),Bn=function(){xt==null||xt(_n(gn.current))},Cr=te(Gn,Qn,yn,ur,br,sn,nr,Bn,mt),rr=(0,n.Z)(Cr,4),$n=rr[0],kr=rr[1],Mr=rr[2],ia=rr[3],zr=function(pr,Ur){ia(pr,Ur),Ve==null||Ve(_n(gn.current))},Wn=$n!==-1;l.useEffect(function(){if(!Wn){var ga=yn.lastIndexOf(kr);pn.current.focus(ga)}},[Wn]);var wn=l.useMemo(function(){return(0,s.Z)(Mr).sort(function(ga,pr){return ga-pr})},[Mr]),Rn=l.useMemo(function(){return ke?[wn[0],wn[wn.length-1]]:[ur,wn[0]]},[wn,ke,ur]),sr=(0,n.Z)(Rn,2),Er=sr[0],Kr=sr[1];l.useImperativeHandle(ae,function(){return{focus:function(){pn.current.focus(0)},blur:function(){var pr=document,Ur=pr.activeElement;Gn.current.contains(Ur)&&(Ur==null||Ur.blur())}}}),l.useEffect(function(){J&&pn.current.focus(0)},[]);var ta=l.useMemo(function(){return{min:ur,max:br,direction:Qn,disabled:We,keyboard:se,step:zt,included:lt,includedStart:Er,includedEnd:Kr,range:ke,tabIndex:Zt,ariaLabelForHandle:qt,ariaLabelledByForHandle:un,ariaValueTextFormatterForHandle:xn}},[ur,br,Qn,We,se,zt,lt,Er,Kr,ke,Zt,qt,un,xn]);return l.createElement(C.Provider,{value:ta},l.createElement("div",{ref:Gn,className:t()(me,je,(Q={},(0,o.Z)(Q,"".concat(me,"-disabled"),We),(0,o.Z)(Q,"".concat(me,"-vertical"),tt),(0,o.Z)(Q,"".concat(me,"-horizontal"),!tt),(0,o.Z)(Q,"".concat(me,"-with-marks"),an.length),Q)),style:Ee,onMouseDown:ct},l.createElement("div",{className:"".concat(me,"-rail"),style:Ie}),l.createElement(q,{prefixCls:me,style:Nt,values:wn,startPoint:Gt,onStartMove:Dn?zr:null}),l.createElement(x,{prefixCls:me,marks:an,dots:He,style:Se,activeStyle:bt}),l.createElement(K,{ref:pn,prefixCls:me,style:At,values:Mr,draggingIndex:$n,onStartMove:zr,onOffsetChange:rn,onFocus:de,onBlur:xe,handleRender:qe}),l.createElement(X,{prefixCls:me,marks:an,onClick:ut})))}),A=U,G=A,fe=e(61836),pe=e(92428),ge=e(61834),be=e(21319),Te=e(74820),Je=l.forwardRef((P,ae)=>{const{open:Q}=P,ie=(0,l.useRef)(null),me=(0,l.useRef)(null);function je(){ge.Z.cancel(me.current),me.current=null}function Ee(){me.current=(0,ge.Z)(()=>{var Me;(Me=ie.current)===null||Me===void 0||Me.forceAlign(),me.current=null})}return l.useEffect(()=>(Q?Ee():je(),je),[Q,P.title]),l.createElement(Te.Z,Object.assign({ref:(0,be.sQ)(ie,ae)},P))}),Qe=e(66671),pt=e(78330),Et=e(52628),ft=e(22151);const Wt=P=>{const{componentCls:ae,antCls:Q,controlSize:ie,dotSize:me,marginFull:je,marginPart:Ee,colorFillContentHover:Me}=P;return{[ae]:Object.assign(Object.assign({},(0,pt.Wf)(P)),{position:"relative",height:ie,margin:`${Ee}px ${je}px`,padding:0,cursor:"pointer",touchAction:"none",["&-vertical"]:{margin:`${je}px ${Ee}px`},[`${ae}-rail`]:{position:"absolute",backgroundColor:P.railBg,borderRadius:P.borderRadiusXS,transition:`background-color ${P.motionDurationMid}`},[`${ae}-track`]:{position:"absolute",backgroundColor:P.trackBg,borderRadius:P.borderRadiusXS,transition:`background-color ${P.motionDurationMid}`},"&:hover":{[`${ae}-rail`]:{backgroundColor:P.railHoverBg},[`${ae}-track`]:{backgroundColor:P.trackHoverBg},[`${ae}-dot`]:{borderColor:Me},[`${ae}-handle::after`]:{boxShadow:`0 0 0 ${P.handleLineWidth}px ${P.colorPrimaryBorderHover}`},[`${ae}-dot-active`]:{borderColor:P.dotActiveBorderColor}},[`${ae}-handle`]:{position:"absolute",width:P.handleSize,height:P.handleSize,outline:"none",[`${ae}-dragging`]:{zIndex:1},"&::before":{content:'""',position:"absolute",insetInlineStart:-P.handleLineWidth,insetBlockStart:-P.handleLineWidth,width:P.handleSize+P.handleLineWidth*2,height:P.handleSize+P.handleLineWidth*2,backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:P.handleSize,height:P.handleSize,backgroundColor:P.colorBgElevated,boxShadow:`0 0 0 ${P.handleLineWidth}px ${P.handleColor}`,borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${P.motionDurationMid}, inset-block-start ${P.motionDurationMid}, width ${P.motionDurationMid}, @@ -357,7 +357,7 @@ http://j.mp/37Fkd5Q `]:{backgroundColor:P.colorBgElevated,borderColor:P.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${ae}-handle::after`]:{backgroundColor:P.colorBgElevated,cursor:"not-allowed",width:P.handleSize,height:P.handleSize,boxShadow:`0 0 0 ${P.handleLineWidth}px ${new Qe.C(P.colorTextDisabled).onBackground(P.colorBgContainer).toHexShortString()}`,insetInlineStart:0,insetBlockStart:0},[` ${ae}-mark-text, ${ae}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${Q}-tooltip-inner`]:{minWidth:"unset"}})}},Ze=(P,ae)=>{const{componentCls:Q,railSize:ie,handleSize:me,dotSize:je}=P,Ee=ae?"paddingBlock":"paddingInline",Me=ae?"width":"height",We=ae?"height":"width",re=ae?"insetBlockStart":"insetInlineStart",se=ae?"top":"insetInlineStart";return{[Ee]:ie,[We]:ie*3,[`${Q}-rail`]:{[Me]:"100%",[We]:ie},[`${Q}-track`]:{[We]:ie},[`${Q}-handle`]:{[re]:(ie*3-me)/2},[`${Q}-mark`]:{insetInlineStart:0,top:0,[se]:ie*3+(ae?0:P.marginFull),[Me]:"100%"},[`${Q}-step`]:{insetInlineStart:0,top:0,[se]:ie,[Me]:"100%",[We]:ie},[`${Q}-dot`]:{position:"absolute",[re]:(ie-je)/2}}},Xe=P=>{const{componentCls:ae,marginPartWithMark:Q}=P;return{[`${ae}-horizontal`]:Object.assign(Object.assign({},Ze(P,!0)),{[`&${ae}-with-marks`]:{marginBottom:Q}})}},rt=P=>{const{componentCls:ae}=P;return{[`${ae}-vertical`]:Object.assign(Object.assign({},Ze(P,!1)),{height:"100%"})}};var Ke=(0,Ct.Z)("Slider",P=>{const ae=(0,ft.TS)(P,{marginPart:(P.controlHeight-P.controlSize)/2,marginFull:P.controlSize/2,marginPartWithMark:P.controlHeightLG-P.controlSize});return[Ht(ae),Xe(ae),rt(ae)]},P=>{const Q=P.controlHeightLG/4,ie=P.controlHeightSM/2,me=P.lineWidth+1,je=P.lineWidth+1*3;return{controlSize:Q,railSize:4,handleSize:Q,handleSizeHover:ie,dotSize:8,handleLineWidth:me,handleLineWidthHover:je,railBg:P.colorFillTertiary,railHoverBg:P.colorFillSecondary,trackBg:P.colorPrimaryBorder,trackHoverBg:P.colorPrimaryBorderHover,handleColor:P.colorPrimaryBorder,handleActiveColor:P.colorPrimary,dotBorderColor:P.colorBorderSecondary,dotActiveBorderColor:P.colorPrimaryBorder,trackBgDisabled:P.colorBgContainerDisabled}}),ye=function(P,ae){var Q={};for(var ie in P)Object.prototype.hasOwnProperty.call(P,ie)&&ae.indexOf(ie)<0&&(Q[ie]=P[ie]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ie=Object.getOwnPropertySymbols(P);metypeof P=="number"?P.toString():"";var R=l.forwardRef((P,ae)=>{const{prefixCls:Q,range:ie,className:me,rootClassName:je,style:Ee,disabled:Me,tooltipPrefixCls:We,tipFormatter:re,tooltipVisible:se,getTooltipPopupContainer:J,tooltipPlacement:ce}=P,xe=ye(P,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:ue,slider:Ne,getPrefixCls:Oe,getPopupContainer:we}=l.useContext(de.E_),Re=l.useContext(he.Z),st=Me!=null?Me:Re,[tt,Ye]=l.useState({}),ke=(ze,nt)=>{Ye(Et=>Object.assign(Object.assign({},Et),{[ze]:nt}))},Be=(ze,nt)=>ze||(nt?ue==="rtl"?"left":"right":"top"),it=Oe("slider",Q),[Ve,It]=Ke(it),_t=t()(me,Ne==null?void 0:Ne.className,je,{[`${it}-rtl`]:ue==="rtl"},It);ue==="rtl"&&!xe.vertical&&(xe.reverse=!xe.reverse);const[wt,jt]=l.useMemo(()=>ie?typeof ie=="object"?[!0,ie.draggableTrack]:[!0,!1]:[!1],[ie]),Yt=(ze,nt)=>{var Et;const{index:lt,dragging:Gt}=nt,{tooltip:Rt={},vertical:Ot}=P,Ie=Object.assign({},Rt),{open:Se,placement:bt,getPopupContainer:Pt,prefixCls:He,formatter:qe}=Ie;let Zt;qe||qe===null?Zt=qe:re||re===null?Zt=re:Zt=ne;const Ut=Zt?tt[lt]||Gt:!1,qt=(Et=Se!=null?Se:se)!==null&&Et!==void 0?Et:Se===void 0&&Ut,ln=Object.assign(Object.assign({},ze.props),{onMouseEnter:()=>ke(lt,!0),onMouseLeave:()=>ke(lt,!1)}),En=Oe("tooltip",He!=null?He:We);return l.createElement(Je,Object.assign({},Ie,{prefixCls:En,title:Zt?Zt(nt.value):"",open:qt,placement:Be(bt!=null?bt:ce,Ot),key:lt,overlayClassName:`${it}-tooltip`,getPopupContainer:Pt||J||we}),l.cloneElement(ze,ln))},yt=Object.assign(Object.assign({},Ne==null?void 0:Ne.style),Ee);return Ve(l.createElement(G,Object.assign({},xe,{step:xe.step,range:wt,draggableTrack:jt,className:_t,style:yt,disabled:st,ref:ae,prefixCls:it,handleRender:Yt})))})},43528:function(b,y,e){"use strict";e.d(y,{BR:function(){return M},ri:function(){return g}});var a=e(87608),t=e.n(a),o=e(42156),s=e(58757),n=e(61836),d=e(58785),l=e(21724),c=function(w,C){var z={};for(var $ in w)Object.prototype.hasOwnProperty.call(w,$)&&C.indexOf($)<0&&(z[$]=w[$]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,$=Object.getOwnPropertySymbols(w);N<$.length;N++)C.indexOf($[N])<0&&Object.prototype.propertyIsEnumerable.call(w,$[N])&&(z[$[N]]=w[$[N]]);return z};const m=s.createContext(null),g=(w,C)=>{const z=s.useContext(m),$=s.useMemo(()=>{if(!z)return"";const{compactDirection:N,isFirstItem:L,isLastItem:B}=z,D=N==="vertical"?"-vertical-":"-";return t()(`${w}-compact${D}item`,{[`${w}-compact${D}first-item`]:L,[`${w}-compact${D}last-item`]:B,[`${w}-compact${D}item-rtl`]:C==="rtl"})},[w,C,z]);return{compactSize:z==null?void 0:z.compactSize,compactDirection:z==null?void 0:z.compactDirection,compactItemClassnames:$}},M=w=>{let{children:C}=w;return s.createElement(m.Provider,{value:null},C)},h=w=>{var{children:C}=w,z=c(w,["children"]);return s.createElement(m.Provider,{value:z},C)},S=w=>{const{getPrefixCls:C,direction:z}=s.useContext(n.E_),{size:$,direction:N,block:L,prefixCls:B,className:D,rootClassName:T,children:j}=w,K=c(w,["size","direction","block","prefixCls","className","rootClassName","children"]),k=(0,d.Z)(O=>$!=null?$:O),te=C("space-compact",B),[Y,q]=(0,l.Z)(te),le=t()(te,q,{[`${te}-rtl`]:z==="rtl",[`${te}-block`]:L,[`${te}-vertical`]:N==="vertical"},D,T),X=s.useContext(m),W=(0,o.Z)(j),x=s.useMemo(()=>W.map((O,_)=>{const U=O&&O.key||`${te}-item-${_}`;return s.createElement(h,{key:U,compactSize:k,compactDirection:N,isFirstItem:_===0&&(!X||(X==null?void 0:X.isFirstItem)),isLastItem:_===W.length-1&&(!X||(X==null?void 0:X.isLastItem))},O)}),[$,W,X]);return W.length===0?null:Y(s.createElement("div",Object.assign({className:le},K),x))};y.ZP=S},57414:function(b,y,e){"use strict";e.d(y,{Z:function(){return N}});var a=e(87608),t=e.n(a),o=e(42156),s=e(58757),n=e(69387),d=e(61836),l=e(43528);const c=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),m=c.Provider;var M=L=>{let{className:B,direction:D,index:T,marginDirection:j,children:K,split:k,wrap:te,style:Y}=L;const{horizontalSize:q,verticalSize:le,latestIndex:X,supportFlexGap:W}=s.useContext(c);let x={};return W||(D==="vertical"?T{var D,T;const{getPrefixCls:j,space:K,direction:k}=s.useContext(d.E_),{size:te=(K==null?void 0:K.size)||"small",align:Y,className:q,rootClassName:le,children:X,direction:W="horizontal",prefixCls:x,split:O,style:_,wrap:U=!1,classNames:A,styles:G}=L,de=S(L,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),he=(0,n.Z)(),[ge,be]=s.useMemo(()=>(Array.isArray(te)?te:[te,te]).map(ye=>C(ye)),[te]),Te=(0,o.Z)(X,{keepEmpty:!0}),Ge=Y===void 0&&W==="horizontal"?"center":Y,Je=j("space",x),[Qe,pt]=(0,h.Z)(Je),Ct=t()(Je,K==null?void 0:K.className,pt,`${Je}-${W}`,{[`${Je}-rtl`]:k==="rtl",[`${Je}-align-${Ge}`]:Ge},q,le),ft=t()(`${Je}-item`,(D=A==null?void 0:A.item)!==null&&D!==void 0?D:(T=K==null?void 0:K.classNames)===null||T===void 0?void 0:T.item),Ht=k==="rtl"?"marginLeft":"marginRight";let Ze=0;const Xe=Te.map((ye,ne)=>{var H,R;ye!=null&&(Ze=ne);const P=ye&&ye.key||`${ft}-${ne}`;return s.createElement(M,{className:ft,key:P,direction:W,index:ne,marginDirection:Ht,split:O,wrap:U,style:(H=G==null?void 0:G.item)!==null&&H!==void 0?H:(R=K==null?void 0:K.styles)===null||R===void 0?void 0:R.item},ye)}),rt=s.useMemo(()=>({horizontalSize:ge,verticalSize:be,latestIndex:Ze,supportFlexGap:he}),[ge,be,Ze,he]);if(Te.length===0)return null;const Ke={};return U&&(Ke.flexWrap="wrap",he||(Ke.marginBottom=-be)),he&&(Ke.columnGap=ge,Ke.rowGap=be),Qe(s.createElement("div",Object.assign({ref:B,className:Ct,style:Object.assign(Object.assign(Object.assign({},Ke),K==null?void 0:K.style),_)},de),s.createElement(m,{value:rt},Xe)))});$.Compact=l.ZP;var N=$},21724:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(52628),o=d=>{const{componentCls:l}=d;return{[l]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const s=d=>{const{componentCls:l}=d;return{[l]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${l}-item:empty`]:{display:"none"}}}};var n=(0,a.Z)("Space",d=>[s(d),o(d)],()=>({}),{resetStyle:!1})},79233:function(b,y,e){"use strict";e.d(y,{Z:function(){return j}});var a=e(87608),t=e.n(a),o=e(98186),s=e(58757),n=e(70989),d=e(37047),l=e(61836),c=e(57793),m=e(78330),g=e(52628),M=e(22151);const h=new c.E4("antSpinMove",{to:{opacity:1}}),S=new c.E4("antRotate",{to:{transform:"rotate(405deg)"}}),w=K=>({[`${K.componentCls}`]:Object.assign(Object.assign({},(0,m.Wf)(K)),{position:"absolute",display:"none",color:K.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${K.motionDurationSlow} ${K.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${K.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:K.contentHeight,[`${K.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-K.spinDotSize/2},[`${K.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(K.spinDotSize-K.fontSize)/2+2,textShadow:`0 1px 2px ${K.colorBgContainer}`,fontSize:K.fontSize},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.spinDotSize/2)-10},"&-sm":{[`${K.componentCls}-dot`]:{margin:-K.spinDotSizeSM/2},[`${K.componentCls}-text`]:{paddingTop:(K.spinDotSizeSM-K.fontSize)/2+2},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.spinDotSizeSM/2)-10}},"&-lg":{[`${K.componentCls}-dot`]:{margin:-(K.spinDotSizeLG/2)},[`${K.componentCls}-text`]:{paddingTop:(K.spinDotSizeLG-K.fontSize)/2+2},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.spinDotSizeLG/2)-10}}},[`${K.componentCls}-container`]:{position:"relative",transition:`opacity ${K.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:K.colorBgContainer,opacity:0,transition:`all ${K.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${K.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none",["&::after"]:{opacity:.4,pointerEvents:"auto"}}},["&-tip"]:{color:K.spinDotDefault},[`${K.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:K.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(K.spinDotSize-K.marginXXS/2)/2,height:(K.spinDotSize-K.marginXXS/2)/2,backgroundColor:K.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:h,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:S,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${K.componentCls}-dot`]:{fontSize:K.spinDotSizeSM,i:{width:(K.spinDotSizeSM-K.marginXXS/2)/2,height:(K.spinDotSizeSM-K.marginXXS/2)/2}},[`&-lg ${K.componentCls}-dot`]:{fontSize:K.spinDotSizeLG,i:{width:(K.spinDotSizeLG-K.marginXXS)/2,height:(K.spinDotSizeLG-K.marginXXS)/2}},[`&${K.componentCls}-show-text ${K.componentCls}-text`]:{display:"block"}})});var C=(0,g.Z)("Spin",K=>{const k=(0,M.TS)(K,{spinDotDefault:K.colorTextDescription,spinDotSize:K.controlHeightLG/2,spinDotSizeSM:K.controlHeightLG*.35,spinDotSizeLG:K.controlHeight});return[w(k)]},{contentHeight:400}),z=function(K,k){var te={};for(var Y in K)Object.prototype.hasOwnProperty.call(K,Y)&&k.indexOf(Y)<0&&(te[Y]=K[Y]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(K);q{const{spinPrefixCls:k,spinning:te=!0,delay:Y=0,className:q,rootClassName:le,size:X="default",tip:W,wrapperClassName:x,style:O,children:_,hashId:U}=K,A=z(K,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[G,de]=s.useState(()=>te&&!B(te,Y));s.useEffect(()=>{if(te){const Ct=(0,n.D)(Y,()=>{de(!0)});return Ct(),()=>{var ft;(ft=Ct==null?void 0:Ct.cancel)===null||ft===void 0||ft.call(Ct)}}de(!1)},[Y,te]);const he=s.useMemo(()=>typeof _!="undefined",[_]),{direction:ge,spin:be}=s.useContext(l.E_),Te=t()(k,be==null?void 0:be.className,{[`${k}-sm`]:X==="small",[`${k}-lg`]:X==="large",[`${k}-spinning`]:G,[`${k}-show-text`]:!!W,[`${k}-rtl`]:ge==="rtl"},q,le,U),Ge=t()(`${k}-container`,{[`${k}-blur`]:G}),Je=(0,o.Z)(A,["indicator","prefixCls"]),Qe=Object.assign(Object.assign({},be==null?void 0:be.style),O),pt=s.createElement("div",Object.assign({},Je,{style:Qe,className:Te,"aria-live":"polite","aria-busy":G}),L(k,K),W&&he?s.createElement("div",{className:`${k}-text`},W):null);return he?s.createElement("div",Object.assign({},Je,{className:t()(`${k}-nested-loading`,x,U)}),G&&s.createElement("div",{key:"loading"},pt),s.createElement("div",{className:Ge,key:"container"},_)):pt},T=K=>{const{prefixCls:k}=K,{getPrefixCls:te}=s.useContext(l.E_),Y=te("spin",k),[q,le]=C(Y),X=Object.assign(Object.assign({},K),{spinPrefixCls:Y,hashId:le});return q(s.createElement(D,Object.assign({},X)))};T.setDefaultIndicator=K=>{N=K};var j=T},64493:function(b,y,e){"use strict";e.d(y,{c:function(){return o}});function a(s,n,d){const{focusElCls:l,focus:c,borderElCls:m}=d,g=m?"> *":"",M=["hover",c?"focus":null,"active"].filter(Boolean).map(h=>`&:${h} ${g}`).join(",");return{[`&-item:not(${n}-last-item)`]:{marginInlineEnd:-s.lineWidth},"&-item":Object.assign(Object.assign({[M]:{zIndex:2}},l?{[`&${l}`]:{zIndex:2}}:{}),{[`&[disabled] ${g}`]:{zIndex:0}})}}function t(s,n,d){const{borderElCls:l}=d,c=l?`> ${l}`:"";return{[`&-item:not(${n}-first-item):not(${n}-last-item) ${c}`]:{borderRadius:0},[`&-item:not(${n}-last-item)${n}-first-item`]:{[`& ${c}, &${s}-sm ${c}, &${s}-lg ${c}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${n}-first-item)${n}-last-item`]:{[`& ${c}, &${s}-sm ${c}, &${s}-lg ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function o(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:d}=s,l=`${d}-compact`;return{[l]:Object.assign(Object.assign({},a(s,l,n)),t(d,l,n))}}},78330:function(b,y,e){"use strict";e.d(y,{Lx:function(){return n},Qy:function(){return c},Ro:function(){return o},Wf:function(){return t},dF:function(){return s},du:function(){return d},oN:function(){return l},vS:function(){return a}});const a={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},t=m=>({boxSizing:"border-box",margin:0,padding:0,color:m.colorText,fontSize:m.fontSize,lineHeight:m.lineHeight,listStyle:"none",fontFamily:m.fontFamily}),o=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),n=m=>({a:{color:m.colorLink,textDecoration:m.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:m.colorLinkHover},"&:active":{color:m.colorLinkActive},[`&:active, + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${Q}-tooltip-inner`]:{minWidth:"unset"}})}},$e=(P,ae)=>{const{componentCls:Q,railSize:ie,handleSize:me,dotSize:je}=P,Ee=ae?"paddingBlock":"paddingInline",Me=ae?"width":"height",We=ae?"height":"width",re=ae?"insetBlockStart":"insetInlineStart",se=ae?"top":"insetInlineStart";return{[Ee]:ie,[We]:ie*3,[`${Q}-rail`]:{[Me]:"100%",[We]:ie},[`${Q}-track`]:{[We]:ie},[`${Q}-handle`]:{[re]:(ie*3-me)/2},[`${Q}-mark`]:{insetInlineStart:0,top:0,[se]:ie*3+(ae?0:P.marginFull),[Me]:"100%"},[`${Q}-step`]:{insetInlineStart:0,top:0,[se]:ie,[Me]:"100%",[We]:ie},[`${Q}-dot`]:{position:"absolute",[re]:(ie-je)/2}}},Xe=P=>{const{componentCls:ae,marginPartWithMark:Q}=P;return{[`${ae}-horizontal`]:Object.assign(Object.assign({},$e(P,!0)),{[`&${ae}-with-marks`]:{marginBottom:Q}})}},nt=P=>{const{componentCls:ae}=P;return{[`${ae}-vertical`]:Object.assign(Object.assign({},$e(P,!1)),{height:"100%"})}};var Ke=(0,Et.Z)("Slider",P=>{const ae=(0,ft.TS)(P,{marginPart:(P.controlHeight-P.controlSize)/2,marginFull:P.controlSize/2,marginPartWithMark:P.controlHeightLG-P.controlSize});return[Wt(ae),Xe(ae),nt(ae)]},P=>{const Q=P.controlHeightLG/4,ie=P.controlHeightSM/2,me=P.lineWidth+1,je=P.lineWidth+1*3;return{controlSize:Q,railSize:4,handleSize:Q,handleSizeHover:ie,dotSize:8,handleLineWidth:me,handleLineWidthHover:je,railBg:P.colorFillTertiary,railHoverBg:P.colorFillSecondary,trackBg:P.colorPrimaryBorder,trackHoverBg:P.colorPrimaryBorderHover,handleColor:P.colorPrimaryBorder,handleActiveColor:P.colorPrimary,dotBorderColor:P.colorBorderSecondary,dotActiveBorderColor:P.colorPrimaryBorder,trackBgDisabled:P.colorBgContainerDisabled}}),ye=function(P,ae){var Q={};for(var ie in P)Object.prototype.hasOwnProperty.call(P,ie)&&ae.indexOf(ie)<0&&(Q[ie]=P[ie]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,ie=Object.getOwnPropertySymbols(P);metypeof P=="number"?P.toString():"";var R=l.forwardRef((P,ae)=>{const{prefixCls:Q,range:ie,className:me,rootClassName:je,style:Ee,disabled:Me,tooltipPrefixCls:We,tipFormatter:re,tooltipVisible:se,getTooltipPopupContainer:J,tooltipPlacement:de}=P,xe=ye(P,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement"]),{direction:ce,slider:Le,getPrefixCls:Oe,getPopupContainer:we}=l.useContext(fe.E_),Ne=l.useContext(pe.Z),st=Me!=null?Me:Ne,[et,Ye]=l.useState({}),ke=(ze,tt)=>{Ye(St=>Object.assign(Object.assign({},St),{[ze]:tt}))},Be=(ze,tt)=>ze||(tt?ce==="rtl"?"left":"right":"top"),it=Oe("slider",Q),[Ve,xt]=Ke(it),Ht=t()(me,Le==null?void 0:Le.className,je,{[`${it}-rtl`]:ce==="rtl"},xt);ce==="rtl"&&!xe.vertical&&(xe.reverse=!xe.reverse);const[Ot,wt]=l.useMemo(()=>ie?typeof ie=="object"?[!0,ie.draggableTrack]:[!0,!1]:[!1],[ie]),_t=(ze,tt)=>{var St;const{index:lt,dragging:Gt}=tt,{tooltip:Nt={},vertical:At}=P,Ie=Object.assign({},Nt),{open:Se,placement:bt,getPopupContainer:jt,prefixCls:He,formatter:qe}=Ie;let $t;qe||qe===null?$t=qe:re||re===null?$t=re:$t=ne;const Zt=$t?et[lt]||Gt:!1,qt=(St=Se!=null?Se:se)!==null&&St!==void 0?St:Se===void 0&&Zt,un=Object.assign(Object.assign({},ze.props),{onMouseEnter:()=>ke(lt,!0),onMouseLeave:()=>ke(lt,!1)}),xn=Oe("tooltip",He!=null?He:We);return l.createElement(Je,Object.assign({},Ie,{prefixCls:xn,title:$t?$t(tt.value):"",open:qt,placement:Be(bt!=null?bt:de,At),key:lt,overlayClassName:`${it}-tooltip`,getPopupContainer:jt||J||we}),l.cloneElement(ze,un))},yt=Object.assign(Object.assign({},Le==null?void 0:Le.style),Ee);return Ve(l.createElement(G,Object.assign({},xe,{step:xe.step,range:Ot,draggableTrack:wt,className:Ht,style:yt,disabled:st,ref:ae,prefixCls:it,handleRender:_t})))})},43528:function(b,y,e){"use strict";e.d(y,{BR:function(){return M},ri:function(){return g}});var a=e(87608),t=e.n(a),o=e(42156),s=e(58757),n=e(61836),d=e(58785),l=e(21724),c=function(w,C){var F={};for(var Z in w)Object.prototype.hasOwnProperty.call(w,Z)&&C.indexOf(Z)<0&&(F[Z]=w[Z]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,Z=Object.getOwnPropertySymbols(w);N{const F=s.useContext(m),Z=s.useMemo(()=>{if(!F)return"";const{compactDirection:N,isFirstItem:L,isLastItem:$}=F,D=N==="vertical"?"-vertical-":"-";return t()(`${w}-compact${D}item`,{[`${w}-compact${D}first-item`]:L,[`${w}-compact${D}last-item`]:$,[`${w}-compact${D}item-rtl`]:C==="rtl"})},[w,C,F]);return{compactSize:F==null?void 0:F.compactSize,compactDirection:F==null?void 0:F.compactDirection,compactItemClassnames:Z}},M=w=>{let{children:C}=w;return s.createElement(m.Provider,{value:null},C)},h=w=>{var{children:C}=w,F=c(w,["children"]);return s.createElement(m.Provider,{value:F},C)},S=w=>{const{getPrefixCls:C,direction:F}=s.useContext(n.E_),{size:Z,direction:N,block:L,prefixCls:$,className:D,rootClassName:T,children:j}=w,K=c(w,["size","direction","block","prefixCls","className","rootClassName","children"]),k=(0,d.Z)(O=>Z!=null?Z:O),te=C("space-compact",$),[V,q]=(0,l.Z)(te),le=t()(te,q,{[`${te}-rtl`]:F==="rtl",[`${te}-block`]:L,[`${te}-vertical`]:N==="vertical"},D,T),X=s.useContext(m),W=(0,o.Z)(j),x=s.useMemo(()=>W.map((O,_)=>{const U=O&&O.key||`${te}-item-${_}`;return s.createElement(h,{key:U,compactSize:k,compactDirection:N,isFirstItem:_===0&&(!X||(X==null?void 0:X.isFirstItem)),isLastItem:_===W.length-1&&(!X||(X==null?void 0:X.isLastItem))},O)}),[Z,W,X]);return W.length===0?null:V(s.createElement("div",Object.assign({className:le},K),x))};y.ZP=S},57414:function(b,y,e){"use strict";e.d(y,{Z:function(){return N}});var a=e(87608),t=e.n(a),o=e(42156),s=e(58757),n=e(69387),d=e(61836),l=e(43528);const c=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),m=c.Provider;var M=L=>{let{className:$,direction:D,index:T,marginDirection:j,children:K,split:k,wrap:te,style:V}=L;const{horizontalSize:q,verticalSize:le,latestIndex:X,supportFlexGap:W}=s.useContext(c);let x={};return W||(D==="vertical"?T{var D,T;const{getPrefixCls:j,space:K,direction:k}=s.useContext(d.E_),{size:te=(K==null?void 0:K.size)||"small",align:V,className:q,rootClassName:le,children:X,direction:W="horizontal",prefixCls:x,split:O,style:_,wrap:U=!1,classNames:A,styles:G}=L,fe=S(L,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),pe=(0,n.Z)(),[ge,be]=s.useMemo(()=>(Array.isArray(te)?te:[te,te]).map(ye=>C(ye)),[te]),Te=(0,o.Z)(X,{keepEmpty:!0}),Ge=V===void 0&&W==="horizontal"?"center":V,Je=j("space",x),[Qe,pt]=(0,h.Z)(Je),Et=t()(Je,K==null?void 0:K.className,pt,`${Je}-${W}`,{[`${Je}-rtl`]:k==="rtl",[`${Je}-align-${Ge}`]:Ge},q,le),ft=t()(`${Je}-item`,(D=A==null?void 0:A.item)!==null&&D!==void 0?D:(T=K==null?void 0:K.classNames)===null||T===void 0?void 0:T.item),Wt=k==="rtl"?"marginLeft":"marginRight";let $e=0;const Xe=Te.map((ye,ne)=>{var H,R;ye!=null&&($e=ne);const P=ye&&ye.key||`${ft}-${ne}`;return s.createElement(M,{className:ft,key:P,direction:W,index:ne,marginDirection:Wt,split:O,wrap:U,style:(H=G==null?void 0:G.item)!==null&&H!==void 0?H:(R=K==null?void 0:K.styles)===null||R===void 0?void 0:R.item},ye)}),nt=s.useMemo(()=>({horizontalSize:ge,verticalSize:be,latestIndex:$e,supportFlexGap:pe}),[ge,be,$e,pe]);if(Te.length===0)return null;const Ke={};return U&&(Ke.flexWrap="wrap",pe||(Ke.marginBottom=-be)),pe&&(Ke.columnGap=ge,Ke.rowGap=be),Qe(s.createElement("div",Object.assign({ref:$,className:Et,style:Object.assign(Object.assign(Object.assign({},Ke),K==null?void 0:K.style),_)},fe),s.createElement(m,{value:nt},Xe)))});Z.Compact=l.ZP;var N=Z},21724:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(52628),o=d=>{const{componentCls:l}=d;return{[l]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};const s=d=>{const{componentCls:l}=d;return{[l]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${l}-item:empty`]:{display:"none"}}}};var n=(0,a.Z)("Space",d=>[s(d),o(d)],()=>({}),{resetStyle:!1})},79233:function(b,y,e){"use strict";e.d(y,{Z:function(){return j}});var a=e(87608),t=e.n(a),o=e(98186),s=e(58757),n=e(70989),d=e(37047),l=e(61836),c=e(57793),m=e(78330),g=e(52628),M=e(22151);const h=new c.E4("antSpinMove",{to:{opacity:1}}),S=new c.E4("antRotate",{to:{transform:"rotate(405deg)"}}),w=K=>({[`${K.componentCls}`]:Object.assign(Object.assign({},(0,m.Wf)(K)),{position:"absolute",display:"none",color:K.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${K.motionDurationSlow} ${K.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${K.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:K.contentHeight,[`${K.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-K.spinDotSize/2},[`${K.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(K.spinDotSize-K.fontSize)/2+2,textShadow:`0 1px 2px ${K.colorBgContainer}`,fontSize:K.fontSize},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.spinDotSize/2)-10},"&-sm":{[`${K.componentCls}-dot`]:{margin:-K.spinDotSizeSM/2},[`${K.componentCls}-text`]:{paddingTop:(K.spinDotSizeSM-K.fontSize)/2+2},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.spinDotSizeSM/2)-10}},"&-lg":{[`${K.componentCls}-dot`]:{margin:-(K.spinDotSizeLG/2)},[`${K.componentCls}-text`]:{paddingTop:(K.spinDotSizeLG-K.fontSize)/2+2},[`&${K.componentCls}-show-text ${K.componentCls}-dot`]:{marginTop:-(K.spinDotSizeLG/2)-10}}},[`${K.componentCls}-container`]:{position:"relative",transition:`opacity ${K.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:K.colorBgContainer,opacity:0,transition:`all ${K.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${K.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none",["&::after"]:{opacity:.4,pointerEvents:"auto"}}},["&-tip"]:{color:K.spinDotDefault},[`${K.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:K.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(K.spinDotSize-K.marginXXS/2)/2,height:(K.spinDotSize-K.marginXXS/2)/2,backgroundColor:K.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:h,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:S,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${K.componentCls}-dot`]:{fontSize:K.spinDotSizeSM,i:{width:(K.spinDotSizeSM-K.marginXXS/2)/2,height:(K.spinDotSizeSM-K.marginXXS/2)/2}},[`&-lg ${K.componentCls}-dot`]:{fontSize:K.spinDotSizeLG,i:{width:(K.spinDotSizeLG-K.marginXXS)/2,height:(K.spinDotSizeLG-K.marginXXS)/2}},[`&${K.componentCls}-show-text ${K.componentCls}-text`]:{display:"block"}})});var C=(0,g.Z)("Spin",K=>{const k=(0,M.TS)(K,{spinDotDefault:K.colorTextDescription,spinDotSize:K.controlHeightLG/2,spinDotSizeSM:K.controlHeightLG*.35,spinDotSizeLG:K.controlHeight});return[w(k)]},{contentHeight:400}),F=function(K,k){var te={};for(var V in K)Object.prototype.hasOwnProperty.call(K,V)&&k.indexOf(V)<0&&(te[V]=K[V]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,V=Object.getOwnPropertySymbols(K);q{const{spinPrefixCls:k,spinning:te=!0,delay:V=0,className:q,rootClassName:le,size:X="default",tip:W,wrapperClassName:x,style:O,children:_,hashId:U}=K,A=F(K,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[G,fe]=s.useState(()=>te&&!$(te,V));s.useEffect(()=>{if(te){const Et=(0,n.D)(V,()=>{fe(!0)});return Et(),()=>{var ft;(ft=Et==null?void 0:Et.cancel)===null||ft===void 0||ft.call(Et)}}fe(!1)},[V,te]);const pe=s.useMemo(()=>typeof _!="undefined",[_]),{direction:ge,spin:be}=s.useContext(l.E_),Te=t()(k,be==null?void 0:be.className,{[`${k}-sm`]:X==="small",[`${k}-lg`]:X==="large",[`${k}-spinning`]:G,[`${k}-show-text`]:!!W,[`${k}-rtl`]:ge==="rtl"},q,le,U),Ge=t()(`${k}-container`,{[`${k}-blur`]:G}),Je=(0,o.Z)(A,["indicator","prefixCls"]),Qe=Object.assign(Object.assign({},be==null?void 0:be.style),O),pt=s.createElement("div",Object.assign({},Je,{style:Qe,className:Te,"aria-live":"polite","aria-busy":G}),L(k,K),W&&pe?s.createElement("div",{className:`${k}-text`},W):null);return pe?s.createElement("div",Object.assign({},Je,{className:t()(`${k}-nested-loading`,x,U)}),G&&s.createElement("div",{key:"loading"},pt),s.createElement("div",{className:Ge,key:"container"},_)):pt},T=K=>{const{prefixCls:k}=K,{getPrefixCls:te}=s.useContext(l.E_),V=te("spin",k),[q,le]=C(V),X=Object.assign(Object.assign({},K),{spinPrefixCls:V,hashId:le});return q(s.createElement(D,Object.assign({},X)))};T.setDefaultIndicator=K=>{N=K};var j=T},64493:function(b,y,e){"use strict";e.d(y,{c:function(){return o}});function a(s,n,d){const{focusElCls:l,focus:c,borderElCls:m}=d,g=m?"> *":"",M=["hover",c?"focus":null,"active"].filter(Boolean).map(h=>`&:${h} ${g}`).join(",");return{[`&-item:not(${n}-last-item)`]:{marginInlineEnd:-s.lineWidth},"&-item":Object.assign(Object.assign({[M]:{zIndex:2}},l?{[`&${l}`]:{zIndex:2}}:{}),{[`&[disabled] ${g}`]:{zIndex:0}})}}function t(s,n,d){const{borderElCls:l}=d,c=l?`> ${l}`:"";return{[`&-item:not(${n}-first-item):not(${n}-last-item) ${c}`]:{borderRadius:0},[`&-item:not(${n}-last-item)${n}-first-item`]:{[`& ${c}, &${s}-sm ${c}, &${s}-lg ${c}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${n}-first-item)${n}-last-item`]:{[`& ${c}, &${s}-sm ${c}, &${s}-lg ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function o(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:d}=s,l=`${d}-compact`;return{[l]:Object.assign(Object.assign({},a(s,l,n)),t(d,l,n))}}},78330:function(b,y,e){"use strict";e.d(y,{Lx:function(){return n},Qy:function(){return c},Ro:function(){return o},Wf:function(){return t},dF:function(){return s},du:function(){return d},oN:function(){return l},vS:function(){return a}});const a={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},t=m=>({boxSizing:"border-box",margin:0,padding:0,color:m.colorText,fontSize:m.fontSize,lineHeight:m.lineHeight,listStyle:"none",fontFamily:m.fontFamily}),o=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),s=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),n=m=>({a:{color:m.colorLink,textDecoration:m.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:m.colorLinkHover},"&:active":{color:m.colorLinkActive},[`&:active, &:hover`]:{textDecoration:m.linkHoverDecoration,outline:0},"&:focus":{textDecoration:m.linkFocusDecoration,outline:0},"&[disabled]":{color:m.colorTextDisabled,cursor:"not-allowed"}}}),d=(m,g)=>{const{fontFamily:M,fontSize:h}=m,S=`[class^="${g}"], [class*=" ${g}"]`;return{[S]:{fontFamily:M,fontSize:h,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[S]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},l=m=>({outline:`${m.lineWidthFocus}px solid ${m.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),c=m=>({"&:focus-visible":Object.assign({},l(m))})},41086:function(b,y){"use strict";const e=a=>({[a.componentCls]:{[`${a.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${a.motionDurationMid} ${a.motionEaseInOut}, opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}},[`${a.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${a.motionDurationMid} ${a.motionEaseInOut}, opacity ${a.motionDurationMid} ${a.motionEaseInOut} !important`}}});y.Z=e},7239:function(b,y,e){"use strict";e.d(y,{J$:function(){return n}});var a=e(57793),t=e(85745);const o=new a.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),s=new a.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),n=function(d){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:c}=d,m=`${c}-fade`,g=l?"&":"";return[(0,t.R)(m,o,s,d.motionDurationMid,l),{[` @@ -369,20 +369,20 @@ http://j.mp/37Fkd5Q `]:Object.assign(Object.assign({},a(l)),{animationPlayState:"paused"}),[`${m}${s}-leave`]:Object.assign(Object.assign({},t(l)),{animationPlayState:"paused"}),[` ${m}${s}-enter${s}-enter-active, ${m}${s}-appear${s}-appear-active - `]:{animationName:n,animationPlayState:"running"},[`${m}${s}-leave${s}-leave-active`]:{animationName:d,animationPlayState:"running",pointerEvents:"none"}}}},1546:function(b,y,e){"use strict";e.d(y,{Fm:function(){return h}});var a=e(57793),t=e(85745);const o=new a.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new a.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),n=new a.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new a.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l=new a.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new a.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),m=new a.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),g=new a.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),M={"move-up":{inKeyframes:m,outKeyframes:g},"move-down":{inKeyframes:o,outKeyframes:s},"move-left":{inKeyframes:n,outKeyframes:d},"move-right":{inKeyframes:l,outKeyframes:c}},h=(S,w)=>{const{antCls:C}=S,z=`${C}-${w}`,{inKeyframes:$,outKeyframes:N}=M[w];return[(0,t.R)(z,$,N,S.motionDurationMid),{[` - ${z}-enter, - ${z}-appear - `]:{opacity:0,animationTimingFunction:S.motionEaseOutCirc},[`${z}-leave`]:{animationTimingFunction:S.motionEaseInOutCirc}}]}},1016:function(b,y,e){"use strict";e.d(y,{Qt:function(){return n},Uw:function(){return s},fJ:function(){return o},ly:function(){return d},oN:function(){return h}});var a=e(57793),t=e(85745);const o=new a.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),s=new a.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),n=new a.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),d=new a.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),l=new a.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),c=new a.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),m=new a.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),g=new a.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),M={"slide-up":{inKeyframes:o,outKeyframes:s},"slide-down":{inKeyframes:n,outKeyframes:d},"slide-left":{inKeyframes:l,outKeyframes:c},"slide-right":{inKeyframes:m,outKeyframes:g}},h=(S,w)=>{const{antCls:C}=S,z=`${C}-${w}`,{inKeyframes:$,outKeyframes:N}=M[w];return[(0,t.R)(z,$,N,S.motionDurationMid),{[` - ${z}-enter, - ${z}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:S.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${z}-leave`]:{animationTimingFunction:S.motionEaseInQuint}}]}},28107:function(b,y,e){"use strict";e.d(y,{_y:function(){return z},kr:function(){return o}});var a=e(57793),t=e(85745);const o=new a.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new a.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),n=new a.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),d=new a.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),l=new a.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),c=new a.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),m=new a.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),g=new a.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),M=new a.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new a.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),S=new a.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),w=new a.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),C={zoom:{inKeyframes:o,outKeyframes:s},"zoom-big":{inKeyframes:n,outKeyframes:d},"zoom-big-fast":{inKeyframes:n,outKeyframes:d},"zoom-left":{inKeyframes:m,outKeyframes:g},"zoom-right":{inKeyframes:M,outKeyframes:h},"zoom-up":{inKeyframes:l,outKeyframes:c},"zoom-down":{inKeyframes:S,outKeyframes:w}},z=($,N)=>{const{antCls:L}=$,B=`${L}-${N}`,{inKeyframes:D,outKeyframes:T}=C[N];return[(0,t.R)(B,D,T,N==="zoom-big-fast"?$.motionDurationFast:$.motionDurationMid),{[` - ${B}-enter, - ${B}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:$.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${B}-leave`]:{animationTimingFunction:$.motionEaseInOutCirc}}]}},24542:function(b,y,e){"use strict";e.d(y,{ZP:function(){return n},fS:function(){return o},qN:function(){return t}});var a=e(72944);const t=8;function o(d){const l=t,{contentRadius:c,limitVerticalRadius:m}=d,g=c>12?c+2:12;return{dropdownArrowOffset:g,dropdownArrowOffsetVertical:m?l:g}}function s(d,l){return d?l:{}}function n(d,l){const{componentCls:c,sizePopupArrow:m,borderRadiusXS:g,borderRadiusOuter:M,boxShadowPopoverArrow:h}=d,{colorBg:S,contentRadius:w=d.borderRadiusLG,limitVerticalRadius:C,arrowDistance:z=0,arrowPlacement:$={left:!0,right:!0,top:!0,bottom:!0}}=l,{dropdownArrowOffsetVertical:N,dropdownArrowOffset:L}=o({contentRadius:w,limitVerticalRadius:C});return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({[`${c}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,a.r)(m,g,M,S,h)),{"&:before":{background:S}})]},s(!!$.top,{[[`&-placement-top ${c}-arrow`,`&-placement-topLeft ${c}-arrow`,`&-placement-topRight ${c}-arrow`].join(",")]:{bottom:z,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${c}-arrow`]:{left:{_skip_check_:!0,value:L}},[`&-placement-topRight ${c}-arrow`]:{right:{_skip_check_:!0,value:L}}})),s(!!$.bottom,{[[`&-placement-bottom ${c}-arrow`,`&-placement-bottomLeft ${c}-arrow`,`&-placement-bottomRight ${c}-arrow`].join(",")]:{top:z,transform:"translateY(-100%)"},[`&-placement-bottom ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${c}-arrow`]:{left:{_skip_check_:!0,value:L}},[`&-placement-bottomRight ${c}-arrow`]:{right:{_skip_check_:!0,value:L}}})),s(!!$.left,{[[`&-placement-left ${c}-arrow`,`&-placement-leftTop ${c}-arrow`,`&-placement-leftBottom ${c}-arrow`].join(",")]:{right:{_skip_check_:!0,value:z},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${c}-arrow`]:{top:N},[`&-placement-leftBottom ${c}-arrow`]:{bottom:N}})),s(!!$.right,{[[`&-placement-right ${c}-arrow`,`&-placement-rightTop ${c}-arrow`,`&-placement-rightBottom ${c}-arrow`].join(",")]:{left:{_skip_check_:!0,value:z},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${c}-arrow`]:{top:N},[`&-placement-rightBottom ${c}-arrow`]:{bottom:N}}))}}},72944:function(b,y,e){"use strict";e.d(y,{r:function(){return a}});const a=(t,o,s,n,d)=>{const l=t/2,c=0,m=l,g=s*1/Math.sqrt(2),M=l-s*(1-1/Math.sqrt(2)),h=l-o*(1/Math.sqrt(2)),S=s*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),w=2*l-h,C=S,z=2*l-g,$=M,N=2*l-c,L=m,B=l*Math.sqrt(2)+s*(Math.sqrt(2)-2),D=s*(Math.sqrt(2)-1);return{pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:t/2,background:n,clipPath:{_multi_value_:!0,value:[`polygon(${D}px 100%, 50% ${D}px, ${2*l-D}px 100%, ${D}px 100%)`,`path('M ${c} ${m} A ${s} ${s} 0 0 0 ${g} ${M} L ${h} ${S} A ${o} ${o} 0 0 1 ${w} ${C} L ${z} ${$} A ${s} ${s} 0 0 0 ${N} ${L} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:B,height:B,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${o}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:d,zIndex:0,background:"transparent"}}}},16951:function(b,y,e){"use strict";e.d(y,{Z:function(){return Ot}});var a=e(52495),t=e(18974),o=e(12673),s=e(87608),n=e.n(s),d=e(60698),l=e(37734),c=e(57370),m=e(28314),g=e(38790),M=e(47075),h=e(58757),S=e(21618),w=e(60409),C=e(17598),z=(0,h.createContext)(null),$=h.forwardRef(function(Ie,Se){var bt=Ie.prefixCls,Pt=Ie.className,He=Ie.style,qe=Ie.id,Zt=Ie.active,Ut=Ie.tabKey,qt=Ie.children;return h.createElement("div",{id:qe&&"".concat(qe,"-panel-").concat(Ut),role:"tabpanel",tabIndex:Zt?0:-1,"aria-labelledby":qe&&"".concat(qe,"-tab-").concat(Ut),"aria-hidden":!Zt,style:He,className:n()(bt,Zt&&"".concat(bt,"-active"),Pt),ref:Se},qt)}),N=$,L=["key","forceRender","style","className"];function B(Ie){var Se=Ie.id,bt=Ie.activeKey,Pt=Ie.animated,He=Ie.tabPosition,qe=Ie.destroyInactiveTabPane,Zt=h.useContext(z),Ut=Zt.prefixCls,qt=Zt.tabs,ln=Pt.tabPane,En="".concat(Ut,"-tabpane");return h.createElement("div",{className:n()("".concat(Ut,"-content-holder"))},h.createElement("div",{className:n()("".concat(Ut,"-content"),"".concat(Ut,"-content-").concat(He),(0,l.Z)({},"".concat(Ut,"-content-animated"),ln))},qt.map(function(mn){var Yn=mn.key,Gn=mn.forceRender,ir=mn.style,mr=mn.className,Ft=(0,M.Z)(mn,L),en=Yn===bt;return h.createElement(C.ZP,(0,d.Z)({key:Yn,visible:en,forceRender:Gn,removeOnLeave:!!qe,leavedClassName:"".concat(En,"-hidden")},Pt.tabPaneMotion),function(rn,fn){var In=rn.style,on=rn.className;return h.createElement(N,(0,d.Z)({},Ft,{prefixCls:En,id:Se,tabKey:Yn,animated:ln,active:en,style:(0,c.Z)((0,c.Z)({},ir),In),className:n()(mr,on),ref:fn}))})})))}var D=e(29140),T=e(19425),j=e(51729),K=e(61834),k=e(21319),te={width:0,height:0,left:0,top:0};function Y(Ie,Se,bt){return(0,h.useMemo)(function(){for(var Pt,He=new Map,qe=Se.get((Pt=Ie[0])===null||Pt===void 0?void 0:Pt.key)||te,Zt=qe.left+qe.width,Ut=0;Uttr?(vn=tn,mt.current="x"):(vn=yn,mt.current="y"),Se(-vn,-vn)&&Qt.preventDefault()}var sn=(0,h.useRef)(null);sn.current={onTouchStart:fn,onTouchMove:In,onTouchEnd:on,onWheel:gt},h.useEffect(function(){function Qt(Wn){sn.current.onTouchStart(Wn)}function tn(Wn){sn.current.onTouchMove(Wn)}function yn(Wn){sn.current.onTouchEnd(Wn)}function vn(Wn){sn.current.onWheel(Wn)}return document.addEventListener("touchmove",tn,{passive:!1}),document.addEventListener("touchend",yn,{passive:!1}),Ie.current.addEventListener("touchstart",Qt,{passive:!1}),Ie.current.addEventListener("wheel",vn),function(){document.removeEventListener("touchmove",tn),document.removeEventListener("touchend",yn)}},[])}var _=e(81334);function U(Ie){var Se=(0,h.useState)(0),bt=(0,m.Z)(Se,2),Pt=bt[0],He=bt[1],qe=(0,h.useRef)(0),Zt=(0,h.useRef)();return Zt.current=Ie,(0,_.o)(function(){var Ut;(Ut=Zt.current)===null||Ut===void 0||Ut.call(Zt)},[Pt]),function(){qe.current===Pt&&(qe.current+=1,He(qe.current))}}function A(Ie){var Se=(0,h.useRef)([]),bt=(0,h.useState)({}),Pt=(0,m.Z)(bt,2),He=Pt[1],qe=(0,h.useRef)(typeof Ie=="function"?Ie():Ie),Zt=U(function(){var qt=qe.current;Se.current.forEach(function(ln){qt=ln(qt)}),Se.current=[],qe.current=qt,He({})});function Ut(qt){Se.current.push(qt),Zt()}return[qe.current,Ut]}var G={width:0,height:0,left:0,top:0,right:0};function de(Ie,Se,bt,Pt,He,qe,Zt){var Ut=Zt.tabs,qt=Zt.tabPosition,ln=Zt.rtl,En,mn,Yn;return["top","bottom"].includes(qt)?(En="width",mn=ln?"right":"left",Yn=Math.abs(bt)):(En="height",mn="top",Yn=-bt),(0,h.useMemo)(function(){if(!Ut.length)return[0,0];for(var Gn=Ut.length,ir=Gn,mr=0;mrYn+Se){ir=mr-1;break}}for(var en=0,rn=Gn-1;rn>=0;rn-=1){var fn=Ie.get(Ut[rn].key)||G;if(fn[mn]=ir?[0,0]:[en,ir]},[Ie,Se,Pt,He,qe,Yn,qt,Ut.map(function(Gn){return Gn.key}).join("_"),ln])}function he(Ie){var Se;return Ie instanceof Map?(Se={},Ie.forEach(function(bt,Pt){Se[Pt]=bt})):Se=Ie,JSON.stringify(Se)}var ge="TABS_DQ";function be(Ie){return String(Ie).replace(/"/g,ge)}function Te(Ie,Se,bt,Pt){return!(!bt||Pt||Ie===!1||Ie===void 0&&(Se===!1||Se===null))}function Ge(Ie,Se){var bt=Ie.prefixCls,Pt=Ie.editable,He=Ie.locale,qe=Ie.style;return!Pt||Pt.showAdd===!1?null:h.createElement("button",{ref:Se,type:"button",className:"".concat(bt,"-nav-add"),style:qe,"aria-label":(He==null?void 0:He.addAriaLabel)||"Add tab",onClick:function(Ut){Pt.onEdit("add",{event:Ut})}},Pt.addIcon||"+")}var Je=h.forwardRef(Ge),Qe=h.forwardRef(function(Ie,Se){var bt=Ie.position,Pt=Ie.prefixCls,He=Ie.extra;if(!He)return null;var qe,Zt={};return(0,g.Z)(He)==="object"&&!h.isValidElement(He)?Zt=He:Zt.right=He,bt==="right"&&(qe=Zt.right),bt==="left"&&(qe=Zt.left),qe?h.createElement("div",{className:"".concat(Pt,"-extra-content"),ref:Se},qe):null}),pt=Qe,Ct=e(4933),ft=e(87854),Ht=e(29639);function Ze(Ie,Se){var bt=Ie.prefixCls,Pt=Ie.id,He=Ie.tabs,qe=Ie.locale,Zt=Ie.mobile,Ut=Ie.moreIcon,qt=Ut===void 0?"More":Ut,ln=Ie.moreTransitionName,En=Ie.style,mn=Ie.className,Yn=Ie.editable,Gn=Ie.tabBarGutter,ir=Ie.rtl,mr=Ie.removeAriaLabel,Ft=Ie.onTabClick,en=Ie.getPopupContainer,rn=Ie.popupClassName,fn=(0,h.useState)(!1),In=(0,m.Z)(fn,2),on=In[0],mt=In[1],gt=(0,h.useState)(null),sn=(0,m.Z)(gt,2),Qt=sn[0],tn=sn[1],yn="".concat(Pt,"-more-popup"),vn="".concat(bt,"-dropdown"),Wn=Qt!==null?"".concat(yn,"-").concat(Qt):null,tr=qe==null?void 0:qe.dropdownAriaLabel;function ut(An,zn){An.preventDefault(),An.stopPropagation(),Yn.onEdit("remove",{key:zn,event:An})}var ct=h.createElement(ft.ZP,{onClick:function(zn){var Er=zn.key,nr=zn.domEvent;Ft(Er,nr),mt(!1)},prefixCls:"".concat(vn,"-menu"),id:yn,tabIndex:-1,role:"listbox","aria-activedescendant":Wn,selectedKeys:[Qt],"aria-label":tr!==void 0?tr:"expanded dropdown"},He.map(function(An){var zn=An.closable,Er=An.disabled,nr=An.closeIcon,Fn=An.key,kr=An.label,hr=Te(zn,nr,Yn,Er);return h.createElement(ft.sN,{key:Fn,id:"".concat(yn,"-").concat(Fn),role:"option","aria-controls":Pt&&"".concat(Pt,"-panel-").concat(Fn),disabled:Er},h.createElement("span",null,kr),hr&&h.createElement("button",{type:"button","aria-label":mr||"remove",tabIndex:0,className:"".concat(vn,"-menu-item-remove"),onClick:function(zr){zr.stopPropagation(),ut(zr,Fn)}},nr||Yn.removeIcon||"\xD7"))}));function At(An){for(var zn=He.filter(function(hr){return!hr.disabled}),Er=zn.findIndex(function(hr){return hr.key===Qt})||0,nr=zn.length,Fn=0;Fnea?"left":"right"})}),Wn=(0,m.Z)(vn,2),tr=Wn[0],ut=Wn[1],ct=q(0,function(Wr,ea){!yn&&fn&&fn({direction:Wr>ea?"top":"bottom"})}),At=(0,m.Z)(ct,2),xt=At[0],kt=At[1],un=(0,h.useState)([0,0]),nn=(0,m.Z)(un,2),An=nn[0],zn=nn[1],Er=(0,h.useState)([0,0]),nr=(0,m.Z)(Er,2),Fn=nr[0],kr=nr[1],hr=(0,h.useState)([0,0]),la=(0,m.Z)(hr,2),zr=la[0],Zn=la[1],On=(0,h.useState)([0,0]),Tn=(0,m.Z)(On,2),ar=Tn[0],br=Tn[1],Kr=A(new Map),ra=(0,m.Z)(Kr,2),pa=ra[0],fr=ra[1],Ur=Y(qe,pa,Fn[0]),Ea=ne(An,yn),ha=ne(Fn,yn),Hn=ne(zr,yn),Bn=ne(ar,yn),yr=Eaan?an:Wr}var Xa=(0,h.useRef)(),ho=(0,h.useState)(),$a=(0,m.Z)(ho,2),Ua=$a[0],Ka=$a[1];function wo(){Ka(Date.now())}function No(){window.clearTimeout(Xa.current)}O(gt,function(Wr,ea){function sr(_r,fa){_r(function(Oa){var Aa=bn(Oa+fa);return Aa})}return yr?(yn?sr(ut,Wr):sr(kt,ea),No(),wo(),!0):!1}),(0,h.useEffect)(function(){return No(),Ua&&(Xa.current=window.setTimeout(function(){Ka(0)},100)),No},[Ua]);var yo=de(Ur,Xr,yn?tr:xt,ha,Hn,Bn,(0,c.Z)((0,c.Z)({},Ie),{},{tabs:qe})),dt=(0,m.Z)(yo,2),zt=dt[0],Ae=dt[1],dn=(0,j.Z)(function(){var Wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:En,ea=Ur.get(Wr)||{width:0,height:0,left:0,right:0,top:0};if(yn){var sr=tr;mn?ea.righttr+Xr&&(sr=ea.right+ea.width-Xr):ea.left<-tr?sr=-ea.left:ea.left+ea.width>-tr+Xr&&(sr=-(ea.left+ea.width-Xr)),kt(0),ut(bn(sr))}else{var _r=xt;ea.top<-xt?_r=-ea.top:ea.top+ea.height>-xt+Xr&&(_r=-(ea.top+ea.height-Xr)),ut(0),kt(bn(_r))}}),Dn={};mr==="top"||mr==="bottom"?Dn[mn?"marginRight":"marginLeft"]=Ft:Dn.marginTop=Ft;var Mn=qe.map(function(Wr,ea){var sr=Wr.key;return h.createElement(Ke,{id:qt,prefixCls:He,key:sr,tab:Wr,style:ea===0?void 0:Dn,closable:Wr.closable,editable:Gn,active:sr===En,renderWrapper:en,removeAriaLabel:ir==null?void 0:ir.removeAriaLabel,onClick:function(fa){rn(sr,fa)},onFocus:function(){dn(sr),wo(),gt.current&&(mn||(gt.current.scrollLeft=0),gt.current.scrollTop=0)}})}),qn=function(){return fr(function(){var ea=new Map;return qe.forEach(function(sr){var _r,fa=sr.key,Oa=(_r=sn.current)===null||_r===void 0?void 0:_r.querySelector('[data-node-key="'.concat(be(fa),'"]'));Oa&&ea.set(fa,{width:Oa.offsetWidth,height:Oa.offsetHeight,left:Oa.offsetLeft,top:Oa.offsetTop})}),ea})};(0,h.useEffect)(function(){qn()},[qe.map(function(Wr){return Wr.key}).join("_")]);var rr=U(function(){var Wr=ye(In),ea=ye(on),sr=ye(mt);zn([Wr[0]-ea[0]-sr[0],Wr[1]-ea[1]-sr[1]]);var _r=ye(tn);Zn(_r);var fa=ye(Qt);br(fa);var Oa=ye(sn);kr([Oa[0]-_r[0],Oa[1]-_r[1]]),qn()}),Hr=qe.slice(0,zt),Da=qe.slice(Ae+1),ia=[].concat((0,D.Z)(Hr),(0,D.Z)(Da)),Jr=(0,h.useState)(),aa=(0,m.Z)(Jr,2),Pr=aa[0],Zr=aa[1],va=Ur.get(En),Na=(0,h.useRef)();function eo(){K.Z.cancel(Na.current)}(0,h.useEffect)(function(){var Wr={};return va&&(yn?(mn?Wr.right=va.right:Wr.left=va.left,Wr.width=va.width):(Wr.top=va.top,Wr.height=va.height)),eo(),Na.current=(0,K.Z)(function(){Zr(Wr)}),eo},[va,yn,mn]),(0,h.useEffect)(function(){dn()},[En,Tt,an,he(va),he(Ur),yn]),(0,h.useEffect)(function(){rr()},[mn]);var Va=!!ia.length,Xt="".concat(He,"-nav-wrap"),Cn,jn,er,gr;return yn?mn?(jn=tr>0,Cn=tr!==an):(Cn=tr<0,jn=tr!==Tt):(er=xt<0,gr=xt!==Tt),h.createElement(T.Z,{onResize:rr},h.createElement("div",{ref:(0,k.x1)(Se,In),role:"tablist",className:n()("".concat(He,"-nav"),Zt),style:Ut,onKeyDown:function(){wo()}},h.createElement(pt,{ref:on,position:"left",extra:Yn,prefixCls:He}),h.createElement("div",{className:n()(Xt,(bt={},(0,l.Z)(bt,"".concat(Xt,"-ping-left"),Cn),(0,l.Z)(bt,"".concat(Xt,"-ping-right"),jn),(0,l.Z)(bt,"".concat(Xt,"-ping-top"),er),(0,l.Z)(bt,"".concat(Xt,"-ping-bottom"),gr),bt)),ref:gt},h.createElement(T.Z,{onResize:rr},h.createElement("div",{ref:sn,className:"".concat(He,"-nav-list"),style:{transform:"translate(".concat(tr,"px, ").concat(xt,"px)"),transition:Ua?"none":void 0}},Mn,h.createElement(Je,{ref:tn,prefixCls:He,locale:ir,editable:Gn,style:(0,c.Z)((0,c.Z)({},Mn.length===0?void 0:Dn),{},{visibility:Va?"hidden":null})}),h.createElement("div",{className:n()("".concat(He,"-ink-bar"),(0,l.Z)({},"".concat(He,"-ink-bar-animated"),ln.inkBar)),style:Pr})))),h.createElement(Xe,(0,d.Z)({},Ie,{removeAriaLabel:ir==null?void 0:ir.removeAriaLabel,ref:Qt,prefixCls:He,tabs:ia,className:!Va&&Dr,tabMoving:!!Ua})),h.createElement(pt,{ref:mt,position:"right",extra:Yn,prefixCls:He})))}var R=h.forwardRef(H),P=["renderTabBar"],ae=["label","key"];function Q(Ie){var Se=Ie.renderTabBar,bt=(0,M.Z)(Ie,P),Pt=h.useContext(z),He=Pt.tabs;if(Se){var qe=(0,c.Z)((0,c.Z)({},bt),{},{panes:He.map(function(Zt){var Ut=Zt.label,qt=Zt.key,ln=(0,M.Z)(Zt,ae);return h.createElement(N,(0,d.Z)({tab:Ut,key:qt,tabKey:qt},ln))})});return Se(qe,R)}return h.createElement(R,bt)}var ie=e(75556);function me(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Se;return Ie===!1?Se={inkBar:!1,tabPane:!1}:Ie===!0?Se={inkBar:!0,tabPane:!1}:Se=(0,c.Z)({inkBar:!0},(0,g.Z)(Ie)==="object"?Ie:{}),Se.tabPaneMotion&&Se.tabPane===void 0&&(Se.tabPane=!0),!Se.tabPaneMotion&&Se.tabPane&&(Se.tabPane=!1),Se}var je=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],Ee=0;function Me(Ie,Se){var bt,Pt=Ie.id,He=Ie.prefixCls,qe=He===void 0?"rc-tabs":He,Zt=Ie.className,Ut=Ie.items,qt=Ie.direction,ln=Ie.activeKey,En=Ie.defaultActiveKey,mn=Ie.editable,Yn=Ie.animated,Gn=Ie.tabPosition,ir=Gn===void 0?"top":Gn,mr=Ie.tabBarGutter,Ft=Ie.tabBarStyle,en=Ie.tabBarExtraContent,rn=Ie.locale,fn=Ie.moreIcon,In=Ie.moreTransitionName,on=Ie.destroyInactiveTabPane,mt=Ie.renderTabBar,gt=Ie.onChange,sn=Ie.onTabClick,Qt=Ie.onTabScroll,tn=Ie.getPopupContainer,yn=Ie.popupClassName,vn=(0,M.Z)(Ie,je),Wn=h.useMemo(function(){return(Ut||[]).filter(function(Kr){return Kr&&(0,g.Z)(Kr)==="object"&&"key"in Kr})},[Ut]),tr=qt==="rtl",ut=me(Yn),ct=(0,h.useState)(!1),At=(0,m.Z)(ct,2),xt=At[0],kt=At[1];(0,h.useEffect)(function(){kt((0,S.Z)())},[]);var un=(0,w.Z)(function(){var Kr;return(Kr=Wn[0])===null||Kr===void 0?void 0:Kr.key},{value:ln,defaultValue:En}),nn=(0,m.Z)(un,2),An=nn[0],zn=nn[1],Er=(0,h.useState)(function(){return Wn.findIndex(function(Kr){return Kr.key===An})}),nr=(0,m.Z)(Er,2),Fn=nr[0],kr=nr[1];(0,h.useEffect)(function(){var Kr=Wn.findIndex(function(pa){return pa.key===An});if(Kr===-1){var ra;Kr=Math.max(0,Math.min(Fn,Wn.length-1)),zn((ra=Wn[Kr])===null||ra===void 0?void 0:ra.key)}kr(Kr)},[Wn.map(function(Kr){return Kr.key}).join("_"),An,Fn]);var hr=(0,w.Z)(null,{value:Pt}),la=(0,m.Z)(hr,2),zr=la[0],Zn=la[1];(0,h.useEffect)(function(){Pt||(Zn("rc-tabs-".concat(Ee)),Ee+=1)},[]);function On(Kr,ra){sn==null||sn(Kr,ra);var pa=Kr!==An;zn(Kr),pa&&(gt==null||gt(Kr))}var Tn={id:zr,activeKey:An,animated:ut,tabPosition:ir,rtl:tr,mobile:xt},ar,br=(0,c.Z)((0,c.Z)({},Tn),{},{editable:mn,locale:rn,moreIcon:fn,moreTransitionName:In,tabBarGutter:mr,onTabClick:On,onTabScroll:Qt,extra:en,style:Ft,panes:null,getPopupContainer:tn,popupClassName:yn});return h.createElement(z.Provider,{value:{tabs:Wn,prefixCls:qe}},h.createElement("div",(0,d.Z)({ref:Se,id:Pt,className:n()(qe,"".concat(qe,"-").concat(ir),(bt={},(0,l.Z)(bt,"".concat(qe,"-mobile"),xt),(0,l.Z)(bt,"".concat(qe,"-editable"),mn),(0,l.Z)(bt,"".concat(qe,"-rtl"),tr),bt),Zt)},vn),ar,h.createElement(Q,(0,d.Z)({},br,{renderTabBar:mt})),h.createElement(B,(0,d.Z)({destroyInactiveTabPane:on},Tn,{animated:ut}))))}var We=h.forwardRef(Me),re=We,se=re,J=e(61836),ce=e(58785),ue=()=>null,Ne=e(90881);const Oe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function we(Ie){let Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},bt;return Se===!1?bt={inkBar:!1,tabPane:!1}:Se===!0?bt={inkBar:!0,tabPane:!0}:bt=Object.assign({inkBar:!0},typeof Se=="object"?Se:{}),bt.tabPane&&(bt.tabPaneMotion=Object.assign(Object.assign({},Oe),{motionName:(0,Ne.m)(Ie,"switch")})),bt}var Re=e(42156),st=function(Ie,Se){var bt={};for(var Pt in Ie)Object.prototype.hasOwnProperty.call(Ie,Pt)&&Se.indexOf(Pt)<0&&(bt[Pt]=Ie[Pt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Pt=Object.getOwnPropertySymbols(Ie);HeSe)}function Ye(Ie,Se){if(Ie)return Ie;const bt=(0,Re.Z)(Se).map(Pt=>{if(h.isValidElement(Pt)){const{key:He,props:qe}=Pt,Zt=qe||{},{tab:Ut}=Zt,qt=st(Zt,["tab"]);return Object.assign(Object.assign({key:String(He)},qt),{label:Ut})}return null});return tt(bt)}var ke=e(78330),Be=e(52628),it=e(22151),Ve=e(1016),_t=Ie=>{const{componentCls:Se,motionDurationSlow:bt}=Ie;return[{[Se]:{[`${Se}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${bt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${bt}`}}}}},[(0,Ve.oN)(Ie,"slide-up"),(0,Ve.oN)(Ie,"slide-down")]]};const wt=Ie=>{const{componentCls:Se,tabsCardPadding:bt,cardBg:Pt,cardGutter:He,colorBorderSecondary:qe,itemSelectedColor:Zt}=Ie;return{[`${Se}-card`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{margin:0,padding:bt,background:Pt,border:`${Ie.lineWidth}px ${Ie.lineType} ${qe}`,transition:`all ${Ie.motionDurationSlow} ${Ie.motionEaseInOut}`},[`${Se}-tab-active`]:{color:Zt,background:Ie.colorBgContainer},[`${Se}-ink-bar`]:{visibility:"hidden"}},[`&${Se}-top, &${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab + ${Se}-tab`]:{marginLeft:{_skip_check_:!0,value:`${He}px`}}}},[`&${Se}-top`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:`${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0 0`},[`${Se}-tab-active`]:{borderBottomColor:Ie.colorBgContainer}}},[`&${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:`0 0 ${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px`},[`${Se}-tab-active`]:{borderTopColor:Ie.colorBgContainer}}},[`&${Se}-left, &${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab + ${Se}-tab`]:{marginTop:`${He}px`}}},[`&${Se}-left`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ie.borderRadiusLG}px 0 0 ${Ie.borderRadiusLG}px`}},[`${Se}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Ie.colorBgContainer}}}},[`&${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0`}},[`${Se}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Ie.colorBgContainer}}}}}}},jt=Ie=>{const{componentCls:Se,itemHoverColor:bt,dropdownEdgeChildVerticalPadding:Pt}=Ie;return{[`${Se}-dropdown`]:Object.assign(Object.assign({},(0,ke.Wf)(Ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ie.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Se}-dropdown-menu`]:{maxHeight:Ie.tabsDropdownHeight,margin:0,padding:`${Pt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Ie.colorBgContainer,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ke.vS),{display:"flex",alignItems:"center",minWidth:Ie.tabsDropdownWidth,margin:0,padding:`${Ie.paddingXXS}px ${Ie.paddingSM}px`,color:Ie.colorText,fontWeight:"normal",fontSize:Ie.fontSize,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Ie.marginSM},color:Ie.colorTextDescription,fontSize:Ie.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:bt}},"&:hover":{background:Ie.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Ie.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Yt=Ie=>{const{componentCls:Se,margin:bt,colorBorderSecondary:Pt,horizontalMargin:He,verticalItemPadding:qe,verticalItemMargin:Zt}=Ie;return{[`${Se}-top, ${Se}-bottom`]:{flexDirection:"column",[`> ${Se}-nav, > div > ${Se}-nav`]:{margin:He,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Ie.lineWidth}px ${Ie.lineType} ${Pt}`,content:"''"},[`${Se}-ink-bar`]:{height:Ie.lineWidthBold,"&-animated":{transition:`width ${Ie.motionDurationSlow}, left ${Ie.motionDurationSlow}, + `]:{animationName:n,animationPlayState:"running"},[`${m}${s}-leave${s}-leave-active`]:{animationName:d,animationPlayState:"running",pointerEvents:"none"}}}},1546:function(b,y,e){"use strict";e.d(y,{Fm:function(){return h}});var a=e(57793),t=e(85745);const o=new a.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new a.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),n=new a.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new a.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),l=new a.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new a.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),m=new a.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),g=new a.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),M={"move-up":{inKeyframes:m,outKeyframes:g},"move-down":{inKeyframes:o,outKeyframes:s},"move-left":{inKeyframes:n,outKeyframes:d},"move-right":{inKeyframes:l,outKeyframes:c}},h=(S,w)=>{const{antCls:C}=S,F=`${C}-${w}`,{inKeyframes:Z,outKeyframes:N}=M[w];return[(0,t.R)(F,Z,N,S.motionDurationMid),{[` + ${F}-enter, + ${F}-appear + `]:{opacity:0,animationTimingFunction:S.motionEaseOutCirc},[`${F}-leave`]:{animationTimingFunction:S.motionEaseInOutCirc}}]}},1016:function(b,y,e){"use strict";e.d(y,{Qt:function(){return n},Uw:function(){return s},fJ:function(){return o},ly:function(){return d},oN:function(){return h}});var a=e(57793),t=e(85745);const o=new a.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),s=new a.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),n=new a.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),d=new a.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),l=new a.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),c=new a.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),m=new a.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),g=new a.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),M={"slide-up":{inKeyframes:o,outKeyframes:s},"slide-down":{inKeyframes:n,outKeyframes:d},"slide-left":{inKeyframes:l,outKeyframes:c},"slide-right":{inKeyframes:m,outKeyframes:g}},h=(S,w)=>{const{antCls:C}=S,F=`${C}-${w}`,{inKeyframes:Z,outKeyframes:N}=M[w];return[(0,t.R)(F,Z,N,S.motionDurationMid),{[` + ${F}-enter, + ${F}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:S.motionEaseOutQuint,["&-prepare"]:{transform:"scale(1)"}},[`${F}-leave`]:{animationTimingFunction:S.motionEaseInQuint}}]}},28107:function(b,y,e){"use strict";e.d(y,{_y:function(){return F},kr:function(){return o}});var a=e(57793),t=e(85745);const o=new a.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new a.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),n=new a.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),d=new a.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),l=new a.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),c=new a.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),m=new a.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),g=new a.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),M=new a.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new a.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),S=new a.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),w=new a.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),C={zoom:{inKeyframes:o,outKeyframes:s},"zoom-big":{inKeyframes:n,outKeyframes:d},"zoom-big-fast":{inKeyframes:n,outKeyframes:d},"zoom-left":{inKeyframes:m,outKeyframes:g},"zoom-right":{inKeyframes:M,outKeyframes:h},"zoom-up":{inKeyframes:l,outKeyframes:c},"zoom-down":{inKeyframes:S,outKeyframes:w}},F=(Z,N)=>{const{antCls:L}=Z,$=`${L}-${N}`,{inKeyframes:D,outKeyframes:T}=C[N];return[(0,t.R)($,D,T,N==="zoom-big-fast"?Z.motionDurationFast:Z.motionDurationMid),{[` + ${$}-enter, + ${$}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:Z.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${$}-leave`]:{animationTimingFunction:Z.motionEaseInOutCirc}}]}},24542:function(b,y,e){"use strict";e.d(y,{ZP:function(){return n},fS:function(){return o},qN:function(){return t}});var a=e(72944);const t=8;function o(d){const l=t,{contentRadius:c,limitVerticalRadius:m}=d,g=c>12?c+2:12;return{dropdownArrowOffset:g,dropdownArrowOffsetVertical:m?l:g}}function s(d,l){return d?l:{}}function n(d,l){const{componentCls:c,sizePopupArrow:m,borderRadiusXS:g,borderRadiusOuter:M,boxShadowPopoverArrow:h}=d,{colorBg:S,contentRadius:w=d.borderRadiusLG,limitVerticalRadius:C,arrowDistance:F=0,arrowPlacement:Z={left:!0,right:!0,top:!0,bottom:!0}}=l,{dropdownArrowOffsetVertical:N,dropdownArrowOffset:L}=o({contentRadius:w,limitVerticalRadius:C});return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({[`${c}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,a.r)(m,g,M,S,h)),{"&:before":{background:S}})]},s(!!Z.top,{[[`&-placement-top ${c}-arrow`,`&-placement-topLeft ${c}-arrow`,`&-placement-topRight ${c}-arrow`].join(",")]:{bottom:F,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${c}-arrow`]:{left:{_skip_check_:!0,value:L}},[`&-placement-topRight ${c}-arrow`]:{right:{_skip_check_:!0,value:L}}})),s(!!Z.bottom,{[[`&-placement-bottom ${c}-arrow`,`&-placement-bottomLeft ${c}-arrow`,`&-placement-bottomRight ${c}-arrow`].join(",")]:{top:F,transform:"translateY(-100%)"},[`&-placement-bottom ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${c}-arrow`]:{left:{_skip_check_:!0,value:L}},[`&-placement-bottomRight ${c}-arrow`]:{right:{_skip_check_:!0,value:L}}})),s(!!Z.left,{[[`&-placement-left ${c}-arrow`,`&-placement-leftTop ${c}-arrow`,`&-placement-leftBottom ${c}-arrow`].join(",")]:{right:{_skip_check_:!0,value:F},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${c}-arrow`]:{top:N},[`&-placement-leftBottom ${c}-arrow`]:{bottom:N}})),s(!!Z.right,{[[`&-placement-right ${c}-arrow`,`&-placement-rightTop ${c}-arrow`,`&-placement-rightBottom ${c}-arrow`].join(",")]:{left:{_skip_check_:!0,value:F},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${c}-arrow`]:{top:N},[`&-placement-rightBottom ${c}-arrow`]:{bottom:N}}))}}},72944:function(b,y,e){"use strict";e.d(y,{r:function(){return a}});const a=(t,o,s,n,d)=>{const l=t/2,c=0,m=l,g=s*1/Math.sqrt(2),M=l-s*(1-1/Math.sqrt(2)),h=l-o*(1/Math.sqrt(2)),S=s*(Math.sqrt(2)-1)+o*(1/Math.sqrt(2)),w=2*l-h,C=S,F=2*l-g,Z=M,N=2*l-c,L=m,$=l*Math.sqrt(2)+s*(Math.sqrt(2)-2),D=s*(Math.sqrt(2)-1);return{pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:t/2,background:n,clipPath:{_multi_value_:!0,value:[`polygon(${D}px 100%, 50% ${D}px, ${2*l-D}px 100%, ${D}px 100%)`,`path('M ${c} ${m} A ${s} ${s} 0 0 0 ${g} ${M} L ${h} ${S} A ${o} ${o} 0 0 1 ${w} ${C} L ${F} ${Z} A ${s} ${s} 0 0 0 ${N} ${L} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:$,height:$,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${o}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:d,zIndex:0,background:"transparent"}}}},16951:function(b,y,e){"use strict";e.d(y,{Z:function(){return At}});var a=e(52495),t=e(18974),o=e(12673),s=e(87608),n=e.n(s),d=e(60698),l=e(37734),c=e(57370),m=e(28314),g=e(38790),M=e(47075),h=e(58757),S=e(21618),w=e(60409),C=e(17598),F=(0,h.createContext)(null),Z=h.forwardRef(function(Ie,Se){var bt=Ie.prefixCls,jt=Ie.className,He=Ie.style,qe=Ie.id,$t=Ie.active,Zt=Ie.tabKey,qt=Ie.children;return h.createElement("div",{id:qe&&"".concat(qe,"-panel-").concat(Zt),role:"tabpanel",tabIndex:$t?0:-1,"aria-labelledby":qe&&"".concat(qe,"-tab-").concat(Zt),"aria-hidden":!$t,style:He,className:n()(bt,$t&&"".concat(bt,"-active"),jt),ref:Se},qt)}),N=Z,L=["key","forceRender","style","className"];function $(Ie){var Se=Ie.id,bt=Ie.activeKey,jt=Ie.animated,He=Ie.tabPosition,qe=Ie.destroyInactiveTabPane,$t=h.useContext(F),Zt=$t.prefixCls,qt=$t.tabs,un=jt.tabPane,xn="".concat(Zt,"-tabpane");return h.createElement("div",{className:n()("".concat(Zt,"-content-holder"))},h.createElement("div",{className:n()("".concat(Zt,"-content"),"".concat(Zt,"-content-").concat(He),(0,l.Z)({},"".concat(Zt,"-content-animated"),un))},qt.map(function(pn){var Gn=pn.key,Qn=pn.forceRender,ur=pn.style,br=pn.className,zt=(0,M.Z)(pn,L),en=Gn===bt;return h.createElement(C.ZP,(0,d.Z)({key:Gn,visible:en,forceRender:Qn,removeOnLeave:!!qe,leavedClassName:"".concat(xn,"-hidden")},jt.tabPaneMotion),function(an,vn){var An=an.style,sn=an.className;return h.createElement(N,(0,d.Z)({},zt,{prefixCls:xn,id:Se,tabKey:Gn,animated:un,active:en,style:(0,c.Z)((0,c.Z)({},ur),An),className:n()(br,sn),ref:vn}))})})))}var D=e(29140),T=e(19425),j=e(51729),K=e(61834),k=e(21319),te={width:0,height:0,left:0,top:0};function V(Ie,Se,bt){return(0,h.useMemo)(function(){for(var jt,He=new Map,qe=Se.get((jt=Ie[0])===null||jt===void 0?void 0:jt.key)||te,$t=qe.left+qe.width,Zt=0;Ztnr?(gn=tn,mt.current="x"):(gn=yn,mt.current="y"),Se(-gn,-gn)&&Qt.preventDefault()}var ln=(0,h.useRef)(null);ln.current={onTouchStart:vn,onTouchMove:An,onTouchEnd:sn,onWheel:gt},h.useEffect(function(){function Qt(_n){ln.current.onTouchStart(_n)}function tn(_n){ln.current.onTouchMove(_n)}function yn(_n){ln.current.onTouchEnd(_n)}function gn(_n){ln.current.onWheel(_n)}return document.addEventListener("touchmove",tn,{passive:!1}),document.addEventListener("touchend",yn,{passive:!1}),Ie.current.addEventListener("touchstart",Qt,{passive:!1}),Ie.current.addEventListener("wheel",gn),function(){document.removeEventListener("touchmove",tn),document.removeEventListener("touchend",yn)}},[])}var _=e(81334);function U(Ie){var Se=(0,h.useState)(0),bt=(0,m.Z)(Se,2),jt=bt[0],He=bt[1],qe=(0,h.useRef)(0),$t=(0,h.useRef)();return $t.current=Ie,(0,_.o)(function(){var Zt;(Zt=$t.current)===null||Zt===void 0||Zt.call($t)},[jt]),function(){qe.current===jt&&(qe.current+=1,He(qe.current))}}function A(Ie){var Se=(0,h.useRef)([]),bt=(0,h.useState)({}),jt=(0,m.Z)(bt,2),He=jt[1],qe=(0,h.useRef)(typeof Ie=="function"?Ie():Ie),$t=U(function(){var qt=qe.current;Se.current.forEach(function(un){qt=un(qt)}),Se.current=[],qe.current=qt,He({})});function Zt(qt){Se.current.push(qt),$t()}return[qe.current,Zt]}var G={width:0,height:0,left:0,top:0,right:0};function fe(Ie,Se,bt,jt,He,qe,$t){var Zt=$t.tabs,qt=$t.tabPosition,un=$t.rtl,xn,pn,Gn;return["top","bottom"].includes(qt)?(xn="width",pn=un?"right":"left",Gn=Math.abs(bt)):(xn="height",pn="top",Gn=-bt),(0,h.useMemo)(function(){if(!Zt.length)return[0,0];for(var Qn=Zt.length,ur=Qn,br=0;brGn+Se){ur=br-1;break}}for(var en=0,an=Qn-1;an>=0;an-=1){var vn=Ie.get(Zt[an].key)||G;if(vn[pn]=ur?[0,0]:[en,ur]},[Ie,Se,jt,He,qe,Gn,qt,Zt.map(function(Qn){return Qn.key}).join("_"),un])}function pe(Ie){var Se;return Ie instanceof Map?(Se={},Ie.forEach(function(bt,jt){Se[jt]=bt})):Se=Ie,JSON.stringify(Se)}var ge="TABS_DQ";function be(Ie){return String(Ie).replace(/"/g,ge)}function Te(Ie,Se,bt,jt){return!(!bt||jt||Ie===!1||Ie===void 0&&(Se===!1||Se===null))}function Ge(Ie,Se){var bt=Ie.prefixCls,jt=Ie.editable,He=Ie.locale,qe=Ie.style;return!jt||jt.showAdd===!1?null:h.createElement("button",{ref:Se,type:"button",className:"".concat(bt,"-nav-add"),style:qe,"aria-label":(He==null?void 0:He.addAriaLabel)||"Add tab",onClick:function(Zt){jt.onEdit("add",{event:Zt})}},jt.addIcon||"+")}var Je=h.forwardRef(Ge),Qe=h.forwardRef(function(Ie,Se){var bt=Ie.position,jt=Ie.prefixCls,He=Ie.extra;if(!He)return null;var qe,$t={};return(0,g.Z)(He)==="object"&&!h.isValidElement(He)?$t=He:$t.right=He,bt==="right"&&(qe=$t.right),bt==="left"&&(qe=$t.left),qe?h.createElement("div",{className:"".concat(jt,"-extra-content"),ref:Se},qe):null}),pt=Qe,Et=e(4933),ft=e(87854),Wt=e(29639);function $e(Ie,Se){var bt=Ie.prefixCls,jt=Ie.id,He=Ie.tabs,qe=Ie.locale,$t=Ie.mobile,Zt=Ie.moreIcon,qt=Zt===void 0?"More":Zt,un=Ie.moreTransitionName,xn=Ie.style,pn=Ie.className,Gn=Ie.editable,Qn=Ie.tabBarGutter,ur=Ie.rtl,br=Ie.removeAriaLabel,zt=Ie.onTabClick,en=Ie.getPopupContainer,an=Ie.popupClassName,vn=(0,h.useState)(!1),An=(0,m.Z)(vn,2),sn=An[0],mt=An[1],gt=(0,h.useState)(null),ln=(0,m.Z)(gt,2),Qt=ln[0],tn=ln[1],yn="".concat(jt,"-more-popup"),gn="".concat(bt,"-dropdown"),_n=Qt!==null?"".concat(yn,"-").concat(Qt):null,nr=qe==null?void 0:qe.dropdownAriaLabel;function ut(Dn,Bn){Dn.preventDefault(),Dn.stopPropagation(),Gn.onEdit("remove",{key:Bn,event:Dn})}var ct=h.createElement(ft.ZP,{onClick:function(Bn){var Cr=Bn.key,rr=Bn.domEvent;zt(Cr,rr),mt(!1)},prefixCls:"".concat(gn,"-menu"),id:yn,tabIndex:-1,role:"listbox","aria-activedescendant":_n,selectedKeys:[Qt],"aria-label":nr!==void 0?nr:"expanded dropdown"},He.map(function(Dn){var Bn=Dn.closable,Cr=Dn.disabled,rr=Dn.closeIcon,$n=Dn.key,kr=Dn.label,Mr=Te(Bn,rr,Gn,Cr);return h.createElement(ft.sN,{key:$n,id:"".concat(yn,"-").concat($n),role:"option","aria-controls":jt&&"".concat(jt,"-panel-").concat($n),disabled:Cr},h.createElement("span",null,kr),Mr&&h.createElement("button",{type:"button","aria-label":br||"remove",tabIndex:0,className:"".concat(gn,"-menu-item-remove"),onClick:function(zr){zr.stopPropagation(),ut(zr,$n)}},rr||Gn.removeIcon||"\xD7"))}));function It(Dn){for(var Bn=He.filter(function(Mr){return!Mr.disabled}),Cr=Bn.findIndex(function(Mr){return Mr.key===Qt})||0,rr=Bn.length,$n=0;$nea?"left":"right"})}),_n=(0,m.Z)(gn,2),nr=_n[0],ut=_n[1],ct=q(0,function(Wr,ea){!yn&&vn&&vn({direction:Wr>ea?"top":"bottom"})}),It=(0,m.Z)(ct,2),Ct=It[0],Ut=It[1],cn=(0,h.useState)([0,0]),rn=(0,m.Z)(cn,2),Dn=rn[0],Bn=rn[1],Cr=(0,h.useState)([0,0]),rr=(0,m.Z)(Cr,2),$n=rr[0],kr=rr[1],Mr=(0,h.useState)([0,0]),ia=(0,m.Z)(Mr,2),zr=ia[0],Wn=ia[1],wn=(0,h.useState)([0,0]),Rn=(0,m.Z)(wn,2),sr=Rn[0],Er=Rn[1],Kr=A(new Map),ta=(0,m.Z)(Kr,2),ga=ta[0],pr=ta[1],Ur=V(qe,ga,$n[0]),Ma=ne(Dn,yn),ma=ne($n,yn),Yn=ne(zr,yn),Zn=ne(sr,yn),Sr=Maon?on:Wr}var Ja=(0,h.useRef)(),mo=(0,h.useState)(),Ua=(0,m.Z)(mo,2),ka=Ua[0],Qa=Ua[1];function wo(){Qa(Date.now())}function No(){window.clearTimeout(Ja.current)}O(gt,function(Wr,ea){function dr(_r,la){_r(function(Ia){var Ca=Mn(Ia+la);return Ca})}return Sr?(yn?dr(ut,Wr):dr(Ut,ea),No(),wo(),!0):!1}),(0,h.useEffect)(function(){return No(),ka&&(Ja.current=window.setTimeout(function(){Qa(0)},100)),No},[ka]);var ho=fe(Ur,Xr,yn?nr:Ct,ma,Yn,Zn,(0,c.Z)((0,c.Z)({},Ie),{},{tabs:qe})),dt=(0,m.Z)(ho,2),Rt=dt[0],Ae=dt[1],dn=(0,j.Z)(function(){var Wr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xn,ea=Ur.get(Wr)||{width:0,height:0,left:0,right:0,top:0};if(yn){var dr=nr;pn?ea.rightnr+Xr&&(dr=ea.right+ea.width-Xr):ea.left<-nr?dr=-ea.left:ea.left+ea.width>-nr+Xr&&(dr=-(ea.left+ea.width-Xr)),Ut(0),ut(Mn(dr))}else{var _r=Ct;ea.top<-Ct?_r=-ea.top:ea.top+ea.height>-Ct+Xr&&(_r=-(ea.top+ea.height-Xr)),ut(0),Ut(Mn(_r))}}),Pn={};br==="top"||br==="bottom"?Pn[pn?"marginRight":"marginLeft"]=zt:Pn.marginTop=zt;var Sn=qe.map(function(Wr,ea){var dr=Wr.key;return h.createElement(Ke,{id:qt,prefixCls:He,key:dr,tab:Wr,style:ea===0?void 0:Pn,closable:Wr.closable,editable:Qn,active:dr===xn,renderWrapper:en,removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,onClick:function(la){an(dr,la)},onFocus:function(){dn(dr),wo(),gt.current&&(pn||(gt.current.scrollLeft=0),gt.current.scrollTop=0)}})}),er=function(){return pr(function(){var ea=new Map;return qe.forEach(function(dr){var _r,la=dr.key,Ia=(_r=ln.current)===null||_r===void 0?void 0:_r.querySelector('[data-node-key="'.concat(be(la),'"]'));Ia&&ea.set(la,{width:Ia.offsetWidth,height:Ia.offsetHeight,left:Ia.offsetLeft,top:Ia.offsetTop})}),ea})};(0,h.useEffect)(function(){er()},[qe.map(function(Wr){return Wr.key}).join("_")]);var ir=U(function(){var Wr=ye(An),ea=ye(sn),dr=ye(mt);Bn([Wr[0]-ea[0]-dr[0],Wr[1]-ea[1]-dr[1]]);var _r=ye(tn);Wn(_r);var la=ye(Qt);Er(la);var Ia=ye(ln);kr([Ia[0]-_r[0],Ia[1]-_r[1]]),er()}),Hr=qe.slice(0,Rt),Oa=qe.slice(Ae+1),oa=[].concat((0,D.Z)(Hr),(0,D.Z)(Oa)),Jr=(0,h.useState)(),na=(0,m.Z)(Jr,2),Lr=na[0],Zr=na[1],ca=Ur.get(xn),Ta=(0,h.useRef)();function eo(){K.Z.cancel(Ta.current)}(0,h.useEffect)(function(){var Wr={};return ca&&(yn?(pn?Wr.right=ca.right:Wr.left=ca.left,Wr.width=ca.width):(Wr.top=ca.top,Wr.height=ca.height)),eo(),Ta.current=(0,K.Z)(function(){Zr(Wr)}),eo},[ca,yn,pn]),(0,h.useEffect)(function(){dn()},[xn,Pt,on,pe(ca),pe(Ur),yn]),(0,h.useEffect)(function(){ir()},[pn]);var Va=!!oa.length,Xt="".concat(He,"-nav-wrap"),In,Tn,tr,yr;return yn?pn?(Tn=nr>0,In=nr!==on):(In=nr<0,Tn=nr!==Pt):(tr=Ct<0,yr=Ct!==Pt),h.createElement(T.Z,{onResize:ir},h.createElement("div",{ref:(0,k.x1)(Se,An),role:"tablist",className:n()("".concat(He,"-nav"),$t),style:Zt,onKeyDown:function(){wo()}},h.createElement(pt,{ref:sn,position:"left",extra:Gn,prefixCls:He}),h.createElement("div",{className:n()(Xt,(bt={},(0,l.Z)(bt,"".concat(Xt,"-ping-left"),In),(0,l.Z)(bt,"".concat(Xt,"-ping-right"),Tn),(0,l.Z)(bt,"".concat(Xt,"-ping-top"),tr),(0,l.Z)(bt,"".concat(Xt,"-ping-bottom"),yr),bt)),ref:gt},h.createElement(T.Z,{onResize:ir},h.createElement("div",{ref:ln,className:"".concat(He,"-nav-list"),style:{transform:"translate(".concat(nr,"px, ").concat(Ct,"px)"),transition:ka?"none":void 0}},Sn,h.createElement(Je,{ref:tn,prefixCls:He,locale:ur,editable:Qn,style:(0,c.Z)((0,c.Z)({},Sn.length===0?void 0:Pn),{},{visibility:Va?"hidden":null})}),h.createElement("div",{className:n()("".concat(He,"-ink-bar"),(0,l.Z)({},"".concat(He,"-ink-bar-animated"),un.inkBar)),style:Lr})))),h.createElement(Xe,(0,d.Z)({},Ie,{removeAriaLabel:ur==null?void 0:ur.removeAriaLabel,ref:Qt,prefixCls:He,tabs:oa,className:!Va&&wr,tabMoving:!!ka})),h.createElement(pt,{ref:mt,position:"right",extra:Gn,prefixCls:He})))}var R=h.forwardRef(H),P=["renderTabBar"],ae=["label","key"];function Q(Ie){var Se=Ie.renderTabBar,bt=(0,M.Z)(Ie,P),jt=h.useContext(F),He=jt.tabs;if(Se){var qe=(0,c.Z)((0,c.Z)({},bt),{},{panes:He.map(function($t){var Zt=$t.label,qt=$t.key,un=(0,M.Z)($t,ae);return h.createElement(N,(0,d.Z)({tab:Zt,key:qt,tabKey:qt},un))})});return Se(qe,R)}return h.createElement(R,bt)}var ie=e(75556);function me(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Se;return Ie===!1?Se={inkBar:!1,tabPane:!1}:Ie===!0?Se={inkBar:!0,tabPane:!1}:Se=(0,c.Z)({inkBar:!0},(0,g.Z)(Ie)==="object"?Ie:{}),Se.tabPaneMotion&&Se.tabPane===void 0&&(Se.tabPane=!0),!Se.tabPaneMotion&&Se.tabPane&&(Se.tabPane=!1),Se}var je=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],Ee=0;function Me(Ie,Se){var bt,jt=Ie.id,He=Ie.prefixCls,qe=He===void 0?"rc-tabs":He,$t=Ie.className,Zt=Ie.items,qt=Ie.direction,un=Ie.activeKey,xn=Ie.defaultActiveKey,pn=Ie.editable,Gn=Ie.animated,Qn=Ie.tabPosition,ur=Qn===void 0?"top":Qn,br=Ie.tabBarGutter,zt=Ie.tabBarStyle,en=Ie.tabBarExtraContent,an=Ie.locale,vn=Ie.moreIcon,An=Ie.moreTransitionName,sn=Ie.destroyInactiveTabPane,mt=Ie.renderTabBar,gt=Ie.onChange,ln=Ie.onTabClick,Qt=Ie.onTabScroll,tn=Ie.getPopupContainer,yn=Ie.popupClassName,gn=(0,M.Z)(Ie,je),_n=h.useMemo(function(){return(Zt||[]).filter(function(Kr){return Kr&&(0,g.Z)(Kr)==="object"&&"key"in Kr})},[Zt]),nr=qt==="rtl",ut=me(Gn),ct=(0,h.useState)(!1),It=(0,m.Z)(ct,2),Ct=It[0],Ut=It[1];(0,h.useEffect)(function(){Ut((0,S.Z)())},[]);var cn=(0,w.Z)(function(){var Kr;return(Kr=_n[0])===null||Kr===void 0?void 0:Kr.key},{value:un,defaultValue:xn}),rn=(0,m.Z)(cn,2),Dn=rn[0],Bn=rn[1],Cr=(0,h.useState)(function(){return _n.findIndex(function(Kr){return Kr.key===Dn})}),rr=(0,m.Z)(Cr,2),$n=rr[0],kr=rr[1];(0,h.useEffect)(function(){var Kr=_n.findIndex(function(ga){return ga.key===Dn});if(Kr===-1){var ta;Kr=Math.max(0,Math.min($n,_n.length-1)),Bn((ta=_n[Kr])===null||ta===void 0?void 0:ta.key)}kr(Kr)},[_n.map(function(Kr){return Kr.key}).join("_"),Dn,$n]);var Mr=(0,w.Z)(null,{value:jt}),ia=(0,m.Z)(Mr,2),zr=ia[0],Wn=ia[1];(0,h.useEffect)(function(){jt||(Wn("rc-tabs-".concat(Ee)),Ee+=1)},[]);function wn(Kr,ta){ln==null||ln(Kr,ta);var ga=Kr!==Dn;Bn(Kr),ga&&(gt==null||gt(Kr))}var Rn={id:zr,activeKey:Dn,animated:ut,tabPosition:ur,rtl:nr,mobile:Ct},sr,Er=(0,c.Z)((0,c.Z)({},Rn),{},{editable:pn,locale:an,moreIcon:vn,moreTransitionName:An,tabBarGutter:br,onTabClick:wn,onTabScroll:Qt,extra:en,style:zt,panes:null,getPopupContainer:tn,popupClassName:yn});return h.createElement(F.Provider,{value:{tabs:_n,prefixCls:qe}},h.createElement("div",(0,d.Z)({ref:Se,id:jt,className:n()(qe,"".concat(qe,"-").concat(ur),(bt={},(0,l.Z)(bt,"".concat(qe,"-mobile"),Ct),(0,l.Z)(bt,"".concat(qe,"-editable"),pn),(0,l.Z)(bt,"".concat(qe,"-rtl"),nr),bt),$t)},gn),sr,h.createElement(Q,(0,d.Z)({},Er,{renderTabBar:mt})),h.createElement($,(0,d.Z)({destroyInactiveTabPane:sn},Rn,{animated:ut}))))}var We=h.forwardRef(Me),re=We,se=re,J=e(61836),de=e(58785),ce=()=>null,Le=e(90881);const Oe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function we(Ie){let Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},bt;return Se===!1?bt={inkBar:!1,tabPane:!1}:Se===!0?bt={inkBar:!0,tabPane:!0}:bt=Object.assign({inkBar:!0},typeof Se=="object"?Se:{}),bt.tabPane&&(bt.tabPaneMotion=Object.assign(Object.assign({},Oe),{motionName:(0,Le.m)(Ie,"switch")})),bt}var Ne=e(42156),st=function(Ie,Se){var bt={};for(var jt in Ie)Object.prototype.hasOwnProperty.call(Ie,jt)&&Se.indexOf(jt)<0&&(bt[jt]=Ie[jt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,jt=Object.getOwnPropertySymbols(Ie);HeSe)}function Ye(Ie,Se){if(Ie)return Ie;const bt=(0,Ne.Z)(Se).map(jt=>{if(h.isValidElement(jt)){const{key:He,props:qe}=jt,$t=qe||{},{tab:Zt}=$t,qt=st($t,["tab"]);return Object.assign(Object.assign({key:String(He)},qt),{label:Zt})}return null});return et(bt)}var ke=e(78330),Be=e(52628),it=e(22151),Ve=e(1016),Ht=Ie=>{const{componentCls:Se,motionDurationSlow:bt}=Ie;return[{[Se]:{[`${Se}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${bt}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${bt}`}}}}},[(0,Ve.oN)(Ie,"slide-up"),(0,Ve.oN)(Ie,"slide-down")]]};const Ot=Ie=>{const{componentCls:Se,tabsCardPadding:bt,cardBg:jt,cardGutter:He,colorBorderSecondary:qe,itemSelectedColor:$t}=Ie;return{[`${Se}-card`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{margin:0,padding:bt,background:jt,border:`${Ie.lineWidth}px ${Ie.lineType} ${qe}`,transition:`all ${Ie.motionDurationSlow} ${Ie.motionEaseInOut}`},[`${Se}-tab-active`]:{color:$t,background:Ie.colorBgContainer},[`${Se}-ink-bar`]:{visibility:"hidden"}},[`&${Se}-top, &${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab + ${Se}-tab`]:{marginLeft:{_skip_check_:!0,value:`${He}px`}}}},[`&${Se}-top`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:`${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0 0`},[`${Se}-tab-active`]:{borderBottomColor:Ie.colorBgContainer}}},[`&${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:`0 0 ${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px`},[`${Se}-tab-active`]:{borderTopColor:Ie.colorBgContainer}}},[`&${Se}-left, &${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab + ${Se}-tab`]:{marginTop:`${He}px`}}},[`&${Se}-left`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ie.borderRadiusLG}px 0 0 ${Ie.borderRadiusLG}px`}},[`${Se}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:Ie.colorBgContainer}}}},[`&${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0`}},[`${Se}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:Ie.colorBgContainer}}}}}}},wt=Ie=>{const{componentCls:Se,itemHoverColor:bt,dropdownEdgeChildVerticalPadding:jt}=Ie;return{[`${Se}-dropdown`]:Object.assign(Object.assign({},(0,ke.Wf)(Ie)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:Ie.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Se}-dropdown-menu`]:{maxHeight:Ie.tabsDropdownHeight,margin:0,padding:`${jt}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:Ie.colorBgContainer,backgroundClip:"padding-box",borderRadius:Ie.borderRadiusLG,outline:"none",boxShadow:Ie.boxShadowSecondary,"&-item":Object.assign(Object.assign({},ke.vS),{display:"flex",alignItems:"center",minWidth:Ie.tabsDropdownWidth,margin:0,padding:`${Ie.paddingXXS}px ${Ie.paddingSM}px`,color:Ie.colorText,fontWeight:"normal",fontSize:Ie.fontSize,lineHeight:Ie.lineHeight,cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:Ie.marginSM},color:Ie.colorTextDescription,fontSize:Ie.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:bt}},"&:hover":{background:Ie.controlItemBgHover},"&-disabled":{"&, &:hover":{color:Ie.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},_t=Ie=>{const{componentCls:Se,margin:bt,colorBorderSecondary:jt,horizontalMargin:He,verticalItemPadding:qe,verticalItemMargin:$t}=Ie;return{[`${Se}-top, ${Se}-bottom`]:{flexDirection:"column",[`> ${Se}-nav, > div > ${Se}-nav`]:{margin:He,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Ie.lineWidth}px ${Ie.lineType} ${jt}`,content:"''"},[`${Se}-ink-bar`]:{height:Ie.lineWidthBold,"&-animated":{transition:`width ${Ie.motionDurationSlow}, left ${Ie.motionDurationSlow}, right ${Ie.motionDurationSlow}`}},[`${Se}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:Ie.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:Ie.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:Ie.boxShadowTabsOverflowRight},[`&${Se}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Se}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Se}-top`]:{[`> ${Se}-nav, - > div > ${Se}-nav`]:{"&::before":{bottom:0},[`${Se}-ink-bar`]:{bottom:0}}},[`${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{order:1,marginTop:`${bt}px`,marginBottom:0,"&::before":{top:0},[`${Se}-ink-bar`]:{top:0}},[`> ${Se}-content-holder, > div > ${Se}-content-holder`]:{order:0}},[`${Se}-left, ${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{flexDirection:"column",minWidth:Ie.controlHeight*1.25,[`${Se}-tab`]:{padding:qe,textAlign:"center"},[`${Se}-tab + ${Se}-tab`]:{margin:Zt},[`${Se}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Ie.controlHeight},"&::before":{top:0,boxShadow:Ie.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Ie.boxShadowTabsOverflowBottom},[`&${Se}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Se}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Se}-ink-bar`]:{width:Ie.lineWidthBold,"&-animated":{transition:`height ${Ie.motionDurationSlow}, top ${Ie.motionDurationSlow}`}},[`${Se}-nav-list, ${Se}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Se}-left`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Se}-content-holder, > div > ${Se}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Ie.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`},[`> ${Se}-content > ${Se}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Ie.paddingLG}}}},[`${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{order:1,[`${Se}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Se}-content-holder, > div > ${Se}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Ie.lineWidth},borderRight:{_skip_check_:!0,value:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`},[`> ${Se}-content > ${Se}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Ie.paddingLG}}}}}},yt=Ie=>{const{componentCls:Se,cardPaddingSM:bt,cardPaddingLG:Pt,horizontalItemPaddingSM:He,horizontalItemPaddingLG:qe}=Ie;return{[Se]:{"&-small":{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:He,fontSize:Ie.titleFontSizeSM}}},"&-large":{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:qe,fontSize:Ie.titleFontSizeLG}}}},[`${Se}-card`]:{[`&${Se}-small`]:{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:bt}},[`&${Se}-bottom`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:`0 0 ${Ie.borderRadius}px ${Ie.borderRadius}px`}},[`&${Se}-top`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:`${Ie.borderRadius}px ${Ie.borderRadius}px 0 0`}},[`&${Se}-right`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ie.borderRadius}px ${Ie.borderRadius}px 0`}}},[`&${Se}-left`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ie.borderRadius}px 0 0 ${Ie.borderRadius}px`}}}},[`&${Se}-large`]:{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:Pt}}}}}},ze=Ie=>{const{componentCls:Se,itemActiveColor:bt,itemHoverColor:Pt,iconCls:He,tabsHorizontalItemMargin:qe,horizontalItemPadding:Zt,itemSelectedColor:Ut}=Ie,qt=`${Se}-tab`;return{[qt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:Zt,fontSize:Ie.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:bt}},(0,ke.Qy)(Ie)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Ie.marginXXS},marginLeft:{_skip_check_:!0,value:Ie.marginXS},color:Ie.colorTextDescription,fontSize:Ie.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"&:hover":{color:Ie.colorTextHeading}},"&:hover":{color:Pt},[`&${qt}-active ${qt}-btn`]:{color:Ut,textShadow:Ie.tabsActiveTextShadow},[`&${qt}-disabled`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"},[`&${qt}-disabled ${qt}-btn, &${qt}-disabled ${Se}-remove`]:{"&:focus, &:active":{color:Ie.colorTextDisabled}},[`& ${qt}-remove ${He}`]:{margin:0},[He]:{marginRight:{_skip_check_:!0,value:Ie.marginSM}}},[`${qt} + ${qt}`]:{margin:{_skip_check_:!0,value:qe}}}},nt=Ie=>{const{componentCls:Se,tabsHorizontalItemMarginRTL:bt,iconCls:Pt,cardGutter:He}=Ie;return{[`${Se}-rtl`]:{direction:"rtl",[`${Se}-nav`]:{[`${Se}-tab`]:{margin:{_skip_check_:!0,value:bt},[`${Se}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[Pt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Ie.marginSM}px`}},[`${Se}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Ie.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Ie.marginXXS}px`},[Pt]:{margin:0}}}},[`&${Se}-left`]:{[`> ${Se}-nav`]:{order:1},[`> ${Se}-content-holder`]:{order:0}},[`&${Se}-right`]:{[`> ${Se}-nav`]:{order:0},[`> ${Se}-content-holder`]:{order:1}},[`&${Se}-card${Se}-top, &${Se}-card${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab + ${Se}-tab`]:{marginRight:{_skip_check_:!0,value:He},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Se}-dropdown-rtl`]:{direction:"rtl"},[`${Se}-menu-item`]:{[`${Se}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Et=Ie=>{const{componentCls:Se,tabsCardPadding:bt,cardHeight:Pt,cardGutter:He,itemHoverColor:qe,itemActiveColor:Zt,colorBorderSecondary:Ut}=Ie;return{[Se]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(Ie)),{display:"flex",[`> ${Se}-nav, > div > ${Se}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Se}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Ie.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Se}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Ie.motionDurationSlow}`},[`${Se}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Se}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Se}-nav-more`]:{position:"relative",padding:bt,background:"transparent",border:0,color:Ie.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Ie.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Se}-nav-add`]:Object.assign({minWidth:Pt,marginLeft:{_skip_check_:!0,value:He},padding:`0 ${Ie.paddingXS}px`,background:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} ${Ut}`,borderRadius:`${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Ie.colorText,transition:`all ${Ie.motionDurationSlow} ${Ie.motionEaseInOut}`,"&:hover":{color:qe},"&:active, &:focus:not(:focus-visible)":{color:Zt}},(0,ke.Qy)(Ie))},[`${Se}-extra-content`]:{flex:"none"},[`${Se}-ink-bar`]:{position:"absolute",background:Ie.inkBarColor,pointerEvents:"none"}}),ze(Ie)),{[`${Se}-content`]:{position:"relative",width:"100%"},[`${Se}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Se}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Se}-centered`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-nav-wrap`]:{[`&:not([class*='${Se}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var lt=(0,Be.Z)("Tabs",Ie=>{const Se=(0,it.TS)(Ie,{tabsCardPadding:Ie.cardPadding||`${(Ie.cardHeight-Math.round(Ie.fontSize*Ie.lineHeight))/2-Ie.lineWidth}px ${Ie.padding}px`,dropdownEdgeChildVerticalPadding:Ie.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Ie.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Ie.horizontalItemGutter}px`});return[yt(Se),nt(Se),Yt(Se),jt(Se),wt(Se),Et(Se),_t(Se)]},Ie=>{const Se=Ie.controlHeightLG;return{zIndexPopup:Ie.zIndexPopupBase+50,cardBg:Ie.colorFillAlter,cardHeight:Se,cardPadding:"",cardPaddingSM:`${Ie.paddingXXS*1.5}px ${Ie.padding}px`,cardPaddingLG:`${Ie.paddingXS}px ${Ie.padding}px ${Ie.paddingXXS*1.5}px`,titleFontSize:Ie.fontSize,titleFontSizeLG:Ie.fontSizeLG,titleFontSizeSM:Ie.fontSize,inkBarColor:Ie.colorPrimary,horizontalMargin:`0 0 ${Ie.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Ie.paddingSM}px 0`,horizontalItemPaddingSM:`${Ie.paddingXS}px 0`,horizontalItemPaddingLG:`${Ie.padding}px 0`,verticalItemPadding:`${Ie.paddingXS}px ${Ie.paddingLG}px`,verticalItemMargin:`${Ie.margin}px 0 0 0`,itemSelectedColor:Ie.colorPrimary,itemHoverColor:Ie.colorPrimaryHover,itemActiveColor:Ie.colorPrimaryActive,cardGutter:Ie.marginXXS/2}}),Gt=function(Ie,Se){var bt={};for(var Pt in Ie)Object.prototype.hasOwnProperty.call(Ie,Pt)&&Se.indexOf(Pt)<0&&(bt[Pt]=Ie[Pt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Pt=Object.getOwnPropertySymbols(Ie);He{const{type:Se,className:bt,rootClassName:Pt,size:He,onEdit:qe,hideAdd:Zt,centered:Ut,addIcon:qt,popupClassName:ln,children:En,items:mn,animated:Yn,style:Gn}=Ie,ir=Gt(Ie,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:mr,moreIcon:Ft=h.createElement(t.Z,null)}=ir,{direction:en,tabs:rn,getPrefixCls:fn,getPopupContainer:In}=h.useContext(J.E_),on=fn("tabs",mr),[mt,gt]=lt(on);let sn;Se==="editable-card"&&(sn={onEdit:(tr,ut)=>{let{key:ct,event:At}=ut;qe==null||qe(tr==="add"?At:ct,tr)},removeIcon:h.createElement(a.Z,null),addIcon:qt||h.createElement(o.Z,null),showAdd:Zt!==!0});const Qt=fn(),tn=Ye(mn,En),yn=we(on,Yn),vn=(0,ce.Z)(He),Wn=Object.assign(Object.assign({},rn==null?void 0:rn.style),Gn);return mt(h.createElement(se,Object.assign({direction:en,getPopupContainer:In,moreTransitionName:`${Qt}-slide-up`},ir,{items:tn,className:n()({[`${on}-${vn}`]:vn,[`${on}-card`]:["card","editable-card"].includes(Se),[`${on}-editable-card`]:Se==="editable-card",[`${on}-centered`]:Ut},rn==null?void 0:rn.className,bt,Pt,gt),popupClassName:n()(ln,gt),style:Wn,editable:sn,moreIcon:Ft,prefixCls:on,animated:yn})))};Rt.TabPane=ue;var Ot=Rt},32814:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(52495),t=e(87608),o=e.n(t),s=e(58757),n=e(1878),d=e(88858),l=e(37486),c=e(61836);function m(k){return typeof k!="string"?k:k.charAt(0).toUpperCase()+k.slice(1)}var g=e(78330),M=e(98251),h=e(52628),S=e(22151);const w=(k,te,Y)=>{const q=m(Y);return{[`${k.componentCls}-${te}`]:{color:k[`color${Y}`],background:k[`color${q}Bg`],borderColor:k[`color${q}Border`],[`&${k.componentCls}-borderless`]:{borderColor:"transparent"}}}},C=k=>(0,M.Z)(k,(te,Y)=>{let{textColor:q,lightBorderColor:le,lightColor:X,darkColor:W}=Y;return{[`${k.componentCls}-${te}`]:{color:q,background:X,borderColor:le,"&-inverse":{color:k.colorTextLightSolid,background:W,borderColor:W},[`&${k.componentCls}-borderless`]:{borderColor:"transparent"}}}}),z=k=>{const{paddingXXS:te,lineWidth:Y,tagPaddingHorizontal:q,componentCls:le}=k,X=q-Y,W=te-Y;return{[le]:Object.assign(Object.assign({},(0,g.Wf)(k)),{display:"inline-block",height:"auto",marginInlineEnd:k.marginXS,paddingInline:X,fontSize:k.tagFontSize,lineHeight:k.tagLineHeight,whiteSpace:"nowrap",background:k.defaultBg,border:`${k.lineWidth}px ${k.lineType} ${k.colorBorder}`,borderRadius:k.borderRadiusSM,opacity:1,transition:`all ${k.motionDurationMid}`,textAlign:"start",position:"relative",[`&${le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:k.defaultColor},[`${le}-close-icon`]:{marginInlineStart:W,color:k.colorTextDescription,fontSize:k.tagIconSize,cursor:"pointer",transition:`all ${k.motionDurationMid}`,"&:hover":{color:k.colorTextHeading}},[`&${le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${k.iconCls}-close, ${k.iconCls}-close:hover`]:{color:k.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${le}-checkable-checked):hover`]:{color:k.colorPrimary,backgroundColor:k.colorFillSecondary},"&:active, &-checked":{color:k.colorTextLightSolid},"&-checked":{backgroundColor:k.colorPrimary,"&:hover":{backgroundColor:k.colorPrimaryHover}},"&:active":{backgroundColor:k.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${k.iconCls} + span, > span + ${k.iconCls}`]:{marginInlineStart:X}}),[`${le}-borderless`]:{borderColor:"transparent",background:k.tagBorderlessBg}}};var $=(0,h.Z)("Tag",k=>{const{lineWidth:te,fontSizeIcon:Y}=k,q=k.fontSizeSM,le=`${k.lineHeightSM*q}px`,X=(0,S.TS)(k,{tagFontSize:q,tagLineHeight:le,tagIconSize:Y-2*te,tagPaddingHorizontal:8,tagBorderlessBg:k.colorFillTertiary});return[z(X),C(X),w(X,"success","Success"),w(X,"processing","Info"),w(X,"error","Error"),w(X,"warning","Warning")]},k=>({defaultBg:k.colorFillQuaternary,defaultColor:k.colorText})),N=function(k,te){var Y={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(Y[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{const{prefixCls:te,className:Y,checked:q,onChange:le,onClick:X}=k,W=N(k,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:x}=s.useContext(c.E_),O=de=>{le==null||le(!q),X==null||X(de)},_=x("tag",te),[U,A]=$(_),G=o()(_,`${_}-checkable`,{[`${_}-checkable-checked`]:q},Y,A);return U(s.createElement("span",Object.assign({},W,{className:G,onClick:O})))},D=function(k,te){var Y={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(Y[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{const{prefixCls:Y,className:q,rootClassName:le,style:X,children:W,icon:x,color:O,onClose:_,closeIcon:U,closable:A,bordered:G=!0}=k,de=D(k,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:he,direction:ge,tag:be}=s.useContext(c.E_),[Te,Ge]=s.useState(!0);s.useEffect(()=>{"visible"in de&&Ge(de.visible)},[de.visible]);const Je=(0,n.o2)(O)||(0,n.yT)(O),Qe=Object.assign(Object.assign({backgroundColor:O&&!Je?O:void 0},be==null?void 0:be.style),X),pt=he("tag",Y),[Ct,ft]=$(pt),Ht=o()(pt,be==null?void 0:be.className,{[`${pt}-${O}`]:Je,[`${pt}-has-color`]:O&&!Je,[`${pt}-hidden`]:!Te,[`${pt}-rtl`]:ge==="rtl",[`${pt}-borderless`]:!G},q,le,ft),Ze=H=>{H.stopPropagation(),_==null||_(H),!H.defaultPrevented&&Ge(!1)},[,Xe]=(0,d.Z)(A,U,H=>H===null?s.createElement(a.Z,{className:`${pt}-close-icon`,onClick:Ze}):s.createElement("span",{className:`${pt}-close-icon`,onClick:Ze},H),null,!1),rt=typeof de.onClick=="function"||W&&W.type==="a",Ke=x||null,ye=Ke?s.createElement(s.Fragment,null,Ke,W&&s.createElement("span",null,W)):W,ne=s.createElement("span",Object.assign({},de,{ref:te,className:Ht,style:Qe}),ye,Xe);return Ct(rt?s.createElement(l.Z,{component:"Tag"},ne):ne)},j=s.forwardRef(T);j.CheckableTag=B;var K=j},83631:function(b,y,e){"use strict";e.d(y,{Mj:function(){return l},uH:function(){return n},u_:function(){return d}});var a=e(57793),t=e(58757),o=e(57738),s=e(28378);const n=(0,a.jG)(o.Z),d={token:s.Z,hashed:!0},l=t.createContext(d)},22802:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(57793),t=e(57738),o=e(28378),s=e(57634),d=k=>{const te=k!=null&&k.algorithm?(0,a.jG)(k.algorithm):(0,a.jG)(t.Z),Y=Object.assign(Object.assign({},o.Z),k==null?void 0:k.token);return(0,a.t2)(Y,{override:k==null?void 0:k.token},te,s.Z)},l=e(51806),c=e(83631),m=e(38458);function g(k){const{sizeUnit:te,sizeStep:Y}=k,q=Y-2;return{sizeXXL:te*(q+10),sizeXL:te*(q+6),sizeLG:te*(q+2),sizeMD:te*(q+2),sizeMS:te*(q+1),size:te*q,sizeSM:te*q,sizeXS:te*(q-1),sizeXXS:te*(q-1)}}var M=e(4490),S=(k,te)=>{const Y=te!=null?te:(0,t.Z)(k),q=Y.fontSizeSM,le=Y.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Y),g(te!=null?te:k)),(0,M.Z)(q)),{controlHeight:le}),(0,m.Z)(Object.assign(Object.assign({},Y),{controlHeight:le})))},w=e(26134),C=e(67782),z=e(66671);const $=(k,te)=>new z.C(k).setAlpha(te).toRgbString(),N=(k,te)=>new z.C(k).lighten(te).toHexString(),L=k=>{const te=(0,w.generate)(k,{theme:"dark"});return{1:te[0],2:te[1],3:te[2],4:te[3],5:te[6],6:te[5],7:te[4],8:te[6],9:te[5],10:te[4]}},B=(k,te)=>{const Y=k||"#000",q=te||"#fff";return{colorBgBase:Y,colorTextBase:q,colorText:$(q,.85),colorTextSecondary:$(q,.65),colorTextTertiary:$(q,.45),colorTextQuaternary:$(q,.25),colorFill:$(q,.18),colorFillSecondary:$(q,.12),colorFillTertiary:$(q,.08),colorFillQuaternary:$(q,.04),colorBgElevated:N(Y,12),colorBgContainer:N(Y,8),colorBgLayout:N(Y,0),colorBgSpotlight:N(Y,26),colorBorder:N(Y,26),colorBorderSecondary:N(Y,19)}};var T=(k,te)=>{const Y=Object.keys(o.M).map(le=>{const X=(0,w.generate)(k[le],{theme:"dark"});return new Array(10).fill(1).reduce((W,x,O)=>(W[`${le}-${O+1}`]=X[O],W[`${le}${O+1}`]=X[O],W),{})}).reduce((le,X)=>(le=Object.assign(Object.assign({},le),X),le),{}),q=te!=null?te:(0,t.Z)(k);return Object.assign(Object.assign(Object.assign({},q),Y),(0,C.Z)(k,{generateColorPalettes:L,generateNeutralColorPalettes:B}))};function j(){const[k,te,Y]=(0,l.Z)();return{theme:k,token:te,hashId:Y}}var K={defaultConfig:c.u_,defaultSeed:c.u_.token,useToken:j,defaultAlgorithm:t.Z,darkAlgorithm:T,compactAlgorithm:S,getDesignToken:d}},34966:function(b,y,e){"use strict";e.d(y,{i:function(){return a}});const a=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},57738:function(b,y,e){"use strict";e.d(y,{Z:function(){return C}});var a=e(26134),t=e(38458);function o(z){const{sizeUnit:$,sizeStep:N}=z;return{sizeXXL:$*(N+8),sizeXL:$*(N+4),sizeLG:$*(N+2),sizeMD:$*(N+1),sizeMS:$*N,size:$*N,sizeSM:$*(N-1),sizeXS:$*(N-2),sizeXXS:$*(N-3)}}var s=e(28378),n=e(67782),l=z=>{let $=z,N=z,L=z,B=z;return z<6&&z>=5?$=z+1:z<16&&z>=6?$=z+2:z>=16&&($=16),z<7&&z>=5?N=4:z<8&&z>=7?N=5:z<14&&z>=8?N=6:z<16&&z>=14?N=7:z>=16&&(N=8),z<6&&z>=2?L=1:z>=6&&(L=2),z>4&&z<8?B=4:z>=8&&(B=6),{borderRadius:z>16?16:z,borderRadiusXS:L,borderRadiusSM:N,borderRadiusLG:$,borderRadiusOuter:B}};function c(z){const{motionUnit:$,motionBase:N,borderRadius:L,lineWidth:B}=z;return Object.assign({motionDurationFast:`${(N+$).toFixed(1)}s`,motionDurationMid:`${(N+$*2).toFixed(1)}s`,motionDurationSlow:`${(N+$*3).toFixed(1)}s`,lineWidthBold:B+1},l(L))}var m=e(66671);const g=(z,$)=>new m.C(z).setAlpha($).toRgbString(),M=(z,$)=>new m.C(z).darken($).toHexString(),h=z=>{const $=(0,a.generate)(z);return{1:$[0],2:$[1],3:$[2],4:$[3],5:$[4],6:$[5],7:$[6],8:$[4],9:$[5],10:$[6]}},S=(z,$)=>{const N=z||"#fff",L=$||"#000";return{colorBgBase:N,colorTextBase:L,colorText:g(L,.88),colorTextSecondary:g(L,.65),colorTextTertiary:g(L,.45),colorTextQuaternary:g(L,.25),colorFill:g(L,.15),colorFillSecondary:g(L,.06),colorFillTertiary:g(L,.04),colorFillQuaternary:g(L,.02),colorBgLayout:M(N,4),colorBgContainer:M(N,0),colorBgElevated:M(N,0),colorBgSpotlight:g(L,.85),colorBorder:M(N,15),colorBorderSecondary:M(N,6)}};var w=e(4490);function C(z){const $=Object.keys(s.M).map(N=>{const L=(0,a.generate)(z[N]);return new Array(10).fill(1).reduce((B,D,T)=>(B[`${N}-${T+1}`]=L[T],B[`${N}${T+1}`]=L[T],B),{})}).reduce((N,L)=>(N=Object.assign(Object.assign({},N),L),N),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},z),$),(0,n.Z)(z,{generateColorPalettes:h,generateNeutralColorPalettes:S})),(0,w.Z)(z.fontSize)),o(z)),(0,t.Z)(z)),c(z))}},28378:function(b,y,e){"use strict";e.d(y,{M:function(){return a}});const a={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},t=Object.assign(Object.assign({},a),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + > div > ${Se}-nav`]:{"&::before":{bottom:0},[`${Se}-ink-bar`]:{bottom:0}}},[`${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{order:1,marginTop:`${bt}px`,marginBottom:0,"&::before":{top:0},[`${Se}-ink-bar`]:{top:0}},[`> ${Se}-content-holder, > div > ${Se}-content-holder`]:{order:0}},[`${Se}-left, ${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{flexDirection:"column",minWidth:Ie.controlHeight*1.25,[`${Se}-tab`]:{padding:qe,textAlign:"center"},[`${Se}-tab + ${Se}-tab`]:{margin:$t},[`${Se}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:Ie.controlHeight},"&::before":{top:0,boxShadow:Ie.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:Ie.boxShadowTabsOverflowBottom},[`&${Se}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Se}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Se}-ink-bar`]:{width:Ie.lineWidthBold,"&-animated":{transition:`height ${Ie.motionDurationSlow}, top ${Ie.motionDurationSlow}`}},[`${Se}-nav-list, ${Se}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Se}-left`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Se}-content-holder, > div > ${Se}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${Ie.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`},[`> ${Se}-content > ${Se}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:Ie.paddingLG}}}},[`${Se}-right`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{order:1,[`${Se}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Se}-content-holder, > div > ${Se}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-Ie.lineWidth},borderRight:{_skip_check_:!0,value:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`},[`> ${Se}-content > ${Se}-tabpane`]:{paddingRight:{_skip_check_:!0,value:Ie.paddingLG}}}}}},yt=Ie=>{const{componentCls:Se,cardPaddingSM:bt,cardPaddingLG:jt,horizontalItemPaddingSM:He,horizontalItemPaddingLG:qe}=Ie;return{[Se]:{"&-small":{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:He,fontSize:Ie.titleFontSizeSM}}},"&-large":{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:qe,fontSize:Ie.titleFontSizeLG}}}},[`${Se}-card`]:{[`&${Se}-small`]:{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:bt}},[`&${Se}-bottom`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:`0 0 ${Ie.borderRadius}px ${Ie.borderRadius}px`}},[`&${Se}-top`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:`${Ie.borderRadius}px ${Ie.borderRadius}px 0 0`}},[`&${Se}-right`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ie.borderRadius}px ${Ie.borderRadius}px 0`}}},[`&${Se}-left`]:{[`> ${Se}-nav ${Se}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ie.borderRadius}px 0 0 ${Ie.borderRadius}px`}}}},[`&${Se}-large`]:{[`> ${Se}-nav`]:{[`${Se}-tab`]:{padding:jt}}}}}},ze=Ie=>{const{componentCls:Se,itemActiveColor:bt,itemHoverColor:jt,iconCls:He,tabsHorizontalItemMargin:qe,horizontalItemPadding:$t,itemSelectedColor:Zt}=Ie,qt=`${Se}-tab`;return{[qt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:$t,fontSize:Ie.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:bt}},(0,ke.Qy)(Ie)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-Ie.marginXXS},marginLeft:{_skip_check_:!0,value:Ie.marginXS},color:Ie.colorTextDescription,fontSize:Ie.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${Ie.motionDurationSlow}`,"&:hover":{color:Ie.colorTextHeading}},"&:hover":{color:jt},[`&${qt}-active ${qt}-btn`]:{color:Zt,textShadow:Ie.tabsActiveTextShadow},[`&${qt}-disabled`]:{color:Ie.colorTextDisabled,cursor:"not-allowed"},[`&${qt}-disabled ${qt}-btn, &${qt}-disabled ${Se}-remove`]:{"&:focus, &:active":{color:Ie.colorTextDisabled}},[`& ${qt}-remove ${He}`]:{margin:0},[He]:{marginRight:{_skip_check_:!0,value:Ie.marginSM}}},[`${qt} + ${qt}`]:{margin:{_skip_check_:!0,value:qe}}}},tt=Ie=>{const{componentCls:Se,tabsHorizontalItemMarginRTL:bt,iconCls:jt,cardGutter:He}=Ie;return{[`${Se}-rtl`]:{direction:"rtl",[`${Se}-nav`]:{[`${Se}-tab`]:{margin:{_skip_check_:!0,value:bt},[`${Se}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[jt]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${Ie.marginSM}px`}},[`${Se}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${Ie.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${Ie.marginXXS}px`},[jt]:{margin:0}}}},[`&${Se}-left`]:{[`> ${Se}-nav`]:{order:1},[`> ${Se}-content-holder`]:{order:0}},[`&${Se}-right`]:{[`> ${Se}-nav`]:{order:0},[`> ${Se}-content-holder`]:{order:1}},[`&${Se}-card${Se}-top, &${Se}-card${Se}-bottom`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-tab + ${Se}-tab`]:{marginRight:{_skip_check_:!0,value:He},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Se}-dropdown-rtl`]:{direction:"rtl"},[`${Se}-menu-item`]:{[`${Se}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},St=Ie=>{const{componentCls:Se,tabsCardPadding:bt,cardHeight:jt,cardGutter:He,itemHoverColor:qe,itemActiveColor:$t,colorBorderSecondary:Zt}=Ie;return{[Se]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(Ie)),{display:"flex",[`> ${Se}-nav, > div > ${Se}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Se}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${Ie.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Se}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${Ie.motionDurationSlow}`},[`${Se}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Se}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Se}-nav-more`]:{position:"relative",padding:bt,background:"transparent",border:0,color:Ie.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:Ie.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Se}-nav-add`]:Object.assign({minWidth:jt,marginLeft:{_skip_check_:!0,value:He},padding:`0 ${Ie.paddingXS}px`,background:"transparent",border:`${Ie.lineWidth}px ${Ie.lineType} ${Zt}`,borderRadius:`${Ie.borderRadiusLG}px ${Ie.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:Ie.colorText,transition:`all ${Ie.motionDurationSlow} ${Ie.motionEaseInOut}`,"&:hover":{color:qe},"&:active, &:focus:not(:focus-visible)":{color:$t}},(0,ke.Qy)(Ie))},[`${Se}-extra-content`]:{flex:"none"},[`${Se}-ink-bar`]:{position:"absolute",background:Ie.inkBarColor,pointerEvents:"none"}}),ze(Ie)),{[`${Se}-content`]:{position:"relative",width:"100%"},[`${Se}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Se}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Se}-centered`]:{[`> ${Se}-nav, > div > ${Se}-nav`]:{[`${Se}-nav-wrap`]:{[`&:not([class*='${Se}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var lt=(0,Be.Z)("Tabs",Ie=>{const Se=(0,it.TS)(Ie,{tabsCardPadding:Ie.cardPadding||`${(Ie.cardHeight-Math.round(Ie.fontSize*Ie.lineHeight))/2-Ie.lineWidth}px ${Ie.padding}px`,dropdownEdgeChildVerticalPadding:Ie.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Ie.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${Ie.horizontalItemGutter}px`});return[yt(Se),tt(Se),_t(Se),wt(Se),Ot(Se),St(Se),Ht(Se)]},Ie=>{const Se=Ie.controlHeightLG;return{zIndexPopup:Ie.zIndexPopupBase+50,cardBg:Ie.colorFillAlter,cardHeight:Se,cardPadding:"",cardPaddingSM:`${Ie.paddingXXS*1.5}px ${Ie.padding}px`,cardPaddingLG:`${Ie.paddingXS}px ${Ie.padding}px ${Ie.paddingXXS*1.5}px`,titleFontSize:Ie.fontSize,titleFontSizeLG:Ie.fontSizeLG,titleFontSizeSM:Ie.fontSize,inkBarColor:Ie.colorPrimary,horizontalMargin:`0 0 ${Ie.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${Ie.paddingSM}px 0`,horizontalItemPaddingSM:`${Ie.paddingXS}px 0`,horizontalItemPaddingLG:`${Ie.padding}px 0`,verticalItemPadding:`${Ie.paddingXS}px ${Ie.paddingLG}px`,verticalItemMargin:`${Ie.margin}px 0 0 0`,itemSelectedColor:Ie.colorPrimary,itemHoverColor:Ie.colorPrimaryHover,itemActiveColor:Ie.colorPrimaryActive,cardGutter:Ie.marginXXS/2}}),Gt=function(Ie,Se){var bt={};for(var jt in Ie)Object.prototype.hasOwnProperty.call(Ie,jt)&&Se.indexOf(jt)<0&&(bt[jt]=Ie[jt]);if(Ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,jt=Object.getOwnPropertySymbols(Ie);He{const{type:Se,className:bt,rootClassName:jt,size:He,onEdit:qe,hideAdd:$t,centered:Zt,addIcon:qt,popupClassName:un,children:xn,items:pn,animated:Gn,style:Qn}=Ie,ur=Gt(Ie,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style"]),{prefixCls:br,moreIcon:zt=h.createElement(t.Z,null)}=ur,{direction:en,tabs:an,getPrefixCls:vn,getPopupContainer:An}=h.useContext(J.E_),sn=vn("tabs",br),[mt,gt]=lt(sn);let ln;Se==="editable-card"&&(ln={onEdit:(nr,ut)=>{let{key:ct,event:It}=ut;qe==null||qe(nr==="add"?It:ct,nr)},removeIcon:h.createElement(a.Z,null),addIcon:qt||h.createElement(o.Z,null),showAdd:$t!==!0});const Qt=vn(),tn=Ye(pn,xn),yn=we(sn,Gn),gn=(0,de.Z)(He),_n=Object.assign(Object.assign({},an==null?void 0:an.style),Qn);return mt(h.createElement(se,Object.assign({direction:en,getPopupContainer:An,moreTransitionName:`${Qt}-slide-up`},ur,{items:tn,className:n()({[`${sn}-${gn}`]:gn,[`${sn}-card`]:["card","editable-card"].includes(Se),[`${sn}-editable-card`]:Se==="editable-card",[`${sn}-centered`]:Zt},an==null?void 0:an.className,bt,jt,gt),popupClassName:n()(un,gt),style:_n,editable:ln,moreIcon:zt,prefixCls:sn,animated:yn})))};Nt.TabPane=ce;var At=Nt},32814:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(52495),t=e(87608),o=e.n(t),s=e(58757),n=e(1878),d=e(88858),l=e(37486),c=e(61836);function m(k){return typeof k!="string"?k:k.charAt(0).toUpperCase()+k.slice(1)}var g=e(78330),M=e(98251),h=e(52628),S=e(22151);const w=(k,te,V)=>{const q=m(V);return{[`${k.componentCls}-${te}`]:{color:k[`color${V}`],background:k[`color${q}Bg`],borderColor:k[`color${q}Border`],[`&${k.componentCls}-borderless`]:{borderColor:"transparent"}}}},C=k=>(0,M.Z)(k,(te,V)=>{let{textColor:q,lightBorderColor:le,lightColor:X,darkColor:W}=V;return{[`${k.componentCls}-${te}`]:{color:q,background:X,borderColor:le,"&-inverse":{color:k.colorTextLightSolid,background:W,borderColor:W},[`&${k.componentCls}-borderless`]:{borderColor:"transparent"}}}}),F=k=>{const{paddingXXS:te,lineWidth:V,tagPaddingHorizontal:q,componentCls:le}=k,X=q-V,W=te-V;return{[le]:Object.assign(Object.assign({},(0,g.Wf)(k)),{display:"inline-block",height:"auto",marginInlineEnd:k.marginXS,paddingInline:X,fontSize:k.tagFontSize,lineHeight:k.tagLineHeight,whiteSpace:"nowrap",background:k.defaultBg,border:`${k.lineWidth}px ${k.lineType} ${k.colorBorder}`,borderRadius:k.borderRadiusSM,opacity:1,transition:`all ${k.motionDurationMid}`,textAlign:"start",position:"relative",[`&${le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:k.defaultColor},[`${le}-close-icon`]:{marginInlineStart:W,color:k.colorTextDescription,fontSize:k.tagIconSize,cursor:"pointer",transition:`all ${k.motionDurationMid}`,"&:hover":{color:k.colorTextHeading}},[`&${le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${k.iconCls}-close, ${k.iconCls}-close:hover`]:{color:k.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${le}-checkable-checked):hover`]:{color:k.colorPrimary,backgroundColor:k.colorFillSecondary},"&:active, &-checked":{color:k.colorTextLightSolid},"&-checked":{backgroundColor:k.colorPrimary,"&:hover":{backgroundColor:k.colorPrimaryHover}},"&:active":{backgroundColor:k.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${k.iconCls} + span, > span + ${k.iconCls}`]:{marginInlineStart:X}}),[`${le}-borderless`]:{borderColor:"transparent",background:k.tagBorderlessBg}}};var Z=(0,h.Z)("Tag",k=>{const{lineWidth:te,fontSizeIcon:V}=k,q=k.fontSizeSM,le=`${k.lineHeightSM*q}px`,X=(0,S.TS)(k,{tagFontSize:q,tagLineHeight:le,tagIconSize:V-2*te,tagPaddingHorizontal:8,tagBorderlessBg:k.colorFillTertiary});return[F(X),C(X),w(X,"success","Success"),w(X,"processing","Info"),w(X,"error","Error"),w(X,"warning","Warning")]},k=>({defaultBg:k.colorFillQuaternary,defaultColor:k.colorText})),N=function(k,te){var V={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(V[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{const{prefixCls:te,className:V,checked:q,onChange:le,onClick:X}=k,W=N(k,["prefixCls","className","checked","onChange","onClick"]),{getPrefixCls:x}=s.useContext(c.E_),O=fe=>{le==null||le(!q),X==null||X(fe)},_=x("tag",te),[U,A]=Z(_),G=o()(_,`${_}-checkable`,{[`${_}-checkable-checked`]:q},V,A);return U(s.createElement("span",Object.assign({},W,{className:G,onClick:O})))},D=function(k,te){var V={};for(var q in k)Object.prototype.hasOwnProperty.call(k,q)&&te.indexOf(q)<0&&(V[q]=k[q]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,q=Object.getOwnPropertySymbols(k);le{const{prefixCls:V,className:q,rootClassName:le,style:X,children:W,icon:x,color:O,onClose:_,closeIcon:U,closable:A,bordered:G=!0}=k,fe=D(k,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:pe,direction:ge,tag:be}=s.useContext(c.E_),[Te,Ge]=s.useState(!0);s.useEffect(()=>{"visible"in fe&&Ge(fe.visible)},[fe.visible]);const Je=(0,n.o2)(O)||(0,n.yT)(O),Qe=Object.assign(Object.assign({backgroundColor:O&&!Je?O:void 0},be==null?void 0:be.style),X),pt=pe("tag",V),[Et,ft]=Z(pt),Wt=o()(pt,be==null?void 0:be.className,{[`${pt}-${O}`]:Je,[`${pt}-has-color`]:O&&!Je,[`${pt}-hidden`]:!Te,[`${pt}-rtl`]:ge==="rtl",[`${pt}-borderless`]:!G},q,le,ft),$e=H=>{H.stopPropagation(),_==null||_(H),!H.defaultPrevented&&Ge(!1)},[,Xe]=(0,d.Z)(A,U,H=>H===null?s.createElement(a.Z,{className:`${pt}-close-icon`,onClick:$e}):s.createElement("span",{className:`${pt}-close-icon`,onClick:$e},H),null,!1),nt=typeof fe.onClick=="function"||W&&W.type==="a",Ke=x||null,ye=Ke?s.createElement(s.Fragment,null,Ke,W&&s.createElement("span",null,W)):W,ne=s.createElement("span",Object.assign({},fe,{ref:te,className:Wt,style:Qe}),ye,Xe);return Et(nt?s.createElement(l.Z,{component:"Tag"},ne):ne)},j=s.forwardRef(T);j.CheckableTag=$;var K=j},83631:function(b,y,e){"use strict";e.d(y,{Mj:function(){return l},uH:function(){return n},u_:function(){return d}});var a=e(57793),t=e(58757),o=e(57738),s=e(28378);const n=(0,a.jG)(o.Z),d={token:s.Z,hashed:!0},l=t.createContext(d)},22802:function(b,y,e){"use strict";e.d(y,{Z:function(){return K}});var a=e(57793),t=e(57738),o=e(28378),s=e(57634),d=k=>{const te=k!=null&&k.algorithm?(0,a.jG)(k.algorithm):(0,a.jG)(t.Z),V=Object.assign(Object.assign({},o.Z),k==null?void 0:k.token);return(0,a.t2)(V,{override:k==null?void 0:k.token},te,s.Z)},l=e(51806),c=e(83631),m=e(38458);function g(k){const{sizeUnit:te,sizeStep:V}=k,q=V-2;return{sizeXXL:te*(q+10),sizeXL:te*(q+6),sizeLG:te*(q+2),sizeMD:te*(q+2),sizeMS:te*(q+1),size:te*q,sizeSM:te*q,sizeXS:te*(q-1),sizeXXS:te*(q-1)}}var M=e(4490),S=(k,te)=>{const V=te!=null?te:(0,t.Z)(k),q=V.fontSizeSM,le=V.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V),g(te!=null?te:k)),(0,M.Z)(q)),{controlHeight:le}),(0,m.Z)(Object.assign(Object.assign({},V),{controlHeight:le})))},w=e(26134),C=e(67782),F=e(66671);const Z=(k,te)=>new F.C(k).setAlpha(te).toRgbString(),N=(k,te)=>new F.C(k).lighten(te).toHexString(),L=k=>{const te=(0,w.generate)(k,{theme:"dark"});return{1:te[0],2:te[1],3:te[2],4:te[3],5:te[6],6:te[5],7:te[4],8:te[6],9:te[5],10:te[4]}},$=(k,te)=>{const V=k||"#000",q=te||"#fff";return{colorBgBase:V,colorTextBase:q,colorText:Z(q,.85),colorTextSecondary:Z(q,.65),colorTextTertiary:Z(q,.45),colorTextQuaternary:Z(q,.25),colorFill:Z(q,.18),colorFillSecondary:Z(q,.12),colorFillTertiary:Z(q,.08),colorFillQuaternary:Z(q,.04),colorBgElevated:N(V,12),colorBgContainer:N(V,8),colorBgLayout:N(V,0),colorBgSpotlight:N(V,26),colorBorder:N(V,26),colorBorderSecondary:N(V,19)}};var T=(k,te)=>{const V=Object.keys(o.M).map(le=>{const X=(0,w.generate)(k[le],{theme:"dark"});return new Array(10).fill(1).reduce((W,x,O)=>(W[`${le}-${O+1}`]=X[O],W[`${le}${O+1}`]=X[O],W),{})}).reduce((le,X)=>(le=Object.assign(Object.assign({},le),X),le),{}),q=te!=null?te:(0,t.Z)(k);return Object.assign(Object.assign(Object.assign({},q),V),(0,C.Z)(k,{generateColorPalettes:L,generateNeutralColorPalettes:$}))};function j(){const[k,te,V]=(0,l.Z)();return{theme:k,token:te,hashId:V}}var K={defaultConfig:c.u_,defaultSeed:c.u_.token,useToken:j,defaultAlgorithm:t.Z,darkAlgorithm:T,compactAlgorithm:S,getDesignToken:d}},34966:function(b,y,e){"use strict";e.d(y,{i:function(){return a}});const a=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},57738:function(b,y,e){"use strict";e.d(y,{Z:function(){return C}});var a=e(26134),t=e(38458);function o(F){const{sizeUnit:Z,sizeStep:N}=F;return{sizeXXL:Z*(N+8),sizeXL:Z*(N+4),sizeLG:Z*(N+2),sizeMD:Z*(N+1),sizeMS:Z*N,size:Z*N,sizeSM:Z*(N-1),sizeXS:Z*(N-2),sizeXXS:Z*(N-3)}}var s=e(28378),n=e(67782),l=F=>{let Z=F,N=F,L=F,$=F;return F<6&&F>=5?Z=F+1:F<16&&F>=6?Z=F+2:F>=16&&(Z=16),F<7&&F>=5?N=4:F<8&&F>=7?N=5:F<14&&F>=8?N=6:F<16&&F>=14?N=7:F>=16&&(N=8),F<6&&F>=2?L=1:F>=6&&(L=2),F>4&&F<8?$=4:F>=8&&($=6),{borderRadius:F>16?16:F,borderRadiusXS:L,borderRadiusSM:N,borderRadiusLG:Z,borderRadiusOuter:$}};function c(F){const{motionUnit:Z,motionBase:N,borderRadius:L,lineWidth:$}=F;return Object.assign({motionDurationFast:`${(N+Z).toFixed(1)}s`,motionDurationMid:`${(N+Z*2).toFixed(1)}s`,motionDurationSlow:`${(N+Z*3).toFixed(1)}s`,lineWidthBold:$+1},l(L))}var m=e(66671);const g=(F,Z)=>new m.C(F).setAlpha(Z).toRgbString(),M=(F,Z)=>new m.C(F).darken(Z).toHexString(),h=F=>{const Z=(0,a.generate)(F);return{1:Z[0],2:Z[1],3:Z[2],4:Z[3],5:Z[4],6:Z[5],7:Z[6],8:Z[4],9:Z[5],10:Z[6]}},S=(F,Z)=>{const N=F||"#fff",L=Z||"#000";return{colorBgBase:N,colorTextBase:L,colorText:g(L,.88),colorTextSecondary:g(L,.65),colorTextTertiary:g(L,.45),colorTextQuaternary:g(L,.25),colorFill:g(L,.15),colorFillSecondary:g(L,.06),colorFillTertiary:g(L,.04),colorFillQuaternary:g(L,.02),colorBgLayout:M(N,4),colorBgContainer:M(N,0),colorBgElevated:M(N,0),colorBgSpotlight:g(L,.85),colorBorder:M(N,15),colorBorderSecondary:M(N,6)}};var w=e(4490);function C(F){const Z=Object.keys(s.M).map(N=>{const L=(0,a.generate)(F[N]);return new Array(10).fill(1).reduce(($,D,T)=>($[`${N}-${T+1}`]=L[T],$[`${N}${T+1}`]=L[T],$),{})}).reduce((N,L)=>(N=Object.assign(Object.assign({},N),L),N),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F),Z),(0,n.Z)(F,{generateColorPalettes:h,generateNeutralColorPalettes:S})),(0,w.Z)(F.fontSize)),o(F)),(0,t.Z)(F)),c(F))}},28378:function(b,y,e){"use strict";e.d(y,{M:function(){return a}});const a={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},t=Object.assign(Object.assign({},a),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});y.Z=t},67782:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(66671);function t(o,s){let{generateColorPalettes:n,generateNeutralColorPalettes:d}=s;const{colorSuccess:l,colorWarning:c,colorError:m,colorInfo:g,colorPrimary:M,colorBgBase:h,colorTextBase:S}=o,w=n(M),C=n(l),z=n(c),$=n(m),N=n(g),L=d(h,S),B=o.colorLink||o.colorInfo,D=n(B);return Object.assign(Object.assign({},L),{colorPrimaryBg:w[1],colorPrimaryBgHover:w[2],colorPrimaryBorder:w[3],colorPrimaryBorderHover:w[4],colorPrimaryHover:w[5],colorPrimary:w[6],colorPrimaryActive:w[7],colorPrimaryTextHover:w[8],colorPrimaryText:w[9],colorPrimaryTextActive:w[10],colorSuccessBg:C[1],colorSuccessBgHover:C[2],colorSuccessBorder:C[3],colorSuccessBorderHover:C[4],colorSuccessHover:C[4],colorSuccess:C[6],colorSuccessActive:C[7],colorSuccessTextHover:C[8],colorSuccessText:C[9],colorSuccessTextActive:C[10],colorErrorBg:$[1],colorErrorBgHover:$[2],colorErrorBorder:$[3],colorErrorBorderHover:$[4],colorErrorHover:$[5],colorError:$[6],colorErrorActive:$[7],colorErrorTextHover:$[8],colorErrorText:$[9],colorErrorTextActive:$[10],colorWarningBg:z[1],colorWarningBgHover:z[2],colorWarningBorder:z[3],colorWarningBorderHover:z[4],colorWarningHover:z[4],colorWarning:z[6],colorWarningActive:z[7],colorWarningTextHover:z[8],colorWarningText:z[9],colorWarningTextActive:z[10],colorInfoBg:N[1],colorInfoBgHover:N[2],colorInfoBorder:N[3],colorInfoBorderHover:N[4],colorInfoHover:N[4],colorInfo:N[6],colorInfoActive:N[7],colorInfoTextHover:N[8],colorInfoText:N[9],colorInfoTextActive:N[10],colorLinkHover:D[4],colorLink:D[6],colorLinkActive:D[7],colorBgMask:new a.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},38458:function(b,y){"use strict";const e=a=>{const{controlHeight:t}=a;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};y.Z=e},4490:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});function a(s){const n=new Array(10).fill(null).map((d,l)=>{const c=l-1,m=s*Math.pow(2.71828,c/5),g=l>1?Math.floor(m):Math.ceil(m);return Math.floor(g/2)*2});return n[1]=s,n.map(d=>{const l=d+8;return{size:d,lineHeight:l/d}})}var o=s=>{const n=a(s),d=n.map(c=>c.size),l=n.map(c=>c.lineHeight);return{fontSizeSM:d[0],fontSize:d[1],fontSizeLG:d[2],fontSizeXL:d[3],fontSizeHeading1:d[6],fontSizeHeading2:d[5],fontSizeHeading3:d[4],fontSizeHeading4:d[3],fontSizeHeading5:d[2],lineHeight:l[1],lineHeightLG:l[2],lineHeightSM:l[0],lineHeightHeading1:l[6],lineHeightHeading2:l[5],lineHeightHeading3:l[4],lineHeightHeading4:l[3],lineHeightHeading5:l[2]}}},51806:function(b,y,e){"use strict";e.d(y,{Z:function(){return m}});var a=e(57793),t=e(58757),o=e(93430),s=e(83631),n=e(28378),d=e(57634),l=function(g,M){var h={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&M.indexOf(S)<0&&(h[S]=g[S]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(g);w{const S=h.getDerivativeToken(g),{override:w}=M,C=l(M,["override"]);let z=Object.assign(Object.assign({},S),{override:w});return z=(0,d.Z)(z),C&&Object.entries(C).forEach($=>{let[N,L]=$;const{theme:B}=L,D=l(L,["theme"]);let T=D;B&&(T=c(Object.assign(Object.assign({},z),D),{override:D},B)),z[N]=T}),z};function m(){const{token:g,hashed:M,theme:h,components:S}=t.useContext(s.Mj),w=`${o.Z}-${M||""}`,C=h||s.uH,[z,$]=(0,a.fp)(C,[n.Z,g],{salt:w,override:Object.assign({override:g},S),getComputedToken:c,formatToken:d.Z});return[C,z,M?$:""]}},57634:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(66671),t=e(28378);function o(c){return c>=0&&c<=255}function s(c,m){const{r:g,g:M,b:h,a:S}=new a.C(c).toRgb();if(S<1)return c;const{r:w,g:C,b:z}=new a.C(m).toRgb();for(let $=.01;$<=1;$+=.01){const N=Math.round((g-w*(1-$))/$),L=Math.round((M-C*(1-$))/$),B=Math.round((h-z*(1-$))/$);if(o(N)&&o(L)&&o(B))return new a.C({r:N,g:L,b:B,a:Math.round($*100)/100}).toRgbString()}return new a.C({r:g,g:M,b:h,a:1}).toRgbString()}var n=s,d=function(c,m){var g={};for(var M in c)Object.prototype.hasOwnProperty.call(c,M)&&m.indexOf(M)<0&&(g[M]=c[M]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,M=Object.getOwnPropertySymbols(c);h{delete M[B]});const h=Object.assign(Object.assign({},g),M),S=480,w=576,C=768,z=992,$=1200,N=1600;if(h.motion===!1){const B="0s";h.motionDurationFast=B,h.motionDurationMid=B,h.motionDurationSlow=B}return Object.assign(Object.assign(Object.assign({},h),{colorFillContent:h.colorFillSecondary,colorFillContentHover:h.colorFill,colorFillAlter:h.colorFillQuaternary,colorBgContainerDisabled:h.colorFillTertiary,colorBorderBg:h.colorBgContainer,colorSplit:n(h.colorBorderSecondary,h.colorBgContainer),colorTextPlaceholder:h.colorTextQuaternary,colorTextDisabled:h.colorTextQuaternary,colorTextHeading:h.colorText,colorTextLabel:h.colorTextSecondary,colorTextDescription:h.colorTextTertiary,colorTextLightSolid:h.colorWhite,colorHighlight:h.colorError,colorBgTextHover:h.colorFillSecondary,colorBgTextActive:h.colorFill,colorIcon:h.colorTextTertiary,colorIconHover:h.colorText,colorErrorOutline:n(h.colorErrorBg,h.colorBgContainer),colorWarningOutline:n(h.colorWarningBg,h.colorBgContainer),fontSizeIcon:h.fontSizeSM,lineWidthFocus:h.lineWidth*4,lineWidth:h.lineWidth,controlOutlineWidth:h.lineWidth*2,controlInteractiveSize:h.controlHeight/2,controlItemBgHover:h.colorFillTertiary,controlItemBgActive:h.colorPrimaryBg,controlItemBgActiveHover:h.colorPrimaryBgHover,controlItemBgActiveDisabled:h.colorFill,controlTmpOutline:h.colorFillQuaternary,controlOutline:n(h.colorPrimaryBg,h.colorBgContainer),lineType:h.lineType,borderRadius:h.borderRadius,borderRadiusXS:h.borderRadiusXS,borderRadiusSM:h.borderRadiusSM,borderRadiusLG:h.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:h.sizeXXS,paddingXS:h.sizeXS,paddingSM:h.sizeSM,padding:h.size,paddingMD:h.sizeMD,paddingLG:h.sizeLG,paddingXL:h.sizeXL,paddingContentHorizontalLG:h.sizeLG,paddingContentVerticalLG:h.sizeMS,paddingContentHorizontal:h.sizeMS,paddingContentVertical:h.sizeSM,paddingContentHorizontalSM:h.size,paddingContentVerticalSM:h.sizeXS,marginXXS:h.sizeXXS,marginXS:h.sizeXS,marginSM:h.sizeSM,margin:h.size,marginMD:h.sizeMD,marginLG:h.sizeLG,marginXL:h.sizeXL,marginXXL:h.sizeXXL,boxShadow:` +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});y.Z=t},67782:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(66671);function t(o,s){let{generateColorPalettes:n,generateNeutralColorPalettes:d}=s;const{colorSuccess:l,colorWarning:c,colorError:m,colorInfo:g,colorPrimary:M,colorBgBase:h,colorTextBase:S}=o,w=n(M),C=n(l),F=n(c),Z=n(m),N=n(g),L=d(h,S),$=o.colorLink||o.colorInfo,D=n($);return Object.assign(Object.assign({},L),{colorPrimaryBg:w[1],colorPrimaryBgHover:w[2],colorPrimaryBorder:w[3],colorPrimaryBorderHover:w[4],colorPrimaryHover:w[5],colorPrimary:w[6],colorPrimaryActive:w[7],colorPrimaryTextHover:w[8],colorPrimaryText:w[9],colorPrimaryTextActive:w[10],colorSuccessBg:C[1],colorSuccessBgHover:C[2],colorSuccessBorder:C[3],colorSuccessBorderHover:C[4],colorSuccessHover:C[4],colorSuccess:C[6],colorSuccessActive:C[7],colorSuccessTextHover:C[8],colorSuccessText:C[9],colorSuccessTextActive:C[10],colorErrorBg:Z[1],colorErrorBgHover:Z[2],colorErrorBorder:Z[3],colorErrorBorderHover:Z[4],colorErrorHover:Z[5],colorError:Z[6],colorErrorActive:Z[7],colorErrorTextHover:Z[8],colorErrorText:Z[9],colorErrorTextActive:Z[10],colorWarningBg:F[1],colorWarningBgHover:F[2],colorWarningBorder:F[3],colorWarningBorderHover:F[4],colorWarningHover:F[4],colorWarning:F[6],colorWarningActive:F[7],colorWarningTextHover:F[8],colorWarningText:F[9],colorWarningTextActive:F[10],colorInfoBg:N[1],colorInfoBgHover:N[2],colorInfoBorder:N[3],colorInfoBorderHover:N[4],colorInfoHover:N[4],colorInfo:N[6],colorInfoActive:N[7],colorInfoTextHover:N[8],colorInfoText:N[9],colorInfoTextActive:N[10],colorLinkHover:D[4],colorLink:D[6],colorLinkActive:D[7],colorBgMask:new a.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},38458:function(b,y){"use strict";const e=a=>{const{controlHeight:t}=a;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};y.Z=e},4490:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});function a(s){const n=new Array(10).fill(null).map((d,l)=>{const c=l-1,m=s*Math.pow(2.71828,c/5),g=l>1?Math.floor(m):Math.ceil(m);return Math.floor(g/2)*2});return n[1]=s,n.map(d=>{const l=d+8;return{size:d,lineHeight:l/d}})}var o=s=>{const n=a(s),d=n.map(c=>c.size),l=n.map(c=>c.lineHeight);return{fontSizeSM:d[0],fontSize:d[1],fontSizeLG:d[2],fontSizeXL:d[3],fontSizeHeading1:d[6],fontSizeHeading2:d[5],fontSizeHeading3:d[4],fontSizeHeading4:d[3],fontSizeHeading5:d[2],lineHeight:l[1],lineHeightLG:l[2],lineHeightSM:l[0],lineHeightHeading1:l[6],lineHeightHeading2:l[5],lineHeightHeading3:l[4],lineHeightHeading4:l[3],lineHeightHeading5:l[2]}}},51806:function(b,y,e){"use strict";e.d(y,{Z:function(){return m}});var a=e(57793),t=e(58757),o=e(93430),s=e(83631),n=e(28378),d=e(57634),l=function(g,M){var h={};for(var S in g)Object.prototype.hasOwnProperty.call(g,S)&&M.indexOf(S)<0&&(h[S]=g[S]);if(g!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,S=Object.getOwnPropertySymbols(g);w{const S=h.getDerivativeToken(g),{override:w}=M,C=l(M,["override"]);let F=Object.assign(Object.assign({},S),{override:w});return F=(0,d.Z)(F),C&&Object.entries(C).forEach(Z=>{let[N,L]=Z;const{theme:$}=L,D=l(L,["theme"]);let T=D;$&&(T=c(Object.assign(Object.assign({},F),D),{override:D},$)),F[N]=T}),F};function m(){const{token:g,hashed:M,theme:h,components:S}=t.useContext(s.Mj),w=`${o.Z}-${M||""}`,C=h||s.uH,[F,Z]=(0,a.fp)(C,[n.Z,g],{salt:w,override:Object.assign({override:g},S),getComputedToken:c,formatToken:d.Z});return[C,F,M?Z:""]}},57634:function(b,y,e){"use strict";e.d(y,{Z:function(){return l}});var a=e(66671),t=e(28378);function o(c){return c>=0&&c<=255}function s(c,m){const{r:g,g:M,b:h,a:S}=new a.C(c).toRgb();if(S<1)return c;const{r:w,g:C,b:F}=new a.C(m).toRgb();for(let Z=.01;Z<=1;Z+=.01){const N=Math.round((g-w*(1-Z))/Z),L=Math.round((M-C*(1-Z))/Z),$=Math.round((h-F*(1-Z))/Z);if(o(N)&&o(L)&&o($))return new a.C({r:N,g:L,b:$,a:Math.round(Z*100)/100}).toRgbString()}return new a.C({r:g,g:M,b:h,a:1}).toRgbString()}var n=s,d=function(c,m){var g={};for(var M in c)Object.prototype.hasOwnProperty.call(c,M)&&m.indexOf(M)<0&&(g[M]=c[M]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,M=Object.getOwnPropertySymbols(c);h{delete M[$]});const h=Object.assign(Object.assign({},g),M),S=480,w=576,C=768,F=992,Z=1200,N=1600;if(h.motion===!1){const $="0s";h.motionDurationFast=$,h.motionDurationMid=$,h.motionDurationSlow=$}return Object.assign(Object.assign(Object.assign({},h),{colorFillContent:h.colorFillSecondary,colorFillContentHover:h.colorFill,colorFillAlter:h.colorFillQuaternary,colorBgContainerDisabled:h.colorFillTertiary,colorBorderBg:h.colorBgContainer,colorSplit:n(h.colorBorderSecondary,h.colorBgContainer),colorTextPlaceholder:h.colorTextQuaternary,colorTextDisabled:h.colorTextQuaternary,colorTextHeading:h.colorText,colorTextLabel:h.colorTextSecondary,colorTextDescription:h.colorTextTertiary,colorTextLightSolid:h.colorWhite,colorHighlight:h.colorError,colorBgTextHover:h.colorFillSecondary,colorBgTextActive:h.colorFill,colorIcon:h.colorTextTertiary,colorIconHover:h.colorText,colorErrorOutline:n(h.colorErrorBg,h.colorBgContainer),colorWarningOutline:n(h.colorWarningBg,h.colorBgContainer),fontSizeIcon:h.fontSizeSM,lineWidthFocus:h.lineWidth*4,lineWidth:h.lineWidth,controlOutlineWidth:h.lineWidth*2,controlInteractiveSize:h.controlHeight/2,controlItemBgHover:h.colorFillTertiary,controlItemBgActive:h.colorPrimaryBg,controlItemBgActiveHover:h.colorPrimaryBgHover,controlItemBgActiveDisabled:h.colorFill,controlTmpOutline:h.colorFillQuaternary,controlOutline:n(h.colorPrimaryBg,h.colorBgContainer),lineType:h.lineType,borderRadius:h.borderRadius,borderRadiusXS:h.borderRadiusXS,borderRadiusSM:h.borderRadiusSM,borderRadiusLG:h.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:h.sizeXXS,paddingXS:h.sizeXS,paddingSM:h.sizeSM,padding:h.size,paddingMD:h.sizeMD,paddingLG:h.sizeLG,paddingXL:h.sizeXL,paddingContentHorizontalLG:h.sizeLG,paddingContentVerticalLG:h.sizeMS,paddingContentHorizontal:h.sizeMS,paddingContentVertical:h.sizeSM,paddingContentHorizontalSM:h.size,paddingContentVerticalSM:h.sizeXS,marginXXS:h.sizeXXS,marginXS:h.sizeXS,marginSM:h.sizeSM,margin:h.size,marginMD:h.sizeMD,marginLG:h.sizeLG,marginXL:h.sizeXL,marginXXL:h.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -394,7 +394,7 @@ http://j.mp/37Fkd5Q 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:S,screenXSMin:S,screenXSMax:w-1,screenSM:w,screenSMMin:w,screenSMMax:C-1,screenMD:C,screenMDMin:C,screenMDMax:z-1,screenLG:z,screenLGMin:z,screenLGMax:$-1,screenXL:$,screenXLMin:$,screenXLMax:N-1,screenXXL:N,screenXXLMin:N,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + `,screenXS:S,screenXSMin:S,screenXSMax:w-1,screenSM:w,screenSMMin:w,screenSMMax:C-1,screenMD:C,screenMDMin:C,screenMDMax:F-1,screenLG:F,screenLGMin:F,screenLGMax:Z-1,screenXL:Z,screenXLMin:Z,screenXLMax:N-1,screenXXL:N,screenXXLMin:N,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` 0 1px 2px -2px ${new a.C("rgba(0, 0, 0, 0.16)").toRgbString()}, 0 3px 6px 0 ${new a.C("rgba(0, 0, 0, 0.12)").toRgbString()}, 0 5px 12px 4px ${new a.C("rgba(0, 0, 0, 0.09)").toRgbString()} @@ -414,20 +414,20 @@ http://j.mp/37Fkd5Q 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),M)}},52628:function(b,y,e){"use strict";e.d(y,{Z:function(){return m}});var a=e(58757),t=e(57793),o=e(71219),s=e(61836),n=e(78330),d=e(51806),l=e(22151),c=e(60619);function m(g,M,h,S){const w=Array.isArray(g)?g:[g,g],[C]=w,z=w.join("-");return $=>{const[N,L,B]=(0,d.Z)(),{getPrefixCls:D,iconPrefixCls:T,csp:j}=(0,a.useContext)(s.E_),K=D(),k={theme:N,token:L,hashId:B,nonce:()=>j==null?void 0:j.nonce,clientOnly:S==null?void 0:S.clientOnly,order:-999};return(0,t.xy)(Object.assign(Object.assign({},k),{clientOnly:!1,path:["Shared",K]}),()=>[{"&":(0,n.Lx)(L)}]),(0,c.Z)(T),[(0,t.xy)(Object.assign(Object.assign({},k),{path:[z,$,T]}),()=>{const{token:te,flush:Y}=(0,l.ZP)(L),q=Object.assign({},L[C]);if(S!=null&&S.deprecatedTokens){const{deprecatedTokens:_}=S;_.forEach(U=>{let[A,G]=U;var de;(q!=null&&q[A]||q!=null&&q[G])&&((de=q[G])!==null&&de!==void 0||(q[G]=q==null?void 0:q[A]))})}const le=typeof h=="function"?h((0,l.TS)(te,q!=null?q:{})):h,X=Object.assign(Object.assign({},le),q),W=`.${$}`,x=(0,l.TS)(te,{componentCls:W,prefixCls:$,iconCls:`.${T}`,antCls:`.${K}`},X),O=M(x,{hashId:B,prefixCls:$,rootPrefixCls:K,iconPrefixCls:T,overrideComponentToken:q});return Y(C,X),[(S==null?void 0:S.resetStyle)===!1?null:(0,n.du)(L,$),O]}),B]}}},98251:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(34966);function t(o,s){return a.i.reduce((n,d)=>{const l=o[`${d}1`],c=o[`${d}3`],m=o[`${d}6`],g=o[`${d}7`];return Object.assign(Object.assign({},n),s(d,{lightColor:l,lightBorderColor:c,darkColor:m,textColor:g}))},{})}},22151:function(b,y,e){"use strict";e.d(y,{TS:function(){return o},ZP:function(){return l}});const a=typeof CSSINJS_STATISTIC!="undefined";let t=!0;function o(){for(var c=arguments.length,m=new Array(c),g=0;g{Object.keys(h).forEach(w=>{Object.defineProperty(M,w,{configurable:!0,enumerable:!0,get:()=>h[w]})})}),t=!0,M}const s={},n={};function d(){}function l(c){let m,g=c,M=d;return a&&(m=new Set,g=new Proxy(c,{get(h,S){return t&&m.add(S),h[S]}}),M=(h,S)=>{var w;s[h]={global:Array.from(m),component:Object.assign(Object.assign({},(w=s[h])===null||w===void 0?void 0:w.component),S)}}),{token:g,keys:m,flush:M}}},60619:function(b,y,e){"use strict";var a=e(57793),t=e(78330),o=e(51806);const s=(n,d)=>{const[l,c]=(0,o.Z)();return(0,a.xy)({theme:l,token:c,hashId:"",path:["ant-design-icons",n],nonce:()=>d==null?void 0:d.nonce},()=>[{[`.${n}`]:Object.assign(Object.assign({},(0,t.Ro)()),{[`.${n} .${n}-icon`]:{display:"block"}})}])};y.Z=s},38107:function(b,y){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};y.Z=e},74820:function(b,y,e){"use strict";e.d(y,{Z:function(){return le}});var a=e(87608),t=e.n(a),o=e(33664),s=e(60409),n=e(58757),d=e(90881),l=e(95446),c=e(37047),m=e(61836),g=e(43528),M=e(22802),h=e(78330),S=e(28107),w=e(24542),C=e(98251),z=e(22151),$=e(52628);const N=X=>{const{componentCls:W,tooltipMaxWidth:x,tooltipColor:O,tooltipBg:_,tooltipBorderRadius:U,zIndexPopup:A,controlHeight:G,boxShadowSecondary:de,paddingSM:he,paddingXS:ge,tooltipRadiusOuter:be}=X;return[{[W]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,h.Wf)(X)),{position:"absolute",zIndex:A,display:"block",width:"max-content",maxWidth:x,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":_,[`${W}-inner`]:{minWidth:G,minHeight:G,padding:`${he/2}px ${ge}px`,color:O,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:_,borderRadius:U,boxShadow:de,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${W}-inner`]:{borderRadius:Math.min(U,w.qN)}},[`${W}-content`]:{position:"relative"}}),(0,C.Z)(X,(Te,Ge)=>{let{darkColor:Je}=Ge;return{[`&${W}-${Te}`]:{[`${W}-inner`]:{backgroundColor:Je},[`${W}-arrow`]:{"--antd-arrow-background-color":Je}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)((0,z.TS)(X,{borderRadiusOuter:be}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:U,limitVerticalRadius:!0}),{[`${W}-pure`]:{position:"relative",maxWidth:"none",margin:X.sizePopupArrow}}]};var L=(X,W)=>(0,$.Z)("Tooltip",O=>{if(W===!1)return[];const{borderRadius:_,colorTextLightSolid:U,colorBgDefault:A,borderRadiusOuter:G}=O,de=(0,z.TS)(O,{tooltipMaxWidth:250,tooltipColor:U,tooltipBorderRadius:_,tooltipBg:A,tooltipRadiusOuter:G>4?4:G});return[N(de),(0,S._y)(O,"zoom-big-fast")]},O=>{let{zIndexPopupBase:_,colorBgSpotlight:U}=O;return{zIndexPopup:_+70,colorBgDefault:U}},{resetStyle:!1})(X),B=e(1878);function D(X,W){const x=(0,B.o2)(W),O=t()({[`${X}-${W}`]:W&&x}),_={},U={};return W&&!x&&(_.background=W,U["--antd-arrow-background-color"]=W),{className:O,overlayStyle:_,arrowStyle:U}}var j=X=>{const{prefixCls:W,className:x,placement:O="top",title:_,color:U,overlayInnerStyle:A}=X,{getPrefixCls:G}=n.useContext(m.E_),de=G("tooltip",W),[he,ge]=L(de,!0),be=D(de,U),Te=be.arrowStyle,Ge=Object.assign(Object.assign({},A),be.overlayStyle),Je=t()(ge,de,`${de}-pure`,`${de}-placement-${O}`,x,be.className);return he(n.createElement("div",{className:Je,style:Te},n.createElement("div",{className:`${de}-arrow`}),n.createElement(o.G,Object.assign({},X,{className:ge,prefixCls:de,overlayInnerStyle:Ge}),_)))},K=function(X,W){var x={};for(var O in X)Object.prototype.hasOwnProperty.call(X,O)&&W.indexOf(O)<0&&(x[O]=X[O]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,O=Object.getOwnPropertySymbols(X);_{const x={},O=Object.assign({},X);return W.forEach(_=>{X&&_ in X&&(x[_]=X[_],delete O[_])}),{picked:x,omitted:O}};function Y(X,W){const x=X.type;if((x.__ANT_BUTTON===!0||X.type==="button")&&X.props.disabled||x.__ANT_SWITCH===!0&&(X.props.disabled||X.props.loading)||x.__ANT_RADIO===!0&&X.props.disabled){const{picked:O,omitted:_}=te(X.props.style,["position","left","right","top","bottom","float","display","zIndex"]),U=Object.assign(Object.assign({display:"inline-block"},O),{cursor:"not-allowed",width:X.props.block?"100%":void 0}),A=Object.assign(Object.assign({},_),{pointerEvents:"none"}),G=(0,c.Tm)(X,{style:A,className:null});return n.createElement("span",{style:U,className:t()(X.props.className,`${W}-disabled-compatible-wrapper`)},G)}return X}const q=n.forwardRef((X,W)=>{var x,O;const{prefixCls:_,openClassName:U,getTooltipContainer:A,overlayClassName:G,color:de,overlayInnerStyle:he,children:ge,afterOpenChange:be,afterVisibleChange:Te,destroyTooltipOnHide:Ge,arrow:Je=!0,title:Qe,overlay:pt,builtinPlacements:Ct,arrowPointAtCenter:ft=!1,autoAdjustOverflow:Ht=!0}=X,Ze=!!Je,{token:Xe}=k(),{getPopupContainer:rt,getPrefixCls:Ke,direction:ye}=n.useContext(m.E_),ne=n.useRef(null),H=()=>{var It;(It=ne.current)===null||It===void 0||It.forceAlign()};n.useImperativeHandle(W,()=>({forceAlign:H,forcePopupAlign:()=>{H()}}));const[R,P]=(0,s.Z)(!1,{value:(x=X.open)!==null&&x!==void 0?x:X.visible,defaultValue:(O=X.defaultOpen)!==null&&O!==void 0?O:X.defaultVisible}),ae=!Qe&&!pt&&Qe!==0,Q=It=>{var _t,wt;P(ae?!1:It),ae||((_t=X.onOpenChange)===null||_t===void 0||_t.call(X,It),(wt=X.onVisibleChange)===null||wt===void 0||wt.call(X,It))},ie=n.useMemo(()=>{var It,_t;let wt=ft;return typeof Je=="object"&&(wt=(_t=(It=Je.pointAtCenter)!==null&&It!==void 0?It:Je.arrowPointAtCenter)!==null&&_t!==void 0?_t:ft),Ct||(0,l.Z)({arrowPointAtCenter:wt,autoAdjustOverflow:Ht,arrowWidth:Ze?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[ft,Je,Ct,Xe]),me=n.useMemo(()=>Qe===0?Qe:pt||Qe||"",[pt,Qe]),je=n.createElement(g.BR,null,typeof me=="function"?me():me),{getPopupContainer:Ee,placement:Me="top",mouseEnterDelay:We=.1,mouseLeaveDelay:re=.1,overlayStyle:se,rootClassName:J}=X,ce=K(X,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),xe=Ke("tooltip",_),ue=Ke(),Ne=X["data-popover-inject"];let Oe=R;!("open"in X)&&!("visible"in X)&&ae&&(Oe=!1);const we=Y((0,c.l$)(ge)&&!(0,c.M2)(ge)?ge:n.createElement("span",null,ge),xe),Re=we.props,st=!Re.className||typeof Re.className=="string"?t()(Re.className,U||`${xe}-open`):Re.className,[tt,Ye]=L(xe,!Ne),ke=D(xe,de),Be=ke.arrowStyle,it=Object.assign(Object.assign({},he),ke.overlayStyle),Ve=t()(G,{[`${xe}-rtl`]:ye==="rtl"},ke.className,J,Ye);return tt(n.createElement(o.Z,Object.assign({},ce,{showArrow:Ze,placement:Me,mouseEnterDelay:We,mouseLeaveDelay:re,prefixCls:xe,overlayClassName:Ve,overlayStyle:Object.assign(Object.assign({},Be),se),getTooltipContainer:Ee||A||rt,ref:ne,builtinPlacements:ie,overlay:je,visible:Oe,onVisibleChange:Q,afterVisibleChange:be!=null?be:Te,overlayInnerStyle:it,arrowContent:n.createElement("span",{className:`${xe}-arrow-content`}),motion:{motionName:(0,d.m)(ue,"zoom-big-fast",X.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ge}),Oe?(0,c.Tm)(we,{className:st}):we))});q._InternalPanelDoNotUseOrYouWillBeFired=j;var le=q},23241:function(b,y,e){"use strict";e.d(y,{Z:function(){return mr}});var a=e(58757),t=e(29140),o=e(87608),s=e.n(o),n=e(60698),d=e(60412),l=e(14346),c=e(87498),m=e(73726),g=e(37734),M=e(47075),h=e(74632),S=e(38790),w=e(79290),C=e(33926);function z(Ft,en){var rn="cannot ".concat(Ft.method," ").concat(Ft.action," ").concat(en.status,"'"),fn=new Error(rn);return fn.status=en.status,fn.method=Ft.method,fn.url=Ft.action,fn}function $(Ft){var en=Ft.responseText||Ft.response;if(!en)return en;try{return JSON.parse(en)}catch(rn){return en}}function N(Ft){var en=new XMLHttpRequest;Ft.onProgress&&en.upload&&(en.upload.onprogress=function(on){on.total>0&&(on.percent=on.loaded/on.total*100),Ft.onProgress(on)});var rn=new FormData;Ft.data&&Object.keys(Ft.data).forEach(function(In){var on=Ft.data[In];if(Array.isArray(on)){on.forEach(function(mt){rn.append("".concat(In,"[]"),mt)});return}rn.append(In,on)}),Ft.file instanceof Blob?rn.append(Ft.filename,Ft.file,Ft.file.name):rn.append(Ft.filename,Ft.file),en.onerror=function(on){Ft.onError(on)},en.onload=function(){return en.status<200||en.status>=300?Ft.onError(z(Ft,en),$(en)):Ft.onSuccess($(en),en)},en.open(Ft.method,Ft.action,!0),Ft.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var fn=Ft.headers||{};return fn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(fn).forEach(function(In){fn[In]!==null&&en.setRequestHeader(In,fn[In])}),en.send(rn),{abort:function(){en.abort()}}}var L=+new Date,B=0;function D(){return"rc-upload-".concat(L,"-").concat(++B)}var T=e(75556),j=function(Ft,en){if(Ft&&en){var rn=Array.isArray(en)?en:en.split(","),fn=Ft.name||"",In=Ft.type||"",on=In.replace(/\/.*$/,"");return rn.some(function(mt){var gt=mt.trim();if(/^\*(\/\*)?$/.test(mt))return!0;if(gt.charAt(0)==="."){var sn=fn.toLowerCase(),Qt=gt.toLowerCase(),tn=[Qt];return(Qt===".jpg"||Qt===".jpeg")&&(tn=[".jpg",".jpeg"]),tn.some(function(yn){return sn.endsWith(yn)})}return/\/\*$/.test(gt)?on===gt.replace(/\/.*$/,""):In===gt?!0:/^\w+$/.test(gt)?((0,T.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(gt,"'.Skip for check.")),!0):!1})}return!0};function K(Ft,en){var rn=Ft.createReader(),fn=[];function In(){rn.readEntries(function(on){var mt=Array.prototype.slice.apply(on);fn=fn.concat(mt);var gt=!mt.length;gt?en(fn):In()})}In()}var k=function(en,rn,fn){var In=function on(mt,gt){mt.path=gt||"",mt.isFile?mt.file(function(sn){fn(sn)&&(mt.fullPath&&!sn.webkitRelativePath&&(Object.defineProperties(sn,{webkitRelativePath:{writable:!0}}),sn.webkitRelativePath=mt.fullPath.replace(/^\//,""),Object.defineProperties(sn,{webkitRelativePath:{writable:!1}})),rn([sn]))}):mt.isDirectory&&K(mt,function(sn){sn.forEach(function(Qt){on(Qt,"".concat(gt).concat(mt.name,"/"))})})};en.forEach(function(on){In(on.webkitGetAsEntry())})},te=k,Y=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],q=function(Ft){(0,c.Z)(rn,Ft);var en=(0,m.Z)(rn);function rn(){var fn;(0,d.Z)(this,rn);for(var In=arguments.length,on=new Array(In),mt=0;mt{let{uid:on}=In;return on===Ft.uid});return fn===-1?rn.push(Ft):rn[fn]=Ft,rn}function ie(Ft,en){const rn=Ft.uid!==void 0?"uid":"name";return en.filter(fn=>fn[rn]===Ft[rn])[0]}function me(Ft,en){const rn=Ft.uid!==void 0?"uid":"name",fn=en.filter(In=>In[rn]!==Ft[rn]);return fn.length===en.length?null:fn}const je=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),fn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(fn)||[""])[0]},Ee=Ft=>Ft.indexOf("image/")===0,Me=Ft=>{if(Ft.type&&!Ft.thumbUrl)return Ee(Ft.type);const en=Ft.thumbUrl||Ft.url||"",rn=je(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(rn)?!0:!(/^data:/.test(en)||rn)},We=200;function re(Ft){return new Promise(en=>{if(!Ft.type||!Ee(Ft.type)){en("");return}const rn=document.createElement("canvas");rn.width=We,rn.height=We,rn.style.cssText=`position: fixed; left: 0; top: 0; width: ${We}px; height: ${We}px; z-index: 9999; display: none;`,document.body.appendChild(rn);const fn=rn.getContext("2d"),In=new Image;if(In.onload=()=>{const{width:on,height:mt}=In;let gt=We,sn=We,Qt=0,tn=0;on>mt?(sn=mt*(We/on),tn=-(sn-gt)/2):(gt=on*(We/mt),Qt=-(gt-sn)/2),fn.drawImage(In,Qt,tn,gt,sn);const yn=rn.toDataURL();document.body.removeChild(rn),window.URL.revokeObjectURL(In.src),en(yn)},In.crossOrigin="anonymous",Ft.type.startsWith("image/svg+xml")){const on=new FileReader;on.onload=()=>{on.result&&(In.src=on.result)},on.readAsDataURL(Ft)}else if(Ft.type.startsWith("image/gif")){const on=new FileReader;on.onload=()=>{on.result&&en(on.result)},on.readAsDataURL(Ft)}else In.src=window.URL.createObjectURL(Ft)})}var se=e(23605),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},ce=J,xe=function(en,rn){return a.createElement(Te.Z,(0,n.Z)({},en,{ref:rn,icon:ce}))},ue=a.forwardRef(xe),Ne=e(56019),Oe=e(95664),we=e(74820),st=a.forwardRef((Ft,en)=>{let{prefixCls:rn,className:fn,style:In,locale:on,listType:mt,file:gt,items:sn,progress:Qt,iconRender:tn,actionIconRender:yn,itemRender:vn,isImgUrl:Wn,showPreviewIcon:tr,showRemoveIcon:ut,showDownloadIcon:ct,previewIcon:At,removeIcon:xt,downloadIcon:kt,onPreview:un,onDownload:nn,onClose:An}=Ft;var zn,Er;const{status:nr}=gt,[Fn,kr]=a.useState(nr);a.useEffect(()=>{nr!=="removed"&&kr(nr)},[nr]);const[hr,la]=a.useState(!1);a.useEffect(()=>{const Dr=setTimeout(()=>{la(!0)},300);return()=>{clearTimeout(Dr)}},[]);const zr=tn(gt);let Zn=a.createElement("div",{className:`${rn}-icon`},zr);if(mt==="picture"||mt==="picture-card"||mt==="picture-circle")if(Fn==="uploading"||!gt.thumbUrl&&!gt.url){const Dr=s()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:Fn!=="uploading"});Zn=a.createElement("div",{className:Dr},zr)}else{const Dr=Wn!=null&&Wn(gt)?a.createElement("img",{src:gt.thumbUrl||gt.url,alt:gt.name,className:`${rn}-list-item-image`,crossOrigin:gt.crossOrigin}):zr,Tt=s()(`${rn}-list-item-thumbnail`,{[`${rn}-list-item-file`]:Wn&&!Wn(gt)});Zn=a.createElement("a",{className:Tt,onClick:an=>un(gt,an),href:gt.url||gt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Dr)}const On=s()(`${rn}-list-item`,`${rn}-list-item-${Fn}`),Tn=typeof gt.linkProps=="string"?JSON.parse(gt.linkProps):gt.linkProps,ar=ut?yn((typeof xt=="function"?xt(gt):xt)||a.createElement(se.Z,null),()=>An(gt),rn,on.removeFile):null,br=ct&&Fn==="done"?yn((typeof kt=="function"?kt(gt):kt)||a.createElement(ue,null),()=>nn(gt),rn,on.downloadFile):null,Kr=mt!=="picture-card"&&mt!=="picture-circle"&&a.createElement("span",{key:"download-delete",className:s()(`${rn}-list-item-actions`,{picture:mt==="picture"})},br,ar),ra=s()(`${rn}-list-item-name`),pa=gt.url?[a.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ra,title:gt.name},Tn,{href:gt.url,onClick:Dr=>un(gt,Dr)}),gt.name),Kr]:[a.createElement("span",{key:"view",className:ra,onClick:Dr=>un(gt,Dr),title:gt.name},gt.name),Kr],fr={pointerEvents:"none",opacity:.5},Ur=tr?a.createElement("a",{href:gt.url||gt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:gt.url||gt.thumbUrl?void 0:fr,onClick:Dr=>un(gt,Dr),title:on.previewFile},typeof At=="function"?At(gt):At||a.createElement(Ne.Z,null)):null,Ea=(mt==="picture-card"||mt==="picture-circle")&&Fn!=="uploading"&&a.createElement("span",{className:`${rn}-list-item-actions`},Ur,Fn==="done"&&br,ar),{getPrefixCls:ha}=a.useContext(A.E_),Hn=ha(),Bn=a.createElement("div",{className:On},Zn,pa,Ea,hr&&a.createElement(ye.ZP,{motionName:`${Hn}-fade`,visible:Fn==="uploading",motionDeadline:2e3},Dr=>{let{className:Tt}=Dr;const an="percent"in gt?a.createElement(Oe.Z,Object.assign({},Qt,{type:"line",percent:gt.percent,"aria-label":gt["aria-label"],"aria-labelledby":gt["aria-labelledby"]})):null;return a.createElement("div",{className:s()(`${rn}-list-item-progress`,Tt)},an)})),yr=gt.response&&typeof gt.response=="string"?gt.response:((zn=gt.error)===null||zn===void 0?void 0:zn.statusText)||((Er=gt.error)===null||Er===void 0?void 0:Er.message)||on.uploadError,Xr=Fn==="error"?a.createElement(we.Z,{title:yr,getPopupContainer:Dr=>Dr.parentNode},Bn):Bn;return a.createElement("div",{className:s()(`${rn}-list-item-container`,fn),style:In,ref:en},vn?vn(Xr,gt,sn,{download:nn.bind(null,gt),preview:un.bind(null,gt),remove:An.bind(null,gt)}):Xr)});const tt=(Ft,en)=>{const{listType:rn="text",previewFile:fn=re,onPreview:In,onDownload:on,onRemove:mt,locale:gt,iconRender:sn,isImageUrl:Qt=Me,prefixCls:tn,items:yn=[],showPreviewIcon:vn=!0,showRemoveIcon:Wn=!0,showDownloadIcon:tr=!1,removeIcon:ut,previewIcon:ct,downloadIcon:At,progress:xt={size:[-1,2],showInfo:!1},appendAction:kt,appendActionVisible:un=!0,itemRender:nn,disabled:An}=Ft,zn=(0,ne.Z)(),[Er,nr]=a.useState(!1);a.useEffect(()=>{rn!=="picture"&&rn!=="picture-card"&&rn!=="picture-circle"||(yn||[]).forEach(fr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(fr.originFileObj instanceof File||fr.originFileObj instanceof Blob)||fr.thumbUrl!==void 0||(fr.thumbUrl="",fn&&fn(fr.originFileObj).then(Ur=>{fr.thumbUrl=Ur||"",zn()}))})},[rn,yn,fn]),a.useEffect(()=>{nr(!0)},[]);const Fn=(fr,Ur)=>{if(In)return Ur==null||Ur.preventDefault(),In(fr)},kr=fr=>{typeof on=="function"?on(fr):fr.url&&window.open(fr.url)},hr=fr=>{mt==null||mt(fr)},la=fr=>{if(sn)return sn(fr,rn);const Ur=fr.status==="uploading",Ea=Qt&&Qt(fr)?a.createElement(Ke,null):a.createElement(Je,null);let ha=Ur?a.createElement(Qe.Z,null):a.createElement(Ht,null);return rn==="picture"?ha=Ur?a.createElement(Qe.Z,null):Ea:(rn==="picture-card"||rn==="picture-circle")&&(ha=Ur?gt.uploading:Ea),ha},zr=(fr,Ur,Ea,ha)=>{const Hn={type:"text",size:"small",title:ha,onClick:Bn=>{Ur(),(0,R.l$)(fr)&&fr.props.onClick&&fr.props.onClick(Bn)},className:`${Ea}-list-item-action`,disabled:An};if((0,R.l$)(fr)){const Bn=(0,R.Tm)(fr,Object.assign(Object.assign({},fr.props),{onClick:()=>{}}));return a.createElement(P.ZP,Object.assign({},Hn,{icon:Bn}))}return a.createElement(P.ZP,Object.assign({},Hn),a.createElement("span",null,fr))};a.useImperativeHandle(en,()=>({handlePreview:Fn,handleDownload:kr}));const{getPrefixCls:Zn}=a.useContext(A.E_),On=Zn("upload",tn),Tn=Zn(),ar=s()(`${On}-list`,`${On}-list-${rn}`),br=(0,t.Z)(yn.map(fr=>({key:fr.uid,file:fr})));let ra={motionDeadline:2e3,motionName:`${On}-${rn==="picture-card"||rn==="picture-circle"?"animate-inline":"animate"}`,keys:br,motionAppear:Er};const pa=a.useMemo(()=>{const fr=Object.assign({},(0,H.Z)(Tn));return delete fr.onAppearEnd,delete fr.onEnterEnd,delete fr.onLeaveEnd,fr},[Tn]);return rn!=="picture-card"&&rn!=="picture-circle"&&(ra=Object.assign(Object.assign({},pa),ra)),a.createElement("div",{className:ar},a.createElement(ye.V4,Object.assign({},ra,{component:!1}),fr=>{let{key:Ur,file:Ea,className:ha,style:Hn}=fr;return a.createElement(st,{key:Ur,locale:gt,prefixCls:On,className:ha,style:Hn,file:Ea,items:yn,progress:xt,listType:rn,isImgUrl:Qt,showPreviewIcon:vn,showRemoveIcon:Wn,showDownloadIcon:tr,removeIcon:ut,previewIcon:ct,downloadIcon:At,iconRender:la,actionIconRender:zr,itemRender:nn,onPreview:Fn,onDownload:kr,onClose:hr})}),kt&&a.createElement(ye.ZP,Object.assign({},ra,{visible:un,forceRender:!0}),fr=>{let{className:Ur,style:Ea}=fr;return(0,R.Tm)(kt,ha=>({className:s()(ha.className,Ur),style:Object.assign(Object.assign(Object.assign({},Ea),{pointerEvents:Ur?"none":void 0}),ha.style)}))}))};var ke=a.forwardRef(tt),Be=e(78330),it=e(41086),Ve=e(52628),It=e(22151),wt=Ft=>{const{componentCls:en,iconCls:rn}=Ft;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ft.colorFillAlter,border:`${Ft.lineWidth}px dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[en]:{padding:`${Ft.padding}px 0`},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${en}-disabled):hover`]:{borderColor:Ft.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:Ft.margin,[rn]:{color:Ft.colorPrimary,fontSize:Ft.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${Ft.marginXXS}px`,color:Ft.colorTextHeading,fontSize:Ft.fontSizeLG},[`p${en}-hint`]:{color:Ft.colorTextDescription,fontSize:Ft.fontSize},[`&${en}-disabled`]:{cursor:"not-allowed",[`p${en}-drag-icon ${rn}, + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),M)}},52628:function(b,y,e){"use strict";e.d(y,{Z:function(){return m}});var a=e(58757),t=e(57793),o=e(71219),s=e(61836),n=e(78330),d=e(51806),l=e(22151),c=e(60619);function m(g,M,h,S){const w=Array.isArray(g)?g:[g,g],[C]=w,F=w.join("-");return Z=>{const[N,L,$]=(0,d.Z)(),{getPrefixCls:D,iconPrefixCls:T,csp:j}=(0,a.useContext)(s.E_),K=D(),k={theme:N,token:L,hashId:$,nonce:()=>j==null?void 0:j.nonce,clientOnly:S==null?void 0:S.clientOnly,order:-999};return(0,t.xy)(Object.assign(Object.assign({},k),{clientOnly:!1,path:["Shared",K]}),()=>[{"&":(0,n.Lx)(L)}]),(0,c.Z)(T),[(0,t.xy)(Object.assign(Object.assign({},k),{path:[F,Z,T]}),()=>{const{token:te,flush:V}=(0,l.ZP)(L),q=Object.assign({},L[C]);if(S!=null&&S.deprecatedTokens){const{deprecatedTokens:_}=S;_.forEach(U=>{let[A,G]=U;var fe;(q!=null&&q[A]||q!=null&&q[G])&&((fe=q[G])!==null&&fe!==void 0||(q[G]=q==null?void 0:q[A]))})}const le=typeof h=="function"?h((0,l.TS)(te,q!=null?q:{})):h,X=Object.assign(Object.assign({},le),q),W=`.${Z}`,x=(0,l.TS)(te,{componentCls:W,prefixCls:Z,iconCls:`.${T}`,antCls:`.${K}`},X),O=M(x,{hashId:$,prefixCls:Z,rootPrefixCls:K,iconPrefixCls:T,overrideComponentToken:q});return V(C,X),[(S==null?void 0:S.resetStyle)===!1?null:(0,n.du)(L,Z),O]}),$]}}},98251:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(34966);function t(o,s){return a.i.reduce((n,d)=>{const l=o[`${d}1`],c=o[`${d}3`],m=o[`${d}6`],g=o[`${d}7`];return Object.assign(Object.assign({},n),s(d,{lightColor:l,lightBorderColor:c,darkColor:m,textColor:g}))},{})}},22151:function(b,y,e){"use strict";e.d(y,{TS:function(){return o},ZP:function(){return l}});const a=typeof CSSINJS_STATISTIC!="undefined";let t=!0;function o(){for(var c=arguments.length,m=new Array(c),g=0;g{Object.keys(h).forEach(w=>{Object.defineProperty(M,w,{configurable:!0,enumerable:!0,get:()=>h[w]})})}),t=!0,M}const s={},n={};function d(){}function l(c){let m,g=c,M=d;return a&&(m=new Set,g=new Proxy(c,{get(h,S){return t&&m.add(S),h[S]}}),M=(h,S)=>{var w;s[h]={global:Array.from(m),component:Object.assign(Object.assign({},(w=s[h])===null||w===void 0?void 0:w.component),S)}}),{token:g,keys:m,flush:M}}},60619:function(b,y,e){"use strict";var a=e(57793),t=e(78330),o=e(51806);const s=(n,d)=>{const[l,c]=(0,o.Z)();return(0,a.xy)({theme:l,token:c,hashId:"",path:["ant-design-icons",n],nonce:()=>d==null?void 0:d.nonce},()=>[{[`.${n}`]:Object.assign(Object.assign({},(0,t.Ro)()),{[`.${n} .${n}-icon`]:{display:"block"}})}])};y.Z=s},38107:function(b,y){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};y.Z=e},74820:function(b,y,e){"use strict";e.d(y,{Z:function(){return le}});var a=e(87608),t=e.n(a),o=e(33664),s=e(60409),n=e(58757),d=e(90881),l=e(95446),c=e(37047),m=e(61836),g=e(43528),M=e(22802),h=e(78330),S=e(28107),w=e(24542),C=e(98251),F=e(22151),Z=e(52628);const N=X=>{const{componentCls:W,tooltipMaxWidth:x,tooltipColor:O,tooltipBg:_,tooltipBorderRadius:U,zIndexPopup:A,controlHeight:G,boxShadowSecondary:fe,paddingSM:pe,paddingXS:ge,tooltipRadiusOuter:be}=X;return[{[W]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,h.Wf)(X)),{position:"absolute",zIndex:A,display:"block",width:"max-content",maxWidth:x,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":_,[`${W}-inner`]:{minWidth:G,minHeight:G,padding:`${pe/2}px ${ge}px`,color:O,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:_,borderRadius:U,boxShadow:fe,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${W}-inner`]:{borderRadius:Math.min(U,w.qN)}},[`${W}-content`]:{position:"relative"}}),(0,C.Z)(X,(Te,Ge)=>{let{darkColor:Je}=Ge;return{[`&${W}-${Te}`]:{[`${W}-inner`]:{backgroundColor:Je},[`${W}-arrow`]:{"--antd-arrow-background-color":Je}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)((0,F.TS)(X,{borderRadiusOuter:be}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:U,limitVerticalRadius:!0}),{[`${W}-pure`]:{position:"relative",maxWidth:"none",margin:X.sizePopupArrow}}]};var L=(X,W)=>(0,Z.Z)("Tooltip",O=>{if(W===!1)return[];const{borderRadius:_,colorTextLightSolid:U,colorBgDefault:A,borderRadiusOuter:G}=O,fe=(0,F.TS)(O,{tooltipMaxWidth:250,tooltipColor:U,tooltipBorderRadius:_,tooltipBg:A,tooltipRadiusOuter:G>4?4:G});return[N(fe),(0,S._y)(O,"zoom-big-fast")]},O=>{let{zIndexPopupBase:_,colorBgSpotlight:U}=O;return{zIndexPopup:_+70,colorBgDefault:U}},{resetStyle:!1})(X),$=e(1878);function D(X,W){const x=(0,$.o2)(W),O=t()({[`${X}-${W}`]:W&&x}),_={},U={};return W&&!x&&(_.background=W,U["--antd-arrow-background-color"]=W),{className:O,overlayStyle:_,arrowStyle:U}}var j=X=>{const{prefixCls:W,className:x,placement:O="top",title:_,color:U,overlayInnerStyle:A}=X,{getPrefixCls:G}=n.useContext(m.E_),fe=G("tooltip",W),[pe,ge]=L(fe,!0),be=D(fe,U),Te=be.arrowStyle,Ge=Object.assign(Object.assign({},A),be.overlayStyle),Je=t()(ge,fe,`${fe}-pure`,`${fe}-placement-${O}`,x,be.className);return pe(n.createElement("div",{className:Je,style:Te},n.createElement("div",{className:`${fe}-arrow`}),n.createElement(o.G,Object.assign({},X,{className:ge,prefixCls:fe,overlayInnerStyle:Ge}),_)))},K=function(X,W){var x={};for(var O in X)Object.prototype.hasOwnProperty.call(X,O)&&W.indexOf(O)<0&&(x[O]=X[O]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _=0,O=Object.getOwnPropertySymbols(X);_{const x={},O=Object.assign({},X);return W.forEach(_=>{X&&_ in X&&(x[_]=X[_],delete O[_])}),{picked:x,omitted:O}};function V(X,W){const x=X.type;if((x.__ANT_BUTTON===!0||X.type==="button")&&X.props.disabled||x.__ANT_SWITCH===!0&&(X.props.disabled||X.props.loading)||x.__ANT_RADIO===!0&&X.props.disabled){const{picked:O,omitted:_}=te(X.props.style,["position","left","right","top","bottom","float","display","zIndex"]),U=Object.assign(Object.assign({display:"inline-block"},O),{cursor:"not-allowed",width:X.props.block?"100%":void 0}),A=Object.assign(Object.assign({},_),{pointerEvents:"none"}),G=(0,c.Tm)(X,{style:A,className:null});return n.createElement("span",{style:U,className:t()(X.props.className,`${W}-disabled-compatible-wrapper`)},G)}return X}const q=n.forwardRef((X,W)=>{var x,O;const{prefixCls:_,openClassName:U,getTooltipContainer:A,overlayClassName:G,color:fe,overlayInnerStyle:pe,children:ge,afterOpenChange:be,afterVisibleChange:Te,destroyTooltipOnHide:Ge,arrow:Je=!0,title:Qe,overlay:pt,builtinPlacements:Et,arrowPointAtCenter:ft=!1,autoAdjustOverflow:Wt=!0}=X,$e=!!Je,{token:Xe}=k(),{getPopupContainer:nt,getPrefixCls:Ke,direction:ye}=n.useContext(m.E_),ne=n.useRef(null),H=()=>{var xt;(xt=ne.current)===null||xt===void 0||xt.forceAlign()};n.useImperativeHandle(W,()=>({forceAlign:H,forcePopupAlign:()=>{H()}}));const[R,P]=(0,s.Z)(!1,{value:(x=X.open)!==null&&x!==void 0?x:X.visible,defaultValue:(O=X.defaultOpen)!==null&&O!==void 0?O:X.defaultVisible}),ae=!Qe&&!pt&&Qe!==0,Q=xt=>{var Ht,Ot;P(ae?!1:xt),ae||((Ht=X.onOpenChange)===null||Ht===void 0||Ht.call(X,xt),(Ot=X.onVisibleChange)===null||Ot===void 0||Ot.call(X,xt))},ie=n.useMemo(()=>{var xt,Ht;let Ot=ft;return typeof Je=="object"&&(Ot=(Ht=(xt=Je.pointAtCenter)!==null&&xt!==void 0?xt:Je.arrowPointAtCenter)!==null&&Ht!==void 0?Ht:ft),Et||(0,l.Z)({arrowPointAtCenter:Ot,autoAdjustOverflow:Wt,arrowWidth:$e?Xe.sizePopupArrow:0,borderRadius:Xe.borderRadius,offset:Xe.marginXXS,visibleFirst:!0})},[ft,Je,Et,Xe]),me=n.useMemo(()=>Qe===0?Qe:pt||Qe||"",[pt,Qe]),je=n.createElement(g.BR,null,typeof me=="function"?me():me),{getPopupContainer:Ee,placement:Me="top",mouseEnterDelay:We=.1,mouseLeaveDelay:re=.1,overlayStyle:se,rootClassName:J}=X,de=K(X,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),xe=Ke("tooltip",_),ce=Ke(),Le=X["data-popover-inject"];let Oe=R;!("open"in X)&&!("visible"in X)&&ae&&(Oe=!1);const we=V((0,c.l$)(ge)&&!(0,c.M2)(ge)?ge:n.createElement("span",null,ge),xe),Ne=we.props,st=!Ne.className||typeof Ne.className=="string"?t()(Ne.className,U||`${xe}-open`):Ne.className,[et,Ye]=L(xe,!Le),ke=D(xe,fe),Be=ke.arrowStyle,it=Object.assign(Object.assign({},pe),ke.overlayStyle),Ve=t()(G,{[`${xe}-rtl`]:ye==="rtl"},ke.className,J,Ye);return et(n.createElement(o.Z,Object.assign({},de,{showArrow:$e,placement:Me,mouseEnterDelay:We,mouseLeaveDelay:re,prefixCls:xe,overlayClassName:Ve,overlayStyle:Object.assign(Object.assign({},Be),se),getTooltipContainer:Ee||A||nt,ref:ne,builtinPlacements:ie,overlay:je,visible:Oe,onVisibleChange:Q,afterVisibleChange:be!=null?be:Te,overlayInnerStyle:it,arrowContent:n.createElement("span",{className:`${xe}-arrow-content`}),motion:{motionName:(0,d.m)(ce,"zoom-big-fast",X.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ge}),Oe?(0,c.Tm)(we,{className:st}):we))});q._InternalPanelDoNotUseOrYouWillBeFired=j;var le=q},23241:function(b,y,e){"use strict";e.d(y,{Z:function(){return br}});var a=e(58757),t=e(29140),o=e(87608),s=e.n(o),n=e(60698),d=e(60412),l=e(14346),c=e(87498),m=e(73726),g=e(37734),M=e(47075),h=e(74632),S=e(38790),w=e(79290),C=e(33926);function F(zt,en){var an="cannot ".concat(zt.method," ").concat(zt.action," ").concat(en.status,"'"),vn=new Error(an);return vn.status=en.status,vn.method=zt.method,vn.url=zt.action,vn}function Z(zt){var en=zt.responseText||zt.response;if(!en)return en;try{return JSON.parse(en)}catch(an){return en}}function N(zt){var en=new XMLHttpRequest;zt.onProgress&&en.upload&&(en.upload.onprogress=function(sn){sn.total>0&&(sn.percent=sn.loaded/sn.total*100),zt.onProgress(sn)});var an=new FormData;zt.data&&Object.keys(zt.data).forEach(function(An){var sn=zt.data[An];if(Array.isArray(sn)){sn.forEach(function(mt){an.append("".concat(An,"[]"),mt)});return}an.append(An,sn)}),zt.file instanceof Blob?an.append(zt.filename,zt.file,zt.file.name):an.append(zt.filename,zt.file),en.onerror=function(sn){zt.onError(sn)},en.onload=function(){return en.status<200||en.status>=300?zt.onError(F(zt,en),Z(en)):zt.onSuccess(Z(en),en)},en.open(zt.method,zt.action,!0),zt.withCredentials&&"withCredentials"in en&&(en.withCredentials=!0);var vn=zt.headers||{};return vn["X-Requested-With"]!==null&&en.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(vn).forEach(function(An){vn[An]!==null&&en.setRequestHeader(An,vn[An])}),en.send(an),{abort:function(){en.abort()}}}var L=+new Date,$=0;function D(){return"rc-upload-".concat(L,"-").concat(++$)}var T=e(75556),j=function(zt,en){if(zt&&en){var an=Array.isArray(en)?en:en.split(","),vn=zt.name||"",An=zt.type||"",sn=An.replace(/\/.*$/,"");return an.some(function(mt){var gt=mt.trim();if(/^\*(\/\*)?$/.test(mt))return!0;if(gt.charAt(0)==="."){var ln=vn.toLowerCase(),Qt=gt.toLowerCase(),tn=[Qt];return(Qt===".jpg"||Qt===".jpeg")&&(tn=[".jpg",".jpeg"]),tn.some(function(yn){return ln.endsWith(yn)})}return/\/\*$/.test(gt)?sn===gt.replace(/\/.*$/,""):An===gt?!0:/^\w+$/.test(gt)?((0,T.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(gt,"'.Skip for check.")),!0):!1})}return!0};function K(zt,en){var an=zt.createReader(),vn=[];function An(){an.readEntries(function(sn){var mt=Array.prototype.slice.apply(sn);vn=vn.concat(mt);var gt=!mt.length;gt?en(vn):An()})}An()}var k=function(en,an,vn){var An=function sn(mt,gt){mt.path=gt||"",mt.isFile?mt.file(function(ln){vn(ln)&&(mt.fullPath&&!ln.webkitRelativePath&&(Object.defineProperties(ln,{webkitRelativePath:{writable:!0}}),ln.webkitRelativePath=mt.fullPath.replace(/^\//,""),Object.defineProperties(ln,{webkitRelativePath:{writable:!1}})),an([ln]))}):mt.isDirectory&&K(mt,function(ln){ln.forEach(function(Qt){sn(Qt,"".concat(gt).concat(mt.name,"/"))})})};en.forEach(function(sn){An(sn.webkitGetAsEntry())})},te=k,V=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],q=function(zt){(0,c.Z)(an,zt);var en=(0,m.Z)(an);function an(){var vn;(0,d.Z)(this,an);for(var An=arguments.length,sn=new Array(An),mt=0;mt{let{uid:sn}=An;return sn===zt.uid});return vn===-1?an.push(zt):an[vn]=zt,an}function ie(zt,en){const an=zt.uid!==void 0?"uid":"name";return en.filter(vn=>vn[an]===zt[an])[0]}function me(zt,en){const an=zt.uid!==void 0?"uid":"name",vn=en.filter(An=>An[an]!==zt[an]);return vn.length===en.length?null:vn}const je=function(){const en=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),vn=en[en.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(vn)||[""])[0]},Ee=zt=>zt.indexOf("image/")===0,Me=zt=>{if(zt.type&&!zt.thumbUrl)return Ee(zt.type);const en=zt.thumbUrl||zt.url||"",an=je(en);return/^data:image\//.test(en)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(an)?!0:!(/^data:/.test(en)||an)},We=200;function re(zt){return new Promise(en=>{if(!zt.type||!Ee(zt.type)){en("");return}const an=document.createElement("canvas");an.width=We,an.height=We,an.style.cssText=`position: fixed; left: 0; top: 0; width: ${We}px; height: ${We}px; z-index: 9999; display: none;`,document.body.appendChild(an);const vn=an.getContext("2d"),An=new Image;if(An.onload=()=>{const{width:sn,height:mt}=An;let gt=We,ln=We,Qt=0,tn=0;sn>mt?(ln=mt*(We/sn),tn=-(ln-gt)/2):(gt=sn*(We/mt),Qt=-(gt-ln)/2),vn.drawImage(An,Qt,tn,gt,ln);const yn=an.toDataURL();document.body.removeChild(an),window.URL.revokeObjectURL(An.src),en(yn)},An.crossOrigin="anonymous",zt.type.startsWith("image/svg+xml")){const sn=new FileReader;sn.onload=()=>{sn.result&&(An.src=sn.result)},sn.readAsDataURL(zt)}else if(zt.type.startsWith("image/gif")){const sn=new FileReader;sn.onload=()=>{sn.result&&en(sn.result)},sn.readAsDataURL(zt)}else An.src=window.URL.createObjectURL(zt)})}var se=e(23605),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},de=J,xe=function(en,an){return a.createElement(Te.Z,(0,n.Z)({},en,{ref:an,icon:de}))},ce=a.forwardRef(xe),Le=e(56019),Oe=e(95664),we=e(74820),st=a.forwardRef((zt,en)=>{let{prefixCls:an,className:vn,style:An,locale:sn,listType:mt,file:gt,items:ln,progress:Qt,iconRender:tn,actionIconRender:yn,itemRender:gn,isImgUrl:_n,showPreviewIcon:nr,showRemoveIcon:ut,showDownloadIcon:ct,previewIcon:It,removeIcon:Ct,downloadIcon:Ut,onPreview:cn,onDownload:rn,onClose:Dn}=zt;var Bn,Cr;const{status:rr}=gt,[$n,kr]=a.useState(rr);a.useEffect(()=>{rr!=="removed"&&kr(rr)},[rr]);const[Mr,ia]=a.useState(!1);a.useEffect(()=>{const wr=setTimeout(()=>{ia(!0)},300);return()=>{clearTimeout(wr)}},[]);const zr=tn(gt);let Wn=a.createElement("div",{className:`${an}-icon`},zr);if(mt==="picture"||mt==="picture-card"||mt==="picture-circle")if($n==="uploading"||!gt.thumbUrl&&!gt.url){const wr=s()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:$n!=="uploading"});Wn=a.createElement("div",{className:wr},zr)}else{const wr=_n!=null&&_n(gt)?a.createElement("img",{src:gt.thumbUrl||gt.url,alt:gt.name,className:`${an}-list-item-image`,crossOrigin:gt.crossOrigin}):zr,Pt=s()(`${an}-list-item-thumbnail`,{[`${an}-list-item-file`]:_n&&!_n(gt)});Wn=a.createElement("a",{className:Pt,onClick:on=>cn(gt,on),href:gt.url||gt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},wr)}const wn=s()(`${an}-list-item`,`${an}-list-item-${$n}`),Rn=typeof gt.linkProps=="string"?JSON.parse(gt.linkProps):gt.linkProps,sr=ut?yn((typeof Ct=="function"?Ct(gt):Ct)||a.createElement(se.Z,null),()=>Dn(gt),an,sn.removeFile):null,Er=ct&&$n==="done"?yn((typeof Ut=="function"?Ut(gt):Ut)||a.createElement(ce,null),()=>rn(gt),an,sn.downloadFile):null,Kr=mt!=="picture-card"&&mt!=="picture-circle"&&a.createElement("span",{key:"download-delete",className:s()(`${an}-list-item-actions`,{picture:mt==="picture"})},Er,sr),ta=s()(`${an}-list-item-name`),ga=gt.url?[a.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ta,title:gt.name},Rn,{href:gt.url,onClick:wr=>cn(gt,wr)}),gt.name),Kr]:[a.createElement("span",{key:"view",className:ta,onClick:wr=>cn(gt,wr),title:gt.name},gt.name),Kr],pr={pointerEvents:"none",opacity:.5},Ur=nr?a.createElement("a",{href:gt.url||gt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:gt.url||gt.thumbUrl?void 0:pr,onClick:wr=>cn(gt,wr),title:sn.previewFile},typeof It=="function"?It(gt):It||a.createElement(Le.Z,null)):null,Ma=(mt==="picture-card"||mt==="picture-circle")&&$n!=="uploading"&&a.createElement("span",{className:`${an}-list-item-actions`},Ur,$n==="done"&&Er,sr),{getPrefixCls:ma}=a.useContext(A.E_),Yn=ma(),Zn=a.createElement("div",{className:wn},Wn,ga,Ma,Mr&&a.createElement(ye.ZP,{motionName:`${Yn}-fade`,visible:$n==="uploading",motionDeadline:2e3},wr=>{let{className:Pt}=wr;const on="percent"in gt?a.createElement(Oe.Z,Object.assign({},Qt,{type:"line",percent:gt.percent,"aria-label":gt["aria-label"],"aria-labelledby":gt["aria-labelledby"]})):null;return a.createElement("div",{className:s()(`${an}-list-item-progress`,Pt)},on)})),Sr=gt.response&&typeof gt.response=="string"?gt.response:((Bn=gt.error)===null||Bn===void 0?void 0:Bn.statusText)||((Cr=gt.error)===null||Cr===void 0?void 0:Cr.message)||sn.uploadError,Xr=$n==="error"?a.createElement(we.Z,{title:Sr,getPopupContainer:wr=>wr.parentNode},Zn):Zn;return a.createElement("div",{className:s()(`${an}-list-item-container`,vn),style:An,ref:en},gn?gn(Xr,gt,ln,{download:rn.bind(null,gt),preview:cn.bind(null,gt),remove:Dn.bind(null,gt)}):Xr)});const et=(zt,en)=>{const{listType:an="text",previewFile:vn=re,onPreview:An,onDownload:sn,onRemove:mt,locale:gt,iconRender:ln,isImageUrl:Qt=Me,prefixCls:tn,items:yn=[],showPreviewIcon:gn=!0,showRemoveIcon:_n=!0,showDownloadIcon:nr=!1,removeIcon:ut,previewIcon:ct,downloadIcon:It,progress:Ct={size:[-1,2],showInfo:!1},appendAction:Ut,appendActionVisible:cn=!0,itemRender:rn,disabled:Dn}=zt,Bn=(0,ne.Z)(),[Cr,rr]=a.useState(!1);a.useEffect(()=>{an!=="picture"&&an!=="picture-card"&&an!=="picture-circle"||(yn||[]).forEach(pr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(pr.originFileObj instanceof File||pr.originFileObj instanceof Blob)||pr.thumbUrl!==void 0||(pr.thumbUrl="",vn&&vn(pr.originFileObj).then(Ur=>{pr.thumbUrl=Ur||"",Bn()}))})},[an,yn,vn]),a.useEffect(()=>{rr(!0)},[]);const $n=(pr,Ur)=>{if(An)return Ur==null||Ur.preventDefault(),An(pr)},kr=pr=>{typeof sn=="function"?sn(pr):pr.url&&window.open(pr.url)},Mr=pr=>{mt==null||mt(pr)},ia=pr=>{if(ln)return ln(pr,an);const Ur=pr.status==="uploading",Ma=Qt&&Qt(pr)?a.createElement(Ke,null):a.createElement(Je,null);let ma=Ur?a.createElement(Qe.Z,null):a.createElement(Wt,null);return an==="picture"?ma=Ur?a.createElement(Qe.Z,null):Ma:(an==="picture-card"||an==="picture-circle")&&(ma=Ur?gt.uploading:Ma),ma},zr=(pr,Ur,Ma,ma)=>{const Yn={type:"text",size:"small",title:ma,onClick:Zn=>{Ur(),(0,R.l$)(pr)&&pr.props.onClick&&pr.props.onClick(Zn)},className:`${Ma}-list-item-action`,disabled:Dn};if((0,R.l$)(pr)){const Zn=(0,R.Tm)(pr,Object.assign(Object.assign({},pr.props),{onClick:()=>{}}));return a.createElement(P.ZP,Object.assign({},Yn,{icon:Zn}))}return a.createElement(P.ZP,Object.assign({},Yn),a.createElement("span",null,pr))};a.useImperativeHandle(en,()=>({handlePreview:$n,handleDownload:kr}));const{getPrefixCls:Wn}=a.useContext(A.E_),wn=Wn("upload",tn),Rn=Wn(),sr=s()(`${wn}-list`,`${wn}-list-${an}`),Er=(0,t.Z)(yn.map(pr=>({key:pr.uid,file:pr})));let ta={motionDeadline:2e3,motionName:`${wn}-${an==="picture-card"||an==="picture-circle"?"animate-inline":"animate"}`,keys:Er,motionAppear:Cr};const ga=a.useMemo(()=>{const pr=Object.assign({},(0,H.Z)(Rn));return delete pr.onAppearEnd,delete pr.onEnterEnd,delete pr.onLeaveEnd,pr},[Rn]);return an!=="picture-card"&&an!=="picture-circle"&&(ta=Object.assign(Object.assign({},ga),ta)),a.createElement("div",{className:sr},a.createElement(ye.V4,Object.assign({},ta,{component:!1}),pr=>{let{key:Ur,file:Ma,className:ma,style:Yn}=pr;return a.createElement(st,{key:Ur,locale:gt,prefixCls:wn,className:ma,style:Yn,file:Ma,items:yn,progress:Ct,listType:an,isImgUrl:Qt,showPreviewIcon:gn,showRemoveIcon:_n,showDownloadIcon:nr,removeIcon:ut,previewIcon:ct,downloadIcon:It,iconRender:ia,actionIconRender:zr,itemRender:rn,onPreview:$n,onDownload:kr,onClose:Mr})}),Ut&&a.createElement(ye.ZP,Object.assign({},ta,{visible:cn,forceRender:!0}),pr=>{let{className:Ur,style:Ma}=pr;return(0,R.Tm)(Ut,ma=>({className:s()(ma.className,Ur),style:Object.assign(Object.assign(Object.assign({},Ma),{pointerEvents:Ur?"none":void 0}),ma.style)}))}))};var ke=a.forwardRef(et),Be=e(78330),it=e(41086),Ve=e(52628),xt=e(22151),Ot=zt=>{const{componentCls:en,iconCls:an}=zt;return{[`${en}-wrapper`]:{[`${en}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:zt.colorFillAlter,border:`${zt.lineWidth}px dashed ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,cursor:"pointer",transition:`border-color ${zt.motionDurationSlow}`,[en]:{padding:`${zt.padding}px 0`},[`${en}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${en}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${en}-disabled):hover`]:{borderColor:zt.colorPrimaryHover},[`p${en}-drag-icon`]:{marginBottom:zt.margin,[an]:{color:zt.colorPrimary,fontSize:zt.uploadThumbnailSize}},[`p${en}-text`]:{margin:`0 0 ${zt.marginXXS}px`,color:zt.colorTextHeading,fontSize:zt.fontSizeLG},[`p${en}-hint`]:{color:zt.colorTextDescription,fontSize:zt.fontSize},[`&${en}-disabled`]:{cursor:"not-allowed",[`p${en}-drag-icon ${an}, p${en}-text, p${en}-hint - `]:{color:Ft.colorTextDisabled}}}}}},Yt=Ft=>{const{componentCls:en,antCls:rn,iconCls:fn,fontSize:In,lineHeight:on}=Ft,mt=`${en}-list-item`,gt=`${mt}-actions`,sn=`${mt}-action`,Qt=Math.round(In*on);return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,Be.dF)()),{lineHeight:Ft.lineHeight,[mt]:{position:"relative",height:Ft.lineHeight*In,marginTop:Ft.marginXS,fontSize:In,display:"flex",alignItems:"center",transition:`background-color ${Ft.motionDurationSlow}`,"&:hover":{backgroundColor:Ft.controlItemBgHover},[`${mt}-name`]:Object.assign(Object.assign({},Be.vS),{padding:`0 ${Ft.paddingXS}px`,lineHeight:on,flex:"auto",transition:`all ${Ft.motionDurationSlow}`}),[gt]:{[sn]:{opacity:0},[`${sn}${rn}-btn-sm`]:{height:Qt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${sn}:focus, - &.picture ${sn} - `]:{opacity:1},[fn]:{color:Ft.actionsColor,transition:`all ${Ft.motionDurationSlow}`},[`&:hover ${fn}`]:{color:Ft.colorText}},[`${en}-icon ${fn}`]:{color:Ft.colorTextDescription,fontSize:In},[`${mt}-progress`]:{position:"absolute",bottom:-Ft.uploadProgressOffset,width:"100%",paddingInlineStart:In+Ft.paddingXS,fontSize:In,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${mt}:hover ${sn}`]:{opacity:1,color:Ft.colorText},[`${mt}-error`]:{color:Ft.colorError,[`${mt}-name, ${en}-icon ${fn}`]:{color:Ft.colorError},[gt]:{[`${fn}, ${fn}:hover`]:{color:Ft.colorError},[sn]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${Ft.motionDurationSlow}, height ${Ft.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yt=e(57793),ze=e(7239);const nt=new yt.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Et=new yt.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Gt=Ft=>{const{componentCls:en}=Ft,rn=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${rn}-appear, ${rn}-enter, ${rn}-leave`]:{animationDuration:Ft.motionDurationSlow,animationTimingFunction:Ft.motionEaseInOutCirc,animationFillMode:"forwards"},[`${rn}-appear, ${rn}-enter`]:{animationName:nt},[`${rn}-leave`]:{animationName:Et}}},{[`${en}-wrapper`]:(0,ze.J$)(Ft)},nt,Et]},Rt=e(26134),Ot=e(66671);const Ie=Ft=>{const{componentCls:en,iconCls:rn,uploadThumbnailSize:fn,uploadProgressOffset:In}=Ft,on=`${en}-list`,mt=`${on}-item`;return{[`${en}-wrapper`]:{[` - ${on}${on}-picture, - ${on}${on}-picture-card, - ${on}${on}-picture-circle - `]:{[mt]:{position:"relative",height:fn+Ft.lineWidth*2+Ft.paddingXS*2,padding:Ft.paddingXS,border:`${Ft.lineWidth}px ${Ft.lineType} ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,"&:hover":{background:"transparent"},[`${mt}-thumbnail`]:Object.assign(Object.assign({},Be.vS),{width:fn,height:fn,lineHeight:`${fn+Ft.paddingSM}px`,textAlign:"center",flex:"none",[rn]:{fontSize:Ft.fontSizeHeading2,color:Ft.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${mt}-progress`]:{bottom:In,width:`calc(100% - ${Ft.paddingSM*2}px)`,marginTop:0,paddingInlineStart:fn+Ft.paddingXS}},[`${mt}-error`]:{borderColor:Ft.colorError,[`${mt}-thumbnail ${rn}`]:{[`svg path[fill='${Rt.blue[0]}']`]:{fill:Ft.colorErrorBg},[`svg path[fill='${Rt.blue.primary}']`]:{fill:Ft.colorError}}},[`${mt}-uploading`]:{borderStyle:"dashed",[`${mt}-name`]:{marginBottom:In}}},[`${on}${on}-picture-circle ${mt}`]:{[`&, &::before, ${mt}-thumbnail`]:{borderRadius:"50%"}}}}},Se=Ft=>{const{componentCls:en,iconCls:rn,fontSizeLG:fn,colorTextLightSolid:In}=Ft,on=`${en}-list`,mt=`${on}-item`,gt=Ft.uploadPicCardSize;return{[` + `]:{color:zt.colorTextDisabled}}}}}},_t=zt=>{const{componentCls:en,antCls:an,iconCls:vn,fontSize:An,lineHeight:sn}=zt,mt=`${en}-list-item`,gt=`${mt}-actions`,ln=`${mt}-action`,Qt=Math.round(An*sn);return{[`${en}-wrapper`]:{[`${en}-list`]:Object.assign(Object.assign({},(0,Be.dF)()),{lineHeight:zt.lineHeight,[mt]:{position:"relative",height:zt.lineHeight*An,marginTop:zt.marginXS,fontSize:An,display:"flex",alignItems:"center",transition:`background-color ${zt.motionDurationSlow}`,"&:hover":{backgroundColor:zt.controlItemBgHover},[`${mt}-name`]:Object.assign(Object.assign({},Be.vS),{padding:`0 ${zt.paddingXS}px`,lineHeight:sn,flex:"auto",transition:`all ${zt.motionDurationSlow}`}),[gt]:{[ln]:{opacity:0},[`${ln}${an}-btn-sm`]:{height:Qt,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${ln}:focus, + &.picture ${ln} + `]:{opacity:1},[vn]:{color:zt.actionsColor,transition:`all ${zt.motionDurationSlow}`},[`&:hover ${vn}`]:{color:zt.colorText}},[`${en}-icon ${vn}`]:{color:zt.colorTextDescription,fontSize:An},[`${mt}-progress`]:{position:"absolute",bottom:-zt.uploadProgressOffset,width:"100%",paddingInlineStart:An+zt.paddingXS,fontSize:An,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${mt}:hover ${ln}`]:{opacity:1,color:zt.colorText},[`${mt}-error`]:{color:zt.colorError,[`${mt}-name, ${en}-icon ${vn}`]:{color:zt.colorError},[gt]:{[`${vn}, ${vn}:hover`]:{color:zt.colorError},[ln]:{opacity:1}}},[`${en}-list-item-container`]:{transition:`opacity ${zt.motionDurationSlow}, height ${zt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},yt=e(57793),ze=e(7239);const tt=new yt.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),St=new yt.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Gt=zt=>{const{componentCls:en}=zt,an=`${en}-animate-inline`;return[{[`${en}-wrapper`]:{[`${an}-appear, ${an}-enter, ${an}-leave`]:{animationDuration:zt.motionDurationSlow,animationTimingFunction:zt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${an}-appear, ${an}-enter`]:{animationName:tt},[`${an}-leave`]:{animationName:St}}},{[`${en}-wrapper`]:(0,ze.J$)(zt)},tt,St]},Nt=e(26134),At=e(66671);const Ie=zt=>{const{componentCls:en,iconCls:an,uploadThumbnailSize:vn,uploadProgressOffset:An}=zt,sn=`${en}-list`,mt=`${sn}-item`;return{[`${en}-wrapper`]:{[` + ${sn}${sn}-picture, + ${sn}${sn}-picture-card, + ${sn}${sn}-picture-circle + `]:{[mt]:{position:"relative",height:vn+zt.lineWidth*2+zt.paddingXS*2,padding:zt.paddingXS,border:`${zt.lineWidth}px ${zt.lineType} ${zt.colorBorder}`,borderRadius:zt.borderRadiusLG,"&:hover":{background:"transparent"},[`${mt}-thumbnail`]:Object.assign(Object.assign({},Be.vS),{width:vn,height:vn,lineHeight:`${vn+zt.paddingSM}px`,textAlign:"center",flex:"none",[an]:{fontSize:zt.fontSizeHeading2,color:zt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${mt}-progress`]:{bottom:An,width:`calc(100% - ${zt.paddingSM*2}px)`,marginTop:0,paddingInlineStart:vn+zt.paddingXS}},[`${mt}-error`]:{borderColor:zt.colorError,[`${mt}-thumbnail ${an}`]:{[`svg path[fill='${Nt.blue[0]}']`]:{fill:zt.colorErrorBg},[`svg path[fill='${Nt.blue.primary}']`]:{fill:zt.colorError}}},[`${mt}-uploading`]:{borderStyle:"dashed",[`${mt}-name`]:{marginBottom:An}}},[`${sn}${sn}-picture-circle ${mt}`]:{[`&, &::before, ${mt}-thumbnail`]:{borderRadius:"50%"}}}}},Se=zt=>{const{componentCls:en,iconCls:an,fontSizeLG:vn,colorTextLightSolid:An}=zt,sn=`${en}-list`,mt=`${sn}-item`,gt=zt.uploadPicCardSize;return{[` ${en}-wrapper${en}-picture-card-wrapper, ${en}-wrapper${en}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Be.dF)()),{display:"inline-block",width:"100%",[`${en}${en}-select`]:{width:gt,height:gt,marginInlineEnd:Ft.marginXS,marginBottom:Ft.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ft.colorFillAlter,border:`${Ft.lineWidth}px dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[`> ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:Ft.colorPrimary}},[`${on}${on}-picture-card, ${on}${on}-picture-circle`]:{[`${on}-item-container`]:{display:"inline-block",width:gt,height:gt,marginBlock:`0 ${Ft.marginXS}px`,marginInline:`0 ${Ft.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[mt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ft.paddingXS*2}px)`,height:`calc(100% - ${Ft.paddingXS*2}px)`,backgroundColor:Ft.colorBgMask,opacity:0,transition:`all ${Ft.motionDurationSlow}`,content:'" "'}},[`${mt}:hover`]:{[`&::before, ${mt}-actions`]:{opacity:1}},[`${mt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ft.motionDurationSlow}`,[`${rn}-eye, ${rn}-download, ${rn}-delete`]:{zIndex:10,width:fn,margin:`0 ${Ft.marginXXS}px`,fontSize:fn,cursor:"pointer",transition:`all ${Ft.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${mt}-actions, ${mt}-actions:hover`]:{[`${rn}-eye, ${rn}-download, ${rn}-delete`]:{color:new Ot.C(In).setAlpha(.65).toRgbString(),"&:hover":{color:In}}},[`${mt}-thumbnail, ${mt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${mt}-name`]:{display:"none",textAlign:"center"},[`${mt}-file + ${mt}-name`]:{position:"absolute",bottom:Ft.margin,display:"block",width:`calc(100% - ${Ft.paddingXS*2}px)`},[`${mt}-uploading`]:{[`&${mt}`]:{backgroundColor:Ft.colorFillAlter},[`&::before, ${rn}-eye, ${rn}-download, ${rn}-delete`]:{display:"none"}},[`${mt}-progress`]:{bottom:Ft.marginXL,width:`calc(100% - ${Ft.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var Pt=Ft=>{const{componentCls:en}=Ft;return{[`${en}-rtl`]:{direction:"rtl"}}};const He=Ft=>{const{componentCls:en,colorTextDisabled:rn}=Ft;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,Be.Wf)(Ft)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-disabled`]:{color:rn,cursor:"not-allowed"}})}};var qe=(0,Ve.Z)("Upload",Ft=>{const{fontSizeHeading3:en,fontSize:rn,lineHeight:fn,lineWidth:In,controlHeightLG:on}=Ft,mt=Math.round(rn*fn),gt=(0,It.TS)(Ft,{uploadThumbnailSize:en*2,uploadProgressOffset:mt/2+In,uploadPicCardSize:on*2.55});return[He(gt),wt(gt),Ie(gt),Se(gt),Yt(gt),Gt(gt),Pt(gt),(0,it.Z)(gt)]},Ft=>({actionsColor:Ft.colorTextDescription})),Zt=function(Ft,en,rn,fn){function In(on){return on instanceof rn?on:new rn(function(mt){mt(on)})}return new(rn||(rn=Promise))(function(on,mt){function gt(tn){try{Qt(fn.next(tn))}catch(yn){mt(yn)}}function sn(tn){try{Qt(fn.throw(tn))}catch(yn){mt(yn)}}function Qt(tn){tn.done?on(tn.value):In(tn.value).then(gt,sn)}Qt((fn=fn.apply(Ft,en||[])).next())})};const Ut=`__LIST_IGNORE_${Date.now()}__`,qt=(Ft,en)=>{const{fileList:rn,defaultFileList:fn,onRemove:In,showUploadList:on=!0,listType:mt="text",onPreview:gt,onDownload:sn,onChange:Qt,onDrop:tn,previewFile:yn,disabled:vn,locale:Wn,iconRender:tr,isImageUrl:ut,progress:ct,prefixCls:At,className:xt,type:kt="select",children:un,style:nn,itemRender:An,maxCount:zn,data:Er={},multiple:nr=!1,action:Fn="",accept:kr="",supportServerRender:hr=!0}=Ft,la=a.useContext(G.Z),zr=vn!=null?vn:la,[Zn,On]=(0,_.Z)(fn||[],{value:rn,postState:Mn=>Mn!=null?Mn:[]}),[Tn,ar]=a.useState("drop"),br=a.useRef(null);a.useMemo(()=>{const Mn=Date.now();(rn||[]).forEach((qn,rr)=>{!qn.uid&&!Object.isFrozen(qn)&&(qn.uid=`__AUTO__${Mn}_${rr}__`)})},[rn]);const Kr=(Mn,qn,rr)=>{let Hr=(0,t.Z)(qn),Da=!1;zn===1?Hr=Hr.slice(-1):zn&&(Da=Hr.length>zn,Hr=Hr.slice(0,zn)),(0,U.flushSync)(()=>{On(Hr)});const ia={file:Mn,fileList:Hr};rr&&(ia.event=rr),(!Da||Hr.some(Jr=>Jr.uid===Mn.uid))&&(0,U.flushSync)(()=>{Qt==null||Qt(ia)})},ra=(Mn,qn)=>Zt(void 0,void 0,void 0,function*(){const{beforeUpload:rr,transformFile:Hr}=Ft;let Da=Mn;if(rr){const ia=yield rr(Mn,qn);if(ia===!1)return!1;if(delete Mn[Ut],ia===Ut)return Object.defineProperty(Mn,Ut,{value:!0,configurable:!0}),!1;typeof ia=="object"&&ia&&(Da=ia)}return Hr&&(Da=yield Hr(Da)),Da}),pa=Mn=>{const qn=Mn.filter(Da=>!Da.file[Ut]);if(!qn.length)return;const rr=qn.map(Da=>ae(Da.file));let Hr=(0,t.Z)(Zn);rr.forEach(Da=>{Hr=Q(Da,Hr)}),rr.forEach((Da,ia)=>{let Jr=Da;if(qn[ia].parsedFile)Da.status="uploading";else{const{originFileObj:aa}=Da;let Pr;try{Pr=new File([aa],aa.name,{type:aa.type})}catch(Zr){Pr=new Blob([aa],{type:aa.type}),Pr.name=aa.name,Pr.lastModifiedDate=new Date,Pr.lastModified=new Date().getTime()}Pr.uid=Da.uid,Jr=Pr}Kr(Jr,Hr)})},fr=(Mn,qn,rr)=>{try{typeof Mn=="string"&&(Mn=JSON.parse(Mn))}catch(ia){}if(!ie(qn,Zn))return;const Hr=ae(qn);Hr.status="done",Hr.percent=100,Hr.response=Mn,Hr.xhr=rr;const Da=Q(Hr,Zn);Kr(Hr,Da)},Ur=(Mn,qn)=>{if(!ie(qn,Zn))return;const rr=ae(qn);rr.status="uploading",rr.percent=Mn.percent;const Hr=Q(rr,Zn);Kr(rr,Hr,Mn)},Ea=(Mn,qn,rr)=>{if(!ie(rr,Zn))return;const Hr=ae(rr);Hr.error=Mn,Hr.response=qn,Hr.status="error";const Da=Q(Hr,Zn);Kr(Hr,Da)},ha=Mn=>{let qn;Promise.resolve(typeof In=="function"?In(Mn):In).then(rr=>{var Hr;if(rr===!1)return;const Da=me(Mn,Zn);Da&&(qn=Object.assign(Object.assign({},Mn),{status:"removed"}),Zn==null||Zn.forEach(ia=>{const Jr=qn.uid!==void 0?"uid":"name";ia[Jr]===qn[Jr]&&!Object.isFrozen(ia)&&(ia.status="removed")}),(Hr=br.current)===null||Hr===void 0||Hr.abort(qn),Kr(qn,Da))})},Hn=Mn=>{ar(Mn.type),Mn.type==="drop"&&(tn==null||tn(Mn))};a.useImperativeHandle(en,()=>({onBatchStart:pa,onSuccess:fr,onProgress:Ur,onError:Ea,fileList:Zn,upload:br.current}));const{getPrefixCls:Bn,direction:yr,upload:Xr}=a.useContext(A.E_),Dr=Bn("upload",At),Tt=Object.assign(Object.assign({onBatchStart:pa,onError:Ea,onProgress:Ur,onSuccess:fr},Ft),{data:Er,multiple:nr,action:Fn,accept:kr,supportServerRender:hr,prefixCls:Dr,disabled:zr,beforeUpload:ra,onChange:void 0});delete Tt.className,delete Tt.style,(!un||zr)&&delete Tt.id;const[an,bn]=qe(Dr),[Xa]=(0,de.Z)("Upload",he.Z.Upload),{showRemoveIcon:ho,showPreviewIcon:$a,showDownloadIcon:Ua,removeIcon:Ka,previewIcon:wo,downloadIcon:No}=typeof on=="boolean"?{}:on,yo=(Mn,qn)=>on?a.createElement(ke,{prefixCls:Dr,listType:mt,items:Zn,previewFile:yn,onPreview:gt,onDownload:sn,onRemove:ha,showRemoveIcon:!zr&&ho,showPreviewIcon:$a,showDownloadIcon:Ua,removeIcon:Ka,previewIcon:wo,downloadIcon:No,iconRender:tr,locale:Object.assign(Object.assign({},Xa),Wn),isImageUrl:ut,progress:ct,appendAction:Mn,appendActionVisible:qn,itemRender:An,disabled:zr}):Mn,dt=s()(`${Dr}-wrapper`,xt,bn,Xr==null?void 0:Xr.className,{[`${Dr}-rtl`]:yr==="rtl",[`${Dr}-picture-card-wrapper`]:mt==="picture-card",[`${Dr}-picture-circle-wrapper`]:mt==="picture-circle"}),zt=Object.assign(Object.assign({},Xr==null?void 0:Xr.style),nn);if(kt==="drag"){const Mn=s()(bn,Dr,`${Dr}-drag`,{[`${Dr}-drag-uploading`]:Zn.some(qn=>qn.status==="uploading"),[`${Dr}-drag-hover`]:Tn==="dragover",[`${Dr}-disabled`]:zr,[`${Dr}-rtl`]:yr==="rtl"});return an(a.createElement("span",{className:dt},a.createElement("div",{className:Mn,style:zt,onDrop:Hn,onDragOver:Hn,onDragLeave:Hn},a.createElement(O,Object.assign({},Tt,{ref:br,className:`${Dr}-btn`}),a.createElement("div",{className:`${Dr}-drag-container`},un))),yo()))}const Ae=s()(Dr,`${Dr}-select`,{[`${Dr}-disabled`]:zr}),Dn=(Mn=>a.createElement("div",{className:Ae,style:Mn},a.createElement(O,Object.assign({},Tt,{ref:br}))))(un?void 0:{display:"none"});return an(mt==="picture-card"||mt==="picture-circle"?a.createElement("span",{className:dt},yo(Dn,!!un)):a.createElement("span",{className:dt},Dn,yo()))};var En=a.forwardRef(qt),mn=function(Ft,en){var rn={};for(var fn in Ft)Object.prototype.hasOwnProperty.call(Ft,fn)&&en.indexOf(fn)<0&&(rn[fn]=Ft[fn]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,fn=Object.getOwnPropertySymbols(Ft);In{var{style:rn,height:fn}=Ft,In=mn(Ft,["style","height"]);return a.createElement(En,Object.assign({ref:en},In,{type:"drag",style:Object.assign(Object.assign({},rn),{height:fn})}))});const ir=En;ir.Dragger=Gn,ir.LIST_IGNORE=Ut;var mr=ir},93430:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a="5.8.5",t=a},78635:function(b,y,e){"use strict";e.d(y,{Z:function(){return H}});var a=e(73656);function t(){return t=Object.assign?Object.assign.bind():function(R){for(var P=1;P1?P-1:0),Q=1;Q=me)return Ee;switch(Ee){case"%s":return String(ae[ie++]);case"%d":return Number(ae[ie++]);case"%j":try{return JSON.stringify(ae[ie++])}catch(Me){return"[Circular]"}break;default:return Ee}});return je}return R}function w(R){return R==="string"||R==="url"||R==="hex"||R==="email"||R==="date"||R==="pattern"}function C(R,P){return!!(R==null||P==="array"&&Array.isArray(R)&&!R.length||w(P)&&typeof R=="string"&&!R)}function z(R,P,ae){var Q=[],ie=0,me=R.length;function je(Ee){Q.push.apply(Q,Ee||[]),ie++,ie===me&&ae(Q)}R.forEach(function(Ee){P(Ee,je)})}function $(R,P,ae){var Q=0,ie=R.length;function me(je){if(je&&je.length){ae(je);return}var Ee=Q;Q=Q+1,Ee ${en}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${en}-disabled):hover`]:{borderColor:zt.colorPrimary}},[`${sn}${sn}-picture-card, ${sn}${sn}-picture-circle`]:{[`${sn}-item-container`]:{display:"inline-block",width:gt,height:gt,marginBlock:`0 ${zt.marginXS}px`,marginInline:`0 ${zt.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[mt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${zt.paddingXS*2}px)`,height:`calc(100% - ${zt.paddingXS*2}px)`,backgroundColor:zt.colorBgMask,opacity:0,transition:`all ${zt.motionDurationSlow}`,content:'" "'}},[`${mt}:hover`]:{[`&::before, ${mt}-actions`]:{opacity:1}},[`${mt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${zt.motionDurationSlow}`,[`${an}-eye, ${an}-download, ${an}-delete`]:{zIndex:10,width:vn,margin:`0 ${zt.marginXXS}px`,fontSize:vn,cursor:"pointer",transition:`all ${zt.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${mt}-actions, ${mt}-actions:hover`]:{[`${an}-eye, ${an}-download, ${an}-delete`]:{color:new At.C(An).setAlpha(.65).toRgbString(),"&:hover":{color:An}}},[`${mt}-thumbnail, ${mt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${mt}-name`]:{display:"none",textAlign:"center"},[`${mt}-file + ${mt}-name`]:{position:"absolute",bottom:zt.margin,display:"block",width:`calc(100% - ${zt.paddingXS*2}px)`},[`${mt}-uploading`]:{[`&${mt}`]:{backgroundColor:zt.colorFillAlter},[`&::before, ${an}-eye, ${an}-download, ${an}-delete`]:{display:"none"}},[`${mt}-progress`]:{bottom:zt.marginXL,width:`calc(100% - ${zt.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${en}-wrapper${en}-picture-circle-wrapper`]:{[`${en}${en}-select`]:{borderRadius:"50%"}}}};var jt=zt=>{const{componentCls:en}=zt;return{[`${en}-rtl`]:{direction:"rtl"}}};const He=zt=>{const{componentCls:en,colorTextDisabled:an}=zt;return{[`${en}-wrapper`]:Object.assign(Object.assign({},(0,Be.Wf)(zt)),{[en]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${en}-select`]:{display:"inline-block"},[`${en}-disabled`]:{color:an,cursor:"not-allowed"}})}};var qe=(0,Ve.Z)("Upload",zt=>{const{fontSizeHeading3:en,fontSize:an,lineHeight:vn,lineWidth:An,controlHeightLG:sn}=zt,mt=Math.round(an*vn),gt=(0,xt.TS)(zt,{uploadThumbnailSize:en*2,uploadProgressOffset:mt/2+An,uploadPicCardSize:sn*2.55});return[He(gt),Ot(gt),Ie(gt),Se(gt),_t(gt),Gt(gt),jt(gt),(0,it.Z)(gt)]},zt=>({actionsColor:zt.colorTextDescription})),$t=function(zt,en,an,vn){function An(sn){return sn instanceof an?sn:new an(function(mt){mt(sn)})}return new(an||(an=Promise))(function(sn,mt){function gt(tn){try{Qt(vn.next(tn))}catch(yn){mt(yn)}}function ln(tn){try{Qt(vn.throw(tn))}catch(yn){mt(yn)}}function Qt(tn){tn.done?sn(tn.value):An(tn.value).then(gt,ln)}Qt((vn=vn.apply(zt,en||[])).next())})};const Zt=`__LIST_IGNORE_${Date.now()}__`,qt=(zt,en)=>{const{fileList:an,defaultFileList:vn,onRemove:An,showUploadList:sn=!0,listType:mt="text",onPreview:gt,onDownload:ln,onChange:Qt,onDrop:tn,previewFile:yn,disabled:gn,locale:_n,iconRender:nr,isImageUrl:ut,progress:ct,prefixCls:It,className:Ct,type:Ut="select",children:cn,style:rn,itemRender:Dn,maxCount:Bn,data:Cr={},multiple:rr=!1,action:$n="",accept:kr="",supportServerRender:Mr=!0}=zt,ia=a.useContext(G.Z),zr=gn!=null?gn:ia,[Wn,wn]=(0,_.Z)(vn||[],{value:an,postState:Sn=>Sn!=null?Sn:[]}),[Rn,sr]=a.useState("drop"),Er=a.useRef(null);a.useMemo(()=>{const Sn=Date.now();(an||[]).forEach((er,ir)=>{!er.uid&&!Object.isFrozen(er)&&(er.uid=`__AUTO__${Sn}_${ir}__`)})},[an]);const Kr=(Sn,er,ir)=>{let Hr=(0,t.Z)(er),Oa=!1;Bn===1?Hr=Hr.slice(-1):Bn&&(Oa=Hr.length>Bn,Hr=Hr.slice(0,Bn)),(0,U.flushSync)(()=>{wn(Hr)});const oa={file:Sn,fileList:Hr};ir&&(oa.event=ir),(!Oa||Hr.some(Jr=>Jr.uid===Sn.uid))&&(0,U.flushSync)(()=>{Qt==null||Qt(oa)})},ta=(Sn,er)=>$t(void 0,void 0,void 0,function*(){const{beforeUpload:ir,transformFile:Hr}=zt;let Oa=Sn;if(ir){const oa=yield ir(Sn,er);if(oa===!1)return!1;if(delete Sn[Zt],oa===Zt)return Object.defineProperty(Sn,Zt,{value:!0,configurable:!0}),!1;typeof oa=="object"&&oa&&(Oa=oa)}return Hr&&(Oa=yield Hr(Oa)),Oa}),ga=Sn=>{const er=Sn.filter(Oa=>!Oa.file[Zt]);if(!er.length)return;const ir=er.map(Oa=>ae(Oa.file));let Hr=(0,t.Z)(Wn);ir.forEach(Oa=>{Hr=Q(Oa,Hr)}),ir.forEach((Oa,oa)=>{let Jr=Oa;if(er[oa].parsedFile)Oa.status="uploading";else{const{originFileObj:na}=Oa;let Lr;try{Lr=new File([na],na.name,{type:na.type})}catch(Zr){Lr=new Blob([na],{type:na.type}),Lr.name=na.name,Lr.lastModifiedDate=new Date,Lr.lastModified=new Date().getTime()}Lr.uid=Oa.uid,Jr=Lr}Kr(Jr,Hr)})},pr=(Sn,er,ir)=>{try{typeof Sn=="string"&&(Sn=JSON.parse(Sn))}catch(oa){}if(!ie(er,Wn))return;const Hr=ae(er);Hr.status="done",Hr.percent=100,Hr.response=Sn,Hr.xhr=ir;const Oa=Q(Hr,Wn);Kr(Hr,Oa)},Ur=(Sn,er)=>{if(!ie(er,Wn))return;const ir=ae(er);ir.status="uploading",ir.percent=Sn.percent;const Hr=Q(ir,Wn);Kr(ir,Hr,Sn)},Ma=(Sn,er,ir)=>{if(!ie(ir,Wn))return;const Hr=ae(ir);Hr.error=Sn,Hr.response=er,Hr.status="error";const Oa=Q(Hr,Wn);Kr(Hr,Oa)},ma=Sn=>{let er;Promise.resolve(typeof An=="function"?An(Sn):An).then(ir=>{var Hr;if(ir===!1)return;const Oa=me(Sn,Wn);Oa&&(er=Object.assign(Object.assign({},Sn),{status:"removed"}),Wn==null||Wn.forEach(oa=>{const Jr=er.uid!==void 0?"uid":"name";oa[Jr]===er[Jr]&&!Object.isFrozen(oa)&&(oa.status="removed")}),(Hr=Er.current)===null||Hr===void 0||Hr.abort(er),Kr(er,Oa))})},Yn=Sn=>{sr(Sn.type),Sn.type==="drop"&&(tn==null||tn(Sn))};a.useImperativeHandle(en,()=>({onBatchStart:ga,onSuccess:pr,onProgress:Ur,onError:Ma,fileList:Wn,upload:Er.current}));const{getPrefixCls:Zn,direction:Sr,upload:Xr}=a.useContext(A.E_),wr=Zn("upload",It),Pt=Object.assign(Object.assign({onBatchStart:ga,onError:Ma,onProgress:Ur,onSuccess:pr},zt),{data:Cr,multiple:rr,action:$n,accept:kr,supportServerRender:Mr,prefixCls:wr,disabled:zr,beforeUpload:ta,onChange:void 0});delete Pt.className,delete Pt.style,(!cn||zr)&&delete Pt.id;const[on,Mn]=qe(wr),[Ja]=(0,fe.Z)("Upload",pe.Z.Upload),{showRemoveIcon:mo,showPreviewIcon:Ua,showDownloadIcon:ka,removeIcon:Qa,previewIcon:wo,downloadIcon:No}=typeof sn=="boolean"?{}:sn,ho=(Sn,er)=>sn?a.createElement(ke,{prefixCls:wr,listType:mt,items:Wn,previewFile:yn,onPreview:gt,onDownload:ln,onRemove:ma,showRemoveIcon:!zr&&mo,showPreviewIcon:Ua,showDownloadIcon:ka,removeIcon:Qa,previewIcon:wo,downloadIcon:No,iconRender:nr,locale:Object.assign(Object.assign({},Ja),_n),isImageUrl:ut,progress:ct,appendAction:Sn,appendActionVisible:er,itemRender:Dn,disabled:zr}):Sn,dt=s()(`${wr}-wrapper`,Ct,Mn,Xr==null?void 0:Xr.className,{[`${wr}-rtl`]:Sr==="rtl",[`${wr}-picture-card-wrapper`]:mt==="picture-card",[`${wr}-picture-circle-wrapper`]:mt==="picture-circle"}),Rt=Object.assign(Object.assign({},Xr==null?void 0:Xr.style),rn);if(Ut==="drag"){const Sn=s()(Mn,wr,`${wr}-drag`,{[`${wr}-drag-uploading`]:Wn.some(er=>er.status==="uploading"),[`${wr}-drag-hover`]:Rn==="dragover",[`${wr}-disabled`]:zr,[`${wr}-rtl`]:Sr==="rtl"});return on(a.createElement("span",{className:dt},a.createElement("div",{className:Sn,style:Rt,onDrop:Yn,onDragOver:Yn,onDragLeave:Yn},a.createElement(O,Object.assign({},Pt,{ref:Er,className:`${wr}-btn`}),a.createElement("div",{className:`${wr}-drag-container`},cn))),ho()))}const Ae=s()(wr,`${wr}-select`,{[`${wr}-disabled`]:zr}),Pn=(Sn=>a.createElement("div",{className:Ae,style:Sn},a.createElement(O,Object.assign({},Pt,{ref:Er}))))(cn?void 0:{display:"none"});return on(mt==="picture-card"||mt==="picture-circle"?a.createElement("span",{className:dt},ho(Pn,!!cn)):a.createElement("span",{className:dt},Pn,ho()))};var xn=a.forwardRef(qt),pn=function(zt,en){var an={};for(var vn in zt)Object.prototype.hasOwnProperty.call(zt,vn)&&en.indexOf(vn)<0&&(an[vn]=zt[vn]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var An=0,vn=Object.getOwnPropertySymbols(zt);An{var{style:an,height:vn}=zt,An=pn(zt,["style","height"]);return a.createElement(xn,Object.assign({ref:en},An,{type:"drag",style:Object.assign(Object.assign({},an),{height:vn})}))});const ur=xn;ur.Dragger=Qn,ur.LIST_IGNORE=Zt;var br=ur},93430:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a="5.8.5",t=a},78635:function(b,y,e){"use strict";e.d(y,{Z:function(){return H}});var a=e(73656);function t(){return t=Object.assign?Object.assign.bind():function(R){for(var P=1;P1?P-1:0),Q=1;Q=me)return Ee;switch(Ee){case"%s":return String(ae[ie++]);case"%d":return Number(ae[ie++]);case"%j":try{return JSON.stringify(ae[ie++])}catch(Me){return"[Circular]"}break;default:return Ee}});return je}return R}function w(R){return R==="string"||R==="url"||R==="hex"||R==="email"||R==="date"||R==="pattern"}function C(R,P){return!!(R==null||P==="array"&&Array.isArray(R)&&!R.length||w(P)&&typeof R=="string"&&!R)}function F(R,P,ae){var Q=[],ie=0,me=R.length;function je(Ee){Q.push.apply(Q,Ee||[]),ie++,ie===me&&ae(Q)}R.forEach(function(Ee){P(Ee,je)})}function Z(R,P,ae){var Q=0,ie=R.length;function me(je){if(je&&je.length){ae(je);return}var Ee=Q;Q=Q+1,Ee()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},X={integer:function(P){return X.number(P)&&parseInt(P,10)===P},float:function(P){return X.number(P)&&!X.integer(P)},array:function(P){return Array.isArray(P)},regexp:function(P){if(P instanceof RegExp)return!0;try{return!!new RegExp(P)}catch(ae){return!1}},date:function(P){return typeof P.getTime=="function"&&typeof P.getMonth=="function"&&typeof P.getYear=="function"&&!isNaN(P.getTime())},number:function(P){return isNaN(P)?!1:typeof P=="number"},object:function(P){return typeof P=="object"&&!X.array(P)},method:function(P){return typeof P=="function"},email:function(P){return typeof P=="string"&&P.length<=320&&!!P.match(le.email)},url:function(P){return typeof P=="string"&&P.length<=2048&&!!P.match(q())},hex:function(P){return typeof P=="string"&&!!P.match(le.hex)}},W=function(P,ae,Q,ie,me){if(P.required&&ae===void 0){k(P,ae,Q,ie,me);return}var je=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ee=P.type;je.indexOf(Ee)>-1?X[Ee](ae)||ie.push(S(me.messages.types[Ee],P.fullField,P.type)):Ee&&typeof ae!==P.type&&ie.push(S(me.messages.types[Ee],P.fullField,P.type))},x=function(P,ae,Q,ie,me){var je=typeof P.len=="number",Ee=typeof P.min=="number",Me=typeof P.max=="number",We=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=ae,se=null,J=typeof ae=="number",ce=typeof ae=="string",xe=Array.isArray(ae);if(J?se="number":ce?se="string":xe&&(se="array"),!se)return!1;xe&&(re=ae.length),ce&&(re=ae.replace(We,"_").length),je?re!==P.len&&ie.push(S(me.messages[se].len,P.fullField,P.len)):Ee&&!Me&&reP.max?ie.push(S(me.messages[se].max,P.fullField,P.max)):Ee&&Me&&(reP.max)&&ie.push(S(me.messages[se].range,P.fullField,P.min,P.max))},O="enum",_=function(P,ae,Q,ie,me){P[O]=Array.isArray(P[O])?P[O]:[],P[O].indexOf(ae)===-1&&ie.push(S(me.messages[O],P.fullField,P[O].join(", ")))},U=function(P,ae,Q,ie,me){if(P.pattern){if(P.pattern instanceof RegExp)P.pattern.lastIndex=0,P.pattern.test(ae)||ie.push(S(me.messages.pattern.mismatch,P.fullField,ae,P.pattern));else if(typeof P.pattern=="string"){var je=new RegExp(P.pattern);je.test(ae)||ie.push(S(me.messages.pattern.mismatch,P.fullField,ae,P.pattern))}}},A={required:k,whitespace:te,type:W,range:x,enum:_,pattern:U},G=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae,"string")&&!P.required)return Q();A.required(P,ae,ie,je,me,"string"),C(ae,"string")||(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me),A.pattern(P,ae,ie,je,me),P.whitespace===!0&&A.whitespace(P,ae,ie,je,me))}Q(je)},de=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A.type(P,ae,ie,je,me)}Q(je)},he=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(ae===""&&(ae=void 0),C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},ge=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A.type(P,ae,ie,je,me)}Q(je)},be=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),C(ae)||A.type(P,ae,ie,je,me)}Q(je)},Te=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},Ge=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},Je=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(ae==null&&!P.required)return Q();A.required(P,ae,ie,je,me,"array"),ae!=null&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},Qe=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A.type(P,ae,ie,je,me)}Q(je)},pt="enum",Ct=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A[pt](P,ae,ie,je,me)}Q(je)},ft=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae,"string")&&!P.required)return Q();A.required(P,ae,ie,je,me),C(ae,"string")||A.pattern(P,ae,ie,je,me)}Q(je)},Ht=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae,"date")&&!P.required)return Q();if(A.required(P,ae,ie,je,me),!C(ae,"date")){var Me;ae instanceof Date?Me=ae:Me=new Date(ae),A.type(P,Me,ie,je,me),Me&&A.range(P,Me.getTime(),ie,je,me)}}Q(je)},Ze=function(P,ae,Q,ie,me){var je=[],Ee=Array.isArray(ae)?"array":typeof ae;A.required(P,ae,ie,je,me,Ee),Q(je)},Xe=function(P,ae,Q,ie,me){var je=P.type,Ee=[],Me=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Me){if(C(ae,je)&&!P.required)return Q();A.required(P,ae,ie,Ee,me,je),C(ae,je)||A.type(P,ae,ie,Ee,me)}Q(Ee)},rt=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me)}Q(je)},Ke={string:G,method:de,number:he,boolean:ge,regexp:be,integer:Te,float:Ge,array:Je,object:Qe,enum:Ct,pattern:ft,date:Ht,url:Xe,hex:Xe,email:Xe,required:Ze,any:rt};function ye(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var P=JSON.parse(JSON.stringify(this));return P.clone=this.clone,P}}}var ne=ye(),H=function(){function R(ae){this.rules=null,this._messages=ne,this.define(ae)}var P=R.prototype;return P.define=function(Q){var ie=this;if(!Q)throw new Error("Cannot configure a schema with no rules");if(typeof Q!="object"||Array.isArray(Q))throw new Error("Rules must be an object");this.rules={},Object.keys(Q).forEach(function(me){var je=Q[me];ie.rules[me]=Array.isArray(je)?je:[je]})},P.messages=function(Q){return Q&&(this._messages=K(ye(),Q)),this._messages},P.validate=function(Q,ie,me){var je=this;ie===void 0&&(ie={}),me===void 0&&(me=function(){});var Ee=Q,Me=ie,We=me;if(typeof Me=="function"&&(We=Me,Me={}),!this.rules||Object.keys(this.rules).length===0)return We&&We(null,Ee),Promise.resolve(Ee);function re(ue){var Ne=[],Oe={};function we(st){if(Array.isArray(st)){var tt;Ne=(tt=Ne).concat.apply(tt,st)}else Ne.push(st)}for(var Re=0;Re=200&&S<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};t.forEach(["delete","get","head"],function(S){M.headers[S]={}}),t.forEach(["post","put","patch"],function(S){M.headers[S]=t.merge(l)}),b.exports=M},30872:function(b){"use strict";b.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},93424:function(b){b.exports={version:"0.27.2"}},22154:function(b){"use strict";b.exports=function(e,a){return function(){for(var o=new Array(arguments.length),s=0;s=0)return;d==="set-cookie"?n[d]=(n[d]?n[d]:[]).concat([l]):n[d]=n[d]?n[d]+", "+l:l}}),n}},17437:function(b){"use strict";b.exports=function(e){var a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}},64476:function(b){"use strict";b.exports=function(e){return function(t){return e.apply(null,t)}}},90792:function(b,y,e){"use strict";var a=e(21468).lW,t=e(82774);function o(s,n){n=n||new FormData;var d=[];function l(m){return m===null?"":t.isDate(m)?m.toISOString():t.isArrayBuffer(m)||t.isTypedArray(m)?typeof Blob=="function"?new Blob([m]):a.from(m):m}function c(m,g){if(t.isPlainObject(m)||t.isArray(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+g);d.push(m),t.forEach(m,function(h,S){if(!t.isUndefined(h)){var w=g?g+"."+S:S,C;if(h&&!g&&typeof h=="object"){if(t.endsWith(S,"{}"))h=JSON.stringify(h);else if(t.endsWith(S,"[]")&&(C=t.toArray(h))){C.forEach(function(z){!t.isUndefined(z)&&n.append(w,l(z))});return}}c(h,w)}}),d.pop()}else n.append(g,l(m))}return c(s),n}b.exports=o},73215:function(b,y,e){"use strict";var a=e(93424).version,t=e(44936),o={};["object","boolean","number","function","string","symbol"].forEach(function(d,l){o[d]=function(m){return typeof m===d||"a"+(l<1?"n ":" ")+d}});var s={};o.transitional=function(l,c,m){function g(M,h){return"[Axios v"+a+"] Transitional option '"+M+"'"+h+(m?". "+m:"")}return function(M,h,S){if(l===!1)throw new t(g(h," has been removed"+(c?" in "+c:"")),t.ERR_DEPRECATED);return c&&!s[h]&&(s[h]=!0,console.warn(g(h," has been deprecated since v"+c+" and will be removed in the near future"))),l?l(M,h,S):!0}};function n(d,l,c){if(typeof d!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var m=Object.keys(d),g=m.length;g-- >0;){var M=m[g],h=l[M];if(h){var S=d[M],w=S===void 0||h(S,M,d);if(w!==!0)throw new t("option "+M+" must be "+w,t.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new t("Unknown option "+M,t.ERR_BAD_OPTION)}}b.exports={assertOptions:n,validators:o}},82774:function(b,y,e){"use strict";var a=e(22154),t=Object.prototype.toString,o=function(O){return function(_){var U=t.call(_);return O[U]||(O[U]=U.slice(8,-1).toLowerCase())}}(Object.create(null));function s(O){return O=O.toLowerCase(),function(U){return o(U)===O}}function n(O){return Array.isArray(O)}function d(O){return typeof O=="undefined"}function l(O){return O!==null&&!d(O)&&O.constructor!==null&&!d(O.constructor)&&typeof O.constructor.isBuffer=="function"&&O.constructor.isBuffer(O)}var c=s("ArrayBuffer");function m(O){var _;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?_=ArrayBuffer.isView(O):_=O&&O.buffer&&c(O.buffer),_}function g(O){return typeof O=="string"}function M(O){return typeof O=="number"}function h(O){return O!==null&&typeof O=="object"}function S(O){if(o(O)!=="object")return!1;var _=Object.getPrototypeOf(O);return _===null||_===Object.prototype}var w=s("Date"),C=s("File"),z=s("Blob"),$=s("FileList");function N(O){return t.call(O)==="[object Function]"}function L(O){return h(O)&&N(O.pipe)}function B(O){var _="[object FormData]";return O&&(typeof FormData=="function"&&O instanceof FormData||t.call(O)===_||N(O.toString)&&O.toString()===_)}var D=s("URLSearchParams");function T(O){return O.trim?O.trim():O.replace(/^\s+|\s+$/g,"")}function j(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function K(O,_){if(!(O===null||typeof O=="undefined"))if(typeof O!="object"&&(O=[O]),n(O))for(var U=0,A=O.length;U0;)de=A[G],he[de]||(_[de]=O[de],he[de]=!0);O=Object.getPrototypeOf(O)}while(O&&(!U||U(O,_))&&O!==Object.prototype);return _}function X(O,_,U){O=String(O),(U===void 0||U>O.length)&&(U=O.length),U-=_.length;var A=O.indexOf(_,U);return A!==-1&&A===U}function W(O){if(!O)return null;var _=O.length;if(d(_))return null;for(var U=new Array(_);_-- >0;)U[_]=O[_];return U}var x=function(O){return function(_){return O&&_ instanceof O}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array));b.exports={isArray:n,isArrayBuffer:c,isBuffer:l,isFormData:B,isArrayBufferView:m,isString:g,isNumber:M,isObject:h,isPlainObject:S,isUndefined:d,isDate:w,isFile:C,isBlob:z,isFunction:N,isStream:L,isURLSearchParams:D,isStandardBrowserEnv:j,forEach:K,merge:k,extend:te,trim:T,stripBOM:Y,inherits:q,toFlatObject:le,kindOf:o,kindOfTest:s,endsWith:X,toArray:W,isTypedArray:x,isFileList:$}},26446:function(b,y){"use strict";y.byteLength=l,y.toByteArray=m,y.fromByteArray=h;for(var e=[],a=[],t=typeof Uint8Array!="undefined"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,n=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var C=S.indexOf("=");C===-1&&(C=w);var z=C===w?0:4-C%4;return[C,z]}function l(S){var w=d(S),C=w[0],z=w[1];return(C+z)*3/4-z}function c(S,w,C){return(w+C)*3/4-C}function m(S){var w,C=d(S),z=C[0],$=C[1],N=new t(c(S,z,$)),L=0,B=$>0?z-4:z,D;for(D=0;D>16&255,N[L++]=w>>8&255,N[L++]=w&255;return $===2&&(w=a[S.charCodeAt(D)]<<2|a[S.charCodeAt(D+1)]>>4,N[L++]=w&255),$===1&&(w=a[S.charCodeAt(D)]<<10|a[S.charCodeAt(D+1)]<<4|a[S.charCodeAt(D+2)]>>2,N[L++]=w>>8&255,N[L++]=w&255),N}function g(S){return e[S>>18&63]+e[S>>12&63]+e[S>>6&63]+e[S&63]}function M(S,w,C){for(var z,$=[],N=w;NB?B:L+N));return z===1?(w=S[C-1],$.push(e[w>>2]+e[w<<4&63]+"==")):z===2&&(w=(S[C-2]<<8)+S[C-1],$.push(e[w>>10]+e[w>>4&63]+e[w<<2&63]+"=")),$.join("")}},21468:function(b,y,e){"use strict";var a;var t=e(26446),o=e(47164),s=e(23161);y.lW=c,a=N,y.h2=50,c.TYPED_ARRAY_SUPPORT=e.g.TYPED_ARRAY_SUPPORT!==void 0?e.g.TYPED_ARRAY_SUPPORT:n(),a=d();function n(){try{var ne=new Uint8Array(1);return ne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ne.foo()===42&&typeof ne.subarray=="function"&&ne.subarray(1,1).byteLength===0}catch(H){return!1}}function d(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(ne,H){if(d()=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return ne|0}function N(ne){return+ne!=ne&&(ne=0),c.alloc(+ne)}c.isBuffer=function(H){return!!(H!=null&&H._isBuffer)},c.compare=function(H,R){if(!c.isBuffer(H)||!c.isBuffer(R))throw new TypeError("Arguments must be Buffers");if(H===R)return 0;for(var P=H.length,ae=R.length,Q=0,ie=Math.min(P,ae);Q>>1;case"base64":return rt(ne).length;default:if(P)return Ht(ne).length;H=(""+H).toLowerCase(),P=!0}}c.byteLength=L;function B(ne,H,R){var P=!1;if((H===void 0||H<0)&&(H=0),H>this.length||((R===void 0||R>this.length)&&(R=this.length),R<=0)||(R>>>=0,H>>>=0,R<=H))return"";for(ne||(ne="utf8");;)switch(ne){case"hex":return A(this,H,R);case"utf8":case"utf-8":return W(this,H,R);case"ascii":return _(this,H,R);case"latin1":case"binary":return U(this,H,R);case"base64":return X(this,H,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,H,R);default:if(P)throw new TypeError("Unknown encoding: "+ne);ne=(ne+"").toLowerCase(),P=!0}}c.prototype._isBuffer=!0;function D(ne,H,R){var P=ne[H];ne[H]=ne[R],ne[R]=P}c.prototype.swap16=function(){var H=this.length;if(H%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var R=0;R0&&(H=this.toString("hex",0,R).match(/.{2}/g).join(" "),this.length>R&&(H+=" ... ")),""},c.prototype.compare=function(H,R,P,ae,Q){if(!c.isBuffer(H))throw new TypeError("Argument must be a Buffer");if(R===void 0&&(R=0),P===void 0&&(P=H?H.length:0),ae===void 0&&(ae=0),Q===void 0&&(Q=this.length),R<0||P>H.length||ae<0||Q>this.length)throw new RangeError("out of range index");if(ae>=Q&&R>=P)return 0;if(ae>=Q)return-1;if(R>=P)return 1;if(R>>>=0,P>>>=0,ae>>>=0,Q>>>=0,this===H)return 0;for(var ie=Q-ae,me=P-R,je=Math.min(ie,me),Ee=this.slice(ae,Q),Me=H.slice(R,P),We=0;We2147483647?R=2147483647:R<-2147483648&&(R=-2147483648),R=+R,isNaN(R)&&(R=ae?0:ne.length-1),R<0&&(R=ne.length+R),R>=ne.length){if(ae)return-1;R=ne.length-1}else if(R<0)if(ae)R=0;else return-1;if(typeof H=="string"&&(H=c.from(H,P)),c.isBuffer(H))return H.length===0?-1:j(ne,H,R,P,ae);if(typeof H=="number")return H=H&255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ae?Uint8Array.prototype.indexOf.call(ne,H,R):Uint8Array.prototype.lastIndexOf.call(ne,H,R):j(ne,[H],R,P,ae);throw new TypeError("val must be string, number or Buffer")}function j(ne,H,R,P,ae){var Q=1,ie=ne.length,me=H.length;if(P!==void 0&&(P=String(P).toLowerCase(),P==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(ne.length<2||H.length<2)return-1;Q=2,ie/=2,me/=2,R/=2}function je(se,J){return Q===1?se[J]:se.readUInt16BE(J*Q)}var Ee;if(ae){var Me=-1;for(Ee=R;Eeie&&(R=ie-me),Ee=R;Ee>=0;Ee--){for(var We=!0,re=0;reae&&(P=ae)):P=ae;var Q=H.length;if(Q%2!==0)throw new TypeError("Invalid hex string");P>Q/2&&(P=Q/2);for(var ie=0;ieQ)&&(P=Q),H.length>0&&(P<0||R<0)||R>this.length)throw new RangeError("Attempt to write outside buffer bounds");ae||(ae="utf8");for(var ie=!1;;)switch(ae){case"hex":return K(this,H,R,P);case"utf8":case"utf-8":return k(this,H,R,P);case"ascii":return te(this,H,R,P);case"latin1":case"binary":return Y(this,H,R,P);case"base64":return q(this,H,R,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,H,R,P);default:if(ie)throw new TypeError("Unknown encoding: "+ae);ae=(""+ae).toLowerCase(),ie=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function X(ne,H,R){return H===0&&R===ne.length?t.fromByteArray(ne):t.fromByteArray(ne.slice(H,R))}function W(ne,H,R){R=Math.min(ne.length,R);for(var P=[],ae=H;ae239?4:Q>223?3:Q>191?2:1;if(ae+me<=R){var je,Ee,Me,We;switch(me){case 1:Q<128&&(ie=Q);break;case 2:je=ne[ae+1],(je&192)===128&&(We=(Q&31)<<6|je&63,We>127&&(ie=We));break;case 3:je=ne[ae+1],Ee=ne[ae+2],(je&192)===128&&(Ee&192)===128&&(We=(Q&15)<<12|(je&63)<<6|Ee&63,We>2047&&(We<55296||We>57343)&&(ie=We));break;case 4:je=ne[ae+1],Ee=ne[ae+2],Me=ne[ae+3],(je&192)===128&&(Ee&192)===128&&(Me&192)===128&&(We=(Q&15)<<18|(je&63)<<12|(Ee&63)<<6|Me&63,We>65535&&We<1114112&&(ie=We))}}ie===null?(ie=65533,me=1):ie>65535&&(ie-=65536,P.push(ie>>>10&1023|55296),ie=56320|ie&1023),P.push(ie),ae+=me}return O(P)}var x=4096;function O(ne){var H=ne.length;if(H<=x)return String.fromCharCode.apply(String,ne);for(var R="",P=0;PP)&&(R=P);for(var ae="",Q=H;QP&&(H=P),R<0?(R+=P,R<0&&(R=0)):R>P&&(R=P),RR)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUIntLE=function(H,R,P){H=H|0,R=R|0,P||de(H,R,this.length);for(var ae=this[H],Q=1,ie=0;++ie0&&(Q*=256);)ae+=this[H+--R]*Q;return ae},c.prototype.readUInt8=function(H,R){return R||de(H,1,this.length),this[H]},c.prototype.readUInt16LE=function(H,R){return R||de(H,2,this.length),this[H]|this[H+1]<<8},c.prototype.readUInt16BE=function(H,R){return R||de(H,2,this.length),this[H]<<8|this[H+1]},c.prototype.readUInt32LE=function(H,R){return R||de(H,4,this.length),(this[H]|this[H+1]<<8|this[H+2]<<16)+this[H+3]*16777216},c.prototype.readUInt32BE=function(H,R){return R||de(H,4,this.length),this[H]*16777216+(this[H+1]<<16|this[H+2]<<8|this[H+3])},c.prototype.readIntLE=function(H,R,P){H=H|0,R=R|0,P||de(H,R,this.length);for(var ae=this[H],Q=1,ie=0;++ie=Q&&(ae-=Math.pow(2,8*R)),ae},c.prototype.readIntBE=function(H,R,P){H=H|0,R=R|0,P||de(H,R,this.length);for(var ae=R,Q=1,ie=this[H+--ae];ae>0&&(Q*=256);)ie+=this[H+--ae]*Q;return Q*=128,ie>=Q&&(ie-=Math.pow(2,8*R)),ie},c.prototype.readInt8=function(H,R){return R||de(H,1,this.length),this[H]&128?(255-this[H]+1)*-1:this[H]},c.prototype.readInt16LE=function(H,R){R||de(H,2,this.length);var P=this[H]|this[H+1]<<8;return P&32768?P|4294901760:P},c.prototype.readInt16BE=function(H,R){R||de(H,2,this.length);var P=this[H+1]|this[H]<<8;return P&32768?P|4294901760:P},c.prototype.readInt32LE=function(H,R){return R||de(H,4,this.length),this[H]|this[H+1]<<8|this[H+2]<<16|this[H+3]<<24},c.prototype.readInt32BE=function(H,R){return R||de(H,4,this.length),this[H]<<24|this[H+1]<<16|this[H+2]<<8|this[H+3]},c.prototype.readFloatLE=function(H,R){return R||de(H,4,this.length),o.read(this,H,!0,23,4)},c.prototype.readFloatBE=function(H,R){return R||de(H,4,this.length),o.read(this,H,!1,23,4)},c.prototype.readDoubleLE=function(H,R){return R||de(H,8,this.length),o.read(this,H,!0,52,8)},c.prototype.readDoubleBE=function(H,R){return R||de(H,8,this.length),o.read(this,H,!1,52,8)};function he(ne,H,R,P,ae,Q){if(!c.isBuffer(ne))throw new TypeError('"buffer" argument must be a Buffer instance');if(H>ae||Hne.length)throw new RangeError("Index out of range")}c.prototype.writeUIntLE=function(H,R,P,ae){if(H=+H,R=R|0,P=P|0,!ae){var Q=Math.pow(2,8*P)-1;he(this,H,R,P,Q,0)}var ie=1,me=0;for(this[R]=H&255;++me=0&&(me*=256);)this[R+ie]=H/me&255;return R+P},c.prototype.writeUInt8=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,1,255,0),c.TYPED_ARRAY_SUPPORT||(H=Math.floor(H)),this[R]=H&255,R+1};function ge(ne,H,R,P){H<0&&(H=65535+H+1);for(var ae=0,Q=Math.min(ne.length-R,2);ae>>(P?ae:1-ae)*8}c.prototype.writeUInt16LE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=H&255,this[R+1]=H>>>8):ge(this,H,R,!0),R+2},c.prototype.writeUInt16BE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>8,this[R+1]=H&255):ge(this,H,R,!1),R+2};function be(ne,H,R,P){H<0&&(H=4294967295+H+1);for(var ae=0,Q=Math.min(ne.length-R,4);ae>>(P?ae:3-ae)*8&255}c.prototype.writeUInt32LE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R+3]=H>>>24,this[R+2]=H>>>16,this[R+1]=H>>>8,this[R]=H&255):be(this,H,R,!0),R+4},c.prototype.writeUInt32BE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>24,this[R+1]=H>>>16,this[R+2]=H>>>8,this[R+3]=H&255):be(this,H,R,!1),R+4},c.prototype.writeIntLE=function(H,R,P,ae){if(H=+H,R=R|0,!ae){var Q=Math.pow(2,8*P-1);he(this,H,R,P,Q-1,-Q)}var ie=0,me=1,je=0;for(this[R]=H&255;++ie>0)-je&255;return R+P},c.prototype.writeIntBE=function(H,R,P,ae){if(H=+H,R=R|0,!ae){var Q=Math.pow(2,8*P-1);he(this,H,R,P,Q-1,-Q)}var ie=P-1,me=1,je=0;for(this[R+ie]=H&255;--ie>=0&&(me*=256);)H<0&&je===0&&this[R+ie+1]!==0&&(je=1),this[R+ie]=(H/me>>0)-je&255;return R+P},c.prototype.writeInt8=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,1,127,-128),c.TYPED_ARRAY_SUPPORT||(H=Math.floor(H)),H<0&&(H=255+H+1),this[R]=H&255,R+1},c.prototype.writeInt16LE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=H&255,this[R+1]=H>>>8):ge(this,H,R,!0),R+2},c.prototype.writeInt16BE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>8,this[R+1]=H&255):ge(this,H,R,!1),R+2},c.prototype.writeInt32LE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[R]=H&255,this[R+1]=H>>>8,this[R+2]=H>>>16,this[R+3]=H>>>24):be(this,H,R,!0),R+4},c.prototype.writeInt32BE=function(H,R,P){return H=+H,R=R|0,P||he(this,H,R,4,2147483647,-2147483648),H<0&&(H=4294967295+H+1),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>24,this[R+1]=H>>>16,this[R+2]=H>>>8,this[R+3]=H&255):be(this,H,R,!1),R+4};function Te(ne,H,R,P,ae,Q){if(R+P>ne.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("Index out of range")}function Ge(ne,H,R,P,ae){return ae||Te(ne,H,R,4,34028234663852886e22,-34028234663852886e22),o.write(ne,H,R,P,23,4),R+4}c.prototype.writeFloatLE=function(H,R,P){return Ge(this,H,R,!0,P)},c.prototype.writeFloatBE=function(H,R,P){return Ge(this,H,R,!1,P)};function Je(ne,H,R,P,ae){return ae||Te(ne,H,R,8,17976931348623157e292,-17976931348623157e292),o.write(ne,H,R,P,52,8),R+8}c.prototype.writeDoubleLE=function(H,R,P){return Je(this,H,R,!0,P)},c.prototype.writeDoubleBE=function(H,R,P){return Je(this,H,R,!1,P)},c.prototype.copy=function(H,R,P,ae){if(P||(P=0),!ae&&ae!==0&&(ae=this.length),R>=H.length&&(R=H.length),R||(R=0),ae>0&&ae=this.length)throw new RangeError("sourceStart out of bounds");if(ae<0)throw new RangeError("sourceEnd out of bounds");ae>this.length&&(ae=this.length),H.length-R=0;--ie)H[ie+R]=this[ie+P];else if(Q<1e3||!c.TYPED_ARRAY_SUPPORT)for(ie=0;ie>>0,P=P===void 0?this.length:P>>>0,H||(H=0);var ie;if(typeof H=="number")for(ie=R;ie55295&&R<57344){if(!ae){if(R>56319){(H-=3)>-1&&Q.push(239,191,189);continue}else if(ie+1===P){(H-=3)>-1&&Q.push(239,191,189);continue}ae=R;continue}if(R<56320){(H-=3)>-1&&Q.push(239,191,189),ae=R;continue}R=(ae-55296<<10|R-56320)+65536}else ae&&(H-=3)>-1&&Q.push(239,191,189);if(ae=null,R<128){if((H-=1)<0)break;Q.push(R)}else if(R<2048){if((H-=2)<0)break;Q.push(R>>6|192,R&63|128)}else if(R<65536){if((H-=3)<0)break;Q.push(R>>12|224,R>>6&63|128,R&63|128)}else if(R<1114112){if((H-=4)<0)break;Q.push(R>>18|240,R>>12&63|128,R>>6&63|128,R&63|128)}else throw new Error("Invalid code point")}return Q}function Ze(ne){for(var H=[],R=0;R>8,ae=R%256,Q.push(ae),Q.push(P);return Q}function rt(ne){return t.toByteArray(pt(ne))}function Ke(ne,H,R,P){for(var ae=0;ae=H.length||ae>=ne.length);++ae)H[ae+R]=ne[ae];return ae}function ye(ne){return ne!==ne}},87608:function(b,y){var e,a;(function(){"use strict";var t={}.hasOwnProperty,o="[native code]";function s(){for(var n=[],d=0;d1?arguments[1]:void 0,k=j>2?arguments[2]:void 0;return new(M("Promise"))(function(te){var Y=o(D);K!==void 0&&(K=a(K,k));var q=m(Y,C),le=q?void 0:c(Y)||N,X=s(T)?new T:[],W=q?n(Y,q):new S(l(d(Y,le)));te(w(W,K,X))})}},50112:function(b,y,e){var a=e(89122);b.exports=function(t,o){for(var s=0,n=a(o),d=new t(n);n>s;)d[s]=o[s++];return d}},59765:function(b,y,e){"use strict";var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(89122),d=e(85623),l=d.Map,c=d.get,m=d.has,g=d.set,M=t([].push);b.exports=function(S){for(var w=s(this),C=o(w),z=a(S,arguments.length>1?arguments[1]:void 0),$=new l,N=n(C),L=0,B,D;N>L;L++)D=C[L],B=z(D,L,w),m($,B)?M(c($,B),D):g($,B,[D]);return $}},69093:function(b,y,e){var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(76846),d=e(89122),l=e(34552),c=e(50112),m=Array,g=t([].push);b.exports=function(M,h,S,w){for(var C=s(M),z=o(C),$=a(h,S),N=l(null),L=d(z),B=0,D,T,j;L>B;B++)j=z[B],T=n($(j,B,C)),T in N?g(N[T],j):N[T]=[j];if(w&&(D=w(C),D!==m))for(T in N)N[T]=c(D,N[T]);return N}},63795:function(b,y,e){var a=e(514),t=e(71410),o=e(89122),s=function(n){return function(d,l,c){var m=a(d),g=o(m),M=t(c,g),h;if(n&&l!=l){for(;g>M;)if(h=m[M++],h!=h)return!0}else for(;g>M;M++)if((n||M in m)&&m[M]===l)return n||M||0;return!n&&-1}};b.exports={includes:s(!0),indexOf:s(!1)}},17464:function(b,y,e){var a=e(34066),t=e(42414),o=e(64441),s=e(89122),n=function(d){var l=d==1;return function(c,m,g){for(var M=o(c),h=t(M),S=a(m,g),w=s(h),C,z;w-- >0;)if(C=h[w],z=S(C,w,M),z)switch(d){case 0:return C;case 1:return w}return l?-1:void 0}};b.exports={findLast:n(0),findLastIndex:n(1)}},44708:function(b,y,e){var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(89122),d=e(70850),l=t([].push),c=function(m){var g=m==1,M=m==2,h=m==3,S=m==4,w=m==6,C=m==7,z=m==5||w;return function($,N,L,B){for(var D=s($),T=o(D),j=a(N,L),K=n(T),k=0,te=B||d,Y=g?te($,K):M||C?te($,0):void 0,q,le;K>k;k++)if((z||k in T)&&(q=T[k],le=j(q,k,D),m))if(g)Y[k]=le;else if(le)switch(m){case 3:return!0;case 5:return q;case 6:return k;case 2:l(Y,q)}else switch(m){case 4:return!1;case 7:l(Y,q)}return w?-1:h||S?S:Y}};b.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},83242:function(b,y,e){"use strict";var a=e(77149);b.exports=function(t,o){var s=[][t];return!!s&&a(function(){s.call(null,o||function(){return 1},1)})}},82565:function(b,y,e){var a=e(31927),t=e(64441),o=e(42414),s=e(89122),n=TypeError,d=function(l){return function(c,m,g,M){a(m);var h=t(c),S=o(h),w=s(h),C=l?w-1:0,z=l?-1:1;if(g<2)for(;;){if(C in S){M=S[C],C+=z;break}if(C+=z,l?C<0:w<=C)throw n("Reduce of empty array with no initial value")}for(;l?C>=0:w>C;C+=z)C in S&&(M=m(M,S[C],C,h));return M}};b.exports={left:d(!1),right:d(!0)}},77060:function(b,y,e){"use strict";var a=e(57759),t=e(190),o=TypeError,s=Object.getOwnPropertyDescriptor,n=a&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(d){return d instanceof TypeError}}();b.exports=n?function(d,l){if(t(d)&&!s(d,"length").writable)throw o("Cannot set read only .length");return d.length=l}:function(d,l){return d.length=l}},81469:function(b,y,e){var a=e(71410),t=e(89122),o=e(46509),s=Array,n=Math.max;b.exports=function(d,l,c){for(var m=t(d),g=a(l,m),M=a(c===void 0?m:c,m),h=s(n(M-g,0)),S=0;g=c||g<0)throw o("Incorrect index");for(var M=new n(c),h=0;h1?arguments[1]:void 0,h,S,w,C;return s(this),h=M!==void 0,h&&o(M),n(m)?new this:(S=[],h?(w=0,C=a(M,g>2?arguments[2]:void 0),d(m,function(z){t(l,S,C(z,w++))})):d(m,l,{that:S}),new this(S))}},55042:function(b,y,e){"use strict";var a=e(66322);b.exports=function(){return new this(a(arguments))}},42710:function(b,y,e){"use strict";var a=e(34552),t=e(2265),o=e(3313),s=e(34066),n=e(92453),d=e(74883),l=e(95815),c=e(94636),m=e(76835),g=e(51309),M=e(57759),h=e(80787).fastKey,S=e(71584),w=S.set,C=S.getterFor;b.exports={getConstructor:function(z,$,N,L){var B=z(function(k,te){n(k,D),w(k,{type:$,index:a(null),first:void 0,last:void 0,size:0}),M||(k.size=0),d(te)||l(te,k[L],{that:k,AS_ENTRIES:N})}),D=B.prototype,T=C($),j=function(k,te,Y){var q=T(k),le=K(k,te),X,W;return le?le.value=Y:(q.last=le={index:W=h(te,!0),key:te,value:Y,previous:X=q.last,next:void 0,removed:!1},q.first||(q.first=le),X&&(X.next=le),M?q.size++:k.size++,W!=="F"&&(q.index[W]=le)),k},K=function(k,te){var Y=T(k),q=h(te),le;if(q!=="F")return Y.index[q];for(le=Y.first;le;le=le.next)if(le.key==te)return le};return o(D,{clear:function(){for(var te=this,Y=T(te),q=Y.index,le=Y.first;le;)le.removed=!0,le.previous&&(le.previous=le.previous.next=void 0),delete q[le.index],le=le.next;Y.first=Y.last=void 0,M?Y.size=0:te.size=0},delete:function(k){var te=this,Y=T(te),q=K(te,k);if(q){var le=q.next,X=q.previous;delete Y.index[q.index],q.removed=!0,X&&(X.next=le),le&&(le.previous=X),Y.first==q&&(Y.first=le),Y.last==q&&(Y.last=X),M?Y.size--:te.size--}return!!q},forEach:function(te){for(var Y=T(this),q=s(te,arguments.length>1?arguments[1]:void 0),le;le=le?le.next:Y.first;)for(q(le.value,le.key,this);le&&le.removed;)le=le.previous},has:function(te){return!!K(this,te)}}),o(D,N?{get:function(te){var Y=K(this,te);return Y&&Y.value},set:function(te,Y){return j(this,te===0?0:te,Y)}}:{add:function(te){return j(this,te=te===0?0:te,te)}}),M&&t(D,"size",{configurable:!0,get:function(){return T(this).size}}),B},setStrong:function(z,$,N){var L=$+" Iterator",B=C($),D=C(L);c(z,$,function(T,j){w(this,{type:L,target:T,state:B(T),kind:j,last:void 0})},function(){for(var T=D(this),j=T.kind,K=T.last;K&&K.removed;)K=K.previous;return!T.target||!(T.last=K=K?K.next:T.state.first)?(T.target=void 0,m(void 0,!0)):j=="keys"?m(K.key,!1):j=="values"?m(K.value,!1):m([K.key,K.value],!1)},N?"entries":"values",!N,!0),g($)}}},90253:function(b,y,e){"use strict";var a=e(11700),t=e(3313),o=e(80787).getWeakData,s=e(92453),n=e(78958),d=e(74883),l=e(33225),c=e(95815),m=e(44708),g=e(26583),M=e(71584),h=M.set,S=M.getterFor,w=m.find,C=m.findIndex,z=a([].splice),$=0,N=function(D){return D.frozen||(D.frozen=new L)},L=function(){this.entries=[]},B=function(D,T){return w(D.entries,function(j){return j[0]===T})};L.prototype={get:function(D){var T=B(this,D);if(T)return T[1]},has:function(D){return!!B(this,D)},set:function(D,T){var j=B(this,D);j?j[1]=T:this.entries.push([D,T])},delete:function(D){var T=C(this.entries,function(j){return j[0]===D});return~T&&z(this.entries,T,1),!!~T}},b.exports={getConstructor:function(D,T,j,K){var k=D(function(le,X){s(le,te),h(le,{type:T,id:$++,frozen:void 0}),d(X)||c(X,le[K],{that:le,AS_ENTRIES:j})}),te=k.prototype,Y=S(T),q=function(le,X,W){var x=Y(le),O=o(n(X),!0);return O===!0?N(x).set(X,W):O[x.id]=W,le};return t(te,{delete:function(le){var X=Y(this);if(!l(le))return!1;var W=o(le);return W===!0?N(X).delete(le):W&&g(W,X.id)&&delete W[X.id]},has:function(X){var W=Y(this);if(!l(X))return!1;var x=o(X);return x===!0?N(W).has(X):x&&g(x,W.id)}}),t(te,j?{get:function(X){var W=Y(this);if(l(X)){var x=o(X);return x===!0?N(W).get(X):x?x[W.id]:void 0}},set:function(X,W){return q(this,X,W)}}:{add:function(X){return q(this,X,!0)}}),k}}},91821:function(b,y,e){"use strict";var a=e(13354),t=e(53065),o=e(11700),s=e(29206),n=e(28621),d=e(80787),l=e(95815),c=e(92453),m=e(6508),g=e(74883),M=e(33225),h=e(77149),S=e(44277),w=e(68156),C=e(95173);b.exports=function(z,$,N){var L=z.indexOf("Map")!==-1,B=z.indexOf("Weak")!==-1,D=L?"set":"add",T=t[z],j=T&&T.prototype,K=T,k={},te=function(O){var _=o(j[O]);n(j,O,O=="add"?function(A){return _(this,A===0?0:A),this}:O=="delete"?function(U){return B&&!M(U)?!1:_(this,U===0?0:U)}:O=="get"?function(A){return B&&!M(A)?void 0:_(this,A===0?0:A)}:O=="has"?function(A){return B&&!M(A)?!1:_(this,A===0?0:A)}:function(A,G){return _(this,A===0?0:A,G),this})},Y=s(z,!m(T)||!(B||j.forEach&&!h(function(){new T().entries().next()})));if(Y)K=N.getConstructor($,z,L,D),d.enable();else if(s(z,!0)){var q=new K,le=q[D](B?{}:-0,1)!=q,X=h(function(){q.has(1)}),W=S(function(O){new T(O)}),x=!B&&h(function(){for(var O=new T,_=5;_--;)O[D](_,_);return!O.has(-0)});W||(K=$(function(O,_){c(O,j);var U=C(new T,O,K);return g(_)||l(_,U[D],{that:U,AS_ENTRIES:L}),U}),K.prototype=j,j.constructor=K),(X||x)&&(te("delete"),te("has"),L&&te("get")),(x||le)&&te(D),B&&j.clear&&delete j.clear}return k[z]=K,a({global:!0,constructor:!0,forced:K!=T},k),w(K,z),B||N.setStrong(K,z,L),K}},95249:function(b,y,e){e(72660),e(11995);var a=e(42725),t=e(34552),o=e(33225),s=Object,n=TypeError,d=a("Map"),l=a("WeakMap"),c=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=t(null)};c.prototype.get=function(g,M){return this[g]||(this[g]=M())},c.prototype.next=function(g,M,h){var S=h?this.objectsByIndex[g]||(this.objectsByIndex[g]=new l):this.primitives||(this.primitives=new d),w=S.get(M);return w||S.set(M,w=new c),w};var m=new c;b.exports=function(){var g=m,M=arguments.length,h,S;for(h=0;he)throw y("Maximum allowed index exceeded");return a}},73443:function(b){b.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},83051:function(b,y,e){var a=e(79132),t=e(79727);b.exports=!a&&!t&&typeof window=="object"&&typeof document=="object"},8266:function(b){b.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},79132:function(b){b.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},72833:function(b,y,e){var a=e(47048);b.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},79727:function(b,y,e){var a=e(73656),t=e(88596);b.exports=typeof a!="undefined"&&t(a)=="process"},47048:function(b){b.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},8783:function(b,y,e){var a=e(53065),t=e(47048),o=a.process,s=a.Deno,n=o&&o.versions||s&&s.version,d=n&&n.v8,l,c;d&&(l=d.split("."),c=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!c&&t&&(l=t.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=t.match(/Chrome\/(\d+)/),l&&(c=+l[1]))),b.exports=c},70721:function(b,y,e){var a=e(53065);b.exports=function(t){return a[t].prototype}},68150:function(b){b.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},68488:function(b,y,e){var a=e(11700),t=Error,o=a("".replace),s=function(l){return String(t(l).stack)}("zxcasd"),n=/\n\s*at [^:]*:[^\n]*/,d=n.test(s);b.exports=function(l,c){if(d&&typeof l=="string"&&!t.prepareStackTrace)for(;c--;)l=o(l,n,"");return l}},96410:function(b,y,e){var a=e(5927),t=e(68488),o=e(39728),s=Error.captureStackTrace;b.exports=function(n,d,l,c){o&&(s?s(n,d):a(n,"stack",t(l,c)))}},39728:function(b,y,e){var a=e(77149),t=e(87971);b.exports=!a(function(){var o=Error("a");return"stack"in o?(Object.defineProperty(o,"stack",t(1,7)),o.stack!==7):!0})},13354:function(b,y,e){var a=e(53065),t=e(91042).f,o=e(5927),s=e(28621),n=e(40194),d=e(81732),l=e(29206);b.exports=function(c,m){var g=c.target,M=c.global,h=c.stat,S,w,C,z,$,N;if(M?w=a:h?w=a[g]||n(g,{}):w=(a[g]||{}).prototype,w)for(C in m){if($=m[C],c.dontCallGetSet?(N=t(w,C),z=N&&N.value):z=w[C],S=l(M?C:g+(h?".":"#")+C,c.forced),!S&&z!==void 0){if(typeof $==typeof z)continue;d($,z)}(c.sham||z&&z.sham)&&o($,"sham",!0),s(w,C,$,c)}}},77149:function(b){b.exports=function(y){try{return!!y()}catch(e){return!0}}},81506:function(b,y,e){var a=e(77149);b.exports=!a(function(){return Object.isExtensible(Object.preventExtensions({}))})},59178:function(b,y,e){var a=e(34300),t=Function.prototype,o=t.apply,s=t.call;b.exports=typeof Reflect=="object"&&Reflect.apply||(a?s.bind(o):function(){return s.apply(o,arguments)})},34066:function(b,y,e){var a=e(39338),t=e(31927),o=e(34300),s=a(a.bind);b.exports=function(n,d){return t(n),d===void 0?n:o?s(n,d):function(){return n.apply(d,arguments)}}},34300:function(b,y,e){var a=e(77149);b.exports=!a(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")})},68029:function(b,y,e){var a=e(34300),t=Function.prototype.call;b.exports=a?t.bind(t):function(){return t.apply(t,arguments)}},44761:function(b,y,e){"use strict";var a=e(11700),t=e(31927);b.exports=function(){return a(t(this))}},27593:function(b,y,e){var a=e(57759),t=e(26583),o=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,n=t(o,"name"),d=n&&function(){}.name==="something",l=n&&(!a||a&&s(o,"name").configurable);b.exports={EXISTS:n,PROPER:d,CONFIGURABLE:l}},12719:function(b,y,e){var a=e(11700),t=e(31927);b.exports=function(o,s,n){try{return a(t(Object.getOwnPropertyDescriptor(o,s)[n]))}catch(d){}}},39338:function(b,y,e){var a=e(88596),t=e(11700);b.exports=function(o){if(a(o)==="Function")return t(o)}},11700:function(b,y,e){var a=e(34300),t=Function.prototype,o=t.call,s=a&&t.bind.bind(o,o);b.exports=a?s:function(n){return function(){return o.apply(n,arguments)}}},83658:function(b,y,e){var a=e(68029),t=e(6508),o=e(78958),s=e(55086),n=e(56071),d=e(15931),l=e(77740),c=e(66219),m=l("asyncIterator");b.exports=function(M){var h=o(M),S=!0,w=d(h,m),C;return t(w)||(w=n(h),S=!1),t(w)?C=a(w,h):(C=h,S=!0),o(C),s(S?C:new c(s(C)))}},85231:function(b,y,e){var a=e(68029),t=e(66219),o=e(78958),s=e(64712),n=e(55086),d=e(15931),l=e(77740),c=l("asyncIterator");b.exports=function(m,g){var M=arguments.length<2?d(m,c):g;return M?o(a(M,m)):new t(n(s(m)))}},42725:function(b,y,e){var a=e(53065),t=e(6508),o=function(s){return t(s)?s:void 0};b.exports=function(s,n){return arguments.length<2?o(a[s]):a[s]&&a[s][n]}},55086:function(b,y,e){var a=e(31927),t=e(78958);b.exports=function(o){return{iterator:o,next:a(t(o).next)}}},69896:function(b,y,e){var a=e(68029),t=e(6508),o=e(78958),s=e(55086),n=e(56071);b.exports=function(d){var l=o(d),c=n(l);return s(o(t(c)?a(c,l):l))}},56071:function(b,y,e){var a=e(56834),t=e(15931),o=e(74883),s=e(43125),n=e(77740),d=n("iterator");b.exports=function(l){if(!o(l))return t(l,d)||t(l,"@@iterator")||s[a(l)]}},64712:function(b,y,e){var a=e(68029),t=e(31927),o=e(78958),s=e(30238),n=e(56071),d=TypeError;b.exports=function(l,c){var m=arguments.length<2?n(l):c;if(t(m))return o(a(m,l));throw d(s(l)+" is not iterable")}},75126:function(b,y,e){var a=e(11700),t=e(190),o=e(6508),s=e(88596),n=e(68424),d=a([].push);b.exports=function(l){if(o(l))return l;if(t(l)){for(var c=l.length,m=[],g=0;g]*>)/g,c=/\$([$&'`]|\d{1,2})/g;b.exports=function(m,g,M,h,S,w){var C=M+m.length,z=h.length,$=c;return S!==void 0&&(S=t(S),$=l),n(w,$,function(N,L){var B;switch(s(L,0)){case"$":return"$";case"&":return m;case"`":return d(g,0,M);case"'":return d(g,C);case"<":B=S[d(L,1,-1)];break;default:var D=+L;if(D===0)return N;if(D>z){var T=o(D/10);return T===0?N:T<=z?h[T-1]===void 0?s(L,1):h[T-1]+s(L,1):N}B=h[D-1]}return B===void 0?"":B})}},53065:function(b,y,e){var a=function(t){return t&&t.Math==Math&&t};b.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},26583:function(b,y,e){var a=e(11700),t=e(64441),o=a({}.hasOwnProperty);b.exports=Object.hasOwn||function(n,d){return o(t(n),d)}},17859:function(b){b.exports={}},3234:function(b){b.exports=function(y,e){try{arguments.length==1?console.error(y):console.error(y,e)}catch(a){}}},8199:function(b,y,e){var a=e(42725);b.exports=a("document","documentElement")},96335:function(b,y,e){var a=e(57759),t=e(77149),o=e(75074);b.exports=!a&&!t(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!=7})},42414:function(b,y,e){var a=e(11700),t=e(77149),o=e(88596),s=Object,n=a("".split);b.exports=t(function(){return!s("z").propertyIsEnumerable(0)})?function(d){return o(d)=="String"?n(d,""):s(d)}:s},95173:function(b,y,e){var a=e(6508),t=e(33225),o=e(63332);b.exports=function(s,n,d){var l,c;return o&&a(l=n.constructor)&&l!==d&&t(c=l.prototype)&&c!==d.prototype&&o(s,c),s}},45274:function(b,y,e){var a=e(11700),t=e(6508),o=e(1396),s=a(Function.toString);t(o.inspectSource)||(o.inspectSource=function(n){return s(n)}),b.exports=o.inspectSource},13719:function(b,y,e){var a=e(33225),t=e(5927);b.exports=function(o,s){a(s)&&"cause"in s&&t(o,"cause",s.cause)}},80787:function(b,y,e){var a=e(13354),t=e(11700),o=e(17859),s=e(33225),n=e(26583),d=e(38248).f,l=e(94561),c=e(56647),m=e(50175),g=e(89669),M=e(81506),h=!1,S=g("meta"),w=0,C=function(D){d(D,S,{value:{objectID:"O"+w++,weakData:{}}})},z=function(D,T){if(!s(D))return typeof D=="symbol"?D:(typeof D=="string"?"S":"P")+D;if(!n(D,S)){if(!m(D))return"F";if(!T)return"E";C(D)}return D[S].objectID},$=function(D,T){if(!n(D,S)){if(!m(D))return!0;if(!T)return!1;C(D)}return D[S].weakData},N=function(D){return M&&h&&m(D)&&!n(D,S)&&C(D),D},L=function(){B.enable=function(){},h=!0;var D=l.f,T=t([].splice),j={};j[S]=1,D(j).length&&(l.f=function(K){for(var k=D(K),te=0,Y=k.length;tek;k++)if(Y=W(w[k]),Y&&l(S,Y))return Y;return new h(!1)}j=c(w,K)}for(q=L?w.next:j.next;!(le=t(q,j)).done;){try{Y=W(le.value)}catch(x){g(j,"throw",x)}if(typeof Y=="object"&&Y&&l(S,Y))return Y}return new h(!1)}},40164:function(b,y,e){var a=e(68029),t=e(78958),o=e(15931);b.exports=function(s,n,d){var l,c;t(s);try{if(l=o(s,"return"),!l){if(n==="throw")throw d;return d}l=a(l,s)}catch(m){c=!0,l=m}if(n==="throw")throw d;if(c)throw l;return t(l),d}},87821:function(b,y,e){"use strict";var a=e(41019).IteratorPrototype,t=e(34552),o=e(87971),s=e(68156),n=e(43125),d=function(){return this};b.exports=function(l,c,m,g){var M=c+" Iterator";return l.prototype=t(a,{next:o(+!g,m)}),s(l,M,!1,!0),n[M]=d,l}},36911:function(b,y,e){"use strict";var a=e(68029),t=e(34552),o=e(5927),s=e(3313),n=e(77740),d=e(71584),l=e(15931),c=e(41019).IteratorPrototype,m=e(76835),g=e(40164),M=n("toStringTag"),h="IteratorHelper",S="WrapForValidIterator",w=d.set,C=function(N){var L=d.getterFor(N?S:h);return s(t(c),{next:function(){var D=L(this);if(N)return D.nextHandler();try{var T=D.done?void 0:D.nextHandler();return m(T,D.done)}catch(j){throw D.done=!0,j}},return:function(){var B=L(this),D=B.iterator;if(B.done=!0,N){var T=l(D,"return");return T?a(T,D):m(void 0,!0)}if(B.inner)try{g(B.inner.iterator,"normal")}catch(j){return g(D,"throw",j)}return g(D,"normal"),m(void 0,!0)}})},z=C(!0),$=C(!1);o($,M,"Iterator Helper"),b.exports=function(N,L){var B=function(T,j){j?(j.iterator=T.iterator,j.next=T.next):j=T,j.type=L?S:h,j.nextHandler=N,j.counter=0,j.done=!1,w(this,j)};return B.prototype=L?z:$,B}},94636:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(77449),s=e(27593),n=e(6508),d=e(87821),l=e(77767),c=e(63332),m=e(68156),g=e(5927),M=e(28621),h=e(77740),S=e(43125),w=e(41019),C=s.PROPER,z=s.CONFIGURABLE,$=w.IteratorPrototype,N=w.BUGGY_SAFARI_ITERATORS,L=h("iterator"),B="keys",D="values",T="entries",j=function(){return this};b.exports=function(K,k,te,Y,q,le,X){d(te,k,Y);var W=function(be){if(be===q&&A)return A;if(!N&&be in _)return _[be];switch(be){case B:return function(){return new te(this,be)};case D:return function(){return new te(this,be)};case T:return function(){return new te(this,be)}}return function(){return new te(this)}},x=k+" Iterator",O=!1,_=K.prototype,U=_[L]||_["@@iterator"]||q&&_[q],A=!N&&U||W(q),G=k=="Array"&&_.entries||U,de,he,ge;if(G&&(de=l(G.call(new K)),de!==Object.prototype&&de.next&&(!o&&l(de)!==$&&(c?c(de,$):n(de[L])||M(de,L,j)),m(de,x,!0,!0),o&&(S[x]=j))),C&&q==D&&U&&U.name!==D&&(!o&&z?g(_,"name",D):(O=!0,A=function(){return t(U,this)})),q)if(he={values:W(D),keys:le?A:W(B),entries:W(T)},X)for(ge in he)(N||O||!(ge in _))&&M(_,ge,he[ge]);else a({target:k,proto:!0,forced:N||O},he);return(!o||X)&&_[L]!==A&&M(_,L,A,{name:q}),S[k]=A,he}},45656:function(b,y,e){"use strict";var a=e(68029),t=e(87931),o=function(s,n){return[n,s]};b.exports=function(){return a(t,this,o)}},87931:function(b,y,e){"use strict";var a=e(68029),t=e(31927),o=e(78958),s=e(55086),n=e(36911),d=e(74031),l=n(function(){var c=this.iterator,m=o(a(this.next,c)),g=this.done=!!m.done;if(!g)return d(c,this.mapper,[m.value,this.counter++],!0)});b.exports=function(m){return new l(s(this),{mapper:t(m)})}},41019:function(b,y,e){"use strict";var a=e(77149),t=e(6508),o=e(33225),s=e(34552),n=e(77767),d=e(28621),l=e(77740),c=e(77449),m=l("iterator"),g=!1,M,h,S;[].keys&&(S=[].keys(),"next"in S?(h=n(n(S)),h!==Object.prototype&&(M=h)):g=!0);var w=!o(M)||a(function(){var C={};return M[m].call(C)!==C});w?M={}:c&&(M=s(M)),t(M[m])||d(M,m,function(){return this}),b.exports={IteratorPrototype:M,BUGGY_SAFARI_ITERATORS:g}},43125:function(b){b.exports={}},89122:function(b,y,e){var a=e(25010);b.exports=function(t){return a(t.length)}},70377:function(b,y,e){var a=e(11700),t=e(77149),o=e(6508),s=e(26583),n=e(57759),d=e(27593).CONFIGURABLE,l=e(45274),c=e(71584),m=c.enforce,g=c.get,M=String,h=Object.defineProperty,S=a("".slice),w=a("".replace),C=a([].join),z=n&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),$=String(String).split("String"),N=b.exports=function(L,B,D){S(M(B),0,7)==="Symbol("&&(B="["+w(M(B),/^Symbol\(([^)]*)\)/,"$1")+"]"),D&&D.getter&&(B="get "+B),D&&D.setter&&(B="set "+B),(!s(L,"name")||d&&L.name!==B)&&(n?h(L,"name",{value:B,configurable:!0}):L.name=B),z&&D&&s(D,"arity")&&L.length!==D.arity&&h(L,"length",{value:D.arity});try{D&&s(D,"constructor")&&D.constructor?n&&h(L,"prototype",{writable:!1}):L.prototype&&(L.prototype=void 0)}catch(j){}var T=m(L);return s(T,"source")||(T.source=C($,typeof B=="string"?B:"")),L};Function.prototype.toString=N(function(){return o(this)&&g(this).source||l(this)},"toString")},85623:function(b,y,e){var a=e(11700),t=Map.prototype;b.exports={Map,set:a(t.set),get:a(t.get),has:a(t.has),remove:a(t.delete),proto:t}},46782:function(b,y,e){var a=e(11700),t=e(95060),o=e(85623),s=o.Map,n=o.proto,d=a(n.forEach),l=a(n.entries),c=l(new s).next;b.exports=function(m,g,M){return M?t(l(m),function(h){return g(h[1],h[0])},c):d(m,g)}},32171:function(b,y,e){"use strict";var a=e(68029),t=e(31927),o=e(6508),s=e(78958),n=TypeError;b.exports=function(l,c){var m=s(this),g=t(m.get),M=t(m.has),h=t(m.set),S=arguments.length>2?arguments[2]:void 0,w;if(!o(c)&&!o(S))throw n("At least one callback required");return a(M,m,l)?(w=a(g,m,l),o(c)&&(w=c(w),a(h,m,l,w))):o(S)&&(w=S(),a(h,m,l,w)),w}},18749:function(b,y,e){var a=e(75169),t=Math.abs,o=Math.pow,s=o(2,-52),n=o(2,-23),d=o(2,127)*(2-n),l=o(2,-126),c=function(m){return m+1/s-1/s};b.exports=Math.fround||function(g){var M=+g,h=t(M),S=a(M),w,C;return hd||C!=C?S*(1/0):S*C)}},15129:function(b){b.exports=Math.scale||function(e,a,t,o,s){var n=+e,d=+a,l=+t,c=+o,m=+s;return n!=n||d!=d||l!=l||c!=c||m!=m?NaN:n===1/0||n===-1/0?n:(n-d)*(m-c)/(l-d)+c}},75169:function(b){b.exports=Math.sign||function(e){var a=+e;return a==0||a!=a?a:a<0?-1:1}},18243:function(b){var y=Math.ceil,e=Math.floor;b.exports=Math.trunc||function(t){var o=+t;return(o>0?e:y)(o)}},66286:function(b,y,e){var a=e(77149);b.exports=!a(function(){var t="9007199254740993",o=JSON.rawJSON(t);return!JSON.isRawJSON(o)||JSON.stringify(o)!==t})},71440:function(b,y,e){"use strict";var a=e(31927),t=TypeError,o=function(s){var n,d;this.promise=new s(function(l,c){if(n!==void 0||d!==void 0)throw t("Bad Promise constructor");n=l,d=c}),this.resolve=a(n),this.reject=a(d)};b.exports.f=function(s){return new o(s)}},9280:function(b,y,e){var a=e(68424);b.exports=function(t,o){return t===void 0?arguments.length<2?"":o:a(t)}},29597:function(b){var y=RangeError;b.exports=function(e){if(e===e)return e;throw y("NaN is not allowed")}},54633:function(b,y,e){var a=e(53065),t=a.isFinite;b.exports=Number.isFinite||function(s){return typeof s=="number"&&t(s)}},35323:function(b,y,e){var a=e(53065),t=e(77149),o=e(11700),s=e(68424),n=e(53761).trim,d=e(91289),l=a.parseInt,c=a.Symbol,m=c&&c.iterator,g=/^[+-]?0x/i,M=o(g.exec),h=l(d+"08")!==8||l(d+"0x16")!==22||m&&!t(function(){l(Object(m))});b.exports=h?function(w,C){var z=n(s(w));return l(z,C>>>0||(M(g,z)?16:10))}:l},73126:function(b,y,e){"use strict";var a=e(71584),t=e(87821),o=e(76835),s=e(74883),n=e(33225),d=e(97867).f,l=e(57759),c="Incorrect Iterator.range arguments",m="NumericRangeIterator",g=a.set,M=a.getterFor(m),h=RangeError,S=TypeError,w=t(function($,N,L,B,D,T){if(typeof $!=B||N!==1/0&&N!==-1/0&&typeof N!=B)throw S(c);if($===1/0||$===-1/0)throw h(c);var j=N>$,K=!1,k;if(L===void 0)k=void 0;else if(n(L))k=L.step,K=!!L.inclusive;else if(typeof L==B)k=L;else throw S(c);if(s(k)&&(k=j?T:-T),typeof k!=B)throw S(c);if(k===1/0||k===-1/0||k===D&&$!==N)throw h(c);var te=$!=$||N!=N||k!=k||N>$!=k>D;g(this,{type:m,start:$,end:N,step:k,inclusiveEnd:K,hitsEnd:te,currentCount:D,zero:D}),l||(this.start=$,this.end=N,this.step=k,this.inclusive=K)},m,function(){var $=M(this);if($.hitsEnd)return o(void 0,!0);var N=$.start,L=$.end,B=$.step,D=N+B*$.currentCount++;D===L&&($.hitsEnd=!0);var T=$.inclusiveEnd,j;return L>N?j=T?D>L:D>=L:j=T?L>D:L>=D,j?($.hitsEnd=!0,o(void 0,!0)):o(D,!1)}),C=function(z){return{get:z,set:function(){},configurable:!0,enumerable:!1}};l&&d(w.prototype,{start:C(function(){return M(this).start}),end:C(function(){return M(this).end}),inclusive:C(function(){return M(this).inclusiveEnd}),step:C(function(){return M(this).step})}),b.exports=w},34552:function(b,y,e){var a=e(78958),t=e(97867),o=e(68150),s=e(17859),n=e(8199),d=e(75074),l=e(39376),c=">",m="<",g="prototype",M="script",h=l("IE_PROTO"),S=function(){},w=function(L){return m+M+c+L+m+"/"+M+c},C=function(L){L.write(w("")),L.close();var B=L.parentWindow.Object;return L=null,B},z=function(){var L=d("iframe"),B="java"+M+":",D;return L.style.display="none",n.appendChild(L),L.src=String(B),D=L.contentWindow.document,D.open(),D.write(w("document.F=Object")),D.close(),D.F},$,N=function(){try{$=new ActiveXObject("htmlfile")}catch(B){}N=typeof document!="undefined"?document.domain&&$?C($):z():C($);for(var L=o.length;L--;)delete N[g][o[L]];return N()};s[h]=!0,b.exports=Object.create||function(B,D){var T;return B!==null?(S[g]=a(B),T=new S,S[g]=null,T[h]=B):T=N(),D===void 0?T:t.f(T,D)}},97867:function(b,y,e){var a=e(57759),t=e(63980),o=e(38248),s=e(78958),n=e(514),d=e(71691);y.f=a&&!t?Object.defineProperties:function(c,m){s(c);for(var g=n(m),M=d(m),h=M.length,S=0,w;h>S;)o.f(c,w=M[S++],g[w]);return c}},38248:function(b,y,e){var a=e(57759),t=e(96335),o=e(63980),s=e(78958),n=e(76846),d=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,m="enumerable",g="configurable",M="writable";y.f=a?o?function(S,w,C){if(s(S),w=n(w),s(C),typeof S=="function"&&w==="prototype"&&"value"in C&&M in C&&!C[M]){var z=c(S,w);z&&z[M]&&(S[w]=C.value,C={configurable:g in C?C[g]:z[g],enumerable:m in C?C[m]:z[m],writable:!1})}return l(S,w,C)}:l:function(S,w,C){if(s(S),w=n(w),s(C),t)try{return l(S,w,C)}catch(z){}if("get"in C||"set"in C)throw d("Accessors not supported");return"value"in C&&(S[w]=C.value),S}},91042:function(b,y,e){var a=e(57759),t=e(68029),o=e(83688),s=e(87971),n=e(514),d=e(76846),l=e(26583),c=e(96335),m=Object.getOwnPropertyDescriptor;y.f=a?m:function(M,h){if(M=n(M),h=d(h),c)try{return m(M,h)}catch(S){}if(l(M,h))return s(!t(o.f,M,h),M[h])}},56647:function(b,y,e){var a=e(88596),t=e(514),o=e(94561).f,s=e(81469),n=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(l){try{return o(l)}catch(c){return s(n)}};b.exports.f=function(c){return n&&a(c)=="Window"?d(c):o(t(c))}},94561:function(b,y,e){var a=e(4482),t=e(68150),o=t.concat("length","prototype");y.f=Object.getOwnPropertyNames||function(n){return a(n,o)}},10290:function(b,y){y.f=Object.getOwnPropertySymbols},77767:function(b,y,e){var a=e(26583),t=e(6508),o=e(64441),s=e(39376),n=e(80978),d=s("IE_PROTO"),l=Object,c=l.prototype;b.exports=n?l.getPrototypeOf:function(m){var g=o(m);if(a(g,d))return g[d];var M=g.constructor;return t(M)&&g instanceof M?M.prototype:g instanceof l?c:null}},50175:function(b,y,e){var a=e(77149),t=e(33225),o=e(88596),s=e(23932),n=Object.isExtensible,d=a(function(){n(1)});b.exports=d||s?function(c){return!t(c)||s&&o(c)=="ArrayBuffer"?!1:n?n(c):!0}:n},72901:function(b,y,e){var a=e(11700);b.exports=a({}.isPrototypeOf)},65556:function(b,y,e){"use strict";var a=e(71584),t=e(87821),o=e(76835),s=e(26583),n=e(71691),d=e(64441),l="Object Iterator",c=a.set,m=a.getterFor(l);b.exports=t(function(M,h){var S=d(M);c(this,{type:l,mode:h,object:S,keys:n(S),index:0})},"Object",function(){for(var M=m(this),h=M.keys;;){if(h===null||M.index>=h.length)return M.object=M.keys=null,o(void 0,!0);var S=h[M.index++],w=M.object;if(s(w,S)){switch(M.mode){case"keys":return o(S,!1);case"values":return o(w[S],!1)}return o([S,w[S]],!1)}}})},4482:function(b,y,e){var a=e(11700),t=e(26583),o=e(514),s=e(63795).indexOf,n=e(17859),d=a([].push);b.exports=function(l,c){var m=o(l),g=0,M=[],h;for(h in m)!t(n,h)&&t(m,h)&&d(M,h);for(;c.length>g;)t(m,h=c[g++])&&(~s(M,h)||d(M,h));return M}},71691:function(b,y,e){var a=e(4482),t=e(68150);b.exports=Object.keys||function(s){return a(s,t)}},83688:function(b,y){"use strict";var e={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,t=a&&!e.call({1:2},1);y.f=t?function(s){var n=a(this,s);return!!n&&n.enumerable}:e},63332:function(b,y,e){var a=e(12719),t=e(78958),o=e(66961);b.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,n={},d;try{d=a(Object.prototype,"__proto__","set"),d(n,[]),s=n instanceof Array}catch(l){}return function(c,m){return t(c),o(m),s?d(c,m):c.__proto__=m,c}}():void 0)},88818:function(b,y,e){var a=e(53065),t=e(6508),o=e(77740),s=o("observable"),n=a.Observable,d=n&&n.prototype;b.exports=!t(n)||!t(n.from)||!t(n.of)||!t(d.subscribe)||!t(d[s])},54026:function(b,y,e){var a=e(68029),t=e(6508),o=e(33225),s=TypeError;b.exports=function(n,d){var l,c;if(d==="string"&&t(l=n.toString)&&!o(c=a(l,n))||t(l=n.valueOf)&&!o(c=a(l,n))||d!=="string"&&t(l=n.toString)&&!o(c=a(l,n)))return c;throw s("Can't convert object to primitive value")}},60999:function(b,y,e){var a=e(42725),t=e(11700),o=e(94561),s=e(10290),n=e(78958),d=t([].concat);b.exports=a("Reflect","ownKeys")||function(c){var m=o.f(n(c)),g=s.f;return g?d(m,g(c)):m}},12539:function(b,y,e){var a=e(11700),t=e(26583),o=SyntaxError,s=parseInt,n=String.fromCharCode,d=a("".charAt),l=a("".slice),c=a(/./.exec),m={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":` -`,"\\r":"\r","\\t":" "},g=/^[\da-f]{4}$/i,M=/^[\u0000-\u001F]$/;b.exports=function(h,S){for(var w=!0,C="";Sh,z=o(S)?S:c(S),$=C?d(arguments,h):[],N=C?function(){t(z,this,$)}:z;return M?g(N,w):g(N)}:g}},38684:function(b,y,e){var a=e(23313),t=e(22731),o=a.Set,s=a.add;b.exports=function(n){var d=new o;return t(n,function(l){s(d,l)}),d}},53505:function(b,y,e){"use strict";var a=e(77318),t=e(23313),o=e(38684),s=e(17085),n=e(35710),d=e(22731),l=e(95060),c=t.has,m=t.remove;b.exports=function(M){var h=a(this),S=n(M),w=o(h);return s(h)<=S.size?d(h,function(C){S.includes(C)&&m(w,C)}):l(S.getIterator(),function(C){c(h,C)&&m(w,C)}),w}},23313:function(b,y,e){var a=e(11700),t=Set.prototype;b.exports={Set,add:a(t.add),has:a(t.has),remove:a(t.delete),proto:t,$has:t.has,$keys:t.keys}},51737:function(b,y,e){"use strict";var a=e(77318),t=e(23313),o=e(17085),s=e(35710),n=e(22731),d=e(95060),l=t.Set,c=t.add,m=t.has,g=t.$has,M=t.$keys,h=function(S){return S.has===g&&S.keys===M};b.exports=function(w){var C=a(this),z=s(w),$=new l;if(!h(z)&&o(C)>z.size){if(d(z.getIterator(),function(L){m(C,L)&&c($,L)}),o($)<2)return $;var N=$;$=new l,n(C,function(L){m(N,L)&&c($,L)})}else n(C,function(L){z.includes(L)&&c($,L)});return $}},46149:function(b,y,e){"use strict";var a=e(77318),t=e(23313).has,o=e(17085),s=e(35710),n=e(22731),d=e(95060),l=e(40164);b.exports=function(m){var g=a(this),M=s(m);if(o(g)<=M.size)return n(g,function(S){if(M.includes(S))return!1},!0)!==!1;var h=M.getIterator();return d(h,function(S){if(t(g,S))return l(h,"normal",!1)})!==!1}},99527:function(b,y,e){"use strict";var a=e(77318),t=e(17085),o=e(22731),s=e(35710);b.exports=function(d){var l=a(this),c=s(d);return t(l)>c.size?!1:o(l,function(m){if(!c.includes(m))return!1},!0)!==!1}},20698:function(b,y,e){"use strict";var a=e(77318),t=e(23313).has,o=e(17085),s=e(35710),n=e(95060),d=e(40164);b.exports=function(c){var m=a(this),g=s(c);if(o(m)=w?m?"":void 0:(C=d(h,S),C<55296||C>56319||S+1===w||(z=d(h,S+1))<56320||z>57343?m?n(h,S):C:m?l(h,S,S+2):(C-55296<<10)+(z-56320)+65536)}};b.exports={codeAt:c(!1),charAt:c(!0)}},81089:function(b,y,e){var a=e(42725),t=e(11700),o=String.fromCharCode,s=a("String","fromCodePoint"),n=t("".charAt),d=t("".charCodeAt),l=t("".indexOf),c=t("".slice),m=48,g=57,M=97,h=102,S=65,w=70,C=function(N,L){var B=d(N,L);return B>=m&&B<=g},z=function(N,L,B){if(B>=N.length)return-1;for(var D=0;L=m&&N<=g?N-m:N>=M&&N<=h?N-M+10:N>=S&&N<=w?N-S+10:-1};b.exports=function(N){for(var L="",B=0,D=0,T;(D=l(N,"\\",D))>-1;){if(L+=c(N,B,D),++D===N.length)return;var j=n(N,D++);switch(j){case"b":L+="\b";break;case"t":L+=" ";break;case"n":L+=` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),me=new RegExp("(?:^"+ae+"$)|(?:^"+ie+"$)"),je=new RegExp("^"+ae+"$"),Ee=new RegExp("^"+ie+"$"),Me=function(st){return st&&st.exact?me:new RegExp("(?:"+P(st)+ae+P(st)+")|(?:"+P(st)+ie+P(st)+")","g")};Me.v4=function(Ne){return Ne&&Ne.exact?je:new RegExp(""+P(Ne)+ae+P(Ne),"g")},Me.v6=function(Ne){return Ne&&Ne.exact?Ee:new RegExp(""+P(Ne)+ie+P(Ne),"g")};var We="(?:(?:[a-z]+:)?//)",re="(?:\\S+(?::\\S*)?@)?",se=Me.v4().source,J=Me.v6().source,de="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",xe="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",ce="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Le="(?::\\d{2,5})?",Oe='(?:[/?#][^\\s"]*)?',we="(?:"+We+"|www\\.)"+re+"(?:localhost|"+se+"|"+J+"|"+de+xe+ce+")"+Le+Oe;return V=new RegExp("(?:^"+we+"$)","i"),V},le={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},X={integer:function(P){return X.number(P)&&parseInt(P,10)===P},float:function(P){return X.number(P)&&!X.integer(P)},array:function(P){return Array.isArray(P)},regexp:function(P){if(P instanceof RegExp)return!0;try{return!!new RegExp(P)}catch(ae){return!1}},date:function(P){return typeof P.getTime=="function"&&typeof P.getMonth=="function"&&typeof P.getYear=="function"&&!isNaN(P.getTime())},number:function(P){return isNaN(P)?!1:typeof P=="number"},object:function(P){return typeof P=="object"&&!X.array(P)},method:function(P){return typeof P=="function"},email:function(P){return typeof P=="string"&&P.length<=320&&!!P.match(le.email)},url:function(P){return typeof P=="string"&&P.length<=2048&&!!P.match(q())},hex:function(P){return typeof P=="string"&&!!P.match(le.hex)}},W=function(P,ae,Q,ie,me){if(P.required&&ae===void 0){k(P,ae,Q,ie,me);return}var je=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ee=P.type;je.indexOf(Ee)>-1?X[Ee](ae)||ie.push(S(me.messages.types[Ee],P.fullField,P.type)):Ee&&typeof ae!==P.type&&ie.push(S(me.messages.types[Ee],P.fullField,P.type))},x=function(P,ae,Q,ie,me){var je=typeof P.len=="number",Ee=typeof P.min=="number",Me=typeof P.max=="number",We=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,re=ae,se=null,J=typeof ae=="number",de=typeof ae=="string",xe=Array.isArray(ae);if(J?se="number":de?se="string":xe&&(se="array"),!se)return!1;xe&&(re=ae.length),de&&(re=ae.replace(We,"_").length),je?re!==P.len&&ie.push(S(me.messages[se].len,P.fullField,P.len)):Ee&&!Me&&reP.max?ie.push(S(me.messages[se].max,P.fullField,P.max)):Ee&&Me&&(reP.max)&&ie.push(S(me.messages[se].range,P.fullField,P.min,P.max))},O="enum",_=function(P,ae,Q,ie,me){P[O]=Array.isArray(P[O])?P[O]:[],P[O].indexOf(ae)===-1&&ie.push(S(me.messages[O],P.fullField,P[O].join(", ")))},U=function(P,ae,Q,ie,me){if(P.pattern){if(P.pattern instanceof RegExp)P.pattern.lastIndex=0,P.pattern.test(ae)||ie.push(S(me.messages.pattern.mismatch,P.fullField,ae,P.pattern));else if(typeof P.pattern=="string"){var je=new RegExp(P.pattern);je.test(ae)||ie.push(S(me.messages.pattern.mismatch,P.fullField,ae,P.pattern))}}},A={required:k,whitespace:te,type:W,range:x,enum:_,pattern:U},G=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae,"string")&&!P.required)return Q();A.required(P,ae,ie,je,me,"string"),C(ae,"string")||(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me),A.pattern(P,ae,ie,je,me),P.whitespace===!0&&A.whitespace(P,ae,ie,je,me))}Q(je)},fe=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A.type(P,ae,ie,je,me)}Q(je)},pe=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(ae===""&&(ae=void 0),C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},ge=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A.type(P,ae,ie,je,me)}Q(je)},be=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),C(ae)||A.type(P,ae,ie,je,me)}Q(je)},Te=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},Ge=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},Je=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(ae==null&&!P.required)return Q();A.required(P,ae,ie,je,me,"array"),ae!=null&&(A.type(P,ae,ie,je,me),A.range(P,ae,ie,je,me))}Q(je)},Qe=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A.type(P,ae,ie,je,me)}Q(je)},pt="enum",Et=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me),ae!==void 0&&A[pt](P,ae,ie,je,me)}Q(je)},ft=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae,"string")&&!P.required)return Q();A.required(P,ae,ie,je,me),C(ae,"string")||A.pattern(P,ae,ie,je,me)}Q(je)},Wt=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae,"date")&&!P.required)return Q();if(A.required(P,ae,ie,je,me),!C(ae,"date")){var Me;ae instanceof Date?Me=ae:Me=new Date(ae),A.type(P,Me,ie,je,me),Me&&A.range(P,Me.getTime(),ie,je,me)}}Q(je)},$e=function(P,ae,Q,ie,me){var je=[],Ee=Array.isArray(ae)?"array":typeof ae;A.required(P,ae,ie,je,me,Ee),Q(je)},Xe=function(P,ae,Q,ie,me){var je=P.type,Ee=[],Me=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Me){if(C(ae,je)&&!P.required)return Q();A.required(P,ae,ie,Ee,me,je),C(ae,je)||A.type(P,ae,ie,Ee,me)}Q(Ee)},nt=function(P,ae,Q,ie,me){var je=[],Ee=P.required||!P.required&&ie.hasOwnProperty(P.field);if(Ee){if(C(ae)&&!P.required)return Q();A.required(P,ae,ie,je,me)}Q(je)},Ke={string:G,method:fe,number:pe,boolean:ge,regexp:be,integer:Te,float:Ge,array:Je,object:Qe,enum:Et,pattern:ft,date:Wt,url:Xe,hex:Xe,email:Xe,required:$e,any:nt};function ye(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var P=JSON.parse(JSON.stringify(this));return P.clone=this.clone,P}}}var ne=ye(),H=function(){function R(ae){this.rules=null,this._messages=ne,this.define(ae)}var P=R.prototype;return P.define=function(Q){var ie=this;if(!Q)throw new Error("Cannot configure a schema with no rules");if(typeof Q!="object"||Array.isArray(Q))throw new Error("Rules must be an object");this.rules={},Object.keys(Q).forEach(function(me){var je=Q[me];ie.rules[me]=Array.isArray(je)?je:[je]})},P.messages=function(Q){return Q&&(this._messages=K(ye(),Q)),this._messages},P.validate=function(Q,ie,me){var je=this;ie===void 0&&(ie={}),me===void 0&&(me=function(){});var Ee=Q,Me=ie,We=me;if(typeof Me=="function"&&(We=Me,Me={}),!this.rules||Object.keys(this.rules).length===0)return We&&We(null,Ee),Promise.resolve(Ee);function re(ce){var Le=[],Oe={};function we(st){if(Array.isArray(st)){var et;Le=(et=Le).concat.apply(et,st)}else Le.push(st)}for(var Ne=0;Ne=200&&S<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};t.forEach(["delete","get","head"],function(S){M.headers[S]={}}),t.forEach(["post","put","patch"],function(S){M.headers[S]=t.merge(l)}),b.exports=M},30872:function(b){"use strict";b.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},93424:function(b){b.exports={version:"0.27.2"}},22154:function(b){"use strict";b.exports=function(e,a){return function(){for(var o=new Array(arguments.length),s=0;s=0)return;d==="set-cookie"?n[d]=(n[d]?n[d]:[]).concat([l]):n[d]=n[d]?n[d]+", "+l:l}}),n}},17437:function(b){"use strict";b.exports=function(e){var a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}},64476:function(b){"use strict";b.exports=function(e){return function(t){return e.apply(null,t)}}},90792:function(b,y,e){"use strict";var a=e(21468).lW,t=e(82774);function o(s,n){n=n||new FormData;var d=[];function l(m){return m===null?"":t.isDate(m)?m.toISOString():t.isArrayBuffer(m)||t.isTypedArray(m)?typeof Blob=="function"?new Blob([m]):a.from(m):m}function c(m,g){if(t.isPlainObject(m)||t.isArray(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+g);d.push(m),t.forEach(m,function(h,S){if(!t.isUndefined(h)){var w=g?g+"."+S:S,C;if(h&&!g&&typeof h=="object"){if(t.endsWith(S,"{}"))h=JSON.stringify(h);else if(t.endsWith(S,"[]")&&(C=t.toArray(h))){C.forEach(function(F){!t.isUndefined(F)&&n.append(w,l(F))});return}}c(h,w)}}),d.pop()}else n.append(g,l(m))}return c(s),n}b.exports=o},73215:function(b,y,e){"use strict";var a=e(93424).version,t=e(44936),o={};["object","boolean","number","function","string","symbol"].forEach(function(d,l){o[d]=function(m){return typeof m===d||"a"+(l<1?"n ":" ")+d}});var s={};o.transitional=function(l,c,m){function g(M,h){return"[Axios v"+a+"] Transitional option '"+M+"'"+h+(m?". "+m:"")}return function(M,h,S){if(l===!1)throw new t(g(h," has been removed"+(c?" in "+c:"")),t.ERR_DEPRECATED);return c&&!s[h]&&(s[h]=!0,console.warn(g(h," has been deprecated since v"+c+" and will be removed in the near future"))),l?l(M,h,S):!0}};function n(d,l,c){if(typeof d!="object")throw new t("options must be an object",t.ERR_BAD_OPTION_VALUE);for(var m=Object.keys(d),g=m.length;g-- >0;){var M=m[g],h=l[M];if(h){var S=d[M],w=S===void 0||h(S,M,d);if(w!==!0)throw new t("option "+M+" must be "+w,t.ERR_BAD_OPTION_VALUE);continue}if(c!==!0)throw new t("Unknown option "+M,t.ERR_BAD_OPTION)}}b.exports={assertOptions:n,validators:o}},82774:function(b,y,e){"use strict";var a=e(22154),t=Object.prototype.toString,o=function(O){return function(_){var U=t.call(_);return O[U]||(O[U]=U.slice(8,-1).toLowerCase())}}(Object.create(null));function s(O){return O=O.toLowerCase(),function(U){return o(U)===O}}function n(O){return Array.isArray(O)}function d(O){return typeof O=="undefined"}function l(O){return O!==null&&!d(O)&&O.constructor!==null&&!d(O.constructor)&&typeof O.constructor.isBuffer=="function"&&O.constructor.isBuffer(O)}var c=s("ArrayBuffer");function m(O){var _;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?_=ArrayBuffer.isView(O):_=O&&O.buffer&&c(O.buffer),_}function g(O){return typeof O=="string"}function M(O){return typeof O=="number"}function h(O){return O!==null&&typeof O=="object"}function S(O){if(o(O)!=="object")return!1;var _=Object.getPrototypeOf(O);return _===null||_===Object.prototype}var w=s("Date"),C=s("File"),F=s("Blob"),Z=s("FileList");function N(O){return t.call(O)==="[object Function]"}function L(O){return h(O)&&N(O.pipe)}function $(O){var _="[object FormData]";return O&&(typeof FormData=="function"&&O instanceof FormData||t.call(O)===_||N(O.toString)&&O.toString()===_)}var D=s("URLSearchParams");function T(O){return O.trim?O.trim():O.replace(/^\s+|\s+$/g,"")}function j(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function K(O,_){if(!(O===null||typeof O=="undefined"))if(typeof O!="object"&&(O=[O]),n(O))for(var U=0,A=O.length;U0;)fe=A[G],pe[fe]||(_[fe]=O[fe],pe[fe]=!0);O=Object.getPrototypeOf(O)}while(O&&(!U||U(O,_))&&O!==Object.prototype);return _}function X(O,_,U){O=String(O),(U===void 0||U>O.length)&&(U=O.length),U-=_.length;var A=O.indexOf(_,U);return A!==-1&&A===U}function W(O){if(!O)return null;var _=O.length;if(d(_))return null;for(var U=new Array(_);_-- >0;)U[_]=O[_];return U}var x=function(O){return function(_){return O&&_ instanceof O}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array));b.exports={isArray:n,isArrayBuffer:c,isBuffer:l,isFormData:$,isArrayBufferView:m,isString:g,isNumber:M,isObject:h,isPlainObject:S,isUndefined:d,isDate:w,isFile:C,isBlob:F,isFunction:N,isStream:L,isURLSearchParams:D,isStandardBrowserEnv:j,forEach:K,merge:k,extend:te,trim:T,stripBOM:V,inherits:q,toFlatObject:le,kindOf:o,kindOfTest:s,endsWith:X,toArray:W,isTypedArray:x,isFileList:Z}},26446:function(b,y){"use strict";y.byteLength=l,y.toByteArray=m,y.fromByteArray=h;for(var e=[],a=[],t=typeof Uint8Array!="undefined"?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,n=o.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var C=S.indexOf("=");C===-1&&(C=w);var F=C===w?0:4-C%4;return[C,F]}function l(S){var w=d(S),C=w[0],F=w[1];return(C+F)*3/4-F}function c(S,w,C){return(w+C)*3/4-C}function m(S){var w,C=d(S),F=C[0],Z=C[1],N=new t(c(S,F,Z)),L=0,$=Z>0?F-4:F,D;for(D=0;D<$;D+=4)w=a[S.charCodeAt(D)]<<18|a[S.charCodeAt(D+1)]<<12|a[S.charCodeAt(D+2)]<<6|a[S.charCodeAt(D+3)],N[L++]=w>>16&255,N[L++]=w>>8&255,N[L++]=w&255;return Z===2&&(w=a[S.charCodeAt(D)]<<2|a[S.charCodeAt(D+1)]>>4,N[L++]=w&255),Z===1&&(w=a[S.charCodeAt(D)]<<10|a[S.charCodeAt(D+1)]<<4|a[S.charCodeAt(D+2)]>>2,N[L++]=w>>8&255,N[L++]=w&255),N}function g(S){return e[S>>18&63]+e[S>>12&63]+e[S>>6&63]+e[S&63]}function M(S,w,C){for(var F,Z=[],N=w;N$?$:L+N));return F===1?(w=S[C-1],Z.push(e[w>>2]+e[w<<4&63]+"==")):F===2&&(w=(S[C-2]<<8)+S[C-1],Z.push(e[w>>10]+e[w>>4&63]+e[w<<2&63]+"=")),Z.join("")}},21468:function(b,y,e){"use strict";var a;var t=e(26446),o=e(47164),s=e(23161);y.lW=c,a=N,y.h2=50,c.TYPED_ARRAY_SUPPORT=e.g.TYPED_ARRAY_SUPPORT!==void 0?e.g.TYPED_ARRAY_SUPPORT:n(),a=d();function n(){try{var ne=new Uint8Array(1);return ne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ne.foo()===42&&typeof ne.subarray=="function"&&ne.subarray(1,1).byteLength===0}catch(H){return!1}}function d(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(ne,H){if(d()=d())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+d().toString(16)+" bytes");return ne|0}function N(ne){return+ne!=ne&&(ne=0),c.alloc(+ne)}c.isBuffer=function(H){return!!(H!=null&&H._isBuffer)},c.compare=function(H,R){if(!c.isBuffer(H)||!c.isBuffer(R))throw new TypeError("Arguments must be Buffers");if(H===R)return 0;for(var P=H.length,ae=R.length,Q=0,ie=Math.min(P,ae);Q>>1;case"base64":return nt(ne).length;default:if(P)return Wt(ne).length;H=(""+H).toLowerCase(),P=!0}}c.byteLength=L;function $(ne,H,R){var P=!1;if((H===void 0||H<0)&&(H=0),H>this.length||((R===void 0||R>this.length)&&(R=this.length),R<=0)||(R>>>=0,H>>>=0,R<=H))return"";for(ne||(ne="utf8");;)switch(ne){case"hex":return A(this,H,R);case"utf8":case"utf-8":return W(this,H,R);case"ascii":return _(this,H,R);case"latin1":case"binary":return U(this,H,R);case"base64":return X(this,H,R);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,H,R);default:if(P)throw new TypeError("Unknown encoding: "+ne);ne=(ne+"").toLowerCase(),P=!0}}c.prototype._isBuffer=!0;function D(ne,H,R){var P=ne[H];ne[H]=ne[R],ne[R]=P}c.prototype.swap16=function(){var H=this.length;if(H%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var R=0;R0&&(H=this.toString("hex",0,R).match(/.{2}/g).join(" "),this.length>R&&(H+=" ... ")),""},c.prototype.compare=function(H,R,P,ae,Q){if(!c.isBuffer(H))throw new TypeError("Argument must be a Buffer");if(R===void 0&&(R=0),P===void 0&&(P=H?H.length:0),ae===void 0&&(ae=0),Q===void 0&&(Q=this.length),R<0||P>H.length||ae<0||Q>this.length)throw new RangeError("out of range index");if(ae>=Q&&R>=P)return 0;if(ae>=Q)return-1;if(R>=P)return 1;if(R>>>=0,P>>>=0,ae>>>=0,Q>>>=0,this===H)return 0;for(var ie=Q-ae,me=P-R,je=Math.min(ie,me),Ee=this.slice(ae,Q),Me=H.slice(R,P),We=0;We2147483647?R=2147483647:R<-2147483648&&(R=-2147483648),R=+R,isNaN(R)&&(R=ae?0:ne.length-1),R<0&&(R=ne.length+R),R>=ne.length){if(ae)return-1;R=ne.length-1}else if(R<0)if(ae)R=0;else return-1;if(typeof H=="string"&&(H=c.from(H,P)),c.isBuffer(H))return H.length===0?-1:j(ne,H,R,P,ae);if(typeof H=="number")return H=H&255,c.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?ae?Uint8Array.prototype.indexOf.call(ne,H,R):Uint8Array.prototype.lastIndexOf.call(ne,H,R):j(ne,[H],R,P,ae);throw new TypeError("val must be string, number or Buffer")}function j(ne,H,R,P,ae){var Q=1,ie=ne.length,me=H.length;if(P!==void 0&&(P=String(P).toLowerCase(),P==="ucs2"||P==="ucs-2"||P==="utf16le"||P==="utf-16le")){if(ne.length<2||H.length<2)return-1;Q=2,ie/=2,me/=2,R/=2}function je(se,J){return Q===1?se[J]:se.readUInt16BE(J*Q)}var Ee;if(ae){var Me=-1;for(Ee=R;Eeie&&(R=ie-me),Ee=R;Ee>=0;Ee--){for(var We=!0,re=0;reae&&(P=ae)):P=ae;var Q=H.length;if(Q%2!==0)throw new TypeError("Invalid hex string");P>Q/2&&(P=Q/2);for(var ie=0;ieQ)&&(P=Q),H.length>0&&(P<0||R<0)||R>this.length)throw new RangeError("Attempt to write outside buffer bounds");ae||(ae="utf8");for(var ie=!1;;)switch(ae){case"hex":return K(this,H,R,P);case"utf8":case"utf-8":return k(this,H,R,P);case"ascii":return te(this,H,R,P);case"latin1":case"binary":return V(this,H,R,P);case"base64":return q(this,H,R,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return le(this,H,R,P);default:if(ie)throw new TypeError("Unknown encoding: "+ae);ae=(""+ae).toLowerCase(),ie=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function X(ne,H,R){return H===0&&R===ne.length?t.fromByteArray(ne):t.fromByteArray(ne.slice(H,R))}function W(ne,H,R){R=Math.min(ne.length,R);for(var P=[],ae=H;ae239?4:Q>223?3:Q>191?2:1;if(ae+me<=R){var je,Ee,Me,We;switch(me){case 1:Q<128&&(ie=Q);break;case 2:je=ne[ae+1],(je&192)===128&&(We=(Q&31)<<6|je&63,We>127&&(ie=We));break;case 3:je=ne[ae+1],Ee=ne[ae+2],(je&192)===128&&(Ee&192)===128&&(We=(Q&15)<<12|(je&63)<<6|Ee&63,We>2047&&(We<55296||We>57343)&&(ie=We));break;case 4:je=ne[ae+1],Ee=ne[ae+2],Me=ne[ae+3],(je&192)===128&&(Ee&192)===128&&(Me&192)===128&&(We=(Q&15)<<18|(je&63)<<12|(Ee&63)<<6|Me&63,We>65535&&We<1114112&&(ie=We))}}ie===null?(ie=65533,me=1):ie>65535&&(ie-=65536,P.push(ie>>>10&1023|55296),ie=56320|ie&1023),P.push(ie),ae+=me}return O(P)}var x=4096;function O(ne){var H=ne.length;if(H<=x)return String.fromCharCode.apply(String,ne);for(var R="",P=0;PP)&&(R=P);for(var ae="",Q=H;QP&&(H=P),R<0?(R+=P,R<0&&(R=0)):R>P&&(R=P),RR)throw new RangeError("Trying to access beyond buffer length")}c.prototype.readUIntLE=function(H,R,P){H=H|0,R=R|0,P||fe(H,R,this.length);for(var ae=this[H],Q=1,ie=0;++ie0&&(Q*=256);)ae+=this[H+--R]*Q;return ae},c.prototype.readUInt8=function(H,R){return R||fe(H,1,this.length),this[H]},c.prototype.readUInt16LE=function(H,R){return R||fe(H,2,this.length),this[H]|this[H+1]<<8},c.prototype.readUInt16BE=function(H,R){return R||fe(H,2,this.length),this[H]<<8|this[H+1]},c.prototype.readUInt32LE=function(H,R){return R||fe(H,4,this.length),(this[H]|this[H+1]<<8|this[H+2]<<16)+this[H+3]*16777216},c.prototype.readUInt32BE=function(H,R){return R||fe(H,4,this.length),this[H]*16777216+(this[H+1]<<16|this[H+2]<<8|this[H+3])},c.prototype.readIntLE=function(H,R,P){H=H|0,R=R|0,P||fe(H,R,this.length);for(var ae=this[H],Q=1,ie=0;++ie=Q&&(ae-=Math.pow(2,8*R)),ae},c.prototype.readIntBE=function(H,R,P){H=H|0,R=R|0,P||fe(H,R,this.length);for(var ae=R,Q=1,ie=this[H+--ae];ae>0&&(Q*=256);)ie+=this[H+--ae]*Q;return Q*=128,ie>=Q&&(ie-=Math.pow(2,8*R)),ie},c.prototype.readInt8=function(H,R){return R||fe(H,1,this.length),this[H]&128?(255-this[H]+1)*-1:this[H]},c.prototype.readInt16LE=function(H,R){R||fe(H,2,this.length);var P=this[H]|this[H+1]<<8;return P&32768?P|4294901760:P},c.prototype.readInt16BE=function(H,R){R||fe(H,2,this.length);var P=this[H+1]|this[H]<<8;return P&32768?P|4294901760:P},c.prototype.readInt32LE=function(H,R){return R||fe(H,4,this.length),this[H]|this[H+1]<<8|this[H+2]<<16|this[H+3]<<24},c.prototype.readInt32BE=function(H,R){return R||fe(H,4,this.length),this[H]<<24|this[H+1]<<16|this[H+2]<<8|this[H+3]},c.prototype.readFloatLE=function(H,R){return R||fe(H,4,this.length),o.read(this,H,!0,23,4)},c.prototype.readFloatBE=function(H,R){return R||fe(H,4,this.length),o.read(this,H,!1,23,4)},c.prototype.readDoubleLE=function(H,R){return R||fe(H,8,this.length),o.read(this,H,!0,52,8)},c.prototype.readDoubleBE=function(H,R){return R||fe(H,8,this.length),o.read(this,H,!1,52,8)};function pe(ne,H,R,P,ae,Q){if(!c.isBuffer(ne))throw new TypeError('"buffer" argument must be a Buffer instance');if(H>ae||Hne.length)throw new RangeError("Index out of range")}c.prototype.writeUIntLE=function(H,R,P,ae){if(H=+H,R=R|0,P=P|0,!ae){var Q=Math.pow(2,8*P)-1;pe(this,H,R,P,Q,0)}var ie=1,me=0;for(this[R]=H&255;++me=0&&(me*=256);)this[R+ie]=H/me&255;return R+P},c.prototype.writeUInt8=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,1,255,0),c.TYPED_ARRAY_SUPPORT||(H=Math.floor(H)),this[R]=H&255,R+1};function ge(ne,H,R,P){H<0&&(H=65535+H+1);for(var ae=0,Q=Math.min(ne.length-R,2);ae>>(P?ae:1-ae)*8}c.prototype.writeUInt16LE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=H&255,this[R+1]=H>>>8):ge(this,H,R,!0),R+2},c.prototype.writeUInt16BE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>8,this[R+1]=H&255):ge(this,H,R,!1),R+2};function be(ne,H,R,P){H<0&&(H=4294967295+H+1);for(var ae=0,Q=Math.min(ne.length-R,4);ae>>(P?ae:3-ae)*8&255}c.prototype.writeUInt32LE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R+3]=H>>>24,this[R+2]=H>>>16,this[R+1]=H>>>8,this[R]=H&255):be(this,H,R,!0),R+4},c.prototype.writeUInt32BE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>24,this[R+1]=H>>>16,this[R+2]=H>>>8,this[R+3]=H&255):be(this,H,R,!1),R+4},c.prototype.writeIntLE=function(H,R,P,ae){if(H=+H,R=R|0,!ae){var Q=Math.pow(2,8*P-1);pe(this,H,R,P,Q-1,-Q)}var ie=0,me=1,je=0;for(this[R]=H&255;++ie>0)-je&255;return R+P},c.prototype.writeIntBE=function(H,R,P,ae){if(H=+H,R=R|0,!ae){var Q=Math.pow(2,8*P-1);pe(this,H,R,P,Q-1,-Q)}var ie=P-1,me=1,je=0;for(this[R+ie]=H&255;--ie>=0&&(me*=256);)H<0&&je===0&&this[R+ie+1]!==0&&(je=1),this[R+ie]=(H/me>>0)-je&255;return R+P},c.prototype.writeInt8=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,1,127,-128),c.TYPED_ARRAY_SUPPORT||(H=Math.floor(H)),H<0&&(H=255+H+1),this[R]=H&255,R+1},c.prototype.writeInt16LE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=H&255,this[R+1]=H>>>8):ge(this,H,R,!0),R+2},c.prototype.writeInt16BE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>8,this[R+1]=H&255):ge(this,H,R,!1),R+2},c.prototype.writeInt32LE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[R]=H&255,this[R+1]=H>>>8,this[R+2]=H>>>16,this[R+3]=H>>>24):be(this,H,R,!0),R+4},c.prototype.writeInt32BE=function(H,R,P){return H=+H,R=R|0,P||pe(this,H,R,4,2147483647,-2147483648),H<0&&(H=4294967295+H+1),c.TYPED_ARRAY_SUPPORT?(this[R]=H>>>24,this[R+1]=H>>>16,this[R+2]=H>>>8,this[R+3]=H&255):be(this,H,R,!1),R+4};function Te(ne,H,R,P,ae,Q){if(R+P>ne.length)throw new RangeError("Index out of range");if(R<0)throw new RangeError("Index out of range")}function Ge(ne,H,R,P,ae){return ae||Te(ne,H,R,4,34028234663852886e22,-34028234663852886e22),o.write(ne,H,R,P,23,4),R+4}c.prototype.writeFloatLE=function(H,R,P){return Ge(this,H,R,!0,P)},c.prototype.writeFloatBE=function(H,R,P){return Ge(this,H,R,!1,P)};function Je(ne,H,R,P,ae){return ae||Te(ne,H,R,8,17976931348623157e292,-17976931348623157e292),o.write(ne,H,R,P,52,8),R+8}c.prototype.writeDoubleLE=function(H,R,P){return Je(this,H,R,!0,P)},c.prototype.writeDoubleBE=function(H,R,P){return Je(this,H,R,!1,P)},c.prototype.copy=function(H,R,P,ae){if(P||(P=0),!ae&&ae!==0&&(ae=this.length),R>=H.length&&(R=H.length),R||(R=0),ae>0&&ae=this.length)throw new RangeError("sourceStart out of bounds");if(ae<0)throw new RangeError("sourceEnd out of bounds");ae>this.length&&(ae=this.length),H.length-R=0;--ie)H[ie+R]=this[ie+P];else if(Q<1e3||!c.TYPED_ARRAY_SUPPORT)for(ie=0;ie>>0,P=P===void 0?this.length:P>>>0,H||(H=0);var ie;if(typeof H=="number")for(ie=R;ie55295&&R<57344){if(!ae){if(R>56319){(H-=3)>-1&&Q.push(239,191,189);continue}else if(ie+1===P){(H-=3)>-1&&Q.push(239,191,189);continue}ae=R;continue}if(R<56320){(H-=3)>-1&&Q.push(239,191,189),ae=R;continue}R=(ae-55296<<10|R-56320)+65536}else ae&&(H-=3)>-1&&Q.push(239,191,189);if(ae=null,R<128){if((H-=1)<0)break;Q.push(R)}else if(R<2048){if((H-=2)<0)break;Q.push(R>>6|192,R&63|128)}else if(R<65536){if((H-=3)<0)break;Q.push(R>>12|224,R>>6&63|128,R&63|128)}else if(R<1114112){if((H-=4)<0)break;Q.push(R>>18|240,R>>12&63|128,R>>6&63|128,R&63|128)}else throw new Error("Invalid code point")}return Q}function $e(ne){for(var H=[],R=0;R>8,ae=R%256,Q.push(ae),Q.push(P);return Q}function nt(ne){return t.toByteArray(pt(ne))}function Ke(ne,H,R,P){for(var ae=0;ae=H.length||ae>=ne.length);++ae)H[ae+R]=ne[ae];return ae}function ye(ne){return ne!==ne}},87608:function(b,y){var e,a;(function(){"use strict";var t={}.hasOwnProperty,o="[native code]";function s(){for(var n=[],d=0;d1?arguments[1]:void 0,k=j>2?arguments[2]:void 0;return new(M("Promise"))(function(te){var V=o(D);K!==void 0&&(K=a(K,k));var q=m(V,C),le=q?void 0:c(V)||N,X=s(T)?new T:[],W=q?n(V,q):new S(l(d(V,le)));te(w(W,K,X))})}},50112:function(b,y,e){var a=e(89122);b.exports=function(t,o){for(var s=0,n=a(o),d=new t(n);n>s;)d[s]=o[s++];return d}},59765:function(b,y,e){"use strict";var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(89122),d=e(85623),l=d.Map,c=d.get,m=d.has,g=d.set,M=t([].push);b.exports=function(S){for(var w=s(this),C=o(w),F=a(S,arguments.length>1?arguments[1]:void 0),Z=new l,N=n(C),L=0,$,D;N>L;L++)D=C[L],$=F(D,L,w),m(Z,$)?M(c(Z,$),D):g(Z,$,[D]);return Z}},69093:function(b,y,e){var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(76846),d=e(89122),l=e(34552),c=e(50112),m=Array,g=t([].push);b.exports=function(M,h,S,w){for(var C=s(M),F=o(C),Z=a(h,S),N=l(null),L=d(F),$=0,D,T,j;L>$;$++)j=F[$],T=n(Z(j,$,C)),T in N?g(N[T],j):N[T]=[j];if(w&&(D=w(C),D!==m))for(T in N)N[T]=c(D,N[T]);return N}},63795:function(b,y,e){var a=e(514),t=e(71410),o=e(89122),s=function(n){return function(d,l,c){var m=a(d),g=o(m),M=t(c,g),h;if(n&&l!=l){for(;g>M;)if(h=m[M++],h!=h)return!0}else for(;g>M;M++)if((n||M in m)&&m[M]===l)return n||M||0;return!n&&-1}};b.exports={includes:s(!0),indexOf:s(!1)}},17464:function(b,y,e){var a=e(34066),t=e(42414),o=e(64441),s=e(89122),n=function(d){var l=d==1;return function(c,m,g){for(var M=o(c),h=t(M),S=a(m,g),w=s(h),C,F;w-- >0;)if(C=h[w],F=S(C,w,M),F)switch(d){case 0:return C;case 1:return w}return l?-1:void 0}};b.exports={findLast:n(0),findLastIndex:n(1)}},44708:function(b,y,e){var a=e(34066),t=e(11700),o=e(42414),s=e(64441),n=e(89122),d=e(70850),l=t([].push),c=function(m){var g=m==1,M=m==2,h=m==3,S=m==4,w=m==6,C=m==7,F=m==5||w;return function(Z,N,L,$){for(var D=s(Z),T=o(D),j=a(N,L),K=n(T),k=0,te=$||d,V=g?te(Z,K):M||C?te(Z,0):void 0,q,le;K>k;k++)if((F||k in T)&&(q=T[k],le=j(q,k,D),m))if(g)V[k]=le;else if(le)switch(m){case 3:return!0;case 5:return q;case 6:return k;case 2:l(V,q)}else switch(m){case 4:return!1;case 7:l(V,q)}return w?-1:h||S?S:V}};b.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},83242:function(b,y,e){"use strict";var a=e(77149);b.exports=function(t,o){var s=[][t];return!!s&&a(function(){s.call(null,o||function(){return 1},1)})}},82565:function(b,y,e){var a=e(31927),t=e(64441),o=e(42414),s=e(89122),n=TypeError,d=function(l){return function(c,m,g,M){a(m);var h=t(c),S=o(h),w=s(h),C=l?w-1:0,F=l?-1:1;if(g<2)for(;;){if(C in S){M=S[C],C+=F;break}if(C+=F,l?C<0:w<=C)throw n("Reduce of empty array with no initial value")}for(;l?C>=0:w>C;C+=F)C in S&&(M=m(M,S[C],C,h));return M}};b.exports={left:d(!1),right:d(!0)}},77060:function(b,y,e){"use strict";var a=e(57759),t=e(190),o=TypeError,s=Object.getOwnPropertyDescriptor,n=a&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(d){return d instanceof TypeError}}();b.exports=n?function(d,l){if(t(d)&&!s(d,"length").writable)throw o("Cannot set read only .length");return d.length=l}:function(d,l){return d.length=l}},81469:function(b,y,e){var a=e(71410),t=e(89122),o=e(46509),s=Array,n=Math.max;b.exports=function(d,l,c){for(var m=t(d),g=a(l,m),M=a(c===void 0?m:c,m),h=s(n(M-g,0)),S=0;g=c||g<0)throw o("Incorrect index");for(var M=new n(c),h=0;h1?arguments[1]:void 0,h,S,w,C;return s(this),h=M!==void 0,h&&o(M),n(m)?new this:(S=[],h?(w=0,C=a(M,g>2?arguments[2]:void 0),d(m,function(F){t(l,S,C(F,w++))})):d(m,l,{that:S}),new this(S))}},55042:function(b,y,e){"use strict";var a=e(66322);b.exports=function(){return new this(a(arguments))}},42710:function(b,y,e){"use strict";var a=e(34552),t=e(2265),o=e(3313),s=e(34066),n=e(92453),d=e(74883),l=e(95815),c=e(94636),m=e(76835),g=e(51309),M=e(57759),h=e(80787).fastKey,S=e(71584),w=S.set,C=S.getterFor;b.exports={getConstructor:function(F,Z,N,L){var $=F(function(k,te){n(k,D),w(k,{type:Z,index:a(null),first:void 0,last:void 0,size:0}),M||(k.size=0),d(te)||l(te,k[L],{that:k,AS_ENTRIES:N})}),D=$.prototype,T=C(Z),j=function(k,te,V){var q=T(k),le=K(k,te),X,W;return le?le.value=V:(q.last=le={index:W=h(te,!0),key:te,value:V,previous:X=q.last,next:void 0,removed:!1},q.first||(q.first=le),X&&(X.next=le),M?q.size++:k.size++,W!=="F"&&(q.index[W]=le)),k},K=function(k,te){var V=T(k),q=h(te),le;if(q!=="F")return V.index[q];for(le=V.first;le;le=le.next)if(le.key==te)return le};return o(D,{clear:function(){for(var te=this,V=T(te),q=V.index,le=V.first;le;)le.removed=!0,le.previous&&(le.previous=le.previous.next=void 0),delete q[le.index],le=le.next;V.first=V.last=void 0,M?V.size=0:te.size=0},delete:function(k){var te=this,V=T(te),q=K(te,k);if(q){var le=q.next,X=q.previous;delete V.index[q.index],q.removed=!0,X&&(X.next=le),le&&(le.previous=X),V.first==q&&(V.first=le),V.last==q&&(V.last=X),M?V.size--:te.size--}return!!q},forEach:function(te){for(var V=T(this),q=s(te,arguments.length>1?arguments[1]:void 0),le;le=le?le.next:V.first;)for(q(le.value,le.key,this);le&&le.removed;)le=le.previous},has:function(te){return!!K(this,te)}}),o(D,N?{get:function(te){var V=K(this,te);return V&&V.value},set:function(te,V){return j(this,te===0?0:te,V)}}:{add:function(te){return j(this,te=te===0?0:te,te)}}),M&&t(D,"size",{configurable:!0,get:function(){return T(this).size}}),$},setStrong:function(F,Z,N){var L=Z+" Iterator",$=C(Z),D=C(L);c(F,Z,function(T,j){w(this,{type:L,target:T,state:$(T),kind:j,last:void 0})},function(){for(var T=D(this),j=T.kind,K=T.last;K&&K.removed;)K=K.previous;return!T.target||!(T.last=K=K?K.next:T.state.first)?(T.target=void 0,m(void 0,!0)):j=="keys"?m(K.key,!1):j=="values"?m(K.value,!1):m([K.key,K.value],!1)},N?"entries":"values",!N,!0),g(Z)}}},90253:function(b,y,e){"use strict";var a=e(11700),t=e(3313),o=e(80787).getWeakData,s=e(92453),n=e(78958),d=e(74883),l=e(33225),c=e(95815),m=e(44708),g=e(26583),M=e(71584),h=M.set,S=M.getterFor,w=m.find,C=m.findIndex,F=a([].splice),Z=0,N=function(D){return D.frozen||(D.frozen=new L)},L=function(){this.entries=[]},$=function(D,T){return w(D.entries,function(j){return j[0]===T})};L.prototype={get:function(D){var T=$(this,D);if(T)return T[1]},has:function(D){return!!$(this,D)},set:function(D,T){var j=$(this,D);j?j[1]=T:this.entries.push([D,T])},delete:function(D){var T=C(this.entries,function(j){return j[0]===D});return~T&&F(this.entries,T,1),!!~T}},b.exports={getConstructor:function(D,T,j,K){var k=D(function(le,X){s(le,te),h(le,{type:T,id:Z++,frozen:void 0}),d(X)||c(X,le[K],{that:le,AS_ENTRIES:j})}),te=k.prototype,V=S(T),q=function(le,X,W){var x=V(le),O=o(n(X),!0);return O===!0?N(x).set(X,W):O[x.id]=W,le};return t(te,{delete:function(le){var X=V(this);if(!l(le))return!1;var W=o(le);return W===!0?N(X).delete(le):W&&g(W,X.id)&&delete W[X.id]},has:function(X){var W=V(this);if(!l(X))return!1;var x=o(X);return x===!0?N(W).has(X):x&&g(x,W.id)}}),t(te,j?{get:function(X){var W=V(this);if(l(X)){var x=o(X);return x===!0?N(W).get(X):x?x[W.id]:void 0}},set:function(X,W){return q(this,X,W)}}:{add:function(X){return q(this,X,!0)}}),k}}},91821:function(b,y,e){"use strict";var a=e(13354),t=e(53065),o=e(11700),s=e(29206),n=e(28621),d=e(80787),l=e(95815),c=e(92453),m=e(6508),g=e(74883),M=e(33225),h=e(77149),S=e(44277),w=e(68156),C=e(95173);b.exports=function(F,Z,N){var L=F.indexOf("Map")!==-1,$=F.indexOf("Weak")!==-1,D=L?"set":"add",T=t[F],j=T&&T.prototype,K=T,k={},te=function(O){var _=o(j[O]);n(j,O,O=="add"?function(A){return _(this,A===0?0:A),this}:O=="delete"?function(U){return $&&!M(U)?!1:_(this,U===0?0:U)}:O=="get"?function(A){return $&&!M(A)?void 0:_(this,A===0?0:A)}:O=="has"?function(A){return $&&!M(A)?!1:_(this,A===0?0:A)}:function(A,G){return _(this,A===0?0:A,G),this})},V=s(F,!m(T)||!($||j.forEach&&!h(function(){new T().entries().next()})));if(V)K=N.getConstructor(Z,F,L,D),d.enable();else if(s(F,!0)){var q=new K,le=q[D]($?{}:-0,1)!=q,X=h(function(){q.has(1)}),W=S(function(O){new T(O)}),x=!$&&h(function(){for(var O=new T,_=5;_--;)O[D](_,_);return!O.has(-0)});W||(K=Z(function(O,_){c(O,j);var U=C(new T,O,K);return g(_)||l(_,U[D],{that:U,AS_ENTRIES:L}),U}),K.prototype=j,j.constructor=K),(X||x)&&(te("delete"),te("has"),L&&te("get")),(x||le)&&te(D),$&&j.clear&&delete j.clear}return k[F]=K,a({global:!0,constructor:!0,forced:K!=T},k),w(K,F),$||N.setStrong(K,F,L),K}},95249:function(b,y,e){e(72660),e(11995);var a=e(42725),t=e(34552),o=e(33225),s=Object,n=TypeError,d=a("Map"),l=a("WeakMap"),c=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=t(null)};c.prototype.get=function(g,M){return this[g]||(this[g]=M())},c.prototype.next=function(g,M,h){var S=h?this.objectsByIndex[g]||(this.objectsByIndex[g]=new l):this.primitives||(this.primitives=new d),w=S.get(M);return w||S.set(M,w=new c),w};var m=new c;b.exports=function(){var g=m,M=arguments.length,h,S;for(h=0;he)throw y("Maximum allowed index exceeded");return a}},73443:function(b){b.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},83051:function(b,y,e){var a=e(79132),t=e(79727);b.exports=!a&&!t&&typeof window=="object"&&typeof document=="object"},8266:function(b){b.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},79132:function(b){b.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},72833:function(b,y,e){var a=e(47048);b.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},79727:function(b,y,e){var a=e(73656),t=e(88596);b.exports=typeof a!="undefined"&&t(a)=="process"},47048:function(b){b.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},8783:function(b,y,e){var a=e(53065),t=e(47048),o=a.process,s=a.Deno,n=o&&o.versions||s&&s.version,d=n&&n.v8,l,c;d&&(l=d.split("."),c=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!c&&t&&(l=t.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=t.match(/Chrome\/(\d+)/),l&&(c=+l[1]))),b.exports=c},70721:function(b,y,e){var a=e(53065);b.exports=function(t){return a[t].prototype}},68150:function(b){b.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},68488:function(b,y,e){var a=e(11700),t=Error,o=a("".replace),s=function(l){return String(t(l).stack)}("zxcasd"),n=/\n\s*at [^:]*:[^\n]*/,d=n.test(s);b.exports=function(l,c){if(d&&typeof l=="string"&&!t.prepareStackTrace)for(;c--;)l=o(l,n,"");return l}},96410:function(b,y,e){var a=e(5927),t=e(68488),o=e(39728),s=Error.captureStackTrace;b.exports=function(n,d,l,c){o&&(s?s(n,d):a(n,"stack",t(l,c)))}},39728:function(b,y,e){var a=e(77149),t=e(87971);b.exports=!a(function(){var o=Error("a");return"stack"in o?(Object.defineProperty(o,"stack",t(1,7)),o.stack!==7):!0})},13354:function(b,y,e){var a=e(53065),t=e(91042).f,o=e(5927),s=e(28621),n=e(40194),d=e(81732),l=e(29206);b.exports=function(c,m){var g=c.target,M=c.global,h=c.stat,S,w,C,F,Z,N;if(M?w=a:h?w=a[g]||n(g,{}):w=(a[g]||{}).prototype,w)for(C in m){if(Z=m[C],c.dontCallGetSet?(N=t(w,C),F=N&&N.value):F=w[C],S=l(M?C:g+(h?".":"#")+C,c.forced),!S&&F!==void 0){if(typeof Z==typeof F)continue;d(Z,F)}(c.sham||F&&F.sham)&&o(Z,"sham",!0),s(w,C,Z,c)}}},77149:function(b){b.exports=function(y){try{return!!y()}catch(e){return!0}}},81506:function(b,y,e){var a=e(77149);b.exports=!a(function(){return Object.isExtensible(Object.preventExtensions({}))})},59178:function(b,y,e){var a=e(34300),t=Function.prototype,o=t.apply,s=t.call;b.exports=typeof Reflect=="object"&&Reflect.apply||(a?s.bind(o):function(){return s.apply(o,arguments)})},34066:function(b,y,e){var a=e(39338),t=e(31927),o=e(34300),s=a(a.bind);b.exports=function(n,d){return t(n),d===void 0?n:o?s(n,d):function(){return n.apply(d,arguments)}}},34300:function(b,y,e){var a=e(77149);b.exports=!a(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")})},68029:function(b,y,e){var a=e(34300),t=Function.prototype.call;b.exports=a?t.bind(t):function(){return t.apply(t,arguments)}},44761:function(b,y,e){"use strict";var a=e(11700),t=e(31927);b.exports=function(){return a(t(this))}},27593:function(b,y,e){var a=e(57759),t=e(26583),o=Function.prototype,s=a&&Object.getOwnPropertyDescriptor,n=t(o,"name"),d=n&&function(){}.name==="something",l=n&&(!a||a&&s(o,"name").configurable);b.exports={EXISTS:n,PROPER:d,CONFIGURABLE:l}},12719:function(b,y,e){var a=e(11700),t=e(31927);b.exports=function(o,s,n){try{return a(t(Object.getOwnPropertyDescriptor(o,s)[n]))}catch(d){}}},39338:function(b,y,e){var a=e(88596),t=e(11700);b.exports=function(o){if(a(o)==="Function")return t(o)}},11700:function(b,y,e){var a=e(34300),t=Function.prototype,o=t.call,s=a&&t.bind.bind(o,o);b.exports=a?s:function(n){return function(){return o.apply(n,arguments)}}},83658:function(b,y,e){var a=e(68029),t=e(6508),o=e(78958),s=e(55086),n=e(56071),d=e(15931),l=e(77740),c=e(66219),m=l("asyncIterator");b.exports=function(M){var h=o(M),S=!0,w=d(h,m),C;return t(w)||(w=n(h),S=!1),t(w)?C=a(w,h):(C=h,S=!0),o(C),s(S?C:new c(s(C)))}},85231:function(b,y,e){var a=e(68029),t=e(66219),o=e(78958),s=e(64712),n=e(55086),d=e(15931),l=e(77740),c=l("asyncIterator");b.exports=function(m,g){var M=arguments.length<2?d(m,c):g;return M?o(a(M,m)):new t(n(s(m)))}},42725:function(b,y,e){var a=e(53065),t=e(6508),o=function(s){return t(s)?s:void 0};b.exports=function(s,n){return arguments.length<2?o(a[s]):a[s]&&a[s][n]}},55086:function(b,y,e){var a=e(31927),t=e(78958);b.exports=function(o){return{iterator:o,next:a(t(o).next)}}},69896:function(b,y,e){var a=e(68029),t=e(6508),o=e(78958),s=e(55086),n=e(56071);b.exports=function(d){var l=o(d),c=n(l);return s(o(t(c)?a(c,l):l))}},56071:function(b,y,e){var a=e(56834),t=e(15931),o=e(74883),s=e(43125),n=e(77740),d=n("iterator");b.exports=function(l){if(!o(l))return t(l,d)||t(l,"@@iterator")||s[a(l)]}},64712:function(b,y,e){var a=e(68029),t=e(31927),o=e(78958),s=e(30238),n=e(56071),d=TypeError;b.exports=function(l,c){var m=arguments.length<2?n(l):c;if(t(m))return o(a(m,l));throw d(s(l)+" is not iterable")}},75126:function(b,y,e){var a=e(11700),t=e(190),o=e(6508),s=e(88596),n=e(68424),d=a([].push);b.exports=function(l){if(o(l))return l;if(t(l)){for(var c=l.length,m=[],g=0;g]*>)/g,c=/\$([$&'`]|\d{1,2})/g;b.exports=function(m,g,M,h,S,w){var C=M+m.length,F=h.length,Z=c;return S!==void 0&&(S=t(S),Z=l),n(w,Z,function(N,L){var $;switch(s(L,0)){case"$":return"$";case"&":return m;case"`":return d(g,0,M);case"'":return d(g,C);case"<":$=S[d(L,1,-1)];break;default:var D=+L;if(D===0)return N;if(D>F){var T=o(D/10);return T===0?N:T<=F?h[T-1]===void 0?s(L,1):h[T-1]+s(L,1):N}$=h[D-1]}return $===void 0?"":$})}},53065:function(b,y,e){var a=function(t){return t&&t.Math==Math&&t};b.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},26583:function(b,y,e){var a=e(11700),t=e(64441),o=a({}.hasOwnProperty);b.exports=Object.hasOwn||function(n,d){return o(t(n),d)}},17859:function(b){b.exports={}},3234:function(b){b.exports=function(y,e){try{arguments.length==1?console.error(y):console.error(y,e)}catch(a){}}},8199:function(b,y,e){var a=e(42725);b.exports=a("document","documentElement")},96335:function(b,y,e){var a=e(57759),t=e(77149),o=e(75074);b.exports=!a&&!t(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!=7})},42414:function(b,y,e){var a=e(11700),t=e(77149),o=e(88596),s=Object,n=a("".split);b.exports=t(function(){return!s("z").propertyIsEnumerable(0)})?function(d){return o(d)=="String"?n(d,""):s(d)}:s},95173:function(b,y,e){var a=e(6508),t=e(33225),o=e(63332);b.exports=function(s,n,d){var l,c;return o&&a(l=n.constructor)&&l!==d&&t(c=l.prototype)&&c!==d.prototype&&o(s,c),s}},45274:function(b,y,e){var a=e(11700),t=e(6508),o=e(1396),s=a(Function.toString);t(o.inspectSource)||(o.inspectSource=function(n){return s(n)}),b.exports=o.inspectSource},13719:function(b,y,e){var a=e(33225),t=e(5927);b.exports=function(o,s){a(s)&&"cause"in s&&t(o,"cause",s.cause)}},80787:function(b,y,e){var a=e(13354),t=e(11700),o=e(17859),s=e(33225),n=e(26583),d=e(38248).f,l=e(94561),c=e(56647),m=e(50175),g=e(89669),M=e(81506),h=!1,S=g("meta"),w=0,C=function(D){d(D,S,{value:{objectID:"O"+w++,weakData:{}}})},F=function(D,T){if(!s(D))return typeof D=="symbol"?D:(typeof D=="string"?"S":"P")+D;if(!n(D,S)){if(!m(D))return"F";if(!T)return"E";C(D)}return D[S].objectID},Z=function(D,T){if(!n(D,S)){if(!m(D))return!0;if(!T)return!1;C(D)}return D[S].weakData},N=function(D){return M&&h&&m(D)&&!n(D,S)&&C(D),D},L=function(){$.enable=function(){},h=!0;var D=l.f,T=t([].splice),j={};j[S]=1,D(j).length&&(l.f=function(K){for(var k=D(K),te=0,V=k.length;tek;k++)if(V=W(w[k]),V&&l(S,V))return V;return new h(!1)}j=c(w,K)}for(q=L?w.next:j.next;!(le=t(q,j)).done;){try{V=W(le.value)}catch(x){g(j,"throw",x)}if(typeof V=="object"&&V&&l(S,V))return V}return new h(!1)}},40164:function(b,y,e){var a=e(68029),t=e(78958),o=e(15931);b.exports=function(s,n,d){var l,c;t(s);try{if(l=o(s,"return"),!l){if(n==="throw")throw d;return d}l=a(l,s)}catch(m){c=!0,l=m}if(n==="throw")throw d;if(c)throw l;return t(l),d}},87821:function(b,y,e){"use strict";var a=e(41019).IteratorPrototype,t=e(34552),o=e(87971),s=e(68156),n=e(43125),d=function(){return this};b.exports=function(l,c,m,g){var M=c+" Iterator";return l.prototype=t(a,{next:o(+!g,m)}),s(l,M,!1,!0),n[M]=d,l}},36911:function(b,y,e){"use strict";var a=e(68029),t=e(34552),o=e(5927),s=e(3313),n=e(77740),d=e(71584),l=e(15931),c=e(41019).IteratorPrototype,m=e(76835),g=e(40164),M=n("toStringTag"),h="IteratorHelper",S="WrapForValidIterator",w=d.set,C=function(N){var L=d.getterFor(N?S:h);return s(t(c),{next:function(){var D=L(this);if(N)return D.nextHandler();try{var T=D.done?void 0:D.nextHandler();return m(T,D.done)}catch(j){throw D.done=!0,j}},return:function(){var $=L(this),D=$.iterator;if($.done=!0,N){var T=l(D,"return");return T?a(T,D):m(void 0,!0)}if($.inner)try{g($.inner.iterator,"normal")}catch(j){return g(D,"throw",j)}return g(D,"normal"),m(void 0,!0)}})},F=C(!0),Z=C(!1);o(Z,M,"Iterator Helper"),b.exports=function(N,L){var $=function(T,j){j?(j.iterator=T.iterator,j.next=T.next):j=T,j.type=L?S:h,j.nextHandler=N,j.counter=0,j.done=!1,w(this,j)};return $.prototype=L?F:Z,$}},94636:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(77449),s=e(27593),n=e(6508),d=e(87821),l=e(77767),c=e(63332),m=e(68156),g=e(5927),M=e(28621),h=e(77740),S=e(43125),w=e(41019),C=s.PROPER,F=s.CONFIGURABLE,Z=w.IteratorPrototype,N=w.BUGGY_SAFARI_ITERATORS,L=h("iterator"),$="keys",D="values",T="entries",j=function(){return this};b.exports=function(K,k,te,V,q,le,X){d(te,k,V);var W=function(be){if(be===q&&A)return A;if(!N&&be in _)return _[be];switch(be){case $:return function(){return new te(this,be)};case D:return function(){return new te(this,be)};case T:return function(){return new te(this,be)}}return function(){return new te(this)}},x=k+" Iterator",O=!1,_=K.prototype,U=_[L]||_["@@iterator"]||q&&_[q],A=!N&&U||W(q),G=k=="Array"&&_.entries||U,fe,pe,ge;if(G&&(fe=l(G.call(new K)),fe!==Object.prototype&&fe.next&&(!o&&l(fe)!==Z&&(c?c(fe,Z):n(fe[L])||M(fe,L,j)),m(fe,x,!0,!0),o&&(S[x]=j))),C&&q==D&&U&&U.name!==D&&(!o&&F?g(_,"name",D):(O=!0,A=function(){return t(U,this)})),q)if(pe={values:W(D),keys:le?A:W($),entries:W(T)},X)for(ge in pe)(N||O||!(ge in _))&&M(_,ge,pe[ge]);else a({target:k,proto:!0,forced:N||O},pe);return(!o||X)&&_[L]!==A&&M(_,L,A,{name:q}),S[k]=A,pe}},45656:function(b,y,e){"use strict";var a=e(68029),t=e(87931),o=function(s,n){return[n,s]};b.exports=function(){return a(t,this,o)}},87931:function(b,y,e){"use strict";var a=e(68029),t=e(31927),o=e(78958),s=e(55086),n=e(36911),d=e(74031),l=n(function(){var c=this.iterator,m=o(a(this.next,c)),g=this.done=!!m.done;if(!g)return d(c,this.mapper,[m.value,this.counter++],!0)});b.exports=function(m){return new l(s(this),{mapper:t(m)})}},41019:function(b,y,e){"use strict";var a=e(77149),t=e(6508),o=e(33225),s=e(34552),n=e(77767),d=e(28621),l=e(77740),c=e(77449),m=l("iterator"),g=!1,M,h,S;[].keys&&(S=[].keys(),"next"in S?(h=n(n(S)),h!==Object.prototype&&(M=h)):g=!0);var w=!o(M)||a(function(){var C={};return M[m].call(C)!==C});w?M={}:c&&(M=s(M)),t(M[m])||d(M,m,function(){return this}),b.exports={IteratorPrototype:M,BUGGY_SAFARI_ITERATORS:g}},43125:function(b){b.exports={}},89122:function(b,y,e){var a=e(25010);b.exports=function(t){return a(t.length)}},70377:function(b,y,e){var a=e(11700),t=e(77149),o=e(6508),s=e(26583),n=e(57759),d=e(27593).CONFIGURABLE,l=e(45274),c=e(71584),m=c.enforce,g=c.get,M=String,h=Object.defineProperty,S=a("".slice),w=a("".replace),C=a([].join),F=n&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),Z=String(String).split("String"),N=b.exports=function(L,$,D){S(M($),0,7)==="Symbol("&&($="["+w(M($),/^Symbol\(([^)]*)\)/,"$1")+"]"),D&&D.getter&&($="get "+$),D&&D.setter&&($="set "+$),(!s(L,"name")||d&&L.name!==$)&&(n?h(L,"name",{value:$,configurable:!0}):L.name=$),F&&D&&s(D,"arity")&&L.length!==D.arity&&h(L,"length",{value:D.arity});try{D&&s(D,"constructor")&&D.constructor?n&&h(L,"prototype",{writable:!1}):L.prototype&&(L.prototype=void 0)}catch(j){}var T=m(L);return s(T,"source")||(T.source=C(Z,typeof $=="string"?$:"")),L};Function.prototype.toString=N(function(){return o(this)&&g(this).source||l(this)},"toString")},85623:function(b,y,e){var a=e(11700),t=Map.prototype;b.exports={Map,set:a(t.set),get:a(t.get),has:a(t.has),remove:a(t.delete),proto:t}},46782:function(b,y,e){var a=e(11700),t=e(95060),o=e(85623),s=o.Map,n=o.proto,d=a(n.forEach),l=a(n.entries),c=l(new s).next;b.exports=function(m,g,M){return M?t(l(m),function(h){return g(h[1],h[0])},c):d(m,g)}},32171:function(b,y,e){"use strict";var a=e(68029),t=e(31927),o=e(6508),s=e(78958),n=TypeError;b.exports=function(l,c){var m=s(this),g=t(m.get),M=t(m.has),h=t(m.set),S=arguments.length>2?arguments[2]:void 0,w;if(!o(c)&&!o(S))throw n("At least one callback required");return a(M,m,l)?(w=a(g,m,l),o(c)&&(w=c(w),a(h,m,l,w))):o(S)&&(w=S(),a(h,m,l,w)),w}},18749:function(b,y,e){var a=e(75169),t=Math.abs,o=Math.pow,s=o(2,-52),n=o(2,-23),d=o(2,127)*(2-n),l=o(2,-126),c=function(m){return m+1/s-1/s};b.exports=Math.fround||function(g){var M=+g,h=t(M),S=a(M),w,C;return hd||C!=C?S*(1/0):S*C)}},15129:function(b){b.exports=Math.scale||function(e,a,t,o,s){var n=+e,d=+a,l=+t,c=+o,m=+s;return n!=n||d!=d||l!=l||c!=c||m!=m?NaN:n===1/0||n===-1/0?n:(n-d)*(m-c)/(l-d)+c}},75169:function(b){b.exports=Math.sign||function(e){var a=+e;return a==0||a!=a?a:a<0?-1:1}},18243:function(b){var y=Math.ceil,e=Math.floor;b.exports=Math.trunc||function(t){var o=+t;return(o>0?e:y)(o)}},66286:function(b,y,e){var a=e(77149);b.exports=!a(function(){var t="9007199254740993",o=JSON.rawJSON(t);return!JSON.isRawJSON(o)||JSON.stringify(o)!==t})},71440:function(b,y,e){"use strict";var a=e(31927),t=TypeError,o=function(s){var n,d;this.promise=new s(function(l,c){if(n!==void 0||d!==void 0)throw t("Bad Promise constructor");n=l,d=c}),this.resolve=a(n),this.reject=a(d)};b.exports.f=function(s){return new o(s)}},9280:function(b,y,e){var a=e(68424);b.exports=function(t,o){return t===void 0?arguments.length<2?"":o:a(t)}},29597:function(b){var y=RangeError;b.exports=function(e){if(e===e)return e;throw y("NaN is not allowed")}},54633:function(b,y,e){var a=e(53065),t=a.isFinite;b.exports=Number.isFinite||function(s){return typeof s=="number"&&t(s)}},35323:function(b,y,e){var a=e(53065),t=e(77149),o=e(11700),s=e(68424),n=e(53761).trim,d=e(91289),l=a.parseInt,c=a.Symbol,m=c&&c.iterator,g=/^[+-]?0x/i,M=o(g.exec),h=l(d+"08")!==8||l(d+"0x16")!==22||m&&!t(function(){l(Object(m))});b.exports=h?function(w,C){var F=n(s(w));return l(F,C>>>0||(M(g,F)?16:10))}:l},73126:function(b,y,e){"use strict";var a=e(71584),t=e(87821),o=e(76835),s=e(74883),n=e(33225),d=e(97867).f,l=e(57759),c="Incorrect Iterator.range arguments",m="NumericRangeIterator",g=a.set,M=a.getterFor(m),h=RangeError,S=TypeError,w=t(function(Z,N,L,$,D,T){if(typeof Z!=$||N!==1/0&&N!==-1/0&&typeof N!=$)throw S(c);if(Z===1/0||Z===-1/0)throw h(c);var j=N>Z,K=!1,k;if(L===void 0)k=void 0;else if(n(L))k=L.step,K=!!L.inclusive;else if(typeof L==$)k=L;else throw S(c);if(s(k)&&(k=j?T:-T),typeof k!=$)throw S(c);if(k===1/0||k===-1/0||k===D&&Z!==N)throw h(c);var te=Z!=Z||N!=N||k!=k||N>Z!=k>D;g(this,{type:m,start:Z,end:N,step:k,inclusiveEnd:K,hitsEnd:te,currentCount:D,zero:D}),l||(this.start=Z,this.end=N,this.step=k,this.inclusive=K)},m,function(){var Z=M(this);if(Z.hitsEnd)return o(void 0,!0);var N=Z.start,L=Z.end,$=Z.step,D=N+$*Z.currentCount++;D===L&&(Z.hitsEnd=!0);var T=Z.inclusiveEnd,j;return L>N?j=T?D>L:D>=L:j=T?L>D:L>=D,j?(Z.hitsEnd=!0,o(void 0,!0)):o(D,!1)}),C=function(F){return{get:F,set:function(){},configurable:!0,enumerable:!1}};l&&d(w.prototype,{start:C(function(){return M(this).start}),end:C(function(){return M(this).end}),inclusive:C(function(){return M(this).inclusiveEnd}),step:C(function(){return M(this).step})}),b.exports=w},34552:function(b,y,e){var a=e(78958),t=e(97867),o=e(68150),s=e(17859),n=e(8199),d=e(75074),l=e(39376),c=">",m="<",g="prototype",M="script",h=l("IE_PROTO"),S=function(){},w=function(L){return m+M+c+L+m+"/"+M+c},C=function(L){L.write(w("")),L.close();var $=L.parentWindow.Object;return L=null,$},F=function(){var L=d("iframe"),$="java"+M+":",D;return L.style.display="none",n.appendChild(L),L.src=String($),D=L.contentWindow.document,D.open(),D.write(w("document.F=Object")),D.close(),D.F},Z,N=function(){try{Z=new ActiveXObject("htmlfile")}catch($){}N=typeof document!="undefined"?document.domain&&Z?C(Z):F():C(Z);for(var L=o.length;L--;)delete N[g][o[L]];return N()};s[h]=!0,b.exports=Object.create||function($,D){var T;return $!==null?(S[g]=a($),T=new S,S[g]=null,T[h]=$):T=N(),D===void 0?T:t.f(T,D)}},97867:function(b,y,e){var a=e(57759),t=e(63980),o=e(38248),s=e(78958),n=e(514),d=e(71691);y.f=a&&!t?Object.defineProperties:function(c,m){s(c);for(var g=n(m),M=d(m),h=M.length,S=0,w;h>S;)o.f(c,w=M[S++],g[w]);return c}},38248:function(b,y,e){var a=e(57759),t=e(96335),o=e(63980),s=e(78958),n=e(76846),d=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,m="enumerable",g="configurable",M="writable";y.f=a?o?function(S,w,C){if(s(S),w=n(w),s(C),typeof S=="function"&&w==="prototype"&&"value"in C&&M in C&&!C[M]){var F=c(S,w);F&&F[M]&&(S[w]=C.value,C={configurable:g in C?C[g]:F[g],enumerable:m in C?C[m]:F[m],writable:!1})}return l(S,w,C)}:l:function(S,w,C){if(s(S),w=n(w),s(C),t)try{return l(S,w,C)}catch(F){}if("get"in C||"set"in C)throw d("Accessors not supported");return"value"in C&&(S[w]=C.value),S}},91042:function(b,y,e){var a=e(57759),t=e(68029),o=e(83688),s=e(87971),n=e(514),d=e(76846),l=e(26583),c=e(96335),m=Object.getOwnPropertyDescriptor;y.f=a?m:function(M,h){if(M=n(M),h=d(h),c)try{return m(M,h)}catch(S){}if(l(M,h))return s(!t(o.f,M,h),M[h])}},56647:function(b,y,e){var a=e(88596),t=e(514),o=e(94561).f,s=e(81469),n=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(l){try{return o(l)}catch(c){return s(n)}};b.exports.f=function(c){return n&&a(c)=="Window"?d(c):o(t(c))}},94561:function(b,y,e){var a=e(4482),t=e(68150),o=t.concat("length","prototype");y.f=Object.getOwnPropertyNames||function(n){return a(n,o)}},10290:function(b,y){y.f=Object.getOwnPropertySymbols},77767:function(b,y,e){var a=e(26583),t=e(6508),o=e(64441),s=e(39376),n=e(80978),d=s("IE_PROTO"),l=Object,c=l.prototype;b.exports=n?l.getPrototypeOf:function(m){var g=o(m);if(a(g,d))return g[d];var M=g.constructor;return t(M)&&g instanceof M?M.prototype:g instanceof l?c:null}},50175:function(b,y,e){var a=e(77149),t=e(33225),o=e(88596),s=e(23932),n=Object.isExtensible,d=a(function(){n(1)});b.exports=d||s?function(c){return!t(c)||s&&o(c)=="ArrayBuffer"?!1:n?n(c):!0}:n},72901:function(b,y,e){var a=e(11700);b.exports=a({}.isPrototypeOf)},65556:function(b,y,e){"use strict";var a=e(71584),t=e(87821),o=e(76835),s=e(26583),n=e(71691),d=e(64441),l="Object Iterator",c=a.set,m=a.getterFor(l);b.exports=t(function(M,h){var S=d(M);c(this,{type:l,mode:h,object:S,keys:n(S),index:0})},"Object",function(){for(var M=m(this),h=M.keys;;){if(h===null||M.index>=h.length)return M.object=M.keys=null,o(void 0,!0);var S=h[M.index++],w=M.object;if(s(w,S)){switch(M.mode){case"keys":return o(S,!1);case"values":return o(w[S],!1)}return o([S,w[S]],!1)}}})},4482:function(b,y,e){var a=e(11700),t=e(26583),o=e(514),s=e(63795).indexOf,n=e(17859),d=a([].push);b.exports=function(l,c){var m=o(l),g=0,M=[],h;for(h in m)!t(n,h)&&t(m,h)&&d(M,h);for(;c.length>g;)t(m,h=c[g++])&&(~s(M,h)||d(M,h));return M}},71691:function(b,y,e){var a=e(4482),t=e(68150);b.exports=Object.keys||function(s){return a(s,t)}},83688:function(b,y){"use strict";var e={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,t=a&&!e.call({1:2},1);y.f=t?function(s){var n=a(this,s);return!!n&&n.enumerable}:e},63332:function(b,y,e){var a=e(12719),t=e(78958),o=e(66961);b.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,n={},d;try{d=a(Object.prototype,"__proto__","set"),d(n,[]),s=n instanceof Array}catch(l){}return function(c,m){return t(c),o(m),s?d(c,m):c.__proto__=m,c}}():void 0)},88818:function(b,y,e){var a=e(53065),t=e(6508),o=e(77740),s=o("observable"),n=a.Observable,d=n&&n.prototype;b.exports=!t(n)||!t(n.from)||!t(n.of)||!t(d.subscribe)||!t(d[s])},54026:function(b,y,e){var a=e(68029),t=e(6508),o=e(33225),s=TypeError;b.exports=function(n,d){var l,c;if(d==="string"&&t(l=n.toString)&&!o(c=a(l,n))||t(l=n.valueOf)&&!o(c=a(l,n))||d!=="string"&&t(l=n.toString)&&!o(c=a(l,n)))return c;throw s("Can't convert object to primitive value")}},60999:function(b,y,e){var a=e(42725),t=e(11700),o=e(94561),s=e(10290),n=e(78958),d=t([].concat);b.exports=a("Reflect","ownKeys")||function(c){var m=o.f(n(c)),g=s.f;return g?d(m,g(c)):m}},12539:function(b,y,e){var a=e(11700),t=e(26583),o=SyntaxError,s=parseInt,n=String.fromCharCode,d=a("".charAt),l=a("".slice),c=a(/./.exec),m={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":` +`,"\\r":"\r","\\t":" "},g=/^[\da-f]{4}$/i,M=/^[\u0000-\u001F]$/;b.exports=function(h,S){for(var w=!0,C="";Sh,F=o(S)?S:c(S),Z=C?d(arguments,h):[],N=C?function(){t(F,this,Z)}:F;return M?g(N,w):g(N)}:g}},38684:function(b,y,e){var a=e(23313),t=e(22731),o=a.Set,s=a.add;b.exports=function(n){var d=new o;return t(n,function(l){s(d,l)}),d}},53505:function(b,y,e){"use strict";var a=e(77318),t=e(23313),o=e(38684),s=e(17085),n=e(35710),d=e(22731),l=e(95060),c=t.has,m=t.remove;b.exports=function(M){var h=a(this),S=n(M),w=o(h);return s(h)<=S.size?d(h,function(C){S.includes(C)&&m(w,C)}):l(S.getIterator(),function(C){c(h,C)&&m(w,C)}),w}},23313:function(b,y,e){var a=e(11700),t=Set.prototype;b.exports={Set,add:a(t.add),has:a(t.has),remove:a(t.delete),proto:t,$has:t.has,$keys:t.keys}},51737:function(b,y,e){"use strict";var a=e(77318),t=e(23313),o=e(17085),s=e(35710),n=e(22731),d=e(95060),l=t.Set,c=t.add,m=t.has,g=t.$has,M=t.$keys,h=function(S){return S.has===g&&S.keys===M};b.exports=function(w){var C=a(this),F=s(w),Z=new l;if(!h(F)&&o(C)>F.size){if(d(F.getIterator(),function(L){m(C,L)&&c(Z,L)}),o(Z)<2)return Z;var N=Z;Z=new l,n(C,function(L){m(N,L)&&c(Z,L)})}else n(C,function(L){F.includes(L)&&c(Z,L)});return Z}},46149:function(b,y,e){"use strict";var a=e(77318),t=e(23313).has,o=e(17085),s=e(35710),n=e(22731),d=e(95060),l=e(40164);b.exports=function(m){var g=a(this),M=s(m);if(o(g)<=M.size)return n(g,function(S){if(M.includes(S))return!1},!0)!==!1;var h=M.getIterator();return d(h,function(S){if(t(g,S))return l(h,"normal",!1)})!==!1}},99527:function(b,y,e){"use strict";var a=e(77318),t=e(17085),o=e(22731),s=e(35710);b.exports=function(d){var l=a(this),c=s(d);return t(l)>c.size?!1:o(l,function(m){if(!c.includes(m))return!1},!0)!==!1}},20698:function(b,y,e){"use strict";var a=e(77318),t=e(23313).has,o=e(17085),s=e(35710),n=e(95060),d=e(40164);b.exports=function(c){var m=a(this),g=s(c);if(o(m)=w?m?"":void 0:(C=d(h,S),C<55296||C>56319||S+1===w||(F=d(h,S+1))<56320||F>57343?m?n(h,S):C:m?l(h,S,S+2):(C-55296<<10)+(F-56320)+65536)}};b.exports={codeAt:c(!1),charAt:c(!0)}},81089:function(b,y,e){var a=e(42725),t=e(11700),o=String.fromCharCode,s=a("String","fromCodePoint"),n=t("".charAt),d=t("".charCodeAt),l=t("".indexOf),c=t("".slice),m=48,g=57,M=97,h=102,S=65,w=70,C=function(N,L){var $=d(N,L);return $>=m&&$<=g},F=function(N,L,$){if($>=N.length)return-1;for(var D=0;L<$;L++){var T=Z(d(N,L));if(T===-1)return-1;D=D*16+T}return D},Z=function(N){return N>=m&&N<=g?N-m:N>=M&&N<=h?N-M+10:N>=S&&N<=w?N-S+10:-1};b.exports=function(N){for(var L="",$=0,D=0,T;(D=l(N,"\\",D))>-1;){if(L+=c(N,$,D),++D===N.length)return;var j=n(N,D++);switch(j){case"b":L+="\b";break;case"t":L+=" ";break;case"n":L+=` `;break;case"v":L+="\v";break;case"f":L+="\f";break;case"r":L+="\r";break;case"\r":D1114111)return;L+=s(T);break;default:if(C(j,0))return;L+=j}B=D}return L+c(N,B)}},53761:function(b,y,e){var a=e(11700),t=e(12105),o=e(68424),s=e(91289),n=a("".replace),d=RegExp("^["+s+"]+"),l=RegExp("(^|[^"+s+"])["+s+"]+$"),c=function(m){return function(g){var M=o(t(g));return m&1&&(M=n(M,d,"")),m&2&&(M=n(M,l,"$1")),M}};b.exports={start:c(1),end:c(2),trim:c(3)}},27698:function(b,y,e){var a=e(53065),t=e(77149),o=e(8783),s=e(83051),n=e(79132),d=e(79727),l=a.structuredClone;b.exports=!!l&&!t(function(){if(n&&o>92||d&&o>94||s&&o>97)return!1;var c=new ArrayBuffer(8),m=l(c,{transfer:[c]});return c.byteLength!=0||m.byteLength!=8})},18680:function(b,y,e){var a=e(8783),t=e(77149);b.exports=!!Object.getOwnPropertySymbols&&!t(function(){var o=Symbol();return!String(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&a&&a<41})},56912:function(b,y,e){var a=e(53065),t=e(59178),o=e(34066),s=e(6508),n=e(26583),d=e(77149),l=e(8199),c=e(66322),m=e(75074),g=e(87486),M=e(72833),h=e(79727),S=a.setImmediate,w=a.clearImmediate,C=a.process,z=a.Dispatch,$=a.Function,N=a.MessageChannel,L=a.String,B=0,D={},T="onreadystatechange",j,K,k,te;d(function(){j=a.location});var Y=function(W){if(n(D,W)){var x=D[W];delete D[W],x()}},q=function(W){return function(){Y(W)}},le=function(W){Y(W.data)},X=function(W){a.postMessage(L(W),j.protocol+"//"+j.host)};(!S||!w)&&(S=function(x){g(arguments.length,1);var O=s(x)?x:$(x),_=c(arguments,1);return D[++B]=function(){t(O,void 0,_)},K(B),B},w=function(x){delete D[x]},h?K=function(W){C.nextTick(q(W))}:z&&z.now?K=function(W){z.now(q(W))}:N&&!M?(k=new N,te=k.port2,k.port1.onmessage=le,K=o(te.postMessage,te)):a.addEventListener&&s(a.postMessage)&&!a.importScripts&&j&&j.protocol!=="file:"&&!d(X)?(K=X,a.addEventListener("message",le,!1)):T in m("script")?K=function(W){l.appendChild(m("script"))[T]=function(){l.removeChild(this),Y(W)}}:K=function(W){setTimeout(q(W),0)}),b.exports={set:S,clear:w}},71410:function(b,y,e){var a=e(68345),t=Math.max,o=Math.min;b.exports=function(s,n){var d=a(s);return d<0?t(d+n,0):o(d,n)}},28046:function(b,y,e){var a=e(54845),t=TypeError;b.exports=function(o){var s=a(o,"number");if(typeof s=="number")throw t("Can't convert number to bigint");return BigInt(s)}},92503:function(b,y,e){var a=e(68345),t=e(25010),o=RangeError;b.exports=function(s){if(s===void 0)return 0;var n=a(s),d=t(n);if(n!==d)throw o("Wrong length or index");return d}},514:function(b,y,e){var a=e(42414),t=e(12105);b.exports=function(o){return a(t(o))}},68345:function(b,y,e){var a=e(18243);b.exports=function(t){var o=+t;return o!==o||o===0?0:a(o)}},25010:function(b,y,e){var a=e(68345),t=Math.min;b.exports=function(o){return o>0?t(a(o),9007199254740991):0}},64441:function(b,y,e){var a=e(12105),t=Object;b.exports=function(o){return t(a(o))}},5561:function(b,y,e){var a=e(82053),t=RangeError;b.exports=function(o,s){var n=a(o);if(n%s)throw t("Wrong offset");return n}},82053:function(b,y,e){var a=e(68345),t=RangeError;b.exports=function(o){var s=a(o);if(s<0)throw t("The argument can't be less than 0");return s}},54845:function(b,y,e){var a=e(68029),t=e(33225),o=e(59549),s=e(15931),n=e(54026),d=e(77740),l=TypeError,c=d("toPrimitive");b.exports=function(m,g){if(!t(m)||o(m))return m;var M=s(m,c),h;if(M){if(g===void 0&&(g="default"),h=a(M,m,g),!t(h)||o(h))return h;throw l("Can't convert object to primitive value")}return g===void 0&&(g="number"),n(m,g)}},76846:function(b,y,e){var a=e(54845),t=e(59549);b.exports=function(o){var s=a(o,"string");return t(s)?s:s+""}},74089:function(b,y,e){var a=e(42725),t=e(6508),o=e(94653),s=e(33225),n=a("Set"),d=function(l){return s(l)&&typeof l.size=="number"&&t(l.has)&&t(l.keys)};b.exports=function(l){if(d(l))return l;if(o(l))return new n(l)}},64726:function(b,y,e){var a=e(77740),t=a("toStringTag"),o={};o[t]="z",b.exports=String(o)==="[object z]"},68424:function(b,y,e){var a=e(56834),t=String;b.exports=function(o){if(a(o)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return t(o)}},30238:function(b){var y=String;b.exports=function(e){try{return y(e)}catch(a){return"Object"}}},64395:function(b,y,e){var a=e(50112),t=e(93947);b.exports=function(o,s){return a(t(o),s)}},93947:function(b,y,e){var a=e(94641),t=e(23473),o=a.aTypedArrayConstructor,s=a.getTypedArrayConstructor;b.exports=function(n){return o(t(n,s(n)))}},89669:function(b,y,e){var a=e(11700),t=0,o=Math.random(),s=a(1 .toString);b.exports=function(n){return"Symbol("+(n===void 0?"":n)+")_"+s(++t+o,36)}},61037:function(b,y,e){var a=e(18680);b.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},63980:function(b,y,e){var a=e(57759),t=e(77149);b.exports=a&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},87486:function(b){var y=TypeError;b.exports=function(e,a){if(eL&&g(le,arguments[L]),le});if(k.prototype=j,D!=="Error"?n?n(k,K):d(k,K,{name:!0}):h&&N in T&&(l(k,T,N),l(k,T,"prepareStackTrace")),d(k,T),!S)try{j.name!==D&&o(j,"name",D),j.constructor=k}catch(te){}return k}}},74503:function(b,y,e){var a=e(13354),t=e(42725),o=e(59178),s=e(77149),n=e(69485),d="AggregateError",l=t(d),c=!s(function(){return l([1]).errors[0]!==1})&&s(function(){return l([1],d,{cause:7}).cause!==7});a({global:!0,constructor:!0,arity:2,forced:c},{AggregateError:n(d,function(m){return function(M,h){return o(m,this,arguments)}},c,!0)})},90570:function(b,y,e){"use strict";var a=e(13354),t=e(72901),o=e(77767),s=e(63332),n=e(81732),d=e(34552),l=e(5927),c=e(87971),m=e(13719),g=e(96410),M=e(95815),h=e(9280),S=e(77740),w=S("toStringTag"),C=Error,z=[].push,$=function(B,D){var T=t(N,this),j;s?j=s(C(),T?o(this):N):(j=T?this:d(N),l(j,w,"Error")),D!==void 0&&l(j,"message",h(D)),g(j,$,j.stack,1),arguments.length>2&&m(j,arguments[2]);var K=[];return M(B,z,{that:K}),l(j,"errors",K),j};s?s($,C):n($,C,{name:!0});var N=$.prototype=d(C.prototype,{constructor:c(1,$),message:c(1,""),name:c(1,"AggregateError")});a({global:!0,constructor:!0,arity:2},{AggregateError:$})},511:function(b,y,e){e(90570)},65591:function(b,y,e){"use strict";var a=e(13354),t=e(64441),o=e(89122),s=e(68345),n=e(22054);a({target:"Array",proto:!0},{at:function(l){var c=t(this),m=o(c),g=s(l),M=g>=0?g:m+g;return M<0||M>=m?void 0:c[M]}}),n("at")},33356:function(b,y,e){"use strict";var a=e(13354),t=e(17464).findLastIndex,o=e(22054);a({target:"Array",proto:!0},{findLastIndex:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},56082:function(b,y,e){"use strict";var a=e(13354),t=e(17464).findLast,o=e(22054);a({target:"Array",proto:!0},{findLast:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},73034:function(b,y,e){"use strict";var a=e(13354),t=e(64441),o=e(89122),s=e(77060),n=e(12262),d=e(77149),l=d(function(){return[].push.call({length:4294967296},1)!==4294967297}),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},m=l||!c();a({target:"Array",proto:!0,arity:1,forced:m},{push:function(M){var h=t(this),S=o(h),w=arguments.length;n(S+w);for(var C=0;C79&&s<83,l=d||!o("reduceRight");a({target:"Array",proto:!0,forced:l},{reduceRight:function(m){return t(this,m,arguments.length,arguments.length>1?arguments[1]:void 0)}})},62083:function(b,y,e){"use strict";var a=e(13354),t=e(82565).left,o=e(83242),s=e(8783),n=e(79727),d=!n&&s>79&&s<83,l=d||!o("reduce");a({target:"Array",proto:!0,forced:l},{reduce:function(m){var g=arguments.length;return t(this,m,g,g>1?arguments[1]:void 0)}})},36021:function(b,y,e){"use strict";var a=e(13354),t=e(2333),o=e(514),s=e(22054),n=Array;a({target:"Array",proto:!0},{toReversed:function(){return t(o(this),n)}}),s("toReversed")},38122:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(31927),s=e(514),n=e(50112),d=e(70721),l=e(22054),c=Array,m=t(d("Array").sort);a({target:"Array",proto:!0},{toSorted:function(M){M!==void 0&&o(M);var h=s(this),S=n(c,h);return m(S,M)}}),l("toSorted")},37116:function(b,y,e){"use strict";var a=e(13354),t=e(22054),o=e(12262),s=e(89122),n=e(71410),d=e(514),l=e(68345),c=Array,m=Math.max,g=Math.min;a({target:"Array",proto:!0},{toSpliced:function(h,S){var w=d(this),C=s(w),z=n(h,C),$=arguments.length,N=0,L,B,D,T;for($===0?L=B=0:$===1?(L=0,B=C-z):(L=$-2,B=g(m(l(S),0),C-z)),D=o(C+L-B),T=c(D);N=0?S:h+S;return w<0||w>=h?void 0:l(M,w)}})},97390:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(12105),n=e(6508),d=e(74883),l=e(42854),c=e(68424),m=e(15931),g=e(50533),M=e(47947),h=e(77740),S=e(77449),w=h("replace"),C=TypeError,z=o("".indexOf),$=o("".replace),N=o("".slice),L=Math.max,B=function(D,T,j){return j>D.length?-1:T===""?j:z(D,T,j)};a({target:"String",proto:!0},{replaceAll:function(T,j){var K=s(this),k,te,Y,q,le,X,W,x,O,_=0,U=0,A="";if(!d(T)){if(k=l(T),k&&(te=c(s(g(T))),!~z(te,"g")))throw C("`.replaceAll` does not allow non-global regexes");if(Y=m(T,w),Y)return t(Y,T,K,j);if(S&&k)return $(c(K),T,j)}for(q=c(K),le=c(T),X=n(j),X||(j=c(j)),W=le.length,x=L(1,W),_=B(q,le,0);_!==-1;)O=X?c(j(le,_,q)):M(le,q,_,[],void 0,j),A+=N(q,U,_)+O,U=_+W,_=B(q,le,_+x);return U=0?g:m+g;return M<0||M>=m?void 0:c[M]})},55759:function(b,y,e){"use strict";var a=e(94641),t=e(17464).findLastIndex,o=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLastIndex",function(d){return t(o(this),d,arguments.length>1?arguments[1]:void 0)})},23239:function(b,y,e){"use strict";var a=e(94641),t=e(17464).findLast,o=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLast",function(d){return t(o(this),d,arguments.length>1?arguments[1]:void 0)})},53289:function(b,y,e){"use strict";var a=e(53065),t=e(68029),o=e(94641),s=e(89122),n=e(5561),d=e(64441),l=e(77149),c=a.RangeError,m=a.Int8Array,g=m&&m.prototype,M=g&&g.set,h=o.aTypedArray,S=o.exportTypedArrayMethod,w=!l(function(){var z=new Uint8ClampedArray(2);return t(M,z,{length:1,0:3},1),z[1]!==3}),C=w&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var z=new m(2);return z.set(1),z.set("2",1),z[0]!==0||z[1]!==2});S("set",function($){h(this);var N=n(arguments.length>1?arguments[1]:void 0,1),L=d($);if(w)return t(M,this,L,N);var B=this.length,D=s(L),T=0;if(D+N>B)throw c("Wrong length");for(;T1?arguments[1]:void 0)}}),o("filterOut")},6719:function(b,y,e){"use strict";var a=e(13354),t=e(44708).filterReject,o=e(22054);a({target:"Array",proto:!0,forced:!0},{filterReject:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},85590:function(b,y,e){var a=e(13354),t=e(44594);a({target:"Array",stat:!0},{fromAsync:t})},84602:function(b,y,e){var a=e(13354),t=e(83242),o=e(22054),s=e(59765),n=e(77449);a({target:"Array",proto:!0,name:"groupToMap",forced:n||!t("groupByToMap")},{groupByToMap:s}),o("groupByToMap")},56179:function(b,y,e){"use strict";var a=e(13354),t=e(69093),o=e(83242),s=e(22054);a({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(d){var l=arguments.length>1?arguments[1]:void 0;return t(this,d,l)}}),s("groupBy")},68765:function(b,y,e){var a=e(13354),t=e(22054),o=e(59765),s=e(77449);a({target:"Array",proto:!0,forced:s},{groupToMap:o}),t("groupToMap")},68090:function(b,y,e){"use strict";var a=e(13354),t=e(69093),o=e(22054);a({target:"Array",proto:!0},{group:function(n){var d=arguments.length>1?arguments[1]:void 0;return t(this,n,d)}}),o("group")},46377:function(b,y,e){var a=e(13354),t=e(190),o=Object.isFrozen,s=function(n,d){if(!o||!t(n)||!o(n))return!1;for(var l=0,c=n.length,m;l1?arguments[1]:void 0);return s(l,function(m,g){if(!c(m,g,l))return!1},!0)!==!1}})},82412:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){M(S,w,g)&&l(h,w,S)}),h}})},69205:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g,M){if(c(g,M,l))return{key:M}},!0);return m&&m.key}})},53677:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{find:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g,M){if(c(g,M,l))return{value:g}},!0);return m&&m.value}})},55994:function(b,y,e){var a=e(13354),t=e(67640);a({target:"Map",stat:!0,forced:!0},{from:t})},96103:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(6508),n=e(31927),d=e(95815),l=e(85623).Map,c=o([].push);a({target:"Map",stat:!0,forced:!0},{groupBy:function(g,M){var h=s(this)?this:l,S=new h;n(M);var w=n(S.has),C=n(S.get),z=n(S.set);return d(g,function($){var N=M($);t(w,S,N)?c(t(C,S,N),$):t(z,S,N,[$])}),S}})},13153:function(b,y,e){"use strict";var a=e(13354),t=e(53496),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(d){return s(o(this),function(l){if(t(l,d))return!0},!0)===!0}})},51331:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(95815),s=e(6508),n=e(31927),d=e(85623).Map;a({target:"Map",stat:!0,forced:!0},{keyBy:function(c,m){var g=s(this)?this:d,M=new g;n(m);var h=n(M.set);return o(c,function(S){t(h,M,m(S),S)}),M}})},31471:function(b,y,e){"use strict";var a=e(13354),t=e(7328),o=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(n){var d=o(t(this),function(l,c){if(l===n)return{key:c}},!0);return d&&d.key}})},48008:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){l(h,M(S,w,g),S)}),h}})},72877:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){l(h,w,M(S,w,g))}),h}})},55778:function(b,y,e){"use strict";var a=e(13354),t=e(7328),o=e(95815),s=e(85623).set;a({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(d){for(var l=t(this),c=arguments.length,m=0;m1?arguments[1]:void 0);return s(l,function(m,g){if(c(m,g,l))return!0},!0)===!0}})},74613:function(b,y,e){"use strict";var a=e(13354),t=e(32171);a({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:t})},22252:function(b,y,e){"use strict";var a=e(13354),t=e(31927),o=e(7328),s=e(85623),n=TypeError,d=s.get,l=s.has,c=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{update:function(g,M){var h=o(this),S=arguments.length;t(M);var w=l(h,g);if(!w&&S<3)throw n("Updating absent value");var C=w?d(h,g):t(S>2?arguments[2]:void 0)(g,h);return c(h,g,M(C,g,h)),h}})},85890:function(b,y,e){"use strict";var a=e(13354),t=e(32171);a({target:"Map",proto:!0,real:!0,forced:!0},{upsert:t})},49489:function(b,y,e){var a=e(13354),t=Math.min,o=Math.max;a({target:"Math",stat:!0,forced:!0},{clamp:function(n,d,l){return t(l,o(d,n))}})},63478:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},88126:function(b,y,e){var a=e(13354),t=180/Math.PI;a({target:"Math",stat:!0,forced:!0},{degrees:function(s){return s*t}})},24760:function(b,y,e){var a=e(13354),t=e(15129),o=e(18749);a({target:"Math",stat:!0,forced:!0},{fscale:function(n,d,l,c,m){return o(t(n,d,l,c,m))}})},37877:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{iaddh:function(o,s,n,d){var l=o>>>0,c=s>>>0,m=n>>>0;return c+(d>>>0)+((l&m|(l|m)&~(l+m>>>0))>>>31)|0}})},99461:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{imulh:function(o,s){var n=65535,d=+o,l=+s,c=d&n,m=l&n,g=d>>16,M=l>>16,h=(g*m>>>0)+(c*m>>>16);return g*M+(h>>16)+((c*M>>>0)+(h&n)>>16)}})},63746:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{isubh:function(o,s,n,d){var l=o>>>0,c=s>>>0,m=n>>>0;return c-(d>>>0)-((~l&m|~(l^m)&l-m>>>0)>>>31)|0}})},8443:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},75738:function(b,y,e){var a=e(13354),t=Math.PI/180;a({target:"Math",stat:!0,forced:!0},{radians:function(s){return s*t}})},13322:function(b,y,e){var a=e(13354),t=e(15129);a({target:"Math",stat:!0,forced:!0},{scale:t})},64748:function(b,y,e){var a=e(13354),t=e(78958),o=e(54633),s=e(87821),n=e(76835),d=e(71584),l="Seeded Random",c=l+" Generator",m='Math.seededPRNG() argument should have a "seed" field with a finite value.',g=d.set,M=d.getterFor(c),h=TypeError,S=s(function(C){g(this,{type:c,seed:C%2147483647})},l,function(){var C=M(this),z=C.seed=(C.seed*1103515245+12345)%2147483647;return n((z&1073741823)/1073741823,!1)});a({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var z=t(C).seed;if(!o(z))throw h(m);return new S(z)}})},59048:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{signbit:function(o){var s=+o;return s==s&&s==0?1/s==-1/0:s<0}})},25215:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{umulh:function(o,s){var n=65535,d=+o,l=+s,c=d&n,m=l&n,g=d>>>16,M=l>>>16,h=(g*m>>>0)+(c*m>>>16);return g*M+(h>>>16)+((c*M>>>0)+(h&n)>>>16)}})},89495:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(68345),s=e(35323),n="Invalid number representation",d="Invalid radix",l=RangeError,c=SyntaxError,m=TypeError,g=/^[\da-z]+$/,M=t("".charAt),h=t(g.exec),S=t(1 .toString),w=t("".slice);a({target:"Number",stat:!0,forced:!0},{fromString:function(z,$){var N=1,L,B;if(typeof z!="string")throw m(n);if(!z.length||M(z,0)=="-"&&(N=-1,z=w(z,1),!z.length))throw c(n);if(L=$===void 0?10:o($),L<2||L>36)throw l(d);if(!h(g,z)||S(B=s(z,L),L)!==z)throw c(n);return N*B}})},78490:function(b,y,e){"use strict";var a=e(13354),t=e(73126);a({target:"Number",stat:!0,forced:!0},{range:function(s,n,d){return new t(s,n,d,"number",0,1)}})},11790:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateEntries:function(s){return new t(s,"entries")}})},52739:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateKeys:function(s){return new t(s,"keys")}})},96847:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateValues:function(s){return new t(s,"values")}})},8120:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(57759),s=e(51309),n=e(31927),d=e(78958),l=e(92453),c=e(6508),m=e(74883),g=e(33225),M=e(15931),h=e(28621),S=e(3313),w=e(2265),C=e(3234),z=e(77740),$=e(71584),N=e(88818),L=z("observable"),B="Observable",D="Subscription",T="SubscriptionObserver",j=$.getterFor,K=$.set,k=j(B),te=j(D),Y=j(T),q=function(O){this.observer=d(O),this.cleanup=void 0,this.subscriptionObserver=void 0};q.prototype={type:D,clean:function(){var O=this.cleanup;if(O){this.cleanup=void 0;try{O()}catch(_){C(_)}}},close:function(){if(!o){var O=this.facade,_=this.subscriptionObserver;O.closed=!0,_&&(_.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var le=function(O,_){var U=K(this,new q(O)),A;o||(this.closed=!1);try{(A=M(O,"start"))&&t(A,O,this)}catch(ge){C(ge)}if(!U.isClosed()){var G=U.subscriptionObserver=new X(U);try{var de=_(G),he=de;m(de)||(U.cleanup=c(de.unsubscribe)?function(){he.unsubscribe()}:n(de))}catch(ge){G.error(ge);return}U.isClosed()&&U.clean()}};le.prototype=S({},{unsubscribe:function(){var _=te(this);_.isClosed()||(_.close(),_.clean())}}),o&&w(le.prototype,"closed",{configurable:!0,get:function(){return te(this).isClosed()}});var X=function(O){K(this,{type:T,subscriptionState:O}),o||(this.closed=!1)};X.prototype=S({},{next:function(_){var U=Y(this).subscriptionState;if(!U.isClosed()){var A=U.observer;try{var G=M(A,"next");G&&t(G,A,_)}catch(de){C(de)}}},error:function(_){var U=Y(this).subscriptionState;if(!U.isClosed()){var A=U.observer;U.close();try{var G=M(A,"error");G?t(G,A,_):C(_)}catch(de){C(de)}U.clean()}},complete:function(){var _=Y(this).subscriptionState;if(!_.isClosed()){var U=_.observer;_.close();try{var A=M(U,"complete");A&&t(A,U)}catch(G){C(G)}_.clean()}}}),o&&w(X.prototype,"closed",{configurable:!0,get:function(){return Y(this).subscriptionState.isClosed()}});var W=function(_){l(this,x),K(this,{type:B,subscriber:n(_)})},x=W.prototype;S(x,{subscribe:function(_){var U=arguments.length;return new le(c(_)?{next:_,error:U>1?arguments[1]:void 0,complete:U>2?arguments[2]:void 0}:g(_)?_:{},k(this).subscriber)}}),h(x,L,function(){return this}),a({global:!0,constructor:!0,forced:N},{Observable:W}),s(B)},11341:function(b,y,e){"use strict";var a=e(13354),t=e(42725),o=e(68029),s=e(78958),n=e(13893),d=e(64712),l=e(15931),c=e(95815),m=e(77740),g=e(88818),M=m("observable");a({target:"Observable",stat:!0,forced:g},{from:function(S){var w=n(this)?this:t("Observable"),C=l(s(S),M);if(C){var z=s(o(C,S));return z.constructor===w?z:new w(function(N){return z.subscribe(N)})}var $=d(S);return new w(function(N){c($,function(L,B){if(N.next(L),N.closed)return B()},{IS_ITERATOR:!0,INTERRUPTED:!0}),N.complete()})}})},57099:function(b,y,e){e(8120),e(11341),e(21720)},21720:function(b,y,e){"use strict";var a=e(13354),t=e(42725),o=e(13893),s=e(88818),n=t("Array");a({target:"Observable",stat:!0,forced:s},{of:function(){for(var l=o(this)?this:t("Observable"),c=arguments.length,m=n(c),g=0;g1?arguments[1]:void 0);return s(l,function(m){if(!c(m,m,l))return!1},!0)!==!1}})},17960:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(23313),n=e(22731),d=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S){M(S,S,g)&&l(h,S)}),h}})},25823:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(22731);a({target:"Set",proto:!0,real:!0,forced:!0},{find:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g){if(c(g,g,l))return{value:g}},!0);return m&&m.value}})},56133:function(b,y,e){var a=e(13354),t=e(67640);a({target:"Set",stat:!0,forced:!0},{from:t})},6762:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(51737);a({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(d){return t(s,this,o(d))}})},60682:function(b,y,e){var a=e(13354),t=e(51737),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("intersection")},{intersection:t})},36925:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(46149);a({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(d){return t(s,this,o(d))}})},65107:function(b,y,e){var a=e(13354),t=e(46149),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:t})},9882:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(99527);a({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(d){return t(s,this,o(d))}})},31772:function(b,y,e){var a=e(13354),t=e(99527),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:t})},95344:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(20698);a({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(d){return t(s,this,o(d))}})},19453:function(b,y,e){var a=e(13354),t=e(20698),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:t})},51301:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(77318),s=e(22731),n=e(68424),d=t([].join),l=t([].push);a({target:"Set",proto:!0,real:!0,forced:!0},{join:function(m){var g=o(this),M=m===void 0?",":n(m),h=[];return s(g,function(S){l(h,S)}),d(h,M)}})},71395:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(23313),n=e(22731),d=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{map:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S){l(h,M(S,S,g))}),h}})},38054:function(b,y,e){var a=e(13354),t=e(55042);a({target:"Set",stat:!0,forced:!0},{of:t})},92141:function(b,y,e){"use strict";var a=e(13354),t=e(31927),o=e(77318),s=e(22731),n=TypeError;a({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(l){var c=o(this),m=arguments.length<2,g=m?void 0:arguments[1];if(t(l),s(c,function(M){m?(m=!1,g=M):g=l(g,M,M,c)}),m)throw n("Reduce of empty set with no initial value");return g}})},95396:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(22731);a({target:"Set",proto:!0,real:!0,forced:!0},{some:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0);return s(l,function(m){if(c(m,m,l))return!0},!0)===!0}})},11859:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(52100);a({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(d){return t(s,this,o(d))}})},13409:function(b,y,e){var a=e(13354),t=e(52100),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:t})},4681:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(45953);a({target:"Set",proto:!0,real:!0,forced:!0},{union:function(d){return t(s,this,o(d))}})},51113:function(b,y,e){var a=e(13354),t=e(45953),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:t})},15307:function(b,y,e){"use strict";var a=e(13354),t=e(81673).charAt,o=e(12105),s=e(68345),n=e(68424);a({target:"String",proto:!0,forced:!0},{at:function(l){var c=n(o(this)),m=c.length,g=s(l),M=g>=0?g:m+g;return M<0||M>=m?void 0:t(c,M)}})},36879:function(b,y,e){"use strict";var a=e(13354),t=e(87821),o=e(76835),s=e(12105),n=e(68424),d=e(71584),l=e(81673),c=l.codeAt,m=l.charAt,g="String Iterator",M=d.set,h=d.getterFor(g),S=t(function(C){M(this,{type:g,string:C,index:0})},"String",function(){var C=h(this),z=C.string,$=C.index,N;return $>=z.length?o(void 0,!0):(N=m(z,$),C.index+=N.length,o({codePoint:c(N,0),position:$},!1))});a({target:"String",proto:!0,forced:!0},{codePoints:function(){return new S(n(s(this)))}})},27008:function(b,y,e){var a=e(13354),t=e(85650);a({target:"String",stat:!0,forced:!0},{cooked:t})},91345:function(b,y,e){"use strict";var a=e(81506),t=e(13354),o=e(71980),s=e(42725),n=e(70377),d=e(11700),l=e(59178),c=e(78958),m=e(64441),g=e(6508),M=e(89122),h=e(38248).f,S=e(81469),w=e(85650),C=e(81089),z=e(91289),$=s("WeakMap"),N=o("GlobalDedentRegistry",new $);N.has=N.has,N.get=N.get,N.set=N.set;var L=Array,B=TypeError,D=Object.freeze||Object,T=Object.isFrozen,j=Math.min,K=d("".charAt),k=d("".slice),te=d("".split),Y=d(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,le=RegExp("^["+z+"]*"),X=RegExp("[^"+z+"]"),W="Invalid tag",x="Invalid opening line",O="Invalid closing line",_=function(ge){var be=ge.raw;if(a&&!T(be))throw B("Raw template should be frozen");if(N.has(be))return N.get(be);var Te=U(be),Ge=G(Te);return h(Ge,"raw",{value:D(Te)}),D(Ge),N.set(be,Ge),Ge},U=function(ge){var be=m(ge),Te=M(be),Ge=L(Te),Je=L(Te),Qe=0,pt,Ct;if(!Te)throw B(W);for(;Qe0)throw B(x);pt[1]=""}if(Ht){if(pt.length===1||Y(X,pt[pt.length-1]))throw B(O);pt[pt.length-2]="",pt[pt.length-1]=""}for(var Ze=2;Ze=56320||++m>=c||(n(l,m)&64512)!=56320))return!1}return!0}})},5744:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(12105),n=e(68424),d=e(77149),l=Array,c=o("".charAt),m=o("".charCodeAt),g=o([].join),M="".toWellFormed,h="\uFFFD",S=M&&d(function(){return t(M,1)!=="1"});a({target:"String",proto:!0,forced:S},{toWellFormed:function(){var C=n(s(this));if(S)return t(M,C);for(var z=C.length,$=l(z),N=0;N=56320||N+1>=z||(m(C,N+1)&64512)!=56320?$[N]=h:($[N]=c(C,N),$[++N]=c(C,N))}return g($,"")}})},2017:function(b,y,e){"use strict";var a=e(13354),t=e(72901),o=e(77767),s=e(63332),n=e(81732),d=e(34552),l=e(5927),c=e(87971),m=e(96410),g=e(9280),M=e(77740),h=M("toStringTag"),S=Error,w=function($,N,L){var B=t(C,this),D;return s?D=s(S(),B?o(this):C):(D=B?this:d(C),l(D,h,"Error")),L!==void 0&&l(D,"message",g(L)),m(D,w,D.stack,1),l(D,"error",$),l(D,"suppressed",N),D};s?s(w,S):n(w,S,{name:!0});var C=w.prototype=d(S.prototype,{constructor:c(1,w),message:c(1,""),name:c(1,"SuppressedError")});a({global:!0,constructor:!0,arity:3},{SuppressedError:w})},12447:function(b,y,e){var a=e(78186);a("asyncDispose")},50706:function(b,y,e){var a=e(78186);a("dispose")},80593:function(b,y,e){var a=e(13354),t=e(42725),o=e(11700),s=t("Symbol"),n=s.keyFor,d=o(s.prototype.valueOf);a({target:"Symbol",stat:!0},{isRegistered:function(c){try{return n(d(c))!==void 0}catch(m){return!1}}})},41693:function(b,y,e){for(var a=e(13354),t=e(71980),o=e(42725),s=e(11700),n=e(59549),d=e(77740),l=o("Symbol"),c=l.isWellKnown,m=o("Object","getOwnPropertyNames"),g=s(l.prototype.valueOf),M=t("wks"),h=0,S=m(l),w=S.length;h1?arguments[1]:void 0);return o(this,c)},!0)},73165:function(b,y,e){"use strict";var a=e(94641),t=e(44708).filterReject,o=e(64395),s=a.aTypedArray,n=a.exportTypedArrayMethod;n("filterReject",function(l){var c=t(s(this),l,arguments.length>1?arguments[1]:void 0);return o(this,c)},!0)},56390:function(b,y,e){"use strict";var a=e(42725),t=e(89764),o=e(44594),s=e(94641),n=e(50112),d=s.aTypedArrayConstructor,l=s.exportTypedArrayStaticMethod;l("fromAsync",function(m){var g=this,M=arguments.length,h=M>1?arguments[1]:void 0,S=M>2?arguments[2]:void 0;return new(a("Promise"))(function(w){t(g),w(o(m,h,S))}).then(function(w){return n(d(g),w)})},!0)},20233:function(b,y,e){"use strict";var a=e(94641),t=e(69093),o=e(93947),s=a.aTypedArray,n=a.exportTypedArrayMethod;n("groupBy",function(l){var c=arguments.length>1?arguments[1]:void 0;return t(s(this),l,c,o)},!0)},18444:function(b,y,e){"use strict";var a=e(94641),t=e(89122),o=e(30879),s=e(71410),n=e(28046),d=e(68345),l=e(77149),c=a.aTypedArray,m=a.getTypedArrayConstructor,g=a.exportTypedArrayMethod,M=Math.max,h=Math.min,S=!l(function(){var w=new Int8Array([1]),C=w.toSpliced(1,0,{valueOf:function(){return w[0]=2,3}});return C[0]!==2||C[1]!==3});g("toSpliced",function(C,z){var $=c(this),N=m($),L=t($),B=s(C,L),D=arguments.length,T=0,j,K,k,te,Y,q,le;if(D===0)j=K=0;else if(D===1)j=0,K=L-B;else if(K=h(M(d(z),0),L-B),j=D-2,j){te=new N(j),k=o(te);for(var X=2;X1&&!g(arguments[1])?w(arguments[1]):void 0,ue=xe?xe.transfer:void 0,Ne;return ue!==void 0&&(Ne=new Te,se(ue,Ne)),re(ce,Ne)}})},81474:function(b,y,e){"use strict";var a=e(90894),t=e(8197),o=e(56265),s=e(20610),n=e(13),d=b.exports=function(l,c){var m,g,M,h,S;return arguments.length<2||typeof l!="string"?(h=c,c=l,l=null):h=arguments[2],a(l)?(m=n.call(l,"c"),g=n.call(l,"e"),M=n.call(l,"w")):(m=M=!0,g=!1),S={value:c,configurable:m,enumerable:g,writable:M},h?o(s(h),S):S};d.gs=function(l,c,m){var g,M,h,S;return typeof l!="string"?(h=m,m=c,c=l,l=null):h=arguments[3],a(c)?t(c)?a(m)?t(m)||(h=m,m=void 0):m=void 0:(h=c,c=m=void 0):c=void 0,a(l)?(g=n.call(l,"c"),M=n.call(l,"e")):(g=!0,M=!1),S={get:c,set:m,configurable:g,enumerable:M},h?o(s(h),S):S}},65140:function(b){"use strict";var y="%[a-f0-9]{2}",e=new RegExp("("+y+")|([^%]+?)","gi"),a=new RegExp("("+y+")+","gi");function t(n,d){try{return[decodeURIComponent(n.join(""))]}catch(m){}if(n.length===1)return n;d=d||1;var l=n.slice(0,d),c=n.slice(d);return Array.prototype.concat.call([],t(l),t(c))}function o(n){try{return decodeURIComponent(n)}catch(c){for(var d=n.match(e)||[],l=1;l1&&arguments[1]!==void 0?arguments[1]:s;if(t){var m={match:function(){l&&l(!0)},unmatch:function(){l&&l()}};return t.register(c,m),m}}function d(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;t&&t.unregister(c,l)}a=t},20699:function(b,y,e){var a=e(66835),t=e(54802).each;function o(s,n){this.query=s,this.isUnconditional=n,this.handlers=[],this.mql=window.matchMedia(s);var d=this;this.listener=function(l){d.mql=l.currentTarget||l,d.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(s){var n=new a(s);this.handlers.push(n),this.matches()&&n.on()},removeHandler:function(s){var n=this.handlers;t(n,function(d,l){if(d.equals(s))return d.destroy(),!n.splice(l,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.handlers,function(s){s.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var s=this.matches()?"on":"off";t(this.handlers,function(n){n[s]()})}},b.exports=o},68323:function(b,y,e){var a=e(20699),t=e(54802),o=t.each,s=t.isFunction,n=t.isArray;function d(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}d.prototype={constructor:d,register:function(l,c,m){var g=this.queries,M=m&&this.browserIsIncapable;return g[l]||(g[l]=new a(l,M)),s(c)&&(c={match:c}),n(c)||(c=[c]),o(c,function(h){s(h)&&(h={match:h}),g[l].addHandler(h)}),this},unregister:function(l,c){var m=this.queries[l];return m&&(c?m.removeHandler(c):(m.clear(),delete this.queries[l])),this}},b.exports=d},66835:function(b){function y(e){this.options=e,!e.deferSetup&&this.setup()}y.prototype={constructor:y,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},b.exports=y},54802:function(b){function y(t,o){var s=0,n=t.length,d;for(s;s-1}},87308:function(b,y,e){"use strict";var a=e(81474),t=e(54550),o=Function.prototype.apply,s=Function.prototype.call,n=Object.create,d=Object.defineProperty,l=Object.defineProperties,c=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0},g,M,h,S,w,C,z;g=function($,N){var L;return t(N),c.call(this,"__ee__")?L=this.__ee__:(L=m.value=n(null),d(this,"__ee__",m),m.value=null),L[$]?typeof L[$]=="object"?L[$].push(N):L[$]=[L[$],N]:L[$]=N,this},M=function($,N){var L,B;return t(N),B=this,g.call(this,$,L=function(){h.call(B,$,L),o.call(N,this,arguments)}),L.__eeOnceListener__=N,this},h=function($,N){var L,B,D,T;if(t(N),!c.call(this,"__ee__"))return this;if(L=this.__ee__,!L[$])return this;if(B=L[$],typeof B=="object")for(T=0;D=B[T];++T)(D===N||D.__eeOnceListener__===N)&&(B.length===2?L[$]=B[T?0:1]:B.splice(T,1));else(B===N||B.__eeOnceListener__===N)&&delete L[$];return this},S=function($){var N,L,B,D,T;if(c.call(this,"__ee__")&&(D=this.__ee__[$],!!D))if(typeof D=="object"){for(L=arguments.length,T=new Array(L-1),N=1;N=0&&(N.hash=$.substr(L),$=$.substr(0,L));var B=$.indexOf("?");B>=0&&(N.search=$.substr(B),$=$.substr(0,B)),$&&(N.pathname=$)}return N}},10063:function(b,y,e){"use strict";var a=e(99415),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[a.ForwardRef]=s,d[a.Memo]=n;function l(C){return a.isMemo(C)?n:d[C.$$typeof]||t}var c=Object.defineProperty,m=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,M=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,S=Object.prototype;function w(C,z,$){if(typeof z!="string"){if(S){var N=h(z);N&&N!==S&&w(C,N,$)}var L=m(z);g&&(L=L.concat(g(z)));for(var B=l(C),D=l(z),T=0;T>1,g=-7,M=t?s-1:0,h=t?-1:1,S=e[a+M];for(M+=h,n=S&(1<<-g)-1,S>>=-g,g+=l;g>0;n=n*256+e[a+M],M+=h,g-=8);for(d=n&(1<<-g)-1,n>>=-g,g+=o;g>0;d=d*256+e[a+M],M+=h,g-=8);if(n===0)n=1-m;else{if(n===c)return d?NaN:(S?-1:1)*(1/0);d=d+Math.pow(2,o),n=n-m}return(S?-1:1)*d*Math.pow(2,n-o)},y.write=function(e,a,t,o,s,n){var d,l,c,m=n*8-s-1,g=(1<>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=o?0:n-1,w=o?1:-1,C=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(l=isNaN(a)?1:0,d=g):(d=Math.floor(Math.log(a)/Math.LN2),a*(c=Math.pow(2,-d))<1&&(d--,c*=2),d+M>=1?a+=h/c:a+=h*Math.pow(2,1-M),a*c>=2&&(d++,c/=2),d+M>=g?(l=0,d=g):d+M>=1?(l=(a*c-1)*Math.pow(2,s),d=d+M):(l=a*Math.pow(2,M-1)*Math.pow(2,s),d=0));s>=8;e[t+S]=l&255,S+=w,l/=256,s-=8);for(d=d<0;e[t+S]=d&255,S+=w,d/=256,m-=8);e[t+S-w]|=C*128}},21700:function(b){"use strict";var y=function(e,a,t,o,s,n,d,l){if(!e){var c;if(a===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[t,o,s,n,d,l],g=0;c=new Error(a.replace(/%s/g,function(){return m[g++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};b.exports=y},23161:function(b){var y={}.toString;b.exports=Array.isArray||function(e){return y.call(e)=="[object Array]"}},61012:function(b,y,e){var a=1/0,t="[object Symbol]",o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n="\\ud800-\\udfff",d="\\u0300-\\u036f\\ufe20-\\ufe23",l="\\u20d0-\\u20f0",c="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",g="\\xac\\xb1\\xd7\\xf7",M="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",h="\\u2000-\\u206f",S=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",w="A-Z\\xc0-\\xd6\\xd8-\\xde",C="\\ufe0e\\ufe0f",z=g+M+h+S,$="['\u2019]",N="["+n+"]",L="["+z+"]",B="["+d+l+"]",D="\\d+",T="["+c+"]",j="["+m+"]",K="[^"+n+z+D+c+m+w+"]",k="\\ud83c[\\udffb-\\udfff]",te="(?:"+B+"|"+k+")",Y="[^"+n+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",X="["+w+"]",W="\\u200d",x="(?:"+j+"|"+K+")",O="(?:"+X+"|"+K+")",_="(?:"+$+"(?:d|ll|m|re|s|t|ve))?",U="(?:"+$+"(?:D|LL|M|RE|S|T|VE))?",A=te+"?",G="["+C+"]?",de="(?:"+W+"(?:"+[Y,q,le].join("|")+")"+G+A+")*",he=G+A+de,ge="(?:"+[T,q,le].join("|")+")"+he,be="(?:"+[Y+B+"?",B,q,le,N].join("|")+")",Te=RegExp($,"g"),Ge=RegExp(B,"g"),Je=RegExp(k+"(?="+k+")|"+be+he,"g"),Qe=RegExp([X+"?"+j+"+"+_+"(?="+[L,X,"$"].join("|")+")",O+"+"+U+"(?="+[L,X+x,"$"].join("|")+")",X+"?"+x+"+"+_,X+"+"+U,D,ge].join("|"),"g"),pt=RegExp("["+W+n+d+l+C+"]"),Ct=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ft={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},Ht=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Ze=typeof self=="object"&&self&&self.Object===Object&&self,Xe=Ht||Ze||Function("return this")();function rt(ke,Be,it,Ve){var It=-1,_t=ke?ke.length:0;for(Ve&&_t&&(it=ke[++It]);++It<_t;)it=Be(it,ke[It],It,ke);return it}function Ke(ke){return ke.split("")}function ye(ke){return ke.match(o)||[]}function ne(ke){return function(Be){return ke==null?void 0:ke[Be]}}var H=ne(ft);function R(ke){return pt.test(ke)}function P(ke){return Ct.test(ke)}function ae(ke){return R(ke)?Q(ke):Ke(ke)}function Q(ke){return ke.match(Je)||[]}function ie(ke){return ke.match(Qe)||[]}var me=Object.prototype,je=me.toString,Ee=Xe.Symbol,Me=Ee?Ee.prototype:void 0,We=Me?Me.toString:void 0;function re(ke,Be,it){var Ve=-1,It=ke.length;Be<0&&(Be=-Be>It?0:It+Be),it=it>It?It:it,it<0&&(it+=It),It=Be>it?0:it-Be>>>0,Be>>>=0;for(var _t=Array(It);++Ve=Ve?ke:re(ke,Be,it)}function ce(ke){return function(Be){Be=Oe(Be);var it=R(Be)?ae(Be):void 0,Ve=it?it[0]:Be.charAt(0),It=it?J(it,1).join(""):Be.slice(1);return Ve[ke]()+It}}function xe(ke){return function(Be){return rt(Ye(st(Be).replace(Te,"")),ke,"")}}function ue(ke){return!!ke&&typeof ke=="object"}function Ne(ke){return typeof ke=="symbol"||ue(ke)&&je.call(ke)==t}function Oe(ke){return ke==null?"":se(ke)}var we=xe(function(ke,Be,it){return Be=Be.toLowerCase(),ke+(it?Re(Be):Be)});function Re(ke){return tt(Oe(ke).toLowerCase())}function st(ke){return ke=Oe(ke),ke&&ke.replace(s,H).replace(Ge,"")}var tt=ce("toUpperCase");function Ye(ke,Be,it){return ke=Oe(ke),Be=it?void 0:Be,Be===void 0?P(ke)?ie(ke):ye(ke):ke.match(Be)||[]}b.exports=we},51899:function(b,y,e){var a="Expected a function",t=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,m=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,g=typeof self=="object"&&self&&self.Object===Object&&self,M=m||g||Function("return this")(),h=Object.prototype,S=h.toString,w=Math.max,C=Math.min,z=function(){return M.Date.now()};function $(T,j,K){var k,te,Y,q,le,X,W=0,x=!1,O=!1,_=!0;if(typeof T!="function")throw new TypeError(a);j=D(j)||0,N(K)&&(x=!!K.leading,O="maxWait"in K,Y=O?w(D(K.maxWait)||0,j):Y,_="trailing"in K?!!K.trailing:_);function U(Je){var Qe=k,pt=te;return k=te=void 0,W=Je,q=T.apply(pt,Qe),q}function A(Je){return W=Je,le=setTimeout(he,j),x?U(Je):q}function G(Je){var Qe=Je-X,pt=Je-W,Ct=j-Qe;return O?C(Ct,Y-pt):Ct}function de(Je){var Qe=Je-X,pt=Je-W;return X===void 0||Qe>=j||Qe<0||O&&pt>=Y}function he(){var Je=z();if(de(Je))return ge(Je);le=setTimeout(he,G(Je))}function ge(Je){return le=void 0,_&&k?U(Je):(k=te=void 0,q)}function be(){le!==void 0&&clearTimeout(le),W=0,k=X=te=le=void 0}function Te(){return le===void 0?q:ge(z())}function Ge(){var Je=z(),Qe=de(Je);if(k=arguments,te=this,X=Je,Qe){if(le===void 0)return A(X);if(O)return le=setTimeout(he,j),U(X)}return le===void 0&&(le=setTimeout(he,j)),q}return Ge.cancel=be,Ge.flush=Te,Ge}function N(T){var j=typeof T;return!!T&&(j=="object"||j=="function")}function L(T){return!!T&&typeof T=="object"}function B(T){return typeof T=="symbol"||L(T)&&S.call(T)==o}function D(T){if(typeof T=="number")return T;if(B(T))return t;if(N(T)){var j=typeof T.valueOf=="function"?T.valueOf():T;T=N(j)?j+"":j}if(typeof T!="string")return T===0?T:+T;T=T.replace(s,"");var K=d.test(T);return K||l.test(T)?c(T.slice(2),K?2:8):n.test(T)?t:+T}b.exports=$},14978:function(b,y,e){var a="Expected a function",t=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,m=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,g=typeof self=="object"&&self&&self.Object===Object&&self,M=m||g||Function("return this")(),h=Object.prototype,S=h.toString,w=Math.max,C=Math.min,z=function(){return M.Date.now()};function $(j,K,k){var te,Y,q,le,X,W,x=0,O=!1,_=!1,U=!0;if(typeof j!="function")throw new TypeError(a);K=T(K)||0,L(k)&&(O=!!k.leading,_="maxWait"in k,q=_?w(T(k.maxWait)||0,K):q,U="trailing"in k?!!k.trailing:U);function A(Qe){var pt=te,Ct=Y;return te=Y=void 0,x=Qe,le=j.apply(Ct,pt),le}function G(Qe){return x=Qe,X=setTimeout(ge,K),O?A(Qe):le}function de(Qe){var pt=Qe-W,Ct=Qe-x,ft=K-pt;return _?C(ft,q-Ct):ft}function he(Qe){var pt=Qe-W,Ct=Qe-x;return W===void 0||pt>=K||pt<0||_&&Ct>=q}function ge(){var Qe=z();if(he(Qe))return be(Qe);X=setTimeout(ge,de(Qe))}function be(Qe){return X=void 0,U&&te?A(Qe):(te=Y=void 0,le)}function Te(){X!==void 0&&clearTimeout(X),x=0,te=W=Y=X=void 0}function Ge(){return X===void 0?le:be(z())}function Je(){var Qe=z(),pt=he(Qe);if(te=arguments,Y=this,W=Qe,pt){if(X===void 0)return G(W);if(_)return X=setTimeout(ge,K),A(W)}return X===void 0&&(X=setTimeout(ge,K)),le}return Je.cancel=Te,Je.flush=Ge,Je}function N(j,K,k){var te=!0,Y=!0;if(typeof j!="function")throw new TypeError(a);return L(k)&&(te="leading"in k?!!k.leading:te,Y="trailing"in k?!!k.trailing:Y),$(j,K,{leading:te,maxWait:K,trailing:Y})}function L(j){var K=typeof j;return!!j&&(K=="object"||K=="function")}function B(j){return!!j&&typeof j=="object"}function D(j){return typeof j=="symbol"||B(j)&&S.call(j)==o}function T(j){if(typeof j=="number")return j;if(D(j))return t;if(L(j)){var K=typeof j.valueOf=="function"?j.valueOf():j;j=L(K)?K+"":K}if(typeof j!="string")return j===0?j:+j;j=j.replace(s,"");var k=d.test(j);return k||l.test(j)?c(j.slice(2),k?2:8):n.test(j)?t:+j}b.exports=N},94466:function(b,y,e){var a=e(65234),t=e(83250),o=a(t,"DataView");b.exports=o},85208:function(b,y,e){var a=e(34440),t=e(84108),o=e(61085),s=e(77706),n=e(8636);function d(l){var c=-1,m=l==null?0:l.length;for(this.clear();++cw))return!1;var z=h.get(l),$=h.get(c);if(z&&$)return z==c&&$==l;var N=-1,L=!0,B=m&n?new a:void 0;for(h.set(l,c),h.set(c,l);++N-1&&t%1==0&&t-1}b.exports=t},67690:function(b,y,e){var a=e(18498);function t(o,s){var n=this.__data__,d=a(n,o);return d<0?(++this.size,n.push([o,s])):n[d][1]=s,this}b.exports=t},39016:function(b,y,e){var a=e(85208),t=e(81998),o=e(72887);function s(){this.size=0,this.__data__={hash:new a,map:new(o||t),string:new a}}b.exports=s},62363:function(b,y,e){var a=e(77570);function t(o){var s=a(this,o).delete(o);return this.size-=s?1:0,s}b.exports=t},64348:function(b,y,e){var a=e(77570);function t(o){return a(this,o).get(o)}b.exports=t},53062:function(b,y,e){var a=e(77570);function t(o){return a(this,o).has(o)}b.exports=t},30262:function(b,y,e){var a=e(77570);function t(o,s){var n=a(this,o),d=n.size;return n.set(o,s),this.size+=n.size==d?0:1,this}b.exports=t},81140:function(b){function y(e){var a=-1,t=Array(e.size);return e.forEach(function(o,s){t[++a]=[s,o]}),t}b.exports=y},24545:function(b,y,e){var a=e(65234),t=a(Object,"create");b.exports=t},82825:function(b,y,e){var a=e(33540),t=a(Object.keys,Object);b.exports=t},8690:function(b,y,e){b=e.nmd(b);var a=e(20302),t=y&&!y.nodeType&&y,o=t&&!0&&b&&!b.nodeType&&b,s=o&&o.exports===t,n=s&&a.process,d=function(){try{var l=o&&o.require&&o.require("util").types;return l||n&&n.binding&&n.binding("util")}catch(c){}}();b.exports=d},25151:function(b){var y=Object.prototype,e=y.toString;function a(t){return e.call(t)}b.exports=a},33540:function(b){function y(e,a){return function(t){return e(a(t))}}b.exports=y},83250:function(b,y,e){var a=e(20302),t=typeof self=="object"&&self&&self.Object===Object&&self,o=a||t||Function("return this")();b.exports=o},83937:function(b){var y="__lodash_hash_undefined__";function e(a){return this.__data__.set(a,y),this}b.exports=e},15009:function(b){function y(e){return this.__data__.has(e)}b.exports=y},77969:function(b){function y(e){var a=-1,t=Array(e.size);return e.forEach(function(o){t[++a]=o}),t}b.exports=y},93210:function(b,y,e){var a=e(81998);function t(){this.__data__=new a,this.size=0}b.exports=t},48603:function(b){function y(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}b.exports=y},38947:function(b){function y(e){return this.__data__.get(e)}b.exports=y},70885:function(b){function y(e){return this.__data__.has(e)}b.exports=y},98938:function(b,y,e){var a=e(81998),t=e(72887),o=e(95678),s=200;function n(d,l){var c=this.__data__;if(c instanceof a){var m=c.__data__;if(!t||m.length=m||W<0||L&&x>=S}function k(){var X=t();if(K(X))return te(X);C=setTimeout(k,j(X))}function te(X){return C=void 0,B&&M?D(X):(M=h=void 0,w)}function Y(){C!==void 0&&clearTimeout(C),$=0,M=z=h=C=void 0}function q(){return C===void 0?w:te(t())}function le(){var X=t(),W=K(X);if(M=arguments,h=this,z=X,W){if(C===void 0)return T(z);if(L)return clearTimeout(C),C=setTimeout(k,m),D(z)}return C===void 0&&(C=setTimeout(k,m)),w}return le.cancel=Y,le.flush=q,le}b.exports=l},58260:function(b){function y(e,a){return e===a||e!==e&&a!==a}b.exports=y},79312:function(b,y,e){var a=e(33016),t=e(50440),o=Object.prototype,s=o.hasOwnProperty,n=o.propertyIsEnumerable,d=a(function(){return arguments}())?a:function(l){return t(l)&&s.call(l,"callee")&&!n.call(l,"callee")};b.exports=d},55589:function(b){var y=Array.isArray;b.exports=y},30568:function(b,y,e){var a=e(45563),t=e(66052);function o(s){return s!=null&&t(s.length)&&!a(s)}b.exports=o},85778:function(b,y,e){b=e.nmd(b);var a=e(83250),t=e(37999),o=y&&!y.nodeType&&y,s=o&&!0&&b&&!b.nodeType&&b,n=s&&s.exports===o,d=n?a.Buffer:void 0,l=d?d.isBuffer:void 0,c=l||t;b.exports=c},85466:function(b,y,e){var a=e(34662);function t(o,s){return a(o,s)}b.exports=t},45563:function(b,y,e){var a=e(69823),t=e(93702),o="[object AsyncFunction]",s="[object Function]",n="[object GeneratorFunction]",d="[object Proxy]";function l(c){if(!t(c))return!1;var m=a(c);return m==s||m==n||m==o||m==d}b.exports=l},66052:function(b){var y=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=y}b.exports=e},93702:function(b){function y(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}b.exports=y},50440:function(b){function y(e){return e!=null&&typeof e=="object"}b.exports=y},52624:function(b,y,e){var a=e(69823),t=e(50440),o="[object Symbol]";function s(n){return typeof n=="symbol"||t(n)&&a(n)==o}b.exports=s},50922:function(b,y,e){var a=e(42448),t=e(31525),o=e(8690),s=o&&o.isTypedArray,n=s?t(s):a;b.exports=n},62096:function(b,y,e){var a=e(75825),t=e(41351),o=e(30568);function s(n){return o(n)?a(n):t(n)}b.exports=s},39378:function(b,y,e){b=e.nmd(b);var a;(function(){var t,o="4.17.21",s=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",m=500,g="__lodash_placeholder__",M=1,h=2,S=4,w=1,C=2,z=1,$=2,N=4,L=8,B=16,D=32,T=64,j=128,K=256,k=512,te=30,Y="...",q=800,le=16,X=1,W=2,x=3,O=1/0,_=9007199254740991,U=17976931348623157e292,A=0/0,G=4294967295,de=G-1,he=G>>>1,ge=[["ary",j],["bind",z],["bindKey",$],["curry",L],["curryRight",B],["flip",k],["partial",D],["partialRight",T],["rearg",K]],be="[object Arguments]",Te="[object Array]",Ge="[object AsyncFunction]",Je="[object Boolean]",Qe="[object Date]",pt="[object DOMException]",Ct="[object Error]",ft="[object Function]",Ht="[object GeneratorFunction]",Ze="[object Map]",Xe="[object Number]",rt="[object Null]",Ke="[object Object]",ye="[object Promise]",ne="[object Proxy]",H="[object RegExp]",R="[object Set]",P="[object String]",ae="[object Symbol]",Q="[object Undefined]",ie="[object WeakMap]",me="[object WeakSet]",je="[object ArrayBuffer]",Ee="[object DataView]",Me="[object Float32Array]",We="[object Float64Array]",re="[object Int8Array]",se="[object Int16Array]",J="[object Int32Array]",ce="[object Uint8Array]",xe="[object Uint8ClampedArray]",ue="[object Uint16Array]",Ne="[object Uint32Array]",Oe=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,Re=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39);/g,tt=/[&<>"']/g,Ye=RegExp(st.source),ke=RegExp(tt.source),Be=/<%-([\s\S]+?)%>/g,it=/<%([\s\S]+?)%>/g,Ve=/<%=([\s\S]+?)%>/g,It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_t=/^\w*$/,wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Yt=RegExp(jt.source),yt=/^\s+/,ze=/\s/,nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Et=/\{\n\/\* \[wrapped with (.+)\] \*/,lt=/,? & /,Gt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rt=/[()=,{}\[\]\/\s]/,Ot=/\\(\\)?/g,Ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Se=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,Pt=/^0b[01]+$/i,He=/^\[object .+?Constructor\]$/,qe=/^0o[0-7]+$/i,Zt=/^(?:0|[1-9]\d*)$/,Ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qt=/($^)/,ln=/['\n\r\u2028\u2029\\]/g,En="\\ud800-\\udfff",mn="\\u0300-\\u036f",Yn="\\ufe20-\\ufe2f",Gn="\\u20d0-\\u20ff",ir=mn+Yn+Gn,mr="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",en="\\xac\\xb1\\xd7\\xf7",rn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fn="\\u2000-\\u206f",In=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",on="A-Z\\xc0-\\xd6\\xd8-\\xde",mt="\\ufe0e\\ufe0f",gt=en+rn+fn+In,sn="['\u2019]",Qt="["+En+"]",tn="["+gt+"]",yn="["+ir+"]",vn="\\d+",Wn="["+mr+"]",tr="["+Ft+"]",ut="[^"+En+gt+vn+mr+Ft+on+"]",ct="\\ud83c[\\udffb-\\udfff]",At="(?:"+yn+"|"+ct+")",xt="[^"+En+"]",kt="(?:\\ud83c[\\udde6-\\uddff]){2}",un="[\\ud800-\\udbff][\\udc00-\\udfff]",nn="["+on+"]",An="\\u200d",zn="(?:"+tr+"|"+ut+")",Er="(?:"+nn+"|"+ut+")",nr="(?:"+sn+"(?:d|ll|m|re|s|t|ve))?",Fn="(?:"+sn+"(?:D|LL|M|RE|S|T|VE))?",kr=At+"?",hr="["+mt+"]?",la="(?:"+An+"(?:"+[xt,kt,un].join("|")+")"+hr+kr+")*",zr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",On=hr+kr+la,Tn="(?:"+[Wn,kt,un].join("|")+")"+On,ar="(?:"+[xt+yn+"?",yn,kt,un,Qt].join("|")+")",br=RegExp(sn,"g"),Kr=RegExp(yn,"g"),ra=RegExp(ct+"(?="+ct+")|"+ar+On,"g"),pa=RegExp([nn+"?"+tr+"+"+nr+"(?="+[tn,nn,"$"].join("|")+")",Er+"+"+Fn+"(?="+[tn,nn+zn,"$"].join("|")+")",nn+"?"+zn+"+"+nr,nn+"+"+Fn,Zn,zr,vn,Tn].join("|"),"g"),fr=RegExp("["+An+En+ir+mt+"]"),Ur=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ea=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ha=-1,Hn={};Hn[Me]=Hn[We]=Hn[re]=Hn[se]=Hn[J]=Hn[ce]=Hn[xe]=Hn[ue]=Hn[Ne]=!0,Hn[be]=Hn[Te]=Hn[je]=Hn[Je]=Hn[Ee]=Hn[Qe]=Hn[Ct]=Hn[ft]=Hn[Ze]=Hn[Xe]=Hn[Ke]=Hn[H]=Hn[R]=Hn[P]=Hn[ie]=!1;var Bn={};Bn[be]=Bn[Te]=Bn[je]=Bn[Ee]=Bn[Je]=Bn[Qe]=Bn[Me]=Bn[We]=Bn[re]=Bn[se]=Bn[J]=Bn[Ze]=Bn[Xe]=Bn[Ke]=Bn[H]=Bn[R]=Bn[P]=Bn[ae]=Bn[ce]=Bn[xe]=Bn[ue]=Bn[Ne]=!0,Bn[Ct]=Bn[ft]=Bn[ie]=!1;var yr={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Xr={"&":"&","<":"<",">":">",'"':""","'":"'"},Dr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Tt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},an=parseFloat,bn=parseInt,Xa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,ho=typeof self=="object"&&self&&self.Object===Object&&self,$a=Xa||ho||Function("return this")(),Ua=y&&!y.nodeType&&y,Ka=Ua&&!0&&b&&!b.nodeType&&b,wo=Ka&&Ka.exports===Ua,No=wo&&Xa.process,yo=function(){try{var Vn=Ka&&Ka.require&&Ka.require("util").types;return Vn||No&&No.binding&&No.binding("util")}catch(Gr){}}(),dt=yo&&yo.isArrayBuffer,zt=yo&&yo.isDate,Ae=yo&&yo.isMap,dn=yo&&yo.isRegExp,Dn=yo&&yo.isSet,Mn=yo&&yo.isTypedArray;function qn(Vn,Gr,wr){switch(wr.length){case 0:return Vn.call(Gr);case 1:return Vn.call(Gr,wr[0]);case 2:return Vn.call(Gr,wr[0],wr[1]);case 3:return Vn.call(Gr,wr[0],wr[1],wr[2])}return Vn.apply(Gr,wr)}function rr(Vn,Gr,wr,$r){for(var oa=-1,Ta=Vn==null?0:Vn.length;++oa-1}function Pr(Vn,Gr,wr){for(var $r=-1,oa=Vn==null?0:Vn.length;++$r-1;);return wr}function Xo(Vn,Gr){for(var wr=Vn.length;wr--&&Wr(Gr,Vn[wr],0)>-1;);return wr}function ei(Vn,Gr){for(var wr=Vn.length,$r=0;wr--;)Vn[wr]===Gr&&++$r;return $r}var ao=Oa(yr),hi=Oa(Xr);function wi(Vn){return"\\"+Tt[Vn]}function Go(Vn,Gr){return Vn==null?t:Vn[Gr]}function $o(Vn){return fr.test(Vn)}function si(Vn){return Ur.test(Vn)}function ai(Vn){for(var Gr,wr=[];!(Gr=Vn.next()).done;)wr.push(Gr.value);return wr}function Si(Vn){var Gr=-1,wr=Array(Vn.size);return Vn.forEach(function($r,oa){wr[++Gr]=[oa,$r]}),wr}function Pi(Vn,Gr){return function(wr){return Vn(Gr(wr))}}function Ei(Vn,Gr){for(var wr=-1,$r=Vn.length,oa=0,Ta=[];++wr<$r;){var za=Vn[wr];(za===Gr||za===g)&&(Vn[wr]=g,Ta[oa++]=wr)}return Ta}function to(Vn){var Gr=-1,wr=Array(Vn.size);return Vn.forEach(function($r){wr[++Gr]=$r}),wr}function Ga(Vn){var Gr=-1,wr=Array(Vn.size);return Vn.forEach(function($r){wr[++Gr]=[$r,$r]}),wr}function Jo(Vn,Gr,wr){for(var $r=wr-1,oa=Vn.length;++$r-1}function vu(p,E){var oe=this.__data__,Fe=ki(oe,p);return Fe<0?(++this.size,oe.push([p,E])):oe[Fe][1]=E,this}mo.prototype.clear=qs,mo.prototype.delete=au,mo.prototype.get=Fi,mo.prototype.has=ou,mo.prototype.set=vu;function Us(p){var E=-1,oe=p==null?0:p.length;for(this.clear();++E=E?p:E)),p}function us(p,E,oe,Fe,ht,Jt){var Sn,$n=E&M,cr=E&h,Ma=E&S;if(oe&&(Sn=ht?oe(p,Fe,ht,Jt):oe(p)),Sn!==t)return Sn;if(!Fs(p))return p;var Sa=di(p);if(Sa){if(Sn=fo(p),!$n)return ta(p,Sn)}else{var Pa=Wa(p),Ja=Pa==ft||Pa==Ht;if(ld(p))return kn(p,$n);if(Pa==Ke||Pa==be||Ja&&!ht){if(Sn=cr||Ja?{}:Bi(p),!$n)return cr?Ar(p,Gl(Sn,p)):lr(p,wu(Sn,p))}else{if(!Bn[Pa])return ht?p:{};Sn=$i(p,Pa,$n)}}Jt||(Jt=new Kt);var bo=Jt.get(p);if(bo)return bo;Jt.set(p,Sn),wf(p)?p.forEach(function(Vo){Sn.add(us(Vo,E,oe,Vo,p,Jt))}):Of(p)&&p.forEach(function(Vo,Di){Sn.set(Di,us(Vo,E,oe,Di,p,Jt))});var Yo=Ma?cr?ba:da:cr?Bu:kl,pi=Sa?t:Yo(p);return Hr(pi||p,function(Vo,Di){pi&&(Di=Vo,Vo=p[Di]),Oo(Sn,Di,us(Vo,E,oe,Di,p,Jt))}),Sn}function Ic(p){var E=kl(p);return function(oe){return nc(oe,p,E)}}function nc(p,E,oe){var Fe=oe.length;if(p==null)return!Fe;for(p=La(p);Fe--;){var ht=oe[Fe],Jt=E[ht],Sn=p[ht];if(Sn===t&&!(ht in p)||!Jt(Sn))return!1}return!0}function fl(p,E,oe){if(typeof p!="function")throw new ko(d);return hc(function(){p.apply(t,oe)},E)}function Il(p,E,oe,Fe){var ht=-1,Jt=aa,Sn=!0,$n=p.length,cr=[],Ma=E.length;if(!$n)return cr;oe&&(E=Zr(E,so(oe))),Fe?(Jt=Pr,Sn=!1):E.length>=s&&(Jt=Ba,Sn=!1,E=new ks(E));e:for(;++ht<$n;){var Sa=p[ht],Pa=oe==null?Sa:oe(Sa);if(Sa=Fe||Sa!==0?Sa:0,Sn&&Pa===Pa){for(var Ja=Ma;Ja--;)if(E[Ja]===Pa)continue e;cr.push(Sa)}else Jt(E,Pa,Fe)||cr.push(Sa)}return cr}var Rl=Kn(Qi),ku=Kn(Ts,!0);function Ac(p,E){var oe=!0;return Rl(p,function(Fe,ht,Jt){return oe=!!E(Fe,ht,Jt),oe}),oe}function gu(p,E,oe){for(var Fe=-1,ht=p.length;++Feht?0:ht+oe),Fe=Fe===t||Fe>ht?ht:mi(Fe),Fe<0&&(Fe+=ht),Fe=oe>Fe?0:Pf(Fe);oe0&&oe($n)?E>1?as($n,E-1,oe,Fe,ht):va(ht,$n):Fe||(ht[ht.length]=$n)}return ht}var Pu=Yr(),ps=Yr(!0);function Qi(p,E){return p&&Pu(p,E,kl)}function Ts(p,E){return p&&ps(p,E,kl)}function el(p,E){return Jr(E,function(oe){return Kc(p[oe])})}function Wo(p,E){E=bu(E,p);for(var oe=0,Fe=E.length;p!=null&&oeE}function tl(p,E){return p!=null&&Qo.call(p,E)}function vl(p,E){return p!=null&&E in La(p)}function Ls(p,E,oe){return p>=yi(E,oe)&&p=120&&Sa.length>=120)?new ks(Sn&&Sa):t}Sa=p[0];var Pa=-1,Ja=$n[0];e:for(;++Pa-1;)$n!==p&&js.call($n,cr,1),js.call(p,cr,1);return p}function fc(p,E){for(var oe=p?E.length:0,Fe=oe-1;oe--;){var ht=E[oe];if(oe==Fe||ht!==Jt){var Jt=ht;ja(ht)?js.call(p,ht,1):wc(p,ht)}}return p}function vc(p,E){return p+ua(no()*(E-p+1))}function Ql(p,E,oe,Fe){for(var ht=-1,Jt=Ao(ll((E-p)/(oe||1)),0),Sn=wr(Jt);Jt--;)Sn[Fe?Jt:++ht]=p,p+=oe;return Sn}function Ni(p,E){var oe="";if(!p||E<1||E>_)return oe;do E%2&&(oe+=p),E=ua(E/2),E&&(p+=p);while(E);return oe}function po(p,E){return uu(As(p,E,$u),p+"")}function xs(p){return es(Fd(p))}function gc(p,E){var oe=Fd(p);return Pc(oe,Kl(E,0,oe.length))}function yu(p,E,oe,Fe){if(!Fs(p))return p;E=bu(E,p);for(var ht=-1,Jt=E.length,Sn=Jt-1,$n=p;$n!=null&&++htht?0:ht+E),oe=oe>ht?ht:oe,oe<0&&(oe+=ht),ht=E>oe?0:oe-E>>>0,E>>>=0;for(var Jt=wr(ht);++Fe>>1,Sn=p[Jt];Sn!==null&&!Xu(Sn)&&(oe?Sn<=E:Sn=s){var Ma=E?null:cn(p);if(Ma)return to(Ma);Sn=!1,ht=Ba,cr=new ks}else cr=E?[]:$n;e:for(;++Fe=Fe?p:Hs(p,E,oe)}var Pe=Eo||function(p){return $a.clearTimeout(p)};function kn(p,E){if(E)return p.slice();var oe=p.length,Fe=cu?cu(oe):new p.constructor(oe);return p.copy(Fe),Fe}function vt(p){var E=new p.constructor(p.byteLength);return new Tl(E).set(new Tl(p)),E}function Nn(p,E){var oe=E?vt(p.buffer):p.buffer;return new p.constructor(oe,p.byteOffset,p.byteLength)}function xn(p){var E=new p.constructor(p.source,Se.exec(p));return E.lastIndex=p.lastIndex,E}function wn(p){return Sl?La(Sl.call(p)):{}}function Rn(p,E){var oe=E?vt(p.buffer):p.buffer;return new p.constructor(oe,p.byteOffset,p.length)}function vr(p,E){if(p!==E){var oe=p!==t,Fe=p===null,ht=p===p,Jt=Xu(p),Sn=E!==t,$n=E===null,cr=E===E,Ma=Xu(E);if(!$n&&!Ma&&!Jt&&p>E||Jt&&Sn&&cr&&!$n&&!Ma||Fe&&Sn&&cr||!oe&&cr||!ht)return 1;if(!Fe&&!Jt&&!Ma&&p=$n)return cr;var Ma=oe[Fe];return cr*(Ma=="desc"?-1:1)}}return p.index-E.index}function Mr(p,E,oe,Fe){for(var ht=-1,Jt=p.length,Sn=oe.length,$n=-1,cr=E.length,Ma=Ao(Jt-Sn,0),Sa=wr(cr+Ma),Pa=!Fe;++$n1?oe[ht-1]:t,Sn=ht>2?oe[2]:t;for(Jt=p.length>3&&typeof Jt=="function"?(ht--,Jt):t,Sn&&ii(oe[0],oe[1],Sn)&&(Jt=ht<3?t:Jt,ht=1),E=La(E);++Fe-1?ht[Jt?E[Sn]:Sn]:t}}function Br(p){return ya(function(E){var oe=E.length,Fe=oe,ht=zi.prototype.thru;for(p&&E.reverse();Fe--;){var Jt=E[Fe];if(typeof Jt!="function")throw new ko(d);if(ht&&!Sn&&oo(Jt)=="wrapper")var Sn=new zi([],!0)}for(Fe=Sn?Fe:oe;++Fe1&&ji.reverse(),Sa&&cr$n))return!1;var Ma=Jt.get(p),Sa=Jt.get(E);if(Ma&&Sa)return Ma==E&&Sa==p;var Pa=-1,Ja=!0,bo=oe&C?new ks:t;for(Jt.set(p,E),Jt.set(E,p);++Pa<$n;){var Yo=p[Pa],pi=E[Pa];if(Fe)var Vo=Sn?Fe(pi,Yo,Pa,E,p,Jt):Fe(Yo,pi,Pa,p,E,Jt);if(Vo!==t){if(Vo)continue;Ja=!1;break}if(bo){if(!Va(E,function(Di,ji){if(!Ba(bo,ji)&&(Yo===Di||ht(Yo,Di,oe,Fe,Jt)))return bo.push(ji)})){Ja=!1;break}}else if(!(Yo===pi||ht(Yo,pi,oe,Fe,Jt))){Ja=!1;break}}return Jt.delete(p),Jt.delete(E),Ja}function Lr(p,E,oe,Fe,ht,Jt,Sn){switch(oe){case Ee:if(p.byteLength!=E.byteLength||p.byteOffset!=E.byteOffset)return!1;p=p.buffer,E=E.buffer;case je:return!(p.byteLength!=E.byteLength||!Jt(new Tl(p),new Tl(E)));case Je:case Qe:case Xe:return Cc(+p,+E);case Ct:return p.name==E.name&&p.message==E.message;case H:case P:return p==E+"";case Ze:var $n=Si;case R:var cr=Fe&w;if($n||($n=to),p.size!=E.size&&!cr)return!1;var Ma=Sn.get(p);if(Ma)return Ma==E;Fe|=C,Sn.set(p,E);var Sa=Sr($n(p),$n(E),Fe,ht,Jt,Sn);return Sn.delete(p),Sa;case ae:if(Sl)return Sl.call(p)==Sl.call(E)}return!1}function Qr(p,E,oe,Fe,ht,Jt){var Sn=oe&w,$n=da(p),cr=$n.length,Ma=da(E),Sa=Ma.length;if(cr!=Sa&&!Sn)return!1;for(var Pa=cr;Pa--;){var Ja=$n[Pa];if(!(Sn?Ja in E:Qo.call(E,Ja)))return!1}var bo=Jt.get(p),Yo=Jt.get(E);if(bo&&Yo)return bo==E&&Yo==p;var pi=!0;Jt.set(p,E),Jt.set(E,p);for(var Vo=Sn;++Pa1?"& ":"")+E[Fe],E=E.join(oe>2?", ":" "),p.replace(nt,`{ +`:case"\u2028":case"\u2029":break;case"0":if(C(N,D))return;L+="\0";break;case"x":if(T=F(N,D,D+2),T===-1)return;D+=2,L+=o(T);break;case"u":if(D1114111)return;L+=s(T);break;default:if(C(j,0))return;L+=j}$=D}return L+c(N,$)}},53761:function(b,y,e){var a=e(11700),t=e(12105),o=e(68424),s=e(91289),n=a("".replace),d=RegExp("^["+s+"]+"),l=RegExp("(^|[^"+s+"])["+s+"]+$"),c=function(m){return function(g){var M=o(t(g));return m&1&&(M=n(M,d,"")),m&2&&(M=n(M,l,"$1")),M}};b.exports={start:c(1),end:c(2),trim:c(3)}},27698:function(b,y,e){var a=e(53065),t=e(77149),o=e(8783),s=e(83051),n=e(79132),d=e(79727),l=a.structuredClone;b.exports=!!l&&!t(function(){if(n&&o>92||d&&o>94||s&&o>97)return!1;var c=new ArrayBuffer(8),m=l(c,{transfer:[c]});return c.byteLength!=0||m.byteLength!=8})},18680:function(b,y,e){var a=e(8783),t=e(77149);b.exports=!!Object.getOwnPropertySymbols&&!t(function(){var o=Symbol();return!String(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&a&&a<41})},56912:function(b,y,e){var a=e(53065),t=e(59178),o=e(34066),s=e(6508),n=e(26583),d=e(77149),l=e(8199),c=e(66322),m=e(75074),g=e(87486),M=e(72833),h=e(79727),S=a.setImmediate,w=a.clearImmediate,C=a.process,F=a.Dispatch,Z=a.Function,N=a.MessageChannel,L=a.String,$=0,D={},T="onreadystatechange",j,K,k,te;d(function(){j=a.location});var V=function(W){if(n(D,W)){var x=D[W];delete D[W],x()}},q=function(W){return function(){V(W)}},le=function(W){V(W.data)},X=function(W){a.postMessage(L(W),j.protocol+"//"+j.host)};(!S||!w)&&(S=function(x){g(arguments.length,1);var O=s(x)?x:Z(x),_=c(arguments,1);return D[++$]=function(){t(O,void 0,_)},K($),$},w=function(x){delete D[x]},h?K=function(W){C.nextTick(q(W))}:F&&F.now?K=function(W){F.now(q(W))}:N&&!M?(k=new N,te=k.port2,k.port1.onmessage=le,K=o(te.postMessage,te)):a.addEventListener&&s(a.postMessage)&&!a.importScripts&&j&&j.protocol!=="file:"&&!d(X)?(K=X,a.addEventListener("message",le,!1)):T in m("script")?K=function(W){l.appendChild(m("script"))[T]=function(){l.removeChild(this),V(W)}}:K=function(W){setTimeout(q(W),0)}),b.exports={set:S,clear:w}},71410:function(b,y,e){var a=e(68345),t=Math.max,o=Math.min;b.exports=function(s,n){var d=a(s);return d<0?t(d+n,0):o(d,n)}},28046:function(b,y,e){var a=e(54845),t=TypeError;b.exports=function(o){var s=a(o,"number");if(typeof s=="number")throw t("Can't convert number to bigint");return BigInt(s)}},92503:function(b,y,e){var a=e(68345),t=e(25010),o=RangeError;b.exports=function(s){if(s===void 0)return 0;var n=a(s),d=t(n);if(n!==d)throw o("Wrong length or index");return d}},514:function(b,y,e){var a=e(42414),t=e(12105);b.exports=function(o){return a(t(o))}},68345:function(b,y,e){var a=e(18243);b.exports=function(t){var o=+t;return o!==o||o===0?0:a(o)}},25010:function(b,y,e){var a=e(68345),t=Math.min;b.exports=function(o){return o>0?t(a(o),9007199254740991):0}},64441:function(b,y,e){var a=e(12105),t=Object;b.exports=function(o){return t(a(o))}},5561:function(b,y,e){var a=e(82053),t=RangeError;b.exports=function(o,s){var n=a(o);if(n%s)throw t("Wrong offset");return n}},82053:function(b,y,e){var a=e(68345),t=RangeError;b.exports=function(o){var s=a(o);if(s<0)throw t("The argument can't be less than 0");return s}},54845:function(b,y,e){var a=e(68029),t=e(33225),o=e(59549),s=e(15931),n=e(54026),d=e(77740),l=TypeError,c=d("toPrimitive");b.exports=function(m,g){if(!t(m)||o(m))return m;var M=s(m,c),h;if(M){if(g===void 0&&(g="default"),h=a(M,m,g),!t(h)||o(h))return h;throw l("Can't convert object to primitive value")}return g===void 0&&(g="number"),n(m,g)}},76846:function(b,y,e){var a=e(54845),t=e(59549);b.exports=function(o){var s=a(o,"string");return t(s)?s:s+""}},74089:function(b,y,e){var a=e(42725),t=e(6508),o=e(94653),s=e(33225),n=a("Set"),d=function(l){return s(l)&&typeof l.size=="number"&&t(l.has)&&t(l.keys)};b.exports=function(l){if(d(l))return l;if(o(l))return new n(l)}},64726:function(b,y,e){var a=e(77740),t=a("toStringTag"),o={};o[t]="z",b.exports=String(o)==="[object z]"},68424:function(b,y,e){var a=e(56834),t=String;b.exports=function(o){if(a(o)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return t(o)}},30238:function(b){var y=String;b.exports=function(e){try{return y(e)}catch(a){return"Object"}}},64395:function(b,y,e){var a=e(50112),t=e(93947);b.exports=function(o,s){return a(t(o),s)}},93947:function(b,y,e){var a=e(94641),t=e(23473),o=a.aTypedArrayConstructor,s=a.getTypedArrayConstructor;b.exports=function(n){return o(t(n,s(n)))}},89669:function(b,y,e){var a=e(11700),t=0,o=Math.random(),s=a(1 .toString);b.exports=function(n){return"Symbol("+(n===void 0?"":n)+")_"+s(++t+o,36)}},61037:function(b,y,e){var a=e(18680);b.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},63980:function(b,y,e){var a=e(57759),t=e(77149);b.exports=a&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},87486:function(b){var y=TypeError;b.exports=function(e,a){if(eL&&g(le,arguments[L]),le});if(k.prototype=j,D!=="Error"?n?n(k,K):d(k,K,{name:!0}):h&&N in T&&(l(k,T,N),l(k,T,"prepareStackTrace")),d(k,T),!S)try{j.name!==D&&o(j,"name",D),j.constructor=k}catch(te){}return k}}},74503:function(b,y,e){var a=e(13354),t=e(42725),o=e(59178),s=e(77149),n=e(69485),d="AggregateError",l=t(d),c=!s(function(){return l([1]).errors[0]!==1})&&s(function(){return l([1],d,{cause:7}).cause!==7});a({global:!0,constructor:!0,arity:2,forced:c},{AggregateError:n(d,function(m){return function(M,h){return o(m,this,arguments)}},c,!0)})},90570:function(b,y,e){"use strict";var a=e(13354),t=e(72901),o=e(77767),s=e(63332),n=e(81732),d=e(34552),l=e(5927),c=e(87971),m=e(13719),g=e(96410),M=e(95815),h=e(9280),S=e(77740),w=S("toStringTag"),C=Error,F=[].push,Z=function($,D){var T=t(N,this),j;s?j=s(C(),T?o(this):N):(j=T?this:d(N),l(j,w,"Error")),D!==void 0&&l(j,"message",h(D)),g(j,Z,j.stack,1),arguments.length>2&&m(j,arguments[2]);var K=[];return M($,F,{that:K}),l(j,"errors",K),j};s?s(Z,C):n(Z,C,{name:!0});var N=Z.prototype=d(C.prototype,{constructor:c(1,Z),message:c(1,""),name:c(1,"AggregateError")});a({global:!0,constructor:!0,arity:2},{AggregateError:Z})},511:function(b,y,e){e(90570)},65591:function(b,y,e){"use strict";var a=e(13354),t=e(64441),o=e(89122),s=e(68345),n=e(22054);a({target:"Array",proto:!0},{at:function(l){var c=t(this),m=o(c),g=s(l),M=g>=0?g:m+g;return M<0||M>=m?void 0:c[M]}}),n("at")},33356:function(b,y,e){"use strict";var a=e(13354),t=e(17464).findLastIndex,o=e(22054);a({target:"Array",proto:!0},{findLastIndex:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},56082:function(b,y,e){"use strict";var a=e(13354),t=e(17464).findLast,o=e(22054);a({target:"Array",proto:!0},{findLast:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},73034:function(b,y,e){"use strict";var a=e(13354),t=e(64441),o=e(89122),s=e(77060),n=e(12262),d=e(77149),l=d(function(){return[].push.call({length:4294967296},1)!==4294967297}),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},m=l||!c();a({target:"Array",proto:!0,arity:1,forced:m},{push:function(M){var h=t(this),S=o(h),w=arguments.length;n(S+w);for(var C=0;C79&&s<83,l=d||!o("reduceRight");a({target:"Array",proto:!0,forced:l},{reduceRight:function(m){return t(this,m,arguments.length,arguments.length>1?arguments[1]:void 0)}})},62083:function(b,y,e){"use strict";var a=e(13354),t=e(82565).left,o=e(83242),s=e(8783),n=e(79727),d=!n&&s>79&&s<83,l=d||!o("reduce");a({target:"Array",proto:!0,forced:l},{reduce:function(m){var g=arguments.length;return t(this,m,g,g>1?arguments[1]:void 0)}})},36021:function(b,y,e){"use strict";var a=e(13354),t=e(2333),o=e(514),s=e(22054),n=Array;a({target:"Array",proto:!0},{toReversed:function(){return t(o(this),n)}}),s("toReversed")},38122:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(31927),s=e(514),n=e(50112),d=e(70721),l=e(22054),c=Array,m=t(d("Array").sort);a({target:"Array",proto:!0},{toSorted:function(M){M!==void 0&&o(M);var h=s(this),S=n(c,h);return m(S,M)}}),l("toSorted")},37116:function(b,y,e){"use strict";var a=e(13354),t=e(22054),o=e(12262),s=e(89122),n=e(71410),d=e(514),l=e(68345),c=Array,m=Math.max,g=Math.min;a({target:"Array",proto:!0},{toSpliced:function(h,S){var w=d(this),C=s(w),F=n(h,C),Z=arguments.length,N=0,L,$,D,T;for(Z===0?L=$=0:Z===1?(L=0,$=C-F):(L=Z-2,$=g(m(l(S),0),C-F)),D=o(C+L-$),T=c(D);N=0?S:h+S;return w<0||w>=h?void 0:l(M,w)}})},97390:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(12105),n=e(6508),d=e(74883),l=e(42854),c=e(68424),m=e(15931),g=e(50533),M=e(47947),h=e(77740),S=e(77449),w=h("replace"),C=TypeError,F=o("".indexOf),Z=o("".replace),N=o("".slice),L=Math.max,$=function(D,T,j){return j>D.length?-1:T===""?j:F(D,T,j)};a({target:"String",proto:!0},{replaceAll:function(T,j){var K=s(this),k,te,V,q,le,X,W,x,O,_=0,U=0,A="";if(!d(T)){if(k=l(T),k&&(te=c(s(g(T))),!~F(te,"g")))throw C("`.replaceAll` does not allow non-global regexes");if(V=m(T,w),V)return t(V,T,K,j);if(S&&k)return Z(c(K),T,j)}for(q=c(K),le=c(T),X=n(j),X||(j=c(j)),W=le.length,x=L(1,W),_=$(q,le,0);_!==-1;)O=X?c(j(le,_,q)):M(le,q,_,[],void 0,j),A+=N(q,U,_)+O,U=_+W,_=$(q,le,_+x);return U=0?g:m+g;return M<0||M>=m?void 0:c[M]})},55759:function(b,y,e){"use strict";var a=e(94641),t=e(17464).findLastIndex,o=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLastIndex",function(d){return t(o(this),d,arguments.length>1?arguments[1]:void 0)})},23239:function(b,y,e){"use strict";var a=e(94641),t=e(17464).findLast,o=a.aTypedArray,s=a.exportTypedArrayMethod;s("findLast",function(d){return t(o(this),d,arguments.length>1?arguments[1]:void 0)})},53289:function(b,y,e){"use strict";var a=e(53065),t=e(68029),o=e(94641),s=e(89122),n=e(5561),d=e(64441),l=e(77149),c=a.RangeError,m=a.Int8Array,g=m&&m.prototype,M=g&&g.set,h=o.aTypedArray,S=o.exportTypedArrayMethod,w=!l(function(){var F=new Uint8ClampedArray(2);return t(M,F,{length:1,0:3},1),F[1]!==3}),C=w&&o.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var F=new m(2);return F.set(1),F.set("2",1),F[0]!==0||F[1]!==2});S("set",function(Z){h(this);var N=n(arguments.length>1?arguments[1]:void 0,1),L=d(Z);if(w)return t(M,this,L,N);var $=this.length,D=s(L),T=0;if(D+N>$)throw c("Wrong length");for(;T1?arguments[1]:void 0)}}),o("filterOut")},6719:function(b,y,e){"use strict";var a=e(13354),t=e(44708).filterReject,o=e(22054);a({target:"Array",proto:!0,forced:!0},{filterReject:function(n){return t(this,n,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},85590:function(b,y,e){var a=e(13354),t=e(44594);a({target:"Array",stat:!0},{fromAsync:t})},84602:function(b,y,e){var a=e(13354),t=e(83242),o=e(22054),s=e(59765),n=e(77449);a({target:"Array",proto:!0,name:"groupToMap",forced:n||!t("groupByToMap")},{groupByToMap:s}),o("groupByToMap")},56179:function(b,y,e){"use strict";var a=e(13354),t=e(69093),o=e(83242),s=e(22054);a({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(d){var l=arguments.length>1?arguments[1]:void 0;return t(this,d,l)}}),s("groupBy")},68765:function(b,y,e){var a=e(13354),t=e(22054),o=e(59765),s=e(77449);a({target:"Array",proto:!0,forced:s},{groupToMap:o}),t("groupToMap")},68090:function(b,y,e){"use strict";var a=e(13354),t=e(69093),o=e(22054);a({target:"Array",proto:!0},{group:function(n){var d=arguments.length>1?arguments[1]:void 0;return t(this,n,d)}}),o("group")},46377:function(b,y,e){var a=e(13354),t=e(190),o=Object.isFrozen,s=function(n,d){if(!o||!t(n)||!o(n))return!1;for(var l=0,c=n.length,m;l1?arguments[1]:void 0);return s(l,function(m,g){if(!c(m,g,l))return!1},!0)!==!1}})},82412:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){M(S,w,g)&&l(h,w,S)}),h}})},69205:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g,M){if(c(g,M,l))return{key:M}},!0);return m&&m.key}})},53677:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{find:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g,M){if(c(g,M,l))return{value:g}},!0);return m&&m.value}})},55994:function(b,y,e){var a=e(13354),t=e(67640);a({target:"Map",stat:!0,forced:!0},{from:t})},96103:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(6508),n=e(31927),d=e(95815),l=e(85623).Map,c=o([].push);a({target:"Map",stat:!0,forced:!0},{groupBy:function(g,M){var h=s(this)?this:l,S=new h;n(M);var w=n(S.has),C=n(S.get),F=n(S.set);return d(g,function(Z){var N=M(Z);t(w,S,N)?c(t(C,S,N),Z):t(F,S,N,[Z])}),S}})},13153:function(b,y,e){"use strict";var a=e(13354),t=e(53496),o=e(7328),s=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(d){return s(o(this),function(l){if(t(l,d))return!0},!0)===!0}})},51331:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(95815),s=e(6508),n=e(31927),d=e(85623).Map;a({target:"Map",stat:!0,forced:!0},{keyBy:function(c,m){var g=s(this)?this:d,M=new g;n(m);var h=n(M.set);return o(c,function(S){t(h,M,m(S),S)}),M}})},31471:function(b,y,e){"use strict";var a=e(13354),t=e(7328),o=e(46782);a({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(n){var d=o(t(this),function(l,c){if(l===n)return{key:c}},!0);return d&&d.key}})},48008:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){l(h,M(S,w,g),S)}),h}})},72877:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(7328),s=e(85623),n=e(46782),d=s.Map,l=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S,w){l(h,w,M(S,w,g))}),h}})},55778:function(b,y,e){"use strict";var a=e(13354),t=e(7328),o=e(95815),s=e(85623).set;a({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(d){for(var l=t(this),c=arguments.length,m=0;m1?arguments[1]:void 0);return s(l,function(m,g){if(c(m,g,l))return!0},!0)===!0}})},74613:function(b,y,e){"use strict";var a=e(13354),t=e(32171);a({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:t})},22252:function(b,y,e){"use strict";var a=e(13354),t=e(31927),o=e(7328),s=e(85623),n=TypeError,d=s.get,l=s.has,c=s.set;a({target:"Map",proto:!0,real:!0,forced:!0},{update:function(g,M){var h=o(this),S=arguments.length;t(M);var w=l(h,g);if(!w&&S<3)throw n("Updating absent value");var C=w?d(h,g):t(S>2?arguments[2]:void 0)(g,h);return c(h,g,M(C,g,h)),h}})},85890:function(b,y,e){"use strict";var a=e(13354),t=e(32171);a({target:"Map",proto:!0,real:!0,forced:!0},{upsert:t})},49489:function(b,y,e){var a=e(13354),t=Math.min,o=Math.max;a({target:"Math",stat:!0,forced:!0},{clamp:function(n,d,l){return t(l,o(d,n))}})},63478:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},88126:function(b,y,e){var a=e(13354),t=180/Math.PI;a({target:"Math",stat:!0,forced:!0},{degrees:function(s){return s*t}})},24760:function(b,y,e){var a=e(13354),t=e(15129),o=e(18749);a({target:"Math",stat:!0,forced:!0},{fscale:function(n,d,l,c,m){return o(t(n,d,l,c,m))}})},37877:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{iaddh:function(o,s,n,d){var l=o>>>0,c=s>>>0,m=n>>>0;return c+(d>>>0)+((l&m|(l|m)&~(l+m>>>0))>>>31)|0}})},99461:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{imulh:function(o,s){var n=65535,d=+o,l=+s,c=d&n,m=l&n,g=d>>16,M=l>>16,h=(g*m>>>0)+(c*m>>>16);return g*M+(h>>16)+((c*M>>>0)+(h&n)>>16)}})},63746:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{isubh:function(o,s,n,d){var l=o>>>0,c=s>>>0,m=n>>>0;return c-(d>>>0)-((~l&m|~(l^m)&l-m>>>0)>>>31)|0}})},8443:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},75738:function(b,y,e){var a=e(13354),t=Math.PI/180;a({target:"Math",stat:!0,forced:!0},{radians:function(s){return s*t}})},13322:function(b,y,e){var a=e(13354),t=e(15129);a({target:"Math",stat:!0,forced:!0},{scale:t})},64748:function(b,y,e){var a=e(13354),t=e(78958),o=e(54633),s=e(87821),n=e(76835),d=e(71584),l="Seeded Random",c=l+" Generator",m='Math.seededPRNG() argument should have a "seed" field with a finite value.',g=d.set,M=d.getterFor(c),h=TypeError,S=s(function(C){g(this,{type:c,seed:C%2147483647})},l,function(){var C=M(this),F=C.seed=(C.seed*1103515245+12345)%2147483647;return n((F&1073741823)/1073741823,!1)});a({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var F=t(C).seed;if(!o(F))throw h(m);return new S(F)}})},59048:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{signbit:function(o){var s=+o;return s==s&&s==0?1/s==-1/0:s<0}})},25215:function(b,y,e){var a=e(13354);a({target:"Math",stat:!0,forced:!0},{umulh:function(o,s){var n=65535,d=+o,l=+s,c=d&n,m=l&n,g=d>>>16,M=l>>>16,h=(g*m>>>0)+(c*m>>>16);return g*M+(h>>>16)+((c*M>>>0)+(h&n)>>>16)}})},89495:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(68345),s=e(35323),n="Invalid number representation",d="Invalid radix",l=RangeError,c=SyntaxError,m=TypeError,g=/^[\da-z]+$/,M=t("".charAt),h=t(g.exec),S=t(1 .toString),w=t("".slice);a({target:"Number",stat:!0,forced:!0},{fromString:function(F,Z){var N=1,L,$;if(typeof F!="string")throw m(n);if(!F.length||M(F,0)=="-"&&(N=-1,F=w(F,1),!F.length))throw c(n);if(L=Z===void 0?10:o(Z),L<2||L>36)throw l(d);if(!h(g,F)||S($=s(F,L),L)!==F)throw c(n);return N*$}})},78490:function(b,y,e){"use strict";var a=e(13354),t=e(73126);a({target:"Number",stat:!0,forced:!0},{range:function(s,n,d){return new t(s,n,d,"number",0,1)}})},11790:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateEntries:function(s){return new t(s,"entries")}})},52739:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateKeys:function(s){return new t(s,"keys")}})},96847:function(b,y,e){"use strict";var a=e(13354),t=e(65556);a({target:"Object",stat:!0,forced:!0},{iterateValues:function(s){return new t(s,"values")}})},8120:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(57759),s=e(51309),n=e(31927),d=e(78958),l=e(92453),c=e(6508),m=e(74883),g=e(33225),M=e(15931),h=e(28621),S=e(3313),w=e(2265),C=e(3234),F=e(77740),Z=e(71584),N=e(88818),L=F("observable"),$="Observable",D="Subscription",T="SubscriptionObserver",j=Z.getterFor,K=Z.set,k=j($),te=j(D),V=j(T),q=function(O){this.observer=d(O),this.cleanup=void 0,this.subscriptionObserver=void 0};q.prototype={type:D,clean:function(){var O=this.cleanup;if(O){this.cleanup=void 0;try{O()}catch(_){C(_)}}},close:function(){if(!o){var O=this.facade,_=this.subscriptionObserver;O.closed=!0,_&&(_.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var le=function(O,_){var U=K(this,new q(O)),A;o||(this.closed=!1);try{(A=M(O,"start"))&&t(A,O,this)}catch(ge){C(ge)}if(!U.isClosed()){var G=U.subscriptionObserver=new X(U);try{var fe=_(G),pe=fe;m(fe)||(U.cleanup=c(fe.unsubscribe)?function(){pe.unsubscribe()}:n(fe))}catch(ge){G.error(ge);return}U.isClosed()&&U.clean()}};le.prototype=S({},{unsubscribe:function(){var _=te(this);_.isClosed()||(_.close(),_.clean())}}),o&&w(le.prototype,"closed",{configurable:!0,get:function(){return te(this).isClosed()}});var X=function(O){K(this,{type:T,subscriptionState:O}),o||(this.closed=!1)};X.prototype=S({},{next:function(_){var U=V(this).subscriptionState;if(!U.isClosed()){var A=U.observer;try{var G=M(A,"next");G&&t(G,A,_)}catch(fe){C(fe)}}},error:function(_){var U=V(this).subscriptionState;if(!U.isClosed()){var A=U.observer;U.close();try{var G=M(A,"error");G?t(G,A,_):C(_)}catch(fe){C(fe)}U.clean()}},complete:function(){var _=V(this).subscriptionState;if(!_.isClosed()){var U=_.observer;_.close();try{var A=M(U,"complete");A&&t(A,U)}catch(G){C(G)}_.clean()}}}),o&&w(X.prototype,"closed",{configurable:!0,get:function(){return V(this).subscriptionState.isClosed()}});var W=function(_){l(this,x),K(this,{type:$,subscriber:n(_)})},x=W.prototype;S(x,{subscribe:function(_){var U=arguments.length;return new le(c(_)?{next:_,error:U>1?arguments[1]:void 0,complete:U>2?arguments[2]:void 0}:g(_)?_:{},k(this).subscriber)}}),h(x,L,function(){return this}),a({global:!0,constructor:!0,forced:N},{Observable:W}),s($)},11341:function(b,y,e){"use strict";var a=e(13354),t=e(42725),o=e(68029),s=e(78958),n=e(13893),d=e(64712),l=e(15931),c=e(95815),m=e(77740),g=e(88818),M=m("observable");a({target:"Observable",stat:!0,forced:g},{from:function(S){var w=n(this)?this:t("Observable"),C=l(s(S),M);if(C){var F=s(o(C,S));return F.constructor===w?F:new w(function(N){return F.subscribe(N)})}var Z=d(S);return new w(function(N){c(Z,function(L,$){if(N.next(L),N.closed)return $()},{IS_ITERATOR:!0,INTERRUPTED:!0}),N.complete()})}})},57099:function(b,y,e){e(8120),e(11341),e(21720)},21720:function(b,y,e){"use strict";var a=e(13354),t=e(42725),o=e(13893),s=e(88818),n=t("Array");a({target:"Observable",stat:!0,forced:s},{of:function(){for(var l=o(this)?this:t("Observable"),c=arguments.length,m=n(c),g=0;g1?arguments[1]:void 0);return s(l,function(m){if(!c(m,m,l))return!1},!0)!==!1}})},17960:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(23313),n=e(22731),d=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S){M(S,S,g)&&l(h,S)}),h}})},25823:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(22731);a({target:"Set",proto:!0,real:!0,forced:!0},{find:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0),m=s(l,function(g){if(c(g,g,l))return{value:g}},!0);return m&&m.value}})},56133:function(b,y,e){var a=e(13354),t=e(67640);a({target:"Set",stat:!0,forced:!0},{from:t})},6762:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(51737);a({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(d){return t(s,this,o(d))}})},60682:function(b,y,e){var a=e(13354),t=e(51737),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("intersection")},{intersection:t})},36925:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(46149);a({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(d){return t(s,this,o(d))}})},65107:function(b,y,e){var a=e(13354),t=e(46149),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:t})},9882:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(99527);a({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(d){return t(s,this,o(d))}})},31772:function(b,y,e){var a=e(13354),t=e(99527),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:t})},95344:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(20698);a({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(d){return t(s,this,o(d))}})},19453:function(b,y,e){var a=e(13354),t=e(20698),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:t})},51301:function(b,y,e){"use strict";var a=e(13354),t=e(11700),o=e(77318),s=e(22731),n=e(68424),d=t([].join),l=t([].push);a({target:"Set",proto:!0,real:!0,forced:!0},{join:function(m){var g=o(this),M=m===void 0?",":n(m),h=[];return s(g,function(S){l(h,S)}),d(h,M)}})},71395:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(23313),n=e(22731),d=s.Set,l=s.add;a({target:"Set",proto:!0,real:!0,forced:!0},{map:function(m){var g=o(this),M=t(m,arguments.length>1?arguments[1]:void 0),h=new d;return n(g,function(S){l(h,M(S,S,g))}),h}})},38054:function(b,y,e){var a=e(13354),t=e(55042);a({target:"Set",stat:!0,forced:!0},{of:t})},92141:function(b,y,e){"use strict";var a=e(13354),t=e(31927),o=e(77318),s=e(22731),n=TypeError;a({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(l){var c=o(this),m=arguments.length<2,g=m?void 0:arguments[1];if(t(l),s(c,function(M){m?(m=!1,g=M):g=l(g,M,M,c)}),m)throw n("Reduce of empty set with no initial value");return g}})},95396:function(b,y,e){"use strict";var a=e(13354),t=e(34066),o=e(77318),s=e(22731);a({target:"Set",proto:!0,real:!0,forced:!0},{some:function(d){var l=o(this),c=t(d,arguments.length>1?arguments[1]:void 0);return s(l,function(m){if(c(m,m,l))return!0},!0)===!0}})},11859:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(52100);a({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(d){return t(s,this,o(d))}})},13409:function(b,y,e){var a=e(13354),t=e(52100),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:t})},4681:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(74089),s=e(45953);a({target:"Set",proto:!0,real:!0,forced:!0},{union:function(d){return t(s,this,o(d))}})},51113:function(b,y,e){var a=e(13354),t=e(45953),o=e(82493);a({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:t})},15307:function(b,y,e){"use strict";var a=e(13354),t=e(81673).charAt,o=e(12105),s=e(68345),n=e(68424);a({target:"String",proto:!0,forced:!0},{at:function(l){var c=n(o(this)),m=c.length,g=s(l),M=g>=0?g:m+g;return M<0||M>=m?void 0:t(c,M)}})},36879:function(b,y,e){"use strict";var a=e(13354),t=e(87821),o=e(76835),s=e(12105),n=e(68424),d=e(71584),l=e(81673),c=l.codeAt,m=l.charAt,g="String Iterator",M=d.set,h=d.getterFor(g),S=t(function(C){M(this,{type:g,string:C,index:0})},"String",function(){var C=h(this),F=C.string,Z=C.index,N;return Z>=F.length?o(void 0,!0):(N=m(F,Z),C.index+=N.length,o({codePoint:c(N,0),position:Z},!1))});a({target:"String",proto:!0,forced:!0},{codePoints:function(){return new S(n(s(this)))}})},27008:function(b,y,e){var a=e(13354),t=e(85650);a({target:"String",stat:!0,forced:!0},{cooked:t})},91345:function(b,y,e){"use strict";var a=e(81506),t=e(13354),o=e(71980),s=e(42725),n=e(70377),d=e(11700),l=e(59178),c=e(78958),m=e(64441),g=e(6508),M=e(89122),h=e(38248).f,S=e(81469),w=e(85650),C=e(81089),F=e(91289),Z=s("WeakMap"),N=o("GlobalDedentRegistry",new Z);N.has=N.has,N.get=N.get,N.set=N.set;var L=Array,$=TypeError,D=Object.freeze||Object,T=Object.isFrozen,j=Math.min,K=d("".charAt),k=d("".slice),te=d("".split),V=d(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,le=RegExp("^["+F+"]*"),X=RegExp("[^"+F+"]"),W="Invalid tag",x="Invalid opening line",O="Invalid closing line",_=function(ge){var be=ge.raw;if(a&&!T(be))throw $("Raw template should be frozen");if(N.has(be))return N.get(be);var Te=U(be),Ge=G(Te);return h(Ge,"raw",{value:D(Te)}),D(Ge),N.set(be,Ge),Ge},U=function(ge){var be=m(ge),Te=M(be),Ge=L(Te),Je=L(Te),Qe=0,pt,Et;if(!Te)throw $(W);for(;Qe0)throw $(x);pt[1]=""}if(Wt){if(pt.length===1||V(X,pt[pt.length-1]))throw $(O);pt[pt.length-2]="",pt[pt.length-1]=""}for(var $e=2;$e=56320||++m>=c||(n(l,m)&64512)!=56320))return!1}return!0}})},5744:function(b,y,e){"use strict";var a=e(13354),t=e(68029),o=e(11700),s=e(12105),n=e(68424),d=e(77149),l=Array,c=o("".charAt),m=o("".charCodeAt),g=o([].join),M="".toWellFormed,h="\uFFFD",S=M&&d(function(){return t(M,1)!=="1"});a({target:"String",proto:!0,forced:S},{toWellFormed:function(){var C=n(s(this));if(S)return t(M,C);for(var F=C.length,Z=l(F),N=0;N=56320||N+1>=F||(m(C,N+1)&64512)!=56320?Z[N]=h:(Z[N]=c(C,N),Z[++N]=c(C,N))}return g(Z,"")}})},2017:function(b,y,e){"use strict";var a=e(13354),t=e(72901),o=e(77767),s=e(63332),n=e(81732),d=e(34552),l=e(5927),c=e(87971),m=e(96410),g=e(9280),M=e(77740),h=M("toStringTag"),S=Error,w=function(Z,N,L){var $=t(C,this),D;return s?D=s(S(),$?o(this):C):(D=$?this:d(C),l(D,h,"Error")),L!==void 0&&l(D,"message",g(L)),m(D,w,D.stack,1),l(D,"error",Z),l(D,"suppressed",N),D};s?s(w,S):n(w,S,{name:!0});var C=w.prototype=d(S.prototype,{constructor:c(1,w),message:c(1,""),name:c(1,"SuppressedError")});a({global:!0,constructor:!0,arity:3},{SuppressedError:w})},12447:function(b,y,e){var a=e(78186);a("asyncDispose")},50706:function(b,y,e){var a=e(78186);a("dispose")},80593:function(b,y,e){var a=e(13354),t=e(42725),o=e(11700),s=t("Symbol"),n=s.keyFor,d=o(s.prototype.valueOf);a({target:"Symbol",stat:!0},{isRegistered:function(c){try{return n(d(c))!==void 0}catch(m){return!1}}})},41693:function(b,y,e){for(var a=e(13354),t=e(71980),o=e(42725),s=e(11700),n=e(59549),d=e(77740),l=o("Symbol"),c=l.isWellKnown,m=o("Object","getOwnPropertyNames"),g=s(l.prototype.valueOf),M=t("wks"),h=0,S=m(l),w=S.length;h1?arguments[1]:void 0);return o(this,c)},!0)},73165:function(b,y,e){"use strict";var a=e(94641),t=e(44708).filterReject,o=e(64395),s=a.aTypedArray,n=a.exportTypedArrayMethod;n("filterReject",function(l){var c=t(s(this),l,arguments.length>1?arguments[1]:void 0);return o(this,c)},!0)},56390:function(b,y,e){"use strict";var a=e(42725),t=e(89764),o=e(44594),s=e(94641),n=e(50112),d=s.aTypedArrayConstructor,l=s.exportTypedArrayStaticMethod;l("fromAsync",function(m){var g=this,M=arguments.length,h=M>1?arguments[1]:void 0,S=M>2?arguments[2]:void 0;return new(a("Promise"))(function(w){t(g),w(o(m,h,S))}).then(function(w){return n(d(g),w)})},!0)},20233:function(b,y,e){"use strict";var a=e(94641),t=e(69093),o=e(93947),s=a.aTypedArray,n=a.exportTypedArrayMethod;n("groupBy",function(l){var c=arguments.length>1?arguments[1]:void 0;return t(s(this),l,c,o)},!0)},18444:function(b,y,e){"use strict";var a=e(94641),t=e(89122),o=e(30879),s=e(71410),n=e(28046),d=e(68345),l=e(77149),c=a.aTypedArray,m=a.getTypedArrayConstructor,g=a.exportTypedArrayMethod,M=Math.max,h=Math.min,S=!l(function(){var w=new Int8Array([1]),C=w.toSpliced(1,0,{valueOf:function(){return w[0]=2,3}});return C[0]!==2||C[1]!==3});g("toSpliced",function(C,F){var Z=c(this),N=m(Z),L=t(Z),$=s(C,L),D=arguments.length,T=0,j,K,k,te,V,q,le;if(D===0)j=K=0;else if(D===1)j=0,K=L-$;else if(K=h(M(d(F),0),L-$),j=D-2,j){te=new N(j),k=o(te);for(var X=2;X1&&!g(arguments[1])?w(arguments[1]):void 0,ce=xe?xe.transfer:void 0,Le;return ce!==void 0&&(Le=new Te,se(ce,Le)),re(de,Le)}})},81474:function(b,y,e){"use strict";var a=e(90894),t=e(8197),o=e(56265),s=e(20610),n=e(13),d=b.exports=function(l,c){var m,g,M,h,S;return arguments.length<2||typeof l!="string"?(h=c,c=l,l=null):h=arguments[2],a(l)?(m=n.call(l,"c"),g=n.call(l,"e"),M=n.call(l,"w")):(m=M=!0,g=!1),S={value:c,configurable:m,enumerable:g,writable:M},h?o(s(h),S):S};d.gs=function(l,c,m){var g,M,h,S;return typeof l!="string"?(h=m,m=c,c=l,l=null):h=arguments[3],a(c)?t(c)?a(m)?t(m)||(h=m,m=void 0):m=void 0:(h=c,c=m=void 0):c=void 0,a(l)?(g=n.call(l,"c"),M=n.call(l,"e")):(g=!0,M=!1),S={get:c,set:m,configurable:g,enumerable:M},h?o(s(h),S):S}},65140:function(b){"use strict";var y="%[a-f0-9]{2}",e=new RegExp("("+y+")|([^%]+?)","gi"),a=new RegExp("("+y+")+","gi");function t(n,d){try{return[decodeURIComponent(n.join(""))]}catch(m){}if(n.length===1)return n;d=d||1;var l=n.slice(0,d),c=n.slice(d);return Array.prototype.concat.call([],t(l),t(c))}function o(n){try{return decodeURIComponent(n)}catch(c){for(var d=n.match(e)||[],l=1;l1&&arguments[1]!==void 0?arguments[1]:s;if(t){var m={match:function(){l&&l(!0)},unmatch:function(){l&&l()}};return t.register(c,m),m}}function d(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;t&&t.unregister(c,l)}a=t},20699:function(b,y,e){var a=e(66835),t=e(54802).each;function o(s,n){this.query=s,this.isUnconditional=n,this.handlers=[],this.mql=window.matchMedia(s);var d=this;this.listener=function(l){d.mql=l.currentTarget||l,d.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(s){var n=new a(s);this.handlers.push(n),this.matches()&&n.on()},removeHandler:function(s){var n=this.handlers;t(n,function(d,l){if(d.equals(s))return d.destroy(),!n.splice(l,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.handlers,function(s){s.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var s=this.matches()?"on":"off";t(this.handlers,function(n){n[s]()})}},b.exports=o},68323:function(b,y,e){var a=e(20699),t=e(54802),o=t.each,s=t.isFunction,n=t.isArray;function d(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}d.prototype={constructor:d,register:function(l,c,m){var g=this.queries,M=m&&this.browserIsIncapable;return g[l]||(g[l]=new a(l,M)),s(c)&&(c={match:c}),n(c)||(c=[c]),o(c,function(h){s(h)&&(h={match:h}),g[l].addHandler(h)}),this},unregister:function(l,c){var m=this.queries[l];return m&&(c?m.removeHandler(c):(m.clear(),delete this.queries[l])),this}},b.exports=d},66835:function(b){function y(e){this.options=e,!e.deferSetup&&this.setup()}y.prototype={constructor:y,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},b.exports=y},54802:function(b){function y(t,o){var s=0,n=t.length,d;for(s;s-1}},87308:function(b,y,e){"use strict";var a=e(81474),t=e(54550),o=Function.prototype.apply,s=Function.prototype.call,n=Object.create,d=Object.defineProperty,l=Object.defineProperties,c=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0},g,M,h,S,w,C,F;g=function(Z,N){var L;return t(N),c.call(this,"__ee__")?L=this.__ee__:(L=m.value=n(null),d(this,"__ee__",m),m.value=null),L[Z]?typeof L[Z]=="object"?L[Z].push(N):L[Z]=[L[Z],N]:L[Z]=N,this},M=function(Z,N){var L,$;return t(N),$=this,g.call(this,Z,L=function(){h.call($,Z,L),o.call(N,this,arguments)}),L.__eeOnceListener__=N,this},h=function(Z,N){var L,$,D,T;if(t(N),!c.call(this,"__ee__"))return this;if(L=this.__ee__,!L[Z])return this;if($=L[Z],typeof $=="object")for(T=0;D=$[T];++T)(D===N||D.__eeOnceListener__===N)&&($.length===2?L[Z]=$[T?0:1]:$.splice(T,1));else($===N||$.__eeOnceListener__===N)&&delete L[Z];return this},S=function(Z){var N,L,$,D,T;if(c.call(this,"__ee__")&&(D=this.__ee__[Z],!!D))if(typeof D=="object"){for(L=arguments.length,T=new Array(L-1),N=1;N=0&&(N.hash=Z.substr(L),Z=Z.substr(0,L));var $=Z.indexOf("?");$>=0&&(N.search=Z.substr($),Z=Z.substr(0,$)),Z&&(N.pathname=Z)}return N}},10063:function(b,y,e){"use strict";var a=e(99415),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[a.ForwardRef]=s,d[a.Memo]=n;function l(C){return a.isMemo(C)?n:d[C.$$typeof]||t}var c=Object.defineProperty,m=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,M=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,S=Object.prototype;function w(C,F,Z){if(typeof F!="string"){if(S){var N=h(F);N&&N!==S&&w(C,N,Z)}var L=m(F);g&&(L=L.concat(g(F)));for(var $=l(C),D=l(F),T=0;T>1,g=-7,M=t?s-1:0,h=t?-1:1,S=e[a+M];for(M+=h,n=S&(1<<-g)-1,S>>=-g,g+=l;g>0;n=n*256+e[a+M],M+=h,g-=8);for(d=n&(1<<-g)-1,n>>=-g,g+=o;g>0;d=d*256+e[a+M],M+=h,g-=8);if(n===0)n=1-m;else{if(n===c)return d?NaN:(S?-1:1)*(1/0);d=d+Math.pow(2,o),n=n-m}return(S?-1:1)*d*Math.pow(2,n-o)},y.write=function(e,a,t,o,s,n){var d,l,c,m=n*8-s-1,g=(1<>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,S=o?0:n-1,w=o?1:-1,C=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(l=isNaN(a)?1:0,d=g):(d=Math.floor(Math.log(a)/Math.LN2),a*(c=Math.pow(2,-d))<1&&(d--,c*=2),d+M>=1?a+=h/c:a+=h*Math.pow(2,1-M),a*c>=2&&(d++,c/=2),d+M>=g?(l=0,d=g):d+M>=1?(l=(a*c-1)*Math.pow(2,s),d=d+M):(l=a*Math.pow(2,M-1)*Math.pow(2,s),d=0));s>=8;e[t+S]=l&255,S+=w,l/=256,s-=8);for(d=d<0;e[t+S]=d&255,S+=w,d/=256,m-=8);e[t+S-w]|=C*128}},21700:function(b){"use strict";var y=function(e,a,t,o,s,n,d,l){if(!e){var c;if(a===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[t,o,s,n,d,l],g=0;c=new Error(a.replace(/%s/g,function(){return m[g++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};b.exports=y},23161:function(b){var y={}.toString;b.exports=Array.isArray||function(e){return y.call(e)=="[object Array]"}},61012:function(b,y,e){var a=1/0,t="[object Symbol]",o=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,s=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n="\\ud800-\\udfff",d="\\u0300-\\u036f\\ufe20-\\ufe23",l="\\u20d0-\\u20f0",c="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",g="\\xac\\xb1\\xd7\\xf7",M="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",h="\\u2000-\\u206f",S=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",w="A-Z\\xc0-\\xd6\\xd8-\\xde",C="\\ufe0e\\ufe0f",F=g+M+h+S,Z="['\u2019]",N="["+n+"]",L="["+F+"]",$="["+d+l+"]",D="\\d+",T="["+c+"]",j="["+m+"]",K="[^"+n+F+D+c+m+w+"]",k="\\ud83c[\\udffb-\\udfff]",te="(?:"+$+"|"+k+")",V="[^"+n+"]",q="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",X="["+w+"]",W="\\u200d",x="(?:"+j+"|"+K+")",O="(?:"+X+"|"+K+")",_="(?:"+Z+"(?:d|ll|m|re|s|t|ve))?",U="(?:"+Z+"(?:D|LL|M|RE|S|T|VE))?",A=te+"?",G="["+C+"]?",fe="(?:"+W+"(?:"+[V,q,le].join("|")+")"+G+A+")*",pe=G+A+fe,ge="(?:"+[T,q,le].join("|")+")"+pe,be="(?:"+[V+$+"?",$,q,le,N].join("|")+")",Te=RegExp(Z,"g"),Ge=RegExp($,"g"),Je=RegExp(k+"(?="+k+")|"+be+pe,"g"),Qe=RegExp([X+"?"+j+"+"+_+"(?="+[L,X,"$"].join("|")+")",O+"+"+U+"(?="+[L,X+x,"$"].join("|")+")",X+"?"+x+"+"+_,X+"+"+U,D,ge].join("|"),"g"),pt=RegExp("["+W+n+d+l+C+"]"),Et=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ft={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},Wt=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,$e=typeof self=="object"&&self&&self.Object===Object&&self,Xe=Wt||$e||Function("return this")();function nt(ke,Be,it,Ve){var xt=-1,Ht=ke?ke.length:0;for(Ve&&Ht&&(it=ke[++xt]);++xtxt?0:xt+Be),it=it>xt?xt:it,it<0&&(it+=xt),xt=Be>it?0:it-Be>>>0,Be>>>=0;for(var Ht=Array(xt);++Ve=Ve?ke:re(ke,Be,it)}function de(ke){return function(Be){Be=Oe(Be);var it=R(Be)?ae(Be):void 0,Ve=it?it[0]:Be.charAt(0),xt=it?J(it,1).join(""):Be.slice(1);return Ve[ke]()+xt}}function xe(ke){return function(Be){return nt(Ye(st(Be).replace(Te,"")),ke,"")}}function ce(ke){return!!ke&&typeof ke=="object"}function Le(ke){return typeof ke=="symbol"||ce(ke)&&je.call(ke)==t}function Oe(ke){return ke==null?"":se(ke)}var we=xe(function(ke,Be,it){return Be=Be.toLowerCase(),ke+(it?Ne(Be):Be)});function Ne(ke){return et(Oe(ke).toLowerCase())}function st(ke){return ke=Oe(ke),ke&&ke.replace(s,H).replace(Ge,"")}var et=de("toUpperCase");function Ye(ke,Be,it){return ke=Oe(ke),Be=it?void 0:Be,Be===void 0?P(ke)?ie(ke):ye(ke):ke.match(Be)||[]}b.exports=we},51899:function(b,y,e){var a="Expected a function",t=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,m=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,g=typeof self=="object"&&self&&self.Object===Object&&self,M=m||g||Function("return this")(),h=Object.prototype,S=h.toString,w=Math.max,C=Math.min,F=function(){return M.Date.now()};function Z(T,j,K){var k,te,V,q,le,X,W=0,x=!1,O=!1,_=!0;if(typeof T!="function")throw new TypeError(a);j=D(j)||0,N(K)&&(x=!!K.leading,O="maxWait"in K,V=O?w(D(K.maxWait)||0,j):V,_="trailing"in K?!!K.trailing:_);function U(Je){var Qe=k,pt=te;return k=te=void 0,W=Je,q=T.apply(pt,Qe),q}function A(Je){return W=Je,le=setTimeout(pe,j),x?U(Je):q}function G(Je){var Qe=Je-X,pt=Je-W,Et=j-Qe;return O?C(Et,V-pt):Et}function fe(Je){var Qe=Je-X,pt=Je-W;return X===void 0||Qe>=j||Qe<0||O&&pt>=V}function pe(){var Je=F();if(fe(Je))return ge(Je);le=setTimeout(pe,G(Je))}function ge(Je){return le=void 0,_&&k?U(Je):(k=te=void 0,q)}function be(){le!==void 0&&clearTimeout(le),W=0,k=X=te=le=void 0}function Te(){return le===void 0?q:ge(F())}function Ge(){var Je=F(),Qe=fe(Je);if(k=arguments,te=this,X=Je,Qe){if(le===void 0)return A(X);if(O)return le=setTimeout(pe,j),U(X)}return le===void 0&&(le=setTimeout(pe,j)),q}return Ge.cancel=be,Ge.flush=Te,Ge}function N(T){var j=typeof T;return!!T&&(j=="object"||j=="function")}function L(T){return!!T&&typeof T=="object"}function $(T){return typeof T=="symbol"||L(T)&&S.call(T)==o}function D(T){if(typeof T=="number")return T;if($(T))return t;if(N(T)){var j=typeof T.valueOf=="function"?T.valueOf():T;T=N(j)?j+"":j}if(typeof T!="string")return T===0?T:+T;T=T.replace(s,"");var K=d.test(T);return K||l.test(T)?c(T.slice(2),K?2:8):n.test(T)?t:+T}b.exports=Z},14978:function(b,y,e){var a="Expected a function",t=NaN,o="[object Symbol]",s=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,m=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,g=typeof self=="object"&&self&&self.Object===Object&&self,M=m||g||Function("return this")(),h=Object.prototype,S=h.toString,w=Math.max,C=Math.min,F=function(){return M.Date.now()};function Z(j,K,k){var te,V,q,le,X,W,x=0,O=!1,_=!1,U=!0;if(typeof j!="function")throw new TypeError(a);K=T(K)||0,L(k)&&(O=!!k.leading,_="maxWait"in k,q=_?w(T(k.maxWait)||0,K):q,U="trailing"in k?!!k.trailing:U);function A(Qe){var pt=te,Et=V;return te=V=void 0,x=Qe,le=j.apply(Et,pt),le}function G(Qe){return x=Qe,X=setTimeout(ge,K),O?A(Qe):le}function fe(Qe){var pt=Qe-W,Et=Qe-x,ft=K-pt;return _?C(ft,q-Et):ft}function pe(Qe){var pt=Qe-W,Et=Qe-x;return W===void 0||pt>=K||pt<0||_&&Et>=q}function ge(){var Qe=F();if(pe(Qe))return be(Qe);X=setTimeout(ge,fe(Qe))}function be(Qe){return X=void 0,U&&te?A(Qe):(te=V=void 0,le)}function Te(){X!==void 0&&clearTimeout(X),x=0,te=W=V=X=void 0}function Ge(){return X===void 0?le:be(F())}function Je(){var Qe=F(),pt=pe(Qe);if(te=arguments,V=this,W=Qe,pt){if(X===void 0)return G(W);if(_)return X=setTimeout(ge,K),A(W)}return X===void 0&&(X=setTimeout(ge,K)),le}return Je.cancel=Te,Je.flush=Ge,Je}function N(j,K,k){var te=!0,V=!0;if(typeof j!="function")throw new TypeError(a);return L(k)&&(te="leading"in k?!!k.leading:te,V="trailing"in k?!!k.trailing:V),Z(j,K,{leading:te,maxWait:K,trailing:V})}function L(j){var K=typeof j;return!!j&&(K=="object"||K=="function")}function $(j){return!!j&&typeof j=="object"}function D(j){return typeof j=="symbol"||$(j)&&S.call(j)==o}function T(j){if(typeof j=="number")return j;if(D(j))return t;if(L(j)){var K=typeof j.valueOf=="function"?j.valueOf():j;j=L(K)?K+"":K}if(typeof j!="string")return j===0?j:+j;j=j.replace(s,"");var k=d.test(j);return k||l.test(j)?c(j.slice(2),k?2:8):n.test(j)?t:+j}b.exports=N},94466:function(b,y,e){var a=e(65234),t=e(83250),o=a(t,"DataView");b.exports=o},85208:function(b,y,e){var a=e(34440),t=e(84108),o=e(61085),s=e(77706),n=e(8636);function d(l){var c=-1,m=l==null?0:l.length;for(this.clear();++cw))return!1;var F=h.get(l),Z=h.get(c);if(F&&Z)return F==c&&Z==l;var N=-1,L=!0,$=m&n?new a:void 0;for(h.set(l,c),h.set(c,l);++N-1&&t%1==0&&t-1}b.exports=t},67690:function(b,y,e){var a=e(18498);function t(o,s){var n=this.__data__,d=a(n,o);return d<0?(++this.size,n.push([o,s])):n[d][1]=s,this}b.exports=t},39016:function(b,y,e){var a=e(85208),t=e(81998),o=e(72887);function s(){this.size=0,this.__data__={hash:new a,map:new(o||t),string:new a}}b.exports=s},62363:function(b,y,e){var a=e(77570);function t(o){var s=a(this,o).delete(o);return this.size-=s?1:0,s}b.exports=t},64348:function(b,y,e){var a=e(77570);function t(o){return a(this,o).get(o)}b.exports=t},53062:function(b,y,e){var a=e(77570);function t(o){return a(this,o).has(o)}b.exports=t},30262:function(b,y,e){var a=e(77570);function t(o,s){var n=a(this,o),d=n.size;return n.set(o,s),this.size+=n.size==d?0:1,this}b.exports=t},81140:function(b){function y(e){var a=-1,t=Array(e.size);return e.forEach(function(o,s){t[++a]=[s,o]}),t}b.exports=y},24545:function(b,y,e){var a=e(65234),t=a(Object,"create");b.exports=t},82825:function(b,y,e){var a=e(33540),t=a(Object.keys,Object);b.exports=t},8690:function(b,y,e){b=e.nmd(b);var a=e(20302),t=y&&!y.nodeType&&y,o=t&&!0&&b&&!b.nodeType&&b,s=o&&o.exports===t,n=s&&a.process,d=function(){try{var l=o&&o.require&&o.require("util").types;return l||n&&n.binding&&n.binding("util")}catch(c){}}();b.exports=d},25151:function(b){var y=Object.prototype,e=y.toString;function a(t){return e.call(t)}b.exports=a},33540:function(b){function y(e,a){return function(t){return e(a(t))}}b.exports=y},83250:function(b,y,e){var a=e(20302),t=typeof self=="object"&&self&&self.Object===Object&&self,o=a||t||Function("return this")();b.exports=o},83937:function(b){var y="__lodash_hash_undefined__";function e(a){return this.__data__.set(a,y),this}b.exports=e},15009:function(b){function y(e){return this.__data__.has(e)}b.exports=y},77969:function(b){function y(e){var a=-1,t=Array(e.size);return e.forEach(function(o){t[++a]=o}),t}b.exports=y},93210:function(b,y,e){var a=e(81998);function t(){this.__data__=new a,this.size=0}b.exports=t},48603:function(b){function y(e){var a=this.__data__,t=a.delete(e);return this.size=a.size,t}b.exports=y},38947:function(b){function y(e){return this.__data__.get(e)}b.exports=y},70885:function(b){function y(e){return this.__data__.has(e)}b.exports=y},98938:function(b,y,e){var a=e(81998),t=e(72887),o=e(95678),s=200;function n(d,l){var c=this.__data__;if(c instanceof a){var m=c.__data__;if(!t||m.length=m||W<0||L&&x>=S}function k(){var X=t();if(K(X))return te(X);C=setTimeout(k,j(X))}function te(X){return C=void 0,$&&M?D(X):(M=h=void 0,w)}function V(){C!==void 0&&clearTimeout(C),Z=0,M=F=h=C=void 0}function q(){return C===void 0?w:te(t())}function le(){var X=t(),W=K(X);if(M=arguments,h=this,F=X,W){if(C===void 0)return T(F);if(L)return clearTimeout(C),C=setTimeout(k,m),D(F)}return C===void 0&&(C=setTimeout(k,m)),w}return le.cancel=V,le.flush=q,le}b.exports=l},58260:function(b){function y(e,a){return e===a||e!==e&&a!==a}b.exports=y},79312:function(b,y,e){var a=e(33016),t=e(50440),o=Object.prototype,s=o.hasOwnProperty,n=o.propertyIsEnumerable,d=a(function(){return arguments}())?a:function(l){return t(l)&&s.call(l,"callee")&&!n.call(l,"callee")};b.exports=d},55589:function(b){var y=Array.isArray;b.exports=y},30568:function(b,y,e){var a=e(45563),t=e(66052);function o(s){return s!=null&&t(s.length)&&!a(s)}b.exports=o},85778:function(b,y,e){b=e.nmd(b);var a=e(83250),t=e(37999),o=y&&!y.nodeType&&y,s=o&&!0&&b&&!b.nodeType&&b,n=s&&s.exports===o,d=n?a.Buffer:void 0,l=d?d.isBuffer:void 0,c=l||t;b.exports=c},85466:function(b,y,e){var a=e(34662);function t(o,s){return a(o,s)}b.exports=t},45563:function(b,y,e){var a=e(69823),t=e(93702),o="[object AsyncFunction]",s="[object Function]",n="[object GeneratorFunction]",d="[object Proxy]";function l(c){if(!t(c))return!1;var m=a(c);return m==s||m==n||m==o||m==d}b.exports=l},66052:function(b){var y=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=y}b.exports=e},93702:function(b){function y(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}b.exports=y},50440:function(b){function y(e){return e!=null&&typeof e=="object"}b.exports=y},52624:function(b,y,e){var a=e(69823),t=e(50440),o="[object Symbol]";function s(n){return typeof n=="symbol"||t(n)&&a(n)==o}b.exports=s},50922:function(b,y,e){var a=e(42448),t=e(31525),o=e(8690),s=o&&o.isTypedArray,n=s?t(s):a;b.exports=n},62096:function(b,y,e){var a=e(75825),t=e(41351),o=e(30568);function s(n){return o(n)?a(n):t(n)}b.exports=s},39378:function(b,y,e){b=e.nmd(b);var a;(function(){var t,o="4.17.21",s=200,n="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",m=500,g="__lodash_placeholder__",M=1,h=2,S=4,w=1,C=2,F=1,Z=2,N=4,L=8,$=16,D=32,T=64,j=128,K=256,k=512,te=30,V="...",q=800,le=16,X=1,W=2,x=3,O=1/0,_=9007199254740991,U=17976931348623157e292,A=0/0,G=4294967295,fe=G-1,pe=G>>>1,ge=[["ary",j],["bind",F],["bindKey",Z],["curry",L],["curryRight",$],["flip",k],["partial",D],["partialRight",T],["rearg",K]],be="[object Arguments]",Te="[object Array]",Ge="[object AsyncFunction]",Je="[object Boolean]",Qe="[object Date]",pt="[object DOMException]",Et="[object Error]",ft="[object Function]",Wt="[object GeneratorFunction]",$e="[object Map]",Xe="[object Number]",nt="[object Null]",Ke="[object Object]",ye="[object Promise]",ne="[object Proxy]",H="[object RegExp]",R="[object Set]",P="[object String]",ae="[object Symbol]",Q="[object Undefined]",ie="[object WeakMap]",me="[object WeakSet]",je="[object ArrayBuffer]",Ee="[object DataView]",Me="[object Float32Array]",We="[object Float64Array]",re="[object Int8Array]",se="[object Int16Array]",J="[object Int32Array]",de="[object Uint8Array]",xe="[object Uint8ClampedArray]",ce="[object Uint16Array]",Le="[object Uint32Array]",Oe=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,Ne=/(__e\(.*?\)|\b__t\)) \+\n'';/g,st=/&(?:amp|lt|gt|quot|#39);/g,et=/[&<>"']/g,Ye=RegExp(st.source),ke=RegExp(et.source),Be=/<%-([\s\S]+?)%>/g,it=/<%([\s\S]+?)%>/g,Ve=/<%=([\s\S]+?)%>/g,xt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ht=/^\w*$/,Ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wt=/[\\^$.*+?()[\]{}|]/g,_t=RegExp(wt.source),yt=/^\s+/,ze=/\s/,tt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,St=/\{\n\/\* \[wrapped with (.+)\] \*/,lt=/,? & /,Gt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Nt=/[()=,{}\[\]\/\s]/,At=/\\(\\)?/g,Ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Se=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,jt=/^0b[01]+$/i,He=/^\[object .+?Constructor\]$/,qe=/^0o[0-7]+$/i,$t=/^(?:0|[1-9]\d*)$/,Zt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qt=/($^)/,un=/['\n\r\u2028\u2029\\]/g,xn="\\ud800-\\udfff",pn="\\u0300-\\u036f",Gn="\\ufe20-\\ufe2f",Qn="\\u20d0-\\u20ff",ur=pn+Gn+Qn,br="\\u2700-\\u27bf",zt="a-z\\xdf-\\xf6\\xf8-\\xff",en="\\xac\\xb1\\xd7\\xf7",an="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",vn="\\u2000-\\u206f",An=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",sn="A-Z\\xc0-\\xd6\\xd8-\\xde",mt="\\ufe0e\\ufe0f",gt=en+an+vn+An,ln="['\u2019]",Qt="["+xn+"]",tn="["+gt+"]",yn="["+ur+"]",gn="\\d+",_n="["+br+"]",nr="["+zt+"]",ut="[^"+xn+gt+gn+br+zt+sn+"]",ct="\\ud83c[\\udffb-\\udfff]",It="(?:"+yn+"|"+ct+")",Ct="[^"+xn+"]",Ut="(?:\\ud83c[\\udde6-\\uddff]){2}",cn="[\\ud800-\\udbff][\\udc00-\\udfff]",rn="["+sn+"]",Dn="\\u200d",Bn="(?:"+nr+"|"+ut+")",Cr="(?:"+rn+"|"+ut+")",rr="(?:"+ln+"(?:d|ll|m|re|s|t|ve))?",$n="(?:"+ln+"(?:D|LL|M|RE|S|T|VE))?",kr=It+"?",Mr="["+mt+"]?",ia="(?:"+Dn+"(?:"+[Ct,Ut,cn].join("|")+")"+Mr+kr+")*",zr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Wn="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",wn=Mr+kr+ia,Rn="(?:"+[_n,Ut,cn].join("|")+")"+wn,sr="(?:"+[Ct+yn+"?",yn,Ut,cn,Qt].join("|")+")",Er=RegExp(ln,"g"),Kr=RegExp(yn,"g"),ta=RegExp(ct+"(?="+ct+")|"+sr+wn,"g"),ga=RegExp([rn+"?"+nr+"+"+rr+"(?="+[tn,rn,"$"].join("|")+")",Cr+"+"+$n+"(?="+[tn,rn+Bn,"$"].join("|")+")",rn+"?"+Bn+"+"+rr,rn+"+"+$n,Wn,zr,gn,Rn].join("|"),"g"),pr=RegExp("["+Dn+xn+ur+mt+"]"),Ur=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ma=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ma=-1,Yn={};Yn[Me]=Yn[We]=Yn[re]=Yn[se]=Yn[J]=Yn[de]=Yn[xe]=Yn[ce]=Yn[Le]=!0,Yn[be]=Yn[Te]=Yn[je]=Yn[Je]=Yn[Ee]=Yn[Qe]=Yn[Et]=Yn[ft]=Yn[$e]=Yn[Xe]=Yn[Ke]=Yn[H]=Yn[R]=Yn[P]=Yn[ie]=!1;var Zn={};Zn[be]=Zn[Te]=Zn[je]=Zn[Ee]=Zn[Je]=Zn[Qe]=Zn[Me]=Zn[We]=Zn[re]=Zn[se]=Zn[J]=Zn[$e]=Zn[Xe]=Zn[Ke]=Zn[H]=Zn[R]=Zn[P]=Zn[ae]=Zn[de]=Zn[xe]=Zn[ce]=Zn[Le]=!0,Zn[Et]=Zn[ft]=Zn[ie]=!1;var Sr={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Xr={"&":"&","<":"<",">":">",'"':""","'":"'"},wr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Pt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},on=parseFloat,Mn=parseInt,Ja=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,mo=typeof self=="object"&&self&&self.Object===Object&&self,Ua=Ja||mo||Function("return this")(),ka=y&&!y.nodeType&&y,Qa=ka&&!0&&b&&!b.nodeType&&b,wo=Qa&&Qa.exports===ka,No=wo&&Ja.process,ho=function(){try{var Kn=Qa&&Qa.require&&Qa.require("util").types;return Kn||No&&No.binding&&No.binding("util")}catch(Gr){}}(),dt=ho&&ho.isArrayBuffer,Rt=ho&&ho.isDate,Ae=ho&&ho.isMap,dn=ho&&ho.isRegExp,Pn=ho&&ho.isSet,Sn=ho&&ho.isTypedArray;function er(Kn,Gr,jr){switch(jr.length){case 0:return Kn.call(Gr);case 1:return Kn.call(Gr,jr[0]);case 2:return Kn.call(Gr,jr[0],jr[1]);case 3:return Kn.call(Gr,jr[0],jr[1],jr[2])}return Kn.apply(Gr,jr)}function ir(Kn,Gr,jr,Br){for(var ra=-1,ja=Kn==null?0:Kn.length;++ra-1}function Lr(Kn,Gr,jr){for(var Br=-1,ra=Kn==null?0:Kn.length;++Br-1;);return jr}function Ko(Kn,Gr){for(var jr=Kn.length;jr--&&Wr(Gr,Kn[jr],0)>-1;);return jr}function Jo(Kn,Gr){for(var jr=Kn.length,Br=0;jr--;)Kn[jr]===Gr&&++Br;return Br}var ao=Ia(Sr),yi=Ia(Xr);function ji(Kn){return"\\"+Pt[Kn]}function _o(Kn,Gr){return Kn==null?t:Kn[Gr]}function Bo(Kn){return pr.test(Kn)}function oi(Kn){return Ur.test(Kn)}function ri(Kn){for(var Gr,jr=[];!(Gr=Kn.next()).done;)jr.push(Gr.value);return jr}function Si(Kn){var Gr=-1,jr=Array(Kn.size);return Kn.forEach(function(Br,ra){jr[++Gr]=[ra,Br]}),jr}function Ni(Kn,Gr){return function(jr){return Kn(Gr(jr))}}function Ei(Kn,Gr){for(var jr=-1,Br=Kn.length,ra=0,ja=[];++jr-1}function mu(p,E){var oe=this.__data__,Fe=ki(oe,p);return Fe<0?(++this.size,oe.push([p,E])):oe[Fe][1]=E,this}vo.prototype.clear=Js,vo.prototype.delete=ou,vo.prototype.get=Zi,vo.prototype.has=iu,vo.prototype.set=mu;function Us(p){var E=-1,oe=p==null?0:p.length;for(this.clear();++E=E?p:E)),p}function us(p,E,oe,Fe,ht,Jt){var Cn,kn=E&M,vr=E&h,ya=E&S;if(oe&&(Cn=ht?oe(p,Fe,ht,Jt):oe(p)),Cn!==t)return Cn;if(!Fs(p))return p;var ba=ci(p);if(ba){if(Cn=po(p),!kn)return or(p,Cn)}else{var wa=Za(p),qa=wa==ft||wa==Wt;if(dd(p))return he(p,kn);if(wa==Ke||wa==be||qa&&!ht){if(Cn=vr||qa?{}:Pi(p),!kn)return vr?Or(p,Xl(Cn,p)):ua(p,Du(Cn,p))}else{if(!Zn[wa])return ht?p:{};Cn=Oi(p,wa,kn)}}Jt||(Jt=new Kt);var yo=Jt.get(p);if(yo)return yo;Jt.set(p,Cn),wf(p)?p.forEach(function(Ho){Cn.add(us(Ho,E,oe,Ho,p,Jt))}):Of(p)&&p.forEach(function(Ho,wi){Cn.set(wi,us(Ho,E,oe,wi,p,Jt))});var Wo=ya?vr?xa:Aa:vr?Bu:_l,hi=ba?t:Wo(p);return Hr(hi||p,function(Ho,wi){hi&&(wi=Ho,Ho=p[wi]),Ao(Cn,wi,us(Ho,E,oe,wi,p,Jt))}),Cn}function Oc(p){var E=_l(p);return function(oe){return nc(oe,p,E)}}function nc(p,E,oe){var Fe=oe.length;if(p==null)return!Fe;for(p=Pa(p);Fe--;){var ht=oe[Fe],Jt=E[ht],Cn=p[ht];if(Cn===t&&!(ht in p)||!Jt(Cn))return!1}return!0}function ml(p,E,oe){if(typeof p!="function")throw new Zo(d);return il(function(){p.apply(t,oe)},E)}function Pl(p,E,oe,Fe){var ht=-1,Jt=na,Cn=!0,kn=p.length,vr=[],ya=E.length;if(!kn)return vr;oe&&(E=Zr(E,so(oe))),Fe?(Jt=Lr,Cn=!1):E.length>=s&&(Jt=Ba,Cn=!1,E=new ks(E));e:for(;++htht?0:ht+oe),Fe=Fe===t||Fe>ht?ht:pi(Fe),Fe<0&&(Fe+=ht),Fe=oe>Fe?0:Pf(Fe);oe0&&oe(kn)?E>1?os(kn,E-1,oe,Fe,ht):ca(ht,kn):Fe||(ht[ht.length]=kn)}return ht}var ju=aa(),ps=aa(!0);function Ki(p,E){return p&&ju(p,E,_l)}function Ts(p,E){return p&&ps(p,E,_l)}function qs(p,E){return Jr(E,function(oe){return Xc(p[oe])})}function Uo(p,E){E=Su(E,p);for(var oe=0,Fe=E.length;p!=null&&oeE}function el(p,E){return p!=null&&Vo.call(p,E)}function pl(p,E){return p!=null&&E in Pa(p)}function Ls(p,E,oe){return p>=bi(E,oe)&&p=120&&ba.length>=120)?new ks(Cn&&ba):t}ba=p[0];var wa=-1,qa=kn[0];e:for(;++wa-1;)kn!==p&&js.call(kn,vr,1),js.call(p,vr,1);return p}function vc(p,E){for(var oe=p?E.length:0,Fe=oe-1;oe--;){var ht=E[oe];if(oe==Fe||ht!==Jt){var Jt=ht;La(ht)?js.call(p,ht,1):Pc(p,ht)}}return p}function gc(p,E){return p+sa(no()*(E-p+1))}function ql(p,E,oe,Fe){for(var ht=-1,Jt=Io(dl((E-p)/(oe||1)),0),Cn=jr(Jt);Jt--;)Cn[Fe?Jt:++ht]=p,p+=oe;return Cn}function Fi(p,E){var oe="";if(!p||E<1||E>_)return oe;do E%2&&(oe+=p),E=sa(E/2),E&&(p+=p);while(E);return oe}function go(p,E){return Ml(gi(p,E,$u),p+"")}function Cs(p){return es(Rd(p))}function mc(p,E){var oe=Rd(p);return yc(oe,Jl(E,0,oe.length))}function Mu(p,E,oe,Fe){if(!Fs(p))return p;E=Su(E,p);for(var ht=-1,Jt=E.length,Cn=Jt-1,kn=p;kn!=null&&++htht?0:ht+E),oe=oe>ht?ht:oe,oe<0&&(oe+=ht),ht=E>oe?0:oe-E>>>0,E>>>=0;for(var Jt=jr(ht);++Fe>>1,Cn=p[Jt];Cn!==null&&!Xu(Cn)&&(oe?Cn<=E:Cn=s){var ya=E?null:nn(p);if(ya)return to(ya);Cn=!1,ht=Ba,vr=new ks}else vr=E?[]:kn;e:for(;++Fe=Fe?p:Hs(p,E,oe)}var Ue=So||function(p){return Ua.clearTimeout(p)};function he(p,E){if(E)return p.slice();var oe=p.length,Fe=fu?fu(oe):new p.constructor(oe);return p.copy(Fe),Fe}function Pe(p){var E=new p.constructor(p.byteLength);return new zl(E).set(new zl(p)),E}function Un(p,E){var oe=E?Pe(p.buffer):p.buffer;return new p.constructor(oe,p.byteOffset,p.byteLength)}function vt(p){var E=new p.constructor(p.source,Se.exec(p));return E.lastIndex=p.lastIndex,E}function zn(p){return Ol?Pa(Ol.call(p)):{}}function En(p,E){var oe=E?Pe(p.buffer):p.buffer;return new p.constructor(oe,p.byteOffset,p.length)}function On(p,E){if(p!==E){var oe=p!==t,Fe=p===null,ht=p===p,Jt=Xu(p),Cn=E!==t,kn=E===null,vr=E===E,ya=Xu(E);if(!kn&&!ya&&!Jt&&p>E||Jt&&Cn&&vr&&!kn&&!ya||Fe&&Cn&&vr||!oe&&vr||!ht)return 1;if(!Fe&&!Jt&&!ya&&p=kn)return vr;var ya=oe[Fe];return vr*(ya=="desc"?-1:1)}}return p.index-E.index}function mr(p,E,oe,Fe){for(var ht=-1,Jt=p.length,Cn=oe.length,kn=-1,vr=E.length,ya=Io(Jt-Cn,0),ba=jr(vr+ya),wa=!Fe;++kn1?oe[ht-1]:t,Cn=ht>2?oe[2]:t;for(Jt=p.length>3&&typeof Jt=="function"?(ht--,Jt):t,Cn&&mi(oe[0],oe[1],Cn)&&(Jt=ht<3?t:Jt,ht=1),E=Pa(E);++Fe-1?ht[Jt?E[Cn]:Cn]:t}}function Vr(p){return Rr(function(E){var oe=E.length,Fe=oe,ht=$i.prototype.thru;for(p&&E.reverse();Fe--;){var Jt=E[Fe];if(typeof Jt!="function")throw new Zo(d);if(ht&&!Cn&&za(Jt)=="wrapper")var Cn=new $i([],!0)}for(Fe=Cn?Fe:oe;++Fe1&&Li.reverse(),ba&&vrkn))return!1;var ya=Jt.get(p),ba=Jt.get(E);if(ya&&ba)return ya==E&&ba==p;var wa=-1,qa=!0,yo=oe&C?new ks:t;for(Jt.set(p,E),Jt.set(E,p);++wa1?"& ":"")+E[Fe],E=E.join(oe>2?", ":" "),p.replace(tt,`{ /* [wrapped with `+E+`] */ -`)}function gi(p){return di(p)||Md(p)||!!(tu&&p&&p[tu])}function ja(p,E){var oe=typeof p;return E=E==null?_:E,!!E&&(oe=="number"||oe!="symbol"&&Zt.test(p))&&p>-1&&p%1==0&&p0){if(++E>=q)return arguments[0]}else E=0;return p.apply(t,arguments)}}function Pc(p,E){var oe=-1,Fe=p.length,ht=Fe-1;for(E=E===t?Fe:E;++oe1?p[E-1]:t;return oe=typeof oe=="function"?(p.pop(),oe):t,is(p,oe)});function Dd(p){var E=Wt(p);return E.__chain__=!0,E}function af(p,E){return E(p),p}function Qu(p,E){return E(p)}var wd=ya(function(p){var E=p.length,oe=E?p[0]:0,Fe=this.__wrapped__,ht=function(Jt){return ju(Jt,p)};return E>1||this.__actions__.length||!(Fe instanceof Zo)||!ja(oe)?this.thru(ht):(Fe=Fe.slice(oe,+oe+(E?1:0)),Fe.__actions__.push({func:Qu,args:[ht],thisArg:t}),new zi(Fe,this.__chain__).thru(function(Jt){return E&&!Jt.length&&Jt.push(t),Jt}))});function Vc(){return Dd(this)}function jd(){return new zi(this.value(),this.__chain__)}function $d(){this.__values__===t&&(this.__values__=jf(this.value()));var p=this.__index__>=this.__values__.length,E=p?t:this.__values__[this.__index__++];return{done:p,value:E}}function Zd(){return this}function of(p){for(var E,oe=this;oe instanceof Vl;){var Fe=Cu(oe);Fe.__index__=0,Fe.__values__=t,E?ht.__wrapped__=Fe:E=Fe;var ht=Fe;oe=oe.__wrapped__}return ht.__wrapped__=p,E}function Ud(){var p=this.__wrapped__;if(p instanceof Zo){var E=p;return this.__actions__.length&&(E=new Zo(this)),E=E.reverse(),E.__actions__.push({func:Qu,args:[rd],thisArg:t}),new zi(E,this.__chain__)}return this.thru(rd)}function sf(){return Fc(this.__wrapped__,this.__actions__)}var Vd=Or(function(p,E,oe){Qo.call(p,oe)?++p[oe]:ls(p,oe,1)});function Gd(p,E,oe){var Fe=di(p)?ia:Ac;return oe&&ii(p,E,oe)&&(E=t),Fe(p,Tr(E,3))}function Pd(p,E){var oe=di(p)?Jr:pu;return oe(p,Tr(E,3))}var Td=Rr(Uc),Kd=Rr(os);function kd(p,E){return as(Gc(p,E),1)}function lf(p,E){return as(Gc(p,E),O)}function Qd(p,E,oe){return oe=oe===t?1:mi(oe),as(Gc(p,E),oe)}function Ld(p,E){var oe=di(p)?Hr:Rl;return oe(p,Tr(E,3))}function yd(p,E){var oe=di(p)?Da:ku;return oe(p,Tr(E,3))}var Wd=Or(function(p,E,oe){Qo.call(p,oe)?p[oe].push(E):ls(p,oe,[E])});function Nd(p,E,oe,Fe){p=Fu(p)?p:Fd(p),oe=oe&&!Fe?mi(oe):0;var ht=p.length;return oe<0&&(oe=Ao(ht+oe,0)),qd(p)?oe<=ht&&p.indexOf(E,oe)>-1:!!ht&&Wr(p,E,oe)>-1}var Xd=po(function(p,E,oe){var Fe=-1,ht=typeof E=="function",Jt=Fu(p)?wr(p.length):[];return Rl(p,function(Sn){Jt[++Fe]=ht?qn(E,Sn,oe):hu(Sn,E,oe)}),Jt}),uf=Or(function(p,E,oe){ls(p,oe,E)});function Gc(p,E){var oe=di(p)?Zr:io;return oe(p,Tr(E,3))}function cf(p,E,oe,Fe){return p==null?[]:(di(E)||(E=E==null?[]:[E]),oe=Fe?t:oe,di(oe)||(oe=oe==null?[]:[oe]),ac(p,E,oe))}var bd=Or(function(p,E,oe){p[oe?0:1].push(E)},function(){return[[],[]]});function df(p,E,oe){var Fe=di(p)?Na:Aa,ht=arguments.length<3;return Fe(p,Tr(E,4),oe,ht,Rl)}function Rd(p,E,oe){var Fe=di(p)?eo:Aa,ht=arguments.length<3;return Fe(p,Tr(E,4),oe,ht,ku)}function i(p,E){var oe=di(p)?Jr:pu;return oe(p,Fa(Tr(E,3)))}function v(p){var E=di(p)?es:xs;return E(p)}function I(p,E,oe){(oe?ii(p,E,oe):E===t)?E=1:E=mi(E);var Fe=di(p)?ni:gc;return Fe(p,E)}function ee(p){var E=di(p)?fi:Ws;return E(p)}function De(p){if(p==null)return 0;if(Fu(p))return qd(p)?Io(p):p.length;var E=Wa(p);return E==Ze||E==R?p.size:Nt(p).length}function _e(p,E,oe){var Fe=di(p)?Va:Dc;return oe&&ii(p,E,oe)&&(E=t),Fe(p,Tr(E,3))}var $t=po(function(p,E){if(p==null)return[];var oe=E.length;return oe>1&&ii(p,E[0],E[1])?E=[]:oe>2&&ii(E[0],E[1],E[2])&&(E=[E[0]]),ac(p,as(E,1),[])}),gn=$s||function(){return $a.Date.now()};function Un(p,E){if(typeof E!="function")throw new ko(d);return p=mi(p),function(){if(--p<1)return E.apply(this,arguments)}}function Nr(p,E,oe){return E=oe?t:E,E=p&&E==null?p.length:E,St(p,j,t,t,t,t,E)}function Ia(p,E){var oe;if(typeof E!="function")throw new ko(d);return p=mi(p),function(){return--p>0&&(oe=E.apply(this,arguments)),p<=1&&(E=t),oe}}var Ya=po(function(p,E,oe){var Fe=z;if(oe.length){var ht=Ei(oe,xa(Ya));Fe|=D}return St(p,Fe,E,oe,ht)}),ga=po(function(p,E,oe){var Fe=z|$;if(oe.length){var ht=Ei(oe,xa(ga));Fe|=D}return St(E,Fe,p,oe,ht)});function ro(p,E,oe){E=oe?t:E;var Fe=St(p,L,t,t,t,t,t,E);return Fe.placeholder=ro.placeholder,Fe}function Ha(p,E,oe){E=oe?t:E;var Fe=St(p,B,t,t,t,t,t,E);return Fe.placeholder=Ha.placeholder,Fe}function ri(p,E,oe){var Fe,ht,Jt,Sn,$n,cr,Ma=0,Sa=!1,Pa=!1,Ja=!0;if(typeof p!="function")throw new ko(d);E=cc(E)||0,Fs(oe)&&(Sa=!!oe.leading,Pa="maxWait"in oe,Jt=Pa?Ao(cc(oe.maxWait)||0,E):Jt,Ja="trailing"in oe?!!oe.trailing:Ja);function bo(ol){var xc=Fe,Xc=ht;return Fe=ht=t,Ma=ol,Sn=p.apply(Xc,xc),Sn}function Yo(ol){return Ma=ol,$n=hc(Di,E),Sa?bo(ol):Sn}function pi(ol){var xc=ol-cr,Xc=ol-Ma,Wf=E-xc;return Pa?yi(Wf,Jt-Xc):Wf}function Vo(ol){var xc=ol-cr,Xc=ol-Ma;return cr===t||xc>=E||xc<0||Pa&&Xc>=Jt}function Di(){var ol=gn();if(Vo(ol))return ji(ol);$n=hc(Di,pi(ol))}function ji(ol){return $n=t,Ja&&Fe?bo(ol):(Fe=ht=t,Sn)}function Ju(){$n!==t&&Pe($n),Ma=0,Fe=cr=ht=$n=t}function xu(){return $n===t?Sn:ji(gn())}function qu(){var ol=gn(),xc=Vo(ol);if(Fe=arguments,ht=this,cr=ol,xc){if($n===t)return Yo(cr);if(Pa)return Pe($n),$n=hc(Di,E),bo(cr)}return $n===t&&($n=hc(Di,E)),Sn}return qu.cancel=Ju,qu.flush=xu,qu}var zs=po(function(p,E){return fl(p,1,E)}),xr=po(function(p,E,oe){return fl(p,cc(E)||0,oe)});function Xn(p){return St(p,k)}function jr(p,E){if(typeof p!="function"||E!=null&&typeof E!="function")throw new ko(d);var oe=function(){var Fe=arguments,ht=E?E.apply(this,Fe):Fe[0],Jt=oe.cache;if(Jt.has(ht))return Jt.get(ht);var Sn=p.apply(this,Fe);return oe.cache=Jt.set(ht,Sn)||Jt,Sn};return oe.cache=new(jr.Cache||Us),oe}jr.Cache=Us;function Fa(p){if(typeof p!="function")throw new ko(d);return function(){var E=arguments;switch(E.length){case 0:return!p.call(this);case 1:return!p.call(this,E[0]);case 2:return!p.call(this,E[0],E[1]);case 3:return!p.call(this,E[0],E[1],E[2])}return!p.apply(this,E)}}function vo(p){return Ia(2,p)}var Po=$e(function(p,E){E=E.length==1&&di(E[0])?Zr(E[0],so(Tr())):Zr(as(E,1),so(Tr()));var oe=E.length;return po(function(Fe){for(var ht=-1,Jt=yi(Fe.length,oe);++ht=E}),Md=Tu(function(){return arguments}())?Tu:function(p){return Vs(p)&&Qo.call(p,"callee")&&!Bs.call(p,"callee")},di=wr.isArray,nv=dt?so(dt):gl;function Fu(p){return p!=null&&Jd(p.length)&&!Kc(p)}function al(p){return Vs(p)&&Fu(p)}function rv(p){return p===!0||p===!1||Vs(p)&&cs(p)==Je}var ld=nu||Cf,av=zt?so(zt):Wu;function ov(p){return Vs(p)&&p.nodeType===1&&!Hd(p)}function iv(p){if(p==null)return!0;if(Fu(p)&&(di(p)||typeof p=="string"||typeof p.splice=="function"||ld(p)||zd(p)||Md(p)))return!p.length;var E=Wa(p);if(E==Ze||E==R)return!p.size;if(Su(p))return!Nt(p).length;for(var oe in p)if(Qo.call(p,oe))return!1;return!0}function sv(p,E){return Lu(p,E)}function lv(p,E,oe){oe=typeof oe=="function"?oe:t;var Fe=oe?oe(p,E):t;return Fe===t?Lu(p,E,t,oe):!!Fe}function vf(p){if(!Vs(p))return!1;var E=cs(p);return E==Ct||E==pt||typeof p.message=="string"&&typeof p.name=="string"&&!Hd(p)}function uv(p){return typeof p=="number"&&Js(p)}function Kc(p){if(!Fs(p))return!1;var E=cs(p);return E==ft||E==Ht||E==Ge||E==ne}function Af(p){return typeof p=="number"&&p==mi(p)}function Jd(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=_}function Fs(p){var E=typeof p;return p!=null&&(E=="object"||E=="function")}function Vs(p){return p!=null&&typeof p=="object"}var Of=Ae?so(Ae):Al;function cv(p,E){return p===E||Fl(p,E,Ho(E))}function dv(p,E,oe){return oe=typeof oe=="function"?oe:t,Fl(p,E,Ho(E),oe)}function fv(p){return Df(p)&&p!=+p}function vv(p){if(Mu(p))throw new oa(n);return qo(p)}function gv(p){return p===null}function mv(p){return p==null}function Df(p){return typeof p=="number"||Vs(p)&&cs(p)==Xe}function Hd(p){if(!Vs(p)||cs(p)!=Ke)return!1;var E=ns(p);if(E===null)return!0;var oe=Qo.call(E,"constructor")&&E.constructor;return typeof oe=="function"&&oe instanceof oe&&Xi.call(oe)==Au}var gf=dn?so(dn):F;function pv(p){return Af(p)&&p>=-_&&p<=_}var wf=Dn?so(Dn):ve;function qd(p){return typeof p=="string"||!di(p)&&Vs(p)&&cs(p)==P}function Xu(p){return typeof p=="symbol"||Vs(p)&&cs(p)==ae}var zd=Mn?so(Mn):Ue;function hv(p){return p===t}function yv(p){return Vs(p)&&Wa(p)==ie}function bv(p){return Vs(p)&&cs(p)==me}var Mv=Mt(Fr),Sv=Mt(function(p,E){return p<=E});function jf(p){if(!p)return[];if(Fu(p))return qd(p)?Ro(p):ta(p);if(Hl&&p[Hl])return ai(p[Hl]());var E=Wa(p),oe=E==Ze?Si:E==R?to:Fd;return oe(p)}function Qc(p){if(!p)return p===0?p:0;if(p=cc(p),p===O||p===-O){var E=p<0?-1:1;return E*U}return p===p?p:0}function mi(p){var E=Qc(p),oe=E%1;return E===E?oe?E-oe:E:0}function Pf(p){return p?Kl(mi(p),0,G):0}function cc(p){if(typeof p=="number")return p;if(Xu(p))return A;if(Fs(p)){var E=typeof p.valueOf=="function"?p.valueOf():p;p=Fs(E)?E+"":E}if(typeof p!="string")return p===0?p:+p;p=Mo(p);var oe=Pt.test(p);return oe||qe.test(p)?bn(p.slice(2),oe?2:8):bt.test(p)?A:+p}function Tf(p){return Ir(p,Bu(p))}function Ev(p){return p?Kl(mi(p),-_,_):p===0?p:0}function Gi(p){return p==null?"":_s(p)}var Cv=sa(function(p,E){if(Su(E)||Fu(E)){Ir(E,kl(E),p);return}for(var oe in E)Qo.call(E,oe)&&Oo(p,oe,E[oe])}),Lf=sa(function(p,E){Ir(E,Bu(E),p)}),ef=sa(function(p,E,oe,Fe){Ir(E,Bu(E),p,Fe)}),xv=sa(function(p,E,oe,Fe){Ir(E,kl(E),p,Fe)}),Iv=ya(ju);function Av(p,E){var oe=Ai(p);return E==null?oe:wu(oe,E)}var Ov=po(function(p,E){p=La(p);var oe=-1,Fe=E.length,ht=Fe>2?E[2]:t;for(ht&&ii(E[0],E[1],ht)&&(Fe=1);++oe1),Jt}),Ir(p,ba(p),oe),Fe&&(oe=us(oe,M|h|S,Jn));for(var ht=E.length;ht--;)wc(oe,E[ht]);return oe});function _v(p,E){return Rf(p,Fa(Tr(E)))}var Yv=ya(function(p,E){return p==null?{}:Ii(p,E)});function Rf(p,E){if(p==null)return{};var oe=Zr(ba(p),function(Fe){return[Fe]});return E=Tr(E),oc(p,oe,function(Fe,ht){return E(Fe,ht[0])})}function Vv(p,E,oe){E=bu(E,p);var Fe=-1,ht=E.length;for(ht||(ht=1,p=t);++FeE){var Fe=p;p=E,E=Fe}if(oe||p%1||E%1){var ht=no();return yi(p+ht*(E-p+an("1e-"+((ht+"").length-1))),E)}return vc(p,E)}var a0=or(function(p,E,oe){return E=E.toLowerCase(),p+(oe?Bf(E):E)});function Bf(p){return hf(Gi(p).toLowerCase())}function $f(p){return p=Gi(p),p&&p.replace(Ut,ao).replace(Kr,"")}function o0(p,E,oe){p=Gi(p),E=_s(E);var Fe=p.length;oe=oe===t?Fe:Kl(mi(oe),0,Fe);var ht=oe;return oe-=E.length,oe>=0&&p.slice(oe,ht)==E}function i0(p){return p=Gi(p),p&&ke.test(p)?p.replace(tt,hi):p}function s0(p){return p=Gi(p),p&&Yt.test(p)?p.replace(jt,"\\$&"):p}var l0=or(function(p,E,oe){return p+(oe?"-":"")+E.toLowerCase()}),u0=or(function(p,E,oe){return p+(oe?" ":"")+E.toLowerCase()}),c0=ca("toLowerCase");function d0(p,E,oe){p=Gi(p),E=mi(E);var Fe=E?Io(p):0;if(!E||Fe>=E)return p;var ht=(E-Fe)/2;return Ce(ua(ht),oe)+p+Ce(ll(ht),oe)}function f0(p,E,oe){p=Gi(p),E=mi(E);var Fe=E?Io(p):0;return E&&Fe>>0,oe?(p=Gi(p),p&&(typeof E=="string"||E!=null&&!gf(E))&&(E=_s(E),!E&&$o(p))?pe(Ro(p),0,oe):p.split(E,oe)):[]}var b0=or(function(p,E,oe){return p+(oe?" ":"")+hf(E)});function M0(p,E,oe){return p=Gi(p),oe=oe==null?0:Kl(mi(oe),0,p.length),E=_s(E),p.slice(oe,oe+E.length)==E}function S0(p,E,oe){var Fe=Wt.templateSettings;oe&&ii(p,E,oe)&&(E=t),p=Gi(p),E=ef({},E,Fe,pn);var ht=ef({},E.imports,Fe.imports,pn),Jt=kl(ht),Sn=Ca(ht,Jt),$n,cr,Ma=0,Sa=E.interpolate||qt,Pa="__p += '",Ja=To((E.escape||qt).source+"|"+Sa.source+"|"+(Sa===Ve?Ie:qt).source+"|"+(E.evaluate||qt).source+"|$","g"),bo="//# sourceURL="+(Qo.call(E,"sourceURL")?(E.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ha+"]")+` -`;p.replace(Ja,function(Vo,Di,ji,Ju,xu,qu){return ji||(ji=Ju),Pa+=p.slice(Ma,qu).replace(ln,wi),Di&&($n=!0,Pa+=`' + -__e(`+Di+`) + -'`),xu&&(cr=!0,Pa+=`'; -`+xu+`; -__p += '`),ji&&(Pa+=`' + -((__t = (`+ji+`)) == null ? '' : __t) + -'`),Ma=qu+Vo.length,Vo}),Pa+=`'; -`;var Yo=Qo.call(E,"variable")&&E.variable;if(!Yo)Pa=`with (obj) { -`+Pa+` +`)}function Wi(p){return ci(p)||Ed(p)||!!(nu&&p&&p[nu])}function La(p,E){var oe=typeof p;return E=E==null?_:E,!!E&&(oe=="number"||oe!="symbol"&&$t.test(p))&&p>-1&&p%1==0&&p0){if(++E>=q)return arguments[0]}else E=0;return p.apply(t,arguments)}}function yc(p,E){var oe=-1,Fe=p.length,ht=Fe-1;for(E=E===t?Fe:E;++oe1?p[E-1]:t;return oe=typeof oe=="function"?(p.pop(),oe):t,is(p,oe)});function Ad(p){var E=kt(p);return E.__chain__=!0,E}function af(p,E){return E(p),p}function Qu(p,E){return E(p)}var Od=Rr(function(p){var E=p.length,oe=E?p[0]:0,Fe=this.__wrapped__,ht=function(Jt){return wu(Jt,p)};return E>1||this.__actions__.length||!(Fe instanceof $o)||!La(oe)?this.thru(ht):(Fe=Fe.slice(oe,+oe+(E?1:0)),Fe.__actions__.push({func:Qu,args:[ht],thisArg:t}),new $i(Fe,this.__chain__).thru(function(Jt){return E&&!Jt.length&&Jt.push(t),Jt}))});function Kc(){return Ad(this)}function Dd(){return new $i(this.value(),this.__chain__)}function Ud(){this.__values__===t&&(this.__values__=jf(this.value()));var p=this.__index__>=this.__values__.length,E=p?t:this.__values__[this.__index__++];return{done:p,value:E}}function kd(){return this}function of(p){for(var E,oe=this;oe instanceof Ql;){var Fe=nd(oe);Fe.__index__=0,Fe.__values__=t,E?ht.__wrapped__=Fe:E=Fe;var ht=Fe;oe=oe.__wrapped__}return ht.__wrapped__=p,E}function Wd(){var p=this.__wrapped__;if(p instanceof $o){var E=p;return this.__actions__.length&&(E=new $o(this)),E=E.reverse(),E.__actions__.push({func:Qu,args:[Hc],thisArg:t}),new $i(E,this.__chain__)}return this.thru(Hc)}function sf(){return Bc(this.__wrapped__,this.__actions__)}var Kd=ar(function(p,E,oe){Vo.call(p,oe)?++p[oe]:ls(p,oe,1)});function Qd(p,E,oe){var Fe=ci(p)?oa:Dc;return oe&&mi(p,E,oe)&&(E=t),Fe(p,Yr(E,3))}function wd(p,E){var oe=ci(p)?Jr:yu;return oe(p,Yr(E,3))}var jd=Ir(Lc),Xd=Ir(Nc);function Hd(p,E){return os(Qc(p,E),1)}function lf(p,E){return os(Qc(p,E),O)}function Jd(p,E,oe){return oe=oe===t?1:pi(oe),os(Qc(p,E),oe)}function Pd(p,E){var oe=ci(p)?Hr:$l;return oe(p,Yr(E,3))}function Md(p,E){var oe=ci(p)?Oa:ku;return oe(p,Yr(E,3))}var _d=ar(function(p,E,oe){Vo.call(p,oe)?p[oe].push(E):ls(p,oe,[E])});function Td(p,E,oe,Fe){p=Fu(p)?p:Rd(p),oe=oe&&!Fe?pi(oe):0;var ht=p.length;return oe<0&&(oe=Io(ht+oe,0)),tf(p)?oe<=ht&&p.indexOf(E,oe)>-1:!!ht&&Wr(p,E,oe)>-1}var qd=go(function(p,E,oe){var Fe=-1,ht=typeof E=="function",Jt=Fu(p)?jr(p.length):[];return $l(p,function(Cn){Jt[++Fe]=ht?er(E,Cn,oe):bu(Cn,E,oe)}),Jt}),uf=ar(function(p,E,oe){ls(p,oe,E)});function Qc(p,E){var oe=ci(p)?Zr:oo;return oe(p,Yr(E,3))}function cf(p,E,oe,Fe){return p==null?[]:(ci(E)||(E=E==null?[]:[E]),oe=Fe?t:oe,ci(oe)||(oe=oe==null?[]:[oe]),ac(p,E,oe))}var Sd=ar(function(p,E,oe){p[oe?0:1].push(E)},function(){return[[],[]]});function df(p,E,oe){var Fe=ci(p)?Ta:Ca,ht=arguments.length<3;return Fe(p,Yr(E,4),oe,ht,$l)}function Ld(p,E,oe){var Fe=ci(p)?eo:Ca,ht=arguments.length<3;return Fe(p,Yr(E,4),oe,ht,ku)}function i(p,E){var oe=ci(p)?Jr:yu;return oe(p,Fa(Yr(E,3)))}function v(p){var E=ci(p)?es:Cs;return E(p)}function I(p,E,oe){(oe?mi(p,E,oe):E===t)?E=1:E=pi(E);var Fe=ci(p)?ei:mc;return Fe(p,E)}function ee(p){var E=ci(p)?di:Ws;return E(p)}function De(p){if(p==null)return 0;if(Fu(p))return tf(p)?xo(p):p.length;var E=Za(p);return E==$e||E==R?p.size:Lt(p).length}function _e(p,E,oe){var Fe=ci(p)?Va:jc;return oe&&mi(p,E,oe)&&(E=t),Fe(p,Yr(E,3))}var Bt=go(function(p,E){if(p==null)return[];var oe=E.length;return oe>1&&mi(p,E[0],E[1])?E=[]:oe>2&&mi(E[0],E[1],E[2])&&(E=[E[0]]),ac(p,os(E,1),[])}),mn=$s||function(){return Ua.Date.now()};function Hn(p,E){if(typeof E!="function")throw new Zo(d);return p=pi(p),function(){if(--p<1)return E.apply(this,arguments)}}function Nr(p,E,oe){return E=oe?t:E,E=p&&E==null?p.length:E,hn(p,j,t,t,t,t,E)}function Ea(p,E){var oe;if(typeof E!="function")throw new Zo(d);return p=pi(p),function(){return--p>0&&(oe=E.apply(this,arguments)),p<=1&&(E=t),oe}}var Ya=go(function(p,E,oe){var Fe=F;if(oe.length){var ht=Ei(oe,ha(Ya));Fe|=D}return hn(p,Fe,E,oe,ht)}),da=go(function(p,E,oe){var Fe=F|Z;if(oe.length){var ht=Ei(oe,ha(da));Fe|=D}return hn(E,Fe,p,oe,ht)});function ro(p,E,oe){E=oe?t:E;var Fe=hn(p,L,t,t,t,t,t,E);return Fe.placeholder=ro.placeholder,Fe}function Ha(p,E,oe){E=oe?t:E;var Fe=hn(p,$,t,t,t,t,t,E);return Fe.placeholder=Ha.placeholder,Fe}function ni(p,E,oe){var Fe,ht,Jt,Cn,kn,vr,ya=0,ba=!1,wa=!1,qa=!0;if(typeof p!="function")throw new Zo(d);E=dc(E)||0,Fs(oe)&&(ba=!!oe.leading,wa="maxWait"in oe,Jt=wa?Io(dc(oe.maxWait)||0,E):Jt,qa="trailing"in oe?!!oe.trailing:qa);function yo(ll){var Ac=Fe,qc=ht;return Fe=ht=t,ya=ll,Cn=p.apply(qc,Ac),Cn}function Wo(ll){return ya=ll,kn=il(wi,E),ba?yo(ll):Cn}function hi(ll){var Ac=ll-vr,qc=ll-ya,Wf=E-Ac;return wa?bi(Wf,Jt-qc):Wf}function Ho(ll){var Ac=ll-vr,qc=ll-ya;return vr===t||Ac>=E||Ac<0||wa&&qc>=Jt}function wi(){var ll=mn();if(Ho(ll))return Li(ll);kn=il(wi,hi(ll))}function Li(ll){return kn=t,qa&&Fe?yo(ll):(Fe=ht=t,Cn)}function Ju(){kn!==t&&Ue(kn),ya=0,Fe=vr=ht=kn=t}function Cu(){return kn===t?Cn:Li(mn())}function qu(){var ll=mn(),Ac=Ho(ll);if(Fe=arguments,ht=this,vr=ll,Ac){if(kn===t)return Wo(vr);if(wa)return Ue(kn),kn=il(wi,E),yo(vr)}return kn===t&&(kn=il(wi,E)),Cn}return qu.cancel=Ju,qu.flush=Cu,qu}var zs=go(function(p,E){return ml(p,1,E)}),xr=go(function(p,E,oe){return ml(p,dc(E)||0,oe)});function Xn(p){return hn(p,k)}function Tr(p,E){if(typeof p!="function"||E!=null&&typeof E!="function")throw new Zo(d);var oe=function(){var Fe=arguments,ht=E?E.apply(this,Fe):Fe[0],Jt=oe.cache;if(Jt.has(ht))return Jt.get(ht);var Cn=p.apply(this,Fe);return oe.cache=Jt.set(ht,Cn)||Jt,Cn};return oe.cache=new(Tr.Cache||Us),oe}Tr.Cache=Us;function Fa(p){if(typeof p!="function")throw new Zo(d);return function(){var E=arguments;switch(E.length){case 0:return!p.call(this);case 1:return!p.call(this,E[0]);case 2:return!p.call(this,E[0],E[1]);case 3:return!p.call(this,E[0],E[1],E[2])}return!p.apply(this,E)}}function co(p){return Ea(2,p)}var Po=Nu(function(p,E){E=E.length==1&&ci(E[0])?Zr(E[0],so(Yr())):Zr(os(E,1),so(Yr()));var oe=E.length;return go(function(Fe){for(var ht=-1,Jt=bi(Fe.length,oe);++ht=E}),Ed=Pu(function(){return arguments}())?Pu:function(p){return Ys(p)&&Vo.call(p,"callee")&&!Bs.call(p,"callee")},ci=jr.isArray,nv=dt?so(dt):hl;function Fu(p){return p!=null&&ef(p.length)&&!Xc(p)}function sl(p){return Ys(p)&&Fu(p)}function rv(p){return p===!0||p===!1||Ys(p)&&cs(p)==Je}var dd=ru||Cf,av=Rt?so(Rt):Wu;function ov(p){return Ys(p)&&p.nodeType===1&&!Yd(p)}function iv(p){if(p==null)return!0;if(Fu(p)&&(ci(p)||typeof p=="string"||typeof p.splice=="function"||dd(p)||Nd(p)||Ed(p)))return!p.length;var E=Za(p);if(E==$e||E==R)return!p.size;if(rl(p))return!Lt(p).length;for(var oe in p)if(Vo.call(p,oe))return!1;return!0}function sv(p,E){return Tu(p,E)}function lv(p,E,oe){oe=typeof oe=="function"?oe:t;var Fe=oe?oe(p,E):t;return Fe===t?Tu(p,E,t,oe):!!Fe}function vf(p){if(!Ys(p))return!1;var E=cs(p);return E==Et||E==pt||typeof p.message=="string"&&typeof p.name=="string"&&!Yd(p)}function uv(p){return typeof p=="number"&&Xs(p)}function Xc(p){if(!Fs(p))return!1;var E=cs(p);return E==ft||E==Wt||E==Ge||E==ne}function Af(p){return typeof p=="number"&&p==pi(p)}function ef(p){return typeof p=="number"&&p>-1&&p%1==0&&p<=_}function Fs(p){var E=typeof p;return p!=null&&(E=="object"||E=="function")}function Ys(p){return p!=null&&typeof p=="object"}var Of=Ae?so(Ae):Tl;function cv(p,E){return p===E||Ul(p,E,Xa(E))}function dv(p,E,oe){return oe=typeof oe=="function"?oe:t,Ul(p,E,Xa(E),oe)}function fv(p){return Df(p)&&p!=+p}function vv(p){if(Ru(p))throw new ra(n);return Xo(p)}function gv(p){return p===null}function mv(p){return p==null}function Df(p){return typeof p=="number"||Ys(p)&&cs(p)==Xe}function Yd(p){if(!Ys(p)||cs(p)!=Ke)return!1;var E=rs(p);if(E===null)return!0;var oe=Vo.call(E,"constructor")&&E.constructor;return typeof oe=="function"&&oe instanceof oe&&Xi.call(oe)==Iu}var gf=dn?so(dn):B;function pv(p){return Af(p)&&p>=-_&&p<=_}var wf=Pn?so(Pn):ve;function tf(p){return typeof p=="string"||!ci(p)&&Ys(p)&&cs(p)==P}function Xu(p){return typeof p=="symbol"||Ys(p)&&cs(p)==ae}var Nd=Sn?so(Sn):Ze;function hv(p){return p===t}function yv(p){return Ys(p)&&Za(p)==ie}function bv(p){return Ys(p)&&cs(p)==me}var Mv=Mt(Fr),Sv=Mt(function(p,E){return p<=E});function jf(p){if(!p)return[];if(Fu(p))return tf(p)?Ro(p):or(p);if(Vl&&p[Vl])return ri(p[Vl]());var E=Za(p),oe=E==$e?Si:E==R?to:Rd;return oe(p)}function Jc(p){if(!p)return p===0?p:0;if(p=dc(p),p===O||p===-O){var E=p<0?-1:1;return E*U}return p===p?p:0}function pi(p){var E=Jc(p),oe=E%1;return E===E?oe?E-oe:E:0}function Pf(p){return p?Jl(pi(p),0,G):0}function dc(p){if(typeof p=="number")return p;if(Xu(p))return A;if(Fs(p)){var E=typeof p.valueOf=="function"?p.valueOf():p;p=Fs(E)?E+"":E}if(typeof p!="string")return p===0?p:+p;p=bo(p);var oe=jt.test(p);return oe||qe.test(p)?Mn(p.slice(2),oe?2:8):bt.test(p)?A:+p}function Tf(p){return jn(p,Bu(p))}function Ev(p){return p?Jl(pi(p),-_,_):p===0?p:0}function Vi(p){return p==null?"":_s(p)}var Cv=hr(function(p,E){if(rl(E)||Fu(E)){jn(E,_l(E),p);return}for(var oe in E)Vo.call(E,oe)&&Ao(p,oe,E[oe])}),Lf=hr(function(p,E){jn(E,Bu(E),p)}),nf=hr(function(p,E,oe,Fe){jn(E,Bu(E),p,Fe)}),xv=hr(function(p,E,oe,Fe){jn(E,_l(E),p,Fe)}),Iv=Rr(wu);function Av(p,E){var oe=Di(p);return E==null?oe:Du(oe,E)}var Ov=go(function(p,E){p=Pa(p);var oe=-1,Fe=E.length,ht=Fe>2?E[2]:t;for(ht&&mi(E[0],E[1],ht)&&(Fe=1);++oe1),Jt}),jn(p,xa(p),oe),Fe&&(oe=us(oe,M|h|S,Ln));for(var ht=E.length;ht--;)Pc(oe,E[ht]);return oe});function _v(p,E){return Rf(p,Fa(Yr(E)))}var Yv=Rr(function(p,E){return p==null?{}:Ii(p,E)});function Rf(p,E){if(p==null)return{};var oe=Zr(xa(p),function(Fe){return[Fe]});return E=Yr(E),oc(p,oe,function(Fe,ht){return E(Fe,ht[0])})}function Vv(p,E,oe){E=Su(E,p);var Fe=-1,ht=E.length;for(ht||(ht=1,p=t);++FeE){var Fe=p;p=E,E=Fe}if(oe||p%1||E%1){var ht=no();return bi(p+ht*(E-p+on("1e-"+((ht+"").length-1))),E)}return gc(p,E)}var a0=Qr(function(p,E,oe){return E=E.toLowerCase(),p+(oe?Bf(E):E)});function Bf(p){return hf(Vi(p).toLowerCase())}function $f(p){return p=Vi(p),p&&p.replace(Zt,ao).replace(Kr,"")}function o0(p,E,oe){p=Vi(p),E=_s(E);var Fe=p.length;oe=oe===t?Fe:Jl(pi(oe),0,Fe);var ht=oe;return oe-=E.length,oe>=0&&p.slice(oe,ht)==E}function i0(p){return p=Vi(p),p&&ke.test(p)?p.replace(et,yi):p}function s0(p){return p=Vi(p),p&&_t.test(p)?p.replace(wt,"\\$&"):p}var l0=Qr(function(p,E,oe){return p+(oe?"-":"")+E.toLowerCase()}),u0=Qr(function(p,E,oe){return p+(oe?" ":"")+E.toLowerCase()}),c0=fa("toLowerCase");function d0(p,E,oe){p=Vi(p),E=pi(E);var Fe=E?xo(p):0;if(!E||Fe>=E)return p;var ht=(E-Fe)/2;return Ce(sa(ht),oe)+p+Ce(dl(ht),oe)}function f0(p,E,oe){p=Vi(p),E=pi(E);var Fe=E?xo(p):0;return E&&Fe>>0,oe?(p=Vi(p),p&&(typeof E=="string"||E!=null&&!gf(E))&&(E=_s(E),!E&&Bo(p))?nl(Ro(p),0,oe):p.split(E,oe)):[]}var b0=Qr(function(p,E,oe){return p+(oe?" ":"")+hf(E)});function M0(p,E,oe){return p=Vi(p),oe=oe==null?0:Jl(pi(oe),0,p.length),E=_s(E),p.slice(oe,oe+E.length)==E}function S0(p,E,oe){var Fe=kt.templateSettings;oe&&mi(p,E,oe)&&(E=t),p=Vi(p),E=nf({},E,Fe,bn);var ht=nf({},E.imports,Fe.imports,bn),Jt=_l(ht),Cn=Sa(ht,Jt),kn,vr,ya=0,ba=E.interpolate||qt,wa="__p += '",qa=To((E.escape||qt).source+"|"+ba.source+"|"+(ba===Ve?Ie:qt).source+"|"+(E.evaluate||qt).source+"|$","g"),yo="//# sourceURL="+(Vo.call(E,"sourceURL")?(E.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ma+"]")+` +`;p.replace(qa,function(Ho,wi,Li,Ju,Cu,qu){return Li||(Li=Ju),wa+=p.slice(ya,qu).replace(un,ji),wi&&(kn=!0,wa+=`' + +__e(`+wi+`) + +'`),Cu&&(vr=!0,wa+=`'; +`+Cu+`; +__p += '`),Li&&(wa+=`' + +((__t = (`+Li+`)) == null ? '' : __t) + +'`),ya=qu+Ho.length,Ho}),wa+=`'; +`;var Wo=Vo.call(E,"variable")&&E.variable;if(!Wo)wa=`with (obj) { +`+wa+` } -`;else if(Rt.test(Yo))throw new oa(l);Pa=(cr?Pa.replace(Oe,""):Pa).replace(we,"$1").replace(Re,"$1;"),Pa="function("+(Yo||"obj")+`) { -`+(Yo?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+($n?", __e = _.escape":"")+(cr?`, __j = Array.prototype.join; +`;else if(Nt.test(Wo))throw new ra(l);wa=(vr?wa.replace(Oe,""):wa).replace(we,"$1").replace(Ne,"$1;"),wa="function("+(Wo||"obj")+`) { +`+(Wo?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(kn?", __e = _.escape":"")+(vr?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; -`)+Pa+`return __p -}`;var pi=Uf(function(){return Ta(Jt,bo+"return "+Pa).apply(t,Sn)});if(pi.source=Pa,vf(pi))throw pi;return pi}function E0(p){return Gi(p).toLowerCase()}function C0(p){return Gi(p).toUpperCase()}function x0(p,E,oe){if(p=Gi(p),p&&(oe||E===t))return Mo(p);if(!p||!(E=_s(E)))return p;var Fe=Ro(p),ht=Ro(E),Jt=So(Fe,ht),Sn=Xo(Fe,ht)+1;return pe(Fe,Jt,Sn).join("")}function I0(p,E,oe){if(p=Gi(p),p&&(oe||E===t))return p.slice(0,Ci(p)+1);if(!p||!(E=_s(E)))return p;var Fe=Ro(p),ht=Xo(Fe,Ro(E))+1;return pe(Fe,0,ht).join("")}function A0(p,E,oe){if(p=Gi(p),p&&(oe||E===t))return p.replace(yt,"");if(!p||!(E=_s(E)))return p;var Fe=Ro(p),ht=So(Fe,Ro(E));return pe(Fe,ht).join("")}function O0(p,E){var oe=te,Fe=Y;if(Fs(E)){var ht="separator"in E?E.separator:ht;oe="length"in E?mi(E.length):oe,Fe="omission"in E?_s(E.omission):Fe}p=Gi(p);var Jt=p.length;if($o(p)){var Sn=Ro(p);Jt=Sn.length}if(oe>=Jt)return p;var $n=oe-Io(Fe);if($n<1)return Fe;var cr=Sn?pe(Sn,0,$n).join(""):p.slice(0,$n);if(ht===t)return cr+Fe;if(Sn&&($n+=cr.length-$n),gf(ht)){if(p.slice($n).search(ht)){var Ma,Sa=cr;for(ht.global||(ht=To(ht.source,Gi(Se.exec(ht))+"g")),ht.lastIndex=0;Ma=ht.exec(Sa);)var Pa=Ma.index;cr=cr.slice(0,Pa===t?$n:Pa)}}else if(p.indexOf(_s(ht),$n)!=$n){var Ja=cr.lastIndexOf(ht);Ja>-1&&(cr=cr.slice(0,Ja))}return cr+Fe}function D0(p){return p=Gi(p),p&&Ye.test(p)?p.replace(st,Ti):p}var w0=or(function(p,E,oe){return p+(oe?" ":"")+E.toUpperCase()}),hf=ca("toUpperCase");function Zf(p,E,oe){return p=Gi(p),E=oe?t:E,E===t?si(p)?fs(p):jn(p):p.match(E)||[]}var Uf=po(function(p,E){try{return qn(p,t,E)}catch(oe){return vf(oe)?oe:new oa(oe)}}),j0=ya(function(p,E){return Hr(E,function(oe){oe=Eu(oe),ls(p,oe,Ya(p[oe],p))}),p});function P0(p){var E=p==null?0:p.length,oe=Tr();return p=E?Zr(p,function(Fe){if(typeof Fe[1]!="function")throw new ko(d);return[oe(Fe[0]),Fe[1]]}):[],po(function(Fe){for(var ht=-1;++ht_)return[];var oe=G,Fe=yi(p,G);E=Tr(E),p-=G;for(var ht=xo(Fe,E);++oe0||E<0)?new Zo(oe):(p<0?oe=oe.takeRight(-p):p&&(oe=oe.drop(p)),E!==t&&(E=mi(E),oe=E<0?oe.dropRight(-E):oe.take(E-p)),oe)},Zo.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},Zo.prototype.toArray=function(){return this.take(G)},Qi(Zo.prototype,function(p,E){var oe=/^(?:filter|find|map|reject)|While$/.test(E),Fe=/^(?:head|last)$/.test(E),ht=Wt[Fe?"take"+(E=="last"?"Right":""):E],Jt=Fe||/^find/.test(E);ht&&(Wt.prototype[E]=function(){var Sn=this.__wrapped__,$n=Fe?[1]:arguments,cr=Sn instanceof Zo,Ma=$n[0],Sa=cr||di(Sn),Pa=function(Di){var ji=ht.apply(Wt,va([Di],$n));return Fe&&Ja?ji[0]:ji};Sa&&oe&&typeof Ma=="function"&&Ma.length!=1&&(cr=Sa=!1);var Ja=this.__chain__,bo=!!this.__actions__.length,Yo=Jt&&!Ja,pi=cr&&!bo;if(!Jt&&Sa){Sn=pi?Sn:new Zo(this);var Vo=p.apply(Sn,$n);return Vo.__actions__.push({func:Qu,args:[Pa],thisArg:t}),new zi(Vo,Ja)}return Yo&&pi?p.apply(this,$n):(Vo=this.thru(Pa),Yo?Fe?Vo.value()[0]:Vo.value():Vo)})}),Hr(["pop","push","shift","sort","splice","unshift"],function(p){var E=Li[p],oe=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",Fe=/^(?:pop|shift)$/.test(p);Wt.prototype[p]=function(){var ht=arguments;if(Fe&&!this.__chain__){var Jt=this.value();return E.apply(di(Jt)?Jt:[],ht)}return this[oe](function(Sn){return E.apply(di(Sn)?Sn:[],ht)})}}),Qi(Zo.prototype,function(p,E){var oe=Wt[E];if(oe){var Fe=oe.name+"";Qo.call(Nl,Fe)||(Nl[Fe]=[]),Nl[Fe].push({name:E,func:oe})}}),Nl[Cr(t,$).name]=[{name:"wrapper",func:t}],Zo.prototype.clone=co,Zo.prototype.reverse=Uu,Zo.prototype.value=fu,Wt.prototype.at=wd,Wt.prototype.chain=Vc,Wt.prototype.commit=jd,Wt.prototype.next=$d,Wt.prototype.plant=of,Wt.prototype.reverse=Ud,Wt.prototype.toJSON=Wt.prototype.valueOf=Wt.prototype.value=sf,Wt.prototype.first=Wt.prototype.head,Hl&&(Wt.prototype[Hl]=Zd),Wt},yl=Ks();$a._=yl,a=function(){return yl}.call(y,e,y,b),a!==t&&(b.exports=a)}).call(this)},80231:function(b,y,e){var a=e(83250),t=function(){return a.Date.now()};b.exports=t},84506:function(b){function y(){return[]}b.exports=y},37999:function(b){function y(){return!1}b.exports=y},14633:function(b,y,e){var a=e(77837),t=e(93702),o="Expected a function";function s(n,d,l){var c=!0,m=!0;if(typeof n!="function")throw new TypeError(o);return t(l)&&(c="leading"in l?!!l.leading:c,m="trailing"in l?!!l.trailing:m),a(n,d,{leading:c,maxWait:d,trailing:m})}b.exports=s},29153:function(b,y,e){var a=e(21656),t=e(93702),o=e(52624),s=0/0,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function m(g){if(typeof g=="number")return g;if(o(g))return s;if(t(g)){var M=typeof g.valueOf=="function"?g.valueOf():g;g=t(M)?M+"":M}if(typeof g!="string")return g===0?g:+g;g=a(g);var h=d.test(g);return h||l.test(g)?c(g.slice(2),h?2:8):n.test(g)?s:+g}b.exports=m},85417:function(b,y,e){(function(a,t){t(e(6901))})(this,function(a){"use strict";var t=a.defineLocale("zh-cn",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(o,s){return o===12&&(o=0),s==="\u51CC\u6668"||s==="\u65E9\u4E0A"||s==="\u4E0A\u5348"?o:s==="\u4E0B\u5348"||s==="\u665A\u4E0A"?o+12:o>=11?o:o+12},meridiem:function(o,s,n){var d=o*100+s;return d<600?"\u51CC\u6668":d<900?"\u65E9\u4E0A":d<1130?"\u4E0A\u5348":d<1230?"\u4E2D\u5348":d<1800?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:function(o){return o.week()!==this.week()?"[\u4E0B]dddLT":"[\u672C]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(o){return this.week()!==o.week()?"[\u4E0A]dddLT":"[\u672C]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(o,s){switch(s){case"d":case"D":case"DDD":return o+"\u65E5";case"M":return o+"\u6708";case"w":case"W":return o+"\u5468";default:return o}},relativeTime:{future:"%s\u540E",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}});return t})},6901:function(b,y,e){b=e.nmd(b);(function(a,t){b.exports=t()})(this,function(){"use strict";var a;function t(){return a.apply(null,arguments)}function o(F){a=F}function s(F){return F instanceof Array||Object.prototype.toString.call(F)==="[object Array]"}function n(F){return F!=null&&Object.prototype.toString.call(F)==="[object Object]"}function d(F,ve){return Object.prototype.hasOwnProperty.call(F,ve)}function l(F){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(F).length===0;var ve;for(ve in F)if(d(F,ve))return!1;return!0}function c(F){return F===void 0}function m(F){return typeof F=="number"||Object.prototype.toString.call(F)==="[object Number]"}function g(F){return F instanceof Date||Object.prototype.toString.call(F)==="[object Date]"}function M(F,ve){var Ue=[],ot,Nt=F.length;for(ot=0;ot>>0,ot;for(ot=0;ot0)for(Ue=0;Ue=Jt)return p;var kn=oe-xo(Fe);if(kn<1)return Fe;var vr=Cn?nl(Cn,0,kn).join(""):p.slice(0,kn);if(ht===t)return vr+Fe;if(Cn&&(kn+=vr.length-kn),gf(ht)){if(p.slice(kn).search(ht)){var ya,ba=vr;for(ht.global||(ht=To(ht.source,Vi(Se.exec(ht))+"g")),ht.lastIndex=0;ya=ht.exec(ba);)var wa=ya.index;vr=vr.slice(0,wa===t?kn:wa)}}else if(p.indexOf(_s(ht),kn)!=kn){var qa=vr.lastIndexOf(ht);qa>-1&&(vr=vr.slice(0,qa))}return vr+Fe}function D0(p){return p=Vi(p),p&&Ye.test(p)?p.replace(st,Ri):p}var w0=Qr(function(p,E,oe){return p+(oe?" ":"")+E.toUpperCase()}),hf=fa("toUpperCase");function Zf(p,E,oe){return p=Vi(p),E=oe?t:E,E===t?oi(p)?fs(p):Tn(p):p.match(E)||[]}var Uf=go(function(p,E){try{return er(p,t,E)}catch(oe){return vf(oe)?oe:new ra(oe)}}),j0=Rr(function(p,E){return Hr(E,function(oe){oe=cu(oe),ls(p,oe,Ya(p[oe],p))}),p});function P0(p){var E=p==null?0:p.length,oe=Yr();return p=E?Zr(p,function(Fe){if(typeof Fe[1]!="function")throw new Zo(d);return[oe(Fe[0]),Fe[1]]}):[],go(function(Fe){for(var ht=-1;++ht_)return[];var oe=G,Fe=bi(p,G);E=Yr(E),p-=G;for(var ht=Co(Fe,E);++oe0||E<0)?new $o(oe):(p<0?oe=oe.takeRight(-p):p&&(oe=oe.drop(p)),E!==t&&(E=pi(E),oe=E<0?oe.dropRight(-E):oe.take(E-p)),oe)},$o.prototype.takeRightWhile=function(p){return this.reverse().takeWhile(p).reverse()},$o.prototype.toArray=function(){return this.take(G)},Ki($o.prototype,function(p,E){var oe=/^(?:filter|find|map|reject)|While$/.test(E),Fe=/^(?:head|last)$/.test(E),ht=kt[Fe?"take"+(E=="last"?"Right":""):E],Jt=Fe||/^find/.test(E);ht&&(kt.prototype[E]=function(){var Cn=this.__wrapped__,kn=Fe?[1]:arguments,vr=Cn instanceof $o,ya=kn[0],ba=vr||ci(Cn),wa=function(wi){var Li=ht.apply(kt,ca([wi],kn));return Fe&&qa?Li[0]:Li};ba&&oe&&typeof ya=="function"&&ya.length!=1&&(vr=ba=!1);var qa=this.__chain__,yo=!!this.__actions__.length,Wo=Jt&&!qa,hi=vr&&!yo;if(!Jt&&ba){Cn=hi?Cn:new $o(this);var Ho=p.apply(Cn,kn);return Ho.__actions__.push({func:Qu,args:[wa],thisArg:t}),new $i(Ho,qa)}return Wo&&hi?p.apply(this,kn):(Ho=this.thru(wa),Wo?Fe?Ho.value()[0]:Ho.value():Ho)})}),Hr(["pop","push","shift","sort","splice","unshift"],function(p){var E=zi[p],oe=/^(?:push|sort|unshift)$/.test(p)?"tap":"thru",Fe=/^(?:pop|shift)$/.test(p);kt.prototype[p]=function(){var ht=arguments;if(Fe&&!this.__chain__){var Jt=this.value();return E.apply(ci(Jt)?Jt:[],ht)}return this[oe](function(Cn){return E.apply(ci(Cn)?Cn:[],ht)})}}),Ki($o.prototype,function(p,E){var oe=kt[E];if(oe){var Fe=oe.name+"";Vo.call(Bl,Fe)||(Bl[Fe]=[]),Bl[Fe].push({name:E,func:oe})}}),Bl[Ar(t,Z).name]=[{name:"wrapper",func:t}],$o.prototype.clone=uo,$o.prototype.reverse=Uu,$o.prototype.value=gu,kt.prototype.at=Od,kt.prototype.chain=Kc,kt.prototype.commit=Dd,kt.prototype.next=Ud,kt.prototype.plant=of,kt.prototype.reverse=Wd,kt.prototype.toJSON=kt.prototype.valueOf=kt.prototype.value=sf,kt.prototype.first=kt.prototype.head,Vl&&(kt.prototype[Vl]=kd),kt},xl=Gs();Ua._=xl,a=function(){return xl}.call(y,e,y,b),a!==t&&(b.exports=a)}).call(this)},80231:function(b,y,e){var a=e(83250),t=function(){return a.Date.now()};b.exports=t},84506:function(b){function y(){return[]}b.exports=y},37999:function(b){function y(){return!1}b.exports=y},14633:function(b,y,e){var a=e(77837),t=e(93702),o="Expected a function";function s(n,d,l){var c=!0,m=!0;if(typeof n!="function")throw new TypeError(o);return t(l)&&(c="leading"in l?!!l.leading:c,m="trailing"in l?!!l.trailing:m),a(n,d,{leading:c,maxWait:d,trailing:m})}b.exports=s},29153:function(b,y,e){var a=e(21656),t=e(93702),o=e(52624),s=0/0,n=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function m(g){if(typeof g=="number")return g;if(o(g))return s;if(t(g)){var M=typeof g.valueOf=="function"?g.valueOf():g;g=t(M)?M+"":M}if(typeof g!="string")return g===0?g:+g;g=a(g);var h=d.test(g);return h||l.test(g)?c(g.slice(2),h?2:8):n.test(g)?s:+g}b.exports=m},85417:function(b,y,e){(function(a,t){t(e(6901))})(this,function(a){"use strict";var t=a.defineLocale("zh-cn",{months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(o,s){return o===12&&(o=0),s==="\u51CC\u6668"||s==="\u65E9\u4E0A"||s==="\u4E0A\u5348"?o:s==="\u4E0B\u5348"||s==="\u665A\u4E0A"?o+12:o>=11?o:o+12},meridiem:function(o,s,n){var d=o*100+s;return d<600?"\u51CC\u6668":d<900?"\u65E9\u4E0A":d<1130?"\u4E0A\u5348":d<1230?"\u4E2D\u5348":d<1800?"\u4E0B\u5348":"\u665A\u4E0A"},calendar:{sameDay:"[\u4ECA\u5929]LT",nextDay:"[\u660E\u5929]LT",nextWeek:function(o){return o.week()!==this.week()?"[\u4E0B]dddLT":"[\u672C]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(o){return this.week()!==o.week()?"[\u4E0A]dddLT":"[\u672C]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(o,s){switch(s){case"d":case"D":case"DDD":return o+"\u65E5";case"M":return o+"\u6708";case"w":case"W":return o+"\u5468";default:return o}},relativeTime:{future:"%s\u540E",past:"%s\u524D",s:"\u51E0\u79D2",ss:"%d \u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},week:{dow:1,doy:4}});return t})},6901:function(b,y,e){b=e.nmd(b);(function(a,t){b.exports=t()})(this,function(){"use strict";var a;function t(){return a.apply(null,arguments)}function o(B){a=B}function s(B){return B instanceof Array||Object.prototype.toString.call(B)==="[object Array]"}function n(B){return B!=null&&Object.prototype.toString.call(B)==="[object Object]"}function d(B,ve){return Object.prototype.hasOwnProperty.call(B,ve)}function l(B){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(B).length===0;var ve;for(ve in B)if(d(B,ve))return!1;return!0}function c(B){return B===void 0}function m(B){return typeof B=="number"||Object.prototype.toString.call(B)==="[object Number]"}function g(B){return B instanceof Date||Object.prototype.toString.call(B)==="[object Date]"}function M(B,ve){var Ze=[],ot,Lt=B.length;for(ot=0;ot>>0,ot;for(ot=0;ot0)for(Ze=0;Ze=0;return(Pn?Ue?"+":"":"-")+Math.pow(10,Math.max(0,Nt)).toString().substr(1)+ot}var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,de={},he={};function ge(F,ve,Ue,ot){var Nt=ot;typeof ot=="string"&&(Nt=function(){return this[ot]()}),F&&(he[F]=Nt),ve&&(he[ve[0]]=function(){return U(Nt.apply(this,arguments),ve[1],ve[2])}),Ue&&(he[Ue]=function(){return this.localeData().ordinal(Nt.apply(this,arguments),F)})}function be(F){return F.match(/\[[\s\S]/)?F.replace(/^\[|\]$/g,""):F.replace(/\\/g,"")}function Te(F){var ve=F.match(A),Ue,ot;for(Ue=0,ot=ve.length;Ue=0&&G.test(F);)F=F.replace(G,ot),G.lastIndex=0,Ue-=1;return F}var Qe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function pt(F){var ve=this._longDateFormat[F],Ue=this._longDateFormat[F.toUpperCase()];return ve||!Ue?ve:(this._longDateFormat[F]=Ue.match(A).map(function(ot){return ot==="MMMM"||ot==="MM"||ot==="DD"||ot==="dddd"?ot.slice(1):ot}).join(""),this._longDateFormat[F])}var Ct="Invalid date";function ft(){return this._invalidDate}var Ht="%d",Ze=/\d{1,2}/;function Xe(F){return this._ordinal.replace("%d",F)}var rt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ke(F,ve,Ue,ot){var Nt=this._relativeTime[Ue];return q(Nt)?Nt(F,ve,Ue,ot):Nt.replace(/%d/i,F)}function ye(F,ve){var Ue=this._relativeTime[F>0?"future":"past"];return q(Ue)?Ue(ve):Ue.replace(/%s/i,ve)}var ne={};function H(F,ve){var Ue=F.toLowerCase();ne[Ue]=ne[Ue+"s"]=ne[ve]=F}function R(F){return typeof F=="string"?ne[F]||ne[F.toLowerCase()]:void 0}function P(F){var ve={},Ue,ot;for(ot in F)d(F,ot)&&(Ue=R(ot),Ue&&(ve[Ue]=F[ot]));return ve}var ae={};function Q(F,ve){ae[F]=ve}function ie(F){var ve=[],Ue;for(Ue in F)d(F,Ue)&&ve.push({unit:Ue,priority:ae[Ue]});return ve.sort(function(ot,Nt){return ot.priority-Nt.priority}),ve}function me(F){return F%4===0&&F%100!==0||F%400===0}function je(F){return F<0?Math.ceil(F)||0:Math.floor(F)}function Ee(F){var ve=+F,Ue=0;return ve!==0&&isFinite(ve)&&(Ue=je(ve)),Ue}function Me(F,ve){return function(Ue){return Ue!=null?(re(this,F,Ue),t.updateOffset(this,ve),this):We(this,F)}}function We(F,ve){return F.isValid()?F._d["get"+(F._isUTC?"UTC":"")+ve]():NaN}function re(F,ve,Ue){F.isValid()&&!isNaN(Ue)&&(ve==="FullYear"&&me(F.year())&&F.month()===1&&F.date()===29?(Ue=Ee(Ue),F._d["set"+(F._isUTC?"UTC":"")+ve](Ue,F.month(),En(Ue,F.month()))):F._d["set"+(F._isUTC?"UTC":"")+ve](Ue))}function se(F){return F=R(F),q(this[F])?this[F]():this}function J(F,ve){if(typeof F=="object"){F=P(F);var Ue=ie(F),ot,Nt=Ue.length;for(ot=0;ot68?1900:2e3)};var yn=Me("FullYear",!0);function vn(){return me(this.year())}function Wn(F,ve,Ue,ot,Nt,Pn,Fr){var io;return F<100&&F>=0?(io=new Date(F+400,ve,Ue,ot,Nt,Pn,Fr),isFinite(io.getFullYear())&&io.setFullYear(F)):io=new Date(F,ve,Ue,ot,Nt,Pn,Fr),io}function tr(F){var ve,Ue;return F<100&&F>=0?(Ue=Array.prototype.slice.call(arguments),Ue[0]=F+400,ve=new Date(Date.UTC.apply(null,Ue)),isFinite(ve.getUTCFullYear())&&ve.setUTCFullYear(F)):ve=new Date(Date.UTC.apply(null,arguments)),ve}function ut(F,ve,Ue){var ot=7+ve-Ue,Nt=(7+tr(F,0,ot).getUTCDay()-ve)%7;return-Nt+ot-1}function ct(F,ve,Ue,ot,Nt){var Pn=(7+Ue-ot)%7,Fr=ut(F,ot,Nt),io=1+7*(ve-1)+Pn+Fr,jo,ci;return io<=0?(jo=F-1,ci=tn(jo)+io):io>tn(F)?(jo=F+1,ci=io-tn(F)):(jo=F,ci=io),{year:jo,dayOfYear:ci}}function At(F,ve,Ue){var ot=ut(F.year(),ve,Ue),Nt=Math.floor((F.dayOfYear()-ot-1)/7)+1,Pn,Fr;return Nt<1?(Fr=F.year()-1,Pn=Nt+xt(Fr,ve,Ue)):Nt>xt(F.year(),ve,Ue)?(Pn=Nt-xt(F.year(),ve,Ue),Fr=F.year()+1):(Fr=F.year(),Pn=Nt),{week:Pn,year:Fr}}function xt(F,ve,Ue){var ot=ut(F,ve,Ue),Nt=ut(F+1,ve,Ue);return(tn(F)-ot+Nt)/7}ge("w",["ww",2],"wo","week"),ge("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),Q("week",5),Q("isoWeek",5),Yt("w",we),Yt("ww",we,xe),Yt("W",we),Yt("WW",we,xe),Gt(["w","ww","W","WW"],function(F,ve,Ue,ot){ve[ot.substr(0,1)]=Ee(F)});function kt(F){return At(F,this._week.dow,this._week.doy).week}var un={dow:0,doy:6};function nn(){return this._week.dow}function An(){return this._week.doy}function zn(F){var ve=this.localeData().week(this);return F==null?ve:this.add((F-ve)*7,"d")}function Er(F){var ve=At(this,1,4).week;return F==null?ve:this.add((F-ve)*7,"d")}ge("d",0,"do","day"),ge("dd",0,0,function(F){return this.localeData().weekdaysMin(this,F)}),ge("ddd",0,0,function(F){return this.localeData().weekdaysShort(this,F)}),ge("dddd",0,0,function(F){return this.localeData().weekdays(this,F)}),ge("e",0,0,"weekday"),ge("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),Q("day",11),Q("weekday",11),Q("isoWeekday",11),Yt("d",we),Yt("e",we),Yt("E",we),Yt("dd",function(F,ve){return ve.weekdaysMinRegex(F)}),Yt("ddd",function(F,ve){return ve.weekdaysShortRegex(F)}),Yt("dddd",function(F,ve){return ve.weekdaysRegex(F)}),Gt(["dd","ddd","dddd"],function(F,ve,Ue,ot){var Nt=Ue._locale.weekdaysParse(F,ot,Ue._strict);Nt!=null?ve.d=Nt:C(Ue).invalidWeekday=F}),Gt(["d","e","E"],function(F,ve,Ue,ot){ve[ot]=Ee(F)});function nr(F,ve){return typeof F!="string"?F:isNaN(F)?(F=ve.weekdaysParse(F),typeof F=="number"?F:null):parseInt(F,10)}function Fn(F,ve){return typeof F=="string"?ve.weekdaysParse(F)%7||7:isNaN(F)?null:F}function kr(F,ve){return F.slice(ve,7).concat(F.slice(0,ve))}var hr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),la="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zn=wt,On=wt,Tn=wt;function ar(F,ve){var Ue=s(this._weekdays)?this._weekdays:this._weekdays[F&&F!==!0&&this._weekdays.isFormat.test(ve)?"format":"standalone"];return F===!0?kr(Ue,this._week.dow):F?Ue[F.day()]:Ue}function br(F){return F===!0?kr(this._weekdaysShort,this._week.dow):F?this._weekdaysShort[F.day()]:this._weekdaysShort}function Kr(F){return F===!0?kr(this._weekdaysMin,this._week.dow):F?this._weekdaysMin[F.day()]:this._weekdaysMin}function ra(F,ve,Ue){var ot,Nt,Pn,Fr=F.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ot=0;ot<7;++ot)Pn=S([2e3,1]).day(ot),this._minWeekdaysParse[ot]=this.weekdaysMin(Pn,"").toLocaleLowerCase(),this._shortWeekdaysParse[ot]=this.weekdaysShort(Pn,"").toLocaleLowerCase(),this._weekdaysParse[ot]=this.weekdays(Pn,"").toLocaleLowerCase();return Ue?ve==="dddd"?(Nt=ln.call(this._weekdaysParse,Fr),Nt!==-1?Nt:null):ve==="ddd"?(Nt=ln.call(this._shortWeekdaysParse,Fr),Nt!==-1?Nt:null):(Nt=ln.call(this._minWeekdaysParse,Fr),Nt!==-1?Nt:null):ve==="dddd"?(Nt=ln.call(this._weekdaysParse,Fr),Nt!==-1||(Nt=ln.call(this._shortWeekdaysParse,Fr),Nt!==-1)?Nt:(Nt=ln.call(this._minWeekdaysParse,Fr),Nt!==-1?Nt:null)):ve==="ddd"?(Nt=ln.call(this._shortWeekdaysParse,Fr),Nt!==-1||(Nt=ln.call(this._weekdaysParse,Fr),Nt!==-1)?Nt:(Nt=ln.call(this._minWeekdaysParse,Fr),Nt!==-1?Nt:null)):(Nt=ln.call(this._minWeekdaysParse,Fr),Nt!==-1||(Nt=ln.call(this._weekdaysParse,Fr),Nt!==-1)?Nt:(Nt=ln.call(this._shortWeekdaysParse,Fr),Nt!==-1?Nt:null))}function pa(F,ve,Ue){var ot,Nt,Pn;if(this._weekdaysParseExact)return ra.call(this,F,ve,Ue);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ot=0;ot<7;ot++){if(Nt=S([2e3,1]).day(ot),Ue&&!this._fullWeekdaysParse[ot]&&(this._fullWeekdaysParse[ot]=new RegExp("^"+this.weekdays(Nt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ot]=new RegExp("^"+this.weekdaysShort(Nt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ot]=new RegExp("^"+this.weekdaysMin(Nt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ot]||(Pn="^"+this.weekdays(Nt,"")+"|^"+this.weekdaysShort(Nt,"")+"|^"+this.weekdaysMin(Nt,""),this._weekdaysParse[ot]=new RegExp(Pn.replace(".",""),"i")),Ue&&ve==="dddd"&&this._fullWeekdaysParse[ot].test(F))return ot;if(Ue&&ve==="ddd"&&this._shortWeekdaysParse[ot].test(F))return ot;if(Ue&&ve==="dd"&&this._minWeekdaysParse[ot].test(F))return ot;if(!Ue&&this._weekdaysParse[ot].test(F))return ot}}function fr(F){if(!this.isValid())return F!=null?this:NaN;var ve=this._isUTC?this._d.getUTCDay():this._d.getDay();return F!=null?(F=nr(F,this.localeData()),this.add(F-ve,"d")):ve}function Ur(F){if(!this.isValid())return F!=null?this:NaN;var ve=(this.day()+7-this.localeData()._week.dow)%7;return F==null?ve:this.add(F-ve,"d")}function Ea(F){if(!this.isValid())return F!=null?this:NaN;if(F!=null){var ve=Fn(F,this.localeData());return this.day(this.day()%7?ve:ve-7)}else return this.day()||7}function ha(F){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||yr.call(this),F?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Zn),this._weekdaysStrictRegex&&F?this._weekdaysStrictRegex:this._weekdaysRegex)}function Hn(F){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||yr.call(this),F?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=On),this._weekdaysShortStrictRegex&&F?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Bn(F){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||yr.call(this),F?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Tn),this._weekdaysMinStrictRegex&&F?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function yr(){function F(Vi,nl){return nl.length-Vi.length}var ve=[],Ue=[],ot=[],Nt=[],Pn,Fr,io,jo,ci;for(Pn=0;Pn<7;Pn++)Fr=S([2e3,1]).day(Pn),io=nt(this.weekdaysMin(Fr,"")),jo=nt(this.weekdaysShort(Fr,"")),ci=nt(this.weekdays(Fr,"")),ve.push(io),Ue.push(jo),ot.push(ci),Nt.push(io),Nt.push(jo),Nt.push(ci);ve.sort(F),Ue.sort(F),ot.sort(F),Nt.sort(F),this._weekdaysRegex=new RegExp("^("+Nt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ot.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ue.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+ve.join("|")+")","i")}function Xr(){return this.hours()%12||12}function Dr(){return this.hours()||24}ge("H",["HH",2],0,"hour"),ge("h",["hh",2],0,Xr),ge("k",["kk",2],0,Dr),ge("hmm",0,0,function(){return""+Xr.apply(this)+U(this.minutes(),2)}),ge("hmmss",0,0,function(){return""+Xr.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),ge("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),ge("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Tt(F,ve){ge(F,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),ve)})}Tt("a",!0),Tt("A",!1),H("hour","h"),Q("hour",13);function an(F,ve){return ve._meridiemParse}Yt("a",an),Yt("A",an),Yt("H",we),Yt("h",we),Yt("k",we),Yt("HH",we,xe),Yt("hh",we,xe),Yt("kk",we,xe),Yt("hmm",Re),Yt("hmmss",st),Yt("Hmm",Re),Yt("Hmmss",st),lt(["H","HH"],bt),lt(["k","kk"],function(F,ve,Ue){var ot=Ee(F);ve[bt]=ot===24?0:ot}),lt(["a","A"],function(F,ve,Ue){Ue._isPm=Ue._locale.isPM(F),Ue._meridiem=F}),lt(["h","hh"],function(F,ve,Ue){ve[bt]=Ee(F),C(Ue).bigHour=!0}),lt("hmm",function(F,ve,Ue){var ot=F.length-2;ve[bt]=Ee(F.substr(0,ot)),ve[Pt]=Ee(F.substr(ot)),C(Ue).bigHour=!0}),lt("hmmss",function(F,ve,Ue){var ot=F.length-4,Nt=F.length-2;ve[bt]=Ee(F.substr(0,ot)),ve[Pt]=Ee(F.substr(ot,2)),ve[He]=Ee(F.substr(Nt)),C(Ue).bigHour=!0}),lt("Hmm",function(F,ve,Ue){var ot=F.length-2;ve[bt]=Ee(F.substr(0,ot)),ve[Pt]=Ee(F.substr(ot))}),lt("Hmmss",function(F,ve,Ue){var ot=F.length-4,Nt=F.length-2;ve[bt]=Ee(F.substr(0,ot)),ve[Pt]=Ee(F.substr(ot,2)),ve[He]=Ee(F.substr(Nt))});function bn(F){return(F+"").toLowerCase().charAt(0)==="p"}var Xa=/[ap]\.?m?\.?/i,ho=Me("Hours",!0);function $a(F,ve,Ue){return F>11?Ue?"pm":"PM":Ue?"am":"AM"}var Ua={calendar:O,longDateFormat:Qe,invalidDate:Ct,ordinal:Ht,dayOfMonthOrdinalParse:Ze,relativeTime:rt,months:mn,monthsShort:Yn,week:un,weekdays:hr,weekdaysMin:zr,weekdaysShort:la,meridiemParse:Xa},Ka={},wo={},No;function yo(F,ve){var Ue,ot=Math.min(F.length,ve.length);for(Ue=0;Ue0;){if(Nt=dn(Pn.slice(0,Ue).join("-")),Nt)return Nt;if(ot&&ot.length>=Ue&&yo(Pn,ot)>=Ue-1)break;Ue--}ve++}return No}function Ae(F){return F.match("^[^/\\\\]*$")!=null}function dn(F){var ve=null,Ue;if(Ka[F]===void 0&&b&&b.exports&&Ae(F))try{ve=No._abbr,Ue=void 0,Object(function(){var Nt=new Error("Cannot find module 'undefined'");throw Nt.code="MODULE_NOT_FOUND",Nt}()),Dn(ve)}catch(ot){Ka[F]=null}return Ka[F]}function Dn(F,ve){var Ue;return F&&(c(ve)?Ue=rr(F):Ue=Mn(F,ve),Ue?No=Ue:typeof console!="undefined"&&console.warn&&console.warn("Locale "+F+" not found. Did you forget to load it?")),No._abbr}function Mn(F,ve){if(ve!==null){var Ue,ot=Ua;if(ve.abbr=F,Ka[F]!=null)Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),ot=Ka[F]._config;else if(ve.parentLocale!=null)if(Ka[ve.parentLocale]!=null)ot=Ka[ve.parentLocale]._config;else if(Ue=dn(ve.parentLocale),Ue!=null)ot=Ue._config;else return wo[ve.parentLocale]||(wo[ve.parentLocale]=[]),wo[ve.parentLocale].push({name:F,config:ve}),null;return Ka[F]=new W(X(ot,ve)),wo[F]&&wo[F].forEach(function(Nt){Mn(Nt.name,Nt.config)}),Dn(F),Ka[F]}else return delete Ka[F],null}function qn(F,ve){if(ve!=null){var Ue,ot,Nt=Ua;Ka[F]!=null&&Ka[F].parentLocale!=null?Ka[F].set(X(Ka[F]._config,ve)):(ot=dn(F),ot!=null&&(Nt=ot._config),ve=X(Nt,ve),ot==null&&(ve.abbr=F),Ue=new W(ve),Ue.parentLocale=Ka[F],Ka[F]=Ue),Dn(F)}else Ka[F]!=null&&(Ka[F].parentLocale!=null?(Ka[F]=Ka[F].parentLocale,F===Dn()&&Dn(F)):Ka[F]!=null&&delete Ka[F]);return Ka[F]}function rr(F){var ve;if(F&&F._locale&&F._locale._abbr&&(F=F._locale._abbr),!F)return No;if(!s(F)){if(ve=dn(F),ve)return ve;F=[F]}return zt(F)}function Hr(){return x(Ka)}function Da(F){var ve,Ue=F._a;return Ue&&C(F).overflow===-2&&(ve=Ue[Ie]<0||Ue[Ie]>11?Ie:Ue[Se]<1||Ue[Se]>En(Ue[Ot],Ue[Ie])?Se:Ue[bt]<0||Ue[bt]>24||Ue[bt]===24&&(Ue[Pt]!==0||Ue[He]!==0||Ue[qe]!==0)?bt:Ue[Pt]<0||Ue[Pt]>59?Pt:Ue[He]<0||Ue[He]>59?He:Ue[qe]<0||Ue[qe]>999?qe:-1,C(F)._overflowDayOfYear&&(veSe)&&(ve=Se),C(F)._overflowWeeks&&ve===-1&&(ve=Zt),C(F)._overflowWeekday&&ve===-1&&(ve=Ut),C(F).overflow=ve),F}var ia=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,aa=/Z|[+-]\d\d(?::?\d\d)?/,Pr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Zr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],va=/^\/?Date\((-?\d+)/i,Na=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,eo={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Va(F){var ve,Ue,ot=F._i,Nt=ia.exec(ot)||Jr.exec(ot),Pn,Fr,io,jo,ci=Pr.length,Vi=Zr.length;if(Nt){for(C(F).iso=!0,ve=0,Ue=ci;vetn(Fr)||F._dayOfYear===0)&&(C(F)._overflowDayOfYear=!0),Ue=tr(Fr,0,F._dayOfYear),F._a[Ie]=Ue.getUTCMonth(),F._a[Se]=Ue.getUTCDate()),ve=0;ve<3&&F._a[ve]==null;++ve)F._a[ve]=ot[ve]=Nt[ve];for(;ve<7;ve++)F._a[ve]=ot[ve]=F._a[ve]==null?ve===2?1:0:F._a[ve];F._a[bt]===24&&F._a[Pt]===0&&F._a[He]===0&&F._a[qe]===0&&(F._nextDay=!0,F._a[bt]=0),F._d=(F._useUTC?tr:Wn).apply(null,ot),Pn=F._useUTC?F._d.getUTCDay():F._d.getDay(),F._tzm!=null&&F._d.setUTCMinutes(F._d.getUTCMinutes()-F._tzm),F._nextDay&&(F._a[bt]=24),F._w&&typeof F._w.d!="undefined"&&F._w.d!==Pn&&(C(F).weekdayMismatch=!0)}}function Oa(F){var ve,Ue,ot,Nt,Pn,Fr,io,jo,ci;ve=F._w,ve.GG!=null||ve.W!=null||ve.E!=null?(Pn=1,Fr=4,Ue=sr(ve.GG,F._a[Ot],At(Ba(),1,4).year),ot=sr(ve.W,1),Nt=sr(ve.E,1),(Nt<1||Nt>7)&&(jo=!0)):(Pn=F._locale._week.dow,Fr=F._locale._week.doy,ci=At(Ba(),Pn,Fr),Ue=sr(ve.gg,F._a[Ot],ci.year),ot=sr(ve.w,ci.week),ve.d!=null?(Nt=ve.d,(Nt<0||Nt>6)&&(jo=!0)):ve.e!=null?(Nt=ve.e+Pn,(ve.e<0||ve.e>6)&&(jo=!0)):Nt=Pn),ot<1||ot>xt(Ue,Pn,Fr)?C(F)._overflowWeeks=!0:jo!=null?C(F)._overflowWeekday=!0:(io=ct(Ue,ot,Nt,Pn,Fr),F._a[Ot]=io.year,F._dayOfYear=io.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function Aa(F){if(F._f===t.ISO_8601){Va(F);return}if(F._f===t.RFC_2822){Wr(F);return}F._a=[],C(F).empty=!0;var ve=""+F._i,Ue,ot,Nt,Pn,Fr,io=ve.length,jo=0,ci,Vi;for(Nt=Je(F._f,F._locale).match(A)||[],Vi=Nt.length,Ue=0;Ue0&&C(F).unusedInput.push(Fr),ve=ve.slice(ve.indexOf(ot)+ot.length),jo+=ot.length),he[Pn]?(ot?C(F).empty=!1:C(F).unusedTokens.push(Pn),Rt(Pn,ot,F)):F._strict&&!ot&&C(F).unusedTokens.push(Pn);C(F).charsLeftOver=io-jo,ve.length>0&&C(F).unusedInput.push(ve),F._a[bt]<=12&&C(F).bigHour===!0&&F._a[bt]>0&&(C(F).bigHour=void 0),C(F).parsedDateParts=F._a.slice(0),C(F).meridiem=F._meridiem,F._a[bt]=qr(F._locale,F._a[bt],F._meridiem),ci=C(F).era,ci!==null&&(F._a[Ot]=F._locale.erasConvertYear(ci,F._a[Ot])),fa(F),Da(F)}function qr(F,ve,Ue){var ot;return Ue==null?ve:F.meridiemHour!=null?F.meridiemHour(ve,Ue):(F.isPM!=null&&(ot=F.isPM(Ue),ot&&ve<12&&(ve+=12),!ot&&ve===12&&(ve=0)),ve)}function go(F){var ve,Ue,ot,Nt,Pn,Fr,io=!1,jo=F._f.length;if(jo===0){C(F).invalidFormat=!0,F._d=new Date(NaN);return}for(Nt=0;Ntthis?this:F:N()});function ei(F,ve){var Ue,ot;if(ve.length===1&&s(ve[0])&&(ve=ve[0]),!ve.length)return Ba();for(Ue=ve[0],ot=1;otthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vn(){if(!c(this._isDSTShifted))return this._isDSTShifted;var F={},ve;return D(F,this),F=Mo(F),F._a?(ve=F._isUTC?S(F._a):Ba(F._a),this._isDSTShifted=this.isValid()&&to(F._a,ve.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gr(){return this.isValid()?!this._isUTC:!1}function wr(){return this.isValid()?this._isUTC:!1}function $r(){return this.isValid()?this._isUTC&&this._offset===0:!1}var oa=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ta=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function za(F,ve){var Ue=F,ot=null,Nt,Pn,Fr;return Pi(F)?Ue={ms:F._milliseconds,d:F._days,M:F._months}:m(F)||!isNaN(+F)?(Ue={},ve?Ue[ve]=+F:Ue.milliseconds=+F):(ot=oa.exec(F))?(Nt=ot[1]==="-"?-1:1,Ue={y:0,d:Ee(ot[Se])*Nt,h:Ee(ot[bt])*Nt,m:Ee(ot[Pt])*Nt,s:Ee(ot[He])*Nt,ms:Ee(Ei(ot[qe]*1e3))*Nt}):(ot=Ta.exec(F))?(Nt=ot[1]==="-"?-1:1,Ue={y:La(ot[2],Nt),M:La(ot[3],Nt),w:La(ot[4],Nt),d:La(ot[5],Nt),h:La(ot[6],Nt),m:La(ot[7],Nt),s:La(ot[8],Nt)}):Ue==null?Ue={}:typeof Ue=="object"&&("from"in Ue||"to"in Ue)&&(Fr=Ko(Ba(Ue.from),Ba(Ue.to)),Ue={},Ue.ms=Fr.milliseconds,Ue.M=Fr.months),Pn=new Si(Ue),Pi(F)&&d(F,"_locale")&&(Pn._locale=F._locale),Pi(F)&&d(F,"_isValid")&&(Pn._isValid=F._isValid),Pn}za.fn=Si.prototype,za.invalid=ai;function La(F,ve){var Ue=F&&parseFloat(F.replace(",","."));return(isNaN(Ue)?0:Ue)*ve}function To(F,ve){var Ue={};return Ue.months=ve.month()-F.month()+(ve.year()-F.year())*12,F.clone().add(Ue.months,"M").isAfter(ve)&&--Ue.months,Ue.milliseconds=+ve-+F.clone().add(Ue.months,"M"),Ue}function Ko(F,ve){var Ue;return F.isValid()&&ve.isValid()?(ve=Io(ve,F),F.isBefore(ve)?Ue=To(F,ve):(Ue=To(ve,F),Ue.milliseconds=-Ue.milliseconds,Ue.months=-Ue.months),Ue):{milliseconds:0,months:0}}function ko(F,ve){return function(Ue,ot){var Nt,Pn;return ot!==null&&!isNaN(+ot)&&(Y(ve,"moment()."+ve+"(period, number) is deprecated. Please use moment()."+ve+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Pn=Ue,Ue=ot,ot=Pn),Nt=za(Ue,ot),Li(this,Nt,F),this}}function Li(F,ve,Ue,ot){var Nt=ve._milliseconds,Pn=Ei(ve._days),Fr=Ei(ve._months);F.isValid()&&(ot=ot==null?!0:ot,Fr&&In(F,We(F,"Month")+Fr*Ue),Pn&&re(F,"Date",We(F,"Date")+Pn*Ue),Nt&&F._d.setTime(F._d.valueOf()+Nt*Ue),ot&&t.updateOffset(F,Pn||Fr))}var Ms=ko(1,"add"),Ki=ko(-1,"subtract");function Ds(F){return typeof F=="string"||F instanceof String}function Xi(F){return j(F)||g(F)||Ds(F)||m(F)||eu(F)||Qo(F)||F===null||F===void 0}function Qo(F){var ve=n(F)&&!l(F),Ue=!1,ot=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Nt,Pn,Fr=ot.length;for(Nt=0;NtUe.valueOf():Ue.valueOf()9999?Ge(Ue,ve?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):q(Date.prototype.toISOString)?ve?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ge(Ue,"Z")):Ge(Ue,ve?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Hl(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var F="moment",ve="",Ue,ot,Nt,Pn;return this.isLocal()||(F=this.utcOffset()===0?"moment.utc":"moment.parseZone",ve="Z"),Ue="["+F+'("]',ot=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",Nt="-MM-DD[T]HH:mm:ss.SSS",Pn=ve+'[")]',this.format(Ue+ot+Nt+Pn)}function Ps(F){F||(F=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var ve=Ge(this,F);return this.localeData().postformat(ve)}function Bt(F,ve){return this.isValid()&&(j(F)&&F.isValid()||Ba(F).isValid())?za({to:this,from:F}).locale(this.locale()).humanize(!ve):this.localeData().invalidDate()}function Eo(F){return this.from(Ba(),F)}function $s(F,ve){return this.isValid()&&(j(F)&&F.isValid()||Ba(F).isValid())?za({from:this,to:F}).locale(this.locale()).humanize(!ve):this.localeData().invalidDate()}function zo(F){return this.to(Ba(),F)}function ll(F){var ve;return F===void 0?this._locale._abbr:(ve=rr(F),ve!=null&&(this._locale=ve),this)}var ua=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(F){return F===void 0?this.localeData():this.locale(F)});function ul(){return this._locale}var nu=1e3,Js=60*nu,Ll=60*Js,_l=(365*400+97)*24*Ll;function Ao(F,ve){return(F%ve+ve)%ve}function yi(F,ve,Ue){return F<100&&F>=0?new Date(F+400,ve,Ue)-_l:new Date(F,ve,Ue).valueOf()}function dc(F,ve,Ue){return F<100&&F>=0?Date.UTC(F+400,ve,Ue)-_l:Date.UTC(F,ve,Ue)}function ec(F){var ve,Ue;if(F=R(F),F===void 0||F==="millisecond"||!this.isValid())return this;switch(Ue=this._isUTC?dc:yi,F){case"year":ve=Ue(this.year(),0,1);break;case"quarter":ve=Ue(this.year(),this.month()-this.month()%3,1);break;case"month":ve=Ue(this.year(),this.month(),1);break;case"week":ve=Ue(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":ve=Ue(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":ve=Ue(this.year(),this.month(),this.date());break;case"hour":ve=this._d.valueOf(),ve-=Ao(ve+(this._isUTC?0:this.utcOffset()*Js),Ll);break;case"minute":ve=this._d.valueOf(),ve-=Ao(ve,Js);break;case"second":ve=this._d.valueOf(),ve-=Ao(ve,nu);break}return this._d.setTime(ve),t.updateOffset(this,!0),this}function no(F){var ve,Ue;if(F=R(F),F===void 0||F==="millisecond"||!this.isValid())return this;switch(Ue=this._isUTC?dc:yi,F){case"year":ve=Ue(this.year()+1,0,1)-1;break;case"quarter":ve=Ue(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":ve=Ue(this.year(),this.month()+1,1)-1;break;case"week":ve=Ue(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":ve=Ue(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":ve=Ue(this.year(),this.month(),this.date()+1)-1;break;case"hour":ve=this._d.valueOf(),ve+=Ll-Ao(ve+(this._isUTC?0:this.utcOffset()*Js),Ll)-1;break;case"minute":ve=this._d.valueOf(),ve+=Js-Ao(ve,Js)-1;break;case"second":ve=this._d.valueOf(),ve+=nu-Ao(ve,nu)-1;break}return this._d.setTime(ve),t.updateOffset(this,!0),this}function Ji(){return this._d.valueOf()-(this._offset||0)*6e4}function Zs(){return Math.floor(this.valueOf()/1e3)}function Ra(){return new Date(this.valueOf())}function ru(){var F=this;return[F.year(),F.month(),F.date(),F.hour(),F.minute(),F.second(),F.millisecond()]}function Yi(){var F=this;return{years:F.year(),months:F.month(),date:F.date(),hours:F.hours(),minutes:F.minutes(),seconds:F.seconds(),milliseconds:F.milliseconds()}}function Ml(){return this.isValid()?this.toISOString():null}function cl(){return $(this)}function du(){return h({},C(this))}function Nl(){return C(this).overflow}function tc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ge("N",0,0,"eraAbbr"),ge("NN",0,0,"eraAbbr"),ge("NNN",0,0,"eraAbbr"),ge("NNNN",0,0,"eraName"),ge("NNNNN",0,0,"eraNarrow"),ge("y",["y",1],"yo","eraYear"),ge("y",["yy",2],0,"eraYear"),ge("y",["yyy",3],0,"eraYear"),ge("y",["yyyy",4],0,"eraYear"),Yt("N",zi),Yt("NN",zi),Yt("NNN",zi),Yt("NNNN",Zo),Yt("NNNNN",co),lt(["N","NN","NNN","NNNN","NNNNN"],function(F,ve,Ue,ot){var Nt=Ue._locale.erasParse(F,ot,Ue._strict);Nt?C(Ue).era=Nt:C(Ue).invalidEra=F}),Yt("y",Be),Yt("yy",Be),Yt("yyy",Be),Yt("yyyy",Be),Yt("yo",Uu),lt(["y","yy","yyy","yyyy"],Ot),lt(["yo"],function(F,ve,Ue,ot){var Nt;Ue._locale._eraYearOrdinalRegex&&(Nt=F.match(Ue._locale._eraYearOrdinalRegex)),Ue._locale.eraYearOrdinalParse?ve[Ot]=Ue._locale.eraYearOrdinalParse(F,Nt):ve[Ot]=parseInt(F,10)});function Zu(F,ve){var Ue,ot,Nt,Pn=this._eras||rr("en")._eras;for(Ue=0,ot=Pn.length;Ue=0)return Pn[ot]}function Ou(F,ve){var Ue=F.since<=F.until?1:-1;return ve===void 0?t(F.since).year():t(F.since).year()+(ve-F.offset)*Ue}function Yl(){var F,ve,Ue,ot=this.localeData().eras();for(F=0,ve=ot.length;FPn&&(ve=Pn),au.call(this,F,ve,Ue,ot,Nt))}function au(F,ve,Ue,ot,Nt){var Pn=ct(F,ve,Ue,ot,Nt),Fr=tr(Pn.year,0,Pn.dayOfYear);return this.year(Fr.getUTCFullYear()),this.month(Fr.getUTCMonth()),this.date(Fr.getUTCDate()),this}ge("Q",0,"Qo","quarter"),H("quarter","Q"),Q("quarter",7),Yt("Q",ce),lt("Q",function(F,ve){ve[Ie]=(Ee(F)-1)*3});function Fi(F){return F==null?Math.ceil((this.month()+1)/3):this.month((F-1)*3+this.month()%3)}ge("D",["DD",2],"Do","date"),H("date","D"),Q("date",9),Yt("D",we),Yt("DD",we,xe),Yt("Do",function(F,ve){return F?ve._dayOfMonthOrdinalParse||ve._ordinalParse:ve._dayOfMonthOrdinalParseLenient}),lt(["D","DD"],Se),lt("Do",function(F,ve){ve[Se]=Ee(F.match(we)[0])});var ou=Me("Date",!0);ge("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),Q("dayOfYear",4),Yt("DDD",tt),Yt("DDDD",ue),lt(["DDD","DDDD"],function(F,ve,Ue){Ue._dayOfYear=Ee(F)});function vu(F){var ve=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return F==null?ve:this.add(F-ve,"d")}ge("m",["mm",2],0,"minute"),H("minute","m"),Q("minute",14),Yt("m",we),Yt("mm",we,xe),lt(["m","mm"],Pt);var Us=Me("Minutes",!1);ge("s",["ss",2],0,"second"),H("second","s"),Q("second",15),Yt("s",we),Yt("ss",we,xe),lt(["s","ss"],He);var Cl=Me("Seconds",!1);ge("S",0,0,function(){return~~(this.millisecond()/100)}),ge(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ge(0,["SSS",3],0,"millisecond"),ge(0,["SSSS",4],0,function(){return this.millisecond()*10}),ge(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ge(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ge(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ge(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ge(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),H("millisecond","ms"),Q("millisecond",16),Yt("S",tt,ce),Yt("SS",tt,xe),Yt("SSS",tt,ue);var xl,Es;for(xl="SSSS";xl.length<=9;xl+="S")Yt(xl,Be);function gs(F,ve){ve[qe]=Ee(("0."+F)*1e3)}for(xl="S";xl.length<=9;xl+="S")lt(xl,gs);Es=Me("Milliseconds",!1),ge("z",0,0,"zoneAbbr"),ge("zz",0,0,"zoneName");function Du(){return this._isUTC?"UTC":""}function ks(){return this._isUTC?"Coordinated Universal Time":""}var ma=T.prototype;ma.add=Ms,ma.calendar=Au,ma.clone=sl,ma.diff=Ss,ma.endOf=no,ma.format=Ps,ma.from=Bt,ma.fromNow=Eo,ma.to=$s,ma.toNow=zo,ma.get=se,ma.invalidAt=Nl,ma.isAfter=Qs,ma.isBefore=ws,ma.isBetween=Xs,ma.isSame=Tl,ma.isSameOrAfter=cu,ma.isSameOrBefore=ns,ma.isValid=cl,ma.lang=ua,ma.locale=ll,ma.localeData=ul,ma.max=Xo,ma.min=So,ma.parsingFlags=du,ma.set=J,ma.startOf=ec,ma.subtract=Ki,ma.toArray=ru,ma.toObject=Yi,ma.toDate=Ra,ma.toISOString=tu,ma.inspect=Hl,typeof Symbol!="undefined"&&Symbol.for!=null&&(ma[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ma.toJSON=Ml,ma.toString=js,ma.unix=Zs,ma.valueOf=Ji,ma.creationData=tc,ma.eraName=Yl,ma.eraNarrow=vs,ma.eraAbbr=Sl,ma.eraYear=dl,ma.year=yn,ma.isLeapYear=vn,ma.weekYear=El,ma.isoWeekYear=bi,ma.quarter=ma.quarters=Fi,ma.month=on,ma.daysInMonth=mt,ma.week=ma.weeks=zn,ma.isoWeek=ma.isoWeeks=Er,ma.weeksInYear=rs,ma.weeksInWeekYear=mo,ma.isoWeeksInYear=xi,ma.isoWeeksInISOWeekYear=qi,ma.date=ou,ma.day=ma.days=fr,ma.weekday=Ur,ma.isoWeekday=Ea,ma.dayOfYear=vu,ma.hour=ma.hours=ho,ma.minute=ma.minutes=Us,ma.second=ma.seconds=Cl,ma.millisecond=ma.milliseconds=Es,ma.utcOffset=Ci,ma.utc=Ui,ma.local=Os,ma.parseZone=fs,ma.hasAlignedHourOffset=Ks,ma.isDST=yl,ma.isLocal=Gr,ma.isUtcOffset=wr,ma.isUtc=$r,ma.isUTC=$r,ma.zoneAbbr=Du,ma.zoneName=ks,ma.dates=k("dates accessor is deprecated. Use date instead.",ou),ma.months=k("months accessor is deprecated. Use month instead",on),ma.years=k("years accessor is deprecated. Use year instead",yn),ma.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ti),ma.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vn);function at(F){return Ba(F*1e3)}function Kt(){return Ba.apply(null,arguments).parseZone()}function _n(F){return F}var dr=W.prototype;dr.calendar=_,dr.longDateFormat=pt,dr.invalidDate=ft,dr.ordinal=Xe,dr.preparse=_n,dr.postformat=_n,dr.relativeTime=Ke,dr.pastFuture=ye,dr.set=le,dr.eras=Zu,dr.erasParse=Lo,dr.erasConvertYear=Ou,dr.erasAbbrRegex=Ai,dr.erasNameRegex=Wt,dr.erasNarrowRegex=Vl,dr.months=Ft,dr.monthsShort=en,dr.monthsParse=fn,dr.monthsRegex=sn,dr.monthsShortRegex=gt,dr.week=kt,dr.firstDayOfYear=An,dr.firstDayOfWeek=nn,dr.weekdays=ar,dr.weekdaysMin=Kr,dr.weekdaysShort=br,dr.weekdaysParse=pa,dr.weekdaysRegex=ha,dr.weekdaysShortRegex=Hn,dr.weekdaysMinRegex=Bn,dr.isPM=bn,dr.meridiem=$a;function wa(F,ve,Ue,ot){var Nt=rr(),Pn=S().set(ot,ve);return Nt[Ue](Pn,F)}function lo(F,ve,Ue){if(m(F)&&(ve=F,F=void 0),F=F||"",ve!=null)return wa(F,ve,Ue,"month");var ot,Nt=[];for(ot=0;ot<12;ot++)Nt[ot]=wa(F,ot,Ue,"month");return Nt}function li(F,ve,Ue,ot){typeof F=="boolean"?(m(ve)&&(Ue=ve,ve=void 0),ve=ve||""):(ve=F,Ue=ve,F=!1,m(ve)&&(Ue=ve,ve=void 0),ve=ve||"");var Nt=rr(),Pn=F?Nt._week.dow:0,Fr,io=[];if(Ue!=null)return wa(ve,(Ue+Pn)%7,ot,"day");for(Fr=0;Fr<7;Fr++)io[Fr]=wa(ve,(Fr+Pn)%7,ot,"day");return io}function Fo(F,ve){return lo(F,ve,"months")}function es(F,ve){return lo(F,ve,"monthsShort")}function ni(F,ve,Ue){return li(F,ve,Ue,"weekdays")}function fi(F,ve,Ue){return li(F,ve,Ue,"weekdaysShort")}function Co(F,ve,Ue){return li(F,ve,Ue,"weekdaysMin")}Dn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(F){var ve=F%10,Ue=Ee(F%100/10)===1?"th":ve===1?"st":ve===2?"nd":ve===3?"rd":"th";return F+Ue}}),t.lang=k("moment.lang is deprecated. Use moment.locale instead.",Dn),t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",rr);var Oo=Math.abs;function ki(){var F=this._data;return this._milliseconds=Oo(this._milliseconds),this._days=Oo(this._days),this._months=Oo(this._months),F.milliseconds=Oo(F.milliseconds),F.seconds=Oo(F.seconds),F.minutes=Oo(F.minutes),F.hours=Oo(F.hours),F.months=Oo(F.months),F.years=Oo(F.years),this}function ms(F,ve,Ue,ot){var Nt=za(ve,Ue);return F._milliseconds+=ot*Nt._milliseconds,F._days+=ot*Nt._days,F._months+=ot*Nt._months,F._bubble()}function wu(F,ve){return ms(this,F,ve,1)}function Gl(F,ve){return ms(this,F,ve,-1)}function ls(F){return F<0?Math.floor(F):Math.ceil(F)}function ju(){var F=this._milliseconds,ve=this._days,Ue=this._months,ot=this._data,Nt,Pn,Fr,io,jo;return F>=0&&ve>=0&&Ue>=0||F<=0&&ve<=0&&Ue<=0||(F+=ls(us(Ue)+ve)*864e5,ve=0,Ue=0),ot.milliseconds=F%1e3,Nt=je(F/1e3),ot.seconds=Nt%60,Pn=je(Nt/60),ot.minutes=Pn%60,Fr=je(Pn/60),ot.hours=Fr%24,ve+=je(Fr/24),jo=je(Kl(ve)),Ue+=jo,ve-=ls(us(jo)),io=je(Ue/12),Ue%=12,ot.days=ve,ot.months=Ue,ot.years=io,this}function Kl(F){return F*4800/146097}function us(F){return F*146097/4800}function Ic(F){if(!this.isValid())return NaN;var ve,Ue,ot=this._milliseconds;if(F=R(F),F==="month"||F==="quarter"||F==="year")switch(ve=this._days+ot/864e5,Ue=this._months+Kl(ve),F){case"month":return Ue;case"quarter":return Ue/3;case"year":return Ue/12}else switch(ve=this._days+Math.round(us(this._months)),F){case"week":return ve/7+ot/6048e5;case"day":return ve+ot/864e5;case"hour":return ve*24+ot/36e5;case"minute":return ve*1440+ot/6e4;case"second":return ve*86400+ot/1e3;case"millisecond":return Math.floor(ve*864e5)+ot;default:throw new Error("Unknown unit "+F)}}function nc(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Ee(this._months/12)*31536e6:NaN}function fl(F){return function(){return this.as(F)}}var Il=fl("ms"),Rl=fl("s"),ku=fl("m"),Ac=fl("h"),gu=fl("d"),mu=fl("w"),pu=fl("M"),as=fl("Q"),Pu=fl("y");function ps(){return za(this)}function Qi(F){return F=R(F),this.isValid()?this[F+"s"]():NaN}function Ts(F){return function(){return this.isValid()?this._data[F]:NaN}}var el=Ts("milliseconds"),Wo=Ts("seconds"),iu=Ts("minutes"),cs=Ts("hours"),rc=Ts("days"),tl=Ts("months"),vl=Ts("years");function Ls(){return je(this.days()/7)}var vi=Math.round,Cs={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function hu(F,ve,Ue,ot,Nt){return Nt.relativeTime(ve||1,!!Ue,F,ot)}function Tu(F,ve,Ue,ot){var Nt=za(F).abs(),Pn=vi(Nt.as("s")),Fr=vi(Nt.as("m")),io=vi(Nt.as("h")),jo=vi(Nt.as("d")),ci=vi(Nt.as("M")),Vi=vi(Nt.as("w")),nl=vi(Nt.as("y")),ml=Pn<=Ue.ss&&["s",Pn]||Pn0,ml[4]=ot,hu.apply(null,ml)}function gl(F){return F===void 0?vi:typeof F=="function"?(vi=F,!0):!1}function Wu(F,ve){return Cs[F]===void 0?!1:ve===void 0?Cs[F]:(Cs[F]=ve,F==="s"&&(Cs.ss=ve-1),!0)}function Lu(F,ve){if(!this.isValid())return this.localeData().invalidDate();var Ue=!1,ot=Cs,Nt,Pn;return typeof F=="object"&&(ve=F,F=!1),typeof F=="boolean"&&(Ue=F),typeof ve=="object"&&(ot=Object.assign({},Cs,ve),ve.s!=null&&ve.ss==null&&(ot.ss=ve.s-1)),Nt=this.localeData(),Pn=Tu(this,!Ue,ot,Nt),Ue&&(Pn=Nt.pastFuture(+this,Pn)),Nt.postformat(Pn)}var zl=Math.abs;function Al(F){return(F>0)-(F<0)||+F}function Fl(){if(!this.isValid())return this.localeData().invalidDate();var F=zl(this._milliseconds)/1e3,ve=zl(this._days),Ue=zl(this._months),ot,Nt,Pn,Fr,io=this.asSeconds(),jo,ci,Vi,nl;return io?(ot=je(F/60),Nt=je(ot/60),F%=60,ot%=60,Pn=je(Ue/12),Ue%=12,Fr=F?F.toFixed(3).replace(/\.?0+$/,""):"",jo=io<0?"-":"",ci=Al(this._months)!==Al(io)?"-":"",Vi=Al(this._days)!==Al(io)?"-":"",nl=Al(this._milliseconds)!==Al(io)?"-":"",jo+"P"+(Pn?ci+Pn+"Y":"")+(Ue?ci+Ue+"M":"")+(ve?Vi+ve+"D":"")+(Nt||ot||F?"T":"")+(Nt?nl+Nt+"H":"")+(ot?nl+ot+"M":"")+(F?nl+Fr+"S":"")):"P0D"}var qo=Si.prototype;qo.isValid=si,qo.abs=ki,qo.add=wu,qo.subtract=Gl,qo.as=Ic,qo.asMilliseconds=Il,qo.asSeconds=Rl,qo.asMinutes=ku,qo.asHours=Ac,qo.asDays=gu,qo.asWeeks=mu,qo.asMonths=pu,qo.asQuarters=as,qo.asYears=Pu,qo.valueOf=nc,qo._bubble=ju,qo.clone=ps,qo.get=Qi,qo.milliseconds=el,qo.seconds=Wo,qo.minutes=iu,qo.hours=cs,qo.days=rc,qo.weeks=Ls,qo.months=tl,qo.years=vl,qo.humanize=Lu,qo.toISOString=Fl,qo.toString=Fl,qo.toJSON=Fl,qo.locale=ll,qo.localeData=ul,qo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Fl),qo.lang=ua,ge("X",0,0,"unix"),ge("x",0,0,"valueOf"),Yt("x",it),Yt("X",_t),lt("X",function(F,ve,Ue){Ue._d=new Date(parseFloat(F)*1e3)}),lt("x",function(F,ve,Ue){Ue._d=new Date(Ee(F))});return t.version="2.29.4",o(Ba),t.fn=ma,t.min=ao,t.max=hi,t.now=wi,t.utc=S,t.unix=at,t.months=Fo,t.isDate=g,t.locale=Dn,t.invalid=N,t.duration=za,t.isMoment=j,t.weekdays=ni,t.parseZone=Kt,t.localeData=rr,t.isDuration=Pi,t.monthsShort=es,t.weekdaysMin=Co,t.defineLocale=Mn,t.updateLocale=qn,t.locales=Hr,t.weekdaysShort=fi,t.normalizeUnits=R,t.relativeTimeRounding=gl,t.relativeTimeThreshold=Wu,t.calendarFormat=il,t.prototype=ma,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})},73656:function(b){var y=b.exports={},e,a;function t(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=t}catch(w){e=t}try{typeof clearTimeout=="function"?a=clearTimeout:a=o}catch(w){a=o}})();function s(w){if(e===setTimeout)return setTimeout(w,0);if((e===t||!e)&&setTimeout)return e=setTimeout,setTimeout(w,0);try{return e(w,0)}catch(C){try{return e.call(null,w,0)}catch(z){return e.call(this,w,0)}}}function n(w){if(a===clearTimeout)return clearTimeout(w);if((a===o||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(w);try{return a(w)}catch(C){try{return a.call(null,w)}catch(z){return a.call(this,w)}}}var d=[],l=!1,c,m=-1;function g(){!l||!c||(l=!1,c.length?d=c.concat(d):m=-1,d.length&&M())}function M(){if(!l){var w=s(g);l=!0;for(var C=d.length;C;){for(c=d,d=[];++m1)for(var z=1;z=it||Be<0||Be>=it)return Ye;var Ve=Ye[ke],It=ke-Be;return It>0?[].concat((0,d.Z)(Ye.slice(0,Be)),[Ve],(0,d.Z)(Ye.slice(Be,ke)),(0,d.Z)(Ye.slice(ke+1,it))):It<0?[].concat((0,d.Z)(Ye.slice(0,ke)),(0,d.Z)(Ye.slice(ke+1,Be+1)),[Ve],(0,d.Z)(Ye.slice(Be+1,it))):Ye}var ft=["name"],Ht=[];function Ze(Ye,ke,Be,it,Ve,It){return typeof Ye=="function"?Ye(ke,Be,"source"in It?{source:It.source}:{}):it!==Ve}var Xe=function(Ye){(0,g.Z)(Be,Ye);var ke=(0,M.Z)(Be);function Be(it){var Ve;if((0,l.Z)(this,Be),Ve=ke.call(this,it),Ve.state={resetCount:0},Ve.cancelRegisterFunc=null,Ve.mounted=!1,Ve.touched=!1,Ve.dirty=!1,Ve.validatePromise=void 0,Ve.prevValidating=void 0,Ve.errors=Ht,Ve.warnings=Ht,Ve.cancelRegister=function(){var jt=Ve.props,Yt=jt.preserve,yt=jt.isListField,ze=jt.name;Ve.cancelRegisterFunc&&Ve.cancelRegisterFunc(yt,Yt,be(ze)),Ve.cancelRegisterFunc=null},Ve.getNamePath=function(){var jt=Ve.props,Yt=jt.name,yt=jt.fieldContext,ze=yt.prefixName,nt=ze===void 0?[]:ze;return Yt!==void 0?[].concat((0,d.Z)(nt),(0,d.Z)(Yt)):[]},Ve.getRules=function(){var jt=Ve.props,Yt=jt.rules,yt=Yt===void 0?[]:Yt,ze=jt.fieldContext;return yt.map(function(nt){return typeof nt=="function"?nt(ze):nt})},Ve.refresh=function(){Ve.mounted&&Ve.setState(function(jt){var Yt=jt.resetCount;return{resetCount:Yt+1}})},Ve.metaCache=null,Ve.triggerMetaEvent=function(jt){var Yt=Ve.props.onMetaChange;if(Yt){var yt=(0,n.Z)((0,n.Z)({},Ve.getMeta()),{},{destroy:jt});(0,w.Z)(Ve.metaCache,yt)||Yt(yt),Ve.metaCache=yt}else Ve.metaCache=null},Ve.onStoreChange=function(jt,Yt,yt){var ze=Ve.props,nt=ze.shouldUpdate,Et=ze.dependencies,lt=Et===void 0?[]:Et,Gt=ze.onReset,Rt=yt.store,Ot=Ve.getNamePath(),Ie=Ve.getValue(jt),Se=Ve.getValue(Rt),bt=Yt&&Ge(Yt,Ot);switch(yt.type==="valueUpdate"&&yt.source==="external"&&Ie!==Se&&(Ve.touched=!0,Ve.dirty=!0,Ve.validatePromise=null,Ve.errors=Ht,Ve.warnings=Ht,Ve.triggerMetaEvent()),yt.type){case"reset":if(!Yt||bt){Ve.touched=!1,Ve.dirty=!1,Ve.validatePromise=void 0,Ve.errors=Ht,Ve.warnings=Ht,Ve.triggerMetaEvent(),Gt==null||Gt(),Ve.refresh();return}break;case"remove":{if(nt){Ve.reRender();return}break}case"setField":{if(bt){var Pt=yt.data;"touched"in Pt&&(Ve.touched=Pt.touched),"validating"in Pt&&!("originRCField"in Pt)&&(Ve.validatePromise=Pt.validating?Promise.resolve([]):null),"errors"in Pt&&(Ve.errors=Pt.errors||Ht),"warnings"in Pt&&(Ve.warnings=Pt.warnings||Ht),Ve.dirty=!0,Ve.triggerMetaEvent(),Ve.reRender();return}if(nt&&!Ot.length&&Ze(nt,jt,Rt,Ie,Se,yt)){Ve.reRender();return}break}case"dependenciesUpdate":{var He=lt.map(be);if(He.some(function(qe){return Ge(yt.relatedFields,qe)})){Ve.reRender();return}break}default:if(bt||(!lt.length||Ot.length||nt)&&Ze(nt,jt,Rt,Ie,Se,yt)){Ve.reRender();return}break}nt===!0&&Ve.reRender()},Ve.validateRules=function(jt){var Yt=Ve.getNamePath(),yt=Ve.getValue(),ze=jt||{},nt=ze.triggerName,Et=ze.validateOnly,lt=Et===void 0?!1:Et,Gt=Promise.resolve().then(function(){if(!Ve.mounted)return[];var Rt=Ve.props,Ot=Rt.validateFirst,Ie=Ot===void 0?!1:Ot,Se=Rt.messageVariables,bt=Ve.getRules();nt&&(bt=bt.filter(function(He){return He}).filter(function(He){var qe=He.validateTrigger;if(!qe)return!0;var Zt=D(qe);return Zt.includes(nt)}));var Pt=_(Yt,yt,bt,jt,Ie,Se);return Pt.catch(function(He){return He}).then(function(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ht;if(Ve.validatePromise===Gt){var qe;Ve.validatePromise=null;var Zt=[],Ut=[];(qe=He.forEach)===null||qe===void 0||qe.call(He,function(qt){var ln=qt.rule.warningOnly,En=qt.errors,mn=En===void 0?Ht:En;ln?Ut.push.apply(Ut,(0,d.Z)(mn)):Zt.push.apply(Zt,(0,d.Z)(mn))}),Ve.errors=Zt,Ve.warnings=Ut,Ve.triggerMetaEvent(),Ve.reRender()}}),Pt});return lt||(Ve.validatePromise=Gt,Ve.dirty=!0,Ve.errors=Ht,Ve.warnings=Ht,Ve.triggerMetaEvent(),Ve.reRender()),Gt},Ve.isFieldValidating=function(){return!!Ve.validatePromise},Ve.isFieldTouched=function(){return Ve.touched},Ve.isFieldDirty=function(){if(Ve.dirty||Ve.props.initialValue!==void 0)return!0;var jt=Ve.props.fieldContext,Yt=jt.getInternalHooks(C),yt=Yt.getInitialValue;return yt(Ve.getNamePath())!==void 0},Ve.getErrors=function(){return Ve.errors},Ve.getWarnings=function(){return Ve.warnings},Ve.isListField=function(){return Ve.props.isListField},Ve.isList=function(){return Ve.props.isList},Ve.isPreserve=function(){return Ve.props.preserve},Ve.getMeta=function(){Ve.prevValidating=Ve.isFieldValidating();var jt={touched:Ve.isFieldTouched(),validating:Ve.prevValidating,errors:Ve.errors,warnings:Ve.warnings,name:Ve.getNamePath(),validated:Ve.validatePromise===null};return jt},Ve.getOnlyChild=function(jt){if(typeof jt=="function"){var Yt=Ve.getMeta();return(0,n.Z)((0,n.Z)({},Ve.getOnlyChild(jt(Ve.getControlled(),Yt,Ve.props.fieldContext))),{},{isFunction:!0})}var yt=(0,h.Z)(jt);return yt.length!==1||!a.isValidElement(yt[0])?{child:yt,isFunction:!1}:{child:yt[0],isFunction:!1}},Ve.getValue=function(jt){var Yt=Ve.props.fieldContext.getFieldsValue,yt=Ve.getNamePath();return(0,ge.Z)(jt||Yt(!0),yt)},Ve.getControlled=function(){var jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Yt=Ve.props,yt=Yt.trigger,ze=Yt.validateTrigger,nt=Yt.getValueFromEvent,Et=Yt.normalize,lt=Yt.valuePropName,Gt=Yt.getValueProps,Rt=Yt.fieldContext,Ot=ze!==void 0?ze:Rt.validateTrigger,Ie=Ve.getNamePath(),Se=Rt.getInternalHooks,bt=Rt.getFieldsValue,Pt=Se(C),He=Pt.dispatch,qe=Ve.getValue(),Zt=Gt||function(En){return(0,s.Z)({},lt,En)},Ut=jt[yt],qt=(0,n.Z)((0,n.Z)({},jt),Zt(qe));qt[yt]=function(){Ve.touched=!0,Ve.dirty=!0,Ve.triggerMetaEvent();for(var En,mn=arguments.length,Yn=new Array(mn),Gn=0;Gn=0&&qt<=ln.length?(yt.keys=[].concat((0,d.Z)(yt.keys.slice(0,qt)),[yt.id],(0,d.Z)(yt.keys.slice(qt))),Se([].concat((0,d.Z)(ln.slice(0,qt)),[Ut],(0,d.Z)(ln.slice(qt))))):(yt.keys=[].concat((0,d.Z)(yt.keys),[yt.id]),Se([].concat((0,d.Z)(ln),[Ut]))),yt.id+=1},remove:function(Ut){var qt=Pt(),ln=new Set(Array.isArray(Ut)?Ut:[Ut]);ln.size<=0||(yt.keys=yt.keys.filter(function(En,mn){return!ln.has(mn)}),Se(qt.filter(function(En,mn){return!ln.has(mn)})))},move:function(Ut,qt){if(Ut!==qt){var ln=Pt();Ut<0||Ut>=ln.length||qt<0||qt>=ln.length||(yt.keys=Ct(yt.keys,Ut,qt),Se(Ct(ln,Ut,qt)))}}},qe=Ie||[];return Array.isArray(qe)||(qe=[]),it(qe.map(function(Zt,Ut){var qt=yt.keys[Ut];return qt===void 0&&(yt.keys[Ut]=yt.id,qt=yt.keys[Ut],yt.id+=1),{name:Ut,key:qt,isListField:!0}}),He,Rt)})))}var ne=ye,H=e(28314);function R(Ye){var ke=!1,Be=Ye.length,it=[];return Ye.length?new Promise(function(Ve,It){Ye.forEach(function(_t,wt){_t.catch(function(jt){return ke=!0,jt}).then(function(jt){Be-=1,it[wt]=jt,!(Be>0)&&(ke&&It(it),Ve(it))})})}):Promise.resolve([])}var P="__@field_split__";function ae(Ye){return Ye.map(function(ke){return"".concat((0,he.Z)(ke),":").concat(ke)}).join(P)}var Q=function(){function Ye(){(0,l.Z)(this,Ye),this.kvs=new Map}return(0,c.Z)(Ye,[{key:"set",value:function(Be,it){this.kvs.set(ae(Be),it)}},{key:"get",value:function(Be){return this.kvs.get(ae(Be))}},{key:"update",value:function(Be,it){var Ve=this.get(Be),It=it(Ve);It?this.set(Be,It):this.delete(Be)}},{key:"delete",value:function(Be){this.kvs.delete(ae(Be))}},{key:"map",value:function(Be){return(0,d.Z)(this.kvs.entries()).map(function(it){var Ve=(0,H.Z)(it,2),It=Ve[0],_t=Ve[1],wt=It.split(P);return Be({key:wt.map(function(jt){var Yt=jt.match(/^([^:]*):(.*)$/),yt=(0,H.Z)(Yt,3),ze=yt[1],nt=yt[2];return ze==="number"?Number(nt):nt}),value:_t})})}},{key:"toJSON",value:function(){var Be={};return this.map(function(it){var Ve=it.key,It=it.value;return Be[Ve.join(".")]=It,null}),Be}}]),Ye}(),ie=Q,me=["name"],je=(0,c.Z)(function Ye(ke){var Be=this;(0,l.Z)(this,Ye),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:Be.getFieldValue,getFieldsValue:Be.getFieldsValue,getFieldError:Be.getFieldError,getFieldWarning:Be.getFieldWarning,getFieldsError:Be.getFieldsError,isFieldsTouched:Be.isFieldsTouched,isFieldTouched:Be.isFieldTouched,isFieldValidating:Be.isFieldValidating,isFieldsValidating:Be.isFieldsValidating,resetFields:Be.resetFields,setFields:Be.setFields,setFieldValue:Be.setFieldValue,setFieldsValue:Be.setFieldsValue,validateFields:Be.validateFields,submit:Be.submit,_init:!0,getInternalHooks:Be.getInternalHooks}},this.getInternalHooks=function(it){return it===C?(Be.formHooked=!0,{dispatch:Be.dispatch,initEntityValue:Be.initEntityValue,registerField:Be.registerField,useSubscribe:Be.useSubscribe,setInitialValues:Be.setInitialValues,destroyForm:Be.destroyForm,setCallbacks:Be.setCallbacks,setValidateMessages:Be.setValidateMessages,getFields:Be.getFields,setPreserve:Be.setPreserve,getInitialValue:Be.getInitialValue,registerWatch:Be.registerWatch}):((0,S.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(it){Be.subscribable=it},this.prevWithoutPreserves=null,this.setInitialValues=function(it,Ve){if(Be.initialValues=it||{},Ve){var It,_t=(0,q.T)(it,Be.store);(It=Be.prevWithoutPreserves)===null||It===void 0||It.map(function(wt){var jt=wt.key;_t=(0,q.Z)(_t,jt,(0,ge.Z)(it,jt))}),Be.prevWithoutPreserves=null,Be.updateStore(_t)}},this.destroyForm=function(){var it=new ie;Be.getFieldEntities(!0).forEach(function(Ve){Be.isMergedPreserve(Ve.isPreserve())||it.set(Ve.getNamePath(),!0)}),Be.prevWithoutPreserves=it},this.getInitialValue=function(it){var Ve=(0,ge.Z)(Be.initialValues,it);return it.length?(0,q.T)(Ve):Ve},this.setCallbacks=function(it){Be.callbacks=it},this.setValidateMessages=function(it){Be.validateMessages=it},this.setPreserve=function(it){Be.preserve=it},this.watchList=[],this.registerWatch=function(it){return Be.watchList.push(it),function(){Be.watchList=Be.watchList.filter(function(Ve){return Ve!==it})}},this.notifyWatch=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(Be.watchList.length){var Ve=Be.getFieldsValue(),It=Be.getFieldsValue(!0);Be.watchList.forEach(function(_t){_t(Ve,It,it)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(it){Be.store=it},this.getFieldEntities=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return it?Be.fieldEntities.filter(function(Ve){return Ve.getNamePath().length}):Be.fieldEntities},this.getFieldsMap=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ve=new ie;return Be.getFieldEntities(it).forEach(function(It){var _t=It.getNamePath();Ve.set(_t,It)}),Ve},this.getFieldEntitiesForNamePathList=function(it){if(!it)return Be.getFieldEntities(!0);var Ve=Be.getFieldsMap(!0);return it.map(function(It){var _t=be(It);return Ve.get(_t)||{INVALIDATE_NAME_PATH:be(It)}})},this.getFieldsValue=function(it,Ve){Be.warningUnhooked();var It,_t,wt;if(it===!0||Array.isArray(it)?(It=it,_t=Ve):it&&(0,he.Z)(it)==="object"&&(wt=it.strict,_t=it.filter),It===!0&&!_t)return Be.store;var jt=Be.getFieldEntitiesForNamePathList(Array.isArray(It)?It:null),Yt=[];return jt.forEach(function(yt){var ze,nt="INVALIDATE_NAME_PATH"in yt?yt.INVALIDATE_NAME_PATH:yt.getNamePath();if(wt){var Et;if(!((Et=yt.isList)===null||Et===void 0)&&Et.call(yt))return}else if(!It&&(!((ze=yt.isListField)===null||ze===void 0)&&ze.call(yt)))return;if(!_t)Yt.push(nt);else{var lt="getMeta"in yt?yt.getMeta():null;_t(lt)&&Yt.push(nt)}}),Te(Be.store,Yt.map(be))},this.getFieldValue=function(it){Be.warningUnhooked();var Ve=be(it);return(0,ge.Z)(Be.store,Ve)},this.getFieldsError=function(it){Be.warningUnhooked();var Ve=Be.getFieldEntitiesForNamePathList(it);return Ve.map(function(It,_t){return It&&!("INVALIDATE_NAME_PATH"in It)?{name:It.getNamePath(),errors:It.getErrors(),warnings:It.getWarnings()}:{name:be(it[_t]),errors:[],warnings:[]}})},this.getFieldError=function(it){Be.warningUnhooked();var Ve=be(it),It=Be.getFieldsError([Ve])[0];return It.errors},this.getFieldWarning=function(it){Be.warningUnhooked();var Ve=be(it),It=Be.getFieldsError([Ve])[0];return It.warnings},this.isFieldsTouched=function(){Be.warningUnhooked();for(var it=arguments.length,Ve=new Array(it),It=0;It0&&arguments[0]!==void 0?arguments[0]:{},Ve=new ie,It=Be.getFieldEntities(!0);It.forEach(function(jt){var Yt=jt.props.initialValue,yt=jt.getNamePath();if(Yt!==void 0){var ze=Ve.get(yt)||new Set;ze.add({entity:jt,value:Yt}),Ve.set(yt,ze)}});var _t=function(Yt){Yt.forEach(function(yt){var ze=yt.props.initialValue;if(ze!==void 0){var nt=yt.getNamePath(),Et=Be.getInitialValue(nt);if(Et!==void 0)(0,S.ZP)(!1,"Form already set 'initialValues' with path '".concat(nt.join("."),"'. Field can not overwrite it."));else{var lt=Ve.get(nt);if(lt&<.size>1)(0,S.ZP)(!1,"Multiple Field with path '".concat(nt.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(lt){var Gt=Be.getFieldValue(nt);(!it.skipExist||Gt===void 0)&&Be.updateStore((0,q.Z)(Be.store,nt,(0,d.Z)(lt)[0].value))}}}})},wt;it.entities?wt=it.entities:it.namePathList?(wt=[],it.namePathList.forEach(function(jt){var Yt=Ve.get(jt);if(Yt){var yt;(yt=wt).push.apply(yt,(0,d.Z)((0,d.Z)(Yt).map(function(ze){return ze.entity})))}})):wt=It,_t(wt)},this.resetFields=function(it){Be.warningUnhooked();var Ve=Be.store;if(!it){Be.updateStore((0,q.T)(Be.initialValues)),Be.resetWithFieldInitialValue(),Be.notifyObservers(Ve,null,{type:"reset"}),Be.notifyWatch();return}var It=it.map(be);It.forEach(function(_t){var wt=Be.getInitialValue(_t);Be.updateStore((0,q.Z)(Be.store,_t,wt))}),Be.resetWithFieldInitialValue({namePathList:It}),Be.notifyObservers(Ve,It,{type:"reset"}),Be.notifyWatch(It)},this.setFields=function(it){Be.warningUnhooked();var Ve=Be.store,It=[];it.forEach(function(_t){var wt=_t.name,jt=(0,o.Z)(_t,me),Yt=be(wt);It.push(Yt),"value"in jt&&Be.updateStore((0,q.Z)(Be.store,Yt,jt.value)),Be.notifyObservers(Ve,[Yt],{type:"setField",data:_t})}),Be.notifyWatch(It)},this.getFields=function(){var it=Be.getFieldEntities(!0),Ve=it.map(function(It){var _t=It.getNamePath(),wt=It.getMeta(),jt=(0,n.Z)((0,n.Z)({},wt),{},{name:_t,value:Be.getFieldValue(_t)});return Object.defineProperty(jt,"originRCField",{value:!0}),jt});return Ve},this.initEntityValue=function(it){var Ve=it.props.initialValue;if(Ve!==void 0){var It=it.getNamePath(),_t=(0,ge.Z)(Be.store,It);_t===void 0&&Be.updateStore((0,q.Z)(Be.store,It,Ve))}},this.isMergedPreserve=function(it){var Ve=it!==void 0?it:Be.preserve;return Ve!=null?Ve:!0},this.registerField=function(it){Be.fieldEntities.push(it);var Ve=it.getNamePath();if(Be.notifyWatch([Ve]),it.props.initialValue!==void 0){var It=Be.store;Be.resetWithFieldInitialValue({entities:[it],skipExist:!0}),Be.notifyObservers(It,[it.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(_t,wt){var jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Be.fieldEntities=Be.fieldEntities.filter(function(ze){return ze!==it}),!Be.isMergedPreserve(wt)&&(!_t||jt.length>1)){var Yt=_t?void 0:Be.getInitialValue(Ve);if(Ve.length&&Be.getFieldValue(Ve)!==Yt&&Be.fieldEntities.every(function(ze){return!Je(ze.getNamePath(),Ve)})){var yt=Be.store;Be.updateStore((0,q.Z)(yt,Ve,Yt,!0)),Be.notifyObservers(yt,[Ve],{type:"remove"}),Be.triggerDependenciesUpdate(yt,Ve)}}Be.notifyWatch([Ve])}},this.dispatch=function(it){switch(it.type){case"updateValue":{var Ve=it.namePath,It=it.value;Be.updateValue(Ve,It);break}case"validateField":{var _t=it.namePath,wt=it.triggerName;Be.validateFields([_t],{triggerName:wt});break}default:}},this.notifyObservers=function(it,Ve,It){if(Be.subscribable){var _t=(0,n.Z)((0,n.Z)({},It),{},{store:Be.getFieldsValue(!0)});Be.getFieldEntities().forEach(function(wt){var jt=wt.onStoreChange;jt(it,Ve,_t)})}else Be.forceRootUpdate()},this.triggerDependenciesUpdate=function(it,Ve){var It=Be.getDependencyChildrenFields(Ve);return It.length&&Be.validateFields(It),Be.notifyObservers(it,It,{type:"dependenciesUpdate",relatedFields:[Ve].concat((0,d.Z)(It))}),It},this.updateValue=function(it,Ve){var It=be(it),_t=Be.store;Be.updateStore((0,q.Z)(Be.store,It,Ve)),Be.notifyObservers(_t,[It],{type:"valueUpdate",source:"internal"}),Be.notifyWatch([It]);var wt=Be.triggerDependenciesUpdate(_t,It),jt=Be.callbacks.onValuesChange;if(jt){var Yt=Te(Be.store,[It]);jt(Yt,Be.getFieldsValue())}Be.triggerOnFieldsChange([It].concat((0,d.Z)(wt)))},this.setFieldsValue=function(it){Be.warningUnhooked();var Ve=Be.store;if(it){var It=(0,q.T)(Be.store,it);Be.updateStore(It)}Be.notifyObservers(Ve,null,{type:"valueUpdate",source:"external"}),Be.notifyWatch()},this.setFieldValue=function(it,Ve){Be.setFields([{name:it,value:Ve}])},this.getDependencyChildrenFields=function(it){var Ve=new Set,It=[],_t=new ie;Be.getFieldEntities().forEach(function(jt){var Yt=jt.props.dependencies;(Yt||[]).forEach(function(yt){var ze=be(yt);_t.update(ze,function(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return nt.add(jt),nt})})});var wt=function jt(Yt){var yt=_t.get(Yt)||new Set;yt.forEach(function(ze){if(!Ve.has(ze)){Ve.add(ze);var nt=ze.getNamePath();ze.isFieldDirty()&&nt.length&&(It.push(nt),jt(nt))}})};return wt(it),It},this.triggerOnFieldsChange=function(it,Ve){var It=Be.callbacks.onFieldsChange;if(It){var _t=Be.getFields();if(Ve){var wt=new ie;Ve.forEach(function(Yt){var yt=Yt.name,ze=Yt.errors;wt.set(yt,ze)}),_t.forEach(function(Yt){Yt.errors=wt.get(Yt.name)||Yt.errors})}var jt=_t.filter(function(Yt){var yt=Yt.name;return Ge(it,yt)});jt.length&&It(jt,_t)}},this.validateFields=function(it,Ve){Be.warningUnhooked();var It,_t;Array.isArray(it)||typeof it=="string"||typeof Ve=="string"?(It=it,_t=Ve):_t=it;var wt=!!It,jt=wt?It.map(be):[],Yt=[],yt=String(Date.now()),ze=new Set;Be.getFieldEntities(!0).forEach(function(Gt){var Rt;if(wt||jt.push(Gt.getNamePath()),!((Rt=_t)===null||Rt===void 0)&&Rt.recursive&&wt){var Ot=Gt.getNamePath();Ot.every(function(bt,Pt){return It[Pt]===bt||It[Pt]===void 0})&&jt.push(Ot)}if(!(!Gt.props.rules||!Gt.props.rules.length)){var Ie=Gt.getNamePath();if(ze.add(Ie.join(yt)),!wt||Ge(jt,Ie)){var Se=Gt.validateRules((0,n.Z)({validateMessages:(0,n.Z)((0,n.Z)({},Y),Be.validateMessages)},_t));Yt.push(Se.then(function(){return{name:Ie,errors:[],warnings:[]}}).catch(function(bt){var Pt,He=[],qe=[];return(Pt=bt.forEach)===null||Pt===void 0||Pt.call(bt,function(Zt){var Ut=Zt.rule.warningOnly,qt=Zt.errors;Ut?qe.push.apply(qe,(0,d.Z)(qt)):He.push.apply(He,(0,d.Z)(qt))}),He.length?Promise.reject({name:Ie,errors:He,warnings:qe}):{name:Ie,errors:He,warnings:qe}}))}}});var nt=R(Yt);Be.lastValidatePromise=nt,nt.catch(function(Gt){return Gt}).then(function(Gt){var Rt=Gt.map(function(Ot){var Ie=Ot.name;return Ie});Be.notifyObservers(Be.store,Rt,{type:"validateFinish"}),Be.triggerOnFieldsChange(Rt,Gt)});var Et=nt.then(function(){return Be.lastValidatePromise===nt?Promise.resolve(Be.getFieldsValue(jt)):Promise.reject([])}).catch(function(Gt){var Rt=Gt.filter(function(Ot){return Ot&&Ot.errors.length});return Promise.reject({values:Be.getFieldsValue(jt),errorFields:Rt,outOfDate:Be.lastValidatePromise!==nt})});Et.catch(function(Gt){return Gt});var lt=jt.filter(function(Gt){return ze.has(Gt.join(yt))});return Be.triggerOnFieldsChange(lt),Et},this.submit=function(){Be.warningUnhooked(),Be.validateFields().then(function(it){var Ve=Be.callbacks.onFinish;if(Ve)try{Ve(it)}catch(It){console.error(It)}}).catch(function(it){var Ve=Be.callbacks.onFinishFailed;Ve&&Ve(it)})},this.forceRootUpdate=ke});function Ee(Ye){var ke=a.useRef(),Be=a.useState({}),it=(0,H.Z)(Be,2),Ve=it[1];if(!ke.current)if(Ye)ke.current=Ye;else{var It=function(){Ve({})},_t=new je(It);ke.current=_t.getForm()}return[ke.current]}var Me=Ee,We=a.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),re=function(ke){var Be=ke.validateMessages,it=ke.onFormChange,Ve=ke.onFormFinish,It=ke.children,_t=a.useContext(We),wt=a.useRef({});return a.createElement(We.Provider,{value:(0,n.Z)((0,n.Z)({},_t),{},{validateMessages:(0,n.Z)((0,n.Z)({},_t.validateMessages),Be),triggerFormChange:function(Yt,yt){it&&it(Yt,{changedFields:yt,forms:wt.current}),_t.triggerFormChange(Yt,yt)},triggerFormFinish:function(Yt,yt){Ve&&Ve(Yt,{values:yt,forms:wt.current}),_t.triggerFormFinish(Yt,yt)},registerForm:function(Yt,yt){Yt&&(wt.current=(0,n.Z)((0,n.Z)({},wt.current),{},(0,s.Z)({},Yt,yt))),_t.registerForm(Yt,yt)},unregisterForm:function(Yt){var yt=(0,n.Z)({},wt.current);delete yt[Yt],wt.current=yt,_t.unregisterForm(Yt)}})},It)},se=We,J=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],ce=function(ke,Be){var it=ke.name,Ve=ke.initialValues,It=ke.fields,_t=ke.form,wt=ke.preserve,jt=ke.children,Yt=ke.component,yt=Yt===void 0?"form":Yt,ze=ke.validateMessages,nt=ke.validateTrigger,Et=nt===void 0?"onChange":nt,lt=ke.onValuesChange,Gt=ke.onFieldsChange,Rt=ke.onFinish,Ot=ke.onFinishFailed,Ie=(0,o.Z)(ke,J),Se=a.useContext(se),bt=Me(_t),Pt=(0,H.Z)(bt,1),He=Pt[0],qe=He.getInternalHooks(C),Zt=qe.useSubscribe,Ut=qe.setInitialValues,qt=qe.setCallbacks,ln=qe.setValidateMessages,En=qe.setPreserve,mn=qe.destroyForm;a.useImperativeHandle(Be,function(){return He}),a.useEffect(function(){return Se.registerForm(it,He),function(){Se.unregisterForm(it)}},[Se,He,it]),ln((0,n.Z)((0,n.Z)({},Se.validateMessages),ze)),qt({onValuesChange:lt,onFieldsChange:function(In){if(Se.triggerFormChange(it,In),Gt){for(var on=arguments.length,mt=new Array(on>1?on-1:0),gt=1;gt0;if(_||U){var ie=(0,c.D7)(Je),me=(0,M.Z)(ie).length,je=(0,s.Z)(U)==="object"?U.formatter({value:ie,count:me,maxLength:O}):"".concat(me).concat(Q?" / ".concat(O):"");return l.createElement(l.Fragment,null,!!U&&l.createElement("span",{className:d()("".concat(le,"-show-count-suffix"),(0,o.Z)({},"".concat(le,"-show-count-has-suffix"),!!_),he==null?void 0:he.count),style:(0,t.Z)({},ge==null?void 0:ge.count)},je),_)}return null};return l.createElement(g,(0,a.Z)({},be,{prefixCls:le,className:x,inputElement:R(),handleReset:H,value:(0,c.D7)(Je),focused:ft,triggerFocus:Xe,suffix:P(),disabled:X,classes:de,classNames:he,styles:ge}))}),N=$,L=N},33615:function(b,y,e){"use strict";e.d(y,{D7:function(){return n},He:function(){return a},X3:function(){return t},nH:function(){return s},rJ:function(){return o}});function a(d){return!!(d.addonBefore||d.addonAfter)}function t(d){return!!(d.prefix||d.suffix||d.allowClear)}function o(d,l,c,m){if(c){var g=l;if(l.type==="click"){var M=d.cloneNode(!0);g=Object.create(l,{target:{value:M},currentTarget:{value:M}}),M.value="",c(g);return}if(m!==void 0){g=Object.create(l,{target:{value:d},currentTarget:{value:d}}),d.value=m,c(g);return}c(g)}}function s(d,l){if(d){d.focus(l);var c=l||{},m=c.cursor;if(m){var g=d.value.length;switch(m){case"start":d.setSelectionRange(0,0);break;case"end":d.setSelectionRange(g,g);break;default:d.setSelectionRange(0,g)}}}}function n(d){return typeof d=="undefined"||d===null?"":String(d)}},87854:function(b,y,e){"use strict";e.d(y,{iz:function(){return Yn},ck:function(){return Ve},BW:function(){return mn},sN:function(){return Ve},Wd:function(){return Zt},ZP:function(){return on},Xl:function(){return Y}});var a=e(60698),t=e(37734),o=e(57370),s=e(29140),n=e(28314),d=e(47075),l=e(87608),c=e.n(l),m=e(9257),g=e(60409),M=e(75556),h=e(58757),S=e(26736),w=e(7637),C=h.createContext(null);function z(mt,gt){return mt===void 0?null:"".concat(mt,"-").concat(gt)}function $(mt){var gt=h.useContext(C);return z(gt,mt)}var N=e(27903),L=["children","locked"],B=h.createContext(null);function D(mt,gt){var sn=(0,o.Z)({},mt);return Object.keys(gt).forEach(function(Qt){var tn=gt[Qt];tn!==void 0&&(sn[Qt]=tn)}),sn}function T(mt){var gt=mt.children,sn=mt.locked,Qt=(0,d.Z)(mt,L),tn=h.useContext(B),yn=(0,N.Z)(function(){return D(tn,Qt)},[tn,Qt],function(vn,Wn){return!sn&&(vn[0]!==Wn[0]||!(0,w.Z)(vn[1],Wn[1],!0))});return h.createElement(B.Provider,{value:yn},gt)}var j=[],K=h.createContext(null);function k(){return h.useContext(K)}var te=h.createContext(j);function Y(mt){var gt=h.useContext(te);return h.useMemo(function(){return mt!==void 0?[].concat((0,s.Z)(gt),[mt]):gt},[gt,mt])}var q=h.createContext(null),le=h.createContext({}),X=le,W=e(29639),x=e(61834),O=e(46499);function _(mt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,O.Z)(mt)){var sn=mt.nodeName.toLowerCase(),Qt=["input","select","textarea","button"].includes(sn)||mt.isContentEditable||sn==="a"&&!!mt.getAttribute("href"),tn=mt.getAttribute("tabindex"),yn=Number(tn),vn=null;return tn&&!Number.isNaN(yn)?vn=yn:Qt&&vn===null&&(vn=0),Qt&&mt.disabled&&(vn=null),vn!==null&&(vn>=0||gt&&vn<0)}return!1}function U(mt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,sn=(0,s.Z)(mt.querySelectorAll("*")).filter(function(Qt){return _(Qt,gt)});return _(mt,gt)&&sn.unshift(mt),sn}var A=null;function G(){A=document.activeElement}function de(){A=null}function he(){if(A)try{A.focus()}catch(mt){}}function ge(mt,gt){if(gt.keyCode===9){var sn=U(mt),Qt=sn[gt.shiftKey?0:sn.length-1],tn=Qt===document.activeElement||mt===document.activeElement;if(tn){var yn=sn[gt.shiftKey?sn.length-1:0];yn.focus(),gt.preventDefault()}}}var be=W.Z.LEFT,Te=W.Z.RIGHT,Ge=W.Z.UP,Je=W.Z.DOWN,Qe=W.Z.ENTER,pt=W.Z.ESC,Ct=W.Z.HOME,ft=W.Z.END,Ht=[Ge,Je,be,Te];function Ze(mt,gt,sn,Qt){var tn,yn,vn,Wn,tr="prev",ut="next",ct="children",At="parent";if(mt==="inline"&&Qt===Qe)return{inlineTrigger:!0};var xt=(tn={},(0,t.Z)(tn,Ge,tr),(0,t.Z)(tn,Je,ut),tn),kt=(yn={},(0,t.Z)(yn,be,sn?ut:tr),(0,t.Z)(yn,Te,sn?tr:ut),(0,t.Z)(yn,Je,ct),(0,t.Z)(yn,Qe,ct),yn),un=(vn={},(0,t.Z)(vn,Ge,tr),(0,t.Z)(vn,Je,ut),(0,t.Z)(vn,Qe,ct),(0,t.Z)(vn,pt,At),(0,t.Z)(vn,be,sn?ct:At),(0,t.Z)(vn,Te,sn?At:ct),vn),nn={inline:xt,horizontal:kt,vertical:un,inlineSub:xt,horizontalSub:un,verticalSub:un},An=(Wn=nn["".concat(mt).concat(gt?"":"Sub")])===null||Wn===void 0?void 0:Wn[Qt];switch(An){case tr:return{offset:-1,sibling:!0};case ut:return{offset:1,sibling:!0};case At:return{offset:-1,sibling:!1};case ct:return{offset:1,sibling:!1};default:return null}}function Xe(mt){for(var gt=mt;gt;){if(gt.getAttribute("data-menu-list"))return gt;gt=gt.parentElement}return null}function rt(mt,gt){for(var sn=mt||document.activeElement;sn;){if(gt.has(sn))return sn;sn=sn.parentElement}return null}function Ke(mt,gt){var sn=U(mt,!0);return sn.filter(function(Qt){return gt.has(Qt)})}function ye(mt,gt,sn){var Qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!mt)return null;var tn=Ke(mt,gt),yn=tn.length,vn=tn.findIndex(function(Wn){return sn===Wn});return Qt<0?vn===-1?vn=yn-1:vn-=1:Qt>0&&(vn+=1),vn=(vn+yn)%yn,tn[vn]}function ne(mt,gt,sn,Qt,tn,yn,vn,Wn,tr,ut){var ct=h.useRef(),At=h.useRef();At.current=gt;var xt=function(){x.Z.cancel(ct.current)};return h.useEffect(function(){return function(){xt()}},[]),function(kt){var un=kt.which;if([].concat(Ht,[Qe,pt,Ct,ft]).includes(un)){var nn,An,zn,Er=function(){nn=new Set,An=new Map,zn=new Map;var ra=yn();return ra.forEach(function(pa){var fr=document.querySelector("[data-menu-id='".concat(z(Qt,pa),"']"));fr&&(nn.add(fr),zn.set(fr,pa),An.set(pa,fr))}),nn};Er();var nr=An.get(gt),Fn=rt(nr,nn),kr=zn.get(Fn),hr=Ze(mt,vn(kr,!0).length===1,sn,un);if(!hr&&un!==Ct&&un!==ft)return;(Ht.includes(un)||[Ct,ft].includes(un))&&kt.preventDefault();var la=function(ra){if(ra){var pa=ra,fr=ra.querySelector("a");fr!=null&&fr.getAttribute("href")&&(pa=fr);var Ur=zn.get(ra);Wn(Ur),xt(),ct.current=(0,x.Z)(function(){At.current===Ur&&pa.focus()})}};if([Ct,ft].includes(un)||hr.sibling||!Fn){var zr;!Fn||mt==="inline"?zr=tn.current:zr=Xe(Fn);var Zn,On=Ke(zr,nn);un===Ct?Zn=On[0]:un===ft?Zn=On[On.length-1]:Zn=ye(zr,nn,Fn,hr.offset),la(Zn)}else if(hr.inlineTrigger)tr(kr);else if(hr.offset>0)tr(kr,!0),xt(),ct.current=(0,x.Z)(function(){Er();var Kr=Fn.getAttribute("aria-controls"),ra=document.getElementById(Kr),pa=ye(ra,nn);la(pa)},5);else if(hr.offset<0){var Tn=vn(kr,!0),ar=Tn[Tn.length-2],br=An.get(ar);tr(ar,!1),la(br)}}ut==null||ut(kt)}}function H(mt){Promise.resolve().then(mt)}var R="__RC_UTIL_PATH_SPLIT__",P=function(gt){return gt.join(R)},ae=function(gt){return gt.split(R)},Q="rc-menu-more";function ie(){var mt=h.useState({}),gt=(0,n.Z)(mt,2),sn=gt[1],Qt=(0,h.useRef)(new Map),tn=(0,h.useRef)(new Map),yn=h.useState([]),vn=(0,n.Z)(yn,2),Wn=vn[0],tr=vn[1],ut=(0,h.useRef)(0),ct=(0,h.useRef)(!1),At=function(){ct.current||sn({})},xt=(0,h.useCallback)(function(nr,Fn){var kr=P(Fn);tn.current.set(kr,nr),Qt.current.set(nr,kr),ut.current+=1;var hr=ut.current;H(function(){hr===ut.current&&At()})},[]),kt=(0,h.useCallback)(function(nr,Fn){var kr=P(Fn);tn.current.delete(kr),Qt.current.delete(nr)},[]),un=(0,h.useCallback)(function(nr){tr(nr)},[]),nn=(0,h.useCallback)(function(nr,Fn){var kr=Qt.current.get(nr)||"",hr=ae(kr);return Fn&&Wn.includes(hr[0])&&hr.unshift(Q),hr},[Wn]),An=(0,h.useCallback)(function(nr,Fn){return nr.some(function(kr){var hr=nn(kr,!0);return hr.includes(Fn)})},[nn]),zn=function(){var Fn=(0,s.Z)(Qt.current.keys());return Wn.length&&Fn.push(Q),Fn},Er=(0,h.useCallback)(function(nr){var Fn="".concat(Qt.current.get(nr)).concat(R),kr=new Set;return(0,s.Z)(tn.current.keys()).forEach(function(hr){hr.startsWith(Fn)&&kr.add(tn.current.get(hr))}),kr},[]);return h.useEffect(function(){return function(){ct.current=!0}},[]),{registerPath:xt,unregisterPath:kt,refreshOverflowKeys:un,isSubPathKey:An,getKeyPath:nn,getKeys:zn,getSubPathKeys:Er}}function me(mt){var gt=h.useRef(mt);gt.current=mt;var sn=h.useCallback(function(){for(var Qt,tn=arguments.length,yn=new Array(tn),vn=0;vn1&&(Er.motionAppear=!1);var nr=Er.onVisibleChanged;return Er.onVisibleChanged=function(Fn){return!xt.current&&!Fn&&An(!0),nr==null?void 0:nr(Fn)},nn?null:h.createElement(T,{mode:yn,locked:!xt.current},h.createElement(Se.ZP,(0,a.Z)({visible:zn},Er,{forceRender:tr,removeOnLeave:!1,leavedClassName:"".concat(Wn,"-hidden")}),function(Fn){var kr=Fn.className,hr=Fn.style;return h.createElement(jt,{id:gt,className:kr,style:hr},tn)}))}var Pt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],He=["active"],qe=function(gt){var sn,Qt=gt.style,tn=gt.className,yn=gt.title,vn=gt.eventKey,Wn=gt.warnKey,tr=gt.disabled,ut=gt.internalPopupClose,ct=gt.children,At=gt.itemIcon,xt=gt.expandIcon,kt=gt.popupClassName,un=gt.popupOffset,nn=gt.onClick,An=gt.onMouseEnter,zn=gt.onMouseLeave,Er=gt.onTitleClick,nr=gt.onTitleMouseEnter,Fn=gt.onTitleMouseLeave,kr=(0,d.Z)(gt,Pt),hr=$(vn),la=h.useContext(B),zr=la.prefixCls,Zn=la.mode,On=la.openKeys,Tn=la.disabled,ar=la.overflowDisabled,br=la.activeKey,Kr=la.selectedKeys,ra=la.itemIcon,pa=la.expandIcon,fr=la.onItemClick,Ur=la.onOpenChange,Ea=la.onActive,ha=h.useContext(X),Hn=ha._internalRenderSubMenuItem,Bn=h.useContext(q),yr=Bn.isSubPathKey,Xr=Y(),Dr="".concat(zr,"-submenu"),Tt=Tn||tr,an=h.useRef(),bn=h.useRef(),Xa=At||ra,ho=xt||pa,$a=On.includes(vn),Ua=!ar&&$a,Ka=yr(Kr,vn),wo=ue(vn,Tt,nr,Fn),No=wo.active,yo=(0,d.Z)(wo,He),dt=h.useState(!1),zt=(0,n.Z)(dt,2),Ae=zt[0],dn=zt[1],Dn=function(Xt){Tt||dn(Xt)},Mn=function(Xt){Dn(!0),An==null||An({key:vn,domEvent:Xt})},qn=function(Xt){Dn(!1),zn==null||zn({key:vn,domEvent:Xt})},rr=h.useMemo(function(){return No||(Zn!=="inline"?Ae||yr([br],vn):!1)},[Zn,No,br,Ae,vn,yr]),Hr=Ne(Xr.length),Da=function(Xt){Tt||(Er==null||Er({key:vn,domEvent:Xt}),Zn==="inline"&&Ur(vn,!$a))},ia=me(function(Va){nn==null||nn(Re(Va)),fr(Va)}),Jr=function(Xt){Zn!=="inline"&&Ur(vn,Xt)},aa=function(){Ea(vn)},Pr=hr&&"".concat(hr,"-popup"),Zr=h.createElement("div",(0,a.Z)({role:"menuitem",style:Hr,className:"".concat(Dr,"-title"),tabIndex:Tt?null:-1,ref:an,title:typeof yn=="string"?yn:null,"data-menu-id":ar&&hr?null:hr,"aria-expanded":Ua,"aria-haspopup":!0,"aria-controls":Pr,"aria-disabled":Tt,onClick:Da,onFocus:aa},yo),yn,h.createElement(Oe,{icon:Zn!=="horizontal"?ho:null,props:(0,o.Z)((0,o.Z)({},gt),{},{isOpen:Ua,isSubMenu:!0})},h.createElement("i",{className:"".concat(Dr,"-arrow")}))),va=h.useRef(Zn);if(Zn!=="inline"&&Xr.length>1?va.current="vertical":va.current=Zn,!ar){var Na=va.current;Zr=h.createElement(Ie,{mode:Na,prefixCls:Dr,visible:!ut&&Ua&&Zn!=="inline",popupClassName:kt,popupOffset:un,popup:h.createElement(T,{mode:Na==="horizontal"?"vertical":Na},h.createElement(jt,{id:Pr,ref:bn},ct)),disabled:Tt,onVisibleChange:Jr},Zr)}var eo=h.createElement(m.Z.Item,(0,a.Z)({role:"none"},kr,{component:"li",style:Qt,className:c()(Dr,"".concat(Dr,"-").concat(Zn),tn,(sn={},(0,t.Z)(sn,"".concat(Dr,"-open"),Ua),(0,t.Z)(sn,"".concat(Dr,"-active"),rr),(0,t.Z)(sn,"".concat(Dr,"-selected"),Ka),(0,t.Z)(sn,"".concat(Dr,"-disabled"),Tt),sn)),onMouseEnter:Mn,onMouseLeave:qn}),Zr,!ar&&h.createElement(bt,{id:Pr,open:Ua,keyPath:Xr},ct));return Hn&&(eo=Hn(eo,gt,{selected:Ka,active:rr,open:Ua,disabled:Tt})),h.createElement(T,{onItemClick:ia,mode:Zn==="horizontal"?"vertical":Zn,itemIcon:Xa,expandIcon:ho},eo)};function Zt(mt){var gt=mt.eventKey,sn=mt.children,Qt=Y(gt),tn=yt(sn,Qt),yn=k();h.useEffect(function(){if(yn)return yn.registerPath(gt,Qt),function(){yn.unregisterPath(gt,Qt)}},[Qt]);var vn;return yn?vn=tn:vn=h.createElement(qe,mt,tn),h.createElement(te.Provider,{value:Qt},vn)}var Ut=e(38790),qt=["className","title","eventKey","children"],ln=["children"],En=function(gt){var sn=gt.className,Qt=gt.title,tn=gt.eventKey,yn=gt.children,vn=(0,d.Z)(gt,qt),Wn=h.useContext(B),tr=Wn.prefixCls,ut="".concat(tr,"-item-group");return h.createElement("li",(0,a.Z)({role:"presentation"},vn,{onClick:function(At){return At.stopPropagation()},className:c()(ut,sn)}),h.createElement("div",{role:"presentation",className:"".concat(ut,"-title"),title:typeof Qt=="string"?Qt:void 0},Qt),h.createElement("ul",{role:"group",className:"".concat(ut,"-list")},yn))};function mn(mt){var gt=mt.children,sn=(0,d.Z)(mt,ln),Qt=Y(sn.eventKey),tn=yt(gt,Qt),yn=k();return yn?tn:h.createElement(En,(0,ce.Z)(sn,["warnKey"]),tn)}function Yn(mt){var gt=mt.className,sn=mt.style,Qt=h.useContext(B),tn=Qt.prefixCls,yn=k();return yn?null:h.createElement("li",{className:c()("".concat(tn,"-item-divider"),gt),style:sn})}var Gn=["label","children","key","type"];function ir(mt){return(mt||[]).map(function(gt,sn){if(gt&&(0,Ut.Z)(gt)==="object"){var Qt=gt,tn=Qt.label,yn=Qt.children,vn=Qt.key,Wn=Qt.type,tr=(0,d.Z)(Qt,Gn),ut=vn!=null?vn:"tmp-".concat(sn);return yn||Wn==="group"?Wn==="group"?h.createElement(mn,(0,a.Z)({key:ut},tr,{title:tn}),ir(yn)):h.createElement(Zt,(0,a.Z)({key:ut},tr,{title:tn}),ir(yn)):Wn==="divider"?h.createElement(Yn,(0,a.Z)({key:ut},tr)):h.createElement(Ve,(0,a.Z)({key:ut},tr),tn)}return null}).filter(function(gt){return gt})}function mr(mt,gt,sn){var Qt=mt;return gt&&(Qt=ir(gt)),yt(Qt,sn)}var Ft=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],en=[],rn=h.forwardRef(function(mt,gt){var sn,Qt,tn=mt,yn=tn.prefixCls,vn=yn===void 0?"rc-menu":yn,Wn=tn.rootClassName,tr=tn.style,ut=tn.className,ct=tn.tabIndex,At=ct===void 0?0:ct,xt=tn.items,kt=tn.children,un=tn.direction,nn=tn.id,An=tn.mode,zn=An===void 0?"vertical":An,Er=tn.inlineCollapsed,nr=tn.disabled,Fn=tn.disabledOverflow,kr=tn.subMenuOpenDelay,hr=kr===void 0?.1:kr,la=tn.subMenuCloseDelay,zr=la===void 0?.1:la,Zn=tn.forceSubMenuRender,On=tn.defaultOpenKeys,Tn=tn.openKeys,ar=tn.activeKey,br=tn.defaultActiveFirst,Kr=tn.selectable,ra=Kr===void 0?!0:Kr,pa=tn.multiple,fr=pa===void 0?!1:pa,Ur=tn.defaultSelectedKeys,Ea=tn.selectedKeys,ha=tn.onSelect,Hn=tn.onDeselect,Bn=tn.inlineIndent,yr=Bn===void 0?24:Bn,Xr=tn.motion,Dr=tn.defaultMotions,Tt=tn.triggerSubMenuAction,an=Tt===void 0?"hover":Tt,bn=tn.builtinPlacements,Xa=tn.itemIcon,ho=tn.expandIcon,$a=tn.overflowedIndicator,Ua=$a===void 0?"...":$a,Ka=tn.overflowedIndicatorPopupClassName,wo=tn.getPopupContainer,No=tn.onClick,yo=tn.onOpenChange,dt=tn.onKeyDown,zt=tn.openAnimation,Ae=tn.openTransitionName,dn=tn._internalRenderMenuItem,Dn=tn._internalRenderSubMenuItem,Mn=(0,d.Z)(tn,Ft),qn=h.useMemo(function(){return mr(kt,xt,en)},[kt,xt]),rr=h.useState(!1),Hr=(0,n.Z)(rr,2),Da=Hr[0],ia=Hr[1],Jr=h.useRef(),aa=Me(nn),Pr=un==="rtl",Zr=(0,g.Z)(On,{value:Tn,postState:function(za){return za||en}}),va=(0,n.Z)(Zr,2),Na=va[0],eo=va[1],Va=function(za){var La=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function To(){eo(za),yo==null||yo(za)}La?(0,S.flushSync)(To):To()},Xt=h.useState(Na),Cn=(0,n.Z)(Xt,2),jn=Cn[0],er=Cn[1],gr=h.useRef(!1),Wr=h.useMemo(function(){return(zn==="inline"||zn==="vertical")&&Er?["vertical",Er]:[zn,!1]},[zn,Er]),ea=(0,n.Z)(Wr,2),sr=ea[0],_r=ea[1],fa=sr==="inline",Oa=h.useState(sr),Aa=(0,n.Z)(Oa,2),qr=Aa[0],go=Aa[1],xo=h.useState(_r),_a=(0,n.Z)(xo,2),Mo=_a[0],so=_a[1];h.useEffect(function(){go(sr),so(_r),gr.current&&(fa?eo(jn):Va(en))},[sr,_r]);var Ca=h.useState(0),Ba=(0,n.Z)(Ca,2),So=Ba[0],Xo=Ba[1],ei=So>=qn.length-1||qr!=="horizontal"||Fn;h.useEffect(function(){fa&&er(Na)},[Na]),h.useEffect(function(){return gr.current=!0,function(){gr.current=!1}},[]);var ao=ie(),hi=ao.registerPath,wi=ao.unregisterPath,Go=ao.refreshOverflowKeys,$o=ao.isSubPathKey,si=ao.getKeyPath,ai=ao.getKeys,Si=ao.getSubPathKeys,Pi=h.useMemo(function(){return{registerPath:hi,unregisterPath:wi}},[hi,wi]),Ei=h.useMemo(function(){return{isSubPathKey:$o}},[$o]);h.useEffect(function(){Go(ei?en:qn.slice(So+1).map(function(Ta){return Ta.key}))},[So,ei]);var to=(0,g.Z)(ar||br&&((sn=qn[0])===null||sn===void 0?void 0:sn.key),{value:ar}),Ga=(0,n.Z)(to,2),Jo=Ga[0],ti=Ga[1],Io=me(function(Ta){ti(Ta)}),Ro=me(function(){ti(void 0)});(0,h.useImperativeHandle)(gt,function(){return{list:Jr.current,focus:function(za){var La,To=Jo!=null?Jo:(La=qn.find(function(Ms){return!Ms.props.disabled}))===null||La===void 0?void 0:La.key;if(To){var Ko,ko,Li;(Ko=Jr.current)===null||Ko===void 0||(ko=Ko.querySelector("li[data-menu-id='".concat(z(aa,To),"']")))===null||ko===void 0||(Li=ko.focus)===null||Li===void 0||Li.call(ko,za)}}}});var Ci=(0,g.Z)(Ur||[],{value:Ea,postState:function(za){return Array.isArray(za)?za:za==null?en:[za]}}),Ti=(0,n.Z)(Ci,2),Ui=Ti[0],Os=Ti[1],fs=function(za){if(ra){var La=za.key,To=Ui.includes(La),Ko;fr?To?Ko=Ui.filter(function(Li){return Li!==La}):Ko=[].concat((0,s.Z)(Ui),[La]):Ko=[La],Os(Ko);var ko=(0,o.Z)((0,o.Z)({},za),{},{selectedKeys:Ko});To?Hn==null||Hn(ko):ha==null||ha(ko)}!fr&&Na.length&&qr!=="inline"&&Va(en)},Ks=me(function(Ta){No==null||No(Re(Ta)),fs(Ta)}),yl=me(function(Ta,za){var La=Na.filter(function(Ko){return Ko!==Ta});if(za)La.push(Ta);else if(qr!=="inline"){var To=Si(Ta);La=La.filter(function(Ko){return!To.has(Ko)})}(0,w.Z)(Na,La,!0)||Va(La,!0)}),Vn=function(za,La){var To=La!=null?La:!Na.includes(za);yl(za,To)},Gr=ne(qr,Jo,Pr,aa,Jr,ai,si,ti,Vn,dt);h.useEffect(function(){ia(!0)},[]);var wr=h.useMemo(function(){return{_internalRenderMenuItem:dn,_internalRenderSubMenuItem:Dn}},[dn,Dn]),$r=qr!=="horizontal"||Fn?qn:qn.map(function(Ta,za){return h.createElement(T,{key:Ta.key,overflowDisabled:za>So},Ta)}),oa=h.createElement(m.Z,(0,a.Z)({id:nn,ref:Jr,prefixCls:"".concat(vn,"-overflow"),component:"ul",itemComponent:Ve,className:c()(vn,"".concat(vn,"-root"),"".concat(vn,"-").concat(qr),ut,(Qt={},(0,t.Z)(Qt,"".concat(vn,"-inline-collapsed"),Mo),(0,t.Z)(Qt,"".concat(vn,"-rtl"),Pr),Qt),Wn),dir:un,style:tr,role:"menu",tabIndex:At,data:$r,renderRawItem:function(za){return za},renderRawRest:function(za){var La=za.length,To=La?qn.slice(-La):null;return h.createElement(Zt,{eventKey:Q,title:Ua,disabled:ei,internalPopupClose:La===0,popupClassName:Ka},To)},maxCount:qr!=="horizontal"||Fn?m.Z.INVALIDATE:m.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(za){Xo(za)},onKeyDown:Gr},Mn));return h.createElement(X.Provider,{value:wr},h.createElement(C.Provider,{value:aa},h.createElement(T,{prefixCls:vn,rootClassName:Wn,mode:qr,openKeys:Na,rtl:Pr,disabled:nr,motion:Da?Xr:null,defaultMotions:Da?Dr:null,activeKey:Jo,onActive:Io,onInactive:Ro,selectedKeys:Ui,inlineIndent:yr,subMenuOpenDelay:hr,subMenuCloseDelay:zr,forceSubMenuRender:Zn,builtinPlacements:bn,triggerSubMenuAction:an,getPopupContainer:wo,itemIcon:Xa,expandIcon:ho,onItemClick:Ks,onOpenChange:yl},h.createElement(q.Provider,{value:Ei},oa),h.createElement("div",{style:{display:"none"},"aria-hidden":!0},h.createElement(K.Provider,{value:Pi},qn)))))}),fn=rn,In=fn;In.Item=Ve,In.SubMenu=Zt,In.ItemGroup=mn,In.Divider=Yn;var on=In},17598:function(b,y,e){"use strict";e.d(y,{V4:function(){return ue},zt:function(){return S},ZP:function(){return Ne}});var a=e(37734),t=e(57370),o=e(28314),s=e(38790),n=e(87608),d=e.n(n),l=e(69188),c=e(21319),m=e(58757),g=e(47075),M=["children"],h=m.createContext({});function S(Oe){var we=Oe.children,Re=(0,g.Z)(Oe,M);return m.createElement(h.Provider,{value:Re},we)}var w=e(60412),C=e(14346),z=e(87498),$=e(73726),N=function(Oe){(0,z.Z)(Re,Oe);var we=(0,$.Z)(Re);function Re(){return(0,w.Z)(this,Re),we.apply(this,arguments)}return(0,C.Z)(Re,[{key:"render",value:function(){return this.props.children}}]),Re}(m.Component),L=N,B=e(13989),D="none",T="appear",j="enter",K="leave",k="none",te="prepare",Y="start",q="active",le="end",X="prepared",W=e(19075);function x(Oe,we){var Re={};return Re[Oe.toLowerCase()]=we.toLowerCase(),Re["Webkit".concat(Oe)]="webkit".concat(we),Re["Moz".concat(Oe)]="moz".concat(we),Re["ms".concat(Oe)]="MS".concat(we),Re["O".concat(Oe)]="o".concat(we.toLowerCase()),Re}function O(Oe,we){var Re={animationend:x("Animation","AnimationEnd"),transitionend:x("Transition","TransitionEnd")};return Oe&&("AnimationEvent"in we||delete Re.animationend.animation,"TransitionEvent"in we||delete Re.transitionend.transition),Re}var _=O((0,W.Z)(),typeof window!="undefined"?window:{}),U={};if((0,W.Z)()){var A=document.createElement("div");U=A.style}var G={};function de(Oe){if(G[Oe])return G[Oe];var we=_[Oe];if(we)for(var Re=Object.keys(we),st=Re.length,tt=0;tt1&&arguments[1]!==void 0?arguments[1]:2;we();var Ye=(0,ft.Z)(function(){tt<=1?st({isCanceled:function(){return Ye!==Oe.current}}):Re(st,tt-1)});Oe.current=Ye}return m.useEffect(function(){return function(){we()}},[]),[Re,we]},Ze=[te,Y,q,le],Xe=[te,X],rt=!1,Ke=!0;function ye(Oe){return Oe===q||Oe===le}var ne=function(Oe,we,Re){var st=(0,B.Z)(k),tt=(0,o.Z)(st,2),Ye=tt[0],ke=tt[1],Be=Ht(),it=(0,o.Z)(Be,2),Ve=it[0],It=it[1];function _t(){ke(te,!0)}var wt=we?Xe:Ze;return Ct(function(){if(Ye!==k&&Ye!==le){var jt=wt.indexOf(Ye),Yt=wt[jt+1],yt=Re(Ye);yt===rt?ke(Yt,!0):Yt&&Ve(function(ze){function nt(){ze.isCanceled()||ke(Yt,!0)}yt===!0?nt():Promise.resolve(yt).then(nt)})}},[Oe,Ye]),m.useEffect(function(){return function(){It()}},[]),[_t,Ye]};function H(Oe,we,Re,st){var tt=st.motionEnter,Ye=tt===void 0?!0:tt,ke=st.motionAppear,Be=ke===void 0?!0:ke,it=st.motionLeave,Ve=it===void 0?!0:it,It=st.motionDeadline,_t=st.motionLeaveImmediately,wt=st.onAppearPrepare,jt=st.onEnterPrepare,Yt=st.onLeavePrepare,yt=st.onAppearStart,ze=st.onEnterStart,nt=st.onLeaveStart,Et=st.onAppearActive,lt=st.onEnterActive,Gt=st.onLeaveActive,Rt=st.onAppearEnd,Ot=st.onEnterEnd,Ie=st.onLeaveEnd,Se=st.onVisibleChanged,bt=(0,B.Z)(),Pt=(0,o.Z)(bt,2),He=Pt[0],qe=Pt[1],Zt=(0,B.Z)(D),Ut=(0,o.Z)(Zt,2),qt=Ut[0],ln=Ut[1],En=(0,B.Z)(null),mn=(0,o.Z)(En,2),Yn=mn[0],Gn=mn[1],ir=(0,m.useRef)(!1),mr=(0,m.useRef)(null);function Ft(){return Re()}var en=(0,m.useRef)(!1);function rn(){ln(D,!0),Gn(null,!0)}function fn(ct){var At=Ft();if(!(ct&&!ct.deadline&&ct.target!==At)){var xt=en.current,kt;qt===T&&xt?kt=Rt==null?void 0:Rt(At,ct):qt===j&&xt?kt=Ot==null?void 0:Ot(At,ct):qt===K&&xt&&(kt=Ie==null?void 0:Ie(At,ct)),qt!==D&&xt&&kt!==!1&&rn()}}var In=Qe(fn),on=(0,o.Z)(In,1),mt=on[0],gt=function(At){var xt,kt,un;switch(At){case T:return xt={},(0,a.Z)(xt,te,wt),(0,a.Z)(xt,Y,yt),(0,a.Z)(xt,q,Et),xt;case j:return kt={},(0,a.Z)(kt,te,jt),(0,a.Z)(kt,Y,ze),(0,a.Z)(kt,q,lt),kt;case K:return un={},(0,a.Z)(un,te,Yt),(0,a.Z)(un,Y,nt),(0,a.Z)(un,q,Gt),un;default:return{}}},sn=m.useMemo(function(){return gt(qt)},[qt]),Qt=ne(qt,!Oe,function(ct){if(ct===te){var At=sn[te];return At?At(Ft()):rt}if(vn in sn){var xt;Gn(((xt=sn[vn])===null||xt===void 0?void 0:xt.call(sn,Ft(),null))||null)}return vn===q&&(mt(Ft()),It>0&&(clearTimeout(mr.current),mr.current=setTimeout(function(){fn({deadline:!0})},It))),vn===X&&rn(),Ke}),tn=(0,o.Z)(Qt,2),yn=tn[0],vn=tn[1],Wn=ye(vn);en.current=Wn,Ct(function(){qe(we);var ct=ir.current;ir.current=!0;var At;!ct&&we&&Be&&(At=T),ct&&we&&Ye&&(At=j),(ct&&!we&&Ve||!ct&&_t&&!we&&Ve)&&(At=K);var xt=gt(At);At&&(Oe||xt[te])?(ln(At),yn()):ln(D)},[we]),(0,m.useEffect)(function(){(qt===T&&!Be||qt===j&&!Ye||qt===K&&!Ve)&&ln(D)},[Be,Ye,Ve]),(0,m.useEffect)(function(){return function(){ir.current=!1,clearTimeout(mr.current)}},[]);var tr=m.useRef(!1);(0,m.useEffect)(function(){He&&(tr.current=!0),He!==void 0&&qt===D&&((tr.current||He)&&(Se==null||Se(He)),tr.current=!0)},[He,qt]);var ut=Yn;return sn[te]&&vn===Y&&(ut=(0,t.Z)({transition:"none"},ut)),[qt,vn,ut,He!=null?He:we]}function R(Oe){var we=Oe;(0,s.Z)(Oe)==="object"&&(we=Oe.transitionSupport);function Re(tt,Ye){return!!(tt.motionName&&we&&Ye!==!1)}var st=m.forwardRef(function(tt,Ye){var ke=tt.visible,Be=ke===void 0?!0:ke,it=tt.removeOnLeave,Ve=it===void 0?!0:it,It=tt.forceRender,_t=tt.children,wt=tt.motionName,jt=tt.leavedClassName,Yt=tt.eventProps,yt=m.useContext(h),ze=yt.motion,nt=Re(tt,ze),Et=(0,m.useRef)(),lt=(0,m.useRef)();function Gt(){try{return Et.current instanceof HTMLElement?Et.current:(0,l.Z)(lt.current)}catch(Gn){return null}}var Rt=H(nt,Be,Gt,tt),Ot=(0,o.Z)(Rt,4),Ie=Ot[0],Se=Ot[1],bt=Ot[2],Pt=Ot[3],He=m.useRef(Pt);Pt&&(He.current=!0);var qe=m.useCallback(function(Gn){Et.current=Gn,(0,c.mH)(Ye,Gn)},[Ye]),Zt,Ut=(0,t.Z)((0,t.Z)({},Yt),{},{visible:Be});if(!_t)Zt=null;else if(Ie===D)Pt?Zt=_t((0,t.Z)({},Ut),qe):!Ve&&He.current&&jt?Zt=_t((0,t.Z)((0,t.Z)({},Ut),{},{className:jt}),qe):It||!Ve&&!jt?Zt=_t((0,t.Z)((0,t.Z)({},Ut),{},{style:{display:"none"}}),qe):Zt=null;else{var qt,ln;Se===te?ln="prepare":ye(Se)?ln="active":Se===Y&&(ln="start");var En=Je(wt,"".concat(Ie,"-").concat(ln));Zt=_t((0,t.Z)((0,t.Z)({},Ut),{},{className:d()(Je(wt,Ie),(qt={},(0,a.Z)(qt,En,En&&ln),(0,a.Z)(qt,wt,typeof wt=="string"),qt)),style:bt}),qe)}if(m.isValidElement(Zt)&&(0,c.Yr)(Zt)){var mn=Zt,Yn=mn.ref;Yn||(Zt=m.cloneElement(Zt,{ref:qe}))}return m.createElement(L,{ref:lt},Zt)});return st.displayName="CSSMotion",st}var P=R(be),ae=e(60698),Q=e(86717),ie="add",me="keep",je="remove",Ee="removed";function Me(Oe){var we;return Oe&&(0,s.Z)(Oe)==="object"&&"key"in Oe?we=Oe:we={key:Oe},(0,t.Z)((0,t.Z)({},we),{},{key:String(we.key)})}function We(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Oe.map(Me)}function re(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Re=[],st=0,tt=we.length,Ye=We(Oe),ke=We(we);Ye.forEach(function(Ve){for(var It=!1,_t=st;_t1});return it.forEach(function(Ve){Re=Re.filter(function(It){var _t=It.key,wt=It.status;return _t!==Ve||wt!==je}),Re.forEach(function(It){It.key===Ve&&(It.status=me)})}),Re}var se=["component","children","onVisibleChanged","onAllRemoved"],J=["status"],ce=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function xe(Oe){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P,Re=function(st){(0,z.Z)(Ye,st);var tt=(0,$.Z)(Ye);function Ye(){var ke;(0,w.Z)(this,Ye);for(var Be=arguments.length,it=new Array(Be),Ve=0;Ve0){var Qe=setTimeout(function(){Te()},q*1e3);return function(){clearTimeout(Qe)}}},[q,ge,G]);var Je="".concat(K,"-notice");return s.createElement("div",(0,n.Z)({},_,{ref:j,className:g()(Je,te,(0,M.Z)({},"".concat(Je,"-closable"),W)),style:k,onMouseEnter:function(){be(!0)},onMouseLeave:function(){be(!1)},onClick:U}),s.createElement("div",{className:"".concat(Je,"-content")},X),W&&s.createElement("a",{tabIndex:0,className:"".concat(Je,"-close"),onKeyDown:Ge,onClick:function(pt){pt.preventDefault(),pt.stopPropagation(),Te()}},O))}),w=S,C=s.forwardRef(function(T,j){var K=T.prefixCls,k=K===void 0?"rc-notification":K,te=T.container,Y=T.motion,q=T.maxCount,le=T.className,X=T.style,W=T.onAllRemoved,x=s.useState([]),O=(0,t.Z)(x,2),_=O[0],U=O[1],A=function(Qe){var pt,Ct=_.find(function(ft){return ft.key===Qe});Ct==null||(pt=Ct.onClose)===null||pt===void 0||pt.call(Ct),U(function(ft){return ft.filter(function(Ht){return Ht.key!==Qe})})};s.useImperativeHandle(j,function(){return{open:function(Qe){U(function(pt){var Ct=(0,a.Z)(pt),ft=Ct.findIndex(function(Xe){return Xe.key===Qe.key}),Ht=(0,d.Z)({},Qe);if(ft>=0){var Ze;Ht.times=(((Ze=pt[ft])===null||Ze===void 0?void 0:Ze.times)||0)+1,Ct[ft]=Ht}else Ht.times=0,Ct.push(Ht);return q>0&&Ct.length>q&&(Ct=Ct.slice(-q)),Ct})},close:function(Qe){A(Qe)},destroy:function(){U([])}}});var G=s.useState({}),de=(0,t.Z)(G,2),he=de[0],ge=de[1];s.useEffect(function(){var Je={};_.forEach(function(Qe){var pt=Qe.placement,Ct=pt===void 0?"topRight":pt;Ct&&(Je[Ct]=Je[Ct]||[],Je[Ct].push(Qe))}),Object.keys(he).forEach(function(Qe){Je[Qe]=Je[Qe]||[]}),ge(Je)},[_]);var be=function(Qe){ge(function(pt){var Ct=(0,d.Z)({},pt),ft=Ct[Qe]||[];return ft.length||delete Ct[Qe],Ct})},Te=s.useRef(!1);if(s.useEffect(function(){Object.keys(he).length>0?Te.current=!0:Te.current&&(W==null||W(),Te.current=!1)},[he]),!te)return null;var Ge=Object.keys(he);return(0,l.createPortal)(s.createElement(s.Fragment,null,Ge.map(function(Je){var Qe=he[Je],pt=Qe.map(function(ft){return{config:ft,key:ft.key}}),Ct=typeof Y=="function"?Y(Je):Y;return s.createElement(c.V4,(0,n.Z)({key:Je,className:g()(k,"".concat(k,"-").concat(Je),le==null?void 0:le(Je)),style:X==null?void 0:X(Je),keys:pt,motionAppear:!0},Ct,{onAllRemoved:function(){be(Je)}}),function(ft,Ht){var Ze=ft.config,Xe=ft.className,rt=ft.style,Ke=Ze.key,ye=Ze.times,ne=Ze.className,H=Ze.style;return s.createElement(w,(0,n.Z)({},Ze,{ref:Ht,prefixCls:k,className:g()(Xe,ne),style:(0,d.Z)((0,d.Z)({},rt),H),times:ye,key:Ke,eventKey:Ke,onNoticeClose:A}))})})),te)}),z=C,$=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],N=function(){return document.body},L=0;function B(){for(var T={},j=arguments.length,K=new Array(j),k=0;k0&&arguments[0]!==void 0?arguments[0]:{},j=T.getContainer,K=j===void 0?N:j,k=T.motion,te=T.prefixCls,Y=T.maxCount,q=T.className,le=T.style,X=T.onAllRemoved,W=(0,o.Z)(T,$),x=s.useState(),O=(0,t.Z)(x,2),_=O[0],U=O[1],A=s.useRef(),G=s.createElement(z,{container:_,ref:A,prefixCls:te,motion:k,maxCount:Y,className:q,style:le,onAllRemoved:X}),de=s.useState([]),he=(0,t.Z)(de,2),ge=he[0],be=he[1],Te=s.useMemo(function(){return{open:function(Je){var Qe=B(W,Je);(Qe.key===null||Qe.key===void 0)&&(Qe.key="rc-notification-".concat(L),L+=1),be(function(pt){return[].concat((0,a.Z)(pt),[{type:"open",config:Qe}])})},close:function(Je){be(function(Qe){return[].concat((0,a.Z)(Qe),[{type:"close",key:Je}])})},destroy:function(){be(function(Je){return[].concat((0,a.Z)(Je),[{type:"destroy"}])})}}},[]);return s.useEffect(function(){U(K())}),s.useEffect(function(){A.current&&ge.length&&(ge.forEach(function(Ge){switch(Ge.type){case"open":A.current.open(Ge.config);break;case"close":A.current.close(Ge.key);break;case"destroy":A.current.destroy();break}}),be(function(Ge){return Ge.filter(function(Je){return!ge.includes(Je)})}))},[ge]),[Te,G]}},9257:function(b,y,e){"use strict";e.d(y,{Z:function(){return U}});var a=e(60698),t=e(57370),o=e(28314),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(19425),m=e(81334),g=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],M=void 0;function h(A,G){var de=A.prefixCls,he=A.invalidate,ge=A.item,be=A.renderItem,Te=A.responsive,Ge=A.responsiveDisabled,Je=A.registerSize,Qe=A.itemKey,pt=A.className,Ct=A.style,ft=A.children,Ht=A.display,Ze=A.order,Xe=A.component,rt=Xe===void 0?"div":Xe,Ke=(0,s.Z)(A,g),ye=Te&&!Ht;function ne(Q){Je(Qe,Q)}n.useEffect(function(){return function(){ne(null)}},[]);var H=be&&ge!==M?be(ge):ft,R;he||(R={opacity:ye?0:1,height:ye?0:M,overflowY:ye?"hidden":M,order:Te?Ze:M,pointerEvents:ye?"none":M,position:ye?"absolute":M});var P={};ye&&(P["aria-hidden"]=!0);var ae=n.createElement(rt,(0,a.Z)({className:l()(!he&&de,pt),style:(0,t.Z)((0,t.Z)({},R),Ct)},P,Ke,{ref:G}),H);return Te&&(ae=n.createElement(c.Z,{onResize:function(ie){var me=ie.offsetWidth;ne(me)},disabled:Ge},ae)),ae}var S=n.forwardRef(h);S.displayName="Item";var w=S,C=e(51729),z=e(26736),$=e(61834);function N(A){if(typeof MessageChannel=="undefined")(0,$.Z)(A);else{var G=new MessageChannel;G.port1.onmessage=function(){return A()},G.port2.postMessage(void 0)}}function L(){var A=n.useRef(null),G=function(he){A.current||(A.current=[],N(function(){(0,z.unstable_batchedUpdates)(function(){A.current.forEach(function(ge){ge()}),A.current=null})})),A.current.push(he)};return G}function B(A,G){var de=n.useState(G),he=(0,o.Z)(de,2),ge=he[0],be=he[1],Te=(0,C.Z)(function(Ge){A(function(){be(Ge)})});return[ge,Te]}var D=n.createContext(null),T=["component"],j=["className"],K=["className"],k=function(G,de){var he=n.useContext(D);if(!he){var ge=G.component,be=ge===void 0?"div":ge,Te=(0,s.Z)(G,T);return n.createElement(be,(0,a.Z)({},Te,{ref:de}))}var Ge=he.className,Je=(0,s.Z)(he,j),Qe=G.className,pt=(0,s.Z)(G,K);return n.createElement(D.Provider,{value:null},n.createElement(w,(0,a.Z)({ref:de,className:l()(Ge,Qe)},Je,pt)))},te=n.forwardRef(k);te.displayName="RawItem";var Y=te,q=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],le="responsive",X="invalidate";function W(A){return"+ ".concat(A.length," ...")}function x(A,G){var de=A.prefixCls,he=de===void 0?"rc-overflow":de,ge=A.data,be=ge===void 0?[]:ge,Te=A.renderItem,Ge=A.renderRawItem,Je=A.itemKey,Qe=A.itemWidth,pt=Qe===void 0?10:Qe,Ct=A.ssr,ft=A.style,Ht=A.className,Ze=A.maxCount,Xe=A.renderRest,rt=A.renderRawRest,Ke=A.suffix,ye=A.component,ne=ye===void 0?"div":ye,H=A.itemComponent,R=A.onVisibleChange,P=(0,s.Z)(A,q),ae=Ct==="full",Q=L(),ie=B(Q,null),me=(0,o.Z)(ie,2),je=me[0],Ee=me[1],Me=je||0,We=B(Q,new Map),re=(0,o.Z)(We,2),se=re[0],J=re[1],ce=B(Q,0),xe=(0,o.Z)(ce,2),ue=xe[0],Ne=xe[1],Oe=B(Q,0),we=(0,o.Z)(Oe,2),Re=we[0],st=we[1],tt=B(Q,0),Ye=(0,o.Z)(tt,2),ke=Ye[0],Be=Ye[1],it=(0,n.useState)(null),Ve=(0,o.Z)(it,2),It=Ve[0],_t=Ve[1],wt=(0,n.useState)(null),jt=(0,o.Z)(wt,2),Yt=jt[0],yt=jt[1],ze=n.useMemo(function(){return Yt===null&&ae?Number.MAX_SAFE_INTEGER:Yt||0},[Yt,je]),nt=(0,n.useState)(!1),Et=(0,o.Z)(nt,2),lt=Et[0],Gt=Et[1],Rt="".concat(he,"-item"),Ot=Math.max(ue,Re),Ie=Ze===le,Se=be.length&&Ie,bt=Ze===X,Pt=Se||typeof Ze=="number"&&be.length>Ze,He=(0,n.useMemo)(function(){var mt=be;return Se?je===null&&ae?mt=be:mt=be.slice(0,Math.min(be.length,Me/pt)):typeof Ze=="number"&&(mt=be.slice(0,Ze)),mt},[be,pt,je,Ze,Se]),qe=(0,n.useMemo)(function(){return Se?be.slice(ze+1):be.slice(He.length)},[be,He,Se,ze]),Zt=(0,n.useCallback)(function(mt,gt){var sn;return typeof Je=="function"?Je(mt):(sn=Je&&(mt==null?void 0:mt[Je]))!==null&&sn!==void 0?sn:gt},[Je]),Ut=(0,n.useCallback)(Te||function(mt){return mt},[Te]);function qt(mt,gt,sn){Yt===mt&&(gt===void 0||gt===It)||(yt(mt),sn||(Gt(mtMe){qt(Qt-1,mt-tn-ke+Re);break}}Ke&&Gn(0)+ke>Me&&_t(null)}},[Me,se,Re,ke,Zt,He]);var ir=lt&&!!qe.length,mr={};It!==null&&Se&&(mr={position:"absolute",left:It,top:0});var Ft={prefixCls:Rt,responsive:Se,component:H,invalidate:bt},en=Ge?function(mt,gt){var sn=Zt(mt,gt);return n.createElement(D.Provider,{key:sn,value:(0,t.Z)((0,t.Z)({},Ft),{},{order:gt,item:mt,itemKey:sn,registerSize:En,display:gt<=ze})},Ge(mt,gt))}:function(mt,gt){var sn=Zt(mt,gt);return n.createElement(w,(0,a.Z)({},Ft,{order:gt,key:sn,item:mt,renderItem:Ut,itemKey:sn,registerSize:En,display:gt<=ze}))},rn,fn={order:ir?ze:Number.MAX_SAFE_INTEGER,className:"".concat(Rt,"-rest"),registerSize:mn,display:ir};if(rt)rt&&(rn=n.createElement(D.Provider,{value:(0,t.Z)((0,t.Z)({},Ft),fn)},rt(qe)));else{var In=Xe||W;rn=n.createElement(w,(0,a.Z)({},Ft,fn),typeof In=="function"?In(qe):In)}var on=n.createElement(ne,(0,a.Z)({className:l()(!bt&&he,Ht),style:ft,ref:G},P),He.map(en),Pt?rn:null,Ke&&n.createElement(w,(0,a.Z)({},Ft,{responsive:Ie,responsiveDisabled:!Se,order:ze,className:"".concat(Rt,"-suffix"),registerSize:Yn,display:!0,style:mr}),Ke));return Ie&&(on=n.createElement(c.Z,{onResize:ln,disabled:!Se},on)),on}var O=n.forwardRef(x);O.displayName="Overflow",O.Item=Y,O.RESPONSIVE=le,O.INVALIDATE=X;var _=O,U=_},57522:function(b,y){"use strict";y.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},23737:function(b,y){"use strict";y.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},19425:function(b,y,e){"use strict";e.d(y,{Z:function(){return le}});var a=e(60698),t=e(58757),o=e(42156),s=e(75556),n=e(57370),d=e(21319),l=e(69188),c=e(20759),m=new Map;function g(X){X.forEach(function(W){var x,O=W.target;(x=m.get(O))===null||x===void 0||x.forEach(function(_){return _(O)})})}var M=new c.Z(g),h=null,S=null;function w(X,W){m.has(X)||(m.set(X,new Set),M.observe(X)),m.get(X).add(W)}function C(X,W){m.has(X)&&(m.get(X).delete(W),m.get(X).size||(M.unobserve(X),m.delete(X)))}var z=e(60412),$=e(14346),N=e(87498),L=e(73726),B=function(X){(0,N.Z)(x,X);var W=(0,L.Z)(x);function x(){return(0,z.Z)(this,x),W.apply(this,arguments)}return(0,$.Z)(x,[{key:"render",value:function(){return this.props.children}}]),x}(t.Component),D=t.createContext(null);function T(X){var W=X.children,x=X.onBatchResize,O=t.useRef(0),_=t.useRef([]),U=t.useContext(D),A=t.useCallback(function(G,de,he){O.current+=1;var ge=O.current;_.current.push({size:G,element:de,data:he}),Promise.resolve().then(function(){ge===O.current&&(x==null||x(_.current),_.current=[])}),U==null||U(G,de,he)},[x,U]);return t.createElement(D.Provider,{value:A},W)}function j(X,W){var x=X.children,O=X.disabled,_=t.useRef(null),U=t.useRef(null),A=t.useContext(D),G=typeof x=="function",de=G?x(_):x,he=t.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ge=!G&&t.isValidElement(de)&&(0,d.Yr)(de),be=ge?de.ref:null,Te=t.useMemo(function(){return(0,d.sQ)(be,_)},[be,_]),Ge=function(){return(0,l.Z)(_.current)||(0,l.Z)(U.current)};t.useImperativeHandle(W,function(){return Ge()});var Je=t.useRef(X);Je.current=X;var Qe=t.useCallback(function(pt){var Ct=Je.current,ft=Ct.onResize,Ht=Ct.data,Ze=pt.getBoundingClientRect(),Xe=Ze.width,rt=Ze.height,Ke=pt.offsetWidth,ye=pt.offsetHeight,ne=Math.floor(Xe),H=Math.floor(rt);if(he.current.width!==ne||he.current.height!==H||he.current.offsetWidth!==Ke||he.current.offsetHeight!==ye){var R={width:ne,height:H,offsetWidth:Ke,offsetHeight:ye};he.current=R;var P=Ke===Math.round(Xe)?Xe:Ke,ae=ye===Math.round(rt)?rt:ye,Q=(0,n.Z)((0,n.Z)({},R),{},{offsetWidth:P,offsetHeight:ae});A==null||A(Q,pt,Ht),ft&&Promise.resolve().then(function(){ft(Q,pt)})}},[]);return t.useEffect(function(){var pt=Ge();return pt&&!O&&w(pt,Qe),function(){return C(pt,Qe)}},[_.current,O]),t.createElement(B,{ref:U},ge?t.cloneElement(de,{ref:Te}):de)}var K=t.forwardRef(j),k=K,te="rc-observer-key";function Y(X,W){var x=X.children,O=typeof x=="function"?[x]:(0,o.Z)(x);return O.map(function(_,U){var A=(_==null?void 0:_.key)||"".concat(te,"-").concat(U);return t.createElement(k,(0,a.Z)({},X,{key:A,ref:U===0?W:void 0}),_)})}var q=t.forwardRef(Y);q.Collection=T;var le=q},25092:function(b,y,e){"use strict";e.d(y,{ZP:function(){return l}});var a=e(28314),t=e(58757),o=e(19075),s=0,n=(0,o.Z)();function d(){var c;return n?(c=s,s+=1):c="TEST_OR_SSR",c}function l(c){var m=t.useState(),g=(0,a.Z)(m,2),M=g[0],h=g[1];return t.useEffect(function(){h("rc_select_".concat(d()))},[]),c||M}},18510:function(b,y,e){"use strict";e.d(y,{Ac:function(){return Ee},Xo:function(){return st},Wx:function(){return Ye},ZP:function(){return Pt},lk:function(){return N}});var a=e(60698),t=e(29140),o=e(37734),s=e(57370),n=e(28314),d=e(47075),l=e(38790),c=e(60409),m=e(75556),g=e(58757),M=e(87608),h=e.n(M),S=e(81334),w=e(21618),C=e(29639),z=e(21319),$=g.createContext(null);function N(){return g.useContext($)}function L(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,qe=g.useState(!1),Zt=(0,n.Z)(qe,2),Ut=Zt[0],qt=Zt[1],ln=g.useRef(null),En=function(){window.clearTimeout(ln.current)};g.useEffect(function(){return En},[]);var mn=function(Gn,ir){En(),ln.current=window.setTimeout(function(){qt(Gn),ir&&ir()},He)};return[Ut,mn,En]}function B(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,qe=g.useRef(null),Zt=g.useRef(null);g.useEffect(function(){return function(){window.clearTimeout(Zt.current)}},[]);function Ut(qt){(qt||qe.current===null)&&(qe.current=qt),window.clearTimeout(Zt.current),Zt.current=window.setTimeout(function(){qe.current=null},He)}return[function(){return qe.current},Ut]}function D(He,qe,Zt,Ut){var qt=g.useRef(null);qt.current={open:qe,triggerOpen:Zt,customizedTrigger:Ut},g.useEffect(function(){function ln(En){var mn;if(!((mn=qt.current)!==null&&mn!==void 0&&mn.customizedTrigger)){var Yn=En.target;Yn.shadowRoot&&En.composed&&(Yn=En.composedPath()[0]||Yn),qt.current.open&&He().filter(function(Gn){return Gn}).every(function(Gn){return!Gn.contains(Yn)&&Gn!==Yn})&&qt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",ln),function(){return window.removeEventListener("mousedown",ln)}},[])}var T=e(33926),j=e(9257),K=function(qe){var Zt=qe.className,Ut=qe.customizeIcon,qt=qe.customizeIconProps,ln=qe.onMouseDown,En=qe.onClick,mn=qe.children,Yn;return typeof Ut=="function"?Yn=Ut(qt):Yn=Ut,g.createElement("span",{className:Zt,onMouseDown:function(ir){ir.preventDefault(),ln&&ln(ir)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:En,"aria-hidden":!0},Yn!==void 0?Yn:g.createElement("span",{className:h()(Zt.split(/\s+/).map(function(Gn){return"".concat(Gn,"-icon")}))},mn))},k=K,te=function(qe,Zt){var Ut,qt,ln=qe.prefixCls,En=qe.id,mn=qe.inputElement,Yn=qe.disabled,Gn=qe.tabIndex,ir=qe.autoFocus,mr=qe.autoComplete,Ft=qe.editable,en=qe.activeDescendantId,rn=qe.value,fn=qe.maxLength,In=qe.onKeyDown,on=qe.onMouseDown,mt=qe.onChange,gt=qe.onPaste,sn=qe.onCompositionStart,Qt=qe.onCompositionEnd,tn=qe.open,yn=qe.attrs,vn=mn||g.createElement("input",null),Wn=vn,tr=Wn.ref,ut=Wn.props,ct=ut.onKeyDown,At=ut.onChange,xt=ut.onMouseDown,kt=ut.onCompositionStart,un=ut.onCompositionEnd,nn=ut.style;return(0,m.Kp)(!("maxLength"in vn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),vn=g.cloneElement(vn,(0,s.Z)((0,s.Z)((0,s.Z)({type:"search"},ut),{},{id:En,ref:(0,z.sQ)(Zt,tr),disabled:Yn,tabIndex:Gn,autoComplete:mr||"off",autoFocus:ir,className:h()("".concat(ln,"-selection-search-input"),(Ut=vn)===null||Ut===void 0||(qt=Ut.props)===null||qt===void 0?void 0:qt.className),role:"combobox","aria-label":"Search","aria-expanded":tn,"aria-haspopup":"listbox","aria-owns":"".concat(En,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(En,"_list"),"aria-activedescendant":tn?en:void 0},yn),{},{value:Ft?rn:"",maxLength:fn,readOnly:!Ft,unselectable:Ft?null:"on",style:(0,s.Z)((0,s.Z)({},nn),{},{opacity:Ft?null:0}),onKeyDown:function(zn){In(zn),ct&&ct(zn)},onMouseDown:function(zn){on(zn),xt&&xt(zn)},onChange:function(zn){mt(zn),At&&At(zn)},onCompositionStart:function(zn){sn(zn),kt&&kt(zn)},onCompositionEnd:function(zn){Qt(zn),un&&un(zn)},onPaste:gt})),vn},Y=g.forwardRef(te);Y.displayName="Input";var q=Y;function le(He){return Array.isArray(He)?He:He!==void 0?[He]:[]}var X=typeof window!="undefined"&&window.document&&window.document.documentElement,W=X;function x(He){return He!=null}function O(He){return!He&&He!==0}function _(He){return["string","number"].includes((0,l.Z)(He))}function U(He){var qe=void 0;return He&&(_(He.title)?qe=He.title.toString():_(He.label)&&(qe=He.label.toString())),qe}function A(He,qe){W?g.useLayoutEffect(He,qe):g.useEffect(He,qe)}function G(He){var qe;return(qe=He.key)!==null&&qe!==void 0?qe:He.value}var de=function(qe){qe.preventDefault(),qe.stopPropagation()},he=function(qe){var Zt=qe.id,Ut=qe.prefixCls,qt=qe.values,ln=qe.open,En=qe.searchValue,mn=qe.autoClearSearchValue,Yn=qe.inputRef,Gn=qe.placeholder,ir=qe.disabled,mr=qe.mode,Ft=qe.showSearch,en=qe.autoFocus,rn=qe.autoComplete,fn=qe.activeDescendantId,In=qe.tabIndex,on=qe.removeIcon,mt=qe.maxTagCount,gt=qe.maxTagTextLength,sn=qe.maxTagPlaceholder,Qt=sn===void 0?function(ra){return"+ ".concat(ra.length," ...")}:sn,tn=qe.tagRender,yn=qe.onToggleOpen,vn=qe.onRemove,Wn=qe.onInputChange,tr=qe.onInputPaste,ut=qe.onInputKeyDown,ct=qe.onInputMouseDown,At=qe.onInputCompositionStart,xt=qe.onInputCompositionEnd,kt=g.useRef(null),un=(0,g.useState)(0),nn=(0,n.Z)(un,2),An=nn[0],zn=nn[1],Er=(0,g.useState)(!1),nr=(0,n.Z)(Er,2),Fn=nr[0],kr=nr[1],hr="".concat(Ut,"-selection"),la=ln||mr==="multiple"&&mn===!1||mr==="tags"?En:"",zr=mr==="tags"||mr==="multiple"&&mn===!1||Ft&&(ln||Fn);A(function(){zn(kt.current.scrollWidth)},[la]);function Zn(ra,pa,fr,Ur,Ea){return g.createElement("span",{className:h()("".concat(hr,"-item"),(0,o.Z)({},"".concat(hr,"-item-disabled"),fr)),title:U(ra)},g.createElement("span",{className:"".concat(hr,"-item-content")},pa),Ur&&g.createElement(k,{className:"".concat(hr,"-item-remove"),onMouseDown:de,onClick:Ea,customizeIcon:on},"\xD7"))}function On(ra,pa,fr,Ur,Ea){var ha=function(Bn){de(Bn),yn(!ln)};return g.createElement("span",{onMouseDown:ha},tn({label:pa,value:ra,disabled:fr,closable:Ur,onClose:Ea}))}function Tn(ra){var pa=ra.disabled,fr=ra.label,Ur=ra.value,Ea=!ir&&!pa,ha=fr;if(typeof gt=="number"&&(typeof fr=="string"||typeof fr=="number")){var Hn=String(ha);Hn.length>gt&&(ha="".concat(Hn.slice(0,gt),"..."))}var Bn=function(Xr){Xr&&Xr.stopPropagation(),vn(ra)};return typeof tn=="function"?On(Ur,ha,pa,Ea,Bn):Zn(ra,ha,pa,Ea,Bn)}function ar(ra){var pa=typeof Qt=="function"?Qt(ra):Qt;return Zn({title:pa},pa,!1)}var br=g.createElement("div",{className:"".concat(hr,"-search"),style:{width:An},onFocus:function(){kr(!0)},onBlur:function(){kr(!1)}},g.createElement(q,{ref:Yn,open:ln,prefixCls:Ut,id:Zt,inputElement:null,disabled:ir,autoFocus:en,autoComplete:rn,editable:zr,activeDescendantId:fn,value:la,onKeyDown:ut,onMouseDown:ct,onChange:Wn,onPaste:tr,onCompositionStart:At,onCompositionEnd:xt,tabIndex:In,attrs:(0,T.Z)(qe,!0)}),g.createElement("span",{ref:kt,className:"".concat(hr,"-search-mirror"),"aria-hidden":!0},la,"\xA0")),Kr=g.createElement(j.Z,{prefixCls:"".concat(hr,"-overflow"),data:qt,renderItem:Tn,renderRest:ar,suffix:br,itemKey:G,maxCount:mt});return g.createElement(g.Fragment,null,Kr,!qt.length&&!la&&g.createElement("span",{className:"".concat(hr,"-placeholder")},Gn))},ge=he,be=function(qe){var Zt=qe.inputElement,Ut=qe.prefixCls,qt=qe.id,ln=qe.inputRef,En=qe.disabled,mn=qe.autoFocus,Yn=qe.autoComplete,Gn=qe.activeDescendantId,ir=qe.mode,mr=qe.open,Ft=qe.values,en=qe.placeholder,rn=qe.tabIndex,fn=qe.showSearch,In=qe.searchValue,on=qe.activeValue,mt=qe.maxLength,gt=qe.onInputKeyDown,sn=qe.onInputMouseDown,Qt=qe.onInputChange,tn=qe.onInputPaste,yn=qe.onInputCompositionStart,vn=qe.onInputCompositionEnd,Wn=qe.title,tr=g.useState(!1),ut=(0,n.Z)(tr,2),ct=ut[0],At=ut[1],xt=ir==="combobox",kt=xt||fn,un=Ft[0],nn=In||"";xt&&on&&!ct&&(nn=on),g.useEffect(function(){xt&&At(!1)},[xt,on]);var An=ir!=="combobox"&&!mr&&!fn?!1:!!nn,zn=Wn===void 0?U(un):Wn,Er=function(){if(un)return null;var Fn=An?{visibility:"hidden"}:void 0;return g.createElement("span",{className:"".concat(Ut,"-selection-placeholder"),style:Fn},en)};return g.createElement(g.Fragment,null,g.createElement("span",{className:"".concat(Ut,"-selection-search")},g.createElement(q,{ref:ln,prefixCls:Ut,id:qt,open:mr,inputElement:Zt,disabled:En,autoFocus:mn,autoComplete:Yn,editable:kt,activeDescendantId:Gn,value:nn,onKeyDown:gt,onMouseDown:sn,onChange:function(Fn){At(!0),Qt(Fn)},onPaste:tn,onCompositionStart:yn,onCompositionEnd:vn,tabIndex:rn,attrs:(0,T.Z)(qe,!0),maxLength:xt?mt:void 0})),!xt&&un?g.createElement("span",{className:"".concat(Ut,"-selection-item"),title:zn,style:An?{visibility:"hidden"}:void 0},un.label):null,Er())},Te=be;function Ge(He){return![C.Z.ESC,C.Z.SHIFT,C.Z.BACKSPACE,C.Z.TAB,C.Z.WIN_KEY,C.Z.ALT,C.Z.META,C.Z.WIN_KEY_RIGHT,C.Z.CTRL,C.Z.SEMICOLON,C.Z.EQUALS,C.Z.CAPS_LOCK,C.Z.CONTEXT_MENU,C.Z.F1,C.Z.F2,C.Z.F3,C.Z.F4,C.Z.F5,C.Z.F6,C.Z.F7,C.Z.F8,C.Z.F9,C.Z.F10,C.Z.F11,C.Z.F12].includes(He)}var Je=function(qe,Zt){var Ut=(0,g.useRef)(null),qt=(0,g.useRef)(!1),ln=qe.prefixCls,En=qe.open,mn=qe.mode,Yn=qe.showSearch,Gn=qe.tokenWithEnter,ir=qe.autoClearSearchValue,mr=qe.onSearch,Ft=qe.onSearchSubmit,en=qe.onToggleOpen,rn=qe.onInputKeyDown,fn=qe.domRef;g.useImperativeHandle(Zt,function(){return{focus:function(){Ut.current.focus()},blur:function(){Ut.current.blur()}}});var In=B(0),on=(0,n.Z)(In,2),mt=on[0],gt=on[1],sn=function(nn){var An=nn.which;(An===C.Z.UP||An===C.Z.DOWN)&&nn.preventDefault(),rn&&rn(nn),An===C.Z.ENTER&&mn==="tags"&&!qt.current&&!En&&(Ft==null||Ft(nn.target.value)),Ge(An)&&en(!0)},Qt=function(){gt(!0)},tn=(0,g.useRef)(null),yn=function(nn){mr(nn,!0,qt.current)!==!1&&en(!0)},vn=function(){qt.current=!0},Wn=function(nn){qt.current=!1,mn!=="combobox"&&yn(nn.target.value)},tr=function(nn){var An=nn.target.value;if(Gn&&tn.current&&/[\r\n]/.test(tn.current)){var zn=tn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");An=An.replace(zn,tn.current)}tn.current=null,yn(An)},ut=function(nn){var An=nn.clipboardData,zn=An.getData("text");tn.current=zn},ct=function(nn){var An=nn.target;if(An!==Ut.current){var zn=document.body.style.msTouchAction!==void 0;zn?setTimeout(function(){Ut.current.focus()}):Ut.current.focus()}},At=function(nn){var An=mt();nn.target!==Ut.current&&!An&&mn!=="combobox"&&nn.preventDefault(),(mn!=="combobox"&&(!Yn||!An)||!En)&&(En&&ir!==!1&&mr("",!0,!1),en())},xt={inputRef:Ut,onInputKeyDown:sn,onInputMouseDown:Qt,onInputChange:tr,onInputPaste:ut,onInputCompositionStart:vn,onInputCompositionEnd:Wn},kt=mn==="multiple"||mn==="tags"?g.createElement(ge,(0,a.Z)({},qe,xt)):g.createElement(Te,(0,a.Z)({},qe,xt));return g.createElement("div",{ref:fn,className:"".concat(ln,"-selector"),onClick:ct,onMouseDown:At},kt)},Qe=g.forwardRef(Je);Qe.displayName="Selector";var pt=Qe,Ct=e(99863),ft=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ht=function(qe){var Zt=qe===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Zt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Zt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Zt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Zt,adjustY:1},htmlRegion:"scroll"}}},Ze=function(qe,Zt){var Ut=qe.prefixCls,qt=qe.disabled,ln=qe.visible,En=qe.children,mn=qe.popupElement,Yn=qe.containerWidth,Gn=qe.animation,ir=qe.transitionName,mr=qe.dropdownStyle,Ft=qe.dropdownClassName,en=qe.direction,rn=en===void 0?"ltr":en,fn=qe.placement,In=qe.builtinPlacements,on=qe.dropdownMatchSelectWidth,mt=qe.dropdownRender,gt=qe.dropdownAlign,sn=qe.getPopupContainer,Qt=qe.empty,tn=qe.getTriggerDOMNode,yn=qe.onPopupVisibleChange,vn=qe.onPopupMouseEnter,Wn=(0,d.Z)(qe,ft),tr="".concat(Ut,"-dropdown"),ut=mn;mt&&(ut=mt(mn));var ct=g.useMemo(function(){return In||Ht(on)},[In,on]),At=Gn?"".concat(tr,"-").concat(Gn):ir,xt=g.useRef(null);g.useImperativeHandle(Zt,function(){return{getPopupElement:function(){return xt.current}}});var kt=(0,s.Z)({minWidth:Yn},mr);return typeof on=="number"?kt.width=on:on&&(kt.width=Yn),g.createElement(Ct.Z,(0,a.Z)({},Wn,{showAction:yn?["click"]:[],hideAction:yn?["click"]:[],popupPlacement:fn||(rn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ct,prefixCls:tr,popupTransitionName:At,popup:g.createElement("div",{ref:xt,onMouseEnter:vn},ut),popupAlign:gt,popupVisible:ln,getPopupContainer:sn,popupClassName:h()(Ft,(0,o.Z)({},"".concat(tr,"-empty"),Qt)),popupStyle:kt,getTriggerDOMNode:tn,onPopupVisibleChange:yn}),En)},Xe=g.forwardRef(Ze);Xe.displayName="SelectTrigger";var rt=Xe,Ke=e(6747);function ye(He,qe){var Zt=He.key,Ut;return"value"in He&&(Ut=He.value),Zt!=null?Zt:Ut!==void 0?Ut:"rc-index-key-".concat(qe)}function ne(He,qe){var Zt=He||{},Ut=Zt.label,qt=Zt.value,ln=Zt.options,En=Zt.groupLabel,mn=Ut||(qe?"children":"label");return{label:mn,value:qt||"value",options:ln||"options",groupLabel:En||mn}}function H(He){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Zt=qe.fieldNames,Ut=qe.childrenAsData,qt=[],ln=ne(Zt,!1),En=ln.label,mn=ln.value,Yn=ln.options,Gn=ln.groupLabel;function ir(mr,Ft){mr.forEach(function(en){if(Ft||!(Yn in en)){var rn=en[mn];qt.push({key:ye(en,qt.length),groupOption:Ft,data:en,label:en[En],value:rn})}else{var fn=en[Gn];fn===void 0&&Ut&&(fn=en.label),qt.push({key:ye(en,qt.length),group:!0,data:en,label:fn}),ir(en[Yn],!0)}})}return ir(He,!1),qt}function R(He){var qe=(0,s.Z)({},He);return"props"in qe||Object.defineProperty(qe,"props",{get:function(){return(0,m.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),qe}}),qe}function P(He,qe){if(!qe||!qe.length)return null;var Zt=!1;function Ut(ln,En){var mn=(0,Ke.Z)(En),Yn=mn[0],Gn=mn.slice(1);if(!Yn)return[ln];var ir=ln.split(Yn);return Zt=Zt||ir.length>1,ir.reduce(function(mr,Ft){return[].concat((0,t.Z)(mr),(0,t.Z)(Ut(Ft,Gn)))},[]).filter(function(mr){return mr})}var qt=Ut(He,qe);return Zt?qt:null}function ae(He,qe,Zt,Ut,qt){var ln=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,En=arguments.length>6?arguments[6]:void 0,mn=arguments.length>7?arguments[7]:void 0,Yn=g.useMemo(function(){if((0,l.Z)(Ut)==="object")return Ut.clearIcon;if(qt)return qt},[Ut,qt]),Gn=g.useMemo(function(){return!!(!ln&&Ut&&(Zt.length||En)&&!(mn==="combobox"&&En===""))},[Ut,ln,Zt.length,En,mn]);return{allowClear:Gn,clearIcon:g.createElement(k,{className:"".concat(He,"-clear"),onMouseDown:qe,customizeIcon:Yn},"\xD7")}}var Q=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ie=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function me(He){return He==="tags"||He==="multiple"}var je=g.forwardRef(function(He,qe){var Zt,Ut,qt=He.id,ln=He.prefixCls,En=He.className,mn=He.showSearch,Yn=He.tagRender,Gn=He.direction,ir=He.omitDomProps,mr=He.displayValues,Ft=He.onDisplayValuesChange,en=He.emptyOptions,rn=He.notFoundContent,fn=rn===void 0?"Not Found":rn,In=He.onClear,on=He.mode,mt=He.disabled,gt=He.loading,sn=He.getInputElement,Qt=He.getRawInputElement,tn=He.open,yn=He.defaultOpen,vn=He.onDropdownVisibleChange,Wn=He.activeValue,tr=He.onActiveValueChange,ut=He.activeDescendantId,ct=He.searchValue,At=He.autoClearSearchValue,xt=He.onSearch,kt=He.onSearchSplit,un=He.tokenSeparators,nn=He.allowClear,An=He.suffixIcon,zn=He.clearIcon,Er=He.OptionList,nr=He.animation,Fn=He.transitionName,kr=He.dropdownStyle,hr=He.dropdownClassName,la=He.dropdownMatchSelectWidth,zr=He.dropdownRender,Zn=He.dropdownAlign,On=He.placement,Tn=He.builtinPlacements,ar=He.getPopupContainer,br=He.showAction,Kr=br===void 0?[]:br,ra=He.onFocus,pa=He.onBlur,fr=He.onKeyUp,Ur=He.onKeyDown,Ea=He.onMouseDown,ha=(0,d.Z)(He,Q),Hn=me(on),Bn=(mn!==void 0?mn:Hn)||on==="combobox",yr=(0,s.Z)({},ha);ie.forEach(function(to){delete yr[to]}),ir==null||ir.forEach(function(to){delete yr[to]});var Xr=g.useState(!1),Dr=(0,n.Z)(Xr,2),Tt=Dr[0],an=Dr[1];g.useEffect(function(){an((0,w.Z)())},[]);var bn=g.useRef(null),Xa=g.useRef(null),ho=g.useRef(null),$a=g.useRef(null),Ua=g.useRef(null),Ka=L(),wo=(0,n.Z)(Ka,3),No=wo[0],yo=wo[1],dt=wo[2];g.useImperativeHandle(qe,function(){var to,Ga;return{focus:(to=$a.current)===null||to===void 0?void 0:to.focus,blur:(Ga=$a.current)===null||Ga===void 0?void 0:Ga.blur,scrollTo:function(ti){var Io;return(Io=Ua.current)===null||Io===void 0?void 0:Io.scrollTo(ti)}}});var zt=g.useMemo(function(){var to;if(on!=="combobox")return ct;var Ga=(to=mr[0])===null||to===void 0?void 0:to.value;return typeof Ga=="string"||typeof Ga=="number"?String(Ga):""},[ct,on,mr]),Ae=on==="combobox"&&typeof sn=="function"&&sn()||null,dn=typeof Qt=="function"&&Qt(),Dn=(0,z.x1)(Xa,dn==null||(Zt=dn.props)===null||Zt===void 0?void 0:Zt.ref),Mn=g.useState(!1),qn=(0,n.Z)(Mn,2),rr=qn[0],Hr=qn[1];(0,S.Z)(function(){Hr(!0)},[]);var Da=(0,c.Z)(!1,{defaultValue:yn,value:tn}),ia=(0,n.Z)(Da,2),Jr=ia[0],aa=ia[1],Pr=rr?Jr:!1,Zr=!fn&&en;(mt||Zr&&Pr&&on==="combobox")&&(Pr=!1);var va=Zr?!1:Pr,Na=g.useCallback(function(to){var Ga=to!==void 0?to:!Pr;mt||(aa(Ga),Pr!==Ga&&(vn==null||vn(Ga)))},[mt,Pr,aa,vn]),eo=g.useMemo(function(){return(un||[]).some(function(to){return[` +`+new Error().stack),Ze=!1}return ve.apply(this,arguments)},ve)}var te={};function V(B,ve){t.deprecationHandler!=null&&t.deprecationHandler(B,ve),te[B]||(K(ve),te[B]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function q(B){return typeof Function!="undefined"&&B instanceof Function||Object.prototype.toString.call(B)==="[object Function]"}function le(B){var ve,Ze;for(Ze in B)d(B,Ze)&&(ve=B[Ze],q(ve)?this[Ze]=ve:this["_"+Ze]=ve);this._config=B,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function X(B,ve){var Ze=h({},B),ot;for(ot in ve)d(ve,ot)&&(n(B[ot])&&n(ve[ot])?(Ze[ot]={},h(Ze[ot],B[ot]),h(Ze[ot],ve[ot])):ve[ot]!=null?Ze[ot]=ve[ot]:delete Ze[ot]);for(ot in B)d(B,ot)&&!d(ve,ot)&&n(B[ot])&&(Ze[ot]=h({},Ze[ot]));return Ze}function W(B){B!=null&&this.set(B)}var x;Object.keys?x=Object.keys:x=function(B){var ve,Ze=[];for(ve in B)d(B,ve)&&Ze.push(ve);return Ze};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function _(B,ve,Ze){var ot=this._calendar[B]||this._calendar.sameElse;return q(ot)?ot.call(ve,Ze):ot}function U(B,ve,Ze){var ot=""+Math.abs(B),Lt=ve-ot.length,Nn=B>=0;return(Nn?Ze?"+":"":"-")+Math.pow(10,Math.max(0,Lt)).toString().substr(1)+ot}var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,G=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,fe={},pe={};function ge(B,ve,Ze,ot){var Lt=ot;typeof ot=="string"&&(Lt=function(){return this[ot]()}),B&&(pe[B]=Lt),ve&&(pe[ve[0]]=function(){return U(Lt.apply(this,arguments),ve[1],ve[2])}),Ze&&(pe[Ze]=function(){return this.localeData().ordinal(Lt.apply(this,arguments),B)})}function be(B){return B.match(/\[[\s\S]/)?B.replace(/^\[|\]$/g,""):B.replace(/\\/g,"")}function Te(B){var ve=B.match(A),Ze,ot;for(Ze=0,ot=ve.length;Ze=0&&G.test(B);)B=B.replace(G,ot),G.lastIndex=0,Ze-=1;return B}var Qe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function pt(B){var ve=this._longDateFormat[B],Ze=this._longDateFormat[B.toUpperCase()];return ve||!Ze?ve:(this._longDateFormat[B]=Ze.match(A).map(function(ot){return ot==="MMMM"||ot==="MM"||ot==="DD"||ot==="dddd"?ot.slice(1):ot}).join(""),this._longDateFormat[B])}var Et="Invalid date";function ft(){return this._invalidDate}var Wt="%d",$e=/\d{1,2}/;function Xe(B){return this._ordinal.replace("%d",B)}var nt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ke(B,ve,Ze,ot){var Lt=this._relativeTime[Ze];return q(Lt)?Lt(B,ve,Ze,ot):Lt.replace(/%d/i,B)}function ye(B,ve){var Ze=this._relativeTime[B>0?"future":"past"];return q(Ze)?Ze(ve):Ze.replace(/%s/i,ve)}var ne={};function H(B,ve){var Ze=B.toLowerCase();ne[Ze]=ne[Ze+"s"]=ne[ve]=B}function R(B){return typeof B=="string"?ne[B]||ne[B.toLowerCase()]:void 0}function P(B){var ve={},Ze,ot;for(ot in B)d(B,ot)&&(Ze=R(ot),Ze&&(ve[Ze]=B[ot]));return ve}var ae={};function Q(B,ve){ae[B]=ve}function ie(B){var ve=[],Ze;for(Ze in B)d(B,Ze)&&ve.push({unit:Ze,priority:ae[Ze]});return ve.sort(function(ot,Lt){return ot.priority-Lt.priority}),ve}function me(B){return B%4===0&&B%100!==0||B%400===0}function je(B){return B<0?Math.ceil(B)||0:Math.floor(B)}function Ee(B){var ve=+B,Ze=0;return ve!==0&&isFinite(ve)&&(Ze=je(ve)),Ze}function Me(B,ve){return function(Ze){return Ze!=null?(re(this,B,Ze),t.updateOffset(this,ve),this):We(this,B)}}function We(B,ve){return B.isValid()?B._d["get"+(B._isUTC?"UTC":"")+ve]():NaN}function re(B,ve,Ze){B.isValid()&&!isNaN(Ze)&&(ve==="FullYear"&&me(B.year())&&B.month()===1&&B.date()===29?(Ze=Ee(Ze),B._d["set"+(B._isUTC?"UTC":"")+ve](Ze,B.month(),xn(Ze,B.month()))):B._d["set"+(B._isUTC?"UTC":"")+ve](Ze))}function se(B){return B=R(B),q(this[B])?this[B]():this}function J(B,ve){if(typeof B=="object"){B=P(B);var Ze=ie(B),ot,Lt=Ze.length;for(ot=0;ot68?1900:2e3)};var yn=Me("FullYear",!0);function gn(){return me(this.year())}function _n(B,ve,Ze,ot,Lt,Nn,Fr){var oo;return B<100&&B>=0?(oo=new Date(B+400,ve,Ze,ot,Lt,Nn,Fr),isFinite(oo.getFullYear())&&oo.setFullYear(B)):oo=new Date(B,ve,Ze,ot,Lt,Nn,Fr),oo}function nr(B){var ve,Ze;return B<100&&B>=0?(Ze=Array.prototype.slice.call(arguments),Ze[0]=B+400,ve=new Date(Date.UTC.apply(null,Ze)),isFinite(ve.getUTCFullYear())&&ve.setUTCFullYear(B)):ve=new Date(Date.UTC.apply(null,arguments)),ve}function ut(B,ve,Ze){var ot=7+ve-Ze,Lt=(7+nr(B,0,ot).getUTCDay()-ve)%7;return-Lt+ot-1}function ct(B,ve,Ze,ot,Lt){var Nn=(7+Ze-ot)%7,Fr=ut(B,ot,Lt),oo=1+7*(ve-1)+Nn+Fr,jo,li;return oo<=0?(jo=B-1,li=tn(jo)+oo):oo>tn(B)?(jo=B+1,li=oo-tn(B)):(jo=B,li=oo),{year:jo,dayOfYear:li}}function It(B,ve,Ze){var ot=ut(B.year(),ve,Ze),Lt=Math.floor((B.dayOfYear()-ot-1)/7)+1,Nn,Fr;return Lt<1?(Fr=B.year()-1,Nn=Lt+Ct(Fr,ve,Ze)):Lt>Ct(B.year(),ve,Ze)?(Nn=Lt-Ct(B.year(),ve,Ze),Fr=B.year()+1):(Fr=B.year(),Nn=Lt),{week:Nn,year:Fr}}function Ct(B,ve,Ze){var ot=ut(B,ve,Ze),Lt=ut(B+1,ve,Ze);return(tn(B)-ot+Lt)/7}ge("w",["ww",2],"wo","week"),ge("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),Q("week",5),Q("isoWeek",5),_t("w",we),_t("ww",we,xe),_t("W",we),_t("WW",we,xe),Gt(["w","ww","W","WW"],function(B,ve,Ze,ot){ve[ot.substr(0,1)]=Ee(B)});function Ut(B){return It(B,this._week.dow,this._week.doy).week}var cn={dow:0,doy:6};function rn(){return this._week.dow}function Dn(){return this._week.doy}function Bn(B){var ve=this.localeData().week(this);return B==null?ve:this.add((B-ve)*7,"d")}function Cr(B){var ve=It(this,1,4).week;return B==null?ve:this.add((B-ve)*7,"d")}ge("d",0,"do","day"),ge("dd",0,0,function(B){return this.localeData().weekdaysMin(this,B)}),ge("ddd",0,0,function(B){return this.localeData().weekdaysShort(this,B)}),ge("dddd",0,0,function(B){return this.localeData().weekdays(this,B)}),ge("e",0,0,"weekday"),ge("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),Q("day",11),Q("weekday",11),Q("isoWeekday",11),_t("d",we),_t("e",we),_t("E",we),_t("dd",function(B,ve){return ve.weekdaysMinRegex(B)}),_t("ddd",function(B,ve){return ve.weekdaysShortRegex(B)}),_t("dddd",function(B,ve){return ve.weekdaysRegex(B)}),Gt(["dd","ddd","dddd"],function(B,ve,Ze,ot){var Lt=Ze._locale.weekdaysParse(B,ot,Ze._strict);Lt!=null?ve.d=Lt:C(Ze).invalidWeekday=B}),Gt(["d","e","E"],function(B,ve,Ze,ot){ve[ot]=Ee(B)});function rr(B,ve){return typeof B!="string"?B:isNaN(B)?(B=ve.weekdaysParse(B),typeof B=="number"?B:null):parseInt(B,10)}function $n(B,ve){return typeof B=="string"?ve.weekdaysParse(B)%7||7:isNaN(B)?null:B}function kr(B,ve){return B.slice(ve,7).concat(B.slice(0,ve))}var Mr="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ia="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Wn=Ot,wn=Ot,Rn=Ot;function sr(B,ve){var Ze=s(this._weekdays)?this._weekdays:this._weekdays[B&&B!==!0&&this._weekdays.isFormat.test(ve)?"format":"standalone"];return B===!0?kr(Ze,this._week.dow):B?Ze[B.day()]:Ze}function Er(B){return B===!0?kr(this._weekdaysShort,this._week.dow):B?this._weekdaysShort[B.day()]:this._weekdaysShort}function Kr(B){return B===!0?kr(this._weekdaysMin,this._week.dow):B?this._weekdaysMin[B.day()]:this._weekdaysMin}function ta(B,ve,Ze){var ot,Lt,Nn,Fr=B.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ot=0;ot<7;++ot)Nn=S([2e3,1]).day(ot),this._minWeekdaysParse[ot]=this.weekdaysMin(Nn,"").toLocaleLowerCase(),this._shortWeekdaysParse[ot]=this.weekdaysShort(Nn,"").toLocaleLowerCase(),this._weekdaysParse[ot]=this.weekdays(Nn,"").toLocaleLowerCase();return Ze?ve==="dddd"?(Lt=un.call(this._weekdaysParse,Fr),Lt!==-1?Lt:null):ve==="ddd"?(Lt=un.call(this._shortWeekdaysParse,Fr),Lt!==-1?Lt:null):(Lt=un.call(this._minWeekdaysParse,Fr),Lt!==-1?Lt:null):ve==="dddd"?(Lt=un.call(this._weekdaysParse,Fr),Lt!==-1||(Lt=un.call(this._shortWeekdaysParse,Fr),Lt!==-1)?Lt:(Lt=un.call(this._minWeekdaysParse,Fr),Lt!==-1?Lt:null)):ve==="ddd"?(Lt=un.call(this._shortWeekdaysParse,Fr),Lt!==-1||(Lt=un.call(this._weekdaysParse,Fr),Lt!==-1)?Lt:(Lt=un.call(this._minWeekdaysParse,Fr),Lt!==-1?Lt:null)):(Lt=un.call(this._minWeekdaysParse,Fr),Lt!==-1||(Lt=un.call(this._weekdaysParse,Fr),Lt!==-1)?Lt:(Lt=un.call(this._shortWeekdaysParse,Fr),Lt!==-1?Lt:null))}function ga(B,ve,Ze){var ot,Lt,Nn;if(this._weekdaysParseExact)return ta.call(this,B,ve,Ze);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ot=0;ot<7;ot++){if(Lt=S([2e3,1]).day(ot),Ze&&!this._fullWeekdaysParse[ot]&&(this._fullWeekdaysParse[ot]=new RegExp("^"+this.weekdays(Lt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ot]=new RegExp("^"+this.weekdaysShort(Lt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ot]=new RegExp("^"+this.weekdaysMin(Lt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ot]||(Nn="^"+this.weekdays(Lt,"")+"|^"+this.weekdaysShort(Lt,"")+"|^"+this.weekdaysMin(Lt,""),this._weekdaysParse[ot]=new RegExp(Nn.replace(".",""),"i")),Ze&&ve==="dddd"&&this._fullWeekdaysParse[ot].test(B))return ot;if(Ze&&ve==="ddd"&&this._shortWeekdaysParse[ot].test(B))return ot;if(Ze&&ve==="dd"&&this._minWeekdaysParse[ot].test(B))return ot;if(!Ze&&this._weekdaysParse[ot].test(B))return ot}}function pr(B){if(!this.isValid())return B!=null?this:NaN;var ve=this._isUTC?this._d.getUTCDay():this._d.getDay();return B!=null?(B=rr(B,this.localeData()),this.add(B-ve,"d")):ve}function Ur(B){if(!this.isValid())return B!=null?this:NaN;var ve=(this.day()+7-this.localeData()._week.dow)%7;return B==null?ve:this.add(B-ve,"d")}function Ma(B){if(!this.isValid())return B!=null?this:NaN;if(B!=null){var ve=$n(B,this.localeData());return this.day(this.day()%7?ve:ve-7)}else return this.day()||7}function ma(B){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Sr.call(this),B?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Wn),this._weekdaysStrictRegex&&B?this._weekdaysStrictRegex:this._weekdaysRegex)}function Yn(B){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Sr.call(this),B?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=wn),this._weekdaysShortStrictRegex&&B?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Zn(B){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Sr.call(this),B?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rn),this._weekdaysMinStrictRegex&&B?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Sr(){function B(Yi,tl){return tl.length-Yi.length}var ve=[],Ze=[],ot=[],Lt=[],Nn,Fr,oo,jo,li;for(Nn=0;Nn<7;Nn++)Fr=S([2e3,1]).day(Nn),oo=tt(this.weekdaysMin(Fr,"")),jo=tt(this.weekdaysShort(Fr,"")),li=tt(this.weekdays(Fr,"")),ve.push(oo),Ze.push(jo),ot.push(li),Lt.push(oo),Lt.push(jo),Lt.push(li);ve.sort(B),Ze.sort(B),ot.sort(B),Lt.sort(B),this._weekdaysRegex=new RegExp("^("+Lt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ot.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Ze.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+ve.join("|")+")","i")}function Xr(){return this.hours()%12||12}function wr(){return this.hours()||24}ge("H",["HH",2],0,"hour"),ge("h",["hh",2],0,Xr),ge("k",["kk",2],0,wr),ge("hmm",0,0,function(){return""+Xr.apply(this)+U(this.minutes(),2)}),ge("hmmss",0,0,function(){return""+Xr.apply(this)+U(this.minutes(),2)+U(this.seconds(),2)}),ge("Hmm",0,0,function(){return""+this.hours()+U(this.minutes(),2)}),ge("Hmmss",0,0,function(){return""+this.hours()+U(this.minutes(),2)+U(this.seconds(),2)});function Pt(B,ve){ge(B,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),ve)})}Pt("a",!0),Pt("A",!1),H("hour","h"),Q("hour",13);function on(B,ve){return ve._meridiemParse}_t("a",on),_t("A",on),_t("H",we),_t("h",we),_t("k",we),_t("HH",we,xe),_t("hh",we,xe),_t("kk",we,xe),_t("hmm",Ne),_t("hmmss",st),_t("Hmm",Ne),_t("Hmmss",st),lt(["H","HH"],bt),lt(["k","kk"],function(B,ve,Ze){var ot=Ee(B);ve[bt]=ot===24?0:ot}),lt(["a","A"],function(B,ve,Ze){Ze._isPm=Ze._locale.isPM(B),Ze._meridiem=B}),lt(["h","hh"],function(B,ve,Ze){ve[bt]=Ee(B),C(Ze).bigHour=!0}),lt("hmm",function(B,ve,Ze){var ot=B.length-2;ve[bt]=Ee(B.substr(0,ot)),ve[jt]=Ee(B.substr(ot)),C(Ze).bigHour=!0}),lt("hmmss",function(B,ve,Ze){var ot=B.length-4,Lt=B.length-2;ve[bt]=Ee(B.substr(0,ot)),ve[jt]=Ee(B.substr(ot,2)),ve[He]=Ee(B.substr(Lt)),C(Ze).bigHour=!0}),lt("Hmm",function(B,ve,Ze){var ot=B.length-2;ve[bt]=Ee(B.substr(0,ot)),ve[jt]=Ee(B.substr(ot))}),lt("Hmmss",function(B,ve,Ze){var ot=B.length-4,Lt=B.length-2;ve[bt]=Ee(B.substr(0,ot)),ve[jt]=Ee(B.substr(ot,2)),ve[He]=Ee(B.substr(Lt))});function Mn(B){return(B+"").toLowerCase().charAt(0)==="p"}var Ja=/[ap]\.?m?\.?/i,mo=Me("Hours",!0);function Ua(B,ve,Ze){return B>11?Ze?"pm":"PM":Ze?"am":"AM"}var ka={calendar:O,longDateFormat:Qe,invalidDate:Et,ordinal:Wt,dayOfMonthOrdinalParse:$e,relativeTime:nt,months:pn,monthsShort:Gn,week:cn,weekdays:Mr,weekdaysMin:zr,weekdaysShort:ia,meridiemParse:Ja},Qa={},wo={},No;function ho(B,ve){var Ze,ot=Math.min(B.length,ve.length);for(Ze=0;Ze0;){if(Lt=dn(Nn.slice(0,Ze).join("-")),Lt)return Lt;if(ot&&ot.length>=Ze&&ho(Nn,ot)>=Ze-1)break;Ze--}ve++}return No}function Ae(B){return B.match("^[^/\\\\]*$")!=null}function dn(B){var ve=null,Ze;if(Qa[B]===void 0&&b&&b.exports&&Ae(B))try{ve=No._abbr,Ze=void 0,Object(function(){var Lt=new Error("Cannot find module 'undefined'");throw Lt.code="MODULE_NOT_FOUND",Lt}()),Pn(ve)}catch(ot){Qa[B]=null}return Qa[B]}function Pn(B,ve){var Ze;return B&&(c(ve)?Ze=ir(B):Ze=Sn(B,ve),Ze?No=Ze:typeof console!="undefined"&&console.warn&&console.warn("Locale "+B+" not found. Did you forget to load it?")),No._abbr}function Sn(B,ve){if(ve!==null){var Ze,ot=ka;if(ve.abbr=B,Qa[B]!=null)V("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),ot=Qa[B]._config;else if(ve.parentLocale!=null)if(Qa[ve.parentLocale]!=null)ot=Qa[ve.parentLocale]._config;else if(Ze=dn(ve.parentLocale),Ze!=null)ot=Ze._config;else return wo[ve.parentLocale]||(wo[ve.parentLocale]=[]),wo[ve.parentLocale].push({name:B,config:ve}),null;return Qa[B]=new W(X(ot,ve)),wo[B]&&wo[B].forEach(function(Lt){Sn(Lt.name,Lt.config)}),Pn(B),Qa[B]}else return delete Qa[B],null}function er(B,ve){if(ve!=null){var Ze,ot,Lt=ka;Qa[B]!=null&&Qa[B].parentLocale!=null?Qa[B].set(X(Qa[B]._config,ve)):(ot=dn(B),ot!=null&&(Lt=ot._config),ve=X(Lt,ve),ot==null&&(ve.abbr=B),Ze=new W(ve),Ze.parentLocale=Qa[B],Qa[B]=Ze),Pn(B)}else Qa[B]!=null&&(Qa[B].parentLocale!=null?(Qa[B]=Qa[B].parentLocale,B===Pn()&&Pn(B)):Qa[B]!=null&&delete Qa[B]);return Qa[B]}function ir(B){var ve;if(B&&B._locale&&B._locale._abbr&&(B=B._locale._abbr),!B)return No;if(!s(B)){if(ve=dn(B),ve)return ve;B=[B]}return Rt(B)}function Hr(){return x(Qa)}function Oa(B){var ve,Ze=B._a;return Ze&&C(B).overflow===-2&&(ve=Ze[Ie]<0||Ze[Ie]>11?Ie:Ze[Se]<1||Ze[Se]>xn(Ze[At],Ze[Ie])?Se:Ze[bt]<0||Ze[bt]>24||Ze[bt]===24&&(Ze[jt]!==0||Ze[He]!==0||Ze[qe]!==0)?bt:Ze[jt]<0||Ze[jt]>59?jt:Ze[He]<0||Ze[He]>59?He:Ze[qe]<0||Ze[qe]>999?qe:-1,C(B)._overflowDayOfYear&&(veSe)&&(ve=Se),C(B)._overflowWeeks&&ve===-1&&(ve=$t),C(B)._overflowWeekday&&ve===-1&&(ve=Zt),C(B).overflow=ve),B}var oa=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Jr=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,na=/Z|[+-]\d\d(?::?\d\d)?/,Lr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Zr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ca=/^\/?Date\((-?\d+)/i,Ta=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,eo={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Va(B){var ve,Ze,ot=B._i,Lt=oa.exec(ot)||Jr.exec(ot),Nn,Fr,oo,jo,li=Lr.length,Yi=Zr.length;if(Lt){for(C(B).iso=!0,ve=0,Ze=li;vetn(Fr)||B._dayOfYear===0)&&(C(B)._overflowDayOfYear=!0),Ze=nr(Fr,0,B._dayOfYear),B._a[Ie]=Ze.getUTCMonth(),B._a[Se]=Ze.getUTCDate()),ve=0;ve<3&&B._a[ve]==null;++ve)B._a[ve]=ot[ve]=Lt[ve];for(;ve<7;ve++)B._a[ve]=ot[ve]=B._a[ve]==null?ve===2?1:0:B._a[ve];B._a[bt]===24&&B._a[jt]===0&&B._a[He]===0&&B._a[qe]===0&&(B._nextDay=!0,B._a[bt]=0),B._d=(B._useUTC?nr:_n).apply(null,ot),Nn=B._useUTC?B._d.getUTCDay():B._d.getDay(),B._tzm!=null&&B._d.setUTCMinutes(B._d.getUTCMinutes()-B._tzm),B._nextDay&&(B._a[bt]=24),B._w&&typeof B._w.d!="undefined"&&B._w.d!==Nn&&(C(B).weekdayMismatch=!0)}}function Ia(B){var ve,Ze,ot,Lt,Nn,Fr,oo,jo,li;ve=B._w,ve.GG!=null||ve.W!=null||ve.E!=null?(Nn=1,Fr=4,Ze=dr(ve.GG,B._a[At],It(Ba(),1,4).year),ot=dr(ve.W,1),Lt=dr(ve.E,1),(Lt<1||Lt>7)&&(jo=!0)):(Nn=B._locale._week.dow,Fr=B._locale._week.doy,li=It(Ba(),Nn,Fr),Ze=dr(ve.gg,B._a[At],li.year),ot=dr(ve.w,li.week),ve.d!=null?(Lt=ve.d,(Lt<0||Lt>6)&&(jo=!0)):ve.e!=null?(Lt=ve.e+Nn,(ve.e<0||ve.e>6)&&(jo=!0)):Lt=Nn),ot<1||ot>Ct(Ze,Nn,Fr)?C(B)._overflowWeeks=!0:jo!=null?C(B)._overflowWeekday=!0:(oo=ct(Ze,ot,Lt,Nn,Fr),B._a[At]=oo.year,B._dayOfYear=oo.dayOfYear)}t.ISO_8601=function(){},t.RFC_2822=function(){};function Ca(B){if(B._f===t.ISO_8601){Va(B);return}if(B._f===t.RFC_2822){Wr(B);return}B._a=[],C(B).empty=!0;var ve=""+B._i,Ze,ot,Lt,Nn,Fr,oo=ve.length,jo=0,li,Yi;for(Lt=Je(B._f,B._locale).match(A)||[],Yi=Lt.length,Ze=0;Ze0&&C(B).unusedInput.push(Fr),ve=ve.slice(ve.indexOf(ot)+ot.length),jo+=ot.length),pe[Nn]?(ot?C(B).empty=!1:C(B).unusedTokens.push(Nn),Nt(Nn,ot,B)):B._strict&&!ot&&C(B).unusedTokens.push(Nn);C(B).charsLeftOver=oo-jo,ve.length>0&&C(B).unusedInput.push(ve),B._a[bt]<=12&&C(B).bigHour===!0&&B._a[bt]>0&&(C(B).bigHour=void 0),C(B).parsedDateParts=B._a.slice(0),C(B).meridiem=B._meridiem,B._a[bt]=qr(B._locale,B._a[bt],B._meridiem),li=C(B).era,li!==null&&(B._a[At]=B._locale.erasConvertYear(li,B._a[At])),la(B),Oa(B)}function qr(B,ve,Ze){var ot;return Ze==null?ve:B.meridiemHour!=null?B.meridiemHour(ve,Ze):(B.isPM!=null&&(ot=B.isPM(Ze),ot&&ve<12&&(ve+=12),!ot&&ve===12&&(ve=0)),ve)}function fo(B){var ve,Ze,ot,Lt,Nn,Fr,oo=!1,jo=B._f.length;if(jo===0){C(B).invalidFormat=!0,B._d=new Date(NaN);return}for(Lt=0;Ltthis?this:B:N()});function Jo(B,ve){var Ze,ot;if(ve.length===1&&s(ve[0])&&(ve=ve[0]),!ve.length)return Ba();for(Ze=ve[0],ot=1;otthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Kn(){if(!c(this._isDSTShifted))return this._isDSTShifted;var B={},ve;return D(B,this),B=bo(B),B._a?(ve=B._isUTC?S(B._a):Ba(B._a),this._isDSTShifted=this.isValid()&&to(B._a,ve.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gr(){return this.isValid()?!this._isUTC:!1}function jr(){return this.isValid()?this._isUTC:!1}function Br(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ra=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ja=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ra(B,ve){var Ze=B,ot=null,Lt,Nn,Fr;return Ni(B)?Ze={ms:B._milliseconds,d:B._days,M:B._months}:m(B)||!isNaN(+B)?(Ze={},ve?Ze[ve]=+B:Ze.milliseconds=+B):(ot=ra.exec(B))?(Lt=ot[1]==="-"?-1:1,Ze={y:0,d:Ee(ot[Se])*Lt,h:Ee(ot[bt])*Lt,m:Ee(ot[jt])*Lt,s:Ee(ot[He])*Lt,ms:Ee(Ei(ot[qe]*1e3))*Lt}):(ot=ja.exec(B))?(Lt=ot[1]==="-"?-1:1,Ze={y:Pa(ot[2],Lt),M:Pa(ot[3],Lt),w:Pa(ot[4],Lt),d:Pa(ot[5],Lt),h:Pa(ot[6],Lt),m:Pa(ot[7],Lt),s:Pa(ot[8],Lt)}):Ze==null?Ze={}:typeof Ze=="object"&&("from"in Ze||"to"in Ze)&&(Fr=Yo(Ba(Ze.from),Ba(Ze.to)),Ze={},Ze.ms=Fr.milliseconds,Ze.M=Fr.months),Nn=new Si(Ze),Ni(B)&&d(B,"_locale")&&(Nn._locale=B._locale),Ni(B)&&d(B,"_isValid")&&(Nn._isValid=B._isValid),Nn}Ra.fn=Si.prototype,Ra.invalid=ri;function Pa(B,ve){var Ze=B&&parseFloat(B.replace(",","."));return(isNaN(Ze)?0:Ze)*ve}function To(B,ve){var Ze={};return Ze.months=ve.month()-B.month()+(ve.year()-B.year())*12,B.clone().add(Ze.months,"M").isAfter(ve)&&--Ze.months,Ze.milliseconds=+ve-+B.clone().add(Ze.months,"M"),Ze}function Yo(B,ve){var Ze;return B.isValid()&&ve.isValid()?(ve=xo(ve,B),B.isBefore(ve)?Ze=To(B,ve):(Ze=To(ve,B),Ze.milliseconds=-Ze.milliseconds,Ze.months=-Ze.months),Ze):{milliseconds:0,months:0}}function Zo(B,ve){return function(Ze,ot){var Lt,Nn;return ot!==null&&!isNaN(+ot)&&(V(ve,"moment()."+ve+"(period, number) is deprecated. Please use moment()."+ve+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Nn=Ze,Ze=ot,ot=Nn),Lt=Ra(Ze,ot),zi(this,Lt,B),this}}function zi(B,ve,Ze,ot){var Lt=ve._milliseconds,Nn=Ei(ve._days),Fr=Ei(ve._months);B.isValid()&&(ot=ot==null?!0:ot,Fr&&An(B,We(B,"Month")+Fr*Ze),Nn&&re(B,"Date",We(B,"Date")+Nn*Ze),Lt&&B._d.setTime(B._d.valueOf()+Lt*Ze),ot&&t.updateOffset(B,Nn||Fr))}var bs=Zo(1,"add"),Gi=Zo(-1,"subtract");function Ds(B){return typeof B=="string"||B instanceof String}function Xi(B){return j(B)||g(B)||Ds(B)||m(B)||tu(B)||Vo(B)||B===null||B===void 0}function Vo(B){var ve=n(B)&&!l(B),Ze=!1,ot=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Lt,Nn,Fr=ot.length;for(Lt=0;LtZe.valueOf():Ze.valueOf()9999?Ge(Ze,ve?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):q(Date.prototype.toISOString)?ve?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ge(Ze,"Z")):Ge(Ze,ve?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Vl(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var B="moment",ve="",Ze,ot,Lt,Nn;return this.isLocal()||(B=this.utcOffset()===0?"moment.utc":"moment.parseZone",ve="Z"),Ze="["+B+'("]',ot=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",Lt="-MM-DD[T]HH:mm:ss.SSS",Nn=ve+'[")]',this.format(Ze+ot+Lt+Nn)}function Ps(B){B||(B=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var ve=Ge(this,B);return this.localeData().postformat(ve)}function Ft(B,ve){return this.isValid()&&(j(B)&&B.isValid()||Ba(B).isValid())?Ra({to:this,from:B}).locale(this.locale()).humanize(!ve):this.localeData().invalidDate()}function So(B){return this.from(Ba(),B)}function $s(B,ve){return this.isValid()&&(j(B)&&B.isValid()||Ba(B).isValid())?Ra({from:this,to:B}).locale(this.locale()).humanize(!ve):this.localeData().invalidDate()}function zo(B){return this.to(Ba(),B)}function dl(B){var ve;return B===void 0?this._locale._abbr:(ve=ir(B),ve!=null&&(this._locale=ve),this)}var sa=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(B){return B===void 0?this.localeData():this.locale(B)});function fl(){return this._locale}var ru=1e3,Xs=60*ru,Fl=60*Xs,Gl=(365*400+97)*24*Fl;function Io(B,ve){return(B%ve+ve)%ve}function bi(B,ve,Ze){return B<100&&B>=0?new Date(B+400,ve,Ze)-Gl:new Date(B,ve,Ze).valueOf()}function fc(B,ve,Ze){return B<100&&B>=0?Date.UTC(B+400,ve,Ze)-Gl:Date.UTC(B,ve,Ze)}function ec(B){var ve,Ze;if(B=R(B),B===void 0||B==="millisecond"||!this.isValid())return this;switch(Ze=this._isUTC?fc:bi,B){case"year":ve=Ze(this.year(),0,1);break;case"quarter":ve=Ze(this.year(),this.month()-this.month()%3,1);break;case"month":ve=Ze(this.year(),this.month(),1);break;case"week":ve=Ze(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":ve=Ze(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":ve=Ze(this.year(),this.month(),this.date());break;case"hour":ve=this._d.valueOf(),ve-=Io(ve+(this._isUTC?0:this.utcOffset()*Xs),Fl);break;case"minute":ve=this._d.valueOf(),ve-=Io(ve,Xs);break;case"second":ve=this._d.valueOf(),ve-=Io(ve,ru);break}return this._d.setTime(ve),t.updateOffset(this,!0),this}function no(B){var ve,Ze;if(B=R(B),B===void 0||B==="millisecond"||!this.isValid())return this;switch(Ze=this._isUTC?fc:bi,B){case"year":ve=Ze(this.year()+1,0,1)-1;break;case"quarter":ve=Ze(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":ve=Ze(this.year(),this.month()+1,1)-1;break;case"week":ve=Ze(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":ve=Ze(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":ve=Ze(this.year(),this.month(),this.date()+1)-1;break;case"hour":ve=this._d.valueOf(),ve+=Fl-Io(ve+(this._isUTC?0:this.utcOffset()*Xs),Fl)-1;break;case"minute":ve=this._d.valueOf(),ve+=Xs-Io(ve,Xs)-1;break;case"second":ve=this._d.valueOf(),ve+=ru-Io(ve,ru)-1;break}return this._d.setTime(ve),t.updateOffset(this,!0),this}function Ji(){return this._d.valueOf()-(this._offset||0)*6e4}function Zs(){return Math.floor(this.valueOf()/1e3)}function Na(){return new Date(this.valueOf())}function au(){var B=this;return[B.year(),B.month(),B.date(),B.hour(),B.minute(),B.second(),B.millisecond()]}function _i(){var B=this;return{years:B.year(),months:B.month(),date:B.date(),hours:B.hours(),minutes:B.minutes(),seconds:B.seconds(),milliseconds:B.milliseconds()}}function Al(){return this.isValid()?this.toISOString():null}function vl(){return Z(this)}function vu(){return h({},C(this))}function Bl(){return C(this).overflow}function tc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ge("N",0,0,"eraAbbr"),ge("NN",0,0,"eraAbbr"),ge("NNN",0,0,"eraAbbr"),ge("NNNN",0,0,"eraName"),ge("NNNNN",0,0,"eraNarrow"),ge("y",["y",1],"yo","eraYear"),ge("y",["yy",2],0,"eraYear"),ge("y",["yyy",3],0,"eraYear"),ge("y",["yyyy",4],0,"eraYear"),_t("N",$i),_t("NN",$i),_t("NNN",$i),_t("NNNN",$o),_t("NNNNN",uo),lt(["N","NN","NNN","NNNN","NNNNN"],function(B,ve,Ze,ot){var Lt=Ze._locale.erasParse(B,ot,Ze._strict);Lt?C(Ze).era=Lt:C(Ze).invalidEra=B}),_t("y",Be),_t("yy",Be),_t("yyy",Be),_t("yyyy",Be),_t("yo",Uu),lt(["y","yy","yyy","yyyy"],At),lt(["yo"],function(B,ve,Ze,ot){var Lt;Ze._locale._eraYearOrdinalRegex&&(Lt=B.match(Ze._locale._eraYearOrdinalRegex)),Ze._locale.eraYearOrdinalParse?ve[At]=Ze._locale.eraYearOrdinalParse(B,Lt):ve[At]=parseInt(B,10)});function Zu(B,ve){var Ze,ot,Lt,Nn=this._eras||ir("en")._eras;for(Ze=0,ot=Nn.length;Ze=0)return Nn[ot]}function Au(B,ve){var Ze=B.since<=B.until?1:-1;return ve===void 0?t(B.since).year():t(B.since).year()+(ve-B.offset)*Ze}function Kl(){var B,ve,Ze,ot=this.localeData().eras();for(B=0,ve=ot.length;BNn&&(ve=Nn),ou.call(this,B,ve,Ze,ot,Lt))}function ou(B,ve,Ze,ot,Lt){var Nn=ct(B,ve,Ze,ot,Lt),Fr=nr(Nn.year,0,Nn.dayOfYear);return this.year(Fr.getUTCFullYear()),this.month(Fr.getUTCMonth()),this.date(Fr.getUTCDate()),this}ge("Q",0,"Qo","quarter"),H("quarter","Q"),Q("quarter",7),_t("Q",de),lt("Q",function(B,ve){ve[Ie]=(Ee(B)-1)*3});function Zi(B){return B==null?Math.ceil((this.month()+1)/3):this.month((B-1)*3+this.month()%3)}ge("D",["DD",2],"Do","date"),H("date","D"),Q("date",9),_t("D",we),_t("DD",we,xe),_t("Do",function(B,ve){return B?ve._dayOfMonthOrdinalParse||ve._ordinalParse:ve._dayOfMonthOrdinalParseLenient}),lt(["D","DD"],Se),lt("Do",function(B,ve){ve[Se]=Ee(B.match(we)[0])});var iu=Me("Date",!0);ge("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),Q("dayOfYear",4),_t("DDD",et),_t("DDDD",ce),lt(["DDD","DDDD"],function(B,ve,Ze){Ze._dayOfYear=Ee(B)});function mu(B){var ve=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return B==null?ve:this.add(B-ve,"d")}ge("m",["mm",2],0,"minute"),H("minute","m"),Q("minute",14),_t("m",we),_t("mm",we,xe),lt(["m","mm"],jt);var Us=Me("Minutes",!1);ge("s",["ss",2],0,"second"),H("second","s"),Q("second",15),_t("s",we),_t("ss",we,xe),lt(["s","ss"],He);var wl=Me("Seconds",!1);ge("S",0,0,function(){return~~(this.millisecond()/100)}),ge(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),ge(0,["SSS",3],0,"millisecond"),ge(0,["SSSS",4],0,function(){return this.millisecond()*10}),ge(0,["SSSSS",5],0,function(){return this.millisecond()*100}),ge(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),ge(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),ge(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),ge(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),H("millisecond","ms"),Q("millisecond",16),_t("S",et,de),_t("SS",et,xe),_t("SSS",et,ce);var jl,Ss;for(jl="SSSS";jl.length<=9;jl+="S")_t(jl,Be);function gs(B,ve){ve[qe]=Ee(("0."+B)*1e3)}for(jl="S";jl.length<=9;jl+="S")lt(jl,gs);Ss=Me("Milliseconds",!1),ge("z",0,0,"zoneAbbr"),ge("zz",0,0,"zoneName");function Ou(){return this._isUTC?"UTC":""}function ks(){return this._isUTC?"Coordinated Universal Time":""}var va=T.prototype;va.add=bs,va.calendar=Iu,va.clone=cl,va.diff=Ms,va.endOf=no,va.format=Ps,va.from=Ft,va.fromNow=So,va.to=$s,va.toNow=zo,va.get=se,va.invalidAt=Bl,va.isAfter=Ks,va.isBefore=ws,va.isBetween=Qs,va.isSame=zl,va.isSameOrAfter=fu,va.isSameOrBefore=rs,va.isValid=vl,va.lang=sa,va.locale=dl,va.localeData=fl,va.max=Ko,va.min=Mo,va.parsingFlags=vu,va.set=J,va.startOf=ec,va.subtract=Gi,va.toArray=au,va.toObject=_i,va.toDate=Na,va.toISOString=nu,va.inspect=Vl,typeof Symbol!="undefined"&&Symbol.for!=null&&(va[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),va.toJSON=Al,va.toString=js,va.unix=Zs,va.valueOf=Ji,va.creationData=tc,va.eraName=Kl,va.eraNarrow=vs,va.eraAbbr=Ol,va.eraYear=gl,va.year=yn,va.isLeapYear=gn,va.weekYear=Dl,va.isoWeekYear=Mi,va.quarter=va.quarters=Zi,va.month=sn,va.daysInMonth=mt,va.week=va.weeks=Bn,va.isoWeek=va.isoWeeks=Cr,va.weeksInYear=as,va.weeksInWeekYear=vo,va.isoWeeksInYear=xi,va.isoWeeksInISOWeekYear=qi,va.date=iu,va.day=va.days=pr,va.weekday=Ur,va.isoWeekday=Ma,va.dayOfYear=mu,va.hour=va.hours=mo,va.minute=va.minutes=Us,va.second=va.seconds=wl,va.millisecond=va.milliseconds=Ss,va.utcOffset=Ci,va.utc=Ui,va.local=Os,va.parseZone=fs,va.hasAlignedHourOffset=Gs,va.isDST=xl,va.isLocal=Gr,va.isUtcOffset=jr,va.isUtc=Br,va.isUTC=Br,va.zoneAbbr=Ou,va.zoneName=ks,va.dates=k("dates accessor is deprecated. Use date instead.",iu),va.months=k("months accessor is deprecated. Use month instead",sn),va.years=k("years accessor is deprecated. Use year instead",yn),va.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ri),va.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Kn);function at(B){return Ba(B*1e3)}function Kt(){return Ba.apply(null,arguments).parseZone()}function Vn(B){return B}var gr=W.prototype;gr.calendar=_,gr.longDateFormat=pt,gr.invalidDate=ft,gr.ordinal=Xe,gr.preparse=Vn,gr.postformat=Vn,gr.relativeTime=Ke,gr.pastFuture=ye,gr.set=le,gr.eras=Zu,gr.erasParse=Lo,gr.erasConvertYear=Au,gr.erasAbbrRegex=Di,gr.erasNameRegex=kt,gr.erasNarrowRegex=Ql,gr.months=zt,gr.monthsShort=en,gr.monthsParse=vn,gr.monthsRegex=ln,gr.monthsShortRegex=gt,gr.week=Ut,gr.firstDayOfYear=Dn,gr.firstDayOfWeek=rn,gr.weekdays=sr,gr.weekdaysMin=Kr,gr.weekdaysShort=Er,gr.weekdaysParse=ga,gr.weekdaysRegex=ma,gr.weekdaysShortRegex=Yn,gr.weekdaysMinRegex=Zn,gr.isPM=Mn,gr.meridiem=Ua;function Da(B,ve,Ze,ot){var Lt=ir(),Nn=S().set(ot,ve);return Lt[Ze](Nn,B)}function lo(B,ve,Ze){if(m(B)&&(ve=B,B=void 0),B=B||"",ve!=null)return Da(B,ve,Ze,"month");var ot,Lt=[];for(ot=0;ot<12;ot++)Lt[ot]=Da(B,ot,Ze,"month");return Lt}function ii(B,ve,Ze,ot){typeof B=="boolean"?(m(ve)&&(Ze=ve,ve=void 0),ve=ve||""):(ve=B,Ze=ve,B=!1,m(ve)&&(Ze=ve,ve=void 0),ve=ve||"");var Lt=ir(),Nn=B?Lt._week.dow:0,Fr,oo=[];if(Ze!=null)return Da(ve,(Ze+Nn)%7,ot,"day");for(Fr=0;Fr<7;Fr++)oo[Fr]=Da(ve,(Fr+Nn)%7,ot,"day");return oo}function Fo(B,ve){return lo(B,ve,"months")}function es(B,ve){return lo(B,ve,"monthsShort")}function ei(B,ve,Ze){return ii(B,ve,Ze,"weekdays")}function di(B,ve,Ze){return ii(B,ve,Ze,"weekdaysShort")}function Eo(B,ve,Ze){return ii(B,ve,Ze,"weekdaysMin")}Pn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(B){var ve=B%10,Ze=Ee(B%100/10)===1?"th":ve===1?"st":ve===2?"nd":ve===3?"rd":"th";return B+Ze}}),t.lang=k("moment.lang is deprecated. Use moment.locale instead.",Pn),t.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ir);var Ao=Math.abs;function ki(){var B=this._data;return this._milliseconds=Ao(this._milliseconds),this._days=Ao(this._days),this._months=Ao(this._months),B.milliseconds=Ao(B.milliseconds),B.seconds=Ao(B.seconds),B.minutes=Ao(B.minutes),B.hours=Ao(B.hours),B.months=Ao(B.months),B.years=Ao(B.years),this}function ms(B,ve,Ze,ot){var Lt=Ra(ve,Ze);return B._milliseconds+=ot*Lt._milliseconds,B._days+=ot*Lt._days,B._months+=ot*Lt._months,B._bubble()}function Du(B,ve){return ms(this,B,ve,1)}function Xl(B,ve){return ms(this,B,ve,-1)}function ls(B){return B<0?Math.floor(B):Math.ceil(B)}function wu(){var B=this._milliseconds,ve=this._days,Ze=this._months,ot=this._data,Lt,Nn,Fr,oo,jo;return B>=0&&ve>=0&&Ze>=0||B<=0&&ve<=0&&Ze<=0||(B+=ls(us(Ze)+ve)*864e5,ve=0,Ze=0),ot.milliseconds=B%1e3,Lt=je(B/1e3),ot.seconds=Lt%60,Nn=je(Lt/60),ot.minutes=Nn%60,Fr=je(Nn/60),ot.hours=Fr%24,ve+=je(Fr/24),jo=je(Jl(ve)),Ze+=jo,ve-=ls(us(jo)),oo=je(Ze/12),Ze%=12,ot.days=ve,ot.months=Ze,ot.years=oo,this}function Jl(B){return B*4800/146097}function us(B){return B*146097/4800}function Oc(B){if(!this.isValid())return NaN;var ve,Ze,ot=this._milliseconds;if(B=R(B),B==="month"||B==="quarter"||B==="year")switch(ve=this._days+ot/864e5,Ze=this._months+Jl(ve),B){case"month":return Ze;case"quarter":return Ze/3;case"year":return Ze/12}else switch(ve=this._days+Math.round(us(this._months)),B){case"week":return ve/7+ot/6048e5;case"day":return ve+ot/864e5;case"hour":return ve*24+ot/36e5;case"minute":return ve*1440+ot/6e4;case"second":return ve*86400+ot/1e3;case"millisecond":return Math.floor(ve*864e5)+ot;default:throw new Error("Unknown unit "+B)}}function nc(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Ee(this._months/12)*31536e6:NaN}function ml(B){return function(){return this.as(B)}}var Pl=ml("ms"),$l=ml("s"),ku=ml("m"),Dc=ml("h"),pu=ml("d"),hu=ml("w"),yu=ml("M"),os=ml("Q"),ju=ml("y");function ps(){return Ra(this)}function Ki(B){return B=R(B),this.isValid()?this[B+"s"]():NaN}function Ts(B){return function(){return this.isValid()?this._data[B]:NaN}}var qs=Ts("milliseconds"),Uo=Ts("seconds"),su=Ts("minutes"),cs=Ts("hours"),rc=Ts("days"),el=Ts("months"),pl=Ts("years");function Ls(){return je(this.days()/7)}var fi=Math.round,Es={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function bu(B,ve,Ze,ot,Lt){return Lt.relativeTime(ve||1,!!Ze,B,ot)}function Pu(B,ve,Ze,ot){var Lt=Ra(B).abs(),Nn=fi(Lt.as("s")),Fr=fi(Lt.as("m")),oo=fi(Lt.as("h")),jo=fi(Lt.as("d")),li=fi(Lt.as("M")),Yi=fi(Lt.as("w")),tl=fi(Lt.as("y")),yl=Nn<=Ze.ss&&["s",Nn]||Nn0,yl[4]=ot,bu.apply(null,yl)}function hl(B){return B===void 0?fi:typeof B=="function"?(fi=B,!0):!1}function Wu(B,ve){return Es[B]===void 0?!1:ve===void 0?Es[B]:(Es[B]=ve,B==="s"&&(Es.ss=ve-1),!0)}function Tu(B,ve){if(!this.isValid())return this.localeData().invalidDate();var Ze=!1,ot=Es,Lt,Nn;return typeof B=="object"&&(ve=B,B=!1),typeof B=="boolean"&&(Ze=B),typeof ve=="object"&&(ot=Object.assign({},Es,ve),ve.s!=null&&ve.ss==null&&(ot.ss=ve.s-1)),Lt=this.localeData(),Nn=Pu(this,!Ze,ot,Lt),Ze&&(Nn=Lt.pastFuture(+this,Nn)),Lt.postformat(Nn)}var Zl=Math.abs;function Tl(B){return(B>0)-(B<0)||+B}function Ul(){if(!this.isValid())return this.localeData().invalidDate();var B=Zl(this._milliseconds)/1e3,ve=Zl(this._days),Ze=Zl(this._months),ot,Lt,Nn,Fr,oo=this.asSeconds(),jo,li,Yi,tl;return oo?(ot=je(B/60),Lt=je(ot/60),B%=60,ot%=60,Nn=je(Ze/12),Ze%=12,Fr=B?B.toFixed(3).replace(/\.?0+$/,""):"",jo=oo<0?"-":"",li=Tl(this._months)!==Tl(oo)?"-":"",Yi=Tl(this._days)!==Tl(oo)?"-":"",tl=Tl(this._milliseconds)!==Tl(oo)?"-":"",jo+"P"+(Nn?li+Nn+"Y":"")+(Ze?li+Ze+"M":"")+(ve?Yi+ve+"D":"")+(Lt||ot||B?"T":"")+(Lt?tl+Lt+"H":"")+(ot?tl+ot+"M":"")+(B?tl+Fr+"S":"")):"P0D"}var Xo=Si.prototype;Xo.isValid=oi,Xo.abs=ki,Xo.add=Du,Xo.subtract=Xl,Xo.as=Oc,Xo.asMilliseconds=Pl,Xo.asSeconds=$l,Xo.asMinutes=ku,Xo.asHours=Dc,Xo.asDays=pu,Xo.asWeeks=hu,Xo.asMonths=yu,Xo.asQuarters=os,Xo.asYears=ju,Xo.valueOf=nc,Xo._bubble=wu,Xo.clone=ps,Xo.get=Ki,Xo.milliseconds=qs,Xo.seconds=Uo,Xo.minutes=su,Xo.hours=cs,Xo.days=rc,Xo.weeks=Ls,Xo.months=el,Xo.years=pl,Xo.humanize=Tu,Xo.toISOString=Ul,Xo.toString=Ul,Xo.toJSON=Ul,Xo.locale=dl,Xo.localeData=fl,Xo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ul),Xo.lang=sa,ge("X",0,0,"unix"),ge("x",0,0,"valueOf"),_t("x",it),_t("X",Ht),lt("X",function(B,ve,Ze){Ze._d=new Date(parseFloat(B)*1e3)}),lt("x",function(B,ve,Ze){Ze._d=new Date(Ee(B))});return t.version="2.29.4",o(Ba),t.fn=va,t.min=ao,t.max=yi,t.now=ji,t.utc=S,t.unix=at,t.months=Fo,t.isDate=g,t.locale=Pn,t.invalid=N,t.duration=Ra,t.isMoment=j,t.weekdays=ei,t.parseZone=Kt,t.localeData=ir,t.isDuration=Ni,t.monthsShort=es,t.weekdaysMin=Eo,t.defineLocale=Sn,t.updateLocale=er,t.locales=Hr,t.weekdaysShort=di,t.normalizeUnits=R,t.relativeTimeRounding=hl,t.relativeTimeThreshold=Wu,t.calendarFormat=ul,t.prototype=va,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},t})},73656:function(b){var y=b.exports={},e,a;function t(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=t}catch(w){e=t}try{typeof clearTimeout=="function"?a=clearTimeout:a=o}catch(w){a=o}})();function s(w){if(e===setTimeout)return setTimeout(w,0);if((e===t||!e)&&setTimeout)return e=setTimeout,setTimeout(w,0);try{return e(w,0)}catch(C){try{return e.call(null,w,0)}catch(F){return e.call(this,w,0)}}}function n(w){if(a===clearTimeout)return clearTimeout(w);if((a===o||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(w);try{return a(w)}catch(C){try{return a.call(null,w)}catch(F){return a.call(this,w)}}}var d=[],l=!1,c,m=-1;function g(){!l||!c||(l=!1,c.length?d=c.concat(d):m=-1,d.length&&M())}function M(){if(!l){var w=s(g);l=!0;for(var C=d.length;C;){for(c=d,d=[];++m1)for(var F=1;F=it||Be<0||Be>=it)return Ye;var Ve=Ye[ke],xt=ke-Be;return xt>0?[].concat((0,d.Z)(Ye.slice(0,Be)),[Ve],(0,d.Z)(Ye.slice(Be,ke)),(0,d.Z)(Ye.slice(ke+1,it))):xt<0?[].concat((0,d.Z)(Ye.slice(0,ke)),(0,d.Z)(Ye.slice(ke+1,Be+1)),[Ve],(0,d.Z)(Ye.slice(Be+1,it))):Ye}var ft=["name"],Wt=[];function $e(Ye,ke,Be,it,Ve,xt){return typeof Ye=="function"?Ye(ke,Be,"source"in xt?{source:xt.source}:{}):it!==Ve}var Xe=function(Ye){(0,g.Z)(Be,Ye);var ke=(0,M.Z)(Be);function Be(it){var Ve;if((0,l.Z)(this,Be),Ve=ke.call(this,it),Ve.state={resetCount:0},Ve.cancelRegisterFunc=null,Ve.mounted=!1,Ve.touched=!1,Ve.dirty=!1,Ve.validatePromise=void 0,Ve.prevValidating=void 0,Ve.errors=Wt,Ve.warnings=Wt,Ve.cancelRegister=function(){var wt=Ve.props,_t=wt.preserve,yt=wt.isListField,ze=wt.name;Ve.cancelRegisterFunc&&Ve.cancelRegisterFunc(yt,_t,be(ze)),Ve.cancelRegisterFunc=null},Ve.getNamePath=function(){var wt=Ve.props,_t=wt.name,yt=wt.fieldContext,ze=yt.prefixName,tt=ze===void 0?[]:ze;return _t!==void 0?[].concat((0,d.Z)(tt),(0,d.Z)(_t)):[]},Ve.getRules=function(){var wt=Ve.props,_t=wt.rules,yt=_t===void 0?[]:_t,ze=wt.fieldContext;return yt.map(function(tt){return typeof tt=="function"?tt(ze):tt})},Ve.refresh=function(){Ve.mounted&&Ve.setState(function(wt){var _t=wt.resetCount;return{resetCount:_t+1}})},Ve.metaCache=null,Ve.triggerMetaEvent=function(wt){var _t=Ve.props.onMetaChange;if(_t){var yt=(0,n.Z)((0,n.Z)({},Ve.getMeta()),{},{destroy:wt});(0,w.Z)(Ve.metaCache,yt)||_t(yt),Ve.metaCache=yt}else Ve.metaCache=null},Ve.onStoreChange=function(wt,_t,yt){var ze=Ve.props,tt=ze.shouldUpdate,St=ze.dependencies,lt=St===void 0?[]:St,Gt=ze.onReset,Nt=yt.store,At=Ve.getNamePath(),Ie=Ve.getValue(wt),Se=Ve.getValue(Nt),bt=_t&&Ge(_t,At);switch(yt.type==="valueUpdate"&&yt.source==="external"&&Ie!==Se&&(Ve.touched=!0,Ve.dirty=!0,Ve.validatePromise=null,Ve.errors=Wt,Ve.warnings=Wt,Ve.triggerMetaEvent()),yt.type){case"reset":if(!_t||bt){Ve.touched=!1,Ve.dirty=!1,Ve.validatePromise=void 0,Ve.errors=Wt,Ve.warnings=Wt,Ve.triggerMetaEvent(),Gt==null||Gt(),Ve.refresh();return}break;case"remove":{if(tt){Ve.reRender();return}break}case"setField":{if(bt){var jt=yt.data;"touched"in jt&&(Ve.touched=jt.touched),"validating"in jt&&!("originRCField"in jt)&&(Ve.validatePromise=jt.validating?Promise.resolve([]):null),"errors"in jt&&(Ve.errors=jt.errors||Wt),"warnings"in jt&&(Ve.warnings=jt.warnings||Wt),Ve.dirty=!0,Ve.triggerMetaEvent(),Ve.reRender();return}if(tt&&!At.length&&$e(tt,wt,Nt,Ie,Se,yt)){Ve.reRender();return}break}case"dependenciesUpdate":{var He=lt.map(be);if(He.some(function(qe){return Ge(yt.relatedFields,qe)})){Ve.reRender();return}break}default:if(bt||(!lt.length||At.length||tt)&&$e(tt,wt,Nt,Ie,Se,yt)){Ve.reRender();return}break}tt===!0&&Ve.reRender()},Ve.validateRules=function(wt){var _t=Ve.getNamePath(),yt=Ve.getValue(),ze=wt||{},tt=ze.triggerName,St=ze.validateOnly,lt=St===void 0?!1:St,Gt=Promise.resolve().then(function(){if(!Ve.mounted)return[];var Nt=Ve.props,At=Nt.validateFirst,Ie=At===void 0?!1:At,Se=Nt.messageVariables,bt=Ve.getRules();tt&&(bt=bt.filter(function(He){return He}).filter(function(He){var qe=He.validateTrigger;if(!qe)return!0;var $t=D(qe);return $t.includes(tt)}));var jt=_(_t,yt,bt,wt,Ie,Se);return jt.catch(function(He){return He}).then(function(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wt;if(Ve.validatePromise===Gt){var qe;Ve.validatePromise=null;var $t=[],Zt=[];(qe=He.forEach)===null||qe===void 0||qe.call(He,function(qt){var un=qt.rule.warningOnly,xn=qt.errors,pn=xn===void 0?Wt:xn;un?Zt.push.apply(Zt,(0,d.Z)(pn)):$t.push.apply($t,(0,d.Z)(pn))}),Ve.errors=$t,Ve.warnings=Zt,Ve.triggerMetaEvent(),Ve.reRender()}}),jt});return lt||(Ve.validatePromise=Gt,Ve.dirty=!0,Ve.errors=Wt,Ve.warnings=Wt,Ve.triggerMetaEvent(),Ve.reRender()),Gt},Ve.isFieldValidating=function(){return!!Ve.validatePromise},Ve.isFieldTouched=function(){return Ve.touched},Ve.isFieldDirty=function(){if(Ve.dirty||Ve.props.initialValue!==void 0)return!0;var wt=Ve.props.fieldContext,_t=wt.getInternalHooks(C),yt=_t.getInitialValue;return yt(Ve.getNamePath())!==void 0},Ve.getErrors=function(){return Ve.errors},Ve.getWarnings=function(){return Ve.warnings},Ve.isListField=function(){return Ve.props.isListField},Ve.isList=function(){return Ve.props.isList},Ve.isPreserve=function(){return Ve.props.preserve},Ve.getMeta=function(){Ve.prevValidating=Ve.isFieldValidating();var wt={touched:Ve.isFieldTouched(),validating:Ve.prevValidating,errors:Ve.errors,warnings:Ve.warnings,name:Ve.getNamePath(),validated:Ve.validatePromise===null};return wt},Ve.getOnlyChild=function(wt){if(typeof wt=="function"){var _t=Ve.getMeta();return(0,n.Z)((0,n.Z)({},Ve.getOnlyChild(wt(Ve.getControlled(),_t,Ve.props.fieldContext))),{},{isFunction:!0})}var yt=(0,h.Z)(wt);return yt.length!==1||!a.isValidElement(yt[0])?{child:yt,isFunction:!1}:{child:yt[0],isFunction:!1}},Ve.getValue=function(wt){var _t=Ve.props.fieldContext.getFieldsValue,yt=Ve.getNamePath();return(0,ge.Z)(wt||_t(!0),yt)},Ve.getControlled=function(){var wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_t=Ve.props,yt=_t.trigger,ze=_t.validateTrigger,tt=_t.getValueFromEvent,St=_t.normalize,lt=_t.valuePropName,Gt=_t.getValueProps,Nt=_t.fieldContext,At=ze!==void 0?ze:Nt.validateTrigger,Ie=Ve.getNamePath(),Se=Nt.getInternalHooks,bt=Nt.getFieldsValue,jt=Se(C),He=jt.dispatch,qe=Ve.getValue(),$t=Gt||function(xn){return(0,s.Z)({},lt,xn)},Zt=wt[yt],qt=(0,n.Z)((0,n.Z)({},wt),$t(qe));qt[yt]=function(){Ve.touched=!0,Ve.dirty=!0,Ve.triggerMetaEvent();for(var xn,pn=arguments.length,Gn=new Array(pn),Qn=0;Qn=0&&qt<=un.length?(yt.keys=[].concat((0,d.Z)(yt.keys.slice(0,qt)),[yt.id],(0,d.Z)(yt.keys.slice(qt))),Se([].concat((0,d.Z)(un.slice(0,qt)),[Zt],(0,d.Z)(un.slice(qt))))):(yt.keys=[].concat((0,d.Z)(yt.keys),[yt.id]),Se([].concat((0,d.Z)(un),[Zt]))),yt.id+=1},remove:function(Zt){var qt=jt(),un=new Set(Array.isArray(Zt)?Zt:[Zt]);un.size<=0||(yt.keys=yt.keys.filter(function(xn,pn){return!un.has(pn)}),Se(qt.filter(function(xn,pn){return!un.has(pn)})))},move:function(Zt,qt){if(Zt!==qt){var un=jt();Zt<0||Zt>=un.length||qt<0||qt>=un.length||(yt.keys=Et(yt.keys,Zt,qt),Se(Et(un,Zt,qt)))}}},qe=Ie||[];return Array.isArray(qe)||(qe=[]),it(qe.map(function($t,Zt){var qt=yt.keys[Zt];return qt===void 0&&(yt.keys[Zt]=yt.id,qt=yt.keys[Zt],yt.id+=1),{name:Zt,key:qt,isListField:!0}}),He,Nt)})))}var ne=ye,H=e(28314);function R(Ye){var ke=!1,Be=Ye.length,it=[];return Ye.length?new Promise(function(Ve,xt){Ye.forEach(function(Ht,Ot){Ht.catch(function(wt){return ke=!0,wt}).then(function(wt){Be-=1,it[Ot]=wt,!(Be>0)&&(ke&&xt(it),Ve(it))})})}):Promise.resolve([])}var P="__@field_split__";function ae(Ye){return Ye.map(function(ke){return"".concat((0,pe.Z)(ke),":").concat(ke)}).join(P)}var Q=function(){function Ye(){(0,l.Z)(this,Ye),this.kvs=new Map}return(0,c.Z)(Ye,[{key:"set",value:function(Be,it){this.kvs.set(ae(Be),it)}},{key:"get",value:function(Be){return this.kvs.get(ae(Be))}},{key:"update",value:function(Be,it){var Ve=this.get(Be),xt=it(Ve);xt?this.set(Be,xt):this.delete(Be)}},{key:"delete",value:function(Be){this.kvs.delete(ae(Be))}},{key:"map",value:function(Be){return(0,d.Z)(this.kvs.entries()).map(function(it){var Ve=(0,H.Z)(it,2),xt=Ve[0],Ht=Ve[1],Ot=xt.split(P);return Be({key:Ot.map(function(wt){var _t=wt.match(/^([^:]*):(.*)$/),yt=(0,H.Z)(_t,3),ze=yt[1],tt=yt[2];return ze==="number"?Number(tt):tt}),value:Ht})})}},{key:"toJSON",value:function(){var Be={};return this.map(function(it){var Ve=it.key,xt=it.value;return Be[Ve.join(".")]=xt,null}),Be}}]),Ye}(),ie=Q,me=["name"],je=(0,c.Z)(function Ye(ke){var Be=this;(0,l.Z)(this,Ye),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:Be.getFieldValue,getFieldsValue:Be.getFieldsValue,getFieldError:Be.getFieldError,getFieldWarning:Be.getFieldWarning,getFieldsError:Be.getFieldsError,isFieldsTouched:Be.isFieldsTouched,isFieldTouched:Be.isFieldTouched,isFieldValidating:Be.isFieldValidating,isFieldsValidating:Be.isFieldsValidating,resetFields:Be.resetFields,setFields:Be.setFields,setFieldValue:Be.setFieldValue,setFieldsValue:Be.setFieldsValue,validateFields:Be.validateFields,submit:Be.submit,_init:!0,getInternalHooks:Be.getInternalHooks}},this.getInternalHooks=function(it){return it===C?(Be.formHooked=!0,{dispatch:Be.dispatch,initEntityValue:Be.initEntityValue,registerField:Be.registerField,useSubscribe:Be.useSubscribe,setInitialValues:Be.setInitialValues,destroyForm:Be.destroyForm,setCallbacks:Be.setCallbacks,setValidateMessages:Be.setValidateMessages,getFields:Be.getFields,setPreserve:Be.setPreserve,getInitialValue:Be.getInitialValue,registerWatch:Be.registerWatch}):((0,S.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(it){Be.subscribable=it},this.prevWithoutPreserves=null,this.setInitialValues=function(it,Ve){if(Be.initialValues=it||{},Ve){var xt,Ht=(0,q.T)(it,Be.store);(xt=Be.prevWithoutPreserves)===null||xt===void 0||xt.map(function(Ot){var wt=Ot.key;Ht=(0,q.Z)(Ht,wt,(0,ge.Z)(it,wt))}),Be.prevWithoutPreserves=null,Be.updateStore(Ht)}},this.destroyForm=function(){var it=new ie;Be.getFieldEntities(!0).forEach(function(Ve){Be.isMergedPreserve(Ve.isPreserve())||it.set(Ve.getNamePath(),!0)}),Be.prevWithoutPreserves=it},this.getInitialValue=function(it){var Ve=(0,ge.Z)(Be.initialValues,it);return it.length?(0,q.T)(Ve):Ve},this.setCallbacks=function(it){Be.callbacks=it},this.setValidateMessages=function(it){Be.validateMessages=it},this.setPreserve=function(it){Be.preserve=it},this.watchList=[],this.registerWatch=function(it){return Be.watchList.push(it),function(){Be.watchList=Be.watchList.filter(function(Ve){return Ve!==it})}},this.notifyWatch=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(Be.watchList.length){var Ve=Be.getFieldsValue(),xt=Be.getFieldsValue(!0);Be.watchList.forEach(function(Ht){Ht(Ve,xt,it)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(it){Be.store=it},this.getFieldEntities=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return it?Be.fieldEntities.filter(function(Ve){return Ve.getNamePath().length}):Be.fieldEntities},this.getFieldsMap=function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ve=new ie;return Be.getFieldEntities(it).forEach(function(xt){var Ht=xt.getNamePath();Ve.set(Ht,xt)}),Ve},this.getFieldEntitiesForNamePathList=function(it){if(!it)return Be.getFieldEntities(!0);var Ve=Be.getFieldsMap(!0);return it.map(function(xt){var Ht=be(xt);return Ve.get(Ht)||{INVALIDATE_NAME_PATH:be(xt)}})},this.getFieldsValue=function(it,Ve){Be.warningUnhooked();var xt,Ht,Ot;if(it===!0||Array.isArray(it)?(xt=it,Ht=Ve):it&&(0,pe.Z)(it)==="object"&&(Ot=it.strict,Ht=it.filter),xt===!0&&!Ht)return Be.store;var wt=Be.getFieldEntitiesForNamePathList(Array.isArray(xt)?xt:null),_t=[];return wt.forEach(function(yt){var ze,tt="INVALIDATE_NAME_PATH"in yt?yt.INVALIDATE_NAME_PATH:yt.getNamePath();if(Ot){var St;if(!((St=yt.isList)===null||St===void 0)&&St.call(yt))return}else if(!xt&&(!((ze=yt.isListField)===null||ze===void 0)&&ze.call(yt)))return;if(!Ht)_t.push(tt);else{var lt="getMeta"in yt?yt.getMeta():null;Ht(lt)&&_t.push(tt)}}),Te(Be.store,_t.map(be))},this.getFieldValue=function(it){Be.warningUnhooked();var Ve=be(it);return(0,ge.Z)(Be.store,Ve)},this.getFieldsError=function(it){Be.warningUnhooked();var Ve=Be.getFieldEntitiesForNamePathList(it);return Ve.map(function(xt,Ht){return xt&&!("INVALIDATE_NAME_PATH"in xt)?{name:xt.getNamePath(),errors:xt.getErrors(),warnings:xt.getWarnings()}:{name:be(it[Ht]),errors:[],warnings:[]}})},this.getFieldError=function(it){Be.warningUnhooked();var Ve=be(it),xt=Be.getFieldsError([Ve])[0];return xt.errors},this.getFieldWarning=function(it){Be.warningUnhooked();var Ve=be(it),xt=Be.getFieldsError([Ve])[0];return xt.warnings},this.isFieldsTouched=function(){Be.warningUnhooked();for(var it=arguments.length,Ve=new Array(it),xt=0;xt0&&arguments[0]!==void 0?arguments[0]:{},Ve=new ie,xt=Be.getFieldEntities(!0);xt.forEach(function(wt){var _t=wt.props.initialValue,yt=wt.getNamePath();if(_t!==void 0){var ze=Ve.get(yt)||new Set;ze.add({entity:wt,value:_t}),Ve.set(yt,ze)}});var Ht=function(_t){_t.forEach(function(yt){var ze=yt.props.initialValue;if(ze!==void 0){var tt=yt.getNamePath(),St=Be.getInitialValue(tt);if(St!==void 0)(0,S.ZP)(!1,"Form already set 'initialValues' with path '".concat(tt.join("."),"'. Field can not overwrite it."));else{var lt=Ve.get(tt);if(lt&<.size>1)(0,S.ZP)(!1,"Multiple Field with path '".concat(tt.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(lt){var Gt=Be.getFieldValue(tt);(!it.skipExist||Gt===void 0)&&Be.updateStore((0,q.Z)(Be.store,tt,(0,d.Z)(lt)[0].value))}}}})},Ot;it.entities?Ot=it.entities:it.namePathList?(Ot=[],it.namePathList.forEach(function(wt){var _t=Ve.get(wt);if(_t){var yt;(yt=Ot).push.apply(yt,(0,d.Z)((0,d.Z)(_t).map(function(ze){return ze.entity})))}})):Ot=xt,Ht(Ot)},this.resetFields=function(it){Be.warningUnhooked();var Ve=Be.store;if(!it){Be.updateStore((0,q.T)(Be.initialValues)),Be.resetWithFieldInitialValue(),Be.notifyObservers(Ve,null,{type:"reset"}),Be.notifyWatch();return}var xt=it.map(be);xt.forEach(function(Ht){var Ot=Be.getInitialValue(Ht);Be.updateStore((0,q.Z)(Be.store,Ht,Ot))}),Be.resetWithFieldInitialValue({namePathList:xt}),Be.notifyObservers(Ve,xt,{type:"reset"}),Be.notifyWatch(xt)},this.setFields=function(it){Be.warningUnhooked();var Ve=Be.store,xt=[];it.forEach(function(Ht){var Ot=Ht.name,wt=(0,o.Z)(Ht,me),_t=be(Ot);xt.push(_t),"value"in wt&&Be.updateStore((0,q.Z)(Be.store,_t,wt.value)),Be.notifyObservers(Ve,[_t],{type:"setField",data:Ht})}),Be.notifyWatch(xt)},this.getFields=function(){var it=Be.getFieldEntities(!0),Ve=it.map(function(xt){var Ht=xt.getNamePath(),Ot=xt.getMeta(),wt=(0,n.Z)((0,n.Z)({},Ot),{},{name:Ht,value:Be.getFieldValue(Ht)});return Object.defineProperty(wt,"originRCField",{value:!0}),wt});return Ve},this.initEntityValue=function(it){var Ve=it.props.initialValue;if(Ve!==void 0){var xt=it.getNamePath(),Ht=(0,ge.Z)(Be.store,xt);Ht===void 0&&Be.updateStore((0,q.Z)(Be.store,xt,Ve))}},this.isMergedPreserve=function(it){var Ve=it!==void 0?it:Be.preserve;return Ve!=null?Ve:!0},this.registerField=function(it){Be.fieldEntities.push(it);var Ve=it.getNamePath();if(Be.notifyWatch([Ve]),it.props.initialValue!==void 0){var xt=Be.store;Be.resetWithFieldInitialValue({entities:[it],skipExist:!0}),Be.notifyObservers(xt,[it.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(Ht,Ot){var wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(Be.fieldEntities=Be.fieldEntities.filter(function(ze){return ze!==it}),!Be.isMergedPreserve(Ot)&&(!Ht||wt.length>1)){var _t=Ht?void 0:Be.getInitialValue(Ve);if(Ve.length&&Be.getFieldValue(Ve)!==_t&&Be.fieldEntities.every(function(ze){return!Je(ze.getNamePath(),Ve)})){var yt=Be.store;Be.updateStore((0,q.Z)(yt,Ve,_t,!0)),Be.notifyObservers(yt,[Ve],{type:"remove"}),Be.triggerDependenciesUpdate(yt,Ve)}}Be.notifyWatch([Ve])}},this.dispatch=function(it){switch(it.type){case"updateValue":{var Ve=it.namePath,xt=it.value;Be.updateValue(Ve,xt);break}case"validateField":{var Ht=it.namePath,Ot=it.triggerName;Be.validateFields([Ht],{triggerName:Ot});break}default:}},this.notifyObservers=function(it,Ve,xt){if(Be.subscribable){var Ht=(0,n.Z)((0,n.Z)({},xt),{},{store:Be.getFieldsValue(!0)});Be.getFieldEntities().forEach(function(Ot){var wt=Ot.onStoreChange;wt(it,Ve,Ht)})}else Be.forceRootUpdate()},this.triggerDependenciesUpdate=function(it,Ve){var xt=Be.getDependencyChildrenFields(Ve);return xt.length&&Be.validateFields(xt),Be.notifyObservers(it,xt,{type:"dependenciesUpdate",relatedFields:[Ve].concat((0,d.Z)(xt))}),xt},this.updateValue=function(it,Ve){var xt=be(it),Ht=Be.store;Be.updateStore((0,q.Z)(Be.store,xt,Ve)),Be.notifyObservers(Ht,[xt],{type:"valueUpdate",source:"internal"}),Be.notifyWatch([xt]);var Ot=Be.triggerDependenciesUpdate(Ht,xt),wt=Be.callbacks.onValuesChange;if(wt){var _t=Te(Be.store,[xt]);wt(_t,Be.getFieldsValue())}Be.triggerOnFieldsChange([xt].concat((0,d.Z)(Ot)))},this.setFieldsValue=function(it){Be.warningUnhooked();var Ve=Be.store;if(it){var xt=(0,q.T)(Be.store,it);Be.updateStore(xt)}Be.notifyObservers(Ve,null,{type:"valueUpdate",source:"external"}),Be.notifyWatch()},this.setFieldValue=function(it,Ve){Be.setFields([{name:it,value:Ve}])},this.getDependencyChildrenFields=function(it){var Ve=new Set,xt=[],Ht=new ie;Be.getFieldEntities().forEach(function(wt){var _t=wt.props.dependencies;(_t||[]).forEach(function(yt){var ze=be(yt);Ht.update(ze,function(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return tt.add(wt),tt})})});var Ot=function wt(_t){var yt=Ht.get(_t)||new Set;yt.forEach(function(ze){if(!Ve.has(ze)){Ve.add(ze);var tt=ze.getNamePath();ze.isFieldDirty()&&tt.length&&(xt.push(tt),wt(tt))}})};return Ot(it),xt},this.triggerOnFieldsChange=function(it,Ve){var xt=Be.callbacks.onFieldsChange;if(xt){var Ht=Be.getFields();if(Ve){var Ot=new ie;Ve.forEach(function(_t){var yt=_t.name,ze=_t.errors;Ot.set(yt,ze)}),Ht.forEach(function(_t){_t.errors=Ot.get(_t.name)||_t.errors})}var wt=Ht.filter(function(_t){var yt=_t.name;return Ge(it,yt)});wt.length&&xt(wt,Ht)}},this.validateFields=function(it,Ve){Be.warningUnhooked();var xt,Ht;Array.isArray(it)||typeof it=="string"||typeof Ve=="string"?(xt=it,Ht=Ve):Ht=it;var Ot=!!xt,wt=Ot?xt.map(be):[],_t=[],yt=String(Date.now()),ze=new Set;Be.getFieldEntities(!0).forEach(function(Gt){var Nt;if(Ot||wt.push(Gt.getNamePath()),!((Nt=Ht)===null||Nt===void 0)&&Nt.recursive&&Ot){var At=Gt.getNamePath();At.every(function(bt,jt){return xt[jt]===bt||xt[jt]===void 0})&&wt.push(At)}if(!(!Gt.props.rules||!Gt.props.rules.length)){var Ie=Gt.getNamePath();if(ze.add(Ie.join(yt)),!Ot||Ge(wt,Ie)){var Se=Gt.validateRules((0,n.Z)({validateMessages:(0,n.Z)((0,n.Z)({},V),Be.validateMessages)},Ht));_t.push(Se.then(function(){return{name:Ie,errors:[],warnings:[]}}).catch(function(bt){var jt,He=[],qe=[];return(jt=bt.forEach)===null||jt===void 0||jt.call(bt,function($t){var Zt=$t.rule.warningOnly,qt=$t.errors;Zt?qe.push.apply(qe,(0,d.Z)(qt)):He.push.apply(He,(0,d.Z)(qt))}),He.length?Promise.reject({name:Ie,errors:He,warnings:qe}):{name:Ie,errors:He,warnings:qe}}))}}});var tt=R(_t);Be.lastValidatePromise=tt,tt.catch(function(Gt){return Gt}).then(function(Gt){var Nt=Gt.map(function(At){var Ie=At.name;return Ie});Be.notifyObservers(Be.store,Nt,{type:"validateFinish"}),Be.triggerOnFieldsChange(Nt,Gt)});var St=tt.then(function(){return Be.lastValidatePromise===tt?Promise.resolve(Be.getFieldsValue(wt)):Promise.reject([])}).catch(function(Gt){var Nt=Gt.filter(function(At){return At&&At.errors.length});return Promise.reject({values:Be.getFieldsValue(wt),errorFields:Nt,outOfDate:Be.lastValidatePromise!==tt})});St.catch(function(Gt){return Gt});var lt=wt.filter(function(Gt){return ze.has(Gt.join(yt))});return Be.triggerOnFieldsChange(lt),St},this.submit=function(){Be.warningUnhooked(),Be.validateFields().then(function(it){var Ve=Be.callbacks.onFinish;if(Ve)try{Ve(it)}catch(xt){console.error(xt)}}).catch(function(it){var Ve=Be.callbacks.onFinishFailed;Ve&&Ve(it)})},this.forceRootUpdate=ke});function Ee(Ye){var ke=a.useRef(),Be=a.useState({}),it=(0,H.Z)(Be,2),Ve=it[1];if(!ke.current)if(Ye)ke.current=Ye;else{var xt=function(){Ve({})},Ht=new je(xt);ke.current=Ht.getForm()}return[ke.current]}var Me=Ee,We=a.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),re=function(ke){var Be=ke.validateMessages,it=ke.onFormChange,Ve=ke.onFormFinish,xt=ke.children,Ht=a.useContext(We),Ot=a.useRef({});return a.createElement(We.Provider,{value:(0,n.Z)((0,n.Z)({},Ht),{},{validateMessages:(0,n.Z)((0,n.Z)({},Ht.validateMessages),Be),triggerFormChange:function(_t,yt){it&&it(_t,{changedFields:yt,forms:Ot.current}),Ht.triggerFormChange(_t,yt)},triggerFormFinish:function(_t,yt){Ve&&Ve(_t,{values:yt,forms:Ot.current}),Ht.triggerFormFinish(_t,yt)},registerForm:function(_t,yt){_t&&(Ot.current=(0,n.Z)((0,n.Z)({},Ot.current),{},(0,s.Z)({},_t,yt))),Ht.registerForm(_t,yt)},unregisterForm:function(_t){var yt=(0,n.Z)({},Ot.current);delete yt[_t],Ot.current=yt,Ht.unregisterForm(_t)}})},xt)},se=We,J=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],de=function(ke,Be){var it=ke.name,Ve=ke.initialValues,xt=ke.fields,Ht=ke.form,Ot=ke.preserve,wt=ke.children,_t=ke.component,yt=_t===void 0?"form":_t,ze=ke.validateMessages,tt=ke.validateTrigger,St=tt===void 0?"onChange":tt,lt=ke.onValuesChange,Gt=ke.onFieldsChange,Nt=ke.onFinish,At=ke.onFinishFailed,Ie=(0,o.Z)(ke,J),Se=a.useContext(se),bt=Me(Ht),jt=(0,H.Z)(bt,1),He=jt[0],qe=He.getInternalHooks(C),$t=qe.useSubscribe,Zt=qe.setInitialValues,qt=qe.setCallbacks,un=qe.setValidateMessages,xn=qe.setPreserve,pn=qe.destroyForm;a.useImperativeHandle(Be,function(){return He}),a.useEffect(function(){return Se.registerForm(it,He),function(){Se.unregisterForm(it)}},[Se,He,it]),un((0,n.Z)((0,n.Z)({},Se.validateMessages),ze)),qt({onValuesChange:lt,onFieldsChange:function(An){if(Se.triggerFormChange(it,An),Gt){for(var sn=arguments.length,mt=new Array(sn>1?sn-1:0),gt=1;gt0;if(_||U){var ie=(0,c.D7)(Je),me=(0,M.Z)(ie).length,je=(0,s.Z)(U)==="object"?U.formatter({value:ie,count:me,maxLength:O}):"".concat(me).concat(Q?" / ".concat(O):"");return l.createElement(l.Fragment,null,!!U&&l.createElement("span",{className:d()("".concat(le,"-show-count-suffix"),(0,o.Z)({},"".concat(le,"-show-count-has-suffix"),!!_),pe==null?void 0:pe.count),style:(0,t.Z)({},ge==null?void 0:ge.count)},je),_)}return null};return l.createElement(g,(0,a.Z)({},be,{prefixCls:le,className:x,inputElement:R(),handleReset:H,value:(0,c.D7)(Je),focused:ft,triggerFocus:Xe,suffix:P(),disabled:X,classes:fe,classNames:pe,styles:ge}))}),N=Z,L=N},33615:function(b,y,e){"use strict";e.d(y,{D7:function(){return n},He:function(){return a},X3:function(){return t},nH:function(){return s},rJ:function(){return o}});function a(d){return!!(d.addonBefore||d.addonAfter)}function t(d){return!!(d.prefix||d.suffix||d.allowClear)}function o(d,l,c,m){if(c){var g=l;if(l.type==="click"){var M=d.cloneNode(!0);g=Object.create(l,{target:{value:M},currentTarget:{value:M}}),M.value="",c(g);return}if(m!==void 0){g=Object.create(l,{target:{value:d},currentTarget:{value:d}}),d.value=m,c(g);return}c(g)}}function s(d,l){if(d){d.focus(l);var c=l||{},m=c.cursor;if(m){var g=d.value.length;switch(m){case"start":d.setSelectionRange(0,0);break;case"end":d.setSelectionRange(g,g);break;default:d.setSelectionRange(0,g)}}}}function n(d){return typeof d=="undefined"||d===null?"":String(d)}},87854:function(b,y,e){"use strict";e.d(y,{iz:function(){return Gn},ck:function(){return Ve},BW:function(){return pn},sN:function(){return Ve},Wd:function(){return $t},ZP:function(){return sn},Xl:function(){return V}});var a=e(60698),t=e(37734),o=e(57370),s=e(29140),n=e(28314),d=e(47075),l=e(87608),c=e.n(l),m=e(9257),g=e(60409),M=e(75556),h=e(58757),S=e(26736),w=e(7637),C=h.createContext(null);function F(mt,gt){return mt===void 0?null:"".concat(mt,"-").concat(gt)}function Z(mt){var gt=h.useContext(C);return F(gt,mt)}var N=e(27903),L=["children","locked"],$=h.createContext(null);function D(mt,gt){var ln=(0,o.Z)({},mt);return Object.keys(gt).forEach(function(Qt){var tn=gt[Qt];tn!==void 0&&(ln[Qt]=tn)}),ln}function T(mt){var gt=mt.children,ln=mt.locked,Qt=(0,d.Z)(mt,L),tn=h.useContext($),yn=(0,N.Z)(function(){return D(tn,Qt)},[tn,Qt],function(gn,_n){return!ln&&(gn[0]!==_n[0]||!(0,w.Z)(gn[1],_n[1],!0))});return h.createElement($.Provider,{value:yn},gt)}var j=[],K=h.createContext(null);function k(){return h.useContext(K)}var te=h.createContext(j);function V(mt){var gt=h.useContext(te);return h.useMemo(function(){return mt!==void 0?[].concat((0,s.Z)(gt),[mt]):gt},[gt,mt])}var q=h.createContext(null),le=h.createContext({}),X=le,W=e(29639),x=e(61834),O=e(46499);function _(mt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,O.Z)(mt)){var ln=mt.nodeName.toLowerCase(),Qt=["input","select","textarea","button"].includes(ln)||mt.isContentEditable||ln==="a"&&!!mt.getAttribute("href"),tn=mt.getAttribute("tabindex"),yn=Number(tn),gn=null;return tn&&!Number.isNaN(yn)?gn=yn:Qt&&gn===null&&(gn=0),Qt&&mt.disabled&&(gn=null),gn!==null&&(gn>=0||gt&&gn<0)}return!1}function U(mt){var gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ln=(0,s.Z)(mt.querySelectorAll("*")).filter(function(Qt){return _(Qt,gt)});return _(mt,gt)&&ln.unshift(mt),ln}var A=null;function G(){A=document.activeElement}function fe(){A=null}function pe(){if(A)try{A.focus()}catch(mt){}}function ge(mt,gt){if(gt.keyCode===9){var ln=U(mt),Qt=ln[gt.shiftKey?0:ln.length-1],tn=Qt===document.activeElement||mt===document.activeElement;if(tn){var yn=ln[gt.shiftKey?ln.length-1:0];yn.focus(),gt.preventDefault()}}}var be=W.Z.LEFT,Te=W.Z.RIGHT,Ge=W.Z.UP,Je=W.Z.DOWN,Qe=W.Z.ENTER,pt=W.Z.ESC,Et=W.Z.HOME,ft=W.Z.END,Wt=[Ge,Je,be,Te];function $e(mt,gt,ln,Qt){var tn,yn,gn,_n,nr="prev",ut="next",ct="children",It="parent";if(mt==="inline"&&Qt===Qe)return{inlineTrigger:!0};var Ct=(tn={},(0,t.Z)(tn,Ge,nr),(0,t.Z)(tn,Je,ut),tn),Ut=(yn={},(0,t.Z)(yn,be,ln?ut:nr),(0,t.Z)(yn,Te,ln?nr:ut),(0,t.Z)(yn,Je,ct),(0,t.Z)(yn,Qe,ct),yn),cn=(gn={},(0,t.Z)(gn,Ge,nr),(0,t.Z)(gn,Je,ut),(0,t.Z)(gn,Qe,ct),(0,t.Z)(gn,pt,It),(0,t.Z)(gn,be,ln?ct:It),(0,t.Z)(gn,Te,ln?It:ct),gn),rn={inline:Ct,horizontal:Ut,vertical:cn,inlineSub:Ct,horizontalSub:cn,verticalSub:cn},Dn=(_n=rn["".concat(mt).concat(gt?"":"Sub")])===null||_n===void 0?void 0:_n[Qt];switch(Dn){case nr:return{offset:-1,sibling:!0};case ut:return{offset:1,sibling:!0};case It:return{offset:-1,sibling:!1};case ct:return{offset:1,sibling:!1};default:return null}}function Xe(mt){for(var gt=mt;gt;){if(gt.getAttribute("data-menu-list"))return gt;gt=gt.parentElement}return null}function nt(mt,gt){for(var ln=mt||document.activeElement;ln;){if(gt.has(ln))return ln;ln=ln.parentElement}return null}function Ke(mt,gt){var ln=U(mt,!0);return ln.filter(function(Qt){return gt.has(Qt)})}function ye(mt,gt,ln){var Qt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!mt)return null;var tn=Ke(mt,gt),yn=tn.length,gn=tn.findIndex(function(_n){return ln===_n});return Qt<0?gn===-1?gn=yn-1:gn-=1:Qt>0&&(gn+=1),gn=(gn+yn)%yn,tn[gn]}function ne(mt,gt,ln,Qt,tn,yn,gn,_n,nr,ut){var ct=h.useRef(),It=h.useRef();It.current=gt;var Ct=function(){x.Z.cancel(ct.current)};return h.useEffect(function(){return function(){Ct()}},[]),function(Ut){var cn=Ut.which;if([].concat(Wt,[Qe,pt,Et,ft]).includes(cn)){var rn,Dn,Bn,Cr=function(){rn=new Set,Dn=new Map,Bn=new Map;var ta=yn();return ta.forEach(function(ga){var pr=document.querySelector("[data-menu-id='".concat(F(Qt,ga),"']"));pr&&(rn.add(pr),Bn.set(pr,ga),Dn.set(ga,pr))}),rn};Cr();var rr=Dn.get(gt),$n=nt(rr,rn),kr=Bn.get($n),Mr=$e(mt,gn(kr,!0).length===1,ln,cn);if(!Mr&&cn!==Et&&cn!==ft)return;(Wt.includes(cn)||[Et,ft].includes(cn))&&Ut.preventDefault();var ia=function(ta){if(ta){var ga=ta,pr=ta.querySelector("a");pr!=null&&pr.getAttribute("href")&&(ga=pr);var Ur=Bn.get(ta);_n(Ur),Ct(),ct.current=(0,x.Z)(function(){It.current===Ur&&ga.focus()})}};if([Et,ft].includes(cn)||Mr.sibling||!$n){var zr;!$n||mt==="inline"?zr=tn.current:zr=Xe($n);var Wn,wn=Ke(zr,rn);cn===Et?Wn=wn[0]:cn===ft?Wn=wn[wn.length-1]:Wn=ye(zr,rn,$n,Mr.offset),ia(Wn)}else if(Mr.inlineTrigger)nr(kr);else if(Mr.offset>0)nr(kr,!0),Ct(),ct.current=(0,x.Z)(function(){Cr();var Kr=$n.getAttribute("aria-controls"),ta=document.getElementById(Kr),ga=ye(ta,rn);ia(ga)},5);else if(Mr.offset<0){var Rn=gn(kr,!0),sr=Rn[Rn.length-2],Er=Dn.get(sr);nr(sr,!1),ia(Er)}}ut==null||ut(Ut)}}function H(mt){Promise.resolve().then(mt)}var R="__RC_UTIL_PATH_SPLIT__",P=function(gt){return gt.join(R)},ae=function(gt){return gt.split(R)},Q="rc-menu-more";function ie(){var mt=h.useState({}),gt=(0,n.Z)(mt,2),ln=gt[1],Qt=(0,h.useRef)(new Map),tn=(0,h.useRef)(new Map),yn=h.useState([]),gn=(0,n.Z)(yn,2),_n=gn[0],nr=gn[1],ut=(0,h.useRef)(0),ct=(0,h.useRef)(!1),It=function(){ct.current||ln({})},Ct=(0,h.useCallback)(function(rr,$n){var kr=P($n);tn.current.set(kr,rr),Qt.current.set(rr,kr),ut.current+=1;var Mr=ut.current;H(function(){Mr===ut.current&&It()})},[]),Ut=(0,h.useCallback)(function(rr,$n){var kr=P($n);tn.current.delete(kr),Qt.current.delete(rr)},[]),cn=(0,h.useCallback)(function(rr){nr(rr)},[]),rn=(0,h.useCallback)(function(rr,$n){var kr=Qt.current.get(rr)||"",Mr=ae(kr);return $n&&_n.includes(Mr[0])&&Mr.unshift(Q),Mr},[_n]),Dn=(0,h.useCallback)(function(rr,$n){return rr.some(function(kr){var Mr=rn(kr,!0);return Mr.includes($n)})},[rn]),Bn=function(){var $n=(0,s.Z)(Qt.current.keys());return _n.length&&$n.push(Q),$n},Cr=(0,h.useCallback)(function(rr){var $n="".concat(Qt.current.get(rr)).concat(R),kr=new Set;return(0,s.Z)(tn.current.keys()).forEach(function(Mr){Mr.startsWith($n)&&kr.add(tn.current.get(Mr))}),kr},[]);return h.useEffect(function(){return function(){ct.current=!0}},[]),{registerPath:Ct,unregisterPath:Ut,refreshOverflowKeys:cn,isSubPathKey:Dn,getKeyPath:rn,getKeys:Bn,getSubPathKeys:Cr}}function me(mt){var gt=h.useRef(mt);gt.current=mt;var ln=h.useCallback(function(){for(var Qt,tn=arguments.length,yn=new Array(tn),gn=0;gn1&&(Cr.motionAppear=!1);var rr=Cr.onVisibleChanged;return Cr.onVisibleChanged=function($n){return!Ct.current&&!$n&&Dn(!0),rr==null?void 0:rr($n)},rn?null:h.createElement(T,{mode:yn,locked:!Ct.current},h.createElement(Se.ZP,(0,a.Z)({visible:Bn},Cr,{forceRender:nr,removeOnLeave:!1,leavedClassName:"".concat(_n,"-hidden")}),function($n){var kr=$n.className,Mr=$n.style;return h.createElement(wt,{id:gt,className:kr,style:Mr},tn)}))}var jt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],He=["active"],qe=function(gt){var ln,Qt=gt.style,tn=gt.className,yn=gt.title,gn=gt.eventKey,_n=gt.warnKey,nr=gt.disabled,ut=gt.internalPopupClose,ct=gt.children,It=gt.itemIcon,Ct=gt.expandIcon,Ut=gt.popupClassName,cn=gt.popupOffset,rn=gt.onClick,Dn=gt.onMouseEnter,Bn=gt.onMouseLeave,Cr=gt.onTitleClick,rr=gt.onTitleMouseEnter,$n=gt.onTitleMouseLeave,kr=(0,d.Z)(gt,jt),Mr=Z(gn),ia=h.useContext($),zr=ia.prefixCls,Wn=ia.mode,wn=ia.openKeys,Rn=ia.disabled,sr=ia.overflowDisabled,Er=ia.activeKey,Kr=ia.selectedKeys,ta=ia.itemIcon,ga=ia.expandIcon,pr=ia.onItemClick,Ur=ia.onOpenChange,Ma=ia.onActive,ma=h.useContext(X),Yn=ma._internalRenderSubMenuItem,Zn=h.useContext(q),Sr=Zn.isSubPathKey,Xr=V(),wr="".concat(zr,"-submenu"),Pt=Rn||nr,on=h.useRef(),Mn=h.useRef(),Ja=It||ta,mo=Ct||ga,Ua=wn.includes(gn),ka=!sr&&Ua,Qa=Sr(Kr,gn),wo=ce(gn,Pt,rr,$n),No=wo.active,ho=(0,d.Z)(wo,He),dt=h.useState(!1),Rt=(0,n.Z)(dt,2),Ae=Rt[0],dn=Rt[1],Pn=function(Xt){Pt||dn(Xt)},Sn=function(Xt){Pn(!0),Dn==null||Dn({key:gn,domEvent:Xt})},er=function(Xt){Pn(!1),Bn==null||Bn({key:gn,domEvent:Xt})},ir=h.useMemo(function(){return No||(Wn!=="inline"?Ae||Sr([Er],gn):!1)},[Wn,No,Er,Ae,gn,Sr]),Hr=Le(Xr.length),Oa=function(Xt){Pt||(Cr==null||Cr({key:gn,domEvent:Xt}),Wn==="inline"&&Ur(gn,!Ua))},oa=me(function(Va){rn==null||rn(Ne(Va)),pr(Va)}),Jr=function(Xt){Wn!=="inline"&&Ur(gn,Xt)},na=function(){Ma(gn)},Lr=Mr&&"".concat(Mr,"-popup"),Zr=h.createElement("div",(0,a.Z)({role:"menuitem",style:Hr,className:"".concat(wr,"-title"),tabIndex:Pt?null:-1,ref:on,title:typeof yn=="string"?yn:null,"data-menu-id":sr&&Mr?null:Mr,"aria-expanded":ka,"aria-haspopup":!0,"aria-controls":Lr,"aria-disabled":Pt,onClick:Oa,onFocus:na},ho),yn,h.createElement(Oe,{icon:Wn!=="horizontal"?mo:null,props:(0,o.Z)((0,o.Z)({},gt),{},{isOpen:ka,isSubMenu:!0})},h.createElement("i",{className:"".concat(wr,"-arrow")}))),ca=h.useRef(Wn);if(Wn!=="inline"&&Xr.length>1?ca.current="vertical":ca.current=Wn,!sr){var Ta=ca.current;Zr=h.createElement(Ie,{mode:Ta,prefixCls:wr,visible:!ut&&ka&&Wn!=="inline",popupClassName:Ut,popupOffset:cn,popup:h.createElement(T,{mode:Ta==="horizontal"?"vertical":Ta},h.createElement(wt,{id:Lr,ref:Mn},ct)),disabled:Pt,onVisibleChange:Jr},Zr)}var eo=h.createElement(m.Z.Item,(0,a.Z)({role:"none"},kr,{component:"li",style:Qt,className:c()(wr,"".concat(wr,"-").concat(Wn),tn,(ln={},(0,t.Z)(ln,"".concat(wr,"-open"),ka),(0,t.Z)(ln,"".concat(wr,"-active"),ir),(0,t.Z)(ln,"".concat(wr,"-selected"),Qa),(0,t.Z)(ln,"".concat(wr,"-disabled"),Pt),ln)),onMouseEnter:Sn,onMouseLeave:er}),Zr,!sr&&h.createElement(bt,{id:Lr,open:ka,keyPath:Xr},ct));return Yn&&(eo=Yn(eo,gt,{selected:Qa,active:ir,open:ka,disabled:Pt})),h.createElement(T,{onItemClick:oa,mode:Wn==="horizontal"?"vertical":Wn,itemIcon:Ja,expandIcon:mo},eo)};function $t(mt){var gt=mt.eventKey,ln=mt.children,Qt=V(gt),tn=yt(ln,Qt),yn=k();h.useEffect(function(){if(yn)return yn.registerPath(gt,Qt),function(){yn.unregisterPath(gt,Qt)}},[Qt]);var gn;return yn?gn=tn:gn=h.createElement(qe,mt,tn),h.createElement(te.Provider,{value:Qt},gn)}var Zt=e(38790),qt=["className","title","eventKey","children"],un=["children"],xn=function(gt){var ln=gt.className,Qt=gt.title,tn=gt.eventKey,yn=gt.children,gn=(0,d.Z)(gt,qt),_n=h.useContext($),nr=_n.prefixCls,ut="".concat(nr,"-item-group");return h.createElement("li",(0,a.Z)({role:"presentation"},gn,{onClick:function(It){return It.stopPropagation()},className:c()(ut,ln)}),h.createElement("div",{role:"presentation",className:"".concat(ut,"-title"),title:typeof Qt=="string"?Qt:void 0},Qt),h.createElement("ul",{role:"group",className:"".concat(ut,"-list")},yn))};function pn(mt){var gt=mt.children,ln=(0,d.Z)(mt,un),Qt=V(ln.eventKey),tn=yt(gt,Qt),yn=k();return yn?tn:h.createElement(xn,(0,de.Z)(ln,["warnKey"]),tn)}function Gn(mt){var gt=mt.className,ln=mt.style,Qt=h.useContext($),tn=Qt.prefixCls,yn=k();return yn?null:h.createElement("li",{className:c()("".concat(tn,"-item-divider"),gt),style:ln})}var Qn=["label","children","key","type"];function ur(mt){return(mt||[]).map(function(gt,ln){if(gt&&(0,Zt.Z)(gt)==="object"){var Qt=gt,tn=Qt.label,yn=Qt.children,gn=Qt.key,_n=Qt.type,nr=(0,d.Z)(Qt,Qn),ut=gn!=null?gn:"tmp-".concat(ln);return yn||_n==="group"?_n==="group"?h.createElement(pn,(0,a.Z)({key:ut},nr,{title:tn}),ur(yn)):h.createElement($t,(0,a.Z)({key:ut},nr,{title:tn}),ur(yn)):_n==="divider"?h.createElement(Gn,(0,a.Z)({key:ut},nr)):h.createElement(Ve,(0,a.Z)({key:ut},nr),tn)}return null}).filter(function(gt){return gt})}function br(mt,gt,ln){var Qt=mt;return gt&&(Qt=ur(gt)),yt(Qt,ln)}var zt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],en=[],an=h.forwardRef(function(mt,gt){var ln,Qt,tn=mt,yn=tn.prefixCls,gn=yn===void 0?"rc-menu":yn,_n=tn.rootClassName,nr=tn.style,ut=tn.className,ct=tn.tabIndex,It=ct===void 0?0:ct,Ct=tn.items,Ut=tn.children,cn=tn.direction,rn=tn.id,Dn=tn.mode,Bn=Dn===void 0?"vertical":Dn,Cr=tn.inlineCollapsed,rr=tn.disabled,$n=tn.disabledOverflow,kr=tn.subMenuOpenDelay,Mr=kr===void 0?.1:kr,ia=tn.subMenuCloseDelay,zr=ia===void 0?.1:ia,Wn=tn.forceSubMenuRender,wn=tn.defaultOpenKeys,Rn=tn.openKeys,sr=tn.activeKey,Er=tn.defaultActiveFirst,Kr=tn.selectable,ta=Kr===void 0?!0:Kr,ga=tn.multiple,pr=ga===void 0?!1:ga,Ur=tn.defaultSelectedKeys,Ma=tn.selectedKeys,ma=tn.onSelect,Yn=tn.onDeselect,Zn=tn.inlineIndent,Sr=Zn===void 0?24:Zn,Xr=tn.motion,wr=tn.defaultMotions,Pt=tn.triggerSubMenuAction,on=Pt===void 0?"hover":Pt,Mn=tn.builtinPlacements,Ja=tn.itemIcon,mo=tn.expandIcon,Ua=tn.overflowedIndicator,ka=Ua===void 0?"...":Ua,Qa=tn.overflowedIndicatorPopupClassName,wo=tn.getPopupContainer,No=tn.onClick,ho=tn.onOpenChange,dt=tn.onKeyDown,Rt=tn.openAnimation,Ae=tn.openTransitionName,dn=tn._internalRenderMenuItem,Pn=tn._internalRenderSubMenuItem,Sn=(0,d.Z)(tn,zt),er=h.useMemo(function(){return br(Ut,Ct,en)},[Ut,Ct]),ir=h.useState(!1),Hr=(0,n.Z)(ir,2),Oa=Hr[0],oa=Hr[1],Jr=h.useRef(),na=Me(rn),Lr=cn==="rtl",Zr=(0,g.Z)(wn,{value:Rn,postState:function(Ra){return Ra||en}}),ca=(0,n.Z)(Zr,2),Ta=ca[0],eo=ca[1],Va=function(Ra){var Pa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function To(){eo(Ra),ho==null||ho(Ra)}Pa?(0,S.flushSync)(To):To()},Xt=h.useState(Ta),In=(0,n.Z)(Xt,2),Tn=In[0],tr=In[1],yr=h.useRef(!1),Wr=h.useMemo(function(){return(Bn==="inline"||Bn==="vertical")&&Cr?["vertical",Cr]:[Bn,!1]},[Bn,Cr]),ea=(0,n.Z)(Wr,2),dr=ea[0],_r=ea[1],la=dr==="inline",Ia=h.useState(dr),Ca=(0,n.Z)(Ia,2),qr=Ca[0],fo=Ca[1],Co=h.useState(_r),_a=(0,n.Z)(Co,2),bo=_a[0],so=_a[1];h.useEffect(function(){fo(dr),so(_r),yr.current&&(la?eo(Tn):Va(en))},[dr,_r]);var Sa=h.useState(0),Ba=(0,n.Z)(Sa,2),Mo=Ba[0],Ko=Ba[1],Jo=Mo>=er.length-1||qr!=="horizontal"||$n;h.useEffect(function(){la&&tr(Ta)},[Ta]),h.useEffect(function(){return yr.current=!0,function(){yr.current=!1}},[]);var ao=ie(),yi=ao.registerPath,ji=ao.unregisterPath,_o=ao.refreshOverflowKeys,Bo=ao.isSubPathKey,oi=ao.getKeyPath,ri=ao.getKeys,Si=ao.getSubPathKeys,Ni=h.useMemo(function(){return{registerPath:yi,unregisterPath:ji}},[yi,ji]),Ei=h.useMemo(function(){return{isSubPathKey:Bo}},[Bo]);h.useEffect(function(){_o(Jo?en:er.slice(Mo+1).map(function(ja){return ja.key}))},[Mo,Jo]);var to=(0,g.Z)(sr||Er&&((ln=er[0])===null||ln===void 0?void 0:ln.key),{value:sr}),Ga=(0,n.Z)(to,2),Qo=Ga[0],qo=Ga[1],xo=me(function(ja){qo(ja)}),Ro=me(function(){qo(void 0)});(0,h.useImperativeHandle)(gt,function(){return{list:Jr.current,focus:function(Ra){var Pa,To=Qo!=null?Qo:(Pa=er.find(function(bs){return!bs.props.disabled}))===null||Pa===void 0?void 0:Pa.key;if(To){var Yo,Zo,zi;(Yo=Jr.current)===null||Yo===void 0||(Zo=Yo.querySelector("li[data-menu-id='".concat(F(na,To),"']")))===null||Zo===void 0||(zi=Zo.focus)===null||zi===void 0||zi.call(Zo,Ra)}}}});var Ci=(0,g.Z)(Ur||[],{value:Ma,postState:function(Ra){return Array.isArray(Ra)?Ra:Ra==null?en:[Ra]}}),Ri=(0,n.Z)(Ci,2),Ui=Ri[0],Os=Ri[1],fs=function(Ra){if(ta){var Pa=Ra.key,To=Ui.includes(Pa),Yo;pr?To?Yo=Ui.filter(function(zi){return zi!==Pa}):Yo=[].concat((0,s.Z)(Ui),[Pa]):Yo=[Pa],Os(Yo);var Zo=(0,o.Z)((0,o.Z)({},Ra),{},{selectedKeys:Yo});To?Yn==null||Yn(Zo):ma==null||ma(Zo)}!pr&&Ta.length&&qr!=="inline"&&Va(en)},Gs=me(function(ja){No==null||No(Ne(ja)),fs(ja)}),xl=me(function(ja,Ra){var Pa=Ta.filter(function(Yo){return Yo!==ja});if(Ra)Pa.push(ja);else if(qr!=="inline"){var To=Si(ja);Pa=Pa.filter(function(Yo){return!To.has(Yo)})}(0,w.Z)(Ta,Pa,!0)||Va(Pa,!0)}),Kn=function(Ra,Pa){var To=Pa!=null?Pa:!Ta.includes(Ra);xl(Ra,To)},Gr=ne(qr,Qo,Lr,na,Jr,ri,oi,qo,Kn,dt);h.useEffect(function(){oa(!0)},[]);var jr=h.useMemo(function(){return{_internalRenderMenuItem:dn,_internalRenderSubMenuItem:Pn}},[dn,Pn]),Br=qr!=="horizontal"||$n?er:er.map(function(ja,Ra){return h.createElement(T,{key:ja.key,overflowDisabled:Ra>Mo},ja)}),ra=h.createElement(m.Z,(0,a.Z)({id:rn,ref:Jr,prefixCls:"".concat(gn,"-overflow"),component:"ul",itemComponent:Ve,className:c()(gn,"".concat(gn,"-root"),"".concat(gn,"-").concat(qr),ut,(Qt={},(0,t.Z)(Qt,"".concat(gn,"-inline-collapsed"),bo),(0,t.Z)(Qt,"".concat(gn,"-rtl"),Lr),Qt),_n),dir:cn,style:nr,role:"menu",tabIndex:It,data:Br,renderRawItem:function(Ra){return Ra},renderRawRest:function(Ra){var Pa=Ra.length,To=Pa?er.slice(-Pa):null;return h.createElement($t,{eventKey:Q,title:ka,disabled:Jo,internalPopupClose:Pa===0,popupClassName:Qa},To)},maxCount:qr!=="horizontal"||$n?m.Z.INVALIDATE:m.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ra){Ko(Ra)},onKeyDown:Gr},Sn));return h.createElement(X.Provider,{value:jr},h.createElement(C.Provider,{value:na},h.createElement(T,{prefixCls:gn,rootClassName:_n,mode:qr,openKeys:Ta,rtl:Lr,disabled:rr,motion:Oa?Xr:null,defaultMotions:Oa?wr:null,activeKey:Qo,onActive:xo,onInactive:Ro,selectedKeys:Ui,inlineIndent:Sr,subMenuOpenDelay:Mr,subMenuCloseDelay:zr,forceSubMenuRender:Wn,builtinPlacements:Mn,triggerSubMenuAction:on,getPopupContainer:wo,itemIcon:Ja,expandIcon:mo,onItemClick:Gs,onOpenChange:xl},h.createElement(q.Provider,{value:Ei},ra),h.createElement("div",{style:{display:"none"},"aria-hidden":!0},h.createElement(K.Provider,{value:Ni},er)))))}),vn=an,An=vn;An.Item=Ve,An.SubMenu=$t,An.ItemGroup=pn,An.Divider=Gn;var sn=An},17598:function(b,y,e){"use strict";e.d(y,{V4:function(){return ce},zt:function(){return S},ZP:function(){return Le}});var a=e(37734),t=e(57370),o=e(28314),s=e(38790),n=e(87608),d=e.n(n),l=e(69188),c=e(21319),m=e(58757),g=e(47075),M=["children"],h=m.createContext({});function S(Oe){var we=Oe.children,Ne=(0,g.Z)(Oe,M);return m.createElement(h.Provider,{value:Ne},we)}var w=e(60412),C=e(14346),F=e(87498),Z=e(73726),N=function(Oe){(0,F.Z)(Ne,Oe);var we=(0,Z.Z)(Ne);function Ne(){return(0,w.Z)(this,Ne),we.apply(this,arguments)}return(0,C.Z)(Ne,[{key:"render",value:function(){return this.props.children}}]),Ne}(m.Component),L=N,$=e(13989),D="none",T="appear",j="enter",K="leave",k="none",te="prepare",V="start",q="active",le="end",X="prepared",W=e(19075);function x(Oe,we){var Ne={};return Ne[Oe.toLowerCase()]=we.toLowerCase(),Ne["Webkit".concat(Oe)]="webkit".concat(we),Ne["Moz".concat(Oe)]="moz".concat(we),Ne["ms".concat(Oe)]="MS".concat(we),Ne["O".concat(Oe)]="o".concat(we.toLowerCase()),Ne}function O(Oe,we){var Ne={animationend:x("Animation","AnimationEnd"),transitionend:x("Transition","TransitionEnd")};return Oe&&("AnimationEvent"in we||delete Ne.animationend.animation,"TransitionEvent"in we||delete Ne.transitionend.transition),Ne}var _=O((0,W.Z)(),typeof window!="undefined"?window:{}),U={};if((0,W.Z)()){var A=document.createElement("div");U=A.style}var G={};function fe(Oe){if(G[Oe])return G[Oe];var we=_[Oe];if(we)for(var Ne=Object.keys(we),st=Ne.length,et=0;et1&&arguments[1]!==void 0?arguments[1]:2;we();var Ye=(0,ft.Z)(function(){et<=1?st({isCanceled:function(){return Ye!==Oe.current}}):Ne(st,et-1)});Oe.current=Ye}return m.useEffect(function(){return function(){we()}},[]),[Ne,we]},$e=[te,V,q,le],Xe=[te,X],nt=!1,Ke=!0;function ye(Oe){return Oe===q||Oe===le}var ne=function(Oe,we,Ne){var st=(0,$.Z)(k),et=(0,o.Z)(st,2),Ye=et[0],ke=et[1],Be=Wt(),it=(0,o.Z)(Be,2),Ve=it[0],xt=it[1];function Ht(){ke(te,!0)}var Ot=we?Xe:$e;return Et(function(){if(Ye!==k&&Ye!==le){var wt=Ot.indexOf(Ye),_t=Ot[wt+1],yt=Ne(Ye);yt===nt?ke(_t,!0):_t&&Ve(function(ze){function tt(){ze.isCanceled()||ke(_t,!0)}yt===!0?tt():Promise.resolve(yt).then(tt)})}},[Oe,Ye]),m.useEffect(function(){return function(){xt()}},[]),[Ht,Ye]};function H(Oe,we,Ne,st){var et=st.motionEnter,Ye=et===void 0?!0:et,ke=st.motionAppear,Be=ke===void 0?!0:ke,it=st.motionLeave,Ve=it===void 0?!0:it,xt=st.motionDeadline,Ht=st.motionLeaveImmediately,Ot=st.onAppearPrepare,wt=st.onEnterPrepare,_t=st.onLeavePrepare,yt=st.onAppearStart,ze=st.onEnterStart,tt=st.onLeaveStart,St=st.onAppearActive,lt=st.onEnterActive,Gt=st.onLeaveActive,Nt=st.onAppearEnd,At=st.onEnterEnd,Ie=st.onLeaveEnd,Se=st.onVisibleChanged,bt=(0,$.Z)(),jt=(0,o.Z)(bt,2),He=jt[0],qe=jt[1],$t=(0,$.Z)(D),Zt=(0,o.Z)($t,2),qt=Zt[0],un=Zt[1],xn=(0,$.Z)(null),pn=(0,o.Z)(xn,2),Gn=pn[0],Qn=pn[1],ur=(0,m.useRef)(!1),br=(0,m.useRef)(null);function zt(){return Ne()}var en=(0,m.useRef)(!1);function an(){un(D,!0),Qn(null,!0)}function vn(ct){var It=zt();if(!(ct&&!ct.deadline&&ct.target!==It)){var Ct=en.current,Ut;qt===T&&Ct?Ut=Nt==null?void 0:Nt(It,ct):qt===j&&Ct?Ut=At==null?void 0:At(It,ct):qt===K&&Ct&&(Ut=Ie==null?void 0:Ie(It,ct)),qt!==D&&Ct&&Ut!==!1&&an()}}var An=Qe(vn),sn=(0,o.Z)(An,1),mt=sn[0],gt=function(It){var Ct,Ut,cn;switch(It){case T:return Ct={},(0,a.Z)(Ct,te,Ot),(0,a.Z)(Ct,V,yt),(0,a.Z)(Ct,q,St),Ct;case j:return Ut={},(0,a.Z)(Ut,te,wt),(0,a.Z)(Ut,V,ze),(0,a.Z)(Ut,q,lt),Ut;case K:return cn={},(0,a.Z)(cn,te,_t),(0,a.Z)(cn,V,tt),(0,a.Z)(cn,q,Gt),cn;default:return{}}},ln=m.useMemo(function(){return gt(qt)},[qt]),Qt=ne(qt,!Oe,function(ct){if(ct===te){var It=ln[te];return It?It(zt()):nt}if(gn in ln){var Ct;Qn(((Ct=ln[gn])===null||Ct===void 0?void 0:Ct.call(ln,zt(),null))||null)}return gn===q&&(mt(zt()),xt>0&&(clearTimeout(br.current),br.current=setTimeout(function(){vn({deadline:!0})},xt))),gn===X&&an(),Ke}),tn=(0,o.Z)(Qt,2),yn=tn[0],gn=tn[1],_n=ye(gn);en.current=_n,Et(function(){qe(we);var ct=ur.current;ur.current=!0;var It;!ct&&we&&Be&&(It=T),ct&&we&&Ye&&(It=j),(ct&&!we&&Ve||!ct&&Ht&&!we&&Ve)&&(It=K);var Ct=gt(It);It&&(Oe||Ct[te])?(un(It),yn()):un(D)},[we]),(0,m.useEffect)(function(){(qt===T&&!Be||qt===j&&!Ye||qt===K&&!Ve)&&un(D)},[Be,Ye,Ve]),(0,m.useEffect)(function(){return function(){ur.current=!1,clearTimeout(br.current)}},[]);var nr=m.useRef(!1);(0,m.useEffect)(function(){He&&(nr.current=!0),He!==void 0&&qt===D&&((nr.current||He)&&(Se==null||Se(He)),nr.current=!0)},[He,qt]);var ut=Gn;return ln[te]&&gn===V&&(ut=(0,t.Z)({transition:"none"},ut)),[qt,gn,ut,He!=null?He:we]}function R(Oe){var we=Oe;(0,s.Z)(Oe)==="object"&&(we=Oe.transitionSupport);function Ne(et,Ye){return!!(et.motionName&&we&&Ye!==!1)}var st=m.forwardRef(function(et,Ye){var ke=et.visible,Be=ke===void 0?!0:ke,it=et.removeOnLeave,Ve=it===void 0?!0:it,xt=et.forceRender,Ht=et.children,Ot=et.motionName,wt=et.leavedClassName,_t=et.eventProps,yt=m.useContext(h),ze=yt.motion,tt=Ne(et,ze),St=(0,m.useRef)(),lt=(0,m.useRef)();function Gt(){try{return St.current instanceof HTMLElement?St.current:(0,l.Z)(lt.current)}catch(Qn){return null}}var Nt=H(tt,Be,Gt,et),At=(0,o.Z)(Nt,4),Ie=At[0],Se=At[1],bt=At[2],jt=At[3],He=m.useRef(jt);jt&&(He.current=!0);var qe=m.useCallback(function(Qn){St.current=Qn,(0,c.mH)(Ye,Qn)},[Ye]),$t,Zt=(0,t.Z)((0,t.Z)({},_t),{},{visible:Be});if(!Ht)$t=null;else if(Ie===D)jt?$t=Ht((0,t.Z)({},Zt),qe):!Ve&&He.current&&wt?$t=Ht((0,t.Z)((0,t.Z)({},Zt),{},{className:wt}),qe):xt||!Ve&&!wt?$t=Ht((0,t.Z)((0,t.Z)({},Zt),{},{style:{display:"none"}}),qe):$t=null;else{var qt,un;Se===te?un="prepare":ye(Se)?un="active":Se===V&&(un="start");var xn=Je(Ot,"".concat(Ie,"-").concat(un));$t=Ht((0,t.Z)((0,t.Z)({},Zt),{},{className:d()(Je(Ot,Ie),(qt={},(0,a.Z)(qt,xn,xn&&un),(0,a.Z)(qt,Ot,typeof Ot=="string"),qt)),style:bt}),qe)}if(m.isValidElement($t)&&(0,c.Yr)($t)){var pn=$t,Gn=pn.ref;Gn||($t=m.cloneElement($t,{ref:qe}))}return m.createElement(L,{ref:lt},$t)});return st.displayName="CSSMotion",st}var P=R(be),ae=e(60698),Q=e(86717),ie="add",me="keep",je="remove",Ee="removed";function Me(Oe){var we;return Oe&&(0,s.Z)(Oe)==="object"&&"key"in Oe?we=Oe:we={key:Oe},(0,t.Z)((0,t.Z)({},we),{},{key:String(we.key)})}function We(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Oe.map(Me)}function re(){var Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ne=[],st=0,et=we.length,Ye=We(Oe),ke=We(we);Ye.forEach(function(Ve){for(var xt=!1,Ht=st;Ht1});return it.forEach(function(Ve){Ne=Ne.filter(function(xt){var Ht=xt.key,Ot=xt.status;return Ht!==Ve||Ot!==je}),Ne.forEach(function(xt){xt.key===Ve&&(xt.status=me)})}),Ne}var se=["component","children","onVisibleChanged","onAllRemoved"],J=["status"],de=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function xe(Oe){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P,Ne=function(st){(0,F.Z)(Ye,st);var et=(0,Z.Z)(Ye);function Ye(){var ke;(0,w.Z)(this,Ye);for(var Be=arguments.length,it=new Array(Be),Ve=0;Ve0){var Qe=setTimeout(function(){Te()},q*1e3);return function(){clearTimeout(Qe)}}},[q,ge,G]);var Je="".concat(K,"-notice");return s.createElement("div",(0,n.Z)({},_,{ref:j,className:g()(Je,te,(0,M.Z)({},"".concat(Je,"-closable"),W)),style:k,onMouseEnter:function(){be(!0)},onMouseLeave:function(){be(!1)},onClick:U}),s.createElement("div",{className:"".concat(Je,"-content")},X),W&&s.createElement("a",{tabIndex:0,className:"".concat(Je,"-close"),onKeyDown:Ge,onClick:function(pt){pt.preventDefault(),pt.stopPropagation(),Te()}},O))}),w=S,C=s.forwardRef(function(T,j){var K=T.prefixCls,k=K===void 0?"rc-notification":K,te=T.container,V=T.motion,q=T.maxCount,le=T.className,X=T.style,W=T.onAllRemoved,x=s.useState([]),O=(0,t.Z)(x,2),_=O[0],U=O[1],A=function(Qe){var pt,Et=_.find(function(ft){return ft.key===Qe});Et==null||(pt=Et.onClose)===null||pt===void 0||pt.call(Et),U(function(ft){return ft.filter(function(Wt){return Wt.key!==Qe})})};s.useImperativeHandle(j,function(){return{open:function(Qe){U(function(pt){var Et=(0,a.Z)(pt),ft=Et.findIndex(function(Xe){return Xe.key===Qe.key}),Wt=(0,d.Z)({},Qe);if(ft>=0){var $e;Wt.times=((($e=pt[ft])===null||$e===void 0?void 0:$e.times)||0)+1,Et[ft]=Wt}else Wt.times=0,Et.push(Wt);return q>0&&Et.length>q&&(Et=Et.slice(-q)),Et})},close:function(Qe){A(Qe)},destroy:function(){U([])}}});var G=s.useState({}),fe=(0,t.Z)(G,2),pe=fe[0],ge=fe[1];s.useEffect(function(){var Je={};_.forEach(function(Qe){var pt=Qe.placement,Et=pt===void 0?"topRight":pt;Et&&(Je[Et]=Je[Et]||[],Je[Et].push(Qe))}),Object.keys(pe).forEach(function(Qe){Je[Qe]=Je[Qe]||[]}),ge(Je)},[_]);var be=function(Qe){ge(function(pt){var Et=(0,d.Z)({},pt),ft=Et[Qe]||[];return ft.length||delete Et[Qe],Et})},Te=s.useRef(!1);if(s.useEffect(function(){Object.keys(pe).length>0?Te.current=!0:Te.current&&(W==null||W(),Te.current=!1)},[pe]),!te)return null;var Ge=Object.keys(pe);return(0,l.createPortal)(s.createElement(s.Fragment,null,Ge.map(function(Je){var Qe=pe[Je],pt=Qe.map(function(ft){return{config:ft,key:ft.key}}),Et=typeof V=="function"?V(Je):V;return s.createElement(c.V4,(0,n.Z)({key:Je,className:g()(k,"".concat(k,"-").concat(Je),le==null?void 0:le(Je)),style:X==null?void 0:X(Je),keys:pt,motionAppear:!0},Et,{onAllRemoved:function(){be(Je)}}),function(ft,Wt){var $e=ft.config,Xe=ft.className,nt=ft.style,Ke=$e.key,ye=$e.times,ne=$e.className,H=$e.style;return s.createElement(w,(0,n.Z)({},$e,{ref:Wt,prefixCls:k,className:g()(Xe,ne),style:(0,d.Z)((0,d.Z)({},nt),H),times:ye,key:Ke,eventKey:Ke,onNoticeClose:A}))})})),te)}),F=C,Z=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved"],N=function(){return document.body},L=0;function $(){for(var T={},j=arguments.length,K=new Array(j),k=0;k0&&arguments[0]!==void 0?arguments[0]:{},j=T.getContainer,K=j===void 0?N:j,k=T.motion,te=T.prefixCls,V=T.maxCount,q=T.className,le=T.style,X=T.onAllRemoved,W=(0,o.Z)(T,Z),x=s.useState(),O=(0,t.Z)(x,2),_=O[0],U=O[1],A=s.useRef(),G=s.createElement(F,{container:_,ref:A,prefixCls:te,motion:k,maxCount:V,className:q,style:le,onAllRemoved:X}),fe=s.useState([]),pe=(0,t.Z)(fe,2),ge=pe[0],be=pe[1],Te=s.useMemo(function(){return{open:function(Je){var Qe=$(W,Je);(Qe.key===null||Qe.key===void 0)&&(Qe.key="rc-notification-".concat(L),L+=1),be(function(pt){return[].concat((0,a.Z)(pt),[{type:"open",config:Qe}])})},close:function(Je){be(function(Qe){return[].concat((0,a.Z)(Qe),[{type:"close",key:Je}])})},destroy:function(){be(function(Je){return[].concat((0,a.Z)(Je),[{type:"destroy"}])})}}},[]);return s.useEffect(function(){U(K())}),s.useEffect(function(){A.current&&ge.length&&(ge.forEach(function(Ge){switch(Ge.type){case"open":A.current.open(Ge.config);break;case"close":A.current.close(Ge.key);break;case"destroy":A.current.destroy();break}}),be(function(Ge){return Ge.filter(function(Je){return!ge.includes(Je)})}))},[ge]),[Te,G]}},9257:function(b,y,e){"use strict";e.d(y,{Z:function(){return U}});var a=e(60698),t=e(57370),o=e(28314),s=e(47075),n=e(58757),d=e(87608),l=e.n(d),c=e(19425),m=e(81334),g=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],M=void 0;function h(A,G){var fe=A.prefixCls,pe=A.invalidate,ge=A.item,be=A.renderItem,Te=A.responsive,Ge=A.responsiveDisabled,Je=A.registerSize,Qe=A.itemKey,pt=A.className,Et=A.style,ft=A.children,Wt=A.display,$e=A.order,Xe=A.component,nt=Xe===void 0?"div":Xe,Ke=(0,s.Z)(A,g),ye=Te&&!Wt;function ne(Q){Je(Qe,Q)}n.useEffect(function(){return function(){ne(null)}},[]);var H=be&&ge!==M?be(ge):ft,R;pe||(R={opacity:ye?0:1,height:ye?0:M,overflowY:ye?"hidden":M,order:Te?$e:M,pointerEvents:ye?"none":M,position:ye?"absolute":M});var P={};ye&&(P["aria-hidden"]=!0);var ae=n.createElement(nt,(0,a.Z)({className:l()(!pe&&fe,pt),style:(0,t.Z)((0,t.Z)({},R),Et)},P,Ke,{ref:G}),H);return Te&&(ae=n.createElement(c.Z,{onResize:function(ie){var me=ie.offsetWidth;ne(me)},disabled:Ge},ae)),ae}var S=n.forwardRef(h);S.displayName="Item";var w=S,C=e(51729),F=e(26736),Z=e(61834);function N(A){if(typeof MessageChannel=="undefined")(0,Z.Z)(A);else{var G=new MessageChannel;G.port1.onmessage=function(){return A()},G.port2.postMessage(void 0)}}function L(){var A=n.useRef(null),G=function(pe){A.current||(A.current=[],N(function(){(0,F.unstable_batchedUpdates)(function(){A.current.forEach(function(ge){ge()}),A.current=null})})),A.current.push(pe)};return G}function $(A,G){var fe=n.useState(G),pe=(0,o.Z)(fe,2),ge=pe[0],be=pe[1],Te=(0,C.Z)(function(Ge){A(function(){be(Ge)})});return[ge,Te]}var D=n.createContext(null),T=["component"],j=["className"],K=["className"],k=function(G,fe){var pe=n.useContext(D);if(!pe){var ge=G.component,be=ge===void 0?"div":ge,Te=(0,s.Z)(G,T);return n.createElement(be,(0,a.Z)({},Te,{ref:fe}))}var Ge=pe.className,Je=(0,s.Z)(pe,j),Qe=G.className,pt=(0,s.Z)(G,K);return n.createElement(D.Provider,{value:null},n.createElement(w,(0,a.Z)({ref:fe,className:l()(Ge,Qe)},Je,pt)))},te=n.forwardRef(k);te.displayName="RawItem";var V=te,q=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],le="responsive",X="invalidate";function W(A){return"+ ".concat(A.length," ...")}function x(A,G){var fe=A.prefixCls,pe=fe===void 0?"rc-overflow":fe,ge=A.data,be=ge===void 0?[]:ge,Te=A.renderItem,Ge=A.renderRawItem,Je=A.itemKey,Qe=A.itemWidth,pt=Qe===void 0?10:Qe,Et=A.ssr,ft=A.style,Wt=A.className,$e=A.maxCount,Xe=A.renderRest,nt=A.renderRawRest,Ke=A.suffix,ye=A.component,ne=ye===void 0?"div":ye,H=A.itemComponent,R=A.onVisibleChange,P=(0,s.Z)(A,q),ae=Et==="full",Q=L(),ie=$(Q,null),me=(0,o.Z)(ie,2),je=me[0],Ee=me[1],Me=je||0,We=$(Q,new Map),re=(0,o.Z)(We,2),se=re[0],J=re[1],de=$(Q,0),xe=(0,o.Z)(de,2),ce=xe[0],Le=xe[1],Oe=$(Q,0),we=(0,o.Z)(Oe,2),Ne=we[0],st=we[1],et=$(Q,0),Ye=(0,o.Z)(et,2),ke=Ye[0],Be=Ye[1],it=(0,n.useState)(null),Ve=(0,o.Z)(it,2),xt=Ve[0],Ht=Ve[1],Ot=(0,n.useState)(null),wt=(0,o.Z)(Ot,2),_t=wt[0],yt=wt[1],ze=n.useMemo(function(){return _t===null&&ae?Number.MAX_SAFE_INTEGER:_t||0},[_t,je]),tt=(0,n.useState)(!1),St=(0,o.Z)(tt,2),lt=St[0],Gt=St[1],Nt="".concat(pe,"-item"),At=Math.max(ce,Ne),Ie=$e===le,Se=be.length&&Ie,bt=$e===X,jt=Se||typeof $e=="number"&&be.length>$e,He=(0,n.useMemo)(function(){var mt=be;return Se?je===null&&ae?mt=be:mt=be.slice(0,Math.min(be.length,Me/pt)):typeof $e=="number"&&(mt=be.slice(0,$e)),mt},[be,pt,je,$e,Se]),qe=(0,n.useMemo)(function(){return Se?be.slice(ze+1):be.slice(He.length)},[be,He,Se,ze]),$t=(0,n.useCallback)(function(mt,gt){var ln;return typeof Je=="function"?Je(mt):(ln=Je&&(mt==null?void 0:mt[Je]))!==null&&ln!==void 0?ln:gt},[Je]),Zt=(0,n.useCallback)(Te||function(mt){return mt},[Te]);function qt(mt,gt,ln){_t===mt&&(gt===void 0||gt===xt)||(yt(mt),ln||(Gt(mtMe){qt(Qt-1,mt-tn-ke+Ne);break}}Ke&&Qn(0)+ke>Me&&Ht(null)}},[Me,se,Ne,ke,$t,He]);var ur=lt&&!!qe.length,br={};xt!==null&&Se&&(br={position:"absolute",left:xt,top:0});var zt={prefixCls:Nt,responsive:Se,component:H,invalidate:bt},en=Ge?function(mt,gt){var ln=$t(mt,gt);return n.createElement(D.Provider,{key:ln,value:(0,t.Z)((0,t.Z)({},zt),{},{order:gt,item:mt,itemKey:ln,registerSize:xn,display:gt<=ze})},Ge(mt,gt))}:function(mt,gt){var ln=$t(mt,gt);return n.createElement(w,(0,a.Z)({},zt,{order:gt,key:ln,item:mt,renderItem:Zt,itemKey:ln,registerSize:xn,display:gt<=ze}))},an,vn={order:ur?ze:Number.MAX_SAFE_INTEGER,className:"".concat(Nt,"-rest"),registerSize:pn,display:ur};if(nt)nt&&(an=n.createElement(D.Provider,{value:(0,t.Z)((0,t.Z)({},zt),vn)},nt(qe)));else{var An=Xe||W;an=n.createElement(w,(0,a.Z)({},zt,vn),typeof An=="function"?An(qe):An)}var sn=n.createElement(ne,(0,a.Z)({className:l()(!bt&&pe,Wt),style:ft,ref:G},P),He.map(en),jt?an:null,Ke&&n.createElement(w,(0,a.Z)({},zt,{responsive:Ie,responsiveDisabled:!Se,order:ze,className:"".concat(Nt,"-suffix"),registerSize:Gn,display:!0,style:br}),Ke));return Ie&&(sn=n.createElement(c.Z,{onResize:un,disabled:!Se},sn)),sn}var O=n.forwardRef(x);O.displayName="Overflow",O.Item=V,O.RESPONSIVE=le,O.INVALIDATE=X;var _=O,U=_},57522:function(b,y){"use strict";y.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},23737:function(b,y){"use strict";y.Z={items_per_page:"\u6761/\u9875",jump_to:"\u8DF3\u81F3",jump_to_confirm:"\u786E\u5B9A",page:"\u9875",prev_page:"\u4E0A\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",prev_5:"\u5411\u524D 5 \u9875",next_5:"\u5411\u540E 5 \u9875",prev_3:"\u5411\u524D 3 \u9875",next_3:"\u5411\u540E 3 \u9875",page_size:"\u9875\u7801"}},19425:function(b,y,e){"use strict";e.d(y,{Z:function(){return le}});var a=e(60698),t=e(58757),o=e(42156),s=e(75556),n=e(57370),d=e(21319),l=e(69188),c=e(20759),m=new Map;function g(X){X.forEach(function(W){var x,O=W.target;(x=m.get(O))===null||x===void 0||x.forEach(function(_){return _(O)})})}var M=new c.Z(g),h=null,S=null;function w(X,W){m.has(X)||(m.set(X,new Set),M.observe(X)),m.get(X).add(W)}function C(X,W){m.has(X)&&(m.get(X).delete(W),m.get(X).size||(M.unobserve(X),m.delete(X)))}var F=e(60412),Z=e(14346),N=e(87498),L=e(73726),$=function(X){(0,N.Z)(x,X);var W=(0,L.Z)(x);function x(){return(0,F.Z)(this,x),W.apply(this,arguments)}return(0,Z.Z)(x,[{key:"render",value:function(){return this.props.children}}]),x}(t.Component),D=t.createContext(null);function T(X){var W=X.children,x=X.onBatchResize,O=t.useRef(0),_=t.useRef([]),U=t.useContext(D),A=t.useCallback(function(G,fe,pe){O.current+=1;var ge=O.current;_.current.push({size:G,element:fe,data:pe}),Promise.resolve().then(function(){ge===O.current&&(x==null||x(_.current),_.current=[])}),U==null||U(G,fe,pe)},[x,U]);return t.createElement(D.Provider,{value:A},W)}function j(X,W){var x=X.children,O=X.disabled,_=t.useRef(null),U=t.useRef(null),A=t.useContext(D),G=typeof x=="function",fe=G?x(_):x,pe=t.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ge=!G&&t.isValidElement(fe)&&(0,d.Yr)(fe),be=ge?fe.ref:null,Te=t.useMemo(function(){return(0,d.sQ)(be,_)},[be,_]),Ge=function(){return(0,l.Z)(_.current)||(0,l.Z)(U.current)};t.useImperativeHandle(W,function(){return Ge()});var Je=t.useRef(X);Je.current=X;var Qe=t.useCallback(function(pt){var Et=Je.current,ft=Et.onResize,Wt=Et.data,$e=pt.getBoundingClientRect(),Xe=$e.width,nt=$e.height,Ke=pt.offsetWidth,ye=pt.offsetHeight,ne=Math.floor(Xe),H=Math.floor(nt);if(pe.current.width!==ne||pe.current.height!==H||pe.current.offsetWidth!==Ke||pe.current.offsetHeight!==ye){var R={width:ne,height:H,offsetWidth:Ke,offsetHeight:ye};pe.current=R;var P=Ke===Math.round(Xe)?Xe:Ke,ae=ye===Math.round(nt)?nt:ye,Q=(0,n.Z)((0,n.Z)({},R),{},{offsetWidth:P,offsetHeight:ae});A==null||A(Q,pt,Wt),ft&&Promise.resolve().then(function(){ft(Q,pt)})}},[]);return t.useEffect(function(){var pt=Ge();return pt&&!O&&w(pt,Qe),function(){return C(pt,Qe)}},[_.current,O]),t.createElement($,{ref:U},ge?t.cloneElement(fe,{ref:Te}):fe)}var K=t.forwardRef(j),k=K,te="rc-observer-key";function V(X,W){var x=X.children,O=typeof x=="function"?[x]:(0,o.Z)(x);return O.map(function(_,U){var A=(_==null?void 0:_.key)||"".concat(te,"-").concat(U);return t.createElement(k,(0,a.Z)({},X,{key:A,ref:U===0?W:void 0}),_)})}var q=t.forwardRef(V);q.Collection=T;var le=q},25092:function(b,y,e){"use strict";e.d(y,{ZP:function(){return l}});var a=e(28314),t=e(58757),o=e(19075),s=0,n=(0,o.Z)();function d(){var c;return n?(c=s,s+=1):c="TEST_OR_SSR",c}function l(c){var m=t.useState(),g=(0,a.Z)(m,2),M=g[0],h=g[1];return t.useEffect(function(){h("rc_select_".concat(d()))},[]),c||M}},18510:function(b,y,e){"use strict";e.d(y,{Ac:function(){return Ee},Xo:function(){return st},Wx:function(){return Ye},ZP:function(){return jt},lk:function(){return N}});var a=e(60698),t=e(29140),o=e(37734),s=e(57370),n=e(28314),d=e(47075),l=e(38790),c=e(60409),m=e(75556),g=e(58757),M=e(87608),h=e.n(M),S=e(81334),w=e(21618),C=e(29639),F=e(21319),Z=g.createContext(null);function N(){return g.useContext(Z)}function L(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,qe=g.useState(!1),$t=(0,n.Z)(qe,2),Zt=$t[0],qt=$t[1],un=g.useRef(null),xn=function(){window.clearTimeout(un.current)};g.useEffect(function(){return xn},[]);var pn=function(Qn,ur){xn(),un.current=window.setTimeout(function(){qt(Qn),ur&&ur()},He)};return[Zt,pn,xn]}function $(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,qe=g.useRef(null),$t=g.useRef(null);g.useEffect(function(){return function(){window.clearTimeout($t.current)}},[]);function Zt(qt){(qt||qe.current===null)&&(qe.current=qt),window.clearTimeout($t.current),$t.current=window.setTimeout(function(){qe.current=null},He)}return[function(){return qe.current},Zt]}function D(He,qe,$t,Zt){var qt=g.useRef(null);qt.current={open:qe,triggerOpen:$t,customizedTrigger:Zt},g.useEffect(function(){function un(xn){var pn;if(!((pn=qt.current)!==null&&pn!==void 0&&pn.customizedTrigger)){var Gn=xn.target;Gn.shadowRoot&&xn.composed&&(Gn=xn.composedPath()[0]||Gn),qt.current.open&&He().filter(function(Qn){return Qn}).every(function(Qn){return!Qn.contains(Gn)&&Qn!==Gn})&&qt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",un),function(){return window.removeEventListener("mousedown",un)}},[])}var T=e(33926),j=e(9257),K=function(qe){var $t=qe.className,Zt=qe.customizeIcon,qt=qe.customizeIconProps,un=qe.onMouseDown,xn=qe.onClick,pn=qe.children,Gn;return typeof Zt=="function"?Gn=Zt(qt):Gn=Zt,g.createElement("span",{className:$t,onMouseDown:function(ur){ur.preventDefault(),un&&un(ur)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:xn,"aria-hidden":!0},Gn!==void 0?Gn:g.createElement("span",{className:h()($t.split(/\s+/).map(function(Qn){return"".concat(Qn,"-icon")}))},pn))},k=K,te=function(qe,$t){var Zt,qt,un=qe.prefixCls,xn=qe.id,pn=qe.inputElement,Gn=qe.disabled,Qn=qe.tabIndex,ur=qe.autoFocus,br=qe.autoComplete,zt=qe.editable,en=qe.activeDescendantId,an=qe.value,vn=qe.maxLength,An=qe.onKeyDown,sn=qe.onMouseDown,mt=qe.onChange,gt=qe.onPaste,ln=qe.onCompositionStart,Qt=qe.onCompositionEnd,tn=qe.open,yn=qe.attrs,gn=pn||g.createElement("input",null),_n=gn,nr=_n.ref,ut=_n.props,ct=ut.onKeyDown,It=ut.onChange,Ct=ut.onMouseDown,Ut=ut.onCompositionStart,cn=ut.onCompositionEnd,rn=ut.style;return(0,m.Kp)(!("maxLength"in gn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),gn=g.cloneElement(gn,(0,s.Z)((0,s.Z)((0,s.Z)({type:"search"},ut),{},{id:xn,ref:(0,F.sQ)($t,nr),disabled:Gn,tabIndex:Qn,autoComplete:br||"off",autoFocus:ur,className:h()("".concat(un,"-selection-search-input"),(Zt=gn)===null||Zt===void 0||(qt=Zt.props)===null||qt===void 0?void 0:qt.className),role:"combobox","aria-label":"Search","aria-expanded":tn,"aria-haspopup":"listbox","aria-owns":"".concat(xn,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(xn,"_list"),"aria-activedescendant":tn?en:void 0},yn),{},{value:zt?an:"",maxLength:vn,readOnly:!zt,unselectable:zt?null:"on",style:(0,s.Z)((0,s.Z)({},rn),{},{opacity:zt?null:0}),onKeyDown:function(Bn){An(Bn),ct&&ct(Bn)},onMouseDown:function(Bn){sn(Bn),Ct&&Ct(Bn)},onChange:function(Bn){mt(Bn),It&&It(Bn)},onCompositionStart:function(Bn){ln(Bn),Ut&&Ut(Bn)},onCompositionEnd:function(Bn){Qt(Bn),cn&&cn(Bn)},onPaste:gt})),gn},V=g.forwardRef(te);V.displayName="Input";var q=V;function le(He){return Array.isArray(He)?He:He!==void 0?[He]:[]}var X=typeof window!="undefined"&&window.document&&window.document.documentElement,W=X;function x(He){return He!=null}function O(He){return!He&&He!==0}function _(He){return["string","number"].includes((0,l.Z)(He))}function U(He){var qe=void 0;return He&&(_(He.title)?qe=He.title.toString():_(He.label)&&(qe=He.label.toString())),qe}function A(He,qe){W?g.useLayoutEffect(He,qe):g.useEffect(He,qe)}function G(He){var qe;return(qe=He.key)!==null&&qe!==void 0?qe:He.value}var fe=function(qe){qe.preventDefault(),qe.stopPropagation()},pe=function(qe){var $t=qe.id,Zt=qe.prefixCls,qt=qe.values,un=qe.open,xn=qe.searchValue,pn=qe.autoClearSearchValue,Gn=qe.inputRef,Qn=qe.placeholder,ur=qe.disabled,br=qe.mode,zt=qe.showSearch,en=qe.autoFocus,an=qe.autoComplete,vn=qe.activeDescendantId,An=qe.tabIndex,sn=qe.removeIcon,mt=qe.maxTagCount,gt=qe.maxTagTextLength,ln=qe.maxTagPlaceholder,Qt=ln===void 0?function(ta){return"+ ".concat(ta.length," ...")}:ln,tn=qe.tagRender,yn=qe.onToggleOpen,gn=qe.onRemove,_n=qe.onInputChange,nr=qe.onInputPaste,ut=qe.onInputKeyDown,ct=qe.onInputMouseDown,It=qe.onInputCompositionStart,Ct=qe.onInputCompositionEnd,Ut=g.useRef(null),cn=(0,g.useState)(0),rn=(0,n.Z)(cn,2),Dn=rn[0],Bn=rn[1],Cr=(0,g.useState)(!1),rr=(0,n.Z)(Cr,2),$n=rr[0],kr=rr[1],Mr="".concat(Zt,"-selection"),ia=un||br==="multiple"&&pn===!1||br==="tags"?xn:"",zr=br==="tags"||br==="multiple"&&pn===!1||zt&&(un||$n);A(function(){Bn(Ut.current.scrollWidth)},[ia]);function Wn(ta,ga,pr,Ur,Ma){return g.createElement("span",{className:h()("".concat(Mr,"-item"),(0,o.Z)({},"".concat(Mr,"-item-disabled"),pr)),title:U(ta)},g.createElement("span",{className:"".concat(Mr,"-item-content")},ga),Ur&&g.createElement(k,{className:"".concat(Mr,"-item-remove"),onMouseDown:fe,onClick:Ma,customizeIcon:sn},"\xD7"))}function wn(ta,ga,pr,Ur,Ma){var ma=function(Zn){fe(Zn),yn(!un)};return g.createElement("span",{onMouseDown:ma},tn({label:ga,value:ta,disabled:pr,closable:Ur,onClose:Ma}))}function Rn(ta){var ga=ta.disabled,pr=ta.label,Ur=ta.value,Ma=!ur&&!ga,ma=pr;if(typeof gt=="number"&&(typeof pr=="string"||typeof pr=="number")){var Yn=String(ma);Yn.length>gt&&(ma="".concat(Yn.slice(0,gt),"..."))}var Zn=function(Xr){Xr&&Xr.stopPropagation(),gn(ta)};return typeof tn=="function"?wn(Ur,ma,ga,Ma,Zn):Wn(ta,ma,ga,Ma,Zn)}function sr(ta){var ga=typeof Qt=="function"?Qt(ta):Qt;return Wn({title:ga},ga,!1)}var Er=g.createElement("div",{className:"".concat(Mr,"-search"),style:{width:Dn},onFocus:function(){kr(!0)},onBlur:function(){kr(!1)}},g.createElement(q,{ref:Gn,open:un,prefixCls:Zt,id:$t,inputElement:null,disabled:ur,autoFocus:en,autoComplete:an,editable:zr,activeDescendantId:vn,value:ia,onKeyDown:ut,onMouseDown:ct,onChange:_n,onPaste:nr,onCompositionStart:It,onCompositionEnd:Ct,tabIndex:An,attrs:(0,T.Z)(qe,!0)}),g.createElement("span",{ref:Ut,className:"".concat(Mr,"-search-mirror"),"aria-hidden":!0},ia,"\xA0")),Kr=g.createElement(j.Z,{prefixCls:"".concat(Mr,"-overflow"),data:qt,renderItem:Rn,renderRest:sr,suffix:Er,itemKey:G,maxCount:mt});return g.createElement(g.Fragment,null,Kr,!qt.length&&!ia&&g.createElement("span",{className:"".concat(Mr,"-placeholder")},Qn))},ge=pe,be=function(qe){var $t=qe.inputElement,Zt=qe.prefixCls,qt=qe.id,un=qe.inputRef,xn=qe.disabled,pn=qe.autoFocus,Gn=qe.autoComplete,Qn=qe.activeDescendantId,ur=qe.mode,br=qe.open,zt=qe.values,en=qe.placeholder,an=qe.tabIndex,vn=qe.showSearch,An=qe.searchValue,sn=qe.activeValue,mt=qe.maxLength,gt=qe.onInputKeyDown,ln=qe.onInputMouseDown,Qt=qe.onInputChange,tn=qe.onInputPaste,yn=qe.onInputCompositionStart,gn=qe.onInputCompositionEnd,_n=qe.title,nr=g.useState(!1),ut=(0,n.Z)(nr,2),ct=ut[0],It=ut[1],Ct=ur==="combobox",Ut=Ct||vn,cn=zt[0],rn=An||"";Ct&&sn&&!ct&&(rn=sn),g.useEffect(function(){Ct&&It(!1)},[Ct,sn]);var Dn=ur!=="combobox"&&!br&&!vn?!1:!!rn,Bn=_n===void 0?U(cn):_n,Cr=function(){if(cn)return null;var $n=Dn?{visibility:"hidden"}:void 0;return g.createElement("span",{className:"".concat(Zt,"-selection-placeholder"),style:$n},en)};return g.createElement(g.Fragment,null,g.createElement("span",{className:"".concat(Zt,"-selection-search")},g.createElement(q,{ref:un,prefixCls:Zt,id:qt,open:br,inputElement:$t,disabled:xn,autoFocus:pn,autoComplete:Gn,editable:Ut,activeDescendantId:Qn,value:rn,onKeyDown:gt,onMouseDown:ln,onChange:function($n){It(!0),Qt($n)},onPaste:tn,onCompositionStart:yn,onCompositionEnd:gn,tabIndex:an,attrs:(0,T.Z)(qe,!0),maxLength:Ct?mt:void 0})),!Ct&&cn?g.createElement("span",{className:"".concat(Zt,"-selection-item"),title:Bn,style:Dn?{visibility:"hidden"}:void 0},cn.label):null,Cr())},Te=be;function Ge(He){return![C.Z.ESC,C.Z.SHIFT,C.Z.BACKSPACE,C.Z.TAB,C.Z.WIN_KEY,C.Z.ALT,C.Z.META,C.Z.WIN_KEY_RIGHT,C.Z.CTRL,C.Z.SEMICOLON,C.Z.EQUALS,C.Z.CAPS_LOCK,C.Z.CONTEXT_MENU,C.Z.F1,C.Z.F2,C.Z.F3,C.Z.F4,C.Z.F5,C.Z.F6,C.Z.F7,C.Z.F8,C.Z.F9,C.Z.F10,C.Z.F11,C.Z.F12].includes(He)}var Je=function(qe,$t){var Zt=(0,g.useRef)(null),qt=(0,g.useRef)(!1),un=qe.prefixCls,xn=qe.open,pn=qe.mode,Gn=qe.showSearch,Qn=qe.tokenWithEnter,ur=qe.autoClearSearchValue,br=qe.onSearch,zt=qe.onSearchSubmit,en=qe.onToggleOpen,an=qe.onInputKeyDown,vn=qe.domRef;g.useImperativeHandle($t,function(){return{focus:function(){Zt.current.focus()},blur:function(){Zt.current.blur()}}});var An=$(0),sn=(0,n.Z)(An,2),mt=sn[0],gt=sn[1],ln=function(rn){var Dn=rn.which;(Dn===C.Z.UP||Dn===C.Z.DOWN)&&rn.preventDefault(),an&&an(rn),Dn===C.Z.ENTER&&pn==="tags"&&!qt.current&&!xn&&(zt==null||zt(rn.target.value)),Ge(Dn)&&en(!0)},Qt=function(){gt(!0)},tn=(0,g.useRef)(null),yn=function(rn){br(rn,!0,qt.current)!==!1&&en(!0)},gn=function(){qt.current=!0},_n=function(rn){qt.current=!1,pn!=="combobox"&&yn(rn.target.value)},nr=function(rn){var Dn=rn.target.value;if(Qn&&tn.current&&/[\r\n]/.test(tn.current)){var Bn=tn.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Dn=Dn.replace(Bn,tn.current)}tn.current=null,yn(Dn)},ut=function(rn){var Dn=rn.clipboardData,Bn=Dn.getData("text");tn.current=Bn},ct=function(rn){var Dn=rn.target;if(Dn!==Zt.current){var Bn=document.body.style.msTouchAction!==void 0;Bn?setTimeout(function(){Zt.current.focus()}):Zt.current.focus()}},It=function(rn){var Dn=mt();rn.target!==Zt.current&&!Dn&&pn!=="combobox"&&rn.preventDefault(),(pn!=="combobox"&&(!Gn||!Dn)||!xn)&&(xn&&ur!==!1&&br("",!0,!1),en())},Ct={inputRef:Zt,onInputKeyDown:ln,onInputMouseDown:Qt,onInputChange:nr,onInputPaste:ut,onInputCompositionStart:gn,onInputCompositionEnd:_n},Ut=pn==="multiple"||pn==="tags"?g.createElement(ge,(0,a.Z)({},qe,Ct)):g.createElement(Te,(0,a.Z)({},qe,Ct));return g.createElement("div",{ref:vn,className:"".concat(un,"-selector"),onClick:ct,onMouseDown:It},Ut)},Qe=g.forwardRef(Je);Qe.displayName="Selector";var pt=Qe,Et=e(99863),ft=["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Wt=function(qe){var $t=qe===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:$t,adjustY:1},htmlRegion:"scroll"}}},$e=function(qe,$t){var Zt=qe.prefixCls,qt=qe.disabled,un=qe.visible,xn=qe.children,pn=qe.popupElement,Gn=qe.containerWidth,Qn=qe.animation,ur=qe.transitionName,br=qe.dropdownStyle,zt=qe.dropdownClassName,en=qe.direction,an=en===void 0?"ltr":en,vn=qe.placement,An=qe.builtinPlacements,sn=qe.dropdownMatchSelectWidth,mt=qe.dropdownRender,gt=qe.dropdownAlign,ln=qe.getPopupContainer,Qt=qe.empty,tn=qe.getTriggerDOMNode,yn=qe.onPopupVisibleChange,gn=qe.onPopupMouseEnter,_n=(0,d.Z)(qe,ft),nr="".concat(Zt,"-dropdown"),ut=pn;mt&&(ut=mt(pn));var ct=g.useMemo(function(){return An||Wt(sn)},[An,sn]),It=Qn?"".concat(nr,"-").concat(Qn):ur,Ct=g.useRef(null);g.useImperativeHandle($t,function(){return{getPopupElement:function(){return Ct.current}}});var Ut=(0,s.Z)({minWidth:Gn},br);return typeof sn=="number"?Ut.width=sn:sn&&(Ut.width=Gn),g.createElement(Et.Z,(0,a.Z)({},_n,{showAction:yn?["click"]:[],hideAction:yn?["click"]:[],popupPlacement:vn||(an==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ct,prefixCls:nr,popupTransitionName:It,popup:g.createElement("div",{ref:Ct,onMouseEnter:gn},ut),popupAlign:gt,popupVisible:un,getPopupContainer:ln,popupClassName:h()(zt,(0,o.Z)({},"".concat(nr,"-empty"),Qt)),popupStyle:Ut,getTriggerDOMNode:tn,onPopupVisibleChange:yn}),xn)},Xe=g.forwardRef($e);Xe.displayName="SelectTrigger";var nt=Xe,Ke=e(6747);function ye(He,qe){var $t=He.key,Zt;return"value"in He&&(Zt=He.value),$t!=null?$t:Zt!==void 0?Zt:"rc-index-key-".concat(qe)}function ne(He,qe){var $t=He||{},Zt=$t.label,qt=$t.value,un=$t.options,xn=$t.groupLabel,pn=Zt||(qe?"children":"label");return{label:pn,value:qt||"value",options:un||"options",groupLabel:xn||pn}}function H(He){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=qe.fieldNames,Zt=qe.childrenAsData,qt=[],un=ne($t,!1),xn=un.label,pn=un.value,Gn=un.options,Qn=un.groupLabel;function ur(br,zt){br.forEach(function(en){if(zt||!(Gn in en)){var an=en[pn];qt.push({key:ye(en,qt.length),groupOption:zt,data:en,label:en[xn],value:an})}else{var vn=en[Qn];vn===void 0&&Zt&&(vn=en.label),qt.push({key:ye(en,qt.length),group:!0,data:en,label:vn}),ur(en[Gn],!0)}})}return ur(He,!1),qt}function R(He){var qe=(0,s.Z)({},He);return"props"in qe||Object.defineProperty(qe,"props",{get:function(){return(0,m.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),qe}}),qe}function P(He,qe){if(!qe||!qe.length)return null;var $t=!1;function Zt(un,xn){var pn=(0,Ke.Z)(xn),Gn=pn[0],Qn=pn.slice(1);if(!Gn)return[un];var ur=un.split(Gn);return $t=$t||ur.length>1,ur.reduce(function(br,zt){return[].concat((0,t.Z)(br),(0,t.Z)(Zt(zt,Qn)))},[]).filter(function(br){return br})}var qt=Zt(He,qe);return $t?qt:null}function ae(He,qe,$t,Zt,qt){var un=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,xn=arguments.length>6?arguments[6]:void 0,pn=arguments.length>7?arguments[7]:void 0,Gn=g.useMemo(function(){if((0,l.Z)(Zt)==="object")return Zt.clearIcon;if(qt)return qt},[Zt,qt]),Qn=g.useMemo(function(){return!!(!un&&Zt&&($t.length||xn)&&!(pn==="combobox"&&xn===""))},[Zt,un,$t.length,xn,pn]);return{allowClear:Qn,clearIcon:g.createElement(k,{className:"".concat(He,"-clear"),onMouseDown:qe,customizeIcon:Gn},"\xD7")}}var Q=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],ie=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function me(He){return He==="tags"||He==="multiple"}var je=g.forwardRef(function(He,qe){var $t,Zt,qt=He.id,un=He.prefixCls,xn=He.className,pn=He.showSearch,Gn=He.tagRender,Qn=He.direction,ur=He.omitDomProps,br=He.displayValues,zt=He.onDisplayValuesChange,en=He.emptyOptions,an=He.notFoundContent,vn=an===void 0?"Not Found":an,An=He.onClear,sn=He.mode,mt=He.disabled,gt=He.loading,ln=He.getInputElement,Qt=He.getRawInputElement,tn=He.open,yn=He.defaultOpen,gn=He.onDropdownVisibleChange,_n=He.activeValue,nr=He.onActiveValueChange,ut=He.activeDescendantId,ct=He.searchValue,It=He.autoClearSearchValue,Ct=He.onSearch,Ut=He.onSearchSplit,cn=He.tokenSeparators,rn=He.allowClear,Dn=He.suffixIcon,Bn=He.clearIcon,Cr=He.OptionList,rr=He.animation,$n=He.transitionName,kr=He.dropdownStyle,Mr=He.dropdownClassName,ia=He.dropdownMatchSelectWidth,zr=He.dropdownRender,Wn=He.dropdownAlign,wn=He.placement,Rn=He.builtinPlacements,sr=He.getPopupContainer,Er=He.showAction,Kr=Er===void 0?[]:Er,ta=He.onFocus,ga=He.onBlur,pr=He.onKeyUp,Ur=He.onKeyDown,Ma=He.onMouseDown,ma=(0,d.Z)(He,Q),Yn=me(sn),Zn=(pn!==void 0?pn:Yn)||sn==="combobox",Sr=(0,s.Z)({},ma);ie.forEach(function(to){delete Sr[to]}),ur==null||ur.forEach(function(to){delete Sr[to]});var Xr=g.useState(!1),wr=(0,n.Z)(Xr,2),Pt=wr[0],on=wr[1];g.useEffect(function(){on((0,w.Z)())},[]);var Mn=g.useRef(null),Ja=g.useRef(null),mo=g.useRef(null),Ua=g.useRef(null),ka=g.useRef(null),Qa=L(),wo=(0,n.Z)(Qa,3),No=wo[0],ho=wo[1],dt=wo[2];g.useImperativeHandle(qe,function(){var to,Ga;return{focus:(to=Ua.current)===null||to===void 0?void 0:to.focus,blur:(Ga=Ua.current)===null||Ga===void 0?void 0:Ga.blur,scrollTo:function(qo){var xo;return(xo=ka.current)===null||xo===void 0?void 0:xo.scrollTo(qo)}}});var Rt=g.useMemo(function(){var to;if(sn!=="combobox")return ct;var Ga=(to=br[0])===null||to===void 0?void 0:to.value;return typeof Ga=="string"||typeof Ga=="number"?String(Ga):""},[ct,sn,br]),Ae=sn==="combobox"&&typeof ln=="function"&&ln()||null,dn=typeof Qt=="function"&&Qt(),Pn=(0,F.x1)(Ja,dn==null||($t=dn.props)===null||$t===void 0?void 0:$t.ref),Sn=g.useState(!1),er=(0,n.Z)(Sn,2),ir=er[0],Hr=er[1];(0,S.Z)(function(){Hr(!0)},[]);var Oa=(0,c.Z)(!1,{defaultValue:yn,value:tn}),oa=(0,n.Z)(Oa,2),Jr=oa[0],na=oa[1],Lr=ir?Jr:!1,Zr=!vn&&en;(mt||Zr&&Lr&&sn==="combobox")&&(Lr=!1);var ca=Zr?!1:Lr,Ta=g.useCallback(function(to){var Ga=to!==void 0?to:!Lr;mt||(na(Ga),Lr!==Ga&&(gn==null||gn(Ga)))},[mt,Lr,na,gn]),eo=g.useMemo(function(){return(cn||[]).some(function(to){return[` `,`\r -`].includes(to)})},[un]),Va=function(Ga,Jo,ti){var Io=!0,Ro=Ga;tr==null||tr(null);var Ci=ti?null:P(Ga,un);return on!=="combobox"&&Ci&&(Ro="",kt==null||kt(Ci),Na(!1),Io=!1),xt&&zt!==Ro&&xt(Ro,{source:Jo?"typing":"effect"}),Io},Xt=function(Ga){!Ga||!Ga.trim()||xt(Ga,{source:"submit"})};g.useEffect(function(){!Pr&&!Hn&&on!=="combobox"&&Va("",!1,!1)},[Pr]),g.useEffect(function(){Jr&&mt&&aa(!1),mt&&yo(!1)},[mt]);var Cn=B(),jn=(0,n.Z)(Cn,2),er=jn[0],gr=jn[1],Wr=function(Ga){var Jo=er(),ti=Ga.which;if(ti===C.Z.ENTER&&(on!=="combobox"&&Ga.preventDefault(),Pr||Na(!0)),gr(!!zt),ti===C.Z.BACKSPACE&&!Jo&&Hn&&!zt&&mr.length){for(var Io=(0,t.Z)(mr),Ro=null,Ci=Io.length-1;Ci>=0;Ci-=1){var Ti=Io[Ci];if(!Ti.disabled){Io.splice(Ci,1),Ro=Ti;break}}Ro&&Ft(Io,{type:"remove",values:[Ro]})}for(var Ui=arguments.length,Os=new Array(Ui>1?Ui-1:0),fs=1;fs1?Jo-1:0),Io=1;Io1?Ci-1:0),Ui=1;Ui1&&arguments[1]!==void 0?arguments[1]:!1;return(0,J.Z)(He).map(function(Zt,Ut){if(!g.isValidElement(Zt)||!Zt.type)return null;var qt=Zt,ln=qt.type.isSelectOptGroup,En=qt.key,mn=qt.props,Yn=mn.children,Gn=(0,d.Z)(mn,xe);return qe||!ln?ue(Zt):(0,s.Z)((0,s.Z)({key:"__RC_SELECT_GRP__".concat(En===null?Ut:En,"__"),label:En},Gn),{},{options:Ne(Yn)})}).filter(function(Zt){return Zt})}function Oe(He,qe,Zt,Ut,qt){return g.useMemo(function(){var ln=He,En=!He;En&&(ln=Ne(qe));var mn=new Map,Yn=new Map,Gn=function(Ft,en,rn){rn&&typeof rn=="string"&&Ft.set(en[rn],en)};function ir(mr){for(var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,en=0;en1&&arguments[1]!==void 0?arguments[1]:1,ar=tr.length,br=0;br1&&arguments[1]!==void 0?arguments[1]:!1;An(On);var ar={source:Tn?"keyboard":"mouse"},br=tr[On];if(!br){fn(null,-1,ar);return}fn(br.value,On,ar)};(0,g.useEffect)(function(){zn(In!==!1?xt(0):-1)},[tr.length,Gn]);var Er=g.useCallback(function(Zn){return gt.has(Zn)&&Yn!=="combobox"},[Yn,(0,t.Z)(gt).toString(),gt.size]);(0,g.useEffect)(function(){var Zn=setTimeout(function(){if(!mn&&En&>.size===1){var Tn=Array.from(gt)[0],ar=tr.findIndex(function(br){var Kr=br.data;return Kr.value===Tn});ar!==-1&&(zn(ar),At(ar))}});if(En){var On;(On=ut.current)===null||On===void 0||On.scrollTo(void 0)}return function(){return clearTimeout(Zn)}},[En,Gn,rn.length]);var nr=function(On){On!==void 0&&on(On,{selected:!gt.has(On)}),mn||ir(!1)};if(g.useImperativeHandle(Zt,function(){return{onKeyDown:function(On){var Tn=On.which,ar=On.ctrlKey;switch(Tn){case C.Z.N:case C.Z.P:case C.Z.UP:case C.Z.DOWN:{var br=0;if(Tn===C.Z.UP?br=-1:Tn===C.Z.DOWN?br=1:_t()&&ar&&(Tn===C.Z.N?br=1:Tn===C.Z.P&&(br=-1)),br!==0){var Kr=xt(nn+br,br);At(Kr),zn(Kr,!0)}break}case C.Z.ENTER:{var ra=tr[nn];ra&&!ra.data.disabled?nr(ra.value):nr(void 0),En&&On.preventDefault();break}case C.Z.ESC:ir(!1),En&&On.stopPropagation()}},onKeyUp:function(){},scrollTo:function(On){At(On)}}}),tr.length===0)return g.createElement("div",{role:"listbox",id:"".concat(ln,"_list"),className:"".concat(Wn,"-empty"),onMouseDown:ct},mr);var Fn=Object.keys(sn).map(function(Zn){return sn[Zn]}),kr=function(On){return On.label};function hr(Zn,On){var Tn=Zn.group;return{role:Tn?"presentation":"option",id:"".concat(ln,"_list_").concat(On)}}var la=function(On){var Tn=tr[On];if(!Tn)return null;var ar=Tn.data||{},br=ar.value,Kr=Tn.group,ra=(0,T.Z)(ar,!0),pa=kr(Tn);return Tn?g.createElement("div",(0,a.Z)({"aria-label":typeof pa=="string"&&!Kr?pa:null},ra,{key:On},hr(Tn,On),{"aria-selected":Er(br)}),br):null},zr={role:"listbox",id:"".concat(ln,"_list")};return g.createElement(g.Fragment,null,Qt&&g.createElement("div",(0,a.Z)({},zr,{style:{height:0,width:0,overflow:"hidden"}}),la(nn-1),la(nn),la(nn+1)),g.createElement(it.Z,{itemKey:"key",ref:ut,data:tr,height:yn,itemHeight:vn,fullHeight:!1,onMouseDown:ct,onScroll:Ft,virtual:Qt,direction:tn,innerProps:Qt?null:zr},function(Zn,On){var Tn,ar=Zn.group,br=Zn.groupOption,Kr=Zn.data,ra=Zn.label,pa=Zn.value,fr=Kr.key;if(ar){var Ur,Ea=(Ur=Kr.title)!==null&&Ur!==void 0?Ur:jt(ra)?ra.toString():void 0;return g.createElement("div",{className:h()(Wn,"".concat(Wn,"-group")),title:Ea},ra!==void 0?ra:fr)}var ha=Kr.disabled,Hn=Kr.title,Bn=Kr.children,yr=Kr.style,Xr=Kr.className,Dr=(0,d.Z)(Kr,wt),Tt=(0,Be.Z)(Dr,Fn),an=Er(pa),bn="".concat(Wn,"-option"),Xa=h()(Wn,bn,Xr,(Tn={},(0,o.Z)(Tn,"".concat(bn,"-grouped"),br),(0,o.Z)(Tn,"".concat(bn,"-active"),nn===On&&!ha),(0,o.Z)(Tn,"".concat(bn,"-disabled"),ha),(0,o.Z)(Tn,"".concat(bn,"-selected"),an),Tn)),ho=kr(Zn),$a=!mt||typeof mt=="function"||an,Ua=typeof ho=="number"?ho:ho||pa,Ka=jt(Ua)?Ua.toString():void 0;return Hn!==void 0&&(Ka=Hn),g.createElement("div",(0,a.Z)({},(0,T.Z)(Tt),Qt?{}:hr(Zn,On),{"aria-selected":an,className:Xa,title:Ka,onMouseMove:function(){nn===On||ha||zn(On)},onClick:function(){ha||nr(pa)},style:yr}),g.createElement("div",{className:"".concat(bn,"-content")},Ua),g.isValidElement(mt)||an,$a&&g.createElement(k,{className:"".concat(Wn,"-option-state"),customizeIcon:mt,customizeIconProps:{isSelected:an}},an?"\u2713":null))}))},yt=g.forwardRef(Yt);yt.displayName="OptionList";var ze=yt;function nt(He){var qe=He.mode,Zt=He.options,Ut=He.children,qt=He.backfill,ln=He.allowClear,En=He.placeholder,mn=He.getInputElement,Yn=He.showSearch,Gn=He.onSearch,ir=He.defaultOpen,mr=He.autoFocus,Ft=He.labelInValue,en=He.value,rn=He.inputValue,fn=He.optionLabelProp,In=isMultiple(qe),on=Yn!==void 0?Yn:In||qe==="combobox",mt=Zt||convertChildrenToData(Ut);if(warning(qe!=="tags"||mt.every(function(tn){return!tn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),qe==="tags"||qe==="combobox"){var gt=mt.some(function(tn){return tn.options?tn.options.some(function(yn){return typeof("value"in yn?yn.value:yn.key)=="number"}):typeof("value"in tn?tn.value:tn.key)=="number"});warning(!gt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(qe!=="combobox"||!fn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(qe==="combobox"||!qt,"`backfill` only works with `combobox` mode."),warning(qe==="combobox"||!mn,"`getInputElement` only work with `combobox` mode."),noteOnce(qe!=="combobox"||!mn||!ln||!En,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Gn&&!on&&qe!=="combobox"&&qe!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ir||mr,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),en!=null){var sn=toArray(en);warning(!Ft||sn.every(function(tn){return _typeof(tn)==="object"&&("key"in tn||"value"in tn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!In||Array.isArray(en),"`value` should be array when `mode` is `multiple` or `tags`")}if(Ut){var Qt=null;toNodeArray(Ut).some(function(tn){if(!React.isValidElement(tn)||!tn.type)return!1;var yn=tn,vn=yn.type;if(vn.isSelectOption)return!1;if(vn.isSelectOptGroup){var Wn=toNodeArray(tn.props.children).every(function(tr){return!React.isValidElement(tr)||!tn.type||tr.type.isSelectOption?!0:(Qt=tr.type,!1)});return!Wn}return Qt=vn,!0}),Qt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Qt.displayName||Qt.name||Qt,"`.")),warning(rn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Et(He,qe){if(He){var Zt=function Ut(qt){for(var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,En=0;En2&&arguments[2]!==void 0?arguments[2]:{},Na=va.source,eo=Na===void 0?"keyboard":Na;Dn(Zr),En&&Ut==="combobox"&&Pr!==null&&eo==="keyboard"&&dt(String(Pr))},[En,Ut]),rr=function(Zr,va,Na){var eo=function(){var _r,fa=Xr(Zr);return[nn?{label:fa==null?void 0:fa[hr.label],value:Zr,key:(_r=fa==null?void 0:fa.key)!==null&&_r!==void 0?_r:Zr}:Zr,R(fa)]};if(va&&en){var Va=eo(),Xt=(0,n.Z)(Va,2),Cn=Xt[0],jn=Xt[1];en(Cn,jn)}else if(!va&&rn&&Na!=="clear"){var er=eo(),gr=(0,n.Z)(er,2),Wr=gr[0],ea=gr[1];rn(Wr,ea)}},Hr=we(function(Pr,Zr){var va,Na=nr?Zr.selected:!0;Na?va=nr?[].concat((0,t.Z)(yr),[Pr]):[Pr]:va=yr.filter(function(eo){return eo.value!==Pr}),Ka(va),rr(Pr,Na),Ut==="combobox"?dt(""):(!me||Ft)&&(On(""),dt(""))}),Da=function(Zr,va){Ka(Zr);var Na=va.type,eo=va.values;(Na==="remove"||Na==="clear")&&eo.forEach(function(Va){rr(Va.value,!1,Na)})},ia=function(Zr,va){if(On(Zr),dt(null),va.source==="submit"){var Na=(Zr||"").trim();if(Na){var eo=Array.from(new Set([].concat((0,t.Z)(Tt),[Na])));Ka(eo),rr(Na,!0),On("")}return}va.source!=="blur"&&(Ut==="combobox"&&Ka(Zr),ir==null||ir(Zr))},Jr=function(Zr){var va=Zr;Ut!=="tags"&&(va=Zr.map(function(eo){var Va=br.get(eo);return Va==null?void 0:Va.value}).filter(function(eo){return eo!==void 0}));var Na=Array.from(new Set([].concat((0,t.Z)(Tt),(0,t.Z)(va))));Ka(Na),Na.forEach(function(eo){rr(eo,!0)})},aa=g.useMemo(function(){var Pr=Wn!==!1&&In!==!1;return(0,s.Z)((0,s.Z)({},Tn),{},{flattenOptions:Ua,onActiveValue:qn,defaultActiveFirstOption:Mn,onSelect:Hr,menuItemSelectedIcon:vn,rawValues:Tt,fieldNames:hr,virtual:Pr,direction:tr,listHeight:ct,listItemHeight:xt,childrenAsData:Fn})},[Tn,Ua,qn,Mn,Hr,vn,Tt,hr,Wn,In,ct,xt,Fn]);return g.createElement(It.Provider,{value:aa},g.createElement(Ee,(0,a.Z)({},zn,{id:Er,prefixCls:ln,ref:qe,omitDomProps:Rt,mode:Ut,displayValues:Dr,onDisplayValuesChange:Da,direction:tr,searchValue:Zn,onSearch:ia,autoClearSearchValue:Ft,onSearchSplit:Jr,dropdownMatchSelectWidth:In,OptionList:ze,emptyOptions:!Ua.length,activeValue:yo,activeDescendantId:"".concat(Er,"_list_").concat(dn)})))}),Se=Ie;Se.Option=Ye,Se.OptGroup=st;var bt=Se,Pt=bt},9457:function(b,y,e){"use strict";e.d(y,{Z:function(){return _}});var a=e(60698),t=e(57370),o=e(37734),s=e(38790),n=e(28314),d=e(47075),l=e(29140),c=e(87608),m=e.n(c),g=e(19570),M=e(33615),h=e(60409),S=e(58757),w=e(19425),C=e(81334),z=e(61834),$=` +`].includes(to)})},[cn]),Va=function(Ga,Qo,qo){var xo=!0,Ro=Ga;nr==null||nr(null);var Ci=qo?null:P(Ga,cn);return sn!=="combobox"&&Ci&&(Ro="",Ut==null||Ut(Ci),Ta(!1),xo=!1),Ct&&Rt!==Ro&&Ct(Ro,{source:Qo?"typing":"effect"}),xo},Xt=function(Ga){!Ga||!Ga.trim()||Ct(Ga,{source:"submit"})};g.useEffect(function(){!Lr&&!Yn&&sn!=="combobox"&&Va("",!1,!1)},[Lr]),g.useEffect(function(){Jr&&mt&&na(!1),mt&&ho(!1)},[mt]);var In=$(),Tn=(0,n.Z)(In,2),tr=Tn[0],yr=Tn[1],Wr=function(Ga){var Qo=tr(),qo=Ga.which;if(qo===C.Z.ENTER&&(sn!=="combobox"&&Ga.preventDefault(),Lr||Ta(!0)),yr(!!Rt),qo===C.Z.BACKSPACE&&!Qo&&Yn&&!Rt&&br.length){for(var xo=(0,t.Z)(br),Ro=null,Ci=xo.length-1;Ci>=0;Ci-=1){var Ri=xo[Ci];if(!Ri.disabled){xo.splice(Ci,1),Ro=Ri;break}}Ro&&zt(xo,{type:"remove",values:[Ro]})}for(var Ui=arguments.length,Os=new Array(Ui>1?Ui-1:0),fs=1;fs1?Qo-1:0),xo=1;xo1?Ci-1:0),Ui=1;Ui1&&arguments[1]!==void 0?arguments[1]:!1;return(0,J.Z)(He).map(function($t,Zt){if(!g.isValidElement($t)||!$t.type)return null;var qt=$t,un=qt.type.isSelectOptGroup,xn=qt.key,pn=qt.props,Gn=pn.children,Qn=(0,d.Z)(pn,xe);return qe||!un?ce($t):(0,s.Z)((0,s.Z)({key:"__RC_SELECT_GRP__".concat(xn===null?Zt:xn,"__"),label:xn},Qn),{},{options:Le(Gn)})}).filter(function($t){return $t})}function Oe(He,qe,$t,Zt,qt){return g.useMemo(function(){var un=He,xn=!He;xn&&(un=Le(qe));var pn=new Map,Gn=new Map,Qn=function(zt,en,an){an&&typeof an=="string"&&zt.set(en[an],en)};function ur(br){for(var zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,en=0;en1&&arguments[1]!==void 0?arguments[1]:1,sr=nr.length,Er=0;Er1&&arguments[1]!==void 0?arguments[1]:!1;Dn(wn);var sr={source:Rn?"keyboard":"mouse"},Er=nr[wn];if(!Er){vn(null,-1,sr);return}vn(Er.value,wn,sr)};(0,g.useEffect)(function(){Bn(An!==!1?Ct(0):-1)},[nr.length,Qn]);var Cr=g.useCallback(function(Wn){return gt.has(Wn)&&Gn!=="combobox"},[Gn,(0,t.Z)(gt).toString(),gt.size]);(0,g.useEffect)(function(){var Wn=setTimeout(function(){if(!pn&&xn&>.size===1){var Rn=Array.from(gt)[0],sr=nr.findIndex(function(Er){var Kr=Er.data;return Kr.value===Rn});sr!==-1&&(Bn(sr),It(sr))}});if(xn){var wn;(wn=ut.current)===null||wn===void 0||wn.scrollTo(void 0)}return function(){return clearTimeout(Wn)}},[xn,Qn,an.length]);var rr=function(wn){wn!==void 0&&sn(wn,{selected:!gt.has(wn)}),pn||ur(!1)};if(g.useImperativeHandle($t,function(){return{onKeyDown:function(wn){var Rn=wn.which,sr=wn.ctrlKey;switch(Rn){case C.Z.N:case C.Z.P:case C.Z.UP:case C.Z.DOWN:{var Er=0;if(Rn===C.Z.UP?Er=-1:Rn===C.Z.DOWN?Er=1:Ht()&&sr&&(Rn===C.Z.N?Er=1:Rn===C.Z.P&&(Er=-1)),Er!==0){var Kr=Ct(rn+Er,Er);It(Kr),Bn(Kr,!0)}break}case C.Z.ENTER:{var ta=nr[rn];ta&&!ta.data.disabled?rr(ta.value):rr(void 0),xn&&wn.preventDefault();break}case C.Z.ESC:ur(!1),xn&&wn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(wn){It(wn)}}}),nr.length===0)return g.createElement("div",{role:"listbox",id:"".concat(un,"_list"),className:"".concat(_n,"-empty"),onMouseDown:ct},br);var $n=Object.keys(ln).map(function(Wn){return ln[Wn]}),kr=function(wn){return wn.label};function Mr(Wn,wn){var Rn=Wn.group;return{role:Rn?"presentation":"option",id:"".concat(un,"_list_").concat(wn)}}var ia=function(wn){var Rn=nr[wn];if(!Rn)return null;var sr=Rn.data||{},Er=sr.value,Kr=Rn.group,ta=(0,T.Z)(sr,!0),ga=kr(Rn);return Rn?g.createElement("div",(0,a.Z)({"aria-label":typeof ga=="string"&&!Kr?ga:null},ta,{key:wn},Mr(Rn,wn),{"aria-selected":Cr(Er)}),Er):null},zr={role:"listbox",id:"".concat(un,"_list")};return g.createElement(g.Fragment,null,Qt&&g.createElement("div",(0,a.Z)({},zr,{style:{height:0,width:0,overflow:"hidden"}}),ia(rn-1),ia(rn),ia(rn+1)),g.createElement(it.Z,{itemKey:"key",ref:ut,data:nr,height:yn,itemHeight:gn,fullHeight:!1,onMouseDown:ct,onScroll:zt,virtual:Qt,direction:tn,innerProps:Qt?null:zr},function(Wn,wn){var Rn,sr=Wn.group,Er=Wn.groupOption,Kr=Wn.data,ta=Wn.label,ga=Wn.value,pr=Kr.key;if(sr){var Ur,Ma=(Ur=Kr.title)!==null&&Ur!==void 0?Ur:wt(ta)?ta.toString():void 0;return g.createElement("div",{className:h()(_n,"".concat(_n,"-group")),title:Ma},ta!==void 0?ta:pr)}var ma=Kr.disabled,Yn=Kr.title,Zn=Kr.children,Sr=Kr.style,Xr=Kr.className,wr=(0,d.Z)(Kr,Ot),Pt=(0,Be.Z)(wr,$n),on=Cr(ga),Mn="".concat(_n,"-option"),Ja=h()(_n,Mn,Xr,(Rn={},(0,o.Z)(Rn,"".concat(Mn,"-grouped"),Er),(0,o.Z)(Rn,"".concat(Mn,"-active"),rn===wn&&!ma),(0,o.Z)(Rn,"".concat(Mn,"-disabled"),ma),(0,o.Z)(Rn,"".concat(Mn,"-selected"),on),Rn)),mo=kr(Wn),Ua=!mt||typeof mt=="function"||on,ka=typeof mo=="number"?mo:mo||ga,Qa=wt(ka)?ka.toString():void 0;return Yn!==void 0&&(Qa=Yn),g.createElement("div",(0,a.Z)({},(0,T.Z)(Pt),Qt?{}:Mr(Wn,wn),{"aria-selected":on,className:Ja,title:Qa,onMouseMove:function(){rn===wn||ma||Bn(wn)},onClick:function(){ma||rr(ga)},style:Sr}),g.createElement("div",{className:"".concat(Mn,"-content")},ka),g.isValidElement(mt)||on,Ua&&g.createElement(k,{className:"".concat(_n,"-option-state"),customizeIcon:mt,customizeIconProps:{isSelected:on}},on?"\u2713":null))}))},yt=g.forwardRef(_t);yt.displayName="OptionList";var ze=yt;function tt(He){var qe=He.mode,$t=He.options,Zt=He.children,qt=He.backfill,un=He.allowClear,xn=He.placeholder,pn=He.getInputElement,Gn=He.showSearch,Qn=He.onSearch,ur=He.defaultOpen,br=He.autoFocus,zt=He.labelInValue,en=He.value,an=He.inputValue,vn=He.optionLabelProp,An=isMultiple(qe),sn=Gn!==void 0?Gn:An||qe==="combobox",mt=$t||convertChildrenToData(Zt);if(warning(qe!=="tags"||mt.every(function(tn){return!tn.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),qe==="tags"||qe==="combobox"){var gt=mt.some(function(tn){return tn.options?tn.options.some(function(yn){return typeof("value"in yn?yn.value:yn.key)=="number"}):typeof("value"in tn?tn.value:tn.key)=="number"});warning(!gt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(qe!=="combobox"||!vn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(qe==="combobox"||!qt,"`backfill` only works with `combobox` mode."),warning(qe==="combobox"||!pn,"`getInputElement` only work with `combobox` mode."),noteOnce(qe!=="combobox"||!pn||!un||!xn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Qn&&!sn&&qe!=="combobox"&&qe!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!ur||br,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),en!=null){var ln=toArray(en);warning(!zt||ln.every(function(tn){return _typeof(tn)==="object"&&("key"in tn||"value"in tn)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!An||Array.isArray(en),"`value` should be array when `mode` is `multiple` or `tags`")}if(Zt){var Qt=null;toNodeArray(Zt).some(function(tn){if(!React.isValidElement(tn)||!tn.type)return!1;var yn=tn,gn=yn.type;if(gn.isSelectOption)return!1;if(gn.isSelectOptGroup){var _n=toNodeArray(tn.props.children).every(function(nr){return!React.isValidElement(nr)||!tn.type||nr.type.isSelectOption?!0:(Qt=nr.type,!1)});return!_n}return Qt=gn,!0}),Qt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Qt.displayName||Qt.name||Qt,"`.")),warning(an===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function St(He,qe){if(He){var $t=function Zt(qt){for(var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xn=0;xn2&&arguments[2]!==void 0?arguments[2]:{},Ta=ca.source,eo=Ta===void 0?"keyboard":Ta;Pn(Zr),xn&&Zt==="combobox"&&Lr!==null&&eo==="keyboard"&&dt(String(Lr))},[xn,Zt]),ir=function(Zr,ca,Ta){var eo=function(){var _r,la=Xr(Zr);return[rn?{label:la==null?void 0:la[Mr.label],value:Zr,key:(_r=la==null?void 0:la.key)!==null&&_r!==void 0?_r:Zr}:Zr,R(la)]};if(ca&&en){var Va=eo(),Xt=(0,n.Z)(Va,2),In=Xt[0],Tn=Xt[1];en(In,Tn)}else if(!ca&&an&&Ta!=="clear"){var tr=eo(),yr=(0,n.Z)(tr,2),Wr=yr[0],ea=yr[1];an(Wr,ea)}},Hr=we(function(Lr,Zr){var ca,Ta=rr?Zr.selected:!0;Ta?ca=rr?[].concat((0,t.Z)(Sr),[Lr]):[Lr]:ca=Sr.filter(function(eo){return eo.value!==Lr}),Qa(ca),ir(Lr,Ta),Zt==="combobox"?dt(""):(!me||zt)&&(wn(""),dt(""))}),Oa=function(Zr,ca){Qa(Zr);var Ta=ca.type,eo=ca.values;(Ta==="remove"||Ta==="clear")&&eo.forEach(function(Va){ir(Va.value,!1,Ta)})},oa=function(Zr,ca){if(wn(Zr),dt(null),ca.source==="submit"){var Ta=(Zr||"").trim();if(Ta){var eo=Array.from(new Set([].concat((0,t.Z)(Pt),[Ta])));Qa(eo),ir(Ta,!0),wn("")}return}ca.source!=="blur"&&(Zt==="combobox"&&Qa(Zr),ur==null||ur(Zr))},Jr=function(Zr){var ca=Zr;Zt!=="tags"&&(ca=Zr.map(function(eo){var Va=Er.get(eo);return Va==null?void 0:Va.value}).filter(function(eo){return eo!==void 0}));var Ta=Array.from(new Set([].concat((0,t.Z)(Pt),(0,t.Z)(ca))));Qa(Ta),Ta.forEach(function(eo){ir(eo,!0)})},na=g.useMemo(function(){var Lr=_n!==!1&&An!==!1;return(0,s.Z)((0,s.Z)({},Rn),{},{flattenOptions:ka,onActiveValue:er,defaultActiveFirstOption:Sn,onSelect:Hr,menuItemSelectedIcon:gn,rawValues:Pt,fieldNames:Mr,virtual:Lr,direction:nr,listHeight:ct,listItemHeight:Ct,childrenAsData:$n})},[Rn,ka,er,Sn,Hr,gn,Pt,Mr,_n,An,ct,Ct,$n]);return g.createElement(xt.Provider,{value:na},g.createElement(Ee,(0,a.Z)({},Bn,{id:Cr,prefixCls:un,ref:qe,omitDomProps:Nt,mode:Zt,displayValues:wr,onDisplayValuesChange:Oa,direction:nr,searchValue:Wn,onSearch:oa,autoClearSearchValue:zt,onSearchSplit:Jr,dropdownMatchSelectWidth:An,OptionList:ze,emptyOptions:!ka.length,activeValue:ho,activeDescendantId:"".concat(Cr,"_list_").concat(dn)})))}),Se=Ie;Se.Option=Ye,Se.OptGroup=st;var bt=Se,jt=bt},9457:function(b,y,e){"use strict";e.d(y,{Z:function(){return _}});var a=e(60698),t=e(57370),o=e(37734),s=e(38790),n=e(28314),d=e(47075),l=e(29140),c=e(87608),m=e.n(c),g=e(19570),M=e(33615),h=e(60409),S=e(58757),w=e(19425),C=e(81334),F=e(61834),Z=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -479,7 +479,7 @@ Arguments: `+Array.prototype.slice.call(ot).join("")+` top:0 !important; right:0 !important; pointer-events: none !important; -`,N=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],L={},B;function D(U){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,G=U.getAttribute("id")||U.getAttribute("data-reactid")||U.getAttribute("name");if(A&&L[G])return L[G];var de=window.getComputedStyle(U),he=de.getPropertyValue("box-sizing")||de.getPropertyValue("-moz-box-sizing")||de.getPropertyValue("-webkit-box-sizing"),ge=parseFloat(de.getPropertyValue("padding-bottom"))+parseFloat(de.getPropertyValue("padding-top")),be=parseFloat(de.getPropertyValue("border-bottom-width"))+parseFloat(de.getPropertyValue("border-top-width")),Te=N.map(function(Je){return"".concat(Je,":").concat(de.getPropertyValue(Je))}).join(";"),Ge={sizingStyle:Te,paddingSize:ge,borderSize:be,boxSizing:he};return A&&G&&(L[G]=Ge),Ge}function T(U){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,de=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;B||(B=document.createElement("textarea"),B.setAttribute("tab-index","-1"),B.setAttribute("aria-hidden","true"),document.body.appendChild(B)),U.getAttribute("wrap")?B.setAttribute("wrap",U.getAttribute("wrap")):B.removeAttribute("wrap");var he=D(U,A),ge=he.paddingSize,be=he.borderSize,Te=he.boxSizing,Ge=he.sizingStyle;B.setAttribute("style","".concat(Ge,";").concat($)),B.value=U.value||U.placeholder||"";var Je=void 0,Qe=void 0,pt,Ct=B.scrollHeight;if(Te==="border-box"?Ct+=be:Te==="content-box"&&(Ct-=ge),G!==null||de!==null){B.value=" ";var ft=B.scrollHeight-ge;G!==null&&(Je=ft*G,Te==="border-box"&&(Je=Je+ge+be),Ct=Math.max(Je,Ct)),de!==null&&(Qe=ft*de,Te==="border-box"&&(Qe=Qe+ge+be),pt=Ct>Qe?"":"hidden",Ct=Math.min(Qe,Ct))}var Ht={height:Ct,overflowY:pt,resize:"none"};return Je&&(Ht.minHeight=Je),Qe&&(Ht.maxHeight=Qe),Ht}var j=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],K=0,k=1,te=2,Y=S.forwardRef(function(U,A){var G=U,de=G.prefixCls,he=G.onPressEnter,ge=G.defaultValue,be=G.value,Te=G.autoSize,Ge=G.onResize,Je=G.className,Qe=G.style,pt=G.disabled,Ct=G.onChange,ft=G.onInternalAutoSize,Ht=(0,d.Z)(G,j),Ze=(0,h.Z)(ge,{value:be,postState:function(st){return st!=null?st:""}}),Xe=(0,n.Z)(Ze,2),rt=Xe[0],Ke=Xe[1],ye=function(st){Ke(st.target.value),Ct==null||Ct(st)},ne=S.useRef();S.useImperativeHandle(A,function(){return{textArea:ne.current}});var H=S.useMemo(function(){return Te&&(0,s.Z)(Te)==="object"?[Te.minRows,Te.maxRows]:[]},[Te]),R=(0,n.Z)(H,2),P=R[0],ae=R[1],Q=!!Te,ie=function(){try{if(document.activeElement===ne.current){var st=ne.current,tt=st.selectionStart,Ye=st.selectionEnd,ke=st.scrollTop;ne.current.setSelectionRange(tt,Ye),ne.current.scrollTop=ke}}catch(Be){}},me=S.useState(te),je=(0,n.Z)(me,2),Ee=je[0],Me=je[1],We=S.useState(),re=(0,n.Z)(We,2),se=re[0],J=re[1],ce=function(){Me(K)};(0,C.Z)(function(){Q&&ce()},[be,P,ae,Q]),(0,C.Z)(function(){if(Ee===K)Me(k);else if(Ee===k){var Re=T(ne.current,!1,P,ae);Me(te),J(Re)}else ie()},[Ee]);var xe=S.useRef(),ue=function(){z.Z.cancel(xe.current)},Ne=function(st){Ee===te&&(Ge==null||Ge(st),Te&&(ue(),xe.current=(0,z.Z)(function(){ce()})))};S.useEffect(function(){return ue},[]);var Oe=Q?se:null,we=(0,t.Z)((0,t.Z)({},Qe),Oe);return(Ee===K||Ee===k)&&(we.overflowY="hidden",we.overflowX="hidden"),S.createElement(w.Z,{onResize:Ne,disabled:!(Te||Ge)},S.createElement("textarea",(0,a.Z)({},Ht,{ref:ne,style:we,className:m()(de,Je,(0,o.Z)({},"".concat(de,"-disabled"),pt)),disabled:pt,value:rt,onChange:ye})))}),q=Y,le=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function X(U,A){return(0,l.Z)(U||"").slice(0,A).join("")}function W(U,A,G,de){var he=G;return U?he=X(G,de):(0,l.Z)(A||"").lengthde&&(he=A),he}var x=S.forwardRef(function(U,A){var G,de=U.defaultValue,he=U.value,ge=U.onFocus,be=U.onBlur,Te=U.onChange,Ge=U.allowClear,Je=U.maxLength,Qe=U.onCompositionStart,pt=U.onCompositionEnd,Ct=U.suffix,ft=U.prefixCls,Ht=ft===void 0?"rc-textarea":ft,Ze=U.classes,Xe=U.showCount,rt=U.className,Ke=U.style,ye=U.disabled,ne=U.hidden,H=U.classNames,R=U.styles,P=U.onResize,ae=(0,d.Z)(U,le),Q=(0,h.Z)(de,{value:he,defaultValue:de}),ie=(0,n.Z)(Q,2),me=ie[0],je=ie[1],Ee=(0,S.useRef)(null),Me=S.useState(!1),We=(0,n.Z)(Me,2),re=We[0],se=We[1],J=S.useState(!1),ce=(0,n.Z)(J,2),xe=ce[0],ue=ce[1],Ne=S.useRef(),Oe=S.useRef(0),we=S.useState(null),Re=(0,n.Z)(we,2),st=Re[0],tt=Re[1],Ye=function(){var Ot;(Ot=Ee.current)===null||Ot===void 0||Ot.textArea.focus()};(0,S.useImperativeHandle)(A,function(){return{resizableTextArea:Ee.current,focus:Ye,blur:function(){var Ot;(Ot=Ee.current)===null||Ot===void 0||Ot.textArea.blur()}}}),(0,S.useEffect)(function(){se(function(Rt){return!ye&&Rt})},[ye]);var ke=Number(Je)>0,Be=function(Ot){ue(!0),Ne.current=me,Oe.current=Ot.currentTarget.selectionStart,Qe==null||Qe(Ot)},it=function(Ot){ue(!1);var Ie=Ot.currentTarget.value;if(ke){var Se,bt=Oe.current>=Je+1||Oe.current===((Se=Ne.current)===null||Se===void 0?void 0:Se.length);Ie=W(bt,Ne.current,Ie,Je)}Ie!==me&&(je(Ie),(0,M.rJ)(Ot.currentTarget,Ot,Te,Ie)),pt==null||pt(Ot)},Ve=function(Ot){var Ie=Ot.target.value;if(!xe&&ke){var Se=Ot.target.selectionStart>=Je+1||Ot.target.selectionStart===Ie.length||!Ot.target.selectionStart;Ie=W(Se,me,Ie,Je)}je(Ie),(0,M.rJ)(Ot.currentTarget,Ot,Te,Ie)},It=function(Ot){var Ie=ae.onPressEnter,Se=ae.onKeyDown;Ot.key==="Enter"&&Ie&&Ie(Ot),Se==null||Se(Ot)},_t=function(Ot){se(!0),ge==null||ge(Ot)},wt=function(Ot){se(!1),be==null||be(Ot)},jt=function(Ot){var Ie;je(""),Ye(),(0,M.rJ)((Ie=Ee.current)===null||Ie===void 0?void 0:Ie.textArea,Ot,Te)},Yt=(0,M.D7)(me);!xe&&ke&&he==null&&(Yt=X(Yt,Je));var yt=Ct,ze;if(Xe){var nt=(0,l.Z)(Yt).length;(0,s.Z)(Xe)==="object"?ze=Xe.formatter({value:Yt,count:nt,maxLength:Je}):ze="".concat(nt).concat(ke?" / ".concat(Je):""),yt=S.createElement(S.Fragment,null,yt,S.createElement("span",{className:m()("".concat(Ht,"-data-count"),H==null?void 0:H.count),style:R==null?void 0:R.count},ze))}var Et=function(Ot){var Ie;P==null||P(Ot),(Ie=Ee.current)!==null&&Ie!==void 0&&Ie.textArea.style.height&&tt(!0)},lt=!ae.autoSize&&!Xe&&!Ge,Gt=S.createElement(g.Q,{value:Yt,allowClear:Ge,handleReset:jt,suffix:yt,prefixCls:Ht,classes:{affixWrapper:m()(Ze==null?void 0:Ze.affixWrapper,(G={},(0,o.Z)(G,"".concat(Ht,"-show-count"),Xe),(0,o.Z)(G,"".concat(Ht,"-textarea-allow-clear"),Ge),G))},disabled:ye,focused:re,className:rt,style:(0,t.Z)((0,t.Z)({},Ke),st&&!lt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ze=="string"?ze:void 0}},hidden:ne,inputElement:S.createElement(q,(0,a.Z)({},ae,{onKeyDown:It,onChange:Ve,onFocus:_t,onBlur:wt,onCompositionStart:Be,onCompositionEnd:it,className:H==null?void 0:H.textarea,style:(0,t.Z)((0,t.Z)({},R==null?void 0:R.textarea),{},{resize:Ke==null?void 0:Ke.resize}),disabled:ye,prefixCls:Ht,onResize:Et,ref:Ee}))});return Gt}),O=x,_=O},33664:function(b,y,e){"use strict";e.d(y,{G:function(){return S},Z:function(){return $}});var a=e(60698),t=e(57370),o=e(47075),s=e(99863),n=e(58757),d={shiftX:64,adjustY:1},l={adjustX:1,shiftY:!0},c=[0,0],m={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:c}},g=null,M=e(87608),h=e.n(M);function S(N){var L=N.children,B=N.prefixCls,D=N.id,T=N.overlayInnerStyle,j=N.className,K=N.style;return n.createElement("div",{className:h()("".concat(B,"-content"),j),style:K},n.createElement("div",{className:"".concat(B,"-inner"),id:D,role:"tooltip",style:T},typeof L=="function"?L():L))}var w=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],C=function(L,B){var D=L.overlayClassName,T=L.trigger,j=T===void 0?["hover"]:T,K=L.mouseEnterDelay,k=K===void 0?0:K,te=L.mouseLeaveDelay,Y=te===void 0?.1:te,q=L.overlayStyle,le=L.prefixCls,X=le===void 0?"rc-tooltip":le,W=L.children,x=L.onVisibleChange,O=L.afterVisibleChange,_=L.transitionName,U=L.animation,A=L.motion,G=L.placement,de=G===void 0?"right":G,he=L.align,ge=he===void 0?{}:he,be=L.destroyTooltipOnHide,Te=be===void 0?!1:be,Ge=L.defaultVisible,Je=L.getTooltipContainer,Qe=L.overlayInnerStyle,pt=L.arrowContent,Ct=L.overlay,ft=L.id,Ht=L.showArrow,Ze=Ht===void 0?!0:Ht,Xe=(0,o.Z)(L,w),rt=(0,n.useRef)(null);(0,n.useImperativeHandle)(B,function(){return rt.current});var Ke=(0,t.Z)({},Xe);"visible"in L&&(Ke.popupVisible=L.visible);var ye=function(){return n.createElement(S,{key:"content",prefixCls:X,id:ft,overlayInnerStyle:Qe},Ct)};return n.createElement(s.Z,(0,a.Z)({popupClassName:D,prefixCls:X,popup:ye,action:j,builtinPlacements:m,popupPlacement:de,ref:rt,popupAlign:ge,getPopupContainer:Je,onPopupVisibleChange:x,afterPopupVisibleChange:O,popupTransitionName:_,popupAnimation:U,popupMotion:A,defaultPopupVisible:Ge,autoDestroy:Te,mouseLeaveDelay:Y,popupStyle:q,mouseEnterDelay:k,arrow:Ze},Ke),W)},z=(0,n.forwardRef)(C),$=z},42156:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});var a=e(58757),t=e(99415);function o(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=[];return a.Children.forEach(s,function(l){l==null&&!n.keepEmpty||(Array.isArray(l)?d=d.concat(o(l)):(0,t.isFragment)(l)&&l.props?d=d.concat(o(l.props.children,n)):d.push(l))}),d}},19075:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},70700:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t,o){if(!t)return!1;if(t.contains)return t.contains(o);for(var s=o;s;){if(s===t)return!0;s=s.parentNode}return!1}},39678:function(b,y,e){"use strict";e.d(y,{hq:function(){return z},jL:function(){return S}});var a=e(19075),t=e(70700),o="data-rc-order",s="data-rc-priority",n="rc-util-key",d=new Map;function l(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=$.mark;return N?N.startsWith("data-")?N:"data-".concat(N):n}function c($){if($.attachTo)return $.attachTo;var N=document.querySelector("head");return N||document.body}function m($){return $==="queue"?"prependQueue":$?"prepend":"append"}function g($){return Array.from((d.get($)||$).children).filter(function(N){return N.tagName==="STYLE"})}function M($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,a.Z)())return null;var L=N.csp,B=N.prepend,D=N.priority,T=D===void 0?0:D,j=m(B),K=j==="prependQueue",k=document.createElement("style");k.setAttribute(o,j),K&&T&&k.setAttribute(s,"".concat(T)),L!=null&&L.nonce&&(k.nonce=L==null?void 0:L.nonce),k.innerHTML=$;var te=c(N),Y=te.firstChild;if(B){if(K){var q=g(te).filter(function(le){if(!["prepend","prependQueue"].includes(le.getAttribute(o)))return!1;var X=Number(le.getAttribute(s)||0);return T>=X});if(q.length)return te.insertBefore(k,q[q.length-1].nextSibling),k}te.insertBefore(k,Y)}else te.appendChild(k);return k}function h($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=c(N);return g(L).find(function(B){return B.getAttribute(l(N))===$})}function S($){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=h($,N);if(L){var B=c(N);B.removeChild(L)}}function w($,N){var L=d.get($);if(!L||!(0,t.Z)(document,L)){var B=M("",N),D=B.parentNode;d.set($,D),$.removeChild(B)}}function C(){d.clear()}function z($,N){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=c(L);w(B,L);var D=h(N,L);if(D){var T,j;if((T=L.csp)!==null&&T!==void 0&&T.nonce&&D.nonce!==((j=L.csp)===null||j===void 0?void 0:j.nonce)){var K;D.nonce=(K=L.csp)===null||K===void 0?void 0:K.nonce}return D.innerHTML!==$&&(D.innerHTML=$),D}var k=M($,L);return k.setAttribute(l(L),N),k}},69188:function(b,y,e){"use strict";e.d(y,{S:function(){return o},Z:function(){return s}});var a=e(58757),t=e(26736);function o(n){return n instanceof HTMLElement||n instanceof SVGElement}function s(n){return o(n)?n:n instanceof a.Component?t.findDOMNode(n):null}},46499:function(b,y){"use strict";y.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var a=e.getBBox(),t=a.width,o=a.height;if(t||o)return!0}if(e.getBoundingClientRect){var s=e.getBoundingClientRect(),n=s.width,d=s.height;if(n||d)return!0}}return!1}},4171:function(b,y,e){"use strict";e.d(y,{A:function(){return o}});function a(s){var n;return s==null||(n=s.getRootNode)===null||n===void 0?void 0:n.call(s)}function t(s){return a(s)instanceof ShadowRoot}function o(s){return t(s)?a(s):null}},29639:function(b,y){"use strict";var e={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(t){var o=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||o>=e.F1&&o<=e.F12)return!1;switch(o){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=e.ZERO&&t<=e.NINE||t>=e.NUM_ZERO&&t<=e.NUM_MULTIPLY||t>=e.A&&t<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};y.Z=e},52323:function(b,y,e){"use strict";var a;e.d(y,{s:function(){return N},v:function(){return j}});var t=e(74632),o=e(79290),s=e(38790),n=e(57370),d=e(26736),l=(0,n.Z)({},a||(a=e.t(d,2))),c=l.version,m=l.render,g=l.unmountComponentAtNode,M;try{var h=Number((c||"").split(".")[0]);h>=18&&(M=l.createRoot)}catch(k){}function S(k){var te=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;te&&(0,s.Z)(te)==="object"&&(te.usingClientEntryPoint=k)}var w="__rc_react_root__";function C(k,te){S(!0);var Y=te[w]||M(te);S(!1),Y.render(k),te[w]=Y}function z(k,te){m(k,te)}function $(k,te){}function N(k,te){if(M){C(k,te);return}z(k,te)}function L(k){return B.apply(this,arguments)}function B(){return B=(0,o.Z)((0,t.Z)().mark(function k(te){return(0,t.Z)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.abrupt("return",Promise.resolve().then(function(){var le;(le=te[w])===null||le===void 0||le.unmount(),delete te[w]}));case 1:case"end":return q.stop()}},k)})),B.apply(this,arguments)}function D(k){g(k)}function T(k){}function j(k){return K.apply(this,arguments)}function K(){return K=(0,o.Z)((0,t.Z)().mark(function k(te){return(0,t.Z)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(M===void 0){q.next=2;break}return q.abrupt("return",L(te));case 2:D(te);case 3:case"end":return q.stop()}},k)})),K.apply(this,arguments)}},17502:function(b,y,e){"use strict";e.d(y,{Z:function(){return t},o:function(){return s}});var a;function t(n){if(typeof document=="undefined")return 0;if(n||a===void 0){var d=document.createElement("div");d.style.width="100%",d.style.height="200px";var l=document.createElement("div"),c=l.style;c.position="absolute",c.top="0",c.left="0",c.pointerEvents="none",c.visibility="hidden",c.width="200px",c.height="150px",c.overflow="hidden",l.appendChild(d),document.body.appendChild(l);var m=d.offsetWidth;l.style.overflow="scroll";var g=d.offsetWidth;m===g&&(g=l.clientWidth),document.body.removeChild(l),a=m-g}return a}function o(n){var d=n.match(/^(.*)px$/),l=Number(d==null?void 0:d[1]);return Number.isNaN(l)?t():l}function s(n){if(typeof document=="undefined"||!n||!(n instanceof Element))return{width:0,height:0};var d=getComputedStyle(n,"::-webkit-scrollbar"),l=d.width,c=d.height;return{width:o(l),height:o(c)}}},51729:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(o){var s=a.useRef();s.current=o;var n=a.useCallback(function(){for(var d,l=arguments.length,c=new Array(l),m=0;m2&&arguments[2]!==void 0?arguments[2]:!1,l=new Set;function c(m,g){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,h=l.has(m);if((0,t.ZP)(!h,"Warning: There may be circular references"),h)return!1;if(m===g)return!0;if(d&&M>1)return!1;l.add(m);var S=M+1;if(Array.isArray(m)){if(!Array.isArray(g)||m.length!==g.length)return!1;for(var w=0;w1&&arguments[1]!==void 0?arguments[1]:!1,G=U.getAttribute("id")||U.getAttribute("data-reactid")||U.getAttribute("name");if(A&&L[G])return L[G];var fe=window.getComputedStyle(U),pe=fe.getPropertyValue("box-sizing")||fe.getPropertyValue("-moz-box-sizing")||fe.getPropertyValue("-webkit-box-sizing"),ge=parseFloat(fe.getPropertyValue("padding-bottom"))+parseFloat(fe.getPropertyValue("padding-top")),be=parseFloat(fe.getPropertyValue("border-bottom-width"))+parseFloat(fe.getPropertyValue("border-top-width")),Te=N.map(function(Je){return"".concat(Je,":").concat(fe.getPropertyValue(Je))}).join(";"),Ge={sizingStyle:Te,paddingSize:ge,borderSize:be,boxSizing:pe};return A&&G&&(L[G]=Ge),Ge}function T(U){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;$||($=document.createElement("textarea"),$.setAttribute("tab-index","-1"),$.setAttribute("aria-hidden","true"),document.body.appendChild($)),U.getAttribute("wrap")?$.setAttribute("wrap",U.getAttribute("wrap")):$.removeAttribute("wrap");var pe=D(U,A),ge=pe.paddingSize,be=pe.borderSize,Te=pe.boxSizing,Ge=pe.sizingStyle;$.setAttribute("style","".concat(Ge,";").concat(Z)),$.value=U.value||U.placeholder||"";var Je=void 0,Qe=void 0,pt,Et=$.scrollHeight;if(Te==="border-box"?Et+=be:Te==="content-box"&&(Et-=ge),G!==null||fe!==null){$.value=" ";var ft=$.scrollHeight-ge;G!==null&&(Je=ft*G,Te==="border-box"&&(Je=Je+ge+be),Et=Math.max(Je,Et)),fe!==null&&(Qe=ft*fe,Te==="border-box"&&(Qe=Qe+ge+be),pt=Et>Qe?"":"hidden",Et=Math.min(Qe,Et))}var Wt={height:Et,overflowY:pt,resize:"none"};return Je&&(Wt.minHeight=Je),Qe&&(Wt.maxHeight=Qe),Wt}var j=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],K=0,k=1,te=2,V=S.forwardRef(function(U,A){var G=U,fe=G.prefixCls,pe=G.onPressEnter,ge=G.defaultValue,be=G.value,Te=G.autoSize,Ge=G.onResize,Je=G.className,Qe=G.style,pt=G.disabled,Et=G.onChange,ft=G.onInternalAutoSize,Wt=(0,d.Z)(G,j),$e=(0,h.Z)(ge,{value:be,postState:function(st){return st!=null?st:""}}),Xe=(0,n.Z)($e,2),nt=Xe[0],Ke=Xe[1],ye=function(st){Ke(st.target.value),Et==null||Et(st)},ne=S.useRef();S.useImperativeHandle(A,function(){return{textArea:ne.current}});var H=S.useMemo(function(){return Te&&(0,s.Z)(Te)==="object"?[Te.minRows,Te.maxRows]:[]},[Te]),R=(0,n.Z)(H,2),P=R[0],ae=R[1],Q=!!Te,ie=function(){try{if(document.activeElement===ne.current){var st=ne.current,et=st.selectionStart,Ye=st.selectionEnd,ke=st.scrollTop;ne.current.setSelectionRange(et,Ye),ne.current.scrollTop=ke}}catch(Be){}},me=S.useState(te),je=(0,n.Z)(me,2),Ee=je[0],Me=je[1],We=S.useState(),re=(0,n.Z)(We,2),se=re[0],J=re[1],de=function(){Me(K)};(0,C.Z)(function(){Q&&de()},[be,P,ae,Q]),(0,C.Z)(function(){if(Ee===K)Me(k);else if(Ee===k){var Ne=T(ne.current,!1,P,ae);Me(te),J(Ne)}else ie()},[Ee]);var xe=S.useRef(),ce=function(){F.Z.cancel(xe.current)},Le=function(st){Ee===te&&(Ge==null||Ge(st),Te&&(ce(),xe.current=(0,F.Z)(function(){de()})))};S.useEffect(function(){return ce},[]);var Oe=Q?se:null,we=(0,t.Z)((0,t.Z)({},Qe),Oe);return(Ee===K||Ee===k)&&(we.overflowY="hidden",we.overflowX="hidden"),S.createElement(w.Z,{onResize:Le,disabled:!(Te||Ge)},S.createElement("textarea",(0,a.Z)({},Wt,{ref:ne,style:we,className:m()(fe,Je,(0,o.Z)({},"".concat(fe,"-disabled"),pt)),disabled:pt,value:nt,onChange:ye})))}),q=V,le=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function X(U,A){return(0,l.Z)(U||"").slice(0,A).join("")}function W(U,A,G,fe){var pe=G;return U?pe=X(G,fe):(0,l.Z)(A||"").lengthfe&&(pe=A),pe}var x=S.forwardRef(function(U,A){var G,fe=U.defaultValue,pe=U.value,ge=U.onFocus,be=U.onBlur,Te=U.onChange,Ge=U.allowClear,Je=U.maxLength,Qe=U.onCompositionStart,pt=U.onCompositionEnd,Et=U.suffix,ft=U.prefixCls,Wt=ft===void 0?"rc-textarea":ft,$e=U.classes,Xe=U.showCount,nt=U.className,Ke=U.style,ye=U.disabled,ne=U.hidden,H=U.classNames,R=U.styles,P=U.onResize,ae=(0,d.Z)(U,le),Q=(0,h.Z)(fe,{value:pe,defaultValue:fe}),ie=(0,n.Z)(Q,2),me=ie[0],je=ie[1],Ee=(0,S.useRef)(null),Me=S.useState(!1),We=(0,n.Z)(Me,2),re=We[0],se=We[1],J=S.useState(!1),de=(0,n.Z)(J,2),xe=de[0],ce=de[1],Le=S.useRef(),Oe=S.useRef(0),we=S.useState(null),Ne=(0,n.Z)(we,2),st=Ne[0],et=Ne[1],Ye=function(){var At;(At=Ee.current)===null||At===void 0||At.textArea.focus()};(0,S.useImperativeHandle)(A,function(){return{resizableTextArea:Ee.current,focus:Ye,blur:function(){var At;(At=Ee.current)===null||At===void 0||At.textArea.blur()}}}),(0,S.useEffect)(function(){se(function(Nt){return!ye&&Nt})},[ye]);var ke=Number(Je)>0,Be=function(At){ce(!0),Le.current=me,Oe.current=At.currentTarget.selectionStart,Qe==null||Qe(At)},it=function(At){ce(!1);var Ie=At.currentTarget.value;if(ke){var Se,bt=Oe.current>=Je+1||Oe.current===((Se=Le.current)===null||Se===void 0?void 0:Se.length);Ie=W(bt,Le.current,Ie,Je)}Ie!==me&&(je(Ie),(0,M.rJ)(At.currentTarget,At,Te,Ie)),pt==null||pt(At)},Ve=function(At){var Ie=At.target.value;if(!xe&&ke){var Se=At.target.selectionStart>=Je+1||At.target.selectionStart===Ie.length||!At.target.selectionStart;Ie=W(Se,me,Ie,Je)}je(Ie),(0,M.rJ)(At.currentTarget,At,Te,Ie)},xt=function(At){var Ie=ae.onPressEnter,Se=ae.onKeyDown;At.key==="Enter"&&Ie&&Ie(At),Se==null||Se(At)},Ht=function(At){se(!0),ge==null||ge(At)},Ot=function(At){se(!1),be==null||be(At)},wt=function(At){var Ie;je(""),Ye(),(0,M.rJ)((Ie=Ee.current)===null||Ie===void 0?void 0:Ie.textArea,At,Te)},_t=(0,M.D7)(me);!xe&&ke&&pe==null&&(_t=X(_t,Je));var yt=Et,ze;if(Xe){var tt=(0,l.Z)(_t).length;(0,s.Z)(Xe)==="object"?ze=Xe.formatter({value:_t,count:tt,maxLength:Je}):ze="".concat(tt).concat(ke?" / ".concat(Je):""),yt=S.createElement(S.Fragment,null,yt,S.createElement("span",{className:m()("".concat(Wt,"-data-count"),H==null?void 0:H.count),style:R==null?void 0:R.count},ze))}var St=function(At){var Ie;P==null||P(At),(Ie=Ee.current)!==null&&Ie!==void 0&&Ie.textArea.style.height&&et(!0)},lt=!ae.autoSize&&!Xe&&!Ge,Gt=S.createElement(g.Q,{value:_t,allowClear:Ge,handleReset:wt,suffix:yt,prefixCls:Wt,classes:{affixWrapper:m()($e==null?void 0:$e.affixWrapper,(G={},(0,o.Z)(G,"".concat(Wt,"-show-count"),Xe),(0,o.Z)(G,"".concat(Wt,"-textarea-allow-clear"),Ge),G))},disabled:ye,focused:re,className:nt,style:(0,t.Z)((0,t.Z)({},Ke),st&&!lt?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ze=="string"?ze:void 0}},hidden:ne,inputElement:S.createElement(q,(0,a.Z)({},ae,{onKeyDown:xt,onChange:Ve,onFocus:Ht,onBlur:Ot,onCompositionStart:Be,onCompositionEnd:it,className:H==null?void 0:H.textarea,style:(0,t.Z)((0,t.Z)({},R==null?void 0:R.textarea),{},{resize:Ke==null?void 0:Ke.resize}),disabled:ye,prefixCls:Wt,onResize:St,ref:Ee}))});return Gt}),O=x,_=O},33664:function(b,y,e){"use strict";e.d(y,{G:function(){return S},Z:function(){return Z}});var a=e(60698),t=e(57370),o=e(47075),s=e(99863),n=e(58757),d={shiftX:64,adjustY:1},l={adjustX:1,shiftY:!0},c=[0,0],m={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:c},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:c},top:{points:["bc","tc"],overflow:d,offset:[0,-4],targetOffset:c},bottom:{points:["tc","bc"],overflow:d,offset:[0,4],targetOffset:c},topLeft:{points:["bl","tl"],overflow:d,offset:[0,-4],targetOffset:c},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:c},topRight:{points:["br","tr"],overflow:d,offset:[0,-4],targetOffset:c},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:c},bottomRight:{points:["tr","br"],overflow:d,offset:[0,4],targetOffset:c},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:d,offset:[0,4],targetOffset:c},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:c}},g=null,M=e(87608),h=e.n(M);function S(N){var L=N.children,$=N.prefixCls,D=N.id,T=N.overlayInnerStyle,j=N.className,K=N.style;return n.createElement("div",{className:h()("".concat($,"-content"),j),style:K},n.createElement("div",{className:"".concat($,"-inner"),id:D,role:"tooltip",style:T},typeof L=="function"?L():L))}var w=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],C=function(L,$){var D=L.overlayClassName,T=L.trigger,j=T===void 0?["hover"]:T,K=L.mouseEnterDelay,k=K===void 0?0:K,te=L.mouseLeaveDelay,V=te===void 0?.1:te,q=L.overlayStyle,le=L.prefixCls,X=le===void 0?"rc-tooltip":le,W=L.children,x=L.onVisibleChange,O=L.afterVisibleChange,_=L.transitionName,U=L.animation,A=L.motion,G=L.placement,fe=G===void 0?"right":G,pe=L.align,ge=pe===void 0?{}:pe,be=L.destroyTooltipOnHide,Te=be===void 0?!1:be,Ge=L.defaultVisible,Je=L.getTooltipContainer,Qe=L.overlayInnerStyle,pt=L.arrowContent,Et=L.overlay,ft=L.id,Wt=L.showArrow,$e=Wt===void 0?!0:Wt,Xe=(0,o.Z)(L,w),nt=(0,n.useRef)(null);(0,n.useImperativeHandle)($,function(){return nt.current});var Ke=(0,t.Z)({},Xe);"visible"in L&&(Ke.popupVisible=L.visible);var ye=function(){return n.createElement(S,{key:"content",prefixCls:X,id:ft,overlayInnerStyle:Qe},Et)};return n.createElement(s.Z,(0,a.Z)({popupClassName:D,prefixCls:X,popup:ye,action:j,builtinPlacements:m,popupPlacement:fe,ref:nt,popupAlign:ge,getPopupContainer:Je,onPopupVisibleChange:x,afterPopupVisibleChange:O,popupTransitionName:_,popupAnimation:U,popupMotion:A,defaultPopupVisible:Ge,autoDestroy:Te,mouseLeaveDelay:V,popupStyle:q,mouseEnterDelay:k,arrow:$e},Ke),W)},F=(0,n.forwardRef)(C),Z=F},42156:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});var a=e(58757),t=e(99415);function o(s){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=[];return a.Children.forEach(s,function(l){l==null&&!n.keepEmpty||(Array.isArray(l)?d=d.concat(o(l)):(0,t.isFragment)(l)&&l.props?d=d.concat(o(l.props.children,n)):d.push(l))}),d}},19075:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},70700:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t,o){if(!t)return!1;if(t.contains)return t.contains(o);for(var s=o;s;){if(s===t)return!0;s=s.parentNode}return!1}},39678:function(b,y,e){"use strict";e.d(y,{hq:function(){return F},jL:function(){return S}});var a=e(19075),t=e(70700),o="data-rc-order",s="data-rc-priority",n="rc-util-key",d=new Map;function l(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=Z.mark;return N?N.startsWith("data-")?N:"data-".concat(N):n}function c(Z){if(Z.attachTo)return Z.attachTo;var N=document.querySelector("head");return N||document.body}function m(Z){return Z==="queue"?"prependQueue":Z?"prepend":"append"}function g(Z){return Array.from((d.get(Z)||Z).children).filter(function(N){return N.tagName==="STYLE"})}function M(Z){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,a.Z)())return null;var L=N.csp,$=N.prepend,D=N.priority,T=D===void 0?0:D,j=m($),K=j==="prependQueue",k=document.createElement("style");k.setAttribute(o,j),K&&T&&k.setAttribute(s,"".concat(T)),L!=null&&L.nonce&&(k.nonce=L==null?void 0:L.nonce),k.innerHTML=Z;var te=c(N),V=te.firstChild;if($){if(K){var q=g(te).filter(function(le){if(!["prepend","prependQueue"].includes(le.getAttribute(o)))return!1;var X=Number(le.getAttribute(s)||0);return T>=X});if(q.length)return te.insertBefore(k,q[q.length-1].nextSibling),k}te.insertBefore(k,V)}else te.appendChild(k);return k}function h(Z){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=c(N);return g(L).find(function($){return $.getAttribute(l(N))===Z})}function S(Z){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},L=h(Z,N);if(L){var $=c(N);$.removeChild(L)}}function w(Z,N){var L=d.get(Z);if(!L||!(0,t.Z)(document,L)){var $=M("",N),D=$.parentNode;d.set(Z,D),Z.removeChild($)}}function C(){d.clear()}function F(Z,N){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$=c(L);w($,L);var D=h(N,L);if(D){var T,j;if((T=L.csp)!==null&&T!==void 0&&T.nonce&&D.nonce!==((j=L.csp)===null||j===void 0?void 0:j.nonce)){var K;D.nonce=(K=L.csp)===null||K===void 0?void 0:K.nonce}return D.innerHTML!==Z&&(D.innerHTML=Z),D}var k=M(Z,L);return k.setAttribute(l(L),N),k}},69188:function(b,y,e){"use strict";e.d(y,{S:function(){return o},Z:function(){return s}});var a=e(58757),t=e(26736);function o(n){return n instanceof HTMLElement||n instanceof SVGElement}function s(n){return o(n)?n:n instanceof a.Component?t.findDOMNode(n):null}},46499:function(b,y){"use strict";y.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var a=e.getBBox(),t=a.width,o=a.height;if(t||o)return!0}if(e.getBoundingClientRect){var s=e.getBoundingClientRect(),n=s.width,d=s.height;if(n||d)return!0}}return!1}},4171:function(b,y,e){"use strict";e.d(y,{A:function(){return o}});function a(s){var n;return s==null||(n=s.getRootNode)===null||n===void 0?void 0:n.call(s)}function t(s){return a(s)instanceof ShadowRoot}function o(s){return t(s)?a(s):null}},29639:function(b,y){"use strict";var e={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(t){var o=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||o>=e.F1&&o<=e.F12)return!1;switch(o){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=e.ZERO&&t<=e.NINE||t>=e.NUM_ZERO&&t<=e.NUM_MULTIPLY||t>=e.A&&t<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};y.Z=e},52323:function(b,y,e){"use strict";var a;e.d(y,{s:function(){return N},v:function(){return j}});var t=e(74632),o=e(79290),s=e(38790),n=e(57370),d=e(26736),l=(0,n.Z)({},a||(a=e.t(d,2))),c=l.version,m=l.render,g=l.unmountComponentAtNode,M;try{var h=Number((c||"").split(".")[0]);h>=18&&(M=l.createRoot)}catch(k){}function S(k){var te=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;te&&(0,s.Z)(te)==="object"&&(te.usingClientEntryPoint=k)}var w="__rc_react_root__";function C(k,te){S(!0);var V=te[w]||M(te);S(!1),V.render(k),te[w]=V}function F(k,te){m(k,te)}function Z(k,te){}function N(k,te){if(M){C(k,te);return}F(k,te)}function L(k){return $.apply(this,arguments)}function $(){return $=(0,o.Z)((0,t.Z)().mark(function k(te){return(0,t.Z)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.abrupt("return",Promise.resolve().then(function(){var le;(le=te[w])===null||le===void 0||le.unmount(),delete te[w]}));case 1:case"end":return q.stop()}},k)})),$.apply(this,arguments)}function D(k){g(k)}function T(k){}function j(k){return K.apply(this,arguments)}function K(){return K=(0,o.Z)((0,t.Z)().mark(function k(te){return(0,t.Z)().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(M===void 0){q.next=2;break}return q.abrupt("return",L(te));case 2:D(te);case 3:case"end":return q.stop()}},k)})),K.apply(this,arguments)}},17502:function(b,y,e){"use strict";e.d(y,{Z:function(){return t},o:function(){return s}});var a;function t(n){if(typeof document=="undefined")return 0;if(n||a===void 0){var d=document.createElement("div");d.style.width="100%",d.style.height="200px";var l=document.createElement("div"),c=l.style;c.position="absolute",c.top="0",c.left="0",c.pointerEvents="none",c.visibility="hidden",c.width="200px",c.height="150px",c.overflow="hidden",l.appendChild(d),document.body.appendChild(l);var m=d.offsetWidth;l.style.overflow="scroll";var g=d.offsetWidth;m===g&&(g=l.clientWidth),document.body.removeChild(l),a=m-g}return a}function o(n){var d=n.match(/^(.*)px$/),l=Number(d==null?void 0:d[1]);return Number.isNaN(l)?t():l}function s(n){if(typeof document=="undefined"||!n||!(n instanceof Element))return{width:0,height:0};var d=getComputedStyle(n,"::-webkit-scrollbar"),l=d.width,c=d.height;return{width:o(l),height:o(c)}}},51729:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(58757);function t(o){var s=a.useRef();s.current=o;var n=a.useCallback(function(){for(var d,l=arguments.length,c=new Array(l),m=0;m2&&arguments[2]!==void 0?arguments[2]:!1,l=new Set;function c(m,g){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,h=l.has(m);if((0,t.ZP)(!h,"Warning: There may be circular references"),h)return!1;if(m===g)return!0;if(d&&M>1)return!1;l.add(m);var S=M+1;if(Array.isArray(m)){if(!Array.isArray(g)||m.length!==g.length)return!1;for(var w=0;w1&&arguments[1]!==void 0?arguments[1]:!1,M;g===!1?M={aria:!0,data:!0,attr:!0}:g===!0?M={aria:!0}:M=(0,a.Z)({},g);var h={};return Object.keys(m).forEach(function(S){(M.aria&&(S==="role"||l(S,n))||M.data&&l(S,d)||M.attr&&s.includes(S))&&(h[S]=m[S])}),h}},61834:function(b,y){"use strict";var e=function(l){return+setTimeout(l,16)},a=function(l){return clearTimeout(l)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(l){return window.requestAnimationFrame(l)},a=function(l){return window.cancelAnimationFrame(l)});var t=0,o=new Map;function s(d){o.delete(d)}var n=function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;t+=1;var m=t;function g(M){if(M===0)s(m),l();else{var h=e(function(){g(M-1)});o.set(m,h)}}return g(c),m};n.cancel=function(d){var l=o.get(d);return s(l),a(l)},y.Z=n},21319:function(b,y,e){"use strict";e.d(y,{Yr:function(){return c},mH:function(){return n},sQ:function(){return d},t4:function(){return m},x1:function(){return l}});var a=e(38790),t=e(58757),o=e(99415),s=e(27903);function n(g,M){typeof g=="function"?g(M):(0,a.Z)(g)==="object"&&g&&"current"in g&&(g.current=M)}function d(){for(var g=arguments.length,M=new Array(g),h=0;h3&&arguments[3]!==void 0?arguments[3]:!1;return S.length&&C&&w===void 0&&!(0,n.Z)(h,S.slice(0,-1))?h:d(h,S,w,C)}function c(h){return(0,a.Z)(h)==="object"&&h!==null&&Object.getPrototypeOf(h)===Object.prototype}function m(h){return Array.isArray(h)?[]:{}}var g=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function M(){for(var h=arguments.length,S=new Array(h),w=0;w0&&arguments[0]!==void 0?arguments[0]:{},L=N.mark;return L?L.startsWith("data-")?L:"data-".concat(L):d}function m(N){if(N.attachTo)return N.attachTo;var L=document.querySelector("head");return L||document.body}function g(N){return N==="queue"?"prependQueue":N?"prepend":"append"}function M(N){return Array.from((l.get(N)||N).children).filter(function(L){return L.tagName==="STYLE"})}function h(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,t.default)())return null;var B=L.csp,D=L.prepend,T=L.priority,j=T===void 0?0:T,K=g(D),k=K==="prependQueue",te=document.createElement("style");te.setAttribute(s,K),k&&j&&te.setAttribute(n,"".concat(j)),B!=null&&B.nonce&&(te.nonce=B==null?void 0:B.nonce),te.innerHTML=N;var Y=m(L),q=Y.firstChild;if(D){if(k){var le=M(Y).filter(function(X){if(!["prepend","prependQueue"].includes(X.getAttribute(s)))return!1;var W=Number(X.getAttribute(n)||0);return j>=W});if(le.length)return Y.insertBefore(te,le[le.length-1].nextSibling),te}Y.insertBefore(te,q)}else Y.appendChild(te);return te}function S(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=m(L);return M(B).find(function(D){return D.getAttribute(c(L))===N})}function w(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=S(N,L);if(B){var D=m(L);D.removeChild(B)}}function C(N,L){var B=l.get(N);if(!B||!(0,o.default)(document,B)){var D=h("",L),T=D.parentNode;l.set(N,T),N.removeChild(D)}}function z(){l.clear()}function $(N,L){var B=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=m(B);C(D,B);var T=S(L,B);if(T){var j,K;if((j=B.csp)!==null&&j!==void 0&&j.nonce&&T.nonce!==((K=B.csp)===null||K===void 0?void 0:K.nonce)){var k;T.nonce=(k=B.csp)===null||k===void 0?void 0:k.nonce}return T.innerHTML!==N&&(T.innerHTML=N),T}var te=h(N,B);return te.setAttribute(c(B),L),te}},13393:function(b,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getShadowRoot=t,y.inShadow=a;function e(o){var s;return o==null||(s=o.getRootNode)===null||s===void 0?void 0:s.call(o)}function a(o){return e(o)instanceof ShadowRoot}function t(o){return a(o)?e(o):null}},6717:function(b,y,e){"use strict";var a=e(55082).default;Object.defineProperty(y,"__esModule",{value:!0}),y.default=o;var t=a(e(58757));function o(s,n,d){var l=t.useRef({});return(!("value"in l.current)||d(l.current.condition,n))&&(l.current.value=s(),l.current.condition=n),l.current.value}},25697:function(b,y,e){"use strict";var a=e(92199).default;Object.defineProperty(y,"__esModule",{value:!0}),y.composeRef=l,y.fillRef=d,y.supportNodeRef=g,y.supportRef=m,y.useComposeRef=c;var t=a(e(98316)),o=e(58757),s=e(99415),n=a(e(6717));function d(M,h){typeof M=="function"?M(h):(0,t.default)(M)==="object"&&M&&"current"in M&&(M.current=h)}function l(){for(var M=arguments.length,h=new Array(M),S=0;S0,_t=l.useMemo(function(){if(Ke===0||it===0)return 0;var Gt=Ke/it;return Gt*Ve},[Ke,it,Ve]),wt=function(Rt){Rt.stopPropagation(),Rt.preventDefault()},jt=l.useRef({top:_t,dragging:je,pageY:re,startTop:xe});jt.current={top:_t,dragging:je,pageY:re,startTop:xe};var Yt=function(Rt){Ee(!0),se(C(Rt,P)),ue(jt.current.top),ne(),Rt.stopPropagation(),Rt.preventDefault()};l.useEffect(function(){var Gt=function(Se){Se.preventDefault()},Rt=Oe.current,Ot=we.current;return Rt.addEventListener("touchstart",Gt),Ot.addEventListener("touchstart",Yt),function(){Rt.removeEventListener("touchstart",Gt),Ot.removeEventListener("touchstart",Yt)}},[]);var yt=l.useRef();yt.current=it;var ze=l.useRef();ze.current=Ve,l.useEffect(function(){if(je){var Gt,Rt=function(Se){var bt=jt.current,Pt=bt.dragging,He=bt.pageY,qe=bt.startTop;if(w.Z.cancel(Gt),Pt){var Zt=C(Se,P)-He,Ut=qe;!Ne&&P?Ut-=Zt:Ut+=Zt;var qt=yt.current,ln=ze.current,En=ln?Ut/ln:0,mn=Math.ceil(En*qt);mn=Math.max(mn,0),mn=Math.min(mn,qt),Gt=(0,w.Z)(function(){R(mn,P)})}},Ot=function(){Ee(!1),H()};return window.addEventListener("mousemove",Rt),window.addEventListener("touchmove",Rt),window.addEventListener("mouseup",Ot),window.addEventListener("touchend",Ot),function(){window.removeEventListener("mousemove",Rt),window.removeEventListener("touchmove",Rt),window.removeEventListener("mouseup",Ot),window.removeEventListener("touchend",Ot),w.Z.cancel(Gt)}}},[je]),l.useEffect(function(){Be()},[Ke]),l.useImperativeHandle(Ht,function(){return{delayHidden:Be}});var nt="".concat(Xe,"-scrollbar"),Et={position:"absolute",visibility:tt&&It?null:"hidden"},lt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return P?(Et.height=8,Et.left=0,Et.right=0,Et.bottom=0,lt.height="100%",lt.width=ae,Ne?lt.left=_t:lt.right=_t):(Et.width=8,Et.top=0,Et.bottom=0,Ne?Et.right=0:Et.left=0,lt.width="100%",lt.height=ae,lt.top=_t),l.createElement("div",{ref:Oe,className:g()(nt,(Ze={},(0,n.Z)(Ze,"".concat(nt,"-horizontal"),P),(0,n.Z)(Ze,"".concat(nt,"-vertical"),!P),(0,n.Z)(Ze,"".concat(nt,"-visible"),tt),Ze)),style:Et,onMouseDown:wt,onMouseMove:Be},l.createElement("div",{ref:we,className:g()("".concat(nt,"-thumb"),(0,n.Z)({},"".concat(nt,"-thumb-moving"),je)),style:lt,onMouseDown:Yt}))}),$=z;function N(ft){var Ht=ft.children,Ze=ft.setRef,Xe=l.useCallback(function(rt){Ze(rt)},[]);return l.cloneElement(Ht,{ref:Xe})}function L(ft,Ht,Ze,Xe,rt,Ke,ye){var ne=ye.getKey;return ft.slice(Ht,Ze+1).map(function(H,R){var P=Ht+R,ae=Ke(H,P,{style:{width:Xe}}),Q=ne(H);return l.createElement(N,{key:Q,setRef:function(me){return rt(H,me)}},ae)})}var B=e(69188),D=e(60412),T=e(14346),j=function(){function ft(){(0,D.Z)(this,ft),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,T.Z)(ft,[{key:"set",value:function(Ze,Xe){this.maps[Ze]=Xe,this.id+=1}},{key:"get",value:function(Ze){return this.maps[Ze]}}]),ft}(),K=j;function k(ft,Ht,Ze){var Xe=l.useState(0),rt=(0,s.Z)(Xe,2),Ke=rt[0],ye=rt[1],ne=(0,l.useRef)(new Map),H=(0,l.useRef)(new K),R=(0,l.useRef)();function P(){w.Z.cancel(R.current)}function ae(){P(),R.current=(0,w.Z)(function(){ne.current.forEach(function(ie,me){if(ie&&ie.offsetParent){var je=(0,B.Z)(ie),Ee=je.offsetHeight;H.current.get(me)!==Ee&&H.current.set(me,je.offsetHeight)}}),ye(function(ie){return ie+1})})}function Q(ie,me){var je=ft(ie),Ee=ne.current.get(je);me?(ne.current.set(je,me),ae()):ne.current.delete(je),!Ee!=!me&&(me?Ht==null||Ht(ie):Ze==null||Ze(ie))}return(0,l.useEffect)(function(){return P},[]),[Q,ae,H.current,Ke]}function te(ft,Ht,Ze,Xe,rt,Ke,ye,ne){var H=l.useRef();return function(R){if(R==null){ne();return}if(w.Z.cancel(H.current),typeof R=="number")ye(R);else if(R&&(0,o.Z)(R)==="object"){var P,ae=R.align;"index"in R?P=R.index:P=Ht.findIndex(function(je){return rt(je)===R.key});var Q=R.offset,ie=Q===void 0?0:Q,me=function je(Ee,Me){if(!(Ee<0||!ft.current)){var We=ft.current.clientHeight,re=!1,se=Me;if(We){for(var J=Me||ae,ce=0,xe=0,ue=0,Ne=Math.min(Ht.length,P),Oe=0;Oe<=Ne;Oe+=1){var we=rt(Ht[Oe]);xe=ce;var Re=Ze.get(we);ue=xe+(Re===void 0?Xe:Re),ce=ue,Oe===P&&Re===void 0&&(re=!0)}var st=null;switch(J){case"top":st=xe-ie;break;case"bottom":st=ue-We+ie;break;default:{var tt=ft.current.scrollTop,Ye=tt+We;xeYe&&(se="bottom")}}st!==null&&st!==ft.current.scrollTop&&ye(st)}H.current=(0,w.Z)(function(){re&&Ke(),je(Ee-1,se)},2)}};me(3)}}}function Y(ft,Ht,Ze,Xe){var rt=Ze-ft,Ke=Ht-Ze,ye=Math.min(rt,Ke)*2;if(Xe<=ye){var ne=Math.floor(Xe/2);return Xe%2?Ze+ne+1:Ze-ne}return rt>Ke?Ze-(Xe-Ke):Ze+(Xe-rt)}function q(ft,Ht,Ze){var Xe=ft.length,rt=Ht.length,Ke,ye;if(Xe===0&&rt===0)return null;Xe1&&arguments[1]!==void 0?arguments[1]:!1,H=ye<0&&Ke.current.top||ye>0&&Ke.current.bottom;return ne&&H?(clearTimeout(Xe.current),Ze.current=!1):(!H||Ze.current)&&rt(),!Ze.current&&H}};function O(ft,Ht,Ze,Xe,rt){var Ke=(0,l.useRef)(0),ye=(0,l.useRef)(null),ne=(0,l.useRef)(null),H=(0,l.useRef)(!1),R=x(Ht,Ze);function P(Ee){w.Z.cancel(ye.current);var Me=Ee.deltaY;Ke.current+=Me,ne.current=Me,!R(Me)&&(W||Ee.preventDefault(),ye.current=(0,w.Z)(function(){var We=H.current?10:1;rt(Ke.current*We),Ke.current=0}))}function ae(Ee){var Me=Ee.deltaX;rt(Me,!0),W||Ee.preventDefault()}var Q=(0,l.useRef)(null),ie=(0,l.useRef)(null);function me(Ee){if(ft){w.Z.cancel(ie.current),ie.current=(0,w.Z)(function(){Q.current=null},2);var Me=Ee.deltaX,We=Ee.deltaY,re=Math.abs(Me),se=Math.abs(We);Q.current===null&&(Q.current=Xe&&re>se?"x":"y"),Q.current==="x"?ae(Ee):P(Ee)}}function je(Ee){ft&&(H.current=Ee.detail===ne.current)}return[me,je]}var _=e(81334),U=14/15;function A(ft,Ht,Ze){var Xe=(0,l.useRef)(!1),rt=(0,l.useRef)(0),Ke=(0,l.useRef)(null),ye=(0,l.useRef)(null),ne,H=function(Q){if(Xe.current){var ie=Math.ceil(Q.touches[0].pageY),me=rt.current-ie;rt.current=ie,Ze(me)&&Q.preventDefault(),clearInterval(ye.current),ye.current=setInterval(function(){me*=U,(!Ze(me,!0)||Math.abs(me)<=.1)&&clearInterval(ye.current)},16)}},R=function(){Xe.current=!1,ne()},P=function(Q){ne(),Q.touches.length===1&&!Xe.current&&(Xe.current=!0,rt.current=Math.ceil(Q.touches[0].pageY),Ke.current=Q.target,Ke.current.addEventListener("touchmove",H),Ke.current.addEventListener("touchend",R))};ne=function(){Ke.current&&(Ke.current.removeEventListener("touchmove",H),Ke.current.removeEventListener("touchend",R))},(0,_.Z)(function(){return ft&&Ht.current.addEventListener("touchstart",P),function(){var ae;(ae=Ht.current)===null||ae===void 0||ae.removeEventListener("touchstart",P),ne(),clearInterval(ye.current)}},[ft])}var G=20;function de(){var ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Ze=ft/Ht*100;return isNaN(Ze)&&(Ze=0),Ze=Math.max(Ze,G),Ze=Math.min(Ze,ft/2),Math.floor(Ze)}var he=e(71219);function ge(ft,Ht,Ze,Xe){var rt=l.useMemo(function(){return[new Map,[]]},[ft,Ze.id,Xe]),Ke=(0,s.Z)(rt,2),ye=Ke[0],ne=Ke[1],H=function(P){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P,Q=ye.get(P),ie=ye.get(ae);if(Q===void 0||ie===void 0)for(var me=ft.length,je=ne.length;jeKe,Oe=me==="rtl",we=g()(Xe,(0,n.Z)({},"".concat(Xe,"-rtl"),Oe),rt),Re=P||Te,st=(0,l.useRef)(),tt=(0,l.useRef)(),Ye=(0,l.useState)(0),ke=(0,s.Z)(Ye,2),Be=ke[0],it=ke[1],Ve=(0,l.useState)(0),It=(0,s.Z)(Ve,2),_t=It[0],wt=It[1],jt=(0,l.useState)(!1),Yt=(0,s.Z)(jt,2),yt=Yt[0],ze=Yt[1],nt=function(){ze(!0)},Et=function(){ze(!1)},lt=l.useCallback(function(On){return typeof Q=="function"?Q(On):On==null?void 0:On[Q]},[Q]),Gt={getKey:lt};function Rt(On){it(function(Tn){var ar;typeof On=="function"?ar=On(Tn):ar=On;var br=tn(ar);return st.current.scrollTop=br,br})}var Ot=(0,l.useRef)({start:0,end:Re.length}),Ie=(0,l.useRef)(),Se=le(Re,lt),bt=(0,s.Z)(Se,1),Pt=bt[0];Ie.current=Pt;var He=k(lt,null,null),qe=(0,s.Z)(He,4),Zt=qe[0],Ut=qe[1],qt=qe[2],ln=qe[3],En=l.useMemo(function(){if(!ue)return{scrollHeight:void 0,start:0,end:Re.length-1,offset:void 0};if(!Ne){var On;return{scrollHeight:((On=tt.current)===null||On===void 0?void 0:On.offsetHeight)||0,start:0,end:Re.length-1,offset:void 0}}for(var Tn=0,ar,br,Kr,ra=Re.length,pa=0;pa=Be&&ar===void 0&&(ar=pa,br=Tn),ha>Be+Ke&&Kr===void 0&&(Kr=pa),Tn=ha}return ar===void 0&&(ar=0,br=0,Kr=Math.ceil(Ke/ye)),Kr===void 0&&(Kr=Re.length-1),Kr=Math.min(Kr+1,Re.length-1),{scrollHeight:Tn,start:ar,end:Kr,offset:br}},[Ne,ue,Be,Re,ln,Ke]),mn=En.scrollHeight,Yn=En.start,Gn=En.end,ir=En.offset;Ot.current.start=Yn,Ot.current.end=Gn;var mr=l.useState({width:0,height:Ke}),Ft=(0,s.Z)(mr,2),en=Ft[0],rn=Ft[1],fn=function(Tn){rn(Tn)},In=(0,l.useRef)(),on=(0,l.useRef)(),mt=l.useMemo(function(){return de(en.width,je)},[en.width,je]),gt=l.useMemo(function(){return de(en.height,mn)},[en.height,mn]),sn=mn-Ke,Qt=(0,l.useRef)(sn);Qt.current=sn;function tn(On){var Tn=On;return Number.isNaN(Qt.current)||(Tn=Math.min(Tn,Qt.current)),Tn=Math.max(Tn,0),Tn}var yn=Be<=0,vn=Be>=sn,Wn=x(yn,vn),tr=function(){return{x:Oe?-_t:_t,y:Be}},ut=(0,l.useRef)(tr()),ct=(0,he.zX)(function(){if(re){var On=tr();(ut.current.x!==On.x||ut.current.y!==On.y)&&(re(On),ut.current=On)}});function At(On,Tn){var ar=On;Tn?((0,c.flushSync)(function(){wt(ar)}),ct()):Rt(ar)}function xt(On){var Tn=On.currentTarget.scrollTop;Tn!==Be&&Rt(Tn),We==null||We(On),ct()}var kt=function(Tn){var ar=Tn,br=je-en.width;return ar=Math.max(ar,0),ar=Math.min(ar,br),ar},un=(0,he.zX)(function(On,Tn){Tn?((0,c.flushSync)(function(){wt(function(ar){var br=ar+(Oe?-On:On);return kt(br)})}),ct()):Rt(function(ar){var br=ar+On;return br})}),nn=O(ue,yn,vn,!!je,un),An=(0,s.Z)(nn,2),zn=An[0],Er=An[1];A(ue,st,function(On,Tn){return Wn(On,Tn)?!1:(zn({preventDefault:function(){},deltaY:On}),!0)}),(0,_.Z)(function(){function On(ar){ue&&ar.preventDefault()}var Tn=st.current;return Tn.addEventListener("wheel",zn),Tn.addEventListener("DOMMouseScroll",Er),Tn.addEventListener("MozMousePixelScroll",On),function(){Tn.removeEventListener("wheel",zn),Tn.removeEventListener("DOMMouseScroll",Er),Tn.removeEventListener("MozMousePixelScroll",On)}},[ue]);var nr=function(){var Tn,ar;(Tn=In.current)===null||Tn===void 0||Tn.delayHidden(),(ar=on.current)===null||ar===void 0||ar.delayHidden()},Fn=te(st,Re,qt,ye,lt,Ut,Rt,nr);l.useImperativeHandle(Ht,function(){return{getScrollInfo:tr,scrollTo:function(Tn){function ar(br){return br&&(0,o.Z)(br)==="object"&&("left"in br||"top"in br)}ar(Tn)?(Tn.left!==void 0&&wt(kt(Tn.left)),Fn(Tn.top)):Fn(Tn)}}}),(0,_.Z)(function(){if(se){var On=Re.slice(Yn,Gn+1);se(On,Re)}},[Yn,Gn,Re]);var kr=ge(Re,lt,qt,ye),hr=ce==null?void 0:ce({start:Yn,end:Gn,virtual:Ne,offsetX:_t,offsetY:ir,rtl:Oe,getSize:kr}),la=L(Re,Yn,Gn,je,Zt,ae,Gt),zr=null;Ke&&(zr=(0,t.Z)((0,n.Z)({},H?"height":"maxHeight",Ke),Ge),ue&&(zr.overflowY="hidden",je&&(zr.overflowX="hidden"),yt&&(zr.pointerEvents="none")));var Zn={};return Oe&&(Zn.dir="rtl"),l.createElement("div",(0,a.Z)({style:(0,t.Z)((0,t.Z)({},R),{},{position:"relative"}),className:we},Zn,xe),l.createElement(M.Z,{onResize:fn},l.createElement(Me,{className:"".concat(Xe,"-holder"),style:zr,ref:st,onScroll:xt,onMouseEnter:nr},l.createElement(S,{prefixCls:Xe,height:mn,offsetX:_t,offsetY:ir,scrollWidth:je,onInnerResize:Ut,ref:tt,innerProps:J,rtl:Oe,extra:hr},la))),Ne&&mn>Ke&&l.createElement($,{ref:In,prefixCls:Xe,scrollOffset:Be,scrollRange:mn,rtl:Oe,onScroll:At,onStartMove:nt,onStopMove:Et,spinSize:gt,containerSize:en.height}),Ne&&je&&l.createElement($,{ref:on,prefixCls:Xe,scrollOffset:_t,scrollRange:je,rtl:Oe,onScroll:At,onStartMove:nt,onStopMove:Et,spinSize:mt,containerSize:en.width,horizontal:!0}))}var Qe=l.forwardRef(Je);Qe.displayName="List";var pt=Qe,Ct=pt},13881:function(b,y,e){"use strict";var a=e(58757),t=e(52090);function o(i){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+i,I=1;Iv}return!1}function z(i,v,I,ee,De,_e,$t){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=ee,this.attributeNamespace=De,this.mustUseProperty=I,this.propertyName=i,this.type=v,this.sanitizeURL=_e,this.removeEmptyString=$t}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){$[i]=new z(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var v=i[0];$[v]=new z(v,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){$[i]=new z(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){$[i]=new z(i,2,!1,i,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(i){$[i]=new z(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){$[i]=new z(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){$[i]=new z(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){$[i]=new z(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){$[i]=new z(i,5,!1,i.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function L(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var v=i.replace(N,L);$[v]=new z(v,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var v=i.replace(N,L);$[v]=new z(v,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var v=i.replace(N,L);$[v]=new z(v,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){$[i]=new z(i,1,!1,i.toLowerCase(),null,!1,!1)}),$.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){$[i]=new z(i,1,!1,i.toLowerCase(),null,!0,!0)});function B(i,v,I,ee){var De=$.hasOwnProperty(v)?$[v]:null;(De!==null?De.type!==0:ee||!(21&&arguments[1]!==void 0?arguments[1]:!1,M;g===!1?M={aria:!0,data:!0,attr:!0}:g===!0?M={aria:!0}:M=(0,a.Z)({},g);var h={};return Object.keys(m).forEach(function(S){(M.aria&&(S==="role"||l(S,n))||M.data&&l(S,d)||M.attr&&s.includes(S))&&(h[S]=m[S])}),h}},61834:function(b,y){"use strict";var e=function(l){return+setTimeout(l,16)},a=function(l){return clearTimeout(l)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(e=function(l){return window.requestAnimationFrame(l)},a=function(l){return window.cancelAnimationFrame(l)});var t=0,o=new Map;function s(d){o.delete(d)}var n=function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;t+=1;var m=t;function g(M){if(M===0)s(m),l();else{var h=e(function(){g(M-1)});o.set(m,h)}}return g(c),m};n.cancel=function(d){var l=o.get(d);return s(l),a(l)},y.Z=n},21319:function(b,y,e){"use strict";e.d(y,{Yr:function(){return c},mH:function(){return n},sQ:function(){return d},t4:function(){return m},x1:function(){return l}});var a=e(38790),t=e(58757),o=e(99415),s=e(27903);function n(g,M){typeof g=="function"?g(M):(0,a.Z)(g)==="object"&&g&&"current"in g&&(g.current=M)}function d(){for(var g=arguments.length,M=new Array(g),h=0;h3&&arguments[3]!==void 0?arguments[3]:!1;return S.length&&C&&w===void 0&&!(0,n.Z)(h,S.slice(0,-1))?h:d(h,S,w,C)}function c(h){return(0,a.Z)(h)==="object"&&h!==null&&Object.getPrototypeOf(h)===Object.prototype}function m(h){return Array.isArray(h)?[]:{}}var g=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function M(){for(var h=arguments.length,S=new Array(h),w=0;w0&&arguments[0]!==void 0?arguments[0]:{},L=N.mark;return L?L.startsWith("data-")?L:"data-".concat(L):d}function m(N){if(N.attachTo)return N.attachTo;var L=document.querySelector("head");return L||document.body}function g(N){return N==="queue"?"prependQueue":N?"prepend":"append"}function M(N){return Array.from((l.get(N)||N).children).filter(function(L){return L.tagName==="STYLE"})}function h(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,t.default)())return null;var $=L.csp,D=L.prepend,T=L.priority,j=T===void 0?0:T,K=g(D),k=K==="prependQueue",te=document.createElement("style");te.setAttribute(s,K),k&&j&&te.setAttribute(n,"".concat(j)),$!=null&&$.nonce&&(te.nonce=$==null?void 0:$.nonce),te.innerHTML=N;var V=m(L),q=V.firstChild;if(D){if(k){var le=M(V).filter(function(X){if(!["prepend","prependQueue"].includes(X.getAttribute(s)))return!1;var W=Number(X.getAttribute(n)||0);return j>=W});if(le.length)return V.insertBefore(te,le[le.length-1].nextSibling),te}V.insertBefore(te,q)}else V.appendChild(te);return te}function S(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=m(L);return M($).find(function(D){return D.getAttribute(c(L))===N})}function w(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$=S(N,L);if($){var D=m(L);D.removeChild($)}}function C(N,L){var $=l.get(N);if(!$||!(0,o.default)(document,$)){var D=h("",L),T=D.parentNode;l.set(N,T),N.removeChild(D)}}function F(){l.clear()}function Z(N,L){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=m($);C(D,$);var T=S(L,$);if(T){var j,K;if((j=$.csp)!==null&&j!==void 0&&j.nonce&&T.nonce!==((K=$.csp)===null||K===void 0?void 0:K.nonce)){var k;T.nonce=(k=$.csp)===null||k===void 0?void 0:k.nonce}return T.innerHTML!==N&&(T.innerHTML=N),T}var te=h(N,$);return te.setAttribute(c($),L),te}},13393:function(b,y){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.getShadowRoot=t,y.inShadow=a;function e(o){var s;return o==null||(s=o.getRootNode)===null||s===void 0?void 0:s.call(o)}function a(o){return e(o)instanceof ShadowRoot}function t(o){return a(o)?e(o):null}},6717:function(b,y,e){"use strict";var a=e(55082).default;Object.defineProperty(y,"__esModule",{value:!0}),y.default=o;var t=a(e(58757));function o(s,n,d){var l=t.useRef({});return(!("value"in l.current)||d(l.current.condition,n))&&(l.current.value=s(),l.current.condition=n),l.current.value}},25697:function(b,y,e){"use strict";var a=e(92199).default;Object.defineProperty(y,"__esModule",{value:!0}),y.composeRef=l,y.fillRef=d,y.supportNodeRef=g,y.supportRef=m,y.useComposeRef=c;var t=a(e(98316)),o=e(58757),s=e(99415),n=a(e(6717));function d(M,h){typeof M=="function"?M(h):(0,t.default)(M)==="object"&&M&&"current"in M&&(M.current=h)}function l(){for(var M=arguments.length,h=new Array(M),S=0;S0,Ht=l.useMemo(function(){if(Ke===0||it===0)return 0;var Gt=Ke/it;return Gt*Ve},[Ke,it,Ve]),Ot=function(Nt){Nt.stopPropagation(),Nt.preventDefault()},wt=l.useRef({top:Ht,dragging:je,pageY:re,startTop:xe});wt.current={top:Ht,dragging:je,pageY:re,startTop:xe};var _t=function(Nt){Ee(!0),se(C(Nt,P)),ce(wt.current.top),ne(),Nt.stopPropagation(),Nt.preventDefault()};l.useEffect(function(){var Gt=function(Se){Se.preventDefault()},Nt=Oe.current,At=we.current;return Nt.addEventListener("touchstart",Gt),At.addEventListener("touchstart",_t),function(){Nt.removeEventListener("touchstart",Gt),At.removeEventListener("touchstart",_t)}},[]);var yt=l.useRef();yt.current=it;var ze=l.useRef();ze.current=Ve,l.useEffect(function(){if(je){var Gt,Nt=function(Se){var bt=wt.current,jt=bt.dragging,He=bt.pageY,qe=bt.startTop;if(w.Z.cancel(Gt),jt){var $t=C(Se,P)-He,Zt=qe;!Le&&P?Zt-=$t:Zt+=$t;var qt=yt.current,un=ze.current,xn=un?Zt/un:0,pn=Math.ceil(xn*qt);pn=Math.max(pn,0),pn=Math.min(pn,qt),Gt=(0,w.Z)(function(){R(pn,P)})}},At=function(){Ee(!1),H()};return window.addEventListener("mousemove",Nt),window.addEventListener("touchmove",Nt),window.addEventListener("mouseup",At),window.addEventListener("touchend",At),function(){window.removeEventListener("mousemove",Nt),window.removeEventListener("touchmove",Nt),window.removeEventListener("mouseup",At),window.removeEventListener("touchend",At),w.Z.cancel(Gt)}}},[je]),l.useEffect(function(){Be()},[Ke]),l.useImperativeHandle(Wt,function(){return{delayHidden:Be}});var tt="".concat(Xe,"-scrollbar"),St={position:"absolute",visibility:et&&xt?null:"hidden"},lt={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return P?(St.height=8,St.left=0,St.right=0,St.bottom=0,lt.height="100%",lt.width=ae,Le?lt.left=Ht:lt.right=Ht):(St.width=8,St.top=0,St.bottom=0,Le?St.right=0:St.left=0,lt.width="100%",lt.height=ae,lt.top=Ht),l.createElement("div",{ref:Oe,className:g()(tt,($e={},(0,n.Z)($e,"".concat(tt,"-horizontal"),P),(0,n.Z)($e,"".concat(tt,"-vertical"),!P),(0,n.Z)($e,"".concat(tt,"-visible"),et),$e)),style:St,onMouseDown:Ot,onMouseMove:Be},l.createElement("div",{ref:we,className:g()("".concat(tt,"-thumb"),(0,n.Z)({},"".concat(tt,"-thumb-moving"),je)),style:lt,onMouseDown:_t}))}),Z=F;function N(ft){var Wt=ft.children,$e=ft.setRef,Xe=l.useCallback(function(nt){$e(nt)},[]);return l.cloneElement(Wt,{ref:Xe})}function L(ft,Wt,$e,Xe,nt,Ke,ye){var ne=ye.getKey;return ft.slice(Wt,$e+1).map(function(H,R){var P=Wt+R,ae=Ke(H,P,{style:{width:Xe}}),Q=ne(H);return l.createElement(N,{key:Q,setRef:function(me){return nt(H,me)}},ae)})}var $=e(69188),D=e(60412),T=e(14346),j=function(){function ft(){(0,D.Z)(this,ft),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return(0,T.Z)(ft,[{key:"set",value:function($e,Xe){this.maps[$e]=Xe,this.id+=1}},{key:"get",value:function($e){return this.maps[$e]}}]),ft}(),K=j;function k(ft,Wt,$e){var Xe=l.useState(0),nt=(0,s.Z)(Xe,2),Ke=nt[0],ye=nt[1],ne=(0,l.useRef)(new Map),H=(0,l.useRef)(new K),R=(0,l.useRef)();function P(){w.Z.cancel(R.current)}function ae(){P(),R.current=(0,w.Z)(function(){ne.current.forEach(function(ie,me){if(ie&&ie.offsetParent){var je=(0,$.Z)(ie),Ee=je.offsetHeight;H.current.get(me)!==Ee&&H.current.set(me,je.offsetHeight)}}),ye(function(ie){return ie+1})})}function Q(ie,me){var je=ft(ie),Ee=ne.current.get(je);me?(ne.current.set(je,me),ae()):ne.current.delete(je),!Ee!=!me&&(me?Wt==null||Wt(ie):$e==null||$e(ie))}return(0,l.useEffect)(function(){return P},[]),[Q,ae,H.current,Ke]}function te(ft,Wt,$e,Xe,nt,Ke,ye,ne){var H=l.useRef();return function(R){if(R==null){ne();return}if(w.Z.cancel(H.current),typeof R=="number")ye(R);else if(R&&(0,o.Z)(R)==="object"){var P,ae=R.align;"index"in R?P=R.index:P=Wt.findIndex(function(je){return nt(je)===R.key});var Q=R.offset,ie=Q===void 0?0:Q,me=function je(Ee,Me){if(!(Ee<0||!ft.current)){var We=ft.current.clientHeight,re=!1,se=Me;if(We){for(var J=Me||ae,de=0,xe=0,ce=0,Le=Math.min(Wt.length,P),Oe=0;Oe<=Le;Oe+=1){var we=nt(Wt[Oe]);xe=de;var Ne=$e.get(we);ce=xe+(Ne===void 0?Xe:Ne),de=ce,Oe===P&&Ne===void 0&&(re=!0)}var st=null;switch(J){case"top":st=xe-ie;break;case"bottom":st=ce-We+ie;break;default:{var et=ft.current.scrollTop,Ye=et+We;xeYe&&(se="bottom")}}st!==null&&st!==ft.current.scrollTop&&ye(st)}H.current=(0,w.Z)(function(){re&&Ke(),je(Ee-1,se)},2)}};me(3)}}}function V(ft,Wt,$e,Xe){var nt=$e-ft,Ke=Wt-$e,ye=Math.min(nt,Ke)*2;if(Xe<=ye){var ne=Math.floor(Xe/2);return Xe%2?$e+ne+1:$e-ne}return nt>Ke?$e-(Xe-Ke):$e+(Xe-nt)}function q(ft,Wt,$e){var Xe=ft.length,nt=Wt.length,Ke,ye;if(Xe===0&&nt===0)return null;Xe1&&arguments[1]!==void 0?arguments[1]:!1,H=ye<0&&Ke.current.top||ye>0&&Ke.current.bottom;return ne&&H?(clearTimeout(Xe.current),$e.current=!1):(!H||$e.current)&&nt(),!$e.current&&H}};function O(ft,Wt,$e,Xe,nt){var Ke=(0,l.useRef)(0),ye=(0,l.useRef)(null),ne=(0,l.useRef)(null),H=(0,l.useRef)(!1),R=x(Wt,$e);function P(Ee){w.Z.cancel(ye.current);var Me=Ee.deltaY;Ke.current+=Me,ne.current=Me,!R(Me)&&(W||Ee.preventDefault(),ye.current=(0,w.Z)(function(){var We=H.current?10:1;nt(Ke.current*We),Ke.current=0}))}function ae(Ee){var Me=Ee.deltaX;nt(Me,!0),W||Ee.preventDefault()}var Q=(0,l.useRef)(null),ie=(0,l.useRef)(null);function me(Ee){if(ft){w.Z.cancel(ie.current),ie.current=(0,w.Z)(function(){Q.current=null},2);var Me=Ee.deltaX,We=Ee.deltaY,re=Math.abs(Me),se=Math.abs(We);Q.current===null&&(Q.current=Xe&&re>se?"x":"y"),Q.current==="x"?ae(Ee):P(Ee)}}function je(Ee){ft&&(H.current=Ee.detail===ne.current)}return[me,je]}var _=e(81334),U=14/15;function A(ft,Wt,$e){var Xe=(0,l.useRef)(!1),nt=(0,l.useRef)(0),Ke=(0,l.useRef)(null),ye=(0,l.useRef)(null),ne,H=function(Q){if(Xe.current){var ie=Math.ceil(Q.touches[0].pageY),me=nt.current-ie;nt.current=ie,$e(me)&&Q.preventDefault(),clearInterval(ye.current),ye.current=setInterval(function(){me*=U,(!$e(me,!0)||Math.abs(me)<=.1)&&clearInterval(ye.current)},16)}},R=function(){Xe.current=!1,ne()},P=function(Q){ne(),Q.touches.length===1&&!Xe.current&&(Xe.current=!0,nt.current=Math.ceil(Q.touches[0].pageY),Ke.current=Q.target,Ke.current.addEventListener("touchmove",H),Ke.current.addEventListener("touchend",R))};ne=function(){Ke.current&&(Ke.current.removeEventListener("touchmove",H),Ke.current.removeEventListener("touchend",R))},(0,_.Z)(function(){return ft&&Wt.current.addEventListener("touchstart",P),function(){var ae;(ae=Wt.current)===null||ae===void 0||ae.removeEventListener("touchstart",P),ne(),clearInterval(ye.current)}},[ft])}var G=20;function fe(){var ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,$e=ft/Wt*100;return isNaN($e)&&($e=0),$e=Math.max($e,G),$e=Math.min($e,ft/2),Math.floor($e)}var pe=e(71219);function ge(ft,Wt,$e,Xe){var nt=l.useMemo(function(){return[new Map,[]]},[ft,$e.id,Xe]),Ke=(0,s.Z)(nt,2),ye=Ke[0],ne=Ke[1],H=function(P){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P,Q=ye.get(P),ie=ye.get(ae);if(Q===void 0||ie===void 0)for(var me=ft.length,je=ne.length;jeKe,Oe=me==="rtl",we=g()(Xe,(0,n.Z)({},"".concat(Xe,"-rtl"),Oe),nt),Ne=P||Te,st=(0,l.useRef)(),et=(0,l.useRef)(),Ye=(0,l.useState)(0),ke=(0,s.Z)(Ye,2),Be=ke[0],it=ke[1],Ve=(0,l.useState)(0),xt=(0,s.Z)(Ve,2),Ht=xt[0],Ot=xt[1],wt=(0,l.useState)(!1),_t=(0,s.Z)(wt,2),yt=_t[0],ze=_t[1],tt=function(){ze(!0)},St=function(){ze(!1)},lt=l.useCallback(function(wn){return typeof Q=="function"?Q(wn):wn==null?void 0:wn[Q]},[Q]),Gt={getKey:lt};function Nt(wn){it(function(Rn){var sr;typeof wn=="function"?sr=wn(Rn):sr=wn;var Er=tn(sr);return st.current.scrollTop=Er,Er})}var At=(0,l.useRef)({start:0,end:Ne.length}),Ie=(0,l.useRef)(),Se=le(Ne,lt),bt=(0,s.Z)(Se,1),jt=bt[0];Ie.current=jt;var He=k(lt,null,null),qe=(0,s.Z)(He,4),$t=qe[0],Zt=qe[1],qt=qe[2],un=qe[3],xn=l.useMemo(function(){if(!ce)return{scrollHeight:void 0,start:0,end:Ne.length-1,offset:void 0};if(!Le){var wn;return{scrollHeight:((wn=et.current)===null||wn===void 0?void 0:wn.offsetHeight)||0,start:0,end:Ne.length-1,offset:void 0}}for(var Rn=0,sr,Er,Kr,ta=Ne.length,ga=0;ga=Be&&sr===void 0&&(sr=ga,Er=Rn),ma>Be+Ke&&Kr===void 0&&(Kr=ga),Rn=ma}return sr===void 0&&(sr=0,Er=0,Kr=Math.ceil(Ke/ye)),Kr===void 0&&(Kr=Ne.length-1),Kr=Math.min(Kr+1,Ne.length-1),{scrollHeight:Rn,start:sr,end:Kr,offset:Er}},[Le,ce,Be,Ne,un,Ke]),pn=xn.scrollHeight,Gn=xn.start,Qn=xn.end,ur=xn.offset;At.current.start=Gn,At.current.end=Qn;var br=l.useState({width:0,height:Ke}),zt=(0,s.Z)(br,2),en=zt[0],an=zt[1],vn=function(Rn){an(Rn)},An=(0,l.useRef)(),sn=(0,l.useRef)(),mt=l.useMemo(function(){return fe(en.width,je)},[en.width,je]),gt=l.useMemo(function(){return fe(en.height,pn)},[en.height,pn]),ln=pn-Ke,Qt=(0,l.useRef)(ln);Qt.current=ln;function tn(wn){var Rn=wn;return Number.isNaN(Qt.current)||(Rn=Math.min(Rn,Qt.current)),Rn=Math.max(Rn,0),Rn}var yn=Be<=0,gn=Be>=ln,_n=x(yn,gn),nr=function(){return{x:Oe?-Ht:Ht,y:Be}},ut=(0,l.useRef)(nr()),ct=(0,pe.zX)(function(){if(re){var wn=nr();(ut.current.x!==wn.x||ut.current.y!==wn.y)&&(re(wn),ut.current=wn)}});function It(wn,Rn){var sr=wn;Rn?((0,c.flushSync)(function(){Ot(sr)}),ct()):Nt(sr)}function Ct(wn){var Rn=wn.currentTarget.scrollTop;Rn!==Be&&Nt(Rn),We==null||We(wn),ct()}var Ut=function(Rn){var sr=Rn,Er=je-en.width;return sr=Math.max(sr,0),sr=Math.min(sr,Er),sr},cn=(0,pe.zX)(function(wn,Rn){Rn?((0,c.flushSync)(function(){Ot(function(sr){var Er=sr+(Oe?-wn:wn);return Ut(Er)})}),ct()):Nt(function(sr){var Er=sr+wn;return Er})}),rn=O(ce,yn,gn,!!je,cn),Dn=(0,s.Z)(rn,2),Bn=Dn[0],Cr=Dn[1];A(ce,st,function(wn,Rn){return _n(wn,Rn)?!1:(Bn({preventDefault:function(){},deltaY:wn}),!0)}),(0,_.Z)(function(){function wn(sr){ce&&sr.preventDefault()}var Rn=st.current;return Rn.addEventListener("wheel",Bn),Rn.addEventListener("DOMMouseScroll",Cr),Rn.addEventListener("MozMousePixelScroll",wn),function(){Rn.removeEventListener("wheel",Bn),Rn.removeEventListener("DOMMouseScroll",Cr),Rn.removeEventListener("MozMousePixelScroll",wn)}},[ce]);var rr=function(){var Rn,sr;(Rn=An.current)===null||Rn===void 0||Rn.delayHidden(),(sr=sn.current)===null||sr===void 0||sr.delayHidden()},$n=te(st,Ne,qt,ye,lt,Zt,Nt,rr);l.useImperativeHandle(Wt,function(){return{getScrollInfo:nr,scrollTo:function(Rn){function sr(Er){return Er&&(0,o.Z)(Er)==="object"&&("left"in Er||"top"in Er)}sr(Rn)?(Rn.left!==void 0&&Ot(Ut(Rn.left)),$n(Rn.top)):$n(Rn)}}}),(0,_.Z)(function(){if(se){var wn=Ne.slice(Gn,Qn+1);se(wn,Ne)}},[Gn,Qn,Ne]);var kr=ge(Ne,lt,qt,ye),Mr=de==null?void 0:de({start:Gn,end:Qn,virtual:Le,offsetX:Ht,offsetY:ur,rtl:Oe,getSize:kr}),ia=L(Ne,Gn,Qn,je,$t,ae,Gt),zr=null;Ke&&(zr=(0,t.Z)((0,n.Z)({},H?"height":"maxHeight",Ke),Ge),ce&&(zr.overflowY="hidden",je&&(zr.overflowX="hidden"),yt&&(zr.pointerEvents="none")));var Wn={};return Oe&&(Wn.dir="rtl"),l.createElement("div",(0,a.Z)({style:(0,t.Z)((0,t.Z)({},R),{},{position:"relative"}),className:we},Wn,xe),l.createElement(M.Z,{onResize:vn},l.createElement(Me,{className:"".concat(Xe,"-holder"),style:zr,ref:st,onScroll:Ct,onMouseEnter:rr},l.createElement(S,{prefixCls:Xe,height:pn,offsetX:Ht,offsetY:ur,scrollWidth:je,onInnerResize:Zt,ref:et,innerProps:J,rtl:Oe,extra:Mr},ia))),Le&&pn>Ke&&l.createElement(Z,{ref:An,prefixCls:Xe,scrollOffset:Be,scrollRange:pn,rtl:Oe,onScroll:It,onStartMove:tt,onStopMove:St,spinSize:gt,containerSize:en.height}),Le&&je&&l.createElement(Z,{ref:sn,prefixCls:Xe,scrollOffset:Ht,scrollRange:je,rtl:Oe,onScroll:It,onStartMove:tt,onStopMove:St,spinSize:mt,containerSize:en.width,horizontal:!0}))}var Qe=l.forwardRef(Je);Qe.displayName="List";var pt=Qe,Et=pt},13881:function(b,y,e){"use strict";var a=e(58757),t=e(52090);function o(i){for(var v="https://reactjs.org/docs/error-decoder.html?invariant="+i,I=1;Iv}return!1}function F(i,v,I,ee,De,_e,Bt){this.acceptsBooleans=v===2||v===3||v===4,this.attributeName=ee,this.attributeNamespace=De,this.mustUseProperty=I,this.propertyName=i,this.type=v,this.sanitizeURL=_e,this.removeEmptyString=Bt}var Z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(i){Z[i]=new F(i,0,!1,i,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(i){var v=i[0];Z[v]=new F(v,1,!1,i[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(i){Z[i]=new F(i,2,!1,i.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(i){Z[i]=new F(i,2,!1,i,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(i){Z[i]=new F(i,3,!1,i.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(i){Z[i]=new F(i,3,!0,i,null,!1,!1)}),["capture","download"].forEach(function(i){Z[i]=new F(i,4,!1,i,null,!1,!1)}),["cols","rows","size","span"].forEach(function(i){Z[i]=new F(i,6,!1,i,null,!1,!1)}),["rowSpan","start"].forEach(function(i){Z[i]=new F(i,5,!1,i.toLowerCase(),null,!1,!1)});var N=/[\-:]([a-z])/g;function L(i){return i[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(i){var v=i.replace(N,L);Z[v]=new F(v,1,!1,i,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(i){var v=i.replace(N,L);Z[v]=new F(v,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(i){var v=i.replace(N,L);Z[v]=new F(v,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(i){Z[i]=new F(i,1,!1,i.toLowerCase(),null,!1,!1)}),Z.xlinkHref=new F("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(i){Z[i]=new F(i,1,!1,i.toLowerCase(),null,!0,!0)});function $(i,v,I,ee){var De=Z.hasOwnProperty(v)?Z[v]:null;(De!==null?De.type!==0:ee||!(2gn||De[$t]!==_e[gn]){var Un=` -`+De[$t].replace(" at new "," at ");return i.displayName&&Un.includes("")&&(Un=Un.replace("",i.displayName)),Un}while(1<=$t&&0<=gn);break}}}finally{ge=!1,Error.prepareStackTrace=I}return(i=i?i.displayName||i.name:"")?he(i):""}function Te(i){switch(i.tag){case 5:return he(i.type);case 16:return he("Lazy");case 13:return he("Suspense");case 19:return he("SuspenseList");case 0:case 2:case 15:return i=be(i.type,!1),i;case 11:return i=be(i.type.render,!1),i;case 1:return i=be(i.type,!0),i;default:return""}}function Ge(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case K:return"Fragment";case j:return"Portal";case te:return"Profiler";case k:return"StrictMode";case X:return"Suspense";case W:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case q:return(i.displayName||"Context")+".Consumer";case Y:return(i._context.displayName||"Context")+".Provider";case le:var v=i.render;return i=i.displayName,i||(i=v.displayName||v.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case x:return v=i.displayName||null,v!==null?v:Ge(i.type)||"Memo";case O:v=i._payload,i=i._init;try{return Ge(i(v))}catch(I){}}return null}function Je(i){var v=i.type;switch(i.tag){case 24:return"Cache";case 9:return(v.displayName||"Context")+".Consumer";case 10:return(v._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=v.render,i=i.displayName||i.name||"",v.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return v;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ge(v);case 8:return v===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v}return null}function Qe(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function pt(i){var v=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(v==="checkbox"||v==="radio")}function Ct(i){var v=pt(i)?"checked":"value",I=Object.getOwnPropertyDescriptor(i.constructor.prototype,v),ee=""+i[v];if(!i.hasOwnProperty(v)&&typeof I!="undefined"&&typeof I.get=="function"&&typeof I.set=="function"){var De=I.get,_e=I.set;return Object.defineProperty(i,v,{configurable:!0,get:function(){return De.call(this)},set:function($t){ee=""+$t,_e.call(this,$t)}}),Object.defineProperty(i,v,{enumerable:I.enumerable}),{getValue:function(){return ee},setValue:function($t){ee=""+$t},stopTracking:function(){i._valueTracker=null,delete i[v]}}}}function ft(i){i._valueTracker||(i._valueTracker=Ct(i))}function Ht(i){if(!i)return!1;var v=i._valueTracker;if(!v)return!0;var I=v.getValue(),ee="";return i&&(ee=pt(i)?i.checked?"true":"false":i.value),i=ee,i!==I?(v.setValue(i),!0):!1}function Ze(i){if(i=i||(typeof document!="undefined"?document:void 0),typeof i=="undefined")return null;try{return i.activeElement||i.body}catch(v){return i.body}}function Xe(i,v){var I=v.checked;return G({},v,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:I!=null?I:i._wrapperState.initialChecked})}function rt(i,v){var I=v.defaultValue==null?"":v.defaultValue,ee=v.checked!=null?v.checked:v.defaultChecked;I=Qe(v.value!=null?v.value:I),i._wrapperState={initialChecked:ee,initialValue:I,controlled:v.type==="checkbox"||v.type==="radio"?v.checked!=null:v.value!=null}}function Ke(i,v){v=v.checked,v!=null&&B(i,"checked",v,!1)}function ye(i,v){Ke(i,v);var I=Qe(v.value),ee=v.type;if(I!=null)ee==="number"?(I===0&&i.value===""||i.value!=I)&&(i.value=""+I):i.value!==""+I&&(i.value=""+I);else if(ee==="submit"||ee==="reset"){i.removeAttribute("value");return}v.hasOwnProperty("value")?H(i,v.type,I):v.hasOwnProperty("defaultValue")&&H(i,v.type,Qe(v.defaultValue)),v.checked==null&&v.defaultChecked!=null&&(i.defaultChecked=!!v.defaultChecked)}function ne(i,v,I){if(v.hasOwnProperty("value")||v.hasOwnProperty("defaultValue")){var ee=v.type;if(!(ee!=="submit"&&ee!=="reset"||v.value!==void 0&&v.value!==null))return;v=""+i._wrapperState.initialValue,I||v===i.value||(i.value=v),i.defaultValue=v}I=i.name,I!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,I!==""&&(i.name=I)}function H(i,v,I){(v!=="number"||Ze(i.ownerDocument)!==i)&&(I==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+I&&(i.defaultValue=""+I))}var R=Array.isArray;function P(i,v,I,ee){if(i=i.options,v){v={};for(var De=0;De"+v.valueOf().toString()+"",v=Me.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;v.firstChild;)i.appendChild(v.firstChild)}});function re(i,v){if(v){var I=i.firstChild;if(I&&I===i.lastChild&&I.nodeType===3){I.nodeValue=v;return}}i.textContent=v}var se={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},J=["Webkit","ms","Moz","O"];Object.keys(se).forEach(function(i){J.forEach(function(v){v=v+i.charAt(0).toUpperCase()+i.substring(1),se[v]=se[i]})});function ce(i,v,I){return v==null||typeof v=="boolean"||v===""?"":I||typeof v!="number"||v===0||se.hasOwnProperty(i)&&se[i]?(""+v).trim():v+"px"}function xe(i,v){i=i.style;for(var I in v)if(v.hasOwnProperty(I)){var ee=I.indexOf("--")===0,De=ce(I,v[I],ee);I==="float"&&(I="cssFloat"),ee?i.setProperty(I,De):i[I]=De}}var ue=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ne(i,v){if(v){if(ue[i]&&(v.children!=null||v.dangerouslySetInnerHTML!=null))throw Error(o(137,i));if(v.dangerouslySetInnerHTML!=null){if(v.children!=null)throw Error(o(60));if(typeof v.dangerouslySetInnerHTML!="object"||!("__html"in v.dangerouslySetInnerHTML))throw Error(o(61))}if(v.style!=null&&typeof v.style!="object")throw Error(o(62))}}function Oe(i,v){if(i.indexOf("-")===-1)return typeof v.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Re(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var st=null,tt=null,Ye=null;function ke(i){if(i=Zo(i)){if(typeof st!="function")throw Error(o(280));var v=i.stateNode;v&&(v=Uu(v),st(i.stateNode,i.type,v))}}function Be(i){tt?Ye?Ye.push(i):Ye=[i]:tt=i}function it(){if(tt){var i=tt,v=Ye;if(Ye=tt=null,ke(i),v)for(i=0;i>>=0,i===0?32:31-(mt(i)/gt|0)|0}var Qt=64,tn=4194304;function yn(i){switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function vn(i,v){var I=i.pendingLanes;if(I===0)return 0;var ee=0,De=i.suspendedLanes,_e=i.pingedLanes,$t=I&268435455;if($t!==0){var gn=$t&~De;gn!==0?ee=yn(gn):(_e&=$t,_e!==0&&(ee=yn(_e)))}else $t=I&~De,$t!==0?ee=yn($t):_e!==0&&(ee=yn(_e));if(ee===0)return 0;if(v!==0&&v!==ee&&!(v&De)&&(De=ee&-ee,_e=v&-v,De>=_e||De===16&&(_e&4194240)!==0))return v;if(ee&4&&(ee|=I&16),v=i.entangledLanes,v!==0)for(i=i.entanglements,v&=ee;0I;I++)v.push(i);return v}function xt(i,v,I){i.pendingLanes|=v,v!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,v=31-on(v),i[v]=I}function kt(i,v){var I=i.pendingLanes&~v;i.pendingLanes=v,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=v,i.mutableReadLanes&=v,i.entangledLanes&=v,v=i.entanglements;var ee=i.eventTimes;for(i=i.expirationTimes;0=So),ao=String.fromCharCode(32),hi=!1;function wi(i,v){switch(i){case"keyup":return Ca.indexOf(v.keyCode)!==-1;case"keydown":return v.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Go(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var $o=!1;function si(i,v){switch(i){case"compositionend":return Go(v);case"keypress":return v.which!==32?null:(hi=!0,ao);case"textInput":return i=v.data,i===ao&&hi?null:i;default:return null}}function ai(i,v){if($o)return i==="compositionend"||!Ba&&wi(i,v)?(i=No(),wo=Ka=Ua=null,$o=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(v.ctrlKey||v.altKey||v.metaKey)||v.ctrlKey&&v.altKey){if(v.char&&1=v)return{node:I,offset:v-i};i=ee}e:{for(;I;){if(I.nextSibling){I=I.nextSibling;break e}I=I.parentNode}I=void 0}I=Ta(I)}}function La(i,v){return i&&v?i===v?!0:i&&i.nodeType===3?!1:v&&v.nodeType===3?La(i,v.parentNode):"contains"in i?i.contains(v):i.compareDocumentPosition?!!(i.compareDocumentPosition(v)&16):!1:!1}function To(){for(var i=window,v=Ze();v instanceof i.HTMLIFrameElement;){try{var I=typeof v.contentWindow.location.href=="string"}catch(ee){I=!1}if(I)i=v.contentWindow;else break;v=Ze(i.document)}return v}function Ko(i){var v=i&&i.nodeName&&i.nodeName.toLowerCase();return v&&(v==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||v==="textarea"||i.contentEditable==="true")}function ko(i){var v=To(),I=i.focusedElem,ee=i.selectionRange;if(v!==I&&I&&I.ownerDocument&&La(I.ownerDocument.documentElement,I)){if(ee!==null&&Ko(I)){if(v=ee.start,i=ee.end,i===void 0&&(i=v),"selectionStart"in I)I.selectionStart=v,I.selectionEnd=Math.min(i,I.value.length);else if(i=(v=I.ownerDocument||document)&&v.defaultView||window,i.getSelection){i=i.getSelection();var De=I.textContent.length,_e=Math.min(ee.start,De);ee=ee.end===void 0?_e:Math.min(ee.end,De),!i.extend&&_e>ee&&(De=ee,ee=_e,_e=De),De=za(I,_e);var $t=za(I,ee);De&&$t&&(i.rangeCount!==1||i.anchorNode!==De.node||i.anchorOffset!==De.offset||i.focusNode!==$t.node||i.focusOffset!==$t.offset)&&(v=v.createRange(),v.setStart(De.node,De.offset),i.removeAllRanges(),_e>ee?(i.addRange(v),i.extend($t.node,$t.offset)):(v.setEnd($t.node,$t.offset),i.addRange(v)))}}for(v=[],i=I;i=i.parentNode;)i.nodeType===1&&v.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof I.focus=="function"&&I.focus(),I=0;I=document.documentMode,Ms=null,Ki=null,Ds=null,Xi=!1;function Qo(i,v,I){var ee=I.window===I?I.document:I.nodeType===9?I:I.ownerDocument;Xi||Ms==null||Ms!==Ze(ee)||(ee=Ms,"selectionStart"in ee&&Ko(ee)?ee={start:ee.selectionStart,end:ee.selectionEnd}:(ee=(ee.ownerDocument&&ee.ownerDocument.defaultView||window).getSelection(),ee={anchorNode:ee.anchorNode,anchorOffset:ee.anchorOffset,focusNode:ee.focusNode,focusOffset:ee.focusOffset}),Ds&&oa(Ds,ee)||(Ds=ee,ee=_l(Ki,"onSelect"),0ss||(i.current=fu[ss],fu[ss]=null,ss--)}function xi(i,v){ss++,fu[ss]=i.current,i.current=v}var qi={},rs=El(qi),mo=El(!1),qs=qi;function au(i,v){var I=i.type.contextTypes;if(!I)return qi;var ee=i.stateNode;if(ee&&ee.__reactInternalMemoizedUnmaskedChildContext===v)return ee.__reactInternalMemoizedMaskedChildContext;var De={},_e;for(_e in I)De[_e]=v[_e];return ee&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=v,i.__reactInternalMemoizedMaskedChildContext=De),De}function Fi(i){return i=i.childContextTypes,i!=null}function ou(){bi(mo),bi(rs)}function vu(i,v,I){if(rs.current!==qi)throw Error(o(168));xi(rs,v),xi(mo,I)}function Us(i,v,I){var ee=i.stateNode;if(v=v.childContextTypes,typeof ee.getChildContext!="function")return I;ee=ee.getChildContext();for(var De in ee)if(!(De in v))throw Error(o(108,Je(i)||"Unknown",De));return G({},I,ee)}function Cl(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||qi,qs=rs.current,xi(rs,i),xi(mo,mo.current),!0}function xl(i,v,I){var ee=i.stateNode;if(!ee)throw Error(o(169));I?(i=Us(i,v,qs),ee.__reactInternalMemoizedMergedChildContext=i,bi(mo),bi(rs),xi(rs,i)):bi(mo),xi(mo,I)}var Es=null,gs=!1,Du=!1;function ks(i){Es===null?Es=[i]:Es.push(i)}function ma(i){gs=!0,ks(i)}function at(){if(!Du&&Es!==null){Du=!0;var i=0,v=nn;try{var I=Es;for(nn=1;i>=$t,De-=$t,el=1<<32-on(v)+De|I<_o?(hl=Do,Do=null):hl=Do.sibling;var Ri=ga(xr,Do,jr[_o],Fa);if(Ri===null){Do===null&&(Do=hl);break}i&&Do&&Ri.alternate===null&&v(xr,Do),Xn=_e(Ri,Xn,_o),Po===null?vo=Ri:Po.sibling=Ri,Po=Ri,Do=hl}if(_o===jr.length)return I(xr,Do),vi&&iu(xr,_o),vo;if(Do===null){for(;_o_o?(hl=Do,Do=null):hl=Do.sibling;var zc=ga(xr,Do,Ri.value,Fa);if(zc===null){Do===null&&(Do=hl);break}i&&Do&&zc.alternate===null&&v(xr,Do),Xn=_e(zc,Xn,_o),Po===null?vo=zc:Po.sibling=zc,Po=zc,Do=hl}if(Ri.done)return I(xr,Do),vi&&iu(xr,_o),vo;if(Do===null){for(;!Ri.done;_o++,Ri=jr.next())Ri=Ya(xr,Ri.value,Fa),Ri!==null&&(Xn=_e(Ri,Xn,_o),Po===null?vo=Ri:Po.sibling=Ri,Po=Ri);return vi&&iu(xr,_o),vo}for(Do=ee(xr,Do);!Ri.done;_o++,Ri=jr.next())Ri=ro(Do,xr,_o,Ri.value,Fa),Ri!==null&&(i&&Ri.alternate!==null&&Do.delete(Ri.key===null?_o:Ri.key),Xn=_e(Ri,Xn,_o),Po===null?vo=Ri:Po.sibling=Ri,Po=Ri);return i&&Do.forEach(function(ff){return v(xr,ff)}),vi&&iu(xr,_o),vo}function zs(xr,Xn,jr,Fa){if(typeof jr=="object"&&jr!==null&&jr.type===K&&jr.key===null&&(jr=jr.props.children),typeof jr=="object"&&jr!==null){switch(jr.$$typeof){case T:e:{for(var vo=jr.key,Po=Xn;Po!==null;){if(Po.key===vo){if(vo=jr.type,vo===K){if(Po.tag===7){I(xr,Po.sibling),Xn=De(Po,jr.props.children),Xn.return=xr,xr=Xn;break e}}else if(Po.elementType===vo||typeof vo=="object"&&vo!==null&&vo.$$typeof===O&&ve(vo)===Po.type){I(xr,Po.sibling),Xn=De(Po,jr.props),Xn.ref=qo(xr,Po,jr),Xn.return=xr,xr=Xn;break e}I(xr,Po);break}else v(xr,Po);Po=Po.sibling}jr.type===K?(Xn=Vc(jr.props.children,xr.mode,Fa,jr.key),Xn.return=xr,xr=Xn):(Fa=wd(jr.type,jr.key,jr.props,null,xr.mode,Fa),Fa.ref=qo(xr,Xn,jr),Fa.return=xr,xr=Fa)}return $t(xr);case j:e:{for(Po=jr.key;Xn!==null;){if(Xn.key===Po)if(Xn.tag===4&&Xn.stateNode.containerInfo===jr.containerInfo&&Xn.stateNode.implementation===jr.implementation){I(xr,Xn.sibling),Xn=De(Xn,jr.children||[]),Xn.return=xr,xr=Xn;break e}else{I(xr,Xn);break}else v(xr,Xn);Xn=Xn.sibling}Xn=Zd(jr,xr.mode,Fa),Xn.return=xr,xr=Xn}return $t(xr);case O:return Po=jr._init,zs(xr,Xn,Po(jr._payload),Fa)}if(R(jr))return Ha(xr,Xn,jr,Fa);if(A(jr))return ri(xr,Xn,jr,Fa);F(xr,jr)}return typeof jr=="string"&&jr!==""||typeof jr=="number"?(jr=""+jr,Xn!==null&&Xn.tag===6?(I(xr,Xn.sibling),Xn=De(Xn,jr),Xn.return=xr,xr=Xn):(I(xr,Xn),Xn=$d(jr,xr.mode,Fa),Xn.return=xr,xr=Xn),$t(xr)):I(xr,Xn)}return zs}var ot=Ue(!0),Nt=Ue(!1),Pn={},Fr=El(Pn),io=El(Pn),jo=El(Pn);function ci(i){if(i===Pn)throw Error(o(174));return i}function Vi(i,v){switch(xi(jo,v),xi(io,i),xi(Fr,Pn),i=v.nodeType,i){case 9:case 11:v=(v=v.documentElement)?v.namespaceURI:Ee(null,"");break;default:i=i===8?v.parentNode:v,v=i.namespaceURI||null,i=i.tagName,v=Ee(v,i)}bi(Fr),xi(Fr,v)}function nl(){bi(Fr),bi(io),bi(jo)}function ml(i){ci(jo.current);var v=ci(Fr.current),I=Ee(v,i.type);v!==I&&(xi(io,i),xi(Fr,I))}function ac(i){io.current===i&&(bi(Fr),bi(io))}var Ii=El(0);function oc(i){for(var v=i;v!==null;){if(v.tag===13){var I=v.memoizedState;if(I!==null&&(I=I.dehydrated,I===null||I.data==="$?"||I.data==="$!"))return v}else if(v.tag===19&&v.memoizedProps.revealOrder!==void 0){if(v.flags&128)return v}else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)break;for(;v.sibling===null;){if(v.return===null||v.return===i)return null;v=v.return}v.sibling.return=v.return,v=v.sibling}return null}var Oc=[];function ic(){for(var i=0;iI?I:4,i(!0);var ee=vc.transition;vc.transition={};try{i(!1),v()}finally{nn=I,vc.transition=ee}}function ta(){return pl().memoizedState}function Ir(i,v,I){var ee=Ku(i);I={lane:ee,action:I,hasEagerState:!1,eagerState:null,next:null},Ar(i)?Or(v,I):(sa(i,v,I),I=Pl(),i=ql(i,ee,I),i!==null&&Kn(i,v,ee))}function lr(i,v,I){var ee=Ku(i),De={lane:ee,action:I,hasEagerState:!1,eagerState:null,next:null};if(Ar(i))Or(v,De);else{sa(i,v,De);var _e=i.alternate;if(i.lanes===0&&(_e===null||_e.lanes===0)&&(_e=v.lastRenderedReducer,_e!==null))try{var $t=v.lastRenderedState,gn=_e($t,I);if(De.hasEagerState=!0,De.eagerState=gn,$r(gn,$t))return}catch(Un){}finally{}I=Pl(),i=ql(i,ee,I),i!==null&&Kn(i,v,ee)}}function Ar(i){var v=i.alternate;return i===Ni||v!==null&&v===Ni}function Or(i,v){yu=gc=!0;var I=i.pending;I===null?v.next=v:(v.next=I.next,I.next=v),i.pending=v}function sa(i,v,I){vd(i)?(i=v.interleaved,i===null?(I.next=I,Oo===null?Oo=[v]:Oo.push(v)):(I.next=i.next,i.next=I),v.interleaved=I):(i=v.pending,i===null?I.next=I:(I.next=i.next,i.next=I),v.pending=I)}function Kn(i,v,I){if(I&4194240){var ee=v.lanes;ee&=i.pendingLanes,I|=ee,v.lanes=I,un(i,I)}}var Yr={readContext:Co,useCallback:Ws,useContext:Ws,useEffect:Ws,useImperativeHandle:Ws,useInsertionEffect:Ws,useLayoutEffect:Ws,useMemo:Ws,useReducer:Ws,useRef:Ws,useState:Ws,useDebugValue:Ws,useDeferredValue:Ws,useTransition:Ws,useMutableSource:Ws,useSyncExternalStore:Ws,useId:Ws,unstable_isNewReconciler:!1},na={readContext:Co,useCallback:function(i,v){return Ol().memoizedState=[i,v===void 0?null:v],i},useContext:Co,useEffect:Pe,useImperativeHandle:function(i,v,I){return I=I!=null?I.concat([i]):null,$e(4194308,4,xn.bind(null,v,i),I)},useLayoutEffect:function(i,v){return $e(4194308,4,i,v)},useInsertionEffect:function(i,v){return $e(4,2,i,v)},useMemo:function(i,v){var I=Ol();return v=v===void 0?null:v,i=i(),I.memoizedState=[i,v],i},useReducer:function(i,v,I){var ee=Ol();return v=I!==void 0?I(v):v,ee.memoizedState=ee.baseState=v,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},ee.queue=i,i=i.dispatch=Ir.bind(null,Ni,i),[ee.memoizedState,i]},useRef:function(i){var v=Ol();return i={current:i},v.memoizedState=i},useState:mc,useDebugValue:Rn,useDeferredValue:function(i){return Ol().memoizedState=i},useTransition:function(){var i=mc(!1),v=i[0];return i=Ln.bind(null,i[1]),Ol().memoizedState=i,[v,i]},useMutableSource:function(){},useSyncExternalStore:function(i,v,I){var ee=Ni,De=Ol();if(vi){if(I===void 0)throw Error(o(407));I=I()}else{if(I=v(),ys===null)throw Error(o(349));Ql&30||_u(ee,v,I)}De.memoizedState=I;var _e={value:I,getSnapshot:v};return De.queue=_e,Pe(Yu.bind(null,ee,_e,i),[i]),ee.flags|=2048,lu(9,Fc.bind(null,ee,_e,I,v),void 0,null),I},useId:function(){var i=Ol(),v=ys.identifierPrefix;if(vi){var I=Wo,ee=el;I=(ee&~(1<<32-on(ee)-1)).toString(32)+I,v=":"+v+"R"+I,I=Hu++,0mn||De[Bt]!==_e[mn]){var Hn=` +`+De[Bt].replace(" at new "," at ");return i.displayName&&Hn.includes("")&&(Hn=Hn.replace("",i.displayName)),Hn}while(1<=Bt&&0<=mn);break}}}finally{ge=!1,Error.prepareStackTrace=I}return(i=i?i.displayName||i.name:"")?pe(i):""}function Te(i){switch(i.tag){case 5:return pe(i.type);case 16:return pe("Lazy");case 13:return pe("Suspense");case 19:return pe("SuspenseList");case 0:case 2:case 15:return i=be(i.type,!1),i;case 11:return i=be(i.type.render,!1),i;case 1:return i=be(i.type,!0),i;default:return""}}function Ge(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case K:return"Fragment";case j:return"Portal";case te:return"Profiler";case k:return"StrictMode";case X:return"Suspense";case W:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case q:return(i.displayName||"Context")+".Consumer";case V:return(i._context.displayName||"Context")+".Provider";case le:var v=i.render;return i=i.displayName,i||(i=v.displayName||v.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case x:return v=i.displayName||null,v!==null?v:Ge(i.type)||"Memo";case O:v=i._payload,i=i._init;try{return Ge(i(v))}catch(I){}}return null}function Je(i){var v=i.type;switch(i.tag){case 24:return"Cache";case 9:return(v.displayName||"Context")+".Consumer";case 10:return(v._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=v.render,i=i.displayName||i.name||"",v.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return v;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ge(v);case 8:return v===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v}return null}function Qe(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function pt(i){var v=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(v==="checkbox"||v==="radio")}function Et(i){var v=pt(i)?"checked":"value",I=Object.getOwnPropertyDescriptor(i.constructor.prototype,v),ee=""+i[v];if(!i.hasOwnProperty(v)&&typeof I!="undefined"&&typeof I.get=="function"&&typeof I.set=="function"){var De=I.get,_e=I.set;return Object.defineProperty(i,v,{configurable:!0,get:function(){return De.call(this)},set:function(Bt){ee=""+Bt,_e.call(this,Bt)}}),Object.defineProperty(i,v,{enumerable:I.enumerable}),{getValue:function(){return ee},setValue:function(Bt){ee=""+Bt},stopTracking:function(){i._valueTracker=null,delete i[v]}}}}function ft(i){i._valueTracker||(i._valueTracker=Et(i))}function Wt(i){if(!i)return!1;var v=i._valueTracker;if(!v)return!0;var I=v.getValue(),ee="";return i&&(ee=pt(i)?i.checked?"true":"false":i.value),i=ee,i!==I?(v.setValue(i),!0):!1}function $e(i){if(i=i||(typeof document!="undefined"?document:void 0),typeof i=="undefined")return null;try{return i.activeElement||i.body}catch(v){return i.body}}function Xe(i,v){var I=v.checked;return G({},v,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:I!=null?I:i._wrapperState.initialChecked})}function nt(i,v){var I=v.defaultValue==null?"":v.defaultValue,ee=v.checked!=null?v.checked:v.defaultChecked;I=Qe(v.value!=null?v.value:I),i._wrapperState={initialChecked:ee,initialValue:I,controlled:v.type==="checkbox"||v.type==="radio"?v.checked!=null:v.value!=null}}function Ke(i,v){v=v.checked,v!=null&&$(i,"checked",v,!1)}function ye(i,v){Ke(i,v);var I=Qe(v.value),ee=v.type;if(I!=null)ee==="number"?(I===0&&i.value===""||i.value!=I)&&(i.value=""+I):i.value!==""+I&&(i.value=""+I);else if(ee==="submit"||ee==="reset"){i.removeAttribute("value");return}v.hasOwnProperty("value")?H(i,v.type,I):v.hasOwnProperty("defaultValue")&&H(i,v.type,Qe(v.defaultValue)),v.checked==null&&v.defaultChecked!=null&&(i.defaultChecked=!!v.defaultChecked)}function ne(i,v,I){if(v.hasOwnProperty("value")||v.hasOwnProperty("defaultValue")){var ee=v.type;if(!(ee!=="submit"&&ee!=="reset"||v.value!==void 0&&v.value!==null))return;v=""+i._wrapperState.initialValue,I||v===i.value||(i.value=v),i.defaultValue=v}I=i.name,I!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,I!==""&&(i.name=I)}function H(i,v,I){(v!=="number"||$e(i.ownerDocument)!==i)&&(I==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+I&&(i.defaultValue=""+I))}var R=Array.isArray;function P(i,v,I,ee){if(i=i.options,v){v={};for(var De=0;De"+v.valueOf().toString()+"",v=Me.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;v.firstChild;)i.appendChild(v.firstChild)}});function re(i,v){if(v){var I=i.firstChild;if(I&&I===i.lastChild&&I.nodeType===3){I.nodeValue=v;return}}i.textContent=v}var se={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},J=["Webkit","ms","Moz","O"];Object.keys(se).forEach(function(i){J.forEach(function(v){v=v+i.charAt(0).toUpperCase()+i.substring(1),se[v]=se[i]})});function de(i,v,I){return v==null||typeof v=="boolean"||v===""?"":I||typeof v!="number"||v===0||se.hasOwnProperty(i)&&se[i]?(""+v).trim():v+"px"}function xe(i,v){i=i.style;for(var I in v)if(v.hasOwnProperty(I)){var ee=I.indexOf("--")===0,De=de(I,v[I],ee);I==="float"&&(I="cssFloat"),ee?i.setProperty(I,De):i[I]=De}}var ce=G({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Le(i,v){if(v){if(ce[i]&&(v.children!=null||v.dangerouslySetInnerHTML!=null))throw Error(o(137,i));if(v.dangerouslySetInnerHTML!=null){if(v.children!=null)throw Error(o(60));if(typeof v.dangerouslySetInnerHTML!="object"||!("__html"in v.dangerouslySetInnerHTML))throw Error(o(61))}if(v.style!=null&&typeof v.style!="object")throw Error(o(62))}}function Oe(i,v){if(i.indexOf("-")===-1)return typeof v.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Ne(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var st=null,et=null,Ye=null;function ke(i){if(i=$o(i)){if(typeof st!="function")throw Error(o(280));var v=i.stateNode;v&&(v=Uu(v),st(i.stateNode,i.type,v))}}function Be(i){et?Ye?Ye.push(i):Ye=[i]:et=i}function it(){if(et){var i=et,v=Ye;if(Ye=et=null,ke(i),v)for(i=0;i>>=0,i===0?32:31-(mt(i)/gt|0)|0}var Qt=64,tn=4194304;function yn(i){switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return i&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function gn(i,v){var I=i.pendingLanes;if(I===0)return 0;var ee=0,De=i.suspendedLanes,_e=i.pingedLanes,Bt=I&268435455;if(Bt!==0){var mn=Bt&~De;mn!==0?ee=yn(mn):(_e&=Bt,_e!==0&&(ee=yn(_e)))}else Bt=I&~De,Bt!==0?ee=yn(Bt):_e!==0&&(ee=yn(_e));if(ee===0)return 0;if(v!==0&&v!==ee&&!(v&De)&&(De=ee&-ee,_e=v&-v,De>=_e||De===16&&(_e&4194240)!==0))return v;if(ee&4&&(ee|=I&16),v=i.entangledLanes,v!==0)for(i=i.entanglements,v&=ee;0I;I++)v.push(i);return v}function Ct(i,v,I){i.pendingLanes|=v,v!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),i=i.eventTimes,v=31-sn(v),i[v]=I}function Ut(i,v){var I=i.pendingLanes&~v;i.pendingLanes=v,i.suspendedLanes=0,i.pingedLanes=0,i.expiredLanes&=v,i.mutableReadLanes&=v,i.entangledLanes&=v,v=i.entanglements;var ee=i.eventTimes;for(i=i.expirationTimes;0=Mo),ao=String.fromCharCode(32),yi=!1;function ji(i,v){switch(i){case"keyup":return Sa.indexOf(v.keyCode)!==-1;case"keydown":return v.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _o(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Bo=!1;function oi(i,v){switch(i){case"compositionend":return _o(v);case"keypress":return v.which!==32?null:(yi=!0,ao);case"textInput":return i=v.data,i===ao&&yi?null:i;default:return null}}function ri(i,v){if(Bo)return i==="compositionend"||!Ba&&ji(i,v)?(i=No(),wo=Qa=ka=null,Bo=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(v.ctrlKey||v.altKey||v.metaKey)||v.ctrlKey&&v.altKey){if(v.char&&1=v)return{node:I,offset:v-i};i=ee}e:{for(;I;){if(I.nextSibling){I=I.nextSibling;break e}I=I.parentNode}I=void 0}I=ja(I)}}function Pa(i,v){return i&&v?i===v?!0:i&&i.nodeType===3?!1:v&&v.nodeType===3?Pa(i,v.parentNode):"contains"in i?i.contains(v):i.compareDocumentPosition?!!(i.compareDocumentPosition(v)&16):!1:!1}function To(){for(var i=window,v=$e();v instanceof i.HTMLIFrameElement;){try{var I=typeof v.contentWindow.location.href=="string"}catch(ee){I=!1}if(I)i=v.contentWindow;else break;v=$e(i.document)}return v}function Yo(i){var v=i&&i.nodeName&&i.nodeName.toLowerCase();return v&&(v==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||v==="textarea"||i.contentEditable==="true")}function Zo(i){var v=To(),I=i.focusedElem,ee=i.selectionRange;if(v!==I&&I&&I.ownerDocument&&Pa(I.ownerDocument.documentElement,I)){if(ee!==null&&Yo(I)){if(v=ee.start,i=ee.end,i===void 0&&(i=v),"selectionStart"in I)I.selectionStart=v,I.selectionEnd=Math.min(i,I.value.length);else if(i=(v=I.ownerDocument||document)&&v.defaultView||window,i.getSelection){i=i.getSelection();var De=I.textContent.length,_e=Math.min(ee.start,De);ee=ee.end===void 0?_e:Math.min(ee.end,De),!i.extend&&_e>ee&&(De=ee,ee=_e,_e=De),De=Ra(I,_e);var Bt=Ra(I,ee);De&&Bt&&(i.rangeCount!==1||i.anchorNode!==De.node||i.anchorOffset!==De.offset||i.focusNode!==Bt.node||i.focusOffset!==Bt.offset)&&(v=v.createRange(),v.setStart(De.node,De.offset),i.removeAllRanges(),_e>ee?(i.addRange(v),i.extend(Bt.node,Bt.offset)):(v.setEnd(Bt.node,Bt.offset),i.addRange(v)))}}for(v=[],i=I;i=i.parentNode;)i.nodeType===1&&v.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof I.focus=="function"&&I.focus(),I=0;I=document.documentMode,bs=null,Gi=null,Ds=null,Xi=!1;function Vo(i,v,I){var ee=I.window===I?I.document:I.nodeType===9?I:I.ownerDocument;Xi||bs==null||bs!==$e(ee)||(ee=bs,"selectionStart"in ee&&Yo(ee)?ee={start:ee.selectionStart,end:ee.selectionEnd}:(ee=(ee.ownerDocument&&ee.ownerDocument.defaultView||window).getSelection(),ee={anchorNode:ee.anchorNode,anchorOffset:ee.anchorOffset,focusNode:ee.focusNode,focusOffset:ee.focusOffset}),Ds&&ra(Ds,ee)||(Ds=ee,ee=Gl(Gi,"onSelect"),0ss||(i.current=gu[ss],gu[ss]=null,ss--)}function xi(i,v){ss++,gu[ss]=i.current,i.current=v}var qi={},as=Dl(qi),vo=Dl(!1),Js=qi;function ou(i,v){var I=i.type.contextTypes;if(!I)return qi;var ee=i.stateNode;if(ee&&ee.__reactInternalMemoizedUnmaskedChildContext===v)return ee.__reactInternalMemoizedMaskedChildContext;var De={},_e;for(_e in I)De[_e]=v[_e];return ee&&(i=i.stateNode,i.__reactInternalMemoizedUnmaskedChildContext=v,i.__reactInternalMemoizedMaskedChildContext=De),De}function Zi(i){return i=i.childContextTypes,i!=null}function iu(){Mi(vo),Mi(as)}function mu(i,v,I){if(as.current!==qi)throw Error(o(168));xi(as,v),xi(vo,I)}function Us(i,v,I){var ee=i.stateNode;if(v=v.childContextTypes,typeof ee.getChildContext!="function")return I;ee=ee.getChildContext();for(var De in ee)if(!(De in v))throw Error(o(108,Je(i)||"Unknown",De));return G({},I,ee)}function wl(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||qi,Js=as.current,xi(as,i),xi(vo,vo.current),!0}function jl(i,v,I){var ee=i.stateNode;if(!ee)throw Error(o(169));I?(i=Us(i,v,Js),ee.__reactInternalMemoizedMergedChildContext=i,Mi(vo),Mi(as),xi(as,i)):Mi(vo),xi(vo,I)}var Ss=null,gs=!1,Ou=!1;function ks(i){Ss===null?Ss=[i]:Ss.push(i)}function va(i){gs=!0,ks(i)}function at(){if(!Ou&&Ss!==null){Ou=!0;var i=0,v=rn;try{var I=Ss;for(rn=1;i>=Bt,De-=Bt,qs=1<<32-sn(v)+De|I<ko?(Cl=Do,Do=null):Cl=Do.sibling;var Bi=da(xr,Do,Tr[ko],Fa);if(Bi===null){Do===null&&(Do=Cl);break}i&&Do&&Bi.alternate===null&&v(xr,Do),Xn=_e(Bi,Xn,ko),Po===null?co=Bi:Po.sibling=Bi,Po=Bi,Do=Cl}if(ko===Tr.length)return I(xr,Do),fi&&su(xr,ko),co;if(Do===null){for(;koko?(Cl=Do,Do=null):Cl=Do.sibling;var Fc=da(xr,Do,Bi.value,Fa);if(Fc===null){Do===null&&(Do=Cl);break}i&&Do&&Fc.alternate===null&&v(xr,Do),Xn=_e(Fc,Xn,ko),Po===null?co=Fc:Po.sibling=Fc,Po=Fc,Do=Cl}if(Bi.done)return I(xr,Do),fi&&su(xr,ko),co;if(Do===null){for(;!Bi.done;ko++,Bi=Tr.next())Bi=Ya(xr,Bi.value,Fa),Bi!==null&&(Xn=_e(Bi,Xn,ko),Po===null?co=Bi:Po.sibling=Bi,Po=Bi);return fi&&su(xr,ko),co}for(Do=ee(xr,Do);!Bi.done;ko++,Bi=Tr.next())Bi=ro(Do,xr,ko,Bi.value,Fa),Bi!==null&&(i&&Bi.alternate!==null&&Do.delete(Bi.key===null?ko:Bi.key),Xn=_e(Bi,Xn,ko),Po===null?co=Bi:Po.sibling=Bi,Po=Bi);return i&&Do.forEach(function(ff){return v(xr,ff)}),fi&&su(xr,ko),co}function zs(xr,Xn,Tr,Fa){if(typeof Tr=="object"&&Tr!==null&&Tr.type===K&&Tr.key===null&&(Tr=Tr.props.children),typeof Tr=="object"&&Tr!==null){switch(Tr.$$typeof){case T:e:{for(var co=Tr.key,Po=Xn;Po!==null;){if(Po.key===co){if(co=Tr.type,co===K){if(Po.tag===7){I(xr,Po.sibling),Xn=De(Po,Tr.props.children),Xn.return=xr,xr=Xn;break e}}else if(Po.elementType===co||typeof co=="object"&&co!==null&&co.$$typeof===O&&ve(co)===Po.type){I(xr,Po.sibling),Xn=De(Po,Tr.props),Xn.ref=Xo(xr,Po,Tr),Xn.return=xr,xr=Xn;break e}I(xr,Po);break}else v(xr,Po);Po=Po.sibling}Tr.type===K?(Xn=Kc(Tr.props.children,xr.mode,Fa,Tr.key),Xn.return=xr,xr=Xn):(Fa=Od(Tr.type,Tr.key,Tr.props,null,xr.mode,Fa),Fa.ref=Xo(xr,Xn,Tr),Fa.return=xr,xr=Fa)}return Bt(xr);case j:e:{for(Po=Tr.key;Xn!==null;){if(Xn.key===Po)if(Xn.tag===4&&Xn.stateNode.containerInfo===Tr.containerInfo&&Xn.stateNode.implementation===Tr.implementation){I(xr,Xn.sibling),Xn=De(Xn,Tr.children||[]),Xn.return=xr,xr=Xn;break e}else{I(xr,Xn);break}else v(xr,Xn);Xn=Xn.sibling}Xn=kd(Tr,xr.mode,Fa),Xn.return=xr,xr=Xn}return Bt(xr);case O:return Po=Tr._init,zs(xr,Xn,Po(Tr._payload),Fa)}if(R(Tr))return Ha(xr,Xn,Tr,Fa);if(A(Tr))return ni(xr,Xn,Tr,Fa);B(xr,Tr)}return typeof Tr=="string"&&Tr!==""||typeof Tr=="number"?(Tr=""+Tr,Xn!==null&&Xn.tag===6?(I(xr,Xn.sibling),Xn=De(Xn,Tr),Xn.return=xr,xr=Xn):(I(xr,Xn),Xn=Ud(Tr,xr.mode,Fa),Xn.return=xr,xr=Xn),Bt(xr)):I(xr,Xn)}return zs}var ot=Ze(!0),Lt=Ze(!1),Nn={},Fr=Dl(Nn),oo=Dl(Nn),jo=Dl(Nn);function li(i){if(i===Nn)throw Error(o(174));return i}function Yi(i,v){switch(xi(jo,v),xi(oo,i),xi(Fr,Nn),i=v.nodeType,i){case 9:case 11:v=(v=v.documentElement)?v.namespaceURI:Ee(null,"");break;default:i=i===8?v.parentNode:v,v=i.namespaceURI||null,i=i.tagName,v=Ee(v,i)}Mi(Fr),xi(Fr,v)}function tl(){Mi(Fr),Mi(oo),Mi(jo)}function yl(i){li(jo.current);var v=li(Fr.current),I=Ee(v,i.type);v!==I&&(xi(oo,i),xi(Fr,I))}function ac(i){oo.current===i&&(Mi(Fr),Mi(oo))}var Ii=Dl(0);function oc(i){for(var v=i;v!==null;){if(v.tag===13){var I=v.memoizedState;if(I!==null&&(I=I.dehydrated,I===null||I.data==="$?"||I.data==="$!"))return v}else if(v.tag===19&&v.memoizedProps.revealOrder!==void 0){if(v.flags&128)return v}else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)break;for(;v.sibling===null;){if(v.return===null||v.return===i)return null;v=v.return}v.sibling.return=v.return,v=v.sibling}return null}var wc=[];function ic(){for(var i=0;iI?I:4,i(!0);var ee=gc.transition;gc.transition={};try{i(!1),v()}finally{rn=I,gc.transition=ee}}function or(){return bl().memoizedState}function jn(i,v,I){var ee=Gu(i);I={lane:ee,action:I,hasEagerState:!1,eagerState:null,next:null},Or(i)?ar(v,I):(hr(i,v,I),I=El(),i=du(i,ee,I),i!==null&&Pr(i,v,ee))}function ua(i,v,I){var ee=Gu(i),De={lane:ee,action:I,hasEagerState:!1,eagerState:null,next:null};if(Or(i))ar(v,De);else{hr(i,v,De);var _e=i.alternate;if(i.lanes===0&&(_e===null||_e.lanes===0)&&(_e=v.lastRenderedReducer,_e!==null))try{var Bt=v.lastRenderedState,mn=_e(Bt,I);if(De.hasEagerState=!0,De.eagerState=mn,Br(mn,Bt))return}catch(Hn){}finally{}I=El(),i=du(i,ee,I),i!==null&&Pr(i,v,ee)}}function Or(i){var v=i.alternate;return i===Fi||v!==null&&v===Fi}function ar(i,v){Mu=mc=!0;var I=i.pending;I===null?v.next=v:(v.next=I.next,I.next=v),i.pending=v}function hr(i,v,I){gd(i)?(i=v.interleaved,i===null?(I.next=I,Ao===null?Ao=[v]:Ao.push(v)):(I.next=i.next,i.next=I),v.interleaved=I):(i=v.pending,i===null?I.next=I:(I.next=i.next,i.next=I),v.pending=I)}function Pr(i,v,I){if(I&4194240){var ee=v.lanes;ee&=i.pendingLanes,I|=ee,v.lanes=I,cn(i,I)}}var aa={readContext:Eo,useCallback:Ws,useContext:Ws,useEffect:Ws,useImperativeHandle:Ws,useInsertionEffect:Ws,useLayoutEffect:Ws,useMemo:Ws,useReducer:Ws,useRef:Ws,useState:Ws,useDebugValue:Ws,useDeferredValue:Ws,useTransition:Ws,useMutableSource:Ws,useSyncExternalStore:Ws,useId:Ws,unstable_isNewReconciler:!1},Jn={readContext:Eo,useCallback:function(i,v){return Ll().memoizedState=[i,v===void 0?null:v],i},useContext:Eo,useEffect:Ue,useImperativeHandle:function(i,v,I){return I=I!=null?I.concat([i]):null,Nu(4194308,4,vt.bind(null,v,i),I)},useLayoutEffect:function(i,v){return Nu(4194308,4,i,v)},useInsertionEffect:function(i,v){return Nu(4,2,i,v)},useMemo:function(i,v){var I=Ll();return v=v===void 0?null:v,i=i(),I.memoizedState=[i,v],i},useReducer:function(i,v,I){var ee=Ll();return v=I!==void 0?I(v):v,ee.memoizedState=ee.baseState=v,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},ee.queue=i,i=i.dispatch=jn.bind(null,Fi,i),[ee.memoizedState,i]},useRef:function(i){var v=Ll();return i={current:i},v.memoizedState=i},useState:pc,useDebugValue:En,useDeferredValue:function(i){return Ll().memoizedState=i},useTransition:function(){var i=pc(!1),v=i[0];return i=fr.bind(null,i[1]),Ll().memoizedState=i,[v,i]},useMutableSource:function(){},useSyncExternalStore:function(i,v,I){var ee=Fi,De=Ll();if(fi){if(I===void 0)throw Error(o(407));I=I()}else{if(I=v(),xs===null)throw Error(o(349));ql&30||_u(ee,v,I)}De.memoizedState=I;var _e={value:I,getSnapshot:v};return De.queue=_e,Ue(Yu.bind(null,ee,_e,i),[i]),ee.flags|=2048,uu(9,Bc.bind(null,ee,_e,I,v),void 0,null),I},useId:function(){var i=Ll(),v=xs.identifierPrefix;if(fi){var I=Uo,ee=qs;I=(ee&~(1<<32-sn(ee)-1)).toString(32)+I,v=":"+v+"R"+I,I=Hu++,0<\/script>",i=i.removeChild(i.firstChild)):typeof ee.is=="string"?i=$t.createElement(I,{is:ee.is}):(i=$t.createElement(I),I==="select"&&($t=i,ee.multiple?$t.multiple=!0:ee.size&&($t.size=ee.size))):i=$t.createElementNS(i,I),i[vs]=v,i[Sl]=ee,Ce(i,v,!1,!1),v.stateNode=i;e:{switch($t=Oe(I,ee),I){case"dialog":zo("cancel",i),zo("close",i),De=ee;break;case"iframe":case"object":case"embed":zo("load",i),De=ee;break;case"video":case"audio":for(De=0;DeLc&&(v.flags|=128,ee=!0,Dt(_e,!1),v.lanes=4194304)}else{if(!ee)if(i=oc($t),i!==null){if(v.flags|=128,ee=!0,I=i.updateQueue,I!==null&&(v.updateQueue=I,v.flags|=4),Dt(_e,!0),_e.tail===null&&_e.tailMode==="hidden"&&!$t.alternate&&!vi)return Vt(v),null}else 2*mn()-_e.renderingStartTime>Lc&&I!==1073741824&&(v.flags|=128,ee=!0,Dt(_e,!1),v.lanes=4194304);_e.isBackwards?($t.sibling=v.child,v.child=$t):(I=_e.last,I!==null?I.sibling=$t:v.child=$t,_e.last=$t)}return _e.tail!==null?(v=_e.tail,_e.rendering=v,_e.tail=v.sibling,_e.renderingStartTime=mn(),v.sibling=null,I=Ii.current,xi(Ii,ee?I&1|2:I&1),v):(Vt(v),null);case 22:case 23:return md(),ee=v.memoizedState!==null,i!==null&&i.memoizedState!==null!==ee&&(v.flags|=8192),ee&&v.mode&1?Jl&1073741824&&(Vt(v),v.subtreeFlags&6&&(v.flags|=8192)):Vt(v),null;case 24:return null;case 25:return null}throw Error(o(156,v.tag))}var hn=D.ReactCurrentOwner,St=!1;function pn(i,v,I,ee){v.child=i===null?Nt(v,null,I,ee):ot(v,i.child,I,ee)}function Qn(i,v,I,ee,De){I=I.render;var _e=v.ref;return fi(v,De),ee=Dc(i,v,I,ee,_e,De),I=Nu(),i!==null&&!St?(v.updateQueue=i.updateQueue,v.flags&=-2053,i.lanes&=~De,_i(i,v,De)):(vi&&I&&rc(v),v.flags|=1,pn(i,v,ee,De),v.child)}function Jn(i,v,I,ee,De){if(i===null){var _e=I.type;return typeof _e=="function"&&!Dd(_e)&&_e.defaultProps===void 0&&I.compare===null&&I.defaultProps===void 0?(v.tag=15,v.type=_e,Sr(i,v,_e,ee,De)):(i=wd(I.type,null,ee,v,v.mode,De),i.ref=v.ref,i.return=v,v.child=i)}if(_e=i.child,!(i.lanes&De)){var $t=_e.memoizedProps;if(I=I.compare,I=I!==null?I:oa,I($t,ee)&&i.ref===v.ref)return _i(i,v,De)}return v.flags|=1,i=Qu(_e,ee),i.ref=v.ref,i.return=v,v.child=i}function Sr(i,v,I,ee,De){if(i!==null){var _e=i.memoizedProps;if(oa(_e,ee)&&i.ref===v.ref)if(St=!1,v.pendingProps=ee=_e,(i.lanes&De)!==0)i.flags&131072&&(St=!0);else return v.lanes=i.lanes,_i(i,v,De)}return ya(i,v,I,ee,De)}function Lr(i,v,I){var ee=v.pendingProps,De=ee.children,_e=i!==null?i.memoizedState:null;if(ee.mode==="hidden")if(!(v.mode&1))v.memoizedState={baseLanes:0,cachePool:null,transitions:null},xi(Tc,Jl),Jl|=I;else if(I&1073741824)v.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee=_e!==null?_e.baseLanes:I,xi(Tc,Jl),Jl|=ee;else return i=_e!==null?_e.baseLanes|I:I,v.lanes=v.childLanes=1073741824,v.memoizedState={baseLanes:i,cachePool:null,transitions:null},v.updateQueue=null,xi(Tc,Jl),Jl|=i,null;else _e!==null?(ee=_e.baseLanes|I,v.memoizedState=null):ee=I,xi(Tc,Jl),Jl|=ee;return pn(i,v,De,I),v.child}function Qr(i,v){var I=v.ref;(i===null&&I!==null||i!==null&&i.ref!==I)&&(v.flags|=512,v.flags|=2097152)}function ya(i,v,I,ee,De){var _e=Fi(I)?qs:rs.current;return _e=au(v,_e),fi(v,De),I=Dc(i,v,I,ee,_e,De),ee=Nu(),i!==null&&!St?(v.updateQueue=i.updateQueue,v.flags&=-2053,i.lanes&=~De,_i(i,v,De)):(vi&&ee&&rc(v),v.flags|=1,pn(i,v,I,De),v.child)}function da(i,v,I,ee,De){if(Fi(I)){var _e=!0;Cl(v)}else _e=!1;if(fi(v,De),v.stateNode===null)i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),ku(v,I,ee),gu(v,I,ee,De),ee=!0;else if(i===null){var $t=v.stateNode,gn=v.memoizedProps;$t.props=gn;var Un=$t.context,Nr=I.contextType;typeof Nr=="object"&&Nr!==null?Nr=Co(Nr):(Nr=Fi(I)?qs:rs.current,Nr=au(v,Nr));var Ia=I.getDerivedStateFromProps,Ya=typeof Ia=="function"||typeof $t.getSnapshotBeforeUpdate=="function";Ya||typeof $t.UNSAFE_componentWillReceiveProps!="function"&&typeof $t.componentWillReceiveProps!="function"||(gn!==ee||Un!==Nr)&&Ac(v,$t,ee,Nr),ki=!1;var ga=v.memoizedState;$t.state=ga,us(v,ee,$t,De),Un=v.memoizedState,gn!==ee||ga!==Un||mo.current||ki?(typeof Ia=="function"&&(fl(v,I,Ia,ee),Un=v.memoizedState),(gn=ki||Rl(v,I,gn,ee,ga,Un,Nr))?(Ya||typeof $t.UNSAFE_componentWillMount!="function"&&typeof $t.componentWillMount!="function"||(typeof $t.componentWillMount=="function"&&$t.componentWillMount(),typeof $t.UNSAFE_componentWillMount=="function"&&$t.UNSAFE_componentWillMount()),typeof $t.componentDidMount=="function"&&(v.flags|=4194308)):(typeof $t.componentDidMount=="function"&&(v.flags|=4194308),v.memoizedProps=ee,v.memoizedState=Un),$t.props=ee,$t.state=Un,$t.context=Nr,ee=gn):(typeof $t.componentDidMount=="function"&&(v.flags|=4194308),ee=!1)}else{$t=v.stateNode,wu(i,v),gn=v.memoizedProps,Nr=v.type===v.elementType?gn:_n(v.type,gn),$t.props=Nr,Ya=v.pendingProps,ga=$t.context,Un=I.contextType,typeof Un=="object"&&Un!==null?Un=Co(Un):(Un=Fi(I)?qs:rs.current,Un=au(v,Un));var ro=I.getDerivedStateFromProps;(Ia=typeof ro=="function"||typeof $t.getSnapshotBeforeUpdate=="function")||typeof $t.UNSAFE_componentWillReceiveProps!="function"&&typeof $t.componentWillReceiveProps!="function"||(gn!==Ya||ga!==Un)&&Ac(v,$t,ee,Un),ki=!1,ga=v.memoizedState,$t.state=ga,us(v,ee,$t,De);var Ha=v.memoizedState;gn!==Ya||ga!==Ha||mo.current||ki?(typeof ro=="function"&&(fl(v,I,ro,ee),Ha=v.memoizedState),(Nr=ki||Rl(v,I,Nr,ee,ga,Ha,Un)||!1)?(Ia||typeof $t.UNSAFE_componentWillUpdate!="function"&&typeof $t.componentWillUpdate!="function"||(typeof $t.componentWillUpdate=="function"&&$t.componentWillUpdate(ee,Ha,Un),typeof $t.UNSAFE_componentWillUpdate=="function"&&$t.UNSAFE_componentWillUpdate(ee,Ha,Un)),typeof $t.componentDidUpdate=="function"&&(v.flags|=4),typeof $t.getSnapshotBeforeUpdate=="function"&&(v.flags|=1024)):(typeof $t.componentDidUpdate!="function"||gn===i.memoizedProps&&ga===i.memoizedState||(v.flags|=4),typeof $t.getSnapshotBeforeUpdate!="function"||gn===i.memoizedProps&&ga===i.memoizedState||(v.flags|=1024),v.memoizedProps=ee,v.memoizedState=Ha),$t.props=ee,$t.state=Ha,$t.context=Un,ee=Nr):(typeof $t.componentDidUpdate!="function"||gn===i.memoizedProps&&ga===i.memoizedState||(v.flags|=4),typeof $t.getSnapshotBeforeUpdate!="function"||gn===i.memoizedProps&&ga===i.memoizedState||(v.flags|=1024),ee=!1)}return ba(i,v,I,ee,_e,De)}function ba(i,v,I,ee,De,_e){Qr(i,v);var $t=(v.flags&128)!==0;if(!ee&&!$t)return De&&xl(v,I,!1),_i(i,v,_e);ee=v.stateNode,hn.current=v;var gn=$t&&typeof I.getDerivedStateFromError!="function"?null:ee.render();return v.flags|=1,i!==null&&$t?(v.child=ot(v,i.child,null,_e),v.child=ot(v,null,gn,_e)):pn(i,v,gn,_e),v.memoizedState=ee.state,De&&xl(v,I,!0),v.child}function qa(i){var v=i.stateNode;v.pendingContext?vu(i,v.pendingContext,v.pendingContext!==v.context):v.context&&vu(i,v.context,!1),Vi(i,v.containerInfo)}function oo(i,v,I,ee,De){return Al(),Fl(De),v.flags|=256,pn(i,v,I,ee),v.child}var xa={dehydrated:null,treeContext:null,retryLane:0};function Tr(i){return{baseLanes:i,cachePool:null,transitions:null}}function Za(i,v){return{baseLanes:i.baseLanes|v,cachePool:null,transitions:i.transitions}}function Ho(i,v,I){var ee=v.pendingProps,De=Ii.current,_e=!1,$t=(v.flags&128)!==0,gn;if((gn=$t)||(gn=i!==null&&i.memoizedState===null?!1:(De&2)!==0),gn?(_e=!0,v.flags&=-129):(i===null||i.memoizedState!==null)&&(De|=1),xi(Ii,De&1),i===null)return Wu(v),i=v.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?(v.mode&1?i.data==="$!"?v.lanes=8:v.lanes=1073741824:v.lanes=1,null):(De=ee.children,i=ee.fallback,_e?(ee=v.mode,_e=v.child,De={mode:"hidden",children:De},!(ee&1)&&_e!==null?(_e.childLanes=0,_e.pendingProps=De):_e=jd(De,ee,0,null),i=Vc(i,ee,I,null),_e.return=v,i.return=v,_e.sibling=i,v.child=_e,v.child.memoizedState=Tr(I),v.memoizedState=xa,i):Bo(v,De));if(De=i.memoizedState,De!==null){if(gn=De.dehydrated,gn!==null){if($t)return v.flags&256?(v.flags&=-257,Qa(i,v,I,Error(o(422)))):v.memoizedState!==null?(v.child=i.child,v.flags|=128,null):(_e=ee.fallback,De=v.mode,ee=jd({mode:"visible",children:ee.children},De,0,null),_e=Vc(_e,De,I,null),_e.flags|=2,ee.return=v,_e.return=v,ee.sibling=_e,v.child=ee,v.mode&1&&ot(v,i.child,null,I),v.child.memoizedState=Tr(I),v.memoizedState=xa,_e);if(!(v.mode&1))v=Qa(i,v,I,null);else if(gn.data==="$!")v=Qa(i,v,I,Error(o(419)));else if(ee=(I&i.childLanes)!==0,St||ee){if(ee=ys,ee!==null){switch(I&-I){case 4:_e=2;break;case 16:_e=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:_e=32;break;case 536870912:_e=268435456;break;default:_e=0}ee=_e&(ee.suspendedLanes|I)?0:_e,ee!==0&&ee!==De.retryLane&&(De.retryLane=ee,ql(i,ee,-1))}hd(),v=Qa(i,v,I,Error(o(421)))}else gn.data==="$?"?(v.flags|=128,v.child=i.child,v=tf.bind(null,i),gn._reactRetry=v,v=null):(I=De.treeContext,Ls=Lo(gn.nextSibling),vl=v,vi=!0,Cs=null,I!==null&&(ps[Qi++]=el,ps[Qi++]=Wo,ps[Qi++]=Ts,el=I.id,Wo=I.overflow,Ts=v),v=Bo(v,v.pendingProps.children),v.flags|=4096);return v}return _e?(ee=uo(i,v,ee.children,ee.fallback,I),_e=v.child,De=i.child.memoizedState,_e.memoizedState=De===null?Tr(I):Za(De,I),_e.childLanes=i.childLanes&~I,v.memoizedState=xa,ee):(I=Uo(i,v,ee.children,I),v.memoizedState=null,I)}return _e?(ee=uo(i,v,ee.children,ee.fallback,I),_e=v.child,De=i.child.memoizedState,_e.memoizedState=De===null?Tr(I):Za(De,I),_e.childLanes=i.childLanes&~I,v.memoizedState=xa,ee):(I=Uo(i,v,ee.children,I),v.memoizedState=null,I)}function Bo(i,v){return v=jd({mode:"visible",children:v},i.mode,0,null),v.return=i,i.child=v}function Uo(i,v,I,ee){var De=i.child;return i=De.sibling,I=Qu(De,{mode:"visible",children:I}),!(v.mode&1)&&(I.lanes=ee),I.return=v,I.sibling=null,i!==null&&(ee=v.deletions,ee===null?(v.deletions=[i],v.flags|=16):ee.push(i)),v.child=I}function uo(i,v,I,ee,De){var _e=v.mode;i=i.child;var $t=i.sibling,gn={mode:"hidden",children:I};return!(_e&1)&&v.child!==i?(I=v.child,I.childLanes=0,I.pendingProps=gn,v.deletions=null):(I=Qu(i,gn),I.subtreeFlags=i.subtreeFlags&14680064),$t!==null?ee=Qu($t,ee):(ee=Vc(ee,_e,De,null),ee.flags|=2),ee.return=v,I.return=v,I.sibling=ee,v.child=I,ee}function Qa(i,v,I,ee){return ee!==null&&Fl(ee),ot(v,i.child,null,I),i=Bo(v,v.pendingProps.children),i.flags|=2,v.memoizedState=null,i}function Wa(i,v,I){i.lanes|=v;var ee=i.alternate;ee!==null&&(ee.lanes|=v),ni(i.return,v,I)}function ui(i,v,I,ee,De){var _e=i.memoizedState;_e===null?i.memoizedState={isBackwards:v,rendering:null,renderingStartTime:0,last:ee,tail:I,tailMode:De}:(_e.isBackwards=v,_e.rendering=null,_e.renderingStartTime=0,_e.last=ee,_e.tail=I,_e.tailMode=De)}function Mi(i,v,I){var ee=v.pendingProps,De=ee.revealOrder,_e=ee.tail;if(pn(i,v,ee.children,I),ee=Ii.current,ee&2)ee=ee&1|2,v.flags|=128;else{if(i!==null&&i.flags&128)e:for(i=v.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Wa(i,I,v);else if(i.tag===19)Wa(i,I,v);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===v)break e;for(;i.sibling===null;){if(i.return===null||i.return===v)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}ee&=1}if(xi(Ii,ee),!(v.mode&1))v.memoizedState=null;else switch(De){case"forwards":for(I=v.child,De=null;I!==null;)i=I.alternate,i!==null&&oc(i)===null&&(De=I),I=I.sibling;I=De,I===null?(De=v.child,v.child=null):(De=I.sibling,I.sibling=null),ui(v,!1,De,I,_e);break;case"backwards":for(I=null,De=v.child,v.child=null;De!==null;){if(i=De.alternate,i!==null&&oc(i)===null){v.child=De;break}i=De.sibling,De.sibling=I,I=De,De=i}ui(v,!0,I,null,_e);break;case"together":ui(v,!1,null,null,void 0);break;default:v.memoizedState=null}return v.child}function _i(i,v,I){if(i!==null&&(v.dependencies=i.dependencies),Vu|=v.lanes,!(I&v.childLanes))return null;if(i!==null&&v.child!==i.child)throw Error(o(153));if(v.child!==null){for(i=v.child,I=Qu(i,i.pendingProps),v.child=I,I.return=v;i.sibling!==null;)i=i.sibling,I=I.sibling=Qu(i,i.pendingProps),I.return=v;I.sibling=null}return v.child}function fo(i,v,I){switch(v.tag){case 3:qa(v),Al();break;case 5:ml(v);break;case 1:Fi(v.type)&&Cl(v);break;case 4:Vi(v,v.stateNode.containerInfo);break;case 10:var ee=v.type._context,De=v.memoizedProps.value;xi(dr,ee._currentValue),ee._currentValue=De;break;case 13:if(ee=v.memoizedState,ee!==null)return ee.dehydrated!==null?(xi(Ii,Ii.current&1),v.flags|=128,null):I&v.child.childLanes?Ho(i,v,I):(xi(Ii,Ii.current&1),i=_i(i,v,I),i!==null?i.sibling:null);xi(Ii,Ii.current&1);break;case 19:if(ee=(I&v.childLanes)!==0,i.flags&128){if(ee)return Mi(i,v,I);v.flags|=128}if(De=v.memoizedState,De!==null&&(De.rendering=null,De.tail=null,De.lastEffect=null),xi(Ii,Ii.current),ee)break;return null;case 22:case 23:return v.lanes=0,Lr(i,v,I)}return _i(i,v,I)}function Bi(i,v){switch(tl(v),v.tag){case 1:return Fi(v.type)&&ou(),i=v.flags,i&65536?(v.flags=i&-65537|128,v):null;case 3:return nl(),bi(mo),bi(rs),ic(),i=v.flags,i&65536&&!(i&128)?(v.flags=i&-65537|128,v):null;case 5:return ac(v),null;case 13:if(bi(Ii),i=v.memoizedState,i!==null&&i.dehydrated!==null){if(v.alternate===null)throw Error(o(340));Al()}return i=v.flags,i&65536?(v.flags=i&-65537|128,v):null;case 19:return bi(Ii),null;case 4:return nl(),null;case 10:return es(v.type._context),null;case 22:case 23:return md(),null;case 24:return null;default:return null}}var $i=!1,oi=!1,gi=typeof WeakSet=="function"?WeakSet:Set,ja=null;function ii(i,v){var I=i.ref;if(I!==null)if(typeof I=="function")try{I(null)}catch(ee){is(i,v,ee)}else I.current=null}function Wi(i,v,I){try{I()}catch(ee){is(i,v,ee)}}var Is=!1;function ts(i,v){if(Ra=Dr,i=To(),Ko(i)){if("selectionStart"in i)var I={start:i.selectionStart,end:i.selectionEnd};else e:{I=(I=i.ownerDocument)&&I.defaultView||window;var ee=I.getSelection&&I.getSelection();if(ee&&ee.rangeCount!==0){I=ee.anchorNode;var De=ee.anchorOffset,_e=ee.focusNode;ee=ee.focusOffset;try{I.nodeType,_e.nodeType}catch(vo){I=null;break e}var $t=0,gn=-1,Un=-1,Nr=0,Ia=0,Ya=i,ga=null;t:for(;;){for(var ro;Ya!==I||De!==0&&Ya.nodeType!==3||(gn=$t+De),Ya!==_e||ee!==0&&Ya.nodeType!==3||(Un=$t+ee),Ya.nodeType===3&&($t+=Ya.nodeValue.length),(ro=Ya.firstChild)!==null;)ga=Ya,Ya=ro;for(;;){if(Ya===i)break t;if(ga===I&&++Nr===De&&(gn=$t),ga===_e&&++Ia===ee&&(Un=$t),(ro=Ya.nextSibling)!==null)break;Ya=ga,ga=Ya.parentNode}Ya=ro}I=gn===-1||Un===-1?null:{start:gn,end:Un}}else I=null}I=I||{start:0,end:0}}else I=null;for(ru={focusedElem:i,selectionRange:I},Dr=!1,ja=v;ja!==null;)if(v=ja,i=v.child,(v.subtreeFlags&1028)!==0&&i!==null)i.return=v,ja=i;else for(;ja!==null;){v=ja;try{var Ha=v.alternate;if(v.flags&1024)switch(v.tag){case 0:case 11:case 15:break;case 1:if(Ha!==null){var ri=Ha.memoizedProps,zs=Ha.memoizedState,xr=v.stateNode,Xn=xr.getSnapshotBeforeUpdate(v.elementType===v.type?ri:_n(v.type,ri),zs);xr.__reactInternalSnapshotBeforeUpdate=Xn}break;case 3:var jr=v.stateNode.containerInfo;if(jr.nodeType===1)jr.textContent="";else if(jr.nodeType===9){var Fa=jr.body;Fa!=null&&(Fa.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(vo){is(v,v.return,vo)}if(i=v.sibling,i!==null){i.return=v.return,ja=i;break}ja=v.return}return Ha=Is,Is=!1,Ha}function Hi(i,v,I){var ee=v.updateQueue;if(ee=ee!==null?ee.lastEffect:null,ee!==null){var De=ee=ee.next;do{if((De.tag&i)===i){var _e=De.destroy;De.destroy=void 0,_e!==void 0&&Wi(v,I,_e)}De=De.next}while(De!==ee)}}function Mu(i,v){if(v=v.updateQueue,v=v!==null?v.lastEffect:null,v!==null){var I=v=v.next;do{if((I.tag&i)===i){var ee=I.create;I.destroy=ee()}I=I.next}while(I!==v)}}function Su(i){var v=i.ref;if(v!==null){var I=i.stateNode;switch(i.tag){case 5:i=I;break;default:i=I}typeof v=="function"?v(i):v.current=i}}function hs(i){var v=i.alternate;v!==null&&(i.alternate=null,hs(v)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(v=i.stateNode,v!==null&&(delete v[vs],delete v[Sl],delete v[Wt],delete v[Ai],delete v[Vl])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function ds(i){return i.tag===5||i.tag===3||i.tag===4}function Ns(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||ds(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function rl(i,v,I){var ee=i.tag;if(ee===5||ee===6)i=i.stateNode,v?I.nodeType===8?I.parentNode.insertBefore(i,v):I.insertBefore(i,v):(I.nodeType===8?(v=I.parentNode,v.insertBefore(i,I)):(v=I,v.appendChild(i)),I=I._reactRootContainer,I!=null||v.onclick!==null||(v.onclick=Zs));else if(ee!==4&&(i=i.child,i!==null))for(rl(i,v,I),i=i.sibling;i!==null;)rl(i,v,I),i=i.sibling}function Dl(i,v,I){var ee=i.tag;if(ee===5||ee===6)i=i.stateNode,v?I.insertBefore(i,v):I.appendChild(i);else if(ee!==4&&(i=i.child,i!==null))for(Dl(i,v,I),i=i.sibling;i!==null;)Dl(i,v,I),i=i.sibling}var Zi=null,As=!1;function Bl(i,v,I){for(I=I.child;I!==null;)pc(i,v,I),I=I.sibling}function pc(i,v,I){if(fn&&typeof fn.onCommitFiberUnmount=="function")try{fn.onCommitFiberUnmount(rn,I)}catch(gn){}switch(I.tag){case 5:oi||ii(I,v);case 6:var ee=Zi,De=As;Zi=null,Bl(i,v,I),Zi=ee,As=De,Zi!==null&&(As?(i=Zi,I=I.stateNode,i.nodeType===8?i.parentNode.removeChild(I):i.removeChild(I)):Zi.removeChild(I.stateNode));break;case 18:Zi!==null&&(As?(i=Zi,I=I.stateNode,i.nodeType===8?Zu(i.parentNode,I):i.nodeType===1&&Zu(i,I),yr(i)):Zu(Zi,I.stateNode));break;case 4:ee=Zi,De=As,Zi=I.stateNode.containerInfo,As=!0,Bl(i,v,I),Zi=ee,As=De;break;case 0:case 11:case 14:case 15:if(!oi&&(ee=I.updateQueue,ee!==null&&(ee=ee.lastEffect,ee!==null))){De=ee=ee.next;do{var _e=De,$t=_e.destroy;_e=_e.tag,$t!==void 0&&(_e&2||_e&4)&&Wi(I,v,$t),De=De.next}while(De!==ee)}Bl(i,v,I);break;case 1:if(!oi&&(ii(I,v),ee=I.stateNode,typeof ee.componentWillUnmount=="function"))try{ee.props=I.memoizedProps,ee.state=I.memoizedState,ee.componentWillUnmount()}catch(gn){is(I,v,gn)}Bl(i,v,I);break;case 21:Bl(i,v,I);break;case 22:I.mode&1?(oi=(ee=oi)||I.memoizedState!==null,Bl(i,v,I),oi=ee):Bl(i,v,I);break;default:Bl(i,v,I)}}function wl(i){var v=i.updateQueue;if(v!==null){i.updateQueue=null;var I=i.stateNode;I===null&&(I=i.stateNode=new gi),v.forEach(function(ee){var De=nf.bind(null,i,ee);I.has(ee)||(I.add(ee),ee.then(De,De))})}}function $l(i,v){var I=v.deletions;if(I!==null)for(var ee=0;eeDe&&(De=$t),ee&=~_e}if(ee=De,ee=mn()-ee,ee=(120>ee?120:480>ee?480:1080>ee?1080:1920>ee?1920:3e3>ee?3e3:4320>ee?4320:1960*yc(ee/1960))-ee,10i?16:i,uc===null)var ee=!1;else{if(i=uc,uc=null,Wc=0,Oi&6)throw Error(o(331));var De=Oi;for(Oi|=4,ja=i.current;ja!==null;){var _e=ja,$t=_e.child;if(ja.flags&16){var gn=_e.deletions;if(gn!==null){for(var Un=0;Unmn()-dd?Mc(i,0):Uc|=I),Ul(i,v)}function Rc(i,v){v===0&&(i.mode&1?(v=tn,tn<<=1,!(tn&130023424)&&(tn=4194304)):v=1);var I=Pl();i=nd(i,v),i!==null&&(xt(i,v,I),Ul(i,I))}function tf(i){var v=i.memoizedState,I=0;v!==null&&(I=v.retryLane),Rc(i,I)}function nf(i,v){var I=0;switch(i.tag){case 13:var ee=i.stateNode,De=i.memoizedState;De!==null&&(I=De.retryLane);break;case 19:ee=i.stateNode;break;default:throw Error(o(314))}ee!==null&&ee.delete(v),Rc(i,I)}var _d;_d=function(i,v,I){if(i!==null)if(i.memoizedProps!==v.pendingProps||mo.current)St=!0;else{if(!(i.lanes&I)&&!(v.flags&128))return St=!1,fo(i,v,I);St=!!(i.flags&131072)}else St=!1,vi&&v.flags&1048576&&cs(v,Pu,v.index);switch(v.lanes=0,v.tag){case 2:var ee=v.type;i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),i=v.pendingProps;var De=au(v,rs.current);fi(v,I),De=Dc(null,v,ee,i,De,I);var _e=Nu();return v.flags|=1,typeof De=="object"&&De!==null&&typeof De.render=="function"&&De.$$typeof===void 0?(v.tag=1,v.memoizedState=null,v.updateQueue=null,Fi(ee)?(_e=!0,Cl(v)):_e=!1,v.memoizedState=De.state!==null&&De.state!==void 0?De.state:null,ms(v),De.updater=Il,v.stateNode=De,De._reactInternals=v,gu(v,ee,i,I),v=ba(null,v,ee,!0,_e,I)):(v.tag=0,vi&&_e&&rc(v),pn(null,v,De,I),v=v.child),v;case 16:ee=v.elementType;e:{switch(i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),i=v.pendingProps,De=ee._init,ee=De(ee._payload),v.type=ee,De=v.tag=af(ee),i=_n(ee,i),De){case 0:v=ya(null,v,ee,i,I);break e;case 1:v=da(null,v,ee,i,I);break e;case 11:v=Qn(null,v,ee,i,I);break e;case 14:v=Jn(null,v,ee,_n(ee.type,i),I);break e}throw Error(o(306,ee,""))}return v;case 0:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:_n(ee,De),ya(i,v,ee,De,I);case 1:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:_n(ee,De),da(i,v,ee,De,I);case 3:e:{if(qa(v),i===null)throw Error(o(387));ee=v.pendingProps,_e=v.memoizedState,De=_e.element,wu(i,v),us(v,ee,null,I);var $t=v.memoizedState;if(ee=$t.element,_e.isDehydrated)if(_e={element:ee,isDehydrated:!1,cache:$t.cache,pendingSuspenseBoundaries:$t.pendingSuspenseBoundaries,transitions:$t.transitions},v.updateQueue.baseState=_e,v.memoizedState=_e,v.flags&256){De=Error(o(423)),v=oo(i,v,ee,I,De);break e}else if(ee!==De){De=Error(o(424)),v=oo(i,v,ee,I,De);break e}else for(Ls=Lo(v.stateNode.containerInfo.firstChild),vl=v,vi=!0,Cs=null,I=Nt(v,null,ee,I),v.child=I;I;)I.flags=I.flags&-3|4096,I=I.sibling;else{if(Al(),ee===De){v=_i(i,v,I);break e}pn(i,v,ee,I)}v=v.child}return v;case 5:return ml(v),i===null&&Wu(v),ee=v.type,De=v.pendingProps,_e=i!==null?i.memoizedProps:null,$t=De.children,Yi(ee,De)?$t=null:_e!==null&&Yi(ee,_e)&&(v.flags|=32),Qr(i,v),pn(i,v,$t,I),v.child;case 6:return i===null&&Wu(v),null;case 13:return Ho(i,v,I);case 4:return Vi(v,v.stateNode.containerInfo),ee=v.pendingProps,i===null?v.child=ot(v,null,ee,I):pn(i,v,ee,I),v.child;case 11:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:_n(ee,De),Qn(i,v,ee,De,I);case 7:return pn(i,v,v.pendingProps,I),v.child;case 8:return pn(i,v,v.pendingProps.children,I),v.child;case 12:return pn(i,v,v.pendingProps.children,I),v.child;case 10:e:{if(ee=v.type._context,De=v.pendingProps,_e=v.memoizedProps,$t=De.value,xi(dr,ee._currentValue),ee._currentValue=$t,_e!==null)if($r(_e.value,$t)){if(_e.children===De.children&&!mo.current){v=_i(i,v,I);break e}}else for(_e=v.child,_e!==null&&(_e.return=v);_e!==null;){var gn=_e.dependencies;if(gn!==null){$t=_e.child;for(var Un=gn.firstContext;Un!==null;){if(Un.context===ee){if(_e.tag===1){Un=Gl(-1,I&-I),Un.tag=2;var Nr=_e.updateQueue;if(Nr!==null){Nr=Nr.shared;var Ia=Nr.pending;Ia===null?Un.next=Un:(Un.next=Ia.next,Ia.next=Un),Nr.pending=Un}}_e.lanes|=I,Un=_e.alternate,Un!==null&&(Un.lanes|=I),ni(_e.return,I,v),gn.lanes|=I;break}Un=Un.next}}else if(_e.tag===10)$t=_e.type===v.type?null:_e.child;else if(_e.tag===18){if($t=_e.return,$t===null)throw Error(o(341));$t.lanes|=I,gn=$t.alternate,gn!==null&&(gn.lanes|=I),ni($t,I,v),$t=_e.sibling}else $t=_e.child;if($t!==null)$t.return=_e;else for($t=_e;$t!==null;){if($t===v){$t=null;break}if(_e=$t.sibling,_e!==null){_e.return=$t.return,$t=_e;break}$t=$t.return}_e=$t}pn(i,v,De.children,I),v=v.child}return v;case 9:return De=v.type,ee=v.pendingProps.children,fi(v,I),De=Co(De),ee=ee(De),v.flags|=1,pn(i,v,ee,I),v.child;case 14:return ee=v.type,De=_n(ee,v.pendingProps),De=_n(ee.type,De),Jn(i,v,ee,De,I);case 15:return Sr(i,v,v.type,v.pendingProps,I);case 17:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:_n(ee,De),i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),v.tag=1,Fi(ee)?(i=!0,Cl(v)):i=!1,fi(v,I),ku(v,ee,De),gu(v,ee,De,I),ba(null,v,ee,!0,i,I);case 19:return Mi(i,v,I);case 22:return Lr(i,v,I)}throw Error(o(156,v.tag))};function Yd(i,v){return Ut(i,v)}function rf(i,v,I,ee){this.tag=i,this.key=I,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=v,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ee,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zu(i,v,I,ee){return new rf(i,v,I,ee)}function Dd(i){return i=i.prototype,!(!i||!i.isReactComponent)}function af(i){if(typeof i=="function")return Dd(i)?1:0;if(i!=null){if(i=i.$$typeof,i===le)return 11;if(i===x)return 14}return 2}function Qu(i,v){var I=i.alternate;return I===null?(I=zu(i.tag,v,i.key,i.mode),I.elementType=i.elementType,I.type=i.type,I.stateNode=i.stateNode,I.alternate=i,i.alternate=I):(I.pendingProps=v,I.type=i.type,I.flags=0,I.subtreeFlags=0,I.deletions=null),I.flags=i.flags&14680064,I.childLanes=i.childLanes,I.lanes=i.lanes,I.child=i.child,I.memoizedProps=i.memoizedProps,I.memoizedState=i.memoizedState,I.updateQueue=i.updateQueue,v=i.dependencies,I.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext},I.sibling=i.sibling,I.index=i.index,I.ref=i.ref,I}function wd(i,v,I,ee,De,_e){var $t=2;if(ee=i,typeof i=="function")Dd(i)&&($t=1);else if(typeof i=="string")$t=5;else e:switch(i){case K:return Vc(I.children,De,_e,v);case k:$t=8,De|=8;break;case te:return i=zu(12,I,v,De|2),i.elementType=te,i.lanes=_e,i;case X:return i=zu(13,I,v,De),i.elementType=X,i.lanes=_e,i;case W:return i=zu(19,I,v,De),i.elementType=W,i.lanes=_e,i;case _:return jd(I,De,_e,v);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case Y:$t=10;break e;case q:$t=9;break e;case le:$t=11;break e;case x:$t=14;break e;case O:$t=16,ee=null;break e}throw Error(o(130,i==null?i:typeof i,""))}return v=zu($t,I,v,De),v.elementType=i,v.type=ee,v.lanes=_e,v}function Vc(i,v,I,ee){return i=zu(7,i,ee,v),i.lanes=I,i}function jd(i,v,I,ee){return i=zu(22,i,ee,v),i.elementType=_,i.lanes=I,i.stateNode={},i}function $d(i,v,I){return i=zu(6,i,null,v),i.lanes=I,i}function Zd(i,v,I){return v=zu(4,i.children!==null?i.children:[],i.key,v),v.lanes=I,v.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},v}function of(i,v,I,ee,De){this.tag=v,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=At(0),this.expirationTimes=At(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=At(0),this.identifierPrefix=ee,this.onRecoverableError=De,this.mutableSourceEagerHydrationData=null}function Ud(i,v,I,ee,De,_e,$t,gn,Un){return i=new of(i,v,I,gn,Un),v===1?(v=1,_e===!0&&(v|=8)):v=0,_e=zu(3,null,null,v),i.current=_e,_e.stateNode=i,_e.memoizedState={element:ee,isDehydrated:I,cache:null,transitions:null,pendingSuspenseBoundaries:null},ms(_e),i}function sf(i,v,I){var ee=30&&c+l.length!==m.length&&l.search(e)>-1&&m.charAt(c-2)!==":"&&(m.charAt(c+l.length)!=="-"||m.charAt(c-1)==="-")&&m.charAt(c-1).search(/[^\s-]/)<0?l.toLowerCase():l.substr(1).search(/[A-Z]|\../)>-1?l:l.charAt(0).toUpperCase()+l.substr(1)})}function t(d){return typeof d=="string"&&d.indexOf("@")!==-1}var o="REDACTED (Potential Email Address)";function s(d){return t(d)?(console.warn("This arg looks like an email address, redacting."),o):d}function n(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,m=d||"";return l&&(m=a(d)),c&&(m=s(m)),m}},80234:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.GA4=void 0;var a=d(e(51542)),t=d(e(23661)),o=["eventCategory","eventAction","eventLabel","eventValue","hitType"],s=["title","location"],n=["page","hitType"];function d(X){return X&&X.__esModule?X:{default:X}}function l(X,W){if(X==null)return{};var x=c(X,W),O,_;if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(X);for(_=0;_=0)&&Object.prototype.propertyIsEnumerable.call(X,O)&&(x[O]=X[O])}return x}function c(X,W){if(X==null)return{};var x={},O=Object.keys(X),_,U;for(U=0;U=0)&&(x[_]=X[_]);return x}function m(X){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(X)}function g(X){return S(X)||h(X)||N(X)||M()}function M(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(X){if(typeof Symbol!="undefined"&&X[Symbol.iterator]!=null||X["@@iterator"]!=null)return Array.from(X)}function S(X){if(Array.isArray(X))return L(X)}function w(X,W){var x=Object.keys(X);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(X);W&&(O=O.filter(function(_){return Object.getOwnPropertyDescriptor(X,_).enumerable})),x.push.apply(x,O)}return x}function C(X){for(var W=1;WX.length)&&(W=X.length);for(var x=0,O=new Array(W);x2&&arguments[2]!==void 0?arguments[2]:"https://www.googletagmanager.com/gtag/js";if(!(typeof window=="undefined"||typeof document=="undefined")&&!W._hasLoadedGA){var U=document.createElement("script");U.async=!0,U.src="".concat(_,"?id=").concat(x),O&&U.setAttribute("nonce",O),document.body.appendChild(U),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},W._hasLoadedGA=!0}}),k(this,"_toGtagOptions",function(x){if(x){var O={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"},_=Object.entries(x).reduce(function(U,A){var G=z(A,2),de=G[0],he=G[1];return O[de]?U[O[de]]=he:U[de]=he,U},{});return _}}),k(this,"initialize",function(x){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!x)throw new Error("Require GA_MEASUREMENT_ID");var _=typeof x=="string"?[{trackingId:x}]:x;W._currentMeasurementId=_[0].trackingId;var U=O.gaOptions,A=O.gtagOptions,G=O.nonce,de=O.testMode,he=de===void 0?!1:de,ge=O.gtagUrl;if(W._testMode=he,he||W._loadGA(W._currentMeasurementId,G,ge),W.isInitialized||(W._gtag("js",new Date),_.forEach(function(Ge){var Je=C(C(C({},W._toGtagOptions(C(C({},U),Ge.gaOptions))),A),Ge.gtagOptions);Object.keys(Je).length?W._gtag("config",Ge.trackingId,Je):W._gtag("config",Ge.trackingId)})),W.isInitialized=!0,!he){var be=g(W._queueGtag);for(W._queueGtag=[],W._isQueuing=!1;be.length;){var Te=be.shift();W._gtag.apply(W,g(Te)),Te[0]==="get"&&(W._isQueuing=!0)}}}),k(this,"set",function(x){if(!x){console.warn("`fieldsObject` is required in .set()");return}if(m(x)!=="object"){console.warn("Expected `fieldsObject` arg to be an Object");return}Object.keys(x).length===0&&console.warn("empty `fieldsObject` given to .set()"),W._gaCommand("set",x)}),k(this,"_gaCommandSendEvent",function(x,O,_,U,A){W._gtag("event",O,C(C({event_category:x,event_label:_,value:U},A&&{non_interaction:A.nonInteraction}),W._toGtagOptions(A)))}),k(this,"_gaCommandSendEventParameters",function(){for(var x=arguments.length,O=new Array(x),_=0;_1?O-1:0),U=1;U(P[Q]==null&&d(!1),P[Q])).replace(/\/*\*$/,ae=>P["*"]==null?"":P["*"].replace(/^\/*/,"/"))}function M(R,P,ae){ae===void 0&&(ae="/");let Q=typeof P=="string"?(0,a.cP)(P):P,ie=W(Q.pathname||"/",ae);if(ie==null)return null;let me=h(R);S(me);let je=null;for(let Ee=0;je==null&&Ee{let je={relativePath:ie.path||"",caseSensitive:ie.caseSensitive===!0,childrenIndex:me,route:ie};je.relativePath.startsWith("/")&&(je.relativePath.startsWith(Q)||d(!1),je.relativePath=je.relativePath.slice(Q.length));let Ee=x([Q,je.relativePath]),Me=ae.concat(je);ie.children&&ie.children.length>0&&(ie.index===!0&&d(!1),h(ie.children,P,Me,Ee)),!(ie.path==null&&!ie.index)&&P.push({path:Ee,score:D(Ee,ie.index),routesMeta:Me})}),P}function S(R){R.sort((P,ae)=>P.score!==ae.score?ae.score-P.score:T(P.routesMeta.map(Q=>Q.childrenIndex),ae.routesMeta.map(Q=>Q.childrenIndex)))}const w=/^:\w+$/,C=3,z=2,$=1,N=10,L=-2,B=R=>R==="*";function D(R,P){let ae=R.split("/"),Q=ae.length;return ae.some(B)&&(Q+=L),P&&(Q+=z),ae.filter(ie=>!B(ie)).reduce((ie,me)=>ie+(w.test(me)?C:me===""?$:N),Q)}function T(R,P){return R.length===P.length&&R.slice(0,-1).every((Q,ie)=>Q===P[ie])?R[R.length-1]-P[P.length-1]:0}function j(R,P){let{routesMeta:ae}=R,Q={},ie="/",me=[];for(let je=0;je{if(re==="*"){let J=Ee[se]||"";je=me.slice(0,me.length-J.length).replace(/(.)\/+$/,"$1")}return We[re]=te(Ee[se]||"",re),We},{}),pathname:me,pathnameBase:je,pattern:R}}function k(R,P,ae){P===void 0&&(P=!1),ae===void 0&&(ae=!0);let Q=[],ie="^"+R.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(je,Ee)=>(Q.push(Ee),"([^\\/]+)"));return R.endsWith("*")?(Q.push("*"),ie+=R==="*"||R==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):ie+=ae?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(ie,P?void 0:"i"),Q]}function te(R,P){try{return decodeURIComponent(R)}catch(ae){return R}}function Y(R,P){P===void 0&&(P="/");let{pathname:ae,search:Q="",hash:ie=""}=typeof R=="string"?(0,a.cP)(R):R;return{pathname:ae?ae.startsWith("/")?ae:q(ae,P):P,search:_(Q),hash:U(ie)}}function q(R,P){let ae=P.replace(/\/+$/,"").split("/");return R.split("/").forEach(ie=>{ie===".."?ae.length>1&&ae.pop():ie!=="."&&ae.push(ie)}),ae.length>1?ae.join("/"):"/"}function le(R,P,ae){let Q=typeof R=="string"?(0,a.cP)(R):R,ie=R===""||Q.pathname===""?"/":Q.pathname,me;if(ie==null)me=ae;else{let Ee=P.length-1;if(ie.startsWith("..")){let Me=ie.split("/");for(;Me[0]==="..";)Me.shift(),Ee-=1;Q.pathname=Me.join("/")}me=Ee>=0?P[Ee]:"/"}let je=Y(Q,me);return ie&&ie!=="/"&&ie.endsWith("/")&&!je.pathname.endsWith("/")&&(je.pathname+="/"),je}function X(R){return R===""||R.pathname===""?"/":typeof R=="string"?(0,a.cP)(R).pathname:R.pathname}function W(R,P){if(P==="/")return R;if(!R.toLowerCase().startsWith(P.toLowerCase()))return null;let ae=R.charAt(P.length);return ae&&ae!=="/"?null:R.slice(P.length)||"/"}const x=R=>R.join("/").replace(/\/\/+/g,"/"),O=R=>R.replace(/\/+$/,"").replace(/^\/*/,"/"),_=R=>!R||R==="?"?"":R.startsWith("?")?R:"?"+R,U=R=>!R||R==="#"?"":R.startsWith("#")?R:"#"+R;function A(R){G()||d(!1);let{basename:P,navigator:ae}=(0,t.useContext)(o),{hash:Q,pathname:ie,search:me}=pt(R),je=ie;if(P!=="/"){let Ee=X(R),Me=Ee!=null&&Ee.endsWith("/");je=ie==="/"?P+(Me?"/":""):x([P,ie])}return ae.createHref({pathname:je,search:me,hash:Q})}function G(){return(0,t.useContext)(s)!=null}function de(){return G()||d(!1),(0,t.useContext)(s).location}function he(){return(0,t.useContext)(s).navigationType}function ge(R){G()||d(!1);let{pathname:P}=de();return(0,t.useMemo)(()=>K(R,P),[P,R])}function be(){G()||d(!1);let{basename:R,navigator:P}=(0,t.useContext)(o),{matches:ae}=(0,t.useContext)(n),{pathname:Q}=de(),ie=JSON.stringify(ae.map(Ee=>Ee.pathnameBase)),me=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{me.current=!0}),(0,t.useCallback)(function(Ee,Me){if(Me===void 0&&(Me={}),!me.current)return;if(typeof Ee=="number"){P.go(Ee);return}let We=le(Ee,JSON.parse(ie),Q);R!=="/"&&(We.pathname=x([R,We.pathname])),(Me.replace?P.replace:P.push)(We,Me.state)},[R,P,ie,Q])}const Te=(0,t.createContext)(null);function Ge(){return(0,t.useContext)(Te)}function Je(R){let P=(0,t.useContext)(n).outlet;return P&&(0,t.createElement)(Te.Provider,{value:R},P)}function Qe(){let{matches:R}=(0,t.useContext)(n),P=R[R.length-1];return P?P.params:{}}function pt(R){let{matches:P}=(0,t.useContext)(n),{pathname:ae}=de(),Q=JSON.stringify(P.map(ie=>ie.pathnameBase));return(0,t.useMemo)(()=>le(R,JSON.parse(Q),ae),[R,Q,ae])}function Ct(R,P){G()||d(!1);let{matches:ae}=(0,t.useContext)(n),Q=ae[ae.length-1],ie=Q?Q.params:{},me=Q?Q.pathname:"/",je=Q?Q.pathnameBase:"/",Ee=Q&&Q.route,Me=de(),We;if(P){var re;let xe=typeof P=="string"?(0,a.cP)(P):P;je==="/"||(re=xe.pathname)!=null&&re.startsWith(je)||d(!1),We=xe}else We=Me;let se=We.pathname||"/",J=je==="/"?se:se.slice(je.length)||"/",ce=M(R,{pathname:J});return ft(ce&&ce.map(xe=>Object.assign({},xe,{params:Object.assign({},ie,xe.params),pathname:x([je,xe.pathname]),pathnameBase:xe.pathnameBase==="/"?je:x([je,xe.pathnameBase])})),ae)}function ft(R,P){return P===void 0&&(P=[]),R==null?null:R.reduceRight((ae,Q,ie)=>(0,t.createElement)(n.Provider,{children:Q.route.element!==void 0?Q.route.element:ae,value:{outlet:ae,matches:P.concat(R.slice(0,ie+1))}}),null)}function Ht(R){let{basename:P,children:ae,initialEntries:Q,initialIndex:ie}=R,me=(0,t.useRef)();me.current==null&&(me.current=(0,a.PP)({initialEntries:Q,initialIndex:ie}));let je=me.current,[Ee,Me]=(0,t.useState)({action:je.action,location:je.location});return(0,t.useLayoutEffect)(()=>je.listen(Me),[je]),(0,t.createElement)(Ke,{basename:P,children:ae,location:Ee.location,navigationType:Ee.action,navigator:je})}function Ze(R){let{to:P,replace:ae,state:Q}=R;G()||d(!1);let ie=be();return(0,t.useEffect)(()=>{ie(P,{replace:ae,state:Q})}),null}function Xe(R){return Je(R.context)}function rt(R){d(!1)}function Ke(R){let{basename:P="/",children:ae=null,location:Q,navigationType:ie=a.aU.Pop,navigator:me,static:je=!1}=R;G()&&d(!1);let Ee=O(P),Me=(0,t.useMemo)(()=>({basename:Ee,navigator:me,static:je}),[Ee,me,je]);typeof Q=="string"&&(Q=(0,a.cP)(Q));let{pathname:We="/",search:re="",hash:se="",state:J=null,key:ce="default"}=Q,xe=(0,t.useMemo)(()=>{let ue=W(We,Ee);return ue==null?null:{pathname:ue,search:re,hash:se,state:J,key:ce}},[Ee,We,re,se,J,ce]);return xe==null?null:(0,t.createElement)(o.Provider,{value:Me},(0,t.createElement)(s.Provider,{children:ae,value:{location:xe,navigationType:ie}}))}function ye(R){let{children:P,location:ae}=R;return Ct(ne(P),ae)}function ne(R){let P=[];return t.Children.forEach(R,ae=>{if(!(0,t.isValidElement)(ae))return;if(ae.type===t.Fragment){P.push.apply(P,ne(ae.props.children));return}ae.type!==rt&&d(!1);let Q={caseSensitive:ae.props.caseSensitive,element:ae.props.element,index:ae.props.index,path:ae.props.path};ae.props.children&&(Q.children=ne(ae.props.children)),P.push(Q)}),P}function H(R){return ft(R)}},88299:function(b,y,e){"use strict";var a=e(58757),t=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,n=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function l(c,m,g){var M,h={},S=null,w=null;g!==void 0&&(S=""+g),m.key!==void 0&&(S=""+m.key),m.ref!==void 0&&(w=m.ref);for(M in m)s.call(m,M)&&!d.hasOwnProperty(M)&&(h[M]=m[M]);if(c&&c.defaultProps)for(M in m=c.defaultProps,m)h[M]===void 0&&(h[M]=m[M]);return{$$typeof:t,type:c,key:S,ref:w,props:h,_owner:n.current}}y.Fragment=o,y.jsx=l,y.jsxs=l},34028:function(b,y){"use strict";var e=Symbol.for("react.element"),a=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),d=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),M=Symbol.iterator;function h(A){return A===null||typeof A!="object"?null:(A=M&&A[M]||A["@@iterator"],typeof A=="function"?A:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,C={};function z(A,G,de){this.props=A,this.context=G,this.refs=C,this.updater=de||S}z.prototype.isReactComponent={},z.prototype.setState=function(A,G){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,G,"setState")},z.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function $(){}$.prototype=z.prototype;function N(A,G,de){this.props=A,this.context=G,this.refs=C,this.updater=de||S}var L=N.prototype=new $;L.constructor=N,w(L,z.prototype),L.isPureReactComponent=!0;var B=Array.isArray,D=Object.prototype.hasOwnProperty,T={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function K(A,G,de){var he,ge={},be=null,Te=null;if(G!=null)for(he in G.ref!==void 0&&(Te=G.ref),G.key!==void 0&&(be=""+G.key),G)D.call(G,he)&&!j.hasOwnProperty(he)&&(ge[he]=G[he]);var Ge=arguments.length-2;if(Ge===1)ge.children=de;else if(1=0;--A){var G=this.tryEntries[A],de=G.completion;if(G.tryLoc==="root")return U("end");if(G.tryLoc<=this.prev){var he=t.call(G,"catchLoc"),ge=t.call(G,"finallyLoc");if(he&&ge){if(this.prev=0;--U){var A=this.tryEntries[U];if(A.tryLoc<=this.prev&&t.call(A,"finallyLoc")&&this.prev=0;--_){var U=this.tryEntries[_];if(U.finallyLoc===O)return this.complete(U.completion,U.afterLoc),le(U),z}},catch:function(O){for(var _=this.tryEntries.length-1;_>=0;--_){var U=this.tryEntries[_];if(U.tryLoc===O){var A=U.completion;if(A.type==="throw"){var G=A.arg;le(U)}return G}}throw new Error("illegal catch attempt")},delegateYield:function(O,_,U){return this.delegate={iterator:W(O),resultName:_,nextLoc:U},this.method==="next"&&(this.arg=s),z}},e}(b.exports);try{regeneratorRuntime=y}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=y:Function("r","regeneratorRuntime = r")(y)}},20759:function(b,y,e){"use strict";var a=function(){if(typeof Map!="undefined")return Map;function X(W,x){var O=-1;return W.some(function(_,U){return _[0]===x?(O=U,!0):!1}),O}return function(){function W(){this.__entries__=[]}return Object.defineProperty(W.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),W.prototype.get=function(x){var O=X(this.__entries__,x),_=this.__entries__[O];return _&&_[1]},W.prototype.set=function(x,O){var _=X(this.__entries__,x);~_?this.__entries__[_][1]=O:this.__entries__.push([x,O])},W.prototype.delete=function(x){var O=this.__entries__,_=X(O,x);~_&&O.splice(_,1)},W.prototype.has=function(x){return!!~X(this.__entries__,x)},W.prototype.clear=function(){this.__entries__.splice(0)},W.prototype.forEach=function(x,O){O===void 0&&(O=null);for(var _=0,U=this.__entries__;_0},X.prototype.connect_=function(){!t||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),m?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},X.prototype.disconnect_=function(){!t||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},X.prototype.onTransitionEnd_=function(W){var x=W.propertyName,O=x===void 0?"":x,_=c.some(function(U){return!!~O.indexOf(U)});_&&this.refresh()},X.getInstance=function(){return this.instance_||(this.instance_=new X),this.instance_},X.instance_=null,X}(),M=function(X,W){for(var x=0,O=Object.keys(W);x0},X}(),Y=typeof WeakMap!="undefined"?new WeakMap:new a,q=function(){function X(W){if(!(this instanceof X))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var x=g.getInstance(),O=new te(W,x,this);Y.set(this,O)}return X}();["observe","unobserve","disconnect"].forEach(function(X){q.prototype[X]=function(){var W;return(W=Y.get(this))[X].apply(W,arguments)}});var le=function(){return typeof o.ResizeObserver!="undefined"?o.ResizeObserver:q}();y.Z=le},68945:function(b,y){"use strict";function e(O,_){var U=O.length;O.push(_);e:for(;0>>1,G=O[A];if(0>>1;Ao(ge,U))beo(Te,ge)?(O[A]=Te,O[be]=U,A=be):(O[A]=ge,O[he]=U,A=he);else if(beo(Te,U))O[A]=Te,O[be]=U,A=be;else break e}}return _}function o(O,_){var U=O.sortIndex-_.sortIndex;return U!==0?U:O.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;y.unstable_now=function(){return s.now()}}else{var n=Date,d=n.now();y.unstable_now=function(){return n.now()-d}}var l=[],c=[],m=1,g=null,M=3,h=!1,S=!1,w=!1,C=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function N(O){for(var _=a(c);_!==null;){if(_.callback===null)t(c);else if(_.startTime<=O)t(c),_.sortIndex=_.expirationTime,e(l,_);else break;_=a(c)}}function L(O){if(w=!1,N(O),!S)if(a(l)!==null)S=!0,W(B);else{var _=a(c);_!==null&&x(L,_.startTime-O)}}function B(O,_){S=!1,w&&(w=!1,z(j),j=-1),h=!0;var U=M;try{for(N(_),g=a(l);g!==null&&(!(g.expirationTime>_)||O&&!te());){var A=g.callback;if(typeof A=="function"){g.callback=null,M=g.priorityLevel;var G=A(g.expirationTime<=_);_=y.unstable_now(),typeof G=="function"?g.callback=G:g===a(l)&&t(l),N(_)}else t(l);g=a(l)}if(g!==null)var de=!0;else{var he=a(c);he!==null&&x(L,he.startTime-_),de=!1}return de}finally{g=null,M=U,h=!1}}var D=!1,T=null,j=-1,K=5,k=-1;function te(){return!(y.unstable_now()-kO||125A?(O.sortIndex=U,e(c,O),a(l)===null&&O===a(c)&&(w?(z(j),j=-1):w=!0,x(L,U-A))):(O.sortIndex=G,e(l,O),S||h||(S=!0,W(B))),O},y.unstable_shouldYield=te,y.unstable_wrapCallback=function(O){var _=M;return function(){var U=M;M=_;try{return O.apply(this,arguments)}finally{M=U}}}},52090:function(b,y,e){"use strict";b.exports=e(68945)},57761:function(b){"use strict";function y(e,a){if(e===a)return!0;if(!e||!a)return!1;var t=Object.keys(e),o=Object.keys(a),s=t.length;if(o.length!==s)return!1;for(var n=0;n{se(J,ce,re)}):re.forEach((J,ce)=>se(ce,J,re))}function S(re){const se=re[o];return se?se.type_:Array.isArray(re)?1:N(re)?2:L(re)?3:0}function w(re,se){return S(re)===2?re.has(se):Object.prototype.hasOwnProperty.call(re,se)}function C(re,se){return S(re)===2?re.get(se):re[se]}function z(re,se,J){const ce=S(re);ce===2?re.set(se,J):ce===3?re.add(J):re[se]=J}function $(re,se){return re===se?re!==0||1/re===1/se:re!==re&&se!==se}function N(re){return re instanceof Map}function L(re){return re instanceof Set}function B(re){return re.copy_||re.base_}function D(re,se){if(N(re))return new Map(re);if(L(re))return new Set(re);if(Array.isArray(re))return Array.prototype.slice.call(re);if(!se&&g(re))return d(re)?ka({},re):Object.assign(Object.create(null),re);const J=Object.getOwnPropertyDescriptors(re);delete J[o];let ce=Reflect.ownKeys(J);for(let xe=0;xe1&&(re.set=re.add=re.clear=re.delete=j),Object.freeze(re),se&&h(re,(J,ce)=>T(ce,!0),!0)),re}function j(){n(2)}function K(re){return Object.isFrozen(re)}var k={};function te(re){const se=k[re];return se||n(0,re),se}function Y(re,se){k[re]||(k[re]=se)}var q;function le(){return q}function X(re,se){return{drafts_:[],parent_:re,immer_:se,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function W(re,se){se&&(te("Patches"),re.patches_=[],re.inversePatches_=[],re.patchListener_=se)}function x(re){O(re),re.drafts_.forEach(U),re.drafts_=null}function O(re){re===q&&(q=re.parent_)}function _(re){return q=X(q,re)}function U(re){const se=re[o];se.type_===0||se.type_===1?se.revoke_():se.revoked_=!0}function A(re,se){se.unfinalizedDrafts_=se.drafts_.length;const J=se.drafts_[0];return re!==void 0&&re!==J?(J[o].modified_&&(x(se),n(4)),c(re)&&(re=G(se,re),se.parent_||he(se,re)),se.patches_&&te("Patches").generateReplacementPatches_(J[o].base_,re,se.patches_,se.inversePatches_)):re=G(se,J,[]),x(se),se.patches_&&se.patchListener_(se.patches_,se.inversePatches_),re!==a?re:void 0}function G(re,se,J){if(K(se))return se;const ce=se[o];if(!ce)return h(se,(xe,ue)=>de(re,ce,se,xe,ue,J),!0),se;if(ce.scope_!==re)return se;if(!ce.modified_)return he(re,ce.base_,!0),ce.base_;if(!ce.finalized_){ce.finalized_=!0,ce.scope_.unfinalizedDrafts_--;const xe=ce.copy_;let ue=xe,Ne=!1;ce.type_===3&&(ue=new Set(xe),xe.clear(),Ne=!0),h(ue,(Oe,we)=>de(re,ce,xe,Oe,we,J,Ne)),he(re,xe,!1),J&&re.patches_&&te("Patches").generatePatches_(ce,J,re.patches_,re.inversePatches_)}return ce.copy_}function de(re,se,J,ce,xe,ue,Ne){if(l(xe)){const Oe=ue&&se&&se.type_!==3&&!w(se.assigned_,ce)?ue.concat(ce):void 0,we=G(re,xe,Oe);if(z(J,ce,we),l(we))re.canAutoFreeze_=!1;else return}else Ne&&J.add(xe);if(c(xe)&&!K(xe)){if(!re.immer_.autoFreeze_&&re.unfinalizedDrafts_<1)return;G(re,xe),(!se||!se.scope_.parent_)&&he(re,xe)}}function he(re,se,J=!1){!re.parent_&&re.immer_.autoFreeze_&&re.canAutoFreeze_&&T(se,J)}function ge(re,se){const J=Array.isArray(re),ce={type_:J?1:0,scope_:se?se.scope_:le(),modified_:!1,finalized_:!1,assigned_:{},parent_:se,base_:re,draft_:null,copy_:null,revoke_:null,isManual_:!1};let xe=ce,ue=be;J&&(xe=[ce],ue=Te);const{revoke:Ne,proxy:Oe}=Proxy.revocable(xe,ue);return ce.draft_=Oe,ce.revoke_=Ne,Oe}var be={get(re,se){if(se===o)return re;const J=B(re);if(!w(J,se))return Je(re,J,se);const ce=J[se];return re.finalized_||!c(ce)?ce:ce===Ge(re.base_,se)?(Ct(re),re.copy_[se]=Ht(ce,re)):ce},has(re,se){return se in B(re)},ownKeys(re){return Reflect.ownKeys(B(re))},set(re,se,J){const ce=Qe(B(re),se);if(ce!=null&&ce.set)return ce.set.call(re.draft_,J),!0;if(!re.modified_){const xe=Ge(B(re),se),ue=xe==null?void 0:xe[o];if(ue&&ue.base_===J)return re.copy_[se]=J,re.assigned_[se]=!1,!0;if($(J,xe)&&(J!==void 0||w(re.base_,se)))return!0;Ct(re),pt(re)}return re.copy_[se]===J&&(J!==void 0||se in re.copy_)||Number.isNaN(J)&&Number.isNaN(re.copy_[se])||(re.copy_[se]=J,re.assigned_[se]=!0),!0},deleteProperty(re,se){return Ge(re.base_,se)!==void 0||se in re.base_?(re.assigned_[se]=!1,Ct(re),pt(re)):delete re.assigned_[se],re.copy_&&delete re.copy_[se],!0},getOwnPropertyDescriptor(re,se){const J=B(re),ce=Reflect.getOwnPropertyDescriptor(J,se);return ce&&{writable:!0,configurable:re.type_!==1||se!=="length",enumerable:ce.enumerable,value:J[se]}},defineProperty(){n(11)},getPrototypeOf(re){return d(re.base_)},setPrototypeOf(){n(12)}},Te={};h(be,(re,se)=>{Te[re]=function(){return arguments[0]=arguments[0][0],se.apply(this,arguments)}}),Te.deleteProperty=function(re,se){return Te.set.call(this,re,se,void 0)},Te.set=function(re,se,J){return be.set.call(this,re[0],se,J,re[0])};function Ge(re,se){const J=re[o];return(J?B(J):re)[se]}function Je(re,se,J){var xe;const ce=Qe(se,J);return ce?"value"in ce?ce.value:(xe=ce.get)==null?void 0:xe.call(re.draft_):void 0}function Qe(re,se){if(!(se in re))return;let J=d(re);for(;J;){const ce=Object.getOwnPropertyDescriptor(J,se);if(ce)return ce;J=d(J)}}function pt(re){re.modified_||(re.modified_=!0,re.parent_&&pt(re.parent_))}function Ct(re){re.copy_||(re.copy_=D(re.base_,re.scope_.immer_.useStrictShallowCopy_))}var ft=class{constructor(re){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(se,J,ce)=>{if(typeof se=="function"&&typeof J!="function"){const ue=J;J=se;const Ne=this;return function(we=ue,...Re){return Ne.produce(we,st=>J.call(this,st,...Re))}}typeof J!="function"&&n(6),ce!==void 0&&typeof ce!="function"&&n(7);let xe;if(c(se)){const ue=_(this),Ne=Ht(se,void 0);let Oe=!0;try{xe=J(Ne),Oe=!1}finally{Oe?x(ue):O(ue)}return W(ue,ce),A(xe,ue)}else if(!se||typeof se!="object"){if(xe=J(se),xe===void 0&&(xe=se),xe===a&&(xe=void 0),this.autoFreeze_&&T(xe,!0),ce){const ue=[],Ne=[];te("Patches").generateReplacementPatches_(se,xe,ue,Ne),ce(ue,Ne)}return xe}else n(1,se)},this.produceWithPatches=(se,J)=>{if(typeof se=="function")return(Ne,...Oe)=>this.produceWithPatches(Ne,we=>se(we,...Oe));let ce,xe;return[this.produce(se,J,(Ne,Oe)=>{ce=Ne,xe=Oe}),ce,xe]},typeof(re==null?void 0:re.autoFreeze)=="boolean"&&this.setAutoFreeze(re.autoFreeze),typeof(re==null?void 0:re.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(re.useStrictShallowCopy)}createDraft(re){c(re)||n(8),l(re)&&(re=Ze(re));const se=_(this),J=Ht(re,void 0);return J[o].isManual_=!0,O(se),J}finishDraft(re,se){const J=re&&re[o];(!J||!J.isManual_)&&n(9);const{scope_:ce}=J;return W(ce,se),A(void 0,ce)}setAutoFreeze(re){this.autoFreeze_=re}setUseStrictShallowCopy(re){this.useStrictShallowCopy_=re}applyPatches(re,se){let J;for(J=se.length-1;J>=0;J--){const xe=se[J];if(xe.path.length===0&&xe.op==="replace"){re=xe.value;break}}J>-1&&(se=se.slice(J+1));const ce=te("Patches").applyPatches_;return l(re)?ce(re,se):this.produce(re,xe=>ce(xe,se))}};function Ht(re,se){const J=N(re)?te("MapSet").proxyMap_(re,se):L(re)?te("MapSet").proxySet_(re,se):ge(re,se);return(se?se.scope_:le()).drafts_.push(J),J}function Ze(re){return l(re)||n(10,re),Xe(re)}function Xe(re){if(!c(re)||K(re))return re;const se=re[o];let J;if(se){if(!se.modified_)return se.base_;se.finalized_=!0,J=D(re,se.scope_.immer_.useStrictShallowCopy_)}else J=D(re,!0);return h(J,(ce,xe)=>{z(J,ce,Xe(xe))}),se&&(se.finalized_=!1),J}function rt(){const se="replace",J="add",ce="remove";function xe(Ye,ke,Be,it){switch(Ye.type_){case 0:case 2:return Ne(Ye,ke,Be,it);case 1:return ue(Ye,ke,Be,it);case 3:return Oe(Ye,ke,Be,it)}}function ue(Ye,ke,Be,it){let{base_:Ve,assigned_:It}=Ye,_t=Ye.copy_;_t.length{const jt=C(Ve,_t),Yt=C(It,_t),yt=wt?w(Ve,_t)?se:J:ce;if(jt===Yt&&yt===se)return;const ze=ke.concat(_t);Be.push(yt===ce?{op:yt,path:ze}:{op:yt,path:ze,value:Yt}),it.push(yt===J?{op:ce,path:ze}:yt===ce?{op:J,path:ze,value:tt(jt)}:{op:se,path:ze,value:tt(jt)})})}function Oe(Ye,ke,Be,it){let{base_:Ve,copy_:It}=Ye,_t=0;Ve.forEach(wt=>{if(!It.has(wt)){const jt=ke.concat([_t]);Be.push({op:ce,path:jt,value:wt}),it.unshift({op:J,path:jt,value:wt})}_t++}),_t=0,It.forEach(wt=>{if(!Ve.has(wt)){const jt=ke.concat([_t]);Be.push({op:J,path:jt,value:wt}),it.unshift({op:ce,path:jt,value:wt})}_t++})}function we(Ye,ke,Be,it){Be.push({op:se,path:[],value:ke===a?void 0:ke}),it.push({op:se,path:[],value:Ye})}function Re(Ye,ke){return ke.forEach(Be=>{const{path:it,op:Ve}=Be;let It=Ye;for(let Yt=0;Yt[Be,st(it)]));if(L(Ye))return new Set(Array.from(Ye).map(st));const ke=Object.create(d(Ye));for(const Be in Ye)ke[Be]=st(Ye[Be]);return w(Ye,t)&&(ke[t]=Ye[t]),ke}function tt(Ye){return l(Ye)?st(Ye):Ye}Y("Patches",{applyPatches_:Re,generatePatches_:xe,generateReplacementPatches_:we})}function Ke(){class re extends Map{constructor(we,Re){super(),this[o]={type_:2,parent_:Re,scope_:Re?Re.scope_:le(),modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:we,draft_:this,isManual_:!1,revoked_:!1}}get size(){return B(this[o]).size}has(we){return B(this[o]).has(we)}set(we,Re){const st=this[o];return Ne(st),(!B(st).has(we)||B(st).get(we)!==Re)&&(J(st),pt(st),st.assigned_.set(we,!0),st.copy_.set(we,Re),st.assigned_.set(we,!0)),this}delete(we){if(!this.has(we))return!1;const Re=this[o];return Ne(Re),J(Re),pt(Re),Re.base_.has(we)?Re.assigned_.set(we,!1):Re.assigned_.delete(we),Re.copy_.delete(we),!0}clear(){const we=this[o];Ne(we),B(we).size&&(J(we),pt(we),we.assigned_=new Map,h(we.base_,Re=>{we.assigned_.set(Re,!1)}),we.copy_.clear())}forEach(we,Re){const st=this[o];B(st).forEach((tt,Ye,ke)=>{we.call(Re,this.get(Ye),Ye,this)})}get(we){const Re=this[o];Ne(Re);const st=B(Re).get(we);if(Re.finalized_||!c(st)||st!==Re.base_.get(we))return st;const tt=Ht(st,Re);return J(Re),Re.copy_.set(we,tt),tt}keys(){return B(this[o]).keys()}values(){const we=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{const Re=we.next();return Re.done?Re:{done:!1,value:this.get(Re.value)}}}}entries(){const we=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{const Re=we.next();if(Re.done)return Re;const st=this.get(Re.value);return{done:!1,value:[Re.value,st]}}}}[Symbol.iterator](){return this.entries()}}function se(Oe,we){return new re(Oe,we)}function J(Oe){Oe.copy_||(Oe.assigned_=new Map,Oe.copy_=new Map(Oe.base_))}class ce extends Set{constructor(we,Re){super(),this[o]={type_:3,parent_:Re,scope_:Re?Re.scope_:le(),modified_:!1,finalized_:!1,copy_:void 0,base_:we,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return B(this[o]).size}has(we){const Re=this[o];return Ne(Re),Re.copy_?!!(Re.copy_.has(we)||Re.drafts_.has(we)&&Re.copy_.has(Re.drafts_.get(we))):Re.base_.has(we)}add(we){const Re=this[o];return Ne(Re),this.has(we)||(ue(Re),pt(Re),Re.copy_.add(we)),this}delete(we){if(!this.has(we))return!1;const Re=this[o];return Ne(Re),ue(Re),pt(Re),Re.copy_.delete(we)||(Re.drafts_.has(we)?Re.copy_.delete(Re.drafts_.get(we)):!1)}clear(){const we=this[o];Ne(we),B(we).size&&(ue(we),pt(we),we.copy_.clear())}values(){const we=this[o];return Ne(we),ue(we),we.copy_.values()}entries(){const we=this[o];return Ne(we),ue(we),we.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(we,Re){const st=this.values();let tt=st.next();for(;!tt.done;)we.call(Re,tt.value,tt.value,this),tt=st.next()}}function xe(Oe,we){return new ce(Oe,we)}function ue(Oe){Oe.copy_||(Oe.copy_=new Set,Oe.base_.forEach(we=>{if(c(we)){const Re=Ht(we,Oe);Oe.drafts_.set(we,Re),Oe.copy_.add(Re)}else Oe.copy_.add(we)}))}function Ne(Oe){Oe.revoked_&&n(3,JSON.stringify(B(Oe)))}Y("MapSet",{proxyMap_:se,proxySet_:xe})}var ye=new ft,ne=ye.produce,H=ye.produceWithPatches.bind(ye),R=ye.setAutoFreeze.bind(ye),P=ye.setUseStrictShallowCopy.bind(ye),ae=ye.applyPatches.bind(ye),Q=ye.createDraft.bind(ye),ie=ye.finishDraft.bind(ye);function me(re){return re}function je(re){return re}var Ee=e(58757);function Me(re){var se=(0,Ee.useState)(function(){return T(typeof re=="function"?re():re,!0)}),J=se[1];return[se[0],(0,Ee.useCallback)(function(ce){J(typeof ce=="function"?ne(ce):T(ce))},[])]}function We(re,se,J){var ce=f(function(){return r(re)},[re]);return u(ce,se,J)}},62118:function(b){"use strict";var y=!1,e=function(){};if(y){var a=function(o,s){var n=arguments.length;s=new Array(n>1?n-1:0);for(var d=1;d2?n-2:0);for(var d=2;de.length)&&(a=e.length);for(var t=0,o=new Array(a);t=o.length?{done:!0}:{done:!1,value:o[d++]}},e:function(h){throw h},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +`+_e.stack}return{value:i,source:v,stack:De}}function lr(i,v){try{console.error(v.value)}catch(I){setTimeout(function(){throw I})}}var Ir=typeof WeakMap=="function"?WeakMap:Map;function Vr(i,v,I){I=Xl(-1,I),I.tag=3,I.payload={element:null};var ee=v.value;return I.callback=function(){kc||(kc=!0,vd=ee),lr(i,v)},I}function Ar(i,v,I){I=Xl(-1,I),I.tag=3;var ee=i.type.getDerivedStateFromError;if(typeof ee=="function"){var De=v.value;I.payload=function(){return ee(De)},I.callback=function(){lr(i,v)}}var _e=i.stateNode;return _e!==null&&typeof _e.componentDidCatch=="function"&&(I.callback=function(){lr(i,v),typeof ee!="function"&&(lc===null?lc=new Set([this]):lc.add(this));var Bt=v.stack;this.componentDidCatch(v.value,{componentStack:Bt!==null?Bt:""})}),I}function Y(i,v,I){var ee=i.pingCache;if(ee===null){ee=i.pingCache=new Ir;var De=new Set;ee.set(v,De)}else De=ee.get(v),De===void 0&&(De=new Set,ee.set(v,De));De.has(I)||(De.add(I),i=Zd.bind(null,i,v,I),v.then(i,i))}function z(i){do{var v;if((v=i.tag===13)&&(v=i.memoizedState,v=v!==null?v.dehydrated!==null:!0),v)return i;i=i.return}while(i!==null);return null}function ue(i,v,I,ee,De){return i.mode&1?(i.flags|=65536,i.lanes=De,i):(i===v?i.flags|=65536:(i.flags|=128,I.flags|=131072,I.flags&=-52805,I.tag===1&&(I.alternate===null?I.tag=17:(v=Xl(-1,1),v.tag=2,ls(I,v))),I.lanes|=1),i)}var Ce,Re,rt,Mt;Ce=function(i,v){for(var I=v.child;I!==null;){if(I.tag===5||I.tag===6)i.appendChild(I.stateNode);else if(I.tag!==4&&I.child!==null){I.child.return=I,I=I.child;continue}if(I===v)break;for(;I.sibling===null;){if(I.return===null||I.return===v)return;I=I.return}I.sibling.return=I.return,I=I.sibling}},Re=function(){},rt=function(i,v,I,ee){var De=i.memoizedProps;if(De!==ee){i=v.stateNode,li(Fr.current);var _e=null;switch(I){case"input":De=Xe(i,De),ee=Xe(i,ee),_e=[];break;case"select":De=G({},De,{value:void 0}),ee=G({},ee,{value:void 0}),_e=[];break;case"textarea":De=ae(i,De),ee=ae(i,ee),_e=[];break;default:typeof De.onClick!="function"&&typeof ee.onClick=="function"&&(i.onclick=Zs)}Le(I,ee);var Bt;I=null;for(Nr in De)if(!ee.hasOwnProperty(Nr)&&De.hasOwnProperty(Nr)&&De[Nr]!=null)if(Nr==="style"){var mn=De[Nr];for(Bt in mn)mn.hasOwnProperty(Bt)&&(I||(I={}),I[Bt]="")}else Nr!=="dangerouslySetInnerHTML"&&Nr!=="children"&&Nr!=="suppressContentEditableWarning"&&Nr!=="suppressHydrationWarning"&&Nr!=="autoFocus"&&(n.hasOwnProperty(Nr)?_e||(_e=[]):(_e=_e||[]).push(Nr,null));for(Nr in ee){var Hn=ee[Nr];if(mn=De!=null?De[Nr]:void 0,ee.hasOwnProperty(Nr)&&Hn!==mn&&(Hn!=null||mn!=null))if(Nr==="style")if(mn){for(Bt in mn)!mn.hasOwnProperty(Bt)||Hn&&Hn.hasOwnProperty(Bt)||(I||(I={}),I[Bt]="");for(Bt in Hn)Hn.hasOwnProperty(Bt)&&mn[Bt]!==Hn[Bt]&&(I||(I={}),I[Bt]=Hn[Bt])}else I||(_e||(_e=[]),_e.push(Nr,I)),I=Hn;else Nr==="dangerouslySetInnerHTML"?(Hn=Hn?Hn.__html:void 0,mn=mn?mn.__html:void 0,Hn!=null&&mn!==Hn&&(_e=_e||[]).push(Nr,Hn)):Nr==="children"?typeof Hn!="string"&&typeof Hn!="number"||(_e=_e||[]).push(Nr,""+Hn):Nr!=="suppressContentEditableWarning"&&Nr!=="suppressHydrationWarning"&&(n.hasOwnProperty(Nr)?(Hn!=null&&Nr==="onScroll"&&zo("scroll",i),_e||mn===Hn||(_e=[])):(_e=_e||[]).push(Nr,Hn))}I&&(_e=_e||[]).push("style",I);var Nr=_e;(v.updateQueue=Nr)&&(v.flags|=4)}},Mt=function(i,v,I,ee){I!==ee&&(v.flags|=4)};function Dt(i,v){if(!fi)switch(i.tailMode){case"hidden":v=i.tail;for(var I=null;v!==null;)v.alternate!==null&&(I=v),v=v.sibling;I===null?i.tail=null:I.sibling=null;break;case"collapsed":I=i.tail;for(var ee=null;I!==null;)I.alternate!==null&&(ee=I),I=I.sibling;ee===null?v||i.tail===null?i.tail=null:i.tail.sibling=null:ee.sibling=null}}function Vt(i){var v=i.alternate!==null&&i.alternate.child===i.child,I=0,ee=0;if(v)for(var De=i.child;De!==null;)I|=De.lanes|De.childLanes,ee|=De.subtreeFlags&14680064,ee|=De.flags&14680064,De.return=i,De=De.sibling;else for(De=i.child;De!==null;)I|=De.lanes|De.childLanes,ee|=De.subtreeFlags,ee|=De.flags,De.return=i,De=De.sibling;return i.subtreeFlags|=ee,i.childLanes=I,v}function nn(i,v,I){var ee=v.pendingProps;switch(el(v),v.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vt(v),null;case 1:return Zi(v.type)&&iu(),Vt(v),null;case 3:return ee=v.stateNode,tl(),Mi(vo),Mi(as),ic(),ee.pendingContext&&(ee.context=ee.pendingContext,ee.pendingContext=null),(i===null||i.child===null)&&(Zl(v)?v.flags|=4:i===null||i.memoizedState.isDehydrated&&!(v.flags&256)||(v.flags|=1024,Es!==null&&(pd(Es),Es=null))),Re(i,v),Vt(v),null;case 5:ac(v);var De=li(jo.current);if(I=v.type,i!==null&&v.stateNode!=null)rt(i,v,I,ee,De),i.ref!==v.ref&&(v.flags|=512,v.flags|=2097152);else{if(!ee){if(v.stateNode===null)throw Error(o(166));return Vt(v),null}if(i=li(Fr.current),Zl(v)){ee=v.stateNode,I=v.type;var _e=v.memoizedProps;switch(ee[vs]=v,ee[Ol]=_e,i=(v.mode&1)!==0,I){case"dialog":zo("cancel",ee),zo("close",ee);break;case"iframe":case"object":case"embed":zo("load",ee);break;case"video":case"audio":for(De=0;De<\/script>",i=i.removeChild(i.firstChild)):typeof ee.is=="string"?i=Bt.createElement(I,{is:ee.is}):(i=Bt.createElement(I),I==="select"&&(Bt=i,ee.multiple?Bt.multiple=!0:ee.size&&(Bt.size=ee.size))):i=Bt.createElementNS(i,I),i[vs]=v,i[Ol]=ee,Ce(i,v,!1,!1),v.stateNode=i;e:{switch(Bt=Oe(I,ee),I){case"dialog":zo("cancel",i),zo("close",i),De=ee;break;case"iframe":case"object":case"embed":zo("load",i),De=ee;break;case"video":case"audio":for(De=0;DeRc&&(v.flags|=128,ee=!0,Dt(_e,!1),v.lanes=4194304)}else{if(!ee)if(i=oc(Bt),i!==null){if(v.flags|=128,ee=!0,I=i.updateQueue,I!==null&&(v.updateQueue=I,v.flags|=4),Dt(_e,!0),_e.tail===null&&_e.tailMode==="hidden"&&!Bt.alternate&&!fi)return Vt(v),null}else 2*pn()-_e.renderingStartTime>Rc&&I!==1073741824&&(v.flags|=128,ee=!0,Dt(_e,!1),v.lanes=4194304);_e.isBackwards?(Bt.sibling=v.child,v.child=Bt):(I=_e.last,I!==null?I.sibling=Bt:v.child=Bt,_e.last=Bt)}return _e.tail!==null?(v=_e.tail,_e.rendering=v,_e.tail=v.sibling,_e.renderingStartTime=pn(),v.sibling=null,I=Ii.current,xi(Ii,ee?I&1|2:I&1),v):(Vt(v),null);case 22:case 23:return Yc(),ee=v.memoizedState!==null,i!==null&&i.memoizedState!==null!==ee&&(v.flags|=8192),ee&&v.mode&1?Wl&1073741824&&(Vt(v),v.subtreeFlags&6&&(v.flags|=8192)):Vt(v),null;case 24:return null;case 25:return null}throw Error(o(156,v.tag))}var fn=D.ReactCurrentOwner,hn=!1;function bn(i,v,I,ee){v.child=i===null?Lt(v,null,I,ee):ot(v,i.child,I,ee)}function Yt(i,v,I,ee,De){I=I.render;var _e=v.ref;return di(v,De),ee=jc(i,v,I,ee,_e,De),I=Lu(),i!==null&&!hn?(v.updateQueue=i.updateQueue,v.flags&=-2053,i.lanes&=~De,Ai(i,v,De)):(fi&&I&&rc(v),v.flags|=1,bn(i,v,ee,De),v.child)}function Ln(i,v,I,ee,De){if(i===null){var _e=I.type;return typeof _e=="function"&&!Ad(_e)&&_e.defaultProps===void 0&&I.compare===null&&I.defaultProps===void 0?(v.tag=15,v.type=_e,qn(i,v,_e,ee,De)):(i=Od(I.type,null,ee,v,v.mode,De),i.ref=v.ref,i.return=v,v.child=i)}if(_e=i.child,!(i.lanes&De)){var Bt=_e.memoizedProps;if(I=I.compare,I=I!==null?I:ra,I(Bt,ee)&&i.ref===v.ref)return Ai(i,v,De)}return v.flags|=1,i=Qu(_e,ee),i.ref=v.ref,i.return=v,v.child=i}function qn(i,v,I,ee,De){if(i!==null){var _e=i.memoizedProps;if(ra(_e,ee)&&i.ref===v.ref)if(hn=!1,v.pendingProps=ee=_e,(i.lanes&De)!==0)i.flags&131072&&(hn=!0);else return v.lanes=i.lanes,Ai(i,v,De)}return Rr(i,v,I,ee,De)}function cr(i,v,I){var ee=v.pendingProps,De=ee.children,_e=i!==null?i.memoizedState:null;if(ee.mode==="hidden")if(!(v.mode&1))v.memoizedState={baseLanes:0,cachePool:null,transitions:null},xi(Mc,Wl),Wl|=I;else if(I&1073741824)v.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee=_e!==null?_e.baseLanes:I,xi(Mc,Wl),Wl|=ee;else return i=_e!==null?_e.baseLanes|I:I,v.lanes=v.childLanes=1073741824,v.memoizedState={baseLanes:i,cachePool:null,transitions:null},v.updateQueue=null,xi(Mc,Wl),Wl|=i,null;else _e!==null?(ee=_e.baseLanes|I,v.memoizedState=null):ee=I,xi(Mc,Wl),Wl|=ee;return bn(i,v,De,I),v.child}function Dr(i,v){var I=v.ref;(i===null&&I!==null||i!==null&&i.ref!==I)&&(v.flags|=512,v.flags|=2097152)}function Rr(i,v,I,ee,De){var _e=Zi(I)?Js:as.current;return _e=ou(v,_e),di(v,De),I=jc(i,v,I,ee,_e,De),ee=Lu(),i!==null&&!hn?(v.updateQueue=i.updateQueue,v.flags&=-2053,i.lanes&=~De,Ai(i,v,De)):(fi&&ee&&rc(v),v.flags|=1,bn(i,v,I,De),v.child)}function Aa(i,v,I,ee,De){if(Zi(I)){var _e=!0;wl(v)}else _e=!1;if(di(v,De),v.stateNode===null)i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),ku(v,I,ee),pu(v,I,ee,De),ee=!0;else if(i===null){var Bt=v.stateNode,mn=v.memoizedProps;Bt.props=mn;var Hn=Bt.context,Nr=I.contextType;typeof Nr=="object"&&Nr!==null?Nr=Eo(Nr):(Nr=Zi(I)?Js:as.current,Nr=ou(v,Nr));var Ea=I.getDerivedStateFromProps,Ya=typeof Ea=="function"||typeof Bt.getSnapshotBeforeUpdate=="function";Ya||typeof Bt.UNSAFE_componentWillReceiveProps!="function"&&typeof Bt.componentWillReceiveProps!="function"||(mn!==ee||Hn!==Nr)&&Dc(v,Bt,ee,Nr),ki=!1;var da=v.memoizedState;Bt.state=da,us(v,ee,Bt,De),Hn=v.memoizedState,mn!==ee||da!==Hn||vo.current||ki?(typeof Ea=="function"&&(ml(v,I,Ea,ee),Hn=v.memoizedState),(mn=ki||$l(v,I,mn,ee,da,Hn,Nr))?(Ya||typeof Bt.UNSAFE_componentWillMount!="function"&&typeof Bt.componentWillMount!="function"||(typeof Bt.componentWillMount=="function"&&Bt.componentWillMount(),typeof Bt.UNSAFE_componentWillMount=="function"&&Bt.UNSAFE_componentWillMount()),typeof Bt.componentDidMount=="function"&&(v.flags|=4194308)):(typeof Bt.componentDidMount=="function"&&(v.flags|=4194308),v.memoizedProps=ee,v.memoizedState=Hn),Bt.props=ee,Bt.state=Hn,Bt.context=Nr,ee=mn):(typeof Bt.componentDidMount=="function"&&(v.flags|=4194308),ee=!1)}else{Bt=v.stateNode,Du(i,v),mn=v.memoizedProps,Nr=v.type===v.elementType?mn:Vn(v.type,mn),Bt.props=Nr,Ya=v.pendingProps,da=Bt.context,Hn=I.contextType,typeof Hn=="object"&&Hn!==null?Hn=Eo(Hn):(Hn=Zi(I)?Js:as.current,Hn=ou(v,Hn));var ro=I.getDerivedStateFromProps;(Ea=typeof ro=="function"||typeof Bt.getSnapshotBeforeUpdate=="function")||typeof Bt.UNSAFE_componentWillReceiveProps!="function"&&typeof Bt.componentWillReceiveProps!="function"||(mn!==Ya||da!==Hn)&&Dc(v,Bt,ee,Hn),ki=!1,da=v.memoizedState,Bt.state=da,us(v,ee,Bt,De);var Ha=v.memoizedState;mn!==Ya||da!==Ha||vo.current||ki?(typeof ro=="function"&&(ml(v,I,ro,ee),Ha=v.memoizedState),(Nr=ki||$l(v,I,Nr,ee,da,Ha,Hn)||!1)?(Ea||typeof Bt.UNSAFE_componentWillUpdate!="function"&&typeof Bt.componentWillUpdate!="function"||(typeof Bt.componentWillUpdate=="function"&&Bt.componentWillUpdate(ee,Ha,Hn),typeof Bt.UNSAFE_componentWillUpdate=="function"&&Bt.UNSAFE_componentWillUpdate(ee,Ha,Hn)),typeof Bt.componentDidUpdate=="function"&&(v.flags|=4),typeof Bt.getSnapshotBeforeUpdate=="function"&&(v.flags|=1024)):(typeof Bt.componentDidUpdate!="function"||mn===i.memoizedProps&&da===i.memoizedState||(v.flags|=4),typeof Bt.getSnapshotBeforeUpdate!="function"||mn===i.memoizedProps&&da===i.memoizedState||(v.flags|=1024),v.memoizedProps=ee,v.memoizedState=Ha),Bt.props=ee,Bt.state=Ha,Bt.context=Hn,ee=Nr):(typeof Bt.componentDidUpdate!="function"||mn===i.memoizedProps&&da===i.memoizedState||(v.flags|=4),typeof Bt.getSnapshotBeforeUpdate!="function"||mn===i.memoizedProps&&da===i.memoizedState||(v.flags|=1024),ee=!1)}return xa(i,v,I,ee,_e,De)}function xa(i,v,I,ee,De,_e){Dr(i,v);var Bt=(v.flags&128)!==0;if(!ee&&!Bt)return De&&jl(v,I,!1),Ai(i,v,_e);ee=v.stateNode,fn.current=v;var mn=Bt&&typeof I.getDerivedStateFromError!="function"?null:ee.render();return v.flags|=1,i!==null&&Bt?(v.child=ot(v,i.child,null,_e),v.child=ot(v,null,mn,_e)):bn(i,v,mn,_e),v.memoizedState=ee.state,De&&jl(v,I,!0),v.child}function pa(i){var v=i.stateNode;v.pendingContext?mu(i,v.pendingContext,v.pendingContext!==v.context):v.context&&mu(i,v.context,!1),Yi(i,v.containerInfo)}function za(i,v,I,ee,De){return Tl(),Ul(De),v.flags|=256,bn(i,v,I,ee),v.child}var ha={dehydrated:null,treeContext:null,retryLane:0};function Yr(i){return{baseLanes:i,cachePool:null,transitions:null}}function $a(i,v){return{baseLanes:i.baseLanes|v,cachePool:null,transitions:i.transitions}}function Xa(i,v,I){var ee=v.pendingProps,De=Ii.current,_e=!1,Bt=(v.flags&128)!==0,mn;if((mn=Bt)||(mn=i!==null&&i.memoizedState===null?!1:(De&2)!==0),mn?(_e=!0,v.flags&=-129):(i===null||i.memoizedState!==null)&&(De|=1),xi(Ii,De&1),i===null)return Wu(v),i=v.memoizedState,i!==null&&(i=i.dehydrated,i!==null)?(v.mode&1?i.data==="$!"?v.lanes=8:v.lanes=1073741824:v.lanes=1,null):(De=ee.children,i=ee.fallback,_e?(ee=v.mode,_e=v.child,De={mode:"hidden",children:De},!(ee&1)&&_e!==null?(_e.childLanes=0,_e.pendingProps=De):_e=Dd(De,ee,0,null),i=Kc(i,ee,I,null),_e.return=v,i.return=v,_e.sibling=i,v.child=_e,v.child.memoizedState=Yr(I),v.memoizedState=ha,i):io(v,De));if(De=i.memoizedState,De!==null){if(mn=De.dehydrated,mn!==null){if(Bt)return v.flags&256?(v.flags&=-257,Ka(i,v,I,Error(o(422)))):v.memoizedState!==null?(v.child=i.child,v.flags|=128,null):(_e=ee.fallback,De=v.mode,ee=Dd({mode:"visible",children:ee.children},De,0,null),_e=Kc(_e,De,I,null),_e.flags|=2,ee.return=v,_e.return=v,ee.sibling=_e,v.child=ee,v.mode&1&&ot(v,i.child,null,I),v.child.memoizedState=Yr(I),v.memoizedState=ha,_e);if(!(v.mode&1))v=Ka(i,v,I,null);else if(mn.data==="$!")v=Ka(i,v,I,Error(o(419)));else if(ee=(I&i.childLanes)!==0,hn||ee){if(ee=xs,ee!==null){switch(I&-I){case 4:_e=2;break;case 16:_e=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:_e=32;break;case 536870912:_e=268435456;break;default:_e=0}ee=_e&(ee.suspendedLanes|I)?0:_e,ee!==0&&ee!==De.retryLane&&(De.retryLane=ee,du(i,ee,-1))}cc(),v=Ka(i,v,I,Error(o(421)))}else mn.data==="$?"?(v.flags|=128,v.child=i.child,v=cd.bind(null,i),mn._reactRetry=v,v=null):(I=De.treeContext,Ls=Lo(mn.nextSibling),pl=v,fi=!0,Es=null,I!==null&&(ps[Ki++]=qs,ps[Ki++]=Uo,ps[Ki++]=Ts,qs=I.id,Uo=I.overflow,Ts=v),v=io(v,v.pendingProps.children),v.flags|=4096);return v}return _e?(ee=Oo(i,v,ee.children,ee.fallback,I),_e=v.child,De=i.child.memoizedState,_e.memoizedState=De===null?Yr(I):$a(De,I),_e.childLanes=i.childLanes&~I,v.memoizedState=ha,ee):(I=Go(i,v,ee.children,I),v.memoizedState=null,I)}return _e?(ee=Oo(i,v,ee.children,ee.fallback,I),_e=v.child,De=i.child.memoizedState,_e.memoizedState=De===null?Yr(I):$a(De,I),_e.childLanes=i.childLanes&~I,v.memoizedState=ha,ee):(I=Go(i,v,ee.children,I),v.memoizedState=null,I)}function io(i,v){return v=Dd({mode:"visible",children:v},i.mode,0,null),v.return=i,i.child=v}function Go(i,v,I,ee){var De=i.child;return i=De.sibling,I=Qu(De,{mode:"visible",children:I}),!(v.mode&1)&&(I.lanes=ee),I.return=v,I.sibling=null,i!==null&&(ee=v.deletions,ee===null?(v.deletions=[i],v.flags|=16):ee.push(i)),v.child=I}function Oo(i,v,I,ee,De){var _e=v.mode;i=i.child;var Bt=i.sibling,mn={mode:"hidden",children:I};return!(_e&1)&&v.child!==i?(I=v.child,I.childLanes=0,I.pendingProps=mn,v.deletions=null):(I=Qu(i,mn),I.subtreeFlags=i.subtreeFlags&14680064),Bt!==null?ee=Qu(Bt,ee):(ee=Kc(ee,_e,De,null),ee.flags|=2),ee.return=v,I.return=v,I.sibling=ee,v.child=I,ee}function Ka(i,v,I,ee){return ee!==null&&Ul(ee),ot(v,i.child,null,I),i=io(v,v.pendingProps.children),i.flags|=2,v.memoizedState=null,i}function Za(i,v,I){i.lanes|=v;var ee=i.alternate;ee!==null&&(ee.lanes|=v),ei(i.return,v,I)}function ui(i,v,I,ee,De){var _e=i.memoizedState;_e===null?i.memoizedState={isBackwards:v,rendering:null,renderingStartTime:0,last:ee,tail:I,tailMode:De}:(_e.isBackwards=v,_e.rendering=null,_e.renderingStartTime=0,_e.last=ee,_e.tail=I,_e.tailMode=De)}function ai(i,v,I){var ee=v.pendingProps,De=ee.revealOrder,_e=ee.tail;if(bn(i,v,ee.children,I),ee=Ii.current,ee&2)ee=ee&1|2,v.flags|=128;else{if(i!==null&&i.flags&128)e:for(i=v.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Za(i,I,v);else if(i.tag===19)Za(i,I,v);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===v)break e;for(;i.sibling===null;){if(i.return===null||i.return===v)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}ee&=1}if(xi(Ii,ee),!(v.mode&1))v.memoizedState=null;else switch(De){case"forwards":for(I=v.child,De=null;I!==null;)i=I.alternate,i!==null&&oc(i)===null&&(De=I),I=I.sibling;I=De,I===null?(De=v.child,v.child=null):(De=I.sibling,I.sibling=null),ui(v,!1,De,I,_e);break;case"backwards":for(I=null,De=v.child,v.child=null;De!==null;){if(i=De.alternate,i!==null&&oc(i)===null){v.child=De;break}i=De.sibling,De.sibling=I,I=De,De=i}ui(v,!0,I,null,_e);break;case"together":ui(v,!1,null,null,void 0);break;default:v.memoizedState=null}return v.child}function Ai(i,v,I){if(i!==null&&(v.dependencies=i.dependencies),Sc|=v.lanes,!(I&v.childLanes))return null;if(i!==null&&v.child!==i.child)throw Error(o(153));if(v.child!==null){for(i=v.child,I=Qu(i,i.pendingProps),v.child=I,I.return=v;i.sibling!==null;)i=i.sibling,I=I.sibling=Qu(i,i.pendingProps),I.return=v;I.sibling=null}return v.child}function po(i,v,I){switch(v.tag){case 3:pa(v),Tl();break;case 5:yl(v);break;case 1:Zi(v.type)&&wl(v);break;case 4:Yi(v,v.stateNode.containerInfo);break;case 10:var ee=v.type._context,De=v.memoizedProps.value;xi(gr,ee._currentValue),ee._currentValue=De;break;case 13:if(ee=v.memoizedState,ee!==null)return ee.dehydrated!==null?(xi(Ii,Ii.current&1),v.flags|=128,null):I&v.child.childLanes?Xa(i,v,I):(xi(Ii,Ii.current&1),i=Ai(i,v,I),i!==null?i.sibling:null);xi(Ii,Ii.current&1);break;case 19:if(ee=(I&v.childLanes)!==0,i.flags&128){if(ee)return ai(i,v,I);v.flags|=128}if(De=v.memoizedState,De!==null&&(De.rendering=null,De.tail=null,De.lastEffect=null),xi(Ii,Ii.current),ee)break;return null;case 22:case 23:return v.lanes=0,cr(i,v,I)}return Ai(i,v,I)}function Pi(i,v){switch(el(v),v.tag){case 1:return Zi(v.type)&&iu(),i=v.flags,i&65536?(v.flags=i&-65537|128,v):null;case 3:return tl(),Mi(vo),Mi(as),ic(),i=v.flags,i&65536&&!(i&128)?(v.flags=i&-65537|128,v):null;case 5:return ac(v),null;case 13:if(Mi(Ii),i=v.memoizedState,i!==null&&i.dehydrated!==null){if(v.alternate===null)throw Error(o(340));Tl()}return i=v.flags,i&65536?(v.flags=i&-65537|128,v):null;case 19:return Mi(Ii),null;case 4:return tl(),null;case 10:return es(v.type._context),null;case 22:case 23:return Yc(),null;case 24:return null;default:return null}}var Oi=!1,vi=!1,Wi=typeof WeakSet=="function"?WeakSet:Set,La=null;function mi(i,v){var I=i.ref;if(I!==null)if(typeof I=="function")try{I(null)}catch(ee){is(i,v,ee)}else I.current=null}function hs(i,v,I){try{I()}catch(ee){is(i,v,ee)}}var Hi=!1;function ts(i,v){if(Na=wr,i=To(),Yo(i)){if("selectionStart"in i)var I={start:i.selectionStart,end:i.selectionEnd};else e:{I=(I=i.ownerDocument)&&I.defaultView||window;var ee=I.getSelection&&I.getSelection();if(ee&&ee.rangeCount!==0){I=ee.anchorNode;var De=ee.anchorOffset,_e=ee.focusNode;ee=ee.focusOffset;try{I.nodeType,_e.nodeType}catch(co){I=null;break e}var Bt=0,mn=-1,Hn=-1,Nr=0,Ea=0,Ya=i,da=null;t:for(;;){for(var ro;Ya!==I||De!==0&&Ya.nodeType!==3||(mn=Bt+De),Ya!==_e||ee!==0&&Ya.nodeType!==3||(Hn=Bt+ee),Ya.nodeType===3&&(Bt+=Ya.nodeValue.length),(ro=Ya.firstChild)!==null;)da=Ya,Ya=ro;for(;;){if(Ya===i)break t;if(da===I&&++Nr===De&&(mn=Bt),da===_e&&++Ea===ee&&(Hn=Bt),(ro=Ya.nextSibling)!==null)break;Ya=da,da=Ya.parentNode}Ya=ro}I=mn===-1||Hn===-1?null:{start:mn,end:Hn}}else I=null}I=I||{start:0,end:0}}else I=null;for(au={focusedElem:i,selectionRange:I},wr=!1,La=v;La!==null;)if(v=La,i=v.child,(v.subtreeFlags&1028)!==0&&i!==null)i.return=v,La=i;else for(;La!==null;){v=La;try{var Ha=v.alternate;if(v.flags&1024)switch(v.tag){case 0:case 11:case 15:break;case 1:if(Ha!==null){var ni=Ha.memoizedProps,zs=Ha.memoizedState,xr=v.stateNode,Xn=xr.getSnapshotBeforeUpdate(v.elementType===v.type?ni:Vn(v.type,ni),zs);xr.__reactInternalSnapshotBeforeUpdate=Xn}break;case 3:var Tr=v.stateNode.containerInfo;if(Tr.nodeType===1)Tr.textContent="";else if(Tr.nodeType===9){var Fa=Tr.body;Fa!=null&&(Fa.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(co){is(v,v.return,co)}if(i=v.sibling,i!==null){i.return=v.return,La=i;break}La=v.return}return Ha=Hi,Hi=!1,Ha}function kl(i,v,I){var ee=v.updateQueue;if(ee=ee!==null?ee.lastEffect:null,ee!==null){var De=ee=ee.next;do{if((De.tag&i)===i){var _e=De.destroy;De.destroy=void 0,_e!==void 0&&hs(v,I,_e)}De=De.next}while(De!==ee)}}function Ru(i,v){if(v=v.updateQueue,v=v!==null?v.lastEffect:null,v!==null){var I=v=v.next;do{if((I.tag&i)===i){var ee=I.create;I.destroy=ee()}I=I.next}while(I!==v)}}function rl(i){var v=i.ref;if(v!==null){var I=i.stateNode;switch(i.tag){case 5:i=I;break;default:i=I}typeof v=="function"?v(i):v.current=i}}function ys(i){var v=i.alternate;v!==null&&(i.alternate=null,ys(v)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(v=i.stateNode,v!==null&&(delete v[vs],delete v[Ol],delete v[kt],delete v[Di],delete v[Ql])),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function ds(i){return i.tag===5||i.tag===3||i.tag===4}function al(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||ds(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Ti(i,v,I){var ee=i.tag;if(ee===5||ee===6)i=i.stateNode,v?I.nodeType===8?I.parentNode.insertBefore(i,v):I.insertBefore(i,v):(I.nodeType===8?(v=I.parentNode,v.insertBefore(i,I)):(v=I,v.appendChild(i)),I=I._reactRootContainer,I!=null||v.onclick!==null||(v.onclick=Zs));else if(ee!==4&&(i=i.child,i!==null))for(Ti(i,v,I),i=i.sibling;i!==null;)Ti(i,v,I),i=i.sibling}function ns(i,v,I){var ee=i.tag;if(ee===5||ee===6)i=i.stateNode,v?I.insertBefore(i,v):I.appendChild(i);else if(ee!==4&&(i=i.child,i!==null))for(ns(i,v,I),i=i.sibling;i!==null;)ns(i,v,I),i=i.sibling}var ti=null,gi=!1;function Qi(i,v,I){for(I=I.child;I!==null;)Eu(i,v,I),I=I.sibling}function Eu(i,v,I){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(an,I)}catch(mn){}switch(I.tag){case 5:vi||mi(I,v);case 6:var ee=ti,De=gi;ti=null,Qi(i,v,I),ti=ee,gi=De,ti!==null&&(gi?(i=ti,I=I.stateNode,i.nodeType===8?i.parentNode.removeChild(I):i.removeChild(I)):ti.removeChild(I.stateNode));break;case 18:ti!==null&&(gi?(i=ti,I=I.stateNode,i.nodeType===8?Zu(i.parentNode,I):i.nodeType===1&&Zu(i,I),Sr(i)):Zu(ti,I.stateNode));break;case 4:ee=ti,De=gi,ti=I.stateNode.containerInfo,gi=!0,Qi(i,v,I),ti=ee,gi=De;break;case 0:case 11:case 14:case 15:if(!vi&&(ee=I.updateQueue,ee!==null&&(ee=ee.lastEffect,ee!==null))){De=ee=ee.next;do{var _e=De,Bt=_e.destroy;_e=_e.tag,Bt!==void 0&&(_e&2||_e&4)&&hs(I,v,Bt),De=De.next}while(De!==ee)}Qi(i,v,I);break;case 1:if(!vi&&(mi(I,v),ee=I.stateNode,typeof ee.componentWillUnmount=="function"))try{ee.props=I.memoizedProps,ee.state=I.memoizedState,ee.componentWillUnmount()}catch(mn){is(I,v,mn)}Qi(i,v,I);break;case 21:Qi(i,v,I);break;case 22:I.mode&1?(vi=(ee=vi)||I.memoizedState!==null,Qi(i,v,I),vi=ee):Qi(i,v,I);break;default:Qi(i,v,I)}}function ol(i){var v=i.updateQueue;if(v!==null){i.updateQueue=null;var I=i.stateNode;I===null&&(I=i.stateNode=new Wi),v.forEach(function(ee){var De=Gc.bind(null,i,ee);I.has(ee)||(I.add(ee),ee.then(De,De))})}}function Nl(i,v){var I=v.deletions;if(I!==null)for(var ee=0;eeDe&&(De=Bt),ee&=~_e}if(ee=De,ee=pn()-ee,ee=(120>ee?120:480>ee?480:1080>ee?1080:1920>ee?1920:3e3>ee?3e3:4320>ee?4320:1960*bc(ee/1960))-ee,10i?16:i,uc===null)var ee=!1;else{if(i=uc,uc=null,od=0,si&6)throw Error(o(331));var De=si;for(si|=4,La=i.current;La!==null;){var _e=La,Bt=_e.child;if(La.flags&16){var mn=_e.deletions;if(mn!==null){for(var Hn=0;Hnpn()-As?Cc(i,0):Lc|=I),Hl(i,v)}function Id(i,v){v===0&&(i.mode&1?(v=tn,tn<<=1,!(tn&130023424)&&(tn=4194304)):v=1);var I=El();i=ld(i,v),i!==null&&(Ct(i,v,I),Hl(i,I))}function cd(i){var v=i.memoizedState,I=0;v!==null&&(I=v.retryLane),Id(i,I)}function Gc(i,v){var I=0;switch(i.tag){case 13:var ee=i.stateNode,De=i.memoizedState;De!==null&&(I=De.retryLane);break;case 19:ee=i.stateNode;break;default:throw Error(o(314))}ee!==null&&ee.delete(v),Id(i,I)}var Vd;Vd=function(i,v,I){if(i!==null)if(i.memoizedProps!==v.pendingProps||vo.current)hn=!0;else{if(!(i.lanes&I)&&!(v.flags&128))return hn=!1,po(i,v,I);hn=!!(i.flags&131072)}else hn=!1,fi&&v.flags&1048576&&cs(v,ju,v.index);switch(v.lanes=0,v.tag){case 2:var ee=v.type;i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),i=v.pendingProps;var De=ou(v,as.current);di(v,I),De=jc(null,v,ee,i,De,I);var _e=Lu();return v.flags|=1,typeof De=="object"&&De!==null&&typeof De.render=="function"&&De.$$typeof===void 0?(v.tag=1,v.memoizedState=null,v.updateQueue=null,Zi(ee)?(_e=!0,wl(v)):_e=!1,v.memoizedState=De.state!==null&&De.state!==void 0?De.state:null,ms(v),De.updater=Pl,v.stateNode=De,De._reactInternals=v,pu(v,ee,i,I),v=xa(null,v,ee,!0,_e,I)):(v.tag=0,fi&&_e&&rc(v),bn(null,v,De,I),v=v.child),v;case 16:ee=v.elementType;e:{switch(i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),i=v.pendingProps,De=ee._init,ee=De(ee._payload),v.type=ee,De=v.tag=af(ee),i=Vn(ee,i),De){case 0:v=Rr(null,v,ee,i,I);break e;case 1:v=Aa(null,v,ee,i,I);break e;case 11:v=Yt(null,v,ee,i,I);break e;case 14:v=Ln(null,v,ee,Vn(ee.type,i),I);break e}throw Error(o(306,ee,""))}return v;case 0:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:Vn(ee,De),Rr(i,v,ee,De,I);case 1:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:Vn(ee,De),Aa(i,v,ee,De,I);case 3:e:{if(pa(v),i===null)throw Error(o(387));ee=v.pendingProps,_e=v.memoizedState,De=_e.element,Du(i,v),us(v,ee,null,I);var Bt=v.memoizedState;if(ee=Bt.element,_e.isDehydrated)if(_e={element:ee,isDehydrated:!1,cache:Bt.cache,pendingSuspenseBoundaries:Bt.pendingSuspenseBoundaries,transitions:Bt.transitions},v.updateQueue.baseState=_e,v.memoizedState=_e,v.flags&256){De=Error(o(423)),v=za(i,v,ee,I,De);break e}else if(ee!==De){De=Error(o(424)),v=za(i,v,ee,I,De);break e}else for(Ls=Lo(v.stateNode.containerInfo.firstChild),pl=v,fi=!0,Es=null,I=Lt(v,null,ee,I),v.child=I;I;)I.flags=I.flags&-3|4096,I=I.sibling;else{if(Tl(),ee===De){v=Ai(i,v,I);break e}bn(i,v,ee,I)}v=v.child}return v;case 5:return yl(v),i===null&&Wu(v),ee=v.type,De=v.pendingProps,_e=i!==null?i.memoizedProps:null,Bt=De.children,_i(ee,De)?Bt=null:_e!==null&&_i(ee,_e)&&(v.flags|=32),Dr(i,v),bn(i,v,Bt,I),v.child;case 6:return i===null&&Wu(v),null;case 13:return Xa(i,v,I);case 4:return Yi(v,v.stateNode.containerInfo),ee=v.pendingProps,i===null?v.child=ot(v,null,ee,I):bn(i,v,ee,I),v.child;case 11:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:Vn(ee,De),Yt(i,v,ee,De,I);case 7:return bn(i,v,v.pendingProps,I),v.child;case 8:return bn(i,v,v.pendingProps.children,I),v.child;case 12:return bn(i,v,v.pendingProps.children,I),v.child;case 10:e:{if(ee=v.type._context,De=v.pendingProps,_e=v.memoizedProps,Bt=De.value,xi(gr,ee._currentValue),ee._currentValue=Bt,_e!==null)if(Br(_e.value,Bt)){if(_e.children===De.children&&!vo.current){v=Ai(i,v,I);break e}}else for(_e=v.child,_e!==null&&(_e.return=v);_e!==null;){var mn=_e.dependencies;if(mn!==null){Bt=_e.child;for(var Hn=mn.firstContext;Hn!==null;){if(Hn.context===ee){if(_e.tag===1){Hn=Xl(-1,I&-I),Hn.tag=2;var Nr=_e.updateQueue;if(Nr!==null){Nr=Nr.shared;var Ea=Nr.pending;Ea===null?Hn.next=Hn:(Hn.next=Ea.next,Ea.next=Hn),Nr.pending=Hn}}_e.lanes|=I,Hn=_e.alternate,Hn!==null&&(Hn.lanes|=I),ei(_e.return,I,v),mn.lanes|=I;break}Hn=Hn.next}}else if(_e.tag===10)Bt=_e.type===v.type?null:_e.child;else if(_e.tag===18){if(Bt=_e.return,Bt===null)throw Error(o(341));Bt.lanes|=I,mn=Bt.alternate,mn!==null&&(mn.lanes|=I),ei(Bt,I,v),Bt=_e.sibling}else Bt=_e.child;if(Bt!==null)Bt.return=_e;else for(Bt=_e;Bt!==null;){if(Bt===v){Bt=null;break}if(_e=Bt.sibling,_e!==null){_e.return=Bt.return,Bt=_e;break}Bt=Bt.return}_e=Bt}bn(i,v,De.children,I),v=v.child}return v;case 9:return De=v.type,ee=v.pendingProps.children,di(v,I),De=Eo(De),ee=ee(De),v.flags|=1,bn(i,v,ee,I),v.child;case 14:return ee=v.type,De=Vn(ee,v.pendingProps),De=Vn(ee.type,De),Ln(i,v,ee,De,I);case 15:return qn(i,v,v.type,v.pendingProps,I);case 17:return ee=v.type,De=v.pendingProps,De=v.elementType===ee?De:Vn(ee,De),i!==null&&(i.alternate=null,v.alternate=null,v.flags|=2),v.tag=1,Zi(ee)?(i=!0,wl(v)):i=!1,di(v,I),ku(v,ee,De),pu(v,ee,De,I),xa(null,v,ee,!0,i,I);case 19:return ai(i,v,I);case 22:return cr(i,v,I)}throw Error(o(156,v.tag))};function Gd(i,v){return Zt(i,v)}function rf(i,v,I,ee){this.tag=i,this.key=I,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=v,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ee,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zu(i,v,I,ee){return new rf(i,v,I,ee)}function Ad(i){return i=i.prototype,!(!i||!i.isReactComponent)}function af(i){if(typeof i=="function")return Ad(i)?1:0;if(i!=null){if(i=i.$$typeof,i===le)return 11;if(i===x)return 14}return 2}function Qu(i,v){var I=i.alternate;return I===null?(I=zu(i.tag,v,i.key,i.mode),I.elementType=i.elementType,I.type=i.type,I.stateNode=i.stateNode,I.alternate=i,i.alternate=I):(I.pendingProps=v,I.type=i.type,I.flags=0,I.subtreeFlags=0,I.deletions=null),I.flags=i.flags&14680064,I.childLanes=i.childLanes,I.lanes=i.lanes,I.child=i.child,I.memoizedProps=i.memoizedProps,I.memoizedState=i.memoizedState,I.updateQueue=i.updateQueue,v=i.dependencies,I.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext},I.sibling=i.sibling,I.index=i.index,I.ref=i.ref,I}function Od(i,v,I,ee,De,_e){var Bt=2;if(ee=i,typeof i=="function")Ad(i)&&(Bt=1);else if(typeof i=="string")Bt=5;else e:switch(i){case K:return Kc(I.children,De,_e,v);case k:Bt=8,De|=8;break;case te:return i=zu(12,I,v,De|2),i.elementType=te,i.lanes=_e,i;case X:return i=zu(13,I,v,De),i.elementType=X,i.lanes=_e,i;case W:return i=zu(19,I,v,De),i.elementType=W,i.lanes=_e,i;case _:return Dd(I,De,_e,v);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case V:Bt=10;break e;case q:Bt=9;break e;case le:Bt=11;break e;case x:Bt=14;break e;case O:Bt=16,ee=null;break e}throw Error(o(130,i==null?i:typeof i,""))}return v=zu(Bt,I,v,De),v.elementType=i,v.type=ee,v.lanes=_e,v}function Kc(i,v,I,ee){return i=zu(7,i,ee,v),i.lanes=I,i}function Dd(i,v,I,ee){return i=zu(22,i,ee,v),i.elementType=_,i.lanes=I,i.stateNode={},i}function Ud(i,v,I){return i=zu(6,i,null,v),i.lanes=I,i}function kd(i,v,I){return v=zu(4,i.children!==null?i.children:[],i.key,v),v.lanes=I,v.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},v}function of(i,v,I,ee,De){this.tag=v,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=It(0),this.expirationTimes=It(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=It(0),this.identifierPrefix=ee,this.onRecoverableError=De,this.mutableSourceEagerHydrationData=null}function Wd(i,v,I,ee,De,_e,Bt,mn,Hn){return i=new of(i,v,I,mn,Hn),v===1?(v=1,_e===!0&&(v|=8)):v=0,_e=zu(3,null,null,v),i.current=_e,_e.stateNode=i,_e.memoizedState={element:ee,isDehydrated:I,cache:null,transitions:null,pendingSuspenseBoundaries:null},ms(_e),i}function sf(i,v,I){var ee=30&&c+l.length!==m.length&&l.search(e)>-1&&m.charAt(c-2)!==":"&&(m.charAt(c+l.length)!=="-"||m.charAt(c-1)==="-")&&m.charAt(c-1).search(/[^\s-]/)<0?l.toLowerCase():l.substr(1).search(/[A-Z]|\../)>-1?l:l.charAt(0).toUpperCase()+l.substr(1)})}function t(d){return typeof d=="string"&&d.indexOf("@")!==-1}var o="REDACTED (Potential Email Address)";function s(d){return t(d)?(console.warn("This arg looks like an email address, redacting."),o):d}function n(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,m=d||"";return l&&(m=a(d)),c&&(m=s(m)),m}},80234:function(b,y,e){"use strict";Object.defineProperty(y,"__esModule",{value:!0}),y.default=y.GA4=void 0;var a=d(e(51542)),t=d(e(23661)),o=["eventCategory","eventAction","eventLabel","eventValue","hitType"],s=["title","location"],n=["page","hitType"];function d(X){return X&&X.__esModule?X:{default:X}}function l(X,W){if(X==null)return{};var x=c(X,W),O,_;if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(X);for(_=0;_=0)&&Object.prototype.propertyIsEnumerable.call(X,O)&&(x[O]=X[O])}return x}function c(X,W){if(X==null)return{};var x={},O=Object.keys(X),_,U;for(U=0;U=0)&&(x[_]=X[_]);return x}function m(X){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(W){return typeof W}:function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},m(X)}function g(X){return S(X)||h(X)||N(X)||M()}function M(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(X){if(typeof Symbol!="undefined"&&X[Symbol.iterator]!=null||X["@@iterator"]!=null)return Array.from(X)}function S(X){if(Array.isArray(X))return L(X)}function w(X,W){var x=Object.keys(X);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(X);W&&(O=O.filter(function(_){return Object.getOwnPropertyDescriptor(X,_).enumerable})),x.push.apply(x,O)}return x}function C(X){for(var W=1;WX.length)&&(W=X.length);for(var x=0,O=new Array(W);x2&&arguments[2]!==void 0?arguments[2]:"https://www.googletagmanager.com/gtag/js";if(!(typeof window=="undefined"||typeof document=="undefined")&&!W._hasLoadedGA){var U=document.createElement("script");U.async=!0,U.src="".concat(_,"?id=").concat(x),O&&U.setAttribute("nonce",O),document.body.appendChild(U),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},W._hasLoadedGA=!0}}),k(this,"_toGtagOptions",function(x){if(x){var O={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"},_=Object.entries(x).reduce(function(U,A){var G=F(A,2),fe=G[0],pe=G[1];return O[fe]?U[O[fe]]=pe:U[fe]=pe,U},{});return _}}),k(this,"initialize",function(x){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!x)throw new Error("Require GA_MEASUREMENT_ID");var _=typeof x=="string"?[{trackingId:x}]:x;W._currentMeasurementId=_[0].trackingId;var U=O.gaOptions,A=O.gtagOptions,G=O.nonce,fe=O.testMode,pe=fe===void 0?!1:fe,ge=O.gtagUrl;if(W._testMode=pe,pe||W._loadGA(W._currentMeasurementId,G,ge),W.isInitialized||(W._gtag("js",new Date),_.forEach(function(Ge){var Je=C(C(C({},W._toGtagOptions(C(C({},U),Ge.gaOptions))),A),Ge.gtagOptions);Object.keys(Je).length?W._gtag("config",Ge.trackingId,Je):W._gtag("config",Ge.trackingId)})),W.isInitialized=!0,!pe){var be=g(W._queueGtag);for(W._queueGtag=[],W._isQueuing=!1;be.length;){var Te=be.shift();W._gtag.apply(W,g(Te)),Te[0]==="get"&&(W._isQueuing=!0)}}}),k(this,"set",function(x){if(!x){console.warn("`fieldsObject` is required in .set()");return}if(m(x)!=="object"){console.warn("Expected `fieldsObject` arg to be an Object");return}Object.keys(x).length===0&&console.warn("empty `fieldsObject` given to .set()"),W._gaCommand("set",x)}),k(this,"_gaCommandSendEvent",function(x,O,_,U,A){W._gtag("event",O,C(C({event_category:x,event_label:_,value:U},A&&{non_interaction:A.nonInteraction}),W._toGtagOptions(A)))}),k(this,"_gaCommandSendEventParameters",function(){for(var x=arguments.length,O=new Array(x),_=0;_1?O-1:0),U=1;U(P[Q]==null&&d(!1),P[Q])).replace(/\/*\*$/,ae=>P["*"]==null?"":P["*"].replace(/^\/*/,"/"))}function M(R,P,ae){ae===void 0&&(ae="/");let Q=typeof P=="string"?(0,a.cP)(P):P,ie=W(Q.pathname||"/",ae);if(ie==null)return null;let me=h(R);S(me);let je=null;for(let Ee=0;je==null&&Ee{let je={relativePath:ie.path||"",caseSensitive:ie.caseSensitive===!0,childrenIndex:me,route:ie};je.relativePath.startsWith("/")&&(je.relativePath.startsWith(Q)||d(!1),je.relativePath=je.relativePath.slice(Q.length));let Ee=x([Q,je.relativePath]),Me=ae.concat(je);ie.children&&ie.children.length>0&&(ie.index===!0&&d(!1),h(ie.children,P,Me,Ee)),!(ie.path==null&&!ie.index)&&P.push({path:Ee,score:D(Ee,ie.index),routesMeta:Me})}),P}function S(R){R.sort((P,ae)=>P.score!==ae.score?ae.score-P.score:T(P.routesMeta.map(Q=>Q.childrenIndex),ae.routesMeta.map(Q=>Q.childrenIndex)))}const w=/^:\w+$/,C=3,F=2,Z=1,N=10,L=-2,$=R=>R==="*";function D(R,P){let ae=R.split("/"),Q=ae.length;return ae.some($)&&(Q+=L),P&&(Q+=F),ae.filter(ie=>!$(ie)).reduce((ie,me)=>ie+(w.test(me)?C:me===""?Z:N),Q)}function T(R,P){return R.length===P.length&&R.slice(0,-1).every((Q,ie)=>Q===P[ie])?R[R.length-1]-P[P.length-1]:0}function j(R,P){let{routesMeta:ae}=R,Q={},ie="/",me=[];for(let je=0;je{if(re==="*"){let J=Ee[se]||"";je=me.slice(0,me.length-J.length).replace(/(.)\/+$/,"$1")}return We[re]=te(Ee[se]||"",re),We},{}),pathname:me,pathnameBase:je,pattern:R}}function k(R,P,ae){P===void 0&&(P=!1),ae===void 0&&(ae=!0);let Q=[],ie="^"+R.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(je,Ee)=>(Q.push(Ee),"([^\\/]+)"));return R.endsWith("*")?(Q.push("*"),ie+=R==="*"||R==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):ie+=ae?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(ie,P?void 0:"i"),Q]}function te(R,P){try{return decodeURIComponent(R)}catch(ae){return R}}function V(R,P){P===void 0&&(P="/");let{pathname:ae,search:Q="",hash:ie=""}=typeof R=="string"?(0,a.cP)(R):R;return{pathname:ae?ae.startsWith("/")?ae:q(ae,P):P,search:_(Q),hash:U(ie)}}function q(R,P){let ae=P.replace(/\/+$/,"").split("/");return R.split("/").forEach(ie=>{ie===".."?ae.length>1&&ae.pop():ie!=="."&&ae.push(ie)}),ae.length>1?ae.join("/"):"/"}function le(R,P,ae){let Q=typeof R=="string"?(0,a.cP)(R):R,ie=R===""||Q.pathname===""?"/":Q.pathname,me;if(ie==null)me=ae;else{let Ee=P.length-1;if(ie.startsWith("..")){let Me=ie.split("/");for(;Me[0]==="..";)Me.shift(),Ee-=1;Q.pathname=Me.join("/")}me=Ee>=0?P[Ee]:"/"}let je=V(Q,me);return ie&&ie!=="/"&&ie.endsWith("/")&&!je.pathname.endsWith("/")&&(je.pathname+="/"),je}function X(R){return R===""||R.pathname===""?"/":typeof R=="string"?(0,a.cP)(R).pathname:R.pathname}function W(R,P){if(P==="/")return R;if(!R.toLowerCase().startsWith(P.toLowerCase()))return null;let ae=R.charAt(P.length);return ae&&ae!=="/"?null:R.slice(P.length)||"/"}const x=R=>R.join("/").replace(/\/\/+/g,"/"),O=R=>R.replace(/\/+$/,"").replace(/^\/*/,"/"),_=R=>!R||R==="?"?"":R.startsWith("?")?R:"?"+R,U=R=>!R||R==="#"?"":R.startsWith("#")?R:"#"+R;function A(R){G()||d(!1);let{basename:P,navigator:ae}=(0,t.useContext)(o),{hash:Q,pathname:ie,search:me}=pt(R),je=ie;if(P!=="/"){let Ee=X(R),Me=Ee!=null&&Ee.endsWith("/");je=ie==="/"?P+(Me?"/":""):x([P,ie])}return ae.createHref({pathname:je,search:me,hash:Q})}function G(){return(0,t.useContext)(s)!=null}function fe(){return G()||d(!1),(0,t.useContext)(s).location}function pe(){return(0,t.useContext)(s).navigationType}function ge(R){G()||d(!1);let{pathname:P}=fe();return(0,t.useMemo)(()=>K(R,P),[P,R])}function be(){G()||d(!1);let{basename:R,navigator:P}=(0,t.useContext)(o),{matches:ae}=(0,t.useContext)(n),{pathname:Q}=fe(),ie=JSON.stringify(ae.map(Ee=>Ee.pathnameBase)),me=(0,t.useRef)(!1);return(0,t.useEffect)(()=>{me.current=!0}),(0,t.useCallback)(function(Ee,Me){if(Me===void 0&&(Me={}),!me.current)return;if(typeof Ee=="number"){P.go(Ee);return}let We=le(Ee,JSON.parse(ie),Q);R!=="/"&&(We.pathname=x([R,We.pathname])),(Me.replace?P.replace:P.push)(We,Me.state)},[R,P,ie,Q])}const Te=(0,t.createContext)(null);function Ge(){return(0,t.useContext)(Te)}function Je(R){let P=(0,t.useContext)(n).outlet;return P&&(0,t.createElement)(Te.Provider,{value:R},P)}function Qe(){let{matches:R}=(0,t.useContext)(n),P=R[R.length-1];return P?P.params:{}}function pt(R){let{matches:P}=(0,t.useContext)(n),{pathname:ae}=fe(),Q=JSON.stringify(P.map(ie=>ie.pathnameBase));return(0,t.useMemo)(()=>le(R,JSON.parse(Q),ae),[R,Q,ae])}function Et(R,P){G()||d(!1);let{matches:ae}=(0,t.useContext)(n),Q=ae[ae.length-1],ie=Q?Q.params:{},me=Q?Q.pathname:"/",je=Q?Q.pathnameBase:"/",Ee=Q&&Q.route,Me=fe(),We;if(P){var re;let xe=typeof P=="string"?(0,a.cP)(P):P;je==="/"||(re=xe.pathname)!=null&&re.startsWith(je)||d(!1),We=xe}else We=Me;let se=We.pathname||"/",J=je==="/"?se:se.slice(je.length)||"/",de=M(R,{pathname:J});return ft(de&&de.map(xe=>Object.assign({},xe,{params:Object.assign({},ie,xe.params),pathname:x([je,xe.pathname]),pathnameBase:xe.pathnameBase==="/"?je:x([je,xe.pathnameBase])})),ae)}function ft(R,P){return P===void 0&&(P=[]),R==null?null:R.reduceRight((ae,Q,ie)=>(0,t.createElement)(n.Provider,{children:Q.route.element!==void 0?Q.route.element:ae,value:{outlet:ae,matches:P.concat(R.slice(0,ie+1))}}),null)}function Wt(R){let{basename:P,children:ae,initialEntries:Q,initialIndex:ie}=R,me=(0,t.useRef)();me.current==null&&(me.current=(0,a.PP)({initialEntries:Q,initialIndex:ie}));let je=me.current,[Ee,Me]=(0,t.useState)({action:je.action,location:je.location});return(0,t.useLayoutEffect)(()=>je.listen(Me),[je]),(0,t.createElement)(Ke,{basename:P,children:ae,location:Ee.location,navigationType:Ee.action,navigator:je})}function $e(R){let{to:P,replace:ae,state:Q}=R;G()||d(!1);let ie=be();return(0,t.useEffect)(()=>{ie(P,{replace:ae,state:Q})}),null}function Xe(R){return Je(R.context)}function nt(R){d(!1)}function Ke(R){let{basename:P="/",children:ae=null,location:Q,navigationType:ie=a.aU.Pop,navigator:me,static:je=!1}=R;G()&&d(!1);let Ee=O(P),Me=(0,t.useMemo)(()=>({basename:Ee,navigator:me,static:je}),[Ee,me,je]);typeof Q=="string"&&(Q=(0,a.cP)(Q));let{pathname:We="/",search:re="",hash:se="",state:J=null,key:de="default"}=Q,xe=(0,t.useMemo)(()=>{let ce=W(We,Ee);return ce==null?null:{pathname:ce,search:re,hash:se,state:J,key:de}},[Ee,We,re,se,J,de]);return xe==null?null:(0,t.createElement)(o.Provider,{value:Me},(0,t.createElement)(s.Provider,{children:ae,value:{location:xe,navigationType:ie}}))}function ye(R){let{children:P,location:ae}=R;return Et(ne(P),ae)}function ne(R){let P=[];return t.Children.forEach(R,ae=>{if(!(0,t.isValidElement)(ae))return;if(ae.type===t.Fragment){P.push.apply(P,ne(ae.props.children));return}ae.type!==nt&&d(!1);let Q={caseSensitive:ae.props.caseSensitive,element:ae.props.element,index:ae.props.index,path:ae.props.path};ae.props.children&&(Q.children=ne(ae.props.children)),P.push(Q)}),P}function H(R){return ft(R)}},88299:function(b,y,e){"use strict";var a=e(58757),t=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,n=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function l(c,m,g){var M,h={},S=null,w=null;g!==void 0&&(S=""+g),m.key!==void 0&&(S=""+m.key),m.ref!==void 0&&(w=m.ref);for(M in m)s.call(m,M)&&!d.hasOwnProperty(M)&&(h[M]=m[M]);if(c&&c.defaultProps)for(M in m=c.defaultProps,m)h[M]===void 0&&(h[M]=m[M]);return{$$typeof:t,type:c,key:S,ref:w,props:h,_owner:n.current}}y.Fragment=o,y.jsx=l,y.jsxs=l},34028:function(b,y){"use strict";var e=Symbol.for("react.element"),a=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),d=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),M=Symbol.iterator;function h(A){return A===null||typeof A!="object"?null:(A=M&&A[M]||A["@@iterator"],typeof A=="function"?A:null)}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,C={};function F(A,G,fe){this.props=A,this.context=G,this.refs=C,this.updater=fe||S}F.prototype.isReactComponent={},F.prototype.setState=function(A,G){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,G,"setState")},F.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function Z(){}Z.prototype=F.prototype;function N(A,G,fe){this.props=A,this.context=G,this.refs=C,this.updater=fe||S}var L=N.prototype=new Z;L.constructor=N,w(L,F.prototype),L.isPureReactComponent=!0;var $=Array.isArray,D=Object.prototype.hasOwnProperty,T={current:null},j={key:!0,ref:!0,__self:!0,__source:!0};function K(A,G,fe){var pe,ge={},be=null,Te=null;if(G!=null)for(pe in G.ref!==void 0&&(Te=G.ref),G.key!==void 0&&(be=""+G.key),G)D.call(G,pe)&&!j.hasOwnProperty(pe)&&(ge[pe]=G[pe]);var Ge=arguments.length-2;if(Ge===1)ge.children=fe;else if(1=0;--A){var G=this.tryEntries[A],fe=G.completion;if(G.tryLoc==="root")return U("end");if(G.tryLoc<=this.prev){var pe=t.call(G,"catchLoc"),ge=t.call(G,"finallyLoc");if(pe&&ge){if(this.prev=0;--U){var A=this.tryEntries[U];if(A.tryLoc<=this.prev&&t.call(A,"finallyLoc")&&this.prev=0;--_){var U=this.tryEntries[_];if(U.finallyLoc===O)return this.complete(U.completion,U.afterLoc),le(U),F}},catch:function(O){for(var _=this.tryEntries.length-1;_>=0;--_){var U=this.tryEntries[_];if(U.tryLoc===O){var A=U.completion;if(A.type==="throw"){var G=A.arg;le(U)}return G}}throw new Error("illegal catch attempt")},delegateYield:function(O,_,U){return this.delegate={iterator:W(O),resultName:_,nextLoc:U},this.method==="next"&&(this.arg=s),F}},e}(b.exports);try{regeneratorRuntime=y}catch(e){typeof globalThis=="object"?globalThis.regeneratorRuntime=y:Function("r","regeneratorRuntime = r")(y)}},20759:function(b,y,e){"use strict";var a=function(){if(typeof Map!="undefined")return Map;function X(W,x){var O=-1;return W.some(function(_,U){return _[0]===x?(O=U,!0):!1}),O}return function(){function W(){this.__entries__=[]}return Object.defineProperty(W.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),W.prototype.get=function(x){var O=X(this.__entries__,x),_=this.__entries__[O];return _&&_[1]},W.prototype.set=function(x,O){var _=X(this.__entries__,x);~_?this.__entries__[_][1]=O:this.__entries__.push([x,O])},W.prototype.delete=function(x){var O=this.__entries__,_=X(O,x);~_&&O.splice(_,1)},W.prototype.has=function(x){return!!~X(this.__entries__,x)},W.prototype.clear=function(){this.__entries__.splice(0)},W.prototype.forEach=function(x,O){O===void 0&&(O=null);for(var _=0,U=this.__entries__;_0},X.prototype.connect_=function(){!t||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),m?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},X.prototype.disconnect_=function(){!t||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},X.prototype.onTransitionEnd_=function(W){var x=W.propertyName,O=x===void 0?"":x,_=c.some(function(U){return!!~O.indexOf(U)});_&&this.refresh()},X.getInstance=function(){return this.instance_||(this.instance_=new X),this.instance_},X.instance_=null,X}(),M=function(X,W){for(var x=0,O=Object.keys(W);x0},X}(),V=typeof WeakMap!="undefined"?new WeakMap:new a,q=function(){function X(W){if(!(this instanceof X))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var x=g.getInstance(),O=new te(W,x,this);V.set(this,O)}return X}();["observe","unobserve","disconnect"].forEach(function(X){q.prototype[X]=function(){var W;return(W=V.get(this))[X].apply(W,arguments)}});var le=function(){return typeof o.ResizeObserver!="undefined"?o.ResizeObserver:q}();y.Z=le},68945:function(b,y){"use strict";function e(O,_){var U=O.length;O.push(_);e:for(;0>>1,G=O[A];if(0>>1;Ao(ge,U))beo(Te,ge)?(O[A]=Te,O[be]=U,A=be):(O[A]=ge,O[pe]=U,A=pe);else if(beo(Te,U))O[A]=Te,O[be]=U,A=be;else break e}}return _}function o(O,_){var U=O.sortIndex-_.sortIndex;return U!==0?U:O.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;y.unstable_now=function(){return s.now()}}else{var n=Date,d=n.now();y.unstable_now=function(){return n.now()-d}}var l=[],c=[],m=1,g=null,M=3,h=!1,S=!1,w=!1,C=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,Z=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function N(O){for(var _=a(c);_!==null;){if(_.callback===null)t(c);else if(_.startTime<=O)t(c),_.sortIndex=_.expirationTime,e(l,_);else break;_=a(c)}}function L(O){if(w=!1,N(O),!S)if(a(l)!==null)S=!0,W($);else{var _=a(c);_!==null&&x(L,_.startTime-O)}}function $(O,_){S=!1,w&&(w=!1,F(j),j=-1),h=!0;var U=M;try{for(N(_),g=a(l);g!==null&&(!(g.expirationTime>_)||O&&!te());){var A=g.callback;if(typeof A=="function"){g.callback=null,M=g.priorityLevel;var G=A(g.expirationTime<=_);_=y.unstable_now(),typeof G=="function"?g.callback=G:g===a(l)&&t(l),N(_)}else t(l);g=a(l)}if(g!==null)var fe=!0;else{var pe=a(c);pe!==null&&x(L,pe.startTime-_),fe=!1}return fe}finally{g=null,M=U,h=!1}}var D=!1,T=null,j=-1,K=5,k=-1;function te(){return!(y.unstable_now()-kO||125A?(O.sortIndex=U,e(c,O),a(l)===null&&O===a(c)&&(w?(F(j),j=-1):w=!0,x(L,U-A))):(O.sortIndex=G,e(l,O),S||h||(S=!0,W($))),O},y.unstable_shouldYield=te,y.unstable_wrapCallback=function(O){var _=M;return function(){var U=M;M=_;try{return O.apply(this,arguments)}finally{M=U}}}},52090:function(b,y,e){"use strict";b.exports=e(68945)},57761:function(b){"use strict";function y(e,a){if(e===a)return!0;if(!e||!a)return!1;var t=Object.keys(e),o=Object.keys(a),s=t.length;if(o.length!==s)return!1;for(var n=0;n{se(J,de,re)}):re.forEach((J,de)=>se(de,J,re))}function S(re){const se=re[o];return se?se.type_:Array.isArray(re)?1:N(re)?2:L(re)?3:0}function w(re,se){return S(re)===2?re.has(se):Object.prototype.hasOwnProperty.call(re,se)}function C(re,se){return S(re)===2?re.get(se):re[se]}function F(re,se,J){const de=S(re);de===2?re.set(se,J):de===3?re.add(J):re[se]=J}function Z(re,se){return re===se?re!==0||1/re===1/se:re!==re&&se!==se}function N(re){return re instanceof Map}function L(re){return re instanceof Set}function $(re){return re.copy_||re.base_}function D(re,se){if(N(re))return new Map(re);if(L(re))return new Set(re);if(Array.isArray(re))return Array.prototype.slice.call(re);if(!se&&g(re))return d(re)?Wa({},re):Object.assign(Object.create(null),re);const J=Object.getOwnPropertyDescriptors(re);delete J[o];let de=Reflect.ownKeys(J);for(let xe=0;xe1&&(re.set=re.add=re.clear=re.delete=j),Object.freeze(re),se&&h(re,(J,de)=>T(de,!0),!0)),re}function j(){n(2)}function K(re){return Object.isFrozen(re)}var k={};function te(re){const se=k[re];return se||n(0,re),se}function V(re,se){k[re]||(k[re]=se)}var q;function le(){return q}function X(re,se){return{drafts_:[],parent_:re,immer_:se,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function W(re,se){se&&(te("Patches"),re.patches_=[],re.inversePatches_=[],re.patchListener_=se)}function x(re){O(re),re.drafts_.forEach(U),re.drafts_=null}function O(re){re===q&&(q=re.parent_)}function _(re){return q=X(q,re)}function U(re){const se=re[o];se.type_===0||se.type_===1?se.revoke_():se.revoked_=!0}function A(re,se){se.unfinalizedDrafts_=se.drafts_.length;const J=se.drafts_[0];return re!==void 0&&re!==J?(J[o].modified_&&(x(se),n(4)),c(re)&&(re=G(se,re),se.parent_||pe(se,re)),se.patches_&&te("Patches").generateReplacementPatches_(J[o].base_,re,se.patches_,se.inversePatches_)):re=G(se,J,[]),x(se),se.patches_&&se.patchListener_(se.patches_,se.inversePatches_),re!==a?re:void 0}function G(re,se,J){if(K(se))return se;const de=se[o];if(!de)return h(se,(xe,ce)=>fe(re,de,se,xe,ce,J),!0),se;if(de.scope_!==re)return se;if(!de.modified_)return pe(re,de.base_,!0),de.base_;if(!de.finalized_){de.finalized_=!0,de.scope_.unfinalizedDrafts_--;const xe=de.copy_;let ce=xe,Le=!1;de.type_===3&&(ce=new Set(xe),xe.clear(),Le=!0),h(ce,(Oe,we)=>fe(re,de,xe,Oe,we,J,Le)),pe(re,xe,!1),J&&re.patches_&&te("Patches").generatePatches_(de,J,re.patches_,re.inversePatches_)}return de.copy_}function fe(re,se,J,de,xe,ce,Le){if(l(xe)){const Oe=ce&&se&&se.type_!==3&&!w(se.assigned_,de)?ce.concat(de):void 0,we=G(re,xe,Oe);if(F(J,de,we),l(we))re.canAutoFreeze_=!1;else return}else Le&&J.add(xe);if(c(xe)&&!K(xe)){if(!re.immer_.autoFreeze_&&re.unfinalizedDrafts_<1)return;G(re,xe),(!se||!se.scope_.parent_)&&pe(re,xe)}}function pe(re,se,J=!1){!re.parent_&&re.immer_.autoFreeze_&&re.canAutoFreeze_&&T(se,J)}function ge(re,se){const J=Array.isArray(re),de={type_:J?1:0,scope_:se?se.scope_:le(),modified_:!1,finalized_:!1,assigned_:{},parent_:se,base_:re,draft_:null,copy_:null,revoke_:null,isManual_:!1};let xe=de,ce=be;J&&(xe=[de],ce=Te);const{revoke:Le,proxy:Oe}=Proxy.revocable(xe,ce);return de.draft_=Oe,de.revoke_=Le,Oe}var be={get(re,se){if(se===o)return re;const J=$(re);if(!w(J,se))return Je(re,J,se);const de=J[se];return re.finalized_||!c(de)?de:de===Ge(re.base_,se)?(Et(re),re.copy_[se]=Wt(de,re)):de},has(re,se){return se in $(re)},ownKeys(re){return Reflect.ownKeys($(re))},set(re,se,J){const de=Qe($(re),se);if(de!=null&&de.set)return de.set.call(re.draft_,J),!0;if(!re.modified_){const xe=Ge($(re),se),ce=xe==null?void 0:xe[o];if(ce&&ce.base_===J)return re.copy_[se]=J,re.assigned_[se]=!1,!0;if(Z(J,xe)&&(J!==void 0||w(re.base_,se)))return!0;Et(re),pt(re)}return re.copy_[se]===J&&(J!==void 0||se in re.copy_)||Number.isNaN(J)&&Number.isNaN(re.copy_[se])||(re.copy_[se]=J,re.assigned_[se]=!0),!0},deleteProperty(re,se){return Ge(re.base_,se)!==void 0||se in re.base_?(re.assigned_[se]=!1,Et(re),pt(re)):delete re.assigned_[se],re.copy_&&delete re.copy_[se],!0},getOwnPropertyDescriptor(re,se){const J=$(re),de=Reflect.getOwnPropertyDescriptor(J,se);return de&&{writable:!0,configurable:re.type_!==1||se!=="length",enumerable:de.enumerable,value:J[se]}},defineProperty(){n(11)},getPrototypeOf(re){return d(re.base_)},setPrototypeOf(){n(12)}},Te={};h(be,(re,se)=>{Te[re]=function(){return arguments[0]=arguments[0][0],se.apply(this,arguments)}}),Te.deleteProperty=function(re,se){return Te.set.call(this,re,se,void 0)},Te.set=function(re,se,J){return be.set.call(this,re[0],se,J,re[0])};function Ge(re,se){const J=re[o];return(J?$(J):re)[se]}function Je(re,se,J){var xe;const de=Qe(se,J);return de?"value"in de?de.value:(xe=de.get)==null?void 0:xe.call(re.draft_):void 0}function Qe(re,se){if(!(se in re))return;let J=d(re);for(;J;){const de=Object.getOwnPropertyDescriptor(J,se);if(de)return de;J=d(J)}}function pt(re){re.modified_||(re.modified_=!0,re.parent_&&pt(re.parent_))}function Et(re){re.copy_||(re.copy_=D(re.base_,re.scope_.immer_.useStrictShallowCopy_))}var ft=class{constructor(re){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(se,J,de)=>{if(typeof se=="function"&&typeof J!="function"){const ce=J;J=se;const Le=this;return function(we=ce,...Ne){return Le.produce(we,st=>J.call(this,st,...Ne))}}typeof J!="function"&&n(6),de!==void 0&&typeof de!="function"&&n(7);let xe;if(c(se)){const ce=_(this),Le=Wt(se,void 0);let Oe=!0;try{xe=J(Le),Oe=!1}finally{Oe?x(ce):O(ce)}return W(ce,de),A(xe,ce)}else if(!se||typeof se!="object"){if(xe=J(se),xe===void 0&&(xe=se),xe===a&&(xe=void 0),this.autoFreeze_&&T(xe,!0),de){const ce=[],Le=[];te("Patches").generateReplacementPatches_(se,xe,ce,Le),de(ce,Le)}return xe}else n(1,se)},this.produceWithPatches=(se,J)=>{if(typeof se=="function")return(Le,...Oe)=>this.produceWithPatches(Le,we=>se(we,...Oe));let de,xe;return[this.produce(se,J,(Le,Oe)=>{de=Le,xe=Oe}),de,xe]},typeof(re==null?void 0:re.autoFreeze)=="boolean"&&this.setAutoFreeze(re.autoFreeze),typeof(re==null?void 0:re.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(re.useStrictShallowCopy)}createDraft(re){c(re)||n(8),l(re)&&(re=$e(re));const se=_(this),J=Wt(re,void 0);return J[o].isManual_=!0,O(se),J}finishDraft(re,se){const J=re&&re[o];(!J||!J.isManual_)&&n(9);const{scope_:de}=J;return W(de,se),A(void 0,de)}setAutoFreeze(re){this.autoFreeze_=re}setUseStrictShallowCopy(re){this.useStrictShallowCopy_=re}applyPatches(re,se){let J;for(J=se.length-1;J>=0;J--){const xe=se[J];if(xe.path.length===0&&xe.op==="replace"){re=xe.value;break}}J>-1&&(se=se.slice(J+1));const de=te("Patches").applyPatches_;return l(re)?de(re,se):this.produce(re,xe=>de(xe,se))}};function Wt(re,se){const J=N(re)?te("MapSet").proxyMap_(re,se):L(re)?te("MapSet").proxySet_(re,se):ge(re,se);return(se?se.scope_:le()).drafts_.push(J),J}function $e(re){return l(re)||n(10,re),Xe(re)}function Xe(re){if(!c(re)||K(re))return re;const se=re[o];let J;if(se){if(!se.modified_)return se.base_;se.finalized_=!0,J=D(re,se.scope_.immer_.useStrictShallowCopy_)}else J=D(re,!0);return h(J,(de,xe)=>{F(J,de,Xe(xe))}),se&&(se.finalized_=!1),J}function nt(){const se="replace",J="add",de="remove";function xe(Ye,ke,Be,it){switch(Ye.type_){case 0:case 2:return Le(Ye,ke,Be,it);case 1:return ce(Ye,ke,Be,it);case 3:return Oe(Ye,ke,Be,it)}}function ce(Ye,ke,Be,it){let{base_:Ve,assigned_:xt}=Ye,Ht=Ye.copy_;Ht.length{const wt=C(Ve,Ht),_t=C(xt,Ht),yt=Ot?w(Ve,Ht)?se:J:de;if(wt===_t&&yt===se)return;const ze=ke.concat(Ht);Be.push(yt===de?{op:yt,path:ze}:{op:yt,path:ze,value:_t}),it.push(yt===J?{op:de,path:ze}:yt===de?{op:J,path:ze,value:et(wt)}:{op:se,path:ze,value:et(wt)})})}function Oe(Ye,ke,Be,it){let{base_:Ve,copy_:xt}=Ye,Ht=0;Ve.forEach(Ot=>{if(!xt.has(Ot)){const wt=ke.concat([Ht]);Be.push({op:de,path:wt,value:Ot}),it.unshift({op:J,path:wt,value:Ot})}Ht++}),Ht=0,xt.forEach(Ot=>{if(!Ve.has(Ot)){const wt=ke.concat([Ht]);Be.push({op:J,path:wt,value:Ot}),it.unshift({op:de,path:wt,value:Ot})}Ht++})}function we(Ye,ke,Be,it){Be.push({op:se,path:[],value:ke===a?void 0:ke}),it.push({op:se,path:[],value:Ye})}function Ne(Ye,ke){return ke.forEach(Be=>{const{path:it,op:Ve}=Be;let xt=Ye;for(let _t=0;_t[Be,st(it)]));if(L(Ye))return new Set(Array.from(Ye).map(st));const ke=Object.create(d(Ye));for(const Be in Ye)ke[Be]=st(Ye[Be]);return w(Ye,t)&&(ke[t]=Ye[t]),ke}function et(Ye){return l(Ye)?st(Ye):Ye}V("Patches",{applyPatches_:Ne,generatePatches_:xe,generateReplacementPatches_:we})}function Ke(){class re extends Map{constructor(we,Ne){super(),this[o]={type_:2,parent_:Ne,scope_:Ne?Ne.scope_:le(),modified_:!1,finalized_:!1,copy_:void 0,assigned_:void 0,base_:we,draft_:this,isManual_:!1,revoked_:!1}}get size(){return $(this[o]).size}has(we){return $(this[o]).has(we)}set(we,Ne){const st=this[o];return Le(st),(!$(st).has(we)||$(st).get(we)!==Ne)&&(J(st),pt(st),st.assigned_.set(we,!0),st.copy_.set(we,Ne),st.assigned_.set(we,!0)),this}delete(we){if(!this.has(we))return!1;const Ne=this[o];return Le(Ne),J(Ne),pt(Ne),Ne.base_.has(we)?Ne.assigned_.set(we,!1):Ne.assigned_.delete(we),Ne.copy_.delete(we),!0}clear(){const we=this[o];Le(we),$(we).size&&(J(we),pt(we),we.assigned_=new Map,h(we.base_,Ne=>{we.assigned_.set(Ne,!1)}),we.copy_.clear())}forEach(we,Ne){const st=this[o];$(st).forEach((et,Ye,ke)=>{we.call(Ne,this.get(Ye),Ye,this)})}get(we){const Ne=this[o];Le(Ne);const st=$(Ne).get(we);if(Ne.finalized_||!c(st)||st!==Ne.base_.get(we))return st;const et=Wt(st,Ne);return J(Ne),Ne.copy_.set(we,et),et}keys(){return $(this[o]).keys()}values(){const we=this.keys();return{[Symbol.iterator]:()=>this.values(),next:()=>{const Ne=we.next();return Ne.done?Ne:{done:!1,value:this.get(Ne.value)}}}}entries(){const we=this.keys();return{[Symbol.iterator]:()=>this.entries(),next:()=>{const Ne=we.next();if(Ne.done)return Ne;const st=this.get(Ne.value);return{done:!1,value:[Ne.value,st]}}}}[Symbol.iterator](){return this.entries()}}function se(Oe,we){return new re(Oe,we)}function J(Oe){Oe.copy_||(Oe.assigned_=new Map,Oe.copy_=new Map(Oe.base_))}class de extends Set{constructor(we,Ne){super(),this[o]={type_:3,parent_:Ne,scope_:Ne?Ne.scope_:le(),modified_:!1,finalized_:!1,copy_:void 0,base_:we,draft_:this,drafts_:new Map,revoked_:!1,isManual_:!1}}get size(){return $(this[o]).size}has(we){const Ne=this[o];return Le(Ne),Ne.copy_?!!(Ne.copy_.has(we)||Ne.drafts_.has(we)&&Ne.copy_.has(Ne.drafts_.get(we))):Ne.base_.has(we)}add(we){const Ne=this[o];return Le(Ne),this.has(we)||(ce(Ne),pt(Ne),Ne.copy_.add(we)),this}delete(we){if(!this.has(we))return!1;const Ne=this[o];return Le(Ne),ce(Ne),pt(Ne),Ne.copy_.delete(we)||(Ne.drafts_.has(we)?Ne.copy_.delete(Ne.drafts_.get(we)):!1)}clear(){const we=this[o];Le(we),$(we).size&&(ce(we),pt(we),we.copy_.clear())}values(){const we=this[o];return Le(we),ce(we),we.copy_.values()}entries(){const we=this[o];return Le(we),ce(we),we.copy_.entries()}keys(){return this.values()}[Symbol.iterator](){return this.values()}forEach(we,Ne){const st=this.values();let et=st.next();for(;!et.done;)we.call(Ne,et.value,et.value,this),et=st.next()}}function xe(Oe,we){return new de(Oe,we)}function ce(Oe){Oe.copy_||(Oe.copy_=new Set,Oe.base_.forEach(we=>{if(c(we)){const Ne=Wt(we,Oe);Oe.drafts_.set(we,Ne),Oe.copy_.add(Ne)}else Oe.copy_.add(we)}))}function Le(Oe){Oe.revoked_&&n(3,JSON.stringify($(Oe)))}V("MapSet",{proxyMap_:se,proxySet_:xe})}var ye=new ft,ne=ye.produce,H=ye.produceWithPatches.bind(ye),R=ye.setAutoFreeze.bind(ye),P=ye.setUseStrictShallowCopy.bind(ye),ae=ye.applyPatches.bind(ye),Q=ye.createDraft.bind(ye),ie=ye.finishDraft.bind(ye);function me(re){return re}function je(re){return re}var Ee=e(58757);function Me(re){var se=(0,Ee.useState)(function(){return T(typeof re=="function"?re():re,!0)}),J=se[1];return[se[0],(0,Ee.useCallback)(function(de){J(typeof de=="function"?ne(de):T(de))},[])]}function We(re,se,J){var de=f(function(){return r(re)},[re]);return u(de,se,J)}},62118:function(b){"use strict";var y=!1,e=function(){};if(y){var a=function(o,s){var n=arguments.length;s=new Array(n>1?n-1:0);for(var d=1;d2?n-2:0);for(var d=2;de.length)&&(a=e.length);for(var t=0,o=new Array(a);t=o.length?{done:!0}:{done:!1,value:o[d++]}},e:function(h){throw h},f:l}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=!0,m=!1,g;return{s:function(){n=n.call(o)},n:function(){var h=n.next();return c=h.done,h},e:function(h){m=!0,g=h},f:function(){try{!c&&n.return!=null&&n.return()}finally{if(m)throw g}}}}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},19881:function(b,y,e){var a=e(29137),t=e(41326),o=e(1745);function s(n){var d=t();return function(){var c=a(n),m;if(d){var g=a(this).constructor;m=Reflect.construct(c,arguments,g)}else m=c.apply(this,arguments);return o(this,m)}}b.exports=s,b.exports.__esModule=!0,b.exports.default=b.exports},2657:function(b,y,e){var a=e(27490);function t(o,s,n){return s=a(s),s in o?Object.defineProperty(o,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[s]=n,o}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},29137:function(b){function y(e){return b.exports=y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b.exports.__esModule=!0,b.exports.default=b.exports,y(e)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},1769:function(b,y,e){var a=e(21547);function t(o,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),s&&a(o,s)}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},41326:function(b){function y(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},32596:function(b){function y(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},79121:function(b){function y(e,a){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o,s,n,d,l=[],c=!0,m=!1;try{if(n=(t=t.call(e)).next,a===0){if(Object(t)!==t)return;c=!1}else for(;!(c=(o=n.call(t)).done)&&(l.push(o.value),l.length!==a);c=!0);}catch(g){m=!0,s=g}finally{try{if(!c&&t.return!=null&&(d=t.return(),Object(d)!==d))return}finally{if(m)throw s}}return l}}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},74335:function(b){function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},74387:function(b){function y(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},63900:function(b,y,e){var a=e(2657);function t(s,n){var d=Object.keys(s);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(s);n&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(s,c).enumerable})),d.push.apply(d,l)}return d}function o(s){for(var n=1;n=0)&&Object.prototype.propertyIsEnumerable.call(o,d)&&(n[d]=o[d])}return n}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},14385:function(b){function y(e,a){if(e==null)return{};var t={},o=Object.keys(e),s,n;for(n=0;n=0)&&(t[s]=e[s]);return t}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},1745:function(b,y,e){var a=e(16962).default,t=e(55044);function o(s,n){if(n&&(a(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return t(s)}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},24454:function(b,y,e){var a=e(16962).default;function t(){"use strict";b.exports=t=function(){return o},b.exports.__esModule=!0,b.exports.default=b.exports;var o={},s=Object.prototype,n=s.hasOwnProperty,d=Object.defineProperty||function(W,x,O){W[x]=O.value},l=typeof Symbol=="function"?Symbol:{},c=l.iterator||"@@iterator",m=l.asyncIterator||"@@asyncIterator",g=l.toStringTag||"@@toStringTag";function M(W,x,O){return Object.defineProperty(W,x,{value:O,enumerable:!0,configurable:!0,writable:!0}),W[x]}try{M({},"")}catch(W){M=function(O,_,U){return O[_]=U}}function h(W,x,O,_){var U=x&&x.prototype instanceof C?x:C,A=Object.create(U.prototype),G=new q(_||[]);return d(A,"_invoke",{value:K(W,O,G)}),A}function S(W,x,O){try{return{type:"normal",arg:W.call(x,O)}}catch(_){return{type:"throw",arg:_}}}o.wrap=h;var w={};function C(){}function z(){}function $(){}var N={};M(N,c,function(){return this});var L=Object.getPrototypeOf,B=L&&L(L(le([])));B&&B!==s&&n.call(B,c)&&(N=B);var D=$.prototype=C.prototype=Object.create(N);function T(W){["next","throw","return"].forEach(function(x){M(W,x,function(O){return this._invoke(x,O)})})}function j(W,x){function O(U,A,G,de){var he=S(W[U],W,A);if(he.type!=="throw"){var ge=he.arg,be=ge.value;return be&&a(be)=="object"&&n.call(be,"__await")?x.resolve(be.__await).then(function(Te){O("next",Te,G,de)},function(Te){O("throw",Te,G,de)}):x.resolve(be).then(function(Te){ge.value=Te,G(ge)},function(Te){return O("throw",Te,G,de)})}de(he.arg)}var _;d(this,"_invoke",{value:function(A,G){function de(){return new x(function(he,ge){O(A,G,he,ge)})}return _=_?_.then(de,de):de()}})}function K(W,x,O){var _="suspendedStart";return function(U,A){if(_==="executing")throw new Error("Generator is already running");if(_==="completed"){if(U==="throw")throw A;return X()}for(O.method=U,O.arg=A;;){var G=O.delegate;if(G){var de=k(G,O);if(de){if(de===w)continue;return de}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(_==="suspendedStart")throw _="completed",O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);_="executing";var he=S(W,x,O);if(he.type==="normal"){if(_=O.done?"completed":"suspendedYield",he.arg===w)continue;return{value:he.arg,done:O.done}}he.type==="throw"&&(_="completed",O.method="throw",O.arg=he.arg)}}}function k(W,x){var O=x.method,_=W.iterator[O];if(_===void 0)return x.delegate=null,O==="throw"&&W.iterator.return&&(x.method="return",x.arg=void 0,k(W,x),x.method==="throw")||O!=="return"&&(x.method="throw",x.arg=new TypeError("The iterator does not provide a '"+O+"' method")),w;var U=S(_,W.iterator,x.arg);if(U.type==="throw")return x.method="throw",x.arg=U.arg,x.delegate=null,w;var A=U.arg;return A?A.done?(x[W.resultName]=A.value,x.next=W.nextLoc,x.method!=="return"&&(x.method="next",x.arg=void 0),x.delegate=null,w):A:(x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,w)}function te(W){var x={tryLoc:W[0]};1 in W&&(x.catchLoc=W[1]),2 in W&&(x.finallyLoc=W[2],x.afterLoc=W[3]),this.tryEntries.push(x)}function Y(W){var x=W.completion||{};x.type="normal",delete x.arg,W.completion=x}function q(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(te,this),this.reset(!0)}function le(W){if(W){var x=W[c];if(x)return x.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var O=-1,_=function U(){for(;++O=0;--U){var A=this.tryEntries[U],G=A.completion;if(A.tryLoc==="root")return _("end");if(A.tryLoc<=this.prev){var de=n.call(A,"catchLoc"),he=n.call(A,"finallyLoc");if(de&&he){if(this.prev=0;--_){var U=this.tryEntries[_];if(U.tryLoc<=this.prev&&n.call(U,"finallyLoc")&&this.prev=0;--O){var _=this.tryEntries[O];if(_.finallyLoc===x)return this.complete(_.completion,_.afterLoc),Y(_),w}},catch:function(x){for(var O=this.tryEntries.length-1;O>=0;--O){var _=this.tryEntries[O];if(_.tryLoc===x){var U=_.completion;if(U.type==="throw"){var A=U.arg;Y(_)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(x,O,_){return this.delegate={iterator:le(x),resultName:O,nextLoc:_},this.method==="next"&&(this.arg=void 0),w}},o}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},21547:function(b){function y(e,a){return b.exports=y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},b.exports.__esModule=!0,b.exports.default=b.exports,y(e,a)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},88205:function(b,y,e){var a=e(47296),t=e(79121),o=e(52157),s=e(74335);function n(d,l){return a(d)||t(d,l)||o(d,l)||s()}b.exports=n,b.exports.__esModule=!0,b.exports.default=b.exports},34485:function(b,y,e){var a=e(64212),t=e(32596),o=e(52157),s=e(74387);function n(d){return a(d)||t(d)||o(d)||s()}b.exports=n,b.exports.__esModule=!0,b.exports.default=b.exports},67536:function(b,y,e){var a=e(16962).default;function t(o,s){if(a(o)!=="object"||o===null)return o;var n=o[Symbol.toPrimitive];if(n!==void 0){var d=n.call(o,s||"default");if(a(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},27490:function(b,y,e){var a=e(16962).default,t=e(67536);function o(s){var n=t(s,"string");return a(n)==="symbol"?n:String(n)}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},16962:function(b){function y(e){"@babel/helpers - typeof";return b.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b.exports.__esModule=!0,b.exports.default=b.exports,y(e)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},52157:function(b,y,e){var a=e(18724);function t(o,s){if(o){if(typeof o=="string")return a(o,s);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(o,s)}}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},92199:function(b){function y(e){return e&&e.__esModule?e:{default:e}}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},55082:function(b,y,e){var a=e(98316).default;function t(s){if(typeof WeakMap!="function")return null;var n=new WeakMap,d=new WeakMap;return(t=function(c){return c?d:n})(s)}function o(s,n){if(!n&&s&&s.__esModule)return s;if(s===null||a(s)!=="object"&&typeof s!="function")return{default:s};var d=t(n);if(d&&d.has(s))return d.get(s);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in s)if(m!=="default"&&Object.prototype.hasOwnProperty.call(s,m)){var g=c?Object.getOwnPropertyDescriptor(s,m):null;g&&(g.get||g.set)?Object.defineProperty(l,m,g):l[m]=s[m]}return l.default=s,d&&d.set(s,l),l}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},98316:function(b){function y(e){"@babel/helpers - typeof";return b.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b.exports.__esModule=!0,b.exports.default=b.exports,y(e)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},40642:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t){if(Array.isArray(t))return t}},93585:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(4566);function t(o,s,n){return s=(0,a.Z)(s),s in o?Object.defineProperty(o,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[s]=n,o}},97364:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(){return a=Object.assign?Object.assign.bind():function(t){for(var o=1;o=0)&&Object.prototype.propertyIsEnumerable.call(o,d)&&(n[d]=o[d])}return n}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},14385:function(b){function y(e,a){if(e==null)return{};var t={},o=Object.keys(e),s,n;for(n=0;n=0)&&(t[s]=e[s]);return t}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},1745:function(b,y,e){var a=e(16962).default,t=e(55044);function o(s,n){if(n&&(a(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return t(s)}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},24454:function(b,y,e){var a=e(16962).default;function t(){"use strict";b.exports=t=function(){return o},b.exports.__esModule=!0,b.exports.default=b.exports;var o={},s=Object.prototype,n=s.hasOwnProperty,d=Object.defineProperty||function(W,x,O){W[x]=O.value},l=typeof Symbol=="function"?Symbol:{},c=l.iterator||"@@iterator",m=l.asyncIterator||"@@asyncIterator",g=l.toStringTag||"@@toStringTag";function M(W,x,O){return Object.defineProperty(W,x,{value:O,enumerable:!0,configurable:!0,writable:!0}),W[x]}try{M({},"")}catch(W){M=function(O,_,U){return O[_]=U}}function h(W,x,O,_){var U=x&&x.prototype instanceof C?x:C,A=Object.create(U.prototype),G=new q(_||[]);return d(A,"_invoke",{value:K(W,O,G)}),A}function S(W,x,O){try{return{type:"normal",arg:W.call(x,O)}}catch(_){return{type:"throw",arg:_}}}o.wrap=h;var w={};function C(){}function F(){}function Z(){}var N={};M(N,c,function(){return this});var L=Object.getPrototypeOf,$=L&&L(L(le([])));$&&$!==s&&n.call($,c)&&(N=$);var D=Z.prototype=C.prototype=Object.create(N);function T(W){["next","throw","return"].forEach(function(x){M(W,x,function(O){return this._invoke(x,O)})})}function j(W,x){function O(U,A,G,fe){var pe=S(W[U],W,A);if(pe.type!=="throw"){var ge=pe.arg,be=ge.value;return be&&a(be)=="object"&&n.call(be,"__await")?x.resolve(be.__await).then(function(Te){O("next",Te,G,fe)},function(Te){O("throw",Te,G,fe)}):x.resolve(be).then(function(Te){ge.value=Te,G(ge)},function(Te){return O("throw",Te,G,fe)})}fe(pe.arg)}var _;d(this,"_invoke",{value:function(A,G){function fe(){return new x(function(pe,ge){O(A,G,pe,ge)})}return _=_?_.then(fe,fe):fe()}})}function K(W,x,O){var _="suspendedStart";return function(U,A){if(_==="executing")throw new Error("Generator is already running");if(_==="completed"){if(U==="throw")throw A;return X()}for(O.method=U,O.arg=A;;){var G=O.delegate;if(G){var fe=k(G,O);if(fe){if(fe===w)continue;return fe}}if(O.method==="next")O.sent=O._sent=O.arg;else if(O.method==="throw"){if(_==="suspendedStart")throw _="completed",O.arg;O.dispatchException(O.arg)}else O.method==="return"&&O.abrupt("return",O.arg);_="executing";var pe=S(W,x,O);if(pe.type==="normal"){if(_=O.done?"completed":"suspendedYield",pe.arg===w)continue;return{value:pe.arg,done:O.done}}pe.type==="throw"&&(_="completed",O.method="throw",O.arg=pe.arg)}}}function k(W,x){var O=x.method,_=W.iterator[O];if(_===void 0)return x.delegate=null,O==="throw"&&W.iterator.return&&(x.method="return",x.arg=void 0,k(W,x),x.method==="throw")||O!=="return"&&(x.method="throw",x.arg=new TypeError("The iterator does not provide a '"+O+"' method")),w;var U=S(_,W.iterator,x.arg);if(U.type==="throw")return x.method="throw",x.arg=U.arg,x.delegate=null,w;var A=U.arg;return A?A.done?(x[W.resultName]=A.value,x.next=W.nextLoc,x.method!=="return"&&(x.method="next",x.arg=void 0),x.delegate=null,w):A:(x.method="throw",x.arg=new TypeError("iterator result is not an object"),x.delegate=null,w)}function te(W){var x={tryLoc:W[0]};1 in W&&(x.catchLoc=W[1]),2 in W&&(x.finallyLoc=W[2],x.afterLoc=W[3]),this.tryEntries.push(x)}function V(W){var x=W.completion||{};x.type="normal",delete x.arg,W.completion=x}function q(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(te,this),this.reset(!0)}function le(W){if(W){var x=W[c];if(x)return x.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var O=-1,_=function U(){for(;++O=0;--U){var A=this.tryEntries[U],G=A.completion;if(A.tryLoc==="root")return _("end");if(A.tryLoc<=this.prev){var fe=n.call(A,"catchLoc"),pe=n.call(A,"finallyLoc");if(fe&&pe){if(this.prev=0;--_){var U=this.tryEntries[_];if(U.tryLoc<=this.prev&&n.call(U,"finallyLoc")&&this.prev=0;--O){var _=this.tryEntries[O];if(_.finallyLoc===x)return this.complete(_.completion,_.afterLoc),V(_),w}},catch:function(x){for(var O=this.tryEntries.length-1;O>=0;--O){var _=this.tryEntries[O];if(_.tryLoc===x){var U=_.completion;if(U.type==="throw"){var A=U.arg;V(_)}return A}}throw new Error("illegal catch attempt")},delegateYield:function(x,O,_){return this.delegate={iterator:le(x),resultName:O,nextLoc:_},this.method==="next"&&(this.arg=void 0),w}},o}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},21547:function(b){function y(e,a){return b.exports=y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},b.exports.__esModule=!0,b.exports.default=b.exports,y(e,a)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},88205:function(b,y,e){var a=e(47296),t=e(79121),o=e(52157),s=e(74335);function n(d,l){return a(d)||t(d,l)||o(d,l)||s()}b.exports=n,b.exports.__esModule=!0,b.exports.default=b.exports},34485:function(b,y,e){var a=e(64212),t=e(32596),o=e(52157),s=e(74387);function n(d){return a(d)||t(d)||o(d)||s()}b.exports=n,b.exports.__esModule=!0,b.exports.default=b.exports},67536:function(b,y,e){var a=e(16962).default;function t(o,s){if(a(o)!=="object"||o===null)return o;var n=o[Symbol.toPrimitive];if(n!==void 0){var d=n.call(o,s||"default");if(a(d)!=="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(o)}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},27490:function(b,y,e){var a=e(16962).default,t=e(67536);function o(s){var n=t(s,"string");return a(n)==="symbol"?n:String(n)}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},16962:function(b){function y(e){"@babel/helpers - typeof";return b.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b.exports.__esModule=!0,b.exports.default=b.exports,y(e)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},52157:function(b,y,e){var a=e(18724);function t(o,s){if(o){if(typeof o=="string")return a(o,s);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(o,s)}}b.exports=t,b.exports.__esModule=!0,b.exports.default=b.exports},92199:function(b){function y(e){return e&&e.__esModule?e:{default:e}}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},55082:function(b,y,e){var a=e(98316).default;function t(s){if(typeof WeakMap!="function")return null;var n=new WeakMap,d=new WeakMap;return(t=function(c){return c?d:n})(s)}function o(s,n){if(!n&&s&&s.__esModule)return s;if(s===null||a(s)!=="object"&&typeof s!="function")return{default:s};var d=t(n);if(d&&d.has(s))return d.get(s);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in s)if(m!=="default"&&Object.prototype.hasOwnProperty.call(s,m)){var g=c?Object.getOwnPropertyDescriptor(s,m):null;g&&(g.get||g.set)?Object.defineProperty(l,m,g):l[m]=s[m]}return l.default=s,d&&d.set(s,l),l}b.exports=o,b.exports.__esModule=!0,b.exports.default=b.exports},98316:function(b){function y(e){"@babel/helpers - typeof";return b.exports=y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b.exports.__esModule=!0,b.exports.default=b.exports,y(e)}b.exports=y,b.exports.__esModule=!0,b.exports.default=b.exports},40642:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t){if(Array.isArray(t))return t}},93585:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(4566);function t(o,s,n){return s=(0,a.Z)(s),s in o?Object.defineProperty(o,s,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[s]=n,o}},97364:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(){return a=Object.assign?Object.assign.bind():function(t){for(var o=1;o=0)&&(n[l]=o[l]);return n}function t(o,s){if(o==null)return{};var n=a(o,s),d,l;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,d)&&(n[d]=o[d])}return n}},4566:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});var a=e(83753);function t(s,n){if((0,a.Z)(s)!=="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var l=d.call(s,n||"default");if((0,a.Z)(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(s)}function o(s){var n=t(s,"string");return(0,a.Z)(n)==="symbol"?n:String(n)}},83753:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},a(t)}},50648:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});function a(o,s){(s==null||s>o.length)&&(s=o.length);for(var n=0,d=new Array(s);nt.length)&&(o=t.length);for(var s=0,n=new Array(o);s=0)&&(n[l]=o[l]);return n}function t(o,s){if(o==null)return{};var n=a(o,s),d,l;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,d)&&(n[d]=o[d])}return n}},74632:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(38790);function t(){"use strict";t=function(){return s};var o,s={},n=Object.prototype,d=n.hasOwnProperty,l=Object.defineProperty||function(U,A,G){U[A]=G.value},c=typeof Symbol=="function"?Symbol:{},m=c.iterator||"@@iterator",g=c.asyncIterator||"@@asyncIterator",M=c.toStringTag||"@@toStringTag";function h(U,A,G){return Object.defineProperty(U,A,{value:G,enumerable:!0,configurable:!0,writable:!0}),U[A]}try{h({},"")}catch(U){h=function(G,de,he){return G[de]=he}}function S(U,A,G,de){var he=A&&A.prototype instanceof B?A:B,ge=Object.create(he.prototype),be=new O(de||[]);return l(ge,"_invoke",{value:le(U,G,be)}),ge}function w(U,A,G){try{return{type:"normal",arg:U.call(A,G)}}catch(de){return{type:"throw",arg:de}}}s.wrap=S;var C="suspendedStart",z="suspendedYield",$="executing",N="completed",L={};function B(){}function D(){}function T(){}var j={};h(j,m,function(){return this});var K=Object.getPrototypeOf,k=K&&K(K(_([])));k&&k!==n&&d.call(k,m)&&(j=k);var te=T.prototype=B.prototype=Object.create(j);function Y(U){["next","throw","return"].forEach(function(A){h(U,A,function(G){return this._invoke(A,G)})})}function q(U,A){function G(he,ge,be,Te){var Ge=w(U[he],U,ge);if(Ge.type!=="throw"){var Je=Ge.arg,Qe=Je.value;return Qe&&(0,a.Z)(Qe)=="object"&&d.call(Qe,"__await")?A.resolve(Qe.__await).then(function(pt){G("next",pt,be,Te)},function(pt){G("throw",pt,be,Te)}):A.resolve(Qe).then(function(pt){Je.value=pt,be(Je)},function(pt){return G("throw",pt,be,Te)})}Te(Ge.arg)}var de;l(this,"_invoke",{value:function(ge,be){function Te(){return new A(function(Ge,Je){G(ge,be,Ge,Je)})}return de=de?de.then(Te,Te):Te()}})}function le(U,A,G){var de=C;return function(he,ge){if(de===$)throw new Error("Generator is already running");if(de===N){if(he==="throw")throw ge;return{value:o,done:!0}}for(G.method=he,G.arg=ge;;){var be=G.delegate;if(be){var Te=X(be,G);if(Te){if(Te===L)continue;return Te}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(de===C)throw de=N,G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);de=$;var Ge=w(U,A,G);if(Ge.type==="normal"){if(de=G.done?N:z,Ge.arg===L)continue;return{value:Ge.arg,done:G.done}}Ge.type==="throw"&&(de=N,G.method="throw",G.arg=Ge.arg)}}}function X(U,A){var G=A.method,de=U.iterator[G];if(de===o)return A.delegate=null,G==="throw"&&U.iterator.return&&(A.method="return",A.arg=o,X(U,A),A.method==="throw")||G!=="return"&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+G+"' method")),L;var he=w(de,U.iterator,A.arg);if(he.type==="throw")return A.method="throw",A.arg=he.arg,A.delegate=null,L;var ge=he.arg;return ge?ge.done?(A[U.resultName]=ge.value,A.next=U.nextLoc,A.method!=="return"&&(A.method="next",A.arg=o),A.delegate=null,L):ge:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,L)}function W(U){var A={tryLoc:U[0]};1 in U&&(A.catchLoc=U[1]),2 in U&&(A.finallyLoc=U[2],A.afterLoc=U[3]),this.tryEntries.push(A)}function x(U){var A=U.completion||{};A.type="normal",delete A.arg,U.completion=A}function O(U){this.tryEntries=[{tryLoc:"root"}],U.forEach(W,this),this.reset(!0)}function _(U){if(U||U===""){var A=U[m];if(A)return A.call(U);if(typeof U.next=="function")return U;if(!isNaN(U.length)){var G=-1,de=function he(){for(;++G=0;--he){var ge=this.tryEntries[he],be=ge.completion;if(ge.tryLoc==="root")return de("end");if(ge.tryLoc<=this.prev){var Te=d.call(ge,"catchLoc"),Ge=d.call(ge,"finallyLoc");if(Te&&Ge){if(this.prev=0;--de){var he=this.tryEntries[de];if(he.tryLoc<=this.prev&&d.call(he,"finallyLoc")&&this.prev=0;--G){var de=this.tryEntries[G];if(de.finallyLoc===A)return this.complete(de.completion,de.afterLoc),x(de),L}},catch:function(A){for(var G=this.tryEntries.length-1;G>=0;--G){var de=this.tryEntries[G];if(de.tryLoc===A){var he=de.completion;if(he.type==="throw"){var ge=he.arg;x(de)}return ge}}throw new Error("illegal catch attempt")},delegateYield:function(A,G,de){return this.delegate={iterator:_(A),resultName:G,nextLoc:de},this.method==="next"&&(this.arg=o),L}},s}},28314:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(5563);function t(d,l){var c=d==null?null:typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(c!=null){var m,g,M,h,S=[],w=!0,C=!1;try{if(M=(c=c.call(d)).next,l===0){if(Object(c)!==c)return;w=!1}else for(;!(w=(m=M.call(c)).done)&&(S.push(m.value),S.length!==l);w=!0);}catch(z){C=!0,g=z}finally{try{if(!w&&c.return!=null&&(h=c.return(),Object(h)!==h))return}finally{if(C)throw g}}return S}}var o=e(25516),s=e(53373);function n(d,l){return(0,a.Z)(d)||t(d,l)||(0,o.Z)(d,l)||(0,s.Z)()}},6747:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(5563),t=e(10443),o=e(25516),s=e(53373);function n(d){return(0,a.Z)(d)||(0,t.Z)(d)||(0,o.Z)(d)||(0,s.Z)()}},29140:function(b,y,e){"use strict";e.d(y,{Z:function(){return d}});var a=e(41437);function t(l){if(Array.isArray(l))return(0,a.Z)(l)}var o=e(10443),s=e(25516);function n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(l){return t(l)||(0,o.Z)(l)||(0,s.Z)(l)||n()}},70794:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});var a=e(38790);function t(s,n){if((0,a.Z)(s)!=="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var l=d.call(s,n||"default");if((0,a.Z)(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(s)}function o(s){var n=t(s,"string");return(0,a.Z)(n)==="symbol"?n:String(n)}},38790:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},a(t)}},25516:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(41437);function t(o,s){if(o){if(typeof o=="string")return(0,a.Z)(o,s);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,a.Z)(o,s)}}},18591:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});const a=m=>typeof m=="object"&&m!=null&&m.nodeType===1,t=(m,g)=>(!g||m!=="hidden")&&m!=="visible"&&m!=="clip",o=(m,g)=>{if(m.clientHeight{const S=(w=>{if(!w.ownerDocument||!w.ownerDocument.defaultView)return null;try{return w.ownerDocument.defaultView.frameElement}catch(C){return null}})(h);return!!S&&(S.clientHeightwg||w>m&&C=g&&z>=M?w-m-h:C>g&&zM?C-g+S:0,n=m=>{const g=m.parentElement;return g==null?m.getRootNode().host||null:g},d=(m,g)=>{var M,h,S,w;if(typeof document=="undefined")return[];const{scrollMode:C,block:z,inline:$,boundary:N,skipOverflowHiddenElements:L}=g,B=typeof N=="function"?N:G=>G!==N;if(!a(m))throw new TypeError("Invalid target");const D=document.scrollingElement||document.documentElement,T=[];let j=m;for(;a(j)&&B(j);){if(j=n(j),j===D){T.push(j);break}j!=null&&j===document.body&&o(j)&&!o(document.documentElement)||j!=null&&o(j,L)&&T.push(j)}const K=(h=(M=window.visualViewport)==null?void 0:M.width)!=null?h:innerWidth,k=(w=(S=window.visualViewport)==null?void 0:S.height)!=null?w:innerHeight,{scrollX:te,scrollY:Y}=window,{height:q,width:le,top:X,right:W,bottom:x,left:O}=m.getBoundingClientRect();let _=z==="start"||z==="nearest"?X:z==="end"?x:X+q/2,U=$==="center"?O+le/2:$==="end"?W:O;const A=[];for(let G=0;G=0&&O>=0&&x<=k&&W<=K&&X>=be&&x<=Ge&&O>=Je&&W<=Te)return A;const Qe=getComputedStyle(de),pt=parseInt(Qe.borderLeftWidth,10),Ct=parseInt(Qe.borderTopWidth,10),ft=parseInt(Qe.borderRightWidth,10),Ht=parseInt(Qe.borderBottomWidth,10);let Ze=0,Xe=0;const rt="offsetWidth"in de?de.offsetWidth-de.clientWidth-pt-ft:0,Ke="offsetHeight"in de?de.offsetHeight-de.clientHeight-Ct-Ht:0,ye="offsetWidth"in de?de.offsetWidth===0?0:ge/de.offsetWidth:0,ne="offsetHeight"in de?de.offsetHeight===0?0:he/de.offsetHeight:0;if(D===de)Ze=z==="start"?_:z==="end"?_-k:z==="nearest"?s(Y,Y+k,k,Ct,Ht,Y+_,Y+_+q,q):_-k/2,Xe=$==="start"?U:$==="center"?U-K/2:$==="end"?U-K:s(te,te+K,K,pt,ft,te+U,te+U+le,le),Ze=Math.max(0,Ze+Y),Xe=Math.max(0,Xe+te);else{Ze=z==="start"?_-be-Ct:z==="end"?_-Ge+Ht+Ke:z==="nearest"?s(be,Ge,he,Ct,Ht+Ke,_,_+q,q):_-(be+he/2)+Ke/2,Xe=$==="start"?U-Je-pt:$==="center"?U-(Je+ge/2)+rt/2:$==="end"?U-Te+ft+rt:s(Je,Te,ge,pt,ft+rt,U,U+le,le);const{scrollLeft:H,scrollTop:R}=de;Ze=Math.max(0,Math.min(R+Ze/ne,de.scrollHeight-he/ne+Ke)),Xe=Math.max(0,Math.min(H+Xe/ye,de.scrollWidth-ge/ye+rt)),_+=R-Ze,U+=H-Xe}A.push({el:de,top:Ze,left:Xe})}return A},l=m=>m===!1?{block:"end",inline:"nearest"}:(g=>g===Object(g)&&Object.keys(g).length!==0)(m)?m:{block:"start",inline:"nearest"};function c(m,g){if(!m.isConnected||!(h=>{let S=h;for(;S&&S.parentNode;){if(S.parentNode===document)return!0;S=S.parentNode instanceof ShadowRoot?S.parentNode.host:S.parentNode}return!1})(m))return;if((h=>typeof h=="object"&&typeof h.behavior=="function")(g))return g.behavior(d(m,g));const M=typeof g=="boolean"||g==null?void 0:g.behavior;for(const{el:h,top:S,left:w}of d(m,l(g)))h.scroll({top:S,left:w,behavior:M})}},70989:function(b,y,e){"use strict";e.d(y,{D:function(){return t}});function a(o,s,n){var d=n||{},l=d.noTrailing,c=l===void 0?!1:l,m=d.noLeading,g=m===void 0?!1:m,M=d.debounceMode,h=M===void 0?void 0:M,S,w=!1,C=0;function z(){S&&clearTimeout(S)}function $(L){var B=L||{},D=B.upcomingOnly,T=D===void 0?!1:D;z(),w=!T}function N(){for(var L=arguments.length,B=new Array(L),D=0;Do?g?(C=Date.now(),c||(S=setTimeout(h?k:K,o))):K():c!==!0&&(S=setTimeout(h?k:K,h===void 0?o-j:o))}return N.cancel=$,N}function t(o,s,n){var d=n||{},l=d.atBegin,c=l===void 0?!1:l;return a(o,s,{debounceMode:c!==!1})}},43112:function(b,y,e){"use strict";e.d(y,{CR:function(){return $},Jh:function(){return S},XA:function(){return z},_T:function(){return s},ev:function(){return B},mG:function(){return h},pi:function(){return o}});var a=function(A,G){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,he){de.__proto__=he}||function(de,he){for(var ge in he)Object.prototype.hasOwnProperty.call(he,ge)&&(de[ge]=he[ge])},a(A,G)};function t(A,G){if(typeof G!="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");a(A,G);function de(){this.constructor=A}A.prototype=G===null?Object.create(G):(de.prototype=G.prototype,new de)}var o=function(){return o=Object.assign||function(G){for(var de,he=1,ge=arguments.length;he=0;Ge--)(Te=A[Ge])&&(be=(ge<3?Te(be):ge>3?Te(G,de,be):Te(G,de))||be);return ge>3&&be&&Object.defineProperty(G,de,be),be}function d(A,G){return function(de,he){G(de,he,A)}}function l(A,G,de,he,ge,be){function Te(Ke){if(Ke!==void 0&&typeof Ke!="function")throw new TypeError("Function expected");return Ke}for(var Ge=he.kind,Je=Ge==="getter"?"get":Ge==="setter"?"set":"value",Qe=!G&&A?he.static?A:A.prototype:null,pt=G||(Qe?Object.getOwnPropertyDescriptor(Qe,he.name):{}),Ct,ft=!1,Ht=de.length-1;Ht>=0;Ht--){var Ze={};for(var Xe in he)Ze[Xe]=Xe==="access"?{}:he[Xe];for(var Xe in he.access)Ze.access[Xe]=he.access[Xe];Ze.addInitializer=function(Ke){if(ft)throw new TypeError("Cannot add initializers after decoration has completed");be.push(Te(Ke||null))};var rt=(0,de[Ht])(Ge==="accessor"?{get:pt.get,set:pt.set}:pt[Je],Ze);if(Ge==="accessor"){if(rt===void 0)continue;if(rt===null||typeof rt!="object")throw new TypeError("Object expected");(Ct=Te(rt.get))&&(pt.get=Ct),(Ct=Te(rt.set))&&(pt.set=Ct),(Ct=Te(rt.init))&&ge.unshift(Ct)}else(Ct=Te(rt))&&(Ge==="field"?ge.unshift(Ct):pt[Je]=Ct)}Qe&&Object.defineProperty(Qe,he.name,pt),ft=!0}function c(A,G,de){for(var he=arguments.length>2,ge=0;ge0&&be[be.length-1])&&(Qe[0]===6||Qe[0]===2)){de=0;continue}if(Qe[0]===3&&(!be||Qe[1]>be[0]&&Qe[1]=A.length&&(A=void 0),{value:A&&A[he++],done:!A}}};throw new TypeError(G?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(A,G){var de=typeof Symbol=="function"&&A[Symbol.iterator];if(!de)return A;var he=de.call(A),ge,be=[],Te;try{for(;(G===void 0||G-- >0)&&!(ge=he.next()).done;)be.push(ge.value)}catch(Ge){Te={error:Ge}}finally{try{ge&&!ge.done&&(de=he.return)&&de.call(he)}finally{if(Te)throw Te.error}}return be}function N(){for(var A=[],G=0;G1||Ge(ft,Ht)})})}function Ge(ft,Ht){try{Je(he[ft](Ht))}catch(Ze){Ct(be[0][3],Ze)}}function Je(ft){ft.value instanceof D?Promise.resolve(ft.value.v).then(Qe,pt):Ct(be[0][2],ft)}function Qe(ft){Ge("next",ft)}function pt(ft){Ge("throw",ft)}function Ct(ft,Ht){ft(Ht),be.shift(),be.length&&Ge(be[0][0],be[0][1])}}function j(A){var G,de;return G={},he("next"),he("throw",function(ge){throw ge}),he("return"),G[Symbol.iterator]=function(){return this},G;function he(ge,be){G[ge]=A[ge]?function(Te){return(de=!de)?{value:D(A[ge](Te)),done:!1}:be?be(Te):Te}:be}}function K(A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G=A[Symbol.asyncIterator],de;return G?G.call(A):(A=typeof z=="function"?z(A):A[Symbol.iterator](),de={},he("next"),he("throw"),he("return"),de[Symbol.asyncIterator]=function(){return this},de);function he(be){de[be]=A[be]&&function(Te){return new Promise(function(Ge,Je){Te=A[be](Te),ge(Ge,Je,Te.done,Te.value)})}}function ge(be,Te,Ge,Je){Promise.resolve(Je).then(function(Qe){be({value:Qe,done:Ge})},Te)}}function k(A,G){return Object.defineProperty?Object.defineProperty(A,"raw",{value:G}):A.raw=G,A}var te=Object.create?function(A,G){Object.defineProperty(A,"default",{enumerable:!0,value:G})}:function(A,G){A.default=G};function Y(A){if(A&&A.__esModule)return A;var G={};if(A!=null)for(var de in A)de!=="default"&&Object.prototype.hasOwnProperty.call(A,de)&&w(G,A,de);return te(G,A),G}function q(A){return A&&A.__esModule?A:{default:A}}function le(A,G,de,he){if(de==="a"&&!he)throw new TypeError("Private accessor was defined without a getter");if(typeof G=="function"?A!==G||!he:!G.has(A))throw new TypeError("Cannot read private member from an object whose class did not declare it");return de==="m"?he:de==="a"?he.call(A):he?he.value:G.get(A)}function X(A,G,de,he,ge){if(he==="m")throw new TypeError("Private method is not writable");if(he==="a"&&!ge)throw new TypeError("Private accessor was defined without a setter");if(typeof G=="function"?A!==G||!ge:!G.has(A))throw new TypeError("Cannot write private member to an object whose class did not declare it");return he==="a"?ge.call(A,de):ge?ge.value=de:G.set(A,de),de}function W(A,G){if(G===null||typeof G!="object"&&typeof G!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof A=="function"?G===A:A.has(G)}function x(A,G,de){if(G!=null){if(typeof G!="object"&&typeof G!="function")throw new TypeError("Object expected.");var he;if(de){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");he=G[Symbol.asyncDispose]}if(he===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");he=G[Symbol.dispose]}if(typeof he!="function")throw new TypeError("Object not disposable.");A.stack.push({value:G,dispose:he,async:de})}else de&&A.stack.push({async:!0});return G}var O=typeof SuppressedError=="function"?SuppressedError:function(A,G,de){var he=new Error(de);return he.name="SuppressedError",he.error=A,he.suppressed=G,he};function _(A){function G(he){A.error=A.hasError?new O(he,A.error,"An error was suppressed during disposal."):he,A.hasError=!0}function de(){for(;A.stack.length;){var he=A.stack.pop();try{var ge=he.dispose&&he.dispose.call(he.value);if(he.async)return Promise.resolve(ge).then(de,function(be){return G(be),de()})}catch(be){G(be)}}if(A.hasError)throw A.error}return de()}var U={__extends:t,__assign:o,__rest:s,__decorate:n,__param:d,__metadata:M,__awaiter:h,__generator:S,__createBinding:w,__exportStar:C,__values:z,__read:$,__spread:N,__spreadArrays:L,__spreadArray:B,__await:D,__asyncGenerator:T,__asyncDelegator:j,__asyncValues:K,__makeTemplateObject:k,__importStar:Y,__importDefault:q,__classPrivateFieldGet:le,__classPrivateFieldSet:X,__classPrivateFieldIn:W,__addDisposableResource:x,__disposeResources:_}}},Wl={};function Lt(b){var y=Wl[b];if(y!==void 0)return y.exports;var e=Wl[b]={id:b,loaded:!1,exports:{}};return Iu[b].call(e.exports,e,e.exports,Lt),e.loaded=!0,e.exports}Lt.m=Iu,function(){Lt.n=function(b){var y=b&&b.__esModule?function(){return b.default}:function(){return b};return Lt.d(y,{a:y}),y}}(),function(){var b=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y;Lt.t=function(e,a){if(a&1&&(e=this(e)),a&8||typeof e=="object"&&e&&(a&4&&e.__esModule||a&16&&typeof e.then=="function"))return e;var t=Object.create(null);Lt.r(t);var o={};y=y||[null,b({}),b([]),b(b)];for(var s=a&2&&e;typeof s=="object"&&!~y.indexOf(s);s=b(s))Object.getOwnPropertyNames(s).forEach(function(n){o[n]=function(){return e[n]}});return o.default=function(){return e},Lt.d(t,o),t}}(),function(){Lt.d=function(b,y){for(var e in y)Lt.o(y,e)&&!Lt.o(b,e)&&Object.defineProperty(b,e,{enumerable:!0,get:y[e]})}}(),function(){Lt.f={},Lt.e=function(b){return Promise.all(Object.keys(Lt.f).reduce(function(y,e){return Lt.f[e](b,y),y},[]))}}(),function(){Lt.u=function(b){return""+({33:"p__Dataset__index",69:"p__Project__Detail__index",109:"p__DatasetList__index",301:"t__plugin-layout__Layout",358:"p__Lab__index",397:"p__Lab__FlagTool__index",571:"p__404",605:"p__Lab__Datasets__index",717:"layouts__index",721:"p__Project__index",734:"p__Annotator__index",739:"p__Login__index",899:"wrappers__auth",914:"p__Project__Workspace__index"}[b]||b)+"."+{7:"e4c5d564",9:"9f27f1a0",20:"85fcbb81",33:"a1265ad5",69:"f6bb0552",109:"91c4bfd3",124:"69a3d116",222:"33ccd216",233:"3d91ac9a",301:"2ad2010d",358:"5de6b129",397:"91ecbc6f",422:"f952182a",571:"0f1cb5ec",605:"6cbc99df",717:"f60cee94",721:"88bd2c95",734:"8750e2fd",739:"572dbaae",742:"bbe64d32",845:"7d656ce9",851:"1072d61f",899:"d0b0c30b",914:"afc69f7b"}[b]+".async.js"}}(),function(){Lt.miniCssF=function(b){return""+{33:"p__Dataset__index",69:"p__Project__Detail__index",109:"p__DatasetList__index",301:"t__plugin-layout__Layout",358:"p__Lab__index",397:"p__Lab__FlagTool__index",605:"p__Lab__Datasets__index",717:"layouts__index",721:"p__Project__index",739:"p__Login__index",914:"p__Project__Workspace__index"}[b]+"."+{33:"c6647b2a",69:"9b99b574",109:"cbd96143",301:"8f39539f",358:"28ea9971",397:"c0569e06",605:"e9f4c3ea",717:"cf0de806",721:"711b5411",739:"26727079",914:"983f52a6"}[b]+".chunk.css"}}(),function(){Lt.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(b){if(typeof window=="object")return window}}()}(),function(){Lt.hmd=function(b){return b=Object.create(b),b.children||(b.children=[]),Object.defineProperty(b,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+b.id)}}),b}}(),function(){Lt.o=function(b,y){return Object.prototype.hasOwnProperty.call(b,y)}}(),function(){var b={},y="app:";Lt.l=function(e,a,t,o){if(b[e]){b[e].push(a);return}var s,n;if(t!==void 0)for(var d=document.getElementsByTagName("script"),l=0;l0})),Ko=$o({routesById:oa,routeComponents:za,parentId:To.id,loadingComponent:$r.loadingComponent,reactRouter5Compat:$r.reactRouter5Compat});return Ko.length>0&&(To.children=Ko,To.routes=Ko),To})}function si($r){var oa=(0,So.useParams)(),Ta=(0,qr.Z)((0,qr.Z)({},$r),{},{to:(0,So.generatePath)($r.to,oa)});return Ca.createElement(So.Navigate,(0,ao.Z)({replace:!0},Ta))}function ai($r){var oa=$r.route,Ta=oa.redirect,za=(0,ei.Z)(oa,Go),La=$r.reactRouter5Compat?Pi:Ei;return(0,qr.Z)({element:Ta?Ca.createElement(si,{to:Ta}):Ca.createElement(hi.Provider,{value:{route:$r.route}},Ca.createElement(La,{loader:Ca.memo($r.routeComponent),loadingComponent:$r.loadingComponent||Si,hasChildren:$r.hasChildren}))},za)}function Si(){return Ca.createElement("div",null)}function Pi($r){var oa=wi(),Ta=oa.route,za=(0,Xo.Ov)(),La=za.history,To=za.clientRoutes,Ko=(0,So.useParams)(),ko={params:Ko,isExact:!0,path:Ta.path,url:La.location.pathname},Li=$r.loader;return Ca.createElement(Ca.Suspense,{fallback:Ca.createElement($r.loadingComponent,null)},Ca.createElement(Li,{location:La.location,match:ko,history:La,params:Ko,route:Ta,routes:To},$r.hasChildren&&Ca.createElement(So.Outlet,null)))}function Ei($r){var oa=$r.loader;return Ca.createElement(Ca.Suspense,{fallback:Ca.createElement($r.loadingComponent,null)},Ca.createElement(oa,null))}var to=null;function Ga(){return to}function Jo($r){var oa=$r.history,Ta=Ca.useState({action:oa.action,location:oa.location}),za=so(Ta,2),La=za[0],To=za[1];return(0,Ca.useLayoutEffect)(function(){return oa.listen(To)},[oa]),(0,Ca.useLayoutEffect)(function(){function Ko(ko){$r.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:$r.routes,clientRoutes:$r.clientRoutes,location:ko.location,action:ko.action,basename:$r.basename,isFirst:!!ko.isFirst}})}oa.listen(Ko),Ko({location:La.location,action:La.action,isFirst:!0})},[oa,$r.routes,$r.clientRoutes]),Ca.createElement(So.Router,{navigator:oa,location:La.location,basename:$r.basename},$r.children)}function ti(){var $r=(0,Xo.Ov)(),oa=$r.clientRoutes;return(0,So.useRoutes)(oa)}var Io=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ro=function(oa,Ta){var za=oa.basename||"/",La=$o({routesById:oa.routes,routeComponents:oa.routeComponents,loadingComponent:oa.loadingComponent,reactRouter5Compat:oa.reactRouter5Compat});oa.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:La}});for(var To=Ca.createElement(Jo,{basename:za,pluginManager:oa.pluginManager,routes:oa.routes,clientRoutes:La,history:oa.history},Ta),Ko=0,ko=Io;Ko=0)&&(n[l]=o[l]);return n}function t(o,s){if(o==null)return{};var n=a(o,s),d,l;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(o);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(o,d)&&(n[d]=o[d])}return n}},74632:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(38790);function t(){"use strict";t=function(){return s};var o,s={},n=Object.prototype,d=n.hasOwnProperty,l=Object.defineProperty||function(U,A,G){U[A]=G.value},c=typeof Symbol=="function"?Symbol:{},m=c.iterator||"@@iterator",g=c.asyncIterator||"@@asyncIterator",M=c.toStringTag||"@@toStringTag";function h(U,A,G){return Object.defineProperty(U,A,{value:G,enumerable:!0,configurable:!0,writable:!0}),U[A]}try{h({},"")}catch(U){h=function(G,fe,pe){return G[fe]=pe}}function S(U,A,G,fe){var pe=A&&A.prototype instanceof $?A:$,ge=Object.create(pe.prototype),be=new O(fe||[]);return l(ge,"_invoke",{value:le(U,G,be)}),ge}function w(U,A,G){try{return{type:"normal",arg:U.call(A,G)}}catch(fe){return{type:"throw",arg:fe}}}s.wrap=S;var C="suspendedStart",F="suspendedYield",Z="executing",N="completed",L={};function $(){}function D(){}function T(){}var j={};h(j,m,function(){return this});var K=Object.getPrototypeOf,k=K&&K(K(_([])));k&&k!==n&&d.call(k,m)&&(j=k);var te=T.prototype=$.prototype=Object.create(j);function V(U){["next","throw","return"].forEach(function(A){h(U,A,function(G){return this._invoke(A,G)})})}function q(U,A){function G(pe,ge,be,Te){var Ge=w(U[pe],U,ge);if(Ge.type!=="throw"){var Je=Ge.arg,Qe=Je.value;return Qe&&(0,a.Z)(Qe)=="object"&&d.call(Qe,"__await")?A.resolve(Qe.__await).then(function(pt){G("next",pt,be,Te)},function(pt){G("throw",pt,be,Te)}):A.resolve(Qe).then(function(pt){Je.value=pt,be(Je)},function(pt){return G("throw",pt,be,Te)})}Te(Ge.arg)}var fe;l(this,"_invoke",{value:function(ge,be){function Te(){return new A(function(Ge,Je){G(ge,be,Ge,Je)})}return fe=fe?fe.then(Te,Te):Te()}})}function le(U,A,G){var fe=C;return function(pe,ge){if(fe===Z)throw new Error("Generator is already running");if(fe===N){if(pe==="throw")throw ge;return{value:o,done:!0}}for(G.method=pe,G.arg=ge;;){var be=G.delegate;if(be){var Te=X(be,G);if(Te){if(Te===L)continue;return Te}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(fe===C)throw fe=N,G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);fe=Z;var Ge=w(U,A,G);if(Ge.type==="normal"){if(fe=G.done?N:F,Ge.arg===L)continue;return{value:Ge.arg,done:G.done}}Ge.type==="throw"&&(fe=N,G.method="throw",G.arg=Ge.arg)}}}function X(U,A){var G=A.method,fe=U.iterator[G];if(fe===o)return A.delegate=null,G==="throw"&&U.iterator.return&&(A.method="return",A.arg=o,X(U,A),A.method==="throw")||G!=="return"&&(A.method="throw",A.arg=new TypeError("The iterator does not provide a '"+G+"' method")),L;var pe=w(fe,U.iterator,A.arg);if(pe.type==="throw")return A.method="throw",A.arg=pe.arg,A.delegate=null,L;var ge=pe.arg;return ge?ge.done?(A[U.resultName]=ge.value,A.next=U.nextLoc,A.method!=="return"&&(A.method="next",A.arg=o),A.delegate=null,L):ge:(A.method="throw",A.arg=new TypeError("iterator result is not an object"),A.delegate=null,L)}function W(U){var A={tryLoc:U[0]};1 in U&&(A.catchLoc=U[1]),2 in U&&(A.finallyLoc=U[2],A.afterLoc=U[3]),this.tryEntries.push(A)}function x(U){var A=U.completion||{};A.type="normal",delete A.arg,U.completion=A}function O(U){this.tryEntries=[{tryLoc:"root"}],U.forEach(W,this),this.reset(!0)}function _(U){if(U||U===""){var A=U[m];if(A)return A.call(U);if(typeof U.next=="function")return U;if(!isNaN(U.length)){var G=-1,fe=function pe(){for(;++G=0;--pe){var ge=this.tryEntries[pe],be=ge.completion;if(ge.tryLoc==="root")return fe("end");if(ge.tryLoc<=this.prev){var Te=d.call(ge,"catchLoc"),Ge=d.call(ge,"finallyLoc");if(Te&&Ge){if(this.prev=0;--fe){var pe=this.tryEntries[fe];if(pe.tryLoc<=this.prev&&d.call(pe,"finallyLoc")&&this.prev=0;--G){var fe=this.tryEntries[G];if(fe.finallyLoc===A)return this.complete(fe.completion,fe.afterLoc),x(fe),L}},catch:function(A){for(var G=this.tryEntries.length-1;G>=0;--G){var fe=this.tryEntries[G];if(fe.tryLoc===A){var pe=fe.completion;if(pe.type==="throw"){var ge=pe.arg;x(fe)}return ge}}throw new Error("illegal catch attempt")},delegateYield:function(A,G,fe){return this.delegate={iterator:_(A),resultName:G,nextLoc:fe},this.method==="next"&&(this.arg=o),L}},s}},28314:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(5563);function t(d,l){var c=d==null?null:typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(c!=null){var m,g,M,h,S=[],w=!0,C=!1;try{if(M=(c=c.call(d)).next,l===0){if(Object(c)!==c)return;w=!1}else for(;!(w=(m=M.call(c)).done)&&(S.push(m.value),S.length!==l);w=!0);}catch(F){C=!0,g=F}finally{try{if(!w&&c.return!=null&&(h=c.return(),Object(h)!==h))return}finally{if(C)throw g}}return S}}var o=e(25516),s=e(53373);function n(d,l){return(0,a.Z)(d)||t(d,l)||(0,o.Z)(d,l)||(0,s.Z)()}},6747:function(b,y,e){"use strict";e.d(y,{Z:function(){return n}});var a=e(5563),t=e(10443),o=e(25516),s=e(53373);function n(d){return(0,a.Z)(d)||(0,t.Z)(d)||(0,o.Z)(d)||(0,s.Z)()}},29140:function(b,y,e){"use strict";e.d(y,{Z:function(){return d}});var a=e(41437);function t(l){if(Array.isArray(l))return(0,a.Z)(l)}var o=e(10443),s=e(25516);function n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(l){return t(l)||(0,o.Z)(l)||(0,s.Z)(l)||n()}},70794:function(b,y,e){"use strict";e.d(y,{Z:function(){return o}});var a=e(38790);function t(s,n){if((0,a.Z)(s)!=="object"||s===null)return s;var d=s[Symbol.toPrimitive];if(d!==void 0){var l=d.call(s,n||"default");if((0,a.Z)(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(s)}function o(s){var n=t(s,"string");return(0,a.Z)(n)==="symbol"?n:String(n)}},38790:function(b,y,e){"use strict";e.d(y,{Z:function(){return a}});function a(t){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},a(t)}},25516:function(b,y,e){"use strict";e.d(y,{Z:function(){return t}});var a=e(41437);function t(o,s){if(o){if(typeof o=="string")return(0,a.Z)(o,s);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,a.Z)(o,s)}}},18591:function(b,y,e){"use strict";e.d(y,{Z:function(){return c}});const a=m=>typeof m=="object"&&m!=null&&m.nodeType===1,t=(m,g)=>(!g||m!=="hidden")&&m!=="visible"&&m!=="clip",o=(m,g)=>{if(m.clientHeight{const S=(w=>{if(!w.ownerDocument||!w.ownerDocument.defaultView)return null;try{return w.ownerDocument.defaultView.frameElement}catch(C){return null}})(h);return!!S&&(S.clientHeightwg||w>m&&C=g&&F>=M?w-m-h:C>g&&FM?C-g+S:0,n=m=>{const g=m.parentElement;return g==null?m.getRootNode().host||null:g},d=(m,g)=>{var M,h,S,w;if(typeof document=="undefined")return[];const{scrollMode:C,block:F,inline:Z,boundary:N,skipOverflowHiddenElements:L}=g,$=typeof N=="function"?N:G=>G!==N;if(!a(m))throw new TypeError("Invalid target");const D=document.scrollingElement||document.documentElement,T=[];let j=m;for(;a(j)&&$(j);){if(j=n(j),j===D){T.push(j);break}j!=null&&j===document.body&&o(j)&&!o(document.documentElement)||j!=null&&o(j,L)&&T.push(j)}const K=(h=(M=window.visualViewport)==null?void 0:M.width)!=null?h:innerWidth,k=(w=(S=window.visualViewport)==null?void 0:S.height)!=null?w:innerHeight,{scrollX:te,scrollY:V}=window,{height:q,width:le,top:X,right:W,bottom:x,left:O}=m.getBoundingClientRect();let _=F==="start"||F==="nearest"?X:F==="end"?x:X+q/2,U=Z==="center"?O+le/2:Z==="end"?W:O;const A=[];for(let G=0;G=0&&O>=0&&x<=k&&W<=K&&X>=be&&x<=Ge&&O>=Je&&W<=Te)return A;const Qe=getComputedStyle(fe),pt=parseInt(Qe.borderLeftWidth,10),Et=parseInt(Qe.borderTopWidth,10),ft=parseInt(Qe.borderRightWidth,10),Wt=parseInt(Qe.borderBottomWidth,10);let $e=0,Xe=0;const nt="offsetWidth"in fe?fe.offsetWidth-fe.clientWidth-pt-ft:0,Ke="offsetHeight"in fe?fe.offsetHeight-fe.clientHeight-Et-Wt:0,ye="offsetWidth"in fe?fe.offsetWidth===0?0:ge/fe.offsetWidth:0,ne="offsetHeight"in fe?fe.offsetHeight===0?0:pe/fe.offsetHeight:0;if(D===fe)$e=F==="start"?_:F==="end"?_-k:F==="nearest"?s(V,V+k,k,Et,Wt,V+_,V+_+q,q):_-k/2,Xe=Z==="start"?U:Z==="center"?U-K/2:Z==="end"?U-K:s(te,te+K,K,pt,ft,te+U,te+U+le,le),$e=Math.max(0,$e+V),Xe=Math.max(0,Xe+te);else{$e=F==="start"?_-be-Et:F==="end"?_-Ge+Wt+Ke:F==="nearest"?s(be,Ge,pe,Et,Wt+Ke,_,_+q,q):_-(be+pe/2)+Ke/2,Xe=Z==="start"?U-Je-pt:Z==="center"?U-(Je+ge/2)+nt/2:Z==="end"?U-Te+ft+nt:s(Je,Te,ge,pt,ft+nt,U,U+le,le);const{scrollLeft:H,scrollTop:R}=fe;$e=Math.max(0,Math.min(R+$e/ne,fe.scrollHeight-pe/ne+Ke)),Xe=Math.max(0,Math.min(H+Xe/ye,fe.scrollWidth-ge/ye+nt)),_+=R-$e,U+=H-Xe}A.push({el:fe,top:$e,left:Xe})}return A},l=m=>m===!1?{block:"end",inline:"nearest"}:(g=>g===Object(g)&&Object.keys(g).length!==0)(m)?m:{block:"start",inline:"nearest"};function c(m,g){if(!m.isConnected||!(h=>{let S=h;for(;S&&S.parentNode;){if(S.parentNode===document)return!0;S=S.parentNode instanceof ShadowRoot?S.parentNode.host:S.parentNode}return!1})(m))return;if((h=>typeof h=="object"&&typeof h.behavior=="function")(g))return g.behavior(d(m,g));const M=typeof g=="boolean"||g==null?void 0:g.behavior;for(const{el:h,top:S,left:w}of d(m,l(g)))h.scroll({top:S,left:w,behavior:M})}},70989:function(b,y,e){"use strict";e.d(y,{D:function(){return t}});function a(o,s,n){var d=n||{},l=d.noTrailing,c=l===void 0?!1:l,m=d.noLeading,g=m===void 0?!1:m,M=d.debounceMode,h=M===void 0?void 0:M,S,w=!1,C=0;function F(){S&&clearTimeout(S)}function Z(L){var $=L||{},D=$.upcomingOnly,T=D===void 0?!1:D;F(),w=!T}function N(){for(var L=arguments.length,$=new Array(L),D=0;Do?g?(C=Date.now(),c||(S=setTimeout(h?k:K,o))):K():c!==!0&&(S=setTimeout(h?k:K,h===void 0?o-j:o))}return N.cancel=Z,N}function t(o,s,n){var d=n||{},l=d.atBegin,c=l===void 0?!1:l;return a(o,s,{debounceMode:c!==!1})}},43112:function(b,y,e){"use strict";e.d(y,{CR:function(){return Z},Jh:function(){return S},XA:function(){return F},_T:function(){return s},ev:function(){return $},mG:function(){return h},pi:function(){return o}});var a=function(A,G){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,pe){fe.__proto__=pe}||function(fe,pe){for(var ge in pe)Object.prototype.hasOwnProperty.call(pe,ge)&&(fe[ge]=pe[ge])},a(A,G)};function t(A,G){if(typeof G!="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");a(A,G);function fe(){this.constructor=A}A.prototype=G===null?Object.create(G):(fe.prototype=G.prototype,new fe)}var o=function(){return o=Object.assign||function(G){for(var fe,pe=1,ge=arguments.length;pe=0;Ge--)(Te=A[Ge])&&(be=(ge<3?Te(be):ge>3?Te(G,fe,be):Te(G,fe))||be);return ge>3&&be&&Object.defineProperty(G,fe,be),be}function d(A,G){return function(fe,pe){G(fe,pe,A)}}function l(A,G,fe,pe,ge,be){function Te(Ke){if(Ke!==void 0&&typeof Ke!="function")throw new TypeError("Function expected");return Ke}for(var Ge=pe.kind,Je=Ge==="getter"?"get":Ge==="setter"?"set":"value",Qe=!G&&A?pe.static?A:A.prototype:null,pt=G||(Qe?Object.getOwnPropertyDescriptor(Qe,pe.name):{}),Et,ft=!1,Wt=fe.length-1;Wt>=0;Wt--){var $e={};for(var Xe in pe)$e[Xe]=Xe==="access"?{}:pe[Xe];for(var Xe in pe.access)$e.access[Xe]=pe.access[Xe];$e.addInitializer=function(Ke){if(ft)throw new TypeError("Cannot add initializers after decoration has completed");be.push(Te(Ke||null))};var nt=(0,fe[Wt])(Ge==="accessor"?{get:pt.get,set:pt.set}:pt[Je],$e);if(Ge==="accessor"){if(nt===void 0)continue;if(nt===null||typeof nt!="object")throw new TypeError("Object expected");(Et=Te(nt.get))&&(pt.get=Et),(Et=Te(nt.set))&&(pt.set=Et),(Et=Te(nt.init))&&ge.unshift(Et)}else(Et=Te(nt))&&(Ge==="field"?ge.unshift(Et):pt[Je]=Et)}Qe&&Object.defineProperty(Qe,pe.name,pt),ft=!0}function c(A,G,fe){for(var pe=arguments.length>2,ge=0;ge0&&be[be.length-1])&&(Qe[0]===6||Qe[0]===2)){fe=0;continue}if(Qe[0]===3&&(!be||Qe[1]>be[0]&&Qe[1]=A.length&&(A=void 0),{value:A&&A[pe++],done:!A}}};throw new TypeError(G?"Object is not iterable.":"Symbol.iterator is not defined.")}function Z(A,G){var fe=typeof Symbol=="function"&&A[Symbol.iterator];if(!fe)return A;var pe=fe.call(A),ge,be=[],Te;try{for(;(G===void 0||G-- >0)&&!(ge=pe.next()).done;)be.push(ge.value)}catch(Ge){Te={error:Ge}}finally{try{ge&&!ge.done&&(fe=pe.return)&&fe.call(pe)}finally{if(Te)throw Te.error}}return be}function N(){for(var A=[],G=0;G1||Ge(ft,Wt)})})}function Ge(ft,Wt){try{Je(pe[ft](Wt))}catch($e){Et(be[0][3],$e)}}function Je(ft){ft.value instanceof D?Promise.resolve(ft.value.v).then(Qe,pt):Et(be[0][2],ft)}function Qe(ft){Ge("next",ft)}function pt(ft){Ge("throw",ft)}function Et(ft,Wt){ft(Wt),be.shift(),be.length&&Ge(be[0][0],be[0][1])}}function j(A){var G,fe;return G={},pe("next"),pe("throw",function(ge){throw ge}),pe("return"),G[Symbol.iterator]=function(){return this},G;function pe(ge,be){G[ge]=A[ge]?function(Te){return(fe=!fe)?{value:D(A[ge](Te)),done:!1}:be?be(Te):Te}:be}}function K(A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var G=A[Symbol.asyncIterator],fe;return G?G.call(A):(A=typeof F=="function"?F(A):A[Symbol.iterator](),fe={},pe("next"),pe("throw"),pe("return"),fe[Symbol.asyncIterator]=function(){return this},fe);function pe(be){fe[be]=A[be]&&function(Te){return new Promise(function(Ge,Je){Te=A[be](Te),ge(Ge,Je,Te.done,Te.value)})}}function ge(be,Te,Ge,Je){Promise.resolve(Je).then(function(Qe){be({value:Qe,done:Ge})},Te)}}function k(A,G){return Object.defineProperty?Object.defineProperty(A,"raw",{value:G}):A.raw=G,A}var te=Object.create?function(A,G){Object.defineProperty(A,"default",{enumerable:!0,value:G})}:function(A,G){A.default=G};function V(A){if(A&&A.__esModule)return A;var G={};if(A!=null)for(var fe in A)fe!=="default"&&Object.prototype.hasOwnProperty.call(A,fe)&&w(G,A,fe);return te(G,A),G}function q(A){return A&&A.__esModule?A:{default:A}}function le(A,G,fe,pe){if(fe==="a"&&!pe)throw new TypeError("Private accessor was defined without a getter");if(typeof G=="function"?A!==G||!pe:!G.has(A))throw new TypeError("Cannot read private member from an object whose class did not declare it");return fe==="m"?pe:fe==="a"?pe.call(A):pe?pe.value:G.get(A)}function X(A,G,fe,pe,ge){if(pe==="m")throw new TypeError("Private method is not writable");if(pe==="a"&&!ge)throw new TypeError("Private accessor was defined without a setter");if(typeof G=="function"?A!==G||!ge:!G.has(A))throw new TypeError("Cannot write private member to an object whose class did not declare it");return pe==="a"?ge.call(A,fe):ge?ge.value=fe:G.set(A,fe),fe}function W(A,G){if(G===null||typeof G!="object"&&typeof G!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof A=="function"?G===A:A.has(G)}function x(A,G,fe){if(G!=null){if(typeof G!="object"&&typeof G!="function")throw new TypeError("Object expected.");var pe;if(fe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");pe=G[Symbol.asyncDispose]}if(pe===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");pe=G[Symbol.dispose]}if(typeof pe!="function")throw new TypeError("Object not disposable.");A.stack.push({value:G,dispose:pe,async:fe})}else fe&&A.stack.push({async:!0});return G}var O=typeof SuppressedError=="function"?SuppressedError:function(A,G,fe){var pe=new Error(fe);return pe.name="SuppressedError",pe.error=A,pe.suppressed=G,pe};function _(A){function G(pe){A.error=A.hasError?new O(pe,A.error,"An error was suppressed during disposal."):pe,A.hasError=!0}function fe(){for(;A.stack.length;){var pe=A.stack.pop();try{var ge=pe.dispose&&pe.dispose.call(pe.value);if(pe.async)return Promise.resolve(ge).then(fe,function(be){return G(be),fe()})}catch(be){G(be)}}if(A.hasError)throw A.error}return fe()}var U={__extends:t,__assign:o,__rest:s,__decorate:n,__param:d,__metadata:M,__awaiter:h,__generator:S,__createBinding:w,__exportStar:C,__values:F,__read:Z,__spread:N,__spreadArrays:L,__spreadArray:$,__await:D,__asyncGenerator:T,__asyncDelegator:j,__asyncValues:K,__makeTemplateObject:k,__importStar:V,__importDefault:q,__classPrivateFieldGet:le,__classPrivateFieldSet:X,__classPrivateFieldIn:W,__addDisposableResource:x,__disposeResources:_}}},Yl={};function Tt(b){var y=Yl[b];if(y!==void 0)return y.exports;var e=Yl[b]={id:b,loaded:!1,exports:{}};return xu[b].call(e.exports,e,e.exports,Tt),e.loaded=!0,e.exports}Tt.m=xu,function(){Tt.n=function(b){var y=b&&b.__esModule?function(){return b.default}:function(){return b};return Tt.d(y,{a:y}),y}}(),function(){var b=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y;Tt.t=function(e,a){if(a&1&&(e=this(e)),a&8||typeof e=="object"&&e&&(a&4&&e.__esModule||a&16&&typeof e.then=="function"))return e;var t=Object.create(null);Tt.r(t);var o={};y=y||[null,b({}),b([]),b(b)];for(var s=a&2&&e;typeof s=="object"&&!~y.indexOf(s);s=b(s))Object.getOwnPropertyNames(s).forEach(function(n){o[n]=function(){return e[n]}});return o.default=function(){return e},Tt.d(t,o),t}}(),function(){Tt.d=function(b,y){for(var e in y)Tt.o(y,e)&&!Tt.o(b,e)&&Object.defineProperty(b,e,{enumerable:!0,get:y[e]})}}(),function(){Tt.f={},Tt.e=function(b){return Promise.all(Object.keys(Tt.f).reduce(function(y,e){return Tt.f[e](b,y),y},[]))}}(),function(){Tt.u=function(b){return""+({33:"p__Dataset__index",69:"p__Project__Detail__index",109:"p__DatasetList__index",301:"t__plugin-layout__Layout",358:"p__Lab__index",397:"p__Lab__FlagTool__index",571:"p__404",605:"p__Lab__Datasets__index",717:"layouts__index",721:"p__Project__index",734:"p__Annotator__index",739:"p__Login__index",899:"wrappers__auth",914:"p__Project__Workspace__index"}[b]||b)+"."+{7:"e4c5d564",9:"9f27f1a0",20:"85fcbb81",33:"419888be",69:"f6bb0552",109:"91c4bfd3",124:"69a3d116",222:"33ccd216",233:"3d91ac9a",301:"2ad2010d",358:"5de6b129",397:"c0cac9b9",422:"f952182a",571:"0f1cb5ec",605:"6cbc99df",717:"f60cee94",721:"88bd2c95",734:"1fc40bde",739:"572dbaae",742:"bbe64d32",845:"7d656ce9",851:"1072d61f",899:"d0b0c30b",914:"2c2baf46"}[b]+".async.js"}}(),function(){Tt.miniCssF=function(b){return""+{33:"p__Dataset__index",69:"p__Project__Detail__index",109:"p__DatasetList__index",301:"t__plugin-layout__Layout",358:"p__Lab__index",397:"p__Lab__FlagTool__index",605:"p__Lab__Datasets__index",717:"layouts__index",721:"p__Project__index",739:"p__Login__index",914:"p__Project__Workspace__index"}[b]+"."+{33:"c6647b2a",69:"9b99b574",109:"cbd96143",301:"8f39539f",358:"28ea9971",397:"c0569e06",605:"e9f4c3ea",717:"cf0de806",721:"711b5411",739:"26727079",914:"983f52a6"}[b]+".chunk.css"}}(),function(){Tt.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(b){if(typeof window=="object")return window}}()}(),function(){Tt.hmd=function(b){return b=Object.create(b),b.children||(b.children=[]),Object.defineProperty(b,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+b.id)}}),b}}(),function(){Tt.o=function(b,y){return Object.prototype.hasOwnProperty.call(b,y)}}(),function(){var b={},y="app:";Tt.l=function(e,a,t,o){if(b[e]){b[e].push(a);return}var s,n;if(t!==void 0)for(var d=document.getElementsByTagName("script"),l=0;l0})),Yo=Bo({routesById:ra,routeComponents:Ra,parentId:To.id,loadingComponent:Br.loadingComponent,reactRouter5Compat:Br.reactRouter5Compat});return Yo.length>0&&(To.children=Yo,To.routes=Yo),To})}function oi(Br){var ra=(0,Mo.useParams)(),ja=(0,qr.Z)((0,qr.Z)({},Br),{},{to:(0,Mo.generatePath)(Br.to,ra)});return Sa.createElement(Mo.Navigate,(0,ao.Z)({replace:!0},ja))}function ri(Br){var ra=Br.route,ja=ra.redirect,Ra=(0,Jo.Z)(ra,_o),Pa=Br.reactRouter5Compat?Ni:Ei;return(0,qr.Z)({element:ja?Sa.createElement(oi,{to:ja}):Sa.createElement(yi.Provider,{value:{route:Br.route}},Sa.createElement(Pa,{loader:Sa.memo(Br.routeComponent),loadingComponent:Br.loadingComponent||Si,hasChildren:Br.hasChildren}))},Ra)}function Si(){return Sa.createElement("div",null)}function Ni(Br){var ra=ji(),ja=ra.route,Ra=(0,Ko.Ov)(),Pa=Ra.history,To=Ra.clientRoutes,Yo=(0,Mo.useParams)(),Zo={params:Yo,isExact:!0,path:ja.path,url:Pa.location.pathname},zi=Br.loader;return Sa.createElement(Sa.Suspense,{fallback:Sa.createElement(Br.loadingComponent,null)},Sa.createElement(zi,{location:Pa.location,match:Zo,history:Pa,params:Yo,route:ja,routes:To},Br.hasChildren&&Sa.createElement(Mo.Outlet,null)))}function Ei(Br){var ra=Br.loader;return Sa.createElement(Sa.Suspense,{fallback:Sa.createElement(Br.loadingComponent,null)},Sa.createElement(ra,null))}var to=null;function Ga(){return to}function Qo(Br){var ra=Br.history,ja=Sa.useState({action:ra.action,location:ra.location}),Ra=so(ja,2),Pa=Ra[0],To=Ra[1];return(0,Sa.useLayoutEffect)(function(){return ra.listen(To)},[ra]),(0,Sa.useLayoutEffect)(function(){function Yo(Zo){Br.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Br.routes,clientRoutes:Br.clientRoutes,location:Zo.location,action:Zo.action,basename:Br.basename,isFirst:!!Zo.isFirst}})}ra.listen(Yo),Yo({location:Pa.location,action:Pa.action,isFirst:!0})},[ra,Br.routes,Br.clientRoutes]),Sa.createElement(Mo.Router,{navigator:ra,location:Pa.location,basename:Br.basename},Br.children)}function qo(){var Br=(0,Ko.Ov)(),ra=Br.clientRoutes;return(0,Mo.useRoutes)(ra)}var xo=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Ro=function(ra,ja){var Ra=ra.basename||"/",Pa=Bo({routesById:ra.routes,routeComponents:ra.routeComponents,loadingComponent:ra.loadingComponent,reactRouter5Compat:ra.reactRouter5Compat});ra.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Pa}});for(var To=Sa.createElement(Qo,{basename:Ra,pluginManager:ra.pluginManager,routes:ra.routes,clientRoutes:Pa,history:ra.history},ja),Yo=0,Zo=xo;Yo*:first-child>img{height:40px}#root .ant-image-preview-mask{z-index:900!important}#root .ant-image-preview-wrap{z-index:901!important}#root .ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding:0!important}#root .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:0!important}#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{cursor:pointer!important}#root .ant-pro .ant-pro-layout .ant-pro-layout-content{margin-block:0;margin-inline:0}#root .ant-table-tbody>tr>td>.ant-space{flex-wrap:wrap}#root .ant-table-pagination.ant-pagination{margin:16px 0}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type="range"]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.dds-lang-selector{height:34px;padding:4px 8px}.dds-lang-selector div{position:relative;width:1.2em;height:1.2em}.dds-lang-selector .cur-lang{position:absolute;font-size:1.2em;line-height:1;left:-5%;top:0;transform:scale(.7);transform-origin:0 0;z-index:1}.dds-lang-selector .cur-lang-light{color:#fff;border:1px solid rgba(0,0,0,.88);background-color:#000000e0}.dds-lang-selector .cur-lang-dark{color:#000;border:1px solid rgba(255,255,255,.88);background-color:#ffffffe0}.dds-lang-selector .change-lang{position:absolute;font-size:1.2em;line-height:1;right:-5%;bottom:0;transform:scale(.5);transform-origin:100% 100%;z-index:0}.dds-lang-selector .change-lang-light{color:#000000e0;border:1px solid rgba(0,0,0,.88)}.dds-lang-selector .change-lang-dark{color:#ffffffe0;border:1px solid rgba(255,255,255,.88)}.dds-column-settings-panel{display:flex;flex-direction:column;padding:0 16px 24px;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 2px 8px #00000026;max-height:400px;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-column-settings-panel::-webkit-scrollbar{display:none}.dds-column-settings-panel .item-title{margin:24px 0;font-size:14px;line-height:22px;color:#000}.dds-column-settings-panel .item-content{display:flex;justify-content:center}.dds-column-settings-panel .slider{width:168px;margin-right:26px}.dds-column-settings-panel .num-box{display:flex;align-items:center;justify-content:center;width:94px;height:26px;border:1px solid #d9d9d9;box-shadow:0 2px #00000004;border-radius:2px 0 0 2px}.dds-column-settings-panel .num-box .num{margin:0 8px;width:32px;height:26px;line-height:26px;text-align:center;color:#262626;border:1px solid #d9d9d9}.dds-column-settings-panel .num-box svg{width:16px;height:16px;cursor:pointer}.dds-column-settings-btn{display:flex;justify-content:center;align-items:center;margin-left:16px;width:32px;height:32px;background:#f5f5f5;cursor:pointer}.dds-dynamic-pagination{position:absolute;bottom:0;left:0;margin:20px 0;width:100%;display:flex;justify-content:center}.dds-dynamic-pagination .pagesize-wrap{display:flex;align-items:center;justify-content:center;margin:0 16px}.dds-dynamic-pagination .pagesize-wrap .pagesize-label{color:#000000e0;font-size:14px}.dds-dynamic-pagination .pagesize-wrap .ant-input-number{margin-left:8px}.dds-annotator-attributes-form{width:100%;padding:12px 12px 0}.dds-annotator-attributes-form .ant-form-item{margin-bottom:14px}.dds-annotator-attributes-form .ant-form-item-label{font-weight:500}.dds-annotator-attributes-form .ant-input{border-color:#1e53f5}.dds-annotator-attributes-form-item-title{display:flex;align-items:center}.dds-annotator-attributes-form-item-title-btn{margin-left:12px;height:24px;border:0;display:flex;align-items:center;justify-items:center}.dds-annotator-attributes-form-item-title-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-attributes-form-item-title .attribute-warn{fill:#f53f3f}.dds-annotator-attributes-form-dark .ant-form-item-label>label{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper .ant-radio-disabled .ant-radio-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled .ant-checkbox-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled+span{color:#fff}.dds-annotator-attributes-form-dark .ant-input{color:#fff;background-color:transparent}.dds-annotator-attributes-form-dark .ant-input::placeholder{color:#ffffff4d}.dds-annotator-attribute-editor{position:absolute;right:1rem;top:1rem;width:320px;box-shadow:2px 2px 12px 3px #0009;opacity:1;pointer-events:all;z-index:99}.dds-annotator-attribute-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-attribute-editor .ant-card-body{padding:0 4px}.dds-annotator-attribute-editor-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-attribute-editor-title-btn{border:0}.dds-annotator-attribute-editor-title-btn:hover{background-color:#fff3!important}.dds-annotator-attribute-editor-title-btn:hover svg{color:#fff}.dds-annotator-attribute-editor-content{display:flex;flex-direction:column;align-items:flex-end}.dds-annotator-attribute-editor-actions{padding:0 12px 12px}.dds-annotator-attribute-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-classification{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-classification::-webkit-scrollbar{display:none}.dds-annotator-classification .ant-tabs{color:#ffffff80}.dds-annotator-classification .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-classification .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-classification .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-classification .ant-tabs-ink-bar{background:transparent}.dds-annotator-classification .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-classification .ant-tabs-nav:before{display:none}.dds-annotator-classification .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%);border:0}.dds-annotator-imageview-reload-cover{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.dds-annotator-imageview-reload-cover img{display:block;position:absolute;left:0;top:0;width:100%;height:100%}.dds-annotator-imageview-reload-cover svg{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dds-annotator-imageview-reload-cover .content-box{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f0f0f080}.dds-annotator-imageview-reload-cover .reload-trigger{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0}.dds-annotator-imageview-reload-cover .reload-trigger span{width:24px;height:24px}.dds-annotator-imageview-canvas{position:absolute;left:0;top:0}.dds-annotator-model-selector-modal{display:flex;align-items:center;justify-content:space-between}.dds-annotator-model-selector-modal-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:30px;padding-bottom:20px;padding-inline:5px;margin-block:10px;width:220px;height:200px;border:.5px solid #d6d6d6}.dds-annotator-model-selector-modal-option-icon svg{width:55px;height:55px}.dds-annotator-model-selector-modal-option-name{text-align:center;color:#000;font-size:18px;font-weight:500;user-select:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:90%}.dds-annotator-model-selector-modal-option-description{text-align:center;color:#0006;font-size:12px;font-weight:400;text-overflow:ellipsis;user-select:none}.dds-annotator-model-selector-modal-option-tag{position:absolute;top:10px;right:10px;margin:0}.dds-annotator-model-selector-modal-option:hover{background:rgba(185,206,255,.11);box-shadow:0 4px 4px #00000040}.dds-annotator-model-selector-modal-option-hightlight{border:1px solid #165cff5f;box-shadow:0 1px 2px #00000040;background:rgba(185,206,255,.3)}.dds-annotator-objectlist{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-objectlist::-webkit-scrollbar{display:none}.dds-annotator-objectlist .ant-tabs{color:#ffffff80}.dds-annotator-objectlist .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-objectlist .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-objectlist .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-objectlist .ant-tabs-ink-bar{background:transparent}.dds-annotator-objectlist .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-objectlist .ant-tabs-nav:before{display:none}.dds-annotator-objectlist .ant-collapse-item{scroll-margin:48px 0 0 0}.dds-annotator-objectlist .ant-list{color:#fff}.dds-annotator-objectlist .ant-list-item{padding:0;color:#fff}.dds-annotator-objectlist .objects-selector{width:144px;color:#fff;text-align:left;padding:0}.dds-annotator-objectlist .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#fff}.dds-annotator-objectlist .objects-select-popup{background:#050505;color:#fff;border-radius:1px;padding:0;margin-top:-10px}.dds-annotator-objectlist .objects-select-popup .ant-select-item{color:#fff;text-align:left}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#4c4c4c}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#fff;font-weight:600;background-color:#050505}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item{background:rgba(0,0,0,.3);color:#ffffffe6;border-color:#ffffffb3}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item-remove{color:#ffffffb3}.dds-annotator-objectlist .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-header-actions button{border:0}.dds-annotator-objectlist .tab-header-actions-color-btn{width:28px;height:28px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px;box-shadow:unset}.dds-annotator-objectlist .tab-header-actions-color-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-objectlist .tab-header-actions-color-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-objectlist .tab-collapse{width:100%}.dds-annotator-objectlist .tab-collapse .collapse-header{position:relative;display:flex;align-items:center;padding:0;width:256px;font-size:14px;color:#fff;background:#1f1f1f}.dds-annotator-objectlist .tab-collapse .collapse-header .label-name{margin:0 15px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-header .label-count{display:inline-block;padding-inline:5px;margin-inline:10px;height:25px;min-width:25px;line-height:25px;border-radius:5px;background-color:#236bf7;font-size:12px;text-align:center}.dds-annotator-objectlist .tab-collapse .collapse-header .selected-line{position:absolute;left:0;top:0;width:4px;height:100%}.dds-annotator-objectlist .tab-collapse .collapse-header .label-icon{margin-left:14px;margin-right:14px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-header .label-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-collapse .collapse-header .label-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-header .down-arrow{transform:rotate(180deg);width:10px;height:10px}.dds-annotator-objectlist .tab-collapse .collapseHeader:hover{background-color:#4b4f52}.dds-annotator-objectlist .tab-collapse .collapse-header-selected .arrow{transform:rotate(0)}.dds-annotator-objectlist .tab-collapse .collapse-item{position:relative;display:flex;justify-items:flex-start;align-items:center;height:35px;padding-left:10px;margin-left:6px;color:#fff;background:#1f1f1f;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .color-hint{position:absolute;left:3%;margin-left:0;width:.5rem;height:.5rem;border:.1rem solid rgba(255,255,255,.8);border-radius:50%}.dds-annotator-objectlist .tab-collapse .collapse-item .label-icon{margin-left:15px;margin-right:12px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-item .label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-item .label-actions{margin-right:5%;display:flex;align-items:center;justify-content:center}.dds-annotator-objectlist .tab-collapse .collapse-item .label-btn,.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn-warn svg{fill:#f53f3f}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 8px;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count svg{width:14px;height:14px;fill:#fff}.dds-annotator-objectlist .tab-collapse .collapse-item:hover{background-color:#4b4f52}.item___v9XQ_{display:flex;flex-flow:row nowrap;border-radius:2px}.item___v9XQ_ .selected___H8gjQ{left:0;top:0;width:4px;height:100%;margin-right:5px}.item___v9XQ_ .info___YLqTh{width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item___v9XQ_ .action___zGuUy{flex:1 1}.item___v9XQ_ .btn___ean1l{border:0}.item___v9XQ_:hover{background-color:#f0f8ff}.dds-annotator-points-editor{position:absolute;right:1rem;top:1rem;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99;border-radius:6px;overflow:hidden}.dds-annotator-points-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0;min-height:auto}.dds-annotator-points-editor .ant-card-body{padding:0}.dds-annotator-points-editor .btn{border:0}.dds-annotator-points-editor .title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;min-height:40px;cursor:pointer}.dds-annotator-points-editor .title .extra-btn{cursor:pointer}.dds-annotator-points-editor .title .extra-btn:hover{transform:scale(1.05)}.dds-annotator-points-editor .content{display:flex;flex-direction:column;gap:5px;width:280px;height:140px;overflow-y:scroll;padding:10px 0 12px 10px}.dds-annotator-points-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-points-editor-visible{opacity:1;pointer-events:all}.dds-annotator-seg-confirm{position:absolute;right:1rem;top:1rem;width:300px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99}.dds-annotator-seg-confirm .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-seg-confirm .ant-card-body{padding:12px}.dds-annotator-seg-confirm .btn{border:0}.dds-annotator-seg-confirm .title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-seg-confirm .content{display:flex;align-items:center;justify-content:space-between;gap:12px}.dds-annotator-seg-confirm .content .item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-seg-confirm .content .selector{width:100%}.dds-annotator-seg-confirm .content .actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-seg-confirm:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-seg-confirm-visible{opacity:1;pointer-events:all}.dds-annotator-shortcutsinfo{background:#262626!important;max-height:calc(100vh - 60px);overflow:scroll}.dds-annotator-shortcutsinfo .ant-dropdown-menu{padding:0}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-group-title{color:#fff!important;text-shadow:0 -1px 0 rgba(0,0,0,.12);background-color:#595959;font-weight:600}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item{color:#ffffffe6!important;display:flex;flex-direction:row-reverse}.dds-annotator-shortcutsinfo .ant-dropdown-menu-title-content{align-self:flex-start}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-icon{margin:0 0 0 8px}.dds-annotator-shortcutsinfo-key{padding:2px 4px;height:22px;min-width:22px;color:#000;justify-content:center;align-items:center;align-self:flex-start;background:#f9fafb;border:1px solid #374151;border-radius:4px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;display:inline-flex;flex:0 0 22px;font-size:11px;font-weight:600}.dds-annotator-shortcutsinfo-combine{color:#ffffffe6}.dds-annotator-shortcutsinfo-icon svg{margin-left:2px;margin-right:12px;fill:#fff;cursor:pointer}.dds-annotator-shortcutsinfo-icon svg:hover{fill:#1e53f5}.dds-annotator-slidertoolbar{position:relative;height:100%;background:#212121;border-radius:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;width:50px;pointer-events:auto;font-weight:600;padding:1rem .5rem 2rem;z-index:99;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-slidertoolbar::-webkit-scrollbar{display:none}.dds-annotator-slidertoolbar-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.dds-annotator-slidertoolbar .slidertoolbar-btn{width:32px;height:32px;border:0;background-color:transparent;border-radius:5px}.dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-slidertoolbar .slidertoolbar-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-slidertoolbar .slidertoolbar-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#ffffff40}.dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;width:50px;padding:10px 0;background:#484848;border-radius:12px}.dds-annotator-slidertoolbar .slidertoolbar-scale-text{font-size:12px;font-weight:400;color:#fffc;margin:12px 0;user-select:none}.dds-annotator-slidertoolbar .slidertoolbar-divider{width:100%;margin:8px 6px;border-bottom:1px solid #bbb}.dds-annotator-slidertoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-slidertoolbar-popover .popover-title{font-weight:600;font-size:14px;margin-right:10px}.dds-annotator-slidertoolbar-popover .popover-key{min-width:30px;justify-content:center;border-radius:2px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:600}.dds-annotator-slidertoolbar-popover .popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annotator-slidertoolbar-popover .popover-description{max-width:220px;font-size:13px;color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar{background:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn{box-shadow:none}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#000;fill:#000;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn:hover svg{color:#fff;fill:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-active svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{background:#484848}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-scale-text{color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-divider{border-bottom:1px solid #bbb}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-key{color:#fffc;box-shadow:0 1px 3px #ffffff4d,0 1px 2px #ffffff1a}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-divider{border-bottom:1px solid rgba(255,255,255,.1)}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-description{color:#fffc}.dds-annotator-smart-container{position:absolute;right:1rem;top:1rem;width:375px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:9}.dds-annotator-smart-container .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-smart-container .ant-card-body{padding:12px}.dds-annotator-smart-container-btn{border:0}.dds-annotator-smart-container-btn:hover{background-color:#fff3!important}.dds-annotator-smart-container-btn:hover svg{color:#fff}.dds-annotator-smart-container-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-smart-container-title-icon{display:flex;align-items:center;justify-content:center;gap:12px}.dds-annotator-smart-container-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px}.dds-annotator-smart-container-content-item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-smart-container-content-param-controls{display:flex;flex-direction:column;width:100%}.dds-annotator-smart-container-content-param-item{display:flex;flex-direction:row;justify-content:space-around}.dds-annotator-smart-container-content-param-item-title{width:100px}.dds-annotator-smart-container-content-param-item-select{flex:1 1}.dds-annotator-smart-container-content-param-item-slider{align-self:flex-end;flex:1 1}.dds-annotator-smart-container-content-instruction{font-size:13px}.dds-annotator-smart-container-content-actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-smart-container-content-column-item{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}.dds-annotator-smart-container-content-column-item span{font-weight:700;margin-right:10px}.dds-annotator-smart-container-content-column-item-row{width:100%;display:flex;align-items:center}.dds-annotator-smart-container-content-column-item-right{width:100%;text-align:right}.dds-annotator-smart-container-content-tip-text span{font-weight:700}.dds-annotator-smart-container:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-smart-container-visible{opacity:1;pointer-events:all}.dds-annotator-operation-tip{position:absolute;right:1rem;top:1rem;display:flex;flex-direction:column;gap:10px;z-index:9}.dds-annotator-operation-tip-item{display:flex;justify-content:space-between;align-items:center;padding:5px 10px;background-color:#3c56f899;border-radius:5px}.dds-annotator-operation-tip-item span{margin-right:20px;color:#fff}.dds-annotator-toppagination{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;border-radius:10px;padding:.4rem .5rem}.dds-annotator-toppagination-btn{width:32px;height:32px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-toppagination-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-toppagination-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-toppagination-btn-disabled svg{fill:#ffffff40}.dds-annotator-toppagination-scale-text{color:#fffc;margin:0 8px}.dds-annotator-toppagination-divider{height:100%;margin:6px 8px;border-left:1px solid #bbb}.dds-annotator-popover-menu{position:absolute;display:flex;flex-direction:column;justify-content:center;background:#fff;border:2px solid #1f4dd8;border-radius:50px;color:#000000d9;font-size:14px;box-shadow:2px 2px 6px 3px #00000026;pointer-events:none}.dds-annotator-popover-menu-content{display:flex;justify-content:space-around}.dds-annotator-popover-menu-text{max-width:150px;line-height:32px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:0 10px}.dds-annotator-display{cursor:pointer}.dds-annotator-display-popover{border-radius:10px}.dds-annotator-display-popover .ant-popover-inner{padding:0}.dds-annotator-display-pop-container{border-radius:10px;color:#fff;padding-bottom:8px}.dds-annotator-display-pop-container-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid rgba(107,114,128);padding:8px 8px 8px 16px;margin-bottom:8px}.dds-annotator-display-pop-container-btn{width:24px;height:24px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;box-shadow:unset;font-size:12px}.dds-annotator-display-pop-container-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-display-pop-container-btn:hover svg{fill:#000}.dds-annotator-display-pop-container-option{display:flex;flex-flow:column nowrap;padding:4px 16px;width:240px}.dds-annotator-display-pop-container-option .ant-slider{margin:5px 8px}.dds-annotator-editor-status{position:relative;height:30px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14px;font-weight:500;border-radius:5px;white-space:nowrap;text-overflow:ellipsis}.dds-annotator-editor-status svg{width:20px;height:20px}.dds-annotator-editor-status-1{border:1px solid #26a1f4;background:rgba(38,161,244,.38)}.dds-annotator-editor-status-2{border:1px solid #ffd305;background:rgba(255,211,5,.38)}.dds-annotator-label-selector{width:220px;margin-left:-5px}.dds-annotator-label-selector .ant-select{width:100%}.dds-annotator-label-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-label-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-label-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-label-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-label-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-label-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-label-selector-option-color{background-color:#000}.dds-annotator-model-selector{width:220px;margin-left:-5px}.dds-annotator-model-selector .ant-select{width:100%}.dds-annotator-model-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-model-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-model-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-model-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-model-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-model-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-model-selector-option-color{background-color:#000}.dds-annotator-subtoolbar{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;background-color:#212121;border-radius:10px;padding:.5rem;padding-left:0;height:50px;pointer-events:auto;font-weight:600}.dds-annotator-subtoolbar-btn{width:32px;height:32px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-btn svg{scale:1.2}.dds-annotator-subtoolbar-btn:hover{color:#fff}.dds-annotator-subtoolbar-btn-limited:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-subtoolbar-btn-active{background-color:#1e53f5}.dds-annotator-subtoolbar-divider{height:65%;margin:10px 8px;border-left:1px solid #fff}.dds-annotator-subtoolbar-title{margin:0 .25rem;color:#fff}.dds-annotator-subtoolbar-slider{width:100px;margin:0 .25rem}.dds-annotator-subtoolbar-slider .ant-slider-rail{background-color:#37404a}.dds-annotator-subtoolbar-action{height:32px;margin:0 .25rem;border:0;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-subtoolbar-popover-title{font-weight:500;font-size:14px}.dds-annotator-subtoolbar-popover-key{justify-content:center;border-radius:2px;margin-left:10px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:500}.dds-annotator-subtoolbar-popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annnotator-toptools{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px;width:100%;height:56px;color:#fff;background:#1f1f1f;border-bottom:1px solid #141414;pointer-events:auto;overflow-x:scroll;z-index:1;scrollbar-width:none;-ms-overflow-style:none}.dds-annnotator-toptools::-webkit-scrollbar{display:none}.dds-annnotator-toptools-row{display:flex;align-items:center;gap:16px;opacity:.85}.dds-annnotator-toptools-row-icon{padding:8px;color:#fff;border-radius:5px;cursor:pointer}.dds-annnotator-toptools-row-icon span{vertical-align:middle}.dds-annnotator-toptools-row-icon svg{width:20px;height:20px;fill:#fff;vertical-align:middle}.dds-annnotator-toptools-row-icon:hover{background-color:#1e53f5}.dds-annnotator-toptools-row-icon-disable{color:#ffffff40;pointer-events:none}.dds-annnotator-toptools-row-icon-disable svg{fill:#ffffff40}.dds-annnotator-toptools-row-split{margin:5px;width:1px;height:20px;background-color:#3b3838}.dds-annnotator-toptools-progress{position:absolute;left:50%;transform:translate(-50%);font-size:13px;line-height:20px;color:#fff;user-select:none}.dds-annotator-loading{position:fixed;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.2);z-index:10001}.dds-annotator-logo{margin-left:-5px;width:33px;height:33px;cursor:pointer}.dds-annotator-logo-replace{margin-left:-5px;width:33px;height:33px}.dds-annotator .edit-wrap{position:absolute;inset:0;font-size:0;user-select:none;pointer-events:auto}.dds-annotator .edit-wrap img{display:none}.dds-annotator .edit-wrap canvas{position:absolute;inset:0;cursor:crosshair}.dds-annotator-qk-actions{display:flex;align-items:center;justify-content:center;gap:18px}.dds-annotator-qk-actions svg{cursor:pointer;fill:#fff}.dds-annotator-qk-actions svg:hover{fill:#1e53f5}.dds-annotator-dropdown-options{display:flex;flex-direction:column;background-color:#fff;border-radius:5px;overflow:hidden}.dds-annotator-dropdown-options-object{position:relative;padding:5px 10px 5px 20px;min-width:120px;user-select:none;cursor:pointer}.dds-annotator-dropdown-options-object:hover{color:#1e53f5;background-color:#e2e6f9}.dds-annotator-dropdown-options-object-dot{position:absolute;top:50%;left:8px;transform:translateY(-50%);width:4px;height:4px;border-radius:50%;background-color:red}.dds-annotator-editor{position:relative;top:0;left:0;z-index:100;width:100%;height:100vh;background-color:#000;border-radius:0;overflow:hidden}.dds-annotator-editor .editor-container{position:absolute;inset:56px 0 0;display:flex;flex-direction:row;pointer-events:auto}.dds-annotator-editor .editor-container .left-slider{position:relative;height:100%;background:#212121;padding:0;border-radius:0;border-left:1px solid black;overflow-y:scroll;overflow-x:hidden;z-index:1}.dds-annotator-editor .editor-container .center-content{position:relative;flex:1 1;height:100%;display:flex;flex-direction:column;overflow:hidden}.dds-annotator-editor .editor-container .center-content .draw-area{position:relative;flex:1 1;width:100%}.dds-annotator-editor .editor-container .right-slider{position:relative;width:256px;min-width:256px;height:100%;background:#262626;border-left:2px solid #141414;backdrop-filter:blur(12px);display:flex;flex-direction:column;z-index:1}.dds-annotator-editor .editor-container .right-slider .classifications{max-height:50%;overflow-x:hidden;overflow-y:scroll}.dds-annotator-editor .editor-container .right-slider .object-list{flex:1 1;width:100%;overflow-y:scroll;overflow-x:hidden}.dds-annotator-editor-light{background-color:#f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools{background-color:#f1f2f4;border-bottom:1px solid #f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon{color:#000}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon svg{fill:#fff}.dds-annotator-preview{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;background-color:#000000b3}.dds-annotator-preview .top-tools{background:linear-gradient(180deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.15) 100%)!important;border:none!important}.dds-annotator-preview .switch{position:absolute;bottom:40px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-top:-22px;color:#ffffffd9;background:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .switch-disable{color:#ffffff40;cursor:not-allowed}.dds-annotator-preview .switch-left{right:calc(50vw + 32px)}.dds-annotator-preview .switch-right{left:calc(50vw + 32px)}.dds-annotator-preview .info-wrap{position:absolute;right:40px;top:50%;transform:translateY(-50%);pointer-events:auto;user-select:none}.dds-annotator-preview .info-wrap .info-box{width:248px;max-height:calc(100vh - 192px);padding:24px 20px 0;display:flex;flex-direction:column;background-color:#00000073;color:#fff;border-radius:4px;pointer-events:auto;overflow-y:scroll;z-index:1;user-select:text;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-preview .info-wrap .info-box::-webkit-scrollbar{display:none}.dds-annotator-preview .info-wrap .info-box .item{max-width:100%;margin-bottom:16px;text-align:left;word-break:break-all;font-size:14px;line-height:22px}.dds-annotator-preview .info-wrap .info-box .item:last-child{margin-bottom:24px}.dds-annotator-preview .info-wrap .bottom-mask{position:absolute;bottom:0;left:0;width:100%;height:40px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%);opacity:.45}.dds-annotator-preview .hide-info-btn{position:absolute;right:-24px;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:0 48px 48px 0;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn{position:absolute;right:0;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:48px 0 0 48px;display:flex;align-items:center;justify-content:flex-start;padding-left:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn svg{transform:rotate(180deg)}.dds-annotator-view{position:relative;display:flex}.dds-quicklabel-image-filter{display:flex;align-items:center;gap:10px}.dds-quicklabel-options-list{height:100vh}.dds-quicklabel-options-list-virtual{border-radius:8px}.dds-quicklabel-options-list-image{margin:8px 0;width:100%;height:120px;box-sizing:border-box;object-fit:cover;border-radius:8px;background-color:#fff;cursor:pointer;transition:transform .3s ease}.dds-quicklabel-options-list-image:hover{transform:scale(.95)}.dds-quicklabel-options-list-image-selected{border:3px solid #fff;border-radius:8px}.dds-upload-list{position:relative;width:100%;height:100%}.dds-upload-list .virtual-list{border-radius:8px;overflow-y:hidden}.dds-upload-list .row-container{display:flex}.dds-upload-list .preview-container{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;cursor:pointer;border-radius:5px}.dds-upload-list .preview-container .file-preview{box-sizing:border-box;object-fit:cover;background-color:#fff;border-radius:5px}.dds-upload-list .preview-container .file-name{width:90%;margin:5px;word-wrap:break-word;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dds-upload-list .preview-container .remove-button{display:none;position:absolute!important;top:4px;right:4px}.dds-upload-list .preview-container:hover{background-color:#f0f0f0;border-radius:5px;box-shadow:0 1px 2px #0000004d}.dds-upload-list .preview-container:hover .remove-button{display:block}.dds-upload-list .preview-container-success .file-name{color:#1e53f5}.dds-upload-list .preview-container-success .file-preview{border:1px solid #1e53f5}.dds-upload-list .preview-container-error .file-name{color:red}.dds-upload-list .preview-container-error .file-preview{border:1px solid red}.dds-upload{position:relative;width:100%;height:100%}.dds-upload-loading{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.3)}.dds-upload input{display:none!important}.dds-upload-title{font-size:24px;font-weight:500;line-height:1}.dds-upload-text{font-size:14px;font-weight:400;color:#c1c1c1}.dds-upload-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4;cursor:pointer}.dds-upload-empty svg{width:91px;height:75px}.dds-upload-empty .dds-upload-title{margin-top:30px}.dds-upload-content{width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4}.dds-upload-content-list{position:relative;width:100%;height:calc(100% - 64px);padding:30px 0 0}.dds-upload-content-list-count{position:absolute;left:18px;top:8px;font-size:14px;color:#00000073}.dds-upload-draging{border:1px solid #1e53f5;background:#e8efff}.dds-upload-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-radius:0;border-bottom:1px solid #c9cdd4}.dds-upload-topbar .dds-upload-title{font-size:20px}.dds-upload-topbar .dds-upload-text{font-size:12px;margin-top:4px}.dds-quicklabel-subtitle{font-size:16px;font-weight:500;margin:20px 0 10px}.dds-quicklabel-upload{width:100%;height:360px}.dds-quicklabel-upload-tip{margin:10px 0 0;background-color:transparent;border-width:0}.dds-quicklabel-upload-preannot-btn{width:100%;height:42px;font-weight:600;border-radius:5px;background:#fff}.dds-quicklabel{position:relative;display:flex;background:#212121}.dds-quicklabel-list{display:flex;flex-direction:column;align-items:stretch;width:200px;height:100%;padding:16px;gap:8px}.dds-quicklabel-workspace{flex:1 1;height:100%}.dds-upload-pre-anno .ant-upload{width:100%}.dds-upload-pre-anno .ant-card{border:1px solid #c9cdd4;background:none}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar{width:56px;height:56px;margin-right:20px}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar svg{width:56px;height:56px}.dds-upload-pre-anno .ant-card .ant-card-meta-title{font-size:24px;font-weight:500}.dds-upload-pre-anno .ant-card:hover{cursor:pointer} +*{margin:0;padding:0;box-sizing:border-box}body{background:#f5f5f5;overflow:overlay}#root .ant-page-header{background-color:#fff}#root .ant-pro .ant-layout-header.ant-pro-layout-header-fixed-header{padding:0 44px;background-color:#fff;border-bottom:1px solid #f0f0f0}#root .ant-pro-page-container-affix .ant-affix{top:0!important}#root .ant-pro-top-nav-header-main{padding-inline-start:0}#root .ant-pro-top-nav-header-logo>*:first-child>img{height:40px}#root .ant-image-preview-mask{z-index:900!important}#root .ant-image-preview-wrap{z-index:901!important}#root .ant-collapse>.ant-collapse-item.ant-collapse-no-arrow>.ant-collapse-header{padding:0!important}#root .ant-collapse-ghost>.ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box{padding:0!important}#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,#root .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow{cursor:pointer!important}#root .ant-pro .ant-pro-layout .ant-pro-layout-content{margin-block:0;margin-inline:0}#root .ant-table-tbody>tr>td>.ant-space{flex-wrap:wrap}#root .ant-table-pagination.ant-pagination{margin:16px 0}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{text-decoration:underline;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type="range"]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}.dds-lang-selector{height:34px;padding:4px 8px}.dds-lang-selector div{position:relative;width:1.2em;height:1.2em}.dds-lang-selector .cur-lang{position:absolute;font-size:1.2em;line-height:1;left:-5%;top:0;transform:scale(.7);transform-origin:0 0;z-index:1}.dds-lang-selector .cur-lang-light{color:#fff;border:1px solid rgba(0,0,0,.88);background-color:#000000e0}.dds-lang-selector .cur-lang-dark{color:#000;border:1px solid rgba(255,255,255,.88);background-color:#ffffffe0}.dds-lang-selector .change-lang{position:absolute;font-size:1.2em;line-height:1;right:-5%;bottom:0;transform:scale(.5);transform-origin:100% 100%;z-index:0}.dds-lang-selector .change-lang-light{color:#000000e0;border:1px solid rgba(0,0,0,.88)}.dds-lang-selector .change-lang-dark{color:#ffffffe0;border:1px solid rgba(255,255,255,.88)}.dds-column-settings-panel{display:flex;flex-direction:column;padding:0 16px 24px;background-color:#fff;border-radius:2px;outline:none;box-shadow:0 2px 8px #00000026;max-height:400px;overflow:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-column-settings-panel::-webkit-scrollbar{display:none}.dds-column-settings-panel .item-title{margin:24px 0;font-size:14px;line-height:22px;color:#000}.dds-column-settings-panel .item-content{display:flex;justify-content:center}.dds-column-settings-panel .slider{width:168px;margin-right:26px}.dds-column-settings-panel .num-box{display:flex;align-items:center;justify-content:center;width:94px;height:26px;border:1px solid #d9d9d9;box-shadow:0 2px #00000004;border-radius:2px 0 0 2px}.dds-column-settings-panel .num-box .num{margin:0 8px;width:32px;height:26px;line-height:26px;text-align:center;color:#262626;border:1px solid #d9d9d9}.dds-column-settings-panel .num-box svg{width:16px;height:16px;cursor:pointer}.dds-column-settings-btn{display:flex;justify-content:center;align-items:center;margin-left:16px;width:32px;height:32px;background:#f5f5f5;cursor:pointer}.dds-dynamic-pagination{position:absolute;bottom:0;left:0;margin:20px 0;width:100%;display:flex;justify-content:center}.dds-dynamic-pagination .pagesize-wrap{display:flex;align-items:center;justify-content:center;margin:0 16px}.dds-dynamic-pagination .pagesize-wrap .pagesize-label{color:#000000e0;font-size:14px}.dds-dynamic-pagination .pagesize-wrap .ant-input-number{margin-left:8px}.dds-annotator-attributes-form{width:100%;padding:12px 12px 0}.dds-annotator-attributes-form .ant-form-item{margin-bottom:14px}.dds-annotator-attributes-form .ant-form-item-label{font-weight:500}.dds-annotator-attributes-form .ant-input{border-color:#1e53f5}.dds-annotator-attributes-form-item-title{display:flex;align-items:center}.dds-annotator-attributes-form-item-title-btn{margin-left:12px;height:24px;border:0;display:flex;align-items:center;justify-items:center}.dds-annotator-attributes-form-item-title-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-attributes-form-item-title .attribute-warn{fill:#f53f3f}.dds-annotator-attributes-form-dark .ant-form-item-label>label{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-radio-wrapper .ant-radio-disabled .ant-radio-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper{color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled .ant-checkbox-inner{background-color:#fff}.dds-annotator-attributes-form-dark .ant-checkbox-wrapper .ant-checkbox-disabled+span{color:#fff}.dds-annotator-attributes-form-dark .ant-input{color:#fff;background-color:transparent}.dds-annotator-attributes-form-dark .ant-input::placeholder{color:#ffffff4d}.dds-annotator-attribute-editor{position:absolute;right:1rem;top:1rem;width:320px;box-shadow:2px 2px 12px 3px #0009;opacity:1;pointer-events:all;z-index:99}.dds-annotator-attribute-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-attribute-editor .ant-card-body{padding:0 4px}.dds-annotator-attribute-editor-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-attribute-editor-title-btn{border:0}.dds-annotator-attribute-editor-title-btn:hover{background-color:#fff3!important}.dds-annotator-attribute-editor-title-btn:hover svg{color:#fff}.dds-annotator-attribute-editor-content{display:flex;flex-direction:column;align-items:flex-end}.dds-annotator-attribute-editor-actions{padding:0 12px 12px}.dds-annotator-attribute-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-classification{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-classification::-webkit-scrollbar{display:none}.dds-annotator-classification .ant-tabs{color:#ffffff80}.dds-annotator-classification .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-classification .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-classification .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-classification .ant-tabs-ink-bar{background:transparent}.dds-annotator-classification .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-classification .ant-tabs-nav:before{display:none}.dds-annotator-classification .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%);border:0}.dds-annotator-imageview-reload-cover{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.dds-annotator-imageview-reload-cover img{display:block;position:absolute;left:0;top:0;width:100%;height:100%}.dds-annotator-imageview-reload-cover svg{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dds-annotator-imageview-reload-cover .content-box{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#f0f0f080}.dds-annotator-imageview-reload-cover .reload-trigger{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:0}.dds-annotator-imageview-reload-cover .reload-trigger span{width:24px;height:24px}.dds-annotator-imageview-canvas{position:absolute;left:0;top:0}.dds-annotator-model-selector-modal{display:flex;align-items:center;justify-content:space-between}.dds-annotator-model-selector-modal-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding-top:30px;padding-bottom:20px;padding-inline:5px;margin-block:10px;width:220px;height:200px;border:.5px solid #d6d6d6}.dds-annotator-model-selector-modal-option-icon svg{width:55px;height:55px}.dds-annotator-model-selector-modal-option-name{text-align:center;color:#000;font-size:18px;font-weight:500;user-select:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:90%}.dds-annotator-model-selector-modal-option-description{text-align:center;color:#0006;font-size:12px;font-weight:400;text-overflow:ellipsis;user-select:none}.dds-annotator-model-selector-modal-option-tag{position:absolute;top:10px;right:10px;margin:0}.dds-annotator-model-selector-modal-option:hover{background:rgba(185,206,255,.11);box-shadow:0 4px 4px #00000040}.dds-annotator-model-selector-modal-option-hightlight{border:1px solid #165cff5f;box-shadow:0 1px 2px #00000040;background:rgba(185,206,255,.3)}.dds-annotator-objectlist{scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-objectlist::-webkit-scrollbar{display:none}.dds-annotator-objectlist .ant-tabs{color:#ffffff80}.dds-annotator-objectlist .ant-tabs-tab+.ant-tabs-tab{margin:0}.dds-annotator-objectlist .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:#fff}.dds-annotator-objectlist .ant-tabs-tab{padding:12px;margin:0;font-size:16px}.dds-annotator-objectlist .ant-tabs-ink-bar{background:transparent}.dds-annotator-objectlist .ant-tabs-nav{margin:0;position:sticky;top:0;z-index:1;background:#000}.dds-annotator-objectlist .ant-tabs-nav:before{display:none}.dds-annotator-objectlist .ant-collapse-item{scroll-margin:48px 0 0 0}.dds-annotator-objectlist .ant-list{color:#fff}.dds-annotator-objectlist .ant-list-item{padding:0;color:#fff}.dds-annotator-objectlist .objects-selector{width:144px;color:#fff;text-align:left;padding:0}.dds-annotator-objectlist .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector{color:#fff}.dds-annotator-objectlist .objects-select-popup{background:#050505;color:#fff;border-radius:1px;padding:0;margin-top:-10px}.dds-annotator-objectlist .objects-select-popup .ant-select-item{color:#fff;text-align:left}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-active:not(.ant-select-item-option-disabled){background-color:#4c4c4c}.dds-annotator-objectlist .objects-select-popup .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:#fff;font-weight:600;background-color:#050505}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item{background:rgba(0,0,0,.3);color:#ffffffe6;border-color:#ffffffb3}.dds-annotator-objectlist .ant-select-multiple .ant-select-selection-item-remove{color:#ffffffb3}.dds-annotator-objectlist .tab-header-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-header-actions button{border:0}.dds-annotator-objectlist .tab-header-actions-color-btn{width:28px;height:28px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px;box-shadow:unset}.dds-annotator-objectlist .tab-header-actions-color-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-objectlist .tab-header-actions-color-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-objectlist .tab-collapse{width:100%}.dds-annotator-objectlist .tab-collapse .collapse-header{position:relative;display:flex;align-items:center;padding:0;width:256px;font-size:14px;color:#fff;background:#1f1f1f}.dds-annotator-objectlist .tab-collapse .collapse-header .label-name{margin:0 15px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-header .label-count{display:inline-block;padding-inline:5px;margin-inline:10px;height:25px;min-width:25px;line-height:25px;border-radius:5px;background-color:#236bf7;font-size:12px;text-align:center}.dds-annotator-objectlist .tab-collapse .collapse-header .selected-line{position:absolute;left:0;top:0;width:4px;height:100%}.dds-annotator-objectlist .tab-collapse .collapse-header .label-icon{margin-left:14px;margin-right:14px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-header .label-actions{position:absolute;right:5%;top:50%;transform:translateY(-50%)}.dds-annotator-objectlist .tab-collapse .collapse-header .label-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-header .down-arrow{transform:rotate(180deg);width:10px;height:10px}.dds-annotator-objectlist .tab-collapse .collapseHeader:hover{background-color:#4b4f52}.dds-annotator-objectlist .tab-collapse .collapse-header-selected .arrow{transform:rotate(0)}.dds-annotator-objectlist .tab-collapse .collapse-item{position:relative;display:flex;justify-items:flex-start;align-items:center;height:35px;padding-left:10px;margin-left:6px;color:#fff;background:#1f1f1f;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .color-hint{position:absolute;left:3%;margin-left:0;width:.5rem;height:.5rem;border:.1rem solid rgba(255,255,255,.8);border-radius:50%}.dds-annotator-objectlist .tab-collapse .collapse-item .label-icon{margin-left:15px;margin-right:12px;width:15px;height:15px}.dds-annotator-objectlist .tab-collapse .collapse-item .label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dds-annotator-objectlist .tab-collapse .collapse-item .label-actions{margin-right:5%;display:flex;align-items:center;justify-content:center}.dds-annotator-objectlist .tab-collapse .collapse-item .label-btn,.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn{border:0}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn svg{width:22px;height:22px;fill:#1e53f5}.dds-annotator-objectlist .tab-collapse .collapse-item .attr-btn-warn svg{fill:#f53f3f}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 8px;font-size:14px}.dds-annotator-objectlist .tab-collapse .collapse-item .frame-count svg{width:14px;height:14px;fill:#fff}.dds-annotator-objectlist .tab-collapse .collapse-item:hover{background-color:#4b4f52}.item___v9XQ_{display:flex;flex-flow:row nowrap;border-radius:2px}.item___v9XQ_ .selected___H8gjQ{left:0;top:0;width:4px;height:100%;margin-right:5px}.item___v9XQ_ .info___YLqTh{width:50%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item___v9XQ_ .action___zGuUy{flex:1 1}.item___v9XQ_ .btn___ean1l{border:0}.item___v9XQ_:hover{background-color:#f0f8ff}.dds-annotator-points-editor{position:absolute;right:1rem;top:1rem;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99;border-radius:6px;overflow:hidden}.dds-annotator-points-editor .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0;min-height:auto}.dds-annotator-points-editor .ant-card-body{padding:0}.dds-annotator-points-editor .btn{border:0}.dds-annotator-points-editor .title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;min-height:40px;cursor:pointer}.dds-annotator-points-editor .title .extra-btn{cursor:pointer}.dds-annotator-points-editor .title .extra-btn:hover{transform:scale(1.05)}.dds-annotator-points-editor .content{display:flex;flex-direction:column;gap:5px;width:280px;height:140px;overflow-y:scroll;padding:10px 0 12px 10px}.dds-annotator-points-editor:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-points-editor-visible{opacity:1;pointer-events:all}.dds-annotator-seg-confirm{position:absolute;right:1rem;top:1rem;width:300px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:99}.dds-annotator-seg-confirm .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-seg-confirm .ant-card-body{padding:12px}.dds-annotator-seg-confirm .btn{border:0}.dds-annotator-seg-confirm .title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-seg-confirm .content{display:flex;align-items:center;justify-content:space-between;gap:12px}.dds-annotator-seg-confirm .content .item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-seg-confirm .content .selector{width:100%}.dds-annotator-seg-confirm .content .actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-seg-confirm:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-seg-confirm-visible{opacity:1;pointer-events:all}.dds-annotator-shortcutsinfo{background:#262626!important;max-height:calc(100vh - 60px);overflow:scroll}.dds-annotator-shortcutsinfo .ant-dropdown-menu{padding:0}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-group-title{color:#fff!important;text-shadow:0 -1px 0 rgba(0,0,0,.12);background-color:#595959;font-weight:600}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item{color:#ffffffe6!important;display:flex;flex-direction:row-reverse}.dds-annotator-shortcutsinfo .ant-dropdown-menu-title-content{align-self:flex-start}.dds-annotator-shortcutsinfo .ant-dropdown-menu-item-icon{margin:0 0 0 8px}.dds-annotator-shortcutsinfo-key{padding:2px 4px;height:22px;min-width:22px;color:#000;justify-content:center;align-items:center;align-self:flex-start;background:#f9fafb;border:1px solid #374151;border-radius:4px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;display:inline-flex;flex:0 0 22px;font-size:11px;font-weight:600}.dds-annotator-shortcutsinfo-combine{color:#ffffffe6}.dds-annotator-shortcutsinfo-icon svg{margin-left:2px;margin-right:12px;fill:#fff;cursor:pointer}.dds-annotator-shortcutsinfo-icon svg:hover{fill:#1e53f5}.dds-annotator-slidertoolbar{position:relative;height:100%;background:#212121;border-radius:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;width:50px;pointer-events:auto;font-weight:600;padding:1rem .5rem 2rem;z-index:99;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-slidertoolbar::-webkit-scrollbar{display:none}.dds-annotator-slidertoolbar-content{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.dds-annotator-slidertoolbar .slidertoolbar-btn{width:32px;height:32px;border:0;background-color:transparent;border-radius:5px}.dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-slidertoolbar .slidertoolbar-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-slidertoolbar .slidertoolbar-btn-active{color:#1e53f5;background-color:#1e53f5}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#ffffff40}.dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{display:flex;flex-direction:column;align-items:center;gap:12px;width:50px;padding:10px 0;background:#484848;border-radius:12px}.dds-annotator-slidertoolbar .slidertoolbar-scale-text{font-size:12px;font-weight:400;color:#fffc;margin:12px 0;user-select:none}.dds-annotator-slidertoolbar .slidertoolbar-divider{width:100%;margin:8px 6px;border-bottom:1px solid #bbb}.dds-annotator-slidertoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-slidertoolbar-popover .popover-title{font-weight:600;font-size:14px;margin-right:10px}.dds-annotator-slidertoolbar-popover .popover-key{min-width:30px;justify-content:center;border-radius:2px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:600}.dds-annotator-slidertoolbar-popover .popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annotator-slidertoolbar-popover .popover-description{max-width:220px;font-size:13px;color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar{background:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn{box-shadow:none}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn svg{color:#000;fill:#000;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn:hover svg{color:#fff;fill:#fff}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-active svg{color:#fff;fill:#fff;scale:1.2}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled{color:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-btn-disabled svg{fill:#00000040}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-annotool-active-wrap{background:#484848}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-scale-text{color:#000c}.dds-annotator-editor-light .dds-annotator-slidertoolbar .slidertoolbar-divider{border-bottom:1px solid #bbb}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-key{color:#fffc;box-shadow:0 1px 3px #ffffff4d,0 1px 2px #ffffff1a}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-divider{border-bottom:1px solid rgba(255,255,255,.1)}.dds-annotator-editor-light .dds-annotator-slidertoolbar-popover .popover-description{color:#fffc}.dds-annotator-smart-container{position:absolute;right:1rem;top:1rem;width:375px;box-shadow:2px 2px 12px 3px #0009;opacity:0;transition:opacity .15s ease;pointer-events:none;z-index:9}.dds-annotator-smart-container .ant-card-head{background-color:#1e53f5;color:#fff;font-size:15px;padding:0 15px;min-height:45px}.dds-annotator-smart-container .ant-card-body{padding:12px}.dds-annotator-smart-container-btn{border:0}.dds-annotator-smart-container-btn:hover{background-color:#fff3!important}.dds-annotator-smart-container-btn:hover svg{color:#fff}.dds-annotator-smart-container-title{display:flex;align-items:center;justify-content:space-between}.dds-annotator-smart-container-title-icon{display:flex;align-items:center;justify-content:center;gap:12px}.dds-annotator-smart-container-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px}.dds-annotator-smart-container-content-item{display:flex;align-items:center;justify-content:space-around;gap:12px;width:100%}.dds-annotator-smart-container-content-param-controls{display:flex;flex-direction:column;width:100%}.dds-annotator-smart-container-content-param-item{display:flex;flex-direction:row;justify-content:space-around}.dds-annotator-smart-container-content-param-item-title{width:100px}.dds-annotator-smart-container-content-param-item-select{flex:1 1}.dds-annotator-smart-container-content-param-item-slider{align-self:flex-end;flex:1 1}.dds-annotator-smart-container-content-instruction{font-size:13px}.dds-annotator-smart-container-content-actions{display:flex;justify-content:space-between;width:100%}.dds-annotator-smart-container-content-column-item{display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%}.dds-annotator-smart-container-content-column-item span{font-weight:700;margin-right:10px}.dds-annotator-smart-container-content-column-item-row{width:100%;display:flex;align-items:center}.dds-annotator-smart-container-content-column-item-right{width:100%;text-align:right}.dds-annotator-smart-container-content-tip-text span{font-weight:700}.dds-annotator-smart-container:hover{box-shadow:2px 2px 12px 3px #0009}.dds-annotator-smart-container-visible{opacity:1;pointer-events:all}.dds-annotator-operation-tip{position:absolute;right:1rem;top:1rem;display:flex;flex-direction:column;gap:10px;z-index:9}.dds-annotator-operation-tip-item{display:flex;justify-content:space-between;align-items:center;padding:5px 10px;background-color:#3c56f899;border-radius:5px}.dds-annotator-operation-tip-item span{margin-right:20px;color:#fff}.dds-annotator-toppagination{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;border-radius:10px;padding:.4rem .5rem}.dds-annotator-toppagination-btn{width:32px;height:32px;margin:0 .5rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-toppagination-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-toppagination-btn-disabled{color:#ffffff40;pointer-events:none}.dds-annotator-toppagination-btn-disabled svg{fill:#ffffff40}.dds-annotator-toppagination-scale-text{color:#fffc;margin:0 8px}.dds-annotator-toppagination-divider{height:100%;margin:6px 8px;border-left:1px solid #bbb}.dds-annotator-popover-menu{position:absolute;display:flex;flex-direction:column;justify-content:center;background:#fff;border:2px solid #1f4dd8;border-radius:50px;color:#000000d9;font-size:14px;box-shadow:2px 2px 6px 3px #00000026;pointer-events:none}.dds-annotator-popover-menu-content{display:flex;justify-content:space-around}.dds-annotator-popover-menu-text{max-width:150px;line-height:32px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin:0 10px}.dds-annotator-display{cursor:pointer}.dds-annotator-display-popover{border-radius:10px}.dds-annotator-display-popover .ant-popover-inner{padding:0}.dds-annotator-display-pop-container{border-radius:10px;color:#fff;padding-bottom:8px}.dds-annotator-display-pop-container-header{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:1px solid rgba(107,114,128);padding:8px 8px 8px 16px;margin-bottom:8px}.dds-annotator-display-pop-container-btn{width:24px;height:24px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;box-shadow:unset;font-size:12px}.dds-annotator-display-pop-container-btn:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-display-pop-container-btn:hover svg{fill:#000}.dds-annotator-display-pop-container-option{display:flex;flex-flow:column nowrap;padding:4px 16px;width:240px}.dds-annotator-display-pop-container-option .ant-slider{margin:5px 8px}.dds-annotator-editor-status{position:relative;height:30px;padding:0 8px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-size:14px;font-weight:500;border-radius:5px;white-space:nowrap;text-overflow:ellipsis}.dds-annotator-editor-status svg{width:20px;height:20px}.dds-annotator-editor-status-1{border:1px solid #26a1f4;background:rgba(38,161,244,.38)}.dds-annotator-editor-status-2{border:1px solid #ffd305;background:rgba(255,211,5,.38)}.dds-annotator-label-selector{width:220px;margin-left:-5px}.dds-annotator-label-selector .ant-select{width:100%}.dds-annotator-label-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-label-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-label-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-label-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-label-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-label-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-label-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-label-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-label-selector-option-color{background-color:#000}.dds-annotator-model-selector{width:220px;margin-left:-5px}.dds-annotator-model-selector .ant-select{width:100%}.dds-annotator-model-selector .ant-select .ant-select-selector{background-color:transparent!important;color:#fff}.dds-annotator-model-selector .ant-select .ant-select-selection-item{display:flex;align-items:center}.dds-annotator-model-selector .ant-select .ant-select-selection-item svg{width:16px;height:16px;margin-right:10px}.dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#ffffff80}.dds-annotator-model-selector-option-color{width:12px;height:12px;margin-right:10px;background-color:#fff}.dds-annotator-model-selector-option .ant-select-item-option-content{display:flex;align-items:center}.dds-annotator-model-selector-option svg{width:16px;height:16px;margin-right:10px}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-selector{color:#000;border:1px solid #acacac}.dds-annotator-editor-light .dds-annotator-model-selector .ant-select .ant-select-arrow,.dds-annotator-editor-light .dds-annotator-model-selector .ant-select-open .ant-select-selection-item{color:#00000080}.dds-annotator-editor-light .dds-annotator-model-selector-option-color{background-color:#000}.dds-annotator-subtoolbar{display:flex;flex-direction:row;justify-content:center;align-items:center;z-index:99;background-color:#212121;border-radius:10px;padding:.5rem;padding-left:0;height:50px;pointer-events:auto;font-weight:600}.dds-annotator-subtoolbar-btn{width:32px;height:32px;margin:0 .25rem;border:0;background-color:transparent;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-btn svg{scale:1.2}.dds-annotator-subtoolbar-btn:hover{color:#fff}.dds-annotator-subtoolbar-btn-limited:hover{background-color:#1e53f5;transform:scale(1.2)}.dds-annotator-subtoolbar-btn-active{background-color:#1e53f5}.dds-annotator-subtoolbar-divider{height:65%;margin:10px 8px;border-left:1px solid #fff}.dds-annotator-subtoolbar-title{margin:0 .25rem;color:#fff}.dds-annotator-subtoolbar-slider{width:100px;margin:0 .25rem}.dds-annotator-subtoolbar-slider .ant-slider-rail{background-color:#37404a}.dds-annotator-subtoolbar-action{height:32px;margin:0 .25rem;border:0;color:#fff;border-radius:5px}.dds-annotator-subtoolbar-popover{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.dds-annotator-subtoolbar-popover-title{font-weight:500;font-size:14px}.dds-annotator-subtoolbar-popover-key{justify-content:center;border-radius:2px;margin-left:10px;padding:2px 5px;color:#000c;box-shadow:0 1px 3px #0000004d,0 1px 2px #0000001a;font-size:12px;font-weight:500}.dds-annotator-subtoolbar-popover-divider{width:100%;margin:10px 0;border-bottom:1px solid rgba(0,0,0,.1)}.dds-annnotator-toptools{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 16px;width:100%;height:56px;color:#fff;background:#1f1f1f;border-bottom:1px solid #141414;pointer-events:auto;overflow-x:scroll;z-index:1;scrollbar-width:none;-ms-overflow-style:none}.dds-annnotator-toptools::-webkit-scrollbar{display:none}.dds-annnotator-toptools-row{display:flex;align-items:center;gap:16px;opacity:.85}.dds-annnotator-toptools-row-icon{padding:8px;color:#fff;border-radius:5px;cursor:pointer}.dds-annnotator-toptools-row-icon span{vertical-align:middle}.dds-annnotator-toptools-row-icon svg{width:20px;height:20px;fill:#fff;vertical-align:middle}.dds-annnotator-toptools-row-icon:hover{background-color:#1e53f5}.dds-annnotator-toptools-row-icon-disable{color:#ffffff40;pointer-events:none}.dds-annnotator-toptools-row-icon-disable svg{fill:#ffffff40}.dds-annnotator-toptools-row-split{margin:5px;width:1px;height:20px;background-color:#3b3838}.dds-annnotator-toptools-progress{position:absolute;left:50%;transform:translate(-50%);font-size:13px;line-height:20px;color:#fff;user-select:none}.dds-annotator-loading{position:fixed;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.2);z-index:10001}.dds-annotator-logo{margin-left:-5px;width:33px;height:33px;cursor:pointer}.dds-annotator-logo-replace{margin-left:-5px;width:33px;height:33px}.dds-annotator .edit-wrap{position:absolute;inset:0;font-size:0;user-select:none;pointer-events:auto}.dds-annotator .edit-wrap img{display:none}.dds-annotator .edit-wrap canvas{position:absolute;inset:0;cursor:crosshair}.dds-annotator-qk-actions{display:flex;align-items:center;justify-content:center;gap:18px}.dds-annotator-qk-actions svg{cursor:pointer;fill:#fff}.dds-annotator-qk-actions svg:hover{fill:#1e53f5}.dds-annotator-dropdown-options{display:flex;flex-direction:column;background-color:#fff;border-radius:5px;overflow:hidden}.dds-annotator-dropdown-options-object{position:relative;padding:5px 10px 5px 20px;min-width:120px;user-select:none;cursor:pointer}.dds-annotator-dropdown-options-object:hover{color:#1e53f5;background-color:#e2e6f9}.dds-annotator-dropdown-options-object-dot{position:absolute;top:50%;left:8px;transform:translateY(-50%);width:4px;height:4px;border-radius:50%;background-color:red}.dds-annotator-editor{position:relative;top:0;left:0;z-index:100;width:100%;height:100vh;background-color:#000;border-radius:0;overflow:hidden}.dds-annotator-editor .editor-container{position:absolute;inset:56px 0 0;display:flex;flex-direction:row;pointer-events:auto}.dds-annotator-editor .editor-container .left-slider{position:relative;height:100%;background:#212121;padding:0;border-radius:0;border-left:1px solid black;overflow-y:scroll;overflow-x:hidden;z-index:1}.dds-annotator-editor .editor-container .center-content{position:relative;flex:1 1;height:100%;display:flex;flex-direction:column;overflow:hidden}.dds-annotator-editor .editor-container .center-content .draw-area{position:relative;flex:1 1;width:100%}.dds-annotator-editor .editor-container .right-slider{position:relative;width:256px;min-width:256px;height:100%;background:#262626;border-left:2px solid #141414;backdrop-filter:blur(12px);display:flex;flex-direction:column;z-index:1}.dds-annotator-editor .editor-container .right-slider .classifications{max-height:50%;overflow-x:hidden;overflow-y:scroll}.dds-annotator-editor .editor-container .right-slider .object-list{flex:1 1;width:100%;overflow-y:scroll;overflow-x:hidden}.dds-annotator-editor-light{background-color:#f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools{background-color:#f1f2f4;border-bottom:1px solid #f7f7f7}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon{color:#000}.dds-annotator-editor-light .dds-annnotator-toptools-row-icon svg{fill:#fff}.dds-annotator-preview{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;background-color:#000000b3}.dds-annotator-preview .top-tools{background:linear-gradient(180deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.15) 100%)!important;border:none!important}.dds-annotator-preview .switch{position:absolute;top:25px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-top:-22px;color:#ffffffd9;background:rgba(0,0,0,.5);border-radius:50%;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .switch-disable{color:#ffffff40;cursor:not-allowed}.dds-annotator-preview .switch-left{right:calc(50vw + 32px)}.dds-annotator-preview .switch-right{left:calc(50vw + 32px)}.dds-annotator-preview .info-wrap{position:absolute;right:40px;top:50%;transform:translateY(-50%);pointer-events:auto;user-select:none}.dds-annotator-preview .info-wrap .info-box{width:248px;max-height:calc(100vh - 192px);padding:24px 20px 0;display:flex;flex-direction:column;background-color:#00000073;color:#fff;border-radius:4px;pointer-events:auto;overflow-y:scroll;z-index:1;user-select:text;scrollbar-width:none;-ms-overflow-style:none}.dds-annotator-preview .info-wrap .info-box::-webkit-scrollbar{display:none}.dds-annotator-preview .info-wrap .info-box .item{max-width:100%;margin-bottom:16px;text-align:left;word-break:break-all;font-size:14px;line-height:22px}.dds-annotator-preview .info-wrap .info-box .item:last-child{margin-bottom:24px}.dds-annotator-preview .info-wrap .bottom-mask{position:absolute;bottom:0;left:0;width:100%;height:40px;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 100%);opacity:.45}.dds-annotator-preview .hide-info-btn{position:absolute;right:-24px;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:0 48px 48px 0;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn{position:absolute;right:0;top:50%;transform:translateY(-50%);width:24px;height:48px;line-height:48px;background-color:#00000073;border-radius:48px 0 0 48px;display:flex;align-items:center;justify-content:flex-start;padding-left:8px;cursor:pointer;pointer-events:auto;z-index:1}.dds-annotator-preview .show-info-btn svg{transform:rotate(180deg)}.dds-annotator-preview .dds-annotator-grounding-preview{position:absolute;bottom:20px;left:50%;transform:translate(-50%);background:rgba(0,0,0,.45);color:#fff;width:70%;padding:10px;border-radius:10px}.dds-annotator-view{position:relative;display:flex}.dds-annotator-highlight-text .ant-tag{margin-inline-end:0px!important;font-size:14px;cursor:pointer}.dds-quicklabel-image-filter{display:flex;align-items:center;gap:10px}.dds-quicklabel-options-list{height:100vh}.dds-quicklabel-options-list-virtual{border-radius:8px}.dds-quicklabel-options-list-image{margin:8px 0;width:100%;height:120px;box-sizing:border-box;object-fit:cover;border-radius:8px;background-color:#fff;cursor:pointer;transition:transform .3s ease}.dds-quicklabel-options-list-image:hover{transform:scale(.95)}.dds-quicklabel-options-list-image-selected{border:3px solid #fff;border-radius:8px}.dds-upload-list{position:relative;width:100%;height:100%}.dds-upload-list .virtual-list{border-radius:8px;overflow-y:hidden}.dds-upload-list .row-container{display:flex}.dds-upload-list .preview-container{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;cursor:pointer;border-radius:5px}.dds-upload-list .preview-container .file-preview{box-sizing:border-box;object-fit:cover;background-color:#fff;border-radius:5px}.dds-upload-list .preview-container .file-name{width:90%;margin:5px;word-wrap:break-word;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dds-upload-list .preview-container .remove-button{display:none;position:absolute!important;top:4px;right:4px}.dds-upload-list .preview-container:hover{background-color:#f0f0f0;border-radius:5px;box-shadow:0 1px 2px #0000004d}.dds-upload-list .preview-container:hover .remove-button{display:block}.dds-upload-list .preview-container-success .file-name{color:#1e53f5}.dds-upload-list .preview-container-success .file-preview{border:1px solid #1e53f5}.dds-upload-list .preview-container-error .file-name{color:red}.dds-upload-list .preview-container-error .file-preview{border:1px solid red}.dds-upload{position:relative;width:100%;height:100%}.dds-upload-loading{position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.3)}.dds-upload input{display:none!important}.dds-upload-title{font-size:24px;font-weight:500;line-height:1}.dds-upload-text{font-size:14px;font-weight:400;color:#c1c1c1}.dds-upload-empty{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4;cursor:pointer}.dds-upload-empty svg{width:91px;height:75px}.dds-upload-empty .dds-upload-title{margin-top:30px}.dds-upload-content{width:100%;height:100%;border-radius:5px;border:1px solid #c9cdd4}.dds-upload-content-list{position:relative;width:100%;height:calc(100% - 64px);padding:30px 0 0}.dds-upload-content-list-count{position:absolute;left:18px;top:8px;font-size:14px;color:#00000073}.dds-upload-draging{border:1px solid #1e53f5;background:#e8efff}.dds-upload-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-radius:0;border-bottom:1px solid #c9cdd4}.dds-upload-topbar .dds-upload-title{font-size:20px}.dds-upload-topbar .dds-upload-text{font-size:12px;margin-top:4px}.dds-quicklabel-subtitle{font-size:16px;font-weight:500;margin:20px 0 10px}.dds-quicklabel-upload{width:100%;height:360px}.dds-quicklabel-upload-tip{margin:10px 0 0;background-color:transparent;border-width:0}.dds-quicklabel-upload-preannot-btn{width:100%;height:42px;font-weight:600;border-radius:5px;background:#fff}.dds-quicklabel{position:relative;display:flex;background:#212121}.dds-quicklabel-list{display:flex;flex-direction:column;align-items:stretch;width:200px;height:100%;padding:16px;gap:8px}.dds-quicklabel-workspace{flex:1 1;height:100%}.dds-upload-pre-anno .ant-upload{width:100%}.dds-upload-pre-anno .ant-card{border:1px solid #c9cdd4;background:none}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar{width:56px;height:56px;margin-right:20px}.dds-upload-pre-anno .ant-card .ant-card-meta-avatar svg{width:56px;height:56px}.dds-upload-pre-anno .ant-card .ant-card-meta-title{font-size:24px;font-weight:500}.dds-upload-pre-anno .ant-card:hover{cursor:pointer} diff --git a/deepdataspace/server/templates/index.html b/deepdataspace/server/templates/index.html index b04643c..a73c5e8 100644 --- a/deepdataspace/server/templates/index.html +++ b/deepdataspace/server/templates/index.html @@ -5,10 +5,10 @@ - +
- + \ No newline at end of file diff --git a/packages/app/src/locales/en-US.ts b/packages/app/src/locales/en-US.ts index e97d494..0fa3207 100644 --- a/packages/app/src/locales/en-US.ts +++ b/packages/app/src/locales/en-US.ts @@ -102,6 +102,8 @@ const localeTexts = { 'dataset.detail.pagination': 'Pagination', 'dataset.detail.random': 'Random', 'dataset.detail.randomQuery': 'Random', + 'dataset.detail.showGrounding': 'Show Grounding', + 'dataset.detail.hideGrounding': 'Hide Grounding', 'dataset.toAnalysis.unSupportWarn': 'You should have a prediction label set with detection annotaion first', diff --git a/packages/app/src/locales/zh-CN.ts b/packages/app/src/locales/zh-CN.ts index ed96ec4..c9735c6 100644 --- a/packages/app/src/locales/zh-CN.ts +++ b/packages/app/src/locales/zh-CN.ts @@ -100,6 +100,8 @@ const localeTexts = { 'dataset.toAnalysis.unSelectWarn': '请选择一个预标注集', 'dataset.onClickCopyLink.success': '复制链接成功!', 'dataset.detail.overlay': '覆盖', + 'dataset.detail.showGrounding': '展示 Grounding', + 'dataset.detail.hideGrounding': '隐藏 Grounding', 'dataset.filter.newDataset': '新建数据集', 'dataset.filter.public': '公共', diff --git a/packages/components/src/Annotator/components/HighlightText/index.less b/packages/components/src/Annotator/components/HighlightText/index.less new file mode 100644 index 0000000..07de0dd --- /dev/null +++ b/packages/components/src/Annotator/components/HighlightText/index.less @@ -0,0 +1,5 @@ +.dds-annotator-highlight-text .ant-tag { + margin-inline-end: 0px !important; + font-size: 14px; + cursor: pointer; +} diff --git a/packages/components/src/Annotator/components/HighlightText/index.tsx b/packages/components/src/Annotator/components/HighlightText/index.tsx new file mode 100644 index 0000000..732d146 --- /dev/null +++ b/packages/components/src/Annotator/components/HighlightText/index.tsx @@ -0,0 +1,73 @@ +import React, { useMemo } from 'react'; +import { escapeRegExp } from 'lodash'; +import { Tag } from 'antd'; + +import './index.less'; + +interface IHighlight { + text: string; + color: string; +} + +interface IProps { + text: string; + highlights: IHighlight[]; + onHoverHighlightWord: (text: string) => void; + onLeaveHighlightWord: () => void; +} + +const HighlightText: React.FC = ({ + text, + highlights, + onHoverHighlightWord, + onLeaveHighlightWord, +}) => { + + const segments = useMemo(() => { + const computedSegments: React.ReactNode[] = []; + const pattern = new RegExp( + highlights.map(h => `\\b(${escapeRegExp(h.text)})\\b`).join('|'), + 'g' + ); + + const matches = Array.from(text.matchAll(pattern)); + let lastIndex = 0; + + matches.forEach(match => { + const matchText = match[0]; + const index = match.index ?? 0; + + if (index > lastIndex) { + computedSegments.push(text.substring(lastIndex, index)); + } + + const highlightConfig = highlights.find(h => h.text === matchText); + + if (highlightConfig) { + computedSegments.push( + onHoverHighlightWord(matchText)} + onMouseLeave={onLeaveHighlightWord} + > + {matchText} + + ); + } + + lastIndex = index + matchText.length; + }); + + if (lastIndex < text.length) { + computedSegments.push(text.substring(lastIndex)); + } + + return computedSegments; + }, [text, highlights, onHoverHighlightWord, onLeaveHighlightWord]); + + return
{segments}
; +}; + +export default HighlightText; diff --git a/packages/components/src/Annotator/hooks/useCanvasRender.tsx b/packages/components/src/Annotator/hooks/useCanvasRender.tsx index b0be586..e1f7971 100644 --- a/packages/components/src/Annotator/hooks/useCanvasRender.tsx +++ b/packages/components/src/Annotator/hooks/useCanvasRender.tsx @@ -167,7 +167,7 @@ const useCanvasRender = ({ } else if ( theDrawData.selectedTool === EBasicToolItem.Rectangle && theDrawData.selectedModel[theDrawData.selectedTool] === - EnumModelType.IVP + EnumModelType.IVP ) { objectHooksMap[EObjectType.Rectangle].renderPrompt({ prompt, @@ -213,8 +213,8 @@ const useCanvasRender = ({ const status = isFocus ? 'focus' : isJustCreated - ? 'justCreated' - : undefined; + ? 'justCreated' + : undefined; const styles = getObjectStyles(object, object.color, status); // Change globalAlpha when creating / editing object @@ -315,6 +315,20 @@ const useCanvasRender = ({ false, ); } + + // render highlight object when hover caption + if (!!drawData.highlightCategory) { + const highlights = theDrawData.objectList + .filter(obj => obj.labelId === drawData.highlightCategory!.id); + + highlights.forEach((obj) => { + renderObject( + obj, + true, + false + ); + }); + } }; const renderPopoverMenu = () => { @@ -327,7 +341,7 @@ const useCanvasRender = ({ ) { const target = drawData.objectList[editState.focusObjectIndex].keypoints?.points?.[ - editState.focusEleIndex + editState.focusEleIndex ]; if (target) { return ( diff --git a/packages/components/src/Annotator/index.less b/packages/components/src/Annotator/index.less index 1757583..05f6f70 100644 --- a/packages/components/src/Annotator/index.less +++ b/packages/components/src/Annotator/index.less @@ -204,7 +204,7 @@ .switch { position: absolute; - bottom: 40px; + top: 25px; display: flex; align-items: center; justify-content: center; @@ -331,6 +331,18 @@ transform: rotate(180deg); } } + + .dds-annotator-grounding-preview { + position: absolute; + bottom: 20px; + left: 50%; + transform: translate(-50%, 0); + background: rgba(0, 0, 0, 0.45); + color: #fff; + width: 70%; + padding: 10px; + border-radius: 10px; + } } .dds-annotator-view { diff --git a/packages/components/src/Annotator/preview.tsx b/packages/components/src/Annotator/preview.tsx index 7abde57..4a95575 100755 --- a/packages/components/src/Annotator/preview.tsx +++ b/packages/components/src/Annotator/preview.tsx @@ -1,5 +1,7 @@ import { CloseOutlined, + EyeInvisibleOutlined, + EyeOutlined, LeftOutlined, RightOutlined, ZoomInOutlined, @@ -42,6 +44,9 @@ import { } from './type'; import './index.less'; +import HighlightText from './components/HighlightText'; +import { useLocale } from 'dds-utils/locale'; + export interface PreviewProps { isOldMode?: boolean; // is old dataset design mode @@ -70,6 +75,8 @@ const Preview: React.FC = (props) => { displayOptionsResult, } = props; + const { localeText } = useLocale(); + const [annotations, setAnnotations] = useImmer([]); const [editState, setEditState] = useImmer( @@ -101,7 +108,7 @@ const Preview: React.FC = (props) => { allowMove: editState.allowMove, isRequiring: editState.isRequiring, minPadding: { - top: 120, + top: 150, left: 300, }, cursorSize: drawData.brushSize, @@ -240,12 +247,25 @@ const Preview: React.FC = (props) => { // ================================================================================================================= const [showInfo, setShowInfo] = useState(true); + const [showGrounding, setShowGrounding] = useState(false); + + const metadata = !isEmpty(list[current]?.metadata) + ? list[current].metadata + : undefined; + const changeShowInfo = useCallback(() => { setShowInfo((s) => { return !s; }); }, []); + const changeShowGrounding = useCallback(() => { + if (!metadata || !metadata.caption) return; + setShowGrounding((s) => { + return !s; + }); + }, [metadata]); + /** Snapshot image */ const onDownload: React.MouseEventHandler = async (event) => { event.preventDefault(); @@ -318,7 +338,7 @@ const Preview: React.FC = (props) => { ) { const target = drawData.objectList[editState.focusObjectIndex]?.keypoints?.points?.[ - editState.focusEleIndex + editState.focusEleIndex ]; if (target) { return ( @@ -337,9 +357,30 @@ const Preview: React.FC = (props) => { return <>; } - const metadata = !isEmpty(list[current]?.metadata) - ? list[current].metadata - : undefined; + const getHighlightWords = () => { + const objects = list[current].objects; + return categories + .filter((category) => objects.find((obj: any) => obj.categoryId === category.id)) + .map((category) => { + return { + text: category.name, + color: getAnnotColor(category.id), + } + }) + }; + + const highlightCategory = (name: string) => { + setDrawData((s) => { + const category = categories.find(item => item.name === name); + s.highlightCategory = category; + }); + }; + + const clearHighlightCategory = () => { + setDrawData((s) => { + s.highlightCategory = undefined; + }); + }; return (
@@ -360,6 +401,12 @@ const Preview: React.FC = (props) => { icon: , onClick: onDownload, }, + { + icon: showGrounding ? : , + onClick: changeShowGrounding, + disabled: !metadata || !metadata.caption, + title: showGrounding ? localeText('dataset.detail.hideGrounding') : localeText('dataset.detail.showGrounding'), + }, ]} rightTools={[ { @@ -431,6 +478,17 @@ const Preview: React.FC = (props) => {
)} + { + showGrounding && !!metadata?.caption && +
+ highlightCategory(text)} + onLeaveHighlightWord={clearHighlightCategory} + /> +
+ } ); }; diff --git a/packages/components/src/Annotator/type.ts b/packages/components/src/Annotator/type.ts index efaf052..072e611 100644 --- a/packages/components/src/Annotator/type.ts +++ b/packages/components/src/Annotator/type.ts @@ -225,6 +225,7 @@ export interface DrawData { isBatchEditing: boolean; // active while handle batch predictions by model editingAttribute?: IEditingAttribute; limitConf: number; + highlightCategory?: Category; /** prompt actions */ prompt: IPrompt; @@ -296,6 +297,7 @@ export const DEFAULT_DRAW_DATA: DrawData = { isJustCreated: false, creatingObject: undefined, editingAttribute: undefined, + highlightCategory: undefined, brushSize: 20, pointResolution: 0.5, prompt: {}, diff --git a/setup.py b/setup.py index aff41ae..921019e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup -version = "0.11.1" +version = "0.12.0" description = "A tool for CV dataset labeling, visualizing and analysing" with open("README.md", "r", encoding="utf8") as fp: