You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Paperlibrary__Add__index...

319 lines
1.2 MiB

(self.webpackChunk=self.webpackChunk||[]).push([[3260],{35323:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},19155:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},72295:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={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"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},93343:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},24566:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},80205:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},43971:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},58358:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},44757:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},16537:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={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"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},89378:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},77042:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},37520:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},5527:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},53878:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ut}});var b=te(5891),ue=te(59301),Be={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"},Te=Be,Ie=te(88853),Oe=function(Ue,Qe){return ue.createElement(Ie.Z,(0,b.Z)({},Ue,{ref:Qe,icon:Te}))},le=ue.forwardRef(Oe),ut=le},93938:function(Ut,Gt){"use strict";Gt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},11037:function(Ut,Gt){"use strict";Gt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},43167:function(Ut,Gt){"use strict";Gt.Z={flex_box_center:"flex_box_center___ycN2f",flex_space_between:"flex_space_between___LcS9e",flex_box_vertical_center:"flex_box_vertical_center___uwjPm",flex_box_center_end:"flex_box_center_end___Pc903",flex_box_column:"flex_box_column___AXEdv",bg:"bg___fm2Cw",title:"title___J3MCU",editIcon:"editIcon___i4Zll",titleLeft:"titleLeft___da61c",titleRight:"titleRight___EsdL6",formWrap:"formWrap___YTxC3",baseLineHeight:"baseLineHeight___TprCB",radioBtnWrapper:"radioBtnWrapper___Mt_XG",radiogroup:"radiogroup___EvkWh",easy:"easy___mSxtg",medium:"medium___NIaWN",hard:"hard___mddnD",baseFormItem:"baseFormItem___csbyb",cascaderPopup:"cascaderPopup___BttnF",selectdiv:"selectdiv___TAr4i",divitem:"divitem___iaXB2",bottmodiv:"bottmodiv___bmp6p",cancelBtn:"cancelBtn___Q4ZcL",confirmBtn:"confirmBtn___nRiCD",concat:"concat___jlPR1"}},49731:function(Ut,Gt,te){"use strict";var b=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Oe=(ot,Ue,Qe)=>Ue in ot?ue(ot,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ot[Ue]=Qe,le=(ot,Ue)=>{for(var Qe in Ue||(Ue={}))Te.call(Ue,Qe)&&Oe(ot,Qe,Ue[Qe]);if(Be)for(var Qe of Be(Ue))Ie.call(Ue,Qe)&&Oe(ot,Qe,Ue[Qe]);return ot};const ut=ot=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ot),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},11961:function(Ut,Gt,te){"use strict";var b=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Oe=(ot,Ue,Qe)=>Ue in ot?ue(ot,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):ot[Ue]=Qe,le=(ot,Ue)=>{for(var Qe in Ue||(Ue={}))Te.call(Ue,Qe)&&Oe(ot,Qe,Ue[Qe]);if(Be)for(var Qe of Be(Ue))Ie.call(Ue,Qe)&&Oe(ot,Qe,Ue[Qe]);return ot};const ut=ot=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},ot),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));Gt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},37404:function(){"use strict";function Ut(se,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=se,this._defaultValue=y,this._minimum=a,this._maximum=x}Object.defineProperty(Ut.prototype,"name",{get:function(){return this._name},set:function(se){if(typeof se!="string"||se==="")throw new Error("Shape name must be a valid string.");this._name=se}}),Object.defineProperty(Ut.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("The default value must be a real number, not: "+se);this._defaultValue=se}}),Object.defineProperty(Ut.prototype,"minimum",{get:function(){return this._minimum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Minimum must be a real number, not: "+se);this._minimum=se}}),Object.defineProperty(Ut.prototype,"maximum",{get:function(){return this._maximum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Maximum must be a real number, not: "+se);this._maximum=se}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(se,y){var a=go.Shape._FigureParameters[se];return a?a[y]:null},go.Shape.setFigureParameter=function(se,y,a){if(!(a instanceof Ut))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[se];x||(x=[],go.Shape._FigureParameters[se]=x),x[y]=a};var Gt=[];function te(se,y){var a=Gt.pop();return a===void 0?new go.Point(se,y):(a.x=se,a.y=y,a)}function b(){var se=Gt.pop();return se===void 0?new go.Point:se}function ue(se){Gt.push(se)}function Be(se,y,a,x,E,z,ne,re,ie){ie||(ie=new go.Point);var de=se-a,pe=E-ne,Pe=NaN,je=NaN;if(de===0)if(pe===0)se===a&&(Pe=se,je=y);else{var Le=(z-re)/pe,Ye=z-Le*E;Pe=se,je=Le*Pe+Ye}else if(pe===0){var Se=(y-x)/de,Me=y-Se*se;Pe=E,je=Se*Pe+Me}else{var Se=(y-x)/de,Le=(z-re)/pe,Me=y-Se*se,Ye=z-Le*E;Pe=(Ye-Me)/(Se-Le),je=Se*Pe+Me}return ie.x=Pe,ie.y=je,ie}function Te(se,y,a,x,E,z,ne,re,ie,de,pe,Pe,je,Le){var Ye=1-ie,Se=ie,Me=se*Ye+a*Se,qe=y*Ye+x*Se,ht=a*Ye+E*Se,Ae=x*Ye+z*Se,mt=E*Ye+ne*Se,At=z*Ye+re*Se,Et=Me*Ye+ht*Se,dt=qe*Ye+Ae*Se,Qt=ht*Ye+mt*Se,St=Ae*Ye+At*Se,an=Et*Ye+Qt*Se,En=dt*Ye+St*Se;de.x=Me,de.y=qe,pe.x=Et,pe.y=dt,Pe.x=an,Pe.y=En,je.x=Qt,je.y=St,Le.x=mt,Le.y=At}var Ie=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ut("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var E=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()));return E>1&&(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,1,-E,-E)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=y,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(se,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y/2,x.startY=0,x.endX=y/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,y,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*y,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,y,a){var x=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return E.spot1=Ie,E.spot2=Oe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(se,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(se,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,le*y,0,y,(1-le)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,le*a,(1-le)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,le*a,le*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-le)*y,0,0,(1-le)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ut("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var E=Math.abs(x)*y;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new Ut("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y:x>y&&(x=y);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.setFigureParameter("Trapezoid1",0,new Ut("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var E=Math.abs(x)*y;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new Ut("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)?x=20:x<-y?x=-y/2:x>y&&(x=y/2);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}}),go.Shape.setFigureParameter("ManualOperation",0,new Ut("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y/2:x>y&&(x=y/2);var E=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=y,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):z.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E<y/2&&z.setSpots(E/y,0,(y-E)/y,1),z}});var ut=[];function ot(){var se=ut.pop();return se===void 0?[]:se}function Ue(se){se.length=0,ut.push(se)}function Qe(se){for(var y=ot(),a=.5,x=.5,E=Math.PI*1.5,z=0,ne=0;ne<se;ne++)z=2*Math.PI/se*ne+E,y[ne]=new go.Point(x+a*Math.cos(z),x+a*Math.sin(z));return y.push(y[0]),y}function tt(se){var y=Je(se),a=ot();a[0]=y[0];for(var x=1,E=1;x<y.length;x+=2,E+=3)a[E]=y[x],a[E+1]=y[x],a[E+2]=y[x+1];return Ue(y),a}function Je(se){for(var y=Qe(se),a=ot(),x=Math.floor(y.length/2),E=y.length-1,z=se%2===0?2:1,ne=0;ne<E;ne++){var re=y[ne],ie=y[ne+1],de=y[(x+ne-1)%E],pe=y[(x+ne+z)%E];a[ne*2]=re,a[ne*2+1]=Be(re.x,re.y,de.x,de.y,ie.x,ie.y,pe.x,pe.y,new go.Point)}return a[a.length]=a[0],Ue(y),a}go.Shape.defineFigureGenerator("Pentagon",function(se,y,a){var x=Qe(5),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<5;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.2,.22),E.spot2=new go.Spot(.8,.9),E}),go.Shape.defineFigureGenerator("Hexagon",function(se,y,a){var x=Qe(6),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<6;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.07,.25),E.spot2=new go.Spot(.93,.75),E}),go.Shape.defineFigureGenerator("Heptagon",function(se,y,a){var x=Qe(7),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<7;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.2,.15),E.spot2=new go.Spot(.8,.85),E}),go.Shape.defineFigureGenerator("Octagon",function(se,y,a){var x=Qe(8),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<8;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.85),E}),go.Shape.defineFigureGenerator("Nonagon",function(se,y,a){var x=Qe(9),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<9;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.17,.13),E.spot2=new go.Spot(.82,.82),E}),go.Shape.defineFigureGenerator("Decagon",function(se,y,a){var x=Qe(10),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("Dodecagon",function(se,y,a){var x=Qe(12),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.16,.16),E.spot2=new go.Spot(.84,.84),E}),go.Shape.defineFigureGenerator("FivePointedStar",function(se,y,a){var x=Je(5),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<10;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.266,.333),E.spot2=new go.Spot(.733,.733),E}),go.Shape.defineFigureGenerator("SixPointedStar",function(se,y,a){var x=Je(6),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<12;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.17,.25),E.spot2=new go.Spot(.83,.75),E}),go.Shape.defineFigureGenerator("SevenPointedStar",function(se,y,a){var x=Je(7),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<14;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("EightPointedStar",function(se,y,a){var x=Je(8),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<16;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("NinePointedStar",function(se,y,a){var x=Je(9),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<18;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.666),E}),go.Shape.defineFigureGenerator("TenPointedStar",function(se,y,a){var x=Je(10),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<20;ne++)z.add(new go.PathSegment(go.PathSegment.Line,x[ne].x*y,x[ne].y*a));return z.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),Ue(x),E.spot1=new go.Spot(.281,.261),E.spot2=new go.Spot(.723,.748),E}),go.Shape.defineFigureGenerator("FivePointedBurst",function(se,y,a){var x=tt(5),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*y,x[ne+2].y*a,x[ne].x*y,x[ne].y*a,x[ne+1].x*y,x[ne+1].y*a));return z.segments.last().close(),Ue(x),E.spot1=new go.Spot(.222,.277),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("SixPointedBurst",function(se,y,a){var x=tt(6),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*y,x[ne+2].y*a,x[ne].x*y,x[ne].y*a,x[ne+1].x*y,x[ne+1].y*a));return z.segments.last().close(),Ue(x),E.spot1=new go.Spot(.17,.222),E.spot2=new go.Spot(.833,.777),E}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(se,y,a){var x=tt(7),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*y,x[ne+2].y*a,x[ne].x*y,x[ne].y*a,x[ne+1].x*y,x[ne+1].y*a));return z.segments.last().close(),Ue(x),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("EightPointedBurst",function(se,y,a){var x=tt(8),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*y,x[ne+2].y*a,x[ne].x*y,x[ne].y*a,x[ne+1].x*y,x[ne+1].y*a));return z.segments.last().close(),Ue(x),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("NinePointedBurst",function(se,y,a){var x=tt(9),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*y,x[ne+2].y*a,x[ne].x*y,x[ne].y*a,x[ne+1].x*y,x[ne+1].y*a));return z.segments.last().close(),Ue(x),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.defineFigureGenerator("TenPointedBurst",function(se,y,a){var x=tt(10),E=new go.Geometry,z=new go.PathFigure(x[0].x*y,x[0].y*a,!0);E.add(z);for(var ne=1;ne<x.length;ne+=3)z.add(new go.PathSegment(go.PathSegment.Bezier,x[ne+2].x*y,x[ne+2].y*a,x[ne].x*y,x[ne].y*a,x[ne+1].x*y,x[ne+1].y*a));return z.segments.last().close(),Ue(x),E.spot1=new go.Spot(.222,.222),E.spot2=new go.Spot(.777,.777),E}),go.Shape.setFigureParameter("FramedRectangle",0,new Ut("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new Ut("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(se,y,a){var x=se?se.parameter1:NaN,E=se?se.parameter2:NaN;isNaN(x)&&(x=8),isNaN(E)&&(E=8);var z=new go.Geometry,ne=new go.PathFigure(0,0,!0);return z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<y/2&&E<a/2&&(ne.add(new go.PathSegment(go.PathSegment.Move,x,E)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-x,a-E)),ne.add(new go.PathSegment(go.PathSegment.Line,y-x,E).close())),z.setSpots(0,0,1,1,x,E,-x,-E),z}),go.Shape.setFigureParameter("Ring",0,new Ut("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var E=y/2,z=new go.Geometry,ne=new go.PathFigure(y,y/2,!0);z.add(ne),ne.add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close());var re=Math.max(E-x,0);return re>0&&(ne.add(new go.PathSegment(go.PathSegment.Move,y/2+re,y/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,re,re).close())),z.spot1=Ie,z.spot2=Oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,y,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Ut("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ut("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,y,a){var x=se?se.parameter1:NaN,E=se?se.parameter2:NaN;isNaN(x)&&(x=0),isNaN(E)&&(E=315);var z=x%360;z<0&&(z+=360);var ne=E%360,re=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,ne,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,y,a){var x=le/Math.SQRT2*.5,E=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,z*a,y,(1-x)*a,(E+x)*y,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ut("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var E=Math.min(x,y)/2,z=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=Math.min(x,y)/2,z=y/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+E,0)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne-E)).add(new go.PathSegment(go.PathSegment.Line,y,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,z+E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,a)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne+E)).add(new go.PathSegment(go.PathSegment.Line,0,ne-E)).add(new go.PathSegment(go.PathSegment.Line,z-E,ne-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ut("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,y,a){var x=se?se.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var z=y/2,ne=a/2,re=Math.atan2(a,y),ie=x-Math.min(Math.cos(re)*x/2,z),de=x-Math.min(Math.sin(re)*x/2,ne),E=new go.Geometry,pe=new go.PathFigure(ie,0,!0);return E.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),pe.add(new go.PathSegment(go.PathSegment.Line,y-ie,0)),pe.add(new go.PathSegment(go.PathSegment.Line,y,de)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,y,a-de)),pe.add(new go.PathSegment(go.PathSegment.Line,y-ie,a)),pe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),pe.add(new go.PathSegment(go.PathSegment.Line,ie,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a-de)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,de).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var E=new go.Geometry,z=new go.PathFigure(.1*y,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Ut("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ut("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.5);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-x)*y,.25*a,Math.abs(1-x)*y,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,le*y,0,y,(.5-le/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+le/2)*a,le*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var z=.2,ne=.3,re=0,ie=z*le;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+z+re)*a,(.5-z+ne)*y,(.5+ie+re)*a,(.5-ie+ne)*y,(.5+z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*y,(.5+re)*a,(.5+ie+ne)*y,(.5+z+re)*a,(.5+z+ne)*y,(.5+ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-z+re)*a,(1-.5+z+ne)*y,(.5-ie+re)*a,(.5+ie+ne)*y,(.5-z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ie+ne)*y,(.5-z+re)*a,(.5-z+ne+.05)*y,(.5-ie+re-.02)*a)),z=.2,ne=0,re=-.3,ie=z*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*y,(.5+re)*a,(.5+ie+ne)*y,(.5+z+re)*a,(.5+z+ne)*y,(.5+ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-z+re)*a,(1-.5+z+ne)*y,(.5-ie+re)*a,(.5+ie+ne)*y,(.5-z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*y,(.5+re)*a,(.5-ie+ne)*y,(.5-z+re)*a,(.5-z+ne)*y,(.5-ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+ne)*y,(.5+z+re)*a,(.5-z+ne)*y,(.5+ie+re)*a,(.5-ie+ne)*y,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ie=z*le,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5-z+re)*a,(1-.5+z+ne-.05)*y,(.5-ie+re-.02)*a,(.5+ie+ne)*y,(.5-z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*y,(.5+re)*a,(.5-ie+ne)*y,(.5-z+re)*a,(.5-z+ne)*y,(.5-ie+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*y,(.5+z+re)*a,(.5-z+ne)*y,(.5+ie+re)*a,(.5-ie+ne)*y,(.5+z+re)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ie+ne)*y,(.5+z+re)*a,(.5+z+ne)*y,(.5+ie+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var z=.1,ne=.5,re=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*y,re*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*ne,a*re,z*y,z*y).close()),E=new go.PathFigure(y*.5,0,!1),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),re=.75,E=new go.PathFigure((ne+z)*y,re*a,!0),x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*re,z*y,z*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(se,y,a){var x=.8535533905932737,E=.5*y,z=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,z,E,z)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,y,a){var x=new go.Geometry,E=le*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure(ne*y,(re-z)*a);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),z=.4,E=le*.4;var de=b(),pe=b(),Pe=b(),je=b();Te(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.42,de,pe,Pe,je,je);var Le=b(),Ye=b(),Se=b();Te(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.58,je,je,Se,Le,Ye);var Me=b(),qe=b(),ht=b();Te(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.42,Me,qe,ht,je,je);var Ae=b(),mt=b(),At=b();return Te(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.58,je,je,At,Ae,mt),ie.add(new go.PathSegment(go.PathSegment.Move,At.x*y,At.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,Ae.x*y,Ae.y*a,mt.x*y,mt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Pe.x*y,Pe.y*a,de.x*y,de.y*a,pe.x*y,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,At.x*y,At.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,ht.x*y,ht.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Se.x*y,Se.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,Le.x*y,Le.y*a,Ye.x*y,Ye.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*y,ht.y*a,Me.x*y,Me.y*a,qe.x*y,qe.y*a).close()),ue(de),ue(pe),ue(Pe),ue(je),ue(Le),ue(Ye),ue(Se),ue(Me),ue(qe),ue(ht),ue(Ae),ue(mt),ue(At),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ut("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>y&&(x=y);var E=(y-x)/2,z=E+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,y,a){var x=new go.Geometry,E=le*.4,z=.4,ne=.5,re=.5,ie=b(),de=b(),pe=b(),Pe=b(),je=new go.PathFigure((ne-z)*y,re*a,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),Te(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.44,pe,Pe,de,ie,ie),je.add(new go.PathSegment(go.PathSegment.Bezier,de.x*y,de.y*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a));var Le=te(de.x,de.y);Te(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.56,ie,ie,de,pe,Pe);var Ye=te(de.x,de.y);je.add(new go.PathSegment(go.PathSegment.Line,(Le.x*.1+.95*.9)*y,Le.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*y,Le.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),je.add(new go.PathSegment(go.PathSegment.Line,y,0)),je.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(Ye.x*.1+.9)*y,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(Ye.x*.1+.9)*y,(Ye.y*.1+.05*.9)*a)),je.add(new go.PathSegment(go.PathSegment.Line,Ye.x*y,Ye.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),z=.35,E=le*.35;var Se=new go.PathFigure(ne*y,(re-z)*a,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a));var Me=new go.PathFigure((ne-z)*y,re*a,!1);return x.add(Me),ue(ie),ue(de),ue(pe),ue(Pe),ue(Le),ue(Ye),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(se,y,a){var x=new go.Geometry,E=.375,z=0,ne=-.125,re=E*le,ie=new go.PathFigure((.525+z)*y,(.5+E+ne)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ne)*a,(.5+re+z)*y,(.5+E+ne)*a,(.5+E+z)*y,(.5+re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ne)*a,(1-.5+E+z)*y,(.5-re+ne)*a,(.5+re+z)*y,(.5-E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ne)*a,(.5-re+z)*y,(.5-E+ne)*a,(.5-E+z)*y,(.5-re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*y,(.5+E+ne)*a,(.5-E+z)*y,(.5+re+ne)*a,(.5-re+z)*y,(.5+E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,z=0,ne=-.125,re=E*le;var ie=new go.PathFigure((1-.5+E+z)*y,(.5+ne)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+ne)*a,(.5+E+z)*y,(.5+re+ne)*a,(.5+re+z)*y,(.5+E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ne)*a,(.5-re+z)*y,(.5+E+ne)*a,(.5-E+z)*y,(.5+re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+ne)*a,(.5-E+z)*y,(.5-re+ne)*a,(.5-re+z)*y,(.5-E+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+ne)*a,(.5+re+z)*y,(.5-E+ne)*a,(1-.5+E+z)*y,(.5-re+ne)*a));var ie=new go.PathFigure((.525+z)*y,(.5+E+ne)*a,!1);return x.add(ie),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(se,y,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,y,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,y,a){var x=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ut("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ut("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var E=se?se.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-x)*y,ne=(.5-E/2)*a,re=(.5+E/2)*a,ie=new go.Geometry,de=new go.PathFigure(0,ne,!0);ie.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,ne)),de.add(new go.PathSegment(go.PathSegment.Line,z,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,z,a)),de.add(new go.PathSegment(go.PathSegment.Line,z,re)),de.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,ne/a);var pe=Be(0,re/a,1,re/a,z/y,1,1,.5,b());return ie.spot2=new go.Spot(pe.x,pe.y),ue(pe),ie}),go.Shape.setFigureParameter("Arrow2",0,new Ut("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ut("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var E=se?se.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var z=y-x,ne=(a-E)/2,re=ne+E,ie=new go.Geometry,de=new go.PathFigure(0,ne,!0);ie.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z,ne)),de.add(new go.PathSegment(go.PathSegment.Line,z,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,z,a)),de.add(new go.PathSegment(go.PathSegment.Line,z,re)),de.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,ne/a);var pe=Be(0,re/a,1,re/a,z/y,1,1,.5,b());return ie.spot2=new go.Spot(pe.x,pe.y),ue(pe),ie}),go.Shape.defineFigureGenerator("Chevron",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ut("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ie=Be(0,.5,.3,0,0,E/a,.1,E/a,b());return ne.spot1=new go.Spot(ie.x,ie.y),ie=Be(.7,1,1,.5,0,z/a,1,z/a,ie),ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ut("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ut("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var E=se?se.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-x)/2,ne=z+x,re=(a-E)/2,ie=re+E;(x>a||E>a)&&(E>x?(x=x*a/E,z=(a-x)/2,ne=z+x,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var de=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close());var Pe=Be(0,.5,.3,re/a,0,z/a,1,z/a,b());return de.spot1=new go.Spot(Pe.x,Pe.y),Pe=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,Pe),de.spot2=new go.Spot(Pe.x,Pe.y),ue(Pe),de}),go.Shape.setFigureParameter("IBeamArrow",0,new Ut("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var E=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(0,E/a);var ie=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ut("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ut("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var E=se?se.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-x)/2,ne=z+x,re=(a-E)/2,ie=re+E;(x>a||E>a)&&(E>x?(x=x*a/E,z=(a-x)/2,ne=z+x,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var de=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);de.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ie)),pe.add(new go.PathSegment(go.PathSegment.Line,0,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,re)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close()),de.spot1=new go.Spot(0,z/a);var Pe=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,b());return de.spot2=new go.Spot(Pe.x,Pe.y),ue(Pe),de}),go.Shape.setFigureParameter("Pointer",0,new Ut("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.1);var E=new go.Geometry,z=new go.PathFigure(y,.5*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(x,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,b());return E.spot2=new go.Spot(ne.x,ne.y),ue(ne),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Ut("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var E=new go.Geometry,z=new go.PathFigure(y,.5*a,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),E.spot1=new go.Spot(x,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,b());return E.spot2=new go.Spot(ne.x,ne.y),ue(ne),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ut("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.4);var E=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,.3);var ie=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ut("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=50);var E=(a-x)/2,z=E+x;x>a&&(E=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),ne.spot1=new go.Spot(.2,E/a);var ie=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ie.x,ie.y),ue(ie),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Ut("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.7);var E=new go.Geometry,z=new go.PathFigure(y,.5*a,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(x,1),E}),go.Shape.defineFigureGenerator("Cone1",function(se,y,a){var x=new go.Geometry,E=le*.5,z=le*.1,ne=new go.PathFigure(0,.9*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+z)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*y,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,x,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,le*x,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+z)*y,0,1*y,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-le*x,(.5+z)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*y,1*a,0,a-le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(y,x,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-le*x,(.5+z)*y,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*y,2*x,0,2*x-le*x)),E.spot1=new go.Spot(0,0,0,2*x),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var E=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,a-x,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,le*x,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+z)*y,0,y,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-le*x,(.5+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*y,a,0,a-le*x));var re=new go.PathFigure(0,a-x,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-le*x,(.5-z)*y,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+z)*y,a-2*x,y,a-x-le*x)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*x),E}),go.Shape.defineFigureGenerator("Cylinder3",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,z=le*.5,ne=new go.PathFigure(x,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-le*x,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+z)*a,y-le*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0));var re=new go.PathFigure(x,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+le*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+le*x,a)),E.spot1=new go.Spot(0,0,2*x,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var E=new go.Geometry,z=le*.5,ne=new go.PathFigure(y-x,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-le*x,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+z)*a,y-le*x,a)),ne.add(new go.PathSegment(go.PathSegment.Line,x,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,le*x,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,le*x,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var re=new go.PathFigure(y-x,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-le*x,0,y-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+z)*a,y-x-le*x,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*x,0),E}),go.Shape.defineFigureGenerator("Prism1",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*y,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(se,y,a){var x=new go.Geometry,E=.2,z=.1,ne=le*E,re=le*z,ie=.5,de=.1,pe=new go.PathFigure(ie*y,(de+z)*a,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-E)*y,de*a,(ie-ne)*y,(de+z)*a,(ie-E)*y,(de+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-z)*a,(ie-E)*y,(de-re)*a,(ie-ne)*y,(de-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+E)*y,de*a,(ie+ne)*y,(de-z)*a,(ie+E)*y,(de-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de+z)*a,(ie+E)*y,(de+re)*a,(ie+ne)*y,(de+z)*a));var Pe=.05,je=le*Pe;ie=.05,de=.25;var Le=new go.PathFigure(.5*y,.2*a,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,de=.25,Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie+Pe)*y,de*a,(ie+je)*y,(de-Pe)*a,(ie+Pe)*y,(de-je)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),Pe=.025,je=le*Pe,ie=.825,de=.35,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-Pe)*a,(ie+Pe)*y,(de-je)*a,(ie+je)*y,(de-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Pe)*y,de*a,(ie-je)*y,(de-Pe)*a,(ie-Pe)*y,(de-je)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),Pe=.05,je=le*Pe,ie=.5,de=.7,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-Pe)*a,(ie+Pe)*y,(de-je)*a,(ie+je)*y,(de-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Pe)*y,de*a,(ie-je)*y,(de-Pe)*a,(ie-Pe)*y,(de-je)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Le.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),Pe=.025,je=le*Pe,ie=.175,de=.35,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-Pe)*a,(ie+Pe)*y,(de-je)*a,(ie+je)*y,(de-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-Pe)*y,de*a,(ie-je)*y,(de-Pe)*a,(ie-Pe)*y,(de-je)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Le.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),Pe=.05,je=le*Pe,ie=.05,de=.25,Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-Pe)*a,(ie-Pe)*y,(de-je)*a,(ie-je)*y,(de-Pe)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Ut("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,y,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var E=new go.Geometry,z=new go.PathFigure(y,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),E.spot1=new go.Spot(0,x),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var z=new go.PathFigure(.5*y,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x}),go.Shape.defineFigureGenerator("Database",function(se,y,a){var x=new go.Geometry,E=le*.5,z=le*.1,ne=new go.PathFigure(y,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+z)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-z)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-z)*a));var re=new go.PathFigure(y,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+z)*a,(.5+E)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+z)*a,(.5+E)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+z)*a,(.5+E)*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(se,y,a){var x=new go.Geometry,E=le*.5,z=le*.1,ne=new go.PathFigure(y,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+z)*a,(.5+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-z)*a,(.5-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-z)*a));var re=new go.PathFigure(y,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+z)*a,(.5+E)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+z)*a,(.5+E)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=le*.2,ne=new go.PathFigure(0,.2*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-z)*a,(.2-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+z)*y,0,y,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+z)*a,(.8+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*y,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,E*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,E*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("Document",function(se,y,a){var x=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*y,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var z=new go.PathFigure(y,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(E*y,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,y,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(se,y,a){var x=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=le*.5,re=.5,ie=new go.PathFigure(y,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*y,a,y,(re+ne)*a,(re+ne)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*y,a,0,(re+ne)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*y,0,0,(re-ne)*a,(re-ne)*y,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,re*a,(re+ne)*y,0,y,(re-ne)*a));var de=new go.PathFigure((z+E)*y,(z+E)*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,z*y,z*a)),de.add(new go.PathSegment(go.PathSegment.Move,z*y,(z+E)*a)),de.add(new go.PathSegment(go.PathSegment.Line,(z+E)*y,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(se,y,a){var x=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var z=new go.PathFigure(.1*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(se,y,a){var x=new go.Geometry,E=le*.5,z=.5,ne=new go.PathFigure(.5*y,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-E)*y,a,0,(z+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,0,0,(z-E)*a,(z-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,z*a,(z+E)*y,0,y,(z-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*y,.9*a,y,(z+E)*a,(z+E)*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(se,y,a){var x=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var z=new go.PathFigure(.1*y,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var z=new go.PathFigure(.2*y,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var re=new go.PathFigure(.5*E*y,E*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(se,y,a){var x=new go.Geometry,E=le*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,y,(z+E)*a,(z+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-E)*y,a,0,(z+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,0,0,(z-E)*a,(z-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,z*a,(z+E)*y,0,y,(z-E)*a));var re=new go.PathFigure(y,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(se,y,a){var x=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-E)*y,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x}),go.Shape.defineFigureGenerator("Process",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(E*y,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*y,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var ne=new go.PathFigure(E*y,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),x.spot1=new go.Spot(E,0),x.spot2=new go.Spot(1-E,1),x}),go.Shape.defineFigureGenerator("Terminator",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,y,a){var x=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(se,y,a){var x=new go.Geometry,E=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(se,y,a){var x=new go.Geometry,E=le*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,y,(z+E)*a,(z+E)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-E)*y,a,0,(z+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,0,0,(z-E)*a,(z-E)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,z*a,(z+E)*y,0,y,(z-E)*a));var re=new go.PathFigure(y,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,z*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(se,y,a){var x=new go.Geometry,E=le*.1,z=.1,ne=.9,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var de=new go.PathFigure((ne+z)*y,re*a,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re-z)*a,(ne+z)*y,(re-E)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(se,y,a){var x=new go.Geometry,E=le*.5,z=le*.4,ne=le*.1,re=.1,ie=.9,de=.5,pe=new go.PathFigure(.8*y,.5*a,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+z)*a,(.4+E)*y,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,a)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-z)*a));var Pe=new go.PathFigure((ie+re)*y,de*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de+re)*a,(ie+re)*y,(de+ne)*a,(ie+ne)*y,(de+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y,de*a,(ie-ne)*y,(de+re)*a,(ie-re)*y,(de+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-re)*a,(ie-re)*y,(de-ne)*a,(ie-ne)*y,(de-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y,de*a,(ie+ne)*y,(de-re)*a,(ie+re)*y,(de-ne)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(se,y,a){var x=new go.Geometry,E=.5,z=le*E,ne=0,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+z)*y,(re-E)*a,.7*y,(re-z)*a)),E=.1,z=le*.1,ne=.9,re=.5;var de=new go.PathFigure((ne-E)*y,re*a,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(se,y,a){var x=new go.Geometry,E=.5,z=le*E,ne=0,re=.5,ie=new go.PathFigure(0,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z+z)*y,(re-E)*a,.8*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(re+z)*a,(ne+z+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(se,y,a){var x=new go.Geometry,E=.5,z=le*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var de=new go.PathFigure(.8*y,.5*a,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(ne+z)*y,(re-E)*a,.7*y,(re-z)*a)),E=.1,z=le*.1,ne=.9,re=.5;var pe=new go.PathFigure((ne-E)*y,re*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(se,y,a){var x=new go.Geometry,E=.5,z=le*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var de=new go.PathFigure(.2*y,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z)*y,(re-E)*a,.9*y,(re-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+z)*a,(ne+z)*y,(re+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(se,y,a){var x=new go.Geometry,E=le*.1,z=.1,ne=.1,re=.5,ie=new go.PathFigure((ne-E*.5)*y,a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+z)*y,0,(ne+E)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+z)*y,0,(ne+E)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,a,(ne+z)*y,0,(ne+E)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,0,(ne-E)*y,a,(ne-z)*y,0)),ne=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E*.5)*y,a,(ne+z)*y,0,(ne+E)*y,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,y,a){var x=new go.Geometry,E=le*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure((ne-z)*y,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re-z)*a,(ne+z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*y,re*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*y,re*a,ne*y,(re-z)*a,ne*y,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Diode",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(se,y,a){var x=new go.Geometry,E=y,z=a;y=y*.38,a=a*.6;var ne=le*.8,re=.8,ie=0,de=.5,pe=(E-y)/2,Pe=(z-a)/2,je=new go.PathFigure(ie*y+pe,(de+re)*a+Pe,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,de*a+Pe,(ie-ne)*y+pe,(de+re)*a+Pe,(ie-re)*y+pe,(de+ne)*a+Pe)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de-re)*a+Pe,(ie-re)*y+pe,(de-ne)*a+Pe,(ie-ne)*y+pe,(de-re)*a+Pe)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,de*a+Pe,ie*y+pe,(de-re)*a+Pe,(ie-re+ne*.5)*y+pe,(de-ne)*a+Pe)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de+re)*a+Pe,(ie-re+ne*.5)*y+pe,(de+ne)*a+Pe,ie*y+pe,(de+re)*a+Pe).close()),ne=le*.4,re=.4,ie=.2,de=.5;var Le=new go.PathFigure(ie*y+pe,(de+re)*a+Pe,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,de*a+Pe,(ie-ne)*y+pe,(de+re)*a+Pe,(ie-re)*y+pe,(de+ne)*a+Pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de-re)*a+Pe,(ie-re)*y+pe,(de-ne)*a+Pe,(ie-ne)*y+pe,(de-re)*a+Pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,de*a+Pe,ie*y+pe,(de-re)*a+Pe,(ie-re+ne*.5)*y+pe,(de-ne)*a+Pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de+re)*a+Pe,(ie-re+ne*.5)*y+pe,(de+ne)*a+Pe,ie*y+pe,(de+re)*a+Pe).close()),ne=le*.2,re=.2,ie=.5,de=.5;var Ye=new go.PathFigure((ie-re)*y+pe,de*a+Pe,!0);x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de-re)*a+Pe,(ie-re)*y+pe,(de-ne)*a+Pe,(ie-ne)*y+pe,(de-re)*a+Pe)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,de*a+Pe,(ie+ne)*y+pe,(de-re)*a+Pe,(ie+re)*y+pe,(de-ne)*a+Pe)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de+re)*a+Pe,(ie+re)*y+pe,(de+ne)*a+Pe,(ie+ne)*y+pe,(de+re)*a+Pe)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,de*a+Pe,(ie-ne)*y+pe,(de+re)*a+Pe,(ie-re)*y+pe,(de+ne)*a+Pe)),ne=le*.4,re=.4,ie=.8,de=.5;var Se=new go.PathFigure(ie*y+pe,(de-re)*a+Pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,de*a+Pe,(ie+ne)*y+pe,(de-re)*a+Pe,(ie+re)*y+pe,(de-ne)*a+Pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de+re)*a+Pe,(ie+re)*y+pe,(de+ne)*a+Pe,(ie+ne)*y+pe,(de+re)*a+Pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,de*a+Pe,ie*y+pe,(de+re)*a+Pe,(ie+re-ne*.5)*y+pe,(de+ne)*a+Pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de-re)*a+Pe,(ie+re-ne*.5)*y+pe,(de-ne)*a+Pe,ie*y+pe,(de-re)*a+Pe).close()),ne=le*.8,re=.8,ie=1,de=.5;var Me=new go.PathFigure(ie*y+pe,(de-re)*a+Pe,!0);return x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,de*a+Pe,(ie+ne)*y+pe,(de-re)*a+Pe,(ie+re)*y+pe,(de-ne)*a+Pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de+re)*a+Pe,(ie+re)*y+pe,(de+ne)*a+Pe,(ie+ne)*y+pe,(de+re)*a+Pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,de*a+Pe,ie*y+pe,(de+re)*a+Pe,(ie+re-ne*.5)*y+pe,(de+ne)*a+Pe)),Me.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(de-re)*a+Pe,(ie+re-ne*.5)*y+pe,(de-ne)*a+Pe,ie*y+pe,(de-re)*a+Pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var z=new go.PathFigure(.1*y,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var ne=new go.PathFigure(.6*y,a,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(se,y,a){var x=new go.Geometry,E=le*.4,z=.4,ne=.5,re=.5,ie=b(),de=b(),pe=b(),Pe=b();Te(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,de,pe,Pe);var je=te(de.x,de.y),Le=new go.PathFigure(de.x*y,de.y*a,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),Te(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,Pe,de,ie,ie),Le.add(new go.PathSegment(go.PathSegment.Bezier,de.x*y,de.y*a,pe.x*y,pe.y*a,Pe.x*y,Pe.y*a)),E=le*.3,z=.3,Te(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,Pe,de,ie,ie),Le.add(new go.PathSegment(go.PathSegment.Line,de.x*y,de.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,Pe.x*y,Pe.y*a,pe.x*y,pe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),Te(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,de,pe,Pe),Le.add(new go.PathSegment(go.PathSegment.Bezier,de.x*y,de.y*a,Pe.x*y,Pe.y*a,pe.x*y,pe.y*a).close());var Le=new go.PathFigure(.45*y,0,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ue(ie),ue(de),ue(pe),ue(Pe),ue(je),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a/2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function z(ne,re,ie){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*y,(.8+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*y,(.5+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*y,(.5+ie)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*y,(.8+ie)*a).close())}return z(E,0,0),z(E,.4,0),z(E,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,y,a){var x=new go.Geometry,E=.5,z=0,ne=0,re=E*le,ie=.4*Math.SQRT2/2+.5,de=.5-.5*Math.SQRT2/2,pe=1,Pe=.5,je=.5,Le=0,Ye=new go.PathFigure(ie*y,(1-de)*a,!1);return x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,Pe*a,pe*y,.7*a,pe*y,Pe*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(je+z)*y,(Le+z)*a,(.5+E+z)*y,(.5-re+z)*a,(.5+re+z)*y,(.5-E+z)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+ne)*a,(.5-re+z)*y,(.5-E+ne)*a,(.5-E+z)*y,(.5-re+ne)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*y,.9*a,(.5-E+z)*y,(.5+re+ne)*a,(.5-re+z)*y,.9*a)),Ye.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*y,.8*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*y,.9*a)),Ye.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(y,a,!1);x.add(z);var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var z=new go.PathFigure(.45*y,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(.335*y,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var ne=.5-.285,re=.5,ie=ne,de=Math.PI/4,pe=4*(1-Math.cos(de))/(3*Math.sin(de)),Pe=pe*.5,je=ne,Le=ne,Ye=pe*je,Se=pe*Le;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-je)*y,ie*a,(re-(Ye+je)/2)*y,(ie+(Le+Se)/2)*a,(re-je)*y,(ie+Se)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ie-Le)*a,(re-je)*y,(ie-Se)*a,(re-Ye)*y,(ie-Le)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+je)*y,ie*a,(re+Ye)*y,(ie-Le)*a,(re+je)*y,(ie-Se)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+je)*y,(ie+Se)*a,(re+(Ye+je)/2)*y,(ie+(Le+Se)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Me=new go.PathFigure(.2*y,a,!1);x.add(Me),Me.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var qe=new go.PathFigure(.8*y,a,!1);return x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.2*y,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E);var z=new go.PathFigure(y,a,!1);x.add(z);var ne=new go.PathFigure(.1*y,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var z=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,z*y,z*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var z=new go.PathFigure(.475*y,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var ne=new go.PathFigure(.675*y,.575*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,y,a){var x=new go.Geometry,E=.5,z=le*.5,ne=new go.PathFigure(y,E*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+z)*a,(E+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-z)*y,a,0,(E+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-z)*a,(E-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+z)*y,0,y,(E-z)*a));var re=new go.PathFigure(E*y,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var ne=new go.PathFigure(0,.6*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var z=new go.PathFigure(.15*y,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(y,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var ne=.1,re=le*.1,ie=.2,de=.9,pe=new go.PathFigure((ie-ne)*y,de*a,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-ne)*a,(ie-ne)*y,(de-re)*a,(ie-re)*y,(de-ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,de*a,(ie+re)*y,(de-ne)*a,(ie+ne)*y,(de-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de+ne)*a,(ie+ne)*y,(de+re)*a,(ie+re)*y,(de+ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,de*a,(ie-re)*y,(de+ne)*a,(ie-ne)*y,(de+re)*a).close()),ne=.1,re=le*.1,ie=.8,de=.9;var Pe=new go.PathFigure((ie-ne)*y,de*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de-ne)*a,(ie-ne)*y,(de-re)*a,(ie-re)*y,(de-ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,de*a,(ie+re)*y,(de-ne)*a,(ie+ne)*y,(de-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(de+ne)*a,(ie+ne)*y,(de+re)*a,(ie+re)*y,(de+ne)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,de*a,(ie-re)*y,(de+ne)*a,(ie-ne)*y,(de+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*y,.8*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var re=new go.PathFigure(.5*y,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,de=le*.1,pe=.1,Pe=.9,je=new go.PathFigure((pe-ie)*y,Pe*a,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe-ie)*a,(pe-ie)*y,(Pe-de)*a,(pe-de)*y,(Pe-ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,Pe*a,(pe+de)*y,(Pe-ie)*a,(pe+ie)*y,(Pe-de)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe+ie)*a,(pe+ie)*y,(Pe+de)*a,(pe+de)*y,(Pe+ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,Pe*a,(pe-de)*y,(Pe+ie)*a,(pe-ie)*y,(Pe+de)*a)),ie=.1,de=le*.1,pe=.4,Pe=.9;var Le=new go.PathFigure((pe-ie)*y,Pe*a,!0);return x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe-ie)*a,(pe-ie)*y,(Pe-de)*a,(pe-de)*y,(Pe-ie)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,Pe*a,(pe+de)*y,(Pe-ie)*a,(pe+ie)*y,(Pe-de)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(Pe+ie)*a,(pe+ie)*y,(Pe+de)*a,(pe+de)*y,(Pe+ie)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,Pe*a,(pe-de)*y,(Pe+ie)*a,(pe-ie)*y,(Pe+de)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var z=new go.PathFigure(.45*y,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var pe=.05,Pe=le*.05,je=.175,Le=.95,re=new go.PathFigure((je-pe)*y,Le*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le-pe)*a,(je-pe)*y,(Le-Pe)*a,(je-Pe)*y,(Le-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,Le*a,(je+Pe)*y,(Le-pe)*a,(je+pe)*y,(Le-Pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le+pe)*a,(je+pe)*y,(Le+Pe)*a,(je+Pe)*y,(Le+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,Le*a,(je-Pe)*y,(Le+pe)*a,(je-pe)*y,(Le+Pe)*a));var pe=.05,Pe=le*.05,je=.375,Le=.95,ie=new go.PathFigure((je-pe)*y,Le*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le-pe)*a,(je-pe)*y,(Le-Pe)*a,(je-Pe)*y,(Le-pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,Le*a,(je+Pe)*y,(Le-pe)*a,(je+pe)*y,(Le-Pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le+pe)*a,(je+pe)*y,(Le+Pe)*a,(je+Pe)*y,(Le+pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,Le*a,(je-Pe)*y,(Le+pe)*a,(je-pe)*y,(Le+Pe)*a));var pe=.05,Pe=le*.05,je=.625,Le=.95,de=new go.PathFigure((je-pe)*y,Le*a,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le-pe)*a,(je-pe)*y,(Le-Pe)*a,(je-Pe)*y,(Le-pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,Le*a,(je+Pe)*y,(Le-pe)*a,(je+pe)*y,(Le-Pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le+pe)*a,(je+pe)*y,(Le+Pe)*a,(je+Pe)*y,(Le+pe)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,Le*a,(je-Pe)*y,(Le+pe)*a,(je-pe)*y,(Le+Pe)*a));var pe=.05,Pe=le*.05,je=.825,Le=.95,Ye=new go.PathFigure((je-pe)*y,Le*a,!0);x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le-pe)*a,(je-pe)*y,(Le-Pe)*a,(je-Pe)*y,(Le-pe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,Le*a,(je+Pe)*y,(Le-pe)*a,(je+pe)*y,(Le-Pe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(Le+pe)*a,(je+pe)*y,(Le+Pe)*a,(je+Pe)*y,(Le+pe)*a)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,Le*a,(je-Pe)*y,(Le+pe)*a,(je-pe)*y,(Le+Pe)*a).close());var Se=new go.PathFigure(0,a,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var re=.05,ie=le*.05,de=.35,pe=.775,Pe=new go.PathFigure((de-re)*y,pe*a,!0);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(pe-re)*a,(de-re)*y,(pe-ie)*a,(de-ie)*y,(pe-re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+re)*y,pe*a,(de+ie)*y,(pe-re)*a,(de+re)*y,(pe-ie)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(pe+re)*a,(de+re)*y,(pe+ie)*a,(de+ie)*y,(pe+re)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-re)*y,pe*a,(de-ie)*y,(pe+re)*a,(de-re)*y,(pe+ie)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(se,y,a){var x=new go.Geometry,E=.3,z=le*.3,ne=.5,re=.7,ie=new go.PathFigure((ne-E)*y,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a));var de=new go.PathFigure(0,.7*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),x}),go.Shape.defineFigureGenerator("Battery",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(se,y,a){var x=new go.Geometry,E=.5,z=le*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a));var de=new go.PathFigure(.15*y,.5*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(se,y,a){var x=new go.Geometry,E=.5,z=le*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a).close()),E=.05,z=le*.05,ne=.5,re=.8;var de=new go.PathFigure((ne-E)*y,re*a,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a).close()),de.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),de.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*y,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*y,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var z=new go.PathFigure(.126*y,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var ne=new go.PathFigure(.402*y,.85*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var re=new go.PathFigure(.678*y,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ie=new go.PathFigure(.5*y,.1*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,a*1,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var z=new go.PathFigure(y*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var ne=new go.PathFigure(y*.408,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var re=new go.PathFigure(y*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ie=new go.PathFigure(y*.816,a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var z=new go.PathFigure(y*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var ne=new go.PathFigure(y*.055,.13*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var re=new go.PathFigure(y*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ie=new go.PathFigure(y*1,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var ne=new go.PathFigure(y*.11,a*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var re=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,y,a){var x=new go.Geometry,E=8,z=E*le,ne=new go.PathFigure(E,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-z,y-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,z,z,0).close());var re=new go.PathFigure(y*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ie=new go.PathFigure(y*.83,a*1,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var de=new go.PathFigure(y*.78,a*.05,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),de.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),de.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,y,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var E=x*le,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(x,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-E,0,y,E)),re.add(new go.PathSegment(go.PathSegment.Line,y,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-x,z,y,z-E,y-E,z)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,E,z,0,z-E)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,E,E,0).close()),E>1?(ne.spot1=new go.Spot(0,0,E,E),ne.spot2=new go.Spot(1,.8,-E,-E)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var z=new go.PathFigure(y*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var z=new go.PathFigure(y*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var ne=new go.PathFigure(y*.28,a*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(se,y,a){var x=new go.Geometry,E=15,z=E*le,ne=new go.PathFigure(y*.62,a*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-z,y-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);x.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-z)).close());var ne=new go.PathFigure(y*.4,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);x.add(E);var z=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);x.add(E);var z=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-z))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-z)).close());var ne=new go.PathFigure(y*.5,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var z=new go.PathFigure(y*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(se,y,a){var x=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},98598:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ut={},Gt="5.0",te={},b=null,ue=!1,Be=!1,Te=null,Ie=!1,Oe=null,le=null,ut=0;ut<arguments.length;ut++){var ot=arguments[ut];if(ot!==null)switch(typeof ot){case"number":Gt=ot.toFixed(1);break;case"string":ot.match(new RegExp("^[0-9]\\.[0-9]+$"))?Gt=ot:Te=ot;break;case"object":typeof ot.is3D!="undefined"?b=ot:te=ot;break;case"boolean":ue=ot,Be=!0;break}}b===null&&(b={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},te.material_id!==void 0&&!Be&&(ue=!0)),Te!==null&&te.id===void 0&&(te.id=Te);var Ue="",Qe="",tt=!1,Je=null,se=null,y=null,a=!1,x=null,E=null,z=null,ne=null,re=null;te.height!==void 0&&(te.height=Math.round(te.height)),te.width!==void 0&&(te.width=Math.round(te.width));var ie=function(nt){return parseFloat(nt)>4?parseFloat(nt):5};Ut.setHTML5Codebase=function(nt,et){le=nt,St(nt,et)},Ut.setJavaCodebase=Ut.setJavaCodebaseVersion=Ut.isCompiledInstalled=Ut.setPreCompiledScriptPath=Ut.setPreCompiledResourcePath=function(){},Ut.setHTML5CodebaseVersion=function(nt,et){var Yt=parseFloat(nt);if(Yt!==NaN&&Yt<5){console.log("The GeoGebra HTML5 codebase version "+Yt+" is deprecated. Using version latest instead.");return}Oe=nt,Qt(nt,et)},Ut.getHTML5CodebaseVersion=function(){return se},Ut.getParameters=function(){return te},Ut.setFontsCSSURL=function(nt){ne=nt},Ut.setGiacJSURL=function(nt){},Ut.setJNLPFile=function(nt){Ue=nt},Ut.setJNLPBaseDir=function(nt){},Ut.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var et="auto",Yt=te.id,hn,Tt=!1,vn=0;vn<arguments.length;vn++){var Ge=arguments[vn];typeof Ge=="string"?(Ge=Ge.toLowerCase(),Ge.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?et=Ge:Yt=arguments[vn]):typeof Ge=="boolean"?Tt=Ge:Ge instanceof HTMLElement&&(hn=Ge)}Dt();function Dt(){if(!Ie){setTimeout(Dt,200);return}et=Et(et);var Kt=hn||document.getElementById(Yt);if(!Kt){console.log("possibly bug on ajax loading? ");return}if(Ut.removeExistingApplet(Kt,!1),te.width===void 0&&Kt.clientWidth&&(te.width=Kt.clientWidth),te.height===void 0&&Kt.clientHeight&&(te.height=Kt.clientHeight),!(te.width&&te.height)&&et==="html5"&&(delete te.width,delete te.height),Je=et,et==="screenshot")qe(Kt,te);else{var Mt=!1;te.hasOwnProperty("playButton")&&te.playButton||te.hasOwnProperty("clickToLoad")&&te.clickToLoad?Mt=!0:te.hasOwnProperty("playButtonAutoDecide")&&te.playButtonAutoDecide&&(Mt=(!de()||nt())&&pe()),Mt?(Je="screenshot",Ae(Kt,te,Tt,et)):Me(Kt,te,Tt)}}};function de(){try{return window.self!==window.top}catch(nt){return!0}}function pe(){return te.hasOwnProperty("screenshotGenerator")&&te.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Ut.getViews=function(){return b},Ut.isJavaInstalled=function(){return!1};var Pe=function(nt){var et=function(vn){var Ge=JSON.parse(vn),Dt=function(pt){return pt.type=="G"||pt.type=="E"},Kt=Ge.elements?Ge.elements.filter(Dt)[0]:Ge;if(!Kt||!Kt.url){Yt();return}te.fileName=Kt.url,je(Kt.settings||{}),b.is3D=!0;var Mt="https://www.geogebra.org/images/";Ut.setPreviewImage(x||Kt.previewUrl,Mt+"GeoGebra_loading.png",Mt+"applet_play.png"),nt()},Yt=function(){te.onError&&te.onError(),an("Error: Fetching material (id "+te.material_id+") failed.",te)},hn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Tt="/materials/"+te.material_id+"?scope=basic";Le("https://"+hn+"/api/proxy.php?path="+encodeURIComponent(Tt),et,Yt)};function je(nt){var et=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Yt){nt[Yt]=!!nt[Yt]}),et.forEach(function(Yt){te[Yt]===void 0&&nt[Yt]!==void 0&&(te[Yt]=nt[Yt])}),te.showToolBarHelp===void 0&&(te.showToolBarHelp=te.showToolBar)}function Le(nt,et,Yt){var hn=new XMLHttpRequest;hn.open("GET",nt),hn.onload=function(){et(hn.responseText)},hn.onerror=Yt,hn.send()}Ut.isHTML5Installed=function(){return!0},Ut.getLoadedAppletType=function(){return Je},Ut.setPreviewImage=function(nt,et,Yt){x=nt,E=et,z=Yt},Ut.removeExistingApplet=function(nt,et){var Yt;typeof nt=="string"&&(nt=document.getElementById(nt)),Je=null;var hn=null;for(Yt=0;Yt<nt.childNodes.length;Yt++){var Tt=nt.childNodes[Yt],vn=Tt.className;vn==="applet_screenshot"?et?(Tt.style.display="block",Je="screenshot"):Tt.style.display="none":vn!=="applet_scaler prerender"&&(nt.removeChild(Tt),hn=vn&&vn.indexOf("appletParameters")!=-1?Tt.id:null,Yt--)}var Ge=te.id!==void 0?te.id:hn,Dt=window[Ge];Dt&&typeof Dt.getBase64=="function"&&(Dt.remove(),window[Ge]=null)},Ut.refreshHitPoints=function(){if(ie(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var nt=Ut.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},Ut.startAnimation=function(){var nt=Ut.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},Ut.stopAnimation=function(){var nt=Ut.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},Ut.getAppletObject=function(){var nt=te.id!==void 0?te.id:"ggbApplet";return window[nt]},Ut.resize=function(){};var Ye=function(nt,et,Yt){var hn=document.createElement("param");hn.setAttribute("name",et),hn.setAttribute("value",Yt),nt.appendChild(hn)},Se=function(nt){return nt&&nt!=="false"},Me=function(nt,et,Yt){ie(se)<=4.2&&(Yt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Tt=document.createElement("div");Tt.classList.add("appletParameters","notranslate");var vn=et.width,Ge=et.height;if(et.disableAutoScale=et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():et.disableAutoScale,et.width!==void 0)if(ie(se)<=4.4)Se(et.showToolBar)&&(et.height-=7),Se(et.showAlgebraInput)&&(et.height-=37),et.width<605&&Se(et.showToolBar)&&(et.width=605,vn=605);else{var Dt=100;(Se(et.showToolBar)||Se(et.showMenuBar))&&(et.hasOwnProperty("customToolBar")&&(et.customToolbar=et.customToolBar),Dt=Se(et.showMenuBar)?245:155),vn<Dt&&(et.width=Dt,vn=Dt)}Tt.style.border="none",Tt.style.display="inline-block";for(var Kt in et)et.hasOwnProperty(Kt)&&Kt!=="appletOnLoad"&&Tt.setAttribute("data-param-"+Kt,et[Kt]);ne&&Tt.setAttribute("data-param-fontscssurl",ne),Ut.resize=function(){GGBAppletUtils.responsiveResize(nt,et)},window.addEventListener("resize",function(De){Ut.resize()});var Mt=typeof et.appletOnLoad=="function"?et.appletOnLoad:function(){};if(!Yt&&et.width!==void 0){et.hasOwnProperty("showSplash")||Tt.setAttribute("data-param-showSplash","false");var pt=nt.querySelector(".applet_scaler.prerender"),rt=pt!==null;if(rt)var _e=pt.querySelector(".ggb_preview");else{var _e=At(vn,Ge,et.borderColor,!1);pt=document.createElement("div"),pt.className="applet_scaler",pt.style.position="relative",pt.style.display="block",pt.style.width=vn+"px",pt.style.height=Ge+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(pt,"66%"),ie(se)>=5?(et.appletOnLoad=function(De){var gt=nt.querySelector(".ggb_preview");gt&&gt.parentNode.removeChild(gt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(pt),window.GGBT_wsf_view&&$(window).trigger("resize"),Mt(De)},rt||pt.appendChild(_e)):Tt.appendChild(_e),pt.appendChild(Tt),rt||nt.appendChild(pt),setTimeout(function(){Ut.resize()},1)}else{var ve=document.createElement("div");ve.className="applet_scaler",ve.style.position="relative",ve.style.display="block",ve.appendChild(Tt),nt.appendChild(ve),et.appletOnLoad=function(De){Ut.resize(),Mt(De)}}function fe(De,gt){gt&&typeof gt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(De,gt.appletOnLoad):renderGGBElement(De),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",gt)}function Xe(De,gt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:De,params:gt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(un){fe(un.article,un.params)}),html5AppletsToProcess=null)},ie(se)<5&&(De.className+=" geogebraweb")):fe(De,gt)}if(hn){scriptLoadStarted=!0;for(var bt=0;bt<Tt.childNodes.length;bt++){var Fe=Tt.childNodes[bt].tagName;Fe==="TABLE"&&(Tt.removeChild(Tt.childNodes[bt]),bt--)}if(ggbHTML5LoadedScript!==null){var Ce=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Ce!=null&&Ce.parentNode.removeChild(Ce)}var at=document.createElement("script"),$e=function(){Xe(Tt,et)};at.src=Qe+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=se,ggbHTML5LoadedScript=at.src,an("GeoGebra HTML5 codebase loaded: '"+Qe+"'.",et),!le&&(!Oe||Oe=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),$e()):Qe.requirejs?__webpack_require__.e(7374).then(function(){var De=[__webpack_require__(97374)];$e.apply(null,De)}.bind(this)).catch(__webpack_require__.oe):(at.onload=$e,nt.appendChild(at))}else Xe(Tt,et);et.height=Ge,et.width=vn},qe=function(nt,et,Yt){var hn=At(et.width,et.height,et.borderColor,Yt),Tt=document.createElement("div");Tt.style.position="relative",Tt.style.display="block",Tt.style.width=et.width+"px",Tt.style.height=et.height+"px",Tt.className="applet_screenshot applet_scaler"+(Yt?" applet_screenshot_play":""),Tt.appendChild(hn);var vn=GGBAppletUtils.getScale(et,nt,Yt);Yt?(nt.appendChild(mt()),window.GGBT_wsf_view||(nt.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Tt,"66%"),nt.appendChild(Tt),vn!==1&&!isNaN(vn)&&(GGBAppletUtils.scaleElement(Tt,vn),Tt.style.width=et.width+"px",Tt.style.height=et.height+"px",Tt.parentNode.style.width=et.width*vn+"px",Tt.parentNode.style.height=et.height*vn+"px"),Ut.resize=function(){ht(nt,hn,Tt,Yt)},window.addEventListener("resize",function(Ge){Ut.resize()}),Ut.resize()};function ht(nt,et,Yt,hn){if(nt.contains(et)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(nt.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(nt)}var Tt=GGBAppletUtils.getScale(te,nt,hn);Yt.parentNode!==null&&(!isNaN(Tt)&&Tt!==1?(GGBAppletUtils.scaleElement(Yt,Tt),Yt.parentNode.style.width=te.width*Tt+"px",Yt.parentNode.style.height=te.height*Tt+"px"):(GGBAppletUtils.scaleElement(Yt,1),Yt.parentNode.style.width=te.width+"px",Yt.parentNode.style.height=te.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(nt),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Ut.onExitFullscreen=function(nt,et){et.appendChild(nt)};var Ae=function(nt,et,Yt,hn){qe(nt,et,!0);for(var Tt=function(){var Dt=[];for(Ge=0;Ge<nt.childNodes.length;Ge++)Dt.push(nt.childNodes[Ge]);if(window.GGBT_wsf_view){var Kt=window.GGBT_wsf_view.renderFullScreen(nt,et.id),Mt=document.getElementById("fullscreencontainer"),pt=jQuery(nt).find(".fullscreencontent");pt.length>0?(Kt.remove(),pt.attr("id","fullscreencontent").show(),jQuery(Mt).append(pt),window.dispatchEvent(new Event("resize"))):Me(Kt,et,!1),window.GGBT_wsf_view.launchFullScreen(Mt)}else Je=hn,Me(nt,et,!1);if(!window.GGBT_wsf_view)for(Ge=0;Ge<Dt.length;Ge++)nt.removeChild(Dt[Ge])},vn=nt.getElementsByClassName("ggb_preview_play"),Ge=0;Ge<vn.length;Ge++)vn[Ge].addEventListener("click",Tt,!1),vn[Ge].addEventListener("ontouchstart",Tt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(nt),pe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},mt=function(){var nt=document.createElement("div");if(nt.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var et='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Yt=document.createElement("style");Yt.styleSheet?Yt.styleSheet.cssText=et:Yt.appendChild(document.createTextNode(et)),document.getElementsByTagName("head")[0].appendChild(Yt)}return nt},At=function(nt,et,Yt,hn){var Tt=document.createElement("div");Tt.className="ggb_preview",Tt.style.position="absolute",Tt.style.zIndex="90",Tt.style.width=nt-2+"px",Tt.style.height=et-2+"px",Tt.style.top="0px",Tt.style.left="0px",Tt.style.overflow="hidden",Tt.style.backgroundColor="white";var vn="lightgrey";Yt!==void 0&&(Yt==="none"?vn="transparent":vn=Yt),Tt.style.border="1px solid "+vn;var Ge=document.createElement("img");if(Ge.style.position="relative",Ge.style.zIndex="1000",Ge.style.top="-1px",Ge.style.left="-1px",x!==null&&Ge.setAttribute("src",x),Ge.style.opacity=.7,E!==null){var Dt,Kt,Mt;if(!hn){Dt=document.createElement("img"),Dt.style.position="absolute",Dt.style.zIndex="1001",Dt.style.opacity=1,Ge.style.opacity=.3,Kt=360,Kt>nt/4*3&&(Kt=nt/4*3),Mt=Kt/5.8,Dt.setAttribute("src",E),Dt.setAttribute("width",Kt),Dt.setAttribute("height",Mt);var pt=(nt-Kt)/2,rt=(et-Mt)/2;Dt.style.left=pt+"px",Dt.style.top=rt+"px",Tt.appendChild(Dt)}}return Tt.appendChild(Ge),Tt},Et=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},dt=["web","webSimple","web3d","tablet","tablet3d","phone"],Qt=function(nt,et){if(se=nt,et){St(se,!0);return}var Yt=!ue;if(Yt){var hn=ie(se);!isNaN(hn)&&hn<4.4&&(Yt=!1)}var Tt,vn;window.location.protocol.substr(0,4)==="http"?Tt=window.location.protocol:Tt="http:";var Ge=se.indexOf("//");Ge>0?vn=se:Ge===0?vn=Tt+se:vn="https://www.geogebra.org/apps/5.2.814.0/";for(var Dt in dt)if(se.slice(dt[Dt].length*-1)===dt[Dt]||se.slice((dt[Dt].length+1)*-1)===dt[Dt]+"/"){St(vn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Yt&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!Se(te.showToolBar)&&!Se(te.showMenuBar)&&!Se(te.showAlgebraInput)&&!Se(te.enableRightClick)&&(!te.appName||te.appName=="classic")?vn+="webSimple/":vn+="web3d/",St(vn,!1)},St=function(nt,et){if(nt.requirejs){Qe=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),Qe=nt,et===null&&(et=nt.indexOf("http")===-1),tt=et,y="web.nocache.js",a=!1;var Yt=Qe.split("/");Yt.length>1&&(!et&&Yt[Yt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):dt.indexOf(Yt[Yt.length-2])>=0&&(y=Yt[Yt.length-2]+".nocache.js")),Yt=nt.split("/"),se=Yt[Yt.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var hn=parseFloat(se);hn!==NaN&&hn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),Qt("5.0",et))},an=function(nt,et){window.console&&window.console.log&&(!et||typeof et.showLogging=="undefined"||et.showLogging&&et.showLogging!=="false")&&console.log(nt)};te.material_id!==void 0?Pe(En):En();function En(){var nt=Gt;Oe!==null?nt=Oe:parseFloat(nt)<5&&(nt="5.0"),Qt(nt,!1),le!==null&&St(le,tt),Ie=!0}return Ut},GGBAppletUtils=function(){"use strict";function Ut(){return window.GGBT_wsf_edit!==void 0}function Gt(Ie,Oe){Oe!=1?(Ie.style.transformOrigin="0% 0% 0px",Ie.style.webkitTransformOrigin="0% 0% 0px",Ie.style.transform="scale("+Oe+","+Oe+")",Ie.style.webkitTransform="scale("+Oe+","+Oe+")",Ie.style.maxWidth="initial",Ie.querySelector(".ggb_preview")!==null&&(Ie.querySelector(".ggb_preview").style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ie.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ie.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ie.style.transform="none",Ie.style.webkitTransform="none")}function te(Ie,Oe,le,ut,ot,Ue){var Qe=null;if(Ue!=null&&Ue!="")for(var tt=Ie.parentNode;tt!=null;)if((" "+tt.className+" ").indexOf(" "+Ue+" ")>-1){Qe=tt;break}else tt=tt.parentNode;var Je=0,se=0,y=0,a=0,x=0,E=0,z=0;if(Qe)Je=Qe.offsetWidth,se=Math.max(ut?Qe.offsetWidth:0,Qe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Je=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Je):(Je=window.innerWidth,se=window.innerHeight,y=window.innerWidth),Ie){var ne=Ie.getBoundingClientRect();ne.left>0&&ne.left<=Je&&(ot===void 0||!ot)&&(document.dir==="rtl"?(x=Je-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,x=y<=480?10:30),a=E+x)}if(Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ie.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ie&&((le===void 0||!le)&&Oe>0&&Oe+a<Je?Je=Oe:Je-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(le===void 0||!le)&&(se-=z)),{width:Je,height:se}}function b(Ie,Oe,le,ut,ot){if(Ie.isScreenshoGenerator)return 1;var Ue=ut!==void 0&&ut,Qe=Ie.noScaleMargin!=null&&Ie.noScaleMargin,tt=function(re){return re&&re!=="false"},Je=tt(Ie.autoHeight),se=te(Oe,Ie.width,le,Je,Ue&&window.GGBT_wsf_view||Qe,ot),y=parseInt(se.width),a=Ie.width,x=Ie.height;if(a===void 0){var E=Oe.querySelector(".appletParameters");E&&(a=E.offsetWidth,x=E.offsetHeight)}var z=y/a,ne=Ue?1:se.height/x;return le!==void 0&&!le&&(z=Math.min(1,z),ne=Math.min(1,ne)),Math.min(z,ne)}function ue(Ie,Oe,le){var ut=1,ot,Ue=!1;if(Ie.hasOwnProperty("allowUpscale")&&(Ue=Ie.allowUpscale),Ie.hasOwnProperty("scale")&&(ut=parseFloat(Ie.scale),(isNaN(ut)||ut===null||ut===0)&&(ut=1),ut>1&&(Ue=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ue=!0),!(Ie.hasOwnProperty("disableAutoScale")&&Ie.disableAutoScale))ot=b(Ie,Oe,Ue,le,Ie.scaleContainerClass);else return ut;return Ue&&(!Ie.hasOwnProperty("scale")||ut===1)?ot:Math.min(ut,ot)}function Be(Ie){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ut=Ie.getBoundingClientRect(),ot=(Oe-ut.width)/2,Ue=(le-ut.height)/2;Ue<0&&(Ue=0),Ie.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ot<40?Ie.style.left="40px":Ie.style.left=ot+"px",Ie.style.top=Ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ue<40?Ie.style.top="40px":Ie.style.top=Ue+"px",Ie.style.left=ot+"px")}function Te(Ie,Oe){var le=Ie.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ie)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ut=ue(Oe,Ie);Ut()&&le.setAttribute("data-param-scale",ut);for(var ot=null,Ue=0;Ue<Ie.childNodes.length;Ue++)if(Ie.childNodes[Ue].className!==void 0&&Ie.childNodes[Ue].className.match(/^applet_scaler/)){ot=Ie.childNodes[Ue];break}if(ot!==null&&ot.querySelector(".noscale")!==null)return;var Qe=Oe.id!==void 0?Oe.id:"ggbApplet",tt=window[Qe];(tt==null||!tt.recalculateEnvironments)&&ot!==null&&!ot.className.match(/fullscreen/)&&(ot.parentNode.style.transform="",!isNaN(ut)&&ut!==1?(ot.parentNode.style.width=Oe.width*ut+"px",ot.parentNode.style.height=Oe.height*ut+"px",Gt(ot,ut)):(Gt(ot,1),ot.parentNode.style.width=Oe.width+"px",ot.parentNode.style.height=Oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Be(Ie),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(le).parents(".content-added-content"))}}return{responsiveResize:Te,isFlexibleWorksheetEditor:Ut,positionCenter:Be,getScale:ue,scaleElement:Gt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var Ut=n.location.search;return Ut.indexOf(J)!=-1||Ut.indexOf(K)!=-1}function q(Ut,Gt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Ut){var Gt=s[L].bindings;s[L].bindings=function(){for(var te=Gt?Gt():{},b=Ut[webModule.__softPermutationId],ue=O;ue<b.length;ue++){var Be=b[ue];te[Be[O]]=Be[P]}return te}};var t;function u(){return v(),t}function v(){if(!t){var Ut=o.createElement(Q);if(Ut.id=L,Ut.style.cssText=R+S,Ut.tabIndex=-1,o.body.appendChild(Ut),t=Ut.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var Gt=document.compatMode==U?V:W;t.write(Gt+X),t.close()}}}function w(Ut){function Gt(b){function ue(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Be=ue();if(Be){b();return}function Te(){if(!Be){if(!ue())return;Be=!0,b(),o.removeEventListener&&o.removeEventListener(Z,Te,!1),Ie&&clearInterval(Ie)}}o.addEventListener&&o.addEventListener(Z,Te,!1);var Ie=setInterval(function(){Te()},$)}function te(b){var ue=u(),Be=ue.body,Te=ue.createElement(_);Te.language=ab,Te.crossOrigin=W,Te.src=b,webModule.__errFn&&(Te.onerror=function(){webModule.__errFn(L,new Error(bb+b))}),Be.appendChild(Te)}Gt(function(){te(Ut)})}webModule.__startLoadingFragment=function(Ut){return C(Ut)},webModule.__installRunAsyncCode=function(Ut){var Gt=u(),te=Gt.body,b=Gt.createElement(_);b.language=ab,b.text=Ut,te.appendChild(b),te.removeChild(b)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ut){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ut){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ut){var Gt=c[Ut];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function Ut(Ie){var Oe=Ie.lastIndexOf(rb);Oe==-1&&(Oe=Ie.length);var le=Ie.indexOf(sb);le==-1&&(le=Ie.length);var ut=Ie.lastIndexOf(tb,Math.min(le,Oe));return ut>=O?Ie.substring(O,ut+P):W}function Gt(Ie){if(!Ie.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=Ie+vb,Ie=Ut(Oe.src)}return Ie}function te(){var Ie=__gwt_getMetaProperty(wb);return Ie!=null?Ie:W}function b(){for(var Ie=o.getElementsByTagName(_),Oe=O;Oe<Ie.length;++Oe)if(Ie[Oe].src.indexOf(xb)!=-1)return Ut(Ie[Oe].src);return W}function ue(){var Ie=o.getElementsByTagName(yb);return Ie.length>O?Ie[Ie.length-P].href:W}function Be(){var Ie=o.location;return Ie.href==Ie.protocol+zb+Ie.host+Ie.pathname+Ie.search+Ie.hash}var Te=te();return Te==W&&(Te=b()),Te==W&&(Te=ue()),Te==W&&Be()&&(Te=Ut(o.location.href)),Te=Gt(Te),Te}function C(Ut){return Ut.match(/^\//)||Ut.match(/^[a-zA-Z]+:\/\//)?Ut:webModule.__moduleBase+Ut}function D(){var Ut=[],Gt=O,te=[],b=[];function ue(Ie){var Oe=b[Ie](),le=te[Ie];if(Oe in le)return Oe;var ut=[];for(var ot in le)ut[le[ot]]=ot;throw r&&r(Ie,ut,Oe),null}if(__gwt_isKnownPropertyValue=function(Ie,Oe){return Oe in te[Ie]},webModule.__getPropMap=function(){var Ie={};for(var Oe in te)te.hasOwnProperty(Oe)&&(Ie[Oe]=ue(Oe));return Ie},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Te=Be.indexOf(Db);Te!=-1&&(Gt=parseInt(Be.substring(Te+P),$),Be=Be.substring(O,Te))}catch(Ie){}return webModule.__softPermutationId=Gt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},58788:function(Ut,Gt,te){"use strict";te.d(Gt,{Ax:function(){return Te},Ds:function(){return Ie},KI:function(){return le},SI:function(){return Be},f1:function(){return ue}});var b=te(10148);function ue(ut){let ot=!0;if(ut.length>0){for(let Ue=0;Ue<ut.length;Ue++)if(ut[Ue].compile_success==0||!ut[Ue].compile_success){ot=!1;break}}else ot=!1;return ot}function Be(ut,ot=""){let Ue=[];for(let Qe=0;Qe<ut.length;Qe++){let tt=ut[Qe],Je=ot?`${ot}/${tt.name}`:`${tt.name}`;Ue.push({title:tt.name,type:tt.type,isLeaf:tt.type!=="tree",key:Je})}return Ue}function Te(ut,ot,Ue){for(let Qe=0;Qe<ut.length;Qe++){let tt=ut[Qe];if(tt.key===ot){tt.children=Ue;break}tt.children&&Te(tt.children,ot,Ue)}return ut}function Ie(ut,ot,Ue){let Qe;return function(){let tt=this,Je=arguments,se=function(){Qe=null,Ue||ut.apply(tt,Je)},y=Ue&&!Qe;clearTimeout(Qe),Qe=setTimeout(se,ot),y&&ut.apply(tt,Je)}}const Oe=!0,le=b.Z.API_SERVER},88477:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return se}});var b=te(3113),ue=te(59301),Be=Object.defineProperty,Te=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,ot=(y,a,x)=>a in y?Be(y,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):y[a]=x,Ue=(y,a)=>{for(var x in a||(a={}))le.call(a,x)&&ot(y,x,a[x]);if(Oe)for(var x of Oe(a))ut.call(a,x)&&ot(y,x,a[x]);return y},Qe=(y,a)=>Te(y,Ie(a)),tt=(y,a)=>{var x={};for(var E in y)le.call(y,E)&&a.indexOf(E)<0&&(x[E]=y[E]);if(y!=null&&Oe)for(var E of Oe(y))a.indexOf(E)<0&&ut.call(y,E)&&(x[E]=y[E]);return x},Je=(y,a,x)=>new Promise((E,z)=>{var ne=de=>{try{ie(x.next(de))}catch(pe){z(pe)}},re=de=>{try{ie(x.throw(de))}catch(pe){z(pe)}},ie=de=>de.done?E(de.value):Promise.resolve(de.value).then(ne,re);ie((x=x.apply(y,a)).next())});const se=y=>{var a=y,{children:x}=a,E=tt(a,["children"]);const[z,ne]=(0,ue.useState)(!1);return ue.createElement(b.ZP,Qe(Ue({},E),{loading:z,onClick:re=>Je(void 0,null,function*(){try{ne(!0),yield E.onClick(re),ne(!1)}catch(ie){console.error(ie),ne(!1)}})}),x)}},76715:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Te}});var b=te(59301),ue={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Te=({number:Ie,active:Oe,className:le})=>b.createElement("div",{className:`${ue.digitalLabel} ${Oe?ue.active:""} ${le}`},Ie)},94964:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return E}});var b=te(59301),ue=te(86914),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Te=te(73631),Ie=te(5623),Oe=te(2908),le=Object.defineProperty,ut=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Je=(z,ne,re)=>ne in z?le(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,se=(z,ne)=>{for(var re in ne||(ne={}))Qe.call(ne,re)&&Je(z,re,ne[re]);if(Ue)for(var re of Ue(ne))tt.call(ne,re)&&Je(z,re,ne[re]);return z},y=(z,ne)=>ut(z,ot(ne)),a=(z,ne,re)=>new Promise((ie,de)=>{var pe=Le=>{try{je(re.next(Le))}catch(Ye){de(Ye)}},Pe=Le=>{try{je(re.throw(Le))}catch(Ye){de(Ye)}},je=Le=>Le.done?ie(Le.value):Promise.resolve(Le.value).then(pe,Pe);je((re=re.apply(z,ne)).next())}),E=({value:z,onChange:ne,scrollId:re})=>{const[ie,de]=(0,b.useState)([]);(0,b.useEffect)(()=>{pe()},[]);const pe=()=>a(void 0,null,function*(){const Me=yield(0,Oe.NZ)({});if(Me!=null&&Me.data){const qe=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Te,className:Be.folderIcon}),isLeaf:!1,children:Pe(Me.data||[])}];de(qe)}}),Pe=Me=>Me.map(qe=>({title:qe.name,key:qe.group_id,icon:b.createElement("img",{src:Te,className:Be.folderIcon}),isLeaf:qe.children.length===0,children:Pe(qe.children)})),je=(Me,qe,ht)=>Me.map(Ae=>Ae.key===qe?se(se({},Ae),ht):Ae.children?y(se({},Ae),{children:je(Ae.children,qe,ht)}):Ae),Le=(Me,qe,ht)=>Me.map(Ae=>{if(Ae.key===qe)return y(se({},Ae),{icon:ht?b.createElement("img",{src:Ie,className:Be.folderIcon}):b.createElement("img",{src:Te,className:Be.folderIcon})});if(Ae.children)return y(se({},Ae),{children:Le(Ae.children,qe,ht)})}),Ye=(Me,qe)=>{de(ht=>Le(ht,qe.node.key,qe.expanded))},Se=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ie.length>0&&b.createElement("div",{id:re||""},b.createElement(ue.default,se({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ie,className:Be.folderWrapper,onSelect:ne,onExpand:Ye},Se)))}},72194:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Oe}});var b=te(60324),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=te(32637),Te=te(59301),Oe=({type:le,style:ut})=>{const ot=Te.createElement("div",{className:ue.wrap,onClick:Ue=>{Ue.preventDefault(),Ue.stopPropagation()}},Te.createElement("p",null,le==="shixun"||le==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Te.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",le==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Te.createElement("div",{className:ue.contact},Te.createElement("div",{className:ue.img},Te.createElement("img",{src:Be,width:"124px",height:"124px"})),Te.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Te.createElement(b.Z,{content:ot},Te.createElement("span",{className:ue.text,style:ut},"\u9AD8\u6D88\u8017"))}},12963:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Qe}});var b=te(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=te(92310),Te=te.n(Be),Ie=te(71418),Oe=te(2859),le=te(70635),ut=te(58130),ot=(tt,Je,se)=>new Promise((y,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},E=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(x,E);z((se=se.apply(tt,Je)).next())}),Qe=({data:tt,className:Je,fullWidth:se,style:y={},onClose:a,onOk:x,showFullTools:E,noAssociationId:z})=>{const ne=(0,b.useRef)(null),re=(0,b.useRef)(null),ie=(0,b.useRef)(null),de=(0,b.useRef)(null),[pe,Pe]=(0,b.useState)(!1),[je,Le]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),tt!=null&&tt.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",tt!=null&&tt.src&&Ye()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[tt==null?void 0:tt.visible]);const Ye=()=>ot(void 0,null,function*(){Pe(!0),Le("\u6B63\u5728\u52A0\u8F7D\u4E2D");const ht=yield(0,ut.ZJ)(tt==null?void 0:tt.src);ne.current.src="",ne.current.src=ht,ne.current.onload=function(){qe()},Pe(!1),Le("")}),Se=ht=>ot(void 0,null,function*(){Pe(!0),Le("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ae=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:tt.title,file:ht.dataUrl}});Ae!=null&&Ae.id&&!z?(yield(0,le.ZP)(`/api/attachments/${tt.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ae==null?void 0:Ae.id,settings:JSON.stringify(ht.state)}})).status===0&&x():Ae!=null&&Ae.id&&x(Ae),Pe(!1),Le("")}),Me=()=>{const ht=document.querySelector('a[href="https://markerjs.com/"]');ht&&ht.parentNode&&(ht.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(mt=>{const At=document.querySelector(mt.name);At&&At.setAttribute("title",mt.title)})},qe=()=>{re.current=new Oe.hP(ne.current),re.current.targetRoot=de.current,re.current.addEventListener("render",Se),re.current.addEventListener("beforeclose",a),E&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),tt!=null&&tt.snapshotData&&re.current.restoreState(tt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Me()},300)};return b.createElement(b.Fragment,null,(tt==null?void 0:tt.visible)&&b.createElement(Ie.Z,{spinning:pe,tip:je,style:{position:"absolute"}},b.createElement("div",{ref:de,className:Te()(ue.imageDimensions,Je,se?ue.fullWidth:""),style:y},b.createElement("img",{className:ue.img,ref:ne}))))}},71385:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ve},$:function(){return _e}});var b=te(59301),ue={flex_box_center:"flex_box_center___ILe3s",flex_space_between:"flex_space_between___c0XhE",flex_box_vertical_center:"flex_box_vertical_center___Iusj1",flex_box_center_end:"flex_box_center_end___DIVMO",flex_box_column:"flex_box_column___x06LA",intelligentBox:"intelligentBox___M5xO7",red:"red___oyEWt",imgBox:"imgBox___DdoNI",underpin:"underpin___fwUex",row:"row___W9MrK",leftLayout:"leftLayout___MMjoZ",rightLayout:"rightLayout___EsxRX",head:"head___Q7Od8",centerBox:"centerBox___j58Ut",title:"title___rMcNx",tip:"tip___gLHFS",leftBox:"leftBox___DJ6lp",question:"question___THjM9",rightBox:"rightBox___CuMdf",error:"error___PHzCG",actionHead:"actionHead___vTHMx",edit:"edit___EaRLy",option:"option___z4UTy",active:"active___o8wNJ",fill:"fill___g760n",text:"text___L_lug",liWrap:"liWrap___LDwxe",li:"li___k4Mcf",buttonFixed:"buttonFixed___QxKdm",buttonWrap:"buttonWrap___OEep5",button:"button___b2y4h",menu:"menu___aQ4xO",tabs:"tabs___QmlP4",dotLoading:"dotLoading___zUYOu",showHide:"showHide___fHrAG"},Be=te(92310),Te=te.n(Be),Ie=te(78241),Oe=te(8591),le=te(43418),ut=te(88897),ot=te(95237),Ue=te(24905),Qe=te(38854),tt=te(24645),Je=te(3113),se=te(93948),y=te(19842),a=te(92832),x=te(5112),E=te(6848),z=te(43604),ne=te(78258),re=te(10148),ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqg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16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",je=te(70635),Le=te(94964),Ye=te(5623),Se=te(1751),Me=te(34571),qe=te(56701),ht=te(15342),Ae=te.n(ht),mt=(fe,Xe,bt)=>new Promise((Fe,Ce)=>{var at=gt=>{try{De(bt.next(gt))}catch(un){Ce(un)}},$e=gt=>{try{De(bt.throw(gt))}catch(un){Ce(un)}},De=gt=>gt.done?Fe(gt.value):Promise.resolve(gt.value).then(at,$e);De((bt=bt.apply(fe,Xe)).next())}),Et=b.memo(({tagName:fe="div",value:Xe="",className:bt,style:Fe={},onBlur:Ce,id:at})=>{const $e=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!$e.current)return;mt(void 0,null,function*(){const un=$e.current;un.innerHTML="";const en=Xe==null?void 0:Xe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const zt of en)if(zt.startsWith("$$")&&zt.endsWith("$$")||zt.startsWith("`$$")&&zt.endsWith("$$`")){const ln=zt.startsWith("`$$")?zt.slice(3,-3):zt.slice(2,-2),on=document.createElement("span");on.setAttribute("contentEditable","false"),on.setAttribute("title",zt),on.className="edu_latex",un.appendChild(on),Ae().render(ln,on,{throwOnError:!1})}else{const ln=zt==null?void 0:zt.replace(/<[^>]*>/g,on=>on.startsWith("<img")?on:on.replace(/</g,"&lt;"));un.insertAdjacentHTML("beforeend",ln)}})},[at]);const De=()=>{var gt,un;if(Ce&&$e.current){const zt=$e.current.cloneNode(!0),ln=zt.querySelectorAll("span.edu_latex");for(let on of ln){const ze=on.getAttribute("title"),wt=document.createTextNode(ze||""),Ot=on;(un=(gt=Ot.parentNode)==null?void 0:gt.replaceChild)==null||un.call(gt,wt,Ot)}Ce(zt.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(fe,{ref:$e,contentEditable:!0,className:bt,style:Fe,onBlur:De}))}),dt=te(2119),Qt=te(86766),St=Object.defineProperty,an=Object.defineProperties,En=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,hn=(fe,Xe,bt)=>Xe in fe?St(fe,Xe,{enumerable:!0,configurable:!0,writable:!0,value:bt}):fe[Xe]=bt,Tt=(fe,Xe)=>{for(var bt in Xe||(Xe={}))et.call(Xe,bt)&&hn(fe,bt,Xe[bt]);if(nt)for(var bt of nt(Xe))Yt.call(Xe,bt)&&hn(fe,bt,Xe[bt]);return fe},vn=(fe,Xe)=>an(fe,En(Xe)),Ge=(fe,Xe,bt)=>new Promise((Fe,Ce)=>{var at=gt=>{try{De(bt.next(gt))}catch(un){Ce(un)}},$e=gt=>{try{De(bt.throw(gt))}catch(un){Ce(un)}},De=gt=>gt.done?Fe(gt.value):Promise.resolve(gt.value).then(at,$e);De((bt=bt.apply(fe,Xe)).next())});const Dt=fe=>{fe.preventDefault();let bt=(fe.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,bt)},Kt=fe=>{fe.key==="Enter"&&fe.preventDefault()},Mt=({children:fe,style:Xe})=>b.createElement("div",{className:ue.leftBox,style:Xe,onPaste:Dt},fe),pt=({children:fe,style:Xe,className:bt})=>b.createElement("div",{className:Te()(ue.rightBox,bt),style:Xe,onPaste:Dt},fe),rt=({className:fe,style:Xe={},width:bt=1200,onCancel:Fe=()=>{},onSuccess:Ce=()=>{},gather:at={},mode:$e=1,stickyTop:De=0,subDisciplineId:gt=[],hideWordFeatures:un,dataSource:en=[],customLeftHeadNode:zt,customRightHeadNode:ln,customLeftContent:on,hideRecognition:ze=!1,onExchange:wt,isSingleSelection:Ot=!1,underpinBackgroundStyle:Pt={},headExtraNode:Nt,isRefreshItemBank:fn=!1,okText:Pn="\u786E\u5B9A\u5BFC\u5165"})=>{var bn;const[Ln,ta]=(0,b.useState)(1),[oa,jn]=(0,b.useState)(0),[Ea,pa]=(0,b.useState)(""),[Hn,Ba]=(0,b.useState)(!1),[qt,An]=(0,b.useState)([]),[Fn,Xn]=(0,b.useState)([]),[Ze,It]=(0,b.useState)(!1),[Zt,Wt]=(0,b.useState)(!1),[tn,jt]=(0,b.useState)(!1),[pn,st]=(0,b.useState)(!1),[yt,ct]=(0,b.useState)([]),[rn,In]=(0,b.useState)(1),[yn,ia]=(0,b.useState)(!1),[Un,lt]=(0,b.useState)(!1),[$t,qn]=(0,b.useState)(!0),[nn,_n]=(0,b.useState)(0),[Jn,Ma]=(0,b.useState)(1),[ma,We]=(0,b.useState)(""),[dn,Jt]=(0,b.useState)([]),[Sn,On]=(0,b.useState)(0),[kn,Dn]=(0,b.useState)(0),[wn,Aa]=(0,b.useState)(0),[La,mn]=(0,b.useState)(0),[Da,na]=(0,b.useState)(0),[Qa]=Ie.default.useForm(),[Ja]=Ie.default.useForm(),Vn=(0,b.useRef)(null),sa=(0,b.useRef)(null),xa=(0,b.useRef)(),aa=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],za=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{en!=null&&en.length&&$a(en)},[en]),(0,b.useEffect)(()=>{Ln===2&&Vn.current.focus()},[Ln]),(0,b.useEffect)(()=>{tn&&Ga()},[tn]);const ar=()=>{if(Ln===1){Oe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u6E05\u7A7A\u64CD\u4F5C\u5C06\u5220\u9664\u8BD5\u9898\u7F16\u8F91\u533A\u57DF\u7684\u5168\u90E8\u5185\u5BB9\uFF0C\u786E\u5B9A\u4E00\u952E\u6E05\u7A7A\u5417\uFF1F",onOk:()=>Ge(void 0,null,function*(){ta(1)})})},Ga=()=>Ge(void 0,null,function*(){const xe=yield(0,je.ZP)("/api/disciplines.json",{method:"get",params:{source:$e===1?"new_question":"subject"}});ct(xe.disciplines||[])}),mr=xe=>{const sn=[],Cn=(zn,cn)=>{zn.length>=2&&sn.push(zn.join(""));for(let ra=cn;ra<xe.length;ra++)zn.push(xe[ra]),Cn(zn,ra+1),zn.pop()};return Cn([],0),sn},Ua=xe=>(xe=xe||"",xe=String(xe),xe=xe.replace(/\s+/g,""),xe),Cr=xe=>(xe=xe||"",xe=String(xe),xe=xe.replace(/<div>/g,""),xe=xe.replace(/<br>/g,`
`),xe=xe.replace(/<\/div>/g,`
`),xe=ao(xe),xe),kr=xe=>xe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),ao=xe=>xe.replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'"),Er=xe=>{var sn;const Cn=xe.clipboardData;if(Cn){const zn=Cn.types.toString(),cn=Cn.items;if(zn==="Files"||Cn.types.indexOf("Files")>-1){xe.preventDefault();try{let ra=cn[1];((sn=cn[0])==null?void 0:sn.kind)==="file"&&(ra=cn[0]);const Zn=ra.getAsFile();(0,qe.I)(Zn,Nn=>{var Gn;if(Nn.id){if(((Gn=Zn==null?void 0:Zn.type)==null?void 0:Gn.indexOf("image"))>-1){const Mn=`<img src='${re.Z.API_SERVER}${Nn.url}'>`;document.execCommand("insertText",!1,Mn)}}else(Nn==null?void 0:Nn.status)===401&&(document.location.href="/user/login")})}catch(ra){Oe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function vr(xe,sn){return Ge(this,null,function*(){if(typeof xe=="string")return yield sn(xe);if(typeof xe!="object"||xe===null)return xe;if(Array.isArray(xe))return yield Promise.all(xe.map(cn=>Ge(this,null,function*(){return yield vr(cn,sn)})));const Cn={};for(const zn in xe)if(Object.prototype.hasOwnProperty.call(xe,zn)){const cn=xe[zn];typeof cn=="string"?Cn[zn]=yield sn(cn):typeof cn=="object"?Cn[zn]=yield vr(cn,sn):Cn[zn]=cn}return Cn})}const Zr=()=>Ge(void 0,null,function*(){var xe;Ba(!0),pa("\u5904\u7406\u4E2D"),yield new Promise(zn=>setTimeout(zn,1e3));let sn=(xe=sa.current)==null?void 0:xe.querySelectorAll('[data-text="edit"]'),Cn="";try{sn.forEach(function(zn){var cn,ra,Zn,Nn;const Gn=zn.cloneNode(!0),Mn=Gn.querySelectorAll("span.edu_latex");for(let wa of Mn){const Pa=wa.getAttribute("title"),Ar=document.createTextNode(Pa),fr=wa;(ra=(cn=fr.parentNode)==null?void 0:cn.replaceChild)==null||ra.call(cn,Ar,fr)}const fa=Gn.querySelectorAll("span[style]");for(let wa of fa)if(wa.style.fontFamily){const Pa=wa.innerHTML,Ar=document.createTextNode(Pa),fr=wa;(Nn=(Zn=fr.parentNode)==null?void 0:Zn.replaceChild)==null||Nn.call(Zn,Ar,fr)}Gn==null||Gn.childNodes.forEach(function(wa){wa.nodeType===Node.ELEMENT_NODE&&wa.localName!=="h5"&&wa.localName!=="h4"?Cn+=`<p>${wa.innerHTML}</p>`:wa.nodeType===Node.TEXT_NODE&&(Cn+=`<p>${wa.textContent}</p>`)})}),ga("/api/intelligent_imports/import.json",{html:ao(Cn)})}catch(zn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",zn)}}),hr=xe=>{let sn=xe.filter(Cn=>!!(Cn!=null&&Cn.type));return sn=sn.map(Cn=>{var zn;const cn=(zn=Ao.find(Zn=>Zn.id===(Cn==null?void 0:Cn.type)))==null?void 0:zn.deal,ra=vn(Tt({},Cn),{id:String(Math.random()).slice(-6),knowledgePoint:Ua(Cn==null?void 0:Cn.knowledgePoint)});return cn?cn(ra):ra}),sn},Fr=()=>{if(Ln===1){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u91CD\u65B0\u8BC6\u522B\u4F1A\u8986\u76D6\u53F3\u4FA7\u5DF2\u8BC6\u522B\u7ED3\u679C\uFF0C\u5305\u62EC\u4EBA\u5DE5\u4FEE\u6539\u7684\u5185\u5BB9\uFF0C\u786E\u5B9A\u91CD\u65B0\u8BC6\u522B\u5417?",onOk:Zr})},ur=()=>b.createElement("div",{className:ue.row},b.createElement("div",{className:ue.leftLayout},b.createElement(Mt,{style:{height:675}},Ln===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>ta(2)},b.createElement("div",{style:{color:"#9096A3",fontSize:12}},"1.\u672C\u529F\u80FD\u652F\u6301\u5BFC\u5165\u7684\u9898\u578B\uFF1A\u5355\u9009\u9898\u3001\u591A\u9009\u9898\u3001\u586B\u7A7A\u9898\u3001\u5224\u65AD\u9898\u3001\u7B80\u7B54\u9898\u3001 \u7EC4\u5408\u9898\u3001\u7F16\u7A0B\u9898\u3001\u7A0B\u5E8F\u586B\u7A7A\u9898\u3002",b.createElement("br",null),"2.\u82E5\u8981\u5BFC\u5165\u7EC4\u5408\u9898\uFF0C\u8BF7\u5728\u9898\u76EE\u524D\u540E\u4F7F\u7528\u4E00\u5BF9\u201C","{{\u201D\u3001\u201C}}","\u201D\u5C06\u5185\u5BB9\u6807\u51FA\uFF1B\u5927\u9898\u9898\u5E72\u548C\u5C0F\u9898\u9898\u5E72\u4E4B\u95F4\u4E0D\u9700\u8981\u7A7A\u884C\uFF1B\u5927\u9898\u548C\u5C0F\u9898\u9898\u5E72\u90FD\u9700\u6807\u6CE8\u9898\u53F7\uFF1B\u5C0F\u9898\u7B54\u6848\u53EF\u8DDF\u5728\u5C0F\u9898\u9898\u5E72\u540E\uFF0C\u5E76\u7528\u7A7A\u683C\u4E0E\u9898\u5E72\u5185\u5BB9\u9694\u5F00\u3002\u8303\u4F8B\u53EF\u53C2\u8003\u63A8\u8350\u683C\u5F0F\u3002",b.createElement("br",null),"3.\u5BFC\u5165\u652F\u6301\u6587\u672C\u3001\u56FE\u7247\u3001\u516C\u5F0F\u3002\u9898\u76EE\u7ED3\u6784\u652F\u6301\u8BC6\u522B\u7B54\u6848\u3001\u89E3\u6790\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9\u3002",b.createElement("br",null),"4.\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u4FEE\u6539\u9898\u76EE\u5185\u5BB9\u540E\u91CD\u65B0\u8BC6\u522B\uFF0C\u6216\u4E0B\u8F7D\u63A8\u8350\u683C\u5F0F\uFF0C\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u5BFC\u5165\u8BC6\u522B\u3002",b.createElement("br",null)),b.createElement("div",{className:ue.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:de}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ln===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Vn.current.innerHTML||ta(1)},ref:Vn,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:ue.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:ue.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:pe}),b.createElement("span",null,"\u9884\u89C8\u533A")))),Ra=(xe,sn,Cn,zn)=>{var cn;console.log(xe,sn,Cn,zn,"onDataChange\u4FEE\u6539\u6570\u503C");const ra=JSON.parse(JSON.stringify(Fn));zn===void 0?ra[sn][xe]=Cn:ra[sn].questions[zn][xe]=Cn;const Zn=Tt({},ra[sn]),Nn=(cn=Ao.find(Gn=>Gn.id===(Zn==null?void 0:Zn.type)))==null?void 0:cn.deal;ra[sn]=Nn(Zn),Xn(ra)},xr=(xe,sn,Cn)=>{var zn;const cn=Cn!==void 0,ra=(zn=Ao.find(Gn=>Gn.id===(xe==null?void 0:xe.type)))==null?void 0:zn.type,Zn=`${sn+1}.${Cn===void 0?"":Cn+1+"."}`,Nn=`${(xe==null?void 0:xe.type)==="7"?"{{":""}${Zn}\u3010${ra}\u3011${(xe==null?void 0:xe.question)||""}`;return b.createElement(b.Fragment,null,cn&&b.createElement("h4",{contentEditable:!0}),b.createElement(Et,{id:xe==null?void 0:xe.id,tagName:"div",value:Nn}))},Xr=(xe,sn)=>Ge(void 0,null,function*(){var Cn;const zn=yield wt(xe,sn),cn=(Cn=zn==null?void 0:zn.data)==null?void 0:Cn.content;if(cn!=null&&cn.length){const ra=hr(cn)[0];qt.splice(sn,1,ra),Fn.splice(sn,1,ra),An([...qt]),Xn([...Fn])}}),br=(xe,sn,Cn)=>{var zn;const cn=Cn!==void 0,ra=(zn=Ao.find(Nn=>Nn.id===(xe==null?void 0:xe.type)))==null?void 0:zn.type,Zn=`${sn+1}.${Cn===void 0?"":Cn+1+"."}`;return cn?b.createElement("div",{style:{padding:"10px 18px"}},`${Zn}\u3010${ra}\u3011`,b.createElement(Et,{id:xe==null?void 0:xe.id,tagName:"span",className:ue.edit,onBlur:Nn=>Ra("question",sn,Nn,Cn),value:(xe==null?void 0:xe.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:ue.actionHead},b.createElement("div",{className:"c-light-primary"},`${Zn}\u3010${ra}\u3011`),$e!==1&&b.createElement(ut.Z,{disabled:(xe==null?void 0:xe.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Nn=>Ra("score",sn,Nn,Cn),value:xe==null?void 0:xe.score}),b.createElement(ot.Z,{align:"middle",style:{marginLeft:"auto"}},!!wt&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Xr(xe,sn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ue.default,{onChange:Nn=>Ra("checked",sn,Nn.target.checked,Cn),checked:!!(xe!=null&&xe.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(Et,{id:xe==null?void 0:xe.id,tagName:"div",style:{padding:"10px 18px"},className:ue.edit,onBlur:Nn=>Ra("question",sn,Nn,Cn),value:xe==null?void 0:xe.question}))},Vr=(xe,sn,Cn)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(xe==null?void 0:xe.type)&&b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u7B54\u6848\uFF1A${sn||""}`,tagName:"p"}),!Cn&&b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u96BE\u5EA6\uFF1A${(xe==null?void 0:xe.difficulty)||""}`,tagName:"p"}),(xe==null?void 0:xe.type)!=="7"&&b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u89E3\u6790\uFF1A${(xe==null?void 0:xe.analyze)||""}`,tagName:"p"}),!Cn&&b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(xe==null?void 0:xe.knowledgePoint)||""}`,tagName:"p"})),jr=(xe,sn,Cn,zn)=>{const cn=zn!==void 0,ra=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Zn=cn&&!xe.last&&!xe.errorMsg?{marginBottom:10}:{},Nn=ra.map(Gn=>({key:Gn,label:Gn,onClick:()=>Ra("difficulty",Cn,Gn,zn)}));return b.createElement("div",{className:ue.liWrap,style:Zn},["4"].includes(xe==null?void 0:xe.type)&&b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(Et,{id:xe==null?void 0:xe.id,tagName:"div",className:`${ue.edit} c-black`,onBlur:Gn=>Ra("answer",Cn,[Gn],zn),value:sn})),!cn&&b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Qe.Z,{menu:{items:Nn}},b.createElement("span",{className:"c-light-primary"},xe==null?void 0:xe.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(xe==null?void 0:xe.type)!=="7"&&b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(Et,{id:xe==null?void 0:xe.id,tagName:"div",className:`${ue.edit} c-grey-333`,onBlur:Gn=>Ra("analyze",Cn,Gn,zn),value:xe==null?void 0:xe.analyze})),!cn&&b.createElement("div",{onKeyDown:Kt,className:ue.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(Et,{id:xe==null?void 0:xe.id,tagName:"div",value:(xe==null?void 0:xe.knowledgePoint)||"",className:`${ue.edit} c-grey-333`,onBlur:Gn=>Ra("knowledgePoint",Cn,Ua(Cr(Gn)),zn)})))},Xa=xe=>b.createElement(b.Fragment,null,typeof(xe==null?void 0:xe.errorMsg)=="string"&&!!(xe!=null&&xe.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,xe==null?void 0:xe.errorMsg))),wr=xe=>b.createElement(b.Fragment,null,typeof(xe==null?void 0:xe.errorMsg)=="string"&&!!(xe!=null&&xe.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,xe==null?void 0:xe.errorMsg))),dr=(xe,sn,Cn,zn)=>{let cn="flex";return(Ot&&nn!==zn||Ze&&!(Cn!=null&&Cn.errorMsg))&&(cn="none"),b.createElement("div",{className:ue.row,style:{display:cn}},b.createElement("div",{className:ue.leftLayout},on||b.createElement(Mt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xe))),b.createElement("div",{className:ue.rightLayout},b.createElement(pt,{className:Cn!=null&&Cn.errorMsg?ue.error:""},sn)))},Ao=[{id:"0",type:"\u5355\u9009\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=b.createElement(b.Fragment,null,xr(xe,sn,Cn),(cn=xe==null?void 0:xe.options)==null?void 0:cn.map((wa,Pa)=>b.createElement(Et,{id:xe==null?void 0:xe.id,key:Pa,value:`${aa[Pa]}.${wa}`,tagName:"p"})),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=Gn==null?void 0:Gn.options,fa=b.createElement(b.Fragment,null,br(Gn,sn,Cn),Mn==null?void 0:Mn.map((wa,Pa)=>{var Ar;return b.createElement("div",{key:Pa,className:ue.option},b.createElement("aside",{className:((Ar=Gn==null?void 0:Gn.answer)==null?void 0:Ar[0])===aa[Pa]?ue.active:"",onClick:()=>Ra("answer",sn,[aa[Pa]],Cn)},aa[Pa]),b.createElement(Et,{id:Gn==null?void 0:Gn.id,tagName:"div",className:`${ue.text}`,onBlur:fr=>{Mn[Pa]=fr,Ra("options",sn,Mn,Cn)},value:wa}))}),jr(Gn,"",sn,Cn),wr(Gn));return ra?[Nn,fa]:dr(Nn,fa,Gn,sn)},deal:xe=>{var sn,Cn,zn;xe.score=xe.score===void 0?2:xe.score;let cn=Ua((sn=xe==null?void 0:xe.answer)==null?void 0:sn[0]).toUpperCase();xe.answer=cn?[cn]:[];let ra=[];if(!(xe!=null&&xe.options))ra.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{xe.options=(Cn=xe.options)==null?void 0:Cn.slice(0,8);const Zn=xe.options.map(Gn=>Gn==null?void 0:Gn.trim().replace(/^\s+|\s+$/g,""));new Set(Zn).size!==Zn.length&&ra.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return cn||ra.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),cn&&(aa.slice(0,((zn=xe==null?void 0:xe.options)==null?void 0:zn.length)||8).includes(cn)||ra.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D")),Ua(xe==null?void 0:xe.question)||ra.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=ra.join(`
`),xe}},{id:"1",type:"\u591A\u9009\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=b.createElement(b.Fragment,null,xr(xe,sn,Cn),(cn=xe==null?void 0:xe.options)==null?void 0:cn.map((wa,Pa)=>b.createElement(Et,{id:xe==null?void 0:xe.id,key:Pa,value:`${aa[Pa]}.${wa}`,tagName:"p"})),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=Gn==null?void 0:Gn.options,fa=b.createElement(b.Fragment,null,br(Gn,sn,Cn),Mn==null?void 0:Mn.map((wa,Pa)=>{var Ar,fr;return b.createElement("div",{key:Pa,className:ue.option},b.createElement("aside",{className:(fr=(Ar=Gn==null?void 0:Gn.answer)==null?void 0:Ar[0])!=null&&fr.includes(aa[Pa])?ue.active:"",onClick:()=>{var Or;let $r=((Or=Gn==null?void 0:Gn.answer)==null?void 0:Or[0])||"";const uo=aa[Pa];$r.includes(uo)?$r=$r.replace(new RegExp(uo,"g"),""):$r+=uo,$r=$r.split("").sort().join(""),Ra("answer",sn,[$r],Cn)}},aa[Pa]),b.createElement(Et,{id:Gn==null?void 0:Gn.id,tagName:"div",className:`${ue.text}`,onBlur:Or=>{Mn[Pa]=Or,Ra("options",sn,Mn,Cn)},value:wa}))}),jr(Gn,"",sn,Cn),wr(Gn));return ra?[Nn,fa]:dr(Nn,fa,Gn,sn)},deal:xe=>{var sn,Cn,zn;xe.score=xe.score===void 0?2:xe.score;let cn=Ua((sn=xe==null?void 0:xe.answer)==null?void 0:sn[0]).toUpperCase().split("").sort().join("");xe.answer=cn?[cn]:[];let ra=[];if(!(xe!=null&&xe.options))ra.push("\u672A\u8BC6\u522B\u5230\u9009\u9879\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C A.\u9009\u9879\u4E00 B.\u9009\u9879\u4E8C C.\u9009\u9879\u4E09 \u201D");else{xe.options=(Cn=xe.options)==null?void 0:Cn.slice(0,8);const Zn=xe.options.map(Gn=>Gn==null?void 0:Gn.trim().replace(/^\s+|\s+$/g,""));new Set(Zn).size!==Zn.length&&ra.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(cn||ra.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),cn){const Zn=aa.slice(0,((zn=xe==null?void 0:xe.options)==null?void 0:zn.length)||8);mr(Zn).includes(cn)||ra.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D")}return Ua(xe==null?void 0:xe.question)||ra.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=ra.join(`
`),xe}},{id:"2",type:"\u5224\u65AD\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=b.createElement(b.Fragment,null,xr(xe,sn,Cn),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=["\u6B63\u786E","\u9519\u8BEF"];let fa=((cn=Gn==null?void 0:Gn.answer)==null?void 0:cn[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(fa)?fa="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(fa)&&(fa="\u9519\u8BEF");const wa=b.createElement(b.Fragment,null,br(Gn,sn,Cn),Mn==null?void 0:Mn.map((Pa,Ar)=>b.createElement("div",{key:Ar,className:ue.option},b.createElement("aside",{style:{borderRadius:2},className:fa===Pa?ue.active:"",onClick:()=>Ra("answer",sn,[Pa],Cn)},Pa==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${ue.text}`},Pa))),jr(Gn,"",sn,Cn),wr(Gn));return ra?[Nn,wa]:dr(Nn,wa,Gn,sn)},deal:xe=>{var sn;xe.score=xe.score===void 0?2:xe.score;let Cn=Ua((sn=xe==null?void 0:xe.answer)==null?void 0:sn[0]);xe.answer=Cn?[Cn]:[];let zn=[];return Cn||zn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Cn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Cn)&&zn.push("\u6B63\u786E\u7B54\u6848\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Ua(xe==null?void 0:xe.question)||zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=zn.join(`
`),xe}},{id:"3",type:"\u586B\u7A7A\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0,Zn=b.createElement(b.Fragment,null,xr(xe,sn,Cn),(zn=xe==null?void 0:xe.answer)==null?void 0:zn.map((Mn,fa)=>b.createElement(Et,{id:xe==null?void 0:xe.id,key:fa,tagName:"p",value:`\u7B54\u6848${fa+1}\uFF1A${Mn.text||""}`})),Vr(xe,"",ra),Xa(xe));let Nn=ra?xe:Fn[sn];const Gn=b.createElement(b.Fragment,null,br(Nn,sn,Cn),(cn=Nn==null?void 0:Nn.answer)==null?void 0:cn.map((Mn,fa)=>b.createElement("div",{key:fa,className:ue.option},b.createElement("aside",{className:ue.fill},"\u586B\u7A7A\u9879",fa+1),Mn.model===1&&b.createElement(Et,{id:Nn==null?void 0:Nn.id,tagName:"div",onBlur:wa=>{Nn.answer[fa].latex=Cr(wa),Ra("answer",sn,Nn.answer,Cn)},className:`${ue.text}`,value:Mn.latex}),Mn.model===2&&b.createElement(Me.Z,{value:Mn.latex,onChange:wa=>{Nn.answer[fa].latex=wa,Ra("answer",sn,Nn.answer,Cn)}}))),jr(Nn,"",sn,Cn),wr(Nn));return ra?[Zn,Gn]:dr(Zn,Gn,Nn,sn)},deal:xe=>{var sn,Cn,zn,cn;xe.score=xe.score===void 0?2:xe.score,xe.question=(sn=xe.question)==null?void 0:sn.replaceAll("\u2581","_");const ra=(Cn=xe.answer)==null?void 0:Cn.map(Nn=>{if(Object.prototype.toString.call(Nn)==="[object Object]")return Nn;const Gn={model:1,text:Nn,latex:Nn};return Nn.startsWith("$$")&&Nn.endsWith("$$")||Nn.startsWith("`$$")&&Nn.endsWith("$$`")?(Gn.model=2,Gn.latex=Nn.slice(2,-2)):Gn.latex=Cr(Nn),Gn});xe.answer=ra;let Zn=[];return ra||Zn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Ua(xe==null?void 0:xe.question)?xe!=null&&xe.question.includes("_")?(zn=xe==null?void 0:xe.answer)!=null&&zn.length&&((xe==null?void 0:xe.question.match(/_+/g))||[]).length!==((cn=xe==null?void 0:xe.answer)==null?void 0:cn.length)&&Zn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Zn.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Zn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=Zn.join(`
`),xe}},{id:"4",type:"\u7B80\u7B54\u9898",element:(xe,sn,Cn)=>{var zn,cn;const ra=Cn!==void 0;let Zn=(zn=xe==null?void 0:xe.answer)==null?void 0:zn[0];const Nn=b.createElement(b.Fragment,null,xr(xe,sn,Cn),Vr(xe,Zn,ra),Xa(xe));let Gn=ra?xe:Fn[sn];const Mn=b.createElement(b.Fragment,null,br(Gn,sn,Cn),jr(Gn,(cn=Gn==null?void 0:Gn.answer)==null?void 0:cn[0],sn,Cn),wr(Gn));return ra?[Nn,Mn]:dr(Nn,Mn,Gn,sn)},deal:xe=>{xe.score=xe.score===void 0?5:xe.score;let sn=[];return Ua(xe==null?void 0:xe.question)||sn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),xe.errorMsg=sn.join(`
`),xe}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(xe,sn)=>{var Cn,zn;const cn=Fn[sn],ra=za.slice(0,4).map(Zn=>({key:Zn,label:Zn,onClick:()=>Ra("platform",sn,Zn)}));return b.createElement("div",{className:ue.row,style:{display:Ze?cn!=null&&cn.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:ue.leftLayout},b.createElement(Mt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xr(xe,sn),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(xe==null?void 0:xe.description)||""}`,tagName:"p"}),Vr(xe),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${xe==null?void 0:xe.timeLimit}`,tagName:"p"}),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(xe==null?void 0:xe.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(Et,{id:xe==null?void 0:xe.id,value:(xe==null?void 0:xe.code)||"",tagName:"div"}),(Cn=xe==null?void 0:xe.inputs)==null?void 0:Cn.map((Zn,Nn)=>{var Gn;return b.createElement(b.Fragment,{key:Nn},b.createElement("h4",null),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Nn+1})\u8F93\u5165\uFF1A${Zn||""}`,tagName:"div"}),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${Nn+1})\u8F93\u51FA\uFF1A${((Gn=xe==null?void 0:xe.outputs)==null?void 0:Gn[Nn])||""}`,tagName:"div"}))}),Xa(xe)))),b.createElement("div",{className:ue.rightLayout},b.createElement(pt,{className:cn!=null&&cn.errorMsg?ue.error:""},br(cn,sn),b.createElement("div",{className:ue.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:cn==null?void 0:cn.description,tagName:"div",onBlur:Zn=>Ra("description",sn,Zn)}))),jr(cn,"",sn),b.createElement("div",{className:ue.liWrap},b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:cn==null?void 0:cn.timeLimit,tagName:"div",onBlur:Zn=>Ra("timeLimit",sn,Cr(Zn))})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Qe.Z,{menu:{items:ra}},b.createElement("span",{className:"c-light-primary"},cn==null?void 0:cn.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.code)||"",onBlur:Zn=>Ra("code",sn,Cr(Zn)),tagName:"div"}))),(zn=cn==null?void 0:cn.inputs)==null?void 0:zn.map((Zn,Nn)=>{var Gn;return b.createElement("div",{className:ue.liWrap,key:Nn},b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Nn+1,")\u8F93\u5165\uFF1A"),b.createElement(Et,{id:cn==null?void 0:cn.id,value:Zn||"",className:ue.edit,onBlur:Mn=>{const fa=[...(cn==null?void 0:cn.inputs)||[]];fa[Nn]=Cr(Mn),Ra("inputs",sn,fa)},tagName:"div"})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",Nn+1,")\u8F93\u51FA\uFF1A"),b.createElement(Et,{id:cn==null?void 0:cn.id,value:((Gn=cn==null?void 0:cn.outputs)==null?void 0:Gn[Nn])||"",className:ue.edit,onBlur:Mn=>{const fa=[...(cn==null?void 0:cn.outputs)||[]];fa[Nn]=Cr(Mn),Ra("outputs",sn,fa)},tagName:"div"})))}),wr(cn))))},deal:xe=>{var sn,Cn,zn;xe.score=xe.score===void 0?10:xe.score,xe.code=(sn=xe.code)==null?void 0:sn.trim();let cn=[];Ua(xe==null?void 0:xe.question)?((Cn=xe==null?void 0:xe.question)==null?void 0:Cn.length)>60&&cn.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):cn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ua(xe==null?void 0:xe.description)||cn.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const ra=Ua(String((xe==null?void 0:xe.timeLimit)||""));if(xe.timeLimit=ra,(!ra||ra&&!["3","4","5","6","7","8","9","10"].includes(ra))&&cn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),xe.platform=Ua(xe==null?void 0:xe.platform),xe!=null&&xe.platform){const Zn=["c","c++","java","python"],Nn=(zn=xe==null?void 0:xe.platform)==null?void 0:zn.toLowerCase(),Gn=Zn.findIndex(Mn=>Mn===Nn);Gn>-1?xe.platform=za[Gn]:cn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else cn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(xe!=null&&xe.inputs)||!(xe!=null&&xe.outputs))xe.inputs=[],xe.outputs=[],cn.push("\u672A\u8BC6\u522B\u5230\u6D4B\u8BD5\u7528\u4F8B\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u5165\uFF1A1\uFF1B\u6D4B\u8BD5\u7528\u4F8B(1)\u8F93\u51FA\uFF1A2");else{const Zn=Math.min(xe.inputs.length,xe.outputs.length);xe.inputs=xe.inputs.slice(0,Zn),xe.outputs=xe.outputs.slice(0,Zn),xe.outputs.some(Nn=>!Ua(Nn))&&cn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return xe.errorMsg=cn.join(`
`),xe}},{id:"7",type:"\u7EC4\u5408\u9898",element:(xe,sn)=>{var Cn,zn;const cn=Fn[sn];return b.createElement("div",{className:ue.row,style:{display:Ze?cn!=null&&cn.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:ue.leftLayout},b.createElement(Mt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xr(xe,sn),Vr(xe),(Cn=xe==null?void 0:xe.questions)==null?void 0:Cn.map((ra,Zn)=>{var Nn;const Gn=(Nn=Ao.find(Mn=>Mn.id===(ra==null?void 0:ra.type)))==null?void 0:Nn.element;return b.createElement(b.Fragment,{key:`left-${xe.id}-${Zn}`},Gn(ra,sn,Zn)[0])}),Xa(xe),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:ue.rightLayout},b.createElement(pt,{className:cn!=null&&cn.errorMsg?ue.error:""},br(cn,sn),jr(cn,"",sn),(zn=cn==null?void 0:cn.questions)==null?void 0:zn.map((ra,Zn)=>{var Nn;const Gn=(Nn=Ao.find(Mn=>Mn.id===(ra==null?void 0:ra.type)))==null?void 0:Nn.element;return b.createElement(b.Fragment,{key:`right-${cn.id}-${Zn}`},Gn(ra,sn,Zn)[1])}),wr(cn))))},deal:xe=>{var sn,Cn,zn,cn,ra;const Zn=hr,Nn=[...Ao],Gn=Nn.findIndex(Pa=>Pa.id==="0"),Mn=Nn.findIndex(Pa=>Pa.id==="1");if(Gn!==-1){const Pa=Nn[Gn].deal;Nn[Gn].deal=Ar=>{const fr=Pa(Ar);return fr.errorMsg&&(fr.errorMsg=fr.errorMsg.split(`
`).filter(Or=>Or!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),fr}}if(Mn!==-1){const Pa=Nn[Mn].deal;Nn[Mn].deal=Ar=>{const fr=Pa(Ar);return fr.errorMsg&&(fr.errorMsg=fr.errorMsg.split(`
`).filter(Or=>Or!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(`
`)),fr}}xe.questions=(sn=xe.questions)!=null&&sn.length?hr(xe.questions.slice(0,20)):[],xe.questions=(Cn=xe.questions)==null?void 0:Cn.map((Pa,Ar)=>{var fr;if(Pa.type==="0"||Pa.type==="1"){const Or=(fr=Pa.options)==null?void 0:fr.map($r=>$r==null?void 0:$r.trim().replace(/^\s+|\s+$/g,""));Or&&new Set(Or).size!==Or.length&&(Pa.errorMsg=(Pa.errorMsg?Pa.errorMsg+`
`:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return vn(Tt({},Pa),{last:Ar===xe.questions.length-1})});const fa=(zn=xe.questions)==null?void 0:zn.reduce((Pa,Ar)=>{const fr=parseFloat(Ar.score);return isNaN(fr)?Pa:Pa+fr},0);xe.score=fa;let wa=[];return(cn=xe.questions)!=null&&cn.length?xe.errorMsg=((ra=xe.questions)==null?void 0:ra.findIndex(Pa=>!!Pa.errorMsg))>-1:wa.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Ua(xe==null?void 0:xe.question)||wa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),wa.length&&(xe.errorMsg=wa.join(`
`)),xe}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(xe,sn)=>{var Cn,zn;const cn=Fn[sn],ra=za.map(Zn=>({key:Zn,label:Zn,onClick:()=>Ra("platform",sn,Zn)}));return b.createElement("div",{className:ue.row,style:{display:Ze?cn!=null&&cn.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:ue.leftLayout},b.createElement(Mt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},xr(xe,sn),Vr(xe),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${xe==null?void 0:xe.timeLimit}`,tagName:"p"}),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(xe==null?void 0:xe.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(Et,{id:xe==null?void 0:xe.id,value:(xe==null?void 0:xe.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(xe==null?void 0:xe.input)||""}`,tagName:"p"}),b.createElement(Et,{id:xe==null?void 0:xe.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(xe==null?void 0:xe.output)||""}`,tagName:"p"}),(Cn=xe==null?void 0:xe.answer)==null?void 0:Cn.map((Zn,Nn)=>b.createElement(Et,{key:Nn,id:xe==null?void 0:xe.id,value:`\u7B54\u6848${Nn+1}\uFF1A${Zn||""}`,tagName:"p"})),Xa(xe)))),b.createElement("div",{className:ue.rightLayout},b.createElement(pt,{className:cn!=null&&cn.errorMsg?ue.error:""},br(cn,sn),jr(cn,"",sn),b.createElement("div",{className:ue.liWrap},b.createElement("div",{className:ue.li,onKeyDown:Kt},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:cn==null?void 0:cn.timeLimit,tagName:"div",onBlur:Zn=>Ra("timeLimit",sn,Cr(Zn))})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Qe.Z,{menu:{items:ra}},b.createElement("span",{className:"c-light-primary"},cn==null?void 0:cn.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.code)||"",onBlur:Zn=>Ra("code",sn,Cr(Zn)),tagName:"div"})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.input)||"",onBlur:Zn=>Ra("input",sn,Cr(Zn)),tagName:"div"})),b.createElement("div",{className:ue.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(Et,{className:ue.edit,id:cn==null?void 0:cn.id,value:(cn==null?void 0:cn.output)||"",onBlur:Zn=>Ra("output",sn,Cr(Zn)),tagName:"div"}))),b.createElement("div",{className:ue.liWrap},(zn=cn==null?void 0:cn.answer)==null?void 0:zn.map((Zn,Nn)=>b.createElement("div",{className:ue.li,key:Nn},b.createElement("aside",null,"\u7B54\u6848",Nn+1,"\uFF1A"),b.createElement(Et,{id:cn==null?void 0:cn.id,value:Zn||"",className:ue.edit,onBlur:Gn=>{const Mn=[...(cn==null?void 0:cn.answer)||[]];Mn[Nn]=Cr(Gn),Ra("output",sn,Mn)},tagName:"div"})))),wr(cn))))},deal:xe=>{var sn,Cn,zn,cn,ra,Zn,Nn,Gn;xe.score=xe.score===void 0?10:xe.score,xe.code=(zn=(Cn=(sn=xe.code)==null?void 0:sn.trim())==null?void 0:Cn.replace(/@_@/g,"@\u2581@"))==null?void 0:zn.replace(/@__@/g,"@\u2581\u2581@");let Mn=[];if(Ua(xe==null?void 0:xe.question)||Mn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ua(xe==null?void 0:xe.code)?/@▁@|@▁▁@/.test(xe==null?void 0:xe.code)?(cn=xe==null?void 0:xe.answer)!=null&&cn.length&&((ra=xe==null?void 0:xe.code.match(/@▁@|@▁▁@/g))==null?void 0:ra.length)!==((Zn=xe==null?void 0:xe.answer)==null?void 0:Zn.length)&&Mn.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Mn.push("\u7A0B\u5E8F\u4EE3\u7801\u8BBE\u7F6E\u6709\u8BEF\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u3002\u7A0B\u5E8F\u4EE3\u7801\u4E2D\u7684\u586B\u7A7A\u9879\u9700\u8981\u4F7F\u7528 @\u2581@ \u7B26\u53F7\u6807\u8BC6\u51FA\u6765"):Mn.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),xe!=null&&xe.answer?(Nn=xe.answer)!=null&&Nn.some(wa=>!Ua(wa))&&Mn.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Mn.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),xe.platform=Ua(xe==null?void 0:xe.platform),xe!=null&&xe.platform){const wa=["c","c++","java","python","javascript","ruby"],Pa=(Gn=xe==null?void 0:xe.platform)==null?void 0:Gn.toLowerCase(),Ar=wa.findIndex(fr=>fr===Pa);Ar>-1?xe.platform=za[Ar]:Mn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Mn.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Ua(xe==null?void 0:xe.output)||Mn.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const fa=Ua(String((xe==null?void 0:xe.timeLimit)||""));return xe.timeLimit=fa,(!fa||fa&&!["3","4","5","6","7","8","9","10"].includes(fa))&&Mn.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),xe.errorMsg=Mn.join(`
`),xe}}],Go=()=>b.createElement(b.Fragment,null,qt.filter(xe=>{var sn;return!!((sn=Ao.find(zn=>zn.id===(xe==null?void 0:xe.type)))==null?void 0:sn.element)}).map((xe,sn)=>{var Cn;const zn=(Cn=Ao.find(cn=>cn.id===(xe==null?void 0:xe.type)))==null?void 0:Cn.element;return b.createElement(b.Fragment,{key:xe.id},zn(xe,sn))})),ai=()=>Ge(void 0,null,function*(){const xe=Fn.filter(sn=>!sn.checked);if(Ln!==3||!xe.length){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Qa.setFieldsValue({sub_discipline_id:gt}),jt(!0)}),$a=xe=>Ge(void 0,null,function*(){const sn=hr(xe);An(sn),Xn(JSON.parse(JSON.stringify(sn))),ta(3),Ba(!1),ia(!1),It(!1)});(0,b.useEffect)(()=>{if($t)return;const xe=()=>{jn(sn=>sn>=90?(clearInterval(xa.current),90):sn+1)};return xa.current=setInterval(xe,5e4/90),()=>clearInterval(xa.current)},[$t]);const ga=(xe,sn)=>{qn(!1);const Cn=new FormData;Object.keys(sn).forEach(cn=>{Cn.append(cn,sn[cn])});const zn=new window.XMLHttpRequest;zn.withCredentials=!0,zn.addEventListener("load",function(cn){return Ge(this,null,function*(){var ra,Zn;try{const Nn=JSON.parse((ra=cn==null?void 0:cn.target)==null?void 0:ra.response);if(qn(!0),jn(100),yield new Promise(Gn=>setTimeout(()=>Gn(),780)),Nn.status===0){if(!((Zn=Nn==null?void 0:Nn.data)!=null&&Zn.length)){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),Ba(!1);return}$a((Nn==null?void 0:Nn.data)||[])}else Ba(!1),Oe.ZP.warning(Nn==null?void 0:Nn.message)}catch(Nn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Nn)}})}),zn.addEventListener("error",()=>{Ba(!1)}),zn.open("POST",`${re.Z.API_SERVER}${xe}`),zn.send(Cn)},Tn=xe=>Ge(void 0,null,function*(){const sn=xe.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(sn)==-1?(Oe.ZP.error(`${xe.name}\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\uFF0C\u5F53\u524D\u4EC5\u9650\u652F\u6301\u683C\u5F0F\u4E3Adocx\u6587\u4EF6\uFF08Microsoft Word 2007\u4EE5\u4E0A\u7684\u7248\u672C\uFF09`),Promise.reject()):(Ba(!0),pa("\u5904\u7406\u4E2D"),ga("/api/intelligent_imports/import.json",{file:xe}),Promise.reject())}),Fa=xe=>Ge(void 0,null,function*(){const sn=xe.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(sn)==-1?(Oe.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):xe.size/1024/1024>200?(Oe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(dn!=null&&dn.length?le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Jt([xe])}):Jt([xe]),Promise.reject())});let cr=[{key:1,label:b.createElement(tt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Tn},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];((0,dt.Ny)()||(0,dt.$O)())&&cr.push({key:2,label:b.createElement("div",{style:{padding:"0 5px"}},"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898"),onClick:()=>{ia(!0)}});const Nr=[Fn.length,(bn=Fn.filter(xe=>!!(xe!=null&&xe.errorMsg)))==null?void 0:bn.length];return b.createElement("div",{className:Te()(ue.intelligentBox,"intelligent-body-curb",fe),style:vn(Tt({},Xe),{width:bt}),ref:sa},b.createElement("div",{className:ue.underpin},b.createElement("b",{style:Pt}),b.createElement("b",{style:Pt})),b.createElement("div",{className:ue.head,style:{top:De}},b.createElement("div",{className:ue.leftLayout},zt||b.createElement(b.Fragment,null,b.createElement(ot.Z,{align:"middle"},b.createElement("div",{className:ue.title},"\u8BD5\u9898\u7F16\u8F91"),!un&&b.createElement(ne.op,{href:`${re.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",b.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),b.createElement(ne.op,{onClick:ar,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!un&&b.createElement(Qe.Z,{overlayClassName:ue.menu,menu:{items:cr}},b.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!Nt&&Nt),b.createElement("div",{className:ue.tip},b.createElement("i",{className:"iconfont icon-tishi7 font12 mr10"}),"\u63D0\u793A\uFF1A\u82E5\u8BC6\u522B\u6709\u8BEF\uFF0C\u53EF\u5728\u5DE6\u4FA7\u7F16\u8F91\u533A\u70B9\u51FB\u5BF9\u5E94\u7684\u8BD5\u9898\u6309\u683C\u5F0F\u4FEE\u6539\u540E\u91CD\u65B0\u8BC6\u522B"))),b.createElement(ot.Z,{className:ue.rightLayout,style:{alignItems:"start"}},ln||b.createElement(b.Fragment,null,b.createElement("div",{className:ue.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ln)&&b.createElement(Ue.default,{className:"ml20",checked:Ze,onChange:xe=>It(xe.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Ln)&&b.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",b.createElement("span",{className:"ml5 mr5 c-light-primary"},Nr[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},Nr[1]),"\u9898")),Ot&&b.createElement("div",{className:ue.tabs},qt==null?void 0:qt.map((xe,sn)=>b.createElement("div",{onClick:()=>{_n(sn)},className:nn===sn&&ue.active,key:sn},"\u65B0\u9898",sn+1)))),b.createElement("div",{className:ue.centerBox},b.createElement("img",{className:"mb10",src:Pe,width:56}),!ze&&b.createElement(ne.op,{onClick:Fr},"\u8BC6\u522B"))),[1,2].includes(Ln)&&ur(),[3].includes(Ln)&&Go(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:ue.buttonFixed},b.createElement("div",{className:ue.buttonWrap},b.createElement(Je.ZP,{size:"middle",className:`${ue.button} mr20`,onClick:Fe},"\u53D6\u6D88"),b.createElement(Je.ZP,{size:"middle",type:"primary",className:`${ue.button}`,onClick:ai},Pn))),b.createElement(le.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Hn,title:null,footer:null,width:320,afterClose:()=>jn(0)},b.createElement(ot.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Ea,b.createElement("span",{className:ue.dotLoading},b.createElement("span",null,"."),b.createElement("span",null,"."),b.createElement("span",null,"."))),b.createElement(se.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:oa}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},oa,"%")))),b.createElement(le.default,{centered:!0,open:tn,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Zt,width:480,onCancel:()=>jt(!1),onOk:()=>Qa.submit(),afterClose:()=>{Qa.resetFields()}},b.createElement(Ie.default,{style:{maxHeight:550},form:Qa,layout:"horizontal",colon:!1,size:"large",onFinish:xe=>Ge(void 0,null,function*(){var sn,Cn,zn,cn,ra;const Zn=Fn.filter(Mn=>!Mn.checked&&!Mn.errorMsg);Wt(!0);const Nn=()=>Ge(void 0,null,function*(){var Mn,fa;const wa=yield(0,je.ZP)("/api/intelligent_imports/save.json",{method:"post",body:vn(Tt(Tt({},at),xe),{list:Zn,mode:$e})});wa.status===0&&(fn&&((Mn=wa==null?void 0:wa.data)!=null&&Mn.success)&&window.location.pathname==="/problemset"&&(Qt.Z.publish("refresh-item-bank",xe.group_id),yield new Promise(Pa=>setTimeout(()=>Pa(),1500))),Oe.ZP.success(`\u6210\u529F\u5BFC\u5165${(fa=wa==null?void 0:wa.data)==null?void 0:fa.success}\u9053\u8BD5\u9898`,3),Ce(),jt(!1)),Wt(!1)});if($e!==1){yield Nn();return}const Gn=yield(0,je.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:Fn,mode:$e}});if(Gn.status===0){if(!((sn=Gn==null?void 0:Gn.data)!=null&&sn.error_size)){yield Nn();return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{Wt(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Cn=Gn==null?void 0:Gn.data)==null?void 0:Cn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(zn=Gn==null?void 0:Gn.data)==null?void 0:zn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(ra=(cn=Gn==null?void 0:Gn.data)==null?void 0:cn.index)==null?void 0:ra.join("\u3001")),"\u9053\uFF09\uFF0C\u91CD\u590D\u8BD5\u9898\u5C06\u4F1A\u4E3A\u60A8\u81EA\u52A8\u8FC7\u6EE4\uFF0C\u786E\u5B9A\u5BFC\u5165\u5417\uFF1F"),onOk:Nn})}})},b.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),b.createElement(Ie.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",labelCol:{span:5},wrapperCol:{span:19},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}]},b.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:yt})),$e===1&&b.createElement(Ie.default.Item,{label:b.createElement(ot.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>st(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:Ye}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},b.createElement(Le.Z,{key:rn})))),b.createElement(le.default,{centered:!0,open:pn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:Un,onCancel:()=>st(!1),onOk:()=>Ja.submit(),afterClose:()=>{Ja.resetFields()}},b.createElement(Ie.default,{style:{maxHeight:550},form:Ja,layout:"horizontal",colon:!1,size:"large",onFinish:xe=>Ge(void 0,null,function*(){var sn;lt(!0),(yield(0,je.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:xe.name,parent_id:(sn=xe==null?void 0:xe.parent_id)==null?void 0:sn[0]}})).status===0?(In(rn+1),setTimeout(()=>{Oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),st(!1),lt(!1)},1e3)):lt(!1)})},b.createElement(Ie.default.Item,{label:"\u6587\u4EF6\u5939\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"}]},b.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),b.createElement(Ie.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Le.Z,null)))),b.createElement(le.default,{centered:!0,open:yn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>ia(!1),onOk:()=>{if(Jn===1&&!Ua(ma)){Oe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(Jn===2&&!Ua(ma)&&!(dn!=null&&dn.length)){Oe.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const xe=[{name:"\u5355\u9009\u9898",num:Sn||0},{name:"\u591A\u9009\u9898",num:kn||0},{name:"\u5224\u65AD\u9898",num:wn||0},{name:"\u586B\u7A7A\u9898",num:La||0},{name:"\u7B80\u7B54\u9898",num:Da||0}];if(xe.reduce((zn,cn)=>zn+cn.num,0)===0){Oe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(Jn,Sn,kn),Ba(!0),pa("\u5904\u7406\u4E2D");const Cn={type:Jn,query:ma,item_types:JSON.stringify(xe)};Jn===2&&(Cn.file=(dn==null?void 0:dn[0])||null),ga("/api/intelligent_imports/large_model_intelligent_qa.json",Cn)}},b.createElement(ot.Z,{align:"middle",className:"mb10 c-black"},b.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),b.createElement(x.ZP.Group,{value:Jn,onChange:xe=>Ma(xe.target.value)},b.createElement(x.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),b.createElement(x.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),b.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:ma,placeholder:Jn===1?"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\uFF0C\u591A\u4E2A\u77E5\u8BC6\u70B9\u7528\u201C\u3001\u201D\u5206\u9694\u5F00":"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:xe=>{We(xe.target.value)}}),Jn===2&&b.createElement(b.Fragment,null,b.createElement(tt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:dn,beforeUpload:Fa,className:"mb20",onRemove:()=>Jt([])},b.createElement(E.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},b.createElement(ne.op,{style:{borderRadius:2}},b.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),b.createElement("div",{style:{height:20}})),b.createElement(ot.Z,{align:"middle",className:"c-black"},b.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),b.createElement(ot.Z,{gutter:16},b.createElement(z.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(ut.Z,{min:0,max:10,value:Sn,onChange:On,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(ut.Z,{min:0,max:10,value:kn,onChange:Dn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(ut.Z,{min:0,max:10,value:wn,onChange:Aa,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(ut.Z,{min:0,max:10,value:La,onChange:mn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(ut.Z,{min:0,max:10,value:Da,onChange:na,style:{marginLeft:"8px"}}))))))},_e=ie;var ve=rt},34571:function(Ut,Gt,te){"use strict";var b=te(59301),ue=te(93938),Be=te(48136),Te=te(75890),Ie=te(43418),Oe=te(59301);const le=(0,b.forwardRef)(({callback:ut,width:ot,onChange:Ue,disabled:Qe,readOnly:tt,type:Je="",value:se="",style:y={}},a)=>{const x=(0,b.useRef)(),E=(0,b.useRef)(),[z,ne]=(0,b.useState)(0),[re,ie]=(0,b.useState)(0),[de,pe]=(0,b.useState)(!1),Pe=()=>{var Se=document.createElement("div");Se.innerHTML=x.current.getValue();var Me=Se.innerText;return ut&&ut(Me),Me};(0,b.useImperativeHandle)(a,()=>({getData:Pe}));const je=Se=>{Se.preventDefault();const Me=Se.clientX-z,qe=Se.clientY-re;document.body.onmousemove=ht=>{let Ae=ht.clientX-Me,mt=ht.clientY-qe;const At=document.getElementsByClassName("markdown-popup-form")[0],Et=window.innerWidth-At.offsetWidth,dt=window.innerHeight-At.offsetHeight;Ae=Math.max(0,Math.min(Ae,Et)),mt=Math.max(0,Math.min(mt,dt)),Le(ht.clientX,ht.clientY,Me,qe)&&(ne(Ae),ie(mt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Le=(Se,Me,qe,ht)=>{const Ae=document.body.clientHeight,mt=document.body.clientWidth;return Se<20&&qe>Se||Se>mt-20&&qe<Se||Me<20&&ht>Me||Me>Ae-20&&ht<Me?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,b.useEffect)(()=>{de&&setTimeout(()=>{const Se=document.getElementsByClassName("markdown-popup-form")[0],Me=window.innerWidth/2-Se.offsetWidth/2,qe=window.innerHeight/2-Se.offsetHeight/2;ne(Me),ie(qe)},0)},[de]);const Ye=()=>{Qe||tt||pe(!0)};return Oe.createElement("div",{style:y},Oe.createElement("div",{style:{width:ot||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${Qe||tt?"cursorDefault":""}`,onClick:()=>Ye()},Oe.createElement("math-field",{disabled:Qe,locale:"zh_cn",class:`${ue.Z.mathField} ${Je}`,readOnly:tt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:se?18:14},value:se||""})),Oe.createElement(Ie.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Oe.createElement("div",{style:{cursor:"move"},onMouseDown:je},"\u8F93\u5165\u516C\u5F0F"),open:de,onOk:()=>{const Se=E.current.getData();x.current.setValue(Se),Ue(Se),pe(!1)},onCancel:()=>{pe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Oe.createElement(Te.Z,{value:se,ref:E,onChange:Ue,showSaveButton:!1})))});Gt.Z=le},75890:function(Ut,Gt,te){"use strict";var b=te(59301),ue=te(95237),Be=te(43604),Te=te(99313),Ie=te(3113),Oe=te(25711),le=te(93938),ut=te(48136),ot=te(59301);const Ue=(0,b.forwardRef)(({callback:Qe,showSaveButton:tt,value:Je=""},se)=>{const y=(0,b.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],E=re=>{y.current.setValue(y.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:ot.createElement(ue.Z,{className:le.Z.lists,gutter:[10,10]},a.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:le.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:`$$${re.value}$$`}),re.name),ot.createElement("div",{className:le.Z.children},re.children.map((de,pe)=>ot.createElement("div",{key:pe},ot.createElement("h1",null,de.name),ot.createElement(ue.Z,{gutter:[10,10]},de.data.map((Pe,je)=>ot.createElement(Be.Z,{key:je,onClick:()=>E(Pe),className:le.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+Pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ot.createElement(ue.Z,{className:le.Z.lists,gutter:[10,10]},x.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:le.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),ot.createElement("div",{className:le.Z.children},re.children.map((de,pe)=>ot.createElement("div",{key:pe},de.name&&ot.createElement("h1",null,de.name),ot.createElement(ue.Z,{gutter:[10,10]},de.data.map((Pe,je)=>ot.createElement(Be.Z,{key:je,onClick:()=>E(Pe),className:le.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+Pe.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var ie=re.innerText;return Qe&&Qe(ie),ie};return(0,b.useImperativeHandle)(se,()=>({getData:ne})),ot.createElement("div",{className:le.Z.mathWrap},ot.createElement(Te.default,{defaultActiveKey:"1",items:z}),ot.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Je||""),tt&&ot.createElement("div",{className:le.Z.button},ot.createElement(Ie.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Gt.Z=Ue},52862:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return tt}});var b=te(59301),ue=te(78241),Be=te(43418),Te=te(92832),Ie=te(80205),Oe=te(70635),le={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},ut=te(14670),ot=te(59301),Ue=(Je,se,y)=>new Promise((a,x)=>{var E=re=>{try{ne(y.next(re))}catch(ie){x(ie)}},z=re=>{try{ne(y.throw(re))}catch(ie){x(ie)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(E,z);ne((y=y.apply(Je,se)).next())}),tt=({type:Je="subject",open:se,onCancel:y,onOkClick:a,subDisciplineId:x})=>{const[E]=ue.default.useForm(),[z,ne]=(0,b.useState)([]),[re,ie]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const de=()=>Ue(void 0,null,function*(){if(Je){const pe=yield(0,Oe.ZP)("/api/disciplines.json",{method:"get",params:{source:Je}});ne(pe.disciplines||[])}});return ot.createElement(Be.default,{title:ot.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:se,width:558,centered:!0,className:le.publicQuest,onCancel:()=>{y(),E.resetFields()},onOk:()=>{E.validateFields().then(pe=>Ue(void 0,null,function*(){const Pe=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe==null?void 0:pe.name,sub_discipline_id:x}});(Pe==null?void 0:Pe.status)===0&&a({name:pe==null?void 0:pe.name,id:Pe==null?void 0:Pe.tag_discipline_id,public:!1,type:"personal"}),E.resetFields(),y()}))}},ot.createElement("div",{className:le.publicQuestContent},ot.createElement("div",{className:le.public_tips},ot.createElement(Ie.Z,{style:{color:"#FF8C29",marginRight:10,paddingTop:5}}),"\u65B0\u5EFA\u7684\u77E5\u8BC6\u70B9\u4EC5\u672C\u4EBA\u53EF\u89C1\uFF0C\u5E73\u53F0\u5BA1\u6838\u5217\u5165\u516C\u5F00\u77E5\u8BC6\u70B9\u540E\uFF0C\u5BF9\u6240\u6709\u7528\u6237\u53EF\u89C1\u3002 \u5E73\u53F0\u6709\u6743\u5220\u9664\u4E0D\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF0C\u8BF7\u8BA4\u771F\u586B\u5199\u77E5\u8BC6\u70B9\u540D\u79F0\u3002"),ot.createElement(ue.default,{labelAlign:"left",form:E,colon:!1},ot.createElement(ue.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},ot.createElement(Te.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),ot.createElement(ut.Z,{open:re,onCancel:()=>{ie(!1)}})))}},32670:function(Ut,Gt,te){"use strict";te.d(Gt,{Q:function(){return ot},Z:function(){return Qe}});var b=te(59301),ue={flex_box_center:"flex_box_center___VcCAZ",flex_space_between:"flex_space_between___I3jjO",flex_box_vertical_center:"flex_box_vertical_center___Rm_54",flex_box_center_end:"flex_box_center_end___nTsdc",flex_box_column:"flex_box_column___UVpzN",tags:"tags___kRRoe",text:"text___IyyEa",tagWrap:"tagWrap___v63mB",tag:"tag___X7wE6",c:"c___mZMPq",cpp:"cpp___eaTie",java:"java___gL98T",python:"python___eNRkk",edit:"edit___tbVu0"},Be=te(92310),Te=te.n(Be),Ie=te(43418),Oe=te(8591),le=te(24905),ut=(tt,Je,se)=>new Promise((y,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},E=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(x,E);z((se=se.apply(tt,Je)).next())});const ot=({title:tt="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Je=[],visible:se,setVisible:y,tip:a,onOk:x})=>{const[E,z]=(0,b.useState)([]),[ne,re]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{se&&z(Je)},[se]),b.createElement(Ie.default,{centered:!0,open:se,title:tt,confirmLoading:ne,width:564,onOk:()=>ut(void 0,null,function*(){if(!E.length){Oe.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield x(E),re(!1)}),onCancel:()=>y(!1)},!!a&&b.createElement("div",{className:"c-grey-666 font16 mb10"},a),b.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},b.createElement(le.default.Group,{value:E,options:[{label:"C\u8BED\u8A00",value:"C"},{label:"C++\u8BED\u8A00",value:"C++",style:{marginLeft:30}},{label:"Java\u8BED\u8A00",value:"Java",style:{marginLeft:30}},{label:"Python\u8BED\u8A00",value:"Python",style:{marginLeft:30}}],onChange:ie=>{z(ie)}})))};var Qe=({title:tt="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Je,style:se={},onEdit:y,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:ue.c},"C"),"C++":b.createElement("div",{className:ue.cpp},"C++"),Java:b.createElement("div",{className:ue.java},"Java"),Python:b.createElement("div",{className:ue.python},"Python")};return b.createElement("div",{className:Te()(ue.tags,Je),style:se},!!tt&&b.createElement("div",{className:ue.text},tt),b.createElement("div",{className:ue.tagWrap},a==null?void 0:a.map(E=>b.createElement(b.Fragment,{key:E},x[E]))),!!y&&b.createElement("div",{onClick:y,className:`iconfont icon-bianji_Hover ${ue.edit}`}))}},35890:function(Ut,Gt,te){"use strict";te.d(Gt,{t:function(){return rt}});var b=te(59301),ue=te(92832),Be=te(78241),Te=te(43418),Ie=te(95237),Oe=te(43604),le=te(88897),ut=te(57809),ot=te(5112),Ue=te(64542),Qe=te(42203),tt=te(11037),Je=te(8591),se=te(3113),y=te(71418),a=te(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},E=te(70635),z=te(22267),ne=te(23469),re=te(56102),ie=te(38600),de=te(59301),pe=Object.defineProperty,Pe=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable,Me=(_e,ve,fe)=>ve in _e?pe(_e,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):_e[ve]=fe,qe=(_e,ve)=>{for(var fe in ve||(ve={}))Ye.call(ve,fe)&&Me(_e,fe,ve[fe]);if(Le)for(var fe of Le(ve))Se.call(ve,fe)&&Me(_e,fe,ve[fe]);return _e},ht=(_e,ve)=>Pe(_e,je(ve)),Ae=(_e,ve,fe)=>new Promise((Xe,bt)=>{var Fe=$e=>{try{at(fe.next($e))}catch(De){bt(De)}},Ce=$e=>{try{at(fe.throw($e))}catch(De){bt(De)}},at=$e=>$e.done?Xe($e.value):Promise.resolve($e.value).then(Fe,Ce);at((fe=fe.apply(_e,ve)).next())}),At=({buttonProps:_e,buttonText:ve,form:fe,hackIdentifier:Xe="",answerKey:bt,data:Fe})=>{const[Ce,at]=(0,b.useState)(!1),[$e,De]=(0,b.useState)(!1),[gt,un]=(0,b.useState)(!1),[en,zt]=(0,b.useState)({}),[ln,on]=(0,b.useState)(""),[ze,wt]=(0,b.useState)(""),Ot=(0,b.useRef)(Xe),Pt=(0,b.useRef)(""),Nt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{gt&&Ln()},[gt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const fn=()=>new Date().getTime(),Pn=Fe==null?void 0:Fe.code,bn=()=>{var jn,Ea;let pa=Pn?Fe==null?void 0:Fe.code:(jn=fe.getFieldValue("hack_codes"))==null?void 0:jn.code,Hn=Pn?Fe==null?void 0:Fe.answer_content:fe.getFieldValue(bt),Ba=Pn?Fe==null?void 0:Fe.input:(Ea=fe.getFieldValue("hack_sets"))==null?void 0:Ea.input;Hn==null||Hn.forEach(qt=>{const An=qt.value||qt.answer_text||"";pa=pa.replace(/(@▁@|@▁▁@)/,An)}),wt(Ba),on(pa),zt({}),un(!0)},Ln=()=>Ae(void 0,null,function*(){var jn,Ea,pa,Hn;const Ba=fn(),qt=Pn?Fe==null?void 0:Fe.time_limit:(jn=fe.getFieldsValue())==null?void 0:jn.hack.time_limit,An=Pn?(Ea=Fe==null?void 0:Fe.answer_content)==null?void 0:Ea.length:(Hn=(pa=fe.getFieldsValue())==null?void 0:pa.standard_answers)==null?void 0:Hn.length;at(!0),yield(0,z.bM)(Pt.current,{test_hack_code:ln,test_input:ze});function Fn(){return Ae(this,null,function*(){const{status:Xn,data:Ze}=yield(0,z.rX)(Pt.current,"submit"),Zt=fn()-Ba>(qt+3)*1e3*An;if(Nt.current){if(Zt){Je.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),at(!1);return}if(Xn===0){at(!1),zt(ht(qe({},Ze),{showText:!0}));return}setTimeout(Fn,1e3)}})}Fn()}),ta=()=>Ae(void 0,null,function*(){var jn,Ea,pa,Hn,Ba,qt,An;if(!Fe){try{yield fe.validateFields()}catch(It){(pa=(Ea=(jn=It==null?void 0:It.errorFields)==null?void 0:jn[0])==null?void 0:Ea.name)!=null&&pa.includes("standard_answers")?Je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Je.ZP.error(It.errorFields[0].errors[0]),fe.scrollToField(It.errorFields[0].name,{behavior:"smooth",block:"center"});return}De(!0);let Xn="";const Ze=fe.getFieldsValue();Ot.current?Xn=yield(0,E.ZP)(`/api/problems/${Ot.current}.json`,{method:"put",body:ht(qe({},Ze),{hack:ht(qe({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(An=(qt=Ze==null?void 0:Ze.hack)==null?void 0:qt.sub_discipline_id)==null?void 0:An[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:ht(qe({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),update_hack_sets:[qe({},Ze.hack_sets)],is_blank:!0})}):(Xn=yield(0,E.ZP)("/api/problems.json",{method:"post",body:ht(qe({},Ze),{hack:ht(qe({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(Ba=(Hn=Ze==null?void 0:Ze.hack)==null?void 0:Hn.sub_discipline_id)==null?void 0:Ba[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:ht(qe({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),hack_sets:[qe({},Ze.hack_sets)],is_blank:!0})}),Ot.current=Xn==null?void 0:Xn.identifier,sessionStorage.projectFill=Xn==null?void 0:Xn.identifier)}const Fn=yield(0,E.ZP)(`/api/problems/${Ot.current}/start.json`,{method:"get"});if((Fn==null?void 0:Fn.status)===0){Pt.current=Fn==null?void 0:Fn.identifier,Nt.current=!0,De(!1),bn();return}De(!1)}),oa=jn=>{const{status:Ea,error_msg:pa,execute_time:Hn,output:Ba,input:qt,expected_output:An}=jn;let Fn=null;switch(Ea){case ie.h.OK:Fn=de.createElement(de.Fragment,null,de.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Hn/1e3,"\u79D2"),de.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:Fn=de.createElement(de.Fragment,null,de.createElement("div",null,"\u8F93\u5165\uFF1A"),de.createElement("pre",{style:{fontFamily:"initial"}},qt),de.createElement("div",null,"\u8F93\u51FA\uFF1A"),de.createElement("pre",{style:{fontFamily:"initial"}},Ba&&a.Base64.decode(Ba)),de.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),de.createElement("pre",{style:{fontFamily:"initial"}},An&&a.Base64.decode(An)));break;case ie.h.EXECUTEFAILURE:Fn=de.createElement(de.Fragment,null,de.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",de.createElement("pre",null,qt)),de.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),de.createElement("pre",{className:"error"},a.Base64.decode(pa)));break;case ie.h.COMPILEFAILURE:Fn=de.createElement(de.Fragment,null,de.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",de.createElement("pre",null,qt)),de.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),de.createElement("pre",{className:"error"},a.Base64.decode(pa)));break;case ie.h.PODFAILURE:Fn=de.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:Fn=de.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return de.createElement(de.Fragment,null," ",Fn," ")};return de.createElement("div",null,de.createElement(se.ZP,ht(qe({loading:$e},_e),{onClick:ta}),ve),de.createElement(Te.default,{open:gt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ce,cancelButtonProps:{style:{display:"none"}},onOk:()=>Ln(),onCancel:()=>{Nt.current=!1,un(!1)}},de.createElement("div",{className:x.result},de.createElement("div",{className:x.left},de.createElement("div",{className:"mb20"},de.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Fe&&de.createElement(re.CopyToClipboard,{text:ln,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},de.createElement("span",{style:{float:"right"},className:"current c-light-primary"},de.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),de.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:ln,onChange:jn=>on(jn)})),de.createElement("div",{className:x.right},de.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),de.createElement("div",{className:x.box},de.createElement("div",{className:x.li},de.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ze,onChange:jn=>wt(jn.target.value),bordered:!1,style:{height:180}}))),de.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),de.createElement("div",{className:x.box},de.createElement(y.Z,{spinning:Ce,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},de.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},oa(en))))))))},Et=te(80205),dt=te(59301),Qt=Object.defineProperty,St=Object.defineProperties,an=Object.getOwnPropertyDescriptors,En=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Yt=(_e,ve,fe)=>ve in _e?Qt(_e,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):_e[ve]=fe,hn=(_e,ve)=>{for(var fe in ve||(ve={}))nt.call(ve,fe)&&Yt(_e,fe,ve[fe]);if(En)for(var fe of En(ve))et.call(ve,fe)&&Yt(_e,fe,ve[fe]);return _e},Tt=(_e,ve)=>St(_e,an(ve)),vn=(_e,ve)=>{var fe={};for(var Xe in _e)nt.call(_e,Xe)&&ve.indexOf(Xe)<0&&(fe[Xe]=_e[Xe]);if(_e!=null&&En)for(var Xe of En(_e))ve.indexOf(Xe)<0&&et.call(_e,Xe)&&(fe[Xe]=_e[Xe]);return fe};const{TextArea:Ge}=ue.default,Dt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Kt=({value:_e,onChange:ve})=>dt.createElement(Switch,{checked:_e,onChange:fe=>{ve(fe)}}),Mt="@\u2581@",pt="@\u2581\u2581@",rt=({questionTitlePlaceholder:_e,form:ve,scoreByBlank:fe=!1,hackidentifier:Xe,answerKey:bt})=>{const[Fe,Ce]=(0,b.useState)(!1),[at,$e]=(0,b.useState)(!1),gt=(0,Qe.useParams)().type==="edit",un=(Pt,Nt)=>{const fn=Nt.line;let Pn=0;for(let Ln=0;Ln<fn;Ln++)Pn+=Pt.getLine(Ln).split(Mt).length-1;for(let Ln=0;Ln<fn;Ln++)Pn+=Pt.getLine(Ln).split(pt).length-1;const bn=Pt.getLine(fn).substring(0,Nt.ch);return Pn+=bn.split(Mt).length-1,Pn+=bn.split(pt).length-1,Pn},en=(Pt,Nt,fn,Pn)=>{const bn=Pt.getRange(Nt.from,Nt.to);let Ln=0;if(Nt.text.forEach(ta=>{Ln+=ta.split(Mt).length-1}),Nt.text.forEach(ta=>{Ln+=ta.split(pt).length-1}),Nt.origin!=="setValue"){if(bn&&(bn.indexOf(Mt)!==-1||bn.indexOf(pt)!==-1)){const ta=bn.split(Mt).length-1+bn.split(pt).length-1,oa=un(Pt,Nt.from);if(console.log(`\u5220\u9664${ta}\u4E2A\uFF0C \u524D\u9762\u6709${oa}\u4E2A\uFF0C\u65B0\u589E${Ln}\u4E2A`),ta>1){const jn=Array.from({length:ta},(Ea,pa)=>oa+pa);Pn(jn)}else Pn(oa)}else if(Ln>0){const ta=un(Pt,Nt.from);console.log(`\u65B0\u589E${Ln}\u4E2A\uFF0C\u4E4B\u524D\u6709${ta}\u4E2A`),fn(Ln,ta)}}},zt=()=>{const Pt=ve.getFieldValue(bt);ve.setFieldsValue({[bt]:Pt==null?void 0:Pt.map((Nt,fn)=>Tt(hn({},Nt),{position:fn+1}))})},ln=(0,b.useRef)(),on=(Pt,Nt)=>{for(let fn=0;fn<Pt;fn++)ln.current({position:null,answer_text:""},Nt+fn);zt()},ze=(0,b.useRef)(),wt=Pt=>{ze.current(Pt),zt()},Ot=Be.default.useWatch(bt,ve);return dt.createElement("div",{className:tt.Z.wrap},dt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},dt.createElement(Ue.h,{scrollId:"name",watch:!0,height:140})),dt.createElement("div",{className:tt.Z.questionTitleEditorWrap},dt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},dt.createElement(Ue.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(Pt,Nt)=>{const fn=ve.getFieldValue(bt);console.log("--preAnswerData",fn,Nt),ve.setFieldsValue({[bt]:fn==null?void 0:fn.map((Pn,bn)=>{var Ln;return Tt(hn({},Pn),{position:bn+1,multi_line:(Ln=Nt==null?void 0:Nt[bn])==null?void 0:Ln.multiLine})})})},placeholder:_e,onCMBeforeChange:(Pt,Nt)=>{en(Pt,Nt,on,wt)}}))),dt.createElement(Be.default.List,{name:bt,rules:[{validator(Pt,Nt){if(!(Nt!=null&&Nt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const fn of Nt){const{answer_text:Pn}=fn||{};if((Pn==null?void 0:Pn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pt,{add:Nt,remove:fn},{errors:Pn})=>(ln.current=Nt,ze.current=fn,dt.createElement(dt.Fragment,null,dt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},dt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),dt.createElement("div",{onClick:()=>{Te.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:dt.createElement("div",null,dt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",dt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),dt.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},dt.createElement(Et.Z,{style:{marginRight:3,color:"#3061D0"}}),dt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),Pt.map((bn,Ln)=>{var ta=bn,{key:oa,name:jn}=ta,Ea=vn(ta,["key","name"]),pa,Hn;return dt.createElement(Ie.Z,{className:"mb20",key:oa,align:"middle",wrap:!1},dt.createElement(Oe.Z,{flex:"0 0 auto",className:`${tt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ln+1),dt.createElement(Oe.Z,{flex:1},dt.createElement(Ie.Z,{align:"top",justify:"space-between",wrap:!1},dt.createElement(Oe.Z,null,dt.createElement(Be.default.Item,Tt(hn({},Ea),{name:[jn,"answer_text"],noStyle:!0}),(pa=Ot==null?void 0:Ot[jn])!=null&&pa.multi_line||(Hn=Ot==null?void 0:Ot[jn])!=null&&Hn.multiLine?dt.createElement(Ge,{spellCheck:!1,style:{marginLeft:10,width:550}}):dt.createElement(ue.default,{style:{marginLeft:10,width:550},className:tt.Z.blankInput,size:"large",maxLength:1e3,onBlur:Ba=>{}}))),fe&&dt.createElement(Oe.Z,{flex:"224px"},dt.createElement(Be.default.Item,Tt(hn({},Ea),{name:[jn,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),dt.createElement(le.Z,{size:"large",className:tt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),dt.createElement("div",{onClick:()=>Ce(!0)},dt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},dt.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))),dt.createElement(Be.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},dt.createElement(ut.default,{size:"large"},Dt.map(Pt=>dt.createElement(ut.default.Option,{key:Pt.title,value:Pt.key}," ",Pt.title)))),dt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},dt.createElement(Be.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},dt.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),dt.createElement("span",{className:"ml10 font14"},"\u79D2")),dt.createElement(Be.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},dt.createElement(ot.ZP.Group,{style:{marginTop:-10}},dt.createElement(ot.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),dt.createElement(ot.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),dt.createElement(ot.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),dt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),dt.createElement("div",{style:{background:"#F6F7F9",padding:15}},dt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},dt.createElement(Ge,{rows:4})),dt.createElement(Be.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},dt.createElement(Ge,{rows:4}))),dt.createElement(At,{form:ve,answerKey:bt,hackIdentifier:Xe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:dt.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},74830:function(Ut,Gt,te){"use strict";te.d(Gt,{u:function(){return de}});var b=te(59301),ue=te(95237),Be=te(43604),Te=te(6848),Ie=te(78241),Oe=te(11037),le=te(37520),ut=te(89378),ot=te(64542),Ue=te(59301),Qe=Object.defineProperty,tt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(pe,Pe,je)=>Pe in pe?Qe(pe,Pe,{enumerable:!0,configurable:!0,writable:!0,value:je}):pe[Pe]=je,E=(pe,Pe)=>{for(var je in Pe||(Pe={}))y.call(Pe,je)&&x(pe,je,Pe[je]);if(se)for(var je of se(Pe))a.call(Pe,je)&&x(pe,je,Pe[je]);return pe},z=(pe,Pe)=>tt(pe,Je(Pe)),ne=(pe,Pe)=>{var je={};for(var Le in pe)y.call(pe,Le)&&Pe.indexOf(Le)<0&&(je[Le]=pe[Le]);if(pe!=null&&se)for(var Le of se(pe))Pe.indexOf(Le)<0&&a.call(pe,Le)&&(je[Le]=pe[Le]);return je};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ie=({value:pe,onChange:Pe,choiceTextKey:je,answerKey:Le,index:Ye,isEdit:Se,setInputActive:Me,form:qe,choiceOptionsPath:ht,allowChangeMode:Ae,showAddIcon:mt,addItem:At,deleteItem:Et})=>{console.log(pe,"value");const dt=(pe==null?void 0:pe[Le])===1,Qt=()=>{const an=qe.getFieldValue(ht);qe.setFieldValue(ht,an.map(En=>z(E({},En),{[Le]:0})))},St=()=>{dt?Pe(z(E({},pe),{[Le]:0})):(Ae||Qt(),Pe(z(E({},pe),{[Le]:1})))};return Ue.createElement(ue.Z,{className:Oe.Z.choiceWrap,align:"middle",wrap:!1},Ue.createElement(Be.Z,{onClick:St,className:`${Oe.Z.choiceIndex} ${dt?Oe.Z.activeAnswer:""}`},re[Ye]),Ue.createElement(Be.Z,{flex:1,className:`${Oe.Z.editorWrap} ml15`,onClick:Me},Ue.createElement(ot.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Se,value:pe==null?void 0:pe[je],onChange:an=>{Pe(z(E({},pe),{[je]:an}))}})),Ue.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ue.createElement("div",{onClick:St,className:`${Oe.Z.setAnswerBtn} ${dt?Oe.Z.activeAnswer:""}`},dt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ue.createElement(Be.Z,{className:Oe.Z.actionWrapper},Ue.createElement(Te.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ue.createElement(le.Z,{className:Oe.Z.addIcon,onClick:At,style:{visibility:mt?"visible":"hidden"}})),Ue.createElement(Te.Z,{title:"\u5220\u9664"},Ue.createElement(ut.Z,{className:Oe.Z.deleteIcon,onClick:Et,style:{visibility:Ye>1?"visible":"hidden"}}))))},de=({questionTitlePlaceholder:pe,titleKey:Pe,choiceKey:je,analysisKey:Le,choiceTextKey:Ye,answerKey:Se,choiceOptionsPath:Me,allowChangeMode:qe=!0,form:ht,showAnalysis:Ae=!0})=>{const[mt,At]=(0,b.useState)(),[Et,dt]=(0,b.useState)(!1);return Ue.createElement("div",{className:Oe.Z.wrap},Ue.createElement("div",{className:Oe.Z.questionTitleEditorWrap},Ue.createElement(Ie.default.Item,{label:"\u9898\u5E72",name:Pe,labelCol:{span:24},rules:[{required:!0}]},Ue.createElement(ot.h,{scrollId:Array.isArray(Pe)?Pe.join("_"):`${Pe}`,watch:!0,height:140,placeholder:pe}))),Ue.createElement(Ie.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ue.createElement(Ie.default.List,{name:je,rules:[{validator(Qt,St){const an=St.some(nt=>nt[Se]===1),En=St.findIndex(nt=>{var et;return((et=nt[Ye])==null?void 0:et.length)<=0});return En!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[En]}\u9009\u9879\u7684\u5185\u5BB9`)):an?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Qt,{add:St,remove:an})=>Ue.createElement("div",{id:Array.isArray(Me)?Me.join("_"):`${Me}`},Qt.map((En,nt)=>{var et=En,{key:Yt,name:hn}=et,Tt=ne(et,["key","name"]);const vn=mt===Yt,Ge=()=>{At(Yt)},Dt=nt<7&&nt===Qt.length-1,Kt=()=>St({[Ye]:"",[Se]:0}),Mt=()=>an(hn);return Ue.createElement(Ie.default.Item,z(E({},Tt),{key:Yt,name:hn,className:Oe.Z.choiceListWrap,rules:[{validator(pt,rt){return rt!=null&&rt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[nt]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ue.createElement(ie,{choiceTextKey:Ye,answerKey:Se,index:nt,isEdit:vn,setInputActive:Ge,form:ht,choiceOptionsPath:Me,allowChangeMode:qe,showAddIcon:Dt,addItem:Kt,deleteItem:Mt}))}),Qt.length<8&&Ue.createElement("div",{className:`${Oe.Z.addBtn} mb30`,onClick:()=>St({[Ye]:"",[Se]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ae&&Ue.createElement("div",{onClick:()=>dt(!0)},Ue.createElement(Ie.default.Item,{name:Le,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ue.createElement(ot.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Et}))))}},26778:function(Ut,Gt,te){"use strict";te.d(Gt,{u:function(){return qe}});var b=te(59301),ue=te(43418),Be=te(95237),Te=te(43604),Ie=te(92832),Oe=te(6848),le=te(78673),ut=te(78241),ot=te(5112),Ue=te(88897),Qe=te(64542),tt=te(89378),Je=te(86902),se=te(11037),y=te(34571),a=te(59301),x=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,de=(ht,Ae,mt)=>Ae in ht?x(ht,Ae,{enumerable:!0,configurable:!0,writable:!0,value:mt}):ht[Ae]=mt,pe=(ht,Ae)=>{for(var mt in Ae||(Ae={}))re.call(Ae,mt)&&de(ht,mt,Ae[mt]);if(ne)for(var mt of ne(Ae))ie.call(Ae,mt)&&de(ht,mt,Ae[mt]);return ht},Pe=(ht,Ae)=>E(ht,z(Ae)),je=(ht,Ae)=>{var mt={};for(var At in ht)re.call(ht,At)&&Ae.indexOf(At)<0&&(mt[At]=ht[At]);if(ht!=null&&ne)for(var At of ne(ht))Ae.indexOf(At)<0&&ie.call(ht,At)&&(mt[At]=ht[At]);return mt};const Le=({value:ht,onChange:Ae})=>{const mt=Et=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:se.Z.modal,onOk:()=>{const dt=[...ht];dt.splice(Et,1),Ae(dt)}})},At=()=>{const Et=[...ht];Et.push(""),Ae(Et)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Te.Z,{flex:1},ht==null?void 0:ht.map((Et,dt)=>a.createElement(Be.Z,{key:`${Et}_${dt}`,className:"mb20"},a.createElement(Ie.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Et,autoSize:{maxRows:3},maxLength:1e3,onBlur:Qt=>{const St=[...ht],an=Qt.target.value.trim();St[dt]=an,Ae(St)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:dt>0?"visible":"hidden"},onClick:()=>mt(dt)}))))),a.createElement(Te.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{At()}},"\u65B0\u589E\u7B54\u6848")))},Ye=({value:ht,onChange:Ae})=>{const mt=Et=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:se.Z.modal,onOk:()=>{const dt=[...ht];dt.splice(Et,1),Ae(dt)}})},At=()=>{const Et=[...ht];Et.push(""),Ae(Et)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Te.Z,{flex:1},ht==null?void 0:ht.map((Et,dt)=>a.createElement(Be.Z,{key:`${Et}_${dt}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:Et,style:{flex:1},onChange:Qt=>{const St=[...ht];St[dt]=Qt,Ae(St)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:dt>0?"visible":"hidden"},onClick:()=>mt(dt)}))))),a.createElement(Te.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{At()}},"\u65B0\u589E\u7B54\u6848")))},Se=({value:ht=!0,onChange:Ae})=>a.createElement(le.Z,{checked:!ht,onChange:mt=>{Ae(!mt)}}),Me="\u2581",qe=({questionTitlePlaceholder:ht,form:Ae,scoreByBlank:mt=!1,answerKey:At})=>{const[Et,dt]=(0,b.useState)(!1),Qt=(Tt,vn)=>{const Ge=vn.line;let Dt=0;for(let Mt=0;Mt<Ge;Mt++)Dt+=Tt.getLine(Mt).split(Me).length-1;const Kt=Tt.getLine(Ge).substring(0,vn.ch);return Dt+=Kt.split(Me).length-1,Dt},St=(Tt,vn,Ge,Dt)=>{const Kt=Tt.getRange(vn.from,vn.to);let Mt=0;if(vn.text.forEach(pt=>{Mt+=pt.split(Me).length-1}),vn.origin!=="setValue"){if(Kt&&Kt.indexOf(Me)!==-1){const pt=Kt.split(Me).length-1,rt=Qt(Tt,vn.from);if(console.log(`\u5220\u9664${pt}\u4E2A\uFF0C \u524D\u9762\u6709${rt}\u4E2A\uFF0C\u65B0\u589E${Mt}\u4E2A`),pt>1){const _e=Array.from({length:pt},(ve,fe)=>rt+fe);Dt(_e)}else Dt(rt)}else if(Mt>0){const pt=Qt(Tt,vn.from);console.log(`\u65B0\u589E${Mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${pt}\u4E2A`),Ge(Mt,pt)}}},an=()=>{const Tt=Ae.getFieldValue(At);Ae.setFieldsValue({[At]:Tt.map((vn,Ge)=>Pe(pe({},vn),{position:Ge+1}))})},En=(0,b.useRef)(),nt=(Tt,vn)=>{for(let Ge=0;Ge<Tt;Ge++)En.current({position:null,answer_text:[""],model:1},vn+Ge);an()},et=(0,b.useRef)(),Yt=Tt=>{et.current(Tt),an()},hn=ut.default.useWatch(At,Ae);return a.createElement("div",{className:se.Z.wrap},a.createElement("div",{className:se.Z.questionTitleEditorWrap},a.createElement(ut.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Qe.h,{scrollId:"name",watch:!0,height:140,placeholder:ht,showNullButton:!0,onCMBeforeChange:(Tt,vn)=>{St(Tt,vn,nt,Yt)}}))),a.createElement(ut.default.List,{name:At,rules:[{validator(Tt,vn){if(!(vn!=null&&vn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Ge of vn){const{answer_text:Dt}=Ge||{};if(Dt!=null&&Dt.some(Kt=>(Kt==null?void 0:Kt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Tt,{add:vn,remove:Ge},{errors:Dt})=>(En.current=vn,et.current=Ge,a.createElement(a.Fragment,null,a.createElement(ut.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Tt!=null&&Tt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Tt.map((Kt,Mt)=>{var pt=Kt,{key:rt,name:_e}=pt,ve=je(pt,["key","name"]),fe,Xe;return a.createElement("div",{style:{marginBottom:10},key:rt},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Te.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${se.Z.blankIndex}`},"\u586B\u7A7A\u9879",Mt+1),a.createElement(ut.default.Item,Pe(pe({},ve),{name:[_e,"model"],noStyle:!0}),a.createElement(ot.ZP.Group,{onChange:()=>{const bt=Ae.getFieldValue(At);Ae.setFieldsValue({[At]:bt.map((Fe,Ce)=>Pe(pe({},Fe),{answer_text:_e===Ce?[""]:Fe.answer_text}))})}},a.createElement(ot.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Oe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Je.Z,null))),a.createElement(ot.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Oe.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Je.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Te.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Te.Z,{flex:1},a.createElement(ut.default.Item,Pe(pe({},ve),{name:[_e,"answer_text"],noStyle:!0}),((Xe=(fe=Ae.getFieldValue(At))==null?void 0:fe[_e])==null?void 0:Xe.model)===1?a.createElement(Le,null):a.createElement(Ye,null))),mt&&a.createElement(Te.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(ut.default.Item,Pe(pe({},ve),{name:[_e,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:se.Z.blankInputNumberWrapper}),a.createElement(Ue.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(ut.default.Item,Pe(pe({},ve),{name:[_e,"position"],noStyle:!0}),a.createElement(Ie.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(ut.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Te.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Be.Z,{align:"middle"},a.createElement(ut.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Te.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(hn==null?void 0:hn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(hn==null?void 0:hn.length)>1?"mb30":`${se.Z.hide}`},a.createElement(ut.default.Item,{name:"is_ordered"},a.createElement(Se,null)),a.createElement(Te.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>dt(!0)},a.createElement(ut.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Qe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Et}))))}},41673:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ne}});var b=te(59301),ue=te(95237),Be=te(43604),Te=te(78241),Ie=te(11037),Oe=te(64542),le=te(59301),ut=Object.defineProperty,ot=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,se=(re,ie,de)=>ie in re?ut(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:de}):re[ie]=de,y=(re,ie)=>{for(var de in ie||(ie={}))tt.call(ie,de)&&se(re,de,ie[de]);if(Qe)for(var de of Qe(ie))Je.call(ie,de)&&se(re,de,ie[de]);return re},a=(re,ie)=>ot(re,Ue(ie)),x=(re,ie)=>{var de={};for(var pe in re)tt.call(re,pe)&&ie.indexOf(pe)<0&&(de[pe]=re[pe]);if(re!=null&&Qe)for(var pe of Qe(re))ie.indexOf(pe)<0&&Je.call(re,pe)&&(de[pe]=re[pe]);return de};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:de})=>{const pe=(re==null?void 0:re.is_answer)===1,Pe=re==null?void 0:re.choice_text,je=()=>{const Le=de.getFieldsValue().choices.map(Ye=>({choice_text:Ye.choice_text,is_answer:0}));de.setFieldsValue({choices:Le}),ie(a(y({},re),{is_answer:1}))};return le.createElement(ue.Z,{className:Ie.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},le.createElement(Be.Z,{onClick:je,className:`${Ie.Z.choiceIndex} ${Ie.Z.judgementIndex} ${pe?Ie.Z.activeAnswer:""}`},E[Pe]),le.createElement(Be.Z,{flex:1,className:`${Ie.Z.editorWrap} ml15`},le.createElement("div",{className:`${Ie.Z.inputBorder} ${Ie.Z.placeholder} ${pe?Ie.Z.activeJudgementAnswer:""}`},Pe)),le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},le.createElement("div",{onClick:je,className:`${Ie.Z.setAnswerBtn} ${pe?Ie.Z.activeAnswer:""}`},pe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ie,form:de})=>{const[pe,Pe]=(0,b.useState)(!1);return le.createElement("div",{className:Ie.Z.wrap},le.createElement("div",{className:Ie.Z.questionTitleEditorWrap},le.createElement(Te.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},le.createElement(Oe.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),le.createElement(Te.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},le.createElement(Te.default.List,{name:"choices",rules:[{validator(je,Le){return Le.some(Se=>(Se==null?void 0:Se.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},je=>le.createElement("div",{id:"choices"},je.map(Le=>{var Ye=Le,{key:Se,name:Me}=Ye,qe=x(Ye,["key","name"]);return le.createElement(Te.default.Item,a(y({},qe),{key:Se,name:Me,noStyle:!0}),le.createElement(z,{form:de}))})))),le.createElement("div",{onClick:()=>Pe(!0)},le.createElement(Te.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},le.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))))}},64542:function(Ut,Gt,te){"use strict";te.d(Gt,{h:function(){return y},x:function(){return a}});var b=te(23469),ue=te(11037),Be=te(25711),Te=te(59301),Ie=Object.defineProperty,Oe=Object.defineProperties,le=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Qe=(x,E,z)=>E in x?Ie(x,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[E]=z,tt=(x,E)=>{for(var z in E||(E={}))ot.call(E,z)&&Qe(x,z,E[z]);if(ut)for(var z of ut(E))Ue.call(E,z)&&Qe(x,z,E[z]);return x},Je=(x,E)=>Oe(x,le(E)),se=(x,E)=>{var z={};for(var ne in x)ot.call(x,ne)&&E.indexOf(ne)<0&&(z[ne]=x[ne]);if(x!=null&&ut)for(var ne of ut(x))E.indexOf(ne)<0&&Ue.call(x,ne)&&(z[ne]=x[ne]);return z};const y=x=>{var E=x,{value:z,onChange:ne,scrollId:re}=E,ie=se(E,["value","onChange","scrollId"]);return Te.createElement("div",{id:re||""},Te.createElement(b.Z,Je(tt({},ie),{defaultValue:z,onChange:(de,pe)=>{pe!=null&&pe.length?ne(de,pe):ne(de)}})))},a=({value:x,onChange:E,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ie,watch:de=!0})=>re?Te.createElement(b.Z,{watch:de,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:x,onChange:E,miniToolbar:ie}):Te.createElement("div",{style:{cursor:"pointer"}},x?Te.createElement(Be.Z,{className:ue.Z.inputBorder,value:x}):Te.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},z))},6507:function(Ut,Gt,te){"use strict";te.d(Gt,{W:function(){return Ye}});var b=te(59301),ue=te(8591),Be=te(12563),Te=te(78241),Ie=te(78673),Oe=te(95237),le=te(43604),ut=te(6848),ot=te(92832),Ue=te(88897),Qe=te(11037),tt=te(64542),Je=te(23469),se=te(86902),y=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(Se,Me,qe)=>Me in Se?y(Se,Me,{enumerable:!0,configurable:!0,writable:!0,value:qe}):Se[Me]=qe,ie=(Se,Me)=>{for(var qe in Me||(Me={}))z.call(Me,qe)&&re(Se,qe,Me[qe]);if(E)for(var qe of E(Me))ne.call(Me,qe)&&re(Se,qe,Me[qe]);return Se},de=(Se,Me)=>a(Se,x(Me)),pe=(Se,Me)=>{var qe={};for(var ht in Se)z.call(Se,ht)&&Me.indexOf(ht)<0&&(qe[ht]=Se[ht]);if(Se!=null&&E)for(var ht of E(Se))Me.indexOf(ht)<0&&ne.call(Se,ht)&&(qe[ht]=Se[ht]);return qe};const Pe=Se=>{var Me=Se,{value:qe,onChange:ht}=Me,Ae=pe(Me,["value","onChange"]);const mt=At=>{ht([At])};return b.createElement(Je.Z,de(ie({},Ae),{defaultValue:qe==null?void 0:qe[0],onChange:mt}))},je=Se=>{if(!Se)return!1;if(/^s*$/.test(Se)||Se.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Me=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Se==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Le=({value:Se=[],onClose:Me})=>b.createElement(Be.default,{closable:!0,onClose:Me,className:Qe.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Se.join(" \u6216 "))),Ye=({questionTitlePlaceholder:Se,form:Me,showKeywords:qe,isMustKeyWords:ht=qe})=>{const[Ae,mt]=(0,b.useState)(!1),[At,Et]=(0,b.useState)(""),dt=Te.default.useWatch("use_keywords",Me),Qt=Te.default.useWatch("question_score",Me);return b.createElement("div",{className:Qe.Z.wrap},b.createElement("div",{className:Qe.Z.questionTitleEditorWrap},b.createElement(Te.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(tt.h,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),b.createElement(Te.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(Pe,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),qe&&!ht&&b.createElement(Te.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(Ie.Z,{defaultChecked:!0})),qe&&ht&&b.createElement(Oe.Z,{align:"middle",className:"mb30"},b.createElement(Te.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(Ie.Z,null)),b.createElement(le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(le.Z,null,b.createElement(ut.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(se.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(dt||!ht)&&b.createElement(Te.default.List,{name:"keywords",rules:[{validator(St,an){return ht?an!=null&&an.length?(an==null?void 0:an.reduce((nt,et)=>nt+et.score,0))>parseFloat(Qt)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(St,{add:an,remove:En})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${Qe.Z.title} mb10`},ht?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Oe.Z,{align:"middle",className:"font14 mb30"},b.createElement(le.Z,{flex:1},b.createElement(ot.default,{value:At,onChange:nt=>{Et(nt.target.value)},maxLength:50,allowClear:!0,onPressEnter:nt=>{var et,Yt,hn,Tt;const vn=`${(et=nt.target)==null?void 0:et.value}`,Ge=(hn=(Yt=vn==null?void 0:vn.split("|"))==null?void 0:Yt.filter(Mt=>!!Mt))==null?void 0:hn.map(Mt=>Mt==null?void 0:Mt.trim()),Dt=Me.getFieldValue("keywords"),Kt=((Tt=Dt==null?void 0:Dt.map(Mt=>Mt==null?void 0:Mt.keyword))==null?void 0:Tt.flat())||[];for(const Mt of Ge)if(Kt.includes(Mt)){ue.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}je(vn)&&(an({keyword:Ge,score:1}),Et(""))},className:Qe.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),St.map(nt=>{var et=nt,{key:Yt,name:hn}=et,Tt=pe(et,["key","name"]);return b.createElement(Oe.Z,{key:Yt,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(Oe.Z,{align:"middle",justify:"space-between"},b.createElement(Te.default.Item,de(ie({},Tt),{name:[hn,"keyword"]}),b.createElement(Le,{onClose:()=>En(hn)})),ht&&b.createElement(Te.default.Item,de(ie({},Tt),{name:[hn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Qe.Z.blankInputNumberWrapper}),b.createElement(Ue.Z,{className:Qe.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>mt(!0)},b.createElement(Te.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(tt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ae}))))}},40142:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ie}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},ue=te(78241),Be=te(59301),Ie=({text:Oe,name:le="question_score"})=>{const ut=({value:ot})=>Be.createElement("div",{className:b.text},Be.createElement("span",{className:b.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,ot||"--"),Be.createElement("span",{className:"c-grey-999"},Oe));return Be.createElement(ue.default.Item,{noStyle:!0,name:le},Be.createElement(ut,null))}},1568:function(Ut,Gt,te){"use strict";te.d(Gt,{h:function(){return re}});var b=te(59301),ue=te(57809),Be=te(78241),Te=te(3113),Ie=te(89780),Oe=te.n(Ie),le=te(79906),ut=te(44383),ot=Object.defineProperty,Ue=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,y=(ie,de,pe)=>de in ie?ot(ie,de,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ie[de]=pe,a=(ie,de)=>{for(var pe in de||(de={}))Je.call(de,pe)&&y(ie,pe,de[pe]);if(tt)for(var pe of tt(de))se.call(de,pe)&&y(ie,pe,de[pe]);return ie},x=(ie,de)=>Ue(ie,Qe(de));const E=ue.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},ne={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Gt.Z=({callback:ie,onCancel:de})=>{const[pe,Pe]=(0,b.useState)("python");function je(Ye){Pe(ne[Ye][1])}function Le(Ye){ie(Ye)}return b.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Le,style:{width:500}}),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(ue.default,{getPopupContainer:Ye=>Ye.parentNode,onChange:je},Object.keys(ne).map(Ye=>b.createElement(E,{key:Ye,value:Ye},ne[Ye][0])))),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},b.createElement(re,{mode:pe})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Te.ZP,{type:"ghost",onClick:de},"\u53D6\u6D88")))};function re({value:ie,onChange:de,mode:pe,options:Pe={}}){const je=(0,b.useRef)(),[Le,Ye]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Le){let Se=function(Me){const qe=Me.getValue();de&&de(qe)};return Le.on("change",Se),()=>{Le.off("change",Se)}}},[Le,de]),(0,b.useEffect)(()=>{Le&&Le.setOption("mode",pe)},[Le,pe]),(0,b.useEffect)(()=>{Le&&(ie!==Le.getValue()||ie==="")&&setTimeout(()=>{Le.setValue(ie||"")},300)},[Le,ie]),(0,b.useEffect)(()=>{if(je.current&&!Le){const Se=Oe().fromTextArea(je.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Pe));Ye(Se)}},[je.current,Le]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:je}))}},23469:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return pn}});var b=te(59301),ue=te(89780),Be=te.n(ue),Te=te(76374),Ie=te(79906),Oe=te(6313),le=te(25717),ut=te(99498),ot=te(25419),Ue=te(67549),Qe=te(25711),tt=({value:st="",className:yt,showTextOnly:ct,showLines:rn,style:In={}})=>{const yn=(0,b.useMemo)(()=>"",[st]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:yn}}))},Je=te(59301),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(st,yt,ct)=>yt in st?se(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):st[yt]=ct,re=(st,yt)=>{for(var ct in yt||(yt={}))E.call(yt,ct)&&ne(st,ct,yt[ct]);if(x)for(var ct of x(yt))z.call(yt,ct)&&ne(st,ct,yt[ct]);return st},ie=(st,yt)=>y(st,a(yt));let de=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function pe({onActionCallback:st,title:yt,icon:ct,actionName:rn,className:In="",children:yn}){function ia(){st(rn)}return Je.createElement("a",{title:yt,className:In,onClick:ia},Je.createElement("i",{className:`${ct}`}),yn)}var Pe=({watch:st,showNullButton:yt,showNullProgramButton:ct,onActionCallback:rn,fullScreen:In,insertTemp:yn,hidetoolBar:ia,extraUse:Un})=>{const lt=[...de,{title:`${st?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${st?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Je.createElement("ul",{className:"markdown-toolbar-container"},!ia&&lt.map(($t,qn)=>Je.createElement("li",{key:qn},$t.actionName?Je.createElement(pe,ie(re({},$t),{onActionCallback:rn})):Je.createElement("span",{className:"v-line"}))),yt?Je.createElement("li",null,Je.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:rn},Je.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ct?Je.createElement(Je.Fragment,null,Je.createElement("li",null,Je.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:rn},Je.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Je.createElement("li",null,Je.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:rn},Je.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,yn&&Je.createElement("li",null,Je.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${yn}`,onActionCallback:rn},Je.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Un&&Je.createElement("li",null,Un),Je.createElement("li",{className:"btn-full-screen"},Je.createElement(pe,{icon:`${In?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:In?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:rn})))},je=te(50474),Le=te(78241),Ye=te(92832),Se=te(3113),Me=Object.defineProperty,qe=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Et=(st,yt,ct)=>yt in st?Me(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:ct}):st[yt]=ct,dt=(st,yt)=>{for(var ct in yt||(yt={}))mt.call(yt,ct)&&Et(st,ct,yt[ct]);if(Ae)for(var ct of Ae(yt))At.call(yt,ct)&&Et(st,ct,yt[ct]);return st},Qt=(st,yt)=>qe(st,ht(yt));const St={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:st,onCancel:yt})=>{function ct(rn){st(rn)}return b.createElement(Le.default,Qt(dt({},St),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ct,style:{width:500}}),b.createElement(Le.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(Ye.default,null)),b.createElement(Le.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(Ye.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Se.ZP,{type:"ghost",onClick:yt},"\u53D6\u6D88")))},En=te(1568),nt=te(56701),et=te(43418),Yt=te(95237),hn=te(12963),Tt=te(59301),vn=({callback:st,onCancel:yt})=>{const ct=document.createElement("canvas"),rn=ct.getContext("2d");ct.width=1e3,ct.height=800,rn.fillStyle="#ffffff",rn.fillRect(0,0,ct.width,ct.height);const In=ct.toDataURL("image/png");return Tt.createElement(et.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Tt.createElement(Yt.Z,{style:{height:"100vh"}},Tt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:In,visible:!0,title:String(Date.now())},onOk:yn=>{st({src:yn.url})},onClose:yt})))},Ge=te(12378);function Dt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Dt,go.CommandHandler),Dt.prototype.canAlignSelection=function(){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<2)},Dt.prototype.alignLeft=function(){var st=this.diagram;st.startTransaction("aligning left");var yt=1/0;st.selection.each(function(ct){ct instanceof go.Link||(yt=Math.min(ct.position.x,yt))}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(yt,ct.position.y))}),st.commitTransaction("aligning left")},Dt.prototype.alignRight=function(){var st=this.diagram;st.startTransaction("aligning right");var yt=-1/0;st.selection.each(function(ct){if(!(ct instanceof go.Link)){var rn=ct.actualBounds.x+ct.actualBounds.width;yt=Math.max(rn,yt)}}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(yt-ct.actualBounds.width,ct.position.y))}),st.commitTransaction("aligning right")},Dt.prototype.alignTop=function(){var st=this.diagram;st.startTransaction("alignTop");var yt=1/0;st.selection.each(function(ct){ct instanceof go.Link||(yt=Math.min(ct.position.y,yt))}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.position.x,yt))}),st.commitTransaction("alignTop")},Dt.prototype.alignBottom=function(){var st=this.diagram;st.startTransaction("aligning bottom");var yt=-1/0;st.selection.each(function(ct){if(!(ct instanceof go.Link)){var rn=ct.actualBounds.y+ct.actualBounds.height;yt=Math.max(rn,yt)}}),st.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.actualBounds.x,yt-ct.actualBounds.height))}),st.commitTransaction("aligning bottom")},Dt.prototype.alignCenterX=function(){var st=this.diagram,yt=st.selection.first();if(yt){st.startTransaction("aligning Center X");var ct=yt.actualBounds.x+yt.actualBounds.width/2;st.selection.each(function(rn){rn instanceof go.Link||rn.move(new go.Point(ct-rn.actualBounds.width/2,rn.actualBounds.y))}),st.commitTransaction("aligning Center X")}},Dt.prototype.alignCenterY=function(){var st=this.diagram,yt=st.selection.first();if(yt){st.startTransaction("aligning Center Y");var ct=yt.actualBounds.y+yt.actualBounds.height/2;st.selection.each(function(rn){rn instanceof go.Link||rn.move(new go.Point(rn.actualBounds.x,ct-rn.actualBounds.height/2))}),st.commitTransaction("aligning Center Y")}},Dt.prototype.alignColumn=function(st){var yt=this.diagram;yt.startTransaction("align Column"),st===void 0&&(st=0),st=parseFloat(st);var ct=new Array;yt.selection.each(function(Un){Un instanceof go.Link||ct.push(Un)});for(var rn=0;rn<ct.length-1;rn++){var In=ct[rn],yn=In.actualBounds.y+In.actualBounds.height+st,ia=ct[rn+1];ia.move(new go.Point(In.actualBounds.x,yn))}yt.commitTransaction("align Column")},Dt.prototype.alignRow=function(st){st===void 0&&(st=0),st=parseFloat(st);var yt=this.diagram;yt.startTransaction("align Row");var ct=new Array;yt.selection.each(function(Un){Un instanceof go.Link||ct.push(Un)});for(var rn=0;rn<ct.length-1;rn++){var In=ct[rn],yn=In.actualBounds.x+In.actualBounds.width+st,ia=ct[rn+1];ia.move(new go.Point(yn,In.actualBounds.y))}yt.commitTransaction("align Row")},Dt.prototype.canRotate=function(st){var yt=this.diagram;return!(yt===null||yt.isReadOnly||yt.isModelReadOnly||yt.selection.count<1)},Dt.prototype.rotate=function(st){st===void 0&&(st=90);var yt=this.diagram;yt.startTransaction("rotate "+st.toString());var yt=this.diagram;yt.selection.each(function(ct){ct instanceof go.Link||ct instanceof go.Group||(ct.angle+=st)}),yt.commitTransaction("rotate "+st.toString())},Dt.prototype.pullToFront=function(){var st=this.diagram;st.startTransaction("pullToFront");var yt=new go.Map;st.selection.each(function(ct){yt.set(ct.layer,0)}),yt.iteratorKeys.each(function(ct){var rn=0;ct.parts.each(function(In){if(!In.isSelected){var yn=In.zOrder;isNaN(yn)?In.zOrder=0:rn=Math.max(rn,yn)}}),yt.set(ct,rn)}),st.selection.each(function(ct){Dt._assignZOrder(ct,yt.get(ct.layer)+1)}),st.commitTransaction("pullToFront")},Dt.prototype.pushToBack=function(){var st=this.diagram;st.startTransaction("pushToBack");var yt=new go.Map;st.selection.each(function(ct){yt.set(ct.layer,0)}),yt.iteratorKeys.each(function(ct){var rn=0;ct.parts.each(function(In){if(!In.isSelected){var yn=In.zOrder;isNaN(yn)?In.zOrder=0:rn=Math.min(rn,yn)}}),yt.set(ct,rn)}),st.selection.each(function(ct){Dt._assignZOrder(ct,yt.get(ct.layer)-1-Dt._findGroupDepth(ct))}),st.commitTransaction("pushToBack")},Dt._assignZOrder=function(st,yt,ct){ct===void 0&&(ct=st),st.layer===ct.layer&&(st.zOrder=yt),st instanceof go.Group&&st.memberParts.each(function(rn){Dt._assignZOrder(rn,yt+1,ct)})},Dt._findGroupDepth=function(st){if(st instanceof go.Group){var yt=0;return st.memberParts.each(function(ct){yt=Math.max(yt,Dt._findGroupDepth(ct))}),yt+1}else return 0},Dt.prototype.doKeyDown=function(){var st=this.diagram;if(st!==null){var yt=st.lastInput;if(yt.key==="Up"||yt.key==="Down"||yt.key==="Left"||yt.key==="Right"){var ct=this.arrowKeyBehavior;if(ct==="none")return;if(ct==="select"){this._arrowKeySelect();return}else if(ct==="move"){this._arrowKeyMove();return}else if(ct==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Dt.prototype._getAllParts=function(){var st=new Array;return this.diagram.nodes.each(function(yt){st.push(yt)}),this.diagram.parts.each(function(yt){st.push(yt)}),st},Dt.prototype._arrowKeyMove=function(){var st=this.diagram,yt=st.lastInput,ct=0,rn=0;if(yt.control||yt.meta)ct=1,rn=1;else if(st.grid!==null){var In=st.grid.gridCellSize;rn=In.width,ct=In.height}st.startTransaction("arrowKeyMove"),st.selection.each(function(yn){yt.key==="Up"?yn.move(new go.Point(yn.actualBounds.x,yn.actualBounds.y-ct)):yt.key==="Down"?yn.move(new go.Point(yn.actualBounds.x,yn.actualBounds.y+ct)):yt.key==="Left"?yn.move(new go.Point(yn.actualBounds.x-rn,yn.actualBounds.y)):yt.key==="Right"&&yn.move(new go.Point(yn.actualBounds.x+rn,yn.actualBounds.y))}),st.commitTransaction("arrowKeyMove")},Dt.prototype._arrowKeySelect=function(){var st=this.diagram,yt=st.lastInput,ct=null;yt.key==="Up"?ct=this._findNearestPartTowards(270):yt.key==="Down"?ct=this._findNearestPartTowards(90):yt.key==="Left"?ct=this._findNearestPartTowards(180):yt.key==="Right"&&(ct=this._findNearestPartTowards(0)),ct!==null&&(yt.shift?ct.isSelected=!0:yt.control||yt.meta?ct.isSelected=!ct.isSelected:st.select(ct))},Dt.prototype._findNearestPartTowards=function(st){var yt=this.diagram.selection.first();if(yt===null)return null;for(var ct=yt.actualBounds.center,rn=this._getAllParts(),In=1/0,yn=yt,ia=0;ia<rn.length;ia++){var Un=rn[ia];if(Un!==yt&&Un.canSelect()){var lt=Un.actualBounds.center,$t=ct.directionPoint(lt),qn=this._angleCloseness($t,st);if(qn<=45){var nn=ct.distanceSquaredPoint(lt);nn*=1+Math.sin(qn*Math.PI/180),nn<In&&(In=nn,yn=Un)}}}return yn},Dt.prototype._angleCloseness=function(st,yt){return Math.min(Math.abs(yt-st),Math.min(Math.abs(yt+360-st),Math.abs(yt-360-st)))},Dt.prototype._arrowKeyTree=function(){var st=this.diagram,yt=st.selection.first();if(yt instanceof go.Node){var ct=st.lastInput;if(ct.key==="Right"){if(!yt.isTreeLeaf)if(!yt.isTreeExpanded)st.commandHandler.canExpandTree(yt)&&st.commandHandler.expandTree(yt);else{var rn=this._sortTreeChildrenByY(yt).first();rn!==null&&st.select(rn)}}else if(ct.key==="Left")if(!yt.isTreeLeaf&&yt.isTreeExpanded)st.commandHandler.canCollapseTree(yt)&&st.commandHandler.collapseTree(yt);else{var In=yt.findTreeParentNode();In!==null&&st.select(In)}else if(ct.key==="Up"){var In=yt.findTreeParentNode();if(In!==null){var yn=this._sortTreeChildrenByY(In),ia=yn.indexOf(yt);if(ia>0){for(var Un=yn.elt(ia-1);Un!==null&&Un.isTreeExpanded&&!Un.isTreeLeaf;){var lt=this._sortTreeChildrenByY(Un);Un=lt.last()}Un!==null&&st.select(Un)}else st.select(In)}}else if(ct.key==="Down")if(yt.isTreeExpanded&&!yt.isTreeLeaf){var rn=this._sortTreeChildrenByY(yt).first();rn!==null&&st.select(rn)}else for(;yt!==null;){var In=yt.findTreeParentNode();if(In===null)break;var yn=this._sortTreeChildrenByY(In),ia=yn.indexOf(yt);if(ia<yn.length-1){st.select(yn.elt(ia+1));break}else yt=In}var $t=st.selection.first();$t!==null&&st.scrollToRect($t.actualBounds)}},Dt.prototype._sortTreeChildrenByY=function(st){var yt=new go.List().addAll(st.findTreeChildrenNodes());return yt.sort(function(ct,rn){var In=ct.location,yn=rn.location;return In.y<yn.y?-1:In.y>yn.y?1:In.x<yn.x?-1:In.x>yn.x?1:0}),yt},Dt.prototype.copyToClipboard=function(st){go.CommandHandler.prototype.copyToClipboard.call(this,st),this._lastPasteOffset.set(this.pasteOffset)},Dt.prototype.pasteFromClipboard=function(){var st=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(st,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),st},Object.defineProperty(Dt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(st){if(st!=="move"&&st!=="select"&&st!=="scroll"&&st!=="tree"&&st!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+st);this._arrowKeyBehavior=st}}),Object.defineProperty(Dt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(st){if(!(st instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+st);this._pasteOffset.set(st)}});var Kt=Dt,Mt=te(37404),pt=te(43604),rt=te(70635),_e={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=te(59301),fe=(st,yt,ct)=>new Promise((rn,In)=>{var yn=lt=>{try{Un(ct.next(lt))}catch($t){In($t)}},ia=lt=>{try{Un(ct.throw(lt))}catch($t){In($t)}},Un=lt=>lt.done?rn(lt.value):Promise.resolve(lt.value).then(yn,ia);Un((ct=ct.apply(st,yt)).next())});function Xe({onCancel:st,callback:yt}){let ct=(0,b.useRef)(),rn=(0,b.useRef)(),In=(0,b.useRef)(),yn=(0,b.useRef)(!1);const ia=(0,b.useRef)(!1),[Un,lt]=(0,b.useState)(0);function $t(){const nn=Ge.bx.make,_n={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};ct.current=new Ge.S0(rn.current,{padding:20,grid:nn(Ge.s_,"Grid",nn(Ge.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(Ge.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vn=>{var sa=Vn.diagram.commandHandler.addTopLevelParts(Vn.diagram.selection,!0);sa||Vn.diagram.currentTool.doCancel()},commandHandler:nn(Kt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vn=>{var sa=Vn.subject;sa.location=sa.location.copy().snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vn=>{var sa=Vn.subject;setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vn=>{var sa=Vn.parameter.part;sa.invalidateConnectedLinks();var xa=Vn.subject;Vn.diagram.toolManager.linkingTool.isForwards?xa.toNode.invalidateConnectedLinks():xa.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ct.current.nodeTemplate=nn(Ge.NB,"Auto",{locationSpot:Ge.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ge.$u(120,60),minSize:new Ge.$u(40,40),resizable:!0,resizeCellSize:new Ge.$u(10,10),rotatable:!0},new Ge.KX("location","loc",Ge.E9.parse).makeTwoWay(Ge.E9.stringify),new Ge.KX("desiredSize","size",Ge.$u.parse).makeTwoWay(Ge.$u.stringify),nn(Ge.bn,{name:"SHAPE",fill:_n.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ge.z6.AllSides,toSpot:Ge.z6.AllSides},new Ge.KX("figure"),new Ge.KX("fill"),new Ge.KX("stroke","borderColor"),new Ge.KX("strokeWidth","thickness"),new Ge.KX("strokeDashArray","dash")),nn(Ge.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),nn(Ge.al,{margin:1,textAlign:"center",overflow:Ge.al.OverflowEllipsis,editable:!0},new Ge.KX("text").makeTwoWay(),new Ge.KX("stroke","color"))),ct.current.nodeTemplate.toolTip=nn("ToolTip",nn(Ge.s_,"Vertical",{maxSize:new Ge.$u(200,NaN)},nn(Ge.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ge.KX("text")),nn(Ge.al,{font:"10pt sans-serif",textAlign:"center"},new Ge.KX("text","details"))));function Jn(Vn,sa){var xa=(aa,za)=>{aa.handled=!0,aa.diagram.model.commit(ar=>{var Ga=za.part.adornedPart,mr=new Ge.E9().setRectSpot(Ga.actualBounds,Vn);mr.subtract(Ga.location),mr.scale(2,2),mr.x+=Math.sign(mr.x)*130,mr.y+=Math.sign(mr.y)*130,mr.add(Ga.location),mr.snapToGridPoint(aa.diagram.grid.gridOrigin,aa.diagram.grid.gridCellSize);var Ua=ar.copyNodeData(Ga.data);ar.setGroupKeyForNodeData(Ua,ar.getGroupKeyForNodeData(Ga.data)),ar.addNodeData(Ua);var Cr={from:Ga.key,to:ar.getKeyForNodeData(Ua)};ar.addLinkData(Cr);var kr=aa.diagram.findNodeForData(Ua);kr.location=mr,aa.diagram.select(kr),setTimeout(()=>{aa.diagram.commandHandler.editTextBlock()},20)})};return nn(Ge.bn,{figure:sa,alignment:Vn,alignmentFocus:Vn.opposite(),width:Vn.equals(Ge.z6.Top)||Vn.equals(Ge.z6.Bottom)?25:18,height:Vn.equals(Ge.z6.Top)||Vn.equals(Ge.z6.Bottom)?18:25,fill:"orange",stroke:_n.white,strokeWidth:4,mouseEnter:(aa,za)=>za.fill="dodgerblue",mouseLeave:(aa,za)=>za.fill="orange",isActionable:!0,click:xa,contextClick:xa})}function Ma(Vn){return nn(Ge.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(sa,xa)=>xa.fill="dodgerblue",mouseLeave:(sa,xa)=>xa.fill="orange",click:(sa,xa)=>{sa.diagram.commandHandler.showContextMenu(xa.part.adornedPart)}},Vn||{})}ct.current.nodeTemplate.selectionAdornmentTemplate=nn(Ge.uz,"Spot",nn(Ge.Vm,{padding:10}),Jn(Ge.z6.Top,"TriangleUp"),Jn(Ge.z6.Left,"TriangleLeft"),Jn(Ge.z6.Right,"TriangleRight"),Jn(Ge.z6.Bottom,"TriangleDown"),Ma({alignment:new Ge.z6(.75,0)}));function ma(Vn,sa){return(xa,aa)=>{xa.handled=!0,xa.diagram.model.commit(za=>{za.set(aa.part.adornedPart.data,Vn,sa)})}}function We(Vn,sa){return sa||(sa="color"),nn(Ge.bn,{width:16,height:16,stroke:"lightgray",fill:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.stroke="dodgerblue",mouseLeave:(xa,aa)=>aa.stroke="lightgray",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}function dn(){return[nn("ContextMenuButton",nn(Ge.s_,"Horizontal",We(_n.white,"fill"),We(_n.beige,"fill"),We(_n.extralightblue,"fill"),We(_n.extralightred,"fill"))),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",We(_n.lightgray,"fill"),We(_n.lightgreen,"fill"),We(_n.lightblue,"fill"),We(_n.lightred,"fill")))]}function Jt(){return[nn("ContextMenuButton",nn(Ge.s_,"Horizontal",We(_n.black),We(_n.green),We(_n.blue),We(_n.red))),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",We(_n.white),We(_n.magenta),We(_n.purple),We(_n.orange)))]}function Sn(Vn,sa){return sa||(sa="thickness"),nn(Ge.bn,"LineH",{width:16,height:16,strokeWidth:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}function On(Vn,sa){return sa||(sa="dash"),nn(Ge.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}function kn(){return[nn("ContextMenuButton",nn(Ge.s_,"Horizontal",Sn(1),Sn(2),Sn(3),Sn(4))),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",On(null),On([2,4]),On([4,4])))]}function Dn(Vn,sa){return sa||(sa="figure"),nn(Ge.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vn,margin:1,background:"transparent",mouseEnter:(xa,aa)=>aa.fill="dodgerblue",mouseLeave:(xa,aa)=>aa.fill="lightgray",click:ma(sa,Vn),contextClick:ma(sa,Vn)})}ct.current.nodeTemplate.contextMenu=nn("ContextMenu",nn("ContextMenuButton",nn(Ge.s_,"Horizontal",Dn("Rectangle"),Dn("RoundedRectangle"),Dn("Ellipse"),Dn("Diamond"))),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",Dn("Parallelogram2"),Dn("ManualOperation"),Dn("Procedure"),Dn("Cylinder1"))),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",Dn("Terminator"),Dn("CreateRequest"),Dn("Document"),Dn("TriangleDown"))),dn(),Jt(),kn()),ct.current.groupTemplate=nn(Ge.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ge.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vn,sa)=>{var xa=sa.addMembers(sa.diagram.selection,!0);xa||sa.diagram.currentTool.doCancel()},avoidable:!1},new Ge.KX("location","loc",Ge.E9.parse).makeTwoWay(Ge.E9.stringify),nn(Ge.s_,"Auto",{name:"BODY"},nn(Ge.bn,{parameter1:10,fill:_n.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ge.z6.AllSides,toSpot:Ge.z6.AllSides},new Ge.KX("fill"),new Ge.KX("stroke","color"),new Ge.KX("strokeWidth","thickness"),new Ge.KX("strokeDashArray","dash")),nn(Ge.Vm,{background:"transparent",margin:20})),nn(Ge.al,{alignment:Ge.z6.Top,alignmentFocus:Ge.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ge.KX("text"),new Ge.KX("stroke","color"))),ct.current.groupTemplate.selectionAdornmentTemplate=nn(Ge.uz,"Spot",nn(Ge.s_,"Auto",nn(Ge.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),nn(Ge.Vm,{margin:1.5})),Ma({alignment:Ge.z6.TopRight,alignmentFocus:Ge.z6.BottomRight})),ct.current.groupTemplate.contextMenu=nn("ContextMenu",dn(),Jt(),kn()),ct.current.linkTemplate=nn(Ge.rU,{layerName:"Foreground",routing:Ge.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ge.KX("fromSpot","fromSpot",Ge.z6.parse),new Ge.KX("toSpot","toSpot",Ge.z6.parse),new Ge.KX("fromShortLength","dir",Vn=>Vn>=1?10:0),new Ge.KX("toShortLength","dir",Vn=>Vn>=1?10:0),new Ge.KX("points").makeTwoWay(),nn(Ge.bn,{strokeWidth:2},new Ge.KX("stroke","color"),new Ge.KX("strokeWidth","thickness"),new Ge.KX("strokeDashArray","dash")),nn(Ge.bn,{segmentIndex:0,segmentOffset:new Ge.E9(15,0),segmentOrientation:Ge.rU.OrientAlong,alignmentFocus:Ge.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ge.KX("fill","color"),new Ge.KX("visible","dir",Vn=>Vn===1)),nn(Ge.bn,{segmentIndex:-1,segmentOffset:new Ge.E9(-10,6),segmentOrientation:Ge.rU.OrientPlus90,alignmentFocus:Ge.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ge.KX("fill","color"),new Ge.KX("visible","dir",Vn=>Vn>=1),new Ge.KX("width","thickness",Vn=>7+3*Vn),new Ge.KX("height","thickness",Vn=>7+3*Vn),new Ge.KX("segmentOffset","thickness",Vn=>new Ge.E9(-15,4+1.5*Vn))),nn(Ge.bn,{segmentIndex:0,segmentOffset:new Ge.E9(15,-6),segmentOrientation:Ge.rU.OrientMinus90,alignmentFocus:Ge.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ge.KX("fill","color"),new Ge.KX("visible","dir",Vn=>Vn===2),new Ge.KX("width","thickness",Vn=>7+3*Vn),new Ge.KX("height","thickness",Vn=>7+3*Vn),new Ge.KX("segmentOffset","thickness",Vn=>new Ge.E9(-15,4+1.5*Vn))),nn(Ge.al,{alignmentFocus:new Ge.z6(0,1,-4,0),editable:!0},new Ge.KX("text").makeTwoWay(),new Ge.KX("stroke","color"))),ct.current.linkTemplate.selectionAdornmentTemplate=nn(Ge.uz,nn(Ge.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:wn(2)},new Ge.KX("pathPattern","thickness",wn)),Ma({alignmentFocus:new Ge.z6(0,0,-6,-4)}));function wn(Vn){return nn(Ge.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vn+4).toString()+" H3"})}function Aa(Vn){var sa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vn===0?sa="M0 0 M16 16 M0 8 L16 8":Vn===2&&(sa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),nn(Ge.bn,{geometryString:sa,margin:2,background:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:ma("dir",Vn),contextClick:ma("dir",Vn)})}function La(Vn){var sa=(xa,aa)=>{xa.handled=!0,xa.diagram.model.commit(za=>{var ar=aa.part.adornedPart;za.set(ar.data,Vn?"toSpot":"fromSpot",Ge.z6.stringify(Ge.z6.AllSides)),(Vn?ar.toNode:ar.fromNode).invalidateConnectedLinks()})};return nn(Ge.bn,{width:12,height:12,fill:"transparent",mouseEnter:(xa,aa)=>aa.background="dodgerblue",mouseLeave:(xa,aa)=>aa.background="transparent",click:sa,contextClick:sa})}function mn(Vn,sa){var xa=0,aa=Ge.z6.RightSide;Vn.equals(Ge.z6.Top)?(xa=270,aa=Ge.z6.TopSide):Vn.equals(Ge.z6.Left)?(xa=180,aa=Ge.z6.LeftSide):Vn.equals(Ge.z6.Bottom)&&(xa=90,aa=Ge.z6.BottomSide),sa||(xa-=180);var za=(ar,Ga)=>{ar.handled=!0,ar.diagram.model.commit(mr=>{var Ua=Ga.part.adornedPart;mr.set(Ua.data,sa?"toSpot":"fromSpot",Ge.z6.stringify(aa)),(sa?Ua.toNode:Ua.fromNode).invalidateConnectedLinks()})};return nn(Ge.bn,{alignment:Vn,alignmentFocus:Vn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:xa,background:"transparent",mouseEnter:(ar,Ga)=>Ga.background="dodgerblue",mouseLeave:(ar,Ga)=>Ga.background="transparent",click:za,contextClick:za})}ct.current.linkTemplate.contextMenu=nn("ContextMenu",Jt(),kn(),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",Aa(0),Aa(1),Aa(2))),nn("ContextMenuButton",nn(Ge.s_,"Horizontal",nn(Ge.s_,"Spot",La(!1),mn(Ge.z6.Top,!1),mn(Ge.z6.Left,!1),mn(Ge.z6.Right,!1),mn(Ge.z6.Bottom,!1)),nn(Ge.s_,"Spot",{margin:new Ge.Zt(0,0,0,2)},La(!0),mn(Ge.z6.Top,!0),mn(Ge.z6.Left,!0),mn(Ge.z6.Right,!0),mn(Ge.z6.Bottom,!0)))));const Da=`{ "class": "GraphLinksModel",
"nodeDataArray": [
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
],
"linkDataArray": [
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
]}`;var na=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Qa(Vn){return console.log("shapeName:",Vn),na.indexOf(Vn)>=0}var Ja=new Ge.YI(In.current,{maxSelectionCount:1,linkTemplate:nn(Ge.rU,{locationSpot:Ge.z6.Center,selectionAdornmentTemplate:nn(Ge.uz,"Link",{locationSpot:Ge.z6.Center},nn(Ge.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),nn(Ge.bn,{toArrow:"Standard",stroke:null}))},{routing:Ge.rU.AvoidsNodes,curve:Ge.rU.JumpOver,corner:5,toShortLength:4},new Ge.KX("points"),nn(Ge.bn,{isPanelMain:!0,strokeWidth:2}),nn(Ge.bn,{toArrow:"Standard",stroke:null})),model:new Ge.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ge.bn.getFigureGenerators().toArray().map(Vn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ct.current.addDiagramListener("TextEdited",function(Vn){var sa;const xa=Vn.subject.part;var aa=(sa=document.activeElement)==null?void 0:sa.value;typeof aa=="string"&&aa.trim()===""&&ct.current.model.commit(function(za){za.set(xa.data,"text","\u672A\u547D\u540D"),ct.current.commandHandler.stopCommand()},"increment")}),Ja.nodeTemplate=nn(Ge.NB,"Auto",{locationSpot:Ge.z6.Center},new Ge.KX("location","location",Ge.E9.parse).makeTwoWay(Ge.E9.stringify),nn(Ge.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ge.KX("stroke").makeTwoWay(),new Ge.KX("fill").makeTwoWay(),new Ge.KX("figure")),nn(Ge.al,{margin:new Ge.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ge.$u(16,16),maxSize:new Ge.$u(10,NaN),textAlign:"center",editable:!0},new Ge.KX("key").makeTwoWay())),setTimeout(()=>{ct.current.grid=nn(Ge.s_,"Grid",nn(Ge.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(Ge.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ct.current.grid.visible=!0,ct.current.grid.gridCellStroke="darkgray",ct.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ct.current,ct.current}const qn=()=>fe(this,null,function*(){var nn=ct.current.makeImage();const _n=yield(0,rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:nn.src}});yt({src:_n.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{$t()},500),lt(Un+1),()=>{ct.current=null}),[]),ve.createElement("div",{ref:ia,className:yn.current?`${_e.maxH60} body-overflow-initial`:"body-overflow-initial"},ve.createElement(et.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Un,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ve.createElement(Yt.Z,null,ve.createElement(pt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(pt.Z,{onClick:()=>{var nn,_n,Jn=ct.current.selection.first();if(yn.current=!yn.current,document.activeElement&&Jn){let Ma=(_n=(nn=document.activeElement)==null?void 0:nn.value)==null?void 0:_n.trim();typeof Ma=="string"&&ct.current.model.commit(function(ma){ma.set(Jn.data,"text",Ma||"\u672A\u547D\u540D"),ct.current.commandHandler.stopCommand()},"increment")}lt(Un+1)}},ve.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:st},ve.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:_e.flowChartWrp},ve.createElement("div",{style:{display:"flex",height:"100%"}},ve.createElement("div",{style:{width:"300px",height:"100%"}},ve.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),ve.createElement("div",{style:{height:"calc(100% - 50px)"},className:_e.myPaletteDiv,ref:In})),ve.createElement("div",{style:{flex:1,position:"relative"}},ve.createElement("div",{ref:rn,style:{height:"80vh"}}))),ve.createElement("div",{className:"tr"},ve.createElement(Se.ZP,{size:"large",onClick:qn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var bt=Xe,Fe=te(5112),Ce=te(88897);const at=Fe.ZP.Group,$e={margin:"0 8px"};var De=({callback:st,onCancel:yt})=>{function ct(rn){st(rn)}return b.createElement(Le.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ct},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:$e},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:$e},"\u884C\u6570"),b.createElement(Le.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Ce.Z,null)),b.createElement("span",{style:$e},"\u5217\u6570"),b.createElement(Le.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Ce.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:$e},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Le.default.Item,{name:"align"},b.createElement(at,null,b.createElement(Fe.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(Fe.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(Fe.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(Fe.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Se.ZP,{type:"ghost",onClick:yt},"\u53D6\u6D88")))},gt=te(78673),un=te(98598),en=te.n(un),ln=(0,b.forwardRef)(({use3d:st,width:yt,height:ct,callback:rn,showSaveButton:In},yn)=>{const ia=(0,b.useRef)(),Un=(0,b.useRef)(),[lt,$t]=(0,b.useState)(!1),qn=(0,b.useRef)({id:ia,appName:"graphing",width:yt||1e3,height:ct||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,b.useEffect)(()=>{Un.current=new(en())(qn.current,!0),window.onload=function(){Un.current.inject("applet_container")}},[]);const nn=()=>{var _n=window.ggbApplet.getPNGBase64(1,!0,72);return rn&&rn(_n),_n};return(0,b.useEffect)(()=>{qn.current.appName=lt?"3D":"graphing",Un.current.inject("applet_container")},[lt]),(0,b.useEffect)(()=>{$t(st)},[st]),(0,b.useImperativeHandle)(yn,()=>({getImgData:nn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ia}),b.createElement(Yt.Z,{align:"middle"},b.createElement(pt.Z,{flex:1},b.createElement(gt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:lt,onChange:_n=>$t(_n)})),b.createElement(pt.Z,null,b.createElement(Se.ZP,{size:"large",onClick:nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),on=te(75890),ze=te(1012),wt=te(8591);const Ot="link",Pt="upload-image",Nt="add-flowchart",fn="draw-image",Pn="add-flowchart",bn="code-block",Ln="add-table",ta="------------",oa={default:ta,left:`:${ta}`,center:`:${ta}:`,right:`${ta}:`};var jn=te(91300),Ea=(st,yt,ct)=>new Promise((rn,In)=>{var yn=lt=>{try{Un(ct.next(lt))}catch($t){In($t)}},ia=lt=>{try{Un(ct.throw(lt))}catch($t){In($t)}},Un=lt=>lt.done?rn(lt.value):Promise.resolve(lt.value).then(yn,ia);Un((ct=ct.apply(st,yt)).next())});function pa(){}let Hn=0;const Ba=1e4,qt="\u2581",An="@\u2581\u2581@",Fn="@\u2581@",Xn=`
**\u6A21\u677F\u6807\u9898**
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,Ze=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function It(st){return/^\d+$/.test(st)?`${st}px`:st}const Wt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",tn={[Wt+"-B"]:"bold",[Wt+"-I"]:"italic"},jt={[Ot]:"\u6DFB\u52A0\u94FE\u63A5",[bn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Pt]:"\u6DFB\u52A0\u56FE\u7247",[fn]:"\u6DFB\u52A0\u753B\u56FE",[Nt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ln]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var pn=({defaultValue:st="",onChange:yt,width:ct="100%",height:rn=400,miniToolbar:In=!1,isFocus:yn=!1,watch:ia,insertTemp:Un,mode:lt="markdown",id:$t="markdown-editor-id",showResizeBar:qn=!1,noStorage:nn=!1,showNullButton:_n=!1,showNullProgramButton:Jn=!1,hidetoolBar:Ma=!1,fullScreen:ma=!1,onBlur:We,onCMBeforeChange:dn,onFullScreen:Jt,className:Sn="",disablePaste:On=!1,disabled:kn=!1,disabledFill:Dn=!1,placeholder:wn="",values:Aa="",extraUse:La})=>{const[mn,Da]=(0,b.useState)(null),[na,Qa]=(0,b.useState)(st),[Ja,Vn]=(0,b.useState)(ia),[sa,xa]=(0,b.useState)(ma),[aa,za]=(0,b.useState)(""),[ar,Ga]=(0,b.useState)(0),[mr,Ua]=(0,b.useState)(rn),[Cr,kr]=(0,b.useState)(!1),ao=(0,b.useRef)((0,ze.Z)()),Er=(0,b.useRef)(!1),vr=(0,b.useRef)(),[Zr,hr]=(0,b.useState)(0),[Fr,ur]=(0,b.useState)(0),Ra=(0,b.useRef)(),xr=(0,b.useRef)(),Xr=(0,b.useRef)(),br=(0,b.useRef)(),Vr=()=>Ea(void 0,null,function*(){var $a;const ga=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:ao.current}});($a=ga==null?void 0:ga.attachments)!=null&&$a.length&&(console.log("cm:",mn,Ra),ga.attachments.map(Tn=>{Tn.content_type.indexOf("image")>-1?mn.replaceSelection(`![,](/api/attachments/${Tn.id}?type=${Tn.content_type})`):Tn.content_type.indexOf("video")>-1?mn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):Tn.content_type.indexOf("pdf")>-1?mn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type}&disposition=inline" target="_blank">${Tn.name}</a>`):mn.replaceSelection(`[${Tn.name}](${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type})`)}))});(0,b.useEffect)(()=>{const $a=window.scrollY||window.pageYOffset;Qa(Aa),mn==null||mn.setValue(Aa),window.scrollTo(0,$a)},[Aa]),(0,b.useEffect)(()=>{Jt==null||Jt(sa)},[sa]),(0,b.useEffect)(()=>{if(Ra.current){let $a=function(Tn,Fa){var cr;if(On){Fa.preventDefault();return}const Nr=Fa.clipboardData;if(Nr){const xe=Nr.types.toString(),sn=Nr.items;if(xe==="Files"||Nr.types.indexOf("Files")>-1){if(Fa.preventDefault(),lt=="stex")return;try{let Cn=sn[1];((cr=sn[0])==null?void 0:cr.kind)==="file"&&(Cn=sn[0]);const zn=Cn.getAsFile(),cn=zn.name.split(".").pop();(0,nt.I)(zn,ra=>{var Zn,Nn,Gn;ra.id?((Zn=zn==null?void 0:zn.type)==null?void 0:Zn.indexOf("image"))>-1?ga.replaceSelection(`![,](/api/attachments/${ra.id}?type=${ra.content_type})`):((Nn=zn==null?void 0:zn.type)==null?void 0:Nn.indexOf("video"))>-1?ga.replaceSelection(`<video width="100%" controls src="/api/attachments/${ra.id}"></video>`):((Gn=zn==null?void 0:zn.type)==null?void 0:Gn.indexOf("pdf"))>-1?ga.replaceSelection(`<a href="/api/attachments/${ra.id}?type=${zn.type}&disposition=inline" target="_blank">${zn.name}</a>`):Ze.includes(cn)?ga.replaceSelection(`<a href="/api/attachments/${ra.id}?type=office&disposition=inline" target="_blank">${zn.name}</a>`):ga.replaceSelection(`[${zn.name}](/api/attachments/${ra.id}?type=${ra.content_type})`):(ra==null?void 0:ra.status)===401&&(wt.ZP.warning((ra==null?void 0:ra.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Cn){wt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ga=Be().fromTextArea(Ra.current,{mode:lt,lineNumbers:!In,lineWrapping:!0,value:st,autoCloseTags:!Jn,autoCloseBrackets:!0});return ga.on("keyup",function(Tn,Fa){Fa.keyCode===8&&(Tn.getValue()==""?ga.setOption("placeholder",wn):ga.setOption("placeholder",null))}),ga.on("keydown",function(Tn,Fa){if(Fa.keyCode===8){var cr=Xa(Tn);cr&&Fa.preventDefault()}}),yn&&ga.focus(),ga.on("paste",$a),ga.on("dragleave",function(Tn,Fa){xr.current.classList.remove("mouse-hover-md")}),kn&&ga.on("beforeChange",function(Tn,Fa){(Fa.origin==="paste"||Fa.origin==="+input")&&Fa.cancel()}),Da(ga),()=>{ga.off("paste",$a)}}},[]);const jr=(0,b.useCallback)(()=>{if(xr.current)try{}catch($a){console.log($a,"---- to set md editor body height")}},[mr,xr,sa]);(0,b.useEffect)(()=>{function $a(){let ga=new Te.Z(Tn=>{for(let Fa of Tn)(Fa.target.offsetHeight>0||Fa.target.offsetWidth>0)&&(jr(),mn.setSize("100%","100%"),mn.refresh())});return ga.observe(Ra.current.parentElement),ga}if(mn){const ga=$a();return()=>{var Tn,Fa;(Tn=Ra.current)!=null&&Tn.parentElement&&ga.unobserve((Fa=Ra.current)==null?void 0:Fa.parentElement)}}},[mn,jr]),(0,b.useEffect)(()=>{if(mn){let $a=[];for(const[ga,Tn]of Object.entries(tn)){let Fa={[ga]:()=>{wr(Tn)}};$a.push(Fa),mn.addKeyMap(Fa)}return vr.current=setInterval(()=>{Er.current&&Vr()},4e3),()=>{clearInterval(vr.current);for(let ga of $a)mn.removeKeyMap(ga)}}},[mn]),(0,b.useEffect)(()=>{ma!==sa&&xa(ma)},[ma]),(0,jn.Z)(()=>{if(!nn&&ar>0){let $a=new Date().getTime(),ga=window.sessionStorage.getItem($t);$a>=ar+Ba&&(!ga||ga!==na)&&(window.sessionStorage.setItem($t,na),kr(!0))}},Ba),(0,b.useEffect)(()=>{Vn(ia)},[mn,ia]),(0,b.useEffect)(()=>{mn&&yn&&mn.focus()},[mn,yn]),(0,b.useEffect)(()=>{if(Ja&&mn){let $a=function(Tn){let Fa=Tn.target;if(br.current){let cr=Fa.scrollTop/Fa.scrollHeight;br.current.scrollTop=br.current.scrollHeight*cr}};const ga=mn.getScrollerElement();return ga.addEventListener("scroll",$a),()=>{ga.removeEventListener("scroll",$a)}}},[mn,Ja]),(0,b.useEffect)(()=>{if(mn&&dn){let $a=function(ga,Tn){dn(ga,Tn)};return mn.on("beforeChange",$a),()=>{mn.off("beforeChange",$a)}}},[mn,dn]),(0,b.useEffect)(()=>{if(mn&&We){let $a=function(){We(mn.getValue())};return mn.on("blur",$a),()=>{mn.off("blur",$a)}}},[mn,We]);function Xa($a,ga){var Tn=$a.getDoc(),Fa=Tn.getCursor(),cr=Tn.getLine(Fa.line),Nr=cr.charAt(Fa.ch-1),xe=cr.lastIndexOf("@\u2581@",Fa.ch),sn=cr.lastIndexOf("@\u2581\u2581@",Fa.ch),Cn=xe>sn?xe:sn,zn=xe>sn?3:4;if(An.indexOf(Nr)===-1)return null;if(console.log("change1:",ga,$a,cr,Fa,Cn,xe,sn,Nr),Cn>=0&&Fa.ch-Cn<5){var cn=Cn+zn;return Tn.replaceRange("",{line:Fa.line,ch:Cn},{line:Fa.line,ch:cn}),{line:Fa.line,ch:cn}}return null}(0,b.useEffect)(()=>{if(mn){let $a=function(ga,Tn){const Fa=ga.getValue();Qa(Fa),Ga(new Date().getTime()),ga.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),yt&&(Jn?yt(Fa,qr(Fa)):yt(Fa))};return mn.on("change",$a),()=>{mn.off("change",$a)}}},[mn,yt]),(0,b.useEffect)(()=>{if(mn)if(st==null)mn.setValue(""),Qa("");else{const $a=window.scrollY||window.pageYOffset;st!==mn.getValue()&&(mn.setValue(st),Qa(st),mn.setCursor(kn?1:mn.lineCount(),0),window.scrollTo(0,$a))}},[mn,st]);const wr=(0,b.useCallback)($a=>{const ga=mn.getCursor(),Tn=mn.getSelection();let Fa=Tn.split(`
`);switch($a){case"bold":return mn.replaceSelection("**"+Tn+"**"),Tn===""&&mn.setCursor(ga.line,ga.ch+2),mn.focus();case"italic":return mn.replaceSelection("*"+Tn+"*"),Tn===""&&mn.setCursor(ga.line,ga.ch+1),mn.focus();case"code":return mn.replaceSelection("`"+Tn+"`"),Tn===""&&mn.setCursor(ga.line,ga.ch+1),mn.focus();case"inline-latex":return za("inline-latex"),mn.focus();case"latex":return mn.replaceSelection("```latex\n"+Tn+"\n```"),mn.setCursor(ga.line+1,Tn.length+1),mn.focus();case"line-break":return mn.replaceSelection(`<br/>
`),mn.focus();case"list-ul":return Tn===""?mn.replaceSelection("- "+Tn):mn.replaceSelection(Fa.map(cr=>cr===""?"":`- ${cr}`).join(`
`)),mn.focus();case"list-ol":return Tn===""?mn.replaceSelection("1. "+Tn):mn.replaceSelection(Fa.map((cr,Nr)=>cr===""?"":`${Nr+1}. ${cr}`).join(`
`)),mn.focus();case"add-null-ch":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(qt),mn.focus();case"add-signal":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(Fn),mn.focus();case"add-multiple":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(An),mn.focus();case"inster-template-1":return Tn===""&&mn.setCursor(ga.line,ga.ch),mn.replaceSelection(Xn),mn.focus();case"eraser":return mn.setValue(""),mn.focus();case"trigger-watch":return Vn(!Ja),mn.focus();case"trigger-full-screen":return xa(!sa),mn.focus();case Ot:za(Ot);return;case bn:za(bn);return;case Pt:za(Pt);return;case fn:za(fn);return;case"maths-latex":za("maths-latex");return;case Nt:za(Nt);return;case Ln:za(Ln);return;default:throw new Error}},[mn,Ja,sa]),dr=(0,b.useCallback)(($a,ga)=>{var Tn,Fa,cr,Nr,xe,sn;switch(za(""),aa){case Ot:const{title:Zn,link:Nn}=$a;return mn.replaceSelection(`[${Zn}](${Nn})`),mn.focus();case bn:const{language:Gn,content:Mn}=$a;return mn.replaceSelection(["```"+Gn,Mn,"```"].join(`
`)),mn.focus();case"maths-latex":for(var Cn=atob($a),zn=new Uint8Array(Cn.length),cn=0;cn<Cn.length;cn++)zn[cn]=Cn.charCodeAt(cn);var ra=new Blob([zn],{type:"image/png"});(0,nt.I)(ra,Co=>{Co.id?mn.replaceSelection(`![,](/api/attachments/${Co.id}?type=${Co.content_type})`):(Co==null?void 0:Co.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":mn.replaceSelection("`$$"+$a+"$$`");break;case Pt:case fn:case Pn:const{src:fa,alt:wa}=$a,Pa=ga,Ar=(cr=(Fa=(Tn=Pa==null?void 0:Pa.name)==null?void 0:Tn.split("."))==null?void 0:Fa.pop)==null?void 0:cr.call(Fa);return((Nr=Pa==null?void 0:Pa.type)==null?void 0:Nr.indexOf("image"))>-1||!(Pa!=null&&Pa.type)?wa?mn.replaceSelection(`![ ${wa} ]( ${fa} "${wa}" )`):mn.replaceSelection(`![,](${fa})`):((xe=Pa==null?void 0:Pa.type)==null?void 0:xe.indexOf("video"))>-1?mn.replaceSelection(`<video width="100%" controls src="${fa}"></video>`):((sn=Pa==null?void 0:Pa.type)==null?void 0:sn.indexOf("pdf"))>-1?mn.replaceSelection(`<a href="${fa}?type=${Pa.type}&disposition=inline" target="_blank">${Pa.name}</a>`):Ze.includes(Ar)?mn.replaceSelection(`<a href="${fa}?type=office&disposition=inline" target="_blank">${Pa.name}</a>`):mn.replaceSelection(`[${Pa.name}](${fa})`),mn.focus();case Ln:const{row:fr,col:Or,align:$r}=$a;let uo=`
`;for(let Co=0;Co<fr;Co++){let pi=[],gi=[];for(let ri=0;ri<Or;ri++)Co===1&&gi.push(oa[$r]),pi.push(" ");Co===1&&(uo+=`| ${gi.join(" | ")} |
`),uo+=`| ${pi.join(Or===1?"":" | ")} |
`}return mn.replaceSelection(uo+`
`),mn.focus();default:throw new Error}},[mn,aa]),Qr=(0,b.useMemo)(()=>{switch(aa){case Ot:return b.createElement(an,{callback:dr,onCancel:ro});case bn:return b.createElement(En.Z,{callback:dr,onCancel:ro});case Pt:return b.createElement(nt.Z,{callback:dr,onCancel:ro});case Nt:return b.createElement(bt,{callback:dr,onCancel:ro});case Ln:return b.createElement(De,{callback:dr,onCancel:ro});case"maths-latex":return b.createElement(ln,{showSaveButton:!0,callback:dr});case"inline-latex":return b.createElement(on.Z,{showSaveButton:!0,callback:dr});default:return null}},[aa]);function ro(){za("")}(0,b.useEffect)(()=>{if(Xr.current){let $a=function(xe){cr=!0,Nr=xe.pageY},ga=function(){cr=!1},Tn=function(xe){if(cr){let sn=xe.pageY-Nr;sn<0&&(sn=0),sn>300&&(sn=300);let Cn=rn+sn+"px";Ua(Cn)}},Fa=Xr.current,cr=!1,Nr=0;return Fa.addEventListener("mousedown",$a),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",ga),()=>{Fa.removeEventListener("mousedown",$a),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",ga)}}},[mn,Xr]),(0,b.useEffect)(()=>{Ua(rn)},[rn]);const xo=It(ct),To=It(mr),ko={width:xo,height:To},Ir=(0,b.useMemo)(()=>{if(ar){let $a=new Date(ar),ga=$a.getHours(),Tn=$a.getMinutes(),Fa=$a.getSeconds();return ga=ga<10?"0"+ga:ga,Tn=Tn<10?"0"+Tn:Tn,Fa=Fa<10?"0"+Fa:Fa,`${ga}:${Tn}:${Fa}`}return 0},[ar]),qr=$a=>{const ga=[];if(Jn){let Tn=-1;$a=$a.replace(/(@▁▁@|@▁@)/g,function(Fa,cr,Nr){ga.push({multiLine:Fa!==Fn})})}return ga};function Zo(){window.sessionStorage.removeItem($t),kr(!1),Ga(0)}function Ao(){kr(!1),Ga(0),mn.setValue(window.sessionStorage.getItem($t))}(0,b.useEffect)(()=>{jt[aa]&&aa!==fn&&aa!==Nt&&setTimeout(()=>{const $a=document.getElementsByClassName("markdown-popup-form")[0],ga=window.innerWidth/2-$a.offsetWidth/2,Tn=window.innerHeight/2-$a.offsetHeight/2;hr(ga),ur(Tn)},0)},[aa]);const Go=$a=>{$a.preventDefault();const ga=$a.clientX-Zr,Tn=$a.clientY-Fr;document.body.onmousemove=Fa=>{let cr=Fa.clientX-ga,Nr=Fa.clientY-Tn;const xe=document.getElementsByClassName("markdown-popup-form")[0],sn=window.innerWidth-xe.offsetWidth,Cn=window.innerHeight-xe.offsetHeight;cr=Math.max(0,Math.min(cr,sn)),Nr=Math.max(0,Math.min(Nr,Cn)),ai(Fa.clientX,Fa.clientY,ga,Tn)&&(hr(cr),ur(Nr))},document.body.onmouseup=function(){document.body.onmousemove=null}},ai=($a,ga,Tn,Fa)=>{const cr=document.body.clientHeight,Nr=document.body.clientWidth;return $a<20&&Tn>$a||$a>Nr-20&&Tn<$a||ga<20&&Fa>ga||ga>cr-20&&Fa<ga?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return b.createElement(b.Fragment,null,b.createElement("div",{className:"markdown-editor-wrapper",ref:xr},b.createElement("div",{className:`markdown-editor-container ${Sn} ${Ja?"on-preview":""} ${In?"mini":""} ${sa?"full-screen":""}`,style:ko},b.createElement(Pe,{insertTemp:Un,watch:Ja,fullScreen:sa,showNullButton:_n,showNullProgramButton:Jn,onActionCallback:wr,hidetoolBar:Ma,extraUse:La}),b.createElement("div",{className:"markdown-editor-body"},b.createElement("div",{className:"codemirror-container"},b.createElement("textarea",{ref:Ra,placeholder:wn})),Ja?b.createElement("div",{ref:br,className:"preview-container"},lt==="stex"&&b.createElement(tt,{value:na}),lt!=="stex"&&b.createElement(Qe.Z,{disabledFill:Dn,showProgramFill:Jn,value:na})):null))),qn?b.createElement("a",{ref:Xr,className:"editor-resize"}):null,aa===fn&&b.createElement(vn,{callback:dr,onCancel:ro}),aa===Nt&&b.createElement(bt,{callback:dr,onCancel:ro}),b.createElement(je.Z,null,jt[aa]&&aa!==fn&&aa!==Nt?b.createElement(et.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Zr,top:Fr},title:b.createElement("div",{style:{cursor:"move"},onMouseDown:Go},jt[aa]),open:!0,onCancel:ro,footer:null,destroyOnClose:!0,width:aa===Nt?"1200px":null,height:aa===Nt?"80vh":null,className:"markdown-popup-form"},Qr):null))}},56701:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ne},I:function(){return ie}});var b=te(78241),ue=te(8591),Be=te(92832),Te=te(3113),Ie=te(58788),Oe=te(59301),le=te(59301),ut=Object.defineProperty,ot=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,Qe=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,se=(de,pe,Pe)=>pe in de?ut(de,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):de[pe]=Pe,y=(de,pe)=>{for(var Pe in pe||(pe={}))tt.call(pe,Pe)&&se(de,Pe,pe[Pe]);if(Qe)for(var Pe of Qe(pe))Je.call(pe,Pe)&&se(de,Pe,pe[Pe]);return de},a=(de,pe)=>ot(de,Ue(pe));const{useForm:x}=b.default,E={width:280,marginRight:10},z={labelCol:{span:5},wrapperCol:{span:19}};var ne=({callback:de,onCancel:pe})=>{const[Pe]=x();let je=(0,Oe.useRef)();function Le(Me){de(Me,je.current)}function Ye(Me,qe){if(Me.status===-1){ue.ZP.error(Me.message);return}Pe.setFieldsValue({src:`/api/attachments/${Me.id}`,type:qe.type})}function Se(Me){let qe=Me.target.files[0];je.current=qe,ie(qe,Ye)}return le.createElement(b.default,a(y({form:Pe},z),{className:"upload-image-panel",onFinish:Le,style:{width:470,overflow:"hidden"}}),le.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},le.createElement("div",{className:"flex-container"},le.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},le.createElement(Be.default,{style:E})),le.createElement(re,{onFileChange:Se}))),le.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},le.createElement(Be.default,{style:{width:264}})),le.createElement(b.default.Item,{style:{textAlign:"right"}},le.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(Te.ZP,{type:"default",onClick:pe},"\u53D6\u6D88")))};function re({onFileChange:de}){return le.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",le.createElement("input",{type:"file",onChange:de}))}function ie(de,pe){if(!de)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!isLogin())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Pe=new FormData;Pe.append("editormd-image-file",de),Pe.append("file_param_name","editormd-image-file"),Pe.append("byxhr","true");var je=new window.XMLHttpRequest;je.withCredentials=!0,je.addEventListener("load",function(Le){pe(JSON.parse(Le.target.responseText),de)},!1),je.addEventListener("error",function(Le){console.error(Le)},!1),je.open("POST",`${Ie.KI}/api/attachments.json`),je.send(Pe)}},50474:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Be}});var b=te(59301),ue=te(4676);class Be extends b.Component{constructor(Ie){super(Ie);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:Ie}=this.props;return(0,ue.createPortal)(Ie,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},92730:function(Ut,Gt,te){"use strict";te.d(Gt,{i:function(){return ie},Z:function(){return pe}});var b={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},ue=te(71418),Be=te(6848),Te=te(92310),Ie=te.n(Te),Oe=te(58130),le=te(97267),ut=te(2119),ot="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeC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6\u4E00\u6D41",ptimg:Je,swimg:se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var pe=({className:Pe,dataSource:je=[],col:Le=4,right:Ye,bottom:Se=23,precision:Me=0,wrapWidth:qe=1200,trackEventItems:ht,loading:Ae,onRemove:mt=()=>{},isCurrent:At=!0,showAlias:Et=!1})=>{const dt=Math.floor((qe-(Le-1)*Ye)/Le),Qt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return re.createElement(ue.Z,{spinning:Ae},re.createElement("div",{className:Ie()(b.list,Pe)},!!(je!=null&&je.length)&&(je==null?void 0:je.map((St,an)=>{var En;const{name:nt,id:et,identifier:Yt,featured:hn,school_name:Tt,image_url:vn,excellent:Ge,is_plan:Dt}=St;return re.createElement("div",{key:et,className:b.wrap,style:{width:dt,marginRight:(1+an)%Le===0?0:Ye+Me,marginBottom:Se}},re.createElement("a",{className:b.li,onClick:Kt=>{Kt.preventDefault(),Kt.stopPropagation(),ht&&(0,Oe.L9)([ht]),(0,Oe.xg)(`/paths/${Yt}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${vn}`}),At&&(0,ut.bg)()&&(St==null?void 0:St.studying)&&re.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Kt=>{Kt.stopPropagation(),mt(St)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(En=St==null?void 0:St.subject_tags)==null?void 0:En.map((Kt,Mt)=>{var pt,rt;if(Mt===0){const ve=(pt=Qt.find(fe=>fe.name==Kt))==null?void 0:pt.swimg;return re.createElement("img",{className:b.sign,src:ve,style:{left:"-4px"}})}const _e=(rt=Qt.find(ve=>ve.name==Kt))==null?void 0:rt.ptimg;return re.createElement("img",{className:b.sign,src:_e,style:{left:`${48+52*(Mt-1)+2*Mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(St==null?void 0:St.excellent)&&re.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:b.name},re.createElement(Be.Z,{title:Et&&(St!=null&&St.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${nt}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${St==null?void 0:St.excellent_alias_name}`)):nt},re.createElement("span",{className:b.e},Et&&(St==null?void 0:St.excellent_alias_name)||nt))),re.createElement("div",{className:b.tags},re.createElement("div",null,re.createElement(Be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,St.stages_count))),re.createElement(Be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,St.members_count)))))))})),!je.length&&re.createElement(le.Z,null)))}},78258:function(Ut,Gt,te){"use strict";te.d(Gt,{jL:function(){return Ie},w9:function(){return St},QD:function(){return on},cQ:function(){return mt.Z},op:function(){return De},O5:function(){return Xn},_b:function(){return fn},t7:function(){return E},Gi:function(){return hn},YG:function(){return et},qp:function(){return Qe},vr:function(){return Ot},qE:function(){return en},Je:function(){return re},wb:function(){return Ae},cq:function(){return Mt},tp:function(){return se}});var b=te(59301),ue={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5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yZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ie=({dataSource:Ze=[],img:It,imgWidth:Zt=346,title:Wt,sunTitle:tn,bannerExtraContent:jt})=>b.createElement("div",{className:ue.banner},b.createElement("div",{className:ue.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Wt),b.createElement("span",null,tn)),Ze.length>0&&b.createElement("div",{className:ue.btns},Ze.map((pn,st)=>b.createElement("div",{key:st,onClick:pn.click},pn.name,pn.sign?b.createElement("img",{src:Be,width:39}):null))),jt),It&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:It,width:Zt}))),Oe={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},le=te(92310),ut=te.n(le),ot=te(89392),Qe=({dataSource:Ze=[],value:It,onChange:Zt,onTitleChange:Wt,className:tn,title:jt,titleWidth:pn=41,style:st={},fontColor:yt="#6A7283",showCount:ct})=>{const[rn,In]=(0,b.useState)(0),[yn,ia]=(0,b.useState)(!1),Un=(0,b.useRef)(null),lt=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var $t;Ze.length!==0&&((($t=Un==null?void 0:Un.current)==null?void 0:$t.clientHeight)>97?In(1):In(0)),Ze.length===0&&In(0),ia(!1)},[Ze]),b.createElement("div",{className:ut()(Oe.row,tn),style:st},b.createElement("div",{onClick:(0,ot.throttle)(()=>Wt==null?void 0:Wt(),2e3),style:{width:pn,marginTop:yn?12:4},className:`${Oe.title} ${Wt?"current":""}`},jt),b.createElement("div",{className:yn?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},b.createElement("div",{className:Oe.bar,ref:lt,style:rn>0?{height:rn===1?97:"auto",overflow:rn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:Oe.tag,ref:Un},Ze==null?void 0:Ze.map($t=>b.createElement("span",{onClick:()=>Zt($t.id),key:$t.id,style:{color:yt},className:It===$t.id?Oe.active:""},b.createElement("span",{title:$t.name,className:Oe.name},$t.name),!!ct&&b.createElement("span",{className:Oe.num},$t.count))))),!!rn&&b.createElement(b.Fragment,null,rn===1?b.createElement("div",{onClick:()=>{var $t;In(2),(($t=Un==null?void 0:Un.current)==null?void 0:$t.clientHeight)>245?ia(!0):ia(!1)},className:Oe.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{lt.current.scrollTop=0,In(1),ia(!1)},className:Oe.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},tt={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},se=({dataSource:Ze=[],value:It,onChange:Zt,className:Wt,style:tn={}})=>b.createElement("div",{style:tn,className:ut()(tt.tabs,Wt)},Ze.map(jt=>b.createElement("span",{onClick:()=>Zt(jt.id),className:It===jt.id?tt.active:"",key:jt.id},jt.name))),y={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=te(92832),E=({dataSource:Ze=[],value:It="",onChange:Zt,onInputChange:Wt=()=>{},className:tn,style:jt={},placeholder:pn,allowClear:st=!1})=>{var yt;const[ct,rn]=(0,b.useState)(""),[In,yn]=(0,b.useState)("");(0,b.useEffect)(()=>{var lt;let $t=It;(lt=JSON.stringify(It))!=null&&lt.includes("{")&&(rn(It.id),$t=It.value||"");try{yn(decodeURIComponent($t||""))}catch(qn){yn(decodeURIComponent($t||""))}},[It]);const ia=()=>{Zt(encodeURIComponent(In),ct||null)},Un=lt=>{lt!==ct&&(rn(lt),Zt(encodeURIComponent(In),lt))};return b.createElement("div",{className:ut()(y.input,tn),style:jt},!!Ze.length&&b.createElement("div",{className:y.dropdown},b.createElement("div",{className:y.text},(yt=Ze.find(lt=>lt.id===ct))==null?void 0:yt.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:y.b1}),b.createElement("b",{className:y.b2})),b.createElement("div",{className:y.menu},Ze.map((lt,$t)=>b.createElement("div",{key:$t,onClick:()=>Un(lt.id)},lt.name)))),b.createElement(a.default,{onPressEnter:ia,value:In,onChange:lt=>{yn(lt.target.value),Wt(encodeURIComponent(lt.target.value),ct||null)},bordered:!1,placeholder:pn}),b.createElement("i",{onClick:ia,className:"iconfont icon-sousuo9 font14 pl10 current"}))},z={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},re=({value:Ze,onChange:It,className:Zt,total:Wt,pageSize:tn,style:jt={}})=>{const pn=Ze<2,st=Ze>=Math.ceil(Wt/tn);return Wt<=tn?b.createElement(b.Fragment,null):b.createElement("div",{className:ut()(z.quickPager,Zt),style:jt},b.createElement("div",{onClick:()=>{pn||It(Ze-1,"prev")},className:pn?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{st||It(Ze+1,"next")},className:st?z.disabled:""},"\u4E0B\u4E00\u9875"))},ie={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},de=te(71418),pe=te(6848),Pe=te(39978),je=te(10148),Le=te(58130),Ye=te(96908),Se=te(57177),Me=te(81378),qe=te(97267),Ae=({className:Ze,dataSource:It=[],col:Zt=4,right:Wt,bottom:tn=23,precision:jt=0,wrapWidth:pn=1200,trackEventItems:st,loading:yt})=>{const ct=Math.floor((pn-(Zt-1)*Wt)/Zt);return b.createElement(de.Z,{spinning:yt},b.createElement("div",{className:ut()(ie.list,Ze)},!!It.length&&It.map((rn,In)=>{const{name:yn,id:ia,identifier:Un,power:lt,cover_image_id:$t,pic:qn}=rn;return b.createElement("div",{className:ie.wrap,key:ia,style:{width:ct,marginRight:(1+In)%Zt===0?0:Wt+jt,marginBottom:tn}},b.createElement("a",{target:"_blank",href:`/shixuns/${Un}/challenges`,className:ie.li,onClick:nn=>{nn.preventDefault(),st&&(0,Le.L9)([st]),lt&&(0,Le.xg)(`/shixuns/${Un}/challenges`)}},b.createElement("div",{className:ie.img},b.createElement("img",{className:ie.cover,src:`${qn}`}),rn.is_jupyter&&b.createElement("img",{className:ie.sign,src:Ye}),rn.is_jupyter_lab&&b.createElement("img",{className:ie.sign,src:Se}),rn.is_unity_3d&&b.createElement("img",{className:ie.sign,src:Me})),b.createElement("div",{className:ie.name},b.createElement(pe.Z,{title:yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ie.e},yn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ie.tags},b.createElement(pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,rn.challenges_count))),!!rn.myshixuns_count&&b.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),b.createElement("span",null,rn.myshixuns_count))),b.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,rn.level))),b.createElement("div",{className:ie.rate},b.createElement(Pe.Z,{allowHalf:!0,disabled:!0,defaultValue:rn.score_info}),b.createElement("span",null,"\xA0",rn.score_info?`${rn.score_info}\u5206`:"5\u5206")))),!lt&&b.createElement("div",{className:ie.lockWrap},b.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),b.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!It.length&&b.createElement(qe.Z,null)))},mt=te(92730),At={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45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p5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",dt=te(59301),St=({className:Ze,dataSource:It=[],col:Zt=4,right:Wt,bottom:tn=23,precision:jt=0,wrapWidth:pn=1200,trackEventItems:st,loading:yt})=>{const ct=Math.floor((pn-(Zt-1)*Wt)/Zt);return dt.createElement(de.Z,{spinning:yt},dt.createElement("div",{className:ut()(At.list,Ze)},!!It.length&&It.map((rn,In)=>{const{subject_identifier:yn,id:ia,identifier:Un,power:lt}=rn,$t=rn.is_public!=0&&rn.is_public;return dt.createElement("div",{className:At.wrap,key:ia,style:{width:ct,marginRight:(1+In)%Zt===0?0:Wt+jt,marginBottom:tn}},dt.createElement("a",{className:At.li,onClick:qn=>{qn.preventDefault(),st&&(0,Le.L9)([st]),(0,Le.xg)(rn.first_category_url)}},dt.createElement("div",{className:At.top},dt.createElement(pe.Z,{title:rn.name},dt.createElement("div",{className:At.name},rn.name)),dt.createElement("img",{className:At.img,src:je.Z.IMG_SERVER+"/images/"+rn.avatar_url}),dt.createElement("div",{className:At.text,title:rn.creator},rn.creator),yn&&dt.createElement("div",{className:At.btns},dt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),dt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),$t&&dt.createElement("div",{className:At.sign},"\u516C\u5F00")),dt.createElement("div",{className:At.bottom},rn.visits>0&&dt.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},dt.createElement("span",null,dt.createElement("i",{className:"iconfont icon-liulanyan"}),dt.createElement("span",null,rn.visits))),rn.course_members_count>0&&dt.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},dt.createElement("span",null,dt.createElement("i",{className:"iconfont icon-chengyuan"}),rn.course_members_count)),rn.tasks_count>0&&dt.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},dt.createElement("span",null,dt.createElement("i",{className:"iconfont icon-zuoye"}),rn.tasks_count)),rn.is_end?dt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):dt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!rn.is_accessible&&dt.createElement("div",{className:At.lockWrap},dt.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),dt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!It.length&&dt.createElement(qe.Z,null)))},an={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},En=te(42203),et=({dataSource:Ze=[],value:It,onChange:Zt,className:Wt,style:tn={},tabBarExtraContent:jt})=>b.createElement("div",{className:ut()(an.tabs,Wt),style:tn},b.createElement("div",{className:an.tabsWrap},Ze.map((pn,st)=>b.createElement("aside",{className:an.tab,onClick:()=>{Zt(pn.id),pn.link&&En.history.push(pn.link)},key:st},b.createElement("div",{className:It===pn.id?an.active:""},pn.name),(pn==null?void 0:pn.resetCount)==null&&(pn==null?void 0:pn.total)!==void 0&&b.createElement("span",null,"\uFF08",pn==null?void 0:pn.total,"\uFF09"),(pn==null?void 0:pn.resetCount)!==void 0&&(pn==null?void 0:pn.total)!==void 0&&b.createElement(pe.Z,{title:(pn==null?void 0:pn.tip)!=null?pn==null?void 0:pn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},pn==null?void 0:pn.resetCount),"/",b.createElement("span",null,pn==null?void 0:pn.total),"\uFF09"))))),b.createElement("div",{className:an.tabBar},jt)),hn=({className:Ze,style:It={},children:Zt})=>b.createElement("div",{className:ut()(Ze),style:It},Zt),Tt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},vn=te(38854),Ge=te(20834);const Dt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Mt=({sortValue:Ze,dropValue:It,className:Zt,onSort:Wt,onDrop:tn,dataSource:jt=Dt})=>{var pn;return b.createElement("div",{className:ut()(Tt.orderWrap,Zt)},b.createElement(vn.Z,{dropdownRender:()=>b.createElement(Ge.default,null,jt.map((st,yt)=>b.createElement(Ge.default.Item,{key:yt,onClick:()=>tn(st.id)},st.name)))},b.createElement("span",{className:Tt.orderTextWrap},(pn=jt.find(st=>It===st.id))==null?void 0:pn.name)),b.createElement("span",{className:Tt.orderIconWrap},b.createElement("span",{className:Tt.orderAsc},b.createElement("i",{className:Ze==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Tt.cursorPointer} ${Tt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Tt.cursorPointer}`,onClick:()=>Wt(Ze==="asc"?"desc":"asc")})),b.createElement("span",{className:Tt.orderDesc},b.createElement("i",{className:Ze==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Tt.cursorPointer} ${Tt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Tt.cursorPointer}`,onClick:()=>Wt(Ze==="asc"?"desc":"asc")}))))},pt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},rt=te(3113),_e=Object.defineProperty,ve=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,bt=(Ze,It,Zt)=>It in Ze?_e(Ze,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ze[It]=Zt,Fe=(Ze,It)=>{for(var Zt in It||(It={}))fe.call(It,Zt)&&bt(Ze,Zt,It[Zt]);if(ve)for(var Zt of ve(It))Xe.call(It,Zt)&&bt(Ze,Zt,It[Zt]);return Ze},Ce=(Ze,It)=>{var Zt={};for(var Wt in Ze)fe.call(Ze,Wt)&&It.indexOf(Wt)<0&&(Zt[Wt]=Ze[Wt]);if(Ze!=null&&ve)for(var Wt of ve(Ze))It.indexOf(Wt)<0&&Xe.call(Ze,Wt)&&(Zt[Wt]=Ze[Wt]);return Zt},at=(Ze,It,Zt)=>new Promise((Wt,tn)=>{var jt=yt=>{try{st(Zt.next(yt))}catch(ct){tn(ct)}},pn=yt=>{try{st(Zt.throw(yt))}catch(ct){tn(ct)}},st=yt=>yt.done?Wt(yt.value):Promise.resolve(yt.value).then(jt,pn);st((Zt=Zt.apply(Ze,It)).next())}),De=Ze=>{var It=Ze,{className:Zt,style:Wt,children:tn,loading:jt=!1,openLoading:pn,onClick:st=()=>{},size:yt="middle",shape:ct="round"}=It,rn=Ce(It,["className","style","children","loading","openLoading","onClick","size","shape"]);const[In,yn]=(0,b.useState)(!1);return b.createElement(rt.ZP,Fe({onClick:(0,ot.throttle)(ia=>at(void 0,null,function*(){pn&&yn(!0);try{yield st(ia)}catch(Un){console.log("error",Un)}pn&&yn(!1)}),2e3,{leading:!0,trailing:!1}),className:ut()(pt.btn,pt[`${yt}-${ct}`],Zt),style:Wt,size:yt,shape:ct,loading:In||jt},rn),tn)},gt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},en=({className:Ze,style:It,children:Zt=null,onClick:Wt,title:tn})=>b.createElement("div",{className:ut()(gt.head,Ze),style:It},b.createElement("span",{className:"primary-hover",onClick:Wt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:tn},tn),b.createElement("div",{className:gt.node},Zt)),zt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},on=({confirmShow:Ze=!0,confirmTitle:It,confirmClick:Zt,cancelShow:Wt=!0,cancelTitle:tn,cancelClick:jt,className:pn,style:st,confirmLoading:yt=!1})=>b.createElement("div",{className:ut()(zt.btns,pn),style:st},Ze&&b.createElement(rt.ZP,{loading:yt,onClick:Zt,type:"primary",className:zt.confirm},It),Wt&&b.createElement(rt.ZP,{onClick:jt,className:zt.cancel},tn)),ze={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Ot=({className:Ze,style:It={},LeftContent:Zt,children:Wt,RightContent:tn})=>b.createElement("div",{className:ut()(ze.fixedBottom,Ze),style:It},b.createElement("div",{className:ze.wrap},b.createElement("div",{className:ze.left},Zt),b.createElement("div",{className:ze.center},Wt),b.createElement("div",{className:ze.right},tn))),Pt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},fn=({className:Ze,style:It={},dataSource:Zt=[]})=>b.createElement("div",{className:ut()(Pt.crumbs,Ze),style:It},Zt.map((Wt,tn)=>tn<Zt.length-1?b.createElement(b.Fragment,{key:tn},Wt.path||Wt.onClick?b.createElement("span",{className:Pt.hover,onClick:Wt!=null&&Wt.onClick?Wt.onClick:()=>En.history.push(Wt.path)},Wt.name):b.createElement("span",null,Wt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:tn,style:{color:"#5F6368"}},Wt.name))),Pn=te(31797),bn=Object.defineProperty,Ln=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,oa=Object.getOwnPropertySymbols,jn=Object.prototype.hasOwnProperty,Ea=Object.prototype.propertyIsEnumerable,pa=(Ze,It,Zt)=>It in Ze?bn(Ze,It,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Ze[It]=Zt,Hn=(Ze,It)=>{for(var Zt in It||(It={}))jn.call(It,Zt)&&pa(Ze,Zt,It[Zt]);if(oa)for(var Zt of oa(It))Ea.call(It,Zt)&&pa(Ze,Zt,It[Zt]);return Ze},Ba=(Ze,It)=>Ln(Ze,ta(It)),qt=(Ze,It)=>{var Zt={};for(var Wt in Ze)jn.call(Ze,Wt)&&It.indexOf(Wt)<0&&(Zt[Wt]=Ze[Wt]);if(Ze!=null&&oa)for(var Wt of oa(Ze))It.indexOf(Wt)<0&&Ea.call(Ze,Wt)&&(Zt[Wt]=Ze[Wt]);return Zt};const{Countdown:An}=Pn.default;var Xn=Ze=>{var It=Ze,{onChange:Zt}=It,Wt=qt(It,["onChange"]);const[tn,jt]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof tn=="number"&&tn>=0&&Zt(tn)},[tn]);const pn=st=>{const yt=Math.floor(st/1e3);jt(yt)};return b.createElement(An,Ba(Hn({},Wt),{onChange:pn}))}},91300:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ue}});var b=te(59301);function ue(Be,Te){const Ie=(0,b.useRef)();(0,b.useEffect)(()=>{Ie.current=Be}),(0,b.useEffect)(()=>{function Oe(){Ie.current()}if(Te!==null){let le=setInterval(Oe,Te);return()=>clearInterval(le)}},[Te])}},89197:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return y}});var b=te(59301),ue=te(8591),Be=te(43418),Te=te(19842),Ie=te(24645),Oe=te(3113),le=te(10148),ut=te(58130),ot=te(70635),Ue=te(42203),Qe={customModal:"customModal___bVzUV",content:"content___oKhZq",upload:"upload___nPxEL",infoText:"infoText___gZEJF",okBtn:"okBtn___CVo2A",fileList:"fileList___tauGN",fileName:"fileName___T_8JX",selectitems:"selectitems___imW2Y"},tt=te(59301),Je=(a,x,E)=>new Promise((z,ne)=>{var re=pe=>{try{de(E.next(pe))}catch(Pe){ne(Pe)}},ie=pe=>{try{de(E.throw(pe))}catch(Pe){ne(Pe)}},de=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(re,ie);de((E=E.apply(a,x)).next())}),y=({visible:a,onOk:x,onCancel:E,sub_discipline_id:z=[]})=>{const[ne,re]=(0,b.useState)([]),[ie,de]=(0,b.useState)(!1),pe=(0,Ue.useParams)(),[Pe,je]=(0,b.useState)([]),[Le,Ye]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?Se():(Ye([]),re([]),de(!1))},[a]);const Se=()=>Je(void 0,null,function*(){const At=yield(0,ot.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});je(At.disciplines||[]),Ye((z==null?void 0:z.length)>0?z:[])}),Me=()=>{if((Le==null?void 0:Le.length)===0)return ue.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Le),de(!0),x(ne,Le[1],()=>{de(!1)})},qe=()=>{E()},ht=()=>{const At=`${le.Z.API_SERVER}/api/courses/${pe.coursesId}/exercises/down_template`;(0,ut.Nd)(null,At)},Ae=At=>{const Et={name:At.name,uid:At.uid,file:At};return re([Et]),!1},mt=()=>{re([])};return tt.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Me,centered:!0,wrapClassName:Qe.customModal,onCancel:qe,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Qe.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ie},tt.createElement("div",{className:Qe.content},tt.createElement("aside",null,tt.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),tt.createElement("ul",null,tt.createElement("li",null,tt.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),tt.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:ht},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),tt.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:ht,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),tt.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),tt.createElement("li",{className:Qe.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),tt.createElement("li",{className:Qe.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),tt.createElement("li",{className:Qe.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),tt.createElement("li",{className:Qe.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),tt.createElement("aside",{style:{marginTop:22}},tt.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),tt.createElement("ul",{style:{flex:1}},tt.createElement("li",{style:{color:"#5F6367"}},"\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF0C\u4E0A\u4F20\u7F16\u8F91\u597D\u7684\u8BD5\u9898\u6587\u6863\uFF0C\u786E\u5B9A\u5BFC\u5165"),a&&tt.createElement(tt.Fragment,null,tt.createElement(Te.Z,{value:Le,className:Qe.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Pe,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(At,Et)=>{Ye(At||[])}}),tt.createElement("br",null),tt.createElement(Ie.default,{action:`${le.Z.API_SERVER}/api/attachments.json`,beforeUpload:Ae,onRemove:mt,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},tt.createElement(Oe.ZP,{className:Qe.upload,type:"primary",icon:tt.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((At,Et)=>tt.createElement("div",{key:Et,className:Qe.fileList},tt.createElement("span",{className:Qe.fileName},At==null?void 0:At.name),tt.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:mt})))))))}},38600:function(Ut,Gt,te){"use strict";te.d(Gt,{h:function(){return b}});var b=(ue=>(ue[ue.NOMATCH=-1]="NOMATCH",ue[ue.OK=0]="OK",ue[ue.TIMEOUT=2]="TIMEOUT",ue[ue.PODFAILURE=3]="PODFAILURE",ue[ue.COMPILEFAILURE=4]="COMPILEFAILURE",ue[ue.EXECUTEFAILURE=5]="EXECUTEFAILURE",ue[ue.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ue))(b||{})},22267:function(Ut,Gt,te){"use strict";te.d(Gt,{H7:function(){return y},MK:function(){return se},MU:function(){return Ue},X6:function(){return tt},bM:function(){return ot},fi:function(){return a},fu:function(){return ut},n4:function(){return x},rX:function(){return Je},vl:function(){return E},zO:function(){return Qe}});var b=te(70635),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Oe=(z,ne,re)=>ne in z?ue(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Te.call(ne,re)&&Oe(z,re,ne[re]);if(Be)for(var re of Be(ne))Ie.call(ne,re)&&Oe(z,re,ne[re]);return z};function ut(z,ne){return(0,b.U2)(`myproblems/${z}.json`,le({hidePopLogin:!0},ne||{}))}function ot(z,ne){return(0,b.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ue(z,ne){return(0,b.v_)(`myproblems/${z}/code_debug.json`,ne)}function Qe(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,ne)}function tt(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Je(z,ne){return(0,b.U2)(`myproblems/${z}/result.json`,{mode:ne})}function se(z,ne){return(0,b.v_)(`myproblems/${z}/add_notes.json`,ne)}function y(z,ne){return(0,b.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,b.v_)(`myproblems/${z}/sync_code.json`)}function x(z,ne){return(0,b.v_)(`myproblems/${z}/update_code.json`,ne)}function E(z,ne){return(0,b.v_)(`discusses/${z}/plus.json`,ne)}},69365:function(Ut,Gt,te){"use strict";var b=te(59301),ue=te(6848),Be=te(92832),Te=te(8591),Ie=te(43167),Oe=te(59301),le=(ot,Ue,Qe)=>new Promise((tt,Je)=>{var se=x=>{try{a(Qe.next(x))}catch(E){Je(E)}},y=x=>{try{a(Qe.throw(x))}catch(E){Je(E)}},a=x=>x.done?tt(x.value):Promise.resolve(x.value).then(se,y);a((Qe=Qe.apply(ot,Ue)).next())});const ut=({defaultValue:ot,onFinish:Ue})=>{const[Qe,tt]=(0,b.useState)(!1),[Je,se]=(0,b.useState)(ot);return(0,b.useEffect)(()=>{se(ot)},[ot]),Oe.createElement("div",null,Qe?Oe.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Je,onChange:y=>{se(y.target.value)},onBlur:()=>le(void 0,null,function*(){var y;if(((y=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:y.length)<=0){Te.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ue(Je))&&tt(!1)}),onPressEnter:()=>le(void 0,null,function*(){var y;if(((y=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:y.length)<=0){Te.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ue(Je))&&tt(!1)})}):Oe.createElement("div",{className:Ie.Z.title},Je,Oe.createElement(ue.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Oe.createElement("i",{className:`${Ie.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>tt(!0)}))))};Gt.Z=ut},9177:function(Ut,Gt,te){"use strict";te.r(Gt),te.d(Gt,{default:function(){return gl},useCourseOptions:function(){return dl}});var b=te(59301),ue=te(42203),Be=te(78241),Te=te(66104),Ie=te(8591),Oe=te(71418),le=te(92832),ut=te(19842),ot=te(24905),Ue=te(5112),Qe=te(88897),tt=te(3113),Je=te(43167),se=te(81349),y=te(69831),a=te(88477),x=te(43418),E=te(20834),z=te(38854),ne=te(6848),re=te(43428),ie={flex_box_center:"flex_box_center___gi93l",flex_space_between:"flex_space_between___mWMLA",flex_box_vertical_center:"flex_box_vertical_center___rk4nc",flex_box_center_end:"flex_box_center_end___B8XxF",flex_box_column:"flex_box_column___AX3Vm",moreSpan:"moreSpan___hbStq",bg:"bg___Ya739",title:"title___BC46y",bottomdiv:"bottomdiv___uaPr6",spanBtn:"spanBtn___jjgnA",addQuestionBtn:"addQuestionBtn___qOlYW",saveBtn:"saveBtn___ulgem",left:"left___i8aTX",leftAction:"leftAction___sQkuq",Button:"Button___auxWm",iconWrapper:"iconWrapper___h3H1m",up:"up___tLyCX",down:"down___T5_aj",disabled:"disabled___GRBbF",titleleft:"titleleft___xZGbq",more_style:"more_style___nhWCX",qcount:"qcount___ID7OA",score:"score___T7dbm",qtitle:"qtitle___qJBFd",qcountclick:"qcountclick___m_VKG",right:"right___CBabI",edit:"edit___WHuql",delete:"delete___Pa6db",shixun:"shixun___oObBe",scoreByBlankRadio:"scoreByBlankRadio___r4AWn",modalconfirm:"modalconfirm___Ru9B_",scoremodal:"scoremodal___BdW7P",close:"close___blHYk",content:"content___jlm9o",items:"items___i3TrH",bottom:"bottom___zMQZ6",yes:"yes___lOPY6",no:"no___gtzKI",formcenter:"formcenter___fCxkm",radiogroup:"radiogroup___oXWHc",easy:"easy___ANNVD",medium:"medium___ov7N3",hard:"hard___n4afW",formcenterselect:"formcenterselect___lYa4f",selectitems1:"selectitems1___Y2Zy4",selectitems:"selectitems___c9Pt5",morebottom:"morebottom____I_ev",scoreinput:"scoreinput___O8EhL",shake:"shake___QxkjH",titleTooltip:"titleTooltip___CAyYg",exercise_styles:"exercise_styles___u40hG"},de=te(58130),pe=te(70635),Pe=te(97267),je=te(32670),Le=te(78018),Ye=te(25711),Se=te(59301),Me=Object.defineProperty,qe=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Et=(he,Ke,Ve)=>Ke in he?Me(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,dt=(he,Ke)=>{for(var Ve in Ke||(Ke={}))mt.call(Ke,Ve)&&Et(he,Ve,Ke[Ve]);if(Ae)for(var Ve of Ae(Ke))At.call(Ke,Ve)&&Et(he,Ve,Ke[Ve]);return he},Qt=(he,Ke)=>qe(he,ht(Ke)),St=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),En=({Itemid:he,setqitem:Ke,qitem:Ve,data:gn,getdata:ua,bigitem:ka,setBigqitem:Ka,isedit:me,handleEditing:ge})=>{const[be,ke]=(0,b.useState)([]),[Ne,He]=(0,b.useState)(!1);(0,b.useEffect)(()=>{gn.length>0&&ke([...gn])},[gn]);const vt=(Bt,it)=>St(void 0,null,function*(){if(me){ge();return}if(!Bt.destination)return;He(!0);let Ht=yield(0,pe.ZP)(`/api/examination_banks/${he}/examination_banks_item_banks/${it==null?void 0:it[Bt.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:he,itemid:it==null?void 0:it[Bt.source.index].question_id,position:Bt.destination.index}});He(!1),Ht.status===0&&ua({id:it==null?void 0:it[Bt.source.index].question_id})});return Se.createElement("div",null,Se.createElement(Le.Z5,{onDragEnd:Bt=>vt(Bt,be)},Se.createElement(Le.bK,{droppableId:"droppable"},(Bt,it)=>Se.createElement("div",dt({ref:Bt.innerRef},Bt.droppableProps),Se.createElement(Oe.Z,{spinning:Ne},be.map((Ht,Ft)=>Se.createElement(Le._l,{key:Ft,draggableId:Ft.toString(),index:Ft},(Xt,Rn)=>{var _t,Lt;return Se.createElement("aside",dt(dt({ref:Xt.innerRef},Xt.draggableProps),Xt.dragHandleProps),Se.createElement(ne.Z,{title:Se.createElement(Ye.Z,{value:(Ht==null?void 0:Ht.question_type)===8?(_t=Ht==null?void 0:Ht.program_attr)==null?void 0:_t.description:Ht.question_title}),color:"#fff",placement:"left",overlayClassName:ie.titleTooltip},Se.createElement("div",{onClick:()=>{if(me){ge();return}Ke(Qt(dt({},Ht),{index:Ft+1})),Ka(ka),(0,de.Vf)("#question-scroll-id")},className:`${ie.qcount} ${Ht.question_id===(Ve==null?void 0:Ve.question_id)?ie.qcountclick:""}`},Se.createElement("span",{className:ie.score},Ht==null?void 0:Ht.question_score,"\u5206"),Se.createElement("span",{className:ie.qtitle},Ft+1,"\u3001",Se.createElement(Ye.Z,{value:(Ht==null?void 0:Ht.question_type)===8?(Lt=Ht==null?void 0:Ht.program_attr)==null?void 0:Lt.description:Ht.question_title,showTextOnly:!0})))))}))),Bt.placeholder))))},nt=te(95237),et=te(74830),Yt=te(57809),hn=te(78673),Tt=te(86902),vn=te(52862),Ge=te(59301),Dt=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),Mt=({form:he,TagDiscipline:Ke,exerciseitem:Ve,qitem:gn,getTagData:ua})=>{var ka;const[Ka,me]=(0,b.useState)(!0),[ge,be]=(0,b.useState)(!1),[ke,Ne]=(0,b.useState)(""),[He,vt]=(0,b.useState)([]),[Bt,it]=(0,b.useState)([]),[Ht,Ft]=(0,b.useState)(0);(0,b.useEffect)(()=>{Rn()},[]);const Xt=_t=>Dt(void 0,null,function*(){const Lt=yield(0,pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:_t==null?void 0:_t.sub_discipline_id}});it(Lt==null?void 0:Lt.tag_disciplines)}),Rn=()=>Dt(void 0,null,function*(){const _t=yield(0,pe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});vt(_t.disciplines||[]),gn!=null&&gn.sub_discipline_id&&Xt(gn),Ft(gn!=null&&gn.sub_discipline_id?1:0),he.setFieldsValue({difficulty:gn.difficulty||2,repeat_answer:!gn.repeat_answer,sub_discipline_id:gn!=null&&gn.sub_discipline_id?[gn==null?void 0:gn.discipline_id,gn==null?void 0:gn.sub_discipline_id]:[]})});return Ge.createElement("div",null,Ge.createElement("div",{style:{marginTop:30,overflow:"hidden",height:Ka?"100%":0}},Ge.createElement(Be.default.Item,{className:ie.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},Ge.createElement(Ue.ZP.Group,{className:ie.radiogroup},Ge.createElement(Ue.ZP.Button,{className:ie.easy,value:1},"\u7B80\u5355"),Ge.createElement(Ue.ZP.Button,{className:ie.medium,value:2},"\u9002\u4E2D"),Ge.createElement(Ue.ZP.Button,{className:ie.hard,value:3},"\u56F0\u96BE"))),Ge.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:ie.formcenterselect},Ge.createElement(ut.Z,{className:ie.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:He,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(_t,Lt)=>{he.setFieldsValue({sub_discipline_id:_t,tag_discipline_ids:[]}),Ft(_t?_t.length:0),(_t==null?void 0:_t.length)>0&&(Xt({sub_discipline_id:_t[1]}),_t[1]==(gn==null?void 0:gn.sub_discipline_id)&&he.setFieldValue("tag_discipline_ids",gn.tag_discipline_ids))},onClear:()=>{it([]),he.setFieldValue("tag_discipline_ids",[]),Ft(0)}})),Ge.createElement(Be.default.Item,{className:ie.formcenterselect},Ge.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},Ge.createElement(Be.default.Item,{name:"tag_discipline_ids"},Ge.createElement(Yt.default,{className:ie.selectitems,disabled:Ht===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(_t,Lt)=>Lt.key.indexOf(_t.toLowerCase())>=0},Bt==null?void 0:Bt.map(_t=>Ge.createElement(Yt.default.Option,{key:_t.name+_t.id,value:_t.id},Ge.createElement("div",{style:{display:"flex",alignItems:"center"}},Ge.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},_t.name),(_t==null?void 0:_t.type)==="personal"&&Ge.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),Ht>0&&Ge.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},Ge.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),Ge.createElement("a",{onClick:()=>{be(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),Ge.createElement(Be.default.Item,{className:ie.formcenterselect},Ge.createElement("div",{style:{display:"flex",alignItems:"center"}},Ge.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},Ge.createElement(hn.Z,null)),Ge.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",Ge.createElement(ne.Z,{placement:"right",title:"\u5F00\u542F\u540E\uFF0C\u5B66\u751F\u4F5C\u7B54\u5B8C\u6210\u8BE5\u9898\u5E76\u8FDB\u5165\u4E0B\u4E00\u9898\u4E4B\u540E\uFF0C\u4E0D\u5141\u8BB8\u518D\u4FEE\u6539\u8BE5\u9898\u7B54\u6848"},Ge.createElement(Tt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),Ge.createElement(vn.Z,{open:ge,subDisciplineId:(ka=he.getFieldValue("sub_discipline_id"))==null?void 0:ka[1],onCancel:()=>{be(!1)},onOkClick:_t=>{it(Lt=>[...Lt,_t]),he.setFieldValue("tag_discipline_ids",[...he.getFieldValue("tag_discipline_ids"),_t==null?void 0:_t.id])}}))},pt=te(59301),rt=Object.defineProperty,_e=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,Fe=(he,Ke,Ve)=>Ke in he?rt(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,Ce=(he,Ke)=>{for(var Ve in Ke||(Ke={}))Xe.call(Ke,Ve)&&Fe(he,Ve,Ke[Ve]);if(fe)for(var Ve of fe(Ke))bt.call(Ke,Ve)&&Fe(he,Ve,Ke[Ve]);return he},at=(he,Ke)=>_e(he,ve(Ke)),$e=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),gt=({qitem:he,setisedit:Ke,TagDiscipline:Ve,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();(0,b.useEffect)(()=>{var Ne;be.setFieldsValue(at(Ce({},he),{name:he==null?void 0:he.question_title,choices:(Ne=he==null?void 0:he.question_choices)==null?void 0:Ne.map(He=>at(Ce({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)}))},[he]);const ke=Ne=>{if(!(Ne!=null&&Ne.length))return!1;const He=Ne.map(Bt=>{var it;return(it=Bt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return pt.createElement("div",null,pt.createElement(Be.default,{form:be,colon:!1,onFinish:Ne=>{var He;if(ke(Ne.choices)){Ie.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let vt=at(Ce({},Ne),{item_type:he==null?void 0:he.question_type,choices:(He=Ne==null?void 0:Ne.choices)==null?void 0:He.map(Bt=>at(Ce({},Bt),{is_answer:Bt.standard_boolean}))});ua(Ce(Ce({},he),vt))},onFinishFailed:Ne=>$e(void 0,null,function*(){var He,vt;Ie.ZP.error(Ne.errorFields[0].errors[0]),be.scrollToField((vt=(He=Ne==null?void 0:Ne.errorFields)==null?void 0:He[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},pt.createElement("div",{style:{display:"flex",alignItems:"center"}},pt.createElement("div",{style:{flex:1}},pt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),pt.createElement("span",null,(he==null?void 0:he.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!he.isadd&&pt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},pt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),pt.createElement(tt.ZP,{onClick:()=>{var Ne;he.isadd?(Ke(!1),me()):(be.setFieldsValue(at(Ce({},he),{name:he==null?void 0:he.question_title,choices:(Ne=he==null?void 0:he.question_choices)==null?void 0:Ne.map(He=>at(Ce({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),pt.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:pt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},pt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},pt.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>$e(void 0,null,function*(){be.submit()})},"\u4FDD\u5B58"))),pt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},pt.createElement(nt.Z,{align:"middle"},pt.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},pt.createElement(Qe.Z,{onBlur:Ne=>{Ne.target.value==="0"&&Ie.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1}))),pt.createElement(et.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"name",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),pt.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:Ve,form:be}))))},un=te(26778),en=te(40142),zt=te(59301),ln=Object.defineProperty,on=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,wt=Object.getOwnPropertySymbols,Ot=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Nt=(he,Ke,Ve)=>Ke in he?ln(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,fn=(he,Ke)=>{for(var Ve in Ke||(Ke={}))Ot.call(Ke,Ve)&&Nt(he,Ve,Ke[Ve]);if(wt)for(var Ve of wt(Ke))Pt.call(Ke,Ve)&&Nt(he,Ve,Ke[Ve]);return he},Pn=(he,Ke)=>on(he,ze(Ke)),bn=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),ta=({qitem:he,TagDiscipline:Ke,exerciseitem:Ve,setisedit:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm(),ke=Be.default.useWatch("use_blank_score",be);return(0,b.useEffect)(()=>{be.setFieldsValue(Pn(fn({},he),{standard_answers:he.standard_answers||[],name:he.question_title,repeat_answer:!he.repeat_answer}))},[he]),zt.createElement("div",null,zt.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ne,He)=>{var vt,Bt,it,Ht;if(Ne!=null&&Ne.standard_answers||Ne!=null&&Ne.use_blank_score){let Ft=((vt=be.getFieldValue("standard_answers"))==null?void 0:vt.length)>0&&((it=(Bt=be.getFieldValue("standard_answers"))==null?void 0:Bt.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(Ft==null?void 0:Ft.length)>0&&be.setFieldsValue({question_score:(Ft==null?void 0:Ft.length)>0&&((Ht=Ft.reduce((Xt,Rn)=>Xt+Rn))==null?void 0:Ht.toFixed(1))})}},onFinish:Ne=>{var He;ua(Pn(fn(fn({},he),Ne),{item_type:he==null?void 0:he.question_type,standard_answers:(He=Ne.standard_answers)==null?void 0:He.map((vt,Bt)=>Pn(fn({},vt),{position:vt.choice_id||Bt+1}))}))},onFinishFailed:Ne=>bn(void 0,null,function*(){var He,vt;Ne.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,de.pE)(),Ie.ZP.error(Ne.errorFields[0].errors[0]),be.scrollToField((vt=(He=Ne==null?void 0:Ne.errorFields)==null?void 0:He[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},zt.createElement("div",{style:{display:"flex",alignItems:"center"}},zt.createElement("div",{style:{flex:1}},zt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),zt.createElement("span",null,"\u586B\u7A7A\u9898")),!he.isadd&&zt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},zt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),zt.createElement(tt.ZP,{onClick:()=>{he.isadd?(gn(!1),me()):(be.setFieldsValue(Pn(fn({},he),{standard_answers:he.standard_answers,name:he.question_title,repeat_answer:!he.repeat_answer})),gn(!1))}},"\u53D6\u6D88"),zt.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:zt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},zt.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},zt.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),zt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},zt.createElement(nt.Z,{align:"middle"},ke?zt.createElement(en.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):zt.createElement(Be.default.Item,{key:2,className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},zt.createElement(Qe.Z,{onBlur:Ne=>{Ne.target.value==="0"&&Ie.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle",max:100,min:.1})),zt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},zt.createElement(Ue.ZP.Group,{className:ie.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),zt.createElement(ne.Z,{overlayInnerStyle:{width:460},title:zt.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",zt.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},zt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),zt.createElement(un.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,answerKey:"standard_answers"}),zt.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:Ve,TagDiscipline:Ke,form:be}))))},oa=te(41673),jn=te(59301),Ea=Object.defineProperty,pa=Object.defineProperties,Hn=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Fn=(he,Ke,Ve)=>Ke in he?Ea(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,Xn=(he,Ke)=>{for(var Ve in Ke||(Ke={}))qt.call(Ke,Ve)&&Fn(he,Ve,Ke[Ve]);if(Ba)for(var Ve of Ba(Ke))An.call(Ke,Ve)&&Fn(he,Ve,Ke[Ve]);return he},Ze=(he,Ke)=>pa(he,Hn(Ke)),It=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),Wt=({qitem:he,setisedit:Ke,TagDiscipline:Ve,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();return(0,b.useEffect)(()=>{var ke;be.setFieldsValue(Ze(Xn({},he),{name:he.question_title,repeat_answer:!he.repeat_answer,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(Ne=>Ze(Xn({},Ne),{is_answer:Ne!=null&&Ne.standard_boolean?1:0}))}))},[he]),jn.createElement("div",null,jn.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua(Xn(Xn({},he),ke))},onFinishFailed:ke=>It(void 0,null,function*(){var Ne,He;Ie.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ne=ke==null?void 0:ke.errorFields)==null?void 0:Ne[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},jn.createElement("div",{style:{display:"flex",alignItems:"center"}},jn.createElement("div",{style:{flex:1}},jn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jn.createElement("span",null,"\u5224\u65AD\u9898")),!(he!=null&&he.isadd)&&jn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},jn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),jn.createElement(tt.ZP,{onClick:()=>{var ke;he.isadd?(Ke(!1),me()):(be.setFieldsValue(Ze(Xn({},he),{name:he==null?void 0:he.question_title,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(Ne=>Ze(Xn({},Ne),{is_answer:Ne!=null&&Ne.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),jn.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},jn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),jn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jn.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jn.createElement(Qe.Z,{onBlur:ke=>{ke.target.value==="0"&&Ie.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),jn.createElement(oa.Z,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),jn.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:Ve,form:be}))))},tn=te(36381),jt={wrap:"wrap___YewKC",deleteIcon:"deleteIcon___AKmkj",keywordTag:"keywordTag___hMKmU",questionTitleEditorWrap:"questionTitleEditorWrap___SpNyf",choiceWrap:"choiceWrap___lDCnP",choiceIndex:"choiceIndex___dabwf",judgementIndex:"judgementIndex___sausK",setAnswerBtn:"setAnswerBtn___moVcF",activeAnswer:"activeAnswer___Cd32c",activeJudgementAnswer:"activeJudgementAnswer___rbuoo",actionWrapper:"actionWrapper___dZuBC",addIcon:"addIcon___A9GtN",inputBorder:"inputBorder___DeyjY",placeholder:"placeholder___dhOmk",blankWrapper:"blankWrapper___vU8Cg",blankInput:"blankInput___Vzre8",blankInputNumberWrapper:"blankInputNumberWrapper___yLeaN",addBtn:"addBtn___LhI0I",blankIndex:"blankIndex___caKgB",baseInputWrapper:"baseInputWrapper___DhjJY",collapseWrapper:"collapseWrapper___btrfP",panelHeader:"panelHeader___xIZ7O",open:"open___IMQhg",close:"close___FTAU3",hide:"hide___GBtJP",scoreByBlankRadio:"scoreByBlankRadio___HAunQ"},pn=te(89378),st=te(23469),yt=Object.defineProperty,ct=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,ia=Object.prototype.propertyIsEnumerable,Un=(he,Ke,Ve)=>Ke in he?yt(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,lt=(he,Ke)=>{for(var Ve in Ke||(Ke={}))yn.call(Ke,Ve)&&Un(he,Ve,Ke[Ve]);if(In)for(var Ve of In(Ke))ia.call(Ke,Ve)&&Un(he,Ve,Ke[Ve]);return he},$t=(he,Ke)=>ct(he,rn(Ke)),qn=(he,Ke)=>{var Ve={};for(var gn in he)yn.call(he,gn)&&Ke.indexOf(gn)<0&&(Ve[gn]=he[gn]);if(he!=null&&In)for(var gn of In(he))Ke.indexOf(gn)<0&&ia.call(he,gn)&&(Ve[gn]=he[gn]);return Ve};const nn=he=>{var Ke=he,{value:Ve,onChange:gn,scrollId:ua}=Ke,ka=qn(Ke,["value","onChange","scrollId"]);return b.createElement("div",{id:ua||""},b.createElement(st.Z,$t(lt({},ka),{defaultValue:Ve,onChange:(Ka,me)=>{console.log("a:",Ka,me),me!=null&&me.length?gn(Ka,me):gn(Ka)}})))},_n=({value:he,onChange:Ke,placeholder:Ve,height:gn=140,isEdit:ua})=>ua?b.createElement(st.Z,{watch:!0,isFocus:!0,height:gn,placeholder:Ve,defaultValue:he,onChange:Ke}):b.createElement("div",{style:{cursor:"pointer"}},he?b.createElement(Ye.Z,{className:jt.inputBorder,value:he}):b.createElement("div",{className:`${jt.inputBorder} ${jt.placeholder}`},Ve));var Jn=te(43604),Ma=te(37520),ma=Object.defineProperty,We=Object.defineProperties,dn=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,Sn=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,kn=(he,Ke,Ve)=>Ke in he?ma(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,Dn=(he,Ke)=>{for(var Ve in Ke||(Ke={}))Sn.call(Ke,Ve)&&kn(he,Ve,Ke[Ve]);if(Jt)for(var Ve of Jt(Ke))On.call(Ke,Ve)&&kn(he,Ve,Ke[Ve]);return he},wn=(he,Ke)=>We(he,dn(Ke)),Aa=(he,Ke)=>{var Ve={};for(var gn in he)Sn.call(he,gn)&&Ke.indexOf(gn)<0&&(Ve[gn]=he[gn]);if(he!=null&&Jt)for(var gn of Jt(he))Ke.indexOf(gn)<0&&On.call(he,gn)&&(Ve[gn]=he[gn]);return Ve};const La=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],mn=({value:he,onChange:Ke,choiceTextKey:Ve,answerKey:gn,index:ua,isEdit:ka,setInputActive:Ka,form:me,choiceOptionsPath:ge,allowChangeMode:be,showAddIcon:ke,addItem:Ne,deleteItem:He})=>{const vt=(he==null?void 0:he[gn])===1,Bt=()=>{const Ht=me.getFieldValue(ge);me.setFieldValue(ge,Ht.map(Ft=>wn(Dn({},Ft),{[gn]:0})))},it=()=>{vt?Ke(wn(Dn({},he),{[gn]:0})):(be||Bt(),Ke(wn(Dn({},he),{[gn]:1})))};return b.createElement(nt.Z,{className:jt.choiceWrap,align:"middle",wrap:!1},b.createElement(Jn.Z,{onClick:it,className:`${jt.choiceIndex} ${vt?jt.activeAnswer:""}`},La[ua]),b.createElement(Jn.Z,{flex:1,className:`${jt.editorWrap} ml15`,onClick:Ka},b.createElement(_n,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ka,value:he==null?void 0:he[Ve],onChange:Ht=>{Ke(wn(Dn({},he),{[Ve]:Ht}))}})),b.createElement(Jn.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:it,className:`${jt.setAnswerBtn} ${vt?jt.activeAnswer:""}`},vt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(Jn.Z,{className:jt.actionWrapper},b.createElement(ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(Ma.Z,{className:jt.addIcon,onClick:Ne,style:{visibility:ke?"visible":"hidden"}})),b.createElement(ne.Z,{title:"\u5220\u9664"},b.createElement(pn.Z,{className:jt.deleteIcon,onClick:He,style:{visibility:ua>1?"visible":"hidden"}}))))},Da=({questionTitlePlaceholder:he,titleKey:Ke,choiceKey:Ve,analysisKey:gn,choiceTextKey:ua,answerKey:ka,choiceOptionsPath:Ka,allowChangeMode:me=!0,form:ge,showAnalysis:be=!0})=>{const[ke,Ne]=(0,b.useState)(),[He,vt]=(0,b.useState)(!1);return b.createElement("div",{className:jt.wrap},b.createElement("div",{className:jt.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ke,labelCol:{span:24},rules:[{required:!0}]},b.createElement(nn,{scrollId:Array.isArray(Ke)?Ke.join("_"):`${Ke}`,watch:!0,height:140,placeholder:he}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(Be.default.List,{name:Ve,rules:[{validator(Bt,it){const Ht=it.some(Xt=>Xt[ka]===1),Ft=it.findIndex(Xt=>{var Rn;return((Rn=Xt[ua])==null?void 0:Rn.length)<=0});return Ft!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${La[Ft]}\u9009\u9879\u7684\u5185\u5BB9`)):Ht?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Bt,{add:it,remove:Ht})=>b.createElement("div",{id:Array.isArray(Ka)?Ka.join("_"):`${Ka}`},Bt.map((Ft,Xt)=>{var Rn=Ft,{key:_t,name:Lt}=Rn,$n=Aa(Rn,["key","name"]);const Kn=ke===_t,Yn=()=>{Ne(_t)},Qn=Xt<7&&Xt===Bt.length-1,ea=()=>it({[ua]:"",[ka]:0}),xn=()=>Ht(Lt);return b.createElement(Be.default.Item,wn(Dn({},$n),{key:_t,name:Lt,noStyle:!0}),b.createElement(mn,{choiceTextKey:ua,answerKey:ka,index:Xt,isEdit:Kn,setInputActive:Yn,form:ge,choiceOptionsPath:Ka,allowChangeMode:me,showAddIcon:Qn,addItem:ea,deleteItem:xn}))}),Bt.length<8&&b.createElement("div",{className:`${jt.addBtn} mb30`,onClick:()=>it({[ua]:"",[ka]:0})},"\u6DFB\u52A0\u9009\u9879"))),be&&b.createElement("div",{onClick:()=>vt(!0)},b.createElement(Be.default.Item,{name:gn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:He}))))};var na=te(59301),Qa=Object.defineProperty,Ja=Object.defineProperties,Vn=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable,za=(he,Ke,Ve)=>Ke in he?Qa(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,ar=(he,Ke)=>{for(var Ve in Ke||(Ke={}))xa.call(Ke,Ve)&&za(he,Ve,Ke[Ve]);if(sa)for(var Ve of sa(Ke))aa.call(Ke,Ve)&&za(he,Ve,Ke[Ve]);return he},Ga=(he,Ke)=>Ja(he,Vn(Ke)),mr=(he,Ke)=>{var Ve={};for(var gn in he)xa.call(he,gn)&&Ke.indexOf(gn)<0&&(Ve[gn]=he[gn]);if(he!=null&&sa)for(var gn of sa(he))Ke.indexOf(gn)<0&&aa.call(he,gn)&&(Ve[gn]=he[gn]);return Ve};const Ua=({value:he,onChange:Ke})=>{const Ve=ua=>{x.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:jt.modal,onOk:()=>{const ka=[...he];ka.splice(ua,1),Ke(ka)}})},gn=()=>{const ua=[...he];ua.push(""),Ke(ua)};return na.createElement(nt.Z,{className:"ml20"},na.createElement(Jn.Z,{flex:1},he==null?void 0:he.map((ua,ka)=>na.createElement(nt.Z,{key:`${ua}_${ka}`,align:"middle",className:"mb20"},na.createElement(le.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ua,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ka=>{const me=[...he],ge=Ka.target.value.trim();me[ka]=ge,Ke(me)}}),na.createElement(ne.Z,{title:"\u5220\u9664"},na.createElement(pn.Z,{className:jt.deleteIcon,style:{marginLeft:15,visibility:ka>0?"visible":"hidden"},onClick:()=>Ve(ka)}))))),na.createElement(Jn.Z,null,na.createElement("div",{className:`${jt.addBtn}`,onClick:()=>{gn()}},"\u65B0\u589E\u7B54\u6848")))},Cr=({value:he=!0,onChange:Ke})=>na.createElement(hn.Z,{checked:!he,onChange:Ve=>{Ke(!Ve)}}),kr="\u2581",ao=({questionTitlePlaceholder:he,form:Ke,name:Ve,scoreByBlank:gn,answerKey:ua,titleKey:ka="name",analysisKey:Ka="analysis",isOrdered:me="is_ordered"})=>{var ge,be;const[ke,Ne]=(0,b.useState)(!1),He=(_t,Lt)=>{const $n=Lt.line;let Kn=0;for(let Qn=0;Qn<$n;Qn++)Kn+=_t.getLine(Qn).split(kr).length-1;const Yn=_t.getLine($n).substring(0,Lt.ch);return Kn+=Yn.split(kr).length-1,Kn},vt=(_t,Lt,$n,Kn)=>{const Yn=_t.getRange(Lt.from,Lt.to);let Qn=0;if(Lt.text.forEach(ea=>{Qn+=ea.split(kr).length-1}),Lt.origin!=="setValue"){if(Yn&&Yn.indexOf(kr)!==-1){const ea=Yn.split(kr).length-1,xn=He(_t,Lt.from);if(console.log(`\u5220\u9664${ea}\u4E2A\uFF0C \u524D\u9762\u6709${xn}\u4E2A\uFF0C\u65B0\u589E${Qn}\u4E2A`),ea>1){const ba=Array.from({length:ea},(ya,Za)=>xn+Za);Kn(ba)}else Kn(xn)}else if(Qn>0){const ea=He(_t,Lt.from);console.log(`\u65B0\u589E${Qn}\u4E2A\uFF0C\u4E4B\u524D\u6709${ea}\u4E2A`),$n(Qn,ea)}}},Bt=()=>{const _t=Ke.getFieldValue(["sub_item_banks",...ua]);Ke.setFieldValue(["sub_item_banks",...ua],_t==null?void 0:_t.map((Lt,$n)=>Ga(ar({},Lt),{position:$n+1})))},it=(0,b.useRef)(),Ht=(_t,Lt)=>{for(let $n=0;$n<_t;$n++)it.current({position:null,answer_text:[""]},Lt+$n);Bt()},Ft=(0,b.useRef)(),Xt=_t=>{Ft.current(_t),Bt()},Rn=(be=(ge=Ke.getFieldValue("sub_item_banks"))==null?void 0:ge[ua==null?void 0:ua[0]])==null?void 0:be[ua==null?void 0:ua[1]];return console.log(Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",...gn])),na.createElement("div",{className:jt.wrap},na.createElement("div",{className:jt.questionTitleEditorWrap},na.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ka,labelCol:{span:24},rules:[{required:!0}]},na.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he,showNullButton:!0,onCMBeforeChange:(_t,Lt)=>{vt(_t,Lt,Ht,Xt)}}))),na.createElement(Be.default.List,{name:ua,rules:[{validator(_t,Lt){if((Lt==null?void 0:Lt.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const $n of Lt){const{answer_text:Kn}=$n||{};if(Kn!=null&&Kn.some(Yn=>(Yn==null?void 0:Yn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(_t,{add:Lt,remove:$n},{errors:Kn})=>(it.current=Lt,Ft.current=$n,na.createElement(na.Fragment,null,na.createElement(Be.default.Item,{label:na.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(_t!=null&&_t.length)&&na.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),_t.map((Yn,Qn)=>{var ea=Yn,{key:xn,name:ba}=ea,ya=mr(ea,["key","name"]);return na.createElement(nt.Z,{className:"mb20",key:xn,align:"top"},na.createElement(Jn.Z,{flex:"0 0 auto",className:`${jt.blankIndex} pt5`},"\u586B\u7A7A\u9879",Qn+1),na.createElement(Jn.Z,{flex:1},na.createElement(nt.Z,{align:"top",justify:"space-between"},na.createElement(Jn.Z,{flex:1},na.createElement(Be.default.Item,Ga(ar({},ya),{name:[ba,"answer_text"],noStyle:!0}),na.createElement(Ua,null))),(Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",...gn]))&&na.createElement(Jn.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},na.createElement(Be.default.Item,Ga(ar({},ya),{name:[ba,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:jt.blankInputNumberWrapper}),na.createElement(Qe.Z,{onChange:()=>{var Za,ja;let la=Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"standard_answers"]),Sa=0;for(let ha in la)(Za=la[ha])!=null&&Za.score&&(Sa+=Number((ja=la[ha])==null?void 0:ja.score));Ke==null||Ke.setFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"question_score"],Sa)},className:jt.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),na.createElement(Be.default.Item,Ga(ar({},ya),{name:[ba,"position"],noStyle:!0}),na.createElement(le.default,{type:"hidden"}))))})))),na.createElement(nt.Z,{align:"middle"},na.createElement(Be.default.Item,{name:[Ve,"downcase"],valuePropName:"checked"},na.createElement(hn.Z,null)),na.createElement(Jn.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),na.createElement(nt.Z,{align:"middle"},na.createElement(Be.default.Item,{name:[Ve,"no_space"],valuePropName:"checked"},na.createElement(hn.Z,null)),na.createElement(Jn.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Rn==null?void 0:Rn.length)>1&&na.createElement(nt.Z,{align:"middle",className:(Rn==null?void 0:Rn.length)>1?"mb30":`${jt.hide}`},na.createElement(Be.default.Item,{name:me},na.createElement(Cr,null)),na.createElement(Jn.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),na.createElement("div",{onClick:()=>Ne(!0)},na.createElement(Be.default.Item,{name:Ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},na.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var Er=Object.defineProperty,vr=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,hr=Object.getOwnPropertySymbols,Fr=Object.prototype.hasOwnProperty,ur=Object.prototype.propertyIsEnumerable,Ra=(he,Ke,Ve)=>Ke in he?Er(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,xr=(he,Ke)=>{for(var Ve in Ke||(Ke={}))Fr.call(Ke,Ve)&&Ra(he,Ve,Ke[Ve]);if(hr)for(var Ve of hr(Ke))ur.call(Ke,Ve)&&Ra(he,Ve,Ke[Ve]);return he},Xr=(he,Ke)=>vr(he,Zr(Ke)),br=(he,Ke)=>{var Ve={};for(var gn in he)Fr.call(he,gn)&&Ke.indexOf(gn)<0&&(Ve[gn]=he[gn]);if(he!=null&&hr)for(var gn of hr(he))Ke.indexOf(gn)<0&&ur.call(he,gn)&&(Ve[gn]=he[gn]);return Ve};const Vr={\u6B63\u786E:"T",\u9519\u8BEF:"F"},jr=({value:he,onChange:Ke,form:Ve,choiceKey:gn})=>{const ua=(he==null?void 0:he.is_answer)===1,ka=he==null?void 0:he.choice_text,Ka=()=>{var me;const ge=(me=Ve==null?void 0:Ve.getFieldValue(["sub_item_banks",...gn]))==null?void 0:me.map(be=>({choice_text:be.choice_text,is_answer:0}));Ve==null||Ve.setFieldValue(["sub_item_banks",...gn],ge),Ke(Xr(xr({},he),{is_answer:1}))};return b.createElement(nt.Z,{className:jt.choiceWrap,align:"middle",wrap:!1},b.createElement(Jn.Z,{onClick:Ka,className:`${jt.choiceIndex} ${jt.judgementIndex} ${ua?jt.activeAnswer:""}`},Vr[ka]),b.createElement(Jn.Z,{flex:1,className:`${jt.editorWrap} ml15`},b.createElement("div",{className:`${jt.inputBorder} ${jt.placeholder} ${ua?jt.activeJudgementAnswer:""}`},ka)),b.createElement(Jn.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Ka,className:`${jt.setAnswerBtn} ${ua?jt.activeAnswer:""}`},ua?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Xa=({questionTitlePlaceholder:he,choiceKey:Ke="choices",form:Ve,titleKey:gn="name",analysisKey:ua="analysis"})=>{const[ka,Ka]=(0,b.useState)(!1);return b.createElement("div",{className:jt.wrap},b.createElement("div",{className:jt.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:gn,labelCol:{span:24},rules:[{required:!0}]},b.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(Be.default.List,{name:Ke,rules:[{validator(me,ge){return ge.some(ke=>(ke==null?void 0:ke.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},me=>b.createElement("div",{id:"choices"},me.map(ge=>{var be=ge,{key:ke,name:Ne}=be,He=br(be,["key","name"]);return b.createElement(Be.default.Item,Xr(xr({},He),{key:ke,name:Ne,noStyle:!0}),b.createElement(jr,{form:Ve,choiceKey:Ke}))})))),b.createElement("div",{onClick:()=>Ka(!0)},b.createElement(Be.default.Item,{name:ua,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ka}))))};var wr=te(12563),dr=Object.defineProperty,Qr=Object.defineProperties,ro=Object.getOwnPropertyDescriptors,xo=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,Ir=(he,Ke,Ve)=>Ke in he?dr(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,qr=(he,Ke)=>{for(var Ve in Ke||(Ke={}))To.call(Ke,Ve)&&Ir(he,Ve,Ke[Ve]);if(xo)for(var Ve of xo(Ke))ko.call(Ke,Ve)&&Ir(he,Ve,Ke[Ve]);return he},Zo=(he,Ke)=>Qr(he,ro(Ke)),Ao=(he,Ke)=>{var Ve={};for(var gn in he)To.call(he,gn)&&Ke.indexOf(gn)<0&&(Ve[gn]=he[gn]);if(he!=null&&xo)for(var gn of xo(he))Ke.indexOf(gn)<0&&ko.call(he,gn)&&(Ve[gn]=he[gn]);return Ve};const Go=he=>{var Ke=he,{value:Ve,onChange:gn}=Ke,ua=Ao(Ke,["value","onChange"]);const ka=Ka=>{gn([Ka])};return b.createElement(st.Z,Zo(qr({},ua),{defaultValue:Ve==null?void 0:Ve[0],onChange:ka}))},ai=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){Ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Ke=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return he==="|"?(Ie.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},$a=({value:he=[],onClose:Ke})=>b.createElement(wr.default,{closable:!0,onClose:Ke,className:jt.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),ga=({questionTitlePlaceholder:he,form:Ke,showKeywords:Ve,isMustKeyWords:gn=Ve,titleKey:ua="name",analysisKey:ka="analysis",answerTexts:Ka="answer_texts",keywords:me="keywords",useKeywords:ge="use_keywords",indexs:be})=>{var ke,Ne,He,vt;const[Bt,it]=(0,b.useState)(!1),[Ht,Ft]=(0,b.useState)(""),Xt=(Ne=(ke=Ke.getFieldValue("sub_item_banks"))==null?void 0:ke[ge==null?void 0:ge[0]])==null?void 0:Ne[ge==null?void 0:ge[1]],Rn=(vt=(He=Ke.getFieldValue("sub_item_banks"))==null?void 0:He[ge==null?void 0:ge[0]])==null?void 0:vt.question_score;return b.createElement("div",{className:jt.wrap},b.createElement("div",{className:jt.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ua,labelCol:{span:24},rules:[{required:!0}]},b.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Ka,labelCol:{span:24}},b.createElement(Go,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ve&&!gn&&b.createElement(Be.default.Item,{hidden:!0,name:ge,valuePropName:"checked"},b.createElement(hn.Z,{defaultChecked:!0})),Ve&&gn&&b.createElement(nt.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:ge,valuePropName:"checked"},b.createElement(hn.Z,null)),b.createElement(Jn.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(Jn.Z,null,b.createElement(ne.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},b.createElement(Tt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Xt||!gn)&&b.createElement(Be.default.List,{name:me,rules:[{validator(_t,Lt){return gn?Lt!=null&&Lt.length?(Lt==null?void 0:Lt.reduce((Kn,Yn)=>Kn+Yn.score,0))>parseFloat(Rn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(_t,{add:Lt,remove:$n})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${jt.title} mb10`},gn?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(nt.Z,{align:"middle",className:"font14 mb30"},b.createElement(Jn.Z,{flex:1},b.createElement(le.default,{value:Ht,onChange:Kn=>{Ft(Kn.target.value)},maxLength:50,allowClear:!0,onPressEnter:Kn=>{var Yn,Qn,ea,xn;const ba=`${(Yn=Kn.target)==null?void 0:Yn.value}`,ya=(ea=(Qn=ba==null?void 0:ba.split("|"))==null?void 0:Qn.filter(la=>!!la))==null?void 0:ea.map(la=>la.trim()),Za=Ke.getFieldValue(["sub_item_banks",...me]),ja=((xn=Za==null?void 0:Za.map(la=>la==null?void 0:la.keyword))==null?void 0:xn.flat())||[];for(const la of ya)if(ja.includes(la)){Ie.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ai(ba)&&(Lt({keyword:ya,score:1}),Ft(""))},className:jt.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),b.createElement(Jn.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),_t.map(Kn=>{var Yn=Kn,{key:Qn,name:ea}=Yn,xn=Ao(Yn,["key","name"]);return b.createElement(nt.Z,{key:Qn,className:"mb20",style:{marginRight:148}},b.createElement(Jn.Z,{flex:1},b.createElement(nt.Z,{align:"middle",justify:"space-between"},b.createElement(Be.default.Item,Zo(qr({},xn),{name:[ea,"keyword"]}),b.createElement($a,{onClose:()=>$n(ea)})),gn&&b.createElement(Be.default.Item,Zo(qr({},xn),{name:[ea,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:jt.blankInputNumberWrapper}),b.createElement(Qe.Z,{className:jt.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>it(!0)},b.createElement(Be.default.Item,{name:ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(_n,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Bt}))))};var Tn=te(59301),Fa=Object.defineProperty,cr=Object.defineProperties,Nr=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Cn=Object.prototype.propertyIsEnumerable,zn=(he,Ke,Ve)=>Ke in he?Fa(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,cn=(he,Ke)=>{for(var Ve in Ke||(Ke={}))sn.call(Ke,Ve)&&zn(he,Ve,Ke[Ve]);if(xe)for(var Ve of xe(Ke))Cn.call(Ke,Ve)&&zn(he,Ve,Ke[Ve]);return he},ra=(he,Ke)=>cr(he,Nr(Ke)),Zn=(he,Ke)=>{var Ve={};for(var gn in he)sn.call(he,gn)&&Ke.indexOf(gn)<0&&(Ve[gn]=he[gn]);if(he!=null&&xe)for(var gn of xe(he))Ke.indexOf(gn)<0&&Cn.call(he,gn)&&(Ve[gn]=he[gn]);return Ve};const{Panel:Nn}=tn.default,Gn=({questionTitlePlaceholder:he,choiceKey:Ke,form:Ve,withScore:gn})=>{const ua=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}],[ka,Ka]=(0,b.useState)(),[me,ge]=(0,b.useState)([]),be=Ne=>{ge(Ne)},ke=({value:Ne})=>Tn.createElement("div",{style:{width:150,paddingLeft:11}},Ne);return Tn.createElement("div",{className:jt.wrap},Tn.createElement("div",{className:jt.questionTitleEditorWrap},Tn.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Tn.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:he}))),Tn.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tn.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ne,He){return He?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ne,{add:He,remove:vt,move:Bt})=>{const it=Ve.getFieldValue("sub_item_banks");return Tn.createElement(Tn.Fragment,null,Tn.createElement(tn.default,{className:Ne.length>0?jt.collapseWrapper:"",bordered:!1,activeKey:me,onChange:be,expandIcon:({isActive:Ht})=>Tn.createElement("i",{className:`iconfont icon-weizhankai ${Ht?jt.open:jt.close}`,style:{fontSize:14,transition:"all .2s"}})},Ne.map((Ht,Ft)=>{var Xt=Ht,{key:Rn,name:_t}=Xt,Lt=Zn(Xt,["key","name"]),$n,Kn,Yn,Qn,ea,xn,ba,ya,Za,ja,la,Sa,ha,Wn;return Tn.createElement(Nn,{className:jt.panel,forceRender:!0,header:Tn.createElement("div",{className:jt.panelHeader},"\u7B2C",Ft+1,"\u5C0F\u9898",Tn.createElement("span",null,"\uFF08",(($n=it==null?void 0:it[_t])==null?void 0:$n.question_type)==0?"\u5355\u9009\u9898":((Kn=it==null?void 0:it[_t])==null?void 0:Kn.question_type)==1?"\u591A\u9009\u9898":((Yn=it==null?void 0:it[_t])==null?void 0:Yn.question_type)==3?"\u586B\u7A7A\u9898":((Qn=it==null?void 0:it[_t])==null?void 0:Qn.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:_t,extra:Tn.createElement(nt.Z,{align:"middle",onClick:ca=>ca.stopPropagation()},((ea=it==null?void 0:it[_t])==null?void 0:ea.question_type)==3&&Tn.createElement(Tn.Fragment,null,Tn.createElement(Ue.ZP.Group,{defaultValue:(xn=it==null?void 0:it[_t])==null?void 0:xn.use_blank_score,className:ie.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:ca=>{var Ta,qa,nr,Wa,gr;if(Ve==null||Ve.setFieldValue(["sub_item_banks",_t,"use_blank_score"],(Ta=ca==null?void 0:ca.target)==null?void 0:Ta.value),(qa=ca==null?void 0:ca.target)!=null&&qa.value){let Sr=0;for(let Wr in(nr=Ve==null?void 0:Ve.getFieldValue(["sub_item_banks",_t]))==null?void 0:nr.standard_answers)Sr+=Number((gr=(Wa=Ve==null?void 0:Ve.getFieldValue(["sub_item_banks",_t]))==null?void 0:Wa.standard_answers[Wr])==null?void 0:gr.score);Ve==null||Ve.setFieldValue(["sub_item_banks",_t,"question_score"],Sr||"")}Ka(new Date)}}),Tn.createElement(ne.Z,{overlayInnerStyle:{width:460},title:Tn.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Tn.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u9700\u8981\u8BBE\u7F6E\u6574\u4E2A\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Tn.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),gn&&Tn.createElement(Be.default.Item,ra(cn({},Lt),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[_t,"question_score"],className:jt.blankInputNumberWrapper}),((ba=it==null?void 0:it[_t])==null?void 0:ba.question_type)==3&&((ya=it==null?void 0:it[_t])!=null&&ya.use_blank_score)?Tn.createElement(ke,null):Tn.createElement(Qe.Z,{className:jt.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),Tn.createElement(nt.Z,{align:"middle",className:"pl40",style:{width:82}},Ft!==0&&Tn.createElement("div",{onClick:()=>{var ca;Bt(Ft,Ft-1);const Ta=(ca=Ve.getFieldValue("sub_item_banks"))==null?void 0:ca.map((qa,nr)=>(Ne.map((Wa,gr)=>{nr===gr&&(qa.q_position=Number(Wa.name)+1)}),qa));Ve.setFieldValue("sub_item_banks",Ta)}},Tn.createElement(ne.Z,{title:"\u4E0A\u79FB"},Tn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),Ft<Ne.length-1&&Tn.createElement("div",{onClick:()=>{var ca;Bt(Ft,Ft+1);const Ta=(ca=Ve.getFieldValue("sub_item_banks"))==null?void 0:ca.map((qa,nr)=>(Ne.map((Wa,gr)=>{nr===gr&&(qa.q_position=Number(Wa.name)+1)}),qa));Ve.setFieldValue("sub_item_banks",Ta)},className:Ft===0?"":"ml10"},Tn.createElement(ne.Z,{title:"\u4E0B\u79FB"},Tn.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),Tn.createElement(ne.Z,{title:"\u5220\u9664"},Tn.createElement(pn.Z,{className:`${jt.deleteIcon} ml40`,onClick:()=>vt(_t)})))},Tn.createElement(Be.default.Item,ra(cn({},Lt),{name:_t}),(((Za=it==null?void 0:it[_t])==null?void 0:Za.question_type)==0||((ja=it==null?void 0:it[_t])==null?void 0:ja.question_type)==1)&&Tn.createElement(Da,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((la=it==null?void 0:it[_t])==null?void 0:la.question_type)==1,form:Ve,choiceKey:[_t,"choices"],titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceOptionsPath:["sub_item_banks",_t,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Sa=it==null?void 0:it[_t])==null?void 0:Sa.question_type)==3&&Tn.createElement(ao,{form:Ve,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",name:_t,scoreByBlank:[_t,"use_blank_score"],titleKey:[_t,"name"],analysisKey:[_t,"analysis"],isOrdered:[_t,"is_ordered"],answerKey:[_t,"standard_answers"],key:ka}),((ha=it==null?void 0:it[_t])==null?void 0:ha.question_type)==2&&Tn.createElement(Xa,{form:Ve,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceKey:[_t,"choices"]}),((Wn=it==null?void 0:it[_t])==null?void 0:Wn.question_type)==4&&Tn.createElement(ga,{showKeywords:!0,isMustKeyWords:!0,form:Ve,titleKey:[_t,"name"],analysisKey:[_t,"analysis"],answerTexts:[_t,"answer_texts"],useKeywords:[_t,"use_keywords"],keywords:[_t,"keywords"],indexs:_t,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9",key:ka})))})),Ne.length<20&&Tn.createElement(z.Z,{menu:{items:[{label:Tn.createElement("div",{onClick:()=>{He({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),ge([Ne==null?void 0:Ne.length,...me])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),ge([Ne==null?void 0:Ne.length,...me])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),ge([Ne==null?void 0:Ne.length,...me])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),ge([Ne==null?void 0:Ne.length,...me])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Tn.createElement("div",{onClick:()=>{He({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),ge([Ne==null?void 0:Ne.length,...me])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Ht=>Ht.show).map(Ht=>({label:Ht.label,key:Ht.key}))}},Tn.createElement("div",{className:`${jt.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Mn=te(59301),fa=Object.defineProperty,wa=Object.defineProperties,Pa=Object.getOwnPropertyDescriptors,Ar=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,$r=(he,Ke,Ve)=>Ke in he?fa(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,uo=(he,Ke)=>{for(var Ve in Ke||(Ke={}))fr.call(Ke,Ve)&&$r(he,Ve,Ke[Ve]);if(Ar)for(var Ve of Ar(Ke))Or.call(Ke,Ve)&&$r(he,Ve,Ke[Ve]);return he},Co=(he,Ke)=>wa(he,Pa(Ke)),pi=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),ri=({qitem:he,setisedit:Ke,TagDiscipline:Ve,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();(0,b.useEffect)(()=>{var Ne;be.setFieldsValue(Co(uo({},he),{name:he.question_title,sub_item_banks:(Ne=he.sub_exercise_questions)==null?void 0:Ne.map(He=>{var vt;return Co(uo({},He),{name:He.question_title,choices:(vt=He==null?void 0:He.question_choices)==null?void 0:vt.map(Bt=>Co(uo({},Bt),{is_answer:Bt!=null&&Bt.standard_boolean?1:0}))})}),repeat_answer:!he.repeat_answer}))},[he]);const ke=Ne=>{if(!(Ne!=null&&Ne.length))return!1;const He=Ne.map(Bt=>{var it;return(it=Bt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return Mn.createElement("div",null,Mn.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ne,He)=>{var vt,Bt,it;if(Ne!=null&&Ne.sub_item_banks){let Ht=((vt=be.getFieldValue("sub_item_banks"))==null?void 0:vt.length)>0&&((it=(Bt=be.getFieldValue("sub_item_banks"))==null?void 0:Bt.map(Ft=>{var Xt;if(Ft.question_type==3&&(Ft!=null&&Ft.use_blank_score)){let Rn=0;for(let _t in Ft==null?void 0:Ft.standard_answers)Rn+=Number((Xt=Ft==null?void 0:Ft.standard_answers[_t])==null?void 0:Xt.score);return Rn}else return Ft.question_score}))==null?void 0:it.filter(Ft=>Ft));(Ht==null?void 0:Ht.length)>0&&be.setFieldsValue({question_score:parseFloat(Ht==null?void 0:Ht.reduce((Ft,Xt)=>parseFloat(Ft)+parseFloat(Xt))).toFixed(1)})}},onFinish:Ne=>{var He,vt;if((He=Ne.sub_item_banks)==null?void 0:He.some(it=>it.question_type===0||it.question_type===1?ke(it.choices):!1)){Ie.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}ua(Co(uo(uo({},he),Ne),{sub_item_banks:(vt=Ne==null?void 0:Ne.sub_item_banks)==null?void 0:vt.map(it=>(console.log(it),Co(uo({},it),{item_type:it==null?void 0:it.question_type,id:(it==null?void 0:it.question_id)||""})))}))},onFinishFailed:Ne=>pi(void 0,null,function*(){var He,vt;Ie.ZP.error(Ne.errorFields[0].errors[0]),be.scrollToField((vt=(He=Ne==null?void 0:Ne.errorFields)==null?void 0:He[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},Mn.createElement("div",{style:{display:"flex",alignItems:"center"}},Mn.createElement("div",{style:{flex:1}},Mn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Mn.createElement("span",null,"\u7EC4\u5408\u9898")),!he.isadd&&Mn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Mn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Mn.createElement(tt.ZP,{onClick:()=>{var Ne;he.isadd?(Ke(!1),me()):(be.setFieldsValue(Co(uo({},he),{name:he==null?void 0:he.question_title,choices:(Ne=he==null?void 0:he.question_choices)==null?void 0:Ne.map(He=>Co(uo({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Mn.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Mn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Mn.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Mn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Mn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Mn.createElement(en.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Mn.createElement(Gn,{form:be,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Mn.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:Ve,form:be}))))},ui=te(35890),vi=te(24334),Po=te(59301),hi=Object.defineProperty,Ni=Object.defineProperties,Ql=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Qo=(he,Ke,Ve)=>Ke in he?hi(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,mi=(he,Ke)=>{for(var Ve in Ke||(Ke={}))nl.call(Ke,Ve)&&Qo(he,Ve,Ke[Ve]);if(Vi)for(var Ve of Vi(Ke))Jl.call(Ke,Ve)&&Qo(he,Ve,Ke[Ve]);return he},Bi=(he,Ke)=>Ni(he,Ql(Ke)),yl=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),Ii=({qitem:he,TagDiscipline:Ke,exerciseitem:Ve,setisedit:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm(),ke=!0;return(0,b.useEffect)(()=>{var Ne,He,vt;be.setFieldsValue(Bi(mi({},he),{standard_answers:he.standard_answer,difficulty:he.difficulty,item_banks_group_id:he.item_banks_group_id,hack:Bi(mi({},he),{time_limit:(he==null?void 0:he.time_limit)||3}),hack_codes:{language:(Ne=he==null?void 0:he.program_attr)==null?void 0:Ne.language,code:vi.Base64.decode(((He=he==null?void 0:he.program_attr)==null?void 0:He.code)||"")},hack_sets:mi({},(vt=he==null?void 0:he.hack_sets)==null?void 0:vt[0]),repeat_answer:!he.repeat_answer}))},[he]),Po.createElement("div",null,Po.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ne,He)=>{var vt,Bt,it,Ht;if(Ne!=null&&Ne.standard_answers){let Ft=((vt=be.getFieldValue("standard_answers"))==null?void 0:vt.length)>0&&((it=(Bt=be.getFieldValue("standard_answers"))==null?void 0:Bt.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(Ft==null?void 0:Ft.length)>0&&be.setFieldsValue({question_score:(Ft==null?void 0:Ft.length)>0&&((Ht=Ft.reduce((Xt,Rn)=>Xt+Rn))==null?void 0:Ht.toFixed(1))})}},onFinish:Ne=>{var He;ua(Bi(mi(mi({},he),Ne),{item_type:he==null?void 0:he.question_type,standard_answers:(He=Ne.standard_answers)==null?void 0:He.map((vt,Bt)=>Bi(mi({},vt),{position:Bt+1})),standard_answer:void 0}))},onFinishFailed:Ne=>yl(void 0,null,function*(){var He,vt;Ie.ZP.error(Ne.errorFields[0].errors[0]),be.scrollToField((vt=(He=Ne==null?void 0:Ne.errorFields)==null?void 0:He[0])==null?void 0:vt.name,{behavior:"smooth",block:"center"})})},Po.createElement("div",{style:{display:"flex",alignItems:"center"}},Po.createElement("div",{style:{flex:1}},Po.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Po.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!he.isadd&&Po.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Po.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Po.createElement(tt.ZP,{onClick:()=>{var Ne,He,vt;he.isadd?(gn(!1),me()):(be.setFieldsValue(Bi(mi({},he),{standard_answers:he.standard_answer,difficulty:he.difficult,item_banks_group_id:he.item_banks_group_id,hack:mi({},he),hack_codes:{language:(Ne=he==null?void 0:he.program_attr)==null?void 0:Ne.language,code:vi.Base64.decode((He=he==null?void 0:he.program_attr)==null?void 0:He.code)},hack_sets:mi({},(vt=he==null?void 0:he.hack_sets)==null?void 0:vt[0]),repeat_answer:!he.repeat_answer})),gn(!1))}},"\u53D6\u6D88"),Po.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Po.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Po.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Po.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Po.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Po.createElement(en.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Po.createElement(ui.t,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,hackidentifier:he==null?void 0:he.hack_identifier,answerKey:"standard_answers"}),Po.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:Ve,TagDiscipline:Ke,form:be}))))},Bo=te(59301),El=Object.defineProperty,bl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Cl=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Bl=(he,Ke,Ve)=>Ke in he?El(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,di=(he,Ke)=>{for(var Ve in Ke||(Ke={}))xl.call(Ke,Ve)&&Bl(he,Ve,Ke[Ve]);if(Cl)for(var Ve of Cl(Ke))oi.call(Ke,Ve)&&Bl(he,Ve,Ke[Ve]);return he},Yo=(he,Ke)=>bl(he,Yl(Ke)),Qi=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),ql=({qitem:he,setqitem:Ke,setisedit:Ve,TagDiscipline:gn,exerciseitem:ua,seveeditor:ka,deleteitem:Ka,showTip:me=!1})=>{var ge;const[be]=Be.default.useForm();return(0,b.useEffect)(()=>{var ke,Ne;be.setFieldsValue(Yo(di({},he),{name:he==null?void 0:he.question_title,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),he.shixun=(Ne=he==null?void 0:he.shixun)==null?void 0:Ne.map(He=>Yo(di({},He),{defaultscore:He.challenge_score}))},[]),Bo.createElement("div",null,Bo.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{var Ne,He;let vt=Yo(di({},ke),{question_scores:(Ne=he==null?void 0:he.shixun)==null?void 0:Ne.map(Bt=>Bt.challenge_score),item_type:he==null?void 0:he.question_type,choices:(He=ke==null?void 0:ke.choices)==null?void 0:He.map(Bt=>Yo(di({},Bt),{is_answer:Bt.standard_boolean}))});ka(di(di({},he),vt))},onFinishFailed:ke=>Qi(void 0,null,function*(){var Ne,He;Ie.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ne=ke==null?void 0:ke.errorFields)==null?void 0:Ne[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Bo.createElement("div",{style:{display:"flex",alignItems:"center"}},Bo.createElement("div",{style:{flex:1}},Bo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Bo.createElement("span",null,"\u5B9E\u8BAD\u9898")),Bo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Ka()}},Bo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Bo.createElement(tt.ZP,{onClick:()=>{var ke,Ne;be.setFieldsValue(Yo(di({},he),{name:he==null?void 0:he.question_title,choices:(ke=he==null?void 0:he.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(he!=null&&he.repeat_answer)})),he.shixun=(Ne=he==null?void 0:he.shixun)==null?void 0:Ne.map(He=>Yo(di({},He),{challenge_score:He.defaultscore})),Ke(di({},he)),Ve(!1)}},"\u53D6\u6D88"),Bo.createElement(ne.Z,{overlayClassName:ie.shake,open:me,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Bo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Bo.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Bo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Qi(void 0,null,function*(){var ke,Ne,He;if(((Ne=(ke=he==null?void 0:he.shixun)==null?void 0:ke.map)==null?void 0:Ne.call(ke,vt=>vt.challenge_score).filter(vt=>vt).length)<((He=he==null?void 0:he.shixun)==null?void 0:He.length)){Ie.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}be.submit()})},"\u4FDD\u5B58"))),Bo.createElement(en.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Bo.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Bo.createElement(st.Z,{watch:!0,height:140,placeholder:"",defaultValue:he.question_title}))),Bo.createElement(nt.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Bo.createElement("div",null,Bo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Bo.createElement("a",{href:`/shixuns/${he==null?void 0:he.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(ge=he==null?void 0:he.shixun)==null?void 0:ge.map((ke,Ne)=>Bo.createElement("div",{key:ke.challenge_id,style:{display:"flex",marginBottom:20}},Bo.createElement("div",{style:{flex:1}},Ne+1,"\u3001",ke.challenge_name),Bo.createElement("div",null,Bo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Bo.createElement(Qe.Z,{precision:1,value:ke==null?void 0:ke.challenge_score,onChange:He=>{const vt=JSON.parse(JSON.stringify((he==null?void 0:he.shixun)||[]));vt[Ne].challenge_score=He;const Bt=vt.every(Ht=>!Ht.challenge_score),it=parseFloat(vt==null?void 0:vt.map(Ht=>Ht.challenge_score).reduce((Ht,Ft)=>parseFloat(Ht||0)+parseFloat(Ft||0)));be.setFieldsValue({question_score:Bt?"":it.toFixed(1)}),Ke(Yo(di({},he),{shixun:vt}))},max:200,min:1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ha={flex_box_center:"flex_box_center___ljmk3",flex_space_between:"flex_space_between___Fy45C",flex_box_vertical_center:"flex_box_vertical_center___SoC1C",flex_box_center_end:"flex_box_center_end___MumBX",flex_box_column:"flex_box_column___cutpt",warp:"warp___w1JUC",indexTag:"indexTag___LPncW",normalWrap:"normalWrap___pEIzs",redio:"redio___I6tXM",redioitem:"redioitem___cS4Gp",redioitemyes:"redioitemyes___JBDmk",title:"title___XAohQ",titleyes:"titleyes____bNQk",yestag:"yestag___zQnb1",checkbox:"checkbox___MHadU",checkboxitem:"checkboxitem___KX7mB",checkboxitemyes:"checkboxitemyes___MpOWf",bottom:"bottom___FkHfO",bottomitem:"bottomitem___AS0Qp",left:"left___U23z1",right:"right___yJVEk",completion:"completion___Bu5G6",content:"content___LySPW",items:"items___ETMq9",simple:"simple___XX5t0",shixunWrapper:"shixunWrapper___w6oIG",shixun:"shixun___ePWKn",score:"score___nGh9k",qtitle:"qtitle___DAMW1",program:"program___Mm1qL",combination:"combination___Sw7S6",qtype:"qtype___Xdl60",divname:"divname___AZYhO"},yi=te(2595),al=te(34571),va=te(59301);const Li=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],wl=[{type:0,name:"\u5355\u9009\u9898"},{type:1,name:"\u591A\u9009\u9898"},{type:2,name:"\u5224\u65AD\u9898"},{type:3,name:"\u586B\u7A7A\u9898"},{type:4,name:"\u7B80\u7B54\u9898"},{type:5,name:"\u5B9E\u8BAD\u9898"},{type:6,name:"\u7F16\u7A0B\u9898"},{type:7,name:"\u7EC4\u5408\u9898"},{type:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}];var ws=({qitem:he,newExercisePaper:Ke})=>{var Ve,gn,ua,ka,Ka,me,ge,be,ke,Ne,He,vt,Bt,it,Ht,Ft,Xt,Rn,_t,Lt,$n,Kn,Yn,Qn,ea;return va.createElement("div",{className:Ha.warp},((he==null?void 0:he.question_type)===0||(he==null?void 0:he.question_type)===2)&&va.createElement("div",{className:Ha.normalWrap},(Ve=he==null?void 0:he.question_choices)==null?void 0:Ve.map((xn,ba)=>va.createElement("div",{className:Ha.redio,key:ba},!(xn!=null&&xn.standard_boolean)&&va.createElement("span",{className:Ha.redioitem}),(xn==null?void 0:xn.standard_boolean)&&va.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),va.createElement("span",{className:`${xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},(he==null?void 0:he.question_type)===0?Li[ba]:""),va.createElement(Ye.Z,{className:xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title,value:xn==null?void 0:xn.choice_text}),(xn==null?void 0:xn.standard_boolean)&&va.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(he==null?void 0:he.question_type)===1&&va.createElement("div",{className:Ha.normalWrap},(gn=he==null?void 0:he.question_choices)==null?void 0:gn.map((xn,ba)=>va.createElement("div",{className:Ha.checkbox,key:ba},!(xn!=null&&xn.standard_boolean)&&va.createElement("span",{className:Ha.checkboxitem}),(xn==null?void 0:xn.standard_boolean)&&va.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),va.createElement("span",{className:`${xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ba]),va.createElement(Ye.Z,{className:xn!=null&&xn.standard_boolean?Ha.titleyes:Ha.title,value:xn==null?void 0:xn.choice_text}),(xn==null?void 0:xn.standard_boolean)&&va.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(he==null?void 0:he.question_type)===3&&va.createElement("div",{className:Ha.completion},(ua=he==null?void 0:he.standard_answers)==null?void 0:ua.map((xn,ba)=>{var ya;return va.createElement(nt.Z,{align:"top"},va.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",ba+1),va.createElement("div",{className:Ha.content},(ya=xn.answer_text)==null?void 0:ya.map((Za,ja)=>va.createElement("div",{key:ja,className:Ha.items,style:(xn==null?void 0:xn.model)===2?{border:0,padding:0}:{}},(xn==null?void 0:xn.model)===1?va.createElement("pre",{className:"mb0"},Za):va.createElement(al.Z,{value:Za,disabled:!0})))))})),(he==null?void 0:he.question_type)===4&&va.createElement("div",{className:Ha.simple},va.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),va.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ka=he==null?void 0:he.answer_texts)!=null&&ka[0]?va.createElement(Ye.Z,{className:Ha.content,value:(Ka=he==null?void 0:he.answer_texts)==null?void 0:Ka[0]}):va.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),va.createElement("div",{className:"mt20 "},va.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),va.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},he!=null&&he.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(he==null?void 0:he.question_type)===5&&va.createElement("div",{className:Ha.shixunWrapper},(me=he==null?void 0:he.shixun)==null?void 0:me.map((xn,ba)=>{var ya,Za;return va.createElement("div",null,va.createElement("div",{key:ba,className:`${Ha.shixun} mb30`},va.createElement("span",{className:Ha.score},"\uFF08",xn==null?void 0:xn.challenge_score,"\u5206\uFF09"),va.createElement("span",{className:Ha.qtitle},(he==null?void 0:he.index)+"."+(ba+1),"\u3001",xn==null?void 0:xn.challenge_name)),((Za=(ya=Ke==null?void 0:Ke.editData)==null?void 0:ya.exercise)==null?void 0:Za.show_challenge_task_pass)&&va.createElement(Ye.Z,{className:Ha.content,value:(xn==null?void 0:xn.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(he==null?void 0:he.question_type)===6&&va.createElement("div",{className:Ha.program,style:{border:!((be=(ge=Ke==null?void 0:Ke.editData)==null?void 0:ge.exercise)!=null&&be.show_hack_sets)&&!((Ne=(ke=Ke==null?void 0:Ke.editData)==null?void 0:ke.exercise)!=null&&Ne.show_hack_description)&&"none"}},((vt=(He=Ke==null?void 0:Ke.editData)==null?void 0:He.exercise)==null?void 0:vt.show_hack_sets)&&va.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},va.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},va.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),va.createElement(yi.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(xn,ba,ya)=>ya+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(xn,ba,ya)=>va.createElement(ne.Z,{title:va.createElement("pre",null,xn)},va.createElement("div",{className:Ha.divname},xn))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(xn,ba,ya)=>va.createElement(ne.Z,{title:va.createElement("pre",null,xn)}," ",va.createElement("div",{className:Ha.divname},xn))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(Bt=he==null?void 0:he.program_attr)==null?void 0:Bt.hack_sets})),((Ht=(it=Ke==null?void 0:Ke.editData)==null?void 0:it.exercise)==null?void 0:Ht.show_hack_description)&&va.createElement("div",null,va.createElement(Ye.Z,{className:Ha.content,value:(he==null?void 0:he.description)||"- -"}))),(he==null?void 0:he.question_type)===7&&((Ft=he==null?void 0:he.sub_exercise_questions)==null?void 0:Ft.map((xn,ba)=>{var ya,Za,ja,la,Sa,ha;return va.createElement("div",{key:ba},va.createElement("div",{className:Ha.combination},va.createElement("span",{className:Ha.score},xn==null?void 0:xn.question_score,"\u5206"),va.createElement("span",{className:Ha.qtype},(ya=wl.find(Wn=>Wn.type==xn.question_type))==null?void 0:ya.name),va.createElement("span",{className:Ha.qtitle},va.createElement(Ye.Z,{value:`${ba+1}\u3001${xn==null?void 0:xn.question_title}`}))),(xn.question_type===0||xn.question_type===2)&&va.createElement("div",{className:Ha.warp,style:{padding:"20px 58px 0 58px"}},va.createElement("div",null,(Za=xn==null?void 0:xn.question_choices)==null?void 0:Za.map((Wn,ca)=>va.createElement("div",{className:Ha.redio,key:ca},!(Wn!=null&&Wn.standard_boolean)&&va.createElement("span",{className:Ha.redioitem}),(Wn==null?void 0:Wn.standard_boolean)&&va.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),va.createElement("span",{className:`${Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ca]),va.createElement(Ye.Z,{className:Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title,value:Wn==null?void 0:Wn.choice_text}),(Wn==null?void 0:Wn.standard_boolean)&&va.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848"))))),xn.question_type===1&&va.createElement("div",{className:Ha.normalWrap},(ja=xn==null?void 0:xn.question_choices)==null?void 0:ja.map((Wn,ca)=>va.createElement("div",{className:Ha.checkbox,key:ca},!(Wn!=null&&Wn.standard_boolean)&&va.createElement("span",{className:Ha.checkboxitem}),(Wn==null?void 0:Wn.standard_boolean)&&va.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),va.createElement("span",{className:`${Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ca]),va.createElement(Ye.Z,{className:Wn!=null&&Wn.standard_boolean?Ha.titleyes:Ha.title,value:Wn==null?void 0:Wn.choice_text}),(Wn==null?void 0:Wn.standard_boolean)&&va.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),xn.question_type===3&&va.createElement("div",{className:Ha.completion},(la=xn==null?void 0:xn.standard_answers)==null?void 0:la.map((Wn,ca)=>{var Ta;return va.createElement(nt.Z,{align:"top"},va.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",ca+1),va.createElement("div",{className:Ha.content},(Ta=Wn.answer_text)==null?void 0:Ta.map((qa,nr)=>va.createElement("div",{key:nr,className:Ha.items},va.createElement("pre",{className:"mb0"},qa)))))})),xn.question_type===4&&va.createElement("div",{className:Ha.simple},va.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),va.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Sa=xn==null?void 0:xn.answer_texts)!=null&&Sa[0]?va.createElement(Ye.Z,{className:Ha.content,value:(ha=xn==null?void 0:xn.answer_texts)==null?void 0:ha[0]}):va.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),va.createElement("div",{className:"mt20 "},va.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),va.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},xn!=null&&xn.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(he==null?void 0:he.question_type)===8&&va.createElement("div",null,va.createElement(Ye.Z,{disabledFill:!0,className:Ha.content,showProgramFill:!0,value:vi.Base64.decode(((Xt=he==null?void 0:he.program_attr)==null?void 0:Xt.code)||"")})),((he==null?void 0:he.question_type)<=4||[6,8].includes(he==null?void 0:he.question_type))&&va.createElement("div",{className:Ha.bottom},va.createElement("div",{className:`${Ha.bottomitem} mb30`},va.createElement("span",{className:Ha.left},"\u89E3\u6790"),va.createElement("span",{className:Ha.right},he!=null&&he.analysis?va.createElement(Ye.Z,{value:he==null?void 0:he.analysis}):va.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),va.createElement("div",{className:`${Ha.bottomitem} mb30`},va.createElement("span",{className:Ha.left},"\u96BE\u5EA6"),va.createElement("span",{className:Ha.right},(he==null?void 0:he.difficulty)===1?"\u7B80\u5355":(he==null?void 0:he.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),va.createElement("div",{className:Ha.bottomitem},va.createElement("span",{className:Ha.left},"\u77E5\u8BC6\u70B9"),va.createElement(ne.Z,{title:((Rn=he==null?void 0:he.tag_discipline_names)==null?void 0:Rn.length)<=0||((_t=he==null?void 0:he.tag_discipline_names)==null?void 0:_t.length)==1&&["-"].includes(he==null?void 0:he.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":($n=(Lt=he==null?void 0:he.tag_discipline_names)==null?void 0:Lt.join("\uFF1B"))==null?void 0:$n.toString()},va.createElement("span",{className:Ha.right},((Kn=he==null?void 0:he.tag_discipline_names)==null?void 0:Kn.length)<=0?va.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Yn=he==null?void 0:he.tag_discipline_names)==null?void 0:Yn.length)==1&&["-"].includes(he==null?void 0:he.tag_discipline_names[0])?va.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(ea=(Qn=he==null?void 0:he.tag_discipline_names)==null?void 0:Qn.join("\uFF1B"))==null?void 0:ea.toString())))))},Al=te(89197),rl=te(6507),Ko=te(59301),ts=Object.defineProperty,bi=Object.defineProperties,ol=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Ji=(he,Ke,Ve)=>Ke in he?ts(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,Ri=(he,Ke)=>{for(var Ve in Ke||(Ke={}))il.call(Ke,Ve)&&Ji(he,Ve,Ke[Ve]);if(Oi)for(var Ve of Oi(Ke))Dl.call(Ke,Ve)&&Ji(he,Ve,Ke[Ve]);return he},ll=(he,Ke)=>bi(he,ol(Ke)),Ti=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),ns=({qitem:he,setisedit:Ke,TagDiscipline:Ve,exerciseitem:gn,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:me,showTip:ge=!1})=>{const[be]=Be.default.useForm();return(0,b.useEffect)(()=>{be.setFieldsValue(ll(Ri({},he),{name:he.question_title,answer_texts:he.answer_texts,repeat_answer:!he.repeat_answer}))},[he]),Ko.createElement("div",null,Ko.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua(Ri(Ri({},he),ke))},onFinishFailed:ke=>Ti(void 0,null,function*(){var Ne,He;Ie.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ne=ke==null?void 0:ke.errorFields)==null?void 0:Ne[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Ko.createElement("div",{style:{display:"flex",alignItems:"center"}},Ko.createElement("div",{style:{flex:1}},Ko.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ko.createElement("span",null,"\u7B80\u7B54\u9898")),!(he!=null&&he.isadd)&&Ko.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Ko.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Ko.createElement(tt.ZP,{onClick:()=>{he.isadd?(Ke(!1),me()):(be.setFieldsValue(ll(Ri({},he),{name:he==null?void 0:he.question_title,answer_texts:he.answer_texts||[],repeat_answer:!(he!=null&&he.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Ko.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ko.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ko.createElement("i",{className:"iconfont icon-tishi11 mr5 font14"}),"\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002")},Ko.createElement(tt.ZP,{type:"primary",className:"ml20",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Ko.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ko.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Ko.createElement(Qe.Z,{onBlur:ke=>{ke.target.value==="0"&&Ie.ZP.error("\u5206\u503C\u5FC5\u987B\u5927\u4E8E0\u4E14\u5C0F\u4E8E\u7B49\u4E8E100")},style:{width:150},precision:1,placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",max:100,min:.1})),Ko.createElement(rl.W,{form:be,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Ko.createElement(Mt,{getTagData:Ka,qitem:he,exerciseitem:gn,TagDiscipline:Ve,form:be}))))},Lo=te(59301),as=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())}),sl=({setScoreShow:he,ScoreShow:Ke,exerciseitem:Ve,getdata:gn})=>{var ua,ka,Ka;const[me,ge]=(0,b.useState)(!1);function be(){return as(this,null,function*(){var ke,Ne,He;let vt=(Ne=(ke=Ve==null?void 0:Ve.exercise_question_types)==null?void 0:ke.filter(it=>it.Singlequestion))==null?void 0:Ne.map(it=>({question_type:it.question_type,score:it.Singlequestion})),Bt=yield(0,pe.ZP)(`/api/examination_banks/${(He=Ve==null?void 0:Ve.exercise)==null?void 0:He.id}/batch_set_score.json`,{method:"POST",body:{question_arr:vt}});(Bt==null?void 0:Bt.status)===0&&gn()})}return Lo.createElement("div",null,Ke&&Lo.createElement(x.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ke,width:640,centered:!0,zIndex:10,className:ie.scoremodal,onCancel:()=>{he(!1)},onOk:()=>{var ke,Ne,He;if(Ve!=null&&Ve.use_blank_score&&((He=(Ne=(ke=Ve==null?void 0:Ve.exercise_question_types)==null?void 0:ke.filter(vt=>vt.name==="\u586B\u7A7A\u9898"))==null?void 0:Ne[0])!=null&&He.Singlequestion)){ge(!0);return}be(),he(!1)}},Lo.createElement("div",{className:"c-black"},"\u603B\u5206",Lo.createElement("span",{className:"ml10 c-light-primary"},(Ve==null?void 0:Ve.exercise_question_types.length)>0&&((ua=Ve==null?void 0:Ve.exercise_types)==null?void 0:ua.q_scores))),Lo.createElement("div",{className:ie.content},Lo.createElement("span",null,"\u9898\u578B\u540D\u79F0"),Lo.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),Lo.createElement("span",null,"\u9898\u578B\u603B\u5206"),Lo.createElement("span",null,"\u64CD\u4F5C")),(Ka=(ka=Ve==null?void 0:Ve.exercise_question_types)==null?void 0:ka.filter(ke=>ke.name!=="\u5B9E\u8BAD\u9898"&&ke.name!=="\u7EC4\u5408\u9898"))==null?void 0:Ka.map((ke,Ne)=>{var He;return Lo.createElement("div",{key:Ne,className:ie.items},Lo.createElement("span",null,ke==null?void 0:ke.name),Lo.createElement("span",null,(He=ke==null?void 0:ke.items)==null?void 0:He.length),Lo.createElement("span",null,ke==null?void 0:ke.score),Lo.createElement("span",null,"\u6BCF\u9898",Lo.createElement(Qe.Z,{min:.1,precision:1,max:100,onChange:vt=>{ke.Singlequestion=vt},defaultValue:ke.Singlequestion,style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Lo.createElement(x.default,{title:!1,footer:!1,centered:!0,open:me,zIndex:20,width:640,closable:!1,className:ie.scoremodal},Lo.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",Lo.createElement("span",{style:{color:"#FA6400"}},"\u6309\u7A7A\u7ED9\u5206"),"\u7684\u5C0F\u9898\uFF0C\u82E5\u6279\u91CF\u8BBE\u7F6E\u5206\u503C\u4F1A\u7EDF\u4E00\u5C06\u586B\u7A7A\u9898\u6539\u4E3A\u6309\u9898\u7ED9\u5206"),Lo.createElement("div",{className:ie.bottom},Lo.createElement(tt.ZP,{className:ie.no,onClick:()=>{ge(!1)}},"\u53D6\u6D88"),Lo.createElement(tt.ZP,{className:ie.yes,onClick:()=>{be(),ge(!1),he(!1)}},"\u786E\u8BA4"))))},Fi=te(27727),ki=te(28661),Nl=te(89392),rs=te(52764),os=te(71385),is=te(72194),Na=te(59301),ls=Object.defineProperty,Ds=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,us=(he,Ke,Ve)=>Ke in he?ls(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,ei=(he,Ke)=>{for(var Ve in Ke||(Ke={}))Ns.call(Ke,Ve)&&us(he,Ve,Ke[Ve]);if(Il)for(var Ve of Il(Ke))Ll.call(Ke,Ve)&&us(he,Ve,Ke[Ve]);return he},Ci=(he,Ke)=>Ds(he,ss(Ke)),Oo=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())});const $i=[{name:"\u5355\u9009\u9898",id:0,count:"q_singles",score:"q_singles_scores",nameType:"SINGLE"},{name:"\u591A\u9009\u9898",id:1,count:"q_doubles",score:"q_doubles_scores",nameType:"MULTIPLE"},{name:"\u5224\u65AD\u9898",id:2,count:"q_judges",score:"q_judges_scores",nameType:"JUDGMENT"},{name:"\u586B\u7A7A\u9898",id:3,count:"q_nulls",score:"q_nulls_scores",nameType:"COMPLETION"},{name:"\u7B80\u7B54\u9898",id:4,count:"q_mains",score:"q_mains_scores",nameType:"SUBJECTIVE"},{name:"\u5B9E\u8BAD\u9898",id:5,count:"q_shixuns",score:"q_shixuns_scores",nameType:"PRACTICAL"},{name:"\u7F16\u7A0B\u9898",id:6,count:"q_pros",score:"q_pros_scores",nameType:"PROGRAM"},{name:"\u7EC4\u5408\u9898",id:7,count:"q_combinations",score:"q_combinations_scores",nameType:"COMBINATION"},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",id:8,count:"q_combinations",score:"q_combinations_scores",nameType:"BPROGRAM"}],ds=({user:he,dispatch:Ke,itemid:Ve,newExercisePaper:gn,setisedits:ua})=>{var ka,Ka,me,ge,be,ke,Ne,He,vt,Bt,it,Ht;const[Ft,Xt]=(0,b.useState)(),[Rn,_t]=(0,b.useState)(!1),[Lt,$n]=(0,b.useState)(),[Kn,Yn]=(0,b.useState)(),Qn=(0,b.useRef)(),ea=(0,b.useRef)(),[xn,ba]=(0,b.useState)(),[ya,Za]=(0,b.useState)(!1),[ja,la]=(0,b.useState)(!1),[Sa,ha]=(0,b.useState)(),[Wn,ca]=(0,b.useState)(!1),[Ta,qa]=(0,b.useState)(!1),[nr,Wa]=(0,b.useState)(!1),[gr,Sr]=(0,b.useState)(!1),[Wr,_r]=(0,b.useState)(!1),[ho,eo]=(0,b.useState)(!1),[Br,Do]=(0,b.useState)(!1),[Ur,So]=(0,b.useState)(!1),[oo]=Be.default.useForm(),[Jo,or]=(0,b.useState)(!1),ir=(0,b.useRef)(null),[_a]=(0,ue.useSearchParams)(),[er,Gr]=(0,b.useState)(!1),tr=_a.get("isIntelligentAssistant"),[sr,Rr]=(0,b.useState)(!1);(0,b.useEffect)(()=>{io(),Ke({type:"globalSetting/footerToggle",payload:!1})},[]),(0,b.useEffect)(()=>{ua(ja)},[ja]),(0,b.useEffect)(()=>{Lt!=null&&Lt.question_id&&(Yn(Lt==null?void 0:Lt.question_score),ea.current=Lt==null?void 0:Lt.question_id)},[Lt]);const Dr=da=>Oo(void 0,null,function*(){let Va=yield Ke({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:da}});ha(Va)});function io(){return Oo(this,null,function*(){var da,Va,Pr,yr,Lr,zr;Za(!0),_t(!0);const so=yield Ke({type:"newExercisePaper/editExercise",payload:{id:Ve}});Za(!1),_t(!1),Xt(so),(da=so==null?void 0:so.exercise)!=null&&da.sub_discipline_id&&Dr((Va=so==null?void 0:so.exercise)==null?void 0:Va.sub_discipline_id),$n(Ci(ei({},(Lr=(yr=(Pr=so==null?void 0:so.exercise_question_types)==null?void 0:Pr[0])==null?void 0:yr.items)==null?void 0:Lr[0]),{index:1})),ba(Ci(ei({},(zr=so==null?void 0:so.exercise_question_types)==null?void 0:zr[0]),{indexs:1}))})}function wo(da,Va=!0){return Oo(this,null,function*(){var Pr,yr,Lr,zr;Va&&(Za(!0),_t(!0));const so=yield Ke({type:"newExercisePaper/editExercise",payload:{id:Ve}});Xt(so);let Eo=[];(Pr=so==null?void 0:so.exercise_question_types)==null||Pr.map(zo=>{var ti;(ti=zo==null?void 0:zo.items)==null||ti.map((qo,fi)=>{Eo.push(Ci(ei({},qo),{index:fi+1}))})});let co=(yr=Eo.filter(zo=>zo.question_id===(da==null?void 0:da.id)))==null?void 0:yr[0],ii=(zr=((Lr=so==null?void 0:so.exercise_question_types)==null?void 0:Lr.map((zo,ti)=>{if((co==null?void 0:co.question_type)===(zo==null?void 0:zo.question_type))return Ci(ei({},zo),{indexs:ti+1})})).filter(zo=>zo))==null?void 0:zr[0];ba(ei({},ii)),$n(ei({},co)),Yn(co==null?void 0:co.question_score),Za(!1),_t(!1)})}function _o(da){return Oo(this,null,function*(){var Va;let Pr=Ci(ei({},da),{difficulty:(da==null?void 0:da.difficulty)||2,item_type:da.question_type,sub_discipline_id:((Va=da==null?void 0:da.sub_discipline_id)==null?void 0:Va[1])||"",tag_discipline_ids:[],repeat_answer:!da.repeat_answer}),yr={};da.question_type===8&&(yr=Ci(ei({},da),{hack:Ci(ei({},da==null?void 0:da.hack),{difficult:da.difficulty}),hack_codes:Ci(ei({},da.hack_codes),{code:vi.Base64.encode(da.hack_codes.code)}),hack_sets:[ei({},da.hack_sets)],is_blank:!0})),da.tag_discipline_ids&&(Pr.tag_discipline_ids=Array.isArray(da.tag_discipline_ids)?da.tag_discipline_ids:[da.tag_discipline_ids],yr.tag_discipline_ids=Array.isArray(da.tag_discipline_ids)?da.tag_discipline_ids:[da.tag_discipline_ids]),sessionStorage.projectFill&&(yr.hack_identifier=sessionStorage.projectFill);let Lr=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:da.question_type===8?yr:Pr});(Lr==null?void 0:Lr.status)===0&&(la(!1),wo(Lr)),(0,de.Vf)("#question-scroll-id")})}function Ro(da){return Oo(this,null,function*(){_t(!0);let Va=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/sort_question_type.json`,{method:"post",body:{question_type:da}});_t(!1),(Va==null?void 0:Va.status)===0&&io()})}const ci=(da,Va,Pr)=>Oo(void 0,null,function*(){var yr;if(da.length===0){Ie.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Pr();return}const Lr=yield(0,se.Hb)(Ve,(yr=da[0])==null?void 0:yr.file,Va);Lr.status===0&&(Ie.ZP.success(`\u6210\u529F\u5BFC\u5165${Lr==null?void 0:Lr.success}\u6761`),ca(!1),io()),Pr()}),No=(da,Va)=>Oo(void 0,null,function*(){const Pr=yield(0,se.kF)({score:(0,Nl.round)(da,1),question_id:Va==null?void 0:Va.question_id});if((Pr==null?void 0:Pr.status)===0){Ie.ZP.success("\u4FEE\u6539\u6210\u529F"),wo({id:ea.current},!1);return}(Pr==null?void 0:Pr.status)===-1&&Yn(Va==null?void 0:Va.question_score)});function Io(){return Oo(this,null,function*(){x.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:ie.modalconfirm,onOk:()=>Oo(this,null,function*(){if(Lt.question_id){let da=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/examination_banks_item_banks/${Lt.question_id}.json`,{method:"delete"});(da==null?void 0:da.status)===0&&(io(),la(!1))}else $n({}),la(!1),io()}),cancelText:"\u53D6\u6D88"})})}const Ai=da=>Oo(void 0,null,function*(){return yield(0,pe.ZP)(`/api/examination_banks/${Ve}/examination_banks_item_banks.json`,{method:"post",body:ei({},da)})}),{overflow:Yr,handleMouseEnter:to,handleMouseLeave:fo}=(0,ki.I)(),yo=da=>Oo(void 0,null,function*(){var Va,Pr;_t(!0);let yr=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/sort_question_type.json`,{method:"post",body:{question_type:da}});if(_t(!1),(yr==null?void 0:yr.status)===0){const Lr=yield Ke({type:"newExercisePaper/editExercise",payload:{id:Ve}});Xt(Lr),(Va=Lr==null?void 0:Lr.exercise)!=null&&Va.sub_discipline_id&&Dr((Pr=Lr==null?void 0:Lr.exercise)==null?void 0:Pr.sub_discipline_id)}}),lo=()=>ja?(Rr(!0),!0):!1;(0,b.useEffect)(()=>{if(sr){const da=setTimeout(()=>{Rr(!1)},2e3);return()=>clearTimeout(da)}},[sr]);const Tr=(da,Va)=>Na.createElement(E.default,null,Na.createElement(E.default.Item,{key:"0",onClick:()=>Wo(da==null?void 0:da.question_type)},Na.createElement("span",{className:ie.moreSpan},"\u65B0\u589E")),Na.createElement(E.default.Item,{key:"1",disabled:Va===0,onClick:()=>Oo(void 0,null,function*(){if(Va===0||lo())return;let Pr=(0,de.rz)(Ft==null?void 0:Ft.exercise_question_types,Va,Va-1);yield yo(Pr.map(yr=>yr.name))})},Na.createElement("span",{className:ie.moreSpan},"\u4E0A\u79FB")),Na.createElement(E.default.Item,{key:"2",disabled:Va===(Ft==null?void 0:Ft.exercise_question_types.length)-1,onClick:()=>Oo(void 0,null,function*(){if(Va===(Ft==null?void 0:Ft.exercise_question_types.length)-1||lo())return;let Pr=(0,de.rz)(Ft==null?void 0:Ft.exercise_question_types,Va,Va+1);yield yo(Pr.map(yr=>yr.name))})},Na.createElement("span",{className:ie.moreSpan},"\u4E0B\u79FB")),Na.createElement(E.default.Item,{key:"3",onClick:()=>{var Pr;oo.setFieldsValue({name:da.name,item_type_en:(Pr=$i.find(yr=>yr.id==da.question_type))==null?void 0:Pr.nameType}),or(!0)}},Na.createElement("span",{className:ie.moreSpan},"\u91CD\u547D\u540D"))),Wo=da=>{var Va,Pr,yr,Lr,zr,so,Eo,co,vo,ii,zo,ti,qo,fi,Xi,Kr,po,Mo,bo,Uo,Vo,Xo,Si,_i,_l,ml,fl,pl;if(!lo()){if(da===5){Sr(!0),_r(!0);return}if(da===6){if(_a.get("pageType")=="course")_a.get("updateType")=="course"?ue.history.push(`/problems/newcreate?express_id=${(Va=Ft==null?void 0:Ft.exercise)==null?void 0:Va.id}&callback_url=/paperlibrary/add/${(Pr=Ft==null?void 0:Ft.exercise)==null?void 0:Pr.id}?type=2&pageType=course&updateType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`):ue.history.push(`/problems/newcreate?express_id=${(yr=Ft==null?void 0:Ft.exercise)==null?void 0:yr.id}&callback_url=/paperlibrary/add/${(Lr=Ft==null?void 0:Ft.exercise)==null?void 0:Lr.id}?type=2&pageType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`);else{let Yi=(so=(zr=gn==null?void 0:gn.editData)==null?void 0:zr.exercise)!=null&&so.set_question_sub_discipline?`/problems/newcreate?express_id=${(Eo=Ft==null?void 0:Ft.exercise)==null?void 0:Eo.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(vo=(co=gn==null?void 0:gn.editData)==null?void 0:co.exercise)==null?void 0:vo.discipline_id}&sub_discipline_id=${(zo=(ii=gn==null?void 0:gn.editData)==null?void 0:ii.exercise)==null?void 0:zo.sub_discipline_id}`:`/problems/newcreate?express_id=${(ti=Ft==null?void 0:Ft.exercise)==null?void 0:ti.id}&callback_url=${window.location.pathname+window.location.search}`;ue.history.push(Yi)}return}la(!0),$n(da===2?{question_type:da,isadd:!0,repeat_answer:!0,choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],question_choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],difficulty:2,standard_answers:[],question_score:"",tag_discipline_ids:[],question_title:"",discipline_id:(fi=(qo=gn==null?void 0:gn.editData)==null?void 0:qo.exercise)!=null&&fi.set_question_sub_discipline?(Kr=(Xi=gn==null?void 0:gn.editData)==null?void 0:Xi.exercise)==null?void 0:Kr.discipline_id:0,sub_discipline_id:(Mo=(po=gn==null?void 0:gn.editData)==null?void 0:po.exercise)!=null&&Mo.set_question_sub_discipline?(Uo=(bo=gn==null?void 0:gn.editData)==null?void 0:bo.exercise)==null?void 0:Uo.sub_discipline_id:0,analysis:""}:{question_type:da,question_choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),standard_answers:[],repeat_answer:!0,difficulty:2,isadd:!0,tag_discipline_ids:[],question_score:"",analysis:"",sub_item_banks:[],question_title:"",is_ordered:!0,use_keywords:!1,use_blank_score:!0,keywords:[],allow_student_debug:!1,submit_rule:1,downcase:!0,no_space:!0,discipline_id:(Xo=(Vo=gn==null?void 0:gn.editData)==null?void 0:Vo.exercise)!=null&&Xo.set_question_sub_discipline?(_i=(Si=gn==null?void 0:gn.editData)==null?void 0:Si.exercise)==null?void 0:_i.discipline_id:0,sub_discipline_id:(ml=(_l=gn==null?void 0:gn.editData)==null?void 0:_l.exercise)!=null&&ml.set_question_sub_discipline?(pl=(fl=gn==null?void 0:gn.editData)==null?void 0:fl.exercise)==null?void 0:pl.sub_discipline_id:0})}},$o=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{lo()||ca(!0)}},{key:2,label:Na.createElement("div",null,Na.createElement("img",{width:26,style:{position:"absolute",top:-2},src:os.$}),Na.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{lo()||qa(!0)}}];return Na.createElement("div",null,Na.createElement(Oe.Z,{spinning:ya},Na.createElement("div",{className:ie.bg},Na.createElement("div",{style:{textAlign:"center"}},((ka=Ft==null?void 0:Ft.exercise_types)==null?void 0:ka.q_counts)===0&&!ja&&Na.createElement(Pe.Z,{styles:{marginTop:180},customText:Na.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Na.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Ka=Ft==null?void 0:Ft.exercise_types)==null?void 0:Ka.q_counts)>0||ja)&&Na.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Na.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Na.createElement("div",{className:ie.left},Na.createElement("div",{className:ie.leftAction},Na.createElement(tt.ZP,{onClick:()=>{lo()||Wa(!0)},className:ie.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Na.createElement("div",{className:ie.scrollWrapper,style:{overflow:Yr},onMouseEnter:to,onMouseLeave:fo},(me=Ft==null?void 0:Ft.exercise_question_types)==null?void 0:me.map((da,Va)=>Na.createElement("div",{key:Va,className:"mb30"},Na.createElement("div",{className:ie.title},Na.createElement("div",{className:ie.titleleft},Na.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,de.EM)(Va+1),"\u3001\u3010",da.name,"\u3011"),Na.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",da.count,"\u5C0F\u9898\uFF0C\u5171",da.score,"\u5206\uFF09")),Na.createElement(z.Z,{dropdownRender:()=>Tr(da,Va),placement:"bottomLeft"},Na.createElement("div",{className:ie.more_style},Na.createElement("i",{className:"iconfont icon-sandian font12"})))),Na.createElement(En,{handleEditing:()=>{Rr(!0)},isedit:ja,setBigqitem:ba,bigitem:Ci(ei({},da),{indexs:Va+1}),setqitem:Pr=>Oo(void 0,null,function*(){var yr;(yr=Qn.current)==null||yr.blur(),$n(Pr)}),qitem:Lt,Itemid:Ve,getdata:wo,data:da.items})))))),Na.createElement("div",{id:"question-scroll-id",style:{overflow:ja?"hidden":"auto"},className:ie.right,ref:ir},!(Lt!=null&&Lt.isadd)&&Na.createElement("div",{className:ie.title},!ja&&Na.createElement("div",{style:{flex:1}},Na.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(xn==null?void 0:xn.indexs)&&(0,de.EM)(xn==null?void 0:xn.indexs),"\u3001\u3010",xn==null?void 0:xn.name,"\u3011"),Na.createElement(ne.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Na.createElement("i",{className:`${ie.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var da;oo.setFieldsValue({name:xn.name,item_type_en:(da=$i.find(Va=>Va.id==xn.question_type))==null?void 0:da.nameType}),or(!0)}})),Na.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",xn==null?void 0:xn.count,"\u5C0F\u9898\uFF0C\u5171",xn==null?void 0:xn.score,"\u5206\uFF09"),(Lt==null?void 0:Lt.question_type)===6&&Na.createElement("span",{onClick:()=>Gr(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(Lt==null?void 0:Lt.question_type)===5&&Na.createElement(ot.default,{defaultChecked:(be=(ge=gn==null?void 0:gn.editData)==null?void 0:ge.exercise)==null?void 0:be.show_challenge_task_pass,onChange:da=>Oo(void 0,null,function*(){let Va=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:da.target.checked}});(Va==null?void 0:Va.status)===0&&(Ie.ZP.info("\u8BBE\u7F6E\u6210\u529F"),wo({id:ea.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(Lt==null?void 0:Lt.question_type)===6&&Na.createElement("span",{style:{marginLeft:20},onClick:()=>{var da,Va,Pr,yr;x.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Na.createElement("div",null,(Lt==null?void 0:Lt.question_type)===6&&Na.createElement(ot.default,{defaultChecked:(Va=(da=gn==null?void 0:gn.editData)==null?void 0:da.exercise)==null?void 0:Va.show_hack_sets,onChange:Lr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Lr.target.checked}});(zr==null?void 0:zr.status)===0&&(Ie.ZP.info("\u8BBE\u7F6E\u6210\u529F"),x.default.destroyAll(),wo({id:ea.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Na.createElement("br",null),(Lt==null?void 0:Lt.question_type)===6&&Na.createElement(ot.default,{defaultChecked:(yr=(Pr=gn==null?void 0:gn.editData)==null?void 0:Pr.exercise)==null?void 0:yr.show_hack_description,onChange:Lr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${Ve}/update_show_columns.json`,{method:"post",body:{show_hack_description:Lr.target.checked}});(zr==null?void 0:zr.status)===0&&(Ie.ZP.info("\u8BBE\u7F6E\u6210\u529F"),x.default.destroyAll(),wo({id:ea.current}))}),style:{marginBottom:10}},"\u5C55\u793A\u8BD5\u9898\u63CF\u8FF0"))})},className:"current c-light-primary font14 bold-400"},"\u7F16\u7A0B\u9898\u663E\u793A\u8BBE\u7F6E")),Na.createElement("div",{style:{display:"flex",alignItems:"center"}},(Lt==null?void 0:Lt.question_type)===5&&!ja&&Na.createElement("a",{className:ie.shixun,href:`/shixuns/${Lt==null?void 0:Lt.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Na.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!ja&&[0,1,2,4,6].includes(Lt==null?void 0:Lt.question_type)&&Na.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Na.createElement(Qe.Z,{precision:1,ref:Qn,onChange:da=>Yn(da),value:Kn,onBlur:da=>{No(da.target.value,Lt)}})),!ja&&Na.createElement(ne.Z,{title:"\u5220\u9664"},Na.createElement("i",{onClick:()=>{Io()},style:{marginRight:20},className:`${ie.delete} iconfont icon-shanchu13 mr5 `})),!ja&&Na.createElement(ne.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Na.createElement("i",{onClick:()=>{var da,Va,Pr;(Lt==null?void 0:Lt.question_type)===6?_a.get("pageType")=="course"?_a.get("updateType")=="course"?ue.history.push(`/problems/newedit/${Lt==null?void 0:Lt.hack_identifier}?type=exercises&express_id=${(da=Ft==null?void 0:Ft.exercise)==null?void 0:da.id}&question_id=${Lt==null?void 0:Lt.question_id}&score=${Lt==null?void 0:Lt.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&updateType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`):ue.history.push(`/problems/newedit/${Lt==null?void 0:Lt.hack_identifier}?type=exercises&express_id=${(Va=Ft==null?void 0:Ft.exercise)==null?void 0:Va.id}&question_id=${Lt==null?void 0:Lt.question_id}&score=${Lt==null?void 0:Lt.question_score}&exercise=true&callback_url=${location.pathname}?type=2&pageType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`):ue.history.push(`/problems/newedit/${Lt==null?void 0:Lt.hack_identifier}?type=exercises&express_id=${(Pr=Ft==null?void 0:Ft.exercise)==null?void 0:Pr.id}&question_id=${Lt==null?void 0:Lt.question_id}&score=${Lt==null?void 0:Lt.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):la(!0)},className:`${ie.edit} iconfont icon-bianji_Hover mr5 `})))),!ja&&Na.createElement("div",null,Na.createElement("div",{className:ie.qcount},Na.createElement("span",{className:ie.score},Lt==null?void 0:Lt.question_score,"\u5206"),Na.createElement(Ye.Z,{className:ie.qtitle,value:(Lt==null?void 0:Lt.index)+`\u3001${(Lt==null?void 0:Lt.question_type)==8?(ke=Lt==null?void 0:Lt.program_attr)==null?void 0:ke.description:Lt==null?void 0:Lt.question_title}`}),(Lt==null?void 0:Lt.high_resources_consume)&&Na.createElement(is.Z,{type:"shixun",style:{marginLeft:10}})),(Lt==null?void 0:Lt.question_type)===6&&Na.createElement(je.Z,{onEdit:()=>Gr(1),className:"mt10",dataSource:(Lt==null?void 0:Lt.languages)||[]}),Na.createElement(ws,{newExercisePaper:gn,TagDiscipline:Sa,qitem:Lt})),ja&&Na.createElement("div",null,(Lt==null?void 0:Lt.question_type)<=1&&Na.createElement(gt,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,init:io,showTip:sr}),(Lt==null?void 0:Lt.question_type)===5&&Na.createElement(ql,{setqitem:$n,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,showTip:sr}),(Lt==null?void 0:Lt.question_type)===3&&Na.createElement(ta,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,init:io,showTip:sr}),(Lt==null?void 0:Lt.question_type)===2&&Na.createElement(Wt,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,init:io,showTip:sr}),(Lt==null?void 0:Lt.question_type)===4&&Na.createElement(ns,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,init:io,showTip:sr}),(Lt==null?void 0:Lt.question_type)===7&&Na.createElement(ri,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,init:io,showTip:sr}),(Lt==null?void 0:Lt.question_type)===8&&Na.createElement(Ii,{getTagData:Dr,deleteitem:Io,seveeditor:_o,exerciseitem:Ft,TagDiscipline:Sa,setisedit:la,qitem:Lt,init:io,showTip:sr}))))))),Na.createElement("div",{className:ie.bottomdiv},Na.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},Na.createElement("span",{className:ie.spanBtn,onClick:()=>{lo()||(Sr(!0),_r(!1))}},"\u9898\u5E93\u9009\u9898"),Na.createElement(z.Z,{menu:{items:$o}},Na.createElement("span",{className:ie.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Na.createElement("span",{className:ie.spanBtn,onClick:()=>Oo(void 0,null,function*(){var da;if(lo())return;const Va=yield(0,se.JP)(Ve);Va.status===0&&window.open(`/classrooms/coursesId/exercise/${Va.exercise_id}/${(da=he.userInfo)==null?void 0:da.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Na.createElement("span",{className:ie.spanBtn,onClick:()=>{if(!lo()){if(tr){window.open(`/paperlibrary/see/${Ve}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${Ve}`)}}},"\u8BD5\u5377\u9884\u89C8"),$i==null?void 0:$i.map((da,Va)=>Na.createElement(tt.ZP,{key:Va,className:ie.addQuestionBtn,type:"primary",onClick:()=>{Wo(da.id)}},da.name)),Na.createElement(tt.ZP,{className:ie.saveBtn,loading:Ur,onClick:()=>{var da,Va;const Pr=()=>Oo(void 0,null,function*(){if(_a.get("pageType")=="course")if(_a.get("updateType")=="course")Ie.ZP.info("\u7F16\u8F91\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`);else{if(lo())return;(0,rs._C)({id:_a.get("stageId"),subject_id:_a.get("courseId"),homework_type:"exercise",examination_bank_ids:[Ve]}).then(zr=>{(zr==null?void 0:zr.status)==0&&(Ie.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`))})}else{if(lo())return;if(tr){So(!0);const zr=yield(0,pe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:Ve}});if(So(!1),(zr==null?void 0:zr.status)!==0)return}Ie.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.push("/paperlibrary?defaultActiveKey=0")}});let yr=(Va=(da=Ft==null?void 0:Ft.exercise_question_types)==null?void 0:da.filter(zr=>zr.question_type===5)[0])==null?void 0:Va.items,Lr=0;yr==null||yr.map(zr=>{zr.high_resources_consume&&(Lr=Lr+1)}),console.log(Lr),Lr>0?Ke({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Lr,fn:()=>{Pr()}}}):Pr()}},Na.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Na.createElement(sl,{setScoreShow:Wa,ScoreShow:nr,exerciseitem:Ft,getdata:io}),gr&&Na.createElement(Fi.Z,{setScoreShow:Sr,isshixuns:Wr,ScoreShow:gr,isloadings:ho,onOk:(da,Va,Pr,yr)=>Oo(void 0,null,function*(){eo(!0);let zr=yield Ai({exam_id:Ve,item_bank_ids:da,shixun_ids:Va});eo(!1),(zr==null?void 0:zr.status)===0&&x.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u65B0\u52FE\u9009\u7684\u8BD5\u9898\u5DF2\u7ECF\u6DFB\u52A0\u5230\u8BD5\u5377\uFF0C\u5982\u679C\u9700\u8981\u7EE7\u7EED\u6DFB\u52A0\u65B0\u8BD5\u9898\u8BF7\u70B9\u51FB\u201C\u7EE7\u7EED\u9009\u9898\u201D\uFF0C\u5C06\u56DE\u5230\u60A8\u4E0A\u6B21\u64CD\u4F5C\u7684\u9009\u9898\u9875\u9762",okText:"\u7EE7\u7EED\u9009\u9898",cancelText:"\u8FD4\u56DE\u8BD5\u5377",onOk:()=>{io()},onCancel:()=>{Sr(!1),io()}})})}),Na.createElement(Al.Z,{sub_discipline_id:(Ne=Ft==null?void 0:Ft.exercise)!=null&&Ne.sub_discipline_id?[(He=Ft==null?void 0:Ft.exercise)==null?void 0:He.discipline_id,(vt=Ft==null?void 0:Ft.exercise)==null?void 0:vt.sub_discipline_id]:[],visible:Wn,onCancel:()=>ca(!1),onOk:ci}),Na.createElement(x.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:Jo,width:500,onOk:()=>oo.submit(),onCancel:()=>or(!1)},Na.createElement(Be.default,{form:oo,initialValues:{},onFinish:da=>Oo(void 0,null,function*(){(yield(0,se.RK)(ei({id:Ve},da))).status==0&&(Ie.ZP.success("\u4FEE\u6539\u6210\u529F"),io(),or(!1))})},Na.createElement(Be.default.Item,{style:{marginBottom:0},name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(da,Va){var Pr,yr,Lr,zr;const so=(Pr=$i==null?void 0:$i.find(Eo=>Eo.nameType==oo.getFieldValue("item_type_en")))==null?void 0:Pr.id;return(zr=(Lr=(yr=Ft==null?void 0:Ft.exercise_question_types)==null?void 0:yr.filter(Eo=>Eo.question_type!=so))==null?void 0:Lr.map(Eo=>Eo==null?void 0:Eo.name))!=null&&zr.includes(Va)?Promise.reject(new Error("\u9898\u578B\u540D\u79F0\u5DF2\u5B58\u5728\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u9898\u578B\u540D\u79F0")):Promise.resolve()}}]},Na.createElement(le.default,{size:"large",maxLength:10,showCount:!0})),Na.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Na.createElement(le.default,{size:"large"})))),Na.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ta},Na.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Na.createElement(os.Z,{stickyTop:-24,subDisciplineId:(Bt=Ft==null?void 0:Ft.exercise)!=null&&Bt.sub_discipline_id?[(it=Ft==null?void 0:Ft.exercise)==null?void 0:it.discipline_id,(Ht=Ft==null?void 0:Ft.exercise)==null?void 0:Ht.sub_discipline_id]:[],onCancel:()=>qa(!1),mode:2,gather:{exam_id:Ve},onSuccess:()=>{qa(!1),io()}}),Na.createElement("div",{style:{height:70}})),Na.createElement(je.Q,{visible:!!er,setVisible:Gr,tip:er===2&&"\u8BBE\u7F6E\u5DF2\u6DFB\u52A0\u5728\u8BD5\u5377\u4E2D\u7684\u7F16\u7A0B\u9898\u6240\u5141\u8BB8\u4F7F\u7528\u7684\u7F16\u7A0B\u8BED\u8A00",dataSource:er===1?Lt==null?void 0:Lt.languages:[],onOk:da=>Oo(void 0,null,function*(){const Va={languages:da};er===1?Va.hack_id=Lt==null?void 0:Lt.hack_id:Va.exam_id=Ve,(yield(0,pe.ZP)("/api/problems/update_languages.json",{method:"post",body:Va})).status===0&&(Ie.ZP.success("\u4FEE\u6539\u6210\u529F"),wo({id:ea.current}),Gr(!1))})}))};var Ol=(0,ue.connect)(({user:he,newExercisePaper:Ke,dispatch:Ve})=>({user:he,newExercisePaper:Ke,dispatch:Ve}))(ds),Rl=te(76715),Tl=te(69365),Ml=te(14670),pr=te(59301),kl=Object.defineProperty,Vs=Object.defineProperties,cs=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Zi=(he,Ke,Ve)=>Ke in he?kl(he,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):he[Ke]=Ve,ul=(he,Ke)=>{for(var Ve in Ke||(Ke={}))ms.call(Ke,Ve)&&Zi(he,Ve,Ke[Ve]);if(gs)for(var Ve of gs(Ke))Zl.call(Ke,Ve)&&Zi(he,Ve,Ke[Ve]);return he},xi=(he,Ke)=>Vs(he,cs(Ke)),wi=(he,Ke,Ve)=>new Promise((gn,ua)=>{var ka=ge=>{try{me(Ve.next(ge))}catch(be){ua(be)}},Ka=ge=>{try{me(Ve.throw(ge))}catch(be){ua(be)}},me=ge=>ge.done?gn(ge.value):Promise.resolve(ge.value).then(ka,Ka);me((Ve=Ve.apply(he,Ke)).next())});const dl=()=>{const[he,Ke]=(0,b.useState)([]);return(0,b.useEffect)(()=>{wi(void 0,null,function*(){const gn=yield(0,se.d1)({source:"question"});gn!=null&&gn.disciplines&&Ke((0,y.L)(gn==null?void 0:gn.disciplines))})},[]),he},cl=({user:he,newExercisePaper:Ke,dispatch:Ve})=>{var gn,ua,ka,Ka,me,ge,be,ke,Ne,He,vt,Bt;const it=(0,ue.useParams)(),Ht=dl(),[Ft]=Be.default.useForm(),[Xt,Rn]=(0,b.useState)(),[_t,Lt]=(0,b.useState)(!1),[$n,Kn]=(0,b.useState)(1),[Yn,Qn]=(0,b.useState)(""),[ea]=(0,ue.useSearchParams)(),[xn,ba]=(0,b.useState)(!1),[ya,Za]=(0,b.useState)(!1),[ja,la]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{ea.get("type")==="2"&&(Qn(it.id),Kn(2))},[ea.get("type")]),(0,b.useEffect)(()=>{if(it.id){if(!Ht.length)return;wi(void 0,null,function*(){var ha,Wn,ca;Lt(!0);const Ta=yield(0,se.Di)({id:it.id});Lt(!1);const qa=(ha=Ta==null?void 0:Ta.exercise)==null?void 0:ha.sub_discipline_id;let nr=[];for(const Sr of Ht)for(const Wr of Sr.children)Wr.value===qa&&(nr=[Sr.value,Wr.value]);const Wa=(Wn=Ta==null?void 0:Ta.exercise)==null?void 0:Wn.time,gr=xi(ul({},Ta.exercise),{sub_discipline_id:nr,time:Wa===-1?null:Wa});Rn(gr),la((ca=Ta.exercise)==null?void 0:ca.set_question_sub_discipline)})}else Rn({time:60,difficulty:2});Ve({type:"globalSetting/footerToggle",payload:!1})},[Ht]),pr.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},pr.createElement("section",{className:"edu-container"},pr.createElement("section",{className:"animated fadeIn"},pr.createElement("aside",{style:{marginTop:15}},pr.createElement(Te.Z,{separator:">"},pr.createElement(Te.Z.Item,null,pr.createElement(ue.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),pr.createElement(Te.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),pr.createElement("div",{className:"bg-white"},pr.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},pr.createElement("div",{onClick:()=>{if(xn){Ie.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}Kn(1)},className:$n===1?Je.Z.selectdiv:Je.Z.divitem},pr.createElement(Rl.Z,{number:1,active:$n===1,className:"mr10"}),pr.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),pr.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),pr.createElement("div",{onClick:()=>{if(!it.id&&!Yn){Ie.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}Kn(2),!Yn&&Qn(it.id)},className:$n!==1?Je.Z.selectdiv:Je.Z.divitem},pr.createElement(Rl.Z,{number:2,active:$n!==1,className:"mr10"}),pr.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),$n===2&&pr.createElement("div",{className:"tc"},pr.createElement(Tl.Z,{defaultValue:(ua=(gn=Ke==null?void 0:Ke.editData)==null?void 0:gn.exercise)==null?void 0:ua.exercise_name,onFinish:Sa=>wi(void 0,null,function*(){var ha,Wn,ca,Ta,qa,nr,Wa,gr,Sr,Wr,_r,ho;return Sa.trim()===((Wn=(ha=Ke==null?void 0:Ke.editData)==null?void 0:ha.exercise)==null?void 0:Wn.exercise_name)?!0:(yield(0,se.w0)({id:`${(Ta=(ca=Ke==null?void 0:Ke.editData)==null?void 0:ca.exercise)==null?void 0:Ta.id}`,sub_discipline_id:(nr=(qa=Ke==null?void 0:Ke.editData)==null?void 0:qa.exercise)==null?void 0:nr.sub_discipline_id,time:`${(gr=(Wa=Ke==null?void 0:Ke.editData)==null?void 0:Wa.exercise)==null?void 0:gr.time}`,exercise_name:Sa,exercise_description:(Wr=(Sr=Ke==null?void 0:Ke.editData)==null?void 0:Sr.exercise)==null?void 0:Wr.exercise_description,difficulty:(ho=(_r=Ke==null?void 0:Ke.editData)==null?void 0:_r.exercise)==null?void 0:ho.difficulty})).status===0?(Ft.setFieldValue("exercise_name",Sa),Ve({type:"newExercisePaper/modifyTitle",payload:Sa}),!0):!1})}),pr.createElement("div",{style:{fontSize:14}},pr.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},(Ka=(ka=Ke==null?void 0:Ke.editData)==null?void 0:ka.exercise)==null?void 0:Ka.time)),pr.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},((ge=(me=Ke==null?void 0:Ke.editData)==null?void 0:me.exercise)==null?void 0:ge.difficulty)===1?"\u7B80\u5355":((ke=(be=Ke==null?void 0:Ke.editData)==null?void 0:be.exercise)==null?void 0:ke.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),pr.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},((He=(Ne=Ke==null?void 0:Ke.editData)==null?void 0:Ne.exercise_types)==null?void 0:He.q_counts)||0)),pr.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",pr.createElement("span",{style:{color:"#000000",marginLeft:8}},(Bt=(vt=Ke==null?void 0:Ke.editData)==null?void 0:vt.exercise_types)==null?void 0:Bt.q_scores))))),$n===1&&pr.createElement(Oe.Z,{spinning:_t,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},pr.createElement("section",{className:[Je.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Xt&&pr.createElement(Be.default,{layout:"horizontal",form:Ft,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:Je.Z.formWrap,initialValues:Xt},pr.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.Z.baseLineHeight,rules:[{required:!0,validator:(Sa,ha)=>{var Wn;return((Wn=ha==null?void 0:ha.replaceAll(" ",""))==null?void 0:Wn.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},pr.createElement(le.default,{maxLength:60,className:Je.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),pr.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:Je.Z.baseLineHeight},pr.createElement(ut.Z,{className:Je.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:Ht,popupClassName:Je.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),pr.createElement("div",{className:Je.Z.concat},pr.createElement("div",null,pr.createElement(ot.default,{checked:ja,onChange:Sa=>{la(Sa.target.checked)},style:{color:"#000"}},"\u8BBE\u7F6E\u8BE5\u65B9\u5411&\u8BFE\u7A0B\u4E3A\u8BD5\u9898\u6A21\u7248\uFF08\u521B\u5EFA\u65B0\u8BD5\u9898\u81EA\u52A8\u4F7F\u7528\u8BE5\u65B9\u5411&\u8BFE\u7A0B\uFF09")),pr.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",pr.createElement("a",{onClick:()=>Za(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),pr.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},pr.createElement(Ue.ZP.Group,{className:Je.Z.radiogroup},pr.createElement(Ue.ZP.Button,{className:Je.Z.easy,value:1},"\u7B80\u5355"),pr.createElement(Ue.ZP.Button,{className:Je.Z.medium,value:2},"\u9002\u4E2D"),pr.createElement(Ue.ZP.Button,{className:Je.Z.hard,value:3},"\u56F0\u96BE"))),pr.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.Z.baseLineHeight},pr.createElement("div",{style:{display:"flex",width:"100%"}},pr.createElement(Be.default.Item,{name:"time",noStyle:!0},pr.createElement(Qe.Z,{min:1,className:Je.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),pr.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),pr.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},pr.createElement(le.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),pr.createElement("div",{className:Je.Z.bottmodiv},pr.createElement(tt.ZP,{className:`${Je.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{ea.get("pageType")=="course"?ue.history.push(`/paths/${ea.get("courseId")}`):ue.history.push("/paperlibrary")}},"\u53D6\u6D88"),pr.createElement(a.Z,{className:`${Je.Z.confirmBtn} ml15`,type:"primary",onClick:()=>wi(void 0,null,function*(){var Sa,ha,Wn,ca;yield Ft.validateFields();const Ta=Ft.getFieldsValue();if(Ta.sub_discipline_id=((Sa=Ta.sub_discipline_id)==null?void 0:Sa.length)>0?Ta.sub_discipline_id[1]:"",Ta.set_question_sub_discipline=ja,it.id){(yield(0,se.w0)(ul({id:it.id},Ta))).status===0&&(Qn(it.id),Kn(2),ue.history.replace(`/paperlibrary/add/${it.id}?type=2`));return}const qa=yield(0,se.un)(Ta);qa.status===0&&(Qn((ha=qa==null?void 0:qa.data)==null?void 0:ha.exam_id),Kn(2),ea.get("pageType")=="course"?ue.history.replace(`/paperlibrary/add/${(Wn=qa==null?void 0:qa.data)==null?void 0:Wn.exam_id}?type=2&pageType=course&courseId=${ea.get("courseId")}&stageId=${ea.get("stageId")}`):ue.history.replace(`/paperlibrary/add/${(ca=qa==null?void 0:qa.data)==null?void 0:ca.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),$n===2&&pr.createElement("div",null,pr.createElement(Ol,{setisedits:ba,itemid:Yn}))),pr.createElement(Ml.Z,{open:ya,onCancel:()=>{Za(!1)}}))};var gl=(0,ue.connect)(({user:he,newExercisePaper:Ke,dispatch:Ve})=>({user:he,newExercisePaper:Ke,dispatch:Ve}))(cl)},27727:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return nt}});var b=te(59301),ue=te(78241),Be=te(8591),Te=te(43418),Ie=te(99313),Oe=te(57809),le=te(19842),ut=te(98228),ot=te(92832),Ue=te(2595),Qe=te(6848),tt=te(25700),Je=te(3113),se=te(70635),y={flex_box_center:"flex_box_center___kuaVT",flex_space_between:"flex_space_between___exKHH",flex_box_vertical_center:"flex_box_vertical_center___BzvkN",flex_box_center_end:"flex_box_center_end___Ss2DJ",flex_box_column:"flex_box_column___p1LEr",scoremodal:"scoremodal___upTFR",selectWrapper:"selectWrapper___HH3RX",selectWrappers:"selectWrappers___fUWwr",allqingchu:"allqingchu___BFF1D",title:"title___hFasb",score:"score___DXG3o",close:"close___kEIiB",content:"content___Mco8L",items:"items___j98jk",bottom:"bottom___A1n1C",yes:"yes___P1zzb",no:"no___xZqXd",titlecount:"titlecount___fqA9P",add:"add___MqV0R",search:"search___NREgv",searchIcon:"searchIcon___qny3A",tabWrap:"tabWrap___dR18c",previewModal:"previewModal___uSiGS",q_title:"q_title___a9NY9"},a=te(69831),x={flex_box_center:"flex_box_center___nnwwA",flex_space_between:"flex_space_between___cRir9",flex_box_vertical_center:"flex_box_vertical_center___FqTZ8",flex_box_center_end:"flex_box_center_end___WU5_v",flex_box_column:"flex_box_column___QZFa1",warp:"warp___aLZwN",shixunbutton:"shixunbutton___Eoa1i",redio:"redio___LJ4js",redioitem:"redioitem___YicCC",redioitemyes:"redioitemyes___lX4Nr",title:"title___pi1jH",titleyes:"titleyes___jiEh7",yestag:"yestag___DLWoP",qcount:"qcount___U9kkL",score:"score___vLK4B",qtitle:"qtitle___kyg0t",checkbox:"checkbox___vjiBw",checkboxitem:"checkboxitem___HW3CP",checkboxitemyes:"checkboxitemyes___kpjek",bottom:"bottom___uG8Zq",bottomitem:"bottomitem___TnJQQ",left:"left___M8WXX",right:"right____dkCI",completion:"completion___H6RmA",content:"content___a2hGC",items:"items___D8mLd",simple:"simple___fQ0OS",shixun:"shixun___nB6Jk",combination:"combination___YrOdz",program:"program___lG0JA"},E=te(25711),z=te(58130),ne=te(24334);const re=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"];var de=({qitem:et})=>{var Yt,hn,Tt,vn,Ge,Dt,Kt,Mt,pt,rt;return b.createElement("div",{className:x.warp},b.createElement("div",{className:x.mainPart},b.createElement("div",{className:x.qcount},(et==null?void 0:et.question_type)===8&&b.createElement(E.Z,{className:x.content,showProgramFill:!0,value:(Yt=et==null?void 0:et.program_attr)==null?void 0:Yt.description}),(et==null?void 0:et.question_type)!=8&&b.createElement(E.Z,{className:x.qtitle,value:(et==null?void 0:et.name)||(et==null?void 0:et.title)})),((et==null?void 0:et.question_type)===0||(et==null?void 0:et.question_type)===2)&&b.createElement("div",null,(hn=et==null?void 0:et.choices)==null?void 0:hn.map((_e,ve)=>b.createElement("div",{className:x.redio},!(_e!=null&&_e.is_answer)&&b.createElement("span",{className:x.redioitem}),(_e==null?void 0:_e.is_answer)&&b.createElement("i",{className:`${x.redioitemyes} icon-duigou1`}),b.createElement(E.Z,{className:_e!=null&&_e.is_answer?x.titleyes:x.title,value:re[ve]+(_e==null?void 0:_e.choice_text)}),(_e==null?void 0:_e.is_answer)&&b.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===1&&b.createElement("div",null,(Tt=et==null?void 0:et.choices)==null?void 0:Tt.map((_e,ve)=>b.createElement("div",{className:x.checkbox},!(_e!=null&&_e.is_answer)&&b.createElement("span",{className:x.checkboxitem}),(_e==null?void 0:_e.is_answer)&&b.createElement("i",{className:`${x.checkboxitemyes} icon-duigou1`}),b.createElement(E.Z,{className:_e!=null&&_e.is_answer?x.titleyes:x.title,value:re[ve]+(_e==null?void 0:_e.choice_text)}),(_e==null?void 0:_e.is_answer)&&b.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===3&&b.createElement("div",{className:x.completion},(vn=et==null?void 0:et.standard_answer)==null?void 0:vn.map((_e,ve)=>{var fe;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:x.title},"\u586B\u7A7A\u9879",ve+1),b.createElement("div",{className:x.content},(fe=_e==null?void 0:_e.answer_text)==null?void 0:fe.map((Xe,bt)=>b.createElement("div",{className:x.items},Xe))))})),(et==null?void 0:et.question_type)===4&&b.createElement("div",{className:x.simple},b.createElement("div",{className:x.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Ge=et==null?void 0:et.answer_texts)!=null&&Ge[0]?b.createElement(E.Z,{className:x.content,value:(Dt=et==null?void 0:et.answer_texts)==null?void 0:Dt[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(et==null?void 0:et.question_type)===5&&((Kt=et==null?void 0:et.challenge_names)==null?void 0:Kt.map((_e,ve)=>b.createElement("div",{className:x.shixun},b.createElement("span",{className:x.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(ve+1),"\u9898"),_e)))),(et==null?void 0:et.question_type)===6&&b.createElement("div",{className:x.program},b.createElement(E.Z,{className:x.content,value:((Mt=et==null?void 0:et.program_attr)==null?void 0:Mt.description)||"- -"})),(et==null?void 0:et.question_type)===7&&((pt=et==null?void 0:et.sub_item_banks)==null?void 0:pt.map((_e,ve)=>{var fe,Xe,bt,Fe,Ce;return b.createElement("div",null,b.createElement("div",{className:x.combination},b.createElement("span",{className:x.qtitle},_e==null?void 0:_e.name)),b.createElement("div",{className:x.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((_e==null?void 0:_e.item_type)=="SINGLE"||(_e==null?void 0:_e.item_type)=="JUDGMENT")&&((fe=_e==null?void 0:_e.choices)==null?void 0:fe.map((at,$e)=>b.createElement("div",{className:x.redio},!(at!=null&&at.is_answer)&&b.createElement("span",{className:x.redioitem}),(at==null?void 0:at.is_answer)&&b.createElement("i",{className:`${x.redioitemyes} icon-duigou1`}),b.createElement(E.Z,{className:at!=null&&at.is_answer?x.titleyes:x.title,value:re[$e]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&b.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(_e==null?void 0:_e.item_type)=="MULTIPLE"&&((Xe=_e==null?void 0:_e.choices)==null?void 0:Xe.map((at,$e)=>b.createElement("div",{className:x.checkbox},!(at!=null&&at.is_answer)&&b.createElement("span",{className:x.checkboxitem}),(at==null?void 0:at.is_answer)&&b.createElement("i",{className:`${x.checkboxitemyes} icon-duigou1`}),b.createElement(E.Z,{className:at!=null&&at.is_answer?x.titleyes:x.title,value:re[$e]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&b.createElement("div",{className:x.yestag},"\u6B63\u786E\u7B54\u6848")))),(_e==null?void 0:_e.item_type)=="COMPLETION"&&b.createElement("div",{className:x.completion},(bt=_e==null?void 0:_e.standard_answer)==null?void 0:bt.map((at,$e)=>{var De;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:x.title},"\u586B\u7A7A\u9879",$e+1),b.createElement("div",{className:x.content},(De=at==null?void 0:at.answer_text)==null?void 0:De.map((gt,un)=>b.createElement("div",{className:x.items},gt))))})),(_e==null?void 0:_e.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:x.simple},b.createElement("div",{className:x.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Fe=_e==null?void 0:_e.answer_texts)!=null&&Fe[0]?b.createElement(E.Z,{className:x.content,value:(Ce=_e==null?void 0:_e.answer_texts)==null?void 0:Ce[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(et==null?void 0:et.question_type)===8&&b.createElement("div",null,b.createElement(E.Z,{disabledFill:!0,className:x.content,showProgramFill:!0,value:ne.Base64.decode(((rt=et==null?void 0:et.program_attr)==null?void 0:rt.code)||"")})),(et==null?void 0:et.question_type)===5&&b.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},b.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.study_count)||"0"))),b.createElement("a",{className:x.shixunbutton,href:`/shixuns/${et==null?void 0:et.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((et==null?void 0:et.question_type)<=4||[6,8].includes(et==null?void 0:et.question_type))&&b.createElement("div",{className:x.bottom},b.createElement("div",{className:x.bottomitem},b.createElement("span",{className:x.left},"\u89E3\u6790"),b.createElement("span",{className:x.right},et!=null&&et.analysis?b.createElement(E.Z,{value:et==null?void 0:et.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:x.bottomitem},b.createElement("span",{className:x.left},"\u96BE\u5EA6"),b.createElement("span",{className:x.right},(et==null?void 0:et.difficulty)===1?"\u7B80\u5355":(et==null?void 0:et.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:x.bottomitem},b.createElement("span",{className:x.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:x.right},et!=null&&et.tag_discipline?et==null?void 0:et.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},pe=te(11961),Pe=te(49731),je=te(42203),Le=te(86902),Ye=te(72194),Se=te(2908),Me=te(59301),qe=Object.defineProperty,ht=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,mt=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,dt=(et,Yt,hn)=>Yt in et?qe(et,Yt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):et[Yt]=hn,Qt=(et,Yt)=>{for(var hn in Yt||(Yt={}))At.call(Yt,hn)&&dt(et,hn,Yt[hn]);if(mt)for(var hn of mt(Yt))Et.call(Yt,hn)&&dt(et,hn,Yt[hn]);return et},St=(et,Yt)=>ht(et,Ae(Yt)),an=(et,Yt,hn)=>new Promise((Tt,vn)=>{var Ge=Mt=>{try{Kt(hn.next(Mt))}catch(pt){vn(pt)}},Dt=Mt=>{try{Kt(hn.throw(Mt))}catch(pt){vn(pt)}},Kt=Mt=>Mt.done?Tt(Mt.value):Promise.resolve(Mt.value).then(Ge,Dt);Kt((hn=hn.apply(et,Yt)).next())});const En=({setScoreShow:et,ScoreShow:Yt,onOk:hn,isshixuns:Tt,isloadings:vn,dispatch:Ge,isIntelligentAssistant:Dt=!1,newExercisePaper:Kt,shixunsDetail:Mt})=>{var pt,rt,_e;let[ve,fe]=(0,b.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:Dt,group_id:[]}),[Xe,bt]=(0,b.useState)([]),[Fe,Ce]=(0,b.useState)([]),[at,$e]=(0,b.useState)([]),[De,gt]=(0,b.useState)([]);const[un,en]=(0,b.useState)(!1),[zt]=ue.default.useForm(),[ln,on]=(0,b.useState)(),[ze,wt]=(0,b.useState)(!1);let[Ot,Pt]=(0,b.useState)(Tt);const[Nt,fn]=(0,b.useState)([]),[Pn,bn]=(0,b.useState)(0),[Ln,ta]=(0,b.useState)(!0),[oa,jn]=(0,b.useState)([]),[Ea,pa]=(0,b.useState)([]),Hn=[{name:"\u5168\u90E8",value:"",question_type:0},{name:"\u5355\u9009\u9898",value:"SINGLE",question_type:0},{name:"\u591A\u9009\u9898",value:"MULTIPLE",question_type:1},{name:"\u5224\u65AD\u9898",value:"JUDGMENT",question_type:2},{name:"\u586B\u7A7A\u9898",value:"COMPLETION",question_type:3},{name:"\u7B80\u7B54\u9898",value:"SUBJECTIVE",question_type:4},{name:"\u5B9E\u8BAD\u9898",value:"SHIXUN",question_type:5},{name:"\u7F16\u7A0B\u9898",value:"PROGRAM",question_type:6},{name:"\u7EC4\u5408\u9898",value:"COMBINATION",question_type:7},{name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",value:"BPROGRAM",question_type:8}];let[Ba,qt]=(0,b.useState)({gg:{type:"1",page:1,updated_at:"",quotes:"",item_type:null,courseid:"",per_page:10,tag_discipline_id:null,difficulty:null,keyword:null},ttgx:{type:"3",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},scj:{type:"2",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null},wcjd:{type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:[]},yx:{type:"5",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,group_id:null}});const An=(0,b.useRef)(new Set),Fn=(0,b.useRef)(new Set),Xn=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],Ze=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],It=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Zt,Wt]=(0,b.useState)(!1),tn=()=>{zt.resetFields(),Ot=!1,Pt(!1),Wt(!1),zt.submit()};(0,b.useEffect)(()=>{var lt,$t,qn,nn,_n,Jn,Ma,ma,We,dn;(((qn=($t=(lt=Kt==null?void 0:Kt.editData)==null?void 0:lt.exercise)==null?void 0:$t.exist_item_bank_ids)==null?void 0:qn.length)>0||((Jn=(_n=(nn=Kt==null?void 0:Kt.editData)==null?void 0:nn.exercise)==null?void 0:_n.exist_item_bank_shixun_ids)==null?void 0:Jn.length)>0)&&pa([...(ma=(Ma=Kt==null?void 0:Kt.editData)==null?void 0:Ma.exercise)==null?void 0:ma.exist_item_bank_ids,...(dn=(We=Kt==null?void 0:Kt.editData)==null?void 0:We.exercise)==null?void 0:dn.exist_item_bank_shixun_ids])},[(rt=(pt=Kt==null?void 0:Kt.editData)==null?void 0:pt.exercise)==null?void 0:rt.exist_item_bank_ids]),(0,b.useEffect)(()=>{Yt&&(zt.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Ln&&Ot&&(zt.setFieldsValue({item_type:"SHIXUN"}),ve.item_type="SHIXUN",fe(Qt({},ve)),ta(!1)),jt(ve),pn(),st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[Yt]),(0,b.useEffect)(()=>{Pn>0&&setTimeout(()=>{bn(0)},2e3)},[Pn]);function jt(lt){return an(this,null,function*(){var $t,qn,nn;if(en(!0),fe(Qt({},lt)),(at==null?void 0:at.length)<=0&&lt.type==="5"){gt([]),en(!1);return}console.log("----",at,Nt);let _n=lt.type==="5"?at==null?void 0:at.filter(ma=>!Nt.includes(ma)):null,Jn=lt.type==="5"?at==null?void 0:at.filter(ma=>Nt.includes(ma)):null;lt.group_id=(($t=lt.group_id)==null?void 0:$t.map(ma=>ma==null?void 0:ma.value))||null;let Ma=yield(0,se.ZP)("/api/item_banks.json",{method:"get",params:St(Qt({},lt),{discipline_id:((qn=lt==null?void 0:lt.courseid)==null?void 0:qn[0])||null,sub_discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[1])||null,ids:_n,shixun_ids:Jn,include_shixuns:!Dt,keyword:lt.keyword?encodeURIComponent(lt.keyword):lt.keyword,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});gt(Ma),en(!1)})}function pn(){return an(this,null,function*(){let lt=yield(0,se.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:ve.type==="5"?null:ve.type,clazz:"ItemBanksGroup"}});bt((0,a.L)(lt==null?void 0:lt.disciplines))})}function st(lt){return an(this,null,function*(){var $t;let qn=yield(0,se.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:lt}),nn=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:($t=qn==null?void 0:qn.data)==null?void 0:$t.map(_n=>({title:_n.name,id:_n.id,pid:_n.id,value:_n.id,key:_n.id,isLeaf:!_n.have_child}))}];jn(nn)})}function yt(lt){return an(this,null,function*(){var $t,qn,nn,_n;en(!0);let Jn=($t=lt.list)==null?void 0:$t.filter(We=>!Nt.includes(We)),Ma=(qn=lt.list)==null?void 0:qn.filter(We=>Nt.includes(We));if(Jn.length===0&&Ma.length===0){en(!1),gt([]);return}let ma=yield(0,se.ZP)("/api/item_banks.json",{method:"get",params:St(Qt({},lt),{discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[0])||null,sub_discipline_id:((_n=lt==null?void 0:lt.courseid)==null?void 0:_n[1])||null,ids:Jn,shixun_ids:Ma,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});en(!1),gt(ma)})}const ct=lt=>an(void 0,null,function*(){const $t=yield Ge({type:"shixunsDetail/release",payload:{id:lt}});let qn=$t==null?void 0:$t.tag_position,nn=($t==null?void 0:$t.evaluation_set_position)||[],_n=$t.status;return _n===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),jt(ve),!0):(_n===2?Be.ZP.error(`\u7B2C${nn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):_n===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${qn.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Be.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),rn=lt=>(lt==null?void 0:lt.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",In=(lt,$t,qn)=>lt.map(nn=>nn.key===$t?Qt(Qt({},nn),qn):nn.children?St(Qt({},nn),{children:In(nn.children,$t,qn)}):nn),yn=lt=>an(void 0,null,function*(){const{key:$t}=lt;let qn=ve.type;const nn=yield(0,Se.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs($t),type:qn}),{data:_n,total_count:Jn}=nn||{};Jn>0&&jn(Ma=>In(Ma,$t,{children:_n.map(ma=>({title:ma.name,id:ma.id,pid:ma.id,value:ma.id,key:ma.id,isLeaf:!ma.have_child}))}))});function ia(lt){console.log("----",ve),lt==="1"&&(Ba.gg=Qt({},ve)),lt==="2"&&(Ba.scj=Qt({},ve)),lt==="3"&&(Ba.ttgx=Qt({},ve)),lt==="0"&&(Ba.wcjd=Qt({},ve)),lt==="5"&&(Ba.yx=Qt({},ve)),qt(Qt({},Ba))}function Un(){ve.type==="1"&&(ve=Ba.gg),ve.type==="2"&&(ve=Ba.scj),ve.type==="3"&&(ve=Ba.ttgx),ve.type==="0"&&(ve=Ba.wcjd),ve.type==="5"&&(ve=Ba.yx),(ve==null?void 0:ve.item_type)==="SHIXUN"?(Ot=!0,Pt(!0)):(Ot=!1,Pt(!1)),zt.setFieldsValue(Qt({},ve)),fe(Qt({},ve)),jt(Qt({},ve))}return Me.createElement("div",null,Me.createElement(Te.default,{title:!1,footer:!1,open:Yt,width:1200,centered:!0,className:y.scoremodal,onCancel:()=>{et(!1)}},Me.createElement("div",{style:{display:"flex",alignItems:"center"}},Me.createElement("div",{className:y.title},Dt?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),Dt&&Me.createElement("div",{style:{padding:10,background:"#F6F7F9",borderRadius:4,marginTop:14}},"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6"),Me.createElement(Ie.default,{className:y.tabWrap,activeKey:ve.type,onChange:lt=>{lt==="3"?(ve.show_all_share=!0,st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):ve.show_all_share=null,lt==="0"&&st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),ia(ve.type),ve.type=lt,(ve==null?void 0:ve.item_type)==="SHIXUN"&&ve.type!=="5"&&(Ot=!0,Pt(!0)),Wt(!1),ve.type==="5"&&(Ot=!1,Pt(!1)),Un(),pn()},items:[{label:"\u516C\u5171",key:"1"},{label:"\u56E2\u961F\u5171\u4EAB",key:"3"},{label:"\u6536\u85CF\u5939",key:"2"},{label:"\u6211\u521B\u5EFA\u7684",key:"0"},{label:Me.createElement("div",null,"\u5DF2\u9009",at.length>0&&Me.createElement("span",{className:y.titlecount},at.length),Pn>0&&Me.createElement("span",{className:y.add},"+",Pn)),key:"5"}]}),Me.createElement(ue.default,{layout:"inline",form:zt,onValuesChange:(lt,$t)=>{const qn=Object.values($t).some(_n=>_n!==null&&_n!==""&&_n!==void 0),nn=$t.keyword==="";if(Wt(qn||!nn),ve.page=1,($t==null?void 0:$t.item_type)==="SHIXUN"){if(ve.type==="5"?Pt(!1):Pt(!0),lt.keyword||lt.keyword==="")return;zt.submit()}else{if(lt!=null&&lt.courseid&&zt.setFieldsValue({tag_discipline_id:""}),Pt(!1),lt.keyword||lt.keyword==="")return;zt.submit()}},onFinish:lt=>{var $t;ve.type==="3"&&(!lt.group_id||(($t=lt==null?void 0:lt.group_id)==null?void 0:$t.length)===0)?ve.show_all_share=!0:ve.show_all_share=null,fe(Qt(Qt({},ve),lt)),jt(Qt(Qt({},ve),lt))}},Me.createElement(ue.default.Item,{name:"item_type"},Me.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(Dt?Hn.slice(0,6):Hn).map(lt=>Me.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Me.createElement(ue.default.Item,{name:"courseid"},Me.createElement(le.Z,{className:y.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:Xe})),!Ot&&Me.createElement(ue.default.Item,{name:"tag_discipline_id"},Me.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(_e=De==null?void 0:De.tag_disciplines)==null?void 0:_e.map(lt=>Me.createElement(Oe.default.Option,{key:lt.id},lt.name)))),Me.createElement(ue.default.Item,{name:Ot?"diff":"difficulty"},Me.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Ot&&Xn.map(lt=>Me.createElement(Oe.default.Option,{key:lt.value},lt.name)),Ot&&Ze.map(lt=>Me.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Ot&&Me.createElement(ue.default.Item,{name:"shixun_publish_status"},Me.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},It.map(lt=>Me.createElement(Oe.default.Option,{key:lt.value},lt.name)))),(ve.type==="3"||ve.type==="0")&&!Ot&&Me.createElement(ue.default.Item,{name:"group_id"},Me.createElement(ut.default,{treeDataSimpleMode:!0,style:{width:118},className:y.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(lt,$t)=>$t.title.toUpperCase().indexOf(lt.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:yn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:oa})),Zt&&Me.createElement("span",{className:y.allqingchu,onClick:tn},Me.createElement("i",{className:"iconfont icon-guanbi4"}),Me.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Me.createElement(ue.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Me.createElement(ot.default.Search,{className:y.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Me.createElement("i",{className:`iconfont icon-sousuo9 font14 ${y.searchIcon}`,onClick:()=>zt.submit()}),onSearch:lt=>{zt.submit()}}))),Me.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Me.createElement("div",{onClick:()=>{ve.updated_at==="asc"?ve.updated_at="desc":ve.updated_at="asc",fe(St(Qt({},ve),{page:1})),jt(St(Qt({},ve),{page:1}))}}," ",ve.updated_at?Me.createElement("img",{src:ve.updated_at==="asc"?pe.Z:Pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Me.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Me.createElement("div",{onClick:()=>{ve.quotes==="asc"?ve.quotes="desc":ve.quotes="asc",fe(St(Qt({},ve),{page:1})),jt(St(Qt({},ve),{page:1}))},style:{marginLeft:20}}," ",ve.quotes?Me.createElement("img",{src:ve.quotes==="asc"?pe.Z:Pe.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Me.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Me.createElement(Ue.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(De==null?void 0:De.items)||(De==null?void 0:De.shixun_list),pagination:!1,loading:un,rowKey:lt=>lt.id,rowSelection:{type:Dt?"radio":"checkbox",selectedRowKeys:Fe,getCheckboxProps:lt=>({disabled:lt.shixun_tag_num===1||(Ea==null?void 0:Ea.find($t=>lt.id===$t))}),onSelect(lt,$t,qn){if(Dt){Ce([lt.id]),Fn.current=new Set([lt.id]),bn(1),$e([lt.id]);return}if($t)Ot&&fn([...Nt,lt.id]),Ce([...Fe,lt.id]),lt.identifier?An.current.add(lt.id):Fn.current.add(lt.id),bn(1),$e([...at,lt.id]);else{lt.identifier?An.current.delete(lt.id):Fn.current.delete(lt.id);let nn=at.filter(_n=>_n!==lt.id);if(Ce(nn),$e(nn),Ot){let _n=Nt.filter(Jn=>Jn!==lt.id);fn([..._n])}if(ve.type==="5"){yt(St(Qt({},ve),{list:[...nn]}));return}}},onSelectAll(lt,$t,qn){if(lt){const nn=qn.map(_n=>_n.id);Ot&&fn([...Nt,...nn]),Ce([...Fe,...nn]),$e([...at,...nn]);for(const _n of qn)_n.identifier?An.current.add(_n.id):Fn.current.add(_n.id)}else{const nn=qn.map(Jn=>Jn.id),_n=Fe.filter(Jn=>!nn.some(Ma=>Ma===Jn));if(Ce([..._n]),$e([..._n]),Ot){let Jn=Nt.filter(Ma=>!nn.some(ma=>ma===Ma.id));fn([...Jn])}ve.type==="5"&&yt(St(Qt({},ve),{list:[..._n]}));for(const Jn of nn)Jn.identifier?An.current.delete(Jn):Fn.current.delete(Jn)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(lt,$t,qn)=>{var nn,_n;return Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",null,Ot||$t!=null&&$t.challenge_names?"\u5B9E\u8BAD\u9898":(_n=(nn=Hn==null?void 0:Hn.filter(Jn=>Jn.value===lt))==null?void 0:nn[0])==null?void 0:_n.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Ot?"30%":"60%",key:"name",render:(lt,$t,qn)=>{var nn;return Me.createElement("div",{style:{display:"flex",alignItems:"center"}},Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",{className:$t!=null&&$t.high_resources_consume?y.q_title:""},Me.createElement(E.Z,{key:1,showLines:1,showTextOnly:!0,value:Ot||$t!=null&&$t.challenge_names?$t!=null&&$t.title||lt===null?"--":lt:($t==null?void 0:$t.item_type)=="BPROGRAM"?(nn=$t==null?void 0:$t.program_attr)==null?void 0:nn.description:lt}))),($t==null?void 0:$t.high_resources_consume)&&Me.createElement(Ye.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Ot,render:(lt,$t,qn)=>{var nn;return Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("span",null,lt?(nn=lt==null?void 0:lt.split("\u3001"))==null?void 0:nn[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Ot,render:(lt,$t,qn)=>Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("span",null,lt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(lt,$t,qn)=>{var nn,_n,Jn,Ma;return Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",null,Ot||$t!=null&&$t.challenge_names?($t==null?void 0:$t.level)||((_n=(nn=Xn==null?void 0:Xn.filter(ma=>ma.value===lt))==null?void 0:nn[0])==null?void 0:_n.name):(Ma=(Jn=Xn==null?void 0:Xn.filter(ma=>ma.value===lt))==null?void 0:Jn[0])==null?void 0:Ma.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ot,render:(lt,$t,qn)=>Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",null,lt||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Ot,render:(lt,$t,qn)=>Me.createElement("span",null,lt||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(lt,$t,qn)=>Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",null,Ot||$t!=null&&$t.challenge_names?($t==null?void 0:$t.study_count)||($t==null?void 0:$t.stu_num):lt))},{title:Me.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Me.createElement(Qe.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Me.createElement(Le.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ot,render:(lt,$t,qn)=>Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",null,lt||"- -"))},{title:Me.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Me.createElement(Qe.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Me.createElement(Le.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Ot,render:(lt,$t,qn)=>Me.createElement("span",null,lt||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(lt,$t,qn)=>Me.createElement(Qe.Z,{title:rn($t)},Me.createElement("div",{style:{flex:1,textAlign:"start"}},Me.createElement("a",{onClick:()=>{var nn,_n;on(St(Qt({},$t),{question_type:Ot||$t!=null&&$t.challenge_names?5:(_n=(nn=Hn==null?void 0:Hn.filter(Jn=>Jn.value===($t==null?void 0:$t.item_type)))==null?void 0:nn[0])==null?void 0:_n.question_type})),wt(!0)}},"\u67E5\u770B"),($t==null?void 0:$t.shixun_tag_num)===1&&Me.createElement("a",{style:{marginLeft:10},onClick:()=>{Te.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Me.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Me.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${$t==null?void 0:$t.identifier}/challenges`)}},($t==null?void 0:$t.shixun_name)||"--"),"\uFF1F"),onOk:()=>an(void 0,null,function*(){if(!ct($t==null?void 0:$t.identifier))return new Promise((nn,_n)=>{_n()})})})}},"\u53D1\u5E03")))}].filter(lt=>!lt.hidden)}),Me.createElement(tt.Z,{current:ve.page,total:(De==null?void 0:De.items_count)||(De==null?void 0:De.shixuns_count),style:{marginBottom:20},defaultPageSize:ve.per_page,showTotal:lt=>Me.createElement("span",null,"\u5171\xA0",Me.createElement("span",{style:{color:"#165DFF"}},lt),"\xA0\u6761\u6570\u636E"),pageSize:ve.per_page,onChange:(lt,$t)=>{ve.page=lt,ve.per_page=$t,fe(Qt({},ve)),jt(Qt({},ve))}}),Me.createElement("div",{className:y.bottom},Me.createElement(Je.ZP,{className:y.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Me.createElement(Je.ZP,{loading:vn,style:{width:vn&&75},className:y.yes,onClick:()=>an(void 0,null,function*(){if((at==null?void 0:at.length)<=0){Be.ZP.info(Dt?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}hn([...Fn.current],[...An.current],!0,at==null?void 0:at.length)})},Dt?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Me.createElement(Te.default,{open:ze,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:y.previewModal,width:1e3,centered:!0,onCancel:()=>{wt(!1)},onOk:()=>{wt(!1)}},Me.createElement(de,{qitem:ln})))};var nt=(0,je.connect)(({shixunsDetail:et,newExercisePaper:Yt})=>({shixunsDetail:et,newExercisePaper:Yt}))(En)},14670:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ue}});var b=te(43418),ue={ul:"ul___TdfYY"},Be=te(32637),Te=te(59301),Ie=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,ut=(Qe,tt)=>{var Je={};for(var se in Qe)Oe.call(Qe,se)&&tt.indexOf(se)<0&&(Je[se]=Qe[se]);if(Qe!=null&&Ie)for(var se of Ie(Qe))tt.indexOf(se)<0&&le.call(Qe,se)&&(Je[se]=Qe[se]);return Je},Ue=Qe=>{var tt=Qe,{open:Je,onCancel:se}=tt,y=ut(tt,["open","onCancel"]);return Te.createElement(b.default,{centered:!0,open:Je,title:Te.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:se,footer:null},Te.createElement("div",null,Te.createElement("div",{className:"tc"},Te.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Te.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Te.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Te.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Te.createElement("ul",{className:ue.ul},Te.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),Te.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),Te.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},28661:function(Ut,Gt,te){"use strict";te.d(Gt,{I:function(){return ue}});var b=te(59301);const ue=()=>{const[Be,Te]=(0,b.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Te("auto"),handleMouseLeave:()=>Te("hidden")}}},50371:function(Ut,Gt){"use strict";function te(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue<arguments.length;ue++){const Be=ue<0||arguments.length<=ue?void 0:arguments[ue];Be&&Object.keys(Be).forEach(Te=>{const Ie=Be[Te];Ie!==void 0&&(b[Te]=Ie)})}return b}Gt.Z=te},77578:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return b}});const b=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(Ut,Gt,te){"use strict";te.d(Gt,{F:function(){return b},Z:function(){return ue}});function b(Be){return Be!=null&&Be===Be.window}function ue(Be,Te){var Ie,Oe;if(typeof window=="undefined")return 0;const le=Te?"scrollTop":"scrollLeft";let ut=0;return b(Be)?ut=Be[Te?"pageYOffset":"pageXOffset"]:Be instanceof Document?ut=Be.documentElement[le]:(Be instanceof HTMLElement||Be)&&(ut=Be[le]),Be&&!b(Be)&&typeof ut!="number"&&(ut=(Oe=((Ie=Be.ownerDocument)!==null&&Ie!==void 0?Ie:Be).documentElement)===null||Oe===void 0?void 0:Oe[le]),ut}},56762:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ue}});var b=te(59301);function ue(){const[,Be]=b.useReducer(Te=>Te+1,0);return Be}},68031:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Te}});var b=te(23073);function ue(Ie,Oe,le,ut){const ot=le-Oe;return Ie/=ut/2,Ie<1?ot/2*Ie*Ie*Ie+Oe:ot/2*((Ie-=2)*Ie*Ie+2)+Oe}var Be=te(13845);function Te(Ie){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:ut,duration:ot=450}=Oe,Ue=le(),Qe=(0,Be.Z)(Ue,!0),tt=Date.now(),Je=()=>{const y=Date.now()-tt,a=ue(y>ot?ot:y,Qe,Ie,ot);(0,Be.F)(Ue)?Ue.scrollTo(window.pageXOffset,a):Ue instanceof Document||Ue.constructor.name==="HTMLDocument"?Ue.documentElement.scrollTop=a:Ue.scrollTop=a,y<ot?(0,b.Z)(Je):typeof ut=="function"&&ut()};(0,b.Z)(Je)}},66104:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ht}});var b=te(92310),ue=te.n(b),Be=te(38298),Te=te(36994),Ie=te(59301),Oe=te(92343),le=te(36355),ut=te(18290),ot=te(91857);const Ue=Ae=>{let{children:mt}=Ae;const{getPrefixCls:At}=Ie.useContext(le.E_),Et=At("breadcrumb");return Ie.createElement("li",{className:`${Et}-separator`,"aria-hidden":"true"},mt===""?mt:mt||"/")};Ue.__ANT_BREADCRUMB_SEPARATOR=!0;var Qe=Ue,tt=function(Ae,mt){var At={};for(var Et in Ae)Object.prototype.hasOwnProperty.call(Ae,Et)&&mt.indexOf(Et)<0&&(At[Et]=Ae[Et]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Et=Object.getOwnPropertySymbols(Ae);dt<Et.length;dt++)mt.indexOf(Et[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Et[dt])&&(At[Et[dt]]=Ae[Et[dt]]);return At};function Je(Ae,mt){if(Ae.title===void 0||Ae.title===null)return null;const At=Object.keys(mt).join("|");return typeof Ae.title=="object"?Ae.title:String(Ae.title).replace(new RegExp(`:(${At})`,"g"),(Et,dt)=>mt[dt]||Et)}function se(Ae,mt,At,Et){if(At==null)return null;const{className:dt,onClick:Qt}=mt,St=tt(mt,["className","onClick"]),an=Object.assign(Object.assign({},(0,Te.Z)(St,{data:!0,aria:!0})),{onClick:Qt});return Et!==void 0?Ie.createElement("a",Object.assign({},an,{className:ue()(`${Ae}-link`,dt),href:Et}),At):Ie.createElement("span",Object.assign({},an,{className:ue()(`${Ae}-link`,dt)}),At)}function y(Ae,mt){return(Et,dt,Qt,St,an)=>{if(mt)return mt(Et,dt,Qt,St);const En=Je(Et,dt);return se(Ae,Et,En,an)}}var a=function(Ae,mt){var At={};for(var Et in Ae)Object.prototype.hasOwnProperty.call(Ae,Et)&&mt.indexOf(Et)<0&&(At[Et]=Ae[Et]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Et=Object.getOwnPropertySymbols(Ae);dt<Et.length;dt++)mt.indexOf(Et[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Et[dt])&&(At[Et[dt]]=Ae[Et[dt]]);return At};const x=Ae=>{const{prefixCls:mt,separator:At="/",children:Et,menu:dt,overlay:Qt,dropdownProps:St,href:an}=Ae,nt=(et=>{if(dt||Qt){const Yt=Object.assign({},St);if(dt){const hn=dt||{},{items:Tt}=hn,vn=a(hn,["items"]);Yt.menu=Object.assign(Object.assign({},vn),{items:Tt==null?void 0:Tt.map((Ge,Dt)=>{var{key:Kt,title:Mt,label:pt,path:rt}=Ge,_e=a(Ge,["key","title","label","path"]);let ve=pt!=null?pt:Mt;return rt&&(ve=Ie.createElement("a",{href:`${an}${rt}`},ve)),Object.assign(Object.assign({},_e),{key:Kt!=null?Kt:Dt,label:ve})})})}else Qt&&(Yt.overlay=Qt);return Ie.createElement(ot.Z,Object.assign({placement:"bottom"},Yt),Ie.createElement("span",{className:`${mt}-overlay-link`},et,Ie.createElement(ut.Z,null)))}return et})(Et);return nt!=null?Ie.createElement(Ie.Fragment,null,Ie.createElement("li",null,nt),At&&Ie.createElement(Qe,null,At)):null},E=Ae=>{const{prefixCls:mt,children:At,href:Et}=Ae,dt=a(Ae,["prefixCls","children","href"]),{getPrefixCls:Qt}=Ie.useContext(le.E_),St=Qt("breadcrumb",mt);return Ie.createElement(x,Object.assign({},dt,{prefixCls:St}),se(St,dt,At,Et))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,ne=te(17313),re=te(83116),ie=te(37613);const de=Ae=>{const{componentCls:mt,iconCls:At}=Ae;return{[mt]:Object.assign(Object.assign({},(0,ne.Wf)(Ae)),{color:Ae.itemColor,fontSize:Ae.fontSize,[At]:{fontSize:Ae.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ae.linkColor,transition:`color ${Ae.motionDurationMid}`,padding:`0 ${Ae.paddingXXS}px`,borderRadius:Ae.borderRadiusSM,height:Ae.lineHeight*Ae.fontSize,display:"inline-block",marginInline:-Ae.marginXXS,"&:hover":{color:Ae.linkHoverColor,backgroundColor:Ae.colorBgTextHover}},(0,ne.Qy)(Ae)),"li:last-child":{color:Ae.lastItemColor},[`${mt}-separator`]:{marginInline:Ae.separatorMargin,color:Ae.separatorColor},[`${mt}-link`]:{[`
> ${At} + span,
> ${At} + a
`]:{marginInlineStart:Ae.marginXXS}},[`${mt}-overlay-link`]:{borderRadius:Ae.borderRadiusSM,height:Ae.lineHeight*Ae.fontSize,display:"inline-block",padding:`0 ${Ae.paddingXXS}px`,marginInline:-Ae.marginXXS,[`> ${At}`]:{marginInlineStart:Ae.marginXXS,fontSize:Ae.fontSizeIcon},"&:hover":{color:Ae.linkHoverColor,backgroundColor:Ae.colorBgTextHover,a:{color:Ae.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ae.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",Ae=>{const mt=(0,ie.TS)(Ae,{});return[de(mt)]},Ae=>({itemColor:Ae.colorTextDescription,lastItemColor:Ae.colorText,iconFontSize:Ae.fontSize,linkColor:Ae.colorTextDescription,linkHoverColor:Ae.colorText,separatorColor:Ae.colorTextDescription,separatorMargin:Ae.marginXS})),Pe=function(Ae,mt){var At={};for(var Et in Ae)Object.prototype.hasOwnProperty.call(Ae,Et)&&mt.indexOf(Et)<0&&(At[Et]=Ae[Et]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Et=Object.getOwnPropertySymbols(Ae);dt<Et.length;dt++)mt.indexOf(Et[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Et[dt])&&(At[Et[dt]]=Ae[Et[dt]]);return At};function je(Ae){const{breadcrumbName:mt,children:At}=Ae,Et=Pe(Ae,["breadcrumbName","children"]),dt=Object.assign({title:mt},Et);return At&&(dt.menu={items:At.map(Qt=>{var{breadcrumbName:St}=Qt,an=Pe(Qt,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:St})})}),dt}function Le(Ae,mt){return(0,Ie.useMemo)(()=>Ae||(mt?mt.map(je):null),[Ae,mt])}var Ye=function(Ae,mt){var At={};for(var Et in Ae)Object.prototype.hasOwnProperty.call(Ae,Et)&&mt.indexOf(Et)<0&&(At[Et]=Ae[Et]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,Et=Object.getOwnPropertySymbols(Ae);dt<Et.length;dt++)mt.indexOf(Et[dt])<0&&Object.prototype.propertyIsEnumerable.call(Ae,Et[dt])&&(At[Et[dt]]=Ae[Et[dt]]);return At};const Se=(Ae,mt)=>{if(mt===void 0)return mt;let At=(mt||"").replace(/^\//,"");return Object.keys(Ae).forEach(Et=>{At=At.replace(`:${Et}`,Ae[Et])}),At},Me=Ae=>{const{prefixCls:mt,separator:At="/",style:Et,className:dt,rootClassName:Qt,routes:St,items:an,children:En,itemRender:nt,params:et={}}=Ae,Yt=Ye(Ae,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:hn,direction:Tt,breadcrumb:vn}=Ie.useContext(le.E_);let Ge;const Dt=hn("breadcrumb",mt),[Kt,Mt]=pe(Dt),pt=Le(an,St),rt=y(Dt,nt);if(pt&&pt.length>0){const fe=[],Xe=an||St;Ge=pt.map((bt,Fe)=>{const{path:Ce,key:at,type:$e,menu:De,overlay:gt,onClick:un,className:en,separator:zt,dropdownProps:ln}=bt,on=Se(et,Ce);on!==void 0&&fe.push(on);const ze=at!=null?at:Fe;if($e==="separator")return Ie.createElement(Qe,{key:ze},zt);const wt={},Ot=Fe===pt.length-1;De?wt.menu=De:gt&&(wt.overlay=gt);let{href:Pt}=bt;return fe.length&&on!==void 0&&(Pt=`#/${fe.join("/")}`),Ie.createElement(x,Object.assign({key:ze},wt,(0,Te.Z)(bt,{data:!0,aria:!0}),{className:en,dropdownProps:ln,href:Pt,separator:Ot?"":At,onClick:un,prefixCls:Dt}),rt(bt,et,Xe,fe,Pt))})}else if(En){const fe=(0,Be.Z)(En).length;Ge=(0,Be.Z)(En).map((Xe,bt)=>{if(!Xe)return Xe;const Fe=bt===fe-1;return(0,Oe.Tm)(Xe,{separator:Fe?"":At,key:bt})})}const _e=ue()(Dt,vn==null?void 0:vn.className,{[`${Dt}-rtl`]:Tt==="rtl"},dt,Qt,Mt),ve=Object.assign(Object.assign({},vn==null?void 0:vn.style),Et);return Kt(Ie.createElement("nav",Object.assign({className:_e,style:ve},Yt),Ie.createElement("ol",null,Ge)))};Me.Item=z,Me.Separator=Qe;var qe=Me,ht=qe},19842:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Xn}});var b=te(26390),ue=te(59301),Be=te(16537),Te=te(50023),Ie=te(53878),Oe=te(92310),le=te.n(Oe),ut=te(5891),ot=te(29043),Ue=te(19149),Qe=te(77861),tt=te(17115),Je=te(90782),se=te(8107),y=te(35788),a=ue.createContext(null),x=a,E=te(80665),z=te(80962),ne=te(57259),re="__rc_cascader_search_mark__",ie=function(It,Zt,Wt){var tn=Wt.label;return Zt.some(function(jt){return String(jt[tn]).toLowerCase().includes(It.toLowerCase())})},de=function(It,Zt,Wt,tn){return Zt.map(function(jt){return jt[tn.label]}).join(" / ")},pe=function(Ze,It,Zt,Wt,tn,jt){var pn=tn.filter,st=pn===void 0?ie:pn,yt=tn.render,ct=yt===void 0?de:yt,rn=tn.limit,In=rn===void 0?50:rn,yn=tn.sort;return ue.useMemo(function(){var ia=[];if(!Ze)return[];function Un(lt,$t){var qn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;lt.forEach(function(nn){if(!(!yn&&In!==!1&&In>0&&ia.length>=In)){var _n=[].concat((0,b.Z)($t),[nn]),Jn=nn[Zt.children],Ma=qn||nn.disabled;if((!Jn||Jn.length===0||jt)&&st(Ze,_n,{label:Zt.label})){var ma;ia.push((0,ne.Z)((0,ne.Z)({},nn),{},(ma={disabled:Ma},(0,z.Z)(ma,Zt.label,ct(Ze,_n,Wt,Zt)),(0,z.Z)(ma,re,_n),(0,z.Z)(ma,Zt.children,void 0),ma)))}Jn&&Un(nn[Zt.children],_n,Ma)}})}return Un(It,[]),yn&&ia.sort(function(lt,$t){return yn(lt[re],$t[re],Ze,Zt)}),In!==!1&&In>0?ia.slice(0,In):ia},[Ze,It,Zt,Wt,ct,jt,st,yn,In])},Pe="__RC_CASCADER_SPLIT__",je="SHOW_PARENT",Le="SHOW_CHILD";function Ye(Ze){return Ze.join(Pe)}function Se(Ze){return Ze.map(Ye)}function Me(Ze){return Ze.split(Pe)}function qe(Ze){var It=Ze||{},Zt=It.label,Wt=It.value,tn=It.children,jt=Wt||"value";return{label:Zt||"label",value:jt,key:jt,children:tn||"children"}}function ht(Ze,It){var Zt,Wt;return(Zt=Ze.isLeaf)!==null&&Zt!==void 0?Zt:!((Wt=Ze[It.children])!==null&&Wt!==void 0&&Wt.length)}function Ae(Ze){var It=Ze.parentElement;if(It){var Zt=Ze.offsetTop-It.offsetTop;Zt-It.scrollTop<0?It.scrollTo({top:Zt}):Zt+Ze.offsetHeight-It.scrollTop>It.offsetHeight&&It.scrollTo({top:Zt+Ze.offsetHeight-It.offsetHeight})}}function mt(Ze,It){return Ze.map(function(Zt){var Wt;return(Wt=Zt[re])===null||Wt===void 0?void 0:Wt.map(function(tn){return tn[It.value]})})}function At(Ze,It,Zt){var Wt=new Set(Ze),tn=It();return Ze.filter(function(jt){var pn=tn[jt],st=pn?pn.parent:null,yt=pn?pn.children:null;return pn&&pn.node.disabled?!0:Zt===Le?!(yt&&yt.some(function(ct){return ct.key&&Wt.has(ct.key)})):!(st&&!st.node.disabled&&Wt.has(st.key))})}function Et(Ze,It,Zt){for(var Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=It,jt=[],pn=function(){var ct,rn,In,yn=Ze[st],ia=(ct=tn)===null||ct===void 0?void 0:ct.findIndex(function(lt){var $t=lt[Zt.value];return Wt?String($t)===String(yn):$t===yn}),Un=ia!==-1?(rn=tn)===null||rn===void 0?void 0:rn[ia]:null;jt.push({value:(In=Un==null?void 0:Un[Zt.value])!==null&&In!==void 0?In:yn,index:ia,option:Un}),tn=Un==null?void 0:Un[Zt.children]},st=0;st<Ze.length;st+=1)pn();return jt}var dt=function(Ze,It,Zt,Wt,tn){return ue.useMemo(function(){var jt=tn||function(pn){var st=Wt?pn.slice(-1):pn,yt=" / ";return st.every(function(ct){return["string","number"].includes((0,E.Z)(ct))})?st.join(yt):st.reduce(function(ct,rn,In){var yn=ue.isValidElement(rn)?ue.cloneElement(rn,{key:In}):rn;return In===0?[yn]:[].concat((0,b.Z)(ct),[yt,yn])},[])};return Ze.map(function(pn){var st,yt,ct=Et(pn,It,Zt),rn=jt(ct.map(function(yn){var ia,Un=yn.option,lt=yn.value;return(ia=Un==null?void 0:Un[Zt.label])!==null&&ia!==void 0?ia:lt}),ct.map(function(yn){var ia=yn.option;return ia})),In=Ye(pn);return{label:rn,value:In,key:In,valueCells:pn,disabled:(st=ct[ct.length-1])===null||st===void 0||(yt=st.option)===null||yt===void 0?void 0:yt.disabled}})},[Ze,It,Zt,tn,Wt])},Qt=te(71430),St=function(Ze,It){var Zt=ue.useRef({options:null,info:null}),Wt=ue.useCallback(function(){return Zt.current.options!==Ze&&(Zt.current.options=Ze,Zt.current.info=(0,Qt.I8)(Ze,{fieldNames:It,initWrapper:function(jt){return(0,ne.Z)((0,ne.Z)({},jt),{},{pathKeyEntities:{}})},processEntity:function(jt,pn){var st=jt.nodes.map(function(yt){return yt[It.value]}).join(Pe);pn.pathKeyEntities[st]=jt,jt.key=st}})),Zt.current.info.pathKeyEntities},[It,Ze]);return Wt},an=function(Ze,It){return ue.useCallback(function(Zt){var Wt=[],tn=[];return Zt.forEach(function(jt){var pn=Et(jt,Ze,It);pn.every(function(st){return st.option})?tn.push(jt):Wt.push(jt)}),[tn,Wt]},[Ze,It])},En=te(51395);function nt(Ze){return ue.useMemo(function(){if(!Ze)return[!1,{}];var It={matchInputWidth:!0,limit:50};return Ze&&(0,E.Z)(Ze)==="object"&&(It=(0,ne.Z)((0,ne.Z)({},It),Ze)),It.limit<=0&&delete It.limit,[!0,It]},[Ze])}var et=ue.memo(function(Ze){var It=Ze.children;return It},function(Ze,It){return!It.open}),Yt=et;function hn(Ze){var It,Zt=Ze.prefixCls,Wt=Ze.checked,tn=Ze.halfChecked,jt=Ze.disabled,pn=Ze.onClick,st=Ze.disableCheckbox,yt=ue.useContext(x),ct=yt.checkable,rn=typeof ct!="boolean"?ct:null;return ue.createElement("span",{className:le()("".concat(Zt),(It={},(0,z.Z)(It,"".concat(Zt,"-checked"),Wt),(0,z.Z)(It,"".concat(Zt,"-indeterminate"),!Wt&&tn),(0,z.Z)(It,"".concat(Zt,"-disabled"),jt||st),It)),onClick:pn},rn)}var Tt="__cascader_fix_label__";function vn(Ze){var It=Ze.prefixCls,Zt=Ze.multiple,Wt=Ze.options,tn=Ze.activeValue,jt=Ze.prevValuePath,pn=Ze.onToggleOpen,st=Ze.onSelect,yt=Ze.onActive,ct=Ze.checkedSet,rn=Ze.halfCheckedSet,In=Ze.loadingKeys,yn=Ze.isSelectable,ia=Ze.searchValue,Un="".concat(It,"-menu"),lt="".concat(It,"-menu-item"),$t=ue.useContext(x),qn=$t.fieldNames,nn=$t.changeOnSelect,_n=$t.expandTrigger,Jn=$t.expandIcon,Ma=$t.loadingIcon,ma=$t.dropdownMenuColumnStyle,We=_n==="hover",dn=ue.useMemo(function(){return Wt.map(function(Jt){var Sn,On=Jt.disabled,kn=Jt.disableCheckbox,Dn=Jt[re],wn=(Sn=Jt[Tt])!==null&&Sn!==void 0?Sn:Jt[qn.label],Aa=Jt[qn.value],La=ht(Jt,qn),mn=Dn?Dn.map(function(Vn){return Vn[qn.value]}):[].concat((0,b.Z)(jt),[Aa]),Da=Ye(mn),na=In.includes(Da),Qa=ct.has(Da),Ja=rn.has(Da);return{disabled:On,label:wn,value:Aa,isLeaf:La,isLoading:na,checked:Qa,halfChecked:Ja,option:Jt,disableCheckbox:kn,fullPath:mn,fullPathKey:Da}})},[Wt,ct,qn,rn,In,jt]);return ue.createElement("ul",{className:Un,role:"menu"},dn.map(function(Jt){var Sn,On=Jt.disabled,kn=Jt.label,Dn=Jt.value,wn=Jt.isLeaf,Aa=Jt.isLoading,La=Jt.checked,mn=Jt.halfChecked,Da=Jt.option,na=Jt.fullPath,Qa=Jt.fullPathKey,Ja=Jt.disableCheckbox,Vn=function(){if(!(On||ia)){var za=(0,b.Z)(na);We&&wn&&za.pop(),yt(za)}},sa=function(){yn(Da)&&st(na,wn)},xa;return typeof Da.title=="string"?xa=Da.title:typeof kn=="string"&&(xa=kn),ue.createElement("li",{key:Qa,className:le()(lt,(Sn={},(0,z.Z)(Sn,"".concat(lt,"-expand"),!wn),(0,z.Z)(Sn,"".concat(lt,"-active"),tn===Dn||tn===Qa),(0,z.Z)(Sn,"".concat(lt,"-disabled"),On),(0,z.Z)(Sn,"".concat(lt,"-loading"),Aa),Sn)),style:ma,role:"menuitemcheckbox",title:xa,"aria-checked":La,"data-path-key":Qa,onClick:function(){Vn(),!Ja&&(!Zt||wn)&&sa()},onDoubleClick:function(){nn&&pn(!1)},onMouseEnter:function(){We&&Vn()},onMouseDown:function(za){za.preventDefault()}},Zt&&ue.createElement(hn,{prefixCls:"".concat(It,"-checkbox"),checked:La,halfChecked:mn,disabled:On||Ja,disableCheckbox:Ja,onClick:function(za){Ja||(za.stopPropagation(),sa())}}),ue.createElement("div",{className:"".concat(lt,"-content")},kn),!Aa&&Jn&&!wn&&ue.createElement("div",{className:"".concat(lt,"-expand-icon")},Jn),Aa&&Ma&&ue.createElement("div",{className:"".concat(lt,"-loading-icon")},Ma))}))}var Ge=function(){var Ze=(0,Qe.lk)(),It=Ze.multiple,Zt=Ze.open,Wt=ue.useContext(x),tn=Wt.values,jt=ue.useState([]),pn=(0,ot.Z)(jt,2),st=pn[0],yt=pn[1];return ue.useEffect(function(){if(Zt&&!It){var ct=tn[0];yt(ct||[])}},[Zt]),[st,yt]},Dt=te(85108),Kt=function(Ze,It,Zt,Wt,tn,jt){var pn=(0,Qe.lk)(),st=pn.direction,yt=pn.searchValue,ct=pn.toggleOpen,rn=pn.open,In=st==="rtl",yn=ue.useMemo(function(){for(var ma=-1,We=It,dn=[],Jt=[],Sn=Wt.length,On=mt(It,Zt),kn=function(Da){var na=We.findIndex(function(Qa,Ja){return(On[Ja]?Ye(On[Ja]):Qa[Zt.value])===Wt[Da]});if(na===-1)return"break";ma=na,dn.push(ma),Jt.push(Wt[Da]),We=We[ma][Zt.children]},Dn=0;Dn<Sn&&We;Dn+=1){var wn=kn(Dn);if(wn==="break")break}for(var Aa=It,La=0;La<dn.length-1;La+=1)Aa=Aa[dn[La]][Zt.children];return[Jt,ma,Aa,On]},[Wt,Zt,It]),ia=(0,ot.Z)(yn,4),Un=ia[0],lt=ia[1],$t=ia[2],qn=ia[3],nn=function(We){tn(We)},_n=function(We){var dn=$t.length,Jt=lt;Jt===-1&&We<0&&(Jt=dn);for(var Sn=0;Sn<dn;Sn+=1){Jt=(Jt+We+dn)%dn;var On=$t[Jt];if(On&&!On.disabled){var kn=Un.slice(0,-1).concat(qn[Jt]?Ye(qn[Jt]):On[Zt.value]);nn(kn);return}}},Jn=function(){if(Un.length>1){var We=Un.slice(0,-1);nn(We)}else ct(!1)},Ma=function(){var We,dn=((We=$t[lt])===null||We===void 0?void 0:We[Zt.children])||[],Jt=dn.find(function(On){return!On.disabled});if(Jt){var Sn=[].concat((0,b.Z)(Un),[Jt[Zt.value]]);nn(Sn)}};ue.useImperativeHandle(Ze,function(){return{onKeyDown:function(We){var dn=We.which;switch(dn){case Dt.Z.UP:case Dt.Z.DOWN:{var Jt=0;dn===Dt.Z.UP?Jt=-1:dn===Dt.Z.DOWN&&(Jt=1),Jt!==0&&_n(Jt);break}case Dt.Z.LEFT:{if(yt)break;In?Ma():Jn();break}case Dt.Z.RIGHT:{if(yt)break;In?Jn():Ma();break}case Dt.Z.BACKSPACE:{yt||Jn();break}case Dt.Z.ENTER:{if(Un.length){var Sn=$t[lt],On=(Sn==null?void 0:Sn[re])||[];On.length?jt(On.map(function(kn){return kn[Zt.value]}),On[On.length-1]):jt(Un,$t[lt])}break}case Dt.Z.ESC:ct(!1),rn&&We.stopPropagation()}},onKeyUp:function(){}}})},Mt=ue.forwardRef(function(Ze,It){var Zt,Wt,tn,jt,pn=(0,Qe.lk)(),st=pn.prefixCls,yt=pn.multiple,ct=pn.searchValue,rn=pn.toggleOpen,In=pn.notFoundContent,yn=pn.direction,ia=pn.open,Un=ue.useRef(),lt=yn==="rtl",$t=ue.useContext(x),qn=$t.options,nn=$t.values,_n=$t.halfValues,Jn=$t.fieldNames,Ma=$t.changeOnSelect,ma=$t.onSelect,We=$t.searchOptions,dn=$t.dropdownPrefixCls,Jt=$t.loadData,Sn=$t.expandTrigger,On=dn||st,kn=ue.useState([]),Dn=(0,ot.Z)(kn,2),wn=Dn[0],Aa=Dn[1],La=function(vr){if(!(!Jt||ct)){var Zr=Et(vr,qn,Jn),hr=Zr.map(function(Ra){var xr=Ra.option;return xr}),Fr=hr[hr.length-1];if(Fr&&!ht(Fr,Jn)){var ur=Ye(vr);Aa(function(Ra){return[].concat((0,b.Z)(Ra),[ur])}),Jt(hr)}}};ue.useEffect(function(){wn.length&&wn.forEach(function(Er){var vr=Me(Er),Zr=Et(vr,qn,Jn,!0).map(function(Fr){var ur=Fr.option;return ur}),hr=Zr[Zr.length-1];(!hr||hr[Jn.children]||ht(hr,Jn))&&Aa(function(Fr){return Fr.filter(function(ur){return ur!==Er})})})},[qn,wn,Jn]);var mn=ue.useMemo(function(){return new Set(Se(nn))},[nn]),Da=ue.useMemo(function(){return new Set(Se(_n))},[_n]),na=Ge(),Qa=(0,ot.Z)(na,2),Ja=Qa[0],Vn=Qa[1],sa=function(vr){Vn(vr),La(vr)},xa=function(vr){var Zr=vr.disabled,hr=ht(vr,Jn);return!Zr&&(hr||Ma||yt)},aa=function(vr,Zr){var hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ma(vr),!yt&&(Zr||Ma&&(Sn==="hover"||hr))&&rn(!1)},za=ue.useMemo(function(){return ct?We:qn},[ct,We,qn]),ar=ue.useMemo(function(){for(var Er=[{options:za}],vr=za,Zr=mt(vr,Jn),hr=function(){var xr=Ja[Fr],Xr=vr.find(function(Vr,jr){return(Zr[jr]?Ye(Zr[jr]):Vr[Jn.value])===xr}),br=Xr==null?void 0:Xr[Jn.children];if(!(br!=null&&br.length))return"break";vr=br,Er.push({options:br})},Fr=0;Fr<Ja.length;Fr+=1){var ur=hr();if(ur==="break")break}return Er},[za,Ja,Jn]),Ga=function(vr,Zr){xa(Zr)&&aa(vr,ht(Zr,Jn),!0)};Kt(It,za,Jn,Ja,sa,Ga),ue.useEffect(function(){for(var Er=0;Er<Ja.length;Er+=1){var vr,Zr=Ja.slice(0,Er+1),hr=Ye(Zr),Fr=(vr=Un.current)===null||vr===void 0?void 0:vr.querySelector('li[data-path-key="'.concat(hr.replace(/\\{0,2}"/g,'\\"'),'"]'));Fr&&Ae(Fr)}},[Ja]);var mr=!((Zt=ar[0])!==null&&Zt!==void 0&&(Wt=Zt.options)!==null&&Wt!==void 0&&Wt.length),Ua=[(tn={},(0,z.Z)(tn,Jn.value,"__EMPTY__"),(0,z.Z)(tn,Tt,In),(0,z.Z)(tn,"disabled",!0),tn)],Cr=(0,ne.Z)((0,ne.Z)({},Ze),{},{multiple:!mr&&yt,onSelect:aa,onActive:sa,onToggleOpen:rn,checkedSet:mn,halfCheckedSet:Da,loadingKeys:wn,isSelectable:xa}),kr=mr?[{options:Ua}]:ar,ao=kr.map(function(Er,vr){var Zr=Ja.slice(0,vr),hr=Ja[vr];return ue.createElement(vn,(0,ut.Z)({key:vr},Cr,{searchValue:ct,prefixCls:On,options:Er.options,prevValuePath:Zr,activeValue:hr}))});return ue.createElement(Yt,{open:ia},ue.createElement("div",{className:le()("".concat(On,"-menus"),(jt={},(0,z.Z)(jt,"".concat(On,"-menu-empty"),mr),(0,z.Z)(jt,"".concat(On,"-rtl"),lt),jt)),ref:Un},ao))}),pt=Mt;function rt(Ze){var It=Ze.onPopupVisibleChange,Zt=Ze.popupVisible,Wt=Ze.popupClassName,tn=Ze.popupPlacement;warning(!It,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(Zt===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Wt===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(tn===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function _e(Ze,It){if(Ze){var Zt=function Wt(tn){for(var jt=0;jt<tn.length;jt++){var pn=tn[jt];if(pn[It==null?void 0:It.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(pn[It==null?void 0:It.children])&&Wt(pn[It==null?void 0:It.children]))return!0}};Zt(Ze)}}var ve=null,fe=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function Xe(Ze){return Array.isArray(Ze)&&Array.isArray(Ze[0])}function bt(Ze){return Ze?Xe(Ze)?Ze:(Ze.length===0?[]:[Ze]).map(function(It){return Array.isArray(It)?It:[It]}):[]}var Fe=ue.forwardRef(function(Ze,It){var Zt=Ze.id,Wt=Ze.prefixCls,tn=Wt===void 0?"rc-cascader":Wt,jt=Ze.fieldNames,pn=Ze.defaultValue,st=Ze.value,yt=Ze.changeOnSelect,ct=Ze.onChange,rn=Ze.displayRender,In=Ze.checkable,yn=Ze.autoClearSearchValue,ia=yn===void 0?!0:yn,Un=Ze.searchValue,lt=Ze.onSearch,$t=Ze.showSearch,qn=Ze.expandTrigger,nn=Ze.options,_n=Ze.dropdownPrefixCls,Jn=Ze.loadData,Ma=Ze.popupVisible,ma=Ze.open,We=Ze.popupClassName,dn=Ze.dropdownClassName,Jt=Ze.dropdownMenuColumnStyle,Sn=Ze.popupPlacement,On=Ze.placement,kn=Ze.onDropdownVisibleChange,Dn=Ze.onPopupVisibleChange,wn=Ze.expandIcon,Aa=wn===void 0?">":wn,La=Ze.loadingIcon,mn=Ze.children,Da=Ze.dropdownMatchSelectWidth,na=Da===void 0?!1:Da,Qa=Ze.showCheckedStrategy,Ja=Qa===void 0?je:Qa,Vn=(0,Ue.Z)(Ze,fe),sa=(0,tt.ZP)(Zt),xa=!!In,aa=(0,y.Z)(pn,{value:st,postState:bt}),za=(0,ot.Z)(aa,2),ar=za[0],Ga=za[1],mr=ue.useMemo(function(){return qe(jt)},[JSON.stringify(jt)]),Ua=ue.useMemo(function(){return nn||[]},[nn]),Cr=St(Ua,mr),kr=ue.useCallback(function(ga){var Tn=Cr();return ga.map(function(Fa){var cr=Tn[Fa].nodes;return cr.map(function(Nr){return Nr[mr.value]})})},[Cr,mr]),ao=(0,y.Z)("",{value:Un,postState:function(Tn){return Tn||""}}),Er=(0,ot.Z)(ao,2),vr=Er[0],Zr=Er[1],hr=function(Tn,Fa){Zr(Tn),Fa.source!=="blur"&&lt&&lt(Tn)},Fr=nt($t),ur=(0,ot.Z)(Fr,2),Ra=ur[0],xr=ur[1],Xr=pe(vr,Ua,mr,_n||tn,xr,yt),br=an(Ua,mr),Vr=ue.useMemo(function(){var ga=br(ar),Tn=(0,ot.Z)(ga,2),Fa=Tn[0],cr=Tn[1];if(!xa||!ar.length)return[Fa,[],cr];var Nr=Se(Fa),xe=Cr(),sn=(0,Je.S)(Nr,!0,xe),Cn=sn.checkedKeys,zn=sn.halfCheckedKeys;return[kr(Cn),kr(zn),cr]},[xa,ar,Cr,kr,br]),jr=(0,ot.Z)(Vr,3),Xa=jr[0],wr=jr[1],dr=jr[2],Qr=ue.useMemo(function(){var ga=Se(Xa),Tn=At(ga,Cr,Ja);return[].concat((0,b.Z)(dr),(0,b.Z)(kr(Tn)))},[Xa,Cr,kr,dr,Ja]),ro=dt(Qr,Ua,mr,xa,rn),xo=(0,se.Z)(function(ga){if(Ga(ga),ct){var Tn=bt(ga),Fa=Tn.map(function(xe){return Et(xe,Ua,mr).map(function(sn){return sn.option})}),cr=xa?Tn:Tn[0],Nr=xa?Fa:Fa[0];ct(cr,Nr)}}),To=(0,se.Z)(function(ga){if((!xa||ia)&&Zr(""),!xa)xo(ga);else{var Tn=Ye(ga),Fa=Se(Xa),cr=Se(wr),Nr=Fa.includes(Tn),xe=dr.some(function(Mn){return Ye(Mn)===Tn}),sn=Xa,Cn=dr;if(xe&&!Nr)Cn=dr.filter(function(Mn){return Ye(Mn)!==Tn});else{var zn=Nr?Fa.filter(function(Mn){return Mn!==Tn}):[].concat((0,b.Z)(Fa),[Tn]),cn=Cr(),ra;if(Nr){var Zn=(0,Je.S)(zn,{checked:!1,halfCheckedKeys:cr},cn);ra=Zn.checkedKeys}else{var Nn=(0,Je.S)(zn,!0,cn);ra=Nn.checkedKeys}var Gn=At(ra,Cr,Ja);sn=kr(Gn)}xo([].concat((0,b.Z)(Cn),(0,b.Z)(sn)))}}),ko=function(Tn,Fa){if(Fa.type==="clear"){xo([]);return}var cr=Fa.values[0],Nr=cr.valueCells;To(Nr)},Ir=ma!==void 0?ma:Ma,qr=dn||We,Zo=On||Sn,Ao=function(Tn){kn==null||kn(Tn),Dn==null||Dn(Tn)},Go=ue.useMemo(function(){return{options:Ua,fieldNames:mr,values:Xa,halfValues:wr,changeOnSelect:yt,onSelect:To,checkable:In,searchOptions:Xr,dropdownPrefixCls:_n,loadData:Jn,expandTrigger:qn,expandIcon:Aa,loadingIcon:La,dropdownMenuColumnStyle:Jt}},[Ua,mr,Xa,wr,yt,To,In,Xr,_n,Jn,qn,Aa,La,Jt]),ai=!(vr?Xr:Ua).length,$a=vr&&xr.matchInputWidth||ai?{}:{minWidth:"auto"};return ue.createElement(x.Provider,{value:Go},ue.createElement(Qe.Ac,(0,ut.Z)({},Vn,{ref:It,id:sa,prefixCls:tn,autoClearSearchValue:ia,dropdownMatchSelectWidth:na,dropdownStyle:$a,displayValues:ro,onDisplayValuesChange:ko,mode:xa?"multiple":void 0,searchValue:vr,onSearch:hr,showSearch:Ra,OptionList:pt,emptyOptions:ai,open:Ir,dropdownClassName:qr,placement:Zo,onDropdownVisibleChange:Ao,getRawInputElement:function(){return mn}})))});Fe.SHOW_PARENT=je,Fe.SHOW_CHILD=Le;var Ce=Fe,at=Ce,$e=te(64002),De=te(62892),gt=te(53487),un=te(19080),en=te(36355),zt=te(93891),ln=te(1684),on=te(19716),ze=te(32441),wt=te(14154),Ot=te(58582),Pt=te(84443),Nt=te(66339),fn=te(33234),Pn=te(98447),bn=te(17313),Ln=te(74207),ta=te(83116);const oa=Ze=>{const{prefixCls:It,componentCls:Zt,antCls:Wt}=Ze,tn=`${Zt}-menu-item`,jt=`
&${tn}-expand ${tn}-expand-icon,
${tn}-loading-icon
`;return[{[Zt]:{width:Ze.controlWidth}},{[`${Zt}-dropdown`]:[(0,Pn.C2)(`${It}-checkbox`,Ze),{[`&${Wt}-select-dropdown`]:{padding:0}},{[Zt]:{"&-checkbox":{top:0,marginInlineEnd:Ze.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Zt}-menu-empty`]:{[`${Zt}-menu`]:{width:"100%",height:"auto",[tn]:{color:Ze.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:Ze.controlItemWidth,height:Ze.dropdownHeight,margin:0,padding:Ze.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ze.lineWidth}px ${Ze.lineType} ${Ze.colorSplit}`},"&-item":Object.assign(Object.assign({},bn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:Ze.optionPadding,lineHeight:Ze.lineHeight,cursor:"pointer",transition:`all ${Ze.motionDurationMid}`,borderRadius:Ze.borderRadiusSM,"&:hover":{background:Ze.controlItemBgHover},"&-disabled":{color:Ze.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[jt]:{color:Ze.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg}},"&-content":{flex:"auto"},[jt]:{marginInlineStart:Ze.paddingXXS,color:Ze.colorTextDescription,fontSize:Ze.fontSizeIcon},"&-keyword":{color:Ze.colorHighlight}})}}}]},{[`${Zt}-dropdown-rtl`]:{direction:"rtl"}},(0,Ln.c)(Ze)]};var jn=(0,ta.Z)("Cascader",Ze=>[oa(Ze)],Ze=>{const It=Math.round((Ze.controlHeight-Ze.fontSize*Ze.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ze.controlItemBgActive,optionSelectedFontWeight:Ze.fontWeightStrong,optionPadding:`${It}px ${Ze.paddingSM}px`,menuPadding:Ze.paddingXXS}}),Ea=function(Ze,It){var Zt={};for(var Wt in Ze)Object.prototype.hasOwnProperty.call(Ze,Wt)&&It.indexOf(Wt)<0&&(Zt[Wt]=Ze[Wt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Wt=Object.getOwnPropertySymbols(Ze);tn<Wt.length;tn++)It.indexOf(Wt[tn])<0&&Object.prototype.propertyIsEnumerable.call(Ze,Wt[tn])&&(Zt[Wt[tn]]=Ze[Wt[tn]]);return Zt};const{SHOW_CHILD:pa,SHOW_PARENT:Hn}=at;function Ba(Ze,It,Zt){const Wt=Ze.toLowerCase().split(It).reduce((pn,st,yt)=>yt===0?[st]:[].concat((0,b.Z)(pn),[It,st]),[]),tn=[];let jt=0;return Wt.forEach((pn,st)=>{const yt=jt+pn.length;let ct=Ze.slice(jt,yt);jt=yt,st%2===1&&(ct=ue.createElement("span",{className:`${Zt}-menu-item-keyword`,key:`separator-${st}`},ct)),tn.push(ct)}),tn}const qt=(Ze,It,Zt,Wt)=>{const tn=[],jt=Ze.toLowerCase();return It.forEach((pn,st)=>{st!==0&&tn.push(" / ");let yt=pn[Wt.label];const ct=typeof yt;(ct==="string"||ct==="number")&&(yt=Ba(String(yt),jt,Zt)),tn.push(yt)}),tn},An=ue.forwardRef((Ze,It)=>{const{prefixCls:Zt,size:Wt,disabled:tn,className:jt,rootClassName:pn,multiple:st,bordered:yt=!0,transitionName:ct,choiceTransitionName:rn="",popupClassName:In,dropdownClassName:yn,expandIcon:ia,placement:Un,showSearch:lt,allowClear:$t=!0,notFoundContent:qn,direction:nn,getPopupContainer:_n,status:Jn,showArrow:Ma,builtinPlacements:ma,style:We}=Ze,dn=Ea(Ze,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Jt=(0,$e.Z)(dn,["suffixIcon"]),{getPopupContainer:Sn,getPrefixCls:On,renderEmpty:kn,direction:Dn,popupOverflow:wn,cascader:Aa}=ue.useContext(en.E_),La=nn||Dn,mn=La==="rtl",{status:Da,hasFeedback:na,isFormItemInput:Qa,feedbackIcon:Ja}=ue.useContext(ze.aM),Vn=(0,un.F)(Da,Jn),sa=qn||(kn==null?void 0:kn("Cascader"))||ue.createElement(zt.Z,{componentName:"Cascader"}),xa=On(),aa=On("select",Zt),za=On("cascader",Zt),[ar,Ga]=(0,wt.Z)(aa),[mr]=jn(za),{compactSize:Ua,compactItemClassnames:Cr}=(0,fn.ri)(aa,nn),kr=le()(In||yn,`${za}-dropdown`,{[`${za}-dropdown-rtl`]:La==="rtl"},pn,Ga),ao=ue.useMemo(()=>{if(!lt)return lt;let dr={render:qt};return typeof lt=="object"&&(dr=Object.assign(Object.assign({},dr),lt)),dr},[lt]),Er=(0,on.Z)(dr=>{var Qr;return(Qr=Wt!=null?Wt:Ua)!==null&&Qr!==void 0?Qr:dr}),vr=ue.useContext(ln.Z),Zr=tn!=null?tn:vr;let hr=ia;ia||(hr=mn?ue.createElement(Be.Z,null):ue.createElement(Ie.Z,null));const Fr=ue.createElement("span",{className:`${aa}-menu-item-loading-icon`},ue.createElement(Te.Z,{spin:!0})),ur=ue.useMemo(()=>st?ue.createElement("span",{className:`${za}-checkbox-inner`}):!1,[st]),Ra=(0,Pt.Z)(Ze.suffixIcon,Ma),{suffixIcon:xr,removeIcon:Xr,clearIcon:br}=(0,Nt.Z)(Object.assign(Object.assign({},Ze),{hasFeedback:na,feedbackIcon:Ja,showSuffixIcon:Ra,multiple:st,prefixCls:aa,componentName:"Cascader"})),Vr=ue.useMemo(()=>Un!==void 0?Un:mn?"bottomRight":"bottomLeft",[Un,mn]),jr=(0,Ot.Z)(ma,wn),Xa=$t===!0?{clearIcon:br}:$t,wr=ue.createElement(at,Object.assign({prefixCls:aa,className:le()(!Zt&&za,{[`${aa}-lg`]:Er==="large",[`${aa}-sm`]:Er==="small",[`${aa}-rtl`]:mn,[`${aa}-borderless`]:!yt,[`${aa}-in-form-item`]:Qa},(0,un.Z)(aa,Vn,na),Cr,Aa==null?void 0:Aa.className,jt,pn,Ga),disabled:Zr,style:Object.assign(Object.assign({},Aa==null?void 0:Aa.style),We)},Jt,{builtinPlacements:jr,direction:La,placement:Vr,notFoundContent:sa,allowClear:Xa,showSearch:ao,expandIcon:hr,suffixIcon:xr,removeIcon:Xr,loadingIcon:Fr,checkable:ur,dropdownClassName:kr,dropdownPrefixCls:Zt||za,choiceTransitionName:(0,De.m)(xa,"",rn),transitionName:(0,De.m)(xa,"slide-up",ct),getPopupContainer:_n||Sn,ref:It}));return mr(ar(wr))}),Fn=(0,gt.Z)(An);An.SHOW_PARENT=Hn,An.SHOW_CHILD=pa,An._InternalPanelDoNotUseOrYouWillBeFired=Fn;var Xn=An},24905:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return pe}});var b=te(92310),ue=te.n(b),Be=te(5630),Te=te(59301),Ie=te(36355),Oe=te(1684),le=te(32441),ot=Te.createContext(null),Ue=te(98447),Qe=te(14088),tt=te(4572),Je=function(Pe,je){var Le={};for(var Ye in Pe)Object.prototype.hasOwnProperty.call(Pe,Ye)&&je.indexOf(Ye)<0&&(Le[Ye]=Pe[Ye]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ye=Object.getOwnPropertySymbols(Pe);Se<Ye.length;Se++)je.indexOf(Ye[Se])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ye[Se])&&(Le[Ye[Se]]=Pe[Ye[Se]]);return Le};const se=(Pe,je)=>{var Le;const{prefixCls:Ye,className:Se,rootClassName:Me,children:qe,indeterminate:ht=!1,style:Ae,onMouseEnter:mt,onMouseLeave:At,skipGroup:Et=!1,disabled:dt}=Pe,Qt=Je(Pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:St,direction:an,checkbox:En}=Te.useContext(Ie.E_),nt=Te.useContext(ot),{isFormItemInput:et}=Te.useContext(le.aM),Yt=Te.useContext(Oe.Z),hn=(Le=(nt==null?void 0:nt.disabled)||dt)!==null&&Le!==void 0?Le:Yt,Tt=Te.useRef(Qt.value);Te.useEffect(()=>{nt==null||nt.registerValue(Qt.value)},[]),Te.useEffect(()=>{if(!Et)return Qt.value!==Tt.current&&(nt==null||nt.cancelValue(Tt.current),nt==null||nt.registerValue(Qt.value),Tt.current=Qt.value),()=>nt==null?void 0:nt.cancelValue(Qt.value)},[Qt.value]);const vn=St("checkbox",Ye),[Ge,Dt]=(0,Ue.ZP)(vn),Kt=Object.assign({},Qt);nt&&!Et&&(Kt.onChange=function(){Qt.onChange&&Qt.onChange.apply(Qt,arguments),nt.toggleOption&&nt.toggleOption({label:qe,value:Qt.value})},Kt.name=nt.name,Kt.checked=nt.value.includes(Qt.value));const Mt=ue()(`${vn}-wrapper`,{[`${vn}-rtl`]:an==="rtl",[`${vn}-wrapper-checked`]:Kt.checked,[`${vn}-wrapper-disabled`]:hn,[`${vn}-wrapper-in-form-item`]:et},En==null?void 0:En.className,Se,Me,Dt),pt=ue()({[`${vn}-indeterminate`]:ht},tt.A,Dt),rt=ht?"mixed":void 0;return Ge(Te.createElement(Qe.Z,{component:"Checkbox",disabled:hn},Te.createElement("label",{className:Mt,style:Object.assign(Object.assign({},En==null?void 0:En.style),Ae),onMouseEnter:mt,onMouseLeave:At},Te.createElement(Be.Z,Object.assign({"aria-checked":rt},Kt,{prefixCls:vn,className:pt,disabled:hn,ref:je})),qe!==void 0&&Te.createElement("span",null,qe))))};var a=Te.forwardRef(se),x=te(26390),E=te(64002),z=function(Pe,je){var Le={};for(var Ye in Pe)Object.prototype.hasOwnProperty.call(Pe,Ye)&&je.indexOf(Ye)<0&&(Le[Ye]=Pe[Ye]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ye=Object.getOwnPropertySymbols(Pe);Se<Ye.length;Se++)je.indexOf(Ye[Se])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ye[Se])&&(Le[Ye[Se]]=Pe[Ye[Se]]);return Le};const ne=(Pe,je)=>{const{defaultValue:Le,children:Ye,options:Se=[],prefixCls:Me,className:qe,rootClassName:ht,style:Ae,onChange:mt}=Pe,At=z(Pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Et,direction:dt}=Te.useContext(Ie.E_),[Qt,St]=Te.useState(At.value||Le||[]),[an,En]=Te.useState([]);Te.useEffect(()=>{"value"in At&&St(At.value||[])},[At.value]);const nt=Te.useMemo(()=>Se.map(_e=>typeof _e=="string"||typeof _e=="number"?{label:_e,value:_e}:_e),[Se]),et=_e=>{En(ve=>ve.filter(fe=>fe!==_e))},Yt=_e=>{En(ve=>[].concat((0,x.Z)(ve),[_e]))},hn=_e=>{const ve=Qt.indexOf(_e.value),fe=(0,x.Z)(Qt);ve===-1?fe.push(_e.value):fe.splice(ve,1),"value"in At||St(fe),mt==null||mt(fe.filter(Xe=>an.includes(Xe)).sort((Xe,bt)=>{const Fe=nt.findIndex(at=>at.value===Xe),Ce=nt.findIndex(at=>at.value===bt);return Fe-Ce}))},Tt=Et("checkbox",Me),vn=`${Tt}-group`,[Ge,Dt]=(0,Ue.ZP)(Tt),Kt=(0,E.Z)(At,["value","disabled"]),Mt=Se.length?nt.map(_e=>Te.createElement(a,{prefixCls:Tt,key:_e.value.toString(),disabled:"disabled"in _e?_e.disabled:At.disabled,value:_e.value,checked:Qt.includes(_e.value),onChange:_e.onChange,className:`${vn}-item`,style:_e.style,title:_e.title},_e.label)):Ye,pt={toggleOption:hn,value:Qt,disabled:At.disabled,name:At.name,registerValue:Yt,cancelValue:et},rt=ue()(vn,{[`${vn}-rtl`]:dt==="rtl"},qe,ht,Dt);return Ge(Te.createElement("div",Object.assign({className:rt,style:Ae},Kt,{ref:je}),Te.createElement(ot.Provider,{value:pt},Mt)))},re=Te.forwardRef(ne);var ie=Te.memo(re);const de=a;de.Group=ie,de.__ANT_CHECKBOX=!0;var pe=de},98447:function(Ut,Gt,te){"use strict";te.d(Gt,{C2:function(){return Ie}});var b=te(17313),ue=te(37613),Be=te(83116);const Te=Oe=>{const{checkboxCls:le}=Oe,ut=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,b.Wf)(Oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Oe.marginXS,[`> ${Oe.antCls}-row`]:{flex:1}}),[ut]:Object.assign(Object.assign({},(0,b.Wf)(Oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ut}`]:{marginInlineStart:0},[`&${ut}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[le]:Object.assign(Object.assign({},(0,b.Wf)(Oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Oe.borderRadiusSM,alignSelf:"center",[`${le}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${le}-inner`]:Object.assign({},(0,b.oN)(Oe))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Oe.checkboxSize,height:Oe.checkboxSize,direction:"ltr",backgroundColor:Oe.colorBgContainer,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Oe.checkboxSize/14*5,height:Oe.checkboxSize/14*8,border:`${Oe.lineWidthBold}px solid ${Oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Oe.motionDurationFast} ${Oe.motionEaseInBack}, opacity ${Oe.motionDurationFast}`}},"& + span":{paddingInlineStart:Oe.paddingXS,paddingInlineEnd:Oe.paddingXS}})},{[`
${ut}:not(${ut}-disabled),
${le}:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{borderColor:Oe.colorPrimary}},[`${ut}:not(${ut}-disabled)`]:{[`&:hover ${le}-checked:not(${le}-disabled) ${le}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${le}-checked:not(${le}-disabled):after`]:{borderColor:Oe.colorPrimaryHover}}},{[`${le}-checked`]:{[`${le}-inner`]:{backgroundColor:Oe.colorPrimary,borderColor:Oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Oe.motionDurationMid} ${Oe.motionEaseOutBack} ${Oe.motionDurationFast}`}}},[`
${ut}-checked:not(${ut}-disabled),
${le}-checked:not(${le}-disabled)
`]:{[`&:hover ${le}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:Oe.colorBgContainer,borderColor:Oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Oe.fontSizeLG/2,height:Oe.fontSizeLG/2,backgroundColor:Oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ut}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,"&:after":{borderColor:Oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Oe.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:Oe.colorTextDisabled}}}]};function Ie(Oe,le){const ut=(0,ue.TS)(le,{checkboxCls:`.${Oe}`,checkboxSize:le.controlInteractiveSize});return[Te(ut)]}Gt.ZP=(0,Be.Z)("Checkbox",(Oe,le)=>{let{prefixCls:ut}=le;return[Ie(ut,Oe)]})},36381:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Kt}});var b=te(53878),ue=te(92310),Be=te.n(ue),Te=te(5891),Ie=te(26390),Oe=te(29043),le=te(80665),ut=te(35788),ot=te(51395),Ue=te(59301),Qe=te(19149),tt=te(38298),Je=te(80962),se=te(43469),y=te(85108),a=Ue.forwardRef(function(Mt,pt){var rt=Mt.prefixCls,_e=Mt.forceRender,ve=Mt.className,fe=Mt.style,Xe=Mt.children,bt=Mt.isActive,Fe=Mt.role,Ce=Ue.useState(bt||_e),at=(0,Oe.Z)(Ce,2),$e=at[0],De=at[1];return Ue.useEffect(function(){(_e||bt)&&De(!0)},[_e,bt]),$e?Ue.createElement("div",{ref:pt,className:Be()("".concat(rt,"-content"),(0,Je.Z)((0,Je.Z)({},"".concat(rt,"-content-active"),bt),"".concat(rt,"-content-inactive"),!bt),ve),style:fe,role:Fe},Ue.createElement("div",{className:"".concat(rt,"-content-box")},Xe)):null});a.displayName="PanelContent";var x=a,E=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ue.forwardRef(function(Mt,pt){var rt=Mt.showArrow,_e=rt===void 0?!0:rt,ve=Mt.headerClass,fe=Mt.isActive,Xe=Mt.onItemClick,bt=Mt.forceRender,Fe=Mt.className,Ce=Mt.prefixCls,at=Mt.collapsible,$e=Mt.accordion,De=Mt.panelKey,gt=Mt.extra,un=Mt.header,en=Mt.expandIcon,zt=Mt.openMotion,ln=Mt.destroyInactivePanel,on=Mt.children,ze=(0,Qe.Z)(Mt,E),wt=at==="disabled",Ot=at==="header",Pt=at==="icon",Nt=gt!=null&&typeof gt!="boolean",fn=function(){Xe==null||Xe(De)},Pn=function(Ea){(Ea.key==="Enter"||Ea.keyCode===y.Z.ENTER||Ea.which===y.Z.ENTER)&&fn()},bn=typeof en=="function"?en(Mt):Ue.createElement("i",{className:"arrow"});bn&&(bn=Ue.createElement("div",{className:"".concat(Ce,"-expand-icon"),onClick:["header","icon"].includes(at)?fn:void 0},bn));var Ln=Be()((0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(Ce,"-item"),!0),"".concat(Ce,"-item-active"),fe),"".concat(Ce,"-item-disabled"),wt),Fe),ta=Be()(ve,(0,Je.Z)((0,Je.Z)((0,Je.Z)({},"".concat(Ce,"-header"),!0),"".concat(Ce,"-header-collapsible-only"),Ot),"".concat(Ce,"-icon-collapsible-only"),Pt)),oa={className:ta,"aria-expanded":fe,"aria-disabled":wt,onKeyDown:Pn};return!Ot&&!Pt&&(oa.onClick=fn,oa.role=$e?"tab":"button",oa.tabIndex=wt?-1:0),Ue.createElement("div",(0,Te.Z)({},ze,{ref:pt,className:Ln}),Ue.createElement("div",oa,_e&&bn,Ue.createElement("span",{className:"".concat(Ce,"-header-text"),onClick:at==="header"?fn:void 0},un),Nt&&Ue.createElement("div",{className:"".concat(Ce,"-extra")},gt)),Ue.createElement(se.default,(0,Te.Z)({visible:fe,leavedClassName:"".concat(Ce,"-content-hidden")},zt,{forceRender:bt,removeOnLeave:ln}),function(jn,Ea){var pa=jn.className,Hn=jn.style;return Ue.createElement(x,{ref:Ea,prefixCls:Ce,className:pa,style:Hn,isActive:fe,forceRender:bt,role:$e?"tabpanel":void 0},on)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ie=function(pt,rt){var _e=rt.prefixCls,ve=rt.accordion,fe=rt.collapsible,Xe=rt.destroyInactivePanel,bt=rt.onItemClick,Fe=rt.activeKey,Ce=rt.openMotion,at=rt.expandIcon;return pt.map(function($e,De){var gt=$e.children,un=$e.label,en=$e.key,zt=$e.collapsible,ln=$e.onItemClick,on=$e.destroyInactivePanel,ze=(0,Qe.Z)($e,re),wt=String(en!=null?en:De),Ot=zt!=null?zt:fe,Pt=on!=null?on:Xe,Nt=function(bn){Ot!=="disabled"&&(bt(bn),ln==null||ln(bn))},fn=!1;return ve?fn=Fe[0]===wt:fn=Fe.indexOf(wt)>-1,Ue.createElement(ne,(0,Te.Z)({},ze,{prefixCls:_e,key:wt,panelKey:wt,isActive:fn,accordion:ve,openMotion:Ce,expandIcon:at,header:un,collapsible:Ot,onItemClick:Nt,destroyInactivePanel:Pt}),gt)})},de=function(pt,rt,_e){if(!pt)return null;var ve=_e.prefixCls,fe=_e.accordion,Xe=_e.collapsible,bt=_e.destroyInactivePanel,Fe=_e.onItemClick,Ce=_e.activeKey,at=_e.openMotion,$e=_e.expandIcon,De=pt.key||String(rt),gt=pt.props,un=gt.header,en=gt.headerClass,zt=gt.destroyInactivePanel,ln=gt.collapsible,on=gt.onItemClick,ze=!1;fe?ze=Ce[0]===De:ze=Ce.indexOf(De)>-1;var wt=ln!=null?ln:Xe,Ot=function(fn){wt!=="disabled"&&(Fe(fn),on==null||on(fn))},Pt={key:De,panelKey:De,header:un,headerClass:en,isActive:ze,prefixCls:ve,destroyInactivePanel:zt!=null?zt:bt,openMotion:at,accordion:fe,children:pt.props.children,onItemClick:Ot,expandIcon:$e,collapsible:wt};return typeof pt.type=="string"?pt:(Object.keys(Pt).forEach(function(Nt){typeof Pt[Nt]=="undefined"&&delete Pt[Nt]}),Ue.cloneElement(pt,Pt))};function pe(Mt,pt,rt){return Array.isArray(Mt)?ie(Mt,rt):(0,tt.Z)(pt).map(function(_e,ve){return de(_e,ve,rt)})}var Pe=pe,je=te(36994);function Le(Mt){var pt=Mt;if(!Array.isArray(pt)){var rt=(0,le.Z)(pt);pt=rt==="number"||rt==="string"?[pt]:[]}return pt.map(function(_e){return String(_e)})}var Ye=Ue.forwardRef(function(Mt,pt){var rt=Mt.prefixCls,_e=rt===void 0?"rc-collapse":rt,ve=Mt.destroyInactivePanel,fe=ve===void 0?!1:ve,Xe=Mt.style,bt=Mt.accordion,Fe=Mt.className,Ce=Mt.children,at=Mt.collapsible,$e=Mt.openMotion,De=Mt.expandIcon,gt=Mt.activeKey,un=Mt.defaultActiveKey,en=Mt.onChange,zt=Mt.items,ln=Be()(_e,Fe),on=(0,ut.Z)([],{value:gt,onChange:function(Pn){return en==null?void 0:en(Pn)},defaultValue:un,postState:Le}),ze=(0,Oe.Z)(on,2),wt=ze[0],Ot=ze[1],Pt=function(Pn){return Ot(function(){if(bt)return wt[0]===Pn?[]:[Pn];var bn=wt.indexOf(Pn),Ln=bn>-1;return Ln?wt.filter(function(ta){return ta!==Pn}):[].concat((0,Ie.Z)(wt),[Pn])})};(0,ot.ZP)(!Ce,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Nt=Pe(zt,Ce,{prefixCls:_e,accordion:bt,openMotion:$e,expandIcon:De,collapsible:at,destroyInactivePanel:fe,onItemClick:Pt,activeKey:wt});return Ue.createElement("div",(0,Te.Z)({ref:pt,className:ln,style:Xe,role:bt?"tablist":void 0},(0,je.Z)(Mt,{aria:!0,data:!0})),Nt)}),Se=Object.assign(Ye,{Panel:ne}),Me=Se,qe=Se.Panel,ht=te(64002),Ae=te(62892),mt=te(92343),At=te(36355),Et=te(19716),Qt=Ue.forwardRef((Mt,pt)=>{const{getPrefixCls:rt}=Ue.useContext(At.E_),{prefixCls:_e,className:ve,showArrow:fe=!0}=Mt,Xe=rt("collapse",_e),bt=Be()({[`${Xe}-no-arrow`]:!fe},ve);return Ue.createElement(Me.Panel,Object.assign({ref:pt},Mt,{prefixCls:Xe,className:bt}))}),St=te(17313),an=te(8378),En=te(83116),nt=te(37613);const et=Mt=>{const{componentCls:pt,contentBg:rt,padding:_e,headerBg:ve,headerPadding:fe,collapseHeaderPaddingSM:Xe,collapseHeaderPaddingLG:bt,collapsePanelBorderRadius:Fe,lineWidth:Ce,lineType:at,colorBorder:$e,colorText:De,colorTextHeading:gt,colorTextDisabled:un,fontSize:en,fontSizeLG:zt,lineHeight:ln,marginSM:on,paddingSM:ze,paddingLG:wt,paddingXS:Ot,motionDurationSlow:Pt,fontSizeIcon:Nt,contentPadding:fn}=Mt,Pn=`${Ce}px ${at} ${$e}`;return{[pt]:Object.assign(Object.assign({},(0,St.Wf)(Mt)),{backgroundColor:ve,border:Pn,borderBottom:0,borderRadius:`${Fe}px`,"&-rtl":{direction:"rtl"},[`& > ${pt}-item`]:{borderBottom:Pn,"&:last-child":{[`
&,
& > ${pt}-header`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`> ${pt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:gt,lineHeight:ln,cursor:"pointer",transition:`all ${Pt}, visibility 0s`,[`> ${pt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${pt}-expand-icon`]:{height:en*ln,display:"flex",alignItems:"center",paddingInlineEnd:on},[`${pt}-arrow`]:Object.assign(Object.assign({},(0,St.Ro)()),{fontSize:Nt,svg:{transition:`transform ${Pt}`}}),[`${pt}-header-text`]:{marginInlineEnd:"auto"}},[`${pt}-header-collapsible-only`]:{cursor:"default",[`${pt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${pt}-icon-collapsible-only`]:{cursor:"default",[`${pt}-expand-icon`]:{cursor:"pointer"}}},[`${pt}-content`]:{color:De,backgroundColor:rt,borderTop:Pn,[`& > ${pt}-content-box`]:{padding:fn},"&-hidden":{display:"none"}},"&-small":{[`> ${pt}-item`]:{[`> ${pt}-header`]:{padding:Xe,paddingInlineStart:Ot,[`> ${pt}-expand-icon`]:{marginInlineStart:ze-Ot}},[`> ${pt}-content > ${pt}-content-box`]:{padding:ze}}},"&-large":{[`> ${pt}-item`]:{fontSize:zt,[`> ${pt}-header`]:{padding:bt,paddingInlineStart:_e,[`> ${pt}-expand-icon`]:{height:zt*ln,marginInlineStart:wt-_e}},[`> ${pt}-content > ${pt}-content-box`]:{padding:wt}}},[`${pt}-item:last-child`]:{[`> ${pt}-content`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`& ${pt}-item-disabled > ${pt}-header`]:{"\n &,\n & > .arrow\n ":{color:un,cursor:"not-allowed"}},[`&${pt}-icon-position-end`]:{[`& > ${pt}-item`]:{[`> ${pt}-header`]:{[`${pt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:on}}}}})}},Yt=Mt=>{const{componentCls:pt}=Mt,rt=`> ${pt}-item > ${pt}-header ${pt}-arrow svg`;return{[`${pt}-rtl`]:{[rt]:{transform:"rotate(180deg)"}}}},hn=Mt=>{const{componentCls:pt,headerBg:rt,paddingXXS:_e,colorBorder:ve}=Mt;return{[`${pt}-borderless`]:{backgroundColor:rt,border:0,[`> ${pt}-item`]:{borderBottom:`1px solid ${ve}`},[`
> ${pt}-item:last-child,
> ${pt}-item:last-child ${pt}-header
`]:{borderRadius:0},[`> ${pt}-item:last-child`]:{borderBottom:0},[`> ${pt}-item > ${pt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${pt}-item > ${pt}-content > ${pt}-content-box`]:{paddingTop:_e}}}},Tt=Mt=>{const{componentCls:pt,paddingSM:rt}=Mt;return{[`${pt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${pt}-item`]:{borderBottom:0,[`> ${pt}-content`]:{backgroundColor:"transparent",border:0,[`> ${pt}-content-box`]:{paddingBlock:rt}}}}}};var vn=(0,En.Z)("Collapse",Mt=>{const pt=(0,nt.TS)(Mt,{collapseHeaderPaddingSM:`${Mt.paddingXS}px ${Mt.paddingSM}px`,collapseHeaderPaddingLG:`${Mt.padding}px ${Mt.paddingLG}px`,collapsePanelBorderRadius:Mt.borderRadiusLG});return[et(pt),hn(pt),Tt(pt),Yt(pt),(0,an.Z)(pt)]},Mt=>({headerPadding:`${Mt.paddingSM}px ${Mt.padding}px`,headerBg:Mt.colorFillAlter,contentPadding:`${Mt.padding}px 16px`,contentBg:Mt.colorBgContainer})),Dt=Object.assign(Ue.forwardRef((Mt,pt)=>{const{getPrefixCls:rt,direction:_e,collapse:ve}=Ue.useContext(At.E_),{prefixCls:fe,className:Xe,rootClassName:bt,style:Fe,bordered:Ce=!0,ghost:at,size:$e,expandIconPosition:De="start",children:gt,expandIcon:un}=Mt,en=(0,Et.Z)(Pn=>{var bn;return(bn=$e!=null?$e:Pn)!==null&&bn!==void 0?bn:"middle"}),zt=rt("collapse",fe),ln=rt(),[on,ze]=vn(zt),wt=Ue.useMemo(()=>De==="left"?"start":De==="right"?"end":De,[De]),Ot=function(){let Pn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const bn=un?un(Pn):Ue.createElement(b.Z,{rotate:Pn.isActive?90:void 0});return(0,mt.Tm)(bn,()=>({className:Be()(bn.props.className,`${zt}-arrow`)}))},Pt=Be()(`${zt}-icon-position-${wt}`,{[`${zt}-borderless`]:!Ce,[`${zt}-rtl`]:_e==="rtl",[`${zt}-ghost`]:!!at,[`${zt}-${en}`]:en!=="middle"},ve==null?void 0:ve.className,Xe,bt,ze),Nt=Object.assign(Object.assign({},(0,Ae.Z)(ln)),{motionAppear:!1,leavedClassName:`${zt}-content-hidden`}),fn=Ue.useMemo(()=>gt?(0,tt.Z)(gt).map((Pn,bn)=>{var Ln,ta;if(!((Ln=Pn.props)===null||Ln===void 0)&&Ln.disabled){const oa=(ta=Pn.key)!==null&&ta!==void 0?ta:String(bn),{disabled:jn,collapsible:Ea}=Pn.props,pa=Object.assign(Object.assign({},(0,ht.Z)(Pn.props,["disabled"])),{key:oa,collapsible:Ea!=null?Ea:jn?"disabled":void 0});return(0,mt.Tm)(Pn,pa)}return Pn}):null,[gt]);return on(Ue.createElement(Me,Object.assign({ref:pt,openMotion:Nt},(0,ht.Z)(Mt,["rootClassName"]),{expandIcon:Ot,prefixCls:zt,className:Pt,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),Fe)}),fn))}),{Panel:Qt}),Kt=Dt},43428:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Ge}});var b=te(92310),ue=te.n(b),Be=te(57259),Te=te(29043),Ie=te(43403),Oe=te(28800),le=te(59301),ut=le.createContext(null),ot=le.createContext({}),Ue=ut,Qe=te(80962),tt=te(5891),Je=te(43469),se=te(85108),y=te(36994),a=te(80764),x=function(Kt){var Mt=Kt.prefixCls,pt=Kt.className,rt=Kt.style,_e=Kt.children,ve=Kt.containerRef,fe=Kt.id,Xe=Kt.onMouseEnter,bt=Kt.onMouseOver,Fe=Kt.onMouseLeave,Ce=Kt.onClick,at=Kt.onKeyDown,$e=Kt.onKeyUp,De={onMouseEnter:Xe,onMouseOver:bt,onMouseLeave:Fe,onClick:Ce,onKeyDown:at,onKeyUp:$e},gt=le.useContext(ot),un=gt.panel,en=(0,a.useComposeRef)(un,ve);return le.createElement(le.Fragment,null,le.createElement("div",(0,tt.Z)({id:fe,className:ue()("".concat(Mt,"-content"),pt),style:(0,Be.Z)({},rt),"aria-modal":"true",role:"dialog",ref:en},De),_e))},E=x,z=te(51395);function ne(Dt){return typeof Dt=="string"&&String(Number(Dt))===Dt?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Dt)):Dt}function re(Dt){warning(!("wrapperClassName"in Dt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Dt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ie={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function de(Dt,Kt){var Mt,pt,rt,_e,ve=Dt.prefixCls,fe=Dt.open,Xe=Dt.placement,bt=Dt.inline,Fe=Dt.push,Ce=Dt.forceRender,at=Dt.autoFocus,$e=Dt.keyboard,De=Dt.rootClassName,gt=Dt.rootStyle,un=Dt.zIndex,en=Dt.className,zt=Dt.id,ln=Dt.style,on=Dt.motion,ze=Dt.width,wt=Dt.height,Ot=Dt.children,Pt=Dt.contentWrapperStyle,Nt=Dt.mask,fn=Dt.maskClosable,Pn=Dt.maskMotion,bn=Dt.maskClassName,Ln=Dt.maskStyle,ta=Dt.afterOpenChange,oa=Dt.onClose,jn=Dt.onMouseEnter,Ea=Dt.onMouseOver,pa=Dt.onMouseLeave,Hn=Dt.onClick,Ba=Dt.onKeyDown,qt=Dt.onKeyUp,An=le.useRef(),Fn=le.useRef(),Xn=le.useRef();le.useImperativeHandle(Kt,function(){return An.current});var Ze=function($t){var qn=$t.keyCode,nn=$t.shiftKey;switch(qn){case se.Z.TAB:{if(qn===se.Z.TAB){if(!nn&&document.activeElement===Xn.current){var _n;(_n=Fn.current)===null||_n===void 0||_n.focus({preventScroll:!0})}else if(nn&&document.activeElement===Fn.current){var Jn;(Jn=Xn.current)===null||Jn===void 0||Jn.focus({preventScroll:!0})}}break}case se.Z.ESC:{oa&&$e&&($t.stopPropagation(),oa($t));break}}};le.useEffect(function(){if(fe&&at){var lt;(lt=An.current)===null||lt===void 0||lt.focus({preventScroll:!0})}},[fe]);var It=le.useState(!1),Zt=(0,Te.Z)(It,2),Wt=Zt[0],tn=Zt[1],jt=le.useContext(Ue),pn;Fe===!1?pn={distance:0}:Fe===!0?pn={}:pn=Fe||{};var st=(Mt=(pt=(rt=pn)===null||rt===void 0?void 0:rt.distance)!==null&&pt!==void 0?pt:jt==null?void 0:jt.pushDistance)!==null&&Mt!==void 0?Mt:180,yt=le.useMemo(function(){return{pushDistance:st,push:function(){tn(!0)},pull:function(){tn(!1)}}},[st]);le.useEffect(function(){if(fe){var lt;jt==null||(lt=jt.push)===null||lt===void 0||lt.call(jt)}else{var $t;jt==null||($t=jt.pull)===null||$t===void 0||$t.call(jt)}},[fe]),le.useEffect(function(){return function(){var lt;jt==null||(lt=jt.pull)===null||lt===void 0||lt.call(jt)}},[]);var ct=Nt&&le.createElement(Je.default,(0,tt.Z)({key:"mask"},Pn,{visible:fe}),function(lt,$t){var qn=lt.className,nn=lt.style;return le.createElement("div",{className:ue()("".concat(ve,"-mask"),qn,bn),style:(0,Be.Z)((0,Be.Z)({},nn),Ln),onClick:fn&&fe?oa:void 0,ref:$t})}),rn=typeof on=="function"?on(Xe):on,In={};if(Wt&&st)switch(Xe){case"top":In.transform="translateY(".concat(st,"px)");break;case"bottom":In.transform="translateY(".concat(-st,"px)");break;case"left":In.transform="translateX(".concat(st,"px)");break;default:In.transform="translateX(".concat(-st,"px)");break}Xe==="left"||Xe==="right"?In.width=ne(ze):In.height=ne(wt);var yn={onMouseEnter:jn,onMouseOver:Ea,onMouseLeave:pa,onClick:Hn,onKeyDown:Ba,onKeyUp:qt},ia=le.createElement(Je.default,(0,tt.Z)({key:"panel"},rn,{visible:fe,forceRender:Ce,onVisibleChanged:function($t){ta==null||ta($t)},removeOnLeave:!1,leavedClassName:"".concat(ve,"-content-wrapper-hidden")}),function(lt,$t){var qn=lt.className,nn=lt.style;return le.createElement("div",(0,tt.Z)({className:ue()("".concat(ve,"-content-wrapper"),qn),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},In),nn),Pt)},(0,y.Z)(Dt,{data:!0})),le.createElement(E,(0,tt.Z)({id:zt,containerRef:$t,prefixCls:ve,className:en,style:ln},yn),Ot))}),Un=(0,Be.Z)({},gt);return un&&(Un.zIndex=un),le.createElement(Ue.Provider,{value:yt},le.createElement("div",{className:ue()(ve,"".concat(ve,"-").concat(Xe),De,(_e={},(0,Qe.Z)(_e,"".concat(ve,"-open"),fe),(0,Qe.Z)(_e,"".concat(ve,"-inline"),bt),_e)),style:Un,tabIndex:-1,ref:An,onKeyDown:Ze},ct,le.createElement("div",{tabIndex:0,ref:Fn,style:ie,"aria-hidden":"true","data-sentinel":"start"}),ia,le.createElement("div",{tabIndex:0,ref:Xn,style:ie,"aria-hidden":"true","data-sentinel":"end"})))}var pe=le.forwardRef(de),Pe=pe,je=function(Kt){var Mt=Kt.open,pt=Mt===void 0?!1:Mt,rt=Kt.prefixCls,_e=rt===void 0?"rc-drawer":rt,ve=Kt.placement,fe=ve===void 0?"right":ve,Xe=Kt.autoFocus,bt=Xe===void 0?!0:Xe,Fe=Kt.keyboard,Ce=Fe===void 0?!0:Fe,at=Kt.width,$e=at===void 0?378:at,De=Kt.mask,gt=De===void 0?!0:De,un=Kt.maskClosable,en=un===void 0?!0:un,zt=Kt.getContainer,ln=Kt.forceRender,on=Kt.afterOpenChange,ze=Kt.destroyOnClose,wt=Kt.onMouseEnter,Ot=Kt.onMouseOver,Pt=Kt.onMouseLeave,Nt=Kt.onClick,fn=Kt.onKeyDown,Pn=Kt.onKeyUp,bn=Kt.panelRef,Ln=le.useState(!1),ta=(0,Te.Z)(Ln,2),oa=ta[0],jn=ta[1],Ea=le.useState(!1),pa=(0,Te.Z)(Ea,2),Hn=pa[0],Ba=pa[1];(0,Oe.Z)(function(){Ba(!0)},[]);var qt=Hn?pt:!1,An=le.useRef(),Fn=le.useRef();(0,Oe.Z)(function(){qt&&(Fn.current=document.activeElement)},[qt]);var Xn=function(tn){var jt;if(jn(tn),on==null||on(tn),!tn&&Fn.current&&!((jt=An.current)!==null&&jt!==void 0&&jt.contains(Fn.current))){var pn;(pn=Fn.current)===null||pn===void 0||pn.focus({preventScroll:!0})}},Ze=le.useMemo(function(){return{panel:bn}},[bn]);if(!ln&&!oa&&!qt&&ze)return null;var It={onMouseEnter:wt,onMouseOver:Ot,onMouseLeave:Pt,onClick:Nt,onKeyDown:fn,onKeyUp:Pn},Zt=(0,Be.Z)((0,Be.Z)({},Kt),{},{open:qt,prefixCls:_e,placement:fe,autoFocus:bt,keyboard:Ce,width:$e,mask:gt,maskClosable:en,inline:zt===!1,afterOpenChange:Xn,ref:An},It);return le.createElement(ot.Provider,{value:Ze},le.createElement(Ie.Z,{open:qt||ln||oa,autoDestroy:!1,getContainer:zt,autoLock:gt&&(qt||oa)},le.createElement(Pe,Zt)))},Le=je,Ye=Le,Se=te(62892),Me=te(36355),qe=te(32441),ht=te(47729),mt=Dt=>{const{prefixCls:Kt,title:Mt,footer:pt,extra:rt,closeIcon:_e,closable:ve,onClose:fe,headerStyle:Xe,drawerStyle:bt,bodyStyle:Fe,footerStyle:Ce,children:at}=Dt,$e=le.useCallback(zt=>le.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Kt}-close`},zt),[fe]),[De,gt]=(0,ht.Z)(ve,_e,$e,void 0,!0),un=le.useMemo(()=>!Mt&&!De?null:le.createElement("div",{style:Xe,className:ue()(`${Kt}-header`,{[`${Kt}-header-close-only`]:De&&!Mt&&!rt})},le.createElement("div",{className:`${Kt}-header-title`},gt,Mt&&le.createElement("div",{className:`${Kt}-title`},Mt)),rt&&le.createElement("div",{className:`${Kt}-extra`},rt)),[De,gt,rt,Xe,Kt,Mt]),en=le.useMemo(()=>{if(!pt)return null;const zt=`${Kt}-footer`;return le.createElement("div",{className:zt,style:Ce},pt)},[pt,Ce,Kt]);return le.createElement("div",{className:`${Kt}-wrapper-body`,style:bt},un,le.createElement("div",{className:`${Kt}-body`,style:Fe},at),en)},At=te(33234),Et=te(83116),dt=te(37613),St=Dt=>{const{componentCls:Kt,motionDurationSlow:Mt}=Dt,pt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${Mt}`}}};return{[Kt]:{[`${Kt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${Mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Kt}-panel-motion`]:{"&-left":[pt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[pt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[pt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[pt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const an=Dt=>{const{componentCls:Kt,zIndexPopup:Mt,colorBgMask:pt,colorBgElevated:rt,motionDurationSlow:_e,motionDurationMid:ve,padding:fe,paddingLG:Xe,fontSizeLG:bt,lineHeightLG:Fe,lineWidth:Ce,lineType:at,colorSplit:$e,marginSM:De,colorIcon:gt,colorIconHover:un,colorText:en,fontWeightStrong:zt,footerPaddingBlock:ln,footerPaddingInline:on}=Dt,ze=`${Kt}-content-wrapper`;return{[Kt]:{position:"fixed",inset:0,zIndex:Mt,pointerEvents:"none","&-pure":{position:"relative",background:rt,[`&${Kt}-left`]:{boxShadow:Dt.boxShadowDrawerLeft},[`&${Kt}-right`]:{boxShadow:Dt.boxShadowDrawerRight},[`&${Kt}-top`]:{boxShadow:Dt.boxShadowDrawerUp},[`&${Kt}-bottom`]:{boxShadow:Dt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Kt}-mask`]:{position:"absolute",inset:0,zIndex:Mt,background:pt,pointerEvents:"auto"},[ze]:{position:"absolute",zIndex:Mt,maxWidth:"100vw",transition:`all ${_e}`,"&-hidden":{display:"none"}},[`&-left > ${ze}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:Dt.boxShadowDrawerLeft},[`&-right > ${ze}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:Dt.boxShadowDrawerRight},[`&-top > ${ze}`]:{top:0,insetInline:0,boxShadow:Dt.boxShadowDrawerUp},[`&-bottom > ${ze}`]:{bottom:0,insetInline:0,boxShadow:Dt.boxShadowDrawerDown},[`${Kt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:rt,pointerEvents:"auto"},[`${Kt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Kt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Xe}px`,fontSize:bt,lineHeight:Fe,borderBottom:`${Ce}px ${at} ${$e}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Kt}-extra`]:{flex:"none"},[`${Kt}-close`]:{display:"inline-block",marginInlineEnd:De,color:gt,fontWeight:zt,fontSize:bt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${ve}`,textRendering:"auto","&:focus, &:hover":{color:un,textDecoration:"none"}},[`${Kt}-title`]:{flex:1,margin:0,color:en,fontWeight:Dt.fontWeightStrong,fontSize:bt,lineHeight:Fe},[`${Kt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Xe,overflow:"auto"},[`${Kt}-footer`]:{flexShrink:0,padding:`${ln}px ${on}px`,borderTop:`${Ce}px ${at} ${$e}`},"&-rtl":{direction:"rtl"}}}};var En=(0,Et.Z)("Drawer",Dt=>{const Kt=(0,dt.TS)(Dt,{});return[an(Kt),St(Kt)]},Dt=>({zIndexPopup:Dt.zIndexPopupBase,footerPaddingBlock:Dt.paddingXS,footerPaddingInline:Dt.padding})),nt=te(11575),et=function(Dt,Kt){var Mt={};for(var pt in Dt)Object.prototype.hasOwnProperty.call(Dt,pt)&&Kt.indexOf(pt)<0&&(Mt[pt]=Dt[pt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,pt=Object.getOwnPropertySymbols(Dt);rt<pt.length;rt++)Kt.indexOf(pt[rt])<0&&Object.prototype.propertyIsEnumerable.call(Dt,pt[rt])&&(Mt[pt[rt]]=Dt[pt[rt]]);return Mt};const Yt=null,hn={distance:180},Tt=Dt=>{var Kt;const{rootClassName:Mt,width:pt,height:rt,size:_e="default",mask:ve=!0,push:fe=hn,open:Xe,afterOpenChange:bt,onClose:Fe,prefixCls:Ce,getContainer:at,style:$e,className:De,visible:gt,afterVisibleChange:un}=Dt,en=et(Dt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:zt,getPrefixCls:ln,direction:on,drawer:ze}=le.useContext(Me.E_),wt=ln("drawer",Ce),[Ot,Pt]=En(wt),Nt=at===void 0&&zt?()=>zt(document.body):at,fn=ue()({"no-mask":!ve,[`${wt}-rtl`]:on==="rtl"},Mt,Pt),Pn=le.useMemo(()=>pt!=null?pt:_e==="large"?736:378,[pt,_e]),bn=le.useMemo(()=>rt!=null?rt:_e==="large"?736:378,[rt,_e]),Ln={motionName:(0,Se.m)(wt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},ta=jn=>({motionName:(0,Se.m)(wt,`panel-motion-${jn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),oa=(0,nt.H)();return Ot(le.createElement(At.BR,null,le.createElement(qe.Ux,{status:!0,override:!0},le.createElement(Ye,Object.assign({prefixCls:wt,onClose:Fe,maskMotion:Ln,motion:ta},en,{open:Xe!=null?Xe:gt,mask:ve,push:fe,width:Pn,height:bn,style:Object.assign(Object.assign({},ze==null?void 0:ze.style),$e),className:ue()(ze==null?void 0:ze.className,De),rootClassName:fn,getContainer:Nt,afterOpenChange:bt!=null?bt:un,panelRef:oa}),le.createElement(mt,Object.assign({prefixCls:wt},en,{onClose:Fe}))))))},vn=Dt=>{const{prefixCls:Kt,style:Mt,className:pt,placement:rt="right"}=Dt,_e=et(Dt,["prefixCls","style","className","placement"]),{getPrefixCls:ve}=le.useContext(Me.E_),fe=ve("drawer",Kt),[Xe,bt]=En(fe),Fe=ue()(fe,`${fe}-pure`,`${fe}-${rt}`,bt,pt);return Xe(le.createElement("div",{className:Fe,style:Mt},le.createElement(mt,Object.assign({prefixCls:fe},_e))))};Tt._InternalPanelDoNotUseOrYouWillBeFired=vn;var Ge=Tt},91857:function(Ut,Gt,te){"use strict";var b=te(59301),ue=te(53878),Be=te(92310),Te=te.n(Be),Ie=te(31561),Oe=te(80764),le=te(35788),ut=te(64002),ot=te(79676),Ue=te(53487),Qe=te(92343),tt=te(36355),Je=te(20834),se=te(40875),y=te(88088),a=te(47211);const x=null,E=ie=>{const{menu:de,arrow:pe,prefixCls:Pe,children:je,trigger:Le,disabled:Ye,dropdownRender:Se,getPopupContainer:Me,overlayClassName:qe,rootClassName:ht,open:Ae,onOpenChange:mt,visible:At,onVisibleChange:Et,mouseEnterDelay:dt=.15,mouseLeaveDelay:Qt=.1,autoAdjustOverflow:St=!0,placement:an="",overlay:En,transitionName:nt}=ie,{getPopupContainer:et,getPrefixCls:Yt,direction:hn}=b.useContext(tt.E_),Tt=b.useMemo(()=>{const De=Yt();return nt!==void 0?nt:an.includes("top")?`${De}-slide-down`:`${De}-slide-up`},[Yt,an,nt]),vn=b.useMemo(()=>an?an.includes("Center")?an.slice(0,an.indexOf("Center")):an:hn==="rtl"?"bottomRight":"bottomLeft",[an,hn]),Ge=Yt("dropdown",Pe),[Dt,Kt]=(0,a.Z)(Ge),[,Mt]=(0,y.Z)(),pt=b.Children.only(je),rt=(0,Qe.Tm)(pt,{className:Te()(`${Ge}-trigger`,{[`${Ge}-rtl`]:hn==="rtl"},pt.props.className),disabled:Ye}),_e=Ye?[]:Le;let ve;_e&&_e.includes("contextMenu")&&(ve=!0);const[fe,Xe]=(0,le.Z)(!1,{value:Ae!=null?Ae:At}),bt=(0,Oe.useEvent)(De=>{mt==null||mt(De),Et==null||Et(De),Xe(De)}),Fe=Te()(qe,ht,Kt,{[`${Ge}-rtl`]:hn==="rtl"}),Ce=(0,ot.Z)({arrowPointAtCenter:typeof pe=="object"&&pe.pointAtCenter,autoAdjustOverflow:St,offset:Mt.marginXXS,arrowWidth:pe?Mt.sizePopupArrow:0,borderRadius:Mt.borderRadius}),at=b.useCallback(()=>{Xe(!1)},[]),$e=()=>{let De;return de!=null&&de.items?De=b.createElement(Je.default,Object.assign({},de)):typeof En=="function"?De=En():De=En,Se&&(De=Se(De)),De=b.Children.only(typeof De=="string"?b.createElement("span",null,De):De),b.createElement(se.J,{prefixCls:`${Ge}-menu`,expandIcon:b.createElement("span",{className:`${Ge}-menu-submenu-arrow`},b.createElement(ue.Z,{className:`${Ge}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:at,validator:gt=>{let{mode:un}=gt}},De)};return Dt(b.createElement(Ie.Z,Object.assign({alignPoint:ve},(0,ut.Z)(ie,["rootClassName"]),{mouseEnterDelay:dt,mouseLeaveDelay:Qt,visible:fe,builtinPlacements:Ce,arrow:!!pe,overlayClassName:Fe,prefixCls:Ge,getPopupContainer:Me||et,transitionName:Tt,trigger:_e,overlay:$e,placement:vn,onVisibleChange:bt}),rt))};function z(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ue.Z)(E,"dropdown",ie=>ie,z),re=ie=>b.createElement(ne,Object.assign({},ie),b.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=re,Gt.Z=E},38854:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return y}});var b=te(91857),ue=te(92310),Be=te.n(ue),Te=te(59301),Ie=te(19362),Oe=te(3113),le=te(36355),ut=te(81327),ot=te(33234),Ue=te(47211),Qe=function(a,x){var E={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(E[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(a);ne<z.length;ne++)x.indexOf(z[ne])<0&&Object.prototype.propertyIsEnumerable.call(a,z[ne])&&(E[z[ne]]=a[z[ne]]);return E};const tt=a=>{const{getPopupContainer:x,getPrefixCls:E,direction:z}=Te.useContext(le.E_),{prefixCls:ne,type:re="default",danger:ie,disabled:de,loading:pe,onClick:Pe,htmlType:je,children:Le,className:Ye,menu:Se,arrow:Me,autoFocus:qe,overlay:ht,trigger:Ae,align:mt,open:At,onOpenChange:Et,placement:dt,getPopupContainer:Qt,href:St,icon:an=Te.createElement(Ie.Z,null),title:En,buttonsRender:nt=$e=>$e,mouseEnterDelay:et,mouseLeaveDelay:Yt,overlayClassName:hn,overlayStyle:Tt,destroyPopupOnHide:vn,dropdownRender:Ge}=a,Dt=Qe(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Kt=E("dropdown",ne),Mt=`${Kt}-button`,[pt,rt]=(0,Ue.Z)(Kt),_e={menu:Se,arrow:Me,autoFocus:qe,align:mt,disabled:de,trigger:de?[]:Ae,onOpenChange:Et,getPopupContainer:Qt||x,mouseEnterDelay:et,mouseLeaveDelay:Yt,overlayClassName:hn,overlayStyle:Tt,destroyPopupOnHide:vn,dropdownRender:Ge},{compactSize:ve,compactItemClassnames:fe}=(0,ot.ri)(Kt,z),Xe=Be()(Mt,fe,Ye,rt);"overlay"in a&&(_e.overlay=ht),"open"in a&&(_e.open=At),"placement"in a?_e.placement=dt:_e.placement=z==="rtl"?"bottomLeft":"bottomRight";const bt=Te.createElement(Oe.ZP,{type:re,danger:ie,disabled:de,loading:pe,onClick:Pe,htmlType:je,href:St,title:En},Le),Fe=Te.createElement(Oe.ZP,{type:re,danger:ie,icon:an}),[Ce,at]=nt([bt,Fe]);return pt(Te.createElement(ut.Z.Compact,Object.assign({className:Xe,size:ve,block:!0},Dt),Ce,Te.createElement(b.Z,Object.assign({},_e),at)))};tt.__ANT_BUTTON=!0;var Je=tt;const se=b.Z;se.Button=Je;var y=se},47211:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Qe}});var b=te(17313),ue=te(13826),Be=te(92899),Te=te(29878),Ie=te(19447),Oe=te(83116),le=te(37613),ot=tt=>{const{componentCls:Je,menuCls:se,colorError:y,colorTextLightSolid:a}=tt,x=`${se}-item`;return{[`${Je}, ${Je}-menu-submenu`]:{[`${se} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const Ue=tt=>{const{componentCls:Je,menuCls:se,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:E,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ie,dropdownEdgeChildPadding:de,colorTextDisabled:pe,fontSizeIcon:Pe,controlPaddingHorizontal:je,colorBgElevated:Le}=tt;return[{[Je]:Object.assign(Object.assign({},(0,b.Wf)(tt)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${z}-down, & > ${E}-btn-icon > ${z}-down`]:{fontSize:Pe}},[`${Je}-wrap`]:{position:"relative",[`${E}-btn > ${z}-down`]:{fontSize:Pe},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${Je}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Je}-placement-bottomLeft,
&${E}-slide-down-appear${E}-slide-down-appear-active${Je}-placement-bottomLeft,
&${E}-slide-down-enter${E}-slide-down-enter-active${Je}-placement-bottom,
&${E}-slide-down-appear${E}-slide-down-appear-active${Je}-placement-bottom,
&${E}-slide-down-enter${E}-slide-down-enter-active${Je}-placement-bottomRight,
&${E}-slide-down-appear${E}-slide-down-appear-active${Je}-placement-bottomRight`]:{animationName:ue.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Je}-placement-topLeft,
&${E}-slide-up-appear${E}-slide-up-appear-active${Je}-placement-topLeft,
&${E}-slide-up-enter${E}-slide-up-enter-active${Je}-placement-top,
&${E}-slide-up-appear${E}-slide-up-appear-active${Je}-placement-top,
&${E}-slide-up-enter${E}-slide-up-enter-active${Je}-placement-topRight,
&${E}-slide-up-appear${E}-slide-up-appear-active${Je}-placement-topRight`]:{animationName:ue.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Je}-placement-bottomLeft,
&${E}-slide-down-leave${E}-slide-down-leave-active${Je}-placement-bottom,
&${E}-slide-down-leave${E}-slide-down-leave-active${Je}-placement-bottomRight`]:{animationName:ue.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Je}-placement-topLeft,
&${E}-slide-up-leave${E}-slide-up-leave-active${Je}-placement-top,
&${E}-slide-up-leave${E}-slide-up-leave-active${Je}-placement-topRight`]:{animationName:ue.ly}})},(0,Ie.ZP)(tt,{colorBg:Le,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Je} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Je}, ${Je}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:de,listStyleType:"none",backgroundColor:Le,backgroundClip:"padding-box",borderRadius:tt.borderRadiusLG,outline:"none",boxShadow:tt.boxShadowSecondary},(0,b.Qy)(tt)),{[`${se}-item-group-title`]:{padding:`${re}px ${je}px`,color:tt.colorTextDescription,transition:`all ${ne}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ie,marginInlineEnd:tt.marginXS,fontSize:tt.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ne}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${je}px`,color:tt.colorText,fontWeight:"normal",fontSize:ie,lineHeight:tt.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:tt.borderRadiusSM,"&:hover, &-active":{backgroundColor:tt.controlItemBgHover}},(0,b.Qy)(tt)),{"&-selected":{color:tt.colorPrimary,backgroundColor:tt.controlItemBgActive,"&:hover, &-active":{backgroundColor:tt.controlItemBgActiveHover}},"&-disabled":{color:pe,cursor:"not-allowed","&:hover":{color:pe,backgroundColor:Le,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${tt.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:tt.colorSplit},[`${Je}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:tt.paddingXS,[`${Je}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:tt.colorTextDescription,fontSize:Pe,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${tt.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:je+tt.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Je}-menu-submenu-title`]:{[`&, ${Je}-menu-submenu-arrow-icon`]:{color:pe,backgroundColor:Le,cursor:"not-allowed"}},[`${se}-submenu-selected ${Je}-menu-submenu-title`]:{color:tt.colorPrimary}})}},[(0,ue.oN)(tt,"slide-up"),(0,ue.oN)(tt,"slide-down"),(0,Be.Fm)(tt,"move-up"),(0,Be.Fm)(tt,"move-down"),(0,Te._y)(tt,"zoom-big")]]};var Qe=(0,Oe.Z)("Dropdown",(tt,Je)=>{let{rootPrefixCls:se}=Je;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:E,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ie}=tt,de=(x-E*z)/2,{dropdownArrowOffset:pe}=(0,Ie.fS)({contentRadius:ie}),Pe=(0,le.TS)(tt,{menuCls:`${re}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+y,dropdownArrowOffset:pe,dropdownPaddingVertical:de,dropdownEdgeChildPadding:ne});return[Ue(Pe),ot(Pe)]},tt=>({zIndexPopup:tt.zIndexPopupBase+50}))},8628:function(Ut,Gt,te){"use strict";var b=te(59301),ue=te(28800),Be=te(56762),Te=te(69507);function Ie(){let Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,b.useRef)({}),ut=(0,Be.Z)(),ot=(0,Te.ZP)();return(0,ue.Z)(()=>{const Ue=ot.subscribe(Qe=>{le.current=Qe,Oe&&ut()});return()=>ot.unsubscribe(Ue)},[]),le.current}Gt.Z=Ie},99580:function(Ut,Gt,te){"use strict";te.d(Gt,{D:function(){return ne},Z:function(){return de}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Pe,je){return ue.createElement(Ie.Z,(0,b.Z)({},Pe,{ref:je,icon:Te}))},le=ue.forwardRef(Oe),ut=le,ot=te(16537),Ue=te(53878),Qe=te(92310),tt=te.n(Qe),Je=te(64002),y=pe=>!isNaN(parseFloat(pe))&&isFinite(pe),a=te(36355),x=te(84966),E=function(pe,Pe){var je={};for(var Le in pe)Object.prototype.hasOwnProperty.call(pe,Le)&&Pe.indexOf(Le)<0&&(je[Le]=pe[Le]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Le=Object.getOwnPropertySymbols(pe);Ye<Le.length;Ye++)Pe.indexOf(Le[Ye])<0&&Object.prototype.propertyIsEnumerable.call(pe,Le[Ye])&&(je[Le[Ye]]=pe[Le[Ye]]);return je};const z={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},ne=ue.createContext({}),re=(()=>{let pe=0;return function(){let Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return pe+=1,`${Pe}${pe}`}})();var de=ue.forwardRef((pe,Pe)=>{const{prefixCls:je,className:Le,trigger:Ye,children:Se,defaultCollapsed:Me=!1,theme:qe="dark",style:ht={},collapsible:Ae=!1,reverseArrow:mt=!1,width:At=200,collapsedWidth:Et=80,zeroWidthTriggerStyle:dt,breakpoint:Qt,onCollapse:St,onBreakpoint:an}=pe,En=E(pe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:nt}=(0,ue.useContext)(x.Gs),[et,Yt]=(0,ue.useState)("collapsed"in pe?pe.collapsed:Me),[hn,Tt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{"collapsed"in pe&&Yt(pe.collapsed)},[pe.collapsed]);const vn=(rt,_e)=>{"collapsed"in pe||Yt(rt),St==null||St(rt,_e)},Ge=(0,ue.useRef)();Ge.current=rt=>{Tt(rt.matches),an==null||an(rt.matches),et!==rt.matches&&vn(rt.matches,"responsive")},(0,ue.useEffect)(()=>{function rt(ve){return Ge.current(ve)}let _e;if(typeof window!="undefined"){const{matchMedia:ve}=window;if(ve&&Qt&&Qt in z){_e=ve(`(max-width: ${z[Qt]})`);try{_e.addEventListener("change",rt)}catch(fe){_e.addListener(rt)}rt(_e)}}return()=>{try{_e==null||_e.removeEventListener("change",rt)}catch(ve){_e==null||_e.removeListener(rt)}}},[Qt]),(0,ue.useEffect)(()=>{const rt=re("ant-sider-");return nt.addSider(rt),()=>nt.removeSider(rt)},[]);const Dt=()=>{vn(!et,"clickTrigger")},{getPrefixCls:Kt}=(0,ue.useContext)(a.E_),Mt=()=>{const rt=Kt("layout-sider",je),_e=(0,Je.Z)(En,["collapsed"]),ve=et?Et:At,fe=y(ve)?`${ve}px`:String(ve),Xe=parseFloat(String(Et||0))===0?ue.createElement("span",{onClick:Dt,className:tt()(`${rt}-zero-width-trigger`,`${rt}-zero-width-trigger-${mt?"right":"left"}`),style:dt},Ye||ue.createElement(ut,null)):null,Ce={expanded:mt?ue.createElement(Ue.Z,null):ue.createElement(ot.Z,null),collapsed:mt?ue.createElement(ot.Z,null):ue.createElement(Ue.Z,null)}[et?"collapsed":"expanded"],at=Ye!==null?Xe||ue.createElement("div",{className:`${rt}-trigger`,onClick:Dt,style:{width:fe}},Ye||Ce):null,$e=Object.assign(Object.assign({},ht),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),De=tt()(rt,`${rt}-${qe}`,{[`${rt}-collapsed`]:!!et,[`${rt}-has-trigger`]:Ae&&Ye!==null&&!Xe,[`${rt}-below`]:!!hn,[`${rt}-zero-width`]:parseFloat(fe)===0},Le);return ue.createElement("aside",Object.assign({className:De},_e,{style:$e,ref:Pe}),ue.createElement("div",{className:`${rt}-children`},Se),Ae||hn&&Xe?at:null)},pt=ue.useMemo(()=>({siderCollapsed:et}),[et]);return ue.createElement(ne.Provider,{value:pt},Mt())})},84966:function(Ut,Gt,te){"use strict";te.d(Gt,{VY:function(){return ne},$_:function(){return z},h4:function(){return E},Gs:function(){return Je},ZP:function(){return re}});var b=te(26390),ue=te(92310),Be=te.n(ue),Te=te(64002),Ie=te(59301),Oe=te(36355),le=te(83116),ot=ie=>{const{componentCls:de,bodyBg:pe,lightSiderBg:Pe,lightTriggerBg:je,lightTriggerColor:Le}=ie;return{[`${de}-sider-light`]:{background:Pe,[`${de}-sider-trigger`]:{color:Le,background:je},[`${de}-sider-zero-width-trigger`]:{color:Le,background:je,border:`1px solid ${pe}`,borderInlineStart:0}}}};const Ue=ie=>{const{antCls:de,componentCls:pe,colorText:Pe,triggerColor:je,footerBg:Le,triggerBg:Ye,headerHeight:Se,headerPadding:Me,headerColor:qe,footerPadding:ht,triggerHeight:Ae,zeroTriggerHeight:mt,zeroTriggerWidth:At,motionDurationMid:Et,motionDurationSlow:dt,fontSize:Qt,borderRadius:St,bodyBg:an,headerBg:En,siderBg:nt}=ie;return{[pe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${pe}-has-sider`]:{flexDirection:"row",[`> ${pe}, > ${pe}-content`]:{width:0}},[`${pe}-header, &${pe}-footer`]:{flex:"0 0 auto"},[`${pe}-sider`]:{position:"relative",minWidth:0,background:nt,transition:`all ${Et}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${de}-menu${de}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ae},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ae,color:je,lineHeight:`${Ae}px`,textAlign:"center",background:Ye,cursor:"pointer",transition:`all ${Et}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-At,zIndex:1,width:At,height:mt,color:je,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:nt,borderStartStartRadius:0,borderStartEndRadius:St,borderEndEndRadius:St,borderEndStartRadius:0,cursor:"pointer",transition:`background ${dt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${dt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-At,borderStartStartRadius:St,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:St}}}}},ot(ie)),{"&-rtl":{direction:"rtl"}}),[`${pe}-header`]:{height:Se,padding:Me,color:qe,lineHeight:`${Se}px`,background:En,[`${de}-menu`]:{lineHeight:"inherit"}},[`${pe}-footer`]:{padding:ht,color:Pe,fontSize:Qt,background:Le},[`${pe}-content`]:{flex:"auto",minHeight:0}}};var Qe=(0,le.Z)("Layout",ie=>[Ue(ie)],ie=>{const{colorBgLayout:de,controlHeight:pe,controlHeightLG:Pe,colorText:je,controlHeightSM:Le,marginXXS:Ye,colorTextLightSolid:Se,colorBgContainer:Me}=ie,qe=Pe*1.25;return{colorBgHeader:"#001529",colorBgBody:de,colorBgTrigger:"#002140",bodyBg:de,headerBg:"#001529",headerHeight:pe*2,headerPadding:`0 ${qe}px`,headerColor:je,footerPadding:`${Le}px ${qe}px`,footerBg:de,siderBg:"#001529",triggerHeight:Pe+Ye*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:Pe,zeroTriggerHeight:Pe,lightSiderBg:Me,lightTriggerBg:Me,lightTriggerColor:je}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),tt=function(ie,de){var pe={};for(var Pe in ie)Object.prototype.hasOwnProperty.call(ie,Pe)&&de.indexOf(Pe)<0&&(pe[Pe]=ie[Pe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,Pe=Object.getOwnPropertySymbols(ie);je<Pe.length;je++)de.indexOf(Pe[je])<0&&Object.prototype.propertyIsEnumerable.call(ie,Pe[je])&&(pe[Pe[je]]=ie[Pe[je]]);return pe};const Je=Ie.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function se(ie){let{suffixCls:de,tagName:pe,displayName:Pe}=ie;return je=>Ie.forwardRef((Ye,Se)=>Ie.createElement(je,Object.assign({ref:Se,suffixCls:de,tagName:pe},Ye)))}const y=Ie.forwardRef((ie,de)=>{const{prefixCls:pe,suffixCls:Pe,className:je,tagName:Le}=ie,Ye=tt(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Ie.useContext(Oe.E_),Me=Se("layout",pe),[qe,ht]=Qe(Me),Ae=Pe?`${Me}-${Pe}`:Me;return qe(Ie.createElement(Le,Object.assign({className:Be()(pe||Ae,je,ht),ref:de},Ye)))}),a=Ie.forwardRef((ie,de)=>{const{direction:pe}=Ie.useContext(Oe.E_),[Pe,je]=Ie.useState([]),{prefixCls:Le,className:Ye,rootClassName:Se,children:Me,hasSider:qe,tagName:ht,style:Ae}=ie,mt=tt(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),At=(0,Te.Z)(mt,["suffixCls"]),{getPrefixCls:Et,layout:dt}=Ie.useContext(Oe.E_),Qt=Et("layout",Le),[St,an]=Qe(Qt),En=Be()(Qt,{[`${Qt}-has-sider`]:typeof qe=="boolean"?qe:Pe.length>0,[`${Qt}-rtl`]:pe==="rtl"},dt==null?void 0:dt.className,Ye,Se,an),nt=Ie.useMemo(()=>({siderHook:{addSider:et=>{je(Yt=>[].concat((0,b.Z)(Yt),[et]))},removeSider:et=>{je(Yt=>Yt.filter(hn=>hn!==et))}}}),[]);return St(Ie.createElement(Je.Provider,{value:nt},Ie.createElement(ht,Object.assign({ref:de,className:En,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),Ae)},At),Me)))}),x=se({tagName:"div",displayName:"Layout"})(a),E=se({suffixCls:"header",tagName:"header",displayName:"Header"})(y),z=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),ne=se({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var re=x},40875:function(Ut,Gt,te){"use strict";te.d(Gt,{J:function(){return Oe}});var b=te(59301),ue=te(33234),Be=te(80764),Te=function(le,ut){var ot={};for(var Ue in le)Object.prototype.hasOwnProperty.call(le,Ue)&&ut.indexOf(Ue)<0&&(ot[Ue]=le[Ue]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ue=Object.getOwnPropertySymbols(le);Qe<Ue.length;Qe++)ut.indexOf(Ue[Qe])<0&&Object.prototype.propertyIsEnumerable.call(le,Ue[Qe])&&(ot[Ue[Qe]]=le[Ue[Qe]]);return ot};const Ie=b.createContext(null),Oe=b.forwardRef((le,ut)=>{const{children:ot}=le,Ue=Te(le,["children"]),Qe=b.useContext(Ie),tt=b.useMemo(()=>Object.assign(Object.assign({},Qe),Ue),[Qe,Ue.prefixCls,Ue.mode,Ue.selectable]);return b.createElement(Ie.Provider,{value:tt},b.createElement(ue.BR,null,(0,Be.supportNodeRef)(ot)?b.cloneElement(ot,{ref:ut}):ot))});Gt.Z=Ie},20834:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return pt}});var b=te(22798),ue=te(59301),Be=te(99580),Te=te(92310),Ie=te.n(Te),Oe=te(36355),le=function(rt,_e){var ve={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&_e.indexOf(fe)<0&&(ve[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(rt);Xe<fe.length;Xe++)_e.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[Xe])&&(ve[fe[Xe]]=rt[fe[Xe]]);return ve},ot=rt=>{const{prefixCls:_e,className:ve,dashed:fe}=rt,Xe=le(rt,["prefixCls","className","dashed"]),{getPrefixCls:bt}=ue.useContext(Oe.E_),Fe=bt("menu",_e),Ce=Ie()({[`${Fe}-item-divider-dashed`]:!!fe},ve);return ue.createElement(b.iz,Object.assign({className:Ce},Xe))},Ue=te(38298),Qe=te(64002),tt=te(6848),Je=te(92343),y=(0,ue.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=rt=>{var _e;const{className:ve,children:fe,icon:Xe,title:bt,danger:Fe}=rt,{prefixCls:Ce,firstLevel:at,direction:$e,disableMenuItemTitleTooltip:De,inlineCollapsed:gt}=ue.useContext(y),un=wt=>{const Ot=ue.createElement("span",{className:`${Ce}-title-content`},fe);return(!Xe||(0,Je.l$)(fe)&&fe.type==="span")&&fe&&wt&&at&&typeof fe=="string"?ue.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},fe.charAt(0)):Ot},{siderCollapsed:en}=ue.useContext(Be.D);let zt=bt;typeof bt=="undefined"?zt=at?fe:"":bt===!1&&(zt="");const ln={title:zt};!en&&!gt&&(ln.title=null,ln.open=!1);const on=(0,Ue.Z)(fe).length;let ze=ue.createElement(b.ck,Object.assign({},(0,Qe.Z)(rt,["title","icon","danger"]),{className:Ie()({[`${Ce}-item-danger`]:Fe,[`${Ce}-item-only-child`]:(Xe?on+1:on)===1},ve),title:typeof bt=="string"?bt:void 0}),(0,Je.Tm)(Xe,{className:Ie()((0,Je.l$)(Xe)?(_e=Xe.props)===null||_e===void 0?void 0:_e.className:"",`${Ce}-item-icon`)}),un(gt));return De||(ze=ue.createElement(tt.Z,Object.assign({},ln,{placement:$e==="rtl"?"left":"right",overlayClassName:`${Ce}-inline-collapsed-tooltip`}),ze)),ze},z=rt=>{var _e;const{popupClassName:ve,icon:fe,title:Xe,theme:bt}=rt,Fe=ue.useContext(y),{prefixCls:Ce,inlineCollapsed:at,theme:$e}=Fe,De=(0,b.Xl)();let gt;if(!fe)gt=at&&!De.length&&Xe&&typeof Xe=="string"?ue.createElement("div",{className:`${Ce}-inline-collapsed-noicon`},Xe.charAt(0)):ue.createElement("span",{className:`${Ce}-title-content`},Xe);else{const en=(0,Je.l$)(Xe)&&Xe.type==="span";gt=ue.createElement(ue.Fragment,null,(0,Je.Tm)(fe,{className:Ie()((0,Je.l$)(fe)?(_e=fe.props)===null||_e===void 0?void 0:_e.className:"",`${Ce}-item-icon`)}),en?Xe:ue.createElement("span",{className:`${Ce}-title-content`},Xe))}const un=ue.useMemo(()=>Object.assign(Object.assign({},Fe),{firstLevel:!1}),[Fe]);return ue.createElement(y.Provider,{value:un},ue.createElement(b.Wd,Object.assign({},(0,Qe.Z)(rt,["icon"]),{title:gt,popupClassName:Ie()(Ce,ve,`${Ce}-${bt||$e}`)})))},ne=te(19362),re=te(80764),ie=te(62892),de=te(40875),pe=function(rt,_e){var ve={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&_e.indexOf(fe)<0&&(ve[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(rt);Xe<fe.length;Xe++)_e.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[Xe])&&(ve[fe[Xe]]=rt[fe[Xe]]);return ve};function Pe(rt){return(rt||[]).map((_e,ve)=>{if(_e&&typeof _e=="object"){const fe=_e,{label:Xe,children:bt,key:Fe,type:Ce}=fe,at=pe(fe,["label","children","key","type"]),$e=Fe!=null?Fe:`tmp-${ve}`;return bt||Ce==="group"?Ce==="group"?ue.createElement(b.BW,Object.assign({key:$e},at,{title:Xe}),Pe(bt)):ue.createElement(z,Object.assign({key:$e},at,{title:Xe}),Pe(bt)):Ce==="divider"?ue.createElement(ot,Object.assign({key:$e},at)):ue.createElement(x,Object.assign({key:$e},at),Xe)}return null}).filter(_e=>_e)}function je(rt){return ue.useMemo(()=>rt&&Pe(rt),[rt])}var Le=te(64993),Ye=te(17313),Se=te(8378),Me=te(13826),qe=te(29878),ht=te(83116),Ae=te(37613),At=rt=>{const{componentCls:_e,motionDurationSlow:ve,horizontalLineHeight:fe,colorSplit:Xe,lineWidth:bt,lineType:Fe,itemPaddingInline:Ce}=rt;return{[`${_e}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${bt}px ${Fe} ${Xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${_e}-item, ${_e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ce},[`> ${_e}-item:hover,
> ${_e}-item-active,
> ${_e}-submenu ${_e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${_e}-item, ${_e}-submenu-title`]:{transition:[`border-color ${ve}`,`background ${ve}`].join(",")},[`${_e}-submenu-arrow`]:{display:"none"}}}},dt=rt=>{let{componentCls:_e,menuArrowOffset:ve}=rt;return{[`${_e}-rtl`]:{direction:"rtl"},[`${_e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${_e}-rtl${_e}-vertical,
${_e}-submenu-rtl ${_e}-vertical`]:{[`${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${ve})`},"&::after":{transform:`rotate(45deg) translateY(${ve})`}}}}};const Qt=rt=>Object.assign({},(0,Ye.oN)(rt));var an=(rt,_e)=>{const{componentCls:ve,itemColor:fe,itemSelectedColor:Xe,groupTitleColor:bt,itemBg:Fe,subMenuItemBg:Ce,itemSelectedBg:at,activeBarHeight:$e,activeBarWidth:De,activeBarBorderWidth:gt,motionDurationSlow:un,motionEaseInOut:en,motionEaseOut:zt,itemPaddingInline:ln,motionDurationMid:on,itemHoverColor:ze,lineType:wt,colorSplit:Ot,itemDisabledColor:Pt,dangerItemColor:Nt,dangerItemHoverColor:fn,dangerItemSelectedColor:Pn,dangerItemActiveBg:bn,dangerItemSelectedBg:Ln,itemHoverBg:ta,itemActiveBg:oa,menuSubMenuBg:jn,horizontalItemSelectedColor:Ea,horizontalItemSelectedBg:pa,horizontalItemBorderRadius:Hn,horizontalItemHoverBg:Ba,popupBg:qt}=rt;return{[`${ve}-${_e}, ${ve}-${_e} > ${ve}`]:{color:fe,background:Fe,[`&${ve}-root:focus-visible`]:Object.assign({},Qt(rt)),[`${ve}-item-group-title`]:{color:bt},[`${ve}-submenu-selected`]:{[`> ${ve}-submenu-title`]:{color:Xe}},[`${ve}-item-disabled, ${ve}-submenu-disabled`]:{color:`${Pt} !important`},[`${ve}-item:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{[`&:hover, > ${ve}-submenu-title:hover`]:{color:ze}},[`&:not(${ve}-horizontal)`]:{[`${ve}-item:not(${ve}-item-selected)`]:{"&:hover":{backgroundColor:ta},"&:active":{backgroundColor:oa}},[`${ve}-submenu-title`]:{"&:hover":{backgroundColor:ta},"&:active":{backgroundColor:oa}}},[`${ve}-item-danger`]:{color:Nt,[`&${ve}-item:hover`]:{[`&:not(${ve}-item-selected):not(${ve}-submenu-selected)`]:{color:fn}},[`&${ve}-item:active`]:{background:bn}},[`${ve}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ve}-item-selected`]:{color:Xe,[`&${ve}-item-danger`]:{color:Pn},"a, a:hover":{color:"inherit"}},[`& ${ve}-item-selected`]:{backgroundColor:at,[`&${ve}-item-danger`]:{backgroundColor:Ln}},[`${ve}-item, ${ve}-submenu-title`]:{[`&:not(${ve}-item-disabled):focus-visible`]:Object.assign({},Qt(rt))},[`&${ve}-submenu > ${ve}`]:{backgroundColor:jn},[`&${ve}-popup > ${ve}`]:{backgroundColor:qt},[`&${ve}-horizontal`]:Object.assign(Object.assign({},_e==="dark"?{borderBottom:0}:{}),{[`> ${ve}-item, > ${ve}-submenu`]:{top:gt,marginTop:-gt,marginBottom:0,borderRadius:Hn,"&::after":{position:"absolute",insetInline:ln,bottom:0,borderBottom:`${$e}px solid transparent`,transition:`border-color ${un} ${en}`,content:'""'},"&:hover, &-active, &-open":{background:Ba,"&::after":{borderBottomWidth:$e,borderBottomColor:Ea}},"&-selected":{color:Ea,backgroundColor:pa,"&:hover":{backgroundColor:pa},"&::after":{borderBottomWidth:$e,borderBottomColor:Ea}}}}),[`&${ve}-root`]:{[`&${ve}-inline, &${ve}-vertical`]:{borderInlineEnd:`${gt}px ${wt} ${Ot}`}},[`&${ve}-inline`]:{[`${ve}-sub${ve}-inline`]:{background:Ce},[`${ve}-item, ${ve}-submenu-title`]:gt&&De?{width:`calc(100% + ${gt}px)`}:{},[`${ve}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${De}px solid ${Xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${on} ${zt}`,`opacity ${on} ${zt}`].join(","),content:'""'},[`&${ve}-item-danger`]:{"&::after":{borderInlineEndColor:Pn}}},[`${ve}-selected, ${ve}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${on} ${en}`,`opacity ${on} ${en}`].join(",")}}}}}};const En=rt=>{const{componentCls:_e,itemHeight:ve,itemMarginInline:fe,padding:Xe,menuArrowSize:bt,marginXS:Fe,itemMarginBlock:Ce}=rt,at=Xe+bt+Fe;return{[`${_e}-item`]:{position:"relative",overflow:"hidden"},[`${_e}-item, ${_e}-submenu-title`]:{height:ve,lineHeight:`${ve}px`,paddingInline:Xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:Ce,width:`calc(100% - ${fe*2}px)`},[`> ${_e}-item,
> ${_e}-submenu > ${_e}-submenu-title`]:{height:ve,lineHeight:`${ve}px`},[`${_e}-item-group-list ${_e}-submenu-title,
${_e}-submenu-title`]:{paddingInlineEnd:at}}};var et=rt=>{const{componentCls:_e,iconCls:ve,itemHeight:fe,colorTextLightSolid:Xe,dropdownWidth:bt,controlHeightLG:Fe,motionDurationMid:Ce,motionEaseOut:at,paddingXL:$e,itemMarginInline:De,fontSizeLG:gt,motionDurationSlow:un,paddingXS:en,boxShadowSecondary:zt,collapsedWidth:ln,collapsedIconSize:on}=rt,ze={height:fe,lineHeight:`${fe}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[_e]:{"&-inline, &-vertical":Object.assign({[`&${_e}-root`]:{boxShadow:"none"}},En(rt))},[`${_e}-submenu-popup`]:{[`${_e}-vertical`]:Object.assign(Object.assign({},En(rt)),{boxShadow:zt})}},{[`${_e}-submenu-popup ${_e}-vertical${_e}-sub`]:{minWidth:bt,maxHeight:`calc(100vh - ${Fe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${_e}-inline`]:{width:"100%",[`&${_e}-root`]:{[`${_e}-item, ${_e}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${un}`,`background ${un}`,`padding ${Ce} ${at}`].join(","),[`> ${_e}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${_e}-sub${_e}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${_e}-submenu > ${_e}-submenu-title`]:ze,[`& ${_e}-item-group-title`]:{paddingInlineStart:$e}},[`${_e}-item`]:ze}},{[`${_e}-inline-collapsed`]:{width:ln,[`&${_e}-root`]:{[`${_e}-item, ${_e}-submenu ${_e}-submenu-title`]:{[`> ${_e}-inline-collapsed-noicon`]:{fontSize:gt,textAlign:"center"}}},[`> ${_e}-item,
> ${_e}-item-group > ${_e}-item-group-list > ${_e}-item,
> ${_e}-item-group > ${_e}-item-group-list > ${_e}-submenu > ${_e}-submenu-title,
> ${_e}-submenu > ${_e}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${gt/2}px - ${De}px)`,textOverflow:"clip",[`
${_e}-submenu-arrow,
${_e}-submenu-expand-icon
`]:{opacity:0},[`${_e}-item-icon, ${ve}`]:{margin:0,fontSize:on,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${_e}-item-icon, ${ve}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${_e}-item-icon, ${ve}`]:{display:"none"},"a, a:hover":{color:Xe}},[`${_e}-item-group-title`]:Object.assign(Object.assign({},Ye.vS),{paddingInline:en})}}]};const Yt=rt=>{const{componentCls:_e,motionDurationSlow:ve,motionDurationMid:fe,motionEaseInOut:Xe,motionEaseOut:bt,iconCls:Fe,iconSize:Ce,iconMarginInlineEnd:at}=rt;return{[`${_e}-item, ${_e}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ve}`,`background ${ve}`,`padding ${ve} ${Xe}`].join(","),[`${_e}-item-icon, ${Fe}`]:{minWidth:Ce,fontSize:Ce,transition:[`font-size ${fe} ${bt}`,`margin ${ve} ${Xe}`,`color ${ve}`].join(","),"+ span":{marginInlineStart:at,opacity:1,transition:[`opacity ${ve} ${Xe}`,`margin ${ve}`,`color ${ve}`].join(",")}},[`${_e}-item-icon`]:Object.assign({},(0,Ye.Ro)()),[`&${_e}-item-only-child`]:{[`> ${Fe}, > ${_e}-item-icon`]:{marginInlineEnd:0}}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${_e}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},hn=rt=>{const{componentCls:_e,motionDurationSlow:ve,motionEaseInOut:fe,borderRadius:Xe,menuArrowSize:bt,menuArrowOffset:Fe}=rt;return{[`${_e}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:rt.margin,width:bt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ve} ${fe}, opacity ${ve}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:bt*.6,height:bt*.15,backgroundColor:"currentcolor",borderRadius:Xe,transition:[`background ${ve} ${fe}`,`transform ${ve} ${fe}`,`top ${ve} ${fe}`,`color ${ve} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(-45deg) translateY(${Fe})`}}}}},Tt=rt=>{const{antCls:_e,componentCls:ve,fontSize:fe,motionDurationSlow:Xe,motionDurationMid:bt,motionEaseInOut:Fe,paddingXS:Ce,padding:at,colorSplit:$e,lineWidth:De,zIndexPopup:gt,borderRadiusLG:un,subMenuItemBorderRadius:en,menuArrowSize:zt,menuArrowOffset:ln,lineType:on,menuPanelMaskInset:ze,groupTitleLineHeight:wt,groupTitleFontSize:Ot}=rt;return[{"":{[`${ve}`]:Object.assign(Object.assign({},(0,Ye.dF)()),{"&-hidden":{display:"none"}})},[`${ve}-submenu-hidden`]:{display:"none"}},{[ve]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ye.Wf)(rt)),(0,Ye.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:fe,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ve}-item`]:{flex:"none"}},[`${ve}-item, ${ve}-submenu, ${ve}-submenu-title`]:{borderRadius:rt.itemBorderRadius},[`${ve}-item-group-title`]:{padding:`${Ce}px ${at}px`,fontSize:Ot,lineHeight:wt,transition:`all ${Xe}`},[`&-horizontal ${ve}-submenu`]:{transition:[`border-color ${Xe} ${Fe}`,`background ${Xe} ${Fe}`].join(",")},[`${ve}-submenu, ${ve}-submenu-inline`]:{transition:[`border-color ${Xe} ${Fe}`,`background ${Xe} ${Fe}`,`padding ${bt} ${Fe}`].join(",")},[`${ve}-submenu ${ve}-sub`]:{cursor:"initial",transition:[`background ${Xe} ${Fe}`,`padding ${Xe} ${Fe}`].join(",")},[`${ve}-title-content`]:{transition:`color ${Xe}`},[`${ve}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ve}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:$e,borderStyle:on,borderWidth:0,borderTopWidth:De,marginBlock:De,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Yt(rt)),{[`${ve}-item-group`]:{[`${ve}-item-group-list`]:{margin:0,padding:0,[`${ve}-item, ${ve}-submenu-title`]:{paddingInline:`${fe*2}px ${at}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:gt,borderRadius:un,boxShadow:"none",transformOrigin:"0 0",[`&${ve}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ze}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ze},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:rt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:rt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:rt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:rt.paddingXS},[`> ${ve}`]:Object.assign(Object.assign(Object.assign({borderRadius:un},Yt(rt)),hn(rt)),{[`${ve}-item, ${ve}-submenu > ${ve}-submenu-title`]:{borderRadius:en},[`${ve}-submenu-title::after`]:{transition:`transform ${Xe} ${Fe}`}})}}),hn(rt)),{[`&-inline-collapsed ${ve}-submenu-arrow,
&-inline ${ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ln})`},"&::after":{transform:`rotate(45deg) translateX(-${ln})`}},[`${ve}-submenu-open${ve}-submenu-inline > ${ve}-submenu-title > ${ve}-submenu-arrow`]:{transform:`translateY(-${zt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ln})`},"&::before":{transform:`rotate(45deg) translateX(${ln})`}}})},{[`${_e}-layout-header`]:{[ve]:{lineHeight:"inherit"}}}]};var vn=(rt,_e)=>(0,ht.Z)("Menu",fe=>{if(_e===!1)return[];const{colorBgElevated:Xe,colorPrimary:bt,colorTextLightSolid:Fe,controlHeightLG:Ce,fontSize:at,darkItemColor:$e,darkDangerItemColor:De,darkItemBg:gt,darkSubMenuItemBg:un,darkItemSelectedColor:en,darkItemSelectedBg:zt,darkDangerItemSelectedBg:ln,darkItemHoverBg:on,darkGroupTitleColor:ze,darkItemHoverColor:wt,darkItemDisabledColor:Ot,darkDangerItemHoverColor:Pt,darkDangerItemSelectedColor:Nt,darkDangerItemActiveBg:fn}=fe,Pn=at/7*5,bn=(0,Ae.TS)(fe,{menuArrowSize:Pn,menuHorizontalHeight:Ce*1.15,menuArrowOffset:`${Pn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),Ln=(0,Ae.TS)(bn,{itemColor:$e,itemHoverColor:wt,groupTitleColor:ze,itemSelectedColor:en,itemBg:gt,popupBg:gt,subMenuItemBg:un,itemActiveBg:"transparent",itemSelectedBg:zt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:on,itemDisabledColor:Ot,dangerItemColor:De,dangerItemHoverColor:Pt,dangerItemSelectedColor:Nt,dangerItemActiveBg:fn,dangerItemSelectedBg:ln,menuSubMenuBg:un,horizontalItemSelectedColor:Fe,horizontalItemSelectedBg:bt});return[Tt(bn),At(bn),et(bn),an(bn,"light"),an(Ln,"dark"),dt(bn),(0,Se.Z)(bn),(0,Me.oN)(bn,"slide-up"),(0,Me.oN)(bn,"slide-down"),(0,qe._y)(bn,"zoom-big")]},fe=>{const{colorPrimary:Xe,colorError:bt,colorTextDisabled:Fe,colorErrorBg:Ce,colorText:at,colorTextDescription:$e,colorBgContainer:De,colorFillAlter:gt,colorFillContent:un,lineWidth:en,lineWidthBold:zt,controlItemBgActive:ln,colorBgTextHover:on,controlHeightLG:ze,lineHeight:wt,colorBgElevated:Ot,marginXXS:Pt,padding:Nt,fontSize:fn,controlHeightSM:Pn,fontSizeLG:bn,colorTextLightSolid:Ln,colorErrorHover:ta}=fe,oa=new Le.C(Ln).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:at,itemColor:at,colorItemTextHover:at,itemHoverColor:at,colorItemTextHoverHorizontal:Xe,horizontalItemHoverColor:Xe,colorGroupTitle:$e,groupTitleColor:$e,colorItemTextSelected:Xe,itemSelectedColor:Xe,colorItemTextSelectedHorizontal:Xe,horizontalItemSelectedColor:Xe,colorItemBg:De,itemBg:De,colorItemBgHover:on,itemHoverBg:on,colorItemBgActive:un,itemActiveBg:ln,colorSubItemBg:gt,subMenuItemBg:gt,colorItemBgSelected:ln,itemSelectedBg:ln,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:zt,activeBarHeight:zt,colorActiveBarBorderSize:en,activeBarBorderWidth:en,colorItemTextDisabled:Fe,itemDisabledColor:Fe,colorDangerItemText:bt,dangerItemColor:bt,colorDangerItemTextHover:bt,dangerItemHoverColor:bt,colorDangerItemTextSelected:bt,dangerItemSelectedColor:bt,colorDangerItemBgActive:Ce,dangerItemActiveBg:Ce,colorDangerItemBgSelected:Ce,dangerItemSelectedBg:Ce,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ze,groupTitleLineHeight:wt,collapsedWidth:ze*2,popupBg:Ot,itemMarginBlock:Pt,itemPaddingInline:Nt,horizontalLineHeight:`${ze*1.15}px`,iconSize:fn,iconMarginInlineEnd:Pn-fn,collapsedIconSize:bn,groupTitleFontSize:fn,darkItemDisabledColor:new Le.C(Ln).setAlpha(.25).toRgbString(),darkItemColor:oa,darkDangerItemColor:bt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ln,darkItemSelectedBg:Xe,darkDangerItemSelectedBg:bt,darkItemHoverBg:"transparent",darkGroupTitleColor:oa,darkItemHoverColor:Ln,darkDangerItemHoverColor:ta,darkDangerItemSelectedColor:Ln,darkDangerItemActiveBg:bt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(rt),Ge=function(rt,_e){var ve={};for(var fe in rt)Object.prototype.hasOwnProperty.call(rt,fe)&&_e.indexOf(fe)<0&&(ve[fe]=rt[fe]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(rt);Xe<fe.length;Xe++)_e.indexOf(fe[Xe])<0&&Object.prototype.propertyIsEnumerable.call(rt,fe[Xe])&&(ve[fe[Xe]]=rt[fe[Xe]]);return ve},Kt=(0,ue.forwardRef)((rt,_e)=>{var ve,fe;const Xe=ue.useContext(de.Z),bt=Xe||{},{getPrefixCls:Fe,getPopupContainer:Ce,direction:at,menu:$e}=ue.useContext(Oe.E_),De=Fe(),{prefixCls:gt,className:un,style:en,theme:zt="light",expandIcon:ln,_internalDisableMenuItemTitleTooltip:on,inlineCollapsed:ze,siderCollapsed:wt,items:Ot,children:Pt,rootClassName:Nt,mode:fn,selectable:Pn,onClick:bn,overflowedIndicatorPopupClassName:Ln}=rt,ta=Ge(rt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),oa=(0,Qe.Z)(ta,["collapsedWidth"]),jn=je(Ot)||Pt;(ve=bt.validator)===null||ve===void 0||ve.call(bt,{mode:fn});const Ea=(0,re.useEvent)(function(){var Wt;bn==null||bn.apply(void 0,arguments),(Wt=bt.onClick)===null||Wt===void 0||Wt.call(bt)}),pa=bt.mode||fn,Hn=Pn!=null?Pn:bt.selectable,Ba=ue.useMemo(()=>wt!==void 0?wt:ze,[ze,wt]),qt={horizontal:{motionName:`${De}-slide-up`},inline:(0,ie.Z)(De),other:{motionName:`${De}-zoom-big`}},An=Fe("menu",gt||bt.prefixCls),[Fn,Xn]=vn(An,!Xe),Ze=Ie()(`${An}-${zt}`,$e==null?void 0:$e.className,un);let It;if(typeof ln=="function")It=ln;else if(ln===null||ln===!1)It=null;else if(bt.expandIcon===null||bt.expandIcon===!1)It=null;else{const Wt=ln!=null?ln:bt.expandIcon;It=(0,Je.Tm)(Wt,{className:Ie()(`${An}-submenu-expand-icon`,(0,Je.l$)(Wt)?(fe=Wt.props)===null||fe===void 0?void 0:fe.className:"")})}const Zt=ue.useMemo(()=>({prefixCls:An,inlineCollapsed:Ba||!1,direction:at,firstLevel:!0,theme:zt,mode:pa,disableMenuItemTitleTooltip:on}),[An,Ba,at,on,zt]);return Fn(ue.createElement(de.Z.Provider,{value:null},ue.createElement(y.Provider,{value:Zt},ue.createElement(b.ZP,Object.assign({getPopupContainer:Ce,overflowedIndicator:ue.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ie()(An,`${An}-${zt}`,Ln),mode:pa,selectable:Hn,onClick:Ea},oa,{inlineCollapsed:Ba,style:Object.assign(Object.assign({},$e==null?void 0:$e.style),en),className:Ze,prefixCls:An,direction:at,defaultMotions:qt,expandIcon:It,ref:_e,rootClassName:Ie()(Nt,Xn)}),jn))))});const Mt=(0,ue.forwardRef)((rt,_e)=>{const ve=(0,ue.useRef)(null),fe=ue.useContext(Be.D);return(0,ue.useImperativeHandle)(_e,()=>({menu:ve.current,focus:Xe=>{var bt;(bt=ve.current)===null||bt===void 0||bt.focus(Xe)}})),ue.createElement(Kt,Object.assign({ref:ve},rt,fe))});Mt.Item=x,Mt.SubMenu=z,Mt.Divider=ot,Mt.ItemGroup=b.BW;var pt=Mt},25700:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return bt}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Te=Be,Ie=te(88853),Oe=function(Ce,at){return ue.createElement(Ie.Z,(0,b.Z)({},Ce,{ref:at,icon:Te}))},le=ue.forwardRef(Oe),ut=le,ot=te(93343),Ue=te(16537),Qe=te(53878),tt=te(92310),Je=te.n(tt),se=te(80962),y=te(57259),a=te(79545),x=te(68550),E=te(17928),z=te(7711),ne=te(36994),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=re,de=te(91735),pe=function(Fe){(0,E.Z)(at,Fe);var Ce=(0,z.Z)(at);function at(){var $e;(0,a.Z)(this,at);for(var De=arguments.length,gt=new Array(De),un=0;un<De;un++)gt[un]=arguments[un];return $e=Ce.call.apply(Ce,[this].concat(gt)),$e.state={goInputText:""},$e.getValidValue=function(){var en=$e.state.goInputText;return!en||Number.isNaN(en)?void 0:Number(en)},$e.buildOptionText=function(en){return"".concat(en," ").concat($e.props.locale.items_per_page)},$e.changeSize=function(en){$e.props.changeSize(Number(en))},$e.handleChange=function(en){$e.setState({goInputText:en.target.value})},$e.handleBlur=function(en){var zt=$e.props,ln=zt.goButton,on=zt.quickGo,ze=zt.rootPrefixCls,wt=$e.state.goInputText;ln||wt===""||($e.setState({goInputText:""}),!(en.relatedTarget&&(en.relatedTarget.className.indexOf("".concat(ze,"-item-link"))>=0||en.relatedTarget.className.indexOf("".concat(ze,"-item"))>=0))&&on($e.getValidValue()))},$e.go=function(en){var zt=$e.state.goInputText;zt!==""&&(en.keyCode===ie.ENTER||en.type==="click")&&($e.setState({goInputText:""}),$e.props.quickGo($e.getValidValue()))},$e}return(0,x.Z)(at,[{key:"getPageSizeOptions",value:function(){var De=this.props,gt=De.pageSize,un=De.pageSizeOptions;return un.some(function(en){return en.toString()===gt.toString()})?un:un.concat([gt.toString()]).sort(function(en,zt){var ln=Number.isNaN(Number(en))?0:Number(en),on=Number.isNaN(Number(zt))?0:Number(zt);return ln-on})}},{key:"render",value:function(){var De=this,gt=this.props,un=gt.pageSize,en=gt.locale,zt=gt.rootPrefixCls,ln=gt.changeSize,on=gt.quickGo,ze=gt.goButton,wt=gt.selectComponentClass,Ot=gt.buildOptionText,Pt=gt.selectPrefixCls,Nt=gt.disabled,fn=this.state.goInputText,Pn="".concat(zt,"-options"),bn=wt,Ln=null,ta=null,oa=null;if(!ln&&!on)return null;var jn=this.getPageSizeOptions();if(ln&&bn){var Ea=jn.map(function(pa,Hn){return ue.createElement(bn.Option,{key:Hn,value:pa.toString()},(Ot||De.buildOptionText)(pa))});Ln=ue.createElement(bn,{disabled:Nt,prefixCls:Pt,showSearch:!1,className:"".concat(Pn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(un||jn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Hn){return Hn.parentNode},"aria-label":en.page_size,defaultOpen:!1},Ea)}return on&&(ze&&(oa=typeof ze=="boolean"?ue.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Nt,className:"".concat(Pn,"-quick-jumper-button")},en.jump_to_confirm):ue.createElement("span",{onClick:this.go,onKeyUp:this.go},ze)),ta=ue.createElement("div",{className:"".concat(Pn,"-quick-jumper")},en.jump_to,ue.createElement("input",{disabled:Nt,type:"text",value:fn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":en.page}),en.page,oa)),ue.createElement("li",{className:"".concat(Pn)},Ln,ta)}}]),at}(ue.Component);pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var Pe=pe,je=function(Ce){var at,$e=Ce.rootPrefixCls,De=Ce.page,gt=Ce.active,un=Ce.className,en=Ce.showTitle,zt=Ce.onClick,ln=Ce.onKeyPress,on=Ce.itemRender,ze="".concat($e,"-item"),wt=Je()(ze,"".concat(ze,"-").concat(De),(at={},(0,se.Z)(at,"".concat(ze,"-active"),gt),(0,se.Z)(at,"".concat(ze,"-disabled"),!De),(0,se.Z)(at,Ce.className,un),at)),Ot=function(){zt(De)},Pt=function(Pn){ln(Pn,zt,De)},Nt=on(De,"page",ue.createElement("a",{rel:"nofollow"},De));return Nt?ue.createElement("li",{title:en?De.toString():null,className:wt,onClick:Ot,onKeyPress:Pt,tabIndex:0},Nt):null},Le=je;function Ye(){}function Se(Fe){var Ce=Number(Fe);return typeof Ce=="number"&&!Number.isNaN(Ce)&&isFinite(Ce)&&Math.floor(Ce)===Ce}var Me=function(Ce,at,$e){return $e};function qe(Fe,Ce,at){var $e=typeof Fe=="undefined"?Ce.pageSize:Fe;return Math.floor((at.total-1)/$e)+1}var ht=function(Fe){(0,E.Z)(at,Fe);var Ce=(0,z.Z)(at);function at($e){var De;(0,a.Z)(this,at),De=Ce.call(this,$e),De.paginationNode=ue.createRef(),De.getJumpPrevPage=function(){return Math.max(1,De.state.current-(De.props.showLessItems?3:5))},De.getJumpNextPage=function(){return Math.min(qe(void 0,De.state,De.props),De.state.current+(De.props.showLessItems?3:5))},De.getItemIcon=function(ln,on){var ze=De.props.prefixCls,wt=ln||ue.createElement("button",{type:"button","aria-label":on,className:"".concat(ze,"-item-link")});return typeof ln=="function"&&(wt=ue.createElement(ln,(0,y.Z)({},De.props))),wt},De.isValid=function(ln){var on=De.props.total;return Se(ln)&&ln!==De.state.current&&Se(on)&&on>0},De.shouldDisplayQuickJumper=function(){var ln=De.props,on=ln.showQuickJumper,ze=ln.total,wt=De.state.pageSize;return ze<=wt?!1:on},De.handleKeyDown=function(ln){(ln.keyCode===ie.ARROW_UP||ln.keyCode===ie.ARROW_DOWN)&&ln.preventDefault()},De.handleKeyUp=function(ln){var on=De.getValidValue(ln),ze=De.state.currentInputValue;on!==ze&&De.setState({currentInputValue:on}),ln.keyCode===ie.ENTER?De.handleChange(on):ln.keyCode===ie.ARROW_UP?De.handleChange(on-1):ln.keyCode===ie.ARROW_DOWN&&De.handleChange(on+1)},De.handleBlur=function(ln){var on=De.getValidValue(ln);De.handleChange(on)},De.changePageSize=function(ln){var on=De.state.current,ze=qe(ln,De.state,De.props);on=on>ze?ze:on,ze===0&&(on=De.state.current),typeof ln=="number"&&("pageSize"in De.props||De.setState({pageSize:ln}),"current"in De.props||De.setState({current:on,currentInputValue:on})),De.props.onShowSizeChange(on,ln),"onChange"in De.props&&De.props.onChange&&De.props.onChange(on,ln)},De.handleChange=function(ln){var on=De.props,ze=on.disabled,wt=on.onChange,Ot=De.state,Pt=Ot.pageSize,Nt=Ot.current,fn=Ot.currentInputValue;if(De.isValid(ln)&&!ze){var Pn=qe(void 0,De.state,De.props),bn=ln;return ln>Pn?bn=Pn:ln<1&&(bn=1),"current"in De.props||De.setState({current:bn}),bn!==fn&&De.setState({currentInputValue:bn}),wt(bn,Pt),bn}return Nt},De.prev=function(){De.hasPrev()&&De.handleChange(De.state.current-1)},De.next=function(){De.hasNext()&&De.handleChange(De.state.current+1)},De.jumpPrev=function(){De.handleChange(De.getJumpPrevPage())},De.jumpNext=function(){De.handleChange(De.getJumpNextPage())},De.hasPrev=function(){return De.state.current>1},De.hasNext=function(){return De.state.current<qe(void 0,De.state,De.props)},De.runIfEnter=function(ln,on){if(ln.key==="Enter"||ln.charCode===13){for(var ze=arguments.length,wt=new Array(ze>2?ze-2:0),Ot=2;Ot<ze;Ot++)wt[Ot-2]=arguments[Ot];on.apply(void 0,wt)}},De.runIfEnterPrev=function(ln){De.runIfEnter(ln,De.prev)},De.runIfEnterNext=function(ln){De.runIfEnter(ln,De.next)},De.runIfEnterJumpPrev=function(ln){De.runIfEnter(ln,De.jumpPrev)},De.runIfEnterJumpNext=function(ln){De.runIfEnter(ln,De.jumpNext)},De.handleGoTO=function(ln){(ln.keyCode===ie.ENTER||ln.type==="click")&&De.handleChange(De.state.currentInputValue)},De.renderPrev=function(ln){var on=De.props,ze=on.prevIcon,wt=on.itemRender,Ot=wt(ln,"prev",De.getItemIcon(ze,"prev page")),Pt=!De.hasPrev();return(0,ue.isValidElement)(Ot)?(0,ue.cloneElement)(Ot,{disabled:Pt}):Ot},De.renderNext=function(ln){var on=De.props,ze=on.nextIcon,wt=on.itemRender,Ot=wt(ln,"next",De.getItemIcon(ze,"next page")),Pt=!De.hasNext();return(0,ue.isValidElement)(Ot)?(0,ue.cloneElement)(Ot,{disabled:Pt}):Ot};var gt=$e.onChange!==Ye,un="current"in $e;un&&!gt&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var en=$e.defaultCurrent;"current"in $e&&(en=$e.current);var zt=$e.defaultPageSize;return"pageSize"in $e&&(zt=$e.pageSize),en=Math.min(en,qe(zt,void 0,$e)),De.state={current:en,currentInputValue:en,pageSize:zt},De}return(0,x.Z)(at,[{key:"componentDidUpdate",value:function(De,gt){var un=this.props.prefixCls;if(gt.current!==this.state.current&&this.paginationNode.current){var en=this.paginationNode.current.querySelector(".".concat(un,"-item-").concat(gt.current));if(en&&document.activeElement===en){var zt;en==null||(zt=en.blur)===null||zt===void 0||zt.call(en)}}}},{key:"getValidValue",value:function(De){var gt=De.target.value,un=qe(void 0,this.state,this.props),en=this.state.currentInputValue,zt;return gt===""?zt=gt:Number.isNaN(Number(gt))?zt=en:gt>=un?zt=un:zt=Number(gt),zt}},{key:"getShowSizeChanger",value:function(){var De=this.props,gt=De.showSizeChanger,un=De.total,en=De.totalBoundaryShowSizeChanger;return typeof gt!="undefined"?gt:un>en}},{key:"render",value:function(){var De=this.props,gt=De.prefixCls,un=De.className,en=De.style,zt=De.disabled,ln=De.hideOnSinglePage,on=De.total,ze=De.locale,wt=De.showQuickJumper,Ot=De.showLessItems,Pt=De.showTitle,Nt=De.showTotal,fn=De.simple,Pn=De.itemRender,bn=De.showPrevNextJumpers,Ln=De.jumpPrevIcon,ta=De.jumpNextIcon,oa=De.selectComponentClass,jn=De.selectPrefixCls,Ea=De.pageSizeOptions,pa=this.state,Hn=pa.current,Ba=pa.pageSize,qt=pa.currentInputValue;if(ln===!0&&on<=Ba)return null;var An=qe(void 0,this.state,this.props),Fn=[],Xn=null,Ze=null,It=null,Zt=null,Wt=null,tn=wt&&wt.goButton,jt=Ot?1:2,pn=Hn-1>0?Hn-1:0,st=Hn+1<An?Hn+1:An,yt=(0,ne.Z)(this.props,{aria:!0,data:!0}),ct=Nt&&ue.createElement("li",{className:"".concat(gt,"-total-text")},Nt(on,[on===0?0:(Hn-1)*Ba+1,Hn*Ba>on?on:Hn*Ba]));if(fn){tn&&(typeof tn=="boolean"?Wt=ue.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ze.jump_to_confirm):Wt=ue.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},tn),Wt=ue.createElement("li",{title:Pt?"".concat(ze.jump_to).concat(Hn,"/").concat(An):null,className:"".concat(gt,"-simple-pager")},Wt));var rn=this.renderPrev(pn);return ue.createElement("ul",(0,b.Z)({className:Je()(gt,"".concat(gt,"-simple"),(0,se.Z)({},"".concat(gt,"-disabled"),zt),un),style:en,ref:this.paginationNode},yt),ct,rn?ue.createElement("li",{title:Pt?ze.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Je()("".concat(gt,"-prev"),(0,se.Z)({},"".concat(gt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},rn):null,ue.createElement("li",{title:Pt?"".concat(Hn,"/").concat(An):null,className:"".concat(gt,"-simple-pager")},ue.createElement("input",{type:"text",value:qt,disabled:zt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ue.createElement("span",{className:"".concat(gt,"-slash")},"/"),An),ue.createElement("li",{title:Pt?ze.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Je()("".concat(gt,"-next"),(0,se.Z)({},"".concat(gt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(st)),Wt)}if(An<=3+jt*2){var In={locale:ze,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Pt,itemRender:Pn};An||Fn.push(ue.createElement(Le,(0,b.Z)({},In,{key:"noPager",page:1,className:"".concat(gt,"-item-disabled")})));for(var yn=1;yn<=An;yn+=1){var ia=Hn===yn;Fn.push(ue.createElement(Le,(0,b.Z)({},In,{key:yn,page:yn,active:ia})))}}else{var Un=Ot?ze.prev_3:ze.prev_5,lt=Ot?ze.next_3:ze.next_5,$t=Pn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ln,"prev page")),qn=Pn(this.getJumpNextPage(),"jump-next",this.getItemIcon(ta,"next page"));bn&&(Xn=$t?ue.createElement("li",{title:Pt?Un:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Je()("".concat(gt,"-jump-prev"),(0,se.Z)({},"".concat(gt,"-jump-prev-custom-icon"),!!Ln))},$t):null,Ze=qn?ue.createElement("li",{title:Pt?lt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Je()("".concat(gt,"-jump-next"),(0,se.Z)({},"".concat(gt,"-jump-next-custom-icon"),!!ta))},qn):null),Zt=ue.createElement(Le,{locale:ze,last:!0,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:An,page:An,active:!1,showTitle:Pt,itemRender:Pn}),It=ue.createElement(Le,{locale:ze,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Pt,itemRender:Pn});var nn=Math.max(1,Hn-jt),_n=Math.min(Hn+jt,An);Hn-1<=jt&&(_n=1+jt*2),An-Hn<=jt&&(nn=An-jt*2);for(var Jn=nn;Jn<=_n;Jn+=1){var Ma=Hn===Jn;Fn.push(ue.createElement(Le,{locale:ze,rootPrefixCls:gt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Jn,page:Jn,active:Ma,showTitle:Pt,itemRender:Pn}))}Hn-1>=jt*2&&Hn!==3&&(Fn[0]=(0,ue.cloneElement)(Fn[0],{className:"".concat(gt,"-item-after-jump-prev")}),Fn.unshift(Xn)),An-Hn>=jt*2&&Hn!==An-2&&(Fn[Fn.length-1]=(0,ue.cloneElement)(Fn[Fn.length-1],{className:"".concat(gt,"-item-before-jump-next")}),Fn.push(Ze)),nn!==1&&Fn.unshift(It),_n!==An&&Fn.push(Zt)}var ma=!this.hasPrev()||!An,We=!this.hasNext()||!An,dn=this.renderPrev(pn),Jt=this.renderNext(st);return ue.createElement("ul",(0,b.Z)({className:Je()(gt,un,(0,se.Z)({},"".concat(gt,"-disabled"),zt)),style:en,ref:this.paginationNode},yt),ct,dn?ue.createElement("li",{title:Pt?ze.prev_page:null,onClick:this.prev,tabIndex:ma?null:0,onKeyPress:this.runIfEnterPrev,className:Je()("".concat(gt,"-prev"),(0,se.Z)({},"".concat(gt,"-disabled"),ma)),"aria-disabled":ma},dn):null,Fn,Jt?ue.createElement("li",{title:Pt?ze.next_page:null,onClick:this.next,tabIndex:We?null:0,onKeyPress:this.runIfEnterNext,className:Je()("".concat(gt,"-next"),(0,se.Z)({},"".concat(gt,"-disabled"),We)),"aria-disabled":We},Jt):null,ue.createElement(Pe,{disabled:zt,locale:ze,rootPrefixCls:gt,selectComponentClass:oa,selectPrefixCls:jn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Hn,pageSize:Ba,pageSizeOptions:Ea,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:tn}))}}],[{key:"getDerivedStateFromProps",value:function(De,gt){var un={};if("current"in De&&(un.current=De.current,De.current!==gt.current&&(un.currentInputValue=un.current)),"pageSize"in De&&De.pageSize!==gt.pageSize){var en=gt.current,zt=qe(De.pageSize,gt,De);en=en>zt?zt:en,"current"in De||(un.current=en,un.currentInputValue=en),un.pageSize=De.pageSize}return un}}]),at}(ue.Component);ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ye,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ye,locale:de.Z,style:{},itemRender:Me,totalBoundaryShowSizeChanger:50};var Ae=ht,mt=te(22075),At=te(36355),Et=te(19716),dt=te(8628),Qt=te(9763),St=te(57809);const an=Fe=>ue.createElement(St.default,Object.assign({},Fe,{showSearch:!0,size:"small"})),En=Fe=>ue.createElement(St.default,Object.assign({},Fe,{showSearch:!0,size:"middle"}));an.Option=St.default.Option,En.Option=St.default.Option;var nt=te(9937),et=te(17313),Yt=te(83116),hn=te(37613);const Tt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ce}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ce}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ce}-disabled`]:{cursor:"not-allowed",[`${Ce}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Fe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Fe.colorBorder,backgroundColor:Fe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Fe.itemActiveBgDisabled},a:{color:Fe.itemActiveColorDisabled}}},[`${Ce}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ce}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ce}-simple-pager`]:{color:Fe.colorTextDisabled},[`${Ce}-jump-prev, ${Ce}-jump-next`]:{[`${Ce}-item-link-icon`]:{opacity:0},[`${Ce}-item-ellipsis`]:{opacity:1}}},[`&${Ce}-simple`]:{[`${Ce}-prev, ${Ce}-next`]:{[`&${Ce}-disabled ${Ce}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},vn=Fe=>{const{componentCls:Ce}=Fe;return{[`&${Ce}-mini ${Ce}-total-text, &${Ce}-mini ${Ce}-simple-pager`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`},[`&${Ce}-mini ${Ce}-item`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM-2}px`},[`&${Ce}-mini:not(${Ce}-disabled) ${Ce}-item:not(${Ce}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},[`&${Ce}-mini ${Ce}-prev, &${Ce}-mini ${Ce}-next`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${Ce}-mini:not(${Ce}-disabled)`]:{[`${Ce}-prev, ${Ce}-next`]:{[`&:hover ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${Ce}-disabled:hover ${Ce}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ce}-mini ${Ce}-prev ${Ce}-item-link,
&${Ce}-mini ${Ce}-next ${Ce}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}},[`&${Ce}-mini ${Ce}-jump-prev, &${Ce}-mini ${Ce}-jump-next`]:{height:Fe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${Ce}-mini ${Ce}-options`]:{marginInlineStart:Fe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Fe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,nt.x0)(Fe)),{width:Fe.paginationMiniQuickJumperInputWidth,height:Fe.controlHeightSM})}}}},Ge=Fe=>{const{componentCls:Ce}=Fe;return{[`
&${Ce}-simple ${Ce}-prev,
&${Ce}-simple ${Ce}-next
`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,verticalAlign:"top",[`${Ce}-item-link`]:{height:Fe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive},"&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}}},[`&${Ce}-simple ${Ce}-simple-pager`]:{display:"inline-block",height:Fe.itemSizeSM,marginInlineEnd:Fe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Fe.marginXS,padding:`0 ${Fe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Fe.itemInputBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadius,outline:"none",transition:`border-color ${Fe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Fe.colorPrimary},"&:focus":{borderColor:Fe.colorPrimaryHover,boxShadow:`${Fe.inputOutlineOffset}px 0 ${Fe.controlOutlineWidth}px ${Fe.controlOutline}`},"&[disabled]":{color:Fe.colorTextDisabled,backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,cursor:"not-allowed"}}}}},Dt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}-jump-prev, ${Ce}-jump-next`]:{outline:0,[`${Ce}-item-container`]:{position:"relative",[`${Ce}-item-link-icon`]:{color:Fe.colorPrimary,fontSize:Fe.fontSizeSM,opacity:0,transition:`all ${Fe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ce}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Fe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Fe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Fe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Fe.motionDurationMid}`}},"&:hover":{[`${Ce}-item-link-icon`]:{opacity:1},[`${Ce}-item-ellipsis`]:{opacity:0}}},[`
${Ce}-prev,
${Ce}-jump-prev,
${Ce}-jump-next
`]:{marginInlineEnd:Fe.marginXS},[`
${Ce}-prev,
${Ce}-next,
${Ce}-jump-prev,
${Ce}-jump-next
`]:{display:"inline-block",minWidth:Fe.itemSize,height:Fe.itemSize,color:Fe.colorText,fontFamily:Fe.fontFamily,lineHeight:`${Fe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Fe.borderRadius,cursor:"pointer",transition:`all ${Fe.motionDurationMid}`},[`${Ce}-prev, ${Ce}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Fe.colorText,cursor:"pointer",userSelect:"none"},[`${Ce}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Fe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,borderRadius:Fe.borderRadius,outline:"none",transition:`all ${Fe.motionDurationMid}`},[`&:hover ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${Ce}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${Ce}-disabled:hover`]:{[`${Ce}-item-link`]:{backgroundColor:"transparent"}}},[`${Ce}-slash`]:{marginInlineEnd:Fe.paginationSlashMarginInlineEnd,marginInlineStart:Fe.paginationSlashMarginInlineStart},[`${Ce}-options`]:{display:"inline-block",marginInlineStart:Fe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Fe.controlHeight,marginInlineStart:Fe.marginXS,lineHeight:`${Fe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,nt.ik)(Fe)),{width:Fe.controlHeightLG*1.25,height:Fe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Fe.marginXS,marginInlineEnd:Fe.marginXS})}}}},Kt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}-item`]:{display:"inline-block",minWidth:Fe.itemSize,height:Fe.itemSize,marginInlineEnd:Fe.marginXS,fontFamily:Fe.fontFamily,lineHeight:`${Fe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,borderRadius:Fe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Fe.paginationItemPaddingInline}px`,color:Fe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ce}-item-active)`]:{"&:hover":{transition:`all ${Fe.motionDurationMid}`,backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},"&-active":{fontWeight:Fe.fontWeightStrong,backgroundColor:Fe.itemActiveBg,borderColor:Fe.colorPrimary,a:{color:Fe.colorPrimary},"&:hover":{borderColor:Fe.colorPrimaryHover},"&:hover a":{color:Fe.colorPrimaryHover}}}}},Mt=Fe=>{const{componentCls:Ce}=Fe;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(Fe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ce}-total-text`]:{display:"inline-block",height:Fe.itemSize,marginInlineEnd:Fe.marginXS,lineHeight:`${Fe.itemSize-2}px`,verticalAlign:"middle"}}),Kt(Fe)),Dt(Fe)),Ge(Fe)),vn(Fe)),Tt(Fe)),{[`@media only screen and (max-width: ${Fe.screenLG}px)`]:{[`${Ce}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Fe.screenSM}px)`]:{[`${Ce}-options`]:{display:"none"}}}),[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}}},pt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}${Ce}-disabled:not(${Ce}-mini)`]:{"&, &:hover":{[`${Ce}-item-link`]:{borderColor:Fe.colorBorder}},"&:focus-visible":{[`${Ce}-item-link`]:{borderColor:Fe.colorBorder}},[`${Ce}-item, ${Ce}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,[`&:hover:not(${Ce}-item-active)`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,a:{color:Fe.colorTextDisabled}},[`&${Ce}-item-active`]:{backgroundColor:Fe.itemActiveBgDisabled}},[`${Ce}-prev, ${Ce}-next`]:{"&:hover button":{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,color:Fe.colorTextDisabled},[`${Ce}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder}}},[`${Ce}:not(${Ce}-mini)`]:{[`${Ce}-prev, ${Ce}-next`]:{"&:hover button":{borderColor:Fe.colorPrimaryHover,backgroundColor:Fe.itemBg},[`${Ce}-item-link`]:{backgroundColor:Fe.itemLinkBg,borderColor:Fe.colorBorder},[`&:hover ${Ce}-item-link`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,color:Fe.colorPrimary},[`&${Ce}-disabled`]:{[`${Ce}-item-link`]:{borderColor:Fe.colorBorder,color:Fe.colorTextDisabled}}},[`${Ce}-item`]:{backgroundColor:Fe.itemBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,[`&:hover:not(${Ce}-item-active)`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,a:{color:Fe.colorPrimary}},"&-active":{borderColor:Fe.colorPrimary}}}}},rt=Fe=>{const{componentCls:Ce}=Fe;return{[`${Ce}:not(${Ce}-disabled)`]:{[`${Ce}-item`]:Object.assign({},(0,et.Qy)(Fe)),[`${Ce}-jump-prev, ${Ce}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ce}-item-link-icon`]:{opacity:1},[`${Ce}-item-ellipsis`]:{opacity:0}},(0,et.oN)(Fe))},[`${Ce}-prev, ${Ce}-next`]:{[`&:focus-visible ${Ce}-item-link`]:Object.assign({},(0,et.oN)(Fe))}}}};var _e=(0,Yt.Z)("Pagination",Fe=>{const Ce=(0,hn.TS)(Fe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Fe.marginXXS/2,paginationMiniQuickJumperInputWidth:Fe.controlHeightLG*1.1,paginationItemPaddingInline:Fe.marginXXS*1.5,paginationEllipsisLetterSpacing:Fe.marginXXS/2,paginationSlashMarginInlineStart:Fe.marginXXS,paginationSlashMarginInlineEnd:Fe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,nt.e5)(Fe),(0,nt.TM)(Fe));return[Mt(Ce),rt(Ce),Fe.wireframe&&pt(Ce)]},Fe=>({itemBg:Fe.colorBgContainer,itemSize:Fe.controlHeight,itemSizeSM:Fe.controlHeightSM,itemActiveBg:Fe.colorBgContainer,itemLinkBg:Fe.colorBgContainer,itemActiveColorDisabled:Fe.colorTextDisabled,itemActiveBgDisabled:Fe.controlItemBgActiveDisabled,itemInputBg:Fe.colorBgContainer,miniOptionsSizeChangerTop:0})),ve=function(Fe,Ce){var at={};for(var $e in Fe)Object.prototype.hasOwnProperty.call(Fe,$e)&&Ce.indexOf($e)<0&&(at[$e]=Fe[$e]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,$e=Object.getOwnPropertySymbols(Fe);De<$e.length;De++)Ce.indexOf($e[De])<0&&Object.prototype.propertyIsEnumerable.call(Fe,$e[De])&&(at[$e[De]]=Fe[$e[De]]);return at},Xe=Fe=>{const{prefixCls:Ce,selectPrefixCls:at,className:$e,rootClassName:De,style:gt,size:un,locale:en,selectComponentClass:zt,responsive:ln,showSizeChanger:on}=Fe,ze=ve(Fe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:wt}=(0,dt.Z)(ln),{getPrefixCls:Ot,direction:Pt,pagination:Nt={}}=ue.useContext(At.E_),fn=Ot("pagination",Ce),[Pn,bn]=_e(fn),Ln=on!=null?on:Nt.showSizeChanger,ta=ue.useMemo(()=>{const An=ue.createElement("span",{className:`${fn}-item-ellipsis`},"\u2022\u2022\u2022"),Fn=ue.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Pt==="rtl"?ue.createElement(Qe.Z,null):ue.createElement(Ue.Z,null)),Xn=ue.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},Pt==="rtl"?ue.createElement(Ue.Z,null):ue.createElement(Qe.Z,null)),Ze=ue.createElement("a",{className:`${fn}-item-link`},ue.createElement("div",{className:`${fn}-item-container`},Pt==="rtl"?ue.createElement(ot.Z,{className:`${fn}-item-link-icon`}):ue.createElement(ut,{className:`${fn}-item-link-icon`}),An)),It=ue.createElement("a",{className:`${fn}-item-link`},ue.createElement("div",{className:`${fn}-item-container`},Pt==="rtl"?ue.createElement(ut,{className:`${fn}-item-link-icon`}):ue.createElement(ot.Z,{className:`${fn}-item-link-icon`}),An));return{prevIcon:Fn,nextIcon:Xn,jumpPrevIcon:Ze,jumpNextIcon:It}},[Pt,fn]),[oa]=(0,Qt.Z)("Pagination",mt.Z),jn=Object.assign(Object.assign({},oa),en),Ea=(0,Et.Z)(un),pa=Ea==="small"||!!(wt&&!Ea&&ln),Hn=Ot("select",at),Ba=Je()({[`${fn}-mini`]:pa,[`${fn}-rtl`]:Pt==="rtl"},Nt==null?void 0:Nt.className,$e,De,bn),qt=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),gt);return Pn(ue.createElement(Ae,Object.assign({},ta,ze,{style:qt,prefixCls:fn,selectPrefixCls:Hn,className:Ba,selectComponentClass:zt||(pa?an:En),locale:jn,showSizeChanger:Ln})))},bt=Xe},39722:function(Ut,Gt,te){"use strict";te.d(Gt,{t5:function(){return Ue}});var b=te(92310),ue=te.n(b),Be=te(55477),Te=te(59301),Ie=te(36355),Oe=te(77578),le=te(17356),ut=function(tt,Je){var se={};for(var y in tt)Object.prototype.hasOwnProperty.call(tt,y)&&Je.indexOf(y)<0&&(se[y]=tt[y]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,y=Object.getOwnPropertySymbols(tt);a<y.length;a++)Je.indexOf(y[a])<0&&Object.prototype.propertyIsEnumerable.call(tt,y[a])&&(se[y[a]]=tt[y[a]]);return se};const ot=(tt,Je,se)=>{if(!(!Je&&!se))return Te.createElement(Te.Fragment,null,Je&&Te.createElement("div",{className:`${tt}-title`},(0,Oe.Z)(Je)),Te.createElement("div",{className:`${tt}-inner-content`},(0,Oe.Z)(se)))},Ue=tt=>{const{hashId:Je,prefixCls:se,className:y,style:a,placement:x="top",title:E,content:z,children:ne}=tt;return Te.createElement("div",{className:ue()(Je,se,`${se}-pure`,`${se}-placement-${x}`,y),style:a},Te.createElement("div",{className:`${se}-arrow`}),Te.createElement(Be.G,Object.assign({},tt,{className:Je,prefixCls:se}),ne||ot(se,E,z)))},Qe=tt=>{const{prefixCls:Je}=tt,se=ut(tt,["prefixCls"]),{getPrefixCls:y}=Te.useContext(Ie.E_),a=y("popover",Je),[x,E]=(0,le.Z)(a);return x(Te.createElement(Ue,Object.assign({},se,{prefixCls:a,hashId:E})))};Gt.ZP=Qe},60324:function(Ut,Gt,te){"use strict";var b=te(92310),ue=te.n(b),Be=te(59301),Te=te(77578),Ie=te(62892),Oe=te(36355),le=te(6848),ut=te(39722),ot=te(17356),Ue=function(Je,se){var y={};for(var a in Je)Object.prototype.hasOwnProperty.call(Je,a)&&se.indexOf(a)<0&&(y[a]=Je[a]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Je);x<a.length;x++)se.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(Je,a[x])&&(y[a[x]]=Je[a[x]]);return y};const Qe=Je=>{let{title:se,content:y,prefixCls:a}=Je;return Be.createElement(Be.Fragment,null,se&&Be.createElement("div",{className:`${a}-title`},(0,Te.Z)(se)),Be.createElement("div",{className:`${a}-inner-content`},(0,Te.Z)(y)))},tt=Be.forwardRef((Je,se)=>{const{prefixCls:y,title:a,content:x,overlayClassName:E,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ie=.1,overlayStyle:de={}}=Je,pe=Ue(Je,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Pe}=Be.useContext(Oe.E_),je=Pe("popover",y),[Le,Ye]=(0,ot.Z)(je),Se=Pe(),Me=ue()(E,Ye);return Le(Be.createElement(le.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ie,overlayStyle:de},pe,{prefixCls:je,overlayClassName:Me,ref:se,overlay:a||x?Be.createElement(Qe,{prefixCls:je,title:a,content:x}):null,transitionName:(0,Ie.m)(Se,"zoom-big",pe.transitionName),"data-popover-inject":!0})))});tt._InternalPanelDoNotUseOrYouWillBeFired=ut.ZP,Gt.Z=tt},17356:function(Ut,Gt,te){"use strict";var b=te(17313),ue=te(29878),Be=te(19447),Te=te(33166),Ie=te(83116),Oe=te(37613);const le=Ue=>{const{componentCls:Qe,popoverColor:tt,minWidth:Je,fontWeightStrong:se,popoverPadding:y,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:E,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ie}=Ue;return[{[Qe]:Object.assign(Object.assign({},(0,b.Wf)(Ue)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Qe}-content`]:{position:"relative"},[`${Qe}-inner`]:{backgroundColor:ie,backgroundClip:"padding-box",borderRadius:E,boxShadow:a,padding:y},[`${Qe}-title`]:{minWidth:Je,marginBottom:ne,color:x,fontWeight:se},[`${Qe}-inner-content`]:{color:tt}})},(0,Be.ZP)(Ue,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Qe}-pure`]:{position:"relative",maxWidth:"none",margin:Ue.sizePopupArrow,display:"inline-block",[`${Qe}-content`]:{display:"inline-block"}}}]},ut=Ue=>{const{componentCls:Qe}=Ue;return{[Qe]:Te.i.map(tt=>{const Je=Ue[`${tt}6`];return{[`&${Qe}-${tt}`]:{"--antd-arrow-background-color":Je,[`${Qe}-inner`]:{backgroundColor:Je},[`${Qe}-arrow`]:{background:"transparent"}}}})}},ot=Ue=>{const{componentCls:Qe,lineWidth:tt,lineType:Je,colorSplit:se,paddingSM:y,controlHeight:a,fontSize:x,lineHeight:E,padding:z}=Ue,ne=a-Math.round(x*E),re=ne/2,ie=ne/2-tt,de=z;return{[Qe]:{[`${Qe}-inner`]:{padding:0},[`${Qe}-title`]:{margin:0,padding:`${re}px ${de}px ${ie}px`,borderBottom:`${tt}px ${Je} ${se}`},[`${Qe}-inner-content`]:{padding:`${y}px ${de}px`}}}};Gt.Z=(0,Ie.Z)("Popover",Ue=>{const{colorBgElevated:Qe,colorText:tt,wireframe:Je}=Ue,se=(0,Oe.TS)(Ue,{popoverPadding:12,popoverBg:Qe,popoverColor:tt});return[le(se),ut(se),Je&&ot(se),(0,ue._y)(se,"zoom-big")]},Ue=>({width:177,minWidth:177,zIndexPopup:Ue.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return on}});var b=te(59301),ue=te(79999),Be=te(10402),Te=te(33130),Ie=te(72119),Oe=te(92310),le=te.n(Oe),ut=te(64002),ot=te(36355),Ue=te(5891),Qe=te(57259),tt=te(19149),Je={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var wt=(0,b.useRef)([]),Ot=(0,b.useRef)(null);return(0,b.useEffect)(function(){var Pt=Date.now(),Nt=!1;wt.current.forEach(function(fn){if(fn){Nt=!0;var Pn=fn.style;Pn.transitionDuration=".3s, .3s, .3s, .06s",Ot.current&&Pt-Ot.current<100&&(Pn.transitionDuration="0s, 0s")}}),Nt&&(Ot.current=Date.now())}),wt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(wt){var Ot=(0,Qe.Z)((0,Qe.Z)({},Je),wt),Pt=Ot.className,Nt=Ot.percent,fn=Ot.prefixCls,Pn=Ot.strokeColor,bn=Ot.strokeLinecap,Ln=Ot.strokeWidth,ta=Ot.style,oa=Ot.trailColor,jn=Ot.trailWidth,Ea=Ot.transition,pa=(0,tt.Z)(Ot,y);delete pa.gapPosition;var Hn=Array.isArray(Nt)?Nt:[Nt],Ba=Array.isArray(Pn)?Pn:[Pn],qt=se(),An=Ln/2,Fn=100-Ln/2,Xn="M ".concat(bn==="round"?An:0,",").concat(An,`
L `).concat(bn==="round"?Fn:100,",").concat(An),Ze="0 0 100 ".concat(Ln),It=0;return b.createElement("svg",(0,Ue.Z)({className:le()("".concat(fn,"-line"),Pt),viewBox:Ze,preserveAspectRatio:"none",style:ta},pa),b.createElement("path",{className:"".concat(fn,"-line-trail"),d:Xn,strokeLinecap:bn,stroke:oa,strokeWidth:jn||Ln,fillOpacity:"0"}),Hn.map(function(Zt,Wt){var tn=1;switch(bn){case"round":tn=1-Ln/100;break;case"square":tn=1-Ln/2/100;break;default:tn=1;break}var jt={strokeDasharray:"".concat(Zt*tn,"px, 100px"),strokeDashoffset:"-".concat(It,"px"),transition:Ea||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},pn=Ba[Wt]||Ba[Ba.length-1];return It+=Zt,b.createElement("path",{key:Wt,className:"".concat(fn,"-line-path"),d:Xn,strokeLinecap:bn,stroke:pn,strokeWidth:Ln,fillOpacity:"0",ref:function(yt){qt[Wt]=yt},style:jt})}))},x=a,E=te(80665),z=te(29043),ne=te(87746),re=0,ie=(0,ne.Z)();function de(){var ze;return ie?(ze=re,re+=1):ze="TEST_OR_SSR",ze}var pe=function(ze){var wt=b.useState(),Ot=(0,z.Z)(wt,2),Pt=Ot[0],Nt=Ot[1];return b.useEffect(function(){Nt("rc_progress_".concat(de()))},[]),ze||Pt},Pe=function(wt){var Ot=wt.bg,Pt=wt.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:Ot}},Pt)};function je(ze,wt){return Object.keys(ze).map(function(Ot){var Pt=parseFloat(Ot),Nt="".concat(Math.floor(Pt*wt),"%");return"".concat(ze[Ot]," ").concat(Nt)})}var Le=b.forwardRef(function(ze,wt){var Ot=ze.prefixCls,Pt=ze.color,Nt=ze.gradientId,fn=ze.radius,Pn=ze.style,bn=ze.ptg,Ln=ze.strokeLinecap,ta=ze.strokeWidth,oa=ze.size,jn=ze.gapDegree,Ea=Pt&&(0,E.Z)(Pt)==="object",pa=Ea?"#FFF":void 0,Hn=oa/2,Ba=b.createElement("circle",{className:"".concat(Ot,"-circle-path"),r:fn,cx:Hn,cy:Hn,stroke:pa,strokeLinecap:Ln,strokeWidth:ta,opacity:bn===0?0:1,style:Pn,ref:wt});if(!Ea)return Ba;var qt="".concat(Nt,"-conic"),An=jn?"".concat(180+jn/2,"deg"):"0deg",Fn=je(Pt,(360-jn)/360),Xn=je(Pt,1),Ze="conic-gradient(from ".concat(An,", ").concat(Fn.join(", "),")"),It="linear-gradient(to ".concat(jn?"bottom":"top",", ").concat(Xn.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:qt},Ba),b.createElement("foreignObject",{x:0,y:0,width:oa,height:oa,mask:"url(#".concat(qt,")")},b.createElement(Pe,{bg:It},b.createElement(Pe,{bg:Ze}))))}),Ye=Le,Se=100,Me=function(wt,Ot,Pt,Nt,fn,Pn,bn,Ln,ta,oa){var jn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ea=Pt/100*360*((360-Pn)/360),pa=Pn===0?0:{bottom:0,top:180,left:90,right:-90}[bn],Hn=(100-Nt)/100*Ot;ta==="round"&&Nt!==100&&(Hn+=oa/2,Hn>=Ot&&(Hn=Ot-.01));var Ba=Se/2;return{stroke:typeof Ln=="string"?Ln:void 0,strokeDasharray:"".concat(Ot,"px ").concat(wt),strokeDashoffset:Hn+jn,transform:"rotate(".concat(fn+Ea+pa,"deg)"),transformOrigin:"".concat(Ba,"px ").concat(Ba,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},qe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ht(ze){var wt=ze!=null?ze:[];return Array.isArray(wt)?wt:[wt]}var Ae=function(wt){var Ot=(0,Qe.Z)((0,Qe.Z)({},Je),wt),Pt=Ot.id,Nt=Ot.prefixCls,fn=Ot.steps,Pn=Ot.strokeWidth,bn=Ot.trailWidth,Ln=Ot.gapDegree,ta=Ln===void 0?0:Ln,oa=Ot.gapPosition,jn=Ot.trailColor,Ea=Ot.strokeLinecap,pa=Ot.style,Hn=Ot.className,Ba=Ot.strokeColor,qt=Ot.percent,An=(0,tt.Z)(Ot,qe),Fn=Se/2,Xn=pe(Pt),Ze="".concat(Xn,"-gradient"),It=Fn-Pn/2,Zt=Math.PI*2*It,Wt=ta>0?90+ta/2:-90,tn=Zt*((360-ta)/360),jt=(0,E.Z)(fn)==="object"?fn:{count:fn,space:2},pn=jt.count,st=jt.space,yt=ht(qt),ct=ht(Ba),rn=ct.find(function(qn){return qn&&(0,E.Z)(qn)==="object"}),In=rn&&(0,E.Z)(rn)==="object",yn=In?"butt":Ea,ia=Me(Zt,tn,0,100,Wt,ta,oa,jn,yn,Pn),Un=se(),lt=function(){var nn=0;return yt.map(function(_n,Jn){var Ma=ct[Jn]||ct[ct.length-1],ma=Me(Zt,tn,nn,_n,Wt,ta,oa,Ma,yn,Pn);return nn+=_n,b.createElement(Ye,{key:Jn,color:Ma,ptg:_n,radius:It,prefixCls:Nt,gradientId:Ze,style:ma,strokeLinecap:yn,strokeWidth:Pn,gapDegree:ta,ref:function(dn){Un[Jn]=dn},size:Se})}).reverse()},$t=function(){var nn=Math.round(pn*(yt[0]/100)),_n=100/pn,Jn=0;return new Array(pn).fill(null).map(function(Ma,ma){var We=ma<=nn-1?ct[0]:jn,dn=We&&(0,E.Z)(We)==="object"?"url(#".concat(Ze,")"):void 0,Jt=Me(Zt,tn,Jn,_n,Wt,ta,oa,We,"butt",Pn,st);return Jn+=(tn-Jt.strokeDashoffset+st)*100/tn,b.createElement("circle",{key:ma,className:"".concat(Nt,"-circle-path"),r:It,cx:Fn,cy:Fn,stroke:dn,strokeWidth:Pn,opacity:1,style:Jt,ref:function(On){Un[ma]=On}})})};return b.createElement("svg",(0,Ue.Z)({className:le()("".concat(Nt,"-circle"),Hn),viewBox:"0 0 ".concat(Se," ").concat(Se),style:pa,id:Pt,role:"presentation"},An),!pn&&b.createElement("circle",{className:"".concat(Nt,"-circle-trail"),r:It,cx:Fn,cy:Fn,stroke:jn,strokeLinecap:yn,strokeWidth:bn||Pn,style:ia}),pn?$t():lt())},mt=Ae,At={Line:x,Circle:mt},Et=te(6848),dt=te(93398);function Qt(ze){return!ze||ze<0?0:ze>100?100:ze}function St(ze){let{success:wt,successPercent:Ot}=ze,Pt=Ot;return wt&&"progress"in wt&&(Pt=wt.progress),wt&&"percent"in wt&&(Pt=wt.percent),Pt}const an=ze=>{let{percent:wt,success:Ot,successPercent:Pt}=ze;const Nt=Qt(St({success:Ot,successPercent:Pt}));return[Nt,Qt(Qt(wt)-Nt)]},En=ze=>{let{success:wt={},strokeColor:Ot}=ze;const{strokeColor:Pt}=wt;return[Pt||dt.presetPrimaryColors.green,Ot||null]},nt=(ze,wt,Ot)=>{var Pt,Nt,fn,Pn;let bn=-1,Ln=-1;if(wt==="step"){const ta=Ot.steps,oa=Ot.strokeWidth;typeof ze=="string"||typeof ze=="undefined"?(bn=ze==="small"?2:14,Ln=oa!=null?oa:8):typeof ze=="number"?[bn,Ln]=[ze,ze]:[bn=14,Ln=8]=ze,bn*=ta}else if(wt==="line"){const ta=Ot==null?void 0:Ot.strokeWidth;typeof ze=="string"||typeof ze=="undefined"?Ln=ta||(ze==="small"?6:8):typeof ze=="number"?[bn,Ln]=[ze,ze]:[bn=-1,Ln=8]=ze}else(wt==="circle"||wt==="dashboard")&&(typeof ze=="string"||typeof ze=="undefined"?[bn,Ln]=ze==="small"?[60,60]:[120,120]:typeof ze=="number"?[bn,Ln]=[ze,ze]:(bn=(Nt=(Pt=ze[0])!==null&&Pt!==void 0?Pt:ze[1])!==null&&Nt!==void 0?Nt:120,Ln=(Pn=(fn=ze[0])!==null&&fn!==void 0?fn:ze[1])!==null&&Pn!==void 0?Pn:120));return[bn,Ln]},et=3,Yt=ze=>et/ze*100;var Tt=ze=>{const{prefixCls:wt,trailColor:Ot=null,strokeLinecap:Pt="round",gapPosition:Nt,gapDegree:fn,width:Pn=120,type:bn,children:Ln,success:ta,size:oa=Pn}=ze,[jn,Ea]=nt(oa,"circle");let{strokeWidth:pa}=ze;pa===void 0&&(pa=Math.max(Yt(jn),6));const Hn={width:jn,height:Ea,fontSize:jn*.15+6},Ba=b.useMemo(()=>{if(fn||fn===0)return fn;if(bn==="dashboard")return 75},[fn,bn]),qt=Nt||bn==="dashboard"&&"bottom"||void 0,An=Object.prototype.toString.call(ze.strokeColor)==="[object Object]",Fn=En({success:ta,strokeColor:ze.strokeColor}),Xn=le()(`${wt}-inner`,{[`${wt}-circle-gradient`]:An}),Ze=b.createElement(mt,{percent:an(ze),strokeWidth:pa,trailWidth:pa,strokeColor:Fn,strokeLinecap:Pt,trailColor:Ot,prefixCls:wt,gapDegree:Ba,gapPosition:qt});return b.createElement("div",{className:Xn,style:Hn},jn<=20?b.createElement(Et.Z,{title:Ln},b.createElement("span",null,Ze)):b.createElement(b.Fragment,null,Ze,Ln))},vn=function(ze,wt){var Ot={};for(var Pt in ze)Object.prototype.hasOwnProperty.call(ze,Pt)&&wt.indexOf(Pt)<0&&(Ot[Pt]=ze[Pt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Pt=Object.getOwnPropertySymbols(ze);Nt<Pt.length;Nt++)wt.indexOf(Pt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Pt[Nt])&&(Ot[Pt[Nt]]=ze[Pt[Nt]]);return Ot};const Ge=ze=>{let wt=[];return Object.keys(ze).forEach(Ot=>{const Pt=parseFloat(Ot.replace(/%/g,""));isNaN(Pt)||wt.push({key:Pt,value:ze[Ot]})}),wt=wt.sort((Ot,Pt)=>Ot.key-Pt.key),wt.map(Ot=>{let{key:Pt,value:Nt}=Ot;return`${Nt} ${Pt}%`}).join(", ")},Dt=(ze,wt)=>{const{from:Ot=dt.presetPrimaryColors.blue,to:Pt=dt.presetPrimaryColors.blue,direction:Nt=wt==="rtl"?"to left":"to right"}=ze,fn=vn(ze,["from","to","direction"]);if(Object.keys(fn).length!==0){const Pn=Ge(fn);return{backgroundImage:`linear-gradient(${Nt}, ${Pn})`}}return{backgroundImage:`linear-gradient(${Nt}, ${Ot}, ${Pt})`}};var Mt=ze=>{const{prefixCls:wt,direction:Ot,percent:Pt,size:Nt,strokeWidth:fn,strokeColor:Pn,strokeLinecap:bn="round",children:Ln,trailColor:ta=null,success:oa}=ze,jn=Pn&&typeof Pn!="string"?Dt(Pn,Ot):{backgroundColor:Pn},Ea=bn==="square"||bn==="butt"?0:void 0,pa={backgroundColor:ta||void 0,borderRadius:Ea},Hn=Nt!=null?Nt:[-1,fn||(Nt==="small"?6:8)],[Ba,qt]=nt(Hn,"line",{strokeWidth:fn}),An=Object.assign({width:`${Qt(Pt)}%`,height:qt,borderRadius:Ea},jn),Fn=St(ze),Xn={width:`${Qt(Fn)}%`,height:qt,borderRadius:Ea,backgroundColor:oa==null?void 0:oa.strokeColor},Ze={width:Ba<0?"100%":Ba,height:qt};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${wt}-outer`,style:Ze},b.createElement("div",{className:`${wt}-inner`,style:pa},b.createElement("div",{className:`${wt}-bg`,style:An}),Fn!==void 0?b.createElement("div",{className:`${wt}-success-bg`,style:Xn}):null)),Ln)},rt=ze=>{const{size:wt,steps:Ot,percent:Pt=0,strokeWidth:Nt=8,strokeColor:fn,trailColor:Pn=null,prefixCls:bn,children:Ln}=ze,ta=Math.round(Ot*(Pt/100)),oa=wt==="small"?2:14,jn=wt!=null?wt:[oa,Nt],[Ea,pa]=nt(jn,"step",{steps:Ot,strokeWidth:Nt}),Hn=Ea/Ot,Ba=new Array(Ot);for(let qt=0;qt<Ot;qt++){const An=Array.isArray(fn)?fn[qt]:fn;Ba[qt]=b.createElement("div",{key:qt,className:le()(`${bn}-steps-item`,{[`${bn}-steps-item-active`]:qt<=ta-1}),style:{backgroundColor:qt<=ta-1?An:Pn,width:Hn,height:pa}})}return b.createElement("div",{className:`${bn}-steps-outer`},Ba,Ln)},_e=te(9792),ve=te(17313),fe=te(83116),Xe=te(37613);const bt=ze=>{const wt=ze?"100%":"-100%";return new _e.Keyframes(`antProgress${ze?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${wt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${wt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Fe=ze=>{const{componentCls:wt,iconCls:Ot}=ze;return{[wt]:Object.assign(Object.assign({},(0,ve.Wf)(ze)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ze.fontSize,marginInlineEnd:ze.marginXS,marginBottom:ze.marginXS},[`${wt}-outer`]:{display:"inline-block",width:"100%"},[`&${wt}-show-info`]:{[`${wt}-outer`]:{marginInlineEnd:`calc(-2em - ${ze.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ze.paddingXS}px)`}},[`${wt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ze.remainingColor,borderRadius:ze.lineBorderRadius},[`${wt}-inner:not(${wt}-circle-gradient)`]:{[`${wt}-circle-path`]:{stroke:ze.defaultColor}},[`${wt}-success-bg, ${wt}-bg`]:{position:"relative",backgroundColor:ze.defaultColor,borderRadius:ze.lineBorderRadius,transition:`all ${ze.motionDurationSlow} ${ze.motionEaseInOutCirc}`},[`${wt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ze.colorSuccess},[`${wt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ze.marginXS,color:ze.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Ot]:{fontSize:ze.fontSize}},[`&${wt}-status-active`]:{[`${wt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ze.colorBgContainer,borderRadius:ze.lineBorderRadius,opacity:0,animationName:bt(),animationDuration:ze.progressActiveMotionDuration,animationTimingFunction:ze.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${wt}-rtl${wt}-status-active`]:{[`${wt}-bg::before`]:{animationName:bt(!0)}},[`&${wt}-status-exception`]:{[`${wt}-bg`]:{backgroundColor:ze.colorError},[`${wt}-text`]:{color:ze.colorError}},[`&${wt}-status-exception ${wt}-inner:not(${wt}-circle-gradient)`]:{[`${wt}-circle-path`]:{stroke:ze.colorError}},[`&${wt}-status-success`]:{[`${wt}-bg`]:{backgroundColor:ze.colorSuccess},[`${wt}-text`]:{color:ze.colorSuccess}},[`&${wt}-status-success ${wt}-inner:not(${wt}-circle-gradient)`]:{[`${wt}-circle-path`]:{stroke:ze.colorSuccess}}})}},Ce=ze=>{const{componentCls:wt,iconCls:Ot}=ze;return{[wt]:{[`${wt}-circle-trail`]:{stroke:ze.remainingColor},[`&${wt}-circle ${wt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${wt}-circle ${wt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ze.circleTextColor,fontSize:ze.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Ot]:{fontSize:`${ze.fontSize/ze.fontSizeSM}em`}},[`${wt}-circle&-status-exception`]:{[`${wt}-text`]:{color:ze.colorError}},[`${wt}-circle&-status-success`]:{[`${wt}-text`]:{color:ze.colorSuccess}}},[`${wt}-inline-circle`]:{lineHeight:1,[`${wt}-inner`]:{verticalAlign:"bottom"}}}},at=ze=>{const{componentCls:wt}=ze;return{[wt]:{[`${wt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ze.progressStepMinWidth,marginInlineEnd:ze.progressStepMarginInlineEnd,backgroundColor:ze.remainingColor,transition:`all ${ze.motionDurationSlow}`,"&-active":{backgroundColor:ze.defaultColor}}}}}},$e=ze=>{const{componentCls:wt,iconCls:Ot}=ze;return{[wt]:{[`${wt}-small&-line, ${wt}-small&-line ${wt}-text ${Ot}`]:{fontSize:ze.fontSizeSM}}}};var De=(0,fe.Z)("Progress",ze=>{const wt=ze.marginXXS/2,Ot=(0,Xe.TS)(ze,{progressStepMarginInlineEnd:wt,progressStepMinWidth:wt,progressActiveMotionDuration:"2.4s"});return[Fe(Ot),Ce(Ot),at(Ot),$e(Ot)]},ze=>({circleTextColor:ze.colorText,defaultColor:ze.colorInfo,remainingColor:ze.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),gt=function(ze,wt){var Ot={};for(var Pt in ze)Object.prototype.hasOwnProperty.call(ze,Pt)&&wt.indexOf(Pt)<0&&(Ot[Pt]=ze[Pt]);if(ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nt=0,Pt=Object.getOwnPropertySymbols(ze);Nt<Pt.length;Nt++)wt.indexOf(Pt[Nt])<0&&Object.prototype.propertyIsEnumerable.call(ze,Pt[Nt])&&(Ot[Pt[Nt]]=ze[Pt[Nt]]);return Ot};const un=null,en=["normal","exception","active","success"];var ln=b.forwardRef((ze,wt)=>{const{prefixCls:Ot,className:Pt,rootClassName:Nt,steps:fn,strokeColor:Pn,percent:bn=0,size:Ln="default",showInfo:ta=!0,type:oa="line",status:jn,format:Ea,style:pa}=ze,Hn=gt(ze,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Ba=b.useMemo(()=>{var yt,ct;const rn=St(ze);return parseInt(rn!==void 0?(yt=rn!=null?rn:0)===null||yt===void 0?void 0:yt.toString():(ct=bn!=null?bn:0)===null||ct===void 0?void 0:ct.toString(),10)},[bn,ze.success,ze.successPercent]),qt=b.useMemo(()=>!en.includes(jn)&&Ba>=100?"success":jn||"normal",[jn,Ba]),{getPrefixCls:An,direction:Fn,progress:Xn}=b.useContext(ot.E_),Ze=An("progress",Ot),[It,Zt]=De(Ze),Wt=b.useMemo(()=>{if(!ta)return null;const yt=St(ze);let ct;const rn=Ea||(yn=>`${yn}%`),In=oa==="line";return Ea||qt!=="exception"&&qt!=="success"?ct=rn(Qt(bn),Qt(yt)):qt==="exception"?ct=In?b.createElement(Te.Z,null):b.createElement(Ie.Z,null):qt==="success"&&(ct=In?b.createElement(ue.Z,null):b.createElement(Be.Z,null)),b.createElement("span",{className:`${Ze}-text`,title:typeof ct=="string"?ct:void 0},ct)},[ta,bn,Ba,qt,oa,Ze,Ea]),tn=Array.isArray(Pn)?Pn[0]:Pn,jt=typeof Pn=="string"||Array.isArray(Pn)?Pn:void 0;let pn;oa==="line"?pn=fn?b.createElement(rt,Object.assign({},ze,{strokeColor:jt,prefixCls:Ze,steps:fn}),Wt):b.createElement(Mt,Object.assign({},ze,{strokeColor:tn,prefixCls:Ze,direction:Fn}),Wt):(oa==="circle"||oa==="dashboard")&&(pn=b.createElement(Tt,Object.assign({},ze,{strokeColor:tn,prefixCls:Ze,progressStatus:qt}),Wt));const st=le()(Ze,`${Ze}-status-${qt}`,`${Ze}-${oa==="dashboard"&&"circle"||fn&&"steps"||oa}`,{[`${Ze}-inline-circle`]:oa==="circle"&&nt(Ln,"circle")[0]<=20,[`${Ze}-show-info`]:ta,[`${Ze}-${Ln}`]:typeof Ln=="string",[`${Ze}-rtl`]:Fn==="rtl"},Xn==null?void 0:Xn.className,Pt,Nt,Zt);return It(b.createElement("div",Object.assign({ref:wt,style:Object.assign(Object.assign({},Xn==null?void 0:Xn.style),pa),className:st,role:"progressbar","aria-valuenow":Ba},(0,ut.Z)(Hn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),pn))}),on=ln},39978:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Qt}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Te=Be,Ie=te(88853),Oe=function(an,En){return ue.createElement(Ie.Z,(0,b.Z)({},an,{ref:En,icon:Te}))},le=ue.forwardRef(Oe),ut=le,ot=te(92310),Ue=te.n(ot),Qe=te(80962),tt=te(29043),Je=te(19149),se=te(35788),y=te(85108),a=te(36994);function x(St,an){var En=St.disabled,nt=St.prefixCls,et=St.character,Yt=St.characterRender,hn=St.index,Tt=St.count,vn=St.value,Ge=St.allowHalf,Dt=St.focused,Kt=St.onHover,Mt=St.onClick,pt=function(Ce){Kt(Ce,hn)},rt=function(Ce){Mt(Ce,hn)},_e=function(Ce){Ce.keyCode===y.Z.ENTER&&Mt(Ce,hn)},ve=hn+1,fe=new Set([nt]);vn===0&&hn===0&&Dt?fe.add("".concat(nt,"-focused")):Ge&&vn+.5>=ve&&vn<ve?(fe.add("".concat(nt,"-half")),fe.add("".concat(nt,"-active")),Dt&&fe.add("".concat(nt,"-focused"))):(ve<=vn?fe.add("".concat(nt,"-full")):fe.add("".concat(nt,"-zero")),ve===vn&&Dt&&fe.add("".concat(nt,"-focused")));var Xe=typeof et=="function"?et(St):et,bt=ue.createElement("li",{className:Ue()(Array.from(fe)),ref:an},ue.createElement("div",{onClick:En?null:rt,onKeyDown:En?null:_e,onMouseMove:En?null:pt,role:"radio","aria-checked":vn>hn?"true":"false","aria-posinset":hn+1,"aria-setsize":Tt,tabIndex:En?-1:0},ue.createElement("div",{className:"".concat(nt,"-first")},Xe),ue.createElement("div",{className:"".concat(nt,"-second")},Xe)));return Yt&&(bt=Yt(bt,St)),bt}var E=ue.forwardRef(x);function z(){var St=ue.useRef({});function an(nt){return St.current[nt]}function En(nt){return function(et){St.current[nt]=et}}return[an,En]}function ne(St){var an=St.pageXOffset,En="scrollLeft";if(typeof an!="number"){var nt=St.document;an=nt.documentElement[En],typeof an!="number"&&(an=nt.body[En])}return an}function re(St){var an,En,nt=St.ownerDocument,et=nt.body,Yt=nt&&nt.documentElement,hn=St.getBoundingClientRect();return an=hn.left,En=hn.top,an-=Yt.clientLeft||et.clientLeft||0,En-=Yt.clientTop||et.clientTop||0,{left:an,top:En}}function ie(St){var an=re(St),En=St.ownerDocument,nt=En.defaultView||En.parentWindow;return an.left+=ne(nt),an.left}var de=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function pe(St,an){var En,nt=St.prefixCls,et=nt===void 0?"rc-rate":nt,Yt=St.className,hn=St.defaultValue,Tt=St.value,vn=St.count,Ge=vn===void 0?5:vn,Dt=St.allowHalf,Kt=Dt===void 0?!1:Dt,Mt=St.allowClear,pt=Mt===void 0?!0:Mt,rt=St.character,_e=rt===void 0?"\u2605":rt,ve=St.characterRender,fe=St.disabled,Xe=St.direction,bt=Xe===void 0?"ltr":Xe,Fe=St.tabIndex,Ce=Fe===void 0?0:Fe,at=St.autoFocus,$e=St.onHoverChange,De=St.onChange,gt=St.onFocus,un=St.onBlur,en=St.onKeyDown,zt=St.onMouseLeave,ln=(0,Je.Z)(St,de),on=z(),ze=(0,tt.Z)(on,2),wt=ze[0],Ot=ze[1],Pt=ue.useRef(null),Nt=function(){if(!fe){var yn;(yn=Pt.current)===null||yn===void 0||yn.focus()}};ue.useImperativeHandle(an,function(){return{focus:Nt,blur:function(){if(!fe){var yn;(yn=Pt.current)===null||yn===void 0||yn.blur()}}}});var fn=(0,se.Z)(hn||0,{value:Tt}),Pn=(0,tt.Z)(fn,2),bn=Pn[0],Ln=Pn[1],ta=(0,se.Z)(null),oa=(0,tt.Z)(ta,2),jn=oa[0],Ea=oa[1],pa=function(yn,ia){var Un=bt==="rtl",lt=yn+1;if(Kt){var $t=wt(yn),qn=ie($t),nn=$t.clientWidth;(Un&&ia-qn>nn/2||!Un&&ia-qn<nn/2)&&(lt-=.5)}return lt},Hn=function(yn){Ln(yn),De==null||De(yn)},Ba=ue.useState(!1),qt=(0,tt.Z)(Ba,2),An=qt[0],Fn=qt[1],Xn=function(){Fn(!0),gt==null||gt()},Ze=function(){Fn(!1),un==null||un()},It=ue.useState(null),Zt=(0,tt.Z)(It,2),Wt=Zt[0],tn=Zt[1],jt=function(yn,ia){var Un=pa(ia,yn.pageX);Un!==jn&&(tn(Un),Ea(null)),$e==null||$e(Un)},pn=function(yn){fe||(tn(null),Ea(null),$e==null||$e(void 0)),yn&&(zt==null||zt(yn))},st=function(yn,ia){var Un=pa(ia,yn.pageX),lt=!1;pt&&(lt=Un===bn),pn(),Hn(lt?0:Un),Ea(lt?Un:null)},yt=function(yn){var ia=yn.keyCode,Un=bt==="rtl",lt=bn;ia===y.Z.RIGHT&&lt<Ge&&!Un?(Kt?lt+=.5:lt+=1,Hn(lt),yn.preventDefault()):ia===y.Z.LEFT&&lt>0&&!Un||ia===y.Z.RIGHT&&lt>0&&Un?(Kt?lt-=.5:lt-=1,Hn(lt),yn.preventDefault()):ia===y.Z.LEFT&&lt<Ge&&Un&&(Kt?lt+=.5:lt+=1,Hn(lt),yn.preventDefault()),en==null||en(yn)};ue.useEffect(function(){at&&!fe&&Nt()},[]);var ct=new Array(Ge).fill(0).map(function(In,yn){return ue.createElement(E,{ref:Ot(yn),index:yn,count:Ge,disabled:fe,prefixCls:"".concat(et,"-star"),allowHalf:Kt,value:Wt===null?bn:Wt,onClick:st,onHover:jt,key:In||yn,character:_e,characterRender:ve,focused:An})}),rn=Ue()(et,Yt,(En={},(0,Qe.Z)(En,"".concat(et,"-disabled"),fe),(0,Qe.Z)(En,"".concat(et,"-rtl"),bt==="rtl"),En));return ue.createElement("ul",(0,b.Z)({className:rn,onMouseLeave:pn,tabIndex:fe?-1:Ce,onFocus:fe?null:Xn,onBlur:fe?null:Ze,onKeyDown:fe?null:yt,ref:Pt,role:"radiogroup"},(0,a.Z)(ln,{aria:!0,data:!0,attr:!0})),ct)}var Pe=ue.forwardRef(pe),je=Pe,Le=te(36355),Ye=te(6848),Se=te(17313),Me=te(83116),qe=te(37613);const ht=St=>{const{componentCls:an}=St;return{[`${an}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:St.marginXS},"> div":{transition:`all ${St.motionDurationMid}, outline 0s`,"&:hover":{transform:St.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${St.lineWidth}px dashed ${St.starColor}`,transform:St.starHoverScale}},"&-first, &-second":{color:St.starBg,transition:`all ${St.motionDurationMid}`,userSelect:"none",[St.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${an}-star-first, &-half ${an}-star-second`]:{opacity:1},[`&-half ${an}-star-first, &-full ${an}-star-second`]:{color:"inherit"}}}},Ae=St=>({[`&-rtl${St.componentCls}`]:{direction:"rtl"}}),mt=St=>{const{componentCls:an}=St;return{[an]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Se.Wf)(St)),{display:"inline-block",margin:0,padding:0,color:St.starColor,fontSize:St.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${an} ${an}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ht(St)),{[`+ ${an}-text`]:{display:"inline-block",marginInlineStart:St.marginXS,fontSize:St.fontSize}}),Ae(St))}};var At=(0,Me.Z)("Rate",St=>{const an=(0,qe.TS)(St,{});return[mt(an)]},St=>({starColor:St.yellow6,starSize:St.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:St.colorFillContent})),Et=function(St,an){var En={};for(var nt in St)Object.prototype.hasOwnProperty.call(St,nt)&&an.indexOf(nt)<0&&(En[nt]=St[nt]);if(St!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,nt=Object.getOwnPropertySymbols(St);et<nt.length;et++)an.indexOf(nt[et])<0&&Object.prototype.propertyIsEnumerable.call(St,nt[et])&&(En[nt[et]]=St[nt[et]]);return En},Qt=ue.forwardRef((St,an)=>{const{prefixCls:En,className:nt,rootClassName:et,style:Yt,tooltips:hn,character:Tt=ue.createElement(ut,null)}=St,vn=Et(St,["prefixCls","className","rootClassName","style","tooltips","character"]),Ge=(fe,Xe)=>{let{index:bt}=Xe;return hn?ue.createElement(Ye.Z,{title:hn[bt]},fe):fe},{getPrefixCls:Dt,direction:Kt,rate:Mt}=ue.useContext(Le.E_),pt=Dt("rate",En),[rt,_e]=At(pt),ve=Object.assign(Object.assign({},Mt==null?void 0:Mt.style),Yt);return rt(ue.createElement(je,Object.assign({ref:an,character:Tt,characterRender:Ge},vn,{className:Ue()(nt,et,_e,Mt==null?void 0:Mt.className),style:ve,prefixCls:pt,direction:Kt})))})},78485:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return _e}});var b=te(92310),ue=te.n(b),Be=te(59301),Te=te(36355),Ie=te(64002),le=ve=>{const{prefixCls:fe,className:Xe,style:bt,size:Fe,shape:Ce}=ve,at=ue()({[`${fe}-lg`]:Fe==="large",[`${fe}-sm`]:Fe==="small"}),$e=ue()({[`${fe}-circle`]:Ce==="circle",[`${fe}-square`]:Ce==="square",[`${fe}-round`]:Ce==="round"}),De=Be.useMemo(()=>typeof Fe=="number"?{width:Fe,height:Fe,lineHeight:`${Fe}px`}:{},[Fe]);return Be.createElement("span",{className:ue()(fe,at,$e,Xe),style:Object.assign(Object.assign({},De),bt)})},ut=te(9792),ot=te(83116),Ue=te(37613);const Qe=new ut.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),tt=ve=>({height:ve,lineHeight:`${ve}px`}),Je=ve=>Object.assign({width:ve},tt(ve)),se=ve=>({background:ve.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Qe,animationDuration:ve.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=ve=>Object.assign({width:ve*5,minWidth:ve*5},tt(ve)),a=ve=>{const{skeletonAvatarCls:fe,gradientFromColor:Xe,controlHeight:bt,controlHeightLG:Fe,controlHeightSM:Ce}=ve;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe},Je(bt)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Je(Fe)),[`${fe}${fe}-sm`]:Object.assign({},Je(Ce))}},x=ve=>{const{controlHeight:fe,borderRadiusSM:Xe,skeletonInputCls:bt,controlHeightLG:Fe,controlHeightSM:Ce,gradientFromColor:at}=ve;return{[`${bt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at,borderRadius:Xe},y(fe)),[`${bt}-lg`]:Object.assign({},y(Fe)),[`${bt}-sm`]:Object.assign({},y(Ce))}},E=ve=>Object.assign({width:ve},tt(ve)),z=ve=>{const{skeletonImageCls:fe,imageSizeBase:Xe,gradientFromColor:bt,borderRadiusSM:Fe}=ve;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:bt,borderRadius:Fe},E(Xe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},E(Xe)),{maxWidth:Xe*4,maxHeight:Xe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(ve,fe,Xe)=>{const{skeletonButtonCls:bt}=ve;return{[`${Xe}${bt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Xe}${bt}-round`]:{borderRadius:fe}}},re=ve=>Object.assign({width:ve*2,minWidth:ve*2},tt(ve)),ie=ve=>{const{borderRadiusSM:fe,skeletonButtonCls:Xe,controlHeight:bt,controlHeightLG:Fe,controlHeightSM:Ce,gradientFromColor:at}=ve;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:at,borderRadius:fe,width:bt*2,minWidth:bt*2},re(bt))},ne(ve,bt,Xe)),{[`${Xe}-lg`]:Object.assign({},re(Fe))}),ne(ve,Fe,`${Xe}-lg`)),{[`${Xe}-sm`]:Object.assign({},re(Ce))}),ne(ve,Ce,`${Xe}-sm`))},de=ve=>{const{componentCls:fe,skeletonAvatarCls:Xe,skeletonTitleCls:bt,skeletonParagraphCls:Fe,skeletonButtonCls:Ce,skeletonInputCls:at,skeletonImageCls:$e,controlHeight:De,controlHeightLG:gt,controlHeightSM:un,gradientFromColor:en,padding:zt,marginSM:ln,borderRadius:on,titleHeight:ze,blockRadius:wt,paragraphLiHeight:Ot,controlHeightXS:Pt,paragraphMarginTop:Nt}=ve;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:zt,verticalAlign:"top",[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:en},Je(De)),[`${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}-lg`]:Object.assign({},Je(gt)),[`${Xe}-sm`]:Object.assign({},Je(un))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${bt}`]:{width:"100%",height:ze,background:en,borderRadius:wt,[`+ ${Fe}`]:{marginBlockStart:un}},[`${Fe}`]:{padding:0,"> li":{width:"100%",height:Ot,listStyle:"none",background:en,borderRadius:wt,"+ li":{marginBlockStart:Pt}}},[`${Fe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${bt}, ${Fe} > li`]:{borderRadius:on}}},[`${fe}-with-avatar ${fe}-content`]:{[`${bt}`]:{marginBlockStart:ln,[`+ ${Fe}`]:{marginBlockStart:Nt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(ve)),a(ve)),x(ve)),z(ve)),[`${fe}${fe}-block`]:{width:"100%",[`${Ce}`]:{width:"100%"},[`${at}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[`
${bt},
${Fe} > li,
${Xe},
${Ce},
${at},
${$e}
`]:Object.assign({},se(ve))}}};var pe=(0,ot.Z)("Skeleton",ve=>{const{componentCls:fe}=ve,Xe=(0,Ue.TS)(ve,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:ve.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${ve.gradientFromColor} 25%, ${ve.gradientToColor} 37%, ${ve.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[de(Xe)]},ve=>{const{colorFillContent:fe,colorFill:Xe}=ve,bt=fe,Fe=Xe;return{color:bt,colorGradientEnd:Fe,gradientFromColor:bt,gradientToColor:Fe,titleHeight:ve.controlHeight/2,blockRadius:ve.borderRadiusSM,paragraphMarginTop:ve.marginLG+ve.marginXXS,paragraphLiHeight:ve.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),je=ve=>{const{prefixCls:fe,className:Xe,rootClassName:bt,active:Fe,shape:Ce="circle",size:at="default"}=ve,{getPrefixCls:$e}=Be.useContext(Te.E_),De=$e("skeleton",fe),[gt,un]=pe(De),en=(0,Ie.Z)(ve,["prefixCls","className"]),zt=ue()(De,`${De}-element`,{[`${De}-active`]:Fe},Xe,bt,un);return gt(Be.createElement("div",{className:zt},Be.createElement(le,Object.assign({prefixCls:`${De}-avatar`,shape:Ce,size:at},en))))},Ye=ve=>{const{prefixCls:fe,className:Xe,rootClassName:bt,active:Fe,block:Ce=!1,size:at="default"}=ve,{getPrefixCls:$e}=Be.useContext(Te.E_),De=$e("skeleton",fe),[gt,un]=pe(De),en=(0,Ie.Z)(ve,["prefixCls"]),zt=ue()(De,`${De}-element`,{[`${De}-active`]:Fe,[`${De}-block`]:Ce},Xe,bt,un);return gt(Be.createElement("div",{className:zt},Be.createElement(le,Object.assign({prefixCls:`${De}-button`,size:at},en))))};const Se="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var qe=ve=>{const{prefixCls:fe,className:Xe,rootClassName:bt,style:Fe,active:Ce}=ve,{getPrefixCls:at}=Be.useContext(Te.E_),$e=at("skeleton",fe),[De,gt]=pe($e),un=ue()($e,`${$e}-element`,{[`${$e}-active`]:Ce},Xe,bt,gt);return De(Be.createElement("div",{className:un},Be.createElement("div",{className:ue()(`${$e}-image`,Xe),style:Fe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${$e}-image-svg`},Be.createElement("path",{d:Se,className:`${$e}-image-path`})))))},Ae=ve=>{const{prefixCls:fe,className:Xe,rootClassName:bt,active:Fe,block:Ce,size:at="default"}=ve,{getPrefixCls:$e}=Be.useContext(Te.E_),De=$e("skeleton",fe),[gt,un]=pe(De),en=(0,Ie.Z)(ve,["prefixCls"]),zt=ue()(De,`${De}-element`,{[`${De}-active`]:Fe,[`${De}-block`]:Ce},Xe,bt,un);return gt(Be.createElement("div",{className:zt},Be.createElement(le,Object.assign({prefixCls:`${De}-input`,size:at},en))))},mt=te(5891),At={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Et=At,dt=te(88853),Qt=function(fe,Xe){return Be.createElement(dt.Z,(0,mt.Z)({},fe,{ref:Xe,icon:Et}))},St=Be.forwardRef(Qt),an=St,nt=ve=>{const{prefixCls:fe,className:Xe,rootClassName:bt,style:Fe,active:Ce,children:at}=ve,{getPrefixCls:$e}=Be.useContext(Te.E_),De=$e("skeleton",fe),[gt,un]=pe(De),en=ue()(De,`${De}-element`,{[`${De}-active`]:Ce},un,Xe,bt),zt=at!=null?at:Be.createElement(an,null);return gt(Be.createElement("div",{className:en},Be.createElement("div",{className:ue()(`${De}-image`,Xe),style:Fe},zt)))},et=te(26390),hn=ve=>{const fe=$e=>{const{width:De,rows:gt=2}=ve;if(Array.isArray(De))return De[$e];if(gt-1===$e)return De},{prefixCls:Xe,className:bt,style:Fe,rows:Ce}=ve,at=(0,et.Z)(Array(Ce)).map(($e,De)=>Be.createElement("li",{key:De,style:{width:fe(De)}}));return Be.createElement("ul",{className:ue()(Xe,bt),style:Fe},at)},vn=ve=>{let{prefixCls:fe,className:Xe,width:bt,style:Fe}=ve;return Be.createElement("h3",{className:ue()(fe,Xe),style:Object.assign({width:bt},Fe)})};function Ge(ve){return ve&&typeof ve=="object"?ve:{}}function Dt(ve,fe){return ve&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Kt(ve,fe){return!ve&&fe?{width:"38%"}:ve&&fe?{width:"50%"}:{}}function Mt(ve,fe){const Xe={};return(!ve||!fe)&&(Xe.width="61%"),!ve&&fe?Xe.rows=3:Xe.rows=2,Xe}const pt=ve=>{const{prefixCls:fe,loading:Xe,className:bt,rootClassName:Fe,style:Ce,children:at,avatar:$e=!1,title:De=!0,paragraph:gt=!0,active:un,round:en}=ve,{getPrefixCls:zt,direction:ln,skeleton:on}=Be.useContext(Te.E_),ze=zt("skeleton",fe),[wt,Ot]=pe(ze);if(Xe||!("loading"in ve)){const Pt=!!$e,Nt=!!De,fn=!!gt;let Pn;if(Pt){const ta=Object.assign(Object.assign({prefixCls:`${ze}-avatar`},Dt(Nt,fn)),Ge($e));Pn=Be.createElement("div",{className:`${ze}-header`},Be.createElement(le,Object.assign({},ta)))}let bn;if(Nt||fn){let ta;if(Nt){const jn=Object.assign(Object.assign({prefixCls:`${ze}-title`},Kt(Pt,fn)),Ge(De));ta=Be.createElement(vn,Object.assign({},jn))}let oa;if(fn){const jn=Object.assign(Object.assign({prefixCls:`${ze}-paragraph`},Mt(Pt,Nt)),Ge(gt));oa=Be.createElement(hn,Object.assign({},jn))}bn=Be.createElement("div",{className:`${ze}-content`},ta,oa)}const Ln=ue()(ze,{[`${ze}-with-avatar`]:Pt,[`${ze}-active`]:un,[`${ze}-rtl`]:ln==="rtl",[`${ze}-round`]:en},on==null?void 0:on.className,bt,Fe,Ot);return wt(Be.createElement("div",{className:Ln,style:Object.assign(Object.assign({},on==null?void 0:on.style),Ce)},Pn,bn))}return typeof at!="undefined"?at:null};pt.Button=Ye,pt.Avatar=je,pt.Input=Ae,pt.Image=qe,pt.Node=nt;var rt=pt,_e=rt},81327:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return x}});var b=te(59301),ue=te(92310),Be=te.n(ue),Te=te(38298),Ie=te(36355),Oe=te(33234);const le=b.createContext({latestIndex:0}),ut=le.Provider;var Ue=E=>{let{className:z,index:ne,children:re,split:ie,style:de}=E;const{latestIndex:pe}=b.useContext(le);return re==null?null:b.createElement(b.Fragment,null,b.createElement("div",{className:z,style:de},re),ne<pe&&ie&&b.createElement("span",{className:`${z}-split`},ie))},Qe=te(2856);function tt(E){return["small","middle","large"].includes(E)}function Je(E){return E?typeof E=="number"&&!Number.isNaN(E):!1}var se=function(E,z){var ne={};for(var re in E)Object.prototype.hasOwnProperty.call(E,re)&&z.indexOf(re)<0&&(ne[re]=E[re]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,re=Object.getOwnPropertySymbols(E);ie<re.length;ie++)z.indexOf(re[ie])<0&&Object.prototype.propertyIsEnumerable.call(E,re[ie])&&(ne[re[ie]]=E[re[ie]]);return ne};const a=b.forwardRef((E,z)=>{var ne,re;const{getPrefixCls:ie,space:de,direction:pe}=b.useContext(Ie.E_),{size:Pe=(de==null?void 0:de.size)||"small",align:je,className:Le,rootClassName:Ye,children:Se,direction:Me="horizontal",prefixCls:qe,split:ht,style:Ae,wrap:mt=!1,classNames:At,styles:Et}=E,dt=se(E,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Qt,St]=Array.isArray(Pe)?Pe:[Pe,Pe],an=tt(St),En=tt(Qt),nt=Je(St),et=Je(Qt),Yt=(0,Te.Z)(Se,{keepEmpty:!0}),hn=je===void 0&&Me==="horizontal"?"center":je,Tt=ie("space",qe),[vn,Ge]=(0,Qe.Z)(Tt),Dt=Be()(Tt,de==null?void 0:de.className,Ge,`${Tt}-${Me}`,{[`${Tt}-rtl`]:pe==="rtl",[`${Tt}-align-${hn}`]:hn,[`${Tt}-gap-row-${St}`]:an,[`${Tt}-gap-col-${Qt}`]:En},Le,Ye),Kt=Be()(`${Tt}-item`,(ne=At==null?void 0:At.item)!==null&&ne!==void 0?ne:(re=de==null?void 0:de.classNames)===null||re===void 0?void 0:re.item);let Mt=0;const pt=Yt.map((ve,fe)=>{var Xe,bt;ve!=null&&(Mt=fe);const Fe=ve&&ve.key||`${Kt}-${fe}`;return b.createElement(Ue,{className:Kt,key:Fe,index:fe,split:ht,style:(Xe=Et==null?void 0:Et.item)!==null&&Xe!==void 0?Xe:(bt=de==null?void 0:de.styles)===null||bt===void 0?void 0:bt.item},ve)}),rt=b.useMemo(()=>({latestIndex:Mt}),[Mt]);if(Yt.length===0)return null;const _e={};return mt&&(_e.flexWrap="wrap"),!En&&et&&(_e.columnGap=Qt),!an&&nt&&(_e.rowGap=St),vn(b.createElement("div",Object.assign({ref:z,className:Dt,style:Object.assign(Object.assign(Object.assign({},_e),de==null?void 0:de.style),Ae)},dt),b.createElement(ut,{value:rt},pt)))});a.Compact=Oe.ZP;var x=a},31797:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return pe}});var b=te(59301),ue=te(56762),Be=te(92343),Te=te(92310),Ie=te.n(Te),Oe=te(36355),le=te(78485),ot=Pe=>{const{value:je,formatter:Le,precision:Ye,decimalSeparator:Se,groupSeparator:Me="",prefixCls:qe}=Pe;let ht;if(typeof Le=="function")ht=Le(je);else{const Ae=String(je),mt=Ae.match(/^(-?)(\d*)(\.(\d+))?$/);if(!mt||Ae==="-")ht=Ae;else{const At=mt[1];let Et=mt[2]||"0",dt=mt[4]||"";Et=Et.replace(/\B(?=(\d{3})+(?!\d))/g,Me),typeof Ye=="number"&&(dt=dt.padEnd(Ye,"0").slice(0,Ye>0?Ye:0)),dt&&(dt=`${Se}${dt}`),ht=[b.createElement("span",{key:"int",className:`${qe}-content-value-int`},At,Et),dt&&b.createElement("span",{key:"decimal",className:`${qe}-content-value-decimal`},dt)]}}return b.createElement("span",{className:`${qe}-content-value`},ht)},Ue=te(17313),Qe=te(83116),tt=te(37613);const Je=Pe=>{const{componentCls:je,marginXXS:Le,padding:Ye,colorTextDescription:Se,titleFontSize:Me,colorTextHeading:qe,contentFontSize:ht,fontFamily:Ae}=Pe;return{[`${je}`]:Object.assign(Object.assign({},(0,Ue.Wf)(Pe)),{[`${je}-title`]:{marginBottom:Le,color:Se,fontSize:Me},[`${je}-skeleton`]:{paddingTop:Ye},[`${je}-content`]:{color:qe,fontSize:ht,fontFamily:Ae,[`${je}-content-value`]:{display:"inline-block",direction:"ltr"},[`${je}-content-prefix, ${je}-content-suffix`]:{display:"inline-block"},[`${je}-content-prefix`]:{marginInlineEnd:Le},[`${je}-content-suffix`]:{marginInlineStart:Le}}})}};var se=(0,Qe.Z)("Statistic",Pe=>{const je=(0,tt.TS)(Pe,{});return[Je(je)]},Pe=>{const{fontSizeHeading3:je,fontSize:Le}=Pe;return{titleFontSize:Le,contentFontSize:je}}),a=Pe=>{const{prefixCls:je,className:Le,rootClassName:Ye,style:Se,valueStyle:Me,value:qe=0,title:ht,valueRender:Ae,prefix:mt,suffix:At,loading:Et=!1,onMouseEnter:dt,onMouseLeave:Qt,decimalSeparator:St=".",groupSeparator:an=","}=Pe,{getPrefixCls:En,direction:nt,statistic:et}=b.useContext(Oe.E_),Yt=En("statistic",je),[hn,Tt]=se(Yt),vn=b.createElement(ot,Object.assign({decimalSeparator:St,groupSeparator:an,prefixCls:Yt},Pe,{value:qe})),Ge=Ie()(Yt,{[`${Yt}-rtl`]:nt==="rtl"},et==null?void 0:et.className,Le,Ye,Tt);return hn(b.createElement("div",{className:Ge,style:Object.assign(Object.assign({},et==null?void 0:et.style),Se),onMouseEnter:dt,onMouseLeave:Qt},ht&&b.createElement("div",{className:`${Yt}-title`},ht),b.createElement(le.Z,{paragraph:!1,loading:Et,className:`${Yt}-skeleton`},b.createElement("div",{style:Me,className:`${Yt}-content`},mt&&b.createElement("span",{className:`${Yt}-content-prefix`},mt),Ae?Ae(vn):vn,At&&b.createElement("span",{className:`${Yt}-content-suffix`},At)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(Pe,je){let Le=Pe;const Ye=/\[[^\]]*]/g,Se=(je.match(Ye)||[]).map(Ae=>Ae.slice(1,-1)),Me=je.replace(Ye,"[]"),qe=x.reduce((Ae,mt)=>{let[At,Et]=mt;if(Ae.includes(At)){const dt=Math.floor(Le/Et);return Le-=dt*Et,Ae.replace(new RegExp(`${At}+`,"g"),Qt=>{const St=Qt.length;return dt.toString().padStart(St,"0")})}return Ae},Me);let ht=0;return qe.replace(Ye,()=>{const Ae=Se[ht];return ht+=1,Ae})}function z(Pe,je){const{format:Le=""}=je,Ye=new Date(Pe).getTime(),Se=Date.now(),Me=Math.max(Ye-Se,0);return E(Me,Le)}const ne=1e3/30;function re(Pe){return new Date(Pe).getTime()}const ie=Pe=>{const{value:je,format:Le="HH:mm:ss",onChange:Ye,onFinish:Se}=Pe,Me=(0,ue.Z)(),qe=b.useRef(null),ht=()=>{Se==null||Se(),qe.current&&(clearInterval(qe.current),qe.current=null)},Ae=()=>{const Et=re(je);Et>=Date.now()&&(qe.current=setInterval(()=>{Me(),Ye==null||Ye(Et-Date.now()),Et<Date.now()&&ht()},ne))};b.useEffect(()=>(Ae(),()=>{qe.current&&(clearInterval(qe.current),qe.current=null)}),[je]);const mt=(Et,dt)=>z(Et,Object.assign(Object.assign({},dt),{format:Le})),At=Et=>(0,Be.Tm)(Et,{title:void 0});return b.createElement(a,Object.assign({},Pe,{valueRender:At,formatter:mt}))};var de=b.memo(ie);a.Countdown=de;var pe=a},15969:function(Ut,Gt,te){"use strict";te.d(Gt,{N:function(){return b}});const b=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},2595:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Ka}});var b={},ue="rc-table-internal-hook",Be=te(29043),Te=te(8107),Ie=te(28800),Oe=te(51346),le=te(59301),ut=te(4676);function ot(me){var ge=le.createContext(void 0),be=function(Ne){var He=Ne.value,vt=Ne.children,Bt=le.useRef(He);Bt.current=He;var it=le.useState(function(){return{getValue:function(){return Bt.current},listeners:new Set}}),Ht=(0,Be.Z)(it,1),Ft=Ht[0];return(0,Ie.Z)(function(){(0,ut.unstable_batchedUpdates)(function(){Ft.listeners.forEach(function(Xt){Xt(He)})})},[He]),le.createElement(ge.Provider,{value:Ft},vt)};return{Context:ge,Provider:be,defaultValue:me}}function Ue(me,ge){var be=(0,Te.Z)(typeof ge=="function"?ge:function(Xt){if(ge===void 0)return Xt;if(!Array.isArray(ge))return Xt[ge];var Rn={};return ge.forEach(function(_t){Rn[_t]=Xt[_t]}),Rn}),ke=le.useContext(me==null?void 0:me.Context),Ne=ke||{},He=Ne.listeners,vt=Ne.getValue,Bt=le.useRef();Bt.current=be(ke?vt():me==null?void 0:me.defaultValue);var it=le.useState({}),Ht=(0,Be.Z)(it,2),Ft=Ht[1];return(0,Ie.Z)(function(){if(!ke)return;function Xt(Rn){var _t=be(Rn);(0,Oe.Z)(Bt.current,_t,!0)||Ft({})}return He.add(Xt),function(){He.delete(Xt)}},[ke]),Bt.current}var Qe=te(5891),tt=te(20475);function Je(){var me=le.createContext(null);function ge(){return le.useContext(me)}function be(Ne,He){var vt=(0,tt.Yr)(Ne),Bt=function(Ht,Ft){var Xt=vt?{ref:Ft}:{},Rn=le.useRef(0),_t=le.useRef(Ht),Lt=ge();return Lt!==null?le.createElement(Ne,(0,Qe.Z)({},Ht,Xt)):((!He||He(_t.current,Ht))&&(Rn.current+=1),_t.current=Ht,le.createElement(me.Provider,{value:Rn.current},le.createElement(Ne,(0,Qe.Z)({},Ht,Xt))))};return vt?le.forwardRef(Bt):Bt}function ke(Ne,He){var vt=(0,tt.Yr)(Ne),Bt=function(Ht,Ft){var Xt=vt?{ref:Ft}:{};return ge(),le.createElement(Ne,(0,Qe.Z)({},Ht,Xt))};return vt?le.memo(le.forwardRef(Bt),He):le.memo(Bt,He)}return{makeImmutable:be,responseImmutable:ke,useImmutableMark:ge}}var se=Je(),y=se.makeImmutable,a=se.responseImmutable,x=se.useImmutableMark,E=Je(),z=E.makeImmutable,ne=E.responseImmutable,re=E.useImmutableMark,ie=ot(),de=ie;function pe(me,ge){var be=le.useRef(0);be.current+=1;var ke=le.useRef(me),Ne=[];Object.keys(me||{}).map(function(vt){var Bt;(me==null?void 0:me[vt])!==((Bt=ke.current)===null||Bt===void 0?void 0:Bt[vt])&&Ne.push(vt)}),ke.current=me;var He=le.useRef([]);return Ne.length&&(He.current=Ne),le.useDebugValue(be.current),le.useDebugValue(He.current.join(", ")),ge&&console.log("".concat(ge,":"),be.current,He.current),be.current}var Pe=null,je=le.memo(function(){var me=pe();return le.createElement("h1",null,"Render Times: ",me)});je.displayName="RenderBlock";var Le=te(80665),Ye=te(57259),Se=te(80962),Me=te(92310),qe=te.n(Me),ht=te(79722),Ae=te(69004),mt=te(51395),At=le.createContext({renderWithProps:!1}),Et=At,dt="RC_TABLE_KEY";function Qt(me){return me==null?[]:Array.isArray(me)?me:[me]}function St(me){var ge=[],be={};return me.forEach(function(ke){for(var Ne=ke||{},He=Ne.key,vt=Ne.dataIndex,Bt=He||Qt(vt).join("-")||dt;be[Bt];)Bt="".concat(Bt,"_next");be[Bt]=!0,ge.push(Bt)}),ge}function an(me){return me!=null}function En(me){return me&&(0,Le.Z)(me)==="object"&&!Array.isArray(me)&&!le.isValidElement(me)}function nt(me,ge,be,ke,Ne,He){var vt=le.useContext(Et),Bt=re(),it=(0,ht.Z)(function(){if(an(ke))return[ke];var Ht=ge==null||ge===""?[]:Array.isArray(ge)?ge:[ge],Ft=(0,Ae.Z)(me,Ht),Xt=Ft,Rn=void 0;if(Ne){var _t=Ne(Ft,me,be);En(_t)?(Xt=_t.children,Rn=_t.props,vt.renderWithProps=!0):Xt=_t}return[Xt,Rn]},[Bt,me,ke,ge,Ne,be],function(Ht,Ft){if(He){var Xt=(0,Be.Z)(Ht,2),Rn=Xt[1],_t=(0,Be.Z)(Ft,2),Lt=_t[1];return He(Lt,Rn)}return vt.renderWithProps?!0:!(0,Oe.Z)(Ht,Ft,!0)});return it}function et(me,ge,be,ke){var Ne=me+ge-1;return me<=ke&&Ne>=be}function Yt(me,ge){return Ue(de,function(be){var ke=et(me,ge||1,be.hoverStartRow,be.hoverEndRow);return[ke,be.onHover]})}var hn=function(ge){var be=ge.ellipsis,ke=ge.rowType,Ne=ge.children,He,vt=be===!0?{showTitle:!0}:be;return vt&&(vt.showTitle||ke==="header")&&(typeof Ne=="string"||typeof Ne=="number"?He=Ne.toString():le.isValidElement(Ne)&&typeof Ne.props.children=="string"&&(He=Ne.props.children)),He};function Tt(me){var ge,be,ke,Ne,He,vt,Bt,it,Ht=me.component,Ft=me.children,Xt=me.ellipsis,Rn=me.scope,_t=me.prefixCls,Lt=me.className,$n=me.align,Kn=me.record,Yn=me.render,Qn=me.dataIndex,ea=me.renderIndex,xn=me.shouldCellUpdate,ba=me.index,ya=me.rowType,Za=me.colSpan,ja=me.rowSpan,la=me.fixLeft,Sa=me.fixRight,ha=me.firstFixLeft,Wn=me.lastFixLeft,ca=me.firstFixRight,Ta=me.lastFixRight,qa=me.appendNode,nr=me.additionalProps,Wa=nr===void 0?{}:nr,gr=me.isSticky,Sr="".concat(_t,"-cell"),Wr=Ue(de,["supportSticky","allColumnsFixedLeft"]),_r=Wr.supportSticky,ho=Wr.allColumnsFixedLeft,eo=nt(Kn,Qn,ea,Ft,Yn,xn),Br=(0,Be.Z)(eo,2),Do=Br[0],Ur=Br[1],So={},oo=typeof la=="number"&&_r,Jo=typeof Sa=="number"&&_r;oo&&(So.position="sticky",So.left=la),Jo&&(So.position="sticky",So.right=Sa);var or=(ge=(be=(ke=Ur==null?void 0:Ur.colSpan)!==null&&ke!==void 0?ke:Wa.colSpan)!==null&&be!==void 0?be:Za)!==null&&ge!==void 0?ge:1,ir=(Ne=(He=(vt=Ur==null?void 0:Ur.rowSpan)!==null&&vt!==void 0?vt:Wa.rowSpan)!==null&&He!==void 0?He:ja)!==null&&Ne!==void 0?Ne:1,_a=Yt(ba,ir),er=(0,Be.Z)(_a,2),Gr=er[0],tr=er[1],sr=function(No){var Io;Kn&&tr(ba,ba+ir-1),Wa==null||(Io=Wa.onMouseEnter)===null||Io===void 0||Io.call(Wa,No)},Rr=function(No){var Io;Kn&&tr(-1,-1),Wa==null||(Io=Wa.onMouseLeave)===null||Io===void 0||Io.call(Wa,No)};if(or===0||ir===0)return null;var Dr=(Bt=Wa.title)!==null&&Bt!==void 0?Bt:hn({rowType:ya,ellipsis:Xt,children:Do}),io=qe()(Sr,Lt,(it={},(0,Se.Z)(it,"".concat(Sr,"-fix-left"),oo&&_r),(0,Se.Z)(it,"".concat(Sr,"-fix-left-first"),ha&&_r),(0,Se.Z)(it,"".concat(Sr,"-fix-left-last"),Wn&&_r),(0,Se.Z)(it,"".concat(Sr,"-fix-left-all"),Wn&&ho&&_r),(0,Se.Z)(it,"".concat(Sr,"-fix-right"),Jo&&_r),(0,Se.Z)(it,"".concat(Sr,"-fix-right-first"),ca&&_r),(0,Se.Z)(it,"".concat(Sr,"-fix-right-last"),Ta&&_r),(0,Se.Z)(it,"".concat(Sr,"-ellipsis"),Xt),(0,Se.Z)(it,"".concat(Sr,"-with-append"),qa),(0,Se.Z)(it,"".concat(Sr,"-fix-sticky"),(oo||Jo)&&gr&&_r),(0,Se.Z)(it,"".concat(Sr,"-row-hover"),!Ur&&Gr),it),Wa.className,Ur==null?void 0:Ur.className),wo={};$n&&(wo.textAlign=$n);var _o=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},So),Wa.style),wo),Ur==null?void 0:Ur.style),Ro=Do;return(0,Le.Z)(Ro)==="object"&&!Array.isArray(Ro)&&!le.isValidElement(Ro)&&(Ro=null),Xt&&(Wn||ca)&&(Ro=le.createElement("span",{className:"".concat(Sr,"-content")},Ro)),le.createElement(Ht,(0,Qe.Z)({},Ur,Wa,{className:io,style:_o,title:Dr,scope:Rn,onMouseEnter:sr,onMouseLeave:Rr,colSpan:or!==1?or:null,rowSpan:ir!==1?ir:null}),qa,Ro)}var vn=le.memo(Tt);function Ge(me,ge,be,ke,Ne,He){var vt=be[me]||{},Bt=be[ge]||{},it,Ht;vt.fixed==="left"?it=ke.left[Ne==="rtl"?ge:me]:Bt.fixed==="right"&&(Ht=ke.right[Ne==="rtl"?me:ge]);var Ft=!1,Xt=!1,Rn=!1,_t=!1,Lt=be[ge+1],$n=be[me-1],Kn=!(He!=null&&He.children);if(Ne==="rtl"){if(it!==void 0){var Yn=$n&&$n.fixed==="left";_t=!Yn&&Kn}else if(Ht!==void 0){var Qn=Lt&&Lt.fixed==="right";Rn=!Qn&&Kn}}else if(it!==void 0){var ea=Lt&&Lt.fixed==="left";Ft=!ea&&Kn}else if(Ht!==void 0){var xn=$n&&$n.fixed==="right";Xt=!xn&&Kn}return{fixLeft:it,fixRight:Ht,lastFixLeft:Ft,firstFixRight:Xt,lastFixRight:Rn,firstFixLeft:_t,isSticky:ke.isSticky}}var Dt=le.createContext({}),Kt=Dt;function Mt(me){var ge=me.className,be=me.index,ke=me.children,Ne=me.colSpan,He=Ne===void 0?1:Ne,vt=me.rowSpan,Bt=me.align,it=Ue(de,["prefixCls","direction"]),Ht=it.prefixCls,Ft=it.direction,Xt=le.useContext(Kt),Rn=Xt.scrollColumnIndex,_t=Xt.stickyOffsets,Lt=Xt.flattenColumns,$n=Xt.columns,Kn=be+He-1,Yn=Kn+1===Rn?He+1:He,Qn=Ge(be,be+Yn-1,Lt,_t,Ft,$n==null?void 0:$n[be]);return le.createElement(vn,(0,Qe.Z)({className:ge,index:be,component:"td",prefixCls:Ht,record:null,dataIndex:null,align:Bt,colSpan:Yn,rowSpan:vt,render:function(){return ke}},Qn))}var pt=te(19149),rt=["children"];function _e(me){var ge=me.children,be=(0,pt.Z)(me,rt);return le.createElement("tr",be,ge)}function ve(me){var ge=me.children;return ge}ve.Row=_e,ve.Cell=Mt;var fe=ve;function Xe(me){var ge=me.children,be=me.stickyOffsets,ke=me.flattenColumns,Ne=me.columns,He=Ue(de,"prefixCls"),vt=ke.length-1,Bt=ke[vt],it=le.useMemo(function(){return{stickyOffsets:be,flattenColumns:ke,scrollColumnIndex:Bt!=null&&Bt.scrollbar?vt:null,columns:Ne}},[Bt,ke,vt,be,Ne]);return le.createElement(Kt.Provider,{value:it},le.createElement("tfoot",{className:"".concat(He,"-summary")},ge))}var bt=ne(Xe),Fe=fe,Ce=te(80764),at=te(29301),$e=te(48886),De=te(24387),gt=te(59055),un=te(36994);function en(me,ge,be,ke,Ne,He,vt){me.push({record:ge,indent:be,index:vt});var Bt=He(ge),it=Ne==null?void 0:Ne.has(Bt);if(ge&&Array.isArray(ge[ke])&&it)for(var Ht=0;Ht<ge[ke].length;Ht+=1)en(me,ge[ke][Ht],be+1,ke,Ne,He,Ht)}function zt(me,ge,be,ke){var Ne=le.useMemo(function(){if(be!=null&&be.size){for(var He=[],vt=0;vt<(me==null?void 0:me.length);vt+=1){var Bt=me[vt];en(He,Bt,0,ge,be,ke,vt)}return He}return me==null?void 0:me.map(function(it,Ht){return{record:it,indent:0,index:Ht}})},[me,ge,be,ke]);return Ne}function ln(me){var ge=me.prefixCls,be=me.children,ke=me.component,Ne=me.cellComponent,He=me.className,vt=me.expanded,Bt=me.colSpan,it=me.isEmpty,Ht=Ue(de,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ft=Ht.scrollbarSize,Xt=Ht.fixHeader,Rn=Ht.fixColumn,_t=Ht.componentWidth,Lt=Ht.horizonScroll,$n=be;return(it?Lt&&_t:Rn)&&($n=le.createElement("div",{style:{width:_t-(Xt?Ft:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ge,"-expanded-row-fixed")},$n)),le.createElement(ke,{className:He,style:{display:vt?null:"none"}},le.createElement(vn,{component:Ne,prefixCls:ge,colSpan:Bt},$n))}var on=ln;function ze(me,ge,be,ke){var Ne=Ue(de,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),He=Ne.flattenColumns,vt=Ne.expandableType,Bt=Ne.expandedKeys,it=Ne.childrenColumnName,Ht=Ne.onTriggerExpand,Ft=Ne.rowExpandable,Xt=Ne.onRow,Rn=Ne.expandRowByClick,_t=Ne.rowClassName,Lt=vt==="nest",$n=vt==="row"&&(!Ft||Ft(me)),Kn=$n||Lt,Yn=Bt&&Bt.has(ge),Qn=it&&me&&me[it],ea=(0,Ce.useEvent)(Ht),xn=Xt==null?void 0:Xt(me,be),ba=xn==null?void 0:xn.onClick,ya=function(Sa){Rn&&Kn&&Ht(me,Sa);for(var ha=arguments.length,Wn=new Array(ha>1?ha-1:0),ca=1;ca<ha;ca++)Wn[ca-1]=arguments[ca];ba==null||ba.apply(void 0,[Sa].concat(Wn))},Za;typeof _t=="string"?Za=_t:typeof _t=="function"&&(Za=_t(me,be,ke));var ja=St(He);return(0,Ye.Z)((0,Ye.Z)({},Ne),{},{columnsKey:ja,nestExpandable:Lt,expanded:Yn,hasNestChildren:Qn,record:me,onTriggerExpand:ea,rowSupportExpand:$n,expandable:Kn,rowProps:(0,Ye.Z)((0,Ye.Z)({},xn),{},{className:qe()(Za,xn==null?void 0:xn.className),onClick:ya})})}function wt(me,ge,be,ke,Ne){var He=me.record,vt=me.prefixCls,Bt=me.columnsKey,it=me.fixedInfoList,Ht=me.expandIconColumnIndex,Ft=me.nestExpandable,Xt=me.indentSize,Rn=me.expandIcon,_t=me.expanded,Lt=me.hasNestChildren,$n=me.onTriggerExpand,Kn=Bt[be],Yn=it[be],Qn;be===(Ht||0)&&Ft&&(Qn=le.createElement(le.Fragment,null,le.createElement("span",{style:{paddingLeft:"".concat(Xt*ke,"px")},className:"".concat(vt,"-row-indent indent-level-").concat(ke)}),Rn({prefixCls:vt,expanded:_t,expandable:Lt,record:He,onExpand:$n})));var ea;return ge.onCell&&(ea=ge.onCell(He,Ne)),{key:Kn,fixedInfo:Yn,appendCellNode:Qn,additionalCellProps:ea||{}}}function Ot(me){var ge=me.className,be=me.style,ke=me.record,Ne=me.index,He=me.renderIndex,vt=me.rowKey,Bt=me.indent,it=Bt===void 0?0:Bt,Ht=me.rowComponent,Ft=me.cellComponent,Xt=me.scopeCellComponent,Rn=ze(ke,vt,Ne,it),_t=Rn.prefixCls,Lt=Rn.flattenColumns,$n=Rn.expandedRowClassName,Kn=Rn.expandedRowRender,Yn=Rn.rowProps,Qn=Rn.expanded,ea=Rn.rowSupportExpand,xn=le.useState(!1),ba=(0,Be.Z)(xn,2),ya=ba[0],Za=ba[1];le.useEffect(function(){Qn&&Za(!0)},[Qn]);var ja=le.createElement(Ht,(0,Qe.Z)({},Yn,{"data-row-key":vt,className:qe()(ge,"".concat(_t,"-row"),"".concat(_t,"-row-level-").concat(it),Yn==null?void 0:Yn.className),style:(0,Ye.Z)((0,Ye.Z)({},be),Yn==null?void 0:Yn.style)}),Lt.map(function(Wn,ca){var Ta=Wn.render,qa=Wn.dataIndex,nr=Wn.className,Wa=wt(Rn,Wn,ca,it,Ne),gr=Wa.key,Sr=Wa.fixedInfo,Wr=Wa.appendCellNode,_r=Wa.additionalCellProps;return le.createElement(vn,(0,Qe.Z)({className:nr,ellipsis:Wn.ellipsis,align:Wn.align,scope:Wn.rowScope,component:Wn.rowScope?Xt:Ft,prefixCls:_t,key:gr,record:ke,index:Ne,renderIndex:He,dataIndex:qa,render:Ta,shouldCellUpdate:Wn.shouldCellUpdate},Sr,{appendNode:Wr,additionalProps:_r}))})),la;if(ea&&(ya||Qn)){var Sa=Kn(ke,Ne,it+1,Qn),ha=$n&&$n(ke,Ne,it);la=le.createElement(on,{expanded:Qn,className:qe()("".concat(_t,"-expanded-row"),"".concat(_t,"-expanded-row-level-").concat(it+1),ha),prefixCls:_t,component:Ht,cellComponent:Ft,colSpan:Lt.length,isEmpty:!1},Sa)}return le.createElement(le.Fragment,null,ja,la)}Ot.displayName="BodyRow";var Pt=ne(Ot);function Nt(me){var ge=me.columnKey,be=me.onColumnResize,ke=le.useRef();return le.useEffect(function(){ke.current&&be(ge,ke.current.offsetWidth)},[]),le.createElement(at.Z,{data:ge},le.createElement("td",{ref:ke,style:{padding:0,border:0,height:0}},le.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function fn(me){var ge=me.prefixCls,be=me.columnsKey,ke=me.onColumnResize;return le.createElement("tr",{"aria-hidden":"true",className:"".concat(ge,"-measure-row"),style:{height:0,fontSize:0}},le.createElement(at.Z.Collection,{onBatchResize:function(He){He.forEach(function(vt){var Bt=vt.data,it=vt.size;ke(Bt,it.offsetWidth)})}},be.map(function(Ne){return le.createElement(Nt,{key:Ne,columnKey:Ne,onColumnResize:ke})})))}function Pn(me){var ge=me.data,be=me.measureColumnWidth,ke=Ue(de,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Ne=ke.prefixCls,He=ke.getComponent,vt=ke.onColumnResize,Bt=ke.flattenColumns,it=ke.getRowKey,Ht=ke.expandedKeys,Ft=ke.childrenColumnName,Xt=ke.emptyNode,Rn=zt(ge,Ft,Ht,it),_t=le.useRef({renderWithProps:!1}),Lt=He(["body","wrapper"],"tbody"),$n=He(["body","row"],"tr"),Kn=He(["body","cell"],"td"),Yn=He(["body","cell"],"th"),Qn;ge.length?Qn=Rn.map(function(xn,ba){var ya=xn.record,Za=xn.indent,ja=xn.index,la=it(ya,ba);return le.createElement(Pt,{key:la,rowKey:la,record:ya,index:ba,renderIndex:ja,rowComponent:$n,cellComponent:Kn,scopeCellComponent:Yn,getRowKey:it,indent:Za})}):Qn=le.createElement(on,{expanded:!0,className:"".concat(Ne,"-placeholder"),prefixCls:Ne,component:$n,cellComponent:Kn,colSpan:Bt.length,isEmpty:!0},Xt);var ea=St(Bt);return le.createElement(Et.Provider,{value:_t.current},le.createElement(Lt,{className:"".concat(Ne,"-tbody")},be&&le.createElement(fn,{prefixCls:Ne,columnsKey:ea,onColumnResize:vt}),Qn))}Pn.displayName="Body";var bn=ne(Pn),Ln=["expandable"],ta="RC_TABLE_INTERNAL_COL_DEFINE";function oa(me){var ge=me.expandable,be=(0,pt.Z)(me,Ln),ke;return"expandable"in me?ke=(0,Ye.Z)((0,Ye.Z)({},be),ge):ke=be,ke.showExpandColumn===!1&&(ke.expandIconColumnIndex=-1),ke}var jn=["columnType"];function Ea(me){for(var ge=me.colWidths,be=me.columns,ke=me.columCount,Ne=[],He=ke||be.length,vt=!1,Bt=He-1;Bt>=0;Bt-=1){var it=ge[Bt],Ht=be&&be[Bt],Ft=Ht&&Ht[ta];if(it||Ft||vt){var Xt=Ft||{},Rn=Xt.columnType,_t=(0,pt.Z)(Xt,jn);Ne.unshift(le.createElement("col",(0,Qe.Z)({key:Bt,style:{width:it}},_t))),vt=!0}}return le.createElement("colgroup",null,Ne)}var pa=Ea,Hn=te(26390),Ba=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qt(me,ge){return(0,le.useMemo)(function(){for(var be=[],ke=0;ke<ge;ke+=1){var Ne=me[ke];if(Ne!==void 0)be[ke]=Ne;else return null}return be},[me.join("_"),ge])}var An=le.forwardRef(function(me,ge){var be=me.className,ke=me.noData,Ne=me.columns,He=me.flattenColumns,vt=me.colWidths,Bt=me.columCount,it=me.stickyOffsets,Ht=me.direction,Ft=me.fixHeader,Xt=me.stickyTopOffset,Rn=me.stickyBottomOffset,_t=me.stickyClassName,Lt=me.onScroll,$n=me.maxContentScroll,Kn=me.children,Yn=(0,pt.Z)(me,Ba),Qn=Ue(de,["prefixCls","scrollbarSize","isSticky"]),ea=Qn.prefixCls,xn=Qn.scrollbarSize,ba=Qn.isSticky,ya=ba&&!Ft?0:xn,Za=le.useRef(null),ja=le.useCallback(function(nr){(0,tt.mH)(ge,nr),(0,tt.mH)(Za,nr)},[]);le.useEffect(function(){var nr;function Wa(gr){var Sr=gr,Wr=Sr.currentTarget,_r=Sr.deltaX;_r&&(Lt({currentTarget:Wr,scrollLeft:Wr.scrollLeft+_r}),gr.preventDefault())}return(nr=Za.current)===null||nr===void 0||nr.addEventListener("wheel",Wa),function(){var gr;(gr=Za.current)===null||gr===void 0||gr.removeEventListener("wheel",Wa)}},[]);var la=le.useMemo(function(){return He.every(function(nr){return nr.width})},[He]),Sa=He[He.length-1],ha={fixed:Sa?Sa.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(ea,"-cell-scrollbar")}}},Wn=(0,le.useMemo)(function(){return ya?[].concat((0,Hn.Z)(Ne),[ha]):Ne},[ya,Ne]),ca=(0,le.useMemo)(function(){return ya?[].concat((0,Hn.Z)(He),[ha]):He},[ya,He]),Ta=(0,le.useMemo)(function(){var nr=it.right,Wa=it.left;return(0,Ye.Z)((0,Ye.Z)({},it),{},{left:Ht==="rtl"?[].concat((0,Hn.Z)(Wa.map(function(gr){return gr+ya})),[0]):Wa,right:Ht==="rtl"?nr:[].concat((0,Hn.Z)(nr.map(function(gr){return gr+ya})),[0]),isSticky:ba})},[ya,it,ba]),qa=qt(vt,Bt);return le.createElement("div",{style:(0,Ye.Z)({overflow:"hidden"},ba?{top:Xt,bottom:Rn}:{}),ref:ja,className:qe()(be,(0,Se.Z)({},_t,!!_t))},le.createElement("table",{style:{tableLayout:"fixed",visibility:ke||qa?null:"hidden"}},(!ke||!$n||la)&&le.createElement(pa,{colWidths:qa?[].concat((0,Hn.Z)(qa),[ya]):[],columCount:Bt+1,columns:ca}),Kn((0,Ye.Z)((0,Ye.Z)({},Yn),{},{stickyOffsets:Ta,columns:Wn,flattenColumns:ca}))))});An.displayName="FixedHolder";var Fn=le.memo(An);function Xn(me){var ge=me.cells,be=me.stickyOffsets,ke=me.flattenColumns,Ne=me.rowComponent,He=me.cellComponent,vt=me.tdCellComponent,Bt=me.onHeaderRow,it=me.index,Ht=Ue(de,["prefixCls","direction"]),Ft=Ht.prefixCls,Xt=Ht.direction,Rn;Bt&&(Rn=Bt(ge.map(function(Lt){return Lt.column}),it));var _t=St(ge.map(function(Lt){return Lt.column}));return le.createElement(Ne,Rn,ge.map(function(Lt,$n){var Kn=Lt.column,Yn=Ge(Lt.colStart,Lt.colEnd,ke,be,Xt,Kn),Qn;return Kn&&Kn.onHeaderCell&&(Qn=Lt.column.onHeaderCell(Kn)),le.createElement(vn,(0,Qe.Z)({},Lt,{scope:Kn.title?Lt.colSpan>1?"colgroup":"col":null,ellipsis:Kn.ellipsis,align:Kn.align,component:Kn.title?He:vt,prefixCls:Ft,key:_t[$n]},Yn,{additionalProps:Qn,rowType:"header"}))}))}Xn.displayName="HeaderRow";var Ze=Xn;function It(me){var ge=[];function be(vt,Bt){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ge[it]=ge[it]||[];var Ht=Bt,Ft=vt.filter(Boolean).map(function(Xt){var Rn={key:Xt.key,className:Xt.className||"",children:Xt.title,column:Xt,colStart:Ht},_t=1,Lt=Xt.children;return Lt&&Lt.length>0&&(_t=be(Lt,Ht,it+1).reduce(function($n,Kn){return $n+Kn},0),Rn.hasSubColumns=!0),"colSpan"in Xt&&(_t=Xt.colSpan),"rowSpan"in Xt&&(Rn.rowSpan=Xt.rowSpan),Rn.colSpan=_t,Rn.colEnd=Rn.colStart+_t-1,ge[it].push(Rn),Ht+=_t,_t});return Ft}be(me,0);for(var ke=ge.length,Ne=function(Bt){ge[Bt].forEach(function(it){!("rowSpan"in it)&&!it.hasSubColumns&&(it.rowSpan=ke-Bt)})},He=0;He<ke;He+=1)Ne(He);return ge}function Zt(me){var ge=me.stickyOffsets,be=me.columns,ke=me.flattenColumns,Ne=me.onHeaderRow,He=Ue(de,["prefixCls","getComponent"]),vt=He.prefixCls,Bt=He.getComponent,it=le.useMemo(function(){return It(be)},[be]),Ht=Bt(["header","wrapper"],"thead"),Ft=Bt(["header","row"],"tr"),Xt=Bt(["header","cell"],"th"),Rn=Bt(["header","cell"],"td");return le.createElement(Ht,{className:"".concat(vt,"-thead")},it.map(function(_t,Lt){var $n=le.createElement(Ze,{key:Lt,flattenColumns:ke,cells:_t,stickyOffsets:ge,rowComponent:Ft,cellComponent:Xt,tdCellComponent:Rn,onHeaderRow:Ne,index:Lt});return $n}))}var Wt=ne(Zt),tn=te(38298);function jt(me){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ge=="number"?ge:ge.endsWith("%")?me*parseFloat(ge)/100:null}function pn(me,ge){return le.useMemo(function(){if(ge&&ge>0){var be=0,ke=0;me.forEach(function(Ht){var Ft=jt(ge,Ht.width);Ft?be+=Ft:ke+=1});var Ne=ge-be,He=ke,vt=Ne/ke,Bt=0,it=me.map(function(Ht){var Ft=(0,Ye.Z)({},Ht),Xt=jt(ge,Ft.width);if(Xt)Ft.width=Xt;else{var Rn=Math.floor(vt);Ft.width=He===1?Ne:Rn,Ne-=Rn,He-=1}return Bt+=Ft.width,Ft});return[it,Bt]}return[me,ge]},[me,ge])}var st=["children"],yt=["fixed"];function ct(me){return(0,tn.Z)(me).filter(function(ge){return le.isValidElement(ge)}).map(function(ge){var be=ge.key,ke=ge.props,Ne=ke.children,He=(0,pt.Z)(ke,st),vt=(0,Ye.Z)({key:be},He);return Ne&&(vt.children=ct(Ne)),vt})}function rn(me){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return me.filter(function(be){return be&&(0,Le.Z)(be)==="object"}).reduce(function(be,ke,Ne){var He=ke.fixed,vt=He===!0?"left":He,Bt="".concat(ge,"-").concat(Ne),it=ke.children;return it&&it.length>0?[].concat((0,Hn.Z)(be),(0,Hn.Z)(rn(it,Bt).map(function(Ht){return(0,Ye.Z)({fixed:vt},Ht)}))):[].concat((0,Hn.Z)(be),[(0,Ye.Z)((0,Ye.Z)({key:Bt},ke),{},{fixed:vt})])},[])}function In(me){for(var ge=!0,be=0;be<me.length;be+=1){var ke=me[be];if(ge&&ke.fixed!=="left")ge=!1;else if(!ge&&ke.fixed==="left"){warning(!1,"Index ".concat(be-1," of `columns` missing `fixed='left'` prop."));break}}for(var Ne=!0,He=me.length-1;He>=0;He-=1){var vt=me[He];if(Ne&&vt.fixed!=="right")Ne=!1;else if(!Ne&&vt.fixed==="right"){warning(!1,"Index ".concat(He+1," of `columns` missing `fixed='right'` prop."));break}}}function yn(me){return me.map(function(ge){var be=ge.fixed,ke=(0,pt.Z)(ge,yt),Ne=be;return be==="left"?Ne="right":be==="right"&&(Ne="left"),(0,Ye.Z)({fixed:Ne},ke)})}function ia(me,ge){var be=me.prefixCls,ke=me.columns,Ne=me.children,He=me.expandable,vt=me.expandedKeys,Bt=me.columnTitle,it=me.getRowKey,Ht=me.onTriggerExpand,Ft=me.expandIcon,Xt=me.rowExpandable,Rn=me.expandIconColumnIndex,_t=me.direction,Lt=me.expandRowByClick,$n=me.columnWidth,Kn=me.fixed,Yn=me.scrollWidth,Qn=le.useMemo(function(){return ke||ct(Ne)},[ke,Ne]),ea=le.useMemo(function(){if(He){var Sa,ha=Qn.slice();if(!ha.includes(b)){var Wn=Rn||0;Wn>=0&&ha.splice(Wn,0,b)}var ca=ha.indexOf(b);ha=ha.filter(function(Wa,gr){return Wa!==b||gr===ca});var Ta=Qn[ca],qa;(Kn==="left"||Kn)&&!Rn?qa="left":(Kn==="right"||Kn)&&Rn===Qn.length?qa="right":qa=Ta?Ta.fixed:null;var nr=(Sa={},(0,Se.Z)(Sa,ta,{className:"".concat(be,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Se.Z)(Sa,"title",Bt),(0,Se.Z)(Sa,"fixed",qa),(0,Se.Z)(Sa,"className","".concat(be,"-row-expand-icon-cell")),(0,Se.Z)(Sa,"width",$n),(0,Se.Z)(Sa,"render",function(gr,Sr,Wr){var _r=it(Sr,Wr),ho=vt.has(_r),eo=Xt?Xt(Sr):!0,Br=Ft({prefixCls:be,expanded:ho,expandable:eo,record:Sr,onExpand:Ht});return Lt?le.createElement("span",{onClick:function(Ur){return Ur.stopPropagation()}},Br):Br}),Sa);return ha.map(function(Wa){return Wa===b?nr:Wa})}return Qn.filter(function(Wa){return Wa!==b})},[He,Qn,it,vt,Ft,_t]),xn=le.useMemo(function(){var Sa=ea;return ge&&(Sa=ge(Sa)),Sa.length||(Sa=[{render:function(){return null}}]),Sa},[ge,ea,_t]),ba=le.useMemo(function(){return _t==="rtl"?yn(rn(xn)):rn(xn)},[xn,_t,Yn]),ya=pn(ba,Yn),Za=(0,Be.Z)(ya,2),ja=Za[0],la=Za[1];return[xn,ja,la]}var Un=ia;function lt(me){var ge,be=me.prefixCls,ke=me.record,Ne=me.onExpand,He=me.expanded,vt=me.expandable,Bt="".concat(be,"-row-expand-icon");if(!vt)return le.createElement("span",{className:qe()(Bt,"".concat(be,"-row-spaced"))});var it=function(Ft){Ne(ke,Ft),Ft.stopPropagation()};return le.createElement("span",{className:qe()(Bt,(ge={},(0,Se.Z)(ge,"".concat(be,"-row-expanded"),He),(0,Se.Z)(ge,"".concat(be,"-row-collapsed"),!He),ge)),onClick:it})}function $t(me,ge,be){var ke=[];function Ne(He){(He||[]).forEach(function(vt,Bt){ke.push(ge(vt,Bt)),Ne(vt[be])})}return Ne(me),ke}function qn(me,ge,be){var ke=oa(me),Ne=ke.expandIcon,He=ke.expandedRowKeys,vt=ke.defaultExpandedRowKeys,Bt=ke.defaultExpandAllRows,it=ke.expandedRowRender,Ht=ke.onExpand,Ft=ke.onExpandedRowsChange,Xt=ke.childrenColumnName,Rn=Ne||lt,_t=Xt||"children",Lt=le.useMemo(function(){return it?"row":me.expandable&&me.internalHooks===ue&&me.expandable.__PARENT_RENDER_ICON__||ge.some(function(ba){return ba&&(0,Le.Z)(ba)==="object"&&ba[_t]})?"nest":!1},[!!it,ge]),$n=le.useState(function(){return vt||(Bt?$t(ge,be,_t):[])}),Kn=(0,Be.Z)($n,2),Yn=Kn[0],Qn=Kn[1],ea=le.useMemo(function(){return new Set(He||Yn||[])},[He,Yn]),xn=le.useCallback(function(ba){var ya=be(ba,ge.indexOf(ba)),Za,ja=ea.has(ya);ja?(ea.delete(ya),Za=(0,Hn.Z)(ea)):Za=[].concat((0,Hn.Z)(ea),[ya]),Qn(Za),Ht&&Ht(!ja,ba),Ft&&Ft(Za)},[be,ea,ge,Ht,Ft]);return[ke,Lt,ea,Rn,_t,xn]}function nn(me,ge,be,ke){var Ne=me.map(function(He,vt){return Ge(vt,vt,me,ge,be,ke==null?void 0:ke[vt])});return(0,ht.Z)(function(){return Ne},[Ne],function(He,vt){return!(0,Oe.Z)(He,vt)})}function _n(me){var ge=(0,le.useRef)(me),be=(0,le.useState)({}),ke=(0,Be.Z)(be,2),Ne=ke[1],He=(0,le.useRef)(null),vt=(0,le.useRef)([]);function Bt(it){vt.current.push(it);var Ht=Promise.resolve();He.current=Ht,Ht.then(function(){if(He.current===Ht){var Ft=vt.current,Xt=ge.current;vt.current=[],Ft.forEach(function(Rn){ge.current=Rn(ge.current)}),He.current=null,Xt!==ge.current&&Ne({})}})}return(0,le.useEffect)(function(){return function(){He.current=null}},[]),[ge.current,Bt]}function Jn(me){var ge=(0,le.useRef)(me||null),be=(0,le.useRef)();function ke(){window.clearTimeout(be.current)}function Ne(vt){ge.current=vt,ke(),be.current=window.setTimeout(function(){ge.current=null,be.current=void 0},100)}function He(){return ge.current}return(0,le.useEffect)(function(){return ke},[]),[Ne,He]}function Ma(){var me=le.useState(-1),ge=(0,Be.Z)(me,2),be=ge[0],ke=ge[1],Ne=le.useState(-1),He=(0,Be.Z)(Ne,2),vt=He[0],Bt=He[1],it=le.useCallback(function(Ht,Ft){ke(Ht),Bt(Ft)},[]);return[be,vt,it]}var ma=te(87746),We=(0,ma.Z)()?window:null;function dn(me,ge){var be=(0,Le.Z)(me)==="object"?me:{},ke=be.offsetHeader,Ne=ke===void 0?0:ke,He=be.offsetSummary,vt=He===void 0?0:He,Bt=be.offsetScroll,it=Bt===void 0?0:Bt,Ht=be.getContainer,Ft=Ht===void 0?function(){return We}:Ht,Xt=Ft()||We;return le.useMemo(function(){var Rn=!!me;return{isSticky:Rn,stickyClassName:Rn?"".concat(ge,"-sticky-holder"):"",offsetHeader:Ne,offsetSummary:vt,offsetScroll:it,container:Xt}},[it,Ne,vt,ge,Xt])}function Jt(me,ge,be){var ke=(0,le.useMemo)(function(){for(var Ne=[],He=[],vt=0,Bt=0,it=0;it<ge;it+=1)if(be==="rtl"){He[it]=Bt,Bt+=me[it]||0;var Ht=ge-it-1;Ne[Ht]=vt,vt+=me[Ht]||0}else{Ne[it]=vt,vt+=me[it]||0;var Ft=ge-it-1;He[Ft]=Bt,Bt+=me[Ft]||0}return{left:Ne,right:He}},[me,ge,be]);return ke}var Sn=Jt;function On(me){var ge=me.className,be=me.children;return le.createElement("div",{className:ge},be)}var kn=On,Dn=te(8178),wn=te(21783),Aa=function(ge,be){var ke,Ne,He=ge.scrollBodyRef,vt=ge.onScroll,Bt=ge.offsetScroll,it=ge.container,Ht=Ue(de,"prefixCls"),Ft=((ke=He.current)===null||ke===void 0?void 0:ke.scrollWidth)||0,Xt=((Ne=He.current)===null||Ne===void 0?void 0:Ne.clientWidth)||0,Rn=Ft&&Xt*(Xt/Ft),_t=le.useRef(),Lt=_n({scrollLeft:0,isHiddenScrollBar:!1}),$n=(0,Be.Z)(Lt,2),Kn=$n[0],Yn=$n[1],Qn=le.useRef({delta:0,x:0}),ea=le.useState(!1),xn=(0,Be.Z)(ea,2),ba=xn[0],ya=xn[1],Za=function(){ya(!1)},ja=function(ca){ca.persist(),Qn.current.delta=ca.pageX-Kn.scrollLeft,Qn.current.x=0,ya(!0),ca.preventDefault()},la=function(ca){var Ta,qa=ca||((Ta=window)===null||Ta===void 0?void 0:Ta.event),nr=qa.buttons;if(!ba||nr===0){ba&&ya(!1);return}var Wa=Qn.current.x+ca.pageX-Qn.current.x-Qn.current.delta;Wa<=0&&(Wa=0),Wa+Rn>=Xt&&(Wa=Xt-Rn),vt({scrollLeft:Wa/Xt*(Ft+2)}),Qn.current.x=ca.pageX},Sa=function(){if(He.current){var ca=(0,wn.os)(He.current).top,Ta=ca+He.current.offsetHeight,qa=it===window?document.documentElement.scrollTop+window.innerHeight:(0,wn.os)(it).top+it.clientHeight;Ta-(0,gt.Z)()<=qa||ca>=qa-Bt?Yn(function(nr){return(0,Ye.Z)((0,Ye.Z)({},nr),{},{isHiddenScrollBar:!0})}):Yn(function(nr){return(0,Ye.Z)((0,Ye.Z)({},nr),{},{isHiddenScrollBar:!1})})}},ha=function(ca){Yn(function(Ta){return(0,Ye.Z)((0,Ye.Z)({},Ta),{},{scrollLeft:ca/Ft*Xt||0})})};return le.useImperativeHandle(be,function(){return{setScrollLeft:ha}}),le.useEffect(function(){var Wn=(0,Dn.Z)(document.body,"mouseup",Za,!1),ca=(0,Dn.Z)(document.body,"mousemove",la,!1);return Sa(),function(){Wn.remove(),ca.remove()}},[Rn,ba]),le.useEffect(function(){var Wn=(0,Dn.Z)(it,"scroll",Sa,!1),ca=(0,Dn.Z)(window,"resize",Sa,!1);return function(){Wn.remove(),ca.remove()}},[it]),le.useEffect(function(){Kn.isHiddenScrollBar||Yn(function(Wn){var ca=He.current;return ca?(0,Ye.Z)((0,Ye.Z)({},Wn),{},{scrollLeft:ca.scrollLeft/ca.scrollWidth*ca.clientWidth}):Wn})},[Kn.isHiddenScrollBar]),Ft<=Xt||!Rn||Kn.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,gt.Z)(),width:Xt,bottom:Bt},className:"".concat(Ht,"-sticky-scroll")},le.createElement("div",{onMouseDown:ja,ref:_t,className:qe()("".concat(Ht,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(Ht,"-sticky-scroll-bar-active"),ba)),style:{width:"".concat(Rn,"px"),transform:"translate3d(".concat(Kn.scrollLeft,"px, 0, 0)")}}))},La=le.forwardRef(Aa);function mn(me){return null}var Da=mn;function na(me){return null}var Qa=na,Ja="rc-table",Vn=[],sa={};function xa(){return"No Data"}function aa(me){var ge,be=(0,Ye.Z)({rowKey:"key",prefixCls:Ja,emptyText:xa},me),ke=be.prefixCls,Ne=be.className,He=be.rowClassName,vt=be.style,Bt=be.data,it=be.rowKey,Ht=be.scroll,Ft=be.tableLayout,Xt=be.direction,Rn=be.title,_t=be.footer,Lt=be.summary,$n=be.caption,Kn=be.id,Yn=be.showHeader,Qn=be.components,ea=be.emptyText,xn=be.onRow,ba=be.onHeaderRow,ya=be.internalHooks,Za=be.transformColumns,ja=be.internalRefs,la=be.tailor,Sa=be.sticky,ha=Bt||Vn,Wn=!!ha.length,ca=ya===ue,Ta=le.useCallback(function(Jr,Fo){return(0,Ae.Z)(Qn,Jr)||Fo},[Qn]),qa=le.useMemo(function(){return typeof it=="function"?it:function(Jr){var Fo=Jr&&Jr[it];return Fo}},[it]),nr=Ta(["body"]),Wa=Ma(),gr=(0,Be.Z)(Wa,3),Sr=gr[0],Wr=gr[1],_r=gr[2],ho=qn(be,ha,qa),eo=(0,Be.Z)(ho,6),Br=eo[0],Do=eo[1],Ur=eo[2],So=eo[3],oo=eo[4],Jo=eo[5],or=Ht==null?void 0:Ht.x,ir=le.useState(0),_a=(0,Be.Z)(ir,2),er=_a[0],Gr=_a[1],tr=Un((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},be),Br),{},{expandable:!!Br.expandedRowRender,columnTitle:Br.columnTitle,expandedKeys:Ur,getRowKey:qa,onTriggerExpand:Jo,expandIcon:So,expandIconColumnIndex:Br.expandIconColumnIndex,direction:Xt,scrollWidth:ca&&la&&typeof or=="number"?or:null}),ca?Za:null),sr=(0,Be.Z)(tr,3),Rr=sr[0],Dr=sr[1],io=sr[2],wo=io!=null?io:or,_o=le.useMemo(function(){return{columns:Rr,flattenColumns:Dr}},[Rr,Dr]),Ro=le.useRef(),ci=le.useRef(),No=le.useRef(),Io=le.useRef(),Ai=le.useRef(),Yr=le.useState(!1),to=(0,Be.Z)(Yr,2),fo=to[0],yo=to[1],lo=le.useState(!1),Tr=(0,Be.Z)(lo,2),Wo=Tr[0],$o=Tr[1],da=_n(new Map),Va=(0,Be.Z)(da,2),Pr=Va[0],yr=Va[1],Lr=St(Dr),zr=Lr.map(function(Jr){return Pr.get(Jr)}),so=le.useMemo(function(){return zr},[zr.join("_")]),Eo=Sn(so,Dr.length,Xt),co=Ht&&an(Ht.y),vo=Ht&&an(wo)||!!Br.fixed,ii=vo&&Dr.some(function(Jr){var Fo=Jr.fixed;return Fo}),zo=le.useRef(),ti=dn(Sa,ke),qo=ti.isSticky,fi=ti.offsetHeader,Xi=ti.offsetSummary,Kr=ti.offsetScroll,po=ti.stickyClassName,Mo=ti.container,bo=le.useMemo(function(){return Lt==null?void 0:Lt(ha)},[Lt,ha]),Uo=(co||qo)&&le.isValidElement(bo)&&bo.type===fe&&bo.props.fixed,Vo,Xo,Si;co&&(Xo={overflowY:"scroll",maxHeight:Ht.y}),vo&&(Vo={overflowX:"auto"},co||(Xo={overflowY:"hidden"}),Si={width:wo===!0?"auto":wo,minWidth:"100%"});var _i=le.useCallback(function(Jr,Fo){(0,$e.Z)(Ro.current)&&yr(function(Pi){if(Pi.get(Jr)!==Fo){var zi=new Map(Pi);return zi.set(Jr,Fo),zi}return Pi})},[]),_l=Jn(null),ml=(0,Be.Z)(_l,2),fl=ml[0],pl=ml[1];function Yi(Jr,Fo){Fo&&(typeof Fo=="function"?Fo(Jr):Fo.scrollLeft!==Jr&&(Fo.scrollLeft=Jr,Fo.scrollLeft!==Jr&&setTimeout(function(){Fo.scrollLeft=Jr},0)))}var vl=(0,Te.Z)(function(Jr){var Fo=Jr.currentTarget,Pi=Jr.scrollLeft,zi=Xt==="rtl",Hi=typeof Pi=="number"?Pi:Fo.scrollLeft,Vl=Fo||sa;if(!pl()||pl()===Vl){var Ps;fl(Vl),Yi(Hi,ci.current),Yi(Hi,No.current),Yi(Hi,Ai.current),Yi(Hi,(Ps=zo.current)===null||Ps===void 0?void 0:Ps.setScrollLeft)}var ys=Fo||ci.current;if(ys){var Es=ys.scrollWidth,bs=ys.clientWidth;if(Es===bs){yo(!1),$o(!1);return}zi?(yo(-Hi<Es-bs),$o(-Hi>0)):(yo(Hi>0),$o(Hi<Es-bs))}}),Is=function(){vo&&No.current?vl({currentTarget:No.current}):(yo(!1),$o(!1))},cu=function(Fo){var Pi=Fo.width;Pi!==er&&(Is(),Gr(Ro.current?Ro.current.offsetWidth:Pi))},qi=le.useRef(!1);le.useEffect(function(){qi.current&&Is()},[vo,Bt,Rr.length]),le.useEffect(function(){qi.current=!0},[]);var $s=le.useState(0),zl=(0,Be.Z)($s,2),Hl=zl[0],Ls=zl[1],Qs=le.useState(!0),jl=(0,Be.Z)(Qs,2),fs=jl[0],Js=jl[1];le.useEffect(function(){(!la||!ca)&&(No.current instanceof Element?Ls((0,gt.o)(No.current).width):Ls((0,gt.o)(Io.current).width)),Js((0,De.G)("position","sticky"))},[]),le.useEffect(function(){ca&&ja&&(ja.body.current=No.current)});var Xs=le.useCallback(function(Jr){return le.createElement(le.Fragment,null,le.createElement(Wt,Jr),Uo==="top"&&le.createElement(bt,Jr,bo))},[Uo,bo]),Ys=le.useCallback(function(Jr){return le.createElement(bt,Jr,bo)},[bo]),Os=Ta(["table"],"table"),Gl=le.useMemo(function(){return Ft||(ii?wo==="max-content"?"auto":"fixed":co||qo||Dr.some(function(Jr){var Fo=Jr.ellipsis;return Fo})?"fixed":"auto")},[co,ii,Dr,Ft,qo]),ps,vs={colWidths:so,columCount:Dr.length,stickyOffsets:Eo,onHeaderRow:ba,fixHeader:co,scroll:Ht},Rs=le.useMemo(function(){return Wn?null:typeof ea=="function"?ea():ea},[Wn,ea]),hl=le.createElement(bn,{data:ha,measureColumnWidth:co||vo||qo}),Ts=le.createElement(pa,{colWidths:Dr.map(function(Jr){var Fo=Jr.width;return Fo}),columns:Dr}),hs=$n!=null?le.createElement("caption",{className:"".concat(ke,"-caption")},$n):void 0,Kl=(0,un.Z)(be,{data:!0}),Ss=(0,un.Z)(be,{aria:!0});if(co||qo){var Wl;typeof nr=="function"?(Wl=nr(ha,{scrollbarSize:Hl,ref:No,onScroll:vl}),vs.colWidths=Dr.map(function(Jr,Fo){var Pi=Jr.width,zi=Fo===Dr.length-1?Pi-Hl:Pi;return typeof zi=="number"&&!Number.isNaN(zi)?zi:0})):Wl=le.createElement("div",{style:(0,Ye.Z)((0,Ye.Z)({},Vo),Xo),onScroll:vl,ref:No,className:qe()("".concat(ke,"-body"))},le.createElement(Os,(0,Qe.Z)({style:(0,Ye.Z)((0,Ye.Z)({},Si),{},{tableLayout:Gl})},Ss),hs,Ts,hl,!Uo&&bo&&le.createElement(bt,{stickyOffsets:Eo,flattenColumns:Dr,columns:Rr},bo)));var Ms=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({noData:!ha.length,maxContentScroll:vo&&wo==="max-content"},vs),_o),{},{direction:Xt,stickyClassName:po,onScroll:vl});ps=le.createElement(le.Fragment,null,Yn!==!1&&le.createElement(Fn,(0,Qe.Z)({},Ms,{stickyTopOffset:fi,className:"".concat(ke,"-header"),ref:ci}),Xs),Wl,Uo&&Uo!=="top"&&le.createElement(Fn,(0,Qe.Z)({},Ms,{stickyBottomOffset:Xi,className:"".concat(ke,"-summary"),ref:Ai}),Ys),qo&&le.createElement(La,{ref:zo,offsetScroll:Kr,scrollBodyRef:No,onScroll:vl,container:Mo}))}else ps=le.createElement("div",{style:(0,Ye.Z)((0,Ye.Z)({},Vo),Xo),className:qe()("".concat(ke,"-content")),onScroll:vl,ref:No},le.createElement(Os,(0,Qe.Z)({style:(0,Ye.Z)((0,Ye.Z)({},Si),{},{tableLayout:Gl})},Ss),hs,Ts,Yn!==!1&&le.createElement(Wt,(0,Qe.Z)({},vs,_o)),hl,bo&&le.createElement(bt,{stickyOffsets:Eo,flattenColumns:Dr,columns:Rr},bo)));var Ul=le.createElement("div",(0,Qe.Z)({className:qe()(ke,Ne,(ge={},(0,Se.Z)(ge,"".concat(ke,"-rtl"),Xt==="rtl"),(0,Se.Z)(ge,"".concat(ke,"-ping-left"),fo),(0,Se.Z)(ge,"".concat(ke,"-ping-right"),Wo),(0,Se.Z)(ge,"".concat(ke,"-layout-fixed"),Ft==="fixed"),(0,Se.Z)(ge,"".concat(ke,"-fixed-header"),co),(0,Se.Z)(ge,"".concat(ke,"-fixed-column"),ii),(0,Se.Z)(ge,"".concat(ke,"-scroll-horizontal"),vo),(0,Se.Z)(ge,"".concat(ke,"-has-fix-left"),Dr[0]&&Dr[0].fixed),(0,Se.Z)(ge,"".concat(ke,"-has-fix-right"),Dr[Dr.length-1]&&Dr[Dr.length-1].fixed==="right"),ge)),style:vt,id:Kn,ref:Ro},Kl),Rn&&le.createElement(kn,{className:"".concat(ke,"-title")},Rn(ha)),le.createElement("div",{ref:Io,className:"".concat(ke,"-container")},ps),_t&&le.createElement(kn,{className:"".concat(ke,"-footer")},_t(ha)));vo&&(Ul=le.createElement(at.Z,{onResize:cu},Ul));var ks=nn(Dr,Eo,Xt,Rr),qs=le.useMemo(function(){return{scrollX:wo,prefixCls:ke,getComponent:Ta,scrollbarSize:Hl,direction:Xt,fixedInfoList:ks,isSticky:qo,supportSticky:fs,componentWidth:er,fixHeader:co,fixColumn:ii,horizonScroll:vo,tableLayout:Gl,rowClassName:He,expandedRowClassName:Br.expandedRowClassName,expandIcon:So,expandableType:Do,expandRowByClick:Br.expandRowByClick,expandedRowRender:Br.expandedRowRender,onTriggerExpand:Jo,expandIconColumnIndex:Br.expandIconColumnIndex,indentSize:Br.indentSize,allColumnsFixedLeft:Dr.every(function(Jr){return Jr.fixed==="left"}),emptyNode:Rs,columns:Rr,flattenColumns:Dr,onColumnResize:_i,hoverStartRow:Sr,hoverEndRow:Wr,onHover:_r,rowExpandable:Br.rowExpandable,onRow:xn,getRowKey:qa,expandedKeys:Ur,childrenColumnName:oo}},[wo,ke,Ta,Hl,Xt,ks,qo,fs,er,co,ii,vo,Gl,He,Br.expandedRowClassName,So,Do,Br.expandRowByClick,Br.expandedRowRender,Jo,Br.expandIconColumnIndex,Br.indentSize,Rs,Rr,Dr,_i,Sr,Wr,_r,Br.rowExpandable,xn,qa,Ur,oo]);return le.createElement(de.Provider,{value:qs},Ul)}function za(me){return z(aa,me)}var ar=za();ar.EXPAND_COLUMN=b,ar.INTERNAL_HOOKS=ue,ar.Column=Da,ar.ColumnGroup=Qa,ar.Summary=Fe;var Ga=ar,mr=te(21881),Ua=ot(null),Cr=ot(null);function kr(me,ge,be){var ke=ge||1;return be[me+ke]-(be[me]||0)}function ao(me){var ge=me.rowInfo,be=me.column,ke=me.colIndex,Ne=me.indent,He=me.index,vt=me.renderIndex,Bt=me.record,it=me.style,Ht=me.className,Ft=me.inverse,Xt=me.getHeight,Rn=be.render,_t=be.dataIndex,Lt=be.className,$n=be.width,Kn=Ue(Cr,["columnsOffset"]),Yn=Kn.columnsOffset,Qn=wt(ge,be,ke,Ne,He),ea=Qn.key,xn=Qn.fixedInfo,ba=Qn.appendCellNode,ya=Qn.additionalCellProps,Za=ya.style,ja=ya.colSpan,la=ja===void 0?1:ja,Sa=ya.rowSpan,ha=Sa===void 0?1:Sa,Wn=ke-1,ca=kr(Wn,la,Yn),Ta=la>1?$n-ca:0,qa=(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},Za),it),{},{flex:"0 0 ".concat(ca,"px"),width:"".concat(ca,"px"),marginRight:Ta,pointerEvents:"auto"}),nr=le.useMemo(function(){return Ft?ha<=1:la===0||ha===0||ha>1},[ha,la,Ft]);nr?qa.visibility="hidden":Ft&&(qa.height=Xt==null?void 0:Xt(ha));var Wa=nr?function(){return null}:Rn,gr={};return(ha===0||la===0)&&(gr.rowSpan=1,gr.colSpan=1),le.createElement(vn,(0,Qe.Z)({className:qe()(Lt,Ht),ellipsis:be.ellipsis,align:be.align,scope:be.rowScope,component:"div",prefixCls:ge.prefixCls,key:ea,record:Bt,index:He,renderIndex:vt,dataIndex:_t,render:Wa,shouldCellUpdate:be.shouldCellUpdate},xn,{appendNode:ba,additionalProps:(0,Ye.Z)((0,Ye.Z)({},ya),{},{style:qa},gr)}))}var Er=ao,vr=["data","index","className","rowKey","style","extra","getHeight"],Zr=le.forwardRef(function(me,ge){var be=me.data,ke=me.index,Ne=me.className,He=me.rowKey,vt=me.style,Bt=me.extra,it=me.getHeight,Ht=(0,pt.Z)(me,vr),Ft=be.record,Xt=be.indent,Rn=be.index,_t=Ue(de,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Lt=_t.scrollX,$n=_t.flattenColumns,Kn=_t.prefixCls,Yn=_t.fixColumn,Qn=_t.componentWidth,ea=ze(Ft,He,ke,Xt),xn=ea.rowSupportExpand,ba=ea.expanded,ya=ea.rowProps,Za=ea.expandedRowRender,ja=ea.expandedRowClassName,la;if(xn&&ba){var Sa=Za(Ft,ke,Xt+1,ba),ha=ja==null?void 0:ja(Ft,ke,Xt),Wn={};Yn&&(Wn={style:(0,Se.Z)({},"--virtual-width","".concat(Qn,"px"))});var ca="".concat(Kn,"-expanded-row-cell");la=le.createElement("div",{className:qe()("".concat(Kn,"-expanded-row"),"".concat(Kn,"-expanded-row-level-").concat(Xt+1),ha)},le.createElement(vn,{component:"div",prefixCls:Kn,className:qe()(ca,(0,Se.Z)({},"".concat(ca,"-fixed"),Yn)),additionalProps:Wn},Sa))}var Ta=(0,Ye.Z)((0,Ye.Z)({},vt),{},{width:Lt});Bt&&(Ta.position="absolute",Ta.pointerEvents="none");var qa=le.createElement("div",(0,Qe.Z)({},ya,Ht,{ref:xn?null:ge,className:qe()(Ne,"".concat(Kn,"-row"),ya==null?void 0:ya.className,(0,Se.Z)({},"".concat(Kn,"-row-extra"),Bt)),style:(0,Ye.Z)((0,Ye.Z)({},Ta),ya==null?void 0:ya.style)}),$n.map(function(nr,Wa){return le.createElement(Er,{key:Wa,rowInfo:ea,column:nr,colIndex:Wa,indent:Xt,index:ke,renderIndex:Rn,record:Ft,inverse:Bt,getHeight:it})}));return xn?le.createElement("div",{ref:ge},qa,la):qa}),hr=ne(Zr),Fr=hr,ur=le.forwardRef(function(me,ge){var be=me.data,ke=me.onScroll,Ne=Ue(de,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),He=Ne.flattenColumns,vt=Ne.onColumnResize,Bt=Ne.getRowKey,it=Ne.expandedKeys,Ht=Ne.prefixCls,Ft=Ne.childrenColumnName,Xt=Ne.emptyNode,Rn=Ne.scrollX,_t=Ue(Ua),Lt=_t.scrollY,$n=_t.listItemHeight,Kn=le.useRef(),Yn=zt(be,Ft,it,Bt),Qn=le.useMemo(function(){var la=0;return He.map(function(Sa){var ha=Sa.width,Wn=Sa.key;return la+=ha,[Wn,ha,la]})},[He]),ea=le.useMemo(function(){return Qn.map(function(la){return la[2]})},[Qn]);le.useEffect(function(){Qn.forEach(function(la){var Sa=(0,Be.Z)(la,2),ha=Sa[0],Wn=Sa[1];vt(ha,Wn)})},[Qn]),le.useImperativeHandle(ge,function(){var la={};return Object.defineProperty(la,"scrollLeft",{get:function(){var ha;return((ha=Kn.current)===null||ha===void 0?void 0:ha.getScrollInfo().x)||0},set:function(ha){var Wn;(Wn=Kn.current)===null||Wn===void 0||Wn.scrollTo({left:ha})}}),la});var xn=function(Sa,ha){var Wn,ca=(Wn=Yn[ha])===null||Wn===void 0?void 0:Wn.record,Ta=Sa.onCell;if(Ta){var qa,nr=Ta(ca,ha);return(qa=nr==null?void 0:nr.rowSpan)!==null&&qa!==void 0?qa:1}return 1},ba=function(Sa){var ha=Sa.start,Wn=Sa.end,ca=Sa.getSize,Ta=Sa.offsetY;if(Wn<0)return null;for(var qa=He.filter(function(or){return xn(or,ha)===0}),nr=ha,Wa=function(ir){if(qa=qa.filter(function(_a){return xn(_a,ir)===0}),!qa.length)return nr=ir,"break"},gr=ha;gr>=0;gr-=1){var Sr=Wa(gr);if(Sr==="break")break}for(var Wr=He.filter(function(or){return xn(or,Wn)!==1}),_r=Wn,ho=function(ir){if(Wr=Wr.filter(function(_a){return xn(_a,ir)!==1}),!Wr.length)return _r=Math.max(ir-1,Wn),"break"},eo=Wn;eo<Yn.length;eo+=1){var Br=ho(eo);if(Br==="break")break}for(var Do=[],Ur=function(ir){var _a=Yn[ir];if(!_a)return"continue";He.some(function(er){return xn(er,ir)>1})&&Do.push(ir)},So=nr;So<=_r;So+=1)var oo=Ur(So);var Jo=Do.map(function(or){var ir=Yn[or],_a=Bt(ir.record,or),er=function(sr){var Rr=or+sr-1,Dr=Bt(Yn[Rr].record,Rr),io=ca(_a,Dr);return io.bottom-io.top},Gr=ca(_a);return le.createElement(Fr,{key:or,data:ir,rowKey:_a,index:or,style:{top:-Ta+Gr.top},extra:!0,getHeight:er})});return Jo},ya=le.useMemo(function(){return{columnsOffset:ea}},[ea]),Za="".concat(Ht,"-tbody"),ja;return Yn.length?ja=le.createElement(mr.Z,{fullHeight:!1,ref:Kn,className:qe()(Za,"".concat(Za,"-virtual")),height:Lt,itemHeight:$n||24,data:Yn,itemKey:function(Sa){return Bt(Sa.record)},scrollWidth:Rn,onVirtualScroll:function(Sa){var ha=Sa.x;ke({scrollLeft:ha})},extraRender:ba},function(la,Sa,ha){var Wn=Bt(la.record,Sa);return le.createElement(Fr,(0,Qe.Z)({data:la,rowKey:Wn,index:Sa},ha))}):ja=le.createElement("div",{className:qe()("".concat(Ht,"-placeholder"))},le.createElement(vn,{component:"div",prefixCls:Ht},Xt)),le.createElement(Cr.Provider,{value:ya},ja)}),Ra=ne(ur),xr=Ra,Xr=function(ge,be){var ke=be.ref,Ne=be.onScroll;return le.createElement(xr,{ref:ke,data:ge,onScroll:Ne})},br=100;function Vr(me){var ge=me.columns,be=me.scroll,ke=me.prefixCls,Ne=ke===void 0?Ja:ke,He=me.className,vt=me.listItemHeight,Bt=be||{},it=Bt.x,Ht=Bt.y;typeof it!="number"&&(it=((ge||[]).length+1)*br),typeof Ht!="number"&&(Ht=500);var Ft=le.useMemo(function(){return{scrollY:Ht,listItemHeight:vt}},[Ht,vt]);return le.createElement(Ua.Provider,{value:Ft},le.createElement(Ga,(0,Qe.Z)({},me,{className:qe()(He,"".concat(Ne,"-virtual")),scroll:(0,Ye.Z)((0,Ye.Z)({},be),{},{x:it}),components:{body:Xr},columns:ge,internalHooks:ue,tailor:!0})))}function jr(me){return z(Vr,me)}var Xa=jr(),wr=null;function dr(me){return null}var Qr=dr;function ro(me){return null}var xo=ro,To=te(64002),ko=te(68031),Ir=te(36355),qr=te(93891),Zo=te(19716),Ao=te(8628),Go=te(31724),ai=te(25700),$a=te(71418),ga=te(88088);function Tn(me){return function(be){let{prefixCls:ke,onExpand:Ne,record:He,expanded:vt,expandable:Bt}=be;const it=`${ke}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:Ht=>{Ne(He,Ht),Ht.stopPropagation()},className:qe()(it,{[`${it}-spaced`]:!Bt,[`${it}-expanded`]:Bt&&vt,[`${it}-collapsed`]:Bt&&!vt}),"aria-label":vt?me.collapse:me.expand,"aria-expanded":vt})}}var Fa=Tn;function cr(me,ge){return"key"in me&&me.key!==void 0&&me.key!==null?me.key:me.dataIndex?Array.isArray(me.dataIndex)?me.dataIndex.join("."):me.dataIndex:ge}function Nr(me,ge){return ge?`${ge}-${me}`:`${me}`}function xe(me,ge){return typeof me=="function"?me(ge):me}function sn(me,ge){const be=xe(me,ge);return Object.prototype.toString.call(be)==="[object Object]"?"":be}var Cn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},zn=Cn,cn=te(88853),ra=function(ge,be){return le.createElement(cn.Z,(0,Qe.Z)({},ge,{ref:be,icon:zn}))},Zn=le.forwardRef(ra),Nn=Zn,Gn=te(56762);function Mn(me){const ge=le.useRef(me),be=(0,Gn.Z)();return[()=>ge.current,ke=>{ge.current=ke,be()}]}var fa=te(3113),wa=te(24905),Pa=te(38854),Ar=te(64165),fr=te(20834),Or=te(40875),$r=te(5112),uo=te(86914),Co=te(21970),pi=te(92832);function gi(me){let{value:ge,onChange:be,filterSearch:ke,tablePrefixCls:Ne,locale:He}=me;return ke?le.createElement("div",{className:`${Ne}-filter-dropdown-search`},le.createElement(pi.default,{prefix:le.createElement(Co.Z,null),placeholder:He.filterSearchPlaceholder,onChange:be,value:ge,htmlSize:1,className:`${Ne}-filter-dropdown-search-input`})):null}var ri=gi,ui=te(85108);const vi=me=>{const{keyCode:ge}=me;ge===ui.Z.ENTER&&me.stopPropagation()};var hi=le.forwardRef((me,ge)=>le.createElement("div",{className:me.className,onClick:be=>be.stopPropagation(),onKeyDown:vi,ref:ge},me.children));function Ni(me){let ge=[];return(me||[]).forEach(be=>{let{value:ke,children:Ne}=be;ge.push(ke),Ne&&(ge=[].concat((0,Hn.Z)(ge),(0,Hn.Z)(Ni(Ne))))}),ge}function Ql(me){return me.some(ge=>{let{children:be}=ge;return be})}function Vi(me,ge){return typeof ge=="string"||typeof ge=="number"?ge==null?void 0:ge.toString().toLowerCase().includes(me.trim().toLowerCase()):!1}function nl(me){let{filters:ge,prefixCls:be,filteredKeys:ke,filterMultiple:Ne,searchValue:He,filterSearch:vt}=me;return ge.map((Bt,it)=>{const Ht=String(Bt.value);if(Bt.children)return{key:Ht||it,label:Bt.text,popupClassName:`${be}-dropdown-submenu`,children:nl({filters:Bt.children,prefixCls:be,filteredKeys:ke,filterMultiple:Ne,searchValue:He,filterSearch:vt})};const Ft=Ne?wa.default:$r.ZP,Xt={key:Bt.value!==void 0?Ht:it,label:le.createElement(le.Fragment,null,le.createElement(Ft,{checked:ke.includes(Ht)}),le.createElement("span",null,Bt.text))};return He.trim()?typeof vt=="function"?vt(He,Bt)?Xt:null:Vi(He,Bt.text)?Xt:null:Xt})}function Jl(me){var ge,be;const{tablePrefixCls:ke,prefixCls:Ne,column:He,dropdownPrefixCls:vt,columnKey:Bt,filterMultiple:it,filterMode:Ht="menu",filterSearch:Ft=!1,filterState:Xt,triggerFilter:Rn,locale:_t,children:Lt,getPopupContainer:$n}=me,{filterDropdownOpen:Kn,onFilterDropdownOpenChange:Yn,filterResetToDefaultFilteredValue:Qn,defaultFilteredValue:ea,filterDropdownVisible:xn,onFilterDropdownVisibleChange:ba}=He,[ya,Za]=le.useState(!1),ja=!!(Xt&&(!((ge=Xt.filteredKeys)===null||ge===void 0)&&ge.length||Xt.forceFiltered)),la=tr=>{Za(tr),Yn==null||Yn(tr),ba==null||ba(tr)},Sa=(be=Kn!=null?Kn:xn)!==null&&be!==void 0?be:ya,ha=Xt==null?void 0:Xt.filteredKeys,[Wn,ca]=Mn(ha||[]),Ta=tr=>{let{selectedKeys:sr}=tr;ca(sr)},qa=(tr,sr)=>{let{node:Rr,checked:Dr}=sr;Ta(it?{selectedKeys:tr}:{selectedKeys:Dr&&Rr.key?[Rr.key]:[]})};le.useEffect(()=>{ya&&Ta({selectedKeys:ha||[]})},[ha]);const[nr,Wa]=le.useState([]),gr=tr=>{Wa(tr)},[Sr,Wr]=le.useState(""),_r=tr=>{const{value:sr}=tr.target;Wr(sr)};le.useEffect(()=>{ya||Wr("")},[ya]);const ho=tr=>{const sr=tr&&tr.length?tr:null;if(sr===null&&(!Xt||!Xt.filteredKeys)||(0,Oe.Z)(sr,Xt==null?void 0:Xt.filteredKeys,!0))return null;Rn({column:He,key:Bt,filteredKeys:sr})},eo=()=>{la(!1),ho(Wn())},Br=function(){let{confirm:tr,closeDropdown:sr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};tr&&ho([]),sr&&la(!1),Wr(""),ca(Qn?(ea||[]).map(Rr=>String(Rr)):[])},Do=function(){let{closeDropdown:tr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};tr&&la(!1),ho(Wn())},Ur=tr=>{tr&&ha!==void 0&&ca(ha||[]),la(tr),!tr&&!He.filterDropdown&&eo()},So=qe()({[`${vt}-menu-without-submenu`]:!Ql(He.filters||[])}),oo=tr=>{if(tr.target.checked){const sr=Ni(He==null?void 0:He.filters).map(Rr=>String(Rr));ca(sr)}else ca([])},Jo=tr=>{let{filters:sr}=tr;return(sr||[]).map((Rr,Dr)=>{const io=String(Rr.value),wo={title:Rr.text,key:Rr.value!==void 0?io:Dr};return Rr.children&&(wo.children=Jo({filters:Rr.children})),wo})},or=tr=>{var sr;return Object.assign(Object.assign({},tr),{text:tr.title,value:tr.key,children:((sr=tr.children)===null||sr===void 0?void 0:sr.map(Rr=>or(Rr)))||[]})};let ir;if(typeof He.filterDropdown=="function")ir=He.filterDropdown({prefixCls:`${vt}-custom`,setSelectedKeys:tr=>Ta({selectedKeys:tr}),selectedKeys:Wn(),confirm:Do,clearFilters:Br,filters:He.filters,visible:Sa,close:()=>{la(!1)}});else if(He.filterDropdown)ir=He.filterDropdown;else{const tr=Wn()||[],sr=()=>(He.filters||[]).length===0?le.createElement(Ar.Z,{image:Ar.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Ht==="tree"?le.createElement(le.Fragment,null,le.createElement(ri,{filterSearch:Ft,value:Sr,onChange:_r,tablePrefixCls:ke,locale:_t}),le.createElement("div",{className:`${ke}-filter-dropdown-tree`},it?le.createElement(wa.default,{checked:tr.length===Ni(He.filters).length,indeterminate:tr.length>0&&tr.length<Ni(He.filters).length,className:`${ke}-filter-dropdown-checkall`,onChange:oo},_t.filterCheckall):null,le.createElement(uo.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:it,checkStrictly:!it,className:`${vt}-menu`,onCheck:qa,checkedKeys:tr,selectedKeys:tr,showIcon:!1,treeData:Jo({filters:He.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Sr.trim()?Dr=>typeof Ft=="function"?Ft(Sr,or(Dr)):Vi(Sr,Dr.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(ri,{filterSearch:Ft,value:Sr,onChange:_r,tablePrefixCls:ke,locale:_t}),le.createElement(fr.default,{selectable:!0,multiple:it,prefixCls:`${vt}-menu`,className:So,onSelect:Ta,onDeselect:Ta,selectedKeys:tr,getPopupContainer:$n,openKeys:nr,onOpenChange:gr,items:nl({filters:He.filters||[],filterSearch:Ft,prefixCls:Ne,filteredKeys:Wn(),filterMultiple:it,searchValue:Sr})})),Rr=()=>Qn?(0,Oe.Z)((ea||[]).map(Dr=>String(Dr)),tr,!0):tr.length===0;ir=le.createElement(le.Fragment,null,sr(),le.createElement("div",{className:`${Ne}-dropdown-btns`},le.createElement(fa.ZP,{type:"link",size:"small",disabled:Rr(),onClick:()=>Br()},_t.filterReset),le.createElement(fa.ZP,{type:"primary",size:"small",onClick:eo},_t.filterConfirm)))}He.filterDropdown&&(ir=le.createElement(Or.J,{selectable:void 0},ir));const _a=()=>le.createElement(hi,{className:`${Ne}-dropdown`},ir);let er;typeof He.filterIcon=="function"?er=He.filterIcon(ja):He.filterIcon?er=He.filterIcon:er=le.createElement(Nn,null);const{direction:Gr}=le.useContext(Ir.E_);return le.createElement("div",{className:`${Ne}-column`},le.createElement("span",{className:`${ke}-column-title`},Lt),le.createElement(Pa.Z,{dropdownRender:_a,trigger:["click"],open:Sa,onOpenChange:Ur,getPopupContainer:$n,placement:Gr==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:qe()(`${Ne}-trigger`,{active:ja}),onClick:tr=>{tr.stopPropagation()}},er)))}var Qo=Jl;function mi(me,ge,be){let ke=[];return(me||[]).forEach((Ne,He)=>{var vt;const Bt=Nr(He,be);if(Ne.filters||"filterDropdown"in Ne||"onFilter"in Ne)if("filteredValue"in Ne){let it=Ne.filteredValue;"filterDropdown"in Ne||(it=(vt=it==null?void 0:it.map(String))!==null&&vt!==void 0?vt:it),ke.push({column:Ne,key:cr(Ne,Bt),filteredKeys:it,forceFiltered:Ne.filtered})}else ke.push({column:Ne,key:cr(Ne,Bt),filteredKeys:ge&&Ne.defaultFilteredValue?Ne.defaultFilteredValue:void 0,forceFiltered:Ne.filtered});"children"in Ne&&(ke=[].concat((0,Hn.Z)(ke),(0,Hn.Z)(mi(Ne.children,ge,Bt))))}),ke}function Bi(me,ge,be,ke,Ne,He,vt,Bt){return be.map((it,Ht)=>{const Ft=Nr(Ht,Bt),{filterMultiple:Xt=!0,filterMode:Rn,filterSearch:_t}=it;let Lt=it;if(Lt.filters||Lt.filterDropdown){const $n=cr(Lt,Ft),Kn=ke.find(Yn=>{let{key:Qn}=Yn;return $n===Qn});Lt=Object.assign(Object.assign({},Lt),{title:Yn=>le.createElement(Qo,{tablePrefixCls:me,prefixCls:`${me}-filter`,dropdownPrefixCls:ge,column:Lt,columnKey:$n,filterState:Kn,filterMultiple:Xt,filterMode:Rn,filterSearch:_t,triggerFilter:He,locale:Ne,getPopupContainer:vt},xe(it.title,Yn))})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:Bi(me,ge,Lt.children,ke,Ne,He,vt,Ft)})),Lt})}function yl(me){const ge={};return me.forEach(be=>{let{key:ke,filteredKeys:Ne,column:He}=be;const{filters:vt,filterDropdown:Bt}=He;if(Bt)ge[ke]=Ne||null;else if(Array.isArray(Ne)){const it=Ni(vt);ge[ke]=it.filter(Ht=>Ne.includes(String(Ht)))}else ge[ke]=null}),ge}function Xl(me,ge){return ge.reduce((be,ke)=>{const{column:{onFilter:Ne,filters:He},filteredKeys:vt}=ke;return Ne&&vt&&vt.length?be.filter(Bt=>vt.some(it=>{const Ht=Ni(He),Ft=Ht.findIndex(Rn=>String(Rn)===String(it)),Xt=Ft!==-1?Ht[Ft]:it;return Ne(Xt,Bt)})):be},me)}const Ii=me=>me.flatMap(ge=>"children"in ge?[ge].concat((0,Hn.Z)(Ii(ge.children||[]))):[ge]);function Bo(me){let{prefixCls:ge,dropdownPrefixCls:be,mergedColumns:ke,onFilterChange:Ne,getPopupContainer:He,locale:vt}=me;const Bt=le.useMemo(()=>Ii(ke||[]),[ke]),[it,Ht]=le.useState(()=>mi(Bt,!0)),Ft=le.useMemo(()=>{const Lt=mi(Bt,!1);if(Lt.length===0)return Lt;let $n=!0,Kn=!0;if(Lt.forEach(Yn=>{let{filteredKeys:Qn}=Yn;Qn!==void 0?$n=!1:Kn=!1}),$n){const Yn=(Bt||[]).map((Qn,ea)=>cr(Qn,Nr(ea)));return it.filter(Qn=>{let{key:ea}=Qn;return Yn.includes(ea)}).map(Qn=>{const ea=Bt[Yn.findIndex(xn=>xn===Qn.key)];return Object.assign(Object.assign({},Qn),{column:Object.assign(Object.assign({},Qn.column),ea),forceFiltered:ea.filtered})})}return Lt},[Bt,it]),Xt=le.useMemo(()=>yl(Ft),[Ft]),Rn=Lt=>{const $n=Ft.filter(Kn=>{let{key:Yn}=Kn;return Yn!==Lt.key});$n.push(Lt),Ht($n),Ne(yl($n),$n)};return[Lt=>Bi(ge,be,Lt,Ft,vt,Rn,He),Ft,Xt]}var El=Bo;function bl(me,ge,be){const ke=le.useRef({});function Ne(He){if(!ke.current||ke.current.data!==me||ke.current.childrenColumnName!==ge||ke.current.getRowKey!==be){let Bt=function(it){it.forEach((Ht,Ft)=>{const Xt=be(Ht,Ft);vt.set(Xt,Ht),Ht&&typeof Ht=="object"&&ge in Ht&&Bt(Ht[ge]||[])})};const vt=new Map;Bt(me),ke.current={data:me,childrenColumnName:ge,kvMap:vt,getRowKey:be}}return ke.current.kvMap.get(He)}return[Ne]}var Yl=te(50371),Cl=function(me,ge){var be={};for(var ke in me)Object.prototype.hasOwnProperty.call(me,ke)&&ge.indexOf(ke)<0&&(be[ke]=me[ke]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ke=Object.getOwnPropertySymbols(me);Ne<ke.length;Ne++)ge.indexOf(ke[Ne])<0&&Object.prototype.propertyIsEnumerable.call(me,ke[Ne])&&(be[ke[Ne]]=me[ke[Ne]]);return be};const xl=10;function oi(me,ge){const be={current:me.current,pageSize:me.pageSize};return Object.keys(ge&&typeof ge=="object"?ge:{}).forEach(Ne=>{const He=me[Ne];typeof He!="function"&&(be[Ne]=He)}),be}function Bl(me,ge,be){const ke=be&&typeof be=="object"?be:{},{total:Ne=0}=ke,He=Cl(ke,["total"]),[vt,Bt]=(0,le.useState)(()=>({current:"defaultCurrent"in He?He.defaultCurrent:1,pageSize:"defaultPageSize"in He?He.defaultPageSize:xl})),it=(0,Yl.Z)(vt,He,{total:Ne>0?Ne:me}),Ht=Math.ceil((Ne||me)/it.pageSize);it.current>Ht&&(it.current=Ht||1);const Ft=(Rn,_t)=>{Bt({current:Rn!=null?Rn:1,pageSize:_t||it.pageSize})},Xt=(Rn,_t)=>{var Lt;be&&((Lt=be.onChange)===null||Lt===void 0||Lt.call(be,Rn,_t)),Ft(Rn,_t),ge(Rn,_t||(it==null?void 0:it.pageSize))};return be===!1?[{},()=>{}]:[Object.assign(Object.assign({},it),{onChange:Xt}),Ft]}var di=Bl,Yo=te(18290),Qi=te(35654),Fl=te(90782),ql=te(71430),Ha=te(35788);const yi={},al="SELECT_ALL",va="SELECT_INVERT",Li="SELECT_NONE",wl=[],es=(me,ge)=>{let be=[];return(ge||[]).forEach(ke=>{be.push(ke),ke&&typeof ke=="object"&&me in ke&&(be=[].concat((0,Hn.Z)(be),(0,Hn.Z)(es(me,ke[me]))))}),be};var Al=(me,ge)=>{const{preserveSelectedRowKeys:be,selectedRowKeys:ke,defaultSelectedRowKeys:Ne,getCheckboxProps:He,onChange:vt,onSelect:Bt,onSelectAll:it,onSelectInvert:Ht,onSelectNone:Ft,onSelectMultiple:Xt,columnWidth:Rn,type:_t,selections:Lt,fixed:$n,renderCell:Kn,hideSelectAll:Yn,checkStrictly:Qn=!0}=ge||{},{prefixCls:ea,data:xn,pageData:ba,getRecordByKey:ya,getRowKey:Za,expandType:ja,childrenColumnName:la,locale:Sa,getPopupContainer:ha}=me,[Wn,ca]=(0,Ha.Z)(ke||Ne||wl,{value:ke}),Ta=le.useRef(new Map),qa=(0,le.useCallback)(or=>{if(be){const ir=new Map;or.forEach(_a=>{let er=ya(_a);!er&&Ta.current.has(_a)&&(er=Ta.current.get(_a)),ir.set(_a,er)}),Ta.current=ir}},[ya,be]);le.useEffect(()=>{qa(Wn)},[Wn]);const{keyEntities:nr}=(0,le.useMemo)(()=>{if(Qn)return{keyEntities:null};let or=xn;if(be){const ir=new Set(xn.map((er,Gr)=>Za(er,Gr))),_a=Array.from(Ta.current).reduce((er,Gr)=>{let[tr,sr]=Gr;return ir.has(tr)?er:er.concat(sr)},[]);or=[].concat((0,Hn.Z)(or),(0,Hn.Z)(_a))}return(0,ql.I8)(or,{externalGetKey:Za,childrenPropName:la})},[xn,Za,Qn,la,be]),Wa=(0,le.useMemo)(()=>es(la,ba),[la,ba]),gr=(0,le.useMemo)(()=>{const or=new Map;return Wa.forEach((ir,_a)=>{const er=Za(ir,_a),Gr=(He?He(ir):null)||{};or.set(er,Gr)}),or},[Wa,Za,He]),Sr=(0,le.useCallback)(or=>{var ir;return!!(!((ir=gr.get(Za(or)))===null||ir===void 0)&&ir.disabled)},[gr,Za]),[Wr,_r]=(0,le.useMemo)(()=>{if(Qn)return[Wn||[],[]];const{checkedKeys:or,halfCheckedKeys:ir}=(0,Fl.S)(Wn,!0,nr,Sr);return[or||[],ir]},[Wn,Qn,nr,Sr]),ho=(0,le.useMemo)(()=>{const or=_t==="radio"?Wr.slice(0,1):Wr;return new Set(or)},[Wr,_t]),eo=(0,le.useMemo)(()=>_t==="radio"?new Set:new Set(_r),[_r,_t]),[Br,Do]=(0,le.useState)(null);le.useEffect(()=>{ge||ca(wl)},[!!ge]);const Ur=(0,le.useCallback)((or,ir)=>{let _a,er;qa(or),be?(_a=or,er=or.map(Gr=>Ta.current.get(Gr))):(_a=[],er=[],or.forEach(Gr=>{const tr=ya(Gr);tr!==void 0&&(_a.push(Gr),er.push(tr))})),ca(_a),vt==null||vt(_a,er,{type:ir})},[ca,ya,vt,be]),So=(0,le.useCallback)((or,ir,_a,er)=>{if(Bt){const Gr=_a.map(tr=>ya(tr));Bt(ya(or),ir,Gr,er)}Ur(_a,"single")},[Bt,ya,Ur]),oo=(0,le.useMemo)(()=>!Lt||Yn?null:(Lt===!0?[al,va,Li]:Lt).map(ir=>ir===al?{key:"all",text:Sa.selectionAll,onSelect(){Ur(xn.map((_a,er)=>Za(_a,er)).filter(_a=>{const er=gr.get(_a);return!(er!=null&&er.disabled)||ho.has(_a)}),"all")}}:ir===va?{key:"invert",text:Sa.selectInvert,onSelect(){const _a=new Set(ho);ba.forEach((Gr,tr)=>{const sr=Za(Gr,tr),Rr=gr.get(sr);Rr!=null&&Rr.disabled||(_a.has(sr)?_a.delete(sr):_a.add(sr))});const er=Array.from(_a);Ht&&Ht(er),Ur(er,"invert")}}:ir===Li?{key:"none",text:Sa.selectNone,onSelect(){Ft==null||Ft(),Ur(Array.from(ho).filter(_a=>{const er=gr.get(_a);return er==null?void 0:er.disabled}),"none")}}:ir).map(ir=>Object.assign(Object.assign({},ir),{onSelect:function(){for(var _a,er,Gr=arguments.length,tr=new Array(Gr),sr=0;sr<Gr;sr++)tr[sr]=arguments[sr];(er=ir.onSelect)===null||er===void 0||(_a=er).call.apply(_a,[ir].concat(tr)),Do(null)}})),[Lt,ho,ba,Za,Ht,Ur]);return[(0,le.useCallback)(or=>{var ir;if(!ge)return or.filter(Yr=>Yr!==yi);let _a=(0,Hn.Z)(or);const er=new Set(ho),Gr=Wa.map(Za).filter(Yr=>!gr.get(Yr).disabled),tr=Gr.every(Yr=>er.has(Yr)),sr=Gr.some(Yr=>er.has(Yr)),Rr=()=>{const Yr=[];tr?Gr.forEach(fo=>{er.delete(fo),Yr.push(fo)}):Gr.forEach(fo=>{er.has(fo)||(er.add(fo),Yr.push(fo))});const to=Array.from(er);it==null||it(!tr,to.map(fo=>ya(fo)),Yr.map(fo=>ya(fo))),Ur(to,"all"),Do(null)};let Dr;if(_t!=="radio"){let Yr;if(oo){const Tr={getPopupContainer:ha,items:oo.map((Wo,$o)=>{const{key:da,text:Va,onSelect:Pr}=Wo;return{key:da!=null?da:$o,onClick:()=>{Pr==null||Pr(Gr)},label:Va}})};Yr=le.createElement("div",{className:`${ea}-selection-extra`},le.createElement(Pa.Z,{menu:Tr,getPopupContainer:ha},le.createElement("span",null,le.createElement(Yo.Z,null))))}const to=Wa.map((Tr,Wo)=>{const $o=Za(Tr,Wo),da=gr.get($o)||{};return Object.assign({checked:er.has($o)},da)}).filter(Tr=>{let{disabled:Wo}=Tr;return Wo}),fo=!!to.length&&to.length===Wa.length,yo=fo&&to.every(Tr=>{let{checked:Wo}=Tr;return Wo}),lo=fo&&to.some(Tr=>{let{checked:Wo}=Tr;return Wo});Dr=!Yn&&le.createElement("div",{className:`${ea}-selection`},le.createElement(wa.default,{checked:fo?yo:!!Wa.length&&tr,indeterminate:fo?!yo&&lo:!tr&&sr,onChange:Rr,disabled:Wa.length===0||fo,"aria-label":Yr?"Custom selection":"Select all",skipGroup:!0}),Yr)}let io;_t==="radio"?io=(Yr,to,fo)=>{const yo=Za(to,fo),lo=er.has(yo);return{node:le.createElement($r.ZP,Object.assign({},gr.get(yo),{checked:lo,onClick:Tr=>Tr.stopPropagation(),onChange:Tr=>{er.has(yo)||So(yo,!0,[yo],Tr.nativeEvent)}})),checked:lo}}:io=(Yr,to,fo)=>{var yo;const lo=Za(to,fo),Tr=er.has(lo),Wo=eo.has(lo),$o=gr.get(lo);let da;return ja==="nest"?da=Wo:da=(yo=$o==null?void 0:$o.indeterminate)!==null&&yo!==void 0?yo:Wo,{node:le.createElement(wa.default,Object.assign({},$o,{indeterminate:da,checked:Tr,skipGroup:!0,onClick:Va=>Va.stopPropagation(),onChange:Va=>{let{nativeEvent:Pr}=Va;const{shiftKey:yr}=Pr;let Lr=-1,zr=-1;if(yr&&Qn){const so=new Set([Br,lo]);Gr.some((Eo,co)=>{if(so.has(Eo))if(Lr===-1)Lr=co;else return zr=co,!0;return!1})}if(zr!==-1&&Lr!==zr&&Qn){const so=Gr.slice(Lr,zr+1),Eo=[];Tr?so.forEach(vo=>{er.has(vo)&&(Eo.push(vo),er.delete(vo))}):so.forEach(vo=>{er.has(vo)||(Eo.push(vo),er.add(vo))});const co=Array.from(er);Xt==null||Xt(!Tr,co.map(vo=>ya(vo)),Eo.map(vo=>ya(vo))),Ur(co,"multiple")}else{const so=Wr;if(Qn){const Eo=Tr?(0,Qi._5)(so,lo):(0,Qi.L0)(so,lo);So(lo,!Tr,Eo,Pr)}else{const Eo=(0,Fl.S)([].concat((0,Hn.Z)(so),[lo]),!0,nr,Sr),{checkedKeys:co,halfCheckedKeys:vo}=Eo;let ii=co;if(Tr){const zo=new Set(co);zo.delete(lo),ii=(0,Fl.S)(Array.from(zo),{checked:!1,halfCheckedKeys:vo},nr,Sr).checkedKeys}So(lo,!Tr,ii,Pr)}}Do(Tr?null:lo)}})),checked:Tr}};const wo=(Yr,to,fo)=>{const{node:yo,checked:lo}=io(Yr,to,fo);return Kn?Kn(lo,to,fo,yo):yo};if(!_a.includes(yi))if(_a.findIndex(Yr=>{var to;return((to=Yr[ta])===null||to===void 0?void 0:to.columnType)==="EXPAND_COLUMN"})===0){const[Yr,...to]=_a;_a=[Yr,yi].concat((0,Hn.Z)(to))}else _a=[yi].concat((0,Hn.Z)(_a));const _o=_a.indexOf(yi);_a=_a.filter((Yr,to)=>Yr!==yi||to===_o);const Ro=_a[_o-1],ci=_a[_o+1];let No=$n;No===void 0&&((ci==null?void 0:ci.fixed)!==void 0?No=ci.fixed:(Ro==null?void 0:Ro.fixed)!==void 0&&(No=Ro.fixed)),No&&Ro&&((ir=Ro[ta])===null||ir===void 0?void 0:ir.columnType)==="EXPAND_COLUMN"&&Ro.fixed===void 0&&(Ro.fixed=No);const Io=qe()(`${ea}-selection-col`,{[`${ea}-selection-col-with-dropdown`]:Lt&&_t==="checkbox"}),Ai={fixed:No,width:Rn,className:`${ea}-selection-column`,title:ge.columnTitle||Dr,render:wo,onCell:ge.onCell,[ta]:{className:Io}};return _a.map(Yr=>Yr===yi?Ai:Yr)},[Za,Wa,ge,Wr,ho,eo,Rn,oo,ja,Br,gr,Xt,So,Sr]),ho]},rl=te(35323),Ko=te(19155),ts=te(6848);const bi="ascend",ol="descend";function Oi(me){return typeof me.sorter=="object"&&typeof me.sorter.multiple=="number"?me.sorter.multiple:!1}function il(me){return typeof me=="function"?me:me&&typeof me=="object"&&me.compare?me.compare:!1}function Dl(me,ge){return ge?me[me.indexOf(ge)+1]:me[0]}function Ji(me,ge,be){let ke=[];function Ne(He,vt){ke.push({column:He,key:cr(He,vt),multiplePriority:Oi(He),sortOrder:He.sortOrder})}return(me||[]).forEach((He,vt)=>{const Bt=Nr(vt,be);He.children?("sortOrder"in He&&Ne(He,Bt),ke=[].concat((0,Hn.Z)(ke),(0,Hn.Z)(Ji(He.children,ge,Bt)))):He.sorter&&("sortOrder"in He?Ne(He,Bt):ge&&He.defaultSortOrder&&ke.push({column:He,key:cr(He,Bt),multiplePriority:Oi(He),sortOrder:He.defaultSortOrder}))}),ke}function Ri(me,ge,be,ke,Ne,He,vt,Bt){return(ge||[]).map((it,Ht)=>{const Ft=Nr(Ht,Bt);let Xt=it;if(Xt.sorter){const Rn=Xt.sortDirections||Ne,_t=Xt.showSorterTooltip===void 0?vt:Xt.showSorterTooltip,Lt=cr(Xt,Ft),$n=be.find(ja=>{let{key:la}=ja;return la===Lt}),Kn=$n?$n.sortOrder:null,Yn=Dl(Rn,Kn);let Qn;if(it.sortIcon)Qn=it.sortIcon({sortOrder:Kn});else{const ja=Rn.includes(bi)&&le.createElement(Ko.Z,{className:qe()(`${me}-column-sorter-up`,{active:Kn===bi})}),la=Rn.includes(ol)&&le.createElement(rl.Z,{className:qe()(`${me}-column-sorter-down`,{active:Kn===ol})});Qn=le.createElement("span",{className:qe()(`${me}-column-sorter`,{[`${me}-column-sorter-full`]:!!(ja&&la)})},le.createElement("span",{className:`${me}-column-sorter-inner`,"aria-hidden":"true"},ja,la))}const{cancelSort:ea,triggerAsc:xn,triggerDesc:ba}=He||{};let ya=ea;Yn===ol?ya=ba:Yn===bi&&(ya=xn);const Za=typeof _t=="object"?_t:{title:ya};Xt=Object.assign(Object.assign({},Xt),{className:qe()(Xt.className,{[`${me}-column-sort`]:Kn}),title:ja=>{const la=le.createElement("div",{className:`${me}-column-sorters`},le.createElement("span",{className:`${me}-column-title`},xe(it.title,ja)),Qn);return _t?le.createElement(ts.Z,Object.assign({},Za),la):la},onHeaderCell:ja=>{const la=it.onHeaderCell&&it.onHeaderCell(ja)||{},Sa=la.onClick,ha=la.onKeyDown;la.onClick=Ta=>{ke({column:it,key:Lt,sortOrder:Yn,multiplePriority:Oi(it)}),Sa==null||Sa(Ta)},la.onKeyDown=Ta=>{Ta.keyCode===ui.Z.ENTER&&(ke({column:it,key:Lt,sortOrder:Yn,multiplePriority:Oi(it)}),ha==null||ha(Ta))};const Wn=sn(it.title,{}),ca=Wn==null?void 0:Wn.toString();return Kn?la["aria-sort"]=Kn==="ascend"?"ascending":"descending":la["aria-label"]=ca||"",la.className=qe()(la.className,`${me}-column-has-sorters`),la.tabIndex=0,it.ellipsis&&(la.title=(Wn!=null?Wn:"").toString()),la}})}return"children"in Xt&&(Xt=Object.assign(Object.assign({},Xt),{children:Ri(me,Xt.children,be,ke,Ne,He,vt,Ft)})),Xt})}function ll(me){const{column:ge,sortOrder:be}=me;return{column:ge,order:be,field:ge.dataIndex,columnKey:ge.key}}function Ti(me){const ge=me.filter(be=>{let{sortOrder:ke}=be;return ke}).map(ll);return ge.length===0&&me.length?Object.assign(Object.assign({},ll(me[me.length-1])),{column:void 0}):ge.length<=1?ge[0]||{}:ge}function Mi(me,ge,be){const ke=ge.slice().sort((vt,Bt)=>Bt.multiplePriority-vt.multiplePriority),Ne=me.slice(),He=ke.filter(vt=>{let{column:{sorter:Bt},sortOrder:it}=vt;return il(Bt)&&it});return He.length?Ne.sort((vt,Bt)=>{for(let it=0;it<He.length;it+=1){const Ht=He[it],{column:{sorter:Ft},sortOrder:Xt}=Ht,Rn=il(Ft);if(Rn&&Xt){const _t=Rn(vt,Bt,Xt);if(_t!==0)return Xt===bi?_t:-_t}}return 0}).map(vt=>{const Bt=vt[be];return Bt?Object.assign(Object.assign({},vt),{[be]:Mi(Bt,ge,be)}):vt}):Ne}function ns(me){let{prefixCls:ge,mergedColumns:be,onSorterChange:ke,sortDirections:Ne,tableLocale:He,showSorterTooltip:vt}=me;const[Bt,it]=le.useState(Ji(be,!0)),Ht=le.useMemo(()=>{let Lt=!0;const $n=Ji(be,!1);if(!$n.length)return Bt;const Kn=[];function Yn(ea){Lt?Kn.push(ea):Kn.push(Object.assign(Object.assign({},ea),{sortOrder:null}))}let Qn=null;return $n.forEach(ea=>{Qn===null?(Yn(ea),ea.sortOrder&&(ea.multiplePriority===!1?Lt=!1:Qn=!0)):(Qn&&ea.multiplePriority!==!1||(Lt=!1),Yn(ea))}),Kn},[be,Bt]),Ft=le.useMemo(()=>{const Lt=Ht.map($n=>{let{column:Kn,sortOrder:Yn}=$n;return{column:Kn,order:Yn}});return{sortColumns:Lt,sortColumn:Lt[0]&&Lt[0].column,sortOrder:Lt[0]&&Lt[0].order}},[Ht]);function Xt(Lt){let $n;Lt.multiplePriority===!1||!Ht.length||Ht[0].multiplePriority===!1?$n=[Lt]:$n=[].concat((0,Hn.Z)(Ht.filter(Kn=>{let{key:Yn}=Kn;return Yn!==Lt.key})),[Lt]),it($n),ke(Ti($n),$n)}return[Lt=>Ri(ge,Lt,Ht,Xt,Ne,He,vt),Ht,Ft,()=>Ti(Ht)]}function Lo(me,ge){return me.map(be=>{const ke=Object.assign({},be);return ke.title=xe(be.title,ge),"children"in ke&&(ke.children=Lo(ke.children,ge)),ke})}function as(me){return[le.useCallback(be=>Lo(be,me),[me])]}var As=za((me,ge)=>{const{_renderTimes:be}=me,{_renderTimes:ke}=ge;return be!==ke}),sl=jr((me,ge)=>{const{_renderTimes:be}=me,{_renderTimes:ke}=ge;return be!==ke}),Fi=te(64993),ki=te(17313),Nl=te(83116),rs=te(37613),is=me=>{const{componentCls:ge}=me,be=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,ke=(Ne,He,vt)=>({[`&${ge}-${Ne}`]:{[`> ${ge}-container`]:{[`> ${ge}-content, > ${ge}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${He}px -${vt+me.lineWidth}px`}}}}}});return{[`${ge}-wrapper`]:{[`${ge}${ge}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ge}-title`]:{border:be,borderBottom:0},[`> ${ge}-container`]:{borderInlineStart:be,borderTop:be,[`
> ${ge}-content,
> ${ge}-header,
> ${ge}-body,
> ${ge}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:be},"> thead":{"> tr:not(:last-child) > th":{borderBottom:be},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ge}-cell-fix-right-first::after`]:{borderInlineEnd:be}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ge}-expanded-row-fixed`]:{margin:`-${me.tablePaddingVertical}px -${me.tablePaddingHorizontal+me.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:me.lineWidth,bottom:0,borderInlineEnd:be,content:'""'}}}}}},[`&${ge}-scroll-horizontal`]:{[`> ${ge}-container > ${ge}-body`]:{"> table > tbody":{[`
> tr${ge}-expanded-row,
> tr${ge}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ke("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle)),ke("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall)),{[`> ${ge}-footer`]:{border:be,borderTop:0}}),[`${ge}-cell`]:{[`${ge}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${me.lineWidth}px 0 ${me.lineWidth}px ${me.tableHeaderBg}`}},[`${ge}-bordered ${ge}-cell-scrollbar`]:{borderInlineEnd:be}}}},ls=me=>{const{componentCls:ge}=me;return{[`${ge}-wrapper`]:{[`${ge}-cell-ellipsis`]:Object.assign(Object.assign({},ki.vS),{wordBreak:"keep-all",[`
&${ge}-cell-fix-left-last,
&${ge}-cell-fix-right-first
`]:{overflow:"visible",[`${ge}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ge}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ss=me=>{const{componentCls:ge}=me;return{[`${ge}-wrapper`]:{[`${ge}-tbody > tr${ge}-placeholder`]:{textAlign:"center",color:me.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:me.colorBgContainer}}}}},Il=te(15969),Ll=me=>{const{componentCls:ge,antCls:be,controlInteractiveSize:ke,motionDurationSlow:Ne,lineWidth:He,paddingXS:vt,lineType:Bt,tableBorderColor:it,tableExpandIconBg:Ht,tableExpandColumnWidth:Ft,borderRadius:Xt,fontSize:Rn,fontSizeSM:_t,lineHeight:Lt,tablePaddingVertical:$n,tablePaddingHorizontal:Kn,tableExpandedRowBg:Yn,paddingXXS:Qn}=me,ea=ke/2-He,xn=ea*2+He*3,ba=`${He}px ${Bt} ${it}`,ya=Qn-He;return{[`${ge}-wrapper`]:{[`${ge}-expand-icon-col`]:{width:Ft},[`${ge}-row-expand-icon-cell`]:{textAlign:"center",[`${ge}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ge}-row-indent`]:{height:1,float:"left"},[`${ge}-row-expand-icon`]:Object.assign(Object.assign({},(0,Il.N)(me)),{position:"relative",float:"left",boxSizing:"border-box",width:xn,height:xn,padding:0,color:"inherit",lineHeight:`${xn}px`,background:Ht,border:ba,borderRadius:Xt,transform:`scale(${ke/xn})`,transition:`all ${Ne}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ne} ease-out`,content:'""'},"&::before":{top:ea,insetInlineEnd:ya,insetInlineStart:ya,height:He},"&::after":{top:ya,bottom:ya,insetInlineStart:ea,width:He,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ge}-row-indent + ${ge}-row-expand-icon`]:{marginTop:(Rn*Lt-He*3)/2-Math.ceil((_t*1.4-He*3)/2),marginInlineEnd:vt},[`tr${ge}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Yn}},[`${be}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ge}-expanded-row-fixed`]:{position:"relative",margin:`-${$n}px -${Kn}px`,padding:`${$n}px ${Kn}px`}}}},ei=me=>{const{componentCls:ge,antCls:be,iconCls:ke,tableFilterDropdownWidth:Ne,tableFilterDropdownSearchWidth:He,paddingXXS:vt,paddingXS:Bt,colorText:it,lineWidth:Ht,lineType:Ft,tableBorderColor:Xt,tableHeaderIconColor:Rn,fontSizeSM:_t,tablePaddingHorizontal:Lt,borderRadius:$n,motionDurationSlow:Kn,colorTextDescription:Yn,colorPrimary:Qn,tableHeaderFilterActiveBg:ea,colorTextDisabled:xn,tableFilterDropdownBg:ba,tableFilterDropdownHeight:ya,controlItemBgHover:Za,controlItemBgActive:ja,boxShadowSecondary:la,filterDropdownMenuBg:Sa}=me,ha=`${be}-dropdown`,Wn=`${ge}-filter-dropdown`,ca=`${be}-tree`,Ta=`${Ht}px ${Ft} ${Xt}`;return[{[`${ge}-wrapper`]:{[`${ge}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ge}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-vt,marginInline:`${vt}px ${-Lt/2}px`,padding:`0 ${vt}px`,color:Rn,fontSize:_t,borderRadius:$n,cursor:"pointer",transition:`all ${Kn}`,"&:hover":{color:Yn,background:ea},"&.active":{color:Qn}}}},{[`${be}-dropdown`]:{[Wn]:Object.assign(Object.assign({},(0,ki.Wf)(me)),{minWidth:Ne,backgroundColor:ba,borderRadius:$n,boxShadow:la,overflow:"hidden",[`${ha}-menu`]:{maxHeight:ya,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Sa,"&:empty::after":{display:"block",padding:`${Bt}px 0`,color:xn,fontSize:_t,textAlign:"center",content:'"Not Found"'}},[`${Wn}-tree`]:{paddingBlock:`${Bt}px 0`,paddingInline:Bt,[ca]:{padding:0},[`${ca}-treenode ${ca}-node-content-wrapper:hover`]:{backgroundColor:Za},[`${ca}-treenode-checkbox-checked ${ca}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ja}}},[`${Wn}-search`]:{padding:Bt,borderBottom:Ta,"&-input":{input:{minWidth:He},[ke]:{color:xn}}},[`${Wn}-checkall`]:{width:"100%",marginBottom:vt,marginInlineStart:vt},[`${Wn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Bt-Ht}px ${Bt}px`,overflow:"hidden",borderTop:Ta}})}},{[`${be}-dropdown ${Wn}, ${Wn}-submenu`]:{[`${be}-checkbox-wrapper + span`]:{paddingInlineStart:Bt,color:it},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Oo=me=>{const{componentCls:ge,lineWidth:be,colorSplit:ke,motionDurationSlow:Ne,zIndexTableFixed:He,tableBg:vt,zIndexTableSticky:Bt}=me,it=ke;return{[`${ge}-wrapper`]:{[`
${ge}-cell-fix-left,
${ge}-cell-fix-right
`]:{position:"sticky !important",zIndex:He,background:vt},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-be,width:30,transform:"translateX(100%)",transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},[`${ge}-cell-fix-left-all::after`]:{display:"none"},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-be,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},[`${ge}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Bt+1,width:30,transition:`box-shadow ${Ne}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ge}-ping-left`]:{[`&:not(${ge}-has-fix-left) ${ge}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${it}`}},[`
${ge}-cell-fix-left-first::after,
${ge}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${it}`},[`${ge}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ge}-ping-right`]:{[`&:not(${ge}-has-fix-right) ${ge}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${it}`}},[`
${ge}-cell-fix-right-first::after,
${ge}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${it}`}}}}},ds=me=>{const{componentCls:ge,antCls:be}=me;return{[`${ge}-wrapper`]:{[`${ge}-pagination${be}-pagination`]:{margin:`${me.margin}px 0`},[`${ge}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:me.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Rl=me=>{const{componentCls:ge,tableRadius:be}=me;return{[`${ge}-wrapper`]:{[ge]:{[`${ge}-title, ${ge}-header`]:{borderRadius:`${be}px ${be}px 0 0`},[`${ge}-title + ${ge}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ge}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:be,borderStartEndRadius:be,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:be},"> *:last-child":{borderStartEndRadius:be}}},"&-footer":{borderRadius:`0 0 ${be}px ${be}px`}}}}},Ml=me=>{const{componentCls:ge}=me;return{[`${ge}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ge}-pagination-left`]:{justifyContent:"flex-end"},[`${ge}-pagination-right`]:{justifyContent:"flex-start"},[`${ge}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ge}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ge}-row-indent`]:{float:"right"}}}}},kl=me=>{const{componentCls:ge,antCls:be,iconCls:ke,fontSizeIcon:Ne,padding:He,paddingXS:vt,tableHeaderIconColor:Bt,tableHeaderIconColorHover:it,tableSelectionColumnWidth:Ht}=me;return{[`${ge}-wrapper`]:{[`${ge}-selection-col`]:{width:Ht,[`&${ge}-selection-col-with-dropdown`]:{width:Ht+Ne+He/4}},[`${ge}-bordered ${ge}-selection-col`]:{width:Ht+vt*2,[`&${ge}-selection-col-with-dropdown`]:{width:Ht+Ne+He/4+vt*2}},[`
table tr th${ge}-selection-column,
table tr td${ge}-selection-column
`]:{paddingInlineEnd:me.paddingXS,paddingInlineStart:me.paddingXS,textAlign:"center",[`${be}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ge}-selection-column${ge}-cell-fix-left`]:{zIndex:me.zIndexTableFixed+1},[`table tr th${ge}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ge}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ge}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${me.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${me.tablePaddingHorizontal/4}px`,[ke]:{color:Bt,fontSize:Ne,verticalAlign:"baseline","&:hover":{color:it}}}}}},cs=me=>{const{componentCls:ge}=me,be=(ke,Ne,He,vt)=>({[`${ge}${ge}-${ke}`]:{fontSize:vt,[`
${ge}-title,
${ge}-footer,
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Ne}px ${He}px`},[`${ge}-filter-trigger`]:{marginInlineEnd:`-${He/2}px`},[`${ge}-expanded-row-fixed`]:{margin:`-${Ne}px -${He}px`},[`${ge}-tbody`]:{[`${ge}-wrapper:only-child ${ge}`]:{marginBlock:`-${Ne}px`,marginInline:`${me.tableExpandColumnWidth-He}px -${He}px`}},[`${ge}-selection-column`]:{paddingInlineStart:`${He/4}px`}}});return{[`${ge}-wrapper`]:Object.assign(Object.assign({},be("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle,me.tableFontSizeMiddle)),be("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall,me.tableFontSizeSmall))}},ms=me=>{const{componentCls:ge,marginXXS:be,fontSizeIcon:ke,tableHeaderIconColor:Ne,tableHeaderIconColorHover:He}=me;return{[`${ge}-wrapper`]:{[`${ge}-thead th${ge}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${me.motionDurationSlow}`,"&:hover":{background:me.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:me.colorPrimary},[`
&${ge}-cell-fix-left:hover,
&${ge}-cell-fix-right:hover
`]:{background:me.tableFixedHeaderSortActiveBg}},[`${ge}-thead th${ge}-column-sort`]:{background:me.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ge}-column-sort`]:{background:me.tableBodySortBg},[`${ge}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ge}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ge}-column-sorter`]:{marginInlineStart:be,color:Ne,fontSize:0,transition:`color ${me.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ke,"&.active":{color:me.colorPrimary}},[`${ge}-column-sorter-up + ${ge}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ge}-column-sorters:hover ${ge}-column-sorter`]:{color:He}}}},Zi=me=>{const{componentCls:ge,opacityLoading:be,tableScrollThumbBg:ke,tableScrollThumbBgHover:Ne,tableScrollThumbSize:He,tableScrollBg:vt,zIndexTableSticky:Bt,stickyScrollBarBorderRadius:it}=me,Ht=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`;return{[`${ge}-wrapper`]:{[`${ge}-sticky`]:{"&-holder":{position:"sticky",zIndex:Bt,background:me.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${He}px !important`,zIndex:Bt,display:"flex",alignItems:"center",background:vt,borderTop:Ht,opacity:be,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:He,backgroundColor:ke,borderRadius:it,transition:`all ${me.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ne}}}}}}},xi=me=>{const{componentCls:ge,lineWidth:be,tableBorderColor:ke}=me,Ne=`${be}px ${me.lineType} ${ke}`;return{[`${ge}-wrapper`]:{[`${ge}-summary`]:{position:"relative",zIndex:me.zIndexTableFixed,background:me.tableBg,"> tr":{"> th, > td":{borderBottom:Ne}}},[`div${ge}-summary`]:{boxShadow:`0 -${be}px 0 ${ke}`}}}},dl=me=>{const{componentCls:ge}=me,be=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,ke=`${ge}-expanded-row-cell`;return{[`${ge}-wrapper`]:{[`${ge}-tbody-virtual`]:{[`${ge}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ge}-cell`]:{borderBottom:be},[`${ge}-expanded-row`]:{[`${ke}${ke}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${me.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ge}-bordered`]:{[`${ge}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:be,position:"absolute"},[`${ge}-cell`]:{borderInlineEnd:be,[`&${ge}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-me.lineWidth,borderInlineStart:be}}}}}}};const cl=me=>{const{componentCls:ge,fontWeightStrong:be,tablePaddingVertical:ke,tablePaddingHorizontal:Ne,lineWidth:He,lineType:vt,tableBorderColor:Bt,tableFontSize:it,tableBg:Ht,tableRadius:Ft,tableHeaderTextColor:Xt,motionDurationMid:Rn,tableHeaderBg:_t,tableHeaderCellSplitColor:Lt,tableRowHoverBg:$n,tableSelectedRowBg:Kn,tableSelectedRowHoverBg:Yn,tableFooterTextColor:Qn,tableFooterBg:ea,paddingContentVerticalLG:xn}=me,ba=`${He}px ${vt} ${Bt}`;return{[`${ge}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ki.dF)()),{[ge]:Object.assign(Object.assign({},(0,ki.Wf)(me)),{fontSize:it,background:Ht,borderRadius:`${Ft}px ${Ft}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ft}px ${Ft}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ge}-cell,
${ge}-thead > tr > th,
${ge}-tbody > tr > th,
${ge}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${xn}px ${Ne}px`,overflowWrap:"break-word"},[`${ge}-title`]:{padding:`${ke}px ${Ne}px`},[`${ge}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Xt,fontWeight:be,textAlign:"start",background:_t,borderBottom:ba,transition:`background ${Rn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ge}-selection-column):not(${ge}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Lt,transform:"translateY(-50%)",transition:`background-color ${Rn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ge}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Rn}, border-color ${Rn}`,borderBottom:ba,[`
> ${ge}-wrapper:only-child,
> ${ge}-expanded-row-fixed > ${ge}-wrapper:only-child
`]:{[ge]:{marginBlock:`-${ke}px`,marginInline:`${me.tableExpandColumnWidth-Ne}px -${Ne}px`,[`${ge}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Xt,fontWeight:be,textAlign:"start",background:_t,borderBottom:ba,transition:`background ${Rn} ease`},[`
&${ge}-row:hover > th,
&${ge}-row:hover > td,
> th${ge}-cell-row-hover,
> td${ge}-cell-row-hover
`]:{background:$n},[`&${ge}-row-selected`]:{"> th, > td":{background:Kn},"&:hover > th, &:hover > td":{background:Yn}}}},[`${ge}-footer`]:{padding:`${ke}px ${Ne}px`,color:Qn,background:ea}})}};var gl=(0,Nl.Z)("Table",me=>{const{colorTextHeading:ge,colorSplit:be,colorIcon:ke,colorIconHover:Ne,opacityLoading:He,colorBgContainer:vt,controlInteractiveSize:Bt,headerBg:it,headerColor:Ht,headerSortActiveBg:Ft,headerSortHoverBg:Xt,bodySortBg:Rn,rowHoverBg:_t,rowSelectedBg:Lt,rowSelectedHoverBg:$n,rowExpandedBg:Kn,cellPaddingBlock:Yn,cellPaddingInline:Qn,cellPaddingBlockMD:ea,cellPaddingInlineMD:xn,cellPaddingBlockSM:ba,cellPaddingInlineSM:ya,borderColor:Za,footerBg:ja,footerColor:la,headerBorderRadius:Sa,cellFontSize:ha,cellFontSizeMD:Wn,cellFontSizeSM:ca,headerSplitColor:Ta,fixedHeaderSortActiveBg:qa,headerFilterHoverBg:nr,filterDropdownBg:Wa,expandIconBg:gr,selectionColumnWidth:Sr,stickyScrollBarBg:Wr}=me,_r=new Fi.C(ke),ho=new Fi.C(Ne),eo=2,Br=(0,rs.TS)(me,{tableFontSize:ha,tableBg:vt,tableRadius:Sa,tablePaddingVertical:Yn,tablePaddingHorizontal:Qn,tablePaddingVerticalMiddle:ea,tablePaddingHorizontalMiddle:xn,tablePaddingVerticalSmall:ba,tablePaddingHorizontalSmall:ya,tableBorderColor:Za,tableHeaderTextColor:Ht,tableHeaderBg:it,tableFooterTextColor:la,tableFooterBg:ja,tableHeaderCellSplitColor:Ta,tableHeaderSortBg:Ft,tableHeaderSortHoverBg:Xt,tableHeaderIconColor:_r.clone().setAlpha(_r.getAlpha()*He).toRgbString(),tableHeaderIconColorHover:ho.clone().setAlpha(ho.getAlpha()*He).toRgbString(),tableBodySortBg:Rn,tableFixedHeaderSortActiveBg:qa,tableHeaderFilterActiveBg:nr,tableFilterDropdownBg:Wa,tableRowHoverBg:_t,tableSelectedRowBg:Lt,tableSelectedRowHoverBg:$n,zIndexTableFixed:eo,zIndexTableSticky:eo+1,tableFontSizeMiddle:Wn,tableFontSizeSmall:ca,tableSelectionColumnWidth:Sr,tableExpandIconBg:gr,tableExpandColumnWidth:Bt+2*me.padding,tableExpandedRowBg:Kn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wr,tableScrollThumbBgHover:ge,tableScrollBg:be});return[cl(Br),ds(Br),xi(Br),ms(Br),ei(Br),is(Br),Rl(Br),Ll(Br),xi(Br),ss(Br),kl(Br),Oo(Br),Zi(Br),ls(Br),cs(Br),Ml(Br),dl(Br)]},me=>{const{colorFillAlter:ge,colorBgContainer:be,colorTextHeading:ke,colorFillSecondary:Ne,colorFillContent:He,controlItemBgActive:vt,controlItemBgActiveHover:Bt,padding:it,paddingSM:Ht,paddingXS:Ft,colorBorderSecondary:Xt,borderRadiusLG:Rn,fontSize:_t,controlHeight:Lt,colorTextPlaceholder:$n}=me,Kn=new Fi.C(Ne).onBackground(be).toHexShortString(),Yn=new Fi.C(He).onBackground(be).toHexShortString(),Qn=new Fi.C(ge).onBackground(be).toHexShortString();return{headerBg:Qn,headerColor:ke,headerSortActiveBg:Kn,headerSortHoverBg:Yn,bodySortBg:Qn,rowHoverBg:Qn,rowSelectedBg:vt,rowSelectedHoverBg:Bt,rowExpandedBg:ge,cellPaddingBlock:it,cellPaddingInline:it,cellPaddingBlockMD:Ht,cellPaddingInlineMD:Ft,cellPaddingBlockSM:Ft,cellPaddingInlineSM:Ft,borderColor:Xt,headerBorderRadius:Rn,footerBg:Qn,footerColor:ke,cellFontSize:_t,cellFontSizeMD:_t,cellFontSizeSM:_t,headerSplitColor:Xt,fixedHeaderSortActiveBg:Kn,headerFilterHoverBg:He,filterDropdownMenuBg:be,filterDropdownBg:be,expandIconBg:be,selectionColumnWidth:Lt,stickyScrollBarBg:$n,stickyScrollBarBorderRadius:100}});const he=[],Ke=(me,ge)=>{const{prefixCls:be,className:ke,rootClassName:Ne,style:He,size:vt,bordered:Bt,dropdownPrefixCls:it,dataSource:Ht,pagination:Ft,rowSelection:Xt,rowKey:Rn="key",rowClassName:_t,columns:Lt,children:$n,childrenColumnName:Kn,onChange:Yn,getPopupContainer:Qn,loading:ea,expandIcon:xn,expandable:ba,expandedRowRender:ya,expandIconColumnIndex:Za,indentSize:ja,scroll:la,sortDirections:Sa,locale:ha,showSorterTooltip:Wn=!0,virtual:ca}=me,Ta=le.useMemo(()=>Lt||ct($n),[Lt,$n]),qa=le.useMemo(()=>Ta.some(Kr=>Kr.responsive),[Ta]),nr=(0,Ao.Z)(qa),Wa=le.useMemo(()=>{const Kr=new Set(Object.keys(nr).filter(po=>nr[po]));return Ta.filter(po=>!po.responsive||po.responsive.some(Mo=>Kr.has(Mo)))},[Ta,nr]),gr=(0,To.Z)(me,["className","style","columns"]),{locale:Sr=Go.Z,direction:Wr,table:_r,renderEmpty:ho,getPrefixCls:eo,getPopupContainer:Br}=le.useContext(Ir.E_),Do=(0,Zo.Z)(vt),Ur=Object.assign(Object.assign({},Sr.Table),ha),So=Ht||he,oo=eo("table",be),Jo=eo("dropdown",it),or=Object.assign({childrenColumnName:Kn,expandIconColumnIndex:Za},ba),{childrenColumnName:ir="children"}=or,_a=le.useMemo(()=>So.some(Kr=>Kr==null?void 0:Kr[ir])?"nest":ya||ba&&ba.expandedRowRender?"row":null,[So]),er={body:le.useRef()},Gr=le.useMemo(()=>typeof Rn=="function"?Rn:Kr=>Kr==null?void 0:Kr[Rn],[Rn]),[tr]=bl(So,ir,Gr),sr={},Rr=function(Kr,po){let Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var bo,Uo,Vo;const Xo=Object.assign(Object.assign({},sr),Kr);Mo&&((bo=sr.resetPagination)===null||bo===void 0||bo.call(sr),!((Uo=Xo.pagination)===null||Uo===void 0)&&Uo.current&&(Xo.pagination.current=1),Ft&&Ft.onChange&&Ft.onChange(1,(Vo=Xo.pagination)===null||Vo===void 0?void 0:Vo.pageSize)),la&&la.scrollToFirstRowOnChange!==!1&&er.body.current&&(0,ko.Z)(0,{getContainer:()=>er.body.current}),Yn==null||Yn(Xo.pagination,Xo.filters,Xo.sorter,{currentDataSource:Xl(Mi(So,Xo.sorterStates,ir),Xo.filterStates),action:po})},Dr=(Kr,po)=>{Rr({sorter:Kr,sorterStates:po},"sort",!1)},[io,wo,_o,Ro]=ns({prefixCls:oo,mergedColumns:Wa,onSorterChange:Dr,sortDirections:Sa||["ascend","descend"],tableLocale:Ur,showSorterTooltip:Wn}),ci=le.useMemo(()=>Mi(So,wo,ir),[So,wo]);sr.sorter=Ro(),sr.sorterStates=wo;const No=(Kr,po)=>{Rr({filters:Kr,filterStates:po},"filter",!0)},[Io,Ai,Yr]=El({prefixCls:oo,locale:Ur,dropdownPrefixCls:Jo,mergedColumns:Wa,onFilterChange:No,getPopupContainer:Qn||Br}),to=Xl(ci,Ai);sr.filters=Yr,sr.filterStates=Ai;const fo=le.useMemo(()=>{const Kr={};return Object.keys(Yr).forEach(po=>{Yr[po]!==null&&(Kr[po]=Yr[po])}),Object.assign(Object.assign({},_o),{filters:Kr})},[_o,Yr]),[yo]=as(fo),lo=(Kr,po)=>{Rr({pagination:Object.assign(Object.assign({},sr.pagination),{current:Kr,pageSize:po})},"paginate")},[Tr,Wo]=di(to.length,lo,Ft);sr.pagination=Ft===!1?{}:oi(Tr,Ft),sr.resetPagination=Wo;const $o=le.useMemo(()=>{if(Ft===!1||!Tr.pageSize)return to;const{current:Kr=1,total:po,pageSize:Mo=xl}=Tr;return to.length<po?to.length>Mo?to.slice((Kr-1)*Mo,Kr*Mo):to:to.slice((Kr-1)*Mo,Kr*Mo)},[!!Ft,to,Tr&&Tr.current,Tr&&Tr.pageSize,Tr&&Tr.total]),[da,Va]=Al({prefixCls:oo,data:to,pageData:$o,getRowKey:Gr,getRecordByKey:tr,expandType:_a,childrenColumnName:ir,locale:Ur,getPopupContainer:Qn||Br},Xt),Pr=(Kr,po,Mo)=>{let bo;return typeof _t=="function"?bo=qe()(_t(Kr,po,Mo)):bo=qe()(_t),qe()({[`${oo}-row-selected`]:Va.has(Gr(Kr,po))},bo)};or.__PARENT_RENDER_ICON__=or.expandIcon,or.expandIcon=or.expandIcon||xn||Fa(Ur),_a==="nest"&&or.expandIconColumnIndex===void 0?or.expandIconColumnIndex=Xt?1:0:or.expandIconColumnIndex>0&&Xt&&(or.expandIconColumnIndex-=1),typeof or.indentSize!="number"&&(or.indentSize=typeof ja=="number"?ja:15);const yr=le.useCallback(Kr=>yo(da(Io(io(Kr)))),[io,Io,da]);let Lr,zr;if(Ft!==!1&&(Tr!=null&&Tr.total)){let Kr;Tr.size?Kr=Tr.size:Kr=Do==="small"||Do==="middle"?"small":void 0;const po=Uo=>le.createElement(ai.Z,Object.assign({},Tr,{className:qe()(`${oo}-pagination ${oo}-pagination-${Uo}`,Tr.className),size:Kr})),Mo=Wr==="rtl"?"left":"right",{position:bo}=Tr;if(bo!==null&&Array.isArray(bo)){const Uo=bo.find(Si=>Si.includes("top")),Vo=bo.find(Si=>Si.includes("bottom")),Xo=bo.every(Si=>`${Si}`=="none");!Uo&&!Vo&&!Xo&&(zr=po(Mo)),Uo&&(Lr=po(Uo.toLowerCase().replace("top",""))),Vo&&(zr=po(Vo.toLowerCase().replace("bottom","")))}else zr=po(Mo)}let so;typeof ea=="boolean"?so={spinning:ea}:typeof ea=="object"&&(so=Object.assign({spinning:!0},ea));const[Eo,co]=gl(oo),[,vo]=(0,ga.Z)(),ii=qe()(`${oo}-wrapper`,_r==null?void 0:_r.className,{[`${oo}-wrapper-rtl`]:Wr==="rtl"},ke,Ne,co),zo=Object.assign(Object.assign({},_r==null?void 0:_r.style),He),ti=ha&&ha.emptyText||(ho==null?void 0:ho("Table"))||le.createElement(qr.Z,{componentName:"Table"}),qo=ca?sl:As,fi={},Xi=le.useMemo(()=>{const{fontSize:Kr,lineHeight:po,padding:Mo,paddingXS:bo,paddingSM:Uo}=vo,Vo=Math.floor(Kr*po);switch(Do){case"large":return Mo*2+Vo;case"small":return bo*2+Vo;default:return Uo*2+Vo}},[vo,Do]);return ca&&(fi.listItemHeight=Xi),Eo(le.createElement("div",{ref:ge,className:ii,style:zo},le.createElement($a.Z,Object.assign({spinning:!1},so),Lr,le.createElement(qo,Object.assign({},fi,gr,{columns:Wa,direction:Wr,expandable:or,prefixCls:oo,className:qe()({[`${oo}-middle`]:Do==="middle",[`${oo}-small`]:Do==="small",[`${oo}-bordered`]:Bt,[`${oo}-empty`]:So.length===0}),data:$o,rowKey:Gr,rowClassName:Pr,emptyText:ti,internalHooks:ue,internalRefs:er,transformColumns:yr})),zr)))};var Ve=le.forwardRef(Ke);const gn=(me,ge)=>{const be=le.useRef(0);return be.current+=1,le.createElement(Ve,Object.assign({},me,{ref:ge,_renderTimes:be.current}))},ua=le.forwardRef(gn);ua.SELECTION_COLUMN=yi,ua.EXPAND_COLUMN=b,ua.SELECTION_ALL=al,ua.SELECTION_INVERT=va,ua.SELECTION_NONE=Li,ua.Column=Qr,ua.ColumnGroup=xo,ua.Summary=Fe;var ka=ua,Ka=ka},12563:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Ye}});var b=te(59301),ue=te(72119),Be=te(92310),Te=te.n(Be),Ie=te(36785),Oe=te(47729),le=te(14088),ut=te(36355),ot=te(17313),Ue=te(37613),Qe=te(83116);const tt=Se=>{const{paddingXXS:Me,lineWidth:qe,tagPaddingHorizontal:ht,componentCls:Ae}=Se,mt=ht-qe,At=Me-qe;return{[Ae]:Object.assign(Object.assign({},(0,ot.Wf)(Se)),{display:"inline-block",height:"auto",marginInlineEnd:Se.marginXS,paddingInline:mt,fontSize:Se.tagFontSize,lineHeight:Se.tagLineHeight,whiteSpace:"nowrap",background:Se.defaultBg,border:`${Se.lineWidth}px ${Se.lineType} ${Se.colorBorder}`,borderRadius:Se.borderRadiusSM,opacity:1,transition:`all ${Se.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ae}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Se.defaultColor},[`${Ae}-close-icon`]:{marginInlineStart:At,color:Se.colorTextDescription,fontSize:Se.tagIconSize,cursor:"pointer",transition:`all ${Se.motionDurationMid}`,"&:hover":{color:Se.colorTextHeading}},[`&${Ae}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Se.iconCls}-close, ${Se.iconCls}-close:hover`]:{color:Se.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ae}-checkable-checked):hover`]:{color:Se.colorPrimary,backgroundColor:Se.colorFillSecondary},"&:active, &-checked":{color:Se.colorTextLightSolid},"&-checked":{backgroundColor:Se.colorPrimary,"&:hover":{backgroundColor:Se.colorPrimaryHover}},"&:active":{backgroundColor:Se.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Se.iconCls} + span, > span + ${Se.iconCls}`]:{marginInlineStart:mt}}),[`${Ae}-borderless`]:{borderColor:"transparent",background:Se.tagBorderlessBg}}},Je=Se=>{const{lineWidth:Me,fontSizeIcon:qe}=Se,ht=Se.fontSizeSM,Ae=`${Se.lineHeightSM*ht}px`;return(0,Ue.TS)(Se,{tagFontSize:ht,tagLineHeight:Ae,tagIconSize:qe-2*Me,tagPaddingHorizontal:8,tagBorderlessBg:Se.colorFillTertiary})},se=Se=>({defaultBg:Se.colorFillQuaternary,defaultColor:Se.colorText});var y=(0,Qe.Z)("Tag",Se=>{const Me=Je(Se);return tt(Me)},se),a=function(Se,Me){var qe={};for(var ht in Se)Object.prototype.hasOwnProperty.call(Se,ht)&&Me.indexOf(ht)<0&&(qe[ht]=Se[ht]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ht=Object.getOwnPropertySymbols(Se);Ae<ht.length;Ae++)Me.indexOf(ht[Ae])<0&&Object.prototype.propertyIsEnumerable.call(Se,ht[Ae])&&(qe[ht[Ae]]=Se[ht[Ae]]);return qe},E=Se=>{const{prefixCls:Me,style:qe,className:ht,checked:Ae,onChange:mt,onClick:At}=Se,Et=a(Se,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:dt,tag:Qt}=b.useContext(ut.E_),St=Yt=>{mt==null||mt(!Ae),At==null||At(Yt)},an=dt("tag",Me),[En,nt]=y(an),et=Te()(an,`${an}-checkable`,{[`${an}-checkable-checked`]:Ae},Qt==null?void 0:Qt.className,ht,nt);return En(b.createElement("span",Object.assign({},Et,{style:Object.assign(Object.assign({},qe),Qt==null?void 0:Qt.style),className:et,onClick:St})))},z=te(45157);const ne=Se=>(0,z.Z)(Se,(Me,qe)=>{let{textColor:ht,lightBorderColor:Ae,lightColor:mt,darkColor:At}=qe;return{[`${Se.componentCls}-${Me}`]:{color:ht,background:mt,borderColor:Ae,"&-inverse":{color:Se.colorTextLightSolid,background:At,borderColor:At},[`&${Se.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Qe.b)(["Tag","preset"],Se=>{const Me=Je(Se);return ne(Me)},se);function ie(Se){return typeof Se!="string"?Se:Se.charAt(0).toUpperCase()+Se.slice(1)}const de=(Se,Me,qe)=>{const ht=ie(qe);return{[`${Se.componentCls}-${Me}`]:{color:Se[`color${qe}`],background:Se[`color${ht}Bg`],borderColor:Se[`color${ht}Border`],[`&${Se.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,Qe.b)(["Tag","status"],Se=>{const Me=Je(Se);return[de(Me,"success","Success"),de(Me,"processing","Info"),de(Me,"error","Error"),de(Me,"warning","Warning")]},se),Pe=function(Se,Me){var qe={};for(var ht in Se)Object.prototype.hasOwnProperty.call(Se,ht)&&Me.indexOf(ht)<0&&(qe[ht]=Se[ht]);if(Se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ht=Object.getOwnPropertySymbols(Se);Ae<ht.length;Ae++)Me.indexOf(ht[Ae])<0&&Object.prototype.propertyIsEnumerable.call(Se,ht[Ae])&&(qe[ht[Ae]]=Se[ht[Ae]]);return qe};const je=(Se,Me)=>{const{prefixCls:qe,className:ht,rootClassName:Ae,style:mt,children:At,icon:Et,color:dt,onClose:Qt,closeIcon:St,closable:an,bordered:En=!0}=Se,nt=Pe(Se,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:et,direction:Yt,tag:hn}=b.useContext(ut.E_),[Tt,vn]=b.useState(!0);b.useEffect(()=>{"visible"in nt&&vn(nt.visible)},[nt.visible]);const Ge=(0,Ie.o2)(dt),Dt=(0,Ie.yT)(dt),Kt=Ge||Dt,Mt=Object.assign(Object.assign({backgroundColor:dt&&!Kt?dt:void 0},hn==null?void 0:hn.style),mt),pt=et("tag",qe),[rt,_e]=y(pt),ve=Te()(pt,hn==null?void 0:hn.className,{[`${pt}-${dt}`]:Kt,[`${pt}-has-color`]:dt&&!Kt,[`${pt}-hidden`]:!Tt,[`${pt}-rtl`]:Yt==="rtl",[`${pt}-borderless`]:!En},ht,Ae,_e),fe=$e=>{$e.stopPropagation(),Qt==null||Qt($e),!$e.defaultPrevented&&vn(!1)},[,Xe]=(0,Oe.Z)(an,St,$e=>$e===null?b.createElement(ue.Z,{className:`${pt}-close-icon`,onClick:fe}):b.createElement("span",{className:`${pt}-close-icon`,onClick:fe},$e),null,!1),bt=typeof nt.onClick=="function"||At&&At.type==="a",Fe=Et||null,Ce=Fe?b.createElement(b.Fragment,null,Fe,At&&b.createElement("span",null,At)):At,at=b.createElement("span",Object.assign({},nt,{ref:Me,className:ve,style:Mt}),Ce,Xe,Ge&&b.createElement(re,{key:"preset",prefixCls:pt}),Dt&&b.createElement(pe,{key:"status",prefixCls:pt}));return rt(bt?b.createElement(le.Z,{component:"Tag"},at):at)},Le=b.forwardRef(je);Le.CheckableTag=E;var Ye=Le},98228:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return Ba}});var b=te(92310),ue=te.n(b),Be=te(5891),Te=te(26390),Ie=te(57259),Oe=te(29043),le=te(19149),ut=te(80665),ot=te(77861),Ue=te(17115),Qe=te(90782),tt=te(35788),Je=te(51395),se=te(59301),y=function(qt){var An=se.useRef({valueLabels:new Map});return se.useMemo(function(){var Fn=An.current.valueLabels,Xn=new Map,Ze=qt.map(function(It){var Zt,Wt=It.value,tn=(Zt=It.label)!==null&&Zt!==void 0?Zt:Fn.get(Wt);return Xn.set(Wt,tn),(0,Ie.Z)((0,Ie.Z)({},It),{},{label:tn})});return An.current.valueLabels=Xn,[Ze]},[qt])},a=function(qt,An,Fn,Xn){return se.useMemo(function(){var Ze=qt.map(function(tn){var jt=tn.value;return jt}),It=An.map(function(tn){var jt=tn.value;return jt}),Zt=Ze.filter(function(tn){return!Xn[tn]});if(Fn){var Wt=(0,Qe.S)(Ze,!0,Xn);Ze=Wt.checkedKeys,It=Wt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Te.Z)(Zt),(0,Te.Z)(Ze)))),It]},[qt,An,Fn,Xn])},x=te(71430),E=function(qt,An){return se.useMemo(function(){var Fn=(0,x.I8)(qt,{fieldNames:An,initWrapper:function(Ze){return(0,Ie.Z)((0,Ie.Z)({},Ze),{},{valueEntities:new Map})},processEntity:function(Ze,It){var Zt=Ze.node[An.value];if(0)var Wt;It.valueEntities.set(Zt,Ze)}});return Fn},[qt,An])},z=te(80962),ne=te(38298),re=function(){return null},ie=re,de=["children","value"];function pe(qt){return(0,ne.Z)(qt).map(function(An){if(!se.isValidElement(An)||!An.type)return null;var Fn=An,Xn=Fn.key,Ze=Fn.props,It=Ze.children,Zt=Ze.value,Wt=(0,le.Z)(Ze,de),tn=(0,Ie.Z)({key:Xn,value:Zt},Wt),jt=pe(It);return jt.length&&(tn.children=jt),tn}).filter(function(An){return An})}function Pe(qt){if(!qt)return qt;var An=(0,Ie.Z)({},qt);return"props"in An||Object.defineProperty(An,"props",{get:function(){return(0,Je.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),An}}),An}function je(qt,An,Fn,Xn,Ze,It){var Zt=null,Wt=null;function tn(){function jt(pn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return pn.map(function(ct,rn){var In="".concat(st,"-").concat(rn),yn=ct[It.value],ia=Fn.includes(yn),Un=jt(ct[It.children]||[],In,ia),lt=se.createElement(ie,ct,Un.map(function(qn){return qn.node}));if(An===yn&&(Zt=lt),ia){var $t={pos:In,node:lt,children:Un};return yt||Wt.push($t),$t}return null}).filter(function(ct){return ct})}Wt||(Wt=[],jt(Xn),Wt.sort(function(pn,st){var yt=pn.node.props.value,ct=st.node.props.value,rn=Fn.indexOf(yt),In=Fn.indexOf(ct);return rn-In}))}Object.defineProperty(qt,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),Zt}}),Object.defineProperty(qt,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),Ze?Wt:Wt.map(function(pn){var st=pn.node;return st})}})}var Le=function(qt,An,Fn){var Xn=Fn.treeNodeFilterProp,Ze=Fn.filterTreeNode,It=Fn.fieldNames,Zt=It.children;return se.useMemo(function(){if(!An||Ze===!1)return qt;var Wt;if(typeof Ze=="function")Wt=Ze;else{var tn=An.toUpperCase();Wt=function(st,yt){var ct=yt[Xn];return String(ct).toUpperCase().includes(tn)}}function jt(pn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return pn.reduce(function(yt,ct){var rn=ct[Zt],In=st||Wt(An,Pe(ct)),yn=jt(rn||[],In);return(In||yn.length)&&yt.push((0,Ie.Z)((0,Ie.Z)({},ct),{},(0,z.Z)({isLeaf:void 0},Zt,yn))),yt},[])}return jt(qt)},[qt,An,Zt,Xn,Ze])};function Ye(qt){var An=se.useRef();An.current=qt;var Fn=se.useCallback(function(){return An.current.apply(An,arguments)},[]);return Fn}function Se(qt,An){var Fn=An.id,Xn=An.pId,Ze=An.rootPId,It={},Zt=[],Wt=qt.map(function(tn){var jt=(0,Ie.Z)({},tn),pn=jt[Fn];return It[pn]=jt,jt.key=jt.key||pn,jt});return Wt.forEach(function(tn){var jt=tn[Xn],pn=It[jt];pn&&(pn.children=pn.children||[],pn.children.push(tn)),(jt===Ze||!pn&&Ze===null)&&Zt.push(tn)}),Zt}function Me(qt,An,Fn){return se.useMemo(function(){return qt?Fn?Se(qt,(0,Ie.Z)({id:"id",pId:"pId",rootPId:null},Fn!==!0?Fn:{})):qt:pe(An)},[An,Fn,qt])}var qe=se.createContext(null),ht=qe,Ae=te(85108),mt=te(79722),At=te(99581),Et=se.createContext(null),dt=Et;function Qt(qt){return Array.isArray(qt)?qt:qt!==void 0?[qt]:[]}function St(qt){var An=qt||{},Fn=An.label,Xn=An.value,Ze=An.children,It=Xn||"value";return{_title:Fn?[Fn]:["title","label"],value:It,key:It,children:Ze||"children"}}function an(qt){return!qt||qt.disabled||qt.disableCheckbox||qt.checkable===!1}function En(qt,An){var Fn=[];function Xn(Ze){Ze.forEach(function(It){var Zt=It[An.children];Zt&&(Fn.push(It[An.value]),Xn(Zt))})}return Xn(qt),Fn}function nt(qt){return qt==null}var et={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Yt=function(An,Fn){var Xn=(0,ot.lk)(),Ze=Xn.prefixCls,It=Xn.multiple,Zt=Xn.searchValue,Wt=Xn.toggleOpen,tn=Xn.open,jt=Xn.notFoundContent,pn=se.useContext(dt),st=pn.virtual,yt=pn.listHeight,ct=pn.listItemHeight,rn=pn.treeData,In=pn.fieldNames,yn=pn.onSelect,ia=pn.dropdownMatchSelectWidth,Un=pn.treeExpandAction,lt=se.useContext(ht),$t=lt.checkable,qn=lt.checkedKeys,nn=lt.halfCheckedKeys,_n=lt.treeExpandedKeys,Jn=lt.treeDefaultExpandAll,Ma=lt.treeDefaultExpandedKeys,ma=lt.onTreeExpand,We=lt.treeIcon,dn=lt.showTreeIcon,Jt=lt.switcherIcon,Sn=lt.treeLine,On=lt.treeNodeFilterProp,kn=lt.loadData,Dn=lt.treeLoadedKeys,wn=lt.treeMotion,Aa=lt.onTreeLoad,La=lt.keyEntities,mn=se.useRef(),Da=(0,mt.Z)(function(){return rn},[tn,rn],function(Ra,xr){return xr[0]&&Ra[1]!==xr[1]}),na=se.useState(null),Qa=(0,Oe.Z)(na,2),Ja=Qa[0],Vn=Qa[1],sa=La[Ja],xa=se.useMemo(function(){return $t?{checked:qn,halfChecked:nn}:null},[$t,qn,nn]);se.useEffect(function(){if(tn&&!It&&qn.length){var Ra;(Ra=mn.current)===null||Ra===void 0||Ra.scrollTo({key:qn[0]}),Vn(qn[0])}},[tn]);var aa=String(Zt).toLowerCase(),za=function(xr){return aa?String(xr[On]).toLowerCase().includes(aa):!1},ar=se.useState(Ma),Ga=(0,Oe.Z)(ar,2),mr=Ga[0],Ua=Ga[1],Cr=se.useState(null),kr=(0,Oe.Z)(Cr,2),ao=kr[0],Er=kr[1],vr=se.useMemo(function(){return _n?(0,Te.Z)(_n):Zt?ao:mr},[mr,ao,_n,Zt]);se.useEffect(function(){Zt&&Er(En(rn,In))},[Zt]);var Zr=function(xr){Ua(xr),Er(xr),ma&&ma(xr)},hr=function(xr){xr.preventDefault()},Fr=function(xr,Xr){var br=Xr.node;$t&&an(br)||(yn(br.key,{selected:!qn.includes(br.key)}),It||Wt(!1))};if(se.useImperativeHandle(Fn,function(){var Ra;return{scrollTo:(Ra=mn.current)===null||Ra===void 0?void 0:Ra.scrollTo,onKeyDown:function(Xr){var br,Vr=Xr.which;switch(Vr){case Ae.Z.UP:case Ae.Z.DOWN:case Ae.Z.LEFT:case Ae.Z.RIGHT:(br=mn.current)===null||br===void 0||br.onKeyDown(Xr);break;case Ae.Z.ENTER:{if(sa){var jr=(sa==null?void 0:sa.node)||{},Xa=jr.selectable,wr=jr.value;Xa!==!1&&Fr(null,{node:{key:Ja},selected:!qn.includes(wr)})}break}case Ae.Z.ESC:Wt(!1)}},onKeyUp:function(){}}}),Da.length===0)return se.createElement("div",{role:"listbox",className:"".concat(Ze,"-empty"),onMouseDown:hr},jt);var ur={fieldNames:In};return Dn&&(ur.loadedKeys=Dn),vr&&(ur.expandedKeys=vr),se.createElement("div",{onMouseDown:hr},sa&&tn&&se.createElement("span",{style:et,"aria-live":"assertive"},sa.node.value),se.createElement(At.Z,(0,Be.Z)({ref:mn,focusable:!1,prefixCls:"".concat(Ze,"-tree"),treeData:Da,height:yt,itemHeight:ct,virtual:st!==!1&&ia!==!1,multiple:It,icon:We,showIcon:dn,switcherIcon:Jt,showLine:Sn,loadData:Zt?null:kn,motion:wn,activeKey:Ja,checkable:$t,checkStrictly:!0,checkedKeys:xa,selectedKeys:$t?[]:qn,defaultExpandAll:Jn},ur,{onActiveChange:Vn,onSelect:Fr,onCheck:Fr,onExpand:Zr,onLoad:Aa,filterTreeNode:za,expandAction:Un})))},hn=se.forwardRef(Yt);hn.displayName="OptionList";var Tt=hn,vn="SHOW_ALL",Ge="SHOW_PARENT",Dt="SHOW_CHILD";function Kt(qt,An,Fn,Xn){var Ze=new Set(qt);return An===Dt?qt.filter(function(It){var Zt=Fn[It];return!(Zt&&Zt.children&&Zt.children.some(function(Wt){var tn=Wt.node;return Ze.has(tn[Xn.value])})&&Zt.children.every(function(Wt){var tn=Wt.node;return an(tn)||Ze.has(tn[Xn.value])}))}):An===Ge?qt.filter(function(It){var Zt=Fn[It],Wt=Zt?Zt.parent:null;return!(Wt&&!an(Wt.node)&&Ze.has(Wt.key))}):qt}function Mt(qt){var An=qt.searchPlaceholder,Fn=qt.treeCheckStrictly,Xn=qt.treeCheckable,Ze=qt.labelInValue,It=qt.value,Zt=qt.multiple;warning(!An,"`searchPlaceholder` has been removed."),Fn&&Ze===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ze||Fn)&&warning(toArray(It).every(function(Wt){return Wt&&_typeof(Wt)==="object"&&"value"in Wt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),Fn||Zt||Xn?warning(!It||Array.isArray(It),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(It),"`value` should not be array when `TreeSelect` is single mode.")}var pt=null,rt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion"];function _e(qt){return!qt||(0,ut.Z)(qt)!=="object"}var ve=se.forwardRef(function(qt,An){var Fn=qt.id,Xn=qt.prefixCls,Ze=Xn===void 0?"rc-tree-select":Xn,It=qt.value,Zt=qt.defaultValue,Wt=qt.onChange,tn=qt.onSelect,jt=qt.onDeselect,pn=qt.searchValue,st=qt.inputValue,yt=qt.onSearch,ct=qt.autoClearSearchValue,rn=ct===void 0?!0:ct,In=qt.filterTreeNode,yn=qt.treeNodeFilterProp,ia=yn===void 0?"value":yn,Un=qt.showCheckedStrategy,lt=qt.treeNodeLabelProp,$t=qt.multiple,qn=qt.treeCheckable,nn=qt.treeCheckStrictly,_n=qt.labelInValue,Jn=qt.fieldNames,Ma=qt.treeDataSimpleMode,ma=qt.treeData,We=qt.children,dn=qt.loadData,Jt=qt.treeLoadedKeys,Sn=qt.onTreeLoad,On=qt.treeDefaultExpandAll,kn=qt.treeExpandedKeys,Dn=qt.treeDefaultExpandedKeys,wn=qt.onTreeExpand,Aa=qt.treeExpandAction,La=qt.virtual,mn=qt.listHeight,Da=mn===void 0?200:mn,na=qt.listItemHeight,Qa=na===void 0?20:na,Ja=qt.onDropdownVisibleChange,Vn=qt.dropdownMatchSelectWidth,sa=Vn===void 0?!0:Vn,xa=qt.treeLine,aa=qt.treeIcon,za=qt.showTreeIcon,ar=qt.switcherIcon,Ga=qt.treeMotion,mr=(0,le.Z)(qt,rt),Ua=(0,Ue.ZP)(Fn),Cr=qn&&!nn,kr=qn||nn,ao=nn||_n,Er=kr||$t,vr=(0,tt.Z)(Zt,{value:It}),Zr=(0,Oe.Z)(vr,2),hr=Zr[0],Fr=Zr[1],ur=se.useMemo(function(){return qn?Un||Dt:vn},[Un,qn]),Ra=se.useMemo(function(){return St(Jn)},[JSON.stringify(Jn)]),xr=(0,tt.Z)("",{value:pn!==void 0?pn:st,postState:function(fa){return fa||""}}),Xr=(0,Oe.Z)(xr,2),br=Xr[0],Vr=Xr[1],jr=function(fa){Vr(fa),yt==null||yt(fa)},Xa=Me(ma,We,Ma),wr=E(Xa,Ra),dr=wr.keyEntities,Qr=wr.valueEntities,ro=se.useCallback(function(Mn){var fa=[],wa=[];return Mn.forEach(function(Pa){Qr.has(Pa)?wa.push(Pa):fa.push(Pa)}),{missingRawValues:fa,existRawValues:wa}},[Qr]),xo=Le(Xa,br,{fieldNames:Ra,treeNodeFilterProp:ia,filterTreeNode:In}),To=se.useCallback(function(Mn){if(Mn){if(lt)return Mn[lt];for(var fa=Ra._title,wa=0;wa<fa.length;wa+=1){var Pa=Mn[fa[wa]];if(Pa!==void 0)return Pa}}},[Ra,lt]),ko=se.useCallback(function(Mn){var fa=Qt(Mn);return fa.map(function(wa){return _e(wa)?{value:wa}:wa})},[]),Ir=se.useCallback(function(Mn){var fa=ko(Mn);return fa.map(function(wa){var Pa=wa.label,Ar=wa.value,fr=wa.halfChecked,Or,$r=Qr.get(Ar);if($r){var uo;Pa=(uo=Pa)!==null&&uo!==void 0?uo:To($r.node),Or=$r.node.disabled}else if(Pa===void 0){var Co=ko(hr).find(function(pi){return pi.value===Ar});Pa=Co.label}return{label:Pa,value:Ar,halfChecked:fr,disabled:Or}})},[Qr,To,ko,hr]),qr=se.useMemo(function(){return ko(hr)},[ko,hr]),Zo=se.useMemo(function(){var Mn=[],fa=[];return qr.forEach(function(wa){wa.halfChecked?fa.push(wa):Mn.push(wa)}),[Mn,fa]},[qr]),Ao=(0,Oe.Z)(Zo,2),Go=Ao[0],ai=Ao[1],$a=se.useMemo(function(){return Go.map(function(Mn){return Mn.value})},[Go]),ga=a(Go,ai,Cr,dr),Tn=(0,Oe.Z)(ga,2),Fa=Tn[0],cr=Tn[1],Nr=se.useMemo(function(){var Mn=Kt(Fa,ur,dr,Ra),fa=Mn.map(function(fr){var Or,$r,uo;return(Or=($r=dr[fr])===null||$r===void 0||(uo=$r.node)===null||uo===void 0?void 0:uo[Ra.value])!==null&&Or!==void 0?Or:fr}),wa=fa.map(function(fr){var Or=Go.find(function($r){return $r.value===fr});return{value:fr,label:Or==null?void 0:Or.label}}),Pa=Ir(wa),Ar=Pa[0];return!Er&&Ar&&nt(Ar.value)&&nt(Ar.label)?[]:Pa.map(function(fr){var Or;return(0,Ie.Z)((0,Ie.Z)({},fr),{},{label:(Or=fr.label)!==null&&Or!==void 0?Or:fr.value})})},[Ra,Er,Fa,Go,Ir,ur,dr]),xe=y(Nr),sn=(0,Oe.Z)(xe,1),Cn=sn[0],zn=Ye(function(Mn,fa,wa){var Pa=Ir(Mn);if(Fr(Pa),rn&&Vr(""),Wt){var Ar=Mn;if(Cr){var fr=Kt(Mn,ur,dr,Ra);Ar=fr.map(function(Po){var hi=Qr.get(Po);return hi?hi.node[Ra.value]:Po})}var Or=fa||{triggerValue:void 0,selected:void 0},$r=Or.triggerValue,uo=Or.selected,Co=Ar;if(nn){var pi=ai.filter(function(Po){return!Ar.includes(Po.value)});Co=[].concat((0,Te.Z)(Co),(0,Te.Z)(pi))}var gi=Ir(Co),ri={preValue:Go,triggerValue:$r},ui=!0;(nn||wa==="selection"&&!uo)&&(ui=!1),je(ri,$r,Mn,Xa,ui,Ra),kr?ri.checked=uo:ri.selected=uo;var vi=ao?gi:gi.map(function(Po){return Po.value});Wt(Er?vi:vi[0],ao?null:gi.map(function(Po){return Po.label}),ri)}}),cn=se.useCallback(function(Mn,fa){var wa,Pa=fa.selected,Ar=fa.source,fr=dr[Mn],Or=fr==null?void 0:fr.node,$r=(wa=Or==null?void 0:Or[Ra.value])!==null&&wa!==void 0?wa:Mn;if(!Er)zn([$r],{selected:!0,triggerValue:$r},"option");else{var uo=Pa?[].concat((0,Te.Z)($a),[$r]):Fa.filter(function(hi){return hi!==$r});if(Cr){var Co=ro(uo),pi=Co.missingRawValues,gi=Co.existRawValues,ri=gi.map(function(hi){return Qr.get(hi).key}),ui;if(Pa){var vi=(0,Qe.S)(ri,!0,dr);ui=vi.checkedKeys}else{var Po=(0,Qe.S)(ri,{checked:!1,halfCheckedKeys:cr},dr);ui=Po.checkedKeys}uo=[].concat((0,Te.Z)(pi),(0,Te.Z)(ui.map(function(hi){return dr[hi].node[Ra.value]})))}zn(uo,{selected:Pa,triggerValue:$r},Ar||"option")}Pa||!Er?tn==null||tn($r,Pe(Or)):jt==null||jt($r,Pe(Or))},[ro,Qr,dr,Ra,Er,$a,zn,Cr,tn,jt,Fa,cr]),ra=se.useCallback(function(Mn){if(Ja){var fa={};Object.defineProperty(fa,"documentClickClose",{get:function(){return(0,Je.ZP)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Ja(Mn,fa)}},[Ja]),Zn=Ye(function(Mn,fa){var wa=Mn.map(function(Pa){return Pa.value});if(fa.type==="clear"){zn(wa,{},"selection");return}fa.values.length&&cn(fa.values[0].value,{selected:!1,source:"selection"})}),Nn=se.useMemo(function(){return{virtual:La,dropdownMatchSelectWidth:sa,listHeight:Da,listItemHeight:Qa,treeData:xo,fieldNames:Ra,onSelect:cn,treeExpandAction:Aa}},[La,sa,Da,Qa,xo,Ra,cn,Aa]),Gn=se.useMemo(function(){return{checkable:kr,loadData:dn,treeLoadedKeys:Jt,onTreeLoad:Sn,checkedKeys:Fa,halfCheckedKeys:cr,treeDefaultExpandAll:On,treeExpandedKeys:kn,treeDefaultExpandedKeys:Dn,onTreeExpand:wn,treeIcon:aa,treeMotion:Ga,showTreeIcon:za,switcherIcon:ar,treeLine:xa,treeNodeFilterProp:ia,keyEntities:dr}},[kr,dn,Jt,Sn,Fa,cr,On,kn,Dn,wn,aa,Ga,za,ar,xa,ia,dr]);return se.createElement(dt.Provider,{value:Nn},se.createElement(ht.Provider,{value:Gn},se.createElement(ot.Ac,(0,Be.Z)({ref:An},mr,{id:Ua,prefixCls:Ze,mode:Er?"multiple":void 0,displayValues:Cn,onDisplayValuesChange:Zn,searchValue:br,onSearch:jr,OptionList:Tt,emptyOptions:!Xa.length,onDropdownVisibleChange:ra,dropdownMatchSelectWidth:sa}))))}),fe=ve;fe.TreeNode=ie,fe.SHOW_ALL=vn,fe.SHOW_PARENT=Ge,fe.SHOW_CHILD=Dt;var Xe=fe,bt=Xe,Fe=te(64002),Ce=te(53487),at=te(62892),$e=te(19080),De=te(36355),gt=te(1684),un=te(93891),en=te(19716),zt=te(32441),ln=te(14154),on=te(58582),ze=te(84443),wt=te(66339),Ot=te(33234),Pt=te(48610),Nt=te(98447),fn=te(37613),Pn=te(83116),bn=te(20648);const Ln=qt=>{const{componentCls:An,treePrefixCls:Fn,colorBgElevated:Xn}=qt,Ze=`.${Fn}`;return[{[`${An}-dropdown`]:[{padding:`${qt.paddingXS}px ${qt.paddingXS/2}px`},(0,bn.Yk)(Fn,(0,fn.TS)(qt,{colorBgContainer:Xn})),{[Ze]:{borderRadius:0,[`${Ze}-list-holder-inner`]:{alignItems:"stretch",[`${Ze}-treenode`]:{[`${Ze}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Nt.C2)(`${Fn}-checkbox`,qt),{"&-rtl":{direction:"rtl",[`${Ze}-switcher${Ze}-switcher_close`]:{[`${Ze}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function ta(qt,An){return(0,Pn.Z)("TreeSelect",Fn=>{const Xn=(0,fn.TS)(Fn,{treePrefixCls:An});return[Ln(Xn)]},bn.TM)(qt)}var oa=function(qt,An){var Fn={};for(var Xn in qt)Object.prototype.hasOwnProperty.call(qt,Xn)&&An.indexOf(Xn)<0&&(Fn[Xn]=qt[Xn]);if(qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Xn=Object.getOwnPropertySymbols(qt);Ze<Xn.length;Ze++)An.indexOf(Xn[Ze])<0&&Object.prototype.propertyIsEnumerable.call(qt,Xn[Ze])&&(Fn[Xn[Ze]]=qt[Xn[Ze]]);return Fn};const jn=(qt,An)=>{var Fn,{prefixCls:Xn,size:Ze,disabled:It,bordered:Zt=!0,className:Wt,rootClassName:tn,treeCheckable:jt,multiple:pn,listHeight:st=256,listItemHeight:yt=26,placement:ct,notFoundContent:rn,switcherIcon:In,treeLine:yn,getPopupContainer:ia,popupClassName:Un,dropdownClassName:lt,treeIcon:$t=!1,transitionName:qn,choiceTransitionName:nn="",status:_n,treeExpandAction:Jn,builtinPlacements:Ma,dropdownMatchSelectWidth:ma,popupMatchSelectWidth:We,allowClear:dn}=qt,Jt=oa(qt,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear"]);const{getPopupContainer:Sn,getPrefixCls:On,renderEmpty:kn,direction:Dn,virtual:wn,popupMatchSelectWidth:Aa,popupOverflow:La}=se.useContext(De.E_),mn=On(),Da=On("select",Xn),na=On("select-tree",Xn),Qa=On("tree-select",Xn),{compactSize:Ja,compactItemClassnames:Vn}=(0,Ot.ri)(Da,Dn),[sa,xa]=(0,ln.Z)(Da),[aa]=ta(Qa,na),za=ue()(Un||lt,`${Qa}-dropdown`,{[`${Qa}-dropdown-rtl`]:Dn==="rtl"},tn,xa),ar=!!(jt||pn),Ga=(0,ze.Z)(Jt.suffixIcon,Jt.showArrow),mr=(Fn=We!=null?We:ma)!==null&&Fn!==void 0?Fn:Aa,{status:Ua,hasFeedback:Cr,isFormItemInput:kr,feedbackIcon:ao}=se.useContext(zt.aM),Er=(0,$e.F)(Ua,_n),{suffixIcon:vr,removeIcon:Zr,clearIcon:hr}=(0,wt.Z)(Object.assign(Object.assign({},Jt),{multiple:ar,showSuffixIcon:Ga,hasFeedback:Cr,feedbackIcon:ao,prefixCls:Da,componentName:"TreeSelect"})),Fr=dn===!0?{clearIcon:hr}:dn;let ur;rn!==void 0?ur=rn:ur=(kn==null?void 0:kn("Select"))||se.createElement(un.Z,{componentName:"Select"});const Ra=(0,Fe.Z)(Jt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),xr=se.useMemo(()=>ct!==void 0?ct:Dn==="rtl"?"bottomRight":"bottomLeft",[ct,Dn]),Xr=(0,on.Z)(Ma,La),br=(0,en.Z)(Qr=>{var ro;return(ro=Ze!=null?Ze:Ja)!==null&&ro!==void 0?ro:Qr}),Vr=se.useContext(gt.Z),jr=It!=null?It:Vr,Xa=ue()(!Xn&&Qa,{[`${Da}-lg`]:br==="large",[`${Da}-sm`]:br==="small",[`${Da}-rtl`]:Dn==="rtl",[`${Da}-borderless`]:!Zt,[`${Da}-in-form-item`]:kr},(0,$e.Z)(Da,Er,Cr),Vn,Wt,tn,xa),wr=Qr=>se.createElement(Pt.Z,{prefixCls:na,switcherIcon:In,treeNodeProps:Qr,showLine:yn}),dr=se.createElement(bt,Object.assign({virtual:wn,disabled:jr},Ra,{dropdownMatchSelectWidth:mr,builtinPlacements:Xr,ref:An,prefixCls:Da,className:Xa,listHeight:st,listItemHeight:yt,treeCheckable:jt&&se.createElement("span",{className:`${Da}-tree-checkbox-inner`}),treeLine:!!yn,suffixIcon:vr,multiple:ar,placement:xr,removeIcon:Zr,allowClear:Fr,switcherIcon:wr,showTreeIcon:$t,notFoundContent:ur,getPopupContainer:ia||Sn,treeMotion:null,dropdownClassName:za,choiceTransitionName:(0,at.m)(mn,"",nn),transitionName:(0,at.m)(mn,"slide-up",qn),treeExpandAction:Jn}));return sa(aa(dr))},pa=se.forwardRef(jn),Hn=(0,Ce.Z)(pa);pa.TreeNode=ie,pa.SHOW_ALL=vn,pa.SHOW_PARENT=Ge,pa.SHOW_CHILD=Dt,pa._InternalPanelDoNotUseOrYouWillBeFired=Hn;var Ba=pa},86914:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return dt}});var b=te(99581),ue=te(26390),Be=te(43971),Te=te(58358),Ie=te(5891),Oe=te(59301),le={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},ut=le,ot=te(88853),Ue=function(St,an){return Oe.createElement(ot.Z,(0,Ie.Z)({},St,{ref:an,icon:ut}))},Qe=Oe.forwardRef(Ue),tt=Qe,Je=te(92310),se=te.n(Je),y=te(35654),a=te(71430),x=te(36355),E=te(44757),z=te(62892),ne=te(20648);const re=4;function ie(Qt){const{dropPosition:St,dropLevelOffset:an,prefixCls:En,indent:nt,direction:et="ltr"}=Qt,Yt=et==="ltr"?"left":"right",hn=et==="ltr"?"right":"left",Tt={[Yt]:-an*nt+re,[hn]:0};switch(St){case-1:Tt.top=-3;break;case 1:Tt.bottom=-3;break;default:Tt.bottom=-3,Tt[Yt]=nt+re;break}return Oe.createElement("div",{style:Tt,className:`${En}-drop-indicator`})}var de=te(48610),Pe=Oe.forwardRef((Qt,St)=>{const{getPrefixCls:an,direction:En,virtual:nt,tree:et}=Oe.useContext(x.E_),{prefixCls:Yt,className:hn,showIcon:Tt=!1,showLine:vn,switcherIcon:Ge,blockNode:Dt=!1,children:Kt,checkable:Mt=!1,selectable:pt=!0,draggable:rt,motion:_e,style:ve}=Qt,fe=an("tree",Yt),Xe=an(),bt=_e!=null?_e:Object.assign(Object.assign({},(0,z.Z)(Xe)),{motionAppear:!1}),Fe=Object.assign(Object.assign({},Qt),{checkable:Mt,selectable:pt,showIcon:Tt,motion:bt,blockNode:Dt,showLine:!!vn,dropIndicatorRender:ie}),[Ce,at]=(0,ne.ZP)(fe),$e=Oe.useMemo(()=>{if(!rt)return!1;let gt={};switch(typeof rt){case"function":gt.nodeDraggable=rt;break;case"object":gt=Object.assign({},rt);break;default:break}return gt.icon!==!1&&(gt.icon=gt.icon||Oe.createElement(E.Z,null)),gt},[rt]),De=gt=>Oe.createElement(de.Z,{prefixCls:fe,switcherIcon:Ge,treeNodeProps:gt,showLine:vn});return Ce(Oe.createElement(b.Z,Object.assign({itemHeight:20,ref:St,virtual:nt},Fe,{style:Object.assign(Object.assign({},et==null?void 0:et.style),ve),prefixCls:fe,className:se()({[`${fe}-icon-hide`]:!Tt,[`${fe}-block-node`]:Dt,[`${fe}-unselectable`]:!pt,[`${fe}-rtl`]:En==="rtl"},et==null?void 0:et.className,hn,at),direction:En,checkable:Mt&&Oe.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:pt,switcherIcon:De,draggable:$e}),Kt))}),je;(function(Qt){Qt[Qt.None=0]="None",Qt[Qt.Start=1]="Start",Qt[Qt.End=2]="End"})(je||(je={}));function Le(Qt,St){function an(En){const{key:nt,children:et}=En;St(nt,En)!==!1&&Le(et||[],St)}Qt.forEach(an)}function Ye(Qt){let{treeData:St,expandedKeys:an,startKey:En,endKey:nt}=Qt;const et=[];let Yt=je.None;if(En&&En===nt)return[En];if(!En||!nt)return[];function hn(Tt){return Tt===En||Tt===nt}return Le(St,Tt=>{if(Yt===je.End)return!1;if(hn(Tt)){if(et.push(Tt),Yt===je.None)Yt=je.Start;else if(Yt===je.Start)return Yt=je.End,!1}else Yt===je.Start&&et.push(Tt);return an.includes(Tt)}),et}function Se(Qt,St){const an=(0,ue.Z)(St),En=[];return Le(Qt,(nt,et)=>{const Yt=an.indexOf(nt);return Yt!==-1&&(En.push(et),an.splice(Yt,1)),!!an.length}),En}var Me=function(Qt,St){var an={};for(var En in Qt)Object.prototype.hasOwnProperty.call(Qt,En)&&St.indexOf(En)<0&&(an[En]=Qt[En]);if(Qt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,En=Object.getOwnPropertySymbols(Qt);nt<En.length;nt++)St.indexOf(En[nt])<0&&Object.prototype.propertyIsEnumerable.call(Qt,En[nt])&&(an[En[nt]]=Qt[En[nt]]);return an};function qe(Qt){const{isLeaf:St,expanded:an}=Qt;return St?Oe.createElement(Be.Z,null):an?Oe.createElement(Te.Z,null):Oe.createElement(tt,null)}function ht(Qt){let{treeData:St,children:an}=Qt;return St||(0,a.zn)(an)}const Ae=(Qt,St)=>{var{defaultExpandAll:an,defaultExpandParent:En,defaultExpandedKeys:nt}=Qt,et=Me(Qt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Yt=Oe.useRef(),hn=Oe.useRef(),Tt=()=>{const{keyEntities:$e}=(0,a.I8)(ht(et));let De;return an?De=Object.keys($e):En?De=(0,y.r7)(et.expandedKeys||nt||[],$e):De=et.expandedKeys||nt,De},[vn,Ge]=Oe.useState(et.selectedKeys||et.defaultSelectedKeys||[]),[Dt,Kt]=Oe.useState(()=>Tt());Oe.useEffect(()=>{"selectedKeys"in et&&Ge(et.selectedKeys)},[et.selectedKeys]),Oe.useEffect(()=>{"expandedKeys"in et&&Kt(et.expandedKeys)},[et.expandedKeys]);const Mt=($e,De)=>{var gt;return"expandedKeys"in et||Kt($e),(gt=et.onExpand)===null||gt===void 0?void 0:gt.call(et,$e,De)},pt=($e,De)=>{var gt;const{multiple:un}=et,{node:en,nativeEvent:zt}=De,{key:ln=""}=en,on=ht(et),ze=Object.assign(Object.assign({},De),{selected:!0}),wt=(zt==null?void 0:zt.ctrlKey)||(zt==null?void 0:zt.metaKey),Ot=zt==null?void 0:zt.shiftKey;let Pt;un&&wt?(Pt=$e,Yt.current=ln,hn.current=Pt,ze.selectedNodes=Se(on,Pt)):un&&Ot?(Pt=Array.from(new Set([].concat((0,ue.Z)(hn.current||[]),(0,ue.Z)(Ye({treeData:on,expandedKeys:Dt,startKey:ln,endKey:Yt.current}))))),ze.selectedNodes=Se(on,Pt)):(Pt=[ln],Yt.current=ln,hn.current=Pt,ze.selectedNodes=Se(on,Pt)),(gt=et.onSelect)===null||gt===void 0||gt.call(et,Pt,ze),"selectedKeys"in et||Ge(Pt)},{getPrefixCls:rt,direction:_e}=Oe.useContext(x.E_),{prefixCls:ve,className:fe,showIcon:Xe=!0,expandAction:bt="click"}=et,Fe=Me(et,["prefixCls","className","showIcon","expandAction"]),Ce=rt("tree",ve),at=se()(`${Ce}-directory`,{[`${Ce}-directory-rtl`]:_e==="rtl"},fe);return Oe.createElement(Pe,Object.assign({icon:qe,ref:St,blockNode:!0},Fe,{showIcon:Xe,expandAction:bt,prefixCls:Ce,className:at,expandedKeys:Dt,selectedKeys:vn,onSelect:pt,onExpand:Mt}))};var At=Oe.forwardRef(Ae);const Et=Pe;Et.DirectoryTree=At,Et.TreeNode=b.O;var dt=Et},20648:function(Ut,Gt,te){"use strict";te.d(Gt,{TM:function(){return Je},Yk:function(){return tt}});var b=te(9792),ue=te(98447),Be=te(17313),Te=te(8378),Ie=te(37613),Oe=te(83116);const le=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ut=(se,y)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),ot=(se,y)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ue=(se,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:E,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:re}=y,ie=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Be.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Be.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:le,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Be.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},ut(se,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:ne},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},ot(se,y)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-E,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Qe=se=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:E,directoryNodeSelectedColor:z}=se;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${y}-switcher`]:{color:z},[`${y}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},tt=(se,y)=>{const a=`.${se}`,x=`${a}-treenode`,E=y.paddingXS/2,z=(0,Ie.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:E});return[Ue(se,z),Qe(z)]},Je=se=>{const{controlHeightSM:y}=se;return{titleHeight:y,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};Gt.ZP=(0,Oe.Z)("Tree",(se,y)=>{let{prefixCls:a}=y;return[{[se.componentCls]:(0,ue.C2)(`${a}-checkbox`,se)},tt(a,se),(0,Te.Z)(se)]},se=>{const{colorTextLightSolid:y,colorPrimary:a}=se;return Object.assign(Object.assign({},Je(se)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},48610:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return x}});var b=te(5891),ue=te(59301),Be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Te=Be,Ie=te(88853),Oe=function(z,ne){return ue.createElement(Ie.Z,(0,b.Z)({},z,{ref:ne,icon:Te}))},le=ue.forwardRef(Oe),ut=le,ot=te(43971),Ue=te(50023),Qe=te(77042),tt=te(5527),Je=te(92310),se=te.n(Je),y=te(92343),x=E=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ie}=E,{isLeaf:de,expanded:pe,loading:Pe}=re;if(Pe)return ue.createElement(Ue.Z,{className:`${z}-switcher-loading-icon`});let je;if(ie&&typeof ie=="object"&&(je=ie.showLeafIcon),de){if(!ie)return null;if(typeof je!="boolean"&&je){const Se=typeof je=="function"?je(re):je,Me=`${z}-switcher-line-custom-icon`;return(0,y.l$)(Se)?(0,y.Tm)(Se,{className:se()(Se.props.className||"",Me)}):Se}return je?ue.createElement(ot.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const Le=`${z}-switcher-icon`,Ye=typeof ne=="function"?ne(re):ne;return(0,y.l$)(Ye)?(0,y.Tm)(Ye,{className:se()(Ye.props.className||"",Le)}):Ye!==void 0?Ye:ie?pe?ue.createElement(Qe.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(tt.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(ut,{className:Le})}},24645:function(Ut,Gt,te){"use strict";te.d(Gt,{default:function(){return ma}});var b=te(59301),ue=te(26390),Be=te(92310),Te=te.n(Be),Ie=te(5891),Oe=te(79545),le=te(68550),ut=te(17928),ot=te(7711),Ue=te(80962),Qe=te(19149),tt=te(50204),Je=te(80665),se=te(20959),y=te(36994);function a(We,dn){var Jt="cannot ".concat(We.method," ").concat(We.action," ").concat(dn.status,"'"),Sn=new Error(Jt);return Sn.status=dn.status,Sn.method=We.method,Sn.url=We.action,Sn}function x(We){var dn=We.responseText||We.response;if(!dn)return dn;try{return JSON.parse(dn)}catch(Jt){return dn}}function E(We){var dn=new XMLHttpRequest;We.onProgress&&dn.upload&&(dn.upload.onprogress=function(kn){kn.total>0&&(kn.percent=kn.loaded/kn.total*100),We.onProgress(kn)});var Jt=new FormData;We.data&&Object.keys(We.data).forEach(function(On){var kn=We.data[On];if(Array.isArray(kn)){kn.forEach(function(Dn){Jt.append("".concat(On,"[]"),Dn)});return}Jt.append(On,kn)}),We.file instanceof Blob?Jt.append(We.filename,We.file,We.file.name):Jt.append(We.filename,We.file),dn.onerror=function(kn){We.onError(kn)},dn.onload=function(){return dn.status<200||dn.status>=300?We.onError(a(We,dn),x(dn)):We.onSuccess(x(dn),dn)},dn.open(We.method,We.action,!0),We.withCredentials&&"withCredentials"in dn&&(dn.withCredentials=!0);var Sn=We.headers||{};return Sn["X-Requested-With"]!==null&&dn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Sn).forEach(function(On){Sn[On]!==null&&dn.setRequestHeader(On,Sn[On])}),dn.send(Jt),{abort:function(){dn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ie=te(51395),de=function(We,dn){if(We&&dn){var Jt=Array.isArray(dn)?dn:dn.split(","),Sn=We.name||"",On=We.type||"",kn=On.replace(/\/.*$/,"");return Jt.some(function(Dn){var wn=Dn.trim();if(/^\*(\/\*)?$/.test(Dn))return!0;if(wn.charAt(0)==="."){var Aa=Sn.toLowerCase(),La=wn.toLowerCase(),mn=[La];return(La===".jpg"||La===".jpeg")&&(mn=[".jpg",".jpeg"]),mn.some(function(Da){return Aa.endsWith(Da)})}return/\/\*$/.test(wn)?kn===wn.replace(/\/.*$/,""):On===wn?!0:/^\w+$/.test(wn)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(wn,"'.Skip for check.")),!0):!1})}return!0};function pe(We,dn){var Jt=We.createReader(),Sn=[];function On(){Jt.readEntries(function(kn){var Dn=Array.prototype.slice.apply(kn);Sn=Sn.concat(Dn);var wn=!Dn.length;wn?dn(Sn):On()})}On()}var Pe=function(dn,Jt,Sn){var On=function kn(Dn,wn){Dn&&(Dn.path=wn||"",Dn.isFile?Dn.file(function(Aa){Sn(Aa)&&(Dn.fullPath&&!Aa.webkitRelativePath&&(Object.defineProperties(Aa,{webkitRelativePath:{writable:!0}}),Aa.webkitRelativePath=Dn.fullPath.replace(/^\//,""),Object.defineProperties(Aa,{webkitRelativePath:{writable:!1}})),Jt([Aa]))}):Dn.isDirectory&&pe(Dn,function(Aa){Aa.forEach(function(La){kn(La,"".concat(wn).concat(Dn.name,"/"))})}))};dn.forEach(function(kn){On(kn.webkitGetAsEntry())})},je=Pe,Le=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ye=function(We){(0,ut.Z)(Jt,We);var dn=(0,ot.Z)(Jt);function Jt(){var Sn;(0,Oe.Z)(this,Jt);for(var On=arguments.length,kn=new Array(On),Dn=0;Dn<On;Dn++)kn[Dn]=arguments[Dn];return Sn=dn.call.apply(dn,[this].concat(kn)),Sn.state={uid:re()},Sn.reqs={},Sn.fileInput=void 0,Sn._isMounted=void 0,Sn.onChange=function(wn){var Aa=Sn.props,La=Aa.accept,mn=Aa.directory,Da=wn.target.files,na=(0,ue.Z)(Da).filter(function(Qa){return!mn||de(Qa,La)});Sn.uploadFiles(na),Sn.reset()},Sn.onClick=function(wn){var Aa=Sn.fileInput;if(Aa){var La=wn.target,mn=Sn.props.onClick;if(La&&La.tagName==="BUTTON"){var Da=Aa.parentNode;Da.focus(),La.blur()}Aa.click(),mn&&mn(wn)}},Sn.onKeyDown=function(wn){wn.key==="Enter"&&Sn.onClick(wn)},Sn.onFileDrop=function(wn){var Aa=Sn.props.multiple;if(wn.preventDefault(),wn.type!=="dragover")if(Sn.props.directory)je(Array.prototype.slice.call(wn.dataTransfer.items),Sn.uploadFiles,function(mn){return de(mn,Sn.props.accept)});else{var La=(0,ue.Z)(wn.dataTransfer.files).filter(function(mn){return de(mn,Sn.props.accept)});Aa===!1&&(La=La.slice(0,1)),Sn.uploadFiles(La)}},Sn.uploadFiles=function(wn){var Aa=(0,ue.Z)(wn),La=Aa.map(function(mn){return mn.uid=re(),Sn.processFile(mn,Aa)});Promise.all(La).then(function(mn){var Da=Sn.props.onBatchStart;Da==null||Da(mn.map(function(na){var Qa=na.origin,Ja=na.parsedFile;return{file:Qa,parsedFile:Ja}})),mn.filter(function(na){return na.parsedFile!==null}).forEach(function(na){Sn.post(na)})})},Sn.processFile=function(){var wn=(0,se.Z)((0,tt.Z)().mark(function Aa(La,mn){var Da,na,Qa,Ja,Vn,sa,xa,aa,za;return(0,tt.Z)().wrap(function(Ga){for(;;)switch(Ga.prev=Ga.next){case 0:if(Da=Sn.props.beforeUpload,na=La,!Da){Ga.next=14;break}return Ga.prev=3,Ga.next=6,Da(La,mn);case 6:na=Ga.sent,Ga.next=12;break;case 9:Ga.prev=9,Ga.t0=Ga.catch(3),na=!1;case 12:if(na!==!1){Ga.next=14;break}return Ga.abrupt("return",{origin:La,parsedFile:null,action:null,data:null});case 14:if(Qa=Sn.props.action,typeof Qa!="function"){Ga.next=21;break}return Ga.next=18,Qa(La);case 18:Ja=Ga.sent,Ga.next=22;break;case 21:Ja=Qa;case 22:if(Vn=Sn.props.data,typeof Vn!="function"){Ga.next=29;break}return Ga.next=26,Vn(La);case 26:sa=Ga.sent,Ga.next=30;break;case 29:sa=Vn;case 30:return xa=((0,Je.Z)(na)==="object"||typeof na=="string")&&na?na:La,xa instanceof File?aa=xa:aa=new File([xa],La.name,{type:La.type}),za=aa,za.uid=La.uid,Ga.abrupt("return",{origin:La,data:sa,parsedFile:za,action:Ja});case 35:case"end":return Ga.stop()}},Aa,null,[[3,9]])}));return function(Aa,La){return wn.apply(this,arguments)}}(),Sn.saveFileInput=function(wn){Sn.fileInput=wn},Sn}return(0,le.Z)(Jt,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(On){var kn=this,Dn=On.data,wn=On.origin,Aa=On.action,La=On.parsedFile;if(this._isMounted){var mn=this.props,Da=mn.onStart,na=mn.customRequest,Qa=mn.name,Ja=mn.headers,Vn=mn.withCredentials,sa=mn.method,xa=wn.uid,aa=na||E,za={action:Aa,filename:Qa,data:Dn,file:La,headers:Ja,withCredentials:Vn,method:sa||"post",onProgress:function(Ga){var mr=kn.props.onProgress;mr==null||mr(Ga,La)},onSuccess:function(Ga,mr){var Ua=kn.props.onSuccess;Ua==null||Ua(Ga,La,mr),delete kn.reqs[xa]},onError:function(Ga,mr){var Ua=kn.props.onError;Ua==null||Ua(Ga,mr,La),delete kn.reqs[xa]}};Da(wn),this.reqs[xa]=aa(za)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function(On){var kn=this.reqs;if(On){var Dn=On.uid?On.uid:On;kn[Dn]&&kn[Dn].abort&&kn[Dn].abort(),delete kn[Dn]}else Object.keys(kn).forEach(function(wn){kn[wn]&&kn[wn].abort&&kn[wn].abort(),delete kn[wn]})}},{key:"render",value:function(){var On=this.props,kn=On.component,Dn=On.prefixCls,wn=On.className,Aa=On.disabled,La=On.id,mn=On.style,Da=On.multiple,na=On.accept,Qa=On.capture,Ja=On.children,Vn=On.directory,sa=On.openFileDialogOnClick,xa=On.onMouseEnter,aa=On.onMouseLeave,za=(0,Qe.Z)(On,Le),ar=Te()((0,Ue.Z)((0,Ue.Z)((0,Ue.Z)({},Dn,!0),"".concat(Dn,"-disabled"),Aa),wn,wn)),Ga=Vn?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},mr=Aa?{}:{onClick:sa?this.onClick:function(){},onKeyDown:sa?this.onKeyDown:function(){},onMouseEnter:xa,onMouseLeave:aa,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return b.createElement(kn,(0,Ie.Z)({},mr,{className:ar,role:"button",style:mn}),b.createElement("input",(0,Ie.Z)({},(0,y.Z)(za,{aria:!0,data:!0}),{id:La,disabled:Aa,type:"file",ref:this.saveFileInput,onClick:function(Cr){return Cr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:na},Ga,{multiple:Da,onChange:this.onChange},Qa!=null?{capture:Qa}:{})),Ja)}}]),Jt}(b.Component),Se=Ye;function Me(){}var qe=function(We){(0,ut.Z)(Jt,We);var dn=(0,ot.Z)(Jt);function Jt(){var Sn;(0,Oe.Z)(this,Jt);for(var On=arguments.length,kn=new Array(On),Dn=0;Dn<On;Dn++)kn[Dn]=arguments[Dn];return Sn=dn.call.apply(dn,[this].concat(kn)),Sn.uploader=void 0,Sn.saveUploader=function(wn){Sn.uploader=wn},Sn}return(0,le.Z)(Jt,[{key:"abort",value:function(On){this.uploader.abort(On)}},{key:"render",value:function(){return b.createElement(Se,(0,Ie.Z)({},this.props,{ref:this.saveUploader}))}}]),Jt}(b.Component);qe.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Me,onError:Me,onSuccess:Me,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var ht=qe,Ae=ht,mt=te(35788),At=te(4676),Et=te(36355),dt=te(1684),Qt=te(9763),St=te(31724),an={icon:function(dn,Jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:Jt}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:dn}}]}},name:"file",theme:"twotone"},En=an,nt=te(88853),et=function(dn,Jt){return b.createElement(nt.Z,(0,Ie.Z)({},dn,{ref:Jt,icon:En}))},Yt=b.forwardRef(et),hn=Yt,Tt=te(50023),vn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},Ge=vn,Dt=function(dn,Jt){return b.createElement(nt.Z,(0,Ie.Z)({},dn,{ref:Jt,icon:Ge}))},Kt=b.forwardRef(Dt),Mt=Kt,pt={icon:function(dn,Jt){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:dn}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:Jt}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:Jt}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:Jt}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:dn}}]}},name:"picture",theme:"twotone"},rt=pt,_e=function(dn,Jt){return b.createElement(nt.Z,(0,Ie.Z)({},dn,{ref:Jt,icon:rt}))},ve=b.forwardRef(_e),fe=ve,Xe=te(43469),bt=te(56762),Fe=te(62892),Ce=te(92343),at=te(3113);function $e(We){return Object.assign(Object.assign({},We),{lastModified:We.lastModified,lastModifiedDate:We.lastModifiedDate,name:We.name,size:We.size,type:We.type,uid:We.uid,percent:0,originFileObj:We})}function De(We,dn){const Jt=(0,ue.Z)(dn),Sn=Jt.findIndex(On=>{let{uid:kn}=On;return kn===We.uid});return Sn===-1?Jt.push(We):Jt[Sn]=We,Jt}function gt(We,dn){const Jt=We.uid!==void 0?"uid":"name";return dn.filter(Sn=>Sn[Jt]===We[Jt])[0]}function un(We,dn){const Jt=We.uid!==void 0?"uid":"name",Sn=dn.filter(On=>On[Jt]!==We[Jt]);return Sn.length===dn.length?null:Sn}const en=function(){const dn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Sn=dn[dn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Sn)||[""])[0]},zt=We=>We.indexOf("image/")===0,ln=We=>{if(We.type&&!We.thumbUrl)return zt(We.type);const dn=We.thumbUrl||We.url||"",Jt=en(dn);return/^data:image\//.test(dn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Jt)?!0:!(/^data:/.test(dn)||Jt)},on=200;function ze(We){return new Promise(dn=>{if(!We.type||!zt(We.type)){dn("");return}const Jt=document.createElement("canvas");Jt.width=on,Jt.height=on,Jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${on}px; height: ${on}px; z-index: 9999; display: none;`,document.body.appendChild(Jt);const Sn=Jt.getContext("2d"),On=new Image;if(On.onload=()=>{const{width:kn,height:Dn}=On;let wn=on,Aa=on,La=0,mn=0;kn>Dn?(Aa=Dn*(on/kn),mn=-(Aa-wn)/2):(wn=kn*(on/Dn),La=-(wn-Aa)/2),Sn.drawImage(On,La,mn,wn,Aa);const Da=Jt.toDataURL();document.body.removeChild(Jt),window.URL.revokeObjectURL(On.src),dn(Da)},On.crossOrigin="anonymous",We.type.startsWith("image/svg+xml")){const kn=new FileReader;kn.onload=()=>{kn.result&&(On.src=kn.result)},kn.readAsDataURL(We)}else if(We.type.startsWith("image/gif")){const kn=new FileReader;kn.onload=()=>{kn.result&&dn(kn.result)},kn.readAsDataURL(We)}else On.src=window.URL.createObjectURL(We)})}var wt=te(72295),Ot=te(24566),Pt=te(30631),Nt=te(93948),fn=te(6848),bn=b.forwardRef((We,dn)=>{let{prefixCls:Jt,className:Sn,style:On,locale:kn,listType:Dn,file:wn,items:Aa,progress:La,iconRender:mn,actionIconRender:Da,itemRender:na,isImgUrl:Qa,showPreviewIcon:Ja,showRemoveIcon:Vn,showDownloadIcon:sa,previewIcon:xa,removeIcon:aa,downloadIcon:za,onPreview:ar,onDownload:Ga,onClose:mr}=We;var Ua,Cr;const{status:kr}=wn,[ao,Er]=b.useState(kr);b.useEffect(()=>{kr!=="removed"&&Er(kr)},[kr]);const[vr,Zr]=b.useState(!1);b.useEffect(()=>{const Ir=setTimeout(()=>{Zr(!0)},300);return()=>{clearTimeout(Ir)}},[]);const hr=mn(wn);let Fr=b.createElement("div",{className:`${Jt}-icon`},hr);if(Dn==="picture"||Dn==="picture-card"||Dn==="picture-circle")if(ao==="uploading"||!wn.thumbUrl&&!wn.url){const Ir=Te()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:ao!=="uploading"});Fr=b.createElement("div",{className:Ir},hr)}else{const Ir=Qa!=null&&Qa(wn)?b.createElement("img",{src:wn.thumbUrl||wn.url,alt:wn.name,className:`${Jt}-list-item-image`,crossOrigin:wn.crossOrigin}):hr,qr=Te()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:Qa&&!Qa(wn)});Fr=b.createElement("a",{className:qr,onClick:Zo=>ar(wn,Zo),href:wn.url||wn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Ir)}const ur=Te()(`${Jt}-list-item`,`${Jt}-list-item-${ao}`),Ra=typeof wn.linkProps=="string"?JSON.parse(wn.linkProps):wn.linkProps,xr=Vn?Da((typeof aa=="function"?aa(wn):aa)||b.createElement(wt.Z,null),()=>mr(wn),Jt,kn.removeFile):null,Xr=sa&&ao==="done"?Da((typeof za=="function"?za(wn):za)||b.createElement(Ot.Z,null),()=>Ga(wn),Jt,kn.downloadFile):null,br=Dn!=="picture-card"&&Dn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Te()(`${Jt}-list-item-actions`,{picture:Dn==="picture"})},Xr,xr),Vr=Te()(`${Jt}-list-item-name`),jr=wn.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Vr,title:wn.name},Ra,{href:wn.url,onClick:Ir=>ar(wn,Ir)}),wn.name),br]:[b.createElement("span",{key:"view",className:Vr,onClick:Ir=>ar(wn,Ir),title:wn.name},wn.name),br],Xa={pointerEvents:"none",opacity:.5},wr=Ja?b.createElement("a",{href:wn.url||wn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:wn.url||wn.thumbUrl?void 0:Xa,onClick:Ir=>ar(wn,Ir),title:kn.previewFile},typeof xa=="function"?xa(wn):xa||b.createElement(Pt.Z,null)):null,dr=(Dn==="picture-card"||Dn==="picture-circle")&&ao!=="uploading"&&b.createElement("span",{className:`${Jt}-list-item-actions`},wr,ao==="done"&&Xr,xr),{getPrefixCls:Qr}=b.useContext(Et.E_),ro=Qr(),xo=b.createElement("div",{className:ur},Fr,jr,dr,vr&&b.createElement(Xe.default,{motionName:`${ro}-fade`,visible:ao==="uploading",motionDeadline:2e3},Ir=>{let{className:qr}=Ir;const Zo="percent"in wn?b.createElement(Nt.Z,Object.assign({},La,{type:"line",percent:wn.percent,"aria-label":wn["aria-label"],"aria-labelledby":wn["aria-labelledby"]})):null;return b.createElement("div",{className:Te()(`${Jt}-list-item-progress`,qr)},Zo)})),To=wn.response&&typeof wn.response=="string"?wn.response:((Ua=wn.error)===null||Ua===void 0?void 0:Ua.statusText)||((Cr=wn.error)===null||Cr===void 0?void 0:Cr.message)||kn.uploadError,ko=ao==="error"?b.createElement(fn.Z,{title:To,getPopupContainer:Ir=>Ir.parentNode},xo):xo;return b.createElement("div",{className:Te()(`${Jt}-list-item-container`,Sn),style:On,ref:dn},na?na(ko,wn,Aa,{download:Ga.bind(null,wn),preview:ar.bind(null,wn),remove:mr.bind(null,wn)}):ko)});const Ln=(We,dn)=>{const{listType:Jt="text",previewFile:Sn=ze,onPreview:On,onDownload:kn,onRemove:Dn,locale:wn,iconRender:Aa,isImageUrl:La=ln,prefixCls:mn,items:Da=[],showPreviewIcon:na=!0,showRemoveIcon:Qa=!0,showDownloadIcon:Ja=!1,removeIcon:Vn,previewIcon:sa,downloadIcon:xa,progress:aa={size:[-1,2],showInfo:!1},appendAction:za,appendActionVisible:ar=!0,itemRender:Ga,disabled:mr}=We,Ua=(0,bt.Z)(),[Cr,kr]=b.useState(!1);b.useEffect(()=>{Jt!=="picture"&&Jt!=="picture-card"&&Jt!=="picture-circle"||(Da||[]).forEach(Xa=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Xa.originFileObj instanceof File||Xa.originFileObj instanceof Blob)||Xa.thumbUrl!==void 0||(Xa.thumbUrl="",Sn&&Sn(Xa.originFileObj).then(wr=>{Xa.thumbUrl=wr||"",Ua()}))})},[Jt,Da,Sn]),b.useEffect(()=>{kr(!0)},[]);const ao=(Xa,wr)=>{if(On)return wr==null||wr.preventDefault(),On(Xa)},Er=Xa=>{typeof kn=="function"?kn(Xa):Xa.url&&window.open(Xa.url)},vr=Xa=>{Dn==null||Dn(Xa)},Zr=Xa=>{if(Aa)return Aa(Xa,Jt);const wr=Xa.status==="uploading",dr=La&&La(Xa)?b.createElement(fe,null):b.createElement(hn,null);let Qr=wr?b.createElement(Tt.Z,null):b.createElement(Mt,null);return Jt==="picture"?Qr=wr?b.createElement(Tt.Z,null):dr:(Jt==="picture-card"||Jt==="picture-circle")&&(Qr=wr?wn.uploading:dr),Qr},hr=(Xa,wr,dr,Qr)=>{const ro={type:"text",size:"small",title:Qr,onClick:xo=>{wr(),(0,Ce.l$)(Xa)&&Xa.props.onClick&&Xa.props.onClick(xo)},className:`${dr}-list-item-action`,disabled:mr};if((0,Ce.l$)(Xa)){const xo=(0,Ce.Tm)(Xa,Object.assign(Object.assign({},Xa.props),{onClick:()=>{}}));return b.createElement(at.ZP,Object.assign({},ro,{icon:xo}))}return b.createElement(at.ZP,Object.assign({},ro),b.createElement("span",null,Xa))};b.useImperativeHandle(dn,()=>({handlePreview:ao,handleDownload:Er}));const{getPrefixCls:Fr}=b.useContext(Et.E_),ur=Fr("upload",mn),Ra=Fr(),xr=Te()(`${ur}-list`,`${ur}-list-${Jt}`),Xr=(0,ue.Z)(Da.map(Xa=>({key:Xa.uid,file:Xa})));let Vr={motionDeadline:2e3,motionName:`${ur}-${Jt==="picture-card"||Jt==="picture-circle"?"animate-inline":"animate"}`,keys:Xr,motionAppear:Cr};const jr=b.useMemo(()=>{const Xa=Object.assign({},(0,Fe.Z)(Ra));return delete Xa.onAppearEnd,delete Xa.onEnterEnd,delete Xa.onLeaveEnd,Xa},[Ra]);return Jt!=="picture-card"&&Jt!=="picture-circle"&&(Vr=Object.assign(Object.assign({},jr),Vr)),b.createElement("div",{className:xr},b.createElement(Xe.CSSMotionList,Object.assign({},Vr,{component:!1}),Xa=>{let{key:wr,file:dr,className:Qr,style:ro}=Xa;return b.createElement(bn,{key:wr,locale:wn,prefixCls:ur,className:Qr,style:ro,file:dr,items:Da,progress:aa,listType:Jt,isImgUrl:La,showPreviewIcon:na,showRemoveIcon:Qa,showDownloadIcon:Ja,removeIcon:Vn,previewIcon:sa,downloadIcon:xa,iconRender:Zr,actionIconRender:hr,itemRender:Ga,onPreview:ao,onDownload:Er,onClose:vr})}),za&&b.createElement(Xe.default,Object.assign({},Vr,{visible:ar,forceRender:!0}),Xa=>{let{className:wr,style:dr}=Xa;return(0,Ce.Tm)(za,Qr=>({className:Te()(Qr.className,wr),style:Object.assign(Object.assign(Object.assign({},dr),{pointerEvents:wr?"none":void 0}),Qr.style)}))}))};var oa=b.forwardRef(Ln),jn=te(17313),Ea=te(8378),pa=te(83116),Hn=te(37613),qt=We=>{const{componentCls:dn,iconCls:Jt}=We;return{[`${dn}-wrapper`]:{[`${dn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:We.colorFillAlter,border:`${We.lineWidth}px dashed ${We.colorBorder}`,borderRadius:We.borderRadiusLG,cursor:"pointer",transition:`border-color ${We.motionDurationSlow}`,[dn]:{padding:`${We.padding}px 0`},[`${dn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${dn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${dn}-disabled):hover`]:{borderColor:We.colorPrimaryHover},[`p${dn}-drag-icon`]:{marginBottom:We.margin,[Jt]:{color:We.colorPrimary,fontSize:We.uploadThumbnailSize}},[`p${dn}-text`]:{margin:`0 0 ${We.marginXXS}px`,color:We.colorTextHeading,fontSize:We.fontSizeLG},[`p${dn}-hint`]:{color:We.colorTextDescription,fontSize:We.fontSize},[`&${dn}-disabled`]:{cursor:"not-allowed",[`p${dn}-drag-icon ${Jt},
p${dn}-text,
p${dn}-hint
`]:{color:We.colorTextDisabled}}}}}},Fn=We=>{const{componentCls:dn,antCls:Jt,iconCls:Sn,fontSize:On,lineHeight:kn}=We,Dn=`${dn}-list-item`,wn=`${Dn}-actions`,Aa=`${Dn}-action`,La=Math.round(On*kn);return{[`${dn}-wrapper`]:{[`${dn}-list`]:Object.assign(Object.assign({},(0,jn.dF)()),{lineHeight:We.lineHeight,[Dn]:{position:"relative",height:We.lineHeight*On,marginTop:We.marginXS,fontSize:On,display:"flex",alignItems:"center",transition:`background-color ${We.motionDurationSlow}`,"&:hover":{backgroundColor:We.controlItemBgHover},[`${Dn}-name`]:Object.assign(Object.assign({},jn.vS),{padding:`0 ${We.paddingXS}px`,lineHeight:kn,flex:"auto",transition:`all ${We.motionDurationSlow}`}),[wn]:{[Aa]:{opacity:0},[`${Aa}${Jt}-btn-sm`]:{height:La,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${Aa}:focus-visible,
&.picture ${Aa}
`]:{opacity:1},[Sn]:{color:We.actionsColor,transition:`all ${We.motionDurationSlow}`},[`&:hover ${Sn}`]:{color:We.colorText}},[`${dn}-icon ${Sn}`]:{color:We.colorTextDescription,fontSize:On},[`${Dn}-progress`]:{position:"absolute",bottom:-We.uploadProgressOffset,width:"100%",paddingInlineStart:On+We.paddingXS,fontSize:On,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Dn}:hover ${Aa}`]:{opacity:1,color:We.colorText},[`${Dn}-error`]:{color:We.colorError,[`${Dn}-name, ${dn}-icon ${Sn}`]:{color:We.colorError},[wn]:{[`${Sn}, ${Sn}:hover`]:{color:We.colorError},[Aa]:{opacity:1}}},[`${dn}-list-item-container`]:{transition:`opacity ${We.motionDurationSlow}, height ${We.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Xn=te(9792),Ze=te(1950);const It=new Xn.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Zt=new Xn.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var tn=We=>{const{componentCls:dn}=We,Jt=`${dn}-animate-inline`;return[{[`${dn}-wrapper`]:{[`${Jt}-appear, ${Jt}-enter, ${Jt}-leave`]:{animationDuration:We.motionDurationSlow,animationTimingFunction:We.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Jt}-appear, ${Jt}-enter`]:{animationName:It},[`${Jt}-leave`]:{animationName:Zt}}},{[`${dn}-wrapper`]:(0,Ze.J$)(We)},It,Zt]},jt=te(93398),pn=te(64993);const st=We=>{const{componentCls:dn,iconCls:Jt,uploadThumbnailSize:Sn,uploadProgressOffset:On}=We,kn=`${dn}-list`,Dn=`${kn}-item`;return{[`${dn}-wrapper`]:{[`
${kn}${kn}-picture,
${kn}${kn}-picture-card,
${kn}${kn}-picture-circle
`]:{[Dn]:{position:"relative",height:Sn+We.lineWidth*2+We.paddingXS*2,padding:We.paddingXS,border:`${We.lineWidth}px ${We.lineType} ${We.colorBorder}`,borderRadius:We.borderRadiusLG,"&:hover":{background:"transparent"},[`${Dn}-thumbnail`]:Object.assign(Object.assign({},jn.vS),{width:Sn,height:Sn,lineHeight:`${Sn+We.paddingSM}px`,textAlign:"center",flex:"none",[Jt]:{fontSize:We.fontSizeHeading2,color:We.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Dn}-progress`]:{bottom:On,width:`calc(100% - ${We.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Sn+We.paddingXS}},[`${Dn}-error`]:{borderColor:We.colorError,[`${Dn}-thumbnail ${Jt}`]:{[`svg path[fill='${jt.blue[0]}']`]:{fill:We.colorErrorBg},[`svg path[fill='${jt.blue.primary}']`]:{fill:We.colorError}}},[`${Dn}-uploading`]:{borderStyle:"dashed",[`${Dn}-name`]:{marginBottom:On}}},[`${kn}${kn}-picture-circle ${Dn}`]:{[`&, &::before, ${Dn}-thumbnail`]:{borderRadius:"50%"}}}}},yt=We=>{const{componentCls:dn,iconCls:Jt,fontSizeLG:Sn,colorTextLightSolid:On}=We,kn=`${dn}-list`,Dn=`${kn}-item`,wn=We.uploadPicCardSize;return{[`
${dn}-wrapper${dn}-picture-card-wrapper,
${dn}-wrapper${dn}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,jn.dF)()),{display:"inline-block",width:"100%",[`${dn}${dn}-select`]:{width:wn,height:wn,marginInlineEnd:We.marginXS,marginBottom:We.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:We.colorFillAlter,border:`${We.lineWidth}px dashed ${We.colorBorder}`,borderRadius:We.borderRadiusLG,cursor:"pointer",transition:`border-color ${We.motionDurationSlow}`,[`> ${dn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${dn}-disabled):hover`]:{borderColor:We.colorPrimary}},[`${kn}${kn}-picture-card, ${kn}${kn}-picture-circle`]:{[`${kn}-item-container`]:{display:"inline-block",width:wn,height:wn,marginBlock:`0 ${We.marginXS}px`,marginInline:`0 ${We.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Dn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${We.paddingXS*2}px)`,height:`calc(100% - ${We.paddingXS*2}px)`,backgroundColor:We.colorBgMask,opacity:0,transition:`all ${We.motionDurationSlow}`,content:'" "'}},[`${Dn}:hover`]:{[`&::before, ${Dn}-actions`]:{opacity:1}},[`${Dn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${We.motionDurationSlow}`,[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{zIndex:10,width:Sn,margin:`0 ${We.marginXXS}px`,fontSize:Sn,cursor:"pointer",transition:`all ${We.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Dn}-actions, ${Dn}-actions:hover`]:{[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{color:new pn.C(On).setAlpha(.65).toRgbString(),"&:hover":{color:On}}},[`${Dn}-thumbnail, ${Dn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Dn}-name`]:{display:"none",textAlign:"center"},[`${Dn}-file + ${Dn}-name`]:{position:"absolute",bottom:We.margin,display:"block",width:`calc(100% - ${We.paddingXS*2}px)`},[`${Dn}-uploading`]:{[`&${Dn}`]:{backgroundColor:We.colorFillAlter},[`&::before, ${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{display:"none"}},[`${Dn}-progress`]:{bottom:We.marginXL,width:`calc(100% - ${We.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${dn}-wrapper${dn}-picture-circle-wrapper`]:{[`${dn}${dn}-select`]:{borderRadius:"50%"}}}};var rn=We=>{const{componentCls:dn}=We;return{[`${dn}-rtl`]:{direction:"rtl"}}};const In=We=>{const{componentCls:dn,colorTextDisabled:Jt}=We;return{[`${dn}-wrapper`]:Object.assign(Object.assign({},(0,jn.Wf)(We)),{[dn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${dn}-select`]:{display:"inline-block"},[`${dn}-disabled`]:{color:Jt,cursor:"not-allowed"}})}};var yn=(0,pa.Z)("Upload",We=>{const{fontSizeHeading3:dn,fontSize:Jt,lineHeight:Sn,lineWidth:On,controlHeightLG:kn}=We,Dn=Math.round(Jt*Sn),wn=(0,Hn.TS)(We,{uploadThumbnailSize:dn*2,uploadProgressOffset:Dn/2+On,uploadPicCardSize:kn*2.55});return[In(wn),qt(wn),st(wn),yt(wn),Fn(wn),tn(wn),rn(wn),(0,Ea.Z)(wn)]},We=>({actionsColor:We.colorTextDescription})),ia=function(We,dn,Jt,Sn){function On(kn){return kn instanceof Jt?kn:new Jt(function(Dn){Dn(kn)})}return new(Jt||(Jt=Promise))(function(kn,Dn){function wn(mn){try{La(Sn.next(mn))}catch(Da){Dn(Da)}}function Aa(mn){try{La(Sn.throw(mn))}catch(Da){Dn(Da)}}function La(mn){mn.done?kn(mn.value):On(mn.value).then(wn,Aa)}La((Sn=Sn.apply(We,dn||[])).next())})};const Un=`__LIST_IGNORE_${Date.now()}__`,lt=(We,dn)=>{const{fileList:Jt,defaultFileList:Sn,onRemove:On,showUploadList:kn=!0,listType:Dn="text",onPreview:wn,onDownload:Aa,onChange:La,onDrop:mn,previewFile:Da,disabled:na,locale:Qa,iconRender:Ja,isImageUrl:Vn,progress:sa,prefixCls:xa,className:aa,type:za="select",children:ar,style:Ga,itemRender:mr,maxCount:Ua,data:Cr={},multiple:kr=!1,action:ao="",accept:Er="",supportServerRender:vr=!0,rootClassName:Zr}=We,hr=b.useContext(dt.Z),Fr=na!=null?na:hr,[ur,Ra]=(0,mt.Z)(Sn||[],{value:Jt,postState:Zn=>Zn!=null?Zn:[]}),[xr,Xr]=b.useState("drop"),br=b.useRef(null);b.useMemo(()=>{const Zn=Date.now();(Jt||[]).forEach((Nn,Gn)=>{!Nn.uid&&!Object.isFrozen(Nn)&&(Nn.uid=`__AUTO__${Zn}_${Gn}__`)})},[Jt]);const Vr=(Zn,Nn,Gn)=>{let Mn=(0,ue.Z)(Nn),fa=!1;Ua===1?Mn=Mn.slice(-1):Ua&&(fa=Mn.length>Ua,Mn=Mn.slice(0,Ua)),(0,At.flushSync)(()=>{Ra(Mn)});const wa={file:Zn,fileList:Mn};Gn&&(wa.event=Gn),(!fa||Mn.some(Pa=>Pa.uid===Zn.uid))&&(0,At.flushSync)(()=>{La==null||La(wa)})},jr=(Zn,Nn)=>ia(void 0,void 0,void 0,function*(){const{beforeUpload:Gn,transformFile:Mn}=We;let fa=Zn;if(Gn){const wa=yield Gn(Zn,Nn);if(wa===!1)return!1;if(delete Zn[Un],wa===Un)return Object.defineProperty(Zn,Un,{value:!0,configurable:!0}),!1;typeof wa=="object"&&wa&&(fa=wa)}return Mn&&(fa=yield Mn(fa)),fa}),Xa=Zn=>{const Nn=Zn.filter(fa=>!fa.file[Un]);if(!Nn.length)return;const Gn=Nn.map(fa=>$e(fa.file));let Mn=(0,ue.Z)(ur);Gn.forEach(fa=>{Mn=De(fa,Mn)}),Gn.forEach((fa,wa)=>{let Pa=fa;if(Nn[wa].parsedFile)fa.status="uploading";else{const{originFileObj:Ar}=fa;let fr;try{fr=new File([Ar],Ar.name,{type:Ar.type})}catch(Or){fr=new Blob([Ar],{type:Ar.type}),fr.name=Ar.name,fr.lastModifiedDate=new Date,fr.lastModified=new Date().getTime()}fr.uid=fa.uid,Pa=fr}Vr(Pa,Mn)})},wr=(Zn,Nn,Gn)=>{try{typeof Zn=="string"&&(Zn=JSON.parse(Zn))}catch(wa){}if(!gt(Nn,ur))return;const Mn=$e(Nn);Mn.status="done",Mn.percent=100,Mn.response=Zn,Mn.xhr=Gn;const fa=De(Mn,ur);Vr(Mn,fa)},dr=(Zn,Nn)=>{if(!gt(Nn,ur))return;const Gn=$e(Nn);Gn.status="uploading",Gn.percent=Zn.percent;const Mn=De(Gn,ur);Vr(Gn,Mn,Zn)},Qr=(Zn,Nn,Gn)=>{if(!gt(Gn,ur))return;const Mn=$e(Gn);Mn.error=Zn,Mn.response=Nn,Mn.status="error";const fa=De(Mn,ur);Vr(Mn,fa)},ro=Zn=>{let Nn;Promise.resolve(typeof On=="function"?On(Zn):On).then(Gn=>{var Mn;if(Gn===!1)return;const fa=un(Zn,ur);fa&&(Nn=Object.assign(Object.assign({},Zn),{status:"removed"}),ur==null||ur.forEach(wa=>{const Pa=Nn.uid!==void 0?"uid":"name";wa[Pa]===Nn[Pa]&&!Object.isFrozen(wa)&&(wa.status="removed")}),(Mn=br.current)===null||Mn===void 0||Mn.abort(Nn),Vr(Nn,fa))})},xo=Zn=>{Xr(Zn.type),Zn.type==="drop"&&(mn==null||mn(Zn))};b.useImperativeHandle(dn,()=>({onBatchStart:Xa,onSuccess:wr,onProgress:dr,onError:Qr,fileList:ur,upload:br.current}));const{getPrefixCls:To,direction:ko,upload:Ir}=b.useContext(Et.E_),qr=To("upload",xa),Zo=Object.assign(Object.assign({onBatchStart:Xa,onError:Qr,onProgress:dr,onSuccess:wr},We),{data:Cr,multiple:kr,action:ao,accept:Er,supportServerRender:vr,prefixCls:qr,disabled:Fr,beforeUpload:jr,onChange:void 0});delete Zo.className,delete Zo.style,(!ar||Fr)&&delete Zo.id;const[Ao,Go]=yn(qr),[ai]=(0,Qt.Z)("Upload",St.Z.Upload),{showRemoveIcon:$a,showPreviewIcon:ga,showDownloadIcon:Tn,removeIcon:Fa,previewIcon:cr,downloadIcon:Nr}=typeof kn=="boolean"?{}:kn,xe=(Zn,Nn)=>kn?b.createElement(oa,{prefixCls:qr,listType:Dn,items:ur,previewFile:Da,onPreview:wn,onDownload:Aa,onRemove:ro,showRemoveIcon:!Fr&&$a,showPreviewIcon:ga,showDownloadIcon:Tn,removeIcon:Fa,previewIcon:cr,downloadIcon:Nr,iconRender:Ja,locale:Object.assign(Object.assign({},ai),Qa),isImageUrl:Vn,progress:sa,appendAction:Zn,appendActionVisible:Nn,itemRender:mr,disabled:Fr}):Zn,sn=Te()(`${qr}-wrapper`,aa,Zr,Go,Ir==null?void 0:Ir.className,{[`${qr}-rtl`]:ko==="rtl",[`${qr}-picture-card-wrapper`]:Dn==="picture-card",[`${qr}-picture-circle-wrapper`]:Dn==="picture-circle"}),Cn=Object.assign(Object.assign({},Ir==null?void 0:Ir.style),Ga);if(za==="drag"){const Zn=Te()(Go,qr,`${qr}-drag`,{[`${qr}-drag-uploading`]:ur.some(Nn=>Nn.status==="uploading"),[`${qr}-drag-hover`]:xr==="dragover",[`${qr}-disabled`]:Fr,[`${qr}-rtl`]:ko==="rtl"});return Ao(b.createElement("span",{className:sn},b.createElement("div",{className:Zn,style:Cn,onDrop:xo,onDragOver:xo,onDragLeave:xo},b.createElement(Ae,Object.assign({},Zo,{ref:br,className:`${qr}-btn`}),b.createElement("div",{className:`${qr}-drag-container`},ar))),xe()))}const zn=Te()(qr,`${qr}-select`,{[`${qr}-disabled`]:Fr}),ra=(Zn=>b.createElement("div",{className:zn,style:Zn},b.createElement(Ae,Object.assign({},Zo,{ref:br}))))(ar?void 0:{display:"none"});return Ao(Dn==="picture-card"||Dn==="picture-circle"?b.createElement("span",{className:sn},xe(ra,!!ar)):b.createElement("span",{className:sn},ra,xe()))};var qn=b.forwardRef(lt),nn=function(We,dn){var Jt={};for(var Sn in We)Object.prototype.hasOwnProperty.call(We,Sn)&&dn.indexOf(Sn)<0&&(Jt[Sn]=We[Sn]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var On=0,Sn=Object.getOwnPropertySymbols(We);On<Sn.length;On++)dn.indexOf(Sn[On])<0&&Object.prototype.propertyIsEnumerable.call(We,Sn[On])&&(Jt[Sn[On]]=We[Sn[On]]);return Jt},Jn=b.forwardRef((We,dn)=>{var{style:Jt,height:Sn}=We,On=nn(We,["style","height"]);return b.createElement(qn,Object.assign({ref:dn},On,{type:"drag",style:Object.assign(Object.assign({},Jt),{height:Sn})}))});const Ma=qn;Ma.Dragger=Jn,Ma.LIST_IGNORE=Un;var ma=Ma},24334:function(Ut,Gt,te){var b,ue;(function(Be,Te){Ut.exports=Te(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Be){"use strict";Be=Be||{};var Te=Be.Base64,Ie="2.6.4",Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(qe){for(var ht={},Ae=0,mt=qe.length;Ae<mt;Ae++)ht[qe.charAt(Ae)]=Ae;return ht}(Oe),ut=String.fromCharCode,ot=function(qe){if(qe.length<2){var ht=qe.charCodeAt(0);return ht<128?qe:ht<2048?ut(192|ht>>>6)+ut(128|ht&63):ut(224|ht>>>12&15)+ut(128|ht>>>6&63)+ut(128|ht&63)}else{var ht=65536+(qe.charCodeAt(0)-55296)*1024+(qe.charCodeAt(1)-56320);return ut(240|ht>>>18&7)+ut(128|ht>>>12&63)+ut(128|ht>>>6&63)+ut(128|ht&63)}},Ue=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Qe=function(qe){return qe.replace(Ue,ot)},tt=function(qe){var ht=[0,2,1][qe.length%3],Ae=qe.charCodeAt(0)<<16|(qe.length>1?qe.charCodeAt(1):0)<<8|(qe.length>2?qe.charCodeAt(2):0),mt=[Oe.charAt(Ae>>>18),Oe.charAt(Ae>>>12&63),ht>=2?"=":Oe.charAt(Ae>>>6&63),ht>=1?"=":Oe.charAt(Ae&63)];return mt.join("")},Je=Be.btoa&&typeof Be.btoa=="function"?function(qe){return Be.btoa(qe)}:function(qe){if(qe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return qe.replace(/[\s\S]{1,3}/g,tt)},se=function(qe){return Je(Qe(String(qe)))},y=function(qe){return qe.replace(/[+\/]/g,function(ht){return ht=="+"?"-":"_"}).replace(/=/g,"")},a=function(qe,ht){return ht?y(se(qe)):se(qe)},x=function(qe){return a(qe,!0)},E;Be.Uint8Array&&(E=function(qe,ht){for(var Ae="",mt=0,At=qe.length;mt<At;mt+=3){var Et=qe[mt],dt=qe[mt+1],Qt=qe[mt+2],St=Et<<16|dt<<8|Qt;Ae+=Oe.charAt(St>>>18)+Oe.charAt(St>>>12&63)+(typeof dt!="undefined"?Oe.charAt(St>>>6&63):"=")+(typeof Qt!="undefined"?Oe.charAt(St&63):"=")}return ht?y(Ae):Ae});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(qe){switch(qe.length){case 4:var ht=(7&qe.charCodeAt(0))<<18|(63&qe.charCodeAt(1))<<12|(63&qe.charCodeAt(2))<<6|63&qe.charCodeAt(3),Ae=ht-65536;return ut((Ae>>>10)+55296)+ut((Ae&1023)+56320);case 3:return ut((15&qe.charCodeAt(0))<<12|(63&qe.charCodeAt(1))<<6|63&qe.charCodeAt(2));default:return ut((31&qe.charCodeAt(0))<<6|63&qe.charCodeAt(1))}},re=function(qe){return qe.replace(z,ne)},ie=function(qe){var ht=qe.length,Ae=ht%4,mt=(ht>0?le[qe.charAt(0)]<<18:0)|(ht>1?le[qe.charAt(1)]<<12:0)|(ht>2?le[qe.charAt(2)]<<6:0)|(ht>3?le[qe.charAt(3)]:0),At=[ut(mt>>>16),ut(mt>>>8&255),ut(mt&255)];return At.length-=[0,0,2,1][Ae],At.join("")},de=Be.atob&&typeof Be.atob=="function"?function(qe){return Be.atob(qe)}:function(qe){return qe.replace(/\S{1,4}/g,ie)},pe=function(qe){return de(String(qe).replace(/[^A-Za-z0-9\+\/]/g,""))},Pe=function(qe){return re(de(qe))},je=function(qe){return String(qe).replace(/[-_]/g,function(ht){return ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Le=function(qe){return Pe(je(qe))},Ye;Be.Uint8Array&&(Ye=function(qe){return Uint8Array.from(pe(je(qe)),function(ht){return ht.charCodeAt(0)})});var Se=function(){var qe=Be.Base64;return Be.Base64=Te,qe};if(Be.Base64={VERSION:Ie,atob:pe,btoa:Je,fromBase64:Le,toBase64:a,utob:Qe,encode:a,encodeURI:x,btou:re,decode:Le,noConflict:Se,fromUint8Array:E,toUint8Array:Ye},typeof Object.defineProperty=="function"){var Me=function(qe){return{value:qe,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Me(function(){return Le(this)})),Object.defineProperty(String.prototype,"toBase64",Me(function(qe){return a(this,qe)})),Object.defineProperty(String.prototype,"toBase64URI",Me(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Ut.exports?Ut.exports.Base64=Be.Base64:(b=[],ue=function(){return Be.Base64}.apply(Gt,b),ue!==void 0&&(Ut.exports=ue)),{Base64:Be.Base64}})},39417:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return Pe}});var b=te(5891),ue=te(80962),Be=te(19149),Te=te(57259),Ie=te(79545),Oe=te(68550),le=te(21882),ut=te(17928),ot=te(7711),Ue=te(92310),Qe=te.n(Ue),tt=te(36994),Je=te(59301),se=te(39378),y=function(Le){for(var Ye=Le.prefixCls,Se=Le.level,Me=Le.isStart,qe=Le.isEnd,ht="".concat(Ye,"-indent-unit"),Ae=[],mt=0;mt<Se;mt+=1){var At;Ae.push(Je.createElement("span",{key:mt,className:Qe()(ht,(At={},(0,ue.Z)(At,"".concat(ht,"-start"),Me[mt]),(0,ue.Z)(At,"".concat(ht,"-end"),qe[mt]),At))}))}return Je.createElement("span",{"aria-hidden":"true",className:"".concat(Ye,"-indent")},Ae)},a=Je.memo(y),x=te(67841),E=te(71430),z=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],ne="open",re="close",ie="---",de=function(je){(0,ut.Z)(Ye,je);var Le=(0,ot.Z)(Ye);function Ye(){var Se;(0,Ie.Z)(this,Ye);for(var Me=arguments.length,qe=new Array(Me),ht=0;ht<Me;ht++)qe[ht]=arguments[ht];return Se=Le.call.apply(Le,[this].concat(qe)),Se.state={dragNodeHighlight:!1},Se.selectHandle=void 0,Se.cacheIndent=void 0,Se.onSelectorClick=function(Ae){var mt=Se.props.context.onNodeClick;mt(Ae,(0,E.F)(Se.props)),Se.isSelectable()?Se.onSelect(Ae):Se.onCheck(Ae)},Se.onSelectorDoubleClick=function(Ae){var mt=Se.props.context.onNodeDoubleClick;mt(Ae,(0,E.F)(Se.props))},Se.onSelect=function(Ae){if(!Se.isDisabled()){var mt=Se.props.context.onNodeSelect;mt(Ae,(0,E.F)(Se.props))}},Se.onCheck=function(Ae){if(!Se.isDisabled()){var mt=Se.props,At=mt.disableCheckbox,Et=mt.checked,dt=Se.props.context.onNodeCheck;if(!(!Se.isCheckable()||At)){var Qt=!Et;dt(Ae,(0,E.F)(Se.props),Qt)}}},Se.onMouseEnter=function(Ae){var mt=Se.props.context.onNodeMouseEnter;mt(Ae,(0,E.F)(Se.props))},Se.onMouseLeave=function(Ae){var mt=Se.props.context.onNodeMouseLeave;mt(Ae,(0,E.F)(Se.props))},Se.onContextMenu=function(Ae){var mt=Se.props.context.onNodeContextMenu;mt(Ae,(0,E.F)(Se.props))},Se.onDragStart=function(Ae){var mt=Se.props.context.onNodeDragStart;Ae.stopPropagation(),Se.setState({dragNodeHighlight:!0}),mt(Ae,(0,le.Z)(Se));try{Ae.dataTransfer.setData("text/plain","")}catch(At){}},Se.onDragEnter=function(Ae){var mt=Se.props.context.onNodeDragEnter;Ae.preventDefault(),Ae.stopPropagation(),mt(Ae,(0,le.Z)(Se))},Se.onDragOver=function(Ae){var mt=Se.props.context.onNodeDragOver;Ae.preventDefault(),Ae.stopPropagation(),mt(Ae,(0,le.Z)(Se))},Se.onDragLeave=function(Ae){var mt=Se.props.context.onNodeDragLeave;Ae.stopPropagation(),mt(Ae,(0,le.Z)(Se))},Se.onDragEnd=function(Ae){var mt=Se.props.context.onNodeDragEnd;Ae.stopPropagation(),Se.setState({dragNodeHighlight:!1}),mt(Ae,(0,le.Z)(Se))},Se.onDrop=function(Ae){var mt=Se.props.context.onNodeDrop;Ae.preventDefault(),Ae.stopPropagation(),Se.setState({dragNodeHighlight:!1}),mt(Ae,(0,le.Z)(Se))},Se.onExpand=function(Ae){var mt=Se.props,At=mt.loading,Et=mt.context.onNodeExpand;At||Et(Ae,(0,E.F)(Se.props))},Se.setSelectHandle=function(Ae){Se.selectHandle=Ae},Se.getNodeState=function(){var Ae=Se.props.expanded;return Se.isLeaf()?null:Ae?ne:re},Se.hasChildren=function(){var Ae=Se.props.eventKey,mt=Se.props.context.keyEntities,At=(0,x.Z)(mt,Ae)||{},Et=At.children;return!!(Et||[]).length},Se.isLeaf=function(){var Ae=Se.props,mt=Ae.isLeaf,At=Ae.loaded,Et=Se.props.context.loadData,dt=Se.hasChildren();return mt===!1?!1:mt||!Et&&!dt||Et&&At&&!dt},Se.isDisabled=function(){var Ae=Se.props.disabled,mt=Se.props.context.disabled;return!!(mt||Ae)},Se.isCheckable=function(){var Ae=Se.props.checkable,mt=Se.props.context.checkable;return!mt||Ae===!1?!1:mt},Se.syncLoadData=function(Ae){var mt=Ae.expanded,At=Ae.loading,Et=Ae.loaded,dt=Se.props.context,Qt=dt.loadData,St=dt.onNodeLoad;At||Qt&&mt&&!Se.isLeaf()&&!Se.hasChildren()&&!Et&&St((0,E.F)(Se.props))},Se.isDraggable=function(){var Ae=Se.props,mt=Ae.data,At=Ae.context.draggable;return!!(At&&(!At.nodeDraggable||At.nodeDraggable(mt)))},Se.renderDragHandler=function(){var Ae=Se.props.context,mt=Ae.draggable,At=Ae.prefixCls;return mt!=null&&mt.icon?Je.createElement("span",{className:"".concat(At,"-draggable-icon")},mt.icon):null},Se.renderSwitcherIconDom=function(Ae){var mt=Se.props.switcherIcon,At=Se.props.context.switcherIcon,Et=mt||At;return typeof Et=="function"?Et((0,Te.Z)((0,Te.Z)({},Se.props),{},{isLeaf:Ae})):Et},Se.renderSwitcher=function(){var Ae=Se.props.expanded,mt=Se.props.context.prefixCls;if(Se.isLeaf()){var At=Se.renderSwitcherIconDom(!0);return At!==!1?Je.createElement("span",{className:Qe()("".concat(mt,"-switcher"),"".concat(mt,"-switcher-noop"))},At):null}var Et=Qe()("".concat(mt,"-switcher"),"".concat(mt,"-switcher_").concat(Ae?ne:re)),dt=Se.renderSwitcherIconDom(!1);return dt!==!1?Je.createElement("span",{onClick:Se.onExpand,className:Et},dt):null},Se.renderCheckbox=function(){var Ae=Se.props,mt=Ae.checked,At=Ae.halfChecked,Et=Ae.disableCheckbox,dt=Se.props.context.prefixCls,Qt=Se.isDisabled(),St=Se.isCheckable();if(!St)return null;var an=typeof St!="boolean"?St:null;return Je.createElement("span",{className:Qe()("".concat(dt,"-checkbox"),mt&&"".concat(dt,"-checkbox-checked"),!mt&&At&&"".concat(dt,"-checkbox-indeterminate"),(Qt||Et)&&"".concat(dt,"-checkbox-disabled")),onClick:Se.onCheck},an)},Se.renderIcon=function(){var Ae=Se.props.loading,mt=Se.props.context.prefixCls;return Je.createElement("span",{className:Qe()("".concat(mt,"-iconEle"),"".concat(mt,"-icon__").concat(Se.getNodeState()||"docu"),Ae&&"".concat(mt,"-icon_loading"))})},Se.renderSelector=function(){var Ae=Se.state.dragNodeHighlight,mt=Se.props,At=mt.title,Et=At===void 0?ie:At,dt=mt.selected,Qt=mt.icon,St=mt.loading,an=mt.data,En=Se.props.context,nt=En.prefixCls,et=En.showIcon,Yt=En.icon,hn=En.loadData,Tt=En.titleRender,vn=Se.isDisabled(),Ge="".concat(nt,"-node-content-wrapper"),Dt;if(et){var Kt=Qt||Yt;Dt=Kt?Je.createElement("span",{className:Qe()("".concat(nt,"-iconEle"),"".concat(nt,"-icon__customize"))},typeof Kt=="function"?Kt(Se.props):Kt):Se.renderIcon()}else hn&&St&&(Dt=Se.renderIcon());var Mt;typeof Et=="function"?Mt=Et(an):Tt?Mt=Tt(an):Mt=Et;var pt=Je.createElement("span",{className:"".concat(nt,"-title")},Mt);return Je.createElement("span",{ref:Se.setSelectHandle,title:typeof Et=="string"?Et:"",className:Qe()("".concat(Ge),"".concat(Ge,"-").concat(Se.getNodeState()||"normal"),!vn&&(dt||Ae)&&"".concat(nt,"-node-selected")),onMouseEnter:Se.onMouseEnter,onMouseLeave:Se.onMouseLeave,onContextMenu:Se.onContextMenu,onClick:Se.onSelectorClick,onDoubleClick:Se.onSelectorDoubleClick},Dt,pt,Se.renderDropIndicator())},Se.renderDropIndicator=function(){var Ae=Se.props,mt=Ae.disabled,At=Ae.eventKey,Et=Se.props.context,dt=Et.draggable,Qt=Et.dropLevelOffset,St=Et.dropPosition,an=Et.prefixCls,En=Et.indent,nt=Et.dropIndicatorRender,et=Et.dragOverNodeKey,Yt=Et.direction,hn=!!dt,Tt=!mt&&hn&&et===At,vn=En!=null?En:Se.cacheIndent;return Se.cacheIndent=En,Tt?nt({dropPosition:St,dropLevelOffset:Qt,indent:vn,prefixCls:an,direction:Yt}):null},Se}return(0,Oe.Z)(Ye,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Me=this.props.selectable,qe=this.props.context.selectable;return typeof Me=="boolean"?Me:qe}},{key:"render",value:function(){var Me,qe=this.props,ht=qe.eventKey,Ae=qe.className,mt=qe.style,At=qe.dragOver,Et=qe.dragOverGapTop,dt=qe.dragOverGapBottom,Qt=qe.isLeaf,St=qe.isStart,an=qe.isEnd,En=qe.expanded,nt=qe.selected,et=qe.checked,Yt=qe.halfChecked,hn=qe.loading,Tt=qe.domRef,vn=qe.active,Ge=qe.data,Dt=qe.onMouseMove,Kt=qe.selectable,Mt=(0,Be.Z)(qe,z),pt=this.props.context,rt=pt.prefixCls,_e=pt.filterTreeNode,ve=pt.keyEntities,fe=pt.dropContainerKey,Xe=pt.dropTargetKey,bt=pt.draggingNodeKey,Fe=this.isDisabled(),Ce=(0,tt.Z)(Mt,{aria:!0,data:!0}),at=(0,x.Z)(ve,ht)||{},$e=at.level,De=an[an.length-1],gt=this.isDraggable(),un=!Fe&&gt,en=bt===ht,zt=Kt!==void 0?{"aria-selected":!!Kt}:void 0;return Je.createElement("div",(0,b.Z)({ref:Tt,className:Qe()(Ae,"".concat(rt,"-treenode"),(Me={},(0,ue.Z)(Me,"".concat(rt,"-treenode-disabled"),Fe),(0,ue.Z)(Me,"".concat(rt,"-treenode-switcher-").concat(En?"open":"close"),!Qt),(0,ue.Z)(Me,"".concat(rt,"-treenode-checkbox-checked"),et),(0,ue.Z)(Me,"".concat(rt,"-treenode-checkbox-indeterminate"),Yt),(0,ue.Z)(Me,"".concat(rt,"-treenode-selected"),nt),(0,ue.Z)(Me,"".concat(rt,"-treenode-loading"),hn),(0,ue.Z)(Me,"".concat(rt,"-treenode-active"),vn),(0,ue.Z)(Me,"".concat(rt,"-treenode-leaf-last"),De),(0,ue.Z)(Me,"".concat(rt,"-treenode-draggable"),gt),(0,ue.Z)(Me,"dragging",en),(0,ue.Z)(Me,"drop-target",Xe===ht),(0,ue.Z)(Me,"drop-container",fe===ht),(0,ue.Z)(Me,"drag-over",!Fe&&At),(0,ue.Z)(Me,"drag-over-gap-top",!Fe&&Et),(0,ue.Z)(Me,"drag-over-gap-bottom",!Fe&&dt),(0,ue.Z)(Me,"filter-node",_e&&_e((0,E.F)(this.props))),Me)),style:mt,draggable:un,"aria-grabbed":en,onDragStart:un?this.onDragStart:void 0,onDragEnter:gt?this.onDragEnter:void 0,onDragOver:gt?this.onDragOver:void 0,onDragLeave:gt?this.onDragLeave:void 0,onDrop:gt?this.onDrop:void 0,onDragEnd:gt?this.onDragEnd:void 0,onMouseMove:Dt},zt,Ce),Je.createElement(a,{prefixCls:rt,level:$e,isStart:St,isEnd:an}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),Ye}(Je.Component),pe=function(Le){return Je.createElement(se.k.Consumer,null,function(Ye){return Je.createElement(de,(0,b.Z)({},Le,{context:Ye}))})};pe.displayName="TreeNode",pe.isTreeNode=1;var Pe=pe},39378:function(Ut,Gt,te){"use strict";te.d(Gt,{k:function(){return ue}});var b=te(59301),ue=b.createContext(null)},99581:function(Ut,Gt,te){"use strict";te.d(Gt,{O:function(){return Pe.Z},Z:function(){return pt}});var b=te(5891),ue=te(80962),Be=te(80665),Te=te(57259),Ie=te(26390),Oe=te(79545),le=te(68550),ut=te(21882),ot=te(17928),Ue=te(7711),Qe=te(92310),tt=te.n(Qe),Je=te(85108),se=te(36994),y=te(51395),a=te(59301),x=te(39378);function E(rt){var _e=rt.dropPosition,ve=rt.dropLevelOffset,fe=rt.indent,Xe={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(_e){case-1:Xe.top=0,Xe.left=-ve*fe;break;case 1:Xe.bottom=0,Xe.left=-ve*fe;break;case 0:Xe.bottom=0,Xe.left=fe;break}return a.createElement("div",{style:Xe})}function z(rt){if(rt==null)throw new TypeError("Cannot destructure "+rt)}var ne=te(29043),re=te(19149),ie=te(28800),de=te(21881),pe=te(43469),Pe=te(39417);function je(rt,_e){var ve=a.useState(!1),fe=(0,ne.Z)(ve,2),Xe=fe[0],bt=fe[1];a.useLayoutEffect(function(){if(Xe)return rt(),function(){_e()}},[Xe]),a.useLayoutEffect(function(){return bt(!0),function(){bt(!1)}},[])}var Le=te(71430),Ye=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Se=function(_e,ve){var fe=_e.className,Xe=_e.style,bt=_e.motion,Fe=_e.motionNodes,Ce=_e.motionType,at=_e.onMotionStart,$e=_e.onMotionEnd,De=_e.active,gt=_e.treeNodeRequiredProps,un=(0,re.Z)(_e,Ye),en=a.useState(!0),zt=(0,ne.Z)(en,2),ln=zt[0],on=zt[1],ze=a.useContext(x.k),wt=ze.prefixCls,Ot=Fe&&Ce!=="hide";(0,ie.Z)(function(){Fe&&Ot!==ln&&on(Ot)},[Fe]);var Pt=function(){Fe&&at()},Nt=a.useRef(!1),fn=function(){Fe&&!Nt.current&&(Nt.current=!0,$e())};je(Pt,fn);var Pn=function(Ln){Ot===Ln&&fn()};return Fe?a.createElement(pe.default,(0,b.Z)({ref:ve,visible:ln},bt,{motionAppear:Ce==="show",onVisibleChanged:Pn}),function(bn,Ln){var ta=bn.className,oa=bn.style;return a.createElement("div",{ref:Ln,className:tt()("".concat(wt,"-treenode-motion"),ta),style:oa},Fe.map(function(jn){var Ea=(0,b.Z)({},(z(jn.data),jn.data)),pa=jn.title,Hn=jn.key,Ba=jn.isStart,qt=jn.isEnd;delete Ea.children;var An=(0,Le.H8)(Hn,gt);return a.createElement(Pe.Z,(0,b.Z)({},Ea,An,{title:pa,active:De,data:jn.data,key:Hn,isStart:Ba,isEnd:qt}))}))}):a.createElement(Pe.Z,(0,b.Z)({domRef:ve,className:fe,style:Xe},un,{active:De}))};Se.displayName="MotionTreeNode";var Me=a.forwardRef(Se),qe=Me;function ht(){var rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],_e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=rt.length,fe=_e.length;if(Math.abs(ve-fe)!==1)return{add:!1,key:null};function Xe(bt,Fe){var Ce=new Map;bt.forEach(function($e){Ce.set($e,!0)});var at=Fe.filter(function($e){return!Ce.has($e)});return at.length===1?at[0]:null}return ve<fe?{add:!0,key:Xe(rt,_e)}:{add:!1,key:Xe(_e,rt)}}function Ae(rt,_e,ve){var fe=rt.findIndex(function(Ce){return Ce.key===ve}),Xe=rt[fe+1],bt=_e.findIndex(function(Ce){return Ce.key===ve});if(Xe){var Fe=_e.findIndex(function(Ce){return Ce.key===Xe.key});return _e.slice(bt+1,Fe)}return _e.slice(bt+1)}var mt=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],At={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Et=function(){},dt="RC_TREE_MOTION_".concat(Math.random()),Qt={key:dt},St={key:dt,level:0,index:0,pos:"0",node:Qt,nodes:[Qt]},an={parent:null,children:[],pos:St.pos,data:Qt,title:null,key:dt,isStart:[],isEnd:[]};function En(rt,_e,ve,fe){return _e===!1||!ve?rt:rt.slice(0,Math.ceil(ve/fe)+1)}function nt(rt){var _e=rt.key,ve=rt.pos;return(0,Le.km)(_e,ve)}function et(rt){for(var _e=String(rt.data.key),ve=rt;ve.parent;)ve=ve.parent,_e="".concat(ve.data.key," > ").concat(_e);return _e}var Yt=a.forwardRef(function(rt,_e){var ve=rt.prefixCls,fe=rt.data,Xe=rt.selectable,bt=rt.checkable,Fe=rt.expandedKeys,Ce=rt.selectedKeys,at=rt.checkedKeys,$e=rt.loadedKeys,De=rt.loadingKeys,gt=rt.halfCheckedKeys,un=rt.keyEntities,en=rt.disabled,zt=rt.dragging,ln=rt.dragOverNodeKey,on=rt.dropPosition,ze=rt.motion,wt=rt.height,Ot=rt.itemHeight,Pt=rt.virtual,Nt=rt.focusable,fn=rt.activeItem,Pn=rt.focused,bn=rt.tabIndex,Ln=rt.onKeyDown,ta=rt.onFocus,oa=rt.onBlur,jn=rt.onActiveChange,Ea=rt.onListChangeStart,pa=rt.onListChangeEnd,Hn=(0,re.Z)(rt,mt),Ba=a.useRef(null),qt=a.useRef(null);a.useImperativeHandle(_e,function(){return{scrollTo:function(ma){Ba.current.scrollTo(ma)},getIndentWidth:function(){return qt.current.offsetWidth}}});var An=a.useState(Fe),Fn=(0,ne.Z)(An,2),Xn=Fn[0],Ze=Fn[1],It=a.useState(fe),Zt=(0,ne.Z)(It,2),Wt=Zt[0],tn=Zt[1],jt=a.useState(fe),pn=(0,ne.Z)(jt,2),st=pn[0],yt=pn[1],ct=a.useState([]),rn=(0,ne.Z)(ct,2),In=rn[0],yn=rn[1],ia=a.useState(null),Un=(0,ne.Z)(ia,2),lt=Un[0],$t=Un[1],qn=a.useRef(fe);qn.current=fe;function nn(){var Ma=qn.current;tn(Ma),yt(Ma),yn([]),$t(null),pa()}(0,ie.Z)(function(){Ze(Fe);var Ma=ht(Xn,Fe);if(Ma.key!==null)if(Ma.add){var ma=Wt.findIndex(function(kn){var Dn=kn.key;return Dn===Ma.key}),We=En(Ae(Wt,fe,Ma.key),Pt,wt,Ot),dn=Wt.slice();dn.splice(ma+1,0,an),yt(dn),yn(We),$t("show")}else{var Jt=fe.findIndex(function(kn){var Dn=kn.key;return Dn===Ma.key}),Sn=En(Ae(fe,Wt,Ma.key),Pt,wt,Ot),On=fe.slice();On.splice(Jt+1,0,an),yt(On),yn(Sn),$t("hide")}else Wt!==fe&&(tn(fe),yt(fe))},[Fe,fe]),a.useEffect(function(){zt||nn()},[zt]);var _n=ze?st:fe,Jn={expandedKeys:Fe,selectedKeys:Ce,loadedKeys:$e,loadingKeys:De,checkedKeys:at,halfCheckedKeys:gt,dragOverNodeKey:ln,dropPosition:on,keyEntities:un};return a.createElement(a.Fragment,null,Pn&&fn&&a.createElement("span",{style:At,"aria-live":"assertive"},et(fn)),a.createElement("div",null,a.createElement("input",{style:At,disabled:Nt===!1||en,tabIndex:Nt!==!1?bn:null,onKeyDown:Ln,onFocus:ta,onBlur:oa,value:"",onChange:Et,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(ve,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(ve,"-indent")},a.createElement("div",{ref:qt,className:"".concat(ve,"-indent-unit")}))),a.createElement(de.Z,(0,b.Z)({},Hn,{data:_n,itemKey:nt,height:wt,fullHeight:!1,virtual:Pt,itemHeight:Ot,prefixCls:"".concat(ve,"-list"),ref:Ba,onVisibleChange:function(ma,We){var dn=new Set(ma),Jt=We.filter(function(Sn){return!dn.has(Sn)});Jt.some(function(Sn){return nt(Sn)===dt})&&nn()}}),function(Ma){var ma=Ma.pos,We=(0,b.Z)({},(z(Ma.data),Ma.data)),dn=Ma.title,Jt=Ma.key,Sn=Ma.isStart,On=Ma.isEnd,kn=(0,Le.km)(Jt,ma);delete We.key,delete We.children;var Dn=(0,Le.H8)(kn,Jn);return a.createElement(qe,(0,b.Z)({},We,Dn,{title:dn,active:!!fn&&Jt===fn.key,pos:ma,data:Ma.data,isStart:Sn,isEnd:On,motion:ze,motionNodes:Jt===dt?In:null,motionType:lt,onMotionStart:Ea,onMotionEnd:nn,treeNodeRequiredProps:Jn,onMouseMove:function(){jn(null)}}))}))});Yt.displayName="NodeList";var hn=Yt,Tt=te(35654),vn=te(90782),Ge=te(67841),Dt=10,Kt=function(rt){(0,ot.Z)(ve,rt);var _e=(0,Ue.Z)(ve);function ve(){var fe;(0,Oe.Z)(this,ve);for(var Xe=arguments.length,bt=new Array(Xe),Fe=0;Fe<Xe;Fe++)bt[Fe]=arguments[Fe];return fe=_e.call.apply(_e,[this].concat(bt)),fe.destroyed=!1,fe.delayedDragEnterLogic=void 0,fe.loadingRetryTimes={},fe.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Le.w$)()},fe.dragStartMousePosition=null,fe.dragNode=void 0,fe.currentMouseOverDroppableNodeKey=null,fe.listRef=a.createRef(),fe.onNodeDragStart=function(Ce,at){var $e=fe.state,De=$e.expandedKeys,gt=$e.keyEntities,un=fe.props.onDragStart,en=at.props.eventKey;fe.dragNode=at,fe.dragStartMousePosition={x:Ce.clientX,y:Ce.clientY};var zt=(0,Tt._5)(De,en);fe.setState({draggingNodeKey:en,dragChildrenKeys:(0,Tt.wA)(en,gt),indent:fe.listRef.current.getIndentWidth()}),fe.setExpandedKeys(zt),window.addEventListener("dragend",fe.onWindowDragEnd),un==null||un({event:Ce,node:(0,Le.F)(at.props)})},fe.onNodeDragEnter=function(Ce,at){var $e=fe.state,De=$e.expandedKeys,gt=$e.keyEntities,un=$e.dragChildrenKeys,en=$e.flattenNodes,zt=$e.indent,ln=fe.props,on=ln.onDragEnter,ze=ln.onExpand,wt=ln.allowDrop,Ot=ln.direction,Pt=at.props,Nt=Pt.pos,fn=Pt.eventKey,Pn=(0,ut.Z)(fe),bn=Pn.dragNode;if(fe.currentMouseOverDroppableNodeKey!==fn&&(fe.currentMouseOverDroppableNodeKey=fn),!bn){fe.resetDragState();return}var Ln=(0,Tt.OM)(Ce,bn,at,zt,fe.dragStartMousePosition,wt,en,gt,De,Ot),ta=Ln.dropPosition,oa=Ln.dropLevelOffset,jn=Ln.dropTargetKey,Ea=Ln.dropContainerKey,pa=Ln.dropTargetPos,Hn=Ln.dropAllowed,Ba=Ln.dragOverNodeKey;if(un.indexOf(jn)!==-1||!Hn){fe.resetDragState();return}if(fe.delayedDragEnterLogic||(fe.delayedDragEnterLogic={}),Object.keys(fe.delayedDragEnterLogic).forEach(function(qt){clearTimeout(fe.delayedDragEnterLogic[qt])}),bn.props.eventKey!==at.props.eventKey&&(Ce.persist(),fe.delayedDragEnterLogic[Nt]=window.setTimeout(function(){if(fe.state.draggingNodeKey!==null){var qt=(0,Ie.Z)(De),An=(0,Ge.Z)(gt,at.props.eventKey);An&&(An.children||[]).length&&(qt=(0,Tt.L0)(De,at.props.eventKey)),"expandedKeys"in fe.props||fe.setExpandedKeys(qt),ze==null||ze(qt,{node:(0,Le.F)(at.props),expanded:!0,nativeEvent:Ce.nativeEvent})}},800)),bn.props.eventKey===jn&&oa===0){fe.resetDragState();return}fe.setState({dragOverNodeKey:Ba,dropPosition:ta,dropLevelOffset:oa,dropTargetKey:jn,dropContainerKey:Ea,dropTargetPos:pa,dropAllowed:Hn}),on==null||on({event:Ce,node:(0,Le.F)(at.props),expandedKeys:De})},fe.onNodeDragOver=function(Ce,at){var $e=fe.state,De=$e.dragChildrenKeys,gt=$e.flattenNodes,un=$e.keyEntities,en=$e.expandedKeys,zt=$e.indent,ln=fe.props,on=ln.onDragOver,ze=ln.allowDrop,wt=ln.direction,Ot=(0,ut.Z)(fe),Pt=Ot.dragNode;if(Pt){var Nt=(0,Tt.OM)(Ce,Pt,at,zt,fe.dragStartMousePosition,ze,gt,un,en,wt),fn=Nt.dropPosition,Pn=Nt.dropLevelOffset,bn=Nt.dropTargetKey,Ln=Nt.dropContainerKey,ta=Nt.dropAllowed,oa=Nt.dropTargetPos,jn=Nt.dragOverNodeKey;De.indexOf(bn)!==-1||!ta||(Pt.props.eventKey===bn&&Pn===0?fe.state.dropPosition===null&&fe.state.dropLevelOffset===null&&fe.state.dropTargetKey===null&&fe.state.dropContainerKey===null&&fe.state.dropTargetPos===null&&fe.state.dropAllowed===!1&&fe.state.dragOverNodeKey===null||fe.resetDragState():fn===fe.state.dropPosition&&Pn===fe.state.dropLevelOffset&&bn===fe.state.dropTargetKey&&Ln===fe.state.dropContainerKey&&oa===fe.state.dropTargetPos&&ta===fe.state.dropAllowed&&jn===fe.state.dragOverNodeKey||fe.setState({dropPosition:fn,dropLevelOffset:Pn,dropTargetKey:bn,dropContainerKey:Ln,dropTargetPos:oa,dropAllowed:ta,dragOverNodeKey:jn}),on==null||on({event:Ce,node:(0,Le.F)(at.props)}))}},fe.onNodeDragLeave=function(Ce,at){fe.currentMouseOverDroppableNodeKey===at.props.eventKey&&!Ce.currentTarget.contains(Ce.relatedTarget)&&(fe.resetDragState(),fe.currentMouseOverDroppableNodeKey=null);var $e=fe.props.onDragLeave;$e==null||$e({event:Ce,node:(0,Le.F)(at.props)})},fe.onWindowDragEnd=function(Ce){fe.onNodeDragEnd(Ce,null,!0),window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDragEnd=function(Ce,at){var $e=fe.props.onDragEnd;fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),$e==null||$e({event:Ce,node:(0,Le.F)(at.props)}),fe.dragNode=null,window.removeEventListener("dragend",fe.onWindowDragEnd)},fe.onNodeDrop=function(Ce,at){var $e,De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,gt=fe.state,un=gt.dragChildrenKeys,en=gt.dropPosition,zt=gt.dropTargetKey,ln=gt.dropTargetPos,on=gt.dropAllowed;if(on){var ze=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),zt!==null){var wt=(0,Te.Z)((0,Te.Z)({},(0,Le.H8)(zt,fe.getTreeNodeRequiredProps())),{},{active:(($e=fe.getActiveItem())===null||$e===void 0?void 0:$e.key)===zt,data:(0,Ge.Z)(fe.state.keyEntities,zt).node}),Ot=un.indexOf(zt)!==-1;(0,y.ZP)(!Ot,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Pt=(0,Tt.yx)(ln),Nt={event:Ce,node:(0,Le.F)(wt),dragNode:fe.dragNode?(0,Le.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(un),dropToGap:en!==0,dropPosition:en+Number(Pt[Pt.length-1])};De||ze==null||ze(Nt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ce=fe.state.draggingNodeKey;Ce!==null&&fe.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),fe.dragStartMousePosition=null,fe.currentMouseOverDroppableNodeKey=null},fe.triggerExpandActionExpand=function(Ce,at){var $e=fe.state,De=$e.expandedKeys,gt=$e.flattenNodes,un=at.expanded,en=at.key,zt=at.isLeaf;if(!(zt||Ce.shiftKey||Ce.metaKey||Ce.ctrlKey)){var ln=gt.filter(function(ze){return ze.key===en})[0],on=(0,Le.F)((0,Te.Z)((0,Te.Z)({},(0,Le.H8)(en,fe.getTreeNodeRequiredProps())),{},{data:ln.data}));fe.setExpandedKeys(un?(0,Tt._5)(De,en):(0,Tt.L0)(De,en)),fe.onNodeExpand(Ce,on)}},fe.onNodeClick=function(Ce,at){var $e=fe.props,De=$e.onClick,gt=$e.expandAction;gt==="click"&&fe.triggerExpandActionExpand(Ce,at),De==null||De(Ce,at)},fe.onNodeDoubleClick=function(Ce,at){var $e=fe.props,De=$e.onDoubleClick,gt=$e.expandAction;gt==="doubleClick"&&fe.triggerExpandActionExpand(Ce,at),De==null||De(Ce,at)},fe.onNodeSelect=function(Ce,at){var $e=fe.state.selectedKeys,De=fe.state,gt=De.keyEntities,un=De.fieldNames,en=fe.props,zt=en.onSelect,ln=en.multiple,on=at.selected,ze=at[un.key],wt=!on;wt?ln?$e=(0,Tt.L0)($e,ze):$e=[ze]:$e=(0,Tt._5)($e,ze);var Ot=$e.map(function(Pt){var Nt=(0,Ge.Z)(gt,Pt);return Nt?Nt.node:null}).filter(function(Pt){return Pt});fe.setUncontrolledState({selectedKeys:$e}),zt==null||zt($e,{event:"select",selected:wt,node:at,selectedNodes:Ot,nativeEvent:Ce.nativeEvent})},fe.onNodeCheck=function(Ce,at,$e){var De=fe.state,gt=De.keyEntities,un=De.checkedKeys,en=De.halfCheckedKeys,zt=fe.props,ln=zt.checkStrictly,on=zt.onCheck,ze=at.key,wt,Ot={event:"check",node:at,checked:$e,nativeEvent:Ce.nativeEvent};if(ln){var Pt=$e?(0,Tt.L0)(un,ze):(0,Tt._5)(un,ze),Nt=(0,Tt._5)(en,ze);wt={checked:Pt,halfChecked:Nt},Ot.checkedNodes=Pt.map(function(oa){return(0,Ge.Z)(gt,oa)}).filter(function(oa){return oa}).map(function(oa){return oa.node}),fe.setUncontrolledState({checkedKeys:Pt})}else{var fn=(0,vn.S)([].concat((0,Ie.Z)(un),[ze]),!0,gt),Pn=fn.checkedKeys,bn=fn.halfCheckedKeys;if(!$e){var Ln=new Set(Pn);Ln.delete(ze);var ta=(0,vn.S)(Array.from(Ln),{checked:!1,halfCheckedKeys:bn},gt);Pn=ta.checkedKeys,bn=ta.halfCheckedKeys}wt=Pn,Ot.checkedNodes=[],Ot.checkedNodesPositions=[],Ot.halfCheckedKeys=bn,Pn.forEach(function(oa){var jn=(0,Ge.Z)(gt,oa);if(jn){var Ea=jn.node,pa=jn.pos;Ot.checkedNodes.push(Ea),Ot.checkedNodesPositions.push({node:Ea,pos:pa})}}),fe.setUncontrolledState({checkedKeys:Pn},!1,{halfCheckedKeys:bn})}on==null||on(wt,Ot)},fe.onNodeLoad=function(Ce){var at=Ce.key,$e=new Promise(function(De,gt){fe.setState(function(un){var en=un.loadedKeys,zt=en===void 0?[]:en,ln=un.loadingKeys,on=ln===void 0?[]:ln,ze=fe.props,wt=ze.loadData,Ot=ze.onLoad;if(!wt||zt.indexOf(at)!==-1||on.indexOf(at)!==-1)return null;var Pt=wt(Ce);return Pt.then(function(){var Nt=fe.state.loadedKeys,fn=(0,Tt.L0)(Nt,at);Ot==null||Ot(fn,{event:"load",node:Ce}),fe.setUncontrolledState({loadedKeys:fn}),fe.setState(function(Pn){return{loadingKeys:(0,Tt._5)(Pn.loadingKeys,at)}}),De()}).catch(function(Nt){if(fe.setState(function(Pn){return{loadingKeys:(0,Tt._5)(Pn.loadingKeys,at)}}),fe.loadingRetryTimes[at]=(fe.loadingRetryTimes[at]||0)+1,fe.loadingRetryTimes[at]>=Dt){var fn=fe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Tt.L0)(fn,at)}),De()}gt(Nt)}),{loadingKeys:(0,Tt.L0)(on,at)}})});return $e.catch(function(){}),$e},fe.onNodeMouseEnter=function(Ce,at){var $e=fe.props.onMouseEnter;$e==null||$e({event:Ce,node:at})},fe.onNodeMouseLeave=function(Ce,at){var $e=fe.props.onMouseLeave;$e==null||$e({event:Ce,node:at})},fe.onNodeContextMenu=function(Ce,at){var $e=fe.props.onRightClick;$e&&(Ce.preventDefault(),$e({event:Ce,node:at}))},fe.onFocus=function(){var Ce=fe.props.onFocus;fe.setState({focused:!0});for(var at=arguments.length,$e=new Array(at),De=0;De<at;De++)$e[De]=arguments[De];Ce==null||Ce.apply(void 0,$e)},fe.onBlur=function(){var Ce=fe.props.onBlur;fe.setState({focused:!1}),fe.onActiveChange(null);for(var at=arguments.length,$e=new Array(at),De=0;De<at;De++)$e[De]=arguments[De];Ce==null||Ce.apply(void 0,$e)},fe.getTreeNodeRequiredProps=function(){var Ce=fe.state,at=Ce.expandedKeys,$e=Ce.selectedKeys,De=Ce.loadedKeys,gt=Ce.loadingKeys,un=Ce.checkedKeys,en=Ce.halfCheckedKeys,zt=Ce.dragOverNodeKey,ln=Ce.dropPosition,on=Ce.keyEntities;return{expandedKeys:at||[],selectedKeys:$e||[],loadedKeys:De||[],loadingKeys:gt||[],checkedKeys:un||[],halfCheckedKeys:en||[],dragOverNodeKey:zt,dropPosition:ln,keyEntities:on}},fe.setExpandedKeys=function(Ce){var at=fe.state,$e=at.treeData,De=at.fieldNames,gt=(0,Le.oH)($e,Ce,De);fe.setUncontrolledState({expandedKeys:Ce,flattenNodes:gt},!0)},fe.onNodeExpand=function(Ce,at){var $e=fe.state.expandedKeys,De=fe.state,gt=De.listChanging,un=De.fieldNames,en=fe.props,zt=en.onExpand,ln=en.loadData,on=at.expanded,ze=at[un.key];if(!gt){var wt=$e.indexOf(ze),Ot=!on;if((0,y.ZP)(on&&wt!==-1||!on&&wt===-1,"Expand state not sync with index check"),Ot?$e=(0,Tt.L0)($e,ze):$e=(0,Tt._5)($e,ze),fe.setExpandedKeys($e),zt==null||zt($e,{node:at,expanded:Ot,nativeEvent:Ce.nativeEvent}),Ot&&ln){var Pt=fe.onNodeLoad(at);Pt&&Pt.then(function(){var Nt=(0,Le.oH)(fe.state.treeData,$e,un);fe.setUncontrolledState({flattenNodes:Nt})}).catch(function(){var Nt=fe.state.expandedKeys,fn=(0,Tt._5)(Nt,ze);fe.setExpandedKeys(fn)})}}},fe.onListChangeStart=function(){fe.setUncontrolledState({listChanging:!0})},fe.onListChangeEnd=function(){setTimeout(function(){fe.setUncontrolledState({listChanging:!1})})},fe.onActiveChange=function(Ce){var at=fe.state.activeKey,$e=fe.props.onActiveChange;at!==Ce&&(fe.setState({activeKey:Ce}),Ce!==null&&fe.scrollTo({key:Ce}),$e==null||$e(Ce))},fe.getActiveItem=function(){var Ce=fe.state,at=Ce.activeKey,$e=Ce.flattenNodes;return at===null?null:$e.find(function(De){var gt=De.key;return gt===at})||null},fe.offsetActiveKey=function(Ce){var at=fe.state,$e=at.flattenNodes,De=at.activeKey,gt=$e.findIndex(function(zt){var ln=zt.key;return ln===De});gt===-1&&Ce<0&&(gt=$e.length),gt=(gt+Ce+$e.length)%$e.length;var un=$e[gt];if(un){var en=un.key;fe.onActiveChange(en)}else fe.onActiveChange(null)},fe.onKeyDown=function(Ce){var at=fe.state,$e=at.activeKey,De=at.expandedKeys,gt=at.checkedKeys,un=at.fieldNames,en=fe.props,zt=en.onKeyDown,ln=en.checkable,on=en.selectable;switch(Ce.which){case Je.Z.UP:{fe.offsetActiveKey(-1),Ce.preventDefault();break}case Je.Z.DOWN:{fe.offsetActiveKey(1),Ce.preventDefault();break}}var ze=fe.getActiveItem();if(ze&&ze.data){var wt=fe.getTreeNodeRequiredProps(),Ot=ze.data.isLeaf===!1||!!(ze.data[un.children]||[]).length,Pt=(0,Le.F)((0,Te.Z)((0,Te.Z)({},(0,Le.H8)($e,wt)),{},{data:ze.data,active:!0}));switch(Ce.which){case Je.Z.LEFT:{Ot&&De.includes($e)?fe.onNodeExpand({},Pt):ze.parent&&fe.onActiveChange(ze.parent.key),Ce.preventDefault();break}case Je.Z.RIGHT:{Ot&&!De.includes($e)?fe.onNodeExpand({},Pt):ze.children&&ze.children.length&&fe.onActiveChange(ze.children[0].key),Ce.preventDefault();break}case Je.Z.ENTER:case Je.Z.SPACE:{ln&&!Pt.disabled&&Pt.checkable!==!1&&!Pt.disableCheckbox?fe.onNodeCheck({},Pt,!gt.includes($e)):!ln&&on&&!Pt.disabled&&Pt.selectable!==!1&&fe.onNodeSelect({},Pt);break}}}zt==null||zt(Ce)},fe.setUncontrolledState=function(Ce){var at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var De=!1,gt=!0,un={};Object.keys(Ce).forEach(function(en){if(en in fe.props){gt=!1;return}De=!0,un[en]=Ce[en]}),De&&(!at||gt)&&fe.setState((0,Te.Z)((0,Te.Z)({},un),$e))}},fe.scrollTo=function(Ce){fe.listRef.current.scrollTo(Ce)},fe}return(0,le.Z)(ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Xe=this.props.activeKey;Xe!==void 0&&Xe!==this.state.activeKey&&(this.setState({activeKey:Xe}),Xe!==null&&this.scrollTo({key:Xe}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Xe,bt=this.state,Fe=bt.focused,Ce=bt.flattenNodes,at=bt.keyEntities,$e=bt.draggingNodeKey,De=bt.activeKey,gt=bt.dropLevelOffset,un=bt.dropContainerKey,en=bt.dropTargetKey,zt=bt.dropPosition,ln=bt.dragOverNodeKey,on=bt.indent,ze=this.props,wt=ze.prefixCls,Ot=ze.className,Pt=ze.style,Nt=ze.showLine,fn=ze.focusable,Pn=ze.tabIndex,bn=Pn===void 0?0:Pn,Ln=ze.selectable,ta=ze.showIcon,oa=ze.icon,jn=ze.switcherIcon,Ea=ze.draggable,pa=ze.checkable,Hn=ze.checkStrictly,Ba=ze.disabled,qt=ze.motion,An=ze.loadData,Fn=ze.filterTreeNode,Xn=ze.height,Ze=ze.itemHeight,It=ze.virtual,Zt=ze.titleRender,Wt=ze.dropIndicatorRender,tn=ze.onContextMenu,jt=ze.onScroll,pn=ze.direction,st=ze.rootClassName,yt=ze.rootStyle,ct=(0,se.Z)(this.props,{aria:!0,data:!0}),rn;return Ea&&((0,Be.Z)(Ea)==="object"?rn=Ea:typeof Ea=="function"?rn={nodeDraggable:Ea}:rn={}),a.createElement(x.k.Provider,{value:{prefixCls:wt,selectable:Ln,showIcon:ta,icon:oa,switcherIcon:jn,draggable:rn,draggingNodeKey:$e,checkable:pa,checkStrictly:Hn,disabled:Ba,keyEntities:at,dropLevelOffset:gt,dropContainerKey:un,dropTargetKey:en,dropPosition:zt,dragOverNodeKey:ln,indent:on,direction:pn,dropIndicatorRender:Wt,loadData:An,filterTreeNode:Fn,titleRender:Zt,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:tt()(wt,Ot,st,(Xe={},(0,ue.Z)(Xe,"".concat(wt,"-show-line"),Nt),(0,ue.Z)(Xe,"".concat(wt,"-focused"),Fe),(0,ue.Z)(Xe,"".concat(wt,"-active-focused"),De!==null),Xe)),style:yt},a.createElement(hn,(0,b.Z)({ref:this.listRef,prefixCls:wt,style:Pt,data:Ce,disabled:Ba,selectable:Ln,checkable:!!pa,motion:qt,dragging:$e!==null,height:Xn,itemHeight:Ze,virtual:It,focusable:fn,focused:Fe,tabIndex:bn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:jt},this.getTreeNodeRequiredProps(),ct))))}}],[{key:"getDerivedStateFromProps",value:function(Xe,bt){var Fe=bt.prevProps,Ce={prevProps:Xe};function at(fn){return!Fe&&fn in Xe||Fe&&Fe[fn]!==Xe[fn]}var $e,De=bt.fieldNames;if(at("fieldNames")&&(De=(0,Le.w$)(Xe.fieldNames),Ce.fieldNames=De),at("treeData")?$e=Xe.treeData:at("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),$e=(0,Le.zn)(Xe.children)),$e){Ce.treeData=$e;var gt=(0,Le.I8)($e,{fieldNames:De});Ce.keyEntities=(0,Te.Z)((0,ue.Z)({},dt,St),gt.keyEntities)}var un=Ce.keyEntities||bt.keyEntities;if(at("expandedKeys")||Fe&&at("autoExpandParent"))Ce.expandedKeys=Xe.autoExpandParent||!Fe&&Xe.defaultExpandParent?(0,Tt.r7)(Xe.expandedKeys,un):Xe.expandedKeys;else if(!Fe&&Xe.defaultExpandAll){var en=(0,Te.Z)({},un);delete en[dt],Ce.expandedKeys=Object.keys(en).map(function(fn){return en[fn].key})}else!Fe&&Xe.defaultExpandedKeys&&(Ce.expandedKeys=Xe.autoExpandParent||Xe.defaultExpandParent?(0,Tt.r7)(Xe.defaultExpandedKeys,un):Xe.defaultExpandedKeys);if(Ce.expandedKeys||delete Ce.expandedKeys,$e||Ce.expandedKeys){var zt=(0,Le.oH)($e||bt.treeData,Ce.expandedKeys||bt.expandedKeys,De);Ce.flattenNodes=zt}if(Xe.selectable&&(at("selectedKeys")?Ce.selectedKeys=(0,Tt.BT)(Xe.selectedKeys,Xe):!Fe&&Xe.defaultSelectedKeys&&(Ce.selectedKeys=(0,Tt.BT)(Xe.defaultSelectedKeys,Xe))),Xe.checkable){var ln;if(at("checkedKeys")?ln=(0,Tt.E6)(Xe.checkedKeys)||{}:!Fe&&Xe.defaultCheckedKeys?ln=(0,Tt.E6)(Xe.defaultCheckedKeys)||{}:$e&&(ln=(0,Tt.E6)(Xe.checkedKeys)||{checkedKeys:bt.checkedKeys,halfCheckedKeys:bt.halfCheckedKeys}),ln){var on=ln,ze=on.checkedKeys,wt=ze===void 0?[]:ze,Ot=on.halfCheckedKeys,Pt=Ot===void 0?[]:Ot;if(!Xe.checkStrictly){var Nt=(0,vn.S)(wt,!0,un);wt=Nt.checkedKeys,Pt=Nt.halfCheckedKeys}Ce.checkedKeys=wt,Ce.halfCheckedKeys=Pt}}return at("loadedKeys")&&(Ce.loadedKeys=Xe.loadedKeys),Ce}}]),ve}(a.Component);Kt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},Kt.TreeNode=Pe.Z;var Mt=Kt,pt=Mt},35654:function(Ut,Gt,te){"use strict";te.d(Gt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ue},OM:function(){return y},_5:function(){return ot},r7:function(){return ne},wA:function(){return tt},yx:function(){return Qe}});var b=te(26390),ue=te(80665),Be=te(51395),Te=te(59301),Ie=te(39417),Oe=te(67841),le=te(71430),ut=null;function ot(re,ie){if(!re)return[];var de=re.slice(),pe=de.indexOf(ie);return pe>=0&&de.splice(pe,1),de}function Ue(re,ie){var de=(re||[]).slice();return de.indexOf(ie)===-1&&de.push(ie),de}function Qe(re){return re.split("-")}function tt(re,ie){var de=[],pe=(0,Oe.Z)(ie,re);function Pe(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(Le){var Ye=Le.key,Se=Le.children;de.push(Ye),Pe(Se)})}return Pe(pe.children),de}function Je(re){if(re.parent){var ie=Qe(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function se(re){var ie=Qe(re.pos);return Number(ie[ie.length-1])===0}function y(re,ie,de,pe,Pe,je,Le,Ye,Se,Me){var qe,ht=re.clientX,Ae=re.clientY,mt=re.target.getBoundingClientRect(),At=mt.top,Et=mt.height,dt=(Me==="rtl"?-1:1)*(((Pe==null?void 0:Pe.x)||0)-ht),Qt=(dt-12)/pe,St=(0,Oe.Z)(Ye,de.props.eventKey);if(Ae<At+Et/2){var an=Le.findIndex(function(pt){return pt.key===St.key}),En=an<=0?0:an-1,nt=Le[En].key;St=(0,Oe.Z)(Ye,nt)}var et=St.key,Yt=St,hn=St.key,Tt=0,vn=0;if(!Se.includes(et))for(var Ge=0;Ge<Qt&&Je(St);Ge+=1)St=St.parent,vn+=1;var Dt=ie.props.data,Kt=St.node,Mt=!0;return se(St)&&St.level===0&&Ae<At+Et/2&&je({dragNode:Dt,dropNode:Kt,dropPosition:-1})&&St.key===de.props.eventKey?Tt=-1:(Yt.children||[]).length&&Se.includes(hn)?je({dragNode:Dt,dropNode:Kt,dropPosition:0})?Tt=0:Mt=!1:vn===0?Qt>-1.5?je({dragNode:Dt,dropNode:Kt,dropPosition:1})?Tt=1:Mt=!1:je({dragNode:Dt,dropNode:Kt,dropPosition:0})?Tt=0:je({dragNode:Dt,dropNode:Kt,dropPosition:1})?Tt=1:Mt=!1:je({dragNode:Dt,dropNode:Kt,dropPosition:1})?Tt=1:Mt=!1,{dropPosition:Tt,dropLevelOffset:vn,dropTargetKey:St.key,dropTargetPos:St.pos,dragOverNodeKey:hn,dropContainerKey:Tt===0?null:((qe=St.parent)===null||qe===void 0?void 0:qe.key)||null,dropAllowed:Mt}}function a(re,ie){if(re){var de=ie.multiple;return de?re.slice():re.length?[re[0]]:re}}var x=function(ie){return ie};function E(re,ie){if(!re)return[];var de=ie||{},pe=de.processProps,Pe=pe===void 0?x:pe,je=Array.isArray(re)?re:[re];return je.map(function(Le){var Ye=Le.children,Se=_objectWithoutProperties(Le,ut),Me=E(Ye,ie);return React.createElement(TreeNode,_extends({key:Se.key},Pe(Se)),Me)})}function z(re){if(!re)return null;var ie;if(Array.isArray(re))ie={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ue.Z)(re)==="object")ie={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Be.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function ne(re,ie){var de=new Set;function pe(Pe){if(!de.has(Pe)){var je=(0,Oe.Z)(ie,Pe);if(je){de.add(Pe);var Le=je.parent,Ye=je.node;Ye.disabled||Le&&pe(Le.key)}}}return(re||[]).forEach(function(Pe){pe(Pe)}),(0,b.Z)(de)}},90782:function(Ut,Gt,te){"use strict";te.d(Gt,{S:function(){return le}});var b=te(51395),ue=te(67841);function Be(ut,ot){var Ue=new Set;return ut.forEach(function(Qe){ot.has(Qe)||Ue.add(Qe)}),Ue}function Te(ut){var ot=ut||{},Ue=ot.disabled,Qe=ot.disableCheckbox,tt=ot.checkable;return!!(Ue||Qe)||tt===!1}function Ie(ut,ot,Ue,Qe){for(var tt=new Set(ut),Je=new Set,se=0;se<=Ue;se+=1){var y=ot.get(se)||new Set;y.forEach(function(z){var ne=z.key,re=z.node,ie=z.children,de=ie===void 0?[]:ie;tt.has(ne)&&!Qe(re)&&de.filter(function(pe){return!Qe(pe.node)}).forEach(function(pe){tt.add(pe.key)})})}for(var a=new Set,x=Ue;x>=0;x-=1){var E=ot.get(x)||new Set;E.forEach(function(z){var ne=z.parent,re=z.node;if(!(Qe(re)||!z.parent||a.has(z.parent.key))){if(Qe(z.parent.node)){a.add(ne.key);return}var ie=!0,de=!1;(ne.children||[]).filter(function(pe){return!Qe(pe.node)}).forEach(function(pe){var Pe=pe.key,je=tt.has(Pe);ie&&!je&&(ie=!1),!de&&(je||Je.has(Pe))&&(de=!0)}),ie&&tt.add(ne.key),de&&Je.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(tt),halfCheckedKeys:Array.from(Be(Je,tt))}}function Oe(ut,ot,Ue,Qe,tt){for(var Je=new Set(ut),se=new Set(ot),y=0;y<=Qe;y+=1){var a=Ue.get(y)||new Set;a.forEach(function(ne){var re=ne.key,ie=ne.node,de=ne.children,pe=de===void 0?[]:de;!Je.has(re)&&!se.has(re)&&!tt(ie)&&pe.filter(function(Pe){return!tt(Pe.node)}).forEach(function(Pe){Je.delete(Pe.key)})})}se=new Set;for(var x=new Set,E=Qe;E>=0;E-=1){var z=Ue.get(E)||new Set;z.forEach(function(ne){var re=ne.parent,ie=ne.node;if(!(tt(ie)||!ne.parent||x.has(ne.parent.key))){if(tt(ne.parent.node)){x.add(re.key);return}var de=!0,pe=!1;(re.children||[]).filter(function(Pe){return!tt(Pe.node)}).forEach(function(Pe){var je=Pe.key,Le=Je.has(je);de&&!Le&&(de=!1),!pe&&(Le||se.has(je))&&(pe=!0)}),de||Je.delete(re.key),pe&&se.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(se,Je))}}function le(ut,ot,Ue,Qe){var tt=[],Je;Qe?Je=Qe:Je=Te;var se=new Set(ut.filter(function(E){var z=!!(0,ue.Z)(Ue,E);return z||tt.push(E),z})),y=new Map,a=0;Object.keys(Ue).forEach(function(E){var z=Ue[E],ne=z.level,re=y.get(ne);re||(re=new Set,y.set(ne,re)),re.add(z),a=Math.max(a,ne)}),(0,b.ZP)(!tt.length,"Tree missing follow keys: ".concat(tt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var x;return ot===!0?x=Ie(se,y,a,Je):x=Oe(se,ot.halfCheckedKeys,y,a,Je),x}},67841:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return b}});function b(ue,Be){return ue[Be]}},71430:function(Ut,Gt,te){"use strict";te.d(Gt,{F:function(){return ne},H8:function(){return z},I8:function(){return E},km:function(){return tt},oH:function(){return a},w$:function(){return Je},zn:function(){return y}});var b=te(80665),ue=te(26390),Be=te(57259),Te=te(19149),Ie=te(38298),Oe=te(64002),le=te(51395),ut=te(67841),ot=["children"];function Ue(re,ie){return"".concat(re,"-").concat(ie)}function Qe(re){return re&&re.type&&re.type.isTreeNode}function tt(re,ie){return re!=null?re:ie}function Je(re){var ie=re||{},de=ie.title,pe=ie._title,Pe=ie.key,je=ie.children,Le=de||"title";return{title:Le,_title:pe||[Le],key:Pe||"key",children:je||"children"}}function se(re,ie){var de=new Map;function pe(Pe){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(Pe||[]).forEach(function(Le){var Ye=Le[ie.key],Se=Le[ie.children];warning(Ye!=null,"Tree node must have a certain key: [".concat(je).concat(Ye,"]"));var Me=String(Ye);warning(!de.has(Me)||Ye===null||Ye===void 0,"Same 'key' exist in the Tree: ".concat(Me)),de.set(Me,!0),pe(Se,"".concat(je).concat(Me," > "))})}pe(re)}function y(re){function ie(de){var pe=(0,Ie.Z)(de);return pe.map(function(Pe){if(!Qe(Pe))return(0,le.ZP)(!Pe,"Tree/TreeNode can only accept TreeNode as children."),null;var je=Pe.key,Le=Pe.props,Ye=Le.children,Se=(0,Te.Z)(Le,ot),Me=(0,Be.Z)({key:je},Se),qe=ie(Ye);return qe.length&&(Me.children=qe),Me}).filter(function(Pe){return Pe})}return ie(re)}function a(re,ie,de){var pe=Je(de),Pe=pe._title,je=pe.key,Le=pe.children,Ye=new Set(ie===!0?[]:ie),Se=[];function Me(qe){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return qe.map(function(Ae,mt){for(var At=Ue(ht?ht.pos:"0",mt),Et=tt(Ae[je],At),dt,Qt=0;Qt<Pe.length;Qt+=1){var St=Pe[Qt];if(Ae[St]!==void 0){dt=Ae[St];break}}var an=(0,Be.Z)((0,Be.Z)({},(0,Oe.Z)(Ae,[].concat((0,ue.Z)(Pe),[je,Le]))),{},{title:dt,key:Et,parent:ht,pos:At,children:null,data:Ae,isStart:[].concat((0,ue.Z)(ht?ht.isStart:[]),[mt===0]),isEnd:[].concat((0,ue.Z)(ht?ht.isEnd:[]),[mt===qe.length-1])});return Se.push(an),ie===!0||Ye.has(Et)?an.children=Me(Ae[Le]||[],an):an.children=[],an})}return Me(re),Se}function x(re,ie,de){var pe={};(0,b.Z)(de)==="object"?pe=de:pe={externalGetKey:de},pe=pe||{};var Pe=pe,je=Pe.childrenPropName,Le=Pe.externalGetKey,Ye=Pe.fieldNames,Se=Je(Ye),Me=Se.key,qe=Se.children,ht=je||qe,Ae;Le?typeof Le=="string"?Ae=function(Et){return Et[Le]}:typeof Le=="function"&&(Ae=function(Et){return Le(Et)}):Ae=function(Et,dt){return tt(Et[Me],dt)};function mt(At,Et,dt,Qt){var St=At?At[ht]:re,an=At?Ue(dt.pos,Et):"0",En=At?[].concat((0,ue.Z)(Qt),[At]):[];if(At){var nt=Ae(At,an),et={node:At,index:Et,pos:an,key:nt,parentPos:dt.node?dt.pos:null,level:dt.level+1,nodes:En};ie(et)}St&&St.forEach(function(Yt,hn){mt(Yt,hn,{node:At,pos:an,level:dt?dt.level+1:-1},En)})}mt(null)}function E(re){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},de=ie.initWrapper,pe=ie.processEntity,Pe=ie.onProcessFinished,je=ie.externalGetKey,Le=ie.childrenPropName,Ye=ie.fieldNames,Se=arguments.length>2?arguments[2]:void 0,Me=je||Se,qe={},ht={},Ae={posEntities:qe,keyEntities:ht};return de&&(Ae=de(Ae)||Ae),x(re,function(mt){var At=mt.node,Et=mt.index,dt=mt.pos,Qt=mt.key,St=mt.parentPos,an=mt.level,En=mt.nodes,nt={node:At,nodes:En,index:Et,key:Qt,pos:dt,level:an},et=tt(Qt,dt);qe[dt]=nt,ht[et]=nt,nt.parent=qe[St],nt.parent&&(nt.parent.children=nt.parent.children||[],nt.parent.children.push(nt)),pe&&pe(nt,Ae)},{externalGetKey:Me,childrenPropName:Le,fieldNames:Ye}),Pe&&Pe(Ae),Ae}function z(re,ie){var de=ie.expandedKeys,pe=ie.selectedKeys,Pe=ie.loadedKeys,je=ie.loadingKeys,Le=ie.checkedKeys,Ye=ie.halfCheckedKeys,Se=ie.dragOverNodeKey,Me=ie.dropPosition,qe=ie.keyEntities,ht=(0,ut.Z)(qe,re),Ae={eventKey:re,expanded:de.indexOf(re)!==-1,selected:pe.indexOf(re)!==-1,loaded:Pe.indexOf(re)!==-1,loading:je.indexOf(re)!==-1,checked:Le.indexOf(re)!==-1,halfChecked:Ye.indexOf(re)!==-1,pos:String(ht?ht.pos:""),dragOver:Se===re&&Me===0,dragOverGapTop:Se===re&&Me===-1,dragOverGapBottom:Se===re&&Me===1};return Ae}function ne(re){var ie=re.data,de=re.expanded,pe=re.selected,Pe=re.checked,je=re.loaded,Le=re.loading,Ye=re.halfChecked,Se=re.dragOver,Me=re.dragOverGapTop,qe=re.dragOverGapBottom,ht=re.pos,Ae=re.active,mt=re.eventKey,At=(0,Be.Z)((0,Be.Z)({},ie),{},{expanded:de,selected:pe,checked:Pe,loaded:je,loading:Le,halfChecked:Ye,dragOver:Se,dragOverGapTop:Me,dragOverGapBottom:qe,pos:ht,active:Ae,key:mt});return"props"in At||Object.defineProperty(At,"props",{get:function(){return(0,le.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),At}},8178:function(Ut,Gt,te){"use strict";te.d(Gt,{Z:function(){return ue}});var b=te(4676);function ue(Be,Te,Ie,Oe){var le=b.unstable_batchedUpdates?function(ot){b.unstable_batchedUpdates(Ie,ot)}:Ie;return Be!=null&&Be.addEventListener&&Be.addEventListener(Te,le,Oe),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Te,le,Oe)}}}},21783:function(Ut,Gt,te){"use strict";te.d(Gt,{g1:function(){return Qe},os:function(){return Je}});var b=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Te(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Ie(se,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return se.offsetHeight;if(y==="width")return se.offsetWidth}return y in ue||(ue[y]=b.test(y)),ue[y]?parseFloat(a)||0:a}function Oe(se,y){var a=arguments.length,x=Te(se);return y=Be[y]?"cssFloat"in se.style?"cssFloat":"styleFloat":y,a===1?x:Ie(se,y,x[y]||se.style[y])}function le(se,y,a){var x=arguments.length;if(y=Be[y]?"cssFloat"in se.style?"cssFloat":"styleFloat":y,x===3)return typeof a=="number"&&b.test(y)&&(a="".concat(a,"px")),se.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&le(se,E,y[E]);return Te(se)}function ut(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function ot(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function Ue(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:y}}function Qe(){var se=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:y}}function tt(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Je(se){var y=se.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24387:function(Ut,Gt,te){"use strict";te.d(Gt,{G:function(){return Te}});var b=te(87746),ue=function(Oe){if((0,b.Z)()&&window.document.documentElement){var le=Array.isArray(Oe)?Oe:[Oe],ut=window.document.documentElement;return le.some(function(ot){return ot in ut.style})}return!1},Be=function(Oe,le){if(!ue(Oe))return!1;var ut=document.createElement("div"),ot=ut.style[Oe];return ut.style[Oe]=le,ut.style[Oe]!==ot};function Te(Ie,Oe){return!Array.isArray(Ie)&&Oe!==void 0?Be(Ie,Oe):ue(Ie)}},78018:function(Ut,Gt,te){"use strict";te.d(Gt,{Z5:function(){return Yu},_l:function(){return Hd},bK:function(){return Au}});var b=te(59301),ue=te(3378);function Be(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Te=te(5891),Ie=te(59781),Oe=b.createContext(null),le=null;function ut(ee){ee()}var ot=ut,Ue=function(ae){return ot=ae},Qe=function(){return ot};function tt(){var ee=Qe(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ee(function(){for(var ye=ae;ye;)ye.callback(),ye=ye.next})},get:function(){for(var ye=[],Ee=ae;Ee;)ye.push(Ee),Ee=Ee.next;return ye},subscribe:function(ye){var Ee=!0,we=oe={callback:ye,next:null,prev:oe};return we.prev?we.prev.next=we:ae=we,function(){!Ee||ae===null||(Ee=!1,we.next?we.next.prev=we.prev:oe=we.prev,we.prev?we.prev.next=we.next:ae=we.next)}}}}var Je={notify:function(){},get:function(){return[]}};function se(ee,ae){var oe,ce=Je;function ye(Ct){return ft(),ce.subscribe(Ct)}function Ee(){ce.notify()}function we(){Rt.onStateChange&&Rt.onStateChange()}function Re(){return!!oe}function ft(){oe||(oe=ae?ae.addNestedSub(we):ee.subscribe(we),ce=tt())}function kt(){oe&&(oe(),oe=void 0,ce.clear(),ce=Je)}var Rt={addNestedSub:ye,notifyNestedSubs:Ee,handleChangeWrapper:we,isSubscribed:Re,trySubscribe:ft,tryUnsubscribe:kt,getListeners:function(){return ce}};return Rt}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(ee){var ae=ee.store,oe=ee.context,ce=ee.children,ye=(0,b.useMemo)(function(){var Re=se(ae);return{store:ae,subscription:Re}},[ae]),Ee=(0,b.useMemo)(function(){return ae.getState()},[ae]);y(function(){var Re=ye.subscription;return Re.onStateChange=Re.notifyNestedSubs,Re.trySubscribe(),Ee!==ae.getState()&&Re.notifyNestedSubs(),function(){Re.tryUnsubscribe(),Re.onStateChange=null}},[ye,Ee]);var we=oe||Oe;return b.createElement(we.Provider,{value:ye},ce)}var x=a,E=te(16736),z=te(94266),ne=te.n(z),re=te(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],de=["reactReduxForwardedRef"],pe=[],Pe=[null,null],je=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function Le(ee,ae){var oe=ee[1];return[ae.payload,oe+1]}function Ye(ee,ae,oe){y(function(){return ee.apply(void 0,ae)},oe)}function Se(ee,ae,oe,ce,ye,Ee,we){ee.current=ce,ae.current=ye,oe.current=!1,Ee.current&&(Ee.current=null,we())}function Me(ee,ae,oe,ce,ye,Ee,we,Re,ft,kt){if(ee){var Rt=!1,Ct=null,xt=function(){if(!Rt){var Ca=ae.getState(),Ia,Oa;try{Ia=ce(Ca,ye.current)}catch(Ya){Oa=Ya,Ct=Ya}Oa||(Ct=null),Ia===Ee.current?we.current||ft():(Ee.current=Ia,Re.current=Ia,we.current=!0,kt({type:"STORE_UPDATED",payload:{error:Oa}}))}};oe.onStateChange=xt,oe.trySubscribe(),xt();var Vt=function(){if(Rt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Ct)throw Ct};return Vt}}var qe=function(){return[null,0]};function ht(ee,ae){ae===void 0&&(ae={});var oe=ae,ce=oe.getDisplayName,ye=ce===void 0?function(Mr){return"ConnectAdvanced("+Mr+")"}:ce,Ee=oe.methodName,we=Ee===void 0?"connectAdvanced":Ee,Re=oe.renderCountProp,ft=Re===void 0?void 0:Re,kt=oe.shouldHandleStateChanges,Rt=kt===void 0?!0:kt,Ct=oe.storeKey,xt=Ct===void 0?"store":Ct,Vt=oe.withRef,Bn=Vt===void 0?!1:Vt,Ca=oe.forwardRef,Ia=Ca===void 0?!1:Ca,Oa=oe.context,Ya=Oa===void 0?Oe:Oa,rr=(0,E.Z)(oe,ie);if(0)var lr;var Hr=Ya;return function(no){var Ho=no.displayName||no.name||"Component",mo=ye(Ho),jo=(0,Te.Z)({},rr,{getDisplayName:ye,methodName:we,renderCountProp:ft,shouldHandleStateChanges:Rt,storeKey:xt,displayName:mo,wrappedComponentName:Ho,WrappedComponent:no}),ni=rr.pure;function li(si){return ee(si.dispatch,jo)}var ji=ni?b.useMemo:function(si){return si()};function Di(si){var el=(0,b.useMemo)(function(){var Fs=si.reactReduxForwardedRef,du=(0,E.Z)(si,de);return[si.context,Fs,du]},[si]),Ki=el[0],xs=el[1],Sl=el[2],tl=(0,b.useMemo)(function(){return Ki&&Ki.Consumer&&(0,re.isContextConsumer)(b.createElement(Ki.Consumer,null))?Ki:Hr},[Ki,Hr]),Wi=(0,b.useContext)(tl),Pl=!!si.store&&!!si.store.getState&&!!si.store.dispatch,Hs=!!Wi&&!!Wi.store,Ui=Pl?si.store:Wi.store,Bs=(0,b.useMemo)(function(){return li(Ui)},[Ui]),js=(0,b.useMemo)(function(){if(!Rt)return Pe;var Fs=se(Ui,Pl?null:Wi.subscription),du=Fs.notifyNestedSubs.bind(Fs);return[Fs,du]},[Ui,Pl,Wi]),$l=js[0],Gs=js[1],Ks=(0,b.useMemo)(function(){return Pl?Wi:(0,Te.Z)({},Wi,{subscription:$l})},[Pl,Wi,$l]),Du=(0,b.useReducer)(Le,pe,qe),Vd=Du[0],Ws=Vd[0],$d=Du[1];if(Ws&&Ws.error)throw Ws.error;var Nu=(0,b.useRef)(),lu=(0,b.useRef)(Sl),Us=(0,b.useRef)(),Iu=(0,b.useRef)(!1),su=ji(function(){return Us.current&&Sl===lu.current?Us.current:Bs(Ui.getState(),Sl)},[Ui,Ws,Sl]);Ye(Se,[lu,Nu,Iu,Sl,su,Us,Gs]),Ye(Me,[Rt,Ui,$l,Bs,lu,Nu,Iu,Us,Gs,$d],[Ui,$l,Bs]);var uu=(0,b.useMemo)(function(){return b.createElement(no,(0,Te.Z)({},su,{ref:xs}))},[xs,no,su]),Qd=(0,b.useMemo)(function(){return Rt?b.createElement(tl.Provider,{value:Ks},uu):uu},[tl,uu,Ks]);return Qd}var Ei=ni?b.memo(Di):Di;if(Ei.WrappedComponent=no,Ei.displayName=Di.displayName=mo,Ia){var Gi=b.forwardRef(function(el,Ki){return b.createElement(Ei,(0,Te.Z)({},el,{reactReduxForwardedRef:Ki}))});return Gi.displayName=mo,Gi.WrappedComponent=no,ne()(Gi,no)}return ne()(Ei,no)}}function Ae(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function mt(ee,ae){if(Ae(ee,ae))return!0;if(typeof ee!="object"||ee===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ee),ce=Object.keys(ae);if(oe.length!==ce.length)return!1;for(var ye=0;ye<oe.length;ye++)if(!Object.prototype.hasOwnProperty.call(ae,oe[ye])||!Ae(ee[oe[ye]],ae[oe[ye]]))return!1;return!0}function At(ee,ae){var oe={},ce=function(we){var Re=ee[we];typeof Re=="function"&&(oe[we]=function(){return ae(Re.apply(void 0,arguments))})};for(var ye in ee)ce(ye);return oe}function Et(ee){return function(oe,ce){var ye=ee(oe,ce);function Ee(){return ye}return Ee.dependsOnOwnProps=!1,Ee}}function dt(ee){return ee.dependsOnOwnProps!==null&&ee.dependsOnOwnProps!==void 0?!!ee.dependsOnOwnProps:ee.length!==1}function Qt(ee,ae){return function(ce,ye){var Ee=ye.displayName,we=function(ft,kt){return we.dependsOnOwnProps?we.mapToProps(ft,kt):we.mapToProps(ft)};return we.dependsOnOwnProps=!0,we.mapToProps=function(ft,kt){we.mapToProps=ee,we.dependsOnOwnProps=dt(ee);var Rt=we(ft,kt);return typeof Rt=="function"&&(we.mapToProps=Rt,we.dependsOnOwnProps=dt(Rt),Rt=we(ft,kt)),Rt},we}}function St(ee){return typeof ee=="function"?Qt(ee,"mapDispatchToProps"):void 0}function an(ee){return ee?void 0:Et(function(ae){return{dispatch:ae}})}function En(ee){return ee&&typeof ee=="object"?Et(function(ae){return At(ee,ae)}):void 0}var nt=[St,an,En];function et(ee){return typeof ee=="function"?Qt(ee,"mapStateToProps"):void 0}function Yt(ee){return ee?void 0:Et(function(){return{}})}var hn=[et,Yt];function Tt(ee,ae,oe){return(0,Te.Z)({},oe,ee,ae)}function vn(ee){return function(oe,ce){var ye=ce.displayName,Ee=ce.pure,we=ce.areMergedPropsEqual,Re=!1,ft;return function(Rt,Ct,xt){var Vt=ee(Rt,Ct,xt);return Re?(!Ee||!we(Vt,ft))&&(ft=Vt):(Re=!0,ft=Vt),ft}}}function Ge(ee){return typeof ee=="function"?vn(ee):void 0}function Dt(ee){return ee?void 0:function(){return Tt}}var Kt=[Ge,Dt],Mt=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function pt(ee,ae,oe,ce){return function(Ee,we){return oe(ee(Ee,we),ae(ce,we),we)}}function rt(ee,ae,oe,ce,ye){var Ee=ye.areStatesEqual,we=ye.areOwnPropsEqual,Re=ye.areStatePropsEqual,ft=!1,kt,Rt,Ct,xt,Vt;function Bn(rr,lr){return kt=rr,Rt=lr,Ct=ee(kt,Rt),xt=ae(ce,Rt),Vt=oe(Ct,xt,Rt),ft=!0,Vt}function Ca(){return Ct=ee(kt,Rt),ae.dependsOnOwnProps&&(xt=ae(ce,Rt)),Vt=oe(Ct,xt,Rt),Vt}function Ia(){return ee.dependsOnOwnProps&&(Ct=ee(kt,Rt)),ae.dependsOnOwnProps&&(xt=ae(ce,Rt)),Vt=oe(Ct,xt,Rt),Vt}function Oa(){var rr=ee(kt,Rt),lr=!Re(rr,Ct);return Ct=rr,lr&&(Vt=oe(Ct,xt,Rt)),Vt}function Ya(rr,lr){var Hr=!we(lr,Rt),Mr=!Ee(rr,kt,lr,Rt);return kt=rr,Rt=lr,Hr&&Mr?Ca():Hr?Ia():Mr?Oa():Vt}return function(lr,Hr){return ft?Ya(lr,Hr):Bn(lr,Hr)}}function _e(ee,ae){var oe=ae.initMapStateToProps,ce=ae.initMapDispatchToProps,ye=ae.initMergeProps,Ee=(0,E.Z)(ae,Mt),we=oe(ee,Ee),Re=ce(ee,Ee),ft=ye(ee,Ee),kt=Ee.pure?rt:pt;return kt(we,Re,ft,ee,Ee)}var ve=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function fe(ee,ae,oe){for(var ce=ae.length-1;ce>=0;ce--){var ye=ae[ce](ee);if(ye)return ye}return function(Ee,we){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+we.wrappedComponentName+".")}}function Xe(ee,ae){return ee===ae}function bt(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,ce=oe===void 0?ht:oe,ye=ae.mapStateToPropsFactories,Ee=ye===void 0?hn:ye,we=ae.mapDispatchToPropsFactories,Re=we===void 0?nt:we,ft=ae.mergePropsFactories,kt=ft===void 0?Kt:ft,Rt=ae.selectorFactory,Ct=Rt===void 0?_e:Rt;return function(Vt,Bn,Ca,Ia){Ia===void 0&&(Ia={});var Oa=Ia,Ya=Oa.pure,rr=Ya===void 0?!0:Ya,lr=Oa.areStatesEqual,Hr=lr===void 0?Xe:lr,Mr=Oa.areOwnPropsEqual,no=Mr===void 0?mt:Mr,Ho=Oa.areStatePropsEqual,mo=Ho===void 0?mt:Ho,jo=Oa.areMergedPropsEqual,ni=jo===void 0?mt:jo,li=(0,E.Z)(Oa,ve),ji=fe(Vt,Ee,"mapStateToProps"),Di=fe(Bn,Re,"mapDispatchToProps"),Ei=fe(Ca,kt,"mergeProps");return ce(Ct,(0,Te.Z)({methodName:"connect",getDisplayName:function(si){return"Connect("+si+")"},shouldHandleStateChanges:!!Vt,initMapStateToProps:ji,initMapDispatchToProps:Di,initMergeProps:Ei,pure:rr,areStatesEqual:Hr,areOwnPropsEqual:no,areStatePropsEqual:mo,areMergedPropsEqual:ni},li))}}var Fe=bt();function Ce(){var ee=useContext(ReactReduxContext);return ee}function at(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var ce=ae(),ye=ce.store;return ye}}var $e=null;function De(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var ce=ae();return ce.dispatch}}var gt=null,un=function(ae,oe){return ae===oe};function en(ee,ae,oe,ce){var ye=useReducer(function(Bn){return Bn+1},0),Ee=ye[1],we=useMemo(function(){return createSubscription(oe,ce)},[oe,ce]),Re=useRef(),ft=useRef(),kt=useRef(),Rt=useRef(),Ct=oe.getState(),xt;try{if(ee!==ft.current||Ct!==kt.current||Re.current){var Vt=ee(Ct);Rt.current===void 0||!ae(Vt,Rt.current)?xt=Vt:xt=Rt.current}else xt=Rt.current}catch(Bn){throw Re.current&&(Bn.message+=`
The error may be correlated with this previous error:
`+Re.current.stack+`
`),Bn}return useIsomorphicLayoutEffect(function(){ft.current=ee,kt.current=Ct,Rt.current=xt,Re.current=void 0}),useIsomorphicLayoutEffect(function(){function Bn(){try{var Ca=oe.getState();if(Ca===kt.current)return;var Ia=ft.current(Ca);if(ae(Ia,Rt.current))return;Rt.current=Ia,kt.current=Ca}catch(Oa){Re.current=Oa}Ee()}return we.onStateChange=Bn,we.trySubscribe(),Bn(),function(){return we.tryUnsubscribe()}},[oe,we]),xt}function zt(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(ce,ye){ye===void 0&&(ye=un);var Ee=ae(),we=Ee.store,Re=Ee.subscription,ft=en(ce,ye,we,Re);return useDebugValue(ft),ft}}var ln=null,on=te(4676);Ue(on.unstable_batchedUpdates);function ze(ee,ae){if(ee.length!==ae.length)return!1;for(var oe=0;oe<ee.length;oe++)if(ee[oe]!==ae[oe])return!1;return!0}function wt(ee,ae){var oe=(0,b.useState)(function(){return{inputs:ae,result:ee()}})[0],ce=(0,b.useRef)(!0),ye=(0,b.useRef)(oe),Ee=ce.current||!!(ae&&ye.current.inputs&&ze(ae,ye.current.inputs)),we=Ee?ye.current:{inputs:ae,result:ee()};return(0,b.useEffect)(function(){ce.current=!1,ye.current=we},[we]),we.result}function Ot(ee,ae){return wt(function(){return ee},ae)}var Pt=wt,Nt=Ot,fn=!0,Pn="Invariant failed";function bn(ee,ae){if(!ee){if(fn)throw new Error(Pn);var oe=typeof ae=="function"?ae():ae,ce=oe?"".concat(Pn,": ").concat(oe):Pn;throw new Error(ce)}}var Ln=function(ae){var oe=ae.top,ce=ae.right,ye=ae.bottom,Ee=ae.left,we=ce-Ee,Re=ye-oe,ft={top:oe,right:ce,bottom:ye,left:Ee,width:we,height:Re,x:Ee,y:oe,center:{x:(ce+Ee)/2,y:(ye+oe)/2}};return ft},ta=function(ae,oe){return{top:ae.top-oe.top,left:ae.left-oe.left,bottom:ae.bottom+oe.bottom,right:ae.right+oe.right}},oa=function(ae,oe){return{top:ae.top+oe.top,left:ae.left+oe.left,bottom:ae.bottom-oe.bottom,right:ae.right-oe.right}},jn=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},Ea={top:0,right:0,bottom:0,left:0},pa=function(ae){var oe=ae.borderBox,ce=ae.margin,ye=ce===void 0?Ea:ce,Ee=ae.border,we=Ee===void 0?Ea:Ee,Re=ae.padding,ft=Re===void 0?Ea:Re,kt=Ln(ta(oe,ye)),Rt=Ln(oa(oe,we)),Ct=Ln(oa(Rt,ft));return{marginBox:kt,borderBox:Ln(oe),paddingBox:Rt,contentBox:Ct,margin:ye,border:we,padding:ft}},Hn=function(ae){var oe=ae.slice(0,-2),ce=ae.slice(-2);if(ce!=="px")return 0;var ye=Number(oe);return isNaN(ye)&&bn(!1),ye},Ba=function(){return{x:window.pageXOffset,y:window.pageYOffset}},qt=function(ae,oe){var ce=ae.borderBox,ye=ae.border,Ee=ae.margin,we=ae.padding,Re=jn(ce,oe);return pa({borderBox:Re,border:ye,margin:Ee,padding:we})},An=function(ae,oe){return oe===void 0&&(oe=Ba()),qt(ae,oe)},Fn=function(ae,oe){var ce={top:Hn(oe.marginTop),right:Hn(oe.marginRight),bottom:Hn(oe.marginBottom),left:Hn(oe.marginLeft)},ye={top:Hn(oe.paddingTop),right:Hn(oe.paddingRight),bottom:Hn(oe.paddingBottom),left:Hn(oe.paddingLeft)},Ee={top:Hn(oe.borderTopWidth),right:Hn(oe.borderRightWidth),bottom:Hn(oe.borderBottomWidth),left:Hn(oe.borderLeftWidth)};return pa({borderBox:ae,margin:ce,padding:ye,border:Ee})},Xn=function(ae){var oe=ae.getBoundingClientRect(),ce=window.getComputedStyle(ae);return Fn(oe,ce)},Ze=Number.isNaN||function(ae){return typeof ae=="number"&&ae!==ae};function It(ee,ae){return!!(ee===ae||Ze(ee)&&Ze(ae))}function Zt(ee,ae){if(ee.length!==ae.length)return!1;for(var oe=0;oe<ee.length;oe++)if(!It(ee[oe],ae[oe]))return!1;return!0}function Wt(ee,ae){ae===void 0&&(ae=Zt);var oe,ce=[],ye,Ee=!1;function we(){for(var Re=[],ft=0;ft<arguments.length;ft++)Re[ft]=arguments[ft];return Ee&&oe===this&&ae(Re,ce)||(ye=ee.apply(this,Re),Ee=!0,oe=this,ce=Re),ye}return we}var tn=Wt,jt=function(ae){var oe=[],ce=null,ye=function(){for(var we=arguments.length,Re=new Array(we),ft=0;ft<we;ft++)Re[ft]=arguments[ft];oe=Re,!ce&&(ce=requestAnimationFrame(function(){ce=null,ae.apply(void 0,oe)}))};return ye.cancel=function(){ce&&(cancelAnimationFrame(ce),ce=null)},ye},pn=jt,st=!0,yt=/[ \t]{2,}/g,ct=/^[ \t]*/gm,rn=function(ae){return ae.replace(yt," ").replace(ct,"").trim()},In=function(ae){return rn(`
%creact-beautiful-dnd
%c`+rn(ae)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},yn=function(ae){return[In(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},ia="__react-beautiful-dnd-disable-dev-warnings";function Un(ee,ae){var oe;st||typeof window!="undefined"&&window[ia]||(oe=console)[ee].apply(oe,yn(ae))}var lt=Un.bind(null,"warn"),$t=Un.bind(null,"error");function qn(){}function nn(ee,ae){return(0,Te.Z)({},ee,{},ae)}function _n(ee,ae,oe){var ce=ae.map(function(ye){var Ee=nn(oe,ye.options);return ee.addEventListener(ye.eventName,ye.fn,Ee),function(){ee.removeEventListener(ye.eventName,ye.fn,Ee)}});return function(){ce.forEach(function(Ee){Ee()})}}var Jn=!0,Ma="Invariant failed";function ma(ee){this.message=ee}ma.prototype.toString=function(){return this.message};function We(ee,ae){if(!ee)throw Jn?new ma(Ma):new ma(Ma+": "+(ae||""))}var dn=function(ee){Be(ae,ee);function ae(){for(var ce,ye=arguments.length,Ee=new Array(ye),we=0;we<ye;we++)Ee[we]=arguments[we];return ce=ee.call.apply(ee,[this].concat(Ee))||this,ce.callbacks=null,ce.unbind=qn,ce.onWindowError=function(Re){var ft=ce.getCallbacks();ft.isDragging()&&ft.tryAbort();var kt=Re.error;kt instanceof ma&&Re.preventDefault()},ce.getCallbacks=function(){if(!ce.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return ce.callbacks},ce.setCallbacks=function(Re){ce.callbacks=Re},ce}var oe=ae.prototype;return oe.componentDidMount=function(){this.unbind=_n(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(ye){if(ye instanceof ma){this.setState({});return}throw ye},oe.render=function(){return this.props.children(this.setCallbacks)},ae}(b.Component),Jt=`
Press space bar to start a drag.
When dragging you can use the arrow keys to move the item around and escape to cancel.
Some screen readers may require you to be in focus mode or to use your pass through key
`,Sn=function(ae){return ae+1},On=function(ae){return`
You have lifted an item in position `+Sn(ae.source.index)+`
`},kn=function(ae,oe){var ce=ae.droppableId===oe.droppableId,ye=Sn(ae.index),Ee=Sn(oe.index);return ce?`
You have moved the item from position `+ye+`
to position `+Ee+`
`:`
You have moved the item from position `+ye+`
in list `+ae.droppableId+`
to list `+oe.droppableId+`
in position `+Ee+`
`},Dn=function(ae,oe,ce){var ye=oe.droppableId===ce.droppableId;return ye?`
The item `+ae+`
has been combined with `+ce.draggableId:`
The item `+ae+`
in list `+oe.droppableId+`
has been combined with `+ce.draggableId+`
in list `+ce.droppableId+`
`},wn=function(ae){var oe=ae.destination;if(oe)return kn(ae.source,oe);var ce=ae.combine;return ce?Dn(ae.draggableId,ae.source,ce):"You are over an area that cannot be dropped on"},Aa=function(ae){return`
The item has returned to its starting position
of `+Sn(ae.index)+`
`},La=function(ae){if(ae.reason==="CANCEL")return`
Movement cancelled.
`+Aa(ae.source)+`
`;var oe=ae.destination,ce=ae.combine;return oe?`
You have dropped the item.
`+kn(ae.source,oe)+`
`:ce?`
You have dropped the item.
`+Dn(ae.draggableId,ae.source,ce)+`
`:`
The item has been dropped while not over a drop area.
`+Aa(ae.source)+`
`},mn={dragHandleUsageInstructions:Jt,onDragStart:On,onDragUpdate:wn,onDragEnd:La},Da={x:0,y:0},na=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Qa=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},Ja=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},Vn=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},sa=function(ae,oe,ce){var ye;return ce===void 0&&(ce=0),ye={},ye[ae]=oe,ye[ae==="x"?"y":"x"]=ce,ye},xa=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},aa=function(ae,oe){return Math.min.apply(Math,oe.map(function(ce){return xa(ae,ce)}))},za=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},ar=function(ee,ae){var oe=Ln({top:Math.max(ae.top,ee.top),right:Math.min(ae.right,ee.right),bottom:Math.min(ae.bottom,ee.bottom),left:Math.max(ae.left,ee.left)});return oe.width<=0||oe.height<=0?null:oe},Ga=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},mr=function(ae){return[{x:ae.left,y:ae.top},{x:ae.right,y:ae.top},{x:ae.left,y:ae.bottom},{x:ae.right,y:ae.bottom}]},Ua={top:0,right:0,bottom:0,left:0},Cr=function(ae,oe){return oe?Ga(ae,oe.scroll.diff.displacement):ae},kr=function(ae,oe,ce){if(ce&&ce.increasedBy){var ye;return(0,Te.Z)({},ae,(ye={},ye[oe.end]=ae[oe.end]+ce.increasedBy[oe.line],ye))}return ae},ao=function(ae,oe){return oe&&oe.shouldClipSubject?ar(oe.pageMarginBox,ae):Ln(ae)},Er=function(ee){var ae=ee.page,oe=ee.withPlaceholder,ce=ee.axis,ye=ee.frame,Ee=Cr(ae.marginBox,ye),we=kr(Ee,ce,oe),Re=ao(we,ye);return{page:ae,withPlaceholder:oe,active:Re}},vr=function(ee,ae){ee.frame||We(!1);var oe=ee.frame,ce=Qa(ae,oe.scroll.initial),ye=Vn(ce),Ee=(0,Te.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:ce,displacement:ye},max:oe.scroll.max}}),we=Er({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Ee}),Re=(0,Te.Z)({},ee,{frame:Ee,subject:we});return Re};function Zr(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function hr(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ae){return ee[ae]})}function Fr(ee,ae){if(ee.findIndex)return ee.findIndex(ae);for(var oe=0;oe<ee.length;oe++)if(ae(ee[oe]))return oe;return-1}function ur(ee,ae){if(ee.find)return ee.find(ae);var oe=Fr(ee,ae);if(oe!==-1)return ee[oe]}function Ra(ee){return Array.prototype.slice.call(ee)}var xr=tn(function(ee){return ee.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),Xr=tn(function(ee){return ee.reduce(function(ae,oe){return ae[oe.descriptor.id]=oe,ae},{})}),br=tn(function(ee){return hr(ee)}),Vr=tn(function(ee){return hr(ee)}),jr=tn(function(ee,ae){var oe=Vr(ae).filter(function(ce){return ee===ce.descriptor.droppableId}).sort(function(ce,ye){return ce.descriptor.index-ye.descriptor.index});return oe});function Xa(ee){return ee.at&&ee.at.type==="REORDER"?ee.at.destination:null}function wr(ee){return ee.at&&ee.at.type==="COMBINE"?ee.at.combine:null}var dr=tn(function(ee,ae){return ae.filter(function(oe){return oe.descriptor.id!==ee.descriptor.id})}),Qr=function(ee){var ae=ee.isMovingForward,oe=ee.draggable,ce=ee.destination,ye=ee.insideDestination,Ee=ee.previousImpact;if(!ce.isCombineEnabled)return null;var we=Xa(Ee);if(!we)return null;function Re(Ca){var Ia={type:"COMBINE",combine:{draggableId:Ca,droppableId:ce.descriptor.id}};return(0,Te.Z)({},Ee,{at:Ia})}var ft=Ee.displaced.all,kt=ft.length?ft[0]:null;if(ae)return kt?Re(kt):null;var Rt=dr(oe,ye);if(!kt){if(!Rt.length)return null;var Ct=Rt[Rt.length-1];return Re(Ct.descriptor.id)}var xt=Fr(Rt,function(Ca){return Ca.descriptor.id===kt});xt===-1&&We(!1);var Vt=xt-1;if(Vt<0)return null;var Bn=Rt[Vt];return Re(Bn.descriptor.id)},ro=function(ee,ae){return ee.descriptor.droppableId===ae.descriptor.id},xo={point:Da,value:0},To={invisible:{},visible:{},all:[]},ko={displaced:To,displacedBy:xo,at:null},Ir=function(ee,ae){return function(oe){return ee<=oe&&oe<=ae}},qr=function(ee){var ae=Ir(ee.top,ee.bottom),oe=Ir(ee.left,ee.right);return function(ce){var ye=ae(ce.top)&&ae(ce.bottom)&&oe(ce.left)&&oe(ce.right);if(ye)return!0;var Ee=ae(ce.top)||ae(ce.bottom),we=oe(ce.left)||oe(ce.right),Re=Ee&&we;if(Re)return!0;var ft=ce.top<ee.top&&ce.bottom>ee.bottom,kt=ce.left<ee.left&&ce.right>ee.right,Rt=ft&&kt;if(Rt)return!0;var Ct=ft&&we||kt&&Ee;return Ct}},Zo=function(ee){var ae=Ir(ee.top,ee.bottom),oe=Ir(ee.left,ee.right);return function(ce){var ye=ae(ce.top)&&ae(ce.bottom)&&oe(ce.left)&&oe(ce.right);return ye}},Ao={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Go={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ai=function(ee){return function(ae){var oe=Ir(ae.top,ae.bottom),ce=Ir(ae.left,ae.right);return function(ye){return ee===Ao?oe(ye.top)&&oe(ye.bottom):ce(ye.left)&&ce(ye.right)}}},$a=function(ae,oe){var ce=oe.frame?oe.frame.scroll.diff.displacement:Da;return Ga(ae,ce)},ga=function(ae,oe,ce){return oe.subject.active?ce(oe.subject.active)(ae):!1},Tn=function(ae,oe,ce){return ce(oe)(ae)},Fa=function(ae){var oe=ae.target,ce=ae.destination,ye=ae.viewport,Ee=ae.withDroppableDisplacement,we=ae.isVisibleThroughFrameFn,Re=Ee?$a(oe,ce):oe;return ga(Re,ce,we)&&Tn(Re,ye,we)},cr=function(ae){return Fa((0,Te.Z)({},ae,{isVisibleThroughFrameFn:qr}))},Nr=function(ae){return Fa((0,Te.Z)({},ae,{isVisibleThroughFrameFn:Zo}))},xe=function(ae){return Fa((0,Te.Z)({},ae,{isVisibleThroughFrameFn:ai(ae.destination.axis)}))},sn=function(ae,oe,ce){if(typeof ce=="boolean")return ce;if(!oe)return!0;var ye=oe.invisible,Ee=oe.visible;if(ye[ae])return!1;var we=Ee[ae];return we?we.shouldAnimate:!0};function Cn(ee,ae){var oe=ee.page.marginBox,ce={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Ln(ta(oe,ce))}function zn(ee){var ae=ee.afterDragging,oe=ee.destination,ce=ee.displacedBy,ye=ee.viewport,Ee=ee.forceShouldAnimate,we=ee.last;return ae.reduce(function(ft,kt){var Rt=Cn(kt,ce),Ct=kt.descriptor.id;ft.all.push(Ct);var xt=cr({target:Rt,destination:oe,viewport:ye,withDroppableDisplacement:!0});if(!xt)return ft.invisible[kt.descriptor.id]=!0,ft;var Vt=sn(Ct,we,Ee),Bn={draggableId:Ct,shouldAnimate:Vt};return ft.visible[Ct]=Bn,ft},{all:[],visible:{},invisible:{}})}function cn(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function ra(ee){var ae=ee.insideDestination,oe=ee.inHomeList,ce=ee.displacedBy,ye=ee.destination,Ee=cn(ae,{inHomeList:oe});return{displaced:To,displacedBy:ce,at:{type:"REORDER",destination:{droppableId:ye.descriptor.id,index:Ee}}}}function Zn(ee){var ae=ee.draggable,oe=ee.insideDestination,ce=ee.destination,ye=ee.viewport,Ee=ee.displacedBy,we=ee.last,Re=ee.index,ft=ee.forceShouldAnimate,kt=ro(ae,ce);if(Re==null)return ra({insideDestination:oe,inHomeList:kt,displacedBy:Ee,destination:ce});var Rt=ur(oe,function(Ca){return Ca.descriptor.index===Re});if(!Rt)return ra({insideDestination:oe,inHomeList:kt,displacedBy:Ee,destination:ce});var Ct=dr(ae,oe),xt=oe.indexOf(Rt),Vt=Ct.slice(xt),Bn=zn({afterDragging:Vt,destination:ce,displacedBy:Ee,last:we,viewport:ye.frame,forceShouldAnimate:ft});return{displaced:Bn,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:ce.descriptor.id,index:Re}}}}function Nn(ee,ae){return!!ae.effected[ee]}var Gn=function(ee){var ae=ee.isMovingForward,oe=ee.destination,ce=ee.draggables,ye=ee.combine,Ee=ee.afterCritical;if(!oe.isCombineEnabled)return null;var we=ye.draggableId,Re=ce[we],ft=Re.descriptor.index,kt=Nn(we,Ee);return kt?ae?ft:ft-1:ae?ft+1:ft},Mn=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,ce=ee.insideDestination,ye=ee.location;if(!ce.length)return null;var Ee=ye.index,we=ae?Ee+1:Ee-1,Re=ce[0].descriptor.index,ft=ce[ce.length-1].descriptor.index,kt=oe?ft:ft+1;return we<Re||we>kt?null:we},fa=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,ce=ee.draggable,ye=ee.draggables,Ee=ee.destination,we=ee.insideDestination,Re=ee.previousImpact,ft=ee.viewport,kt=ee.afterCritical,Rt=Re.at;if(Rt||We(!1),Rt.type==="REORDER"){var Ct=Mn({isMovingForward:ae,isInHomeList:oe,location:Rt.destination,insideDestination:we});return Ct==null?null:Zn({draggable:ce,insideDestination:we,destination:Ee,viewport:ft,last:Re.displaced,displacedBy:Re.displacedBy,index:Ct})}var xt=Gn({isMovingForward:ae,destination:Ee,displaced:Re.displaced,draggables:ye,combine:Rt.combine,afterCritical:kt});return xt==null?null:Zn({draggable:ce,insideDestination:we,destination:Ee,viewport:ft,last:Re.displaced,displacedBy:Re.displacedBy,index:xt})},wa=function(ee){var ae=ee.displaced,oe=ee.afterCritical,ce=ee.combineWith,ye=ee.displacedBy,Ee=!!(ae.visible[ce]||ae.invisible[ce]);return Nn(ce,oe)?Ee?Da:Vn(ye.point):Ee?ye.point:Da},Pa=function(ee){var ae=ee.afterCritical,oe=ee.impact,ce=ee.draggables,ye=wr(oe);ye||We(!1);var Ee=ye.draggableId,we=ce[Ee].page.borderBox.center,Re=wa({displaced:oe.displaced,afterCritical:ae,combineWith:Ee,displacedBy:oe.displacedBy});return na(we,Re)},Ar=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},fr=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Or=function(ae,oe,ce){return oe[ae.crossAxisStart]+ce.margin[ae.crossAxisStart]+ce.borderBox[ae.crossAxisSize]/2},$r=function(ae){var oe=ae.axis,ce=ae.moveRelativeTo,ye=ae.isMoving;return sa(oe.line,ce.marginBox[oe.end]+Ar(oe,ye),Or(oe,ce.marginBox,ye))},uo=function(ae){var oe=ae.axis,ce=ae.moveRelativeTo,ye=ae.isMoving;return sa(oe.line,ce.marginBox[oe.start]-fr(oe,ye),Or(oe,ce.marginBox,ye))},Co=function(ae){var oe=ae.axis,ce=ae.moveInto,ye=ae.isMoving;return sa(oe.line,ce.contentBox[oe.start]+Ar(oe,ye),Or(oe,ce.contentBox,ye))},pi=function(ee){var ae=ee.impact,oe=ee.draggable,ce=ee.draggables,ye=ee.droppable,Ee=ee.afterCritical,we=jr(ye.descriptor.id,ce),Re=oe.page,ft=ye.axis;if(!we.length)return Co({axis:ft,moveInto:ye.page,isMoving:Re});var kt=ae.displaced,Rt=ae.displacedBy,Ct=kt.all[0];if(Ct){var xt=ce[Ct];if(Nn(Ct,Ee))return uo({axis:ft,moveRelativeTo:xt.page,isMoving:Re});var Vt=qt(xt.page,Rt.point);return uo({axis:ft,moveRelativeTo:Vt,isMoving:Re})}var Bn=we[we.length-1];if(Bn.descriptor.id===oe.descriptor.id)return Re.borderBox.center;if(Nn(Bn.descriptor.id,Ee)){var Ca=qt(Bn.page,Vn(Ee.displacedBy.point));return $r({axis:ft,moveRelativeTo:Ca,isMoving:Re})}return $r({axis:ft,moveRelativeTo:Bn.page,isMoving:Re})},gi=function(ee,ae){var oe=ee.frame;return oe?na(ae,oe.scroll.diff.displacement):ae},ri=function(ae){var oe=ae.impact,ce=ae.draggable,ye=ae.droppable,Ee=ae.draggables,we=ae.afterCritical,Re=ce.page.borderBox.center,ft=oe.at;return!ye||!ft?Re:ft.type==="REORDER"?pi({impact:oe,draggable:ce,draggables:Ee,droppable:ye,afterCritical:we}):Pa({impact:oe,draggables:Ee,afterCritical:we})},ui=function(ee){var ae=ri(ee),oe=ee.droppable,ce=oe?gi(oe,ae):ae;return ce},vi=function(ee,ae){var oe=Qa(ae,ee.scroll.initial),ce=Vn(oe),ye=Ln({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),Ee={frame:ye,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:ce}}};return Ee};function Po(ee,ae){return ee.map(function(oe){return ae[oe]})}function hi(ee,ae){for(var oe=0;oe<ae.length;oe++){var ce=ae[oe].visible[ee];if(ce)return ce}return null}var Ni=function(ee){var ae=ee.impact,oe=ee.viewport,ce=ee.destination,ye=ee.draggables,Ee=ee.maxScrollChange,we=vi(oe,na(oe.scroll.current,Ee)),Re=ce.frame?vr(ce,na(ce.frame.scroll.current,Ee)):ce,ft=ae.displaced,kt=zn({afterDragging:Po(ft.all,ye),destination:ce,displacedBy:ae.displacedBy,viewport:we.frame,last:ft,forceShouldAnimate:!1}),Rt=zn({afterDragging:Po(ft.all,ye),destination:Re,displacedBy:ae.displacedBy,viewport:oe.frame,last:ft,forceShouldAnimate:!1}),Ct={},xt={},Vt=[ft,kt,Rt];ft.all.forEach(function(Ca){var Ia=hi(Ca,Vt);if(Ia){xt[Ca]=Ia;return}Ct[Ca]=!0});var Bn=(0,Te.Z)({},ae,{displaced:{all:ft.all,invisible:Ct,visible:xt}});return Bn},Ql=function(ee,ae){return na(ee.scroll.diff.displacement,ae)},Vi=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.draggable,ce=ee.viewport,ye=Ql(ce,ae),Ee=Qa(ye,oe.page.borderBox.center);return na(oe.client.borderBox.center,Ee)},nl=function(ee){var ae=ee.draggable,oe=ee.destination,ce=ee.newPageBorderBoxCenter,ye=ee.viewport,Ee=ee.withDroppableDisplacement,we=ee.onlyOnMainAxis,Re=we===void 0?!1:we,ft=Qa(ce,ae.page.borderBox.center),kt=Ga(ae.page.borderBox,ft),Rt={target:kt,destination:oe,withDroppableDisplacement:Ee,viewport:ye};return Re?xe(Rt):Nr(Rt)},Jl=function(ee){var ae=ee.isMovingForward,oe=ee.draggable,ce=ee.destination,ye=ee.draggables,Ee=ee.previousImpact,we=ee.viewport,Re=ee.previousPageBorderBoxCenter,ft=ee.previousClientSelection,kt=ee.afterCritical;if(!ce.isEnabled)return null;var Rt=jr(ce.descriptor.id,ye),Ct=ro(oe,ce),xt=Qr({isMovingForward:ae,draggable:oe,destination:ce,insideDestination:Rt,previousImpact:Ee})||fa({isMovingForward:ae,isInHomeList:Ct,draggable:oe,draggables:ye,destination:ce,insideDestination:Rt,previousImpact:Ee,viewport:we,afterCritical:kt});if(!xt)return null;var Vt=ui({impact:xt,draggable:oe,droppable:ce,draggables:ye,afterCritical:kt}),Bn=nl({draggable:oe,destination:ce,newPageBorderBoxCenter:Vt,viewport:we.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(Bn){var Ca=Vi({pageBorderBoxCenter:Vt,draggable:oe,viewport:we});return{clientSelection:Ca,impact:xt,scrollJumpRequest:null}}var Ia=Qa(Vt,Re),Oa=Ni({impact:xt,viewport:we,destination:ce,draggables:ye,maxScrollChange:Ia});return{clientSelection:ft,impact:Oa,scrollJumpRequest:Ia}},Qo=function(ae){var oe=ae.subject.active;return oe||We(!1),oe},mi=function(ee){var ae=ee.isMovingForward,oe=ee.pageBorderBoxCenter,ce=ee.source,ye=ee.droppables,Ee=ee.viewport,we=ce.subject.active;if(!we)return null;var Re=ce.axis,ft=Ir(we[Re.start],we[Re.end]),kt=br(ye).filter(function(Ct){return Ct!==ce}).filter(function(Ct){return Ct.isEnabled}).filter(function(Ct){return!!Ct.subject.active}).filter(function(Ct){return qr(Ee.frame)(Qo(Ct))}).filter(function(Ct){var xt=Qo(Ct);return ae?we[Re.crossAxisEnd]<xt[Re.crossAxisEnd]:xt[Re.crossAxisStart]<we[Re.crossAxisStart]}).filter(function(Ct){var xt=Qo(Ct),Vt=Ir(xt[Re.start],xt[Re.end]);return ft(xt[Re.start])||ft(xt[Re.end])||Vt(we[Re.start])||Vt(we[Re.end])}).sort(function(Ct,xt){var Vt=Qo(Ct)[Re.crossAxisStart],Bn=Qo(xt)[Re.crossAxisStart];return ae?Vt-Bn:Bn-Vt}).filter(function(Ct,xt,Vt){return Qo(Ct)[Re.crossAxisStart]===Qo(Vt[0])[Re.crossAxisStart]});if(!kt.length)return null;if(kt.length===1)return kt[0];var Rt=kt.filter(function(Ct){var xt=Ir(Qo(Ct)[Re.start],Qo(Ct)[Re.end]);return xt(oe[Re.line])});return Rt.length===1?Rt[0]:Rt.length>1?Rt.sort(function(Ct,xt){return Qo(Ct)[Re.start]-Qo(xt)[Re.start]})[0]:kt.sort(function(Ct,xt){var Vt=aa(oe,mr(Qo(Ct))),Bn=aa(oe,mr(Qo(xt)));return Vt!==Bn?Vt-Bn:Qo(Ct)[Re.start]-Qo(xt)[Re.start]})[0]},Bi=function(ae,oe){var ce=ae.page.borderBox.center;return Nn(ae.descriptor.id,oe)?Qa(ce,oe.displacedBy.point):ce},yl=function(ae,oe){var ce=ae.page.borderBox;return Nn(ae.descriptor.id,oe)?Ga(ce,Vn(oe.displacedBy.point)):ce},Xl=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,ce=ee.destination,ye=ee.insideDestination,Ee=ee.afterCritical,we=ye.filter(function(Re){return Nr({target:yl(Re,Ee),destination:ce,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Re,ft){var kt=xa(ae,gi(ce,Bi(Re,Ee))),Rt=xa(ae,gi(ce,Bi(ft,Ee)));return kt<Rt?-1:Rt<kt?1:Re.descriptor.index-ft.descriptor.index});return we[0]||null},Ii=tn(function(ae,oe){var ce=oe[ae.line];return{value:ce,point:sa(ae.line,ce)}}),Bo=function(ae,oe,ce){var ye=ae.axis;if(ae.descriptor.mode==="virtual")return sa(ye.line,oe[ye.line]);var Ee=ae.subject.page.contentBox[ye.size],we=jr(ae.descriptor.id,ce),Re=we.reduce(function(Rt,Ct){return Rt+Ct.client.marginBox[ye.size]},0),ft=Re+oe[ye.line],kt=ft-Ee;return kt<=0?null:sa(ye.line,kt)},El=function(ae,oe){return(0,Te.Z)({},ae,{scroll:(0,Te.Z)({},ae.scroll,{max:oe})})},bl=function(ae,oe,ce){var ye=ae.frame;ro(oe,ae)&&We(!1),ae.subject.withPlaceholder&&We(!1);var Ee=Ii(ae.axis,oe.displaceBy).point,we=Bo(ae,Ee,ce),Re={placeholderSize:Ee,increasedBy:we,oldFrameMaxScroll:ae.frame?ae.frame.scroll.max:null};if(!ye){var ft=Er({page:ae.subject.page,withPlaceholder:Re,axis:ae.axis,frame:ae.frame});return(0,Te.Z)({},ae,{subject:ft})}var kt=we?na(ye.scroll.max,we):ye.scroll.max,Rt=El(ye,kt),Ct=Er({page:ae.subject.page,withPlaceholder:Re,axis:ae.axis,frame:Rt});return(0,Te.Z)({},ae,{subject:Ct,frame:Rt})},Yl=function(ae){var oe=ae.subject.withPlaceholder;oe||We(!1);var ce=ae.frame;if(!ce){var ye=Er({page:ae.subject.page,axis:ae.axis,frame:null,withPlaceholder:null});return(0,Te.Z)({},ae,{subject:ye})}var Ee=oe.oldFrameMaxScroll;Ee||We(!1);var we=El(ce,Ee),Re=Er({page:ae.subject.page,axis:ae.axis,frame:we,withPlaceholder:null});return(0,Te.Z)({},ae,{subject:Re,frame:we})},Cl=function(ee){var ae=ee.previousPageBorderBoxCenter,oe=ee.moveRelativeTo,ce=ee.insideDestination,ye=ee.draggable,Ee=ee.draggables,we=ee.destination,Re=ee.viewport,ft=ee.afterCritical;if(!oe){if(ce.length)return null;var kt={displaced:To,displacedBy:xo,at:{type:"REORDER",destination:{droppableId:we.descriptor.id,index:0}}},Rt=ui({impact:kt,draggable:ye,droppable:we,draggables:Ee,afterCritical:ft}),Ct=ro(ye,we)?we:bl(we,ye,Ee),xt=nl({draggable:ye,destination:Ct,newPageBorderBoxCenter:Rt,viewport:Re.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return xt?kt:null}var Vt=ae[we.axis.line]<=oe.page.borderBox.center[we.axis.line],Bn=function(){var Ia=oe.descriptor.index;return oe.descriptor.id===ye.descriptor.id||Vt?Ia:Ia+1}(),Ca=Ii(we.axis,ye.displaceBy);return Zn({draggable:ye,insideDestination:ce,destination:we,viewport:Re,displacedBy:Ca,last:To,index:Bn})},xl=function(ee){var ae=ee.isMovingForward,oe=ee.previousPageBorderBoxCenter,ce=ee.draggable,ye=ee.isOver,Ee=ee.draggables,we=ee.droppables,Re=ee.viewport,ft=ee.afterCritical,kt=mi({isMovingForward:ae,pageBorderBoxCenter:oe,source:ye,droppables:we,viewport:Re});if(!kt)return null;var Rt=jr(kt.descriptor.id,Ee),Ct=Xl({pageBorderBoxCenter:oe,viewport:Re,destination:kt,insideDestination:Rt,afterCritical:ft}),xt=Cl({previousPageBorderBoxCenter:oe,destination:kt,draggable:ce,draggables:Ee,moveRelativeTo:Ct,insideDestination:Rt,viewport:Re,afterCritical:ft});if(!xt)return null;var Vt=ui({impact:xt,draggable:ce,droppable:kt,draggables:Ee,afterCritical:ft}),Bn=Vi({pageBorderBoxCenter:Vt,draggable:ce,viewport:Re});return{clientSelection:Bn,impact:xt,scrollJumpRequest:null}},oi=function(ee){var ae=ee.at;return ae?ae.type==="REORDER"?ae.destination.droppableId:ae.combine.droppableId:null},Bl=function(ae,oe){var ce=oi(ae);return ce?oe[ce]:null},di=function(ee){var ae=ee.state,oe=ee.type,ce=Bl(ae.impact,ae.dimensions.droppables),ye=!!ce,Ee=ae.dimensions.droppables[ae.critical.droppable.id],we=ce||Ee,Re=we.axis.direction,ft=Re==="vertical"&&(oe==="MOVE_UP"||oe==="MOVE_DOWN")||Re==="horizontal"&&(oe==="MOVE_LEFT"||oe==="MOVE_RIGHT");if(ft&&!ye)return null;var kt=oe==="MOVE_DOWN"||oe==="MOVE_RIGHT",Rt=ae.dimensions.draggables[ae.critical.draggable.id],Ct=ae.current.page.borderBoxCenter,xt=ae.dimensions,Vt=xt.draggables,Bn=xt.droppables;return ft?Jl({isMovingForward:kt,previousPageBorderBoxCenter:Ct,draggable:Rt,destination:we,draggables:Vt,viewport:ae.viewport,previousClientSelection:ae.current.client.selection,previousImpact:ae.impact,afterCritical:ae.afterCritical}):xl({isMovingForward:kt,previousPageBorderBoxCenter:Ct,draggable:Rt,isOver:we,draggables:Vt,droppables:Bn,viewport:ae.viewport,afterCritical:ae.afterCritical})};function Yo(ee){return ee.phase==="DRAGGING"||ee.phase==="COLLECTING"}function Qi(ee){var ae=Ir(ee.top,ee.bottom),oe=Ir(ee.left,ee.right);return function(ye){return ae(ye.y)&&oe(ye.x)}}function Fl(ee,ae){return ee.left<ae.right&&ee.right>ae.left&&ee.top<ae.bottom&&ee.bottom>ae.top}function ql(ee){var ae=ee.pageBorderBox,oe=ee.draggable,ce=ee.candidates,ye=oe.page.borderBox.center,Ee=ce.map(function(we){var Re=we.axis,ft=sa(we.axis.line,ae.center[Re.line],we.page.borderBox.center[Re.crossAxisLine]);return{id:we.descriptor.id,distance:xa(ye,ft)}}).sort(function(we,Re){return Re.distance-we.distance});return Ee[0]?Ee[0].id:null}function Ha(ee){var ae=ee.pageBorderBox,oe=ee.draggable,ce=ee.droppables,ye=br(ce).filter(function(Ee){if(!Ee.isEnabled)return!1;var we=Ee.subject.active;if(!we||!Fl(ae,we))return!1;if(Qi(we)(ae.center))return!0;var Re=Ee.axis,ft=we.center[Re.crossAxisLine],kt=ae[Re.crossAxisStart],Rt=ae[Re.crossAxisEnd],Ct=Ir(we[Re.crossAxisStart],we[Re.crossAxisEnd]),xt=Ct(kt),Vt=Ct(Rt);return!xt&&!Vt?!0:xt?kt<ft:Rt>ft});return ye.length?ye.length===1?ye[0].descriptor.id:ql({pageBorderBox:ae,draggable:oe,candidates:ye}):null}var yi=function(ae,oe){return Ln(Ga(ae,oe))},al=function(ee,ae){var oe=ee.frame;return oe?yi(ae,oe.scroll.diff.value):ae};function va(ee){var ae=ee.displaced,oe=ee.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Li(ee){var ae=ee.draggable,oe=ee.closest,ce=ee.inHomeList;return oe?ce&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var wl=function(ee){var ae=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,ce=ee.destination,ye=ee.insideDestination,Ee=ee.last,we=ee.viewport,Re=ee.afterCritical,ft=ce.axis,kt=Ii(ce.axis,oe.displaceBy),Rt=kt.value,Ct=ae[ft.start],xt=ae[ft.end],Vt=dr(oe,ye),Bn=ur(Vt,function(Ia){var Oa=Ia.descriptor.id,Ya=Ia.page.borderBox.center[ft.line],rr=Nn(Oa,Re),lr=va({displaced:Ee,id:Oa});return rr?lr?xt<=Ya:Ct<Ya-Rt:lr?xt<=Ya+Rt:Ct<Ya}),Ca=Li({draggable:oe,closest:Bn,inHomeList:ro(oe,ce)});return Zn({draggable:oe,insideDestination:ye,destination:ce,viewport:we,last:Ee,displacedBy:kt,index:Ca})},es=4,ws=function(ee){var ae=ee.draggable,oe=ee.pageBorderBoxWithDroppableScroll,ce=ee.previousImpact,ye=ee.destination,Ee=ee.insideDestination,we=ee.afterCritical;if(!ye.isCombineEnabled)return null;var Re=ye.axis,ft=Ii(ye.axis,ae.displaceBy),kt=ft.value,Rt=oe[Re.start],Ct=oe[Re.end],xt=dr(ae,Ee),Vt=ur(xt,function(Ca){var Ia=Ca.descriptor.id,Oa=Ca.page.borderBox,Ya=Oa[Re.size],rr=Ya/es,lr=Nn(Ia,we),Hr=va({displaced:ce.displaced,id:Ia});return lr?Hr?Ct>Oa[Re.start]+rr&&Ct<Oa[Re.end]-rr:Rt>Oa[Re.start]-kt+rr&&Rt<Oa[Re.end]-kt-rr:Hr?Ct>Oa[Re.start]+kt+rr&&Ct<Oa[Re.end]+kt-rr:Rt>Oa[Re.start]+rr&&Rt<Oa[Re.end]-rr});if(!Vt)return null;var Bn={displacedBy:ft,displaced:ce.displaced,at:{type:"COMBINE",combine:{draggableId:Vt.descriptor.id,droppableId:ye.descriptor.id}}};return Bn},Al=function(ee){var ae=ee.pageOffset,oe=ee.draggable,ce=ee.draggables,ye=ee.droppables,Ee=ee.previousImpact,we=ee.viewport,Re=ee.afterCritical,ft=yi(oe.page.borderBox,ae),kt=Ha({pageBorderBox:ft,draggable:oe,droppables:ye});if(!kt)return ko;var Rt=ye[kt],Ct=jr(Rt.descriptor.id,ce),xt=al(Rt,ft);return ws({pageBorderBoxWithDroppableScroll:xt,draggable:oe,previousImpact:Ee,destination:Rt,insideDestination:Ct,afterCritical:Re})||wl({pageBorderBoxWithDroppableScroll:xt,draggable:oe,destination:Rt,insideDestination:Ct,last:Ee.displaced,viewport:we,afterCritical:Re})},rl=function(ee,ae){var oe;return(0,Te.Z)({},ee,(oe={},oe[ae.descriptor.id]=ae,oe))},Ko=function(ae){var oe=ae.previousImpact,ce=ae.impact,ye=ae.droppables,Ee=oi(oe),we=oi(ce);if(!Ee||Ee===we)return ye;var Re=ye[Ee];if(!Re.subject.withPlaceholder)return ye;var ft=Yl(Re);return rl(ye,ft)},ts=function(ee){var ae=ee.draggable,oe=ee.draggables,ce=ee.droppables,ye=ee.previousImpact,Ee=ee.impact,we=Ko({previousImpact:ye,impact:Ee,droppables:ce}),Re=oi(Ee);if(!Re)return we;var ft=ce[Re];if(ro(ae,ft)||ft.subject.withPlaceholder)return we;var kt=bl(ft,ae,oe);return rl(we,kt)},bi=function(ee){var ae=ee.state,oe=ee.clientSelection,ce=ee.dimensions,ye=ee.viewport,Ee=ee.impact,we=ee.scrollJumpRequest,Re=ye||ae.viewport,ft=ce||ae.dimensions,kt=oe||ae.current.client.selection,Rt=Qa(kt,ae.initial.client.selection),Ct={offset:Rt,selection:kt,borderBoxCenter:na(ae.initial.client.borderBoxCenter,Rt)},xt={selection:na(Ct.selection,Re.scroll.current),borderBoxCenter:na(Ct.borderBoxCenter,Re.scroll.current),offset:na(Ct.offset,Re.scroll.diff.value)},Vt={client:Ct,page:xt};if(ae.phase==="COLLECTING")return(0,Te.Z)({phase:"COLLECTING"},ae,{dimensions:ft,viewport:Re,current:Vt});var Bn=ft.draggables[ae.critical.draggable.id],Ca=Ee||Al({pageOffset:xt.offset,draggable:Bn,draggables:ft.draggables,droppables:ft.droppables,previousImpact:ae.impact,viewport:Re,afterCritical:ae.afterCritical}),Ia=ts({draggable:Bn,impact:Ca,previousImpact:ae.impact,draggables:ft.draggables,droppables:ft.droppables}),Oa=(0,Te.Z)({},ae,{current:Vt,dimensions:{draggables:ft.draggables,droppables:Ia},impact:Ca,viewport:Re,scrollJumpRequest:we||null,forceShouldAnimate:we?!1:null});return Oa};function ol(ee,ae){return ee.map(function(oe){return ae[oe]})}var Oi=function(ee){var ae=ee.impact,oe=ee.viewport,ce=ee.draggables,ye=ee.destination,Ee=ee.forceShouldAnimate,we=ae.displaced,Re=ol(we.all,ce),ft=zn({afterDragging:Re,destination:ye,displacedBy:ae.displacedBy,viewport:oe.frame,forceShouldAnimate:Ee,last:we});return(0,Te.Z)({},ae,{displaced:ft})},il=function(ee){var ae=ee.impact,oe=ee.draggable,ce=ee.droppable,ye=ee.draggables,Ee=ee.viewport,we=ee.afterCritical,Re=ui({impact:ae,draggable:oe,draggables:ye,droppable:ce,afterCritical:we});return Vi({pageBorderBoxCenter:Re,draggable:oe,viewport:Ee})},Dl=function(ee){var ae=ee.state,oe=ee.dimensions,ce=ee.viewport;ae.movementMode!=="SNAP"&&We(!1);var ye=ae.impact,Ee=ce||ae.viewport,we=oe||ae.dimensions,Re=we.draggables,ft=we.droppables,kt=Re[ae.critical.draggable.id],Rt=oi(ye);Rt||We(!1);var Ct=ft[Rt],xt=Oi({impact:ye,viewport:Ee,destination:Ct,draggables:Re}),Vt=il({impact:xt,draggable:kt,droppable:Ct,draggables:Re,viewport:Ee,afterCritical:ae.afterCritical});return bi({impact:xt,clientSelection:Vt,state:ae,dimensions:we,viewport:Ee})},Ji=function(ee){return{index:ee.index,droppableId:ee.droppableId}},Ri=function(ee){var ae=ee.draggable,oe=ee.home,ce=ee.draggables,ye=ee.viewport,Ee=Ii(oe.axis,ae.displaceBy),we=jr(oe.descriptor.id,ce),Re=we.indexOf(ae);Re===-1&&We(!1);var ft=we.slice(Re+1),kt=ft.reduce(function(Vt,Bn){return Vt[Bn.descriptor.id]=!0,Vt},{}),Rt={inVirtualList:oe.descriptor.mode==="virtual",displacedBy:Ee,effected:kt},Ct=zn({afterDragging:ft,destination:oe,displacedBy:Ee,last:null,viewport:ye.frame,forceShouldAnimate:!1}),xt={displaced:Ct,displacedBy:Ee,at:{type:"REORDER",destination:Ji(ae.descriptor)}};return{impact:xt,afterCritical:Rt}},ll=function(ee,ae){return{draggables:ee.draggables,droppables:rl(ee.droppables,ae)}},Ti=function(ae){},Mi=function(ae){},ns=function(ee){var ae=ee.draggable,oe=ee.offset,ce=ee.initialWindowScroll,ye=qt(ae.client,oe),Ee=An(ye,ce),we=(0,Te.Z)({},ae,{placeholder:(0,Te.Z)({},ae.placeholder,{client:ye}),client:ye,page:Ee});return we},Lo=function(ee){var ae=ee.frame;return ae||We(!1),ae},as=function(ee){var ae=ee.additions,oe=ee.updatedDroppables,ce=ee.viewport,ye=ce.scroll.diff.value;return ae.map(function(Ee){var we=Ee.descriptor.droppableId,Re=oe[we],ft=Lo(Re),kt=ft.scroll.diff.value,Rt=na(ye,kt),Ct=ns({draggable:Ee,offset:Rt,initialWindowScroll:ce.scroll.initial});return Ct})},As=function(ee){var ae=ee.state,oe=ee.published;Ti();var ce=oe.modified.map(function(rr){var lr=ae.dimensions.droppables[rr.droppableId],Hr=vr(lr,rr.scroll);return Hr}),ye=(0,Te.Z)({},ae.dimensions.droppables,{},xr(ce)),Ee=Xr(as({additions:oe.additions,updatedDroppables:ye,viewport:ae.viewport})),we=(0,Te.Z)({},ae.dimensions.draggables,{},Ee);oe.removals.forEach(function(rr){delete we[rr]});var Re={droppables:ye,draggables:we},ft=oi(ae.impact),kt=ft?Re.droppables[ft]:null,Rt=Re.draggables[ae.critical.draggable.id],Ct=Re.droppables[ae.critical.droppable.id],xt=Ri({draggable:Rt,home:Ct,draggables:we,viewport:ae.viewport}),Vt=xt.impact,Bn=xt.afterCritical,Ca=kt&&kt.isCombineEnabled?ae.impact:Vt,Ia=Al({pageOffset:ae.current.page.offset,draggable:Re.draggables[ae.critical.draggable.id],draggables:Re.draggables,droppables:Re.droppables,previousImpact:Ca,viewport:ae.viewport,afterCritical:Bn});Mi();var Oa=(0,Te.Z)({phase:"DRAGGING"},ae,{phase:"DRAGGING",impact:Ia,onLiftImpact:Vt,dimensions:Re,afterCritical:Bn,forceShouldAnimate:!1});if(ae.phase==="COLLECTING")return Oa;var Ya=(0,Te.Z)({phase:"DROP_PENDING"},Oa,{phase:"DROP_PENDING",reason:ae.reason,isWaiting:!1});return Ya},sl=function(ae){return ae.movementMode==="SNAP"},Fi=function(ae,oe,ce){var ye=ll(ae.dimensions,oe);return!sl(ae)||ce?bi({state:ae,dimensions:ye}):Dl({state:ae,dimensions:ye})};function ki(ee){return ee.isDragging&&ee.movementMode==="SNAP"?(0,Te.Z)({phase:"DRAGGING"},ee,{scrollJumpRequest:null}):ee}var Nl={phase:"IDLE",completed:null,shouldFlush:!1},rs=function(ee,ae){if(ee===void 0&&(ee=Nl),ae.type==="FLUSH")return(0,Te.Z)({},Nl,{shouldFlush:!0});if(ae.type==="INITIAL_PUBLISH"){ee.phase!=="IDLE"&&We(!1);var oe=ae.payload,ce=oe.critical,ye=oe.clientSelection,Ee=oe.viewport,we=oe.dimensions,Re=oe.movementMode,ft=we.draggables[ce.draggable.id],kt=we.droppables[ce.droppable.id],Rt={selection:ye,borderBoxCenter:ft.client.borderBox.center,offset:Da},Ct={client:Rt,page:{selection:na(Rt.selection,Ee.scroll.initial),borderBoxCenter:na(Rt.selection,Ee.scroll.initial),offset:na(Rt.selection,Ee.scroll.diff.value)}},xt=br(we.droppables).every(function(Ks){return!Ks.isFixedOnPage}),Vt=Ri({draggable:ft,home:kt,draggables:we.draggables,viewport:Ee}),Bn=Vt.impact,Ca=Vt.afterCritical,Ia={phase:"DRAGGING",isDragging:!0,critical:ce,movementMode:Re,dimensions:we,initial:Ct,current:Ct,isWindowScrollAllowed:xt,impact:Bn,afterCritical:Ca,onLiftImpact:Bn,viewport:Ee,scrollJumpRequest:null,forceShouldAnimate:null};return Ia}if(ae.type==="COLLECTION_STARTING"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&We(!1);var Oa=(0,Te.Z)({phase:"COLLECTING"},ee,{phase:"COLLECTING"});return Oa}if(ae.type==="PUBLISH_WHILE_DRAGGING")return ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING"||We(!1),As({state:ee,published:ae.payload});if(ae.type==="MOVE"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||We(!1);var Ya=ae.payload.client;return Ja(Ya,ee.current.client.selection)?ee:bi({state:ee,clientSelection:Ya,impact:sl(ee)?ee.impact:null})}if(ae.type==="UPDATE_DROPPABLE_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="COLLECTING")return ki(ee);Yo(ee)||We(!1);var rr=ae.payload,lr=rr.id,Hr=rr.newScroll,Mr=ee.dimensions.droppables[lr];if(!Mr)return ee;var no=vr(Mr,Hr);return Fi(ee,no,!1)}if(ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||We(!1);var Ho=ae.payload,mo=Ho.id,jo=Ho.isEnabled,ni=ee.dimensions.droppables[mo];ni||We(!1),ni.isEnabled===jo&&We(!1);var li=(0,Te.Z)({},ni,{isEnabled:jo});return Fi(ee,li,!0)}if(ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(ee.phase==="DROP_PENDING")return ee;Yo(ee)||We(!1);var ji=ae.payload,Di=ji.id,Ei=ji.isCombineEnabled,Gi=ee.dimensions.droppables[Di];Gi||We(!1),Gi.isCombineEnabled===Ei&&We(!1);var si=(0,Te.Z)({},Gi,{isCombineEnabled:Ei});return Fi(ee,si,!0)}if(ae.type==="MOVE_BY_WINDOW_SCROLL"){if(ee.phase==="DROP_PENDING"||ee.phase==="DROP_ANIMATING")return ee;Yo(ee)||We(!1),ee.isWindowScrollAllowed||We(!1);var el=ae.payload.newScroll;if(Ja(ee.viewport.scroll.current,el))return ki(ee);var Ki=vi(ee.viewport,el);return sl(ee)?Dl({state:ee,viewport:Ki}):bi({state:ee,viewport:Ki})}if(ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!Yo(ee))return ee;var xs=ae.payload.maxScroll;if(Ja(xs,ee.viewport.scroll.max))return ee;var Sl=(0,Te.Z)({},ee.viewport,{scroll:(0,Te.Z)({},ee.viewport.scroll,{max:xs})});return(0,Te.Z)({phase:"DRAGGING"},ee,{viewport:Sl})}if(ae.type==="MOVE_UP"||ae.type==="MOVE_DOWN"||ae.type==="MOVE_LEFT"||ae.type==="MOVE_RIGHT"){if(ee.phase==="COLLECTING"||ee.phase==="DROP_PENDING")return ee;ee.phase!=="DRAGGING"&&We(!1);var tl=di({state:ee,type:ae.type});return tl?bi({state:ee,impact:tl.impact,clientSelection:tl.clientSelection,scrollJumpRequest:tl.scrollJumpRequest}):ee}if(ae.type==="DROP_PENDING"){var Wi=ae.payload.reason;ee.phase!=="COLLECTING"&&We(!1);var Pl=(0,Te.Z)({phase:"DROP_PENDING"},ee,{phase:"DROP_PENDING",isWaiting:!0,reason:Wi});return Pl}if(ae.type==="DROP_ANIMATE"){var Hs=ae.payload,Ui=Hs.completed,Bs=Hs.dropDuration,js=Hs.newHomeClientOffset;ee.phase==="DRAGGING"||ee.phase==="DROP_PENDING"||We(!1);var $l={phase:"DROP_ANIMATING",completed:Ui,dropDuration:Bs,newHomeClientOffset:js,dimensions:ee.dimensions};return $l}if(ae.type==="DROP_COMPLETE"){var Gs=ae.payload.completed;return{phase:"IDLE",completed:Gs,shouldFlush:!1}}return ee},os=function(ae){return{type:"BEFORE_INITIAL_CAPTURE",payload:ae}},is=function(ae){return{type:"LIFT",payload:ae}},Na=function(ae){return{type:"INITIAL_PUBLISH",payload:ae}},ls=function(ae){return{type:"PUBLISH_WHILE_DRAGGING",payload:ae}},Ds=function(){return{type:"COLLECTION_STARTING",payload:null}},ss=function(ae){return{type:"UPDATE_DROPPABLE_SCROLL",payload:ae}},Il=function(ae){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:ae}},Ns=function(ae){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:ae}},Ll=function(ae){return{type:"MOVE",payload:ae}},us=function(ae){return{type:"MOVE_BY_WINDOW_SCROLL",payload:ae}},ei=function(ae){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:ae}},Ci=function(){return{type:"MOVE_UP",payload:null}},Oo=function(){return{type:"MOVE_DOWN",payload:null}},$i=function(){return{type:"MOVE_RIGHT",payload:null}},ds=function(){return{type:"MOVE_LEFT",payload:null}},Ol=function(){return{type:"FLUSH",payload:null}},Rl=function(ae){return{type:"DROP_ANIMATE",payload:ae}},Tl=function(ae){return{type:"DROP_COMPLETE",payload:ae}},Ml=function(ae){return{type:"DROP",payload:ae}},pr=function(ae){return{type:"DROP_PENDING",payload:ae}},kl=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function Vs(ee){if(!(ee.length<=1)){for(var ae=ee.map(function(Re){return Re.descriptor.index}),oe={},ce=1;ce<ae.length;ce++){var ye=ae[ce],Ee=ae[ce-1];ye!==Ee+1&&(oe[ye]=!0)}if(Object.keys(oe).length)var we=ae.map(function(Re){var ft=!!oe[Re];return ft?"[\u{1F525}"+Re+"]":""+Re}).join(", ")}}function cs(ee,ae){if(0)var oe}var gs=function(ee){return function(ae){var oe=ae.getState,ce=ae.dispatch;return function(ye){return function(Ee){if(Ee.type!=="LIFT"){ye(Ee);return}var we=Ee.payload,Re=we.id,ft=we.clientSelection,kt=we.movementMode,Rt=oe();Rt.phase==="DROP_ANIMATING"&&ce(Tl({completed:Rt.completed})),oe().phase!=="IDLE"&&We(!1),ce(Ol()),ce(os({draggableId:Re,movementMode:kt}));var Ct={shouldPublishImmediately:kt==="SNAP"},xt={draggableId:Re,scrollOptions:Ct},Vt=ee.startPublishing(xt),Bn=Vt.critical,Ca=Vt.dimensions,Ia=Vt.viewport;cs(Bn,Ca),ce(Na({critical:Bn,dimensions:Ca,clientSelection:ft,movementMode:kt,viewport:Ia}))}}}},ms=function(ee){return function(){return function(ae){return function(oe){oe.type==="INITIAL_PUBLISH"&&ee.dragging(),oe.type==="DROP_ANIMATE"&&ee.dropping(oe.payload.completed.result.reason),(oe.type==="FLUSH"||oe.type==="DROP_COMPLETE")&&ee.resting(),ae(oe)}}}},Zl={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Zi={opacity:{drop:0,combining:.7},scale:{drop:.75}},ul={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},xi=ul.outOfTheWay+"s "+Zl.outOfTheWay,wi={fluid:"opacity "+xi,snap:"transform "+xi+", opacity "+xi,drop:function(ae){var oe=ae+"s "+Zl.drop;return"transform "+oe+", opacity "+oe},outOfTheWay:"transform "+xi,placeholder:"height "+xi+", width "+xi+", margin "+xi},dl=function(ae){return Ja(ae,Da)?null:"translate("+ae.x+"px, "+ae.y+"px)"},cl={moveTo:dl,drop:function(ae,oe){var ce=dl(ae);return ce?oe?ce+" scale("+Zi.scale.drop+")":ce:null}},gl=ul.minDropTime,he=ul.maxDropTime,Ke=he-gl,Ve=1500,gn=.6,ua=function(ee){var ae=ee.current,oe=ee.destination,ce=ee.reason,ye=xa(ae,oe);if(ye<=0)return gl;if(ye>=Ve)return he;var Ee=ye/Ve,we=gl+Ke*Ee,Re=ce==="CANCEL"?we*gn:we;return Number(Re.toFixed(2))},ka=function(ee){var ae=ee.impact,oe=ee.draggable,ce=ee.dimensions,ye=ee.viewport,Ee=ee.afterCritical,we=ce.draggables,Re=ce.droppables,ft=oi(ae),kt=ft?Re[ft]:null,Rt=Re[oe.descriptor.droppableId],Ct=il({impact:ae,draggable:oe,draggables:we,afterCritical:Ee,droppable:kt||Rt,viewport:ye}),xt=Qa(Ct,oe.client.borderBox.center);return xt},Ka=function(ee){var ae=ee.draggables,oe=ee.reason,ce=ee.lastImpact,ye=ee.home,Ee=ee.viewport,we=ee.onLiftImpact;if(!ce.at||oe!=="DROP"){var Re=Oi({draggables:ae,impact:we,destination:ye,viewport:Ee,forceShouldAnimate:!0});return{impact:Re,didDropInsideDroppable:!1}}if(ce.at.type==="REORDER")return{impact:ce,didDropInsideDroppable:!0};var ft=(0,Te.Z)({},ce,{displaced:To});return{impact:ft,didDropInsideDroppable:!0}},me=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(ce){return function(ye){if(ye.type!=="DROP"){ce(ye);return}var Ee=ae(),we=ye.payload.reason;if(Ee.phase==="COLLECTING"){oe(pr({reason:we}));return}if(Ee.phase!=="IDLE"){var Re=Ee.phase==="DROP_PENDING"&&Ee.isWaiting;Re&&We(!1),Ee.phase==="DRAGGING"||Ee.phase==="DROP_PENDING"||We(!1);var ft=Ee.critical,kt=Ee.dimensions,Rt=kt.draggables[Ee.critical.draggable.id],Ct=Ka({reason:we,lastImpact:Ee.impact,afterCritical:Ee.afterCritical,onLiftImpact:Ee.onLiftImpact,home:Ee.dimensions.droppables[Ee.critical.droppable.id],viewport:Ee.viewport,draggables:Ee.dimensions.draggables}),xt=Ct.impact,Vt=Ct.didDropInsideDroppable,Bn=Vt?Xa(xt):null,Ca=Vt?wr(xt):null,Ia={index:ft.draggable.index,droppableId:ft.droppable.id},Oa={draggableId:Rt.descriptor.id,type:Rt.descriptor.type,source:Ia,reason:we,mode:Ee.movementMode,destination:Bn,combine:Ca},Ya=ka({impact:xt,draggable:Rt,dimensions:kt,viewport:Ee.viewport,afterCritical:Ee.afterCritical}),rr={critical:Ee.critical,afterCritical:Ee.afterCritical,result:Oa,impact:xt},lr=!Ja(Ee.current.client.offset,Ya)||!!Oa.combine;if(!lr){oe(Tl({completed:rr}));return}var Hr=ua({current:Ee.current.client.offset,destination:Ya,reason:we}),Mr={newHomeClientOffset:Ya,dropDuration:Hr,completed:rr};oe(Rl(Mr))}}}},ge=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function be(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function ke(ee){var ae=ee.onWindowScroll;function oe(){ae(ge())}var ce=pn(oe),ye=be(ce),Ee=qn;function we(){return Ee!==qn}function Re(){we()&&We(!1),Ee=_n(window,[ye])}function ft(){we()||We(!1),ce.cancel(),Ee(),Ee=qn}return{start:Re,stop:ft,isActive:we}}var Ne=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},He=function(ee){var ae=ke({onWindowScroll:function(ce){ee.dispatch(us({newScroll:ce}))}});return function(oe){return function(ce){!ae.isActive()&&ce.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Ne(ce)&&ae.stop(),oe(ce)}}},vt=function(ee){var ae=!1,oe=!1,ce=setTimeout(function(){oe=!0}),ye=function(we){ae||oe||(ae=!0,ee(we),clearTimeout(ce))};return ye.wasCalled=function(){return ae},ye},Bt=function(){var ee=[],ae=function(Ee){var we=Fr(ee,function(kt){return kt.timerId===Ee});we===-1&&We(!1);var Re=ee.splice(we,1),ft=Re[0];ft.callback()},oe=function(Ee){var we=setTimeout(function(){return ae(we)}),Re={timerId:we,callback:Ee};ee.push(Re)},ce=function(){if(ee.length){var Ee=[].concat(ee);ee.length=0,Ee.forEach(function(we){clearTimeout(we.timerId),we.callback()})}};return{add:oe,flush:ce}},it=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},Ht=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},Ft=function(ae,oe){if(ae===oe)return!0;var ce=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,ye=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return ce&&ye},Xt=function(ae,oe){Ti(),oe(),Mi()},Rn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},_t=function(ae,oe,ce,ye){if(!ae){ce(ye(oe));return}var Ee=vt(ce),we={announce:Ee};ae(oe,we),Ee.wasCalled()||ce(ye(oe))},Lt=function(ee,ae){var oe=Bt(),ce=null,ye=function(xt,Vt){ce&&We(!1),Xt("onBeforeCapture",function(){var Bn=ee().onBeforeCapture;if(Bn){var Ca={draggableId:xt,mode:Vt};Bn(Ca)}})},Ee=function(xt,Vt){ce&&We(!1),Xt("onBeforeDragStart",function(){var Bn=ee().onBeforeDragStart;Bn&&Bn(Rn(xt,Vt))})},we=function(xt,Vt){ce&&We(!1);var Bn=Rn(xt,Vt);ce={mode:Vt,lastCritical:xt,lastLocation:Bn.source,lastCombine:null},oe.add(function(){Xt("onDragStart",function(){return _t(ee().onDragStart,Bn,ae,mn.onDragStart)})})},Re=function(xt,Vt){var Bn=Xa(Vt),Ca=wr(Vt);ce||We(!1);var Ia=!Ft(xt,ce.lastCritical);Ia&&(ce.lastCritical=xt);var Oa=!it(ce.lastLocation,Bn);Oa&&(ce.lastLocation=Bn);var Ya=!Ht(ce.lastCombine,Ca);if(Ya&&(ce.lastCombine=Ca),!(!Ia&&!Oa&&!Ya)){var rr=(0,Te.Z)({},Rn(xt,ce.mode),{combine:Ca,destination:Bn});oe.add(function(){Xt("onDragUpdate",function(){return _t(ee().onDragUpdate,rr,ae,mn.onDragUpdate)})})}},ft=function(){ce||We(!1),oe.flush()},kt=function(xt){ce||We(!1),ce=null,Xt("onDragEnd",function(){return _t(ee().onDragEnd,xt,ae,mn.onDragEnd)})},Rt=function(){if(ce){var xt=(0,Te.Z)({},Rn(ce.lastCritical,ce.mode),{combine:null,destination:null,reason:"CANCEL"});kt(xt)}};return{beforeCapture:ye,beforeStart:Ee,start:we,update:Re,flush:ft,drop:kt,abort:Rt}},$n=function(ee,ae){var oe=Lt(ee,ae);return function(ce){return function(ye){return function(Ee){if(Ee.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Ee.payload.draggableId,Ee.payload.movementMode);return}if(Ee.type==="INITIAL_PUBLISH"){var we=Ee.payload.critical;oe.beforeStart(we,Ee.payload.movementMode),ye(Ee),oe.start(we,Ee.payload.movementMode);return}if(Ee.type==="DROP_COMPLETE"){var Re=Ee.payload.completed.result;oe.flush(),ye(Ee),oe.drop(Re);return}if(ye(Ee),Ee.type==="FLUSH"){oe.abort();return}var ft=ce.getState();ft.phase==="DRAGGING"&&oe.update(ft.critical,ft.impact)}}}},Kn=function(ee){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var ce=ee.getState();ce.phase!=="DROP_ANIMATING"&&We(!1),ee.dispatch(Tl({completed:ce.completed}))}}},Yn=function(ee){var ae=null,oe=null;function ce(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(ye){return function(Ee){if((Ee.type==="FLUSH"||Ee.type==="DROP_COMPLETE"||Ee.type==="DROP_ANIMATION_FINISHED")&&ce(),ye(Ee),Ee.type==="DROP_ANIMATE"){var we={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var ft=ee.getState();ft.phase==="DROP_ANIMATING"&&ee.dispatch(kl())}};oe=requestAnimationFrame(function(){oe=null,ae=_n(window,[we])})}}}},Qn=function(ee){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ae(oe)}}}},ea=function(ee){var ae=!1;return function(){return function(oe){return function(ce){if(ce.type==="INITIAL_PUBLISH"){ae=!0,ee.tryRecordFocus(ce.payload.critical.draggable.id),oe(ce),ee.tryRestoreFocusRecorded();return}if(oe(ce),!!ae){if(ce.type==="FLUSH"){ae=!1,ee.tryRestoreFocusRecorded();return}if(ce.type==="DROP_COMPLETE"){ae=!1;var ye=ce.payload.completed.result;ye.combine&&ee.tryShiftRecord(ye.draggableId,ye.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},xn=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},ba=function(ee){return function(ae){return function(oe){return function(ce){if(xn(ce)){ee.stop(),oe(ce);return}if(ce.type==="INITIAL_PUBLISH"){oe(ce);var ye=ae.getState();ye.phase!=="DRAGGING"&&We(!1),ee.start(ye);return}oe(ce),ee.scroll(ae.getState())}}}},ya=function(ee){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var ce=ee.getState();ce.phase==="DROP_PENDING"&&(ce.isWaiting||ee.dispatch(Ml({reason:ce.reason})))}}}},Za=Ie.qC,ja=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,ce=ee.styleMarshal,ye=ee.getResponders,Ee=ee.announce,we=ee.autoScroller;return(0,Ie.MT)(rs,Za((0,Ie.md)(ms(ce),Qn(ae),gs(ae),me,Kn,Yn,ya,ba(we),He,ea(oe),$n(ye,Ee))))},la=function(){return{additions:{},removals:{},modified:{}}};function Sa(ee){var ae=ee.registry,oe=ee.callbacks,ce=la(),ye=null,Ee=function(){ye||(oe.collectionStarting(),ye=requestAnimationFrame(function(){ye=null,Ti();var Rt=ce,Ct=Rt.additions,xt=Rt.removals,Vt=Rt.modified,Bn=Object.keys(Ct).map(function(Oa){return ae.draggable.getById(Oa).getDimension(Da)}).sort(function(Oa,Ya){return Oa.descriptor.index-Ya.descriptor.index}),Ca=Object.keys(Vt).map(function(Oa){var Ya=ae.droppable.getById(Oa),rr=Ya.callbacks.getScrollWhileDragging();return{droppableId:Oa,scroll:rr}}),Ia={additions:Bn,removals:Object.keys(xt),modified:Ca};ce=la(),Mi(),oe.publish(Ia)}))},we=function(Rt){var Ct=Rt.descriptor.id;ce.additions[Ct]=Rt,ce.modified[Rt.descriptor.droppableId]=!0,ce.removals[Ct]&&delete ce.removals[Ct],Ee()},Re=function(Rt){var Ct=Rt.descriptor;ce.removals[Ct.id]=!0,ce.modified[Ct.droppableId]=!0,ce.additions[Ct.id]&&delete ce.additions[Ct.id],Ee()},ft=function(){ye&&(cancelAnimationFrame(ye),ye=null,ce=la())};return{add:we,remove:Re,stop:ft}}var ha=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,ce=ee.height,ye=ee.width,Ee=Qa({x:oe,y:ae},{x:ye,y:ce}),we={x:Math.max(0,Ee.x),y:Math.max(0,Ee.y)};return we},Wn=function(){var ee=document.documentElement;return ee||We(!1),ee},ca=function(){var ee=Wn(),ae=ha({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},Ta=function(){var ee=ge(),ae=ca(),oe=ee.y,ce=ee.x,ye=Wn(),Ee=ye.clientWidth,we=ye.clientHeight,Re=ce+Ee,ft=oe+we,kt=Ln({top:oe,left:ce,right:Re,bottom:ft}),Rt={frame:kt,scroll:{initial:ee,current:ee,max:ae,diff:{value:Da,displacement:Da}}};return Rt},qa=function(ee){var ae=ee.critical,oe=ee.scrollOptions,ce=ee.registry;Ti();var ye=Ta(),Ee=ye.scroll.current,we=ae.droppable,Re=ce.droppable.getAllByType(we.type).map(function(Ct){return Ct.callbacks.getDimensionAndWatchScroll(Ee,oe)}),ft=ce.draggable.getAllByType(ae.draggable.type).map(function(Ct){return Ct.getDimension(Ee)}),kt={draggables:Xr(ft),droppables:xr(Re)};Mi();var Rt={dimensions:kt,critical:ae,viewport:ye};return Rt};function nr(ee,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var ce=ee.droppable.getById(oe.descriptor.droppableId);return ce.descriptor.mode==="virtual"}var Wa=function(ee,ae){var oe=null,ce=Sa({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),ye=function(Vt,Bn){ee.droppable.exists(Vt)||We(!1),oe&&ae.updateDroppableIsEnabled({id:Vt,isEnabled:Bn})},Ee=function(Vt,Bn){oe&&(ee.droppable.exists(Vt)||We(!1),ae.updateDroppableIsCombineEnabled({id:Vt,isCombineEnabled:Bn}))},we=function(Vt,Bn){oe&&(ee.droppable.exists(Vt)||We(!1),ae.updateDroppableScroll({id:Vt,newScroll:Bn}))},Re=function(Vt,Bn){oe&&ee.droppable.getById(Vt).callbacks.scroll(Bn)},ft=function(){if(oe){ce.stop();var Vt=oe.critical.droppable;ee.droppable.getAllByType(Vt.type).forEach(function(Bn){return Bn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},kt=function(Vt){oe||We(!1);var Bn=oe.critical.draggable;Vt.type==="ADDITION"&&nr(ee,Bn,Vt.value)&&ce.add(Vt.value),Vt.type==="REMOVAL"&&nr(ee,Bn,Vt.value)&&ce.remove(Vt.value)},Rt=function(Vt){oe&&We(!1);var Bn=ee.draggable.getById(Vt.draggableId),Ca=ee.droppable.getById(Bn.descriptor.droppableId),Ia={draggable:Bn.descriptor,droppable:Ca.descriptor},Oa=ee.subscribe(kt);return oe={critical:Ia,unsubscribe:Oa},qa({critical:Ia,registry:ee,scrollOptions:Vt.scrollOptions})},Ct={updateDroppableIsEnabled:ye,updateDroppableIsCombineEnabled:Ee,scrollDroppable:Re,updateDroppableScroll:we,startPublishing:Rt,stopPublishing:ft};return Ct},gr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},Sr=function(ee){window.scrollBy(ee.x,ee.y)},Wr=tn(function(ee){return br(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),_r=function(ae,oe){var ce=ur(Wr(oe),function(ye){return ye.frame||We(!1),Qi(ye.frame.pageMarginBox)(ae)});return ce},ho=function(ee){var ae=ee.center,oe=ee.destination,ce=ee.droppables;if(oe){var ye=ce[oe];return ye.frame?ye:null}var Ee=_r(ae,ce);return Ee},eo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Br=function(ee,ae){var oe=ee[ae.size]*eo.startFromPercentage,ce=ee[ae.size]*eo.maxScrollAtPercentage,ye={startScrollingFrom:oe,maxScrollValueAt:ce};return ye},Do=function(ee){var ae=ee.startOfRange,oe=ee.endOfRange,ce=ee.current,ye=oe-ae;if(ye===0)return 0;var Ee=ce-ae,we=Ee/ye;return we},Ur=1,So=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return eo.maxPixelScroll;if(ee===ae.startScrollingFrom)return Ur;var oe=Do({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),ce=1-oe,ye=eo.maxPixelScroll*eo.ease(ce);return Math.ceil(ye)},oo=eo.durationDampening.accelerateAt,Jo=eo.durationDampening.stopDampeningAt,or=function(ee,ae){var oe=ae,ce=Jo,ye=Date.now(),Ee=ye-oe;if(Ee>=Jo)return ee;if(Ee<oo)return Ur;var we=Do({startOfRange:oo,endOfRange:ce,current:Ee}),Re=ee*eo.ease(we);return Math.ceil(Re)},ir=function(ee){var ae=ee.distanceToEdge,oe=ee.thresholds,ce=ee.dragStartTime,ye=ee.shouldUseTimeDampening,Ee=So(ae,oe);return Ee===0?0:ye?Math.max(or(Ee,ce),Ur):Ee},_a=function(ee){var ae=ee.container,oe=ee.distanceToEdges,ce=ee.dragStartTime,ye=ee.axis,Ee=ee.shouldUseTimeDampening,we=Br(ae,ye),Re=oe[ye.end]<oe[ye.start];return Re?ir({distanceToEdge:oe[ye.end],thresholds:we,dragStartTime:ce,shouldUseTimeDampening:Ee}):-1*ir({distanceToEdge:oe[ye.start],thresholds:we,dragStartTime:ce,shouldUseTimeDampening:Ee})},er=function(ee){var ae=ee.container,oe=ee.subject,ce=ee.proposedScroll,ye=oe.height>ae.height,Ee=oe.width>ae.width;return!Ee&&!ye?ce:Ee&&ye?null:{x:Ee?0:ce.x,y:ye?0:ce.y}},Gr=za(function(ee){return ee===0?0:ee}),tr=function(ee){var ae=ee.dragStartTime,oe=ee.container,ce=ee.subject,ye=ee.center,Ee=ee.shouldUseTimeDampening,we={top:ye.y-oe.top,right:oe.right-ye.x,bottom:oe.bottom-ye.y,left:ye.x-oe.left},Re=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:Ao,shouldUseTimeDampening:Ee}),ft=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:Go,shouldUseTimeDampening:Ee}),kt=Gr({x:ft,y:Re});if(Ja(kt,Da))return null;var Rt=er({container:oe,subject:ce,proposedScroll:kt});return Rt?Ja(Rt,Da)?null:Rt:null},sr=za(function(ee){return ee===0?0:ee>0?1:-1}),Rr=function(){var ee=function(oe,ce){return oe<0?oe:oe>ce?oe-ce:0};return function(ae){var oe=ae.current,ce=ae.max,ye=ae.change,Ee=na(oe,ye),we={x:ee(Ee.x,ce.x),y:ee(Ee.y,ce.y)};return Ja(we,Da)?null:we}}(),Dr=function(ae){var oe=ae.max,ce=ae.current,ye=ae.change,Ee={x:Math.max(ce.x,oe.x),y:Math.max(ce.y,oe.y)},we=sr(ye),Re=Rr({max:Ee,current:ce,change:we});return!Re||we.x!==0&&Re.x===0||we.y!==0&&Re.y===0},io=function(ae,oe){return Dr({current:ae.scroll.current,max:ae.scroll.max,change:oe})},wo=function(ae,oe){if(!io(ae,oe))return null;var ce=ae.scroll.max,ye=ae.scroll.current;return Rr({current:ye,max:ce,change:oe})},_o=function(ae,oe){var ce=ae.frame;return ce?Dr({current:ce.scroll.current,max:ce.scroll.max,change:oe}):!1},Ro=function(ae,oe){var ce=ae.frame;return!ce||!_o(ae,oe)?null:Rr({current:ce.scroll.current,max:ce.scroll.max,change:oe})},ci=function(ee){var ae=ee.viewport,oe=ee.subject,ce=ee.center,ye=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=tr({dragStartTime:ye,container:ae.frame,subject:oe,center:ce,shouldUseTimeDampening:Ee});return we&&io(ae,we)?we:null},No=function(ee){var ae=ee.droppable,oe=ee.subject,ce=ee.center,ye=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=ae.frame;if(!we)return null;var Re=tr({dragStartTime:ye,container:we.pageMarginBox,subject:oe,center:ce,shouldUseTimeDampening:Ee});return Re&&_o(ae,Re)?Re:null},Io=function(ee){var ae=ee.state,oe=ee.dragStartTime,ce=ee.shouldUseTimeDampening,ye=ee.scrollWindow,Ee=ee.scrollDroppable,we=ae.current.page.borderBoxCenter,Re=ae.dimensions.draggables[ae.critical.draggable.id],ft=Re.page.marginBox;if(ae.isWindowScrollAllowed){var kt=ae.viewport,Rt=ci({dragStartTime:oe,viewport:kt,subject:ft,center:we,shouldUseTimeDampening:ce});if(Rt){ye(Rt);return}}var Ct=ho({center:we,destination:oi(ae.impact),droppables:ae.dimensions.droppables});if(Ct){var xt=No({dragStartTime:oe,droppable:Ct,subject:ft,center:we,shouldUseTimeDampening:ce});xt&&Ee(Ct.descriptor.id,xt)}},Ai=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,ce=pn(ae),ye=pn(oe),Ee=null,we=function(Rt){Ee||We(!1);var Ct=Ee,xt=Ct.shouldUseTimeDampening,Vt=Ct.dragStartTime;Io({state:Rt,scrollWindow:ce,scrollDroppable:ye,dragStartTime:Vt,shouldUseTimeDampening:xt})},Re=function(Rt){Ti(),Ee&&We(!1);var Ct=Date.now(),xt=!1,Vt=function(){xt=!0};Io({state:Rt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Vt,scrollDroppable:Vt}),Ee={dragStartTime:Ct,shouldUseTimeDampening:xt},Mi(),xt&&we(Rt)},ft=function(){Ee&&(ce.cancel(),ye.cancel(),Ee=null)};return{start:Re,stop:ft,scroll:we}},Yr=function(ee){var ae=ee.move,oe=ee.scrollDroppable,ce=ee.scrollWindow,ye=function(kt,Rt){var Ct=na(kt.current.client.selection,Rt);ae({client:Ct})},Ee=function(kt,Rt){if(!_o(kt,Rt))return Rt;var Ct=Ro(kt,Rt);if(!Ct)return oe(kt.descriptor.id,Rt),null;var xt=Qa(Rt,Ct);oe(kt.descriptor.id,xt);var Vt=Qa(Rt,xt);return Vt},we=function(kt,Rt,Ct){if(!kt||!io(Rt,Ct))return Ct;var xt=wo(Rt,Ct);if(!xt)return ce(Ct),null;var Vt=Qa(Ct,xt);ce(Vt);var Bn=Qa(Ct,Vt);return Bn},Re=function(kt){var Rt=kt.scrollJumpRequest;if(Rt){var Ct=oi(kt.impact);Ct||We(!1);var xt=Ee(kt.dimensions.droppables[Ct],Rt);if(xt){var Vt=kt.viewport,Bn=we(kt.isWindowScrollAllowed,Vt,xt);Bn&&ye(kt,Bn)}}};return Re},to=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,ce=ee.move,ye=Ai({scrollWindow:oe,scrollDroppable:ae}),Ee=Yr({move:ce,scrollWindow:oe,scrollDroppable:ae}),we=function(kt){if(kt.phase==="DRAGGING"){if(kt.movementMode==="FLUID"){ye.scroll(kt);return}kt.scrollJumpRequest&&Ee(kt)}},Re={scroll:we,start:ye.start,stop:ye.stop};return Re},fo="data-rbd",yo=function(){var ee=fo+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),lo=function(){var ee=fo+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Tr=function(){var ee=fo+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Wo={contextId:fo+"-scroll-container-context-id"},$o=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},da=function(ae,oe){return ae.map(function(ce){var ye=ce.styles[oe];return ye?ce.selector+" { "+ye+" }":""}).join(" ")},Va="pointer-events: none;",Pr=function(ee){var ae=$o(ee),oe=function(){var Re=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:ae(yo.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Re,dragging:Va,dropAnimating:Re}}}(),ce=function(){var Re=`
transition: `+wi.outOfTheWay+`;
`;return{selector:ae(lo.contextId),styles:{dragging:Re,dropAnimating:Re,userCancel:Re}}}(),ye={selector:ae(Tr.contextId),styles:{always:"overflow-anchor: none;"}},Ee={selector:"body",styles:{dragging:`
cursor: grabbing;
cursor: -webkit-grabbing;
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow-anchor: none;
`}},we=[ce,oe,ye,Ee];return{always:da(we,"always"),resting:da(we,"resting"),dragging:da(we,"dragging"),dropAnimating:da(we,"dropAnimating"),userCancel:da(we,"userCancel")}},yr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,Lr=function(){var ae=document.querySelector("head");return ae||We(!1),ae},zr=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function so(ee,ae){var oe=Pt(function(){return Pr(ee)},[ee]),ce=(0,b.useRef)(null),ye=(0,b.useRef)(null),Ee=Nt(tn(function(Ct){var xt=ye.current;xt||We(!1),xt.textContent=Ct}),[]),we=Nt(function(Ct){var xt=ce.current;xt||We(!1),xt.textContent=Ct},[]);yr(function(){!ce.current&&!ye.current||We(!1);var Ct=zr(ae),xt=zr(ae);return ce.current=Ct,ye.current=xt,Ct.setAttribute(fo+"-always",ee),xt.setAttribute(fo+"-dynamic",ee),Lr().appendChild(Ct),Lr().appendChild(xt),we(oe.always),Ee(oe.resting),function(){var Vt=function(Ca){var Ia=Ca.current;Ia||We(!1),Lr().removeChild(Ia),Ca.current=null};Vt(ce),Vt(ye)}},[ae,we,Ee,oe.always,oe.resting,ee]);var Re=Nt(function(){return Ee(oe.dragging)},[Ee,oe.dragging]),ft=Nt(function(Ct){if(Ct==="DROP"){Ee(oe.dropAnimating);return}Ee(oe.userCancel)},[Ee,oe.dropAnimating,oe.userCancel]),kt=Nt(function(){ye.current&&Ee(oe.resting)},[Ee,oe.resting]),Rt=Pt(function(){return{dragging:Re,dropping:ft,resting:kt}},[Re,ft,kt]);return Rt}var Eo=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function co(ee){return ee instanceof Eo(ee).HTMLElement}function vo(ee,ae){var oe="["+yo.contextId+'="'+ee+'"]',ce=Ra(document.querySelectorAll(oe));if(!ce.length)return null;var ye=ur(ce,function(Ee){return Ee.getAttribute(yo.draggableId)===ae});return!ye||!co(ye)?null:ye}function ii(ee){var ae=(0,b.useRef)({}),oe=(0,b.useRef)(null),ce=(0,b.useRef)(null),ye=(0,b.useRef)(!1),Ee=Nt(function(xt,Vt){var Bn={id:xt,focus:Vt};return ae.current[xt]=Bn,function(){var Ia=ae.current,Oa=Ia[xt];Oa!==Bn&&delete Ia[xt]}},[]),we=Nt(function(xt){var Vt=vo(ee,xt);Vt&&Vt!==document.activeElement&&Vt.focus()},[ee]),Re=Nt(function(xt,Vt){oe.current===xt&&(oe.current=Vt)},[]),ft=Nt(function(){ce.current||ye.current&&(ce.current=requestAnimationFrame(function(){ce.current=null;var xt=oe.current;xt&&we(xt)}))},[we]),kt=Nt(function(xt){oe.current=null;var Vt=document.activeElement;Vt&&Vt.getAttribute(yo.draggableId)===xt&&(oe.current=xt)},[]);yr(function(){return ye.current=!0,function(){ye.current=!1;var xt=ce.current;xt&&cancelAnimationFrame(xt)}},[]);var Rt=Pt(function(){return{register:Ee,tryRecordFocus:kt,tryRestoreFocusRecorded:ft,tryShiftRecord:Re}},[Ee,kt,ft,Re]);return Rt}function zo(){var ee={draggables:{},droppables:{}},ae=[];function oe(Ct){return ae.push(Ct),function(){var Vt=ae.indexOf(Ct);Vt!==-1&&ae.splice(Vt,1)}}function ce(Ct){ae.length&&ae.forEach(function(xt){return xt(Ct)})}function ye(Ct){return ee.draggables[Ct]||null}function Ee(Ct){var xt=ye(Ct);return xt||We(!1),xt}var we={register:function(xt){ee.draggables[xt.descriptor.id]=xt,ce({type:"ADDITION",value:xt})},update:function(xt,Vt){var Bn=ee.draggables[Vt.descriptor.id];Bn&&Bn.uniqueId===xt.uniqueId&&(delete ee.draggables[Vt.descriptor.id],ee.draggables[xt.descriptor.id]=xt)},unregister:function(xt){var Vt=xt.descriptor.id,Bn=ye(Vt);Bn&&xt.uniqueId===Bn.uniqueId&&(delete ee.draggables[Vt],ce({type:"REMOVAL",value:xt}))},getById:Ee,findById:ye,exists:function(xt){return!!ye(xt)},getAllByType:function(xt){return hr(ee.draggables).filter(function(Vt){return Vt.descriptor.type===xt})}};function Re(Ct){return ee.droppables[Ct]||null}function ft(Ct){var xt=Re(Ct);return xt||We(!1),xt}var kt={register:function(xt){ee.droppables[xt.descriptor.id]=xt},unregister:function(xt){var Vt=Re(xt.descriptor.id);Vt&&xt.uniqueId===Vt.uniqueId&&delete ee.droppables[xt.descriptor.id]},getById:ft,findById:Re,exists:function(xt){return!!Re(xt)},getAllByType:function(xt){return hr(ee.droppables).filter(function(Vt){return Vt.descriptor.type===xt})}};function Rt(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:we,droppable:kt,subscribe:oe,clean:Rt}}function ti(){var ee=Pt(zo,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var qo=b.createContext(null),fi=function(){var ee=document.body;return ee||We(!1),ee},Xi={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Kr=function(ae){return"rbd-announcement-"+ae};function po(ee){var ae=Pt(function(){return Kr(ee)},[ee]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var Ee=document.createElement("div");return oe.current=Ee,Ee.id=ae,Ee.setAttribute("aria-live","assertive"),Ee.setAttribute("aria-atomic","true"),(0,Te.Z)(Ee.style,Xi),fi().appendChild(Ee),function(){setTimeout(function(){var ft=fi();ft.contains(Ee)&&ft.removeChild(Ee),Ee===oe.current&&(oe.current=null)})}},[ae]);var ce=Nt(function(ye){var Ee=oe.current;if(Ee){Ee.textContent=ye;return}},[]);return ce}var Mo=0,bo={separator:"::"};function Uo(){Mo=0}function Vo(ee,ae){return ae===void 0&&(ae=bo),Pt(function(){return""+ee+ae.separator+Mo++},[ae.separator,ee])}function Xo(ee){var ae=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function Si(ee){var ae=ee.contextId,oe=ee.text,ce=Vo("hidden-text",{separator:"-"}),ye=Pt(function(){return Xo({contextId:ae,uniqueId:ce})},[ce,ae]);return(0,b.useEffect)(function(){var we=document.createElement("div");return we.id=ye,we.textContent=oe,we.style.display="none",fi().appendChild(we),function(){var ft=fi();ft.contains(we)&&ft.removeChild(we)}},[ye,oe]),ye}var _i=b.createContext(null),_l={react:"^16.8.5","react-dom":"^16.8.5"},ml=/(\d+)\.(\d+)\.(\d+)/,fl=function(ae){var oe=ml.exec(ae);oe==null&&We(!1);var ce=Number(oe[1]),ye=Number(oe[2]),Ee=Number(oe[3]);return{major:ce,minor:ye,patch:Ee,raw:ae}},pl=function(ae,oe){return oe.major>ae.major?!0:oe.major<ae.major?!1:oe.minor>ae.minor?!0:oe.minor<ae.minor?!1:oe.patch>=ae.patch},Yi=function(ee,ae){var oe=fl(ee),ce=fl(ae);pl(oe,ce)},vl=`
We expect a html5 doctype: <!doctype html>
This is to ensure consistent browser layout and measurement
More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Is=function(ee){var ae=ee.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function cu(ee){}function qi(ee,ae){}function $s(){qi(function(){Yi(_l.react,b.version),Is(document)},[])}function zl(ee){var ae=(0,b.useRef)(ee);return(0,b.useEffect)(function(){ae.current=ee}),ae}function Hl(){var ee=null;function ae(){return!!ee}function oe(we){return we===ee}function ce(we){ee&&We(!1);var Re={abandon:we};return ee=Re,Re}function ye(){ee||We(!1),ee=null}function Ee(){ee&&(ee.abandon(),ye())}return{isClaimed:ae,isActive:oe,claim:ce,release:ye,tryAbandon:Ee}}var Ls=9,Qs=13,jl=27,fs=32,Js=33,Xs=34,Ys=35,Os=36,Gl=37,ps=38,vs=39,Rs=40,hl,Ts=(hl={},hl[Qs]=!0,hl[Ls]=!0,hl),hs=function(ee){Ts[ee.keyCode]&&ee.preventDefault()},Kl=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ae=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],oe=ur(ae,function(ce){return"on"+ce in document});return oe||ee}(),Ss=0,Wl=5;function Ms(ee,ae){return Math.abs(ae.x-ee.x)>=Wl||Math.abs(ae.y-ee.y)>=Wl}var Ul={type:"IDLE"};function ks(ee){var ae=ee.cancel,oe=ee.completed,ce=ee.getPhase,ye=ee.setPhase;return[{eventName:"mousemove",fn:function(we){var Re=we.button,ft=we.clientX,kt=we.clientY;if(Re===Ss){var Rt={x:ft,y:kt},Ct=ce();if(Ct.type==="DRAGGING"){we.preventDefault(),Ct.actions.move(Rt);return}Ct.type!=="PENDING"&&We(!1);var xt=Ct.point;if(Ms(xt,Rt)){we.preventDefault();var Vt=Ct.actions.fluidLift(Rt);ye({type:"DRAGGING",actions:Vt})}}}},{eventName:"mouseup",fn:function(we){var Re=ce();if(Re.type!=="DRAGGING"){ae();return}we.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(we){ce().type==="DRAGGING"&&we.preventDefault(),ae()}},{eventName:"keydown",fn:function(we){var Re=ce();if(Re.type==="PENDING"){ae();return}if(we.keyCode===jl){we.preventDefault(),ae();return}hs(we)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ce().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(we){var Re=ce();if(Re.type==="IDLE"&&We(!1),Re.actions.shouldRespectForcePress()){ae();return}we.preventDefault()}},{eventName:Kl,fn:ae}]}function qs(ee){var ae=(0,b.useRef)(Ul),oe=(0,b.useRef)(qn),ce=Pt(function(){return{eventName:"mousedown",fn:function(Ct){if(!Ct.defaultPrevented&&Ct.button===Ss&&!(Ct.ctrlKey||Ct.metaKey||Ct.shiftKey||Ct.altKey)){var xt=ee.findClosestDraggableId(Ct);if(xt){var Vt=ee.tryGetLock(xt,we,{sourceEvent:Ct});if(Vt){Ct.preventDefault();var Bn={x:Ct.clientX,y:Ct.clientY};oe.current(),kt(Vt,Bn)}}}}}},[ee]),ye=Pt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ct){if(!Ct.defaultPrevented){var xt=ee.findClosestDraggableId(Ct);if(xt){var Vt=ee.findOptionsForDraggable(xt);Vt&&(Vt.shouldRespectForcePress||ee.canGetLock(xt)&&Ct.preventDefault())}}}}},[ee]),Ee=Nt(function(){var Ct={passive:!1,capture:!0};oe.current=_n(window,[ye,ce],Ct)},[ye,ce]),we=Nt(function(){var Rt=ae.current;Rt.type!=="IDLE"&&(ae.current=Ul,oe.current(),Ee())},[Ee]),Re=Nt(function(){var Rt=ae.current;we(),Rt.type==="DRAGGING"&&Rt.actions.cancel({shouldBlockNextClick:!0}),Rt.type==="PENDING"&&Rt.actions.abort()},[we]),ft=Nt(function(){var Ct={capture:!0,passive:!1},xt=ks({cancel:Re,completed:we,getPhase:function(){return ae.current},setPhase:function(Bn){ae.current=Bn}});oe.current=_n(window,xt,Ct)},[Re,we]),kt=Nt(function(Ct,xt){ae.current.type!=="IDLE"&&We(!1),ae.current={type:"PENDING",point:xt,actions:Ct},ft()},[ft]);yr(function(){return Ee(),function(){oe.current()}},[Ee])}var Jr;function Fo(){}var Pi=(Jr={},Jr[Xs]=!0,Jr[Js]=!0,Jr[Os]=!0,Jr[Ys]=!0,Jr);function zi(ee,ae){function oe(){ae(),ee.cancel()}function ce(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(Ee){if(Ee.keyCode===jl){Ee.preventDefault(),oe();return}if(Ee.keyCode===fs){Ee.preventDefault(),ce();return}if(Ee.keyCode===Rs){Ee.preventDefault(),ee.moveDown();return}if(Ee.keyCode===ps){Ee.preventDefault(),ee.moveUp();return}if(Ee.keyCode===vs){Ee.preventDefault(),ee.moveRight();return}if(Ee.keyCode===Gl){Ee.preventDefault(),ee.moveLeft();return}if(Pi[Ee.keyCode]){Ee.preventDefault();return}hs(Ee)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:Kl,fn:oe}]}function Hi(ee){var ae=(0,b.useRef)(Fo),oe=Pt(function(){return{eventName:"keydown",fn:function(Ee){if(Ee.defaultPrevented||Ee.keyCode!==fs)return;var we=ee.findClosestDraggableId(Ee);if(!we)return;var Re=ee.tryGetLock(we,Rt,{sourceEvent:Ee});if(!Re)return;Ee.preventDefault();var ft=!0,kt=Re.snapLift();ae.current();function Rt(){ft||We(!1),ft=!1,ae.current(),ce()}ae.current=_n(window,zi(kt,Rt),{capture:!0,passive:!1})}}},[ee]),ce=Nt(function(){var Ee={passive:!1,capture:!0};ae.current=_n(window,[oe],Ee)},[oe]);yr(function(){return ce(),function(){ae.current()}},[ce])}var Vl={type:"IDLE"},Ps=120,ys=.15;function Es(ee){var ae=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(ye){ye.preventDefault()}},{eventName:"keydown",fn:function(ye){if(oe().type!=="DRAGGING"){ae();return}ye.keyCode===jl&&ye.preventDefault(),ae()}},{eventName:Kl,fn:ae}]}function bs(ee){var ae=ee.cancel,oe=ee.completed,ce=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ee){var we=ce();if(we.type!=="DRAGGING"){ae();return}we.hasMoved=!0;var Re=Ee.touches[0],ft=Re.clientX,kt=Re.clientY,Rt={x:ft,y:kt};Ee.preventDefault(),we.actions.move(Rt)}},{eventName:"touchend",fn:function(Ee){var we=ce();if(we.type!=="DRAGGING"){ae();return}Ee.preventDefault(),we.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Ee){if(ce().type!=="DRAGGING"){ae();return}Ee.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ee){var we=ce();we.type==="IDLE"&&We(!1);var Re=Ee.touches[0];if(Re){var ft=Re.force>=ys;if(ft){var kt=we.actions.shouldRespectForcePress();if(we.type==="PENDING"){kt&&ae();return}if(kt){if(we.hasMoved){Ee.preventDefault();return}ae();return}Ee.preventDefault()}}}},{eventName:Kl,fn:ae}]}function Lu(ee){var ae=(0,b.useRef)(Vl),oe=(0,b.useRef)(qn),ce=Nt(function(){return ae.current},[]),ye=Nt(function(Vt){ae.current=Vt},[]),Ee=Pt(function(){return{eventName:"touchstart",fn:function(Vt){if(!Vt.defaultPrevented){var Bn=ee.findClosestDraggableId(Vt);if(Bn){var Ca=ee.tryGetLock(Bn,Re,{sourceEvent:Vt});if(Ca){var Ia=Vt.touches[0],Oa=Ia.clientX,Ya=Ia.clientY,rr={x:Oa,y:Ya};oe.current(),Ct(Ca,rr)}}}}}},[ee]),we=Nt(function(){var Vt={capture:!0,passive:!1};oe.current=_n(window,[Ee],Vt)},[Ee]),Re=Nt(function(){var xt=ae.current;xt.type!=="IDLE"&&(xt.type==="PENDING"&&clearTimeout(xt.longPressTimerId),ye(Vl),oe.current(),we())},[we,ye]),ft=Nt(function(){var xt=ae.current;Re(),xt.type==="DRAGGING"&&xt.actions.cancel({shouldBlockNextClick:!0}),xt.type==="PENDING"&&xt.actions.abort()},[Re]),kt=Nt(function(){var Vt={capture:!0,passive:!1},Bn={cancel:ft,completed:Re,getPhase:ce},Ca=_n(window,bs(Bn),Vt),Ia=_n(window,Es(Bn),Vt);oe.current=function(){Ca(),Ia()}},[ft,ce,Re]),Rt=Nt(function(){var Vt=ce();Vt.type!=="PENDING"&&We(!1);var Bn=Vt.actions.fluidLift(Vt.point);ye({type:"DRAGGING",actions:Bn,hasMoved:!1})},[ce,ye]),Ct=Nt(function(Vt,Bn){ce().type!=="IDLE"&&We(!1);var Ca=setTimeout(Rt,Ps);ye({type:"PENDING",point:Bn,actions:Vt,longPressTimerId:Ca}),kt()},[kt,ce,ye,Rt]);yr(function(){return we(),function(){oe.current();var Bn=ce();Bn.type==="PENDING"&&(clearTimeout(Bn.longPressTimerId),ye(Vl))}},[ce,we,ye]),yr(function(){var Vt=_n(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Vt},[])}function Ou(ee){}var Ru={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function gu(ee,ae){if(ae==null)return!1;var oe=!!Ru[ae.tagName.toLowerCase()];if(oe)return!0;var ce=ae.getAttribute("contenteditable");return ce==="true"||ce===""?!0:ae===ee?!1:gu(ee,ae.parentElement)}function Tu(ee,ae){var oe=ae.target;return co(oe)?gu(ee,oe):!1}var Mu=function(ee){return Ln(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof Eo(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=ur(ae,function(ce){return ce in Element.prototype});return oe||ee}();function mu(ee,ae){return ee==null?null:ee[Zu](ae)?ee:mu(ee.parentElement,ae)}function _u(ee,ae){return ee.closest?ee.closest(ae):mu(ee,ae)}function zu(ee){return"["+yo.contextId+'="'+ee+'"]'}function Hu(ee,ae){var oe=ae.target;if(!ku(oe))return null;var ce=zu(ee),ye=_u(oe,ce);return!ye||!co(ye)?null:ye}function ju(ee,ae){var oe=Hu(ee,ae);return oe?oe.getAttribute(yo.draggableId):null}function Gu(ee,ae){var oe="["+lo.contextId+'="'+ee+'"]',ce=Ra(document.querySelectorAll(oe)),ye=ur(ce,function(Ee){return Ee.getAttribute(lo.id)===ae});return!ye||!co(ye)?null:ye}function Ku(ee){ee.preventDefault()}function Zs(ee){var ae=ee.expected,oe=ee.phase,ce=ee.isLockActive,ye=ee.shouldWarn;return!(!ce()||ae!==oe)}function fu(ee){var ae=ee.lockAPI,oe=ee.store,ce=ee.registry,ye=ee.draggableId;if(ae.isClaimed())return!1;var Ee=ce.draggable.findById(ye);return!(!Ee||!Ee.options.isEnabled||!gr(oe.getState(),ye))}function Wu(ee){var ae=ee.lockAPI,oe=ee.contextId,ce=ee.store,ye=ee.registry,Ee=ee.draggableId,we=ee.forceSensorStop,Re=ee.sourceEvent,ft=fu({lockAPI:ae,store:ce,registry:ye,draggableId:Ee});if(!ft)return null;var kt=ye.draggable.getById(Ee),Rt=Gu(oe,kt.descriptor.id);if(!Rt||Re&&!kt.options.canDragInteractiveElements&&Tu(Rt,Re))return null;var Ct=ae.claim(we||qn),xt="PRE_DRAG";function Vt(){return kt.options.shouldRespectForcePress}function Bn(){return ae.isActive(Ct)}function Ca(Mr,no){Zs({expected:Mr,phase:xt,isLockActive:Bn,shouldWarn:!0})&&ce.dispatch(no())}var Ia=Ca.bind(null,"DRAGGING");function Oa(Mr){function no(){ae.release(),xt="COMPLETED"}xt!=="PRE_DRAG"&&(no(),xt!=="PRE_DRAG"&&We(!1)),ce.dispatch(is(Mr.liftActionArgs)),xt="DRAGGING";function Ho(mo,jo){if(jo===void 0&&(jo={shouldBlockNextClick:!1}),Mr.cleanup(),jo.shouldBlockNextClick){var ni=_n(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ni)}no(),ce.dispatch(Ml({reason:mo}))}return(0,Te.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:xt,isLockActive:Bn,shouldWarn:!1})},shouldRespectForcePress:Vt,drop:function(jo){return Ho("DROP",jo)},cancel:function(jo){return Ho("CANCEL",jo)}},Mr.actions)}function Ya(Mr){var no=pn(function(mo){Ia(function(){return Ll({client:mo})})}),Ho=Oa({liftActionArgs:{id:Ee,clientSelection:Mr,movementMode:"FLUID"},cleanup:function(){return no.cancel()},actions:{move:no}});return(0,Te.Z)({},Ho,{move:no})}function rr(){var Mr={moveUp:function(){return Ia(Ci)},moveRight:function(){return Ia($i)},moveDown:function(){return Ia(Oo)},moveLeft:function(){return Ia(ds)}};return Oa({liftActionArgs:{id:Ee,clientSelection:Mu(Rt),movementMode:"SNAP"},cleanup:qn,actions:Mr})}function lr(){var Mr=Zs({expected:"PRE_DRAG",phase:xt,isLockActive:Bn,shouldWarn:!0});Mr&&ae.release()}var Hr={isActive:function(){return Zs({expected:"PRE_DRAG",phase:xt,isLockActive:Bn,shouldWarn:!1})},shouldRespectForcePress:Vt,fluidLift:Ya,snapLift:rr,abort:lr};return Hr}var Uu=[qs,Hi,Lu];function Vu(ee){var ae=ee.contextId,oe=ee.store,ce=ee.registry,ye=ee.customSensors,Ee=ee.enableDefaultSensors,we=[].concat(Ee?Uu:[],ye||[]),Re=(0,b.useState)(function(){return Hl()})[0],ft=Nt(function(Ya,rr){Ya.isDragging&&!rr.isDragging&&Re.tryAbandon()},[Re]);yr(function(){var Ya=oe.getState(),rr=oe.subscribe(function(){var lr=oe.getState();ft(Ya,lr),Ya=lr});return rr},[Re,oe,ft]),yr(function(){return Re.tryAbandon},[Re.tryAbandon]);var kt=Nt(function(Oa){return fu({lockAPI:Re,registry:ce,store:oe,draggableId:Oa})},[Re,ce,oe]),Rt=Nt(function(Oa,Ya,rr){return Wu({lockAPI:Re,registry:ce,contextId:ae,store:oe,draggableId:Oa,forceSensorStop:Ya,sourceEvent:rr&&rr.sourceEvent?rr.sourceEvent:null})},[ae,Re,ce,oe]),Ct=Nt(function(Oa){return ju(ae,Oa)},[ae]),xt=Nt(function(Oa){var Ya=ce.draggable.findById(Oa);return Ya?Ya.options:null},[ce.draggable]),Vt=Nt(function(){Re.isClaimed()&&(Re.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Ol()))},[Re,oe]),Bn=Nt(Re.isClaimed,[Re]),Ca=Pt(function(){return{canGetLock:kt,tryGetLock:Rt,findClosestDraggableId:Ct,findOptionsForDraggable:xt,tryReleaseLock:Vt,isLockClaimed:Bn}},[kt,Rt,Ct,xt,Vt,Bn]);Ou(we);for(var Ia=0;Ia<we.length;Ia++)we[Ia](Ca)}var $u=function(ae){return{onBeforeCapture:ae.onBeforeCapture,onBeforeDragStart:ae.onBeforeDragStart,onDragStart:ae.onDragStart,onDragEnd:ae.onDragEnd,onDragUpdate:ae.onDragUpdate}};function Cs(ee){return ee.current||We(!1),ee.current}function Qu(ee){var ae=ee.contextId,oe=ee.setCallbacks,ce=ee.sensors,ye=ee.nonce,Ee=ee.dragHandleUsageInstructions,we=(0,b.useRef)(null);$s();var Re=zl(ee),ft=Nt(function(){return $u(Re.current)},[Re]),kt=po(ae),Rt=Si({contextId:ae,text:Ee}),Ct=so(ae,ye),xt=Nt(function(mo){Cs(we).dispatch(mo)},[]),Vt=Pt(function(){return(0,Ie.DE)({publishWhileDragging:ls,updateDroppableScroll:ss,updateDroppableIsEnabled:Il,updateDroppableIsCombineEnabled:Ns,collectionStarting:Ds},xt)},[xt]),Bn=ti(),Ca=Pt(function(){return Wa(Bn,Vt)},[Bn,Vt]),Ia=Pt(function(){return to((0,Te.Z)({scrollWindow:Sr,scrollDroppable:Ca.scrollDroppable},(0,Ie.DE)({move:Ll},xt)))},[Ca.scrollDroppable,xt]),Oa=ii(ae),Ya=Pt(function(){return ja({announce:kt,autoScroller:Ia,dimensionMarshal:Ca,focusMarshal:Oa,getResponders:ft,styleMarshal:Ct})},[kt,Ia,Ca,Oa,ft,Ct]);we.current=Ya;var rr=Nt(function(){var mo=Cs(we),jo=mo.getState();jo.phase!=="IDLE"&&mo.dispatch(Ol())},[]),lr=Nt(function(){var mo=Cs(we).getState();return mo.isDragging||mo.phase==="DROP_ANIMATING"},[]),Hr=Pt(function(){return{isDragging:lr,tryAbort:rr}},[lr,rr]);oe(Hr);var Mr=Nt(function(mo){return gr(Cs(we).getState(),mo)},[]),no=Nt(function(){return Yo(Cs(we).getState())},[]),Ho=Pt(function(){return{marshal:Ca,focus:Oa,contextId:ae,canLift:Mr,isMovementAllowed:no,dragHandleUsageInstructionsId:Rt,registry:Bn}},[ae,Ca,Rt,Oa,Mr,no,Bn]);return Vu({contextId:ae,store:Ya,registry:Bn,customSensors:ce,enableDefaultSensors:ee.enableDefaultSensors!==!1}),(0,b.useEffect)(function(){return rr},[rr]),b.createElement(_i.Provider,{value:Ho},b.createElement(x,{context:qo,store:Ya},ee.children))}var pu=0;function Ju(){pu=0}function Xu(){return Pt(function(){return""+pu++},[])}function Jd(){Ju(),Uo()}function Yu(ee){var ae=Xu(),oe=ee.dragHandleUsageInstructions||mn.dragHandleUsageInstructions;return b.createElement(dn,null,function(ce){return b.createElement(Qu,{nonce:ee.nonce,contextId:ae,setCallbacks:ce,dragHandleUsageInstructions:oe,enableDefaultSensors:ee.enableDefaultSensors,sensors:ee.sensors,onBeforeCapture:ee.onBeforeCapture,onBeforeDragStart:ee.onBeforeDragStart,onDragStart:ee.onDragStart,onDragUpdate:ee.onDragUpdate,onDragEnd:ee.onDragEnd},ee.children)})}var eu=function(ae){return function(oe){return ae===oe}},qu=eu("scroll"),ed=eu("auto"),td=eu("visible"),vu=function(ae,oe){return oe(ae.overflowX)||oe(ae.overflowY)},nd=function(ae,oe){return oe(ae.overflowX)&&oe(ae.overflowY)},hu=function(ae){var oe=window.getComputedStyle(ae),ce={overflowX:oe.overflowX,overflowY:oe.overflowY};return vu(ce,qu)||vu(ce,ed)},ad=function(){return!1;var ae,oe,ce,ye},Su=function ee(ae){return ae==null?null:ae===document.body?ad()?ae:null:ae===document.documentElement?null:hu(ae)?ae:ee(ae.parentElement)},Xd=function(ee){if(ee)var ae=Su(ee.parentElement)},tu=function(ee){return{x:ee.scrollLeft,y:ee.scrollTop}},rd=function ee(ae){if(!ae)return!1;var oe=window.getComputedStyle(ae);return oe.position==="fixed"?!0:ee(ae.parentElement)},od=function(ee){var ae=Su(ee),oe=rd(ee);return{closestScrollable:ae,isFixedOnPage:oe}},id=function(ee){var ae=ee.descriptor,oe=ee.isEnabled,ce=ee.isCombineEnabled,ye=ee.isFixedOnPage,Ee=ee.direction,we=ee.client,Re=ee.page,ft=ee.closest,kt=function(){if(!ft)return null;var Vt=ft.scrollSize,Bn=ft.client,Ca=ha({scrollHeight:Vt.scrollHeight,scrollWidth:Vt.scrollWidth,height:Bn.paddingBox.height,width:Bn.paddingBox.width});return{pageMarginBox:ft.page.marginBox,frameClient:Bn,scrollSize:Vt,shouldClipSubject:ft.shouldClipSubject,scroll:{initial:ft.scroll,current:ft.scroll,max:Ca,diff:{value:Da,displacement:Da}}}}(),Rt=Ee==="vertical"?Ao:Go,Ct=Er({page:Re,withPlaceholder:null,axis:Rt,frame:kt}),xt={descriptor:ae,isCombineEnabled:ce,isFixedOnPage:ye,axis:Rt,isEnabled:oe,client:we,page:Re,frame:kt,subject:Ct};return xt},ld=function(ae,oe){var ce=Xn(ae);if(!oe||ae!==oe)return ce;var ye=ce.paddingBox.top-oe.scrollTop,Ee=ce.paddingBox.left-oe.scrollLeft,we=ye+oe.scrollHeight,Re=Ee+oe.scrollWidth,ft={top:ye,right:Re,bottom:we,left:Ee},kt=ta(ft,ce.border),Rt=pa({borderBox:kt,margin:ce.margin,border:ce.border,padding:ce.padding});return Rt},sd=function(ee){var ae=ee.ref,oe=ee.descriptor,ce=ee.env,ye=ee.windowScroll,Ee=ee.direction,we=ee.isDropDisabled,Re=ee.isCombineEnabled,ft=ee.shouldClipSubject,kt=ce.closestScrollable,Rt=ld(ae,kt),Ct=An(Rt,ye),xt=function(){if(!kt)return null;var Bn=Xn(kt),Ca={scrollHeight:kt.scrollHeight,scrollWidth:kt.scrollWidth};return{client:Bn,page:An(Bn,ye),scroll:tu(kt),scrollSize:Ca,shouldClipSubject:ft}}(),Vt=id({descriptor:oe,isEnabled:!we,isCombineEnabled:Re,isFixedOnPage:ce.isFixedOnPage,direction:Ee,client:Rt,page:Ct,closest:xt});return Vt},ud={passive:!1},dd={passive:!0},Pu=function(ee){return ee.shouldPublishImmediately?ud:dd};function _s(ee){var ae=(0,b.useContext)(ee);return ae||We(!1),ae}var zs=function(ae){return ae&&ae.env.closestScrollable||null};function cd(ee){var ae=(0,b.useRef)(null),oe=_s(_i),ce=Vo("droppable"),ye=oe.registry,Ee=oe.marshal,we=zl(ee),Re=Pt(function(){return{id:ee.droppableId,type:ee.type,mode:ee.mode}},[ee.droppableId,ee.mode,ee.type]),ft=(0,b.useRef)(Re),kt=Pt(function(){return tn(function(lr,Hr){ae.current||We(!1);var Mr={x:lr,y:Hr};Ee.updateDroppableScroll(Re.id,Mr)})},[Re.id,Ee]),Rt=Nt(function(){var lr=ae.current;return!lr||!lr.env.closestScrollable?Da:tu(lr.env.closestScrollable)},[]),Ct=Nt(function(){var lr=Rt();kt(lr.x,lr.y)},[Rt,kt]),xt=Pt(function(){return pn(Ct)},[Ct]),Vt=Nt(function(){var lr=ae.current,Hr=zs(lr);lr&&Hr||We(!1);var Mr=lr.scrollOptions;if(Mr.shouldPublishImmediately){Ct();return}xt()},[xt,Ct]),Bn=Nt(function(lr,Hr){ae.current&&We(!1);var Mr=we.current,no=Mr.getDroppableRef();no||We(!1);var Ho=od(no),mo={ref:no,descriptor:Re,env:Ho,scrollOptions:Hr};ae.current=mo;var jo=sd({ref:no,descriptor:Re,env:Ho,windowScroll:lr,direction:Mr.direction,isDropDisabled:Mr.isDropDisabled,isCombineEnabled:Mr.isCombineEnabled,shouldClipSubject:!Mr.ignoreContainerClipping}),ni=Ho.closestScrollable;return ni&&(ni.setAttribute(Wo.contextId,oe.contextId),ni.addEventListener("scroll",Vt,Pu(mo.scrollOptions))),jo},[oe.contextId,Re,Vt,we]),Ca=Nt(function(){var lr=ae.current,Hr=zs(lr);return lr&&Hr||We(!1),tu(Hr)},[]),Ia=Nt(function(){var lr=ae.current;lr||We(!1);var Hr=zs(lr);ae.current=null,Hr&&(xt.cancel(),Hr.removeAttribute(Wo.contextId),Hr.removeEventListener("scroll",Vt,Pu(lr.scrollOptions)))},[Vt,xt]),Oa=Nt(function(lr){var Hr=ae.current;Hr||We(!1);var Mr=zs(Hr);Mr||We(!1),Mr.scrollTop+=lr.y,Mr.scrollLeft+=lr.x},[]),Ya=Pt(function(){return{getDimensionAndWatchScroll:Bn,getScrollWhileDragging:Ca,dragStopped:Ia,scroll:Oa}},[Ia,Bn,Ca,Oa]),rr=Pt(function(){return{uniqueId:ce,descriptor:Re,callbacks:Ya}},[Ya,Re,ce]);yr(function(){return ft.current=rr.descriptor,ye.droppable.register(rr),function(){ae.current&&Ia(),ye.droppable.unregister(rr)}},[Ya,Re,Ia,rr,Ee,ye.droppable]),yr(function(){ae.current&&Ee.updateDroppableIsEnabled(ft.current.id,!ee.isDropDisabled)},[ee.isDropDisabled,Ee]),yr(function(){ae.current&&Ee.updateDroppableIsCombineEnabled(ft.current.id,ee.isCombineEnabled)},[ee.isCombineEnabled,Ee])}function nu(){}var yu={width:0,height:0,margin:Ua},gd=function(ae){var oe=ae.isAnimatingOpenOnMount,ce=ae.placeholder,ye=ae.animate;return oe||ye==="close"?yu:{height:ce.client.borderBox.height,width:ce.client.borderBox.width,margin:ce.client.margin}},md=function(ae){var oe=ae.isAnimatingOpenOnMount,ce=ae.placeholder,ye=ae.animate,Ee=gd({isAnimatingOpenOnMount:oe,placeholder:ce,animate:ye});return{display:ce.display,boxSizing:"border-box",width:Ee.width,height:Ee.height,marginTop:Ee.margin.top,marginRight:Ee.margin.right,marginBottom:Ee.margin.bottom,marginLeft:Ee.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:ye!=="none"?wi.placeholder:null}};function fd(ee){var ae=(0,b.useRef)(null),oe=Nt(function(){ae.current&&(clearTimeout(ae.current),ae.current=null)},[]),ce=ee.animate,ye=ee.onTransitionEnd,Ee=ee.onClose,we=ee.contextId,Re=(0,b.useState)(ee.animate==="open"),ft=Re[0],kt=Re[1];(0,b.useEffect)(function(){return ft?ce!=="open"?(oe(),kt(!1),nu):ae.current?nu:(ae.current=setTimeout(function(){ae.current=null,kt(!1)}),oe):nu},[ce,ft,oe]);var Rt=Nt(function(xt){xt.propertyName==="height"&&(ye(),ce==="close"&&Ee())},[ce,Ee,ye]),Ct=md({isAnimatingOpenOnMount:ft,animate:ee.animate,placeholder:ee.placeholder});return b.createElement(ee.placeholder.tagName,{style:Ct,"data-rbd-placeholder-context-id":we,onTransitionEnd:Rt,ref:ee.innerRef})}var pd=b.memo(fd),au=b.createContext(null);function Eu(ee){ee&&co(ee)||We(!1)}function ru(ee){return typeof ee=="boolean"}function ou(ee,ae){ae.forEach(function(oe){return oe(ee)})}var vd=[function(ae){var oe=ae.props;oe.droppableId||We(!1),typeof oe.droppableId!="string"&&We(!1)},function(ae){var oe=ae.props;ru(oe.isDropDisabled)||We(!1),ru(oe.isCombineEnabled)||We(!1),ru(oe.ignoreContainerClipping)||We(!1)},function(ae){var oe=ae.getDroppableRef;Eu(oe())}],hd=[function(ae){var oe=ae.props,ce=ae.getPlaceholderRef;if(oe.placeholder)var ye=ce()}],Sd=[function(ae){var oe=ae.props;oe.renderClone||We(!1)},function(ae){var oe=ae.getPlaceholderRef;oe()&&We(!1)}];function Pd(ee){qi(function(){ou(ee,vd),ee.props.mode==="standard"&&ou(ee,hd),ee.props.mode==="virtual"&&ou(ee,Sd)})}var yd=function(ee){Be(ae,ee);function ae(){for(var ce,ye=arguments.length,Ee=new Array(ye),we=0;we<ye;we++)Ee[we]=arguments[we];return ce=ee.call.apply(ee,[this].concat(Ee))||this,ce.state={isVisible:!!ce.props.on,data:ce.props.on,animate:ce.props.shouldAnimate&&ce.props.on?"open":"none"},ce.onClose=function(){ce.state.animate==="close"&&ce.setState({isVisible:!1})},ce}ae.getDerivedStateFromProps=function(ye,Ee){return ye.shouldAnimate?ye.on?{isVisible:!0,data:ye.on,animate:"open"}:Ee.isVisible?{isVisible:!0,data:Ee.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:!!ye.on,data:ye.on,animate:"none"}};var oe=ae.prototype;return oe.render=function(){if(!this.state.isVisible)return null;var ye={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(ye)},ae}(b.PureComponent),bu={dragging:5e3,dropAnimating:4500},Ed=function(ae,oe){return oe?wi.drop(oe.duration):ae?wi.snap:wi.fluid},bd=function(ae,oe){return ae?oe?Zi.opacity.drop:Zi.opacity.combining:null},Cd=function(ae){return ae.forceShouldAnimate!=null?ae.forceShouldAnimate:ae.mode==="SNAP"};function xd(ee){var ae=ee.dimension,oe=ae.client,ce=ee.offset,ye=ee.combineWith,Ee=ee.dropping,we=!!ye,Re=Cd(ee),ft=!!Ee,kt=ft?cl.drop(ce,we):cl.moveTo(ce),Rt={position:"fixed",top:oe.marginBox.top,left:oe.marginBox.left,boxSizing:"border-box",width:oe.borderBox.width,height:oe.borderBox.height,transition:Ed(Re,Ee),transform:kt,opacity:bd(we,ft),zIndex:ft?bu.dropAnimating:bu.dragging,pointerEvents:"none"};return Rt}function Bd(ee){return{transform:cl.moveTo(ee.offset),transition:ee.shouldAnimateDisplacement?null:"none"}}function Fd(ee){return ee.type==="DRAGGING"?xd(ee):Bd(ee)}function wd(ee,ae,oe){oe===void 0&&(oe=Da);var ce=window.getComputedStyle(ae),ye=ae.getBoundingClientRect(),Ee=Fn(ye,ce),we=An(Ee,oe),Re={client:Ee,tagName:ae.tagName.toLowerCase(),display:ce.display},ft={x:Ee.marginBox.width,y:Ee.marginBox.height},kt={descriptor:ee,placeholder:Re,displaceBy:ft,client:Ee,page:we};return kt}function Ad(ee){var ae=Vo("draggable"),oe=ee.descriptor,ce=ee.registry,ye=ee.getDraggableRef,Ee=ee.canDragInteractiveElements,we=ee.shouldRespectForcePress,Re=ee.isEnabled,ft=Pt(function(){return{canDragInteractiveElements:Ee,shouldRespectForcePress:we,isEnabled:Re}},[Ee,Re,we]),kt=Nt(function(Vt){var Bn=ye();return Bn||We(!1),wd(oe,Bn,Vt)},[oe,ye]),Rt=Pt(function(){return{uniqueId:ae,descriptor:oe,options:ft,getDimension:kt}},[oe,kt,ft,ae]),Ct=(0,b.useRef)(Rt),xt=(0,b.useRef)(!0);yr(function(){return ce.draggable.register(Ct.current),function(){return ce.draggable.unregister(Ct.current)}},[ce.draggable]),yr(function(){if(xt.current){xt.current=!1;return}var Vt=Ct.current;Ct.current=Rt,ce.draggable.update(Rt,Vt)},[Rt,ce.draggable])}function Dd(ee,ae,oe){qi(function(){function ce(Ee){return"Draggable[id: "+Ee+"]: "}var ye=ee.draggableId;ye||We(!1),typeof ye!="string"&&We(!1),Zr(ee.index)||We(!1),ee.mapped.type!=="DRAGGING"&&(Eu(oe()),ee.isEnabled&&(vo(ae,ye)||We(!1)))})}function Nd(ee){}function Id(ee){ee.preventDefault()}function Ld(ee){var ae=(0,b.useRef)(null),oe=Nt(function(mo){ae.current=mo},[]),ce=Nt(function(){return ae.current},[]),ye=_s(_i),Ee=ye.contextId,we=ye.dragHandleUsageInstructionsId,Re=ye.registry,ft=_s(au),kt=ft.type,Rt=ft.droppableId,Ct=Pt(function(){return{id:ee.draggableId,index:ee.index,type:kt,droppableId:Rt}},[ee.draggableId,ee.index,kt,Rt]),xt=ee.children,Vt=ee.draggableId,Bn=ee.isEnabled,Ca=ee.shouldRespectForcePress,Ia=ee.canDragInteractiveElements,Oa=ee.isClone,Ya=ee.mapped,rr=ee.dropAnimationFinished;if(Dd(ee,Ee,ce),Nd(Oa),!Oa){var lr=Pt(function(){return{descriptor:Ct,registry:Re,getDraggableRef:ce,canDragInteractiveElements:Ia,shouldRespectForcePress:Ca,isEnabled:Bn}},[Ct,Re,ce,Ia,Ca,Bn]);Ad(lr)}var Hr=Pt(function(){return Bn?{tabIndex:0,role:"button","aria-describedby":we,"data-rbd-drag-handle-draggable-id":Vt,"data-rbd-drag-handle-context-id":Ee,draggable:!1,onDragStart:Id}:null},[Ee,we,Vt,Bn]),Mr=Nt(function(mo){Ya.type==="DRAGGING"&&Ya.dropping&&mo.propertyName==="transform"&&rr()},[rr,Ya]),no=Pt(function(){var mo=Fd(Ya),jo=Ya.type==="DRAGGING"&&Ya.dropping?Mr:null,ni={innerRef:oe,draggableProps:{"data-rbd-draggable-context-id":Ee,"data-rbd-draggable-id":Vt,style:mo,onTransitionEnd:jo},dragHandleProps:Hr};return ni},[Ee,Hr,Vt,Ya,Mr,oe]),Ho=Pt(function(){return{draggableId:Ct.id,type:Ct.type,source:{index:Ct.index,droppableId:Ct.droppableId}}},[Ct.droppableId,Ct.id,Ct.index,Ct.type]);return xt(no,Ya.snapshot,Ho)}var Cu=function(ee,ae){return ee===ae},xu=function(ee){var ae=ee.combine,oe=ee.destination;return oe?oe.droppableId:ae?ae.droppableId:null},Od=function(ae){return ae.combine?ae.combine.draggableId:null},Rd=function(ae){return ae.at&&ae.at.type==="COMBINE"?ae.at.combine.draggableId:null};function Td(){var ee=tn(function(ye,Ee){return{x:ye,y:Ee}}),ae=tn(function(ye,Ee,we,Re,ft){return{isDragging:!0,isClone:Ee,isDropAnimating:!!ft,dropAnimation:ft,mode:ye,draggingOver:we,combineWith:Re,combineTargetFor:null}}),oe=tn(function(ye,Ee,we,Re,ft,kt,Rt){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:ft,combineWith:kt,mode:Ee,offset:ye,dimension:we,forceShouldAnimate:Rt,snapshot:ae(Ee,Re,ft,kt,null)}}}),ce=function(Ee,we){if(Ee.isDragging){if(Ee.critical.draggable.id!==we.draggableId)return null;var Re=Ee.current.client.offset,ft=Ee.dimensions.draggables[we.draggableId],kt=oi(Ee.impact),Rt=Rd(Ee.impact),Ct=Ee.forceShouldAnimate;return oe(ee(Re.x,Re.y),Ee.movementMode,ft,we.isClone,kt,Rt,Ct)}if(Ee.phase==="DROP_ANIMATING"){var xt=Ee.completed;if(xt.result.draggableId!==we.draggableId)return null;var Vt=we.isClone,Bn=Ee.dimensions.draggables[we.draggableId],Ca=xt.result,Ia=Ca.mode,Oa=xu(Ca),Ya=Od(Ca),rr=Ee.dropDuration,lr={duration:rr,curve:Zl.drop,moveTo:Ee.newHomeClientOffset,opacity:Ya?Zi.opacity.drop:null,scale:Ya?Zi.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Ee.newHomeClientOffset,dimension:Bn,dropping:lr,draggingOver:Oa,combineWith:Ya,mode:Ia,forceShouldAnimate:null,snapshot:ae(Ia,Vt,Oa,Ya,lr)}}}return null};return ce}function Bu(ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:ee,combineWith:null}}var Md={mapped:{type:"SECONDARY",offset:Da,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Bu(null)}};function kd(){var ee=tn(function(we,Re){return{x:we,y:Re}}),ae=tn(Bu),oe=tn(function(we,Re,ft){return Re===void 0&&(Re=null),{mapped:{type:"SECONDARY",offset:we,combineTargetFor:Re,shouldAnimateDisplacement:ft,snapshot:ae(Re)}}}),ce=function(Re){return Re?oe(Da,Re,!0):null},ye=function(Re,ft,kt,Rt){var Ct=kt.displaced.visible[Re],xt=!!(Rt.inVirtualList&&Rt.effected[Re]),Vt=wr(kt),Bn=Vt&&Vt.draggableId===Re?ft:null;if(!Ct){if(!xt)return ce(Bn);if(kt.displaced.invisible[Re])return null;var Ca=Vn(Rt.displacedBy.point),Ia=ee(Ca.x,Ca.y);return oe(Ia,Bn,!0)}if(xt)return ce(Bn);var Oa=kt.displacedBy.point,Ya=ee(Oa.x,Oa.y);return oe(Ya,Bn,Ct.shouldAnimate)},Ee=function(Re,ft){if(Re.isDragging)return Re.critical.draggable.id===ft.draggableId?null:ye(ft.draggableId,Re.critical.draggable.id,Re.impact,Re.afterCritical);if(Re.phase==="DROP_ANIMATING"){var kt=Re.completed;return kt.result.draggableId===ft.draggableId?null:ye(ft.draggableId,kt.result.draggableId,kt.impact,kt.afterCritical)}return null};return Ee}var Zd=function(){var ae=Td(),oe=kd(),ce=function(Ee,we){return ae(Ee,we)||oe(Ee,we)||Md};return ce},_d={dropAnimationFinished:kl},zd=Fe(Zd,_d,null,{context:qo,pure:!0,areStatePropsEqual:Cu})(Ld);function Fu(ee){var ae=_s(au),oe=ae.isUsingCloneFor;return oe===ee.draggableId&&!ee.isClone?null:b.createElement(zd,ee)}function Hd(ee){var ae=typeof ee.isDragDisabled=="boolean"?!ee.isDragDisabled:!0,oe=!!ee.disableInteractiveElementBlocking,ce=!!ee.shouldRespectForcePress;return b.createElement(Fu,(0,Te.Z)({},ee,{isClone:!1,isEnabled:ae,canDragInteractiveElements:oe,shouldRespectForcePress:ce}))}function jd(ee){var ae=(0,b.useContext)(_i);ae||We(!1);var oe=ae.contextId,ce=ae.isMovementAllowed,ye=(0,b.useRef)(null),Ee=(0,b.useRef)(null),we=ee.children,Re=ee.droppableId,ft=ee.type,kt=ee.mode,Rt=ee.direction,Ct=ee.ignoreContainerClipping,xt=ee.isDropDisabled,Vt=ee.isCombineEnabled,Bn=ee.snapshot,Ca=ee.useClone,Ia=ee.updateViewportMaxScroll,Oa=ee.getContainerForClone,Ya=Nt(function(){return ye.current},[]),rr=Nt(function(li){ye.current=li},[]),lr=Nt(function(){return Ee.current},[]),Hr=Nt(function(li){Ee.current=li},[]);Pd({props:ee,getDroppableRef:Ya,getPlaceholderRef:lr});var Mr=Nt(function(){ce()&&Ia({maxScroll:ca()})},[ce,Ia]);cd({droppableId:Re,type:ft,mode:kt,direction:Rt,isDropDisabled:xt,isCombineEnabled:Vt,ignoreContainerClipping:Ct,getDroppableRef:Ya});var no=b.createElement(yd,{on:ee.placeholder,shouldAnimate:ee.shouldAnimatePlaceholder},function(li){var ji=li.onClose,Di=li.data,Ei=li.animate;return b.createElement(pd,{placeholder:Di,onClose:ji,innerRef:Hr,animate:Ei,contextId:oe,onTransitionEnd:Mr})}),Ho=Pt(function(){return{innerRef:rr,placeholder:no,droppableProps:{"data-rbd-droppable-id":Re,"data-rbd-droppable-context-id":oe}}},[oe,Re,no,rr]),mo=Ca?Ca.dragging.draggableId:null,jo=Pt(function(){return{droppableId:Re,type:ft,isUsingCloneFor:mo}},[Re,mo,ft]);function ni(){if(!Ca)return null;var li=Ca.dragging,ji=Ca.render,Di=b.createElement(Fu,{draggableId:li.draggableId,index:li.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(Ei,Gi){return ji(Ei,Gi,li)});return on.createPortal(Di,Oa())}return b.createElement(au.Provider,{value:jo},we(Ho,Bn),ni())}var iu=function(ae,oe){return ae===oe.droppable.type},wu=function(ae,oe){return oe.draggables[ae.draggable.id]},Gd=function(){var ae={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},oe=(0,Te.Z)({},ae,{shouldAnimatePlaceholder:!1}),ce=tn(function(we){return{draggableId:we.id,type:we.type,source:{index:we.index,droppableId:we.droppableId}}}),ye=tn(function(we,Re,ft,kt,Rt,Ct){var xt=Rt.descriptor.id,Vt=Rt.descriptor.droppableId===we;if(Vt){var Bn=Ct?{render:Ct,dragging:ce(Rt.descriptor)}:null,Ca={isDraggingOver:ft,draggingOverWith:ft?xt:null,draggingFromThisWith:xt,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!1,snapshot:Ca,useClone:Bn}}if(!Re)return oe;if(!kt)return ae;var Ia={isDraggingOver:ft,draggingOverWith:xt,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:Rt.placeholder,shouldAnimatePlaceholder:!0,snapshot:Ia,useClone:null}}),Ee=function(Re,ft){var kt=ft.droppableId,Rt=ft.type,Ct=!ft.isDropDisabled,xt=ft.renderClone;if(Re.isDragging){var Vt=Re.critical;if(!iu(Rt,Vt))return oe;var Bn=wu(Vt,Re.dimensions),Ca=oi(Re.impact)===kt;return ye(kt,Ct,Ca,Ca,Bn,xt)}if(Re.phase==="DROP_ANIMATING"){var Ia=Re.completed;if(!iu(Rt,Ia.critical))return oe;var Oa=wu(Ia.critical,Re.dimensions);return ye(kt,Ct,xu(Ia.result)===kt,oi(Ia.impact)===kt,Oa,xt)}if(Re.phase==="IDLE"&&Re.completed&&!Re.shouldFlush){var Ya=Re.completed;if(!iu(Rt,Ya.critical))return oe;var rr=oi(Ya.impact)===kt,lr=!!(Ya.impact.at&&Ya.impact.at.type==="COMBINE"),Hr=Ya.critical.droppable.id===kt;return rr?lr?ae:oe:Hr?ae:oe}return oe};return Ee},Kd={updateViewportMaxScroll:ei};function Wd(){return document.body||We(!1),document.body}var Ud={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:Wd},Au=Fe(Gd,Kd,null,{context:qo,pure:!0,areStatePropsEqual:Cu})(jd);Au.defaultProps=Ud},38486:function(Ut,Gt){"use strict";var te;var b=60103,ue=60106,Be=60107,Te=60108,Ie=60114,Oe=60109,le=60110,ut=60112,ot=60113,Ue=60120,Qe=60115,tt=60116,Je=60121,se=60122,y=60117,a=60129,x=60131;if(typeof Symbol=="function"&&Symbol.for){var E=Symbol.for;b=E("react.element"),ue=E("react.portal"),Be=E("react.fragment"),Te=E("react.strict_mode"),Ie=E("react.profiler"),Oe=E("react.provider"),le=E("react.context"),ut=E("react.forward_ref"),ot=E("react.suspense"),Ue=E("react.suspense_list"),Qe=E("react.memo"),tt=E("react.lazy"),Je=E("react.block"),se=E("react.server.block"),y=E("react.fundamental"),a=E("react.debug_trace_mode"),x=E("react.legacy_hidden")}function z(Me){if(typeof Me=="object"&&Me!==null){var qe=Me.$$typeof;switch(qe){case b:switch(Me=Me.type,Me){case Be:case Ie:case Te:case ot:case Ue:return Me;default:switch(Me=Me&&Me.$$typeof,Me){case le:case ut:case tt:case Qe:case Oe:return Me;default:return qe}}case ue:return qe}}}var ne=Oe,re=b,ie=ut,de=Be,pe=tt,Pe=Qe,je=ue,Le=Ie,Ye=Te,Se=ot;te=le,te=ne,te=re,te=ie,te=de,te=pe,te=Pe,te=je,te=Le,te=Ye,te=Se,te=function(){return!1},te=function(){return!1},Gt.isContextConsumer=function(Me){return z(Me)===le},te=function(Me){return z(Me)===Oe},te=function(Me){return typeof Me=="object"&&Me!==null&&Me.$$typeof===b},te=function(Me){return z(Me)===ut},te=function(Me){return z(Me)===Be},te=function(Me){return z(Me)===tt},te=function(Me){return z(Me)===Qe},te=function(Me){return z(Me)===ue},te=function(Me){return z(Me)===Ie},te=function(Me){return z(Me)===Te},te=function(Me){return z(Me)===ot},te=function(Me){return typeof Me=="string"||typeof Me=="function"||Me===Be||Me===Ie||Me===a||Me===Te||Me===ot||Me===Ue||Me===x||typeof Me=="object"&&Me!==null&&(Me.$$typeof===tt||Me.$$typeof===Qe||Me.$$typeof===Oe||Me.$$typeof===le||Me.$$typeof===ut||Me.$$typeof===y||Me.$$typeof===Je||Me[0]===se)},te=z},53410:function(Ut,Gt,te){"use strict";Ut.exports=te(38486)},32637:function(Ut,Gt,te){"use strict";Ut.exports=te.p+"static/AssistantCode3.a8740efb.jpeg"},73631:function(Ut){"use strict";Ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAZxJREFUOBGtlL1Ow0AMgH2XUIkOLFXVASgTsDHxBIAEzAwMPBQjT8AATGVBgEBCYmHmFcICYmBogCbNYSe52HUTVZWwFJ3PP599Z+WMcy6Af5SwYkWnLYifTyBzq5XNK8YNwbbvYP381ZuaVlN1+HJwAc4d1QYaA+gDsHYANrhGHTdCMtSDMILtwSMDn7ZiANPKwyjeQ0Reo4r1gEoEwRkDb7spdPc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