From ebb6887c8dcf9daeef8423f543916b284b2cd32b Mon Sep 17 00:00:00 2001 From: fredzhu Date: Wed, 27 Mar 2024 18:10:03 +0800 Subject: [PATCH] update(frontend): build & update frontend files --- deepdataspace/server/static/index.html | 2 +- ...js => p__Dataset__index.a1265ad5.async.js} | 2 +- .../{umi.ddf0a1b5.js => umi.d5355c89.js} | 42 +++++++++---------- deepdataspace/server/templates/index.html | 2 +- 4 files changed, 24 insertions(+), 24 deletions(-) rename deepdataspace/server/static/{p__Dataset__index.964b8294.async.js => p__Dataset__index.a1265ad5.async.js} (54%) rename deepdataspace/server/static/{umi.ddf0a1b5.js => umi.d5355c89.js} (78%) diff --git a/deepdataspace/server/static/index.html b/deepdataspace/server/static/index.html index 817a380..b04643c 100644 --- a/deepdataspace/server/static/index.html +++ b/deepdataspace/server/static/index.html @@ -9,6 +9,6 @@
- + \ No newline at end of file diff --git a/deepdataspace/server/static/p__Dataset__index.964b8294.async.js b/deepdataspace/server/static/p__Dataset__index.a1265ad5.async.js similarity index 54% rename from deepdataspace/server/static/p__Dataset__index.964b8294.async.js rename to deepdataspace/server/static/p__Dataset__index.a1265ad5.async.js index 6764824..b19bfe9 100644 --- a/deepdataspace/server/static/p__Dataset__index.964b8294.async.js +++ b/deepdataspace/server/static/p__Dataset__index.a1265ad5.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()},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(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+"}}]); diff --git a/deepdataspace/server/static/umi.ddf0a1b5.js b/deepdataspace/server/static/umi.d5355c89.js similarity index 78% rename from deepdataspace/server/static/umi.ddf0a1b5.js rename to deepdataspace/server/static/umi.d5355c89.js index 62f0632..422c081 100644 --- a/deepdataspace/server/static/umi.ddf0a1b5.js +++ b/deepdataspace/server/static/umi.d5355c89.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 Qa(){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 Qa(),!!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 Mi=Xt(Go,jn,{root:ai,injectHash:$o,parentSelectors:[].concat((0,a.Z)(ea),[si])}),Pi=(0,Y.Z)(Mi,2),Si=Pi[0],to=Pi[1];Mo=(0,t.Z)((0,t.Z)({},Mo),to),_a+="".concat(si).concat(Si)}else{let ti=function(Io,Ro){var Ei=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(Ei,":").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),Mi=(0,Y.Z)(ai,2),Pi=Mi[0],Si=Mi[1];if(Pi)return[Pi,So,Si,{},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),Ei=Ae(Xo,Ro);return[Ro,So,Ei,Io,sr,fa]},function(si,ai){var Mi=(0,Y.Z)(si,3),Pi=Mi[2];(ai||Aa)&&Ua&&(0,te.jL)(Pi,{mark:$})},function(si){var ai=(0,Y.Z)(si,4),Mi=ai[0],Pi=ai[1],Si=ai[2],to=ai[3];if(ei&&Mi!==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)(Mi,Si,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 Mi;ai=n.createElement("style",(0,we.Z)({},(Mi={},(0,M.Z)(Mi,z,Go),(0,M.Z)(Mi,$,$o),Mi),{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=(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=` .anticon { display: inline-block; color: inherit; @@ -111,7 +111,7 @@ 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=Qa,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],Qa=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,Qa,nt);return d()(sr,ze==null?void 0:ze(Qa))},[Qa,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 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': 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. @@ -122,13 +122,13 @@ 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 Qa(){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. +`);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:Mi,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 Mi(){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)?Si(Le):wi(fe,Le,void 0,Ce,!0);et.level="error",ti(Z,Le,et,"onunhandledrejection")})}function Si(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 Ei{static __initStatic(){this.id="TryCatch"}constructor(Z){this.name=Ei.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)}}Ei.__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 cc(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 Ii(){return Ii=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"},Ci=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 Ii({},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)},di=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 Ii({},Mt,((Le={})[et.type]=[].concat(Mt[et.type]||[],[Ii({},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 Ii({},Dt,((Le={})[Mt.type]=cn,Le.titleAttributes=Ii({},Vt),Le));case co.BODY:return Ii({},Dt,{bodyAttributes:Ii({},Vt)});case co.HTML:return Ii({},Dt,{htmlAttributes:Ii({},Vt)});default:return Ii({},Dt,((et={})[Mt.type]=Ii({},Vt),et))}},fe.mapArrayTypeChildrenToProps=function(Ce,Le){var et=Ii({},Le);return Object.keys(Ce).forEach(function(Mt){var Dt;et=Ii({},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[Ci[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=Ii({},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,Ii({},Mt,{context:Dt.value,helmetData:void 0})):C.createElement(dr.Consumer,null,function(Vt){return C.createElement(Co,Ii({},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,fi=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(fi,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 ui(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),xi=e(67160),dc=e(39378),Oc=function(){var V,Z,fe,Ce=(0,gl.x)(h()({},xi.C2)),Le=Wo()(Ce,2),et=Le[0],Mt=Le[1],Dt=(0,gl.x)(h()({},xi.$I)),Vt=Wo()(Dt,2),cn=Vt[0],hn=Vt[1],St=et.filterValues,pn=et.comparisons,Qn=cn.filters,Jn=function(Xa){Mt(function(Wa){Object.assign(Wa,xi.C2,Xa)})},Sr=function(){},Lr=(0,Wu.Z)(function(uo){if(!et.datasetId)throw null;return Al({datasetId:et.datasetId})},{refreshDeps:[et.datasetId],onSuccess:function(Xa,Wa){var vi=Xa.categoryList,Ai=Xa.labelList,_i=Xa.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()(vi)),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"}),Ai&&Ai.length&&(oi.filters.labels=Ai.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;if(!et.datasetId||!et.filterValues.categoryId)throw null;uo||(hn(function(vi){Object.assign(vi,xi.vA)}),window.scrollTo(0,0));var Xa=et.filterValues.categoryId==="All"?void 0:et.filterValues.categoryId,Wa={datasetId:et.datasetId,categoryId:Xa,pageNum:et.page,pageSize:et.pageSize};return et.queryMode===xi.nJ.random&&Object.assign(Wa,{offset:-1,pageSize:no.L8}),et.comparisons?ui(h()(h()({},Wa),{},{labelId:et.comparisons.label.id,precision:et.comparisons.precision,orderBy:et.comparisons.orderBy,displayCategoryId:Xa})):(et.flagTools&&et.flagTools.flagStatus>=0&&Object.assign(Wa,{flag:et.flagTools.flagStatus}),qo(Wa))},{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(Xa){hn(function(Wa){Wa.imgList=Xa.imageList,Wa.total=Xa.total})},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(Xa){Mt(function(Wa){Wa.previewIndex=Xa})},xa=function(){Mt(function(Xa){Xa.previewIndex=-1})},Tr=Qr||ba,Za=(0,C.useMemo)(function(){if(pn){var uo=[],Xa=Qn.labels.find(function(Wa){return Wa.source===no.$j.gt});return(pn.displays.includes(no.$j.gt)||pn.displays.includes(no.BP.fn))&&Xa&&uo.push(Xa.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(Xa){var Wa;uo[Xa]=!!(!((Wa=St.displayOptions)===null||Wa===void 0)&&Wa.find(function(vi){return vi===Xa}))}),uo},[et.filterValues.displayOptions]),Uo=(0,C.useCallback)(function(uo){var Xa=Tu()(uo.objects)||[],Wa=et.comparisons,vi={labels:cn.filters.labels,displayLabelIds:Za,isTiledDiff:Ho},Ai=et.filterValues.displayAnnotationType;if(Xa=Xa.filter(function(fo){var Bi,$i;return fo.mask&&Ai===no.JJ.Mask||fo.alpha&&Ai===no.JJ.Matting||((Bi=fo.points)===null||Bi===void 0?void 0:Bi.length)&&Ai===no.JJ.KeyPoints||fo.segmentation&&Ai===no.JJ.Segmentation||!(($i=fo.points)!==null&&$i!==void 0&&$i.length)&&fo.boundingBox&&Ai===no.JJ.Detection}).map(function(fo){return h()(h()({},fo),{},{mask:Ai===no.JJ.Mask?fo.mask:void 0,alpha:Ai===no.JJ.Matting?fo.alpha:void 0,points:Ai===no.JJ.KeyPoints?fo.points:void 0,segmentation:Ai===no.JJ.Segmentation?fo.segmentation:void 0,boundingBox:[no.JJ.Detection,no.JJ.KeyPoints].includes(Ai)?fo.boundingBox:void 0})}),Wa){var _i=Xa.filter(function(fo){return fo.source===no.$j.pred});Xa=Xa.filter(function(fo){return(fo.conf||0)>=Wa.score}),Xa=Xa.map(function(fo){var Bi=h()({},fo);if(fo.source===no.$j.gt){var $i=(0,dc.isNumber)(fo.matchedDetIdx)&&fo.matchedDetIdx>=0&&Xa.includes(_i[fo.matchedDetIdx])?no.BP.ok:no.BP.fn;Bi.compareResult=$i}return Bi}),Xa=Xa.filter(function(fo){return fo.compareResult===no.BP.ok?fo.source&&Wa.displays.includes(fo.source):fo.compareResult&&Wa.displays.includes(fo.compareResult)})}return Xa.filter(function(fo){var Bi=Bo.showAnnotations,$i=Bo.showAllCategory,oi=et.filterValues.categoryId||"";if(!Bi||!$i&&fo.categoryId!==oi||vi&&fo.labelId&&!vi.displayLabelIds.includes(fo.labelId)||vi&&vi.isTiledDiff&&fo.labelId!==uo.curLabelId)return!1;if(!Wa&&vi){var gi=vi.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}},oc=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=xi.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,oc.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,oc.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(Xa){for(;;)switch(Xa.prev=Xa.next){case 0:if(!(Ce.flagTools.count<=0)){Xa.next=3;break}return N.ZP.warning("No any image to be selected!"),Xa.abrupt("return");case 3:return Za=Ni(Ce.imgList),Ho=Za.selectIndexs,Bo=Za.selectedIds,Uo=N.ZP.loading("Flag saving..."),Xa.prev=5,Xa.next=8,ve({datasetId:Z.datasetId,flagGroups:[{flag:Tr,ids:Bo}]});case 8:Uo(),Le(function(Wa){Wa.imgList.forEach(function(vi){vi.selected&&(vi.flag=Tr)}),Wa.flagTools.lastSavedIndexs=Ho}),Xa.next=17;break;case 12:Xa.prev=12,Xa.t0=Xa.catch(5),console.error("error",Xa.t0),Uo(),N.ZP.error("Flag save fail, please retry!");case 17:case"end":return Xa.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 ic=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,Xa=Ho.height,Wa=uo*Xa,vi=[Bo,Uo,uo,Xa];Object.assign(Za,{area:Wa,bbox:vi})}if(Tr.segmentation){var Ai=Tr.segmentation.split("/").map(function(Is){return Is.split(",").map(function(ts){return parseFloat(ts)})}),_i=Ai.reduce(function(Is,ts){var Hi=(0,$e.X6)(ts),Mu=(0,$e.I4)(Hi);return Is+Mu},0);Object.assign(Za,{segmentation:Ai,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 Xa,Wa=Uo.width,vi=Uo.height,Ai={id:Sr(qa),categoryId:St(xa),categoryName:Le==null||(Xa=Le.find(function(ii){return ii.id===xa}))===null||Xa===void 0?void 0:Xa.name};if(Tr){var _i=Wo()(Tr,4),fo=_i[0],Bi=_i[1],$i=_i[2],oi=_i[3];Object.assign(Ai,{boundingBox:(0,$e.kq)({x:fo,y:Bi,width:$i,height:oi},{width:Wa,height:vi})})}if(Za&&(Array.isArray(Za)?Object.assign(Ai,{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(Ai,{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?(vi([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),vi(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,xi.$I)}),fe(function(St){Object.assign(St,xi.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 Qa=nr(Hn[Dr],Hn,Tt);if(Qa.type!=="throw"){var ho=Qa.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(Qa.arg)}var Xr;xt(this,"_invoke",{value:function(Tt,an){function bn(){return new Bn(function(Qa,ho){yr(Tt,an,Qa,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 Qa=nr(Hn,Bn,yr);if(Qa.type==="normal"){if(Xr=yr.done?"completed":"suspendedYield",Qa.arg===Fn)continue;return{value:Qa.arg,done:yr.done}}Qa.type==="throw"&&(Xr="completed",yr.method="throw",yr.arg=Qa.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"),Qa=At.call(Tt,"finallyLoc");if(bn&&Qa){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;ctQa&&(an=Math.max(1,Qa)),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 Qa},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;aa(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,di,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?(di=go,Bt++):(di=Ae,ua===0&&Ra(xo)),di!==Ae?(Co=mo(),Co!==Ae?(Oo=dl(),Oo!==Ae?(di=[di,Co,Oo],ni=di):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae),ni===Ae&&(ni=null),ni!==Ae?(di=mo(),di!==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 Ii(){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=Ii(),dr===Ae&&(dr=Vl()),dr!==Ae)for(;dr!==Ae;)_n.push(dr),dr=Ii(),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,di,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)===Mi?(Fo=Mi,Bt+=4):(Fo=Ae,ua===0&&Ra(Pi))),Fo!==Ae?(es=mo(),es!==Ae?(ni=Bt,dt.charCodeAt(Bt)===44?(di=go,Bt++):(di=Ae,ua===0&&Ra(xo)),di!==Ae?(Co=mo(),Co!==Ae?(Oo=Zo(),Oo!==Ae?(di=[di,Co,Oo],ni=di):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae)):(Bt=ni,ni=Ae),ni===Ae&&(ni=null),ni!==Ae?(di=mo(),di!==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,di,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)===Si?(Fo=Si,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(di=mo(),di!==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=Ci(),ms!==Ae)for(;ms!==Ae;)ki.push(ms),ms=Ci();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,di,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)===Ei?(Fo=Ei,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(di=mo(),di!==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 Ci(){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;ztzo&&(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;zt(.*?)<\/([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. @@ -160,12 +160,12 @@ E.g.: https://xxx.com/xxx02.png`,"dataset.import.modal.emptyImgs":"\u6682\u65E0\u56FE\u7247","dataset.import.modal.tip.maxImgCount":"\u5DF2\u8D85\u8FC7\u6700\u5927\u56FE\u7247\u6570\u76EE\u9650\u5236\uFF0C\u8BF7\u68C0\u67E5","dataset.import.modal.tip.successLoad":"\u6210\u529F\u52A0\u8F7D{count}\u5F20\u56FE\u7247","dataset.import.modal.tip.partLoad":"\u6210\u529F\u52A0\u8F7D{count}\u5F20\u56FE\u7247\uFF0C\u90E8\u5206\u56FE\u7247\u52A0\u8F7D\u5931\u8D25\uFF0C\u6E05\u68C0\u67E5","dataset.import.modal.tip.policiesFail":"\u83B7\u53D6\u4E0A\u4F20\u51ED\u636E\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5","dataset.import.modal.tip.someUploadFail":"\u90E8\u5206\u56FE\u7247\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5","dataset.import.edit.modal.title":"\u5BFC\u5165\u56FE\u7247","dataset.import.modal.submit":"\u5BFC\u5165","dataset.import.modal.reset":"\u91CD\u7F6E","dataset.edit.modal.title":"\u7F16\u8F91\u6570\u636E\u96C6","dataset.edit.modal.submit":"\u66F4\u65B0","dataset.edit.modal.reset":"\u91CD\u7F6E","annotate.quick":"\u5FEB\u901F\u6807\u6CE8","annotate.quick.desc":"\u4E0A\u4F20\u672C\u5730\u56FE\u7247\u96C6\uFF0C\u8FDB\u884C\u5FEB\u901F\u6807\u6CE8\u4F53\u9A8C","annotate.collaborative":"\u534F\u540C\u6807\u6CE8","annotate.collaborative.desc":"\u521B\u5EFA\u6807\u6CE8\u9879\u76EE\uFF0C\u8FDB\u884C\u591A\u4EBA\u534F\u540C\u6807\u6CE8\u7BA1\u7406","annotator.setting":"\u8BBE\u7F6E","annotator.annotate":"\u6807\u6CE8","annotator.export":"\u5BFC\u51FA\u6807\u6CE8","annotator.formModal.title":"\u5F00\u59CB\u4E4B\u524D","annotator.formModal.importImages":"\u5BFC\u5165\u56FE\u7247","annotator.notice":'\u5FEB\u901F\u6807\u6CE8\u6A21\u5F0F\u4E0D\u4F1A\u4E0A\u4F20\u4EFB\u4F55\u56FE\u7247\u6216\u4FDD\u5B58\u6807\u6CE8\u7ED3\u679C\uFF0C\u4E3A\u4E86\u9632\u6B62\u6570\u636E\u4E22\u5931\uFF0C\u5EFA\u8BAE\u60A8\u5728\u79BB\u5F00\u524D\u70B9\u51FB\u5DE5\u4F5C\u533A\u53F3\u4E0A\u65B9"\u5BFC\u51FA\u6807\u6CE8"\u6309\u94AE\uFF0C\u5C06\u6807\u6CE8\u7ED3\u679C\u4FDD\u5B58\u5230\u672C\u5730\u3002',"annotator.formModal.imageTips":"\u6CE8\u610F\uFF1A\u6700\u591A\u5BFC\u5165{count}\u5F20\u56FE\u7247\uFF0C\u6BCF\u5F20\u56FE\u7247\u4E0D\u8D85\u8FC7{size}MB\u3002","annotator.formModal.categories":"\u5BFC\u5165\u6807\u6CE8\u7C7B\u522B","annotator.formModal.addCategory":"\u6DFB\u52A0","annotator.formModal.categoryPlaceholder":`\u8BF7\u8F93\u5165\u7C7B\u522B\u540D\u79F0, \u591A\u4E2A\u7C7B\u522B\u53EF\u4EE5\u6362\u884C\u5206\u9694, \u4F8B\u5982: person dog - 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"},Ea=s()(s()({},fr),Ur),ha=["cache"],Hn,Bn=!0,yr=new(nr()),Xr=Symbol("LANG_CHANGE"),Dr={"en-US":{messages:s()({},ra),locale:"en-US",antd:s()({},ar.Z),momentLocale:""},"zh-CN":{messages:s()({},Ea),locale:"zh-CN",antd:s()({},pa.Z),momentLocale:"zh-cn"}},Tt=function(zt,Ae,dn){var Dn,Mn,qn,rr;if(zt){var Hr=(Dn=Dr[zt])!==null&&Dn!==void 0&&Dn.messages?Object.assign({},Dr[zt].messages,Ae):Ae,Da=dn||{},ia=Da.momentLocale,Jr=ia===void 0?(Mn=Dr[zt])===null||Mn===void 0?void 0:Mn.momentLocale:ia,aa=Da.antd,Pr=aa===void 0?(qn=Dr[zt])===null||qn===void 0?void 0:qn.antd:aa,Zr=(rr=zt.split("-"))===null||rr===void 0?void 0:rr.join("-");Dr[zt]={messages:Hr,locale:Zr,momentLocale:Jr,antd:Pr},Zr===$a()&&yr.emit(Xr,Zr)}},an=function(zt){return(0,zn.We)().applyPlugins({key:"locale",type:"modify",initialValue:zt})},bn=function(zt){var Ae=an(Dr[zt]),dn=Ae.cache,Dn=t()(Ae,ha);return nn(Dn,dn)},Qa=function(zt,Ae){return Hn&&!Ae&&!zt?Hn:(zt||(zt=$a()),zt&&Dr[zt]?bn(zt):(kr()(!zt||!!Dr[zt],"The current popular language does not exist, please check the locales folder!"),Dr["en-US"]?bn("en-US"):nn({locale:"en-US",messages:{}})))},ho=function(zt){Hn=Qa(zt,!0)},$a=function(){var zt=an({});if(typeof(zt==null?void 0:zt.getLocale)=="function")return zt.getLocale();var Ae=navigator.cookieEnabled&&typeof localStorage!="undefined"&&Bn?window.localStorage.getItem("umi_locale"):"",dn,Dn=typeof navigator!="undefined"&&typeof navigator.language=="string";return dn=Dn?navigator.language.split("-").join("-"):"",Ae||dn||"en-US"},Ua=function(){var zt=$a(),Ae=["he","ar","fa","ku"],dn=Ae.filter(function(Dn){return zt.startsWith(Dn)}).length?"rtl":"ltr";return dn},Ka=function(zt){var Ae=arguments.length>1&&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"},Ea=s()(s()({},fr),Ur),ha=["cache"],Hn,Bn=!0,yr=new(nr()),Xr=Symbol("LANG_CHANGE"),Dr={"en-US":{messages:s()({},ra),locale:"en-US",antd:s()({},ar.Z),momentLocale:""},"zh-CN":{messages:s()({},Ea),locale:"zh-CN",antd:s()({},pa.Z),momentLocale:"zh-cn"}},Tt=function(zt,Ae,dn){var Dn,Mn,qn,rr;if(zt){var Hr=(Dn=Dr[zt])!==null&&Dn!==void 0&&Dn.messages?Object.assign({},Dr[zt].messages,Ae):Ae,Da=dn||{},ia=Da.momentLocale,Jr=ia===void 0?(Mn=Dr[zt])===null||Mn===void 0?void 0:Mn.momentLocale:ia,aa=Da.antd,Pr=aa===void 0?(qn=Dr[zt])===null||qn===void 0?void 0:qn.antd:aa,Zr=(rr=zt.split("-"))===null||rr===void 0?void 0:rr.join("-");Dr[zt]={messages:Hr,locale:Zr,momentLocale:Jr,antd:Pr},Zr===$a()&&yr.emit(Xr,Zr)}},an=function(zt){return(0,zn.We)().applyPlugins({key:"locale",type:"modify",initialValue:zt})},bn=function(zt){var Ae=an(Dr[zt]),dn=Ae.cache,Dn=t()(Ae,ha);return nn(Dn,dn)},Xa=function(zt,Ae){return Hn&&!Ae&&!zt?Hn:(zt||(zt=$a()),zt&&Dr[zt]?bn(zt):(kr()(!zt||!!Dr[zt],"The current popular language does not exist, please check the locales folder!"),Dr["en-US"]?bn("en-US"):nn({locale:"en-US",messages:{}})))},ho=function(zt){Hn=Xa(zt,!0)},$a=function(){var zt=an({});if(typeof(zt==null?void 0:zt.getLocale)=="function")return zt.getLocale();var Ae=navigator.cookieEnabled&&typeof localStorage!="undefined"&&Bn?window.localStorage.getItem("umi_locale"):"",dn,Dn=typeof navigator!="undefined"&&typeof navigator.language=="string";return dn=Dn?navigator.language.split("-").join("-"):"",Ae||dn||"en-US"},Ua=function(){var zt=$a(),Ae=["he","ar","fa","ku"],dn=Ae.filter(function(Dn){return zt.startsWith(Dn)}).length?"rtl":"ltr";return dn},Ka=function(zt){var Ae=arguments.length>1&&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. \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,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 Qa=$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)(Qa,{})},{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),Mi=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=Mi;function Si($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 Ei=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=Ei,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,cc=($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",cc({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,Ii=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={}))Ii.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,Ci=($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)&&Ci($e,Pe,pe[Pe]);if(ss)for(var Pe of ss(pe))bi.call(pe,Pe)&&Ci($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,di=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={}))di.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,fi=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={}))fi.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,ui=(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=ui,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)}})})]})]})})}),xi=ac,dc=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=dc,oc=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)(xi,{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=oc,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=Si({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)}),Xa=uo.scale,Wa=uo.naturalSize,vi=uo.clientSize,Ai=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:vi,naturalSize:Wa,categories:Rn,getAnnotColor:Bo}),Is=Wi.translateObject,ts=Wi.translateToObject,Hi=Io({clientSize:vi,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:vi,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:vi,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,sc=os.forceChangeTool,ed=os.onExitAIAnnotation,lc=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:vi,naturalSize:Wa,contentMouse:_i,imagePos:fo,containerMouse:Ai,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:vi,imagePos:fo,containerMouse:Ai,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:vi,contentMouse:_i,categories:Rn,updateRender:Ru,updateMouseCursor:Uc,objectHooksMap:ad,imagePos:fo,containerMouse:Ai,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:vi,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:lc,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:Xa,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:vi,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:sc,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=",ic=Object.defineProperty,_s=Object.getOwnPropertySymbols,su=Object.prototype.hasOwnProperty,wc=Object.prototype.propertyIsEnumerable,jc=($e,pe,Pe)=>pe in $e?ic($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=Si({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}),Xa=uo.resetDataWithImageData;(0,g.useEffect)(function(){Xa(wn[Rn],Nn)},[Nn,wn[Rn],Ln]),(0,g.useEffect)(function(){Uo()},[ta]);var Wa=(0,g.useState)(!0),vi=s()(Wa,2),Ai=vi[0],_i=vi[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,{})}),Ai&&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,{})})]}),!Ai&&(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),Xa=uo[0],Wa=uo[1];return{width:Xa,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=Si({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 Xa=uo.target,Wa={width:Xa.naturalWidth,height:Xa.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}, + `),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, &:focus, @@ -378,7 +378,7 @@ http://j.mp/37Fkd5Q `]:{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 Qa=(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(Qa.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&&(Qa.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}, + `]:{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}, 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, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', @@ -427,7 +427,7 @@ http://j.mp/37Fkd5Q `]:{[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{[` ${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),[Qa]=(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({},Qa),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: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,Ee1114111)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,Qa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,ho=typeof self=="object"&&self&&self.Object===Object&&self,$a=Qa||ho||Function("return this")(),Ua=y&&!y.nodeType&&y,Ka=Ua&&!0&&b&&!b.nodeType&&b,wo=Ka&&Ka.exports===Ua,No=wo&&Qa.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 Mi(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 Si(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=ci(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=Mi;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,`{ +\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},69485:function(b,y,e){"use strict";var a=e(42725),t=e(26583),o=e(5927),s=e(72901),n=e(63332),d=e(81732),l=e(37366),c=e(95173),m=e(9280),g=e(13719),M=e(96410),h=e(57759),S=e(77449);b.exports=function(w,C,z,$){var N="stackTraceLimit",L=$?2:1,B=w.split("."),D=B[B.length-1],T=a.apply(null,B);if(T){var j=T.prototype;if(!S&&t(j,"cause")&&delete j.cause,!z)return T;var K=a("Error"),k=C(function(te,Y){var q=m($?Y:te,void 0),le=$?new T(te):new T;return q!==void 0&&o(le,"message",q),M(le,k,le.stack,2),this&&s(j,this)&&c(le,this,k),arguments.length>L&&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,`{ /* [wrapped with `+E+`] */ -`)}function gi(p){return ci(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=ci(p)?ia:Ac;return oe&&ii(p,E,oe)&&(E=t),Fe(p,Tr(E,3))}function Pd(p,E){var oe=ci(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=ci(p)?Hr:Rl;return oe(p,Tr(E,3))}function yd(p,E){var oe=ci(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=ci(p)?Zr:io;return oe(p,Tr(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 bd=Or(function(p,E,oe){p[oe?0:1].push(E)},function(){return[[],[]]});function df(p,E,oe){var Fe=ci(p)?Na:Aa,ht=arguments.length<3;return Fe(p,Tr(E,4),oe,ht,Rl)}function Rd(p,E,oe){var Fe=ci(p)?eo:Aa,ht=arguments.length<3;return Fe(p,Tr(E,4),oe,ht,ku)}function i(p,E){var oe=ci(p)?Jr:pu;return oe(p,Fa(Tr(E,3)))}function v(p){var E=ci(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=ci(p)?ni:gc;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 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=ci(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=Si(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=Si(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=uc(E)||0,Fs(oe)&&(Sa=!!oe.leading,Pa="maxWait"in oe,Jt=Pa?Ao(uc(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,uc(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&&ci(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")},ci=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)&&(ci(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"||!ci(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?Mi:E==R?to:Fd;return oe(p)}function Qc(p){if(!p)return p===0?p:0;if(p=uc(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 uc(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=Ii(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?{}:xi(p,E)});function Rf(p,E){if(p==null)return{};var oe=Zr(ba(p),function(Fe){return[Fe]});return E=Tr(E),dc(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+"]")+` +`)}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+=`'; @@ -463,12 +463,12 @@ __p += '`),ji&&(Pa+=`' + 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,Ei(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||ci(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(ci(Jt)?Jt:[],ht)}return this[oe](function(Sn){return E.apply(ci(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 $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=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,ui;return io<=0?(jo=F-1,ui=tn(jo)+io):io>tn(F)?(jo=F+1,ui=io-tn(F)):(jo=F,ui=io),{year:jo,dayOfYear:ui}}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,ui;for(Pn=0;Pn<7;Pn++)Fr=S([2e3,1]).day(Pn),io=nt(this.weekdaysMin(Fr,"")),jo=nt(this.weekdaysShort(Fr,"")),ui=nt(this.weekdays(Fr,"")),ve.push(io),Ue.push(jo),ot.push(ui),Nt.push(io),Nt.push(jo),Nt.push(ui);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 Qa=/[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:Qa},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,ui=Pr.length,Vi=Zr.length;if(Nt){for(C(F).iso=!0,ve=0,Ue=ui;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,ui;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,ui=At(Ba(),Pn,Fr),Ue=sr(ve.gg,F._a[Ot],ui.year),ot=sr(ve.w,ui.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,ui,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),ui=C(F).era,ui!==null&&(F._a[Ot]=F._locale.erasConvertYear(ui,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(Si(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 Mi(Ue),Pi(F)&&d(F,"_locale")&&(Pn._locale=F._locale),Pi(F)&&d(F,"_isValid")&&(Pn._isValid=F._isValid),Pn}za.fn=Mi.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=Si(ve._days),Fr=Si(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 cc(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?cc: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?cc: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=Ci,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=Ei,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=Ii,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 di(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 fi=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=fi(Nt.as("s")),Fr=fi(Nt.as("m")),io=fi(Nt.as("h")),jo=fi(Nt.as("d")),ui=fi(Nt.as("M")),Vi=fi(Nt.as("w")),nl=fi(Nt.as("y")),ml=Pn<=Ue.ss&&["s",Pn]||Pn0,ml[4]=ot,hu.apply(null,ml)}function gl(F){return F===void 0?fi:typeof F=="function"?(fi=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,ui,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?"-":"",ui=Al(this._months)!==Al(io)?"-":"",Vi=Al(this._days)!==Al(io)?"-":"",nl=Al(this._milliseconds)!==Al(io)?"-":"",jo+"P"+(Pn?ui+Pn+"Y":"")+(Ue?ui+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=Mi.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=di,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(),Qa=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:Qa,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,Qa=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,Mi=ao.getSubPathKeys,Pi=h.useMemo(function(){return{registerPath:hi,unregisterPath:wi}},[hi,wi]),Si=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 Ei=(0,g.Z)(Ur||[],{value:Ea,postState:function(za){return Array.isArray(za)?za:za==null?en:[za]}}),Ti=(0,n.Z)(Ei,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=Mi(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:Qa,expandIcon:ho,onItemClick:Ks,onOpenChange:yl},h.createElement(q.Provider,{value:Si},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),Qa=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)(Qa,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),Ue=!1}return ve.apply(this,arguments)},ve)}var te={};function Y(F,ve){t.deprecationHandler!=null&&t.deprecationHandler(F,ve),te[F]||(K(ve),te[F]=!0)}t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;function q(F){return typeof Function!="undefined"&&F instanceof Function||Object.prototype.toString.call(F)==="[object Function]"}function le(F){var ve,Ue;for(Ue in F)d(F,Ue)&&(ve=F[Ue],q(ve)?this[Ue]=ve:this["_"+Ue]=ve);this._config=F,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function X(F,ve){var Ue=h({},F),ot;for(ot in ve)d(ve,ot)&&(n(F[ot])&&n(ve[ot])?(Ue[ot]={},h(Ue[ot],F[ot]),h(Ue[ot],ve[ot])):ve[ot]!=null?Ue[ot]=ve[ot]:delete Ue[ot]);for(ot in F)d(F,ot)&&!d(ve,ot)&&n(F[ot])&&(Ue[ot]=h({},Ue[ot]));return Ue}function W(F){F!=null&&this.set(F)}var x;Object.keys?x=Object.keys:x=function(F){var ve,Ue=[];for(ve in F)d(F,ve)&&Ue.push(ve);return Ue};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 _(F,ve,Ue){var ot=this._calendar[F]||this._calendar.sameElse;return q(ot)?ot.call(ve,Ue):ot}function U(F,ve,Ue){var ot=""+Math.abs(F),Nt=ve-ot.length,Pn=F>=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[` `,`\r -`].includes(to)})},[un]),Va=function(Ga,Jo,ti){var Io=!0,Ro=Ga;tr==null||tr(null);var Ei=ti?null:P(Ga,un);return on!=="combobox"&&Ei&&(Ro="",kt==null||kt(Ei),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,Ei=Io.length-1;Ei>=0;Ei-=1){var Ti=Io[Ei];if(!Ti.disabled){Io.splice(Ei,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?Ei-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"),Qa=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:Qa,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)})},[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),$=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -500,10 +500,10 @@ Arguments: `+Array.prototype.slice.call(ot).join("")+` `+de+i}var ge=!1;function be(i,v){if(!i||ge)return"";ge=!0;var I=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(v)if(v=function(){throw Error()},Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(Nr){var ee=Nr}Reflect.construct(i,[],v)}else{try{v.call()}catch(Nr){ee=Nr}i.call(v.prototype)}else{try{throw Error()}catch(Nr){ee=Nr}i()}}catch(Nr){if(Nr&&ee&&typeof Nr.stack=="string"){for(var De=Nr.stack.split(` `),_e=ee.stack.split(` `),$t=De.length-1,gn=_e.length-1;1<=$t&&0<=gn&&De[$t]!==_e[gn];)gn--;for(;1<=$t&&0<=gn;$t--,gn--)if(De[$t]!==_e[gn]){if($t!==1||gn!==1)do if($t--,gn--,0>gn||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 Ci(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));Ci(rs,v),Ci(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,Ci(rs,i),Ci(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),Ci(rs,i)):bi(mo),Ci(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),fi&&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),fi&&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 fi&&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)}),fi&&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 ui(i){if(i===Pn)throw Error(o(174));return i}function Vi(i,v){switch(Ci(jo,v),Ci(io,i),Ci(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),Ci(Fr,v)}function nl(){bi(Fr),bi(io),bi(jo)}function ml(i){ui(jo.current);var v=ui(Fr.current),I=Ee(v,i.type);v!==I&&(Ci(io,i),Ci(Fr,I))}function ac(i){io.current===i&&(bi(Fr),bi(io))}var xi=El(0);function dc(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 oc(){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(fi){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(fi){var I=Wo,ee=el;I=(ee&~(1<<32-on(ee)-1)).toString(32)+I,v=":"+v+"R"+I,I=Hu++,0")&&(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++,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=dc($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&&!fi)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=xi.current,Ci(xi,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 di(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)):(fi&&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},Ci(Tc,Jl),Jl|=I;else if(I&1073741824)v.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee=_e!==null?_e.baseLanes:I,Ci(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,Ci(Tc,Jl),Jl|=i,null;else _e!==null?(ee=_e.baseLanes|I,v.memoizedState=null):ee=I,Ci(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),di(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)):(fi&&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(di(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=xi.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),Ci(xi,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,Xa(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=Xa(i,v,I,null);else if(gn.data==="$!")v=Xa(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=Xa(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,fi=!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 Xa(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 vi(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(pn(i,v,ee.children,I),ee=xi.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(Ci(xi,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&&dc(i)===null&&(De=I),I=I.sibling;I=De,I===null?(De=v.child,v.child=null):(De=I.sibling,I.sibling=null),vi(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&&dc(i)===null){v.child=De;break}i=De.sibling,De.sibling=I,I=De,De=i}vi(v,!0,I,null,_e);break;case"together":vi(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;Ci(dr,ee._currentValue),ee._currentValue=De;break;case 13:if(ee=v.memoizedState,ee!==null)return ee.dehydrated!==null?(Ci(xi,xi.current&1),v.flags|=128,null):I&v.child.childLanes?Ho(i,v,I):(Ci(xi,xi.current&1),i=_i(i,v,I),i!==null?i.sibling:null);Ci(xi,xi.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),Ci(xi,xi.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),oc(),i=v.flags,i&65536&&!(i&128)?(v.flags=i&-65537|128,v):null;case 5:return ac(v),null;case 13:if(bi(xi),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(xi),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[Ii],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,lc===null)var ee=!1;else{if(i=lc,lc=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,fi&&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);di(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,fi&&_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,fi=!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,Ci(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,di(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,di(v,I),ku(v,ee,De),gu(v,ee,De,I),ba(null,v,ee,!0,i,I);case 19:return Ai(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. +`+_e.stack}return{value:i,source:v,stack:De}}function Vr(i,v){try{console.error(v.value)}catch(I){setTimeout(function(){throw I})}}var Rr=typeof WeakMap=="function"?WeakMap:Map;function Br(i,v,I){I=Gl(-1,I),I.tag=3,I.payload={element:null};var ee=v.value;return I.callback=function(){kc||(kc=!0,fd=ee),Vr(i,v)},I}function Cr(i,v,I){I=Gl(-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(){Vr(i,v)}}var _e=i.stateNode;return _e!==null&&typeof _e.componentDidCatch=="function"&&(I.callback=function(){Vr(i,v),typeof ee!="function"&&(lc===null?lc=new Set([this]):lc.add(this));var $t=v.stack;this.componentDidCatch(v.value,{componentStack:$t!==null?$t:""})}),I}function V(i,v,I){var ee=i.pingCache;if(ee===null){ee=i.pingCache=new Rr;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=sd.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 fe(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=Gl(-1,1),v.tag=2,ls(I,v))),I.lanes|=1),i)}var Ce,Le,et,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}},Le=function(){},et=function(i,v,I,ee){var De=i.memoizedProps;if(De!==ee){i=v.stateNode,ci(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)}Ne(I,ee);var $t;I=null;for(Nr in De)if(!ee.hasOwnProperty(Nr)&&De.hasOwnProperty(Nr)&&De[Nr]!=null)if(Nr==="style"){var gn=De[Nr];for($t in gn)gn.hasOwnProperty($t)&&(I||(I={}),I[$t]="")}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 Un=ee[Nr];if(gn=De!=null?De[Nr]:void 0,ee.hasOwnProperty(Nr)&&Un!==gn&&(Un!=null||gn!=null))if(Nr==="style")if(gn){for($t in gn)!gn.hasOwnProperty($t)||Un&&Un.hasOwnProperty($t)||(I||(I={}),I[$t]="");for($t in Un)Un.hasOwnProperty($t)&&gn[$t]!==Un[$t]&&(I||(I={}),I[$t]=Un[$t])}else I||(_e||(_e=[]),_e.push(Nr,I)),I=Un;else Nr==="dangerouslySetInnerHTML"?(Un=Un?Un.__html:void 0,gn=gn?gn.__html:void 0,Un!=null&&gn!==Un&&(_e=_e||[]).push(Nr,Un)):Nr==="children"?typeof Un!="string"&&typeof Un!="number"||(_e=_e||[]).push(Nr,""+Un):Nr!=="suppressContentEditableWarning"&&Nr!=="suppressHydrationWarning"&&(n.hasOwnProperty(Nr)?(Un!=null&&Nr==="onScroll"&&zo("scroll",i),_e||gn===Un||(_e=[])):(_e=_e||[]).push(Nr,Un))}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(!vi)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 cn(i,v,I){var ee=v.pendingProps;switch(tl(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 Fi(v.type)&&ou(),Vt(v),null;case 3:return ee=v.stateNode,nl(),bi(mo),bi(rs),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,Cs!==null&&(ad(Cs),Cs=null))),Le(i,v),Vt(v),null;case 5:ac(v);var De=ci(jo.current);if(I=v.type,i!==null&&v.stateNode!=null)et(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=ci(Fr.current),zl(v)){ee=v.stateNode,I=v.type;var _e=v.memoizedProps;switch(ee[vs]=v,ee[Sl]=_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=$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. 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. @@ -511,7 +511,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 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)&&(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:"964b8294",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;ltypeof 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:Si;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||Mi,hasChildren:$r.hasChildren}))},za)}function Mi(){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 Si($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;Ko0})),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
- + \ No newline at end of file