diff --git a/index.html b/index.html index 0137d0e3c3..6108dcd7ad 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__Exercise__Add__index.3e7d58c7.async.js b/p__Classrooms__Lists__Exercise__Add__index.4d9ea351.async.js similarity index 91% rename from p__Classrooms__Lists__Exercise__Add__index.3e7d58c7.async.js rename to p__Classrooms__Lists__Exercise__Add__index.4d9ea351.async.js index 2f81a40d51..4181ce7b07 100644 --- a/p__Classrooms__Lists__Exercise__Add__index.3e7d58c7.async.js +++ b/p__Classrooms__Lists__Exercise__Add__index.4d9ea351.async.js @@ -1,19 +1,19 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[292],{89489:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},59477:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},26227:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},49198:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},41464:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},87169:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},52671:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},8657:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},56082:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},33853:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},12893:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},15075:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},32134:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},43531:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},38819:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},88010:function(Qt,jt){"use strict";jt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43809:function(Qt,jt){"use strict";jt.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"}},7761:function(Qt,jt){"use strict";jt.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"}},84287:function(Qt,jt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,Ge)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):et[Ve]=Ge,le=(et,Ve)=>{for(var Ge in Ve||(Ve={}))Ne.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);if(Be)for(var Ge of Be(Ve))Ze.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);return et};const st=et=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),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"}));jt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},86087:function(Qt,jt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,Ge)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):et[Ve]=Ge,le=(et,Ve)=>{for(var Ge in Ve||(Ve={}))Ne.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);if(Be)for(var Ge of Be(Ve))Ze.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);return et};const st=et=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),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"}));jt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74413:function(){"use strict";function Qt(se,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=se,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Qt.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(Qt.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(Qt.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(Qt.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,E){var a=go.Shape._FigureParameters[se];return a?a[E]:null},go.Shape.setFigureParameter=function(se,E,a){if(!(a instanceof Qt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.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[E]=a};var jt=[];function ee(se,E){var a=jt.pop();return a===void 0?new go.Point(se,E):(a.x=se,a.y=E,a)}function b(){var se=jt.pop();return se===void 0?new go.Point:se}function de(se){jt.push(se)}function Be(se,E,a,x,y,z,ne,re,ue){ue||(ue=new go.Point);var ie=se-a,ve=y-ne,be=NaN,je=NaN;if(ie===0)if(ve===0)se===a&&(be=se,je=E);else{var Ae=(z-re)/ve,He=z-Ae*y;be=se,je=Ae*be+He}else if(ve===0){var he=(E-x)/ie,qe=E-he*se;be=y,je=he*be+qe}else{var he=(E-x)/ie,Ae=(z-re)/ve,qe=E-he*se,He=z-Ae*y;be=(He-qe)/(he-Ae),je=he*be+qe}return ue.x=be,ue.y=je,ue}function Ne(se,E,a,x,y,z,ne,re,ue,ie,ve,be,je,Ae){var He=1-ue,he=ue,qe=se*He+a*he,Ke=E*He+x*he,ht=a*He+y*he,Le=x*He+z*he,ot=y*He+ne*he,lt=z*He+re*he,gt=qe*He+ht*he,ft=Ke*He+Le*he,ln=ht*He+ot*he,xt=Le*He+lt*he,an=gt*He+ln*he,hn=ft*He+xt*he;ie.x=qe,ie.y=Ke,ve.x=gt,ve.y=ft,be.x=an,be.y=hn,je.x=ln,je.y=xt,Ae.x=ot,Ae.y=lt}var Ze=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Qt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/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,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ze,y.spot2=ke,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,le*E,0,E,(1-le)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,le*a,(1-le)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,le*a,le*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-le)*E,0,0,(1-le)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Qt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ze,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,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 Qt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Qt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,E,a){var x=se?se.parameter1:NaN,y=se?se.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ne=y%360,re=Math.min(E,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,E,a){var x=le/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,E,a){var x=se?se.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ne=a/2,re=Math.atan2(a,E),ue=x-Math.min(Math.cos(re)*x/2,z),ie=x-Math.min(Math.sin(re)*x/2,ne),y=new go.Geometry,ve=new go.PathFigure(ue,0,!0);return y.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),ve.add(new go.PathSegment(go.PathSegment.Line,E,ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ve.add(new go.PathSegment(go.PathSegment.Line,ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Qt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,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)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Qt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,le*E,0,E,(.5-le/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+le/2)*a,le*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ne=.3,re=0,ue=z*le;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne+.05)*E,(.5-ue+re-.02)*a)),z=.2,ne=0,re=-.3,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne-.05)*E,(.5-ue+re-.02)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ne=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ne,a*re,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,y=new go.PathFigure((ne+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ne,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(se,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure(ne*E,(re-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),z=.4,y=le*.4;var ie=b(),ve=b(),be=b(),je=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.42,ie,ve,be,je,je);var Ae=b(),He=b(),he=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.58,je,je,he,Ae,He);var qe=b(),Ke=b(),ht=b();Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.42,qe,Ke,ht,je,je);var Le=b(),ot=b(),lt=b();return Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.58,je,je,lt,Le,ot),ue.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Le.x*E,Le.y*a,ot.x*E,ot.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,ie.x*E,ie.y*a,ve.x*E,ve.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,ht.x*E,ht.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,he.x*E,he.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,Ae.x*E,Ae.y*a,He.x*E,He.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*E,ht.y*a,qe.x*E,qe.y*a,Ke.x*E,Ke.y*a).close()),de(ie),de(ve),de(be),de(je),de(Ae),de(He),de(he),de(qe),de(Ke),de(ht),de(Le),de(ot),de(lt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),ie=b(),ve=b(),be=b(),je=new go.PathFigure((ne-z)*E,re*a,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.44,ve,be,ie,ue,ue),je.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a));var Ae=ee(ie.x,ie.y);Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.56,ue,ue,ie,ve,be);var He=ee(ie.x,ie.y);je.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*E,Ae.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ae.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),je.add(new go.PathSegment(go.PathSegment.Line,E,0)),je.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,(He.y*.1+.05*.9)*a)),je.add(new go.PathSegment(go.PathSegment.Line,He.x*E,He.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),z=.35,y=le*.35;var he=new go.PathFigure(ne*E,(re-z)*a,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a));var qe=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(qe),de(ue),de(ie),de(ve),de(be),de(Ae),de(He),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,E,a){var x=new go.Geometry,y=.375,z=0,ne=-.125,re=y*le,ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a,(.5+re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ne=-.125,re=y*le;var ue=new go.PathFigure((1-.5+y+z)*E,(.5+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a,(.5+re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a,(.5-re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a));var ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);return x.add(ue),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,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,E,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*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Qt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Qt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=se?se.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ne=(.5-y/2)*a,re=(.5+y/2)*a,ue=new go.Geometry,ie=new go.PathFigure(0,ne,!0);ue.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.setFigureParameter("Arrow2",0,new Qt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Qt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=se?se.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ne=(a-y)/2,re=ne+y,ue=new go.Geometry,ie=new go.PathFigure(0,ne,!0);ue.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.defineFigureGenerator("Chevron",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Qt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Be(0,.5,.3,0,0,y/a,.1,y/a,b());return ne.spot1=new go.Spot(ue.x,ue.y),ue=Be(.7,1,1,.5,0,z/a,1,z/a,ue),ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Qt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Qt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var be=Be(0,.5,.3,re/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,be),ie.spot2=new go.Spot(be.x,be.y),de(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Qt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,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*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(0,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Qt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Qt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ie.spot1=new go.Spot(0,z/a);var be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,b());return ie.spot2=new go.Spot(be.x,be.y),de(be),ie}),go.Shape.setFigureParameter("Pointer",0,new Qt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Qt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Qt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,.3);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Qt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Qt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,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*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(se,E,a){var x=new go.Geometry,y=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*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.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,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-le*x,(.5+z)*E,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-le*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-le*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,a-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-le*x,(.5+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-le*x));var re=new go.PathFigure(0,a-x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-le*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-le*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-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 y.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)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(E-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-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,E-x,0));var re=new go.PathFigure(E-x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-le*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-le*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(se,E,a){var x=new go.Geometry,y=.2,z=.1,ne=le*y,re=le*z,ue=.5,ie=.1,ve=new go.PathFigure(ue*E,(ie+z)*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-y)*E,ie*a,(ue-ne)*E,(ie+z)*a,(ue-y)*E,(ie+re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-z)*a,(ue-y)*E,(ie-re)*a,(ue-ne)*E,(ie-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+y)*E,ie*a,(ue+ne)*E,(ie-z)*a,(ue+y)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+z)*a,(ue+y)*E,(ie+re)*a,(ue+ne)*E,(ie+z)*a));var be=.05,je=le*be;ue=.05,ie=.25;var Ae=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*E,ie*a,(ue+je)*E,(ie-be)*a,(ue+be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,je=le*be,ue=.825,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,je=le*be,ue=.5,ie=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,je=le*be,ue=.175,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,je=le*be,ue=.05,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue-be)*E,(ie-je)*a,(ue-je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Qt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,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*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.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,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.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,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.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,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.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*E,0,0,(.2-z)*a,(.2-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ne=new go.PathFigure(E,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(se,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=le*.5,re=.5,ue=new go.PathFigure(E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+ne)*a,(re+ne)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*E,a,0,(re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-ne)*a,(re-ne)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+ne)*E,0,E,(re-ne)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(.5*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.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,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.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*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.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,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.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)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-y)*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,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,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.9,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((ne+z)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.4,ne=le*.1,re=.1,ue=.9,ie=.5,ve=new go.PathFigure(.8*E,.5*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((ue+re)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E,ie*a,(ue-ne)*E,(ie+re)*a,(ue-re)*E,(ie+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E,ie*a,(ue+ne)*E,(ie-re)*a,(ue+re)*E,(ie-ne)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ie=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(ne+z+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ve=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z)*E,(re-y)*a,.9*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.1,re=.5,ue=new go.PathFigure((ne-y*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*E,a,(ne+z)*E,0,(ne+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*E,re*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*E,re*a,ne*E,(re-z)*a,ne*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(se,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ne=le*.8,re=.8,ue=0,ie=.5,ve=(y-E)/2,be=(z-a)/2,je=new go.PathFigure(ue*E+ve,(ie+re)*a+be,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie-re)*a+be,(ue-re+ne*.5)*E+ve,(ie-ne)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue-re+ne*.5)*E+ve,(ie+ne)*a+be,ue*E+ve,(ie+re)*a+be).close()),ne=le*.4,re=.4,ue=.2,ie=.5;var Ae=new go.PathFigure(ue*E+ve,(ie+re)*a+be,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie-re)*a+be,(ue-re+ne*.5)*E+ve,(ie-ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue-re+ne*.5)*E+ve,(ie+ne)*a+be,ue*E+ve,(ie+re)*a+be).close()),ne=le*.2,re=.2,ue=.5,ie=.5;var He=new go.PathFigure((ue-re)*E+ve,ie*a+be,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),ne=le*.4,re=.4,ue=.8,ie=.5;var he=new go.PathFigure(ue*E+ve,(ie-re)*a+be,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie+re)*a+be,(ue+re-ne*.5)*E+ve,(ie+ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue+re-ne*.5)*E+ve,(ie-ne)*a+be,ue*E+ve,(ie-re)*a+be).close()),ne=le*.8,re=.8,ue=1,ie=.5;var qe=new go.PathFigure(ue*E+ve,(ie-re)*a+be,!0);return x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie+re)*a+be,(ue+re-ne*.5)*E+ve,(ie+ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue+re-ne*.5)*E+ve,(ie-ne)*a+be,ue*E+ve,(ie-re)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ne=new go.PathFigure(.6*E,a,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),ie=b(),ve=b(),be=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,ie,ve,be);var je=ee(ie.x,ie.y),Ae=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,ie,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),y=le*.3,z=.3,Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,ie,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,be.x*E,be.y*a,ve.x*E,ve.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,ie,ve,be),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,ve.x*E,ve.y*a).close());var Ae=new go.PathFigure(.45*E,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),de(ue),de(ie),de(ve),de(be),de(je),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ne,re,ue){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ue)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.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,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,E,a){var x=new go.Geometry,y=.5,z=0,ne=0,re=y*le,ue=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,ve=1,be=.5,je=.5,Ae=0,He=new go.PathFigure(ue*E,(1-ie)*a,!1);return x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,be*a,ve*E,.7*a,ve*E,be*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je+z)*E,(Ae+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,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*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,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*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ne=.5-.285,re=.5,ue=ne,ie=Math.PI/4,ve=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=ve*.5,je=ne,Ae=ne,He=ve*je,he=ve*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-je)*E,ue*a,(re-(He+je)/2)*E,(ue+(Ae+he)/2)*a,(re-je)*E,(ue+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ue-Ae)*a,(re-je)*E,(ue-he)*a,(re-He)*E,(ue-Ae)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+je)*E,ue*a,(re+He)*E,(ue-Ae)*a,(re+je)*E,(ue-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+je)*E,(ue+he)*a,(re+(He+je)/2)*E,(ue+(Ae+he)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var qe=new go.PathFigure(.2*E,a,!1);x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Ke=new go.PathFigure(.8*E,a,!1);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(.1*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ne=new go.PathFigure(.675*E,.575*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=new go.PathFigure(E,y*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.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*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ne=.1,re=le*.1,ue=.2,ie=.9,ve=new go.PathFigure((ue-ne)*E,ie*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,ie*a,(ue+re)*E,(ie-ne)*a,(ue+ne)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,ie*a,(ue-re)*E,(ie+ne)*a,(ue-ne)*E,(ie+re)*a).close()),ne=.1,re=le*.1,ue=.8,ie=.9;var be=new go.PathFigure((ue-ne)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,ie*a,(ue+re)*E,(ie-ne)*a,(ue+ne)*E,(ie-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,ie*a,(ue-re)*E,(ie+ne)*a,(ue-ne)*E,(ie+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.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*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*E,.8*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,ie=le*.1,ve=.1,be=.9,je=new go.PathFigure((ve-ue)*E,be*a,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-ie)*a,(ve-ie)*E,(be-ue)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+ie)*E,(be-ue)*a,(ve+ue)*E,(be-ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+ie)*a,(ve+ie)*E,(be+ue)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-ie)*E,(be+ue)*a,(ve-ue)*E,(be+ie)*a)),ue=.1,ie=le*.1,ve=.4,be=.9;var Ae=new go.PathFigure((ve-ue)*E,be*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-ie)*a,(ve-ie)*E,(be-ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+ie)*E,(be-ue)*a,(ve+ue)*E,(be-ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+ie)*a,(ve+ie)*E,(be+ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-ie)*E,(be+ue)*a,(ve-ue)*E,(be+ie)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ne=new go.PathFigure(.55*E,.4*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ve=.05,be=le*.05,je=.175,Ae=.95,re=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.375,Ae=.95,ue=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.625,Ae=.95,ie=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.825,Ae=.95,He=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a).close());var he=new go.PathFigure(0,a,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ne=new go.PathFigure(.15*E,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ue=le*.05,ie=.35,ve=.775,be=new go.PathFigure((ie-re)*E,ve*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve-re)*a,(ie-re)*E,(ve-ue)*a,(ie-ue)*E,(ve-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ve*a,(ie+ue)*E,(ve-re)*a,(ie+re)*E,(ve-ue)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve+re)*a,(ie+re)*E,(ve+ue)*a,(ie+ue)*E,(ve+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ve*a,(ie-ue)*E,(ve+re)*a,(ie-re)*E,(ve+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(se,E,a){var x=new go.Geometry,y=.3,z=le*.3,ne=.5,re=.7,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.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,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),y=.05,z=le*.05,ne=.5,re=.8;var ie=new go.PathFigure((ne-y)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.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,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ne=new go.PathFigure(.402*E,.85*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ne=new go.PathFigure(E*.408,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ne=new go.PathFigure(E*.055,.13*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ne=new go.PathFigure(E*.11,a*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,E,a){var x=new go.Geometry,y=8,z=y*le,ne=new go.PathFigure(y,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=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,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ne=new go.PathFigure(E*.28,a*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(se,E,a){var x=new go.Geometry,y=15,z=y*le,ne=new go.PathFigure(E*.62,a*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.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,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.4,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.5,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.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")},80727: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 Qt={},jt="5.0",ee={},b=null,de=!1,Be=!1,Ne=null,Ze=!1,ke=null,le=null,st=0;st4?parseFloat($e):5};Qt.setHTML5Codebase=function($e,dt){le=$e,xt($e,dt)},Qt.setJavaCodebase=Qt.setJavaCodebaseVersion=Qt.isCompiledInstalled=Qt.setPreCompiledScriptPath=Qt.setPreCompiledResourcePath=function(){},Qt.setHTML5CodebaseVersion=function($e,dt){var rn=parseFloat($e);if(rn!==NaN&&rn<5){console.log("The GeoGebra HTML5 codebase version "+rn+" is deprecated. Using version latest instead.");return}ke=$e,ln($e,dt)},Qt.getHTML5CodebaseVersion=function(){return se},Qt.getParameters=function(){return ee},Qt.setFontsCSSURL=function($e){ne=$e},Qt.setGiacJSURL=function($e){},Qt.setJNLPFile=function($e){Ve=$e},Qt.setJNLPBaseDir=function($e){},Qt.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var dt="auto",rn=ee.id,Vn,Zt=!1,Fn=0;Fn=5)return!0;var $e=Qt.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},Qt.startAnimation=function(){var $e=Qt.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},Qt.stopAnimation=function(){var $e=Qt.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},Qt.getAppletObject=function(){var $e=ee.id!==void 0?ee.id:"ggbApplet";return window[$e]},Qt.resize=function(){};var He=function($e,dt,rn){var Vn=document.createElement("param");Vn.setAttribute("name",dt),Vn.setAttribute("value",rn),$e.appendChild(Vn)},he=function($e){return $e&&$e!=="false"},qe=function($e,dt,rn){ue(se)<=4.2&&(rn=!0);var Vn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Vn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var Fn=dt.width,ze=dt.height;if(dt.disableAutoScale=dt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():dt.disableAutoScale,dt.width!==void 0)if(ue(se)<=4.4)he(dt.showToolBar)&&(dt.height-=7),he(dt.showAlgebraInput)&&(dt.height-=37),dt.width<605&&he(dt.showToolBar)&&(dt.width=605,Fn=605);else{var ct=100;(he(dt.showToolBar)||he(dt.showMenuBar))&&(dt.hasOwnProperty("customToolBar")&&(dt.customToolbar=dt.customToolBar),ct=he(dt.showMenuBar)?245:155),Fn=5?(dt.appletOnLoad=function(Me){var yt=$e.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Nt),window.GGBT_wsf_view&&$(window).trigger("resize"),mt(Me)},ut||Nt.appendChild(at)):Zt.appendChild(at),Nt.appendChild(Zt),ut||$e.appendChild(Nt),setTimeout(function(){Qt.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(Zt),$e.appendChild(De),dt.appletOnLoad=function(Me){Qt.resize(),mt(Me)}}function fe(Me,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Me,yt.appletOnLoad):renderGGBElement(Me),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function Xe(Me,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Me,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Bn){fe(Bn.article,Bn.params)}),html5AppletsToProcess=null)},ue(se)<5&&(Me.className+=" geogebraweb")):fe(Me,yt)}if(Vn){scriptLoadStarted=!0;for(var Rt=0;Rt0?(Lt.remove(),Nt.attr("id","fullscreencontent").show(),jQuery(mt).append(Nt),window.dispatchEvent(new Event("resize"))):qe(Lt,dt,!1),window.GGBT_wsf_view.launchFullScreen(mt)}else Ye=Vn,qe($e,dt,!1);if(!window.GGBT_wsf_view)for(ze=0;ze$e/4*3&&(Lt=$e/4*3),mt=Lt/5.8,ct.setAttribute("src",y),ct.setAttribute("width",Lt),ct.setAttribute("height",mt);var Nt=($e-Lt)/2,ut=(dt-mt)/2;ct.style.left=Nt+"px",ct.style.top=ut+"px",Zt.appendChild(ct)}}return Zt.appendChild(ze),Zt},gt=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},ft=["web","webSimple","web3d","tablet","tablet3d","phone"],ln=function($e,dt){if(se=$e,dt){xt(se,!0);return}var rn=!de;if(rn){var Vn=ue(se);!isNaN(Vn)&&Vn<4.4&&(rn=!1)}var Zt,Fn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var ze=se.indexOf("//");ze>0?Fn=se:ze===0?Fn=Zt+se:Fn="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in ft)if(se.slice(ft[ct].length*-1)===ft[ct]||se.slice((ft[ct].length+1)*-1)===ft[ct]+"/"){xt(Fn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&rn&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!he(ee.showToolBar)&&!he(ee.showMenuBar)&&!he(ee.showAlgebraInput)&&!he(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Fn+="webSimple/":Fn+="web3d/",xt(Fn,!1)},xt=function($e,dt){if($e.requirejs){Ge=$e;return}$e.slice(-1)!=="/"&&($e+="/"),Ge=$e,dt===null&&(dt=$e.indexOf("http")===-1),Je=dt,E="web.nocache.js",a=!1;var rn=Ge.split("/");rn.length>1&&(!dt&&rn[rn.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ft.indexOf(rn[rn.length-2])>=0&&(E=rn[rn.length-2]+".nocache.js")),rn=$e.split("/"),se=rn[rn.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 Vn=parseFloat(se);Vn!==NaN&&Vn<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Vn+" is deprecated. Using version latest instead."),ln("5.0",dt))},an=function($e,dt){window.console&&window.console.log&&(!dt||typeof dt.showLogging=="undefined"||dt.showLogging&&dt.showLogging!=="false")&&console.log($e)};ee.material_id!==void 0?be(hn):hn();function hn(){var $e=jt;ke!==null?$e=ke:parseFloat($e)<5&&($e="5.0"),ln($e,!1),le!==null&&xt(le,Je),Ze=!0}return Qt},GGBAppletUtils=function(){"use strict";function Qt(){return window.GGBT_wsf_edit!==void 0}function jt(Ze,ke){ke!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+ke+","+ke+")",Ze.style.webkitTransform="scale("+ke+","+ke+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function ee(Ze,ke,le,st,et,Ve){var Ge=null;if(Ve!=null&&Ve!="")for(var Je=Ze.parentNode;Je!=null;)if((" "+Je.className+" ").indexOf(" "+Ve+" ")>-1){Ge=Je;break}else Je=Je.parentNode;var Ye=0,se=0,E=0,a=0,x=0,y=0,z=0;if(Ge)Ye=Ge.offsetWidth,se=Math.max(st?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,se=window.innerHeight,E=window.innerWidth),Ze){var ne=Ze.getBoundingClientRect();ne.left>0&&ne.left<=Ye&&(et===void 0||!et)&&(document.dir==="rtl"?(x=Ye-ne.width-ne.left,y=E<=480?10:30):(y=ne.left,x=E<=480?10:30),a=y+x)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ze&&((le===void 0||!le)&&ke>0&&ke+a1&&(Ve=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))et=b(Ze,ke,Ve,le,Ze.scaleContainerClass);else return st;return Ve&&(!Ze.hasOwnProperty("scale")||st===1)?et:Math.min(st,et)}function Be(Ze){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),st=Ze.getBoundingClientRect(),et=(ke-st.width)/2,Ve=(le-st.height)/2;Ve<0&&(Ve=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(et<40?Ze.style.left="40px":Ze.style.left=et+"px",Ze.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Ze.style.top="40px":Ze.style.top=Ve+"px",Ze.style.left=et+"px")}function Ne(Ze,ke){var le=Ze.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var st=de(ke,Ze);Qt()&&le.setAttribute("data-param-scale",st);for(var et=null,Ve=0;Ve=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(Qt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Qt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Qt){var jt=c[Qt];return jt==null?null:jt},r=d,webModule.__errFn=e}function B(){function Qt(Ze){var ke=Ze.lastIndexOf(rb);ke==-1&&(ke=Ze.length);var le=Ze.indexOf(sb);le==-1&&(le=Ze.length);var st=Ze.lastIndexOf(tb,Math.min(le,ke));return st>=O?Ze.substring(O,st+P):W}function jt(Ze){if(!Ze.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=Ze+vb,Ze=Qt(ke.src)}return Ze}function ee(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function b(){for(var Ze=o.getElementsByTagName(_),ke=O;keO?Ze[Ze.length-P].href:W}function Be(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var Ne=ee();return Ne==W&&(Ne=b()),Ne==W&&(Ne=de()),Ne==W&&Be()&&(Ne=Qt(o.location.href)),Ne=jt(Ne),Ne}function C(Qt){return Qt.match(/^\//)||Qt.match(/^[a-zA-Z]+:\/\//)?Qt:webModule.__moduleBase+Qt}function D(){var Qt=[],jt=O,ee=[],b=[];function de(Ze){var ke=b[Ze](),le=ee[Ze];if(ke in le)return ke;var st=[];for(var et in le)st[le[et]]=et;throw r&&r(Ze,st,ke),null}if(__gwt_isKnownPropertyValue=function(Ze,ke){return ke in ee[Ze]},webModule.__getPropMap=function(){var Ze={};for(var ke in ee)ee.hasOwnProperty(ke)&&(Ze[ke]=de(ke));return Ze},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Ne=Be.indexOf(Db);Ne!=-1&&(jt=parseInt(Be.substring(Ne+P),$),Be=Be.substring(O,Ne))}catch(Ze){}return webModule.__softPermutationId=jt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},77903:function(Qt,jt,ee){"use strict";ee.d(jt,{Ax:function(){return Ne},Ds:function(){return Ze},KI:function(){return le},SI:function(){return Be},f1:function(){return de}});var b=ee(3294);function de(st){let et=!0;if(st.length>0){for(let Ve=0;Vez in y?Ze(y,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):y[z]=ne,Je=(y,z)=>{for(var ne in z||(z={}))et.call(z,ne)&&Ge(y,ne,z[ne]);if(st)for(var ne of st(z))Ve.call(z,ne)&&Ge(y,ne,z[ne]);return y},Ye=(y,z)=>ke(y,le(z)),se=(y,z)=>{var ne={};for(var re in y)et.call(y,re)&&z.indexOf(re)<0&&(ne[re]=y[re]);if(y!=null&&st)for(var re of st(y))z.indexOf(re)<0&&Ve.call(y,re)&&(ne[re]=y[re]);return ne},E=(y,z,ne)=>new Promise((re,ue)=>{var ie=je=>{try{be(ne.next(je))}catch(Ae){ue(Ae)}},ve=je=>{try{be(ne.throw(je))}catch(Ae){ue(Ae)}},be=je=>je.done?re(je.value):Promise.resolve(je.value).then(ie,ve);be((ne=ne.apply(y,z)).next())}),x=y=>{var z=y,{value:ne,onChange:re,defaultValue:ue,disabled:ie}=z,ve=se(z,["value","onChange","defaultValue","disabled"]);const[be,je]=(0,b.useState)([]),[Ae,He]=(0,b.useState)("1");(0,b.useEffect)(()=>{he()},[]);const he=()=>E(void 0,null,function*(){const ht=yield(0,Be.NZ)({});if(ht!=null&&ht.data){const Le=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ne.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:qe(ht.data||[])}];je(Le),He("2")}}),qe=ht=>{function Le(ot){const lt=ot.children,gt=Array.isArray(lt)&<.length>0,ft=ot==null?void 0:ot.group_id;return{title:b.createElement("div",{title:ot==null?void 0:ot.name,className:Ne.name},ot==null?void 0:ot.name),value:ft,key:ft,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:gt?lt==null?void 0:lt.map(ln=>Le(ln)):[]}}return ht==null?void 0:ht.map(ot=>Le(ot))},Ke=ue?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:ne,defaultExpandedKeys:ne};return b.createElement("div",{className:Ne.customTree},b.createElement(de.default,Je(Ye(Je({key:Ae},Ke),{showIcon:!0,treeData:be,onSelect:re,disabled:ie}),ve)))}},85786:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ne}});var b=ee(59301),de={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ne=({number:Ze,active:ke,className:le})=>b.createElement("div",{className:`${de.digitalLabel} ${ke?de.active:""} ${le}`},Ze)},57647:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return y}});var b=ee(59301),de=ee(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ne=ee(73631),Ze=ee(5623),ke=ee(16149),le=Object.defineProperty,st=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Ye=(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={}))Ge.call(ne,re)&&Ye(z,re,ne[re]);if(Ve)for(var re of Ve(ne))Je.call(ne,re)&&Ye(z,re,ne[re]);return z},E=(z,ne)=>st(z,et(ne)),a=(z,ne,re)=>new Promise((ue,ie)=>{var ve=Ae=>{try{je(re.next(Ae))}catch(He){ie(He)}},be=Ae=>{try{je(re.throw(Ae))}catch(He){ie(He)}},je=Ae=>Ae.done?ue(Ae.value):Promise.resolve(Ae.value).then(ve,be);je((re=re.apply(z,ne)).next())}),y=({value:z,onChange:ne,scrollId:re})=>{const[ue,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>a(void 0,null,function*(){const qe=yield(0,ke.NZ)({});if(qe!=null&&qe.data){const Ke=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:!1,children:be(qe.data||[])}];ie(Ke)}}),be=qe=>qe.map(Ke=>({title:Ke.name,key:Ke.group_id,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:Ke.children.length===0,children:be(Ke.children)})),je=(qe,Ke,ht)=>qe.map(Le=>Le.key===Ke?se(se({},Le),ht):Le.children?E(se({},Le),{children:je(Le.children,Ke,ht)}):Le),Ae=(qe,Ke,ht)=>qe.map(Le=>{if(Le.key===Ke)return E(se({},Le),{icon:ht?b.createElement("img",{src:Ze,className:Be.folderIcon}):b.createElement("img",{src:Ne,className:Be.folderIcon})});if(Le.children)return E(se({},Le),{children:Ae(Le.children,Ke,ht)})}),He=(qe,Ke)=>{ie(ht=>Ae(ht,Ke.node.key,Ke.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ue.length>0&&b.createElement("div",{id:re||""},b.createElement(de.default,se({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ue,className:Be.folderWrapper,onSelect:ne,onExpand:He},he)))}},32570:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ke}});var b=ee(60324),de={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=ee(32637),Ne=ee(59301),ke=({type:le,style:st})=>{const et=Ne.createElement("div",{className:de.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Ne.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",Ne.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"),Ne.createElement("div",{className:de.contact},Ne.createElement("div",{className:de.img},Ne.createElement("img",{src:Be,width:"124px",height:"124px"})),Ne.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ne.createElement(b.Z,{content:et},Ne.createElement("span",{className:de.text,style:st},"\u9AD8\u6D88\u8017"))}},73524:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ge}});var b=ee(59301),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(71418),ke=ee(2859),le=ee(99064),st=ee(955),et=(Je,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Je,Ye)).next())}),Ge=({data:Je,className:Ye,fullWidth:se,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const ne=(0,b.useRef)(null),re=(0,b.useRef)(null),ue=(0,b.useRef)(null),ie=(0,b.useRef)(null),[ve,be]=(0,b.useState)(!1),[je,Ae]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{ue.current||(ue.current=document.createElement("style"),document.head.appendChild(ue.current)),Je!=null&&Je.visible?(document.body.setAttribute("data-custom","y-hidden"),ue.current.innerHTML=" html { overflow-y: hidden; }",Je!=null&&Je.src&&He()):(document.body.removeAttribute("data-custom"),ue.current&&(document.head.removeChild(ue.current),ue.current=null))},[Je==null?void 0:Je.visible]);const He=()=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,st.ZJ)(Je==null?void 0:Je.src);ne.current.src="",ne.current.src=Le,ne.current.onload=function(){ht()},be(!1),Ae("")}),he=()=>{document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",a()},qe=Le=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Je.title,file:Le.dataUrl}});ot!=null&&ot.id&&!z?(yield(0,le.ZP)(`/api/attachments/${Je.id}/add_subitem.json`,{method:"post",body:{subitem_id:ot==null?void 0:ot.id,settings:JSON.stringify(Le.state)}})).status===0&&x():ot!=null&&ot.id&&x(ot),document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",be(!1),Ae("")}),Ke=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.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(lt=>{const gt=document.querySelector(lt.name);gt&>.setAttribute("title",lt.title)})},ht=()=>{re.current=new ke.hP(ne.current),re.current.targetRoot=ie.current,re.current.addEventListener("render",qe),re.current.addEventListener("beforeclose",he),y&&(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(),Je!=null&&Je.snapshotData&&re.current.restoreState(Je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ke()},300)};return b.createElement(b.Fragment,null,(Je==null?void 0:Je.visible)&&b.createElement(Ze.Z,{spinning:ve,tip:je,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ne()(de.imageDimensions,Ye,se?de.fullWidth:""),style:E},b.createElement("img",{className:de.img,ref:ne}))))}},14791:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return at},$:function(){return ut}});var b=ee(59301),de={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=ee(92310),Ne=ee.n(Be),Ze=ee(78241),ke=ee(8591),le=ee(43418),st=ee(5871),et=ee(95237),Ve=ee(24905),Ge=ee(38854),Je=ee(54580),Ye=ee(3113),se=ee(93948),E=ee(19842),a=ee(92832),x=ee(5112),y=ee(6848),z=ee(43604),ne=ee(29458),re=ee(3294),ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5D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=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,St);nt((Xe=Xe.apply(De,fe)).next())}),gt=b.memo(({tagName:De="div",value:fe="",className:Xe,style:Rt={},onBlur:Oe,id:Ie})=>{const St=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!St.current)return;ot(void 0,null,function*(){const yt=St.current;yt.innerHTML="";const Bn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const nn of Bn)if(nn.startsWith("$$")&&nn.endsWith("$$")||nn.startsWith("`$$")&&nn.endsWith("$$`")){const dn=nn.startsWith("`$$")?nn.slice(3,-3):nn.slice(2,-2),un=document.createElement("span");un.setAttribute("contentEditable","false"),un.setAttribute("title",nn),un.className="edu_latex",yt.appendChild(un),Le().render(dn,un,{throwOnError:!1})}else{const dn=nn==null?void 0:nn.replace(/<[^>]*>/g,un=>un.startsWith("{var Me,yt;if(Oe&&St.current){const nn=St.current.cloneNode(!0),dn=nn.querySelectorAll("span.edu_latex");for(let un of dn){const yn=un.getAttribute("title"),Te=document.createTextNode(yn||""),Ft=un;(yt=(Me=Ft.parentNode)==null?void 0:Me.replaceChild)==null||yt.call(Me,Te,Ft)}Oe(nn.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(De,{ref:St,contentEditable:!0,className:Xe,style:Rt,onBlur:nt}))}),ft=ee(34604),ln=Object.defineProperty,xt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,rn=(De,fe,Xe)=>fe in De?ln(De,fe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[fe]=Xe,Vn=(De,fe)=>{for(var Xe in fe||(fe={}))$e.call(fe,Xe)&&rn(De,Xe,fe[Xe]);if(hn)for(var Xe of hn(fe))dt.call(fe,Xe)&&rn(De,Xe,fe[Xe]);return De},Zt=(De,fe)=>xt(De,an(fe)),Fn=(De,fe,Xe)=>new Promise((Rt,Oe)=>{var Ie=Me=>{try{nt(Xe.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{nt(Xe.throw(Me))}catch(yt){Oe(yt)}},nt=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,St);nt((Xe=Xe.apply(De,fe)).next())});const ze=De=>{De.preventDefault();let Xe=(De.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Xe)},ct=De=>{De.key==="Enter"&&De.preventDefault()},Lt=({children:De,style:fe})=>b.createElement("div",{className:de.leftBox,style:fe,onPaste:ze},De),mt=({children:De,style:fe,className:Xe})=>b.createElement("div",{className:Ne()(de.rightBox,Xe),style:fe,onPaste:ze},De),Nt=({className:De,style:fe={},width:Xe=1200,onCancel:Rt=()=>{},onSuccess:Oe=()=>{},gather:Ie={},mode:St=1,stickyTop:nt=0,subDisciplineId:Me=[],hideWordFeatures:yt,dataSource:Bn=[],customLeftHeadNode:nn,customRightHeadNode:dn,customLeftContent:un,hideRecognition:yn=!1,onExchange:Te,isSingleSelection:Ft=!1,underpinBackgroundStyle:zt={},headExtraNode:wt,isRefreshItemBank:kt=!1,okText:sn="\u786E\u5B9A\u5BFC\u5165"})=>{var cn;const[Ln,Jn]=(0,b.useState)(1),[va,Da]=(0,b.useState)(0),[Na,ar]=(0,b.useState)(""),[$a,fa]=(0,b.useState)(!1),[yr,en]=(0,b.useState)([]),[On,ia]=(0,b.useState)([]),[xa,We]=(0,b.useState)(!1),[It,_t]=(0,b.useState)(!1),[Vt,Gt]=(0,b.useState)(!1),[Rn,wn]=(0,b.useState)(!1),[vt,Bt]=(0,b.useState)([]),[pt,Sn]=(0,b.useState)(1),[Wn,An]=(0,b.useState)(!1),[ka,pa]=(0,b.useState)(!1),[_n,Ea]=(0,b.useState)(!0),[Pa,Dn]=(0,b.useState)(0),[lr,Nr]=(0,b.useState)(1),[Ur,Sr]=(0,b.useState)(""),[Ue,bn]=(0,b.useState)([]),[Xt,Nn]=(0,b.useState)(0),[Kn,la]=(0,b.useState)(0),[Qn,Un]=(0,b.useState)(0),[ur,da]=(0,b.useState)(0),[En,dr]=(0,b.useState)(0),[xr]=Ze.default.useForm(),[Wr]=Ze.default.useForm(),Ir=(0,b.useRef)(null),ha=(0,b.useRef)(null),za=(0,b.useRef)(),Ua=["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"],La=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Bn!=null&&Bn.length&&Pl(Bn)},[Bn]),(0,b.useEffect)(()=>{Ln===2&&Ir.current.focus()},[Ln]),(0,b.useEffect)(()=>{Vt&&no()},[Vt]);const Or=()=>{if(Ln===1){ke.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:()=>Fn(void 0,null,function*(){Jn(1)})})},no=()=>Fn(void 0,null,function*(){const we=yield(0,je.ZP)("/api/disciplines.json",{method:"get",params:{source:St===1?"new_question":"subject"}});Bt(we.disciplines||[])}),Fr=we=>{const fn=[],Mn=(Sa,on)=>{Sa.length>=2&&fn.push(Sa.join(""));for(let Ma=on;Ma(we=we||"",we=String(we),we=we.replace(/\s+/g,""),we),Pr=we=>(we=we||"",we=String(we),we=we.replace(/
/g,""),we=we.replace(/
/g,` +(self.webpackChunk=self.webpackChunk||[]).push([[292],{89489:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},59477:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},26227:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},49198:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},41464:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},87169:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},52671:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},8657:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},56082:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},33853:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},12893:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},15075:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},32134:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},43531:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},38819:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ve,Ge){return de.createElement(Ze.Z,(0,b.Z)({},Ve,{ref:Ge,icon:Ne}))},le=de.forwardRef(ke),st=le},88010:function(Qt,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"}},43809:function(Qt,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"}},7761:function(Qt,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"}},84287:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,Ge)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):et[Ve]=Ge,le=(et,Ve)=>{for(var Ge in Ve||(Ve={}))Ne.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);if(Be)for(var Ge of Be(Ve))Ze.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);return et};const st=et=>React.createElement("svg",le({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),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+"},86087:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(et,Ve,Ge)=>Ve in et?de(et,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):et[Ve]=Ge,le=(et,Ve)=>{for(var Ge in Ve||(Ve={}))Ne.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);if(Be)for(var Ge of Be(Ve))Ze.call(Ve,Ge)&&ke(et,Ge,Ve[Ge]);return et};const st=et=>React.createElement("svg",le({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},et),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=="},74413:function(){"use strict";function Qt(se,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=se,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Qt.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(Qt.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(Qt.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(Qt.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,E){var a=go.Shape._FigureParameters[se];return a?a[E]:null},go.Shape.setFigureParameter=function(se,E,a){if(!(a instanceof Qt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.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[E]=a};var Gt=[];function ee(se,E){var a=Gt.pop();return a===void 0?new go.Point(se,E):(a.x=se,a.y=E,a)}function b(){var se=Gt.pop();return se===void 0?new go.Point:se}function de(se){Gt.push(se)}function Be(se,E,a,x,y,z,ne,re,ue){ue||(ue=new go.Point);var ie=se-a,ve=y-ne,be=NaN,je=NaN;if(ie===0)if(ve===0)se===a&&(be=se,je=E);else{var Ae=(z-re)/ve,He=z-Ae*y;be=se,je=Ae*be+He}else if(ve===0){var he=(E-x)/ie,qe=E-he*se;be=y,je=he*be+qe}else{var he=(E-x)/ie,Ae=(z-re)/ve,qe=E-he*se,He=z-Ae*y;be=(He-qe)/(he-Ae),je=he*be+qe}return ue.x=be,ue.y=je,ue}function Ne(se,E,a,x,y,z,ne,re,ue,ie,ve,be,je,Ae){var He=1-ue,he=ue,qe=se*He+a*he,Ke=E*He+x*he,ht=a*He+y*he,Le=x*He+z*he,ot=y*He+ne*he,lt=z*He+re*he,gt=qe*He+ht*he,ft=Ke*He+Le*he,ln=ht*He+ot*he,xt=Le*He+lt*he,an=gt*He+ln*he,hn=ft*He+xt*he;ie.x=qe,ie.y=Ke,ve.x=gt,ve.y=ft,be.x=an,be.y=hn,je.x=ln,je.y=xt,Ae.x=ot,Ae.y=lt}var Ze=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Qt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=x*le,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-y,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,y,a,0,a-y)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()));return y>1&&(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,1,-y,-y)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/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,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,E,a){var x=E/2,y=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return y.spot1=Ze,y.spot2=ke,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(se,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,le*E,0,E,(1-le)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,le*a,(1-le)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,le*a,le*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-le)*E,0,0,(1-le)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Qt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-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,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),y.5&&(x=.5);var y=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())),yE&&(x=E/2);var y=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,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,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-y,a)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())):z.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,E-y,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),y0&&(ne.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),ne.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,re,re).close())),z.spot1=Ze,z.spot2=ke,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,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 Qt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Qt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,E,a){var x=se?se.parameter1:NaN,y=se?se.parameter2:NaN;isNaN(x)&&(x=0),isNaN(y)&&(y=315);var z=x%360;z<0&&(z+=360);var ne=y%360,re=Math.min(E,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,E,a){var x=le/Math.SQRT2*.5,y=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*E,z*a,E,(1-x)*a,(y+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=Math.min(x,E)/2,z=E/2,ne=a/2;return new go.Geometry().add(new go.PathFigure(z-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+y,0)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne-y)).add(new go.PathSegment(go.PathSegment.Line,E,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,z+y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,a)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne+y)).add(new go.PathSegment(go.PathSegment.Line,0,ne-y)).add(new go.PathSegment(go.PathSegment.Line,z-y,ne-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,E,a){var x=se?se.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=E,y.endY=a,y}else{var z=E/2,ne=a/2,re=Math.atan2(a,E),ue=x-Math.min(Math.cos(re)*x/2,z),ie=x-Math.min(Math.sin(re)*x/2,ne),y=new go.Geometry,ve=new go.PathFigure(ue,0,!0);return y.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,0)),ve.add(new go.PathSegment(go.PathSegment.Line,E,ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,E,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,E-ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),ve.add(new go.PathSegment(go.PathSegment.Line,ue,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a-ie)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ie).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new Qt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var y=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new Qt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,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)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new Qt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.5);var y=new go.Geometry,z=new go.PathFigure(0,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,le*E,0,E,(.5-le/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+le/2)*a,le*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.4*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,ne=.3,re=0,ue=z*le;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne+.05)*E,(.5-ue+re-.02)*a)),z=.2,ne=0,re=-.3,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+ne)*E,(.5+re)*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne)*E,(.5-ue+re)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ue+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),z=.2,ne=-.3,re=0,ue=z*le,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5-z+re)*a,(1-.5+z+ne-.05)*E,(.5-ue+re-.02)*a,(.5+ue+ne)*E,(.5-z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+ne)*E,(.5+re)*a,(.5-ue+ne)*E,(.5-z+re)*a,(.5-z+ne)*E,(.5-ue+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ne)*E,(.5+z+re)*a,(.5-z+ne)*E,(.5+ue+re)*a,(.5-ue+ne)*E,(.5+z+re)*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ue+ne)*E,(.5+z+re)*a,(.5+z+ne)*E,(.5+ue+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,ne=.5,re=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(ne+z)*E,re*a)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ne,a*re,z*E,z*E).close()),y=new go.PathFigure(E*.5,0,!1),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,y=new go.PathFigure((ne+z)*E,re*a,!0),x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ne,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(se,E,a){var x=.8535533905932737,y=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,z,y,z)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,y,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure(ne*E,(re-z)*a);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),z=.4,y=le*.4;var ie=b(),ve=b(),be=b(),je=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.42,ie,ve,be,je,je);var Ae=b(),He=b(),he=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.58,je,je,he,Ae,He);var qe=b(),Ke=b(),ht=b();Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.42,qe,Ke,ht,je,je);var Le=b(),ot=b(),lt=b();return Ne(ne,re+z,ne-y,re+z,ne-z,re+y,ne-z,re,.58,je,je,lt,Le,ot),ue.add(new go.PathSegment(go.PathSegment.Move,lt.x*E,lt.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,Le.x*E,Le.y*a,ot.x*E,ot.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be.x*E,be.y*a,ie.x*E,ie.y*a,ve.x*E,ve.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,lt.x*E,lt.y*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,ht.x*E,ht.y*a)),ue.add(new go.PathSegment(go.PathSegment.Line,he.x*E,he.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,Ae.x*E,Ae.y*a,He.x*E,He.y*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ht.x*E,ht.y*a,qe.x*E,qe.y*a,Ke.x*E,Ke.y*a).close()),de(ie),de(ve),de(be),de(je),de(Ae),de(He),de(he),de(qe),de(Ke),de(ht),de(Le),de(ot),de(lt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Qt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var y=(E-x)/2,z=y+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),ie=b(),ve=b(),be=b(),je=new go.PathFigure((ne-z)*E,re*a,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.44,ve,be,ie,ue,ue),je.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a));var Ae=ee(ie.x,ie.y);Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.56,ue,ue,ie,ve,be);var He=ee(ie.x,ie.y);je.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*E,Ae.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*E,Ae.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),je.add(new go.PathSegment(go.PathSegment.Line,E,0)),je.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(He.x*.1+.9)*E,(He.y*.1+.05*.9)*a)),je.add(new go.PathSegment(go.PathSegment.Line,He.x*E,He.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),z=.35,y=le*.35;var he=new go.PathFigure(ne*E,(re-z)*a,!1);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a));var qe=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(qe),de(ue),de(ie),de(ve),de(be),de(Ae),de(He),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,E,a){var x=new go.Geometry,y=.375,z=0,ne=-.125,re=y*le,ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a,(.5+re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),y=.325,z=0,ne=-.125,re=y*le;var ue=new go.PathFigure((1-.5+y+z)*E,(.5+ne)*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+y+ne)*a,(.5+y+z)*E,(.5+re+ne)*a,(.5+re+z)*E,(.5+y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5+y+ne)*a,(.5-y+z)*E,(.5+re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a,(.5-re+z)*E,(.5-y+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+z)*E,(.5+ne)*a,(.5+re+z)*E,(.5-y+ne)*a,(1-.5+y+z)*E,(.5-re+ne)*a));var ue=new go.PathFigure((.525+z)*E,(.5+y+ne)*a,!1);return x.add(ue),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,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,E,a){var x=se?se.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,E,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*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Qt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Qt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=se?se.parameter2:NaN;isNaN(y)&&(y=.3);var z=(1-x)*E,ne=(.5-y/2)*a,re=(.5+y/2)*a,ue=new go.Geometry,ie=new go.PathFigure(0,ne,!0);ue.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.setFigureParameter("Arrow2",0,new Qt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Qt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var y=se?se.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,a/2);var z=E-x,ne=(a-y)/2,re=ne+y,ue=new go.Geometry,ie=new go.PathFigure(0,ne,!0);ue.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z,ne)),ie.add(new go.PathSegment(go.PathSegment.Line,z,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,a)),ie.add(new go.PathSegment(go.PathSegment.Line,z,re)),ie.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ue.spot1=new go.Spot(0,ne/a);var ve=Be(0,re/a,1,re/a,z/E,1,1,.5,b());return ue.spot2=new go.Spot(ve.x,ve.y),de(ve),ue}),go.Shape.defineFigureGenerator("Chevron",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Qt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ue=Be(0,.5,.3,0,0,y/a,.1,y/a,b());return ne.spot1=new go.Spot(ue.x,ue.y),ue=Be(.7,1,1,.5,0,z/a,1,z/a,ue),ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Qt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Qt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var be=Be(0,.5,.3,re/a,0,z/a,1,z/a,b());return ie.spot1=new go.Spot(be.x,be.y),be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,be),ie.spot2=new go.Spot(be.x,be.y),de(be),ie}),go.Shape.setFigureParameter("IBeamArrow",0,new Qt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,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*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(0,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("IBeamArrow2",0,new Qt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Qt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=40);var y=se?se.parameter2:NaN;isNaN(y)&&(y=100);var z=(a-x)/2,ne=z+x,re=(a-y)/2,ue=re+y;(x>a||y>a)&&(y>x?(x=x*a/y,z=(a-x)/2,ne=z+x,re=0,ue=a):(z=0,ne=a,re=0,ue=a));var ie=new go.Geometry,ve=new go.PathFigure(E,.5*a,!0);ie.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ne)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,ue)),ve.add(new go.PathSegment(go.PathSegment.Line,0,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ve.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ie.spot1=new go.Spot(0,z/a);var be=Be(.7,ue/a,1,.5,0,ne/a,1,ne/a,b());return ie.spot2=new go.Spot(be.x,be.y),de(be),ie}),go.Shape.setFigureParameter("Pointer",0,new Qt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.1);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(x,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("RoundedPointer",0,new Qt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.3);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),y.spot1=new go.Spot(x,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,b());return y.spot2=new go.Spot(ne.x,ne.y),de(ne),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new Qt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.4);var y=(.5-x/2)*a,z=(.5+x/2)*a,ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,.3);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Qt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=50);var y=(a-x)/2,z=y+x;x>a&&(y=0,z=a);var ne=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,y)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ne.spot1=new go.Spot(.2,y/a);var ue=Be(.7,1,1,.5,0,z/a,1,z/a,b());return ne.spot2=new go.Spot(ue.x,ue.y),de(ue),ne}),go.Shape.setFigureParameter("SquareArrow",0,new Qt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.7);var y=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,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*E,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(x,1),y}),go.Shape.defineFigureGenerator("Cone1",function(se,E,a){var x=new go.Geometry,y=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*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.9*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.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,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.3*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-le*x,(.5+z)*E,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-le*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-le*x)),y.spot1=new go.Spot(0,0,0,2*x),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(0,a-x,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,le*x,(.5-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,le*x)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-le*x,(.5+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-le*x));var re=new go.PathFigure(0,a-x,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-le*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-le*x)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*x),y}),go.Shape.defineFigureGenerator("Cylinder3",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-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 y.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)),y.spot1=new go.Spot(0,0,2*x,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var y=new go.Geometry,z=le*.5,ne=new go.PathFigure(E-x,0,!0);y.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-le*x,0,E,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-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,E-x,0));var re=new go.PathFigure(E-x,0,!1);return y.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-le*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-le*x,a)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*x,0),y}),go.Shape.defineFigureGenerator("Prism1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(se,E,a){var x=new go.Geometry,y=.2,z=.1,ne=le*y,re=le*z,ue=.5,ie=.1,ve=new go.PathFigure(ue*E,(ie+z)*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-y)*E,ie*a,(ue-ne)*E,(ie+z)*a,(ue-y)*E,(ie+re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-z)*a,(ue-y)*E,(ie-re)*a,(ue-ne)*E,(ie-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+y)*E,ie*a,(ue+ne)*E,(ie-z)*a,(ue+y)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+z)*a,(ue+y)*E,(ie+re)*a,(ue+ne)*E,(ie+z)*a));var be=.05,je=le*be;ue=.05,ie=.25;var Ae=new go.PathFigure(.5*E,.2*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ue=.95,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*E,ie*a,(ue+je)*E,(ie-be)*a,(ue+be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),be=.025,je=le*be,ue=.825,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),be=.05,je=le*be,ue=.5,ie=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),be=.025,je=le*be,ue=.175,ie=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue+be)*E,(ie-je)*a,(ue+je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*E,ie*a,(ue-je)*E,(ie-be)*a,(ue-be)*E,(ie-je)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),be=.05,je=le*be,ue=.05,ie=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-be)*a,(ue-be)*E,(ie-je)*a,(ue-je)*E,(ie-be)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Qt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,E,a){var x=se?se.parameter1:NaN;isNaN(x)&&(x=.2);var y=new go.Geometry,z=new go.PathFigure(E,0,!0);return y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,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*E,0).close()),y.spot1=new go.Spot(0,x),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("Database",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+y)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-y)*E,.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,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.1,ne=new go.PathFigure(E,.1*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-y)*E,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*E,0,0,(.1-z)*a,(.5-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+y)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+y)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-y)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+y)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-y)*E,.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,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),y.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,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.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*E,0,0,(.2-z)*a,(.2-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(0,y*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,y*a)),x}),go.Shape.defineFigureGenerator("Document",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,y*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,(1-y)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var ne=new go.PathFigure(E,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(se,E,a){var x=new go.Geometry,y=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=le*.5,re=.5,ue=new go.PathFigure(E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+ne)*a,(re+ne)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-ne)*E,a,0,(re+ne)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-ne)*a,(re-ne)*E,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+ne)*E,0,E,(re-ne)*a));var ie=new go.PathFigure((z+y)*E,(z+y)*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ie.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(z+y)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(.5*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+y)*a,(z+y)*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,y*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),y.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,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.1*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=1-y,ne=new go.PathFigure(0,0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*y*E,y*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*E,y*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),y.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,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,.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*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(se,E,a){var x=new go.Geometry;a=a/.8;var y=new go.PathFigure(0,.7*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.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,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN,z=se?se.parameter2:NaN;isNaN(y)&&(y=.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)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure((1-y)*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,y*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.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,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.25);var z=new go.PathFigure(y*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var ne=new go.PathFigure(y*E,0,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*E,a)),ne.add(new go.PathSegment(go.PathSegment.Move,(1-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,(1-y)*E,a)),x.spot1=new go.Spot(y,0),x.spot2=new go.Spot(1-y,1),x}),go.Shape.defineFigureGenerator("Terminator",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.25*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,E,a){var x=new go.Geometry,y=se?se.parameter1:NaN;isNaN(y)&&(y=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-y)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+y)*E,0,E,(.5-y)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+y)*a,(.5+y)*E,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,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.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,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=new go.PathFigure(E,z*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+y)*a,(z+y)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-y)*E,a,0,(z+y)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-y)*a,(z-y)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+y)*E,0,E,(z-y)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ue=new go.PathFigure(.8*E,.75*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.9,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,a)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ie=new go.PathFigure((ne+z)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(se,E,a){var x=new go.Geometry,y=le*.5,z=le*.4,ne=le*.1,re=.1,ue=.9,ie=.5,ve=new go.PathFigure(.8*E,.5*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+y)*E,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,0)),ve.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),ve.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+y)*E,0,.8*E,(.5-z)*a));var be=new go.PathFigure((ue+re)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E,ie*a,(ue-ne)*E,(ie+re)*a,(ue-re)*E,(ie+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E,ie*a,(ue+ne)*E,(ie-re)*a,(ue+re)*E,(ie-ne)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(.8*E,.5*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ie=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=0,re=.5,ue=new go.PathFigure(0,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z+z)*E,(re-y)*a,.8*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(ne+z+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(ne+z)*E,(re-y)*a,.7*E,(re-z)*a)),y=.1,z=le*.1,ne=.9,re=.5;var ve=new go.PathFigure((ne-y)*E,re*a,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(se,E,a){var x=new go.Geometry,y=.5,z=le*y,ne=.2,re=.5,ue=new go.PathFigure(.1*E,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ie=new go.PathFigure(.2*E,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(ne+z)*E,(re-y)*a,.9*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(se,E,a){var x=new go.Geometry,y=le*.1,z=.1,ne=.1,re=.5,ue=new go.PathFigure((ne-y*.5)*E,a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.3,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.5,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.7,ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,a,(ne+z)*E,0,(ne+y)*E,a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,0,(ne-y)*E,a,(ne-z)*E,0)),ne=.9,ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y*.5)*E,a,(ne+z)*E,0,(ne+y)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,E,a){var x=new go.Geometry,y=le*.5,z=.5,ne=.5,re=.5,ue=new go.PathFigure((ne-z)*E,re*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-z)*a,(ne-z)*E,(re-y)*a,(ne-y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re-z)*a,(ne+z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Move,(ne-z+.1)*E,re*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z-.1)*E,re*a,ne*E,(re-z)*a,ne*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(se,E,a){var x=new go.Geometry,y=E,z=a;E=E*.38,a=a*.6;var ne=le*.8,re=.8,ue=0,ie=.5,ve=(y-E)/2,be=(z-a)/2,je=new go.PathFigure(ue*E+ve,(ie+re)*a+be,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie-re)*a+be,(ue-re+ne*.5)*E+ve,(ie-ne)*a+be)),je.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue-re+ne*.5)*E+ve,(ie+ne)*a+be,ue*E+ve,(ie+re)*a+be).close()),ne=le*.4,re=.4,ue=.2,ie=.5;var Ae=new go.PathFigure(ue*E+ve,(ie+re)*a+be,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re+ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie-re)*a+be,(ue-re+ne*.5)*E+ve,(ie-ne)*a+be)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue-re+ne*.5)*E+ve,(ie+ne)*a+be,ue*E+ve,(ie+re)*a+be).close()),ne=le*.2,re=.2,ue=.5,ie=.5;var He=new go.PathFigure((ue-re)*E+ve,ie*a+be,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue-re)*E+ve,(ie-ne)*a+be,(ue-ne)*E+ve,(ie-re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),He.add(new go.PathSegment(go.PathSegment.Bezier,(ue-re)*E+ve,ie*a+be,(ue-ne)*E+ve,(ie+re)*a+be,(ue-re)*E+ve,(ie+ne)*a+be)),ne=le*.4,re=.4,ue=.8,ie=.5;var he=new go.PathFigure(ue*E+ve,(ie-re)*a+be,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie+re)*a+be,(ue+re-ne*.5)*E+ve,(ie+ne)*a+be)),he.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue+re-ne*.5)*E+ve,(ie-ne)*a+be,ue*E+ve,(ie-re)*a+be).close()),ne=le*.8,re=.8,ue=1,ie=.5;var qe=new go.PathFigure(ue*E+ve,(ie-re)*a+be,!0);return x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re)*E+ve,ie*a+be,(ue+ne)*E+ve,(ie-re)*a+be,(ue+re)*E+ve,(ie-ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie+re)*a+be,(ue+re)*E+ve,(ie+ne)*a+be,(ue+ne)*E+ve,(ie+re)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+re-ne*.5)*E+ve,ie*a+be,ue*E+ve,(ie+re)*a+be,(ue+re-ne*.5)*E+ve,(ie+ne)*a+be)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ue*E+ve,(ie-re)*a+be,(ue+re-ne*.5)*E+ve,(ie-ne)*a+be,ue*E+ve,(ie-re)*a+be).close()),x}),go.Shape.defineFigureGenerator("Email",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.35*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var ne=new go.PathFigure(.6*E,a,!0,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(se,E,a){var x=new go.Geometry,y=le*.4,z=.4,ne=.5,re=.5,ue=b(),ie=b(),ve=b(),be=b();Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,ie,ve,be);var je=ee(ie.x,ie.y),Ae=new go.PathFigure(ie.x*E,ie.y*a,!0);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne+z)*E,(re+y)*a,(ne+y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,(ne-y)*E,(re+z)*a,(ne-z)*E,(re+y)*a)),Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,ie,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,ve.x*E,ve.y*a,be.x*E,be.y*a)),y=le*.3,z=.3,Ne(ne-z,re,ne-z,re-y,ne-y,re-z,ne,re-z,.5,ve,be,ie,ue,ue),Ae.add(new go.PathSegment(go.PathSegment.Line,ie.x*E,ie.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*E,re*a,be.x*E,be.y*a,ve.x*E,ve.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+z)*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*E,re*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),Ne(ne,re-z,ne+y,re-z,ne+z,re-y,ne+z,re,.5,ue,ue,ie,ve,be),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie.x*E,ie.y*a,be.x*E,be.y*a,ve.x*E,ve.y*a).close());var Ae=new go.PathFigure(.45*E,0,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),de(ue),de(ie),de(ve),de(be),de(je),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a/2,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(ne,re,ue){ne.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ue)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ue)*a).close())}return z(y,0,0),z(y,.4,0),z(y,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),y.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,E,a){var x=new go.Geometry,y=new go.PathFigure(.37*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),y.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),y.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),y.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,E,a){var x=new go.Geometry,y=.5,z=0,ne=0,re=y*le,ue=.4*Math.SQRT2/2+.5,ie=.5-.5*Math.SQRT2/2,ve=1,be=.5,je=.5,Ae=0,He=new go.PathFigure(ue*E,(1-ie)*a,!1);return x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,be*a,ve*E,.7*a,ve*E,be*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je+z)*E,(Ae+z)*a,(.5+y+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-y+z)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+z)*E,(.5+ne)*a,(.5-re+z)*E,(.5-y+ne)*a,(.5-y+z)*E,(.5-re+ne)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-y+z)*E,(.5+re+ne)*a,(.5-re+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),He.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,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*E,.5*a,.2*E,.35*a,.3*E,.35*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var y=new go.PathFigure(0,.2*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.7*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,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*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var ne=.5-.285,re=.5,ue=ne,ie=Math.PI/4,ve=4*(1-Math.cos(ie))/(3*Math.sin(ie)),be=ve*.5,je=ne,Ae=ne,He=ve*je,he=ve*Ae;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-je)*E,ue*a,(re-(He+je)/2)*E,(ue+(Ae+he)/2)*a,(re-je)*E,(ue+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ue-Ae)*a,(re-je)*E,(ue-he)*a,(re-He)*E,(ue-Ae)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+je)*E,ue*a,(re+He)*E,(ue-Ae)*a,(re+je)*E,(ue-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+je)*E,(ue+he)*a,(re+(He+je)/2)*E,(ue+(Ae+he)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var qe=new go.PathFigure(.2*E,a,!1);x.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var Ke=new go.PathFigure(.8*E,a,!1);return x.add(Ke),Ke.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y);var z=new go.PathFigure(E,a,!1);x.add(z);var ne=new go.PathFigure(.1*E,a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.05*E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.45*E,.95*a,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),y.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),y.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var ne=new go.PathFigure(.675*E,.575*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),ne.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=new go.PathFigure(E,y*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,a,E,(y+z)*a,(y+z)*E,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,y*a,(y-z)*E,a,0,(y+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y*E,0,0,(y-z)*a,(y-z)*E,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E,y*a,(y+z)*E,0,E,(y-z)*a));var re=new go.PathFigure(y*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,y*E,y*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.15*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.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*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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*E,.6*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.45*E,.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,E,a){var x=new go.Geometry,y=new go.PathFigure(.15*E,.6*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),y.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var ne=.1,re=le*.1,ue=.2,ie=.9,ve=new go.PathFigure((ue-ne)*E,ie*a,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,ie*a,(ue+re)*E,(ie-ne)*a,(ue+ne)*E,(ie-re)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,ie*a,(ue-re)*E,(ie+ne)*a,(ue-ne)*E,(ie+re)*a).close()),ne=.1,re=le*.1,ue=.8,ie=.9;var be=new go.PathFigure((ue-ne)*E,ie*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie-ne)*a,(ue-ne)*E,(ie-re)*a,(ue-re)*E,(ie-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ne)*E,ie*a,(ue+re)*E,(ie-ne)*a,(ue+ne)*E,(ie-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ue*E,(ie+ne)*a,(ue+ne)*E,(ie+re)*a,(ue+re)*E,(ie+ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ne)*E,ie*a,(ue-re)*E,(ie+ne)*a,(ue-ne)*E,(ie+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.2*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.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*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var ne=new go.PathFigure(.5*E,.8*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ue=.1,ie=le*.1,ve=.1,be=.9,je=new go.PathFigure((ve-ue)*E,be*a,!0);x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-ie)*a,(ve-ie)*E,(be-ue)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+ie)*E,(be-ue)*a,(ve+ue)*E,(be-ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+ie)*a,(ve+ie)*E,(be+ue)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-ie)*E,(be+ue)*a,(ve-ue)*E,(be+ie)*a)),ue=.1,ie=le*.1,ve=.4,be=.9;var Ae=new go.PathFigure((ve-ue)*E,be*a,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be-ue)*a,(ve-ue)*E,(be-ie)*a,(ve-ie)*E,(be-ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve+ue)*E,be*a,(ve+ie)*E,(be-ue)*a,(ve+ue)*E,(be-ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ve*E,(be+ue)*a,(ve+ue)*E,(be+ie)*a,(ve+ie)*E,(be+ue)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ve-ue)*E,be*a,(ve-ie)*E,(be+ue)*a,(ve-ue)*E,(be+ie)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.1*E,.4*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var ne=new go.PathFigure(.55*E,.4*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var ve=.05,be=le*.05,je=.175,Ae=.95,re=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.375,Ae=.95,ue=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.625,Ae=.95,ie=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a));var ve=.05,be=le*.05,je=.825,Ae=.95,He=new go.PathFigure((je-ve)*E,Ae*a,!0);x.add(He),He.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae-ve)*a,(je-ve)*E,(Ae-be)*a,(je-be)*E,(Ae-ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je+ve)*E,Ae*a,(je+be)*E,(Ae-ve)*a,(je+ve)*E,(Ae-be)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,je*E,(Ae+ve)*a,(je+ve)*E,(Ae+be)*a,(je+be)*E,(Ae+ve)*a)),He.add(new go.PathSegment(go.PathSegment.Bezier,(je-ve)*E,Ae*a,(je-be)*E,(Ae+ve)*a,(je-ve)*E,(Ae+be)*a).close());var he=new go.PathFigure(0,a,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.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,E,.2*a).close());var ne=new go.PathFigure(.15*E,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ue=le*.05,ie=.35,ve=.775,be=new go.PathFigure((ie-re)*E,ve*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve-re)*a,(ie-re)*E,(ve-ue)*a,(ie-ue)*E,(ve-re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ve*a,(ie+ue)*E,(ve-re)*a,(ie+re)*E,(ve-ue)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ve+re)*a,(ie+re)*E,(ve+ue)*a,(ie+ue)*E,(ve+re)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ve*a,(ie-ue)*E,(ve+re)*a,(ie-re)*E,(ve+ue)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.75*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.25*a,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(se,E,a){var x=new go.Geometry,y=.3,z=le*.3,ne=.5,re=.7,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ie=new go.PathFigure(0,.7*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.5*E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E,0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.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,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a));var ie=new go.PathFigure(.15*E,.5*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.1*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(se,E,a){var x=new go.Geometry,y=.5,z=le*.5,ne=.5,re=.5,ue=new go.PathFigure((ne-y)*E,re*a,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),y=.05,z=le*.05,ne=.5,re=.8;var ie=new go.PathFigure((ne-y)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re-y)*a,(ne-y)*E,(re-z)*a,(ne-z)*E,(re-y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+y)*E,re*a,(ne+z)*E,(re-y)*a,(ne+y)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ne*E,(re+y)*a,(ne+y)*E,(re+z)*a,(ne+z)*E,(re+y)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-y)*E,re*a,(ne-z)*E,(re+y)*a,(ne-y)*E,(re+z)*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(se,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.5*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,.2*a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),y.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),y.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E,a)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),y.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,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),y.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var ne=new go.PathFigure(.402*E,.85*a,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ue=new go.PathFigure(.5*E,.1*a,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),y.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,a*1,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var ne=new go.PathFigure(E*.408,a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),ne.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ue=new go.PathFigure(E*.816,a,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var ne=new go.PathFigure(E*.055,.13*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ue=new go.PathFigure(E*1,0,!0);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ue.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(.55*E,a,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),y.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),y.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),y.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),y.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),y.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),y.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*1,a*.5,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),y.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(0,0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),y.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var ne=new go.PathFigure(E*.11,a*.1,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ue=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,E,a){var x=new go.Geometry,y=8,z=y*le,ne=new go.PathFigure(y,0,!1);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,0,y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ue=new go.PathFigure(E*.83,a*1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ue.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ie=new go.PathFigure(E*.78,a*.05,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,E,a){var x=se?se.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var y=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,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-y,0,E,y)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-y,E-y,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,y,z,0,z-y)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,y,y,0).close()),y>1?(ne.spot1=new go.Spot(0,0,y,y),ne.spot2=new go.Spot(1,.8,-y,-y)):(ne.spot1=go.Spot.TopLeft,ne.spot2=new go.Spot(1,.8)),ne}),go.Shape.defineFigureGenerator("Repeat",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.45,!0);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(se,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*.1,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var ne=new go.PathFigure(E*.28,a*.37,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(se,E,a){var x=new go.Geometry,y=15,z=y*le,ne=new go.PathFigure(E*.62,a*.475,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,a-y)),ne.add(new go.PathSegment(go.PathSegment.Bezier,E-y,a,E,a-z,E-z,a)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-y,z,a,0,a-z)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.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,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.4,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),ne.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*0,a*1,!0);x.add(y);var z=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var ne=new go.PathFigure(E*.5,a*0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.15,a*0,!1);x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),y.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(se,E,a){var x=new go.Geometry,y=new go.PathFigure(E*.5,a*0,!0);return x.add(y),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),y.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),y.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),y.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),y.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),y.add(new go.PathSegment(go.PathSegment.Line,E*.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")},80727: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 Qt={},Gt="5.0",ee={},b=null,de=!1,Be=!1,Ne=null,Ze=!1,ke=null,le=null,st=0;st4?parseFloat($e):5};Qt.setHTML5Codebase=function($e,dt){le=$e,xt($e,dt)},Qt.setJavaCodebase=Qt.setJavaCodebaseVersion=Qt.isCompiledInstalled=Qt.setPreCompiledScriptPath=Qt.setPreCompiledResourcePath=function(){},Qt.setHTML5CodebaseVersion=function($e,dt){var rn=parseFloat($e);if(rn!==NaN&&rn<5){console.log("The GeoGebra HTML5 codebase version "+rn+" is deprecated. Using version latest instead.");return}ke=$e,ln($e,dt)},Qt.getHTML5CodebaseVersion=function(){return se},Qt.getParameters=function(){return ee},Qt.setFontsCSSURL=function($e){ne=$e},Qt.setGiacJSURL=function($e){},Qt.setJNLPFile=function($e){Ve=$e},Qt.setJNLPBaseDir=function($e){},Qt.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var dt="auto",rn=ee.id,Vn,Zt=!1,Fn=0;Fn=5)return!0;var $e=Qt.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},Qt.startAnimation=function(){var $e=Qt.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},Qt.stopAnimation=function(){var $e=Qt.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},Qt.getAppletObject=function(){var $e=ee.id!==void 0?ee.id:"ggbApplet";return window[$e]},Qt.resize=function(){};var He=function($e,dt,rn){var Vn=document.createElement("param");Vn.setAttribute("name",dt),Vn.setAttribute("value",rn),$e.appendChild(Vn)},he=function($e){return $e&&$e!=="false"},qe=function($e,dt,rn){ue(se)<=4.2&&(rn=!0);var Vn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Vn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var Fn=dt.width,ze=dt.height;if(dt.disableAutoScale=dt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():dt.disableAutoScale,dt.width!==void 0)if(ue(se)<=4.4)he(dt.showToolBar)&&(dt.height-=7),he(dt.showAlgebraInput)&&(dt.height-=37),dt.width<605&&he(dt.showToolBar)&&(dt.width=605,Fn=605);else{var ct=100;(he(dt.showToolBar)||he(dt.showMenuBar))&&(dt.hasOwnProperty("customToolBar")&&(dt.customToolbar=dt.customToolBar),ct=he(dt.showMenuBar)?245:155),Fn=5?(dt.appletOnLoad=function(Me){var yt=$e.querySelector(".ggb_preview");yt&&yt.parentNode.removeChild(yt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Nt),window.GGBT_wsf_view&&$(window).trigger("resize"),mt(Me)},ut||Nt.appendChild(at)):Zt.appendChild(at),Nt.appendChild(Zt),ut||$e.appendChild(Nt),setTimeout(function(){Qt.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(Zt),$e.appendChild(De),dt.appletOnLoad=function(Me){Qt.resize(),mt(Me)}}function fe(Me,yt){yt&&typeof yt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Me,yt.appletOnLoad):renderGGBElement(Me),an("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",yt)}function Xe(Me,yt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Me,params:yt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Bn){fe(Bn.article,Bn.params)}),html5AppletsToProcess=null)},ue(se)<5&&(Me.className+=" geogebraweb")):fe(Me,yt)}if(Vn){scriptLoadStarted=!0;for(var Rt=0;Rt0?(Lt.remove(),Nt.attr("id","fullscreencontent").show(),jQuery(mt).append(Nt),window.dispatchEvent(new Event("resize"))):qe(Lt,dt,!1),window.GGBT_wsf_view.launchFullScreen(mt)}else Ye=Vn,qe($e,dt,!1);if(!window.GGBT_wsf_view)for(ze=0;ze$e/4*3&&(Lt=$e/4*3),mt=Lt/5.8,ct.setAttribute("src",y),ct.setAttribute("width",Lt),ct.setAttribute("height",mt);var Nt=($e-Lt)/2,ut=(dt-mt)/2;ct.style.left=Nt+"px",ct.style.top=ut+"px",Zt.appendChild(ct)}}return Zt.appendChild(ze),Zt},gt=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},ft=["web","webSimple","web3d","tablet","tablet3d","phone"],ln=function($e,dt){if(se=$e,dt){xt(se,!0);return}var rn=!de;if(rn){var Vn=ue(se);!isNaN(Vn)&&Vn<4.4&&(rn=!1)}var Zt,Fn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var ze=se.indexOf("//");ze>0?Fn=se:ze===0?Fn=Zt+se:Fn="https://www.geogebra.org/apps/5.2.814.0/";for(var ct in ft)if(se.slice(ft[ct].length*-1)===ft[ct]||se.slice((ft[ct].length+1)*-1)===ft[ct]+"/"){xt(Fn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&rn&&!b.is3D&&!b.AV&&!b.SV&&!b.CV&&!b.EV2&&!b.CP&&!b.PC&&!b.DA&&!b.FI&&!b.PV&&!he(ee.showToolBar)&&!he(ee.showMenuBar)&&!he(ee.showAlgebraInput)&&!he(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?Fn+="webSimple/":Fn+="web3d/",xt(Fn,!1)},xt=function($e,dt){if($e.requirejs){Ge=$e;return}$e.slice(-1)!=="/"&&($e+="/"),Ge=$e,dt===null&&(dt=$e.indexOf("http")===-1),Je=dt,E="web.nocache.js",a=!1;var rn=Ge.split("/");rn.length>1&&(!dt&&rn[rn.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ft.indexOf(rn[rn.length-2])>=0&&(E=rn[rn.length-2]+".nocache.js")),rn=$e.split("/"),se=rn[rn.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 Vn=parseFloat(se);Vn!==NaN&&Vn<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Vn+" is deprecated. Using version latest instead."),ln("5.0",dt))},an=function($e,dt){window.console&&window.console.log&&(!dt||typeof dt.showLogging=="undefined"||dt.showLogging&&dt.showLogging!=="false")&&console.log($e)};ee.material_id!==void 0?be(hn):hn();function hn(){var $e=Gt;ke!==null?$e=ke:parseFloat($e)<5&&($e="5.0"),ln($e,!1),le!==null&&xt(le,Je),Ze=!0}return Qt},GGBAppletUtils=function(){"use strict";function Qt(){return window.GGBT_wsf_edit!==void 0}function Gt(Ze,ke){ke!=1?(Ze.style.transformOrigin="0% 0% 0px",Ze.style.webkitTransformOrigin="0% 0% 0px",Ze.style.transform="scale("+ke+","+ke+")",Ze.style.webkitTransform="scale("+ke+","+ke+")",Ze.style.maxWidth="initial",Ze.querySelector(".ggb_preview")!==null&&(Ze.querySelector(".ggb_preview").style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ze.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ze.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ze.style.transform="none",Ze.style.webkitTransform="none")}function ee(Ze,ke,le,st,et,Ve){var Ge=null;if(Ve!=null&&Ve!="")for(var Je=Ze.parentNode;Je!=null;)if((" "+Je.className+" ").indexOf(" "+Ve+" ")>-1){Ge=Je;break}else Je=Je.parentNode;var Ye=0,se=0,E=0,a=0,x=0,y=0,z=0;if(Ge)Ye=Ge.offsetWidth,se=Math.max(st?Ge.offsetWidth:0,Ge.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ye=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Ye):(Ye=window.innerWidth,se=window.innerHeight,E=window.innerWidth),Ze){var ne=Ze.getBoundingClientRect();ne.left>0&&ne.left<=Ye&&(et===void 0||!et)&&(document.dir==="rtl"?(x=Ye-ne.width-ne.left,y=E<=480?10:30):(y=ne.left,x=E<=480?10:30),a=y+x)}if(Ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Ze.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Ze&&((le===void 0||!le)&&ke>0&&ke+a1&&(Ve=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Ze.hasOwnProperty("disableAutoScale")&&Ze.disableAutoScale))et=b(Ze,ke,Ve,le,Ze.scaleContainerClass);else return st;return Ve&&(!Ze.hasOwnProperty("scale")||st===1)?et:Math.min(st,et)}function Be(Ze){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),st=Ze.getBoundingClientRect(),et=(ke-st.width)/2,Ve=(le-st.height)/2;Ve<0&&(Ve=0),Ze.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(et<40?Ze.style.left="40px":Ze.style.left=et+"px",Ze.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Ze.style.top="40px":Ze.style.top=Ve+"px",Ze.style.left=et+"px")}function Ne(Ze,ke){var le=Ze.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ze)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var st=de(ke,Ze);Qt()&&le.setAttribute("data-param-scale",st);for(var et=null,Ve=0;Ve=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(Qt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Qt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Qt){var Gt=c[Qt];return Gt==null?null:Gt},r=d,webModule.__errFn=e}function B(){function Qt(Ze){var ke=Ze.lastIndexOf(rb);ke==-1&&(ke=Ze.length);var le=Ze.indexOf(sb);le==-1&&(le=Ze.length);var st=Ze.lastIndexOf(tb,Math.min(le,ke));return st>=O?Ze.substring(O,st+P):W}function Gt(Ze){if(!Ze.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=Ze+vb,Ze=Qt(ke.src)}return Ze}function ee(){var Ze=__gwt_getMetaProperty(wb);return Ze!=null?Ze:W}function b(){for(var Ze=o.getElementsByTagName(_),ke=O;keO?Ze[Ze.length-P].href:W}function Be(){var Ze=o.location;return Ze.href==Ze.protocol+zb+Ze.host+Ze.pathname+Ze.search+Ze.hash}var Ne=ee();return Ne==W&&(Ne=b()),Ne==W&&(Ne=de()),Ne==W&&Be()&&(Ne=Qt(o.location.href)),Ne=Gt(Ne),Ne}function C(Qt){return Qt.match(/^\//)||Qt.match(/^[a-zA-Z]+:\/\//)?Qt:webModule.__moduleBase+Qt}function D(){var Qt=[],Gt=O,ee=[],b=[];function de(Ze){var ke=b[Ze](),le=ee[Ze];if(ke in le)return ke;var st=[];for(var et in le)st[le[et]]=et;throw r&&r(Ze,st,ke),null}if(__gwt_isKnownPropertyValue=function(Ze,ke){return ke in ee[Ze]},webModule.__getPropMap=function(){var Ze={};for(var ke in ee)ee.hasOwnProperty(ke)&&(Ze[ke]=de(ke));return Ze},webModule.__computePropValue=de,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Ne=Be.indexOf(Db);Ne!=-1&&(Gt=parseInt(Be.substring(Ne+P),$),Be=Be.substring(O,Ne))}catch(Ze){}return webModule.__softPermutationId=Gt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},77903:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Ax:function(){return Ne},Ds:function(){return Ze},KI:function(){return le},SI:function(){return Be},f1:function(){return de}});var b=ee(3294);function de(st){let et=!0;if(st.length>0){for(let Ve=0;Vez in y?Ze(y,z,{enumerable:!0,configurable:!0,writable:!0,value:ne}):y[z]=ne,Je=(y,z)=>{for(var ne in z||(z={}))et.call(z,ne)&&Ge(y,ne,z[ne]);if(st)for(var ne of st(z))Ve.call(z,ne)&&Ge(y,ne,z[ne]);return y},Ye=(y,z)=>ke(y,le(z)),se=(y,z)=>{var ne={};for(var re in y)et.call(y,re)&&z.indexOf(re)<0&&(ne[re]=y[re]);if(y!=null&&st)for(var re of st(y))z.indexOf(re)<0&&Ve.call(y,re)&&(ne[re]=y[re]);return ne},E=(y,z,ne)=>new Promise((re,ue)=>{var ie=je=>{try{be(ne.next(je))}catch(Ae){ue(Ae)}},ve=je=>{try{be(ne.throw(je))}catch(Ae){ue(Ae)}},be=je=>je.done?re(je.value):Promise.resolve(je.value).then(ie,ve);be((ne=ne.apply(y,z)).next())}),x=y=>{var z=y,{value:ne,onChange:re,defaultValue:ue,disabled:ie}=z,ve=se(z,["value","onChange","defaultValue","disabled"]);const[be,je]=(0,b.useState)([]),[Ae,He]=(0,b.useState)("1");(0,b.useEffect)(()=>{he()},[]);const he=()=>E(void 0,null,function*(){const ht=yield(0,Be.NZ)({});if(ht!=null&&ht.data){const Le=[{title:b.createElement("div",{title:"\u6839\u76EE\u5F55",className:Ne.name},"\u6839\u76EE\u5F55"),value:0,key:0,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:qe(ht.data||[])}];je(Le),He("2")}}),qe=ht=>{function Le(ot){const lt=ot.children,gt=Array.isArray(lt)&<.length>0,ft=ot==null?void 0:ot.group_id;return{title:b.createElement("div",{title:ot==null?void 0:ot.name,className:Ne.name},ot==null?void 0:ot.name),value:ft,key:ft,icon:b.createElement("i",{className:"iconfont icon-wenjianjia2 c-light-primary mr10",style:{lineHeight:"19px"}}),children:gt?lt==null?void 0:lt.map(ln=>Le(ln)):[]}}return ht==null?void 0:ht.map(ot=>Le(ot))},Ke=ue?{defaultExpandedKeys:[0],defaultSelectedKeys:[0]}:{selectedKeys:ne,defaultExpandedKeys:ne};return b.createElement("div",{className:Ne.customTree},b.createElement(de.default,Je(Ye(Je({key:Ae},Ke),{showIcon:!0,treeData:be,onSelect:re,disabled:ie}),ve)))}},85786:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ne}});var b=ee(59301),de={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Ne=({number:Ze,active:ke,className:le})=>b.createElement("div",{className:`${de.digitalLabel} ${ke?de.active:""} ${le}`},Ze)},57647:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return y}});var b=ee(59301),de=ee(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Ne=ee(73631),Ze=ee(5623),ke=ee(16149),le=Object.defineProperty,st=Object.defineProperties,et=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,Ye=(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={}))Ge.call(ne,re)&&Ye(z,re,ne[re]);if(Ve)for(var re of Ve(ne))Je.call(ne,re)&&Ye(z,re,ne[re]);return z},E=(z,ne)=>st(z,et(ne)),a=(z,ne,re)=>new Promise((ue,ie)=>{var ve=Ae=>{try{je(re.next(Ae))}catch(He){ie(He)}},be=Ae=>{try{je(re.throw(Ae))}catch(He){ie(He)}},je=Ae=>Ae.done?ue(Ae.value):Promise.resolve(Ae.value).then(ve,be);je((re=re.apply(z,ne)).next())}),y=({value:z,onChange:ne,scrollId:re})=>{const[ue,ie]=(0,b.useState)([]);(0,b.useEffect)(()=>{ve()},[]);const ve=()=>a(void 0,null,function*(){const qe=yield(0,ke.NZ)({});if(qe!=null&&qe.data){const Ke=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:!1,children:be(qe.data||[])}];ie(Ke)}}),be=qe=>qe.map(Ke=>({title:Ke.name,key:Ke.group_id,icon:b.createElement("img",{src:Ne,className:Be.folderIcon}),isLeaf:Ke.children.length===0,children:be(Ke.children)})),je=(qe,Ke,ht)=>qe.map(Le=>Le.key===Ke?se(se({},Le),ht):Le.children?E(se({},Le),{children:je(Le.children,Ke,ht)}):Le),Ae=(qe,Ke,ht)=>qe.map(Le=>{if(Le.key===Ke)return E(se({},Le),{icon:ht?b.createElement("img",{src:Ze,className:Be.folderIcon}):b.createElement("img",{src:Ne,className:Be.folderIcon})});if(Le.children)return E(se({},Le),{children:Ae(Le.children,Ke,ht)})}),He=(qe,Ke)=>{ie(ht=>Ae(ht,Ke.node.key,Ke.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ue.length>0&&b.createElement("div",{id:re||""},b.createElement(de.default,se({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ue,className:Be.folderWrapper,onSelect:ne,onExpand:He},he)))}},32570:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ke}});var b=ee(60324),de={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=ee(32637),Ne=ee(59301),ke=({type:le,style:st})=>{const et=Ne.createElement("div",{className:de.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Ne.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",Ne.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"),Ne.createElement("div",{className:de.contact},Ne.createElement("div",{className:de.img},Ne.createElement("img",{src:Be,width:"124px",height:"124px"})),Ne.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Ne.createElement(b.Z,{content:et},Ne.createElement("span",{className:de.text,style:st},"\u9AD8\u6D88\u8017"))}},73524:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ge}});var b=ee(59301),de={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=ee(92310),Ne=ee.n(Be),Ze=ee(71418),ke=ee(2859),le=ee(99064),st=ee(955),et=(Je,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Je,Ye)).next())}),Ge=({data:Je,className:Ye,fullWidth:se,style:E={},onClose:a,onOk:x,showFullTools:y,noAssociationId:z})=>{const ne=(0,b.useRef)(null),re=(0,b.useRef)(null),ue=(0,b.useRef)(null),ie=(0,b.useRef)(null),[ve,be]=(0,b.useState)(!1),[je,Ae]=(0,b.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,b.useEffect)(()=>{ue.current||(ue.current=document.createElement("style"),document.head.appendChild(ue.current)),Je!=null&&Je.visible?(document.body.setAttribute("data-custom","y-hidden"),ue.current.innerHTML=" html { overflow-y: hidden; }",Je!=null&&Je.src&&He()):(document.body.removeAttribute("data-custom"),ue.current&&(document.head.removeChild(ue.current),ue.current=null))},[Je==null?void 0:Je.visible]);const He=()=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Le=yield(0,st.ZJ)(Je==null?void 0:Je.src);ne.current.src="",ne.current.src=Le,ne.current.onload=function(){ht()},be(!1),Ae("")}),he=()=>{document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",a()},qe=Le=>et(void 0,null,function*(){be(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ot=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Je.title,file:Le.dataUrl}});ot!=null&&ot.id&&!z?(yield(0,le.ZP)(`/api/attachments/${Je.id}/add_subitem.json`,{method:"post",body:{subitem_id:ot==null?void 0:ot.id,settings:JSON.stringify(Le.state)}})).status===0&&x():ot!=null&&ot.id&&x(ot),document.body.removeAttribute("data-custom"),ue.current.innerHTML=" ",be(!1),Ae("")}),Ke=()=>{const Le=document.querySelector('a[href="https://markerjs.com/"]');Le&&Le.parentNode&&(Le.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(lt=>{const gt=document.querySelector(lt.name);gt&>.setAttribute("title",lt.title)})},ht=()=>{re.current=new ke.hP(ne.current),re.current.targetRoot=ie.current,re.current.addEventListener("render",qe),re.current.addEventListener("beforeclose",he),y&&(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(),Je!=null&&Je.snapshotData&&re.current.restoreState(Je.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ke()},300)};return b.createElement(b.Fragment,null,(Je==null?void 0:Je.visible)&&b.createElement(Ze.Z,{spinning:ve,tip:je,style:{position:"absolute"}},b.createElement("div",{ref:ie,className:Ne()(de.imageDimensions,Ye,se?de.fullWidth:""),style:E},b.createElement("img",{className:de.img,ref:ne}))))}},14791:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return at},$:function(){return ut}});var b=ee(59301),de={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=ee(92310),Ne=ee.n(Be),Ze=ee(78241),ke=ee(8591),le=ee(43418),st=ee(5871),et=ee(95237),Ve=ee(24905),Ge=ee(38854),Je=ee(54580),Ye=ee(3113),se=ee(93948),E=ee(19842),a=ee(92832),x=ee(5112),y=ee(6848),z=ee(43604),ne=ee(29458),re=ee(3294),ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQA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CYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",je=ee(99064),Ae=ee(57647),He=ee(5623),he=ee(50304),qe=ee(59879),Ke=ee(28451),ht=ee(15342),Le=ee.n(ht),ot=(De,fe,Xe)=>new Promise((Rt,Oe)=>{var Ie=Me=>{try{nt(Xe.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{nt(Xe.throw(Me))}catch(yt){Oe(yt)}},nt=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,St);nt((Xe=Xe.apply(De,fe)).next())}),gt=b.memo(({tagName:De="div",value:fe="",className:Xe,style:Rt={},onBlur:Oe,id:Ie})=>{const St=(0,b.useRef)(null);(0,b.useEffect)(()=>{if(!St.current)return;ot(void 0,null,function*(){const yt=St.current;yt.innerHTML="";const Bn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const nn of Bn)if(nn.startsWith("$$")&&nn.endsWith("$$")||nn.startsWith("`$$")&&nn.endsWith("$$`")){const dn=nn.startsWith("`$$")?nn.slice(3,-3):nn.slice(2,-2),un=document.createElement("span");un.setAttribute("contentEditable","false"),un.setAttribute("title",nn),un.className="edu_latex",yt.appendChild(un),Le().render(dn,un,{throwOnError:!1})}else{const dn=nn==null?void 0:nn.replace(/<[^>]*>/g,un=>un.startsWith("{var Me,yt;if(Oe&&St.current){const nn=St.current.cloneNode(!0),dn=nn.querySelectorAll("span.edu_latex");for(let un of dn){const yn=un.getAttribute("title"),Te=document.createTextNode(yn||""),Ft=un;(yt=(Me=Ft.parentNode)==null?void 0:Me.replaceChild)==null||yt.call(Me,Te,Ft)}Oe(nn.innerHTML)}};return b.createElement(b.Fragment,null,b.createElement(De,{ref:St,contentEditable:!0,className:Xe,style:Rt,onBlur:nt}))}),ft=ee(34604),ln=Object.defineProperty,xt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,rn=(De,fe,Xe)=>fe in De?ln(De,fe,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[fe]=Xe,Vn=(De,fe)=>{for(var Xe in fe||(fe={}))$e.call(fe,Xe)&&rn(De,Xe,fe[Xe]);if(hn)for(var Xe of hn(fe))dt.call(fe,Xe)&&rn(De,Xe,fe[Xe]);return De},Zt=(De,fe)=>xt(De,an(fe)),Fn=(De,fe,Xe)=>new Promise((Rt,Oe)=>{var Ie=Me=>{try{nt(Xe.next(Me))}catch(yt){Oe(yt)}},St=Me=>{try{nt(Xe.throw(Me))}catch(yt){Oe(yt)}},nt=Me=>Me.done?Rt(Me.value):Promise.resolve(Me.value).then(Ie,St);nt((Xe=Xe.apply(De,fe)).next())});const ze=De=>{De.preventDefault();let Xe=(De.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,Xe)},ct=De=>{De.key==="Enter"&&De.preventDefault()},Lt=({children:De,style:fe})=>b.createElement("div",{className:de.leftBox,style:fe,onPaste:ze},De),mt=({children:De,style:fe,className:Xe})=>b.createElement("div",{className:Ne()(de.rightBox,Xe),style:fe,onPaste:ze},De),Nt=({className:De,style:fe={},width:Xe=1200,onCancel:Rt=()=>{},onSuccess:Oe=()=>{},gather:Ie={},mode:St=1,stickyTop:nt=0,subDisciplineId:Me=[],hideWordFeatures:yt,dataSource:Bn=[],customLeftHeadNode:nn,customRightHeadNode:dn,customLeftContent:un,hideRecognition:yn=!1,onExchange:Te,isSingleSelection:Ft=!1,underpinBackgroundStyle:zt={},headExtraNode:wt,isRefreshItemBank:kt=!1,okText:sn="\u786E\u5B9A\u5BFC\u5165"})=>{var cn;const[Ln,Jn]=(0,b.useState)(1),[va,Da]=(0,b.useState)(0),[Na,ar]=(0,b.useState)(""),[$a,fa]=(0,b.useState)(!1),[yr,en]=(0,b.useState)([]),[On,ia]=(0,b.useState)([]),[xa,We]=(0,b.useState)(!1),[It,_t]=(0,b.useState)(!1),[Vt,Wt]=(0,b.useState)(!1),[Rn,wn]=(0,b.useState)(!1),[vt,Bt]=(0,b.useState)([]),[pt,Sn]=(0,b.useState)(1),[Wn,An]=(0,b.useState)(!1),[ka,pa]=(0,b.useState)(!1),[_n,Ea]=(0,b.useState)(!0),[Pa,Dn]=(0,b.useState)(0),[lr,Nr]=(0,b.useState)(1),[Ur,Sr]=(0,b.useState)(""),[Ue,bn]=(0,b.useState)([]),[Xt,Nn]=(0,b.useState)(0),[Kn,la]=(0,b.useState)(0),[Qn,Un]=(0,b.useState)(0),[ur,da]=(0,b.useState)(0),[En,dr]=(0,b.useState)(0),[xr]=Ze.default.useForm(),[Wr]=Ze.default.useForm(),Ir=(0,b.useRef)(null),ha=(0,b.useRef)(null),za=(0,b.useRef)(),Ua=["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"],La=["C","C++","Java","Python","JavaScript","Ruby"];(0,b.useEffect)(()=>{Bn!=null&&Bn.length&&Pl(Bn)},[Bn]),(0,b.useEffect)(()=>{Ln===2&&Ir.current.focus()},[Ln]),(0,b.useEffect)(()=>{Vt&&no()},[Vt]);const Or=()=>{if(Ln===1){ke.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:()=>Fn(void 0,null,function*(){Jn(1)})})},no=()=>Fn(void 0,null,function*(){const we=yield(0,je.ZP)("/api/disciplines.json",{method:"get",params:{source:St===1?"new_question":"subject"}});Bt(we.disciplines||[])}),Fr=we=>{const fn=[],Mn=(Sa,on)=>{Sa.length>=2&&fn.push(Sa.join(""));for(let Ma=on;Ma(we=we||"",we=String(we),we=we.replace(/\s+/g,""),we),Pr=we=>(we=we||"",we=String(we),we=we.replace(/
/g,""),we=we.replace(/
/g,` `),we=we.replace(/<\/div>/g,` -`),we=ai(we),we),si=we=>we.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),ai=we=>we.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),xi=we=>{var fn;const Mn=we.clipboardData;if(Mn){const Sa=Mn.types.toString(),on=Mn.items;if(Sa==="Files"||Mn.types.indexOf("Files")>-1){we.preventDefault();try{let Ma=on[1];((fn=on[0])==null?void 0:fn.kind)==="file"&&(Ma=on[0]);const Fa=Ma.getAsFile();(0,Ke.I)(Fa,jn=>{var Xn;if(jn.id){if(((Xn=Fa==null?void 0:Fa.type)==null?void 0:Xn.indexOf("image"))>-1){const sr=``;document.execCommand("insertText",!1,sr)}}else(jn==null?void 0:jn.status)===401&&(document.location.href="/user/login")})}catch(Ma){ke.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function ho(we,fn){return Fn(this,null,function*(){if(typeof we=="string")return yield fn(we);if(typeof we!="object"||we===null)return we;if(Array.isArray(we))return yield Promise.all(we.map(on=>Fn(this,null,function*(){return yield ho(on,fn)})));const Mn={};for(const Sa in we)if(Object.prototype.hasOwnProperty.call(we,Sa)){const on=we[Sa];typeof on=="string"?Mn[Sa]=yield fn(on):typeof on=="object"?Mn[Sa]=yield ho(on,fn):Mn[Sa]=on}return Mn})}const yo=()=>Fn(void 0,null,function*(){var we;fa(!0),ar("\u5904\u7406\u4E2D"),yield new Promise(Sa=>setTimeout(Sa,1e3));let fn=(we=ha.current)==null?void 0:we.querySelectorAll('[data-text="edit"]'),Mn="";try{fn.forEach(function(Sa){var on,Ma,Fa,jn;const Xn=Sa.cloneNode(!0),sr=Xn.querySelectorAll("span.edu_latex");for(let Ta of sr){const Ja=Ta.getAttribute("title"),Rr=document.createTextNode(Ja),bo=Ta;(Ma=(on=bo.parentNode)==null?void 0:on.replaceChild)==null||Ma.call(on,Rr,bo)}const Ha=Xn.querySelectorAll("span[style]");for(let Ta of Ha)if(Ta.style.fontFamily){const Ja=Ta.innerHTML,Rr=document.createTextNode(Ja),bo=Ta;(jn=(Fa=bo.parentNode)==null?void 0:Fa.replaceChild)==null||jn.call(Fa,Rr,bo)}Xn==null||Xn.childNodes.forEach(function(Ta){Ta.nodeType===Node.ELEMENT_NODE&&Ta.localName!=="h5"&&Ta.localName!=="h4"?Mn+=`

${Ta.innerHTML}

`:Ta.nodeType===Node.TEXT_NODE&&(Mn+=`

${Ta.textContent}

`)})}),kr("/api/intelligent_imports/import.json",{html:ai(Mn)})}catch(Sa){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Sa)}}),jo=we=>{let fn=we.filter(Mn=>!!(Mn!=null&&Mn.type));return fn=fn.map(Mn=>{var Sa;const on=(Sa=Wi.find(Fa=>Fa.id===(Mn==null?void 0:Mn.type)))==null?void 0:Sa.deal,Ma=Zt(Vn({},Mn),{id:String(Math.random()).slice(-6),knowledgePoint:Er(Mn==null?void 0:Mn.knowledgePoint)});return on?on(Ma):Ma}),fn},Mo=()=>{if(Ln===1){ke.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:yo})},Ao=()=>b.createElement("div",{className:de.row},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,{style:{height:675}},Ln===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Jn(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:de.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:ie}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ln===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Ir.current.innerHTML||Jn(1)},ref:Ir,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:de.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:de.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ve}),b.createElement("span",null,"\u9884\u89C8\u533A")))),gr=(we,fn,Mn,Sa)=>{var on;console.log(we,fn,Mn,Sa,"onDataChange\u4FEE\u6539\u6570\u503C");const Ma=JSON.parse(JSON.stringify(On));Sa===void 0?Ma[fn][we]=Mn:Ma[fn].questions[Sa][we]=Mn;const Fa=Vn({},Ma[fn]),jn=(on=Wi.find(Xn=>Xn.id===(Fa==null?void 0:Fa.type)))==null?void 0:on.deal;Ma[fn]=jn(Fa),ia(Ma)},eo=(we,fn,Mn)=>{var Sa;const on=Mn!==void 0,Ma=(Sa=Wi.find(Xn=>Xn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${fn+1}.${Mn===void 0?"":Mn+1+"."}`,jn=`${(we==null?void 0:we.type)==="7"?"{{":""}${Fa}\u3010${Ma}\u3011${(we==null?void 0:we.question)||""}`;return b.createElement(b.Fragment,null,on&&b.createElement("h4",{contentEditable:!0}),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:jn}))},Qo=(we,fn)=>Fn(void 0,null,function*(){var Mn;const Sa=yield Te(we,fn),on=(Mn=Sa==null?void 0:Sa.data)==null?void 0:Mn.content;if(on!=null&&on.length){const Ma=jo(on)[0];yr.splice(fn,1,Ma),On.splice(fn,1,Ma),en([...yr]),ia([...On])}}),Yo=(we,fn,Mn)=>{var Sa;const on=Mn!==void 0,Ma=(Sa=Wi.find(jn=>jn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${fn+1}.${Mn===void 0?"":Mn+1+"."}`;return on?b.createElement("div",{style:{padding:"10px 18px"}},`${Fa}\u3010${Ma}\u3011`,b.createElement(gt,{id:we==null?void 0:we.id,tagName:"span",className:de.edit,onBlur:jn=>gr("question",fn,jn,Mn),value:(we==null?void 0:we.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:de.actionHead},b.createElement("div",{className:"c-light-primary"},`${Fa}\u3010${Ma}\u3011`),St!==1&&b.createElement(st.Z,{disabled:(we==null?void 0:we.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:jn=>gr("score",fn,jn,Mn),value:we==null?void 0:we.score}),b.createElement(et.Z,{align:"middle",style:{marginLeft:"auto"}},!!Te&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Qo(we,fn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ve.default,{onChange:jn=>gr("checked",fn,jn.target.checked,Mn),checked:!!(we!=null&&we.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",style:{padding:"10px 18px"},className:de.edit,onBlur:jn=>gr("question",fn,jn,Mn),value:we==null?void 0:we.question}))},Oo=(we,fn,Mn)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(we==null?void 0:we.type)&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7B54\u6848\uFF1A${fn||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u96BE\u5EA6\uFF1A${(we==null?void 0:we.difficulty)||""}`,tagName:"p"}),(we==null?void 0:we.type)!=="7"&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u89E3\u6790\uFF1A${(we==null?void 0:we.analyze)||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(we==null?void 0:we.knowledgePoint)||""}`,tagName:"p"})),br=(we,fn,Mn,Sa)=>{const on=Sa!==void 0,Ma=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Fa=on&&!we.last&&!we.errorMsg?{marginBottom:10}:{},jn=Ma.map(Xn=>({key:Xn,label:Xn,onClick:()=>gr("difficulty",Mn,Xn,Sa)}));return b.createElement("div",{className:de.liWrap,style:Fa},["4"].includes(we==null?void 0:we.type)&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-black`,onBlur:Xn=>gr("answer",Mn,[Xn],Sa),value:fn})),!on&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:jn}},b.createElement("span",{className:"c-light-primary"},we==null?void 0:we.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(we==null?void 0:we.type)!=="7"&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("analyze",Mn,Xn,Sa),value:we==null?void 0:we.analyze})),!on&&b.createElement("div",{onKeyDown:ct,className:de.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:(we==null?void 0:we.knowledgePoint)||"",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("knowledgePoint",Mn,Er(Pr(Xn)),Sa)})))},ri=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),Hr=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),ko=(we,fn,Mn,Sa)=>{let on="flex";return(Ft&&Pa!==Sa||xa&&!(Mn!=null&&Mn.errorMsg))&&(on="none"),b.createElement("div",{className:de.row,style:{display:on}},b.createElement("div",{className:de.leftLayout},un||b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},we))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:Mn!=null&&Mn.errorMsg?de.error:""},fn)))},Wi=[{id:"0",type:"\u5355\u9009\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),(on=we==null?void 0:we.options)==null?void 0:on.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${Ua[Ja]}.${Ta}`,tagName:"p"})),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=Xn==null?void 0:Xn.options,Ha=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:((Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])===Ua[Ja]?de.active:"",onClick:()=>gr("answer",fn,[Ua[Ja]],Mn)},Ua[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:bo=>{sr[Ja]=bo,gr("options",fn,sr,Mn)},value:Ta}))}),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ha]:ko(jn,Ha,Xn,fn)},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?2:we.score;let on=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]).toUpperCase();we.answer=on?[on]:[];let Ma=[];if(!(we!=null&&we.options))Ma.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{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return on||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),on&&(Ua.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8).includes(on)||Ma.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")),Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(` +`),we=ai(we),we),si=we=>we.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),ai=we=>we.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),xi=we=>{var fn;const Mn=we.clipboardData;if(Mn){const Sa=Mn.types.toString(),on=Mn.items;if(Sa==="Files"||Mn.types.indexOf("Files")>-1){we.preventDefault();try{let Ma=on[1];((fn=on[0])==null?void 0:fn.kind)==="file"&&(Ma=on[0]);const Fa=Ma.getAsFile();(0,Ke.I)(Fa,jn=>{var Xn;if(jn.id){if(((Xn=Fa==null?void 0:Fa.type)==null?void 0:Xn.indexOf("image"))>-1){const sr=``;document.execCommand("insertText",!1,sr)}}else(jn==null?void 0:jn.status)===401&&(document.location.href="/user/login")})}catch(Ma){ke.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function ho(we,fn){return Fn(this,null,function*(){if(typeof we=="string")return yield fn(we);if(typeof we!="object"||we===null)return we;if(Array.isArray(we))return yield Promise.all(we.map(on=>Fn(this,null,function*(){return yield ho(on,fn)})));const Mn={};for(const Sa in we)if(Object.prototype.hasOwnProperty.call(we,Sa)){const on=we[Sa];typeof on=="string"?Mn[Sa]=yield fn(on):typeof on=="object"?Mn[Sa]=yield ho(on,fn):Mn[Sa]=on}return Mn})}const yo=()=>Fn(void 0,null,function*(){var we;fa(!0),ar("\u5904\u7406\u4E2D"),yield new Promise(Sa=>setTimeout(Sa,1e3));let fn=(we=ha.current)==null?void 0:we.querySelectorAll('[data-text="edit"]'),Mn="";try{fn.forEach(function(Sa){var on,Ma,Fa,jn;const Xn=Sa.cloneNode(!0),sr=Xn.querySelectorAll("span.edu_latex");for(let Ta of sr){const Ja=Ta.getAttribute("title"),Rr=document.createTextNode(Ja),bo=Ta;(Ma=(on=bo.parentNode)==null?void 0:on.replaceChild)==null||Ma.call(on,Rr,bo)}const Ha=Xn.querySelectorAll("span[style]");for(let Ta of Ha)if(Ta.style.fontFamily){const Ja=Ta.innerHTML,Rr=document.createTextNode(Ja),bo=Ta;(jn=(Fa=bo.parentNode)==null?void 0:Fa.replaceChild)==null||jn.call(Fa,Rr,bo)}Xn==null||Xn.childNodes.forEach(function(Ta){Ta.nodeType===Node.ELEMENT_NODE&&Ta.localName!=="h5"&&Ta.localName!=="h4"?Mn+=`

${Ta.innerHTML}

`:Ta.nodeType===Node.TEXT_NODE&&(Mn+=`

${Ta.textContent}

`)})}),kr("/api/intelligent_imports/import.json",{html:ai(Mn)})}catch(Sa){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Sa)}}),Go=we=>{let fn=we.filter(Mn=>!!(Mn!=null&&Mn.type));return fn=fn.map(Mn=>{var Sa;const on=(Sa=Wi.find(Fa=>Fa.id===(Mn==null?void 0:Mn.type)))==null?void 0:Sa.deal,Ma=Zt(Vn({},Mn),{id:String(Math.random()).slice(-6),knowledgePoint:Er(Mn==null?void 0:Mn.knowledgePoint)});return on?on(Ma):Ma}),fn},Mo=()=>{if(Ln===1){ke.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:yo})},Ao=()=>b.createElement("div",{className:de.row},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,{style:{height:675}},Ln===1&&b.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Jn(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:de.imgBox,style:{marginTop:75}},b.createElement("img",{width:56,src:ie}),b.createElement("span",null,"\u7F16\u8F91\u533A"))),Ln===2&&b.createElement("div",{"data-text":"edit",onBlur:()=>{Ir.current.innerHTML||Jn(1)},ref:Ir,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),b.createElement("div",{className:de.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},b.createElement("div",{className:de.imgBox,style:{marginTop:240}},b.createElement("img",{width:56,src:ve}),b.createElement("span",null,"\u9884\u89C8\u533A")))),gr=(we,fn,Mn,Sa)=>{var on;console.log(we,fn,Mn,Sa,"onDataChange\u4FEE\u6539\u6570\u503C");const Ma=JSON.parse(JSON.stringify(On));Sa===void 0?Ma[fn][we]=Mn:Ma[fn].questions[Sa][we]=Mn;const Fa=Vn({},Ma[fn]),jn=(on=Wi.find(Xn=>Xn.id===(Fa==null?void 0:Fa.type)))==null?void 0:on.deal;Ma[fn]=jn(Fa),ia(Ma)},eo=(we,fn,Mn)=>{var Sa;const on=Mn!==void 0,Ma=(Sa=Wi.find(Xn=>Xn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${fn+1}.${Mn===void 0?"":Mn+1+"."}`,jn=`${(we==null?void 0:we.type)==="7"?"{{":""}${Fa}\u3010${Ma}\u3011${(we==null?void 0:we.question)||""}`;return b.createElement(b.Fragment,null,on&&b.createElement("h4",{contentEditable:!0}),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:jn}))},Qo=(we,fn)=>Fn(void 0,null,function*(){var Mn;const Sa=yield Te(we,fn),on=(Mn=Sa==null?void 0:Sa.data)==null?void 0:Mn.content;if(on!=null&&on.length){const Ma=Go(on)[0];yr.splice(fn,1,Ma),On.splice(fn,1,Ma),en([...yr]),ia([...On])}}),Yo=(we,fn,Mn)=>{var Sa;const on=Mn!==void 0,Ma=(Sa=Wi.find(jn=>jn.id===(we==null?void 0:we.type)))==null?void 0:Sa.type,Fa=`${fn+1}.${Mn===void 0?"":Mn+1+"."}`;return on?b.createElement("div",{style:{padding:"10px 18px"}},`${Fa}\u3010${Ma}\u3011`,b.createElement(gt,{id:we==null?void 0:we.id,tagName:"span",className:de.edit,onBlur:jn=>gr("question",fn,jn,Mn),value:(we==null?void 0:we.question)||""})):b.createElement(b.Fragment,null,b.createElement("div",{className:de.actionHead},b.createElement("div",{className:"c-light-primary"},`${Fa}\u3010${Ma}\u3011`),St!==1&&b.createElement(st.Z,{disabled:(we==null?void 0:we.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:jn=>gr("score",fn,jn,Mn),value:we==null?void 0:we.score}),b.createElement(et.Z,{align:"middle",style:{marginLeft:"auto"}},!!Te&&b.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Qo(we,fn)},b.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),b.createElement(Ve.default,{onChange:jn=>gr("checked",fn,jn.target.checked,Mn),checked:!!(we!=null&&we.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",style:{padding:"10px 18px"},className:de.edit,onBlur:jn=>gr("question",fn,jn,Mn),value:we==null?void 0:we.question}))},Oo=(we,fn,Mn)=>b.createElement(b.Fragment,null,["0","1","2","4"].includes(we==null?void 0:we.type)&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7B54\u6848\uFF1A${fn||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u96BE\u5EA6\uFF1A${(we==null?void 0:we.difficulty)||""}`,tagName:"p"}),(we==null?void 0:we.type)!=="7"&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u89E3\u6790\uFF1A${(we==null?void 0:we.analyze)||""}`,tagName:"p"}),!Mn&&b.createElement(gt,{id:we==null?void 0:we.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(we==null?void 0:we.knowledgePoint)||""}`,tagName:"p"})),br=(we,fn,Mn,Sa)=>{const on=Sa!==void 0,Ma=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],Fa=on&&!we.last&&!we.errorMsg?{marginBottom:10}:{},jn=Ma.map(Xn=>({key:Xn,label:Xn,onClick:()=>gr("difficulty",Mn,Xn,Sa)}));return b.createElement("div",{className:de.liWrap,style:Fa},["4"].includes(we==null?void 0:we.type)&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-black`,onBlur:Xn=>gr("answer",Mn,[Xn],Sa),value:fn})),!on&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:jn}},b.createElement("span",{className:"c-light-primary"},we==null?void 0:we.difficulty,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(we==null?void 0:we.type)!=="7"&&b.createElement("div",{className:de.li},b.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("analyze",Mn,Xn,Sa),value:we==null?void 0:we.analyze})),!on&&b.createElement("div",{onKeyDown:ct,className:de.li},b.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),b.createElement(gt,{id:we==null?void 0:we.id,tagName:"div",value:(we==null?void 0:we.knowledgePoint)||"",className:`${de.edit} c-grey-333`,onBlur:Xn=>gr("knowledgePoint",Mn,Er(Pr(Xn)),Sa)})))},ri=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",{contentEditable:!1},b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),Hr=we=>b.createElement(b.Fragment,null,typeof(we==null?void 0:we.errorMsg)=="string"&&!!(we!=null&&we.errorMsg)&&b.createElement("h5",null,b.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),b.createElement("div",null,we==null?void 0:we.errorMsg))),ko=(we,fn,Mn,Sa)=>{let on="flex";return(Ft&&Pa!==Sa||xa&&!(Mn!=null&&Mn.errorMsg))&&(on="none"),b.createElement("div",{className:de.row,style:{display:on}},b.createElement("div",{className:de.leftLayout},un||b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},we))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:Mn!=null&&Mn.errorMsg?de.error:""},fn)))},Wi=[{id:"0",type:"\u5355\u9009\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),(on=we==null?void 0:we.options)==null?void 0:on.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${Ua[Ja]}.${Ta}`,tagName:"p"})),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=Xn==null?void 0:Xn.options,Ha=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:((Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])===Ua[Ja]?de.active:"",onClick:()=>gr("answer",fn,[Ua[Ja]],Mn)},Ua[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:bo=>{sr[Ja]=bo,gr("options",fn,sr,Mn)},value:Ta}))}),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ha]:ko(jn,Ha,Xn,fn)},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?2:we.score;let on=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]).toUpperCase();we.answer=on?[on]:[];let Ma=[];if(!(we!=null&&we.options))Ma.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{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return on||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),on&&(Ua.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8).includes(on)||Ma.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")),Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(` `),we}},{id:"1",type:"\u591A\u9009\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),(on=we==null?void 0:we.options)==null?void 0:on.map((Ta,Ja)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ja,value:`${Ua[Ja]}.${Ta}`,tagName:"p"})),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=Xn==null?void 0:Xn.options,Ha=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ta,Ja)=>{var Rr,bo;return b.createElement("div",{key:Ja,className:de.option},b.createElement("aside",{className:(bo=(Rr=Xn==null?void 0:Xn.answer)==null?void 0:Rr[0])!=null&&bo.includes(Ua[Ja])?de.active:"",onClick:()=>{var $o;let Wo=(($o=Xn==null?void 0:Xn.answer)==null?void 0:$o[0])||"";const Ti=Ua[Ja];Wo.includes(Ti)?Wo=Wo.replace(new RegExp(Ti,"g"),""):Wo+=Ti,Wo=Wo.split("").sort().join(""),gr("answer",fn,[Wo],Mn)}},Ua[Ja]),b.createElement(gt,{id:Xn==null?void 0:Xn.id,tagName:"div",className:`${de.text}`,onBlur:$o=>{sr[Ja]=$o,gr("options",fn,sr,Mn)},value:Ta}))}),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ha]:ko(jn,Ha,Xn,fn)},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?2:we.score;let on=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]).toUpperCase().split("").sort().join("");we.answer=on?[on]:[];let Ma=[];if(!(we!=null&&we.options))Ma.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{we.options=(Mn=we.options)==null?void 0:Mn.slice(0,8);const Fa=we.options.map(Xn=>Xn==null?void 0:Xn.trim().replace(/^\s+|\s+$/g,""));new Set(Fa).size!==Fa.length&&Ma.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(on||Ma.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),on){const Fa=Ua.slice(0,((Sa=we==null?void 0:we.options)==null?void 0:Sa.length)||8);Fr(Fa).includes(on)||Ma.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 Er(we==null?void 0:we.question)||Ma.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Ma.join(` `),we}},{id:"2",type:"\u5224\u65AD\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=["\u6B63\u786E","\u9519\u8BEF"];let Ha=((on=Xn==null?void 0:Xn.answer)==null?void 0:on[0])||"";["\u6B63\u786E","\u5BF9","T","True","t","true"].includes(Ha)?Ha="\u6B63\u786E":["\u9519\u8BEF","\u9519","T","true","t","false"].includes(Ha)&&(Ha="\u9519\u8BEF");const Ta=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),sr==null?void 0:sr.map((Ja,Rr)=>b.createElement("div",{key:Rr,className:de.option},b.createElement("aside",{style:{borderRadius:2},className:Ha===Ja?de.active:"",onClick:()=>gr("answer",fn,[Ja],Mn)},Ja==="\u6B63\u786E"?"T":"F"),b.createElement("div",{style:{pointerEvents:"none"},className:`${de.text}`},Ja))),br(Xn,"",fn,Mn),Hr(Xn));return Ma?[jn,Ta]:ko(jn,Ta,Xn,fn)},deal:we=>{var fn;we.score=we.score===void 0?2:we.score;let Mn=Er((fn=we==null?void 0:we.answer)==null?void 0:fn[0]);we.answer=Mn?[Mn]:[];let Sa=[];return Mn||Sa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1A\u9519\u8BEF\u201D"),Mn&&!["\u6B63\u786E","\u5BF9","T","True","t","true","\u9519\u8BEF","\u9519","T","true","t","false"].includes(Mn)&&Sa.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"),Er(we==null?void 0:we.question)||Sa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Sa.join(` `),we}},{id:"3",type:"\u586B\u7A7A\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0,Fa=b.createElement(b.Fragment,null,eo(we,fn,Mn),(Sa=we==null?void 0:we.answer)==null?void 0:Sa.map((sr,Ha)=>b.createElement(gt,{id:we==null?void 0:we.id,key:Ha,tagName:"p",value:`\u7B54\u6848${Ha+1}\uFF1A${sr.text||""}`})),Oo(we,"",Ma),ri(we));let jn=Ma?we:On[fn];const Xn=b.createElement(b.Fragment,null,Yo(jn,fn,Mn),(on=jn==null?void 0:jn.answer)==null?void 0:on.map((sr,Ha)=>b.createElement("div",{key:Ha,className:de.option},b.createElement("aside",{className:de.fill},"\u586B\u7A7A\u9879",Ha+1),sr.model===1&&b.createElement(gt,{id:jn==null?void 0:jn.id,tagName:"div",onBlur:Ta=>{jn.answer[Ha].latex=Pr(Ta),gr("answer",fn,jn.answer,Mn)},className:`${de.text}`,value:sr.latex}),sr.model===2&&b.createElement(qe.Z,{value:sr.latex,onChange:Ta=>{jn.answer[Ha].latex=Ta,gr("answer",fn,jn.answer,Mn)}}))),br(jn,"",fn,Mn),Hr(jn));return Ma?[Fa,Xn]:ko(Fa,Xn,jn,fn)},deal:we=>{var fn,Mn,Sa,on;we.score=we.score===void 0?2:we.score,we.question=(fn=we.question)==null?void 0:fn.replaceAll("\u2581","_");const Ma=(Mn=we.answer)==null?void 0:Mn.map(jn=>{if(Object.prototype.toString.call(jn)==="[object Object]")return jn;const Xn={model:1,text:jn,latex:jn};return jn.startsWith("$$")&&jn.endsWith("$$")||jn.startsWith("`$$")&&jn.endsWith("$$`")?(Xn.model=2,Xn.latex=jn.slice(2,-2)):Xn.latex=Pr(jn),Xn});we.answer=Ma;let Fa=[];return Ma||Fa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1A\u4E2D\u56FD\uFF1B\u7B54\u68482\uFF1A\u4E16\u754C"),Er(we==null?void 0:we.question)?we!=null&&we.question.includes("_")?(Sa=we==null?void 0:we.answer)!=null&&Sa.length&&((we==null?void 0:we.question.match(/_+/g))||[]).length!==((on=we==null?void 0:we.answer)==null?void 0:on.length)&&Fa.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Fa.push("\u586B\u7A7A\u9879\u672A\u8BBE\u7F6E\uFF0C\u8BF7\u4F7F\u7528\u82F1\u6587\u4E0B\u5212\u7EBF\u201C___\u201D\u8868\u793A\u586B\u7A7A\u9879"):Fa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=Fa.join(` `),we}},{id:"4",type:"\u7B80\u7B54\u9898",element:(we,fn,Mn)=>{var Sa,on;const Ma=Mn!==void 0;let Fa=(Sa=we==null?void 0:we.answer)==null?void 0:Sa[0];const jn=b.createElement(b.Fragment,null,eo(we,fn,Mn),Oo(we,Fa,Ma),ri(we));let Xn=Ma?we:On[fn];const sr=b.createElement(b.Fragment,null,Yo(Xn,fn,Mn),br(Xn,(on=Xn==null?void 0:Xn.answer)==null?void 0:on[0],fn,Mn),Hr(Xn));return Ma?[jn,sr]:ko(jn,sr,Xn,fn)},deal:we=>{we.score=we.score===void 0?5:we.score;let fn=[];return Er(we==null?void 0:we.question)||fn.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),we.errorMsg=fn.join(` `),we}},{id:"6",type:"\u7F16\u7A0B\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn],Ma=La.slice(0,4).map(Fa=>({key:Fa,label:Fa,onClick:()=>gr("platform",fn,Fa)}));return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u8BD5\u9898\u63CF\u8FF0\uFF1A${(we==null?void 0:we.description)||""}`,tagName:"p"}),Oo(we),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),(Mn=we==null?void 0:we.inputs)==null?void 0:Mn.map((Fa,jn)=>{var Xn;return b.createElement(b.Fragment,{key:jn},b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${jn+1})\u8F93\u5165\uFF1A${Fa||""}`,tagName:"div"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B(${jn+1})\u8F93\u51FA\uFF1A${((Xn=we==null?void 0:we.outputs)==null?void 0:Xn[jn])||""}`,tagName:"div"}))}),ri(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),b.createElement("div",{className:de.liWrap,style:{background:"transparent",marginBottom:0,padding:0}},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u8BD5\u9898\u63CF\u8FF0\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:on==null?void 0:on.description,tagName:"div",onBlur:Fa=>gr("description",fn,Fa)}))),br(on,"",fn),b.createElement("div",{className:de.liWrap},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:on==null?void 0:on.timeLimit,tagName:"div",onBlur:Fa=>gr("timeLimit",fn,Pr(Fa))})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:Ma}},b.createElement("span",{className:"c-light-primary"},on==null?void 0:on.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:de.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u5B66\u5458\u521D\u59CB\u4EE3\u7801\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.code)||"",onBlur:Fa=>gr("code",fn,Pr(Fa)),tagName:"div"}))),(Sa=on==null?void 0:on.inputs)==null?void 0:Sa.map((Fa,jn)=>{var Xn;return b.createElement("div",{className:de.liWrap,key:jn},b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",jn+1,")\u8F93\u5165\uFF1A"),b.createElement(gt,{id:on==null?void 0:on.id,value:Fa||"",className:de.edit,onBlur:sr=>{const Ha=[...(on==null?void 0:on.inputs)||[]];Ha[jn]=Pr(sr),gr("inputs",fn,Ha)},tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B(",jn+1,")\u8F93\u51FA\uFF1A"),b.createElement(gt,{id:on==null?void 0:on.id,value:((Xn=on==null?void 0:on.outputs)==null?void 0:Xn[jn])||"",className:de.edit,onBlur:sr=>{const Ha=[...(on==null?void 0:on.outputs)||[]];Ha[jn]=Pr(sr),gr("outputs",fn,Ha)},tagName:"div"})))}),Hr(on))))},deal:we=>{var fn,Mn,Sa;we.score=we.score===void 0?10:we.score,we.code=(fn=we.code)==null?void 0:fn.trim();let on=[];Er(we==null?void 0:we.question)?((Mn=we==null?void 0:we.question)==null?void 0:Mn.length)>60&&on.push("\u7F16\u7A0B\u9898\u540D\u79F0\u9650\u523660\u4E2A\u5B57\u7B26"):on.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Er(we==null?void 0:we.description)||on.push("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\u63CF\u8FF0");const Ma=Er(String((we==null?void 0:we.timeLimit)||""));if(we.timeLimit=Ma,(!Ma||Ma&&!["3","4","5","6","7","8","9","10"].includes(Ma))&&on.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.platform=Er(we==null?void 0:we.platform),we!=null&&we.platform){const Fa=["c","c++","java","python"],jn=(Sa=we==null?void 0:we.platform)==null?void 0:Sa.toLowerCase(),Xn=Fa.findIndex(sr=>sr===jn);Xn>-1?we.platform=La[Xn]:on.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00")}else on.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u8BED\u8A00");if(!(we!=null&&we.inputs)||!(we!=null&&we.outputs))we.inputs=[],we.outputs=[],on.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 Fa=Math.min(we.inputs.length,we.outputs.length);we.inputs=we.inputs.slice(0,Fa),we.outputs=we.outputs.slice(0,Fa),we.outputs.some(jn=>!Er(jn))&&on.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879")}return we.errorMsg=on.join(` -`),we}},{id:"7",type:"\u7EC4\u5408\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn];return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),Oo(we),(Mn=we==null?void 0:we.questions)==null?void 0:Mn.map((Ma,Fa)=>{var jn;const Xn=(jn=Wi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`left-${we.id}-${Fa}`},Xn(Ma,fn,Fa)[0])}),ri(we),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),br(on,"",fn),(Sa=on==null?void 0:on.questions)==null?void 0:Sa.map((Ma,Fa)=>{var jn;const Xn=(jn=Wi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`right-${on.id}-${Fa}`},Xn(Ma,fn,Fa)[1])}),Hr(on))))},deal:we=>{var fn,Mn,Sa,on,Ma;const Fa=jo,jn=[...Wi],Xn=jn.findIndex(Ja=>Ja.id==="0"),sr=jn.findIndex(Ja=>Ja.id==="1");if(Xn!==-1){const Ja=jn[Xn].deal;jn[Xn].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(` +`),we}},{id:"7",type:"\u7EC4\u5408\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn];return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),Oo(we),(Mn=we==null?void 0:we.questions)==null?void 0:Mn.map((Ma,Fa)=>{var jn;const Xn=(jn=Wi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`left-${we.id}-${Fa}`},Xn(Ma,fn,Fa)[0])}),ri(we),b.createElement("p",{contentEditable:!0},"}}")))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),br(on,"",fn),(Sa=on==null?void 0:on.questions)==null?void 0:Sa.map((Ma,Fa)=>{var jn;const Xn=(jn=Wi.find(sr=>sr.id===(Ma==null?void 0:Ma.type)))==null?void 0:jn.element;return b.createElement(b.Fragment,{key:`right-${on.id}-${Fa}`},Xn(Ma,fn,Fa)[1])}),Hr(on))))},deal:we=>{var fn,Mn,Sa,on,Ma;const Fa=Go,jn=[...Wi],Xn=jn.findIndex(Ja=>Ja.id==="0"),sr=jn.findIndex(Ja=>Ja.id==="1");if(Xn!==-1){const Ja=jn[Xn].deal;jn[Xn].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(` `).filter($o=>$o!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` `)),bo}}if(sr!==-1){const Ja=jn[sr].deal;jn[sr].deal=Rr=>{const bo=Ja(Rr);return bo.errorMsg&&(bo.errorMsg=bo.errorMsg.split(` `).filter($o=>$o!=="\u9009\u9879\u5185\u5BB9\u91CD\u590D").join(` -`)),bo}}we.questions=(fn=we.questions)!=null&&fn.length?jo(we.questions.slice(0,20)):[],we.questions=(Mn=we.questions)==null?void 0:Mn.map((Ja,Rr)=>{var bo;if(Ja.type==="0"||Ja.type==="1"){const $o=(bo=Ja.options)==null?void 0:bo.map(Wo=>Wo==null?void 0:Wo.trim().replace(/^\s+|\s+$/g,""));$o&&new Set($o).size!==$o.length&&(Ja.errorMsg=(Ja.errorMsg?Ja.errorMsg+` +`)),bo}}we.questions=(fn=we.questions)!=null&&fn.length?Go(we.questions.slice(0,20)):[],we.questions=(Mn=we.questions)==null?void 0:Mn.map((Ja,Rr)=>{var bo;if(Ja.type==="0"||Ja.type==="1"){const $o=(bo=Ja.options)==null?void 0:bo.map(Wo=>Wo==null?void 0:Wo.trim().replace(/^\s+|\s+$/g,""));$o&&new Set($o).size!==$o.length&&(Ja.errorMsg=(Ja.errorMsg?Ja.errorMsg+` `:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Zt(Vn({},Ja),{last:Rr===we.questions.length-1})});const Ha=(Sa=we.questions)==null?void 0:Sa.reduce((Ja,Rr)=>{const bo=parseFloat(Rr.score);return isNaN(bo)?Ja:Ja+bo},0);we.score=Ha;let Ta=[];return(on=we.questions)!=null&&on.length?we.errorMsg=((Ma=we.questions)==null?void 0:Ma.findIndex(Ja=>!!Ja.errorMsg))>-1:Ta.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),Er(we==null?void 0:we.question)||Ta.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ta.length&&(we.errorMsg=Ta.join(` `)),we}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(we,fn)=>{var Mn,Sa;const on=On[fn],Ma=La.map(Fa=>({key:Fa,label:Fa,onClick:()=>gr("platform",fn,Fa)}));return b.createElement("div",{className:de.row,style:{display:xa?on!=null&&on.errorMsg?"flex":"none":"flex"}},b.createElement("div",{className:de.leftLayout},b.createElement(Lt,null,b.createElement("div",{"data-text":"edit",contentEditable:!0,className:de.question},eo(we,fn),Oo(we),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${we==null?void 0:we.timeLimit}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(we==null?void 0:we.platform)||""}`,tagName:"p"}),b.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:(we==null?void 0:we.code)||"",tagName:"div"}),b.createElement("h4",null),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(we==null?void 0:we.input)||""}`,tagName:"p"}),b.createElement(gt,{id:we==null?void 0:we.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(we==null?void 0:we.output)||""}`,tagName:"p"}),(Mn=we==null?void 0:we.answer)==null?void 0:Mn.map((Fa,jn)=>b.createElement(gt,{key:jn,id:we==null?void 0:we.id,value:`\u7B54\u6848${jn+1}\uFF1A${Fa||""}`,tagName:"p"})),ri(we)))),b.createElement("div",{className:de.rightLayout},b.createElement(mt,{className:on!=null&&on.errorMsg?de.error:""},Yo(on,fn),br(on,"",fn),b.createElement("div",{className:de.liWrap},b.createElement("div",{className:de.li,onKeyDown:ct},b.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:on==null?void 0:on.timeLimit,tagName:"div",onBlur:Fa=>gr("timeLimit",fn,Pr(Fa))})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),b.createElement("div",{className:"c-black"},b.createElement(Ge.Z,{menu:{items:Ma}},b.createElement("span",{className:"c-light-primary"},on==null?void 0:on.platform,b.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),b.createElement("div",{className:de.li,style:{flexDirection:"column",alignItems:"start"}},b.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.code)||"",onBlur:Fa=>gr("code",fn,Pr(Fa)),tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.input)||"",onBlur:Fa=>gr("input",fn,Pr(Fa)),tagName:"div"})),b.createElement("div",{className:de.li},b.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),b.createElement(gt,{className:de.edit,id:on==null?void 0:on.id,value:(on==null?void 0:on.output)||"",onBlur:Fa=>gr("output",fn,Pr(Fa)),tagName:"div"}))),b.createElement("div",{className:de.liWrap},(Sa=on==null?void 0:on.answer)==null?void 0:Sa.map((Fa,jn)=>b.createElement("div",{className:de.li,key:jn},b.createElement("aside",null,"\u7B54\u6848",jn+1,"\uFF1A"),b.createElement(gt,{id:on==null?void 0:on.id,value:Fa||"",className:de.edit,onBlur:Xn=>{const sr=[...(on==null?void 0:on.answer)||[]];sr[jn]=Pr(Xn),gr("output",fn,sr)},tagName:"div"})))),Hr(on))))},deal:we=>{var fn,Mn,Sa,on,Ma,Fa,jn,Xn;we.score=we.score===void 0?10:we.score,we.code=(Sa=(Mn=(fn=we.code)==null?void 0:fn.trim())==null?void 0:Mn.replace(/@_@/g,"@\u2581@"))==null?void 0:Sa.replace(/@__@/g,"@\u2581\u2581@");let sr=[];if(Er(we==null?void 0:we.question)||sr.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Er(we==null?void 0:we.code)?/@▁@|@▁▁@/.test(we==null?void 0:we.code)?(on=we==null?void 0:we.answer)!=null&&on.length&&((Ma=we==null?void 0:we.code.match(/@▁@|@▁▁@/g))==null?void 0:Ma.length)!==((Fa=we==null?void 0:we.answer)==null?void 0:Fa.length)&&sr.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):sr.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"):sr.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),we!=null&&we.answer?(jn=we.answer)!=null&&jn.some(Ta=>!Er(Ta))&&sr.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):sr.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),we.platform=Er(we==null?void 0:we.platform),we!=null&&we.platform){const Ta=["c","c++","java","python","javascript","ruby"],Ja=(Xn=we==null?void 0:we.platform)==null?void 0:Xn.toLowerCase(),Rr=Ta.findIndex(bo=>bo===Ja);Rr>-1?we.platform=La[Rr]:sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else sr.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");Er(we==null?void 0:we.output)||sr.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Ha=Er(String((we==null?void 0:we.timeLimit)||""));return we.timeLimit=Ha,(!Ha||Ha&&!["3","4","5","6","7","8","9","10"].includes(Ha))&&sr.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),we.errorMsg=sr.join(` -`),we}}],dl=()=>b.createElement(b.Fragment,null,yr.filter(we=>{var fn;return!!((fn=Wi.find(Sa=>Sa.id===(we==null?void 0:we.type)))==null?void 0:fn.element)}).map((we,fn)=>{var Mn;const Sa=(Mn=Wi.find(on=>on.id===(we==null?void 0:we.type)))==null?void 0:Mn.element;return b.createElement(b.Fragment,{key:we.id},Sa(we,fn))})),gl=()=>Fn(void 0,null,function*(){const we=On.filter(fn=>!fn.checked);if(Ln!==3||!we.length){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}xr.setFieldsValue({sub_discipline_id:Me}),Gt(!0)}),Pl=we=>Fn(void 0,null,function*(){const fn=jo(we);en(fn),ia(JSON.parse(JSON.stringify(fn))),Jn(3),fa(!1),An(!1),We(!1)});(0,b.useEffect)(()=>{if(_n)return;const we=()=>{Da(fn=>fn>=90?(clearInterval(za.current),90):fn+1)};return za.current=setInterval(we,5e4/90),()=>clearInterval(za.current)},[_n]);const kr=(we,fn)=>{Ea(!1);const Mn=new FormData;Object.keys(fn).forEach(on=>{Mn.append(on,fn[on])});const Sa=new window.XMLHttpRequest;Sa.withCredentials=!0,Sa.addEventListener("load",function(on){return Fn(this,null,function*(){var Ma,Fa;try{const jn=JSON.parse((Ma=on==null?void 0:on.target)==null?void 0:Ma.response);if(Ea(!0),Da(100),yield new Promise(Xn=>setTimeout(()=>Xn(),780)),jn.status===0){if(!((Fa=jn==null?void 0:jn.data)!=null&&Fa.length)){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),fa(!1);return}Pl((jn==null?void 0:jn.data)||[])}else fa(!1),ke.ZP.warning(jn==null?void 0:jn.message)}catch(jn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",jn)}})}),Sa.addEventListener("error",()=>{fa(!1)}),Sa.open("POST",`${re.Z.API_SERVER}${we}`),Sa.send(Mn)},Qa=we=>Fn(void 0,null,function*(){const fn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(fn)==-1?(ke.ZP.error(`${we.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()):(fa(!0),ar("\u5904\u7406\u4E2D"),kr("/api/intelligent_imports/import.json",{file:we}),Promise.reject())}),Ga=we=>Fn(void 0,null,function*(){const fn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(fn)==-1?(ke.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()):we.size/1024/1024>200?(ke.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(Ue!=null&&Ue.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:()=>bn([we])}):bn([we]),Promise.reject())});let Ya=[{key:1,label:b.createElement(Je.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Qa},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const so=[On.length,(cn=On.filter(we=>!!(we!=null&&we.errorMsg)))==null?void 0:cn.length];return b.createElement("div",{className:Ne()(de.intelligentBox,"intelligent-body-curb",De),style:Zt(Vn({},fe),{width:Xe}),ref:ha},b.createElement("div",{className:de.underpin},b.createElement("b",{style:zt}),b.createElement("b",{style:zt})),b.createElement("div",{className:de.head,style:{top:nt}},b.createElement("div",{className:de.leftLayout},nn||b.createElement(b.Fragment,null,b.createElement(et.Z,{align:"middle"},b.createElement("div",{className:de.title},"\u8BD5\u9898\u7F16\u8F91"),!yt&&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:Or,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!yt&&b.createElement(Ge.Z,{overlayClassName:de.menu,menu:{items:Ya}},b.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!wt&&wt),b.createElement("div",{className:de.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(et.Z,{className:de.rightLayout,style:{alignItems:"start"}},dn||b.createElement(b.Fragment,null,b.createElement("div",{className:de.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ln)&&b.createElement(Ve.default,{className:"ml20",checked:xa,onChange:we=>We(we.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"},so[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},so[1]),"\u9898")),Ft&&b.createElement("div",{className:de.tabs},yr==null?void 0:yr.map((we,fn)=>b.createElement("div",{onClick:()=>{Dn(fn)},className:Pa===fn&&de.active,key:fn},"\u65B0\u9898",fn+1)))),b.createElement("div",{className:de.centerBox},b.createElement("img",{className:"mb10",src:be,width:56}),!yn&&b.createElement(ne.op,{onClick:Mo},"\u8BC6\u522B"))),[1,2].includes(Ln)&&Ao(),[3].includes(Ln)&&dl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:de.buttonFixed},b.createElement("div",{className:de.buttonWrap},b.createElement(Ye.ZP,{size:"middle",className:`${de.button} mr20`,onClick:Rt},"\u53D6\u6D88"),b.createElement(Ye.ZP,{size:"middle",type:"primary",className:`${de.button}`,onClick:gl},sn))),b.createElement(le.default,{centered:!0,closable:!1,destroyOnClose:!0,open:$a,title:null,footer:null,width:320,afterClose:()=>Da(0)},b.createElement(et.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Na,b.createElement("span",{className:de.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:va}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},va,"%")))),b.createElement(le.default,{centered:!0,open:Vt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:It,width:480,onCancel:()=>Gt(!1),onOk:()=>xr.submit(),afterClose:()=>{xr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:xr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Fn(void 0,null,function*(){var fn,Mn,Sa,on,Ma;const Fa=On.filter(sr=>!sr.checked&&!sr.errorMsg);_t(!0);const jn=()=>Fn(void 0,null,function*(){var sr,Ha;const Ta=yield(0,je.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(Vn(Vn({},Ie),we),{list:Fa,mode:St})});Ta.status===0&&(kt&&((sr=Ta==null?void 0:Ta.data)!=null&&sr.success)&&window.location.pathname==="/problemset"&&(ft.Z.publish("refresh-item-bank",we.group_id),yield new Promise(Ja=>setTimeout(()=>Ja(),1500))),ke.ZP.success(`\u6210\u529F\u5BFC\u5165${(Ha=Ta==null?void 0:Ta.data)==null?void 0:Ha.success}\u9053\u8BD5\u9898`,3),Oe(),Gt(!1)),_t(!1)});if(St!==1){yield jn();return}const Xn=yield(0,je.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:On,mode:St}});if(Xn.status===0){if(!((fn=Xn==null?void 0:Xn.data)!=null&&fn.error_size)){yield jn();return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{_t(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Mn=Xn==null?void 0:Xn.data)==null?void 0:Mn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Sa=Xn==null?void 0:Xn.data)==null?void 0:Sa.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Ma=(on=Xn==null?void 0:Xn.data)==null?void 0:on.index)==null?void 0:Ma.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:jn})}})},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(Ze.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(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:vt})),St===1&&b.createElement(Ze.default.Item,{label:b.createElement(et.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>wn(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:He}),"\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(Ae.Z,{key:pt})))),b.createElement(le.default,{centered:!0,open:Rn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:ka,onCancel:()=>wn(!1),onOk:()=>Wr.submit(),afterClose:()=>{Wr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:Wr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Fn(void 0,null,function*(){var fn;pa(!0),(yield(0,je.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:we.name,parent_id:(fn=we==null?void 0:we.parent_id)==null?void 0:fn[0]}})).status===0?(Sn(pt+1),setTimeout(()=>{ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),wn(!1),pa(!1)},1e3)):pa(!1)})},b.createElement(Ze.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(Ze.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Ae.Z,null)))),b.createElement(le.default,{centered:!0,open:Wn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>An(!1),onOk:()=>{if(lr===1&&!Er(Ur)){ke.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(lr===2&&!Er(Ur)&&!(Ue!=null&&Ue.length)){ke.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const we=[{name:"\u5355\u9009\u9898",num:Xt||0},{name:"\u591A\u9009\u9898",num:Kn||0},{name:"\u5224\u65AD\u9898",num:Qn||0},{name:"\u586B\u7A7A\u9898",num:ur||0},{name:"\u7B80\u7B54\u9898",num:En||0}];if(we.reduce((Sa,on)=>Sa+on.num,0)===0){ke.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(lr,Xt,Kn),fa(!0),ar("\u5904\u7406\u4E2D");const Mn={type:lr,query:Ur,item_types:JSON.stringify(we)};lr===2&&(Mn.file=(Ue==null?void 0:Ue[0])||null),kr("/api/intelligent_imports/large_model_intelligent_qa.json",Mn)}},b.createElement(et.Z,{align:"middle",className:"mb10 c-black"},b.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),b.createElement(x.ZP.Group,{value:lr,onChange:we=>Nr(we.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:Ur,placeholder:lr===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:we=>{Sr(we.target.value)}}),lr===2&&b.createElement(b.Fragment,null,b.createElement(Je.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:Ue,beforeUpload:Ga,className:"mb20",onRemove:()=>bn([])},b.createElement(y.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(et.Z,{align:"middle",className:"c-black"},b.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),b.createElement(et.Z,{gutter:16},b.createElement(z.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Xt,onChange:Nn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Kn,onChange:la,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(st.Z,{min:0,max:10,value:Qn,onChange:Un,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(st.Z,{min:0,max:10,value:ur,onChange:da,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(st.Z,{min:0,max:10,value:En,onChange:dr,style:{marginLeft:"8px"}}))))))},ut=ue;var at=Nt},59879:function(Qt,jt,ee){"use strict";var b=ee(59301),de=ee(88010),Be=ee(48136),Ne=ee(41588),Ze=ee(43418),ke=ee(59301);const le=(0,b.forwardRef)(({callback:st,width:et,onChange:Ve,disabled:Ge,readOnly:Je,type:Ye="",value:se="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,ne]=(0,b.useState)(0),[re,ue]=(0,b.useState)(0),[ie,ve]=(0,b.useState)(!1),be=()=>{var he=document.createElement("div");he.innerHTML=x.current.getValue();var qe=he.innerText;return st&&st(qe),qe};(0,b.useImperativeHandle)(a,()=>({getData:be}));const je=he=>{he.preventDefault();const qe=he.clientX-z,Ke=he.clientY-re;document.body.onmousemove=ht=>{let Le=ht.clientX-qe,ot=ht.clientY-Ke;const lt=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth-lt.offsetWidth,ft=window.innerHeight-lt.offsetHeight;Le=Math.max(0,Math.min(Le,gt)),ot=Math.max(0,Math.min(ot,ft)),Ae(ht.clientX,ht.clientY,qe,Ke)&&(ne(Le),ue(ot))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ae=(he,qe,Ke,ht)=>{const Le=document.body.clientHeight,ot=document.body.clientWidth;return he<20&&Ke>he||he>ot-20&&Keqe||qe>Le-20&&ht{ie&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],qe=window.innerWidth/2-he.offsetWidth/2,Ke=window.innerHeight/2-he.offsetHeight/2;ne(qe),ue(Ke)},0)},[ie]);const He=()=>{Ge||Je||ve(!0)};return ke.createElement("div",{style:E},ke.createElement("div",{style:{width:et||"100%",position:"relative"},className:`${de.Z.mathFillWrap} ${Ge||Je?"cursorDefault":""}`,onClick:()=>He()},ke.createElement("math-field",{disabled:Ge,locale:"zh_cn",class:`${de.Z.mathField} ${Ye}`,readOnly:Je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:se?18:14},value:se||""})),ke.createElement(Ze.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:ke.createElement("div",{style:{cursor:"move"},onMouseDown:je},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const he=y.current.getData();x.current.setValue(he),Ve(he),ve(!1)},onCancel:()=>{ve(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ke.createElement(Ne.Z,{value:se,ref:y,onChange:Ve,showSaveButton:!1})))});jt.Z=le},41588:function(Qt,jt,ee){"use strict";var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(99313),Ze=ee(3113),ke=ee(85149),le=ee(88010),st=ee(48136),et=ee(59301);const Ve=(0,b.forwardRef)(({callback:Ge,showSaveButton:Je,value:Ye=""},se)=>{const E=(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 +`),we}}],dl=()=>b.createElement(b.Fragment,null,yr.filter(we=>{var fn;return!!((fn=Wi.find(Sa=>Sa.id===(we==null?void 0:we.type)))==null?void 0:fn.element)}).map((we,fn)=>{var Mn;const Sa=(Mn=Wi.find(on=>on.id===(we==null?void 0:we.type)))==null?void 0:Mn.element;return b.createElement(b.Fragment,{key:we.id},Sa(we,fn))})),gl=()=>Fn(void 0,null,function*(){const we=On.filter(fn=>!fn.checked);if(Ln!==3||!we.length){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}xr.setFieldsValue({sub_discipline_id:Me}),Wt(!0)}),Pl=we=>Fn(void 0,null,function*(){const fn=Go(we);en(fn),ia(JSON.parse(JSON.stringify(fn))),Jn(3),fa(!1),An(!1),We(!1)});(0,b.useEffect)(()=>{if(_n)return;const we=()=>{Da(fn=>fn>=90?(clearInterval(za.current),90):fn+1)};return za.current=setInterval(we,5e4/90),()=>clearInterval(za.current)},[_n]);const kr=(we,fn)=>{Ea(!1);const Mn=new FormData;Object.keys(fn).forEach(on=>{Mn.append(on,fn[on])});const Sa=new window.XMLHttpRequest;Sa.withCredentials=!0,Sa.addEventListener("load",function(on){return Fn(this,null,function*(){var Ma,Fa;try{const jn=JSON.parse((Ma=on==null?void 0:on.target)==null?void 0:Ma.response);if(Ea(!0),Da(100),yield new Promise(Xn=>setTimeout(()=>Xn(),780)),jn.status===0){if(!((Fa=jn==null?void 0:jn.data)!=null&&Fa.length)){ke.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),fa(!1);return}Pl((jn==null?void 0:jn.data)||[])}else fa(!1),ke.ZP.warning(jn==null?void 0:jn.message)}catch(jn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",jn)}})}),Sa.addEventListener("error",()=>{fa(!1)}),Sa.open("POST",`${re.Z.API_SERVER}${we}`),Sa.send(Mn)},Qa=we=>Fn(void 0,null,function*(){const fn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(fn)==-1?(ke.ZP.error(`${we.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()):(fa(!0),ar("\u5904\u7406\u4E2D"),kr("/api/intelligent_imports/import.json",{file:we}),Promise.reject())}),Ga=we=>Fn(void 0,null,function*(){const fn=we.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(fn)==-1?(ke.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()):we.size/1024/1024>200?(ke.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(Ue!=null&&Ue.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:()=>bn([we])}):bn([we]),Promise.reject())});let Ya=[{key:1,label:b.createElement(Je.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:Qa},b.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const so=[On.length,(cn=On.filter(we=>!!(we!=null&&we.errorMsg)))==null?void 0:cn.length];return b.createElement("div",{className:Ne()(de.intelligentBox,"intelligent-body-curb",De),style:Zt(Vn({},fe),{width:Xe}),ref:ha},b.createElement("div",{className:de.underpin},b.createElement("b",{style:zt}),b.createElement("b",{style:zt})),b.createElement("div",{className:de.head,style:{top:nt}},b.createElement("div",{className:de.leftLayout},nn||b.createElement(b.Fragment,null,b.createElement(et.Z,{align:"middle"},b.createElement("div",{className:de.title},"\u8BD5\u9898\u7F16\u8F91"),!yt&&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:Or,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!yt&&b.createElement(Ge.Z,{overlayClassName:de.menu,menu:{items:Ya}},b.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!wt&&wt),b.createElement("div",{className:de.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(et.Z,{className:de.rightLayout,style:{alignItems:"start"}},dn||b.createElement(b.Fragment,null,b.createElement("div",{className:de.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Ln)&&b.createElement(Ve.default,{className:"ml20",checked:xa,onChange:we=>We(we.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"},so[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",b.createElement("span",{className:"ml5 mr5 c-red-e53"},so[1]),"\u9898")),Ft&&b.createElement("div",{className:de.tabs},yr==null?void 0:yr.map((we,fn)=>b.createElement("div",{onClick:()=>{Dn(fn)},className:Pa===fn&&de.active,key:fn},"\u65B0\u9898",fn+1)))),b.createElement("div",{className:de.centerBox},b.createElement("img",{className:"mb10",src:be,width:56}),!yn&&b.createElement(ne.op,{onClick:Mo},"\u8BC6\u522B"))),[1,2].includes(Ln)&&Ao(),[3].includes(Ln)&&dl(),b.createElement("div",{className:"pb10"}),b.createElement("div",{className:de.buttonFixed},b.createElement("div",{className:de.buttonWrap},b.createElement(Ye.ZP,{size:"middle",className:`${de.button} mr20`,onClick:Rt},"\u53D6\u6D88"),b.createElement(Ye.ZP,{size:"middle",type:"primary",className:`${de.button}`,onClick:gl},sn))),b.createElement(le.default,{centered:!0,closable:!1,destroyOnClose:!0,open:$a,title:null,footer:null,width:320,afterClose:()=>Da(0)},b.createElement(et.Z,{align:"middle",style:{flexDirection:"column"}},b.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},Na,b.createElement("span",{className:de.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:va}),b.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",b.createElement("span",{className:"ml5 c-light-primary"},va,"%")))),b.createElement(le.default,{centered:!0,open:Vt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:It,width:480,onCancel:()=>Wt(!1),onOk:()=>xr.submit(),afterClose:()=>{xr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:xr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Fn(void 0,null,function*(){var fn,Mn,Sa,on,Ma;const Fa=On.filter(sr=>!sr.checked&&!sr.errorMsg);_t(!0);const jn=()=>Fn(void 0,null,function*(){var sr,Ha;const Ta=yield(0,je.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(Vn(Vn({},Ie),we),{list:Fa,mode:St})});Ta.status===0&&(kt&&((sr=Ta==null?void 0:Ta.data)!=null&&sr.success)&&window.location.pathname==="/problemset"&&(ft.Z.publish("refresh-item-bank",we.group_id),yield new Promise(Ja=>setTimeout(()=>Ja(),1500))),ke.ZP.success(`\u6210\u529F\u5BFC\u5165${(Ha=Ta==null?void 0:Ta.data)==null?void 0:Ha.success}\u9053\u8BD5\u9898`,3),Oe(),Wt(!1)),_t(!1)});if(St!==1){yield jn();return}const Xn=yield(0,je.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:On,mode:St}});if(Xn.status===0){if(!((fn=Xn==null?void 0:Xn.data)!=null&&fn.error_size)){yield jn();return}le.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{_t(!1)},title:"\u63D0\u793A",content:b.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",b.createElement("span",{className:"c-light-primary ml5 mr5"},(Mn=Xn==null?void 0:Xn.data)==null?void 0:Mn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",b.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Sa=Xn==null?void 0:Xn.data)==null?void 0:Sa.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",b.createElement("span",{className:"ml5 mr5"},(Ma=(on=Xn==null?void 0:Xn.data)==null?void 0:on.index)==null?void 0:Ma.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:jn})}})},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(Ze.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(E.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:vt})),St===1&&b.createElement(Ze.default.Item,{label:b.createElement(et.Z,{align:"middle",style:{justifyContent:"space-between"}},b.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),b.createElement("div",{onClick:()=>wn(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},b.createElement("img",{className:"mr5 primary-hover",src:He}),"\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(Ae.Z,{key:pt})))),b.createElement(le.default,{centered:!0,open:Rn,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:ka,onCancel:()=>wn(!1),onOk:()=>Wr.submit(),afterClose:()=>{Wr.resetFields()}},b.createElement(Ze.default,{style:{maxHeight:550},form:Wr,layout:"horizontal",colon:!1,size:"large",onFinish:we=>Fn(void 0,null,function*(){var fn;pa(!0),(yield(0,je.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:we.name,parent_id:(fn=we==null?void 0:we.parent_id)==null?void 0:fn[0]}})).status===0?(Sn(pt+1),setTimeout(()=>{ke.ZP.success("\u64CD\u4F5C\u6210\u529F"),wn(!1),pa(!1)},1e3)):pa(!1)})},b.createElement(Ze.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(Ze.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},b.createElement(Ae.Z,null)))),b.createElement(le.default,{centered:!0,open:Wn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>An(!1),onOk:()=>{if(lr===1&&!Er(Ur)){ke.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(lr===2&&!Er(Ur)&&!(Ue!=null&&Ue.length)){ke.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const we=[{name:"\u5355\u9009\u9898",num:Xt||0},{name:"\u591A\u9009\u9898",num:Kn||0},{name:"\u5224\u65AD\u9898",num:Qn||0},{name:"\u586B\u7A7A\u9898",num:ur||0},{name:"\u7B80\u7B54\u9898",num:En||0}];if(we.reduce((Sa,on)=>Sa+on.num,0)===0){ke.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(lr,Xt,Kn),fa(!0),ar("\u5904\u7406\u4E2D");const Mn={type:lr,query:Ur,item_types:JSON.stringify(we)};lr===2&&(Mn.file=(Ue==null?void 0:Ue[0])||null),kr("/api/intelligent_imports/large_model_intelligent_qa.json",Mn)}},b.createElement(et.Z,{align:"middle",className:"mb10 c-black"},b.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),b.createElement(x.ZP.Group,{value:lr,onChange:we=>Nr(we.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:Ur,placeholder:lr===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:we=>{Sr(we.target.value)}}),lr===2&&b.createElement(b.Fragment,null,b.createElement(Je.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:Ue,beforeUpload:Ga,className:"mb20",onRemove:()=>bn([])},b.createElement(y.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(et.Z,{align:"middle",className:"c-black"},b.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),b.createElement(et.Z,{gutter:16},b.createElement(z.Z,null,b.createElement("label",null,"\u5355\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Xt,onChange:Nn,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u591A\u9009\u9898"),b.createElement(st.Z,{min:0,max:10,value:Kn,onChange:la,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u5224\u65AD\u9898"),b.createElement(st.Z,{min:0,max:10,value:Qn,onChange:Un,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u586B\u7A7A\u9898"),b.createElement(st.Z,{min:0,max:10,value:ur,onChange:da,style:{marginLeft:"8px"}})),b.createElement(z.Z,null,b.createElement("label",null,"\u7B80\u7B54\u9898"),b.createElement(st.Z,{min:0,max:10,value:En,onChange:dr,style:{marginLeft:"8px"}}))))))},ut=ue;var at=Nt},59879:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(88010),Be=ee(48136),Ne=ee(41588),Ze=ee(43418),ke=ee(59301);const le=(0,b.forwardRef)(({callback:st,width:et,onChange:Ve,disabled:Ge,readOnly:Je,type:Ye="",value:se="",style:E={}},a)=>{const x=(0,b.useRef)(),y=(0,b.useRef)(),[z,ne]=(0,b.useState)(0),[re,ue]=(0,b.useState)(0),[ie,ve]=(0,b.useState)(!1),be=()=>{var he=document.createElement("div");he.innerHTML=x.current.getValue();var qe=he.innerText;return st&&st(qe),qe};(0,b.useImperativeHandle)(a,()=>({getData:be}));const je=he=>{he.preventDefault();const qe=he.clientX-z,Ke=he.clientY-re;document.body.onmousemove=ht=>{let Le=ht.clientX-qe,ot=ht.clientY-Ke;const lt=document.getElementsByClassName("markdown-popup-form")[0],gt=window.innerWidth-lt.offsetWidth,ft=window.innerHeight-lt.offsetHeight;Le=Math.max(0,Math.min(Le,gt)),ot=Math.max(0,Math.min(ot,ft)),Ae(ht.clientX,ht.clientY,qe,Ke)&&(ne(Le),ue(ot))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ae=(he,qe,Ke,ht)=>{const Le=document.body.clientHeight,ot=document.body.clientWidth;return he<20&&Ke>he||he>ot-20&&Keqe||qe>Le-20&&ht{ie&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],qe=window.innerWidth/2-he.offsetWidth/2,Ke=window.innerHeight/2-he.offsetHeight/2;ne(qe),ue(Ke)},0)},[ie]);const He=()=>{Ge||Je||ve(!0)};return ke.createElement("div",{style:E},ke.createElement("div",{style:{width:et||"100%",position:"relative"},className:`${de.Z.mathFillWrap} ${Ge||Je?"cursorDefault":""}`,onClick:()=>He()},ke.createElement("math-field",{disabled:Ge,locale:"zh_cn",class:`${de.Z.mathField} ${Ye}`,readOnly:Je,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:se?18:14},value:se||""})),ke.createElement(Ze.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:ke.createElement("div",{style:{cursor:"move"},onMouseDown:je},"\u8F93\u5165\u516C\u5F0F"),open:ie,onOk:()=>{const he=y.current.getData();x.current.setValue(he),Ve(he),ve(!1)},onCancel:()=>{ve(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ke.createElement(Ne.Z,{value:se,ref:y,onChange:Ve,showSaveButton:!1})))});Gt.Z=le},41588:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(99313),Ze=ee(3113),ke=ee(85149),le=ee(88010),st=ee(48136),et=ee(59301);const Ve=(0,b.forwardRef)(({callback:Ge,showSaveButton:Je,value:Ye=""},se)=>{const E=(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 @@ -81,7 +81,7 @@ \\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}`}]}]}],y=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},a.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:`$$${re.value}$$`}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>et.createElement("div",{key:ve},et.createElement("h1",null,ie.name),et.createElement(de.Z,{gutter:[10,10]},ie.data.map((be,je)=>et.createElement(Be.Z,{key:je,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},x.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:"`$$"+re.value+"$$`"}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>et.createElement("div",{key:ve},ie.name&&et.createElement("h1",null,ie.name),et.createElement(de.Z,{gutter:[10,10]},ie.data.map((be,je)=>et.createElement(Be.Z,{key:je,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ue=re.innerText;return Ge&&Ge(ue),ue};return(0,b.useImperativeHandle)(se,()=>({getData:ne})),et.createElement("div",{className:le.Z.mathWrap},et.createElement(Ne.default,{defaultActiveKey:"1",items:z}),et.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ye||""),Je&&et.createElement("div",{className:le.Z.button},et.createElement(Ze.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});jt.Z=Ve},87198:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Je}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(92832),Ze=ee(87169),ke=ee(99064),le={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},st=ee(86918),et=ee(59301),Ve=(Ye,se,E)=>new Promise((a,x)=>{var y=re=>{try{ne(E.next(re))}catch(ue){x(ue)}},z=re=>{try{ne(E.throw(re))}catch(ue){x(ue)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(y,z);ne((E=E.apply(Ye,se)).next())}),Je=({type:Ye="subject",open:se,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=de.default.useForm(),[z,ne]=(0,b.useState)([]),[re,ue]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Ve(void 0,null,function*(){if(Ye){const ve=yield(0,ke.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye}});ne(ve.disciplines||[])}});return et.createElement(Be.default,{title:et.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:se,width:558,centered:!0,className:le.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(ve=>Ve(void 0,null,function*(){const be=yield(0,ke.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:ve==null?void 0:ve.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:ve==null?void 0:ve.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},et.createElement("div",{className:le.publicQuestContent},et.createElement("div",{className:le.public_tips},et.createElement(Ze.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"),et.createElement(de.default,{labelAlign:"left",form:y,colon:!1},et.createElement(de.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},et.createElement(Ne.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),et.createElement(st.Z,{open:re,onCancel:()=>{ue(!1)}})))}},67248:function(Qt,jt,ee){"use strict";ee.d(jt,{Q:function(){return et},Z:function(){return Ge}});var b=ee(59301),de={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=ee(92310),Ne=ee.n(Be),Ze=ee(43418),ke=ee(8591),le=ee(24905),st=(Je,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Je,Ye)).next())});const et=({title:Je="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ye=[],visible:se,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[ne,re]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{se&&z(Ye)},[se]),b.createElement(Ze.default,{centered:!0,open:se,title:Je,confirmLoading:ne,width:564,onOk:()=>st(void 0,null,function*(){if(!y.length){ke.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield x(y),re(!1)}),onCancel:()=>E(!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:y,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:ue=>{z(ue)}})))};var Ge=({title:Je="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ye,style:se={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:de.c},"C"),"C++":b.createElement("div",{className:de.cpp},"C++"),Java:b.createElement("div",{className:de.java},"Java"),Python:b.createElement("div",{className:de.python},"Python")};return b.createElement("div",{className:Ne()(de.tags,Ye),style:se},!!Je&&b.createElement("div",{className:de.text},Je),b.createElement("div",{className:de.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${de.edit}`}))}},90502:function(Qt,jt,ee){"use strict";ee.d(jt,{t:function(){return ut}});var b=ee(59301),de=ee(92832),Be=ee(78241),Ne=ee(43418),Ze=ee(95237),ke=ee(43604),le=ee(5871),st=ee(57809),et=ee(5112),Ve=ee(41984),Ge=ee(89070),Je=ee(43809),Ye=ee(8591),se=ee(3113),E=ee(71418),a=ee(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"},y=ee(99064),z=ee(88264),ne=ee(12290),re=ee(56102),ue=ee(74440),ie=ee(59301),ve=Object.defineProperty,be=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,qe=(at,De,fe)=>De in at?ve(at,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):at[De]=fe,Ke=(at,De)=>{for(var fe in De||(De={}))He.call(De,fe)&&qe(at,fe,De[fe]);if(Ae)for(var fe of Ae(De))he.call(De,fe)&&qe(at,fe,De[fe]);return at},ht=(at,De)=>be(at,je(De)),Le=(at,De,fe)=>new Promise((Xe,Rt)=>{var Oe=nt=>{try{St(fe.next(nt))}catch(Me){Rt(Me)}},Ie=nt=>{try{St(fe.throw(nt))}catch(Me){Rt(Me)}},St=nt=>nt.done?Xe(nt.value):Promise.resolve(nt.value).then(Oe,Ie);St((fe=fe.apply(at,De)).next())}),lt=({buttonProps:at,buttonText:De,form:fe,hackIdentifier:Xe="",answerKey:Rt,data:Oe})=>{const[Ie,St]=(0,b.useState)(!1),[nt,Me]=(0,b.useState)(!1),[yt,Bn]=(0,b.useState)(!1),[nn,dn]=(0,b.useState)({}),[un,yn]=(0,b.useState)(""),[Te,Ft]=(0,b.useState)(""),zt=(0,b.useRef)(Xe),wt=(0,b.useRef)(""),kt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{yt&&Jn()},[yt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const sn=()=>new Date().getTime(),cn=Oe==null?void 0:Oe.code,Ln=()=>{var Na,ar;let $a=cn?Oe==null?void 0:Oe.code:(Na=fe.getFieldValue("hack_codes"))==null?void 0:Na.code,fa=cn?Oe==null?void 0:Oe.answer_content:fe.getFieldValue(Rt),yr=cn?Oe==null?void 0:Oe.input:(ar=fe.getFieldValue("hack_sets"))==null?void 0:ar.input;fa==null||fa.forEach(en=>{const On=en.value||en.answer_text||"";$a=$a.replace(/(@▁@|@▁▁@)/,On)}),Ft(yr),yn($a),dn({}),Bn(!0)},Jn=()=>Le(void 0,null,function*(){var Na,ar,$a,fa;const yr=sn(),en=cn?Oe==null?void 0:Oe.time_limit:(Na=fe.getFieldsValue())==null?void 0:Na.hack.time_limit,On=cn?(ar=Oe==null?void 0:Oe.answer_content)==null?void 0:ar.length:(fa=($a=fe.getFieldsValue())==null?void 0:$a.standard_answers)==null?void 0:fa.length;St(!0),yield(0,z.bM)(wt.current,{test_hack_code:un,test_input:Te});function ia(){return Le(this,null,function*(){const{status:xa,data:We}=yield(0,z.rX)(wt.current,"submit"),_t=sn()-yr>(en+3)*1e3*On;if(kt.current){if(_t){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),St(!1);return}if(xa===0){St(!1),dn(ht(Ke({},We),{showText:!0}));return}setTimeout(ia,1e3)}})}ia()}),va=()=>Le(void 0,null,function*(){var Na,ar,$a,fa,yr,en,On;if(!Oe){try{yield fe.validateFields()}catch(It){($a=(ar=(Na=It==null?void 0:It.errorFields)==null?void 0:Na[0])==null?void 0:ar.name)!=null&&$a.includes("standard_answers")?Ye.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ye.ZP.error(It.errorFields[0].errors[0]),fe.scrollToField(It.errorFields[0].name,{behavior:"smooth",block:"center"});return}Me(!0);let xa="";const We=fe.getFieldsValue();zt.current?xa=yield(0,y.ZP)(`/api/problems/${zt.current}.json`,{method:"put",body:ht(Ke({},We),{hack:ht(Ke({},We==null?void 0:We.hack),{sub_discipline_id:(On=(en=We==null?void 0:We.hack)==null?void 0:en.sub_discipline_id)==null?void 0:On[1],difficult:We.difficulty,item_banks_group_id:We.item_banks_group_id}),hack_codes:ht(Ke({},We.hack_codes),{code:a.Base64.encode(We.hack_codes.code)}),update_hack_sets:[Ke({},We.hack_sets)],is_blank:!0})}):(xa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:ht(Ke({},We),{hack:ht(Ke({},We==null?void 0:We.hack),{sub_discipline_id:(yr=(fa=We==null?void 0:We.hack)==null?void 0:fa.sub_discipline_id)==null?void 0:yr[1],difficult:We.difficulty,item_banks_group_id:We.item_banks_group_id}),hack_codes:ht(Ke({},We.hack_codes),{code:a.Base64.encode(We.hack_codes.code)}),hack_sets:[Ke({},We.hack_sets)],is_blank:!0})}),zt.current=xa==null?void 0:xa.identifier,sessionStorage.projectFill=xa==null?void 0:xa.identifier)}const ia=yield(0,y.ZP)(`/api/problems/${zt.current}/start.json`,{method:"get"});if((ia==null?void 0:ia.status)===0){wt.current=ia==null?void 0:ia.identifier,kt.current=!0,Me(!1),Ln();return}Me(!1)}),Da=Na=>{const{status:ar,error_msg:$a,execute_time:fa,output:yr,input:en,expected_output:On}=Na;let ia=null;switch(ar){case ue.h.OK:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",fa/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ue.h.NOMATCH:ia=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},en),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},yr&&a.Base64.decode(yr)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},On&&a.Base64.decode(On)));break;case ue.h.EXECUTEFAILURE:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,en)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case ue.h.COMPILEFAILURE:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,en)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case ue.h.PODFAILURE:ia=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ia=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",ia," ")};return ie.createElement("div",null,ie.createElement(se.ZP,ht(Ke({loading:nt},at),{onClick:va}),De),ie.createElement(Ne.default,{open:yt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ie,cancelButtonProps:{style:{display:"none"}},onOk:()=>Jn(),onCancel:()=>{kt.current=!1,Bn(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Oe&&ie.createElement(re.CopyToClipboard,{text:un,onCopy:()=>Ye.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:un,onChange:Na=>yn(Na)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(de.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Te,onChange:Na=>Ft(Na.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:x.box},ie.createElement(E.Z,{spinning:Ie,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Da(nn))))))))},gt=ee(87169),ft=ee(59301),ln=Object.defineProperty,xt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,rn=(at,De,fe)=>De in at?ln(at,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):at[De]=fe,Vn=(at,De)=>{for(var fe in De||(De={}))$e.call(De,fe)&&rn(at,fe,De[fe]);if(hn)for(var fe of hn(De))dt.call(De,fe)&&rn(at,fe,De[fe]);return at},Zt=(at,De)=>xt(at,an(De)),Fn=(at,De)=>{var fe={};for(var Xe in at)$e.call(at,Xe)&&De.indexOf(Xe)<0&&(fe[Xe]=at[Xe]);if(at!=null&&hn)for(var Xe of hn(at))De.indexOf(Xe)<0&&dt.call(at,Xe)&&(fe[Xe]=at[Xe]);return fe};const{TextArea:ze}=de.default,ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Lt=({value:at,onChange:De})=>ft.createElement(Switch,{checked:at,onChange:fe=>{De(fe)}}),mt="@\u2581@",Nt="@\u2581\u2581@",ut=({questionTitlePlaceholder:at,form:De,scoreByBlank:fe=!1,hackidentifier:Xe,answerKey:Rt})=>{const[Oe,Ie]=(0,b.useState)(!1),[St,nt]=(0,b.useState)(!1),yt=(0,Ge.useParams)().type==="edit",Bn=(wt,kt)=>{const sn=kt.line;let cn=0;for(let Jn=0;Jn{const Ln=wt.getRange(kt.from,kt.to);let Jn=0;if(kt.text.forEach(va=>{Jn+=va.split(mt).length-1}),kt.text.forEach(va=>{Jn+=va.split(Nt).length-1}),kt.origin!=="setValue"){if(Ln&&(Ln.indexOf(mt)!==-1||Ln.indexOf(Nt)!==-1)){const va=Ln.split(mt).length-1+Ln.split(Nt).length-1,Da=Bn(wt,kt.from);if(console.log(`\u5220\u9664${va}\u4E2A\uFF0C \u524D\u9762\u6709${Da}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),va>1){const Na=Array.from({length:va},(ar,$a)=>Da+$a);cn(Na)}else cn(Da)}else if(Jn>0){const va=Bn(wt,kt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${va}\u4E2A`),sn(Jn,va)}}},dn=()=>{const wt=De.getFieldValue(Rt);De.setFieldsValue({[Rt]:wt==null?void 0:wt.map((kt,sn)=>Zt(Vn({},kt),{position:sn+1}))})},un=(0,b.useRef)(),yn=(wt,kt)=>{for(let sn=0;sn{Te.current(wt),dn()},zt=Be.default.useWatch(Rt,De);return ft.createElement("div",{className:Je.Z.wrap},ft.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},ft.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),ft.createElement("div",{className:Je.Z.questionTitleEditorWrap},ft.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},ft.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(wt,kt)=>{const sn=De.getFieldValue(Rt);console.log("--preAnswerData",sn,kt),De.setFieldsValue({[Rt]:sn==null?void 0:sn.map((cn,Ln)=>{var Jn;return Zt(Vn({},cn),{position:Ln+1,multi_line:(Jn=kt==null?void 0:kt[Ln])==null?void 0:Jn.multiLine})})})},placeholder:at,onCMBeforeChange:(wt,kt)=>{nn(wt,kt,yn,Ft)}}))),ft.createElement(Be.default.List,{name:Rt,rules:[{validator(wt,kt){if(!(kt!=null&&kt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const sn of kt){const{answer_text:cn}=sn||{};if((cn==null?void 0:cn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(wt,{add:kt,remove:sn},{errors:cn})=>(un.current=kt,Te.current=sn,ft.createElement(ft.Fragment,null,ft.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},ft.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),ft.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:ft.createElement("div",null,ft.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",ft.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),ft.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"}},ft.createElement(gt.Z,{style:{marginRight:3,color:"#3061D0"}}),ft.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),wt.map((Ln,Jn)=>{var va=Ln,{key:Da,name:Na}=va,ar=Fn(va,["key","name"]),$a,fa;return ft.createElement(Ze.Z,{className:"mb20",key:Da,align:"middle",wrap:!1},ft.createElement(ke.Z,{flex:"0 0 auto",className:`${Je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),ft.createElement(ke.Z,{flex:1},ft.createElement(Ze.Z,{align:"top",justify:"space-between",wrap:!1},ft.createElement(ke.Z,null,ft.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"answer_text"],noStyle:!0}),($a=zt==null?void 0:zt[Na])!=null&&$a.multi_line||(fa=zt==null?void 0:zt[Na])!=null&&fa.multiLine?ft.createElement(ze,{spellCheck:!1,style:{marginLeft:10,width:550}}):ft.createElement(de.default,{style:{marginLeft:10,width:550},className:Je.Z.blankInput,size:"large",maxLength:1e3,onBlur:yr=>{}}))),fe&&ft.createElement(ke.Z,{flex:"224px"},ft.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),ft.createElement(le.Z,{size:"large",className:Je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),ft.createElement("div",{onClick:()=>Ie(!0)},ft.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ft.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oe}))),ft.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"}]},ft.createElement(st.default,{size:"large"},ct.map(wt=>ft.createElement(st.default.Option,{key:wt.title,value:wt.key}," ",wt.title)))),ft.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},ft.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},ft.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),ft.createElement("span",{className:"ml10 font14"},"\u79D2")),ft.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"}]},ft.createElement(et.ZP.Group,{style:{marginTop:-10}},ft.createElement(et.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),ft.createElement(et.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),ft.createElement(et.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),ft.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),ft.createElement("div",{style:{background:"#F6F7F9",padding:15}},ft.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},ft.createElement(ze,{rows:4})),ft.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"}]},ft.createElement(ze,{rows:4}))),ft.createElement(lt,{form:De,answerKey:Rt,hackIdentifier:Xe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:ft.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"}}}))}},65357:function(Qt,jt,ee){"use strict";ee.d(jt,{u:function(){return ie}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(6848),Ze=ee(78241),ke=ee(43809),le=ee(32134),st=ee(12893),et=ee(41984),Ve=ee(59301),Ge=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(ve,be,je)=>be in ve?Ge(ve,be,{enumerable:!0,configurable:!0,writable:!0,value:je}):ve[be]=je,y=(ve,be)=>{for(var je in be||(be={}))E.call(be,je)&&x(ve,je,be[je]);if(se)for(var je of se(be))a.call(be,je)&&x(ve,je,be[je]);return ve},z=(ve,be)=>Je(ve,Ye(be)),ne=(ve,be)=>{var je={};for(var Ae in ve)E.call(ve,Ae)&&be.indexOf(Ae)<0&&(je[Ae]=ve[Ae]);if(ve!=null&&se)for(var Ae of se(ve))be.indexOf(Ae)<0&&a.call(ve,Ae)&&(je[Ae]=ve[Ae]);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"],ue=({value:ve,onChange:be,choiceTextKey:je,answerKey:Ae,index:He,isEdit:he,setInputActive:qe,form:Ke,choiceOptionsPath:ht,allowChangeMode:Le,showAddIcon:ot,addItem:lt,deleteItem:gt})=>{console.log(ve,"value");const ft=(ve==null?void 0:ve[Ae])===1,ln=()=>{const an=Ke.getFieldValue(ht);Ke.setFieldValue(ht,an.map(hn=>z(y({},hn),{[Ae]:0})))},xt=()=>{ft?be(z(y({},ve),{[Ae]:0})):(Le||ln(),be(z(y({},ve),{[Ae]:1})))};return Ve.createElement(de.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:xt,className:`${ke.Z.choiceIndex} ${ft?ke.Z.activeAnswer:""}`},re[He]),Ve.createElement(Be.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`,onClick:qe},Ve.createElement(et.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:ve==null?void 0:ve[je],onChange:an=>{be(z(y({},ve),{[je]:an}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:xt,className:`${ke.Z.setAnswerBtn} ${ft?ke.Z.activeAnswer:""}`},ft?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:ke.Z.actionWrapper},Ve.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(le.Z,{className:ke.Z.addIcon,onClick:lt,style:{visibility:ot?"visible":"hidden"}})),Ve.createElement(Ne.Z,{title:"\u5220\u9664"},Ve.createElement(st.Z,{className:ke.Z.deleteIcon,onClick:gt,style:{visibility:He>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:ve,titleKey:be,choiceKey:je,analysisKey:Ae,choiceTextKey:He,answerKey:he,choiceOptionsPath:qe,allowChangeMode:Ke=!0,form:ht,showAnalysis:Le=!0})=>{const[ot,lt]=(0,b.useState)(),[gt,ft]=(0,b.useState)(!1);return Ve.createElement("div",{className:ke.Z.wrap},Ve.createElement("div",{className:ke.Z.questionTitleEditorWrap},Ve.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(et.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:ve}))),Ve.createElement(Ze.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Ze.default.List,{name:je,rules:[{validator(ln,xt){const an=xt.some($e=>$e[he]===1),hn=xt.findIndex($e=>{var dt;return((dt=$e[He])==null?void 0:dt.length)<=0});return hn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[hn]}\u9009\u9879\u7684\u5185\u5BB9`)):an?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ln,{add:xt,remove:an})=>Ve.createElement("div",{id:Array.isArray(qe)?qe.join("_"):`${qe}`},ln.map((hn,$e)=>{var dt=hn,{key:rn,name:Vn}=dt,Zt=ne(dt,["key","name"]);const Fn=ot===rn,ze=()=>{lt(rn)},ct=$e<7&&$e===ln.length-1,Lt=()=>xt({[He]:"",[he]:0}),mt=()=>an(Vn);return Ve.createElement(Ze.default.Item,z(y({},Zt),{key:rn,name:Vn,className:ke.Z.choiceListWrap,rules:[{validator(Nt,ut){return ut!=null&&ut.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[$e]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ue,{choiceTextKey:He,answerKey:he,index:$e,isEdit:Fn,setInputActive:ze,form:ht,choiceOptionsPath:qe,allowChangeMode:Ke,showAddIcon:ct,addItem:Lt,deleteItem:mt}))}),ln.length<8&&Ve.createElement("div",{className:`${ke.Z.addBtn} mb30`,onClick:()=>xt({[He]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Le&&Ve.createElement("div",{onClick:()=>ft(!0)},Ve.createElement(Ze.default.Item,{name:Ae,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(et.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},70472:function(Qt,jt,ee){"use strict";ee.d(jt,{u:function(){return Ke}});var b=ee(59301),de=ee(43418),Be=ee(95237),Ne=ee(43604),Ze=ee(92832),ke=ee(6848),le=ee(78673),st=ee(78241),et=ee(5112),Ve=ee(5871),Ge=ee(41984),Je=ee(12893),Ye=ee(61485),se=ee(43809),E=ee(59879),a=ee(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ie=(ht,Le,ot)=>Le in ht?x(ht,Le,{enumerable:!0,configurable:!0,writable:!0,value:ot}):ht[Le]=ot,ve=(ht,Le)=>{for(var ot in Le||(Le={}))re.call(Le,ot)&&ie(ht,ot,Le[ot]);if(ne)for(var ot of ne(Le))ue.call(Le,ot)&&ie(ht,ot,Le[ot]);return ht},be=(ht,Le)=>y(ht,z(Le)),je=(ht,Le)=>{var ot={};for(var lt in ht)re.call(ht,lt)&&Le.indexOf(lt)<0&&(ot[lt]=ht[lt]);if(ht!=null&&ne)for(var lt of ne(ht))Le.indexOf(lt)<0&&ue.call(ht,lt)&&(ot[lt]=ht[lt]);return ot};const Ae=({value:ht,onChange:Le})=>{const ot=gt=>{de.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 ft=[...ht];ft.splice(gt,1),Le(ft)}})},lt=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,ft)=>a.createElement(Be.Z,{key:`${gt}_${ft}`,className:"mb20"},a.createElement(Ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:gt,autoSize:{maxRows:3},maxLength:1e3,onBlur:ln=>{const xt=[...ht],an=ln.target.value.trim();xt[ft]=an,Le(xt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:ft>0?"visible":"hidden"},onClick:()=>ot(ft)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},He=({value:ht,onChange:Le})=>{const ot=gt=>{de.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 ft=[...ht];ft.splice(gt,1),Le(ft)}})},lt=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,ft)=>a.createElement(Be.Z,{key:`${gt}_${ft}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:gt,style:{flex:1},onChange:ln=>{const xt=[...ht];xt[ft]=ln,Le(xt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:ft>0?"visible":"hidden"},onClick:()=>ot(ft)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:ht=!0,onChange:Le})=>a.createElement(le.Z,{checked:!ht,onChange:ot=>{Le(!ot)}}),qe="\u2581",Ke=({questionTitlePlaceholder:ht,form:Le,scoreByBlank:ot=!1,answerKey:lt})=>{const[gt,ft]=(0,b.useState)(!1),ln=(Zt,Fn)=>{const ze=Fn.line;let ct=0;for(let mt=0;mt{const Lt=Zt.getRange(Fn.from,Fn.to);let mt=0;if(Fn.text.forEach(Nt=>{mt+=Nt.split(qe).length-1}),Fn.origin!=="setValue"){if(Lt&&Lt.indexOf(qe)!==-1){const Nt=Lt.split(qe).length-1,ut=ln(Zt,Fn.from);if(console.log(`\u5220\u9664${Nt}\u4E2A\uFF0C \u524D\u9762\u6709${ut}\u4E2A\uFF0C\u65B0\u589E${mt}\u4E2A`),Nt>1){const at=Array.from({length:Nt},(De,fe)=>ut+fe);ct(at)}else ct(ut)}else if(mt>0){const Nt=ln(Zt,Fn.from);console.log(`\u65B0\u589E${mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Nt}\u4E2A`),ze(mt,Nt)}}},an=()=>{const Zt=Le.getFieldValue(lt);Le.setFieldsValue({[lt]:Zt.map((Fn,ze)=>be(ve({},Fn),{position:ze+1}))})},hn=(0,b.useRef)(),$e=(Zt,Fn)=>{for(let ze=0;ze{dt.current(Zt),an()},Vn=st.default.useWatch(lt,Le);return a.createElement("div",{className:se.Z.wrap},a.createElement("div",{className:se.Z.questionTitleEditorWrap},a.createElement(st.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ge.h,{scrollId:"name",watch:!0,height:140,placeholder:ht,showNullButton:!0,onCMBeforeChange:(Zt,Fn)=>{xt(Zt,Fn,$e,rn)}}))),a.createElement(st.default.List,{name:lt,rules:[{validator(Zt,Fn){if(!(Fn!=null&&Fn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ze of Fn){const{answer_text:ct}=ze||{};if(ct!=null&&ct.some(Lt=>(Lt==null?void 0:Lt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:Fn,remove:ze},{errors:ct})=>(hn.current=Fn,dt.current=ze,a.createElement(a.Fragment,null,a.createElement(st.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.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}}),Zt.map((Lt,mt)=>{var Nt=Lt,{key:ut,name:at}=Nt,De=je(Nt,["key","name"]),fe,Xe;return a.createElement("div",{style:{marginBottom:10},key:ut},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ne.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${se.Z.blankIndex}`},"\u586B\u7A7A\u9879",mt+1),a.createElement(st.default.Item,be(ve({},De),{name:[at,"model"],noStyle:!0}),a.createElement(et.ZP.Group,{onChange:()=>{const Rt=Le.getFieldValue(lt);Le.setFieldsValue({[lt]:Rt.map((Oe,Ie)=>be(ve({},Oe),{answer_text:at===Ie?[""]:Oe.answer_text}))})}},a.createElement(et.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ye.Z,null))),a.createElement(et.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ye.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(st.default.Item,be(ve({},De),{name:[at,"answer_text"],noStyle:!0}),((Xe=(fe=Le.getFieldValue(lt))==null?void 0:fe[at])==null?void 0:Xe.model)===1?a.createElement(Ae,null):a.createElement(He,null))),ot&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(st.default.Item,be(ve({},De),{name:[at,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:se.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(st.default.Item,be(ve({},De),{name:[at,"position"],noStyle:!0}),a.createElement(Ze.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(st.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.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(st.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Vn==null?void 0:Vn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Vn==null?void 0:Vn.length)>1?"mb30":`${se.Z.hide}`},a.createElement(st.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Ne.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:()=>ft(!0)},a.createElement(st.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},11832:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ne}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(78241),Ze=ee(43809),ke=ee(41984),le=ee(59301),st=Object.defineProperty,et=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,se=(re,ue,ie)=>ue in re?st(re,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):re[ue]=ie,E=(re,ue)=>{for(var ie in ue||(ue={}))Je.call(ue,ie)&&se(re,ie,ue[ie]);if(Ge)for(var ie of Ge(ue))Ye.call(ue,ie)&&se(re,ie,ue[ie]);return re},a=(re,ue)=>et(re,Ve(ue)),x=(re,ue)=>{var ie={};for(var ve in re)Je.call(re,ve)&&ue.indexOf(ve)<0&&(ie[ve]=re[ve]);if(re!=null&&Ge)for(var ve of Ge(re))ue.indexOf(ve)<0&&Ye.call(re,ve)&&(ie[ve]=re[ve]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ue,form:ie})=>{const ve=(re==null?void 0:re.is_answer)===1,be=re==null?void 0:re.choice_text,je=()=>{const Ae=ie.getFieldsValue().choices.map(He=>({choice_text:He.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ae}),ue(a(E({},re),{is_answer:1}))};return le.createElement(de.Z,{className:Ze.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},le.createElement(Be.Z,{onClick:je,className:`${Ze.Z.choiceIndex} ${Ze.Z.judgementIndex} ${ve?Ze.Z.activeAnswer:""}`},y[be]),le.createElement(Be.Z,{flex:1,className:`${Ze.Z.editorWrap} ml15`},le.createElement("div",{className:`${Ze.Z.inputBorder} ${Ze.Z.placeholder} ${ve?Ze.Z.activeJudgementAnswer:""}`},be)),le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},le.createElement("div",{onClick:je,className:`${Ze.Z.setAnswerBtn} ${ve?Ze.Z.activeAnswer:""}`},ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ue,form:ie})=>{const[ve,be]=(0,b.useState)(!1);return le.createElement("div",{className:Ze.Z.wrap},le.createElement("div",{className:Ze.Z.questionTitleEditorWrap},le.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},le.createElement(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),le.createElement(Ne.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},le.createElement(Ne.default.List,{name:"choices",rules:[{validator(je,Ae){return Ae.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},je=>le.createElement("div",{id:"choices"},je.map(Ae=>{var He=Ae,{key:he,name:qe}=He,Ke=x(He,["key","name"]);return le.createElement(Ne.default.Item,a(E({},Ke),{key:he,name:qe,noStyle:!0}),le.createElement(z,{form:ie}))})))),le.createElement("div",{onClick:()=>be(!0)},le.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},le.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ve}))))}},41984:function(Qt,jt,ee){"use strict";ee.d(jt,{h:function(){return E},x:function(){return a}});var b=ee(12290),de=ee(43809),Be=ee(85149),Ne=ee(59301),Ze=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ge=(x,y,z)=>y in x?Ze(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Je=(x,y)=>{for(var z in y||(y={}))et.call(y,z)&&Ge(x,z,y[z]);if(st)for(var z of st(y))Ve.call(y,z)&&Ge(x,z,y[z]);return x},Ye=(x,y)=>ke(x,le(y)),se=(x,y)=>{var z={};for(var ne in x)et.call(x,ne)&&y.indexOf(ne)<0&&(z[ne]=x[ne]);if(x!=null&&st)for(var ne of st(x))y.indexOf(ne)<0&&Ve.call(x,ne)&&(z[ne]=x[ne]);return z};const E=x=>{var y=x,{value:z,onChange:ne,scrollId:re}=y,ue=se(y,["value","onChange","scrollId"]);return Ne.createElement("div",{id:re||""},Ne.createElement(b.Z,Ye(Je({},ue),{defaultValue:z,onChange:(ie,ve)=>{ve!=null&&ve.length?ne(ie,ve):ne(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ue,watch:ie=!0})=>re?Ne.createElement(b.Z,{watch:ie,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:ue}):Ne.createElement("div",{style:{cursor:"pointer"}},x?Ne.createElement(Be.Z,{className:de.Z.inputBorder,value:x}):Ne.createElement("div",{className:`${de.Z.inputBorder} ${de.Z.placeholder} inputBorderError`},z))},35173:function(Qt,jt,ee){"use strict";ee.d(jt,{W:function(){return He}});var b=ee(59301),de=ee(8591),Be=ee(12563),Ne=ee(78241),Ze=ee(78673),ke=ee(95237),le=ee(43604),st=ee(6848),et=ee(92832),Ve=ee(5871),Ge=ee(43809),Je=ee(41984),Ye=ee(12290),se=ee(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,qe,Ke)=>qe in he?E(he,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):he[qe]=Ke,ue=(he,qe)=>{for(var Ke in qe||(qe={}))z.call(qe,Ke)&&re(he,Ke,qe[Ke]);if(y)for(var Ke of y(qe))ne.call(qe,Ke)&&re(he,Ke,qe[Ke]);return he},ie=(he,qe)=>a(he,x(qe)),ve=(he,qe)=>{var Ke={};for(var ht in he)z.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&y)for(var ht of y(he))qe.indexOf(ht)<0&&ne.call(he,ht)&&(Ke[ht]=he[ht]);return Ke};const be=he=>{var qe=he,{value:Ke,onChange:ht}=qe,Le=ve(qe,["value","onChange"]);const ot=lt=>{ht([lt])};return b.createElement(Ye.Z,ie(ue({},Le),{defaultValue:Ke==null?void 0:Ke[0],onChange:ot}))},je=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let qe=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==="|"?(de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ae=({value:he=[],onClose:qe})=>b.createElement(Be.default,{closable:!0,onClose:qe,className:Ge.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),He=({questionTitlePlaceholder:he,form:qe,showKeywords:Ke,isMustKeyWords:ht=Ke})=>{const[Le,ot]=(0,b.useState)(!1),[lt,gt]=(0,b.useState)(""),ft=Ne.default.useWatch("use_keywords",qe),ln=Ne.default.useWatch("question_score",qe);return b.createElement("div",{className:Ge.Z.wrap},b.createElement("div",{className:Ge.Z.questionTitleEditorWrap},b.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Je.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Ne.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ke&&!ht&&b.createElement(Ne.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,{defaultChecked:!0})),Ke&&ht&&b.createElement(ke.Z,{align:"middle",className:"mb30"},b.createElement(Ne.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,null)),b.createElement(le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(le.Z,null,b.createElement(st.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"}})))),(ft||!ht)&&b.createElement(Ne.default.List,{name:"keywords",rules:[{validator(xt,an){return ht?an!=null&&an.length?(an==null?void 0:an.reduce(($e,dt)=>$e+dt.score,0))>parseFloat(ln)?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()}}]},(xt,{add:an,remove:hn})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ge.Z.title} mb10`},ht?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ke.Z,{align:"middle",className:"font14 mb30"},b.createElement(le.Z,{flex:1},b.createElement(et.default,{value:lt,onChange:$e=>{gt($e.target.value)},maxLength:50,allowClear:!0,onPressEnter:$e=>{var dt,rn,Vn,Zt;const Fn=`${(dt=$e.target)==null?void 0:dt.value}`,ze=(Vn=(rn=Fn==null?void 0:Fn.split("|"))==null?void 0:rn.filter(mt=>!!mt))==null?void 0:Vn.map(mt=>mt==null?void 0:mt.trim()),ct=qe.getFieldValue("keywords"),Lt=((Zt=ct==null?void 0:ct.map(mt=>mt==null?void 0:mt.keyword))==null?void 0:Zt.flat())||[];for(const mt of ze)if(Lt.includes(mt)){de.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}je(Fn)&&(an({keyword:ze,score:1}),gt(""))},className:Ge.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")),xt.map($e=>{var dt=$e,{key:rn,name:Vn}=dt,Zt=ve(dt,["key","name"]);return b.createElement(ke.Z,{key:rn,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(ke.Z,{align:"middle",justify:"space-between"},b.createElement(Ne.default.Item,ie(ue({},Zt),{name:[Vn,"keyword"]}),b.createElement(Ae,{onClose:()=>hn(Vn)})),ht&&b.createElement(Ne.default.Item,ie(ue({},Zt),{name:[Vn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ge.Z.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:Ge.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ot(!0)},b.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Le}))))}},27693:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ze}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},de=ee(78241),Be=ee(59301),Ze=({text:ke,name:le="question_score"})=>{const st=({value:et})=>Be.createElement("div",{className:b.text},Be.createElement("span",{className:b.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,et||"--"),Be.createElement("span",{className:"c-grey-999"},ke));return Be.createElement(de.default.Item,{noStyle:!0,name:le},Be.createElement(st,null))}},79669:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return je},P:function(){return ie}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(5112),Ze=ee(92832),ke=ee(1710),le={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},st=ee(49692),et=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(Ae,He,he)=>He in Ae?et(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,a=(Ae,He)=>{for(var he in He||(He={}))Ye.call(He,he)&&E(Ae,he,He[he]);if(Je)for(var he of Je(He))se.call(He,he)&&E(Ae,he,He[he]);return Ae},x=(Ae,He)=>Ve(Ae,Ge(He)),y=(Ae,He)=>{var he={};for(var qe in Ae)Ye.call(Ae,qe)&&He.indexOf(qe)<0&&(he[qe]=Ae[qe]);if(Ae!=null&&Je)for(var qe of Je(Ae))He.indexOf(qe)<0&&se.call(Ae,qe)&&(he[qe]=Ae[qe]);return he},z=(Ae,He,he)=>new Promise((qe,Ke)=>{var ht=lt=>{try{ot(he.next(lt))}catch(gt){Ke(gt)}},Le=lt=>{try{ot(he.throw(lt))}catch(gt){Ke(gt)}},ot=lt=>lt.done?qe(lt.value):Promise.resolve(lt.value).then(ht,Le);ot((he=he.apply(Ae,He)).next())});const ne=({studentNames:Ae,total:He})=>{const he=["","\u4E00","\u4E24","\u4E09"];return He>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),"\u7B49",b.createElement("span",{className:le.orangeColor},He),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),he[He],"\u540D\u5B66\u751F")},re=({used:Ae,copy:He,canNotCopy:he,studentNames:qe,studentCount:Ke,inPaper:ht,is_random:Le=!1,position:ot=""})=>{const lt=()=>{if(He>0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(He>0&&he===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(He===0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=ot||(ht?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(ne,{studentNames:qe,total:Ke}),"\u5B66\u4E60\u8FC7",gt,"\u4E2D\u7684",b.createElement("span",{className:le.orangeColor},Ae),"\u4E2A\u9879\u76EE\uFF0C",lt(),"\u3002\u8BF7\u9009\u62E9",Le?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},ue=({onCancel:Ae,onOk:He,visible:he,inPaper:qe,renderData:Ke,type:ht,isMultipleCourse:Le=!1})=>{const[ot]=de.default.useForm(),[lt,gt]=(0,b.useState)(1),[ft,ln]=(0,b.useState)(!1),xt=(0,b.useMemo)(()=>(Ke==null?void 0:Ke.total_num)===1&&(Ke==null?void 0:Ke.can_copy_num)===1,[Ke]),an=(0,b.useMemo)(()=>{var hn;return(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.filter($e=>$e.is_show)},[Ke]);return b.createElement(b.Fragment,null,xt?b.createElement(Be.default,{centered:!0,closable:!0,open:he,destroyOnClose:!0,title:"\u63D0\u793A",className:le.antdModal,width:682,confirmLoading:ft,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var hn;ln(!0);let $e=lt;if(Le){const dt=a({},ot.getFieldsValue());$e=(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.map(rn=>dt[rn.id]!==void 0?x(a({},rn),{is_copy:dt[rn.id]}):rn)}yield He($e),ln(!1)})},b.createElement("div",{className:le.content,style:{marginBottom:20}},Le?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?b.createElement(de.default,{form:ot,preserve:!1},an==null?void 0:an.map(hn=>b.createElement(b.Fragment,{key:hn.id},b.createElement("h3",{className:"ml15 mb5"},hn.name),b.createElement(de.default.Item,{name:hn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ne.ZP.Group,{value:lt,onChange:hn=>gt(hn.target.value),className:le.content,style:{marginBottom:30}},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:le.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:le.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${le.content} ${le.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(Be.default,{centered:!0,closable:!0,destroyOnClose:!0,open:he,confirmLoading:ft,title:"\u63D0\u793A",width:682,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var hn;ln(!0);let $e=0;if(Le){const dt=a({},ot.getFieldsValue());$e=(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.map(rn=>dt[rn.id]!==void 0?x(a({},rn),{is_use:dt[rn.id]}):rn)}yield He($e),ln(!1)})},b.createElement("div",{className:le.content},b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?b.createElement(de.default,{form:ot,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),an==null?void 0:an.map(hn=>b.createElement(b.Fragment,{key:hn.id},b.createElement("h3",{className:"ml15 mb5"},hn.name),b.createElement(de.default.Item,{name:hn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:le.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ae,He]=(0,b.useState)(!1),[he,qe]=(0,b.useState)();return[Ae,()=>He(!1),he,Le=>z(this,null,function*(){var ot;const lt=Le,{isImportMultipleCourse:gt=!1}=lt,ft=y(lt,["isImportMultipleCourse"]);console.log(Le);const ln=(Le==null?void 0:Le.result)||(yield(0,st.Tr)(ft));return"status"in ln?!1:gt?((ot=ln==null?void 0:ln.course_data_list)==null?void 0:ot.some(an=>an.is_show))?(qe(ln),He(!0),!0):ln.course_data_list||[]:ln.student_count===0?!1:(qe(ln),He(!0),!0)})]},ve=Ae=>{const[He]=de.default.useForm(),[he,qe]=(0,b.useState)(!1),{onCancel:Ke,onOk:ht,visible:Le,inPaper:ot=!1,renderData:lt,type:gt,isMultipleCourse:ft=!1,position:ln}=Ae;let xt=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render($e,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render($e,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:($e,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:($e,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))}],[ot]),an=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,align:"center",ellipsis:!0,render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,ellipsis:!0,align:"center",render:($e,dt)=>b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:0},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})))}],[ot]);if(ft){const $e={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:le.tableCell,render:(dt,rn)=>b.createElement("a",{href:`/classrooms/${rn.course_id}`},dt)};xt=[$e,...xt],an=[$e,...an]}const hn=(0,b.useMemo)(()=>re({used:lt==null?void 0:lt.repeat_shixun_num,copy:lt==null?void 0:lt.can_copy_num,canNotCopy:lt==null?void 0:lt.no_copy_num,studentNames:lt==null?void 0:lt.student_names,studentCount:lt==null?void 0:lt.student_count,is_random:lt==null?void 0:lt.is_random,inPaper:ot,position:ln}),[lt,ot,ln]);return b.createElement(Be.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:he,onOk:()=>z(void 0,null,function*(){qe(!0);const $e=He.getFieldsValue(),dt=Object.keys($e).map(rn=>({id:parseInt(rn.split("_")[0]),course_id:parseInt(rn.split("_")[1]),is_use:$e[rn].is_use,is_copy:$e[rn].is_copy}));yield ht(dt),qe(!1)}),onCancel:Ke,width:880,okText:"\u786E\u8BA4",className:le.antdModal,destroyOnClose:!0},b.createElement(de.default,{form:He,preserve:!1},b.createElement("div",{className:le.brief},hn),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:le.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(lt==null?void 0:lt.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:xt,className:le.antdTable,dataSource:lt==null?void 0:lt.can_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(lt==null?void 0:lt.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:an,className:le.antdTable,dataSource:lt==null?void 0:lt.no_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(lt==null?void 0:lt.no_use_list.length)>0&&(lt==null?void 0:lt.no_use_list.map($e=>b.createElement("div",{key:gt==="subject"?$e.stage_shixun_id:$e.shixun_course_id||$e.id},b.createElement(de.default.Item,{name:[`${gt==="subject"?$e==null?void 0:$e.stage_shixun_id:$e.shixun_course_id||$e.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?$e==null?void 0:$e.stage_shixun_id:$e.shixun_course_id||$e.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))))))};var je=Ae=>{const{modalType:He}=Ae;return He==="multiple"?b.createElement(ve,a({},Ae)):b.createElement(ue,a({},Ae))}},82438:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return st}});var b=ee(59301),de={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Be=ee(43418),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(et,Ve,Ge)=>new Promise((Je,Ye)=>{var se=x=>{try{a(Ge.next(x))}catch(y){Ye(y)}},E=x=>{try{a(Ge.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Je(x.value):Promise.resolve(x.value).then(se,E);a((Ge=Ge.apply(et,Ve)).next())}),st=({type:et,resdata:Ve,onok:Ge,oktext:Je,okloading:Ye})=>{const[se,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:ne,no_copy_num:re,no_use_list:ue,no_use_num:ie,repeat_shixun_num:ve,student_count:be,total_num:je,use_num:Ae}=Ve;let He=x>0||et==="exercise";(0,b.useEffect)(()=>{(Ve==null?void 0:Ve.student_count)>0&&E(!0)},[Ve]),console.log("---11",Ye),(0,b.useEffect)(()=>{Ye||E(!1)},[Ye]);const he=()=>{if(et==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(et==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:de.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:de.orangeColor},Ae)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(et==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},qe=()=>{if(et==="exercise"||et==="subject"||et==="exercisepush"||et==="shixunpush")return b.createElement("div",{style:{marginTop:20}},re>0&&b.createElement("div",null,b.createElement("span",{className:de.flex},b.createElement("img",{src:Ze,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,ne==null?void 0:ne.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==re&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:de.flex},b.createElement("img",{src:Ne,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,a==null?void 0:a.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==x&&"\u3001"))))));if(et==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(Be.default,{open:se,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!He&&"none"}},zIndex:1003,confirmLoading:Ye,okText:He?Je:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){He?yield Ge([...a,...ue]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},he(),qe()))}},97692:function(Qt,jt,ee){"use strict";ee.d(jt,{h:function(){return re}});var b=ee(59301),de=ee(57809),Be=ee(78241),Ne=ee(3113),Ze=ee(89780),ke=ee.n(Ze),le=ee(37036),st=ee(95625),et=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(ue,ie,ve)=>ie in ue?et(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ue[ie]=ve,a=(ue,ie)=>{for(var ve in ie||(ie={}))Ye.call(ie,ve)&&E(ue,ve,ie[ve]);if(Je)for(var ve of Je(ie))se.call(ie,ve)&&E(ue,ve,ie[ve]);return ue},x=(ue,ie)=>Ve(ue,Ge(ie));const y=de.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"]};jt.Z=({callback:ue,onCancel:ie})=>{const[ve,be]=(0,b.useState)("python");function je(He){be(ne[He][1])}function Ae(He){ue(He)}return b.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(de.default,{getPopupContainer:He=>He.parentNode,onChange:je},Object.keys(ne).map(He=>b.createElement(y,{key:He,value:He},ne[He][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:ve})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function re({value:ue,onChange:ie,mode:ve,options:be={}}){const je=(0,b.useRef)(),[Ae,He]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ae){let he=function(qe){const Ke=qe.getValue();ie&&ie(Ke)};return Ae.on("change",he),()=>{Ae.off("change",he)}}},[Ae,ie]),(0,b.useEffect)(()=>{Ae&&Ae.setOption("mode",ve)},[Ae,ve]),(0,b.useEffect)(()=>{Ae&&(ue!==Ae.getValue()||ue==="")&&setTimeout(()=>{Ae.setValue(ue||"")},300)},[Ae,ue]),(0,b.useEffect)(()=>{if(je.current&&!Ae){const he=ke().fromTextArea(je.current,a({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));He(he)}},[je.current,Ae]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:je}))}},12290:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return wn}});var b=ee(59301),de=ee(89780),Be=ee.n(de),Ne=ee(76374),Ze=ee(37036),ke=ee(6313),le=ee(25717),st=ee(99498),et=ee(25419),Ve=ee(67549),Ge=ee(85149),Je=({value:vt="",className:Bt,showTextOnly:pt,showLines:Sn,style:Wn={}})=>{const An=(0,b.useMemo)(()=>"",[vt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:An}}))},Ye=ee(59301),se=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(vt,Bt,pt)=>Bt in vt?se(vt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Bt]=pt,re=(vt,Bt)=>{for(var pt in Bt||(Bt={}))y.call(Bt,pt)&&ne(vt,pt,Bt[pt]);if(x)for(var pt of x(Bt))z.call(Bt,pt)&&ne(vt,pt,Bt[pt]);return vt},ue=(vt,Bt)=>E(vt,a(Bt));let ie=[{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 ve({onActionCallback:vt,title:Bt,icon:pt,actionName:Sn,className:Wn="",children:An}){function ka(){vt(Sn)}return Ye.createElement("a",{title:Bt,className:Wn,onClick:ka},Ye.createElement("i",{className:`${pt}`}),An)}var be=({watch:vt,showNullButton:Bt,showNullProgramButton:pt,onActionCallback:Sn,fullScreen:Wn,insertTemp:An,hidetoolBar:ka,extraUse:pa})=>{const _n=[...ie,{title:`${vt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ye.createElement("ul",{className:"markdown-toolbar-container"},!ka&&_n.map((Ea,Pa)=>Ye.createElement("li",{key:Pa},Ea.actionName?Ye.createElement(ve,ue(re({},Ea),{onActionCallback:Sn})):Ye.createElement("span",{className:"v-line"}))),Bt?Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,pt?Ye.createElement(Ye.Fragment,null,Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,An&&Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${An}`,onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),pa&&Ye.createElement("li",null,pa),Ye.createElement("li",{className:"btn-full-screen"},Ye.createElement(ve,{icon:`${Wn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Sn})))},je=ee(79346),Ae=ee(78241),He=ee(92832),he=ee(3113),qe=Object.defineProperty,Ke=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,gt=(vt,Bt,pt)=>Bt in vt?qe(vt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Bt]=pt,ft=(vt,Bt)=>{for(var pt in Bt||(Bt={}))ot.call(Bt,pt)&>(vt,pt,Bt[pt]);if(Le)for(var pt of Le(Bt))lt.call(Bt,pt)&>(vt,pt,Bt[pt]);return vt},ln=(vt,Bt)=>Ke(vt,ht(Bt));const xt={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:vt,onCancel:Bt})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,ln(ft({},xt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:pt,style:{width:500}}),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(He.default,null)),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(He.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},hn=ee(97692),$e=ee(28451),dt=ee(43418),rn=ee(95237),Vn=ee(73524),Zt=ee(59301),Fn=({callback:vt,onCancel:Bt})=>{const pt=document.createElement("canvas"),Sn=pt.getContext("2d");pt.width=1e3,pt.height=800,Sn.fillStyle="#ffffff",Sn.fillRect(0,0,pt.width,pt.height);const Wn=pt.toDataURL("image/png");return Zt.createElement(dt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(rn.Z,{style:{height:"100vh"}},Zt.createElement(Vn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wn,visible:!0,title:String(Date.now())},onOk:An=>{vt({src:An.url})},onClose:Bt})))},ze=ee(12378);function ct(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ct,go.CommandHandler),ct.prototype.canAlignSelection=function(){var vt=this.diagram;return!(vt===null||vt.isReadOnly||vt.isModelReadOnly||vt.selection.count<2)},ct.prototype.alignLeft=function(){var vt=this.diagram;vt.startTransaction("aligning left");var Bt=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Bt=Math.min(pt.position.x,Bt))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Bt,pt.position.y))}),vt.commitTransaction("aligning left")},ct.prototype.alignRight=function(){var vt=this.diagram;vt.startTransaction("aligning right");var Bt=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.x+pt.actualBounds.width;Bt=Math.max(Sn,Bt)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Bt-pt.actualBounds.width,pt.position.y))}),vt.commitTransaction("aligning right")},ct.prototype.alignTop=function(){var vt=this.diagram;vt.startTransaction("alignTop");var Bt=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Bt=Math.min(pt.position.y,Bt))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.position.x,Bt))}),vt.commitTransaction("alignTop")},ct.prototype.alignBottom=function(){var vt=this.diagram;vt.startTransaction("aligning bottom");var Bt=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.y+pt.actualBounds.height;Bt=Math.max(Sn,Bt)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.actualBounds.x,Bt-pt.actualBounds.height))}),vt.commitTransaction("aligning bottom")},ct.prototype.alignCenterX=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt){vt.startTransaction("aligning Center X");var pt=Bt.actualBounds.x+Bt.actualBounds.width/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(pt-Sn.actualBounds.width/2,Sn.actualBounds.y))}),vt.commitTransaction("aligning Center X")}},ct.prototype.alignCenterY=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt){vt.startTransaction("aligning Center Y");var pt=Bt.actualBounds.y+Bt.actualBounds.height/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(Sn.actualBounds.x,pt-Sn.actualBounds.height/2))}),vt.commitTransaction("aligning Center Y")}},ct.prototype.alignColumn=function(vt){var Bt=this.diagram;Bt.startTransaction("align Column"),vt===void 0&&(vt=0),vt=parseFloat(vt);var pt=new Array;Bt.selection.each(function(pa){pa instanceof go.Link||pt.push(pa)});for(var Sn=0;Sn0){for(var pa=An.elt(ka-1);pa!==null&&pa.isTreeExpanded&&!pa.isTreeLeaf;){var _n=this._sortTreeChildrenByY(pa);pa=_n.last()}pa!==null&&vt.select(pa)}else vt.select(Wn)}}else if(pt.key==="Down")if(Bt.isTreeExpanded&&!Bt.isTreeLeaf){var Sn=this._sortTreeChildrenByY(Bt).first();Sn!==null&&vt.select(Sn)}else for(;Bt!==null;){var Wn=Bt.findTreeParentNode();if(Wn===null)break;var An=this._sortTreeChildrenByY(Wn),ka=An.indexOf(Bt);if(kaAn.y?1:Wn.xAn.x?1:0}),Bt},ct.prototype.copyToClipboard=function(vt){go.CommandHandler.prototype.copyToClipboard.call(this,vt),this._lastPasteOffset.set(this.pasteOffset)},ct.prototype.pasteFromClipboard=function(){var vt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(vt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),vt},Object.defineProperty(ct.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(vt){if(vt!=="move"&&vt!=="select"&&vt!=="scroll"&&vt!=="tree"&&vt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+vt);this._arrowKeyBehavior=vt}}),Object.defineProperty(ct.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(vt){if(!(vt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+vt);this._pasteOffset.set(vt)}});var Lt=ct,mt=ee(74413),Nt=ee(43604),ut=ee(99064),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=ee(59301),fe=(vt,Bt,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Bt)).next())});function Xe({onCancel:vt,callback:Bt}){let pt=(0,b.useRef)(),Sn=(0,b.useRef)(),Wn=(0,b.useRef)(),An=(0,b.useRef)(!1);const ka=(0,b.useRef)(!1),[pa,_n]=(0,b.useState)(0);function Ea(){const Dn=ze.bx.make,lr={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"};pt.current=new ze.S0(Sn.current,{padding:20,grid:Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ha=>{var za=ha.diagram.commandHandler.addTopLevelParts(ha.diagram.selection,!0);za||ha.diagram.currentTool.doCancel()},commandHandler:Dn(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ha=>{var za=ha.subject;za.location=za.location.copy().snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ha=>{var za=ha.subject;setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()})},LinkRelinked:ha=>{var za=ha.parameter.part;za.invalidateConnectedLinks();var Ua=ha.subject;ha.diagram.toolManager.linkingTool.isForwards?Ua.toNode.invalidateConnectedLinks():Ua.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),pt.current.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new ze.$u(120,60),minSize:new ze.$u(40,40),resizable:!0,resizeCellSize:new ze.$u(10,10),rotatable:!0},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),new ze.KX("desiredSize","size",ze.$u.parse).makeTwoWay(ze.$u.stringify),Dn(ze.bn,{name:"SHAPE",fill:lr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("figure"),new ze.KX("fill"),new ze.KX("stroke","borderColor"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Dn(ze.al,{margin:1,textAlign:"center",overflow:ze.al.OverflowEllipsis,editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.nodeTemplate.toolTip=Dn("ToolTip",Dn(ze.s_,"Vertical",{maxSize:new ze.$u(200,NaN)},Dn(ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ze.KX("text")),Dn(ze.al,{font:"10pt sans-serif",textAlign:"center"},new ze.KX("text","details"))));function Nr(ha,za){var Ua=(La,Or)=>{La.handled=!0,La.diagram.model.commit(no=>{var Fr=Or.part.adornedPart,Er=new ze.E9().setRectSpot(Fr.actualBounds,ha);Er.subtract(Fr.location),Er.scale(2,2),Er.x+=Math.sign(Er.x)*130,Er.y+=Math.sign(Er.y)*130,Er.add(Fr.location),Er.snapToGridPoint(La.diagram.grid.gridOrigin,La.diagram.grid.gridCellSize);var Pr=no.copyNodeData(Fr.data);no.setGroupKeyForNodeData(Pr,no.getGroupKeyForNodeData(Fr.data)),no.addNodeData(Pr);var si={from:Fr.key,to:no.getKeyForNodeData(Pr)};no.addLinkData(si);var ai=La.diagram.findNodeForData(Pr);ai.location=Er,La.diagram.select(ai),setTimeout(()=>{La.diagram.commandHandler.editTextBlock()},20)})};return Dn(ze.bn,{figure:za,alignment:ha,alignmentFocus:ha.opposite(),width:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?25:18,height:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?18:25,fill:"orange",stroke:lr.white,strokeWidth:4,mouseEnter:(La,Or)=>Or.fill="dodgerblue",mouseLeave:(La,Or)=>Or.fill="orange",isActionable:!0,click:Ua,contextClick:Ua})}function Ur(ha){return Dn(ze.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:(za,Ua)=>Ua.fill="dodgerblue",mouseLeave:(za,Ua)=>Ua.fill="orange",click:(za,Ua)=>{za.diagram.commandHandler.showContextMenu(Ua.part.adornedPart)}},ha||{})}pt.current.nodeTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.Vm,{padding:10}),Nr(ze.z6.Top,"TriangleUp"),Nr(ze.z6.Left,"TriangleLeft"),Nr(ze.z6.Right,"TriangleRight"),Nr(ze.z6.Bottom,"TriangleDown"),Ur({alignment:new ze.z6(.75,0)}));function Sr(ha,za){return(Ua,La)=>{Ua.handled=!0,Ua.diagram.model.commit(Or=>{Or.set(La.part.adornedPart.data,ha,za)})}}function Ue(ha,za){return za||(za="color"),Dn(ze.bn,{width:16,height:16,stroke:"lightgray",fill:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.stroke="dodgerblue",mouseLeave:(Ua,La)=>La.stroke="lightgray",click:Sr(za,ha),contextClick:Sr(za,ha)})}function bn(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.white,"fill"),Ue(lr.beige,"fill"),Ue(lr.extralightblue,"fill"),Ue(lr.extralightred,"fill"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.lightgray,"fill"),Ue(lr.lightgreen,"fill"),Ue(lr.lightblue,"fill"),Ue(lr.lightred,"fill")))]}function Xt(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.black),Ue(lr.green),Ue(lr.blue),Ue(lr.red))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.white),Ue(lr.magenta),Ue(lr.purple),Ue(lr.orange)))]}function Nn(ha,za){return za||(za="thickness"),Dn(ze.bn,"LineH",{width:16,height:16,strokeWidth:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr(za,ha),contextClick:Sr(za,ha)})}function Kn(ha,za){return za||(za="dash"),Dn(ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr(za,ha),contextClick:Sr(za,ha)})}function la(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Nn(1),Nn(2),Nn(3),Nn(4))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Kn(null),Kn([2,4]),Kn([4,4])))]}function Qn(ha,za){return za||(za="figure"),Dn(ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.fill="dodgerblue",mouseLeave:(Ua,La)=>La.fill="lightgray",click:Sr(za,ha),contextClick:Sr(za,ha)})}pt.current.nodeTemplate.contextMenu=Dn("ContextMenu",Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Rectangle"),Qn("RoundedRectangle"),Qn("Ellipse"),Qn("Diamond"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Parallelogram2"),Qn("ManualOperation"),Qn("Procedure"),Qn("Cylinder1"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Terminator"),Qn("CreateRequest"),Qn("Document"),Qn("TriangleDown"))),bn(),Xt(),la()),pt.current.groupTemplate=Dn(ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ha,za)=>{var Ua=za.addMembers(za.diagram.selection,!0);Ua||za.diagram.currentTool.doCancel()},avoidable:!1},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.s_,"Auto",{name:"BODY"},Dn(ze.bn,{parameter1:10,fill:lr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("fill"),new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.Vm,{background:"transparent",margin:20})),Dn(ze.al,{alignment:ze.z6.Top,alignmentFocus:ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ze.KX("text"),new ze.KX("stroke","color"))),pt.current.groupTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.s_,"Auto",Dn(ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Dn(ze.Vm,{margin:1.5})),Ur({alignment:ze.z6.TopRight,alignmentFocus:ze.z6.BottomRight})),pt.current.groupTemplate.contextMenu=Dn("ContextMenu",bn(),Xt(),la()),pt.current.linkTemplate=Dn(ze.rU,{layerName:"Foreground",routing:ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ze.KX("fromSpot","fromSpot",ze.z6.parse),new ze.KX("toSpot","toSpot",ze.z6.parse),new ze.KX("fromShortLength","dir",ha=>ha>=1?10:0),new ze.KX("toShortLength","dir",ha=>ha>=1?10:0),new ze.KX("points").makeTwoWay(),Dn(ze.bn,{strokeWidth:2},new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,0),segmentOrientation:ze.rU.OrientAlong,alignmentFocus:ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===1)),Dn(ze.bn,{segmentIndex:-1,segmentOffset:new ze.E9(-10,6),segmentOrientation:ze.rU.OrientPlus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha>=1),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,-6),segmentOrientation:ze.rU.OrientMinus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===2),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.al,{alignmentFocus:new ze.z6(0,1,-4,0),editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.linkTemplate.selectionAdornmentTemplate=Dn(ze.uz,Dn(ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Un(2)},new ze.KX("pathPattern","thickness",Un)),Ur({alignmentFocus:new ze.z6(0,0,-6,-4)}));function Un(ha){return Dn(ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ha+4).toString()+" H3"})}function ur(ha){var za="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ha===0?za="M0 0 M16 16 M0 8 L16 8":ha===2&&(za="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Dn(ze.bn,{geometryString:za,margin:2,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr("dir",ha),contextClick:Sr("dir",ha)})}function da(ha){var za=(Ua,La)=>{Ua.handled=!0,Ua.diagram.model.commit(Or=>{var no=La.part.adornedPart;Or.set(no.data,ha?"toSpot":"fromSpot",ze.z6.stringify(ze.z6.AllSides)),(ha?no.toNode:no.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:za,contextClick:za})}function En(ha,za){var Ua=0,La=ze.z6.RightSide;ha.equals(ze.z6.Top)?(Ua=270,La=ze.z6.TopSide):ha.equals(ze.z6.Left)?(Ua=180,La=ze.z6.LeftSide):ha.equals(ze.z6.Bottom)&&(Ua=90,La=ze.z6.BottomSide),za||(Ua-=180);var Or=(no,Fr)=>{no.handled=!0,no.diagram.model.commit(Er=>{var Pr=Fr.part.adornedPart;Er.set(Pr.data,za?"toSpot":"fromSpot",ze.z6.stringify(La)),(za?Pr.toNode:Pr.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{alignment:ha,alignmentFocus:ha.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ua,background:"transparent",mouseEnter:(no,Fr)=>Fr.background="dodgerblue",mouseLeave:(no,Fr)=>Fr.background="transparent",click:Or,contextClick:Or})}pt.current.linkTemplate.contextMenu=Dn("ContextMenu",Xt(),la(),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",ur(0),ur(1),ur(2))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Dn(ze.s_,"Spot",da(!1),En(ze.z6.Top,!1),En(ze.z6.Left,!1),En(ze.z6.Right,!1),En(ze.z6.Bottom,!1)),Dn(ze.s_,"Spot",{margin:new ze.Zt(0,0,0,2)},da(!0),En(ze.z6.Top,!0),En(ze.z6.Left,!0),En(ze.z6.Right,!0),En(ze.z6.Bottom,!0)))));const dr=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],y=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},a.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:`$$${re.value}$$`}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>et.createElement("div",{key:ve},et.createElement("h1",null,ie.name),et.createElement(de.Z,{gutter:[10,10]},ie.data.map((be,je)=>et.createElement(Be.Z,{key:je,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:et.createElement(de.Z,{className:le.Z.lists,gutter:[10,10]},x.map((re,ue)=>et.createElement(Be.Z,{flex:"110px",className:le.Z.item},et.createElement("div",null,et.createElement(ke.Z,{value:"`$$"+re.value+"$$`"}),re.name),et.createElement("div",{className:le.Z.children},re.children.map((ie,ve)=>et.createElement("div",{key:ve},ie.name&&et.createElement("h1",null,ie.name),et.createElement(de.Z,{gutter:[10,10]},ie.data.map((be,je)=>et.createElement(Be.Z,{key:je,onClick:()=>y(be),className:le.Z.diamond},et.createElement(ke.Z,{value:"`$$"+be.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ue=re.innerText;return Ge&&Ge(ue),ue};return(0,b.useImperativeHandle)(se,()=>({getData:ne})),et.createElement("div",{className:le.Z.mathWrap},et.createElement(Ne.default,{defaultActiveKey:"1",items:z}),et.createElement("math-field",{locale:"zh_cn",className:le.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Ye||""),Je&&et.createElement("div",{className:le.Z.button},et.createElement(Ze.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Gt.Z=Ve},87198:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Je}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(92832),Ze=ee(87169),ke=ee(99064),le={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},st=ee(86918),et=ee(59301),Ve=(Ye,se,E)=>new Promise((a,x)=>{var y=re=>{try{ne(E.next(re))}catch(ue){x(ue)}},z=re=>{try{ne(E.throw(re))}catch(ue){x(ue)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(y,z);ne((E=E.apply(Ye,se)).next())}),Je=({type:Ye="subject",open:se,onCancel:E,onOkClick:a,subDisciplineId:x})=>{const[y]=de.default.useForm(),[z,ne]=(0,b.useState)([]),[re,ue]=(0,b.useState)(!1);(0,b.useEffect)(()=>{},[]);const ie=()=>Ve(void 0,null,function*(){if(Ye){const ve=yield(0,ke.ZP)("/api/disciplines.json",{method:"get",params:{source:Ye}});ne(ve.disciplines||[])}});return et.createElement(Be.default,{title:et.createElement("div",{style:{fontWeight:"bold"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9"),open:se,width:558,centered:!0,className:le.publicQuest,onCancel:()=>{E(),y.resetFields()},onOk:()=>{y.validateFields().then(ve=>Ve(void 0,null,function*(){const be=yield(0,ke.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:ve==null?void 0:ve.name,sub_discipline_id:x}});(be==null?void 0:be.status)===0&&a({name:ve==null?void 0:ve.name,id:be==null?void 0:be.tag_discipline_id,public:!1,type:"personal"}),y.resetFields(),E()}))}},et.createElement("div",{className:le.publicQuestContent},et.createElement("div",{className:le.public_tips},et.createElement(Ze.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"),et.createElement(de.default,{labelAlign:"left",form:y,colon:!1},et.createElement(de.default.Item,{label:"\u77E5\u8BC6\u70B9\u540D\u79F0",name:"name",rules:[{required:!0}]},et.createElement(Ne.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),et.createElement(st.Z,{open:re,onCancel:()=>{ue(!1)}})))}},67248:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Q:function(){return et},Z:function(){return Ge}});var b=ee(59301),de={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=ee(92310),Ne=ee.n(Be),Ze=ee(43418),ke=ee(8591),le=ee(24905),st=(Je,Ye,se)=>new Promise((E,a)=>{var x=ne=>{try{z(se.next(ne))}catch(re){a(re)}},y=ne=>{try{z(se.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?E(ne.value):Promise.resolve(ne.value).then(x,y);z((se=se.apply(Je,Ye)).next())});const et=({title:Je="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Ye=[],visible:se,setVisible:E,tip:a,onOk:x})=>{const[y,z]=(0,b.useState)([]),[ne,re]=(0,b.useState)(!1);return(0,b.useEffect)(()=>{se&&z(Ye)},[se]),b.createElement(Ze.default,{centered:!0,open:se,title:Je,confirmLoading:ne,width:564,onOk:()=>st(void 0,null,function*(){if(!y.length){ke.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield x(y),re(!1)}),onCancel:()=>E(!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:y,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:ue=>{z(ue)}})))};var Ge=({title:Je="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Ye,style:se={},onEdit:E,dataSource:a=[]})=>{const x={C:b.createElement("div",{className:de.c},"C"),"C++":b.createElement("div",{className:de.cpp},"C++"),Java:b.createElement("div",{className:de.java},"Java"),Python:b.createElement("div",{className:de.python},"Python")};return b.createElement("div",{className:Ne()(de.tags,Ye),style:se},!!Je&&b.createElement("div",{className:de.text},Je),b.createElement("div",{className:de.tagWrap},a==null?void 0:a.map(y=>b.createElement(b.Fragment,{key:y},x[y]))),!!E&&b.createElement("div",{onClick:E,className:`iconfont icon-bianji_Hover ${de.edit}`}))}},90502:function(Qt,Gt,ee){"use strict";ee.d(Gt,{t:function(){return ut}});var b=ee(59301),de=ee(92832),Be=ee(78241),Ne=ee(43418),Ze=ee(95237),ke=ee(43604),le=ee(5871),st=ee(57809),et=ee(5112),Ve=ee(41984),Ge=ee(89070),Je=ee(43809),Ye=ee(8591),se=ee(3113),E=ee(71418),a=ee(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"},y=ee(99064),z=ee(88264),ne=ee(12290),re=ee(56102),ue=ee(74440),ie=ee(59301),ve=Object.defineProperty,be=Object.defineProperties,je=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,qe=(at,De,fe)=>De in at?ve(at,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):at[De]=fe,Ke=(at,De)=>{for(var fe in De||(De={}))He.call(De,fe)&&qe(at,fe,De[fe]);if(Ae)for(var fe of Ae(De))he.call(De,fe)&&qe(at,fe,De[fe]);return at},ht=(at,De)=>be(at,je(De)),Le=(at,De,fe)=>new Promise((Xe,Rt)=>{var Oe=nt=>{try{St(fe.next(nt))}catch(Me){Rt(Me)}},Ie=nt=>{try{St(fe.throw(nt))}catch(Me){Rt(Me)}},St=nt=>nt.done?Xe(nt.value):Promise.resolve(nt.value).then(Oe,Ie);St((fe=fe.apply(at,De)).next())}),lt=({buttonProps:at,buttonText:De,form:fe,hackIdentifier:Xe="",answerKey:Rt,data:Oe})=>{const[Ie,St]=(0,b.useState)(!1),[nt,Me]=(0,b.useState)(!1),[yt,Bn]=(0,b.useState)(!1),[nn,dn]=(0,b.useState)({}),[un,yn]=(0,b.useState)(""),[Te,Ft]=(0,b.useState)(""),zt=(0,b.useRef)(Xe),wt=(0,b.useRef)(""),kt=(0,b.useRef)(!1);(0,b.useEffect)(()=>{yt&&Jn()},[yt]),(0,b.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const sn=()=>new Date().getTime(),cn=Oe==null?void 0:Oe.code,Ln=()=>{var Na,ar;let $a=cn?Oe==null?void 0:Oe.code:(Na=fe.getFieldValue("hack_codes"))==null?void 0:Na.code,fa=cn?Oe==null?void 0:Oe.answer_content:fe.getFieldValue(Rt),yr=cn?Oe==null?void 0:Oe.input:(ar=fe.getFieldValue("hack_sets"))==null?void 0:ar.input;fa==null||fa.forEach(en=>{const On=en.value||en.answer_text||"";$a=$a.replace(/(@▁@|@▁▁@)/,On)}),Ft(yr),yn($a),dn({}),Bn(!0)},Jn=()=>Le(void 0,null,function*(){var Na,ar,$a,fa;const yr=sn(),en=cn?Oe==null?void 0:Oe.time_limit:(Na=fe.getFieldsValue())==null?void 0:Na.hack.time_limit,On=cn?(ar=Oe==null?void 0:Oe.answer_content)==null?void 0:ar.length:(fa=($a=fe.getFieldsValue())==null?void 0:$a.standard_answers)==null?void 0:fa.length;St(!0),yield(0,z.bM)(wt.current,{test_hack_code:un,test_input:Te});function ia(){return Le(this,null,function*(){const{status:xa,data:We}=yield(0,z.rX)(wt.current,"submit"),_t=sn()-yr>(en+3)*1e3*On;if(kt.current){if(_t){Ye.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),St(!1);return}if(xa===0){St(!1),dn(ht(Ke({},We),{showText:!0}));return}setTimeout(ia,1e3)}})}ia()}),va=()=>Le(void 0,null,function*(){var Na,ar,$a,fa,yr,en,On;if(!Oe){try{yield fe.validateFields()}catch(It){($a=(ar=(Na=It==null?void 0:It.errorFields)==null?void 0:Na[0])==null?void 0:ar.name)!=null&&$a.includes("standard_answers")?Ye.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ye.ZP.error(It.errorFields[0].errors[0]),fe.scrollToField(It.errorFields[0].name,{behavior:"smooth",block:"center"});return}Me(!0);let xa="";const We=fe.getFieldsValue();zt.current?xa=yield(0,y.ZP)(`/api/problems/${zt.current}.json`,{method:"put",body:ht(Ke({},We),{hack:ht(Ke({},We==null?void 0:We.hack),{sub_discipline_id:(On=(en=We==null?void 0:We.hack)==null?void 0:en.sub_discipline_id)==null?void 0:On[1],difficult:We.difficulty,item_banks_group_id:We.item_banks_group_id}),hack_codes:ht(Ke({},We.hack_codes),{code:a.Base64.encode(We.hack_codes.code)}),update_hack_sets:[Ke({},We.hack_sets)],is_blank:!0})}):(xa=yield(0,y.ZP)("/api/problems.json",{method:"post",body:ht(Ke({},We),{hack:ht(Ke({},We==null?void 0:We.hack),{sub_discipline_id:(yr=(fa=We==null?void 0:We.hack)==null?void 0:fa.sub_discipline_id)==null?void 0:yr[1],difficult:We.difficulty,item_banks_group_id:We.item_banks_group_id}),hack_codes:ht(Ke({},We.hack_codes),{code:a.Base64.encode(We.hack_codes.code)}),hack_sets:[Ke({},We.hack_sets)],is_blank:!0})}),zt.current=xa==null?void 0:xa.identifier,sessionStorage.projectFill=xa==null?void 0:xa.identifier)}const ia=yield(0,y.ZP)(`/api/problems/${zt.current}/start.json`,{method:"get"});if((ia==null?void 0:ia.status)===0){wt.current=ia==null?void 0:ia.identifier,kt.current=!0,Me(!1),Ln();return}Me(!1)}),Da=Na=>{const{status:ar,error_msg:$a,execute_time:fa,output:yr,input:en,expected_output:On}=Na;let ia=null;switch(ar){case ue.h.OK:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",fa/1e3,"\u79D2"),ie.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ue.h.NOMATCH:ia=ie.createElement(ie.Fragment,null,ie.createElement("div",null,"\u8F93\u5165\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},en),ie.createElement("div",null,"\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},yr&&a.Base64.decode(yr)),ie.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ie.createElement("pre",{style:{fontFamily:"initial"}},On&&a.Base64.decode(On)));break;case ue.h.EXECUTEFAILURE:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,en)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case ue.h.COMPILEFAILURE:ia=ie.createElement(ie.Fragment,null,ie.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ie.createElement("pre",null,en)),ie.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ie.createElement("pre",{className:"error"},a.Base64.decode($a)));break;case ue.h.PODFAILURE:ia=ie.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ia=ie.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ie.createElement(ie.Fragment,null," ",ia," ")};return ie.createElement("div",null,ie.createElement(se.ZP,ht(Ke({loading:nt},at),{onClick:va}),De),ie.createElement(Ne.default,{open:yt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:Ie,cancelButtonProps:{style:{display:"none"}},onOk:()=>Jn(),onCancel:()=>{kt.current=!1,Bn(!1)}},ie.createElement("div",{className:x.result},ie.createElement("div",{className:x.left},ie.createElement("div",{className:"mb20"},ie.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Oe&&ie.createElement(re.CopyToClipboard,{text:un,onCopy:()=>Ye.ZP.success("\u590D\u5236\u6210\u529F")},ie.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ie.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ie.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:un,onChange:Na=>yn(Na)})),ie.createElement("div",{className:x.right},ie.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ie.createElement("div",{className:x.box},ie.createElement("div",{className:x.li},ie.createElement(de.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Te,onChange:Na=>Ft(Na.target.value),bordered:!1,style:{height:180}}))),ie.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ie.createElement("div",{className:x.box},ie.createElement(E.Z,{spinning:Ie,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ie.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Da(nn))))))))},gt=ee(87169),ft=ee(59301),ln=Object.defineProperty,xt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,hn=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,rn=(at,De,fe)=>De in at?ln(at,De,{enumerable:!0,configurable:!0,writable:!0,value:fe}):at[De]=fe,Vn=(at,De)=>{for(var fe in De||(De={}))$e.call(De,fe)&&rn(at,fe,De[fe]);if(hn)for(var fe of hn(De))dt.call(De,fe)&&rn(at,fe,De[fe]);return at},Zt=(at,De)=>xt(at,an(De)),Fn=(at,De)=>{var fe={};for(var Xe in at)$e.call(at,Xe)&&De.indexOf(Xe)<0&&(fe[Xe]=at[Xe]);if(at!=null&&hn)for(var Xe of hn(at))De.indexOf(Xe)<0&&dt.call(at,Xe)&&(fe[Xe]=at[Xe]);return fe};const{TextArea:ze}=de.default,ct=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Lt=({value:at,onChange:De})=>ft.createElement(Switch,{checked:at,onChange:fe=>{De(fe)}}),mt="@\u2581@",Nt="@\u2581\u2581@",ut=({questionTitlePlaceholder:at,form:De,scoreByBlank:fe=!1,hackidentifier:Xe,answerKey:Rt})=>{const[Oe,Ie]=(0,b.useState)(!1),[St,nt]=(0,b.useState)(!1),yt=(0,Ge.useParams)().type==="edit",Bn=(wt,kt)=>{const sn=kt.line;let cn=0;for(let Jn=0;Jn{const Ln=wt.getRange(kt.from,kt.to);let Jn=0;if(kt.text.forEach(va=>{Jn+=va.split(mt).length-1}),kt.text.forEach(va=>{Jn+=va.split(Nt).length-1}),kt.origin!=="setValue"){if(Ln&&(Ln.indexOf(mt)!==-1||Ln.indexOf(Nt)!==-1)){const va=Ln.split(mt).length-1+Ln.split(Nt).length-1,Da=Bn(wt,kt.from);if(console.log(`\u5220\u9664${va}\u4E2A\uFF0C \u524D\u9762\u6709${Da}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),va>1){const Na=Array.from({length:va},(ar,$a)=>Da+$a);cn(Na)}else cn(Da)}else if(Jn>0){const va=Bn(wt,kt.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${va}\u4E2A`),sn(Jn,va)}}},dn=()=>{const wt=De.getFieldValue(Rt);De.setFieldsValue({[Rt]:wt==null?void 0:wt.map((kt,sn)=>Zt(Vn({},kt),{position:sn+1}))})},un=(0,b.useRef)(),yn=(wt,kt)=>{for(let sn=0;sn{Te.current(wt),dn()},zt=Be.default.useWatch(Rt,De);return ft.createElement("div",{className:Je.Z.wrap},ft.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},ft.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),ft.createElement("div",{className:Je.Z.questionTitleEditorWrap},ft.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},ft.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(wt,kt)=>{const sn=De.getFieldValue(Rt);console.log("--preAnswerData",sn,kt),De.setFieldsValue({[Rt]:sn==null?void 0:sn.map((cn,Ln)=>{var Jn;return Zt(Vn({},cn),{position:Ln+1,multi_line:(Jn=kt==null?void 0:kt[Ln])==null?void 0:Jn.multiLine})})})},placeholder:at,onCMBeforeChange:(wt,kt)=>{nn(wt,kt,yn,Ft)}}))),ft.createElement(Be.default.List,{name:Rt,rules:[{validator(wt,kt){if(!(kt!=null&&kt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const sn of kt){const{answer_text:cn}=sn||{};if((cn==null?void 0:cn.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(wt,{add:kt,remove:sn},{errors:cn})=>(un.current=kt,Te.current=sn,ft.createElement(ft.Fragment,null,ft.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},ft.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),ft.createElement("div",{onClick:()=>{Ne.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:ft.createElement("div",null,ft.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",ft.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),ft.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"}},ft.createElement(gt.Z,{style:{marginRight:3,color:"#3061D0"}}),ft.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),wt.map((Ln,Jn)=>{var va=Ln,{key:Da,name:Na}=va,ar=Fn(va,["key","name"]),$a,fa;return ft.createElement(Ze.Z,{className:"mb20",key:Da,align:"middle",wrap:!1},ft.createElement(ke.Z,{flex:"0 0 auto",className:`${Je.Z.blankIndex}`},"\u586B\u7A7A\u9879",Jn+1),ft.createElement(ke.Z,{flex:1},ft.createElement(Ze.Z,{align:"top",justify:"space-between",wrap:!1},ft.createElement(ke.Z,null,ft.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"answer_text"],noStyle:!0}),($a=zt==null?void 0:zt[Na])!=null&&$a.multi_line||(fa=zt==null?void 0:zt[Na])!=null&&fa.multiLine?ft.createElement(ze,{spellCheck:!1,style:{marginLeft:10,width:550}}):ft.createElement(de.default,{style:{marginLeft:10,width:550},className:Je.Z.blankInput,size:"large",maxLength:1e3,onBlur:yr=>{}}))),fe&&ft.createElement(ke.Z,{flex:"224px"},ft.createElement(Be.default.Item,Zt(Vn({},ar),{name:[Na,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),ft.createElement(le.Z,{size:"large",className:Je.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),ft.createElement("div",{onClick:()=>Ie(!0)},ft.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ft.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Oe}))),ft.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"}]},ft.createElement(st.default,{size:"large"},ct.map(wt=>ft.createElement(st.default.Option,{key:wt.title,value:wt.key}," ",wt.title)))),ft.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},ft.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},ft.createElement(le.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),ft.createElement("span",{className:"ml10 font14"},"\u79D2")),ft.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"}]},ft.createElement(et.ZP.Group,{style:{marginTop:-10}},ft.createElement(et.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),ft.createElement(et.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),ft.createElement(et.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),ft.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),ft.createElement("div",{style:{background:"#F6F7F9",padding:15}},ft.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},ft.createElement(ze,{rows:4})),ft.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"}]},ft.createElement(ze,{rows:4}))),ft.createElement(lt,{form:De,answerKey:Rt,hackIdentifier:Xe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:ft.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"}}}))}},65357:function(Qt,Gt,ee){"use strict";ee.d(Gt,{u:function(){return ie}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(6848),Ze=ee(78241),ke=ee(43809),le=ee(32134),st=ee(12893),et=ee(41984),Ve=ee(59301),Ge=Object.defineProperty,Je=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(ve,be,je)=>be in ve?Ge(ve,be,{enumerable:!0,configurable:!0,writable:!0,value:je}):ve[be]=je,y=(ve,be)=>{for(var je in be||(be={}))E.call(be,je)&&x(ve,je,be[je]);if(se)for(var je of se(be))a.call(be,je)&&x(ve,je,be[je]);return ve},z=(ve,be)=>Je(ve,Ye(be)),ne=(ve,be)=>{var je={};for(var Ae in ve)E.call(ve,Ae)&&be.indexOf(Ae)<0&&(je[Ae]=ve[Ae]);if(ve!=null&&se)for(var Ae of se(ve))be.indexOf(Ae)<0&&a.call(ve,Ae)&&(je[Ae]=ve[Ae]);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"],ue=({value:ve,onChange:be,choiceTextKey:je,answerKey:Ae,index:He,isEdit:he,setInputActive:qe,form:Ke,choiceOptionsPath:ht,allowChangeMode:Le,showAddIcon:ot,addItem:lt,deleteItem:gt})=>{console.log(ve,"value");const ft=(ve==null?void 0:ve[Ae])===1,ln=()=>{const an=Ke.getFieldValue(ht);Ke.setFieldValue(ht,an.map(hn=>z(y({},hn),{[Ae]:0})))},xt=()=>{ft?be(z(y({},ve),{[Ae]:0})):(Le||ln(),be(z(y({},ve),{[Ae]:1})))};return Ve.createElement(de.Z,{className:ke.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:xt,className:`${ke.Z.choiceIndex} ${ft?ke.Z.activeAnswer:""}`},re[He]),Ve.createElement(Be.Z,{flex:1,className:`${ke.Z.editorWrap} ml15`,onClick:qe},Ve.createElement(et.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:ve==null?void 0:ve[je],onChange:an=>{be(z(y({},ve),{[je]:an}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:xt,className:`${ke.Z.setAnswerBtn} ${ft?ke.Z.activeAnswer:""}`},ft?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:ke.Z.actionWrapper},Ve.createElement(Ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(le.Z,{className:ke.Z.addIcon,onClick:lt,style:{visibility:ot?"visible":"hidden"}})),Ve.createElement(Ne.Z,{title:"\u5220\u9664"},Ve.createElement(st.Z,{className:ke.Z.deleteIcon,onClick:gt,style:{visibility:He>1?"visible":"hidden"}}))))},ie=({questionTitlePlaceholder:ve,titleKey:be,choiceKey:je,analysisKey:Ae,choiceTextKey:He,answerKey:he,choiceOptionsPath:qe,allowChangeMode:Ke=!0,form:ht,showAnalysis:Le=!0})=>{const[ot,lt]=(0,b.useState)(),[gt,ft]=(0,b.useState)(!1);return Ve.createElement("div",{className:ke.Z.wrap},Ve.createElement("div",{className:ke.Z.questionTitleEditorWrap},Ve.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:be,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(et.h,{scrollId:Array.isArray(be)?be.join("_"):`${be}`,watch:!0,height:140,placeholder:ve}))),Ve.createElement(Ze.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Ze.default.List,{name:je,rules:[{validator(ln,xt){const an=xt.some($e=>$e[he]===1),hn=xt.findIndex($e=>{var dt;return((dt=$e[He])==null?void 0:dt.length)<=0});return hn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[hn]}\u9009\u9879\u7684\u5185\u5BB9`)):an?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ln,{add:xt,remove:an})=>Ve.createElement("div",{id:Array.isArray(qe)?qe.join("_"):`${qe}`},ln.map((hn,$e)=>{var dt=hn,{key:rn,name:Vn}=dt,Zt=ne(dt,["key","name"]);const Fn=ot===rn,ze=()=>{lt(rn)},ct=$e<7&&$e===ln.length-1,Lt=()=>xt({[He]:"",[he]:0}),mt=()=>an(Vn);return Ve.createElement(Ze.default.Item,z(y({},Zt),{key:rn,name:Vn,className:ke.Z.choiceListWrap,rules:[{validator(Nt,ut){return ut!=null&&ut.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[$e]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ue,{choiceTextKey:He,answerKey:he,index:$e,isEdit:Fn,setInputActive:ze,form:ht,choiceOptionsPath:qe,allowChangeMode:Ke,showAddIcon:ct,addItem:Lt,deleteItem:mt}))}),ln.length<8&&Ve.createElement("div",{className:`${ke.Z.addBtn} mb30`,onClick:()=>xt({[He]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Le&&Ve.createElement("div",{onClick:()=>ft(!0)},Ve.createElement(Ze.default.Item,{name:Ae,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(et.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},70472:function(Qt,Gt,ee){"use strict";ee.d(Gt,{u:function(){return Ke}});var b=ee(59301),de=ee(43418),Be=ee(95237),Ne=ee(43604),Ze=ee(92832),ke=ee(6848),le=ee(78673),st=ee(78241),et=ee(5112),Ve=ee(5871),Ge=ee(41984),Je=ee(12893),Ye=ee(61485),se=ee(43809),E=ee(59879),a=ee(59301),x=Object.defineProperty,y=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,ie=(ht,Le,ot)=>Le in ht?x(ht,Le,{enumerable:!0,configurable:!0,writable:!0,value:ot}):ht[Le]=ot,ve=(ht,Le)=>{for(var ot in Le||(Le={}))re.call(Le,ot)&&ie(ht,ot,Le[ot]);if(ne)for(var ot of ne(Le))ue.call(Le,ot)&&ie(ht,ot,Le[ot]);return ht},be=(ht,Le)=>y(ht,z(Le)),je=(ht,Le)=>{var ot={};for(var lt in ht)re.call(ht,lt)&&Le.indexOf(lt)<0&&(ot[lt]=ht[lt]);if(ht!=null&&ne)for(var lt of ne(ht))Le.indexOf(lt)<0&&ue.call(ht,lt)&&(ot[lt]=ht[lt]);return ot};const Ae=({value:ht,onChange:Le})=>{const ot=gt=>{de.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 ft=[...ht];ft.splice(gt,1),Le(ft)}})},lt=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,ft)=>a.createElement(Be.Z,{key:`${gt}_${ft}`,className:"mb20"},a.createElement(Ze.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:gt,autoSize:{maxRows:3},maxLength:1e3,onBlur:ln=>{const xt=[...ht],an=ln.target.value.trim();xt[ft]=an,Le(xt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:ft>0?"visible":"hidden"},onClick:()=>ot(ft)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},He=({value:ht,onChange:Le})=>{const ot=gt=>{de.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 ft=[...ht];ft.splice(gt,1),Le(ft)}})},lt=()=>{const gt=[...ht];gt.push(""),Le(gt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Ne.Z,{flex:1},ht==null?void 0:ht.map((gt,ft)=>a.createElement(Be.Z,{key:`${gt}_${ft}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:gt,style:{flex:1},onChange:ln=>{const xt=[...ht];xt[ft]=ln,Le(xt)}}),a.createElement(ke.Z,{title:"\u5220\u9664"},a.createElement(Je.Z,{className:se.Z.deleteIcon,style:{marginLeft:15,visibility:ft>0?"visible":"hidden"},onClick:()=>ot(ft)}))))),a.createElement(Ne.Z,null,a.createElement("div",{className:`${se.Z.addBtn}`,onClick:()=>{lt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:ht=!0,onChange:Le})=>a.createElement(le.Z,{checked:!ht,onChange:ot=>{Le(!ot)}}),qe="\u2581",Ke=({questionTitlePlaceholder:ht,form:Le,scoreByBlank:ot=!1,answerKey:lt})=>{const[gt,ft]=(0,b.useState)(!1),ln=(Zt,Fn)=>{const ze=Fn.line;let ct=0;for(let mt=0;mt{const Lt=Zt.getRange(Fn.from,Fn.to);let mt=0;if(Fn.text.forEach(Nt=>{mt+=Nt.split(qe).length-1}),Fn.origin!=="setValue"){if(Lt&&Lt.indexOf(qe)!==-1){const Nt=Lt.split(qe).length-1,ut=ln(Zt,Fn.from);if(console.log(`\u5220\u9664${Nt}\u4E2A\uFF0C \u524D\u9762\u6709${ut}\u4E2A\uFF0C\u65B0\u589E${mt}\u4E2A`),Nt>1){const at=Array.from({length:Nt},(De,fe)=>ut+fe);ct(at)}else ct(ut)}else if(mt>0){const Nt=ln(Zt,Fn.from);console.log(`\u65B0\u589E${mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Nt}\u4E2A`),ze(mt,Nt)}}},an=()=>{const Zt=Le.getFieldValue(lt);Le.setFieldsValue({[lt]:Zt.map((Fn,ze)=>be(ve({},Fn),{position:ze+1}))})},hn=(0,b.useRef)(),$e=(Zt,Fn)=>{for(let ze=0;ze{dt.current(Zt),an()},Vn=st.default.useWatch(lt,Le);return a.createElement("div",{className:se.Z.wrap},a.createElement("div",{className:se.Z.questionTitleEditorWrap},a.createElement(st.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ge.h,{scrollId:"name",watch:!0,height:140,placeholder:ht,showNullButton:!0,onCMBeforeChange:(Zt,Fn)=>{xt(Zt,Fn,$e,rn)}}))),a.createElement(st.default.List,{name:lt,rules:[{validator(Zt,Fn){if(!(Fn!=null&&Fn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ze of Fn){const{answer_text:ct}=ze||{};if(ct!=null&&ct.some(Lt=>(Lt==null?void 0:Lt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:Fn,remove:ze},{errors:ct})=>(hn.current=Fn,dt.current=ze,a.createElement(a.Fragment,null,a.createElement(st.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.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}}),Zt.map((Lt,mt)=>{var Nt=Lt,{key:ut,name:at}=Nt,De=je(Nt,["key","name"]),fe,Xe;return a.createElement("div",{style:{marginBottom:10},key:ut},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Ne.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${se.Z.blankIndex}`},"\u586B\u7A7A\u9879",mt+1),a.createElement(st.default.Item,be(ve({},De),{name:[at,"model"],noStyle:!0}),a.createElement(et.ZP.Group,{onChange:()=>{const Rt=Le.getFieldValue(lt);Le.setFieldsValue({[lt]:Rt.map((Oe,Ie)=>be(ve({},Oe),{answer_text:at===Ie?[""]:Oe.answer_text}))})}},a.createElement(et.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Ye.Z,null))),a.createElement(et.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(ke.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Ye.Z,null)))))),a.createElement(Be.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Ne.Z,{flex:1},a.createElement(st.default.Item,be(ve({},De),{name:[at,"answer_text"],noStyle:!0}),((Xe=(fe=Le.getFieldValue(lt))==null?void 0:fe[at])==null?void 0:Xe.model)===1?a.createElement(Ae,null):a.createElement(He,null))),ot&&a.createElement(Ne.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(st.default.Item,be(ve({},De),{name:[at,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:se.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(st.default.Item,be(ve({},De),{name:[at,"position"],noStyle:!0}),a.createElement(Ze.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(st.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.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(st.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(le.Z,null)),a.createElement(Ne.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Vn==null?void 0:Vn.length)>1&&a.createElement(Be.Z,{align:"middle",className:(Vn==null?void 0:Vn.length)>1?"mb30":`${se.Z.hide}`},a.createElement(st.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Ne.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:()=>ft(!0)},a.createElement(st.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ge.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gt}))))}},11832:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ne}});var b=ee(59301),de=ee(95237),Be=ee(43604),Ne=ee(78241),Ze=ee(43809),ke=ee(41984),le=ee(59301),st=Object.defineProperty,et=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,se=(re,ue,ie)=>ue in re?st(re,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):re[ue]=ie,E=(re,ue)=>{for(var ie in ue||(ue={}))Je.call(ue,ie)&&se(re,ie,ue[ie]);if(Ge)for(var ie of Ge(ue))Ye.call(ue,ie)&&se(re,ie,ue[ie]);return re},a=(re,ue)=>et(re,Ve(ue)),x=(re,ue)=>{var ie={};for(var ve in re)Je.call(re,ve)&&ue.indexOf(ve)<0&&(ie[ve]=re[ve]);if(re!=null&&Ge)for(var ve of Ge(re))ue.indexOf(ve)<0&&Ye.call(re,ve)&&(ie[ve]=re[ve]);return ie};const y={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ue,form:ie})=>{const ve=(re==null?void 0:re.is_answer)===1,be=re==null?void 0:re.choice_text,je=()=>{const Ae=ie.getFieldsValue().choices.map(He=>({choice_text:He.choice_text,is_answer:0}));ie.setFieldsValue({choices:Ae}),ue(a(E({},re),{is_answer:1}))};return le.createElement(de.Z,{className:Ze.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},le.createElement(Be.Z,{onClick:je,className:`${Ze.Z.choiceIndex} ${Ze.Z.judgementIndex} ${ve?Ze.Z.activeAnswer:""}`},y[be]),le.createElement(Be.Z,{flex:1,className:`${Ze.Z.editorWrap} ml15`},le.createElement("div",{className:`${Ze.Z.inputBorder} ${Ze.Z.placeholder} ${ve?Ze.Z.activeJudgementAnswer:""}`},be)),le.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},le.createElement("div",{onClick:je,className:`${Ze.Z.setAnswerBtn} ${ve?Ze.Z.activeAnswer:""}`},ve?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ue,form:ie})=>{const[ve,be]=(0,b.useState)(!1);return le.createElement("div",{className:Ze.Z.wrap},le.createElement("div",{className:Ze.Z.questionTitleEditorWrap},le.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},le.createElement(ke.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),le.createElement(Ne.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},le.createElement(Ne.default.List,{name:"choices",rules:[{validator(je,Ae){return Ae.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},je=>le.createElement("div",{id:"choices"},je.map(Ae=>{var He=Ae,{key:he,name:qe}=He,Ke=x(He,["key","name"]);return le.createElement(Ne.default.Item,a(E({},Ke),{key:he,name:qe,noStyle:!0}),le.createElement(z,{form:ie}))})))),le.createElement("div",{onClick:()=>be(!0)},le.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},le.createElement(ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ve}))))}},41984:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return E},x:function(){return a}});var b=ee(12290),de=ee(43809),Be=ee(85149),Ne=ee(59301),Ze=Object.defineProperty,ke=Object.defineProperties,le=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,et=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ge=(x,y,z)=>y in x?Ze(x,y,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[y]=z,Je=(x,y)=>{for(var z in y||(y={}))et.call(y,z)&&Ge(x,z,y[z]);if(st)for(var z of st(y))Ve.call(y,z)&&Ge(x,z,y[z]);return x},Ye=(x,y)=>ke(x,le(y)),se=(x,y)=>{var z={};for(var ne in x)et.call(x,ne)&&y.indexOf(ne)<0&&(z[ne]=x[ne]);if(x!=null&&st)for(var ne of st(x))y.indexOf(ne)<0&&Ve.call(x,ne)&&(z[ne]=x[ne]);return z};const E=x=>{var y=x,{value:z,onChange:ne,scrollId:re}=y,ue=se(y,["value","onChange","scrollId"]);return Ne.createElement("div",{id:re||""},Ne.createElement(b.Z,Ye(Je({},ue),{defaultValue:z,onChange:(ie,ve)=>{ve!=null&&ve.length?ne(ie,ve):ne(ie)}})))},a=({value:x,onChange:y,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ue,watch:ie=!0})=>re?Ne.createElement(b.Z,{watch:ie,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:x,onChange:y,miniToolbar:ue}):Ne.createElement("div",{style:{cursor:"pointer"}},x?Ne.createElement(Be.Z,{className:de.Z.inputBorder,value:x}):Ne.createElement("div",{className:`${de.Z.inputBorder} ${de.Z.placeholder} inputBorderError`},z))},35173:function(Qt,Gt,ee){"use strict";ee.d(Gt,{W:function(){return He}});var b=ee(59301),de=ee(8591),Be=ee(12563),Ne=ee(78241),Ze=ee(78673),ke=ee(95237),le=ee(43604),st=ee(6848),et=ee(92832),Ve=ee(5871),Ge=ee(43809),Je=ee(41984),Ye=ee(12290),se=ee(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,qe,Ke)=>qe in he?E(he,qe,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):he[qe]=Ke,ue=(he,qe)=>{for(var Ke in qe||(qe={}))z.call(qe,Ke)&&re(he,Ke,qe[Ke]);if(y)for(var Ke of y(qe))ne.call(qe,Ke)&&re(he,Ke,qe[Ke]);return he},ie=(he,qe)=>a(he,x(qe)),ve=(he,qe)=>{var Ke={};for(var ht in he)z.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&y)for(var ht of y(he))qe.indexOf(ht)<0&&ne.call(he,ht)&&(Ke[ht]=he[ht]);return Ke};const be=he=>{var qe=he,{value:Ke,onChange:ht}=qe,Le=ve(qe,["value","onChange"]);const ot=lt=>{ht([lt])};return b.createElement(Ye.Z,ie(ue({},Le),{defaultValue:Ke==null?void 0:Ke[0],onChange:ot}))},je=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let qe=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==="|"?(de.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ae=({value:he=[],onClose:qe})=>b.createElement(Be.default,{closable:!0,onClose:qe,className:Ge.Z.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),He=({questionTitlePlaceholder:he,form:qe,showKeywords:Ke,isMustKeyWords:ht=Ke})=>{const[Le,ot]=(0,b.useState)(!1),[lt,gt]=(0,b.useState)(""),ft=Ne.default.useWatch("use_keywords",qe),ln=Ne.default.useWatch("question_score",qe);return b.createElement("div",{className:Ge.Z.wrap},b.createElement("div",{className:Ge.Z.questionTitleEditorWrap},b.createElement(Ne.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},b.createElement(Je.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),b.createElement(Ne.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},b.createElement(be,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ke&&!ht&&b.createElement(Ne.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,{defaultChecked:!0})),Ke&&ht&&b.createElement(ke.Z,{align:"middle",className:"mb30"},b.createElement(Ne.default.Item,{name:"use_keywords",valuePropName:"checked"},b.createElement(Ze.Z,null)),b.createElement(le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(le.Z,null,b.createElement(st.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"}})))),(ft||!ht)&&b.createElement(Ne.default.List,{name:"keywords",rules:[{validator(xt,an){return ht?an!=null&&an.length?(an==null?void 0:an.reduce(($e,dt)=>$e+dt.score,0))>parseFloat(ln)?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()}}]},(xt,{add:an,remove:hn})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ge.Z.title} mb10`},ht?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(ke.Z,{align:"middle",className:"font14 mb30"},b.createElement(le.Z,{flex:1},b.createElement(et.default,{value:lt,onChange:$e=>{gt($e.target.value)},maxLength:50,allowClear:!0,onPressEnter:$e=>{var dt,rn,Vn,Zt;const Fn=`${(dt=$e.target)==null?void 0:dt.value}`,ze=(Vn=(rn=Fn==null?void 0:Fn.split("|"))==null?void 0:rn.filter(mt=>!!mt))==null?void 0:Vn.map(mt=>mt==null?void 0:mt.trim()),ct=qe.getFieldValue("keywords"),Lt=((Zt=ct==null?void 0:ct.map(mt=>mt==null?void 0:mt.keyword))==null?void 0:Zt.flat())||[];for(const mt of ze)if(Lt.includes(mt)){de.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}je(Fn)&&(an({keyword:ze,score:1}),gt(""))},className:Ge.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")),xt.map($e=>{var dt=$e,{key:rn,name:Vn}=dt,Zt=ve(dt,["key","name"]);return b.createElement(ke.Z,{key:rn,className:"mb20",style:{marginRight:148}},b.createElement(le.Z,{flex:1},b.createElement(ke.Z,{align:"middle",justify:"space-between"},b.createElement(Ne.default.Item,ie(ue({},Zt),{name:[Vn,"keyword"]}),b.createElement(Ae,{onClose:()=>hn(Vn)})),ht&&b.createElement(Ne.default.Item,ie(ue({},Zt),{name:[Vn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ge.Z.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:Ge.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>ot(!0)},b.createElement(Ne.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Le}))))}},27693:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ze}});var b={text:"text___bQulM",sup:"sup___rX_Y3"},de=ee(78241),Be=ee(59301),Ze=({text:ke,name:le="question_score"})=>{const st=({value:et})=>Be.createElement("div",{className:b.text},Be.createElement("span",{className:b.sup},"*"),Be.createElement("span",{className:"mr10"},"\u5206\u503C"),Be.createElement("span",null,et||"--"),Be.createElement("span",{className:"c-grey-999"},ke));return Be.createElement(de.default.Item,{noStyle:!0,name:le},Be.createElement(st,null))}},79669:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return je},P:function(){return ie}});var b=ee(59301),de=ee(78241),Be=ee(43418),Ne=ee(5112),Ze=ee(92832),ke=ee(1710),le={brief:"brief___LOzpE",contentTitle:"contentTitle___xkdcN",content:"content___Vtri0",tips:"tips___tuAtH",antdTable:"antdTable___s8T2N",tableCell:"tableCell___kN9Fw",antdModal:"antdModal___WVBk3",orangeColor:"orangeColor___ryB2u"},st=ee(49692),et=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(Ae,He,he)=>He in Ae?et(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,a=(Ae,He)=>{for(var he in He||(He={}))Ye.call(He,he)&&E(Ae,he,He[he]);if(Je)for(var he of Je(He))se.call(He,he)&&E(Ae,he,He[he]);return Ae},x=(Ae,He)=>Ve(Ae,Ge(He)),y=(Ae,He)=>{var he={};for(var qe in Ae)Ye.call(Ae,qe)&&He.indexOf(qe)<0&&(he[qe]=Ae[qe]);if(Ae!=null&&Je)for(var qe of Je(Ae))He.indexOf(qe)<0&&se.call(Ae,qe)&&(he[qe]=Ae[qe]);return he},z=(Ae,He,he)=>new Promise((qe,Ke)=>{var ht=lt=>{try{ot(he.next(lt))}catch(gt){Ke(gt)}},Le=lt=>{try{ot(he.throw(lt))}catch(gt){Ke(gt)}},ot=lt=>lt.done?qe(lt.value):Promise.resolve(lt.value).then(ht,Le);ot((he=he.apply(Ae,He)).next())});const ne=({studentNames:Ae,total:He})=>{const he=["","\u4E00","\u4E24","\u4E09"];return He>3?b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),"\u7B49",b.createElement("span",{className:le.orangeColor},He),"\u540D\u5B66\u751F"):b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:le.orangeColor},Ae==null?void 0:Ae.join("\u3001")),he[He],"\u540D\u5B66\u751F")},re=({used:Ae,copy:He,canNotCopy:he,studentNames:qe,studentCount:Ke,inPaper:ht,is_random:Le=!1,position:ot=""})=>{const lt=()=>{if(He>0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236");if(He>0&&he===0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},He),"\u4E2A\u9879\u76EE\u652F\u6301\u590D\u5236");if(He===0&&he>0)return b.createElement(b.Fragment,null,"\u5176\u4E2D",b.createElement("span",{className:le.orangeColor},he),"\u4E2A\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236")},gt=ot||(ht?"\u8BD5\u5377":"\u8BFE\u7A0B");return b.createElement("span",null,b.createElement(ne,{studentNames:qe,total:Ke}),"\u5B66\u4E60\u8FC7",gt,"\u4E2D\u7684",b.createElement("span",{className:le.orangeColor},Ae),"\u4E2A\u9879\u76EE\uFF0C",lt(),"\u3002\u8BF7\u9009\u62E9",Le?"":"\u662F\u5426\u7EE7\u7EED\u4F7F\u7528\u548C","\u662F\u5426\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")},ue=({onCancel:Ae,onOk:He,visible:he,inPaper:qe,renderData:Ke,type:ht,isMultipleCourse:Le=!1})=>{const[ot]=de.default.useForm(),[lt,gt]=(0,b.useState)(1),[ft,ln]=(0,b.useState)(!1),xt=(0,b.useMemo)(()=>(Ke==null?void 0:Ke.total_num)===1&&(Ke==null?void 0:Ke.can_copy_num)===1,[Ke]),an=(0,b.useMemo)(()=>{var hn;return(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.filter($e=>$e.is_show)},[Ke]);return b.createElement(b.Fragment,null,xt?b.createElement(Be.default,{centered:!0,closable:!0,open:he,destroyOnClose:!0,title:"\u63D0\u793A",className:le.antdModal,width:682,confirmLoading:ft,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var hn;ln(!0);let $e=lt;if(Le){const dt=a({},ot.getFieldsValue());$e=(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.map(rn=>dt[rn.id]!==void 0?x(a({},rn),{is_copy:dt[rn.id]}):rn)}yield He($e),ln(!1)})},b.createElement("div",{className:le.content,style:{marginBottom:20}},Le?"\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5DF2\u5728\u6559\u5B66\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u8BF7\u95EE\u662F\u5426\u590D\u5236\u6210\u65B0\u7684\u5B9E\u8BAD\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u4E2D?":b.createElement(b.Fragment,null,b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u8BF7\u9009\u62E9\u662F\u5426\u5C06\u8BE5\u9879\u76EE\u590D\u5236\u4E3A\u65B0\u9879\u76EE\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\uFF1F")),Le?b.createElement(de.default,{form:ot,preserve:!1},an==null?void 0:an.map(hn=>b.createElement(b.Fragment,{key:hn.id},b.createElement("h3",{className:"ml15 mb5"},hn.name),b.createElement(de.default.Item,{name:hn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236\u5B9E\u8BAD"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236\u5B9E\u8BAD")))))):b.createElement(Ne.ZP.Group,{value:lt,onChange:hn=>gt(hn.target.value),className:le.content,style:{marginBottom:30}},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u590D\u5236"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u590D\u5236")),b.createElement("div",null,b.createElement("div",{className:le.content,style:{marginBottom:10}},"* \u8BF4\u660E\uFF1A"),b.createElement("div",{className:le.content,style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:`${le.content} ${le.orangeColor}`},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"))):b.createElement(Be.default,{centered:!0,closable:!0,destroyOnClose:!0,open:he,confirmLoading:ft,title:"\u63D0\u793A",width:682,onCancel:Ae,onOk:()=>z(void 0,null,function*(){var hn;ln(!0);let $e=0;if(Le){const dt=a({},ot.getFieldsValue());$e=(hn=Ke==null?void 0:Ke.course_data_list)==null?void 0:hn.map(rn=>dt[rn.id]!==void 0?x(a({},rn),{is_use:dt[rn.id]}):rn)}yield He($e),ln(!1)})},b.createElement("div",{className:le.content},b.createElement(ne,{studentNames:Ke==null?void 0:Ke.student_names,total:Ke==null?void 0:Ke.student_count}),"\u5B66\u4E60\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\u3002",Le?b.createElement(de.default,{form:ot,preserve:!1},b.createElement("h3",null,"\u5F53\u524D\u5B9E\u8BAD\u4E0D\u53EF\u590D\u5236\uFF0C\u5DF2\u7ECF\u68C0\u6D4B\u5230\u4EE5\u4E0B\u8BFE\u5802\u5B58\u5728\u8BE5\u5B9E\u8BAD\uFF0C\u540C\u4E00\u5B9E\u8BAD\u5728\u8BFE\u5802\u4E2D\u91CD\u590D\u4F7F\u7528\u65F6\uFF0C\u4F1A\u5BFC\u81F4\u6210\u7EE9\u4E92\u76F8\u5F71\u54CD\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u7EE7\u7EED\u4F7F\u7528"),an==null?void 0:an.map(hn=>b.createElement(b.Fragment,{key:hn.id},b.createElement("h3",{className:"ml15 mb5"},hn.name),b.createElement(de.default.Item,{name:hn.id,initialValue:1},b.createElement(Ne.ZP.Group,{className:le.content},b.createElement(Ne.ZP,{value:1,style:{color:"#464f66"}},"\u7EE7\u7EED\u4F7F\u7528"),b.createElement(Ne.ZP,{value:0,style:{color:"#464f66"}},"\u4E0D\u4F7F\u7528")))))):b.createElement("div",null,"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u82E5\u786E\u8BA4\u7EE7\u7EED\u53D1\u9001\uFF0C",b.createElement("span",{className:le.orangeColor},"\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002"),"\uFF08\u5982\u679C\u4E0D\u60F3\u6E05\u7A7A\u5B66\u751F\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u5EFA\u8BAE\u53C2\u7167\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u5185\u5BB9\u81EA\u884C\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u6216\u8005\u5C1D\u8BD5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u4EBA\u5F00\u653E\u672C\u9879\u76EE\u7684\u590D\u5236\u6743\u9650\uFF09\u3002"))))},ie=function(){const[Ae,He]=(0,b.useState)(!1),[he,qe]=(0,b.useState)();return[Ae,()=>He(!1),he,Le=>z(this,null,function*(){var ot;const lt=Le,{isImportMultipleCourse:gt=!1}=lt,ft=y(lt,["isImportMultipleCourse"]);console.log(Le);const ln=(Le==null?void 0:Le.result)||(yield(0,st.Tr)(ft));return"status"in ln?!1:gt?((ot=ln==null?void 0:ln.course_data_list)==null?void 0:ot.some(an=>an.is_show))?(qe(ln),He(!0),!0):ln.course_data_list||[]:ln.student_count===0?!1:(qe(ln),He(!0),!0)})]},ve=Ae=>{const[He]=de.default.useForm(),[he,qe]=(0,b.useState)(!1),{onCancel:Ke,onOk:ht,visible:Le,inPaper:ot=!1,renderData:lt,type:gt,isMultipleCourse:ft=!1,position:ln}=Ae;let xt=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render($e,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)}},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,align:"center",ellipsis:!0,className:le.tableCell,render($e,dt){return b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)}},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:($e,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))},{title:"\u662F\u5426\u590D\u5236",dataIndex:"is_copy",align:"center",render:($e,dt)=>b.createElement(de.default.Item,{name:[`${gt==="subject"?dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],initialValue:1},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426")))}],[ot]),an=(0,b.useMemo)(()=>ot?[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,align:"center",ellipsis:!0,render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))}]:[{title:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",dataIndex:"name",width:424,className:le.tableCell,ellipsis:!0,align:"center",render:($e,dt)=>b.createElement("a",{href:`/shixuns/${dt.identifier}/challenges`,target:"_blank"},$e)},{title:"\u662F\u5426\u4F7F\u7528",dataIndex:"is_use",align:"center",render:($e,dt)=>b.createElement(b.Fragment,null,b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_use"],initialValue:0},b.createElement(Ne.ZP.Group,null,b.createElement(Ne.ZP,{value:1},"\u662F"),b.createElement(Ne.ZP,{value:0},"\u5426"))),b.createElement(de.default.Item,{name:[`${gt==="subject"?dt==null?void 0:dt.stage_shixun_id:dt.shixun_course_id||dt.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})))}],[ot]);if(ft){const $e={title:"\u8BFE\u5802\u540D\u79F0",ellipsis:!0,dataIndex:"course_name",width:190,align:"center",className:le.tableCell,render:(dt,rn)=>b.createElement("a",{href:`/classrooms/${rn.course_id}`},dt)};xt=[$e,...xt],an=[$e,...an]}const hn=(0,b.useMemo)(()=>re({used:lt==null?void 0:lt.repeat_shixun_num,copy:lt==null?void 0:lt.can_copy_num,canNotCopy:lt==null?void 0:lt.no_copy_num,studentNames:lt==null?void 0:lt.student_names,studentCount:lt==null?void 0:lt.student_count,is_random:lt==null?void 0:lt.is_random,inPaper:ot,position:ln}),[lt,ot,ln]);return b.createElement(Be.default,{title:"\u63D0\u793A",centered:!0,open:Le,confirmLoading:he,onOk:()=>z(void 0,null,function*(){qe(!0);const $e=He.getFieldsValue(),dt=Object.keys($e).map(rn=>({id:parseInt(rn.split("_")[0]),course_id:parseInt(rn.split("_")[1]),is_use:$e[rn].is_use,is_copy:$e[rn].is_copy}));yield ht(dt),qe(!1)}),onCancel:Ke,width:880,okText:"\u786E\u8BA4",className:le.antdModal,destroyOnClose:!0},b.createElement(de.default,{form:He,preserve:!1},b.createElement("div",{className:le.brief},hn),b.createElement("div",{style:{marginBottom:30}},b.createElement("div",{style:{marginBottom:20}},"* \u8BF4\u660E"),b.createElement("div",{style:{marginBottom:20}},"1\u3001\u590D\u5236\uFF1A\u7CFB\u7EDF\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF08\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF09\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\u3002"),b.createElement("div",{className:le.orangeColor},"2\u3001\u4E0D\u590D\u5236\uFF1A\u5F53\u524D\u9879\u76EE\u4F1A\u88AB\u76F4\u63A5\u53D1\u9001\u5230\u8BFE\u5802\u4E2D\u4F7F\u7528\uFF0C\u6311\u6218\u8FC7\u8BE5\u9879\u76EE\u7684\u5B66\u751F\u518D\u6B21\u8FDB\u5165\u9879\u76EE\u5F00\u542F\u6311\u6218\u65F6\uFF0C\u4F1A\u6E05\u7A7A\u4E4B\u524D\u7684\u6311\u6218\u8BB0\u5F55\u3002")),(lt==null?void 0:lt.can_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:xt,className:le.antdTable,dataSource:lt==null?void 0:lt.can_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:240},bordered:!0})),(lt==null?void 0:lt.no_copy_num)>0&&b.createElement("div",null,b.createElement("div",{className:le.contentTitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u9879\u76EE"),b.createElement(ke.default,{columns:an,className:le.antdTable,dataSource:lt==null?void 0:lt.no_copy_list,rowKey:gt==="subject"?"stage_shixun_id":"id",pagination:!1,scroll:{y:200},bordered:!0})),(lt==null?void 0:lt.no_use_list.length)>0&&(lt==null?void 0:lt.no_use_list.map($e=>b.createElement("div",{key:gt==="subject"?$e.stage_shixun_id:$e.shixun_course_id||$e.id},b.createElement(de.default.Item,{name:[`${gt==="subject"?$e==null?void 0:$e.stage_shixun_id:$e.shixun_course_id||$e.id}`,"is_copy"],hidden:!0,initialValue:0},b.createElement(Ze.default,{type:"hidden"})),b.createElement(de.default.Item,{name:[`${gt==="subject"?$e==null?void 0:$e.stage_shixun_id:$e.shixun_course_id||$e.id}`,"is_use"],hidden:!0,initialValue:1},b.createElement(Ze.default,{type:"hidden"})))))))};var je=Ae=>{const{modalType:He}=Ae;return He==="multiple"?b.createElement(ve,a({},Ae)):b.createElement(ue,a({},Ae))}},82438:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return st}});var b=ee(59301),de={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Be=ee(43418),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",ke=(et,Ve,Ge)=>new Promise((Je,Ye)=>{var se=x=>{try{a(Ge.next(x))}catch(y){Ye(y)}},E=x=>{try{a(Ge.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Je(x.value):Promise.resolve(x.value).then(se,E);a((Ge=Ge.apply(et,Ve)).next())}),st=({type:et,resdata:Ve,onok:Ge,oktext:Je,okloading:Ye})=>{const[se,E]=(0,b.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:y,course_data_list:z,no_copy_list:ne,no_copy_num:re,no_use_list:ue,no_use_num:ie,repeat_shixun_num:ve,student_count:be,total_num:je,use_num:Ae}=Ve;let He=x>0||et==="exercise";(0,b.useEffect)(()=>{(Ve==null?void 0:Ve.student_count)>0&&E(!0)},[Ve]),console.log("---11",Ye),(0,b.useEffect)(()=>{Ye||E(!1)},[Ye]);const he=()=>{if(et==="exercise"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(et==="exercise"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixun"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="subject"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",b.createElement("span",{className:de.orangeColor},be)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",b.createElement("span",{className:de.orangeColor},Ae)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="exercisepush")return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(et==="shixunpush"&&y===1)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(et==="shixunpush"&&y===2)return b.createElement(b.Fragment,null,"\u8BFE\u5802\u5185\u6709",b.createElement("span",{className:de.orangeColor},be),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",b.createElement("span",{className:de.orangeColor},Ae),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",b.createElement("span",{className:de.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},qe=()=>{if(et==="exercise"||et==="subject"||et==="exercisepush"||et==="shixunpush")return b.createElement("div",{style:{marginTop:20}},re>0&&b.createElement("div",null,b.createElement("span",{className:de.flex},b.createElement("img",{src:Ze,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",b.createElement("span",{className:de.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",He&&b.createElement("span",{className:de.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),b.createElement("div",null,ne==null?void 0:ne.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==re&&"\u3001"))))),x>0&&b.createElement("div",{style:{marginTop:20}},b.createElement("span",{className:de.flex},b.createElement("img",{src:Ne,style:{width:14}}),b.createElement("span",{className:de.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),b.createElement("div",{className:de.statusbody},et==="exercise"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(et==="subject"||et==="exercisepush")&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),et==="shixunpush"&&b.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),b.createElement("div",null,a==null?void 0:a.map((Ke,ht)=>b.createElement("a",{href:`/shixuns/${Ke.identifier}/challenges`,target:"_blank"},"\u300A",Ke==null?void 0:Ke.name,"\u300B",ht+1!==x&&"\u3001"))))));if(et==="shixun")return b.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return b.createElement(Be.default,{open:se,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!He&&"none"}},zIndex:1003,confirmLoading:Ye,okText:He?Je:"\u6211\u77E5\u9053\u4E86",onOk:()=>ke(void 0,null,function*(){He?yield Ge([...a,...ue]):E(!1)})},b.createElement("div",{style:{maxHeight:600,overflow:"auto"}},he(),qe()))}},97692:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return re}});var b=ee(59301),de=ee(57809),Be=ee(78241),Ne=ee(3113),Ze=ee(89780),ke=ee.n(Ze),le=ee(37036),st=ee(95625),et=Object.defineProperty,Ve=Object.defineProperties,Ge=Object.getOwnPropertyDescriptors,Je=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,E=(ue,ie,ve)=>ie in ue?et(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):ue[ie]=ve,a=(ue,ie)=>{for(var ve in ie||(ie={}))Ye.call(ie,ve)&&E(ue,ve,ie[ve]);if(Je)for(var ve of Je(ie))se.call(ie,ve)&&E(ue,ve,ie[ve]);return ue},x=(ue,ie)=>Ve(ue,Ge(ie));const y=de.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:ue,onCancel:ie})=>{const[ve,be]=(0,b.useState)("python");function je(He){be(ne[He][1])}function Ae(He){ue(He)}return b.createElement(Be.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),b.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},b.createElement(de.default,{getPopupContainer:He=>He.parentNode,onChange:je},Object.keys(ne).map(He=>b.createElement(y,{key:He,value:He},ne[He][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:ve})),b.createElement("div",{className:"flex-container flex-end"},b.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(Ne.ZP,{type:"ghost",onClick:ie},"\u53D6\u6D88")))};function re({value:ue,onChange:ie,mode:ve,options:be={}}){const je=(0,b.useRef)(),[Ae,He]=(0,b.useState)();return(0,b.useEffect)(()=>{if(Ae){let he=function(qe){const Ke=qe.getValue();ie&&ie(Ke)};return Ae.on("change",he),()=>{Ae.off("change",he)}}},[Ae,ie]),(0,b.useEffect)(()=>{Ae&&Ae.setOption("mode",ve)},[Ae,ve]),(0,b.useEffect)(()=>{Ae&&(ue!==Ae.getValue()||ue==="")&&setTimeout(()=>{Ae.setValue(ue||"")},300)},[Ae,ue]),(0,b.useEffect)(()=>{if(je.current&&!Ae){const he=ke().fromTextArea(je.current,a({mode:ve,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},be));He(he)}},[je.current,Ae]),b.createElement("div",{className:"my-codemirror-container"},b.createElement("textarea",{ref:je}))}},12290:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return wn}});var b=ee(59301),de=ee(89780),Be=ee.n(de),Ne=ee(76374),Ze=ee(37036),ke=ee(6313),le=ee(25717),st=ee(99498),et=ee(25419),Ve=ee(67549),Ge=ee(85149),Je=({value:vt="",className:Bt,showTextOnly:pt,showLines:Sn,style:Wn={}})=>{const An=(0,b.useMemo)(()=>"",[vt]);return b.createElement(b.Fragment,null,b.createElement("div",{dangerouslySetInnerHTML:{__html:An}}))},Ye=ee(59301),se=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(vt,Bt,pt)=>Bt in vt?se(vt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Bt]=pt,re=(vt,Bt)=>{for(var pt in Bt||(Bt={}))y.call(Bt,pt)&&ne(vt,pt,Bt[pt]);if(x)for(var pt of x(Bt))z.call(Bt,pt)&&ne(vt,pt,Bt[pt]);return vt},ue=(vt,Bt)=>E(vt,a(Bt));let ie=[{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 ve({onActionCallback:vt,title:Bt,icon:pt,actionName:Sn,className:Wn="",children:An}){function ka(){vt(Sn)}return Ye.createElement("a",{title:Bt,className:Wn,onClick:ka},Ye.createElement("i",{className:`${pt}`}),An)}var be=({watch:vt,showNullButton:Bt,showNullProgramButton:pt,onActionCallback:Sn,fullScreen:Wn,insertTemp:An,hidetoolBar:ka,extraUse:pa})=>{const _n=[...ie,{title:`${vt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ye.createElement("ul",{className:"markdown-toolbar-container"},!ka&&_n.map((Ea,Pa)=>Ye.createElement("li",{key:Pa},Ea.actionName?Ye.createElement(ve,ue(re({},Ea),{onActionCallback:Sn})):Ye.createElement("span",{className:"v-line"}))),Bt?Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,pt?Ye.createElement(Ye.Fragment,null,Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,An&&Ye.createElement("li",null,Ye.createElement(ve,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${An}`,onActionCallback:Sn},Ye.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),pa&&Ye.createElement("li",null,pa),Ye.createElement("li",{className:"btn-full-screen"},Ye.createElement(ve,{icon:`${Wn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Sn})))},je=ee(79346),Ae=ee(78241),He=ee(92832),he=ee(3113),qe=Object.defineProperty,Ke=Object.defineProperties,ht=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,gt=(vt,Bt,pt)=>Bt in vt?qe(vt,Bt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):vt[Bt]=pt,ft=(vt,Bt)=>{for(var pt in Bt||(Bt={}))ot.call(Bt,pt)&>(vt,pt,Bt[pt]);if(Le)for(var pt of Le(Bt))lt.call(Bt,pt)&>(vt,pt,Bt[pt]);return vt},ln=(vt,Bt)=>Ke(vt,ht(Bt));const xt={labelCol:{span:4},wrapperCol:{span:20}};var an=({callback:vt,onCancel:Bt})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,ln(ft({},xt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:pt,style:{width:500}}),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},b.createElement(He.default,null)),b.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},b.createElement(He.default,null)),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},hn=ee(97692),$e=ee(28451),dt=ee(43418),rn=ee(95237),Vn=ee(73524),Zt=ee(59301),Fn=({callback:vt,onCancel:Bt})=>{const pt=document.createElement("canvas"),Sn=pt.getContext("2d");pt.width=1e3,pt.height=800,Sn.fillStyle="#ffffff",Sn.fillRect(0,0,pt.width,pt.height);const Wn=pt.toDataURL("image/png");return Zt.createElement(dt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(rn.Z,{style:{height:"100vh"}},Zt.createElement(Vn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wn,visible:!0,title:String(Date.now())},onOk:An=>{vt({src:An.url})},onClose:Bt})))},ze=ee(12378);function ct(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ct,go.CommandHandler),ct.prototype.canAlignSelection=function(){var vt=this.diagram;return!(vt===null||vt.isReadOnly||vt.isModelReadOnly||vt.selection.count<2)},ct.prototype.alignLeft=function(){var vt=this.diagram;vt.startTransaction("aligning left");var Bt=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Bt=Math.min(pt.position.x,Bt))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Bt,pt.position.y))}),vt.commitTransaction("aligning left")},ct.prototype.alignRight=function(){var vt=this.diagram;vt.startTransaction("aligning right");var Bt=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.x+pt.actualBounds.width;Bt=Math.max(Sn,Bt)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(Bt-pt.actualBounds.width,pt.position.y))}),vt.commitTransaction("aligning right")},ct.prototype.alignTop=function(){var vt=this.diagram;vt.startTransaction("alignTop");var Bt=1/0;vt.selection.each(function(pt){pt instanceof go.Link||(Bt=Math.min(pt.position.y,Bt))}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.position.x,Bt))}),vt.commitTransaction("alignTop")},ct.prototype.alignBottom=function(){var vt=this.diagram;vt.startTransaction("aligning bottom");var Bt=-1/0;vt.selection.each(function(pt){if(!(pt instanceof go.Link)){var Sn=pt.actualBounds.y+pt.actualBounds.height;Bt=Math.max(Sn,Bt)}}),vt.selection.each(function(pt){pt instanceof go.Link||pt.move(new go.Point(pt.actualBounds.x,Bt-pt.actualBounds.height))}),vt.commitTransaction("aligning bottom")},ct.prototype.alignCenterX=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt){vt.startTransaction("aligning Center X");var pt=Bt.actualBounds.x+Bt.actualBounds.width/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(pt-Sn.actualBounds.width/2,Sn.actualBounds.y))}),vt.commitTransaction("aligning Center X")}},ct.prototype.alignCenterY=function(){var vt=this.diagram,Bt=vt.selection.first();if(Bt){vt.startTransaction("aligning Center Y");var pt=Bt.actualBounds.y+Bt.actualBounds.height/2;vt.selection.each(function(Sn){Sn instanceof go.Link||Sn.move(new go.Point(Sn.actualBounds.x,pt-Sn.actualBounds.height/2))}),vt.commitTransaction("aligning Center Y")}},ct.prototype.alignColumn=function(vt){var Bt=this.diagram;Bt.startTransaction("align Column"),vt===void 0&&(vt=0),vt=parseFloat(vt);var pt=new Array;Bt.selection.each(function(pa){pa instanceof go.Link||pt.push(pa)});for(var Sn=0;Sn0){for(var pa=An.elt(ka-1);pa!==null&&pa.isTreeExpanded&&!pa.isTreeLeaf;){var _n=this._sortTreeChildrenByY(pa);pa=_n.last()}pa!==null&&vt.select(pa)}else vt.select(Wn)}}else if(pt.key==="Down")if(Bt.isTreeExpanded&&!Bt.isTreeLeaf){var Sn=this._sortTreeChildrenByY(Bt).first();Sn!==null&&vt.select(Sn)}else for(;Bt!==null;){var Wn=Bt.findTreeParentNode();if(Wn===null)break;var An=this._sortTreeChildrenByY(Wn),ka=An.indexOf(Bt);if(kaAn.y?1:Wn.xAn.x?1:0}),Bt},ct.prototype.copyToClipboard=function(vt){go.CommandHandler.prototype.copyToClipboard.call(this,vt),this._lastPasteOffset.set(this.pasteOffset)},ct.prototype.pasteFromClipboard=function(){var vt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(vt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),vt},Object.defineProperty(ct.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(vt){if(vt!=="move"&&vt!=="select"&&vt!=="scroll"&&vt!=="tree"&&vt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+vt);this._arrowKeyBehavior=vt}}),Object.defineProperty(ct.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(vt){if(!(vt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+vt);this._pasteOffset.set(vt)}});var Lt=ct,mt=ee(74413),Nt=ee(43604),ut=ee(99064),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=ee(59301),fe=(vt,Bt,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Bt)).next())});function Xe({onCancel:vt,callback:Bt}){let pt=(0,b.useRef)(),Sn=(0,b.useRef)(),Wn=(0,b.useRef)(),An=(0,b.useRef)(!1);const ka=(0,b.useRef)(!1),[pa,_n]=(0,b.useState)(0);function Ea(){const Dn=ze.bx.make,lr={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"};pt.current=new ze.S0(Sn.current,{padding:20,grid:Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ha=>{var za=ha.diagram.commandHandler.addTopLevelParts(ha.diagram.selection,!0);za||ha.diagram.currentTool.doCancel()},commandHandler:Dn(Lt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ha=>{var za=ha.subject;za.location=za.location.copy().snapToGridPoint(ha.diagram.grid.gridOrigin,ha.diagram.grid.gridCellSize),setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ha=>{var za=ha.subject;setTimeout(()=>{ha.diagram.commandHandler.editTextBlock()})},LinkRelinked:ha=>{var za=ha.parameter.part;za.invalidateConnectedLinks();var Ua=ha.subject;ha.diagram.toolManager.linkingTool.isForwards?Ua.toNode.invalidateConnectedLinks():Ua.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),pt.current.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center,locationObjectName:"SHAPE",desiredSize:new ze.$u(120,60),minSize:new ze.$u(40,40),resizable:!0,resizeCellSize:new ze.$u(10,10),rotatable:!0},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),new ze.KX("desiredSize","size",ze.$u.parse).makeTwoWay(ze.$u.stringify),Dn(ze.bn,{name:"SHAPE",fill:lr.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("figure"),new ze.KX("fill"),new ze.KX("stroke","borderColor"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Dn(ze.al,{margin:1,textAlign:"center",overflow:ze.al.OverflowEllipsis,editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.nodeTemplate.toolTip=Dn("ToolTip",Dn(ze.s_,"Vertical",{maxSize:new ze.$u(200,NaN)},Dn(ze.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ze.KX("text")),Dn(ze.al,{font:"10pt sans-serif",textAlign:"center"},new ze.KX("text","details"))));function Nr(ha,za){var Ua=(La,Or)=>{La.handled=!0,La.diagram.model.commit(no=>{var Fr=Or.part.adornedPart,Er=new ze.E9().setRectSpot(Fr.actualBounds,ha);Er.subtract(Fr.location),Er.scale(2,2),Er.x+=Math.sign(Er.x)*130,Er.y+=Math.sign(Er.y)*130,Er.add(Fr.location),Er.snapToGridPoint(La.diagram.grid.gridOrigin,La.diagram.grid.gridCellSize);var Pr=no.copyNodeData(Fr.data);no.setGroupKeyForNodeData(Pr,no.getGroupKeyForNodeData(Fr.data)),no.addNodeData(Pr);var si={from:Fr.key,to:no.getKeyForNodeData(Pr)};no.addLinkData(si);var ai=La.diagram.findNodeForData(Pr);ai.location=Er,La.diagram.select(ai),setTimeout(()=>{La.diagram.commandHandler.editTextBlock()},20)})};return Dn(ze.bn,{figure:za,alignment:ha,alignmentFocus:ha.opposite(),width:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?25:18,height:ha.equals(ze.z6.Top)||ha.equals(ze.z6.Bottom)?18:25,fill:"orange",stroke:lr.white,strokeWidth:4,mouseEnter:(La,Or)=>Or.fill="dodgerblue",mouseLeave:(La,Or)=>Or.fill="orange",isActionable:!0,click:Ua,contextClick:Ua})}function Ur(ha){return Dn(ze.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:(za,Ua)=>Ua.fill="dodgerblue",mouseLeave:(za,Ua)=>Ua.fill="orange",click:(za,Ua)=>{za.diagram.commandHandler.showContextMenu(Ua.part.adornedPart)}},ha||{})}pt.current.nodeTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.Vm,{padding:10}),Nr(ze.z6.Top,"TriangleUp"),Nr(ze.z6.Left,"TriangleLeft"),Nr(ze.z6.Right,"TriangleRight"),Nr(ze.z6.Bottom,"TriangleDown"),Ur({alignment:new ze.z6(.75,0)}));function Sr(ha,za){return(Ua,La)=>{Ua.handled=!0,Ua.diagram.model.commit(Or=>{Or.set(La.part.adornedPart.data,ha,za)})}}function Ue(ha,za){return za||(za="color"),Dn(ze.bn,{width:16,height:16,stroke:"lightgray",fill:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.stroke="dodgerblue",mouseLeave:(Ua,La)=>La.stroke="lightgray",click:Sr(za,ha),contextClick:Sr(za,ha)})}function bn(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.white,"fill"),Ue(lr.beige,"fill"),Ue(lr.extralightblue,"fill"),Ue(lr.extralightred,"fill"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.lightgray,"fill"),Ue(lr.lightgreen,"fill"),Ue(lr.lightblue,"fill"),Ue(lr.lightred,"fill")))]}function Xt(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.black),Ue(lr.green),Ue(lr.blue),Ue(lr.red))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Ue(lr.white),Ue(lr.magenta),Ue(lr.purple),Ue(lr.orange)))]}function Nn(ha,za){return za||(za="thickness"),Dn(ze.bn,"LineH",{width:16,height:16,strokeWidth:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr(za,ha),contextClick:Sr(za,ha)})}function Kn(ha,za){return za||(za="dash"),Dn(ze.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr(za,ha),contextClick:Sr(za,ha)})}function la(){return[Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Nn(1),Nn(2),Nn(3),Nn(4))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Kn(null),Kn([2,4]),Kn([4,4])))]}function Qn(ha,za){return za||(za="figure"),Dn(ze.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ha,margin:1,background:"transparent",mouseEnter:(Ua,La)=>La.fill="dodgerblue",mouseLeave:(Ua,La)=>La.fill="lightgray",click:Sr(za,ha),contextClick:Sr(za,ha)})}pt.current.nodeTemplate.contextMenu=Dn("ContextMenu",Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Rectangle"),Qn("RoundedRectangle"),Qn("Ellipse"),Qn("Diamond"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Parallelogram2"),Qn("ManualOperation"),Qn("Procedure"),Qn("Cylinder1"))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Qn("Terminator"),Qn("CreateRequest"),Qn("Document"),Qn("TriangleDown"))),bn(),Xt(),la()),pt.current.groupTemplate=Dn(ze.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ze.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ha,za)=>{var Ua=za.addMembers(za.diagram.selection,!0);Ua||za.diagram.currentTool.doCancel()},avoidable:!1},new ze.KX("location","loc",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.s_,"Auto",{name:"BODY"},Dn(ze.bn,{parameter1:10,fill:lr.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ze.z6.AllSides,toSpot:ze.z6.AllSides},new ze.KX("fill"),new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.Vm,{background:"transparent",margin:20})),Dn(ze.al,{alignment:ze.z6.Top,alignmentFocus:ze.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ze.KX("text"),new ze.KX("stroke","color"))),pt.current.groupTemplate.selectionAdornmentTemplate=Dn(ze.uz,"Spot",Dn(ze.s_,"Auto",Dn(ze.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Dn(ze.Vm,{margin:1.5})),Ur({alignment:ze.z6.TopRight,alignmentFocus:ze.z6.BottomRight})),pt.current.groupTemplate.contextMenu=Dn("ContextMenu",bn(),Xt(),la()),pt.current.linkTemplate=Dn(ze.rU,{layerName:"Foreground",routing:ze.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ze.KX("fromSpot","fromSpot",ze.z6.parse),new ze.KX("toSpot","toSpot",ze.z6.parse),new ze.KX("fromShortLength","dir",ha=>ha>=1?10:0),new ze.KX("toShortLength","dir",ha=>ha>=1?10:0),new ze.KX("points").makeTwoWay(),Dn(ze.bn,{strokeWidth:2},new ze.KX("stroke","color"),new ze.KX("strokeWidth","thickness"),new ze.KX("strokeDashArray","dash")),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,0),segmentOrientation:ze.rU.OrientAlong,alignmentFocus:ze.z6.Right,figure:"circle",width:10,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===1)),Dn(ze.bn,{segmentIndex:-1,segmentOffset:new ze.E9(-10,6),segmentOrientation:ze.rU.OrientPlus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha>=1),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.bn,{segmentIndex:0,segmentOffset:new ze.E9(15,-6),segmentOrientation:ze.rU.OrientMinus90,alignmentFocus:ze.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ze.KX("fill","color"),new ze.KX("visible","dir",ha=>ha===2),new ze.KX("width","thickness",ha=>7+3*ha),new ze.KX("height","thickness",ha=>7+3*ha),new ze.KX("segmentOffset","thickness",ha=>new ze.E9(-15,4+1.5*ha))),Dn(ze.al,{alignmentFocus:new ze.z6(0,1,-4,0),editable:!0},new ze.KX("text").makeTwoWay(),new ze.KX("stroke","color"))),pt.current.linkTemplate.selectionAdornmentTemplate=Dn(ze.uz,Dn(ze.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Un(2)},new ze.KX("pathPattern","thickness",Un)),Ur({alignmentFocus:new ze.z6(0,0,-6,-4)}));function Un(ha){return Dn(ze.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ha+4).toString()+" H3"})}function ur(ha){var za="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ha===0?za="M0 0 M16 16 M0 8 L16 8":ha===2&&(za="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Dn(ze.bn,{geometryString:za,margin:2,background:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:Sr("dir",ha),contextClick:Sr("dir",ha)})}function da(ha){var za=(Ua,La)=>{Ua.handled=!0,Ua.diagram.model.commit(Or=>{var no=La.part.adornedPart;Or.set(no.data,ha?"toSpot":"fromSpot",ze.z6.stringify(ze.z6.AllSides)),(ha?no.toNode:no.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ua,La)=>La.background="dodgerblue",mouseLeave:(Ua,La)=>La.background="transparent",click:za,contextClick:za})}function En(ha,za){var Ua=0,La=ze.z6.RightSide;ha.equals(ze.z6.Top)?(Ua=270,La=ze.z6.TopSide):ha.equals(ze.z6.Left)?(Ua=180,La=ze.z6.LeftSide):ha.equals(ze.z6.Bottom)&&(Ua=90,La=ze.z6.BottomSide),za||(Ua-=180);var Or=(no,Fr)=>{no.handled=!0,no.diagram.model.commit(Er=>{var Pr=Fr.part.adornedPart;Er.set(Pr.data,za?"toSpot":"fromSpot",ze.z6.stringify(La)),(za?Pr.toNode:Pr.fromNode).invalidateConnectedLinks()})};return Dn(ze.bn,{alignment:ha,alignmentFocus:ha.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ua,background:"transparent",mouseEnter:(no,Fr)=>Fr.background="dodgerblue",mouseLeave:(no,Fr)=>Fr.background="transparent",click:Or,contextClick:Or})}pt.current.linkTemplate.contextMenu=Dn("ContextMenu",Xt(),la(),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",ur(0),ur(1),ur(2))),Dn("ContextMenuButton",Dn(ze.s_,"Horizontal",Dn(ze.s_,"Spot",da(!1),En(ze.z6.Top,!1),En(ze.z6.Left,!1),En(ze.z6.Right,!1),En(ze.z6.Bottom,!1)),Dn(ze.s_,"Spot",{margin:new ze.Zt(0,0,0,2)},da(!0),En(ze.z6.Top,!0),En(ze.z6.Left,!0),En(ze.z6.Right,!0),En(ze.z6.Bottom,!0)))));const dr=`{ "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"}, @@ -103,7 +103,7 @@ {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var xr=["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 Wr(ha){return console.log("shapeName:",ha),xr.indexOf(ha)>=0}var Ir=new ze.YI(Wn.current,{maxSelectionCount:1,linkTemplate:Dn(ze.rU,{locationSpot:ze.z6.Center,selectionAdornmentTemplate:Dn(ze.uz,"Link",{locationSpot:ze.z6.Center},Dn(ze.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Dn(ze.bn,{toArrow:"Standard",stroke:null}))},{routing:ze.rU.AvoidsNodes,curve:ze.rU.JumpOver,corner:5,toShortLength:4},new ze.KX("points"),Dn(ze.bn,{isPanelMain:!0,strokeWidth:2}),Dn(ze.bn,{toArrow:"Standard",stroke:null})),model:new ze.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ze.bn.getFigureGenerators().toArray().map(ha=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ha.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return pt.current.addDiagramListener("TextEdited",function(ha){var za;const Ua=ha.subject.part;var La=(za=document.activeElement)==null?void 0:za.value;typeof La=="string"&&La.trim()===""&&pt.current.model.commit(function(Or){Or.set(Ua.data,"text","\u672A\u547D\u540D"),pt.current.commandHandler.stopCommand()},"increment")}),Ir.nodeTemplate=Dn(ze.NB,"Auto",{locationSpot:ze.z6.Center},new ze.KX("location","location",ze.E9.parse).makeTwoWay(ze.E9.stringify),Dn(ze.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 ze.KX("stroke").makeTwoWay(),new ze.KX("fill").makeTwoWay(),new ze.KX("figure")),Dn(ze.al,{margin:new ze.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ze.$u(16,16),maxSize:new ze.$u(10,NaN),textAlign:"center",editable:!0},new ze.KX("key").makeTwoWay())),setTimeout(()=>{pt.current.grid=Dn(ze.s_,"Grid",Dn(ze.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Dn(ze.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),pt.current.grid.visible=!0,pt.current.grid.gridCellStroke="darkgray",pt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=pt.current,pt.current}const Pa=()=>fe(this,null,function*(){var Dn=pt.current.makeImage();const lr=yield(0,ut.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Dn.src}});Bt({src:lr.url})});return(0,b.useEffect)(()=>(setTimeout(()=>{Ea()},500),_n(pa+1),()=>{pt.current=null}),[]),De.createElement("div",{ref:ka,className:An.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(dt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!pa,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(rn.Z,null,De.createElement(Nt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(Nt.Z,{onClick:()=>{var Dn,lr,Nr=pt.current.selection.first();if(An.current=!An.current,document.activeElement&&Nr){let Ur=(lr=(Dn=document.activeElement)==null?void 0:Dn.value)==null?void 0:lr.trim();typeof Ur=="string"&&pt.current.model.commit(function(Sr){Sr.set(Nr.data,"text",Ur||"\u672A\u547D\u540D"),pt.current.commandHandler.stopCommand()},"increment")}_n(pa+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:vt},De.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},De.createElement("div",{style:{display:"flex",height:"100%"}},De.createElement("div",{style:{width:"300px",height:"100%"}},De.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),De.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:Wn})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:Sn,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(he.ZP,{size:"large",onClick:Pa,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Rt=Xe,Oe=ee(5112),Ie=ee(5871);const St=Oe.ZP.Group,nt={margin:"0 8px"};var Me=({callback:vt,onCancel:Bt})=>{function pt(Sn){vt(Sn)}return b.createElement(Ae.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:pt},b.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},b.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),b.createElement("span",{style:nt},"\u884C\u6570"),b.createElement(Ae.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},b.createElement(Ie.Z,null)),b.createElement("span",{style:nt},"\u5217\u6570"),b.createElement(Ae.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},b.createElement(Ie.Z,null))),b.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},b.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),b.createElement(Ae.default.Item,{name:"align"},b.createElement(St,null,b.createElement(Oe.ZP,{value:"default"},b.createElement("i",{className:"fa fa-align-justify"})),b.createElement(Oe.ZP,{value:"left"},b.createElement("i",{className:"fa fa-align-left"})),b.createElement(Oe.ZP,{value:"center"},b.createElement("i",{className:"fa fa-align-center"})),b.createElement(Oe.ZP,{value:"right"},b.createElement("i",{className:"fa fa-align-right"}))))),b.createElement("div",{className:"flex-container flex-end"},b.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),b.createElement(he.ZP,{type:"ghost",onClick:Bt},"\u53D6\u6D88")))},yt=ee(78673),Bn=ee(80727),nn=ee.n(Bn),un=(0,b.forwardRef)(({use3d:vt,width:Bt,height:pt,callback:Sn,showSaveButton:Wn},An)=>{const ka=(0,b.useRef)(),pa=(0,b.useRef)(),[_n,Ea]=(0,b.useState)(!1),Pa=(0,b.useRef)({id:ka,appName:"graphing",width:Bt||1e3,height:pt||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)(()=>{pa.current=new(nn())(Pa.current,!0),window.onload=function(){pa.current.inject("applet_container")}},[]);const Dn=()=>{var lr=window.ggbApplet.getPNGBase64(1,!0,72);return Sn&&Sn(lr),lr};return(0,b.useEffect)(()=>{Pa.current.appName=_n?"3D":"graphing",pa.current.inject("applet_container")},[_n]),(0,b.useEffect)(()=>{Ea(vt)},[vt]),(0,b.useImperativeHandle)(An,()=>({getImgData:Dn})),b.createElement(b.Fragment,null,b.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ka}),b.createElement(rn.Z,{align:"middle"},b.createElement(Nt.Z,{flex:1},b.createElement(yt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_n,onChange:lr=>Ea(lr)})),b.createElement(Nt.Z,null,b.createElement(he.ZP,{size:"large",onClick:Dn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),yn=ee(41588),Te=ee(1012),Ft=ee(8591);const zt="link",wt="upload-image",kt="add-flowchart",sn="draw-image",cn="add-flowchart",Ln="code-block",Jn="add-table",va="------------",Da={default:va,left:`:${va}`,center:`:${va}:`,right:`${va}:`};var Na=ee(58856),ar=(vt,Bt,pt)=>new Promise((Sn,Wn)=>{var An=_n=>{try{pa(pt.next(_n))}catch(Ea){Wn(Ea)}},ka=_n=>{try{pa(pt.throw(_n))}catch(Ea){Wn(Ea)}},pa=_n=>_n.done?Sn(_n.value):Promise.resolve(_n.value).then(An,ka);pa((pt=pt.apply(vt,Bt)).next())});function $a(){}let fa=0;const yr=1e4,en="\u2581",On="@\u2581\u2581@",ia="@\u2581@",xa=` **\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`,We=["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(vt){return/^\d+$/.test(vt)?`${vt}px`:vt}const Vt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Gt={[Vt+"-B"]:"bold",[Vt+"-I"]:"italic"},Rn={[zt]:"\u6DFB\u52A0\u94FE\u63A5",[Ln]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[sn]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var wn=({defaultValue:vt="",onChange:Bt,width:pt="100%",height:Sn=400,miniToolbar:Wn=!1,isFocus:An=!1,watch:ka,insertTemp:pa,mode:_n="markdown",id:Ea="markdown-editor-id",showResizeBar:Pa=!1,noStorage:Dn=!1,showNullButton:lr=!1,showNullProgramButton:Nr=!1,hidetoolBar:Ur=!1,fullScreen:Sr=!1,onBlur:Ue,onCMBeforeChange:bn,onFullScreen:Xt,className:Nn="",disablePaste:Kn=!1,disabled:la=!1,disabledFill:Qn=!1,placeholder:Un="",values:ur="",extraUse:da})=>{const[En,dr]=(0,b.useState)(null),[xr,Wr]=(0,b.useState)(vt),[Ir,ha]=(0,b.useState)(ka),[za,Ua]=(0,b.useState)(Sr),[La,Or]=(0,b.useState)(""),[no,Fr]=(0,b.useState)(0),[Er,Pr]=(0,b.useState)(Sn),[si,ai]=(0,b.useState)(!1),xi=(0,b.useRef)((0,Te.Z)()),ho=(0,b.useRef)(!1),yo=(0,b.useRef)(),[jo,Mo]=(0,b.useState)(0),[Ao,gr]=(0,b.useState)(0),eo=(0,b.useRef)(),Qo=(0,b.useRef)(),Yo=(0,b.useRef)(),Oo=(0,b.useRef)(),br=()=>ar(void 0,null,function*(){var kr;const Qa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:xi.current}});(kr=Qa==null?void 0:Qa.attachments)!=null&&kr.length&&(console.log("cm:",En,eo),Qa.attachments.map(Ga=>{Ga.content_type.indexOf("image")>-1?En.replaceSelection(`![,](/api/attachments/${Ga.id}?type=${Ga.content_type})`):Ga.content_type.indexOf("video")>-1?En.replaceSelection(``):Ga.content_type.indexOf("pdf")>-1?En.replaceSelection(`${Ga.name}`):En.replaceSelection(`[${Ga.name}](${ENV.API_SERVER}/api/attachments/${Ga.id}?type=${Ga.content_type})`)}))});(0,b.useEffect)(()=>{const kr=window.scrollY||window.pageYOffset;Wr(ur),En==null||En.setValue(ur),window.scrollTo(0,kr)},[ur]),(0,b.useEffect)(()=>{Xt==null||Xt(za)},[za]),(0,b.useEffect)(()=>{if(eo.current){let kr=function(Ga,Ya){var so;if(Kn){Ya.preventDefault();return}const we=Ya.clipboardData;if(we){const fn=we.types.toString(),Mn=we.items;if(fn==="Files"||we.types.indexOf("Files")>-1){if(Ya.preventDefault(),_n=="stex")return;try{let Sa=Mn[1];((so=Mn[0])==null?void 0:so.kind)==="file"&&(Sa=Mn[0]);const on=Sa.getAsFile(),Ma=on.name.split(".").pop();(0,$e.I)(on,Fa=>{var jn,Xn,sr;Fa.id?((jn=on==null?void 0:on.type)==null?void 0:jn.indexOf("image"))>-1?Qa.replaceSelection(``):((Xn=on==null?void 0:on.type)==null?void 0:Xn.indexOf("video"))>-1?Qa.replaceSelection(``):((sr=on==null?void 0:on.type)==null?void 0:sr.indexOf("pdf"))>-1?Qa.replaceSelection(`${on.name}`):We.includes(Ma)?Qa.replaceSelection(`${on.name}`):Qa.replaceSelection(`[${on.name}](/api/attachments/${Fa.id}?type=${Fa.content_type})`):(Fa==null?void 0:Fa.status)===401&&(Ft.ZP.warning((Fa==null?void 0:Fa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Sa){Ft.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qa=Be().fromTextArea(eo.current,{mode:_n,lineNumbers:!Wn,lineWrapping:!0,value:vt,autoCloseTags:!Nr,autoCloseBrackets:!0});return Qa.on("keyup",function(Ga,Ya){Ya.keyCode===8&&(Ga.getValue()==""?Qa.setOption("placeholder",Un):Qa.setOption("placeholder",null))}),Qa.on("keydown",function(Ga,Ya){if(Ya.keyCode===8){var so=Hr(Ga);so&&Ya.preventDefault()}}),An&&Qa.focus(),Qa.on("paste",kr),Qa.on("dragleave",function(Ga,Ya){Qo.current.classList.remove("mouse-hover-md")}),la&&Qa.on("beforeChange",function(Ga,Ya){(Ya.origin==="paste"||Ya.origin==="+input")&&Ya.cancel()}),dr(Qa),()=>{Qa.off("paste",kr)}}},[]);const ri=(0,b.useCallback)(()=>{if(Qo.current)try{}catch(kr){console.log(kr,"---- to set md editor body height")}},[Er,Qo,za]);(0,b.useEffect)(()=>{function kr(){let Qa=new Ne.Z(Ga=>{for(let Ya of Ga)(Ya.target.offsetHeight>0||Ya.target.offsetWidth>0)&&(ri(),En.setSize("100%","100%"),En.refresh())});return Qa.observe(eo.current.parentElement),Qa}if(En){const Qa=kr();return()=>{var Ga,Ya;(Ga=eo.current)!=null&&Ga.parentElement&&Qa.unobserve((Ya=eo.current)==null?void 0:Ya.parentElement)}}},[En,ri]),(0,b.useEffect)(()=>{if(En){let kr=[];for(const[Qa,Ga]of Object.entries(Gt)){let Ya={[Qa]:()=>{ko(Ga)}};kr.push(Ya),En.addKeyMap(Ya)}return yo.current=setInterval(()=>{ho.current&&br()},4e3),()=>{clearInterval(yo.current);for(let Qa of kr)En.removeKeyMap(Qa)}}},[En]),(0,b.useEffect)(()=>{Sr!==za&&Ua(Sr)},[Sr]),(0,Na.Z)(()=>{if(!Dn&&no>0){let kr=new Date().getTime(),Qa=window.sessionStorage.getItem(Ea);kr>=no+yr&&(!Qa||Qa!==xr)&&(window.sessionStorage.setItem(Ea,xr),ai(!0))}},yr),(0,b.useEffect)(()=>{ha(ka)},[En,ka]),(0,b.useEffect)(()=>{En&&An&&En.focus()},[En,An]),(0,b.useEffect)(()=>{if(Ir&&En){let kr=function(Ga){let Ya=Ga.target;if(Oo.current){let so=Ya.scrollTop/Ya.scrollHeight;Oo.current.scrollTop=Oo.current.scrollHeight*so}};const Qa=En.getScrollerElement();return Qa.addEventListener("scroll",kr),()=>{Qa.removeEventListener("scroll",kr)}}},[En,Ir]),(0,b.useEffect)(()=>{if(En&&bn){let kr=function(Qa,Ga){bn(Qa,Ga)};return En.on("beforeChange",kr),()=>{En.off("beforeChange",kr)}}},[En,bn]),(0,b.useEffect)(()=>{if(En&&Ue){let kr=function(){Ue(En.getValue())};return En.on("blur",kr),()=>{En.off("blur",kr)}}},[En,Ue]);function Hr(kr,Qa){var Ga=kr.getDoc(),Ya=Ga.getCursor(),so=Ga.getLine(Ya.line),we=so.charAt(Ya.ch-1),fn=so.lastIndexOf("@\u2581@",Ya.ch),Mn=so.lastIndexOf("@\u2581\u2581@",Ya.ch),Sa=fn>Mn?fn:Mn,on=fn>Mn?3:4;if(On.indexOf(we)===-1)return null;if(console.log("change1:",Qa,kr,so,Ya,Sa,fn,Mn,we),Sa>=0&&Ya.ch-Sa<5){var Ma=Sa+on;return Ga.replaceRange("",{line:Ya.line,ch:Sa},{line:Ya.line,ch:Ma}),{line:Ya.line,ch:Ma}}return null}(0,b.useEffect)(()=>{if(En){let kr=function(Qa,Ga){const Ya=Qa.getValue();Wr(Ya),Fr(new Date().getTime()),Qa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bt&&(Nr?Bt(Ya,Fi(Ya)):Bt(Ya))};return En.on("change",kr),()=>{En.off("change",kr)}}},[En,Bt]),(0,b.useEffect)(()=>{if(En)if(vt==null)En.setValue(""),Wr("");else{const kr=window.scrollY||window.pageYOffset;vt!==En.getValue()&&(En.setValue(vt),Wr(vt),En.setCursor(la?1:En.lineCount(),0),window.scrollTo(0,kr))}},[En,vt]);const ko=(0,b.useCallback)(kr=>{const Qa=En.getCursor(),Ga=En.getSelection();let Ya=Ga.split(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,We=["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(vt){return/^\d+$/.test(vt)?`${vt}px`:vt}const Vt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Wt={[Vt+"-B"]:"bold",[Vt+"-I"]:"italic"},Rn={[zt]:"\u6DFB\u52A0\u94FE\u63A5",[Ln]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[wt]:"\u6DFB\u52A0\u56FE\u7247",[sn]:"\u6DFB\u52A0\u753B\u56FE",[kt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var wn=({defaultValue:vt="",onChange:Bt,width:pt="100%",height:Sn=400,miniToolbar:Wn=!1,isFocus:An=!1,watch:ka,insertTemp:pa,mode:_n="markdown",id:Ea="markdown-editor-id",showResizeBar:Pa=!1,noStorage:Dn=!1,showNullButton:lr=!1,showNullProgramButton:Nr=!1,hidetoolBar:Ur=!1,fullScreen:Sr=!1,onBlur:Ue,onCMBeforeChange:bn,onFullScreen:Xt,className:Nn="",disablePaste:Kn=!1,disabled:la=!1,disabledFill:Qn=!1,placeholder:Un="",values:ur="",extraUse:da})=>{const[En,dr]=(0,b.useState)(null),[xr,Wr]=(0,b.useState)(vt),[Ir,ha]=(0,b.useState)(ka),[za,Ua]=(0,b.useState)(Sr),[La,Or]=(0,b.useState)(""),[no,Fr]=(0,b.useState)(0),[Er,Pr]=(0,b.useState)(Sn),[si,ai]=(0,b.useState)(!1),xi=(0,b.useRef)((0,Te.Z)()),ho=(0,b.useRef)(!1),yo=(0,b.useRef)(),[Go,Mo]=(0,b.useState)(0),[Ao,gr]=(0,b.useState)(0),eo=(0,b.useRef)(),Qo=(0,b.useRef)(),Yo=(0,b.useRef)(),Oo=(0,b.useRef)(),br=()=>ar(void 0,null,function*(){var kr;const Qa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:xi.current}});(kr=Qa==null?void 0:Qa.attachments)!=null&&kr.length&&(console.log("cm:",En,eo),Qa.attachments.map(Ga=>{Ga.content_type.indexOf("image")>-1?En.replaceSelection(`![,](/api/attachments/${Ga.id}?type=${Ga.content_type})`):Ga.content_type.indexOf("video")>-1?En.replaceSelection(``):Ga.content_type.indexOf("pdf")>-1?En.replaceSelection(`${Ga.name}`):En.replaceSelection(`[${Ga.name}](${ENV.API_SERVER}/api/attachments/${Ga.id}?type=${Ga.content_type})`)}))});(0,b.useEffect)(()=>{const kr=window.scrollY||window.pageYOffset;Wr(ur),En==null||En.setValue(ur),window.scrollTo(0,kr)},[ur]),(0,b.useEffect)(()=>{Xt==null||Xt(za)},[za]),(0,b.useEffect)(()=>{if(eo.current){let kr=function(Ga,Ya){var so;if(Kn){Ya.preventDefault();return}const we=Ya.clipboardData;if(we){const fn=we.types.toString(),Mn=we.items;if(fn==="Files"||we.types.indexOf("Files")>-1){if(Ya.preventDefault(),_n=="stex")return;try{let Sa=Mn[1];((so=Mn[0])==null?void 0:so.kind)==="file"&&(Sa=Mn[0]);const on=Sa.getAsFile(),Ma=on.name.split(".").pop();(0,$e.I)(on,Fa=>{var jn,Xn,sr;Fa.id?((jn=on==null?void 0:on.type)==null?void 0:jn.indexOf("image"))>-1?Qa.replaceSelection(``):((Xn=on==null?void 0:on.type)==null?void 0:Xn.indexOf("video"))>-1?Qa.replaceSelection(``):((sr=on==null?void 0:on.type)==null?void 0:sr.indexOf("pdf"))>-1?Qa.replaceSelection(`${on.name}`):We.includes(Ma)?Qa.replaceSelection(`${on.name}`):Qa.replaceSelection(`[${on.name}](/api/attachments/${Fa.id}?type=${Fa.content_type})`):(Fa==null?void 0:Fa.status)===401&&(Ft.ZP.warning((Fa==null?void 0:Fa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Sa){Ft.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Qa=Be().fromTextArea(eo.current,{mode:_n,lineNumbers:!Wn,lineWrapping:!0,value:vt,autoCloseTags:!Nr,autoCloseBrackets:!0});return Qa.on("keyup",function(Ga,Ya){Ya.keyCode===8&&(Ga.getValue()==""?Qa.setOption("placeholder",Un):Qa.setOption("placeholder",null))}),Qa.on("keydown",function(Ga,Ya){if(Ya.keyCode===8){var so=Hr(Ga);so&&Ya.preventDefault()}}),An&&Qa.focus(),Qa.on("paste",kr),Qa.on("dragleave",function(Ga,Ya){Qo.current.classList.remove("mouse-hover-md")}),la&&Qa.on("beforeChange",function(Ga,Ya){(Ya.origin==="paste"||Ya.origin==="+input")&&Ya.cancel()}),dr(Qa),()=>{Qa.off("paste",kr)}}},[]);const ri=(0,b.useCallback)(()=>{if(Qo.current)try{}catch(kr){console.log(kr,"---- to set md editor body height")}},[Er,Qo,za]);(0,b.useEffect)(()=>{function kr(){let Qa=new Ne.Z(Ga=>{for(let Ya of Ga)(Ya.target.offsetHeight>0||Ya.target.offsetWidth>0)&&(ri(),En.setSize("100%","100%"),En.refresh())});return Qa.observe(eo.current.parentElement),Qa}if(En){const Qa=kr();return()=>{var Ga,Ya;(Ga=eo.current)!=null&&Ga.parentElement&&Qa.unobserve((Ya=eo.current)==null?void 0:Ya.parentElement)}}},[En,ri]),(0,b.useEffect)(()=>{if(En){let kr=[];for(const[Qa,Ga]of Object.entries(Wt)){let Ya={[Qa]:()=>{ko(Ga)}};kr.push(Ya),En.addKeyMap(Ya)}return yo.current=setInterval(()=>{ho.current&&br()},4e3),()=>{clearInterval(yo.current);for(let Qa of kr)En.removeKeyMap(Qa)}}},[En]),(0,b.useEffect)(()=>{Sr!==za&&Ua(Sr)},[Sr]),(0,Na.Z)(()=>{if(!Dn&&no>0){let kr=new Date().getTime(),Qa=window.sessionStorage.getItem(Ea);kr>=no+yr&&(!Qa||Qa!==xr)&&(window.sessionStorage.setItem(Ea,xr),ai(!0))}},yr),(0,b.useEffect)(()=>{ha(ka)},[En,ka]),(0,b.useEffect)(()=>{En&&An&&En.focus()},[En,An]),(0,b.useEffect)(()=>{if(Ir&&En){let kr=function(Ga){let Ya=Ga.target;if(Oo.current){let so=Ya.scrollTop/Ya.scrollHeight;Oo.current.scrollTop=Oo.current.scrollHeight*so}};const Qa=En.getScrollerElement();return Qa.addEventListener("scroll",kr),()=>{Qa.removeEventListener("scroll",kr)}}},[En,Ir]),(0,b.useEffect)(()=>{if(En&&bn){let kr=function(Qa,Ga){bn(Qa,Ga)};return En.on("beforeChange",kr),()=>{En.off("beforeChange",kr)}}},[En,bn]),(0,b.useEffect)(()=>{if(En&&Ue){let kr=function(){Ue(En.getValue())};return En.on("blur",kr),()=>{En.off("blur",kr)}}},[En,Ue]);function Hr(kr,Qa){var Ga=kr.getDoc(),Ya=Ga.getCursor(),so=Ga.getLine(Ya.line),we=so.charAt(Ya.ch-1),fn=so.lastIndexOf("@\u2581@",Ya.ch),Mn=so.lastIndexOf("@\u2581\u2581@",Ya.ch),Sa=fn>Mn?fn:Mn,on=fn>Mn?3:4;if(On.indexOf(we)===-1)return null;if(console.log("change1:",Qa,kr,so,Ya,Sa,fn,Mn,we),Sa>=0&&Ya.ch-Sa<5){var Ma=Sa+on;return Ga.replaceRange("",{line:Ya.line,ch:Sa},{line:Ya.line,ch:Ma}),{line:Ya.line,ch:Ma}}return null}(0,b.useEffect)(()=>{if(En){let kr=function(Qa,Ga){const Ya=Qa.getValue();Wr(Ya),Fr(new Date().getTime()),Qa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Bt&&(Nr?Bt(Ya,Fi(Ya)):Bt(Ya))};return En.on("change",kr),()=>{En.off("change",kr)}}},[En,Bt]),(0,b.useEffect)(()=>{if(En)if(vt==null)En.setValue(""),Wr("");else{const kr=window.scrollY||window.pageYOffset;vt!==En.getValue()&&(En.setValue(vt),Wr(vt),En.setCursor(la?1:En.lineCount(),0),window.scrollTo(0,kr))}},[En,vt]);const ko=(0,b.useCallback)(kr=>{const Qa=En.getCursor(),Ga=En.getSelection();let Ya=Ga.split(` `);switch(kr){case"bold":return En.replaceSelection("**"+Ga+"**"),Ga===""&&En.setCursor(Qa.line,Qa.ch+2),En.focus();case"italic":return En.replaceSelection("*"+Ga+"*"),Ga===""&&En.setCursor(Qa.line,Qa.ch+1),En.focus();case"code":return En.replaceSelection("`"+Ga+"`"),Ga===""&&En.setCursor(Qa.line,Qa.ch+1),En.focus();case"inline-latex":return Or("inline-latex"),En.focus();case"latex":return En.replaceSelection("```latex\n"+Ga+"\n```"),En.setCursor(Qa.line+1,Ga.length+1),En.focus();case"line-break":return En.replaceSelection(`
`),En.focus();case"list-ul":return Ga===""?En.replaceSelection("- "+Ga):En.replaceSelection(Ya.map(so=>so===""?"":`- ${so}`).join(` `)),En.focus();case"list-ol":return Ga===""?En.replaceSelection("1. "+Ga):En.replaceSelection(Ya.map((so,we)=>so===""?"":`${we+1}. ${so}`).join(` @@ -112,25 +112,25 @@ `;for(let al=0;al<$o;al++){let Zl=[],Al=[];for(let So=0;So{switch(La){case zt:return b.createElement(an,{callback:mo,onCancel:vi});case Ln:return b.createElement(hn.Z,{callback:mo,onCancel:vi});case wt:return b.createElement($e.Z,{callback:mo,onCancel:vi});case kt:return b.createElement(Rt,{callback:mo,onCancel:vi});case Jn:return b.createElement(Me,{callback:mo,onCancel:vi});case"maths-latex":return b.createElement(un,{showSaveButton:!0,callback:mo});case"inline-latex":return b.createElement(yn.Z,{showSaveButton:!0,callback:mo});default:return null}},[La]);function vi(){Or("")}(0,b.useEffect)(()=>{if(Yo.current){let kr=function(fn){so=!0,we=fn.pageY},Qa=function(){so=!1},Ga=function(fn){if(so){let Mn=fn.pageY-we;Mn<0&&(Mn=0),Mn>300&&(Mn=300);let Sa=Sn+Mn+"px";Pr(Sa)}},Ya=Yo.current,so=!1,we=0;return Ya.addEventListener("mousedown",kr),document.addEventListener("mousemove",Ga),document.addEventListener("mouseup",Qa),()=>{Ya.removeEventListener("mousedown",kr),document.removeEventListener("mousemove",Ga),document.removeEventListener("mouseup",Qa)}}},[En,Yo]),(0,b.useEffect)(()=>{Pr(Sn)},[Sn]);const Ui=It(pt),tl=It(Er),nl={width:Ui,height:tl},Vo=(0,b.useMemo)(()=>{if(no){let kr=new Date(no),Qa=kr.getHours(),Ga=kr.getMinutes(),Ya=kr.getSeconds();return Qa=Qa<10?"0"+Qa:Qa,Ga=Ga<10?"0"+Ga:Ga,Ya=Ya<10?"0"+Ya:Ya,`${Qa}:${Ga}:${Ya}`}return 0},[no]),Fi=kr=>{const Qa=[];if(Nr){let Ga=-1;kr=kr.replace(/(@▁▁@|@▁@)/g,function(Ya,so,we){Qa.push({multiLine:Ya!==ia})})}return Qa};function Wi(){window.sessionStorage.removeItem(Ea),ai(!1),Fr(0)}function dl(){ai(!1),Fr(0),En.setValue(window.sessionStorage.getItem(Ea))}(0,b.useEffect)(()=>{Rn[La]&&La!==sn&&La!==kt&&setTimeout(()=>{const kr=document.getElementsByClassName("markdown-popup-form")[0],Qa=window.innerWidth/2-kr.offsetWidth/2,Ga=window.innerHeight/2-kr.offsetHeight/2;Mo(Qa),gr(Ga)},0)},[La]);const gl=kr=>{kr.preventDefault();const Qa=kr.clientX-jo,Ga=kr.clientY-Ao;document.body.onmousemove=Ya=>{let so=Ya.clientX-Qa,we=Ya.clientY-Ga;const fn=document.getElementsByClassName("markdown-popup-form")[0],Mn=window.innerWidth-fn.offsetWidth,Sa=window.innerHeight-fn.offsetHeight;so=Math.max(0,Math.min(so,Mn)),we=Math.max(0,Math.min(we,Sa)),Pl(Ya.clientX,Ya.clientY,Qa,Ga)&&(Mo(so),gr(we))},document.body.onmouseup=function(){document.body.onmousemove=null}},Pl=(kr,Qa,Ga,Ya)=>{const so=document.body.clientHeight,we=document.body.clientWidth;return kr<20&&Ga>kr||kr>we-20&&GaQa||Qa>so-20&&YaHe in Ae?Je(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,z=(Ae,He)=>{for(var he in He||(He={}))a.call(He,he)&&y(Ae,he,He[he]);if(E)for(var he of E(He))x.call(He,he)&&y(Ae,he,He[he]);return Ae},ne=(Ae,He)=>Ye(Ae,se(He));const{useForm:re}=b.default,ue={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:Ae,onCancel:He})=>{const[he]=re();let qe=(0,et.useRef)();function Ke(ot){qe.current.width=he.getFieldValue("width"),qe.current.align=he.getFieldValue("align"),Ae(ot,qe.current)}function ht(ot,lt){if(ot.status===-1){de.ZP.error(ot.message);return}he.setFieldsValue({src:`/api/attachments/${ot.id}`,type:lt.type})}function Le(ot){let lt=ot.target.files[0];qe.current=lt,je(lt,ht)}return Ge.createElement(b.default,ne(z({form:he},ie),{className:"upload-image-panel",onFinish:Ke,style:{width:470,overflow:"hidden"}}),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ge.createElement("div",{className:"flex-container"},Ge.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ge.createElement(Be.default,{style:ue})),Ge.createElement(be,{onFileChange:Le}))),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ge.createElement(Be.default,{style:{width:264}})),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ge.createElement(Ne.Z,null,Ge.createElement(b.default.Item,{name:"width",style:{margin:0}},Ge.createElement(Ze.Z,{style:{width:264}})),Ge.createElement("span",{className:"ml8"},"%"))),Ge.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ge.createElement(ke.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ge.createElement("aside",null,Ge.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ge.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ge.createElement(le.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function be({onFileChange:Ae}){return Ge.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ge.createElement("input",{type:"file",onChange:Ae}))}function je(Ae,He){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let he=new FormData;he.append("editormd-image-file",Ae),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var qe=new window.XMLHttpRequest;qe.withCredentials=!0,qe.addEventListener("load",function(Ke){He(JSON.parse(Ke.target.responseText),Ae)},!1),qe.addEventListener("error",function(Ke){console.error(Ke)},!1),qe.open("POST",`${st.KI}/api/attachments.json`),qe.send(he)}},79346:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Be}});var b=ee(59301),de=ee(4676);class Be extends b.Component{constructor(Ze){super(Ze);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:Ze}=this.props;return(0,de.createPortal)(Ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(Qt,jt,ee){"use strict";ee.d(jt,{i:function(){return ue},Z:function(){return ve}});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"},de=ee(71418),Be=ee(6848),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(955),le=ee(8797),st=ee(24065),et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57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VMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=ee(59301);const ue=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:et,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ge,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ye,swimg:se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var ve=({className:be,dataSource:je=[],col:Ae=4,right:He,bottom:he=23,precision:qe=0,wrapWidth:Ke=1200,trackEventItems:ht,loading:Le,onRemove:ot=()=>{},isCurrent:lt=!0,showAlias:gt=!1})=>{const ft=Math.floor((Ke-(Ae-1)*He)/Ae),ln=[{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"}].map(xt=>(window.ENV==="build"&&(xt.ptimg=`/react/build${xt.ptimg}`,xt.swimg=`/react/build${xt.swimg}`),xt));return re.createElement(de.Z,{spinning:Le},re.createElement("div",{className:Ze()(b.list,be)},!!(je!=null&&je.length)&&(je==null?void 0:je.map((xt,an)=>{var hn;const{name:$e,id:dt,identifier:rn,featured:Vn,school_name:Zt,image_url:Fn,excellent:ze,is_plan:ct}=xt;return re.createElement("div",{key:dt,className:b.wrap,style:{width:ft,marginRight:(1+an)%Ae===0?0:He+qe,marginBottom:he}},re.createElement("a",{className:b.li,onClick:Lt=>{Lt.preventDefault(),Lt.stopPropagation(),ht&&(0,ke.L9)([ht]),(0,ke.xg)(`/paths/${rn}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${Fn}`}),lt&&(0,st.bg)()&&(xt==null?void 0:xt.studying)&&re.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Lt=>{Lt.stopPropagation(),ot(xt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(hn=xt==null?void 0:xt.subject_tags)==null?void 0:hn.map((Lt,mt)=>{var Nt,ut;if(mt===0){const De=(Nt=ln.find(fe=>fe.name==Lt))==null?void 0:Nt.swimg;return re.createElement("img",{className:b.sign,src:De,style:{left:"-4px"}})}const at=(ut=ln.find(De=>De.name==Lt))==null?void 0:ut.ptimg;return re.createElement("img",{className:b.sign,src:at,style:{left:`${48+52*(mt-1)+2*mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(xt==null?void 0:xt.excellent)&&re.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:b.name},re.createElement(Be.Z,{title:gt&&(xt!=null&&xt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${$e}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xt==null?void 0:xt.excellent_alias_name}`)):$e},re.createElement("span",{className:b.e},gt&&(xt==null?void 0:xt.excellent_alias_name)||$e))),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,xt.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,xt.members_count)))))))})),!je.length&&re.createElement(le.Z,null)))}},29458:function(Qt,jt,ee){"use strict";ee.d(jt,{jL:function(){return Ze},w9:function(){return xt},QD:function(){return yn},cQ:function(){return ot.Z},op:function(){return Me},O5:function(){return xa},_b:function(){return sn},t7:function(){return y},Gi:function(){return Vn},YG:function(){return dt},qp:function(){return Ge},vr:function(){return zt},qE:function(){return nn},Je:function(){return re},wb:function(){return Le},cq:function(){return mt},tp:function(){return se}});var b=ee(59301),de={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,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAX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+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ze=({dataSource:We=[],img:It,imgWidth:_t=346,title:Vt,sunTitle:Gt,bannerExtraContent:Rn})=>b.createElement("div",{className:de.banner},b.createElement("div",{className:de.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Vt),b.createElement("span",null,Gt)),We.length>0&&b.createElement("div",{className:de.btns},We.map((wn,vt)=>b.createElement("div",{key:vt,onClick:wn.click},wn.name,wn.sign?b.createElement("img",{src:Be,width:39}):null))),Rn),It&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:It,width:_t}))),ke={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=ee(92310),st=ee.n(le),et=ee(89392),Ge=({dataSource:We=[],value:It,onChange:_t,onTitleChange:Vt,className:Gt,title:Rn,titleWidth:wn=41,style:vt={},fontColor:Bt="#6A7283",showCount:pt})=>{const[Sn,Wn]=(0,b.useState)(0),[An,ka]=(0,b.useState)(!1),pa=(0,b.useRef)(null),_n=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ea;We.length!==0&&(((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>97?Wn(1):Wn(0)),We.length===0&&Wn(0),ka(!1)},[We]),b.createElement("div",{className:st()(ke.row,Gt),style:vt},b.createElement("div",{onClick:(0,et.throttle)(()=>Vt==null?void 0:Vt(),2e3),style:{width:wn,marginTop:An?12:4},className:`${ke.title} ${Vt?"current":""}`},Rn),b.createElement("div",{className:An?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},b.createElement("div",{className:ke.bar,ref:_n,style:Sn>0?{height:Sn===1?97:"auto",overflow:Sn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ke.tag,ref:pa},We==null?void 0:We.map(Ea=>b.createElement("span",{onClick:()=>_t(Ea.id),key:Ea.id,style:{color:Bt},className:It===Ea.id?ke.active:""},b.createElement("span",{title:Ea.name,className:ke.name},Ea.name),!!pt&&b.createElement("span",{className:ke.num},Ea.count))))),!!Sn&&b.createElement(b.Fragment,null,Sn===1?b.createElement("div",{onClick:()=>{var Ea;Wn(2),((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>245?ka(!0):ka(!1)},className:ke.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{_n.current.scrollTop=0,Wn(1),ka(!1)},className:ke.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Je={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:We=[],value:It,onChange:_t,className:Vt,style:Gt={}})=>b.createElement("div",{style:Gt,className:st()(Je.tabs,Vt)},We.map(Rn=>b.createElement("span",{onClick:()=>_t(Rn.id),className:It===Rn.id?Je.active:"",key:Rn.id},Rn.name))),E={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=ee(92832),y=({dataSource:We=[],value:It="",onChange:_t,onInputChange:Vt=()=>{},className:Gt,style:Rn={},placeholder:wn,allowClear:vt=!1})=>{var Bt;const[pt,Sn]=(0,b.useState)(""),[Wn,An]=(0,b.useState)("");(0,b.useEffect)(()=>{var _n;let Ea=It;(_n=JSON.stringify(It))!=null&&_n.includes("{")&&(Sn(It.id),Ea=It.value||"");try{An(decodeURIComponent(Ea||""))}catch(Pa){An(decodeURIComponent(Ea||""))}},[It]);const ka=()=>{_t(encodeURIComponent(Wn),pt||null)},pa=_n=>{_n!==pt&&(Sn(_n),_t(encodeURIComponent(Wn),_n))};return b.createElement("div",{className:st()(E.input,Gt),style:Rn},!!We.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Bt=We.find(_n=>_n.id===pt))==null?void 0:Bt.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},We.map((_n,Ea)=>b.createElement("div",{key:Ea,onClick:()=>pa(_n.id)},_n.name)))),b.createElement(a.default,{onPressEnter:ka,value:Wn,onChange:_n=>{An(_n.target.value),Vt(encodeURIComponent(_n.target.value),pt||null)},bordered:!1,placeholder:wn}),b.createElement("i",{onClick:ka,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:We,onChange:It,className:_t,total:Vt,pageSize:Gt,style:Rn={}})=>{const wn=We<2,vt=We>=Math.ceil(Vt/Gt);return Vt<=Gt?b.createElement(b.Fragment,null):b.createElement("div",{className:st()(z.quickPager,_t),style:Rn},b.createElement("div",{onClick:()=>{wn||It(We-1,"prev")},className:wn?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{vt||It(We+1,"next")},className:vt?z.disabled:""},"\u4E0B\u4E00\u9875"))},ue={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"},ie=ee(71418),ve=ee(6848),be=ee(13570),je=ee(3294),Ae=ee(955),He=ee(96908),he=ee(57177),qe=ee(81378),Ke=ee(8797),Le=({className:We,dataSource:It=[],col:_t=4,right:Vt,bottom:Gt=23,precision:Rn=0,wrapWidth:wn=1200,trackEventItems:vt,loading:Bt})=>{const pt=Math.floor((wn-(_t-1)*Vt)/_t);return b.createElement(ie.Z,{spinning:Bt},b.createElement("div",{className:st()(ue.list,We)},!!It.length&&It.map((Sn,Wn)=>{const{name:An,id:ka,identifier:pa,power:_n,cover_image_id:Ea,pic:Pa}=Sn;return b.createElement("div",{className:ue.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Gt}},b.createElement("a",{target:"_blank",href:`/shixuns/${pa}/challenges`,className:ue.li,onClick:Dn=>{Dn.preventDefault(),vt&&(0,Ae.L9)([vt]),_n&&(0,Ae.xg)(`/shixuns/${pa}/challenges`)}},b.createElement("div",{className:ue.img},b.createElement("img",{className:ue.cover,src:`${Pa}`}),Sn.is_jupyter&&b.createElement("img",{className:ue.sign,src:He}),Sn.is_jupyter_lab&&b.createElement("img",{className:ue.sign,src:he}),Sn.is_unity_3d&&b.createElement("img",{className:ue.sign,src:qe})),b.createElement("div",{className:ue.name},b.createElement(ve.Z,{title:An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ue.e},An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ue.tags},b.createElement(ve.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Sn.challenges_count))),!!Sn.myshixuns_count&&b.createElement(ve.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,Sn.myshixuns_count))),b.createElement(ve.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Sn.level))),b.createElement("div",{className:ue.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Sn.score_info}),b.createElement("span",null,"\xA0",Sn.score_info?`${Sn.score_info}\u5206`:"5\u5206")))),!_n&&b.createElement("div",{className:ue.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(Ke.Z,null)))},ot=ee(33847),lt={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"},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBN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,dataSource:It=[],col:_t=4,right:Vt,bottom:Gt=23,precision:Rn=0,wrapWidth:wn=1200,trackEventItems:vt,loading:Bt})=>{const pt=Math.floor((wn-(_t-1)*Vt)/_t);return ft.createElement(ie.Z,{spinning:Bt},ft.createElement("div",{className:st()(lt.list,We)},!!It.length&&It.map((Sn,Wn)=>{const{subject_identifier:An,id:ka,identifier:pa,power:_n}=Sn,Ea=Sn.is_public!=0&&Sn.is_public;return ft.createElement("div",{className:lt.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Gt}},ft.createElement("a",{className:lt.li,onClick:Pa=>{Pa.preventDefault(),vt&&(0,Ae.L9)([vt]),(0,Ae.xg)(Sn.first_category_url)}},ft.createElement("div",{className:lt.top},ft.createElement(ve.Z,{title:Sn.name},ft.createElement("div",{className:lt.name},Sn.name)),ft.createElement("img",{className:lt.img,src:je.Z.IMG_SERVER+"/images/"+Sn.avatar_url}),ft.createElement("div",{className:lt.text,title:Sn.creator},Sn.creator),An&&ft.createElement("div",{className:lt.btns},ft.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ft.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ea&&ft.createElement("div",{className:lt.sign},"\u516C\u5F00")),ft.createElement("div",{className:lt.bottom},Sn.visits>0&&ft.createElement(ve.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-liulanyan"}),ft.createElement("span",null,Sn.visits))),Sn.course_members_count>0&&ft.createElement(ve.Z,{title:"\u6210\u5458",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-chengyuan"}),Sn.course_members_count)),Sn.tasks_count>0&&ft.createElement(ve.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-zuoye"}),Sn.tasks_count)),Sn.is_end?ft.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ft.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Sn.is_accessible&&ft.createElement("div",{className:lt.lockWrap},ft.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ft.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!It.length&&ft.createElement(Ke.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"},hn=ee(89070),dt=({dataSource:We=[],value:It,onChange:_t,className:Vt,style:Gt={},tabBarExtraContent:Rn})=>b.createElement("div",{className:st()(an.tabs,Vt),style:Gt},b.createElement("div",{className:an.tabsWrap},We.map((wn,vt)=>b.createElement("aside",{className:an.tab,onClick:()=>{_t(wn.id),wn.link&&hn.history.push(wn.link)},key:vt},b.createElement("div",{className:It===wn.id?an.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&b.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&b.createElement(ve.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",b.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),b.createElement("div",{className:an.tabBar},Rn)),Vn=({className:We,style:It={},children:_t})=>b.createElement("div",{className:st()(We),style:It},_t),Zt={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"},Fn=ee(38854),ze=ee(20834);const ct=[{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:We,dropValue:It,className:_t,onSort:Vt,onDrop:Gt,dataSource:Rn=ct})=>{var wn;return b.createElement("div",{className:st()(Zt.orderWrap,_t)},b.createElement(Fn.Z,{dropdownRender:()=>b.createElement(ze.default,null,Rn.map((vt,Bt)=>b.createElement(ze.default.Item,{key:Bt,onClick:()=>Gt(vt.id)},vt.name)))},b.createElement("span",{className:Zt.orderTextWrap},(wn=Rn.find(vt=>It===vt.id))==null?void 0:wn.name)),b.createElement("span",{className:Zt.orderIconWrap},b.createElement("span",{className:Zt.orderAsc},b.createElement("i",{className:We==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Vt(We==="asc"?"desc":"asc")})),b.createElement("span",{className:Zt.orderDesc},b.createElement("i",{className:We==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Vt(We==="asc"?"desc":"asc")}))))},Nt={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"},ut=ee(3113),at=Object.defineProperty,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Rt=(We,It,_t)=>It in We?at(We,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):We[It]=_t,Oe=(We,It)=>{for(var _t in It||(It={}))fe.call(It,_t)&&Rt(We,_t,It[_t]);if(De)for(var _t of De(It))Xe.call(It,_t)&&Rt(We,_t,It[_t]);return We},Ie=(We,It)=>{var _t={};for(var Vt in We)fe.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&De)for(var Vt of De(We))It.indexOf(Vt)<0&&Xe.call(We,Vt)&&(_t[Vt]=We[Vt]);return _t},St=(We,It,_t)=>new Promise((Vt,Gt)=>{var Rn=Bt=>{try{vt(_t.next(Bt))}catch(pt){Gt(pt)}},wn=Bt=>{try{vt(_t.throw(Bt))}catch(pt){Gt(pt)}},vt=Bt=>Bt.done?Vt(Bt.value):Promise.resolve(Bt.value).then(Rn,wn);vt((_t=_t.apply(We,It)).next())}),Me=We=>{var It=We,{className:_t,style:Vt,children:Gt,loading:Rn=!1,openLoading:wn,onClick:vt=()=>{},size:Bt="middle",shape:pt="round"}=It,Sn=Ie(It,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Wn,An]=(0,b.useState)(!1);return b.createElement(ut.ZP,Oe({onClick:(0,et.throttle)(ka=>St(void 0,null,function*(){wn&&An(!0);try{yield vt(ka)}catch(pa){console.log("error",pa)}wn&&An(!1)}),2e3,{leading:!0,trailing:!1}),className:st()(Nt.btn,Nt[`${Bt}-${pt}`],_t),style:Vt,size:Bt,shape:pt,loading:Wn||Rn},Sn),Gt)},yt={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"},nn=({className:We,style:It,children:_t=null,onClick:Vt,title:Gt})=>b.createElement("div",{className:st()(yt.head,We),style:It},b.createElement("span",{className:"primary-hover",onClick:Vt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Gt},Gt),b.createElement("div",{className:yt.node},_t)),dn={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"},yn=({confirmShow:We=!0,confirmTitle:It,confirmClick:_t,cancelShow:Vt=!0,cancelTitle:Gt,cancelClick:Rn,className:wn,style:vt,confirmLoading:Bt=!1})=>b.createElement("div",{className:st()(dn.btns,wn),style:vt},We&&b.createElement(ut.ZP,{loading:Bt,onClick:_t,type:"primary",className:dn.confirm},It),Vt&&b.createElement(ut.ZP,{onClick:Rn,className:dn.cancel},Gt)),Te={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"},zt=({className:We,style:It={},LeftContent:_t,children:Vt,RightContent:Gt})=>b.createElement("div",{className:st()(Te.fixedBottom,We),style:It},b.createElement("div",{className:Te.wrap},b.createElement("div",{className:Te.left},_t),b.createElement("div",{className:Te.center},Vt),b.createElement("div",{className:Te.right},Gt))),wt={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"},sn=({className:We,style:It={},dataSource:_t=[]})=>b.createElement("div",{className:st()(wt.crumbs,We),style:It},_t.map((Vt,Gt)=>Gt<_t.length-1?b.createElement(b.Fragment,{key:Gt},Vt.path||Vt.onClick?b.createElement("span",{className:wt.hover,onClick:Vt!=null&&Vt.onClick?Vt.onClick:()=>hn.history.push(Vt.path)},Vt.name):b.createElement("span",null,Vt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Gt,style:{color:"#5F6368"}},Vt.name))),cn=ee(31797),Ln=Object.defineProperty,Jn=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,$a=(We,It,_t)=>It in We?Ln(We,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):We[It]=_t,fa=(We,It)=>{for(var _t in It||(It={}))Na.call(It,_t)&&$a(We,_t,It[_t]);if(Da)for(var _t of Da(It))ar.call(It,_t)&&$a(We,_t,It[_t]);return We},yr=(We,It)=>Jn(We,va(It)),en=(We,It)=>{var _t={};for(var Vt in We)Na.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&Da)for(var Vt of Da(We))It.indexOf(Vt)<0&&ar.call(We,Vt)&&(_t[Vt]=We[Vt]);return _t};const{Countdown:On}=cn.default;var xa=We=>{var It=We,{onChange:_t}=It,Vt=en(It,["onChange"]);const[Gt,Rn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Gt=="number"&&Gt>=0&&_t(Gt)},[Gt]);const wn=vt=>{const Bt=Math.floor(vt/1e3);Rn(Bt)};return b.createElement(On,yr(fa({},Vt),{onChange:wn}))}},58856:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return de}});var b=ee(59301);function de(Be,Ne){const Ze=(0,b.useRef)();(0,b.useEffect)(()=>{Ze.current=Be}),(0,b.useEffect)(()=>{function ke(){Ze.current()}if(Ne!==null){let le=setInterval(ke,Ne);return()=>clearInterval(le)}},[Ne])}},96716:function(Qt,jt,ee){"use strict";ee.r(jt),ee.d(jt,{default:function(){return Zr}});var b=ee(59301),de=ee(89070),Be=ee(78241),Ne=ee(8591),Ze=ee(66104),ke=ee(92832),le=ee(19842),st=ee(24905),et=ee(5112),Ve=ee(5871),Ge=ee(3113),Je={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ye=ee(43418),se=ee(5083),E=ee(61186),a=ee.n(E),x=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const y=({user:ce,dispatch:pe,classroomList:Pe,onModalOk:Ot,setsubloading:tn})=>{const wa=(0,de.useParams)(),[ma,zn]=(0,b.useState)(),[Ht,Yn]=(0,b.useState)(!1);function xn(Ct){return Ct&&Ct{Yn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(Ht){Ne.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}tn(!1),pe({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),b.createElement("br",null),b.createElement(se.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:xn,format:"YYYY-MM-DD HH:mm:ss",onChange:(Ct,gn)=>{zn(gn)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(Ge.ZP,{loading:Ht,type:"primary",onClick:()=>x(void 0,null,function*(){Yn(!0),Ot(ma,()=>{pe({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,de.connect)(({user:ce,classroomList:pe})=>({user:ce,classroomList:pe}))(y),ne=ee(99064),re=ee(32134),ue=ee(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},ve=ee(57809),be=Object.defineProperty,je=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,he=(ce,pe,Pe)=>pe in ce?be(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,qe=(ce,pe)=>{for(var Pe in pe||(pe={}))Ae.call(pe,Pe)&&he(ce,Pe,pe[Pe]);if(je)for(var Pe of je(pe))He.call(pe,Pe)&&he(ce,Pe,pe[Pe]);return ce},Ke=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Le=({setitem:ce,item:pe,rz:Pe})=>{var Ot,tn,wa,ma,zn,Ht,Yn,xn;let[Ct,gn]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[In]=Be.default.useForm(),[ra,Hn]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!ra&&(Ct.zydatas=Pe,gn(qe({},Ct)),Hn(!0),pe!=null&&pe.ec_course_id&&ba())},[pe,Pe,ra]),console.log(Ct,"params");function ba(){return Ke(this,null,function*(){yield ta(pe==null?void 0:pe.ec_major_school_id),yield oa(pe==null?void 0:pe.ec_year_id),yield Ka(pe==null?void 0:pe.ec_course_id),In.setFieldsValue({ec_course_id:pe==null?void 0:pe.ec_course_id,ec_major_school_id:pe==null?void 0:pe.ec_major_school_id,ec_point_ids:pe==null?void 0:pe.ec_point_ids,ec_year_id:pe==null?void 0:pe.ec_year_id})})}function ta(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_major_schools/${Pn}/ec_years/get_year_list.json`,{method:"get"});Ct.jbdatas=ya==null?void 0:ya.data,gn(qe({},Ct)),In.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function oa(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_years/${Pn}/ec_courses/get_courses.json`,{method:"get"});Ct.kcdatas=ya==null?void 0:ya.data,gn(qe({},Ct)),In.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const Ka=Pn=>Ke(void 0,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_courses/${Pn}/ec_points.json`,{method:"get",params:{ec_course_id:Pn}});Ct.zsdatas=ya==null?void 0:ya.data,gn(qe({},Ct))});return b.createElement("div",{className:ie.from},b.createElement(Be.default,{form:In,layout:"inline",onValuesChange:Pn=>{console.log("----",Pn),Pn.ec_major_school_id&&(Ct.jbdatas=[],Ct.kcdatas=[],Ct.zsdatas=[],gn(qe({},Ct)),ta(Pn.ec_major_school_id)),Pn.ec_year_id&&(Ct.kcdatas=[],Ct.zsdatas=[],gn(qe({},Ct)),oa(Pn.ec_year_id)),Pn.ec_course_id&&(Ct.zsdatas=[],gn(qe({},Ct)),Ka(Pn.ec_course_id))},onFinish:Pn=>Ke(void 0,null,function*(){ce(Pn)})},b.createElement(Be.default.Item,{name:"ec_major_school_id"},b.createElement(ve.default,{style:{width:160},disabled:((Ot=Ct.zydatas)==null?void 0:Ot.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(tn=Ct==null?void 0:Ct.zydatas)==null?void 0:tn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_major_school_id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_year_id"},b.createElement(ve.default,{style:{width:160},disabled:((wa=Ct.jbdatas)==null?void 0:wa.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(ma=Ct==null?void 0:Ct.jbdatas)==null?void 0:ma.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_year_id},Pn==null?void 0:Pn.year)))),b.createElement(Be.default.Item,{name:"ec_course_id"},b.createElement(ve.default,{style:{width:208},disabled:((zn=Ct.kcdatas)==null?void 0:zn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(Ht=Ct==null?void 0:Ct.kcdatas)==null?void 0:Ht.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_point_ids"},b.createElement(ve.default,{onChange:()=>{In.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((Yn=Ct.zsdatas)==null?void 0:Yn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(xn=Ct==null?void 0:Ct.zsdatas)==null?void 0:xn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name))))))},ot=Object.defineProperty,lt=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,an=(ce,pe,Pe)=>pe in ce?ot(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,hn=(ce,pe)=>{for(var Pe in pe||(pe={}))ln.call(pe,Pe)&&an(ce,Pe,pe[Pe]);if(ft)for(var Pe of ft(pe))xt.call(pe,Pe)&&an(ce,Pe,pe[Pe]);return ce},$e=(ce,pe)=>lt(ce,gt(pe)),dt=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const rn=({user:ce,exercise_id:pe=null,homework_common_id:Pe=null,setitem:Ot})=>{var tn,wa,ma;let[zn,Ht]=(0,b.useState)([{id:Math.random()}]),[Yn,xn]=(0,b.useState)(null);function Ct(){return dt(this,null,function*(){var In,ra,Hn,ba;let ta=yield(0,ne.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:pe,homework_common_id:Pe}});if(((In=ta==null?void 0:ta.data)==null?void 0:In.length)>0){let oa=[];(ra=ta==null?void 0:ta.data)==null||ra.map(Ka=>{var Pn;(Pn=Ka==null?void 0:Ka.ec_point_ids)==null||Pn.map(ya=>{oa.push(ya)})}),Ot($e(hn({},(Hn=ta==null?void 0:ta.data)==null?void 0:Hn[0]),{ec_point_ids:oa})),Ht((ba=ta==null?void 0:ta.data)==null?void 0:ba.map(Ka=>$e(hn({},Ka),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var In,ra;(ra=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)!=null&&ra.course_school_id&&gn()},[(wa=(tn=ce==null?void 0:ce.userInfo)==null?void 0:tn.course)==null?void 0:wa.course_school_id]);function gn(){return dt(this,null,function*(){var In,ra;const Hn=yield(0,ne.ZP)(`/api/schools/${(ra=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)==null?void 0:ra.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});xn(Hn==null?void 0:Hn.data),(Pe||pe)&&Ct()})}return console.log(zn,Yn,"datas"),b.createElement("div",{style:{display:(ma=ce.userInfo.course)!=null&&ma.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},zn==null?void 0:zn.map((In,ra)=>b.createElement("div",{key:In.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(Le,{rz:Yn,item:In,setitem:Hn=>{Hn=hn(hn({},zn==null?void 0:zn[ra]),Hn),zn.splice(ra,1,Hn),Ht([...zn]);let ba=[];zn==null||zn.map(ta=>{var oa;(oa=ta==null?void 0:ta.ec_point_ids)==null||oa.map(Ka=>{ba.push(Ka)})}),Ot($e(hn({},Hn),{ec_point_ids:ba}))}}),b.createElement(re.Z,{className:ie.addIcon,onClick:()=>{zn.push({id:Math.random()}),Ht([...zn])}}),ra!=0&&b.createElement(ue.Z,{className:ie.deleteIcon,onClick:()=>{zn.splice(ra,1);let Hn=[];zn==null||zn.map(ba=>{var ta;(ta=ba==null?void 0:ba.ec_point_ids)==null||ta.map(oa=>{Hn.push(oa)})}),Ot($e(hn({},zn[ra-1]),{ec_point_ids:Hn})),Ht([...zn])}}))))))};var Vn=(0,de.connect)(({user:ce})=>({user:ce}))(rn),Zt=ee(20834),Fn=ee(71418),ze=ee(38854),ct=ee(6848),Lt=ee(43428),mt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Nt=ee(955),ut=ee(8797),at=ee(67248),De=ee(78113),fe=ee(85149),Xe=ee(59301),Rt=Object.defineProperty,Oe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,yt=(ce,pe,Pe)=>pe in ce?Rt(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Bn=(ce,pe)=>{for(var Pe in pe||(pe={}))nt.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);if(St)for(var Pe of St(pe))Me.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);return ce},nn=(ce,pe)=>Oe(ce,Ie(pe)),dn=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),yn=({Itemid:ce,setqitem:pe,qitem:Pe,data:Ot,getdata:tn,bigitem:wa,setBigqitem:ma,isedit:zn,handleEditing:Ht})=>{const[Yn,xn]=(0,b.useState)([]),[Ct,gn]=(0,b.useState)(!1),In=(Hn,ba,ta)=>{const oa=Array.from(Hn),[Ka]=oa.splice(ba,1);return oa.splice(ta,0,Ka),oa};(0,b.useEffect)(()=>{Ot.length>0&&xn([...Ot])},[Ot]);const ra=(Hn,ba)=>dn(void 0,null,function*(){if(!Hn.destination)return;if(zn){Ht();return}const ta=In(ba,Hn.source.index,Hn.destination.index);gn(!0);let oa=yield(0,ne.ZP)(`/api/exercises/${ce}/adjust_position.json`,{method:"post",body:{id:ce,question_ids:ta==null?void 0:ta.map(Ka=>Ka.question_id)}});gn(!1),oa.status===0&&tn({id:ba==null?void 0:ba[Hn.source.index].question_id})});return Xe.createElement("div",null,Xe.createElement(De.Z5,{onDragEnd:Hn=>ra(Hn,Yn)},Xe.createElement(De.bK,{droppableId:"droppable"},(Hn,ba)=>Xe.createElement("div",Bn({ref:Hn.innerRef},Hn.droppableProps),Xe.createElement(Fn.Z,{spinning:Ct},Yn.map((ta,oa)=>Xe.createElement(De._l,{key:oa,draggableId:oa.toString(),index:oa},(Ka,Pn)=>{var ya,ja;return Xe.createElement("aside",Bn(Bn({ref:Ka.innerRef},Ka.draggableProps),Ka.dragHandleProps),Xe.createElement(ct.Z,{title:Xe.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ya=ta==null?void 0:ta.program_attr)==null?void 0:ya.description:ta.question_title}),color:"#fff",placement:"left",overlayClassName:mt.titleTooltip},Xe.createElement("div",{onClick:()=>{if(zn){Ht();return}pe(nn(Bn({},ta),{index:oa+1})),ma(wa),(0,Nt.Vf)("#question-scroll-id")},className:`${mt.qcount} ${ta.question_id===(Pe==null?void 0:Pe.question_id)?mt.qcountclick:""}`},Xe.createElement("span",{className:mt.score},ta==null?void 0:ta.question_score,"\u5206"),Xe.createElement("span",{className:mt.qtitle},oa+1,"\u3001",Xe.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ja=ta==null?void 0:ta.program_attr)==null?void 0:ja.description:ta.question_title,showTextOnly:!0})))))}))),Hn.placeholder))))},Te=ee(95237),Ft=ee(65357),zt=ee(78673),wt=ee(61485),kt=ee(87198),sn=ee(59301),cn=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Jn=({form:ce,TagDiscipline:pe,exerciseitem:Pe,qitem:Ot,getTagData:tn})=>{var wa;const[ma,zn]=(0,b.useState)(!0),[Ht,Yn]=(0,b.useState)(!1),[xn,Ct]=(0,b.useState)(""),[gn,In]=(0,b.useState)([]),[ra,Hn]=(0,b.useState)([]),[ba,ta]=(0,b.useState)(0);(0,b.useEffect)(()=>{Ka()},[]);const oa=Pn=>cn(void 0,null,function*(){const ya=yield(0,ne.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Pn==null?void 0:Pn.sub_discipline_id}});Hn(ya==null?void 0:ya.tag_disciplines)}),Ka=()=>cn(void 0,null,function*(){const Pn=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});In(Pn.disciplines||[]),Ot!=null&&Ot.sub_discipline_id&&oa(Ot),ta(Ot!=null&&Ot.sub_discipline_id?1:0),ce.setFieldsValue({difficulty:Ot.difficulty||2,tag_discipline_ids:Ot.tag_discipline_ids,repeat_answer:!Ot.repeat_answer,sub_discipline_id:Ot!=null&&Ot.sub_discipline_id?[Ot==null?void 0:Ot.discipline_id,Ot==null?void 0:Ot.sub_discipline_id]:[]})});return sn.createElement("div",null,sn.createElement("div",{style:{marginTop:30,height:ma?"100%":"0px",overflow:"hidden"}},sn.createElement(Be.default.Item,{className:mt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},sn.createElement(et.ZP.Group,{className:mt.radiogroup},sn.createElement(et.ZP.Button,{className:mt.easy,value:1},"\u7B80\u5355"),sn.createElement(et.ZP.Button,{className:mt.medium,value:2},"\u9002\u4E2D"),sn.createElement(et.ZP.Button,{className:mt.hard,value:3},"\u56F0\u96BE"))),sn.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:mt.formcenterselect},sn.createElement(le.Z,{className:mt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:gn,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Pn,ya)=>{ce.setFieldsValue({sub_discipline_id:Pn,tag_discipline_ids:[]}),ta(Pn?Pn.length:0),(Pn==null?void 0:Pn.length)>0&&(oa({sub_discipline_id:Pn[1]}),Pn[1]==(Ot==null?void 0:Ot.sub_discipline_id)&&ce.setFieldValue("tag_discipline_ids",Ot.tag_discipline_ids))},onClear:()=>{Hn([]),ce.setFieldValue("tag_discipline_ids",[]),ta(0)}})),sn.createElement(Be.default.Item,{className:mt.formcenterselect},sn.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},sn.createElement(Be.default.Item,{name:"tag_discipline_ids"},sn.createElement(ve.default,{className:mt.selectitems,disabled:ba===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Pn,ya)=>ya.key.indexOf(Pn.toLowerCase())>=0},ra==null?void 0:ra.map(Pn=>sn.createElement(ve.default.Option,{key:Pn.name+Pn.id,value:Pn.id},sn.createElement("div",{style:{display:"flex",alignItems:"center"}},sn.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Pn.name),(Pn==null?void 0:Pn.type)==="personal"&&sn.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),ba>0&&sn.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},sn.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),sn.createElement("a",{onClick:()=>{Yn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),sn.createElement(Be.default.Item,{className:mt.formcenterselect},sn.createElement("div",{style:{display:"flex",alignItems:"center"}},sn.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},sn.createElement(zt.Z,null)),sn.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",sn.createElement(ct.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"},sn.createElement(wt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),sn.createElement(kt.Z,{open:Ht,subDisciplineId:(wa=ce.getFieldValue("sub_discipline_id"))==null?void 0:wa[1],onCancel:()=>{Yn(!1)},onOkClick:Pn=>{Hn(ya=>[...ya,Pn]),ce.setFieldValue("tag_discipline_ids",[...ce.getFieldValue("tag_discipline_ids"),Pn==null?void 0:Pn.id])}}))},va=ee(59301),Da=Object.defineProperty,Na=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,en=(ce,pe,Pe)=>pe in ce?Da(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,On=(ce,pe)=>{for(var Pe in pe||(pe={}))fa.call(pe,Pe)&&en(ce,Pe,pe[Pe]);if($a)for(var Pe of $a(pe))yr.call(pe,Pe)&&en(ce,Pe,pe[Pe]);return ce},ia=(ce,pe)=>Na(ce,ar(pe)),xa=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),It=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:Ht=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var gn;xn.setFieldsValue(ia(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(gn=ce==null?void 0:ce.question_choices)==null?void 0:gn.map(In=>ia(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)}))},[ce]);const Ct=gn=>{if(!(gn!=null&&gn.length))return!1;const In=gn.map(Hn=>{var ba;return(ba=Hn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return va.createElement("div",null,va.createElement(Be.default,{form:xn,colon:!1,onFinish:gn=>{var In,ra,Hn,ba,ta;if(Ct(gn.choices)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let oa=(ra=(In=gn==null?void 0:gn.choices)==null?void 0:In.map)==null?void 0:ra.call(In,(Pn,ya)=>{if((Pn==null?void 0:Pn.standard_boolean)===1)return ya+1}),Ka=ia(On({},gn),{item_type:ce==null?void 0:ce.question_type,question_choices:(ba=(Hn=gn==null?void 0:gn.choices)==null?void 0:Hn.map)==null?void 0:ba.call(Hn,Pn=>Pn.choice_text),standard_answers:oa.filter(Pn=>Pn),choices:(ta=gn==null?void 0:gn.choices)==null?void 0:ta.map(Pn=>ia(On({},Pn),{is_answer:Pn.standard_boolean}))});tn(On(On({},ce),Ka))},onFinishFailed:gn=>xa(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},va.createElement("div",{style:{display:"flex",alignItems:"center"}},va.createElement("div",{style:{flex:1}},va.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),va.createElement("span",null,(ce==null?void 0:ce.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&va.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},va.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),va.createElement(Ge.ZP,{onClick:()=>{var gn;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(ia(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(gn=ce==null?void 0:ce.question_choices)==null?void 0:gn.map(In=>ia(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),va.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:va.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},va.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")},va.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>xa(void 0,null,function*(){xn.submit()})},"\u4FDD\u5B58"))),va.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},va.createElement(Te.Z,{align:"middle"},va.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},va.createElement(Ve.Z,{onBlur:gn=>{gn.target.value==="0"&&Ne.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}))),va.createElement(Ft.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),va.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},_t=ee(70472),Vt=ee(27693),Gt=ee(59301),Rn=Object.defineProperty,wn=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Wn=(ce,pe,Pe)=>pe in ce?Rn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,An=(ce,pe)=>{for(var Pe in pe||(pe={}))pt.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);if(Bt)for(var Pe of Bt(pe))Sn.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);return ce},ka=(ce,pe)=>wn(ce,vt(pe)),pa=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Ea=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:Ht=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=Be.default.useWatch("use_blank_score",xn);return(0,b.useEffect)(()=>{xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer}))},[ce]),Gt.createElement("div",null,Gt.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.standard_answers||gn!=null&&gn.use_blank_score){let oa=((ra=xn.getFieldValue("standard_answers"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("standard_answers"))==null?void 0:Hn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(oa==null?void 0:oa.length)>0&&((ta=oa.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:gn=>{tn(ka(An(An({},ce),gn),{item_type:ce==null?void 0:ce.question_type,standard_answers:gn.standard_answers,question_title:gn.name}))},onFinishFailed:gn=>pa(void 0,null,function*(){var In,ra;gn.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Nt.pE)(),Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},Gt.createElement("div",{style:{display:"flex",alignItems:"center"}},Gt.createElement("div",{style:{flex:1}},Gt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Gt.createElement("span",null,"\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Gt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Gt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Gt.createElement(Ge.ZP,{onClick:()=>{ce.isadd?(Ot(!1),zn()):(xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Gt.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Gt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Gt.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")},Gt.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Gt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Gt.createElement(Te.Z,{align:"middle"},Ct?Gt.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):Gt.createElement(Be.default.Item,{key:2,className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Gt.createElement(Ve.Z,{onBlur:gn=>{gn.target.value==="0"&&Ne.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})),Gt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},Gt.createElement(et.ZP.Group,{className:mt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),Gt.createElement(ct.Z,{overlayInnerStyle:{width:460},title:Gt.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",Gt.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")},Gt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),Gt.createElement(_t.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,answerKey:"standard_answers"}),Gt.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},Pa=ee(11832),Dn=ee(59301),lr=Object.defineProperty,Nr=Object.defineProperties,Ur=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Xt=(ce,pe,Pe)=>pe in ce?lr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Nn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ue.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);if(Sr)for(var Pe of Sr(pe))bn.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);return ce},Kn=(ce,pe)=>Nr(ce,Ur(pe)),la=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Un=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:Ht=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct;xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(gn=>Kn(Nn({},gn),{is_answer:gn!=null&&gn.standard_boolean?1:0}))}))},[ce]),Dn.createElement("div",null,Dn.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var gn,In,ra,Hn;let ba=(In=(gn=Ct==null?void 0:Ct.choices)==null?void 0:gn.map)==null?void 0:In.call(gn,(ta,oa)=>{if((ta==null?void 0:ta.is_answer)===1)return oa+1});tn(Kn(Nn(Nn({},ce),Ct),{question_title:Ct.name,standard_answers:ba.filter(ta=>ta),question_choices:(Hn=(ra=Ct==null?void 0:Ct.choices)==null?void 0:ra.map)==null?void 0:Hn.call(ra,ta=>ta.choice_text)}))},onFinishFailed:Ct=>la(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Dn.createElement("div",{style:{display:"flex",alignItems:"center"}},Dn.createElement("div",{style:{flex:1}},Dn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Dn.createElement("span",null,"\u5224\u65AD\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Dn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Dn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Dn.createElement(Ge.ZP,{onClick:()=>{var Ct;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(gn=>Kn(Nn({},gn),{is_answer:gn!=null&&gn.standard_boolean?1:0}))})),pe(!1))}},"\u53D6\u6D88"),Dn.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Dn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Dn.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")},Dn.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Dn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Dn.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Dn.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.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})),Dn.createElement(Pa.Z,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Dn.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},ur=ee(36381),da={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},En=ee(12290),dr=Object.defineProperty,xr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Ua=(ce,pe,Pe)=>pe in ce?dr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,La=(ce,pe)=>{for(var Pe in pe||(pe={}))ha.call(pe,Pe)&&Ua(ce,Pe,pe[Pe]);if(Ir)for(var Pe of Ir(pe))za.call(pe,Pe)&&Ua(ce,Pe,pe[Pe]);return ce},Or=(ce,pe)=>xr(ce,Wr(pe)),no=(ce,pe)=>{var Pe={};for(var Ot in ce)ha.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ir)for(var Ot of Ir(ce))pe.indexOf(Ot)<0&&za.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fr=ce=>{var pe=ce,{value:Pe,onChange:Ot,scrollId:tn}=pe,wa=no(pe,["value","onChange","scrollId"]);return b.createElement("div",{id:tn||""},b.createElement(En.Z,Or(La({},wa),{defaultValue:Pe,onChange:(ma,zn)=>{console.log("a:",ma,zn),zn!=null&&zn.length?Ot(ma,zn):Ot(ma)}})))},Er=({value:ce,onChange:pe,placeholder:Pe,height:Ot=140,isEdit:tn})=>tn?b.createElement(En.Z,{watch:!0,isFocus:!0,height:Ot,placeholder:Pe,defaultValue:ce,onChange:pe}):b.createElement("div",{style:{cursor:"pointer"}},ce?b.createElement(fe.Z,{className:da.inputBorder,value:ce}):b.createElement("div",{className:`${da.inputBorder} ${da.placeholder}`},Pe));var Pr=ee(43604),si=Object.defineProperty,ai=Object.defineProperties,xi=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable,Mo=(ce,pe,Pe)=>pe in ce?si(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Ao=(ce,pe)=>{for(var Pe in pe||(pe={}))yo.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);if(ho)for(var Pe of ho(pe))jo.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);return ce},gr=(ce,pe)=>ai(ce,xi(pe)),eo=(ce,pe)=>{var Pe={};for(var Ot in ce)yo.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&ho)for(var Ot of ho(ce))pe.indexOf(Ot)<0&&jo.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Qo=["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"],Yo=({value:ce,onChange:pe,choiceTextKey:Pe,answerKey:Ot,index:tn,isEdit:wa,setInputActive:ma,form:zn,choiceOptionsPath:Ht,allowChangeMode:Yn,showAddIcon:xn,addItem:Ct,deleteItem:gn})=>{const In=(ce==null?void 0:ce[Ot])===1,ra=()=>{const ba=zn.getFieldValue(Ht);zn.setFieldValue(Ht,ba.map(ta=>gr(Ao({},ta),{[Ot]:0})))},Hn=()=>{In?pe(gr(Ao({},ce),{[Ot]:0})):(Yn||ra(),pe(gr(Ao({},ce),{[Ot]:1})))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:Hn,className:`${da.choiceIndex} ${In?da.activeAnswer:""}`},Qo[tn]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`,onClick:ma},b.createElement(Er,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:wa,value:ce==null?void 0:ce[Pe],onChange:ba=>{pe(gr(Ao({},ce),{[Pe]:ba}))}})),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Hn,className:`${da.setAnswerBtn} ${In?da.activeAnswer:""}`},In?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(Pr.Z,{className:da.actionWrapper},b.createElement(ct.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(re.Z,{className:da.addIcon,onClick:Ct,style:{visibility:xn?"visible":"hidden"}})),b.createElement(ct.Z,{title:"\u5220\u9664"},b.createElement(ue.Z,{className:da.deleteIcon,onClick:gn,style:{visibility:tn>1?"visible":"hidden"}}))))},Oo=({questionTitlePlaceholder:ce,titleKey:pe,choiceKey:Pe,analysisKey:Ot,choiceTextKey:tn,answerKey:wa,choiceOptionsPath:ma,allowChangeMode:zn=!0,form:Ht,showAnalysis:Yn=!0})=>{const[xn,Ct]=(0,b.useState)(),[gn,In]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pe,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:Array.isArray(pe)?pe.join("_"):`${pe}`,watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(Be.default.List,{name:Pe,rules:[{validator(ra,Hn){const ba=Hn.some(oa=>oa[wa]===1),ta=Hn.findIndex(oa=>{var Ka;return((Ka=oa[tn])==null?void 0:Ka.length)<=0});return ta!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Qo[ta]}\u9009\u9879\u7684\u5185\u5BB9`)):ba?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ra,{add:Hn,remove:ba})=>b.createElement("div",{id:Array.isArray(ma)?ma.join("_"):`${ma}`},ra.map((ta,oa)=>{var Ka=ta,{key:Pn,name:ya}=Ka,ja=eo(Ka,["key","name"]);const qr=xn===Pn,cr=()=>{Ct(Pn)},li=oa<7&&oa===ra.length-1,Za=()=>Hn({[tn]:"",[wa]:0}),Co=()=>ba(ya);return b.createElement(Be.default.Item,gr(Ao({},ja),{key:Pn,name:ya,noStyle:!0}),b.createElement(Yo,{choiceTextKey:tn,answerKey:wa,index:oa,isEdit:qr,setInputActive:cr,form:Ht,choiceOptionsPath:ma,allowChangeMode:zn,showAddIcon:li,addItem:Za,deleteItem:Co}))}),ra.length<8&&b.createElement("div",{className:`${da.addBtn} mb30`,onClick:()=>Hn({[tn]:"",[wa]:0})},"\u6DFB\u52A0\u9009\u9879"))),Yn&&b.createElement("div",{onClick:()=>In(!0)},b.createElement(Be.default.Item,{name:Ot,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gn}))))};var br=ee(59301),ri=Object.defineProperty,Hr=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,Ui=(ce,pe,Pe)=>pe in ce?ri(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,tl=(ce,pe)=>{for(var Pe in pe||(pe={}))di.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);if(mo)for(var Pe of mo(pe))vi.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);return ce},nl=(ce,pe)=>Hr(ce,ko(pe)),Vo=(ce,pe)=>{var Pe={};for(var Ot in ce)di.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&mo)for(var Ot of mo(ce))pe.indexOf(Ot)<0&&vi.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fi=({value:ce,onChange:pe})=>{const Pe=tn=>{Ye.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:da.modal,onOk:()=>{const wa=[...ce];wa.splice(tn,1),pe(wa)}})},Ot=()=>{const tn=[...ce];tn.push(""),pe(tn)};return br.createElement(Te.Z,{className:"ml20"},br.createElement(Pr.Z,{flex:1},ce==null?void 0:ce.map((tn,wa)=>br.createElement(Te.Z,{key:`${tn}_${wa}`,align:"middle",className:"mb20"},br.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:tn,autoSize:{maxRows:3},maxLength:1e3,onBlur:ma=>{const zn=[...ce],Ht=ma.target.value.trim();zn[wa]=Ht,pe(zn)}}),br.createElement(ct.Z,{title:"\u5220\u9664"},br.createElement(ue.Z,{className:da.deleteIcon,style:{marginLeft:15,visibility:wa>0?"visible":"hidden"},onClick:()=>Pe(wa)}))))),br.createElement(Pr.Z,null,br.createElement("div",{className:`${da.addBtn}`,onClick:()=>{Ot()}},"\u65B0\u589E\u7B54\u6848")))},Wi=({value:ce=!0,onChange:pe})=>br.createElement(zt.Z,{checked:!ce,onChange:Pe=>{pe(!Pe)}}),dl="\u2581",gl=({questionTitlePlaceholder:ce,form:pe,name:Pe,scoreByBlank:Ot,answerKey:tn,titleKey:wa="name",analysisKey:ma="analysis",isOrdered:zn="is_ordered"})=>{var Ht,Yn;const[xn,Ct]=(0,b.useState)(!1),gn=(Pn,ya)=>{const ja=ya.line;let qr=0;for(let li=0;li{const cr=Pn.getRange(ya.from,ya.to);let li=0;if(ya.text.forEach(Za=>{li+=Za.split(dl).length-1}),ya.origin!=="setValue"){if(cr&&cr.indexOf(dl)!==-1){const Za=cr.split(dl).length-1,Co=gn(Pn,ya.from);if(console.log(`\u5220\u9664${Za}\u4E2A\uFF0C \u524D\u9762\u6709${Co}\u4E2A\uFF0C\u65B0\u589E${li}\u4E2A`),Za>1){const Cr=Array.from({length:Za},(ao,Eo)=>Co+Eo);qr(Cr)}else qr(Co)}else if(li>0){const Za=gn(Pn,ya.from);console.log(`\u65B0\u589E${li}\u4E2A\uFF0C\u4E4B\u524D\u6709${Za}\u4E2A`),ja(li,Za)}}},ra=()=>{const Pn=pe.getFieldValue(["sub_item_banks",...tn]);pe.setFieldValue(["sub_item_banks",...tn],Pn==null?void 0:Pn.map((ya,ja)=>nl(tl({},ya),{position:ja+1})))},Hn=(0,b.useRef)(),ba=(Pn,ya)=>{for(let ja=0;ja{ta.current(Pn),ra()},Ka=(Yn=(Ht=pe.getFieldValue("sub_item_banks"))==null?void 0:Ht[tn==null?void 0:tn[0]])==null?void 0:Yn[tn==null?void 0:tn[1]];return console.log(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot])),br.createElement("div",{className:da.wrap},br.createElement("div",{className:da.questionTitleEditorWrap},br.createElement(Be.default.Item,{label:"\u9898\u5E72",name:wa,labelCol:{span:24},rules:[{required:!0}]},br.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(Pn,ya)=>{In(Pn,ya,ba,oa)}}))),br.createElement(Be.default.List,{name:tn,rules:[{validator(Pn,ya){if((ya==null?void 0:ya.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ja of ya){const{answer_text:qr}=ja||{};if(qr!=null&&qr.some(cr=>(cr==null?void 0:cr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pn,{add:ya,remove:ja},{errors:qr})=>(Hn.current=ya,ta.current=ja,br.createElement(br.Fragment,null,br.createElement(Be.default.Item,{label:br.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Pn!=null&&Pn.length)&&br.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Pn.map((cr,li)=>{var Za=cr,{key:Co,name:Cr}=Za,ao=Vo(Za,["key","name"]);return br.createElement(Te.Z,{className:"mb20",key:Co,align:"top"},br.createElement(Pr.Z,{flex:"0 0 auto",className:`${da.blankIndex} pt5`},"\u586B\u7A7A\u9879",li+1),br.createElement(Pr.Z,{flex:1},br.createElement(Te.Z,{align:"top",justify:"space-between"},br.createElement(Pr.Z,{flex:1},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"answer_text"],noStyle:!0}),br.createElement(Fi,null))),(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot]))&&br.createElement(Pr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),br.createElement(Ve.Z,{onChange:()=>{var Eo,hi;let mi=pe==null?void 0:pe.getFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"standard_answers"]),pr=0;for(let po in mi)(Eo=mi[po])!=null&&Eo.score&&(pr+=Number((hi=mi[po])==null?void 0:hi.score));pe==null||pe.setFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"question_score"],pr)},className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"position"],noStyle:!0}),br.createElement(ke.default,{type:"hidden"}))))})))),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},br.createElement(zt.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},br.createElement(zt.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ka==null?void 0:Ka.length)>1&&br.createElement(Te.Z,{align:"middle",className:(Ka==null?void 0:Ka.length)>1?"mb30":`${da.hide}`},br.createElement(Be.default.Item,{name:zn},br.createElement(Wi,null)),br.createElement(Pr.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")),br.createElement("div",{onClick:()=>Ct(!0)},br.createElement(Be.default.Item,{name:ma,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},br.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xn}))))};var Pl=Object.defineProperty,kr=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,we=(ce,pe,Pe)=>pe in ce?Pl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ya.call(pe,Pe)&&we(ce,Pe,pe[Pe]);if(Ga)for(var Pe of Ga(pe))so.call(pe,Pe)&&we(ce,Pe,pe[Pe]);return ce},Mn=(ce,pe)=>kr(ce,Qa(pe)),Sa=(ce,pe)=>{var Pe={};for(var Ot in ce)Ya.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ga)for(var Ot of Ga(ce))pe.indexOf(Ot)<0&&so.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const on={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Ma=({value:ce,onChange:pe,form:Pe,choiceKey:Ot})=>{const tn=(ce==null?void 0:ce.is_answer)===1,wa=ce==null?void 0:ce.choice_text,ma=()=>{var zn;const Ht=(zn=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...Ot]))==null?void 0:zn.map(Yn=>({choice_text:Yn.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...Ot],Ht),pe(Mn(fn({},ce),{is_answer:1}))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:ma,className:`${da.choiceIndex} ${da.judgementIndex} ${tn?da.activeAnswer:""}`},on[wa]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`},b.createElement("div",{className:`${da.inputBorder} ${da.placeholder} ${tn?da.activeJudgementAnswer:""}`},wa)),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:ma,className:`${da.setAnswerBtn} ${tn?da.activeAnswer:""}`},tn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Fa=({questionTitlePlaceholder:ce,choiceKey:pe="choices",form:Pe,titleKey:Ot="name",analysisKey:tn="analysis"})=>{const[wa,ma]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ot,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(Be.default.List,{name:pe,rules:[{validator(zn,Ht){return Ht.some(xn=>(xn==null?void 0:xn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},zn=>b.createElement("div",{id:"choices"},zn.map(Ht=>{var Yn=Ht,{key:xn,name:Ct}=Yn,gn=Sa(Yn,["key","name"]);return b.createElement(Be.default.Item,Mn(fn({},gn),{key:xn,name:Ct,noStyle:!0}),b.createElement(Ma,{form:Pe,choiceKey:pe}))})))),b.createElement("div",{onClick:()=>ma(!0)},b.createElement(Be.default.Item,{name:tn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:wa}))))};var jn=ee(12563),Xn=Object.defineProperty,sr=Object.defineProperties,Ha=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,bo=(ce,pe,Pe)=>pe in ce?Xn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,$o=(ce,pe)=>{for(var Pe in pe||(pe={}))Ja.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);if(Ta)for(var Pe of Ta(pe))Rr.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);return ce},Wo=(ce,pe)=>sr(ce,Ha(pe)),Ti=(ce,pe)=>{var Pe={};for(var Ot in ce)Ja.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ta)for(var Ot of Ta(ce))pe.indexOf(Ot)<0&&Rr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ji=ce=>{var pe=ce,{value:Pe,onChange:Ot}=pe,tn=Ti(pe,["value","onChange"]);const wa=ma=>{Ot([ma])};return b.createElement(En.Z,Wo($o({},tn),{defaultValue:Pe==null?void 0:Pe[0],onChange:wa}))},al=ce=>{if(!ce)return!1;let pe=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 ce==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Zl=({value:ce=[],onClose:pe})=>b.createElement(jn.default,{closable:!0,onClose:pe,className:da.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Al=({questionTitlePlaceholder:ce,form:pe,showKeywords:Pe,isMustKeyWords:Ot=Pe,titleKey:tn="name",analysisKey:wa="analysis",answerTexts:ma="answer_texts",keywords:zn="keywords",useKeywords:Ht="use_keywords",indexs:Yn})=>{var xn,Ct,gn,In;const[ra,Hn]=(0,b.useState)(!1),[ba,ta]=(0,b.useState)(""),oa=(Ct=(xn=pe.getFieldValue("sub_item_banks"))==null?void 0:xn[Ht==null?void 0:Ht[0]])==null?void 0:Ct[Ht==null?void 0:Ht[1]],Ka=(In=(gn=pe.getFieldValue("sub_item_banks"))==null?void 0:gn[Ht==null?void 0:Ht[0]])==null?void 0:In.question_score;return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:tn,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ma,labelCol:{span:24}},b.createElement(Ji,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!Ot&&b.createElement(Be.default.Item,{hidden:!0,name:Ht,valuePropName:"checked"},b.createElement(zt.Z,{defaultChecked:!0})),Pe&&Ot&&b.createElement(Te.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:Ht,valuePropName:"checked"},b.createElement(zt.Z,null)),b.createElement(Pr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(Pr.Z,null,b.createElement(ct.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(wt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(oa||!Ot)&&b.createElement(Be.default.List,{name:zn,rules:[{validator(Pn,ya){return Ot?ya!=null&&ya.length?(ya==null?void 0:ya.reduce((qr,cr)=>qr+cr.score,0))>parseFloat(Ka)?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()}}]},(Pn,{add:ya,remove:ja})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${da.title} mb10`},Ot?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Te.Z,{align:"middle",className:"font14 mb30"},b.createElement(Pr.Z,{flex:1},b.createElement(ke.default,{value:ba,onChange:qr=>{ta(qr.target.value)},maxLength:50,allowClear:!0,onPressEnter:qr=>{var cr,li,Za,Co;const Cr=`${(cr=qr.target)==null?void 0:cr.value}`,ao=(Za=(li=Cr==null?void 0:Cr.split("|"))==null?void 0:li.filter(mi=>!!mi))==null?void 0:Za.map(mi=>mi==null?void 0:mi.trim()),Eo=pe.getFieldValue(["sub_item_banks",...zn]),hi=((Co=Eo==null?void 0:Eo.map(mi=>mi==null?void 0:mi.keyword))==null?void 0:Co.flat())||[];for(const mi of ao)if(hi.includes(mi)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}al(Cr)&&(ya({keyword:ao,score:1}),ta(""))},className:da.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(Pr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Pn.map(qr=>{var cr=qr,{key:li,name:Za}=cr,Co=Ti(cr,["key","name"]);return b.createElement(Te.Z,{key:li,className:"mb20",style:{marginRight:148}},b.createElement(Pr.Z,{flex:1},b.createElement(Te.Z,{align:"middle",justify:"space-between"},b.createElement(Be.default.Item,Wo($o({},Co),{name:[Za,"keyword"]}),b.createElement(Zl,{onClose:()=>ja(Za)})),Ot&&b.createElement(Be.default.Item,Wo($o({},Co),{name:[Za,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>Hn(!0)},b.createElement(Be.default.Item,{name:wa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ra}))))};var So=ee(59301),yl=Object.defineProperty,eu=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,su=(ce,pe,Pe)=>pe in ce?yl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,mu=(ce,pe)=>{for(var Pe in pe||(pe={}))tu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);if(xl)for(var Pe of xl(pe))Qu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);return ce},Yu=(ce,pe)=>eu(ce,Nl(pe)),Sl=(ce,pe)=>{var Pe={};for(var Ot in ce)tu.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&xl)for(var Ot of xl(ce))pe.indexOf(Ot)<0&&Qu.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const{Panel:Ru}=ur.default,Mu=({questionTitlePlaceholder:ce,choiceKey:pe,form:Pe,withScore:Ot})=>{const tn=[{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"}],[wa,ma]=(0,b.useState)(),[zn,Ht]=(0,b.useState)([]),Yn=Ct=>{Ht(Ct)},xn=({value:Ct})=>So.createElement("div",{style:{width:150,paddingLeft:11}},Ct);return So.createElement("div",{className:da.wrap},So.createElement("div",{className:da.questionTitleEditorWrap},So.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},So.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),So.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),So.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ct,gn){return gn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ct,{add:gn,remove:In,move:ra})=>{const Hn=Pe.getFieldValue("sub_item_banks");return So.createElement(So.Fragment,null,So.createElement(ur.default,{className:Ct.length>0?da.collapseWrapper:"",bordered:!1,activeKey:zn,onChange:Yn,expandIcon:({isActive:ba})=>So.createElement("i",{className:`iconfont icon-weizhankai ${ba?da.open:da.close}`,style:{fontSize:14,transition:"all .2s"}})},Ct.map((ba,ta)=>{var oa=ba,{key:Ka,name:Pn}=oa,ya=Sl(oa,["key","name"]),ja,qr,cr,li,Za,Co,Cr,ao,Eo,hi,mi,pr,po,Ki;return So.createElement(Ru,{className:da.panel,forceRender:!0,header:So.createElement("div",{className:da.panelHeader},"\u7B2C",ta+1,"\u5C0F\u9898",So.createElement("span",null,"\uFF08",((ja=Hn==null?void 0:Hn[Pn])==null?void 0:ja.question_type)==0?"\u5355\u9009\u9898":((qr=Hn==null?void 0:Hn[Pn])==null?void 0:qr.question_type)==1?"\u591A\u9009\u9898":((cr=Hn==null?void 0:Hn[Pn])==null?void 0:cr.question_type)==3?"\u586B\u7A7A\u9898":((li=Hn==null?void 0:Hn[Pn])==null?void 0:li.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Pn,extra:So.createElement(Te.Z,{align:"middle",onClick:Oi=>Oi.stopPropagation()},((Za=Hn==null?void 0:Hn[Pn])==null?void 0:Za.question_type)==3&&So.createElement(So.Fragment,null,So.createElement(et.ZP.Group,{defaultValue:(Co=Hn==null?void 0:Hn[Pn])==null?void 0:Co.use_blank_score,className:mt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Oi=>{var ea,xo,Li,Zo,Ci;if(Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"use_blank_score"],(ea=Oi==null?void 0:Oi.target)==null?void 0:ea.value),(xo=Oi==null?void 0:Oi.target)!=null&&xo.value){let Ri=0;for(let oi in(Li=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Li.standard_answers)Ri+=Number((Ci=(Zo=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Zo.standard_answers[oi])==null?void 0:Ci.score);Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"question_score"],Ri||"")}ma(new Date)}}),So.createElement(ct.Z,{overlayInnerStyle:{width:460},title:So.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",So.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")},So.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),Ot&&So.createElement(Be.default.Item,Yu(mu({},ya),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Pn,"question_score"],className:da.blankInputNumberWrapper}),((Cr=Hn==null?void 0:Hn[Pn])==null?void 0:Cr.question_type)==3&&((ao=Hn==null?void 0:Hn[Pn])!=null&&ao.use_blank_score)?So.createElement(xn,null):So.createElement(Ve.Z,{className:da.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),So.createElement(Te.Z,{align:"middle",className:"pl40",style:{width:82}},ta!==0&&So.createElement("div",{onClick:()=>{var Oi;ra(ta,ta-1);const ea=(Oi=Pe.getFieldValue("sub_item_banks"))==null?void 0:Oi.map((xo,Li)=>(Ct.map((Zo,Ci)=>{Li===Ci&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)}},So.createElement(ct.Z,{title:"\u4E0A\u79FB"},So.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),ta{var Oi;ra(ta,ta+1);const ea=(Oi=Pe.getFieldValue("sub_item_banks"))==null?void 0:Oi.map((xo,Li)=>(Ct.map((Zo,Ci)=>{Li===Ci&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)},className:ta===0?"":"ml10"},So.createElement(ct.Z,{title:"\u4E0B\u79FB"},So.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),So.createElement(ct.Z,{title:"\u5220\u9664"},So.createElement(ue.Z,{className:`${da.deleteIcon} ml40`,onClick:()=>In(Pn)})))},So.createElement(Be.default.Item,Yu(mu({},ya),{name:Pn}),(((Eo=Hn==null?void 0:Hn[Pn])==null?void 0:Eo.question_type)==0||((hi=Hn==null?void 0:Hn[Pn])==null?void 0:hi.question_type)==1)&&So.createElement(Oo,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((mi=Hn==null?void 0:Hn[Pn])==null?void 0:mi.question_type)==1,form:Pe,choiceKey:[Pn,"choices"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceOptionsPath:["sub_item_banks",Pn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((pr=Hn==null?void 0:Hn[Pn])==null?void 0:pr.question_type)==3&&So.createElement(gl,{form:Pe,name:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Pn,"use_blank_score"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],isOrdered:[Pn,"is_ordered"],answerKey:[Pn,"standard_answers"],key:wa}),((po=Hn==null?void 0:Hn[Pn])==null?void 0:po.question_type)==2&&So.createElement(Fa,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceKey:[Pn,"choices"]}),((Ki=Hn==null?void 0:Hn[Pn])==null?void 0:Ki.question_type)==4&&So.createElement(Al,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],answerTexts:[Pn,"answer_texts"],useKeywords:[Pn,"use_keywords"],keywords:[Pn,"keywords"],indexs:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Ct.length<20&&So.createElement(ze.Z,{menu:{items:[{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),Ht([Ct==null?void 0:Ct.length,...zn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),Ht([Ct==null?void 0:Ct.length,...zn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),Ht([Ct==null?void 0:Ct.length,...zn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),Ht([Ct==null?void 0:Ct.length,...zn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),Ht([Ct==null?void 0:Ct.length,...zn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(ba=>ba.show).map(ba=>({label:ba.label,key:ba.key}))}},So.createElement("div",{className:`${da.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var rl=ee(59301),ku=Object.defineProperty,nu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,_u=(ce,pe,Pe)=>pe in ce?ku(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,bl=(ce,pe)=>{for(var Pe in pe||(pe={}))Tu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);if(bu)for(var Pe of bu(pe))Xu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);return ce},ji=(ce,pe)=>nu(ce,Ju(pe)),Zu=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),au=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:Ht=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var gn;xn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(gn=ce.sub_exercise_questions)==null?void 0:gn.map(In=>{var ra;return ji(bl({},In),{name:In.question_title,choices:(ra=In==null?void 0:In.question_choices)==null?void 0:ra.map(Hn=>ji(bl({},Hn),{is_answer:Hn!=null&&Hn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer}))},[ce]);const Ct=gn=>{if(!(gn!=null&&gn.length))return!1;const In=gn.map(Hn=>{var ba;return(ba=Hn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return rl.createElement("div",null,rl.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.sub_item_banks){let oa=((ra=xn.getFieldValue("sub_item_banks"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("sub_item_banks"))==null?void 0:Hn.map(Ka=>{var Pn;if(Ka.question_type==3&&(Ka!=null&&Ka.use_blank_score)){let ya=0;for(let ja in Ka==null?void 0:Ka.standard_answers)ya+=Number((Pn=Ka==null?void 0:Ka.standard_answers[ja])==null?void 0:Pn.score);return ya}else return Ka.question_score}))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(ta=parseFloat(oa.reduce((Ka,Pn)=>parseFloat(Ka)+parseFloat(Pn))))==null?void 0:ta.toFixed(1)})}},onFinish:gn=>{var In,ra;if((In=gn.sub_item_banks)==null?void 0:In.some(ba=>ba.question_type===0||ba.question_type===1?Ct(ba.choices):!1)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}tn(ji(bl(bl({},ce),gn),{question_title:gn.name,sub_questions:(ra=gn==null?void 0:gn.sub_item_banks)==null?void 0:ra.map(ba=>{var ta,oa,Ka,Pn;return(ba==null?void 0:ba.question_type)==3?ji(bl({},ba),{question_title:ba.name,item_type:ba==null?void 0:ba.question_type}):ji(bl({},ba),{question_title:ba.name,question_choices:(oa=(ta=ba==null?void 0:ba.choices)==null?void 0:ta.map)==null?void 0:oa.call(ta,ya=>ya.choice_text),standard_answers:(Pn=(Ka=ba==null?void 0:ba.choices)==null?void 0:Ka.map)==null?void 0:Pn.call(Ka,(ya,ja)=>(ya==null?void 0:ya.is_answer)===1&&ja+1).filter(ya=>ya),item_type:ba==null?void 0:ba.question_type})})}))},onFinishFailed:gn=>Zu(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},rl.createElement("div",{style:{display:"flex",alignItems:"center"}},rl.createElement("div",{style:{flex:1}},rl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),rl.createElement("span",null,"\u7EC4\u5408\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&rl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},rl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),rl.createElement(Ge.ZP,{onClick:()=>{var gn;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(gn=ce.sub_exercise_questions)==null?void 0:gn.map(In=>{var ra;return ji(bl({},In),{name:In.question_title,choices:(ra=In==null?void 0:In.question_choices)==null?void 0:ra.map(Hn=>ji(bl({},Hn),{is_answer:Hn!=null&&Hn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer})),pe(!1))}},"\u53D6\u6D88"),rl.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:rl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},rl.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")},rl.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),rl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},rl.createElement(Vt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),rl.createElement(Mu,{form:xn,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),rl.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},Bi=ee(59301),Cu=Object.defineProperty,zu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Fu=(ce,pe,Pe)=>pe in ce?Cu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Fl=(ce,pe)=>{for(var Pe in pe||(pe={}))Hu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);if(Il)for(var Pe of Il(pe))xu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);return ce},zl=(ce,pe)=>zu(ce,rs(pe)),os=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),ju=({qitem:ce,setqitem:pe,setisedit:Pe,TagDiscipline:Ot,exerciseitem:tn,seveeditor:wa,deleteitem:ma,showTip:zn})=>{var Ht,Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct,gn;xn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>zl(Fl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(In=>zl(Fl({},In),{defaultscore:In.challenge_score}))},[]),Bi.createElement("div",null,Bi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var gn,In;let ra=zl(Fl({},Ct),{question_scores:(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(Hn=>Hn.challenge_score),item_type:ce==null?void 0:ce.question_type,choices:(In=Ct==null?void 0:Ct.choices)==null?void 0:In.map(Hn=>zl(Fl({},Hn),{is_answer:Hn.standard_boolean}))});wa(Fl(Fl({},ce),ra))},onFinishFailed:Ct=>os(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Bi.createElement("div",{style:{display:"flex",alignItems:"center"}},Bi.createElement("div",{style:{flex:1}},Bi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Bi.createElement("span",null,"\u5B9E\u8BAD\u9898")),((Ht=tn==null?void 0:tn.exercise)==null?void 0:Ht.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Bi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ma()}},Bi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Bi.createElement(Ge.ZP,{onClick:()=>{var Ct,gn;xn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>zl(Fl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(In=>zl(Fl({},In),{challenge_score:In.defaultscore})),pe(Fl({},ce)),Pe(!1)}},"\u53D6\u6D88"),Bi.createElement(ct.Z,{overlayClassName:mt.shake,open:zn,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Bi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Bi.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")},Bi.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>os(void 0,null,function*(){var Ct,gn,In;if(((gn=(Ct=ce==null?void 0:ce.shixun)==null?void 0:Ct.map)==null?void 0:gn.call(Ct,ra=>ra.challenge_score).filter(ra=>ra).length)<((In=ce==null?void 0:ce.shixun)==null?void 0:In.length)){Ne.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}xn.submit()})},"\u4FDD\u5B58"))),Bi.createElement(Vt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Bi.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Bi.createElement(En.Z,{watch:!0,height:140,placeholder:"",defaultValue:ce.question_title}))),Bi.createElement(Te.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Bi.createElement("a",{href:`/shixuns/${ce==null?void 0:ce.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bi.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Yn=ce==null?void 0:ce.shixun)==null?void 0:Yn.map((Ct,gn)=>Bi.createElement("div",{style:{display:"flex",marginBottom:20}},Bi.createElement("div",{style:{flex:1}},gn+1,"\u3001",Ct.challenge_name),Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Bi.createElement(Ve.Z,{precision:1,value:Ct==null?void 0:Ct.challenge_score,onChange:In=>{const ra=JSON.parse(JSON.stringify((ce==null?void 0:ce.shixun)||[]));ra[gn].challenge_score=In;const Hn=ra.every(ta=>!ta.challenge_score),ba=parseFloat(ra==null?void 0:ra.map(ta=>ta.challenge_score).reduce((ta,oa)=>parseFloat(ta||0)+parseFloat(oa||0)));xn.setFieldsValue({question_score:Hn?"":ba.toFixed(1)}),pe(zl(Fl({},ce),{shixun:ra}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ar={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},Bu=ee(1710),Yl=ee(59879),Hl=ee(24334),qa=ee(59301);const du=["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"],es=[{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 wu=({qitem:ce,exercise:pe})=>{var Pe,Ot,tn,wa,ma,zn,Ht,Yn,xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr,cr,li;return qa.createElement("div",{className:Ar.warp},((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&qa.createElement("div",{className:Ar.normalWrap},(Pe=ce==null?void 0:ce.question_choices)==null?void 0:Pe.map((Za,Co)=>qa.createElement("div",{className:Ar.redio},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},(ce==null?void 0:ce.question_type)===0?du[Co]:""),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&qa.createElement("div",{className:Ar.normalWrap},(Ot=ce==null?void 0:ce.question_choices)==null?void 0:Ot.map((Za,Co)=>qa.createElement("div",{className:Ar.checkbox},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Co]),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&qa.createElement("div",{className:Ar.completion},(tn=ce==null?void 0:ce.standard_answers)==null?void 0:tn.map((Za,Co)=>{var Cr;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Co+1),qa.createElement("div",{className:Ar.content},(Cr=Za.answer_text)==null?void 0:Cr.map((ao,Eo)=>qa.createElement("div",{key:Eo,className:Ar.items,style:(Za==null?void 0:Za.model)===2?{border:0,padding:0}:{}},(Za==null?void 0:Za.model)===1?qa.createElement("pre",{className:"mb0"},ao):qa.createElement(Yl.Z,{value:ao,disabled:!0})))))})),(ce==null?void 0:ce.question_type)===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?qa.createElement(fe.Z,{className:Ar.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ce!=null&&ce.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ce==null?void 0:ce.question_type)===5&&qa.createElement("div",{className:Ar.shixunWrapper},(zn=ce==null?void 0:ce.shixun)==null?void 0:zn.map((Za,Co)=>{var Cr,ao;return qa.createElement("div",null,qa.createElement("div",{key:Co,className:`${Ar.shixun} mb30`},qa.createElement("span",{className:Ar.score},"\uFF08",Za==null?void 0:Za.challenge_score,"\u5206\uFF09"),qa.createElement("span",{className:Ar.qtitle},(ce==null?void 0:ce.index)+"."+(Co+1),"\u3001",Za==null?void 0:Za.challenge_name)),((ao=(Cr=pe==null?void 0:pe.editData)==null?void 0:Cr.exercise)==null?void 0:ao.show_challenge_task_pass)&&qa.createElement(fe.Z,{className:Ar.content,value:(Za==null?void 0:Za.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ce==null?void 0:ce.question_type)===6&&qa.createElement("div",{className:Ar.program,style:{border:!((Yn=(Ht=pe==null?void 0:pe.editData)==null?void 0:Ht.exercise)!=null&&Yn.show_hack_sets)&&!((Ct=(xn=pe==null?void 0:pe.editData)==null?void 0:xn.exercise)!=null&&Ct.show_hack_description)&&"none"}},((In=(gn=pe==null?void 0:pe.editData)==null?void 0:gn.exercise)==null?void 0:In.show_hack_sets)&&qa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},qa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},qa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),qa.createElement(Bu.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Za,Co,Cr)=>Cr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Za,Co,Cr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)},qa.createElement("div",{className:Ar.divname},Za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Za,Co,Cr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)}," ",qa.createElement("div",{className:Ar.divname},Za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ce==null?void 0:ce.hack_sets})),((Hn=(ra=pe==null?void 0:pe.editData)==null?void 0:ra.exercise)==null?void 0:Hn.show_hack_description)&&qa.createElement("div",null,qa.createElement(fe.Z,{className:Ar.content,value:(ce==null?void 0:ce.description)||"- -"}))),(ce==null?void 0:ce.question_type)===7&&((ba=ce==null?void 0:ce.sub_exercise_questions)==null?void 0:ba.map((Za,Co)=>{var Cr,ao,Eo,hi,mi,pr;return qa.createElement("div",{key:Co},qa.createElement("div",{className:Ar.combination},qa.createElement("span",{className:Ar.score},Za==null?void 0:Za.question_score,"\u5206"),qa.createElement("span",{className:Ar.qtype},(Cr=es.find(po=>po.type==Za.question_type))==null?void 0:Cr.name),qa.createElement("span",{className:Ar.qtitle},Co+1,"\u3001",Za==null?void 0:Za.question_title)),(Za.question_type===0||Za.question_type===2)&&qa.createElement("div",{className:Ar.warp,style:{padding:"30px 58px",paddingBottom:0}},qa.createElement("div",null,(ao=Za==null?void 0:Za.question_choices)==null?void 0:ao.map((po,Ki)=>qa.createElement("div",{className:Ar.redio,key:Ki},!(po!=null&&po.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(po==null?void 0:po.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),Za.question_type===2&&qa.createElement("span",{className:`${po!=null&&po.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ki]),qa.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Ar.titleyes:Ar.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848"))))),Za.question_type===1&&qa.createElement("div",{className:Ar.normalWrap},(Eo=Za==null?void 0:Za.question_choices)==null?void 0:Eo.map((po,Ki)=>qa.createElement("div",{className:Ar.checkbox,key:Ki},!(po!=null&&po.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(po==null?void 0:po.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${po!=null&&po.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ki]),qa.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Ar.titleyes:Ar.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),Za.question_type===3&&qa.createElement("div",{className:Ar.completion},(hi=Za==null?void 0:Za.standard_answers)==null?void 0:hi.map((po,Ki)=>{var Oi;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Ki+1),qa.createElement("div",{className:Ar.content},(Oi=po.answer_text)==null?void 0:Oi.map((ea,xo)=>qa.createElement("div",{key:xo,className:Ar.items},qa.createElement("pre",{className:"mb0"},ea)))))})),Za.question_type===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(mi=Za==null?void 0:Za.answer_texts)!=null&&mi[0]?qa.createElement(fe.Z,{className:Ar.content,value:(pr=Za==null?void 0:Za.answer_texts)==null?void 0:pr[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Za!=null&&Za.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ce==null?void 0:ce.question_type)===8&&qa.createElement("div",null,qa.createElement(fe.Z,{disabledFill:!0,className:Ar.content,showProgramFill:!0,value:Hl.Base64.decode(((ta=ce==null?void 0:ce.program_attr)==null?void 0:ta.code)||"")})),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&qa.createElement("div",{className:Ar.bottom},qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u89E3\u6790"),qa.createElement("span",{className:Ar.right},ce!=null&&ce.analysis?qa.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u96BE\u5EA6"),qa.createElement("span",{className:Ar.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),qa.createElement("div",{className:Ar.bottomitem},qa.createElement("span",{className:Ar.left},"\u77E5\u8BC6\u70B9"),qa.createElement(ct.Z,{title:((oa=ce==null?void 0:ce.tag_discipline_names)==null?void 0:oa.length)<=0||((Ka=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ka.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(ya=(Pn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Pn.join("\uFF1B"))==null?void 0:ya.toString()},qa.createElement("span",{className:Ar.right},((ja=ce==null?void 0:ce.tag_discipline_names)==null?void 0:ja.length)<=0?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((qr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:qr.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(li=(cr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:cr.join("\uFF1B"))==null?void 0:li.toString())))))},ts=ee(42609),cu=ee(35173),Qi=ee(59301),ls=Object.defineProperty,us=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Gu=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,ru=(ce,pe,Pe)=>pe in ce?ls(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fu=(ce,pe)=>{for(var Pe in pe||(pe={}))Jl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);if(Gu)for(var Pe of Gu(pe))Xl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);return ce},Wu=(ce,pe)=>us(ce,ss(pe)),me=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),ye=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:Ht=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{xn.setFieldsValue(Wu(fu({},ce),{name:ce.question_title,answer_texts:ce.answer_texts,repeat_answer:!ce.repeat_answer}))},[ce]),Qi.createElement("div",null,Qi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{tn(Wu(fu(fu({},ce),Ct),{answer_texts:Ct==null?void 0:Ct.answer_texts,question_title:Ct==null?void 0:Ct.name}))},onFinishFailed:Ct=>me(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Qi.createElement("div",{style:{display:"flex",alignItems:"center"}},Qi.createElement("div",{style:{flex:1}},Qi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Qi.createElement("span",null,"\u7B80\u7B54\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Qi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Qi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Qi.createElement(Ge.ZP,{onClick:()=>{ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(Wu(fu({},ce),{name:ce==null?void 0:ce.question_title,answer_texts:ce.answer_texts||[],repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),Qi.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Qi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Qi.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")},Qi.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Qi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Qi.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Qi.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.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})),Qi.createElement(cu.W,{form:xn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Qi.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},tt=ee(59301),it=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Wt=({setScoreShow:ce,ScoreShow:pe,exerciseitem:Pe,getdata:Ot})=>{var tn,wa,ma;const[zn,Ht]=(0,b.useState)(!1);function Yn(){return it(this,null,function*(){var xn,Ct,gn;let In=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(Hn=>Hn.Singlequestion))==null?void 0:Ct.map(Hn=>({question_type:Hn.question_type,score:Hn.Singlequestion})),ra=yield(0,ne.ZP)(`/api/exercises/${(gn=Pe==null?void 0:Pe.exercise)==null?void 0:gn.id}/batch_set_score.json`,{method:"POST",body:{question_arr:In}});(ra==null?void 0:ra.status)===0&&Ot()})}return tt.createElement("div",null,pe&&tt.createElement(Ye.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:pe,width:640,centered:!0,zIndex:10,className:mt.scoremodal,onCancel:()=>{ce(!1)},onOk:()=>{var xn,Ct,gn;if(Pe!=null&&Pe.use_blank_score&&((gn=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(In=>In.name==="\u586B\u7A7A\u9898"))==null?void 0:Ct[0])!=null&&gn.Singlequestion)){Ht(!0);return}Yn(),ce(!1)}},tt.createElement("div",{className:"c-black"},"\u603B\u5206",tt.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((tn=Pe==null?void 0:Pe.exercise_types)==null?void 0:tn.q_scores))),tt.createElement("div",{className:mt.content},tt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),tt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),tt.createElement("span",null,"\u9898\u578B\u603B\u5206"),tt.createElement("span",null,"\u64CD\u4F5C")),(ma=(wa=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:wa.filter(xn=>xn.name!=="\u5B9E\u8BAD\u9898"&&xn.name!=="\u7EC4\u5408\u9898"))==null?void 0:ma.map(xn=>{var Ct;return tt.createElement("div",{className:mt.items},tt.createElement("span",null,xn==null?void 0:xn.name),tt.createElement("span",null,(Ct=xn==null?void 0:xn.items)==null?void 0:Ct.length),tt.createElement("span",null,xn==null?void 0:xn.score),tt.createElement("span",null,"\u6BCF\u9898",tt.createElement(Ve.Z,{max:100,precision:1,min:.1,onChange:gn=>{xn.Singlequestion=gn},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),tt.createElement(Ye.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:zn,width:640,closable:!1,className:mt.scoremodal},tt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",tt.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"),tt.createElement("div",{className:mt.bottom},tt.createElement(Ge.ZP,{className:mt.no,onClick:()=>{Ht(!1)}},"\u53D6\u6D88"),tt.createElement(Ge.ZP,{className:mt.yes,onClick:()=>{Yn(),Ht(!1),ce(!1)}},"\u786E\u8BA4"))))},Zn=ee(99313),Tn=ee(98228),aa=ee(58421),Ca={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},ga=ee(26422),mn={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const Ba=["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 kn=({qitem:ce})=>{var pe,Pe,Ot,tn,wa,ma,zn,Ht,Yn,xn;return b.createElement("div",{className:mn.warp},b.createElement("div",{className:mn.mainPart},b.createElement("div",{className:mn.qcount},(ce==null?void 0:ce.question_type)===8&&b.createElement(fe.Z,{className:mn.content,showProgramFill:!0,value:(pe=ce==null?void 0:ce.program_attr)==null?void 0:pe.description}),(ce==null?void 0:ce.question_type)!=8&&b.createElement(fe.Z,{className:mn.qtitle,value:(ce==null?void 0:ce.name)||(ce==null?void 0:ce.title)})),((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&b.createElement("div",null,(Pe=ce==null?void 0:ce.choices)==null?void 0:Pe.map((Ct,gn)=>b.createElement("div",{className:mn.redio},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:mn.redioitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${mn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?mn.titleyes:mn.title,value:Ba[gn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&b.createElement("div",null,(Ot=ce==null?void 0:ce.choices)==null?void 0:Ot.map((Ct,gn)=>b.createElement("div",{className:mn.checkbox},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:mn.checkboxitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${mn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?mn.titleyes:mn.title,value:Ba[gn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&b.createElement("div",{className:mn.completion},(tn=ce==null?void 0:ce.standard_answer)==null?void 0:tn.map((Ct,gn)=>{var In;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:mn.title},"\u586B\u7A7A\u9879",gn+1),b.createElement("div",{className:mn.content},(In=Ct==null?void 0:Ct.answer_text)==null?void 0:In.map((ra,Hn)=>b.createElement("div",{className:mn.items},ra))))})),(ce==null?void 0:ce.question_type)===4&&b.createElement("div",{className:mn.simple},b.createElement("div",{className:mn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?b.createElement(fe.Z,{className:mn.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ce==null?void 0:ce.question_type)===5&&((zn=ce==null?void 0:ce.challenge_names)==null?void 0:zn.map((Ct,gn)=>b.createElement("div",{className:mn.shixun},b.createElement("span",{className:mn.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Nt.EM)(gn+1),"\u9898"),Ct)))),(ce==null?void 0:ce.question_type)===6&&b.createElement("div",{className:mn.simple},b.createElement(fe.Z,{className:mn.content,value:((Ht=ce==null?void 0:ce.program_attr)==null?void 0:Ht.description)||"- -"})),(ce==null?void 0:ce.question_type)===7&&((Yn=ce==null?void 0:ce.sub_item_banks)==null?void 0:Yn.map((Ct,gn)=>{var In,ra,Hn,ba,ta;return b.createElement("div",null,b.createElement("div",{className:mn.combination},b.createElement("span",{className:mn.qtitle},Ct==null?void 0:Ct.name)),b.createElement("div",{className:mn.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Ct==null?void 0:Ct.item_type)=="SINGLE"||(Ct==null?void 0:Ct.item_type)=="JUDGMENT")&&((In=Ct==null?void 0:Ct.choices)==null?void 0:In.map((oa,Ka)=>b.createElement("div",{className:mn.redio},!(oa!=null&&oa.is_answer)&&b.createElement("span",{className:mn.redioitem}),(oa==null?void 0:oa.is_answer)&&b.createElement("i",{className:`${mn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:oa!=null&&oa.is_answer?mn.titleyes:mn.title,value:Ba[Ka]+(oa==null?void 0:oa.choice_text)}),(oa==null?void 0:oa.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="MULTIPLE"&&((ra=Ct==null?void 0:Ct.choices)==null?void 0:ra.map((oa,Ka)=>b.createElement("div",{className:mn.checkbox},!(oa!=null&&oa.is_answer)&&b.createElement("span",{className:mn.checkboxitem}),(oa==null?void 0:oa.is_answer)&&b.createElement("i",{className:`${mn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:oa!=null&&oa.is_answer?mn.titleyes:mn.title,value:Ba[Ka]+(oa==null?void 0:oa.choice_text)}),(oa==null?void 0:oa.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="COMPLETION"&&b.createElement("div",{className:mn.completion},(Hn=Ct==null?void 0:Ct.standard_answer)==null?void 0:Hn.map((oa,Ka)=>{var Pn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:mn.title},"\u586B\u7A7A\u9879",Ka+1),b.createElement("div",{className:mn.content},(Pn=oa==null?void 0:oa.answer_text)==null?void 0:Pn.map((ya,ja)=>b.createElement("div",{className:mn.items},ya))))})),(Ct==null?void 0:Ct.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:mn.simple},b.createElement("div",{className:mn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ba=Ct==null?void 0:Ct.answer_texts)!=null&&ba[0]?b.createElement(fe.Z,{className:mn.content,value:(ta=Ct==null?void 0:Ct.answer_texts)==null?void 0:ta[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ce==null?void 0:ce.question_type)===8&&b.createElement("div",null,b.createElement(fe.Z,{disabledFill:!0,className:mn.content,showProgramFill:!0,value:Hl.Base64.decode(((xn=ce==null?void 0:ce.program_attr)==null?void 0:xn.code)||"")})),(ce==null?void 0:ce.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,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.study_count)||"0"))),b.createElement("a",{className:mn.shixunbutton,href:`/shixuns/${ce==null?void 0:ce.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&b.createElement("div",{className:mn.bottom},b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u89E3\u6790"),b.createElement("span",{className:mn.right},ce!=null&&ce.analysis?b.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u96BE\u5EA6"),b.createElement("span",{className:mn.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:mn.right},ce!=null&&ce.tag_discipline?ce==null?void 0:ce.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},sa=ee(86087),Oa=ee(84287),Br=ee(79669),vr=ee(32570),wr=ee(16149),jr=ee(82438),Lr=ee(49692),Gn=ee(59301),Ko=Object.defineProperty,fo=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,zi=(ce,pe,Pe)=>pe in ce?Ko(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,oo=(ce,pe)=>{for(var Pe in pe||(pe={}))ii.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);if(qo)for(var Pe of qo(pe))pi.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);return ce},Lo=(ce,pe)=>fo(ce,zo(pe)),To=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const wi=({setScoreShow:ce,ScoreShow:pe,onOk:Pe,isshixuns:Ot,isloadings:tn,dispatch:wa,shixunsDetail:ma,exercise:zn})=>{var Ht,Yn,xn;let[Ct,gn]=(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,group_id:[]}),[In,ra]=(0,b.useState)([]),[Hn,ba]=(0,b.useState)([]),[ta,oa]=(0,b.useState)([]),[Ka,Pn]=(0,b.useState)([]);const[ya,ja]=(0,b.useState)(!1),[qr]=Be.default.useForm(),[cr,li]=(0,b.useState)(),[Za,Co]=(0,b.useState)(!1);let[Cr,ao]=(0,b.useState)(Ot);const[Eo,hi]=(0,b.useState)([]),[mi,pr]=(0,b.useState)(!0),[po,Ki]=(0,b.useState)([]),[Oi,ea]=(0,b.useState)(0),[xo,Li]=(0,b.useState)([]),Zo=[{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}],[Ci,Ri]=(0,b.useState)({});(0,b.useEffect)(()=>{var ua,er,Go,uo,Fo,Xo,Vi,Di,fl,el;(((Go=(er=(ua=zn==null?void 0:zn.editData)==null?void 0:ua.exercise)==null?void 0:er.exist_item_bank_ids)==null?void 0:Go.length)>0||((Xo=(Fo=(uo=zn==null?void 0:zn.editData)==null?void 0:uo.exercise)==null?void 0:Fo.exist_item_bank_shixun_ids)==null?void 0:Xo.length)>0)&&Li([...(Di=(Vi=zn==null?void 0:zn.editData)==null?void 0:Vi.exercise)==null?void 0:Di.exist_item_bank_ids,...(el=(fl=zn==null?void 0:zn.editData)==null?void 0:fl.exercise)==null?void 0:el.exist_item_bank_shixun_ids])},[(Yn=(Ht=zn==null?void 0:zn.editData)==null?void 0:Ht.exercise)==null?void 0:Yn.exist_item_bank_ids]);const oi=(0,b.useRef)(new Set),il=(0,b.useRef)(new Set);let[ll,jl]=(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 Mi=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],cl=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Bl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Gl,No]=(0,b.useState)(!1),Si=()=>{qr.resetFields(),Cr=!1,ao(!1),No(!1),qr.submit()};(0,b.useEffect)(()=>{Oi>0&&setTimeout(()=>{ea(0)},2e3)},[Oi]),(0,b.useEffect)(()=>{pe&&(qr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),mi&&Cr&&(qr.setFieldsValue({item_type:"SHIXUN"}),Ct.item_type="SHIXUN",gn(oo({},Ct)),pr(!1)),$i(Ct),hl(),Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[pe]);function $i(ua){return To(this,null,function*(){var er,Go,uo;if(ja(!0),gn(ua),(ta==null?void 0:ta.length)<=0&&ua.type==="5"){Pn([]),ja(!1);return}let Fo=ua.type==="5"?ta==null?void 0:ta.filter(Di=>!Eo.includes(Di)):null,Xo=ua.type==="5"?ta==null?void 0:ta.filter(Di=>Eo.includes(Di)):null;ua.group_id=((er=ua.group_id)==null?void 0:er.map(Di=>Di==null?void 0:Di.value))||null;let Vi=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Lo(oo({},ua),{discipline_id:((Go=ua==null?void 0:ua.courseid)==null?void 0:Go[0])||null,sub_discipline_id:((uo=ua==null?void 0:ua.courseid)==null?void 0:uo[1])||null,ids:Fo,shixun_ids:Xo,keyword:ua.keyword?encodeURIComponent(ua.keyword):ua.keyword,include_shixuns:!0,type:ua.type==="5"?null:ua.type,clazz:ua.type==="3"?"ItemBanksGroup":null})});Pn(Vi),ja(!1)})}function Zi(ua){return To(this,null,function*(){var er;let Go=yield(0,ne.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ua}),uo=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(er=Go==null?void 0:Go.data)==null?void 0:er.map(Fo=>({title:Fo.name,id:Fo.id,pid:Fo.id,value:Fo.id,key:Fo.id,isLeaf:!Fo.have_child}))}];Ki(uo)})}function hl(){return To(this,null,function*(){let ua=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ct.type==="5"?null:Ct.type,clazz:"ItemBanksGroup"}});ra((0,ga.L)(ua==null?void 0:ua.disciplines))})}function ul(ua){return To(this,null,function*(){var er,Go,uo,Fo;ja(!0);let Xo=(er=ua.list)==null?void 0:er.filter(fl=>!Eo.includes(fl)),Vi=(Go=ua.list)==null?void 0:Go.filter(fl=>Eo.includes(fl));if(Xo.length===0&&Vi.length===0){ja(!1),Pn([]);return}let Di=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Lo(oo({},ua),{discipline_id:((uo=ua==null?void 0:ua.courseid)==null?void 0:uo[0])||null,sub_discipline_id:((Fo=ua==null?void 0:ua.courseid)==null?void 0:Fo[1])||null,ids:Xo,shixun_ids:Vi,type:ua.type==="5"?null:ua.type,clazz:ua.type==="3"?"ItemBanksGroup":null})});ja(!1),Pn(Di)})}const sl=(0,de.useParams)(),[wl,Rl,ml,qi]=(0,Br.P)(),Wl=ua=>To(void 0,null,function*(){const er=yield wa({type:"shixunsDetail/release",payload:{id:ua}});let Go=er==null?void 0:er.tag_position,uo=(er==null?void 0:er.evaluation_set_position)||[],Fo=er.status;return Fo===0?(Ne.ZP.success("\u53D1\u5E03\u6210\u529F"),$i(Ct),!0):(Fo===2?Ne.ZP.error(`\u7B2C${uo.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Fo===3?Ne.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Go.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ne.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Jo=ua=>(ua==null?void 0:ua.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",vu=(ua,er,Go)=>ua.map(uo=>uo.key===er?oo(oo({},uo),Go):uo.children?Lo(oo({},uo),{children:vu(uo.children,er,Go)}):uo),pu=ua=>To(void 0,null,function*(){const{key:er}=ua;let Go=Ct.type;const uo=yield(0,wr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(er),type:Go}),{data:Fo,total_count:Xo}=uo||{};Xo>0&&Ki(Vi=>vu(Vi,er,{children:Fo.map(Di=>({title:Di.name,id:Di.id,pid:Di.id,value:Di.id,key:Di.id,isLeaf:!Di.have_child}))}))});function Kl(ua){console.log("----",Ct),ua==="1"&&(ll.gg=oo({},Ct)),ua==="2"&&(ll.scj=oo({},Ct)),ua==="3"&&(ll.ttgx=oo({},Ct)),ua==="0"&&(ll.wcjd=oo({},Ct)),ua==="5"&&(ll.yx=oo({},Ct)),jl(oo({},ll))}function gu(){Ct.type==="1"&&(Ct=ll.gg),Ct.type==="2"&&(Ct=ll.scj),Ct.type==="3"&&(Ct=ll.ttgx),Ct.type==="0"&&(Ct=ll.wcjd),Ct.type==="5"&&(Ct=ll.yx),(Ct==null?void 0:Ct.item_type)==="SHIXUN"?(Cr=!0,ao(!0)):(Cr=!1,ao(!1)),qr.setFieldsValue(oo({},Ct)),gn(oo({},Ct)),$i(oo({},Ct))}return Gn.createElement("div",null,Gn.createElement(Ye.default,{title:!1,footer:!1,open:pe,width:1200,centered:!0,className:Ca.scoremodal,onCancel:()=>{ce(!1)}},Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement("div",{className:Ca.title},"\u9898\u5E93\u9009\u9898")),Gn.createElement(Zn.default,{className:Ca.tabWrap,activeKey:Ct.type,onChange:ua=>{ua==="3"?(Ct.show_all_share=!0,Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ct.show_all_share=null,ua==="0"&&Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Kl(Ct.type),Ct.type=ua,(Ct==null?void 0:Ct.item_type)==="SHIXUN"&&Ct.type!=="5"&&(Cr=!0,ao(!0)),No(!1),Ct.type==="5"&&(Cr=!1,ao(!1)),gu(),hl()},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:Gn.createElement("div",null,"\u5DF2\u9009",ta.length>0&&Gn.createElement("span",{className:Ca.titlecount},ta.length),Oi>0&&Gn.createElement("span",{className:Ca.add},"+",Oi)),key:"5"}]}),Gn.createElement(Be.default,{layout:"inline",form:qr,onValuesChange:(ua,er)=>{var Go,uo;const Fo=Object.values(er).some(Vi=>Vi!==null&&Vi!==""&&Vi!==void 0),Xo=er.keyword==="";if(No(Fo||!Xo),Ct.page=1,Ct.keyword=(uo=(Go=Ct.keyword)==null?void 0:Go.replace)==null?void 0:uo.call(Go,/^\s+|\s+$/g,""),(er==null?void 0:er.item_type)==="SHIXUN"){if(Ct.type==="5"?ao(!1):ao(!0),ua.keyword||ua.keyword==="")return;qr.submit()}else{if(ua!=null&&ua.courseid&&qr.setFieldsValue({tag_discipline_id:""}),ao(!1),ua.keyword||ua.keyword==="")return;qr.submit()}},onFinish:ua=>{var er;Ct.type==="3"&&(!ua.group_id||((er=ua==null?void 0:ua.group_id)==null?void 0:er.length)===0)?Ct.show_all_share=!0:Ct.show_all_share=null,gn(oo(oo({},Ct),ua)),$i(oo(oo({},Ct),ua))}},Gn.createElement(Be.default.Item,{name:"item_type"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},Zo.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),Gn.createElement(Be.default.Item,{name:"courseid"},Gn.createElement(le.Z,{className:Ca.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:In})),!Cr&&Gn.createElement(Be.default.Item,{name:"tag_discipline_id"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(xn=Ka==null?void 0:Ka.tag_disciplines)==null?void 0:xn.map(ua=>Gn.createElement(ve.default.Option,{key:ua.id},ua.name)))),Gn.createElement(Be.default.Item,{name:Cr?"diff":"difficulty"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Cr&&Mi.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)),Cr&&cl.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),Cr&&Gn.createElement(Be.default.Item,{name:"shixun_publish_status"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Bl.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),(Ct.type==="3"||Ct.type==="0")&&!Cr&&Gn.createElement(Be.default.Item,{name:"group_id"},Gn.createElement(Tn.default,{treeDataSimpleMode:!0,style:{width:118},className:Ca.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(ua,er)=>er.title.toUpperCase().indexOf(ua.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:pu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:po})),Gl&&Gn.createElement("span",{className:Ca.allqingchu,onClick:Si},Gn.createElement("i",{className:"iconfont icon-guanbi4"}),Gn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Gn.createElement(Be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Gn.createElement(ke.default.Search,{className:Ca.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Gn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Ca.searchIcon}`,onClick:()=>qr.submit()}),onSearch:ua=>{qr.submit()}}))),Gn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Gn.createElement("div",{onClick:()=>{Ct.updated_at==="asc"?Ct.updated_at="desc":Ct.updated_at="asc",gn(Lo(oo({},Ct),{page:1})),$i(Lo(oo({},Ct),{page:1}))}}," ",Ct.updated_at?Gn.createElement("img",{src:Ct.updated_at==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Gn.createElement("div",{onClick:()=>{Ct.quotes==="asc"?Ct.quotes="desc":Ct.quotes="asc",gn(Lo(oo({},Ct),{page:1})),$i(Lo(oo({},Ct),{page:1}))},style:{marginLeft:20}}," ",Ct.quotes?Gn.createElement("img",{src:Ct.quotes==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Gn.createElement(Bu.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ka==null?void 0:Ka.items)||(Ka==null?void 0:Ka.shixun_list),pagination:!1,loading:ya,rowKey:ua=>ua.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Hn,...xo],getCheckboxProps:ua=>({disabled:ua.shixun_tag_num===1||(xo==null?void 0:xo.find(er=>ua.id===er))}),onSelect(ua,er,Go){if(er)Cr&&hi([...Eo,ua.id]),ba([...Hn,ua.id]),ua.identifier?oi.current.add(ua.id):il.current.add(ua.id),ea(1),oa([...ta,ua.id]);else{ua.identifier?oi.current.delete(ua.id):il.current.delete(ua.id);let uo=ta.filter(Fo=>Fo!==ua.id);if(ba(uo),oa(uo),Cr){let Fo=Eo.filter(Xo=>Xo!==ua.id);hi([...Fo])}if(Ct.type==="5"){ul(Lo(oo({},Ct),{list:[...uo]}));return}}},onSelectAll(ua,er,Go){if(ua){const uo=Go.map(Fo=>Fo.id);Cr&&hi([...Eo,...uo]),ba([...Hn,...uo]),oa([...ta,...uo]);for(const Fo of Go)Fo.identifier?oi.current.add(Fo.id):il.current.add(Fo.id)}else{const uo=Go.map(Xo=>Xo.id),Fo=Hn.filter(Xo=>!uo.some(Vi=>Vi===Xo));if(ba([...Fo]),oa([...Fo]),Cr){let Xo=Eo.filter(Vi=>!uo.some(Di=>Di===Vi.id));hi([...Xo])}Ct.type==="5"&&ul(Lo(oo({},Ct),{list:[...Fo]}));for(const Xo of uo)Xo.identifier?oi.current.delete(Xo):il.current.delete(Xo)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(ua,er,Go)=>{var uo,Fo;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?"\u5B9E\u8BAD\u9898":(Fo=(uo=Zo==null?void 0:Zo.filter(Xo=>Xo.value===ua))==null?void 0:uo[0])==null?void 0:Fo.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Cr?"30%":"60%",key:"name",render:(ua,er,Go)=>{var uo;return Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,Gn.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Cr||er!=null&&er.challenge_names?er!=null&&er.title||ua===null?"--":ua:(er==null?void 0:er.item_type)=="BPROGRAM"?(uo=er==null?void 0:er.program_attr)==null?void 0:uo.description:ua}))),(er==null?void 0:er.high_resources_consume)&&Gn.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Cr,render:(ua,er,Go)=>{var uo;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,ua?(uo=ua==null?void 0:ua.split("\u3001"))==null?void 0:uo[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Cr,render:(ua,er,Go)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,ua||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(ua,er,Go)=>{var uo,Fo,Xo,Vi;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?(er==null?void 0:er.level)||((Fo=(uo=Mi==null?void 0:Mi.filter(Di=>Di.value===ua))==null?void 0:uo[0])==null?void 0:Fo.name):(Vi=(Xo=Mi==null?void 0:Mi.filter(Di=>Di.value===ua))==null?void 0:Xo[0])==null?void 0:Vi.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Cr,render:(ua,er,Go)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,ua||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Cr,render:(ua,er,Go)=>Gn.createElement("span",null,ua||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(ua,er,Go)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?(er==null?void 0:er.study_count)||(er==null?void 0:er.stu_num):ua))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(wt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Cr,render:(ua,er,Go)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,ua||"- -"))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(wt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Cr,render:(ua,er,Go)=>Gn.createElement("span",null,ua||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(ua,er,Go)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",{style:{flex:1,textAlign:"start"}},Gn.createElement("a",{onClick:()=>{var uo,Fo;li(Lo(oo({},er),{question_type:Cr||er!=null&&er.challenge_names?5:(Fo=(uo=Zo==null?void 0:Zo.filter(Xo=>Xo.value===(er==null?void 0:er.item_type)))==null?void 0:uo[0])==null?void 0:Fo.question_type})),Co(!0)}},"\u67E5\u770B"),(er==null?void 0:er.shixun_tag_num)===1&&Gn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Gn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Gn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${er==null?void 0:er.identifier}/challenges`)}},(er==null?void 0:er.shixun_name)||"--"),"\uFF1F"),onOk:()=>To(void 0,null,function*(){if(!Wl(er==null?void 0:er.identifier))return new Promise((uo,Fo)=>{Fo()})})})}},"\u53D1\u5E03")))}].filter(ua=>!ua.hidden)}),Gn.createElement(aa.Z,{current:Ct.page,total:(Ka==null?void 0:Ka.items_count)||(Ka==null?void 0:Ka.shixuns_count),style:{marginBottom:20},defaultPageSize:Ct.per_page,showTotal:ua=>Gn.createElement("span",null,"\u5171\xA0",Gn.createElement("span",{style:{color:"#165DFF"}},ua),"\xA0\u6761\u6570\u636E"),pageSize:Ct.per_page,onChange:(ua,er)=>{Ct.page=ua,Ct.per_page=er,gn(oo({},Ct)),$i(oo({},Ct))}}),Gn.createElement("div",{className:Ca.bottom},Gn.createElement(Ge.ZP,{className:Ca.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),Gn.createElement(Ge.ZP,{loading:tn,style:{width:tn&&75},className:Ca.yes,onClick:()=>To(void 0,null,function*(){if((ta==null?void 0:ta.length)<=0){Ne.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let ua=yield(0,Lr.Tr)({id:[...ta==null?void 0:ta.filter(er=>Eo.includes(er))],course_id:sl.coursesId,type:"shixun"});(ua==null?void 0:ua.student_count)===0?Pe([...il.current],[...ta==null?void 0:ta.filter(er=>Eo.includes(er))],!0,ta==null?void 0:ta.length):Ri(ua)})},"\u786E\u8BA4"))),Gn.createElement(Ye.default,{open:Za,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Ca.previewModal,width:1e3,centered:!0,onCancel:()=>{Co(!1)},onOk:()=>{Co(!1)}},Gn.createElement(kn,{qitem:cr})),Gn.createElement(jr.Z,{resdata:Ci,type:"exercise",okloading:tn,oktext:(Ci==null?void 0:Ci.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ua=>To(void 0,null,function*(){const er=[],Go=[];for(const uo of Ci==null?void 0:Ci.can_copy_list)er.push(uo.id);Rl(),yield Pe([...il.current],[...oi.current].filter(uo=>!Go.includes(uo)),!0,ta==null?void 0:ta.length,er)})}))};var Ni=(0,de.connect)(({shixunsDetail:ce,exercise:pe})=>({shixunsDetail:ce,exercise:pe}))(wi),fi=ee(90502),Ro=ee(59301),ol=Object.defineProperty,Xi=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Pt=(ce,pe,Pe)=>pe in ce?ol(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Et=(ce,pe)=>{for(var Pe in pe||(pe={}))Qe.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);if(Ce)for(var Pe of Ce(pe))rt.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);return ce},$t=(ce,pe)=>Xi(ce,Ee(pe)),Yt=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Cn=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:Ht=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=!0;return(0,b.useEffect)(()=>{var gn,In,ra;xn.setFieldsValue($t(Et({},ce),{standard_answers:ce.standard_answer,difficulty:(ce==null?void 0:ce.difficult)||2,item_banks_group_id:ce.item_banks_group_id,hack:$t(Et({},ce),{time_limit:(ce==null?void 0:ce.time_limit)||3}),hack_codes:{language:(gn=ce==null?void 0:ce.program_attr)==null?void 0:gn.language,code:Hl.Base64.decode(((In=ce==null?void 0:ce.program_attr)==null?void 0:In.code)||"")},hack_sets:Et({},(ra=ce==null?void 0:ce.hack_sets)==null?void 0:ra[0]),repeat_answer:!ce.repeat_answer}))},[ce]),Ro.createElement("div",null,Ro.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.standard_answers){let oa=((ra=xn.getFieldValue("standard_answers"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("standard_answers"))==null?void 0:Hn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(oa==null?void 0:oa.length)>0&&((ta=oa.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:gn=>{var In;tn($t(Et(Et({},ce),gn),{item_type:ce==null?void 0:ce.question_type,standard_answers:(In=gn.standard_answers)==null?void 0:In.map((ra,Hn)=>$t(Et({},ra),{position:Hn+1})),hack_codes:$t(Et({},gn.hack_codes),{code:Hl.Base64.encode(gn.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:gn=>Yt(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},Ro.createElement("div",{style:{display:"flex",alignItems:"center"}},Ro.createElement("div",{style:{flex:1}},Ro.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ro.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Ro.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Ro.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Ro.createElement(Ge.ZP,{onClick:()=>{var gn,In,ra,Hn;ce.isadd?(Ot(!1),zn()):(xn.setFieldsValue($t(Et({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:$t(Et({},ce),{sub_discipline_id:(gn=Pe==null?void 0:Pe.exercise)==null?void 0:gn.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(In=ce==null?void 0:ce.program_attr)==null?void 0:In.language,code:Hl.Base64.decode((ra=ce==null?void 0:ce.program_attr)==null?void 0:ra.code)},hack_sets:Et({},(Hn=ce==null?void 0:ce.hack_sets)==null?void 0:Hn[0]),repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Ro.createElement(ct.Z,{overlayClassName:mt.shake,open:Ht,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ro.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ro.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")},Ro.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Ro.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ro.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Ro.createElement(fi.t,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,hackidentifier:ce==null?void 0:ce.hack_identifier,answerKey:"standard_answers"}),Ro.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},vn=ee(3294),pn=ee(88918),qn=ee(94941),na=ee(89392),ca=ee(36061),Aa=ee(14791),Kt=ee(59301),Xa=Object.defineProperty,_a=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Gr=(ce,pe,Pe)=>pe in ce?Xa(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,zr=(ce,pe)=>{for(var Pe in pe||(pe={}))$r.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);if(Tr)for(var Pe of Tr(pe))Dr.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);return ce},tr=(ce,pe)=>_a(ce,rr(pe)),nr=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const{confirm:fr}=Ye.default,Wa=[{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"}],or=({user:ce,dispatch:pe,itemid:Pe,setisedits:Ot,exercise:tn,setitemid:wa})=>{var ma,zn,Ht,Yn,xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr,cr,li,Za,Co,Cr,ao,Eo,hi,mi;const[pr,po]=(0,b.useState)(),[Ki,Oi]=(0,b.useState)(!1),[ea,xo]=(0,b.useState)(),[Li,Zo]=(0,b.useState)(),Ci=(0,b.useRef)(),Ri=(0,b.useRef)(),[oi,il]=(0,b.useState)(),[ll,jl]=(0,b.useState)(!1),[Mi,cl]=(0,b.useState)(!1),[Bl,Gl]=(0,b.useState)(),[No,Si]=(0,b.useState)(!1),[$i,Zi]=(0,b.useState)(!1),[hl,ul]=(0,b.useState)(!1),[sl,wl]=(0,b.useState)(!1),[Rl,ml]=(0,b.useState)(!1),[qi,Wl]=(0,b.useState)(!1),Jo=(0,de.useParams)(),[vu,pu]=(0,b.useState)(!1),[Kl]=Be.default.useForm(),[gu,ua]=(0,b.useState)(!1),[er,Go]=(0,b.useState)(!1),[uo,Fo]=(0,b.useState)(!1),[Xo,Vi]=(0,b.useState)(!1),Di=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&el()},[Pe]),(0,b.useEffect)(()=>{Ot(Mi)},[Mi]),(0,b.useEffect)(()=>{ea!=null&&ea.question_id&&(Zo(ea==null?void 0:ea.question_score),Ri.current=ea==null?void 0:ea.question_id)},[ea]);const fl=Va=>nr(void 0,null,function*(){let io=yield pe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Va}});pe({type:"globalSetting/footerToggle",payload:!1}),Gl(io)});function el(){return nr(this,null,function*(){var Va,io,Uo,ci,ti,Ho;jl(!0),Oi(!0);const Ii=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});jl(!1),Oi(!1),po(Ii),ml(!1),(Va=Ii==null?void 0:Ii.exercise)!=null&&Va.sub_discipline_id&&fl((io=Ii==null?void 0:Ii.exercise)==null?void 0:io.sub_discipline_id),xo(tr(zr({},(ti=(ci=(Uo=Ii==null?void 0:Ii.exercise_question_types)==null?void 0:Uo[0])==null?void 0:ci.items)==null?void 0:ti[0]),{index:1})),il(tr(zr({},(Ho=Ii==null?void 0:Ii.exercise_question_types)==null?void 0:Ho[0]),{indexs:1}))})}function Ml(Va,io=!0){return nr(this,null,function*(){var Uo,ci,ti,Ho;io&&(jl(!0),Oi(!0));const Ii=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(Ii);let Gi=[];(Uo=Ii==null?void 0:Ii.exercise_question_types)==null||Uo.map(Ol=>{var Ul;(Ul=Ol==null?void 0:Ol.items)==null||Ul.map((Eu,Du)=>{Gi.push(tr(zr({},Eu),{index:Du+1}))})});let Cl=(ci=Gi.filter(Ol=>Ol.question_id===(Va==null?void 0:Va.id)))==null?void 0:ci[0],Su=(Ho=((ti=Ii==null?void 0:Ii.exercise_question_types)==null?void 0:ti.map((Ol,Ul)=>{if((Cl==null?void 0:Cl.question_type)===(Ol==null?void 0:Ol.question_type))return tr(zr({},Ol),{indexs:Ul+1})})).filter(Ol=>Ol))==null?void 0:Ho[0];il(zr({},Su)),xo(zr({},Cl)),Zo(Cl==null?void 0:Cl.question_score),jl(!1),Oi(!1),ml(!1)})}function ou(Va){return nr(this,null,function*(){var io;let Uo=tr(zr({},Va),{repeat_answer:!Va.repeat_answer,difficulty:(Va==null?void 0:Va.difficulty)||2,item_type:Va.question_type,sub_discipline_id:((io=Va==null?void 0:Va.sub_discipline_id)==null?void 0:io[1])||"",tag_discipline_ids:[],hack:tr(zr({},Va==null?void 0:Va.hack),{difficult:(Va==null?void 0:Va.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Va.tag_discipline_ids&&(Uo.tag_discipline_ids=Array.isArray(Va.tag_discipline_ids)?Va.tag_discipline_ids:[Va.tag_discipline_ids]);let ci=Rl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Va==null?void 0:Va.question_id}.json`;if((Va==null?void 0:Va.is_my)===1){const ti=fr({title:"\u63D0\u793A",content:Kt.createElement("div",null,Kt.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),Kt.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{ti.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>nr(this,null,function*(){Uo.is_cover=1;let Ho=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(Ho==null?void 0:Ho.status)===0&&(cl(!1),Ml({id:(Ho==null?void 0:Ho.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()}),onCancel:()=>nr(this,null,function*(){let Ho=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(Ho==null?void 0:Ho.status)===0&&(cl(!1),Ml({id:(Ho==null?void 0:Ho.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()})})}else{let ti=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(ti==null?void 0:ti.status)===0&&(cl(!1),Ml({id:(ti==null?void 0:ti.exercise_question_id)||(Va==null?void 0:Va.question_id)}))}(0,Nt.Vf)("#question-scroll-id")})}function ei(Va){return nr(this,null,function*(){var io,Uo;Oi(!0);let ci=yield(0,ne.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Va}});if(Oi(!1),(ci==null?void 0:ci.status)===0){const ti=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(ti),ml(!1),(io=ti==null?void 0:ti.exercise)!=null&&io.sub_discipline_id&&fl((Uo=ti==null?void 0:ti.exercise)==null?void 0:Uo.sub_discipline_id)}})}const Hi=(Va,io,Uo)=>nr(void 0,null,function*(){var ci;if(Va.length===0){Ne.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Uo();return}const ti={id:Jo==null?void 0:Jo.exerciseId,file:(ci=Va[0])==null?void 0:ci.file,sub_discipline_id:io};Vl(ti,`${vn.Z.API_SERVER}/api/courses/${Jo==null?void 0:Jo.coursesId}/exercises/import_exercise.json`,Ho=>{var Ii;if((Ho==null?void 0:Ho.status)===0){const Gi={};(Ii=Ho==null?void 0:Ho.fail)==null||Ii.forEach($l=>{var Su;((Su=Object.keys(Gi))==null?void 0:Su.includes($l.message))?Gi[$l.message]=Gi[$l.message]+1:Gi[$l.message]=1});let Cl=`\u6210\u529F\u5BFC\u5165${Ho==null?void 0:Ho.success}\u6761`;Object.keys(Gi).forEach($l=>{Cl=Cl+`,${$l}${Gi[$l]}\u6761`}),Ne.ZP.success(Cl),Si(!1),el()}(Ho==null?void 0:Ho.status)===-1&&(Ne.ZP.error(Ho==null?void 0:Ho.message),Uo())})}),Dl=(Va,io)=>nr(void 0,null,function*(){const Uo=yield(0,qn.zR)({score:(0,na.round)(Va,1),question_id:io==null?void 0:io.question_id});if((Uo==null?void 0:Uo.status)===0){Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Ri.current},!1);return}(Uo==null?void 0:Uo.status)===-1&&Zo(io==null?void 0:io.question_score)}),El=()=>{Vi(!0)};(0,b.useEffect)(()=>{if(Xo){const Va=setTimeout(()=>{Vi(!1)},2e3);return()=>clearTimeout(Va)}},[Xo]);const Vl=(Va,io,Uo,ci,ti)=>{const Ho=new FormData;Object.keys(Va).forEach(Gi=>{Ho.append(Gi,Va[Gi])});const Ii=new window.XMLHttpRequest;return Ii.withCredentials=!0,Ii.addEventListener("load",function(Gi){var Cl;Uo(JSON.parse((Cl=Gi==null?void 0:Gi.target)==null?void 0:Cl.response))},!1),Ii.addEventListener("error",function(Gi){ti&&ti(Gi)},!1),Ii.upload.onprogress=Gi=>{ci&&ci(Gi)},Ii.open("POST",io),Ii.send(Ho),Ii};function kl(){return nr(this,null,function*(){Ye.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:mt.modalconfirm,onOk:()=>nr(this,null,function*(){if(ea.question_id){let Va=yield(0,ne.ZP)(`/api/exercise_questions/${ea.question_id}.json`,{method:"delete"});(Va==null?void 0:Va.status)===0&&(el(),cl(!1))}else xo({}),cl(!1),el()}),cancelText:"\u53D6\u6D88"})})}const Ku=Va=>nr(void 0,null,function*(){return yield(0,ne.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:zr({},Va)})}),{overflow:Vu,handleMouseEnter:$u,handleMouseLeave:hu}=(0,pn.I)(),Es=(Va,io)=>Kt.createElement(Zt.default,null,Kt.createElement(Zt.default.Item,{key:"0",onClick:()=>vs(Va==null?void 0:Va.question_type)},Kt.createElement("span",{className:mt.moreSpan},"\u65B0\u589E")),Kt.createElement(Zt.default.Item,{key:"1",disabled:io===0,onClick:()=>nr(void 0,null,function*(){if(io===0)return;if(Mi){El();return}let Uo=(0,Nt.rz)(pr==null?void 0:pr.exercise_question_types,io,io-1);yield ei(Uo.map(ci=>ci.name))})},Kt.createElement("span",{className:mt.moreSpan},"\u4E0A\u79FB")),Kt.createElement(Zt.default.Item,{key:"2",disabled:io===(pr==null?void 0:pr.exercise_question_types.length)-1,onClick:()=>nr(void 0,null,function*(){if(io===(pr==null?void 0:pr.exercise_question_types.length)-1)return;if(Mi){El();return}let Uo=(0,Nt.rz)(pr==null?void 0:pr.exercise_question_types,io,io+1);yield ei(Uo.map(ci=>ci.name))})},Kt.createElement("span",{className:mt.moreSpan},"\u4E0B\u79FB")),Kt.createElement(Zt.default.Item,{key:"3",onClick:()=>{var Uo;Kl.setFieldsValue({name:Va.name,item_type_en:(Uo=Wa.find(ci=>ci.id==Va.question_type))==null?void 0:Uo.nameType}),ua(!0)}},Kt.createElement("span",{className:mt.moreSpan},"\u91CD\u547D\u540D"))),vs=Va=>{var io,Uo,ci,ti,Ho,Ii,Gi,Cl,$l,Su,Ol,Ul,Eu,Du,ps,hs,Ei,Jr,Io,Pi,Yi,Pu,Ql,iu;if(Mi){El();return}if(ml(!0),Va===5){ul(!0),wl(!0);return}if(Va===6){let ql=(Uo=(io=tn==null?void 0:tn.editData)==null?void 0:io.exercise)!=null&&Uo.set_question_sub_discipline?`/problems/newcreate?express_id=${(ci=pr==null?void 0:pr.exercise)==null?void 0:ci.id}&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(Ho=(ti=tn==null?void 0:tn.editData)==null?void 0:ti.exercise)==null?void 0:Ho.discipline_id}&sub_discipline_id=${(Gi=(Ii=tn==null?void 0:tn.editData)==null?void 0:Ii.exercise)==null?void 0:Gi.sub_discipline_id}`:`/problems/newcreate?express_id=${(Cl=pr==null?void 0:pr.exercise)==null?void 0:Cl.id}&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2`;de.history.push(ql);return}cl(!0),xo(Va===2?{question_type:Va,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:"",question_title:"",tag_discipline_ids:[],discipline_id:(Su=($l=tn==null?void 0:tn.editData)==null?void 0:$l.exercise)!=null&&Su.set_question_sub_discipline?(Ul=(Ol=tn==null?void 0:tn.editData)==null?void 0:Ol.exercise)==null?void 0:Ul.discipline_id:0,sub_discipline_id:(Du=(Eu=tn==null?void 0:tn.editData)==null?void 0:Eu.exercise)!=null&&Du.set_question_sub_discipline?(hs=(ps=tn==null?void 0:tn.editData)==null?void 0:ps.exercise)==null?void 0:hs.sub_discipline_id:0,analysis:""}:{question_type:Va,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:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Jr=(Ei=tn==null?void 0:tn.editData)==null?void 0:Ei.exercise)!=null&&Jr.set_question_sub_discipline?(Pi=(Io=tn==null?void 0:tn.editData)==null?void 0:Io.exercise)==null?void 0:Pi.discipline_id:0,sub_discipline_id:(Pu=(Yi=tn==null?void 0:tn.editData)==null?void 0:Yi.exercise)!=null&&Pu.set_question_sub_discipline?(iu=(Ql=tn==null?void 0:tn.editData)==null?void 0:Ql.exercise)==null?void 0:iu.sub_discipline_id:0,downcase:!0,no_space:!0})},ds=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Si(!0)}}];return console.log(oi==null?void 0:oi.question_type,ea==null?void 0:ea.question_type),Kt.createElement("div",null,Kt.createElement(Fn.Z,{spinning:ll},Kt.createElement("div",{className:mt.bg},((ma=pr==null?void 0:pr.exercise_types)==null?void 0:ma.q_counts)===0&&!Mi&&Kt.createElement(ut.Z,{styles:{marginTop:180},customText:Kt.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Kt.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((zn=pr==null?void 0:pr.exercise_types)==null?void 0:zn.q_counts)>0||Mi)&&Kt.createElement("div",{style:{textAlign:"center"}},Kt.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Kt.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Kt.createElement("div",{className:mt.left},Kt.createElement("div",{className:mt.leftAction},((Ht=pr==null?void 0:pr.exercise)==null?void 0:Ht.exercise_status)===1&&Kt.createElement(Ge.ZP,{onClick:()=>{if(Mi){El();return}Zi(!0)},className:mt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Kt.createElement("div",{className:mt.scrollWrapper,style:{overflow:Vu},onMouseEnter:$u,onMouseLeave:hu},(Yn=pr==null?void 0:pr.exercise_question_types)==null?void 0:Yn.map((Va,io)=>Kt.createElement("div",{key:io,className:"mb30"},Kt.createElement("div",{className:mt.title},Kt.createElement("div",{className:mt.titleleft},Kt.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Nt.EM)(io+1),"\u3001\u3010",Va.name,"\u3011"),Kt.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Va.count,"\u5C0F\u9898\uFF0C\u5171",Va.score,"\u5206\uFF09")),Kt.createElement(ze.Z,{dropdownRender:()=>Es(Va,io),placement:"bottomLeft"},Kt.createElement("div",{className:mt.more_style},Kt.createElement("i",{className:"iconfont icon-sandian font12"})))),Kt.createElement(yn,{handleEditing:El,isedit:Mi,setBigqitem:il,bigitem:tr(zr({},Va),{indexs:io+1}),setqitem:Uo=>nr(void 0,null,function*(){var ci;(ci=Ci.current)==null||ci.blur(),xo(Uo)}),qitem:ea,Itemid:Pe,getdata:Ml,data:Va.items})))))),Kt.createElement("div",{id:"question-scroll-id",style:{overflow:Mi?"hidden":"auto"},className:mt.right},!(ea!=null&&ea.isadd)&&Kt.createElement("div",{className:mt.title},!Mi&&Kt.createElement("div",{style:{flex:1}},Kt.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(oi==null?void 0:oi.indexs)&&(0,Nt.EM)(oi==null?void 0:oi.indexs),"\u3001\u3010",oi==null?void 0:oi.name,"\u3011"),Kt.createElement(ct.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Kt.createElement("i",{className:`${mt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Va;Kl.setFieldsValue({name:oi.name,item_type_en:(Va=Wa.find(io=>io.id==oi.question_type))==null?void 0:Va.nameType}),ua(!0)}})),Kt.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",oi==null?void 0:oi.count,"\u5C0F\u9898\uFF0C\u5171",oi==null?void 0:oi.score,"\u5206\uFF09"),(ea==null?void 0:ea.question_type)===6&&Kt.createElement("span",{onClick:()=>{Ye.default.destroyAll(),Fo(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(ea==null?void 0:ea.question_type)===5&&Kt.createElement(st.default,{defaultChecked:(Ct=(xn=tn==null?void 0:tn.editData)==null?void 0:xn.exercise)==null?void 0:Ct.show_challenge_task_pass,onChange:Va=>nr(void 0,null,function*(){let io=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Va.target.checked}});(io==null?void 0:io.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ml({id:Ri.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(ea==null?void 0:ea.question_type)===6&&Kt.createElement("span",{style:{marginLeft:20},onClick:()=>{var Va,io,Uo,ci;Ye.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Kt.createElement("div",null,(ea==null?void 0:ea.question_type)===6&&Kt.createElement(st.default,{defaultChecked:(io=(Va=tn==null?void 0:tn.editData)==null?void 0:Va.exercise)==null?void 0:io.show_hack_sets,onChange:ti=>nr(void 0,null,function*(){let Ho=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:ti.target.checked}});(Ho==null?void 0:Ho.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Ri.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Kt.createElement("br",null),(ea==null?void 0:ea.question_type)===6&&Kt.createElement(st.default,{defaultChecked:(ci=(Uo=tn==null?void 0:tn.editData)==null?void 0:Uo.exercise)==null?void 0:ci.show_hack_description,onChange:ti=>nr(void 0,null,function*(){let Ho=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:ti.target.checked}});(Ho==null?void 0:Ho.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Ri.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")),Kt.createElement("div",{style:{display:"flex",alignItems:"center"}},(ea==null?void 0:ea.question_type)===5&&!Mi&&Kt.createElement("a",{className:mt.shixun,href:`/shixuns/${ea==null?void 0:ea.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Kt.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Mi&&((gn=pr==null?void 0:pr.exercise)==null?void 0:gn.exercise_status)==1&&[0,1,2,4,6].includes(ea==null?void 0:ea.question_type)&&Kt.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Kt.createElement(Ve.Z,{precision:1,ref:Ci,onChange:Va=>Zo(Va),value:Li,onBlur:Va=>{Dl(Va.target.value,ea)}})),!Mi&&((In=pr==null?void 0:pr.exercise)==null?void 0:In.exercise_status)==1&&Kt.createElement(ct.Z,{title:"\u5220\u9664"},Kt.createElement("i",{onClick:()=>{kl()},style:{marginRight:20},className:`${mt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(ea==null?void 0:ea.question_type)!==5&&!Mi&&Kt.createElement(Kt.Fragment,null,(ea==null?void 0:ea.is_my)==1&&Kt.createElement(ct.Z,{title:"\u67E5\u770B\u539F\u9898"},Kt.createElement("i",{className:`${mt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(ea==null?void 0:ea.question_type)==6?window.open(`/problems/newedit/${ea==null?void 0:ea.item_bank_hack_identifier}`):(ea==null?void 0:ea.question_type)==8?window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_id}`)}})),Kt.createElement(ct.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},Kt.createElement("i",{className:`${mt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Di.current=[],Ye.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:Kt.createElement("div",{className:`font14 ${mt.overflow}`,style:{maxHeight:500,overflow:"auto"}},Kt.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),Kt.createElement(Fn.Z,{spinning:!1},Kt.createElement(ca.Z,{defaultValue:!0,value:Di.current,onChange:Va=>Di.current=Va}))),onOk:()=>nr(void 0,null,function*(){var Va;(0,qn.$l)({id:ea==null?void 0:ea.question_id,group_id:((Va=Di==null?void 0:Di.current)==null?void 0:Va[0])||""}).then(io=>{(io==null?void 0:io.status)==0&&(Ne.ZP.success("\u52A0\u5165\u6210\u529F"),el())})})})}}))),!Mi&&(((ra=pr==null?void 0:pr.exercise)==null?void 0:ra.exercise_status)==1||((Hn=pr==null?void 0:pr.exercise)==null?void 0:Hn.exercise_status)==2&&((ta=(ba=ce.userInfo)==null?void 0:ba.course)==null?void 0:ta.course_role)!=15||((oa=pr==null?void 0:pr.exercise)==null?void 0:oa.exercise_status)==3&&((Pn=(Ka=ce.userInfo)==null?void 0:Ka.course)==null?void 0:Pn.course_role)!=15||((ya=pr==null?void 0:pr.exercise)==null?void 0:ya.exercise_status)==4&&((qr=(ja=ce.userInfo)==null?void 0:ja.course)==null?void 0:qr.course_role)!=15)&&Kt.createElement(ct.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Kt.createElement("i",{onClick:()=>{(ea==null?void 0:ea.question_type)===6?de.history.push(`/problems/newedit/${ea==null?void 0:ea.hack_identifier}?type=exercises&express_id=${Jo.exerciseId}&question_id=${ea==null?void 0:ea.question_id}&score=${ea==null?void 0:ea.question_score}&exercise=true&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2`):cl(!0)},className:`${mt.edit} iconfont icon-bianji_Hover ml8`})))),!Mi&&Kt.createElement("div",null,Kt.createElement("div",{className:mt.qcount},Kt.createElement("span",{className:mt.score},ea==null?void 0:ea.question_score,"\u5206"),Kt.createElement(fe.Z,{className:mt.qtitle,value:(ea==null?void 0:ea.index)+`\u3001${(ea==null?void 0:ea.question_type)==8?(cr=ea==null?void 0:ea.program_attr)==null?void 0:cr.description:ea==null?void 0:ea.question_title}`}),(ea==null?void 0:ea.high_resources_consume)&&Kt.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}})),(ea==null?void 0:ea.question_type)===6&&Kt.createElement(at.Z,{onEdit:()=>Fo(1),className:"mt10",dataSource:(ea==null?void 0:ea.languages)||[]}),Kt.createElement(wu,{exercise:tn,TagDiscipline:Bl,qitem:ea})),Mi&&Kt.createElement("div",null,(ea==null?void 0:ea.question_type)<=1&&Kt.createElement(It,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===5&&Kt.createElement(ju,{setqitem:xo,deleteitem:kl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,showTip:Xo}),(ea==null?void 0:ea.question_type)===3&&Kt.createElement(Ea,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===2&&Kt.createElement(Un,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===4&&Kt.createElement(ye,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===7&&Kt.createElement(au,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===8&&Kt.createElement(Cn,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}))))))),Kt.createElement("div",{className:mt.bottomdiv},Kt.createElement("div",{className:mt.exercise_styles},((li=pr==null?void 0:pr.exercise)==null?void 0:li.exercise_status)==1&&Kt.createElement(Kt.Fragment,null,Kt.createElement("span",{className:mt.spanBtn,onClick:()=>{if(Mi){El();return}ul(!0),wl(!1)}},"\u9898\u5E93\u9009\u9898"),Kt.createElement(ze.Z,{menu:{items:ds}},Kt.createElement("span",{className:mt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Kt.createElement("span",{className:mt.spanBtn,onClick:()=>nr(void 0,null,function*(){var Va;let io=yield(0,ne.ZP)(`/api/exercises/${Jo==null?void 0:Jo.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:Jo==null?void 0:Jo.coursesId,categoryId:Jo==null?void 0:Jo.exerciseId}});(io==null?void 0:io.status)!=-1&&window.open(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Jo==null?void 0:Jo.exerciseId}/${(Va=ce.userInfo)==null?void 0:Va.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Kt.createElement("span",{className:mt.spanBtn,onClick:()=>{window.open(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Jo==null?void 0:Jo.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Wa==null?void 0:Wa.map(Va=>Kt.createElement(Ge.ZP,{className:mt.addQuestionBtn,key:Va.id,type:"primary",onClick:()=>{vs(Va.id)}},Va.name))),((Za=pr==null?void 0:pr.exercise)==null?void 0:Za.exercise_status)!=1&&Kt.createElement(Kt.Fragment,null,Kt.createElement("span",{style:{width:"1022px"}})),Kt.createElement("span",{className:mt.saveBtn,onClick:()=>{var Va,io,Uo;if(Mi){El();return}let ci=(io=(Va=pr==null?void 0:pr.exercise_question_types)==null?void 0:Va.filter(Ho=>Ho.question_type===5)[0])==null?void 0:io.items,ti=0;ci==null||ci.map(Ho=>{Ho.high_resources_consume&&(ti=ti+1)}),console.log(ti),ti>0?pe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:ti,fn:()=>{var Ho;((Ho=pr==null?void 0:pr.exercise)==null?void 0:Ho.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}}}):((Uo=pr==null?void 0:pr.exercise)==null?void 0:Uo.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}},Kt.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Kt.createElement(Wt,{setScoreShow:Zi,ScoreShow:$i,exerciseitem:pr,getdata:el}),hl&&Kt.createElement(Ni,{setScoreShow:ul,isshixuns:sl,isloadings:vu,ScoreShow:hl,onOk:(Va,io,Uo,ci,ti)=>nr(void 0,null,function*(){pu(!0);let Ii=yield Ku({exam_id:Pe,item_bank_ids:Va,shixun_ids:io,shixun_copy_ids:ti});pu(!1),(Ii==null?void 0:Ii.status)===0&&Ye.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:()=>{el()},onCancel:()=>{ul(!1),el()}})})}),Kt.createElement(ts.Z,{sub_discipline_id:(Co=pr==null?void 0:pr.exercise)!=null&&Co.sub_discipline_id?[(Cr=pr==null?void 0:pr.exercise)==null?void 0:Cr.discipline_id,(ao=pr==null?void 0:pr.exercise)==null?void 0:ao.sub_discipline_id]:[],visible:No,onCancel:()=>Si(!1),onOk:Hi}),Kt.createElement(Ye.default,{title:"\u63D0\u793A",open:qi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Kt.createElement("div",null,Kt.createElement(Ge.ZP,{onClick:()=>{Wl(!1),de.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),Kt.createElement(Ge.ZP,{type:"primary",onClick:()=>{de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Wl(!1)}},Kt.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),Kt.createElement(Ye.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:gu,width:500,onOk:()=>Kl.submit(),onCancel:()=>ua(!1)},Kt.createElement(Be.default,{form:Kl,initialValues:{},onFinish:Va=>nr(void 0,null,function*(){(yield(0,qn.RK)(zr({id:Pe},Va))).status==0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),el(),ua(!1))})},Kt.createElement(Be.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Va,io){var Uo,ci,ti,Ho;const Ii=(Uo=Wa==null?void 0:Wa.find(Gi=>Gi.nameType==Kl.getFieldValue("item_type_en")))==null?void 0:Uo.id;return(Ho=(ti=(ci=pr==null?void 0:pr.exercise_question_types)==null?void 0:ci.filter(Gi=>Gi.question_type!=Ii))==null?void 0:ti.map(Gi=>Gi==null?void 0:Gi.name))!=null&&Ho.includes(io)?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()}}]},Kt.createElement(ke.default,{size:"large",maxLength:10,showCount:!0})),Kt.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Kt.createElement(ke.default,{size:"large"})))),Kt.createElement(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:er},Kt.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Kt.createElement(Aa.Z,{stickyTop:-24,subDisciplineId:(Eo=pr==null?void 0:pr.exercise)!=null&&Eo.sub_discipline_id?[(hi=pr==null?void 0:pr.exercise)==null?void 0:hi.discipline_id,(mi=pr==null?void 0:pr.exercise)==null?void 0:mi.sub_discipline_id]:[],onCancel:()=>Go(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Go(!1),el()}}),Kt.createElement("div",{style:{height:70}})),Kt.createElement(at.Q,{visible:!!uo,setVisible:Fo,tip:uo===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:uo===1?ea==null?void 0:ea.languages:[],onOk:Va=>nr(void 0,null,function*(){const io={languages:Va};uo===1?io.hack_id=ea==null?void 0:ea.hack_id:io.exercise_id=Pe,(yield(0,ne.ZP)("/api/problems/update_languages.json",{method:"post",body:io})).status===0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Ri.current}),Fo(!1))})}))};var Kr=(0,de.connect)(({user:ce,exercise:pe,dispatch:Pe})=>({user:ce,exercise:pe,dispatch:Pe}))(or),Po=ee(85786),lo=ee(15730),Mr=ee(73157),vo=ee(87169),Bo=ee(86918),Ra=ee(59301),wo=Object.defineProperty,yi=Object.defineProperties,Do=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,gi=(ce,pe,Pe)=>pe in ce?wo(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,_o=(ce,pe)=>{for(var Pe in pe||(pe={}))bi.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);if(Xr)for(var Pe of Xr(pe))Qr.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);return ce},_i=(ce,pe)=>yi(ce,Do(pe)),to=(ce,pe)=>{var Pe={};for(var Ot in ce)bi.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Xr)for(var Ot of Xr(ce))pe.indexOf(Ot)<0&&Qr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe},_r=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=Ht=>{try{zn(Pe.next(Ht))}catch(Yn){tn(Yn)}},ma=Ht=>{try{zn(Pe.throw(Ht))}catch(Yn){tn(Yn)}},zn=Ht=>Ht.done?Ot(Ht.value):Promise.resolve(Ht.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const Yr=ce=>{var pe=ce,{classroomList:Pe,globalSetting:Ot,problemset:tn,loading:wa,exercise:ma,user:zn,dispatch:Ht}=pe,Yn=to(pe,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr;const cr=(0,de.useParams)(),[li,Za]=(0,b.useState)(!1),{userInfo:Co}=zn,[Cr]=Be.default.useForm();let[ao,Eo]=(0,b.useState)({});const[hi,mi]=(0,b.useState)(1),[pr,po]=(0,b.useState)(""),[Ki]=(0,de.useSearchParams)(),[Oi,ea]=(0,b.useState)(!1),[xo,Li]=(0,b.useState)(!1),[Zo,Ci]=(0,b.useState)(!1),[Ri,oi]=(0,b.useState)(""),[il,ll]=(0,b.useState)(!1),[jl,Mi]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Ht({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:cr==null?void 0:cr.coursesId}}),Ht({type:"globalSetting/footerToggle",payload:!1}),Cr.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{cr.exerciseId&&_r(void 0,null,function*(){var No,Si,$i;const Zi=yield Ht({type:"exercise/editExercise",payload:{categoryId:cr.exerciseId}});(Zi==null?void 0:Zi.status)!==-1&&(((No=Zi==null?void 0:Zi.exercise)==null?void 0:No.exercise_status)===2||((Si=Zi==null?void 0:Zi.exercise)==null?void 0:Si.exercise_status)===3||(($i=Zi==null?void 0:Zi.exercise)==null?void 0:$i.exercise_status)===4?Ci(!0):Ci(!1))})},[cr]),(0,b.useEffect)(()=>{if(cr.exerciseId){let No=ma.editData.exercise;Mi(No==null?void 0:No.set_question_sub_discipline),Cr.setFieldsValue(_i(_o({},No),{courseid:No!=null&&No.sub_discipline_id?[No==null?void 0:No.discipline_id,No==null?void 0:No.sub_discipline_id]:[]}))}},[ma]),(0,b.useEffect)(()=>{Ki.get("type")==="2"&&(po(cr.exerciseId),mi(2))},[Ki.get("type")]),(0,b.useEffect)(()=>{var No;let Si=(No=tn==null?void 0:tn.disciplinesData)==null?void 0:No.checked;Si!=null&&Si.sub_discipline_id&&Cr.setFieldsValue({courseid:[Si==null?void 0:Si.discipline_id,Si==null?void 0:Si.sub_discipline_id]})},[(xn=tn==null?void 0:tn.disciplinesData)==null?void 0:xn.checked]);function cl(No,Si){return _r(this,null,function*(){var $i,Zi,hl,ul;yield Cr.validateFields();const sl=Cr.getFieldsValue(),{courseid:wl}=sl,[Rl,ml]=wl;sl.sub_discipline_id=ml,sl.is_md=!0,sl.time=parseInt(sl.time)>9999?9999:sl.time;const qi=yield Ht({type:"exercise/addExercise",payload:_o(_o({},sl),cr)});qi.status===0?(yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:cr==null?void 0:cr.coursesId,id:($i=qi==null?void 0:qi.data)==null?void 0:$i.exercise_id,time:No}}),Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),po((hl=qi==null?void 0:qi.data)==null?void 0:hl.exercise_id),mi(2),ea(!1),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(ul=qi.data)==null?void 0:ul.exercise_id}?type=2`)):Ne.ZP.error(qi.message),Si()})}function Bl(No){Eo(_o({},No))}function Gl(No){return _r(this,null,function*(){if(!(ao!=null&&ao.ec_point_ids))return;const Si=_o({},ao);delete Si.id;let $i=yield(0,ne.ZP)(`/api/ec_courses/${ao==null?void 0:ao.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:_o({exercise_id:No},Si)})})}return Ra.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Ra.createElement("section",{className:"edu-container"},Ra.createElement("section",{className:"animated fadeIn"},Ra.createElement("aside",{className:"mt10"},Co&&Ra.createElement(Ze.Z,{separator:">"},Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},(Ct=Co==null?void 0:Co.course)==null?void 0:Ct.course_name)),Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),Ra.createElement(Ze.Z.Item,null,cr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),cr.exerciseId&&Ra.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Ra.createElement(vo.Z,{style:{marginRight:5,color:"#E99237"}}),Ra.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Ra.createElement("span",{className:Je.addQuestionBtn,onClick:()=>{Ht({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[cr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Ra.createElement(Mr.Z,{haveInit:!0,init:()=>{oi(new Date)}}),Ra.createElement("div",{className:"bg-white"},Ra.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Ra.createElement("div",{onClick:()=>{if(xo){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}mi(1)},className:hi===1?Je.selectdiv:Je.divitem},Ra.createElement(Po.Z,{number:1,active:hi===1,className:"mr10"}),Ra.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Ra.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Ra.createElement("div",{onClick:()=>{if(!cr.exerciseId&&!pr){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}mi(2),!pr&&po(cr.exerciseId)},className:hi!==1?Je.selectdiv:Je.divitem},Ra.createElement(Po.Z,{number:2,active:hi!==1,className:"mr10"}),Ra.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),hi===2&&Ra.createElement("div",{className:"tc"},Ra.createElement(lo.Z,{defaultValue:(In=(gn=ma==null?void 0:ma.editData)==null?void 0:gn.exercise)==null?void 0:In.exercise_name,onFinish:No=>_r(void 0,null,function*(){var Si,$i,Zi,hl,ul,sl,wl,Rl,ml,qi,Wl,Jo;return No.trim()===(($i=(Si=ma==null?void 0:ma.editData)==null?void 0:Si.exercise)==null?void 0:$i.exercise_name)?!0:(yield(0,qn.wy)({exercise_name:No,exercise_description:(hl=(Zi=ma==null?void 0:ma.editData)==null?void 0:Zi.exercise)==null?void 0:hl.exercise_description,sub_discipline_id:(sl=(ul=ma==null?void 0:ma.editData)==null?void 0:ul.exercise)==null?void 0:sl.sub_discipline_id,time:(Rl=(wl=ma==null?void 0:ma.editData)==null?void 0:wl.exercise)==null?void 0:Rl.time,exerciseId:(qi=(ml=ma.editData)==null?void 0:ml.exercise)==null?void 0:qi.id,difficulty:(Jo=(Wl=ma.editData)==null?void 0:Wl.exercise)==null?void 0:Jo.difficulty})).status===0?(Cr.setFieldValue("exercise_name",No),!0):!1})}),Ra.createElement("div",{style:{fontSize:14}},Ra.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((Hn=(ra=ma==null?void 0:ma.editData)==null?void 0:ra.exercise)==null?void 0:Hn.time)||"\u4E0D\u9650")),Ra.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ta=(ba=ma==null?void 0:ma.editData)==null?void 0:ba.exercise)==null?void 0:ta.difficulty)===1?"\u7B80\u5355":((Ka=(oa=ma==null?void 0:ma.editData)==null?void 0:oa.exercise)==null?void 0:Ka.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Ra.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ya=(Pn=ma==null?void 0:ma.editData)==null?void 0:Pn.exercise_types)==null?void 0:ya.q_counts)||0)),Ra.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},(qr=(ja=ma==null?void 0:ma.editData)==null?void 0:ja.exercise_types)==null?void 0:qr.q_scores))))),hi===1&&Ra.createElement("div",null,Ra.createElement("section",{className:[Je.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Ra.createElement(Be.default,{form:Cr,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:No=>_r(void 0,null,function*(){var Si,$i,Zi,hl,ul;if(Za(!0),ea(!0),cr.exerciseId){No.exerciseId=($i=(Si=ma.editData)==null?void 0:Si.exercise)==null?void 0:$i.id,No.sub_discipline_id=No.courseid[No.courseid.length-1],yield(0,qn.wy)(_i(_o({},No),{set_question_sub_discipline:jl})),mi(2),Gl(cr==null?void 0:cr.exerciseId),po(cr.exerciseId),Za(!1),ea(!1);return}const sl=yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:cr==null?void 0:cr.coursesId}});if(sl!=null&&sl.alert)Ht({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:wl}=No,[Rl,ml]=wl;No.sub_discipline_id=ml,No.is_md=!0,No.time=parseInt(No.time)>9999?9999:No.time,No.set_question_sub_discipline=jl;const qi=yield Ht({type:"exercise/addExercise",payload:_i(_o(_o({},No),cr),{category_id:Ki.get("catalogue")||null})});qi.status===0&&(Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(hl=qi.data)==null?void 0:hl.exercise_id}?type=2`),po((ul=qi==null?void 0:qi.data)==null?void 0:ul.exercise_id),mi(2)),ea(!1)}Za(!1)}),className:Je.formWrap},Ra.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.baseLineHeight,rules:[{required:!0,validator:(No,Si)=>{var $i;return(($i=Si==null?void 0:Si.replaceAll(" ",""))==null?void 0:$i.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Ra.createElement(ke.default,{maxLength:60,className:Je.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Ra.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Je.baseLineHeight},Ra.createElement(le.Z,{disabled:Zo,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:tn.courseOptions,className:Je.baseFormItem,size:"large",popupClassName:Je.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),Ra.createElement("div",{className:Je.concat},Ra.createElement("div",null,Ra.createElement(st.default,{checked:jl,onChange:No=>{Mi(No.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")),Ra.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Ra.createElement("a",{onClick:()=>ll(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Ra.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Ra.createElement(et.ZP.Group,{className:Je.radiogroup,disabled:Zo},Ra.createElement(et.ZP.Button,{className:Je.easy,value:1},"\u7B80\u5355"),Ra.createElement(et.ZP.Button,{className:Je.medium,value:2},"\u9002\u4E2D"),Ra.createElement(et.ZP.Button,{className:Je.hard,value:3},"\u56F0\u96BE"))),Ra.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.baseLineHeight},Ra.createElement("div",{style:{display:"flex",width:"100%"}},Ra.createElement(Be.default.Item,{name:"time",noStyle:!0},Ra.createElement(Ve.Z,{disabled:Zo,min:1,max:9999,className:Je.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Ra.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Ra.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Ra.createElement(ke.default.TextArea,{disabled:Zo,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),Ra.createElement(Vn,{exercise_id:cr==null?void 0:cr.exerciseId,setitem:Bl})),Ra.createElement("div",{className:Je.bottmodiv},Ra.createElement(Ge.ZP,{className:`${Je.cancelBtn}`,type:"primary",onClick:()=>{de.history.back()}},"\u53D6\u6D88"),Ra.createElement(Ge.ZP,{loading:Oi,onClick:()=>{Cr.validateFields(),Cr.submit()},type:"primary",className:`${Je.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),Ra.createElement(z,{setsubloading:ea,onModalOk:cl})),hi===2&&Ra.createElement("div",null,Ra.createElement(Kr,{key:Ri,setisedits:Li,setitemid:po,itemid:pr}))),Ra.createElement(Bo.Z,{open:il,onCancel:()=>{ll(!1)}}))};var Zr=(0,de.connect)(({classroomList:ce,loading:pe,user:Pe,problemset:Ot,globalSetting:tn,exercise:wa})=>({classroomList:ce,globalSetting:tn,problemset:Ot,user:Pe,exercise:wa,loading:pe.effects}))(Yr)},42609:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return E}});var b=ee(59301),de=ee(8591),Be=ee(43418),Ne=ee(19842),Ze=ee(54580),ke=ee(3113),le=ee(3294),st=ee(955),et=ee(99064),Ve=ee(89070),Ge={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"},Je=ee(59301),Ye=(a,x,y)=>new Promise((z,ne)=>{var re=ve=>{try{ie(y.next(ve))}catch(be){ne(be)}},ue=ve=>{try{ie(y.throw(ve))}catch(be){ne(be)}},ie=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(re,ue);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[ne,re]=(0,b.useState)([]),[ue,ie]=(0,b.useState)(!1),ve=(0,Ve.useParams)(),[be,je]=(0,b.useState)([]),[Ae,He]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?he():(He([]),re([]),ie(!1))},[a]);const he=()=>Ye(void 0,null,function*(){const lt=yield(0,et.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});je(lt.disciplines||[]),He((z==null?void 0:z.length)>0?z:[])}),qe=()=>{if((Ae==null?void 0:Ae.length)===0)return de.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ae),ie(!0),x(ne,Ae[1],()=>{ie(!1)})},Ke=()=>{y()},ht=()=>{const lt=`${le.Z.API_SERVER}/api/courses/${ve.coursesId}/exercises/down_template`;(0,st.Nd)(null,lt)},Le=lt=>{const gt={name:lt.name,uid:lt.uid,file:lt};return re([gt]),!1},ot=()=>{re([])};return Je.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:qe,centered:!0,wrapClassName:Ge.customModal,onCancel:Ke,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ge.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ue},Je.createElement("div",{className:Ge.content},Je.createElement("aside",null,Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Je.createElement("ul",null,Je.createElement("li",null,Je.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Je.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:ht},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Je.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:ht,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Je.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Je.createElement("li",{className:Ge.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Je.createElement("li",{className:Ge.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Je.createElement("li",{className:Ge.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Je.createElement("li",{className:Ge.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Je.createElement("aside",{style:{marginTop:22}},Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Je.createElement("ul",{style:{flex:1}},Je.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&&Je.createElement(Je.Fragment,null,Je.createElement(Ne.Z,{value:Ae,className:Ge.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(lt,gt)=>{He(lt||[])}}),Je.createElement("br",null),Je.createElement(Ze.default,{action:`${le.Z.API_SERVER}/api/attachments.json`,beforeUpload:Le,onRemove:ot,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},Je.createElement(ke.ZP,{className:Ge.upload,type:"primary",icon:Je.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((lt,gt)=>Je.createElement("div",{key:gt,className:Ge.fileList},Je.createElement("span",{className:Ge.fileName},lt==null?void 0:lt.name),Je.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ot})))))))}},73157:function(Qt,jt,ee){"use strict";var b=ee(59301),de=ee(43418),Be=ee(99064),Ne=ee(89070),Ze=ee(59301),ke=(st,et,Ve)=>new Promise((Ge,Je)=>{var Ye=a=>{try{E(Ve.next(a))}catch(x){Je(x)}},se=a=>{try{E(Ve.throw(a))}catch(x){Je(x)}},E=a=>a.done?Ge(a.value):Promise.resolve(a.value).then(Ye,se);E((Ve=Ve.apply(st,et)).next())});const le=({exercise:st,dispatch:et,init:Ve,haveInit:Ge=!1})=>{const Je=(0,Ne.useParams)(),[Ye,se]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,ne]=(0,b.useState)(!1);(0,b.useEffect)(()=>{st.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&re()},[st.actionTabs]);function re(){return ke(this,null,function*(){var ue,ie;let ve=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});if(((ue=ve==null?void 0:ve.cover_exercises)==null?void 0:ue.length)>0)se(!0),a((ie=ve==null?void 0:ve.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});et({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(Ge&&Ve(),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}})}return Ze.createElement("div",null,Ze.createElement(de.default,{open:Ye,centered:!0,onCancel:ue=>ke(void 0,null,function*(){if(ue.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs,update:1}});et({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(Ge&&Ve(),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}else se(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ke(void 0,null,function*(){ne(!0);let ue=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});ne(!1),(ue==null?void 0:ue.status)===0&&(Ge&&Ve(),et({type:"exercise/setActionTabs",payload:{key:""}}),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Ze.createElement("div",null,Ze.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Ze.createElement("div",null,Ze.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),Ze.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Ze.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};jt.Z=(0,Ne.connect)(({exercise:st})=>({exercise:st}))(le)},74440:function(Qt,jt,ee){"use strict";ee.d(jt,{h:function(){return b}});var b=(de=>(de[de.NOMATCH=-1]="NOMATCH",de[de.OK=0]="OK",de[de.TIMEOUT=2]="TIMEOUT",de[de.PODFAILURE=3]="PODFAILURE",de[de.COMPILEFAILURE=4]="COMPILEFAILURE",de[de.EXECUTEFAILURE=5]="EXECUTEFAILURE",de[de.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",de))(b||{})},88264:function(Qt,jt,ee){"use strict";ee.d(jt,{H7:function(){return E},MK:function(){return se},MU:function(){return Ve},X6:function(){return Je},bM:function(){return et},fi:function(){return a},fu:function(){return st},n4:function(){return x},rX:function(){return Ye},vl:function(){return y},zO:function(){return Ge}});var b=ee(99064),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(z,ne,re)=>ne in z?de(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Ne.call(ne,re)&&ke(z,re,ne[re]);if(Be)for(var re of Be(ne))Ze.call(ne,re)&&ke(z,re,ne[re]);return z};function st(z,ne){return(0,b.U2)(`myproblems/${z}.json`,le({hidePopLogin:!0},ne||{}))}function et(z,ne){return(0,b.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,b.v_)(`myproblems/${z}/code_debug.json`,ne)}function Ge(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,ne)}function Je(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ye(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 E(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 y(z,ne){return(0,b.v_)(`discusses/${z}/plus.json`,ne)}},15730:function(Qt,jt,ee){"use strict";var b=ee(59301),de=ee(6848),Be=ee(92832),Ne=ee(8591),Ze=ee(7761),ke=ee(59301),le=(et,Ve,Ge)=>new Promise((Je,Ye)=>{var se=x=>{try{a(Ge.next(x))}catch(y){Ye(y)}},E=x=>{try{a(Ge.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Je(x.value):Promise.resolve(x.value).then(se,E);a((Ge=Ge.apply(et,Ve)).next())});const st=({defaultValue:et,onFinish:Ve})=>{const[Ge,Je]=(0,b.useState)(!1),[Ye,se]=(0,b.useState)(et);return(0,b.useEffect)(()=>{se(et)},[et]),ke.createElement("div",null,Ge?ke.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ye,onChange:E=>{se(E.target.value)},onBlur:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Je(!1)}),onPressEnter:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Je(!1)})}):ke.createElement("div",{className:Ze.Z.title},Ye,ke.createElement(de.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ke.createElement("i",{className:`${Ze.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Je(!0)}))))};jt.Z=st},86918:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ve}});var b=ee(43418),de={ul:"ul___TdfYY"},Be=ee(32637),Ne=ee(59301),Ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,st=(Ge,Je)=>{var Ye={};for(var se in Ge)ke.call(Ge,se)&&Je.indexOf(se)<0&&(Ye[se]=Ge[se]);if(Ge!=null&&Ze)for(var se of Ze(Ge))Je.indexOf(se)<0&&le.call(Ge,se)&&(Ye[se]=Ge[se]);return Ye},Ve=Ge=>{var Je=Ge,{open:Ye,onCancel:se}=Je,E=st(Je,["open","onCancel"]);return Ne.createElement(b.default,{centered:!0,open:Ye,title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:se,footer:null},Ne.createElement("div",null,Ne.createElement("div",{className:"tc"},Ne.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ne.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ne.createElement("ul",{className:de.ul},Ne.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"),Ne.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"),Ne.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")))))}},88918:function(Qt,jt,ee){"use strict";ee.d(jt,{I:function(){return de}});var b=ee(59301);const de=()=>{const[Be,Ne]=(0,b.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Ne("auto"),handleMouseLeave:()=>Ne("hidden")}}},50371:function(Qt,jt){"use strict";function ee(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de{const Ze=Be[Ne];Ze!==void 0&&(b[Ne]=Ze)})}return b}jt.Z=ee},77578:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return b}});const b=de=>de?typeof de=="function"?de():de:null},13845:function(Qt,jt,ee){"use strict";ee.d(jt,{F:function(){return b},Z:function(){return de}});function b(Be){return Be!=null&&Be===Be.window}function de(Be,Ne){var Ze,ke;if(typeof window=="undefined")return 0;const le=Ne?"scrollTop":"scrollLeft";let st=0;return b(Be)?st=Be[Ne?"pageYOffset":"pageXOffset"]:Be instanceof Document?st=Be.documentElement[le]:(Be instanceof HTMLElement||Be)&&(st=Be[le]),Be&&!b(Be)&&typeof st!="number"&&(st=(ke=((Ze=Be.ownerDocument)!==null&&Ze!==void 0?Ze:Be).documentElement)===null||ke===void 0?void 0:ke[le]),st}},56762:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return de}});var b=ee(59301);function de(){const[,Be]=b.useReducer(Ne=>Ne+1,0);return Be}},68031:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ne}});var b=ee(16089);function de(Ze,ke,le,st){const et=le-ke;return Ze/=st/2,Ze<1?et/2*Ze*Ze*Ze+ke:et/2*((Ze-=2)*Ze*Ze+2)+ke}var Be=ee(13845);function Ne(Ze){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:st,duration:et=450}=ke,Ve=le(),Ge=(0,Be.Z)(Ve,!0),Je=Date.now(),Ye=()=>{const E=Date.now()-Je,a=de(E>et?et:E,Ge,Ze,et);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,E{let{children:ot}=Le;const{getPrefixCls:lt}=Ze.useContext(le.E_),gt=lt("breadcrumb");return Ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var Ge=Ve,Je=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ftot[ft]||gt)}function se(Le,ot,lt,gt){if(lt==null)return null;const{className:ft,onClick:ln}=ot,xt=Je(ot,["className","onClick"]),an=Object.assign(Object.assign({},(0,Ne.Z)(xt,{data:!0,aria:!0})),{onClick:ln});return gt!==void 0?Ze.createElement("a",Object.assign({},an,{className:de()(`${Le}-link`,ft),href:gt}),lt):Ze.createElement("span",Object.assign({},an,{className:de()(`${Le}-link`,ft)}),lt)}function E(Le,ot){return(gt,ft,ln,xt,an)=>{if(ot)return ot(gt,ft,ln,xt);const hn=Ye(gt,ft);return se(Le,gt,hn,an)}}var a=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft{const{prefixCls:ot,separator:lt="/",children:gt,menu:ft,overlay:ln,dropdownProps:xt,href:an}=Le,$e=(dt=>{if(ft||ln){const rn=Object.assign({},xt);if(ft){const Vn=ft||{},{items:Zt}=Vn,Fn=a(Vn,["items"]);rn.menu=Object.assign(Object.assign({},Fn),{items:Zt==null?void 0:Zt.map((ze,ct)=>{var{key:Lt,title:mt,label:Nt,path:ut}=ze,at=a(ze,["key","title","label","path"]);let De=Nt!=null?Nt:mt;return ut&&(De=Ze.createElement("a",{href:`${an}${ut}`},De)),Object.assign(Object.assign({},at),{key:Lt!=null?Lt:ct,label:De})})})}else ln&&(rn.overlay=ln);return Ze.createElement(et.Z,Object.assign({placement:"bottom"},rn),Ze.createElement("span",{className:`${ot}-overlay-link`},dt,Ze.createElement(st.Z,null)))}return dt})(gt);return $e!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,$e),lt&&Ze.createElement(Ge,null,lt)):null},y=Le=>{const{prefixCls:ot,children:lt,href:gt}=Le,ft=a(Le,["prefixCls","children","href"]),{getPrefixCls:ln}=Ze.useContext(le.E_),xt=ln("breadcrumb",ot);return Ze.createElement(x,Object.assign({},ft,{prefixCls:xt}),se(xt,ft,lt,gt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,ne=ee(17313),re=ee(83116),ue=ee(37613);const ie=Le=>{const{componentCls:ot,iconCls:lt}=Le;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[lt]:{fontSize:Le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Le.linkColor,transition:`color ${Le.motionDurationMid}`,padding:`0 ${Le.paddingXXS}px`,borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",marginInline:-Le.marginXXS,"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover}},(0,ne.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${ot}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${ot}-link`]:{[` +`),En.focus();default:throw new Error}},[En,La]),di=(0,b.useMemo)(()=>{switch(La){case zt:return b.createElement(an,{callback:mo,onCancel:vi});case Ln:return b.createElement(hn.Z,{callback:mo,onCancel:vi});case wt:return b.createElement($e.Z,{callback:mo,onCancel:vi});case kt:return b.createElement(Rt,{callback:mo,onCancel:vi});case Jn:return b.createElement(Me,{callback:mo,onCancel:vi});case"maths-latex":return b.createElement(un,{showSaveButton:!0,callback:mo});case"inline-latex":return b.createElement(yn.Z,{showSaveButton:!0,callback:mo});default:return null}},[La]);function vi(){Or("")}(0,b.useEffect)(()=>{if(Yo.current){let kr=function(fn){so=!0,we=fn.pageY},Qa=function(){so=!1},Ga=function(fn){if(so){let Mn=fn.pageY-we;Mn<0&&(Mn=0),Mn>300&&(Mn=300);let Sa=Sn+Mn+"px";Pr(Sa)}},Ya=Yo.current,so=!1,we=0;return Ya.addEventListener("mousedown",kr),document.addEventListener("mousemove",Ga),document.addEventListener("mouseup",Qa),()=>{Ya.removeEventListener("mousedown",kr),document.removeEventListener("mousemove",Ga),document.removeEventListener("mouseup",Qa)}}},[En,Yo]),(0,b.useEffect)(()=>{Pr(Sn)},[Sn]);const Ui=It(pt),tl=It(Er),nl={width:Ui,height:tl},Vo=(0,b.useMemo)(()=>{if(no){let kr=new Date(no),Qa=kr.getHours(),Ga=kr.getMinutes(),Ya=kr.getSeconds();return Qa=Qa<10?"0"+Qa:Qa,Ga=Ga<10?"0"+Ga:Ga,Ya=Ya<10?"0"+Ya:Ya,`${Qa}:${Ga}:${Ya}`}return 0},[no]),Fi=kr=>{const Qa=[];if(Nr){let Ga=-1;kr=kr.replace(/(@▁▁@|@▁@)/g,function(Ya,so,we){Qa.push({multiLine:Ya!==ia})})}return Qa};function Wi(){window.sessionStorage.removeItem(Ea),ai(!1),Fr(0)}function dl(){ai(!1),Fr(0),En.setValue(window.sessionStorage.getItem(Ea))}(0,b.useEffect)(()=>{Rn[La]&&La!==sn&&La!==kt&&setTimeout(()=>{const kr=document.getElementsByClassName("markdown-popup-form")[0],Qa=window.innerWidth/2-kr.offsetWidth/2,Ga=window.innerHeight/2-kr.offsetHeight/2;Mo(Qa),gr(Ga)},0)},[La]);const gl=kr=>{kr.preventDefault();const Qa=kr.clientX-Go,Ga=kr.clientY-Ao;document.body.onmousemove=Ya=>{let so=Ya.clientX-Qa,we=Ya.clientY-Ga;const fn=document.getElementsByClassName("markdown-popup-form")[0],Mn=window.innerWidth-fn.offsetWidth,Sa=window.innerHeight-fn.offsetHeight;so=Math.max(0,Math.min(so,Mn)),we=Math.max(0,Math.min(we,Sa)),Pl(Ya.clientX,Ya.clientY,Qa,Ga)&&(Mo(so),gr(we))},document.body.onmouseup=function(){document.body.onmousemove=null}},Pl=(kr,Qa,Ga,Ya)=>{const so=document.body.clientHeight,we=document.body.clientWidth;return kr<20&&Ga>kr||kr>we-20&&GaQa||Qa>so-20&&YaHe in Ae?Je(Ae,He,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ae[He]=he,z=(Ae,He)=>{for(var he in He||(He={}))a.call(He,he)&&y(Ae,he,He[he]);if(E)for(var he of E(He))x.call(He,he)&&y(Ae,he,He[he]);return Ae},ne=(Ae,He)=>Ye(Ae,se(He));const{useForm:re}=b.default,ue={width:280,marginRight:10},ie={labelCol:{span:5},wrapperCol:{span:19}};var ve=({callback:Ae,onCancel:He})=>{const[he]=re();let qe=(0,et.useRef)();function Ke(ot){qe.current.width=he.getFieldValue("width"),qe.current.align=he.getFieldValue("align"),Ae(ot,qe.current)}function ht(ot,lt){if(ot.status===-1){de.ZP.error(ot.message);return}he.setFieldsValue({src:`/api/attachments/${ot.id}`,type:lt.type})}function Le(ot){let lt=ot.target.files[0];qe.current=lt,je(lt,ht)}return Ge.createElement(b.default,ne(z({form:he},ie),{className:"upload-image-panel",onFinish:Ke,style:{width:470,overflow:"hidden"}}),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ge.createElement("div",{className:"flex-container"},Ge.createElement(b.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ge.createElement(Be.default,{style:ue})),Ge.createElement(be,{onFileChange:Le}))),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ge.createElement(Be.default,{style:{width:264}})),Ge.createElement(b.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ge.createElement(Ne.Z,null,Ge.createElement(b.default.Item,{name:"width",style:{margin:0}},Ge.createElement(Ze.Z,{style:{width:264}})),Ge.createElement("span",{className:"ml8"},"%"))),Ge.createElement(b.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ge.createElement(ke.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ge.createElement("aside",null,Ge.createElement(b.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ge.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ge.createElement(le.ZP,{type:"default",onClick:He},"\u53D6\u6D88"))))};function be({onFileChange:Ae}){return Ge.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ge.createElement("input",{type:"file",onChange:Ae}))}function je(Ae,He){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw de.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let he=new FormData;he.append("editormd-image-file",Ae),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var qe=new window.XMLHttpRequest;qe.withCredentials=!0,qe.addEventListener("load",function(Ke){He(JSON.parse(Ke.target.responseText),Ae)},!1),qe.addEventListener("error",function(Ke){console.error(Ke)},!1),qe.open("POST",`${st.KI}/api/attachments.json`),qe.send(he)}},79346:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Be}});var b=ee(59301),de=ee(4676);class Be extends b.Component{constructor(Ze){super(Ze);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:Ze}=this.props;return(0,de.createPortal)(Ze,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(Qt,Gt,ee){"use strict";ee.d(Gt,{i:function(){return ue},Z:function(){return ve}});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"},de=ee(71418),Be=ee(6848),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(955),le=ee(8797),st=ee(24065),et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryF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3xh6YujGOSVMPo8sxK8dcHWudc6Z4dWVJZIv5Bn93p40Y84KdYpJzQ/Dz6PHEvcoaIfGP2VMyv4CglP/0qgjYNKAh2oH6vANrJ4kejl6qIReYrwtzgmT/LwknSFTisazUUITWNi5vmiDaDdydqHxIGNgGycki263pBtRjDLMbY1MhICnprTPJluBONyjvj7tAPq5cMEjq+x8ZJJ5AcRDceZL3LHhhINn/lUUySVsXSIJlbgvNCx4WHv3+VWPXvL6sZt8/v/t/ZcDiwhxFgaLp8YdFs4Dx64oxwbfTrmwDrBivpR4DVDQDF/VqYsf+ef3L5SDvAGCVcy/4GKCimrho1yv3tWdR3xgzD9ssC8H6ko8BKpqBi3q1I77sXvBef9M0HX3kxwAV1cRFu95PALhFw2OAimbgol7tB5BbNDwGqKgmLtr1nhJaFw2PASqagYt6db45jhQNMf0Xi7mnon7V4+sfxQIFJqFMNES/v3D+oyz8+Jp/jgX+AT+bS/shEzsoAAAAAElFTkSuQmCC",re=ee(59301);const ue=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:et,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ge,swimg:Je},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Ye,swimg:se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:y},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var ve=({className:be,dataSource:je=[],col:Ae=4,right:He,bottom:he=23,precision:qe=0,wrapWidth:Ke=1200,trackEventItems:ht,loading:Le,onRemove:ot=()=>{},isCurrent:lt=!0,showAlias:gt=!1})=>{const ft=Math.floor((Ke-(Ae-1)*He)/Ae),ln=[{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"}].map(xt=>(window.ENV==="build"&&(xt.ptimg=`/react/build${xt.ptimg}`,xt.swimg=`/react/build${xt.swimg}`),xt));return re.createElement(de.Z,{spinning:Le},re.createElement("div",{className:Ze()(b.list,be)},!!(je!=null&&je.length)&&(je==null?void 0:je.map((xt,an)=>{var hn;const{name:$e,id:dt,identifier:rn,featured:Vn,school_name:Zt,image_url:Fn,excellent:ze,is_plan:ct}=xt;return re.createElement("div",{key:dt,className:b.wrap,style:{width:ft,marginRight:(1+an)%Ae===0?0:He+qe,marginBottom:he}},re.createElement("a",{className:b.li,onClick:Lt=>{Lt.preventDefault(),Lt.stopPropagation(),ht&&(0,ke.L9)([ht]),(0,ke.xg)(`/paths/${rn}`)}},re.createElement("div",{className:b.img},re.createElement("img",{className:b.cover,src:`${Fn}`}),lt&&(0,st.bg)()&&(xt==null?void 0:xt.studying)&&re.createElement("div",{className:`${b.movebq} user-path-items`,onClick:Lt=>{Lt.stopPropagation(),ot(xt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(hn=xt==null?void 0:xt.subject_tags)==null?void 0:hn.map((Lt,mt)=>{var Nt,ut;if(mt===0){const De=(Nt=ln.find(fe=>fe.name==Lt))==null?void 0:Nt.swimg;return re.createElement("img",{className:b.sign,src:De,style:{left:"-4px"}})}const at=(ut=ln.find(De=>De.name==Lt))==null?void 0:ut.ptimg;return re.createElement("img",{className:b.sign,src:at,style:{left:`${48+52*(mt-1)+2*mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(xt==null?void 0:xt.excellent)&&re.createElement("div",{className:b.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:b.name},re.createElement(Be.Z,{title:gt&&(xt!=null&&xt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${$e}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xt==null?void 0:xt.excellent_alias_name}`)):$e},re.createElement("span",{className:b.e},gt&&(xt==null?void 0:xt.excellent_alias_name)||$e))),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,xt.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,xt.members_count)))))))})),!je.length&&re.createElement(le.Z,null)))}},29458:function(Qt,Gt,ee){"use strict";ee.d(Gt,{jL:function(){return Ze},w9:function(){return xt},QD:function(){return yn},cQ:function(){return ot.Z},op:function(){return Me},O5:function(){return xa},_b:function(){return sn},t7:function(){return y},Gi:function(){return Vn},YG:function(){return dt},qp:function(){return Ge},vr:function(){return zt},qE:function(){return nn},Je:function(){return re},wb:function(){return Le},cq:function(){return mt},tp:function(){return se}});var b=ee(59301),de={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,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAA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DBK8E1ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ze=({dataSource:We=[],img:It,imgWidth:_t=346,title:Vt,sunTitle:Wt,bannerExtraContent:Rn})=>b.createElement("div",{className:de.banner},b.createElement("div",{className:de.content},b.createElement("aside",null,b.createElement("p",null,b.createElement("b",null,Vt),b.createElement("span",null,Wt)),We.length>0&&b.createElement("div",{className:de.btns},We.map((wn,vt)=>b.createElement("div",{key:vt,onClick:wn.click},wn.name,wn.sign?b.createElement("img",{src:Be,width:39}):null))),Rn),It&&b.createElement("img",{style:{marginTop:33,marginRight:38},src:It,width:_t}))),ke={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=ee(92310),st=ee.n(le),et=ee(89392),Ge=({dataSource:We=[],value:It,onChange:_t,onTitleChange:Vt,className:Wt,title:Rn,titleWidth:wn=41,style:vt={},fontColor:Bt="#6A7283",showCount:pt})=>{const[Sn,Wn]=(0,b.useState)(0),[An,ka]=(0,b.useState)(!1),pa=(0,b.useRef)(null),_n=(0,b.useRef)(null);return(0,b.useEffect)(()=>{var Ea;We.length!==0&&(((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>97?Wn(1):Wn(0)),We.length===0&&Wn(0),ka(!1)},[We]),b.createElement("div",{className:st()(ke.row,Wt),style:vt},b.createElement("div",{onClick:(0,et.throttle)(()=>Vt==null?void 0:Vt(),2e3),style:{width:wn,marginTop:An?12:4},className:`${ke.title} ${Vt?"current":""}`},Rn),b.createElement("div",{className:An?`${ke.tagsWrap} ${ke.tagsBorderWrap}`:ke.tagsWrap},b.createElement("div",{className:ke.bar,ref:_n,style:Sn>0?{height:Sn===1?97:"auto",overflow:Sn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},b.createElement("div",{className:ke.tag,ref:pa},We==null?void 0:We.map(Ea=>b.createElement("span",{onClick:()=>_t(Ea.id),key:Ea.id,style:{color:Bt},className:It===Ea.id?ke.active:""},b.createElement("span",{title:Ea.name,className:ke.name},Ea.name),!!pt&&b.createElement("span",{className:ke.num},Ea.count))))),!!Sn&&b.createElement(b.Fragment,null,Sn===1?b.createElement("div",{onClick:()=>{var Ea;Wn(2),((Ea=pa==null?void 0:pa.current)==null?void 0:Ea.clientHeight)>245?ka(!0):ka(!1)},className:ke.action},"\u5C55\u5F00",b.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):b.createElement("div",{onClick:()=>{_n.current.scrollTop=0,Wn(1),ka(!1)},className:ke.action},"\u6536\u8D77",b.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},Je={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:We=[],value:It,onChange:_t,className:Vt,style:Wt={}})=>b.createElement("div",{style:Wt,className:st()(Je.tabs,Vt)},We.map(Rn=>b.createElement("span",{onClick:()=>_t(Rn.id),className:It===Rn.id?Je.active:"",key:Rn.id},Rn.name))),E={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=ee(92832),y=({dataSource:We=[],value:It="",onChange:_t,onInputChange:Vt=()=>{},className:Wt,style:Rn={},placeholder:wn,allowClear:vt=!1})=>{var Bt;const[pt,Sn]=(0,b.useState)(""),[Wn,An]=(0,b.useState)("");(0,b.useEffect)(()=>{var _n;let Ea=It;(_n=JSON.stringify(It))!=null&&_n.includes("{")&&(Sn(It.id),Ea=It.value||"");try{An(decodeURIComponent(Ea||""))}catch(Pa){An(decodeURIComponent(Ea||""))}},[It]);const ka=()=>{_t(encodeURIComponent(Wn),pt||null)},pa=_n=>{_n!==pt&&(Sn(_n),_t(encodeURIComponent(Wn),_n))};return b.createElement("div",{className:st()(E.input,Wt),style:Rn},!!We.length&&b.createElement("div",{className:E.dropdown},b.createElement("div",{className:E.text},(Bt=We.find(_n=>_n.id===pt))==null?void 0:Bt.name,b.createElement("i",{className:"iconfont icon-zhankai4"}),b.createElement("b",{className:E.b1}),b.createElement("b",{className:E.b2})),b.createElement("div",{className:E.menu},We.map((_n,Ea)=>b.createElement("div",{key:Ea,onClick:()=>pa(_n.id)},_n.name)))),b.createElement(a.default,{onPressEnter:ka,value:Wn,onChange:_n=>{An(_n.target.value),Vt(encodeURIComponent(_n.target.value),pt||null)},bordered:!1,placeholder:wn}),b.createElement("i",{onClick:ka,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:We,onChange:It,className:_t,total:Vt,pageSize:Wt,style:Rn={}})=>{const wn=We<2,vt=We>=Math.ceil(Vt/Wt);return Vt<=Wt?b.createElement(b.Fragment,null):b.createElement("div",{className:st()(z.quickPager,_t),style:Rn},b.createElement("div",{onClick:()=>{wn||It(We-1,"prev")},className:wn?z.disabled:""},"\u4E0A\u4E00\u9875"),b.createElement("div",{onClick:()=>{vt||It(We+1,"next")},className:vt?z.disabled:""},"\u4E0B\u4E00\u9875"))},ue={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"},ie=ee(71418),ve=ee(6848),be=ee(13570),je=ee(3294),Ae=ee(955),He=ee(96908),he=ee(57177),qe=ee(81378),Ke=ee(8797),Le=({className:We,dataSource:It=[],col:_t=4,right:Vt,bottom:Wt=23,precision:Rn=0,wrapWidth:wn=1200,trackEventItems:vt,loading:Bt})=>{const pt=Math.floor((wn-(_t-1)*Vt)/_t);return b.createElement(ie.Z,{spinning:Bt},b.createElement("div",{className:st()(ue.list,We)},!!It.length&&It.map((Sn,Wn)=>{const{name:An,id:ka,identifier:pa,power:_n,cover_image_id:Ea,pic:Pa}=Sn;return b.createElement("div",{className:ue.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Wt}},b.createElement("a",{target:"_blank",href:`/shixuns/${pa}/challenges`,className:ue.li,onClick:Dn=>{Dn.preventDefault(),vt&&(0,Ae.L9)([vt]),_n&&(0,Ae.xg)(`/shixuns/${pa}/challenges`)}},b.createElement("div",{className:ue.img},b.createElement("img",{className:ue.cover,src:`${Pa}`}),Sn.is_jupyter&&b.createElement("img",{className:ue.sign,src:He}),Sn.is_jupyter_lab&&b.createElement("img",{className:ue.sign,src:he}),Sn.is_unity_3d&&b.createElement("img",{className:ue.sign,src:qe})),b.createElement("div",{className:ue.name},b.createElement(ve.Z,{title:An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},b.createElement("span",{className:ue.e},An||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),b.createElement("div",{className:ue.tags},b.createElement(ve.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},b.createElement("span",null,b.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),b.createElement("span",null,Sn.challenges_count))),!!Sn.myshixuns_count&&b.createElement(ve.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,Sn.myshixuns_count))),b.createElement(ve.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},b.createElement("span",null,b.createElement("span",null,Sn.level))),b.createElement("div",{className:ue.rate},b.createElement(be.Z,{allowHalf:!0,disabled:!0,defaultValue:Sn.score_info}),b.createElement("span",null,"\xA0",Sn.score_info?`${Sn.score_info}\u5206`:"5\u5206")))),!_n&&b.createElement("div",{className:ue.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(Ke.Z,null)))},ot=ee(33847),lt={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"},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFW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(59301),xt=({className:We,dataSource:It=[],col:_t=4,right:Vt,bottom:Wt=23,precision:Rn=0,wrapWidth:wn=1200,trackEventItems:vt,loading:Bt})=>{const pt=Math.floor((wn-(_t-1)*Vt)/_t);return ft.createElement(ie.Z,{spinning:Bt},ft.createElement("div",{className:st()(lt.list,We)},!!It.length&&It.map((Sn,Wn)=>{const{subject_identifier:An,id:ka,identifier:pa,power:_n}=Sn,Ea=Sn.is_public!=0&&Sn.is_public;return ft.createElement("div",{className:lt.wrap,key:ka,style:{width:pt,marginRight:(1+Wn)%_t===0?0:Vt+Rn,marginBottom:Wt}},ft.createElement("a",{className:lt.li,onClick:Pa=>{Pa.preventDefault(),vt&&(0,Ae.L9)([vt]),(0,Ae.xg)(Sn.first_category_url)}},ft.createElement("div",{className:lt.top},ft.createElement(ve.Z,{title:Sn.name},ft.createElement("div",{className:lt.name},Sn.name)),ft.createElement("img",{className:lt.img,src:je.Z.IMG_SERVER+"/images/"+Sn.avatar_url}),ft.createElement("div",{className:lt.text,title:Sn.creator},Sn.creator),An&&ft.createElement("div",{className:lt.btns},ft.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ft.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ea&&ft.createElement("div",{className:lt.sign},"\u516C\u5F00")),ft.createElement("div",{className:lt.bottom},Sn.visits>0&&ft.createElement(ve.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-liulanyan"}),ft.createElement("span",null,Sn.visits))),Sn.course_members_count>0&&ft.createElement(ve.Z,{title:"\u6210\u5458",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-chengyuan"}),Sn.course_members_count)),Sn.tasks_count>0&&ft.createElement(ve.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ft.createElement("span",null,ft.createElement("i",{className:"iconfont icon-zuoye"}),Sn.tasks_count)),Sn.is_end?ft.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ft.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Sn.is_accessible&&ft.createElement("div",{className:lt.lockWrap},ft.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ft.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!It.length&&ft.createElement(Ke.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"},hn=ee(89070),dt=({dataSource:We=[],value:It,onChange:_t,className:Vt,style:Wt={},tabBarExtraContent:Rn})=>b.createElement("div",{className:st()(an.tabs,Vt),style:Wt},b.createElement("div",{className:an.tabsWrap},We.map((wn,vt)=>b.createElement("aside",{className:an.tab,onClick:()=>{_t(wn.id),wn.link&&hn.history.push(wn.link)},key:vt},b.createElement("div",{className:It===wn.id?an.active:""},wn.name),(wn==null?void 0:wn.resetCount)==null&&(wn==null?void 0:wn.total)!==void 0&&b.createElement("span",null,"\uFF08",wn==null?void 0:wn.total,"\uFF09"),(wn==null?void 0:wn.resetCount)!==void 0&&(wn==null?void 0:wn.total)!==void 0&&b.createElement(ve.Z,{title:(wn==null?void 0:wn.tip)!=null?wn==null?void 0:wn.tip:""},b.createElement("span",{style:{color:"#9096A3"}},"\uFF08",b.createElement("span",{style:{color:"#000"}},wn==null?void 0:wn.resetCount),"/",b.createElement("span",null,wn==null?void 0:wn.total),"\uFF09"))))),b.createElement("div",{className:an.tabBar},Rn)),Vn=({className:We,style:It={},children:_t})=>b.createElement("div",{className:st()(We),style:It},_t),Zt={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"},Fn=ee(38854),ze=ee(20834);const ct=[{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:We,dropValue:It,className:_t,onSort:Vt,onDrop:Wt,dataSource:Rn=ct})=>{var wn;return b.createElement("div",{className:st()(Zt.orderWrap,_t)},b.createElement(Fn.Z,{dropdownRender:()=>b.createElement(ze.default,null,Rn.map((vt,Bt)=>b.createElement(ze.default.Item,{key:Bt,onClick:()=>Wt(vt.id)},vt.name)))},b.createElement("span",{className:Zt.orderTextWrap},(wn=Rn.find(vt=>It===vt.id))==null?void 0:wn.name)),b.createElement("span",{className:Zt.orderIconWrap},b.createElement("span",{className:Zt.orderAsc},b.createElement("i",{className:We==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Vt(We==="asc"?"desc":"asc")})),b.createElement("span",{className:Zt.orderDesc},b.createElement("i",{className:We==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Vt(We==="asc"?"desc":"asc")}))))},Nt={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"},ut=ee(3113),at=Object.defineProperty,De=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,Xe=Object.prototype.propertyIsEnumerable,Rt=(We,It,_t)=>It in We?at(We,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):We[It]=_t,Oe=(We,It)=>{for(var _t in It||(It={}))fe.call(It,_t)&&Rt(We,_t,It[_t]);if(De)for(var _t of De(It))Xe.call(It,_t)&&Rt(We,_t,It[_t]);return We},Ie=(We,It)=>{var _t={};for(var Vt in We)fe.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&De)for(var Vt of De(We))It.indexOf(Vt)<0&&Xe.call(We,Vt)&&(_t[Vt]=We[Vt]);return _t},St=(We,It,_t)=>new Promise((Vt,Wt)=>{var Rn=Bt=>{try{vt(_t.next(Bt))}catch(pt){Wt(pt)}},wn=Bt=>{try{vt(_t.throw(Bt))}catch(pt){Wt(pt)}},vt=Bt=>Bt.done?Vt(Bt.value):Promise.resolve(Bt.value).then(Rn,wn);vt((_t=_t.apply(We,It)).next())}),Me=We=>{var It=We,{className:_t,style:Vt,children:Wt,loading:Rn=!1,openLoading:wn,onClick:vt=()=>{},size:Bt="middle",shape:pt="round"}=It,Sn=Ie(It,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Wn,An]=(0,b.useState)(!1);return b.createElement(ut.ZP,Oe({onClick:(0,et.throttle)(ka=>St(void 0,null,function*(){wn&&An(!0);try{yield vt(ka)}catch(pa){console.log("error",pa)}wn&&An(!1)}),2e3,{leading:!0,trailing:!1}),className:st()(Nt.btn,Nt[`${Bt}-${pt}`],_t),style:Vt,size:Bt,shape:pt,loading:Wn||Rn},Sn),Wt)},yt={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"},nn=({className:We,style:It,children:_t=null,onClick:Vt,title:Wt})=>b.createElement("div",{className:st()(yt.head,We),style:It},b.createElement("span",{className:"primary-hover",onClick:Vt},b.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),b.createElement("b",{title:Wt},Wt),b.createElement("div",{className:yt.node},_t)),dn={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"},yn=({confirmShow:We=!0,confirmTitle:It,confirmClick:_t,cancelShow:Vt=!0,cancelTitle:Wt,cancelClick:Rn,className:wn,style:vt,confirmLoading:Bt=!1})=>b.createElement("div",{className:st()(dn.btns,wn),style:vt},We&&b.createElement(ut.ZP,{loading:Bt,onClick:_t,type:"primary",className:dn.confirm},It),Vt&&b.createElement(ut.ZP,{onClick:Rn,className:dn.cancel},Wt)),Te={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"},zt=({className:We,style:It={},LeftContent:_t,children:Vt,RightContent:Wt})=>b.createElement("div",{className:st()(Te.fixedBottom,We),style:It},b.createElement("div",{className:Te.wrap},b.createElement("div",{className:Te.left},_t),b.createElement("div",{className:Te.center},Vt),b.createElement("div",{className:Te.right},Wt))),wt={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"},sn=({className:We,style:It={},dataSource:_t=[]})=>b.createElement("div",{className:st()(wt.crumbs,We),style:It},_t.map((Vt,Wt)=>Wt<_t.length-1?b.createElement(b.Fragment,{key:Wt},Vt.path||Vt.onClick?b.createElement("span",{className:wt.hover,onClick:Vt!=null&&Vt.onClick?Vt.onClick:()=>hn.history.push(Vt.path)},Vt.name):b.createElement("span",null,Vt.name),b.createElement("span",null,"\xA0",">","\xA0")):b.createElement("span",{key:Wt,style:{color:"#5F6368"}},Vt.name))),cn=ee(31797),Ln=Object.defineProperty,Jn=Object.defineProperties,va=Object.getOwnPropertyDescriptors,Da=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable,$a=(We,It,_t)=>It in We?Ln(We,It,{enumerable:!0,configurable:!0,writable:!0,value:_t}):We[It]=_t,fa=(We,It)=>{for(var _t in It||(It={}))Na.call(It,_t)&&$a(We,_t,It[_t]);if(Da)for(var _t of Da(It))ar.call(It,_t)&&$a(We,_t,It[_t]);return We},yr=(We,It)=>Jn(We,va(It)),en=(We,It)=>{var _t={};for(var Vt in We)Na.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&Da)for(var Vt of Da(We))It.indexOf(Vt)<0&&ar.call(We,Vt)&&(_t[Vt]=We[Vt]);return _t};const{Countdown:On}=cn.default;var xa=We=>{var It=We,{onChange:_t}=It,Vt=en(It,["onChange"]);const[Wt,Rn]=(0,b.useState)(null);(0,b.useEffect)(()=>{typeof Wt=="number"&&Wt>=0&&_t(Wt)},[Wt]);const wn=vt=>{const Bt=Math.floor(vt/1e3);Rn(Bt)};return b.createElement(On,yr(fa({},Vt),{onChange:wn}))}},58856:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(59301);function de(Be,Ne){const Ze=(0,b.useRef)();(0,b.useEffect)(()=>{Ze.current=Be}),(0,b.useEffect)(()=>{function ke(){Ze.current()}if(Ne!==null){let le=setInterval(ke,Ne);return()=>clearInterval(le)}},[Ne])}},96716:function(Qt,Gt,ee){"use strict";ee.r(Gt),ee.d(Gt,{default:function(){return Zr}});var b=ee(59301),de=ee(89070),Be=ee(78241),Ne=ee(8591),Ze=ee(66104),ke=ee(92832),le=ee(19842),st=ee(24905),et=ee(5112),Ve=ee(5871),Ge=ee(3113),Je={flex_box_center:"flex_box_center___aPGWN",flex_space_between:"flex_space_between___MQNX5",flex_box_vertical_center:"flex_box_vertical_center___Z7QdK",flex_box_center_end:"flex_box_center_end___JQl5O",flex_box_column:"flex_box_column___IhYhx",bg:"bg___Kg8x_",title:"title___UhsVG",titleLeft:"titleLeft___NPVwn",titleRight:"titleRight___UGtmZ",formWrap:"formWrap___Jowb2",baseLineHeight:"baseLineHeight___N68WX",radioBtnWrapper:"radioBtnWrapper___bX7Pi",radiogroup:"radiogroup___ukf8u",easy:"easy___ZHYPU",medium:"medium___piewx",hard:"hard___HMXyt",selectdiv:"selectdiv___gkuBG",divitem:"divitem___vNm0q",bottmodiv:"bottmodiv___assW5",cancelBtn:"cancelBtn___Nl6Pi",confirmBtn:"confirmBtn___BNoFU",baseFormItem:"baseFormItem___ILZ2V",cascaderPopup:"cascaderPopup___QPxW3",addQuestionBtn:"addQuestionBtn___OjehS",concat:"concat___kliXB"},Ye=ee(43418),se=ee(5083),E=ee(61186),a=ee.n(E),x=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const y=({user:ce,dispatch:pe,classroomList:Pe,onModalOk:Ot,setsubloading:tn})=>{const wa=(0,de.useParams)(),[ma,zn]=(0,b.useState)(),[jt,Yn]=(0,b.useState)(!1);function xn(Ct){return Ct&&Ct{Yn(!1)},zIndex:8888,destroyOnClose:!0,footer:null,maskClosable:!1,keyboard:!1,open:Pe.actionTabs.key==="\u9884\u7EA6\u5F39\u7A97",onCancel:()=>{if(jt){Ne.ZP.warning("\u6B63\u5728\u8BF7\u6C42\u6570\u636E\u4E2D...");return}tn(!1),pe({type:"classroomList/setActionTabs",payload:{}})}},b.createElement("div",null,b.createElement("span",null,"EduCoder\u6CE8\u610F\u5230\u60A8\u7684\u8BFE\u5802\u4E2D\u5B66\u751F\u4EBA\u6570\u8F83\u591A\u3002\u4E3A\u66F4\u597D\u5730\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u670D\u52A1\uFF0C\u7ED9\u540C\u5B66\u4EEC\u5E26\u6765\u66F4\u597D\u7684\u8003\u8BD5\u4F53\u9A8C\uFF0C\u6211\u4EEC\u5C06\u63D0\u524D\u4E3A\u60A8\u548C\u60A8\u7684\u5B66\u751F\u51C6\u5907\u597D\u670D\u52A1\u5668\u8D44\u6E90\u3002 \u8BF7\u60A8\u544A\u77E5\u6211\u4EEC\uFF0C\u8FD9\u4EFD\u8BD5\u5377\u7684\u9884\u8BA1\u8003\u8BD5\u65F6\u95F4\u662F\uFF1A"),b.createElement("br",null),b.createElement(se.default,{popupStyle:{zIndex:9999},style:{marginTop:"10px",marginBottom:"10px"},disabledDate:xn,format:"YYYY-MM-DD HH:mm:ss",onChange:(Ct,gn)=>{zn(gn)},showTime:{defaultValue:a()("00:00:00","HH:mm:ss")}}),b.createElement("br",null),b.createElement("span",null,"\u611F\u8C22\u60A8\u7684\u914D\u5408"),b.createElement("br",null),b.createElement("div",{style:{textAlign:"end"}},b.createElement(Ge.ZP,{loading:jt,type:"primary",onClick:()=>x(void 0,null,function*(){Yn(!0),Ot(ma,()=>{pe({type:"classroomList/setActionTabs",payload:{}})})})},"\u786E\u8BA4"))))};var z=(0,de.connect)(({user:ce,classroomList:pe})=>({user:ce,classroomList:pe}))(y),ne=ee(99064),re=ee(32134),ue=ee(12893),ie={wrap:"wrap___Ww0Ti",itemWarp:"itemWarp___LMLjd",addIcon:"addIcon___xmRLl",deleteIcon:"deleteIcon___gjwgO"},ve=ee(57809),be=Object.defineProperty,je=Object.getOwnPropertySymbols,Ae=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,he=(ce,pe,Pe)=>pe in ce?be(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,qe=(ce,pe)=>{for(var Pe in pe||(pe={}))Ae.call(pe,Pe)&&he(ce,Pe,pe[Pe]);if(je)for(var Pe of je(pe))He.call(pe,Pe)&&he(ce,Pe,pe[Pe]);return ce},Ke=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Le=({setitem:ce,item:pe,rz:Pe})=>{var Ot,tn,wa,ma,zn,jt,Yn,xn;let[Ct,gn]=(0,b.useState)({zydatas:[],jbdatas:[],kcdatas:[],zsdatas:[],page:1,per_page:20});const[In]=Be.default.useForm(),[ra,Hn]=(0,b.useState)(!1);(0,b.useEffect)(()=>{Pe&&!ra&&(Ct.zydatas=Pe,gn(qe({},Ct)),Hn(!0),pe!=null&&pe.ec_course_id&&ba())},[pe,Pe,ra]),console.log(Ct,"params");function ba(){return Ke(this,null,function*(){yield ta(pe==null?void 0:pe.ec_major_school_id),yield oa(pe==null?void 0:pe.ec_year_id),yield Ka(pe==null?void 0:pe.ec_course_id),In.setFieldsValue({ec_course_id:pe==null?void 0:pe.ec_course_id,ec_major_school_id:pe==null?void 0:pe.ec_major_school_id,ec_point_ids:pe==null?void 0:pe.ec_point_ids,ec_year_id:pe==null?void 0:pe.ec_year_id})})}function ta(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_major_schools/${Pn}/ec_years/get_year_list.json`,{method:"get"});Ct.jbdatas=ya==null?void 0:ya.data,gn(qe({},Ct)),In.setFieldsValue({ec_year_id:"",ec_course_id:"",ec_point_ids:[]})})}function oa(Pn){return Ke(this,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_years/${Pn}/ec_courses/get_courses.json`,{method:"get"});Ct.kcdatas=ya==null?void 0:ya.data,gn(qe({},Ct)),In.setFieldsValue({ec_course_id:"",ec_point_ids:[]})})}const Ka=Pn=>Ke(void 0,null,function*(){const ya=yield(0,ne.ZP)(`/api/ec_courses/${Pn}/ec_points.json`,{method:"get",params:{ec_course_id:Pn}});Ct.zsdatas=ya==null?void 0:ya.data,gn(qe({},Ct))});return b.createElement("div",{className:ie.from},b.createElement(Be.default,{form:In,layout:"inline",onValuesChange:Pn=>{console.log("----",Pn),Pn.ec_major_school_id&&(Ct.jbdatas=[],Ct.kcdatas=[],Ct.zsdatas=[],gn(qe({},Ct)),ta(Pn.ec_major_school_id)),Pn.ec_year_id&&(Ct.kcdatas=[],Ct.zsdatas=[],gn(qe({},Ct)),oa(Pn.ec_year_id)),Pn.ec_course_id&&(Ct.zsdatas=[],gn(qe({},Ct)),Ka(Pn.ec_course_id))},onFinish:Pn=>Ke(void 0,null,function*(){ce(Pn)})},b.createElement(Be.default.Item,{name:"ec_major_school_id"},b.createElement(ve.default,{style:{width:160},disabled:((Ot=Ct.zydatas)==null?void 0:Ot.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u4E13\u4E1A"},(tn=Ct==null?void 0:Ct.zydatas)==null?void 0:tn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_major_school_id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_year_id"},b.createElement(ve.default,{style:{width:160},disabled:((wa=Ct.jbdatas)==null?void 0:wa.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BA4\u8BC1\u5C4A\u522B"},(ma=Ct==null?void 0:Ct.jbdatas)==null?void 0:ma.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.ec_year_id},Pn==null?void 0:Pn.year)))),b.createElement(Be.default.Item,{name:"ec_course_id"},b.createElement(ve.default,{style:{width:208},disabled:((zn=Ct.kcdatas)==null?void 0:zn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u8BFE\u7A0B"},(jt=Ct==null?void 0:Ct.kcdatas)==null?void 0:jt.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name)))),b.createElement(Be.default.Item,{name:"ec_point_ids"},b.createElement(ve.default,{onChange:()=>{In.submit()},style:{width:160},maxTagCount:1,maxTagTextLength:7,mode:"multiple",disabled:((Yn=Ct.zsdatas)==null?void 0:Yn.length)<=0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9"},(xn=Ct==null?void 0:Ct.zsdatas)==null?void 0:xn.map((Pn,ya)=>b.createElement(ve.default.Option,{key:ya,value:Pn==null?void 0:Pn.id},Pn==null?void 0:Pn.name))))))},ot=Object.defineProperty,lt=Object.defineProperties,gt=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,ln=Object.prototype.hasOwnProperty,xt=Object.prototype.propertyIsEnumerable,an=(ce,pe,Pe)=>pe in ce?ot(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,hn=(ce,pe)=>{for(var Pe in pe||(pe={}))ln.call(pe,Pe)&&an(ce,Pe,pe[Pe]);if(ft)for(var Pe of ft(pe))xt.call(pe,Pe)&&an(ce,Pe,pe[Pe]);return ce},$e=(ce,pe)=>lt(ce,gt(pe)),dt=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const rn=({user:ce,exercise_id:pe=null,homework_common_id:Pe=null,setitem:Ot})=>{var tn,wa,ma;let[zn,jt]=(0,b.useState)([{id:Math.random()}]),[Yn,xn]=(0,b.useState)(null);function Ct(){return dt(this,null,function*(){var In,ra,Hn,ba;let ta=yield(0,ne.ZP)("/api/ec_courses/0/ec_points/get_work_points.json",{method:"get",params:{exercise_id:pe,homework_common_id:Pe}});if(((In=ta==null?void 0:ta.data)==null?void 0:In.length)>0){let oa=[];(ra=ta==null?void 0:ta.data)==null||ra.map(Ka=>{var Pn;(Pn=Ka==null?void 0:Ka.ec_point_ids)==null||Pn.map(ya=>{oa.push(ya)})}),Ot($e(hn({},(Hn=ta==null?void 0:ta.data)==null?void 0:Hn[0]),{ec_point_ids:oa})),jt((ba=ta==null?void 0:ta.data)==null?void 0:ba.map(Ka=>$e(hn({},Ka),{id:Math.random()})))}})}(0,b.useEffect)(()=>{var In,ra;(ra=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)!=null&&ra.course_school_id&&gn()},[(wa=(tn=ce==null?void 0:ce.userInfo)==null?void 0:tn.course)==null?void 0:wa.course_school_id]);function gn(){return dt(this,null,function*(){var In,ra;const Hn=yield(0,ne.ZP)(`/api/schools/${(ra=(In=ce==null?void 0:ce.userInfo)==null?void 0:In.course)==null?void 0:ra.course_school_id}/ec_majors/get_major_list.json`,{method:"get"});xn(Hn==null?void 0:Hn.data),(Pe||pe)&&Ct()})}return console.log(zn,Yn,"datas"),b.createElement("div",{style:{display:(ma=ce.userInfo.course)!=null&&ma.is_openengineering?"":"none"}},b.createElement("div",{className:ie.wrap},b.createElement("p",null,"\u5DE5\u7A0B\u8BA4\u8BC1",b.createElement("br",null),"\u8003\u6838\u77E5\u8BC6\u70B9"),b.createElement("div",{className:ie.itemWarp},zn==null?void 0:zn.map((In,ra)=>b.createElement("div",{key:In.id,style:{display:"flex",alignItems:"center",marginBottom:20}},b.createElement(Le,{rz:Yn,item:In,setitem:Hn=>{Hn=hn(hn({},zn==null?void 0:zn[ra]),Hn),zn.splice(ra,1,Hn),jt([...zn]);let ba=[];zn==null||zn.map(ta=>{var oa;(oa=ta==null?void 0:ta.ec_point_ids)==null||oa.map(Ka=>{ba.push(Ka)})}),Ot($e(hn({},Hn),{ec_point_ids:ba}))}}),b.createElement(re.Z,{className:ie.addIcon,onClick:()=>{zn.push({id:Math.random()}),jt([...zn])}}),ra!=0&&b.createElement(ue.Z,{className:ie.deleteIcon,onClick:()=>{zn.splice(ra,1);let Hn=[];zn==null||zn.map(ba=>{var ta;(ta=ba==null?void 0:ba.ec_point_ids)==null||ta.map(oa=>{Hn.push(oa)})}),Ot($e(hn({},zn[ra-1]),{ec_point_ids:Hn})),jt([...zn])}}))))))};var Vn=(0,de.connect)(({user:ce})=>({user:ce}))(rn),Zt=ee(20834),Fn=ee(71418),ze=ee(38854),ct=ee(6848),Lt=ee(43428),mt={flex_box_center:"flex_box_center___zCnVx",flex_space_between:"flex_space_between___BBiQD",flex_box_vertical_center:"flex_box_vertical_center___KzPui",flex_box_center_end:"flex_box_center_end___zJokd",flex_box_column:"flex_box_column___Grsys",moreSpan:"moreSpan___VJeLv",bg:"bg___oBBHW",title:"title___xV4Rt",bottomdiv:"bottomdiv___rPfwr",spanBtn:"spanBtn___eJxID",addQuestionBtn:"addQuestionBtn___RPRiP",saveBtn:"saveBtn___y9nNf",left:"left___Q3Qf4",leftAction:"leftAction___GT9yG",Button:"Button___r00OP",iconWrapper:"iconWrapper___wofW_",up:"up___a9RQm",down:"down___x6RAl",disabled:"disabled___mkEME",titleleft:"titleleft___WZ83K",more_style:"more_style___ZXYnN",qcount:"qcount___o6F1k",score:"score___Gy6jr",qtitle:"qtitle___KF7pa",qcountclick:"qcountclick___kvoyc",right:"right___Nfa70",edit:"edit___RVRSb",delete:"delete___J9BAT",yuanti:"yuanti___ljq8l",tianjia:"tianjia___s7Zu2",shixun:"shixun___YkjdZ",scoreByBlankRadio:"scoreByBlankRadio___QYQY5",modalconfirm:"modalconfirm___dmWFe",scoremodal:"scoremodal___CDA7w",close:"close___jdUWv",content:"content___HPqUf",items:"items___YkyQL",bottom:"bottom___mzpp4",yes:"yes___Xio6z",no:"no___hbicD",formcenter:"formcenter___kN8Ax",radiogroup:"radiogroup___htjtc",easy:"easy____g1mR",medium:"medium___vPAsn",hard:"hard___c6tcf",formcenterselect:"formcenterselect___B88vb",selectitems1:"selectitems1___Dzpho",selectitems:"selectitems___wUGKF",morebottom:"morebottom___F5cFQ",scoreinput:"scoreinput___S9Fbv",shake:"shake___IYp2E",titleTooltip:"titleTooltip___J0i26",exercise_styles:"exercise_styles___BJAZm"},Nt=ee(955),ut=ee(8797),at=ee(67248),De=ee(78113),fe=ee(85149),Xe=ee(59301),Rt=Object.defineProperty,Oe=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,yt=(ce,pe,Pe)=>pe in ce?Rt(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Bn=(ce,pe)=>{for(var Pe in pe||(pe={}))nt.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);if(St)for(var Pe of St(pe))Me.call(pe,Pe)&&yt(ce,Pe,pe[Pe]);return ce},nn=(ce,pe)=>Oe(ce,Ie(pe)),dn=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),yn=({Itemid:ce,setqitem:pe,qitem:Pe,data:Ot,getdata:tn,bigitem:wa,setBigqitem:ma,isedit:zn,handleEditing:jt})=>{const[Yn,xn]=(0,b.useState)([]),[Ct,gn]=(0,b.useState)(!1),In=(Hn,ba,ta)=>{const oa=Array.from(Hn),[Ka]=oa.splice(ba,1);return oa.splice(ta,0,Ka),oa};(0,b.useEffect)(()=>{Ot.length>0&&xn([...Ot])},[Ot]);const ra=(Hn,ba)=>dn(void 0,null,function*(){if(!Hn.destination)return;if(zn){jt();return}const ta=In(ba,Hn.source.index,Hn.destination.index);gn(!0);let oa=yield(0,ne.ZP)(`/api/exercises/${ce}/adjust_position.json`,{method:"post",body:{id:ce,question_ids:ta==null?void 0:ta.map(Ka=>Ka.question_id)}});gn(!1),oa.status===0&&tn({id:ba==null?void 0:ba[Hn.source.index].question_id})});return Xe.createElement("div",null,Xe.createElement(De.Z5,{onDragEnd:Hn=>ra(Hn,Yn)},Xe.createElement(De.bK,{droppableId:"droppable"},(Hn,ba)=>Xe.createElement("div",Bn({ref:Hn.innerRef},Hn.droppableProps),Xe.createElement(Fn.Z,{spinning:Ct},Yn.map((ta,oa)=>Xe.createElement(De._l,{key:oa,draggableId:oa.toString(),index:oa},(Ka,Pn)=>{var ya,ja;return Xe.createElement("aside",Bn(Bn({ref:Ka.innerRef},Ka.draggableProps),Ka.dragHandleProps),Xe.createElement(ct.Z,{title:Xe.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ya=ta==null?void 0:ta.program_attr)==null?void 0:ya.description:ta.question_title}),color:"#fff",placement:"left",overlayClassName:mt.titleTooltip},Xe.createElement("div",{onClick:()=>{if(zn){jt();return}pe(nn(Bn({},ta),{index:oa+1})),ma(wa),(0,Nt.Vf)("#question-scroll-id")},className:`${mt.qcount} ${ta.question_id===(Pe==null?void 0:Pe.question_id)?mt.qcountclick:""}`},Xe.createElement("span",{className:mt.score},ta==null?void 0:ta.question_score,"\u5206"),Xe.createElement("span",{className:mt.qtitle},oa+1,"\u3001",Xe.createElement(fe.Z,{value:(ta==null?void 0:ta.question_type)===8?(ja=ta==null?void 0:ta.program_attr)==null?void 0:ja.description:ta.question_title,showTextOnly:!0})))))}))),Hn.placeholder))))},Te=ee(95237),Ft=ee(65357),zt=ee(78673),wt=ee(61485),kt=ee(87198),sn=ee(59301),cn=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Jn=({form:ce,TagDiscipline:pe,exerciseitem:Pe,qitem:Ot,getTagData:tn})=>{var wa;const[ma,zn]=(0,b.useState)(!0),[jt,Yn]=(0,b.useState)(!1),[xn,Ct]=(0,b.useState)(""),[gn,In]=(0,b.useState)([]),[ra,Hn]=(0,b.useState)([]),[ba,ta]=(0,b.useState)(0);(0,b.useEffect)(()=>{Ka()},[]);const oa=Pn=>cn(void 0,null,function*(){const ya=yield(0,ne.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:Pn==null?void 0:Pn.sub_discipline_id}});Hn(ya==null?void 0:ya.tag_disciplines)}),Ka=()=>cn(void 0,null,function*(){const Pn=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});In(Pn.disciplines||[]),Ot!=null&&Ot.sub_discipline_id&&oa(Ot),ta(Ot!=null&&Ot.sub_discipline_id?1:0),ce.setFieldsValue({difficulty:Ot.difficulty||2,tag_discipline_ids:Ot.tag_discipline_ids,repeat_answer:!Ot.repeat_answer,sub_discipline_id:Ot!=null&&Ot.sub_discipline_id?[Ot==null?void 0:Ot.discipline_id,Ot==null?void 0:Ot.sub_discipline_id]:[]})});return sn.createElement("div",null,sn.createElement("div",{style:{marginTop:30,height:ma?"100%":"0px",overflow:"hidden"}},sn.createElement(Be.default.Item,{className:mt.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},sn.createElement(et.ZP.Group,{className:mt.radiogroup},sn.createElement(et.ZP.Button,{className:mt.easy,value:1},"\u7B80\u5355"),sn.createElement(et.ZP.Button,{className:mt.medium,value:2},"\u9002\u4E2D"),sn.createElement(et.ZP.Button,{className:mt.hard,value:3},"\u56F0\u96BE"))),sn.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:mt.formcenterselect},sn.createElement(le.Z,{className:mt.selectitems1,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:gn,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Pn,ya)=>{ce.setFieldsValue({sub_discipline_id:Pn,tag_discipline_ids:[]}),ta(Pn?Pn.length:0),(Pn==null?void 0:Pn.length)>0&&(oa({sub_discipline_id:Pn[1]}),Pn[1]==(Ot==null?void 0:Ot.sub_discipline_id)&&ce.setFieldValue("tag_discipline_ids",Ot.tag_discipline_ids))},onClear:()=>{Hn([]),ce.setFieldValue("tag_discipline_ids",[]),ta(0)}})),sn.createElement(Be.default.Item,{className:mt.formcenterselect},sn.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},sn.createElement(Be.default.Item,{name:"tag_discipline_ids"},sn.createElement(ve.default,{className:mt.selectitems,disabled:ba===0,showSearch:!0,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",listHeight:200,placeholder:"\u8BF7\u9009\u62E9\u77E5\u8BC6\u70B9\uFF0C\u652F\u6301\u9009\u62E9\u591A\u4E2A",mode:"multiple",dropdownStyle:{zIndex:9},allowClear:!0,optionFilterProp:"children",filterOption:(Pn,ya)=>ya.key.indexOf(Pn.toLowerCase())>=0},ra==null?void 0:ra.map(Pn=>sn.createElement(ve.default.Option,{key:Pn.name+Pn.id,value:Pn.id},sn.createElement("div",{style:{display:"flex",alignItems:"center"}},sn.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},Pn.name),(Pn==null?void 0:Pn.type)==="personal"&&sn.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),ba>0&&sn.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},sn.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),sn.createElement("a",{onClick:()=>{Yn(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),sn.createElement(Be.default.Item,{className:mt.formcenterselect},sn.createElement("div",{style:{display:"flex",alignItems:"center"}},sn.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},sn.createElement(zt.Z,null)),sn.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"48px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",sn.createElement(ct.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"},sn.createElement(wt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),sn.createElement(kt.Z,{open:jt,subDisciplineId:(wa=ce.getFieldValue("sub_discipline_id"))==null?void 0:wa[1],onCancel:()=>{Yn(!1)},onOkClick:Pn=>{Hn(ya=>[...ya,Pn]),ce.setFieldValue("tag_discipline_ids",[...ce.getFieldValue("tag_discipline_ids"),Pn==null?void 0:Pn.id])}}))},va=ee(59301),Da=Object.defineProperty,Na=Object.defineProperties,ar=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,en=(ce,pe,Pe)=>pe in ce?Da(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,On=(ce,pe)=>{for(var Pe in pe||(pe={}))fa.call(pe,Pe)&&en(ce,Pe,pe[Pe]);if($a)for(var Pe of $a(pe))yr.call(pe,Pe)&&en(ce,Pe,pe[Pe]);return ce},ia=(ce,pe)=>Na(ce,ar(pe)),xa=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),It=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var gn;xn.setFieldsValue(ia(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(gn=ce==null?void 0:ce.question_choices)==null?void 0:gn.map(In=>ia(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)}))},[ce]);const Ct=gn=>{if(!(gn!=null&&gn.length))return!1;const In=gn.map(Hn=>{var ba;return(ba=Hn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return va.createElement("div",null,va.createElement(Be.default,{form:xn,colon:!1,onFinish:gn=>{var In,ra,Hn,ba,ta;if(Ct(gn.choices)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let oa=(ra=(In=gn==null?void 0:gn.choices)==null?void 0:In.map)==null?void 0:ra.call(In,(Pn,ya)=>{if((Pn==null?void 0:Pn.standard_boolean)===1)return ya+1}),Ka=ia(On({},gn),{item_type:ce==null?void 0:ce.question_type,question_choices:(ba=(Hn=gn==null?void 0:gn.choices)==null?void 0:Hn.map)==null?void 0:ba.call(Hn,Pn=>Pn.choice_text),standard_answers:oa.filter(Pn=>Pn),choices:(ta=gn==null?void 0:gn.choices)==null?void 0:ta.map(Pn=>ia(On({},Pn),{is_answer:Pn.standard_boolean}))});tn(On(On({},ce),Ka))},onFinishFailed:gn=>xa(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},va.createElement("div",{style:{display:"flex",alignItems:"center"}},va.createElement("div",{style:{flex:1}},va.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),va.createElement("span",null,(ce==null?void 0:ce.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&va.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},va.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),va.createElement(Ge.ZP,{onClick:()=>{var gn;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(ia(On({},ce),{name:ce==null?void 0:ce.question_title,choices:(gn=ce==null?void 0:ce.question_choices)==null?void 0:gn.map(In=>ia(On({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),va.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:va.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},va.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")},va.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>xa(void 0,null,function*(){xn.submit()})},"\u4FDD\u5B58"))),va.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},va.createElement(Te.Z,{align:"middle"},va.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},va.createElement(Ve.Z,{onBlur:gn=>{gn.target.value==="0"&&Ne.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}))),va.createElement(Ft.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",titleKey:"question_title",choiceKey:"choices",analysisKey:"analysis",choiceOptionsPath:"choices",choiceTextKey:"choice_text",answerKey:"standard_boolean"}),va.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},_t=ee(70472),Vt=ee(27693),Wt=ee(59301),Rn=Object.defineProperty,wn=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,Bt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,Wn=(ce,pe,Pe)=>pe in ce?Rn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,An=(ce,pe)=>{for(var Pe in pe||(pe={}))pt.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);if(Bt)for(var Pe of Bt(pe))Sn.call(pe,Pe)&&Wn(ce,Pe,pe[Pe]);return ce},ka=(ce,pe)=>wn(ce,vt(pe)),pa=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Ea=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=Be.default.useWatch("use_blank_score",xn);return(0,b.useEffect)(()=>{xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer}))},[ce]),Wt.createElement("div",null,Wt.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.standard_answers||gn!=null&&gn.use_blank_score){let oa=((ra=xn.getFieldValue("standard_answers"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("standard_answers"))==null?void 0:Hn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(oa==null?void 0:oa.length)>0&&((ta=oa.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:gn=>{tn(ka(An(An({},ce),gn),{item_type:ce==null?void 0:ce.question_type,standard_answers:gn.standard_answers,question_title:gn.name}))},onFinishFailed:gn=>pa(void 0,null,function*(){var In,ra;gn.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,Nt.pE)(),Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},Wt.createElement("div",{style:{display:"flex",alignItems:"center"}},Wt.createElement("div",{style:{flex:1}},Wt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Wt.createElement("span",null,"\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Wt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Wt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Wt.createElement(Ge.ZP,{onClick:()=>{ce.isadd?(Ot(!1),zn()):(xn.setFieldsValue(ka(An({},ce),{standard_answers:ce.standard_answers||[],name:ce.question_title,repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Wt.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Wt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Wt.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")},Wt.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Wt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Wt.createElement(Te.Z,{align:"middle"},Ct?Wt.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):Wt.createElement(Be.default.Item,{key:2,className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Wt.createElement(Ve.Z,{onBlur:gn=>{gn.target.value==="0"&&Ne.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})),Wt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},Wt.createElement(et.ZP.Group,{className:mt.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),Wt.createElement(ct.Z,{overlayInnerStyle:{width:460},title:Wt.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",Wt.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")},Wt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),Wt.createElement(_t.u,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,answerKey:"standard_answers"}),Wt.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},Pa=ee(11832),Dn=ee(59301),lr=Object.defineProperty,Nr=Object.defineProperties,Ur=Object.getOwnPropertyDescriptors,Sr=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Xt=(ce,pe,Pe)=>pe in ce?lr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Nn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ue.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);if(Sr)for(var Pe of Sr(pe))bn.call(pe,Pe)&&Xt(ce,Pe,pe[Pe]);return ce},Kn=(ce,pe)=>Nr(ce,Ur(pe)),la=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Un=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct;xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(gn=>Kn(Nn({},gn),{is_answer:gn!=null&&gn.standard_boolean?1:0}))}))},[ce]),Dn.createElement("div",null,Dn.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var gn,In,ra,Hn;let ba=(In=(gn=Ct==null?void 0:Ct.choices)==null?void 0:gn.map)==null?void 0:In.call(gn,(ta,oa)=>{if((ta==null?void 0:ta.is_answer)===1)return oa+1});tn(Kn(Nn(Nn({},ce),Ct),{question_title:Ct.name,standard_answers:ba.filter(ta=>ta),question_choices:(Hn=(ra=Ct==null?void 0:Ct.choices)==null?void 0:ra.map)==null?void 0:Hn.call(ra,ta=>ta.choice_text)}))},onFinishFailed:Ct=>la(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Dn.createElement("div",{style:{display:"flex",alignItems:"center"}},Dn.createElement("div",{style:{flex:1}},Dn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Dn.createElement("span",null,"\u5224\u65AD\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Dn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Dn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Dn.createElement(Ge.ZP,{onClick:()=>{var Ct;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(Kn(Nn({},ce),{name:ce.question_title,repeat_answer:!ce.repeat_answer,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(gn=>Kn(Nn({},gn),{is_answer:gn!=null&&gn.standard_boolean?1:0}))})),pe(!1))}},"\u53D6\u6D88"),Dn.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Dn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Dn.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")},Dn.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Dn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Dn.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Dn.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.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})),Dn.createElement(Pa.Z,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),Dn.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},ur=ee(36381),da={wrap:"wrap___m6v_p",deleteIcon:"deleteIcon___hdYRw",keywordTag:"keywordTag___BLtdn",questionTitleEditorWrap:"questionTitleEditorWrap___fdaK7",choiceWrap:"choiceWrap___wkyUO",choiceIndex:"choiceIndex___tExMq",judgementIndex:"judgementIndex___RMhzJ",setAnswerBtn:"setAnswerBtn___bisIK",activeAnswer:"activeAnswer___MnyyC",activeJudgementAnswer:"activeJudgementAnswer___grGX5",actionWrapper:"actionWrapper___LUawU",addIcon:"addIcon___ckXqe",inputBorder:"inputBorder___nuo0O",placeholder:"placeholder___Dhdir",blankWrapper:"blankWrapper___cnidV",blankInput:"blankInput___iZ5BF",blankInputNumberWrapper:"blankInputNumberWrapper___zlXQc",addBtn:"addBtn___OdgAm",blankIndex:"blankIndex___g4Y7d",baseInputWrapper:"baseInputWrapper___DCOHd",collapseWrapper:"collapseWrapper___SyLrk",panelHeader:"panelHeader___E0il1",open:"open___IFH3V",close:"close___YpIA9",hide:"hide___Nl1W6",scoreByBlankRadio:"scoreByBlankRadio___jpG4i"},En=ee(12290),dr=Object.defineProperty,xr=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Ir=Object.getOwnPropertySymbols,ha=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,Ua=(ce,pe,Pe)=>pe in ce?dr(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,La=(ce,pe)=>{for(var Pe in pe||(pe={}))ha.call(pe,Pe)&&Ua(ce,Pe,pe[Pe]);if(Ir)for(var Pe of Ir(pe))za.call(pe,Pe)&&Ua(ce,Pe,pe[Pe]);return ce},Or=(ce,pe)=>xr(ce,Wr(pe)),no=(ce,pe)=>{var Pe={};for(var Ot in ce)ha.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ir)for(var Ot of Ir(ce))pe.indexOf(Ot)<0&&za.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fr=ce=>{var pe=ce,{value:Pe,onChange:Ot,scrollId:tn}=pe,wa=no(pe,["value","onChange","scrollId"]);return b.createElement("div",{id:tn||""},b.createElement(En.Z,Or(La({},wa),{defaultValue:Pe,onChange:(ma,zn)=>{console.log("a:",ma,zn),zn!=null&&zn.length?Ot(ma,zn):Ot(ma)}})))},Er=({value:ce,onChange:pe,placeholder:Pe,height:Ot=140,isEdit:tn})=>tn?b.createElement(En.Z,{watch:!0,isFocus:!0,height:Ot,placeholder:Pe,defaultValue:ce,onChange:pe}):b.createElement("div",{style:{cursor:"pointer"}},ce?b.createElement(fe.Z,{className:da.inputBorder,value:ce}):b.createElement("div",{className:`${da.inputBorder} ${da.placeholder}`},Pe));var Pr=ee(43604),si=Object.defineProperty,ai=Object.defineProperties,xi=Object.getOwnPropertyDescriptors,ho=Object.getOwnPropertySymbols,yo=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,Mo=(ce,pe,Pe)=>pe in ce?si(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Ao=(ce,pe)=>{for(var Pe in pe||(pe={}))yo.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);if(ho)for(var Pe of ho(pe))Go.call(pe,Pe)&&Mo(ce,Pe,pe[Pe]);return ce},gr=(ce,pe)=>ai(ce,xi(pe)),eo=(ce,pe)=>{var Pe={};for(var Ot in ce)yo.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&ho)for(var Ot of ho(ce))pe.indexOf(Ot)<0&&Go.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Qo=["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"],Yo=({value:ce,onChange:pe,choiceTextKey:Pe,answerKey:Ot,index:tn,isEdit:wa,setInputActive:ma,form:zn,choiceOptionsPath:jt,allowChangeMode:Yn,showAddIcon:xn,addItem:Ct,deleteItem:gn})=>{const In=(ce==null?void 0:ce[Ot])===1,ra=()=>{const ba=zn.getFieldValue(jt);zn.setFieldValue(jt,ba.map(ta=>gr(Ao({},ta),{[Ot]:0})))},Hn=()=>{In?pe(gr(Ao({},ce),{[Ot]:0})):(Yn||ra(),pe(gr(Ao({},ce),{[Ot]:1})))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:Hn,className:`${da.choiceIndex} ${In?da.activeAnswer:""}`},Qo[tn]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`,onClick:ma},b.createElement(Er,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:wa,value:ce==null?void 0:ce[Pe],onChange:ba=>{pe(gr(Ao({},ce),{[Pe]:ba}))}})),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:Hn,className:`${da.setAnswerBtn} ${In?da.activeAnswer:""}`},In?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),b.createElement(Pr.Z,{className:da.actionWrapper},b.createElement(ct.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},b.createElement(re.Z,{className:da.addIcon,onClick:Ct,style:{visibility:xn?"visible":"hidden"}})),b.createElement(ct.Z,{title:"\u5220\u9664"},b.createElement(ue.Z,{className:da.deleteIcon,onClick:gn,style:{visibility:tn>1?"visible":"hidden"}}))))},Oo=({questionTitlePlaceholder:ce,titleKey:pe,choiceKey:Pe,analysisKey:Ot,choiceTextKey:tn,answerKey:wa,choiceOptionsPath:ma,allowChangeMode:zn=!0,form:jt,showAnalysis:Yn=!0})=>{const[xn,Ct]=(0,b.useState)(),[gn,In]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:pe,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:Array.isArray(pe)?pe.join("_"):`${pe}`,watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),b.createElement(Be.default.List,{name:Pe,rules:[{validator(ra,Hn){const ba=Hn.some(oa=>oa[wa]===1),ta=Hn.findIndex(oa=>{var Ka;return((Ka=oa[tn])==null?void 0:Ka.length)<=0});return ta!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${Qo[ta]}\u9009\u9879\u7684\u5185\u5BB9`)):ba?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ra,{add:Hn,remove:ba})=>b.createElement("div",{id:Array.isArray(ma)?ma.join("_"):`${ma}`},ra.map((ta,oa)=>{var Ka=ta,{key:Pn,name:ya}=Ka,ja=eo(Ka,["key","name"]);const qr=xn===Pn,cr=()=>{Ct(Pn)},li=oa<7&&oa===ra.length-1,Za=()=>Hn({[tn]:"",[wa]:0}),Co=()=>ba(ya);return b.createElement(Be.default.Item,gr(Ao({},ja),{key:Pn,name:ya,noStyle:!0}),b.createElement(Yo,{choiceTextKey:tn,answerKey:wa,index:oa,isEdit:qr,setInputActive:cr,form:jt,choiceOptionsPath:ma,allowChangeMode:zn,showAddIcon:li,addItem:Za,deleteItem:Co}))}),ra.length<8&&b.createElement("div",{className:`${da.addBtn} mb30`,onClick:()=>Hn({[tn]:"",[wa]:0})},"\u6DFB\u52A0\u9009\u9879"))),Yn&&b.createElement("div",{onClick:()=>In(!0)},b.createElement(Be.default.Item,{name:Ot,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:gn}))))};var br=ee(59301),ri=Object.defineProperty,Hr=Object.defineProperties,ko=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,vi=Object.prototype.propertyIsEnumerable,Ui=(ce,pe,Pe)=>pe in ce?ri(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,tl=(ce,pe)=>{for(var Pe in pe||(pe={}))di.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);if(mo)for(var Pe of mo(pe))vi.call(pe,Pe)&&Ui(ce,Pe,pe[Pe]);return ce},nl=(ce,pe)=>Hr(ce,ko(pe)),Vo=(ce,pe)=>{var Pe={};for(var Ot in ce)di.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&mo)for(var Ot of mo(ce))pe.indexOf(Ot)<0&&vi.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Fi=({value:ce,onChange:pe})=>{const Pe=tn=>{Ye.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:da.modal,onOk:()=>{const wa=[...ce];wa.splice(tn,1),pe(wa)}})},Ot=()=>{const tn=[...ce];tn.push(""),pe(tn)};return br.createElement(Te.Z,{className:"ml20"},br.createElement(Pr.Z,{flex:1},ce==null?void 0:ce.map((tn,wa)=>br.createElement(Te.Z,{key:`${tn}_${wa}`,align:"middle",className:"mb20"},br.createElement(ke.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:tn,autoSize:{maxRows:3},maxLength:1e3,onBlur:ma=>{const zn=[...ce],jt=ma.target.value.trim();zn[wa]=jt,pe(zn)}}),br.createElement(ct.Z,{title:"\u5220\u9664"},br.createElement(ue.Z,{className:da.deleteIcon,style:{marginLeft:15,visibility:wa>0?"visible":"hidden"},onClick:()=>Pe(wa)}))))),br.createElement(Pr.Z,null,br.createElement("div",{className:`${da.addBtn}`,onClick:()=>{Ot()}},"\u65B0\u589E\u7B54\u6848")))},Wi=({value:ce=!0,onChange:pe})=>br.createElement(zt.Z,{checked:!ce,onChange:Pe=>{pe(!Pe)}}),dl="\u2581",gl=({questionTitlePlaceholder:ce,form:pe,name:Pe,scoreByBlank:Ot,answerKey:tn,titleKey:wa="name",analysisKey:ma="analysis",isOrdered:zn="is_ordered"})=>{var jt,Yn;const[xn,Ct]=(0,b.useState)(!1),gn=(Pn,ya)=>{const ja=ya.line;let qr=0;for(let li=0;li{const cr=Pn.getRange(ya.from,ya.to);let li=0;if(ya.text.forEach(Za=>{li+=Za.split(dl).length-1}),ya.origin!=="setValue"){if(cr&&cr.indexOf(dl)!==-1){const Za=cr.split(dl).length-1,Co=gn(Pn,ya.from);if(console.log(`\u5220\u9664${Za}\u4E2A\uFF0C \u524D\u9762\u6709${Co}\u4E2A\uFF0C\u65B0\u589E${li}\u4E2A`),Za>1){const Cr=Array.from({length:Za},(ao,Eo)=>Co+Eo);qr(Cr)}else qr(Co)}else if(li>0){const Za=gn(Pn,ya.from);console.log(`\u65B0\u589E${li}\u4E2A\uFF0C\u4E4B\u524D\u6709${Za}\u4E2A`),ja(li,Za)}}},ra=()=>{const Pn=pe.getFieldValue(["sub_item_banks",...tn]);pe.setFieldValue(["sub_item_banks",...tn],Pn==null?void 0:Pn.map((ya,ja)=>nl(tl({},ya),{position:ja+1})))},Hn=(0,b.useRef)(),ba=(Pn,ya)=>{for(let ja=0;ja{ta.current(Pn),ra()},Ka=(Yn=(jt=pe.getFieldValue("sub_item_banks"))==null?void 0:jt[tn==null?void 0:tn[0]])==null?void 0:Yn[tn==null?void 0:tn[1]];return console.log(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot])),br.createElement("div",{className:da.wrap},br.createElement("div",{className:da.questionTitleEditorWrap},br.createElement(Be.default.Item,{label:"\u9898\u5E72",name:wa,labelCol:{span:24},rules:[{required:!0}]},br.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce,showNullButton:!0,onCMBeforeChange:(Pn,ya)=>{In(Pn,ya,ba,oa)}}))),br.createElement(Be.default.List,{name:tn,rules:[{validator(Pn,ya){if((ya==null?void 0:ya.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const ja of ya){const{answer_text:qr}=ja||{};if(qr!=null&&qr.some(cr=>(cr==null?void 0:cr.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Pn,{add:ya,remove:ja},{errors:qr})=>(Hn.current=ya,ta.current=ja,br.createElement(br.Fragment,null,br.createElement(Be.default.Item,{label:br.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Pn!=null&&Pn.length)&&br.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Pn.map((cr,li)=>{var Za=cr,{key:Co,name:Cr}=Za,ao=Vo(Za,["key","name"]);return br.createElement(Te.Z,{className:"mb20",key:Co,align:"top"},br.createElement(Pr.Z,{flex:"0 0 auto",className:`${da.blankIndex} pt5`},"\u586B\u7A7A\u9879",li+1),br.createElement(Pr.Z,{flex:1},br.createElement(Te.Z,{align:"top",justify:"space-between"},br.createElement(Pr.Z,{flex:1},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"answer_text"],noStyle:!0}),br.createElement(Fi,null))),(pe==null?void 0:pe.getFieldValue(["sub_item_banks",...Ot]))&&br.createElement(Pr.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),br.createElement(Ve.Z,{onChange:()=>{var Eo,hi;let mi=pe==null?void 0:pe.getFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"standard_answers"]),pr=0;for(let po in mi)(Eo=mi[po])!=null&&Eo.score&&(pr+=Number((hi=mi[po])==null?void 0:hi.score));pe==null||pe.setFieldValue(["sub_item_banks",tn==null?void 0:tn[0],"question_score"],pr)},className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),br.createElement(Be.default.Item,nl(tl({},ao),{name:[Cr,"position"],noStyle:!0}),br.createElement(ke.default,{type:"hidden"}))))})))),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"downcase"],valuePropName:"checked"},br.createElement(zt.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),br.createElement(Te.Z,{align:"middle"},br.createElement(Be.default.Item,{name:[Pe,"no_space"],valuePropName:"checked"},br.createElement(zt.Z,null)),br.createElement(Pr.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ka==null?void 0:Ka.length)>1&&br.createElement(Te.Z,{align:"middle",className:(Ka==null?void 0:Ka.length)>1?"mb30":`${da.hide}`},br.createElement(Be.default.Item,{name:zn},br.createElement(Wi,null)),br.createElement(Pr.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")),br.createElement("div",{onClick:()=>Ct(!0)},br.createElement(Be.default.Item,{name:ma,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},br.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xn}))))};var Pl=Object.defineProperty,kr=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,we=(ce,pe,Pe)=>pe in ce?Pl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fn=(ce,pe)=>{for(var Pe in pe||(pe={}))Ya.call(pe,Pe)&&we(ce,Pe,pe[Pe]);if(Ga)for(var Pe of Ga(pe))so.call(pe,Pe)&&we(ce,Pe,pe[Pe]);return ce},Mn=(ce,pe)=>kr(ce,Qa(pe)),Sa=(ce,pe)=>{var Pe={};for(var Ot in ce)Ya.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ga)for(var Ot of Ga(ce))pe.indexOf(Ot)<0&&so.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const on={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Ma=({value:ce,onChange:pe,form:Pe,choiceKey:Ot})=>{const tn=(ce==null?void 0:ce.is_answer)===1,wa=ce==null?void 0:ce.choice_text,ma=()=>{var zn;const jt=(zn=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",...Ot]))==null?void 0:zn.map(Yn=>({choice_text:Yn.choice_text,is_answer:0}));Pe==null||Pe.setFieldValue(["sub_item_banks",...Ot],jt),pe(Mn(fn({},ce),{is_answer:1}))};return b.createElement(Te.Z,{className:da.choiceWrap,align:"middle",wrap:!1},b.createElement(Pr.Z,{onClick:ma,className:`${da.choiceIndex} ${da.judgementIndex} ${tn?da.activeAnswer:""}`},on[wa]),b.createElement(Pr.Z,{flex:1,className:`${da.editorWrap} ml15`},b.createElement("div",{className:`${da.inputBorder} ${da.placeholder} ${tn?da.activeJudgementAnswer:""}`},wa)),b.createElement(Pr.Z,{flex:"0 0 auto",className:"ml15"},b.createElement("div",{onClick:ma,className:`${da.setAnswerBtn} ${tn?da.activeAnswer:""}`},tn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Fa=({questionTitlePlaceholder:ce,choiceKey:pe="choices",form:Pe,titleKey:Ot="name",analysisKey:tn="analysis"})=>{const[wa,ma]=(0,b.useState)(!1);return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ot,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},b.createElement(Be.default.List,{name:pe,rules:[{validator(zn,jt){return jt.some(xn=>(xn==null?void 0:xn.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},zn=>b.createElement("div",{id:"choices"},zn.map(jt=>{var Yn=jt,{key:xn,name:Ct}=Yn,gn=Sa(Yn,["key","name"]);return b.createElement(Be.default.Item,Mn(fn({},gn),{key:xn,name:Ct,noStyle:!0}),b.createElement(Ma,{form:Pe,choiceKey:pe}))})))),b.createElement("div",{onClick:()=>ma(!0)},b.createElement(Be.default.Item,{name:tn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:wa}))))};var jn=ee(12563),Xn=Object.defineProperty,sr=Object.defineProperties,Ha=Object.getOwnPropertyDescriptors,Ta=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,bo=(ce,pe,Pe)=>pe in ce?Xn(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,$o=(ce,pe)=>{for(var Pe in pe||(pe={}))Ja.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);if(Ta)for(var Pe of Ta(pe))Rr.call(pe,Pe)&&bo(ce,Pe,pe[Pe]);return ce},Wo=(ce,pe)=>sr(ce,Ha(pe)),Ti=(ce,pe)=>{var Pe={};for(var Ot in ce)Ja.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Ta)for(var Ot of Ta(ce))pe.indexOf(Ot)<0&&Rr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const Ji=ce=>{var pe=ce,{value:Pe,onChange:Ot}=pe,tn=Ti(pe,["value","onChange"]);const wa=ma=>{Ot([ma])};return b.createElement(En.Z,Wo($o({},tn),{defaultValue:Pe==null?void 0:Pe[0],onChange:wa}))},al=ce=>{if(!ce)return!1;let pe=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 ce==="|"?(Ne.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Zl=({value:ce=[],onClose:pe})=>b.createElement(jn.default,{closable:!0,onClose:pe,className:da.keywordTag},b.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},ce.join(" \u6216 "))),Al=({questionTitlePlaceholder:ce,form:pe,showKeywords:Pe,isMustKeyWords:Ot=Pe,titleKey:tn="name",analysisKey:wa="analysis",answerTexts:ma="answer_texts",keywords:zn="keywords",useKeywords:jt="use_keywords",indexs:Yn})=>{var xn,Ct,gn,In;const[ra,Hn]=(0,b.useState)(!1),[ba,ta]=(0,b.useState)(""),oa=(Ct=(xn=pe.getFieldValue("sub_item_banks"))==null?void 0:xn[jt==null?void 0:jt[0]])==null?void 0:Ct[jt==null?void 0:jt[1]],Ka=(In=(gn=pe.getFieldValue("sub_item_banks"))==null?void 0:gn[jt==null?void 0:jt[0]])==null?void 0:In.question_score;return b.createElement("div",{className:da.wrap},b.createElement("div",{className:da.questionTitleEditorWrap},b.createElement(Be.default.Item,{label:"\u9898\u5E72",name:tn,labelCol:{span:24},rules:[{required:!0}]},b.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),b.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ma,labelCol:{span:24}},b.createElement(Ji,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Pe&&!Ot&&b.createElement(Be.default.Item,{hidden:!0,name:jt,valuePropName:"checked"},b.createElement(zt.Z,{defaultChecked:!0})),Pe&&Ot&&b.createElement(Te.Z,{align:"middle",className:"mb30"},b.createElement(Be.default.Item,{name:jt,valuePropName:"checked"},b.createElement(zt.Z,null)),b.createElement(Pr.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),b.createElement(Pr.Z,null,b.createElement(ct.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(wt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(oa||!Ot)&&b.createElement(Be.default.List,{name:zn,rules:[{validator(Pn,ya){return Ot?ya!=null&&ya.length?(ya==null?void 0:ya.reduce((qr,cr)=>qr+cr.score,0))>parseFloat(Ka)?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()}}]},(Pn,{add:ya,remove:ja})=>b.createElement(b.Fragment,null,b.createElement("div",{className:`${da.title} mb10`},Ot?"\u5173\u952E\u8BCD":b.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),b.createElement(Te.Z,{align:"middle",className:"font14 mb30"},b.createElement(Pr.Z,{flex:1},b.createElement(ke.default,{value:ba,onChange:qr=>{ta(qr.target.value)},maxLength:50,allowClear:!0,onPressEnter:qr=>{var cr,li,Za,Co;const Cr=`${(cr=qr.target)==null?void 0:cr.value}`,ao=(Za=(li=Cr==null?void 0:Cr.split("|"))==null?void 0:li.filter(mi=>!!mi))==null?void 0:Za.map(mi=>mi==null?void 0:mi.trim()),Eo=pe.getFieldValue(["sub_item_banks",...zn]),hi=((Co=Eo==null?void 0:Eo.map(mi=>mi==null?void 0:mi.keyword))==null?void 0:Co.flat())||[];for(const mi of ao)if(hi.includes(mi)){Ne.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}al(Cr)&&(ya({keyword:ao,score:1}),ta(""))},className:da.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(Pr.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),Pn.map(qr=>{var cr=qr,{key:li,name:Za}=cr,Co=Ti(cr,["key","name"]);return b.createElement(Te.Z,{key:li,className:"mb20",style:{marginRight:148}},b.createElement(Pr.Z,{flex:1},b.createElement(Te.Z,{align:"middle",justify:"space-between"},b.createElement(Be.default.Item,Wo($o({},Co),{name:[Za,"keyword"]}),b.createElement(Zl,{onClose:()=>ja(Za)})),Ot&&b.createElement(Be.default.Item,Wo($o({},Co),{name:[Za,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:da.blankInputNumberWrapper}),b.createElement(Ve.Z,{className:da.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),b.createElement("div",{onClick:()=>Hn(!0)},b.createElement(Be.default.Item,{name:wa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},b.createElement(Er,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ra}))))};var So=ee(59301),yl=Object.defineProperty,eu=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,Qu=Object.prototype.propertyIsEnumerable,su=(ce,pe,Pe)=>pe in ce?yl(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,mu=(ce,pe)=>{for(var Pe in pe||(pe={}))tu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);if(xl)for(var Pe of xl(pe))Qu.call(pe,Pe)&&su(ce,Pe,pe[Pe]);return ce},Yu=(ce,pe)=>eu(ce,Nl(pe)),El=(ce,pe)=>{var Pe={};for(var Ot in ce)tu.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&xl)for(var Ot of xl(ce))pe.indexOf(Ot)<0&&Qu.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe};const{Panel:Ru}=ur.default,Mu=({questionTitlePlaceholder:ce,choiceKey:pe,form:Pe,withScore:Ot})=>{const tn=[{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"}],[wa,ma]=(0,b.useState)(),[zn,jt]=(0,b.useState)([]),Yn=Ct=>{jt(Ct)},xn=({value:Ct})=>So.createElement("div",{style:{width:150,paddingLeft:11}},Ct);return So.createElement("div",{className:da.wrap},So.createElement("div",{className:da.questionTitleEditorWrap},So.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},So.createElement(Fr,{scrollId:"name",watch:!0,height:140,placeholder:ce}))),So.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),So.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ct,gn){return gn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ct,{add:gn,remove:In,move:ra})=>{const Hn=Pe.getFieldValue("sub_item_banks");return So.createElement(So.Fragment,null,So.createElement(ur.default,{className:Ct.length>0?da.collapseWrapper:"",bordered:!1,activeKey:zn,onChange:Yn,expandIcon:({isActive:ba})=>So.createElement("i",{className:`iconfont icon-weizhankai ${ba?da.open:da.close}`,style:{fontSize:14,transition:"all .2s"}})},Ct.map((ba,ta)=>{var oa=ba,{key:Ka,name:Pn}=oa,ya=El(oa,["key","name"]),ja,qr,cr,li,Za,Co,Cr,ao,Eo,hi,mi,pr,po,Ki;return So.createElement(Ru,{className:da.panel,forceRender:!0,header:So.createElement("div",{className:da.panelHeader},"\u7B2C",ta+1,"\u5C0F\u9898",So.createElement("span",null,"\uFF08",((ja=Hn==null?void 0:Hn[Pn])==null?void 0:ja.question_type)==0?"\u5355\u9009\u9898":((qr=Hn==null?void 0:Hn[Pn])==null?void 0:qr.question_type)==1?"\u591A\u9009\u9898":((cr=Hn==null?void 0:Hn[Pn])==null?void 0:cr.question_type)==3?"\u586B\u7A7A\u9898":((li=Hn==null?void 0:Hn[Pn])==null?void 0:li.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Pn,extra:So.createElement(Te.Z,{align:"middle",onClick:Li=>Li.stopPropagation()},((Za=Hn==null?void 0:Hn[Pn])==null?void 0:Za.question_type)==3&&So.createElement(So.Fragment,null,So.createElement(et.ZP.Group,{defaultValue:(Co=Hn==null?void 0:Hn[Pn])==null?void 0:Co.use_blank_score,className:mt.scoreByBlankRadio,style:{marginRight:20},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:Li=>{var ea,xo,Ri,Zo,Ci;if(Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"use_blank_score"],(ea=Li==null?void 0:Li.target)==null?void 0:ea.value),(xo=Li==null?void 0:Li.target)!=null&&xo.value){let Mi=0;for(let oi in(Ri=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Ri.standard_answers)Mi+=Number((Ci=(Zo=Pe==null?void 0:Pe.getFieldValue(["sub_item_banks",Pn]))==null?void 0:Zo.standard_answers[oi])==null?void 0:Ci.score);Pe==null||Pe.setFieldValue(["sub_item_banks",Pn,"question_score"],Mi||"")}ma(new Date)}}),So.createElement(ct.Z,{overlayInnerStyle:{width:460},title:So.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",So.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")},So.createElement("i",{className:"icon-tishixiaowenhao font18 mr25 c-3061d0"}))),Ot&&So.createElement(Be.default.Item,Yu(mu({},ya),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Pn,"question_score"],className:da.blankInputNumberWrapper}),((Cr=Hn==null?void 0:Hn[Pn])==null?void 0:Cr.question_type)==3&&((ao=Hn==null?void 0:Hn[Pn])!=null&&ao.use_blank_score)?So.createElement(xn,null):So.createElement(Ve.Z,{className:da.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}})),So.createElement(Te.Z,{align:"middle",className:"pl40",style:{width:82}},ta!==0&&So.createElement("div",{onClick:()=>{var Li;ra(ta,ta-1);const ea=(Li=Pe.getFieldValue("sub_item_banks"))==null?void 0:Li.map((xo,Ri)=>(Ct.map((Zo,Ci)=>{Ri===Ci&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)}},So.createElement(ct.Z,{title:"\u4E0A\u79FB"},So.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),ta{var Li;ra(ta,ta+1);const ea=(Li=Pe.getFieldValue("sub_item_banks"))==null?void 0:Li.map((xo,Ri)=>(Ct.map((Zo,Ci)=>{Ri===Ci&&(xo.q_position=Number(Zo.name)+1)}),xo));Pe.setFieldValue("sub_item_banks",ea)},className:ta===0?"":"ml10"},So.createElement(ct.Z,{title:"\u4E0B\u79FB"},So.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"})))),So.createElement(ct.Z,{title:"\u5220\u9664"},So.createElement(ue.Z,{className:`${da.deleteIcon} ml40`,onClick:()=>In(Pn)})))},So.createElement(Be.default.Item,Yu(mu({},ya),{name:Pn}),(((Eo=Hn==null?void 0:Hn[Pn])==null?void 0:Eo.question_type)==0||((hi=Hn==null?void 0:Hn[Pn])==null?void 0:hi.question_type)==1)&&So.createElement(Oo,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((mi=Hn==null?void 0:Hn[Pn])==null?void 0:mi.question_type)==1,form:Pe,choiceKey:[Pn,"choices"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceOptionsPath:["sub_item_banks",Pn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((pr=Hn==null?void 0:Hn[Pn])==null?void 0:pr.question_type)==3&&So.createElement(gl,{form:Pe,name:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Pn,"use_blank_score"],titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],isOrdered:[Pn,"is_ordered"],answerKey:[Pn,"standard_answers"],key:wa}),((po=Hn==null?void 0:Hn[Pn])==null?void 0:po.question_type)==2&&So.createElement(Fa,{form:Pe,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],choiceKey:[Pn,"choices"]}),((Ki=Hn==null?void 0:Hn[Pn])==null?void 0:Ki.question_type)==4&&So.createElement(Al,{showKeywords:!0,isMustKeyWords:!0,form:Pe,titleKey:[Pn,"name"],analysisKey:[Pn,"analysis"],answerTexts:[Pn,"answer_texts"],useKeywords:[Pn,"use_keywords"],keywords:[Pn,"keywords"],indexs:Pn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Ct.length<20&&So.createElement(ze.Z,{menu:{items:[{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:0,item_type:"SINGLE"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",question_type:1,item_type:"MULTIPLE"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",question_type:2,item_type:"JUDGMENT"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",analysis:"",is_ordered:!0,standard_answers:[],question_type:3,item_type:"COMPLETION",use_blank_score:!0,downcase:!0,no_space:!0}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:So.createElement("div",{onClick:()=>{gn({name:"",answer_texts:[],keywords:[],use_keywords:!1,analysis:"",question_type:4,item_type:"SUBJECTIVE"}),jt([Ct==null?void 0:Ct.length,...zn])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(ba=>ba.show).map(ba=>({label:ba.label,key:ba.key}))}},So.createElement("div",{className:`${da.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var rl=ee(59301),ku=Object.defineProperty,nu=Object.defineProperties,Ju=Object.getOwnPropertyDescriptors,bu=Object.getOwnPropertySymbols,Tu=Object.prototype.hasOwnProperty,Xu=Object.prototype.propertyIsEnumerable,_u=(ce,pe,Pe)=>pe in ce?ku(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,bl=(ce,pe)=>{for(var Pe in pe||(pe={}))Tu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);if(bu)for(var Pe of bu(pe))Xu.call(pe,Pe)&&_u(ce,Pe,pe[Pe]);return ce},ji=(ce,pe)=>nu(ce,Ju(pe)),Zu=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),au=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();(0,b.useEffect)(()=>{var gn;xn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(gn=ce.sub_exercise_questions)==null?void 0:gn.map(In=>{var ra;return ji(bl({},In),{name:In.question_title,choices:(ra=In==null?void 0:In.question_choices)==null?void 0:ra.map(Hn=>ji(bl({},Hn),{is_answer:Hn!=null&&Hn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer}))},[ce]);const Ct=gn=>{if(!(gn!=null&&gn.length))return!1;const In=gn.map(Hn=>{var ba;return(ba=Hn.choice_text)==null?void 0:ba.trim().replace(/^\s+|\s+$/g,"")});return new Set(In).size!==In.length};return rl.createElement("div",null,rl.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.sub_item_banks){let oa=((ra=xn.getFieldValue("sub_item_banks"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("sub_item_banks"))==null?void 0:Hn.map(Ka=>{var Pn;if(Ka.question_type==3&&(Ka!=null&&Ka.use_blank_score)){let ya=0;for(let ja in Ka==null?void 0:Ka.standard_answers)ya+=Number((Pn=Ka==null?void 0:Ka.standard_answers[ja])==null?void 0:Pn.score);return ya}else return Ka.question_score}))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(ta=parseFloat(oa.reduce((Ka,Pn)=>parseFloat(Ka)+parseFloat(Pn))))==null?void 0:ta.toFixed(1)})}},onFinish:gn=>{var In,ra;if((In=gn.sub_item_banks)==null?void 0:In.some(ba=>ba.question_type===0||ba.question_type===1?Ct(ba.choices):!1)){Ne.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}tn(ji(bl(bl({},ce),gn),{question_title:gn.name,sub_questions:(ra=gn==null?void 0:gn.sub_item_banks)==null?void 0:ra.map(ba=>{var ta,oa,Ka,Pn;return(ba==null?void 0:ba.question_type)==3?ji(bl({},ba),{question_title:ba.name,item_type:ba==null?void 0:ba.question_type}):ji(bl({},ba),{question_title:ba.name,question_choices:(oa=(ta=ba==null?void 0:ba.choices)==null?void 0:ta.map)==null?void 0:oa.call(ta,ya=>ya.choice_text),standard_answers:(Pn=(Ka=ba==null?void 0:ba.choices)==null?void 0:Ka.map)==null?void 0:Pn.call(Ka,(ya,ja)=>(ya==null?void 0:ya.is_answer)===1&&ja+1).filter(ya=>ya),item_type:ba==null?void 0:ba.question_type})})}))},onFinishFailed:gn=>Zu(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},rl.createElement("div",{style:{display:"flex",alignItems:"center"}},rl.createElement("div",{style:{flex:1}},rl.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),rl.createElement("span",null,"\u7EC4\u5408\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&rl.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},rl.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),rl.createElement(Ge.ZP,{onClick:()=>{var gn;ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(ji(bl({},ce),{name:ce.question_title,sub_item_banks:(gn=ce.sub_exercise_questions)==null?void 0:gn.map(In=>{var ra;return ji(bl({},In),{name:In.question_title,choices:(ra=In==null?void 0:In.question_choices)==null?void 0:ra.map(Hn=>ji(bl({},Hn),{is_answer:Hn!=null&&Hn.standard_boolean?1:0}))})}),repeat_answer:!ce.repeat_answer})),pe(!1))}},"\u53D6\u6D88"),rl.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:rl.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},rl.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")},rl.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),rl.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},rl.createElement(Vt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),rl.createElement(Mu,{form:xn,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),rl.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},Bi=ee(59301),Cu=Object.defineProperty,zu=Object.defineProperties,rs=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,xu=Object.prototype.propertyIsEnumerable,Fu=(ce,pe,Pe)=>pe in ce?Cu(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Fl=(ce,pe)=>{for(var Pe in pe||(pe={}))Hu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);if(Il)for(var Pe of Il(pe))xu.call(pe,Pe)&&Fu(ce,Pe,pe[Pe]);return ce},zl=(ce,pe)=>zu(ce,rs(pe)),os=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),ju=({qitem:ce,setqitem:pe,setisedit:Pe,TagDiscipline:Ot,exerciseitem:tn,seveeditor:wa,deleteitem:ma,showTip:zn})=>{var jt,Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{var Ct,gn;xn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>zl(Fl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(In=>zl(Fl({},In),{defaultscore:In.challenge_score}))},[]),Bi.createElement("div",null,Bi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{var gn,In;let ra=zl(Fl({},Ct),{question_scores:(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(Hn=>Hn.challenge_score),item_type:ce==null?void 0:ce.question_type,choices:(In=Ct==null?void 0:Ct.choices)==null?void 0:In.map(Hn=>zl(Fl({},Hn),{is_answer:Hn.standard_boolean}))});wa(Fl(Fl({},ce),ra))},onFinishFailed:Ct=>os(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Bi.createElement("div",{style:{display:"flex",alignItems:"center"}},Bi.createElement("div",{style:{flex:1}},Bi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Bi.createElement("span",null,"\u5B9E\u8BAD\u9898")),((jt=tn==null?void 0:tn.exercise)==null?void 0:jt.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Bi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ma()}},Bi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Bi.createElement(Ge.ZP,{onClick:()=>{var Ct,gn;xn.setFieldsValue(zl(Fl({},ce),{name:ce==null?void 0:ce.question_title,choices:(Ct=ce==null?void 0:ce.question_choices)==null?void 0:Ct.map(In=>zl(Fl({},In),{standard_boolean:In!=null&&In.standard_boolean?1:0})),repeat_answer:!(ce!=null&&ce.repeat_answer)})),ce.shixun=(gn=ce==null?void 0:ce.shixun)==null?void 0:gn.map(In=>zl(Fl({},In),{challenge_score:In.defaultscore})),pe(Fl({},ce)),Pe(!1)}},"\u53D6\u6D88"),Bi.createElement(ct.Z,{overlayClassName:mt.shake,open:zn,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Bi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Bi.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")},Bi.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>os(void 0,null,function*(){var Ct,gn,In;if(((gn=(Ct=ce==null?void 0:ce.shixun)==null?void 0:Ct.map)==null?void 0:gn.call(Ct,ra=>ra.challenge_score).filter(ra=>ra).length)<((In=ce==null?void 0:ce.shixun)==null?void 0:In.length)){Ne.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}xn.submit()})},"\u4FDD\u5B58"))),Bi.createElement(Vt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Bi.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Bi.createElement(En.Z,{watch:!0,height:140,placeholder:"",defaultValue:ce.question_title}))),Bi.createElement(Te.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Bi.createElement("a",{href:`/shixuns/${ce==null?void 0:ce.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Bi.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(Yn=ce==null?void 0:ce.shixun)==null?void 0:Yn.map((Ct,gn)=>Bi.createElement("div",{style:{display:"flex",marginBottom:20}},Bi.createElement("div",{style:{flex:1}},gn+1,"\u3001",Ct.challenge_name),Bi.createElement("div",null,Bi.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Bi.createElement(Ve.Z,{precision:1,value:Ct==null?void 0:Ct.challenge_score,onChange:In=>{const ra=JSON.parse(JSON.stringify((ce==null?void 0:ce.shixun)||[]));ra[gn].challenge_score=In;const Hn=ra.every(ta=>!ta.challenge_score),ba=parseFloat(ra==null?void 0:ra.map(ta=>ta.challenge_score).reduce((ta,oa)=>parseFloat(ta||0)+parseFloat(oa||0)));xn.setFieldsValue({question_score:Hn?"":ba.toFixed(1)}),pe(zl(Fl({},ce),{shixun:ra}))},max:200,min:.1,style:{marginLeft:10,width:150},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C",size:"middle"})))))},Ar={flex_box_center:"flex_box_center___Vhtb1",flex_space_between:"flex_space_between___k2ZrJ",flex_box_vertical_center:"flex_box_vertical_center___tn6Db",flex_box_center_end:"flex_box_center_end___k3eNX",flex_box_column:"flex_box_column___rsWbi",warp:"warp___UlRJc",indexTag:"indexTag___rjJ1u",normalWrap:"normalWrap___Qm4zY",redio:"redio___VW3yr",redioitem:"redioitem___jAPlJ",redioitemyes:"redioitemyes___VoiQ1",title:"title___Dt2dl",titleyes:"titleyes___Fjh3a",yestag:"yestag___CXrPv",checkbox:"checkbox___CgMU_",checkboxitem:"checkboxitem___PpJ9n",checkboxitemyes:"checkboxitemyes___pCfvZ",bottom:"bottom___BqrmJ",bottomitem:"bottomitem___Qk2rG",left:"left___l29lW",right:"right___nB1XE",completion:"completion___y1m7L",content:"content___AmQy4",items:"items___lIt8e",simple:"simple___zxJLH",shixunWrapper:"shixunWrapper___kAYdL",shixun:"shixun___UE6xS",score:"score___Px5Fq",qtitle:"qtitle___wG7Nn",program:"program___gzKdL",combination:"combination___R0ysn",qtype:"qtype___U0Suy",divname:"divname___guDo9"},Bu=ee(1710),Yl=ee(59879),Hl=ee(24334),qa=ee(59301);const du=["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"],es=[{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 wu=({qitem:ce,exercise:pe})=>{var Pe,Ot,tn,wa,ma,zn,jt,Yn,xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr,cr,li;return qa.createElement("div",{className:Ar.warp},((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&qa.createElement("div",{className:Ar.normalWrap},(Pe=ce==null?void 0:ce.question_choices)==null?void 0:Pe.map((Za,Co)=>qa.createElement("div",{className:Ar.redio},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},(ce==null?void 0:ce.question_type)===0?du[Co]:""),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&qa.createElement("div",{className:Ar.normalWrap},(Ot=ce==null?void 0:ce.question_choices)==null?void 0:Ot.map((Za,Co)=>qa.createElement("div",{className:Ar.checkbox},!(Za!=null&&Za.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Co]),qa.createElement(fe.Z,{className:Za!=null&&Za.standard_boolean?Ar.titleyes:Ar.title,value:Za==null?void 0:Za.choice_text}),(Za==null?void 0:Za.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&qa.createElement("div",{className:Ar.completion},(tn=ce==null?void 0:ce.standard_answers)==null?void 0:tn.map((Za,Co)=>{var Cr;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Co+1),qa.createElement("div",{className:Ar.content},(Cr=Za.answer_text)==null?void 0:Cr.map((ao,Eo)=>qa.createElement("div",{key:Eo,className:Ar.items,style:(Za==null?void 0:Za.model)===2?{border:0,padding:0}:{}},(Za==null?void 0:Za.model)===1?qa.createElement("pre",{className:"mb0"},ao):qa.createElement(Yl.Z,{value:ao,disabled:!0})))))})),(ce==null?void 0:ce.question_type)===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?qa.createElement(fe.Z,{className:Ar.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},ce!=null&&ce.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(ce==null?void 0:ce.question_type)===5&&qa.createElement("div",{className:Ar.shixunWrapper},(zn=ce==null?void 0:ce.shixun)==null?void 0:zn.map((Za,Co)=>{var Cr,ao;return qa.createElement("div",null,qa.createElement("div",{key:Co,className:`${Ar.shixun} mb30`},qa.createElement("span",{className:Ar.score},"\uFF08",Za==null?void 0:Za.challenge_score,"\u5206\uFF09"),qa.createElement("span",{className:Ar.qtitle},(ce==null?void 0:ce.index)+"."+(Co+1),"\u3001",Za==null?void 0:Za.challenge_name)),((ao=(Cr=pe==null?void 0:pe.editData)==null?void 0:Cr.exercise)==null?void 0:ao.show_challenge_task_pass)&&qa.createElement(fe.Z,{className:Ar.content,value:(Za==null?void 0:Za.task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(ce==null?void 0:ce.question_type)===6&&qa.createElement("div",{className:Ar.program,style:{border:!((Yn=(jt=pe==null?void 0:pe.editData)==null?void 0:jt.exercise)!=null&&Yn.show_hack_sets)&&!((Ct=(xn=pe==null?void 0:pe.editData)==null?void 0:xn.exercise)!=null&&Ct.show_hack_description)&&"none"}},((In=(gn=pe==null?void 0:pe.editData)==null?void 0:gn.exercise)==null?void 0:In.show_hack_sets)&&qa.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},qa.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},qa.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),qa.createElement(Bu.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Za,Co,Cr)=>Cr+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Za,Co,Cr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)},qa.createElement("div",{className:Ar.divname},Za))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Za,Co,Cr)=>qa.createElement(ct.Z,{title:qa.createElement("pre",null,Za)}," ",qa.createElement("div",{className:Ar.divname},Za))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:ce==null?void 0:ce.hack_sets})),((Hn=(ra=pe==null?void 0:pe.editData)==null?void 0:ra.exercise)==null?void 0:Hn.show_hack_description)&&qa.createElement("div",null,qa.createElement(fe.Z,{className:Ar.content,value:(ce==null?void 0:ce.description)||"- -"}))),(ce==null?void 0:ce.question_type)===7&&((ba=ce==null?void 0:ce.sub_exercise_questions)==null?void 0:ba.map((Za,Co)=>{var Cr,ao,Eo,hi,mi,pr;return qa.createElement("div",{key:Co},qa.createElement("div",{className:Ar.combination},qa.createElement("span",{className:Ar.score},Za==null?void 0:Za.question_score,"\u5206"),qa.createElement("span",{className:Ar.qtype},(Cr=es.find(po=>po.type==Za.question_type))==null?void 0:Cr.name),qa.createElement("span",{className:Ar.qtitle},Co+1,"\u3001",Za==null?void 0:Za.question_title)),(Za.question_type===0||Za.question_type===2)&&qa.createElement("div",{className:Ar.warp,style:{padding:"30px 58px",paddingBottom:0}},qa.createElement("div",null,(ao=Za==null?void 0:Za.question_choices)==null?void 0:ao.map((po,Ki)=>qa.createElement("div",{className:Ar.redio,key:Ki},!(po!=null&&po.standard_boolean)&&qa.createElement("span",{className:Ar.redioitem}),(po==null?void 0:po.standard_boolean)&&qa.createElement("i",{className:`${Ar.redioitemyes} icon-duigou1`}),Za.question_type===2&&qa.createElement("span",{className:`${po!=null&&po.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ki]),qa.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Ar.titleyes:Ar.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848"))))),Za.question_type===1&&qa.createElement("div",{className:Ar.normalWrap},(Eo=Za==null?void 0:Za.question_choices)==null?void 0:Eo.map((po,Ki)=>qa.createElement("div",{className:Ar.checkbox,key:Ki},!(po!=null&&po.standard_boolean)&&qa.createElement("span",{className:Ar.checkboxitem}),(po==null?void 0:po.standard_boolean)&&qa.createElement("i",{className:`${Ar.checkboxitemyes} icon-duigou1`}),qa.createElement("span",{className:`${po!=null&&po.standard_boolean?Ar.titleyes:Ar.title} ${Ar.indexTag}`},du[Ki]),qa.createElement(fe.Z,{className:po!=null&&po.standard_boolean?Ar.titleyes:Ar.title,value:po==null?void 0:po.choice_text}),(po==null?void 0:po.standard_boolean)&&qa.createElement("div",{className:Ar.yestag},"\u6B63\u786E\u7B54\u6848")))),Za.question_type===3&&qa.createElement("div",{className:Ar.completion},(hi=Za==null?void 0:Za.standard_answers)==null?void 0:hi.map((po,Ki)=>{var Li;return qa.createElement(Te.Z,{align:"top"},qa.createElement("span",{className:Ar.title},"\u586B\u7A7A\u9879",Ki+1),qa.createElement("div",{className:Ar.content},(Li=po.answer_text)==null?void 0:Li.map((ea,xo)=>qa.createElement("div",{key:xo,className:Ar.items},qa.createElement("pre",{className:"mb0"},ea)))))})),Za.question_type===4&&qa.createElement("div",{className:Ar.simple},qa.createElement("div",{className:Ar.title},"\u53C2\u8003\u7B54\u6848"),qa.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(mi=Za==null?void 0:Za.answer_texts)!=null&&mi[0]?qa.createElement(fe.Z,{className:Ar.content,value:(pr=Za==null?void 0:Za.answer_texts)==null?void 0:pr[0]}):qa.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),qa.createElement("div",{className:"mt20 "},qa.createElement("span",{className:Ar.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),qa.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Za!=null&&Za.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(ce==null?void 0:ce.question_type)===8&&qa.createElement("div",null,qa.createElement(fe.Z,{disabledFill:!0,className:Ar.content,showProgramFill:!0,value:Hl.Base64.decode(((ta=ce==null?void 0:ce.program_attr)==null?void 0:ta.code)||"")})),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&qa.createElement("div",{className:Ar.bottom},qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u89E3\u6790"),qa.createElement("span",{className:Ar.right},ce!=null&&ce.analysis?qa.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),qa.createElement("div",{className:`${Ar.bottomitem} mb30`},qa.createElement("span",{className:Ar.left},"\u96BE\u5EA6"),qa.createElement("span",{className:Ar.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),qa.createElement("div",{className:Ar.bottomitem},qa.createElement("span",{className:Ar.left},"\u77E5\u8BC6\u70B9"),qa.createElement(ct.Z,{title:((oa=ce==null?void 0:ce.tag_discipline_names)==null?void 0:oa.length)<=0||((Ka=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Ka.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(ya=(Pn=ce==null?void 0:ce.tag_discipline_names)==null?void 0:Pn.join("\uFF1B"))==null?void 0:ya.toString()},qa.createElement("span",{className:Ar.right},((ja=ce==null?void 0:ce.tag_discipline_names)==null?void 0:ja.length)<=0?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((qr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:qr.length)==1&&["-"].includes(ce==null?void 0:ce.tag_discipline_names[0])?qa.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(li=(cr=ce==null?void 0:ce.tag_discipline_names)==null?void 0:cr.join("\uFF1B"))==null?void 0:li.toString())))))},ts=ee(42609),cu=ee(35173),Qi=ee(59301),ls=Object.defineProperty,us=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Gu=Object.getOwnPropertySymbols,Jl=Object.prototype.hasOwnProperty,Xl=Object.prototype.propertyIsEnumerable,ru=(ce,pe,Pe)=>pe in ce?ls(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,fu=(ce,pe)=>{for(var Pe in pe||(pe={}))Jl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);if(Gu)for(var Pe of Gu(pe))Xl.call(pe,Pe)&&ru(ce,Pe,pe[Pe]);return ce},Wu=(ce,pe)=>us(ce,ss(pe)),me=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),ye=({qitem:ce,setisedit:pe,TagDiscipline:Pe,exerciseitem:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm();return(0,b.useEffect)(()=>{xn.setFieldsValue(Wu(fu({},ce),{name:ce.question_title,answer_texts:ce.answer_texts,repeat_answer:!ce.repeat_answer}))},[ce]),Qi.createElement("div",null,Qi.createElement(Be.default,{form:xn,colon:!1,onFinish:Ct=>{tn(Wu(fu(fu({},ce),Ct),{answer_texts:Ct==null?void 0:Ct.answer_texts,question_title:Ct==null?void 0:Ct.name}))},onFinishFailed:Ct=>me(void 0,null,function*(){var gn,In;Ne.ZP.error(Ct.errorFields[0].errors[0]),xn.scrollToField((In=(gn=Ct==null?void 0:Ct.errorFields)==null?void 0:gn[0])==null?void 0:In.name,{behavior:"smooth",block:"center"})})},Qi.createElement("div",{style:{display:"flex",alignItems:"center"}},Qi.createElement("div",{style:{flex:1}},Qi.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Qi.createElement("span",null,"\u7B80\u7B54\u9898")),((Yn=Ot==null?void 0:Ot.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Qi.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Qi.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Qi.createElement(Ge.ZP,{onClick:()=>{ce.isadd?(pe(!1),zn()):(xn.setFieldsValue(Wu(fu({},ce),{name:ce==null?void 0:ce.question_title,answer_texts:ce.answer_texts||[],repeat_answer:!(ce!=null&&ce.repeat_answer)})),pe(!1))}},"\u53D6\u6D88"),Qi.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Qi.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Qi.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")},Qi.createElement(Ge.ZP,{type:"primary",className:"ml20",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Qi.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Qi.createElement(Be.default.Item,{className:mt.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Qi.createElement(Ve.Z,{onBlur:Ct=>{Ct.target.value==="0"&&Ne.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})),Qi.createElement(cu.W,{form:xn,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Qi.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Ot,TagDiscipline:Pe,form:xn}))))},tt=ee(59301),it=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Kt=({setScoreShow:ce,ScoreShow:pe,exerciseitem:Pe,getdata:Ot})=>{var tn,wa,ma;const[zn,jt]=(0,b.useState)(!1);function Yn(){return it(this,null,function*(){var xn,Ct,gn;let In=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(Hn=>Hn.Singlequestion))==null?void 0:Ct.map(Hn=>({question_type:Hn.question_type,score:Hn.Singlequestion})),ra=yield(0,ne.ZP)(`/api/exercises/${(gn=Pe==null?void 0:Pe.exercise)==null?void 0:gn.id}/batch_set_score.json`,{method:"POST",body:{question_arr:In}});(ra==null?void 0:ra.status)===0&&Ot()})}return tt.createElement("div",null,pe&&tt.createElement(Ye.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:pe,width:640,centered:!0,zIndex:10,className:mt.scoremodal,onCancel:()=>{ce(!1)},onOk:()=>{var xn,Ct,gn;if(Pe!=null&&Pe.use_blank_score&&((gn=(Ct=(xn=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:xn.filter(In=>In.name==="\u586B\u7A7A\u9898"))==null?void 0:Ct[0])!=null&&gn.Singlequestion)){jt(!0);return}Yn(),ce(!1)}},tt.createElement("div",{className:"c-black"},"\u603B\u5206",tt.createElement("span",{className:"ml10 c-light-primary"},(Pe==null?void 0:Pe.exercise_question_types.length)>0&&((tn=Pe==null?void 0:Pe.exercise_types)==null?void 0:tn.q_scores))),tt.createElement("div",{className:mt.content},tt.createElement("span",null,"\u9898\u578B\u540D\u79F0"),tt.createElement("span",null,"\u5C0F\u9898\u603B\u6570"),tt.createElement("span",null,"\u9898\u578B\u603B\u5206"),tt.createElement("span",null,"\u64CD\u4F5C")),(ma=(wa=Pe==null?void 0:Pe.exercise_question_types)==null?void 0:wa.filter(xn=>xn.name!=="\u5B9E\u8BAD\u9898"&&xn.name!=="\u7EC4\u5408\u9898"))==null?void 0:ma.map(xn=>{var Ct;return tt.createElement("div",{className:mt.items},tt.createElement("span",null,xn==null?void 0:xn.name),tt.createElement("span",null,(Ct=xn==null?void 0:xn.items)==null?void 0:Ct.length),tt.createElement("span",null,xn==null?void 0:xn.score),tt.createElement("span",null,"\u6BCF\u9898",tt.createElement(Ve.Z,{max:100,precision:1,min:.1,onChange:gn=>{xn.Singlequestion=gn},style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),tt.createElement(Ye.default,{title:!1,footer:!1,centered:!0,zIndex:20,open:zn,width:640,closable:!1,className:mt.scoremodal},tt.createElement("div",{style:{marginTop:40}},"\u586B\u7A7A\u9898\u4E2D\u5B58\u5728",tt.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"),tt.createElement("div",{className:mt.bottom},tt.createElement(Ge.ZP,{className:mt.no,onClick:()=>{jt(!1)}},"\u53D6\u6D88"),tt.createElement(Ge.ZP,{className:mt.yes,onClick:()=>{Yn(),jt(!1),ce(!1)}},"\u786E\u8BA4"))))},Zn=ee(99313),Tn=ee(98228),aa=ee(58421),Ca={flex_box_center:"flex_box_center___aDsO9",flex_space_between:"flex_space_between___5V4Xk",flex_box_vertical_center:"flex_box_vertical_center___rNdEP",flex_box_center_end:"flex_box_center_end___cKjnr",flex_box_column:"flex_box_column___glFYD",scoremodal:"scoremodal___PfqOf",selectWrapper:"selectWrapper___Mtqcz",selectWrappers:"selectWrappers___uX2K9",allqingchu:"allqingchu___IqL8g",title:"title___UgYfD",score:"score___LjJmD",close:"close___I0jAO",content:"content___4u86F",items:"items___mK2L5",bottom:"bottom___vQTEm",yes:"yes___j81JQ",no:"no___kiUH4",titlecount:"titlecount___lliQr",add:"add___QhDj8",search:"search___QCCaL",searchIcon:"searchIcon___oXRH5",tabWrap:"tabWrap___Cu_4D",previewModal:"previewModal___BVDlS"},ga=ee(26422),mn={flex_box_center:"flex_box_center___zojHa",flex_space_between:"flex_space_between___wmLZ4",flex_box_vertical_center:"flex_box_vertical_center___DszWW",flex_box_center_end:"flex_box_center_end___mVCv5",flex_box_column:"flex_box_column___fbC9t",warp:"warp___isAcM",shixunbutton:"shixunbutton___h3Ybb",redio:"redio___xDffb",redioitem:"redioitem___FFPtq",redioitemyes:"redioitemyes___pF7ID",title:"title___mnPZc",titleyes:"titleyes___wrtWQ",yestag:"yestag___D4krY",qcount:"qcount___W5pwO",score:"score___eKQzl",qtitle:"qtitle___lb8MD",checkbox:"checkbox___QpUm4",checkboxitem:"checkboxitem___Wm2SH",checkboxitemyes:"checkboxitemyes___VVVTe",bottom:"bottom___Mn_Bw",bottomitem:"bottomitem___JTyHT",left:"left___nQqpo",right:"right___v58qy",completion:"completion___BnZSp",content:"content___MU8hZ",items:"items___a7i54",simple:"simple___GDw3K",shixun:"shixun___DGzTe",combination:"combination___AG9cr"};const Ba=["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 kn=({qitem:ce})=>{var pe,Pe,Ot,tn,wa,ma,zn,jt,Yn,xn;return b.createElement("div",{className:mn.warp},b.createElement("div",{className:mn.mainPart},b.createElement("div",{className:mn.qcount},(ce==null?void 0:ce.question_type)===8&&b.createElement(fe.Z,{className:mn.content,showProgramFill:!0,value:(pe=ce==null?void 0:ce.program_attr)==null?void 0:pe.description}),(ce==null?void 0:ce.question_type)!=8&&b.createElement(fe.Z,{className:mn.qtitle,value:(ce==null?void 0:ce.name)||(ce==null?void 0:ce.title)})),((ce==null?void 0:ce.question_type)===0||(ce==null?void 0:ce.question_type)===2)&&b.createElement("div",null,(Pe=ce==null?void 0:ce.choices)==null?void 0:Pe.map((Ct,gn)=>b.createElement("div",{className:mn.redio},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:mn.redioitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${mn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?mn.titleyes:mn.title,value:Ba[gn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===1&&b.createElement("div",null,(Ot=ce==null?void 0:ce.choices)==null?void 0:Ot.map((Ct,gn)=>b.createElement("div",{className:mn.checkbox},!(Ct!=null&&Ct.is_answer)&&b.createElement("span",{className:mn.checkboxitem}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("i",{className:`${mn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:Ct!=null&&Ct.is_answer?mn.titleyes:mn.title,value:Ba[gn]+(Ct==null?void 0:Ct.choice_text)}),(Ct==null?void 0:Ct.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(ce==null?void 0:ce.question_type)===3&&b.createElement("div",{className:mn.completion},(tn=ce==null?void 0:ce.standard_answer)==null?void 0:tn.map((Ct,gn)=>{var In;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:mn.title},"\u586B\u7A7A\u9879",gn+1),b.createElement("div",{className:mn.content},(In=Ct==null?void 0:Ct.answer_text)==null?void 0:In.map((ra,Hn)=>b.createElement("div",{className:mn.items},ra))))})),(ce==null?void 0:ce.question_type)===4&&b.createElement("div",{className:mn.simple},b.createElement("div",{className:mn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(wa=ce==null?void 0:ce.answer_texts)!=null&&wa[0]?b.createElement(fe.Z,{className:mn.content,value:(ma=ce==null?void 0:ce.answer_texts)==null?void 0:ma[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(ce==null?void 0:ce.question_type)===5&&((zn=ce==null?void 0:ce.challenge_names)==null?void 0:zn.map((Ct,gn)=>b.createElement("div",{className:mn.shixun},b.createElement("span",{className:mn.qtitle},b.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,Nt.EM)(gn+1),"\u9898"),Ct)))),(ce==null?void 0:ce.question_type)===6&&b.createElement("div",{className:mn.simple},b.createElement(fe.Z,{className:mn.content,value:((jt=ce==null?void 0:ce.program_attr)==null?void 0:jt.description)||"- -"})),(ce==null?void 0:ce.question_type)===7&&((Yn=ce==null?void 0:ce.sub_item_banks)==null?void 0:Yn.map((Ct,gn)=>{var In,ra,Hn,ba,ta;return b.createElement("div",null,b.createElement("div",{className:mn.combination},b.createElement("span",{className:mn.qtitle},Ct==null?void 0:Ct.name)),b.createElement("div",{className:mn.warp,style:{padding:"0px",paddingTop:20}},b.createElement("div",null,((Ct==null?void 0:Ct.item_type)=="SINGLE"||(Ct==null?void 0:Ct.item_type)=="JUDGMENT")&&((In=Ct==null?void 0:Ct.choices)==null?void 0:In.map((oa,Ka)=>b.createElement("div",{className:mn.redio},!(oa!=null&&oa.is_answer)&&b.createElement("span",{className:mn.redioitem}),(oa==null?void 0:oa.is_answer)&&b.createElement("i",{className:`${mn.redioitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:oa!=null&&oa.is_answer?mn.titleyes:mn.title,value:Ba[Ka]+(oa==null?void 0:oa.choice_text)}),(oa==null?void 0:oa.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="MULTIPLE"&&((ra=Ct==null?void 0:Ct.choices)==null?void 0:ra.map((oa,Ka)=>b.createElement("div",{className:mn.checkbox},!(oa!=null&&oa.is_answer)&&b.createElement("span",{className:mn.checkboxitem}),(oa==null?void 0:oa.is_answer)&&b.createElement("i",{className:`${mn.checkboxitemyes} icon-duigou1`}),b.createElement(fe.Z,{className:oa!=null&&oa.is_answer?mn.titleyes:mn.title,value:Ba[Ka]+(oa==null?void 0:oa.choice_text)}),(oa==null?void 0:oa.is_answer)&&b.createElement("div",{className:mn.yestag},"\u6B63\u786E\u7B54\u6848")))),(Ct==null?void 0:Ct.item_type)=="COMPLETION"&&b.createElement("div",{className:mn.completion},(Hn=Ct==null?void 0:Ct.standard_answer)==null?void 0:Hn.map((oa,Ka)=>{var Pn;return b.createElement("div",{style:{display:"flex"}},b.createElement("span",{className:mn.title},"\u586B\u7A7A\u9879",Ka+1),b.createElement("div",{className:mn.content},(Pn=oa==null?void 0:oa.answer_text)==null?void 0:Pn.map((ya,ja)=>b.createElement("div",{className:mn.items},ya))))})),(Ct==null?void 0:Ct.item_type)=="SUBJECTIVE"&&b.createElement("div",{className:mn.simple},b.createElement("div",{className:mn.title},"\u53C2\u8003\u7B54\u6848"),b.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ba=Ct==null?void 0:Ct.answer_texts)!=null&&ba[0]?b.createElement(fe.Z,{className:mn.content,value:(ta=Ct==null?void 0:Ct.answer_texts)==null?void 0:ta[0]}):b.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(ce==null?void 0:ce.question_type)===8&&b.createElement("div",null,b.createElement(fe.Z,{disabledFill:!0,className:mn.content,showProgramFill:!0,value:Hl.Base64.decode(((xn=ce==null?void 0:ce.program_attr)==null?void 0:xn.code)||"")})),(ce==null?void 0:ce.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,color:"#666666"}},"\u521B\u5EFA\u8005"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u6240\u5C5E\u5355\u4F4D"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.author_school_name)||"- -")),b.createElement("div",{style:{marginRight:30}},b.createElement("span",{style:{marginRight:10,color:"#666666"}},"\u5B66\u4E60\u4EBA\u6570"),b.createElement("span",{style:{color:"#000000"}},(ce==null?void 0:ce.study_count)||"0"))),b.createElement("a",{className:mn.shixunbutton,href:`/shixuns/${ce==null?void 0:ce.identifier}/challenges?exercise=true`,target:"_blank"},b.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"))),((ce==null?void 0:ce.question_type)<=4||[6,8].includes(ce==null?void 0:ce.question_type))&&b.createElement("div",{className:mn.bottom},b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u89E3\u6790"),b.createElement("span",{className:mn.right},ce!=null&&ce.analysis?b.createElement(fe.Z,{value:ce==null?void 0:ce.analysis}):b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u96BE\u5EA6"),b.createElement("span",{className:mn.right},(ce==null?void 0:ce.difficulty)===1?"\u7B80\u5355":(ce==null?void 0:ce.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),b.createElement("div",{className:mn.bottomitem},b.createElement("span",{className:mn.left},"\u77E5\u8BC6\u70B9"),b.createElement("span",{className:mn.right},ce!=null&&ce.tag_discipline?ce==null?void 0:ce.tag_discipline:b.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},sa=ee(86087),Oa=ee(84287),Br=ee(79669),vr=ee(32570),wr=ee(16149),jr=ee(82438),Lr=ee(49692),Gn=ee(59301),Ko=Object.defineProperty,fo=Object.defineProperties,zo=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,zi=(ce,pe,Pe)=>pe in ce?Ko(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,oo=(ce,pe)=>{for(var Pe in pe||(pe={}))ii.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);if(qo)for(var Pe of qo(pe))pi.call(pe,Pe)&&zi(ce,Pe,pe[Pe]);return ce},Lo=(ce,pe)=>fo(ce,zo(pe)),To=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const wi=({setScoreShow:ce,ScoreShow:pe,onOk:Pe,isshixuns:Ot,isloadings:tn,dispatch:wa,shixunsDetail:ma,exercise:zn})=>{var jt,Yn,xn;let[Ct,gn]=(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,group_id:[]}),[In,ra]=(0,b.useState)([]),[Hn,ba]=(0,b.useState)([]),[ta,oa]=(0,b.useState)([]),[Ka,Pn]=(0,b.useState)([]);const[ya,ja]=(0,b.useState)(!1),[qr]=Be.default.useForm(),[cr,li]=(0,b.useState)(),[Za,Co]=(0,b.useState)(!1);let[Cr,ao]=(0,b.useState)(Ot);const[Eo,hi]=(0,b.useState)([]),[mi,pr]=(0,b.useState)(!0),[po,Ki]=(0,b.useState)([]),[Li,ea]=(0,b.useState)(0),[xo,Ri]=(0,b.useState)([]),Zo=[{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}],[Ci,Mi]=(0,b.useState)({});(0,b.useEffect)(()=>{var ua,er,Ho,uo,Fo,Xo,Vi,Di,fl,el;(((Ho=(er=(ua=zn==null?void 0:zn.editData)==null?void 0:ua.exercise)==null?void 0:er.exist_item_bank_ids)==null?void 0:Ho.length)>0||((Xo=(Fo=(uo=zn==null?void 0:zn.editData)==null?void 0:uo.exercise)==null?void 0:Fo.exist_item_bank_shixun_ids)==null?void 0:Xo.length)>0)&&Ri([...(Di=(Vi=zn==null?void 0:zn.editData)==null?void 0:Vi.exercise)==null?void 0:Di.exist_item_bank_ids,...(el=(fl=zn==null?void 0:zn.editData)==null?void 0:fl.exercise)==null?void 0:el.exist_item_bank_shixun_ids])},[(Yn=(jt=zn==null?void 0:zn.editData)==null?void 0:jt.exercise)==null?void 0:Yn.exist_item_bank_ids]);const oi=(0,b.useRef)(new Set),il=(0,b.useRef)(new Set);let[ll,jl]=(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 Ii=[{name:"\u7B80\u5355",value:1},{name:"\u9002\u4E2D",value:2},{name:"\u56F0\u96BE",value:3}],cl=[{name:"\u521D\u7EA7",value:1},{name:"\u4E2D\u7EA7",value:2},{name:"\u4E2D\u9AD8\u7EA7",value:3},{name:"\u9AD8\u7EA7",value:4}],Bl=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[Gl,No]=(0,b.useState)(!1),Si=()=>{qr.resetFields(),Cr=!1,ao(!1),No(!1),qr.submit()};(0,b.useEffect)(()=>{Li>0&&setTimeout(()=>{ea(0)},2e3)},[Li]),(0,b.useEffect)(()=>{pe&&(qr.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),mi&&Cr&&(qr.setFieldsValue({item_type:"SHIXUN"}),Ct.item_type="SHIXUN",gn(oo({},Ct)),pr(!1)),$i(Ct),hl(),Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[pe]);function $i(ua){return To(this,null,function*(){var er,Ho,uo;if(ja(!0),gn(ua),(ta==null?void 0:ta.length)<=0&&ua.type==="5"){Pn([]),ja(!1);return}let Fo=ua.type==="5"?ta==null?void 0:ta.filter(Di=>!Eo.includes(Di)):null,Xo=ua.type==="5"?ta==null?void 0:ta.filter(Di=>Eo.includes(Di)):null;ua.group_id=((er=ua.group_id)==null?void 0:er.map(Di=>Di==null?void 0:Di.value))||null;let Vi=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Lo(oo({},ua),{discipline_id:((Ho=ua==null?void 0:ua.courseid)==null?void 0:Ho[0])||null,sub_discipline_id:((uo=ua==null?void 0:ua.courseid)==null?void 0:uo[1])||null,ids:Fo,shixun_ids:Xo,keyword:ua.keyword?encodeURIComponent(ua.keyword):ua.keyword,include_shixuns:!0,type:ua.type==="5"?null:ua.type,clazz:ua.type==="3"?"ItemBanksGroup":null})});Pn(Vi),ja(!1)})}function Zi(ua){return To(this,null,function*(){var er;let Ho=yield(0,ne.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:ua}),uo=[{title:"\u6839\u76EE\u5F55",id:0,pid:0,value:0,key:0,isLeaf:!1,children:(er=Ho==null?void 0:Ho.data)==null?void 0:er.map(Fo=>({title:Fo.name,id:Fo.id,pid:Fo.id,value:Fo.id,key:Fo.id,isLeaf:!Fo.have_child}))}];Ki(uo)})}function hl(){return To(this,null,function*(){let ua=yield(0,ne.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:Ct.type==="5"?null:Ct.type,clazz:"ItemBanksGroup"}});ra((0,ga.L)(ua==null?void 0:ua.disciplines))})}function ul(ua){return To(this,null,function*(){var er,Ho,uo,Fo;ja(!0);let Xo=(er=ua.list)==null?void 0:er.filter(fl=>!Eo.includes(fl)),Vi=(Ho=ua.list)==null?void 0:Ho.filter(fl=>Eo.includes(fl));if(Xo.length===0&&Vi.length===0){ja(!1),Pn([]);return}let Di=yield(0,ne.ZP)("/api/item_banks.json",{method:"get",params:Lo(oo({},ua),{discipline_id:((uo=ua==null?void 0:ua.courseid)==null?void 0:uo[0])||null,sub_discipline_id:((Fo=ua==null?void 0:ua.courseid)==null?void 0:Fo[1])||null,ids:Xo,shixun_ids:Vi,type:ua.type==="5"?null:ua.type,clazz:ua.type==="3"?"ItemBanksGroup":null})});ja(!1),Pn(Di)})}const sl=(0,de.useParams)(),[wl,Rl,ml,qi]=(0,Br.P)(),Wl=ua=>To(void 0,null,function*(){const er=yield wa({type:"shixunsDetail/release",payload:{id:ua}});let Ho=er==null?void 0:er.tag_position,uo=(er==null?void 0:er.evaluation_set_position)||[],Fo=er.status;return Fo===0?(Ne.ZP.success("\u53D1\u5E03\u6210\u529F"),$i(Ct),!0):(Fo===2?Ne.ZP.error(`\u7B2C${uo.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):Fo===3?Ne.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Ho.join(",")}\u5173\u5C1A\u672A\u8BBE\u7F6E\u6280\u80FD\u6807\u7B7E\uFF0C\u8BF7\u8865\u5145`):Ne.ZP.error("\u5C1A\u672A\u521B\u5EFA\u4EFB\u52A1\u7684\u5B9E\u8BAD\uFF0C\u4E0D\u80FD\u7533\u8BF7\u53D1\u5E03"),!1)}),Jo=ua=>(ua==null?void 0:ua.shixun_tag_num)===1?"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528\uFF0C\u8BF7\u5148\u8FDB\u884C\u53D1\u5E03":"",vu=(ua,er,Ho)=>ua.map(uo=>uo.key===er?oo(oo({},uo),Ho):uo.children?Lo(oo({},uo),{children:vu(uo.children,er,Ho)}):uo),pu=ua=>To(void 0,null,function*(){const{key:er}=ua;let Ho=Ct.type;const uo=yield(0,wr.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs(er),type:Ho}),{data:Fo,total_count:Xo}=uo||{};Xo>0&&Ki(Vi=>vu(Vi,er,{children:Fo.map(Di=>({title:Di.name,id:Di.id,pid:Di.id,value:Di.id,key:Di.id,isLeaf:!Di.have_child}))}))});function Kl(ua){console.log("----",Ct),ua==="1"&&(ll.gg=oo({},Ct)),ua==="2"&&(ll.scj=oo({},Ct)),ua==="3"&&(ll.ttgx=oo({},Ct)),ua==="0"&&(ll.wcjd=oo({},Ct)),ua==="5"&&(ll.yx=oo({},Ct)),jl(oo({},ll))}function gu(){Ct.type==="1"&&(Ct=ll.gg),Ct.type==="2"&&(Ct=ll.scj),Ct.type==="3"&&(Ct=ll.ttgx),Ct.type==="0"&&(Ct=ll.wcjd),Ct.type==="5"&&(Ct=ll.yx),(Ct==null?void 0:Ct.item_type)==="SHIXUN"?(Cr=!0,ao(!0)):(Cr=!1,ao(!1)),qr.setFieldsValue(oo({},Ct)),gn(oo({},Ct)),$i(oo({},Ct))}return Gn.createElement("div",null,Gn.createElement(Ye.default,{title:!1,footer:!1,open:pe,width:1200,centered:!0,className:Ca.scoremodal,onCancel:()=>{ce(!1)}},Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement("div",{className:Ca.title},"\u9898\u5E93\u9009\u9898")),Gn.createElement(Zn.default,{className:Ca.tabWrap,activeKey:Ct.type,onChange:ua=>{ua==="3"?(Ct.show_all_share=!0,Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"3"})):Ct.show_all_share=null,ua==="0"&&Zi({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}),Kl(Ct.type),Ct.type=ua,(Ct==null?void 0:Ct.item_type)==="SHIXUN"&&Ct.type!=="5"&&(Cr=!0,ao(!0)),No(!1),Ct.type==="5"&&(Cr=!1,ao(!1)),gu(),hl()},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:Gn.createElement("div",null,"\u5DF2\u9009",ta.length>0&&Gn.createElement("span",{className:Ca.titlecount},ta.length),Li>0&&Gn.createElement("span",{className:Ca.add},"+",Li)),key:"5"}]}),Gn.createElement(Be.default,{layout:"inline",form:qr,onValuesChange:(ua,er)=>{var Ho,uo;const Fo=Object.values(er).some(Vi=>Vi!==null&&Vi!==""&&Vi!==void 0),Xo=er.keyword==="";if(No(Fo||!Xo),Ct.page=1,Ct.keyword=(uo=(Ho=Ct.keyword)==null?void 0:Ho.replace)==null?void 0:uo.call(Ho,/^\s+|\s+$/g,""),(er==null?void 0:er.item_type)==="SHIXUN"){if(Ct.type==="5"?ao(!1):ao(!0),ua.keyword||ua.keyword==="")return;qr.submit()}else{if(ua!=null&&ua.courseid&&qr.setFieldsValue({tag_discipline_id:""}),ao(!1),ua.keyword||ua.keyword==="")return;qr.submit()}},onFinish:ua=>{var er;Ct.type==="3"&&(!ua.group_id||((er=ua==null?void 0:ua.group_id)==null?void 0:er.length)===0)?Ct.show_all_share=!0:Ct.show_all_share=null,gn(oo(oo({},Ct),ua)),$i(oo(oo({},Ct),ua))}},Gn.createElement(Be.default.Item,{name:"item_type"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle",allowClear:!0},Zo.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),Gn.createElement(Be.default.Item,{name:"courseid"},Gn.createElement(le.Z,{className:Ca.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:In})),!Cr&&Gn.createElement(Be.default.Item,{name:"tag_discipline_id"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(xn=Ka==null?void 0:Ka.tag_disciplines)==null?void 0:xn.map(ua=>Gn.createElement(ve.default.Option,{key:ua.id},ua.name)))),Gn.createElement(Be.default.Item,{name:Cr?"diff":"difficulty"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Cr&&Ii.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)),Cr&&cl.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),Cr&&Gn.createElement(Be.default.Item,{name:"shixun_publish_status"},Gn.createElement(ve.default,{className:Ca.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Bl.map(ua=>Gn.createElement(ve.default.Option,{key:ua.value},ua.name)))),(Ct.type==="3"||Ct.type==="0")&&!Cr&&Gn.createElement(Be.default.Item,{name:"group_id"},Gn.createElement(Tn.default,{treeDataSimpleMode:!0,style:{width:118},className:Ca.selectWrappers,multiple:!0,allowClear:!0,showSearch:!0,filterTreeNode:(ua,er)=>er.title.toUpperCase().indexOf(ua.toUpperCase())!==-1,dropdownStyle:{maxHeight:400,width:500,overflow:"auto"},placeholder:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939",treeCheckStrictly:!0,loadData:pu,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:po})),Gl&&Gn.createElement("span",{className:Ca.allqingchu,onClick:Si},Gn.createElement("i",{className:"iconfont icon-guanbi4"}),Gn.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Gn.createElement(Be.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Gn.createElement(ke.default.Search,{className:Ca.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Gn.createElement("i",{className:`iconfont icon-sousuo9 font14 ${Ca.searchIcon}`,onClick:()=>qr.submit()}),onSearch:ua=>{qr.submit()}}))),Gn.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Gn.createElement("div",{onClick:()=>{Ct.updated_at==="asc"?Ct.updated_at="desc":Ct.updated_at="asc",gn(Lo(oo({},Ct),{page:1})),$i(Lo(oo({},Ct),{page:1}))}}," ",Ct.updated_at?Gn.createElement("img",{src:Ct.updated_at==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Gn.createElement("div",{onClick:()=>{Ct.quotes==="asc"?Ct.quotes="desc":Ct.quotes="asc",gn(Lo(oo({},Ct),{page:1})),$i(Lo(oo({},Ct),{page:1}))},style:{marginLeft:20}}," ",Ct.quotes?Gn.createElement("img",{src:Ct.quotes==="asc"?sa.Z:Oa.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Gn.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Gn.createElement(Bu.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ka==null?void 0:Ka.items)||(Ka==null?void 0:Ka.shixun_list),pagination:!1,loading:ya,rowKey:ua=>ua.id,rowSelection:{type:"checkbox",selectedRowKeys:[...Hn,...xo],getCheckboxProps:ua=>({disabled:ua.shixun_tag_num===1||(xo==null?void 0:xo.find(er=>ua.id===er))}),onSelect(ua,er,Ho){if(er)Cr&&hi([...Eo,ua.id]),ba([...Hn,ua.id]),ua.identifier?oi.current.add(ua.id):il.current.add(ua.id),ea(1),oa([...ta,ua.id]);else{ua.identifier?oi.current.delete(ua.id):il.current.delete(ua.id);let uo=ta.filter(Fo=>Fo!==ua.id);if(ba(uo),oa(uo),Cr){let Fo=Eo.filter(Xo=>Xo!==ua.id);hi([...Fo])}if(Ct.type==="5"){ul(Lo(oo({},Ct),{list:[...uo]}));return}}},onSelectAll(ua,er,Ho){if(ua){const uo=Ho.map(Fo=>Fo.id);Cr&&hi([...Eo,...uo]),ba([...Hn,...uo]),oa([...ta,...uo]);for(const Fo of Ho)Fo.identifier?oi.current.add(Fo.id):il.current.add(Fo.id)}else{const uo=Ho.map(Xo=>Xo.id),Fo=Hn.filter(Xo=>!uo.some(Vi=>Vi===Xo));if(ba([...Fo]),oa([...Fo]),Cr){let Xo=Eo.filter(Vi=>!uo.some(Di=>Di===Vi.id));hi([...Xo])}Ct.type==="5"&&ul(Lo(oo({},Ct),{list:[...Fo]}));for(const Xo of uo)Xo.identifier?oi.current.delete(Xo):il.current.delete(Xo)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(ua,er,Ho)=>{var uo,Fo;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?"\u5B9E\u8BAD\u9898":(Fo=(uo=Zo==null?void 0:Zo.filter(Xo=>Xo.value===ua))==null?void 0:uo[0])==null?void 0:Fo.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Cr?"30%":"60%",key:"name",render:(ua,er,Ho)=>{var uo;return Gn.createElement("div",{style:{display:"flex",alignItems:"center"}},Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,Gn.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Cr||er!=null&&er.challenge_names?er!=null&&er.title||ua===null?"--":ua:(er==null?void 0:er.item_type)=="BPROGRAM"?(uo=er==null?void 0:er.program_attr)==null?void 0:uo.description:ua}))),(er==null?void 0:er.high_resources_consume)&&Gn.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Cr,render:(ua,er,Ho)=>{var uo;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,ua?(uo=ua==null?void 0:ua.split("\u3001"))==null?void 0:uo[0]:"- -"))}},{title:"\u6240\u5C5E\u5355\u4F4D",dataIndex:"author_school_name",key:"author_school_name",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("span",null,ua||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(ua,er,Ho)=>{var uo,Fo,Xo,Vi;return Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?(er==null?void 0:er.level)||((Fo=(uo=Ii==null?void 0:Ii.filter(Di=>Di.value===ua))==null?void 0:uo[0])==null?void 0:Fo.name):(Vi=(Xo=Ii==null?void 0:Ii.filter(Di=>Di.value===ua))==null?void 0:Xo[0])==null?void 0:Vi.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,ua||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement("span",null,ua||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,Cr||er!=null&&er.challenge_names?(er==null?void 0:er.study_count)||(er==null?void 0:er.stu_num):ua))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(wt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",null,ua||"- -"))},{title:Gn.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Gn.createElement(ct.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Gn.createElement(wt.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Cr,render:(ua,er,Ho)=>Gn.createElement("span",null,ua||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(ua,er,Ho)=>Gn.createElement(ct.Z,{title:Jo(er)},Gn.createElement("div",{style:{flex:1,textAlign:"start"}},Gn.createElement("a",{onClick:()=>{var uo,Fo;li(Lo(oo({},er),{question_type:Cr||er!=null&&er.challenge_names?5:(Fo=(uo=Zo==null?void 0:Zo.filter(Xo=>Xo.value===(er==null?void 0:er.item_type)))==null?void 0:uo[0])==null?void 0:Fo.question_type})),Co(!0)}},"\u67E5\u770B"),(er==null?void 0:er.shixun_tag_num)===1&&Gn.createElement("a",{style:{marginLeft:10},onClick:()=>{Ye.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Gn.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Gn.createElement("span",{style:{cursor:"pointer",color:"#3061D0"},onClick:()=>{window.open(`/shixuns/${er==null?void 0:er.identifier}/challenges`)}},(er==null?void 0:er.shixun_name)||"--"),"\uFF1F"),onOk:()=>To(void 0,null,function*(){if(!Wl(er==null?void 0:er.identifier))return new Promise((uo,Fo)=>{Fo()})})})}},"\u53D1\u5E03")))}].filter(ua=>!ua.hidden)}),Gn.createElement(aa.Z,{current:Ct.page,total:(Ka==null?void 0:Ka.items_count)||(Ka==null?void 0:Ka.shixuns_count),style:{marginBottom:20},defaultPageSize:Ct.per_page,showTotal:ua=>Gn.createElement("span",null,"\u5171\xA0",Gn.createElement("span",{style:{color:"#165DFF"}},ua),"\xA0\u6761\u6570\u636E"),pageSize:Ct.per_page,onChange:(ua,er)=>{Ct.page=ua,Ct.per_page=er,gn(oo({},Ct)),$i(oo({},Ct))}}),Gn.createElement("div",{className:Ca.bottom},Gn.createElement(Ge.ZP,{className:Ca.no,onClick:()=>{ce(!1)}},"\u53D6\u6D88"),Gn.createElement(Ge.ZP,{loading:tn,style:{width:tn&&75},className:Ca.yes,onClick:()=>To(void 0,null,function*(){if((ta==null?void 0:ta.length)<=0){Ne.ZP.info("\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}let ua=yield(0,Lr.Tr)({id:[...ta==null?void 0:ta.filter(er=>Eo.includes(er))],course_id:sl.coursesId,type:"shixun"});(ua==null?void 0:ua.student_count)===0?Pe([...il.current],[...ta==null?void 0:ta.filter(er=>Eo.includes(er))],!0,ta==null?void 0:ta.length):Mi(ua)})},"\u786E\u8BA4"))),Gn.createElement(Ye.default,{open:Za,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:Ca.previewModal,width:1e3,centered:!0,onCancel:()=>{Co(!1)},onOk:()=>{Co(!1)}},Gn.createElement(kn,{qitem:cr})),Gn.createElement(jr.Z,{resdata:Ci,type:"exercise",okloading:tn,oktext:(Ci==null?void 0:Ci.can_copy_num)===0?"\u786E\u5B9A":"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:ua=>To(void 0,null,function*(){const er=[],Ho=[];for(const uo of Ci==null?void 0:Ci.can_copy_list)er.push(uo.id);Rl(),yield Pe([...il.current],[...oi.current].filter(uo=>!Ho.includes(uo)),!0,ta==null?void 0:ta.length,er)})}))};var Ni=(0,de.connect)(({shixunsDetail:ce,exercise:pe})=>({shixunsDetail:ce,exercise:pe}))(wi),fi=ee(90502),Ro=ee(59301),ol=Object.defineProperty,Xi=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Pt=(ce,pe,Pe)=>pe in ce?ol(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,Et=(ce,pe)=>{for(var Pe in pe||(pe={}))Qe.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);if(Ce)for(var Pe of Ce(pe))rt.call(pe,Pe)&&Pt(ce,Pe,pe[Pe]);return ce},$t=(ce,pe)=>Xi(ce,Ee(pe)),Yt=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())}),Cn=({qitem:ce,TagDiscipline:pe,exerciseitem:Pe,setisedit:Ot,seveeditor:tn,deleteitem:wa,getTagData:ma,init:zn,showTip:jt=!1})=>{var Yn;const[xn]=Be.default.useForm(),Ct=!0;return(0,b.useEffect)(()=>{var gn,In,ra;xn.setFieldsValue($t(Et({},ce),{standard_answers:ce.standard_answer,difficulty:(ce==null?void 0:ce.difficult)||2,item_banks_group_id:ce.item_banks_group_id,hack:$t(Et({},ce),{time_limit:(ce==null?void 0:ce.time_limit)||3}),hack_codes:{language:(gn=ce==null?void 0:ce.program_attr)==null?void 0:gn.language,code:Hl.Base64.decode(((In=ce==null?void 0:ce.program_attr)==null?void 0:In.code)||"")},hack_sets:Et({},(ra=ce==null?void 0:ce.hack_sets)==null?void 0:ra[0]),repeat_answer:!ce.repeat_answer}))},[ce]),Ro.createElement("div",null,Ro.createElement(Be.default,{form:xn,colon:!1,onValuesChange:(gn,In)=>{var ra,Hn,ba,ta;if(gn!=null&&gn.standard_answers){let oa=((ra=xn.getFieldValue("standard_answers"))==null?void 0:ra.length)>0&&((ba=(Hn=xn.getFieldValue("standard_answers"))==null?void 0:Hn.map(Ka=>Ka.score))==null?void 0:ba.filter(Ka=>Ka));(oa==null?void 0:oa.length)>0&&xn.setFieldsValue({question_score:(oa==null?void 0:oa.length)>0&&((ta=oa.reduce((Ka,Pn)=>Ka+Pn))==null?void 0:ta.toFixed(1))})}},onFinish:gn=>{var In;tn($t(Et(Et({},ce),gn),{item_type:ce==null?void 0:ce.question_type,standard_answers:(In=gn.standard_answers)==null?void 0:In.map((ra,Hn)=>$t(Et({},ra),{position:Hn+1})),hack_codes:$t(Et({},gn.hack_codes),{code:Hl.Base64.encode(gn.hack_codes.code)}),standard_answer:void 0}))},onFinishFailed:gn=>Yt(void 0,null,function*(){var In,ra;Ne.ZP.error(gn.errorFields[0].errors[0]),xn.scrollToField((ra=(In=gn==null?void 0:gn.errorFields)==null?void 0:In[0])==null?void 0:ra.name,{behavior:"smooth",block:"center"})})},Ro.createElement("div",{style:{display:"flex",alignItems:"center"}},Ro.createElement("div",{style:{flex:1}},Ro.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Ro.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),((Yn=Pe==null?void 0:Pe.exercise)==null?void 0:Yn.exercise_status)==1&&!(ce!=null&&ce.isadd)&&Ro.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{wa()}},Ro.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),Ro.createElement(Ge.ZP,{onClick:()=>{var gn,In,ra,Hn;ce.isadd?(Ot(!1),zn()):(xn.setFieldsValue($t(Et({},ce),{standard_answers:ce.standard_answer,difficulty:ce.difficult,item_banks_group_id:ce.item_banks_group_id,hack:$t(Et({},ce),{sub_discipline_id:(gn=Pe==null?void 0:Pe.exercise)==null?void 0:gn.sub_discipline_id,tag_discipline_ids:[]}),hack_codes:{language:(In=ce==null?void 0:ce.program_attr)==null?void 0:In.language,code:Hl.Base64.decode((ra=ce==null?void 0:ce.program_attr)==null?void 0:ra.code)},hack_sets:Et({},(Hn=ce==null?void 0:ce.hack_sets)==null?void 0:Hn[0]),repeat_answer:!ce.repeat_answer})),Ot(!1))}},"\u53D6\u6D88"),Ro.createElement(ct.Z,{overlayClassName:mt.shake,open:jt,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Ro.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Ro.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")},Ro.createElement(Ge.ZP,{className:"ml20",type:"primary",onClick:()=>{xn.submit()}},"\u4FDD\u5B58"))),Ro.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Ro.createElement(Vt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),Ro.createElement(fi.t,{form:xn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:Ct,hackidentifier:ce==null?void 0:ce.hack_identifier,answerKey:"standard_answers"}),Ro.createElement(Jn,{getTagData:ma,qitem:ce,exerciseitem:Pe,TagDiscipline:pe,form:xn}))))},vn=ee(3294),pn=ee(88918),qn=ee(94941),na=ee(89392),ca=ee(36061),Aa=ee(14791),Ht=ee(59301),Xa=Object.defineProperty,_a=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Gr=(ce,pe,Pe)=>pe in ce?Xa(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,zr=(ce,pe)=>{for(var Pe in pe||(pe={}))$r.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);if(Tr)for(var Pe of Tr(pe))Dr.call(pe,Pe)&&Gr(ce,Pe,pe[Pe]);return ce},tr=(ce,pe)=>_a(ce,rr(pe)),nr=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const{confirm:fr}=Ye.default,Wa=[{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"}],or=({user:ce,dispatch:pe,itemid:Pe,setisedits:Ot,exercise:tn,setitemid:wa})=>{var ma,zn,jt,Yn,xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr,cr,li,Za,Co,Cr,ao,Eo,hi,mi;const[pr,po]=(0,b.useState)(),[Ki,Li]=(0,b.useState)(!1),[ea,xo]=(0,b.useState)(),[Ri,Zo]=(0,b.useState)(),Ci=(0,b.useRef)(),Mi=(0,b.useRef)(),[oi,il]=(0,b.useState)(),[ll,jl]=(0,b.useState)(!1),[Ii,cl]=(0,b.useState)(!1),[Bl,Gl]=(0,b.useState)(),[No,Si]=(0,b.useState)(!1),[$i,Zi]=(0,b.useState)(!1),[hl,ul]=(0,b.useState)(!1),[sl,wl]=(0,b.useState)(!1),[Rl,ml]=(0,b.useState)(!1),[qi,Wl]=(0,b.useState)(!1),Jo=(0,de.useParams)(),[vu,pu]=(0,b.useState)(!1),[Kl]=Be.default.useForm(),[gu,ua]=(0,b.useState)(!1),[er,Ho]=(0,b.useState)(!1),[uo,Fo]=(0,b.useState)(!1),[Xo,Vi]=(0,b.useState)(!1),Di=(0,b.useRef)();(0,b.useEffect)(()=>{Pe&&el()},[Pe]),(0,b.useEffect)(()=>{Ot(Ii)},[Ii]),(0,b.useEffect)(()=>{ea!=null&&ea.question_id&&(Zo(ea==null?void 0:ea.question_score),Mi.current=ea==null?void 0:ea.question_id)},[ea]);const fl=Va=>nr(void 0,null,function*(){let io=yield pe({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:Va}});pe({type:"globalSetting/footerToggle",payload:!1}),Gl(io)});function el(){return nr(this,null,function*(){var Va,io,Uo,ci,ti,jo;jl(!0),Li(!0);const Oi=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});jl(!1),Li(!1),po(Oi),ml(!1),(Va=Oi==null?void 0:Oi.exercise)!=null&&Va.sub_discipline_id&&fl((io=Oi==null?void 0:Oi.exercise)==null?void 0:io.sub_discipline_id),xo(tr(zr({},(ti=(ci=(Uo=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:Uo[0])==null?void 0:ci.items)==null?void 0:ti[0]),{index:1})),il(tr(zr({},(jo=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:jo[0]),{indexs:1}))})}function Ml(Va,io=!0){return nr(this,null,function*(){var Uo,ci,ti,jo;io&&(jl(!0),Li(!0));const Oi=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(Oi);let Gi=[];(Uo=Oi==null?void 0:Oi.exercise_question_types)==null||Uo.map(Ol=>{var Ul;(Ul=Ol==null?void 0:Ol.items)==null||Ul.map((Eu,Du)=>{Gi.push(tr(zr({},Eu),{index:Du+1}))})});let Cl=(ci=Gi.filter(Ol=>Ol.question_id===(Va==null?void 0:Va.id)))==null?void 0:ci[0],Su=(jo=((ti=Oi==null?void 0:Oi.exercise_question_types)==null?void 0:ti.map((Ol,Ul)=>{if((Cl==null?void 0:Cl.question_type)===(Ol==null?void 0:Ol.question_type))return tr(zr({},Ol),{indexs:Ul+1})})).filter(Ol=>Ol))==null?void 0:jo[0];il(zr({},Su)),xo(zr({},Cl)),Zo(Cl==null?void 0:Cl.question_score),jl(!1),Li(!1),ml(!1)})}function ou(Va){return nr(this,null,function*(){var io;let Uo=tr(zr({},Va),{repeat_answer:!Va.repeat_answer,difficulty:(Va==null?void 0:Va.difficulty)||2,item_type:Va.question_type,sub_discipline_id:((io=Va==null?void 0:Va.sub_discipline_id)==null?void 0:io[1])||"",tag_discipline_ids:[],hack:tr(zr({},Va==null?void 0:Va.hack),{difficult:(Va==null?void 0:Va.difficulty)||2}),hack_identifier:sessionStorage.projectFill});Va.tag_discipline_ids&&(Uo.tag_discipline_ids=Array.isArray(Va.tag_discipline_ids)?Va.tag_discipline_ids:[Va.tag_discipline_ids]);let ci=Rl?`/api/exercises/${Pe}/exercise_questions`:`/api/exercise_questions/${Va==null?void 0:Va.question_id}.json`;if((Va==null?void 0:Va.is_my)===1){const ti=fr({title:"\u63D0\u793A",content:Ht.createElement("div",null,Ht.createElement("p",null,"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F"),Ht.createElement("i",{className:"iconfont icon-guanbi",style:{position:"absolute",top:"20px",right:"20px",cursor:"pointer"},onClick:()=>{ti.destroy()}})),okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>nr(this,null,function*(){Uo.is_cover=1;let jo=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(jo==null?void 0:jo.status)===0&&(cl(!1),Ml({id:(jo==null?void 0:jo.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()}),onCancel:()=>nr(this,null,function*(){let jo=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(jo==null?void 0:jo.status)===0&&(cl(!1),Ml({id:(jo==null?void 0:jo.exercise_question_id)||(Va==null?void 0:Va.question_id)})),ti.destroy()})})}else{let ti=yield(0,ne.ZP)(ci,{method:Rl?"post":"PUT",body:zr({},Uo)});(ti==null?void 0:ti.status)===0&&(cl(!1),Ml({id:(ti==null?void 0:ti.exercise_question_id)||(Va==null?void 0:Va.question_id)}))}(0,Nt.Vf)("#question-scroll-id")})}function ei(Va){return nr(this,null,function*(){var io,Uo;Li(!0);let ci=yield(0,ne.ZP)(`/api/exercises/${Pe}/sort_question_type.json`,{method:"post",body:{question_type:Va}});if(Li(!1),(ci==null?void 0:ci.status)===0){const ti=yield pe({type:"exercise/editExercise",payload:{categoryId:Pe}});po(ti),ml(!1),(io=ti==null?void 0:ti.exercise)!=null&&io.sub_discipline_id&&fl((Uo=ti==null?void 0:ti.exercise)==null?void 0:Uo.sub_discipline_id)}})}const Hi=(Va,io,Uo)=>nr(void 0,null,function*(){var ci;if(Va.length===0){Ne.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Uo();return}const ti={id:Jo==null?void 0:Jo.exerciseId,file:(ci=Va[0])==null?void 0:ci.file,sub_discipline_id:io};Vl(ti,`${vn.Z.API_SERVER}/api/courses/${Jo==null?void 0:Jo.coursesId}/exercises/import_exercise.json`,jo=>{var Oi;if((jo==null?void 0:jo.status)===0){const Gi={};(Oi=jo==null?void 0:jo.fail)==null||Oi.forEach($l=>{var Su;((Su=Object.keys(Gi))==null?void 0:Su.includes($l.message))?Gi[$l.message]=Gi[$l.message]+1:Gi[$l.message]=1});let Cl=`\u6210\u529F\u5BFC\u5165${jo==null?void 0:jo.success}\u6761`;Object.keys(Gi).forEach($l=>{Cl=Cl+`,${$l}${Gi[$l]}\u6761`}),Ne.ZP.success(Cl),Si(!1),el()}(jo==null?void 0:jo.status)===-1&&(Ne.ZP.error(jo==null?void 0:jo.message),Uo())})}),Dl=(Va,io)=>nr(void 0,null,function*(){const Uo=yield(0,qn.zR)({score:(0,na.round)(Va,1),question_id:io==null?void 0:io.question_id});if((Uo==null?void 0:Uo.status)===0){Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Mi.current},!1);return}(Uo==null?void 0:Uo.status)===-1&&Zo(io==null?void 0:io.question_score)}),Sl=()=>{Vi(!0)};(0,b.useEffect)(()=>{if(Xo){const Va=setTimeout(()=>{Vi(!1)},2e3);return()=>clearTimeout(Va)}},[Xo]);const Vl=(Va,io,Uo,ci,ti)=>{const jo=new FormData;Object.keys(Va).forEach(Gi=>{jo.append(Gi,Va[Gi])});const Oi=new window.XMLHttpRequest;return Oi.withCredentials=!0,Oi.addEventListener("load",function(Gi){var Cl;Uo(JSON.parse((Cl=Gi==null?void 0:Gi.target)==null?void 0:Cl.response))},!1),Oi.addEventListener("error",function(Gi){ti&&ti(Gi)},!1),Oi.upload.onprogress=Gi=>{ci&&ci(Gi)},Oi.open("POST",io),Oi.send(jo),Oi};function kl(){return nr(this,null,function*(){Ye.default.confirm({title:"\u63D0\u793A",content:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u8BD5\u9898\u5417\uFF1F",okText:"\u786E\u5B9A",centered:!0,className:mt.modalconfirm,onOk:()=>nr(this,null,function*(){if(ea.question_id){let Va=yield(0,ne.ZP)(`/api/exercise_questions/${ea.question_id}.json`,{method:"delete"});(Va==null?void 0:Va.status)===0&&(el(),cl(!1))}else xo({}),cl(!1),el()}),cancelText:"\u53D6\u6D88"})})}const Ku=Va=>nr(void 0,null,function*(){return yield(0,ne.ZP)(`/api/exercises/${Pe}/select_questions.json`,{method:"post",body:zr({},Va)})}),{overflow:Vu,handleMouseEnter:$u,handleMouseLeave:hu}=(0,pn.I)(),Es=(Va,io)=>Ht.createElement(Zt.default,null,Ht.createElement(Zt.default.Item,{key:"0",onClick:()=>vs(Va==null?void 0:Va.question_type)},Ht.createElement("span",{className:mt.moreSpan},"\u65B0\u589E")),Ht.createElement(Zt.default.Item,{key:"1",disabled:io===0,onClick:()=>nr(void 0,null,function*(){if(io===0)return;if(Ii){Sl();return}let Uo=(0,Nt.rz)(pr==null?void 0:pr.exercise_question_types,io,io-1);yield ei(Uo.map(ci=>ci.name))})},Ht.createElement("span",{className:mt.moreSpan},"\u4E0A\u79FB")),Ht.createElement(Zt.default.Item,{key:"2",disabled:io===(pr==null?void 0:pr.exercise_question_types.length)-1,onClick:()=>nr(void 0,null,function*(){if(io===(pr==null?void 0:pr.exercise_question_types.length)-1)return;if(Ii){Sl();return}let Uo=(0,Nt.rz)(pr==null?void 0:pr.exercise_question_types,io,io+1);yield ei(Uo.map(ci=>ci.name))})},Ht.createElement("span",{className:mt.moreSpan},"\u4E0B\u79FB")),Ht.createElement(Zt.default.Item,{key:"3",onClick:()=>{var Uo;Kl.setFieldsValue({name:Va.name,item_type_en:(Uo=Wa.find(ci=>ci.id==Va.question_type))==null?void 0:Uo.nameType}),ua(!0)}},Ht.createElement("span",{className:mt.moreSpan},"\u91CD\u547D\u540D"))),vs=Va=>{var io,Uo,ci,ti,jo,Oi,Gi,Cl,$l,Su,Ol,Ul,Eu,Du,ps,hs,Ei,Jr,Io,Pi,Yi,Pu,Ql,iu;if(Ii){Sl();return}if(ml(!0),Va===5){ul(!0),wl(!0);return}if(Va===6){let ql=(Uo=(io=tn==null?void 0:tn.editData)==null?void 0:io.exercise)!=null&&Uo.set_question_sub_discipline?`/problems/newcreate?express_id=${(ci=pr==null?void 0:pr.exercise)==null?void 0:ci.id}&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2&discipline_id=${(jo=(ti=tn==null?void 0:tn.editData)==null?void 0:ti.exercise)==null?void 0:jo.discipline_id}&sub_discipline_id=${(Gi=(Oi=tn==null?void 0:tn.editData)==null?void 0:Oi.exercise)==null?void 0:Gi.sub_discipline_id}`:`/problems/newcreate?express_id=${(Cl=pr==null?void 0:pr.exercise)==null?void 0:Cl.id}&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2`;de.history.push(ql);return}cl(!0),xo(Va===2?{question_type:Va,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:"",question_title:"",tag_discipline_ids:[],discipline_id:(Su=($l=tn==null?void 0:tn.editData)==null?void 0:$l.exercise)!=null&&Su.set_question_sub_discipline?(Ul=(Ol=tn==null?void 0:tn.editData)==null?void 0:Ol.exercise)==null?void 0:Ul.discipline_id:0,sub_discipline_id:(Du=(Eu=tn==null?void 0:tn.editData)==null?void 0:Eu.exercise)!=null&&Du.set_question_sub_discipline?(hs=(ps=tn==null?void 0:tn.editData)==null?void 0:ps.exercise)==null?void 0:hs.sub_discipline_id:0,analysis:""}:{question_type:Va,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:[],is_ordered:!0,question_title:"",use_keywords:!1,keywords:[],use_blank_score:!0,allow_student_debug:!1,submit_rule:1,discipline_id:(Jr=(Ei=tn==null?void 0:tn.editData)==null?void 0:Ei.exercise)!=null&&Jr.set_question_sub_discipline?(Pi=(Io=tn==null?void 0:tn.editData)==null?void 0:Io.exercise)==null?void 0:Pi.discipline_id:0,sub_discipline_id:(Pu=(Yi=tn==null?void 0:tn.editData)==null?void 0:Yi.exercise)!=null&&Pu.set_question_sub_discipline?(iu=(Ql=tn==null?void 0:tn.editData)==null?void 0:Ql.exercise)==null?void 0:iu.sub_discipline_id:0,downcase:!0,no_space:!0})},ds=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{Si(!0)}},{key:2,label:Ht.createElement("div",null,Ht.createElement("img",{width:26,style:{position:"absolute",top:-2},src:Aa.$}),Ht.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{if(Ii){Sl();return}Ho(!0)}}];return console.log(oi==null?void 0:oi.question_type,ea==null?void 0:ea.question_type),Ht.createElement("div",null,Ht.createElement(Fn.Z,{spinning:ll},Ht.createElement("div",{className:mt.bg},((ma=pr==null?void 0:pr.exercise_types)==null?void 0:ma.q_counts)===0&&!Ii&&Ht.createElement(ut.Z,{styles:{marginTop:180},customText:Ht.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Ht.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((zn=pr==null?void 0:pr.exercise_types)==null?void 0:zn.q_counts)>0||Ii)&&Ht.createElement("div",{style:{textAlign:"center"}},Ht.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Ht.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Ht.createElement("div",{className:mt.left},Ht.createElement("div",{className:mt.leftAction},((jt=pr==null?void 0:pr.exercise)==null?void 0:jt.exercise_status)===1&&Ht.createElement(Ge.ZP,{onClick:()=>{if(Ii){Sl();return}Zi(!0)},className:mt.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Ht.createElement("div",{className:mt.scrollWrapper,style:{overflow:Vu},onMouseEnter:$u,onMouseLeave:hu},(Yn=pr==null?void 0:pr.exercise_question_types)==null?void 0:Yn.map((Va,io)=>Ht.createElement("div",{key:io,className:"mb30"},Ht.createElement("div",{className:mt.title},Ht.createElement("div",{className:mt.titleleft},Ht.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,Nt.EM)(io+1),"\u3001\u3010",Va.name,"\u3011"),Ht.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",Va.count,"\u5C0F\u9898\uFF0C\u5171",Va.score,"\u5206\uFF09")),Ht.createElement(ze.Z,{dropdownRender:()=>Es(Va,io),placement:"bottomLeft"},Ht.createElement("div",{className:mt.more_style},Ht.createElement("i",{className:"iconfont icon-sandian font12"})))),Ht.createElement(yn,{handleEditing:Sl,isedit:Ii,setBigqitem:il,bigitem:tr(zr({},Va),{indexs:io+1}),setqitem:Uo=>nr(void 0,null,function*(){var ci;(ci=Ci.current)==null||ci.blur(),xo(Uo)}),qitem:ea,Itemid:Pe,getdata:Ml,data:Va.items})))))),Ht.createElement("div",{id:"question-scroll-id",style:{overflow:Ii?"hidden":"auto"},className:mt.right},!(ea!=null&&ea.isadd)&&Ht.createElement("div",{className:mt.title},!Ii&&Ht.createElement("div",{style:{flex:1}},Ht.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(oi==null?void 0:oi.indexs)&&(0,Nt.EM)(oi==null?void 0:oi.indexs),"\u3001\u3010",oi==null?void 0:oi.name,"\u3011"),Ht.createElement(ct.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Ht.createElement("i",{className:`${mt.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var Va;Kl.setFieldsValue({name:oi.name,item_type_en:(Va=Wa.find(io=>io.id==oi.question_type))==null?void 0:Va.nameType}),ua(!0)}})),Ht.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",oi==null?void 0:oi.count,"\u5C0F\u9898\uFF0C\u5171",oi==null?void 0:oi.score,"\u5206\uFF09"),(ea==null?void 0:ea.question_type)===6&&Ht.createElement("span",{onClick:()=>{Ye.default.destroyAll(),Fo(2)},className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(ea==null?void 0:ea.question_type)===5&&Ht.createElement(st.default,{defaultChecked:(Ct=(xn=tn==null?void 0:tn.editData)==null?void 0:xn.exercise)==null?void 0:Ct.show_challenge_task_pass,onChange:Va=>nr(void 0,null,function*(){let io=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:Va.target.checked}});(io==null?void 0:io.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ml({id:Mi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(ea==null?void 0:ea.question_type)===6&&Ht.createElement("span",{style:{marginLeft:20},onClick:()=>{var Va,io,Uo,ci;Ye.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Ht.createElement("div",null,(ea==null?void 0:ea.question_type)===6&&Ht.createElement(st.default,{defaultChecked:(io=(Va=tn==null?void 0:tn.editData)==null?void 0:Va.exercise)==null?void 0:io.show_hack_sets,onChange:ti=>nr(void 0,null,function*(){let jo=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_sets:ti.target.checked}});(jo==null?void 0:jo.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Mi.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Ht.createElement("br",null),(ea==null?void 0:ea.question_type)===6&&Ht.createElement(st.default,{defaultChecked:(ci=(Uo=tn==null?void 0:tn.editData)==null?void 0:Uo.exercise)==null?void 0:ci.show_hack_description,onChange:ti=>nr(void 0,null,function*(){let jo=yield(0,ne.ZP)(`/api/exercises/${Pe}/update_show_columns.json`,{method:"post",body:{show_hack_description:ti.target.checked}});(jo==null?void 0:jo.status)===0&&(Ne.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ye.default.destroyAll(),Ml({id:Mi.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")),Ht.createElement("div",{style:{display:"flex",alignItems:"center"}},(ea==null?void 0:ea.question_type)===5&&!Ii&&Ht.createElement("a",{className:mt.shixun,href:`/shixuns/${ea==null?void 0:ea.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Ht.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!Ii&&((gn=pr==null?void 0:pr.exercise)==null?void 0:gn.exercise_status)==1&&[0,1,2,4,6].includes(ea==null?void 0:ea.question_type)&&Ht.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Ht.createElement(Ve.Z,{precision:1,ref:Ci,onChange:Va=>Zo(Va),value:Ri,onBlur:Va=>{Dl(Va.target.value,ea)}})),!Ii&&((In=pr==null?void 0:pr.exercise)==null?void 0:In.exercise_status)==1&&Ht.createElement(ct.Z,{title:"\u5220\u9664"},Ht.createElement("i",{onClick:()=>{kl()},style:{marginRight:20},className:`${mt.delete} iconfont icon-shanchu13 mr8 ml8 `})),(ea==null?void 0:ea.question_type)!==5&&!Ii&&Ht.createElement(Ht.Fragment,null,(ea==null?void 0:ea.is_my)==1&&Ht.createElement(ct.Z,{title:"\u67E5\u770B\u539F\u9898"},Ht.createElement("i",{className:`${mt.yuanti} iconfont icon-chakanyuanti mr8 ml8`,onClick:()=>{(ea==null?void 0:ea.question_type)==6?window.open(`/problems/newedit/${ea==null?void 0:ea.item_bank_hack_identifier}`):(ea==null?void 0:ea.question_type)==8?window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_hack_identifier}?type=1`):window.open(`/problemset/edit/${ea==null?void 0:ea.item_bank_id}`)}})),Ht.createElement(ct.Z,{title:"\u52A0\u5165\u6211\u7684\u9898\u5E93"},Ht.createElement("i",{className:`${mt.tianjia} iconfont icon-jiarushitiku mr8 ml8`,onClick:()=>{Di.current=[],Ye.default.confirm({centered:!0,width:500,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u52A0\u5165\u6211\u7684\u9898\u5E93",maskClosable:!0,className:"custom-modal-divider",icon:null,content:Ht.createElement("div",{className:`font14 ${mt.overflow}`,style:{maxHeight:500,overflow:"auto"}},Ht.createElement("p",{className:"c-grey-333"},"\u8BF7\u9009\u62E9\u52A0\u5165\u7684\u6587\u4EF6\u5939"),Ht.createElement(Fn.Z,{spinning:!1},Ht.createElement(ca.Z,{defaultValue:!0,value:Di.current,onChange:Va=>Di.current=Va}))),onOk:()=>nr(void 0,null,function*(){var Va;(0,qn.$l)({id:ea==null?void 0:ea.question_id,group_id:((Va=Di==null?void 0:Di.current)==null?void 0:Va[0])||""}).then(io=>{(io==null?void 0:io.status)==0&&(Ne.ZP.success("\u52A0\u5165\u6210\u529F"),el())})})})}}))),!Ii&&(((ra=pr==null?void 0:pr.exercise)==null?void 0:ra.exercise_status)==1||((Hn=pr==null?void 0:pr.exercise)==null?void 0:Hn.exercise_status)==2&&((ta=(ba=ce.userInfo)==null?void 0:ba.course)==null?void 0:ta.course_role)!=15||((oa=pr==null?void 0:pr.exercise)==null?void 0:oa.exercise_status)==3&&((Pn=(Ka=ce.userInfo)==null?void 0:Ka.course)==null?void 0:Pn.course_role)!=15||((ya=pr==null?void 0:pr.exercise)==null?void 0:ya.exercise_status)==4&&((qr=(ja=ce.userInfo)==null?void 0:ja.course)==null?void 0:qr.course_role)!=15)&&Ht.createElement(ct.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Ht.createElement("i",{onClick:()=>{(ea==null?void 0:ea.question_type)===6?de.history.push(`/problems/newedit/${ea==null?void 0:ea.hack_identifier}?type=exercises&express_id=${Jo.exerciseId}&question_id=${ea==null?void 0:ea.question_id}&score=${ea==null?void 0:ea.question_score}&exercise=true&callback_url=/classrooms/${Jo.coursesId}/exercise/add/${Pe}?type=2`):cl(!0)},className:`${mt.edit} iconfont icon-bianji_Hover ml8`})))),!Ii&&Ht.createElement("div",null,Ht.createElement("div",{className:mt.qcount},Ht.createElement("span",{className:mt.score},ea==null?void 0:ea.question_score,"\u5206"),Ht.createElement(fe.Z,{className:mt.qtitle,value:(ea==null?void 0:ea.index)+`\u3001${(ea==null?void 0:ea.question_type)==8?(cr=ea==null?void 0:ea.program_attr)==null?void 0:cr.description:ea==null?void 0:ea.question_title}`}),(ea==null?void 0:ea.high_resources_consume)&&Ht.createElement(vr.Z,{type:"shixun",style:{marginLeft:10}})),(ea==null?void 0:ea.question_type)===6&&Ht.createElement(at.Z,{onEdit:()=>Fo(1),className:"mt10",dataSource:(ea==null?void 0:ea.languages)||[]}),Ht.createElement(wu,{exercise:tn,TagDiscipline:Bl,qitem:ea})),Ii&&Ht.createElement("div",null,(ea==null?void 0:ea.question_type)<=1&&Ht.createElement(It,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===5&&Ht.createElement(ju,{setqitem:xo,deleteitem:kl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,showTip:Xo}),(ea==null?void 0:ea.question_type)===3&&Ht.createElement(Ea,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===2&&Ht.createElement(Un,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===4&&Ht.createElement(ye,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===7&&Ht.createElement(au,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}),(ea==null?void 0:ea.question_type)===8&&Ht.createElement(Cn,{deleteitem:kl,getTagData:fl,seveeditor:ou,exerciseitem:pr,TagDiscipline:Bl,setisedit:cl,qitem:ea,init:el,showTip:Xo}))))))),Ht.createElement("div",{className:mt.bottomdiv},Ht.createElement("div",{className:mt.exercise_styles},((li=pr==null?void 0:pr.exercise)==null?void 0:li.exercise_status)==1&&Ht.createElement(Ht.Fragment,null,Ht.createElement("span",{className:mt.spanBtn,onClick:()=>{if(Ii){Sl();return}ul(!0),wl(!1)}},"\u9898\u5E93\u9009\u9898"),Ht.createElement(ze.Z,{menu:{items:ds}},Ht.createElement("span",{className:mt.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Ht.createElement("span",{className:mt.spanBtn,onClick:()=>nr(void 0,null,function*(){var Va;let io=yield(0,ne.ZP)(`/api/exercises/${Jo==null?void 0:Jo.exerciseId}/simulate_start_answer.json`,{method:"get",params:{coursesId:Jo==null?void 0:Jo.coursesId,categoryId:Jo==null?void 0:Jo.exerciseId}});(io==null?void 0:io.status)!=-1&&window.open(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Jo==null?void 0:Jo.exerciseId}/${(Va=ce.userInfo)==null?void 0:Va.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Ht.createElement("span",{className:mt.spanBtn,onClick:()=>{window.open(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Jo==null?void 0:Jo.exerciseId}/detail?random=false&tabs=2`)}},"\u8BD5\u5377\u9884\u89C8"),Wa==null?void 0:Wa.map(Va=>Ht.createElement(Ge.ZP,{className:mt.addQuestionBtn,key:Va.id,type:"primary",onClick:()=>{vs(Va.id)}},Va.name))),((Za=pr==null?void 0:pr.exercise)==null?void 0:Za.exercise_status)!=1&&Ht.createElement(Ht.Fragment,null,Ht.createElement("span",{style:{width:"1022px"}})),Ht.createElement("span",{className:mt.saveBtn,onClick:()=>{var Va,io,Uo;if(Ii){Sl();return}let ci=(io=(Va=pr==null?void 0:pr.exercise_question_types)==null?void 0:Va.filter(jo=>jo.question_type===5)[0])==null?void 0:io.items,ti=0;ci==null||ci.map(jo=>{jo.high_resources_consume&&(ti=ti+1)}),console.log(ti),ti>0?pe({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:ti,fn:()=>{var jo;((jo=pr==null?void 0:pr.exercise)==null?void 0:jo.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}}}):((Uo=pr==null?void 0:pr.exercise)==null?void 0:Uo.exercise_status)==1?(Ne.ZP.success("\u4FDD\u5B58\u6210\u529F"),de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)):de.history.back()}},Ht.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Ht.createElement(Kt,{setScoreShow:Zi,ScoreShow:$i,exerciseitem:pr,getdata:el}),hl&&Ht.createElement(Ni,{setScoreShow:ul,isshixuns:sl,isloadings:vu,ScoreShow:hl,onOk:(Va,io,Uo,ci,ti)=>nr(void 0,null,function*(){pu(!0);let Oi=yield Ku({exam_id:Pe,item_bank_ids:Va,shixun_ids:io,shixun_copy_ids:ti});pu(!1),(Oi==null?void 0:Oi.status)===0&&Ye.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:()=>{el()},onCancel:()=>{ul(!1),el()}})})}),Ht.createElement(ts.Z,{sub_discipline_id:(Co=pr==null?void 0:pr.exercise)!=null&&Co.sub_discipline_id?[(Cr=pr==null?void 0:pr.exercise)==null?void 0:Cr.discipline_id,(ao=pr==null?void 0:pr.exercise)==null?void 0:ao.sub_discipline_id]:[],visible:No,onCancel:()=>Si(!1),onOk:Hi}),Ht.createElement(Ye.default,{title:"\u63D0\u793A",open:qi,confirmLoading:!1,centered:!0,okText:"\u8BBE\u7F6E\u89C4\u5219",cancelText:"\u4FEE\u6539\u8BD5\u5377",footer:Ht.createElement("div",null,Ht.createElement(Ge.ZP,{onClick:()=>{Wl(!1),de.history.back()}},"\u7A0D\u540E\u518D\u8BF4"),Ht.createElement(Ge.ZP,{type:"primary",onClick:()=>{de.history.push(`/classrooms/${Jo==null?void 0:Jo.coursesId}/exercise/${Pe}/detail?random=false&tabs=3`),Wl(!1)}},"\u8BBE\u7F6E\u89C4\u5219")),onCancel:()=>{Wl(!1)}},Ht.createElement("p",null,"\u8BD5\u5377\u521B\u5EFA\u5B8C\u6210\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u8BBE\u7F6E\u8003\u8BD5\u89C4\u5219\uFF1F")),Ht.createElement(Ye.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:gu,width:500,onOk:()=>Kl.submit(),onCancel:()=>ua(!1)},Ht.createElement(Be.default,{form:Kl,initialValues:{},onFinish:Va=>nr(void 0,null,function*(){(yield(0,qn.RK)(zr({id:Pe},Va))).status==0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),el(),ua(!1))})},Ht.createElement(Be.default.Item,{name:"name",style:{marginBottom:0},rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9898\u578B\u540D\u79F0"},{whitespace:!0,message:"\u8BF7\u52FF\u8F93\u5165\u7A7A\u683C"},{validator(Va,io){var Uo,ci,ti,jo;const Oi=(Uo=Wa==null?void 0:Wa.find(Gi=>Gi.nameType==Kl.getFieldValue("item_type_en")))==null?void 0:Uo.id;return(jo=(ti=(ci=pr==null?void 0:pr.exercise_question_types)==null?void 0:ci.filter(Gi=>Gi.question_type!=Oi))==null?void 0:ti.map(Gi=>Gi==null?void 0:Gi.name))!=null&&jo.includes(io)?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()}}]},Ht.createElement(ke.default,{size:"large",maxLength:10,showCount:!0})),Ht.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Ht.createElement(ke.default,{size:"large"})))),Ht.createElement(Lt.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:er},Ht.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Ht.createElement(Aa.Z,{stickyTop:-24,subDisciplineId:(Eo=pr==null?void 0:pr.exercise)!=null&&Eo.sub_discipline_id?[(hi=pr==null?void 0:pr.exercise)==null?void 0:hi.discipline_id,(mi=pr==null?void 0:pr.exercise)==null?void 0:mi.sub_discipline_id]:[],onCancel:()=>Ho(!1),mode:3,gather:{exercise_id:Pe},onSuccess:()=>{Ho(!1),el()}}),Ht.createElement("div",{style:{height:70}})),Ht.createElement(at.Q,{visible:!!uo,setVisible:Fo,tip:uo===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:uo===1?ea==null?void 0:ea.languages:[],onOk:Va=>nr(void 0,null,function*(){const io={languages:Va};uo===1?io.hack_id=ea==null?void 0:ea.hack_id:io.exercise_id=Pe,(yield(0,ne.ZP)("/api/problems/update_languages.json",{method:"post",body:io})).status===0&&(Ne.ZP.success("\u4FEE\u6539\u6210\u529F"),Ml({id:Mi.current}),Fo(!1))})}))};var Kr=(0,de.connect)(({user:ce,exercise:pe,dispatch:Pe})=>({user:ce,exercise:pe,dispatch:Pe}))(or),Po=ee(85786),lo=ee(15730),Mr=ee(73157),vo=ee(87169),Bo=ee(86918),Ra=ee(59301),wo=Object.defineProperty,yi=Object.defineProperties,Do=Object.getOwnPropertyDescriptors,Xr=Object.getOwnPropertySymbols,bi=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,gi=(ce,pe,Pe)=>pe in ce?wo(ce,pe,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ce[pe]=Pe,_o=(ce,pe)=>{for(var Pe in pe||(pe={}))bi.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);if(Xr)for(var Pe of Xr(pe))Qr.call(pe,Pe)&&gi(ce,Pe,pe[Pe]);return ce},_i=(ce,pe)=>yi(ce,Do(pe)),to=(ce,pe)=>{var Pe={};for(var Ot in ce)bi.call(ce,Ot)&&pe.indexOf(Ot)<0&&(Pe[Ot]=ce[Ot]);if(ce!=null&&Xr)for(var Ot of Xr(ce))pe.indexOf(Ot)<0&&Qr.call(ce,Ot)&&(Pe[Ot]=ce[Ot]);return Pe},_r=(ce,pe,Pe)=>new Promise((Ot,tn)=>{var wa=jt=>{try{zn(Pe.next(jt))}catch(Yn){tn(Yn)}},ma=jt=>{try{zn(Pe.throw(jt))}catch(Yn){tn(Yn)}},zn=jt=>jt.done?Ot(jt.value):Promise.resolve(jt.value).then(wa,ma);zn((Pe=Pe.apply(ce,pe)).next())});const Yr=ce=>{var pe=ce,{classroomList:Pe,globalSetting:Ot,problemset:tn,loading:wa,exercise:ma,user:zn,dispatch:jt}=pe,Yn=to(pe,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),xn,Ct,gn,In,ra,Hn,ba,ta,oa,Ka,Pn,ya,ja,qr;const cr=(0,de.useParams)(),[li,Za]=(0,b.useState)(!1),{userInfo:Co}=zn,[Cr]=Be.default.useForm();let[ao,Eo]=(0,b.useState)({});const[hi,mi]=(0,b.useState)(1),[pr,po]=(0,b.useState)(""),[Ki]=(0,de.useSearchParams)(),[Li,ea]=(0,b.useState)(!1),[xo,Ri]=(0,b.useState)(!1),[Zo,Ci]=(0,b.useState)(!1),[Mi,oi]=(0,b.useState)(""),[il,ll]=(0,b.useState)(!1),[jl,Ii]=(0,b.useState)(!1);(0,b.useEffect)(()=>{jt({type:"problemset/getEditDisciplines",payload:{source:"new_question",identifier:cr==null?void 0:cr.coursesId}}),jt({type:"globalSetting/footerToggle",payload:!1}),Cr.setFieldsValue({difficulty:2,courseid:[]})},[]),(0,b.useEffect)(()=>{cr.exerciseId&&_r(void 0,null,function*(){var No,Si,$i;const Zi=yield jt({type:"exercise/editExercise",payload:{categoryId:cr.exerciseId}});(Zi==null?void 0:Zi.status)!==-1&&(((No=Zi==null?void 0:Zi.exercise)==null?void 0:No.exercise_status)===2||((Si=Zi==null?void 0:Zi.exercise)==null?void 0:Si.exercise_status)===3||(($i=Zi==null?void 0:Zi.exercise)==null?void 0:$i.exercise_status)===4?Ci(!0):Ci(!1))})},[cr]),(0,b.useEffect)(()=>{if(cr.exerciseId){let No=ma.editData.exercise;Ii(No==null?void 0:No.set_question_sub_discipline),Cr.setFieldsValue(_i(_o({},No),{courseid:No!=null&&No.sub_discipline_id?[No==null?void 0:No.discipline_id,No==null?void 0:No.sub_discipline_id]:[]}))}},[ma]),(0,b.useEffect)(()=>{Ki.get("type")==="2"&&(po(cr.exerciseId),mi(2))},[Ki.get("type")]),(0,b.useEffect)(()=>{var No;let Si=(No=tn==null?void 0:tn.disciplinesData)==null?void 0:No.checked;Si!=null&&Si.sub_discipline_id&&Cr.setFieldsValue({courseid:[Si==null?void 0:Si.discipline_id,Si==null?void 0:Si.sub_discipline_id]})},[(xn=tn==null?void 0:tn.disciplinesData)==null?void 0:xn.checked]);function cl(No,Si){return _r(this,null,function*(){var $i,Zi,hl,ul;yield Cr.validateFields();const sl=Cr.getFieldsValue(),{courseid:wl}=sl,[Rl,ml]=wl;sl.sub_discipline_id=ml,sl.is_md=!0,sl.time=parseInt(sl.time)>9999?9999:sl.time;const qi=yield jt({type:"exercise/addExercise",payload:_o(_o({},sl),cr)});qi.status===0?(yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/notice_at.json`,{method:"POST",body:{course_id:cr==null?void 0:cr.coursesId,id:($i=qi==null?void 0:qi.data)==null?void 0:$i.exercise_id,time:No}}),Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),po((hl=qi==null?void 0:qi.data)==null?void 0:hl.exercise_id),mi(2),ea(!1),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(ul=qi.data)==null?void 0:ul.exercise_id}?type=2`)):Ne.ZP.error(qi.message),Si()})}function Bl(No){Eo(_o({},No))}function Gl(No){return _r(this,null,function*(){if(!(ao!=null&&ao.ec_point_ids))return;const Si=_o({},ao);delete Si.id;let $i=yield(0,ne.ZP)(`/api/ec_courses/${ao==null?void 0:ao.ec_course_id}/ec_points/set_work_points.json`,{method:"post",body:_o({exercise_id:No},Si)})})}return Ra.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},Ra.createElement("section",{className:"edu-container"},Ra.createElement("section",{className:"animated fadeIn"},Ra.createElement("aside",{className:"mt10"},Co&&Ra.createElement(Ze.Z,{separator:">"},Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},(Ct=Co==null?void 0:Co.course)==null?void 0:Ct.course_name)),Ra.createElement(Ze.Z.Item,null,Ra.createElement(de.Link,{to:`/classrooms/${cr.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")),Ra.createElement(Ze.Z.Item,null,cr.exerciseId?"\u7F16\u8F91\u8BD5\u5377":"\u65B0\u5EFA\u8BD5\u5377")))),cr.exerciseId&&Ra.createElement("div",{style:{display:"inline-flex",background:"rgba(233, 146, 55, 0.05)",borderRadius:4,height:40,lineHeight:"40px",width:"100%",padding:"0px 10px",alignItems:"center",marginTop:20}},Ra.createElement(vo.Z,{style:{marginRight:5,color:"#E99237"}}),Ra.createElement("span",{style:{flex:1,color:"#E99237"}},"\u53D1\u5E03\u540E\u7684\u8BD5\u5377\u4E0D\u5141\u8BB8\u8FDB\u884C\u589E\u52A0/\u5220\u9664\u8BD5\u9898\u548C\u4FEE\u6539\u5206\u503C\u7B49\u64CD\u4F5C\uFF0C\u82E5\u9700\u8981\u4E8C\u6B21\u4F7F\u7528\uFF0C\u53EF\u5C06\u8BD5\u5377\u52A0\u5165\u8BD5\u5377\u5E93\u4E2D\u8FDB\u884C\u7F16\u8F91"),Ra.createElement("span",{className:Je.addQuestionBtn,onClick:()=>{jt({type:"exercise/setActionTabs",payload:{key:"\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93",selectArrs:[cr.exerciseId]}})}},"\u52A0\u5165\u8BD5\u5377\u5E93")),Ra.createElement(Mr.Z,{haveInit:!0,init:()=>{oi(new Date)}}),Ra.createElement("div",{className:"bg-white"},Ra.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},Ra.createElement("div",{onClick:()=>{if(xo){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u8BD5\u9898\u3002");return}mi(1)},className:hi===1?Je.selectdiv:Je.divitem},Ra.createElement(Po.Z,{number:1,active:hi===1,className:"mr10"}),Ra.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),Ra.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),Ra.createElement("div",{onClick:()=>{if(!cr.exerciseId&&!pr){Ne.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}mi(2),!pr&&po(cr.exerciseId)},className:hi!==1?Je.selectdiv:Je.divitem},Ra.createElement(Po.Z,{number:2,active:hi!==1,className:"mr10"}),Ra.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),hi===2&&Ra.createElement("div",{className:"tc"},Ra.createElement(lo.Z,{defaultValue:(In=(gn=ma==null?void 0:ma.editData)==null?void 0:gn.exercise)==null?void 0:In.exercise_name,onFinish:No=>_r(void 0,null,function*(){var Si,$i,Zi,hl,ul,sl,wl,Rl,ml,qi,Wl,Jo;return No.trim()===(($i=(Si=ma==null?void 0:ma.editData)==null?void 0:Si.exercise)==null?void 0:$i.exercise_name)?!0:(yield(0,qn.wy)({exercise_name:No,exercise_description:(hl=(Zi=ma==null?void 0:ma.editData)==null?void 0:Zi.exercise)==null?void 0:hl.exercise_description,sub_discipline_id:(sl=(ul=ma==null?void 0:ma.editData)==null?void 0:ul.exercise)==null?void 0:sl.sub_discipline_id,time:(Rl=(wl=ma==null?void 0:ma.editData)==null?void 0:wl.exercise)==null?void 0:Rl.time,exerciseId:(qi=(ml=ma.editData)==null?void 0:ml.exercise)==null?void 0:qi.id,difficulty:(Jo=(Wl=ma.editData)==null?void 0:Wl.exercise)==null?void 0:Jo.difficulty})).status===0?(Cr.setFieldValue("exercise_name",No),!0):!1})}),Ra.createElement("div",{style:{fontSize:14}},Ra.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((Hn=(ra=ma==null?void 0:ma.editData)==null?void 0:ra.exercise)==null?void 0:Hn.time)||"\u4E0D\u9650")),Ra.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ta=(ba=ma==null?void 0:ma.editData)==null?void 0:ba.exercise)==null?void 0:ta.difficulty)===1?"\u7B80\u5355":((Ka=(oa=ma==null?void 0:ma.editData)==null?void 0:oa.exercise)==null?void 0:Ka.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),Ra.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},((ya=(Pn=ma==null?void 0:ma.editData)==null?void 0:Pn.exercise_types)==null?void 0:ya.q_counts)||0)),Ra.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",Ra.createElement("span",{style:{color:"#000000",marginLeft:8}},(qr=(ja=ma==null?void 0:ma.editData)==null?void 0:ja.exercise_types)==null?void 0:qr.q_scores))))),hi===1&&Ra.createElement("div",null,Ra.createElement("section",{className:[Je.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Ra.createElement(Be.default,{form:Cr,colon:!1,layout:"horizontal",labelCol:{span:4},wrapperCol:{span:20},initialValues:{time:60},onFinish:No=>_r(void 0,null,function*(){var Si,$i,Zi,hl,ul;if(Za(!0),ea(!0),cr.exerciseId){No.exerciseId=($i=(Si=ma.editData)==null?void 0:Si.exercise)==null?void 0:$i.id,No.sub_discipline_id=No.courseid[No.courseid.length-1],yield(0,qn.wy)(_i(_o({},No),{set_question_sub_discipline:jl})),mi(2),Gl(cr==null?void 0:cr.exerciseId),po(cr.exerciseId),Za(!1),ea(!1);return}const sl=yield(0,ne.ZP)(`/api/courses/${cr==null?void 0:cr.coursesId}/exercises/overload_alert.json`,{method:"get",params:{course_id:cr==null?void 0:cr.coursesId}});if(sl!=null&&sl.alert)jt({type:"classroomList/setActionTabs",payload:{key:"\u9884\u7EA6\u5F39\u7A97"}});else{const{courseid:wl}=No,[Rl,ml]=wl;No.sub_discipline_id=ml,No.is_md=!0,No.time=parseInt(No.time)>9999?9999:No.time,No.set_question_sub_discipline=jl;const qi=yield jt({type:"exercise/addExercise",payload:_i(_o(_o({},No),cr),{category_id:Ki.get("catalogue")||null})});qi.status===0&&(Gl((Zi=qi.data)==null?void 0:Zi.exercise_id),de.history.replace(`/classrooms/${cr.coursesId}/exercise/add/${(hl=qi.data)==null?void 0:hl.exercise_id}?type=2`),po((ul=qi==null?void 0:qi.data)==null?void 0:ul.exercise_id),mi(2)),ea(!1)}Za(!1)}),className:Je.formWrap},Ra.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.baseLineHeight,rules:[{required:!0,validator:(No,Si)=>{var $i;return(($i=Si==null?void 0:Si.replaceAll(" ",""))==null?void 0:$i.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},Ra.createElement(ke.default,{maxLength:60,className:Je.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),Ra.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"courseid",className:Je.baseLineHeight},Ra.createElement(le.Z,{disabled:Zo,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:tn.courseOptions,className:Je.baseFormItem,size:"large",popupClassName:Je.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14},allowClear:!0})),Ra.createElement("div",{className:Je.concat},Ra.createElement("div",null,Ra.createElement(st.default,{checked:jl,onChange:No=>{Ii(No.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")),Ra.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",Ra.createElement("a",{onClick:()=>ll(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),Ra.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},Ra.createElement(et.ZP.Group,{className:Je.radiogroup,disabled:Zo},Ra.createElement(et.ZP.Button,{className:Je.easy,value:1},"\u7B80\u5355"),Ra.createElement(et.ZP.Button,{className:Je.medium,value:2},"\u9002\u4E2D"),Ra.createElement(et.ZP.Button,{className:Je.hard,value:3},"\u56F0\u96BE"))),Ra.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.baseLineHeight},Ra.createElement("div",{style:{display:"flex",width:"100%"}},Ra.createElement(Be.default.Item,{name:"time",noStyle:!0},Ra.createElement(Ve.Z,{disabled:Zo,min:1,max:9999,className:Je.baseFormItem,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),Ra.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),Ra.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},Ra.createElement(ke.default.TextArea,{disabled:Zo,rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"}))),Ra.createElement(Vn,{exercise_id:cr==null?void 0:cr.exerciseId,setitem:Bl})),Ra.createElement("div",{className:Je.bottmodiv},Ra.createElement(Ge.ZP,{className:`${Je.cancelBtn}`,type:"primary",onClick:()=>{de.history.back()}},"\u53D6\u6D88"),Ra.createElement(Ge.ZP,{loading:Li,onClick:()=>{Cr.validateFields(),Cr.submit()},type:"primary",className:`${Je.confirmBtn} ml20`},"\u4E0B\u4E00\u6B65")),Ra.createElement(z,{setsubloading:ea,onModalOk:cl})),hi===2&&Ra.createElement("div",null,Ra.createElement(Kr,{key:Mi,setisedits:Ri,setitemid:po,itemid:pr}))),Ra.createElement(Bo.Z,{open:il,onCancel:()=>{ll(!1)}}))};var Zr=(0,de.connect)(({classroomList:ce,loading:pe,user:Pe,problemset:Ot,globalSetting:tn,exercise:wa})=>({classroomList:ce,globalSetting:tn,problemset:Ot,user:Pe,exercise:wa,loading:pe.effects}))(Yr)},42609:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return E}});var b=ee(59301),de=ee(8591),Be=ee(43418),Ne=ee(19842),Ze=ee(54580),ke=ee(3113),le=ee(3294),st=ee(955),et=ee(99064),Ve=ee(89070),Ge={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"},Je=ee(59301),Ye=(a,x,y)=>new Promise((z,ne)=>{var re=ve=>{try{ie(y.next(ve))}catch(be){ne(be)}},ue=ve=>{try{ie(y.throw(ve))}catch(be){ne(be)}},ie=ve=>ve.done?z(ve.value):Promise.resolve(ve.value).then(re,ue);ie((y=y.apply(a,x)).next())}),E=({visible:a,onOk:x,onCancel:y,sub_discipline_id:z=[]})=>{const[ne,re]=(0,b.useState)([]),[ue,ie]=(0,b.useState)(!1),ve=(0,Ve.useParams)(),[be,je]=(0,b.useState)([]),[Ae,He]=(0,b.useState)([]);(0,b.useEffect)(()=>{a?he():(He([]),re([]),ie(!1))},[a]);const he=()=>Ye(void 0,null,function*(){const lt=yield(0,et.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});je(lt.disciplines||[]),He((z==null?void 0:z.length)>0?z:[])}),qe=()=>{if((Ae==null?void 0:Ae.length)===0)return de.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",Ae),ie(!0),x(ne,Ae[1],()=>{ie(!1)})},Ke=()=>{y()},ht=()=>{const lt=`${le.Z.API_SERVER}/api/courses/${ve.coursesId}/exercises/down_template`;(0,st.Nd)(null,lt)},Le=lt=>{const gt={name:lt.name,uid:lt.uid,file:lt};return re([gt]),!1},ot=()=>{re([])};return Je.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:qe,centered:!0,wrapClassName:Ge.customModal,onCancel:Ke,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ge.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ue},Je.createElement("div",{className:Ge.content},Je.createElement("aside",null,Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA41"),Je.createElement("ul",null,Je.createElement("li",null,Je.createElement("span",{style:{color:"#5F6367"}},"\u6839\u636E\u6A21\u677F\u8981\u6C42\u7F16\u8F91\u9700\u8981\u4E0A\u4F20\u7684\u8BD5\u9898"),Je.createElement("span",{style:{color:"#0152d9",cursor:"pointer",marginLeft:20},onClick:ht},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),Je.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:ht,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),Je.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),Je.createElement("li",{className:Ge.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),Je.createElement("li",{className:Ge.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),Je.createElement("li",{className:Ge.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),Je.createElement("li",{className:Ge.infoText},"4\u3001\u586B\u7A7A\u9898\u5BFC\u5165\u6700\u591A\u652F\u63018\u4E2A\u586B\u7A7A\u9879\u3002"))),Je.createElement("aside",{style:{marginTop:22}},Je.createElement("div",{style:{fontWeight:600}},"\u6B65\u9AA42"),Je.createElement("ul",{style:{flex:1}},Je.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&&Je.createElement(Je.Fragment,null,Je.createElement(Ne.Z,{value:Ae,className:Ge.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(lt,gt)=>{He(lt||[])}}),Je.createElement("br",null),Je.createElement(Ze.default,{action:`${le.Z.API_SERVER}/api/attachments.json`,beforeUpload:Le,onRemove:ot,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},Je.createElement(ke.ZP,{className:Ge.upload,type:"primary",icon:Je.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((lt,gt)=>Je.createElement("div",{key:gt,className:Ge.fileList},Je.createElement("span",{className:Ge.fileName},lt==null?void 0:lt.name),Je.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ot})))))))}},73157:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(43418),Be=ee(99064),Ne=ee(89070),Ze=ee(59301),ke=(st,et,Ve)=>new Promise((Ge,Je)=>{var Ye=a=>{try{E(Ve.next(a))}catch(x){Je(x)}},se=a=>{try{E(Ve.throw(a))}catch(x){Je(x)}},E=a=>a.done?Ge(a.value):Promise.resolve(a.value).then(Ye,se);E((Ve=Ve.apply(st,et)).next())});const le=({exercise:st,dispatch:et,init:Ve,haveInit:Ge=!1})=>{const Je=(0,Ne.useParams)(),[Ye,se]=(0,b.useState)(!1);let[E,a]=(0,b.useState)();const[x,y]=(0,b.useState)(!1),[z,ne]=(0,b.useState)(!1);(0,b.useEffect)(()=>{st.actionTabs.key==="\u5355\u4E2A\u52A0\u5165\u8BD5\u5377\u5E93"&&re()},[st.actionTabs]);function re(){return ke(this,null,function*(){var ue,ie;let ve=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/check_exercise_cover.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});if(((ue=ve==null?void 0:ve.cover_exercises)==null?void 0:ue.length)>0)se(!0),a((ie=ve==null?void 0:ve.cover_exercises)==null?void 0:ie[0]);else{let be=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});et({type:"exercise/setActionTabs",payload:{key:""}}),(be==null?void 0:be.status)===0&&(Ge&&Ve(),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}})}return Ze.createElement("div",null,Ze.createElement(de.default,{open:Ye,centered:!0,onCancel:ue=>ke(void 0,null,function*(){if(ue.target.outerText==="\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377"){y(!0);let ie=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs,update:1}});et({type:"exercise/setActionTabs",payload:{key:""}}),y(!1),(ie==null?void 0:ie.status)===0&&(Ge&&Ve(),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}else se(!1)}),cancelButtonProps:{loading:x},okText:"\u5F62\u6210\u65B0\u8BD5\u5377",cancelText:"\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377",okButtonProps:{loading:z},onOk:()=>ke(void 0,null,function*(){ne(!0);let ue=yield(0,Be.ZP)(`/api/courses/${Je==null?void 0:Je.coursesId}/exercises/join_examination_banks.json`,{method:"post",body:{check_ids:st.actionTabs.selectArrs}});ne(!1),(ue==null?void 0:ue.status)===0&&(Ge&&Ve(),et({type:"exercise/setActionTabs",payload:{key:""}}),se(!1),de.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u52A0\u5165\u6210\u529F\uFF01\u8BD5\u5377\u4E2D\u65B0\u5EFA\u7684\u8BD5\u9898\u5DF2\u4E3A\u60A8\u81EA\u52A8\u540C\u6B65\u81F3\u8BD5\u9898\u5E93~",okText:"\u524D\u5F80\u8BD5\u5377\u5E93",cancelText:"\u7A0D\u540E\u518D\u8BF4",onOk:()=>{Ne.history.push("/paperlibrary")}}))}),title:"\u52A0\u5165\u8BD5\u5377\u5E93\u63D0\u793A"},Ze.createElement("div",null,Ze.createElement("p",null,"\u8BE5\u8BD5\u5377\u5728\u8BD5\u5377\u5E93\u91CD\u590D\uFF0C\u662F\u5426\u9700\u8981\u8986\u76D6\u539F\u6765\u7684\u8BD5\u5377\uFF1F"),Ze.createElement("div",null,Ze.createElement("div",null,"\u8BD5\u5377\uFF1A",E==null?void 0:E.origin_exercise_nam),Ze.createElement("div",null,"\u539F\u8BD5\u5377\uFF1A",Ze.createElement("a",{href:`/paperlibrary/see/${E==null?void 0:E.examination_bank_id}?defaultActiveKey=0`,target:"_blank"},E==null?void 0:E.examination_bank_name))))))};Gt.Z=(0,Ne.connect)(({exercise:st})=>({exercise:st}))(le)},74440:function(Qt,Gt,ee){"use strict";ee.d(Gt,{h:function(){return b}});var b=(de=>(de[de.NOMATCH=-1]="NOMATCH",de[de.OK=0]="OK",de[de.TIMEOUT=2]="TIMEOUT",de[de.PODFAILURE=3]="PODFAILURE",de[de.COMPILEFAILURE=4]="COMPILEFAILURE",de[de.EXECUTEFAILURE=5]="EXECUTEFAILURE",de[de.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",de))(b||{})},88264:function(Qt,Gt,ee){"use strict";ee.d(Gt,{H7:function(){return E},MK:function(){return se},MU:function(){return Ve},X6:function(){return Je},bM:function(){return et},fi:function(){return a},fu:function(){return st},n4:function(){return x},rX:function(){return Ye},vl:function(){return y},zO:function(){return Ge}});var b=ee(99064),de=Object.defineProperty,Be=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,ke=(z,ne,re)=>ne in z?de(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Ne.call(ne,re)&&ke(z,re,ne[re]);if(Be)for(var re of Be(ne))Ze.call(ne,re)&&ke(z,re,ne[re]);return z};function st(z,ne){return(0,b.U2)(`myproblems/${z}.json`,le({hidePopLogin:!0},ne||{}))}function et(z,ne){return(0,b.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,b.v_)(`myproblems/${z}/code_debug.json`,ne)}function Ge(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,b.U2)(`myproblems/${z}/submit_records.json`,ne)}function Je(z){return(0,b.U2)("myproblems/record_detail.json",{id:z})}function Ye(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 E(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 y(z,ne){return(0,b.v_)(`discusses/${z}/plus.json`,ne)}},15730:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(6848),Be=ee(92832),Ne=ee(8591),Ze=ee(7761),ke=ee(59301),le=(et,Ve,Ge)=>new Promise((Je,Ye)=>{var se=x=>{try{a(Ge.next(x))}catch(y){Ye(y)}},E=x=>{try{a(Ge.throw(x))}catch(y){Ye(y)}},a=x=>x.done?Je(x.value):Promise.resolve(x.value).then(se,E);a((Ge=Ge.apply(et,Ve)).next())});const st=({defaultValue:et,onFinish:Ve})=>{const[Ge,Je]=(0,b.useState)(!1),[Ye,se]=(0,b.useState)(et);return(0,b.useEffect)(()=>{se(et)},[et]),ke.createElement("div",null,Ge?ke.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Ye,onChange:E=>{se(E.target.value)},onBlur:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Je(!1)}),onPressEnter:()=>le(void 0,null,function*(){var E;if(((E=Ye==null?void 0:Ye.replaceAll(" ",""))==null?void 0:E.length)<=0){Ne.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Ye))&&Je(!1)})}):ke.createElement("div",{className:Ze.Z.title},Ye,ke.createElement(de.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},ke.createElement("i",{className:`${Ze.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>Je(!0)}))))};Gt.Z=st},86918:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ve}});var b=ee(43418),de={ul:"ul___TdfYY"},Be=ee(32637),Ne=ee(59301),Ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,st=(Ge,Je)=>{var Ye={};for(var se in Ge)ke.call(Ge,se)&&Je.indexOf(se)<0&&(Ye[se]=Ge[se]);if(Ge!=null&&Ze)for(var se of Ze(Ge))Je.indexOf(se)<0&&le.call(Ge,se)&&(Ye[se]=Ge[se]);return Ye},Ve=Ge=>{var Je=Ge,{open:Ye,onCancel:se}=Je,E=st(Je,["open","onCancel"]);return Ne.createElement(b.default,{centered:!0,open:Ye,title:Ne.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:se,footer:null},Ne.createElement("div",null,Ne.createElement("div",{className:"tc"},Ne.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Ne.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Ne.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Ne.createElement("ul",{className:de.ul},Ne.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"),Ne.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"),Ne.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")))))}},88918:function(Qt,Gt,ee){"use strict";ee.d(Gt,{I:function(){return de}});var b=ee(59301);const de=()=>{const[Be,Ne]=(0,b.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Ne("auto"),handleMouseLeave:()=>Ne("hidden")}}},50371:function(Qt,Gt){"use strict";function ee(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let de=1;de{const Ze=Be[Ne];Ze!==void 0&&(b[Ne]=Ze)})}return b}Gt.Z=ee},77578:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return b}});const b=de=>de?typeof de=="function"?de():de:null},13845:function(Qt,Gt,ee){"use strict";ee.d(Gt,{F:function(){return b},Z:function(){return de}});function b(Be){return Be!=null&&Be===Be.window}function de(Be,Ne){var Ze,ke;if(typeof window=="undefined")return 0;const le=Ne?"scrollTop":"scrollLeft";let st=0;return b(Be)?st=Be[Ne?"pageYOffset":"pageXOffset"]:Be instanceof Document?st=Be.documentElement[le]:(Be instanceof HTMLElement||Be)&&(st=Be[le]),Be&&!b(Be)&&typeof st!="number"&&(st=(ke=((Ze=Be.ownerDocument)!==null&&Ze!==void 0?Ze:Be).documentElement)===null||ke===void 0?void 0:ke[le]),st}},56762:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(59301);function de(){const[,Be]=b.useReducer(Ne=>Ne+1,0);return Be}},68031:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ne}});var b=ee(16089);function de(Ze,ke,le,st){const et=le-ke;return Ze/=st/2,Ze<1?et/2*Ze*Ze*Ze+ke:et/2*((Ze-=2)*Ze*Ze+2)+ke}var Be=ee(13845);function Ne(Ze){let ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:le=()=>window,callback:st,duration:et=450}=ke,Ve=le(),Ge=(0,Be.Z)(Ve,!0),Je=Date.now(),Ye=()=>{const E=Date.now()-Je,a=de(E>et?et:E,Ge,Ze,et);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,E{let{children:ot}=Le;const{getPrefixCls:lt}=Ze.useContext(le.E_),gt=lt("breadcrumb");return Ze.createElement("li",{className:`${gt}-separator`,"aria-hidden":"true"},ot===""?ot:ot||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var Ge=Ve,Je=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ftot[ft]||gt)}function se(Le,ot,lt,gt){if(lt==null)return null;const{className:ft,onClick:ln}=ot,xt=Je(ot,["className","onClick"]),an=Object.assign(Object.assign({},(0,Ne.Z)(xt,{data:!0,aria:!0})),{onClick:ln});return gt!==void 0?Ze.createElement("a",Object.assign({},an,{className:de()(`${Le}-link`,ft),href:gt}),lt):Ze.createElement("span",Object.assign({},an,{className:de()(`${Le}-link`,ft)}),lt)}function E(Le,ot){return(gt,ft,ln,xt,an)=>{if(ot)return ot(gt,ft,ln,xt);const hn=Ye(gt,ft);return se(Le,gt,hn,an)}}var a=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft{const{prefixCls:ot,separator:lt="/",children:gt,menu:ft,overlay:ln,dropdownProps:xt,href:an}=Le,$e=(dt=>{if(ft||ln){const rn=Object.assign({},xt);if(ft){const Vn=ft||{},{items:Zt}=Vn,Fn=a(Vn,["items"]);rn.menu=Object.assign(Object.assign({},Fn),{items:Zt==null?void 0:Zt.map((ze,ct)=>{var{key:Lt,title:mt,label:Nt,path:ut}=ze,at=a(ze,["key","title","label","path"]);let De=Nt!=null?Nt:mt;return ut&&(De=Ze.createElement("a",{href:`${an}${ut}`},De)),Object.assign(Object.assign({},at),{key:Lt!=null?Lt:ct,label:De})})})}else ln&&(rn.overlay=ln);return Ze.createElement(et.Z,Object.assign({placement:"bottom"},rn),Ze.createElement("span",{className:`${ot}-overlay-link`},dt,Ze.createElement(st.Z,null)))}return dt})(gt);return $e!=null?Ze.createElement(Ze.Fragment,null,Ze.createElement("li",null,$e),lt&&Ze.createElement(Ge,null,lt)):null},y=Le=>{const{prefixCls:ot,children:lt,href:gt}=Le,ft=a(Le,["prefixCls","children","href"]),{getPrefixCls:ln}=Ze.useContext(le.E_),xt=ln("breadcrumb",ot);return Ze.createElement(x,Object.assign({},ft,{prefixCls:xt}),se(xt,ft,lt,gt))};y.__ANT_BREADCRUMB_ITEM=!0;var z=y,ne=ee(17313),re=ee(83116),ue=ee(37613);const ie=Le=>{const{componentCls:ot,iconCls:lt}=Le;return{[ot]:Object.assign(Object.assign({},(0,ne.Wf)(Le)),{color:Le.itemColor,fontSize:Le.fontSize,[lt]:{fontSize:Le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Le.linkColor,transition:`color ${Le.motionDurationMid}`,padding:`0 ${Le.paddingXXS}px`,borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",marginInline:-Le.marginXXS,"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover}},(0,ne.Qy)(Le)),"li:last-child":{color:Le.lastItemColor},[`${ot}-separator`]:{marginInline:Le.separatorMargin,color:Le.separatorColor},[`${ot}-link`]:{[` > ${lt} + span, > ${lt} + a - `]:{marginInlineStart:Le.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${lt}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var ve=(0,re.Z)("Breadcrumb",Le=>{const ot=(0,ue.TS)(Le,{});return[ie(ot)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),be=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft{var{breadcrumbName:xt}=ln,an=be(ln,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:xt})})}),ft}function Ae(Le,ot){return(0,Ze.useMemo)(()=>Le||(ot?ot.map(je):null),[Le,ot])}var He=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft{if(ot===void 0)return ot;let lt=(ot||"").replace(/^\//,"");return Object.keys(Le).forEach(gt=>{lt=lt.replace(`:${gt}`,Le[gt])}),lt},qe=Le=>{const{prefixCls:ot,separator:lt="/",style:gt,className:ft,rootClassName:ln,routes:xt,items:an,children:hn,itemRender:$e,params:dt={}}=Le,rn=He(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Vn,direction:Zt,breadcrumb:Fn}=Ze.useContext(le.E_);let ze;const ct=Vn("breadcrumb",ot),[Lt,mt]=ve(ct),Nt=Ae(an,xt),ut=E(ct,$e);if(Nt&&Nt.length>0){const fe=[],Xe=an||xt;ze=Nt.map((Rt,Oe)=>{const{path:Ie,key:St,type:nt,menu:Me,overlay:yt,onClick:Bn,className:nn,separator:dn,dropdownProps:un}=Rt,yn=he(dt,Ie);yn!==void 0&&fe.push(yn);const Te=St!=null?St:Oe;if(nt==="separator")return Ze.createElement(Ge,{key:Te},dn);const Ft={},zt=Oe===Nt.length-1;Me?Ft.menu=Me:yt&&(Ft.overlay=yt);let{href:wt}=Rt;return fe.length&&yn!==void 0&&(wt=`#/${fe.join("/")}`),Ze.createElement(x,Object.assign({key:Te},Ft,(0,Ne.Z)(Rt,{data:!0,aria:!0}),{className:nn,dropdownProps:un,href:wt,separator:zt?"":lt,onClick:Bn,prefixCls:ct}),ut(Rt,dt,Xe,fe,wt))})}else if(hn){const fe=(0,Be.Z)(hn).length;ze=(0,Be.Z)(hn).map((Xe,Rt)=>{if(!Xe)return Xe;const Oe=Rt===fe-1;return(0,ke.Tm)(Xe,{separator:Oe?"":lt,key:Rt})})}const at=de()(ct,Fn==null?void 0:Fn.className,{[`${ct}-rtl`]:Zt==="rtl"},ft,ln,mt),De=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),gt);return Lt(Ze.createElement("nav",Object.assign({className:at,style:De},rn),Ze.createElement("ol",null,ze)))};qe.Item=z,qe.Separator=Ge;var Ke=qe,ht=Ke},19842:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return xa}});var b=ee(26407),de=ee(59301),Be=ee(33853),Ne=ee(58617),Ze=ee(38819),ke=ee(92310),le=ee.n(ke),st=ee(92413),et=ee(33606),Ve=ee(37061),Ge=ee(77861),Je=ee(17115),Ye=ee(90782),se=ee(6089),E=ee(18929),a=de.createContext(null),x=a,y=ee(39559),z=ee(400),ne=ee(33708),re="__rc_cascader_search_mark__",ue=function(It,_t,Vt){var Gt=Vt.label;return _t.some(function(Rn){return String(Rn[Gt]).toLowerCase().includes(It.toLowerCase())})},ie=function(It,_t,Vt,Gt){return _t.map(function(Rn){return Rn[Gt.label]}).join(" / ")},ve=function(We,It,_t,Vt,Gt,Rn){var wn=Gt.filter,vt=wn===void 0?ue:wn,Bt=Gt.render,pt=Bt===void 0?ie:Bt,Sn=Gt.limit,Wn=Sn===void 0?50:Sn,An=Gt.sort;return de.useMemo(function(){var ka=[];if(!We)return[];function pa(_n,Ea){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;_n.forEach(function(Dn){if(!(!An&&Wn!==!1&&Wn>0&&ka.length>=Wn)){var lr=[].concat((0,b.Z)(Ea),[Dn]),Nr=Dn[_t.children],Ur=Pa||Dn.disabled;if((!Nr||Nr.length===0||Rn)&&vt(We,lr,{label:_t.label})){var Sr;ka.push((0,ne.Z)((0,ne.Z)({},Dn),{},(Sr={disabled:Ur},(0,z.Z)(Sr,_t.label,pt(We,lr,Vt,_t)),(0,z.Z)(Sr,re,lr),(0,z.Z)(Sr,_t.children,void 0),Sr)))}Nr&&pa(Dn[_t.children],lr,Ur)}})}return pa(It,[]),An&&ka.sort(function(_n,Ea){return An(_n[re],Ea[re],We,_t)}),Wn!==!1&&Wn>0?ka.slice(0,Wn):ka},[We,It,_t,Vt,pt,Rn,vt,An,Wn])},be="__RC_CASCADER_SPLIT__",je="SHOW_PARENT",Ae="SHOW_CHILD";function He(We){return We.join(be)}function he(We){return We.map(He)}function qe(We){return We.split(be)}function Ke(We){var It=We||{},_t=It.label,Vt=It.value,Gt=It.children,Rn=Vt||"value";return{label:_t||"label",value:Rn,key:Rn,children:Gt||"children"}}function ht(We,It){var _t,Vt;return(_t=We.isLeaf)!==null&&_t!==void 0?_t:!((Vt=We[It.children])!==null&&Vt!==void 0&&Vt.length)}function Le(We){var It=We.parentElement;if(It){var _t=We.offsetTop-It.offsetTop;_t-It.scrollTop<0?It.scrollTo({top:_t}):_t+We.offsetHeight-It.scrollTop>It.offsetHeight&&It.scrollTo({top:_t+We.offsetHeight-It.offsetHeight})}}function ot(We,It){return We.map(function(_t){var Vt;return(Vt=_t[re])===null||Vt===void 0?void 0:Vt.map(function(Gt){return Gt[It.value]})})}function lt(We,It,_t){var Vt=new Set(We),Gt=It();return We.filter(function(Rn){var wn=Gt[Rn],vt=wn?wn.parent:null,Bt=wn?wn.children:null;return wn&&wn.node.disabled?!0:_t===Ae?!(Bt&&Bt.some(function(pt){return pt.key&&Vt.has(pt.key)})):!(vt&&!vt.node.disabled&&Vt.has(vt.key))})}function gt(We,It,_t){for(var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Gt=It,Rn=[],wn=function(){var pt,Sn,Wn,An=We[vt],ka=(pt=Gt)===null||pt===void 0?void 0:pt.findIndex(function(_n){var Ea=_n[_t.value];return Vt?String(Ea)===String(An):Ea===An}),pa=ka!==-1?(Sn=Gt)===null||Sn===void 0?void 0:Sn[ka]:null;Rn.push({value:(Wn=pa==null?void 0:pa[_t.value])!==null&&Wn!==void 0?Wn:An,index:ka,option:pa}),Gt=pa==null?void 0:pa[_t.children]},vt=0;vt1){var Ue=pa.slice(0,-1);Dn(Ue)}else pt(!1)},Ur=function(){var Ue,bn=((Ue=Ea[_n])===null||Ue===void 0?void 0:Ue[_t.children])||[],Xt=bn.find(function(Kn){return!Kn.disabled});if(Xt){var Nn=[].concat((0,b.Z)(pa),[Xt[_t.value]]);Dn(Nn)}};de.useImperativeHandle(We,function(){return{onKeyDown:function(Ue){var bn=Ue.which;switch(bn){case ct.Z.UP:case ct.Z.DOWN:{var Xt=0;bn===ct.Z.UP?Xt=-1:bn===ct.Z.DOWN&&(Xt=1),Xt!==0&&lr(Xt);break}case ct.Z.LEFT:{if(Bt)break;Wn?Ur():Nr();break}case ct.Z.RIGHT:{if(Bt)break;Wn?Nr():Ur();break}case ct.Z.BACKSPACE:{Bt||Nr();break}case ct.Z.ENTER:{if(pa.length){var Nn=Ea[_n],Kn=(Nn==null?void 0:Nn[re])||[];Kn.length?Rn(Kn.map(function(la){return la[_t.value]}),Kn[Kn.length-1]):Rn(pa,Ea[_n])}break}case ct.Z.ESC:pt(!1),Sn&&Ue.stopPropagation()}},onKeyUp:function(){}}})},mt=de.forwardRef(function(We,It){var _t,Vt,Gt,Rn,wn=(0,Ge.lk)(),vt=wn.prefixCls,Bt=wn.multiple,pt=wn.searchValue,Sn=wn.toggleOpen,Wn=wn.notFoundContent,An=wn.direction,ka=wn.open,pa=de.useRef(),_n=An==="rtl",Ea=de.useContext(x),Pa=Ea.options,Dn=Ea.values,lr=Ea.halfValues,Nr=Ea.fieldNames,Ur=Ea.changeOnSelect,Sr=Ea.onSelect,Ue=Ea.searchOptions,bn=Ea.dropdownPrefixCls,Xt=Ea.loadData,Nn=Ea.expandTrigger,Kn=bn||vt,la=de.useState([]),Qn=(0,et.Z)(la,2),Un=Qn[0],ur=Qn[1],da=function(yo){if(!(!Xt||pt)){var jo=gt(yo,Pa,Nr),Mo=jo.map(function(eo){var Qo=eo.option;return Qo}),Ao=Mo[Mo.length-1];if(Ao&&!ht(Ao,Nr)){var gr=He(yo);ur(function(eo){return[].concat((0,b.Z)(eo),[gr])}),Xt(Mo)}}};de.useEffect(function(){Un.length&&Un.forEach(function(ho){var yo=qe(ho),jo=gt(yo,Pa,Nr,!0).map(function(Ao){var gr=Ao.option;return gr}),Mo=jo[jo.length-1];(!Mo||Mo[Nr.children]||ht(Mo,Nr))&&ur(function(Ao){return Ao.filter(function(gr){return gr!==ho})})})},[Pa,Un,Nr]);var En=de.useMemo(function(){return new Set(he(Dn))},[Dn]),dr=de.useMemo(function(){return new Set(he(lr))},[lr]),xr=ze(),Wr=(0,et.Z)(xr,2),Ir=Wr[0],ha=Wr[1],za=function(yo){ha(yo),da(yo)},Ua=function(yo){var jo=yo.disabled,Mo=ht(yo,Nr);return!jo&&(Mo||Ur||Bt)},La=function(yo,jo){var Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Sr(yo),!Bt&&(jo||Ur&&(Nn==="hover"||Mo))&&Sn(!1)},Or=de.useMemo(function(){return pt?Ue:Pa},[pt,Ue,Pa]),no=de.useMemo(function(){for(var ho=[{options:Or}],yo=Or,jo=ot(yo,Nr),Mo=function(){var Qo=Ir[Ao],Yo=yo.find(function(br,ri){return(jo[ri]?He(jo[ri]):br[Nr.value])===Qo}),Oo=Yo==null?void 0:Yo[Nr.children];if(!(Oo!=null&&Oo.length))return"break";yo=Oo,ho.push({options:Oo})},Ao=0;Ao":Un,da=We.loadingIcon,En=We.children,dr=We.dropdownMatchSelectWidth,xr=dr===void 0?!1:dr,Wr=We.showCheckedStrategy,Ir=Wr===void 0?je:Wr,ha=(0,Ve.Z)(We,fe),za=(0,Je.ZP)(_t),Ua=!!Wn,La=(0,E.Z)(wn,{value:vt,postState:Rt}),Or=(0,et.Z)(La,2),no=Or[0],Fr=Or[1],Er=de.useMemo(function(){return Ke(Rn)},[JSON.stringify(Rn)]),Pr=de.useMemo(function(){return Dn||[]},[Dn]),si=xt(Pr,Er),ai=de.useCallback(function(Qa){var Ga=si();return Qa.map(function(Ya){var so=Ga[Ya].nodes;return so.map(function(we){return we[Er.value]})})},[si,Er]),xi=(0,E.Z)("",{value:pa,postState:function(Ga){return Ga||""}}),ho=(0,et.Z)(xi,2),yo=ho[0],jo=ho[1],Mo=function(Ga,Ya){jo(Ga),Ya.source!=="blur"&&_n&&_n(Ga)},Ao=$e(Ea),gr=(0,et.Z)(Ao,2),eo=gr[0],Qo=gr[1],Yo=ve(yo,Pr,Er,lr||Gt,Qo,Bt),Oo=an(Pr,Er),br=de.useMemo(function(){var Qa=Oo(no),Ga=(0,et.Z)(Qa,2),Ya=Ga[0],so=Ga[1];if(!Ua||!no.length)return[Ya,[],so];var we=he(Ya),fn=si(),Mn=(0,Ye.S)(we,!0,fn),Sa=Mn.checkedKeys,on=Mn.halfCheckedKeys;return[ai(Sa),ai(on),so]},[Ua,no,si,ai,Oo]),ri=(0,et.Z)(br,3),Hr=ri[0],ko=ri[1],mo=ri[2],di=de.useMemo(function(){var Qa=he(Hr),Ga=lt(Qa,si,Ir);return[].concat((0,b.Z)(mo),(0,b.Z)(ai(Ga)))},[Hr,si,ai,mo,Ir]),vi=ft(di,Pr,Er,Ua,Sn),Ui=(0,se.Z)(function(Qa){if(Fr(Qa),pt){var Ga=Rt(Qa),Ya=Ga.map(function(fn){return gt(fn,Pr,Er).map(function(Mn){return Mn.option})}),so=Ua?Ga:Ga[0],we=Ua?Ya:Ya[0];pt(so,we)}}),tl=(0,se.Z)(function(Qa){if((!Ua||ka)&&jo(""),!Ua)Ui(Qa);else{var Ga=He(Qa),Ya=he(Hr),so=he(ko),we=Ya.includes(Ga),fn=mo.some(function(Ha){return He(Ha)===Ga}),Mn=Hr,Sa=mo;if(fn&&!we)Sa=mo.filter(function(Ha){return He(Ha)!==Ga});else{var on=we?Ya.filter(function(Ha){return Ha!==Ga}):[].concat((0,b.Z)(Ya),[Ga]),Ma=si(),Fa;if(we){var jn=(0,Ye.S)(on,{checked:!1,halfCheckedKeys:so},Ma);Fa=jn.checkedKeys}else{var Xn=(0,Ye.S)(on,!0,Ma);Fa=Xn.checkedKeys}var sr=lt(Fa,si,Ir);Mn=ai(sr)}Ui([].concat((0,b.Z)(Sa),(0,b.Z)(Mn)))}}),nl=function(Ga,Ya){if(Ya.type==="clear"){Ui([]);return}var so=Ya.values[0],we=so.valueCells;tl(we)},Vo=Sr!==void 0?Sr:Ur,Fi=bn||Ue,Wi=Kn||Nn,dl=function(Ga){la==null||la(Ga),Qn==null||Qn(Ga)},gl=de.useMemo(function(){return{options:Pr,fieldNames:Er,values:Hr,halfValues:ko,changeOnSelect:Bt,onSelect:tl,checkable:Wn,searchOptions:Yo,dropdownPrefixCls:lr,loadData:Nr,expandTrigger:Pa,expandIcon:ur,loadingIcon:da,dropdownMenuColumnStyle:Xt}},[Pr,Er,Hr,ko,Bt,tl,Wn,Yo,lr,Nr,Pa,ur,da,Xt]),Pl=!(yo?Yo:Pr).length,kr=yo&&Qo.matchInputWidth||Pl?{}:{minWidth:"auto"};return de.createElement(x.Provider,{value:gl},de.createElement(Ge.Ac,(0,st.Z)({},ha,{ref:It,id:za,prefixCls:Gt,autoClearSearchValue:ka,dropdownMatchSelectWidth:xr,dropdownStyle:kr,displayValues:vi,onDisplayValuesChange:nl,mode:Ua?"multiple":void 0,searchValue:yo,onSearch:Mo,showSearch:eo,OptionList:Nt,emptyOptions:Pl,open:Vo,dropdownClassName:Fi,placement:Wi,onDropdownVisibleChange:dl,getRawInputElement:function(){return En}})))});Oe.SHOW_PARENT=je,Oe.SHOW_CHILD=Ae;var Ie=Oe,St=Ie,nt=ee(2738),Me=ee(62892),yt=ee(53487),Bn=ee(19080),nn=ee(36355),dn=ee(93891),un=ee(1684),yn=ee(19716),Te=ee(32441),Ft=ee(14154),zt=ee(58582),wt=ee(84443),kt=ee(66339),sn=ee(33234),cn=ee(98447),Ln=ee(17313),Jn=ee(74207),va=ee(83116);const Da=We=>{const{prefixCls:It,componentCls:_t,antCls:Vt}=We,Gt=`${_t}-menu-item`,Rn=` - &${Gt}-expand ${Gt}-expand-icon, - ${Gt}-loading-icon - `;return[{[_t]:{width:We.controlWidth}},{[`${_t}-dropdown`]:[(0,cn.C2)(`${It}-checkbox`,We),{[`&${Vt}-select-dropdown`]:{padding:0}},{[_t]:{"&-checkbox":{top:0,marginInlineEnd:We.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_t}-menu-empty`]:{[`${_t}-menu`]:{width:"100%",height:"auto",[Gt]:{color:We.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:We.controlItemWidth,height:We.dropdownHeight,margin:0,padding:We.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${We.lineWidth}px ${We.lineType} ${We.colorSplit}`},"&-item":Object.assign(Object.assign({},Ln.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:We.optionPadding,lineHeight:We.lineHeight,cursor:"pointer",transition:`all ${We.motionDurationMid}`,borderRadius:We.borderRadiusSM,"&:hover":{background:We.controlItemBgHover},"&-disabled":{color:We.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Rn]:{color:We.colorTextDisabled}},[`&-active:not(${Gt}-disabled)`]:{"&, &:hover":{fontWeight:We.optionSelectedFontWeight,backgroundColor:We.optionSelectedBg}},"&-content":{flex:"auto"},[Rn]:{marginInlineStart:We.paddingXXS,color:We.colorTextDescription,fontSize:We.fontSizeIcon},"&-keyword":{color:We.colorHighlight}})}}}]},{[`${_t}-dropdown-rtl`]:{direction:"rtl"}},(0,Jn.c)(We)]};var Na=(0,va.Z)("Cascader",We=>[Da(We)],We=>{const It=Math.round((We.controlHeight-We.fontSize*We.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:We.controlItemBgActive,optionSelectedFontWeight:We.fontWeightStrong,optionPadding:`${It}px ${We.paddingSM}px`,menuPadding:We.paddingXXS}}),ar=function(We,It){var _t={};for(var Vt in We)Object.prototype.hasOwnProperty.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,Vt=Object.getOwnPropertySymbols(We);GtBt===0?[vt]:[].concat((0,b.Z)(wn),[It,vt]),[]),Gt=[];let Rn=0;return Vt.forEach((wn,vt)=>{const Bt=Rn+wn.length;let pt=We.slice(Rn,Bt);Rn=Bt,vt%2===1&&(pt=de.createElement("span",{className:`${_t}-menu-item-keyword`,key:`separator-${vt}`},pt)),Gt.push(pt)}),Gt}const en=(We,It,_t,Vt)=>{const Gt=[],Rn=We.toLowerCase();return It.forEach((wn,vt)=>{vt!==0&&Gt.push(" / ");let Bt=wn[Vt.label];const pt=typeof Bt;(pt==="string"||pt==="number")&&(Bt=yr(String(Bt),Rn,_t)),Gt.push(Bt)}),Gt},On=de.forwardRef((We,It)=>{const{prefixCls:_t,size:Vt,disabled:Gt,className:Rn,rootClassName:wn,multiple:vt,bordered:Bt=!0,transitionName:pt,choiceTransitionName:Sn="",popupClassName:Wn,dropdownClassName:An,expandIcon:ka,placement:pa,showSearch:_n,allowClear:Ea=!0,notFoundContent:Pa,direction:Dn,getPopupContainer:lr,status:Nr,showArrow:Ur,builtinPlacements:Sr,style:Ue}=We,bn=ar(We,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xt=(0,nt.Z)(bn,["suffixIcon"]),{getPopupContainer:Nn,getPrefixCls:Kn,renderEmpty:la,direction:Qn,popupOverflow:Un,cascader:ur}=de.useContext(nn.E_),da=Dn||Qn,En=da==="rtl",{status:dr,hasFeedback:xr,isFormItemInput:Wr,feedbackIcon:Ir}=de.useContext(Te.aM),ha=(0,Bn.F)(dr,Nr),za=Pa||(la==null?void 0:la("Cascader"))||de.createElement(dn.Z,{componentName:"Cascader"}),Ua=Kn(),La=Kn("select",_t),Or=Kn("cascader",_t),[no,Fr]=(0,Ft.Z)(La),[Er]=Na(Or),{compactSize:Pr,compactItemClassnames:si}=(0,sn.ri)(La,Dn),ai=le()(Wn||An,`${Or}-dropdown`,{[`${Or}-dropdown-rtl`]:da==="rtl"},wn,Fr),xi=de.useMemo(()=>{if(!_n)return _n;let mo={render:en};return typeof _n=="object"&&(mo=Object.assign(Object.assign({},mo),_n)),mo},[_n]),ho=(0,yn.Z)(mo=>{var di;return(di=Vt!=null?Vt:Pr)!==null&&di!==void 0?di:mo}),yo=de.useContext(un.Z),jo=Gt!=null?Gt:yo;let Mo=ka;ka||(Mo=En?de.createElement(Be.Z,null):de.createElement(Ze.Z,null));const Ao=de.createElement("span",{className:`${La}-menu-item-loading-icon`},de.createElement(Ne.Z,{spin:!0})),gr=de.useMemo(()=>vt?de.createElement("span",{className:`${Or}-checkbox-inner`}):!1,[vt]),eo=(0,wt.Z)(We.suffixIcon,Ur),{suffixIcon:Qo,removeIcon:Yo,clearIcon:Oo}=(0,kt.Z)(Object.assign(Object.assign({},We),{hasFeedback:xr,feedbackIcon:Ir,showSuffixIcon:eo,multiple:vt,prefixCls:La,componentName:"Cascader"})),br=de.useMemo(()=>pa!==void 0?pa:En?"bottomRight":"bottomLeft",[pa,En]),ri=(0,zt.Z)(Sr,Un),Hr=Ea===!0?{clearIcon:Oo}:Ea,ko=de.createElement(St,Object.assign({prefixCls:La,className:le()(!_t&&Or,{[`${La}-lg`]:ho==="large",[`${La}-sm`]:ho==="small",[`${La}-rtl`]:En,[`${La}-borderless`]:!Bt,[`${La}-in-form-item`]:Wr},(0,Bn.Z)(La,ha,xr),si,ur==null?void 0:ur.className,Rn,wn,Fr),disabled:jo,style:Object.assign(Object.assign({},ur==null?void 0:ur.style),Ue)},Xt,{builtinPlacements:ri,direction:da,placement:br,notFoundContent:za,allowClear:Hr,showSearch:xi,expandIcon:Mo,suffixIcon:Qo,removeIcon:Yo,loadingIcon:Ao,checkable:gr,dropdownClassName:ai,dropdownPrefixCls:_t||Or,choiceTransitionName:(0,Me.m)(Ua,"",Sn),transitionName:(0,Me.m)(Ua,"slide-up",pt),getPopupContainer:lr||Nn,ref:It}));return Er(no(ko))}),ia=(0,yt.Z)(On);On.SHOW_PARENT=fa,On.SHOW_CHILD=$a,On._InternalPanelDoNotUseOrYouWillBeFired=ia;var xa=On},24905:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return ve}});var b=ee(92310),de=ee.n(b),Be=ee(5630),Ne=ee(59301),Ze=ee(36355),ke=ee(1684),le=ee(32441),et=Ne.createContext(null),Ve=ee(98447),Ge=ee(14088),Je=ee(4572),Ye=function(be,je){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&je.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he{var Ae;const{prefixCls:He,className:he,rootClassName:qe,children:Ke,indeterminate:ht=!1,style:Le,onMouseEnter:ot,onMouseLeave:lt,skipGroup:gt=!1,disabled:ft}=be,ln=Ye(be,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:xt,direction:an,checkbox:hn}=Ne.useContext(Ze.E_),$e=Ne.useContext(et),{isFormItemInput:dt}=Ne.useContext(le.aM),rn=Ne.useContext(ke.Z),Vn=(Ae=($e==null?void 0:$e.disabled)||ft)!==null&&Ae!==void 0?Ae:rn,Zt=Ne.useRef(ln.value);Ne.useEffect(()=>{$e==null||$e.registerValue(ln.value)},[]),Ne.useEffect(()=>{if(!gt)return ln.value!==Zt.current&&($e==null||$e.cancelValue(Zt.current),$e==null||$e.registerValue(ln.value),Zt.current=ln.value),()=>$e==null?void 0:$e.cancelValue(ln.value)},[ln.value]);const Fn=xt("checkbox",He),[ze,ct]=(0,Ve.ZP)(Fn),Lt=Object.assign({},ln);$e&&!gt&&(Lt.onChange=function(){ln.onChange&&ln.onChange.apply(ln,arguments),$e.toggleOption&&$e.toggleOption({label:Ke,value:ln.value})},Lt.name=$e.name,Lt.checked=$e.value.includes(ln.value));const mt=de()(`${Fn}-wrapper`,{[`${Fn}-rtl`]:an==="rtl",[`${Fn}-wrapper-checked`]:Lt.checked,[`${Fn}-wrapper-disabled`]:Vn,[`${Fn}-wrapper-in-form-item`]:dt},hn==null?void 0:hn.className,he,qe,ct),Nt=de()({[`${Fn}-indeterminate`]:ht},Je.A,ct),ut=ht?"mixed":void 0;return ze(Ne.createElement(Ge.Z,{component:"Checkbox",disabled:Vn},Ne.createElement("label",{className:mt,style:Object.assign(Object.assign({},hn==null?void 0:hn.style),Le),onMouseEnter:ot,onMouseLeave:lt},Ne.createElement(Be.Z,Object.assign({"aria-checked":ut},Lt,{prefixCls:Fn,className:Nt,disabled:Vn,ref:je})),Ke!==void 0&&Ne.createElement("span",null,Ke))))};var a=Ne.forwardRef(se),x=ee(26407),y=ee(2738),z=function(be,je){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&je.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he{const{defaultValue:Ae,children:He,options:he=[],prefixCls:qe,className:Ke,rootClassName:ht,style:Le,onChange:ot}=be,lt=z(be,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:ft}=Ne.useContext(Ze.E_),[ln,xt]=Ne.useState(lt.value||Ae||[]),[an,hn]=Ne.useState([]);Ne.useEffect(()=>{"value"in lt&&xt(lt.value||[])},[lt.value]);const $e=Ne.useMemo(()=>he.map(at=>typeof at=="string"||typeof at=="number"?{label:at,value:at}:at),[he]),dt=at=>{hn(De=>De.filter(fe=>fe!==at))},rn=at=>{hn(De=>[].concat((0,x.Z)(De),[at]))},Vn=at=>{const De=ln.indexOf(at.value),fe=(0,x.Z)(ln);De===-1?fe.push(at.value):fe.splice(De,1),"value"in lt||xt(fe),ot==null||ot(fe.filter(Xe=>an.includes(Xe)).sort((Xe,Rt)=>{const Oe=$e.findIndex(St=>St.value===Xe),Ie=$e.findIndex(St=>St.value===Rt);return Oe-Ie}))},Zt=gt("checkbox",qe),Fn=`${Zt}-group`,[ze,ct]=(0,Ve.ZP)(Zt),Lt=(0,y.Z)(lt,["value","disabled"]),mt=he.length?$e.map(at=>Ne.createElement(a,{prefixCls:Zt,key:at.value.toString(),disabled:"disabled"in at?at.disabled:lt.disabled,value:at.value,checked:ln.includes(at.value),onChange:at.onChange,className:`${Fn}-item`,style:at.style,title:at.title},at.label)):He,Nt={toggleOption:Vn,value:ln,disabled:lt.disabled,name:lt.name,registerValue:rn,cancelValue:dt},ut=de()(Fn,{[`${Fn}-rtl`]:ft==="rtl"},Ke,ht,ct);return ze(Ne.createElement("div",Object.assign({className:ut,style:Le},Lt,{ref:je}),Ne.createElement(et.Provider,{value:Nt},mt)))},re=Ne.forwardRef(ne);var ue=Ne.memo(re);const ie=a;ie.Group=ue,ie.__ANT_CHECKBOX=!0;var ve=ie},98447:function(Qt,jt,ee){"use strict";ee.d(jt,{C2:function(){return Ze}});var b=ee(17313),de=ee(37613),Be=ee(83116);const Ne=ke=>{const{checkboxCls:le}=ke,st=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[st]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${st}`]:{marginInlineStart:0},[`&${st}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[le]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.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)(ke))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[` + `]:{marginInlineStart:Le.marginXXS}},[`${ot}-overlay-link`]:{borderRadius:Le.borderRadiusSM,height:Le.lineHeight*Le.fontSize,display:"inline-block",padding:`0 ${Le.paddingXXS}px`,marginInline:-Le.marginXXS,[`> ${lt}`]:{marginInlineStart:Le.marginXXS,fontSize:Le.fontSizeIcon},"&:hover":{color:Le.linkHoverColor,backgroundColor:Le.colorBgTextHover,a:{color:Le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Le.componentCls}-rtl`]:{direction:"rtl"}})}};var ve=(0,re.Z)("Breadcrumb",Le=>{const ot=(0,ue.TS)(Le,{});return[ie(ot)]},Le=>({itemColor:Le.colorTextDescription,lastItemColor:Le.colorText,iconFontSize:Le.fontSize,linkColor:Le.colorTextDescription,linkHoverColor:Le.colorText,separatorColor:Le.colorTextDescription,separatorMargin:Le.marginXS})),be=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft{var{breadcrumbName:xt}=ln,an=be(ln,["breadcrumbName"]);return Object.assign(Object.assign({},an),{title:xt})})}),ft}function Ae(Le,ot){return(0,Ze.useMemo)(()=>Le||(ot?ot.map(je):null),[Le,ot])}var He=function(Le,ot){var lt={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&ot.indexOf(gt)<0&&(lt[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,gt=Object.getOwnPropertySymbols(Le);ft{if(ot===void 0)return ot;let lt=(ot||"").replace(/^\//,"");return Object.keys(Le).forEach(gt=>{lt=lt.replace(`:${gt}`,Le[gt])}),lt},qe=Le=>{const{prefixCls:ot,separator:lt="/",style:gt,className:ft,rootClassName:ln,routes:xt,items:an,children:hn,itemRender:$e,params:dt={}}=Le,rn=He(Le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Vn,direction:Zt,breadcrumb:Fn}=Ze.useContext(le.E_);let ze;const ct=Vn("breadcrumb",ot),[Lt,mt]=ve(ct),Nt=Ae(an,xt),ut=E(ct,$e);if(Nt&&Nt.length>0){const fe=[],Xe=an||xt;ze=Nt.map((Rt,Oe)=>{const{path:Ie,key:St,type:nt,menu:Me,overlay:yt,onClick:Bn,className:nn,separator:dn,dropdownProps:un}=Rt,yn=he(dt,Ie);yn!==void 0&&fe.push(yn);const Te=St!=null?St:Oe;if(nt==="separator")return Ze.createElement(Ge,{key:Te},dn);const Ft={},zt=Oe===Nt.length-1;Me?Ft.menu=Me:yt&&(Ft.overlay=yt);let{href:wt}=Rt;return fe.length&&yn!==void 0&&(wt=`#/${fe.join("/")}`),Ze.createElement(x,Object.assign({key:Te},Ft,(0,Ne.Z)(Rt,{data:!0,aria:!0}),{className:nn,dropdownProps:un,href:wt,separator:zt?"":lt,onClick:Bn,prefixCls:ct}),ut(Rt,dt,Xe,fe,wt))})}else if(hn){const fe=(0,Be.Z)(hn).length;ze=(0,Be.Z)(hn).map((Xe,Rt)=>{if(!Xe)return Xe;const Oe=Rt===fe-1;return(0,ke.Tm)(Xe,{separator:Oe?"":lt,key:Rt})})}const at=de()(ct,Fn==null?void 0:Fn.className,{[`${ct}-rtl`]:Zt==="rtl"},ft,ln,mt),De=Object.assign(Object.assign({},Fn==null?void 0:Fn.style),gt);return Lt(Ze.createElement("nav",Object.assign({className:at,style:De},rn),Ze.createElement("ol",null,ze)))};qe.Item=z,qe.Separator=Ge;var Ke=qe,ht=Ke},19842:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return xa}});var b=ee(26407),de=ee(59301),Be=ee(33853),Ne=ee(58617),Ze=ee(38819),ke=ee(92310),le=ee.n(ke),st=ee(92413),et=ee(33606),Ve=ee(37061),Ge=ee(77861),Je=ee(17115),Ye=ee(90782),se=ee(6089),E=ee(18929),a=de.createContext(null),x=a,y=ee(39559),z=ee(400),ne=ee(33708),re="__rc_cascader_search_mark__",ue=function(It,_t,Vt){var Wt=Vt.label;return _t.some(function(Rn){return String(Rn[Wt]).toLowerCase().includes(It.toLowerCase())})},ie=function(It,_t,Vt,Wt){return _t.map(function(Rn){return Rn[Wt.label]}).join(" / ")},ve=function(We,It,_t,Vt,Wt,Rn){var wn=Wt.filter,vt=wn===void 0?ue:wn,Bt=Wt.render,pt=Bt===void 0?ie:Bt,Sn=Wt.limit,Wn=Sn===void 0?50:Sn,An=Wt.sort;return de.useMemo(function(){var ka=[];if(!We)return[];function pa(_n,Ea){var Pa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;_n.forEach(function(Dn){if(!(!An&&Wn!==!1&&Wn>0&&ka.length>=Wn)){var lr=[].concat((0,b.Z)(Ea),[Dn]),Nr=Dn[_t.children],Ur=Pa||Dn.disabled;if((!Nr||Nr.length===0||Rn)&&vt(We,lr,{label:_t.label})){var Sr;ka.push((0,ne.Z)((0,ne.Z)({},Dn),{},(Sr={disabled:Ur},(0,z.Z)(Sr,_t.label,pt(We,lr,Vt,_t)),(0,z.Z)(Sr,re,lr),(0,z.Z)(Sr,_t.children,void 0),Sr)))}Nr&&pa(Dn[_t.children],lr,Ur)}})}return pa(It,[]),An&&ka.sort(function(_n,Ea){return An(_n[re],Ea[re],We,_t)}),Wn!==!1&&Wn>0?ka.slice(0,Wn):ka},[We,It,_t,Vt,pt,Rn,vt,An,Wn])},be="__RC_CASCADER_SPLIT__",je="SHOW_PARENT",Ae="SHOW_CHILD";function He(We){return We.join(be)}function he(We){return We.map(He)}function qe(We){return We.split(be)}function Ke(We){var It=We||{},_t=It.label,Vt=It.value,Wt=It.children,Rn=Vt||"value";return{label:_t||"label",value:Rn,key:Rn,children:Wt||"children"}}function ht(We,It){var _t,Vt;return(_t=We.isLeaf)!==null&&_t!==void 0?_t:!((Vt=We[It.children])!==null&&Vt!==void 0&&Vt.length)}function Le(We){var It=We.parentElement;if(It){var _t=We.offsetTop-It.offsetTop;_t-It.scrollTop<0?It.scrollTo({top:_t}):_t+We.offsetHeight-It.scrollTop>It.offsetHeight&&It.scrollTo({top:_t+We.offsetHeight-It.offsetHeight})}}function ot(We,It){return We.map(function(_t){var Vt;return(Vt=_t[re])===null||Vt===void 0?void 0:Vt.map(function(Wt){return Wt[It.value]})})}function lt(We,It,_t){var Vt=new Set(We),Wt=It();return We.filter(function(Rn){var wn=Wt[Rn],vt=wn?wn.parent:null,Bt=wn?wn.children:null;return wn&&wn.node.disabled?!0:_t===Ae?!(Bt&&Bt.some(function(pt){return pt.key&&Vt.has(pt.key)})):!(vt&&!vt.node.disabled&&Vt.has(vt.key))})}function gt(We,It,_t){for(var Vt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Wt=It,Rn=[],wn=function(){var pt,Sn,Wn,An=We[vt],ka=(pt=Wt)===null||pt===void 0?void 0:pt.findIndex(function(_n){var Ea=_n[_t.value];return Vt?String(Ea)===String(An):Ea===An}),pa=ka!==-1?(Sn=Wt)===null||Sn===void 0?void 0:Sn[ka]:null;Rn.push({value:(Wn=pa==null?void 0:pa[_t.value])!==null&&Wn!==void 0?Wn:An,index:ka,option:pa}),Wt=pa==null?void 0:pa[_t.children]},vt=0;vt1){var Ue=pa.slice(0,-1);Dn(Ue)}else pt(!1)},Ur=function(){var Ue,bn=((Ue=Ea[_n])===null||Ue===void 0?void 0:Ue[_t.children])||[],Xt=bn.find(function(Kn){return!Kn.disabled});if(Xt){var Nn=[].concat((0,b.Z)(pa),[Xt[_t.value]]);Dn(Nn)}};de.useImperativeHandle(We,function(){return{onKeyDown:function(Ue){var bn=Ue.which;switch(bn){case ct.Z.UP:case ct.Z.DOWN:{var Xt=0;bn===ct.Z.UP?Xt=-1:bn===ct.Z.DOWN&&(Xt=1),Xt!==0&&lr(Xt);break}case ct.Z.LEFT:{if(Bt)break;Wn?Ur():Nr();break}case ct.Z.RIGHT:{if(Bt)break;Wn?Nr():Ur();break}case ct.Z.BACKSPACE:{Bt||Nr();break}case ct.Z.ENTER:{if(pa.length){var Nn=Ea[_n],Kn=(Nn==null?void 0:Nn[re])||[];Kn.length?Rn(Kn.map(function(la){return la[_t.value]}),Kn[Kn.length-1]):Rn(pa,Ea[_n])}break}case ct.Z.ESC:pt(!1),Sn&&Ue.stopPropagation()}},onKeyUp:function(){}}})},mt=de.forwardRef(function(We,It){var _t,Vt,Wt,Rn,wn=(0,Ge.lk)(),vt=wn.prefixCls,Bt=wn.multiple,pt=wn.searchValue,Sn=wn.toggleOpen,Wn=wn.notFoundContent,An=wn.direction,ka=wn.open,pa=de.useRef(),_n=An==="rtl",Ea=de.useContext(x),Pa=Ea.options,Dn=Ea.values,lr=Ea.halfValues,Nr=Ea.fieldNames,Ur=Ea.changeOnSelect,Sr=Ea.onSelect,Ue=Ea.searchOptions,bn=Ea.dropdownPrefixCls,Xt=Ea.loadData,Nn=Ea.expandTrigger,Kn=bn||vt,la=de.useState([]),Qn=(0,et.Z)(la,2),Un=Qn[0],ur=Qn[1],da=function(yo){if(!(!Xt||pt)){var Go=gt(yo,Pa,Nr),Mo=Go.map(function(eo){var Qo=eo.option;return Qo}),Ao=Mo[Mo.length-1];if(Ao&&!ht(Ao,Nr)){var gr=He(yo);ur(function(eo){return[].concat((0,b.Z)(eo),[gr])}),Xt(Mo)}}};de.useEffect(function(){Un.length&&Un.forEach(function(ho){var yo=qe(ho),Go=gt(yo,Pa,Nr,!0).map(function(Ao){var gr=Ao.option;return gr}),Mo=Go[Go.length-1];(!Mo||Mo[Nr.children]||ht(Mo,Nr))&&ur(function(Ao){return Ao.filter(function(gr){return gr!==ho})})})},[Pa,Un,Nr]);var En=de.useMemo(function(){return new Set(he(Dn))},[Dn]),dr=de.useMemo(function(){return new Set(he(lr))},[lr]),xr=ze(),Wr=(0,et.Z)(xr,2),Ir=Wr[0],ha=Wr[1],za=function(yo){ha(yo),da(yo)},Ua=function(yo){var Go=yo.disabled,Mo=ht(yo,Nr);return!Go&&(Mo||Ur||Bt)},La=function(yo,Go){var Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Sr(yo),!Bt&&(Go||Ur&&(Nn==="hover"||Mo))&&Sn(!1)},Or=de.useMemo(function(){return pt?Ue:Pa},[pt,Ue,Pa]),no=de.useMemo(function(){for(var ho=[{options:Or}],yo=Or,Go=ot(yo,Nr),Mo=function(){var Qo=Ir[Ao],Yo=yo.find(function(br,ri){return(Go[ri]?He(Go[ri]):br[Nr.value])===Qo}),Oo=Yo==null?void 0:Yo[Nr.children];if(!(Oo!=null&&Oo.length))return"break";yo=Oo,ho.push({options:Oo})},Ao=0;Ao":Un,da=We.loadingIcon,En=We.children,dr=We.dropdownMatchSelectWidth,xr=dr===void 0?!1:dr,Wr=We.showCheckedStrategy,Ir=Wr===void 0?je:Wr,ha=(0,Ve.Z)(We,fe),za=(0,Je.ZP)(_t),Ua=!!Wn,La=(0,E.Z)(wn,{value:vt,postState:Rt}),Or=(0,et.Z)(La,2),no=Or[0],Fr=Or[1],Er=de.useMemo(function(){return Ke(Rn)},[JSON.stringify(Rn)]),Pr=de.useMemo(function(){return Dn||[]},[Dn]),si=xt(Pr,Er),ai=de.useCallback(function(Qa){var Ga=si();return Qa.map(function(Ya){var so=Ga[Ya].nodes;return so.map(function(we){return we[Er.value]})})},[si,Er]),xi=(0,E.Z)("",{value:pa,postState:function(Ga){return Ga||""}}),ho=(0,et.Z)(xi,2),yo=ho[0],Go=ho[1],Mo=function(Ga,Ya){Go(Ga),Ya.source!=="blur"&&_n&&_n(Ga)},Ao=$e(Ea),gr=(0,et.Z)(Ao,2),eo=gr[0],Qo=gr[1],Yo=ve(yo,Pr,Er,lr||Wt,Qo,Bt),Oo=an(Pr,Er),br=de.useMemo(function(){var Qa=Oo(no),Ga=(0,et.Z)(Qa,2),Ya=Ga[0],so=Ga[1];if(!Ua||!no.length)return[Ya,[],so];var we=he(Ya),fn=si(),Mn=(0,Ye.S)(we,!0,fn),Sa=Mn.checkedKeys,on=Mn.halfCheckedKeys;return[ai(Sa),ai(on),so]},[Ua,no,si,ai,Oo]),ri=(0,et.Z)(br,3),Hr=ri[0],ko=ri[1],mo=ri[2],di=de.useMemo(function(){var Qa=he(Hr),Ga=lt(Qa,si,Ir);return[].concat((0,b.Z)(mo),(0,b.Z)(ai(Ga)))},[Hr,si,ai,mo,Ir]),vi=ft(di,Pr,Er,Ua,Sn),Ui=(0,se.Z)(function(Qa){if(Fr(Qa),pt){var Ga=Rt(Qa),Ya=Ga.map(function(fn){return gt(fn,Pr,Er).map(function(Mn){return Mn.option})}),so=Ua?Ga:Ga[0],we=Ua?Ya:Ya[0];pt(so,we)}}),tl=(0,se.Z)(function(Qa){if((!Ua||ka)&&Go(""),!Ua)Ui(Qa);else{var Ga=He(Qa),Ya=he(Hr),so=he(ko),we=Ya.includes(Ga),fn=mo.some(function(Ha){return He(Ha)===Ga}),Mn=Hr,Sa=mo;if(fn&&!we)Sa=mo.filter(function(Ha){return He(Ha)!==Ga});else{var on=we?Ya.filter(function(Ha){return Ha!==Ga}):[].concat((0,b.Z)(Ya),[Ga]),Ma=si(),Fa;if(we){var jn=(0,Ye.S)(on,{checked:!1,halfCheckedKeys:so},Ma);Fa=jn.checkedKeys}else{var Xn=(0,Ye.S)(on,!0,Ma);Fa=Xn.checkedKeys}var sr=lt(Fa,si,Ir);Mn=ai(sr)}Ui([].concat((0,b.Z)(Sa),(0,b.Z)(Mn)))}}),nl=function(Ga,Ya){if(Ya.type==="clear"){Ui([]);return}var so=Ya.values[0],we=so.valueCells;tl(we)},Vo=Sr!==void 0?Sr:Ur,Fi=bn||Ue,Wi=Kn||Nn,dl=function(Ga){la==null||la(Ga),Qn==null||Qn(Ga)},gl=de.useMemo(function(){return{options:Pr,fieldNames:Er,values:Hr,halfValues:ko,changeOnSelect:Bt,onSelect:tl,checkable:Wn,searchOptions:Yo,dropdownPrefixCls:lr,loadData:Nr,expandTrigger:Pa,expandIcon:ur,loadingIcon:da,dropdownMenuColumnStyle:Xt}},[Pr,Er,Hr,ko,Bt,tl,Wn,Yo,lr,Nr,Pa,ur,da,Xt]),Pl=!(yo?Yo:Pr).length,kr=yo&&Qo.matchInputWidth||Pl?{}:{minWidth:"auto"};return de.createElement(x.Provider,{value:gl},de.createElement(Ge.Ac,(0,st.Z)({},ha,{ref:It,id:za,prefixCls:Wt,autoClearSearchValue:ka,dropdownMatchSelectWidth:xr,dropdownStyle:kr,displayValues:vi,onDisplayValuesChange:nl,mode:Ua?"multiple":void 0,searchValue:yo,onSearch:Mo,showSearch:eo,OptionList:Nt,emptyOptions:Pl,open:Vo,dropdownClassName:Fi,placement:Wi,onDropdownVisibleChange:dl,getRawInputElement:function(){return En}})))});Oe.SHOW_PARENT=je,Oe.SHOW_CHILD=Ae;var Ie=Oe,St=Ie,nt=ee(2738),Me=ee(62892),yt=ee(53487),Bn=ee(19080),nn=ee(36355),dn=ee(93891),un=ee(1684),yn=ee(19716),Te=ee(32441),Ft=ee(14154),zt=ee(58582),wt=ee(84443),kt=ee(66339),sn=ee(33234),cn=ee(98447),Ln=ee(17313),Jn=ee(74207),va=ee(83116);const Da=We=>{const{prefixCls:It,componentCls:_t,antCls:Vt}=We,Wt=`${_t}-menu-item`,Rn=` + &${Wt}-expand ${Wt}-expand-icon, + ${Wt}-loading-icon + `;return[{[_t]:{width:We.controlWidth}},{[`${_t}-dropdown`]:[(0,cn.C2)(`${It}-checkbox`,We),{[`&${Vt}-select-dropdown`]:{padding:0}},{[_t]:{"&-checkbox":{top:0,marginInlineEnd:We.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${_t}-menu-empty`]:{[`${_t}-menu`]:{width:"100%",height:"auto",[Wt]:{color:We.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:We.controlItemWidth,height:We.dropdownHeight,margin:0,padding:We.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${We.lineWidth}px ${We.lineType} ${We.colorSplit}`},"&-item":Object.assign(Object.assign({},Ln.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:We.optionPadding,lineHeight:We.lineHeight,cursor:"pointer",transition:`all ${We.motionDurationMid}`,borderRadius:We.borderRadiusSM,"&:hover":{background:We.controlItemBgHover},"&-disabled":{color:We.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Rn]:{color:We.colorTextDisabled}},[`&-active:not(${Wt}-disabled)`]:{"&, &:hover":{fontWeight:We.optionSelectedFontWeight,backgroundColor:We.optionSelectedBg}},"&-content":{flex:"auto"},[Rn]:{marginInlineStart:We.paddingXXS,color:We.colorTextDescription,fontSize:We.fontSizeIcon},"&-keyword":{color:We.colorHighlight}})}}}]},{[`${_t}-dropdown-rtl`]:{direction:"rtl"}},(0,Jn.c)(We)]};var Na=(0,va.Z)("Cascader",We=>[Da(We)],We=>{const It=Math.round((We.controlHeight-We.fontSize*We.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:We.controlItemBgActive,optionSelectedFontWeight:We.fontWeightStrong,optionPadding:`${It}px ${We.paddingSM}px`,menuPadding:We.paddingXXS}}),ar=function(We,It){var _t={};for(var Vt in We)Object.prototype.hasOwnProperty.call(We,Vt)&&It.indexOf(Vt)<0&&(_t[Vt]=We[Vt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Wt=0,Vt=Object.getOwnPropertySymbols(We);WtBt===0?[vt]:[].concat((0,b.Z)(wn),[It,vt]),[]),Wt=[];let Rn=0;return Vt.forEach((wn,vt)=>{const Bt=Rn+wn.length;let pt=We.slice(Rn,Bt);Rn=Bt,vt%2===1&&(pt=de.createElement("span",{className:`${_t}-menu-item-keyword`,key:`separator-${vt}`},pt)),Wt.push(pt)}),Wt}const en=(We,It,_t,Vt)=>{const Wt=[],Rn=We.toLowerCase();return It.forEach((wn,vt)=>{vt!==0&&Wt.push(" / ");let Bt=wn[Vt.label];const pt=typeof Bt;(pt==="string"||pt==="number")&&(Bt=yr(String(Bt),Rn,_t)),Wt.push(Bt)}),Wt},On=de.forwardRef((We,It)=>{const{prefixCls:_t,size:Vt,disabled:Wt,className:Rn,rootClassName:wn,multiple:vt,bordered:Bt=!0,transitionName:pt,choiceTransitionName:Sn="",popupClassName:Wn,dropdownClassName:An,expandIcon:ka,placement:pa,showSearch:_n,allowClear:Ea=!0,notFoundContent:Pa,direction:Dn,getPopupContainer:lr,status:Nr,showArrow:Ur,builtinPlacements:Sr,style:Ue}=We,bn=ar(We,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Xt=(0,nt.Z)(bn,["suffixIcon"]),{getPopupContainer:Nn,getPrefixCls:Kn,renderEmpty:la,direction:Qn,popupOverflow:Un,cascader:ur}=de.useContext(nn.E_),da=Dn||Qn,En=da==="rtl",{status:dr,hasFeedback:xr,isFormItemInput:Wr,feedbackIcon:Ir}=de.useContext(Te.aM),ha=(0,Bn.F)(dr,Nr),za=Pa||(la==null?void 0:la("Cascader"))||de.createElement(dn.Z,{componentName:"Cascader"}),Ua=Kn(),La=Kn("select",_t),Or=Kn("cascader",_t),[no,Fr]=(0,Ft.Z)(La),[Er]=Na(Or),{compactSize:Pr,compactItemClassnames:si}=(0,sn.ri)(La,Dn),ai=le()(Wn||An,`${Or}-dropdown`,{[`${Or}-dropdown-rtl`]:da==="rtl"},wn,Fr),xi=de.useMemo(()=>{if(!_n)return _n;let mo={render:en};return typeof _n=="object"&&(mo=Object.assign(Object.assign({},mo),_n)),mo},[_n]),ho=(0,yn.Z)(mo=>{var di;return(di=Vt!=null?Vt:Pr)!==null&&di!==void 0?di:mo}),yo=de.useContext(un.Z),Go=Wt!=null?Wt:yo;let Mo=ka;ka||(Mo=En?de.createElement(Be.Z,null):de.createElement(Ze.Z,null));const Ao=de.createElement("span",{className:`${La}-menu-item-loading-icon`},de.createElement(Ne.Z,{spin:!0})),gr=de.useMemo(()=>vt?de.createElement("span",{className:`${Or}-checkbox-inner`}):!1,[vt]),eo=(0,wt.Z)(We.suffixIcon,Ur),{suffixIcon:Qo,removeIcon:Yo,clearIcon:Oo}=(0,kt.Z)(Object.assign(Object.assign({},We),{hasFeedback:xr,feedbackIcon:Ir,showSuffixIcon:eo,multiple:vt,prefixCls:La,componentName:"Cascader"})),br=de.useMemo(()=>pa!==void 0?pa:En?"bottomRight":"bottomLeft",[pa,En]),ri=(0,zt.Z)(Sr,Un),Hr=Ea===!0?{clearIcon:Oo}:Ea,ko=de.createElement(St,Object.assign({prefixCls:La,className:le()(!_t&&Or,{[`${La}-lg`]:ho==="large",[`${La}-sm`]:ho==="small",[`${La}-rtl`]:En,[`${La}-borderless`]:!Bt,[`${La}-in-form-item`]:Wr},(0,Bn.Z)(La,ha,xr),si,ur==null?void 0:ur.className,Rn,wn,Fr),disabled:Go,style:Object.assign(Object.assign({},ur==null?void 0:ur.style),Ue)},Xt,{builtinPlacements:ri,direction:da,placement:br,notFoundContent:za,allowClear:Hr,showSearch:xi,expandIcon:Mo,suffixIcon:Qo,removeIcon:Yo,loadingIcon:Ao,checkable:gr,dropdownClassName:ai,dropdownPrefixCls:_t||Or,choiceTransitionName:(0,Me.m)(Ua,"",Sn),transitionName:(0,Me.m)(Ua,"slide-up",pt),getPopupContainer:lr||Nn,ref:It}));return Er(no(ko))}),ia=(0,yt.Z)(On);On.SHOW_PARENT=fa,On.SHOW_CHILD=$a,On._InternalPanelDoNotUseOrYouWillBeFired=ia;var xa=On},24905:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ve}});var b=ee(92310),de=ee.n(b),Be=ee(5630),Ne=ee(59301),Ze=ee(36355),ke=ee(1684),le=ee(32441),et=Ne.createContext(null),Ve=ee(98447),Ge=ee(14088),Je=ee(4572),Ye=function(be,je){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&je.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he{var Ae;const{prefixCls:He,className:he,rootClassName:qe,children:Ke,indeterminate:ht=!1,style:Le,onMouseEnter:ot,onMouseLeave:lt,skipGroup:gt=!1,disabled:ft}=be,ln=Ye(be,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:xt,direction:an,checkbox:hn}=Ne.useContext(Ze.E_),$e=Ne.useContext(et),{isFormItemInput:dt}=Ne.useContext(le.aM),rn=Ne.useContext(ke.Z),Vn=(Ae=($e==null?void 0:$e.disabled)||ft)!==null&&Ae!==void 0?Ae:rn,Zt=Ne.useRef(ln.value);Ne.useEffect(()=>{$e==null||$e.registerValue(ln.value)},[]),Ne.useEffect(()=>{if(!gt)return ln.value!==Zt.current&&($e==null||$e.cancelValue(Zt.current),$e==null||$e.registerValue(ln.value),Zt.current=ln.value),()=>$e==null?void 0:$e.cancelValue(ln.value)},[ln.value]);const Fn=xt("checkbox",He),[ze,ct]=(0,Ve.ZP)(Fn),Lt=Object.assign({},ln);$e&&!gt&&(Lt.onChange=function(){ln.onChange&&ln.onChange.apply(ln,arguments),$e.toggleOption&&$e.toggleOption({label:Ke,value:ln.value})},Lt.name=$e.name,Lt.checked=$e.value.includes(ln.value));const mt=de()(`${Fn}-wrapper`,{[`${Fn}-rtl`]:an==="rtl",[`${Fn}-wrapper-checked`]:Lt.checked,[`${Fn}-wrapper-disabled`]:Vn,[`${Fn}-wrapper-in-form-item`]:dt},hn==null?void 0:hn.className,he,qe,ct),Nt=de()({[`${Fn}-indeterminate`]:ht},Je.A,ct),ut=ht?"mixed":void 0;return ze(Ne.createElement(Ge.Z,{component:"Checkbox",disabled:Vn},Ne.createElement("label",{className:mt,style:Object.assign(Object.assign({},hn==null?void 0:hn.style),Le),onMouseEnter:ot,onMouseLeave:lt},Ne.createElement(Be.Z,Object.assign({"aria-checked":ut},Lt,{prefixCls:Fn,className:Nt,disabled:Vn,ref:je})),Ke!==void 0&&Ne.createElement("span",null,Ke))))};var a=Ne.forwardRef(se),x=ee(26407),y=ee(2738),z=function(be,je){var Ae={};for(var He in be)Object.prototype.hasOwnProperty.call(be,He)&&je.indexOf(He)<0&&(Ae[He]=be[He]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,He=Object.getOwnPropertySymbols(be);he{const{defaultValue:Ae,children:He,options:he=[],prefixCls:qe,className:Ke,rootClassName:ht,style:Le,onChange:ot}=be,lt=z(be,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:gt,direction:ft}=Ne.useContext(Ze.E_),[ln,xt]=Ne.useState(lt.value||Ae||[]),[an,hn]=Ne.useState([]);Ne.useEffect(()=>{"value"in lt&&xt(lt.value||[])},[lt.value]);const $e=Ne.useMemo(()=>he.map(at=>typeof at=="string"||typeof at=="number"?{label:at,value:at}:at),[he]),dt=at=>{hn(De=>De.filter(fe=>fe!==at))},rn=at=>{hn(De=>[].concat((0,x.Z)(De),[at]))},Vn=at=>{const De=ln.indexOf(at.value),fe=(0,x.Z)(ln);De===-1?fe.push(at.value):fe.splice(De,1),"value"in lt||xt(fe),ot==null||ot(fe.filter(Xe=>an.includes(Xe)).sort((Xe,Rt)=>{const Oe=$e.findIndex(St=>St.value===Xe),Ie=$e.findIndex(St=>St.value===Rt);return Oe-Ie}))},Zt=gt("checkbox",qe),Fn=`${Zt}-group`,[ze,ct]=(0,Ve.ZP)(Zt),Lt=(0,y.Z)(lt,["value","disabled"]),mt=he.length?$e.map(at=>Ne.createElement(a,{prefixCls:Zt,key:at.value.toString(),disabled:"disabled"in at?at.disabled:lt.disabled,value:at.value,checked:ln.includes(at.value),onChange:at.onChange,className:`${Fn}-item`,style:at.style,title:at.title},at.label)):He,Nt={toggleOption:Vn,value:ln,disabled:lt.disabled,name:lt.name,registerValue:rn,cancelValue:dt},ut=de()(Fn,{[`${Fn}-rtl`]:ft==="rtl"},Ke,ht,ct);return ze(Ne.createElement("div",Object.assign({className:ut,style:Le},Lt,{ref:je}),Ne.createElement(et.Provider,{value:Nt},mt)))},re=Ne.forwardRef(ne);var ue=Ne.memo(re);const ie=a;ie.Group=ue,ie.__ANT_CHECKBOX=!0;var ve=ie},98447:function(Qt,Gt,ee){"use strict";ee.d(Gt,{C2:function(){return Ze}});var b=ee(17313),de=ee(37613),Be=ee(83116);const Ne=ke=>{const{checkboxCls:le}=ke,st=`${le}-wrapper`;return[{[`${le}-group`]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[st]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${st}`]:{marginInlineStart:0},[`&${st}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[le]:Object.assign(Object.assign({},(0,b.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.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)(ke))},[`${le}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[` ${st}:not(${st}-disabled), ${le}:not(${le}-disabled) `]:{[`&:hover ${le}-inner`]:{borderColor:ke.colorPrimary}},[`${st}:not(${st}-disabled)`]:{[`&:hover ${le}-checked:not(${le}-disabled) ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${le}-checked:not(${le}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${le}-checked`]:{[`${le}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[` ${st}-checked:not(${st}-disabled), ${le}-checked:not(${le}-disabled) - `]:{[`&:hover ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${st}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:ke.colorTextDisabled}}}]};function Ze(ke,le){const st=(0,de.TS)(le,{checkboxCls:`.${ke}`,checkboxSize:le.controlInteractiveSize});return[Ne(st)]}jt.ZP=(0,Be.Z)("Checkbox",(ke,le)=>{let{prefixCls:st}=le;return[Ze(st,ke)]})},36381:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return Lt}});var b=ee(38819),de=ee(92310),Be=ee.n(de),Ne=ee(92413),Ze=ee(26407),ke=ee(33606),le=ee(39559),st=ee(18929),et=ee(48736),Ve=ee(59301),Ge=ee(37061),Je=ee(11592),Ye=ee(400),se=ee(77900),E=ee(10228),a=Ve.forwardRef(function(mt,Nt){var ut=mt.prefixCls,at=mt.forceRender,De=mt.className,fe=mt.style,Xe=mt.children,Rt=mt.isActive,Oe=mt.role,Ie=Ve.useState(Rt||at),St=(0,ke.Z)(Ie,2),nt=St[0],Me=St[1];return Ve.useEffect(function(){(at||Rt)&&Me(!0)},[at,Rt]),nt?Ve.createElement("div",{ref:Nt,className:Be()("".concat(ut,"-content"),(0,Ye.Z)((0,Ye.Z)({},"".concat(ut,"-content-active"),Rt),"".concat(ut,"-content-inactive"),!Rt),De),style:fe,role:Oe},Ve.createElement("div",{className:"".concat(ut,"-content-box")},Xe)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ve.forwardRef(function(mt,Nt){var ut=mt.showArrow,at=ut===void 0?!0:ut,De=mt.headerClass,fe=mt.isActive,Xe=mt.onItemClick,Rt=mt.forceRender,Oe=mt.className,Ie=mt.prefixCls,St=mt.collapsible,nt=mt.accordion,Me=mt.panelKey,yt=mt.extra,Bn=mt.header,nn=mt.expandIcon,dn=mt.openMotion,un=mt.destroyInactivePanel,yn=mt.children,Te=(0,Ge.Z)(mt,y),Ft=St==="disabled",zt=St==="header",wt=St==="icon",kt=yt!=null&&typeof yt!="boolean",sn=function(){Xe==null||Xe(Me)},cn=function(ar){(ar.key==="Enter"||ar.keyCode===E.Z.ENTER||ar.which===E.Z.ENTER)&&sn()},Ln=typeof nn=="function"?nn(mt):Ve.createElement("i",{className:"arrow"});Ln&&(Ln=Ve.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(St)?sn:void 0},Ln));var Jn=Be()((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-item"),!0),"".concat(Ie,"-item-active"),fe),"".concat(Ie,"-item-disabled"),Ft),Oe),va=Be()(De,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-header"),!0),"".concat(Ie,"-header-collapsible-only"),zt),"".concat(Ie,"-icon-collapsible-only"),wt)),Da={className:va,"aria-expanded":fe,"aria-disabled":Ft,onKeyDown:cn};return!zt&&!wt&&(Da.onClick=sn,Da.role=nt?"tab":"button",Da.tabIndex=Ft?-1:0),Ve.createElement("div",(0,Ne.Z)({},Te,{ref:Nt,className:Jn}),Ve.createElement("div",Da,at&&Ln,Ve.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:St==="header"?sn:void 0},Bn),kt&&Ve.createElement("div",{className:"".concat(Ie,"-extra")},yt)),Ve.createElement(se.default,(0,Ne.Z)({visible:fe,leavedClassName:"".concat(Ie,"-content-hidden")},dn,{forceRender:Rt,removeOnLeave:un}),function(Na,ar){var $a=Na.className,fa=Na.style;return Ve.createElement(x,{ref:ar,prefixCls:Ie,className:$a,style:fa,isActive:fe,forceRender:Rt,role:nt?"tabpanel":void 0},yn)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ue=function(Nt,ut){var at=ut.prefixCls,De=ut.accordion,fe=ut.collapsible,Xe=ut.destroyInactivePanel,Rt=ut.onItemClick,Oe=ut.activeKey,Ie=ut.openMotion,St=ut.expandIcon;return Nt.map(function(nt,Me){var yt=nt.children,Bn=nt.label,nn=nt.key,dn=nt.collapsible,un=nt.onItemClick,yn=nt.destroyInactivePanel,Te=(0,Ge.Z)(nt,re),Ft=String(nn!=null?nn:Me),zt=dn!=null?dn:fe,wt=yn!=null?yn:Xe,kt=function(Ln){zt!=="disabled"&&(Rt(Ln),un==null||un(Ln))},sn=!1;return De?sn=Oe[0]===Ft:sn=Oe.indexOf(Ft)>-1,Ve.createElement(ne,(0,Ne.Z)({},Te,{prefixCls:at,key:Ft,panelKey:Ft,isActive:sn,accordion:De,openMotion:Ie,expandIcon:St,header:Bn,collapsible:zt,onItemClick:kt,destroyInactivePanel:wt}),yt)})},ie=function(Nt,ut,at){if(!Nt)return null;var De=at.prefixCls,fe=at.accordion,Xe=at.collapsible,Rt=at.destroyInactivePanel,Oe=at.onItemClick,Ie=at.activeKey,St=at.openMotion,nt=at.expandIcon,Me=Nt.key||String(ut),yt=Nt.props,Bn=yt.header,nn=yt.headerClass,dn=yt.destroyInactivePanel,un=yt.collapsible,yn=yt.onItemClick,Te=!1;fe?Te=Ie[0]===Me:Te=Ie.indexOf(Me)>-1;var Ft=un!=null?un:Xe,zt=function(sn){Ft!=="disabled"&&(Oe(sn),yn==null||yn(sn))},wt={key:Me,panelKey:Me,header:Bn,headerClass:nn,isActive:Te,prefixCls:De,destroyInactivePanel:dn!=null?dn:Rt,openMotion:St,accordion:fe,children:Nt.props.children,onItemClick:zt,expandIcon:nt,collapsible:Ft};return typeof Nt.type=="string"?Nt:(Object.keys(wt).forEach(function(kt){typeof wt[kt]=="undefined"&&delete wt[kt]}),Ve.cloneElement(Nt,wt))};function ve(mt,Nt,ut){return Array.isArray(mt)?ue(mt,ut):(0,Je.Z)(Nt).map(function(at,De){return ie(at,De,ut)})}var be=ve,je=ee(26112);function Ae(mt){var Nt=mt;if(!Array.isArray(Nt)){var ut=(0,le.Z)(Nt);Nt=ut==="number"||ut==="string"?[Nt]:[]}return Nt.map(function(at){return String(at)})}var He=Ve.forwardRef(function(mt,Nt){var ut=mt.prefixCls,at=ut===void 0?"rc-collapse":ut,De=mt.destroyInactivePanel,fe=De===void 0?!1:De,Xe=mt.style,Rt=mt.accordion,Oe=mt.className,Ie=mt.children,St=mt.collapsible,nt=mt.openMotion,Me=mt.expandIcon,yt=mt.activeKey,Bn=mt.defaultActiveKey,nn=mt.onChange,dn=mt.items,un=Be()(at,Oe),yn=(0,st.Z)([],{value:yt,onChange:function(cn){return nn==null?void 0:nn(cn)},defaultValue:Bn,postState:Ae}),Te=(0,ke.Z)(yn,2),Ft=Te[0],zt=Te[1],wt=function(cn){return zt(function(){if(Rt)return Ft[0]===cn?[]:[cn];var Ln=Ft.indexOf(cn),Jn=Ln>-1;return Jn?Ft.filter(function(va){return va!==cn}):[].concat((0,Ze.Z)(Ft),[cn])})};(0,et.ZP)(!Ie,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var kt=be(dn,Ie,{prefixCls:at,accordion:Rt,openMotion:nt,expandIcon:Me,collapsible:St,destroyInactivePanel:fe,onItemClick:wt,activeKey:Ft});return Ve.createElement("div",(0,Ne.Z)({ref:Nt,className:un,style:Xe,role:Rt?"tablist":void 0},(0,je.Z)(mt,{aria:!0,data:!0})),kt)}),he=Object.assign(He,{Panel:ne}),qe=he,Ke=he.Panel,ht=ee(2738),Le=ee(62892),ot=ee(92343),lt=ee(36355),gt=ee(19716),ln=Ve.forwardRef((mt,Nt)=>{const{getPrefixCls:ut}=Ve.useContext(lt.E_),{prefixCls:at,className:De,showArrow:fe=!0}=mt,Xe=ut("collapse",at),Rt=Be()({[`${Xe}-no-arrow`]:!fe},De);return Ve.createElement(qe.Panel,Object.assign({ref:Nt},mt,{prefixCls:Xe,className:Rt}))}),xt=ee(17313),an=ee(8378),hn=ee(83116),$e=ee(37613);const dt=mt=>{const{componentCls:Nt,contentBg:ut,padding:at,headerBg:De,headerPadding:fe,collapseHeaderPaddingSM:Xe,collapseHeaderPaddingLG:Rt,collapsePanelBorderRadius:Oe,lineWidth:Ie,lineType:St,colorBorder:nt,colorText:Me,colorTextHeading:yt,colorTextDisabled:Bn,fontSize:nn,fontSizeLG:dn,lineHeight:un,marginSM:yn,paddingSM:Te,paddingLG:Ft,paddingXS:zt,motionDurationSlow:wt,fontSizeIcon:kt,contentPadding:sn}=mt,cn=`${Ie}px ${St} ${nt}`;return{[Nt]:Object.assign(Object.assign({},(0,xt.Wf)(mt)),{backgroundColor:De,border:cn,borderBottom:0,borderRadius:`${Oe}px`,"&-rtl":{direction:"rtl"},[`& > ${Nt}-item`]:{borderBottom:cn,"&:last-child":{[` + `]:{[`&:hover ${le}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[le]:{"&-indeterminate":{[`${le}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${st}-disabled`]:{cursor:"not-allowed"},[`${le}-disabled`]:{[`&, ${le}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${le}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${le}-indeterminate ${le}-inner::after`]:{background:ke.colorTextDisabled}}}]};function Ze(ke,le){const st=(0,de.TS)(le,{checkboxCls:`.${ke}`,checkboxSize:le.controlInteractiveSize});return[Ne(st)]}Gt.ZP=(0,Be.Z)("Checkbox",(ke,le)=>{let{prefixCls:st}=le;return[Ze(st,ke)]})},36381:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Lt}});var b=ee(38819),de=ee(92310),Be=ee.n(de),Ne=ee(92413),Ze=ee(26407),ke=ee(33606),le=ee(39559),st=ee(18929),et=ee(48736),Ve=ee(59301),Ge=ee(37061),Je=ee(11592),Ye=ee(400),se=ee(77900),E=ee(10228),a=Ve.forwardRef(function(mt,Nt){var ut=mt.prefixCls,at=mt.forceRender,De=mt.className,fe=mt.style,Xe=mt.children,Rt=mt.isActive,Oe=mt.role,Ie=Ve.useState(Rt||at),St=(0,ke.Z)(Ie,2),nt=St[0],Me=St[1];return Ve.useEffect(function(){(at||Rt)&&Me(!0)},[at,Rt]),nt?Ve.createElement("div",{ref:Nt,className:Be()("".concat(ut,"-content"),(0,Ye.Z)((0,Ye.Z)({},"".concat(ut,"-content-active"),Rt),"".concat(ut,"-content-inactive"),!Rt),De),style:fe,role:Oe},Ve.createElement("div",{className:"".concat(ut,"-content-box")},Xe)):null});a.displayName="PanelContent";var x=a,y=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=Ve.forwardRef(function(mt,Nt){var ut=mt.showArrow,at=ut===void 0?!0:ut,De=mt.headerClass,fe=mt.isActive,Xe=mt.onItemClick,Rt=mt.forceRender,Oe=mt.className,Ie=mt.prefixCls,St=mt.collapsible,nt=mt.accordion,Me=mt.panelKey,yt=mt.extra,Bn=mt.header,nn=mt.expandIcon,dn=mt.openMotion,un=mt.destroyInactivePanel,yn=mt.children,Te=(0,Ge.Z)(mt,y),Ft=St==="disabled",zt=St==="header",wt=St==="icon",kt=yt!=null&&typeof yt!="boolean",sn=function(){Xe==null||Xe(Me)},cn=function(ar){(ar.key==="Enter"||ar.keyCode===E.Z.ENTER||ar.which===E.Z.ENTER)&&sn()},Ln=typeof nn=="function"?nn(mt):Ve.createElement("i",{className:"arrow"});Ln&&(Ln=Ve.createElement("div",{className:"".concat(Ie,"-expand-icon"),onClick:["header","icon"].includes(St)?sn:void 0},Ln));var Jn=Be()((0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-item"),!0),"".concat(Ie,"-item-active"),fe),"".concat(Ie,"-item-disabled"),Ft),Oe),va=Be()(De,(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},"".concat(Ie,"-header"),!0),"".concat(Ie,"-header-collapsible-only"),zt),"".concat(Ie,"-icon-collapsible-only"),wt)),Da={className:va,"aria-expanded":fe,"aria-disabled":Ft,onKeyDown:cn};return!zt&&!wt&&(Da.onClick=sn,Da.role=nt?"tab":"button",Da.tabIndex=Ft?-1:0),Ve.createElement("div",(0,Ne.Z)({},Te,{ref:Nt,className:Jn}),Ve.createElement("div",Da,at&&Ln,Ve.createElement("span",{className:"".concat(Ie,"-header-text"),onClick:St==="header"?sn:void 0},Bn),kt&&Ve.createElement("div",{className:"".concat(Ie,"-extra")},yt)),Ve.createElement(se.default,(0,Ne.Z)({visible:fe,leavedClassName:"".concat(Ie,"-content-hidden")},dn,{forceRender:Rt,removeOnLeave:un}),function(Na,ar){var $a=Na.className,fa=Na.style;return Ve.createElement(x,{ref:ar,prefixCls:Ie,className:$a,style:fa,isActive:fe,forceRender:Rt,role:nt?"tabpanel":void 0},yn)}))}),ne=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ue=function(Nt,ut){var at=ut.prefixCls,De=ut.accordion,fe=ut.collapsible,Xe=ut.destroyInactivePanel,Rt=ut.onItemClick,Oe=ut.activeKey,Ie=ut.openMotion,St=ut.expandIcon;return Nt.map(function(nt,Me){var yt=nt.children,Bn=nt.label,nn=nt.key,dn=nt.collapsible,un=nt.onItemClick,yn=nt.destroyInactivePanel,Te=(0,Ge.Z)(nt,re),Ft=String(nn!=null?nn:Me),zt=dn!=null?dn:fe,wt=yn!=null?yn:Xe,kt=function(Ln){zt!=="disabled"&&(Rt(Ln),un==null||un(Ln))},sn=!1;return De?sn=Oe[0]===Ft:sn=Oe.indexOf(Ft)>-1,Ve.createElement(ne,(0,Ne.Z)({},Te,{prefixCls:at,key:Ft,panelKey:Ft,isActive:sn,accordion:De,openMotion:Ie,expandIcon:St,header:Bn,collapsible:zt,onItemClick:kt,destroyInactivePanel:wt}),yt)})},ie=function(Nt,ut,at){if(!Nt)return null;var De=at.prefixCls,fe=at.accordion,Xe=at.collapsible,Rt=at.destroyInactivePanel,Oe=at.onItemClick,Ie=at.activeKey,St=at.openMotion,nt=at.expandIcon,Me=Nt.key||String(ut),yt=Nt.props,Bn=yt.header,nn=yt.headerClass,dn=yt.destroyInactivePanel,un=yt.collapsible,yn=yt.onItemClick,Te=!1;fe?Te=Ie[0]===Me:Te=Ie.indexOf(Me)>-1;var Ft=un!=null?un:Xe,zt=function(sn){Ft!=="disabled"&&(Oe(sn),yn==null||yn(sn))},wt={key:Me,panelKey:Me,header:Bn,headerClass:nn,isActive:Te,prefixCls:De,destroyInactivePanel:dn!=null?dn:Rt,openMotion:St,accordion:fe,children:Nt.props.children,onItemClick:zt,expandIcon:nt,collapsible:Ft};return typeof Nt.type=="string"?Nt:(Object.keys(wt).forEach(function(kt){typeof wt[kt]=="undefined"&&delete wt[kt]}),Ve.cloneElement(Nt,wt))};function ve(mt,Nt,ut){return Array.isArray(mt)?ue(mt,ut):(0,Je.Z)(Nt).map(function(at,De){return ie(at,De,ut)})}var be=ve,je=ee(26112);function Ae(mt){var Nt=mt;if(!Array.isArray(Nt)){var ut=(0,le.Z)(Nt);Nt=ut==="number"||ut==="string"?[Nt]:[]}return Nt.map(function(at){return String(at)})}var He=Ve.forwardRef(function(mt,Nt){var ut=mt.prefixCls,at=ut===void 0?"rc-collapse":ut,De=mt.destroyInactivePanel,fe=De===void 0?!1:De,Xe=mt.style,Rt=mt.accordion,Oe=mt.className,Ie=mt.children,St=mt.collapsible,nt=mt.openMotion,Me=mt.expandIcon,yt=mt.activeKey,Bn=mt.defaultActiveKey,nn=mt.onChange,dn=mt.items,un=Be()(at,Oe),yn=(0,st.Z)([],{value:yt,onChange:function(cn){return nn==null?void 0:nn(cn)},defaultValue:Bn,postState:Ae}),Te=(0,ke.Z)(yn,2),Ft=Te[0],zt=Te[1],wt=function(cn){return zt(function(){if(Rt)return Ft[0]===cn?[]:[cn];var Ln=Ft.indexOf(cn),Jn=Ln>-1;return Jn?Ft.filter(function(va){return va!==cn}):[].concat((0,Ze.Z)(Ft),[cn])})};(0,et.ZP)(!Ie,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var kt=be(dn,Ie,{prefixCls:at,accordion:Rt,openMotion:nt,expandIcon:Me,collapsible:St,destroyInactivePanel:fe,onItemClick:wt,activeKey:Ft});return Ve.createElement("div",(0,Ne.Z)({ref:Nt,className:un,style:Xe,role:Rt?"tablist":void 0},(0,je.Z)(mt,{aria:!0,data:!0})),kt)}),he=Object.assign(He,{Panel:ne}),qe=he,Ke=he.Panel,ht=ee(2738),Le=ee(62892),ot=ee(92343),lt=ee(36355),gt=ee(19716),ln=Ve.forwardRef((mt,Nt)=>{const{getPrefixCls:ut}=Ve.useContext(lt.E_),{prefixCls:at,className:De,showArrow:fe=!0}=mt,Xe=ut("collapse",at),Rt=Be()({[`${Xe}-no-arrow`]:!fe},De);return Ve.createElement(qe.Panel,Object.assign({ref:Nt},mt,{prefixCls:Xe,className:Rt}))}),xt=ee(17313),an=ee(8378),hn=ee(83116),$e=ee(37613);const dt=mt=>{const{componentCls:Nt,contentBg:ut,padding:at,headerBg:De,headerPadding:fe,collapseHeaderPaddingSM:Xe,collapseHeaderPaddingLG:Rt,collapsePanelBorderRadius:Oe,lineWidth:Ie,lineType:St,colorBorder:nt,colorText:Me,colorTextHeading:yt,colorTextDisabled:Bn,fontSize:nn,fontSizeLG:dn,lineHeight:un,marginSM:yn,paddingSM:Te,paddingLG:Ft,paddingXS:zt,motionDurationSlow:wt,fontSizeIcon:kt,contentPadding:sn}=mt,cn=`${Ie}px ${St} ${nt}`;return{[Nt]:Object.assign(Object.assign({},(0,xt.Wf)(mt)),{backgroundColor:De,border:cn,borderBottom:0,borderRadius:`${Oe}px`,"&-rtl":{direction:"rtl"},[`& > ${Nt}-item`]:{borderBottom:cn,"&:last-child":{[` &, & > ${Nt}-header`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`> ${Nt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:fe,color:yt,lineHeight:un,cursor:"pointer",transition:`all ${wt}, visibility 0s`,[`> ${Nt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Nt}-expand-icon`]:{height:nn*un,display:"flex",alignItems:"center",paddingInlineEnd:yn},[`${Nt}-arrow`]:Object.assign(Object.assign({},(0,xt.Ro)()),{fontSize:kt,svg:{transition:`transform ${wt}`}}),[`${Nt}-header-text`]:{marginInlineEnd:"auto"}},[`${Nt}-header-collapsible-only`]:{cursor:"default",[`${Nt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Nt}-icon-collapsible-only`]:{cursor:"default",[`${Nt}-expand-icon`]:{cursor:"pointer"}}},[`${Nt}-content`]:{color:Me,backgroundColor:ut,borderTop:cn,[`& > ${Nt}-content-box`]:{padding:sn},"&-hidden":{display:"none"}},"&-small":{[`> ${Nt}-item`]:{[`> ${Nt}-header`]:{padding:Xe,paddingInlineStart:zt,[`> ${Nt}-expand-icon`]:{marginInlineStart:Te-zt}},[`> ${Nt}-content > ${Nt}-content-box`]:{padding:Te}}},"&-large":{[`> ${Nt}-item`]:{fontSize:dn,[`> ${Nt}-header`]:{padding:Rt,paddingInlineStart:at,[`> ${Nt}-expand-icon`]:{height:dn*un,marginInlineStart:Ft-at}},[`> ${Nt}-content > ${Nt}-content-box`]:{padding:Ft}}},[`${Nt}-item:last-child`]:{[`> ${Nt}-content`]:{borderRadius:`0 0 ${Oe}px ${Oe}px`}},[`& ${Nt}-item-disabled > ${Nt}-header`]:{"\n &,\n & > .arrow\n ":{color:Bn,cursor:"not-allowed"}},[`&${Nt}-icon-position-end`]:{[`& > ${Nt}-item`]:{[`> ${Nt}-header`]:{[`${Nt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:yn}}}}})}},rn=mt=>{const{componentCls:Nt}=mt,ut=`> ${Nt}-item > ${Nt}-header ${Nt}-arrow svg`;return{[`${Nt}-rtl`]:{[ut]:{transform:"rotate(180deg)"}}}},Vn=mt=>{const{componentCls:Nt,headerBg:ut,paddingXXS:at,colorBorder:De}=mt;return{[`${Nt}-borderless`]:{backgroundColor:ut,border:0,[`> ${Nt}-item`]:{borderBottom:`1px solid ${De}`},[` > ${Nt}-item:last-child, > ${Nt}-item:last-child ${Nt}-header - `]:{borderRadius:0},[`> ${Nt}-item:last-child`]:{borderBottom:0},[`> ${Nt}-item > ${Nt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Nt}-item > ${Nt}-content > ${Nt}-content-box`]:{paddingTop:at}}}},Zt=mt=>{const{componentCls:Nt,paddingSM:ut}=mt;return{[`${Nt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-item`]:{borderBottom:0,[`> ${Nt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-content-box`]:{paddingBlock:ut}}}}}};var Fn=(0,hn.Z)("Collapse",mt=>{const Nt=(0,$e.TS)(mt,{collapseHeaderPaddingSM:`${mt.paddingXS}px ${mt.paddingSM}px`,collapseHeaderPaddingLG:`${mt.padding}px ${mt.paddingLG}px`,collapsePanelBorderRadius:mt.borderRadiusLG});return[dt(Nt),Vn(Nt),Zt(Nt),rn(Nt),(0,an.Z)(Nt)]},mt=>({headerPadding:`${mt.paddingSM}px ${mt.padding}px`,headerBg:mt.colorFillAlter,contentPadding:`${mt.padding}px 16px`,contentBg:mt.colorBgContainer})),ct=Object.assign(Ve.forwardRef((mt,Nt)=>{const{getPrefixCls:ut,direction:at,collapse:De}=Ve.useContext(lt.E_),{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,bordered:Ie=!0,ghost:St,size:nt,expandIconPosition:Me="start",children:yt,expandIcon:Bn}=mt,nn=(0,gt.Z)(cn=>{var Ln;return(Ln=nt!=null?nt:cn)!==null&&Ln!==void 0?Ln:"middle"}),dn=ut("collapse",fe),un=ut(),[yn,Te]=Fn(dn),Ft=Ve.useMemo(()=>Me==="left"?"start":Me==="right"?"end":Me,[Me]),zt=function(){let cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ln=Bn?Bn(cn):Ve.createElement(b.Z,{rotate:cn.isActive?90:void 0});return(0,ot.Tm)(Ln,()=>({className:Be()(Ln.props.className,`${dn}-arrow`)}))},wt=Be()(`${dn}-icon-position-${Ft}`,{[`${dn}-borderless`]:!Ie,[`${dn}-rtl`]:at==="rtl",[`${dn}-ghost`]:!!St,[`${dn}-${nn}`]:nn!=="middle"},De==null?void 0:De.className,Xe,Rt,Te),kt=Object.assign(Object.assign({},(0,Le.Z)(un)),{motionAppear:!1,leavedClassName:`${dn}-content-hidden`}),sn=Ve.useMemo(()=>yt?(0,Je.Z)(yt).map((cn,Ln)=>{var Jn,va;if(!((Jn=cn.props)===null||Jn===void 0)&&Jn.disabled){const Da=(va=cn.key)!==null&&va!==void 0?va:String(Ln),{disabled:Na,collapsible:ar}=cn.props,$a=Object.assign(Object.assign({},(0,ht.Z)(cn.props,["disabled"])),{key:Da,collapsible:ar!=null?ar:Na?"disabled":void 0});return(0,ot.Tm)(cn,$a)}return cn}):null,[yt]);return yn(Ve.createElement(qe,Object.assign({ref:Nt,openMotion:kt},(0,ht.Z)(mt,["rootClassName"]),{expandIcon:zt,prefixCls:dn,className:wt,style:Object.assign(Object.assign({},De==null?void 0:De.style),Oe)}),sn))}),{Panel:ln}),Lt=ct},5083:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return Wu}});var b=ee(61186),de=ee.n(b),Be=ee(48736),Ne=ee(90111),Ze=ee.n(Ne),ke=ee(58319),le=ee.n(ke),st=ee(23250),et=ee.n(st),Ve=ee(74959),Ge=ee.n(Ve),Je=ee(10238),Ye=ee.n(Je),se=ee(33656),E=ee.n(se);de().extend(E()),de().extend(Ye()),de().extend(Ze()),de().extend(le()),de().extend(et()),de().extend(Ge()),de().extend(function(me,Se){var ye=Se.prototype,tt=ye.format;ye.format=function(qt){var Wt=(qt||"").replace("Wo","wo");return tt.bind(this)(Wt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(Se){var ye=a[Se];return ye||Se.split("_")[0]},y=function(){(0,Be.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return de()()},getFixedDate:function(Se){return de()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var ye=Se.locale("en");return ye.weekday()+ye.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},addYear:function(Se,ye){return Se.add(ye,"year")},addMonth:function(Se,ye){return Se.add(ye,"month")},addDate:function(Se,ye){return Se.add(ye,"day")},setYear:function(Se,ye){return Se.year(ye)},setMonth:function(Se,ye){return Se.month(ye)},setDate:function(Se,ye){return Se.date(ye)},setHour:function(Se,ye){return Se.hour(ye)},setMinute:function(Se,ye){return Se.minute(ye)},setSecond:function(Se,ye){return Se.second(ye)},isAfter:function(Se,ye){return Se.isAfter(ye)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return de()().locale(x(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,ye){return ye.locale(x(Se)).weekday(0)},getWeek:function(Se,ye){return ye.locale(x(Se)).week()},getShortWeekDays:function(Se){return de()().locale(x(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return de()().locale(x(Se)).localeData().monthsShort()},format:function(Se,ye,tt){return ye.locale(x(Se)).format(tt)},parse:function(Se,ye,tt){for(var it=x(Se),qt=0;qt1&&(Wt=Se.addDate(Wt,-7)),Wt}function Te(me,Se,ye){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return ye.addYear(me,tt*10);case"quarter":case"month":return ye.addYear(me,tt);default:return ye.addMonth(me,tt)}}function Ft(me,Se){var ye=Se.generateConfig,tt=Se.locale,it=Se.format;return typeof it=="function"?it(me):ye.locale.format(tt.locale,me,it)}function zt(me,Se){var ye=Se.generateConfig,tt=Se.locale,it=Se.formatList;return!me||typeof it[0]=="function"?null:ye.locale.parse(tt.locale,me,it)}function wt(me){var Se=me.cellDate,ye=me.mode,tt=me.disabledDate,it=me.generateConfig;if(!tt)return!1;var qt=function(Ia,kn,sa){for(var Oa=kn;Oa<=sa;){var Br=void 0;switch(Ia){case"date":{if(Br=it.setDate(Se,Oa),!tt(Br))return!1;break}case"month":{if(Br=it.setMonth(Se,Oa),!wt({cellDate:Br,mode:"month",generateConfig:it,disabledDate:tt}))return!1;break}case"year":{if(Br=it.setYear(Se,Oa),!wt({cellDate:Br,mode:"year",generateConfig:it,disabledDate:tt}))return!1;break}}Oa+=1}return!0};switch(ye){case"date":case"week":return tt(Se);case"month":{var Wt=1,Zn=it.getDate(it.getEndDate(Se));return qt("date",Wt,Zn)}case"quarter":{var Tn=Math.floor(it.getMonth(Se)/3)*3,aa=Tn+2;return qt("month",Tn,aa)}case"year":return qt("month",0,11);case"decade":{var Ca=it.getYear(Se),ga=Math.floor(Ca/De)*De,mn=ga+De-1;return qt("year",ga,mn)}}}function kt(me,Se){var ye=Se.formatList,tt=Se.generateConfig,it=Se.locale;return(0,ut.Z)(function(){if(!me)return[[""],""];for(var qt="",Wt=[],Zn=0;Zn1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(aa.current),Oa){Tn(sa);return}aa.current=requestAnimationFrame(function(){Tn(sa)})}var ga=kt(Zn,{formatList:ye,generateConfig:tt,locale:it}),mn=(0,Lt.Z)(ga,2),Ba=mn[1];function Ia(sa){Ca(sa)}function kn(){var sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ca(null,sa)}return(0,ie.useEffect)(function(){kn(!0)},[me]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(aa.current)}},[]),[Ba,Ia,kn]}var cn=ee(10228),Ln=ee(16089),Jn=ee(26407),va=ee(29194),Da=new Map;function Na(me,Se){var ye;function tt(){(0,va.Z)(me)?Se():ye=(0,Ln.Z)(function(){tt()})}return tt(),function(){Ln.Z.cancel(ye)}}function ar(me,Se,ye){if(Da.get(me)&&cancelAnimationFrame(Da.get(me)),ye<=0){Da.set(me,requestAnimationFrame(function(){me.scrollTop=Se}));return}var tt=Se-me.scrollTop,it=tt/ye*10;Da.set(me,requestAnimationFrame(function(){me.scrollTop+=it,me.scrollTop!==Se&&ar(me,Se,ye-10)}))}function $a(me,Se){var ye=Se.onLeftRight,tt=Se.onCtrlLeftRight,it=Se.onUpDown,qt=Se.onPageUpDown,Wt=Se.onEnter,Zn=me.which,Tn=me.ctrlKey,aa=me.metaKey;switch(Zn){case cn.Z.LEFT:if(Tn||aa){if(tt)return tt(-1),!0}else if(ye)return ye(-1),!0;break;case cn.Z.RIGHT:if(Tn||aa){if(tt)return tt(1),!0}else if(ye)return ye(1),!0;break;case cn.Z.UP:if(it)return it(-1),!0;break;case cn.Z.DOWN:if(it)return it(1),!0;break;case cn.Z.PAGE_UP:if(qt)return qt(-1),!0;break;case cn.Z.PAGE_DOWN:if(qt)return qt(1),!0;break;case cn.Z.ENTER:if(Wt)return Wt(),!0;break}return!1}function fa(me,Se,ye,tt){var it=me;if(!it)switch(Se){case"time":it=tt?"hh:mm:ss a":"HH:mm:ss";break;case"week":it="gggg-wo";break;case"month":it="YYYY-MM";break;case"quarter":it="YYYY-[Q]Q";break;case"year":it="YYYY";break;default:it=ye?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return it}function yr(me,Se,ye){var tt=me==="time"?8:10,it=typeof Se=="function"?Se(ye.getNow()).length:Se.length;return Math.max(tt,it)+2}var en=null,On=new Set;function ia(me){return!en&&typeof window!="undefined"&&window.addEventListener&&(en=function(ye){(0,Jn.Z)(On).forEach(function(tt){tt(ye)})},window.addEventListener("mousedown",en)),On.add(me),function(){On.delete(me),On.size===0&&(window.removeEventListener("mousedown",en),en=null)}}function xa(me){var Se=me.target;if(me.composed&&Se.shadowRoot){var ye;return((ye=me.composedPath)===null||ye===void 0?void 0:ye.call(me)[0])||Se}return Se}var We=function(Se){return Se==="month"||Se==="date"?"year":Se},It=function(Se){return Se==="date"?"month":Se},_t=function(Se){return Se==="month"||Se==="date"?"quarter":Se},Vt=function(Se){return Se==="date"?"week":Se},Gt={year:We,month:It,quarter:_t,week:Vt,time:null,date:null};function Rn(me,Se){return me.some(function(ye){return ye&&ye.contains(Se)})}function wn(me){var Se=me.open,ye=me.value,tt=me.isClickOutside,it=me.triggerOpen,qt=me.forwardKeyDown,Wt=me.onKeyDown,Zn=me.blurToCancel,Tn=me.onSubmit,aa=me.onCancel,Ca=me.onFocus,ga=me.onBlur,mn=me.changeOnBlur,Ba=(0,ie.useState)(!1),Ia=(0,Lt.Z)(Ba,2),kn=Ia[0],sa=Ia[1],Oa=(0,ie.useState)(!1),Br=(0,Lt.Z)(Oa,2),vr=Br[0],wr=Br[1],jr=(0,ie.useRef)(!1),Lr=(0,ie.useRef)(!1),Gn=(0,ie.useRef)(!1),Ko={onMouseDown:function(){sa(!0),it(!0)},onKeyDown:function(zo){var qo=function(){Gn.current=!0};if(Wt(zo,qo),!Gn.current){switch(zo.which){case cn.Z.ENTER:{Se?Tn()!==!1&&sa(!0):it(!0),zo.preventDefault();return}case cn.Z.TAB:{kn&&Se&&!zo.shiftKey?(sa(!1),zo.preventDefault()):!kn&&Se&&!qt(zo)&&zo.shiftKey&&(sa(!0),zo.preventDefault());return}case cn.Z.ESC:{sa(!0),aa();return}}!Se&&![cn.Z.SHIFT].includes(zo.which)?it(!0):kn||qt(zo)}},onFocus:function(zo){sa(!0),wr(!0),Ca&&Ca(zo)},onBlur:function(zo){if(jr.current||!tt(document.activeElement)){jr.current=!1;return}Zn?setTimeout(function(){for(var qo=document,ii=qo.activeElement;ii&&ii.shadowRoot;)ii=ii.shadowRoot.activeElement;tt(ii)&&aa()},0):Se&&(it(!1),Lr.current&&Tn()),wr(!1),ga==null||ga(zo)}};return(0,ie.useEffect)(function(){Lr.current=!1},[Se]),(0,ie.useEffect)(function(){Lr.current=!0},[ye]),(0,ie.useEffect)(function(){return ia(function(fo){var zo=xa(fo),qo=tt(zo);Se&&(qo?!mn&&(!vr||qo)&&it(!1):(jr.current=!0,(0,Ln.Z)(function(){jr.current=!1})))})}),[Ko,{focused:vr,typing:kn}]}function vt(me,Se){return ie.useMemo(function(){return me||(Se?((0,Be.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(ye){var tt=(0,Lt.Z)(ye,2),it=tt[0],qt=tt[1];return{label:it,value:qt}})):[])},[me,Se])}var Bt=ee(34280);function pt(me){var Se=me.valueTexts,ye=me.onTextChange,tt=ie.useState(""),it=(0,Lt.Z)(tt,2),qt=it[0],Wt=it[1],Zn=ie.useRef([]);Zn.current=Se;function Tn(Ca){Wt(Ca),ye(Ca)}function aa(){Wt(Zn.current[0])}return(0,Bt.Z)(function(){Se.every(function(Ca){return Ca!==qt})&&aa()},[Se.join("||")]),[qt,Tn,aa]}var Sn=ie.createContext({}),Wn=Sn,An=ee(39559);function ka(me){var Se=me.cellRender,ye=me.monthCellRender,tt=me.dateRender,it=ie.useMemo(function(){if(Se)return Se;if(!(!ye&&!tt))return function(qt,Wt){var Zn=qt;return tt&&Wt.type==="date"?tt(Zn,Wt.today):ye&&Wt.type==="month"?ye(Zn,Wt.locale):Wt.originNode}},[Se,ye,tt]);return it}function pa(me,Se){for(var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tt=String(me);tt.length=1?ye|0:1,Wt=me;Wt<=Se;Wt+=qt)it.push({label:pa(Wt,2),value:Wt,disabled:(tt||[]).includes(Wt)});return it}function Er(me){var Se=me.generateConfig,ye=me.prefixCls,tt=me.operationRef,it=me.activeColumnIndex,qt=me.value,Wt=me.showHour,Zn=me.showMinute,Tn=me.showSecond,aa=me.use12Hours,Ca=me.hourStep,ga=Ca===void 0?1:Ca,mn=me.minuteStep,Ba=mn===void 0?1:mn,Ia=me.secondStep,kn=Ia===void 0?1:Ia,sa=me.disabledHours,Oa=me.disabledMinutes,Br=me.disabledSeconds,vr=me.disabledTime,wr=me.hideDisabledOptions,jr=me.onSelect,Lr=me.cellRender,Gn=me.locale,Ko=[],fo="".concat(ye,"-content"),zo="".concat(ye,"-time-panel"),qo,ii=qt?Se.getHour(qt):-1,pi=ii,zi=qt?Se.getMinute(qt):-1,oo=qt?Se.getSecond(qt):-1,Lo=Se.getNow(),To=ie.useMemo(function(){if(vr){var vn=vr(Lo);return[vn.disabledHours,vn.disabledMinutes,vn.disabledSeconds]}return[sa,Oa,Br]},[sa,Oa,Br,vr,Lo]),wi=(0,Lt.Z)(To,3),Ni=wi[0],fi=wi[1],Ro=wi[2],ol=Fr(0,23,ga,Ni&&Ni()),Xi=(0,ut.Z)(function(){return ol},ol,no);aa&&(qo=pi>=12,pi%=12);var Ee=ie.useMemo(function(){if(!aa)return[!1,!1];var vn=[!0,!0];return Xi.forEach(function(pn){var qn=pn.disabled,na=pn.value;qn||(na>=12?vn[1]=!1:vn[0]=!1)}),vn},[aa,Xi]),Ce=(0,Lt.Z)(Ee,2),Qe=Ce[0],rt=Ce[1],Pt=ie.useMemo(function(){return aa?Xi.filter(qo?function(vn){return vn.value>=12}:function(vn){return vn.value<12}).map(function(vn){var pn=vn.value%12,qn=pn===0?"12":pa(pn,2);return(0,ct.Z)((0,ct.Z)({},vn),{},{label:qn,value:pn})}):Xi},[aa,qo,Xi]),Et=Fr(0,59,Ba,fi&&fi(ii)),$t=Fr(0,59,kn,Ro&&Ro(ii,zi)),Yt=Ua({value:qt,generateConfig:Se,disabledMinutes:fi,disabledSeconds:Ro,minutes:Et,seconds:$t,use12Hours:aa});tt.current={onUpDown:function(pn){var qn=Ko[it];if(qn)for(var na=qn.units.findIndex(function(Xa){return Xa.value===qn.value}),ca=qn.units.length,Aa=1;Aa2&&arguments[2]!==void 0?arguments[2]:!1;(or===sa||Ot)&&(Tr(pe),Ko&&Ko(pe),Yt&&Yt(pe,Pe),fo&&!dn(Tn,pe,rr)&&!(Ba!=null&&Ba(pe))&&fo(pe))},wo=function(pe){if(sr.includes(or)){var Pe,Ot,tn=or==="date";switch(pe===cn.Z.PAGE_UP||pe===cn.Z.PAGE_DOWN?Ot=tn?Tn.addMonth:Tn.addYear:Ot=tn?Tn.addDate:Tn.addMonth,pe){case cn.Z.LEFT:case cn.Z.PAGE_UP:Pe=Ot(Gr,-1);break;case cn.Z.RIGHT:case cn.Z.PAGE_DOWN:Pe=Ot(Gr,1);break;case cn.Z.UP:case cn.Z.DOWN:Pe=Ot(Gr,Number("".concat(pe===cn.Z.UP?"-":"").concat(tn?Xe:ko)));break}if(Pe)return!(Ba!=null&&Ba(Pe))}return!0},yi=function(pe){if(Aa.current&&Aa.current.onKeyDown){var Pe=!0,Ot=pe.which;if([cn.Z.LEFT,cn.Z.RIGHT,cn.Z.UP,cn.Z.DOWN,cn.Z.PAGE_UP,cn.Z.PAGE_DOWN,cn.Z.ENTER].includes(Ot)&&(pe.preventDefault(),Ot!==cn.Z.ENTER&&Br===0&&(Pe=wo(Ot))),Pe)return Aa.current.onKeyDown(pe)}return(0,Be.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Do=function(pe){Aa.current&&Aa.current.onBlur&&Aa.current.onBlur(pe)};$t&&qn!=="right"&&($t.current={onKeyDown:yi,onClose:function(){Aa.current&&Aa.current.onClose&&Aa.current.onClose()}}),ie.useEffect(function(){aa&&!Kt.current&&zr(aa)},[aa]),ie.useEffect(function(){Kt.current=!1},[]);var Xr,bi=ka({cellRender:Ee,monthCellRender:Xi,dateRender:ol}),Qr=(0,ct.Z)((0,ct.Z)({},me),{},{cellRender:bi,operationRef:Aa,prefixCls:it,viewDate:Gr,value:rr,onViewDateChange:tr,sourceMode:Mr,onPanelChange:Bo,disabledDate:Ba});switch(delete Qr.onChange,delete Qr.onSelect,or){case"decade":Xr=ie.createElement(br,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"year":Xr=ie.createElement(Fa,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"month":Xr=ie.createElement(tl,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"quarter":Xr=ie.createElement(kr,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"week":Xr=ie.createElement(Ga,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"time":delete Qr.showTime,Xr=ie.createElement(xi,(0,ue.Z)({},Qr,(0,An.Z)(wr)==="object"?wr:null,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;default:wr?Xr=ie.createElement(jo,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}})):Xr=ie.createElement(Ir,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}))}var gi,_o,_i=function(){var pe=Tn.getNow(),Pe=Xt(Tn.getHour(pe),Tn.getMinute(pe),Tn.getSecond(pe),Qe?To:1,rt?Ni:1,Pt?Ro:1),Ot=Ue(Tn,pe,Pe[0],Pe[1],Pe[2]);Ra(Ot,"submit")};Ut||(gi=jn(it,or,Lr),wr&&or!=="date"?_o=null:_o=Xn({prefixCls:it,components:zi,needConfirmButton:Ce,okDisabled:!rr||Ba&&Ba(rr),locale:Zn,showNow:vr,onNow:Ce&&_i,onOk:function(){rr&&(Ra(rr,"submit",!0),pi&&pi(rr))}}));var to;if(jr&&or==="date"&&sa==="date"&&!wr){var _r=Tn.getNow(),Yr="".concat(it,"-today-btn"),Zr=Ba&&Ba(_r);to=ie.createElement("a",{className:$e()(Yr,Zr&&"".concat(Yr,"-disabled")),"aria-disabled":Zr,onClick:function(){Zr||Ra(_r,"mouse",!0)}},Zn.today)}return ie.createElement(Wn.Provider,{value:(0,ct.Z)((0,ct.Z)({},Et),{},{mode:or,hideHeader:"hideHeader"in me?Gn:Et.hideHeader,hidePrevBtn:pn&&qn==="right",hideNextBtn:pn&&qn==="left"})},ie.createElement("div",{tabIndex:Br,className:$e()("".concat(it,"-panel"),qt,(Se={},(0,ze.Z)(Se,"".concat(it,"-panel-has-range"),na&&na[0]&&na[1]),(0,ze.Z)(Se,"".concat(it,"-panel-has-range-hover"),ca&&ca[0]&&ca[1]),(0,ze.Z)(Se,"".concat(it,"-panel-rtl"),oo==="rtl"),Se)),style:Wt,onKeyDown:yi,onBlur:Do,onMouseDown:qo},Xr,gi||_o||to?ie.createElement("div",{className:"".concat(it,"-footer")},gi,_o,to):null))}var Ta=Ha,Ja=ee(35593),Rr={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function bo(me){var Se,ye=me.prefixCls,tt=me.popupElement,it=me.popupStyle,qt=me.visible,Wt=me.dropdownClassName,Zn=me.dropdownAlign,Tn=me.transitionName,aa=me.getPopupContainer,Ca=me.children,ga=me.range,mn=me.popupPlacement,Ba=me.direction,Ia="".concat(ye,"-dropdown"),kn=function(){return mn!==void 0?mn:Ba==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(Ja.Z,{showAction:[],hideAction:[],popupPlacement:kn(),builtinPlacements:Rr,prefixCls:Ia,popupTransitionName:Tn,popup:tt,popupAlign:Zn,popupVisible:qt,popupClassName:$e()(Wt,(Se={},(0,ze.Z)(Se,"".concat(Ia,"-range"),ga),(0,ze.Z)(Se,"".concat(Ia,"-rtl"),Ba==="rtl"),Se)),popupStyle:it,getPopupContainer:aa},Ca)}var $o=bo;function Wo(me){var Se=me.prefixCls,ye=me.presets,tt=me.onClick,it=me.onHover;return ye.length?ie.createElement("div",{className:"".concat(Se,"-presets")},ie.createElement("ul",null,ye.map(function(qt,Wt){var Zn=qt.label,Tn=qt.value;return ie.createElement("li",{key:Wt,onClick:function(){return tt==null?void 0:tt(lr(Tn))},onMouseEnter:function(){return it==null?void 0:it(lr(Tn))},onMouseLeave:function(){return it==null?void 0:it(null)}},Zn)}))):null}function Ti(me){var Se=me.picker,ye=me.disabledHours,tt=me.disabledMinutes,it=me.disabledSeconds;Se==="time"&&(ye||tt||it)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ji(me,Se,ye){var tt=(0,An.Z)(Se)==="object"?Se.clearIcon:ye;return tt||ie.createElement("span",{className:"".concat(me,"-clear-btn")})}function al(me){var Se,ye=me,tt=ye.prefixCls,it=tt===void 0?"rc-picker":tt,qt=ye.id,Wt=ye.name,Zn=ye.tabIndex,Tn=ye.style,aa=ye.className,Ca=ye.dropdownClassName,ga=ye.dropdownAlign,mn=ye.popupStyle,Ba=ye.transitionName,Ia=ye.generateConfig,kn=ye.locale,sa=ye.inputReadOnly,Oa=ye.allowClear,Br=ye.autoFocus,vr=ye.showTime,wr=ye.picker,jr=wr===void 0?"date":wr,Lr=ye.format,Gn=ye.use12Hours,Ko=ye.value,fo=ye.defaultValue,zo=ye.presets,qo=ye.open,ii=ye.defaultOpen,pi=ye.defaultOpenValue,zi=ye.suffixIcon,oo=ye.clearIcon,Lo=ye.disabled,To=ye.disabledDate,wi=ye.placeholder,Ni=ye.getPopupContainer,fi=ye.pickerRef,Ro=ye.panelRender,ol=ye.onChange,Xi=ye.onOpenChange,Ee=ye.onFocus,Ce=ye.onBlur,Qe=ye.onMouseDown,rt=ye.onMouseUp,Pt=ye.onMouseEnter,Et=ye.onMouseLeave,$t=ye.onContextMenu,Yt=ye.onClick,Ut=ye.onKeyDown,Cn=ye.onSelect,vn=ye.direction,pn=ye.autoComplete,qn=pn===void 0?"off":pn,na=ye.inputRender,ca=ye.changeOnBlur,Aa=ie.useRef(null),Kt=jr==="date"&&!!vr||jr==="time",Xa=vt(zo),_a=Ea(fa(Lr,jr,vr,Gn)),rr=ie.useRef(null),Tr=ie.useRef(null),$r=ie.useRef(null),Dr=(0,mt.Z)(null,{value:Ko,defaultValue:fo}),Gr=(0,Lt.Z)(Dr,2),zr=Gr[0],tr=Gr[1],nr=ie.useState(zr),fr=(0,Lt.Z)(nr,2),Wa=fr[0],or=fr[1],Kr=ie.useRef(null),Po=(0,mt.Z)(!1,{value:qo,defaultValue:ii,postState:function(ja){return Lo?!1:ja},onChange:function(ja){Xi&&Xi(ja),!ja&&Kr.current&&Kr.current.onClose&&Kr.current.onClose()}}),lo=(0,Lt.Z)(Po,2),Mr=lo[0],vo=lo[1],Bo=kt(Wa,{formatList:_a,generateConfig:Ia,locale:kn}),Ra=(0,Lt.Z)(Bo,2),wo=Ra[0],yi=Ra[1],Do=pt({valueTexts:wo,onTextChange:function(ja){var qr=zt(ja,{locale:kn,formatList:_a,generateConfig:Ia});qr&&(!To||!To(qr))&&or(qr)}}),Xr=(0,Lt.Z)(Do,3),bi=Xr[0],Qr=Xr[1],gi=Xr[2],_o=function(ja){or(ja),tr(ja),ol&&!dn(Ia,zr,ja)&&ol(ja,ja?Ft(ja,{generateConfig:Ia,locale:kn,format:_a[0]}):"")},_i=function(ja){Lo&&ja||vo(ja)},to=function(ja){return Mr&&Kr.current&&Kr.current.onKeyDown?Kr.current.onKeyDown(ja):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},_r=function(){for(var ja=arguments.length,qr=new Array(ja),cr=0;crmn(aa);case"month":return ga(kn)>ga(aa);case"week":return Ca(kn)>Ca(aa);default:return!yt(Zn,kn,aa)&&Zn.isAfter(kn,aa)}return!1},[qt,Wt[1],aa,Se]),Ia=ie.useCallback(function(kn){if(Wt[1]||qt&&qt(kn))return!0;if(Wt[0]&&Tn)return!yt(Zn,kn,aa)&&Zn.isAfter(Tn,kn);if(!Se&&Tn)switch(ye){case"quarter":return mn(kn)0&&arguments[0]!==void 0?arguments[0]:!1,Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Io=null;Yn&&Si&&Si[0]&&Si[1]&&kn.isAfter(Si[1],Si[0])&&(Io=Si);var Pi=Gn;if(Gn&&(0,An.Z)(Gn)==="object"&&Gn.defaultValue){var Yi=Gn.defaultValue;Pi=(0,ct.Z)((0,ct.Z)({},Gn),{},{defaultValue:Pa(Yi,xn)||void 0})}return ie.createElement(Sr.Provider,{value:{inRange:!0,panelPosition:Ei,rangedValue:cl||ce,hoverRangedValue:Io}},ie.createElement(Ta,(0,ue.Z)({},me,Jr,{cellRender:Es,showTime:Pi,mode:tn[xn],generateConfig:kn,style:void 0,direction:Gr,disabledDate:xn===0?ta:oa,disabledTime:function(Ql){return To?To(Ql,xn===0?"start":"end"):!1},className:$e()((0,ze.Z)({},"".concat(Wt,"-panel-focused"),xn===0?!Ml:!Vl)),value:Pa(ce,xn),locale:sa,tabIndex:-1,onPanelChange:function(Ql,iu){xn===0&&wl(!0),xn===1&&Jo(!0),ma(Dn(tn,iu,xn),Dn(ce,Ql,xn));var ql=Ql;Ei==="right"&&tn[xn]===iu&&(ql=Te(ql,iu,kn,-1)),_r(ql,xn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:xn===0?Pa(ce,1):Pa(ce,0)})))}var Va=0,io=0;if(xn&&Po.current&&Mr.current&&Kr.current&&Ra.current){Va=Po.current.offsetWidth+Mr.current.offsetWidth;var Uo=Ra.current.offsetLeft>Va?Ra.current.offsetLeft-Va:Ra.current.offsetLeft,ci=Kr.current.offsetWidth,ti=Ra.current.offsetWidth;ci&&ti&&Va>ci-ti-(Gr==="rtl"?0:Uo)&&(io=Va)}var Ho=Gr==="rtl"?{right:Va}:{left:Va};function Ii(){var Ei,Jr=jn(Wt,tn[xn],Yt),Io=Xn({prefixCls:Wt,components:$r,needConfirmButton:Wa,okDisabled:!Pa(ce,xn)||Lo&&Lo(ce[xn]),locale:sa,onOk:function(){var lu=Pa(ce,xn);lu&&(cr(ce,xn),rr==null||rr(ce),gn(!1,xn,"confirm"))}});if(Lr!=="time"&&!Gn){var Pi=to(xn),Yi=Te(Pi,Lr,kn),Pu=tn[xn],Ql=Pu===Lr,iu=ds(Ql?"left":!1,{pickerValue:Pi,onPickerValueChange:function(lu){_r(lu,xn)}}),ql=ds("right",{pickerValue:Yi,onPickerValueChange:function(lu){_r(Te(lu,Lr,kn,-1),xn)}});Gr==="rtl"?Ei=ie.createElement(ie.Fragment,null,ql,Ql&&iu):Ei=ie.createElement(ie.Fragment,null,iu,Ql&&ql)}else Ei=ds();var cs=ie.createElement("div",{className:"".concat(Wt,"-panel-layout")},ie.createElement(Wo,{prefixCls:Wt,presets:vs,onClick:function(lu){cr(lu,null),gn(!1,xn,"preset")},onHover:function(lu){Bl(lu)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(Wt,"-panels")},Ei),(Jr||Io)&&ie.createElement("div",{className:"".concat(Wt,"-footer")},Jr,Io)));return Ro&&(cs=Ro(cs)),ie.createElement("div",{className:"".concat(Wt,"-panel-container"),style:{marginLeft:io},ref:Kr,onMouseDown:function(lu){lu.preventDefault()}},cs)}var Gi=ie.createElement("div",{className:$e()("".concat(Wt,"-range-wrapper"),"".concat(Wt,"-").concat(Lr,"-range-wrapper")),style:{minWidth:ya}},ie.createElement("div",{ref:Ra,className:"".concat(Wt,"-range-arrow"),style:Ho}),Ii()),Cl;Qe&&(Cl=ie.createElement("span",{className:"".concat(Wt,"-suffix"),onMouseDown:function(Jr){Jr.preventDefault()}},Qe));var $l=Ji(Wt,Ce,rt),Su=ie.createElement("span",{onMouseDown:function(Jr){Jr.preventDefault(),Jr.stopPropagation()},onMouseUp:function(Jr){Jr.preventDefault(),Jr.stopPropagation();var Io=Qr;Do[0]||(Io=Dn(Io,null,0)),Do[1]||(Io=Dn(Io,null,1)),cr(Io,null),gn(!1,xn,"clear")},className:"".concat(Wt,"-clear"),role:"button"},$l),Ol=Ce&&(Pa(Qr,0)&&!Do[0]||Pa(Qr,1)&&!Do[1]),Ul={size:yr(Lr,wo[0],kn)},Eu=0,Du=0;Po.current&&lo.current&&Mr.current&&(xn===0?Du=Po.current.offsetWidth:(Eu=Va,Du=lo.current.offsetWidth));var ps=Gr==="rtl"?{right:Eu}:{left:Eu},hs=function(Jr,Io){var Pi=Dn(ce,Jr,xn);if(Io==="submit"||Io!=="key"&&!Wa){cr(Pi,xn),xn===0?wl():Jo();var Yi=xn===0?1:0;Do[Yi]?gn(!1,!1,"confirm"):gn(!1,xn,"confirm")}else pe(Pi)};return ie.createElement(Wn.Provider,{value:{operationRef:yi,hideHeader:Lr==="time",onDateMouseEnter:vu,onDateMouseLeave:pu,hideRanges:!0,onSelect:hs,open:Yn}},ie.createElement($o,{visible:Yn,popupElement:Gi,popupStyle:Ca,prefixCls:Wt,dropdownClassName:ga,dropdownAlign:Ba,getPopupContainer:Ia,transitionName:mn,range:!0,direction:Gr},ie.createElement("div",(0,ue.Z)({ref:or,className:$e()(Wt,"".concat(Wt,"-range"),aa,(Se={},(0,ze.Z)(Se,"".concat(Wt,"-disabled"),Do[0]&&Do[1]),(0,ze.Z)(Se,"".concat(Wt,"-focused"),xn===0?el:El),(0,ze.Z)(Se,"".concat(Wt,"-rtl"),Gr==="rtl"),Se)),style:Tn,onClick:kl,onMouseEnter:Kt,onMouseLeave:Xa,onMouseDown:Ku,onMouseUp:Aa},(0,Nt.Z)(me,{aria:!0,data:!0})),ie.createElement("div",{className:$e()("".concat(Wt,"-input"),(ye={},(0,ze.Z)(ye,"".concat(Wt,"-input-active"),xn===0),(0,ze.Z)(ye,"".concat(Wt,"-input-placeholder"),!!ul),ye)),ref:Po},ie.createElement("input",(0,ue.Z)({id:Zn,disabled:Do[0],readOnly:Et||typeof wo[0]=="function"||!Ml,value:ul||xo,onChange:function(Jr){Li(Jr.target.value)},autoFocus:Br,placeholder:Pa(Oa,0)||"",ref:vo},Di,Ul,{autoComplete:nr}))),ie.createElement("div",{className:"".concat(Wt,"-range-separator"),ref:Mr},zo),ie.createElement("div",{className:$e()("".concat(Wt,"-input"),(tt={},(0,ze.Z)(tt,"".concat(Wt,"-input-active"),xn===1),(0,ze.Z)(tt,"".concat(Wt,"-input-placeholder"),!!qi),tt)),ref:lo},ie.createElement("input",(0,ue.Z)({disabled:Do[1],readOnly:Et||typeof wo[0]=="function"||!Vl,value:qi||oi,onChange:function(Jr){il(Jr.target.value)},placeholder:Pa(Oa,1)||"",ref:Bo},Hi,Ul,{autoComplete:nr}))),ie.createElement("div",{className:"".concat(Wt,"-active-bar"),style:(0,ct.Z)((0,ct.Z)({},ps),{},{width:Du,position:"absolute"})}),Cl,Ol&&Su)))}var Sl=function(me){(0,Zt.Z)(ye,me);var Se=(0,Fn.Z)(ye);function ye(){var tt;(0,dt.Z)(this,ye);for(var it=arguments.length,qt=new Array(it),Wt=0;Wt{const{lineHeight:it}=me,qt=Math.floor(ye*it)+2,Wt=Math.max((Se-qt)/2,0),Zn=Math.max(Se-qt-Wt,0);return{padding:`${Wt}px ${tt}px ${Zn}px`}},Hu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,cellHeight:it,motionDurationSlow:qt,borderRadiusSM:Wt,motionDurationMid:Zn,cellHoverBg:Tn,lineWidth:aa,lineType:Ca,colorPrimary:ga,cellActiveWithRangeBg:mn,colorTextLightSolid:Ba,controlHeightSM:Ia,cellRangeBorderColor:kn,pickerCellBorderGap:sa,cellHoverWithRangeBg:Oa,cellWidth:Br,colorTextDisabled:vr,cellBgDisabled:wr}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:it,transform:"translateY(-50%)",transition:`all ${qt}`,content:'""'},[tt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:it,height:it,lineHeight:`${it}px`,borderRadius:Wt,transition:`background ${Zn}, border ${Zn}`},"&-range-hover-start, &-range-hover-end":{[tt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ye}-in-view), - &:hover:not(${ye}-selected):not(${ye}-range-start):not(${ye}-range-end):not(${ye}-range-hover-start):not(${ye}-range-hover-end)`]:{[tt]:{background:Tn}},[`&-in-view${ye}-today ${tt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${aa}px ${Ca} ${ga}`,borderRadius:Wt,content:'""'}},[`&-in-view${ye}-in-range`]:{position:"relative","&::before":{background:mn}},[`&-in-view${ye}-selected ${tt}, + `]:{borderRadius:0},[`> ${Nt}-item:last-child`]:{borderBottom:0},[`> ${Nt}-item > ${Nt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Nt}-item > ${Nt}-content > ${Nt}-content-box`]:{paddingTop:at}}}},Zt=mt=>{const{componentCls:Nt,paddingSM:ut}=mt;return{[`${Nt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-item`]:{borderBottom:0,[`> ${Nt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Nt}-content-box`]:{paddingBlock:ut}}}}}};var Fn=(0,hn.Z)("Collapse",mt=>{const Nt=(0,$e.TS)(mt,{collapseHeaderPaddingSM:`${mt.paddingXS}px ${mt.paddingSM}px`,collapseHeaderPaddingLG:`${mt.padding}px ${mt.paddingLG}px`,collapsePanelBorderRadius:mt.borderRadiusLG});return[dt(Nt),Vn(Nt),Zt(Nt),rn(Nt),(0,an.Z)(Nt)]},mt=>({headerPadding:`${mt.paddingSM}px ${mt.padding}px`,headerBg:mt.colorFillAlter,contentPadding:`${mt.padding}px 16px`,contentBg:mt.colorBgContainer})),ct=Object.assign(Ve.forwardRef((mt,Nt)=>{const{getPrefixCls:ut,direction:at,collapse:De}=Ve.useContext(lt.E_),{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,bordered:Ie=!0,ghost:St,size:nt,expandIconPosition:Me="start",children:yt,expandIcon:Bn}=mt,nn=(0,gt.Z)(cn=>{var Ln;return(Ln=nt!=null?nt:cn)!==null&&Ln!==void 0?Ln:"middle"}),dn=ut("collapse",fe),un=ut(),[yn,Te]=Fn(dn),Ft=Ve.useMemo(()=>Me==="left"?"start":Me==="right"?"end":Me,[Me]),zt=function(){let cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Ln=Bn?Bn(cn):Ve.createElement(b.Z,{rotate:cn.isActive?90:void 0});return(0,ot.Tm)(Ln,()=>({className:Be()(Ln.props.className,`${dn}-arrow`)}))},wt=Be()(`${dn}-icon-position-${Ft}`,{[`${dn}-borderless`]:!Ie,[`${dn}-rtl`]:at==="rtl",[`${dn}-ghost`]:!!St,[`${dn}-${nn}`]:nn!=="middle"},De==null?void 0:De.className,Xe,Rt,Te),kt=Object.assign(Object.assign({},(0,Le.Z)(un)),{motionAppear:!1,leavedClassName:`${dn}-content-hidden`}),sn=Ve.useMemo(()=>yt?(0,Je.Z)(yt).map((cn,Ln)=>{var Jn,va;if(!((Jn=cn.props)===null||Jn===void 0)&&Jn.disabled){const Da=(va=cn.key)!==null&&va!==void 0?va:String(Ln),{disabled:Na,collapsible:ar}=cn.props,$a=Object.assign(Object.assign({},(0,ht.Z)(cn.props,["disabled"])),{key:Da,collapsible:ar!=null?ar:Na?"disabled":void 0});return(0,ot.Tm)(cn,$a)}return cn}):null,[yt]);return yn(Ve.createElement(qe,Object.assign({ref:Nt,openMotion:kt},(0,ht.Z)(mt,["rootClassName"]),{expandIcon:zt,prefixCls:dn,className:wt,style:Object.assign(Object.assign({},De==null?void 0:De.style),Oe)}),sn))}),{Panel:ln}),Lt=ct},5083:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Wu}});var b=ee(61186),de=ee.n(b),Be=ee(48736),Ne=ee(90111),Ze=ee.n(Ne),ke=ee(58319),le=ee.n(ke),st=ee(23250),et=ee.n(st),Ve=ee(74959),Ge=ee.n(Ve),Je=ee(10238),Ye=ee.n(Je),se=ee(33656),E=ee.n(se);de().extend(E()),de().extend(Ye()),de().extend(Ze()),de().extend(le()),de().extend(et()),de().extend(Ge()),de().extend(function(me,Se){var ye=Se.prototype,tt=ye.format;ye.format=function(qt){var Kt=(qt||"").replace("Wo","wo");return tt.bind(this)(Kt)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(Se){var ye=a[Se];return ye||Se.split("_")[0]},y=function(){(0,Be.ET)(!1,"Not match any format. Please help to fire a issue about this.")},z={getNow:function(){return de()()},getFixedDate:function(Se){return de()(Se,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(Se){return Se.endOf("month")},getWeekDay:function(Se){var ye=Se.locale("en");return ye.weekday()+ye.localeData().firstDayOfWeek()},getYear:function(Se){return Se.year()},getMonth:function(Se){return Se.month()},getDate:function(Se){return Se.date()},getHour:function(Se){return Se.hour()},getMinute:function(Se){return Se.minute()},getSecond:function(Se){return Se.second()},addYear:function(Se,ye){return Se.add(ye,"year")},addMonth:function(Se,ye){return Se.add(ye,"month")},addDate:function(Se,ye){return Se.add(ye,"day")},setYear:function(Se,ye){return Se.year(ye)},setMonth:function(Se,ye){return Se.month(ye)},setDate:function(Se,ye){return Se.date(ye)},setHour:function(Se,ye){return Se.hour(ye)},setMinute:function(Se,ye){return Se.minute(ye)},setSecond:function(Se,ye){return Se.second(ye)},isAfter:function(Se,ye){return Se.isAfter(ye)},isValidate:function(Se){return Se.isValid()},locale:{getWeekFirstDay:function(Se){return de()().locale(x(Se)).localeData().firstDayOfWeek()},getWeekFirstDate:function(Se,ye){return ye.locale(x(Se)).weekday(0)},getWeek:function(Se,ye){return ye.locale(x(Se)).week()},getShortWeekDays:function(Se){return de()().locale(x(Se)).localeData().weekdaysMin()},getShortMonths:function(Se){return de()().locale(x(Se)).localeData().monthsShort()},format:function(Se,ye,tt){return ye.locale(x(Se)).format(tt)},parse:function(Se,ye,tt){for(var it=x(Se),qt=0;qt1&&(Kt=Se.addDate(Kt,-7)),Kt}function Te(me,Se,ye){var tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Se){case"year":return ye.addYear(me,tt*10);case"quarter":case"month":return ye.addYear(me,tt);default:return ye.addMonth(me,tt)}}function Ft(me,Se){var ye=Se.generateConfig,tt=Se.locale,it=Se.format;return typeof it=="function"?it(me):ye.locale.format(tt.locale,me,it)}function zt(me,Se){var ye=Se.generateConfig,tt=Se.locale,it=Se.formatList;return!me||typeof it[0]=="function"?null:ye.locale.parse(tt.locale,me,it)}function wt(me){var Se=me.cellDate,ye=me.mode,tt=me.disabledDate,it=me.generateConfig;if(!tt)return!1;var qt=function(Ia,kn,sa){for(var Oa=kn;Oa<=sa;){var Br=void 0;switch(Ia){case"date":{if(Br=it.setDate(Se,Oa),!tt(Br))return!1;break}case"month":{if(Br=it.setMonth(Se,Oa),!wt({cellDate:Br,mode:"month",generateConfig:it,disabledDate:tt}))return!1;break}case"year":{if(Br=it.setYear(Se,Oa),!wt({cellDate:Br,mode:"year",generateConfig:it,disabledDate:tt}))return!1;break}}Oa+=1}return!0};switch(ye){case"date":case"week":return tt(Se);case"month":{var Kt=1,Zn=it.getDate(it.getEndDate(Se));return qt("date",Kt,Zn)}case"quarter":{var Tn=Math.floor(it.getMonth(Se)/3)*3,aa=Tn+2;return qt("month",Tn,aa)}case"year":return qt("month",0,11);case"decade":{var Ca=it.getYear(Se),ga=Math.floor(Ca/De)*De,mn=ga+De-1;return qt("year",ga,mn)}}}function kt(me,Se){var ye=Se.formatList,tt=Se.generateConfig,it=Se.locale;return(0,ut.Z)(function(){if(!me)return[[""],""];for(var qt="",Kt=[],Zn=0;Zn1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(aa.current),Oa){Tn(sa);return}aa.current=requestAnimationFrame(function(){Tn(sa)})}var ga=kt(Zn,{formatList:ye,generateConfig:tt,locale:it}),mn=(0,Lt.Z)(ga,2),Ba=mn[1];function Ia(sa){Ca(sa)}function kn(){var sa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ca(null,sa)}return(0,ie.useEffect)(function(){kn(!0)},[me]),(0,ie.useEffect)(function(){return function(){return cancelAnimationFrame(aa.current)}},[]),[Ba,Ia,kn]}var cn=ee(10228),Ln=ee(16089),Jn=ee(26407),va=ee(29194),Da=new Map;function Na(me,Se){var ye;function tt(){(0,va.Z)(me)?Se():ye=(0,Ln.Z)(function(){tt()})}return tt(),function(){Ln.Z.cancel(ye)}}function ar(me,Se,ye){if(Da.get(me)&&cancelAnimationFrame(Da.get(me)),ye<=0){Da.set(me,requestAnimationFrame(function(){me.scrollTop=Se}));return}var tt=Se-me.scrollTop,it=tt/ye*10;Da.set(me,requestAnimationFrame(function(){me.scrollTop+=it,me.scrollTop!==Se&&ar(me,Se,ye-10)}))}function $a(me,Se){var ye=Se.onLeftRight,tt=Se.onCtrlLeftRight,it=Se.onUpDown,qt=Se.onPageUpDown,Kt=Se.onEnter,Zn=me.which,Tn=me.ctrlKey,aa=me.metaKey;switch(Zn){case cn.Z.LEFT:if(Tn||aa){if(tt)return tt(-1),!0}else if(ye)return ye(-1),!0;break;case cn.Z.RIGHT:if(Tn||aa){if(tt)return tt(1),!0}else if(ye)return ye(1),!0;break;case cn.Z.UP:if(it)return it(-1),!0;break;case cn.Z.DOWN:if(it)return it(1),!0;break;case cn.Z.PAGE_UP:if(qt)return qt(-1),!0;break;case cn.Z.PAGE_DOWN:if(qt)return qt(1),!0;break;case cn.Z.ENTER:if(Kt)return Kt(),!0;break}return!1}function fa(me,Se,ye,tt){var it=me;if(!it)switch(Se){case"time":it=tt?"hh:mm:ss a":"HH:mm:ss";break;case"week":it="gggg-wo";break;case"month":it="YYYY-MM";break;case"quarter":it="YYYY-[Q]Q";break;case"year":it="YYYY";break;default:it=ye?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return it}function yr(me,Se,ye){var tt=me==="time"?8:10,it=typeof Se=="function"?Se(ye.getNow()).length:Se.length;return Math.max(tt,it)+2}var en=null,On=new Set;function ia(me){return!en&&typeof window!="undefined"&&window.addEventListener&&(en=function(ye){(0,Jn.Z)(On).forEach(function(tt){tt(ye)})},window.addEventListener("mousedown",en)),On.add(me),function(){On.delete(me),On.size===0&&(window.removeEventListener("mousedown",en),en=null)}}function xa(me){var Se=me.target;if(me.composed&&Se.shadowRoot){var ye;return((ye=me.composedPath)===null||ye===void 0?void 0:ye.call(me)[0])||Se}return Se}var We=function(Se){return Se==="month"||Se==="date"?"year":Se},It=function(Se){return Se==="date"?"month":Se},_t=function(Se){return Se==="month"||Se==="date"?"quarter":Se},Vt=function(Se){return Se==="date"?"week":Se},Wt={year:We,month:It,quarter:_t,week:Vt,time:null,date:null};function Rn(me,Se){return me.some(function(ye){return ye&&ye.contains(Se)})}function wn(me){var Se=me.open,ye=me.value,tt=me.isClickOutside,it=me.triggerOpen,qt=me.forwardKeyDown,Kt=me.onKeyDown,Zn=me.blurToCancel,Tn=me.onSubmit,aa=me.onCancel,Ca=me.onFocus,ga=me.onBlur,mn=me.changeOnBlur,Ba=(0,ie.useState)(!1),Ia=(0,Lt.Z)(Ba,2),kn=Ia[0],sa=Ia[1],Oa=(0,ie.useState)(!1),Br=(0,Lt.Z)(Oa,2),vr=Br[0],wr=Br[1],jr=(0,ie.useRef)(!1),Lr=(0,ie.useRef)(!1),Gn=(0,ie.useRef)(!1),Ko={onMouseDown:function(){sa(!0),it(!0)},onKeyDown:function(zo){var qo=function(){Gn.current=!0};if(Kt(zo,qo),!Gn.current){switch(zo.which){case cn.Z.ENTER:{Se?Tn()!==!1&&sa(!0):it(!0),zo.preventDefault();return}case cn.Z.TAB:{kn&&Se&&!zo.shiftKey?(sa(!1),zo.preventDefault()):!kn&&Se&&!qt(zo)&&zo.shiftKey&&(sa(!0),zo.preventDefault());return}case cn.Z.ESC:{sa(!0),aa();return}}!Se&&![cn.Z.SHIFT].includes(zo.which)?it(!0):kn||qt(zo)}},onFocus:function(zo){sa(!0),wr(!0),Ca&&Ca(zo)},onBlur:function(zo){if(jr.current||!tt(document.activeElement)){jr.current=!1;return}Zn?setTimeout(function(){for(var qo=document,ii=qo.activeElement;ii&&ii.shadowRoot;)ii=ii.shadowRoot.activeElement;tt(ii)&&aa()},0):Se&&(it(!1),Lr.current&&Tn()),wr(!1),ga==null||ga(zo)}};return(0,ie.useEffect)(function(){Lr.current=!1},[Se]),(0,ie.useEffect)(function(){Lr.current=!0},[ye]),(0,ie.useEffect)(function(){return ia(function(fo){var zo=xa(fo),qo=tt(zo);Se&&(qo?!mn&&(!vr||qo)&&it(!1):(jr.current=!0,(0,Ln.Z)(function(){jr.current=!1})))})}),[Ko,{focused:vr,typing:kn}]}function vt(me,Se){return ie.useMemo(function(){return me||(Se?((0,Be.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(Se).map(function(ye){var tt=(0,Lt.Z)(ye,2),it=tt[0],qt=tt[1];return{label:it,value:qt}})):[])},[me,Se])}var Bt=ee(34280);function pt(me){var Se=me.valueTexts,ye=me.onTextChange,tt=ie.useState(""),it=(0,Lt.Z)(tt,2),qt=it[0],Kt=it[1],Zn=ie.useRef([]);Zn.current=Se;function Tn(Ca){Kt(Ca),ye(Ca)}function aa(){Kt(Zn.current[0])}return(0,Bt.Z)(function(){Se.every(function(Ca){return Ca!==qt})&&aa()},[Se.join("||")]),[qt,Tn,aa]}var Sn=ie.createContext({}),Wn=Sn,An=ee(39559);function ka(me){var Se=me.cellRender,ye=me.monthCellRender,tt=me.dateRender,it=ie.useMemo(function(){if(Se)return Se;if(!(!ye&&!tt))return function(qt,Kt){var Zn=qt;return tt&&Kt.type==="date"?tt(Zn,Kt.today):ye&&Kt.type==="month"?ye(Zn,Kt.locale):Kt.originNode}},[Se,ye,tt]);return it}function pa(me,Se){for(var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",tt=String(me);tt.length=1?ye|0:1,Kt=me;Kt<=Se;Kt+=qt)it.push({label:pa(Kt,2),value:Kt,disabled:(tt||[]).includes(Kt)});return it}function Er(me){var Se=me.generateConfig,ye=me.prefixCls,tt=me.operationRef,it=me.activeColumnIndex,qt=me.value,Kt=me.showHour,Zn=me.showMinute,Tn=me.showSecond,aa=me.use12Hours,Ca=me.hourStep,ga=Ca===void 0?1:Ca,mn=me.minuteStep,Ba=mn===void 0?1:mn,Ia=me.secondStep,kn=Ia===void 0?1:Ia,sa=me.disabledHours,Oa=me.disabledMinutes,Br=me.disabledSeconds,vr=me.disabledTime,wr=me.hideDisabledOptions,jr=me.onSelect,Lr=me.cellRender,Gn=me.locale,Ko=[],fo="".concat(ye,"-content"),zo="".concat(ye,"-time-panel"),qo,ii=qt?Se.getHour(qt):-1,pi=ii,zi=qt?Se.getMinute(qt):-1,oo=qt?Se.getSecond(qt):-1,Lo=Se.getNow(),To=ie.useMemo(function(){if(vr){var vn=vr(Lo);return[vn.disabledHours,vn.disabledMinutes,vn.disabledSeconds]}return[sa,Oa,Br]},[sa,Oa,Br,vr,Lo]),wi=(0,Lt.Z)(To,3),Ni=wi[0],fi=wi[1],Ro=wi[2],ol=Fr(0,23,ga,Ni&&Ni()),Xi=(0,ut.Z)(function(){return ol},ol,no);aa&&(qo=pi>=12,pi%=12);var Ee=ie.useMemo(function(){if(!aa)return[!1,!1];var vn=[!0,!0];return Xi.forEach(function(pn){var qn=pn.disabled,na=pn.value;qn||(na>=12?vn[1]=!1:vn[0]=!1)}),vn},[aa,Xi]),Ce=(0,Lt.Z)(Ee,2),Qe=Ce[0],rt=Ce[1],Pt=ie.useMemo(function(){return aa?Xi.filter(qo?function(vn){return vn.value>=12}:function(vn){return vn.value<12}).map(function(vn){var pn=vn.value%12,qn=pn===0?"12":pa(pn,2);return(0,ct.Z)((0,ct.Z)({},vn),{},{label:qn,value:pn})}):Xi},[aa,qo,Xi]),Et=Fr(0,59,Ba,fi&&fi(ii)),$t=Fr(0,59,kn,Ro&&Ro(ii,zi)),Yt=Ua({value:qt,generateConfig:Se,disabledMinutes:fi,disabledSeconds:Ro,minutes:Et,seconds:$t,use12Hours:aa});tt.current={onUpDown:function(pn){var qn=Ko[it];if(qn)for(var na=qn.units.findIndex(function(Xa){return Xa.value===qn.value}),ca=qn.units.length,Aa=1;Aa2&&arguments[2]!==void 0?arguments[2]:!1;(or===sa||Ot)&&(Tr(pe),Ko&&Ko(pe),Yt&&Yt(pe,Pe),fo&&!dn(Tn,pe,rr)&&!(Ba!=null&&Ba(pe))&&fo(pe))},wo=function(pe){if(sr.includes(or)){var Pe,Ot,tn=or==="date";switch(pe===cn.Z.PAGE_UP||pe===cn.Z.PAGE_DOWN?Ot=tn?Tn.addMonth:Tn.addYear:Ot=tn?Tn.addDate:Tn.addMonth,pe){case cn.Z.LEFT:case cn.Z.PAGE_UP:Pe=Ot(Gr,-1);break;case cn.Z.RIGHT:case cn.Z.PAGE_DOWN:Pe=Ot(Gr,1);break;case cn.Z.UP:case cn.Z.DOWN:Pe=Ot(Gr,Number("".concat(pe===cn.Z.UP?"-":"").concat(tn?Xe:ko)));break}if(Pe)return!(Ba!=null&&Ba(Pe))}return!0},yi=function(pe){if(Aa.current&&Aa.current.onKeyDown){var Pe=!0,Ot=pe.which;if([cn.Z.LEFT,cn.Z.RIGHT,cn.Z.UP,cn.Z.DOWN,cn.Z.PAGE_UP,cn.Z.PAGE_DOWN,cn.Z.ENTER].includes(Ot)&&(pe.preventDefault(),Ot!==cn.Z.ENTER&&Br===0&&(Pe=wo(Ot))),Pe)return Aa.current.onKeyDown(pe)}return(0,Be.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Do=function(pe){Aa.current&&Aa.current.onBlur&&Aa.current.onBlur(pe)};$t&&qn!=="right"&&($t.current={onKeyDown:yi,onClose:function(){Aa.current&&Aa.current.onClose&&Aa.current.onClose()}}),ie.useEffect(function(){aa&&!Ht.current&&zr(aa)},[aa]),ie.useEffect(function(){Ht.current=!1},[]);var Xr,bi=ka({cellRender:Ee,monthCellRender:Xi,dateRender:ol}),Qr=(0,ct.Z)((0,ct.Z)({},me),{},{cellRender:bi,operationRef:Aa,prefixCls:it,viewDate:Gr,value:rr,onViewDateChange:tr,sourceMode:Mr,onPanelChange:Bo,disabledDate:Ba});switch(delete Qr.onChange,delete Qr.onSelect,or){case"decade":Xr=ie.createElement(br,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"year":Xr=ie.createElement(Fa,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"month":Xr=ie.createElement(tl,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"quarter":Xr=ie.createElement(kr,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"week":Xr=ie.createElement(Ga,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;case"time":delete Qr.showTime,Xr=ie.createElement(xi,(0,ue.Z)({},Qr,(0,An.Z)(wr)==="object"?wr:null,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}));break;default:wr?Xr=ie.createElement(Go,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}})):Xr=ie.createElement(Ir,(0,ue.Z)({},Qr,{onSelect:function(pe,Pe){tr(pe),Ra(pe,Pe)}}))}var gi,_o,_i=function(){var pe=Tn.getNow(),Pe=Xt(Tn.getHour(pe),Tn.getMinute(pe),Tn.getSecond(pe),Qe?To:1,rt?Ni:1,Pt?Ro:1),Ot=Ue(Tn,pe,Pe[0],Pe[1],Pe[2]);Ra(Ot,"submit")};Ut||(gi=jn(it,or,Lr),wr&&or!=="date"?_o=null:_o=Xn({prefixCls:it,components:zi,needConfirmButton:Ce,okDisabled:!rr||Ba&&Ba(rr),locale:Zn,showNow:vr,onNow:Ce&&_i,onOk:function(){rr&&(Ra(rr,"submit",!0),pi&&pi(rr))}}));var to;if(jr&&or==="date"&&sa==="date"&&!wr){var _r=Tn.getNow(),Yr="".concat(it,"-today-btn"),Zr=Ba&&Ba(_r);to=ie.createElement("a",{className:$e()(Yr,Zr&&"".concat(Yr,"-disabled")),"aria-disabled":Zr,onClick:function(){Zr||Ra(_r,"mouse",!0)}},Zn.today)}return ie.createElement(Wn.Provider,{value:(0,ct.Z)((0,ct.Z)({},Et),{},{mode:or,hideHeader:"hideHeader"in me?Gn:Et.hideHeader,hidePrevBtn:pn&&qn==="right",hideNextBtn:pn&&qn==="left"})},ie.createElement("div",{tabIndex:Br,className:$e()("".concat(it,"-panel"),qt,(Se={},(0,ze.Z)(Se,"".concat(it,"-panel-has-range"),na&&na[0]&&na[1]),(0,ze.Z)(Se,"".concat(it,"-panel-has-range-hover"),ca&&ca[0]&&ca[1]),(0,ze.Z)(Se,"".concat(it,"-panel-rtl"),oo==="rtl"),Se)),style:Kt,onKeyDown:yi,onBlur:Do,onMouseDown:qo},Xr,gi||_o||to?ie.createElement("div",{className:"".concat(it,"-footer")},gi,_o,to):null))}var Ta=Ha,Ja=ee(35593),Rr={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function bo(me){var Se,ye=me.prefixCls,tt=me.popupElement,it=me.popupStyle,qt=me.visible,Kt=me.dropdownClassName,Zn=me.dropdownAlign,Tn=me.transitionName,aa=me.getPopupContainer,Ca=me.children,ga=me.range,mn=me.popupPlacement,Ba=me.direction,Ia="".concat(ye,"-dropdown"),kn=function(){return mn!==void 0?mn:Ba==="rtl"?"bottomRight":"bottomLeft"};return ie.createElement(Ja.Z,{showAction:[],hideAction:[],popupPlacement:kn(),builtinPlacements:Rr,prefixCls:Ia,popupTransitionName:Tn,popup:tt,popupAlign:Zn,popupVisible:qt,popupClassName:$e()(Kt,(Se={},(0,ze.Z)(Se,"".concat(Ia,"-range"),ga),(0,ze.Z)(Se,"".concat(Ia,"-rtl"),Ba==="rtl"),Se)),popupStyle:it,getPopupContainer:aa},Ca)}var $o=bo;function Wo(me){var Se=me.prefixCls,ye=me.presets,tt=me.onClick,it=me.onHover;return ye.length?ie.createElement("div",{className:"".concat(Se,"-presets")},ie.createElement("ul",null,ye.map(function(qt,Kt){var Zn=qt.label,Tn=qt.value;return ie.createElement("li",{key:Kt,onClick:function(){return tt==null?void 0:tt(lr(Tn))},onMouseEnter:function(){return it==null?void 0:it(lr(Tn))},onMouseLeave:function(){return it==null?void 0:it(null)}},Zn)}))):null}function Ti(me){var Se=me.picker,ye=me.disabledHours,tt=me.disabledMinutes,it=me.disabledSeconds;Se==="time"&&(ye||tt||it)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function Ji(me,Se,ye){var tt=(0,An.Z)(Se)==="object"?Se.clearIcon:ye;return tt||ie.createElement("span",{className:"".concat(me,"-clear-btn")})}function al(me){var Se,ye=me,tt=ye.prefixCls,it=tt===void 0?"rc-picker":tt,qt=ye.id,Kt=ye.name,Zn=ye.tabIndex,Tn=ye.style,aa=ye.className,Ca=ye.dropdownClassName,ga=ye.dropdownAlign,mn=ye.popupStyle,Ba=ye.transitionName,Ia=ye.generateConfig,kn=ye.locale,sa=ye.inputReadOnly,Oa=ye.allowClear,Br=ye.autoFocus,vr=ye.showTime,wr=ye.picker,jr=wr===void 0?"date":wr,Lr=ye.format,Gn=ye.use12Hours,Ko=ye.value,fo=ye.defaultValue,zo=ye.presets,qo=ye.open,ii=ye.defaultOpen,pi=ye.defaultOpenValue,zi=ye.suffixIcon,oo=ye.clearIcon,Lo=ye.disabled,To=ye.disabledDate,wi=ye.placeholder,Ni=ye.getPopupContainer,fi=ye.pickerRef,Ro=ye.panelRender,ol=ye.onChange,Xi=ye.onOpenChange,Ee=ye.onFocus,Ce=ye.onBlur,Qe=ye.onMouseDown,rt=ye.onMouseUp,Pt=ye.onMouseEnter,Et=ye.onMouseLeave,$t=ye.onContextMenu,Yt=ye.onClick,Ut=ye.onKeyDown,Cn=ye.onSelect,vn=ye.direction,pn=ye.autoComplete,qn=pn===void 0?"off":pn,na=ye.inputRender,ca=ye.changeOnBlur,Aa=ie.useRef(null),Ht=jr==="date"&&!!vr||jr==="time",Xa=vt(zo),_a=Ea(fa(Lr,jr,vr,Gn)),rr=ie.useRef(null),Tr=ie.useRef(null),$r=ie.useRef(null),Dr=(0,mt.Z)(null,{value:Ko,defaultValue:fo}),Gr=(0,Lt.Z)(Dr,2),zr=Gr[0],tr=Gr[1],nr=ie.useState(zr),fr=(0,Lt.Z)(nr,2),Wa=fr[0],or=fr[1],Kr=ie.useRef(null),Po=(0,mt.Z)(!1,{value:qo,defaultValue:ii,postState:function(ja){return Lo?!1:ja},onChange:function(ja){Xi&&Xi(ja),!ja&&Kr.current&&Kr.current.onClose&&Kr.current.onClose()}}),lo=(0,Lt.Z)(Po,2),Mr=lo[0],vo=lo[1],Bo=kt(Wa,{formatList:_a,generateConfig:Ia,locale:kn}),Ra=(0,Lt.Z)(Bo,2),wo=Ra[0],yi=Ra[1],Do=pt({valueTexts:wo,onTextChange:function(ja){var qr=zt(ja,{locale:kn,formatList:_a,generateConfig:Ia});qr&&(!To||!To(qr))&&or(qr)}}),Xr=(0,Lt.Z)(Do,3),bi=Xr[0],Qr=Xr[1],gi=Xr[2],_o=function(ja){or(ja),tr(ja),ol&&!dn(Ia,zr,ja)&&ol(ja,ja?Ft(ja,{generateConfig:Ia,locale:kn,format:_a[0]}):"")},_i=function(ja){Lo&&ja||vo(ja)},to=function(ja){return Mr&&Kr.current&&Kr.current.onKeyDown?Kr.current.onKeyDown(ja):((0,Be.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},_r=function(){for(var ja=arguments.length,qr=new Array(ja),cr=0;crmn(aa);case"month":return ga(kn)>ga(aa);case"week":return Ca(kn)>Ca(aa);default:return!yt(Zn,kn,aa)&&Zn.isAfter(kn,aa)}return!1},[qt,Kt[1],aa,Se]),Ia=ie.useCallback(function(kn){if(Kt[1]||qt&&qt(kn))return!0;if(Kt[0]&&Tn)return!yt(Zn,kn,aa)&&Zn.isAfter(Tn,kn);if(!Se&&Tn)switch(ye){case"quarter":return mn(kn)0&&arguments[0]!==void 0?arguments[0]:!1,Jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Io=null;Yn&&Si&&Si[0]&&Si[1]&&kn.isAfter(Si[1],Si[0])&&(Io=Si);var Pi=Gn;if(Gn&&(0,An.Z)(Gn)==="object"&&Gn.defaultValue){var Yi=Gn.defaultValue;Pi=(0,ct.Z)((0,ct.Z)({},Gn),{},{defaultValue:Pa(Yi,xn)||void 0})}return ie.createElement(Sr.Provider,{value:{inRange:!0,panelPosition:Ei,rangedValue:cl||ce,hoverRangedValue:Io}},ie.createElement(Ta,(0,ue.Z)({},me,Jr,{cellRender:Es,showTime:Pi,mode:tn[xn],generateConfig:kn,style:void 0,direction:Gr,disabledDate:xn===0?ta:oa,disabledTime:function(Ql){return To?To(Ql,xn===0?"start":"end"):!1},className:$e()((0,ze.Z)({},"".concat(Kt,"-panel-focused"),xn===0?!Ml:!Vl)),value:Pa(ce,xn),locale:sa,tabIndex:-1,onPanelChange:function(Ql,iu){xn===0&&wl(!0),xn===1&&Jo(!0),ma(Dn(tn,iu,xn),Dn(ce,Ql,xn));var ql=Ql;Ei==="right"&&tn[xn]===iu&&(ql=Te(ql,iu,kn,-1)),_r(ql,xn)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:xn===0?Pa(ce,1):Pa(ce,0)})))}var Va=0,io=0;if(xn&&Po.current&&Mr.current&&Kr.current&&Ra.current){Va=Po.current.offsetWidth+Mr.current.offsetWidth;var Uo=Ra.current.offsetLeft>Va?Ra.current.offsetLeft-Va:Ra.current.offsetLeft,ci=Kr.current.offsetWidth,ti=Ra.current.offsetWidth;ci&&ti&&Va>ci-ti-(Gr==="rtl"?0:Uo)&&(io=Va)}var jo=Gr==="rtl"?{right:Va}:{left:Va};function Oi(){var Ei,Jr=jn(Kt,tn[xn],Yt),Io=Xn({prefixCls:Kt,components:$r,needConfirmButton:Wa,okDisabled:!Pa(ce,xn)||Lo&&Lo(ce[xn]),locale:sa,onOk:function(){var lu=Pa(ce,xn);lu&&(cr(ce,xn),rr==null||rr(ce),gn(!1,xn,"confirm"))}});if(Lr!=="time"&&!Gn){var Pi=to(xn),Yi=Te(Pi,Lr,kn),Pu=tn[xn],Ql=Pu===Lr,iu=ds(Ql?"left":!1,{pickerValue:Pi,onPickerValueChange:function(lu){_r(lu,xn)}}),ql=ds("right",{pickerValue:Yi,onPickerValueChange:function(lu){_r(Te(lu,Lr,kn,-1),xn)}});Gr==="rtl"?Ei=ie.createElement(ie.Fragment,null,ql,Ql&&iu):Ei=ie.createElement(ie.Fragment,null,iu,Ql&&ql)}else Ei=ds();var cs=ie.createElement("div",{className:"".concat(Kt,"-panel-layout")},ie.createElement(Wo,{prefixCls:Kt,presets:vs,onClick:function(lu){cr(lu,null),gn(!1,xn,"preset")},onHover:function(lu){Bl(lu)}}),ie.createElement("div",null,ie.createElement("div",{className:"".concat(Kt,"-panels")},Ei),(Jr||Io)&&ie.createElement("div",{className:"".concat(Kt,"-footer")},Jr,Io)));return Ro&&(cs=Ro(cs)),ie.createElement("div",{className:"".concat(Kt,"-panel-container"),style:{marginLeft:io},ref:Kr,onMouseDown:function(lu){lu.preventDefault()}},cs)}var Gi=ie.createElement("div",{className:$e()("".concat(Kt,"-range-wrapper"),"".concat(Kt,"-").concat(Lr,"-range-wrapper")),style:{minWidth:ya}},ie.createElement("div",{ref:Ra,className:"".concat(Kt,"-range-arrow"),style:jo}),Oi()),Cl;Qe&&(Cl=ie.createElement("span",{className:"".concat(Kt,"-suffix"),onMouseDown:function(Jr){Jr.preventDefault()}},Qe));var $l=Ji(Kt,Ce,rt),Su=ie.createElement("span",{onMouseDown:function(Jr){Jr.preventDefault(),Jr.stopPropagation()},onMouseUp:function(Jr){Jr.preventDefault(),Jr.stopPropagation();var Io=Qr;Do[0]||(Io=Dn(Io,null,0)),Do[1]||(Io=Dn(Io,null,1)),cr(Io,null),gn(!1,xn,"clear")},className:"".concat(Kt,"-clear"),role:"button"},$l),Ol=Ce&&(Pa(Qr,0)&&!Do[0]||Pa(Qr,1)&&!Do[1]),Ul={size:yr(Lr,wo[0],kn)},Eu=0,Du=0;Po.current&&lo.current&&Mr.current&&(xn===0?Du=Po.current.offsetWidth:(Eu=Va,Du=lo.current.offsetWidth));var ps=Gr==="rtl"?{right:Eu}:{left:Eu},hs=function(Jr,Io){var Pi=Dn(ce,Jr,xn);if(Io==="submit"||Io!=="key"&&!Wa){cr(Pi,xn),xn===0?wl():Jo();var Yi=xn===0?1:0;Do[Yi]?gn(!1,!1,"confirm"):gn(!1,xn,"confirm")}else pe(Pi)};return ie.createElement(Wn.Provider,{value:{operationRef:yi,hideHeader:Lr==="time",onDateMouseEnter:vu,onDateMouseLeave:pu,hideRanges:!0,onSelect:hs,open:Yn}},ie.createElement($o,{visible:Yn,popupElement:Gi,popupStyle:Ca,prefixCls:Kt,dropdownClassName:ga,dropdownAlign:Ba,getPopupContainer:Ia,transitionName:mn,range:!0,direction:Gr},ie.createElement("div",(0,ue.Z)({ref:or,className:$e()(Kt,"".concat(Kt,"-range"),aa,(Se={},(0,ze.Z)(Se,"".concat(Kt,"-disabled"),Do[0]&&Do[1]),(0,ze.Z)(Se,"".concat(Kt,"-focused"),xn===0?el:Sl),(0,ze.Z)(Se,"".concat(Kt,"-rtl"),Gr==="rtl"),Se)),style:Tn,onClick:kl,onMouseEnter:Ht,onMouseLeave:Xa,onMouseDown:Ku,onMouseUp:Aa},(0,Nt.Z)(me,{aria:!0,data:!0})),ie.createElement("div",{className:$e()("".concat(Kt,"-input"),(ye={},(0,ze.Z)(ye,"".concat(Kt,"-input-active"),xn===0),(0,ze.Z)(ye,"".concat(Kt,"-input-placeholder"),!!ul),ye)),ref:Po},ie.createElement("input",(0,ue.Z)({id:Zn,disabled:Do[0],readOnly:Et||typeof wo[0]=="function"||!Ml,value:ul||xo,onChange:function(Jr){Ri(Jr.target.value)},autoFocus:Br,placeholder:Pa(Oa,0)||"",ref:vo},Di,Ul,{autoComplete:nr}))),ie.createElement("div",{className:"".concat(Kt,"-range-separator"),ref:Mr},zo),ie.createElement("div",{className:$e()("".concat(Kt,"-input"),(tt={},(0,ze.Z)(tt,"".concat(Kt,"-input-active"),xn===1),(0,ze.Z)(tt,"".concat(Kt,"-input-placeholder"),!!qi),tt)),ref:lo},ie.createElement("input",(0,ue.Z)({disabled:Do[1],readOnly:Et||typeof wo[0]=="function"||!Vl,value:qi||oi,onChange:function(Jr){il(Jr.target.value)},placeholder:Pa(Oa,1)||"",ref:Bo},Hi,Ul,{autoComplete:nr}))),ie.createElement("div",{className:"".concat(Kt,"-active-bar"),style:(0,ct.Z)((0,ct.Z)({},ps),{},{width:Du,position:"absolute"})}),Cl,Ol&&Su)))}var El=function(me){(0,Zt.Z)(ye,me);var Se=(0,Fn.Z)(ye);function ye(){var tt;(0,dt.Z)(this,ye);for(var it=arguments.length,qt=new Array(it),Kt=0;Kt{const{lineHeight:it}=me,qt=Math.floor(ye*it)+2,Kt=Math.max((Se-qt)/2,0),Zn=Math.max(Se-qt-Kt,0);return{padding:`${Kt}px ${tt}px ${Zn}px`}},Hu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,cellHeight:it,motionDurationSlow:qt,borderRadiusSM:Kt,motionDurationMid:Zn,cellHoverBg:Tn,lineWidth:aa,lineType:Ca,colorPrimary:ga,cellActiveWithRangeBg:mn,colorTextLightSolid:Ba,controlHeightSM:Ia,cellRangeBorderColor:kn,pickerCellBorderGap:sa,cellHoverWithRangeBg:Oa,cellWidth:Br,colorTextDisabled:vr,cellBgDisabled:wr}=me;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:it,transform:"translateY(-50%)",transition:`all ${qt}`,content:'""'},[tt]:{position:"relative",zIndex:2,display:"inline-block",minWidth:it,height:it,lineHeight:`${it}px`,borderRadius:Kt,transition:`background ${Zn}, border ${Zn}`},"&-range-hover-start, &-range-hover-end":{[tt]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${ye}-in-view), + &:hover:not(${ye}-selected):not(${ye}-range-start):not(${ye}-range-end):not(${ye}-range-hover-start):not(${ye}-range-hover-end)`]:{[tt]:{background:Tn}},[`&-in-view${ye}-today ${tt}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${aa}px ${Ca} ${ga}`,borderRadius:Kt,content:'""'}},[`&-in-view${ye}-in-range`]:{position:"relative","&::before":{background:mn}},[`&-in-view${ye}-selected ${tt}, &-in-view${ye}-range-start ${tt}, &-in-view${ye}-range-end ${tt}`]:{color:Ba,background:ga},[`&-in-view${ye}-range-start:not(${ye}-range-start-single), &-in-view${ye}-range-end:not(${ye}-range-end-single)`]:{"&::before":{background:mn}},[`&-in-view${ye}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${ye}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${ye}-range-hover-start:not(${ye}-in-range):not(${ye}-range-start):not(${ye}-range-end), @@ -151,24 +151,24 @@ &-in-view${ye}-in-range${ye}-range-hover-start::before, ${Se}-panel > :not(${Se}-date-panel) - &-in-view${ye}-in-range${ye}-range-hover-end::before`]:{background:Oa},[`&-in-view${ye}-range-start:not(${ye}-range-start-single):not(${ye}-range-end) ${tt}`]:{borderStartStartRadius:Wt,borderEndStartRadius:Wt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ye}-range-end:not(${ye}-range-end-single):not(${ye}-range-start) ${tt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Wt,borderEndEndRadius:Wt},[`&-range-hover${ye}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ye}-range-hover:first-child::after, + &-in-view${ye}-in-range${ye}-range-hover-end::before`]:{background:Oa},[`&-in-view${ye}-range-start:not(${ye}-range-start-single):not(${ye}-range-end) ${tt}`]:{borderStartStartRadius:Kt,borderEndStartRadius:Kt,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${ye}-range-end:not(${ye}-range-end-single):not(${ye}-range-start) ${tt}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Kt,borderEndEndRadius:Kt},[`&-range-hover${ye}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${ye}-range-hover:first-child::after, tr > &-in-view${ye}-range-hover-end:first-child::after, &-in-view${ye}-start${ye}-range-hover-edge-start${ye}-range-hover-edge-start-near-range::after, &-in-view${ye}-range-hover-edge-start:not(${ye}-range-hover-edge-start-near-range)::after, - &-in-view${ye}-range-hover-start::after`]:{insetInlineStart:(Br-it)/2,borderInlineStart:`${aa}px dashed ${kn}`,borderStartStartRadius:Wt,borderEndStartRadius:Wt},[`tr > &-in-view${ye}-range-hover:last-child::after, + &-in-view${ye}-range-hover-start::after`]:{insetInlineStart:(Br-it)/2,borderInlineStart:`${aa}px dashed ${kn}`,borderStartStartRadius:Kt,borderEndStartRadius:Kt},[`tr > &-in-view${ye}-range-hover:last-child::after, tr > &-in-view${ye}-range-hover-start:last-child::after, &-in-view${ye}-end${ye}-range-hover-edge-end${ye}-range-hover-edge-end-near-range::after, &-in-view${ye}-range-hover-edge-end:not(${ye}-range-hover-edge-end-near-range)::after, - &-in-view${ye}-range-hover-end::after`]:{insetInlineEnd:(Br-it)/2,borderInlineEnd:`${aa}px dashed ${kn}`,borderStartEndRadius:Wt,borderEndEndRadius:Wt},"&-disabled":{color:vr,pointerEvents:"none",[tt]:{background:"transparent"},"&::before":{background:wr}},[`&-disabled${ye}-today ${tt}::before`]:{borderColor:vr}}},xu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,pickerYearMonthCellWidth:it,pickerControlIconSize:qt,cellWidth:Wt,paddingSM:Zn,paddingXS:Tn,paddingXXS:aa,colorBgContainer:Ca,lineWidth:ga,lineType:mn,borderRadiusLG:Ba,colorPrimary:Ia,colorTextHeading:kn,colorSplit:sa,pickerControlIconBorderWidth:Oa,colorIcon:Br,textHeight:vr,motionDurationMid:wr,colorIconHover:jr,fontWeightStrong:Lr,cellHeight:Gn,pickerCellPaddingVertical:Ko,colorTextDisabled:fo,colorText:zo,fontSize:qo,cellHoverWithRangeBg:ii,motionDurationSlow:pi,withoutTimeCellHeight:zi,pickerQuarterPanelContentHeight:oo,colorLink:Lo,colorLinkActive:To,colorLinkHover:wi,cellRangeBorderColor:Ni,borderRadiusSM:fi,colorTextLightSolid:Ro,cellHoverBg:ol,timeColumnHeight:Xi,timeColumnWidth:Ee,timeCellHeight:Ce,controlItemBgActive:Qe,marginXXS:rt,pickerDatePanelPaddingHorizontal:Pt}=me,Et=Wt*7+Pt*2,$t=(Et-Tn*2)/3-it-Zn,Yt=(Et-Tn*2)/4-it;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ca,border:`${ga}px ${mn} ${sa}`,borderRadius:Ba,outline:"none","&-focused":{borderColor:Ia},"&-rtl":{direction:"rtl",[`${Se}-prev-icon, + &-in-view${ye}-range-hover-end::after`]:{insetInlineEnd:(Br-it)/2,borderInlineEnd:`${aa}px dashed ${kn}`,borderStartEndRadius:Kt,borderEndEndRadius:Kt},"&-disabled":{color:vr,pointerEvents:"none",[tt]:{background:"transparent"},"&::before":{background:wr}},[`&-disabled${ye}-today ${tt}::before`]:{borderColor:vr}}},xu=me=>{const{componentCls:Se,pickerCellCls:ye,pickerCellInnerCls:tt,pickerYearMonthCellWidth:it,pickerControlIconSize:qt,cellWidth:Kt,paddingSM:Zn,paddingXS:Tn,paddingXXS:aa,colorBgContainer:Ca,lineWidth:ga,lineType:mn,borderRadiusLG:Ba,colorPrimary:Ia,colorTextHeading:kn,colorSplit:sa,pickerControlIconBorderWidth:Oa,colorIcon:Br,textHeight:vr,motionDurationMid:wr,colorIconHover:jr,fontWeightStrong:Lr,cellHeight:Gn,pickerCellPaddingVertical:Ko,colorTextDisabled:fo,colorText:zo,fontSize:qo,cellHoverWithRangeBg:ii,motionDurationSlow:pi,withoutTimeCellHeight:zi,pickerQuarterPanelContentHeight:oo,colorLink:Lo,colorLinkActive:To,colorLinkHover:wi,cellRangeBorderColor:Ni,borderRadiusSM:fi,colorTextLightSolid:Ro,cellHoverBg:ol,timeColumnHeight:Xi,timeColumnWidth:Ee,timeCellHeight:Ce,controlItemBgActive:Qe,marginXXS:rt,pickerDatePanelPaddingHorizontal:Pt}=me,Et=Kt*7+Pt*2,$t=(Et-Tn*2)/3-it-Zn,Yt=(Et-Tn*2)/4-it;return{[Se]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ca,border:`${ga}px ${mn} ${sa}`,borderRadius:Ba,outline:"none","&-focused":{borderColor:Ia},"&-rtl":{direction:"rtl",[`${Se}-prev-icon, ${Se}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Se}-next-icon, ${Se}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Et},"&-header":{display:"flex",padding:`0 ${Tn}px`,color:kn,borderBottom:`${ga}px ${mn} ${sa}`,"> *":{flex:"none"},button:{padding:0,color:Br,lineHeight:`${vr}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${wr}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:qo,"&:hover":{color:jr}},"&-view":{flex:"auto",fontWeight:Lr,lineHeight:`${vr}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Tn},"&:hover":{color:Ia}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:qt,height:qt,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:qt,height:qt,border:"0 solid currentcolor",borderBlockStartWidth:Oa,borderBlockEndWidth:0,borderInlineStartWidth:Oa,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(qt/2),insetInlineStart:Math.ceil(qt/2),display:"inline-block",width:qt,height:qt,border:"0 solid currentcolor",borderBlockStartWidth:Oa,borderBlockEndWidth:0,borderInlineStartWidth:Oa,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:Gn,fontWeight:"normal"},th:{height:Gn+Ko*2,color:zo,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Ko}px 0`,color:fo,cursor:"pointer","&-in-view":{color:zo}},Hu(me)),[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start ${tt}, &-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:ii,transition:`all ${pi}`,content:'""'}},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-start - ${tt}::after`]:{insetInlineEnd:-(Wt-Gn)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Wt-Gn)/2},[`&-range-hover${Se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:zi*4},[tt]:{padding:`0 ${Tn}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:oo},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ni}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${ga}px ${mn} ${sa}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${vr-2*ga}px`,textAlign:"center","&-extra":{padding:`0 ${Zn}px`,lineHeight:`${vr-2*ga}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ga}px ${mn} ${sa}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Lo,"&:hover":{color:wi},"&:active":{color:To},[`&${Se}-today-btn-disabled`]:{color:fo,cursor:"not-allowed"}},"&-decade-panel":{[tt]:{padding:`0 ${Tn/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${Tn}px`},[tt]:{width:it},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi,[`${Se}-panel-rtl &`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:$t,borderInlineStart:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:$t,borderInlineEnd:`${ga}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:$t,borderInlineEnd:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:$t,borderInlineStart:`${ga}px dashed ${Ni}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Zn}px`},[`${Se}-cell`]:{[`&:hover ${tt}, + ${tt}::after`]:{insetInlineEnd:-(Kt-Gn)/2,insetInlineStart:0},[`&-date-panel ${Se}-cell-in-view${Se}-cell-in-range${Se}-cell-range-hover-end ${tt}::after`]:{insetInlineEnd:0,insetInlineStart:-(Kt-Gn)/2},[`&-range-hover${Se}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-content`]:{height:zi*4},[tt]:{padding:`0 ${Tn}px`}},"&-quarter-panel":{[`${Se}-content`]:{height:oo},[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:Yt,borderInlineEnd:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:Yt,borderInlineStart:`${ga}px dashed ${Ni}`}}},[`&-panel ${Se}-footer`]:{borderTop:`${ga}px ${mn} ${sa}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${vr-2*ga}px`,textAlign:"center","&-extra":{padding:`0 ${Zn}px`,lineHeight:`${vr-2*ga}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${ga}px ${mn} ${sa}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:Lo,"&:hover":{color:wi},"&:active":{color:To},[`&${Se}-today-btn-disabled`]:{color:fo,cursor:"not-allowed"}},"&-decade-panel":{[tt]:{padding:`0 ${Tn/2}px`},[`${Se}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Se}-body`]:{padding:`0 ${Tn}px`},[tt]:{width:it},[`${Se}-cell-range-hover-start::after`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0,[`${Se}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi}},[`${Se}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:fi,borderEndEndRadius:fi,[`${Se}-panel-rtl &`]:{borderStartStartRadius:fi,borderEndStartRadius:fi,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${Se}-cell-range-hover-start::after`]:{insetInlineStart:$t,borderInlineStart:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineEnd:$t,borderInlineEnd:`${ga}px dashed ${Ni}`}},[`${Se}-cell-range-hover-end::after`]:{insetInlineEnd:$t,borderInlineEnd:`${ga}px dashed ${Ni}`,[`${Se}-panel-rtl &`]:{insetInlineStart:$t,borderInlineStart:`${ga}px dashed ${Ni}`}}},"&-week-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Zn}px`},[`${Se}-cell`]:{[`&:hover ${tt}, &-selected ${tt}, - ${tt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${wr}`},"&:first-child:before":{borderStartStartRadius:fi,borderEndStartRadius:fi},"&:last-child:before":{borderStartEndRadius:fi,borderEndEndRadius:fi}},"&:hover td":{"&:before":{background:ol}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ye}`]:{"&:before":{background:Ia},[`&${Se}-cell-week`]:{color:new bl.C(Ro).setAlpha(.5).toHexString()},[tt]:{color:Ro}}},"&-range-hover td:before":{background:Qe}}},"&-date-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Pt}px`},[`${Se}-content`]:{width:Wt*7,th:{width:Wt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${ga}px ${mn} ${sa}`},[`${Se}-date-panel, + ${tt}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${wr}`},"&:first-child:before":{borderStartStartRadius:fi,borderEndStartRadius:fi},"&:last-child:before":{borderStartEndRadius:fi,borderEndEndRadius:fi}},"&:hover td":{"&:before":{background:ol}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${ye}`]:{"&:before":{background:Ia},[`&${Se}-cell-week`]:{color:new bl.C(Ro).setAlpha(.5).toHexString()},[tt]:{color:Ro}}},"&-range-hover td:before":{background:Qe}}},"&-date-panel":{[`${Se}-body`]:{padding:`${Tn}px ${Pt}px`},[`${Se}-content`]:{width:Kt*7,th:{width:Kt,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${Se}-time-panel`]:{borderInlineStart:`${ga}px ${mn} ${sa}`},[`${Se}-date-panel, ${Se}-time-panel`]:{transition:`opacity ${pi}`},"&-active":{[`${Se}-date-panel, - ${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:Xi},"&-column":{flex:"1 0 auto",width:Ee,margin:`${aa}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${wr}`,overflowX:"hidden","&::after":{display:"block",height:Xi-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ga}px ${mn} ${sa}`},"&-active":{background:new bl.C(Qe).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:rt,[`${Se}-time-panel-cell-inner`]:{display:"block",width:Ee-2*rt,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ee-Ce)/2,color:zo,lineHeight:`${Ce}px`,borderRadius:fi,cursor:"pointer",transition:`background ${wr}`,"&:hover":{background:ol}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Qe}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:fo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:Xi-Ce+aa*2}}}},Fu=me=>{const{componentCls:Se,colorBgContainer:ye,colorError:tt,errorActiveShadow:it,colorWarning:qt,warningActiveShadow:Wt}=me;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:tt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:tt,activeShadow:it}))),[`${Se}-active-bar`]:{background:tt}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:qt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:qt,activeShadow:Wt}))),[`${Se}-active-bar`]:{background:qt}}}}},Fl=me=>{const{componentCls:Se,antCls:ye,controlHeight:tt,fontSize:it,paddingInline:qt,colorBgContainer:Wt,lineWidth:Zn,lineType:Tn,colorBorder:aa,borderRadius:Ca,motionDurationMid:ga,colorBgContainerDisabled:mn,colorTextDisabled:Ba,colorTextPlaceholder:Ia,controlHeightLG:kn,fontSizeLG:sa,controlHeightSM:Oa,paddingInlineSM:Br,paddingXS:vr,marginXS:wr,colorTextDescription:jr,lineWidthBold:Lr,lineHeight:Gn,colorPrimary:Ko,motionDurationSlow:fo,zIndexPopup:zo,paddingXXS:qo,paddingSM:ii,textHeight:pi,cellActiveWithRangeBg:zi,colorPrimaryBorder:oo,sizePopupArrow:Lo,borderRadiusXS:To,borderRadiusOuter:wi,colorBgElevated:Ni,borderRadiusLG:fi,boxShadowSecondary:Ro,borderRadiusSM:ol,colorSplit:Xi,cellHoverBg:Ee,presetsWidth:Ce,presetsMaxWidth:Qe,boxShadowPopoverArrow:rt,colorTextQuaternary:Pt}=me;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),Il(me,tt,it,qt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Wt,lineHeight:1,border:`${Zn}px ${Tn} ${aa}`,borderRadius:Ca,transition:`border ${ga}, box-shadow ${ga}`,"&:hover, &-focused":Object.assign({},(0,ji.pU)(me)),"&-focused":Object.assign({},(0,ji.M1)(me)),[`&${Se}-disabled`]:{background:mn,borderColor:aa,cursor:"not-allowed",[`${Se}-suffix`]:{color:Pt}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ji.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ia}}},"&-large":Object.assign(Object.assign({},Il(me,kn,sa,qt)),{[`${Se}-input > input`]:{fontSize:sa}}),"&-small":Object.assign({},Il(me,Oa,it,Br)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:vr/2,color:Ba,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:wr}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ba,lineHeight:1,background:Wt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ga}, color ${ga}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:sa,color:Ba,fontSize:sa,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:jr},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:qt},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-Zn,height:Lr,marginInlineStart:qt,background:Ko,opacity:0,transition:`all ${fo} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${vr}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Br},[`${Se}-active-bar`]:{marginInlineStart:Br}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),xu(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:zo,[`&${Se}-dropdown-hidden`]:{display:"none"},[`&${Se}-dropdown-placement-bottomLeft`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topLeft, + ${Se}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${Se}-content`]:{display:"flex",flex:"auto",height:Xi},"&-column":{flex:"1 0 auto",width:Ee,margin:`${aa}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${wr}`,overflowX:"hidden","&::after":{display:"block",height:Xi-Ce,content:'""'},"&:not(:first-child)":{borderInlineStart:`${ga}px ${mn} ${sa}`},"&-active":{background:new bl.C(Qe).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Se}-time-panel-cell`]:{marginInline:rt,[`${Se}-time-panel-cell-inner`]:{display:"block",width:Ee-2*rt,height:Ce,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Ee-Ce)/2,color:zo,lineHeight:`${Ce}px`,borderRadius:fi,cursor:"pointer",transition:`background ${wr}`,"&:hover":{background:ol}},"&-selected":{[`${Se}-time-panel-cell-inner`]:{background:Qe}},"&-disabled":{[`${Se}-time-panel-cell-inner`]:{color:fo,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${Se}-time-panel-column:after`]:{height:Xi-Ce+aa*2}}}},Fu=me=>{const{componentCls:Se,colorBgContainer:ye,colorError:tt,errorActiveShadow:it,colorWarning:qt,warningActiveShadow:Kt}=me;return{[`${Se}:not(${Se}-disabled)`]:{[`&${Se}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:tt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:tt,activeShadow:it}))),[`${Se}-active-bar`]:{background:tt}},[`&${Se}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:ye,borderColor:qt},[`&${Se}-focused, &:focus`]:Object.assign({},(0,ji.M1)((0,zu.TS)(me,{activeBorderColor:qt,activeShadow:Kt}))),[`${Se}-active-bar`]:{background:qt}}}}},Fl=me=>{const{componentCls:Se,antCls:ye,controlHeight:tt,fontSize:it,paddingInline:qt,colorBgContainer:Kt,lineWidth:Zn,lineType:Tn,colorBorder:aa,borderRadius:Ca,motionDurationMid:ga,colorBgContainerDisabled:mn,colorTextDisabled:Ba,colorTextPlaceholder:Ia,controlHeightLG:kn,fontSizeLG:sa,controlHeightSM:Oa,paddingInlineSM:Br,paddingXS:vr,marginXS:wr,colorTextDescription:jr,lineWidthBold:Lr,lineHeight:Gn,colorPrimary:Ko,motionDurationSlow:fo,zIndexPopup:zo,paddingXXS:qo,paddingSM:ii,textHeight:pi,cellActiveWithRangeBg:zi,colorPrimaryBorder:oo,sizePopupArrow:Lo,borderRadiusXS:To,borderRadiusOuter:wi,colorBgElevated:Ni,borderRadiusLG:fi,boxShadowSecondary:Ro,borderRadiusSM:ol,colorSplit:Xi,cellHoverBg:Ee,presetsWidth:Ce,presetsMaxWidth:Qe,boxShadowPopoverArrow:rt,colorTextQuaternary:Pt}=me;return[{[Se]:Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),Il(me,tt,it,qt)),{position:"relative",display:"inline-flex",alignItems:"center",background:Kt,lineHeight:1,border:`${Zn}px ${Tn} ${aa}`,borderRadius:Ca,transition:`border ${ga}, box-shadow ${ga}`,"&:hover, &-focused":Object.assign({},(0,ji.pU)(me)),"&-focused":Object.assign({},(0,ji.M1)(me)),[`&${Se}-disabled`]:{background:mn,borderColor:aa,cursor:"not-allowed",[`${Se}-suffix`]:{color:Pt}},[`&${Se}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${Se}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ji.ik)(me)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${Se}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Ia}}},"&-large":Object.assign(Object.assign({},Il(me,kn,sa,qt)),{[`${Se}-input > input`]:{fontSize:sa}}),"&-small":Object.assign({},Il(me,Oa,it,Br)),[`${Se}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:vr/2,color:Ba,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:wr}}},[`${Se}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ba,lineHeight:1,background:Kt,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${ga}, color ${ga}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},[`${Se}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:sa,color:Ba,fontSize:sa,verticalAlign:"top",cursor:"default",[`${Se}-focused &`]:{color:jr},[`${Se}-range-separator &`]:{[`${Se}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Se}-clear`]:{insetInlineEnd:qt},"&:hover":{[`${Se}-clear`]:{opacity:1}},[`${Se}-active-bar`]:{bottom:-Zn,height:Lr,marginInlineStart:qt,background:Ko,opacity:0,transition:`all ${fo} ease-out`,pointerEvents:"none"},[`&${Se}-focused`]:{[`${Se}-active-bar`]:{opacity:1}},[`${Se}-range-separator`]:{alignItems:"center",padding:`0 ${vr}px`,lineHeight:1},[`&${Se}-small`]:{[`${Se}-clear`]:{insetInlineEnd:Br},[`${Se}-active-bar`]:{marginInlineStart:Br}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,Zu.Wf)(me)),xu(me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:zo,[`&${Se}-dropdown-hidden`]:{display:"none"},[`&${Se}-dropdown-placement-bottomLeft`]:{[`${Se}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Se}-dropdown-placement-topLeft`]:{[`${Se}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topLeft, &${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-topRight, &${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-topLeft, &${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.Qt},[`&${ye}-slide-up-enter${ye}-slide-up-enter-active${Se}-dropdown-placement-bottomLeft, @@ -177,7 +177,7 @@ &${ye}-slide-up-appear${ye}-slide-up-appear-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.fJ},[`&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-topLeft, &${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-topRight`]:{animationName:Bi.ly},[`&${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-bottomLeft, &${ye}-slide-up-leave${ye}-slide-up-leave-active${Se}-dropdown-placement-bottomRight`]:{animationName:Bi.Uw},[`${Se}-panel > ${Se}-time-panel`]:{paddingTop:qo},[`${Se}-ranges`]:{marginBottom:0,padding:`${qo}px ${ii}px`,overflow:"hidden",lineHeight:`${pi-2*Zn-vr/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${Se}-preset > ${ye}-tag-blue`]:{color:Ko,background:zi,borderColor:oo,cursor:"pointer"},[`${Se}-ok`]:{marginInlineStart:"auto"}},[`${Se}-range-wrapper`]:{display:"flex",position:"relative"},[`${Se}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:qt*1.5,transition:`left ${fo} ease-out`},(0,fs.r)(Lo,To,wi,Ni,rt)),[`${Se}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Ni,borderRadius:fi,boxShadow:Ro,transition:`margin ${fo}`,[`${Se}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Se}-presets`]:{display:"flex",flexDirection:"column",minWidth:Ce,maxWidth:Qe,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:vr,borderInlineEnd:`${Zn}px ${Tn} ${Xi}`,li:Object.assign(Object.assign({},Zu.vS),{borderRadius:ol,paddingInline:vr,paddingBlock:(Oa-Math.round(it*Gn))/2,cursor:"pointer",transition:`all ${fo}`,"+ li":{marginTop:wr},"&:hover":{background:Ee}})}},[`${Se}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${Se}-panel`]:{borderWidth:`0 0 ${Zn}px`},"&:last-child":{[`${Se}-panel`]:{borderWidth:0}}},[`${Se}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Se}-content, - table`]:{textAlign:"center"},"&-focused":{borderColor:aa}}}}),"&-dropdown-range":{padding:`${Lo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Bi.oN)(me,"slide-up"),(0,Bi.oN)(me,"slide-down"),(0,Cu.Fm)(me,"move-up"),(0,Cu.Fm)(me,"move-down")]},zl=me=>{const{componentCls:Se,controlHeightLG:ye,paddingXXS:tt,padding:it}=me;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:ye*1.5,pickerQuarterPanelContentHeight:ye*1.4,pickerCellPaddingVertical:tt+tt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:it+tt/2}},os=me=>({cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new bl.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new bl.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var qu=(0,rs.Z)("DatePicker",me=>{const Se=(0,zu.TS)((0,ji.e5)(me),zl(me));return[Fl(Se),Fu(Se),(0,au.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,ji.TM)(me)),os(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function ju(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function Ar(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function Bu(me,Se){const ye={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ye};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ye};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ye};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ye};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ye}}}function Yl(me){return me?Array.isArray(me)?me:[me]:[]}function Hl(me){const{format:Se,picker:ye,showHour:tt,showMinute:it,showSecond:qt,use12Hours:Wt}=me,Zn=Yl(Se)[0],Tn=Object.assign({},me);return Se&&Array.isArray(Se)&&(Tn.format=Zn),Zn&&typeof Zn=="string"&&(!Zn.includes("s")&&qt===void 0&&(Tn.showSecond=!1),!Zn.includes("m")&&it===void 0&&(Tn.showMinute=!1),!Zn.includes("H")&&!Zn.includes("h")&&!Zn.includes("K")&&!Zn.includes("k")&&tt===void 0&&(Tn.showHour=!1),(Zn.includes("a")||Zn.includes("A"))&&Wt===void 0&&(Tn.use12Hours=!0)),ye==="time"?Tn:(typeof Zn=="function"&&delete Tn.format,{showTime:Tn})}function qa(me,Se,ye){if(me===!1)return!1;const tt={clearIcon:Se!=null?Se:ye};return typeof me=="object"?Object.assign(Object.assign({},tt),me):tt}var du=ee(3113);function es(me){return ie.createElement(du.ZP,Object.assign({size:"small",type:"primary"},me))}var wu={button:es},ts=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,tt=Object.getOwnPropertySymbols(me);it{const{prefixCls:it,getPopupContainer:qt,className:Wt,placement:Zn,size:Tn,disabled:aa,bordered:Ca=!0,placeholder:ga,popupClassName:mn,dropdownClassName:Ba,status:Ia,clearIcon:kn,allowClear:sa,rootClassName:Oa}=ye,Br=ts(ye,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),vr=ie.useRef(null),{getPrefixCls:wr,direction:jr,getPopupContainer:Lr}=(0,ie.useContext)(ku.E_),Gn=wr("picker",it),{compactSize:Ko,compactItemClassnames:fo}=(0,Xu.ri)(Gn,jr),{format:zo,showTime:qo,picker:ii}=ye,pi=wr(),[zi,oo]=qu(Gn),Lo=Object.assign(Object.assign({},qo?Hl(Object.assign({format:zo,picker:ii},qo)):{}),ii==="time"?Hl(Object.assign(Object.assign({format:zo},ye),{picker:ii})):{}),To=(0,Ju.Z)(rt=>{var Pt;return(Pt=Tn!=null?Tn:Ko)!==null&&Pt!==void 0?Pt:rt}),wi=ie.useContext(nu.Z),Ni=aa!=null?aa:wi,fi=(0,ie.useContext)(bu.aM),{hasFeedback:Ro,status:ol,feedbackIcon:Xi}=fi,Ee=ie.createElement(ie.Fragment,null,ii==="time"?ie.createElement(ot,null):ie.createElement(he,null),Ro&&Xi);(0,ie.useImperativeHandle)(tt,()=>({focus:()=>{var rt;return(rt=vr.current)===null||rt===void 0?void 0:rt.focus()},blur:()=>{var rt;return(rt=vr.current)===null||rt===void 0?void 0:rt.blur()}}));const[Ce]=(0,Tu.Z)("Calendar",_u.Z),Qe=Object.assign(Object.assign({},Ce),ye.locale);return zi(ie.createElement(Ru,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${Gn}-separator`},ie.createElement(an,null)),disabled:Ni,ref:vr,dropdownAlign:Bu(jr,Zn),placeholder:Ar(Qe,ii,ga),suffixIcon:Ee,prevIcon:ie.createElement("span",{className:`${Gn}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Gn}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Gn}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Gn}-super-next-icon`}),transitionName:`${pi}-slide-up`},Br,Lo,{className:$e()({[`${Gn}-${To}`]:To,[`${Gn}-borderless`]:!Ca},(0,rl.Z)(Gn,(0,rl.F)(ol,Ia),Ro),oo,fo,Wt,Oa),locale:Qe.lang,prefixCls:Gn,getPopupContainer:qt||Lr,generateConfig:me,components:wu,direction:jr,dropdownClassName:$e()(oo,mn||Ba,Oa),allowClear:qa(sa,kn,ie.createElement(lt.Z,null))})))})}var Qi=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,tt=Object.getOwnPropertySymbols(me);it{const{prefixCls:Ia,getPopupContainer:kn,style:sa,className:Oa,rootClassName:Br,size:vr,bordered:wr=!0,placement:jr,placeholder:Lr,popupClassName:Gn,dropdownClassName:Ko,disabled:fo,status:zo,clearIcon:qo,allowClear:ii}=mn,pi=Qi(mn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zi,direction:oo,getPopupContainer:Lo,[Ca]:To}=(0,ie.useContext)(ku.E_),wi=zi("picker",Ia),{compactSize:Ni,compactItemClassnames:fi}=(0,Xu.ri)(wi,oo),Ro=ie.useRef(null),{format:ol,showTime:Xi}=mn,[Ee,Ce]=qu(wi);(0,ie.useImperativeHandle)(Ba,()=>({focus:()=>{var Kt;return(Kt=Ro.current)===null||Kt===void 0?void 0:Kt.focus()},blur:()=>{var Kt;return(Kt=Ro.current)===null||Kt===void 0?void 0:Kt.blur()}}));const Qe={showToday:!0};let rt={};Tn&&(rt.picker=Tn);const Pt=Tn||mn.picker;rt=Object.assign(Object.assign(Object.assign({},rt),Xi?Hl(Object.assign({format:ol,picker:Pt},Xi)):{}),Pt==="time"?Hl(Object.assign(Object.assign({format:ol},mn),{picker:Pt})):{});const Et=zi(),$t=(0,Ju.Z)(Kt=>{var Xa;return(Xa=vr!=null?vr:Ni)!==null&&Xa!==void 0?Xa:Kt}),Yt=ie.useContext(nu.Z),Ut=fo!=null?fo:Yt,Cn=(0,ie.useContext)(bu.aM),{hasFeedback:vn,status:pn,feedbackIcon:qn}=Cn,na=ie.createElement(ie.Fragment,null,Pt==="time"?ie.createElement(ot,null):ie.createElement(he,null),vn&&qn),[ca]=(0,Tu.Z)("DatePicker",_u.Z),Aa=Object.assign(Object.assign({},ca),mn.locale);return Ee(ie.createElement(Mu,Object.assign({ref:Ro,placeholder:ju(Aa,Pt,Lr),suffixIcon:na,dropdownAlign:Bu(oo,jr),prevIcon:ie.createElement("span",{className:`${wi}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${wi}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${wi}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${wi}-super-next-icon`}),transitionName:`${Et}-slide-up`},Qe,pi,rt,{locale:Aa.lang,className:$e()({[`${wi}-${$t}`]:$t,[`${wi}-borderless`]:!wr},(0,rl.Z)(wi,(0,rl.F)(pn,zo),vn),Ce,fi,To==null?void 0:To.className,Oa,Br),style:Object.assign(Object.assign({},To==null?void 0:To.style),sa),prefixCls:wi,getPopupContainer:kn||Lo,generateConfig:me,components:wu,direction:oo,disabled:Ut,dropdownClassName:$e()(Ce,Br,Gn||Ko),allowClear:qa(ii,qo,ie.createElement(lt.Z,null))})))});return aa&&(ga.displayName=aa),ga}const ye=Se(),tt=Se("week","WeekPicker"),it=Se("month","MonthPicker"),qt=Se("year","YearPicker"),Wt=Se("time","TimePicker"),Zn=Se("quarter","QuarterPicker");return{DatePicker:ye,WeekPicker:tt,MonthPicker:it,YearPicker:qt,TimePicker:Wt,QuarterPicker:Zn}}const us=null;function ss(me){const{DatePicker:Se,WeekPicker:ye,MonthPicker:tt,YearPicker:it,TimePicker:qt,QuarterPicker:Wt}=ls(me),Zn=cu(me),Tn=Se;return Tn.WeekPicker=ye,Tn.MonthPicker=tt,Tn.YearPicker=it,Tn.RangePicker=Zn,Tn.TimePicker=qt,Tn.QuarterPicker=Wt,Tn}var Gu=ss;const Jl=Gu(ne);function Xl(me){const Se=Bu(me.direction,me.placement);return Se.overflow.adjustY=!1,Se.overflow.adjustX=!1,Object.assign(Object.assign({},me),{dropdownAlign:Se})}const ru=(0,re.Z)(Jl,"picker",null,Xl);Jl._InternalPanelDoNotUseOrYouWillBeFired=ru;const fu=(0,re.Z)(Jl.RangePicker,"picker",null,Xl);Jl._InternalRangePanelDoNotUseOrYouWillBeFired=fu,Jl.generatePicker=Gu;var Wu=Jl},43428:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ze}});var b=ee(92310),de=ee.n(b),Be=ee(33708),Ne=ee(33606),Ze=ee(43403),ke=ee(34280),le=ee(59301),st=le.createContext(null),et=le.createContext({}),Ve=st,Ge=ee(400),Je=ee(92413),Ye=ee(77900),se=ee(10228),E=ee(26112),a=ee(70425),x=function(Lt){var mt=Lt.prefixCls,Nt=Lt.className,ut=Lt.style,at=Lt.children,De=Lt.containerRef,fe=Lt.id,Xe=Lt.onMouseEnter,Rt=Lt.onMouseOver,Oe=Lt.onMouseLeave,Ie=Lt.onClick,St=Lt.onKeyDown,nt=Lt.onKeyUp,Me={onMouseEnter:Xe,onMouseOver:Rt,onMouseLeave:Oe,onClick:Ie,onKeyDown:St,onKeyUp:nt},yt=le.useContext(et),Bn=yt.panel,nn=(0,a.useComposeRef)(Bn,De);return le.createElement(le.Fragment,null,le.createElement("div",(0,Je.Z)({id:fe,className:de()("".concat(mt,"-content"),Nt),style:(0,Be.Z)({},ut),"aria-modal":"true",role:"dialog",ref:nn},Me),at))},y=x,z=ee(48736);function ne(ct){return typeof ct=="string"&&String(Number(ct))===ct?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ct)):ct}function re(ct){warning(!("wrapperClassName"in ct),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ct.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ue={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ie(ct,Lt){var mt,Nt,ut,at,De=ct.prefixCls,fe=ct.open,Xe=ct.placement,Rt=ct.inline,Oe=ct.push,Ie=ct.forceRender,St=ct.autoFocus,nt=ct.keyboard,Me=ct.rootClassName,yt=ct.rootStyle,Bn=ct.zIndex,nn=ct.className,dn=ct.id,un=ct.style,yn=ct.motion,Te=ct.width,Ft=ct.height,zt=ct.children,wt=ct.contentWrapperStyle,kt=ct.mask,sn=ct.maskClosable,cn=ct.maskMotion,Ln=ct.maskClassName,Jn=ct.maskStyle,va=ct.afterOpenChange,Da=ct.onClose,Na=ct.onMouseEnter,ar=ct.onMouseOver,$a=ct.onMouseLeave,fa=ct.onClick,yr=ct.onKeyDown,en=ct.onKeyUp,On=le.useRef(),ia=le.useRef(),xa=le.useRef();le.useImperativeHandle(Lt,function(){return On.current});var We=function(Ea){var Pa=Ea.keyCode,Dn=Ea.shiftKey;switch(Pa){case se.Z.TAB:{if(Pa===se.Z.TAB){if(!Dn&&document.activeElement===xa.current){var lr;(lr=ia.current)===null||lr===void 0||lr.focus({preventScroll:!0})}else if(Dn&&document.activeElement===ia.current){var Nr;(Nr=xa.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case se.Z.ESC:{Da&&nt&&(Ea.stopPropagation(),Da(Ea));break}}};le.useEffect(function(){if(fe&&St){var _n;(_n=On.current)===null||_n===void 0||_n.focus({preventScroll:!0})}},[fe]);var It=le.useState(!1),_t=(0,Ne.Z)(It,2),Vt=_t[0],Gt=_t[1],Rn=le.useContext(Ve),wn;Oe===!1?wn={distance:0}:Oe===!0?wn={}:wn=Oe||{};var vt=(mt=(Nt=(ut=wn)===null||ut===void 0?void 0:ut.distance)!==null&&Nt!==void 0?Nt:Rn==null?void 0:Rn.pushDistance)!==null&&mt!==void 0?mt:180,Bt=le.useMemo(function(){return{pushDistance:vt,push:function(){Gt(!0)},pull:function(){Gt(!1)}}},[vt]);le.useEffect(function(){if(fe){var _n;Rn==null||(_n=Rn.push)===null||_n===void 0||_n.call(Rn)}else{var Ea;Rn==null||(Ea=Rn.pull)===null||Ea===void 0||Ea.call(Rn)}},[fe]),le.useEffect(function(){return function(){var _n;Rn==null||(_n=Rn.pull)===null||_n===void 0||_n.call(Rn)}},[]);var pt=kt&&le.createElement(Ye.default,(0,Je.Z)({key:"mask"},cn,{visible:fe}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",{className:de()("".concat(De,"-mask"),Pa,Ln),style:(0,Be.Z)((0,Be.Z)({},Dn),Jn),onClick:sn&&fe?Da:void 0,ref:Ea})}),Sn=typeof yn=="function"?yn(Xe):yn,Wn={};if(Vt&&vt)switch(Xe){case"top":Wn.transform="translateY(".concat(vt,"px)");break;case"bottom":Wn.transform="translateY(".concat(-vt,"px)");break;case"left":Wn.transform="translateX(".concat(vt,"px)");break;default:Wn.transform="translateX(".concat(-vt,"px)");break}Xe==="left"||Xe==="right"?Wn.width=ne(Te):Wn.height=ne(Ft);var An={onMouseEnter:Na,onMouseOver:ar,onMouseLeave:$a,onClick:fa,onKeyDown:yr,onKeyUp:en},ka=le.createElement(Ye.default,(0,Je.Z)({key:"panel"},Sn,{visible:fe,forceRender:Ie,onVisibleChanged:function(Ea){va==null||va(Ea)},removeOnLeave:!1,leavedClassName:"".concat(De,"-content-wrapper-hidden")}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",(0,Je.Z)({className:de()("".concat(De,"-content-wrapper"),Pa),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Wn),Dn),wt)},(0,E.Z)(ct,{data:!0})),le.createElement(y,(0,Je.Z)({id:dn,containerRef:Ea,prefixCls:De,className:nn,style:un},An),zt))}),pa=(0,Be.Z)({},yt);return Bn&&(pa.zIndex=Bn),le.createElement(Ve.Provider,{value:Bt},le.createElement("div",{className:de()(De,"".concat(De,"-").concat(Xe),Me,(at={},(0,Ge.Z)(at,"".concat(De,"-open"),fe),(0,Ge.Z)(at,"".concat(De,"-inline"),Rt),at)),style:pa,tabIndex:-1,ref:On,onKeyDown:We},pt,le.createElement("div",{tabIndex:0,ref:ia,style:ue,"aria-hidden":"true","data-sentinel":"start"}),ka,le.createElement("div",{tabIndex:0,ref:xa,style:ue,"aria-hidden":"true","data-sentinel":"end"})))}var ve=le.forwardRef(ie),be=ve,je=function(Lt){var mt=Lt.open,Nt=mt===void 0?!1:mt,ut=Lt.prefixCls,at=ut===void 0?"rc-drawer":ut,De=Lt.placement,fe=De===void 0?"right":De,Xe=Lt.autoFocus,Rt=Xe===void 0?!0:Xe,Oe=Lt.keyboard,Ie=Oe===void 0?!0:Oe,St=Lt.width,nt=St===void 0?378:St,Me=Lt.mask,yt=Me===void 0?!0:Me,Bn=Lt.maskClosable,nn=Bn===void 0?!0:Bn,dn=Lt.getContainer,un=Lt.forceRender,yn=Lt.afterOpenChange,Te=Lt.destroyOnClose,Ft=Lt.onMouseEnter,zt=Lt.onMouseOver,wt=Lt.onMouseLeave,kt=Lt.onClick,sn=Lt.onKeyDown,cn=Lt.onKeyUp,Ln=Lt.panelRef,Jn=le.useState(!1),va=(0,Ne.Z)(Jn,2),Da=va[0],Na=va[1],ar=le.useState(!1),$a=(0,Ne.Z)(ar,2),fa=$a[0],yr=$a[1];(0,ke.Z)(function(){yr(!0)},[]);var en=fa?Nt:!1,On=le.useRef(),ia=le.useRef();(0,ke.Z)(function(){en&&(ia.current=document.activeElement)},[en]);var xa=function(Gt){var Rn;if(Na(Gt),yn==null||yn(Gt),!Gt&&ia.current&&!((Rn=On.current)!==null&&Rn!==void 0&&Rn.contains(ia.current))){var wn;(wn=ia.current)===null||wn===void 0||wn.focus({preventScroll:!0})}},We=le.useMemo(function(){return{panel:Ln}},[Ln]);if(!un&&!Da&&!en&&Te)return null;var It={onMouseEnter:Ft,onMouseOver:zt,onMouseLeave:wt,onClick:kt,onKeyDown:sn,onKeyUp:cn},_t=(0,Be.Z)((0,Be.Z)({},Lt),{},{open:en,prefixCls:at,placement:fe,autoFocus:Rt,keyboard:Ie,width:nt,mask:yt,maskClosable:nn,inline:dn===!1,afterOpenChange:xa,ref:On},It);return le.createElement(et.Provider,{value:We},le.createElement(Ze.Z,{open:en||un||Da,autoDestroy:!1,getContainer:dn,autoLock:yt&&(en||Da)},le.createElement(be,_t)))},Ae=je,He=Ae,he=ee(62892),qe=ee(36355),Ke=ee(32441),ht=ee(47729),ot=ct=>{const{prefixCls:Lt,title:mt,footer:Nt,extra:ut,closeIcon:at,closable:De,onClose:fe,headerStyle:Xe,drawerStyle:Rt,bodyStyle:Oe,footerStyle:Ie,children:St}=ct,nt=le.useCallback(dn=>le.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Lt}-close`},dn),[fe]),[Me,yt]=(0,ht.Z)(De,at,nt,void 0,!0),Bn=le.useMemo(()=>!mt&&!Me?null:le.createElement("div",{style:Xe,className:de()(`${Lt}-header`,{[`${Lt}-header-close-only`]:Me&&!mt&&!ut})},le.createElement("div",{className:`${Lt}-header-title`},yt,mt&&le.createElement("div",{className:`${Lt}-title`},mt)),ut&&le.createElement("div",{className:`${Lt}-extra`},ut)),[Me,yt,ut,Xe,Lt,mt]),nn=le.useMemo(()=>{if(!Nt)return null;const dn=`${Lt}-footer`;return le.createElement("div",{className:dn,style:Ie},Nt)},[Nt,Ie,Lt]);return le.createElement("div",{className:`${Lt}-wrapper-body`,style:Rt},Bn,le.createElement("div",{className:`${Lt}-body`,style:Oe},St),nn)},lt=ee(33234),gt=ee(83116),ft=ee(37613),xt=ct=>{const{componentCls:Lt,motionDurationSlow:mt}=ct,Nt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mt}`}}};return{[Lt]:{[`${Lt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Lt}-panel-motion`]:{"&-left":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const an=ct=>{const{componentCls:Lt,zIndexPopup:mt,colorBgMask:Nt,colorBgElevated:ut,motionDurationSlow:at,motionDurationMid:De,padding:fe,paddingLG:Xe,fontSizeLG:Rt,lineHeightLG:Oe,lineWidth:Ie,lineType:St,colorSplit:nt,marginSM:Me,colorIcon:yt,colorIconHover:Bn,colorText:nn,fontWeightStrong:dn,footerPaddingBlock:un,footerPaddingInline:yn}=ct,Te=`${Lt}-content-wrapper`;return{[Lt]:{position:"fixed",inset:0,zIndex:mt,pointerEvents:"none","&-pure":{position:"relative",background:ut,[`&${Lt}-left`]:{boxShadow:ct.boxShadowDrawerLeft},[`&${Lt}-right`]:{boxShadow:ct.boxShadowDrawerRight},[`&${Lt}-top`]:{boxShadow:ct.boxShadowDrawerUp},[`&${Lt}-bottom`]:{boxShadow:ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Lt}-mask`]:{position:"absolute",inset:0,zIndex:mt,background:Nt,pointerEvents:"auto"},[Te]:{position:"absolute",zIndex:mt,maxWidth:"100vw",transition:`all ${at}`,"&-hidden":{display:"none"}},[`&-left > ${Te}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ct.boxShadowDrawerLeft},[`&-right > ${Te}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ct.boxShadowDrawerRight},[`&-top > ${Te}`]:{top:0,insetInline:0,boxShadow:ct.boxShadowDrawerUp},[`&-bottom > ${Te}`]:{bottom:0,insetInline:0,boxShadow:ct.boxShadowDrawerDown},[`${Lt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ut,pointerEvents:"auto"},[`${Lt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Lt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Xe}px`,fontSize:Rt,lineHeight:Oe,borderBottom:`${Ie}px ${St} ${nt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Lt}-extra`]:{flex:"none"},[`${Lt}-close`]:{display:"inline-block",marginInlineEnd:Me,color:yt,fontWeight:dn,fontSize:Rt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${De}`,textRendering:"auto","&:focus, &:hover":{color:Bn,textDecoration:"none"}},[`${Lt}-title`]:{flex:1,margin:0,color:nn,fontWeight:ct.fontWeightStrong,fontSize:Rt,lineHeight:Oe},[`${Lt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Xe,overflow:"auto"},[`${Lt}-footer`]:{flexShrink:0,padding:`${un}px ${yn}px`,borderTop:`${Ie}px ${St} ${nt}`},"&-rtl":{direction:"rtl"}}}};var hn=(0,gt.Z)("Drawer",ct=>{const Lt=(0,ft.TS)(ct,{});return[an(Lt),xt(Lt)]},ct=>({zIndexPopup:ct.zIndexPopupBase,footerPaddingBlock:ct.paddingXS,footerPaddingInline:ct.padding})),$e=ee(11575),dt=function(ct,Lt){var mt={};for(var Nt in ct)Object.prototype.hasOwnProperty.call(ct,Nt)&&Lt.indexOf(Nt)<0&&(mt[Nt]=ct[Nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Nt=Object.getOwnPropertySymbols(ct);ut{var Lt;const{rootClassName:mt,width:Nt,height:ut,size:at="default",mask:De=!0,push:fe=Vn,open:Xe,afterOpenChange:Rt,onClose:Oe,prefixCls:Ie,getContainer:St,style:nt,className:Me,visible:yt,afterVisibleChange:Bn}=ct,nn=dt(ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:dn,getPrefixCls:un,direction:yn,drawer:Te}=le.useContext(qe.E_),Ft=un("drawer",Ie),[zt,wt]=hn(Ft),kt=St===void 0&&dn?()=>dn(document.body):St,sn=de()({"no-mask":!De,[`${Ft}-rtl`]:yn==="rtl"},mt,wt),cn=le.useMemo(()=>Nt!=null?Nt:at==="large"?736:378,[Nt,at]),Ln=le.useMemo(()=>ut!=null?ut:at==="large"?736:378,[ut,at]),Jn={motionName:(0,he.m)(Ft,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},va=Na=>({motionName:(0,he.m)(Ft,`panel-motion-${Na}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Da=(0,$e.H)();return zt(le.createElement(lt.BR,null,le.createElement(Ke.Ux,{status:!0,override:!0},le.createElement(He,Object.assign({prefixCls:Ft,onClose:Oe,maskMotion:Jn,motion:va},nn,{open:Xe!=null?Xe:yt,mask:De,push:fe,width:cn,height:Ln,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),nt),className:de()(Te==null?void 0:Te.className,Me),rootClassName:sn,getContainer:kt,afterOpenChange:Rt!=null?Rt:Bn,panelRef:Da}),le.createElement(ot,Object.assign({prefixCls:Ft},nn,{onClose:Oe}))))))},Fn=ct=>{const{prefixCls:Lt,style:mt,className:Nt,placement:ut="right"}=ct,at=dt(ct,["prefixCls","style","className","placement"]),{getPrefixCls:De}=le.useContext(qe.E_),fe=De("drawer",Lt),[Xe,Rt]=hn(fe),Oe=de()(fe,`${fe}-pure`,`${fe}-${ut}`,Rt,Nt);return Xe(le.createElement("div",{className:Oe,style:mt},le.createElement(ot,Object.assign({prefixCls:fe},at))))};Zt._InternalPanelDoNotUseOrYouWillBeFired=Fn;var ze=Zt},91857:function(Qt,jt,ee){"use strict";var b=ee(59301),de=ee(38819),Be=ee(92310),Ne=ee.n(Be),Ze=ee(31561),ke=ee(70425),le=ee(18929),st=ee(2738),et=ee(79676),Ve=ee(53487),Ge=ee(92343),Je=ee(36355),Ye=ee(20834),se=ee(40875),E=ee(88088),a=ee(47211);const x=null,y=ue=>{const{menu:ie,arrow:ve,prefixCls:be,children:je,trigger:Ae,disabled:He,dropdownRender:he,getPopupContainer:qe,overlayClassName:Ke,rootClassName:ht,open:Le,onOpenChange:ot,visible:lt,onVisibleChange:gt,mouseEnterDelay:ft=.15,mouseLeaveDelay:ln=.1,autoAdjustOverflow:xt=!0,placement:an="",overlay:hn,transitionName:$e}=ue,{getPopupContainer:dt,getPrefixCls:rn,direction:Vn}=b.useContext(Je.E_),Zt=b.useMemo(()=>{const Me=rn();return $e!==void 0?$e:an.includes("top")?`${Me}-slide-down`:`${Me}-slide-up`},[rn,an,$e]),Fn=b.useMemo(()=>an?an.includes("Center")?an.slice(0,an.indexOf("Center")):an:Vn==="rtl"?"bottomRight":"bottomLeft",[an,Vn]),ze=rn("dropdown",be),[ct,Lt]=(0,a.Z)(ze),[,mt]=(0,E.Z)(),Nt=b.Children.only(je),ut=(0,Ge.Tm)(Nt,{className:Ne()(`${ze}-trigger`,{[`${ze}-rtl`]:Vn==="rtl"},Nt.props.className),disabled:He}),at=He?[]:Ae;let De;at&&at.includes("contextMenu")&&(De=!0);const[fe,Xe]=(0,le.Z)(!1,{value:Le!=null?Le:lt}),Rt=(0,ke.useEvent)(Me=>{ot==null||ot(Me),gt==null||gt(Me),Xe(Me)}),Oe=Ne()(Ke,ht,Lt,{[`${ze}-rtl`]:Vn==="rtl"}),Ie=(0,et.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:xt,offset:mt.marginXXS,arrowWidth:ve?mt.sizePopupArrow:0,borderRadius:mt.borderRadius}),St=b.useCallback(()=>{Xe(!1)},[]),nt=()=>{let Me;return ie!=null&&ie.items?Me=b.createElement(Ye.default,Object.assign({},ie)):typeof hn=="function"?Me=hn():Me=hn,he&&(Me=he(Me)),Me=b.Children.only(typeof Me=="string"?b.createElement("span",null,Me):Me),b.createElement(se.J,{prefixCls:`${ze}-menu`,expandIcon:b.createElement("span",{className:`${ze}-menu-submenu-arrow`},b.createElement(de.Z,{className:`${ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:St,validator:yt=>{let{mode:Bn}=yt}},Me)};return ct(b.createElement(Ze.Z,Object.assign({alignPoint:De},(0,st.Z)(ue,["rootClassName"]),{mouseEnterDelay:ft,mouseLeaveDelay:ln,visible:fe,builtinPlacements:Ie,arrow:!!ve,overlayClassName:Oe,prefixCls:ze,getPopupContainer:qe||dt,transitionName:Zt,trigger:at,overlay:nt,placement:Fn,onVisibleChange:Rt}),ut))};function z(ue){return Object.assign(Object.assign({},ue),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ve.Z)(y,"dropdown",ue=>ue,z),re=ue=>b.createElement(ne,Object.assign({},ue),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=re,jt.Z=y},38854:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return E}});var b=ee(91857),de=ee(92310),Be=ee.n(de),Ne=ee(59301),Ze=ee(18785),ke=ee(3113),le=ee(36355),st=ee(81327),et=ee(33234),Ve=ee(47211),Ge=function(a,x){var y={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(y[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(a);ne{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Ne.useContext(le.E_),{prefixCls:ne,type:re="default",danger:ue,disabled:ie,loading:ve,onClick:be,htmlType:je,children:Ae,className:He,menu:he,arrow:qe,autoFocus:Ke,overlay:ht,trigger:Le,align:ot,open:lt,onOpenChange:gt,placement:ft,getPopupContainer:ln,href:xt,icon:an=Ne.createElement(Ze.Z,null),title:hn,buttonsRender:$e=nt=>nt,mouseEnterDelay:dt,mouseLeaveDelay:rn,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:Fn,dropdownRender:ze}=a,ct=Ge(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"]),Lt=y("dropdown",ne),mt=`${Lt}-button`,[Nt,ut]=(0,Ve.Z)(Lt),at={menu:he,arrow:qe,autoFocus:Ke,align:ot,disabled:ie,trigger:ie?[]:Le,onOpenChange:gt,getPopupContainer:ln||x,mouseEnterDelay:dt,mouseLeaveDelay:rn,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:Fn,dropdownRender:ze},{compactSize:De,compactItemClassnames:fe}=(0,et.ri)(Lt,z),Xe=Be()(mt,fe,He,ut);"overlay"in a&&(at.overlay=ht),"open"in a&&(at.open=lt),"placement"in a?at.placement=ft:at.placement=z==="rtl"?"bottomLeft":"bottomRight";const Rt=Ne.createElement(ke.ZP,{type:re,danger:ue,disabled:ie,loading:ve,onClick:be,htmlType:je,href:xt,title:hn},Ae),Oe=Ne.createElement(ke.ZP,{type:re,danger:ue,icon:an}),[Ie,St]=$e([Rt,Oe]);return Nt(Ne.createElement(st.Z.Compact,Object.assign({className:Xe,size:De,block:!0},ct),Ie,Ne.createElement(b.Z,Object.assign({},at),St)))};Je.__ANT_BUTTON=!0;var Ye=Je;const se=b.Z;se.Button=Ye;var E=se},47211:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Ge}});var b=ee(17313),de=ee(13826),Be=ee(92899),Ne=ee(29878),Ze=ee(19447),ke=ee(83116),le=ee(37613),et=Je=>{const{componentCls:Ye,menuCls:se,colorError:E,colorTextLightSolid:a}=Je,x=`${se}-item`;return{[`${Ye}, ${Ye}-menu-submenu`]:{[`${se} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Ve=Je=>{const{componentCls:Ye,menuCls:se,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ue,dropdownEdgeChildPadding:ie,colorTextDisabled:ve,fontSizeIcon:be,controlPaddingHorizontal:je,colorBgElevated:Ae}=Je;return[{[Ye]:Object.assign(Object.assign({},(0,b.Wf)(Je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:be}},[`${Ye}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:be},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${Ye}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottomLeft, + table`]:{textAlign:"center"},"&-focused":{borderColor:aa}}}}),"&-dropdown-range":{padding:`${Lo*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Se}-separator`]:{transform:"rotate(180deg)"},[`${Se}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Bi.oN)(me,"slide-up"),(0,Bi.oN)(me,"slide-down"),(0,Cu.Fm)(me,"move-up"),(0,Cu.Fm)(me,"move-down")]},zl=me=>{const{componentCls:Se,controlHeightLG:ye,paddingXXS:tt,padding:it}=me;return{pickerCellCls:`${Se}-cell`,pickerCellInnerCls:`${Se}-cell-inner`,pickerYearMonthCellWidth:ye*1.5,pickerQuarterPanelContentHeight:ye*1.4,pickerCellPaddingVertical:tt+tt/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:it+tt/2}},os=me=>({cellHoverBg:me.controlItemBgHover,cellActiveWithRangeBg:me.controlItemBgActive,cellHoverWithRangeBg:new bl.C(me.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new bl.C(me.colorPrimary).lighten(20).toHexString(),cellBgDisabled:me.colorBgContainerDisabled,timeColumnWidth:me.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:me.controlHeightSM*1.5,cellHeight:me.controlHeightSM,textHeight:me.controlHeightLG,withoutTimeCellHeight:me.controlHeightLG*1.65});var qu=(0,rs.Z)("DatePicker",me=>{const Se=(0,zu.TS)((0,ji.e5)(me),zl(me));return[Fl(Se),Fu(Se),(0,au.c)(me,{focusElCls:`${me.componentCls}-focused`})]},me=>Object.assign(Object.assign(Object.assign({},(0,ji.TM)(me)),os(me)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:me.zIndexPopupBase+50}));function ju(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.yearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.quarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.monthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.weekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.placeholder:me.lang.placeholder}function Ar(me,Se,ye){return ye!==void 0?ye:Se==="year"&&me.lang.yearPlaceholder?me.lang.rangeYearPlaceholder:Se==="quarter"&&me.lang.quarterPlaceholder?me.lang.rangeQuarterPlaceholder:Se==="month"&&me.lang.monthPlaceholder?me.lang.rangeMonthPlaceholder:Se==="week"&&me.lang.weekPlaceholder?me.lang.rangeWeekPlaceholder:Se==="time"&&me.timePickerLocale.placeholder?me.timePickerLocale.rangePlaceholder:me.lang.rangePlaceholder}function Bu(me,Se){const ye={adjustX:1,adjustY:1};switch(Se){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:ye};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:ye};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:ye};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:ye};default:return{points:me==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:ye}}}function Yl(me){return me?Array.isArray(me)?me:[me]:[]}function Hl(me){const{format:Se,picker:ye,showHour:tt,showMinute:it,showSecond:qt,use12Hours:Kt}=me,Zn=Yl(Se)[0],Tn=Object.assign({},me);return Se&&Array.isArray(Se)&&(Tn.format=Zn),Zn&&typeof Zn=="string"&&(!Zn.includes("s")&&qt===void 0&&(Tn.showSecond=!1),!Zn.includes("m")&&it===void 0&&(Tn.showMinute=!1),!Zn.includes("H")&&!Zn.includes("h")&&!Zn.includes("K")&&!Zn.includes("k")&&tt===void 0&&(Tn.showHour=!1),(Zn.includes("a")||Zn.includes("A"))&&Kt===void 0&&(Tn.use12Hours=!0)),ye==="time"?Tn:(typeof Zn=="function"&&delete Tn.format,{showTime:Tn})}function qa(me,Se,ye){if(me===!1)return!1;const tt={clearIcon:Se!=null?Se:ye};return typeof me=="object"?Object.assign(Object.assign({},tt),me):tt}var du=ee(3113);function es(me){return ie.createElement(du.ZP,Object.assign({size:"small",type:"primary"},me))}var wu={button:es},ts=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,tt=Object.getOwnPropertySymbols(me);it{const{prefixCls:it,getPopupContainer:qt,className:Kt,placement:Zn,size:Tn,disabled:aa,bordered:Ca=!0,placeholder:ga,popupClassName:mn,dropdownClassName:Ba,status:Ia,clearIcon:kn,allowClear:sa,rootClassName:Oa}=ye,Br=ts(ye,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),vr=ie.useRef(null),{getPrefixCls:wr,direction:jr,getPopupContainer:Lr}=(0,ie.useContext)(ku.E_),Gn=wr("picker",it),{compactSize:Ko,compactItemClassnames:fo}=(0,Xu.ri)(Gn,jr),{format:zo,showTime:qo,picker:ii}=ye,pi=wr(),[zi,oo]=qu(Gn),Lo=Object.assign(Object.assign({},qo?Hl(Object.assign({format:zo,picker:ii},qo)):{}),ii==="time"?Hl(Object.assign(Object.assign({format:zo},ye),{picker:ii})):{}),To=(0,Ju.Z)(rt=>{var Pt;return(Pt=Tn!=null?Tn:Ko)!==null&&Pt!==void 0?Pt:rt}),wi=ie.useContext(nu.Z),Ni=aa!=null?aa:wi,fi=(0,ie.useContext)(bu.aM),{hasFeedback:Ro,status:ol,feedbackIcon:Xi}=fi,Ee=ie.createElement(ie.Fragment,null,ii==="time"?ie.createElement(ot,null):ie.createElement(he,null),Ro&&Xi);(0,ie.useImperativeHandle)(tt,()=>({focus:()=>{var rt;return(rt=vr.current)===null||rt===void 0?void 0:rt.focus()},blur:()=>{var rt;return(rt=vr.current)===null||rt===void 0?void 0:rt.blur()}}));const[Ce]=(0,Tu.Z)("Calendar",_u.Z),Qe=Object.assign(Object.assign({},Ce),ye.locale);return zi(ie.createElement(Ru,Object.assign({separator:ie.createElement("span",{"aria-label":"to",className:`${Gn}-separator`},ie.createElement(an,null)),disabled:Ni,ref:vr,dropdownAlign:Bu(jr,Zn),placeholder:Ar(Qe,ii,ga),suffixIcon:Ee,prevIcon:ie.createElement("span",{className:`${Gn}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${Gn}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${Gn}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${Gn}-super-next-icon`}),transitionName:`${pi}-slide-up`},Br,Lo,{className:$e()({[`${Gn}-${To}`]:To,[`${Gn}-borderless`]:!Ca},(0,rl.Z)(Gn,(0,rl.F)(ol,Ia),Ro),oo,fo,Kt,Oa),locale:Qe.lang,prefixCls:Gn,getPopupContainer:qt||Lr,generateConfig:me,components:wu,direction:jr,dropdownClassName:$e()(oo,mn||Ba,Oa),allowClear:qa(sa,kn,ie.createElement(lt.Z,null))})))})}var Qi=function(me,Se){var ye={};for(var tt in me)Object.prototype.hasOwnProperty.call(me,tt)&&Se.indexOf(tt)<0&&(ye[tt]=me[tt]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,tt=Object.getOwnPropertySymbols(me);it{const{prefixCls:Ia,getPopupContainer:kn,style:sa,className:Oa,rootClassName:Br,size:vr,bordered:wr=!0,placement:jr,placeholder:Lr,popupClassName:Gn,dropdownClassName:Ko,disabled:fo,status:zo,clearIcon:qo,allowClear:ii}=mn,pi=Qi(mn,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:zi,direction:oo,getPopupContainer:Lo,[Ca]:To}=(0,ie.useContext)(ku.E_),wi=zi("picker",Ia),{compactSize:Ni,compactItemClassnames:fi}=(0,Xu.ri)(wi,oo),Ro=ie.useRef(null),{format:ol,showTime:Xi}=mn,[Ee,Ce]=qu(wi);(0,ie.useImperativeHandle)(Ba,()=>({focus:()=>{var Ht;return(Ht=Ro.current)===null||Ht===void 0?void 0:Ht.focus()},blur:()=>{var Ht;return(Ht=Ro.current)===null||Ht===void 0?void 0:Ht.blur()}}));const Qe={showToday:!0};let rt={};Tn&&(rt.picker=Tn);const Pt=Tn||mn.picker;rt=Object.assign(Object.assign(Object.assign({},rt),Xi?Hl(Object.assign({format:ol,picker:Pt},Xi)):{}),Pt==="time"?Hl(Object.assign(Object.assign({format:ol},mn),{picker:Pt})):{});const Et=zi(),$t=(0,Ju.Z)(Ht=>{var Xa;return(Xa=vr!=null?vr:Ni)!==null&&Xa!==void 0?Xa:Ht}),Yt=ie.useContext(nu.Z),Ut=fo!=null?fo:Yt,Cn=(0,ie.useContext)(bu.aM),{hasFeedback:vn,status:pn,feedbackIcon:qn}=Cn,na=ie.createElement(ie.Fragment,null,Pt==="time"?ie.createElement(ot,null):ie.createElement(he,null),vn&&qn),[ca]=(0,Tu.Z)("DatePicker",_u.Z),Aa=Object.assign(Object.assign({},ca),mn.locale);return Ee(ie.createElement(Mu,Object.assign({ref:Ro,placeholder:ju(Aa,Pt,Lr),suffixIcon:na,dropdownAlign:Bu(oo,jr),prevIcon:ie.createElement("span",{className:`${wi}-prev-icon`}),nextIcon:ie.createElement("span",{className:`${wi}-next-icon`}),superPrevIcon:ie.createElement("span",{className:`${wi}-super-prev-icon`}),superNextIcon:ie.createElement("span",{className:`${wi}-super-next-icon`}),transitionName:`${Et}-slide-up`},Qe,pi,rt,{locale:Aa.lang,className:$e()({[`${wi}-${$t}`]:$t,[`${wi}-borderless`]:!wr},(0,rl.Z)(wi,(0,rl.F)(pn,zo),vn),Ce,fi,To==null?void 0:To.className,Oa,Br),style:Object.assign(Object.assign({},To==null?void 0:To.style),sa),prefixCls:wi,getPopupContainer:kn||Lo,generateConfig:me,components:wu,direction:oo,disabled:Ut,dropdownClassName:$e()(Ce,Br,Gn||Ko),allowClear:qa(ii,qo,ie.createElement(lt.Z,null))})))});return aa&&(ga.displayName=aa),ga}const ye=Se(),tt=Se("week","WeekPicker"),it=Se("month","MonthPicker"),qt=Se("year","YearPicker"),Kt=Se("time","TimePicker"),Zn=Se("quarter","QuarterPicker");return{DatePicker:ye,WeekPicker:tt,MonthPicker:it,YearPicker:qt,TimePicker:Kt,QuarterPicker:Zn}}const us=null;function ss(me){const{DatePicker:Se,WeekPicker:ye,MonthPicker:tt,YearPicker:it,TimePicker:qt,QuarterPicker:Kt}=ls(me),Zn=cu(me),Tn=Se;return Tn.WeekPicker=ye,Tn.MonthPicker=tt,Tn.YearPicker=it,Tn.RangePicker=Zn,Tn.TimePicker=qt,Tn.QuarterPicker=Kt,Tn}var Gu=ss;const Jl=Gu(ne);function Xl(me){const Se=Bu(me.direction,me.placement);return Se.overflow.adjustY=!1,Se.overflow.adjustX=!1,Object.assign(Object.assign({},me),{dropdownAlign:Se})}const ru=(0,re.Z)(Jl,"picker",null,Xl);Jl._InternalPanelDoNotUseOrYouWillBeFired=ru;const fu=(0,re.Z)(Jl.RangePicker,"picker",null,Xl);Jl._InternalRangePanelDoNotUseOrYouWillBeFired=fu,Jl.generatePicker=Gu;var Wu=Jl},43428:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ze}});var b=ee(92310),de=ee.n(b),Be=ee(33708),Ne=ee(33606),Ze=ee(43403),ke=ee(34280),le=ee(59301),st=le.createContext(null),et=le.createContext({}),Ve=st,Ge=ee(400),Je=ee(92413),Ye=ee(77900),se=ee(10228),E=ee(26112),a=ee(70425),x=function(Lt){var mt=Lt.prefixCls,Nt=Lt.className,ut=Lt.style,at=Lt.children,De=Lt.containerRef,fe=Lt.id,Xe=Lt.onMouseEnter,Rt=Lt.onMouseOver,Oe=Lt.onMouseLeave,Ie=Lt.onClick,St=Lt.onKeyDown,nt=Lt.onKeyUp,Me={onMouseEnter:Xe,onMouseOver:Rt,onMouseLeave:Oe,onClick:Ie,onKeyDown:St,onKeyUp:nt},yt=le.useContext(et),Bn=yt.panel,nn=(0,a.useComposeRef)(Bn,De);return le.createElement(le.Fragment,null,le.createElement("div",(0,Je.Z)({id:fe,className:de()("".concat(mt,"-content"),Nt),style:(0,Be.Z)({},ut),"aria-modal":"true",role:"dialog",ref:nn},Me),at))},y=x,z=ee(48736);function ne(ct){return typeof ct=="string"&&String(Number(ct))===ct?((0,z.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(ct)):ct}function re(ct){warning(!("wrapperClassName"in ct),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!ct.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ue={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ie(ct,Lt){var mt,Nt,ut,at,De=ct.prefixCls,fe=ct.open,Xe=ct.placement,Rt=ct.inline,Oe=ct.push,Ie=ct.forceRender,St=ct.autoFocus,nt=ct.keyboard,Me=ct.rootClassName,yt=ct.rootStyle,Bn=ct.zIndex,nn=ct.className,dn=ct.id,un=ct.style,yn=ct.motion,Te=ct.width,Ft=ct.height,zt=ct.children,wt=ct.contentWrapperStyle,kt=ct.mask,sn=ct.maskClosable,cn=ct.maskMotion,Ln=ct.maskClassName,Jn=ct.maskStyle,va=ct.afterOpenChange,Da=ct.onClose,Na=ct.onMouseEnter,ar=ct.onMouseOver,$a=ct.onMouseLeave,fa=ct.onClick,yr=ct.onKeyDown,en=ct.onKeyUp,On=le.useRef(),ia=le.useRef(),xa=le.useRef();le.useImperativeHandle(Lt,function(){return On.current});var We=function(Ea){var Pa=Ea.keyCode,Dn=Ea.shiftKey;switch(Pa){case se.Z.TAB:{if(Pa===se.Z.TAB){if(!Dn&&document.activeElement===xa.current){var lr;(lr=ia.current)===null||lr===void 0||lr.focus({preventScroll:!0})}else if(Dn&&document.activeElement===ia.current){var Nr;(Nr=xa.current)===null||Nr===void 0||Nr.focus({preventScroll:!0})}}break}case se.Z.ESC:{Da&&nt&&(Ea.stopPropagation(),Da(Ea));break}}};le.useEffect(function(){if(fe&&St){var _n;(_n=On.current)===null||_n===void 0||_n.focus({preventScroll:!0})}},[fe]);var It=le.useState(!1),_t=(0,Ne.Z)(It,2),Vt=_t[0],Wt=_t[1],Rn=le.useContext(Ve),wn;Oe===!1?wn={distance:0}:Oe===!0?wn={}:wn=Oe||{};var vt=(mt=(Nt=(ut=wn)===null||ut===void 0?void 0:ut.distance)!==null&&Nt!==void 0?Nt:Rn==null?void 0:Rn.pushDistance)!==null&&mt!==void 0?mt:180,Bt=le.useMemo(function(){return{pushDistance:vt,push:function(){Wt(!0)},pull:function(){Wt(!1)}}},[vt]);le.useEffect(function(){if(fe){var _n;Rn==null||(_n=Rn.push)===null||_n===void 0||_n.call(Rn)}else{var Ea;Rn==null||(Ea=Rn.pull)===null||Ea===void 0||Ea.call(Rn)}},[fe]),le.useEffect(function(){return function(){var _n;Rn==null||(_n=Rn.pull)===null||_n===void 0||_n.call(Rn)}},[]);var pt=kt&&le.createElement(Ye.default,(0,Je.Z)({key:"mask"},cn,{visible:fe}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",{className:de()("".concat(De,"-mask"),Pa,Ln),style:(0,Be.Z)((0,Be.Z)({},Dn),Jn),onClick:sn&&fe?Da:void 0,ref:Ea})}),Sn=typeof yn=="function"?yn(Xe):yn,Wn={};if(Vt&&vt)switch(Xe){case"top":Wn.transform="translateY(".concat(vt,"px)");break;case"bottom":Wn.transform="translateY(".concat(-vt,"px)");break;case"left":Wn.transform="translateX(".concat(vt,"px)");break;default:Wn.transform="translateX(".concat(-vt,"px)");break}Xe==="left"||Xe==="right"?Wn.width=ne(Te):Wn.height=ne(Ft);var An={onMouseEnter:Na,onMouseOver:ar,onMouseLeave:$a,onClick:fa,onKeyDown:yr,onKeyUp:en},ka=le.createElement(Ye.default,(0,Je.Z)({key:"panel"},Sn,{visible:fe,forceRender:Ie,onVisibleChanged:function(Ea){va==null||va(Ea)},removeOnLeave:!1,leavedClassName:"".concat(De,"-content-wrapper-hidden")}),function(_n,Ea){var Pa=_n.className,Dn=_n.style;return le.createElement("div",(0,Je.Z)({className:de()("".concat(De,"-content-wrapper"),Pa),style:(0,Be.Z)((0,Be.Z)((0,Be.Z)({},Wn),Dn),wt)},(0,E.Z)(ct,{data:!0})),le.createElement(y,(0,Je.Z)({id:dn,containerRef:Ea,prefixCls:De,className:nn,style:un},An),zt))}),pa=(0,Be.Z)({},yt);return Bn&&(pa.zIndex=Bn),le.createElement(Ve.Provider,{value:Bt},le.createElement("div",{className:de()(De,"".concat(De,"-").concat(Xe),Me,(at={},(0,Ge.Z)(at,"".concat(De,"-open"),fe),(0,Ge.Z)(at,"".concat(De,"-inline"),Rt),at)),style:pa,tabIndex:-1,ref:On,onKeyDown:We},pt,le.createElement("div",{tabIndex:0,ref:ia,style:ue,"aria-hidden":"true","data-sentinel":"start"}),ka,le.createElement("div",{tabIndex:0,ref:xa,style:ue,"aria-hidden":"true","data-sentinel":"end"})))}var ve=le.forwardRef(ie),be=ve,je=function(Lt){var mt=Lt.open,Nt=mt===void 0?!1:mt,ut=Lt.prefixCls,at=ut===void 0?"rc-drawer":ut,De=Lt.placement,fe=De===void 0?"right":De,Xe=Lt.autoFocus,Rt=Xe===void 0?!0:Xe,Oe=Lt.keyboard,Ie=Oe===void 0?!0:Oe,St=Lt.width,nt=St===void 0?378:St,Me=Lt.mask,yt=Me===void 0?!0:Me,Bn=Lt.maskClosable,nn=Bn===void 0?!0:Bn,dn=Lt.getContainer,un=Lt.forceRender,yn=Lt.afterOpenChange,Te=Lt.destroyOnClose,Ft=Lt.onMouseEnter,zt=Lt.onMouseOver,wt=Lt.onMouseLeave,kt=Lt.onClick,sn=Lt.onKeyDown,cn=Lt.onKeyUp,Ln=Lt.panelRef,Jn=le.useState(!1),va=(0,Ne.Z)(Jn,2),Da=va[0],Na=va[1],ar=le.useState(!1),$a=(0,Ne.Z)(ar,2),fa=$a[0],yr=$a[1];(0,ke.Z)(function(){yr(!0)},[]);var en=fa?Nt:!1,On=le.useRef(),ia=le.useRef();(0,ke.Z)(function(){en&&(ia.current=document.activeElement)},[en]);var xa=function(Wt){var Rn;if(Na(Wt),yn==null||yn(Wt),!Wt&&ia.current&&!((Rn=On.current)!==null&&Rn!==void 0&&Rn.contains(ia.current))){var wn;(wn=ia.current)===null||wn===void 0||wn.focus({preventScroll:!0})}},We=le.useMemo(function(){return{panel:Ln}},[Ln]);if(!un&&!Da&&!en&&Te)return null;var It={onMouseEnter:Ft,onMouseOver:zt,onMouseLeave:wt,onClick:kt,onKeyDown:sn,onKeyUp:cn},_t=(0,Be.Z)((0,Be.Z)({},Lt),{},{open:en,prefixCls:at,placement:fe,autoFocus:Rt,keyboard:Ie,width:nt,mask:yt,maskClosable:nn,inline:dn===!1,afterOpenChange:xa,ref:On},It);return le.createElement(et.Provider,{value:We},le.createElement(Ze.Z,{open:en||un||Da,autoDestroy:!1,getContainer:dn,autoLock:yt&&(en||Da)},le.createElement(be,_t)))},Ae=je,He=Ae,he=ee(62892),qe=ee(36355),Ke=ee(32441),ht=ee(47729),ot=ct=>{const{prefixCls:Lt,title:mt,footer:Nt,extra:ut,closeIcon:at,closable:De,onClose:fe,headerStyle:Xe,drawerStyle:Rt,bodyStyle:Oe,footerStyle:Ie,children:St}=ct,nt=le.useCallback(dn=>le.createElement("button",{type:"button",onClick:fe,"aria-label":"Close",className:`${Lt}-close`},dn),[fe]),[Me,yt]=(0,ht.Z)(De,at,nt,void 0,!0),Bn=le.useMemo(()=>!mt&&!Me?null:le.createElement("div",{style:Xe,className:de()(`${Lt}-header`,{[`${Lt}-header-close-only`]:Me&&!mt&&!ut})},le.createElement("div",{className:`${Lt}-header-title`},yt,mt&&le.createElement("div",{className:`${Lt}-title`},mt)),ut&&le.createElement("div",{className:`${Lt}-extra`},ut)),[Me,yt,ut,Xe,Lt,mt]),nn=le.useMemo(()=>{if(!Nt)return null;const dn=`${Lt}-footer`;return le.createElement("div",{className:dn,style:Ie},Nt)},[Nt,Ie,Lt]);return le.createElement("div",{className:`${Lt}-wrapper-body`,style:Rt},Bn,le.createElement("div",{className:`${Lt}-body`,style:Oe},St),nn)},lt=ee(33234),gt=ee(83116),ft=ee(37613),xt=ct=>{const{componentCls:Lt,motionDurationSlow:mt}=ct,Nt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${mt}`}}};return{[Lt]:{[`${Lt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${mt}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${Lt}-panel-motion`]:{"&-left":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Nt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const an=ct=>{const{componentCls:Lt,zIndexPopup:mt,colorBgMask:Nt,colorBgElevated:ut,motionDurationSlow:at,motionDurationMid:De,padding:fe,paddingLG:Xe,fontSizeLG:Rt,lineHeightLG:Oe,lineWidth:Ie,lineType:St,colorSplit:nt,marginSM:Me,colorIcon:yt,colorIconHover:Bn,colorText:nn,fontWeightStrong:dn,footerPaddingBlock:un,footerPaddingInline:yn}=ct,Te=`${Lt}-content-wrapper`;return{[Lt]:{position:"fixed",inset:0,zIndex:mt,pointerEvents:"none","&-pure":{position:"relative",background:ut,[`&${Lt}-left`]:{boxShadow:ct.boxShadowDrawerLeft},[`&${Lt}-right`]:{boxShadow:ct.boxShadowDrawerRight},[`&${Lt}-top`]:{boxShadow:ct.boxShadowDrawerUp},[`&${Lt}-bottom`]:{boxShadow:ct.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${Lt}-mask`]:{position:"absolute",inset:0,zIndex:mt,background:Nt,pointerEvents:"auto"},[Te]:{position:"absolute",zIndex:mt,maxWidth:"100vw",transition:`all ${at}`,"&-hidden":{display:"none"}},[`&-left > ${Te}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ct.boxShadowDrawerLeft},[`&-right > ${Te}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ct.boxShadowDrawerRight},[`&-top > ${Te}`]:{top:0,insetInline:0,boxShadow:ct.boxShadowDrawerUp},[`&-bottom > ${Te}`]:{bottom:0,insetInline:0,boxShadow:ct.boxShadowDrawerDown},[`${Lt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:ut,pointerEvents:"auto"},[`${Lt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${Lt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${fe}px ${Xe}px`,fontSize:Rt,lineHeight:Oe,borderBottom:`${Ie}px ${St} ${nt}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${Lt}-extra`]:{flex:"none"},[`${Lt}-close`]:{display:"inline-block",marginInlineEnd:Me,color:yt,fontWeight:dn,fontSize:Rt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${De}`,textRendering:"auto","&:focus, &:hover":{color:Bn,textDecoration:"none"}},[`${Lt}-title`]:{flex:1,margin:0,color:nn,fontWeight:ct.fontWeightStrong,fontSize:Rt,lineHeight:Oe},[`${Lt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Xe,overflow:"auto"},[`${Lt}-footer`]:{flexShrink:0,padding:`${un}px ${yn}px`,borderTop:`${Ie}px ${St} ${nt}`},"&-rtl":{direction:"rtl"}}}};var hn=(0,gt.Z)("Drawer",ct=>{const Lt=(0,ft.TS)(ct,{});return[an(Lt),xt(Lt)]},ct=>({zIndexPopup:ct.zIndexPopupBase,footerPaddingBlock:ct.paddingXS,footerPaddingInline:ct.padding})),$e=ee(11575),dt=function(ct,Lt){var mt={};for(var Nt in ct)Object.prototype.hasOwnProperty.call(ct,Nt)&&Lt.indexOf(Nt)<0&&(mt[Nt]=ct[Nt]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Nt=Object.getOwnPropertySymbols(ct);ut{var Lt;const{rootClassName:mt,width:Nt,height:ut,size:at="default",mask:De=!0,push:fe=Vn,open:Xe,afterOpenChange:Rt,onClose:Oe,prefixCls:Ie,getContainer:St,style:nt,className:Me,visible:yt,afterVisibleChange:Bn}=ct,nn=dt(ct,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:dn,getPrefixCls:un,direction:yn,drawer:Te}=le.useContext(qe.E_),Ft=un("drawer",Ie),[zt,wt]=hn(Ft),kt=St===void 0&&dn?()=>dn(document.body):St,sn=de()({"no-mask":!De,[`${Ft}-rtl`]:yn==="rtl"},mt,wt),cn=le.useMemo(()=>Nt!=null?Nt:at==="large"?736:378,[Nt,at]),Ln=le.useMemo(()=>ut!=null?ut:at==="large"?736:378,[ut,at]),Jn={motionName:(0,he.m)(Ft,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},va=Na=>({motionName:(0,he.m)(Ft,`panel-motion-${Na}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Da=(0,$e.H)();return zt(le.createElement(lt.BR,null,le.createElement(Ke.Ux,{status:!0,override:!0},le.createElement(He,Object.assign({prefixCls:Ft,onClose:Oe,maskMotion:Jn,motion:va},nn,{open:Xe!=null?Xe:yt,mask:De,push:fe,width:cn,height:Ln,style:Object.assign(Object.assign({},Te==null?void 0:Te.style),nt),className:de()(Te==null?void 0:Te.className,Me),rootClassName:sn,getContainer:kt,afterOpenChange:Rt!=null?Rt:Bn,panelRef:Da}),le.createElement(ot,Object.assign({prefixCls:Ft},nn,{onClose:Oe}))))))},Fn=ct=>{const{prefixCls:Lt,style:mt,className:Nt,placement:ut="right"}=ct,at=dt(ct,["prefixCls","style","className","placement"]),{getPrefixCls:De}=le.useContext(qe.E_),fe=De("drawer",Lt),[Xe,Rt]=hn(fe),Oe=de()(fe,`${fe}-pure`,`${fe}-${ut}`,Rt,Nt);return Xe(le.createElement("div",{className:Oe,style:mt},le.createElement(ot,Object.assign({prefixCls:fe},at))))};Zt._InternalPanelDoNotUseOrYouWillBeFired=Fn;var ze=Zt},91857:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(38819),Be=ee(92310),Ne=ee.n(Be),Ze=ee(31561),ke=ee(70425),le=ee(18929),st=ee(2738),et=ee(79676),Ve=ee(53487),Ge=ee(92343),Je=ee(36355),Ye=ee(20834),se=ee(40875),E=ee(88088),a=ee(47211);const x=null,y=ue=>{const{menu:ie,arrow:ve,prefixCls:be,children:je,trigger:Ae,disabled:He,dropdownRender:he,getPopupContainer:qe,overlayClassName:Ke,rootClassName:ht,open:Le,onOpenChange:ot,visible:lt,onVisibleChange:gt,mouseEnterDelay:ft=.15,mouseLeaveDelay:ln=.1,autoAdjustOverflow:xt=!0,placement:an="",overlay:hn,transitionName:$e}=ue,{getPopupContainer:dt,getPrefixCls:rn,direction:Vn}=b.useContext(Je.E_),Zt=b.useMemo(()=>{const Me=rn();return $e!==void 0?$e:an.includes("top")?`${Me}-slide-down`:`${Me}-slide-up`},[rn,an,$e]),Fn=b.useMemo(()=>an?an.includes("Center")?an.slice(0,an.indexOf("Center")):an:Vn==="rtl"?"bottomRight":"bottomLeft",[an,Vn]),ze=rn("dropdown",be),[ct,Lt]=(0,a.Z)(ze),[,mt]=(0,E.Z)(),Nt=b.Children.only(je),ut=(0,Ge.Tm)(Nt,{className:Ne()(`${ze}-trigger`,{[`${ze}-rtl`]:Vn==="rtl"},Nt.props.className),disabled:He}),at=He?[]:Ae;let De;at&&at.includes("contextMenu")&&(De=!0);const[fe,Xe]=(0,le.Z)(!1,{value:Le!=null?Le:lt}),Rt=(0,ke.useEvent)(Me=>{ot==null||ot(Me),gt==null||gt(Me),Xe(Me)}),Oe=Ne()(Ke,ht,Lt,{[`${ze}-rtl`]:Vn==="rtl"}),Ie=(0,et.Z)({arrowPointAtCenter:typeof ve=="object"&&ve.pointAtCenter,autoAdjustOverflow:xt,offset:mt.marginXXS,arrowWidth:ve?mt.sizePopupArrow:0,borderRadius:mt.borderRadius}),St=b.useCallback(()=>{Xe(!1)},[]),nt=()=>{let Me;return ie!=null&&ie.items?Me=b.createElement(Ye.default,Object.assign({},ie)):typeof hn=="function"?Me=hn():Me=hn,he&&(Me=he(Me)),Me=b.Children.only(typeof Me=="string"?b.createElement("span",null,Me):Me),b.createElement(se.J,{prefixCls:`${ze}-menu`,expandIcon:b.createElement("span",{className:`${ze}-menu-submenu-arrow`},b.createElement(de.Z,{className:`${ze}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:St,validator:yt=>{let{mode:Bn}=yt}},Me)};return ct(b.createElement(Ze.Z,Object.assign({alignPoint:De},(0,st.Z)(ue,["rootClassName"]),{mouseEnterDelay:ft,mouseLeaveDelay:ln,visible:fe,builtinPlacements:Ie,arrow:!!ve,overlayClassName:Oe,prefixCls:ze,getPopupContainer:qe||dt,transitionName:Zt,trigger:at,overlay:nt,placement:Fn,onVisibleChange:Rt}),ut))};function z(ue){return Object.assign(Object.assign({},ue),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ne=(0,Ve.Z)(y,"dropdown",ue=>ue,z),re=ue=>b.createElement(ne,Object.assign({},ue),b.createElement("span",null));y._InternalPanelDoNotUseOrYouWillBeFired=re,Gt.Z=y},38854:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return E}});var b=ee(91857),de=ee(92310),Be=ee.n(de),Ne=ee(59301),Ze=ee(18785),ke=ee(3113),le=ee(36355),st=ee(81327),et=ee(33234),Ve=ee(47211),Ge=function(a,x){var y={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(y[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,z=Object.getOwnPropertySymbols(a);ne{const{getPopupContainer:x,getPrefixCls:y,direction:z}=Ne.useContext(le.E_),{prefixCls:ne,type:re="default",danger:ue,disabled:ie,loading:ve,onClick:be,htmlType:je,children:Ae,className:He,menu:he,arrow:qe,autoFocus:Ke,overlay:ht,trigger:Le,align:ot,open:lt,onOpenChange:gt,placement:ft,getPopupContainer:ln,href:xt,icon:an=Ne.createElement(Ze.Z,null),title:hn,buttonsRender:$e=nt=>nt,mouseEnterDelay:dt,mouseLeaveDelay:rn,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:Fn,dropdownRender:ze}=a,ct=Ge(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"]),Lt=y("dropdown",ne),mt=`${Lt}-button`,[Nt,ut]=(0,Ve.Z)(Lt),at={menu:he,arrow:qe,autoFocus:Ke,align:ot,disabled:ie,trigger:ie?[]:Le,onOpenChange:gt,getPopupContainer:ln||x,mouseEnterDelay:dt,mouseLeaveDelay:rn,overlayClassName:Vn,overlayStyle:Zt,destroyPopupOnHide:Fn,dropdownRender:ze},{compactSize:De,compactItemClassnames:fe}=(0,et.ri)(Lt,z),Xe=Be()(mt,fe,He,ut);"overlay"in a&&(at.overlay=ht),"open"in a&&(at.open=lt),"placement"in a?at.placement=ft:at.placement=z==="rtl"?"bottomLeft":"bottomRight";const Rt=Ne.createElement(ke.ZP,{type:re,danger:ue,disabled:ie,loading:ve,onClick:be,htmlType:je,href:xt,title:hn},Ae),Oe=Ne.createElement(ke.ZP,{type:re,danger:ue,icon:an}),[Ie,St]=$e([Rt,Oe]);return Nt(Ne.createElement(st.Z.Compact,Object.assign({className:Xe,size:De,block:!0},ct),Ie,Ne.createElement(b.Z,Object.assign({},at),St)))};Je.__ANT_BUTTON=!0;var Ye=Je;const se=b.Z;se.Button=Ye;var E=se},47211:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Ge}});var b=ee(17313),de=ee(13826),Be=ee(92899),Ne=ee(29878),Ze=ee(19447),ke=ee(83116),le=ee(37613),et=Je=>{const{componentCls:Ye,menuCls:se,colorError:E,colorTextLightSolid:a}=Je,x=`${se}-item`;return{[`${Ye}, ${Ye}-menu-submenu`]:{[`${se} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const Ve=Je=>{const{componentCls:Ye,menuCls:se,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:y,iconCls:z,motionDurationMid:ne,dropdownPaddingVertical:re,fontSize:ue,dropdownEdgeChildPadding:ie,colorTextDisabled:ve,fontSizeIcon:be,controlPaddingHorizontal:je,colorBgElevated:Ae}=Je;return[{[Ye]:Object.assign(Object.assign({},(0,b.Wf)(Je)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${z}-down, & > ${y}-btn-icon > ${z}-down`]:{fontSize:be}},[`${Ye}-wrap`]:{position:"relative",[`${y}-btn > ${z}-down`]:{fontSize:be},[`${z}-down::before`]:{transition:`transform ${ne}`}},[`${Ye}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottomLeft, &${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottomLeft, &${y}-slide-down-enter${y}-slide-down-enter-active${Ye}-placement-bottom, &${y}-slide-down-appear${y}-slide-down-appear-active${Ye}-placement-bottom, @@ -191,7 +191,7 @@ &${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottom, &${y}-slide-down-leave${y}-slide-down-leave-active${Ye}-placement-bottomRight`]:{animationName:de.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topLeft, &${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-top, - &${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topRight`]:{animationName:de.ly}})},(0,Ze.ZP)(Je,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ye} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ye}, ${Ye}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:Je.borderRadiusLG,outline:"none",boxShadow:Je.boxShadowSecondary},(0,b.Qy)(Je)),{[`${se}-item-group-title`]:{padding:`${re}px ${je}px`,color:Je.colorTextDescription,transition:`all ${ne}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ue,marginInlineEnd:Je.marginXS,fontSize:Je.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:Je.colorText,fontWeight:"normal",fontSize:ue,lineHeight:Je.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Je.borderRadiusSM,"&:hover, &-active":{backgroundColor:Je.controlItemBgHover}},(0,b.Qy)(Je)),{"&-selected":{color:Je.colorPrimary,backgroundColor:Je.controlItemBgActive,"&:hover, &-active":{backgroundColor:Je.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Je.colorSplit},[`${Ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Je.paddingXS,[`${Ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Je.colorTextDescription,fontSize:be,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${Je.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:je+Je.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ye}-menu-submenu-title`]:{[`&, ${Ye}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:Ae,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ye}-menu-submenu-title`]:{color:Je.colorPrimary}})}},[(0,de.oN)(Je,"slide-up"),(0,de.oN)(Je,"slide-down"),(0,Be.Fm)(Je,"move-up"),(0,Be.Fm)(Je,"move-down"),(0,Ne._y)(Je,"zoom-big")]]};var Ge=(0,ke.Z)("Dropdown",(Je,Ye)=>{let{rootPrefixCls:se}=Ye;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ue}=Je,ie=(x-y*z)/2,{dropdownArrowOffset:ve}=(0,Ze.fS)({contentRadius:ue}),be=(0,le.TS)(Je,{menuCls:`${re}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+E,dropdownArrowOffset:ve,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:ne});return[Ve(be),et(be)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50}))},8628:function(Qt,jt,ee){"use strict";var b=ee(59301),de=ee(34280),Be=ee(56762),Ne=ee(69507);function Ze(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,b.useRef)({}),st=(0,Be.Z)(),et=(0,Ne.ZP)();return(0,de.Z)(()=>{const Ve=et.subscribe(Ge=>{le.current=Ge,ke&&st()});return()=>et.unsubscribe(Ve)},[]),le.current}jt.Z=Ze},45818:function(Qt,jt,ee){"use strict";ee.d(jt,{D:function(){return ne},Z:function(){return ie}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(be,je){return de.createElement(Ze.Z,(0,b.Z)({},be,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(33853),Ve=ee(38819),Ge=ee(92310),Je=ee.n(Ge),Ye=ee(2738),E=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),a=ee(36355),x=ee(84966),y=function(ve,be){var je={};for(var Ae in ve)Object.prototype.hasOwnProperty.call(ve,Ae)&&be.indexOf(Ae)<0&&(je[Ae]=ve[Ae]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ae=Object.getOwnPropertySymbols(ve);He{let ve=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${be}${ve}`}})();var ie=de.forwardRef((ve,be)=>{const{prefixCls:je,className:Ae,trigger:He,children:he,defaultCollapsed:qe=!1,theme:Ke="dark",style:ht={},collapsible:Le=!1,reverseArrow:ot=!1,width:lt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:ft,breakpoint:ln,onCollapse:xt,onBreakpoint:an}=ve,hn=y(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:$e}=(0,de.useContext)(x.Gs),[dt,rn]=(0,de.useState)("collapsed"in ve?ve.collapsed:qe),[Vn,Zt]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ve&&rn(ve.collapsed)},[ve.collapsed]);const Fn=(ut,at)=>{"collapsed"in ve||rn(ut),xt==null||xt(ut,at)},ze=(0,de.useRef)();ze.current=ut=>{Zt(ut.matches),an==null||an(ut.matches),dt!==ut.matches&&Fn(ut.matches,"responsive")},(0,de.useEffect)(()=>{function ut(De){return ze.current(De)}let at;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&ln&&ln in z){at=De(`(max-width: ${z[ln]})`);try{at.addEventListener("change",ut)}catch(fe){at.addListener(ut)}ut(at)}}return()=>{try{at==null||at.removeEventListener("change",ut)}catch(De){at==null||at.removeListener(ut)}}},[ln]),(0,de.useEffect)(()=>{const ut=re("ant-sider-");return $e.addSider(ut),()=>$e.removeSider(ut)},[]);const ct=()=>{Fn(!dt,"clickTrigger")},{getPrefixCls:Lt}=(0,de.useContext)(a.E_),mt=()=>{const ut=Lt("layout-sider",je),at=(0,Ye.Z)(hn,["collapsed"]),De=dt?gt:lt,fe=E(De)?`${De}px`:String(De),Xe=parseFloat(String(gt||0))===0?de.createElement("span",{onClick:ct,className:Je()(`${ut}-zero-width-trigger`,`${ut}-zero-width-trigger-${ot?"right":"left"}`),style:ft},He||de.createElement(st,null)):null,Ie={expanded:ot?de.createElement(Ve.Z,null):de.createElement(et.Z,null),collapsed:ot?de.createElement(et.Z,null):de.createElement(Ve.Z,null)}[dt?"collapsed":"expanded"],St=He!==null?Xe||de.createElement("div",{className:`${ut}-trigger`,onClick:ct,style:{width:fe}},He||Ie):null,nt=Object.assign(Object.assign({},ht),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Me=Je()(ut,`${ut}-${Ke}`,{[`${ut}-collapsed`]:!!dt,[`${ut}-has-trigger`]:Le&&He!==null&&!Xe,[`${ut}-below`]:!!Vn,[`${ut}-zero-width`]:parseFloat(fe)===0},Ae);return de.createElement("aside",Object.assign({className:Me},at,{style:nt,ref:be}),de.createElement("div",{className:`${ut}-children`},he),Le||Vn&&Xe?St:null)},Nt=de.useMemo(()=>({siderCollapsed:dt}),[dt]);return de.createElement(ne.Provider,{value:Nt},mt())})},84966:function(Qt,jt,ee){"use strict";ee.d(jt,{VY:function(){return ne},$_:function(){return z},h4:function(){return y},Gs:function(){return Ye},ZP:function(){return re}});var b=ee(26407),de=ee(92310),Be=ee.n(de),Ne=ee(2738),Ze=ee(59301),ke=ee(36355),le=ee(83116),et=ue=>{const{componentCls:ie,bodyBg:ve,lightSiderBg:be,lightTriggerBg:je,lightTriggerColor:Ae}=ue;return{[`${ie}-sider-light`]:{background:be,[`${ie}-sider-trigger`]:{color:Ae,background:je},[`${ie}-sider-zero-width-trigger`]:{color:Ae,background:je,border:`1px solid ${ve}`,borderInlineStart:0}}}};const Ve=ue=>{const{antCls:ie,componentCls:ve,colorText:be,triggerColor:je,footerBg:Ae,triggerBg:He,headerHeight:he,headerPadding:qe,headerColor:Ke,footerPadding:ht,triggerHeight:Le,zeroTriggerHeight:ot,zeroTriggerWidth:lt,motionDurationMid:gt,motionDurationSlow:ft,fontSize:ln,borderRadius:xt,bodyBg:an,headerBg:hn,siderBg:$e}=ue;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:je,lineHeight:`${Le}px`,textAlign:"center",background:He,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-lt,zIndex:1,width:lt,height:ot,color:je,fontSize:ue.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ft} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ft}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:xt}}}}},et(ue)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:he,padding:qe,color:Ke,lineHeight:`${he}px`,background:hn,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:ht,color:be,fontSize:ln,background:Ae},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var Ge=(0,le.Z)("Layout",ue=>[Ve(ue)],ue=>{const{colorBgLayout:ie,controlHeight:ve,controlHeightLG:be,colorText:je,controlHeightSM:Ae,marginXXS:He,colorTextLightSolid:he,colorBgContainer:qe}=ue,Ke=be*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ke}px`,headerColor:je,footerPadding:`${Ae}px ${Ke}px`,footerBg:ie,siderBg:"#001529",triggerHeight:be+He*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:be,zeroTriggerHeight:be,lightSiderBg:qe,lightTriggerBg:qe,lightTriggerColor:je}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Je=function(ue,ie){var ve={};for(var be in ue)Object.prototype.hasOwnProperty.call(ue,be)&&ie.indexOf(be)<0&&(ve[be]=ue[be]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,be=Object.getOwnPropertySymbols(ue);jenull,removeSider:()=>null}});function se(ue){let{suffixCls:ie,tagName:ve,displayName:be}=ue;return je=>Ze.forwardRef((He,he)=>Ze.createElement(je,Object.assign({ref:he,suffixCls:ie,tagName:ve},He)))}const E=Ze.forwardRef((ue,ie)=>{const{prefixCls:ve,suffixCls:be,className:je,tagName:Ae}=ue,He=Je(ue,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=Ze.useContext(ke.E_),qe=he("layout",ve),[Ke,ht]=Ge(qe),Le=be?`${qe}-${be}`:qe;return Ke(Ze.createElement(Ae,Object.assign({className:Be()(ve||Le,je,ht),ref:ie},He)))}),a=Ze.forwardRef((ue,ie)=>{const{direction:ve}=Ze.useContext(ke.E_),[be,je]=Ze.useState([]),{prefixCls:Ae,className:He,rootClassName:he,children:qe,hasSider:Ke,tagName:ht,style:Le}=ue,ot=Je(ue,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,Ne.Z)(ot,["suffixCls"]),{getPrefixCls:gt,layout:ft}=Ze.useContext(ke.E_),ln=gt("layout",Ae),[xt,an]=Ge(ln),hn=Be()(ln,{[`${ln}-has-sider`]:typeof Ke=="boolean"?Ke:be.length>0,[`${ln}-rtl`]:ve==="rtl"},ft==null?void 0:ft.className,He,he,an),$e=Ze.useMemo(()=>({siderHook:{addSider:dt=>{je(rn=>[].concat((0,b.Z)(rn),[dt]))},removeSider:dt=>{je(rn=>rn.filter(Vn=>Vn!==dt))}}}),[]);return xt(Ze.createElement(Ye.Provider,{value:$e},Ze.createElement(ht,Object.assign({ref:ie,className:hn,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Le)},lt),qe)))}),x=se({tagName:"div",displayName:"Layout"})(a),y=se({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ne=se({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(Qt,jt,ee){"use strict";ee.d(jt,{J:function(){return ke}});var b=ee(59301),de=ee(33234),Be=ee(70425),Ne=function(le,st){var et={};for(var Ve in le)Object.prototype.hasOwnProperty.call(le,Ve)&&st.indexOf(Ve)<0&&(et[Ve]=le[Ve]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ve=Object.getOwnPropertySymbols(le);Ge{const{children:et}=le,Ve=Ne(le,["children"]),Ge=b.useContext(Ze),Je=b.useMemo(()=>Object.assign(Object.assign({},Ge),Ve),[Ge,Ve.prefixCls,Ve.mode,Ve.selectable]);return b.createElement(Ze.Provider,{value:Je},b.createElement(de.BR,null,(0,Be.supportNodeRef)(et)?b.cloneElement(et,{ref:st}):et))});jt.Z=Ze},20834:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return Nt}});var b=ee(15285),de=ee(59301),Be=ee(45818),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe{const{prefixCls:at,className:De,dashed:fe}=ut,Xe=le(ut,["prefixCls","className","dashed"]),{getPrefixCls:Rt}=de.useContext(ke.E_),Oe=Rt("menu",at),Ie=Ze()({[`${Oe}-item-divider-dashed`]:!!fe},De);return de.createElement(b.iz,Object.assign({className:Ie},Xe))},Ve=ee(11592),Ge=ee(2738),Je=ee(6848),Ye=ee(92343),E=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=ut=>{var at;const{className:De,children:fe,icon:Xe,title:Rt,danger:Oe}=ut,{prefixCls:Ie,firstLevel:St,direction:nt,disableMenuItemTitleTooltip:Me,inlineCollapsed:yt}=de.useContext(E),Bn=Ft=>{const zt=de.createElement("span",{className:`${Ie}-title-content`},fe);return(!Xe||(0,Ye.l$)(fe)&&fe.type==="span")&&fe&&Ft&&St&&typeof fe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},fe.charAt(0)):zt},{siderCollapsed:nn}=de.useContext(Be.D);let dn=Rt;typeof Rt=="undefined"?dn=St?fe:"":Rt===!1&&(dn="");const un={title:dn};!nn&&!yt&&(un.title=null,un.open=!1);const yn=(0,Ve.Z)(fe).length;let Te=de.createElement(b.ck,Object.assign({},(0,Ge.Z)(ut,["title","icon","danger"]),{className:Ze()({[`${Ie}-item-danger`]:Oe,[`${Ie}-item-only-child`]:(Xe?yn+1:yn)===1},De),title:typeof Rt=="string"?Rt:void 0}),(0,Ye.Tm)(Xe,{className:Ze()((0,Ye.l$)(Xe)?(at=Xe.props)===null||at===void 0?void 0:at.className:"",`${Ie}-item-icon`)}),Bn(yt));return Me||(Te=de.createElement(Je.Z,Object.assign({},un,{placement:nt==="rtl"?"left":"right",overlayClassName:`${Ie}-inline-collapsed-tooltip`}),Te)),Te},z=ut=>{var at;const{popupClassName:De,icon:fe,title:Xe,theme:Rt}=ut,Oe=de.useContext(E),{prefixCls:Ie,inlineCollapsed:St,theme:nt}=Oe,Me=(0,b.Xl)();let yt;if(!fe)yt=St&&!Me.length&&Xe&&typeof Xe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Xe.charAt(0)):de.createElement("span",{className:`${Ie}-title-content`},Xe);else{const nn=(0,Ye.l$)(Xe)&&Xe.type==="span";yt=de.createElement(de.Fragment,null,(0,Ye.Tm)(fe,{className:Ze()((0,Ye.l$)(fe)?(at=fe.props)===null||at===void 0?void 0:at.className:"",`${Ie}-item-icon`)}),nn?Xe:de.createElement("span",{className:`${Ie}-title-content`},Xe))}const Bn=de.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return de.createElement(E.Provider,{value:Bn},de.createElement(b.Wd,Object.assign({},(0,Ge.Z)(ut,["icon"]),{title:yt,popupClassName:Ze()(Ie,De,`${Ie}-${Rt||nt}`)})))},ne=ee(18785),re=ee(70425),ue=ee(62892),ie=ee(40875),ve=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe{if(at&&typeof at=="object"){const fe=at,{label:Xe,children:Rt,key:Oe,type:Ie}=fe,St=ve(fe,["label","children","key","type"]),nt=Oe!=null?Oe:`tmp-${De}`;return Rt||Ie==="group"?Ie==="group"?de.createElement(b.BW,Object.assign({key:nt},St,{title:Xe}),be(Rt)):de.createElement(z,Object.assign({key:nt},St,{title:Xe}),be(Rt)):Ie==="divider"?de.createElement(et,Object.assign({key:nt},St)):de.createElement(x,Object.assign({key:nt},St),Xe)}return null}).filter(at=>at)}function je(ut){return de.useMemo(()=>ut&&be(ut),[ut])}var Ae=ee(64993),He=ee(17313),he=ee(8378),qe=ee(13826),Ke=ee(29878),ht=ee(83116),Le=ee(37613),lt=ut=>{const{componentCls:at,motionDurationSlow:De,horizontalLineHeight:fe,colorSplit:Xe,lineWidth:Rt,lineType:Oe,itemPaddingInline:Ie}=ut;return{[`${at}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Rt}px ${Oe} ${Xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${at}-item, ${at}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ie},[`> ${at}-item:hover, + &${y}-slide-up-leave${y}-slide-up-leave-active${Ye}-placement-topRight`]:{animationName:de.ly}})},(0,Ze.ZP)(Je,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ye} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ye}, ${Ye}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:ie,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:Je.borderRadiusLG,outline:"none",boxShadow:Je.boxShadowSecondary},(0,b.Qy)(Je)),{[`${se}-item-group-title`]:{padding:`${re}px ${je}px`,color:Je.colorTextDescription,transition:`all ${ne}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ue,marginInlineEnd:Je.marginXS,fontSize:Je.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:Je.colorText,fontWeight:"normal",fontSize:ue,lineHeight:Je.lineHeight,cursor:"pointer",transition:`all ${ne}`,borderRadius:Je.borderRadiusSM,"&:hover, &-active":{backgroundColor:Je.controlItemBgHover}},(0,b.Qy)(Je)),{"&-selected":{color:Je.colorPrimary,backgroundColor:Je.controlItemBgActive,"&:hover, &-active":{backgroundColor:Je.controlItemBgActiveHover}},"&-disabled":{color:ve,cursor:"not-allowed","&:hover":{color:ve,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Je.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Je.colorSplit},[`${Ye}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Je.paddingXS,[`${Ye}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Je.colorTextDescription,fontSize:be,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${Je.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:je+Je.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ye}-menu-submenu-title`]:{[`&, ${Ye}-menu-submenu-arrow-icon`]:{color:ve,backgroundColor:Ae,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ye}-menu-submenu-title`]:{color:Je.colorPrimary}})}},[(0,de.oN)(Je,"slide-up"),(0,de.oN)(Je,"slide-down"),(0,Be.Fm)(Je,"move-up"),(0,Be.Fm)(Je,"move-down"),(0,Ne._y)(Je,"zoom-big")]]};var Ge=(0,ke.Z)("Dropdown",(Je,Ye)=>{let{rootPrefixCls:se}=Ye;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:y,lineHeight:z,paddingXXS:ne,componentCls:re,borderRadiusLG:ue}=Je,ie=(x-y*z)/2,{dropdownArrowOffset:ve}=(0,Ze.fS)({contentRadius:ue}),be=(0,le.TS)(Je,{menuCls:`${re}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+E,dropdownArrowOffset:ve,dropdownPaddingVertical:ie,dropdownEdgeChildPadding:ne});return[Ve(be),et(be)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50}))},8628:function(Qt,Gt,ee){"use strict";var b=ee(59301),de=ee(34280),Be=ee(56762),Ne=ee(69507);function Ze(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const le=(0,b.useRef)({}),st=(0,Be.Z)(),et=(0,Ne.ZP)();return(0,de.Z)(()=>{const Ve=et.subscribe(Ge=>{le.current=Ge,ke&&st()});return()=>et.unsubscribe(Ve)},[]),le.current}Gt.Z=Ze},45818:function(Qt,Gt,ee){"use strict";ee.d(Gt,{D:function(){return ne},Z:function(){return ie}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(be,je){return de.createElement(Ze.Z,(0,b.Z)({},be,{ref:je,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(33853),Ve=ee(38819),Ge=ee(92310),Je=ee.n(Ge),Ye=ee(2738),E=ve=>!isNaN(parseFloat(ve))&&isFinite(ve),a=ee(36355),x=ee(84966),y=function(ve,be){var je={};for(var Ae in ve)Object.prototype.hasOwnProperty.call(ve,Ae)&&be.indexOf(Ae)<0&&(je[Ae]=ve[Ae]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Ae=Object.getOwnPropertySymbols(ve);He{let ve=0;return function(){let be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ve+=1,`${be}${ve}`}})();var ie=de.forwardRef((ve,be)=>{const{prefixCls:je,className:Ae,trigger:He,children:he,defaultCollapsed:qe=!1,theme:Ke="dark",style:ht={},collapsible:Le=!1,reverseArrow:ot=!1,width:lt=200,collapsedWidth:gt=80,zeroWidthTriggerStyle:ft,breakpoint:ln,onCollapse:xt,onBreakpoint:an}=ve,hn=y(ve,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:$e}=(0,de.useContext)(x.Gs),[dt,rn]=(0,de.useState)("collapsed"in ve?ve.collapsed:qe),[Vn,Zt]=(0,de.useState)(!1);(0,de.useEffect)(()=>{"collapsed"in ve&&rn(ve.collapsed)},[ve.collapsed]);const Fn=(ut,at)=>{"collapsed"in ve||rn(ut),xt==null||xt(ut,at)},ze=(0,de.useRef)();ze.current=ut=>{Zt(ut.matches),an==null||an(ut.matches),dt!==ut.matches&&Fn(ut.matches,"responsive")},(0,de.useEffect)(()=>{function ut(De){return ze.current(De)}let at;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&ln&&ln in z){at=De(`(max-width: ${z[ln]})`);try{at.addEventListener("change",ut)}catch(fe){at.addListener(ut)}ut(at)}}return()=>{try{at==null||at.removeEventListener("change",ut)}catch(De){at==null||at.removeListener(ut)}}},[ln]),(0,de.useEffect)(()=>{const ut=re("ant-sider-");return $e.addSider(ut),()=>$e.removeSider(ut)},[]);const ct=()=>{Fn(!dt,"clickTrigger")},{getPrefixCls:Lt}=(0,de.useContext)(a.E_),mt=()=>{const ut=Lt("layout-sider",je),at=(0,Ye.Z)(hn,["collapsed"]),De=dt?gt:lt,fe=E(De)?`${De}px`:String(De),Xe=parseFloat(String(gt||0))===0?de.createElement("span",{onClick:ct,className:Je()(`${ut}-zero-width-trigger`,`${ut}-zero-width-trigger-${ot?"right":"left"}`),style:ft},He||de.createElement(st,null)):null,Ie={expanded:ot?de.createElement(Ve.Z,null):de.createElement(et.Z,null),collapsed:ot?de.createElement(et.Z,null):de.createElement(Ve.Z,null)}[dt?"collapsed":"expanded"],St=He!==null?Xe||de.createElement("div",{className:`${ut}-trigger`,onClick:ct,style:{width:fe}},He||Ie):null,nt=Object.assign(Object.assign({},ht),{flex:`0 0 ${fe}`,maxWidth:fe,minWidth:fe,width:fe}),Me=Je()(ut,`${ut}-${Ke}`,{[`${ut}-collapsed`]:!!dt,[`${ut}-has-trigger`]:Le&&He!==null&&!Xe,[`${ut}-below`]:!!Vn,[`${ut}-zero-width`]:parseFloat(fe)===0},Ae);return de.createElement("aside",Object.assign({className:Me},at,{style:nt,ref:be}),de.createElement("div",{className:`${ut}-children`},he),Le||Vn&&Xe?St:null)},Nt=de.useMemo(()=>({siderCollapsed:dt}),[dt]);return de.createElement(ne.Provider,{value:Nt},mt())})},84966:function(Qt,Gt,ee){"use strict";ee.d(Gt,{VY:function(){return ne},$_:function(){return z},h4:function(){return y},Gs:function(){return Ye},ZP:function(){return re}});var b=ee(26407),de=ee(92310),Be=ee.n(de),Ne=ee(2738),Ze=ee(59301),ke=ee(36355),le=ee(83116),et=ue=>{const{componentCls:ie,bodyBg:ve,lightSiderBg:be,lightTriggerBg:je,lightTriggerColor:Ae}=ue;return{[`${ie}-sider-light`]:{background:be,[`${ie}-sider-trigger`]:{color:Ae,background:je},[`${ie}-sider-zero-width-trigger`]:{color:Ae,background:je,border:`1px solid ${ve}`,borderInlineStart:0}}}};const Ve=ue=>{const{antCls:ie,componentCls:ve,colorText:be,triggerColor:je,footerBg:Ae,triggerBg:He,headerHeight:he,headerPadding:qe,headerColor:Ke,footerPadding:ht,triggerHeight:Le,zeroTriggerHeight:ot,zeroTriggerWidth:lt,motionDurationMid:gt,motionDurationSlow:ft,fontSize:ln,borderRadius:xt,bodyBg:an,headerBg:hn,siderBg:$e}=ue;return{[ve]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:an,"&, *":{boxSizing:"border-box"},[`&${ve}-has-sider`]:{flexDirection:"row",[`> ${ve}, > ${ve}-content`]:{width:0}},[`${ve}-header, &${ve}-footer`]:{flex:"0 0 auto"},[`${ve}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${gt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ie}-menu${ie}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Le},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Le,color:je,lineHeight:`${Le}px`,textAlign:"center",background:He,cursor:"pointer",transition:`all ${gt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:he,insetInlineEnd:-lt,zIndex:1,width:lt,height:ot,color:je,fontSize:ue.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ft} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ft}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:xt}}}}},et(ue)),{"&-rtl":{direction:"rtl"}}),[`${ve}-header`]:{height:he,padding:qe,color:Ke,lineHeight:`${he}px`,background:hn,[`${ie}-menu`]:{lineHeight:"inherit"}},[`${ve}-footer`]:{padding:ht,color:be,fontSize:ln,background:Ae},[`${ve}-content`]:{flex:"auto",minHeight:0}}};var Ge=(0,le.Z)("Layout",ue=>[Ve(ue)],ue=>{const{colorBgLayout:ie,controlHeight:ve,controlHeightLG:be,colorText:je,controlHeightSM:Ae,marginXXS:He,colorTextLightSolid:he,colorBgContainer:qe}=ue,Ke=be*1.25;return{colorBgHeader:"#001529",colorBgBody:ie,colorBgTrigger:"#002140",bodyBg:ie,headerBg:"#001529",headerHeight:ve*2,headerPadding:`0 ${Ke}px`,headerColor:je,footerPadding:`${Ae}px ${Ke}px`,footerBg:ie,siderBg:"#001529",triggerHeight:be+He*2,triggerBg:"#002140",triggerColor:he,zeroTriggerWidth:be,zeroTriggerHeight:be,lightSiderBg:qe,lightTriggerBg:qe,lightTriggerColor:je}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Je=function(ue,ie){var ve={};for(var be in ue)Object.prototype.hasOwnProperty.call(ue,be)&&ie.indexOf(be)<0&&(ve[be]=ue[be]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var je=0,be=Object.getOwnPropertySymbols(ue);jenull,removeSider:()=>null}});function se(ue){let{suffixCls:ie,tagName:ve,displayName:be}=ue;return je=>Ze.forwardRef((He,he)=>Ze.createElement(je,Object.assign({ref:he,suffixCls:ie,tagName:ve},He)))}const E=Ze.forwardRef((ue,ie)=>{const{prefixCls:ve,suffixCls:be,className:je,tagName:Ae}=ue,He=Je(ue,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:he}=Ze.useContext(ke.E_),qe=he("layout",ve),[Ke,ht]=Ge(qe),Le=be?`${qe}-${be}`:qe;return Ke(Ze.createElement(Ae,Object.assign({className:Be()(ve||Le,je,ht),ref:ie},He)))}),a=Ze.forwardRef((ue,ie)=>{const{direction:ve}=Ze.useContext(ke.E_),[be,je]=Ze.useState([]),{prefixCls:Ae,className:He,rootClassName:he,children:qe,hasSider:Ke,tagName:ht,style:Le}=ue,ot=Je(ue,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,Ne.Z)(ot,["suffixCls"]),{getPrefixCls:gt,layout:ft}=Ze.useContext(ke.E_),ln=gt("layout",Ae),[xt,an]=Ge(ln),hn=Be()(ln,{[`${ln}-has-sider`]:typeof Ke=="boolean"?Ke:be.length>0,[`${ln}-rtl`]:ve==="rtl"},ft==null?void 0:ft.className,He,he,an),$e=Ze.useMemo(()=>({siderHook:{addSider:dt=>{je(rn=>[].concat((0,b.Z)(rn),[dt]))},removeSider:dt=>{je(rn=>rn.filter(Vn=>Vn!==dt))}}}),[]);return xt(Ze.createElement(Ye.Provider,{value:$e},Ze.createElement(ht,Object.assign({ref:ie,className:hn,style:Object.assign(Object.assign({},ft==null?void 0:ft.style),Le)},lt),qe)))}),x=se({tagName:"div",displayName:"Layout"})(a),y=se({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),ne=se({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(Qt,Gt,ee){"use strict";ee.d(Gt,{J:function(){return ke}});var b=ee(59301),de=ee(33234),Be=ee(70425),Ne=function(le,st){var et={};for(var Ve in le)Object.prototype.hasOwnProperty.call(le,Ve)&&st.indexOf(Ve)<0&&(et[Ve]=le[Ve]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,Ve=Object.getOwnPropertySymbols(le);Ge{const{children:et}=le,Ve=Ne(le,["children"]),Ge=b.useContext(Ze),Je=b.useMemo(()=>Object.assign(Object.assign({},Ge),Ve),[Ge,Ve.prefixCls,Ve.mode,Ve.selectable]);return b.createElement(Ze.Provider,{value:Je},b.createElement(de.BR,null,(0,Be.supportNodeRef)(et)?b.cloneElement(et,{ref:st}):et))});Gt.Z=Ze},20834:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Nt}});var b=ee(15285),de=ee(59301),Be=ee(45818),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe{const{prefixCls:at,className:De,dashed:fe}=ut,Xe=le(ut,["prefixCls","className","dashed"]),{getPrefixCls:Rt}=de.useContext(ke.E_),Oe=Rt("menu",at),Ie=Ze()({[`${Oe}-item-divider-dashed`]:!!fe},De);return de.createElement(b.iz,Object.assign({className:Ie},Xe))},Ve=ee(11592),Ge=ee(2738),Je=ee(6848),Ye=ee(92343),E=(0,de.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=ut=>{var at;const{className:De,children:fe,icon:Xe,title:Rt,danger:Oe}=ut,{prefixCls:Ie,firstLevel:St,direction:nt,disableMenuItemTitleTooltip:Me,inlineCollapsed:yt}=de.useContext(E),Bn=Ft=>{const zt=de.createElement("span",{className:`${Ie}-title-content`},fe);return(!Xe||(0,Ye.l$)(fe)&&fe.type==="span")&&fe&&Ft&&St&&typeof fe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},fe.charAt(0)):zt},{siderCollapsed:nn}=de.useContext(Be.D);let dn=Rt;typeof Rt=="undefined"?dn=St?fe:"":Rt===!1&&(dn="");const un={title:dn};!nn&&!yt&&(un.title=null,un.open=!1);const yn=(0,Ve.Z)(fe).length;let Te=de.createElement(b.ck,Object.assign({},(0,Ge.Z)(ut,["title","icon","danger"]),{className:Ze()({[`${Ie}-item-danger`]:Oe,[`${Ie}-item-only-child`]:(Xe?yn+1:yn)===1},De),title:typeof Rt=="string"?Rt:void 0}),(0,Ye.Tm)(Xe,{className:Ze()((0,Ye.l$)(Xe)?(at=Xe.props)===null||at===void 0?void 0:at.className:"",`${Ie}-item-icon`)}),Bn(yt));return Me||(Te=de.createElement(Je.Z,Object.assign({},un,{placement:nt==="rtl"?"left":"right",overlayClassName:`${Ie}-inline-collapsed-tooltip`}),Te)),Te},z=ut=>{var at;const{popupClassName:De,icon:fe,title:Xe,theme:Rt}=ut,Oe=de.useContext(E),{prefixCls:Ie,inlineCollapsed:St,theme:nt}=Oe,Me=(0,b.Xl)();let yt;if(!fe)yt=St&&!Me.length&&Xe&&typeof Xe=="string"?de.createElement("div",{className:`${Ie}-inline-collapsed-noicon`},Xe.charAt(0)):de.createElement("span",{className:`${Ie}-title-content`},Xe);else{const nn=(0,Ye.l$)(Xe)&&Xe.type==="span";yt=de.createElement(de.Fragment,null,(0,Ye.Tm)(fe,{className:Ze()((0,Ye.l$)(fe)?(at=fe.props)===null||at===void 0?void 0:at.className:"",`${Ie}-item-icon`)}),nn?Xe:de.createElement("span",{className:`${Ie}-title-content`},Xe))}const Bn=de.useMemo(()=>Object.assign(Object.assign({},Oe),{firstLevel:!1}),[Oe]);return de.createElement(E.Provider,{value:Bn},de.createElement(b.Wd,Object.assign({},(0,Ge.Z)(ut,["icon"]),{title:yt,popupClassName:Ze()(Ie,De,`${Ie}-${Rt||nt}`)})))},ne=ee(18785),re=ee(70425),ue=ee(62892),ie=ee(40875),ve=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe{if(at&&typeof at=="object"){const fe=at,{label:Xe,children:Rt,key:Oe,type:Ie}=fe,St=ve(fe,["label","children","key","type"]),nt=Oe!=null?Oe:`tmp-${De}`;return Rt||Ie==="group"?Ie==="group"?de.createElement(b.BW,Object.assign({key:nt},St,{title:Xe}),be(Rt)):de.createElement(z,Object.assign({key:nt},St,{title:Xe}),be(Rt)):Ie==="divider"?de.createElement(et,Object.assign({key:nt},St)):de.createElement(x,Object.assign({key:nt},St),Xe)}return null}).filter(at=>at)}function je(ut){return de.useMemo(()=>ut&&be(ut),[ut])}var Ae=ee(64993),He=ee(17313),he=ee(8378),qe=ee(13826),Ke=ee(29878),ht=ee(83116),Le=ee(37613),lt=ut=>{const{componentCls:at,motionDurationSlow:De,horizontalLineHeight:fe,colorSplit:Xe,lineWidth:Rt,lineType:Oe,itemPaddingInline:Ie}=ut;return{[`${at}-horizontal`]:{lineHeight:fe,border:0,borderBottom:`${Rt}px ${Oe} ${Xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${at}-item, ${at}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Ie},[`> ${at}-item:hover, > ${at}-item-active, > ${at}-submenu ${at}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${at}-item, ${at}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${at}-submenu-arrow`]:{display:"none"}}}},ft=ut=>{let{componentCls:at,menuArrowOffset:De}=ut;return{[`${at}-rtl`]:{direction:"rtl"},[`${at}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${at}-rtl${at}-vertical, ${at}-submenu-rtl ${at}-vertical`]:{[`${at}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${De})`},"&::after":{transform:`rotate(45deg) translateY(${De})`}}}}};const ln=ut=>Object.assign({},(0,He.oN)(ut));var an=(ut,at)=>{const{componentCls:De,itemColor:fe,itemSelectedColor:Xe,groupTitleColor:Rt,itemBg:Oe,subMenuItemBg:Ie,itemSelectedBg:St,activeBarHeight:nt,activeBarWidth:Me,activeBarBorderWidth:yt,motionDurationSlow:Bn,motionEaseInOut:nn,motionEaseOut:dn,itemPaddingInline:un,motionDurationMid:yn,itemHoverColor:Te,lineType:Ft,colorSplit:zt,itemDisabledColor:wt,dangerItemColor:kt,dangerItemHoverColor:sn,dangerItemSelectedColor:cn,dangerItemActiveBg:Ln,dangerItemSelectedBg:Jn,itemHoverBg:va,itemActiveBg:Da,menuSubMenuBg:Na,horizontalItemSelectedColor:ar,horizontalItemSelectedBg:$a,horizontalItemBorderRadius:fa,horizontalItemHoverBg:yr,popupBg:en}=ut;return{[`${De}-${at}, ${De}-${at} > ${De}`]:{color:fe,background:Oe,[`&${De}-root:focus-visible`]:Object.assign({},ln(ut)),[`${De}-item-group-title`]:{color:Rt},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:Xe}},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${wt} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:Te}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Da}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Da}}},[`${De}-item-danger`]:{color:kt,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:sn}},[`&${De}-item:active`]:{background:Ln}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:Xe,[`&${De}-item-danger`]:{color:cn},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:St,[`&${De}-item-danger`]:{backgroundColor:Jn}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},ln(ut))},[`&${De}-submenu > ${De}`]:{backgroundColor:Na},[`&${De}-popup > ${De}`]:{backgroundColor:en},[`&${De}-horizontal`]:Object.assign(Object.assign({},at==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:yt,marginTop:-yt,marginBottom:0,borderRadius:fa,"&::after":{position:"absolute",insetInline:un,bottom:0,borderBottom:`${nt}px solid transparent`,transition:`border-color ${Bn} ${nn}`,content:'""'},"&:hover, &-active, &-open":{background:yr,"&::after":{borderBottomWidth:nt,borderBottomColor:ar}},"&-selected":{color:ar,backgroundColor:$a,"&:hover":{backgroundColor:$a},"&::after":{borderBottomWidth:nt,borderBottomColor:ar}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${yt}px ${Ft} ${zt}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:Ie},[`${De}-item, ${De}-submenu-title`]:yt&&Me?{width:`calc(100% + ${yt}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Me}px solid ${Xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${yn} ${dn}`,`opacity ${yn} ${dn}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:cn}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${yn} ${nn}`,`opacity ${yn} ${nn}`].join(",")}}}}}};const hn=ut=>{const{componentCls:at,itemHeight:De,itemMarginInline:fe,padding:Xe,menuArrowSize:Rt,marginXS:Oe,itemMarginBlock:Ie}=ut,St=Xe+Rt+Oe;return{[`${at}-item`]:{position:"relative",overflow:"hidden"},[`${at}-item, ${at}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:Xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:fe,marginBlock:Ie,width:`calc(100% - ${fe*2}px)`},[`> ${at}-item, @@ -203,7 +203,7 @@ ${at}-submenu-arrow, ${at}-submenu-expand-icon `]:{opacity:0},[`${at}-item-icon, ${De}`]:{margin:0,fontSize:yn,lineHeight:`${fe}px`,"+ span":{display:"inline-block",opacity:0}}},[`${at}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${at}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:Xe}},[`${at}-item-group-title`]:Object.assign(Object.assign({},He.vS),{paddingInline:nn})}}]};const rn=ut=>{const{componentCls:at,motionDurationSlow:De,motionDurationMid:fe,motionEaseInOut:Xe,motionEaseOut:Rt,iconCls:Oe,iconSize:Ie,iconMarginInlineEnd:St}=ut;return{[`${at}-item, ${at}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${Xe}`].join(","),[`${at}-item-icon, ${Oe}`]:{minWidth:Ie,fontSize:Ie,transition:[`font-size ${fe} ${Rt}`,`margin ${De} ${Xe}`,`color ${De}`].join(","),"+ span":{marginInlineStart:St,opacity:1,transition:[`opacity ${De} ${Xe}`,`margin ${De}`,`color ${De}`].join(",")}},[`${at}-item-icon`]:Object.assign({},(0,He.Ro)()),[`&${at}-item-only-child`]:{[`> ${Oe}, > ${at}-item-icon`]:{marginInlineEnd:0}}},[`${at}-item-disabled, ${at}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${at}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Vn=ut=>{const{componentCls:at,motionDurationSlow:De,motionEaseInOut:fe,borderRadius:Xe,menuArrowSize:Rt,menuArrowOffset:Oe}=ut;return{[`${at}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:ut.margin,width:Rt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${fe}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Rt*.6,height:Rt*.15,backgroundColor:"currentcolor",borderRadius:Xe,transition:[`background ${De} ${fe}`,`transform ${De} ${fe}`,`top ${De} ${fe}`,`color ${De} ${fe}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Oe})`},"&::after":{transform:`rotate(-45deg) translateY(${Oe})`}}}}},Zt=ut=>{const{antCls:at,componentCls:De,fontSize:fe,motionDurationSlow:Xe,motionDurationMid:Rt,motionEaseInOut:Oe,paddingXS:Ie,padding:St,colorSplit:nt,lineWidth:Me,zIndexPopup:yt,borderRadiusLG:Bn,subMenuItemBorderRadius:nn,menuArrowSize:dn,menuArrowOffset:un,lineType:yn,menuPanelMaskInset:Te,groupTitleLineHeight:Ft,groupTitleFontSize:zt}=ut;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,He.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.Wf)(ut)),(0,He.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",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:ut.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${Ie}px ${St}px`,fontSize:zt,lineHeight:Ft,transition:`all ${Xe}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${Xe} ${Oe}`,`background ${Xe} ${Oe}`,`padding ${Rt} ${Oe}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${Xe} ${Oe}`,`padding ${Xe} ${Oe}`].join(",")},[`${De}-title-content`]:{transition:`color ${Xe}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:nt,borderStyle:yn,borderWidth:0,borderTopWidth:Me,marginBlock:Me,padding:0,"&-dashed":{borderStyle:"dashed"}}}),rn(ut)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${fe*2}px ${St}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:yt,borderRadius:Bn,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Te}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Te},"\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:ut.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:ut.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:ut.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:ut.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:Bn},rn(ut)),Vn(ut)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:nn},[`${De}-submenu-title::after`]:{transition:`transform ${Xe} ${Oe}`}})}}),Vn(ut)),{[`&-inline-collapsed ${De}-submenu-arrow, - &-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${un})`},"&::after":{transform:`rotate(45deg) translateX(-${un})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${un})`},"&::before":{transform:`rotate(45deg) translateX(${un})`}}})},{[`${at}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var Fn=(ut,at)=>(0,ht.Z)("Menu",fe=>{if(at===!1)return[];const{colorBgElevated:Xe,colorPrimary:Rt,colorTextLightSolid:Oe,controlHeightLG:Ie,fontSize:St,darkItemColor:nt,darkDangerItemColor:Me,darkItemBg:yt,darkSubMenuItemBg:Bn,darkItemSelectedColor:nn,darkItemSelectedBg:dn,darkDangerItemSelectedBg:un,darkItemHoverBg:yn,darkGroupTitleColor:Te,darkItemHoverColor:Ft,darkItemDisabledColor:zt,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:sn}=fe,cn=St/7*5,Ln=(0,Le.TS)(fe,{menuArrowSize:cn,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${cn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),Jn=(0,Le.TS)(Ln,{itemColor:nt,itemHoverColor:Ft,groupTitleColor:Te,itemSelectedColor:nn,itemBg:yt,popupBg:yt,subMenuItemBg:Bn,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:zt,dangerItemColor:Me,dangerItemHoverColor:wt,dangerItemSelectedColor:kt,dangerItemActiveBg:sn,dangerItemSelectedBg:un,menuSubMenuBg:Bn,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:Rt});return[Zt(Ln),lt(Ln),dt(Ln),an(Ln,"light"),an(Jn,"dark"),ft(Ln),(0,he.Z)(Ln),(0,qe.oN)(Ln,"slide-up"),(0,qe.oN)(Ln,"slide-down"),(0,Ke._y)(Ln,"zoom-big")]},fe=>{const{colorPrimary:Xe,colorError:Rt,colorTextDisabled:Oe,colorErrorBg:Ie,colorText:St,colorTextDescription:nt,colorBgContainer:Me,colorFillAlter:yt,colorFillContent:Bn,lineWidth:nn,lineWidthBold:dn,controlItemBgActive:un,colorBgTextHover:yn,controlHeightLG:Te,lineHeight:Ft,colorBgElevated:zt,marginXXS:wt,padding:kt,fontSize:sn,controlHeightSM:cn,fontSizeLG:Ln,colorTextLightSolid:Jn,colorErrorHover:va}=fe,Da=new Ae.C(Jn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:St,itemColor:St,colorItemTextHover:St,itemHoverColor:St,colorItemTextHoverHorizontal:Xe,horizontalItemHoverColor:Xe,colorGroupTitle:nt,groupTitleColor:nt,colorItemTextSelected:Xe,itemSelectedColor:Xe,colorItemTextSelectedHorizontal:Xe,horizontalItemSelectedColor:Xe,colorItemBg:Me,itemBg:Me,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:Bn,itemActiveBg:un,colorSubItemBg:yt,subMenuItemBg:yt,colorItemBgSelected:un,itemSelectedBg:un,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:nn,activeBarBorderWidth:nn,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:Rt,dangerItemColor:Rt,colorDangerItemTextHover:Rt,dangerItemHoverColor:Rt,colorDangerItemTextSelected:Rt,dangerItemSelectedColor:Rt,colorDangerItemBgActive:Ie,dangerItemActiveBg:Ie,colorDangerItemBgSelected:Ie,dangerItemSelectedBg:Ie,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Te,groupTitleLineHeight:Ft,collapsedWidth:Te*2,popupBg:zt,itemMarginBlock:wt,itemPaddingInline:kt,horizontalLineHeight:`${Te*1.15}px`,iconSize:sn,iconMarginInlineEnd:cn-sn,collapsedIconSize:Ln,groupTitleFontSize:sn,darkItemDisabledColor:new Ae.C(Jn).setAlpha(.25).toRgbString(),darkItemColor:Da,darkDangerItemColor:Rt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jn,darkItemSelectedBg:Xe,darkDangerItemSelectedBg:Rt,darkItemHoverBg:"transparent",darkGroupTitleColor:Da,darkItemHoverColor:Jn,darkDangerItemHoverColor:va,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:Rt}},{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"]]})(ut),ze=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe{var De,fe;const Xe=de.useContext(ie.Z),Rt=Xe||{},{getPrefixCls:Oe,getPopupContainer:Ie,direction:St,menu:nt}=de.useContext(ke.E_),Me=Oe(),{prefixCls:yt,className:Bn,style:nn,theme:dn="light",expandIcon:un,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Te,siderCollapsed:Ft,items:zt,children:wt,rootClassName:kt,mode:sn,selectable:cn,onClick:Ln,overflowedIndicatorPopupClassName:Jn}=ut,va=ze(ut,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Da=(0,Ge.Z)(va,["collapsedWidth"]),Na=je(zt)||wt;(De=Rt.validator)===null||De===void 0||De.call(Rt,{mode:sn});const ar=(0,re.useEvent)(function(){var Vt;Ln==null||Ln.apply(void 0,arguments),(Vt=Rt.onClick)===null||Vt===void 0||Vt.call(Rt)}),$a=Rt.mode||sn,fa=cn!=null?cn:Rt.selectable,yr=de.useMemo(()=>Ft!==void 0?Ft:Te,[Te,Ft]),en={horizontal:{motionName:`${Me}-slide-up`},inline:(0,ue.Z)(Me),other:{motionName:`${Me}-zoom-big`}},On=Oe("menu",yt||Rt.prefixCls),[ia,xa]=Fn(On,!Xe),We=Ze()(`${On}-${dn}`,nt==null?void 0:nt.className,Bn);let It;if(typeof un=="function")It=un;else if(un===null||un===!1)It=null;else if(Rt.expandIcon===null||Rt.expandIcon===!1)It=null;else{const Vt=un!=null?un:Rt.expandIcon;It=(0,Ye.Tm)(Vt,{className:Ze()(`${On}-submenu-expand-icon`,(0,Ye.l$)(Vt)?(fe=Vt.props)===null||fe===void 0?void 0:fe.className:"")})}const _t=de.useMemo(()=>({prefixCls:On,inlineCollapsed:yr||!1,direction:St,firstLevel:!0,theme:dn,mode:$a,disableMenuItemTitleTooltip:yn}),[On,yr,St,yn,dn]);return ia(de.createElement(ie.Z.Provider,{value:null},de.createElement(E.Provider,{value:_t},de.createElement(b.ZP,Object.assign({getPopupContainer:Ie,overflowedIndicator:de.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ze()(On,`${On}-${dn}`,Jn),mode:$a,selectable:fa,onClick:ar},Da,{inlineCollapsed:yr,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),nn),className:We,prefixCls:On,direction:St,defaultMotions:en,expandIcon:It,ref:at,rootClassName:Ze()(kt,xa)}),Na))))});const mt=(0,de.forwardRef)((ut,at)=>{const De=(0,de.useRef)(null),fe=de.useContext(Be.D);return(0,de.useImperativeHandle)(at,()=>({menu:De.current,focus:Xe=>{var Rt;(Rt=De.current)===null||Rt===void 0||Rt.focus(Xe)}})),de.createElement(Lt,Object.assign({ref:De},ut,fe))});mt.Item=x,mt.SubMenu=z,mt.Divider=et,mt.ItemGroup=b.BW;var Nt=mt},58421:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return Rt}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ie,St){return de.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:St,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(49198),Ve=ee(33853),Ge=ee(38819),Je=ee(92310),Ye=ee.n(Je),se=ee(400),E=ee(33708),a=ee(6909),x=ee(4771),y=ee(9427),z=ee(25440),ne=ee(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ue=re,ie=ee(91735),ve=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(){var nt;(0,a.Z)(this,St);for(var Me=arguments.length,yt=new Array(Me),Bn=0;Bn=0||nn.relatedTarget.className.indexOf("".concat(Te,"-item"))>=0))&&yn(nt.getValidValue()))},nt.go=function(nn){var dn=nt.state.goInputText;dn!==""&&(nn.keyCode===ue.ENTER||nn.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return(0,x.Z)(St,[{key:"getPageSizeOptions",value:function(){var Me=this.props,yt=Me.pageSize,Bn=Me.pageSizeOptions;return Bn.some(function(nn){return nn.toString()===yt.toString()})?Bn:Bn.concat([yt.toString()]).sort(function(nn,dn){var un=Number.isNaN(Number(nn))?0:Number(nn),yn=Number.isNaN(Number(dn))?0:Number(dn);return un-yn})}},{key:"render",value:function(){var Me=this,yt=this.props,Bn=yt.pageSize,nn=yt.locale,dn=yt.rootPrefixCls,un=yt.changeSize,yn=yt.quickGo,Te=yt.goButton,Ft=yt.selectComponentClass,zt=yt.buildOptionText,wt=yt.selectPrefixCls,kt=yt.disabled,sn=this.state.goInputText,cn="".concat(dn,"-options"),Ln=Ft,Jn=null,va=null,Da=null;if(!un&&!yn)return null;var Na=this.getPageSizeOptions();if(un&&Ln){var ar=Na.map(function($a,fa){return de.createElement(Ln.Option,{key:fa,value:$a.toString()},(zt||Me.buildOptionText)($a))});Jn=de.createElement(Ln,{disabled:kt,prefixCls:wt,showSearch:!1,className:"".concat(cn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Bn||Na[0]).toString(),onChange:this.changeSize,getPopupContainer:function(fa){return fa.parentNode},"aria-label":nn.page_size,defaultOpen:!1},ar)}return yn&&(Te&&(Da=typeof Te=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:kt,className:"".concat(cn,"-quick-jumper-button")},nn.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},Te)),va=de.createElement("div",{className:"".concat(cn,"-quick-jumper")},nn.jump_to,de.createElement("input",{disabled:kt,type:"text",value:sn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":nn.page}),nn.page,Da)),de.createElement("li",{className:"".concat(cn)},Jn,va)}}]),St}(de.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var be=ve,je=function(Ie){var St,nt=Ie.rootPrefixCls,Me=Ie.page,yt=Ie.active,Bn=Ie.className,nn=Ie.showTitle,dn=Ie.onClick,un=Ie.onKeyPress,yn=Ie.itemRender,Te="".concat(nt,"-item"),Ft=Ye()(Te,"".concat(Te,"-").concat(Me),(St={},(0,se.Z)(St,"".concat(Te,"-active"),yt),(0,se.Z)(St,"".concat(Te,"-disabled"),!Me),(0,se.Z)(St,Ie.className,Bn),St)),zt=function(){dn(Me)},wt=function(cn){un(cn,dn,Me)},kt=yn(Me,"page",de.createElement("a",{rel:"nofollow"},Me));return kt?de.createElement("li",{title:nn?Me.toString():null,className:Ft,onClick:zt,onKeyPress:wt,tabIndex:0},kt):null},Ae=je;function He(){}function he(Oe){var Ie=Number(Oe);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var qe=function(Ie,St,nt){return nt};function Ke(Oe,Ie,St){var nt=typeof Oe=="undefined"?Ie.pageSize:Oe;return Math.floor((St.total-1)/nt)+1}var ht=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(nt){var Me;(0,a.Z)(this,St),Me=Ie.call(this,nt),Me.paginationNode=de.createRef(),Me.getJumpPrevPage=function(){return Math.max(1,Me.state.current-(Me.props.showLessItems?3:5))},Me.getJumpNextPage=function(){return Math.min(Ke(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(un,yn){var Te=Me.props.prefixCls,Ft=un||de.createElement("button",{type:"button","aria-label":yn,className:"".concat(Te,"-item-link")});return typeof un=="function"&&(Ft=de.createElement(un,(0,E.Z)({},Me.props))),Ft},Me.isValid=function(un){var yn=Me.props.total;return he(un)&&un!==Me.state.current&&he(yn)&&yn>0},Me.shouldDisplayQuickJumper=function(){var un=Me.props,yn=un.showQuickJumper,Te=un.total,Ft=Me.state.pageSize;return Te<=Ft?!1:yn},Me.handleKeyDown=function(un){(un.keyCode===ue.ARROW_UP||un.keyCode===ue.ARROW_DOWN)&&un.preventDefault()},Me.handleKeyUp=function(un){var yn=Me.getValidValue(un),Te=Me.state.currentInputValue;yn!==Te&&Me.setState({currentInputValue:yn}),un.keyCode===ue.ENTER?Me.handleChange(yn):un.keyCode===ue.ARROW_UP?Me.handleChange(yn-1):un.keyCode===ue.ARROW_DOWN&&Me.handleChange(yn+1)},Me.handleBlur=function(un){var yn=Me.getValidValue(un);Me.handleChange(yn)},Me.changePageSize=function(un){var yn=Me.state.current,Te=Ke(un,Me.state,Me.props);yn=yn>Te?Te:yn,Te===0&&(yn=Me.state.current),typeof un=="number"&&("pageSize"in Me.props||Me.setState({pageSize:un}),"current"in Me.props||Me.setState({current:yn,currentInputValue:yn})),Me.props.onShowSizeChange(yn,un),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(yn,un)},Me.handleChange=function(un){var yn=Me.props,Te=yn.disabled,Ft=yn.onChange,zt=Me.state,wt=zt.pageSize,kt=zt.current,sn=zt.currentInputValue;if(Me.isValid(un)&&!Te){var cn=Ke(void 0,Me.state,Me.props),Ln=un;return un>cn?Ln=cn:un<1&&(Ln=1),"current"in Me.props||Me.setState({current:Ln}),Ln!==sn&&Me.setState({currentInputValue:Ln}),Ft(Ln,wt),Ln}return kt},Me.prev=function(){Me.hasPrev()&&Me.handleChange(Me.state.current-1)},Me.next=function(){Me.hasNext()&&Me.handleChange(Me.state.current+1)},Me.jumpPrev=function(){Me.handleChange(Me.getJumpPrevPage())},Me.jumpNext=function(){Me.handleChange(Me.getJumpNextPage())},Me.hasPrev=function(){return Me.state.current>1},Me.hasNext=function(){return Me.state.current2?Te-2:0),zt=2;zt=Bn?dn=Bn:dn=Number(yt),dn}},{key:"getShowSizeChanger",value:function(){var Me=this.props,yt=Me.showSizeChanger,Bn=Me.total,nn=Me.totalBoundaryShowSizeChanger;return typeof yt!="undefined"?yt:Bn>nn}},{key:"render",value:function(){var Me=this.props,yt=Me.prefixCls,Bn=Me.className,nn=Me.style,dn=Me.disabled,un=Me.hideOnSinglePage,yn=Me.total,Te=Me.locale,Ft=Me.showQuickJumper,zt=Me.showLessItems,wt=Me.showTitle,kt=Me.showTotal,sn=Me.simple,cn=Me.itemRender,Ln=Me.showPrevNextJumpers,Jn=Me.jumpPrevIcon,va=Me.jumpNextIcon,Da=Me.selectComponentClass,Na=Me.selectPrefixCls,ar=Me.pageSizeOptions,$a=this.state,fa=$a.current,yr=$a.pageSize,en=$a.currentInputValue;if(un===!0&&yn<=yr)return null;var On=Ke(void 0,this.state,this.props),ia=[],xa=null,We=null,It=null,_t=null,Vt=null,Gt=Ft&&Ft.goButton,Rn=zt?1:2,wn=fa-1>0?fa-1:0,vt=fa+1yn?yn:fa*yr]));if(sn){Gt&&(typeof Gt=="boolean"?Vt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Te.jump_to_confirm):Vt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Gt),Vt=de.createElement("li",{title:wt?"".concat(Te.jump_to).concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},Vt));var Sn=this.renderPrev(wn);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,"".concat(yt,"-simple"),(0,se.Z)({},"".concat(yt,"-disabled"),dn),Bn),style:nn,ref:this.paginationNode},Bt),pt,Sn?de.createElement("li",{title:wt?Te.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Sn):null,de.createElement("li",{title:wt?"".concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},de.createElement("input",{type:"text",value:en,disabled:dn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(yt,"-slash")},"/"),On),de.createElement("li",{title:wt?Te.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(vt)),Vt)}if(On<=3+Rn*2){var Wn={locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wt,itemRender:cn};On||ia.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:"noPager",page:1,className:"".concat(yt,"-item-disabled")})));for(var An=1;An<=On;An+=1){var ka=fa===An;ia.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:An,page:An,active:ka})))}}else{var pa=zt?Te.prev_3:Te.prev_5,_n=zt?Te.next_3:Te.next_5,Ea=cn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jn,"prev page")),Pa=cn(this.getJumpNextPage(),"jump-next",this.getItemIcon(va,"next page"));Ln&&(xa=Ea?de.createElement("li",{title:wt?pa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ye()("".concat(yt,"-jump-prev"),(0,se.Z)({},"".concat(yt,"-jump-prev-custom-icon"),!!Jn))},Ea):null,We=Pa?de.createElement("li",{title:wt?_n:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ye()("".concat(yt,"-jump-next"),(0,se.Z)({},"".concat(yt,"-jump-next-custom-icon"),!!va))},Pa):null),_t=de.createElement(Ae,{locale:Te,last:!0,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:On,page:On,active:!1,showTitle:wt,itemRender:cn}),It=de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wt,itemRender:cn});var Dn=Math.max(1,fa-Rn),lr=Math.min(fa+Rn,On);fa-1<=Rn&&(lr=1+Rn*2),On-fa<=Rn&&(Dn=On-Rn*2);for(var Nr=Dn;Nr<=lr;Nr+=1){var Ur=fa===Nr;ia.push(de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nr,page:Nr,active:Ur,showTitle:wt,itemRender:cn}))}fa-1>=Rn*2&&fa!==3&&(ia[0]=(0,de.cloneElement)(ia[0],{className:"".concat(yt,"-item-after-jump-prev")}),ia.unshift(xa)),On-fa>=Rn*2&&fa!==On-2&&(ia[ia.length-1]=(0,de.cloneElement)(ia[ia.length-1],{className:"".concat(yt,"-item-before-jump-next")}),ia.push(We)),Dn!==1&&ia.unshift(It),lr!==On&&ia.push(_t)}var Sr=!this.hasPrev()||!On,Ue=!this.hasNext()||!On,bn=this.renderPrev(wn),Xt=this.renderNext(vt);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,Bn,(0,se.Z)({},"".concat(yt,"-disabled"),dn)),style:nn,ref:this.paginationNode},Bt),pt,bn?de.createElement("li",{title:wt?Te.prev_page:null,onClick:this.prev,tabIndex:Sr?null:0,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),Sr)),"aria-disabled":Sr},bn):null,ia,Xt?de.createElement("li",{title:wt?Te.next_page:null,onClick:this.next,tabIndex:Ue?null:0,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),Ue)),"aria-disabled":Ue},Xt):null,de.createElement(be,{disabled:dn,locale:Te,rootPrefixCls:yt,selectComponentClass:Da,selectPrefixCls:Na,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:fa,pageSize:yr,pageSizeOptions:ar,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Gt}))}}],[{key:"getDerivedStateFromProps",value:function(Me,yt){var Bn={};if("current"in Me&&(Bn.current=Me.current,Me.current!==yt.current&&(Bn.currentInputValue=Bn.current)),"pageSize"in Me&&Me.pageSize!==yt.pageSize){var nn=yt.current,dn=Ke(Me.pageSize,yt,Me);nn=nn>dn?dn:nn,"current"in Me||(Bn.current=nn,Bn.currentInputValue=nn),Bn.pageSize=Me.pageSize}return Bn}}]),St}(de.Component);ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:He,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:He,locale:ie.Z,style:{},itemRender:qe,totalBoundaryShowSizeChanger:50};var Le=ht,ot=ee(22075),lt=ee(36355),gt=ee(19716),ft=ee(8628),ln=ee(9763),xt=ee(57809);const an=Oe=>de.createElement(xt.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),hn=Oe=>de.createElement(xt.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));an.Option=xt.default.Option,hn.Option=xt.default.Option;var $e=ee(9937),dt=ee(17313),rn=ee(83116),Vn=ee(37613);const Zt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ie}-disabled`]:{cursor:"not-allowed",[`${Ie}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ie}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ie}-simple-pager`]:{color:Oe.colorTextDisabled},[`${Ie}-jump-prev, ${Ie}-jump-next`]:{[`${Ie}-item-link-icon`]:{opacity:0},[`${Ie}-item-ellipsis`]:{opacity:1}}},[`&${Ie}-simple`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&${Ie}-disabled ${Ie}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=Oe=>{const{componentCls:Ie}=Oe;return{[`&${Ie}-mini ${Ie}-total-text, &${Ie}-mini ${Ie}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${Ie}-mini:not(${Ie}-disabled) ${Ie}-item:not(${Ie}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${Ie}-mini ${Ie}-prev, &${Ie}-mini ${Ie}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini:not(${Ie}-disabled)`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover ${Ie}-item-link`]:{backgroundColor:"transparent"}}},[` + &-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${un})`},"&::after":{transform:`rotate(45deg) translateX(-${un})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${dn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${un})`},"&::before":{transform:`rotate(45deg) translateX(${un})`}}})},{[`${at}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var Fn=(ut,at)=>(0,ht.Z)("Menu",fe=>{if(at===!1)return[];const{colorBgElevated:Xe,colorPrimary:Rt,colorTextLightSolid:Oe,controlHeightLG:Ie,fontSize:St,darkItemColor:nt,darkDangerItemColor:Me,darkItemBg:yt,darkSubMenuItemBg:Bn,darkItemSelectedColor:nn,darkItemSelectedBg:dn,darkDangerItemSelectedBg:un,darkItemHoverBg:yn,darkGroupTitleColor:Te,darkItemHoverColor:Ft,darkItemDisabledColor:zt,darkDangerItemHoverColor:wt,darkDangerItemSelectedColor:kt,darkDangerItemActiveBg:sn}=fe,cn=St/7*5,Ln=(0,Le.TS)(fe,{menuArrowSize:cn,menuHorizontalHeight:Ie*1.15,menuArrowOffset:`${cn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),Jn=(0,Le.TS)(Ln,{itemColor:nt,itemHoverColor:Ft,groupTitleColor:Te,itemSelectedColor:nn,itemBg:yt,popupBg:yt,subMenuItemBg:Bn,itemActiveBg:"transparent",itemSelectedBg:dn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:yn,itemDisabledColor:zt,dangerItemColor:Me,dangerItemHoverColor:wt,dangerItemSelectedColor:kt,dangerItemActiveBg:sn,dangerItemSelectedBg:un,menuSubMenuBg:Bn,horizontalItemSelectedColor:Oe,horizontalItemSelectedBg:Rt});return[Zt(Ln),lt(Ln),dt(Ln),an(Ln,"light"),an(Jn,"dark"),ft(Ln),(0,he.Z)(Ln),(0,qe.oN)(Ln,"slide-up"),(0,qe.oN)(Ln,"slide-down"),(0,Ke._y)(Ln,"zoom-big")]},fe=>{const{colorPrimary:Xe,colorError:Rt,colorTextDisabled:Oe,colorErrorBg:Ie,colorText:St,colorTextDescription:nt,colorBgContainer:Me,colorFillAlter:yt,colorFillContent:Bn,lineWidth:nn,lineWidthBold:dn,controlItemBgActive:un,colorBgTextHover:yn,controlHeightLG:Te,lineHeight:Ft,colorBgElevated:zt,marginXXS:wt,padding:kt,fontSize:sn,controlHeightSM:cn,fontSizeLG:Ln,colorTextLightSolid:Jn,colorErrorHover:va}=fe,Da=new Ae.C(Jn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:fe.zIndexPopupBase+50,radiusItem:fe.borderRadiusLG,itemBorderRadius:fe.borderRadiusLG,radiusSubMenuItem:fe.borderRadiusSM,subMenuItemBorderRadius:fe.borderRadiusSM,colorItemText:St,itemColor:St,colorItemTextHover:St,itemHoverColor:St,colorItemTextHoverHorizontal:Xe,horizontalItemHoverColor:Xe,colorGroupTitle:nt,groupTitleColor:nt,colorItemTextSelected:Xe,itemSelectedColor:Xe,colorItemTextSelectedHorizontal:Xe,horizontalItemSelectedColor:Xe,colorItemBg:Me,itemBg:Me,colorItemBgHover:yn,itemHoverBg:yn,colorItemBgActive:Bn,itemActiveBg:un,colorSubItemBg:yt,subMenuItemBg:yt,colorItemBgSelected:un,itemSelectedBg:un,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:dn,activeBarHeight:dn,colorActiveBarBorderSize:nn,activeBarBorderWidth:nn,colorItemTextDisabled:Oe,itemDisabledColor:Oe,colorDangerItemText:Rt,dangerItemColor:Rt,colorDangerItemTextHover:Rt,dangerItemHoverColor:Rt,colorDangerItemTextSelected:Rt,dangerItemSelectedColor:Rt,colorDangerItemBgActive:Ie,dangerItemActiveBg:Ie,colorDangerItemBgSelected:Ie,dangerItemSelectedBg:Ie,itemMarginInline:fe.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Te,groupTitleLineHeight:Ft,collapsedWidth:Te*2,popupBg:zt,itemMarginBlock:wt,itemPaddingInline:kt,horizontalLineHeight:`${Te*1.15}px`,iconSize:sn,iconMarginInlineEnd:cn-sn,collapsedIconSize:Ln,groupTitleFontSize:sn,darkItemDisabledColor:new Ae.C(Jn).setAlpha(.25).toRgbString(),darkItemColor:Da,darkDangerItemColor:Rt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Jn,darkItemSelectedBg:Xe,darkDangerItemSelectedBg:Rt,darkItemHoverBg:"transparent",darkGroupTitleColor:Da,darkItemHoverColor:Jn,darkDangerItemHoverColor:va,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:Rt}},{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"]]})(ut),ze=function(ut,at){var De={};for(var fe in ut)Object.prototype.hasOwnProperty.call(ut,fe)&&at.indexOf(fe)<0&&(De[fe]=ut[fe]);if(ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fe=Object.getOwnPropertySymbols(ut);Xe{var De,fe;const Xe=de.useContext(ie.Z),Rt=Xe||{},{getPrefixCls:Oe,getPopupContainer:Ie,direction:St,menu:nt}=de.useContext(ke.E_),Me=Oe(),{prefixCls:yt,className:Bn,style:nn,theme:dn="light",expandIcon:un,_internalDisableMenuItemTitleTooltip:yn,inlineCollapsed:Te,siderCollapsed:Ft,items:zt,children:wt,rootClassName:kt,mode:sn,selectable:cn,onClick:Ln,overflowedIndicatorPopupClassName:Jn}=ut,va=ze(ut,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Da=(0,Ge.Z)(va,["collapsedWidth"]),Na=je(zt)||wt;(De=Rt.validator)===null||De===void 0||De.call(Rt,{mode:sn});const ar=(0,re.useEvent)(function(){var Vt;Ln==null||Ln.apply(void 0,arguments),(Vt=Rt.onClick)===null||Vt===void 0||Vt.call(Rt)}),$a=Rt.mode||sn,fa=cn!=null?cn:Rt.selectable,yr=de.useMemo(()=>Ft!==void 0?Ft:Te,[Te,Ft]),en={horizontal:{motionName:`${Me}-slide-up`},inline:(0,ue.Z)(Me),other:{motionName:`${Me}-zoom-big`}},On=Oe("menu",yt||Rt.prefixCls),[ia,xa]=Fn(On,!Xe),We=Ze()(`${On}-${dn}`,nt==null?void 0:nt.className,Bn);let It;if(typeof un=="function")It=un;else if(un===null||un===!1)It=null;else if(Rt.expandIcon===null||Rt.expandIcon===!1)It=null;else{const Vt=un!=null?un:Rt.expandIcon;It=(0,Ye.Tm)(Vt,{className:Ze()(`${On}-submenu-expand-icon`,(0,Ye.l$)(Vt)?(fe=Vt.props)===null||fe===void 0?void 0:fe.className:"")})}const _t=de.useMemo(()=>({prefixCls:On,inlineCollapsed:yr||!1,direction:St,firstLevel:!0,theme:dn,mode:$a,disableMenuItemTitleTooltip:yn}),[On,yr,St,yn,dn]);return ia(de.createElement(ie.Z.Provider,{value:null},de.createElement(E.Provider,{value:_t},de.createElement(b.ZP,Object.assign({getPopupContainer:Ie,overflowedIndicator:de.createElement(ne.Z,null),overflowedIndicatorPopupClassName:Ze()(On,`${On}-${dn}`,Jn),mode:$a,selectable:fa,onClick:ar},Da,{inlineCollapsed:yr,style:Object.assign(Object.assign({},nt==null?void 0:nt.style),nn),className:We,prefixCls:On,direction:St,defaultMotions:en,expandIcon:It,ref:at,rootClassName:Ze()(kt,xa)}),Na))))});const mt=(0,de.forwardRef)((ut,at)=>{const De=(0,de.useRef)(null),fe=de.useContext(Be.D);return(0,de.useImperativeHandle)(at,()=>({menu:De.current,focus:Xe=>{var Rt;(Rt=De.current)===null||Rt===void 0||Rt.focus(Xe)}})),de.createElement(Lt,Object.assign({ref:De},ut,fe))});mt.Item=x,mt.SubMenu=z,mt.Divider=et,mt.ItemGroup=b.BW;var Nt=mt},58421:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return Rt}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(Ie,St){return de.createElement(Ze.Z,(0,b.Z)({},Ie,{ref:St,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(49198),Ve=ee(33853),Ge=ee(38819),Je=ee(92310),Ye=ee.n(Je),se=ee(400),E=ee(33708),a=ee(6909),x=ee(4771),y=ee(9427),z=ee(25440),ne=ee(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ue=re,ie=ee(91735),ve=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(){var nt;(0,a.Z)(this,St);for(var Me=arguments.length,yt=new Array(Me),Bn=0;Bn=0||nn.relatedTarget.className.indexOf("".concat(Te,"-item"))>=0))&&yn(nt.getValidValue()))},nt.go=function(nn){var dn=nt.state.goInputText;dn!==""&&(nn.keyCode===ue.ENTER||nn.type==="click")&&(nt.setState({goInputText:""}),nt.props.quickGo(nt.getValidValue()))},nt}return(0,x.Z)(St,[{key:"getPageSizeOptions",value:function(){var Me=this.props,yt=Me.pageSize,Bn=Me.pageSizeOptions;return Bn.some(function(nn){return nn.toString()===yt.toString()})?Bn:Bn.concat([yt.toString()]).sort(function(nn,dn){var un=Number.isNaN(Number(nn))?0:Number(nn),yn=Number.isNaN(Number(dn))?0:Number(dn);return un-yn})}},{key:"render",value:function(){var Me=this,yt=this.props,Bn=yt.pageSize,nn=yt.locale,dn=yt.rootPrefixCls,un=yt.changeSize,yn=yt.quickGo,Te=yt.goButton,Ft=yt.selectComponentClass,zt=yt.buildOptionText,wt=yt.selectPrefixCls,kt=yt.disabled,sn=this.state.goInputText,cn="".concat(dn,"-options"),Ln=Ft,Jn=null,va=null,Da=null;if(!un&&!yn)return null;var Na=this.getPageSizeOptions();if(un&&Ln){var ar=Na.map(function($a,fa){return de.createElement(Ln.Option,{key:fa,value:$a.toString()},(zt||Me.buildOptionText)($a))});Jn=de.createElement(Ln,{disabled:kt,prefixCls:wt,showSearch:!1,className:"".concat(cn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Bn||Na[0]).toString(),onChange:this.changeSize,getPopupContainer:function(fa){return fa.parentNode},"aria-label":nn.page_size,defaultOpen:!1},ar)}return yn&&(Te&&(Da=typeof Te=="boolean"?de.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:kt,className:"".concat(cn,"-quick-jumper-button")},nn.jump_to_confirm):de.createElement("span",{onClick:this.go,onKeyUp:this.go},Te)),va=de.createElement("div",{className:"".concat(cn,"-quick-jumper")},nn.jump_to,de.createElement("input",{disabled:kt,type:"text",value:sn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":nn.page}),nn.page,Da)),de.createElement("li",{className:"".concat(cn)},Jn,va)}}]),St}(de.Component);ve.defaultProps={pageSizeOptions:["10","20","50","100"]};var be=ve,je=function(Ie){var St,nt=Ie.rootPrefixCls,Me=Ie.page,yt=Ie.active,Bn=Ie.className,nn=Ie.showTitle,dn=Ie.onClick,un=Ie.onKeyPress,yn=Ie.itemRender,Te="".concat(nt,"-item"),Ft=Ye()(Te,"".concat(Te,"-").concat(Me),(St={},(0,se.Z)(St,"".concat(Te,"-active"),yt),(0,se.Z)(St,"".concat(Te,"-disabled"),!Me),(0,se.Z)(St,Ie.className,Bn),St)),zt=function(){dn(Me)},wt=function(cn){un(cn,dn,Me)},kt=yn(Me,"page",de.createElement("a",{rel:"nofollow"},Me));return kt?de.createElement("li",{title:nn?Me.toString():null,className:Ft,onClick:zt,onKeyPress:wt,tabIndex:0},kt):null},Ae=je;function He(){}function he(Oe){var Ie=Number(Oe);return typeof Ie=="number"&&!Number.isNaN(Ie)&&isFinite(Ie)&&Math.floor(Ie)===Ie}var qe=function(Ie,St,nt){return nt};function Ke(Oe,Ie,St){var nt=typeof Oe=="undefined"?Ie.pageSize:Oe;return Math.floor((St.total-1)/nt)+1}var ht=function(Oe){(0,y.Z)(St,Oe);var Ie=(0,z.Z)(St);function St(nt){var Me;(0,a.Z)(this,St),Me=Ie.call(this,nt),Me.paginationNode=de.createRef(),Me.getJumpPrevPage=function(){return Math.max(1,Me.state.current-(Me.props.showLessItems?3:5))},Me.getJumpNextPage=function(){return Math.min(Ke(void 0,Me.state,Me.props),Me.state.current+(Me.props.showLessItems?3:5))},Me.getItemIcon=function(un,yn){var Te=Me.props.prefixCls,Ft=un||de.createElement("button",{type:"button","aria-label":yn,className:"".concat(Te,"-item-link")});return typeof un=="function"&&(Ft=de.createElement(un,(0,E.Z)({},Me.props))),Ft},Me.isValid=function(un){var yn=Me.props.total;return he(un)&&un!==Me.state.current&&he(yn)&&yn>0},Me.shouldDisplayQuickJumper=function(){var un=Me.props,yn=un.showQuickJumper,Te=un.total,Ft=Me.state.pageSize;return Te<=Ft?!1:yn},Me.handleKeyDown=function(un){(un.keyCode===ue.ARROW_UP||un.keyCode===ue.ARROW_DOWN)&&un.preventDefault()},Me.handleKeyUp=function(un){var yn=Me.getValidValue(un),Te=Me.state.currentInputValue;yn!==Te&&Me.setState({currentInputValue:yn}),un.keyCode===ue.ENTER?Me.handleChange(yn):un.keyCode===ue.ARROW_UP?Me.handleChange(yn-1):un.keyCode===ue.ARROW_DOWN&&Me.handleChange(yn+1)},Me.handleBlur=function(un){var yn=Me.getValidValue(un);Me.handleChange(yn)},Me.changePageSize=function(un){var yn=Me.state.current,Te=Ke(un,Me.state,Me.props);yn=yn>Te?Te:yn,Te===0&&(yn=Me.state.current),typeof un=="number"&&("pageSize"in Me.props||Me.setState({pageSize:un}),"current"in Me.props||Me.setState({current:yn,currentInputValue:yn})),Me.props.onShowSizeChange(yn,un),"onChange"in Me.props&&Me.props.onChange&&Me.props.onChange(yn,un)},Me.handleChange=function(un){var yn=Me.props,Te=yn.disabled,Ft=yn.onChange,zt=Me.state,wt=zt.pageSize,kt=zt.current,sn=zt.currentInputValue;if(Me.isValid(un)&&!Te){var cn=Ke(void 0,Me.state,Me.props),Ln=un;return un>cn?Ln=cn:un<1&&(Ln=1),"current"in Me.props||Me.setState({current:Ln}),Ln!==sn&&Me.setState({currentInputValue:Ln}),Ft(Ln,wt),Ln}return kt},Me.prev=function(){Me.hasPrev()&&Me.handleChange(Me.state.current-1)},Me.next=function(){Me.hasNext()&&Me.handleChange(Me.state.current+1)},Me.jumpPrev=function(){Me.handleChange(Me.getJumpPrevPage())},Me.jumpNext=function(){Me.handleChange(Me.getJumpNextPage())},Me.hasPrev=function(){return Me.state.current>1},Me.hasNext=function(){return Me.state.current2?Te-2:0),zt=2;zt=Bn?dn=Bn:dn=Number(yt),dn}},{key:"getShowSizeChanger",value:function(){var Me=this.props,yt=Me.showSizeChanger,Bn=Me.total,nn=Me.totalBoundaryShowSizeChanger;return typeof yt!="undefined"?yt:Bn>nn}},{key:"render",value:function(){var Me=this.props,yt=Me.prefixCls,Bn=Me.className,nn=Me.style,dn=Me.disabled,un=Me.hideOnSinglePage,yn=Me.total,Te=Me.locale,Ft=Me.showQuickJumper,zt=Me.showLessItems,wt=Me.showTitle,kt=Me.showTotal,sn=Me.simple,cn=Me.itemRender,Ln=Me.showPrevNextJumpers,Jn=Me.jumpPrevIcon,va=Me.jumpNextIcon,Da=Me.selectComponentClass,Na=Me.selectPrefixCls,ar=Me.pageSizeOptions,$a=this.state,fa=$a.current,yr=$a.pageSize,en=$a.currentInputValue;if(un===!0&&yn<=yr)return null;var On=Ke(void 0,this.state,this.props),ia=[],xa=null,We=null,It=null,_t=null,Vt=null,Wt=Ft&&Ft.goButton,Rn=zt?1:2,wn=fa-1>0?fa-1:0,vt=fa+1yn?yn:fa*yr]));if(sn){Wt&&(typeof Wt=="boolean"?Vt=de.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Te.jump_to_confirm):Vt=de.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Wt),Vt=de.createElement("li",{title:wt?"".concat(Te.jump_to).concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},Vt));var Sn=this.renderPrev(wn);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,"".concat(yt,"-simple"),(0,se.Z)({},"".concat(yt,"-disabled"),dn),Bn),style:nn,ref:this.paginationNode},Bt),pt,Sn?de.createElement("li",{title:wt?Te.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Sn):null,de.createElement("li",{title:wt?"".concat(fa,"/").concat(On):null,className:"".concat(yt,"-simple-pager")},de.createElement("input",{type:"text",value:en,disabled:dn,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),de.createElement("span",{className:"".concat(yt,"-slash")},"/"),On),de.createElement("li",{title:wt?Te.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(vt)),Vt)}if(On<=3+Rn*2){var Wn={locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:wt,itemRender:cn};On||ia.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:"noPager",page:1,className:"".concat(yt,"-item-disabled")})));for(var An=1;An<=On;An+=1){var ka=fa===An;ia.push(de.createElement(Ae,(0,b.Z)({},Wn,{key:An,page:An,active:ka})))}}else{var pa=zt?Te.prev_3:Te.prev_5,_n=zt?Te.next_3:Te.next_5,Ea=cn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Jn,"prev page")),Pa=cn(this.getJumpNextPage(),"jump-next",this.getItemIcon(va,"next page"));Ln&&(xa=Ea?de.createElement("li",{title:wt?pa:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ye()("".concat(yt,"-jump-prev"),(0,se.Z)({},"".concat(yt,"-jump-prev-custom-icon"),!!Jn))},Ea):null,We=Pa?de.createElement("li",{title:wt?_n:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ye()("".concat(yt,"-jump-next"),(0,se.Z)({},"".concat(yt,"-jump-next-custom-icon"),!!va))},Pa):null),_t=de.createElement(Ae,{locale:Te,last:!0,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:On,page:On,active:!1,showTitle:wt,itemRender:cn}),It=de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:wt,itemRender:cn});var Dn=Math.max(1,fa-Rn),lr=Math.min(fa+Rn,On);fa-1<=Rn&&(lr=1+Rn*2),On-fa<=Rn&&(Dn=On-Rn*2);for(var Nr=Dn;Nr<=lr;Nr+=1){var Ur=fa===Nr;ia.push(de.createElement(Ae,{locale:Te,rootPrefixCls:yt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Nr,page:Nr,active:Ur,showTitle:wt,itemRender:cn}))}fa-1>=Rn*2&&fa!==3&&(ia[0]=(0,de.cloneElement)(ia[0],{className:"".concat(yt,"-item-after-jump-prev")}),ia.unshift(xa)),On-fa>=Rn*2&&fa!==On-2&&(ia[ia.length-1]=(0,de.cloneElement)(ia[ia.length-1],{className:"".concat(yt,"-item-before-jump-next")}),ia.push(We)),Dn!==1&&ia.unshift(It),lr!==On&&ia.push(_t)}var Sr=!this.hasPrev()||!On,Ue=!this.hasNext()||!On,bn=this.renderPrev(wn),Xt=this.renderNext(vt);return de.createElement("ul",(0,b.Z)({className:Ye()(yt,Bn,(0,se.Z)({},"".concat(yt,"-disabled"),dn)),style:nn,ref:this.paginationNode},Bt),pt,bn?de.createElement("li",{title:wt?Te.prev_page:null,onClick:this.prev,tabIndex:Sr?null:0,onKeyPress:this.runIfEnterPrev,className:Ye()("".concat(yt,"-prev"),(0,se.Z)({},"".concat(yt,"-disabled"),Sr)),"aria-disabled":Sr},bn):null,ia,Xt?de.createElement("li",{title:wt?Te.next_page:null,onClick:this.next,tabIndex:Ue?null:0,onKeyPress:this.runIfEnterNext,className:Ye()("".concat(yt,"-next"),(0,se.Z)({},"".concat(yt,"-disabled"),Ue)),"aria-disabled":Ue},Xt):null,de.createElement(be,{disabled:dn,locale:Te,rootPrefixCls:yt,selectComponentClass:Da,selectPrefixCls:Na,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:fa,pageSize:yr,pageSizeOptions:ar,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Wt}))}}],[{key:"getDerivedStateFromProps",value:function(Me,yt){var Bn={};if("current"in Me&&(Bn.current=Me.current,Me.current!==yt.current&&(Bn.currentInputValue=Bn.current)),"pageSize"in Me&&Me.pageSize!==yt.pageSize){var nn=yt.current,dn=Ke(Me.pageSize,yt,Me);nn=nn>dn?dn:nn,"current"in Me||(Bn.current=nn,Bn.currentInputValue=nn),Bn.pageSize=Me.pageSize}return Bn}}]),St}(de.Component);ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:He,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:He,locale:ie.Z,style:{},itemRender:qe,totalBoundaryShowSizeChanger:50};var Le=ht,ot=ee(22075),lt=ee(36355),gt=ee(19716),ft=ee(8628),ln=ee(9763),xt=ee(57809);const an=Oe=>de.createElement(xt.default,Object.assign({},Oe,{showSearch:!0,size:"small"})),hn=Oe=>de.createElement(xt.default,Object.assign({},Oe,{showSearch:!0,size:"middle"}));an.Option=xt.default.Option,hn.Option=xt.default.Option;var $e=ee(9937),dt=ee(17313),rn=ee(83116),Vn=ee(37613);const Zt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ie}-disabled`]:{cursor:"not-allowed",[`${Ie}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Oe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Oe.colorBorder,backgroundColor:Oe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Oe.itemActiveBgDisabled},a:{color:Oe.itemActiveColorDisabled}}},[`${Ie}-item-link`]:{color:Oe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ie}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ie}-simple-pager`]:{color:Oe.colorTextDisabled},[`${Ie}-jump-prev, ${Ie}-jump-next`]:{[`${Ie}-item-link-icon`]:{opacity:0},[`${Ie}-item-ellipsis`]:{opacity:1}}},[`&${Ie}-simple`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&${Ie}-disabled ${Ie}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Fn=Oe=>{const{componentCls:Ie}=Oe;return{[`&${Ie}-mini ${Ie}-total-text, &${Ie}-mini ${Ie}-simple-pager`]:{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-item`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM-2}px`},[`&${Ie}-mini:not(${Ie}-disabled) ${Ie}-item:not(${Ie}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},[`&${Ie}-mini ${Ie}-prev, &${Ie}-mini ${Ie}-next`]:{minWidth:Oe.itemSizeSM,height:Oe.itemSizeSM,margin:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini:not(${Ie}-disabled)`]:{[`${Ie}-prev, ${Ie}-next`]:{[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover ${Ie}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ie}-mini ${Ie}-prev ${Ie}-item-link, &${Ie}-mini ${Ie}-next ${Ie}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`}},[`&${Ie}-mini ${Ie}-jump-prev, &${Ie}-mini ${Ie}-jump-next`]:{height:Oe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Oe.itemSizeSM}px`},[`&${Ie}-mini ${Ie}-options`]:{marginInlineStart:Oe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Oe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Oe.itemSizeSM,lineHeight:`${Oe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,$e.x0)(Oe)),{width:Oe.paginationMiniQuickJumperInputWidth,height:Oe.controlHeightSM})}}}},ze=Oe=>{const{componentCls:Ie}=Oe;return{[` @@ -218,15 +218,15 @@ ${Ie}-next, ${Ie}-jump-prev, ${Ie}-jump-next - `]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${Ie}-prev, ${Ie}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${Ie}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover`]:{[`${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`${Ie}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${Ie}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,$e.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Lt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ie}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},mt=Oe=>{const{componentCls:Ie}=Oe;return{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ie}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Lt(Oe)),ct(Oe)),ze(Oe)),Fn(Oe)),Zt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${Ie}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${Ie}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},Nt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}${Ie}-disabled:not(${Ie}-mini)`]:{"&, &:hover":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},[`${Ie}-item, ${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${Ie}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${Ie}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${Ie}:not(${Ie}-mini)`]:{[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${Ie}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${Ie}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${Ie}-disabled`]:{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${Ie}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${Ie}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},ut=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}:not(${Ie}-disabled)`]:{[`${Ie}-item`]:Object.assign({},(0,dt.Qy)(Oe)),[`${Ie}-jump-prev, ${Ie}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}},(0,dt.oN)(Oe))},[`${Ie}-prev, ${Ie}-next`]:{[`&:focus-visible ${Ie}-item-link`]:Object.assign({},(0,dt.oN)(Oe))}}}};var at=(0,rn.Z)("Pagination",Oe=>{const Ie=(0,Vn.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,$e.e5)(Oe),(0,$e.TM)(Oe));return[mt(Ie),ut(Ie),Oe.wireframe&&Nt(Ie)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(Oe,Ie){var St={};for(var nt in Oe)Object.prototype.hasOwnProperty.call(Oe,nt)&&Ie.indexOf(nt)<0&&(St[nt]=Oe[nt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,nt=Object.getOwnPropertySymbols(Oe);Me{const{prefixCls:Ie,selectPrefixCls:St,className:nt,rootClassName:Me,style:yt,size:Bn,locale:nn,selectComponentClass:dn,responsive:un,showSizeChanger:yn}=Oe,Te=De(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ft}=(0,ft.Z)(un),{getPrefixCls:zt,direction:wt,pagination:kt={}}=de.useContext(lt.E_),sn=zt("pagination",Ie),[cn,Ln]=at(sn),Jn=yn!=null?yn:kt.showSizeChanger,va=de.useMemo(()=>{const On=de.createElement("span",{className:`${sn}-item-ellipsis`},"\u2022\u2022\u2022"),ia=de.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?de.createElement(Ge.Z,null):de.createElement(Ve.Z,null)),xa=de.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?de.createElement(Ve.Z,null):de.createElement(Ge.Z,null)),We=de.createElement("a",{className:`${sn}-item-link`},de.createElement("div",{className:`${sn}-item-container`},wt==="rtl"?de.createElement(et.Z,{className:`${sn}-item-link-icon`}):de.createElement(st,{className:`${sn}-item-link-icon`}),On)),It=de.createElement("a",{className:`${sn}-item-link`},de.createElement("div",{className:`${sn}-item-container`},wt==="rtl"?de.createElement(st,{className:`${sn}-item-link-icon`}):de.createElement(et.Z,{className:`${sn}-item-link-icon`}),On));return{prevIcon:ia,nextIcon:xa,jumpPrevIcon:We,jumpNextIcon:It}},[wt,sn]),[Da]=(0,ln.Z)("Pagination",ot.Z),Na=Object.assign(Object.assign({},Da),nn),ar=(0,gt.Z)(Bn),$a=ar==="small"||!!(Ft&&!ar&&un),fa=zt("select",St),yr=Ye()({[`${sn}-mini`]:$a,[`${sn}-rtl`]:wt==="rtl"},kt==null?void 0:kt.className,nt,Me,Ln),en=Object.assign(Object.assign({},kt==null?void 0:kt.style),yt);return cn(de.createElement(Le,Object.assign({},va,Te,{style:en,prefixCls:sn,selectPrefixCls:fa,className:yr,selectComponentClass:dn||($a?an:hn),locale:Na,showSizeChanger:Jn})))},Rt=Xe},39722:function(Qt,jt,ee){"use strict";ee.d(jt,{t5:function(){return Ve}});var b=ee(92310),de=ee.n(b),Be=ee(55477),Ne=ee(59301),Ze=ee(36355),ke=ee(77578),le=ee(17356),st=function(Je,Ye){var se={};for(var E in Je)Object.prototype.hasOwnProperty.call(Je,E)&&Ye.indexOf(E)<0&&(se[E]=Je[E]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Je);a{if(!(!Ye&&!se))return Ne.createElement(Ne.Fragment,null,Ye&&Ne.createElement("div",{className:`${Je}-title`},(0,ke.Z)(Ye)),Ne.createElement("div",{className:`${Je}-inner-content`},(0,ke.Z)(se)))},Ve=Je=>{const{hashId:Ye,prefixCls:se,className:E,style:a,placement:x="top",title:y,content:z,children:ne}=Je;return Ne.createElement("div",{className:de()(Ye,se,`${se}-pure`,`${se}-placement-${x}`,E),style:a},Ne.createElement("div",{className:`${se}-arrow`}),Ne.createElement(Be.G,Object.assign({},Je,{className:Ye,prefixCls:se}),ne||et(se,y,z)))},Ge=Je=>{const{prefixCls:Ye}=Je,se=st(Je,["prefixCls"]),{getPrefixCls:E}=Ne.useContext(Ze.E_),a=E("popover",Ye),[x,y]=(0,le.Z)(a);return x(Ne.createElement(Ve,Object.assign({},se,{prefixCls:a,hashId:y})))};jt.ZP=Ge},60324:function(Qt,jt,ee){"use strict";var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(77578),Ze=ee(62892),ke=ee(36355),le=ee(6848),st=ee(39722),et=ee(17356),Ve=function(Ye,se){var E={};for(var a in Ye)Object.prototype.hasOwnProperty.call(Ye,a)&&se.indexOf(a)<0&&(E[a]=Ye[a]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ye);x{let{title:se,content:E,prefixCls:a}=Ye;return Be.createElement(Be.Fragment,null,se&&Be.createElement("div",{className:`${a}-title`},(0,Ne.Z)(se)),Be.createElement("div",{className:`${a}-inner-content`},(0,Ne.Z)(E)))},Je=Be.forwardRef((Ye,se)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ue=.1,overlayStyle:ie={}}=Ye,ve=Ve(Ye,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=Be.useContext(ke.E_),je=be("popover",E),[Ae,He]=(0,et.Z)(je),he=be(),qe=de()(y,He);return Ae(Be.createElement(le.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ue,overlayStyle:ie},ve,{prefixCls:je,overlayClassName:qe,ref:se,overlay:a||x?Be.createElement(Ge,{prefixCls:je,title:a,content:x}):null,transitionName:(0,Ze.m)(he,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});Je._InternalPanelDoNotUseOrYouWillBeFired=st.ZP,jt.Z=Je},17356:function(Qt,jt,ee){"use strict";var b=ee(17313),de=ee(29878),Be=ee(19447),Ne=ee(33166),Ze=ee(83116),ke=ee(37613);const le=Ve=>{const{componentCls:Ge,popoverColor:Je,minWidth:Ye,fontWeightStrong:se,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ue}=Ve;return[{[Ge]:Object.assign(Object.assign({},(0,b.Wf)(Ve)),{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"},[`${Ge}-content`]:{position:"relative"},[`${Ge}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${Ge}-title`]:{minWidth:Ye,marginBottom:ne,color:x,fontWeight:se},[`${Ge}-inner-content`]:{color:Je}})},(0,Be.ZP)(Ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ge}-pure`]:{position:"relative",maxWidth:"none",margin:Ve.sizePopupArrow,display:"inline-block",[`${Ge}-content`]:{display:"inline-block"}}}]},st=Ve=>{const{componentCls:Ge}=Ve;return{[Ge]:Ne.i.map(Je=>{const Ye=Ve[`${Je}6`];return{[`&${Ge}-${Je}`]:{"--antd-arrow-background-color":Ye,[`${Ge}-inner`]:{backgroundColor:Ye},[`${Ge}-arrow`]:{background:"transparent"}}}})}},et=Ve=>{const{componentCls:Ge,lineWidth:Je,lineType:Ye,colorSplit:se,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Ve,ne=a-Math.round(x*y),re=ne/2,ue=ne/2-Je,ie=z;return{[Ge]:{[`${Ge}-inner`]:{padding:0},[`${Ge}-title`]:{margin:0,padding:`${re}px ${ie}px ${ue}px`,borderBottom:`${Je}px ${Ye} ${se}`},[`${Ge}-inner-content`]:{padding:`${E}px ${ie}px`}}}};jt.Z=(0,Ze.Z)("Popover",Ve=>{const{colorBgElevated:Ge,colorText:Je,wireframe:Ye}=Ve,se=(0,ke.TS)(Ve,{popoverPadding:12,popoverBg:Ge,popoverColor:Je});return[le(se),st(se),Ye&&et(se),(0,de._y)(se,"zoom-big")]},Ve=>({width:177,minWidth:177,zIndexPopup:Ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return yn}});var b=ee(59301),de=ee(29679),Be=ee(40001),Ne=ee(19248),Ze=ee(99267),ke=ee(92310),le=ee.n(ke),st=ee(2738),et=ee(36355),Ve=ee(92413),Ge=ee(33708),Je=ee(37061),Ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var Ft=(0,b.useRef)([]),zt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var wt=Date.now(),kt=!1;Ft.current.forEach(function(sn){if(sn){kt=!0;var cn=sn.style;cn.transitionDuration=".3s, .3s, .3s, .06s",zt.current&&wt-zt.current<100&&(cn.transitionDuration="0s, 0s")}}),kt&&(zt.current=Date.now())}),Ft.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Ft){var zt=(0,Ge.Z)((0,Ge.Z)({},Ye),Ft),wt=zt.className,kt=zt.percent,sn=zt.prefixCls,cn=zt.strokeColor,Ln=zt.strokeLinecap,Jn=zt.strokeWidth,va=zt.style,Da=zt.trailColor,Na=zt.trailWidth,ar=zt.transition,$a=(0,Je.Z)(zt,E);delete $a.gapPosition;var fa=Array.isArray(kt)?kt:[kt],yr=Array.isArray(cn)?cn:[cn],en=se(),On=Jn/2,ia=100-Jn/2,xa="M ".concat(Ln==="round"?On:0,",").concat(On,` - L `).concat(Ln==="round"?ia:100,",").concat(On),We="0 0 100 ".concat(Jn),It=0;return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(sn,"-line"),wt),viewBox:We,preserveAspectRatio:"none",style:va},$a),b.createElement("path",{className:"".concat(sn,"-line-trail"),d:xa,strokeLinecap:Ln,stroke:Da,strokeWidth:Na||Jn,fillOpacity:"0"}),fa.map(function(_t,Vt){var Gt=1;switch(Ln){case"round":Gt=1-Jn/100;break;case"square":Gt=1-Jn/2/100;break;default:Gt=1;break}var Rn={strokeDasharray:"".concat(_t*Gt,"px, 100px"),strokeDashoffset:"-".concat(It,"px"),transition:ar||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},wn=yr[Vt]||yr[yr.length-1];return It+=_t,b.createElement("path",{key:Vt,className:"".concat(sn,"-line-path"),d:xa,strokeLinecap:Ln,stroke:wn,strokeWidth:Jn,fillOpacity:"0",ref:function(Bt){en[Vt]=Bt},style:Rn})}))},x=a,y=ee(39559),z=ee(33606),ne=ee(47273),re=0,ue=(0,ne.Z)();function ie(){var Te;return ue?(Te=re,re+=1):Te="TEST_OR_SSR",Te}var ve=function(Te){var Ft=b.useState(),zt=(0,z.Z)(Ft,2),wt=zt[0],kt=zt[1];return b.useEffect(function(){kt("rc_progress_".concat(ie()))},[]),Te||wt},be=function(Ft){var zt=Ft.bg,wt=Ft.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:zt}},wt)};function je(Te,Ft){return Object.keys(Te).map(function(zt){var wt=parseFloat(zt),kt="".concat(Math.floor(wt*Ft),"%");return"".concat(Te[zt]," ").concat(kt)})}var Ae=b.forwardRef(function(Te,Ft){var zt=Te.prefixCls,wt=Te.color,kt=Te.gradientId,sn=Te.radius,cn=Te.style,Ln=Te.ptg,Jn=Te.strokeLinecap,va=Te.strokeWidth,Da=Te.size,Na=Te.gapDegree,ar=wt&&(0,y.Z)(wt)==="object",$a=ar?"#FFF":void 0,fa=Da/2,yr=b.createElement("circle",{className:"".concat(zt,"-circle-path"),r:sn,cx:fa,cy:fa,stroke:$a,strokeLinecap:Jn,strokeWidth:va,opacity:Ln===0?0:1,style:cn,ref:Ft});if(!ar)return yr;var en="".concat(kt,"-conic"),On=Na?"".concat(180+Na/2,"deg"):"0deg",ia=je(wt,(360-Na)/360),xa=je(wt,1),We="conic-gradient(from ".concat(On,", ").concat(ia.join(", "),")"),It="linear-gradient(to ".concat(Na?"bottom":"top",", ").concat(xa.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:en},yr),b.createElement("foreignObject",{x:0,y:0,width:Da,height:Da,mask:"url(#".concat(en,")")},b.createElement(be,{bg:It},b.createElement(be,{bg:We}))))}),He=Ae,he=100,qe=function(Ft,zt,wt,kt,sn,cn,Ln,Jn,va,Da){var Na=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ar=wt/100*360*((360-cn)/360),$a=cn===0?0:{bottom:0,top:180,left:90,right:-90}[Ln],fa=(100-kt)/100*zt;va==="round"&&kt!==100&&(fa+=Da/2,fa>=zt&&(fa=zt-.01));var yr=he/2;return{stroke:typeof Jn=="string"?Jn:void 0,strokeDasharray:"".concat(zt,"px ").concat(Ft),strokeDashoffset:fa+Na,transform:"rotate(".concat(sn+ar+$a,"deg)"),transformOrigin:"".concat(yr,"px ").concat(yr,"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}},Ke=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ht(Te){var Ft=Te!=null?Te:[];return Array.isArray(Ft)?Ft:[Ft]}var Le=function(Ft){var zt=(0,Ge.Z)((0,Ge.Z)({},Ye),Ft),wt=zt.id,kt=zt.prefixCls,sn=zt.steps,cn=zt.strokeWidth,Ln=zt.trailWidth,Jn=zt.gapDegree,va=Jn===void 0?0:Jn,Da=zt.gapPosition,Na=zt.trailColor,ar=zt.strokeLinecap,$a=zt.style,fa=zt.className,yr=zt.strokeColor,en=zt.percent,On=(0,Je.Z)(zt,Ke),ia=he/2,xa=ve(wt),We="".concat(xa,"-gradient"),It=ia-cn/2,_t=Math.PI*2*It,Vt=va>0?90+va/2:-90,Gt=_t*((360-va)/360),Rn=(0,y.Z)(sn)==="object"?sn:{count:sn,space:2},wn=Rn.count,vt=Rn.space,Bt=ht(en),pt=ht(yr),Sn=pt.find(function(Pa){return Pa&&(0,y.Z)(Pa)==="object"}),Wn=Sn&&(0,y.Z)(Sn)==="object",An=Wn?"butt":ar,ka=qe(_t,Gt,0,100,Vt,va,Da,Na,An,cn),pa=se(),_n=function(){var Dn=0;return Bt.map(function(lr,Nr){var Ur=pt[Nr]||pt[pt.length-1],Sr=qe(_t,Gt,Dn,lr,Vt,va,Da,Ur,An,cn);return Dn+=lr,b.createElement(He,{key:Nr,color:Ur,ptg:lr,radius:It,prefixCls:kt,gradientId:We,style:Sr,strokeLinecap:An,strokeWidth:cn,gapDegree:va,ref:function(bn){pa[Nr]=bn},size:he})}).reverse()},Ea=function(){var Dn=Math.round(wn*(Bt[0]/100)),lr=100/wn,Nr=0;return new Array(wn).fill(null).map(function(Ur,Sr){var Ue=Sr<=Dn-1?pt[0]:Na,bn=Ue&&(0,y.Z)(Ue)==="object"?"url(#".concat(We,")"):void 0,Xt=qe(_t,Gt,Nr,lr,Vt,va,Da,Ue,"butt",cn,vt);return Nr+=(Gt-Xt.strokeDashoffset+vt)*100/Gt,b.createElement("circle",{key:Sr,className:"".concat(kt,"-circle-path"),r:It,cx:ia,cy:ia,stroke:bn,strokeWidth:cn,opacity:1,style:Xt,ref:function(Kn){pa[Sr]=Kn}})})};return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(kt,"-circle"),fa),viewBox:"0 0 ".concat(he," ").concat(he),style:$a,id:wt,role:"presentation"},On),!wn&&b.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:It,cx:ia,cy:ia,stroke:Na,strokeLinecap:An,strokeWidth:Ln||cn,style:ka}),wn?Ea():_n())},ot=Le,lt={Line:x,Circle:ot},gt=ee(6848),ft=ee(93398);function ln(Te){return!Te||Te<0?0:Te>100?100:Te}function xt(Te){let{success:Ft,successPercent:zt}=Te,wt=zt;return Ft&&"progress"in Ft&&(wt=Ft.progress),Ft&&"percent"in Ft&&(wt=Ft.percent),wt}const an=Te=>{let{percent:Ft,success:zt,successPercent:wt}=Te;const kt=ln(xt({success:zt,successPercent:wt}));return[kt,ln(ln(Ft)-kt)]},hn=Te=>{let{success:Ft={},strokeColor:zt}=Te;const{strokeColor:wt}=Ft;return[wt||ft.presetPrimaryColors.green,zt||null]},$e=(Te,Ft,zt)=>{var wt,kt,sn,cn;let Ln=-1,Jn=-1;if(Ft==="step"){const va=zt.steps,Da=zt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?(Ln=Te==="small"?2:14,Jn=Da!=null?Da:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=14,Jn=8]=Te,Ln*=va}else if(Ft==="line"){const va=zt==null?void 0:zt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?Jn=va||(Te==="small"?6:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=-1,Jn=8]=Te}else(Ft==="circle"||Ft==="dashboard")&&(typeof Te=="string"||typeof Te=="undefined"?[Ln,Jn]=Te==="small"?[60,60]:[120,120]:typeof Te=="number"?[Ln,Jn]=[Te,Te]:(Ln=(kt=(wt=Te[0])!==null&&wt!==void 0?wt:Te[1])!==null&&kt!==void 0?kt:120,Jn=(cn=(sn=Te[0])!==null&&sn!==void 0?sn:Te[1])!==null&&cn!==void 0?cn:120));return[Ln,Jn]},dt=3,rn=Te=>dt/Te*100;var Zt=Te=>{const{prefixCls:Ft,trailColor:zt=null,strokeLinecap:wt="round",gapPosition:kt,gapDegree:sn,width:cn=120,type:Ln,children:Jn,success:va,size:Da=cn}=Te,[Na,ar]=$e(Da,"circle");let{strokeWidth:$a}=Te;$a===void 0&&($a=Math.max(rn(Na),6));const fa={width:Na,height:ar,fontSize:Na*.15+6},yr=b.useMemo(()=>{if(sn||sn===0)return sn;if(Ln==="dashboard")return 75},[sn,Ln]),en=kt||Ln==="dashboard"&&"bottom"||void 0,On=Object.prototype.toString.call(Te.strokeColor)==="[object Object]",ia=hn({success:va,strokeColor:Te.strokeColor}),xa=le()(`${Ft}-inner`,{[`${Ft}-circle-gradient`]:On}),We=b.createElement(ot,{percent:an(Te),strokeWidth:$a,trailWidth:$a,strokeColor:ia,strokeLinecap:wt,trailColor:zt,prefixCls:Ft,gapDegree:yr,gapPosition:en});return b.createElement("div",{className:xa,style:fa},Na<=20?b.createElement(gt.Z,{title:Jn},b.createElement("span",null,We)):b.createElement(b.Fragment,null,We,Jn))},Fn=function(Te,Ft){var zt={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&&Ft.indexOf(wt)<0&&(zt[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(Te);kt{let Ft=[];return Object.keys(Te).forEach(zt=>{const wt=parseFloat(zt.replace(/%/g,""));isNaN(wt)||Ft.push({key:wt,value:Te[zt]})}),Ft=Ft.sort((zt,wt)=>zt.key-wt.key),Ft.map(zt=>{let{key:wt,value:kt}=zt;return`${kt} ${wt}%`}).join(", ")},ct=(Te,Ft)=>{const{from:zt=ft.presetPrimaryColors.blue,to:wt=ft.presetPrimaryColors.blue,direction:kt=Ft==="rtl"?"to left":"to right"}=Te,sn=Fn(Te,["from","to","direction"]);if(Object.keys(sn).length!==0){const cn=ze(sn);return{backgroundImage:`linear-gradient(${kt}, ${cn})`}}return{backgroundImage:`linear-gradient(${kt}, ${zt}, ${wt})`}};var mt=Te=>{const{prefixCls:Ft,direction:zt,percent:wt,size:kt,strokeWidth:sn,strokeColor:cn,strokeLinecap:Ln="round",children:Jn,trailColor:va=null,success:Da}=Te,Na=cn&&typeof cn!="string"?ct(cn,zt):{backgroundColor:cn},ar=Ln==="square"||Ln==="butt"?0:void 0,$a={backgroundColor:va||void 0,borderRadius:ar},fa=kt!=null?kt:[-1,sn||(kt==="small"?6:8)],[yr,en]=$e(fa,"line",{strokeWidth:sn}),On=Object.assign({width:`${ln(wt)}%`,height:en,borderRadius:ar},Na),ia=xt(Te),xa={width:`${ln(ia)}%`,height:en,borderRadius:ar,backgroundColor:Da==null?void 0:Da.strokeColor},We={width:yr<0?"100%":yr,height:en};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ft}-outer`,style:We},b.createElement("div",{className:`${Ft}-inner`,style:$a},b.createElement("div",{className:`${Ft}-bg`,style:On}),ia!==void 0?b.createElement("div",{className:`${Ft}-success-bg`,style:xa}):null)),Jn)},ut=Te=>{const{size:Ft,steps:zt,percent:wt=0,strokeWidth:kt=8,strokeColor:sn,trailColor:cn=null,prefixCls:Ln,children:Jn}=Te,va=Math.round(zt*(wt/100)),Da=Ft==="small"?2:14,Na=Ft!=null?Ft:[Da,kt],[ar,$a]=$e(Na,"step",{steps:zt,strokeWidth:kt}),fa=ar/zt,yr=new Array(zt);for(let en=0;en{const Ft=Te?"100%":"-100%";return new at.Keyframes(`antProgress${Te?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:Object.assign(Object.assign({},(0,De.Wf)(Te)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Te.fontSize,marginInlineEnd:Te.marginXS,marginBottom:Te.marginXS},[`${Ft}-outer`]:{display:"inline-block",width:"100%"},[`&${Ft}-show-info`]:{[`${Ft}-outer`]:{marginInlineEnd:`calc(-2em - ${Te.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Te.paddingXS}px)`}},[`${Ft}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Te.remainingColor,borderRadius:Te.lineBorderRadius},[`${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.defaultColor}},[`${Ft}-success-bg, ${Ft}-bg`]:{position:"relative",backgroundColor:Te.defaultColor,borderRadius:Te.lineBorderRadius,transition:`all ${Te.motionDurationSlow} ${Te.motionEaseInOutCirc}`},[`${Ft}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Te.colorSuccess},[`${Ft}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Te.marginXS,color:Te.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[zt]:{fontSize:Te.fontSize}},[`&${Ft}-status-active`]:{[`${Ft}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Te.colorBgContainer,borderRadius:Te.lineBorderRadius,opacity:0,animationName:Rt(),animationDuration:Te.progressActiveMotionDuration,animationTimingFunction:Te.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ft}-rtl${Ft}-status-active`]:{[`${Ft}-bg::before`]:{animationName:Rt(!0)}},[`&${Ft}-status-exception`]:{[`${Ft}-bg`]:{backgroundColor:Te.colorError},[`${Ft}-text`]:{color:Te.colorError}},[`&${Ft}-status-exception ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.colorError}},[`&${Ft}-status-success`]:{[`${Ft}-bg`]:{backgroundColor:Te.colorSuccess},[`${Ft}-text`]:{color:Te.colorSuccess}},[`&${Ft}-status-success ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.colorSuccess}}})}},Ie=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:{[`${Ft}-circle-trail`]:{stroke:Te.remainingColor},[`&${Ft}-circle ${Ft}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ft}-circle ${Ft}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Te.circleTextColor,fontSize:Te.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[zt]:{fontSize:`${Te.fontSize/Te.fontSizeSM}em`}},[`${Ft}-circle&-status-exception`]:{[`${Ft}-text`]:{color:Te.colorError}},[`${Ft}-circle&-status-success`]:{[`${Ft}-text`]:{color:Te.colorSuccess}}},[`${Ft}-inline-circle`]:{lineHeight:1,[`${Ft}-inner`]:{verticalAlign:"bottom"}}}},St=Te=>{const{componentCls:Ft}=Te;return{[Ft]:{[`${Ft}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Te.progressStepMinWidth,marginInlineEnd:Te.progressStepMarginInlineEnd,backgroundColor:Te.remainingColor,transition:`all ${Te.motionDurationSlow}`,"&-active":{backgroundColor:Te.defaultColor}}}}}},nt=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:{[`${Ft}-small&-line, ${Ft}-small&-line ${Ft}-text ${zt}`]:{fontSize:Te.fontSizeSM}}}};var Me=(0,fe.Z)("Progress",Te=>{const Ft=Te.marginXXS/2,zt=(0,Xe.TS)(Te,{progressStepMarginInlineEnd:Ft,progressStepMinWidth:Ft,progressActiveMotionDuration:"2.4s"});return[Oe(zt),Ie(zt),St(zt),nt(zt)]},Te=>({circleTextColor:Te.colorText,defaultColor:Te.colorInfo,remainingColor:Te.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),yt=function(Te,Ft){var zt={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&&Ft.indexOf(wt)<0&&(zt[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(Te);kt{const{prefixCls:zt,className:wt,rootClassName:kt,steps:sn,strokeColor:cn,percent:Ln=0,size:Jn="default",showInfo:va=!0,type:Da="line",status:Na,format:ar,style:$a}=Te,fa=yt(Te,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),yr=b.useMemo(()=>{var Bt,pt;const Sn=xt(Te);return parseInt(Sn!==void 0?(Bt=Sn!=null?Sn:0)===null||Bt===void 0?void 0:Bt.toString():(pt=Ln!=null?Ln:0)===null||pt===void 0?void 0:pt.toString(),10)},[Ln,Te.success,Te.successPercent]),en=b.useMemo(()=>!nn.includes(Na)&&yr>=100?"success":Na||"normal",[Na,yr]),{getPrefixCls:On,direction:ia,progress:xa}=b.useContext(et.E_),We=On("progress",zt),[It,_t]=Me(We),Vt=b.useMemo(()=>{if(!va)return null;const Bt=xt(Te);let pt;const Sn=ar||(An=>`${An}%`),Wn=Da==="line";return ar||en!=="exception"&&en!=="success"?pt=Sn(ln(Ln),ln(Bt)):en==="exception"?pt=Wn?b.createElement(Ne.Z,null):b.createElement(Ze.Z,null):en==="success"&&(pt=Wn?b.createElement(de.Z,null):b.createElement(Be.Z,null)),b.createElement("span",{className:`${We}-text`,title:typeof pt=="string"?pt:void 0},pt)},[va,Ln,yr,en,Da,We,ar]),Gt=Array.isArray(cn)?cn[0]:cn,Rn=typeof cn=="string"||Array.isArray(cn)?cn:void 0;let wn;Da==="line"?wn=sn?b.createElement(ut,Object.assign({},Te,{strokeColor:Rn,prefixCls:We,steps:sn}),Vt):b.createElement(mt,Object.assign({},Te,{strokeColor:Gt,prefixCls:We,direction:ia}),Vt):(Da==="circle"||Da==="dashboard")&&(wn=b.createElement(Zt,Object.assign({},Te,{strokeColor:Gt,prefixCls:We,progressStatus:en}),Vt));const vt=le()(We,`${We}-status-${en}`,`${We}-${Da==="dashboard"&&"circle"||sn&&"steps"||Da}`,{[`${We}-inline-circle`]:Da==="circle"&&$e(Jn,"circle")[0]<=20,[`${We}-show-info`]:va,[`${We}-${Jn}`]:typeof Jn=="string",[`${We}-rtl`]:ia==="rtl"},xa==null?void 0:xa.className,wt,kt,_t);return It(b.createElement("div",Object.assign({ref:Ft,style:Object.assign(Object.assign({},xa==null?void 0:xa.style),$a),className:vt,role:"progressbar","aria-valuenow":yr},(0,st.Z)(fa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),wn))}),yn=un},13570:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return ln}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(an,hn){return de.createElement(Ze.Z,(0,b.Z)({},an,{ref:hn,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(92310),Ve=ee.n(et),Ge=ee(400),Je=ee(33606),Ye=ee(37061),se=ee(18929),E=ee(10228),a=ee(26112);function x(xt,an){var hn=xt.disabled,$e=xt.prefixCls,dt=xt.character,rn=xt.characterRender,Vn=xt.index,Zt=xt.count,Fn=xt.value,ze=xt.allowHalf,ct=xt.focused,Lt=xt.onHover,mt=xt.onClick,Nt=function(Ie){Lt(Ie,Vn)},ut=function(Ie){mt(Ie,Vn)},at=function(Ie){Ie.keyCode===E.Z.ENTER&&mt(Ie,Vn)},De=Vn+1,fe=new Set([$e]);Fn===0&&Vn===0&&ct?fe.add("".concat($e,"-focused")):ze&&Fn+.5>=De&&FnVn?"true":"false","aria-posinset":Vn+1,"aria-setsize":Zt,tabIndex:hn?-1:0},de.createElement("div",{className:"".concat($e,"-first")},Xe),de.createElement("div",{className:"".concat($e,"-second")},Xe)));return rn&&(Rt=rn(Rt,xt)),Rt}var y=de.forwardRef(x);function z(){var xt=de.useRef({});function an($e){return xt.current[$e]}function hn($e){return function(dt){xt.current[$e]=dt}}return[an,hn]}function ne(xt){var an=xt.pageXOffset,hn="scrollLeft";if(typeof an!="number"){var $e=xt.document;an=$e.documentElement[hn],typeof an!="number"&&(an=$e.body[hn])}return an}function re(xt){var an,hn,$e=xt.ownerDocument,dt=$e.body,rn=$e&&$e.documentElement,Vn=xt.getBoundingClientRect();return an=Vn.left,hn=Vn.top,an-=rn.clientLeft||dt.clientLeft||0,hn-=rn.clientTop||dt.clientTop||0,{left:an,top:hn}}function ue(xt){var an=re(xt),hn=xt.ownerDocument,$e=hn.defaultView||hn.parentWindow;return an.left+=ne($e),an.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(xt,an){var hn,$e=xt.prefixCls,dt=$e===void 0?"rc-rate":$e,rn=xt.className,Vn=xt.defaultValue,Zt=xt.value,Fn=xt.count,ze=Fn===void 0?5:Fn,ct=xt.allowHalf,Lt=ct===void 0?!1:ct,mt=xt.allowClear,Nt=mt===void 0?!0:mt,ut=xt.character,at=ut===void 0?"\u2605":ut,De=xt.characterRender,fe=xt.disabled,Xe=xt.direction,Rt=Xe===void 0?"ltr":Xe,Oe=xt.tabIndex,Ie=Oe===void 0?0:Oe,St=xt.autoFocus,nt=xt.onHoverChange,Me=xt.onChange,yt=xt.onFocus,Bn=xt.onBlur,nn=xt.onKeyDown,dn=xt.onMouseLeave,un=(0,Ye.Z)(xt,ie),yn=z(),Te=(0,Je.Z)(yn,2),Ft=Te[0],zt=Te[1],wt=de.useRef(null),kt=function(){if(!fe){var An;(An=wt.current)===null||An===void 0||An.focus()}};de.useImperativeHandle(an,function(){return{focus:kt,blur:function(){if(!fe){var An;(An=wt.current)===null||An===void 0||An.blur()}}}});var sn=(0,se.Z)(Vn||0,{value:Zt}),cn=(0,Je.Z)(sn,2),Ln=cn[0],Jn=cn[1],va=(0,se.Z)(null),Da=(0,Je.Z)(va,2),Na=Da[0],ar=Da[1],$a=function(An,ka){var pa=Rt==="rtl",_n=An+1;if(Lt){var Ea=Ft(An),Pa=ue(Ea),Dn=Ea.clientWidth;(pa&&ka-Pa>Dn/2||!pa&&ka-Pa0&&!pa||ka===E.Z.RIGHT&&_n>0&&pa?(Lt?_n-=.5:_n-=1,fa(_n),An.preventDefault()):ka===E.Z.LEFT&&_n{const{componentCls:an}=xt;return{[`${an}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:xt.marginXS},"> div":{transition:`all ${xt.motionDurationMid}, outline 0s`,"&:hover":{transform:xt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${xt.lineWidth}px dashed ${xt.starColor}`,transform:xt.starHoverScale}},"&-first, &-second":{color:xt.starBg,transition:`all ${xt.motionDurationMid}`,userSelect:"none",[xt.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"}}}},Le=xt=>({[`&-rtl${xt.componentCls}`]:{direction:"rtl"}}),ot=xt=>{const{componentCls:an}=xt;return{[an]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(xt)),{display:"inline-block",margin:0,padding:0,color:xt.starColor,fontSize:xt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${an} ${an}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ht(xt)),{[`+ ${an}-text`]:{display:"inline-block",marginInlineStart:xt.marginXS,fontSize:xt.fontSize}}),Le(xt))}};var lt=(0,qe.Z)("Rate",xt=>{const an=(0,Ke.TS)(xt,{});return[ot(an)]},xt=>({starColor:xt.yellow6,starSize:xt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:xt.colorFillContent})),gt=function(xt,an){var hn={};for(var $e in xt)Object.prototype.hasOwnProperty.call(xt,$e)&&an.indexOf($e)<0&&(hn[$e]=xt[$e]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,$e=Object.getOwnPropertySymbols(xt);dt<$e.length;dt++)an.indexOf($e[dt])<0&&Object.prototype.propertyIsEnumerable.call(xt,$e[dt])&&(hn[$e[dt]]=xt[$e[dt]]);return hn},ln=de.forwardRef((xt,an)=>{const{prefixCls:hn,className:$e,rootClassName:dt,style:rn,tooltips:Vn,character:Zt=de.createElement(st,null)}=xt,Fn=gt(xt,["prefixCls","className","rootClassName","style","tooltips","character"]),ze=(fe,Xe)=>{let{index:Rt}=Xe;return Vn?de.createElement(He.Z,{title:Vn[Rt]},fe):fe},{getPrefixCls:ct,direction:Lt,rate:mt}=de.useContext(Ae.E_),Nt=ct("rate",hn),[ut,at]=lt(Nt),De=Object.assign(Object.assign({},mt==null?void 0:mt.style),rn);return ut(de.createElement(je,Object.assign({ref:an,character:Zt,characterRender:ze},Fn,{className:Ve()($e,dt,at,mt==null?void 0:mt.className),style:De,prefixCls:Nt,direction:Lt})))})},61621:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return at}});var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(36355),Ze=ee(2738),le=De=>{const{prefixCls:fe,className:Xe,style:Rt,size:Oe,shape:Ie}=De,St=de()({[`${fe}-lg`]:Oe==="large",[`${fe}-sm`]:Oe==="small"}),nt=de()({[`${fe}-circle`]:Ie==="circle",[`${fe}-square`]:Ie==="square",[`${fe}-round`]:Ie==="round"}),Me=Be.useMemo(()=>typeof Oe=="number"?{width:Oe,height:Oe,lineHeight:`${Oe}px`}:{},[Oe]);return Be.createElement("span",{className:de()(fe,St,nt,Xe),style:Object.assign(Object.assign({},Me),Rt)})},st=ee(93083),et=ee(83116),Ve=ee(37613);const Ge=new st.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Je=De=>({height:De,lineHeight:`${De}px`}),Ye=De=>Object.assign({width:De},Je(De)),se=De=>({background:De.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ge,animationDuration:De.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=De=>Object.assign({width:De*5,minWidth:De*5},Je(De)),a=De=>{const{skeletonAvatarCls:fe,gradientFromColor:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie}=De;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe},Ye(Rt)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Ye(Oe)),[`${fe}${fe}-sm`]:Object.assign({},Ye(Ie))}},x=De=>{const{controlHeight:fe,borderRadiusSM:Xe,skeletonInputCls:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return{[`${Rt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Xe},E(fe)),[`${Rt}-lg`]:Object.assign({},E(Oe)),[`${Rt}-sm`]:Object.assign({},E(Ie))}},y=De=>Object.assign({width:De},Je(De)),z=De=>{const{skeletonImageCls:fe,imageSizeBase:Xe,gradientFromColor:Rt,borderRadiusSM:Oe}=De;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Rt,borderRadius:Oe},y(Xe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},y(Xe)),{maxWidth:Xe*4,maxHeight:Xe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(De,fe,Xe)=>{const{skeletonButtonCls:Rt}=De;return{[`${Xe}${Rt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Xe}${Rt}-round`]:{borderRadius:fe}}},re=De=>Object.assign({width:De*2,minWidth:De*2},Je(De)),ue=De=>{const{borderRadiusSM:fe,skeletonButtonCls:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:fe,width:Rt*2,minWidth:Rt*2},re(Rt))},ne(De,Rt,Xe)),{[`${Xe}-lg`]:Object.assign({},re(Oe))}),ne(De,Oe,`${Xe}-lg`)),{[`${Xe}-sm`]:Object.assign({},re(Ie))}),ne(De,Ie,`${Xe}-sm`))},ie=De=>{const{componentCls:fe,skeletonAvatarCls:Xe,skeletonTitleCls:Rt,skeletonParagraphCls:Oe,skeletonButtonCls:Ie,skeletonInputCls:St,skeletonImageCls:nt,controlHeight:Me,controlHeightLG:yt,controlHeightSM:Bn,gradientFromColor:nn,padding:dn,marginSM:un,borderRadius:yn,titleHeight:Te,blockRadius:Ft,paragraphLiHeight:zt,controlHeightXS:wt,paragraphMarginTop:kt}=De;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:dn,verticalAlign:"top",[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nn},Ye(Me)),[`${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}-lg`]:Object.assign({},Ye(yt)),[`${Xe}-sm`]:Object.assign({},Ye(Bn))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Rt}`]:{width:"100%",height:Te,background:nn,borderRadius:Ft,[`+ ${Oe}`]:{marginBlockStart:Bn}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:zt,listStyle:"none",background:nn,borderRadius:Ft,"+ li":{marginBlockStart:wt}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Rt}, ${Oe} > li`]:{borderRadius:yn}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Rt}`]:{marginBlockStart:un,[`+ ${Oe}`]:{marginBlockStart:kt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ue(De)),a(De)),x(De)),z(De)),[`${fe}${fe}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${St}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[` + `]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,color:Oe.colorText,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Oe.borderRadius,cursor:"pointer",transition:`all ${Oe.motionDurationMid}`},[`${Ie}-prev, ${Ie}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Oe.colorText,cursor:"pointer",userSelect:"none"},[`${Ie}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Oe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:"none",transition:`all ${Oe.motionDurationMid}`},[`&:hover ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextHover},[`&:active ${Ie}-item-link`]:{backgroundColor:Oe.colorBgTextActive},[`&${Ie}-disabled:hover`]:{[`${Ie}-item-link`]:{backgroundColor:"transparent"}}},[`${Ie}-slash`]:{marginInlineEnd:Oe.paginationSlashMarginInlineEnd,marginInlineStart:Oe.paginationSlashMarginInlineStart},[`${Ie}-options`]:{display:"inline-block",marginInlineStart:Oe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Oe.controlHeight,marginInlineStart:Oe.marginXS,lineHeight:`${Oe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,$e.ik)(Oe)),{width:Oe.controlHeightLG*1.25,height:Oe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Oe.marginXS,marginInlineEnd:Oe.marginXS})}}}},Lt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}-item`]:{display:"inline-block",minWidth:Oe.itemSize,height:Oe.itemSize,marginInlineEnd:Oe.marginXS,fontFamily:Oe.fontFamily,lineHeight:`${Oe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Oe.lineWidth}px ${Oe.lineType} transparent`,borderRadius:Oe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Oe.paginationItemPaddingInline}px`,color:Oe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ie}-item-active)`]:{"&:hover":{transition:`all ${Oe.motionDurationMid}`,backgroundColor:Oe.colorBgTextHover},"&:active":{backgroundColor:Oe.colorBgTextActive}},"&-active":{fontWeight:Oe.fontWeightStrong,backgroundColor:Oe.itemActiveBg,borderColor:Oe.colorPrimary,a:{color:Oe.colorPrimary},"&:hover":{borderColor:Oe.colorPrimaryHover},"&:hover a":{color:Oe.colorPrimaryHover}}}}},mt=Oe=>{const{componentCls:Ie}=Oe;return{[Ie]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,dt.Wf)(Oe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ie}-total-text`]:{display:"inline-block",height:Oe.itemSize,marginInlineEnd:Oe.marginXS,lineHeight:`${Oe.itemSize-2}px`,verticalAlign:"middle"}}),Lt(Oe)),ct(Oe)),ze(Oe)),Fn(Oe)),Zt(Oe)),{[`@media only screen and (max-width: ${Oe.screenLG}px)`]:{[`${Ie}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Oe.screenSM}px)`]:{[`${Ie}-options`]:{display:"none"}}}),[`&${Oe.componentCls}-rtl`]:{direction:"rtl"}}},Nt=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}${Ie}-disabled:not(${Ie}-mini)`]:{"&, &:hover":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},"&:focus-visible":{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder}},[`${Ie}-item, ${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,[`&:hover:not(${Ie}-item-active)`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,a:{color:Oe.colorTextDisabled}},[`&${Ie}-item-active`]:{backgroundColor:Oe.itemActiveBgDisabled}},[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,color:Oe.colorTextDisabled},[`${Ie}-item-link`]:{backgroundColor:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder}}},[`${Ie}:not(${Ie}-mini)`]:{[`${Ie}-prev, ${Ie}-next`]:{"&:hover button":{borderColor:Oe.colorPrimaryHover,backgroundColor:Oe.itemBg},[`${Ie}-item-link`]:{backgroundColor:Oe.itemLinkBg,borderColor:Oe.colorBorder},[`&:hover ${Ie}-item-link`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,color:Oe.colorPrimary},[`&${Ie}-disabled`]:{[`${Ie}-item-link`]:{borderColor:Oe.colorBorder,color:Oe.colorTextDisabled}}},[`${Ie}-item`]:{backgroundColor:Oe.itemBg,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,[`&:hover:not(${Ie}-item-active)`]:{borderColor:Oe.colorPrimary,backgroundColor:Oe.itemBg,a:{color:Oe.colorPrimary}},"&-active":{borderColor:Oe.colorPrimary}}}}},ut=Oe=>{const{componentCls:Ie}=Oe;return{[`${Ie}:not(${Ie}-disabled)`]:{[`${Ie}-item`]:Object.assign({},(0,dt.Qy)(Oe)),[`${Ie}-jump-prev, ${Ie}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ie}-item-link-icon`]:{opacity:1},[`${Ie}-item-ellipsis`]:{opacity:0}},(0,dt.oN)(Oe))},[`${Ie}-prev, ${Ie}-next`]:{[`&:focus-visible ${Ie}-item-link`]:Object.assign({},(0,dt.oN)(Oe))}}}};var at=(0,rn.Z)("Pagination",Oe=>{const Ie=(0,Vn.TS)(Oe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Oe.marginXXS/2,paginationMiniQuickJumperInputWidth:Oe.controlHeightLG*1.1,paginationItemPaddingInline:Oe.marginXXS*1.5,paginationEllipsisLetterSpacing:Oe.marginXXS/2,paginationSlashMarginInlineStart:Oe.marginXXS,paginationSlashMarginInlineEnd:Oe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,$e.e5)(Oe),(0,$e.TM)(Oe));return[mt(Ie),ut(Ie),Oe.wireframe&&Nt(Ie)]},Oe=>({itemBg:Oe.colorBgContainer,itemSize:Oe.controlHeight,itemSizeSM:Oe.controlHeightSM,itemActiveBg:Oe.colorBgContainer,itemLinkBg:Oe.colorBgContainer,itemActiveColorDisabled:Oe.colorTextDisabled,itemActiveBgDisabled:Oe.controlItemBgActiveDisabled,itemInputBg:Oe.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(Oe,Ie){var St={};for(var nt in Oe)Object.prototype.hasOwnProperty.call(Oe,nt)&&Ie.indexOf(nt)<0&&(St[nt]=Oe[nt]);if(Oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,nt=Object.getOwnPropertySymbols(Oe);Me{const{prefixCls:Ie,selectPrefixCls:St,className:nt,rootClassName:Me,style:yt,size:Bn,locale:nn,selectComponentClass:dn,responsive:un,showSizeChanger:yn}=Oe,Te=De(Oe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ft}=(0,ft.Z)(un),{getPrefixCls:zt,direction:wt,pagination:kt={}}=de.useContext(lt.E_),sn=zt("pagination",Ie),[cn,Ln]=at(sn),Jn=yn!=null?yn:kt.showSizeChanger,va=de.useMemo(()=>{const On=de.createElement("span",{className:`${sn}-item-ellipsis`},"\u2022\u2022\u2022"),ia=de.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?de.createElement(Ge.Z,null):de.createElement(Ve.Z,null)),xa=de.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},wt==="rtl"?de.createElement(Ve.Z,null):de.createElement(Ge.Z,null)),We=de.createElement("a",{className:`${sn}-item-link`},de.createElement("div",{className:`${sn}-item-container`},wt==="rtl"?de.createElement(et.Z,{className:`${sn}-item-link-icon`}):de.createElement(st,{className:`${sn}-item-link-icon`}),On)),It=de.createElement("a",{className:`${sn}-item-link`},de.createElement("div",{className:`${sn}-item-container`},wt==="rtl"?de.createElement(st,{className:`${sn}-item-link-icon`}):de.createElement(et.Z,{className:`${sn}-item-link-icon`}),On));return{prevIcon:ia,nextIcon:xa,jumpPrevIcon:We,jumpNextIcon:It}},[wt,sn]),[Da]=(0,ln.Z)("Pagination",ot.Z),Na=Object.assign(Object.assign({},Da),nn),ar=(0,gt.Z)(Bn),$a=ar==="small"||!!(Ft&&!ar&&un),fa=zt("select",St),yr=Ye()({[`${sn}-mini`]:$a,[`${sn}-rtl`]:wt==="rtl"},kt==null?void 0:kt.className,nt,Me,Ln),en=Object.assign(Object.assign({},kt==null?void 0:kt.style),yt);return cn(de.createElement(Le,Object.assign({},va,Te,{style:en,prefixCls:sn,selectPrefixCls:fa,className:yr,selectComponentClass:dn||($a?an:hn),locale:Na,showSizeChanger:Jn})))},Rt=Xe},39722:function(Qt,Gt,ee){"use strict";ee.d(Gt,{t5:function(){return Ve}});var b=ee(92310),de=ee.n(b),Be=ee(55477),Ne=ee(59301),Ze=ee(36355),ke=ee(77578),le=ee(17356),st=function(Je,Ye){var se={};for(var E in Je)Object.prototype.hasOwnProperty.call(Je,E)&&Ye.indexOf(E)<0&&(se[E]=Je[E]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(Je);a{if(!(!Ye&&!se))return Ne.createElement(Ne.Fragment,null,Ye&&Ne.createElement("div",{className:`${Je}-title`},(0,ke.Z)(Ye)),Ne.createElement("div",{className:`${Je}-inner-content`},(0,ke.Z)(se)))},Ve=Je=>{const{hashId:Ye,prefixCls:se,className:E,style:a,placement:x="top",title:y,content:z,children:ne}=Je;return Ne.createElement("div",{className:de()(Ye,se,`${se}-pure`,`${se}-placement-${x}`,E),style:a},Ne.createElement("div",{className:`${se}-arrow`}),Ne.createElement(Be.G,Object.assign({},Je,{className:Ye,prefixCls:se}),ne||et(se,y,z)))},Ge=Je=>{const{prefixCls:Ye}=Je,se=st(Je,["prefixCls"]),{getPrefixCls:E}=Ne.useContext(Ze.E_),a=E("popover",Ye),[x,y]=(0,le.Z)(a);return x(Ne.createElement(Ve,Object.assign({},se,{prefixCls:a,hashId:y})))};Gt.ZP=Ge},60324:function(Qt,Gt,ee){"use strict";var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(77578),Ze=ee(62892),ke=ee(36355),le=ee(6848),st=ee(39722),et=ee(17356),Ve=function(Ye,se){var E={};for(var a in Ye)Object.prototype.hasOwnProperty.call(Ye,a)&&se.indexOf(a)<0&&(E[a]=Ye[a]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Ye);x{let{title:se,content:E,prefixCls:a}=Ye;return Be.createElement(Be.Fragment,null,se&&Be.createElement("div",{className:`${a}-title`},(0,Ne.Z)(se)),Be.createElement("div",{className:`${a}-inner-content`},(0,Ne.Z)(E)))},Je=Be.forwardRef((Ye,se)=>{const{prefixCls:E,title:a,content:x,overlayClassName:y,placement:z="top",trigger:ne="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ue=.1,overlayStyle:ie={}}=Ye,ve=Ve(Ye,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:be}=Be.useContext(ke.E_),je=be("popover",E),[Ae,He]=(0,et.Z)(je),he=be(),qe=de()(y,He);return Ae(Be.createElement(le.Z,Object.assign({placement:z,trigger:ne,mouseEnterDelay:re,mouseLeaveDelay:ue,overlayStyle:ie},ve,{prefixCls:je,overlayClassName:qe,ref:se,overlay:a||x?Be.createElement(Ge,{prefixCls:je,title:a,content:x}):null,transitionName:(0,Ze.m)(he,"zoom-big",ve.transitionName),"data-popover-inject":!0})))});Je._InternalPanelDoNotUseOrYouWillBeFired=st.ZP,Gt.Z=Je},17356:function(Qt,Gt,ee){"use strict";var b=ee(17313),de=ee(29878),Be=ee(19447),Ne=ee(33166),Ze=ee(83116),ke=ee(37613);const le=Ve=>{const{componentCls:Ge,popoverColor:Je,minWidth:Ye,fontWeightStrong:se,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:y,zIndexPopup:z,marginXS:ne,colorBgElevated:re,popoverBg:ue}=Ve;return[{[Ge]:Object.assign(Object.assign({},(0,b.Wf)(Ve)),{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"},[`${Ge}-content`]:{position:"relative"},[`${Ge}-inner`]:{backgroundColor:ue,backgroundClip:"padding-box",borderRadius:y,boxShadow:a,padding:E},[`${Ge}-title`]:{minWidth:Ye,marginBottom:ne,color:x,fontWeight:se},[`${Ge}-inner-content`]:{color:Je}})},(0,Be.ZP)(Ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ge}-pure`]:{position:"relative",maxWidth:"none",margin:Ve.sizePopupArrow,display:"inline-block",[`${Ge}-content`]:{display:"inline-block"}}}]},st=Ve=>{const{componentCls:Ge}=Ve;return{[Ge]:Ne.i.map(Je=>{const Ye=Ve[`${Je}6`];return{[`&${Ge}-${Je}`]:{"--antd-arrow-background-color":Ye,[`${Ge}-inner`]:{backgroundColor:Ye},[`${Ge}-arrow`]:{background:"transparent"}}}})}},et=Ve=>{const{componentCls:Ge,lineWidth:Je,lineType:Ye,colorSplit:se,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:y,padding:z}=Ve,ne=a-Math.round(x*y),re=ne/2,ue=ne/2-Je,ie=z;return{[Ge]:{[`${Ge}-inner`]:{padding:0},[`${Ge}-title`]:{margin:0,padding:`${re}px ${ie}px ${ue}px`,borderBottom:`${Je}px ${Ye} ${se}`},[`${Ge}-inner-content`]:{padding:`${E}px ${ie}px`}}}};Gt.Z=(0,Ze.Z)("Popover",Ve=>{const{colorBgElevated:Ge,colorText:Je,wireframe:Ye}=Ve,se=(0,ke.TS)(Ve,{popoverPadding:12,popoverBg:Ge,popoverColor:Je});return[le(se),st(se),Ye&&et(se),(0,de._y)(se,"zoom-big")]},Ve=>({width:177,minWidth:177,zIndexPopup:Ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return yn}});var b=ee(59301),de=ee(29679),Be=ee(40001),Ne=ee(19248),Ze=ee(99267),ke=ee(92310),le=ee.n(ke),st=ee(2738),et=ee(36355),Ve=ee(92413),Ge=ee(33708),Je=ee(37061),Ye={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var Ft=(0,b.useRef)([]),zt=(0,b.useRef)(null);return(0,b.useEffect)(function(){var wt=Date.now(),kt=!1;Ft.current.forEach(function(sn){if(sn){kt=!0;var cn=sn.style;cn.transitionDuration=".3s, .3s, .3s, .06s",zt.current&&wt-zt.current<100&&(cn.transitionDuration="0s, 0s")}}),kt&&(zt.current=Date.now())}),Ft.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(Ft){var zt=(0,Ge.Z)((0,Ge.Z)({},Ye),Ft),wt=zt.className,kt=zt.percent,sn=zt.prefixCls,cn=zt.strokeColor,Ln=zt.strokeLinecap,Jn=zt.strokeWidth,va=zt.style,Da=zt.trailColor,Na=zt.trailWidth,ar=zt.transition,$a=(0,Je.Z)(zt,E);delete $a.gapPosition;var fa=Array.isArray(kt)?kt:[kt],yr=Array.isArray(cn)?cn:[cn],en=se(),On=Jn/2,ia=100-Jn/2,xa="M ".concat(Ln==="round"?On:0,",").concat(On,` + L `).concat(Ln==="round"?ia:100,",").concat(On),We="0 0 100 ".concat(Jn),It=0;return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(sn,"-line"),wt),viewBox:We,preserveAspectRatio:"none",style:va},$a),b.createElement("path",{className:"".concat(sn,"-line-trail"),d:xa,strokeLinecap:Ln,stroke:Da,strokeWidth:Na||Jn,fillOpacity:"0"}),fa.map(function(_t,Vt){var Wt=1;switch(Ln){case"round":Wt=1-Jn/100;break;case"square":Wt=1-Jn/2/100;break;default:Wt=1;break}var Rn={strokeDasharray:"".concat(_t*Wt,"px, 100px"),strokeDashoffset:"-".concat(It,"px"),transition:ar||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},wn=yr[Vt]||yr[yr.length-1];return It+=_t,b.createElement("path",{key:Vt,className:"".concat(sn,"-line-path"),d:xa,strokeLinecap:Ln,stroke:wn,strokeWidth:Jn,fillOpacity:"0",ref:function(Bt){en[Vt]=Bt},style:Rn})}))},x=a,y=ee(39559),z=ee(33606),ne=ee(47273),re=0,ue=(0,ne.Z)();function ie(){var Te;return ue?(Te=re,re+=1):Te="TEST_OR_SSR",Te}var ve=function(Te){var Ft=b.useState(),zt=(0,z.Z)(Ft,2),wt=zt[0],kt=zt[1];return b.useEffect(function(){kt("rc_progress_".concat(ie()))},[]),Te||wt},be=function(Ft){var zt=Ft.bg,wt=Ft.children;return b.createElement("div",{style:{width:"100%",height:"100%",background:zt}},wt)};function je(Te,Ft){return Object.keys(Te).map(function(zt){var wt=parseFloat(zt),kt="".concat(Math.floor(wt*Ft),"%");return"".concat(Te[zt]," ").concat(kt)})}var Ae=b.forwardRef(function(Te,Ft){var zt=Te.prefixCls,wt=Te.color,kt=Te.gradientId,sn=Te.radius,cn=Te.style,Ln=Te.ptg,Jn=Te.strokeLinecap,va=Te.strokeWidth,Da=Te.size,Na=Te.gapDegree,ar=wt&&(0,y.Z)(wt)==="object",$a=ar?"#FFF":void 0,fa=Da/2,yr=b.createElement("circle",{className:"".concat(zt,"-circle-path"),r:sn,cx:fa,cy:fa,stroke:$a,strokeLinecap:Jn,strokeWidth:va,opacity:Ln===0?0:1,style:cn,ref:Ft});if(!ar)return yr;var en="".concat(kt,"-conic"),On=Na?"".concat(180+Na/2,"deg"):"0deg",ia=je(wt,(360-Na)/360),xa=je(wt,1),We="conic-gradient(from ".concat(On,", ").concat(ia.join(", "),")"),It="linear-gradient(to ".concat(Na?"bottom":"top",", ").concat(xa.join(", "),")");return b.createElement(b.Fragment,null,b.createElement("mask",{id:en},yr),b.createElement("foreignObject",{x:0,y:0,width:Da,height:Da,mask:"url(#".concat(en,")")},b.createElement(be,{bg:It},b.createElement(be,{bg:We}))))}),He=Ae,he=100,qe=function(Ft,zt,wt,kt,sn,cn,Ln,Jn,va,Da){var Na=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,ar=wt/100*360*((360-cn)/360),$a=cn===0?0:{bottom:0,top:180,left:90,right:-90}[Ln],fa=(100-kt)/100*zt;va==="round"&&kt!==100&&(fa+=Da/2,fa>=zt&&(fa=zt-.01));var yr=he/2;return{stroke:typeof Jn=="string"?Jn:void 0,strokeDasharray:"".concat(zt,"px ").concat(Ft),strokeDashoffset:fa+Na,transform:"rotate(".concat(sn+ar+$a,"deg)"),transformOrigin:"".concat(yr,"px ").concat(yr,"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}},Ke=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ht(Te){var Ft=Te!=null?Te:[];return Array.isArray(Ft)?Ft:[Ft]}var Le=function(Ft){var zt=(0,Ge.Z)((0,Ge.Z)({},Ye),Ft),wt=zt.id,kt=zt.prefixCls,sn=zt.steps,cn=zt.strokeWidth,Ln=zt.trailWidth,Jn=zt.gapDegree,va=Jn===void 0?0:Jn,Da=zt.gapPosition,Na=zt.trailColor,ar=zt.strokeLinecap,$a=zt.style,fa=zt.className,yr=zt.strokeColor,en=zt.percent,On=(0,Je.Z)(zt,Ke),ia=he/2,xa=ve(wt),We="".concat(xa,"-gradient"),It=ia-cn/2,_t=Math.PI*2*It,Vt=va>0?90+va/2:-90,Wt=_t*((360-va)/360),Rn=(0,y.Z)(sn)==="object"?sn:{count:sn,space:2},wn=Rn.count,vt=Rn.space,Bt=ht(en),pt=ht(yr),Sn=pt.find(function(Pa){return Pa&&(0,y.Z)(Pa)==="object"}),Wn=Sn&&(0,y.Z)(Sn)==="object",An=Wn?"butt":ar,ka=qe(_t,Wt,0,100,Vt,va,Da,Na,An,cn),pa=se(),_n=function(){var Dn=0;return Bt.map(function(lr,Nr){var Ur=pt[Nr]||pt[pt.length-1],Sr=qe(_t,Wt,Dn,lr,Vt,va,Da,Ur,An,cn);return Dn+=lr,b.createElement(He,{key:Nr,color:Ur,ptg:lr,radius:It,prefixCls:kt,gradientId:We,style:Sr,strokeLinecap:An,strokeWidth:cn,gapDegree:va,ref:function(bn){pa[Nr]=bn},size:he})}).reverse()},Ea=function(){var Dn=Math.round(wn*(Bt[0]/100)),lr=100/wn,Nr=0;return new Array(wn).fill(null).map(function(Ur,Sr){var Ue=Sr<=Dn-1?pt[0]:Na,bn=Ue&&(0,y.Z)(Ue)==="object"?"url(#".concat(We,")"):void 0,Xt=qe(_t,Wt,Nr,lr,Vt,va,Da,Ue,"butt",cn,vt);return Nr+=(Wt-Xt.strokeDashoffset+vt)*100/Wt,b.createElement("circle",{key:Sr,className:"".concat(kt,"-circle-path"),r:It,cx:ia,cy:ia,stroke:bn,strokeWidth:cn,opacity:1,style:Xt,ref:function(Kn){pa[Sr]=Kn}})})};return b.createElement("svg",(0,Ve.Z)({className:le()("".concat(kt,"-circle"),fa),viewBox:"0 0 ".concat(he," ").concat(he),style:$a,id:wt,role:"presentation"},On),!wn&&b.createElement("circle",{className:"".concat(kt,"-circle-trail"),r:It,cx:ia,cy:ia,stroke:Na,strokeLinecap:An,strokeWidth:Ln||cn,style:ka}),wn?Ea():_n())},ot=Le,lt={Line:x,Circle:ot},gt=ee(6848),ft=ee(93398);function ln(Te){return!Te||Te<0?0:Te>100?100:Te}function xt(Te){let{success:Ft,successPercent:zt}=Te,wt=zt;return Ft&&"progress"in Ft&&(wt=Ft.progress),Ft&&"percent"in Ft&&(wt=Ft.percent),wt}const an=Te=>{let{percent:Ft,success:zt,successPercent:wt}=Te;const kt=ln(xt({success:zt,successPercent:wt}));return[kt,ln(ln(Ft)-kt)]},hn=Te=>{let{success:Ft={},strokeColor:zt}=Te;const{strokeColor:wt}=Ft;return[wt||ft.presetPrimaryColors.green,zt||null]},$e=(Te,Ft,zt)=>{var wt,kt,sn,cn;let Ln=-1,Jn=-1;if(Ft==="step"){const va=zt.steps,Da=zt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?(Ln=Te==="small"?2:14,Jn=Da!=null?Da:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=14,Jn=8]=Te,Ln*=va}else if(Ft==="line"){const va=zt==null?void 0:zt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?Jn=va||(Te==="small"?6:8):typeof Te=="number"?[Ln,Jn]=[Te,Te]:[Ln=-1,Jn=8]=Te}else(Ft==="circle"||Ft==="dashboard")&&(typeof Te=="string"||typeof Te=="undefined"?[Ln,Jn]=Te==="small"?[60,60]:[120,120]:typeof Te=="number"?[Ln,Jn]=[Te,Te]:(Ln=(kt=(wt=Te[0])!==null&&wt!==void 0?wt:Te[1])!==null&&kt!==void 0?kt:120,Jn=(cn=(sn=Te[0])!==null&&sn!==void 0?sn:Te[1])!==null&&cn!==void 0?cn:120));return[Ln,Jn]},dt=3,rn=Te=>dt/Te*100;var Zt=Te=>{const{prefixCls:Ft,trailColor:zt=null,strokeLinecap:wt="round",gapPosition:kt,gapDegree:sn,width:cn=120,type:Ln,children:Jn,success:va,size:Da=cn}=Te,[Na,ar]=$e(Da,"circle");let{strokeWidth:$a}=Te;$a===void 0&&($a=Math.max(rn(Na),6));const fa={width:Na,height:ar,fontSize:Na*.15+6},yr=b.useMemo(()=>{if(sn||sn===0)return sn;if(Ln==="dashboard")return 75},[sn,Ln]),en=kt||Ln==="dashboard"&&"bottom"||void 0,On=Object.prototype.toString.call(Te.strokeColor)==="[object Object]",ia=hn({success:va,strokeColor:Te.strokeColor}),xa=le()(`${Ft}-inner`,{[`${Ft}-circle-gradient`]:On}),We=b.createElement(ot,{percent:an(Te),strokeWidth:$a,trailWidth:$a,strokeColor:ia,strokeLinecap:wt,trailColor:zt,prefixCls:Ft,gapDegree:yr,gapPosition:en});return b.createElement("div",{className:xa,style:fa},Na<=20?b.createElement(gt.Z,{title:Jn},b.createElement("span",null,We)):b.createElement(b.Fragment,null,We,Jn))},Fn=function(Te,Ft){var zt={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&&Ft.indexOf(wt)<0&&(zt[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(Te);kt{let Ft=[];return Object.keys(Te).forEach(zt=>{const wt=parseFloat(zt.replace(/%/g,""));isNaN(wt)||Ft.push({key:wt,value:Te[zt]})}),Ft=Ft.sort((zt,wt)=>zt.key-wt.key),Ft.map(zt=>{let{key:wt,value:kt}=zt;return`${kt} ${wt}%`}).join(", ")},ct=(Te,Ft)=>{const{from:zt=ft.presetPrimaryColors.blue,to:wt=ft.presetPrimaryColors.blue,direction:kt=Ft==="rtl"?"to left":"to right"}=Te,sn=Fn(Te,["from","to","direction"]);if(Object.keys(sn).length!==0){const cn=ze(sn);return{backgroundImage:`linear-gradient(${kt}, ${cn})`}}return{backgroundImage:`linear-gradient(${kt}, ${zt}, ${wt})`}};var mt=Te=>{const{prefixCls:Ft,direction:zt,percent:wt,size:kt,strokeWidth:sn,strokeColor:cn,strokeLinecap:Ln="round",children:Jn,trailColor:va=null,success:Da}=Te,Na=cn&&typeof cn!="string"?ct(cn,zt):{backgroundColor:cn},ar=Ln==="square"||Ln==="butt"?0:void 0,$a={backgroundColor:va||void 0,borderRadius:ar},fa=kt!=null?kt:[-1,sn||(kt==="small"?6:8)],[yr,en]=$e(fa,"line",{strokeWidth:sn}),On=Object.assign({width:`${ln(wt)}%`,height:en,borderRadius:ar},Na),ia=xt(Te),xa={width:`${ln(ia)}%`,height:en,borderRadius:ar,backgroundColor:Da==null?void 0:Da.strokeColor},We={width:yr<0?"100%":yr,height:en};return b.createElement(b.Fragment,null,b.createElement("div",{className:`${Ft}-outer`,style:We},b.createElement("div",{className:`${Ft}-inner`,style:$a},b.createElement("div",{className:`${Ft}-bg`,style:On}),ia!==void 0?b.createElement("div",{className:`${Ft}-success-bg`,style:xa}):null)),Jn)},ut=Te=>{const{size:Ft,steps:zt,percent:wt=0,strokeWidth:kt=8,strokeColor:sn,trailColor:cn=null,prefixCls:Ln,children:Jn}=Te,va=Math.round(zt*(wt/100)),Da=Ft==="small"?2:14,Na=Ft!=null?Ft:[Da,kt],[ar,$a]=$e(Na,"step",{steps:zt,strokeWidth:kt}),fa=ar/zt,yr=new Array(zt);for(let en=0;en{const Ft=Te?"100%":"-100%";return new at.Keyframes(`antProgress${Te?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Ft}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Oe=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:Object.assign(Object.assign({},(0,De.Wf)(Te)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Te.fontSize,marginInlineEnd:Te.marginXS,marginBottom:Te.marginXS},[`${Ft}-outer`]:{display:"inline-block",width:"100%"},[`&${Ft}-show-info`]:{[`${Ft}-outer`]:{marginInlineEnd:`calc(-2em - ${Te.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Te.paddingXS}px)`}},[`${Ft}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Te.remainingColor,borderRadius:Te.lineBorderRadius},[`${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.defaultColor}},[`${Ft}-success-bg, ${Ft}-bg`]:{position:"relative",backgroundColor:Te.defaultColor,borderRadius:Te.lineBorderRadius,transition:`all ${Te.motionDurationSlow} ${Te.motionEaseInOutCirc}`},[`${Ft}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Te.colorSuccess},[`${Ft}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Te.marginXS,color:Te.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[zt]:{fontSize:Te.fontSize}},[`&${Ft}-status-active`]:{[`${Ft}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Te.colorBgContainer,borderRadius:Te.lineBorderRadius,opacity:0,animationName:Rt(),animationDuration:Te.progressActiveMotionDuration,animationTimingFunction:Te.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Ft}-rtl${Ft}-status-active`]:{[`${Ft}-bg::before`]:{animationName:Rt(!0)}},[`&${Ft}-status-exception`]:{[`${Ft}-bg`]:{backgroundColor:Te.colorError},[`${Ft}-text`]:{color:Te.colorError}},[`&${Ft}-status-exception ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.colorError}},[`&${Ft}-status-success`]:{[`${Ft}-bg`]:{backgroundColor:Te.colorSuccess},[`${Ft}-text`]:{color:Te.colorSuccess}},[`&${Ft}-status-success ${Ft}-inner:not(${Ft}-circle-gradient)`]:{[`${Ft}-circle-path`]:{stroke:Te.colorSuccess}}})}},Ie=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:{[`${Ft}-circle-trail`]:{stroke:Te.remainingColor},[`&${Ft}-circle ${Ft}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Ft}-circle ${Ft}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Te.circleTextColor,fontSize:Te.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[zt]:{fontSize:`${Te.fontSize/Te.fontSizeSM}em`}},[`${Ft}-circle&-status-exception`]:{[`${Ft}-text`]:{color:Te.colorError}},[`${Ft}-circle&-status-success`]:{[`${Ft}-text`]:{color:Te.colorSuccess}}},[`${Ft}-inline-circle`]:{lineHeight:1,[`${Ft}-inner`]:{verticalAlign:"bottom"}}}},St=Te=>{const{componentCls:Ft}=Te;return{[Ft]:{[`${Ft}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Te.progressStepMinWidth,marginInlineEnd:Te.progressStepMarginInlineEnd,backgroundColor:Te.remainingColor,transition:`all ${Te.motionDurationSlow}`,"&-active":{backgroundColor:Te.defaultColor}}}}}},nt=Te=>{const{componentCls:Ft,iconCls:zt}=Te;return{[Ft]:{[`${Ft}-small&-line, ${Ft}-small&-line ${Ft}-text ${zt}`]:{fontSize:Te.fontSizeSM}}}};var Me=(0,fe.Z)("Progress",Te=>{const Ft=Te.marginXXS/2,zt=(0,Xe.TS)(Te,{progressStepMarginInlineEnd:Ft,progressStepMinWidth:Ft,progressActiveMotionDuration:"2.4s"});return[Oe(zt),Ie(zt),St(zt),nt(zt)]},Te=>({circleTextColor:Te.colorText,defaultColor:Te.colorInfo,remainingColor:Te.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),yt=function(Te,Ft){var zt={};for(var wt in Te)Object.prototype.hasOwnProperty.call(Te,wt)&&Ft.indexOf(wt)<0&&(zt[wt]=Te[wt]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var kt=0,wt=Object.getOwnPropertySymbols(Te);kt{const{prefixCls:zt,className:wt,rootClassName:kt,steps:sn,strokeColor:cn,percent:Ln=0,size:Jn="default",showInfo:va=!0,type:Da="line",status:Na,format:ar,style:$a}=Te,fa=yt(Te,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),yr=b.useMemo(()=>{var Bt,pt;const Sn=xt(Te);return parseInt(Sn!==void 0?(Bt=Sn!=null?Sn:0)===null||Bt===void 0?void 0:Bt.toString():(pt=Ln!=null?Ln:0)===null||pt===void 0?void 0:pt.toString(),10)},[Ln,Te.success,Te.successPercent]),en=b.useMemo(()=>!nn.includes(Na)&&yr>=100?"success":Na||"normal",[Na,yr]),{getPrefixCls:On,direction:ia,progress:xa}=b.useContext(et.E_),We=On("progress",zt),[It,_t]=Me(We),Vt=b.useMemo(()=>{if(!va)return null;const Bt=xt(Te);let pt;const Sn=ar||(An=>`${An}%`),Wn=Da==="line";return ar||en!=="exception"&&en!=="success"?pt=Sn(ln(Ln),ln(Bt)):en==="exception"?pt=Wn?b.createElement(Ne.Z,null):b.createElement(Ze.Z,null):en==="success"&&(pt=Wn?b.createElement(de.Z,null):b.createElement(Be.Z,null)),b.createElement("span",{className:`${We}-text`,title:typeof pt=="string"?pt:void 0},pt)},[va,Ln,yr,en,Da,We,ar]),Wt=Array.isArray(cn)?cn[0]:cn,Rn=typeof cn=="string"||Array.isArray(cn)?cn:void 0;let wn;Da==="line"?wn=sn?b.createElement(ut,Object.assign({},Te,{strokeColor:Rn,prefixCls:We,steps:sn}),Vt):b.createElement(mt,Object.assign({},Te,{strokeColor:Wt,prefixCls:We,direction:ia}),Vt):(Da==="circle"||Da==="dashboard")&&(wn=b.createElement(Zt,Object.assign({},Te,{strokeColor:Wt,prefixCls:We,progressStatus:en}),Vt));const vt=le()(We,`${We}-status-${en}`,`${We}-${Da==="dashboard"&&"circle"||sn&&"steps"||Da}`,{[`${We}-inline-circle`]:Da==="circle"&&$e(Jn,"circle")[0]<=20,[`${We}-show-info`]:va,[`${We}-${Jn}`]:typeof Jn=="string",[`${We}-rtl`]:ia==="rtl"},xa==null?void 0:xa.className,wt,kt,_t);return It(b.createElement("div",Object.assign({ref:Ft,style:Object.assign(Object.assign({},xa==null?void 0:xa.style),$a),className:vt,role:"progressbar","aria-valuenow":yr},(0,st.Z)(fa,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),wn))}),yn=un},13570:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return ln}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(an,hn){return de.createElement(Ze.Z,(0,b.Z)({},an,{ref:hn,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(92310),Ve=ee.n(et),Ge=ee(400),Je=ee(33606),Ye=ee(37061),se=ee(18929),E=ee(10228),a=ee(26112);function x(xt,an){var hn=xt.disabled,$e=xt.prefixCls,dt=xt.character,rn=xt.characterRender,Vn=xt.index,Zt=xt.count,Fn=xt.value,ze=xt.allowHalf,ct=xt.focused,Lt=xt.onHover,mt=xt.onClick,Nt=function(Ie){Lt(Ie,Vn)},ut=function(Ie){mt(Ie,Vn)},at=function(Ie){Ie.keyCode===E.Z.ENTER&&mt(Ie,Vn)},De=Vn+1,fe=new Set([$e]);Fn===0&&Vn===0&&ct?fe.add("".concat($e,"-focused")):ze&&Fn+.5>=De&&FnVn?"true":"false","aria-posinset":Vn+1,"aria-setsize":Zt,tabIndex:hn?-1:0},de.createElement("div",{className:"".concat($e,"-first")},Xe),de.createElement("div",{className:"".concat($e,"-second")},Xe)));return rn&&(Rt=rn(Rt,xt)),Rt}var y=de.forwardRef(x);function z(){var xt=de.useRef({});function an($e){return xt.current[$e]}function hn($e){return function(dt){xt.current[$e]=dt}}return[an,hn]}function ne(xt){var an=xt.pageXOffset,hn="scrollLeft";if(typeof an!="number"){var $e=xt.document;an=$e.documentElement[hn],typeof an!="number"&&(an=$e.body[hn])}return an}function re(xt){var an,hn,$e=xt.ownerDocument,dt=$e.body,rn=$e&&$e.documentElement,Vn=xt.getBoundingClientRect();return an=Vn.left,hn=Vn.top,an-=rn.clientLeft||dt.clientLeft||0,hn-=rn.clientTop||dt.clientTop||0,{left:an,top:hn}}function ue(xt){var an=re(xt),hn=xt.ownerDocument,$e=hn.defaultView||hn.parentWindow;return an.left+=ne($e),an.left}var ie=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ve(xt,an){var hn,$e=xt.prefixCls,dt=$e===void 0?"rc-rate":$e,rn=xt.className,Vn=xt.defaultValue,Zt=xt.value,Fn=xt.count,ze=Fn===void 0?5:Fn,ct=xt.allowHalf,Lt=ct===void 0?!1:ct,mt=xt.allowClear,Nt=mt===void 0?!0:mt,ut=xt.character,at=ut===void 0?"\u2605":ut,De=xt.characterRender,fe=xt.disabled,Xe=xt.direction,Rt=Xe===void 0?"ltr":Xe,Oe=xt.tabIndex,Ie=Oe===void 0?0:Oe,St=xt.autoFocus,nt=xt.onHoverChange,Me=xt.onChange,yt=xt.onFocus,Bn=xt.onBlur,nn=xt.onKeyDown,dn=xt.onMouseLeave,un=(0,Ye.Z)(xt,ie),yn=z(),Te=(0,Je.Z)(yn,2),Ft=Te[0],zt=Te[1],wt=de.useRef(null),kt=function(){if(!fe){var An;(An=wt.current)===null||An===void 0||An.focus()}};de.useImperativeHandle(an,function(){return{focus:kt,blur:function(){if(!fe){var An;(An=wt.current)===null||An===void 0||An.blur()}}}});var sn=(0,se.Z)(Vn||0,{value:Zt}),cn=(0,Je.Z)(sn,2),Ln=cn[0],Jn=cn[1],va=(0,se.Z)(null),Da=(0,Je.Z)(va,2),Na=Da[0],ar=Da[1],$a=function(An,ka){var pa=Rt==="rtl",_n=An+1;if(Lt){var Ea=Ft(An),Pa=ue(Ea),Dn=Ea.clientWidth;(pa&&ka-Pa>Dn/2||!pa&&ka-Pa0&&!pa||ka===E.Z.RIGHT&&_n>0&&pa?(Lt?_n-=.5:_n-=1,fa(_n),An.preventDefault()):ka===E.Z.LEFT&&_n{const{componentCls:an}=xt;return{[`${an}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:xt.marginXS},"> div":{transition:`all ${xt.motionDurationMid}, outline 0s`,"&:hover":{transform:xt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${xt.lineWidth}px dashed ${xt.starColor}`,transform:xt.starHoverScale}},"&-first, &-second":{color:xt.starBg,transition:`all ${xt.motionDurationMid}`,userSelect:"none",[xt.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"}}}},Le=xt=>({[`&-rtl${xt.componentCls}`]:{direction:"rtl"}}),ot=xt=>{const{componentCls:an}=xt;return{[an]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(xt)),{display:"inline-block",margin:0,padding:0,color:xt.starColor,fontSize:xt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${an} ${an}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ht(xt)),{[`+ ${an}-text`]:{display:"inline-block",marginInlineStart:xt.marginXS,fontSize:xt.fontSize}}),Le(xt))}};var lt=(0,qe.Z)("Rate",xt=>{const an=(0,Ke.TS)(xt,{});return[ot(an)]},xt=>({starColor:xt.yellow6,starSize:xt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:xt.colorFillContent})),gt=function(xt,an){var hn={};for(var $e in xt)Object.prototype.hasOwnProperty.call(xt,$e)&&an.indexOf($e)<0&&(hn[$e]=xt[$e]);if(xt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,$e=Object.getOwnPropertySymbols(xt);dt<$e.length;dt++)an.indexOf($e[dt])<0&&Object.prototype.propertyIsEnumerable.call(xt,$e[dt])&&(hn[$e[dt]]=xt[$e[dt]]);return hn},ln=de.forwardRef((xt,an)=>{const{prefixCls:hn,className:$e,rootClassName:dt,style:rn,tooltips:Vn,character:Zt=de.createElement(st,null)}=xt,Fn=gt(xt,["prefixCls","className","rootClassName","style","tooltips","character"]),ze=(fe,Xe)=>{let{index:Rt}=Xe;return Vn?de.createElement(He.Z,{title:Vn[Rt]},fe):fe},{getPrefixCls:ct,direction:Lt,rate:mt}=de.useContext(Ae.E_),Nt=ct("rate",hn),[ut,at]=lt(Nt),De=Object.assign(Object.assign({},mt==null?void 0:mt.style),rn);return ut(de.createElement(je,Object.assign({ref:an,character:Zt,characterRender:ze},Fn,{className:Ve()($e,dt,at,mt==null?void 0:mt.className),style:De,prefixCls:Nt,direction:Lt})))})},61621:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return at}});var b=ee(92310),de=ee.n(b),Be=ee(59301),Ne=ee(36355),Ze=ee(2738),le=De=>{const{prefixCls:fe,className:Xe,style:Rt,size:Oe,shape:Ie}=De,St=de()({[`${fe}-lg`]:Oe==="large",[`${fe}-sm`]:Oe==="small"}),nt=de()({[`${fe}-circle`]:Ie==="circle",[`${fe}-square`]:Ie==="square",[`${fe}-round`]:Ie==="round"}),Me=Be.useMemo(()=>typeof Oe=="number"?{width:Oe,height:Oe,lineHeight:`${Oe}px`}:{},[Oe]);return Be.createElement("span",{className:de()(fe,St,nt,Xe),style:Object.assign(Object.assign({},Me),Rt)})},st=ee(93083),et=ee(83116),Ve=ee(37613);const Ge=new st.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Je=De=>({height:De,lineHeight:`${De}px`}),Ye=De=>Object.assign({width:De},Je(De)),se=De=>({background:De.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ge,animationDuration:De.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=De=>Object.assign({width:De*5,minWidth:De*5},Je(De)),a=De=>{const{skeletonAvatarCls:fe,gradientFromColor:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie}=De;return{[`${fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe},Ye(Rt)),[`${fe}${fe}-circle`]:{borderRadius:"50%"},[`${fe}${fe}-lg`]:Object.assign({},Ye(Oe)),[`${fe}${fe}-sm`]:Object.assign({},Ye(Ie))}},x=De=>{const{controlHeight:fe,borderRadiusSM:Xe,skeletonInputCls:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return{[`${Rt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:Xe},E(fe)),[`${Rt}-lg`]:Object.assign({},E(Oe)),[`${Rt}-sm`]:Object.assign({},E(Ie))}},y=De=>Object.assign({width:De},Je(De)),z=De=>{const{skeletonImageCls:fe,imageSizeBase:Xe,gradientFromColor:Rt,borderRadiusSM:Oe}=De;return{[`${fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Rt,borderRadius:Oe},y(Xe*2)),{[`${fe}-path`]:{fill:"#bfbfbf"},[`${fe}-svg`]:Object.assign(Object.assign({},y(Xe)),{maxWidth:Xe*4,maxHeight:Xe*4}),[`${fe}-svg${fe}-svg-circle`]:{borderRadius:"50%"}}),[`${fe}${fe}-circle`]:{borderRadius:"50%"}}},ne=(De,fe,Xe)=>{const{skeletonButtonCls:Rt}=De;return{[`${Xe}${Rt}-circle`]:{width:fe,minWidth:fe,borderRadius:"50%"},[`${Xe}${Rt}-round`]:{borderRadius:fe}}},re=De=>Object.assign({width:De*2,minWidth:De*2},Je(De)),ue=De=>{const{borderRadiusSM:fe,skeletonButtonCls:Xe,controlHeight:Rt,controlHeightLG:Oe,controlHeightSM:Ie,gradientFromColor:St}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:St,borderRadius:fe,width:Rt*2,minWidth:Rt*2},re(Rt))},ne(De,Rt,Xe)),{[`${Xe}-lg`]:Object.assign({},re(Oe))}),ne(De,Oe,`${Xe}-lg`)),{[`${Xe}-sm`]:Object.assign({},re(Ie))}),ne(De,Ie,`${Xe}-sm`))},ie=De=>{const{componentCls:fe,skeletonAvatarCls:Xe,skeletonTitleCls:Rt,skeletonParagraphCls:Oe,skeletonButtonCls:Ie,skeletonInputCls:St,skeletonImageCls:nt,controlHeight:Me,controlHeightLG:yt,controlHeightSM:Bn,gradientFromColor:nn,padding:dn,marginSM:un,borderRadius:yn,titleHeight:Te,blockRadius:Ft,paragraphLiHeight:zt,controlHeightXS:wt,paragraphMarginTop:kt}=De;return{[`${fe}`]:{display:"table",width:"100%",[`${fe}-header`]:{display:"table-cell",paddingInlineEnd:dn,verticalAlign:"top",[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nn},Ye(Me)),[`${Xe}-circle`]:{borderRadius:"50%"},[`${Xe}-lg`]:Object.assign({},Ye(yt)),[`${Xe}-sm`]:Object.assign({},Ye(Bn))},[`${fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Rt}`]:{width:"100%",height:Te,background:nn,borderRadius:Ft,[`+ ${Oe}`]:{marginBlockStart:Bn}},[`${Oe}`]:{padding:0,"> li":{width:"100%",height:zt,listStyle:"none",background:nn,borderRadius:Ft,"+ li":{marginBlockStart:wt}}},[`${Oe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${fe}-content`]:{[`${Rt}, ${Oe} > li`]:{borderRadius:yn}}},[`${fe}-with-avatar ${fe}-content`]:{[`${Rt}`]:{marginBlockStart:un,[`+ ${Oe}`]:{marginBlockStart:kt}}},[`${fe}${fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ue(De)),a(De)),x(De)),z(De)),[`${fe}${fe}-block`]:{width:"100%",[`${Ie}`]:{width:"100%"},[`${St}`]:{width:"100%"}},[`${fe}${fe}-active`]:{[` ${Rt}, ${Oe} > li, ${Xe}, ${Ie}, ${St}, ${nt} - `]:Object.assign({},se(De))}}};var ve=(0,et.Z)("Skeleton",De=>{const{componentCls:fe}=De,Xe=(0,Ve.TS)(De,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(Xe)]},De=>{const{colorFillContent:fe,colorFill:Xe}=De,Rt=fe,Oe=Xe;return{color:Rt,colorGradientEnd:Oe,gradientFromColor:Rt,gradientToColor:Oe,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),je=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,shape:Ie="circle",size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls","className"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-avatar`,shape:Ie,size:St},nn))))},He=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie=!1,size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-button`,size:St},nn))))};const he="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 Ke=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie}=De,{getPrefixCls:St}=Be.useContext(Ne.E_),nt=St("skeleton",fe),[Me,yt]=ve(nt),Bn=de()(nt,`${nt}-element`,{[`${nt}-active`]:Ie},Xe,Rt,yt);return Me(Be.createElement("div",{className:Bn},Be.createElement("div",{className:de()(`${nt}-image`,Xe),style:Oe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},Be.createElement("path",{d:he,className:`${nt}-image-path`})))))},Le=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie,size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-input`,size:St},nn))))},ot=ee(92413),lt={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"},gt=lt,ft=ee(7657),ln=function(fe,Xe){return Be.createElement(ft.Z,(0,ot.Z)({},fe,{ref:Xe,icon:gt}))},xt=Be.forwardRef(ln),an=xt,$e=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie,children:St}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Ie},Bn,Xe,Rt),dn=St!=null?St:Be.createElement(an,null);return yt(Be.createElement("div",{className:nn},Be.createElement("div",{className:de()(`${Me}-image`,Xe),style:Oe},dn)))},dt=ee(26407),Vn=De=>{const fe=nt=>{const{width:Me,rows:yt=2}=De;if(Array.isArray(Me))return Me[nt];if(yt-1===nt)return Me},{prefixCls:Xe,className:Rt,style:Oe,rows:Ie}=De,St=(0,dt.Z)(Array(Ie)).map((nt,Me)=>Be.createElement("li",{key:Me,style:{width:fe(Me)}}));return Be.createElement("ul",{className:de()(Xe,Rt),style:Oe},St)},Fn=De=>{let{prefixCls:fe,className:Xe,width:Rt,style:Oe}=De;return Be.createElement("h3",{className:de()(fe,Xe),style:Object.assign({width:Rt},Oe)})};function ze(De){return De&&typeof De=="object"?De:{}}function ct(De,fe){return De&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Lt(De,fe){return!De&&fe?{width:"38%"}:De&&fe?{width:"50%"}:{}}function mt(De,fe){const Xe={};return(!De||!fe)&&(Xe.width="61%"),!De&&fe?Xe.rows=3:Xe.rows=2,Xe}const Nt=De=>{const{prefixCls:fe,loading:Xe,className:Rt,rootClassName:Oe,style:Ie,children:St,avatar:nt=!1,title:Me=!0,paragraph:yt=!0,active:Bn,round:nn}=De,{getPrefixCls:dn,direction:un,skeleton:yn}=Be.useContext(Ne.E_),Te=dn("skeleton",fe),[Ft,zt]=ve(Te);if(Xe||!("loading"in De)){const wt=!!nt,kt=!!Me,sn=!!yt;let cn;if(wt){const va=Object.assign(Object.assign({prefixCls:`${Te}-avatar`},ct(kt,sn)),ze(nt));cn=Be.createElement("div",{className:`${Te}-header`},Be.createElement(le,Object.assign({},va)))}let Ln;if(kt||sn){let va;if(kt){const Na=Object.assign(Object.assign({prefixCls:`${Te}-title`},Lt(wt,sn)),ze(Me));va=Be.createElement(Fn,Object.assign({},Na))}let Da;if(sn){const Na=Object.assign(Object.assign({prefixCls:`${Te}-paragraph`},mt(wt,kt)),ze(yt));Da=Be.createElement(Vn,Object.assign({},Na))}Ln=Be.createElement("div",{className:`${Te}-content`},va,Da)}const Jn=de()(Te,{[`${Te}-with-avatar`]:wt,[`${Te}-active`]:Bn,[`${Te}-rtl`]:un==="rtl",[`${Te}-round`]:nn},yn==null?void 0:yn.className,Rt,Oe,zt);return Ft(Be.createElement("div",{className:Jn,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ie)},cn,Ln))}return typeof St!="undefined"?St:null};Nt.Button=He,Nt.Avatar=je,Nt.Input=Le,Nt.Image=Ke,Nt.Node=$e;var ut=Nt,at=ut},31797:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return ve}});var b=ee(59301),de=ee(56762),Be=ee(92343),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=ee(61621),et=be=>{const{value:je,formatter:Ae,precision:He,decimalSeparator:he,groupSeparator:qe="",prefixCls:Ke}=be;let ht;if(typeof Ae=="function")ht=Ae(je);else{const Le=String(je),ot=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||Le==="-")ht=Le;else{const lt=ot[1];let gt=ot[2]||"0",ft=ot[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,qe),typeof He=="number"&&(ft=ft.padEnd(He,"0").slice(0,He>0?He:0)),ft&&(ft=`${he}${ft}`),ht=[b.createElement("span",{key:"int",className:`${Ke}-content-value-int`},lt,gt),ft&&b.createElement("span",{key:"decimal",className:`${Ke}-content-value-decimal`},ft)]}}return b.createElement("span",{className:`${Ke}-content-value`},ht)},Ve=ee(17313),Ge=ee(83116),Je=ee(37613);const Ye=be=>{const{componentCls:je,marginXXS:Ae,padding:He,colorTextDescription:he,titleFontSize:qe,colorTextHeading:Ke,contentFontSize:ht,fontFamily:Le}=be;return{[`${je}`]:Object.assign(Object.assign({},(0,Ve.Wf)(be)),{[`${je}-title`]:{marginBottom:Ae,color:he,fontSize:qe},[`${je}-skeleton`]:{paddingTop:He},[`${je}-content`]:{color:Ke,fontSize:ht,fontFamily:Le,[`${je}-content-value`]:{display:"inline-block",direction:"ltr"},[`${je}-content-prefix, ${je}-content-suffix`]:{display:"inline-block"},[`${je}-content-prefix`]:{marginInlineEnd:Ae},[`${je}-content-suffix`]:{marginInlineStart:Ae}}})}};var se=(0,Ge.Z)("Statistic",be=>{const je=(0,Je.TS)(be,{});return[Ye(je)]},be=>{const{fontSizeHeading3:je,fontSize:Ae}=be;return{titleFontSize:Ae,contentFontSize:je}}),a=be=>{const{prefixCls:je,className:Ae,rootClassName:He,style:he,valueStyle:qe,value:Ke=0,title:ht,valueRender:Le,prefix:ot,suffix:lt,loading:gt=!1,onMouseEnter:ft,onMouseLeave:ln,decimalSeparator:xt=".",groupSeparator:an=","}=be,{getPrefixCls:hn,direction:$e,statistic:dt}=b.useContext(ke.E_),rn=hn("statistic",je),[Vn,Zt]=se(rn),Fn=b.createElement(et,Object.assign({decimalSeparator:xt,groupSeparator:an,prefixCls:rn},be,{value:Ke})),ze=Ze()(rn,{[`${rn}-rtl`]:$e==="rtl"},dt==null?void 0:dt.className,Ae,He,Zt);return Vn(b.createElement("div",{className:ze,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),he),onMouseEnter:ft,onMouseLeave:ln},ht&&b.createElement("div",{className:`${rn}-title`},ht),b.createElement(le.Z,{paragraph:!1,loading:gt,className:`${rn}-skeleton`},b.createElement("div",{style:qe,className:`${rn}-content`},ot&&b.createElement("span",{className:`${rn}-content-prefix`},ot),Le?Le(Fn):Fn,lt&&b.createElement("span",{className:`${rn}-content-suffix`},lt)))))};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 y(be,je){let Ae=be;const He=/\[[^\]]*]/g,he=(je.match(He)||[]).map(Le=>Le.slice(1,-1)),qe=je.replace(He,"[]"),Ke=x.reduce((Le,ot)=>{let[lt,gt]=ot;if(Le.includes(lt)){const ft=Math.floor(Ae/gt);return Ae-=ft*gt,Le.replace(new RegExp(`${lt}+`,"g"),ln=>{const xt=ln.length;return ft.toString().padStart(xt,"0")})}return Le},qe);let ht=0;return Ke.replace(He,()=>{const Le=he[ht];return ht+=1,Le})}function z(be,je){const{format:Ae=""}=je,He=new Date(be).getTime(),he=Date.now(),qe=Math.max(He-he,0);return y(qe,Ae)}const ne=1e3/30;function re(be){return new Date(be).getTime()}const ue=be=>{const{value:je,format:Ae="HH:mm:ss",onChange:He,onFinish:he}=be,qe=(0,de.Z)(),Ke=b.useRef(null),ht=()=>{he==null||he(),Ke.current&&(clearInterval(Ke.current),Ke.current=null)},Le=()=>{const gt=re(je);gt>=Date.now()&&(Ke.current=setInterval(()=>{qe(),He==null||He(gt-Date.now()),gt(Le(),()=>{Ke.current&&(clearInterval(Ke.current),Ke.current=null)}),[je]);const ot=(gt,ft)=>z(gt,Object.assign(Object.assign({},ft),{format:Ae})),lt=gt=>(0,Be.Tm)(gt,{title:void 0});return b.createElement(a,Object.assign({},be,{valueRender:lt,formatter:ot}))};var ie=b.memo(ue);a.Countdown=ie;var ve=a},15969:function(Qt,jt,ee){"use strict";ee.d(jt,{N:function(){return b}});const b=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},1710:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return Xi}});var b={},de="rc-table-internal-hook",Be=ee(33606),Ne=ee(6089),Ze=ee(34280),ke=ee(13697),le=ee(59301),st=ee(4676);function et(Ee){var Ce=le.createContext(void 0),Qe=function(Pt){var Et=Pt.value,$t=Pt.children,Yt=le.useRef(Et);Yt.current=Et;var Ut=le.useState(function(){return{getValue:function(){return Yt.current},listeners:new Set}}),Cn=(0,Be.Z)(Ut,1),vn=Cn[0];return(0,Ze.Z)(function(){(0,st.unstable_batchedUpdates)(function(){vn.listeners.forEach(function(pn){pn(Et)})})},[Et]),le.createElement(Ce.Provider,{value:vn},$t)};return{Context:Ce,Provider:Qe,defaultValue:Ee}}function Ve(Ee,Ce){var Qe=(0,Ne.Z)(typeof Ce=="function"?Ce:function(pn){if(Ce===void 0)return pn;if(!Array.isArray(Ce))return pn[Ce];var qn={};return Ce.forEach(function(na){qn[na]=pn[na]}),qn}),rt=le.useContext(Ee==null?void 0:Ee.Context),Pt=rt||{},Et=Pt.listeners,$t=Pt.getValue,Yt=le.useRef();Yt.current=Qe(rt?$t():Ee==null?void 0:Ee.defaultValue);var Ut=le.useState({}),Cn=(0,Be.Z)(Ut,2),vn=Cn[1];return(0,Ze.Z)(function(){if(!rt)return;function pn(qn){var na=Qe(qn);(0,ke.Z)(Yt.current,na,!0)||vn({})}return Et.add(pn),function(){Et.delete(pn)}},[rt]),Yt.current}var Ge=ee(92413),Je=ee(8654);function Ye(){var Ee=le.createContext(null);function Ce(){return le.useContext(Ee)}function Qe(Pt,Et){var $t=(0,Je.Yr)(Pt),Yt=function(Cn,vn){var pn=$t?{ref:vn}:{},qn=le.useRef(0),na=le.useRef(Cn),ca=Ce();return ca!==null?le.createElement(Pt,(0,Ge.Z)({},Cn,pn)):((!Et||Et(na.current,Cn))&&(qn.current+=1),na.current=Cn,le.createElement(Ee.Provider,{value:qn.current},le.createElement(Pt,(0,Ge.Z)({},Cn,pn))))};return $t?le.forwardRef(Yt):Yt}function rt(Pt,Et){var $t=(0,Je.Yr)(Pt),Yt=function(Cn,vn){var pn=$t?{ref:vn}:{};return Ce(),le.createElement(Pt,(0,Ge.Z)({},Cn,pn))};return $t?le.memo(le.forwardRef(Yt),Et):le.memo(Yt,Et)}return{makeImmutable:Qe,responseImmutable:rt,useImmutableMark:Ce}}var se=Ye(),E=se.makeImmutable,a=se.responseImmutable,x=se.useImmutableMark,y=Ye(),z=y.makeImmutable,ne=y.responseImmutable,re=y.useImmutableMark,ue=et(),ie=ue;function ve(Ee,Ce){var Qe=le.useRef(0);Qe.current+=1;var rt=le.useRef(Ee),Pt=[];Object.keys(Ee||{}).map(function($t){var Yt;(Ee==null?void 0:Ee[$t])!==((Yt=rt.current)===null||Yt===void 0?void 0:Yt[$t])&&Pt.push($t)}),rt.current=Ee;var Et=le.useRef([]);return Pt.length&&(Et.current=Pt),le.useDebugValue(Qe.current),le.useDebugValue(Et.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Qe.current,Et.current),Qe.current}var be=null,je=le.memo(function(){var Ee=ve();return le.createElement("h1",null,"Render Times: ",Ee)});je.displayName="RenderBlock";var Ae=ee(39559),He=ee(33708),he=ee(400),qe=ee(92310),Ke=ee.n(qe),ht=ee(80547),Le=ee(97938),ot=ee(48736),lt=le.createContext({renderWithProps:!1}),gt=lt,ft="RC_TABLE_KEY";function ln(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function xt(Ee){var Ce=[],Qe={};return Ee.forEach(function(rt){for(var Pt=rt||{},Et=Pt.key,$t=Pt.dataIndex,Yt=Et||ln($t).join("-")||ft;Qe[Yt];)Yt="".concat(Yt,"_next");Qe[Yt]=!0,Ce.push(Yt)}),Ce}function an(Ee){return Ee!=null}function hn(Ee){return Ee&&(0,Ae.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!le.isValidElement(Ee)}function $e(Ee,Ce,Qe,rt,Pt,Et){var $t=le.useContext(gt),Yt=re(),Ut=(0,ht.Z)(function(){if(an(rt))return[rt];var Cn=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],vn=(0,Le.Z)(Ee,Cn),pn=vn,qn=void 0;if(Pt){var na=Pt(vn,Ee,Qe);hn(na)?(pn=na.children,qn=na.props,$t.renderWithProps=!0):pn=na}return[pn,qn]},[Yt,Ee,rt,Ce,Pt,Qe],function(Cn,vn){if(Et){var pn=(0,Be.Z)(Cn,2),qn=pn[1],na=(0,Be.Z)(vn,2),ca=na[1];return Et(ca,qn)}return $t.renderWithProps?!0:!(0,ke.Z)(Cn,vn,!0)});return Ut}function dt(Ee,Ce,Qe,rt){var Pt=Ee+Ce-1;return Ee<=rt&&Pt>=Qe}function rn(Ee,Ce){return Ve(ie,function(Qe){var rt=dt(Ee,Ce||1,Qe.hoverStartRow,Qe.hoverEndRow);return[rt,Qe.onHover]})}var Vn=function(Ce){var Qe=Ce.ellipsis,rt=Ce.rowType,Pt=Ce.children,Et,$t=Qe===!0?{showTitle:!0}:Qe;return $t&&($t.showTitle||rt==="header")&&(typeof Pt=="string"||typeof Pt=="number"?Et=Pt.toString():le.isValidElement(Pt)&&typeof Pt.props.children=="string"&&(Et=Pt.props.children)),Et};function Zt(Ee){var Ce,Qe,rt,Pt,Et,$t,Yt,Ut,Cn=Ee.component,vn=Ee.children,pn=Ee.ellipsis,qn=Ee.scope,na=Ee.prefixCls,ca=Ee.className,Aa=Ee.align,Kt=Ee.record,Xa=Ee.render,_a=Ee.dataIndex,rr=Ee.renderIndex,Tr=Ee.shouldCellUpdate,$r=Ee.index,Dr=Ee.rowType,Gr=Ee.colSpan,zr=Ee.rowSpan,tr=Ee.fixLeft,nr=Ee.fixRight,fr=Ee.firstFixLeft,Wa=Ee.lastFixLeft,or=Ee.firstFixRight,Kr=Ee.lastFixRight,Po=Ee.appendNode,lo=Ee.additionalProps,Mr=lo===void 0?{}:lo,vo=Ee.isSticky,Bo="".concat(na,"-cell"),Ra=Ve(ie,["supportSticky","allColumnsFixedLeft"]),wo=Ra.supportSticky,yi=Ra.allColumnsFixedLeft,Do=$e(Kt,_a,rr,vn,Xa,Tr),Xr=(0,Be.Z)(Do,2),bi=Xr[0],Qr=Xr[1],gi={},_o=typeof tr=="number"&&wo,_i=typeof nr=="number"&&wo;_o&&(gi.position="sticky",gi.left=tr),_i&&(gi.position="sticky",gi.right=nr);var to=(Ce=(Qe=(rt=Qr==null?void 0:Qr.colSpan)!==null&&rt!==void 0?rt:Mr.colSpan)!==null&&Qe!==void 0?Qe:Gr)!==null&&Ce!==void 0?Ce:1,_r=(Pt=(Et=($t=Qr==null?void 0:Qr.rowSpan)!==null&&$t!==void 0?$t:Mr.rowSpan)!==null&&Et!==void 0?Et:zr)!==null&&Pt!==void 0?Pt:1,Yr=rn($r,_r),Zr=(0,Be.Z)(Yr,2),ce=Zr[0],pe=Zr[1],Pe=function(xn){var Ct;Kt&&pe($r,$r+_r-1),Mr==null||(Ct=Mr.onMouseEnter)===null||Ct===void 0||Ct.call(Mr,xn)},Ot=function(xn){var Ct;Kt&&pe(-1,-1),Mr==null||(Ct=Mr.onMouseLeave)===null||Ct===void 0||Ct.call(Mr,xn)};if(to===0||_r===0)return null;var tn=(Yt=Mr.title)!==null&&Yt!==void 0?Yt:Vn({rowType:Dr,ellipsis:pn,children:bi}),wa=Ke()(Bo,ca,(Ut={},(0,he.Z)(Ut,"".concat(Bo,"-fix-left"),_o&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-first"),fr&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-last"),Wa&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-all"),Wa&&yi&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right"),_i&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right-first"),or&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right-last"),Kr&&wo),(0,he.Z)(Ut,"".concat(Bo,"-ellipsis"),pn),(0,he.Z)(Ut,"".concat(Bo,"-with-append"),Po),(0,he.Z)(Ut,"".concat(Bo,"-fix-sticky"),(_o||_i)&&vo&&wo),(0,he.Z)(Ut,"".concat(Bo,"-row-hover"),!Qr&&ce),Ut),Mr.className,Qr==null?void 0:Qr.className),ma={};Aa&&(ma.textAlign=Aa);var zn=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},gi),Mr.style),ma),Qr==null?void 0:Qr.style),Ht=bi;return(0,Ae.Z)(Ht)==="object"&&!Array.isArray(Ht)&&!le.isValidElement(Ht)&&(Ht=null),pn&&(Wa||or)&&(Ht=le.createElement("span",{className:"".concat(Bo,"-content")},Ht)),le.createElement(Cn,(0,Ge.Z)({},Qr,Mr,{className:wa,style:zn,title:tn,scope:qn,onMouseEnter:Pe,onMouseLeave:Ot,colSpan:to!==1?to:null,rowSpan:_r!==1?_r:null}),Po,Ht)}var Fn=le.memo(Zt);function ze(Ee,Ce,Qe,rt,Pt,Et){var $t=Qe[Ee]||{},Yt=Qe[Ce]||{},Ut,Cn;$t.fixed==="left"?Ut=rt.left[Pt==="rtl"?Ce:Ee]:Yt.fixed==="right"&&(Cn=rt.right[Pt==="rtl"?Ee:Ce]);var vn=!1,pn=!1,qn=!1,na=!1,ca=Qe[Ce+1],Aa=Qe[Ee-1],Kt=!(Et!=null&&Et.children);if(Pt==="rtl"){if(Ut!==void 0){var Xa=Aa&&Aa.fixed==="left";na=!Xa&&Kt}else if(Cn!==void 0){var _a=ca&&ca.fixed==="right";qn=!_a&&Kt}}else if(Ut!==void 0){var rr=ca&&ca.fixed==="left";vn=!rr&&Kt}else if(Cn!==void 0){var Tr=Aa&&Aa.fixed==="right";pn=!Tr&&Kt}return{fixLeft:Ut,fixRight:Cn,lastFixLeft:vn,firstFixRight:pn,lastFixRight:qn,firstFixLeft:na,isSticky:rt.isSticky}}var ct=le.createContext({}),Lt=ct;function mt(Ee){var Ce=Ee.className,Qe=Ee.index,rt=Ee.children,Pt=Ee.colSpan,Et=Pt===void 0?1:Pt,$t=Ee.rowSpan,Yt=Ee.align,Ut=Ve(ie,["prefixCls","direction"]),Cn=Ut.prefixCls,vn=Ut.direction,pn=le.useContext(Lt),qn=pn.scrollColumnIndex,na=pn.stickyOffsets,ca=pn.flattenColumns,Aa=pn.columns,Kt=Qe+Et-1,Xa=Kt+1===qn?Et+1:Et,_a=ze(Qe,Qe+Xa-1,ca,na,vn,Aa==null?void 0:Aa[Qe]);return le.createElement(Fn,(0,Ge.Z)({className:Ce,index:Qe,component:"td",prefixCls:Cn,record:null,dataIndex:null,align:Yt,colSpan:Xa,rowSpan:$t,render:function(){return rt}},_a))}var Nt=ee(37061),ut=["children"];function at(Ee){var Ce=Ee.children,Qe=(0,Nt.Z)(Ee,ut);return le.createElement("tr",Qe,Ce)}function De(Ee){var Ce=Ee.children;return Ce}De.Row=at,De.Cell=mt;var fe=De;function Xe(Ee){var Ce=Ee.children,Qe=Ee.stickyOffsets,rt=Ee.flattenColumns,Pt=Ee.columns,Et=Ve(ie,"prefixCls"),$t=rt.length-1,Yt=rt[$t],Ut=le.useMemo(function(){return{stickyOffsets:Qe,flattenColumns:rt,scrollColumnIndex:Yt!=null&&Yt.scrollbar?$t:null,columns:Pt}},[Yt,rt,$t,Qe,Pt]);return le.createElement(Lt.Provider,{value:Ut},le.createElement("tfoot",{className:"".concat(Et,"-summary")},Ce))}var Rt=ne(Xe),Oe=fe,Ie=ee(70425),St=ee(29301),nt=ee(29194),Me=ee(24514),yt=ee(75152),Bn=ee(26112);function nn(Ee,Ce,Qe,rt,Pt,Et,$t){Ee.push({record:Ce,indent:Qe,index:$t});var Yt=Et(Ce),Ut=Pt==null?void 0:Pt.has(Yt);if(Ce&&Array.isArray(Ce[rt])&&Ut)for(var Cn=0;Cn1?fr-1:0),or=1;or=0;Yt-=1){var Ut=Ce[Yt],Cn=Qe&&Qe[Yt],vn=Cn&&Cn[va];if(Ut||vn||$t){var pn=vn||{},qn=pn.columnType,na=(0,Nt.Z)(pn,Na);Pt.unshift(le.createElement("col",(0,Ge.Z)({key:Yt,style:{width:Ut}},na))),$t=!0}}return le.createElement("colgroup",null,Pt)}var $a=ar,fa=ee(26407),yr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(Ee,Ce){return(0,le.useMemo)(function(){for(var Qe=[],rt=0;rt1?"colgroup":"col":null,ellipsis:Kt.ellipsis,align:Kt.align,component:Kt.title?Et:$t,prefixCls:vn,key:na[Aa]},Xa,{additionalProps:_a,rowType:"header"}))}))}xa.displayName="HeaderRow";var We=xa;function It(Ee){var Ce=[];function Qe($t,Yt){var Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[Ut]=Ce[Ut]||[];var Cn=Yt,vn=$t.filter(Boolean).map(function(pn){var qn={key:pn.key,className:pn.className||"",children:pn.title,column:pn,colStart:Cn},na=1,ca=pn.children;return ca&&ca.length>0&&(na=Qe(ca,Cn,Ut+1).reduce(function(Aa,Kt){return Aa+Kt},0),qn.hasSubColumns=!0),"colSpan"in pn&&(na=pn.colSpan),"rowSpan"in pn&&(qn.rowSpan=pn.rowSpan),qn.colSpan=na,qn.colEnd=qn.colStart+na-1,Ce[Ut].push(qn),Cn+=na,na});return vn}Qe(Ee,0);for(var rt=Ce.length,Pt=function(Yt){Ce[Yt].forEach(function(Ut){!("rowSpan"in Ut)&&!Ut.hasSubColumns&&(Ut.rowSpan=rt-Yt)})},Et=0;Et1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ce=="number"?Ce:Ce.endsWith("%")?Ee*parseFloat(Ce)/100:null}function wn(Ee,Ce){return le.useMemo(function(){if(Ce&&Ce>0){var Qe=0,rt=0;Ee.forEach(function(Cn){var vn=Rn(Ce,Cn.width);vn?Qe+=vn:rt+=1});var Pt=Ce-Qe,Et=rt,$t=Pt/rt,Yt=0,Ut=Ee.map(function(Cn){var vn=(0,He.Z)({},Cn),pn=Rn(Ce,vn.width);if(pn)vn.width=pn;else{var qn=Math.floor($t);vn.width=Et===1?Pt:qn,Pt-=qn,Et-=1}return Yt+=vn.width,vn});return[Ut,Yt]}return[Ee,Ce]},[Ee,Ce])}var vt=["children"],Bt=["fixed"];function pt(Ee){return(0,Gt.Z)(Ee).filter(function(Ce){return le.isValidElement(Ce)}).map(function(Ce){var Qe=Ce.key,rt=Ce.props,Pt=rt.children,Et=(0,Nt.Z)(rt,vt),$t=(0,He.Z)({key:Qe},Et);return Pt&&($t.children=pt(Pt)),$t})}function Sn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(Qe){return Qe&&(0,Ae.Z)(Qe)==="object"}).reduce(function(Qe,rt,Pt){var Et=rt.fixed,$t=Et===!0?"left":Et,Yt="".concat(Ce,"-").concat(Pt),Ut=rt.children;return Ut&&Ut.length>0?[].concat((0,fa.Z)(Qe),(0,fa.Z)(Sn(Ut,Yt).map(function(Cn){return(0,He.Z)({fixed:$t},Cn)}))):[].concat((0,fa.Z)(Qe),[(0,He.Z)((0,He.Z)({key:Yt},rt),{},{fixed:$t})])},[])}function Wn(Ee){for(var Ce=!0,Qe=0;Qe=0;Et-=1){var $t=Ee[Et];if(Pt&&$t.fixed!=="right")Pt=!1;else if(!Pt&&$t.fixed==="right"){warning(!1,"Index ".concat(Et+1," of `columns` missing `fixed='right'` prop."));break}}}function An(Ee){return Ee.map(function(Ce){var Qe=Ce.fixed,rt=(0,Nt.Z)(Ce,Bt),Pt=Qe;return Qe==="left"?Pt="right":Qe==="right"&&(Pt="left"),(0,He.Z)({fixed:Pt},rt)})}function ka(Ee,Ce){var Qe=Ee.prefixCls,rt=Ee.columns,Pt=Ee.children,Et=Ee.expandable,$t=Ee.expandedKeys,Yt=Ee.columnTitle,Ut=Ee.getRowKey,Cn=Ee.onTriggerExpand,vn=Ee.expandIcon,pn=Ee.rowExpandable,qn=Ee.expandIconColumnIndex,na=Ee.direction,ca=Ee.expandRowByClick,Aa=Ee.columnWidth,Kt=Ee.fixed,Xa=Ee.scrollWidth,_a=le.useMemo(function(){return rt||pt(Pt)},[rt,Pt]),rr=le.useMemo(function(){if(Et){var nr,fr=_a.slice();if(!fr.includes(b)){var Wa=qn||0;Wa>=0&&fr.splice(Wa,0,b)}var or=fr.indexOf(b);fr=fr.filter(function(Mr,vo){return Mr!==b||vo===or});var Kr=_a[or],Po;(Kt==="left"||Kt)&&!qn?Po="left":(Kt==="right"||Kt)&&qn===_a.length?Po="right":Po=Kr?Kr.fixed:null;var lo=(nr={},(0,he.Z)(nr,va,{className:"".concat(Qe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(nr,"title",Yt),(0,he.Z)(nr,"fixed",Po),(0,he.Z)(nr,"className","".concat(Qe,"-row-expand-icon-cell")),(0,he.Z)(nr,"width",Aa),(0,he.Z)(nr,"render",function(vo,Bo,Ra){var wo=Ut(Bo,Ra),yi=$t.has(wo),Do=pn?pn(Bo):!0,Xr=vn({prefixCls:Qe,expanded:yi,expandable:Do,record:Bo,onExpand:Cn});return ca?le.createElement("span",{onClick:function(Qr){return Qr.stopPropagation()}},Xr):Xr}),nr);return fr.map(function(Mr){return Mr===b?lo:Mr})}return _a.filter(function(Mr){return Mr!==b})},[Et,_a,Ut,$t,vn,na]),Tr=le.useMemo(function(){var nr=rr;return Ce&&(nr=Ce(nr)),nr.length||(nr=[{render:function(){return null}}]),nr},[Ce,rr,na]),$r=le.useMemo(function(){return na==="rtl"?An(Sn(Tr)):Sn(Tr)},[Tr,na,Xa]),Dr=wn($r,Xa),Gr=(0,Be.Z)(Dr,2),zr=Gr[0],tr=Gr[1];return[Tr,zr,tr]}var pa=ka;function _n(Ee){var Ce,Qe=Ee.prefixCls,rt=Ee.record,Pt=Ee.onExpand,Et=Ee.expanded,$t=Ee.expandable,Yt="".concat(Qe,"-row-expand-icon");if(!$t)return le.createElement("span",{className:Ke()(Yt,"".concat(Qe,"-row-spaced"))});var Ut=function(vn){Pt(rt,vn),vn.stopPropagation()};return le.createElement("span",{className:Ke()(Yt,(Ce={},(0,he.Z)(Ce,"".concat(Qe,"-row-expanded"),Et),(0,he.Z)(Ce,"".concat(Qe,"-row-collapsed"),!Et),Ce)),onClick:Ut})}function Ea(Ee,Ce,Qe){var rt=[];function Pt(Et){(Et||[]).forEach(function($t,Yt){rt.push(Ce($t,Yt)),Pt($t[Qe])})}return Pt(Ee),rt}function Pa(Ee,Ce,Qe){var rt=Da(Ee),Pt=rt.expandIcon,Et=rt.expandedRowKeys,$t=rt.defaultExpandedRowKeys,Yt=rt.defaultExpandAllRows,Ut=rt.expandedRowRender,Cn=rt.onExpand,vn=rt.onExpandedRowsChange,pn=rt.childrenColumnName,qn=Pt||_n,na=pn||"children",ca=le.useMemo(function(){return Ut?"row":Ee.expandable&&Ee.internalHooks===de&&Ee.expandable.__PARENT_RENDER_ICON__||Ce.some(function($r){return $r&&(0,Ae.Z)($r)==="object"&&$r[na]})?"nest":!1},[!!Ut,Ce]),Aa=le.useState(function(){return $t||(Yt?Ea(Ce,Qe,na):[])}),Kt=(0,Be.Z)(Aa,2),Xa=Kt[0],_a=Kt[1],rr=le.useMemo(function(){return new Set(Et||Xa||[])},[Et,Xa]),Tr=le.useCallback(function($r){var Dr=Qe($r,Ce.indexOf($r)),Gr,zr=rr.has(Dr);zr?(rr.delete(Dr),Gr=(0,fa.Z)(rr)):Gr=[].concat((0,fa.Z)(rr),[Dr]),_a(Gr),Cn&&Cn(!zr,$r),vn&&vn(Gr)},[Qe,rr,Ce,Cn,vn]);return[rt,ca,rr,qn,na,Tr]}function Dn(Ee,Ce,Qe,rt){var Pt=Ee.map(function(Et,$t){return ze($t,$t,Ee,Ce,Qe,rt==null?void 0:rt[$t])});return(0,ht.Z)(function(){return Pt},[Pt],function(Et,$t){return!(0,ke.Z)(Et,$t)})}function lr(Ee){var Ce=(0,le.useRef)(Ee),Qe=(0,le.useState)({}),rt=(0,Be.Z)(Qe,2),Pt=rt[1],Et=(0,le.useRef)(null),$t=(0,le.useRef)([]);function Yt(Ut){$t.current.push(Ut);var Cn=Promise.resolve();Et.current=Cn,Cn.then(function(){if(Et.current===Cn){var vn=$t.current,pn=Ce.current;$t.current=[],vn.forEach(function(qn){Ce.current=qn(Ce.current)}),Et.current=null,pn!==Ce.current&&Pt({})}})}return(0,le.useEffect)(function(){return function(){Et.current=null}},[]),[Ce.current,Yt]}function Nr(Ee){var Ce=(0,le.useRef)(Ee||null),Qe=(0,le.useRef)();function rt(){window.clearTimeout(Qe.current)}function Pt($t){Ce.current=$t,rt(),Qe.current=window.setTimeout(function(){Ce.current=null,Qe.current=void 0},100)}function Et(){return Ce.current}return(0,le.useEffect)(function(){return rt},[]),[Pt,Et]}function Ur(){var Ee=le.useState(-1),Ce=(0,Be.Z)(Ee,2),Qe=Ce[0],rt=Ce[1],Pt=le.useState(-1),Et=(0,Be.Z)(Pt,2),$t=Et[0],Yt=Et[1],Ut=le.useCallback(function(Cn,vn){rt(Cn),Yt(vn)},[]);return[Qe,$t,Ut]}var Sr=ee(47273),Ue=(0,Sr.Z)()?window:null;function bn(Ee,Ce){var Qe=(0,Ae.Z)(Ee)==="object"?Ee:{},rt=Qe.offsetHeader,Pt=rt===void 0?0:rt,Et=Qe.offsetSummary,$t=Et===void 0?0:Et,Yt=Qe.offsetScroll,Ut=Yt===void 0?0:Yt,Cn=Qe.getContainer,vn=Cn===void 0?function(){return Ue}:Cn,pn=vn()||Ue;return le.useMemo(function(){var qn=!!Ee;return{isSticky:qn,stickyClassName:qn?"".concat(Ce,"-sticky-holder"):"",offsetHeader:Pt,offsetSummary:$t,offsetScroll:Ut,container:pn}},[Ut,Pt,$t,Ce,pn])}function Xt(Ee,Ce,Qe){var rt=(0,le.useMemo)(function(){for(var Pt=[],Et=[],$t=0,Yt=0,Ut=0;Ut=pn&&(Mr=pn-qn),$t({scrollLeft:Mr/pn*(vn+2)}),_a.current.x=or.pageX},nr=function(){if(Et.current){var or=(0,Un.os)(Et.current).top,Kr=or+Et.current.offsetHeight,Po=Ut===window?document.documentElement.scrollTop+window.innerHeight:(0,Un.os)(Ut).top+Ut.clientHeight;Kr-(0,yt.Z)()<=Po||or>=Po-Yt?Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!0})}):Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!1})})}},fr=function(or){Xa(function(Kr){return(0,He.Z)((0,He.Z)({},Kr),{},{scrollLeft:or/vn*pn||0})})};return le.useImperativeHandle(Qe,function(){return{setScrollLeft:fr}}),le.useEffect(function(){var Wa=(0,Qn.Z)(document.body,"mouseup",Gr,!1),or=(0,Qn.Z)(document.body,"mousemove",tr,!1);return nr(),function(){Wa.remove(),or.remove()}},[qn,$r]),le.useEffect(function(){var Wa=(0,Qn.Z)(Ut,"scroll",nr,!1),or=(0,Qn.Z)(window,"resize",nr,!1);return function(){Wa.remove(),or.remove()}},[Ut]),le.useEffect(function(){Kt.isHiddenScrollBar||Xa(function(Wa){var or=Et.current;return or?(0,He.Z)((0,He.Z)({},Wa),{},{scrollLeft:or.scrollLeft/or.scrollWidth*or.clientWidth}):Wa})},[Kt.isHiddenScrollBar]),vn<=pn||!qn||Kt.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,yt.Z)(),width:pn,bottom:Yt},className:"".concat(Cn,"-sticky-scroll")},le.createElement("div",{onMouseDown:zr,ref:na,className:Ke()("".concat(Cn,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(Cn,"-sticky-scroll-bar-active"),$r)),style:{width:"".concat(qn,"px"),transform:"translate3d(".concat(Kt.scrollLeft,"px, 0, 0)")}}))},da=le.forwardRef(ur);function En(Ee){return null}var dr=En;function xr(Ee){return null}var Wr=xr,Ir="rc-table",ha=[],za={};function Ua(){return"No Data"}function La(Ee){var Ce,Qe=(0,He.Z)({rowKey:"key",prefixCls:Ir,emptyText:Ua},Ee),rt=Qe.prefixCls,Pt=Qe.className,Et=Qe.rowClassName,$t=Qe.style,Yt=Qe.data,Ut=Qe.rowKey,Cn=Qe.scroll,vn=Qe.tableLayout,pn=Qe.direction,qn=Qe.title,na=Qe.footer,ca=Qe.summary,Aa=Qe.caption,Kt=Qe.id,Xa=Qe.showHeader,_a=Qe.components,rr=Qe.emptyText,Tr=Qe.onRow,$r=Qe.onHeaderRow,Dr=Qe.internalHooks,Gr=Qe.transformColumns,zr=Qe.internalRefs,tr=Qe.tailor,nr=Qe.sticky,fr=Yt||ha,Wa=!!fr.length,or=Dr===de,Kr=le.useCallback(function(ei,Hi){return(0,Le.Z)(_a,ei)||Hi},[_a]),Po=le.useMemo(function(){return typeof Ut=="function"?Ut:function(ei){var Hi=ei&&ei[Ut];return Hi}},[Ut]),lo=Kr(["body"]),Mr=Ur(),vo=(0,Be.Z)(Mr,3),Bo=vo[0],Ra=vo[1],wo=vo[2],yi=Pa(Qe,fr,Po),Do=(0,Be.Z)(yi,6),Xr=Do[0],bi=Do[1],Qr=Do[2],gi=Do[3],_o=Do[4],_i=Do[5],to=Cn==null?void 0:Cn.x,_r=le.useState(0),Yr=(0,Be.Z)(_r,2),Zr=Yr[0],ce=Yr[1],pe=pa((0,He.Z)((0,He.Z)((0,He.Z)({},Qe),Xr),{},{expandable:!!Xr.expandedRowRender,columnTitle:Xr.columnTitle,expandedKeys:Qr,getRowKey:Po,onTriggerExpand:_i,expandIcon:gi,expandIconColumnIndex:Xr.expandIconColumnIndex,direction:pn,scrollWidth:or&&tr&&typeof to=="number"?to:null}),or?Gr:null),Pe=(0,Be.Z)(pe,3),Ot=Pe[0],tn=Pe[1],wa=Pe[2],ma=wa!=null?wa:to,zn=le.useMemo(function(){return{columns:Ot,flattenColumns:tn}},[Ot,tn]),Ht=le.useRef(),Yn=le.useRef(),xn=le.useRef(),Ct=le.useRef(),gn=le.useRef(),In=le.useState(!1),ra=(0,Be.Z)(In,2),Hn=ra[0],ba=ra[1],ta=le.useState(!1),oa=(0,Be.Z)(ta,2),Ka=oa[0],Pn=oa[1],ya=lr(new Map),ja=(0,Be.Z)(ya,2),qr=ja[0],cr=ja[1],li=xt(tn),Za=li.map(function(ei){return qr.get(ei)}),Co=le.useMemo(function(){return Za},[Za.join("_")]),Cr=Nn(Co,tn.length,pn),ao=Cn&&an(Cn.y),Eo=Cn&&an(ma)||!!Xr.fixed,hi=Eo&&tn.some(function(ei){var Hi=ei.fixed;return Hi}),mi=le.useRef(),pr=bn(nr,rt),po=pr.isSticky,Ki=pr.offsetHeader,Oi=pr.offsetSummary,ea=pr.offsetScroll,xo=pr.stickyClassName,Li=pr.container,Zo=le.useMemo(function(){return ca==null?void 0:ca(fr)},[ca,fr]),Ci=(ao||po)&&le.isValidElement(Zo)&&Zo.type===fe&&Zo.props.fixed,Ri,oi,il;ao&&(oi={overflowY:"scroll",maxHeight:Cn.y}),Eo&&(Ri={overflowX:"auto"},ao||(oi={overflowY:"hidden"}),il={width:ma===!0?"auto":ma,minWidth:"100%"});var ll=le.useCallback(function(ei,Hi){(0,nt.Z)(Ht.current)&&cr(function(Dl){if(Dl.get(ei)!==Hi){var El=new Map(Dl);return El.set(ei,Hi),El}return Dl})},[]),jl=Nr(null),Mi=(0,Be.Z)(jl,2),cl=Mi[0],Bl=Mi[1];function Gl(ei,Hi){Hi&&(typeof Hi=="function"?Hi(ei):Hi.scrollLeft!==ei&&(Hi.scrollLeft=ei,Hi.scrollLeft!==ei&&setTimeout(function(){Hi.scrollLeft=ei},0)))}var No=(0,Ne.Z)(function(ei){var Hi=ei.currentTarget,Dl=ei.scrollLeft,El=pn==="rtl",Vl=typeof Dl=="number"?Dl:Hi.scrollLeft,kl=Hi||za;if(!Bl()||Bl()===kl){var Ku;cl(kl),Gl(Vl,Yn.current),Gl(Vl,xn.current),Gl(Vl,gn.current),Gl(Vl,(Ku=mi.current)===null||Ku===void 0?void 0:Ku.setScrollLeft)}var Vu=Hi||Yn.current;if(Vu){var $u=Vu.scrollWidth,hu=Vu.clientWidth;if($u===hu){ba(!1),Pn(!1);return}El?(ba(-Vl<$u-hu),Pn(-Vl>0)):(ba(Vl>0),Pn(Vl<$u-hu))}}),Si=function(){Eo&&xn.current?No({currentTarget:xn.current}):(ba(!1),Pn(!1))},$i=function(Hi){var Dl=Hi.width;Dl!==Zr&&(Si(),ce(Ht.current?Ht.current.offsetWidth:Dl))},Zi=le.useRef(!1);le.useEffect(function(){Zi.current&&Si()},[Eo,Yt,Ot.length]),le.useEffect(function(){Zi.current=!0},[]);var hl=le.useState(0),ul=(0,Be.Z)(hl,2),sl=ul[0],wl=ul[1],Rl=le.useState(!0),ml=(0,Be.Z)(Rl,2),qi=ml[0],Wl=ml[1];le.useEffect(function(){(!tr||!or)&&(xn.current instanceof Element?wl((0,yt.o)(xn.current).width):wl((0,yt.o)(Ct.current).width)),Wl((0,Me.G)("position","sticky"))},[]),le.useEffect(function(){or&&zr&&(zr.body.current=xn.current)});var Jo=le.useCallback(function(ei){return le.createElement(le.Fragment,null,le.createElement(Vt,ei),Ci==="top"&&le.createElement(Rt,ei,Zo))},[Ci,Zo]),vu=le.useCallback(function(ei){return le.createElement(Rt,ei,Zo)},[Zo]),pu=Kr(["table"],"table"),Kl=le.useMemo(function(){return vn||(hi?ma==="max-content"?"auto":"fixed":ao||po||tn.some(function(ei){var Hi=ei.ellipsis;return Hi})?"fixed":"auto")},[ao,hi,tn,vn,po]),gu,ua={colWidths:Co,columCount:tn.length,stickyOffsets:Cr,onHeaderRow:$r,fixHeader:ao,scroll:Cn},er=le.useMemo(function(){return Wa?null:typeof rr=="function"?rr():rr},[Wa,rr]),Go=le.createElement(Ln,{data:fr,measureColumnWidth:ao||Eo||po}),uo=le.createElement($a,{colWidths:tn.map(function(ei){var Hi=ei.width;return Hi}),columns:tn}),Fo=Aa!=null?le.createElement("caption",{className:"".concat(rt,"-caption")},Aa):void 0,Xo=(0,Bn.Z)(Qe,{data:!0}),Vi=(0,Bn.Z)(Qe,{aria:!0});if(ao||po){var Di;typeof lo=="function"?(Di=lo(fr,{scrollbarSize:sl,ref:xn,onScroll:No}),ua.colWidths=tn.map(function(ei,Hi){var Dl=ei.width,El=Hi===tn.length-1?Dl-sl:Dl;return typeof El=="number"&&!Number.isNaN(El)?El:0})):Di=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Ri),oi),onScroll:No,ref:xn,className:Ke()("".concat(rt,"-body"))},le.createElement(pu,(0,Ge.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Fo,uo,Go,!Ci&&Zo&&le.createElement(Rt,{stickyOffsets:Cr,flattenColumns:tn,columns:Ot},Zo)));var fl=(0,He.Z)((0,He.Z)((0,He.Z)({noData:!fr.length,maxContentScroll:Eo&&ma==="max-content"},ua),zn),{},{direction:pn,stickyClassName:xo,onScroll:No});gu=le.createElement(le.Fragment,null,Xa!==!1&&le.createElement(ia,(0,Ge.Z)({},fl,{stickyTopOffset:Ki,className:"".concat(rt,"-header"),ref:Yn}),Jo),Di,Ci&&Ci!=="top"&&le.createElement(ia,(0,Ge.Z)({},fl,{stickyBottomOffset:Oi,className:"".concat(rt,"-summary"),ref:gn}),vu),po&&le.createElement(da,{ref:mi,offsetScroll:ea,scrollBodyRef:xn,onScroll:No,container:Li}))}else gu=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Ri),oi),className:Ke()("".concat(rt,"-content")),onScroll:No,ref:xn},le.createElement(pu,(0,Ge.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Fo,uo,Xa!==!1&&le.createElement(Vt,(0,Ge.Z)({},ua,zn)),Go,Zo&&le.createElement(Rt,{stickyOffsets:Cr,flattenColumns:tn,columns:Ot},Zo)));var el=le.createElement("div",(0,Ge.Z)({className:Ke()(rt,Pt,(Ce={},(0,he.Z)(Ce,"".concat(rt,"-rtl"),pn==="rtl"),(0,he.Z)(Ce,"".concat(rt,"-ping-left"),Hn),(0,he.Z)(Ce,"".concat(rt,"-ping-right"),Ka),(0,he.Z)(Ce,"".concat(rt,"-layout-fixed"),vn==="fixed"),(0,he.Z)(Ce,"".concat(rt,"-fixed-header"),ao),(0,he.Z)(Ce,"".concat(rt,"-fixed-column"),hi),(0,he.Z)(Ce,"".concat(rt,"-scroll-horizontal"),Eo),(0,he.Z)(Ce,"".concat(rt,"-has-fix-left"),tn[0]&&tn[0].fixed),(0,he.Z)(Ce,"".concat(rt,"-has-fix-right"),tn[tn.length-1]&&tn[tn.length-1].fixed==="right"),Ce)),style:$t,id:Kt,ref:Ht},Xo),qn&&le.createElement(la,{className:"".concat(rt,"-title")},qn(fr)),le.createElement("div",{ref:Ct,className:"".concat(rt,"-container")},gu),na&&le.createElement(la,{className:"".concat(rt,"-footer")},na(fr)));Eo&&(el=le.createElement(St.Z,{onResize:$i},el));var Ml=Dn(tn,Cr,pn,Ot),ou=le.useMemo(function(){return{scrollX:ma,prefixCls:rt,getComponent:Kr,scrollbarSize:sl,direction:pn,fixedInfoList:Ml,isSticky:po,supportSticky:qi,componentWidth:Zr,fixHeader:ao,fixColumn:hi,horizonScroll:Eo,tableLayout:Kl,rowClassName:Et,expandedRowClassName:Xr.expandedRowClassName,expandIcon:gi,expandableType:bi,expandRowByClick:Xr.expandRowByClick,expandedRowRender:Xr.expandedRowRender,onTriggerExpand:_i,expandIconColumnIndex:Xr.expandIconColumnIndex,indentSize:Xr.indentSize,allColumnsFixedLeft:tn.every(function(ei){return ei.fixed==="left"}),emptyNode:er,columns:Ot,flattenColumns:tn,onColumnResize:ll,hoverStartRow:Bo,hoverEndRow:Ra,onHover:wo,rowExpandable:Xr.rowExpandable,onRow:Tr,getRowKey:Po,expandedKeys:Qr,childrenColumnName:_o}},[ma,rt,Kr,sl,pn,Ml,po,qi,Zr,ao,hi,Eo,Kl,Et,Xr.expandedRowClassName,gi,bi,Xr.expandRowByClick,Xr.expandedRowRender,_i,Xr.expandIconColumnIndex,Xr.indentSize,er,Ot,tn,ll,Bo,Ra,wo,Xr.rowExpandable,Tr,Po,Qr,_o]);return le.createElement(ie.Provider,{value:ou},el)}function Or(Ee){return z(La,Ee)}var no=Or();no.EXPAND_COLUMN=b,no.INTERNAL_HOOKS=de,no.Column=dr,no.ColumnGroup=Wr,no.Summary=Oe;var Fr=no,Er=ee(57149),Pr=et(null),si=et(null);function ai(Ee,Ce,Qe){var rt=Ce||1;return Qe[Ee+rt]-(Qe[Ee]||0)}function xi(Ee){var Ce=Ee.rowInfo,Qe=Ee.column,rt=Ee.colIndex,Pt=Ee.indent,Et=Ee.index,$t=Ee.renderIndex,Yt=Ee.record,Ut=Ee.style,Cn=Ee.className,vn=Ee.inverse,pn=Ee.getHeight,qn=Qe.render,na=Qe.dataIndex,ca=Qe.className,Aa=Qe.width,Kt=Ve(si,["columnsOffset"]),Xa=Kt.columnsOffset,_a=Ft(Ce,Qe,rt,Pt,Et),rr=_a.key,Tr=_a.fixedInfo,$r=_a.appendCellNode,Dr=_a.additionalCellProps,Gr=Dr.style,zr=Dr.colSpan,tr=zr===void 0?1:zr,nr=Dr.rowSpan,fr=nr===void 0?1:nr,Wa=rt-1,or=ai(Wa,tr,Xa),Kr=tr>1?Aa-or:0,Po=(0,He.Z)((0,He.Z)((0,He.Z)({},Gr),Ut),{},{flex:"0 0 ".concat(or,"px"),width:"".concat(or,"px"),marginRight:Kr,pointerEvents:"auto"}),lo=le.useMemo(function(){return vn?fr<=1:tr===0||fr===0||fr>1},[fr,tr,vn]);lo?Po.visibility="hidden":vn&&(Po.height=pn==null?void 0:pn(fr));var Mr=lo?function(){return null}:qn,vo={};return(fr===0||tr===0)&&(vo.rowSpan=1,vo.colSpan=1),le.createElement(Fn,(0,Ge.Z)({className:Ke()(ca,Cn),ellipsis:Qe.ellipsis,align:Qe.align,scope:Qe.rowScope,component:"div",prefixCls:Ce.prefixCls,key:rr,record:Yt,index:Et,renderIndex:$t,dataIndex:na,render:Mr,shouldCellUpdate:Qe.shouldCellUpdate},Tr,{appendNode:$r,additionalProps:(0,He.Z)((0,He.Z)({},Dr),{},{style:Po},vo)}))}var ho=xi,yo=["data","index","className","rowKey","style","extra","getHeight"],jo=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,rt=Ee.index,Pt=Ee.className,Et=Ee.rowKey,$t=Ee.style,Yt=Ee.extra,Ut=Ee.getHeight,Cn=(0,Nt.Z)(Ee,yo),vn=Qe.record,pn=Qe.indent,qn=Qe.index,na=Ve(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ca=na.scrollX,Aa=na.flattenColumns,Kt=na.prefixCls,Xa=na.fixColumn,_a=na.componentWidth,rr=Te(vn,Et,rt,pn),Tr=rr.rowSupportExpand,$r=rr.expanded,Dr=rr.rowProps,Gr=rr.expandedRowRender,zr=rr.expandedRowClassName,tr;if(Tr&&$r){var nr=Gr(vn,rt,pn+1,$r),fr=zr==null?void 0:zr(vn,rt,pn),Wa={};Xa&&(Wa={style:(0,he.Z)({},"--virtual-width","".concat(_a,"px"))});var or="".concat(Kt,"-expanded-row-cell");tr=le.createElement("div",{className:Ke()("".concat(Kt,"-expanded-row"),"".concat(Kt,"-expanded-row-level-").concat(pn+1),fr)},le.createElement(Fn,{component:"div",prefixCls:Kt,className:Ke()(or,(0,he.Z)({},"".concat(or,"-fixed"),Xa)),additionalProps:Wa},nr))}var Kr=(0,He.Z)((0,He.Z)({},$t),{},{width:ca});Yt&&(Kr.position="absolute",Kr.pointerEvents="none");var Po=le.createElement("div",(0,Ge.Z)({},Dr,Cn,{ref:Tr?null:Ce,className:Ke()(Pt,"".concat(Kt,"-row"),Dr==null?void 0:Dr.className,(0,he.Z)({},"".concat(Kt,"-row-extra"),Yt)),style:(0,He.Z)((0,He.Z)({},Kr),Dr==null?void 0:Dr.style)}),Aa.map(function(lo,Mr){return le.createElement(ho,{key:Mr,rowInfo:rr,column:lo,colIndex:Mr,indent:pn,index:rt,renderIndex:qn,record:vn,inverse:Yt,getHeight:Ut})}));return Tr?le.createElement("div",{ref:Ce},Po,tr):Po}),Mo=ne(jo),Ao=Mo,gr=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,rt=Ee.onScroll,Pt=Ve(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Et=Pt.flattenColumns,$t=Pt.onColumnResize,Yt=Pt.getRowKey,Ut=Pt.expandedKeys,Cn=Pt.prefixCls,vn=Pt.childrenColumnName,pn=Pt.emptyNode,qn=Pt.scrollX,na=Ve(Pr),ca=na.scrollY,Aa=na.listItemHeight,Kt=le.useRef(),Xa=dn(Qe,vn,Ut,Yt),_a=le.useMemo(function(){var tr=0;return Et.map(function(nr){var fr=nr.width,Wa=nr.key;return tr+=fr,[Wa,fr,tr]})},[Et]),rr=le.useMemo(function(){return _a.map(function(tr){return tr[2]})},[_a]);le.useEffect(function(){_a.forEach(function(tr){var nr=(0,Be.Z)(tr,2),fr=nr[0],Wa=nr[1];$t(fr,Wa)})},[_a]),le.useImperativeHandle(Ce,function(){var tr={};return Object.defineProperty(tr,"scrollLeft",{get:function(){var fr;return((fr=Kt.current)===null||fr===void 0?void 0:fr.getScrollInfo().x)||0},set:function(fr){var Wa;(Wa=Kt.current)===null||Wa===void 0||Wa.scrollTo({left:fr})}}),tr});var Tr=function(nr,fr){var Wa,or=(Wa=Xa[fr])===null||Wa===void 0?void 0:Wa.record,Kr=nr.onCell;if(Kr){var Po,lo=Kr(or,fr);return(Po=lo==null?void 0:lo.rowSpan)!==null&&Po!==void 0?Po:1}return 1},$r=function(nr){var fr=nr.start,Wa=nr.end,or=nr.getSize,Kr=nr.offsetY;if(Wa<0)return null;for(var Po=Et.filter(function(to){return Tr(to,fr)===0}),lo=fr,Mr=function(_r){if(Po=Po.filter(function(Yr){return Tr(Yr,_r)===0}),!Po.length)return lo=_r,"break"},vo=fr;vo>=0;vo-=1){var Bo=Mr(vo);if(Bo==="break")break}for(var Ra=Et.filter(function(to){return Tr(to,Wa)!==1}),wo=Wa,yi=function(_r){if(Ra=Ra.filter(function(Yr){return Tr(Yr,_r)!==1}),!Ra.length)return wo=Math.max(_r-1,Wa),"break"},Do=Wa;Do1})&&bi.push(_r)},gi=lo;gi<=wo;gi+=1)var _o=Qr(gi);var _i=bi.map(function(to){var _r=Xa[to],Yr=Yt(_r.record,to),Zr=function(Pe){var Ot=to+Pe-1,tn=Yt(Xa[Ot].record,Ot),wa=or(Yr,tn);return wa.bottom-wa.top},ce=or(Yr);return le.createElement(Ao,{key:to,data:_r,rowKey:Yr,index:to,style:{top:-Kr+ce.top},extra:!0,getHeight:Zr})});return _i},Dr=le.useMemo(function(){return{columnsOffset:rr}},[rr]),Gr="".concat(Cn,"-tbody"),zr;return Xa.length?zr=le.createElement(Er.Z,{fullHeight:!1,ref:Kt,className:Ke()(Gr,"".concat(Gr,"-virtual")),height:ca,itemHeight:Aa||24,data:Xa,itemKey:function(nr){return Yt(nr.record)},scrollWidth:qn,onVirtualScroll:function(nr){var fr=nr.x;rt({scrollLeft:fr})},extraRender:$r},function(tr,nr,fr){var Wa=Yt(tr.record,nr);return le.createElement(Ao,(0,Ge.Z)({data:tr,rowKey:Wa,index:nr},fr))}):zr=le.createElement("div",{className:Ke()("".concat(Cn,"-placeholder"))},le.createElement(Fn,{component:"div",prefixCls:Cn},pn)),le.createElement(si.Provider,{value:Dr},zr)}),eo=ne(gr),Qo=eo,Yo=function(Ce,Qe){var rt=Qe.ref,Pt=Qe.onScroll;return le.createElement(Qo,{ref:rt,data:Ce,onScroll:Pt})},Oo=100;function br(Ee){var Ce=Ee.columns,Qe=Ee.scroll,rt=Ee.prefixCls,Pt=rt===void 0?Ir:rt,Et=Ee.className,$t=Ee.listItemHeight,Yt=Qe||{},Ut=Yt.x,Cn=Yt.y;typeof Ut!="number"&&(Ut=((Ce||[]).length+1)*Oo),typeof Cn!="number"&&(Cn=500);var vn=le.useMemo(function(){return{scrollY:Cn,listItemHeight:$t}},[Cn,$t]);return le.createElement(Pr.Provider,{value:vn},le.createElement(Fr,(0,Ge.Z)({},Ee,{className:Ke()(Et,"".concat(Pt,"-virtual")),scroll:(0,He.Z)((0,He.Z)({},Qe),{},{x:Ut}),components:{body:Yo},columns:Ce,internalHooks:de,tailor:!0})))}function ri(Ee){return z(br,Ee)}var Hr=ri(),ko=null;function mo(Ee){return null}var di=mo;function vi(Ee){return null}var Ui=vi,tl=ee(2738),nl=ee(68031),Vo=ee(36355),Fi=ee(93891),Wi=ee(19716),dl=ee(8628),gl=ee(31724),Pl=ee(58421),kr=ee(71418),Qa=ee(88088);function Ga(Ee){return function(Qe){let{prefixCls:rt,onExpand:Pt,record:Et,expanded:$t,expandable:Yt}=Qe;const Ut=`${rt}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:Cn=>{Pt(Et,Cn),Cn.stopPropagation()},className:Ke()(Ut,{[`${Ut}-spaced`]:!Yt,[`${Ut}-expanded`]:Yt&&$t,[`${Ut}-collapsed`]:Yt&&!$t}),"aria-label":$t?Ee.collapse:Ee.expand,"aria-expanded":$t})}}var Ya=Ga;function so(Ee,Ce){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Ce}function we(Ee,Ce){return Ce?`${Ce}-${Ee}`:`${Ee}`}function fn(Ee,Ce){return typeof Ee=="function"?Ee(Ce):Ee}function Mn(Ee,Ce){const Qe=fn(Ee,Ce);return Object.prototype.toString.call(Qe)==="[object Object]"?"":Qe}var Sa={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"},on=Sa,Ma=ee(7657),Fa=function(Ce,Qe){return le.createElement(Ma.Z,(0,Ge.Z)({},Ce,{ref:Qe,icon:on}))},jn=le.forwardRef(Fa),Xn=jn,sr=ee(56762);function Ha(Ee){const Ce=le.useRef(Ee),Qe=(0,sr.Z)();return[()=>Ce.current,rt=>{Ce.current=rt,Qe()}]}var Ta=ee(3113),Ja=ee(24905),Rr=ee(38854),bo=ee(64165),$o=ee(20834),Wo=ee(40875),Ti=ee(5112),Ji=ee(17574),al=ee(47472),Zl=ee(92832);function Al(Ee){let{value:Ce,onChange:Qe,filterSearch:rt,tablePrefixCls:Pt,locale:Et}=Ee;return rt?le.createElement("div",{className:`${Pt}-filter-dropdown-search`},le.createElement(Zl.default,{prefix:le.createElement(al.Z,null),placeholder:Et.filterSearchPlaceholder,onChange:Qe,value:Ce,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null}var So=Al,yl=ee(10228);const eu=Ee=>{const{keyCode:Ce}=Ee;Ce===yl.Z.ENTER&&Ee.stopPropagation()};var xl=le.forwardRef((Ee,Ce)=>le.createElement("div",{className:Ee.className,onClick:Qe=>Qe.stopPropagation(),onKeyDown:eu,ref:Ce},Ee.children));function tu(Ee){let Ce=[];return(Ee||[]).forEach(Qe=>{let{value:rt,children:Pt}=Qe;Ce.push(rt),Pt&&(Ce=[].concat((0,fa.Z)(Ce),(0,fa.Z)(tu(Pt))))}),Ce}function Qu(Ee){return Ee.some(Ce=>{let{children:Qe}=Ce;return Qe})}function su(Ee,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(Ee.trim().toLowerCase()):!1}function mu(Ee){let{filters:Ce,prefixCls:Qe,filteredKeys:rt,filterMultiple:Pt,searchValue:Et,filterSearch:$t}=Ee;return Ce.map((Yt,Ut)=>{const Cn=String(Yt.value);if(Yt.children)return{key:Cn||Ut,label:Yt.text,popupClassName:`${Qe}-dropdown-submenu`,children:mu({filters:Yt.children,prefixCls:Qe,filteredKeys:rt,filterMultiple:Pt,searchValue:Et,filterSearch:$t})};const vn=Pt?Ja.default:Ti.ZP,pn={key:Yt.value!==void 0?Cn:Ut,label:le.createElement(le.Fragment,null,le.createElement(vn,{checked:rt.includes(Cn)}),le.createElement("span",null,Yt.text))};return Et.trim()?typeof $t=="function"?$t(Et,Yt)?pn:null:su(Et,Yt.text)?pn:null:pn})}function Yu(Ee){var Ce,Qe;const{tablePrefixCls:rt,prefixCls:Pt,column:Et,dropdownPrefixCls:$t,columnKey:Yt,filterMultiple:Ut,filterMode:Cn="menu",filterSearch:vn=!1,filterState:pn,triggerFilter:qn,locale:na,children:ca,getPopupContainer:Aa}=Ee,{filterDropdownOpen:Kt,onFilterDropdownOpenChange:Xa,filterResetToDefaultFilteredValue:_a,defaultFilteredValue:rr,filterDropdownVisible:Tr,onFilterDropdownVisibleChange:$r}=Et,[Dr,Gr]=le.useState(!1),zr=!!(pn&&(!((Ce=pn.filteredKeys)===null||Ce===void 0)&&Ce.length||pn.forceFiltered)),tr=pe=>{Gr(pe),Xa==null||Xa(pe),$r==null||$r(pe)},nr=(Qe=Kt!=null?Kt:Tr)!==null&&Qe!==void 0?Qe:Dr,fr=pn==null?void 0:pn.filteredKeys,[Wa,or]=Ha(fr||[]),Kr=pe=>{let{selectedKeys:Pe}=pe;or(Pe)},Po=(pe,Pe)=>{let{node:Ot,checked:tn}=Pe;Kr(Ut?{selectedKeys:pe}:{selectedKeys:tn&&Ot.key?[Ot.key]:[]})};le.useEffect(()=>{Dr&&Kr({selectedKeys:fr||[]})},[fr]);const[lo,Mr]=le.useState([]),vo=pe=>{Mr(pe)},[Bo,Ra]=le.useState(""),wo=pe=>{const{value:Pe}=pe.target;Ra(Pe)};le.useEffect(()=>{Dr||Ra("")},[Dr]);const yi=pe=>{const Pe=pe&&pe.length?pe:null;if(Pe===null&&(!pn||!pn.filteredKeys)||(0,ke.Z)(Pe,pn==null?void 0:pn.filteredKeys,!0))return null;qn({column:Et,key:Yt,filteredKeys:Pe})},Do=()=>{tr(!1),yi(Wa())},Xr=function(){let{confirm:pe,closeDropdown:Pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};pe&&yi([]),Pe&&tr(!1),Ra(""),or(_a?(rr||[]).map(Ot=>String(Ot)):[])},bi=function(){let{closeDropdown:pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};pe&&tr(!1),yi(Wa())},Qr=pe=>{pe&&fr!==void 0&&or(fr||[]),tr(pe),!pe&&!Et.filterDropdown&&Do()},gi=Ke()({[`${$t}-menu-without-submenu`]:!Qu(Et.filters||[])}),_o=pe=>{if(pe.target.checked){const Pe=tu(Et==null?void 0:Et.filters).map(Ot=>String(Ot));or(Pe)}else or([])},_i=pe=>{let{filters:Pe}=pe;return(Pe||[]).map((Ot,tn)=>{const wa=String(Ot.value),ma={title:Ot.text,key:Ot.value!==void 0?wa:tn};return Ot.children&&(ma.children=_i({filters:Ot.children})),ma})},to=pe=>{var Pe;return Object.assign(Object.assign({},pe),{text:pe.title,value:pe.key,children:((Pe=pe.children)===null||Pe===void 0?void 0:Pe.map(Ot=>to(Ot)))||[]})};let _r;if(typeof Et.filterDropdown=="function")_r=Et.filterDropdown({prefixCls:`${$t}-custom`,setSelectedKeys:pe=>Kr({selectedKeys:pe}),selectedKeys:Wa(),confirm:bi,clearFilters:Xr,filters:Et.filters,visible:nr,close:()=>{tr(!1)}});else if(Et.filterDropdown)_r=Et.filterDropdown;else{const pe=Wa()||[],Pe=()=>(Et.filters||[]).length===0?le.createElement(bo.Z,{image:bo.Z.PRESENTED_IMAGE_SIMPLE,description:na.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Cn==="tree"?le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:vn,value:Bo,onChange:wo,tablePrefixCls:rt,locale:na}),le.createElement("div",{className:`${rt}-filter-dropdown-tree`},Ut?le.createElement(Ja.default,{checked:pe.length===tu(Et.filters).length,indeterminate:pe.length>0&&pe.lengthtypeof vn=="function"?vn(Bo,to(tn)):su(Bo,tn.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:vn,value:Bo,onChange:wo,tablePrefixCls:rt,locale:na}),le.createElement($o.default,{selectable:!0,multiple:Ut,prefixCls:`${$t}-menu`,className:gi,onSelect:Kr,onDeselect:Kr,selectedKeys:pe,getPopupContainer:Aa,openKeys:lo,onOpenChange:vo,items:mu({filters:Et.filters||[],filterSearch:vn,prefixCls:Pt,filteredKeys:Wa(),filterMultiple:Ut,searchValue:Bo})})),Ot=()=>_a?(0,ke.Z)((rr||[]).map(tn=>String(tn)),pe,!0):pe.length===0;_r=le.createElement(le.Fragment,null,Pe(),le.createElement("div",{className:`${Pt}-dropdown-btns`},le.createElement(Ta.ZP,{type:"link",size:"small",disabled:Ot(),onClick:()=>Xr()},na.filterReset),le.createElement(Ta.ZP,{type:"primary",size:"small",onClick:Do},na.filterConfirm)))}Et.filterDropdown&&(_r=le.createElement(Wo.J,{selectable:void 0},_r));const Yr=()=>le.createElement(xl,{className:`${Pt}-dropdown`},_r);let Zr;typeof Et.filterIcon=="function"?Zr=Et.filterIcon(zr):Et.filterIcon?Zr=Et.filterIcon:Zr=le.createElement(Xn,null);const{direction:ce}=le.useContext(Vo.E_);return le.createElement("div",{className:`${Pt}-column`},le.createElement("span",{className:`${rt}-column-title`},ca),le.createElement(Rr.Z,{dropdownRender:Yr,trigger:["click"],open:nr,onOpenChange:Qr,getPopupContainer:Aa,placement:ce==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:Ke()(`${Pt}-trigger`,{active:zr}),onClick:pe=>{pe.stopPropagation()}},Zr)))}var Sl=Yu;function Ru(Ee,Ce,Qe){let rt=[];return(Ee||[]).forEach((Pt,Et)=>{var $t;const Yt=we(Et,Qe);if(Pt.filters||"filterDropdown"in Pt||"onFilter"in Pt)if("filteredValue"in Pt){let Ut=Pt.filteredValue;"filterDropdown"in Pt||(Ut=($t=Ut==null?void 0:Ut.map(String))!==null&&$t!==void 0?$t:Ut),rt.push({column:Pt,key:so(Pt,Yt),filteredKeys:Ut,forceFiltered:Pt.filtered})}else rt.push({column:Pt,key:so(Pt,Yt),filteredKeys:Ce&&Pt.defaultFilteredValue?Pt.defaultFilteredValue:void 0,forceFiltered:Pt.filtered});"children"in Pt&&(rt=[].concat((0,fa.Z)(rt),(0,fa.Z)(Ru(Pt.children,Ce,Yt))))}),rt}function Mu(Ee,Ce,Qe,rt,Pt,Et,$t,Yt){return Qe.map((Ut,Cn)=>{const vn=we(Cn,Yt),{filterMultiple:pn=!0,filterMode:qn,filterSearch:na}=Ut;let ca=Ut;if(ca.filters||ca.filterDropdown){const Aa=so(ca,vn),Kt=rt.find(Xa=>{let{key:_a}=Xa;return Aa===_a});ca=Object.assign(Object.assign({},ca),{title:Xa=>le.createElement(Sl,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Ce,column:ca,columnKey:Aa,filterState:Kt,filterMultiple:pn,filterMode:qn,filterSearch:na,triggerFilter:Et,locale:Pt,getPopupContainer:$t},fn(Ut.title,Xa))})}return"children"in ca&&(ca=Object.assign(Object.assign({},ca),{children:Mu(Ee,Ce,ca.children,rt,Pt,Et,$t,vn)})),ca})}function rl(Ee){const Ce={};return Ee.forEach(Qe=>{let{key:rt,filteredKeys:Pt,column:Et}=Qe;const{filters:$t,filterDropdown:Yt}=Et;if(Yt)Ce[rt]=Pt||null;else if(Array.isArray(Pt)){const Ut=tu($t);Ce[rt]=Ut.filter(Cn=>Pt.includes(String(Cn)))}else Ce[rt]=null}),Ce}function ku(Ee,Ce){return Ce.reduce((Qe,rt)=>{const{column:{onFilter:Pt,filters:Et},filteredKeys:$t}=rt;return Pt&&$t&&$t.length?Qe.filter(Yt=>$t.some(Ut=>{const Cn=tu(Et),vn=Cn.findIndex(qn=>String(qn)===String(Ut)),pn=vn!==-1?Cn[vn]:Ut;return Pt(pn,Yt)})):Qe},Ee)}const nu=Ee=>Ee.flatMap(Ce=>"children"in Ce?[Ce].concat((0,fa.Z)(nu(Ce.children||[]))):[Ce]);function Ju(Ee){let{prefixCls:Ce,dropdownPrefixCls:Qe,mergedColumns:rt,onFilterChange:Pt,getPopupContainer:Et,locale:$t}=Ee;const Yt=le.useMemo(()=>nu(rt||[]),[rt]),[Ut,Cn]=le.useState(()=>Ru(Yt,!0)),vn=le.useMemo(()=>{const ca=Ru(Yt,!1);if(ca.length===0)return ca;let Aa=!0,Kt=!0;if(ca.forEach(Xa=>{let{filteredKeys:_a}=Xa;_a!==void 0?Aa=!1:Kt=!1}),Aa){const Xa=(Yt||[]).map((_a,rr)=>so(_a,we(rr)));return Ut.filter(_a=>{let{key:rr}=_a;return Xa.includes(rr)}).map(_a=>{const rr=Yt[Xa.findIndex(Tr=>Tr===_a.key)];return Object.assign(Object.assign({},_a),{column:Object.assign(Object.assign({},_a.column),rr),forceFiltered:rr.filtered})})}return ca},[Yt,Ut]),pn=le.useMemo(()=>rl(vn),[vn]),qn=ca=>{const Aa=vn.filter(Kt=>{let{key:Xa}=Kt;return Xa!==ca.key});Aa.push(ca),Cn(Aa),Pt(rl(Aa),Aa)};return[ca=>Mu(Ce,Qe,ca,vn,$t,qn,Et),vn,pn]}var bu=Ju;function Tu(Ee,Ce,Qe){const rt=le.useRef({});function Pt(Et){if(!rt.current||rt.current.data!==Ee||rt.current.childrenColumnName!==Ce||rt.current.getRowKey!==Qe){let Yt=function(Ut){Ut.forEach((Cn,vn)=>{const pn=Qe(Cn,vn);$t.set(pn,Cn),Cn&&typeof Cn=="object"&&Ce in Cn&&Yt(Cn[Ce]||[])})};const $t=new Map;Yt(Ee),rt.current={data:Ee,childrenColumnName:Ce,kvMap:$t,getRowKey:Qe}}return rt.current.kvMap.get(Et)}return[Pt]}var Xu=ee(50371),_u=function(Ee,Ce){var Qe={};for(var rt in Ee)Object.prototype.hasOwnProperty.call(Ee,rt)&&Ce.indexOf(rt)<0&&(Qe[rt]=Ee[rt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,rt=Object.getOwnPropertySymbols(Ee);Pt{const Et=Ee[Pt];typeof Et!="function"&&(Qe[Pt]=Et)}),Qe}function Zu(Ee,Ce,Qe){const rt=Qe&&typeof Qe=="object"?Qe:{},{total:Pt=0}=rt,Et=_u(rt,["total"]),[$t,Yt]=(0,le.useState)(()=>({current:"defaultCurrent"in Et?Et.defaultCurrent:1,pageSize:"defaultPageSize"in Et?Et.defaultPageSize:bl})),Ut=(0,Xu.Z)($t,Et,{total:Pt>0?Pt:Ee}),Cn=Math.ceil((Pt||Ee)/Ut.pageSize);Ut.current>Cn&&(Ut.current=Cn||1);const vn=(qn,na)=>{Yt({current:qn!=null?qn:1,pageSize:na||Ut.pageSize})},pn=(qn,na)=>{var ca;Qe&&((ca=Qe.onChange)===null||ca===void 0||ca.call(Qe,qn,na)),vn(qn,na),Ce(qn,na||(Ut==null?void 0:Ut.pageSize))};return Qe===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ut),{onChange:pn}),vn]}var fs=Zu,au=ee(84105),Bi=ee(35654),Cu=ee(90782),zu=ee(71430),rs=ee(18929);const Il={},Hu="SELECT_ALL",xu="SELECT_INVERT",Fu="SELECT_NONE",Fl=[],zl=(Ee,Ce)=>{let Qe=[];return(Ce||[]).forEach(rt=>{Qe.push(rt),rt&&typeof rt=="object"&&Ee in rt&&(Qe=[].concat((0,fa.Z)(Qe),(0,fa.Z)(zl(Ee,rt[Ee]))))}),Qe};var qu=(Ee,Ce)=>{const{preserveSelectedRowKeys:Qe,selectedRowKeys:rt,defaultSelectedRowKeys:Pt,getCheckboxProps:Et,onChange:$t,onSelect:Yt,onSelectAll:Ut,onSelectInvert:Cn,onSelectNone:vn,onSelectMultiple:pn,columnWidth:qn,type:na,selections:ca,fixed:Aa,renderCell:Kt,hideSelectAll:Xa,checkStrictly:_a=!0}=Ce||{},{prefixCls:rr,data:Tr,pageData:$r,getRecordByKey:Dr,getRowKey:Gr,expandType:zr,childrenColumnName:tr,locale:nr,getPopupContainer:fr}=Ee,[Wa,or]=(0,rs.Z)(rt||Pt||Fl,{value:rt}),Kr=le.useRef(new Map),Po=(0,le.useCallback)(to=>{if(Qe){const _r=new Map;to.forEach(Yr=>{let Zr=Dr(Yr);!Zr&&Kr.current.has(Yr)&&(Zr=Kr.current.get(Yr)),_r.set(Yr,Zr)}),Kr.current=_r}},[Dr,Qe]);le.useEffect(()=>{Po(Wa)},[Wa]);const{keyEntities:lo}=(0,le.useMemo)(()=>{if(_a)return{keyEntities:null};let to=Tr;if(Qe){const _r=new Set(Tr.map((Zr,ce)=>Gr(Zr,ce))),Yr=Array.from(Kr.current).reduce((Zr,ce)=>{let[pe,Pe]=ce;return _r.has(pe)?Zr:Zr.concat(Pe)},[]);to=[].concat((0,fa.Z)(to),(0,fa.Z)(Yr))}return(0,zu.I8)(to,{externalGetKey:Gr,childrenPropName:tr})},[Tr,Gr,_a,tr,Qe]),Mr=(0,le.useMemo)(()=>zl(tr,$r),[tr,$r]),vo=(0,le.useMemo)(()=>{const to=new Map;return Mr.forEach((_r,Yr)=>{const Zr=Gr(_r,Yr),ce=(Et?Et(_r):null)||{};to.set(Zr,ce)}),to},[Mr,Gr,Et]),Bo=(0,le.useCallback)(to=>{var _r;return!!(!((_r=vo.get(Gr(to)))===null||_r===void 0)&&_r.disabled)},[vo,Gr]),[Ra,wo]=(0,le.useMemo)(()=>{if(_a)return[Wa||[],[]];const{checkedKeys:to,halfCheckedKeys:_r}=(0,Cu.S)(Wa,!0,lo,Bo);return[to||[],_r]},[Wa,_a,lo,Bo]),yi=(0,le.useMemo)(()=>{const to=na==="radio"?Ra.slice(0,1):Ra;return new Set(to)},[Ra,na]),Do=(0,le.useMemo)(()=>na==="radio"?new Set:new Set(wo),[wo,na]),[Xr,bi]=(0,le.useState)(null);le.useEffect(()=>{Ce||or(Fl)},[!!Ce]);const Qr=(0,le.useCallback)((to,_r)=>{let Yr,Zr;Po(to),Qe?(Yr=to,Zr=to.map(ce=>Kr.current.get(ce))):(Yr=[],Zr=[],to.forEach(ce=>{const pe=Dr(ce);pe!==void 0&&(Yr.push(ce),Zr.push(pe))})),or(Yr),$t==null||$t(Yr,Zr,{type:_r})},[or,Dr,$t,Qe]),gi=(0,le.useCallback)((to,_r,Yr,Zr)=>{if(Yt){const ce=Yr.map(pe=>Dr(pe));Yt(Dr(to),_r,ce,Zr)}Qr(Yr,"single")},[Yt,Dr,Qr]),_o=(0,le.useMemo)(()=>!ca||Xa?null:(ca===!0?[Hu,xu,Fu]:ca).map(_r=>_r===Hu?{key:"all",text:nr.selectionAll,onSelect(){Qr(Tr.map((Yr,Zr)=>Gr(Yr,Zr)).filter(Yr=>{const Zr=vo.get(Yr);return!(Zr!=null&&Zr.disabled)||yi.has(Yr)}),"all")}}:_r===xu?{key:"invert",text:nr.selectInvert,onSelect(){const Yr=new Set(yi);$r.forEach((ce,pe)=>{const Pe=Gr(ce,pe),Ot=vo.get(Pe);Ot!=null&&Ot.disabled||(Yr.has(Pe)?Yr.delete(Pe):Yr.add(Pe))});const Zr=Array.from(Yr);Cn&&Cn(Zr),Qr(Zr,"invert")}}:_r===Fu?{key:"none",text:nr.selectNone,onSelect(){vn==null||vn(),Qr(Array.from(yi).filter(Yr=>{const Zr=vo.get(Yr);return Zr==null?void 0:Zr.disabled}),"none")}}:_r).map(_r=>Object.assign(Object.assign({},_r),{onSelect:function(){for(var Yr,Zr,ce=arguments.length,pe=new Array(ce),Pe=0;Pe{var _r;if(!Ce)return to.filter(In=>In!==Il);let Yr=(0,fa.Z)(to);const Zr=new Set(yi),ce=Mr.map(Gr).filter(In=>!vo.get(In).disabled),pe=ce.every(In=>Zr.has(In)),Pe=ce.some(In=>Zr.has(In)),Ot=()=>{const In=[];pe?ce.forEach(Hn=>{Zr.delete(Hn),In.push(Hn)}):ce.forEach(Hn=>{Zr.has(Hn)||(Zr.add(Hn),In.push(Hn))});const ra=Array.from(Zr);Ut==null||Ut(!pe,ra.map(Hn=>Dr(Hn)),In.map(Hn=>Dr(Hn))),Qr(ra,"all"),bi(null)};let tn;if(na!=="radio"){let In;if(_o){const oa={getPopupContainer:fr,items:_o.map((Ka,Pn)=>{const{key:ya,text:ja,onSelect:qr}=Ka;return{key:ya!=null?ya:Pn,onClick:()=>{qr==null||qr(ce)},label:ja}})};In=le.createElement("div",{className:`${rr}-selection-extra`},le.createElement(Rr.Z,{menu:oa,getPopupContainer:fr},le.createElement("span",null,le.createElement(au.Z,null))))}const ra=Mr.map((oa,Ka)=>{const Pn=Gr(oa,Ka),ya=vo.get(Pn)||{};return Object.assign({checked:Zr.has(Pn)},ya)}).filter(oa=>{let{disabled:Ka}=oa;return Ka}),Hn=!!ra.length&&ra.length===Mr.length,ba=Hn&&ra.every(oa=>{let{checked:Ka}=oa;return Ka}),ta=Hn&&ra.some(oa=>{let{checked:Ka}=oa;return Ka});tn=!Xa&&le.createElement("div",{className:`${rr}-selection`},le.createElement(Ja.default,{checked:Hn?ba:!!Mr.length&&pe,indeterminate:Hn?!ba&&ta:!pe&&Pe,onChange:Ot,disabled:Mr.length===0||Hn,"aria-label":In?"Custom selection":"Select all",skipGroup:!0}),In)}let wa;na==="radio"?wa=(In,ra,Hn)=>{const ba=Gr(ra,Hn),ta=Zr.has(ba);return{node:le.createElement(Ti.ZP,Object.assign({},vo.get(ba),{checked:ta,onClick:oa=>oa.stopPropagation(),onChange:oa=>{Zr.has(ba)||gi(ba,!0,[ba],oa.nativeEvent)}})),checked:ta}}:wa=(In,ra,Hn)=>{var ba;const ta=Gr(ra,Hn),oa=Zr.has(ta),Ka=Do.has(ta),Pn=vo.get(ta);let ya;return zr==="nest"?ya=Ka:ya=(ba=Pn==null?void 0:Pn.indeterminate)!==null&&ba!==void 0?ba:Ka,{node:le.createElement(Ja.default,Object.assign({},Pn,{indeterminate:ya,checked:oa,skipGroup:!0,onClick:ja=>ja.stopPropagation(),onChange:ja=>{let{nativeEvent:qr}=ja;const{shiftKey:cr}=qr;let li=-1,Za=-1;if(cr&&_a){const Co=new Set([Xr,ta]);ce.some((Cr,ao)=>{if(Co.has(Cr))if(li===-1)li=ao;else return Za=ao,!0;return!1})}if(Za!==-1&&li!==Za&&_a){const Co=ce.slice(li,Za+1),Cr=[];oa?Co.forEach(Eo=>{Zr.has(Eo)&&(Cr.push(Eo),Zr.delete(Eo))}):Co.forEach(Eo=>{Zr.has(Eo)||(Cr.push(Eo),Zr.add(Eo))});const ao=Array.from(Zr);pn==null||pn(!oa,ao.map(Eo=>Dr(Eo)),Cr.map(Eo=>Dr(Eo))),Qr(ao,"multiple")}else{const Co=Ra;if(_a){const Cr=oa?(0,Bi._5)(Co,ta):(0,Bi.L0)(Co,ta);gi(ta,!oa,Cr,qr)}else{const Cr=(0,Cu.S)([].concat((0,fa.Z)(Co),[ta]),!0,lo,Bo),{checkedKeys:ao,halfCheckedKeys:Eo}=Cr;let hi=ao;if(oa){const mi=new Set(ao);mi.delete(ta),hi=(0,Cu.S)(Array.from(mi),{checked:!1,halfCheckedKeys:Eo},lo,Bo).checkedKeys}gi(ta,!oa,hi,qr)}}bi(oa?null:ta)}})),checked:oa}};const ma=(In,ra,Hn)=>{const{node:ba,checked:ta}=wa(In,ra,Hn);return Kt?Kt(ta,ra,Hn,ba):ba};if(!Yr.includes(Il))if(Yr.findIndex(In=>{var ra;return((ra=In[va])===null||ra===void 0?void 0:ra.columnType)==="EXPAND_COLUMN"})===0){const[In,...ra]=Yr;Yr=[In,Il].concat((0,fa.Z)(ra))}else Yr=[Il].concat((0,fa.Z)(Yr));const zn=Yr.indexOf(Il);Yr=Yr.filter((In,ra)=>In!==Il||ra===zn);const Ht=Yr[zn-1],Yn=Yr[zn+1];let xn=Aa;xn===void 0&&((Yn==null?void 0:Yn.fixed)!==void 0?xn=Yn.fixed:(Ht==null?void 0:Ht.fixed)!==void 0&&(xn=Ht.fixed)),xn&&Ht&&((_r=Ht[va])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"&&Ht.fixed===void 0&&(Ht.fixed=xn);const Ct=Ke()(`${rr}-selection-col`,{[`${rr}-selection-col-with-dropdown`]:ca&&na==="checkbox"}),gn={fixed:xn,width:qn,className:`${rr}-selection-column`,title:Ce.columnTitle||tn,render:ma,onCell:Ce.onCell,[va]:{className:Ct}};return Yr.map(In=>In===Il?gn:In)},[Gr,Mr,Ce,Ra,yi,Do,qn,_o,zr,Xr,vo,pn,gi,Bo]),yi]},ju=ee(89489),Ar=ee(59477),Bu=ee(6848);const Yl="ascend",Hl="descend";function qa(Ee){return typeof Ee.sorter=="object"&&typeof Ee.sorter.multiple=="number"?Ee.sorter.multiple:!1}function du(Ee){return typeof Ee=="function"?Ee:Ee&&typeof Ee=="object"&&Ee.compare?Ee.compare:!1}function es(Ee,Ce){return Ce?Ee[Ee.indexOf(Ce)+1]:Ee[0]}function is(Ee,Ce,Qe){let rt=[];function Pt(Et,$t){rt.push({column:Et,key:so(Et,$t),multiplePriority:qa(Et),sortOrder:Et.sortOrder})}return(Ee||[]).forEach((Et,$t)=>{const Yt=we($t,Qe);Et.children?("sortOrder"in Et&&Pt(Et,Yt),rt=[].concat((0,fa.Z)(rt),(0,fa.Z)(is(Et.children,Ce,Yt)))):Et.sorter&&("sortOrder"in Et?Pt(Et,Yt):Ce&&Et.defaultSortOrder&&rt.push({column:Et,key:so(Et,Yt),multiplePriority:qa(Et),sortOrder:Et.defaultSortOrder}))}),rt}function wu(Ee,Ce,Qe,rt,Pt,Et,$t,Yt){return(Ce||[]).map((Ut,Cn)=>{const vn=we(Cn,Yt);let pn=Ut;if(pn.sorter){const qn=pn.sortDirections||Pt,na=pn.showSorterTooltip===void 0?$t:pn.showSorterTooltip,ca=so(pn,vn),Aa=Qe.find(zr=>{let{key:tr}=zr;return tr===ca}),Kt=Aa?Aa.sortOrder:null,Xa=es(qn,Kt);let _a;if(Ut.sortIcon)_a=Ut.sortIcon({sortOrder:Kt});else{const zr=qn.includes(Yl)&&le.createElement(Ar.Z,{className:Ke()(`${Ee}-column-sorter-up`,{active:Kt===Yl})}),tr=qn.includes(Hl)&&le.createElement(ju.Z,{className:Ke()(`${Ee}-column-sorter-down`,{active:Kt===Hl})});_a=le.createElement("span",{className:Ke()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!(zr&&tr)})},le.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},zr,tr))}const{cancelSort:rr,triggerAsc:Tr,triggerDesc:$r}=Et||{};let Dr=rr;Xa===Hl?Dr=$r:Xa===Yl&&(Dr=Tr);const Gr=typeof na=="object"?na:{title:Dr};pn=Object.assign(Object.assign({},pn),{className:Ke()(pn.className,{[`${Ee}-column-sort`]:Kt}),title:zr=>{const tr=le.createElement("div",{className:`${Ee}-column-sorters`},le.createElement("span",{className:`${Ee}-column-title`},fn(Ut.title,zr)),_a);return na?le.createElement(Bu.Z,Object.assign({},Gr),tr):tr},onHeaderCell:zr=>{const tr=Ut.onHeaderCell&&Ut.onHeaderCell(zr)||{},nr=tr.onClick,fr=tr.onKeyDown;tr.onClick=Kr=>{rt({column:Ut,key:ca,sortOrder:Xa,multiplePriority:qa(Ut)}),nr==null||nr(Kr)},tr.onKeyDown=Kr=>{Kr.keyCode===yl.Z.ENTER&&(rt({column:Ut,key:ca,sortOrder:Xa,multiplePriority:qa(Ut)}),fr==null||fr(Kr))};const Wa=Mn(Ut.title,{}),or=Wa==null?void 0:Wa.toString();return Kt?tr["aria-sort"]=Kt==="ascend"?"ascending":"descending":tr["aria-label"]=or||"",tr.className=Ke()(tr.className,`${Ee}-column-has-sorters`),tr.tabIndex=0,Ut.ellipsis&&(tr.title=(Wa!=null?Wa:"").toString()),tr}})}return"children"in pn&&(pn=Object.assign(Object.assign({},pn),{children:wu(Ee,pn.children,Qe,rt,Pt,Et,$t,vn)})),pn})}function ts(Ee){const{column:Ce,sortOrder:Qe}=Ee;return{column:Ce,order:Qe,field:Ce.dataIndex,columnKey:Ce.key}}function cu(Ee){const Ce=Ee.filter(Qe=>{let{sortOrder:rt}=Qe;return rt}).map(ts);return Ce.length===0&&Ee.length?Object.assign(Object.assign({},ts(Ee[Ee.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function Qi(Ee,Ce,Qe){const rt=Ce.slice().sort(($t,Yt)=>Yt.multiplePriority-$t.multiplePriority),Pt=Ee.slice(),Et=rt.filter($t=>{let{column:{sorter:Yt},sortOrder:Ut}=$t;return du(Yt)&&Ut});return Et.length?Pt.sort(($t,Yt)=>{for(let Ut=0;Ut{const Yt=$t[Qe];return Yt?Object.assign(Object.assign({},$t),{[Qe]:Qi(Yt,Ce,Qe)}):$t}):Pt}function ls(Ee){let{prefixCls:Ce,mergedColumns:Qe,onSorterChange:rt,sortDirections:Pt,tableLocale:Et,showSorterTooltip:$t}=Ee;const[Yt,Ut]=le.useState(is(Qe,!0)),Cn=le.useMemo(()=>{let ca=!0;const Aa=is(Qe,!1);if(!Aa.length)return Yt;const Kt=[];function Xa(rr){ca?Kt.push(rr):Kt.push(Object.assign(Object.assign({},rr),{sortOrder:null}))}let _a=null;return Aa.forEach(rr=>{_a===null?(Xa(rr),rr.sortOrder&&(rr.multiplePriority===!1?ca=!1:_a=!0)):(_a&&rr.multiplePriority!==!1||(ca=!1),Xa(rr))}),Kt},[Qe,Yt]),vn=le.useMemo(()=>{const ca=Cn.map(Aa=>{let{column:Kt,sortOrder:Xa}=Aa;return{column:Kt,order:Xa}});return{sortColumns:ca,sortColumn:ca[0]&&ca[0].column,sortOrder:ca[0]&&ca[0].order}},[Cn]);function pn(ca){let Aa;ca.multiplePriority===!1||!Cn.length||Cn[0].multiplePriority===!1?Aa=[ca]:Aa=[].concat((0,fa.Z)(Cn.filter(Kt=>{let{key:Xa}=Kt;return Xa!==ca.key})),[ca]),Ut(Aa),rt(cu(Aa),Aa)}return[ca=>wu(Ce,ca,Cn,pn,Pt,Et,$t),Cn,vn,()=>cu(Cn)]}function us(Ee,Ce){return Ee.map(Qe=>{const rt=Object.assign({},Qe);return rt.title=fn(Qe.title,Ce),"children"in rt&&(rt.children=us(rt.children,Ce)),rt})}function ss(Ee){return[le.useCallback(Qe=>us(Qe,Ee),[Ee])]}var Gu=Or((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:rt}=Ce;return Qe!==rt}),Jl=ri((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:rt}=Ce;return Qe!==rt}),Xl=ee(64993),ru=ee(17313),fu=ee(83116),Wu=ee(37613),Se=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=(Pt,Et,$t)=>({[`&${Ce}-${Pt}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${Et}px -${$t+Ee.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Qe,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Qe,borderTop:Qe,[` + `]:Object.assign({},se(De))}}};var ve=(0,et.Z)("Skeleton",De=>{const{componentCls:fe}=De,Xe=(0,Ve.TS)(De,{skeletonAvatarCls:`${fe}-avatar`,skeletonTitleCls:`${fe}-title`,skeletonParagraphCls:`${fe}-paragraph`,skeletonButtonCls:`${fe}-button`,skeletonInputCls:`${fe}-input`,skeletonImageCls:`${fe}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ie(Xe)]},De=>{const{colorFillContent:fe,colorFill:Xe}=De,Rt=fe,Oe=Xe;return{color:Rt,colorGradientEnd:Oe,gradientFromColor:Rt,gradientToColor:Oe,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),je=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,shape:Ie="circle",size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls","className"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-avatar`,shape:Ie,size:St},nn))))},He=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie=!1,size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-button`,size:St},nn))))};const he="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 Ke=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie}=De,{getPrefixCls:St}=Be.useContext(Ne.E_),nt=St("skeleton",fe),[Me,yt]=ve(nt),Bn=de()(nt,`${nt}-element`,{[`${nt}-active`]:Ie},Xe,Rt,yt);return Me(Be.createElement("div",{className:Bn},Be.createElement("div",{className:de()(`${nt}-image`,Xe),style:Oe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},Be.createElement("path",{d:he,className:`${nt}-image-path`})))))},Le=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,active:Oe,block:Ie,size:St="default"}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=(0,Ze.Z)(De,["prefixCls"]),dn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Oe,[`${Me}-block`]:Ie},Xe,Rt,Bn);return yt(Be.createElement("div",{className:dn},Be.createElement(le,Object.assign({prefixCls:`${Me}-input`,size:St},nn))))},ot=ee(92413),lt={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"},gt=lt,ft=ee(7657),ln=function(fe,Xe){return Be.createElement(ft.Z,(0,ot.Z)({},fe,{ref:Xe,icon:gt}))},xt=Be.forwardRef(ln),an=xt,$e=De=>{const{prefixCls:fe,className:Xe,rootClassName:Rt,style:Oe,active:Ie,children:St}=De,{getPrefixCls:nt}=Be.useContext(Ne.E_),Me=nt("skeleton",fe),[yt,Bn]=ve(Me),nn=de()(Me,`${Me}-element`,{[`${Me}-active`]:Ie},Bn,Xe,Rt),dn=St!=null?St:Be.createElement(an,null);return yt(Be.createElement("div",{className:nn},Be.createElement("div",{className:de()(`${Me}-image`,Xe),style:Oe},dn)))},dt=ee(26407),Vn=De=>{const fe=nt=>{const{width:Me,rows:yt=2}=De;if(Array.isArray(Me))return Me[nt];if(yt-1===nt)return Me},{prefixCls:Xe,className:Rt,style:Oe,rows:Ie}=De,St=(0,dt.Z)(Array(Ie)).map((nt,Me)=>Be.createElement("li",{key:Me,style:{width:fe(Me)}}));return Be.createElement("ul",{className:de()(Xe,Rt),style:Oe},St)},Fn=De=>{let{prefixCls:fe,className:Xe,width:Rt,style:Oe}=De;return Be.createElement("h3",{className:de()(fe,Xe),style:Object.assign({width:Rt},Oe)})};function ze(De){return De&&typeof De=="object"?De:{}}function ct(De,fe){return De&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Lt(De,fe){return!De&&fe?{width:"38%"}:De&&fe?{width:"50%"}:{}}function mt(De,fe){const Xe={};return(!De||!fe)&&(Xe.width="61%"),!De&&fe?Xe.rows=3:Xe.rows=2,Xe}const Nt=De=>{const{prefixCls:fe,loading:Xe,className:Rt,rootClassName:Oe,style:Ie,children:St,avatar:nt=!1,title:Me=!0,paragraph:yt=!0,active:Bn,round:nn}=De,{getPrefixCls:dn,direction:un,skeleton:yn}=Be.useContext(Ne.E_),Te=dn("skeleton",fe),[Ft,zt]=ve(Te);if(Xe||!("loading"in De)){const wt=!!nt,kt=!!Me,sn=!!yt;let cn;if(wt){const va=Object.assign(Object.assign({prefixCls:`${Te}-avatar`},ct(kt,sn)),ze(nt));cn=Be.createElement("div",{className:`${Te}-header`},Be.createElement(le,Object.assign({},va)))}let Ln;if(kt||sn){let va;if(kt){const Na=Object.assign(Object.assign({prefixCls:`${Te}-title`},Lt(wt,sn)),ze(Me));va=Be.createElement(Fn,Object.assign({},Na))}let Da;if(sn){const Na=Object.assign(Object.assign({prefixCls:`${Te}-paragraph`},mt(wt,kt)),ze(yt));Da=Be.createElement(Vn,Object.assign({},Na))}Ln=Be.createElement("div",{className:`${Te}-content`},va,Da)}const Jn=de()(Te,{[`${Te}-with-avatar`]:wt,[`${Te}-active`]:Bn,[`${Te}-rtl`]:un==="rtl",[`${Te}-round`]:nn},yn==null?void 0:yn.className,Rt,Oe,zt);return Ft(Be.createElement("div",{className:Jn,style:Object.assign(Object.assign({},yn==null?void 0:yn.style),Ie)},cn,Ln))}return typeof St!="undefined"?St:null};Nt.Button=He,Nt.Avatar=je,Nt.Input=Le,Nt.Image=Ke,Nt.Node=$e;var ut=Nt,at=ut},31797:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ve}});var b=ee(59301),de=ee(56762),Be=ee(92343),Ne=ee(92310),Ze=ee.n(Ne),ke=ee(36355),le=ee(61621),et=be=>{const{value:je,formatter:Ae,precision:He,decimalSeparator:he,groupSeparator:qe="",prefixCls:Ke}=be;let ht;if(typeof Ae=="function")ht=Ae(je);else{const Le=String(je),ot=Le.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ot||Le==="-")ht=Le;else{const lt=ot[1];let gt=ot[2]||"0",ft=ot[4]||"";gt=gt.replace(/\B(?=(\d{3})+(?!\d))/g,qe),typeof He=="number"&&(ft=ft.padEnd(He,"0").slice(0,He>0?He:0)),ft&&(ft=`${he}${ft}`),ht=[b.createElement("span",{key:"int",className:`${Ke}-content-value-int`},lt,gt),ft&&b.createElement("span",{key:"decimal",className:`${Ke}-content-value-decimal`},ft)]}}return b.createElement("span",{className:`${Ke}-content-value`},ht)},Ve=ee(17313),Ge=ee(83116),Je=ee(37613);const Ye=be=>{const{componentCls:je,marginXXS:Ae,padding:He,colorTextDescription:he,titleFontSize:qe,colorTextHeading:Ke,contentFontSize:ht,fontFamily:Le}=be;return{[`${je}`]:Object.assign(Object.assign({},(0,Ve.Wf)(be)),{[`${je}-title`]:{marginBottom:Ae,color:he,fontSize:qe},[`${je}-skeleton`]:{paddingTop:He},[`${je}-content`]:{color:Ke,fontSize:ht,fontFamily:Le,[`${je}-content-value`]:{display:"inline-block",direction:"ltr"},[`${je}-content-prefix, ${je}-content-suffix`]:{display:"inline-block"},[`${je}-content-prefix`]:{marginInlineEnd:Ae},[`${je}-content-suffix`]:{marginInlineStart:Ae}}})}};var se=(0,Ge.Z)("Statistic",be=>{const je=(0,Je.TS)(be,{});return[Ye(je)]},be=>{const{fontSizeHeading3:je,fontSize:Ae}=be;return{titleFontSize:Ae,contentFontSize:je}}),a=be=>{const{prefixCls:je,className:Ae,rootClassName:He,style:he,valueStyle:qe,value:Ke=0,title:ht,valueRender:Le,prefix:ot,suffix:lt,loading:gt=!1,onMouseEnter:ft,onMouseLeave:ln,decimalSeparator:xt=".",groupSeparator:an=","}=be,{getPrefixCls:hn,direction:$e,statistic:dt}=b.useContext(ke.E_),rn=hn("statistic",je),[Vn,Zt]=se(rn),Fn=b.createElement(et,Object.assign({decimalSeparator:xt,groupSeparator:an,prefixCls:rn},be,{value:Ke})),ze=Ze()(rn,{[`${rn}-rtl`]:$e==="rtl"},dt==null?void 0:dt.className,Ae,He,Zt);return Vn(b.createElement("div",{className:ze,style:Object.assign(Object.assign({},dt==null?void 0:dt.style),he),onMouseEnter:ft,onMouseLeave:ln},ht&&b.createElement("div",{className:`${rn}-title`},ht),b.createElement(le.Z,{paragraph:!1,loading:gt,className:`${rn}-skeleton`},b.createElement("div",{style:qe,className:`${rn}-content`},ot&&b.createElement("span",{className:`${rn}-content-prefix`},ot),Le?Le(Fn):Fn,lt&&b.createElement("span",{className:`${rn}-content-suffix`},lt)))))};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 y(be,je){let Ae=be;const He=/\[[^\]]*]/g,he=(je.match(He)||[]).map(Le=>Le.slice(1,-1)),qe=je.replace(He,"[]"),Ke=x.reduce((Le,ot)=>{let[lt,gt]=ot;if(Le.includes(lt)){const ft=Math.floor(Ae/gt);return Ae-=ft*gt,Le.replace(new RegExp(`${lt}+`,"g"),ln=>{const xt=ln.length;return ft.toString().padStart(xt,"0")})}return Le},qe);let ht=0;return Ke.replace(He,()=>{const Le=he[ht];return ht+=1,Le})}function z(be,je){const{format:Ae=""}=je,He=new Date(be).getTime(),he=Date.now(),qe=Math.max(He-he,0);return y(qe,Ae)}const ne=1e3/30;function re(be){return new Date(be).getTime()}const ue=be=>{const{value:je,format:Ae="HH:mm:ss",onChange:He,onFinish:he}=be,qe=(0,de.Z)(),Ke=b.useRef(null),ht=()=>{he==null||he(),Ke.current&&(clearInterval(Ke.current),Ke.current=null)},Le=()=>{const gt=re(je);gt>=Date.now()&&(Ke.current=setInterval(()=>{qe(),He==null||He(gt-Date.now()),gt(Le(),()=>{Ke.current&&(clearInterval(Ke.current),Ke.current=null)}),[je]);const ot=(gt,ft)=>z(gt,Object.assign(Object.assign({},ft),{format:Ae})),lt=gt=>(0,Be.Tm)(gt,{title:void 0});return b.createElement(a,Object.assign({},be,{valueRender:lt,formatter:ot}))};var ie=b.memo(ue);a.Countdown=ie;var ve=a},15969:function(Qt,Gt,ee){"use strict";ee.d(Gt,{N:function(){return b}});const b=de=>({color:de.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${de.motionDurationSlow}`,"&:focus, &:hover":{color:de.colorLinkHover},"&:active":{color:de.colorLinkActive}})},1710:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Xi}});var b={},de="rc-table-internal-hook",Be=ee(33606),Ne=ee(6089),Ze=ee(34280),ke=ee(13697),le=ee(59301),st=ee(4676);function et(Ee){var Ce=le.createContext(void 0),Qe=function(Pt){var Et=Pt.value,$t=Pt.children,Yt=le.useRef(Et);Yt.current=Et;var Ut=le.useState(function(){return{getValue:function(){return Yt.current},listeners:new Set}}),Cn=(0,Be.Z)(Ut,1),vn=Cn[0];return(0,Ze.Z)(function(){(0,st.unstable_batchedUpdates)(function(){vn.listeners.forEach(function(pn){pn(Et)})})},[Et]),le.createElement(Ce.Provider,{value:vn},$t)};return{Context:Ce,Provider:Qe,defaultValue:Ee}}function Ve(Ee,Ce){var Qe=(0,Ne.Z)(typeof Ce=="function"?Ce:function(pn){if(Ce===void 0)return pn;if(!Array.isArray(Ce))return pn[Ce];var qn={};return Ce.forEach(function(na){qn[na]=pn[na]}),qn}),rt=le.useContext(Ee==null?void 0:Ee.Context),Pt=rt||{},Et=Pt.listeners,$t=Pt.getValue,Yt=le.useRef();Yt.current=Qe(rt?$t():Ee==null?void 0:Ee.defaultValue);var Ut=le.useState({}),Cn=(0,Be.Z)(Ut,2),vn=Cn[1];return(0,Ze.Z)(function(){if(!rt)return;function pn(qn){var na=Qe(qn);(0,ke.Z)(Yt.current,na,!0)||vn({})}return Et.add(pn),function(){Et.delete(pn)}},[rt]),Yt.current}var Ge=ee(92413),Je=ee(8654);function Ye(){var Ee=le.createContext(null);function Ce(){return le.useContext(Ee)}function Qe(Pt,Et){var $t=(0,Je.Yr)(Pt),Yt=function(Cn,vn){var pn=$t?{ref:vn}:{},qn=le.useRef(0),na=le.useRef(Cn),ca=Ce();return ca!==null?le.createElement(Pt,(0,Ge.Z)({},Cn,pn)):((!Et||Et(na.current,Cn))&&(qn.current+=1),na.current=Cn,le.createElement(Ee.Provider,{value:qn.current},le.createElement(Pt,(0,Ge.Z)({},Cn,pn))))};return $t?le.forwardRef(Yt):Yt}function rt(Pt,Et){var $t=(0,Je.Yr)(Pt),Yt=function(Cn,vn){var pn=$t?{ref:vn}:{};return Ce(),le.createElement(Pt,(0,Ge.Z)({},Cn,pn))};return $t?le.memo(le.forwardRef(Yt),Et):le.memo(Yt,Et)}return{makeImmutable:Qe,responseImmutable:rt,useImmutableMark:Ce}}var se=Ye(),E=se.makeImmutable,a=se.responseImmutable,x=se.useImmutableMark,y=Ye(),z=y.makeImmutable,ne=y.responseImmutable,re=y.useImmutableMark,ue=et(),ie=ue;function ve(Ee,Ce){var Qe=le.useRef(0);Qe.current+=1;var rt=le.useRef(Ee),Pt=[];Object.keys(Ee||{}).map(function($t){var Yt;(Ee==null?void 0:Ee[$t])!==((Yt=rt.current)===null||Yt===void 0?void 0:Yt[$t])&&Pt.push($t)}),rt.current=Ee;var Et=le.useRef([]);return Pt.length&&(Et.current=Pt),le.useDebugValue(Qe.current),le.useDebugValue(Et.current.join(", ")),Ce&&console.log("".concat(Ce,":"),Qe.current,Et.current),Qe.current}var be=null,je=le.memo(function(){var Ee=ve();return le.createElement("h1",null,"Render Times: ",Ee)});je.displayName="RenderBlock";var Ae=ee(39559),He=ee(33708),he=ee(400),qe=ee(92310),Ke=ee.n(qe),ht=ee(80547),Le=ee(97938),ot=ee(48736),lt=le.createContext({renderWithProps:!1}),gt=lt,ft="RC_TABLE_KEY";function ln(Ee){return Ee==null?[]:Array.isArray(Ee)?Ee:[Ee]}function xt(Ee){var Ce=[],Qe={};return Ee.forEach(function(rt){for(var Pt=rt||{},Et=Pt.key,$t=Pt.dataIndex,Yt=Et||ln($t).join("-")||ft;Qe[Yt];)Yt="".concat(Yt,"_next");Qe[Yt]=!0,Ce.push(Yt)}),Ce}function an(Ee){return Ee!=null}function hn(Ee){return Ee&&(0,Ae.Z)(Ee)==="object"&&!Array.isArray(Ee)&&!le.isValidElement(Ee)}function $e(Ee,Ce,Qe,rt,Pt,Et){var $t=le.useContext(gt),Yt=re(),Ut=(0,ht.Z)(function(){if(an(rt))return[rt];var Cn=Ce==null||Ce===""?[]:Array.isArray(Ce)?Ce:[Ce],vn=(0,Le.Z)(Ee,Cn),pn=vn,qn=void 0;if(Pt){var na=Pt(vn,Ee,Qe);hn(na)?(pn=na.children,qn=na.props,$t.renderWithProps=!0):pn=na}return[pn,qn]},[Yt,Ee,rt,Ce,Pt,Qe],function(Cn,vn){if(Et){var pn=(0,Be.Z)(Cn,2),qn=pn[1],na=(0,Be.Z)(vn,2),ca=na[1];return Et(ca,qn)}return $t.renderWithProps?!0:!(0,ke.Z)(Cn,vn,!0)});return Ut}function dt(Ee,Ce,Qe,rt){var Pt=Ee+Ce-1;return Ee<=rt&&Pt>=Qe}function rn(Ee,Ce){return Ve(ie,function(Qe){var rt=dt(Ee,Ce||1,Qe.hoverStartRow,Qe.hoverEndRow);return[rt,Qe.onHover]})}var Vn=function(Ce){var Qe=Ce.ellipsis,rt=Ce.rowType,Pt=Ce.children,Et,$t=Qe===!0?{showTitle:!0}:Qe;return $t&&($t.showTitle||rt==="header")&&(typeof Pt=="string"||typeof Pt=="number"?Et=Pt.toString():le.isValidElement(Pt)&&typeof Pt.props.children=="string"&&(Et=Pt.props.children)),Et};function Zt(Ee){var Ce,Qe,rt,Pt,Et,$t,Yt,Ut,Cn=Ee.component,vn=Ee.children,pn=Ee.ellipsis,qn=Ee.scope,na=Ee.prefixCls,ca=Ee.className,Aa=Ee.align,Ht=Ee.record,Xa=Ee.render,_a=Ee.dataIndex,rr=Ee.renderIndex,Tr=Ee.shouldCellUpdate,$r=Ee.index,Dr=Ee.rowType,Gr=Ee.colSpan,zr=Ee.rowSpan,tr=Ee.fixLeft,nr=Ee.fixRight,fr=Ee.firstFixLeft,Wa=Ee.lastFixLeft,or=Ee.firstFixRight,Kr=Ee.lastFixRight,Po=Ee.appendNode,lo=Ee.additionalProps,Mr=lo===void 0?{}:lo,vo=Ee.isSticky,Bo="".concat(na,"-cell"),Ra=Ve(ie,["supportSticky","allColumnsFixedLeft"]),wo=Ra.supportSticky,yi=Ra.allColumnsFixedLeft,Do=$e(Ht,_a,rr,vn,Xa,Tr),Xr=(0,Be.Z)(Do,2),bi=Xr[0],Qr=Xr[1],gi={},_o=typeof tr=="number"&&wo,_i=typeof nr=="number"&&wo;_o&&(gi.position="sticky",gi.left=tr),_i&&(gi.position="sticky",gi.right=nr);var to=(Ce=(Qe=(rt=Qr==null?void 0:Qr.colSpan)!==null&&rt!==void 0?rt:Mr.colSpan)!==null&&Qe!==void 0?Qe:Gr)!==null&&Ce!==void 0?Ce:1,_r=(Pt=(Et=($t=Qr==null?void 0:Qr.rowSpan)!==null&&$t!==void 0?$t:Mr.rowSpan)!==null&&Et!==void 0?Et:zr)!==null&&Pt!==void 0?Pt:1,Yr=rn($r,_r),Zr=(0,Be.Z)(Yr,2),ce=Zr[0],pe=Zr[1],Pe=function(xn){var Ct;Ht&&pe($r,$r+_r-1),Mr==null||(Ct=Mr.onMouseEnter)===null||Ct===void 0||Ct.call(Mr,xn)},Ot=function(xn){var Ct;Ht&&pe(-1,-1),Mr==null||(Ct=Mr.onMouseLeave)===null||Ct===void 0||Ct.call(Mr,xn)};if(to===0||_r===0)return null;var tn=(Yt=Mr.title)!==null&&Yt!==void 0?Yt:Vn({rowType:Dr,ellipsis:pn,children:bi}),wa=Ke()(Bo,ca,(Ut={},(0,he.Z)(Ut,"".concat(Bo,"-fix-left"),_o&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-first"),fr&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-last"),Wa&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-left-all"),Wa&&yi&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right"),_i&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right-first"),or&&wo),(0,he.Z)(Ut,"".concat(Bo,"-fix-right-last"),Kr&&wo),(0,he.Z)(Ut,"".concat(Bo,"-ellipsis"),pn),(0,he.Z)(Ut,"".concat(Bo,"-with-append"),Po),(0,he.Z)(Ut,"".concat(Bo,"-fix-sticky"),(_o||_i)&&vo&&wo),(0,he.Z)(Ut,"".concat(Bo,"-row-hover"),!Qr&&ce),Ut),Mr.className,Qr==null?void 0:Qr.className),ma={};Aa&&(ma.textAlign=Aa);var zn=(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({},gi),Mr.style),ma),Qr==null?void 0:Qr.style),jt=bi;return(0,Ae.Z)(jt)==="object"&&!Array.isArray(jt)&&!le.isValidElement(jt)&&(jt=null),pn&&(Wa||or)&&(jt=le.createElement("span",{className:"".concat(Bo,"-content")},jt)),le.createElement(Cn,(0,Ge.Z)({},Qr,Mr,{className:wa,style:zn,title:tn,scope:qn,onMouseEnter:Pe,onMouseLeave:Ot,colSpan:to!==1?to:null,rowSpan:_r!==1?_r:null}),Po,jt)}var Fn=le.memo(Zt);function ze(Ee,Ce,Qe,rt,Pt,Et){var $t=Qe[Ee]||{},Yt=Qe[Ce]||{},Ut,Cn;$t.fixed==="left"?Ut=rt.left[Pt==="rtl"?Ce:Ee]:Yt.fixed==="right"&&(Cn=rt.right[Pt==="rtl"?Ee:Ce]);var vn=!1,pn=!1,qn=!1,na=!1,ca=Qe[Ce+1],Aa=Qe[Ee-1],Ht=!(Et!=null&&Et.children);if(Pt==="rtl"){if(Ut!==void 0){var Xa=Aa&&Aa.fixed==="left";na=!Xa&&Ht}else if(Cn!==void 0){var _a=ca&&ca.fixed==="right";qn=!_a&&Ht}}else if(Ut!==void 0){var rr=ca&&ca.fixed==="left";vn=!rr&&Ht}else if(Cn!==void 0){var Tr=Aa&&Aa.fixed==="right";pn=!Tr&&Ht}return{fixLeft:Ut,fixRight:Cn,lastFixLeft:vn,firstFixRight:pn,lastFixRight:qn,firstFixLeft:na,isSticky:rt.isSticky}}var ct=le.createContext({}),Lt=ct;function mt(Ee){var Ce=Ee.className,Qe=Ee.index,rt=Ee.children,Pt=Ee.colSpan,Et=Pt===void 0?1:Pt,$t=Ee.rowSpan,Yt=Ee.align,Ut=Ve(ie,["prefixCls","direction"]),Cn=Ut.prefixCls,vn=Ut.direction,pn=le.useContext(Lt),qn=pn.scrollColumnIndex,na=pn.stickyOffsets,ca=pn.flattenColumns,Aa=pn.columns,Ht=Qe+Et-1,Xa=Ht+1===qn?Et+1:Et,_a=ze(Qe,Qe+Xa-1,ca,na,vn,Aa==null?void 0:Aa[Qe]);return le.createElement(Fn,(0,Ge.Z)({className:Ce,index:Qe,component:"td",prefixCls:Cn,record:null,dataIndex:null,align:Yt,colSpan:Xa,rowSpan:$t,render:function(){return rt}},_a))}var Nt=ee(37061),ut=["children"];function at(Ee){var Ce=Ee.children,Qe=(0,Nt.Z)(Ee,ut);return le.createElement("tr",Qe,Ce)}function De(Ee){var Ce=Ee.children;return Ce}De.Row=at,De.Cell=mt;var fe=De;function Xe(Ee){var Ce=Ee.children,Qe=Ee.stickyOffsets,rt=Ee.flattenColumns,Pt=Ee.columns,Et=Ve(ie,"prefixCls"),$t=rt.length-1,Yt=rt[$t],Ut=le.useMemo(function(){return{stickyOffsets:Qe,flattenColumns:rt,scrollColumnIndex:Yt!=null&&Yt.scrollbar?$t:null,columns:Pt}},[Yt,rt,$t,Qe,Pt]);return le.createElement(Lt.Provider,{value:Ut},le.createElement("tfoot",{className:"".concat(Et,"-summary")},Ce))}var Rt=ne(Xe),Oe=fe,Ie=ee(70425),St=ee(29301),nt=ee(29194),Me=ee(24514),yt=ee(75152),Bn=ee(26112);function nn(Ee,Ce,Qe,rt,Pt,Et,$t){Ee.push({record:Ce,indent:Qe,index:$t});var Yt=Et(Ce),Ut=Pt==null?void 0:Pt.has(Yt);if(Ce&&Array.isArray(Ce[rt])&&Ut)for(var Cn=0;Cn1?fr-1:0),or=1;or=0;Yt-=1){var Ut=Ce[Yt],Cn=Qe&&Qe[Yt],vn=Cn&&Cn[va];if(Ut||vn||$t){var pn=vn||{},qn=pn.columnType,na=(0,Nt.Z)(pn,Na);Pt.unshift(le.createElement("col",(0,Ge.Z)({key:Yt,style:{width:Ut}},na))),$t=!0}}return le.createElement("colgroup",null,Pt)}var $a=ar,fa=ee(26407),yr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(Ee,Ce){return(0,le.useMemo)(function(){for(var Qe=[],rt=0;rt1?"colgroup":"col":null,ellipsis:Ht.ellipsis,align:Ht.align,component:Ht.title?Et:$t,prefixCls:vn,key:na[Aa]},Xa,{additionalProps:_a,rowType:"header"}))}))}xa.displayName="HeaderRow";var We=xa;function It(Ee){var Ce=[];function Qe($t,Yt){var Ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Ce[Ut]=Ce[Ut]||[];var Cn=Yt,vn=$t.filter(Boolean).map(function(pn){var qn={key:pn.key,className:pn.className||"",children:pn.title,column:pn,colStart:Cn},na=1,ca=pn.children;return ca&&ca.length>0&&(na=Qe(ca,Cn,Ut+1).reduce(function(Aa,Ht){return Aa+Ht},0),qn.hasSubColumns=!0),"colSpan"in pn&&(na=pn.colSpan),"rowSpan"in pn&&(qn.rowSpan=pn.rowSpan),qn.colSpan=na,qn.colEnd=qn.colStart+na-1,Ce[Ut].push(qn),Cn+=na,na});return vn}Qe(Ee,0);for(var rt=Ce.length,Pt=function(Yt){Ce[Yt].forEach(function(Ut){!("rowSpan"in Ut)&&!Ut.hasSubColumns&&(Ut.rowSpan=rt-Yt)})},Et=0;Et1&&arguments[1]!==void 0?arguments[1]:"";return typeof Ce=="number"?Ce:Ce.endsWith("%")?Ee*parseFloat(Ce)/100:null}function wn(Ee,Ce){return le.useMemo(function(){if(Ce&&Ce>0){var Qe=0,rt=0;Ee.forEach(function(Cn){var vn=Rn(Ce,Cn.width);vn?Qe+=vn:rt+=1});var Pt=Ce-Qe,Et=rt,$t=Pt/rt,Yt=0,Ut=Ee.map(function(Cn){var vn=(0,He.Z)({},Cn),pn=Rn(Ce,vn.width);if(pn)vn.width=pn;else{var qn=Math.floor($t);vn.width=Et===1?Pt:qn,Pt-=qn,Et-=1}return Yt+=vn.width,vn});return[Ut,Yt]}return[Ee,Ce]},[Ee,Ce])}var vt=["children"],Bt=["fixed"];function pt(Ee){return(0,Wt.Z)(Ee).filter(function(Ce){return le.isValidElement(Ce)}).map(function(Ce){var Qe=Ce.key,rt=Ce.props,Pt=rt.children,Et=(0,Nt.Z)(rt,vt),$t=(0,He.Z)({key:Qe},Et);return Pt&&($t.children=pt(Pt)),$t})}function Sn(Ee){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return Ee.filter(function(Qe){return Qe&&(0,Ae.Z)(Qe)==="object"}).reduce(function(Qe,rt,Pt){var Et=rt.fixed,$t=Et===!0?"left":Et,Yt="".concat(Ce,"-").concat(Pt),Ut=rt.children;return Ut&&Ut.length>0?[].concat((0,fa.Z)(Qe),(0,fa.Z)(Sn(Ut,Yt).map(function(Cn){return(0,He.Z)({fixed:$t},Cn)}))):[].concat((0,fa.Z)(Qe),[(0,He.Z)((0,He.Z)({key:Yt},rt),{},{fixed:$t})])},[])}function Wn(Ee){for(var Ce=!0,Qe=0;Qe=0;Et-=1){var $t=Ee[Et];if(Pt&&$t.fixed!=="right")Pt=!1;else if(!Pt&&$t.fixed==="right"){warning(!1,"Index ".concat(Et+1," of `columns` missing `fixed='right'` prop."));break}}}function An(Ee){return Ee.map(function(Ce){var Qe=Ce.fixed,rt=(0,Nt.Z)(Ce,Bt),Pt=Qe;return Qe==="left"?Pt="right":Qe==="right"&&(Pt="left"),(0,He.Z)({fixed:Pt},rt)})}function ka(Ee,Ce){var Qe=Ee.prefixCls,rt=Ee.columns,Pt=Ee.children,Et=Ee.expandable,$t=Ee.expandedKeys,Yt=Ee.columnTitle,Ut=Ee.getRowKey,Cn=Ee.onTriggerExpand,vn=Ee.expandIcon,pn=Ee.rowExpandable,qn=Ee.expandIconColumnIndex,na=Ee.direction,ca=Ee.expandRowByClick,Aa=Ee.columnWidth,Ht=Ee.fixed,Xa=Ee.scrollWidth,_a=le.useMemo(function(){return rt||pt(Pt)},[rt,Pt]),rr=le.useMemo(function(){if(Et){var nr,fr=_a.slice();if(!fr.includes(b)){var Wa=qn||0;Wa>=0&&fr.splice(Wa,0,b)}var or=fr.indexOf(b);fr=fr.filter(function(Mr,vo){return Mr!==b||vo===or});var Kr=_a[or],Po;(Ht==="left"||Ht)&&!qn?Po="left":(Ht==="right"||Ht)&&qn===_a.length?Po="right":Po=Kr?Kr.fixed:null;var lo=(nr={},(0,he.Z)(nr,va,{className:"".concat(Qe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(nr,"title",Yt),(0,he.Z)(nr,"fixed",Po),(0,he.Z)(nr,"className","".concat(Qe,"-row-expand-icon-cell")),(0,he.Z)(nr,"width",Aa),(0,he.Z)(nr,"render",function(vo,Bo,Ra){var wo=Ut(Bo,Ra),yi=$t.has(wo),Do=pn?pn(Bo):!0,Xr=vn({prefixCls:Qe,expanded:yi,expandable:Do,record:Bo,onExpand:Cn});return ca?le.createElement("span",{onClick:function(Qr){return Qr.stopPropagation()}},Xr):Xr}),nr);return fr.map(function(Mr){return Mr===b?lo:Mr})}return _a.filter(function(Mr){return Mr!==b})},[Et,_a,Ut,$t,vn,na]),Tr=le.useMemo(function(){var nr=rr;return Ce&&(nr=Ce(nr)),nr.length||(nr=[{render:function(){return null}}]),nr},[Ce,rr,na]),$r=le.useMemo(function(){return na==="rtl"?An(Sn(Tr)):Sn(Tr)},[Tr,na,Xa]),Dr=wn($r,Xa),Gr=(0,Be.Z)(Dr,2),zr=Gr[0],tr=Gr[1];return[Tr,zr,tr]}var pa=ka;function _n(Ee){var Ce,Qe=Ee.prefixCls,rt=Ee.record,Pt=Ee.onExpand,Et=Ee.expanded,$t=Ee.expandable,Yt="".concat(Qe,"-row-expand-icon");if(!$t)return le.createElement("span",{className:Ke()(Yt,"".concat(Qe,"-row-spaced"))});var Ut=function(vn){Pt(rt,vn),vn.stopPropagation()};return le.createElement("span",{className:Ke()(Yt,(Ce={},(0,he.Z)(Ce,"".concat(Qe,"-row-expanded"),Et),(0,he.Z)(Ce,"".concat(Qe,"-row-collapsed"),!Et),Ce)),onClick:Ut})}function Ea(Ee,Ce,Qe){var rt=[];function Pt(Et){(Et||[]).forEach(function($t,Yt){rt.push(Ce($t,Yt)),Pt($t[Qe])})}return Pt(Ee),rt}function Pa(Ee,Ce,Qe){var rt=Da(Ee),Pt=rt.expandIcon,Et=rt.expandedRowKeys,$t=rt.defaultExpandedRowKeys,Yt=rt.defaultExpandAllRows,Ut=rt.expandedRowRender,Cn=rt.onExpand,vn=rt.onExpandedRowsChange,pn=rt.childrenColumnName,qn=Pt||_n,na=pn||"children",ca=le.useMemo(function(){return Ut?"row":Ee.expandable&&Ee.internalHooks===de&&Ee.expandable.__PARENT_RENDER_ICON__||Ce.some(function($r){return $r&&(0,Ae.Z)($r)==="object"&&$r[na]})?"nest":!1},[!!Ut,Ce]),Aa=le.useState(function(){return $t||(Yt?Ea(Ce,Qe,na):[])}),Ht=(0,Be.Z)(Aa,2),Xa=Ht[0],_a=Ht[1],rr=le.useMemo(function(){return new Set(Et||Xa||[])},[Et,Xa]),Tr=le.useCallback(function($r){var Dr=Qe($r,Ce.indexOf($r)),Gr,zr=rr.has(Dr);zr?(rr.delete(Dr),Gr=(0,fa.Z)(rr)):Gr=[].concat((0,fa.Z)(rr),[Dr]),_a(Gr),Cn&&Cn(!zr,$r),vn&&vn(Gr)},[Qe,rr,Ce,Cn,vn]);return[rt,ca,rr,qn,na,Tr]}function Dn(Ee,Ce,Qe,rt){var Pt=Ee.map(function(Et,$t){return ze($t,$t,Ee,Ce,Qe,rt==null?void 0:rt[$t])});return(0,ht.Z)(function(){return Pt},[Pt],function(Et,$t){return!(0,ke.Z)(Et,$t)})}function lr(Ee){var Ce=(0,le.useRef)(Ee),Qe=(0,le.useState)({}),rt=(0,Be.Z)(Qe,2),Pt=rt[1],Et=(0,le.useRef)(null),$t=(0,le.useRef)([]);function Yt(Ut){$t.current.push(Ut);var Cn=Promise.resolve();Et.current=Cn,Cn.then(function(){if(Et.current===Cn){var vn=$t.current,pn=Ce.current;$t.current=[],vn.forEach(function(qn){Ce.current=qn(Ce.current)}),Et.current=null,pn!==Ce.current&&Pt({})}})}return(0,le.useEffect)(function(){return function(){Et.current=null}},[]),[Ce.current,Yt]}function Nr(Ee){var Ce=(0,le.useRef)(Ee||null),Qe=(0,le.useRef)();function rt(){window.clearTimeout(Qe.current)}function Pt($t){Ce.current=$t,rt(),Qe.current=window.setTimeout(function(){Ce.current=null,Qe.current=void 0},100)}function Et(){return Ce.current}return(0,le.useEffect)(function(){return rt},[]),[Pt,Et]}function Ur(){var Ee=le.useState(-1),Ce=(0,Be.Z)(Ee,2),Qe=Ce[0],rt=Ce[1],Pt=le.useState(-1),Et=(0,Be.Z)(Pt,2),$t=Et[0],Yt=Et[1],Ut=le.useCallback(function(Cn,vn){rt(Cn),Yt(vn)},[]);return[Qe,$t,Ut]}var Sr=ee(47273),Ue=(0,Sr.Z)()?window:null;function bn(Ee,Ce){var Qe=(0,Ae.Z)(Ee)==="object"?Ee:{},rt=Qe.offsetHeader,Pt=rt===void 0?0:rt,Et=Qe.offsetSummary,$t=Et===void 0?0:Et,Yt=Qe.offsetScroll,Ut=Yt===void 0?0:Yt,Cn=Qe.getContainer,vn=Cn===void 0?function(){return Ue}:Cn,pn=vn()||Ue;return le.useMemo(function(){var qn=!!Ee;return{isSticky:qn,stickyClassName:qn?"".concat(Ce,"-sticky-holder"):"",offsetHeader:Pt,offsetSummary:$t,offsetScroll:Ut,container:pn}},[Ut,Pt,$t,Ce,pn])}function Xt(Ee,Ce,Qe){var rt=(0,le.useMemo)(function(){for(var Pt=[],Et=[],$t=0,Yt=0,Ut=0;Ut=pn&&(Mr=pn-qn),$t({scrollLeft:Mr/pn*(vn+2)}),_a.current.x=or.pageX},nr=function(){if(Et.current){var or=(0,Un.os)(Et.current).top,Kr=or+Et.current.offsetHeight,Po=Ut===window?document.documentElement.scrollTop+window.innerHeight:(0,Un.os)(Ut).top+Ut.clientHeight;Kr-(0,yt.Z)()<=Po||or>=Po-Yt?Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!0})}):Xa(function(lo){return(0,He.Z)((0,He.Z)({},lo),{},{isHiddenScrollBar:!1})})}},fr=function(or){Xa(function(Kr){return(0,He.Z)((0,He.Z)({},Kr),{},{scrollLeft:or/vn*pn||0})})};return le.useImperativeHandle(Qe,function(){return{setScrollLeft:fr}}),le.useEffect(function(){var Wa=(0,Qn.Z)(document.body,"mouseup",Gr,!1),or=(0,Qn.Z)(document.body,"mousemove",tr,!1);return nr(),function(){Wa.remove(),or.remove()}},[qn,$r]),le.useEffect(function(){var Wa=(0,Qn.Z)(Ut,"scroll",nr,!1),or=(0,Qn.Z)(window,"resize",nr,!1);return function(){Wa.remove(),or.remove()}},[Ut]),le.useEffect(function(){Ht.isHiddenScrollBar||Xa(function(Wa){var or=Et.current;return or?(0,He.Z)((0,He.Z)({},Wa),{},{scrollLeft:or.scrollLeft/or.scrollWidth*or.clientWidth}):Wa})},[Ht.isHiddenScrollBar]),vn<=pn||!qn||Ht.isHiddenScrollBar?null:le.createElement("div",{style:{height:(0,yt.Z)(),width:pn,bottom:Yt},className:"".concat(Cn,"-sticky-scroll")},le.createElement("div",{onMouseDown:zr,ref:na,className:Ke()("".concat(Cn,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(Cn,"-sticky-scroll-bar-active"),$r)),style:{width:"".concat(qn,"px"),transform:"translate3d(".concat(Ht.scrollLeft,"px, 0, 0)")}}))},da=le.forwardRef(ur);function En(Ee){return null}var dr=En;function xr(Ee){return null}var Wr=xr,Ir="rc-table",ha=[],za={};function Ua(){return"No Data"}function La(Ee){var Ce,Qe=(0,He.Z)({rowKey:"key",prefixCls:Ir,emptyText:Ua},Ee),rt=Qe.prefixCls,Pt=Qe.className,Et=Qe.rowClassName,$t=Qe.style,Yt=Qe.data,Ut=Qe.rowKey,Cn=Qe.scroll,vn=Qe.tableLayout,pn=Qe.direction,qn=Qe.title,na=Qe.footer,ca=Qe.summary,Aa=Qe.caption,Ht=Qe.id,Xa=Qe.showHeader,_a=Qe.components,rr=Qe.emptyText,Tr=Qe.onRow,$r=Qe.onHeaderRow,Dr=Qe.internalHooks,Gr=Qe.transformColumns,zr=Qe.internalRefs,tr=Qe.tailor,nr=Qe.sticky,fr=Yt||ha,Wa=!!fr.length,or=Dr===de,Kr=le.useCallback(function(ei,Hi){return(0,Le.Z)(_a,ei)||Hi},[_a]),Po=le.useMemo(function(){return typeof Ut=="function"?Ut:function(ei){var Hi=ei&&ei[Ut];return Hi}},[Ut]),lo=Kr(["body"]),Mr=Ur(),vo=(0,Be.Z)(Mr,3),Bo=vo[0],Ra=vo[1],wo=vo[2],yi=Pa(Qe,fr,Po),Do=(0,Be.Z)(yi,6),Xr=Do[0],bi=Do[1],Qr=Do[2],gi=Do[3],_o=Do[4],_i=Do[5],to=Cn==null?void 0:Cn.x,_r=le.useState(0),Yr=(0,Be.Z)(_r,2),Zr=Yr[0],ce=Yr[1],pe=pa((0,He.Z)((0,He.Z)((0,He.Z)({},Qe),Xr),{},{expandable:!!Xr.expandedRowRender,columnTitle:Xr.columnTitle,expandedKeys:Qr,getRowKey:Po,onTriggerExpand:_i,expandIcon:gi,expandIconColumnIndex:Xr.expandIconColumnIndex,direction:pn,scrollWidth:or&&tr&&typeof to=="number"?to:null}),or?Gr:null),Pe=(0,Be.Z)(pe,3),Ot=Pe[0],tn=Pe[1],wa=Pe[2],ma=wa!=null?wa:to,zn=le.useMemo(function(){return{columns:Ot,flattenColumns:tn}},[Ot,tn]),jt=le.useRef(),Yn=le.useRef(),xn=le.useRef(),Ct=le.useRef(),gn=le.useRef(),In=le.useState(!1),ra=(0,Be.Z)(In,2),Hn=ra[0],ba=ra[1],ta=le.useState(!1),oa=(0,Be.Z)(ta,2),Ka=oa[0],Pn=oa[1],ya=lr(new Map),ja=(0,Be.Z)(ya,2),qr=ja[0],cr=ja[1],li=xt(tn),Za=li.map(function(ei){return qr.get(ei)}),Co=le.useMemo(function(){return Za},[Za.join("_")]),Cr=Nn(Co,tn.length,pn),ao=Cn&&an(Cn.y),Eo=Cn&&an(ma)||!!Xr.fixed,hi=Eo&&tn.some(function(ei){var Hi=ei.fixed;return Hi}),mi=le.useRef(),pr=bn(nr,rt),po=pr.isSticky,Ki=pr.offsetHeader,Li=pr.offsetSummary,ea=pr.offsetScroll,xo=pr.stickyClassName,Ri=pr.container,Zo=le.useMemo(function(){return ca==null?void 0:ca(fr)},[ca,fr]),Ci=(ao||po)&&le.isValidElement(Zo)&&Zo.type===fe&&Zo.props.fixed,Mi,oi,il;ao&&(oi={overflowY:"scroll",maxHeight:Cn.y}),Eo&&(Mi={overflowX:"auto"},ao||(oi={overflowY:"hidden"}),il={width:ma===!0?"auto":ma,minWidth:"100%"});var ll=le.useCallback(function(ei,Hi){(0,nt.Z)(jt.current)&&cr(function(Dl){if(Dl.get(ei)!==Hi){var Sl=new Map(Dl);return Sl.set(ei,Hi),Sl}return Dl})},[]),jl=Nr(null),Ii=(0,Be.Z)(jl,2),cl=Ii[0],Bl=Ii[1];function Gl(ei,Hi){Hi&&(typeof Hi=="function"?Hi(ei):Hi.scrollLeft!==ei&&(Hi.scrollLeft=ei,Hi.scrollLeft!==ei&&setTimeout(function(){Hi.scrollLeft=ei},0)))}var No=(0,Ne.Z)(function(ei){var Hi=ei.currentTarget,Dl=ei.scrollLeft,Sl=pn==="rtl",Vl=typeof Dl=="number"?Dl:Hi.scrollLeft,kl=Hi||za;if(!Bl()||Bl()===kl){var Ku;cl(kl),Gl(Vl,Yn.current),Gl(Vl,xn.current),Gl(Vl,gn.current),Gl(Vl,(Ku=mi.current)===null||Ku===void 0?void 0:Ku.setScrollLeft)}var Vu=Hi||Yn.current;if(Vu){var $u=Vu.scrollWidth,hu=Vu.clientWidth;if($u===hu){ba(!1),Pn(!1);return}Sl?(ba(-Vl<$u-hu),Pn(-Vl>0)):(ba(Vl>0),Pn(Vl<$u-hu))}}),Si=function(){Eo&&xn.current?No({currentTarget:xn.current}):(ba(!1),Pn(!1))},$i=function(Hi){var Dl=Hi.width;Dl!==Zr&&(Si(),ce(jt.current?jt.current.offsetWidth:Dl))},Zi=le.useRef(!1);le.useEffect(function(){Zi.current&&Si()},[Eo,Yt,Ot.length]),le.useEffect(function(){Zi.current=!0},[]);var hl=le.useState(0),ul=(0,Be.Z)(hl,2),sl=ul[0],wl=ul[1],Rl=le.useState(!0),ml=(0,Be.Z)(Rl,2),qi=ml[0],Wl=ml[1];le.useEffect(function(){(!tr||!or)&&(xn.current instanceof Element?wl((0,yt.o)(xn.current).width):wl((0,yt.o)(Ct.current).width)),Wl((0,Me.G)("position","sticky"))},[]),le.useEffect(function(){or&&zr&&(zr.body.current=xn.current)});var Jo=le.useCallback(function(ei){return le.createElement(le.Fragment,null,le.createElement(Vt,ei),Ci==="top"&&le.createElement(Rt,ei,Zo))},[Ci,Zo]),vu=le.useCallback(function(ei){return le.createElement(Rt,ei,Zo)},[Zo]),pu=Kr(["table"],"table"),Kl=le.useMemo(function(){return vn||(hi?ma==="max-content"?"auto":"fixed":ao||po||tn.some(function(ei){var Hi=ei.ellipsis;return Hi})?"fixed":"auto")},[ao,hi,tn,vn,po]),gu,ua={colWidths:Co,columCount:tn.length,stickyOffsets:Cr,onHeaderRow:$r,fixHeader:ao,scroll:Cn},er=le.useMemo(function(){return Wa?null:typeof rr=="function"?rr():rr},[Wa,rr]),Ho=le.createElement(Ln,{data:fr,measureColumnWidth:ao||Eo||po}),uo=le.createElement($a,{colWidths:tn.map(function(ei){var Hi=ei.width;return Hi}),columns:tn}),Fo=Aa!=null?le.createElement("caption",{className:"".concat(rt,"-caption")},Aa):void 0,Xo=(0,Bn.Z)(Qe,{data:!0}),Vi=(0,Bn.Z)(Qe,{aria:!0});if(ao||po){var Di;typeof lo=="function"?(Di=lo(fr,{scrollbarSize:sl,ref:xn,onScroll:No}),ua.colWidths=tn.map(function(ei,Hi){var Dl=ei.width,Sl=Hi===tn.length-1?Dl-sl:Dl;return typeof Sl=="number"&&!Number.isNaN(Sl)?Sl:0})):Di=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Mi),oi),onScroll:No,ref:xn,className:Ke()("".concat(rt,"-body"))},le.createElement(pu,(0,Ge.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Fo,uo,Ho,!Ci&&Zo&&le.createElement(Rt,{stickyOffsets:Cr,flattenColumns:tn,columns:Ot},Zo)));var fl=(0,He.Z)((0,He.Z)((0,He.Z)({noData:!fr.length,maxContentScroll:Eo&&ma==="max-content"},ua),zn),{},{direction:pn,stickyClassName:xo,onScroll:No});gu=le.createElement(le.Fragment,null,Xa!==!1&&le.createElement(ia,(0,Ge.Z)({},fl,{stickyTopOffset:Ki,className:"".concat(rt,"-header"),ref:Yn}),Jo),Di,Ci&&Ci!=="top"&&le.createElement(ia,(0,Ge.Z)({},fl,{stickyBottomOffset:Li,className:"".concat(rt,"-summary"),ref:gn}),vu),po&&le.createElement(da,{ref:mi,offsetScroll:ea,scrollBodyRef:xn,onScroll:No,container:Ri}))}else gu=le.createElement("div",{style:(0,He.Z)((0,He.Z)({},Mi),oi),className:Ke()("".concat(rt,"-content")),onScroll:No,ref:xn},le.createElement(pu,(0,Ge.Z)({style:(0,He.Z)((0,He.Z)({},il),{},{tableLayout:Kl})},Vi),Fo,uo,Xa!==!1&&le.createElement(Vt,(0,Ge.Z)({},ua,zn)),Ho,Zo&&le.createElement(Rt,{stickyOffsets:Cr,flattenColumns:tn,columns:Ot},Zo)));var el=le.createElement("div",(0,Ge.Z)({className:Ke()(rt,Pt,(Ce={},(0,he.Z)(Ce,"".concat(rt,"-rtl"),pn==="rtl"),(0,he.Z)(Ce,"".concat(rt,"-ping-left"),Hn),(0,he.Z)(Ce,"".concat(rt,"-ping-right"),Ka),(0,he.Z)(Ce,"".concat(rt,"-layout-fixed"),vn==="fixed"),(0,he.Z)(Ce,"".concat(rt,"-fixed-header"),ao),(0,he.Z)(Ce,"".concat(rt,"-fixed-column"),hi),(0,he.Z)(Ce,"".concat(rt,"-scroll-horizontal"),Eo),(0,he.Z)(Ce,"".concat(rt,"-has-fix-left"),tn[0]&&tn[0].fixed),(0,he.Z)(Ce,"".concat(rt,"-has-fix-right"),tn[tn.length-1]&&tn[tn.length-1].fixed==="right"),Ce)),style:$t,id:Ht,ref:jt},Xo),qn&&le.createElement(la,{className:"".concat(rt,"-title")},qn(fr)),le.createElement("div",{ref:Ct,className:"".concat(rt,"-container")},gu),na&&le.createElement(la,{className:"".concat(rt,"-footer")},na(fr)));Eo&&(el=le.createElement(St.Z,{onResize:$i},el));var Ml=Dn(tn,Cr,pn,Ot),ou=le.useMemo(function(){return{scrollX:ma,prefixCls:rt,getComponent:Kr,scrollbarSize:sl,direction:pn,fixedInfoList:Ml,isSticky:po,supportSticky:qi,componentWidth:Zr,fixHeader:ao,fixColumn:hi,horizonScroll:Eo,tableLayout:Kl,rowClassName:Et,expandedRowClassName:Xr.expandedRowClassName,expandIcon:gi,expandableType:bi,expandRowByClick:Xr.expandRowByClick,expandedRowRender:Xr.expandedRowRender,onTriggerExpand:_i,expandIconColumnIndex:Xr.expandIconColumnIndex,indentSize:Xr.indentSize,allColumnsFixedLeft:tn.every(function(ei){return ei.fixed==="left"}),emptyNode:er,columns:Ot,flattenColumns:tn,onColumnResize:ll,hoverStartRow:Bo,hoverEndRow:Ra,onHover:wo,rowExpandable:Xr.rowExpandable,onRow:Tr,getRowKey:Po,expandedKeys:Qr,childrenColumnName:_o}},[ma,rt,Kr,sl,pn,Ml,po,qi,Zr,ao,hi,Eo,Kl,Et,Xr.expandedRowClassName,gi,bi,Xr.expandRowByClick,Xr.expandedRowRender,_i,Xr.expandIconColumnIndex,Xr.indentSize,er,Ot,tn,ll,Bo,Ra,wo,Xr.rowExpandable,Tr,Po,Qr,_o]);return le.createElement(ie.Provider,{value:ou},el)}function Or(Ee){return z(La,Ee)}var no=Or();no.EXPAND_COLUMN=b,no.INTERNAL_HOOKS=de,no.Column=dr,no.ColumnGroup=Wr,no.Summary=Oe;var Fr=no,Er=ee(57149),Pr=et(null),si=et(null);function ai(Ee,Ce,Qe){var rt=Ce||1;return Qe[Ee+rt]-(Qe[Ee]||0)}function xi(Ee){var Ce=Ee.rowInfo,Qe=Ee.column,rt=Ee.colIndex,Pt=Ee.indent,Et=Ee.index,$t=Ee.renderIndex,Yt=Ee.record,Ut=Ee.style,Cn=Ee.className,vn=Ee.inverse,pn=Ee.getHeight,qn=Qe.render,na=Qe.dataIndex,ca=Qe.className,Aa=Qe.width,Ht=Ve(si,["columnsOffset"]),Xa=Ht.columnsOffset,_a=Ft(Ce,Qe,rt,Pt,Et),rr=_a.key,Tr=_a.fixedInfo,$r=_a.appendCellNode,Dr=_a.additionalCellProps,Gr=Dr.style,zr=Dr.colSpan,tr=zr===void 0?1:zr,nr=Dr.rowSpan,fr=nr===void 0?1:nr,Wa=rt-1,or=ai(Wa,tr,Xa),Kr=tr>1?Aa-or:0,Po=(0,He.Z)((0,He.Z)((0,He.Z)({},Gr),Ut),{},{flex:"0 0 ".concat(or,"px"),width:"".concat(or,"px"),marginRight:Kr,pointerEvents:"auto"}),lo=le.useMemo(function(){return vn?fr<=1:tr===0||fr===0||fr>1},[fr,tr,vn]);lo?Po.visibility="hidden":vn&&(Po.height=pn==null?void 0:pn(fr));var Mr=lo?function(){return null}:qn,vo={};return(fr===0||tr===0)&&(vo.rowSpan=1,vo.colSpan=1),le.createElement(Fn,(0,Ge.Z)({className:Ke()(ca,Cn),ellipsis:Qe.ellipsis,align:Qe.align,scope:Qe.rowScope,component:"div",prefixCls:Ce.prefixCls,key:rr,record:Yt,index:Et,renderIndex:$t,dataIndex:na,render:Mr,shouldCellUpdate:Qe.shouldCellUpdate},Tr,{appendNode:$r,additionalProps:(0,He.Z)((0,He.Z)({},Dr),{},{style:Po},vo)}))}var ho=xi,yo=["data","index","className","rowKey","style","extra","getHeight"],Go=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,rt=Ee.index,Pt=Ee.className,Et=Ee.rowKey,$t=Ee.style,Yt=Ee.extra,Ut=Ee.getHeight,Cn=(0,Nt.Z)(Ee,yo),vn=Qe.record,pn=Qe.indent,qn=Qe.index,na=Ve(ie,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),ca=na.scrollX,Aa=na.flattenColumns,Ht=na.prefixCls,Xa=na.fixColumn,_a=na.componentWidth,rr=Te(vn,Et,rt,pn),Tr=rr.rowSupportExpand,$r=rr.expanded,Dr=rr.rowProps,Gr=rr.expandedRowRender,zr=rr.expandedRowClassName,tr;if(Tr&&$r){var nr=Gr(vn,rt,pn+1,$r),fr=zr==null?void 0:zr(vn,rt,pn),Wa={};Xa&&(Wa={style:(0,he.Z)({},"--virtual-width","".concat(_a,"px"))});var or="".concat(Ht,"-expanded-row-cell");tr=le.createElement("div",{className:Ke()("".concat(Ht,"-expanded-row"),"".concat(Ht,"-expanded-row-level-").concat(pn+1),fr)},le.createElement(Fn,{component:"div",prefixCls:Ht,className:Ke()(or,(0,he.Z)({},"".concat(or,"-fixed"),Xa)),additionalProps:Wa},nr))}var Kr=(0,He.Z)((0,He.Z)({},$t),{},{width:ca});Yt&&(Kr.position="absolute",Kr.pointerEvents="none");var Po=le.createElement("div",(0,Ge.Z)({},Dr,Cn,{ref:Tr?null:Ce,className:Ke()(Pt,"".concat(Ht,"-row"),Dr==null?void 0:Dr.className,(0,he.Z)({},"".concat(Ht,"-row-extra"),Yt)),style:(0,He.Z)((0,He.Z)({},Kr),Dr==null?void 0:Dr.style)}),Aa.map(function(lo,Mr){return le.createElement(ho,{key:Mr,rowInfo:rr,column:lo,colIndex:Mr,indent:pn,index:rt,renderIndex:qn,record:vn,inverse:Yt,getHeight:Ut})}));return Tr?le.createElement("div",{ref:Ce},Po,tr):Po}),Mo=ne(Go),Ao=Mo,gr=le.forwardRef(function(Ee,Ce){var Qe=Ee.data,rt=Ee.onScroll,Pt=Ve(ie,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Et=Pt.flattenColumns,$t=Pt.onColumnResize,Yt=Pt.getRowKey,Ut=Pt.expandedKeys,Cn=Pt.prefixCls,vn=Pt.childrenColumnName,pn=Pt.emptyNode,qn=Pt.scrollX,na=Ve(Pr),ca=na.scrollY,Aa=na.listItemHeight,Ht=le.useRef(),Xa=dn(Qe,vn,Ut,Yt),_a=le.useMemo(function(){var tr=0;return Et.map(function(nr){var fr=nr.width,Wa=nr.key;return tr+=fr,[Wa,fr,tr]})},[Et]),rr=le.useMemo(function(){return _a.map(function(tr){return tr[2]})},[_a]);le.useEffect(function(){_a.forEach(function(tr){var nr=(0,Be.Z)(tr,2),fr=nr[0],Wa=nr[1];$t(fr,Wa)})},[_a]),le.useImperativeHandle(Ce,function(){var tr={};return Object.defineProperty(tr,"scrollLeft",{get:function(){var fr;return((fr=Ht.current)===null||fr===void 0?void 0:fr.getScrollInfo().x)||0},set:function(fr){var Wa;(Wa=Ht.current)===null||Wa===void 0||Wa.scrollTo({left:fr})}}),tr});var Tr=function(nr,fr){var Wa,or=(Wa=Xa[fr])===null||Wa===void 0?void 0:Wa.record,Kr=nr.onCell;if(Kr){var Po,lo=Kr(or,fr);return(Po=lo==null?void 0:lo.rowSpan)!==null&&Po!==void 0?Po:1}return 1},$r=function(nr){var fr=nr.start,Wa=nr.end,or=nr.getSize,Kr=nr.offsetY;if(Wa<0)return null;for(var Po=Et.filter(function(to){return Tr(to,fr)===0}),lo=fr,Mr=function(_r){if(Po=Po.filter(function(Yr){return Tr(Yr,_r)===0}),!Po.length)return lo=_r,"break"},vo=fr;vo>=0;vo-=1){var Bo=Mr(vo);if(Bo==="break")break}for(var Ra=Et.filter(function(to){return Tr(to,Wa)!==1}),wo=Wa,yi=function(_r){if(Ra=Ra.filter(function(Yr){return Tr(Yr,_r)!==1}),!Ra.length)return wo=Math.max(_r-1,Wa),"break"},Do=Wa;Do1})&&bi.push(_r)},gi=lo;gi<=wo;gi+=1)var _o=Qr(gi);var _i=bi.map(function(to){var _r=Xa[to],Yr=Yt(_r.record,to),Zr=function(Pe){var Ot=to+Pe-1,tn=Yt(Xa[Ot].record,Ot),wa=or(Yr,tn);return wa.bottom-wa.top},ce=or(Yr);return le.createElement(Ao,{key:to,data:_r,rowKey:Yr,index:to,style:{top:-Kr+ce.top},extra:!0,getHeight:Zr})});return _i},Dr=le.useMemo(function(){return{columnsOffset:rr}},[rr]),Gr="".concat(Cn,"-tbody"),zr;return Xa.length?zr=le.createElement(Er.Z,{fullHeight:!1,ref:Ht,className:Ke()(Gr,"".concat(Gr,"-virtual")),height:ca,itemHeight:Aa||24,data:Xa,itemKey:function(nr){return Yt(nr.record)},scrollWidth:qn,onVirtualScroll:function(nr){var fr=nr.x;rt({scrollLeft:fr})},extraRender:$r},function(tr,nr,fr){var Wa=Yt(tr.record,nr);return le.createElement(Ao,(0,Ge.Z)({data:tr,rowKey:Wa,index:nr},fr))}):zr=le.createElement("div",{className:Ke()("".concat(Cn,"-placeholder"))},le.createElement(Fn,{component:"div",prefixCls:Cn},pn)),le.createElement(si.Provider,{value:Dr},zr)}),eo=ne(gr),Qo=eo,Yo=function(Ce,Qe){var rt=Qe.ref,Pt=Qe.onScroll;return le.createElement(Qo,{ref:rt,data:Ce,onScroll:Pt})},Oo=100;function br(Ee){var Ce=Ee.columns,Qe=Ee.scroll,rt=Ee.prefixCls,Pt=rt===void 0?Ir:rt,Et=Ee.className,$t=Ee.listItemHeight,Yt=Qe||{},Ut=Yt.x,Cn=Yt.y;typeof Ut!="number"&&(Ut=((Ce||[]).length+1)*Oo),typeof Cn!="number"&&(Cn=500);var vn=le.useMemo(function(){return{scrollY:Cn,listItemHeight:$t}},[Cn,$t]);return le.createElement(Pr.Provider,{value:vn},le.createElement(Fr,(0,Ge.Z)({},Ee,{className:Ke()(Et,"".concat(Pt,"-virtual")),scroll:(0,He.Z)((0,He.Z)({},Qe),{},{x:Ut}),components:{body:Yo},columns:Ce,internalHooks:de,tailor:!0})))}function ri(Ee){return z(br,Ee)}var Hr=ri(),ko=null;function mo(Ee){return null}var di=mo;function vi(Ee){return null}var Ui=vi,tl=ee(2738),nl=ee(68031),Vo=ee(36355),Fi=ee(93891),Wi=ee(19716),dl=ee(8628),gl=ee(31724),Pl=ee(58421),kr=ee(71418),Qa=ee(88088);function Ga(Ee){return function(Qe){let{prefixCls:rt,onExpand:Pt,record:Et,expanded:$t,expandable:Yt}=Qe;const Ut=`${rt}-row-expand-icon`;return le.createElement("button",{type:"button",onClick:Cn=>{Pt(Et,Cn),Cn.stopPropagation()},className:Ke()(Ut,{[`${Ut}-spaced`]:!Yt,[`${Ut}-expanded`]:Yt&&$t,[`${Ut}-collapsed`]:Yt&&!$t}),"aria-label":$t?Ee.collapse:Ee.expand,"aria-expanded":$t})}}var Ya=Ga;function so(Ee,Ce){return"key"in Ee&&Ee.key!==void 0&&Ee.key!==null?Ee.key:Ee.dataIndex?Array.isArray(Ee.dataIndex)?Ee.dataIndex.join("."):Ee.dataIndex:Ce}function we(Ee,Ce){return Ce?`${Ce}-${Ee}`:`${Ee}`}function fn(Ee,Ce){return typeof Ee=="function"?Ee(Ce):Ee}function Mn(Ee,Ce){const Qe=fn(Ee,Ce);return Object.prototype.toString.call(Qe)==="[object Object]"?"":Qe}var Sa={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"},on=Sa,Ma=ee(7657),Fa=function(Ce,Qe){return le.createElement(Ma.Z,(0,Ge.Z)({},Ce,{ref:Qe,icon:on}))},jn=le.forwardRef(Fa),Xn=jn,sr=ee(56762);function Ha(Ee){const Ce=le.useRef(Ee),Qe=(0,sr.Z)();return[()=>Ce.current,rt=>{Ce.current=rt,Qe()}]}var Ta=ee(3113),Ja=ee(24905),Rr=ee(38854),bo=ee(64165),$o=ee(20834),Wo=ee(40875),Ti=ee(5112),Ji=ee(17574),al=ee(47472),Zl=ee(92832);function Al(Ee){let{value:Ce,onChange:Qe,filterSearch:rt,tablePrefixCls:Pt,locale:Et}=Ee;return rt?le.createElement("div",{className:`${Pt}-filter-dropdown-search`},le.createElement(Zl.default,{prefix:le.createElement(al.Z,null),placeholder:Et.filterSearchPlaceholder,onChange:Qe,value:Ce,htmlSize:1,className:`${Pt}-filter-dropdown-search-input`})):null}var So=Al,yl=ee(10228);const eu=Ee=>{const{keyCode:Ce}=Ee;Ce===yl.Z.ENTER&&Ee.stopPropagation()};var xl=le.forwardRef((Ee,Ce)=>le.createElement("div",{className:Ee.className,onClick:Qe=>Qe.stopPropagation(),onKeyDown:eu,ref:Ce},Ee.children));function tu(Ee){let Ce=[];return(Ee||[]).forEach(Qe=>{let{value:rt,children:Pt}=Qe;Ce.push(rt),Pt&&(Ce=[].concat((0,fa.Z)(Ce),(0,fa.Z)(tu(Pt))))}),Ce}function Qu(Ee){return Ee.some(Ce=>{let{children:Qe}=Ce;return Qe})}function su(Ee,Ce){return typeof Ce=="string"||typeof Ce=="number"?Ce==null?void 0:Ce.toString().toLowerCase().includes(Ee.trim().toLowerCase()):!1}function mu(Ee){let{filters:Ce,prefixCls:Qe,filteredKeys:rt,filterMultiple:Pt,searchValue:Et,filterSearch:$t}=Ee;return Ce.map((Yt,Ut)=>{const Cn=String(Yt.value);if(Yt.children)return{key:Cn||Ut,label:Yt.text,popupClassName:`${Qe}-dropdown-submenu`,children:mu({filters:Yt.children,prefixCls:Qe,filteredKeys:rt,filterMultiple:Pt,searchValue:Et,filterSearch:$t})};const vn=Pt?Ja.default:Ti.ZP,pn={key:Yt.value!==void 0?Cn:Ut,label:le.createElement(le.Fragment,null,le.createElement(vn,{checked:rt.includes(Cn)}),le.createElement("span",null,Yt.text))};return Et.trim()?typeof $t=="function"?$t(Et,Yt)?pn:null:su(Et,Yt.text)?pn:null:pn})}function Yu(Ee){var Ce,Qe;const{tablePrefixCls:rt,prefixCls:Pt,column:Et,dropdownPrefixCls:$t,columnKey:Yt,filterMultiple:Ut,filterMode:Cn="menu",filterSearch:vn=!1,filterState:pn,triggerFilter:qn,locale:na,children:ca,getPopupContainer:Aa}=Ee,{filterDropdownOpen:Ht,onFilterDropdownOpenChange:Xa,filterResetToDefaultFilteredValue:_a,defaultFilteredValue:rr,filterDropdownVisible:Tr,onFilterDropdownVisibleChange:$r}=Et,[Dr,Gr]=le.useState(!1),zr=!!(pn&&(!((Ce=pn.filteredKeys)===null||Ce===void 0)&&Ce.length||pn.forceFiltered)),tr=pe=>{Gr(pe),Xa==null||Xa(pe),$r==null||$r(pe)},nr=(Qe=Ht!=null?Ht:Tr)!==null&&Qe!==void 0?Qe:Dr,fr=pn==null?void 0:pn.filteredKeys,[Wa,or]=Ha(fr||[]),Kr=pe=>{let{selectedKeys:Pe}=pe;or(Pe)},Po=(pe,Pe)=>{let{node:Ot,checked:tn}=Pe;Kr(Ut?{selectedKeys:pe}:{selectedKeys:tn&&Ot.key?[Ot.key]:[]})};le.useEffect(()=>{Dr&&Kr({selectedKeys:fr||[]})},[fr]);const[lo,Mr]=le.useState([]),vo=pe=>{Mr(pe)},[Bo,Ra]=le.useState(""),wo=pe=>{const{value:Pe}=pe.target;Ra(Pe)};le.useEffect(()=>{Dr||Ra("")},[Dr]);const yi=pe=>{const Pe=pe&&pe.length?pe:null;if(Pe===null&&(!pn||!pn.filteredKeys)||(0,ke.Z)(Pe,pn==null?void 0:pn.filteredKeys,!0))return null;qn({column:Et,key:Yt,filteredKeys:Pe})},Do=()=>{tr(!1),yi(Wa())},Xr=function(){let{confirm:pe,closeDropdown:Pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};pe&&yi([]),Pe&&tr(!1),Ra(""),or(_a?(rr||[]).map(Ot=>String(Ot)):[])},bi=function(){let{closeDropdown:pe}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};pe&&tr(!1),yi(Wa())},Qr=pe=>{pe&&fr!==void 0&&or(fr||[]),tr(pe),!pe&&!Et.filterDropdown&&Do()},gi=Ke()({[`${$t}-menu-without-submenu`]:!Qu(Et.filters||[])}),_o=pe=>{if(pe.target.checked){const Pe=tu(Et==null?void 0:Et.filters).map(Ot=>String(Ot));or(Pe)}else or([])},_i=pe=>{let{filters:Pe}=pe;return(Pe||[]).map((Ot,tn)=>{const wa=String(Ot.value),ma={title:Ot.text,key:Ot.value!==void 0?wa:tn};return Ot.children&&(ma.children=_i({filters:Ot.children})),ma})},to=pe=>{var Pe;return Object.assign(Object.assign({},pe),{text:pe.title,value:pe.key,children:((Pe=pe.children)===null||Pe===void 0?void 0:Pe.map(Ot=>to(Ot)))||[]})};let _r;if(typeof Et.filterDropdown=="function")_r=Et.filterDropdown({prefixCls:`${$t}-custom`,setSelectedKeys:pe=>Kr({selectedKeys:pe}),selectedKeys:Wa(),confirm:bi,clearFilters:Xr,filters:Et.filters,visible:nr,close:()=>{tr(!1)}});else if(Et.filterDropdown)_r=Et.filterDropdown;else{const pe=Wa()||[],Pe=()=>(Et.filters||[]).length===0?le.createElement(bo.Z,{image:bo.Z.PRESENTED_IMAGE_SIMPLE,description:na.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Cn==="tree"?le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:vn,value:Bo,onChange:wo,tablePrefixCls:rt,locale:na}),le.createElement("div",{className:`${rt}-filter-dropdown-tree`},Ut?le.createElement(Ja.default,{checked:pe.length===tu(Et.filters).length,indeterminate:pe.length>0&&pe.lengthtypeof vn=="function"?vn(Bo,to(tn)):su(Bo,tn.title):void 0}))):le.createElement(le.Fragment,null,le.createElement(So,{filterSearch:vn,value:Bo,onChange:wo,tablePrefixCls:rt,locale:na}),le.createElement($o.default,{selectable:!0,multiple:Ut,prefixCls:`${$t}-menu`,className:gi,onSelect:Kr,onDeselect:Kr,selectedKeys:pe,getPopupContainer:Aa,openKeys:lo,onOpenChange:vo,items:mu({filters:Et.filters||[],filterSearch:vn,prefixCls:Pt,filteredKeys:Wa(),filterMultiple:Ut,searchValue:Bo})})),Ot=()=>_a?(0,ke.Z)((rr||[]).map(tn=>String(tn)),pe,!0):pe.length===0;_r=le.createElement(le.Fragment,null,Pe(),le.createElement("div",{className:`${Pt}-dropdown-btns`},le.createElement(Ta.ZP,{type:"link",size:"small",disabled:Ot(),onClick:()=>Xr()},na.filterReset),le.createElement(Ta.ZP,{type:"primary",size:"small",onClick:Do},na.filterConfirm)))}Et.filterDropdown&&(_r=le.createElement(Wo.J,{selectable:void 0},_r));const Yr=()=>le.createElement(xl,{className:`${Pt}-dropdown`},_r);let Zr;typeof Et.filterIcon=="function"?Zr=Et.filterIcon(zr):Et.filterIcon?Zr=Et.filterIcon:Zr=le.createElement(Xn,null);const{direction:ce}=le.useContext(Vo.E_);return le.createElement("div",{className:`${Pt}-column`},le.createElement("span",{className:`${rt}-column-title`},ca),le.createElement(Rr.Z,{dropdownRender:Yr,trigger:["click"],open:nr,onOpenChange:Qr,getPopupContainer:Aa,placement:ce==="rtl"?"bottomLeft":"bottomRight"},le.createElement("span",{role:"button",tabIndex:-1,className:Ke()(`${Pt}-trigger`,{active:zr}),onClick:pe=>{pe.stopPropagation()}},Zr)))}var El=Yu;function Ru(Ee,Ce,Qe){let rt=[];return(Ee||[]).forEach((Pt,Et)=>{var $t;const Yt=we(Et,Qe);if(Pt.filters||"filterDropdown"in Pt||"onFilter"in Pt)if("filteredValue"in Pt){let Ut=Pt.filteredValue;"filterDropdown"in Pt||(Ut=($t=Ut==null?void 0:Ut.map(String))!==null&&$t!==void 0?$t:Ut),rt.push({column:Pt,key:so(Pt,Yt),filteredKeys:Ut,forceFiltered:Pt.filtered})}else rt.push({column:Pt,key:so(Pt,Yt),filteredKeys:Ce&&Pt.defaultFilteredValue?Pt.defaultFilteredValue:void 0,forceFiltered:Pt.filtered});"children"in Pt&&(rt=[].concat((0,fa.Z)(rt),(0,fa.Z)(Ru(Pt.children,Ce,Yt))))}),rt}function Mu(Ee,Ce,Qe,rt,Pt,Et,$t,Yt){return Qe.map((Ut,Cn)=>{const vn=we(Cn,Yt),{filterMultiple:pn=!0,filterMode:qn,filterSearch:na}=Ut;let ca=Ut;if(ca.filters||ca.filterDropdown){const Aa=so(ca,vn),Ht=rt.find(Xa=>{let{key:_a}=Xa;return Aa===_a});ca=Object.assign(Object.assign({},ca),{title:Xa=>le.createElement(El,{tablePrefixCls:Ee,prefixCls:`${Ee}-filter`,dropdownPrefixCls:Ce,column:ca,columnKey:Aa,filterState:Ht,filterMultiple:pn,filterMode:qn,filterSearch:na,triggerFilter:Et,locale:Pt,getPopupContainer:$t},fn(Ut.title,Xa))})}return"children"in ca&&(ca=Object.assign(Object.assign({},ca),{children:Mu(Ee,Ce,ca.children,rt,Pt,Et,$t,vn)})),ca})}function rl(Ee){const Ce={};return Ee.forEach(Qe=>{let{key:rt,filteredKeys:Pt,column:Et}=Qe;const{filters:$t,filterDropdown:Yt}=Et;if(Yt)Ce[rt]=Pt||null;else if(Array.isArray(Pt)){const Ut=tu($t);Ce[rt]=Ut.filter(Cn=>Pt.includes(String(Cn)))}else Ce[rt]=null}),Ce}function ku(Ee,Ce){return Ce.reduce((Qe,rt)=>{const{column:{onFilter:Pt,filters:Et},filteredKeys:$t}=rt;return Pt&&$t&&$t.length?Qe.filter(Yt=>$t.some(Ut=>{const Cn=tu(Et),vn=Cn.findIndex(qn=>String(qn)===String(Ut)),pn=vn!==-1?Cn[vn]:Ut;return Pt(pn,Yt)})):Qe},Ee)}const nu=Ee=>Ee.flatMap(Ce=>"children"in Ce?[Ce].concat((0,fa.Z)(nu(Ce.children||[]))):[Ce]);function Ju(Ee){let{prefixCls:Ce,dropdownPrefixCls:Qe,mergedColumns:rt,onFilterChange:Pt,getPopupContainer:Et,locale:$t}=Ee;const Yt=le.useMemo(()=>nu(rt||[]),[rt]),[Ut,Cn]=le.useState(()=>Ru(Yt,!0)),vn=le.useMemo(()=>{const ca=Ru(Yt,!1);if(ca.length===0)return ca;let Aa=!0,Ht=!0;if(ca.forEach(Xa=>{let{filteredKeys:_a}=Xa;_a!==void 0?Aa=!1:Ht=!1}),Aa){const Xa=(Yt||[]).map((_a,rr)=>so(_a,we(rr)));return Ut.filter(_a=>{let{key:rr}=_a;return Xa.includes(rr)}).map(_a=>{const rr=Yt[Xa.findIndex(Tr=>Tr===_a.key)];return Object.assign(Object.assign({},_a),{column:Object.assign(Object.assign({},_a.column),rr),forceFiltered:rr.filtered})})}return ca},[Yt,Ut]),pn=le.useMemo(()=>rl(vn),[vn]),qn=ca=>{const Aa=vn.filter(Ht=>{let{key:Xa}=Ht;return Xa!==ca.key});Aa.push(ca),Cn(Aa),Pt(rl(Aa),Aa)};return[ca=>Mu(Ce,Qe,ca,vn,$t,qn,Et),vn,pn]}var bu=Ju;function Tu(Ee,Ce,Qe){const rt=le.useRef({});function Pt(Et){if(!rt.current||rt.current.data!==Ee||rt.current.childrenColumnName!==Ce||rt.current.getRowKey!==Qe){let Yt=function(Ut){Ut.forEach((Cn,vn)=>{const pn=Qe(Cn,vn);$t.set(pn,Cn),Cn&&typeof Cn=="object"&&Ce in Cn&&Yt(Cn[Ce]||[])})};const $t=new Map;Yt(Ee),rt.current={data:Ee,childrenColumnName:Ce,kvMap:$t,getRowKey:Qe}}return rt.current.kvMap.get(Et)}return[Pt]}var Xu=ee(50371),_u=function(Ee,Ce){var Qe={};for(var rt in Ee)Object.prototype.hasOwnProperty.call(Ee,rt)&&Ce.indexOf(rt)<0&&(Qe[rt]=Ee[rt]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pt=0,rt=Object.getOwnPropertySymbols(Ee);Pt{const Et=Ee[Pt];typeof Et!="function"&&(Qe[Pt]=Et)}),Qe}function Zu(Ee,Ce,Qe){const rt=Qe&&typeof Qe=="object"?Qe:{},{total:Pt=0}=rt,Et=_u(rt,["total"]),[$t,Yt]=(0,le.useState)(()=>({current:"defaultCurrent"in Et?Et.defaultCurrent:1,pageSize:"defaultPageSize"in Et?Et.defaultPageSize:bl})),Ut=(0,Xu.Z)($t,Et,{total:Pt>0?Pt:Ee}),Cn=Math.ceil((Pt||Ee)/Ut.pageSize);Ut.current>Cn&&(Ut.current=Cn||1);const vn=(qn,na)=>{Yt({current:qn!=null?qn:1,pageSize:na||Ut.pageSize})},pn=(qn,na)=>{var ca;Qe&&((ca=Qe.onChange)===null||ca===void 0||ca.call(Qe,qn,na)),vn(qn,na),Ce(qn,na||(Ut==null?void 0:Ut.pageSize))};return Qe===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ut),{onChange:pn}),vn]}var fs=Zu,au=ee(84105),Bi=ee(35654),Cu=ee(90782),zu=ee(71430),rs=ee(18929);const Il={},Hu="SELECT_ALL",xu="SELECT_INVERT",Fu="SELECT_NONE",Fl=[],zl=(Ee,Ce)=>{let Qe=[];return(Ce||[]).forEach(rt=>{Qe.push(rt),rt&&typeof rt=="object"&&Ee in rt&&(Qe=[].concat((0,fa.Z)(Qe),(0,fa.Z)(zl(Ee,rt[Ee]))))}),Qe};var qu=(Ee,Ce)=>{const{preserveSelectedRowKeys:Qe,selectedRowKeys:rt,defaultSelectedRowKeys:Pt,getCheckboxProps:Et,onChange:$t,onSelect:Yt,onSelectAll:Ut,onSelectInvert:Cn,onSelectNone:vn,onSelectMultiple:pn,columnWidth:qn,type:na,selections:ca,fixed:Aa,renderCell:Ht,hideSelectAll:Xa,checkStrictly:_a=!0}=Ce||{},{prefixCls:rr,data:Tr,pageData:$r,getRecordByKey:Dr,getRowKey:Gr,expandType:zr,childrenColumnName:tr,locale:nr,getPopupContainer:fr}=Ee,[Wa,or]=(0,rs.Z)(rt||Pt||Fl,{value:rt}),Kr=le.useRef(new Map),Po=(0,le.useCallback)(to=>{if(Qe){const _r=new Map;to.forEach(Yr=>{let Zr=Dr(Yr);!Zr&&Kr.current.has(Yr)&&(Zr=Kr.current.get(Yr)),_r.set(Yr,Zr)}),Kr.current=_r}},[Dr,Qe]);le.useEffect(()=>{Po(Wa)},[Wa]);const{keyEntities:lo}=(0,le.useMemo)(()=>{if(_a)return{keyEntities:null};let to=Tr;if(Qe){const _r=new Set(Tr.map((Zr,ce)=>Gr(Zr,ce))),Yr=Array.from(Kr.current).reduce((Zr,ce)=>{let[pe,Pe]=ce;return _r.has(pe)?Zr:Zr.concat(Pe)},[]);to=[].concat((0,fa.Z)(to),(0,fa.Z)(Yr))}return(0,zu.I8)(to,{externalGetKey:Gr,childrenPropName:tr})},[Tr,Gr,_a,tr,Qe]),Mr=(0,le.useMemo)(()=>zl(tr,$r),[tr,$r]),vo=(0,le.useMemo)(()=>{const to=new Map;return Mr.forEach((_r,Yr)=>{const Zr=Gr(_r,Yr),ce=(Et?Et(_r):null)||{};to.set(Zr,ce)}),to},[Mr,Gr,Et]),Bo=(0,le.useCallback)(to=>{var _r;return!!(!((_r=vo.get(Gr(to)))===null||_r===void 0)&&_r.disabled)},[vo,Gr]),[Ra,wo]=(0,le.useMemo)(()=>{if(_a)return[Wa||[],[]];const{checkedKeys:to,halfCheckedKeys:_r}=(0,Cu.S)(Wa,!0,lo,Bo);return[to||[],_r]},[Wa,_a,lo,Bo]),yi=(0,le.useMemo)(()=>{const to=na==="radio"?Ra.slice(0,1):Ra;return new Set(to)},[Ra,na]),Do=(0,le.useMemo)(()=>na==="radio"?new Set:new Set(wo),[wo,na]),[Xr,bi]=(0,le.useState)(null);le.useEffect(()=>{Ce||or(Fl)},[!!Ce]);const Qr=(0,le.useCallback)((to,_r)=>{let Yr,Zr;Po(to),Qe?(Yr=to,Zr=to.map(ce=>Kr.current.get(ce))):(Yr=[],Zr=[],to.forEach(ce=>{const pe=Dr(ce);pe!==void 0&&(Yr.push(ce),Zr.push(pe))})),or(Yr),$t==null||$t(Yr,Zr,{type:_r})},[or,Dr,$t,Qe]),gi=(0,le.useCallback)((to,_r,Yr,Zr)=>{if(Yt){const ce=Yr.map(pe=>Dr(pe));Yt(Dr(to),_r,ce,Zr)}Qr(Yr,"single")},[Yt,Dr,Qr]),_o=(0,le.useMemo)(()=>!ca||Xa?null:(ca===!0?[Hu,xu,Fu]:ca).map(_r=>_r===Hu?{key:"all",text:nr.selectionAll,onSelect(){Qr(Tr.map((Yr,Zr)=>Gr(Yr,Zr)).filter(Yr=>{const Zr=vo.get(Yr);return!(Zr!=null&&Zr.disabled)||yi.has(Yr)}),"all")}}:_r===xu?{key:"invert",text:nr.selectInvert,onSelect(){const Yr=new Set(yi);$r.forEach((ce,pe)=>{const Pe=Gr(ce,pe),Ot=vo.get(Pe);Ot!=null&&Ot.disabled||(Yr.has(Pe)?Yr.delete(Pe):Yr.add(Pe))});const Zr=Array.from(Yr);Cn&&Cn(Zr),Qr(Zr,"invert")}}:_r===Fu?{key:"none",text:nr.selectNone,onSelect(){vn==null||vn(),Qr(Array.from(yi).filter(Yr=>{const Zr=vo.get(Yr);return Zr==null?void 0:Zr.disabled}),"none")}}:_r).map(_r=>Object.assign(Object.assign({},_r),{onSelect:function(){for(var Yr,Zr,ce=arguments.length,pe=new Array(ce),Pe=0;Pe{var _r;if(!Ce)return to.filter(In=>In!==Il);let Yr=(0,fa.Z)(to);const Zr=new Set(yi),ce=Mr.map(Gr).filter(In=>!vo.get(In).disabled),pe=ce.every(In=>Zr.has(In)),Pe=ce.some(In=>Zr.has(In)),Ot=()=>{const In=[];pe?ce.forEach(Hn=>{Zr.delete(Hn),In.push(Hn)}):ce.forEach(Hn=>{Zr.has(Hn)||(Zr.add(Hn),In.push(Hn))});const ra=Array.from(Zr);Ut==null||Ut(!pe,ra.map(Hn=>Dr(Hn)),In.map(Hn=>Dr(Hn))),Qr(ra,"all"),bi(null)};let tn;if(na!=="radio"){let In;if(_o){const oa={getPopupContainer:fr,items:_o.map((Ka,Pn)=>{const{key:ya,text:ja,onSelect:qr}=Ka;return{key:ya!=null?ya:Pn,onClick:()=>{qr==null||qr(ce)},label:ja}})};In=le.createElement("div",{className:`${rr}-selection-extra`},le.createElement(Rr.Z,{menu:oa,getPopupContainer:fr},le.createElement("span",null,le.createElement(au.Z,null))))}const ra=Mr.map((oa,Ka)=>{const Pn=Gr(oa,Ka),ya=vo.get(Pn)||{};return Object.assign({checked:Zr.has(Pn)},ya)}).filter(oa=>{let{disabled:Ka}=oa;return Ka}),Hn=!!ra.length&&ra.length===Mr.length,ba=Hn&&ra.every(oa=>{let{checked:Ka}=oa;return Ka}),ta=Hn&&ra.some(oa=>{let{checked:Ka}=oa;return Ka});tn=!Xa&&le.createElement("div",{className:`${rr}-selection`},le.createElement(Ja.default,{checked:Hn?ba:!!Mr.length&&pe,indeterminate:Hn?!ba&&ta:!pe&&Pe,onChange:Ot,disabled:Mr.length===0||Hn,"aria-label":In?"Custom selection":"Select all",skipGroup:!0}),In)}let wa;na==="radio"?wa=(In,ra,Hn)=>{const ba=Gr(ra,Hn),ta=Zr.has(ba);return{node:le.createElement(Ti.ZP,Object.assign({},vo.get(ba),{checked:ta,onClick:oa=>oa.stopPropagation(),onChange:oa=>{Zr.has(ba)||gi(ba,!0,[ba],oa.nativeEvent)}})),checked:ta}}:wa=(In,ra,Hn)=>{var ba;const ta=Gr(ra,Hn),oa=Zr.has(ta),Ka=Do.has(ta),Pn=vo.get(ta);let ya;return zr==="nest"?ya=Ka:ya=(ba=Pn==null?void 0:Pn.indeterminate)!==null&&ba!==void 0?ba:Ka,{node:le.createElement(Ja.default,Object.assign({},Pn,{indeterminate:ya,checked:oa,skipGroup:!0,onClick:ja=>ja.stopPropagation(),onChange:ja=>{let{nativeEvent:qr}=ja;const{shiftKey:cr}=qr;let li=-1,Za=-1;if(cr&&_a){const Co=new Set([Xr,ta]);ce.some((Cr,ao)=>{if(Co.has(Cr))if(li===-1)li=ao;else return Za=ao,!0;return!1})}if(Za!==-1&&li!==Za&&_a){const Co=ce.slice(li,Za+1),Cr=[];oa?Co.forEach(Eo=>{Zr.has(Eo)&&(Cr.push(Eo),Zr.delete(Eo))}):Co.forEach(Eo=>{Zr.has(Eo)||(Cr.push(Eo),Zr.add(Eo))});const ao=Array.from(Zr);pn==null||pn(!oa,ao.map(Eo=>Dr(Eo)),Cr.map(Eo=>Dr(Eo))),Qr(ao,"multiple")}else{const Co=Ra;if(_a){const Cr=oa?(0,Bi._5)(Co,ta):(0,Bi.L0)(Co,ta);gi(ta,!oa,Cr,qr)}else{const Cr=(0,Cu.S)([].concat((0,fa.Z)(Co),[ta]),!0,lo,Bo),{checkedKeys:ao,halfCheckedKeys:Eo}=Cr;let hi=ao;if(oa){const mi=new Set(ao);mi.delete(ta),hi=(0,Cu.S)(Array.from(mi),{checked:!1,halfCheckedKeys:Eo},lo,Bo).checkedKeys}gi(ta,!oa,hi,qr)}}bi(oa?null:ta)}})),checked:oa}};const ma=(In,ra,Hn)=>{const{node:ba,checked:ta}=wa(In,ra,Hn);return Ht?Ht(ta,ra,Hn,ba):ba};if(!Yr.includes(Il))if(Yr.findIndex(In=>{var ra;return((ra=In[va])===null||ra===void 0?void 0:ra.columnType)==="EXPAND_COLUMN"})===0){const[In,...ra]=Yr;Yr=[In,Il].concat((0,fa.Z)(ra))}else Yr=[Il].concat((0,fa.Z)(Yr));const zn=Yr.indexOf(Il);Yr=Yr.filter((In,ra)=>In!==Il||ra===zn);const jt=Yr[zn-1],Yn=Yr[zn+1];let xn=Aa;xn===void 0&&((Yn==null?void 0:Yn.fixed)!==void 0?xn=Yn.fixed:(jt==null?void 0:jt.fixed)!==void 0&&(xn=jt.fixed)),xn&&jt&&((_r=jt[va])===null||_r===void 0?void 0:_r.columnType)==="EXPAND_COLUMN"&&jt.fixed===void 0&&(jt.fixed=xn);const Ct=Ke()(`${rr}-selection-col`,{[`${rr}-selection-col-with-dropdown`]:ca&&na==="checkbox"}),gn={fixed:xn,width:qn,className:`${rr}-selection-column`,title:Ce.columnTitle||tn,render:ma,onCell:Ce.onCell,[va]:{className:Ct}};return Yr.map(In=>In===Il?gn:In)},[Gr,Mr,Ce,Ra,yi,Do,qn,_o,zr,Xr,vo,pn,gi,Bo]),yi]},ju=ee(89489),Ar=ee(59477),Bu=ee(6848);const Yl="ascend",Hl="descend";function qa(Ee){return typeof Ee.sorter=="object"&&typeof Ee.sorter.multiple=="number"?Ee.sorter.multiple:!1}function du(Ee){return typeof Ee=="function"?Ee:Ee&&typeof Ee=="object"&&Ee.compare?Ee.compare:!1}function es(Ee,Ce){return Ce?Ee[Ee.indexOf(Ce)+1]:Ee[0]}function is(Ee,Ce,Qe){let rt=[];function Pt(Et,$t){rt.push({column:Et,key:so(Et,$t),multiplePriority:qa(Et),sortOrder:Et.sortOrder})}return(Ee||[]).forEach((Et,$t)=>{const Yt=we($t,Qe);Et.children?("sortOrder"in Et&&Pt(Et,Yt),rt=[].concat((0,fa.Z)(rt),(0,fa.Z)(is(Et.children,Ce,Yt)))):Et.sorter&&("sortOrder"in Et?Pt(Et,Yt):Ce&&Et.defaultSortOrder&&rt.push({column:Et,key:so(Et,Yt),multiplePriority:qa(Et),sortOrder:Et.defaultSortOrder}))}),rt}function wu(Ee,Ce,Qe,rt,Pt,Et,$t,Yt){return(Ce||[]).map((Ut,Cn)=>{const vn=we(Cn,Yt);let pn=Ut;if(pn.sorter){const qn=pn.sortDirections||Pt,na=pn.showSorterTooltip===void 0?$t:pn.showSorterTooltip,ca=so(pn,vn),Aa=Qe.find(zr=>{let{key:tr}=zr;return tr===ca}),Ht=Aa?Aa.sortOrder:null,Xa=es(qn,Ht);let _a;if(Ut.sortIcon)_a=Ut.sortIcon({sortOrder:Ht});else{const zr=qn.includes(Yl)&&le.createElement(Ar.Z,{className:Ke()(`${Ee}-column-sorter-up`,{active:Ht===Yl})}),tr=qn.includes(Hl)&&le.createElement(ju.Z,{className:Ke()(`${Ee}-column-sorter-down`,{active:Ht===Hl})});_a=le.createElement("span",{className:Ke()(`${Ee}-column-sorter`,{[`${Ee}-column-sorter-full`]:!!(zr&&tr)})},le.createElement("span",{className:`${Ee}-column-sorter-inner`,"aria-hidden":"true"},zr,tr))}const{cancelSort:rr,triggerAsc:Tr,triggerDesc:$r}=Et||{};let Dr=rr;Xa===Hl?Dr=$r:Xa===Yl&&(Dr=Tr);const Gr=typeof na=="object"?na:{title:Dr};pn=Object.assign(Object.assign({},pn),{className:Ke()(pn.className,{[`${Ee}-column-sort`]:Ht}),title:zr=>{const tr=le.createElement("div",{className:`${Ee}-column-sorters`},le.createElement("span",{className:`${Ee}-column-title`},fn(Ut.title,zr)),_a);return na?le.createElement(Bu.Z,Object.assign({},Gr),tr):tr},onHeaderCell:zr=>{const tr=Ut.onHeaderCell&&Ut.onHeaderCell(zr)||{},nr=tr.onClick,fr=tr.onKeyDown;tr.onClick=Kr=>{rt({column:Ut,key:ca,sortOrder:Xa,multiplePriority:qa(Ut)}),nr==null||nr(Kr)},tr.onKeyDown=Kr=>{Kr.keyCode===yl.Z.ENTER&&(rt({column:Ut,key:ca,sortOrder:Xa,multiplePriority:qa(Ut)}),fr==null||fr(Kr))};const Wa=Mn(Ut.title,{}),or=Wa==null?void 0:Wa.toString();return Ht?tr["aria-sort"]=Ht==="ascend"?"ascending":"descending":tr["aria-label"]=or||"",tr.className=Ke()(tr.className,`${Ee}-column-has-sorters`),tr.tabIndex=0,Ut.ellipsis&&(tr.title=(Wa!=null?Wa:"").toString()),tr}})}return"children"in pn&&(pn=Object.assign(Object.assign({},pn),{children:wu(Ee,pn.children,Qe,rt,Pt,Et,$t,vn)})),pn})}function ts(Ee){const{column:Ce,sortOrder:Qe}=Ee;return{column:Ce,order:Qe,field:Ce.dataIndex,columnKey:Ce.key}}function cu(Ee){const Ce=Ee.filter(Qe=>{let{sortOrder:rt}=Qe;return rt}).map(ts);return Ce.length===0&&Ee.length?Object.assign(Object.assign({},ts(Ee[Ee.length-1])),{column:void 0}):Ce.length<=1?Ce[0]||{}:Ce}function Qi(Ee,Ce,Qe){const rt=Ce.slice().sort(($t,Yt)=>Yt.multiplePriority-$t.multiplePriority),Pt=Ee.slice(),Et=rt.filter($t=>{let{column:{sorter:Yt},sortOrder:Ut}=$t;return du(Yt)&&Ut});return Et.length?Pt.sort(($t,Yt)=>{for(let Ut=0;Ut{const Yt=$t[Qe];return Yt?Object.assign(Object.assign({},$t),{[Qe]:Qi(Yt,Ce,Qe)}):$t}):Pt}function ls(Ee){let{prefixCls:Ce,mergedColumns:Qe,onSorterChange:rt,sortDirections:Pt,tableLocale:Et,showSorterTooltip:$t}=Ee;const[Yt,Ut]=le.useState(is(Qe,!0)),Cn=le.useMemo(()=>{let ca=!0;const Aa=is(Qe,!1);if(!Aa.length)return Yt;const Ht=[];function Xa(rr){ca?Ht.push(rr):Ht.push(Object.assign(Object.assign({},rr),{sortOrder:null}))}let _a=null;return Aa.forEach(rr=>{_a===null?(Xa(rr),rr.sortOrder&&(rr.multiplePriority===!1?ca=!1:_a=!0)):(_a&&rr.multiplePriority!==!1||(ca=!1),Xa(rr))}),Ht},[Qe,Yt]),vn=le.useMemo(()=>{const ca=Cn.map(Aa=>{let{column:Ht,sortOrder:Xa}=Aa;return{column:Ht,order:Xa}});return{sortColumns:ca,sortColumn:ca[0]&&ca[0].column,sortOrder:ca[0]&&ca[0].order}},[Cn]);function pn(ca){let Aa;ca.multiplePriority===!1||!Cn.length||Cn[0].multiplePriority===!1?Aa=[ca]:Aa=[].concat((0,fa.Z)(Cn.filter(Ht=>{let{key:Xa}=Ht;return Xa!==ca.key})),[ca]),Ut(Aa),rt(cu(Aa),Aa)}return[ca=>wu(Ce,ca,Cn,pn,Pt,Et,$t),Cn,vn,()=>cu(Cn)]}function us(Ee,Ce){return Ee.map(Qe=>{const rt=Object.assign({},Qe);return rt.title=fn(Qe.title,Ce),"children"in rt&&(rt.children=us(rt.children,Ce)),rt})}function ss(Ee){return[le.useCallback(Qe=>us(Qe,Ee),[Ee])]}var Gu=Or((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:rt}=Ce;return Qe!==rt}),Jl=ri((Ee,Ce)=>{const{_renderTimes:Qe}=Ee,{_renderTimes:rt}=Ce;return Qe!==rt}),Xl=ee(64993),ru=ee(17313),fu=ee(83116),Wu=ee(37613),Se=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=(Pt,Et,$t)=>({[`&${Ce}-${Pt}`]:{[`> ${Ce}-container`]:{[`> ${Ce}-content, > ${Ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Ce}-expanded-row-fixed`]:{margin:`-${Et}px -${$t+Ee.lineWidth}px`}}}}}});return{[`${Ce}-wrapper`]:{[`${Ce}${Ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Ce}-title`]:{border:Qe,borderBottom:0},[`> ${Ce}-container`]:{borderInlineStart:Qe,borderTop:Qe,[` > ${Ce}-content, > ${Ce}-header, > ${Ce}-body, @@ -237,7 +237,7 @@ `]:{"> th, > td":{borderInlineEnd:0}}}}}},rt("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle)),rt("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall)),{[`> ${Ce}-footer`]:{border:Qe,borderTop:0}}),[`${Ce}-cell`]:{[`${Ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${Ee.lineWidth}px 0 ${Ee.lineWidth}px ${Ee.tableHeaderBg}`}},[`${Ce}-bordered ${Ce}-cell-scrollbar`]:{borderInlineEnd:Qe}}}},tt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-cell-ellipsis`]:Object.assign(Object.assign({},ru.vS),{wordBreak:"keep-all",[` &${Ce}-cell-fix-left-last, &${Ce}-cell-fix-right-first - `]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:Ee.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ee.colorBgContainer}}}}},Wt=ee(15969),Tn=Ee=>{const{componentCls:Ce,antCls:Qe,controlInteractiveSize:rt,motionDurationSlow:Pt,lineWidth:Et,paddingXS:$t,lineType:Yt,tableBorderColor:Ut,tableExpandIconBg:Cn,tableExpandColumnWidth:vn,borderRadius:pn,fontSize:qn,fontSizeSM:na,lineHeight:ca,tablePaddingVertical:Aa,tablePaddingHorizontal:Kt,tableExpandedRowBg:Xa,paddingXXS:_a}=Ee,rr=rt/2-Et,Tr=rr*2+Et*3,$r=`${Et}px ${Yt} ${Ut}`,Dr=_a-Et;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:vn},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Wt.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:Tr,height:Tr,padding:0,color:"inherit",lineHeight:`${Tr}px`,background:Cn,border:$r,borderRadius:pn,transform:`scale(${rt/Tr})`,transition:`all ${Pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:rr,insetInlineEnd:Dr,insetInlineStart:Dr,height:Et},"&::after":{top:Dr,bottom:Dr,insetInlineStart:rr,width:Et,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"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:(qn*ca-Et*3)/2-Math.ceil((na*1.4-Et*3)/2),marginInlineEnd:$t},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Xa}},[`${Qe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Aa}px -${Kt}px`,padding:`${Aa}px ${Kt}px`}}}},Ca=Ee=>{const{componentCls:Ce,antCls:Qe,iconCls:rt,tableFilterDropdownWidth:Pt,tableFilterDropdownSearchWidth:Et,paddingXXS:$t,paddingXS:Yt,colorText:Ut,lineWidth:Cn,lineType:vn,tableBorderColor:pn,tableHeaderIconColor:qn,fontSizeSM:na,tablePaddingHorizontal:ca,borderRadius:Aa,motionDurationSlow:Kt,colorTextDescription:Xa,colorPrimary:_a,tableHeaderFilterActiveBg:rr,colorTextDisabled:Tr,tableFilterDropdownBg:$r,tableFilterDropdownHeight:Dr,controlItemBgHover:Gr,controlItemBgActive:zr,boxShadowSecondary:tr,filterDropdownMenuBg:nr}=Ee,fr=`${Qe}-dropdown`,Wa=`${Ce}-filter-dropdown`,or=`${Qe}-tree`,Kr=`${Cn}px ${vn} ${pn}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-$t,marginInline:`${$t}px ${-ca/2}px`,padding:`0 ${$t}px`,color:qn,fontSize:na,borderRadius:Aa,cursor:"pointer",transition:`all ${Kt}`,"&:hover":{color:Xa,background:rr},"&.active":{color:_a}}}},{[`${Qe}-dropdown`]:{[Wa]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{minWidth:Pt,backgroundColor:$r,borderRadius:Aa,boxShadow:tr,overflow:"hidden",[`${fr}-menu`]:{maxHeight:Dr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:nr,"&:empty::after":{display:"block",padding:`${Yt}px 0`,color:Tr,fontSize:na,textAlign:"center",content:'"Not Found"'}},[`${Wa}-tree`]:{paddingBlock:`${Yt}px 0`,paddingInline:Yt,[or]:{padding:0},[`${or}-treenode ${or}-node-content-wrapper:hover`]:{backgroundColor:Gr},[`${or}-treenode-checkbox-checked ${or}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zr}}},[`${Wa}-search`]:{padding:Yt,borderBottom:Kr,"&-input":{input:{minWidth:Et},[rt]:{color:Tr}}},[`${Wa}-checkall`]:{width:"100%",marginBottom:$t,marginInlineStart:$t},[`${Wa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Yt-Cn}px ${Yt}px`,overflow:"hidden",borderTop:Kr}})}},{[`${Qe}-dropdown ${Wa}, ${Wa}-submenu`]:{[`${Qe}-checkbox-wrapper + span`]:{paddingInlineStart:Yt,color:Ut},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},mn=Ee=>{const{componentCls:Ce,lineWidth:Qe,colorSplit:rt,motionDurationSlow:Pt,zIndexTableFixed:Et,tableBg:$t,zIndexTableSticky:Yt}=Ee,Ut=rt;return{[`${Ce}-wrapper`]:{[` + `]:{overflow:"visible",[`${Ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},qt=Ee=>{const{componentCls:Ce}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody > tr${Ce}-placeholder`]:{textAlign:"center",color:Ee.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:Ee.colorBgContainer}}}}},Kt=ee(15969),Tn=Ee=>{const{componentCls:Ce,antCls:Qe,controlInteractiveSize:rt,motionDurationSlow:Pt,lineWidth:Et,paddingXS:$t,lineType:Yt,tableBorderColor:Ut,tableExpandIconBg:Cn,tableExpandColumnWidth:vn,borderRadius:pn,fontSize:qn,fontSizeSM:na,lineHeight:ca,tablePaddingVertical:Aa,tablePaddingHorizontal:Ht,tableExpandedRowBg:Xa,paddingXXS:_a}=Ee,rr=rt/2-Et,Tr=rr*2+Et*3,$r=`${Et}px ${Yt} ${Ut}`,Dr=_a-Et;return{[`${Ce}-wrapper`]:{[`${Ce}-expand-icon-col`]:{width:vn},[`${Ce}-row-expand-icon-cell`]:{textAlign:"center",[`${Ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Ce}-row-indent`]:{height:1,float:"left"},[`${Ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Kt.N)(Ee)),{position:"relative",float:"left",boxSizing:"border-box",width:Tr,height:Tr,padding:0,color:"inherit",lineHeight:`${Tr}px`,background:Cn,border:$r,borderRadius:pn,transform:`scale(${rt/Tr})`,transition:`all ${Pt}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Pt} ease-out`,content:'""'},"&::before":{top:rr,insetInlineEnd:Dr,insetInlineStart:Dr,height:Et},"&::after":{top:Dr,bottom:Dr,insetInlineStart:rr,width:Et,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"}}),[`${Ce}-row-indent + ${Ce}-row-expand-icon`]:{marginTop:(qn*ca-Et*3)/2-Math.ceil((na*1.4-Et*3)/2),marginInlineEnd:$t},[`tr${Ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Xa}},[`${Qe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${Ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Aa}px -${Ht}px`,padding:`${Aa}px ${Ht}px`}}}},Ca=Ee=>{const{componentCls:Ce,antCls:Qe,iconCls:rt,tableFilterDropdownWidth:Pt,tableFilterDropdownSearchWidth:Et,paddingXXS:$t,paddingXS:Yt,colorText:Ut,lineWidth:Cn,lineType:vn,tableBorderColor:pn,tableHeaderIconColor:qn,fontSizeSM:na,tablePaddingHorizontal:ca,borderRadius:Aa,motionDurationSlow:Ht,colorTextDescription:Xa,colorPrimary:_a,tableHeaderFilterActiveBg:rr,colorTextDisabled:Tr,tableFilterDropdownBg:$r,tableFilterDropdownHeight:Dr,controlItemBgHover:Gr,controlItemBgActive:zr,boxShadowSecondary:tr,filterDropdownMenuBg:nr}=Ee,fr=`${Qe}-dropdown`,Wa=`${Ce}-filter-dropdown`,or=`${Qe}-tree`,Kr=`${Cn}px ${vn} ${pn}`;return[{[`${Ce}-wrapper`]:{[`${Ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-$t,marginInline:`${$t}px ${-ca/2}px`,padding:`0 ${$t}px`,color:qn,fontSize:na,borderRadius:Aa,cursor:"pointer",transition:`all ${Ht}`,"&:hover":{color:Xa,background:rr},"&.active":{color:_a}}}},{[`${Qe}-dropdown`]:{[Wa]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{minWidth:Pt,backgroundColor:$r,borderRadius:Aa,boxShadow:tr,overflow:"hidden",[`${fr}-menu`]:{maxHeight:Dr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:nr,"&:empty::after":{display:"block",padding:`${Yt}px 0`,color:Tr,fontSize:na,textAlign:"center",content:'"Not Found"'}},[`${Wa}-tree`]:{paddingBlock:`${Yt}px 0`,paddingInline:Yt,[or]:{padding:0},[`${or}-treenode ${or}-node-content-wrapper:hover`]:{backgroundColor:Gr},[`${or}-treenode-checkbox-checked ${or}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zr}}},[`${Wa}-search`]:{padding:Yt,borderBottom:Kr,"&-input":{input:{minWidth:Et},[rt]:{color:Tr}}},[`${Wa}-checkall`]:{width:"100%",marginBottom:$t,marginInlineStart:$t},[`${Wa}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Yt-Cn}px ${Yt}px`,overflow:"hidden",borderTop:Kr}})}},{[`${Qe}-dropdown ${Wa}, ${Wa}-submenu`]:{[`${Qe}-checkbox-wrapper + span`]:{paddingInlineStart:Yt,color:Ut},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},mn=Ee=>{const{componentCls:Ce,lineWidth:Qe,colorSplit:rt,motionDurationSlow:Pt,zIndexTableFixed:Et,tableBg:$t,zIndexTableSticky:Yt}=Ee,Ut=rt;return{[`${Ce}-wrapper`]:{[` ${Ce}-cell-fix-left, ${Ce}-cell-fix-right `]:{position:"sticky !important",zIndex:Et,background:$t},[` @@ -267,7 +267,7 @@ `]:{padding:`${Pt}px ${Et}px`},[`${Ce}-filter-trigger`]:{marginInlineEnd:`-${Et/2}px`},[`${Ce}-expanded-row-fixed`]:{margin:`-${Pt}px -${Et}px`},[`${Ce}-tbody`]:{[`${Ce}-wrapper:only-child ${Ce}`]:{marginBlock:`-${Pt}px`,marginInline:`${Ee.tableExpandColumnWidth-Et}px -${Et}px`}},[`${Ce}-selection-column`]:{paddingInlineStart:`${Et/4}px`}}});return{[`${Ce}-wrapper`]:Object.assign(Object.assign({},Qe("middle",Ee.tablePaddingVerticalMiddle,Ee.tablePaddingHorizontalMiddle,Ee.tableFontSizeMiddle)),Qe("small",Ee.tablePaddingVerticalSmall,Ee.tablePaddingHorizontalSmall,Ee.tableFontSizeSmall))}},Ko=Ee=>{const{componentCls:Ce,marginXXS:Qe,fontSizeIcon:rt,tableHeaderIconColor:Pt,tableHeaderIconColorHover:Et}=Ee;return{[`${Ce}-wrapper`]:{[`${Ce}-thead th${Ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${Ee.motionDurationSlow}`,"&:hover":{background:Ee.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:Ee.colorPrimary},[` &${Ce}-cell-fix-left:hover, &${Ce}-cell-fix-right:hover - `]:{background:Ee.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:Ee.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:Ee.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorter`]:{marginInlineStart:Qe,color:Pt,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:rt,"&.active":{color:Ee.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:Et}}}},zo=Ee=>{const{componentCls:Ce,opacityLoading:Qe,tableScrollThumbBg:rt,tableScrollThumbBgHover:Pt,tableScrollThumbSize:Et,tableScrollBg:$t,zIndexTableSticky:Yt,stickyScrollBarBorderRadius:Ut}=Ee,Cn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Yt,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Et}px !important`,zIndex:Yt,display:"flex",alignItems:"center",background:$t,borderTop:Cn,opacity:Qe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Et,backgroundColor:rt,borderRadius:Ut,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Pt}}}}}}},ii=Ee=>{const{componentCls:Ce,lineWidth:Qe,tableBorderColor:rt}=Ee,Pt=`${Qe}px ${Ee.lineType} ${rt}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:Pt}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Qe}px 0 ${rt}`}}}},zi=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Qe},[`${Ce}-expanded-row`]:{[`${rt}${rt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Qe,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Qe,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:Qe}}}}}}};const oo=Ee=>{const{componentCls:Ce,fontWeightStrong:Qe,tablePaddingVertical:rt,tablePaddingHorizontal:Pt,lineWidth:Et,lineType:$t,tableBorderColor:Yt,tableFontSize:Ut,tableBg:Cn,tableRadius:vn,tableHeaderTextColor:pn,motionDurationMid:qn,tableHeaderBg:na,tableHeaderCellSplitColor:ca,tableRowHoverBg:Aa,tableSelectedRowBg:Kt,tableSelectedRowHoverBg:Xa,tableFooterTextColor:_a,tableFooterBg:rr,paddingContentVerticalLG:Tr}=Ee,$r=`${Et}px ${$t} ${Yt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ru.dF)()),{[Ce]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{fontSize:Ut,background:Cn,borderRadius:`${vn}px ${vn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${vn}px ${vn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:Ee.tableFixedHeaderSortActiveBg}},[`${Ce}-thead th${Ce}-column-sort`]:{background:Ee.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Ce}-column-sort`]:{background:Ee.tableBodySortBg},[`${Ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${Ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Ce}-column-sorter`]:{marginInlineStart:Qe,color:Pt,fontSize:0,transition:`color ${Ee.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:rt,"&.active":{color:Ee.colorPrimary}},[`${Ce}-column-sorter-up + ${Ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Ce}-column-sorters:hover ${Ce}-column-sorter`]:{color:Et}}}},zo=Ee=>{const{componentCls:Ce,opacityLoading:Qe,tableScrollThumbBg:rt,tableScrollThumbBgHover:Pt,tableScrollThumbSize:Et,tableScrollBg:$t,zIndexTableSticky:Yt,stickyScrollBarBorderRadius:Ut}=Ee,Cn=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`;return{[`${Ce}-wrapper`]:{[`${Ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:Yt,background:Ee.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Et}px !important`,zIndex:Yt,display:"flex",alignItems:"center",background:$t,borderTop:Cn,opacity:Qe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Et,backgroundColor:rt,borderRadius:Ut,transition:`all ${Ee.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Pt}}}}}}},ii=Ee=>{const{componentCls:Ce,lineWidth:Qe,tableBorderColor:rt}=Ee,Pt=`${Qe}px ${Ee.lineType} ${rt}`;return{[`${Ce}-wrapper`]:{[`${Ce}-summary`]:{position:"relative",zIndex:Ee.zIndexTableFixed,background:Ee.tableBg,"> tr":{"> th, > td":{borderBottom:Pt}}},[`div${Ce}-summary`]:{boxShadow:`0 -${Qe}px 0 ${rt}`}}}},zi=Ee=>{const{componentCls:Ce}=Ee,Qe=`${Ee.lineWidth}px ${Ee.lineType} ${Ee.tableBorderColor}`,rt=`${Ce}-expanded-row-cell`;return{[`${Ce}-wrapper`]:{[`${Ce}-tbody-virtual`]:{[`${Ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${Ce}-cell`]:{borderBottom:Qe},[`${Ce}-expanded-row`]:{[`${rt}${rt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Ee.lineWidth}px)`,borderInlineEnd:"none"}}},[`${Ce}-bordered`]:{[`${Ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Qe,position:"absolute"},[`${Ce}-cell`]:{borderInlineEnd:Qe,[`&${Ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-Ee.lineWidth,borderInlineStart:Qe}}}}}}};const oo=Ee=>{const{componentCls:Ce,fontWeightStrong:Qe,tablePaddingVertical:rt,tablePaddingHorizontal:Pt,lineWidth:Et,lineType:$t,tableBorderColor:Yt,tableFontSize:Ut,tableBg:Cn,tableRadius:vn,tableHeaderTextColor:pn,motionDurationMid:qn,tableHeaderBg:na,tableHeaderCellSplitColor:ca,tableRowHoverBg:Aa,tableSelectedRowBg:Ht,tableSelectedRowHoverBg:Xa,tableFooterTextColor:_a,tableFooterBg:rr,paddingContentVerticalLG:Tr}=Ee,$r=`${Et}px ${$t} ${Yt}`;return{[`${Ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ru.dF)()),{[Ce]:Object.assign(Object.assign({},(0,ru.Wf)(Ee)),{fontSize:Ut,background:Cn,borderRadius:`${vn}px ${vn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${vn}px ${vn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${Ce}-cell, ${Ce}-thead > tr > th, ${Ce}-tbody > tr > th, @@ -282,24 +282,24 @@ &${Ce}-row:hover > td, > th${Ce}-cell-row-hover, > td${Ce}-cell-row-hover - `]:{background:Aa},[`&${Ce}-row-selected`]:{"> th, > td":{background:Kt},"&:hover > th, &:hover > td":{background:Xa}}}},[`${Ce}-footer`]:{padding:`${rt}px ${Pt}px`,color:_a,background:rr}})}};var Lo=(0,fu.Z)("Table",Ee=>{const{colorTextHeading:Ce,colorSplit:Qe,colorIcon:rt,colorIconHover:Pt,opacityLoading:Et,colorBgContainer:$t,controlInteractiveSize:Yt,headerBg:Ut,headerColor:Cn,headerSortActiveBg:vn,headerSortHoverBg:pn,bodySortBg:qn,rowHoverBg:na,rowSelectedBg:ca,rowSelectedHoverBg:Aa,rowExpandedBg:Kt,cellPaddingBlock:Xa,cellPaddingInline:_a,cellPaddingBlockMD:rr,cellPaddingInlineMD:Tr,cellPaddingBlockSM:$r,cellPaddingInlineSM:Dr,borderColor:Gr,footerBg:zr,footerColor:tr,headerBorderRadius:nr,cellFontSize:fr,cellFontSizeMD:Wa,cellFontSizeSM:or,headerSplitColor:Kr,fixedHeaderSortActiveBg:Po,headerFilterHoverBg:lo,filterDropdownBg:Mr,expandIconBg:vo,selectionColumnWidth:Bo,stickyScrollBarBg:Ra}=Ee,wo=new Xl.C(rt),yi=new Xl.C(Pt),Do=2,Xr=(0,Wu.TS)(Ee,{tableFontSize:fr,tableBg:$t,tableRadius:nr,tablePaddingVertical:Xa,tablePaddingHorizontal:_a,tablePaddingVerticalMiddle:rr,tablePaddingHorizontalMiddle:Tr,tablePaddingVerticalSmall:$r,tablePaddingHorizontalSmall:Dr,tableBorderColor:Gr,tableHeaderTextColor:Cn,tableHeaderBg:Ut,tableFooterTextColor:tr,tableFooterBg:zr,tableHeaderCellSplitColor:Kr,tableHeaderSortBg:vn,tableHeaderSortHoverBg:pn,tableHeaderIconColor:wo.clone().setAlpha(wo.getAlpha()*Et).toRgbString(),tableHeaderIconColorHover:yi.clone().setAlpha(yi.getAlpha()*Et).toRgbString(),tableBodySortBg:qn,tableFixedHeaderSortActiveBg:Po,tableHeaderFilterActiveBg:lo,tableFilterDropdownBg:Mr,tableRowHoverBg:na,tableSelectedRowBg:ca,tableSelectedRowHoverBg:Aa,zIndexTableFixed:Do,zIndexTableSticky:Do+1,tableFontSizeMiddle:Wa,tableFontSizeSmall:or,tableSelectionColumnWidth:Bo,tableExpandIconBg:vo,tableExpandColumnWidth:Yt+2*Ee.padding,tableExpandedRowBg:Kt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ra,tableScrollThumbBgHover:Ce,tableScrollBg:Qe});return[oo(Xr),Ia(Xr),ii(Xr),Ko(Xr),Ca(Xr),Se(Xr),sa(Xr),Tn(Xr),ii(Xr),qt(Xr),wr(Xr),mn(Xr),zo(Xr),tt(Xr),Lr(Xr),Br(Xr),zi(Xr)]},Ee=>{const{colorFillAlter:Ce,colorBgContainer:Qe,colorTextHeading:rt,colorFillSecondary:Pt,colorFillContent:Et,controlItemBgActive:$t,controlItemBgActiveHover:Yt,padding:Ut,paddingSM:Cn,paddingXS:vn,colorBorderSecondary:pn,borderRadiusLG:qn,fontSize:na,controlHeight:ca,colorTextPlaceholder:Aa}=Ee,Kt=new Xl.C(Pt).onBackground(Qe).toHexShortString(),Xa=new Xl.C(Et).onBackground(Qe).toHexShortString(),_a=new Xl.C(Ce).onBackground(Qe).toHexShortString();return{headerBg:_a,headerColor:rt,headerSortActiveBg:Kt,headerSortHoverBg:Xa,bodySortBg:_a,rowHoverBg:_a,rowSelectedBg:$t,rowSelectedHoverBg:Yt,rowExpandedBg:Ce,cellPaddingBlock:Ut,cellPaddingInline:Ut,cellPaddingBlockMD:Cn,cellPaddingInlineMD:vn,cellPaddingBlockSM:vn,cellPaddingInlineSM:vn,borderColor:pn,headerBorderRadius:qn,footerBg:_a,footerColor:rt,cellFontSize:na,cellFontSizeMD:na,cellFontSizeSM:na,headerSplitColor:pn,fixedHeaderSortActiveBg:Kt,headerFilterHoverBg:Et,filterDropdownMenuBg:Qe,filterDropdownBg:Qe,expandIconBg:Qe,selectionColumnWidth:ca,stickyScrollBarBg:Aa,stickyScrollBarBorderRadius:100}});const To=[],wi=(Ee,Ce)=>{const{prefixCls:Qe,className:rt,rootClassName:Pt,style:Et,size:$t,bordered:Yt,dropdownPrefixCls:Ut,dataSource:Cn,pagination:vn,rowSelection:pn,rowKey:qn="key",rowClassName:na,columns:ca,children:Aa,childrenColumnName:Kt,onChange:Xa,getPopupContainer:_a,loading:rr,expandIcon:Tr,expandable:$r,expandedRowRender:Dr,expandIconColumnIndex:Gr,indentSize:zr,scroll:tr,sortDirections:nr,locale:fr,showSorterTooltip:Wa=!0,virtual:or}=Ee,Kr=le.useMemo(()=>ca||pt(Aa),[ca,Aa]),Po=le.useMemo(()=>Kr.some(ea=>ea.responsive),[Kr]),lo=(0,dl.Z)(Po),Mr=le.useMemo(()=>{const ea=new Set(Object.keys(lo).filter(xo=>lo[xo]));return Kr.filter(xo=>!xo.responsive||xo.responsive.some(Li=>ea.has(Li)))},[Kr,lo]),vo=(0,tl.Z)(Ee,["className","style","columns"]),{locale:Bo=gl.Z,direction:Ra,table:wo,renderEmpty:yi,getPrefixCls:Do,getPopupContainer:Xr}=le.useContext(Vo.E_),bi=(0,Wi.Z)($t),Qr=Object.assign(Object.assign({},Bo.Table),fr),gi=Cn||To,_o=Do("table",Qe),_i=Do("dropdown",Ut),to=Object.assign({childrenColumnName:Kt,expandIconColumnIndex:Gr},$r),{childrenColumnName:_r="children"}=to,Yr=le.useMemo(()=>gi.some(ea=>ea==null?void 0:ea[_r])?"nest":Dr||$r&&$r.expandedRowRender?"row":null,[gi]),Zr={body:le.useRef()},ce=le.useMemo(()=>typeof qn=="function"?qn:ea=>ea==null?void 0:ea[qn],[qn]),[pe]=Tu(gi,_r,ce),Pe={},Ot=function(ea,xo){let Li=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Zo,Ci,Ri;const oi=Object.assign(Object.assign({},Pe),ea);Li&&((Zo=Pe.resetPagination)===null||Zo===void 0||Zo.call(Pe),!((Ci=oi.pagination)===null||Ci===void 0)&&Ci.current&&(oi.pagination.current=1),vn&&vn.onChange&&vn.onChange(1,(Ri=oi.pagination)===null||Ri===void 0?void 0:Ri.pageSize)),tr&&tr.scrollToFirstRowOnChange!==!1&&Zr.body.current&&(0,nl.Z)(0,{getContainer:()=>Zr.body.current}),Xa==null||Xa(oi.pagination,oi.filters,oi.sorter,{currentDataSource:ku(Qi(gi,oi.sorterStates,_r),oi.filterStates),action:xo})},tn=(ea,xo)=>{Ot({sorter:ea,sorterStates:xo},"sort",!1)},[wa,ma,zn,Ht]=ls({prefixCls:_o,mergedColumns:Mr,onSorterChange:tn,sortDirections:nr||["ascend","descend"],tableLocale:Qr,showSorterTooltip:Wa}),Yn=le.useMemo(()=>Qi(gi,ma,_r),[gi,ma]);Pe.sorter=Ht(),Pe.sorterStates=ma;const xn=(ea,xo)=>{Ot({filters:ea,filterStates:xo},"filter",!0)},[Ct,gn,In]=bu({prefixCls:_o,locale:Qr,dropdownPrefixCls:_i,mergedColumns:Mr,onFilterChange:xn,getPopupContainer:_a||Xr}),ra=ku(Yn,gn);Pe.filters=In,Pe.filterStates=gn;const Hn=le.useMemo(()=>{const ea={};return Object.keys(In).forEach(xo=>{In[xo]!==null&&(ea[xo]=In[xo])}),Object.assign(Object.assign({},zn),{filters:ea})},[zn,In]),[ba]=ss(Hn),ta=(ea,xo)=>{Ot({pagination:Object.assign(Object.assign({},Pe.pagination),{current:ea,pageSize:xo})},"paginate")},[oa,Ka]=fs(ra.length,ta,vn);Pe.pagination=vn===!1?{}:ji(oa,vn),Pe.resetPagination=Ka;const Pn=le.useMemo(()=>{if(vn===!1||!oa.pageSize)return ra;const{current:ea=1,total:xo,pageSize:Li=bl}=oa;return ra.lengthLi?ra.slice((ea-1)*Li,ea*Li):ra:ra.slice((ea-1)*Li,ea*Li)},[!!vn,ra,oa&&oa.current,oa&&oa.pageSize,oa&&oa.total]),[ya,ja]=qu({prefixCls:_o,data:ra,pageData:Pn,getRowKey:ce,getRecordByKey:pe,expandType:Yr,childrenColumnName:_r,locale:Qr,getPopupContainer:_a||Xr},pn),qr=(ea,xo,Li)=>{let Zo;return typeof na=="function"?Zo=Ke()(na(ea,xo,Li)):Zo=Ke()(na),Ke()({[`${_o}-row-selected`]:ja.has(ce(ea,xo))},Zo)};to.__PARENT_RENDER_ICON__=to.expandIcon,to.expandIcon=to.expandIcon||Tr||Ya(Qr),Yr==="nest"&&to.expandIconColumnIndex===void 0?to.expandIconColumnIndex=pn?1:0:to.expandIconColumnIndex>0&&pn&&(to.expandIconColumnIndex-=1),typeof to.indentSize!="number"&&(to.indentSize=typeof zr=="number"?zr:15);const cr=le.useCallback(ea=>ba(ya(Ct(wa(ea)))),[wa,Ct,ya]);let li,Za;if(vn!==!1&&(oa!=null&&oa.total)){let ea;oa.size?ea=oa.size:ea=bi==="small"||bi==="middle"?"small":void 0;const xo=Ci=>le.createElement(Pl.Z,Object.assign({},oa,{className:Ke()(`${_o}-pagination ${_o}-pagination-${Ci}`,oa.className),size:ea})),Li=Ra==="rtl"?"left":"right",{position:Zo}=oa;if(Zo!==null&&Array.isArray(Zo)){const Ci=Zo.find(il=>il.includes("top")),Ri=Zo.find(il=>il.includes("bottom")),oi=Zo.every(il=>`${il}`=="none");!Ci&&!Ri&&!oi&&(Za=xo(Li)),Ci&&(li=xo(Ci.toLowerCase().replace("top",""))),Ri&&(Za=xo(Ri.toLowerCase().replace("bottom","")))}else Za=xo(Li)}let Co;typeof rr=="boolean"?Co={spinning:rr}:typeof rr=="object"&&(Co=Object.assign({spinning:!0},rr));const[Cr,ao]=Lo(_o),[,Eo]=(0,Qa.Z)(),hi=Ke()(`${_o}-wrapper`,wo==null?void 0:wo.className,{[`${_o}-wrapper-rtl`]:Ra==="rtl"},rt,Pt,ao),mi=Object.assign(Object.assign({},wo==null?void 0:wo.style),Et),pr=fr&&fr.emptyText||(yi==null?void 0:yi("Table"))||le.createElement(Fi.Z,{componentName:"Table"}),po=or?Jl:Gu,Ki={},Oi=le.useMemo(()=>{const{fontSize:ea,lineHeight:xo,padding:Li,paddingXS:Zo,paddingSM:Ci}=Eo,Ri=Math.floor(ea*xo);switch(bi){case"large":return Li*2+Ri;case"small":return Zo*2+Ri;default:return Ci*2+Ri}},[Eo,bi]);return or&&(Ki.listItemHeight=Oi),Cr(le.createElement("div",{ref:Ce,className:hi,style:mi},le.createElement(kr.Z,Object.assign({spinning:!1},Co),li,le.createElement(po,Object.assign({},Ki,vo,{columns:Mr,direction:Ra,expandable:to,prefixCls:_o,className:Ke()({[`${_o}-middle`]:bi==="middle",[`${_o}-small`]:bi==="small",[`${_o}-bordered`]:Yt,[`${_o}-empty`]:gi.length===0}),data:Pn,rowKey:ce,rowClassName:qr,emptyText:pr,internalHooks:de,internalRefs:Zr,transformColumns:cr})),Za)))};var Ni=le.forwardRef(wi);const fi=(Ee,Ce)=>{const Qe=le.useRef(0);return Qe.current+=1,le.createElement(Ni,Object.assign({},Ee,{ref:Ce,_renderTimes:Qe.current}))},Ro=le.forwardRef(fi);Ro.SELECTION_COLUMN=Il,Ro.EXPAND_COLUMN=b,Ro.SELECTION_ALL=Hu,Ro.SELECTION_INVERT=xu,Ro.SELECTION_NONE=Fu,Ro.Column=di,Ro.ColumnGroup=Ui,Ro.Summary=Oe;var ol=Ro,Xi=ol},12563:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return He}});var b=ee(59301),de=ee(99267),Be=ee(92310),Ne=ee.n(Be),Ze=ee(36785),ke=ee(47729),le=ee(14088),st=ee(36355),et=ee(17313),Ve=ee(37613),Ge=ee(83116);const Je=he=>{const{paddingXXS:qe,lineWidth:Ke,tagPaddingHorizontal:ht,componentCls:Le}=he,ot=ht-Ke,lt=qe-Ke;return{[Le]:Object.assign(Object.assign({},(0,et.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ot,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Le}-close-icon`]:{marginInlineStart:lt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Le}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ot}}),[`${Le}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Ye=he=>{const{lineWidth:qe,fontSizeIcon:Ke}=he,ht=he.fontSizeSM,Le=`${he.lineHeightSM*ht}px`;return(0,Ve.TS)(he,{tagFontSize:ht,tagLineHeight:Le,tagIconSize:Ke-2*qe,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},se=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var E=(0,Ge.Z)("Tag",he=>{const qe=Ye(he);return Je(qe)},se),a=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le{const{prefixCls:qe,style:Ke,className:ht,checked:Le,onChange:ot,onClick:lt}=he,gt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ft,tag:ln}=b.useContext(st.E_),xt=rn=>{ot==null||ot(!Le),lt==null||lt(rn)},an=ft("tag",qe),[hn,$e]=E(an),dt=Ne()(an,`${an}-checkable`,{[`${an}-checkable-checked`]:Le},ln==null?void 0:ln.className,ht,$e);return hn(b.createElement("span",Object.assign({},gt,{style:Object.assign(Object.assign({},Ke),ln==null?void 0:ln.style),className:dt,onClick:xt})))},z=ee(45157);const ne=he=>(0,z.Z)(he,(qe,Ke)=>{let{textColor:ht,lightBorderColor:Le,lightColor:ot,darkColor:lt}=Ke;return{[`${he.componentCls}-${qe}`]:{color:ht,background:ot,borderColor:Le,"&-inverse":{color:he.colorTextLightSolid,background:lt,borderColor:lt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ge.b)(["Tag","preset"],he=>{const qe=Ye(he);return ne(qe)},se);function ue(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const ie=(he,qe,Ke)=>{const ht=ue(Ke);return{[`${he.componentCls}-${qe}`]:{color:he[`color${Ke}`],background:he[`color${ht}Bg`],borderColor:he[`color${ht}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ve=(0,Ge.b)(["Tag","status"],he=>{const qe=Ye(he);return[ie(qe,"success","Success"),ie(qe,"processing","Info"),ie(qe,"error","Error"),ie(qe,"warning","Warning")]},se),be=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le{const{prefixCls:Ke,className:ht,rootClassName:Le,style:ot,children:lt,icon:gt,color:ft,onClose:ln,closeIcon:xt,closable:an,bordered:hn=!0}=he,$e=be(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:dt,direction:rn,tag:Vn}=b.useContext(st.E_),[Zt,Fn]=b.useState(!0);b.useEffect(()=>{"visible"in $e&&Fn($e.visible)},[$e.visible]);const ze=(0,Ze.o2)(ft),ct=(0,Ze.yT)(ft),Lt=ze||ct,mt=Object.assign(Object.assign({backgroundColor:ft&&!Lt?ft:void 0},Vn==null?void 0:Vn.style),ot),Nt=dt("tag",Ke),[ut,at]=E(Nt),De=Ne()(Nt,Vn==null?void 0:Vn.className,{[`${Nt}-${ft}`]:Lt,[`${Nt}-has-color`]:ft&&!Lt,[`${Nt}-hidden`]:!Zt,[`${Nt}-rtl`]:rn==="rtl",[`${Nt}-borderless`]:!hn},ht,Le,at),fe=nt=>{nt.stopPropagation(),ln==null||ln(nt),!nt.defaultPrevented&&Fn(!1)},[,Xe]=(0,ke.Z)(an,xt,nt=>nt===null?b.createElement(de.Z,{className:`${Nt}-close-icon`,onClick:fe}):b.createElement("span",{className:`${Nt}-close-icon`,onClick:fe},nt),null,!1),Rt=typeof $e.onClick=="function"||lt&<.type==="a",Oe=gt||null,Ie=Oe?b.createElement(b.Fragment,null,Oe,lt&&b.createElement("span",null,lt)):lt,St=b.createElement("span",Object.assign({},$e,{ref:qe,className:De,style:mt}),Ie,Xe,ze&&b.createElement(re,{key:"preset",prefixCls:Nt}),ct&&b.createElement(ve,{key:"status",prefixCls:Nt}));return ut(Rt?b.createElement(le.Z,{component:"Tag"},St):St)},Ae=b.forwardRef(je);Ae.CheckableTag=y;var He=Ae},98228:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return yr}});var b=ee(92310),de=ee.n(b),Be=ee(92413),Ne=ee(26407),Ze=ee(33708),ke=ee(33606),le=ee(37061),st=ee(39559),et=ee(77861),Ve=ee(17115),Ge=ee(90782),Je=ee(18929),Ye=ee(48736),se=ee(59301),E=function(en){var On=se.useRef({valueLabels:new Map});return se.useMemo(function(){var ia=On.current.valueLabels,xa=new Map,We=en.map(function(It){var _t,Vt=It.value,Gt=(_t=It.label)!==null&&_t!==void 0?_t:ia.get(Vt);return xa.set(Vt,Gt),(0,Ze.Z)((0,Ze.Z)({},It),{},{label:Gt})});return On.current.valueLabels=xa,[We]},[en])},a=function(en,On,ia,xa){return se.useMemo(function(){var We=en.map(function(Gt){var Rn=Gt.value;return Rn}),It=On.map(function(Gt){var Rn=Gt.value;return Rn}),_t=We.filter(function(Gt){return!xa[Gt]});if(ia){var Vt=(0,Ge.S)(We,!0,xa);We=Vt.checkedKeys,It=Vt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(_t),(0,Ne.Z)(We)))),It]},[en,On,ia,xa])},x=ee(71430),y=function(en,On){return se.useMemo(function(){var ia=(0,x.I8)(en,{fieldNames:On,initWrapper:function(We){return(0,Ze.Z)((0,Ze.Z)({},We),{},{valueEntities:new Map})},processEntity:function(We,It){var _t=We.node[On.value];if(0)var Vt;It.valueEntities.set(_t,We)}});return ia},[en,On])},z=ee(400),ne=ee(11592),re=function(){return null},ue=re,ie=["children","value"];function ve(en){return(0,ne.Z)(en).map(function(On){if(!se.isValidElement(On)||!On.type)return null;var ia=On,xa=ia.key,We=ia.props,It=We.children,_t=We.value,Vt=(0,le.Z)(We,ie),Gt=(0,Ze.Z)({key:xa,value:_t},Vt),Rn=ve(It);return Rn.length&&(Gt.children=Rn),Gt}).filter(function(On){return On})}function be(en){if(!en)return en;var On=(0,Ze.Z)({},en);return"props"in On||Object.defineProperty(On,"props",{get:function(){return(0,Ye.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),On}}),On}function je(en,On,ia,xa,We,It){var _t=null,Vt=null;function Gt(){function Rn(wn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return wn.map(function(pt,Sn){var Wn="".concat(vt,"-").concat(Sn),An=pt[It.value],ka=ia.includes(An),pa=Rn(pt[It.children]||[],Wn,ka),_n=se.createElement(ue,pt,pa.map(function(Pa){return Pa.node}));if(On===An&&(_t=_n),ka){var Ea={pos:Wn,node:_n,children:pa};return Bt||Vt.push(Ea),Ea}return null}).filter(function(pt){return pt})}Vt||(Vt=[],Rn(xa),Vt.sort(function(wn,vt){var Bt=wn.node.props.value,pt=vt.node.props.value,Sn=ia.indexOf(Bt),Wn=ia.indexOf(pt);return Sn-Wn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Gt(),_t}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Gt(),We?Vt:Vt.map(function(wn){var vt=wn.node;return vt})}})}var Ae=function(en,On,ia){var xa=ia.treeNodeFilterProp,We=ia.filterTreeNode,It=ia.fieldNames,_t=It.children;return se.useMemo(function(){if(!On||We===!1)return en;var Vt;if(typeof We=="function")Vt=We;else{var Gt=On.toUpperCase();Vt=function(vt,Bt){var pt=Bt[xa];return String(pt).toUpperCase().includes(Gt)}}function Rn(wn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return wn.reduce(function(Bt,pt){var Sn=pt[_t],Wn=vt||Vt(On,be(pt)),An=Rn(Sn||[],Wn);return(Wn||An.length)&&Bt.push((0,Ze.Z)((0,Ze.Z)({},pt),{},(0,z.Z)({isLeaf:void 0},_t,An))),Bt},[])}return Rn(en)},[en,On,_t,xa,We])};function He(en){var On=se.useRef();On.current=en;var ia=se.useCallback(function(){return On.current.apply(On,arguments)},[]);return ia}function he(en,On){var ia=On.id,xa=On.pId,We=On.rootPId,It={},_t=[],Vt=en.map(function(Gt){var Rn=(0,Ze.Z)({},Gt),wn=Rn[ia];return It[wn]=Rn,Rn.key=Rn.key||wn,Rn});return Vt.forEach(function(Gt){var Rn=Gt[xa],wn=It[Rn];wn&&(wn.children=wn.children||[],wn.children.push(Gt)),(Rn===We||!wn&&We===null)&&_t.push(Gt)}),_t}function qe(en,On,ia){return se.useMemo(function(){return en?ia?he(en,(0,Ze.Z)({id:"id",pId:"pId",rootPId:null},ia!==!0?ia:{})):en:ve(On)},[On,ia,en])}var Ke=se.createContext(null),ht=Ke,Le=ee(10228),ot=ee(80547),lt=ee(23130),gt=se.createContext(null),ft=gt;function ln(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function xt(en){var On=en||{},ia=On.label,xa=On.value,We=On.children,It=xa||"value";return{_title:ia?[ia]:["title","label"],value:It,key:It,children:We||"children"}}function an(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function hn(en,On){var ia=[];function xa(We){We.forEach(function(It){var _t=It[On.children];_t&&(ia.push(It[On.value]),xa(_t))})}return xa(en),ia}function $e(en){return en==null}var dt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},rn=function(On,ia){var xa=(0,et.lk)(),We=xa.prefixCls,It=xa.multiple,_t=xa.searchValue,Vt=xa.toggleOpen,Gt=xa.open,Rn=xa.notFoundContent,wn=se.useContext(ft),vt=wn.virtual,Bt=wn.listHeight,pt=wn.listItemHeight,Sn=wn.treeData,Wn=wn.fieldNames,An=wn.onSelect,ka=wn.dropdownMatchSelectWidth,pa=wn.treeExpandAction,_n=se.useContext(ht),Ea=_n.checkable,Pa=_n.checkedKeys,Dn=_n.halfCheckedKeys,lr=_n.treeExpandedKeys,Nr=_n.treeDefaultExpandAll,Ur=_n.treeDefaultExpandedKeys,Sr=_n.onTreeExpand,Ue=_n.treeIcon,bn=_n.showTreeIcon,Xt=_n.switcherIcon,Nn=_n.treeLine,Kn=_n.treeNodeFilterProp,la=_n.loadData,Qn=_n.treeLoadedKeys,Un=_n.treeMotion,ur=_n.onTreeLoad,da=_n.keyEntities,En=se.useRef(),dr=(0,ot.Z)(function(){return Sn},[Gt,Sn],function(eo,Qo){return Qo[0]&&eo[1]!==Qo[1]}),xr=se.useState(null),Wr=(0,ke.Z)(xr,2),Ir=Wr[0],ha=Wr[1],za=da[Ir],Ua=se.useMemo(function(){return Ea?{checked:Pa,halfChecked:Dn}:null},[Ea,Pa,Dn]);se.useEffect(function(){if(Gt&&!It&&Pa.length){var eo;(eo=En.current)===null||eo===void 0||eo.scrollTo({key:Pa[0]}),ha(Pa[0])}},[Gt]);var La=String(_t).toLowerCase(),Or=function(Qo){return La?String(Qo[Kn]).toLowerCase().includes(La):!1},no=se.useState(Ur),Fr=(0,ke.Z)(no,2),Er=Fr[0],Pr=Fr[1],si=se.useState(null),ai=(0,ke.Z)(si,2),xi=ai[0],ho=ai[1],yo=se.useMemo(function(){return lr?(0,Ne.Z)(lr):_t?xi:Er},[Er,xi,lr,_t]);se.useEffect(function(){_t&&ho(hn(Sn,Wn))},[_t]);var jo=function(Qo){Pr(Qo),ho(Qo),Sr&&Sr(Qo)},Mo=function(Qo){Qo.preventDefault()},Ao=function(Qo,Yo){var Oo=Yo.node;Ea&&an(Oo)||(An(Oo.key,{selected:!Pa.includes(Oo.key)}),It||Vt(!1))};if(se.useImperativeHandle(ia,function(){var eo;return{scrollTo:(eo=En.current)===null||eo===void 0?void 0:eo.scrollTo,onKeyDown:function(Yo){var Oo,br=Yo.which;switch(br){case Le.Z.UP:case Le.Z.DOWN:case Le.Z.LEFT:case Le.Z.RIGHT:(Oo=En.current)===null||Oo===void 0||Oo.onKeyDown(Yo);break;case Le.Z.ENTER:{if(za){var ri=(za==null?void 0:za.node)||{},Hr=ri.selectable,ko=ri.value;Hr!==!1&&Ao(null,{node:{key:Ir},selected:!Pa.includes(ko)})}break}case Le.Z.ESC:Vt(!1)}},onKeyUp:function(){}}}),dr.length===0)return se.createElement("div",{role:"listbox",className:"".concat(We,"-empty"),onMouseDown:Mo},Rn);var gr={fieldNames:Wn};return Qn&&(gr.loadedKeys=Qn),yo&&(gr.expandedKeys=yo),se.createElement("div",{onMouseDown:Mo},za&&Gt&&se.createElement("span",{style:dt,"aria-live":"assertive"},za.node.value),se.createElement(lt.Z,(0,Be.Z)({ref:En,focusable:!1,prefixCls:"".concat(We,"-tree"),treeData:dr,height:Bt,itemHeight:pt,virtual:vt!==!1&&ka!==!1,multiple:It,icon:Ue,showIcon:bn,switcherIcon:Xt,showLine:Nn,loadData:_t?null:la,motion:Un,activeKey:Ir,checkable:Ea,checkStrictly:!0,checkedKeys:Ua,selectedKeys:Ea?[]:Pa,defaultExpandAll:Nr},gr,{onActiveChange:ha,onSelect:Ao,onCheck:Ao,onExpand:jo,onLoad:ur,filterTreeNode:Or,expandAction:pa})))},Vn=se.forwardRef(rn);Vn.displayName="OptionList";var Zt=Vn,Fn="SHOW_ALL",ze="SHOW_PARENT",ct="SHOW_CHILD";function Lt(en,On,ia,xa){var We=new Set(en);return On===ct?en.filter(function(It){var _t=ia[It];return!(_t&&_t.children&&_t.children.some(function(Vt){var Gt=Vt.node;return We.has(Gt[xa.value])})&&_t.children.every(function(Vt){var Gt=Vt.node;return an(Gt)||We.has(Gt[xa.value])}))}):On===ze?en.filter(function(It){var _t=ia[It],Vt=_t?_t.parent:null;return!(Vt&&!an(Vt.node)&&We.has(Vt.key))}):en}function mt(en){var On=en.searchPlaceholder,ia=en.treeCheckStrictly,xa=en.treeCheckable,We=en.labelInValue,It=en.value,_t=en.multiple;warning(!On,"`searchPlaceholder` has been removed."),ia&&We===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(We||ia)&&warning(toArray(It).every(function(Vt){return Vt&&_typeof(Vt)==="object"&&"value"in Vt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ia||_t||xa?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 Nt=null,ut=["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 at(en){return!en||(0,st.Z)(en)!=="object"}var De=se.forwardRef(function(en,On){var ia=en.id,xa=en.prefixCls,We=xa===void 0?"rc-tree-select":xa,It=en.value,_t=en.defaultValue,Vt=en.onChange,Gt=en.onSelect,Rn=en.onDeselect,wn=en.searchValue,vt=en.inputValue,Bt=en.onSearch,pt=en.autoClearSearchValue,Sn=pt===void 0?!0:pt,Wn=en.filterTreeNode,An=en.treeNodeFilterProp,ka=An===void 0?"value":An,pa=en.showCheckedStrategy,_n=en.treeNodeLabelProp,Ea=en.multiple,Pa=en.treeCheckable,Dn=en.treeCheckStrictly,lr=en.labelInValue,Nr=en.fieldNames,Ur=en.treeDataSimpleMode,Sr=en.treeData,Ue=en.children,bn=en.loadData,Xt=en.treeLoadedKeys,Nn=en.onTreeLoad,Kn=en.treeDefaultExpandAll,la=en.treeExpandedKeys,Qn=en.treeDefaultExpandedKeys,Un=en.onTreeExpand,ur=en.treeExpandAction,da=en.virtual,En=en.listHeight,dr=En===void 0?200:En,xr=en.listItemHeight,Wr=xr===void 0?20:xr,Ir=en.onDropdownVisibleChange,ha=en.dropdownMatchSelectWidth,za=ha===void 0?!0:ha,Ua=en.treeLine,La=en.treeIcon,Or=en.showTreeIcon,no=en.switcherIcon,Fr=en.treeMotion,Er=(0,le.Z)(en,ut),Pr=(0,Ve.ZP)(ia),si=Pa&&!Dn,ai=Pa||Dn,xi=Dn||lr,ho=ai||Ea,yo=(0,Je.Z)(_t,{value:It}),jo=(0,ke.Z)(yo,2),Mo=jo[0],Ao=jo[1],gr=se.useMemo(function(){return Pa?pa||ct:Fn},[pa,Pa]),eo=se.useMemo(function(){return xt(Nr)},[JSON.stringify(Nr)]),Qo=(0,Je.Z)("",{value:wn!==void 0?wn:vt,postState:function(Ta){return Ta||""}}),Yo=(0,ke.Z)(Qo,2),Oo=Yo[0],br=Yo[1],ri=function(Ta){br(Ta),Bt==null||Bt(Ta)},Hr=qe(Sr,Ue,Ur),ko=y(Hr,eo),mo=ko.keyEntities,di=ko.valueEntities,vi=se.useCallback(function(Ha){var Ta=[],Ja=[];return Ha.forEach(function(Rr){di.has(Rr)?Ja.push(Rr):Ta.push(Rr)}),{missingRawValues:Ta,existRawValues:Ja}},[di]),Ui=Ae(Hr,Oo,{fieldNames:eo,treeNodeFilterProp:ka,filterTreeNode:Wn}),tl=se.useCallback(function(Ha){if(Ha){if(_n)return Ha[_n];for(var Ta=eo._title,Ja=0;Ja{const{componentCls:On,treePrefixCls:ia,colorBgElevated:xa}=en,We=`.${ia}`;return[{[`${On}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Ln.Yk)(ia,(0,sn.TS)(en,{colorBgContainer:xa})),{[We]:{borderRadius:0,[`${We}-list-holder-inner`]:{alignItems:"stretch",[`${We}-treenode`]:{[`${We}-node-content-wrapper`]:{flex:"auto"}}}}},(0,kt.C2)(`${ia}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${We}-switcher${We}-switcher_close`]:{[`${We}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function va(en,On){return(0,cn.Z)("TreeSelect",ia=>{const xa=(0,sn.TS)(ia,{treePrefixCls:On});return[Jn(xa)]},Ln.TM)(en)}var Da=function(en,On){var ia={};for(var xa in en)Object.prototype.hasOwnProperty.call(en,xa)&&On.indexOf(xa)<0&&(ia[xa]=en[xa]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,xa=Object.getOwnPropertySymbols(en);We{var ia,{prefixCls:xa,size:We,disabled:It,bordered:_t=!0,className:Vt,rootClassName:Gt,treeCheckable:Rn,multiple:wn,listHeight:vt=256,listItemHeight:Bt=26,placement:pt,notFoundContent:Sn,switcherIcon:Wn,treeLine:An,getPopupContainer:ka,popupClassName:pa,dropdownClassName:_n,treeIcon:Ea=!1,transitionName:Pa,choiceTransitionName:Dn="",status:lr,treeExpandAction:Nr,builtinPlacements:Ur,dropdownMatchSelectWidth:Sr,popupMatchSelectWidth:Ue,allowClear:bn}=en,Xt=Da(en,["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:Nn,getPrefixCls:Kn,renderEmpty:la,direction:Qn,virtual:Un,popupMatchSelectWidth:ur,popupOverflow:da}=se.useContext(Me.E_),En=Kn(),dr=Kn("select",xa),xr=Kn("select-tree",xa),Wr=Kn("tree-select",xa),{compactSize:Ir,compactItemClassnames:ha}=(0,zt.ri)(dr,Qn),[za,Ua]=(0,un.Z)(dr),[La]=va(Wr,xr),Or=de()(pa||_n,`${Wr}-dropdown`,{[`${Wr}-dropdown-rtl`]:Qn==="rtl"},Gt,Ua),no=!!(Rn||wn),Fr=(0,Te.Z)(Xt.suffixIcon,Xt.showArrow),Er=(ia=Ue!=null?Ue:Sr)!==null&&ia!==void 0?ia:ur,{status:Pr,hasFeedback:si,isFormItemInput:ai,feedbackIcon:xi}=se.useContext(dn.aM),ho=(0,nt.F)(Pr,lr),{suffixIcon:yo,removeIcon:jo,clearIcon:Mo}=(0,Ft.Z)(Object.assign(Object.assign({},Xt),{multiple:no,showSuffixIcon:Fr,hasFeedback:si,feedbackIcon:xi,prefixCls:dr,componentName:"TreeSelect"})),Ao=bn===!0?{clearIcon:Mo}:bn;let gr;Sn!==void 0?gr=Sn:gr=(la==null?void 0:la("Select"))||se.createElement(Bn.Z,{componentName:"Select"});const eo=(0,Oe.Z)(Xt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Qo=se.useMemo(()=>pt!==void 0?pt:Qn==="rtl"?"bottomRight":"bottomLeft",[pt,Qn]),Yo=(0,yn.Z)(Ur,da),Oo=(0,nn.Z)(di=>{var vi;return(vi=We!=null?We:Ir)!==null&&vi!==void 0?vi:di}),br=se.useContext(yt.Z),ri=It!=null?It:br,Hr=de()(!xa&&Wr,{[`${dr}-lg`]:Oo==="large",[`${dr}-sm`]:Oo==="small",[`${dr}-rtl`]:Qn==="rtl",[`${dr}-borderless`]:!_t,[`${dr}-in-form-item`]:ai},(0,nt.Z)(dr,ho,si),ha,Vt,Gt,Ua),ko=di=>se.createElement(wt.Z,{prefixCls:xr,switcherIcon:Wn,treeNodeProps:di,showLine:An}),mo=se.createElement(Rt,Object.assign({virtual:Un,disabled:ri},eo,{dropdownMatchSelectWidth:Er,builtinPlacements:Yo,ref:On,prefixCls:dr,className:Hr,listHeight:vt,listItemHeight:Bt,treeCheckable:Rn&&se.createElement("span",{className:`${dr}-tree-checkbox-inner`}),treeLine:!!An,suffixIcon:yo,multiple:no,placement:Qo,removeIcon:jo,allowClear:Ao,switcherIcon:ko,showTreeIcon:Ea,notFoundContent:gr,getPopupContainer:ka||Nn,treeMotion:null,dropdownClassName:Or,choiceTransitionName:(0,St.m)(En,"",Dn),transitionName:(0,St.m)(En,"slide-up",Pa),treeExpandAction:Nr}));return za(La(mo))},$a=se.forwardRef(Na),fa=(0,Ie.Z)($a);$a.TreeNode=ue,$a.SHOW_ALL=Fn,$a.SHOW_PARENT=ze,$a.SHOW_CHILD=ct,$a._InternalPanelDoNotUseOrYouWillBeFired=fa;var yr=$a},17574:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return ft}});var b=ee(23130),de=ee(26407),Be=ee(52671),Ne=ee(8657),Ze=ee(92413),ke=ee(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"},st=le,et=ee(7657),Ve=function(xt,an){return ke.createElement(et.Z,(0,Ze.Z)({},xt,{ref:an,icon:st}))},Ge=ke.forwardRef(Ve),Je=Ge,Ye=ee(92310),se=ee.n(Ye),E=ee(35654),a=ee(71430),x=ee(36355),y=ee(56082),z=ee(62892),ne=ee(20648);const re=4;function ue(ln){const{dropPosition:xt,dropLevelOffset:an,prefixCls:hn,indent:$e,direction:dt="ltr"}=ln,rn=dt==="ltr"?"left":"right",Vn=dt==="ltr"?"right":"left",Zt={[rn]:-an*$e+re,[Vn]:0};switch(xt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[rn]=$e+re;break}return ke.createElement("div",{style:Zt,className:`${hn}-drop-indicator`})}var ie=ee(71997),be=ke.forwardRef((ln,xt)=>{const{getPrefixCls:an,direction:hn,virtual:$e,tree:dt}=ke.useContext(x.E_),{prefixCls:rn,className:Vn,showIcon:Zt=!1,showLine:Fn,switcherIcon:ze,blockNode:ct=!1,children:Lt,checkable:mt=!1,selectable:Nt=!0,draggable:ut,motion:at,style:De}=ln,fe=an("tree",rn),Xe=an(),Rt=at!=null?at:Object.assign(Object.assign({},(0,z.Z)(Xe)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},ln),{checkable:mt,selectable:Nt,showIcon:Zt,motion:Rt,blockNode:ct,showLine:!!Fn,dropIndicatorRender:ue}),[Ie,St]=(0,ne.ZP)(fe),nt=ke.useMemo(()=>{if(!ut)return!1;let yt={};switch(typeof ut){case"function":yt.nodeDraggable=ut;break;case"object":yt=Object.assign({},ut);break;default:break}return yt.icon!==!1&&(yt.icon=yt.icon||ke.createElement(y.Z,null)),yt},[ut]),Me=yt=>ke.createElement(ie.Z,{prefixCls:fe,switcherIcon:ze,treeNodeProps:yt,showLine:Fn});return Ie(ke.createElement(b.Z,Object.assign({itemHeight:20,ref:xt,virtual:$e},Oe,{style:Object.assign(Object.assign({},dt==null?void 0:dt.style),De),prefixCls:fe,className:se()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:ct,[`${fe}-unselectable`]:!Nt,[`${fe}-rtl`]:hn==="rtl"},dt==null?void 0:dt.className,Vn,St),direction:hn,checkable:mt&&ke.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:Nt,switcherIcon:Me,draggable:nt}),Lt))}),je;(function(ln){ln[ln.None=0]="None",ln[ln.Start=1]="Start",ln[ln.End=2]="End"})(je||(je={}));function Ae(ln,xt){function an(hn){const{key:$e,children:dt}=hn;xt($e,hn)!==!1&&Ae(dt||[],xt)}ln.forEach(an)}function He(ln){let{treeData:xt,expandedKeys:an,startKey:hn,endKey:$e}=ln;const dt=[];let rn=je.None;if(hn&&hn===$e)return[hn];if(!hn||!$e)return[];function Vn(Zt){return Zt===hn||Zt===$e}return Ae(xt,Zt=>{if(rn===je.End)return!1;if(Vn(Zt)){if(dt.push(Zt),rn===je.None)rn=je.Start;else if(rn===je.Start)return rn=je.End,!1}else rn===je.Start&&dt.push(Zt);return an.includes(Zt)}),dt}function he(ln,xt){const an=(0,de.Z)(xt),hn=[];return Ae(ln,($e,dt)=>{const rn=an.indexOf($e);return rn!==-1&&(hn.push(dt),an.splice(rn,1)),!!an.length}),hn}var qe=function(ln,xt){var an={};for(var hn in ln)Object.prototype.hasOwnProperty.call(ln,hn)&&xt.indexOf(hn)<0&&(an[hn]=ln[hn]);if(ln!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,hn=Object.getOwnPropertySymbols(ln);$e{var{defaultExpandAll:an,defaultExpandParent:hn,defaultExpandedKeys:$e}=ln,dt=qe(ln,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const rn=ke.useRef(),Vn=ke.useRef(),Zt=()=>{const{keyEntities:nt}=(0,a.I8)(ht(dt));let Me;return an?Me=Object.keys(nt):hn?Me=(0,E.r7)(dt.expandedKeys||$e||[],nt):Me=dt.expandedKeys||$e,Me},[Fn,ze]=ke.useState(dt.selectedKeys||dt.defaultSelectedKeys||[]),[ct,Lt]=ke.useState(()=>Zt());ke.useEffect(()=>{"selectedKeys"in dt&&ze(dt.selectedKeys)},[dt.selectedKeys]),ke.useEffect(()=>{"expandedKeys"in dt&&Lt(dt.expandedKeys)},[dt.expandedKeys]);const mt=(nt,Me)=>{var yt;return"expandedKeys"in dt||Lt(nt),(yt=dt.onExpand)===null||yt===void 0?void 0:yt.call(dt,nt,Me)},Nt=(nt,Me)=>{var yt;const{multiple:Bn}=dt,{node:nn,nativeEvent:dn}=Me,{key:un=""}=nn,yn=ht(dt),Te=Object.assign(Object.assign({},Me),{selected:!0}),Ft=(dn==null?void 0:dn.ctrlKey)||(dn==null?void 0:dn.metaKey),zt=dn==null?void 0:dn.shiftKey;let wt;Bn&&Ft?(wt=nt,rn.current=un,Vn.current=wt,Te.selectedNodes=he(yn,wt)):Bn&&zt?(wt=Array.from(new Set([].concat((0,de.Z)(Vn.current||[]),(0,de.Z)(He({treeData:yn,expandedKeys:ct,startKey:un,endKey:rn.current}))))),Te.selectedNodes=he(yn,wt)):(wt=[un],rn.current=un,Vn.current=wt,Te.selectedNodes=he(yn,wt)),(yt=dt.onSelect)===null||yt===void 0||yt.call(dt,wt,Te),"selectedKeys"in dt||ze(wt)},{getPrefixCls:ut,direction:at}=ke.useContext(x.E_),{prefixCls:De,className:fe,showIcon:Xe=!0,expandAction:Rt="click"}=dt,Oe=qe(dt,["prefixCls","className","showIcon","expandAction"]),Ie=ut("tree",De),St=se()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:at==="rtl"},fe);return ke.createElement(be,Object.assign({icon:Ke,ref:xt,blockNode:!0},Oe,{showIcon:Xe,expandAction:Rt,prefixCls:Ie,className:St,expandedKeys:ct,selectedKeys:Fn,onSelect:Nt,onExpand:mt}))};var lt=ke.forwardRef(Le);const gt=be;gt.DirectoryTree=lt,gt.TreeNode=b.O;var ft=gt},20648:function(Qt,jt,ee){"use strict";ee.d(jt,{TM:function(){return Ye},Yk:function(){return Je}});var b=ee(93083),de=ee(98447),Be=ee(17313),Ne=ee(8378),Ze=ee(37613),ke=ee(83116);const le=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),st=(se,E)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),et=(se,E)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ve=(se,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:re}=E,ue=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Be.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.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)(E)),[`${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:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:le,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Be.oN)(E)),[`&: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 ${E.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({},st(se,E)),{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:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ue},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.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"},et(se,E)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${E.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`}}}}})}},Ge=se=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=se;return{[`${E}${E}-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},[`${E}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Je=(se,E)=>{const a=`.${se}`,x=`${a}-treenode`,y=E.paddingXS/2,z=(0,Ze.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:y});return[Ve(se,z),Ge(z)]},Ye=se=>{const{controlHeightSM:E}=se;return{titleHeight:E,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};jt.ZP=(0,ke.Z)("Tree",(se,E)=>{let{prefixCls:a}=E;return[{[se.componentCls]:(0,de.C2)(`${a}-checkbox`,se)},Je(a,se),(0,Ne.Z)(se)]},se=>{const{colorTextLightSolid:E,colorPrimary:a}=se;return Object.assign(Object.assign({},Ye(se)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return x}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(z,ne){return de.createElement(Ze.Z,(0,b.Z)({},z,{ref:ne,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(52671),Ve=ee(58617),Ge=ee(15075),Je=ee(43531),Ye=ee(92310),se=ee.n(Ye),E=ee(92343),x=y=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ue}=y,{isLeaf:ie,expanded:ve,loading:be}=re;if(be)return de.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let je;if(ue&&typeof ue=="object"&&(je=ue.showLeafIcon),ie){if(!ue)return null;if(typeof je!="boolean"&&je){const he=typeof je=="function"?je(re):je,qe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(he)?(0,E.Tm)(he,{className:se()(he.props.className||"",qe)}):he}return je?de.createElement(et.Z,{className:`${z}-switcher-line-icon`}):de.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ae=`${z}-switcher-icon`,He=typeof ne=="function"?ne(re):ne;return(0,E.l$)(He)?(0,E.Tm)(He,{className:se()(He.props.className||"",Ae)}):He!==void 0?He:ue?ve?de.createElement(Ge.Z,{className:`${z}-switcher-line-icon`}):de.createElement(Je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(st,{className:Ae})}},54580:function(Qt,jt,ee){"use strict";ee.d(jt,{default:function(){return Sr}});var b=ee(59301),de=ee(26407),Be=ee(92310),Ne=ee.n(Be),Ze=ee(92413),ke=ee(6909),le=ee(4771),st=ee(9427),et=ee(25440),Ve=ee(400),Ge=ee(37061),Je=ee(85195),Ye=ee(39559),se=ee(20569),E=ee(26112);function a(Ue,bn){var Xt="cannot ".concat(Ue.method," ").concat(Ue.action," ").concat(bn.status,"'"),Nn=new Error(Xt);return Nn.status=bn.status,Nn.method=Ue.method,Nn.url=Ue.action,Nn}function x(Ue){var bn=Ue.responseText||Ue.response;if(!bn)return bn;try{return JSON.parse(bn)}catch(Xt){return bn}}function y(Ue){var bn=new XMLHttpRequest;Ue.onProgress&&bn.upload&&(bn.upload.onprogress=function(la){la.total>0&&(la.percent=la.loaded/la.total*100),Ue.onProgress(la)});var Xt=new FormData;Ue.data&&Object.keys(Ue.data).forEach(function(Kn){var la=Ue.data[Kn];if(Array.isArray(la)){la.forEach(function(Qn){Xt.append("".concat(Kn,"[]"),Qn)});return}Xt.append(Kn,la)}),Ue.file instanceof Blob?Xt.append(Ue.filename,Ue.file,Ue.file.name):Xt.append(Ue.filename,Ue.file),bn.onerror=function(la){Ue.onError(la)},bn.onload=function(){return bn.status<200||bn.status>=300?Ue.onError(a(Ue,bn),x(bn)):Ue.onSuccess(x(bn),bn)},bn.open(Ue.method,Ue.action,!0),Ue.withCredentials&&"withCredentials"in bn&&(bn.withCredentials=!0);var Nn=Ue.headers||{};return Nn["X-Requested-With"]!==null&&bn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Nn).forEach(function(Kn){Nn[Kn]!==null&&bn.setRequestHeader(Kn,Nn[Kn])}),bn.send(Xt),{abort:function(){bn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ue=ee(48736),ie=function(Ue,bn){if(Ue&&bn){var Xt=Array.isArray(bn)?bn:bn.split(","),Nn=Ue.name||"",Kn=Ue.type||"",la=Kn.replace(/\/.*$/,"");return Xt.some(function(Qn){var Un=Qn.trim();if(/^\*(\/\*)?$/.test(Qn))return!0;if(Un.charAt(0)==="."){var ur=Nn.toLowerCase(),da=Un.toLowerCase(),En=[da];return(da===".jpg"||da===".jpeg")&&(En=[".jpg",".jpeg"]),En.some(function(dr){return ur.endsWith(dr)})}return/\/\*$/.test(Un)?la===Un.replace(/\/.*$/,""):Kn===Un?!0:/^\w+$/.test(Un)?((0,ue.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Un,"'.Skip for check.")),!0):!1})}return!0};function ve(Ue,bn){var Xt=Ue.createReader(),Nn=[];function Kn(){Xt.readEntries(function(la){var Qn=Array.prototype.slice.apply(la);Nn=Nn.concat(Qn);var Un=!Qn.length;Un?bn(Nn):Kn()})}Kn()}var be=function(bn,Xt,Nn){var Kn=function la(Qn,Un){Qn&&(Qn.path=Un||"",Qn.isFile?Qn.file(function(ur){Nn(ur)&&(Qn.fullPath&&!ur.webkitRelativePath&&(Object.defineProperties(ur,{webkitRelativePath:{writable:!0}}),ur.webkitRelativePath=Qn.fullPath.replace(/^\//,""),Object.defineProperties(ur,{webkitRelativePath:{writable:!1}})),Xt([ur]))}):Qn.isDirectory&&ve(Qn,function(ur){ur.forEach(function(da){la(da,"".concat(Un).concat(Qn.name,"/"))})}))};bn.forEach(function(la){Kn(la.webkitGetAsEntry())})},je=be,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],He=function(Ue){(0,st.Z)(Xt,Ue);var bn=(0,et.Z)(Xt);function Xt(){var Nn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,la=new Array(Kn),Qn=0;Qn{let{uid:la}=Kn;return la===Ue.uid});return Nn===-1?Xt.push(Ue):Xt[Nn]=Ue,Xt}function yt(Ue,bn){const Xt=Ue.uid!==void 0?"uid":"name";return bn.filter(Nn=>Nn[Xt]===Ue[Xt])[0]}function Bn(Ue,bn){const Xt=Ue.uid!==void 0?"uid":"name",Nn=bn.filter(Kn=>Kn[Xt]!==Ue[Xt]);return Nn.length===bn.length?null:Nn}const nn=function(){const bn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Nn=bn[bn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Nn)||[""])[0]},dn=Ue=>Ue.indexOf("image/")===0,un=Ue=>{if(Ue.type&&!Ue.thumbUrl)return dn(Ue.type);const bn=Ue.thumbUrl||Ue.url||"",Xt=nn(bn);return/^data:image\//.test(bn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(bn)||Xt)},yn=200;function Te(Ue){return new Promise(bn=>{if(!Ue.type||!dn(Ue.type)){bn("");return}const Xt=document.createElement("canvas");Xt.width=yn,Xt.height=yn,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${yn}px; height: ${yn}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const Nn=Xt.getContext("2d"),Kn=new Image;if(Kn.onload=()=>{const{width:la,height:Qn}=Kn;let Un=yn,ur=yn,da=0,En=0;la>Qn?(ur=Qn*(yn/la),En=-(ur-Un)/2):(Un=la*(yn/Qn),da=-(Un-ur)/2),Nn.drawImage(Kn,da,En,Un,ur);const dr=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(Kn.src),bn(dr)},Kn.crossOrigin="anonymous",Ue.type.startsWith("image/svg+xml")){const la=new FileReader;la.onload=()=>{la.result&&(Kn.src=la.result)},la.readAsDataURL(Ue)}else if(Ue.type.startsWith("image/gif")){const la=new FileReader;la.onload=()=>{la.result&&bn(la.result)},la.readAsDataURL(Ue)}else Kn.src=window.URL.createObjectURL(Ue)})}var Ft=ee(26227),zt=ee(41464),wt=ee(15277),kt=ee(93948),sn=ee(6848),Ln=b.forwardRef((Ue,bn)=>{let{prefixCls:Xt,className:Nn,style:Kn,locale:la,listType:Qn,file:Un,items:ur,progress:da,iconRender:En,actionIconRender:dr,itemRender:xr,isImgUrl:Wr,showPreviewIcon:Ir,showRemoveIcon:ha,showDownloadIcon:za,previewIcon:Ua,removeIcon:La,downloadIcon:Or,onPreview:no,onDownload:Fr,onClose:Er}=Ue;var Pr,si;const{status:ai}=Un,[xi,ho]=b.useState(ai);b.useEffect(()=>{ai!=="removed"&&ho(ai)},[ai]);const[yo,jo]=b.useState(!1);b.useEffect(()=>{const Vo=setTimeout(()=>{jo(!0)},300);return()=>{clearTimeout(Vo)}},[]);const Mo=En(Un);let Ao=b.createElement("div",{className:`${Xt}-icon`},Mo);if(Qn==="picture"||Qn==="picture-card"||Qn==="picture-circle")if(xi==="uploading"||!Un.thumbUrl&&!Un.url){const Vo=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:xi!=="uploading"});Ao=b.createElement("div",{className:Vo},Mo)}else{const Vo=Wr!=null&&Wr(Un)?b.createElement("img",{src:Un.thumbUrl||Un.url,alt:Un.name,className:`${Xt}-list-item-image`,crossOrigin:Un.crossOrigin}):Mo,Fi=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Wr&&!Wr(Un)});Ao=b.createElement("a",{className:Fi,onClick:Wi=>no(Un,Wi),href:Un.url||Un.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Vo)}const gr=Ne()(`${Xt}-list-item`,`${Xt}-list-item-${xi}`),eo=typeof Un.linkProps=="string"?JSON.parse(Un.linkProps):Un.linkProps,Qo=ha?dr((typeof La=="function"?La(Un):La)||b.createElement(Ft.Z,null),()=>Er(Un),Xt,la.removeFile):null,Yo=za&&xi==="done"?dr((typeof Or=="function"?Or(Un):Or)||b.createElement(zt.Z,null),()=>Fr(Un),Xt,la.downloadFile):null,Oo=Qn!=="picture-card"&&Qn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Ne()(`${Xt}-list-item-actions`,{picture:Qn==="picture"})},Yo,Qo),br=Ne()(`${Xt}-list-item-name`),ri=Un.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:br,title:Un.name},eo,{href:Un.url,onClick:Vo=>no(Un,Vo)}),Un.name),Oo]:[b.createElement("span",{key:"view",className:br,onClick:Vo=>no(Un,Vo),title:Un.name},Un.name),Oo],Hr={pointerEvents:"none",opacity:.5},ko=Ir?b.createElement("a",{href:Un.url||Un.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Un.url||Un.thumbUrl?void 0:Hr,onClick:Vo=>no(Un,Vo),title:la.previewFile},typeof Ua=="function"?Ua(Un):Ua||b.createElement(wt.Z,null)):null,mo=(Qn==="picture-card"||Qn==="picture-circle")&&xi!=="uploading"&&b.createElement("span",{className:`${Xt}-list-item-actions`},ko,xi==="done"&&Yo,Qo),{getPrefixCls:di}=b.useContext(gt.E_),vi=di(),Ui=b.createElement("div",{className:gr},Ao,ri,mo,yo&&b.createElement(Xe.default,{motionName:`${vi}-fade`,visible:xi==="uploading",motionDeadline:2e3},Vo=>{let{className:Fi}=Vo;const Wi="percent"in Un?b.createElement(kt.Z,Object.assign({},da,{type:"line",percent:Un.percent,"aria-label":Un["aria-label"],"aria-labelledby":Un["aria-labelledby"]})):null;return b.createElement("div",{className:Ne()(`${Xt}-list-item-progress`,Fi)},Wi)})),tl=Un.response&&typeof Un.response=="string"?Un.response:((Pr=Un.error)===null||Pr===void 0?void 0:Pr.statusText)||((si=Un.error)===null||si===void 0?void 0:si.message)||la.uploadError,nl=xi==="error"?b.createElement(sn.Z,{title:tl,getPopupContainer:Vo=>Vo.parentNode},Ui):Ui;return b.createElement("div",{className:Ne()(`${Xt}-list-item-container`,Nn),style:Kn,ref:bn},xr?xr(nl,Un,ur,{download:Fr.bind(null,Un),preview:no.bind(null,Un),remove:Er.bind(null,Un)}):nl)});const Jn=(Ue,bn)=>{const{listType:Xt="text",previewFile:Nn=Te,onPreview:Kn,onDownload:la,onRemove:Qn,locale:Un,iconRender:ur,isImageUrl:da=un,prefixCls:En,items:dr=[],showPreviewIcon:xr=!0,showRemoveIcon:Wr=!0,showDownloadIcon:Ir=!1,removeIcon:ha,previewIcon:za,downloadIcon:Ua,progress:La={size:[-1,2],showInfo:!1},appendAction:Or,appendActionVisible:no=!0,itemRender:Fr,disabled:Er}=Ue,Pr=(0,Rt.Z)(),[si,ai]=b.useState(!1);b.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(dr||[]).forEach(Hr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hr.originFileObj instanceof File||Hr.originFileObj instanceof Blob)||Hr.thumbUrl!==void 0||(Hr.thumbUrl="",Nn&&Nn(Hr.originFileObj).then(ko=>{Hr.thumbUrl=ko||"",Pr()}))})},[Xt,dr,Nn]),b.useEffect(()=>{ai(!0)},[]);const xi=(Hr,ko)=>{if(Kn)return ko==null||ko.preventDefault(),Kn(Hr)},ho=Hr=>{typeof la=="function"?la(Hr):Hr.url&&window.open(Hr.url)},yo=Hr=>{Qn==null||Qn(Hr)},jo=Hr=>{if(ur)return ur(Hr,Xt);const ko=Hr.status==="uploading",mo=da&&da(Hr)?b.createElement(fe,null):b.createElement(Vn,null);let di=ko?b.createElement(Zt.Z,null):b.createElement(mt,null);return Xt==="picture"?di=ko?b.createElement(Zt.Z,null):mo:(Xt==="picture-card"||Xt==="picture-circle")&&(di=ko?Un.uploading:mo),di},Mo=(Hr,ko,mo,di)=>{const vi={type:"text",size:"small",title:di,onClick:Ui=>{ko(),(0,Ie.l$)(Hr)&&Hr.props.onClick&&Hr.props.onClick(Ui)},className:`${mo}-list-item-action`,disabled:Er};if((0,Ie.l$)(Hr)){const Ui=(0,Ie.Tm)(Hr,Object.assign(Object.assign({},Hr.props),{onClick:()=>{}}));return b.createElement(St.ZP,Object.assign({},vi,{icon:Ui}))}return b.createElement(St.ZP,Object.assign({},vi),b.createElement("span",null,Hr))};b.useImperativeHandle(bn,()=>({handlePreview:xi,handleDownload:ho}));const{getPrefixCls:Ao}=b.useContext(gt.E_),gr=Ao("upload",En),eo=Ao(),Qo=Ne()(`${gr}-list`,`${gr}-list-${Xt}`),Yo=(0,de.Z)(dr.map(Hr=>({key:Hr.uid,file:Hr})));let br={motionDeadline:2e3,motionName:`${gr}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:Yo,motionAppear:si};const ri=b.useMemo(()=>{const Hr=Object.assign({},(0,Oe.Z)(eo));return delete Hr.onAppearEnd,delete Hr.onEnterEnd,delete Hr.onLeaveEnd,Hr},[eo]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(br=Object.assign(Object.assign({},ri),br)),b.createElement("div",{className:Qo},b.createElement(Xe.CSSMotionList,Object.assign({},br,{component:!1}),Hr=>{let{key:ko,file:mo,className:di,style:vi}=Hr;return b.createElement(Ln,{key:ko,locale:Un,prefixCls:gr,className:di,style:vi,file:mo,items:dr,progress:La,listType:Xt,isImgUrl:da,showPreviewIcon:xr,showRemoveIcon:Wr,showDownloadIcon:Ir,removeIcon:ha,previewIcon:za,downloadIcon:Ua,iconRender:jo,actionIconRender:Mo,itemRender:Fr,onPreview:xi,onDownload:ho,onClose:yo})}),Or&&b.createElement(Xe.default,Object.assign({},br,{visible:no,forceRender:!0}),Hr=>{let{className:ko,style:mo}=Hr;return(0,Ie.Tm)(Or,di=>({className:Ne()(di.className,ko),style:Object.assign(Object.assign(Object.assign({},mo),{pointerEvents:ko?"none":void 0}),di.style)}))}))};var Da=b.forwardRef(Jn),Na=ee(17313),ar=ee(8378),$a=ee(83116),fa=ee(37613),en=Ue=>{const{componentCls:bn,iconCls:Xt}=Ue;return{[`${bn}-wrapper`]:{[`${bn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[bn]:{padding:`${Ue.padding}px 0`},[`${bn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${bn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${bn}-disabled):hover`]:{borderColor:Ue.colorPrimaryHover},[`p${bn}-drag-icon`]:{marginBottom:Ue.margin,[Xt]:{color:Ue.colorPrimary,fontSize:Ue.uploadThumbnailSize}},[`p${bn}-text`]:{margin:`0 0 ${Ue.marginXXS}px`,color:Ue.colorTextHeading,fontSize:Ue.fontSizeLG},[`p${bn}-hint`]:{color:Ue.colorTextDescription,fontSize:Ue.fontSize},[`&${bn}-disabled`]:{cursor:"not-allowed",[`p${bn}-drag-icon ${Xt}, + `]:{background:Aa},[`&${Ce}-row-selected`]:{"> th, > td":{background:Ht},"&:hover > th, &:hover > td":{background:Xa}}}},[`${Ce}-footer`]:{padding:`${rt}px ${Pt}px`,color:_a,background:rr}})}};var Lo=(0,fu.Z)("Table",Ee=>{const{colorTextHeading:Ce,colorSplit:Qe,colorIcon:rt,colorIconHover:Pt,opacityLoading:Et,colorBgContainer:$t,controlInteractiveSize:Yt,headerBg:Ut,headerColor:Cn,headerSortActiveBg:vn,headerSortHoverBg:pn,bodySortBg:qn,rowHoverBg:na,rowSelectedBg:ca,rowSelectedHoverBg:Aa,rowExpandedBg:Ht,cellPaddingBlock:Xa,cellPaddingInline:_a,cellPaddingBlockMD:rr,cellPaddingInlineMD:Tr,cellPaddingBlockSM:$r,cellPaddingInlineSM:Dr,borderColor:Gr,footerBg:zr,footerColor:tr,headerBorderRadius:nr,cellFontSize:fr,cellFontSizeMD:Wa,cellFontSizeSM:or,headerSplitColor:Kr,fixedHeaderSortActiveBg:Po,headerFilterHoverBg:lo,filterDropdownBg:Mr,expandIconBg:vo,selectionColumnWidth:Bo,stickyScrollBarBg:Ra}=Ee,wo=new Xl.C(rt),yi=new Xl.C(Pt),Do=2,Xr=(0,Wu.TS)(Ee,{tableFontSize:fr,tableBg:$t,tableRadius:nr,tablePaddingVertical:Xa,tablePaddingHorizontal:_a,tablePaddingVerticalMiddle:rr,tablePaddingHorizontalMiddle:Tr,tablePaddingVerticalSmall:$r,tablePaddingHorizontalSmall:Dr,tableBorderColor:Gr,tableHeaderTextColor:Cn,tableHeaderBg:Ut,tableFooterTextColor:tr,tableFooterBg:zr,tableHeaderCellSplitColor:Kr,tableHeaderSortBg:vn,tableHeaderSortHoverBg:pn,tableHeaderIconColor:wo.clone().setAlpha(wo.getAlpha()*Et).toRgbString(),tableHeaderIconColorHover:yi.clone().setAlpha(yi.getAlpha()*Et).toRgbString(),tableBodySortBg:qn,tableFixedHeaderSortActiveBg:Po,tableHeaderFilterActiveBg:lo,tableFilterDropdownBg:Mr,tableRowHoverBg:na,tableSelectedRowBg:ca,tableSelectedRowHoverBg:Aa,zIndexTableFixed:Do,zIndexTableSticky:Do+1,tableFontSizeMiddle:Wa,tableFontSizeSmall:or,tableSelectionColumnWidth:Bo,tableExpandIconBg:vo,tableExpandColumnWidth:Yt+2*Ee.padding,tableExpandedRowBg:Ht,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Ra,tableScrollThumbBgHover:Ce,tableScrollBg:Qe});return[oo(Xr),Ia(Xr),ii(Xr),Ko(Xr),Ca(Xr),Se(Xr),sa(Xr),Tn(Xr),ii(Xr),qt(Xr),wr(Xr),mn(Xr),zo(Xr),tt(Xr),Lr(Xr),Br(Xr),zi(Xr)]},Ee=>{const{colorFillAlter:Ce,colorBgContainer:Qe,colorTextHeading:rt,colorFillSecondary:Pt,colorFillContent:Et,controlItemBgActive:$t,controlItemBgActiveHover:Yt,padding:Ut,paddingSM:Cn,paddingXS:vn,colorBorderSecondary:pn,borderRadiusLG:qn,fontSize:na,controlHeight:ca,colorTextPlaceholder:Aa}=Ee,Ht=new Xl.C(Pt).onBackground(Qe).toHexShortString(),Xa=new Xl.C(Et).onBackground(Qe).toHexShortString(),_a=new Xl.C(Ce).onBackground(Qe).toHexShortString();return{headerBg:_a,headerColor:rt,headerSortActiveBg:Ht,headerSortHoverBg:Xa,bodySortBg:_a,rowHoverBg:_a,rowSelectedBg:$t,rowSelectedHoverBg:Yt,rowExpandedBg:Ce,cellPaddingBlock:Ut,cellPaddingInline:Ut,cellPaddingBlockMD:Cn,cellPaddingInlineMD:vn,cellPaddingBlockSM:vn,cellPaddingInlineSM:vn,borderColor:pn,headerBorderRadius:qn,footerBg:_a,footerColor:rt,cellFontSize:na,cellFontSizeMD:na,cellFontSizeSM:na,headerSplitColor:pn,fixedHeaderSortActiveBg:Ht,headerFilterHoverBg:Et,filterDropdownMenuBg:Qe,filterDropdownBg:Qe,expandIconBg:Qe,selectionColumnWidth:ca,stickyScrollBarBg:Aa,stickyScrollBarBorderRadius:100}});const To=[],wi=(Ee,Ce)=>{const{prefixCls:Qe,className:rt,rootClassName:Pt,style:Et,size:$t,bordered:Yt,dropdownPrefixCls:Ut,dataSource:Cn,pagination:vn,rowSelection:pn,rowKey:qn="key",rowClassName:na,columns:ca,children:Aa,childrenColumnName:Ht,onChange:Xa,getPopupContainer:_a,loading:rr,expandIcon:Tr,expandable:$r,expandedRowRender:Dr,expandIconColumnIndex:Gr,indentSize:zr,scroll:tr,sortDirections:nr,locale:fr,showSorterTooltip:Wa=!0,virtual:or}=Ee,Kr=le.useMemo(()=>ca||pt(Aa),[ca,Aa]),Po=le.useMemo(()=>Kr.some(ea=>ea.responsive),[Kr]),lo=(0,dl.Z)(Po),Mr=le.useMemo(()=>{const ea=new Set(Object.keys(lo).filter(xo=>lo[xo]));return Kr.filter(xo=>!xo.responsive||xo.responsive.some(Ri=>ea.has(Ri)))},[Kr,lo]),vo=(0,tl.Z)(Ee,["className","style","columns"]),{locale:Bo=gl.Z,direction:Ra,table:wo,renderEmpty:yi,getPrefixCls:Do,getPopupContainer:Xr}=le.useContext(Vo.E_),bi=(0,Wi.Z)($t),Qr=Object.assign(Object.assign({},Bo.Table),fr),gi=Cn||To,_o=Do("table",Qe),_i=Do("dropdown",Ut),to=Object.assign({childrenColumnName:Ht,expandIconColumnIndex:Gr},$r),{childrenColumnName:_r="children"}=to,Yr=le.useMemo(()=>gi.some(ea=>ea==null?void 0:ea[_r])?"nest":Dr||$r&&$r.expandedRowRender?"row":null,[gi]),Zr={body:le.useRef()},ce=le.useMemo(()=>typeof qn=="function"?qn:ea=>ea==null?void 0:ea[qn],[qn]),[pe]=Tu(gi,_r,ce),Pe={},Ot=function(ea,xo){let Ri=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Zo,Ci,Mi;const oi=Object.assign(Object.assign({},Pe),ea);Ri&&((Zo=Pe.resetPagination)===null||Zo===void 0||Zo.call(Pe),!((Ci=oi.pagination)===null||Ci===void 0)&&Ci.current&&(oi.pagination.current=1),vn&&vn.onChange&&vn.onChange(1,(Mi=oi.pagination)===null||Mi===void 0?void 0:Mi.pageSize)),tr&&tr.scrollToFirstRowOnChange!==!1&&Zr.body.current&&(0,nl.Z)(0,{getContainer:()=>Zr.body.current}),Xa==null||Xa(oi.pagination,oi.filters,oi.sorter,{currentDataSource:ku(Qi(gi,oi.sorterStates,_r),oi.filterStates),action:xo})},tn=(ea,xo)=>{Ot({sorter:ea,sorterStates:xo},"sort",!1)},[wa,ma,zn,jt]=ls({prefixCls:_o,mergedColumns:Mr,onSorterChange:tn,sortDirections:nr||["ascend","descend"],tableLocale:Qr,showSorterTooltip:Wa}),Yn=le.useMemo(()=>Qi(gi,ma,_r),[gi,ma]);Pe.sorter=jt(),Pe.sorterStates=ma;const xn=(ea,xo)=>{Ot({filters:ea,filterStates:xo},"filter",!0)},[Ct,gn,In]=bu({prefixCls:_o,locale:Qr,dropdownPrefixCls:_i,mergedColumns:Mr,onFilterChange:xn,getPopupContainer:_a||Xr}),ra=ku(Yn,gn);Pe.filters=In,Pe.filterStates=gn;const Hn=le.useMemo(()=>{const ea={};return Object.keys(In).forEach(xo=>{In[xo]!==null&&(ea[xo]=In[xo])}),Object.assign(Object.assign({},zn),{filters:ea})},[zn,In]),[ba]=ss(Hn),ta=(ea,xo)=>{Ot({pagination:Object.assign(Object.assign({},Pe.pagination),{current:ea,pageSize:xo})},"paginate")},[oa,Ka]=fs(ra.length,ta,vn);Pe.pagination=vn===!1?{}:ji(oa,vn),Pe.resetPagination=Ka;const Pn=le.useMemo(()=>{if(vn===!1||!oa.pageSize)return ra;const{current:ea=1,total:xo,pageSize:Ri=bl}=oa;return ra.lengthRi?ra.slice((ea-1)*Ri,ea*Ri):ra:ra.slice((ea-1)*Ri,ea*Ri)},[!!vn,ra,oa&&oa.current,oa&&oa.pageSize,oa&&oa.total]),[ya,ja]=qu({prefixCls:_o,data:ra,pageData:Pn,getRowKey:ce,getRecordByKey:pe,expandType:Yr,childrenColumnName:_r,locale:Qr,getPopupContainer:_a||Xr},pn),qr=(ea,xo,Ri)=>{let Zo;return typeof na=="function"?Zo=Ke()(na(ea,xo,Ri)):Zo=Ke()(na),Ke()({[`${_o}-row-selected`]:ja.has(ce(ea,xo))},Zo)};to.__PARENT_RENDER_ICON__=to.expandIcon,to.expandIcon=to.expandIcon||Tr||Ya(Qr),Yr==="nest"&&to.expandIconColumnIndex===void 0?to.expandIconColumnIndex=pn?1:0:to.expandIconColumnIndex>0&&pn&&(to.expandIconColumnIndex-=1),typeof to.indentSize!="number"&&(to.indentSize=typeof zr=="number"?zr:15);const cr=le.useCallback(ea=>ba(ya(Ct(wa(ea)))),[wa,Ct,ya]);let li,Za;if(vn!==!1&&(oa!=null&&oa.total)){let ea;oa.size?ea=oa.size:ea=bi==="small"||bi==="middle"?"small":void 0;const xo=Ci=>le.createElement(Pl.Z,Object.assign({},oa,{className:Ke()(`${_o}-pagination ${_o}-pagination-${Ci}`,oa.className),size:ea})),Ri=Ra==="rtl"?"left":"right",{position:Zo}=oa;if(Zo!==null&&Array.isArray(Zo)){const Ci=Zo.find(il=>il.includes("top")),Mi=Zo.find(il=>il.includes("bottom")),oi=Zo.every(il=>`${il}`=="none");!Ci&&!Mi&&!oi&&(Za=xo(Ri)),Ci&&(li=xo(Ci.toLowerCase().replace("top",""))),Mi&&(Za=xo(Mi.toLowerCase().replace("bottom","")))}else Za=xo(Ri)}let Co;typeof rr=="boolean"?Co={spinning:rr}:typeof rr=="object"&&(Co=Object.assign({spinning:!0},rr));const[Cr,ao]=Lo(_o),[,Eo]=(0,Qa.Z)(),hi=Ke()(`${_o}-wrapper`,wo==null?void 0:wo.className,{[`${_o}-wrapper-rtl`]:Ra==="rtl"},rt,Pt,ao),mi=Object.assign(Object.assign({},wo==null?void 0:wo.style),Et),pr=fr&&fr.emptyText||(yi==null?void 0:yi("Table"))||le.createElement(Fi.Z,{componentName:"Table"}),po=or?Jl:Gu,Ki={},Li=le.useMemo(()=>{const{fontSize:ea,lineHeight:xo,padding:Ri,paddingXS:Zo,paddingSM:Ci}=Eo,Mi=Math.floor(ea*xo);switch(bi){case"large":return Ri*2+Mi;case"small":return Zo*2+Mi;default:return Ci*2+Mi}},[Eo,bi]);return or&&(Ki.listItemHeight=Li),Cr(le.createElement("div",{ref:Ce,className:hi,style:mi},le.createElement(kr.Z,Object.assign({spinning:!1},Co),li,le.createElement(po,Object.assign({},Ki,vo,{columns:Mr,direction:Ra,expandable:to,prefixCls:_o,className:Ke()({[`${_o}-middle`]:bi==="middle",[`${_o}-small`]:bi==="small",[`${_o}-bordered`]:Yt,[`${_o}-empty`]:gi.length===0}),data:Pn,rowKey:ce,rowClassName:qr,emptyText:pr,internalHooks:de,internalRefs:Zr,transformColumns:cr})),Za)))};var Ni=le.forwardRef(wi);const fi=(Ee,Ce)=>{const Qe=le.useRef(0);return Qe.current+=1,le.createElement(Ni,Object.assign({},Ee,{ref:Ce,_renderTimes:Qe.current}))},Ro=le.forwardRef(fi);Ro.SELECTION_COLUMN=Il,Ro.EXPAND_COLUMN=b,Ro.SELECTION_ALL=Hu,Ro.SELECTION_INVERT=xu,Ro.SELECTION_NONE=Fu,Ro.Column=di,Ro.ColumnGroup=Ui,Ro.Summary=Oe;var ol=Ro,Xi=ol},12563:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return He}});var b=ee(59301),de=ee(99267),Be=ee(92310),Ne=ee.n(Be),Ze=ee(36785),ke=ee(47729),le=ee(14088),st=ee(36355),et=ee(17313),Ve=ee(37613),Ge=ee(83116);const Je=he=>{const{paddingXXS:qe,lineWidth:Ke,tagPaddingHorizontal:ht,componentCls:Le}=he,ot=ht-Ke,lt=qe-Ke;return{[Le]:Object.assign(Object.assign({},(0,et.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ot,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Le}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Le}-close-icon`]:{marginInlineStart:lt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Le}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Le}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ot}}),[`${Le}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Ye=he=>{const{lineWidth:qe,fontSizeIcon:Ke}=he,ht=he.fontSizeSM,Le=`${he.lineHeightSM*ht}px`;return(0,Ve.TS)(he,{tagFontSize:ht,tagLineHeight:Le,tagIconSize:Ke-2*qe,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},se=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var E=(0,Ge.Z)("Tag",he=>{const qe=Ye(he);return Je(qe)},se),a=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le{const{prefixCls:qe,style:Ke,className:ht,checked:Le,onChange:ot,onClick:lt}=he,gt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ft,tag:ln}=b.useContext(st.E_),xt=rn=>{ot==null||ot(!Le),lt==null||lt(rn)},an=ft("tag",qe),[hn,$e]=E(an),dt=Ne()(an,`${an}-checkable`,{[`${an}-checkable-checked`]:Le},ln==null?void 0:ln.className,ht,$e);return hn(b.createElement("span",Object.assign({},gt,{style:Object.assign(Object.assign({},Ke),ln==null?void 0:ln.style),className:dt,onClick:xt})))},z=ee(45157);const ne=he=>(0,z.Z)(he,(qe,Ke)=>{let{textColor:ht,lightBorderColor:Le,lightColor:ot,darkColor:lt}=Ke;return{[`${he.componentCls}-${qe}`]:{color:ht,background:ot,borderColor:Le,"&-inverse":{color:he.colorTextLightSolid,background:lt,borderColor:lt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ge.b)(["Tag","preset"],he=>{const qe=Ye(he);return ne(qe)},se);function ue(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const ie=(he,qe,Ke)=>{const ht=ue(Ke);return{[`${he.componentCls}-${qe}`]:{color:he[`color${Ke}`],background:he[`color${ht}Bg`],borderColor:he[`color${ht}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ve=(0,Ge.b)(["Tag","status"],he=>{const qe=Ye(he);return[ie(qe,"success","Success"),ie(qe,"processing","Info"),ie(qe,"error","Error"),ie(qe,"warning","Warning")]},se),be=function(he,qe){var Ke={};for(var ht in he)Object.prototype.hasOwnProperty.call(he,ht)&&qe.indexOf(ht)<0&&(Ke[ht]=he[ht]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,ht=Object.getOwnPropertySymbols(he);Le{const{prefixCls:Ke,className:ht,rootClassName:Le,style:ot,children:lt,icon:gt,color:ft,onClose:ln,closeIcon:xt,closable:an,bordered:hn=!0}=he,$e=be(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:dt,direction:rn,tag:Vn}=b.useContext(st.E_),[Zt,Fn]=b.useState(!0);b.useEffect(()=>{"visible"in $e&&Fn($e.visible)},[$e.visible]);const ze=(0,Ze.o2)(ft),ct=(0,Ze.yT)(ft),Lt=ze||ct,mt=Object.assign(Object.assign({backgroundColor:ft&&!Lt?ft:void 0},Vn==null?void 0:Vn.style),ot),Nt=dt("tag",Ke),[ut,at]=E(Nt),De=Ne()(Nt,Vn==null?void 0:Vn.className,{[`${Nt}-${ft}`]:Lt,[`${Nt}-has-color`]:ft&&!Lt,[`${Nt}-hidden`]:!Zt,[`${Nt}-rtl`]:rn==="rtl",[`${Nt}-borderless`]:!hn},ht,Le,at),fe=nt=>{nt.stopPropagation(),ln==null||ln(nt),!nt.defaultPrevented&&Fn(!1)},[,Xe]=(0,ke.Z)(an,xt,nt=>nt===null?b.createElement(de.Z,{className:`${Nt}-close-icon`,onClick:fe}):b.createElement("span",{className:`${Nt}-close-icon`,onClick:fe},nt),null,!1),Rt=typeof $e.onClick=="function"||lt&<.type==="a",Oe=gt||null,Ie=Oe?b.createElement(b.Fragment,null,Oe,lt&&b.createElement("span",null,lt)):lt,St=b.createElement("span",Object.assign({},$e,{ref:qe,className:De,style:mt}),Ie,Xe,ze&&b.createElement(re,{key:"preset",prefixCls:Nt}),ct&&b.createElement(ve,{key:"status",prefixCls:Nt}));return ut(Rt?b.createElement(le.Z,{component:"Tag"},St):St)},Ae=b.forwardRef(je);Ae.CheckableTag=y;var He=Ae},98228:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return yr}});var b=ee(92310),de=ee.n(b),Be=ee(92413),Ne=ee(26407),Ze=ee(33708),ke=ee(33606),le=ee(37061),st=ee(39559),et=ee(77861),Ve=ee(17115),Ge=ee(90782),Je=ee(18929),Ye=ee(48736),se=ee(59301),E=function(en){var On=se.useRef({valueLabels:new Map});return se.useMemo(function(){var ia=On.current.valueLabels,xa=new Map,We=en.map(function(It){var _t,Vt=It.value,Wt=(_t=It.label)!==null&&_t!==void 0?_t:ia.get(Vt);return xa.set(Vt,Wt),(0,Ze.Z)((0,Ze.Z)({},It),{},{label:Wt})});return On.current.valueLabels=xa,[We]},[en])},a=function(en,On,ia,xa){return se.useMemo(function(){var We=en.map(function(Wt){var Rn=Wt.value;return Rn}),It=On.map(function(Wt){var Rn=Wt.value;return Rn}),_t=We.filter(function(Wt){return!xa[Wt]});if(ia){var Vt=(0,Ge.S)(We,!0,xa);We=Vt.checkedKeys,It=Vt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Ne.Z)(_t),(0,Ne.Z)(We)))),It]},[en,On,ia,xa])},x=ee(71430),y=function(en,On){return se.useMemo(function(){var ia=(0,x.I8)(en,{fieldNames:On,initWrapper:function(We){return(0,Ze.Z)((0,Ze.Z)({},We),{},{valueEntities:new Map})},processEntity:function(We,It){var _t=We.node[On.value];if(0)var Vt;It.valueEntities.set(_t,We)}});return ia},[en,On])},z=ee(400),ne=ee(11592),re=function(){return null},ue=re,ie=["children","value"];function ve(en){return(0,ne.Z)(en).map(function(On){if(!se.isValidElement(On)||!On.type)return null;var ia=On,xa=ia.key,We=ia.props,It=We.children,_t=We.value,Vt=(0,le.Z)(We,ie),Wt=(0,Ze.Z)({key:xa,value:_t},Vt),Rn=ve(It);return Rn.length&&(Wt.children=Rn),Wt}).filter(function(On){return On})}function be(en){if(!en)return en;var On=(0,Ze.Z)({},en);return"props"in On||Object.defineProperty(On,"props",{get:function(){return(0,Ye.ZP)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),On}}),On}function je(en,On,ia,xa,We,It){var _t=null,Vt=null;function Wt(){function Rn(wn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return wn.map(function(pt,Sn){var Wn="".concat(vt,"-").concat(Sn),An=pt[It.value],ka=ia.includes(An),pa=Rn(pt[It.children]||[],Wn,ka),_n=se.createElement(ue,pt,pa.map(function(Pa){return Pa.node}));if(On===An&&(_t=_n),ka){var Ea={pos:Wn,node:_n,children:pa};return Bt||Vt.push(Ea),Ea}return null}).filter(function(pt){return pt})}Vt||(Vt=[],Rn(xa),Vt.sort(function(wn,vt){var Bt=wn.node.props.value,pt=vt.node.props.value,Sn=ia.indexOf(Bt),Wn=ia.indexOf(pt);return Sn-Wn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,Ye.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),Wt(),_t}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,Ye.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),Wt(),We?Vt:Vt.map(function(wn){var vt=wn.node;return vt})}})}var Ae=function(en,On,ia){var xa=ia.treeNodeFilterProp,We=ia.filterTreeNode,It=ia.fieldNames,_t=It.children;return se.useMemo(function(){if(!On||We===!1)return en;var Vt;if(typeof We=="function")Vt=We;else{var Wt=On.toUpperCase();Vt=function(vt,Bt){var pt=Bt[xa];return String(pt).toUpperCase().includes(Wt)}}function Rn(wn){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return wn.reduce(function(Bt,pt){var Sn=pt[_t],Wn=vt||Vt(On,be(pt)),An=Rn(Sn||[],Wn);return(Wn||An.length)&&Bt.push((0,Ze.Z)((0,Ze.Z)({},pt),{},(0,z.Z)({isLeaf:void 0},_t,An))),Bt},[])}return Rn(en)},[en,On,_t,xa,We])};function He(en){var On=se.useRef();On.current=en;var ia=se.useCallback(function(){return On.current.apply(On,arguments)},[]);return ia}function he(en,On){var ia=On.id,xa=On.pId,We=On.rootPId,It={},_t=[],Vt=en.map(function(Wt){var Rn=(0,Ze.Z)({},Wt),wn=Rn[ia];return It[wn]=Rn,Rn.key=Rn.key||wn,Rn});return Vt.forEach(function(Wt){var Rn=Wt[xa],wn=It[Rn];wn&&(wn.children=wn.children||[],wn.children.push(Wt)),(Rn===We||!wn&&We===null)&&_t.push(Wt)}),_t}function qe(en,On,ia){return se.useMemo(function(){return en?ia?he(en,(0,Ze.Z)({id:"id",pId:"pId",rootPId:null},ia!==!0?ia:{})):en:ve(On)},[On,ia,en])}var Ke=se.createContext(null),ht=Ke,Le=ee(10228),ot=ee(80547),lt=ee(23130),gt=se.createContext(null),ft=gt;function ln(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function xt(en){var On=en||{},ia=On.label,xa=On.value,We=On.children,It=xa||"value";return{_title:ia?[ia]:["title","label"],value:It,key:It,children:We||"children"}}function an(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function hn(en,On){var ia=[];function xa(We){We.forEach(function(It){var _t=It[On.children];_t&&(ia.push(It[On.value]),xa(_t))})}return xa(en),ia}function $e(en){return en==null}var dt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},rn=function(On,ia){var xa=(0,et.lk)(),We=xa.prefixCls,It=xa.multiple,_t=xa.searchValue,Vt=xa.toggleOpen,Wt=xa.open,Rn=xa.notFoundContent,wn=se.useContext(ft),vt=wn.virtual,Bt=wn.listHeight,pt=wn.listItemHeight,Sn=wn.treeData,Wn=wn.fieldNames,An=wn.onSelect,ka=wn.dropdownMatchSelectWidth,pa=wn.treeExpandAction,_n=se.useContext(ht),Ea=_n.checkable,Pa=_n.checkedKeys,Dn=_n.halfCheckedKeys,lr=_n.treeExpandedKeys,Nr=_n.treeDefaultExpandAll,Ur=_n.treeDefaultExpandedKeys,Sr=_n.onTreeExpand,Ue=_n.treeIcon,bn=_n.showTreeIcon,Xt=_n.switcherIcon,Nn=_n.treeLine,Kn=_n.treeNodeFilterProp,la=_n.loadData,Qn=_n.treeLoadedKeys,Un=_n.treeMotion,ur=_n.onTreeLoad,da=_n.keyEntities,En=se.useRef(),dr=(0,ot.Z)(function(){return Sn},[Wt,Sn],function(eo,Qo){return Qo[0]&&eo[1]!==Qo[1]}),xr=se.useState(null),Wr=(0,ke.Z)(xr,2),Ir=Wr[0],ha=Wr[1],za=da[Ir],Ua=se.useMemo(function(){return Ea?{checked:Pa,halfChecked:Dn}:null},[Ea,Pa,Dn]);se.useEffect(function(){if(Wt&&!It&&Pa.length){var eo;(eo=En.current)===null||eo===void 0||eo.scrollTo({key:Pa[0]}),ha(Pa[0])}},[Wt]);var La=String(_t).toLowerCase(),Or=function(Qo){return La?String(Qo[Kn]).toLowerCase().includes(La):!1},no=se.useState(Ur),Fr=(0,ke.Z)(no,2),Er=Fr[0],Pr=Fr[1],si=se.useState(null),ai=(0,ke.Z)(si,2),xi=ai[0],ho=ai[1],yo=se.useMemo(function(){return lr?(0,Ne.Z)(lr):_t?xi:Er},[Er,xi,lr,_t]);se.useEffect(function(){_t&&ho(hn(Sn,Wn))},[_t]);var Go=function(Qo){Pr(Qo),ho(Qo),Sr&&Sr(Qo)},Mo=function(Qo){Qo.preventDefault()},Ao=function(Qo,Yo){var Oo=Yo.node;Ea&&an(Oo)||(An(Oo.key,{selected:!Pa.includes(Oo.key)}),It||Vt(!1))};if(se.useImperativeHandle(ia,function(){var eo;return{scrollTo:(eo=En.current)===null||eo===void 0?void 0:eo.scrollTo,onKeyDown:function(Yo){var Oo,br=Yo.which;switch(br){case Le.Z.UP:case Le.Z.DOWN:case Le.Z.LEFT:case Le.Z.RIGHT:(Oo=En.current)===null||Oo===void 0||Oo.onKeyDown(Yo);break;case Le.Z.ENTER:{if(za){var ri=(za==null?void 0:za.node)||{},Hr=ri.selectable,ko=ri.value;Hr!==!1&&Ao(null,{node:{key:Ir},selected:!Pa.includes(ko)})}break}case Le.Z.ESC:Vt(!1)}},onKeyUp:function(){}}}),dr.length===0)return se.createElement("div",{role:"listbox",className:"".concat(We,"-empty"),onMouseDown:Mo},Rn);var gr={fieldNames:Wn};return Qn&&(gr.loadedKeys=Qn),yo&&(gr.expandedKeys=yo),se.createElement("div",{onMouseDown:Mo},za&&Wt&&se.createElement("span",{style:dt,"aria-live":"assertive"},za.node.value),se.createElement(lt.Z,(0,Be.Z)({ref:En,focusable:!1,prefixCls:"".concat(We,"-tree"),treeData:dr,height:Bt,itemHeight:pt,virtual:vt!==!1&&ka!==!1,multiple:It,icon:Ue,showIcon:bn,switcherIcon:Xt,showLine:Nn,loadData:_t?null:la,motion:Un,activeKey:Ir,checkable:Ea,checkStrictly:!0,checkedKeys:Ua,selectedKeys:Ea?[]:Pa,defaultExpandAll:Nr},gr,{onActiveChange:ha,onSelect:Ao,onCheck:Ao,onExpand:Go,onLoad:ur,filterTreeNode:Or,expandAction:pa})))},Vn=se.forwardRef(rn);Vn.displayName="OptionList";var Zt=Vn,Fn="SHOW_ALL",ze="SHOW_PARENT",ct="SHOW_CHILD";function Lt(en,On,ia,xa){var We=new Set(en);return On===ct?en.filter(function(It){var _t=ia[It];return!(_t&&_t.children&&_t.children.some(function(Vt){var Wt=Vt.node;return We.has(Wt[xa.value])})&&_t.children.every(function(Vt){var Wt=Vt.node;return an(Wt)||We.has(Wt[xa.value])}))}):On===ze?en.filter(function(It){var _t=ia[It],Vt=_t?_t.parent:null;return!(Vt&&!an(Vt.node)&&We.has(Vt.key))}):en}function mt(en){var On=en.searchPlaceholder,ia=en.treeCheckStrictly,xa=en.treeCheckable,We=en.labelInValue,It=en.value,_t=en.multiple;warning(!On,"`searchPlaceholder` has been removed."),ia&&We===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(We||ia)&&warning(toArray(It).every(function(Vt){return Vt&&_typeof(Vt)==="object"&&"value"in Vt}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),ia||_t||xa?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 Nt=null,ut=["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 at(en){return!en||(0,st.Z)(en)!=="object"}var De=se.forwardRef(function(en,On){var ia=en.id,xa=en.prefixCls,We=xa===void 0?"rc-tree-select":xa,It=en.value,_t=en.defaultValue,Vt=en.onChange,Wt=en.onSelect,Rn=en.onDeselect,wn=en.searchValue,vt=en.inputValue,Bt=en.onSearch,pt=en.autoClearSearchValue,Sn=pt===void 0?!0:pt,Wn=en.filterTreeNode,An=en.treeNodeFilterProp,ka=An===void 0?"value":An,pa=en.showCheckedStrategy,_n=en.treeNodeLabelProp,Ea=en.multiple,Pa=en.treeCheckable,Dn=en.treeCheckStrictly,lr=en.labelInValue,Nr=en.fieldNames,Ur=en.treeDataSimpleMode,Sr=en.treeData,Ue=en.children,bn=en.loadData,Xt=en.treeLoadedKeys,Nn=en.onTreeLoad,Kn=en.treeDefaultExpandAll,la=en.treeExpandedKeys,Qn=en.treeDefaultExpandedKeys,Un=en.onTreeExpand,ur=en.treeExpandAction,da=en.virtual,En=en.listHeight,dr=En===void 0?200:En,xr=en.listItemHeight,Wr=xr===void 0?20:xr,Ir=en.onDropdownVisibleChange,ha=en.dropdownMatchSelectWidth,za=ha===void 0?!0:ha,Ua=en.treeLine,La=en.treeIcon,Or=en.showTreeIcon,no=en.switcherIcon,Fr=en.treeMotion,Er=(0,le.Z)(en,ut),Pr=(0,Ve.ZP)(ia),si=Pa&&!Dn,ai=Pa||Dn,xi=Dn||lr,ho=ai||Ea,yo=(0,Je.Z)(_t,{value:It}),Go=(0,ke.Z)(yo,2),Mo=Go[0],Ao=Go[1],gr=se.useMemo(function(){return Pa?pa||ct:Fn},[pa,Pa]),eo=se.useMemo(function(){return xt(Nr)},[JSON.stringify(Nr)]),Qo=(0,Je.Z)("",{value:wn!==void 0?wn:vt,postState:function(Ta){return Ta||""}}),Yo=(0,ke.Z)(Qo,2),Oo=Yo[0],br=Yo[1],ri=function(Ta){br(Ta),Bt==null||Bt(Ta)},Hr=qe(Sr,Ue,Ur),ko=y(Hr,eo),mo=ko.keyEntities,di=ko.valueEntities,vi=se.useCallback(function(Ha){var Ta=[],Ja=[];return Ha.forEach(function(Rr){di.has(Rr)?Ja.push(Rr):Ta.push(Rr)}),{missingRawValues:Ta,existRawValues:Ja}},[di]),Ui=Ae(Hr,Oo,{fieldNames:eo,treeNodeFilterProp:ka,filterTreeNode:Wn}),tl=se.useCallback(function(Ha){if(Ha){if(_n)return Ha[_n];for(var Ta=eo._title,Ja=0;Ja{const{componentCls:On,treePrefixCls:ia,colorBgElevated:xa}=en,We=`.${ia}`;return[{[`${On}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Ln.Yk)(ia,(0,sn.TS)(en,{colorBgContainer:xa})),{[We]:{borderRadius:0,[`${We}-list-holder-inner`]:{alignItems:"stretch",[`${We}-treenode`]:{[`${We}-node-content-wrapper`]:{flex:"auto"}}}}},(0,kt.C2)(`${ia}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${We}-switcher${We}-switcher_close`]:{[`${We}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function va(en,On){return(0,cn.Z)("TreeSelect",ia=>{const xa=(0,sn.TS)(ia,{treePrefixCls:On});return[Jn(xa)]},Ln.TM)(en)}var Da=function(en,On){var ia={};for(var xa in en)Object.prototype.hasOwnProperty.call(en,xa)&&On.indexOf(xa)<0&&(ia[xa]=en[xa]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,xa=Object.getOwnPropertySymbols(en);We{var ia,{prefixCls:xa,size:We,disabled:It,bordered:_t=!0,className:Vt,rootClassName:Wt,treeCheckable:Rn,multiple:wn,listHeight:vt=256,listItemHeight:Bt=26,placement:pt,notFoundContent:Sn,switcherIcon:Wn,treeLine:An,getPopupContainer:ka,popupClassName:pa,dropdownClassName:_n,treeIcon:Ea=!1,transitionName:Pa,choiceTransitionName:Dn="",status:lr,treeExpandAction:Nr,builtinPlacements:Ur,dropdownMatchSelectWidth:Sr,popupMatchSelectWidth:Ue,allowClear:bn}=en,Xt=Da(en,["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:Nn,getPrefixCls:Kn,renderEmpty:la,direction:Qn,virtual:Un,popupMatchSelectWidth:ur,popupOverflow:da}=se.useContext(Me.E_),En=Kn(),dr=Kn("select",xa),xr=Kn("select-tree",xa),Wr=Kn("tree-select",xa),{compactSize:Ir,compactItemClassnames:ha}=(0,zt.ri)(dr,Qn),[za,Ua]=(0,un.Z)(dr),[La]=va(Wr,xr),Or=de()(pa||_n,`${Wr}-dropdown`,{[`${Wr}-dropdown-rtl`]:Qn==="rtl"},Wt,Ua),no=!!(Rn||wn),Fr=(0,Te.Z)(Xt.suffixIcon,Xt.showArrow),Er=(ia=Ue!=null?Ue:Sr)!==null&&ia!==void 0?ia:ur,{status:Pr,hasFeedback:si,isFormItemInput:ai,feedbackIcon:xi}=se.useContext(dn.aM),ho=(0,nt.F)(Pr,lr),{suffixIcon:yo,removeIcon:Go,clearIcon:Mo}=(0,Ft.Z)(Object.assign(Object.assign({},Xt),{multiple:no,showSuffixIcon:Fr,hasFeedback:si,feedbackIcon:xi,prefixCls:dr,componentName:"TreeSelect"})),Ao=bn===!0?{clearIcon:Mo}:bn;let gr;Sn!==void 0?gr=Sn:gr=(la==null?void 0:la("Select"))||se.createElement(Bn.Z,{componentName:"Select"});const eo=(0,Oe.Z)(Xt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Qo=se.useMemo(()=>pt!==void 0?pt:Qn==="rtl"?"bottomRight":"bottomLeft",[pt,Qn]),Yo=(0,yn.Z)(Ur,da),Oo=(0,nn.Z)(di=>{var vi;return(vi=We!=null?We:Ir)!==null&&vi!==void 0?vi:di}),br=se.useContext(yt.Z),ri=It!=null?It:br,Hr=de()(!xa&&Wr,{[`${dr}-lg`]:Oo==="large",[`${dr}-sm`]:Oo==="small",[`${dr}-rtl`]:Qn==="rtl",[`${dr}-borderless`]:!_t,[`${dr}-in-form-item`]:ai},(0,nt.Z)(dr,ho,si),ha,Vt,Wt,Ua),ko=di=>se.createElement(wt.Z,{prefixCls:xr,switcherIcon:Wn,treeNodeProps:di,showLine:An}),mo=se.createElement(Rt,Object.assign({virtual:Un,disabled:ri},eo,{dropdownMatchSelectWidth:Er,builtinPlacements:Yo,ref:On,prefixCls:dr,className:Hr,listHeight:vt,listItemHeight:Bt,treeCheckable:Rn&&se.createElement("span",{className:`${dr}-tree-checkbox-inner`}),treeLine:!!An,suffixIcon:yo,multiple:no,placement:Qo,removeIcon:Go,allowClear:Ao,switcherIcon:ko,showTreeIcon:Ea,notFoundContent:gr,getPopupContainer:ka||Nn,treeMotion:null,dropdownClassName:Or,choiceTransitionName:(0,St.m)(En,"",Dn),transitionName:(0,St.m)(En,"slide-up",Pa),treeExpandAction:Nr}));return za(La(mo))},$a=se.forwardRef(Na),fa=(0,Ie.Z)($a);$a.TreeNode=ue,$a.SHOW_ALL=Fn,$a.SHOW_PARENT=ze,$a.SHOW_CHILD=ct,$a._InternalPanelDoNotUseOrYouWillBeFired=fa;var yr=$a},17574:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return ft}});var b=ee(23130),de=ee(26407),Be=ee(52671),Ne=ee(8657),Ze=ee(92413),ke=ee(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"},st=le,et=ee(7657),Ve=function(xt,an){return ke.createElement(et.Z,(0,Ze.Z)({},xt,{ref:an,icon:st}))},Ge=ke.forwardRef(Ve),Je=Ge,Ye=ee(92310),se=ee.n(Ye),E=ee(35654),a=ee(71430),x=ee(36355),y=ee(56082),z=ee(62892),ne=ee(20648);const re=4;function ue(ln){const{dropPosition:xt,dropLevelOffset:an,prefixCls:hn,indent:$e,direction:dt="ltr"}=ln,rn=dt==="ltr"?"left":"right",Vn=dt==="ltr"?"right":"left",Zt={[rn]:-an*$e+re,[Vn]:0};switch(xt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[rn]=$e+re;break}return ke.createElement("div",{style:Zt,className:`${hn}-drop-indicator`})}var ie=ee(71997),be=ke.forwardRef((ln,xt)=>{const{getPrefixCls:an,direction:hn,virtual:$e,tree:dt}=ke.useContext(x.E_),{prefixCls:rn,className:Vn,showIcon:Zt=!1,showLine:Fn,switcherIcon:ze,blockNode:ct=!1,children:Lt,checkable:mt=!1,selectable:Nt=!0,draggable:ut,motion:at,style:De}=ln,fe=an("tree",rn),Xe=an(),Rt=at!=null?at:Object.assign(Object.assign({},(0,z.Z)(Xe)),{motionAppear:!1}),Oe=Object.assign(Object.assign({},ln),{checkable:mt,selectable:Nt,showIcon:Zt,motion:Rt,blockNode:ct,showLine:!!Fn,dropIndicatorRender:ue}),[Ie,St]=(0,ne.ZP)(fe),nt=ke.useMemo(()=>{if(!ut)return!1;let yt={};switch(typeof ut){case"function":yt.nodeDraggable=ut;break;case"object":yt=Object.assign({},ut);break;default:break}return yt.icon!==!1&&(yt.icon=yt.icon||ke.createElement(y.Z,null)),yt},[ut]),Me=yt=>ke.createElement(ie.Z,{prefixCls:fe,switcherIcon:ze,treeNodeProps:yt,showLine:Fn});return Ie(ke.createElement(b.Z,Object.assign({itemHeight:20,ref:xt,virtual:$e},Oe,{style:Object.assign(Object.assign({},dt==null?void 0:dt.style),De),prefixCls:fe,className:se()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:ct,[`${fe}-unselectable`]:!Nt,[`${fe}-rtl`]:hn==="rtl"},dt==null?void 0:dt.className,Vn,St),direction:hn,checkable:mt&&ke.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:Nt,switcherIcon:Me,draggable:nt}),Lt))}),je;(function(ln){ln[ln.None=0]="None",ln[ln.Start=1]="Start",ln[ln.End=2]="End"})(je||(je={}));function Ae(ln,xt){function an(hn){const{key:$e,children:dt}=hn;xt($e,hn)!==!1&&Ae(dt||[],xt)}ln.forEach(an)}function He(ln){let{treeData:xt,expandedKeys:an,startKey:hn,endKey:$e}=ln;const dt=[];let rn=je.None;if(hn&&hn===$e)return[hn];if(!hn||!$e)return[];function Vn(Zt){return Zt===hn||Zt===$e}return Ae(xt,Zt=>{if(rn===je.End)return!1;if(Vn(Zt)){if(dt.push(Zt),rn===je.None)rn=je.Start;else if(rn===je.Start)return rn=je.End,!1}else rn===je.Start&&dt.push(Zt);return an.includes(Zt)}),dt}function he(ln,xt){const an=(0,de.Z)(xt),hn=[];return Ae(ln,($e,dt)=>{const rn=an.indexOf($e);return rn!==-1&&(hn.push(dt),an.splice(rn,1)),!!an.length}),hn}var qe=function(ln,xt){var an={};for(var hn in ln)Object.prototype.hasOwnProperty.call(ln,hn)&&xt.indexOf(hn)<0&&(an[hn]=ln[hn]);if(ln!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,hn=Object.getOwnPropertySymbols(ln);$e{var{defaultExpandAll:an,defaultExpandParent:hn,defaultExpandedKeys:$e}=ln,dt=qe(ln,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const rn=ke.useRef(),Vn=ke.useRef(),Zt=()=>{const{keyEntities:nt}=(0,a.I8)(ht(dt));let Me;return an?Me=Object.keys(nt):hn?Me=(0,E.r7)(dt.expandedKeys||$e||[],nt):Me=dt.expandedKeys||$e,Me},[Fn,ze]=ke.useState(dt.selectedKeys||dt.defaultSelectedKeys||[]),[ct,Lt]=ke.useState(()=>Zt());ke.useEffect(()=>{"selectedKeys"in dt&&ze(dt.selectedKeys)},[dt.selectedKeys]),ke.useEffect(()=>{"expandedKeys"in dt&&Lt(dt.expandedKeys)},[dt.expandedKeys]);const mt=(nt,Me)=>{var yt;return"expandedKeys"in dt||Lt(nt),(yt=dt.onExpand)===null||yt===void 0?void 0:yt.call(dt,nt,Me)},Nt=(nt,Me)=>{var yt;const{multiple:Bn}=dt,{node:nn,nativeEvent:dn}=Me,{key:un=""}=nn,yn=ht(dt),Te=Object.assign(Object.assign({},Me),{selected:!0}),Ft=(dn==null?void 0:dn.ctrlKey)||(dn==null?void 0:dn.metaKey),zt=dn==null?void 0:dn.shiftKey;let wt;Bn&&Ft?(wt=nt,rn.current=un,Vn.current=wt,Te.selectedNodes=he(yn,wt)):Bn&&zt?(wt=Array.from(new Set([].concat((0,de.Z)(Vn.current||[]),(0,de.Z)(He({treeData:yn,expandedKeys:ct,startKey:un,endKey:rn.current}))))),Te.selectedNodes=he(yn,wt)):(wt=[un],rn.current=un,Vn.current=wt,Te.selectedNodes=he(yn,wt)),(yt=dt.onSelect)===null||yt===void 0||yt.call(dt,wt,Te),"selectedKeys"in dt||ze(wt)},{getPrefixCls:ut,direction:at}=ke.useContext(x.E_),{prefixCls:De,className:fe,showIcon:Xe=!0,expandAction:Rt="click"}=dt,Oe=qe(dt,["prefixCls","className","showIcon","expandAction"]),Ie=ut("tree",De),St=se()(`${Ie}-directory`,{[`${Ie}-directory-rtl`]:at==="rtl"},fe);return ke.createElement(be,Object.assign({icon:Ke,ref:xt,blockNode:!0},Oe,{showIcon:Xe,expandAction:Rt,prefixCls:Ie,className:St,expandedKeys:ct,selectedKeys:Fn,onSelect:Nt,onExpand:mt}))};var lt=ke.forwardRef(Le);const gt=be;gt.DirectoryTree=lt,gt.TreeNode=b.O;var ft=gt},20648:function(Qt,Gt,ee){"use strict";ee.d(Gt,{TM:function(){return Ye},Yk:function(){return Je}});var b=ee(93083),de=ee(98447),Be=ee(17313),Ne=ee(8378),Ze=ee(37613),ke=ee(83116);const le=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),st=(se,E)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),et=(se,E)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ve=(se,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:y,titleHeight:z,nodeSelectedBg:ne,nodeHoverBg:re}=E,ue=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Be.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.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)(E)),[`${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:y,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:le,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${y}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Be.oN)(E)),[`&: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 ${E.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({},st(se,E)),{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:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ue},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.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"},et(se,E)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-y,borderInlineEnd:`1px solid ${E.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`}}}}})}},Ge=se=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:y,directoryNodeSelectedColor:z}=se;return{[`${E}${E}-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},[`${E}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:y},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},Je=(se,E)=>{const a=`.${se}`,x=`${a}-treenode`,y=E.paddingXS/2,z=(0,Ze.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:y});return[Ve(se,z),Ge(z)]},Ye=se=>{const{controlHeightSM:E}=se;return{titleHeight:E,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};Gt.ZP=(0,ke.Z)("Tree",(se,E)=>{let{prefixCls:a}=E;return[{[se.componentCls]:(0,de.C2)(`${a}-checkbox`,se)},Je(a,se),(0,Ne.Z)(se)]},se=>{const{colorTextLightSolid:E,colorPrimary:a}=se;return Object.assign(Object.assign({},Ye(se)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return x}});var b=ee(92413),de=ee(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"},Ne=Be,Ze=ee(7657),ke=function(z,ne){return de.createElement(Ze.Z,(0,b.Z)({},z,{ref:ne,icon:Ne}))},le=de.forwardRef(ke),st=le,et=ee(52671),Ve=ee(58617),Ge=ee(15075),Je=ee(43531),Ye=ee(92310),se=ee.n(Ye),E=ee(92343),x=y=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ue}=y,{isLeaf:ie,expanded:ve,loading:be}=re;if(be)return de.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let je;if(ue&&typeof ue=="object"&&(je=ue.showLeafIcon),ie){if(!ue)return null;if(typeof je!="boolean"&&je){const he=typeof je=="function"?je(re):je,qe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(he)?(0,E.Tm)(he,{className:se()(he.props.className||"",qe)}):he}return je?de.createElement(et.Z,{className:`${z}-switcher-line-icon`}):de.createElement("span",{className:`${z}-switcher-leaf-line`})}const Ae=`${z}-switcher-icon`,He=typeof ne=="function"?ne(re):ne;return(0,E.l$)(He)?(0,E.Tm)(He,{className:se()(He.props.className||"",Ae)}):He!==void 0?He:ue?ve?de.createElement(Ge.Z,{className:`${z}-switcher-line-icon`}):de.createElement(Je.Z,{className:`${z}-switcher-line-icon`}):de.createElement(st,{className:Ae})}},54580:function(Qt,Gt,ee){"use strict";ee.d(Gt,{default:function(){return Sr}});var b=ee(59301),de=ee(26407),Be=ee(92310),Ne=ee.n(Be),Ze=ee(92413),ke=ee(6909),le=ee(4771),st=ee(9427),et=ee(25440),Ve=ee(400),Ge=ee(37061),Je=ee(85195),Ye=ee(39559),se=ee(20569),E=ee(26112);function a(Ue,bn){var Xt="cannot ".concat(Ue.method," ").concat(Ue.action," ").concat(bn.status,"'"),Nn=new Error(Xt);return Nn.status=bn.status,Nn.method=Ue.method,Nn.url=Ue.action,Nn}function x(Ue){var bn=Ue.responseText||Ue.response;if(!bn)return bn;try{return JSON.parse(bn)}catch(Xt){return bn}}function y(Ue){var bn=new XMLHttpRequest;Ue.onProgress&&bn.upload&&(bn.upload.onprogress=function(la){la.total>0&&(la.percent=la.loaded/la.total*100),Ue.onProgress(la)});var Xt=new FormData;Ue.data&&Object.keys(Ue.data).forEach(function(Kn){var la=Ue.data[Kn];if(Array.isArray(la)){la.forEach(function(Qn){Xt.append("".concat(Kn,"[]"),Qn)});return}Xt.append(Kn,la)}),Ue.file instanceof Blob?Xt.append(Ue.filename,Ue.file,Ue.file.name):Xt.append(Ue.filename,Ue.file),bn.onerror=function(la){Ue.onError(la)},bn.onload=function(){return bn.status<200||bn.status>=300?Ue.onError(a(Ue,bn),x(bn)):Ue.onSuccess(x(bn),bn)},bn.open(Ue.method,Ue.action,!0),Ue.withCredentials&&"withCredentials"in bn&&(bn.withCredentials=!0);var Nn=Ue.headers||{};return Nn["X-Requested-With"]!==null&&bn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Nn).forEach(function(Kn){Nn[Kn]!==null&&bn.setRequestHeader(Kn,Nn[Kn])}),bn.send(Xt),{abort:function(){bn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ue=ee(48736),ie=function(Ue,bn){if(Ue&&bn){var Xt=Array.isArray(bn)?bn:bn.split(","),Nn=Ue.name||"",Kn=Ue.type||"",la=Kn.replace(/\/.*$/,"");return Xt.some(function(Qn){var Un=Qn.trim();if(/^\*(\/\*)?$/.test(Qn))return!0;if(Un.charAt(0)==="."){var ur=Nn.toLowerCase(),da=Un.toLowerCase(),En=[da];return(da===".jpg"||da===".jpeg")&&(En=[".jpg",".jpeg"]),En.some(function(dr){return ur.endsWith(dr)})}return/\/\*$/.test(Un)?la===Un.replace(/\/.*$/,""):Kn===Un?!0:/^\w+$/.test(Un)?((0,ue.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Un,"'.Skip for check.")),!0):!1})}return!0};function ve(Ue,bn){var Xt=Ue.createReader(),Nn=[];function Kn(){Xt.readEntries(function(la){var Qn=Array.prototype.slice.apply(la);Nn=Nn.concat(Qn);var Un=!Qn.length;Un?bn(Nn):Kn()})}Kn()}var be=function(bn,Xt,Nn){var Kn=function la(Qn,Un){Qn&&(Qn.path=Un||"",Qn.isFile?Qn.file(function(ur){Nn(ur)&&(Qn.fullPath&&!ur.webkitRelativePath&&(Object.defineProperties(ur,{webkitRelativePath:{writable:!0}}),ur.webkitRelativePath=Qn.fullPath.replace(/^\//,""),Object.defineProperties(ur,{webkitRelativePath:{writable:!1}})),Xt([ur]))}):Qn.isDirectory&&ve(Qn,function(ur){ur.forEach(function(da){la(da,"".concat(Un).concat(Qn.name,"/"))})}))};bn.forEach(function(la){Kn(la.webkitGetAsEntry())})},je=be,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],He=function(Ue){(0,st.Z)(Xt,Ue);var bn=(0,et.Z)(Xt);function Xt(){var Nn;(0,ke.Z)(this,Xt);for(var Kn=arguments.length,la=new Array(Kn),Qn=0;Qn{let{uid:la}=Kn;return la===Ue.uid});return Nn===-1?Xt.push(Ue):Xt[Nn]=Ue,Xt}function yt(Ue,bn){const Xt=Ue.uid!==void 0?"uid":"name";return bn.filter(Nn=>Nn[Xt]===Ue[Xt])[0]}function Bn(Ue,bn){const Xt=Ue.uid!==void 0?"uid":"name",Nn=bn.filter(Kn=>Kn[Xt]!==Ue[Xt]);return Nn.length===bn.length?null:Nn}const nn=function(){const bn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Nn=bn[bn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Nn)||[""])[0]},dn=Ue=>Ue.indexOf("image/")===0,un=Ue=>{if(Ue.type&&!Ue.thumbUrl)return dn(Ue.type);const bn=Ue.thumbUrl||Ue.url||"",Xt=nn(bn);return/^data:image\//.test(bn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Xt)?!0:!(/^data:/.test(bn)||Xt)},yn=200;function Te(Ue){return new Promise(bn=>{if(!Ue.type||!dn(Ue.type)){bn("");return}const Xt=document.createElement("canvas");Xt.width=yn,Xt.height=yn,Xt.style.cssText=`position: fixed; left: 0; top: 0; width: ${yn}px; height: ${yn}px; z-index: 9999; display: none;`,document.body.appendChild(Xt);const Nn=Xt.getContext("2d"),Kn=new Image;if(Kn.onload=()=>{const{width:la,height:Qn}=Kn;let Un=yn,ur=yn,da=0,En=0;la>Qn?(ur=Qn*(yn/la),En=-(ur-Un)/2):(Un=la*(yn/Qn),da=-(Un-ur)/2),Nn.drawImage(Kn,da,En,Un,ur);const dr=Xt.toDataURL();document.body.removeChild(Xt),window.URL.revokeObjectURL(Kn.src),bn(dr)},Kn.crossOrigin="anonymous",Ue.type.startsWith("image/svg+xml")){const la=new FileReader;la.onload=()=>{la.result&&(Kn.src=la.result)},la.readAsDataURL(Ue)}else if(Ue.type.startsWith("image/gif")){const la=new FileReader;la.onload=()=>{la.result&&bn(la.result)},la.readAsDataURL(Ue)}else Kn.src=window.URL.createObjectURL(Ue)})}var Ft=ee(26227),zt=ee(41464),wt=ee(15277),kt=ee(93948),sn=ee(6848),Ln=b.forwardRef((Ue,bn)=>{let{prefixCls:Xt,className:Nn,style:Kn,locale:la,listType:Qn,file:Un,items:ur,progress:da,iconRender:En,actionIconRender:dr,itemRender:xr,isImgUrl:Wr,showPreviewIcon:Ir,showRemoveIcon:ha,showDownloadIcon:za,previewIcon:Ua,removeIcon:La,downloadIcon:Or,onPreview:no,onDownload:Fr,onClose:Er}=Ue;var Pr,si;const{status:ai}=Un,[xi,ho]=b.useState(ai);b.useEffect(()=>{ai!=="removed"&&ho(ai)},[ai]);const[yo,Go]=b.useState(!1);b.useEffect(()=>{const Vo=setTimeout(()=>{Go(!0)},300);return()=>{clearTimeout(Vo)}},[]);const Mo=En(Un);let Ao=b.createElement("div",{className:`${Xt}-icon`},Mo);if(Qn==="picture"||Qn==="picture-card"||Qn==="picture-circle")if(xi==="uploading"||!Un.thumbUrl&&!Un.url){const Vo=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:xi!=="uploading"});Ao=b.createElement("div",{className:Vo},Mo)}else{const Vo=Wr!=null&&Wr(Un)?b.createElement("img",{src:Un.thumbUrl||Un.url,alt:Un.name,className:`${Xt}-list-item-image`,crossOrigin:Un.crossOrigin}):Mo,Fi=Ne()(`${Xt}-list-item-thumbnail`,{[`${Xt}-list-item-file`]:Wr&&!Wr(Un)});Ao=b.createElement("a",{className:Fi,onClick:Wi=>no(Un,Wi),href:Un.url||Un.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Vo)}const gr=Ne()(`${Xt}-list-item`,`${Xt}-list-item-${xi}`),eo=typeof Un.linkProps=="string"?JSON.parse(Un.linkProps):Un.linkProps,Qo=ha?dr((typeof La=="function"?La(Un):La)||b.createElement(Ft.Z,null),()=>Er(Un),Xt,la.removeFile):null,Yo=za&&xi==="done"?dr((typeof Or=="function"?Or(Un):Or)||b.createElement(zt.Z,null),()=>Fr(Un),Xt,la.downloadFile):null,Oo=Qn!=="picture-card"&&Qn!=="picture-circle"&&b.createElement("span",{key:"download-delete",className:Ne()(`${Xt}-list-item-actions`,{picture:Qn==="picture"})},Yo,Qo),br=Ne()(`${Xt}-list-item-name`),ri=Un.url?[b.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:br,title:Un.name},eo,{href:Un.url,onClick:Vo=>no(Un,Vo)}),Un.name),Oo]:[b.createElement("span",{key:"view",className:br,onClick:Vo=>no(Un,Vo),title:Un.name},Un.name),Oo],Hr={pointerEvents:"none",opacity:.5},ko=Ir?b.createElement("a",{href:Un.url||Un.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Un.url||Un.thumbUrl?void 0:Hr,onClick:Vo=>no(Un,Vo),title:la.previewFile},typeof Ua=="function"?Ua(Un):Ua||b.createElement(wt.Z,null)):null,mo=(Qn==="picture-card"||Qn==="picture-circle")&&xi!=="uploading"&&b.createElement("span",{className:`${Xt}-list-item-actions`},ko,xi==="done"&&Yo,Qo),{getPrefixCls:di}=b.useContext(gt.E_),vi=di(),Ui=b.createElement("div",{className:gr},Ao,ri,mo,yo&&b.createElement(Xe.default,{motionName:`${vi}-fade`,visible:xi==="uploading",motionDeadline:2e3},Vo=>{let{className:Fi}=Vo;const Wi="percent"in Un?b.createElement(kt.Z,Object.assign({},da,{type:"line",percent:Un.percent,"aria-label":Un["aria-label"],"aria-labelledby":Un["aria-labelledby"]})):null;return b.createElement("div",{className:Ne()(`${Xt}-list-item-progress`,Fi)},Wi)})),tl=Un.response&&typeof Un.response=="string"?Un.response:((Pr=Un.error)===null||Pr===void 0?void 0:Pr.statusText)||((si=Un.error)===null||si===void 0?void 0:si.message)||la.uploadError,nl=xi==="error"?b.createElement(sn.Z,{title:tl,getPopupContainer:Vo=>Vo.parentNode},Ui):Ui;return b.createElement("div",{className:Ne()(`${Xt}-list-item-container`,Nn),style:Kn,ref:bn},xr?xr(nl,Un,ur,{download:Fr.bind(null,Un),preview:no.bind(null,Un),remove:Er.bind(null,Un)}):nl)});const Jn=(Ue,bn)=>{const{listType:Xt="text",previewFile:Nn=Te,onPreview:Kn,onDownload:la,onRemove:Qn,locale:Un,iconRender:ur,isImageUrl:da=un,prefixCls:En,items:dr=[],showPreviewIcon:xr=!0,showRemoveIcon:Wr=!0,showDownloadIcon:Ir=!1,removeIcon:ha,previewIcon:za,downloadIcon:Ua,progress:La={size:[-1,2],showInfo:!1},appendAction:Or,appendActionVisible:no=!0,itemRender:Fr,disabled:Er}=Ue,Pr=(0,Rt.Z)(),[si,ai]=b.useState(!1);b.useEffect(()=>{Xt!=="picture"&&Xt!=="picture-card"&&Xt!=="picture-circle"||(dr||[]).forEach(Hr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hr.originFileObj instanceof File||Hr.originFileObj instanceof Blob)||Hr.thumbUrl!==void 0||(Hr.thumbUrl="",Nn&&Nn(Hr.originFileObj).then(ko=>{Hr.thumbUrl=ko||"",Pr()}))})},[Xt,dr,Nn]),b.useEffect(()=>{ai(!0)},[]);const xi=(Hr,ko)=>{if(Kn)return ko==null||ko.preventDefault(),Kn(Hr)},ho=Hr=>{typeof la=="function"?la(Hr):Hr.url&&window.open(Hr.url)},yo=Hr=>{Qn==null||Qn(Hr)},Go=Hr=>{if(ur)return ur(Hr,Xt);const ko=Hr.status==="uploading",mo=da&&da(Hr)?b.createElement(fe,null):b.createElement(Vn,null);let di=ko?b.createElement(Zt.Z,null):b.createElement(mt,null);return Xt==="picture"?di=ko?b.createElement(Zt.Z,null):mo:(Xt==="picture-card"||Xt==="picture-circle")&&(di=ko?Un.uploading:mo),di},Mo=(Hr,ko,mo,di)=>{const vi={type:"text",size:"small",title:di,onClick:Ui=>{ko(),(0,Ie.l$)(Hr)&&Hr.props.onClick&&Hr.props.onClick(Ui)},className:`${mo}-list-item-action`,disabled:Er};if((0,Ie.l$)(Hr)){const Ui=(0,Ie.Tm)(Hr,Object.assign(Object.assign({},Hr.props),{onClick:()=>{}}));return b.createElement(St.ZP,Object.assign({},vi,{icon:Ui}))}return b.createElement(St.ZP,Object.assign({},vi),b.createElement("span",null,Hr))};b.useImperativeHandle(bn,()=>({handlePreview:xi,handleDownload:ho}));const{getPrefixCls:Ao}=b.useContext(gt.E_),gr=Ao("upload",En),eo=Ao(),Qo=Ne()(`${gr}-list`,`${gr}-list-${Xt}`),Yo=(0,de.Z)(dr.map(Hr=>({key:Hr.uid,file:Hr})));let br={motionDeadline:2e3,motionName:`${gr}-${Xt==="picture-card"||Xt==="picture-circle"?"animate-inline":"animate"}`,keys:Yo,motionAppear:si};const ri=b.useMemo(()=>{const Hr=Object.assign({},(0,Oe.Z)(eo));return delete Hr.onAppearEnd,delete Hr.onEnterEnd,delete Hr.onLeaveEnd,Hr},[eo]);return Xt!=="picture-card"&&Xt!=="picture-circle"&&(br=Object.assign(Object.assign({},ri),br)),b.createElement("div",{className:Qo},b.createElement(Xe.CSSMotionList,Object.assign({},br,{component:!1}),Hr=>{let{key:ko,file:mo,className:di,style:vi}=Hr;return b.createElement(Ln,{key:ko,locale:Un,prefixCls:gr,className:di,style:vi,file:mo,items:dr,progress:La,listType:Xt,isImgUrl:da,showPreviewIcon:xr,showRemoveIcon:Wr,showDownloadIcon:Ir,removeIcon:ha,previewIcon:za,downloadIcon:Ua,iconRender:Go,actionIconRender:Mo,itemRender:Fr,onPreview:xi,onDownload:ho,onClose:yo})}),Or&&b.createElement(Xe.default,Object.assign({},br,{visible:no,forceRender:!0}),Hr=>{let{className:ko,style:mo}=Hr;return(0,Ie.Tm)(Or,di=>({className:Ne()(di.className,ko),style:Object.assign(Object.assign(Object.assign({},mo),{pointerEvents:ko?"none":void 0}),di.style)}))}))};var Da=b.forwardRef(Jn),Na=ee(17313),ar=ee(8378),$a=ee(83116),fa=ee(37613),en=Ue=>{const{componentCls:bn,iconCls:Xt}=Ue;return{[`${bn}-wrapper`]:{[`${bn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[bn]:{padding:`${Ue.padding}px 0`},[`${bn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${bn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${bn}-disabled):hover`]:{borderColor:Ue.colorPrimaryHover},[`p${bn}-drag-icon`]:{marginBottom:Ue.margin,[Xt]:{color:Ue.colorPrimary,fontSize:Ue.uploadThumbnailSize}},[`p${bn}-text`]:{margin:`0 0 ${Ue.marginXXS}px`,color:Ue.colorTextHeading,fontSize:Ue.fontSizeLG},[`p${bn}-hint`]:{color:Ue.colorTextDescription,fontSize:Ue.fontSize},[`&${bn}-disabled`]:{cursor:"not-allowed",[`p${bn}-drag-icon ${Xt}, p${bn}-text, p${bn}-hint `]:{color:Ue.colorTextDisabled}}}}}},ia=Ue=>{const{componentCls:bn,antCls:Xt,iconCls:Nn,fontSize:Kn,lineHeight:la}=Ue,Qn=`${bn}-list-item`,Un=`${Qn}-actions`,ur=`${Qn}-action`,da=Math.round(Kn*la);return{[`${bn}-wrapper`]:{[`${bn}-list`]:Object.assign(Object.assign({},(0,Na.dF)()),{lineHeight:Ue.lineHeight,[Qn]:{position:"relative",height:Ue.lineHeight*Kn,marginTop:Ue.marginXS,fontSize:Kn,display:"flex",alignItems:"center",transition:`background-color ${Ue.motionDurationSlow}`,"&:hover":{backgroundColor:Ue.controlItemBgHover},[`${Qn}-name`]:Object.assign(Object.assign({},Na.vS),{padding:`0 ${Ue.paddingXS}px`,lineHeight:la,flex:"auto",transition:`all ${Ue.motionDurationSlow}`}),[Un]:{[ur]:{opacity:0},[`${ur}${Xt}-btn-sm`]:{height:da,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` ${ur}:focus-visible, &.picture ${ur} - `]:{opacity:1},[Nn]:{color:Ue.actionsColor,transition:`all ${Ue.motionDurationSlow}`},[`&:hover ${Nn}`]:{color:Ue.colorText}},[`${bn}-icon ${Nn}`]:{color:Ue.colorTextDescription,fontSize:Kn},[`${Qn}-progress`]:{position:"absolute",bottom:-Ue.uploadProgressOffset,width:"100%",paddingInlineStart:Kn+Ue.paddingXS,fontSize:Kn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Qn}:hover ${ur}`]:{opacity:1,color:Ue.colorText},[`${Qn}-error`]:{color:Ue.colorError,[`${Qn}-name, ${bn}-icon ${Nn}`]:{color:Ue.colorError},[Un]:{[`${Nn}, ${Nn}:hover`]:{color:Ue.colorError},[ur]:{opacity:1}}},[`${bn}-list-item-container`]:{transition:`opacity ${Ue.motionDurationSlow}, height ${Ue.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},xa=ee(93083),We=ee(1950);const It=new xa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),_t=new xa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Gt=Ue=>{const{componentCls:bn}=Ue,Xt=`${bn}-animate-inline`;return[{[`${bn}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:Ue.motionDurationSlow,animationTimingFunction:Ue.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:It},[`${Xt}-leave`]:{animationName:_t}}},{[`${bn}-wrapper`]:(0,We.J$)(Ue)},It,_t]},Rn=ee(93398),wn=ee(64993);const vt=Ue=>{const{componentCls:bn,iconCls:Xt,uploadThumbnailSize:Nn,uploadProgressOffset:Kn}=Ue,la=`${bn}-list`,Qn=`${la}-item`;return{[`${bn}-wrapper`]:{[` + `]:{opacity:1},[Nn]:{color:Ue.actionsColor,transition:`all ${Ue.motionDurationSlow}`},[`&:hover ${Nn}`]:{color:Ue.colorText}},[`${bn}-icon ${Nn}`]:{color:Ue.colorTextDescription,fontSize:Kn},[`${Qn}-progress`]:{position:"absolute",bottom:-Ue.uploadProgressOffset,width:"100%",paddingInlineStart:Kn+Ue.paddingXS,fontSize:Kn,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Qn}:hover ${ur}`]:{opacity:1,color:Ue.colorText},[`${Qn}-error`]:{color:Ue.colorError,[`${Qn}-name, ${bn}-icon ${Nn}`]:{color:Ue.colorError},[Un]:{[`${Nn}, ${Nn}:hover`]:{color:Ue.colorError},[ur]:{opacity:1}}},[`${bn}-list-item-container`]:{transition:`opacity ${Ue.motionDurationSlow}, height ${Ue.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},xa=ee(93083),We=ee(1950);const It=new xa.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),_t=new xa.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Wt=Ue=>{const{componentCls:bn}=Ue,Xt=`${bn}-animate-inline`;return[{[`${bn}-wrapper`]:{[`${Xt}-appear, ${Xt}-enter, ${Xt}-leave`]:{animationDuration:Ue.motionDurationSlow,animationTimingFunction:Ue.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Xt}-appear, ${Xt}-enter`]:{animationName:It},[`${Xt}-leave`]:{animationName:_t}}},{[`${bn}-wrapper`]:(0,We.J$)(Ue)},It,_t]},Rn=ee(93398),wn=ee(64993);const vt=Ue=>{const{componentCls:bn,iconCls:Xt,uploadThumbnailSize:Nn,uploadProgressOffset:Kn}=Ue,la=`${bn}-list`,Qn=`${la}-item`;return{[`${bn}-wrapper`]:{[` ${la}${la}-picture, ${la}${la}-picture-card, ${la}${la}-picture-circle `]:{[Qn]:{position:"relative",height:Nn+Ue.lineWidth*2+Ue.paddingXS*2,padding:Ue.paddingXS,border:`${Ue.lineWidth}px ${Ue.lineType} ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,"&:hover":{background:"transparent"},[`${Qn}-thumbnail`]:Object.assign(Object.assign({},Na.vS),{width:Nn,height:Nn,lineHeight:`${Nn+Ue.paddingSM}px`,textAlign:"center",flex:"none",[Xt]:{fontSize:Ue.fontSizeHeading2,color:Ue.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Qn}-progress`]:{bottom:Kn,width:`calc(100% - ${Ue.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Nn+Ue.paddingXS}},[`${Qn}-error`]:{borderColor:Ue.colorError,[`${Qn}-thumbnail ${Xt}`]:{[`svg path[fill='${Rn.blue[0]}']`]:{fill:Ue.colorErrorBg},[`svg path[fill='${Rn.blue.primary}']`]:{fill:Ue.colorError}}},[`${Qn}-uploading`]:{borderStyle:"dashed",[`${Qn}-name`]:{marginBottom:Kn}}},[`${la}${la}-picture-circle ${Qn}`]:{[`&, &::before, ${Qn}-thumbnail`]:{borderRadius:"50%"}}}}},Bt=Ue=>{const{componentCls:bn,iconCls:Xt,fontSizeLG:Nn,colorTextLightSolid:Kn}=Ue,la=`${bn}-list`,Qn=`${la}-item`,Un=Ue.uploadPicCardSize;return{[` ${bn}-wrapper${bn}-picture-card-wrapper, ${bn}-wrapper${bn}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Na.dF)()),{display:"inline-block",width:"100%",[`${bn}${bn}-select`]:{width:Un,height:Un,marginInlineEnd:Ue.marginXS,marginBottom:Ue.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[`> ${bn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${bn}-disabled):hover`]:{borderColor:Ue.colorPrimary}},[`${la}${la}-picture-card, ${la}${la}-picture-circle`]:{[`${la}-item-container`]:{display:"inline-block",width:Un,height:Un,marginBlock:`0 ${Ue.marginXS}px`,marginInline:`0 ${Ue.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Qn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ue.paddingXS*2}px)`,height:`calc(100% - ${Ue.paddingXS*2}px)`,backgroundColor:Ue.colorBgMask,opacity:0,transition:`all ${Ue.motionDurationSlow}`,content:'" "'}},[`${Qn}:hover`]:{[`&::before, ${Qn}-actions`]:{opacity:1}},[`${Qn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ue.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:Nn,margin:`0 ${Ue.marginXXS}px`,fontSize:Nn,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Qn}-actions, ${Qn}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new wn.C(Kn).setAlpha(.65).toRgbString(),"&:hover":{color:Kn}}},[`${Qn}-thumbnail, ${Qn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Qn}-name`]:{display:"none",textAlign:"center"},[`${Qn}-file + ${Qn}-name`]:{position:"absolute",bottom:Ue.margin,display:"block",width:`calc(100% - ${Ue.paddingXS*2}px)`},[`${Qn}-uploading`]:{[`&${Qn}`]:{backgroundColor:Ue.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${Qn}-progress`]:{bottom:Ue.marginXL,width:`calc(100% - ${Ue.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${bn}-wrapper${bn}-picture-circle-wrapper`]:{[`${bn}${bn}-select`]:{borderRadius:"50%"}}}};var Sn=Ue=>{const{componentCls:bn}=Ue;return{[`${bn}-rtl`]:{direction:"rtl"}}};const Wn=Ue=>{const{componentCls:bn,colorTextDisabled:Xt}=Ue;return{[`${bn}-wrapper`]:Object.assign(Object.assign({},(0,Na.Wf)(Ue)),{[bn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${bn}-select`]:{display:"inline-block"},[`${bn}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var An=(0,$a.Z)("Upload",Ue=>{const{fontSizeHeading3:bn,fontSize:Xt,lineHeight:Nn,lineWidth:Kn,controlHeightLG:la}=Ue,Qn=Math.round(Xt*Nn),Un=(0,fa.TS)(Ue,{uploadThumbnailSize:bn*2,uploadProgressOffset:Qn/2+Kn,uploadPicCardSize:la*2.55});return[Wn(Un),en(Un),vt(Un),Bt(Un),ia(Un),Gt(Un),Sn(Un),(0,ar.Z)(Un)]},Ue=>({actionsColor:Ue.colorTextDescription})),ka=function(Ue,bn,Xt,Nn){function Kn(la){return la instanceof Xt?la:new Xt(function(Qn){Qn(la)})}return new(Xt||(Xt=Promise))(function(la,Qn){function Un(En){try{da(Nn.next(En))}catch(dr){Qn(dr)}}function ur(En){try{da(Nn.throw(En))}catch(dr){Qn(dr)}}function da(En){En.done?la(En.value):Kn(En.value).then(Un,ur)}da((Nn=Nn.apply(Ue,bn||[])).next())})};const pa=`__LIST_IGNORE_${Date.now()}__`,_n=(Ue,bn)=>{const{fileList:Xt,defaultFileList:Nn,onRemove:Kn,showUploadList:la=!0,listType:Qn="text",onPreview:Un,onDownload:ur,onChange:da,onDrop:En,previewFile:dr,disabled:xr,locale:Wr,iconRender:Ir,isImageUrl:ha,progress:za,prefixCls:Ua,className:La,type:Or="select",children:no,style:Fr,itemRender:Er,maxCount:Pr,data:si={},multiple:ai=!1,action:xi="",accept:ho="",supportServerRender:yo=!0,rootClassName:jo}=Ue,Mo=b.useContext(ft.Z),Ao=xr!=null?xr:Mo,[gr,eo]=(0,ot.Z)(Nn||[],{value:Xt,postState:jn=>jn!=null?jn:[]}),[Qo,Yo]=b.useState("drop"),Oo=b.useRef(null);b.useMemo(()=>{const jn=Date.now();(Xt||[]).forEach((Xn,sr)=>{!Xn.uid&&!Object.isFrozen(Xn)&&(Xn.uid=`__AUTO__${jn}_${sr}__`)})},[Xt]);const br=(jn,Xn,sr)=>{let Ha=(0,de.Z)(Xn),Ta=!1;Pr===1?Ha=Ha.slice(-1):Pr&&(Ta=Ha.length>Pr,Ha=Ha.slice(0,Pr)),(0,lt.flushSync)(()=>{eo(Ha)});const Ja={file:jn,fileList:Ha};sr&&(Ja.event=sr),(!Ta||Ha.some(Rr=>Rr.uid===jn.uid))&&(0,lt.flushSync)(()=>{da==null||da(Ja)})},ri=(jn,Xn)=>ka(void 0,void 0,void 0,function*(){const{beforeUpload:sr,transformFile:Ha}=Ue;let Ta=jn;if(sr){const Ja=yield sr(jn,Xn);if(Ja===!1)return!1;if(delete jn[pa],Ja===pa)return Object.defineProperty(jn,pa,{value:!0,configurable:!0}),!1;typeof Ja=="object"&&Ja&&(Ta=Ja)}return Ha&&(Ta=yield Ha(Ta)),Ta}),Hr=jn=>{const Xn=jn.filter(Ta=>!Ta.file[pa]);if(!Xn.length)return;const sr=Xn.map(Ta=>nt(Ta.file));let Ha=(0,de.Z)(gr);sr.forEach(Ta=>{Ha=Me(Ta,Ha)}),sr.forEach((Ta,Ja)=>{let Rr=Ta;if(Xn[Ja].parsedFile)Ta.status="uploading";else{const{originFileObj:bo}=Ta;let $o;try{$o=new File([bo],bo.name,{type:bo.type})}catch(Wo){$o=new Blob([bo],{type:bo.type}),$o.name=bo.name,$o.lastModifiedDate=new Date,$o.lastModified=new Date().getTime()}$o.uid=Ta.uid,Rr=$o}br(Rr,Ha)})},ko=(jn,Xn,sr)=>{try{typeof jn=="string"&&(jn=JSON.parse(jn))}catch(Ja){}if(!yt(Xn,gr))return;const Ha=nt(Xn);Ha.status="done",Ha.percent=100,Ha.response=jn,Ha.xhr=sr;const Ta=Me(Ha,gr);br(Ha,Ta)},mo=(jn,Xn)=>{if(!yt(Xn,gr))return;const sr=nt(Xn);sr.status="uploading",sr.percent=jn.percent;const Ha=Me(sr,gr);br(sr,Ha,jn)},di=(jn,Xn,sr)=>{if(!yt(sr,gr))return;const Ha=nt(sr);Ha.error=jn,Ha.response=Xn,Ha.status="error";const Ta=Me(Ha,gr);br(Ha,Ta)},vi=jn=>{let Xn;Promise.resolve(typeof Kn=="function"?Kn(jn):Kn).then(sr=>{var Ha;if(sr===!1)return;const Ta=Bn(jn,gr);Ta&&(Xn=Object.assign(Object.assign({},jn),{status:"removed"}),gr==null||gr.forEach(Ja=>{const Rr=Xn.uid!==void 0?"uid":"name";Ja[Rr]===Xn[Rr]&&!Object.isFrozen(Ja)&&(Ja.status="removed")}),(Ha=Oo.current)===null||Ha===void 0||Ha.abort(Xn),br(Xn,Ta))})},Ui=jn=>{Yo(jn.type),jn.type==="drop"&&(En==null||En(jn))};b.useImperativeHandle(bn,()=>({onBatchStart:Hr,onSuccess:ko,onProgress:mo,onError:di,fileList:gr,upload:Oo.current}));const{getPrefixCls:tl,direction:nl,upload:Vo}=b.useContext(gt.E_),Fi=tl("upload",Ua),Wi=Object.assign(Object.assign({onBatchStart:Hr,onError:di,onProgress:mo,onSuccess:ko},Ue),{data:si,multiple:ai,action:xi,accept:ho,supportServerRender:yo,prefixCls:Fi,disabled:Ao,beforeUpload:ri,onChange:void 0});delete Wi.className,delete Wi.style,(!no||Ao)&&delete Wi.id;const[dl,gl]=An(Fi),[Pl]=(0,ln.Z)("Upload",xt.Z.Upload),{showRemoveIcon:kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:so,downloadIcon:we}=typeof la=="boolean"?{}:la,fn=(jn,Xn)=>la?b.createElement(Da,{prefixCls:Fi,listType:Qn,items:gr,previewFile:dr,onPreview:Un,onDownload:ur,onRemove:vi,showRemoveIcon:!Ao&&kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:so,downloadIcon:we,iconRender:Ir,locale:Object.assign(Object.assign({},Pl),Wr),isImageUrl:ha,progress:za,appendAction:jn,appendActionVisible:Xn,itemRender:Er,disabled:Ao}):jn,Mn=Ne()(`${Fi}-wrapper`,La,jo,gl,Vo==null?void 0:Vo.className,{[`${Fi}-rtl`]:nl==="rtl",[`${Fi}-picture-card-wrapper`]:Qn==="picture-card",[`${Fi}-picture-circle-wrapper`]:Qn==="picture-circle"}),Sa=Object.assign(Object.assign({},Vo==null?void 0:Vo.style),Fr);if(Or==="drag"){const jn=Ne()(gl,Fi,`${Fi}-drag`,{[`${Fi}-drag-uploading`]:gr.some(Xn=>Xn.status==="uploading"),[`${Fi}-drag-hover`]:Qo==="dragover",[`${Fi}-disabled`]:Ao,[`${Fi}-rtl`]:nl==="rtl"});return dl(b.createElement("span",{className:Mn},b.createElement("div",{className:jn,style:Sa,onDrop:Ui,onDragOver:Ui,onDragLeave:Ui},b.createElement(Le,Object.assign({},Wi,{ref:Oo,className:`${Fi}-btn`}),b.createElement("div",{className:`${Fi}-drag-container`},no))),fn()))}const on=Ne()(Fi,`${Fi}-select`,{[`${Fi}-disabled`]:Ao}),Fa=(jn=>b.createElement("div",{className:on,style:jn},b.createElement(Le,Object.assign({},Wi,{ref:Oo}))))(no?void 0:{display:"none"});return dl(Qn==="picture-card"||Qn==="picture-circle"?b.createElement("span",{className:Mn},fn(Fa,!!no)):b.createElement("span",{className:Mn},Fa,fn()))};var Pa=b.forwardRef(_n),Dn=function(Ue,bn){var Xt={};for(var Nn in Ue)Object.prototype.hasOwnProperty.call(Ue,Nn)&&bn.indexOf(Nn)<0&&(Xt[Nn]=Ue[Nn]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,Nn=Object.getOwnPropertySymbols(Ue);Kn{var{style:Xt,height:Nn}=Ue,Kn=Dn(Ue,["style","height"]);return b.createElement(Pa,Object.assign({ref:bn},Kn,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:Nn})}))});const Ur=Pa;Ur.Dragger=Nr,Ur.LIST_IGNORE=pa;var Sr=Ur},24334:function(Qt,jt,ee){var b,de;(function(Be,Ne){Qt.exports=Ne(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(Be){"use strict";Be=Be||{};var Ne=Be.Base64,Ze="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(Ke){for(var ht={},Le=0,ot=Ke.length;Le>>6)+st(128|ht&63):st(224|ht>>>12&15)+st(128|ht>>>6&63)+st(128|ht&63)}else{var ht=65536+(Ke.charCodeAt(0)-55296)*1024+(Ke.charCodeAt(1)-56320);return st(240|ht>>>18&7)+st(128|ht>>>12&63)+st(128|ht>>>6&63)+st(128|ht&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ge=function(Ke){return Ke.replace(Ve,et)},Je=function(Ke){var ht=[0,2,1][Ke.length%3],Le=Ke.charCodeAt(0)<<16|(Ke.length>1?Ke.charCodeAt(1):0)<<8|(Ke.length>2?Ke.charCodeAt(2):0),ot=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),ht>=2?"=":ke.charAt(Le>>>6&63),ht>=1?"=":ke.charAt(Le&63)];return ot.join("")},Ye=Be.btoa&&typeof Be.btoa=="function"?function(Ke){return Be.btoa(Ke)}:function(Ke){if(Ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ke.replace(/[\s\S]{1,3}/g,Je)},se=function(Ke){return Ye(Ge(String(Ke)))},E=function(Ke){return Ke.replace(/[+\/]/g,function(ht){return ht=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ke,ht){return ht?E(se(Ke)):se(Ke)},x=function(Ke){return a(Ke,!0)},y;Be.Uint8Array&&(y=function(Ke,ht){for(var Le="",ot=0,lt=Ke.length;ot>>18)+ke.charAt(xt>>>12&63)+(typeof ft!="undefined"?ke.charAt(xt>>>6&63):"=")+(typeof ln!="undefined"?ke.charAt(xt&63):"=")}return ht?E(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ke){switch(Ke.length){case 4:var ht=(7&Ke.charCodeAt(0))<<18|(63&Ke.charCodeAt(1))<<12|(63&Ke.charCodeAt(2))<<6|63&Ke.charCodeAt(3),Le=ht-65536;return st((Le>>>10)+55296)+st((Le&1023)+56320);case 3:return st((15&Ke.charCodeAt(0))<<12|(63&Ke.charCodeAt(1))<<6|63&Ke.charCodeAt(2));default:return st((31&Ke.charCodeAt(0))<<6|63&Ke.charCodeAt(1))}},re=function(Ke){return Ke.replace(z,ne)},ue=function(Ke){var ht=Ke.length,Le=ht%4,ot=(ht>0?le[Ke.charAt(0)]<<18:0)|(ht>1?le[Ke.charAt(1)]<<12:0)|(ht>2?le[Ke.charAt(2)]<<6:0)|(ht>3?le[Ke.charAt(3)]:0),lt=[st(ot>>>16),st(ot>>>8&255),st(ot&255)];return lt.length-=[0,0,2,1][Le],lt.join("")},ie=Be.atob&&typeof Be.atob=="function"?function(Ke){return Be.atob(Ke)}:function(Ke){return Ke.replace(/\S{1,4}/g,ue)},ve=function(Ke){return ie(String(Ke).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Ke){return re(ie(Ke))},je=function(Ke){return String(Ke).replace(/[-_]/g,function(ht){return ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ae=function(Ke){return be(je(Ke))},He;Be.Uint8Array&&(He=function(Ke){return Uint8Array.from(ve(je(Ke)),function(ht){return ht.charCodeAt(0)})});var he=function(){var Ke=Be.Base64;return Be.Base64=Ne,Ke};if(Be.Base64={VERSION:Ze,atob:ve,btoa:Ye,fromBase64:Ae,toBase64:a,utob:Ge,encode:a,encodeURI:x,btou:re,decode:Ae,noConflict:he,fromUint8Array:y,toUint8Array:He},typeof Object.defineProperty=="function"){var qe=function(Ke){return{value:Ke,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",qe(function(){return Ae(this)})),Object.defineProperty(String.prototype,"toBase64",qe(function(Ke){return a(this,Ke)})),Object.defineProperty(String.prototype,"toBase64URI",qe(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Qt.exports?Qt.exports.Base64=Be.Base64:(b=[],de=function(){return Be.Base64}.apply(jt,b),de!==void 0&&(Qt.exports=de)),{Base64:Be.Base64}})},39417:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return be}});var b=ee(92413),de=ee(400),Be=ee(37061),Ne=ee(33708),Ze=ee(6909),ke=ee(4771),le=ee(25314),st=ee(9427),et=ee(25440),Ve=ee(92310),Ge=ee.n(Ve),Je=ee(26112),Ye=ee(59301),se=ee(39378),E=function(Ae){for(var He=Ae.prefixCls,he=Ae.level,qe=Ae.isStart,Ke=Ae.isEnd,ht="".concat(He,"-indent-unit"),Le=[],ot=0;ot0&&arguments[0]!==void 0?arguments[0]:[],at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=ut.length,fe=at.length;if(Math.abs(De-fe)!==1)return{add:!1,key:null};function Xe(Rt,Oe){var Ie=new Map;Rt.forEach(function(nt){Ie.set(nt,!0)});var St=Oe.filter(function(nt){return!Ie.has(nt)});return St.length===1?St[0]:null}return De ").concat(at);return at}var rn=a.forwardRef(function(ut,at){var De=ut.prefixCls,fe=ut.data,Xe=ut.selectable,Rt=ut.checkable,Oe=ut.expandedKeys,Ie=ut.selectedKeys,St=ut.checkedKeys,nt=ut.loadedKeys,Me=ut.loadingKeys,yt=ut.halfCheckedKeys,Bn=ut.keyEntities,nn=ut.disabled,dn=ut.dragging,un=ut.dragOverNodeKey,yn=ut.dropPosition,Te=ut.motion,Ft=ut.height,zt=ut.itemHeight,wt=ut.virtual,kt=ut.focusable,sn=ut.activeItem,cn=ut.focused,Ln=ut.tabIndex,Jn=ut.onKeyDown,va=ut.onFocus,Da=ut.onBlur,Na=ut.onActiveChange,ar=ut.onListChangeStart,$a=ut.onListChangeEnd,fa=(0,re.Z)(ut,ot),yr=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(at,function(){return{scrollTo:function(Sr){yr.current.scrollTo(Sr)},getIndentWidth:function(){return en.current.offsetWidth}}});var On=a.useState(Oe),ia=(0,ne.Z)(On,2),xa=ia[0],We=ia[1],It=a.useState(fe),_t=(0,ne.Z)(It,2),Vt=_t[0],Gt=_t[1],Rn=a.useState(fe),wn=(0,ne.Z)(Rn,2),vt=wn[0],Bt=wn[1],pt=a.useState([]),Sn=(0,ne.Z)(pt,2),Wn=Sn[0],An=Sn[1],ka=a.useState(null),pa=(0,ne.Z)(ka,2),_n=pa[0],Ea=pa[1],Pa=a.useRef(fe);Pa.current=fe;function Dn(){var Ur=Pa.current;Gt(Ur),Bt(Ur),An([]),Ea(null),$a()}(0,ue.Z)(function(){We(Oe);var Ur=ht(xa,Oe);if(Ur.key!==null)if(Ur.add){var Sr=Vt.findIndex(function(la){var Qn=la.key;return Qn===Ur.key}),Ue=hn(Le(Vt,fe,Ur.key),wt,Ft,zt),bn=Vt.slice();bn.splice(Sr+1,0,an),Bt(bn),An(Ue),Ea("show")}else{var Xt=fe.findIndex(function(la){var Qn=la.key;return Qn===Ur.key}),Nn=hn(Le(fe,Vt,Ur.key),wt,Ft,zt),Kn=fe.slice();Kn.splice(Xt+1,0,an),Bt(Kn),An(Nn),Ea("hide")}else Vt!==fe&&(Gt(fe),Bt(fe))},[Oe,fe]),a.useEffect(function(){dn||Dn()},[dn]);var lr=Te?vt:fe,Nr={expandedKeys:Oe,selectedKeys:Ie,loadedKeys:nt,loadingKeys:Me,checkedKeys:St,halfCheckedKeys:yt,dragOverNodeKey:un,dropPosition:yn,keyEntities:Bn};return a.createElement(a.Fragment,null,cn&&sn&&a.createElement("span",{style:lt,"aria-live":"assertive"},dt(sn)),a.createElement("div",null,a.createElement("input",{style:lt,disabled:kt===!1||nn,tabIndex:kt!==!1?Ln:null,onKeyDown:Jn,onFocus:va,onBlur:Da,value:"",onChange:gt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(De,"-indent")},a.createElement("div",{ref:en,className:"".concat(De,"-indent-unit")}))),a.createElement(ie.Z,(0,b.Z)({},fa,{data:lr,itemKey:$e,height:Ft,fullHeight:!1,virtual:wt,itemHeight:zt,prefixCls:"".concat(De,"-list"),ref:yr,onVisibleChange:function(Sr,Ue){var bn=new Set(Sr),Xt=Ue.filter(function(Nn){return!bn.has(Nn)});Xt.some(function(Nn){return $e(Nn)===ft})&&Dn()}}),function(Ur){var Sr=Ur.pos,Ue=(0,b.Z)({},(z(Ur.data),Ur.data)),bn=Ur.title,Xt=Ur.key,Nn=Ur.isStart,Kn=Ur.isEnd,la=(0,Ae.km)(Xt,Sr);delete Ue.key,delete Ue.children;var Qn=(0,Ae.H8)(la,Nr);return a.createElement(Ke,(0,b.Z)({},Ue,Qn,{title:bn,active:!!sn&&Xt===sn.key,pos:Sr,data:Ur.data,isStart:Nn,isEnd:Kn,motion:Te,motionNodes:Xt===ft?Wn:null,motionType:_n,onMotionStart:ar,onMotionEnd:Dn,treeNodeRequiredProps:Nr,onMouseMove:function(){Na(null)}}))}))});rn.displayName="NodeList";var Vn=rn,Zt=ee(35654),Fn=ee(90782),ze=ee(67841),ct=10,Lt=function(ut){(0,et.Z)(De,ut);var at=(0,Ve.Z)(De);function De(){var fe;(0,ke.Z)(this,De);for(var Xe=arguments.length,Rt=new Array(Xe),Oe=0;Oe2&&arguments[2]!==void 0?arguments[2]:!1,yt=fe.state,Bn=yt.dragChildrenKeys,nn=yt.dropPosition,dn=yt.dropTargetKey,un=yt.dropTargetPos,yn=yt.dropAllowed;if(yn){var Te=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),dn!==null){var Ft=(0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(dn,fe.getTreeNodeRequiredProps())),{},{active:((nt=fe.getActiveItem())===null||nt===void 0?void 0:nt.key)===dn,data:(0,ze.Z)(fe.state.keyEntities,dn).node}),zt=Bn.indexOf(dn)!==-1;(0,E.ZP)(!zt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wt=(0,Zt.yx)(un),kt={event:Ie,node:(0,Ae.F)(Ft),dragNode:fe.dragNode?(0,Ae.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Bn),dropToGap:nn!==0,dropPosition:nn+Number(wt[wt.length-1])};Me||Te==null||Te(kt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ie=fe.state.draggingNodeKey;Ie!==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(Ie,St){var nt=fe.state,Me=nt.expandedKeys,yt=nt.flattenNodes,Bn=St.expanded,nn=St.key,dn=St.isLeaf;if(!(dn||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var un=yt.filter(function(Te){return Te.key===nn})[0],yn=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(nn,fe.getTreeNodeRequiredProps())),{},{data:un.data}));fe.setExpandedKeys(Bn?(0,Zt._5)(Me,nn):(0,Zt.L0)(Me,nn)),fe.onNodeExpand(Ie,yn)}},fe.onNodeClick=function(Ie,St){var nt=fe.props,Me=nt.onClick,yt=nt.expandAction;yt==="click"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeDoubleClick=function(Ie,St){var nt=fe.props,Me=nt.onDoubleClick,yt=nt.expandAction;yt==="doubleClick"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeSelect=function(Ie,St){var nt=fe.state.selectedKeys,Me=fe.state,yt=Me.keyEntities,Bn=Me.fieldNames,nn=fe.props,dn=nn.onSelect,un=nn.multiple,yn=St.selected,Te=St[Bn.key],Ft=!yn;Ft?un?nt=(0,Zt.L0)(nt,Te):nt=[Te]:nt=(0,Zt._5)(nt,Te);var zt=nt.map(function(wt){var kt=(0,ze.Z)(yt,wt);return kt?kt.node:null}).filter(function(wt){return wt});fe.setUncontrolledState({selectedKeys:nt}),dn==null||dn(nt,{event:"select",selected:Ft,node:St,selectedNodes:zt,nativeEvent:Ie.nativeEvent})},fe.onNodeCheck=function(Ie,St,nt){var Me=fe.state,yt=Me.keyEntities,Bn=Me.checkedKeys,nn=Me.halfCheckedKeys,dn=fe.props,un=dn.checkStrictly,yn=dn.onCheck,Te=St.key,Ft,zt={event:"check",node:St,checked:nt,nativeEvent:Ie.nativeEvent};if(un){var wt=nt?(0,Zt.L0)(Bn,Te):(0,Zt._5)(Bn,Te),kt=(0,Zt._5)(nn,Te);Ft={checked:wt,halfChecked:kt},zt.checkedNodes=wt.map(function(Da){return(0,ze.Z)(yt,Da)}).filter(function(Da){return Da}).map(function(Da){return Da.node}),fe.setUncontrolledState({checkedKeys:wt})}else{var sn=(0,Fn.S)([].concat((0,Ze.Z)(Bn),[Te]),!0,yt),cn=sn.checkedKeys,Ln=sn.halfCheckedKeys;if(!nt){var Jn=new Set(cn);Jn.delete(Te);var va=(0,Fn.S)(Array.from(Jn),{checked:!1,halfCheckedKeys:Ln},yt);cn=va.checkedKeys,Ln=va.halfCheckedKeys}Ft=cn,zt.checkedNodes=[],zt.checkedNodesPositions=[],zt.halfCheckedKeys=Ln,cn.forEach(function(Da){var Na=(0,ze.Z)(yt,Da);if(Na){var ar=Na.node,$a=Na.pos;zt.checkedNodes.push(ar),zt.checkedNodesPositions.push({node:ar,pos:$a})}}),fe.setUncontrolledState({checkedKeys:cn},!1,{halfCheckedKeys:Ln})}yn==null||yn(Ft,zt)},fe.onNodeLoad=function(Ie){var St=Ie.key,nt=new Promise(function(Me,yt){fe.setState(function(Bn){var nn=Bn.loadedKeys,dn=nn===void 0?[]:nn,un=Bn.loadingKeys,yn=un===void 0?[]:un,Te=fe.props,Ft=Te.loadData,zt=Te.onLoad;if(!Ft||dn.indexOf(St)!==-1||yn.indexOf(St)!==-1)return null;var wt=Ft(Ie);return wt.then(function(){var kt=fe.state.loadedKeys,sn=(0,Zt.L0)(kt,St);zt==null||zt(sn,{event:"load",node:Ie}),fe.setUncontrolledState({loadedKeys:sn}),fe.setState(function(cn){return{loadingKeys:(0,Zt._5)(cn.loadingKeys,St)}}),Me()}).catch(function(kt){if(fe.setState(function(cn){return{loadingKeys:(0,Zt._5)(cn.loadingKeys,St)}}),fe.loadingRetryTimes[St]=(fe.loadingRetryTimes[St]||0)+1,fe.loadingRetryTimes[St]>=ct){var sn=fe.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(sn,St)}),Me()}yt(kt)}),{loadingKeys:(0,Zt.L0)(yn,St)}})});return nt.catch(function(){}),nt},fe.onNodeMouseEnter=function(Ie,St){var nt=fe.props.onMouseEnter;nt==null||nt({event:Ie,node:St})},fe.onNodeMouseLeave=function(Ie,St){var nt=fe.props.onMouseLeave;nt==null||nt({event:Ie,node:St})},fe.onNodeContextMenu=function(Ie,St){var nt=fe.props.onRightClick;nt&&(Ie.preventDefault(),nt({event:Ie,node:St}))},fe.onFocus=function(){var Ie=fe.props.onFocus;fe.setState({focused:!0});for(var St=arguments.length,nt=new Array(St),Me=0;Me1&&arguments[1]!==void 0?arguments[1]:!1,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Me=!1,yt=!0,Bn={};Object.keys(Ie).forEach(function(nn){if(nn in fe.props){yt=!1;return}Me=!0,Bn[nn]=Ie[nn]}),Me&&(!St||yt)&&fe.setState((0,Ne.Z)((0,Ne.Z)({},Bn),nt))}},fe.scrollTo=function(Ie){fe.listRef.current.scrollTo(Ie)},fe}return(0,le.Z)(De,[{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,Rt=this.state,Oe=Rt.focused,Ie=Rt.flattenNodes,St=Rt.keyEntities,nt=Rt.draggingNodeKey,Me=Rt.activeKey,yt=Rt.dropLevelOffset,Bn=Rt.dropContainerKey,nn=Rt.dropTargetKey,dn=Rt.dropPosition,un=Rt.dragOverNodeKey,yn=Rt.indent,Te=this.props,Ft=Te.prefixCls,zt=Te.className,wt=Te.style,kt=Te.showLine,sn=Te.focusable,cn=Te.tabIndex,Ln=cn===void 0?0:cn,Jn=Te.selectable,va=Te.showIcon,Da=Te.icon,Na=Te.switcherIcon,ar=Te.draggable,$a=Te.checkable,fa=Te.checkStrictly,yr=Te.disabled,en=Te.motion,On=Te.loadData,ia=Te.filterTreeNode,xa=Te.height,We=Te.itemHeight,It=Te.virtual,_t=Te.titleRender,Vt=Te.dropIndicatorRender,Gt=Te.onContextMenu,Rn=Te.onScroll,wn=Te.direction,vt=Te.rootClassName,Bt=Te.rootStyle,pt=(0,se.Z)(this.props,{aria:!0,data:!0}),Sn;return ar&&((0,Be.Z)(ar)==="object"?Sn=ar:typeof ar=="function"?Sn={nodeDraggable:ar}:Sn={}),a.createElement(x.k.Provider,{value:{prefixCls:Ft,selectable:Jn,showIcon:va,icon:Da,switcherIcon:Na,draggable:Sn,draggingNodeKey:nt,checkable:$a,checkStrictly:fa,disabled:yr,keyEntities:St,dropLevelOffset:yt,dropContainerKey:Bn,dropTargetKey:nn,dropPosition:dn,dragOverNodeKey:un,indent:yn,direction:wn,dropIndicatorRender:Vt,loadData:On,filterTreeNode:ia,titleRender:_t,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:Je()(Ft,zt,vt,(Xe={},(0,de.Z)(Xe,"".concat(Ft,"-show-line"),kt),(0,de.Z)(Xe,"".concat(Ft,"-focused"),Oe),(0,de.Z)(Xe,"".concat(Ft,"-active-focused"),Me!==null),Xe)),style:Bt},a.createElement(Vn,(0,b.Z)({ref:this.listRef,prefixCls:Ft,style:wt,data:Ie,disabled:yr,selectable:Jn,checkable:!!$a,motion:en,dragging:nt!==null,height:xa,itemHeight:We,virtual:It,focusable:sn,focused:Oe,tabIndex:Ln,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Gt,onScroll:Rn},this.getTreeNodeRequiredProps(),pt))))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Rt){var Oe=Rt.prevProps,Ie={prevProps:Xe};function St(sn){return!Oe&&sn in Xe||Oe&&Oe[sn]!==Xe[sn]}var nt,Me=Rt.fieldNames;if(St("fieldNames")&&(Me=(0,Ae.w$)(Xe.fieldNames),Ie.fieldNames=Me),St("treeData")?nt=Xe.treeData:St("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=(0,Ae.zn)(Xe.children)),nt){Ie.treeData=nt;var yt=(0,Ae.I8)(nt,{fieldNames:Me});Ie.keyEntities=(0,Ne.Z)((0,de.Z)({},ft,xt),yt.keyEntities)}var Bn=Ie.keyEntities||Rt.keyEntities;if(St("expandedKeys")||Oe&&St("autoExpandParent"))Ie.expandedKeys=Xe.autoExpandParent||!Oe&&Xe.defaultExpandParent?(0,Zt.r7)(Xe.expandedKeys,Bn):Xe.expandedKeys;else if(!Oe&&Xe.defaultExpandAll){var nn=(0,Ne.Z)({},Bn);delete nn[ft],Ie.expandedKeys=Object.keys(nn).map(function(sn){return nn[sn].key})}else!Oe&&Xe.defaultExpandedKeys&&(Ie.expandedKeys=Xe.autoExpandParent||Xe.defaultExpandParent?(0,Zt.r7)(Xe.defaultExpandedKeys,Bn):Xe.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,nt||Ie.expandedKeys){var dn=(0,Ae.oH)(nt||Rt.treeData,Ie.expandedKeys||Rt.expandedKeys,Me);Ie.flattenNodes=dn}if(Xe.selectable&&(St("selectedKeys")?Ie.selectedKeys=(0,Zt.BT)(Xe.selectedKeys,Xe):!Oe&&Xe.defaultSelectedKeys&&(Ie.selectedKeys=(0,Zt.BT)(Xe.defaultSelectedKeys,Xe))),Xe.checkable){var un;if(St("checkedKeys")?un=(0,Zt.E6)(Xe.checkedKeys)||{}:!Oe&&Xe.defaultCheckedKeys?un=(0,Zt.E6)(Xe.defaultCheckedKeys)||{}:nt&&(un=(0,Zt.E6)(Xe.checkedKeys)||{checkedKeys:Rt.checkedKeys,halfCheckedKeys:Rt.halfCheckedKeys}),un){var yn=un,Te=yn.checkedKeys,Ft=Te===void 0?[]:Te,zt=yn.halfCheckedKeys,wt=zt===void 0?[]:zt;if(!Xe.checkStrictly){var kt=(0,Fn.S)(Ft,!0,Bn);Ft=kt.checkedKeys,wt=kt.halfCheckedKeys}Ie.checkedKeys=Ft,Ie.halfCheckedKeys=wt}}return St("loadedKeys")&&(Ie.loadedKeys=Xe.loadedKeys),Ie}}]),De}(a.Component);Lt.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:y,allowDrop:function(){return!0},expandAction:!1},Lt.TreeNode=be.Z;var mt=Lt,Nt=mt},35654:function(Qt,jt,ee){"use strict";ee.d(jt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return E},_5:function(){return et},r7:function(){return ne},wA:function(){return Je},yx:function(){return Ge}});var b=ee(26407),de=ee(39559),Be=ee(48736),Ne=ee(59301),Ze=ee(39417),ke=ee(67841),le=ee(71430),st=null;function et(re,ue){if(!re)return[];var ie=re.slice(),ve=ie.indexOf(ue);return ve>=0&&ie.splice(ve,1),ie}function Ve(re,ue){var ie=(re||[]).slice();return ie.indexOf(ue)===-1&&ie.push(ue),ie}function Ge(re){return re.split("-")}function Je(re,ue){var ie=[],ve=(0,ke.Z)(ue,re);function be(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(Ae){var He=Ae.key,he=Ae.children;ie.push(He),be(he)})}return be(ve.children),ie}function Ye(re){if(re.parent){var ue=Ge(re.pos);return Number(ue[ue.length-1])===re.parent.children.length-1}return!1}function se(re){var ue=Ge(re.pos);return Number(ue[ue.length-1])===0}function E(re,ue,ie,ve,be,je,Ae,He,he,qe){var Ke,ht=re.clientX,Le=re.clientY,ot=re.target.getBoundingClientRect(),lt=ot.top,gt=ot.height,ft=(qe==="rtl"?-1:1)*(((be==null?void 0:be.x)||0)-ht),ln=(ft-12)/ve,xt=(0,ke.Z)(He,ie.props.eventKey);if(Le-1.5?je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1:je({dragNode:ct,dropNode:Lt,dropPosition:0})?Zt=0:je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1:je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1,{dropPosition:Zt,dropLevelOffset:Fn,dropTargetKey:xt.key,dropTargetPos:xt.pos,dragOverNodeKey:Vn,dropContainerKey:Zt===0?null:((Ke=xt.parent)===null||Ke===void 0?void 0:Ke.key)||null,dropAllowed:mt}}function a(re,ue){if(re){var ie=ue.multiple;return ie?re.slice():re.length?[re[0]]:re}}var x=function(ue){return ue};function y(re,ue){if(!re)return[];var ie=ue||{},ve=ie.processProps,be=ve===void 0?x:ve,je=Array.isArray(re)?re:[re];return je.map(function(Ae){var He=Ae.children,he=_objectWithoutProperties(Ae,st),qe=y(He,ue);return React.createElement(TreeNode,_extends({key:he.key},be(he)),qe)})}function z(re){if(!re)return null;var ue;if(Array.isArray(re))ue={checkedKeys:re,halfCheckedKeys:void 0};else if((0,de.Z)(re)==="object")ue={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 ue}function ne(re,ue){var ie=new Set;function ve(be){if(!ie.has(be)){var je=(0,ke.Z)(ue,be);if(je){ie.add(be);var Ae=je.parent,He=je.node;He.disabled||Ae&&ve(Ae.key)}}}return(re||[]).forEach(function(be){ve(be)}),(0,b.Z)(ie)}},90782:function(Qt,jt,ee){"use strict";ee.d(jt,{S:function(){return le}});var b=ee(48736),de=ee(67841);function Be(st,et){var Ve=new Set;return st.forEach(function(Ge){et.has(Ge)||Ve.add(Ge)}),Ve}function Ne(st){var et=st||{},Ve=et.disabled,Ge=et.disableCheckbox,Je=et.checkable;return!!(Ve||Ge)||Je===!1}function Ze(st,et,Ve,Ge){for(var Je=new Set(st),Ye=new Set,se=0;se<=Ve;se+=1){var E=et.get(se)||new Set;E.forEach(function(z){var ne=z.key,re=z.node,ue=z.children,ie=ue===void 0?[]:ue;Je.has(ne)&&!Ge(re)&&ie.filter(function(ve){return!Ge(ve.node)}).forEach(function(ve){Je.add(ve.key)})})}for(var a=new Set,x=Ve;x>=0;x-=1){var y=et.get(x)||new Set;y.forEach(function(z){var ne=z.parent,re=z.node;if(!(Ge(re)||!z.parent||a.has(z.parent.key))){if(Ge(z.parent.node)){a.add(ne.key);return}var ue=!0,ie=!1;(ne.children||[]).filter(function(ve){return!Ge(ve.node)}).forEach(function(ve){var be=ve.key,je=Je.has(be);ue&&!je&&(ue=!1),!ie&&(je||Ye.has(be))&&(ie=!0)}),ue&&Je.add(ne.key),ie&&Ye.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(Ye,Je))}}function ke(st,et,Ve,Ge,Je){for(var Ye=new Set(st),se=new Set(et),E=0;E<=Ge;E+=1){var a=Ve.get(E)||new Set;a.forEach(function(ne){var re=ne.key,ue=ne.node,ie=ne.children,ve=ie===void 0?[]:ie;!Ye.has(re)&&!se.has(re)&&!Je(ue)&&ve.filter(function(be){return!Je(be.node)}).forEach(function(be){Ye.delete(be.key)})})}se=new Set;for(var x=new Set,y=Ge;y>=0;y-=1){var z=Ve.get(y)||new Set;z.forEach(function(ne){var re=ne.parent,ue=ne.node;if(!(Je(ue)||!ne.parent||x.has(ne.parent.key))){if(Je(ne.parent.node)){x.add(re.key);return}var ie=!0,ve=!1;(re.children||[]).filter(function(be){return!Je(be.node)}).forEach(function(be){var je=be.key,Ae=Ye.has(je);ie&&!Ae&&(ie=!1),!ve&&(Ae||se.has(je))&&(ve=!0)}),ie||Ye.delete(re.key),ve&&se.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Ye),halfCheckedKeys:Array.from(Be(se,Ye))}}function le(st,et,Ve,Ge){var Je=[],Ye;Ge?Ye=Ge:Ye=Ne;var se=new Set(st.filter(function(y){var z=!!(0,de.Z)(Ve,y);return z||Je.push(y),z})),E=new Map,a=0;Object.keys(Ve).forEach(function(y){var z=Ve[y],ne=z.level,re=E.get(ne);re||(re=new Set,E.set(ne,re)),re.add(z),a=Math.max(a,ne)}),(0,b.ZP)(!Je.length,"Tree missing follow keys: ".concat(Je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return et===!0?x=Ze(se,E,a,Ye):x=ke(se,et.halfCheckedKeys,E,a,Ye),x}},67841:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return b}});function b(de,Be){return de[Be]}},71430:function(Qt,jt,ee){"use strict";ee.d(jt,{F:function(){return ne},H8:function(){return z},I8:function(){return y},km:function(){return Je},oH:function(){return a},w$:function(){return Ye},zn:function(){return E}});var b=ee(39559),de=ee(26407),Be=ee(33708),Ne=ee(37061),Ze=ee(11592),ke=ee(2738),le=ee(48736),st=ee(67841),et=["children"];function Ve(re,ue){return"".concat(re,"-").concat(ue)}function Ge(re){return re&&re.type&&re.type.isTreeNode}function Je(re,ue){return re!=null?re:ue}function Ye(re){var ue=re||{},ie=ue.title,ve=ue._title,be=ue.key,je=ue.children,Ae=ie||"title";return{title:Ae,_title:ve||[Ae],key:be||"key",children:je||"children"}}function se(re,ue){var ie=new Map;function ve(be){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Ae){var He=Ae[ue.key],he=Ae[ue.children];warning(He!=null,"Tree node must have a certain key: [".concat(je).concat(He,"]"));var qe=String(He);warning(!ie.has(qe)||He===null||He===void 0,"Same 'key' exist in the Tree: ".concat(qe)),ie.set(qe,!0),ve(he,"".concat(je).concat(qe," > "))})}ve(re)}function E(re){function ue(ie){var ve=(0,Ze.Z)(ie);return ve.map(function(be){if(!Ge(be))return(0,le.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var je=be.key,Ae=be.props,He=Ae.children,he=(0,Ne.Z)(Ae,et),qe=(0,Be.Z)({key:je},he),Ke=ue(He);return Ke.length&&(qe.children=Ke),qe}).filter(function(be){return be})}return ue(re)}function a(re,ue,ie){var ve=Ye(ie),be=ve._title,je=ve.key,Ae=ve.children,He=new Set(ue===!0?[]:ue),he=[];function qe(Ke){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ke.map(function(Le,ot){for(var lt=Ve(ht?ht.pos:"0",ot),gt=Je(Le[je],lt),ft,ln=0;ln1&&arguments[1]!==void 0?arguments[1]:{},ie=ue.initWrapper,ve=ue.processEntity,be=ue.onProcessFinished,je=ue.externalGetKey,Ae=ue.childrenPropName,He=ue.fieldNames,he=arguments.length>2?arguments[2]:void 0,qe=je||he,Ke={},ht={},Le={posEntities:Ke,keyEntities:ht};return ie&&(Le=ie(Le)||Le),x(re,function(ot){var lt=ot.node,gt=ot.index,ft=ot.pos,ln=ot.key,xt=ot.parentPos,an=ot.level,hn=ot.nodes,$e={node:lt,nodes:hn,index:gt,key:ln,pos:ft,level:an},dt=Je(ln,ft);Ke[ft]=$e,ht[dt]=$e,$e.parent=Ke[xt],$e.parent&&($e.parent.children=$e.parent.children||[],$e.parent.children.push($e)),ve&&ve($e,Le)},{externalGetKey:qe,childrenPropName:Ae,fieldNames:He}),be&&be(Le),Le}function z(re,ue){var ie=ue.expandedKeys,ve=ue.selectedKeys,be=ue.loadedKeys,je=ue.loadingKeys,Ae=ue.checkedKeys,He=ue.halfCheckedKeys,he=ue.dragOverNodeKey,qe=ue.dropPosition,Ke=ue.keyEntities,ht=(0,st.Z)(Ke,re),Le={eventKey:re,expanded:ie.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:be.indexOf(re)!==-1,loading:je.indexOf(re)!==-1,checked:Ae.indexOf(re)!==-1,halfChecked:He.indexOf(re)!==-1,pos:String(ht?ht.pos:""),dragOver:he===re&&qe===0,dragOverGapTop:he===re&&qe===-1,dragOverGapBottom:he===re&&qe===1};return Le}function ne(re){var ue=re.data,ie=re.expanded,ve=re.selected,be=re.checked,je=re.loaded,Ae=re.loading,He=re.halfChecked,he=re.dragOver,qe=re.dragOverGapTop,Ke=re.dragOverGapBottom,ht=re.pos,Le=re.active,ot=re.eventKey,lt=(0,Be.Z)((0,Be.Z)({},ue),{},{expanded:ie,selected:ve,checked:be,loaded:je,loading:Ae,halfChecked:He,dragOver:he,dragOverGapTop:qe,dragOverGapBottom:Ke,pos:ht,active:Le,key:ot});return"props"in lt||Object.defineProperty(lt,"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}}),lt}},8224:function(Qt,jt,ee){"use strict";ee.d(jt,{Z:function(){return de}});var b=ee(4676);function de(Be,Ne,Ze,ke){var le=b.unstable_batchedUpdates?function(et){b.unstable_batchedUpdates(Ze,et)}:Ze;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ne,le,ke),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ne,le,ke)}}}},55468:function(Qt,jt,ee){"use strict";ee.d(jt,{g1:function(){return Ge},os:function(){return Ye}});var b=/margin|padding|width|height|max|min|offset/,de={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Ne(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Ze(se,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return se.offsetHeight;if(E==="width")return se.offsetWidth}return E in de||(de[E]=b.test(E)),de[E]?parseFloat(a)||0:a}function ke(se,E){var a=arguments.length,x=Ne(se);return E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,a===1?x:Ze(se,E,x[E]||se.style[E])}function le(se,E,a){var x=arguments.length;if(E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&b.test(E)&&(a="".concat(a,"px")),se.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&le(se,y,E[y]);return Ne(se)}function st(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function et(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function Ve(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:E}}function Ge(){var se=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:E}}function Je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ye(se){var E=se.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(Qt,jt,ee){"use strict";ee.d(jt,{G:function(){return Ne}});var b=ee(47273),de=function(ke){if((0,b.Z)()&&window.document.documentElement){var le=Array.isArray(ke)?ke:[ke],st=window.document.documentElement;return le.some(function(et){return et in st.style})}return!1},Be=function(ke,le){if(!de(ke))return!1;var st=document.createElement("div"),et=st.style[ke];return st.style[ke]=le,st.style[ke]!==et};function Ne(Ze,ke){return!Array.isArray(Ze)&&ke!==void 0?Be(Ze,ke):de(Ze)}},78113:function(Qt,jt,ee){"use strict";ee.d(jt,{Z5:function(){return iu},_l:function(){return jd},bK:function(){return qs}});var b=ee(59301),de=ee(2505);function Be(te,ae){te.prototype=Object.create(ae.prototype),te.prototype.constructor=te,(0,de.Z)(te,ae)}var Ne=ee(92413),Ze=ee(59781),ke=b.createContext(null),le=null;function st(te){te()}var et=st,Ve=function(ae){return et=ae},Ge=function(){return et};function Je(){var te=Ge(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){te(function(){for(var xe=ae;xe;)xe.callback(),xe=xe.next})},get:function(){for(var xe=[],Fe=ae;Fe;)xe.push(Fe),Fe=Fe.next;return xe},subscribe:function(xe){var Fe=!0,Re=oe={callback:xe,next:null,prev:oe};return Re.prev?Re.prev.next=Re:ae=Re,function(){!Fe||ae===null||(Fe=!1,Re.next?Re.next.prev=Re.prev:oe=Re.prev,Re.prev?Re.prev.next=Re.next:ae=Re.next)}}}}var Ye={notify:function(){},get:function(){return[]}};function se(te,ae){var oe,ge=Ye;function xe(Dt){return bt(),ge.subscribe(Dt)}function Fe(){ge.notify()}function Re(){Mt.onStateChange&&Mt.onStateChange()}function _e(){return!!oe}function bt(){oe||(oe=ae?ae.addNestedSub(Re):te.subscribe(Re),ge=Je())}function Tt(){oe&&(oe(),oe=void 0,ge.clear(),ge=Ye)}var Mt={addNestedSub:xe,notifyNestedSubs:Fe,handleChangeWrapper:Re,isSubscribed:_e,trySubscribe:bt,tryUnsubscribe:Tt,getListeners:function(){return ge}};return Mt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(te){var ae=te.store,oe=te.context,ge=te.children,xe=(0,b.useMemo)(function(){var _e=se(ae);return{store:ae,subscription:_e}},[ae]),Fe=(0,b.useMemo)(function(){return ae.getState()},[ae]);E(function(){var _e=xe.subscription;return _e.onStateChange=_e.notifyNestedSubs,_e.trySubscribe(),Fe!==ae.getState()&&_e.notifyNestedSubs(),function(){_e.tryUnsubscribe(),_e.onStateChange=null}},[xe,Fe]);var Re=oe||ke;return b.createElement(Re.Provider,{value:xe},ge)}var x=a,y=ee(96529),z=ee(94266),ne=ee.n(z),re=ee(53410),ue=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],ve=[],be=[null,null],je=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function Ae(te,ae){var oe=te[1];return[ae.payload,oe+1]}function He(te,ae,oe){E(function(){return te.apply(void 0,ae)},oe)}function he(te,ae,oe,ge,xe,Fe,Re){te.current=ge,ae.current=xe,oe.current=!1,Fe.current&&(Fe.current=null,Re())}function qe(te,ae,oe,ge,xe,Fe,Re,_e,bt,Tt){if(te){var Mt=!1,Dt=null,At=function(){if(!Mt){var ir=ae.getState(),mr,hr;try{mr=ge(ir,xe.current)}catch(Vr){hr=Vr,Dt=Vr}hr||(Dt=null),mr===Fe.current?Re.current||bt():(Fe.current=mr,_e.current=mr,Re.current=!0,Tt({type:"STORE_UPDATED",payload:{error:hr}}))}};oe.onStateChange=At,oe.trySubscribe(),At();var Jt=function(){if(Mt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Dt)throw Dt};return Jt}}var Ke=function(){return[null,0]};function ht(te,ae){ae===void 0&&(ae={});var oe=ae,ge=oe.getDisplayName,xe=ge===void 0?function(ni){return"ConnectAdvanced("+ni+")"}:ge,Fe=oe.methodName,Re=Fe===void 0?"connectAdvanced":Fe,_e=oe.renderCountProp,bt=_e===void 0?void 0:_e,Tt=oe.shouldHandleStateChanges,Mt=Tt===void 0?!0:Tt,Dt=oe.storeKey,At=Dt===void 0?"store":Dt,Jt=oe.withRef,$n=Jt===void 0?!1:Jt,ir=oe.forwardRef,mr=ir===void 0?!1:ir,hr=oe.context,Vr=hr===void 0?ke:hr,ro=(0,y.Z)(oe,ue);if(0)var co;var ui=Vr;return function(Ai){var vl=Ai.displayName||Ai.name||"Component",ki=xe(vl),pl=(0,Ne.Z)({},ro,{getDisplayName:xe,methodName:Re,renderCountProp:bt,shouldHandleStateChanges:Mt,storeKey:At,displayName:ki,wrappedComponentName:vl,WrappedComponent:Ai}),Ll=ro.pure;function Tl(_l){return te(_l.dispatch,pl)}var Au=Ll?b.useMemo:function(_l){return _l()};function yu(_l){var ns=(0,b.useMemo)(function(){var bs=_l.reactReduxForwardedRef,zs=(0,y.Z)(_l,ie);return[_l.context,bs,zs]},[_l]),Iu=ns[0],Ps=ns[1],gs=ns[2],as=(0,b.useMemo)(function(){return Iu&&Iu.Consumer&&(0,re.isContextConsumer)(b.createElement(Iu.Consumer,null))?Iu:ui},[Iu,ui]),Ou=(0,b.useContext)(as),ms=!!_l.store&&!!_l.store.getState&&!!_l.store.dispatch,Fs=!!Ou&&!!Ou.store,Lu=ms?_l.store:Ou.store,ys=(0,b.useMemo)(function(){return Tl(Lu)},[Lu]),Bs=(0,b.useMemo)(function(){if(!Mt)return be;var bs=se(Lu,ms?null:Ou.subscription),zs=bs.notifyNestedSubs.bind(bs);return[bs,zs]},[Lu,ms,Ou]),Ss=Bs[0],ws=Bs[1],Ds=(0,b.useMemo)(function(){return ms?Ou:(0,Ne.Z)({},Ou,{subscription:Ss})},[ms,Ou,Ss]),ed=(0,b.useReducer)(Ae,ve,Ke),Ud=ed[0],As=Ud[0],Qd=ed[1];if(As&&As.error)throw As.error;var td=(0,b.useRef)(),Ts=(0,b.useRef)(gs),Ns=(0,b.useRef)(),nd=(0,b.useRef)(!1),_s=Au(function(){return Ns.current&&gs===Ts.current?Ns.current:ys(Lu.getState(),gs)},[Lu,As,gs]);He(he,[Ts,td,nd,gs,_s,Ns,ws]),He(qe,[Mt,Lu,Ss,ys,Ts,td,nd,Ns,ws,Qd],[Lu,Ss,ys]);var Zs=(0,b.useMemo)(function(){return b.createElement(Ai,(0,Ne.Z)({},_s,{ref:Ps}))},[Ps,Ai,_s]),Yd=(0,b.useMemo)(function(){return Mt?b.createElement(as.Provider,{value:Ds},Zs):Zs},[as,Zs,Ds]);return Yd}var uu=Ll?b.memo(yu):yu;if(uu.WrappedComponent=Ai,uu.displayName=yu.displayName=ki,mr){var Nu=b.forwardRef(function(ns,Iu){return b.createElement(uu,(0,Ne.Z)({},ns,{reactReduxForwardedRef:Iu}))});return Nu.displayName=ki,Nu.WrappedComponent=Ai,ne()(Nu,Ai)}return ne()(uu,Ai)}}function Le(te,ae){return te===ae?te!==0||ae!==0||1/te===1/ae:te!==te&&ae!==ae}function ot(te,ae){if(Le(te,ae))return!0;if(typeof te!="object"||te===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(te),ge=Object.keys(ae);if(oe.length!==ge.length)return!1;for(var xe=0;xe=0;ge--){var xe=ae[ge](te);if(xe)return xe}return function(Fe,Re){throw new Error("Invalid value of type "+typeof te+" for "+oe+" argument when connecting component "+Re.wrappedComponentName+".")}}function Xe(te,ae){return te===ae}function Rt(te){var ae=te===void 0?{}:te,oe=ae.connectHOC,ge=oe===void 0?ht:oe,xe=ae.mapStateToPropsFactories,Fe=xe===void 0?Vn:xe,Re=ae.mapDispatchToPropsFactories,_e=Re===void 0?$e:Re,bt=ae.mergePropsFactories,Tt=bt===void 0?Lt:bt,Mt=ae.selectorFactory,Dt=Mt===void 0?at:Mt;return function(Jt,$n,ir,mr){mr===void 0&&(mr={});var hr=mr,Vr=hr.pure,ro=Vr===void 0?!0:Vr,co=hr.areStatesEqual,ui=co===void 0?Xe:co,ni=hr.areOwnPropsEqual,Ai=ni===void 0?ot:ni,vl=hr.areStatePropsEqual,ki=vl===void 0?ot:vl,pl=hr.areMergedPropsEqual,Ll=pl===void 0?ot:pl,Tl=(0,y.Z)(hr,De),Au=fe(Jt,Fe,"mapStateToProps"),yu=fe($n,_e,"mapDispatchToProps"),uu=fe(ir,Tt,"mergeProps");return ge(Dt,(0,Ne.Z)({methodName:"connect",getDisplayName:function(_l){return"Connect("+_l+")"},shouldHandleStateChanges:!!Jt,initMapStateToProps:Au,initMapDispatchToProps:yu,initMergeProps:uu,pure:ro,areStatesEqual:ui,areOwnPropsEqual:Ai,areStatePropsEqual:ki,areMergedPropsEqual:Ll},Tl))}}var Oe=Rt();function Ie(){var te=useContext(ReactReduxContext);return te}function St(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(){var ge=ae(),xe=ge.store;return xe}}var nt=null;function Me(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultStore:createStoreHook(te);return function(){var ge=ae();return ge.dispatch}}var yt=null,Bn=function(ae,oe){return ae===oe};function nn(te,ae,oe,ge){var xe=useReducer(function($n){return $n+1},0),Fe=xe[1],Re=useMemo(function(){return createSubscription(oe,ge)},[oe,ge]),_e=useRef(),bt=useRef(),Tt=useRef(),Mt=useRef(),Dt=oe.getState(),At;try{if(te!==bt.current||Dt!==Tt.current||_e.current){var Jt=te(Dt);Mt.current===void 0||!ae(Jt,Mt.current)?At=Jt:At=Mt.current}else At=Mt.current}catch($n){throw _e.current&&($n.message+=` + `]:Object.assign(Object.assign({},(0,Na.dF)()),{display:"inline-block",width:"100%",[`${bn}${bn}-select`]:{width:Un,height:Un,marginInlineEnd:Ue.marginXS,marginBottom:Ue.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ue.colorFillAlter,border:`${Ue.lineWidth}px dashed ${Ue.colorBorder}`,borderRadius:Ue.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ue.motionDurationSlow}`,[`> ${bn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${bn}-disabled):hover`]:{borderColor:Ue.colorPrimary}},[`${la}${la}-picture-card, ${la}${la}-picture-circle`]:{[`${la}-item-container`]:{display:"inline-block",width:Un,height:Un,marginBlock:`0 ${Ue.marginXS}px`,marginInline:`0 ${Ue.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Qn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ue.paddingXS*2}px)`,height:`calc(100% - ${Ue.paddingXS*2}px)`,backgroundColor:Ue.colorBgMask,opacity:0,transition:`all ${Ue.motionDurationSlow}`,content:'" "'}},[`${Qn}:hover`]:{[`&::before, ${Qn}-actions`]:{opacity:1}},[`${Qn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ue.motionDurationSlow}`,[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{zIndex:10,width:Nn,margin:`0 ${Ue.marginXXS}px`,fontSize:Nn,cursor:"pointer",transition:`all ${Ue.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Qn}-actions, ${Qn}-actions:hover`]:{[`${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{color:new wn.C(Kn).setAlpha(.65).toRgbString(),"&:hover":{color:Kn}}},[`${Qn}-thumbnail, ${Qn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Qn}-name`]:{display:"none",textAlign:"center"},[`${Qn}-file + ${Qn}-name`]:{position:"absolute",bottom:Ue.margin,display:"block",width:`calc(100% - ${Ue.paddingXS*2}px)`},[`${Qn}-uploading`]:{[`&${Qn}`]:{backgroundColor:Ue.colorFillAlter},[`&::before, ${Xt}-eye, ${Xt}-download, ${Xt}-delete`]:{display:"none"}},[`${Qn}-progress`]:{bottom:Ue.marginXL,width:`calc(100% - ${Ue.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${bn}-wrapper${bn}-picture-circle-wrapper`]:{[`${bn}${bn}-select`]:{borderRadius:"50%"}}}};var Sn=Ue=>{const{componentCls:bn}=Ue;return{[`${bn}-rtl`]:{direction:"rtl"}}};const Wn=Ue=>{const{componentCls:bn,colorTextDisabled:Xt}=Ue;return{[`${bn}-wrapper`]:Object.assign(Object.assign({},(0,Na.Wf)(Ue)),{[bn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${bn}-select`]:{display:"inline-block"},[`${bn}-disabled`]:{color:Xt,cursor:"not-allowed"}})}};var An=(0,$a.Z)("Upload",Ue=>{const{fontSizeHeading3:bn,fontSize:Xt,lineHeight:Nn,lineWidth:Kn,controlHeightLG:la}=Ue,Qn=Math.round(Xt*Nn),Un=(0,fa.TS)(Ue,{uploadThumbnailSize:bn*2,uploadProgressOffset:Qn/2+Kn,uploadPicCardSize:la*2.55});return[Wn(Un),en(Un),vt(Un),Bt(Un),ia(Un),Wt(Un),Sn(Un),(0,ar.Z)(Un)]},Ue=>({actionsColor:Ue.colorTextDescription})),ka=function(Ue,bn,Xt,Nn){function Kn(la){return la instanceof Xt?la:new Xt(function(Qn){Qn(la)})}return new(Xt||(Xt=Promise))(function(la,Qn){function Un(En){try{da(Nn.next(En))}catch(dr){Qn(dr)}}function ur(En){try{da(Nn.throw(En))}catch(dr){Qn(dr)}}function da(En){En.done?la(En.value):Kn(En.value).then(Un,ur)}da((Nn=Nn.apply(Ue,bn||[])).next())})};const pa=`__LIST_IGNORE_${Date.now()}__`,_n=(Ue,bn)=>{const{fileList:Xt,defaultFileList:Nn,onRemove:Kn,showUploadList:la=!0,listType:Qn="text",onPreview:Un,onDownload:ur,onChange:da,onDrop:En,previewFile:dr,disabled:xr,locale:Wr,iconRender:Ir,isImageUrl:ha,progress:za,prefixCls:Ua,className:La,type:Or="select",children:no,style:Fr,itemRender:Er,maxCount:Pr,data:si={},multiple:ai=!1,action:xi="",accept:ho="",supportServerRender:yo=!0,rootClassName:Go}=Ue,Mo=b.useContext(ft.Z),Ao=xr!=null?xr:Mo,[gr,eo]=(0,ot.Z)(Nn||[],{value:Xt,postState:jn=>jn!=null?jn:[]}),[Qo,Yo]=b.useState("drop"),Oo=b.useRef(null);b.useMemo(()=>{const jn=Date.now();(Xt||[]).forEach((Xn,sr)=>{!Xn.uid&&!Object.isFrozen(Xn)&&(Xn.uid=`__AUTO__${jn}_${sr}__`)})},[Xt]);const br=(jn,Xn,sr)=>{let Ha=(0,de.Z)(Xn),Ta=!1;Pr===1?Ha=Ha.slice(-1):Pr&&(Ta=Ha.length>Pr,Ha=Ha.slice(0,Pr)),(0,lt.flushSync)(()=>{eo(Ha)});const Ja={file:jn,fileList:Ha};sr&&(Ja.event=sr),(!Ta||Ha.some(Rr=>Rr.uid===jn.uid))&&(0,lt.flushSync)(()=>{da==null||da(Ja)})},ri=(jn,Xn)=>ka(void 0,void 0,void 0,function*(){const{beforeUpload:sr,transformFile:Ha}=Ue;let Ta=jn;if(sr){const Ja=yield sr(jn,Xn);if(Ja===!1)return!1;if(delete jn[pa],Ja===pa)return Object.defineProperty(jn,pa,{value:!0,configurable:!0}),!1;typeof Ja=="object"&&Ja&&(Ta=Ja)}return Ha&&(Ta=yield Ha(Ta)),Ta}),Hr=jn=>{const Xn=jn.filter(Ta=>!Ta.file[pa]);if(!Xn.length)return;const sr=Xn.map(Ta=>nt(Ta.file));let Ha=(0,de.Z)(gr);sr.forEach(Ta=>{Ha=Me(Ta,Ha)}),sr.forEach((Ta,Ja)=>{let Rr=Ta;if(Xn[Ja].parsedFile)Ta.status="uploading";else{const{originFileObj:bo}=Ta;let $o;try{$o=new File([bo],bo.name,{type:bo.type})}catch(Wo){$o=new Blob([bo],{type:bo.type}),$o.name=bo.name,$o.lastModifiedDate=new Date,$o.lastModified=new Date().getTime()}$o.uid=Ta.uid,Rr=$o}br(Rr,Ha)})},ko=(jn,Xn,sr)=>{try{typeof jn=="string"&&(jn=JSON.parse(jn))}catch(Ja){}if(!yt(Xn,gr))return;const Ha=nt(Xn);Ha.status="done",Ha.percent=100,Ha.response=jn,Ha.xhr=sr;const Ta=Me(Ha,gr);br(Ha,Ta)},mo=(jn,Xn)=>{if(!yt(Xn,gr))return;const sr=nt(Xn);sr.status="uploading",sr.percent=jn.percent;const Ha=Me(sr,gr);br(sr,Ha,jn)},di=(jn,Xn,sr)=>{if(!yt(sr,gr))return;const Ha=nt(sr);Ha.error=jn,Ha.response=Xn,Ha.status="error";const Ta=Me(Ha,gr);br(Ha,Ta)},vi=jn=>{let Xn;Promise.resolve(typeof Kn=="function"?Kn(jn):Kn).then(sr=>{var Ha;if(sr===!1)return;const Ta=Bn(jn,gr);Ta&&(Xn=Object.assign(Object.assign({},jn),{status:"removed"}),gr==null||gr.forEach(Ja=>{const Rr=Xn.uid!==void 0?"uid":"name";Ja[Rr]===Xn[Rr]&&!Object.isFrozen(Ja)&&(Ja.status="removed")}),(Ha=Oo.current)===null||Ha===void 0||Ha.abort(Xn),br(Xn,Ta))})},Ui=jn=>{Yo(jn.type),jn.type==="drop"&&(En==null||En(jn))};b.useImperativeHandle(bn,()=>({onBatchStart:Hr,onSuccess:ko,onProgress:mo,onError:di,fileList:gr,upload:Oo.current}));const{getPrefixCls:tl,direction:nl,upload:Vo}=b.useContext(gt.E_),Fi=tl("upload",Ua),Wi=Object.assign(Object.assign({onBatchStart:Hr,onError:di,onProgress:mo,onSuccess:ko},Ue),{data:si,multiple:ai,action:xi,accept:ho,supportServerRender:yo,prefixCls:Fi,disabled:Ao,beforeUpload:ri,onChange:void 0});delete Wi.className,delete Wi.style,(!no||Ao)&&delete Wi.id;const[dl,gl]=An(Fi),[Pl]=(0,ln.Z)("Upload",xt.Z.Upload),{showRemoveIcon:kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:so,downloadIcon:we}=typeof la=="boolean"?{}:la,fn=(jn,Xn)=>la?b.createElement(Da,{prefixCls:Fi,listType:Qn,items:gr,previewFile:dr,onPreview:Un,onDownload:ur,onRemove:vi,showRemoveIcon:!Ao&&kr,showPreviewIcon:Qa,showDownloadIcon:Ga,removeIcon:Ya,previewIcon:so,downloadIcon:we,iconRender:Ir,locale:Object.assign(Object.assign({},Pl),Wr),isImageUrl:ha,progress:za,appendAction:jn,appendActionVisible:Xn,itemRender:Er,disabled:Ao}):jn,Mn=Ne()(`${Fi}-wrapper`,La,Go,gl,Vo==null?void 0:Vo.className,{[`${Fi}-rtl`]:nl==="rtl",[`${Fi}-picture-card-wrapper`]:Qn==="picture-card",[`${Fi}-picture-circle-wrapper`]:Qn==="picture-circle"}),Sa=Object.assign(Object.assign({},Vo==null?void 0:Vo.style),Fr);if(Or==="drag"){const jn=Ne()(gl,Fi,`${Fi}-drag`,{[`${Fi}-drag-uploading`]:gr.some(Xn=>Xn.status==="uploading"),[`${Fi}-drag-hover`]:Qo==="dragover",[`${Fi}-disabled`]:Ao,[`${Fi}-rtl`]:nl==="rtl"});return dl(b.createElement("span",{className:Mn},b.createElement("div",{className:jn,style:Sa,onDrop:Ui,onDragOver:Ui,onDragLeave:Ui},b.createElement(Le,Object.assign({},Wi,{ref:Oo,className:`${Fi}-btn`}),b.createElement("div",{className:`${Fi}-drag-container`},no))),fn()))}const on=Ne()(Fi,`${Fi}-select`,{[`${Fi}-disabled`]:Ao}),Fa=(jn=>b.createElement("div",{className:on,style:jn},b.createElement(Le,Object.assign({},Wi,{ref:Oo}))))(no?void 0:{display:"none"});return dl(Qn==="picture-card"||Qn==="picture-circle"?b.createElement("span",{className:Mn},fn(Fa,!!no)):b.createElement("span",{className:Mn},Fa,fn()))};var Pa=b.forwardRef(_n),Dn=function(Ue,bn){var Xt={};for(var Nn in Ue)Object.prototype.hasOwnProperty.call(Ue,Nn)&&bn.indexOf(Nn)<0&&(Xt[Nn]=Ue[Nn]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Kn=0,Nn=Object.getOwnPropertySymbols(Ue);Kn{var{style:Xt,height:Nn}=Ue,Kn=Dn(Ue,["style","height"]);return b.createElement(Pa,Object.assign({ref:bn},Kn,{type:"drag",style:Object.assign(Object.assign({},Xt),{height:Nn})}))});const Ur=Pa;Ur.Dragger=Nr,Ur.LIST_IGNORE=pa;var Sr=Ur},24334:function(Qt,Gt,ee){var b,de;(function(Be,Ne){Qt.exports=Ne(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ee.g!="undefined"?ee.g:this,function(Be){"use strict";Be=Be||{};var Ne=Be.Base64,Ze="2.6.4",ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",le=function(Ke){for(var ht={},Le=0,ot=Ke.length;Le>>6)+st(128|ht&63):st(224|ht>>>12&15)+st(128|ht>>>6&63)+st(128|ht&63)}else{var ht=65536+(Ke.charCodeAt(0)-55296)*1024+(Ke.charCodeAt(1)-56320);return st(240|ht>>>18&7)+st(128|ht>>>12&63)+st(128|ht>>>6&63)+st(128|ht&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ge=function(Ke){return Ke.replace(Ve,et)},Je=function(Ke){var ht=[0,2,1][Ke.length%3],Le=Ke.charCodeAt(0)<<16|(Ke.length>1?Ke.charCodeAt(1):0)<<8|(Ke.length>2?Ke.charCodeAt(2):0),ot=[ke.charAt(Le>>>18),ke.charAt(Le>>>12&63),ht>=2?"=":ke.charAt(Le>>>6&63),ht>=1?"=":ke.charAt(Le&63)];return ot.join("")},Ye=Be.btoa&&typeof Be.btoa=="function"?function(Ke){return Be.btoa(Ke)}:function(Ke){if(Ke.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ke.replace(/[\s\S]{1,3}/g,Je)},se=function(Ke){return Ye(Ge(String(Ke)))},E=function(Ke){return Ke.replace(/[+\/]/g,function(ht){return ht=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ke,ht){return ht?E(se(Ke)):se(Ke)},x=function(Ke){return a(Ke,!0)},y;Be.Uint8Array&&(y=function(Ke,ht){for(var Le="",ot=0,lt=Ke.length;ot>>18)+ke.charAt(xt>>>12&63)+(typeof ft!="undefined"?ke.charAt(xt>>>6&63):"=")+(typeof ln!="undefined"?ke.charAt(xt&63):"=")}return ht?E(Le):Le});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ke){switch(Ke.length){case 4:var ht=(7&Ke.charCodeAt(0))<<18|(63&Ke.charCodeAt(1))<<12|(63&Ke.charCodeAt(2))<<6|63&Ke.charCodeAt(3),Le=ht-65536;return st((Le>>>10)+55296)+st((Le&1023)+56320);case 3:return st((15&Ke.charCodeAt(0))<<12|(63&Ke.charCodeAt(1))<<6|63&Ke.charCodeAt(2));default:return st((31&Ke.charCodeAt(0))<<6|63&Ke.charCodeAt(1))}},re=function(Ke){return Ke.replace(z,ne)},ue=function(Ke){var ht=Ke.length,Le=ht%4,ot=(ht>0?le[Ke.charAt(0)]<<18:0)|(ht>1?le[Ke.charAt(1)]<<12:0)|(ht>2?le[Ke.charAt(2)]<<6:0)|(ht>3?le[Ke.charAt(3)]:0),lt=[st(ot>>>16),st(ot>>>8&255),st(ot&255)];return lt.length-=[0,0,2,1][Le],lt.join("")},ie=Be.atob&&typeof Be.atob=="function"?function(Ke){return Be.atob(Ke)}:function(Ke){return Ke.replace(/\S{1,4}/g,ue)},ve=function(Ke){return ie(String(Ke).replace(/[^A-Za-z0-9\+\/]/g,""))},be=function(Ke){return re(ie(Ke))},je=function(Ke){return String(Ke).replace(/[-_]/g,function(ht){return ht=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ae=function(Ke){return be(je(Ke))},He;Be.Uint8Array&&(He=function(Ke){return Uint8Array.from(ve(je(Ke)),function(ht){return ht.charCodeAt(0)})});var he=function(){var Ke=Be.Base64;return Be.Base64=Ne,Ke};if(Be.Base64={VERSION:Ze,atob:ve,btoa:Ye,fromBase64:Ae,toBase64:a,utob:Ge,encode:a,encodeURI:x,btou:re,decode:Ae,noConflict:he,fromUint8Array:y,toUint8Array:He},typeof Object.defineProperty=="function"){var qe=function(Ke){return{value:Ke,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",qe(function(){return Ae(this)})),Object.defineProperty(String.prototype,"toBase64",qe(function(Ke){return a(this,Ke)})),Object.defineProperty(String.prototype,"toBase64URI",qe(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Qt.exports?Qt.exports.Base64=Be.Base64:(b=[],de=function(){return Be.Base64}.apply(Gt,b),de!==void 0&&(Qt.exports=de)),{Base64:Be.Base64}})},39417:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return be}});var b=ee(92413),de=ee(400),Be=ee(37061),Ne=ee(33708),Ze=ee(6909),ke=ee(4771),le=ee(25314),st=ee(9427),et=ee(25440),Ve=ee(92310),Ge=ee.n(Ve),Je=ee(26112),Ye=ee(59301),se=ee(39378),E=function(Ae){for(var He=Ae.prefixCls,he=Ae.level,qe=Ae.isStart,Ke=Ae.isEnd,ht="".concat(He,"-indent-unit"),Le=[],ot=0;ot0&&arguments[0]!==void 0?arguments[0]:[],at=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=ut.length,fe=at.length;if(Math.abs(De-fe)!==1)return{add:!1,key:null};function Xe(Rt,Oe){var Ie=new Map;Rt.forEach(function(nt){Ie.set(nt,!0)});var St=Oe.filter(function(nt){return!Ie.has(nt)});return St.length===1?St[0]:null}return De ").concat(at);return at}var rn=a.forwardRef(function(ut,at){var De=ut.prefixCls,fe=ut.data,Xe=ut.selectable,Rt=ut.checkable,Oe=ut.expandedKeys,Ie=ut.selectedKeys,St=ut.checkedKeys,nt=ut.loadedKeys,Me=ut.loadingKeys,yt=ut.halfCheckedKeys,Bn=ut.keyEntities,nn=ut.disabled,dn=ut.dragging,un=ut.dragOverNodeKey,yn=ut.dropPosition,Te=ut.motion,Ft=ut.height,zt=ut.itemHeight,wt=ut.virtual,kt=ut.focusable,sn=ut.activeItem,cn=ut.focused,Ln=ut.tabIndex,Jn=ut.onKeyDown,va=ut.onFocus,Da=ut.onBlur,Na=ut.onActiveChange,ar=ut.onListChangeStart,$a=ut.onListChangeEnd,fa=(0,re.Z)(ut,ot),yr=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(at,function(){return{scrollTo:function(Sr){yr.current.scrollTo(Sr)},getIndentWidth:function(){return en.current.offsetWidth}}});var On=a.useState(Oe),ia=(0,ne.Z)(On,2),xa=ia[0],We=ia[1],It=a.useState(fe),_t=(0,ne.Z)(It,2),Vt=_t[0],Wt=_t[1],Rn=a.useState(fe),wn=(0,ne.Z)(Rn,2),vt=wn[0],Bt=wn[1],pt=a.useState([]),Sn=(0,ne.Z)(pt,2),Wn=Sn[0],An=Sn[1],ka=a.useState(null),pa=(0,ne.Z)(ka,2),_n=pa[0],Ea=pa[1],Pa=a.useRef(fe);Pa.current=fe;function Dn(){var Ur=Pa.current;Wt(Ur),Bt(Ur),An([]),Ea(null),$a()}(0,ue.Z)(function(){We(Oe);var Ur=ht(xa,Oe);if(Ur.key!==null)if(Ur.add){var Sr=Vt.findIndex(function(la){var Qn=la.key;return Qn===Ur.key}),Ue=hn(Le(Vt,fe,Ur.key),wt,Ft,zt),bn=Vt.slice();bn.splice(Sr+1,0,an),Bt(bn),An(Ue),Ea("show")}else{var Xt=fe.findIndex(function(la){var Qn=la.key;return Qn===Ur.key}),Nn=hn(Le(fe,Vt,Ur.key),wt,Ft,zt),Kn=fe.slice();Kn.splice(Xt+1,0,an),Bt(Kn),An(Nn),Ea("hide")}else Vt!==fe&&(Wt(fe),Bt(fe))},[Oe,fe]),a.useEffect(function(){dn||Dn()},[dn]);var lr=Te?vt:fe,Nr={expandedKeys:Oe,selectedKeys:Ie,loadedKeys:nt,loadingKeys:Me,checkedKeys:St,halfCheckedKeys:yt,dragOverNodeKey:un,dropPosition:yn,keyEntities:Bn};return a.createElement(a.Fragment,null,cn&&sn&&a.createElement("span",{style:lt,"aria-live":"assertive"},dt(sn)),a.createElement("div",null,a.createElement("input",{style:lt,disabled:kt===!1||nn,tabIndex:kt!==!1?Ln:null,onKeyDown:Jn,onFocus:va,onBlur:Da,value:"",onChange:gt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(De,"-indent")},a.createElement("div",{ref:en,className:"".concat(De,"-indent-unit")}))),a.createElement(ie.Z,(0,b.Z)({},fa,{data:lr,itemKey:$e,height:Ft,fullHeight:!1,virtual:wt,itemHeight:zt,prefixCls:"".concat(De,"-list"),ref:yr,onVisibleChange:function(Sr,Ue){var bn=new Set(Sr),Xt=Ue.filter(function(Nn){return!bn.has(Nn)});Xt.some(function(Nn){return $e(Nn)===ft})&&Dn()}}),function(Ur){var Sr=Ur.pos,Ue=(0,b.Z)({},(z(Ur.data),Ur.data)),bn=Ur.title,Xt=Ur.key,Nn=Ur.isStart,Kn=Ur.isEnd,la=(0,Ae.km)(Xt,Sr);delete Ue.key,delete Ue.children;var Qn=(0,Ae.H8)(la,Nr);return a.createElement(Ke,(0,b.Z)({},Ue,Qn,{title:bn,active:!!sn&&Xt===sn.key,pos:Sr,data:Ur.data,isStart:Nn,isEnd:Kn,motion:Te,motionNodes:Xt===ft?Wn:null,motionType:_n,onMotionStart:ar,onMotionEnd:Dn,treeNodeRequiredProps:Nr,onMouseMove:function(){Na(null)}}))}))});rn.displayName="NodeList";var Vn=rn,Zt=ee(35654),Fn=ee(90782),ze=ee(67841),ct=10,Lt=function(ut){(0,et.Z)(De,ut);var at=(0,Ve.Z)(De);function De(){var fe;(0,ke.Z)(this,De);for(var Xe=arguments.length,Rt=new Array(Xe),Oe=0;Oe2&&arguments[2]!==void 0?arguments[2]:!1,yt=fe.state,Bn=yt.dragChildrenKeys,nn=yt.dropPosition,dn=yt.dropTargetKey,un=yt.dropTargetPos,yn=yt.dropAllowed;if(yn){var Te=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),dn!==null){var Ft=(0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(dn,fe.getTreeNodeRequiredProps())),{},{active:((nt=fe.getActiveItem())===null||nt===void 0?void 0:nt.key)===dn,data:(0,ze.Z)(fe.state.keyEntities,dn).node}),zt=Bn.indexOf(dn)!==-1;(0,E.ZP)(!zt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var wt=(0,Zt.yx)(un),kt={event:Ie,node:(0,Ae.F)(Ft),dragNode:fe.dragNode?(0,Ae.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(Bn),dropToGap:nn!==0,dropPosition:nn+Number(wt[wt.length-1])};Me||Te==null||Te(kt),fe.dragNode=null}}},fe.cleanDragState=function(){var Ie=fe.state.draggingNodeKey;Ie!==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(Ie,St){var nt=fe.state,Me=nt.expandedKeys,yt=nt.flattenNodes,Bn=St.expanded,nn=St.key,dn=St.isLeaf;if(!(dn||Ie.shiftKey||Ie.metaKey||Ie.ctrlKey)){var un=yt.filter(function(Te){return Te.key===nn})[0],yn=(0,Ae.F)((0,Ne.Z)((0,Ne.Z)({},(0,Ae.H8)(nn,fe.getTreeNodeRequiredProps())),{},{data:un.data}));fe.setExpandedKeys(Bn?(0,Zt._5)(Me,nn):(0,Zt.L0)(Me,nn)),fe.onNodeExpand(Ie,yn)}},fe.onNodeClick=function(Ie,St){var nt=fe.props,Me=nt.onClick,yt=nt.expandAction;yt==="click"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeDoubleClick=function(Ie,St){var nt=fe.props,Me=nt.onDoubleClick,yt=nt.expandAction;yt==="doubleClick"&&fe.triggerExpandActionExpand(Ie,St),Me==null||Me(Ie,St)},fe.onNodeSelect=function(Ie,St){var nt=fe.state.selectedKeys,Me=fe.state,yt=Me.keyEntities,Bn=Me.fieldNames,nn=fe.props,dn=nn.onSelect,un=nn.multiple,yn=St.selected,Te=St[Bn.key],Ft=!yn;Ft?un?nt=(0,Zt.L0)(nt,Te):nt=[Te]:nt=(0,Zt._5)(nt,Te);var zt=nt.map(function(wt){var kt=(0,ze.Z)(yt,wt);return kt?kt.node:null}).filter(function(wt){return wt});fe.setUncontrolledState({selectedKeys:nt}),dn==null||dn(nt,{event:"select",selected:Ft,node:St,selectedNodes:zt,nativeEvent:Ie.nativeEvent})},fe.onNodeCheck=function(Ie,St,nt){var Me=fe.state,yt=Me.keyEntities,Bn=Me.checkedKeys,nn=Me.halfCheckedKeys,dn=fe.props,un=dn.checkStrictly,yn=dn.onCheck,Te=St.key,Ft,zt={event:"check",node:St,checked:nt,nativeEvent:Ie.nativeEvent};if(un){var wt=nt?(0,Zt.L0)(Bn,Te):(0,Zt._5)(Bn,Te),kt=(0,Zt._5)(nn,Te);Ft={checked:wt,halfChecked:kt},zt.checkedNodes=wt.map(function(Da){return(0,ze.Z)(yt,Da)}).filter(function(Da){return Da}).map(function(Da){return Da.node}),fe.setUncontrolledState({checkedKeys:wt})}else{var sn=(0,Fn.S)([].concat((0,Ze.Z)(Bn),[Te]),!0,yt),cn=sn.checkedKeys,Ln=sn.halfCheckedKeys;if(!nt){var Jn=new Set(cn);Jn.delete(Te);var va=(0,Fn.S)(Array.from(Jn),{checked:!1,halfCheckedKeys:Ln},yt);cn=va.checkedKeys,Ln=va.halfCheckedKeys}Ft=cn,zt.checkedNodes=[],zt.checkedNodesPositions=[],zt.halfCheckedKeys=Ln,cn.forEach(function(Da){var Na=(0,ze.Z)(yt,Da);if(Na){var ar=Na.node,$a=Na.pos;zt.checkedNodes.push(ar),zt.checkedNodesPositions.push({node:ar,pos:$a})}}),fe.setUncontrolledState({checkedKeys:cn},!1,{halfCheckedKeys:Ln})}yn==null||yn(Ft,zt)},fe.onNodeLoad=function(Ie){var St=Ie.key,nt=new Promise(function(Me,yt){fe.setState(function(Bn){var nn=Bn.loadedKeys,dn=nn===void 0?[]:nn,un=Bn.loadingKeys,yn=un===void 0?[]:un,Te=fe.props,Ft=Te.loadData,zt=Te.onLoad;if(!Ft||dn.indexOf(St)!==-1||yn.indexOf(St)!==-1)return null;var wt=Ft(Ie);return wt.then(function(){var kt=fe.state.loadedKeys,sn=(0,Zt.L0)(kt,St);zt==null||zt(sn,{event:"load",node:Ie}),fe.setUncontrolledState({loadedKeys:sn}),fe.setState(function(cn){return{loadingKeys:(0,Zt._5)(cn.loadingKeys,St)}}),Me()}).catch(function(kt){if(fe.setState(function(cn){return{loadingKeys:(0,Zt._5)(cn.loadingKeys,St)}}),fe.loadingRetryTimes[St]=(fe.loadingRetryTimes[St]||0)+1,fe.loadingRetryTimes[St]>=ct){var sn=fe.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(sn,St)}),Me()}yt(kt)}),{loadingKeys:(0,Zt.L0)(yn,St)}})});return nt.catch(function(){}),nt},fe.onNodeMouseEnter=function(Ie,St){var nt=fe.props.onMouseEnter;nt==null||nt({event:Ie,node:St})},fe.onNodeMouseLeave=function(Ie,St){var nt=fe.props.onMouseLeave;nt==null||nt({event:Ie,node:St})},fe.onNodeContextMenu=function(Ie,St){var nt=fe.props.onRightClick;nt&&(Ie.preventDefault(),nt({event:Ie,node:St}))},fe.onFocus=function(){var Ie=fe.props.onFocus;fe.setState({focused:!0});for(var St=arguments.length,nt=new Array(St),Me=0;Me1&&arguments[1]!==void 0?arguments[1]:!1,nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Me=!1,yt=!0,Bn={};Object.keys(Ie).forEach(function(nn){if(nn in fe.props){yt=!1;return}Me=!0,Bn[nn]=Ie[nn]}),Me&&(!St||yt)&&fe.setState((0,Ne.Z)((0,Ne.Z)({},Bn),nt))}},fe.scrollTo=function(Ie){fe.listRef.current.scrollTo(Ie)},fe}return(0,le.Z)(De,[{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,Rt=this.state,Oe=Rt.focused,Ie=Rt.flattenNodes,St=Rt.keyEntities,nt=Rt.draggingNodeKey,Me=Rt.activeKey,yt=Rt.dropLevelOffset,Bn=Rt.dropContainerKey,nn=Rt.dropTargetKey,dn=Rt.dropPosition,un=Rt.dragOverNodeKey,yn=Rt.indent,Te=this.props,Ft=Te.prefixCls,zt=Te.className,wt=Te.style,kt=Te.showLine,sn=Te.focusable,cn=Te.tabIndex,Ln=cn===void 0?0:cn,Jn=Te.selectable,va=Te.showIcon,Da=Te.icon,Na=Te.switcherIcon,ar=Te.draggable,$a=Te.checkable,fa=Te.checkStrictly,yr=Te.disabled,en=Te.motion,On=Te.loadData,ia=Te.filterTreeNode,xa=Te.height,We=Te.itemHeight,It=Te.virtual,_t=Te.titleRender,Vt=Te.dropIndicatorRender,Wt=Te.onContextMenu,Rn=Te.onScroll,wn=Te.direction,vt=Te.rootClassName,Bt=Te.rootStyle,pt=(0,se.Z)(this.props,{aria:!0,data:!0}),Sn;return ar&&((0,Be.Z)(ar)==="object"?Sn=ar:typeof ar=="function"?Sn={nodeDraggable:ar}:Sn={}),a.createElement(x.k.Provider,{value:{prefixCls:Ft,selectable:Jn,showIcon:va,icon:Da,switcherIcon:Na,draggable:Sn,draggingNodeKey:nt,checkable:$a,checkStrictly:fa,disabled:yr,keyEntities:St,dropLevelOffset:yt,dropContainerKey:Bn,dropTargetKey:nn,dropPosition:dn,dragOverNodeKey:un,indent:yn,direction:wn,dropIndicatorRender:Vt,loadData:On,filterTreeNode:ia,titleRender:_t,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:Je()(Ft,zt,vt,(Xe={},(0,de.Z)(Xe,"".concat(Ft,"-show-line"),kt),(0,de.Z)(Xe,"".concat(Ft,"-focused"),Oe),(0,de.Z)(Xe,"".concat(Ft,"-active-focused"),Me!==null),Xe)),style:Bt},a.createElement(Vn,(0,b.Z)({ref:this.listRef,prefixCls:Ft,style:wt,data:Ie,disabled:yr,selectable:Jn,checkable:!!$a,motion:en,dragging:nt!==null,height:xa,itemHeight:We,virtual:It,focusable:sn,focused:Oe,tabIndex:Ln,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Wt,onScroll:Rn},this.getTreeNodeRequiredProps(),pt))))}}],[{key:"getDerivedStateFromProps",value:function(Xe,Rt){var Oe=Rt.prevProps,Ie={prevProps:Xe};function St(sn){return!Oe&&sn in Xe||Oe&&Oe[sn]!==Xe[sn]}var nt,Me=Rt.fieldNames;if(St("fieldNames")&&(Me=(0,Ae.w$)(Xe.fieldNames),Ie.fieldNames=Me),St("treeData")?nt=Xe.treeData:St("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),nt=(0,Ae.zn)(Xe.children)),nt){Ie.treeData=nt;var yt=(0,Ae.I8)(nt,{fieldNames:Me});Ie.keyEntities=(0,Ne.Z)((0,de.Z)({},ft,xt),yt.keyEntities)}var Bn=Ie.keyEntities||Rt.keyEntities;if(St("expandedKeys")||Oe&&St("autoExpandParent"))Ie.expandedKeys=Xe.autoExpandParent||!Oe&&Xe.defaultExpandParent?(0,Zt.r7)(Xe.expandedKeys,Bn):Xe.expandedKeys;else if(!Oe&&Xe.defaultExpandAll){var nn=(0,Ne.Z)({},Bn);delete nn[ft],Ie.expandedKeys=Object.keys(nn).map(function(sn){return nn[sn].key})}else!Oe&&Xe.defaultExpandedKeys&&(Ie.expandedKeys=Xe.autoExpandParent||Xe.defaultExpandParent?(0,Zt.r7)(Xe.defaultExpandedKeys,Bn):Xe.defaultExpandedKeys);if(Ie.expandedKeys||delete Ie.expandedKeys,nt||Ie.expandedKeys){var dn=(0,Ae.oH)(nt||Rt.treeData,Ie.expandedKeys||Rt.expandedKeys,Me);Ie.flattenNodes=dn}if(Xe.selectable&&(St("selectedKeys")?Ie.selectedKeys=(0,Zt.BT)(Xe.selectedKeys,Xe):!Oe&&Xe.defaultSelectedKeys&&(Ie.selectedKeys=(0,Zt.BT)(Xe.defaultSelectedKeys,Xe))),Xe.checkable){var un;if(St("checkedKeys")?un=(0,Zt.E6)(Xe.checkedKeys)||{}:!Oe&&Xe.defaultCheckedKeys?un=(0,Zt.E6)(Xe.defaultCheckedKeys)||{}:nt&&(un=(0,Zt.E6)(Xe.checkedKeys)||{checkedKeys:Rt.checkedKeys,halfCheckedKeys:Rt.halfCheckedKeys}),un){var yn=un,Te=yn.checkedKeys,Ft=Te===void 0?[]:Te,zt=yn.halfCheckedKeys,wt=zt===void 0?[]:zt;if(!Xe.checkStrictly){var kt=(0,Fn.S)(Ft,!0,Bn);Ft=kt.checkedKeys,wt=kt.halfCheckedKeys}Ie.checkedKeys=Ft,Ie.halfCheckedKeys=wt}}return St("loadedKeys")&&(Ie.loadedKeys=Xe.loadedKeys),Ie}}]),De}(a.Component);Lt.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:y,allowDrop:function(){return!0},expandAction:!1},Lt.TreeNode=be.Z;var mt=Lt,Nt=mt},35654:function(Qt,Gt,ee){"use strict";ee.d(Gt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return E},_5:function(){return et},r7:function(){return ne},wA:function(){return Je},yx:function(){return Ge}});var b=ee(26407),de=ee(39559),Be=ee(48736),Ne=ee(59301),Ze=ee(39417),ke=ee(67841),le=ee(71430),st=null;function et(re,ue){if(!re)return[];var ie=re.slice(),ve=ie.indexOf(ue);return ve>=0&&ie.splice(ve,1),ie}function Ve(re,ue){var ie=(re||[]).slice();return ie.indexOf(ue)===-1&&ie.push(ue),ie}function Ge(re){return re.split("-")}function Je(re,ue){var ie=[],ve=(0,ke.Z)(ue,re);function be(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(Ae){var He=Ae.key,he=Ae.children;ie.push(He),be(he)})}return be(ve.children),ie}function Ye(re){if(re.parent){var ue=Ge(re.pos);return Number(ue[ue.length-1])===re.parent.children.length-1}return!1}function se(re){var ue=Ge(re.pos);return Number(ue[ue.length-1])===0}function E(re,ue,ie,ve,be,je,Ae,He,he,qe){var Ke,ht=re.clientX,Le=re.clientY,ot=re.target.getBoundingClientRect(),lt=ot.top,gt=ot.height,ft=(qe==="rtl"?-1:1)*(((be==null?void 0:be.x)||0)-ht),ln=(ft-12)/ve,xt=(0,ke.Z)(He,ie.props.eventKey);if(Le-1.5?je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1:je({dragNode:ct,dropNode:Lt,dropPosition:0})?Zt=0:je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1:je({dragNode:ct,dropNode:Lt,dropPosition:1})?Zt=1:mt=!1,{dropPosition:Zt,dropLevelOffset:Fn,dropTargetKey:xt.key,dropTargetPos:xt.pos,dragOverNodeKey:Vn,dropContainerKey:Zt===0?null:((Ke=xt.parent)===null||Ke===void 0?void 0:Ke.key)||null,dropAllowed:mt}}function a(re,ue){if(re){var ie=ue.multiple;return ie?re.slice():re.length?[re[0]]:re}}var x=function(ue){return ue};function y(re,ue){if(!re)return[];var ie=ue||{},ve=ie.processProps,be=ve===void 0?x:ve,je=Array.isArray(re)?re:[re];return je.map(function(Ae){var He=Ae.children,he=_objectWithoutProperties(Ae,st),qe=y(He,ue);return React.createElement(TreeNode,_extends({key:he.key},be(he)),qe)})}function z(re){if(!re)return null;var ue;if(Array.isArray(re))ue={checkedKeys:re,halfCheckedKeys:void 0};else if((0,de.Z)(re)==="object")ue={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 ue}function ne(re,ue){var ie=new Set;function ve(be){if(!ie.has(be)){var je=(0,ke.Z)(ue,be);if(je){ie.add(be);var Ae=je.parent,He=je.node;He.disabled||Ae&&ve(Ae.key)}}}return(re||[]).forEach(function(be){ve(be)}),(0,b.Z)(ie)}},90782:function(Qt,Gt,ee){"use strict";ee.d(Gt,{S:function(){return le}});var b=ee(48736),de=ee(67841);function Be(st,et){var Ve=new Set;return st.forEach(function(Ge){et.has(Ge)||Ve.add(Ge)}),Ve}function Ne(st){var et=st||{},Ve=et.disabled,Ge=et.disableCheckbox,Je=et.checkable;return!!(Ve||Ge)||Je===!1}function Ze(st,et,Ve,Ge){for(var Je=new Set(st),Ye=new Set,se=0;se<=Ve;se+=1){var E=et.get(se)||new Set;E.forEach(function(z){var ne=z.key,re=z.node,ue=z.children,ie=ue===void 0?[]:ue;Je.has(ne)&&!Ge(re)&&ie.filter(function(ve){return!Ge(ve.node)}).forEach(function(ve){Je.add(ve.key)})})}for(var a=new Set,x=Ve;x>=0;x-=1){var y=et.get(x)||new Set;y.forEach(function(z){var ne=z.parent,re=z.node;if(!(Ge(re)||!z.parent||a.has(z.parent.key))){if(Ge(z.parent.node)){a.add(ne.key);return}var ue=!0,ie=!1;(ne.children||[]).filter(function(ve){return!Ge(ve.node)}).forEach(function(ve){var be=ve.key,je=Je.has(be);ue&&!je&&(ue=!1),!ie&&(je||Ye.has(be))&&(ie=!0)}),ue&&Je.add(ne.key),ie&&Ye.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(Ye,Je))}}function ke(st,et,Ve,Ge,Je){for(var Ye=new Set(st),se=new Set(et),E=0;E<=Ge;E+=1){var a=Ve.get(E)||new Set;a.forEach(function(ne){var re=ne.key,ue=ne.node,ie=ne.children,ve=ie===void 0?[]:ie;!Ye.has(re)&&!se.has(re)&&!Je(ue)&&ve.filter(function(be){return!Je(be.node)}).forEach(function(be){Ye.delete(be.key)})})}se=new Set;for(var x=new Set,y=Ge;y>=0;y-=1){var z=Ve.get(y)||new Set;z.forEach(function(ne){var re=ne.parent,ue=ne.node;if(!(Je(ue)||!ne.parent||x.has(ne.parent.key))){if(Je(ne.parent.node)){x.add(re.key);return}var ie=!0,ve=!1;(re.children||[]).filter(function(be){return!Je(be.node)}).forEach(function(be){var je=be.key,Ae=Ye.has(je);ie&&!Ae&&(ie=!1),!ve&&(Ae||se.has(je))&&(ve=!0)}),ie||Ye.delete(re.key),ve&&se.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Ye),halfCheckedKeys:Array.from(Be(se,Ye))}}function le(st,et,Ve,Ge){var Je=[],Ye;Ge?Ye=Ge:Ye=Ne;var se=new Set(st.filter(function(y){var z=!!(0,de.Z)(Ve,y);return z||Je.push(y),z})),E=new Map,a=0;Object.keys(Ve).forEach(function(y){var z=Ve[y],ne=z.level,re=E.get(ne);re||(re=new Set,E.set(ne,re)),re.add(z),a=Math.max(a,ne)}),(0,b.ZP)(!Je.length,"Tree missing follow keys: ".concat(Je.slice(0,100).map(function(y){return"'".concat(y,"'")}).join(", ")));var x;return et===!0?x=Ze(se,E,a,Ye):x=ke(se,et.halfCheckedKeys,E,a,Ye),x}},67841:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return b}});function b(de,Be){return de[Be]}},71430:function(Qt,Gt,ee){"use strict";ee.d(Gt,{F:function(){return ne},H8:function(){return z},I8:function(){return y},km:function(){return Je},oH:function(){return a},w$:function(){return Ye},zn:function(){return E}});var b=ee(39559),de=ee(26407),Be=ee(33708),Ne=ee(37061),Ze=ee(11592),ke=ee(2738),le=ee(48736),st=ee(67841),et=["children"];function Ve(re,ue){return"".concat(re,"-").concat(ue)}function Ge(re){return re&&re.type&&re.type.isTreeNode}function Je(re,ue){return re!=null?re:ue}function Ye(re){var ue=re||{},ie=ue.title,ve=ue._title,be=ue.key,je=ue.children,Ae=ie||"title";return{title:Ae,_title:ve||[Ae],key:be||"key",children:je||"children"}}function se(re,ue){var ie=new Map;function ve(be){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Ae){var He=Ae[ue.key],he=Ae[ue.children];warning(He!=null,"Tree node must have a certain key: [".concat(je).concat(He,"]"));var qe=String(He);warning(!ie.has(qe)||He===null||He===void 0,"Same 'key' exist in the Tree: ".concat(qe)),ie.set(qe,!0),ve(he,"".concat(je).concat(qe," > "))})}ve(re)}function E(re){function ue(ie){var ve=(0,Ze.Z)(ie);return ve.map(function(be){if(!Ge(be))return(0,le.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var je=be.key,Ae=be.props,He=Ae.children,he=(0,Ne.Z)(Ae,et),qe=(0,Be.Z)({key:je},he),Ke=ue(He);return Ke.length&&(qe.children=Ke),qe}).filter(function(be){return be})}return ue(re)}function a(re,ue,ie){var ve=Ye(ie),be=ve._title,je=ve.key,Ae=ve.children,He=new Set(ue===!0?[]:ue),he=[];function qe(Ke){var ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ke.map(function(Le,ot){for(var lt=Ve(ht?ht.pos:"0",ot),gt=Je(Le[je],lt),ft,ln=0;ln1&&arguments[1]!==void 0?arguments[1]:{},ie=ue.initWrapper,ve=ue.processEntity,be=ue.onProcessFinished,je=ue.externalGetKey,Ae=ue.childrenPropName,He=ue.fieldNames,he=arguments.length>2?arguments[2]:void 0,qe=je||he,Ke={},ht={},Le={posEntities:Ke,keyEntities:ht};return ie&&(Le=ie(Le)||Le),x(re,function(ot){var lt=ot.node,gt=ot.index,ft=ot.pos,ln=ot.key,xt=ot.parentPos,an=ot.level,hn=ot.nodes,$e={node:lt,nodes:hn,index:gt,key:ln,pos:ft,level:an},dt=Je(ln,ft);Ke[ft]=$e,ht[dt]=$e,$e.parent=Ke[xt],$e.parent&&($e.parent.children=$e.parent.children||[],$e.parent.children.push($e)),ve&&ve($e,Le)},{externalGetKey:qe,childrenPropName:Ae,fieldNames:He}),be&&be(Le),Le}function z(re,ue){var ie=ue.expandedKeys,ve=ue.selectedKeys,be=ue.loadedKeys,je=ue.loadingKeys,Ae=ue.checkedKeys,He=ue.halfCheckedKeys,he=ue.dragOverNodeKey,qe=ue.dropPosition,Ke=ue.keyEntities,ht=(0,st.Z)(Ke,re),Le={eventKey:re,expanded:ie.indexOf(re)!==-1,selected:ve.indexOf(re)!==-1,loaded:be.indexOf(re)!==-1,loading:je.indexOf(re)!==-1,checked:Ae.indexOf(re)!==-1,halfChecked:He.indexOf(re)!==-1,pos:String(ht?ht.pos:""),dragOver:he===re&&qe===0,dragOverGapTop:he===re&&qe===-1,dragOverGapBottom:he===re&&qe===1};return Le}function ne(re){var ue=re.data,ie=re.expanded,ve=re.selected,be=re.checked,je=re.loaded,Ae=re.loading,He=re.halfChecked,he=re.dragOver,qe=re.dragOverGapTop,Ke=re.dragOverGapBottom,ht=re.pos,Le=re.active,ot=re.eventKey,lt=(0,Be.Z)((0,Be.Z)({},ue),{},{expanded:ie,selected:ve,checked:be,loaded:je,loading:Ae,halfChecked:He,dragOver:he,dragOverGapTop:qe,dragOverGapBottom:Ke,pos:ht,active:Le,key:ot});return"props"in lt||Object.defineProperty(lt,"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}}),lt}},8224:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z:function(){return de}});var b=ee(4676);function de(Be,Ne,Ze,ke){var le=b.unstable_batchedUpdates?function(et){b.unstable_batchedUpdates(Ze,et)}:Ze;return Be!=null&&Be.addEventListener&&Be.addEventListener(Ne,le,ke),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Ne,le,ke)}}}},55468:function(Qt,Gt,ee){"use strict";ee.d(Gt,{g1:function(){return Ge},os:function(){return Ye}});var b=/margin|padding|width|height|max|min|offset/,de={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Ne(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Ze(se,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return se.offsetHeight;if(E==="width")return se.offsetWidth}return E in de||(de[E]=b.test(E)),de[E]?parseFloat(a)||0:a}function ke(se,E){var a=arguments.length,x=Ne(se);return E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,a===1?x:Ze(se,E,x[E]||se.style[E])}function le(se,E,a){var x=arguments.length;if(E=Be[E]?"cssFloat"in se.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&b.test(E)&&(a="".concat(a,"px")),se.style[E]=a,a;for(var y in E)E.hasOwnProperty(y)&&le(se,y,E[y]);return Ne(se)}function st(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function et(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function Ve(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:E}}function Ge(){var se=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:E}}function Je(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ye(se){var E=se.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},24514:function(Qt,Gt,ee){"use strict";ee.d(Gt,{G:function(){return Ne}});var b=ee(47273),de=function(ke){if((0,b.Z)()&&window.document.documentElement){var le=Array.isArray(ke)?ke:[ke],st=window.document.documentElement;return le.some(function(et){return et in st.style})}return!1},Be=function(ke,le){if(!de(ke))return!1;var st=document.createElement("div"),et=st.style[ke];return st.style[ke]=le,st.style[ke]!==et};function Ne(Ze,ke){return!Array.isArray(Ze)&&ke!==void 0?Be(Ze,ke):de(Ze)}},78113:function(Qt,Gt,ee){"use strict";ee.d(Gt,{Z5:function(){return iu},_l:function(){return jd},bK:function(){return qs}});var b=ee(59301),de=ee(2505);function Be(te,ae){te.prototype=Object.create(ae.prototype),te.prototype.constructor=te,(0,de.Z)(te,ae)}var Ne=ee(92413),Ze=ee(59781),ke=b.createContext(null),le=null;function st(te){te()}var et=st,Ve=function(ae){return et=ae},Ge=function(){return et};function Je(){var te=Ge(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){te(function(){for(var xe=ae;xe;)xe.callback(),xe=xe.next})},get:function(){for(var xe=[],Fe=ae;Fe;)xe.push(Fe),Fe=Fe.next;return xe},subscribe:function(xe){var Fe=!0,Re=oe={callback:xe,next:null,prev:oe};return Re.prev?Re.prev.next=Re:ae=Re,function(){!Fe||ae===null||(Fe=!1,Re.next?Re.next.prev=Re.prev:oe=Re.prev,Re.prev?Re.prev.next=Re.next:ae=Re.next)}}}}var Ye={notify:function(){},get:function(){return[]}};function se(te,ae){var oe,ge=Ye;function xe(Dt){return bt(),ge.subscribe(Dt)}function Fe(){ge.notify()}function Re(){Mt.onStateChange&&Mt.onStateChange()}function _e(){return!!oe}function bt(){oe||(oe=ae?ae.addNestedSub(Re):te.subscribe(Re),ge=Je())}function Tt(){oe&&(oe(),oe=void 0,ge.clear(),ge=Ye)}var Mt={addNestedSub:xe,notifyNestedSubs:Fe,handleChangeWrapper:Re,isSubscribed:_e,trySubscribe:bt,tryUnsubscribe:Tt,getListeners:function(){return ge}};return Mt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect;function a(te){var ae=te.store,oe=te.context,ge=te.children,xe=(0,b.useMemo)(function(){var _e=se(ae);return{store:ae,subscription:_e}},[ae]),Fe=(0,b.useMemo)(function(){return ae.getState()},[ae]);E(function(){var _e=xe.subscription;return _e.onStateChange=_e.notifyNestedSubs,_e.trySubscribe(),Fe!==ae.getState()&&_e.notifyNestedSubs(),function(){_e.tryUnsubscribe(),_e.onStateChange=null}},[xe,Fe]);var Re=oe||ke;return b.createElement(Re.Provider,{value:xe},ge)}var x=a,y=ee(96529),z=ee(94266),ne=ee.n(z),re=ee(53410),ue=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ie=["reactReduxForwardedRef"],ve=[],be=[null,null],je=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function Ae(te,ae){var oe=te[1];return[ae.payload,oe+1]}function He(te,ae,oe){E(function(){return te.apply(void 0,ae)},oe)}function he(te,ae,oe,ge,xe,Fe,Re){te.current=ge,ae.current=xe,oe.current=!1,Fe.current&&(Fe.current=null,Re())}function qe(te,ae,oe,ge,xe,Fe,Re,_e,bt,Tt){if(te){var Mt=!1,Dt=null,At=function(){if(!Mt){var ir=ae.getState(),mr,hr;try{mr=ge(ir,xe.current)}catch(Vr){hr=Vr,Dt=Vr}hr||(Dt=null),mr===Fe.current?Re.current||bt():(Fe.current=mr,_e.current=mr,Re.current=!0,Tt({type:"STORE_UPDATED",payload:{error:hr}}))}};oe.onStateChange=At,oe.trySubscribe(),At();var Jt=function(){if(Mt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Dt)throw Dt};return Jt}}var Ke=function(){return[null,0]};function ht(te,ae){ae===void 0&&(ae={});var oe=ae,ge=oe.getDisplayName,xe=ge===void 0?function(ni){return"ConnectAdvanced("+ni+")"}:ge,Fe=oe.methodName,Re=Fe===void 0?"connectAdvanced":Fe,_e=oe.renderCountProp,bt=_e===void 0?void 0:_e,Tt=oe.shouldHandleStateChanges,Mt=Tt===void 0?!0:Tt,Dt=oe.storeKey,At=Dt===void 0?"store":Dt,Jt=oe.withRef,$n=Jt===void 0?!1:Jt,ir=oe.forwardRef,mr=ir===void 0?!1:ir,hr=oe.context,Vr=hr===void 0?ke:hr,ro=(0,y.Z)(oe,ue);if(0)var co;var ui=Vr;return function(Ai){var vl=Ai.displayName||Ai.name||"Component",ki=xe(vl),pl=(0,Ne.Z)({},ro,{getDisplayName:xe,methodName:Re,renderCountProp:bt,shouldHandleStateChanges:Mt,storeKey:At,displayName:ki,wrappedComponentName:vl,WrappedComponent:Ai}),Ll=ro.pure;function Tl(_l){return te(_l.dispatch,pl)}var Au=Ll?b.useMemo:function(_l){return _l()};function yu(_l){var ns=(0,b.useMemo)(function(){var bs=_l.reactReduxForwardedRef,zs=(0,y.Z)(_l,ie);return[_l.context,bs,zs]},[_l]),Iu=ns[0],Ps=ns[1],gs=ns[2],as=(0,b.useMemo)(function(){return Iu&&Iu.Consumer&&(0,re.isContextConsumer)(b.createElement(Iu.Consumer,null))?Iu:ui},[Iu,ui]),Ou=(0,b.useContext)(as),ms=!!_l.store&&!!_l.store.getState&&!!_l.store.dispatch,Fs=!!Ou&&!!Ou.store,Lu=ms?_l.store:Ou.store,ys=(0,b.useMemo)(function(){return Tl(Lu)},[Lu]),Bs=(0,b.useMemo)(function(){if(!Mt)return be;var bs=se(Lu,ms?null:Ou.subscription),zs=bs.notifyNestedSubs.bind(bs);return[bs,zs]},[Lu,ms,Ou]),Ss=Bs[0],ws=Bs[1],Ds=(0,b.useMemo)(function(){return ms?Ou:(0,Ne.Z)({},Ou,{subscription:Ss})},[ms,Ou,Ss]),ed=(0,b.useReducer)(Ae,ve,Ke),Ud=ed[0],As=Ud[0],Qd=ed[1];if(As&&As.error)throw As.error;var td=(0,b.useRef)(),Ts=(0,b.useRef)(gs),Ns=(0,b.useRef)(),nd=(0,b.useRef)(!1),_s=Au(function(){return Ns.current&&gs===Ts.current?Ns.current:ys(Lu.getState(),gs)},[Lu,As,gs]);He(he,[Ts,td,nd,gs,_s,Ns,ws]),He(qe,[Mt,Lu,Ss,ys,Ts,td,nd,Ns,ws,Qd],[Lu,Ss,ys]);var Zs=(0,b.useMemo)(function(){return b.createElement(Ai,(0,Ne.Z)({},_s,{ref:Ps}))},[Ps,Ai,_s]),Yd=(0,b.useMemo)(function(){return Mt?b.createElement(as.Provider,{value:Ds},Zs):Zs},[as,Zs,Ds]);return Yd}var uu=Ll?b.memo(yu):yu;if(uu.WrappedComponent=Ai,uu.displayName=yu.displayName=ki,mr){var Nu=b.forwardRef(function(ns,Iu){return b.createElement(uu,(0,Ne.Z)({},ns,{reactReduxForwardedRef:Iu}))});return Nu.displayName=ki,Nu.WrappedComponent=Ai,ne()(Nu,Ai)}return ne()(uu,Ai)}}function Le(te,ae){return te===ae?te!==0||ae!==0||1/te===1/ae:te!==te&&ae!==ae}function ot(te,ae){if(Le(te,ae))return!0;if(typeof te!="object"||te===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(te),ge=Object.keys(ae);if(oe.length!==ge.length)return!1;for(var xe=0;xe=0;ge--){var xe=ae[ge](te);if(xe)return xe}return function(Fe,Re){throw new Error("Invalid value of type "+typeof te+" for "+oe+" argument when connecting component "+Re.wrappedComponentName+".")}}function Xe(te,ae){return te===ae}function Rt(te){var ae=te===void 0?{}:te,oe=ae.connectHOC,ge=oe===void 0?ht:oe,xe=ae.mapStateToPropsFactories,Fe=xe===void 0?Vn:xe,Re=ae.mapDispatchToPropsFactories,_e=Re===void 0?$e:Re,bt=ae.mergePropsFactories,Tt=bt===void 0?Lt:bt,Mt=ae.selectorFactory,Dt=Mt===void 0?at:Mt;return function(Jt,$n,ir,mr){mr===void 0&&(mr={});var hr=mr,Vr=hr.pure,ro=Vr===void 0?!0:Vr,co=hr.areStatesEqual,ui=co===void 0?Xe:co,ni=hr.areOwnPropsEqual,Ai=ni===void 0?ot:ni,vl=hr.areStatePropsEqual,ki=vl===void 0?ot:vl,pl=hr.areMergedPropsEqual,Ll=pl===void 0?ot:pl,Tl=(0,y.Z)(hr,De),Au=fe(Jt,Fe,"mapStateToProps"),yu=fe($n,_e,"mapDispatchToProps"),uu=fe(ir,Tt,"mergeProps");return ge(Dt,(0,Ne.Z)({methodName:"connect",getDisplayName:function(_l){return"Connect("+_l+")"},shouldHandleStateChanges:!!Jt,initMapStateToProps:Au,initMapDispatchToProps:yu,initMergeProps:uu,pure:ro,areStatesEqual:ui,areOwnPropsEqual:Ai,areStatePropsEqual:ki,areMergedPropsEqual:Ll},Tl))}}var Oe=Rt();function Ie(){var te=useContext(ReactReduxContext);return te}function St(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(){var ge=ae(),xe=ge.store;return xe}}var nt=null;function Me(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultStore:createStoreHook(te);return function(){var ge=ae();return ge.dispatch}}var yt=null,Bn=function(ae,oe){return ae===oe};function nn(te,ae,oe,ge){var xe=useReducer(function($n){return $n+1},0),Fe=xe[1],Re=useMemo(function(){return createSubscription(oe,ge)},[oe,ge]),_e=useRef(),bt=useRef(),Tt=useRef(),Mt=useRef(),Dt=oe.getState(),At;try{if(te!==bt.current||Dt!==Tt.current||_e.current){var Jt=te(Dt);Mt.current===void 0||!ae(Jt,Mt.current)?At=Jt:At=Mt.current}else At=Mt.current}catch($n){throw _e.current&&($n.message+=` The error may be correlated with this previous error: `+_e.current.stack+` -`),$n}return useIsomorphicLayoutEffect(function(){bt.current=te,Tt.current=Dt,Mt.current=At,_e.current=void 0}),useIsomorphicLayoutEffect(function(){function $n(){try{var ir=oe.getState();if(ir===Tt.current)return;var mr=bt.current(ir);if(ae(mr,Mt.current))return;Mt.current=mr,Tt.current=ir}catch(hr){_e.current=hr}Fe()}return Re.onStateChange=$n,Re.trySubscribe(),$n(),function(){return Re.tryUnsubscribe()}},[oe,Re]),At}function dn(te){te===void 0&&(te=ReactReduxContext);var ae=te===ReactReduxContext?useDefaultReduxContext:function(){return useContext(te)};return function(ge,xe){xe===void 0&&(xe=Bn);var Fe=ae(),Re=Fe.store,_e=Fe.subscription,bt=nn(ge,xe,Re,_e);return useDebugValue(bt),bt}}var un=null,yn=ee(4676);Ve(yn.unstable_batchedUpdates);function Te(te,ae){if(te.length!==ae.length)return!1;for(var oe=0;oete.bottom,Tt=ge.leftte.right,Mt=bt&&Tt;if(Mt)return!0;var Dt=bt&&Re||Tt&&Fe;return Dt}},Wi=function(te){var ae=Vo(te.top,te.bottom),oe=Vo(te.left,te.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&oe(ge.left)&&oe(ge.right);return xe}},dl={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},gl={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Pl=function(te){return function(ae){var oe=Vo(ae.top,ae.bottom),ge=Vo(ae.left,ae.right);return function(xe){return te===dl?oe(xe.top)&&oe(xe.bottom):ge(xe.left)&&ge(xe.right)}}},kr=function(ae,oe){var ge=oe.frame?oe.frame.scroll.diff.displacement:dr;return Fr(ae,ge)},Qa=function(ae,oe,ge){return oe.subject.active?ge(oe.subject.active)(ae):!1},Ga=function(ae,oe,ge){return ge(oe)(ae)},Ya=function(ae){var oe=ae.target,ge=ae.destination,xe=ae.viewport,Fe=ae.withDroppableDisplacement,Re=ae.isVisibleThroughFrameFn,_e=Fe?kr(oe,ge):oe;return Qa(_e,ge,Re)&&Ga(_e,xe,Re)},so=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Fi}))},we=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Wi}))},fn=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Pl(ae.destination.axis)}))},Mn=function(ae,oe,ge){if(typeof ge=="boolean")return ge;if(!oe)return!0;var xe=oe.invisible,Fe=oe.visible;if(xe[ae])return!1;var Re=Fe[ae];return Re?Re.shouldAnimate:!0};function Sa(te,ae){var oe=te.page.marginBox,ge={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Jn(va(oe,ge))}function on(te){var ae=te.afterDragging,oe=te.destination,ge=te.displacedBy,xe=te.viewport,Fe=te.forceShouldAnimate,Re=te.last;return ae.reduce(function(bt,Tt){var Mt=Sa(Tt,ge),Dt=Tt.descriptor.id;bt.all.push(Dt);var At=so({target:Mt,destination:oe,viewport:xe,withDroppableDisplacement:!0});if(!At)return bt.invisible[Tt.descriptor.id]=!0,bt;var Jt=Mn(Dt,Re,Fe),$n={draggableId:Dt,shouldAnimate:Jt};return bt.visible[Dt]=$n,bt},{all:[],visible:{},invisible:{}})}function Ma(te,ae){if(!te.length)return 0;var oe=te[te.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function Fa(te){var ae=te.insideDestination,oe=te.inHomeList,ge=te.displacedBy,xe=te.destination,Fe=Ma(ae,{inHomeList:oe});return{displaced:tl,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:xe.descriptor.id,index:Fe}}}}function jn(te){var ae=te.draggable,oe=te.insideDestination,ge=te.destination,xe=te.viewport,Fe=te.displacedBy,Re=te.last,_e=te.index,bt=te.forceShouldAnimate,Tt=vi(ae,ge);if(_e==null)return Fa({insideDestination:oe,inHomeList:Tt,displacedBy:Fe,destination:ge});var Mt=gr(oe,function(ir){return ir.descriptor.index===_e});if(!Mt)return Fa({insideDestination:oe,inHomeList:Tt,displacedBy:Fe,destination:ge});var Dt=mo(ae,oe),At=oe.indexOf(Mt),Jt=Dt.slice(At),$n=on({afterDragging:Jt,destination:ge,displacedBy:Fe,last:Re,viewport:xe.frame,forceShouldAnimate:bt});return{displaced:$n,displacedBy:Fe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:_e}}}}function Xn(te,ae){return!!ae.effected[te]}var sr=function(te){var ae=te.isMovingForward,oe=te.destination,ge=te.draggables,xe=te.combine,Fe=te.afterCritical;if(!oe.isCombineEnabled)return null;var Re=xe.draggableId,_e=ge[Re],bt=_e.descriptor.index,Tt=Xn(Re,Fe);return Tt?ae?bt:bt-1:ae?bt+1:bt},Ha=function(te){var ae=te.isMovingForward,oe=te.isInHomeList,ge=te.insideDestination,xe=te.location;if(!ge.length)return null;var Fe=xe.index,Re=ae?Fe+1:Fe-1,_e=ge[0].descriptor.index,bt=ge[ge.length-1].descriptor.index,Tt=oe?bt:bt+1;return Re<_e||Re>Tt?null:Re},Ta=function(te){var ae=te.isMovingForward,oe=te.isInHomeList,ge=te.draggable,xe=te.draggables,Fe=te.destination,Re=te.insideDestination,_e=te.previousImpact,bt=te.viewport,Tt=te.afterCritical,Mt=_e.at;if(Mt||Ue(!1),Mt.type==="REORDER"){var Dt=Ha({isMovingForward:ae,isInHomeList:oe,location:Mt.destination,insideDestination:Re});return Dt==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:Dt})}var At=sr({isMovingForward:ae,destination:Fe,displaced:_e.displaced,draggables:xe,combine:Mt.combine,afterCritical:Tt});return At==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:At})},Ja=function(te){var ae=te.displaced,oe=te.afterCritical,ge=te.combineWith,xe=te.displacedBy,Fe=!!(ae.visible[ge]||ae.invisible[ge]);return Xn(ge,oe)?Fe?dr:ha(xe.point):Fe?xe.point:dr},Rr=function(te){var ae=te.afterCritical,oe=te.impact,ge=te.draggables,xe=ko(oe);xe||Ue(!1);var Fe=xe.draggableId,Re=ge[Fe].page.borderBox.center,_e=Ja({displaced:oe.displaced,afterCritical:ae,combineWith:Fe,displacedBy:oe.displacedBy});return xr(Re,_e)},bo=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},$o=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Wo=function(ae,oe,ge){return oe[ae.crossAxisStart]+ge.margin[ae.crossAxisStart]+ge.borderBox[ae.crossAxisSize]/2},Ti=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return za(oe.line,ge.marginBox[oe.end]+bo(oe,xe),Wo(oe,ge.marginBox,xe))},Ji=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return za(oe.line,ge.marginBox[oe.start]-$o(oe,xe),Wo(oe,ge.marginBox,xe))},al=function(ae){var oe=ae.axis,ge=ae.moveInto,xe=ae.isMoving;return za(oe.line,ge.contentBox[oe.start]+bo(oe,xe),Wo(oe,ge.contentBox,xe))},Zl=function(te){var ae=te.impact,oe=te.draggable,ge=te.draggables,xe=te.droppable,Fe=te.afterCritical,Re=ri(xe.descriptor.id,ge),_e=oe.page,bt=xe.axis;if(!Re.length)return al({axis:bt,moveInto:xe.page,isMoving:_e});var Tt=ae.displaced,Mt=ae.displacedBy,Dt=Tt.all[0];if(Dt){var At=ge[Dt];if(Xn(Dt,Fe))return Ji({axis:bt,moveRelativeTo:At.page,isMoving:_e});var Jt=en(At.page,Mt.point);return Ji({axis:bt,moveRelativeTo:Jt,isMoving:_e})}var $n=Re[Re.length-1];if($n.descriptor.id===oe.descriptor.id)return _e.borderBox.center;if(Xn($n.descriptor.id,Fe)){var ir=en($n.page,ha(Fe.displacedBy.point));return Ti({axis:bt,moveRelativeTo:ir,isMoving:_e})}return Ti({axis:bt,moveRelativeTo:$n.page,isMoving:_e})},Al=function(te,ae){var oe=te.frame;return oe?xr(ae,oe.scroll.diff.displacement):ae},So=function(ae){var oe=ae.impact,ge=ae.draggable,xe=ae.droppable,Fe=ae.draggables,Re=ae.afterCritical,_e=ge.page.borderBox.center,bt=oe.at;return!xe||!bt?_e:bt.type==="REORDER"?Zl({impact:oe,draggable:ge,draggables:Fe,droppable:xe,afterCritical:Re}):Rr({impact:oe,draggables:Fe,afterCritical:Re})},yl=function(te){var ae=So(te),oe=te.droppable,ge=oe?Al(oe,ae):ae;return ge},eu=function(te,ae){var oe=Wr(ae,te.scroll.initial),ge=ha(oe),xe=Jn({top:ae.y,bottom:ae.y+te.frame.height,left:ae.x,right:ae.x+te.frame.width}),Fe={frame:xe,scroll:{initial:te.scroll.initial,max:te.scroll.max,current:ae,diff:{value:oe,displacement:ge}}};return Fe};function Nl(te,ae){return te.map(function(oe){return ae[oe]})}function xl(te,ae){for(var oe=0;oe1?Mt.sort(function(Dt,At){return Sl(Dt)[_e.start]-Sl(At)[_e.start]})[0]:Tt.sort(function(Dt,At){var Jt=La(oe,Er(Sl(Dt))),$n=La(oe,Er(Sl(At)));return Jt!==$n?Jt-$n:Sl(Dt)[_e.start]-Sl(At)[_e.start]})[0]},Mu=function(ae,oe){var ge=ae.page.borderBox.center;return Xn(ae.descriptor.id,oe)?Wr(ge,oe.displacedBy.point):ge},rl=function(ae,oe){var ge=ae.page.borderBox;return Xn(ae.descriptor.id,oe)?Fr(ge,ha(oe.displacedBy.point)):ge},ku=function(te){var ae=te.pageBorderBoxCenter,oe=te.viewport,ge=te.destination,xe=te.insideDestination,Fe=te.afterCritical,Re=xe.filter(function(_e){return we({target:rl(_e,Fe),destination:ge,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(_e,bt){var Tt=Ua(ae,Al(ge,Mu(_e,Fe))),Mt=Ua(ae,Al(ge,Mu(bt,Fe)));return Ttae.left&&te.topae.top}function zu(te){var ae=te.pageBorderBox,oe=te.draggable,ge=te.candidates,xe=oe.page.borderBox.center,Fe=ge.map(function(Re){var _e=Re.axis,bt=za(Re.axis.line,ae.center[_e.line],Re.page.borderBox.center[_e.crossAxisLine]);return{id:Re.descriptor.id,distance:Ua(xe,bt)}}).sort(function(Re,_e){return _e.distance-Re.distance});return Fe[0]?Fe[0].id:null}function rs(te){var ae=te.pageBorderBox,oe=te.draggable,ge=te.droppables,xe=Oo(ge).filter(function(Fe){if(!Fe.isEnabled)return!1;var Re=Fe.subject.active;if(!Re||!Cu(ae,Re))return!1;if(Bi(Re)(ae.center))return!0;var _e=Fe.axis,bt=Re.center[_e.crossAxisLine],Tt=ae[_e.crossAxisStart],Mt=ae[_e.crossAxisEnd],Dt=Vo(Re[_e.crossAxisStart],Re[_e.crossAxisEnd]),At=Dt(Tt),Jt=Dt(Mt);return!At&&!Jt?!0:At?Ttbt});return xe.length?xe.length===1?xe[0].descriptor.id:zu({pageBorderBox:ae,draggable:oe,candidates:xe}):null}var Il=function(ae,oe){return Jn(Fr(ae,oe))},Hu=function(te,ae){var oe=te.frame;return oe?Il(ae,oe.scroll.diff.value):ae};function xu(te){var ae=te.displaced,oe=te.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Fu(te){var ae=te.draggable,oe=te.closest,ge=te.inHomeList;return oe?ge&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var Fl=function(te){var ae=te.pageBorderBoxWithDroppableScroll,oe=te.draggable,ge=te.destination,xe=te.insideDestination,Fe=te.last,Re=te.viewport,_e=te.afterCritical,bt=ge.axis,Tt=nu(ge.axis,oe.displaceBy),Mt=Tt.value,Dt=ae[bt.start],At=ae[bt.end],Jt=mo(oe,xe),$n=gr(Jt,function(mr){var hr=mr.descriptor.id,Vr=mr.page.borderBox.center[bt.line],ro=Xn(hr,_e),co=xu({displaced:Fe,id:hr});return ro?co?At<=Vr:Dthr[_e.start]+ro&&Dthr[_e.start]-Tt+ro&&Mthr[_e.start]+Tt+ro&&Dthr[_e.start]+ro&&Mt=Ni)return To;var Fe=xe/Ni,Re=Lo+wi*Fe,_e=ge==="CANCEL"?Re*fi:Re;return Number(_e.toFixed(2))},ol=function(te){var ae=te.impact,oe=te.draggable,ge=te.dimensions,xe=te.viewport,Fe=te.afterCritical,Re=ge.draggables,_e=ge.droppables,bt=ji(ae),Tt=bt?_e[bt]:null,Mt=_e[oe.descriptor.droppableId],Dt=du({impact:ae,draggable:oe,draggables:Re,afterCritical:Fe,droppable:Tt||Mt,viewport:xe}),At=Wr(Dt,oe.client.borderBox.center);return At},Xi=function(te){var ae=te.draggables,oe=te.reason,ge=te.lastImpact,xe=te.home,Fe=te.viewport,Re=te.onLiftImpact;if(!ge.at||oe!=="DROP"){var _e=qa({draggables:ae,impact:Re,destination:xe,viewport:Fe,forceShouldAnimate:!0});return{impact:_e,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var bt=(0,Ne.Z)({},ge,{displaced:tl});return{impact:bt,didDropInsideDroppable:!0}},Ee=function(te){var ae=te.getState,oe=te.dispatch;return function(ge){return function(xe){if(xe.type!=="DROP"){ge(xe);return}var Fe=ae(),Re=xe.payload.reason;if(Fe.phase==="COLLECTING"){oe(vr({reason:Re}));return}if(Fe.phase!=="IDLE"){var _e=Fe.phase==="DROP_PENDING"&&Fe.isWaiting;_e&&Ue(!1),Fe.phase==="DRAGGING"||Fe.phase==="DROP_PENDING"||Ue(!1);var bt=Fe.critical,Tt=Fe.dimensions,Mt=Tt.draggables[Fe.critical.draggable.id],Dt=Xi({reason:Re,lastImpact:Fe.impact,afterCritical:Fe.afterCritical,onLiftImpact:Fe.onLiftImpact,home:Fe.dimensions.droppables[Fe.critical.droppable.id],viewport:Fe.viewport,draggables:Fe.dimensions.draggables}),At=Dt.impact,Jt=Dt.didDropInsideDroppable,$n=Jt?Hr(At):null,ir=Jt?ko(At):null,mr={index:bt.draggable.index,droppableId:bt.droppable.id},hr={draggableId:Mt.descriptor.id,type:Mt.descriptor.type,source:mr,reason:Re,mode:Fe.movementMode,destination:$n,combine:ir},Vr=ol({impact:At,draggable:Mt,dimensions:Tt,viewport:Fe.viewport,afterCritical:Fe.afterCritical}),ro={critical:Fe.critical,afterCritical:Fe.afterCritical,result:hr,impact:At},co=!Ir(Fe.current.client.offset,Vr)||!!hr.combine;if(!co){oe(Oa({completed:ro}));return}var ui=Ro({current:Fe.current.client.offset,destination:Vr,reason:Re}),ni={newHomeClientOffset:Vr,dropDuration:ui,completed:ro};oe(sa(ni))}}}},Ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Qe(te){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||te()}}}function rt(te){var ae=te.onWindowScroll;function oe(){ae(Ce())}var ge=wn(oe),xe=Qe(ge),Fe=Pa;function Re(){return Fe!==Pa}function _e(){Re()&&Ue(!1),Fe=lr(window,[xe])}function bt(){Re()||Ue(!1),ge.cancel(),Fe(),Fe=Pa}return{start:_e,stop:bt,isActive:Re}}var Pt=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Et=function(te){var ae=rt({onWindowScroll:function(ge){te.dispatch(aa({newScroll:ge}))}});return function(oe){return function(ge){!ae.isActive()&&ge.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Pt(ge)&&ae.stop(),oe(ge)}}},$t=function(te){var ae=!1,oe=!1,ge=setTimeout(function(){oe=!0}),xe=function(Re){ae||oe||(ae=!0,te(Re),clearTimeout(ge))};return xe.wasCalled=function(){return ae},xe},Yt=function(){var te=[],ae=function(Fe){var Re=Ao(te,function(Tt){return Tt.timerId===Fe});Re===-1&&Ue(!1);var _e=te.splice(Re,1),bt=_e[0];bt.callback()},oe=function(Fe){var Re=setTimeout(function(){return ae(Re)}),_e={timerId:Re,callback:Fe};te.push(_e)},ge=function(){if(te.length){var Fe=[].concat(te);te.length=0,Fe.forEach(function(Re){clearTimeout(Re.timerId),Re.callback()})}};return{add:oe,flush:ge}},Ut=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},Cn=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},vn=function(ae,oe){if(ae===oe)return!0;var ge=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,xe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return ge&&xe},pn=function(ae,oe){cu(),oe(),Qi()},qn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},na=function(ae,oe,ge,xe){if(!ae){ge(xe(oe));return}var Fe=$t(ge),Re={announce:Fe};ae(oe,Re),Fe.wasCalled()||ge(xe(oe))},ca=function(te,ae){var oe=Yt(),ge=null,xe=function(At,Jt){ge&&Ue(!1),pn("onBeforeCapture",function(){var $n=te().onBeforeCapture;if($n){var ir={draggableId:At,mode:Jt};$n(ir)}})},Fe=function(At,Jt){ge&&Ue(!1),pn("onBeforeDragStart",function(){var $n=te().onBeforeDragStart;$n&&$n(qn(At,Jt))})},Re=function(At,Jt){ge&&Ue(!1);var $n=qn(At,Jt);ge={mode:Jt,lastCritical:At,lastLocation:$n.source,lastCombine:null},oe.add(function(){pn("onDragStart",function(){return na(te().onDragStart,$n,ae,En.onDragStart)})})},_e=function(At,Jt){var $n=Hr(Jt),ir=ko(Jt);ge||Ue(!1);var mr=!vn(At,ge.lastCritical);mr&&(ge.lastCritical=At);var hr=!Ut(ge.lastLocation,$n);hr&&(ge.lastLocation=$n);var Vr=!Cn(ge.lastCombine,ir);if(Vr&&(ge.lastCombine=ir),!(!mr&&!hr&&!Vr)){var ro=(0,Ne.Z)({},qn(At,ge.mode),{combine:ir,destination:$n});oe.add(function(){pn("onDragUpdate",function(){return na(te().onDragUpdate,ro,ae,En.onDragUpdate)})})}},bt=function(){ge||Ue(!1),oe.flush()},Tt=function(At){ge||Ue(!1),ge=null,pn("onDragEnd",function(){return na(te().onDragEnd,At,ae,En.onDragEnd)})},Mt=function(){if(ge){var At=(0,Ne.Z)({},qn(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(At)}};return{beforeCapture:xe,beforeStart:Fe,start:Re,update:_e,flush:bt,drop:Tt,abort:Mt}},Aa=function(te,ae){var oe=ca(te,ae);return function(ge){return function(xe){return function(Fe){if(Fe.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Fe.payload.draggableId,Fe.payload.movementMode);return}if(Fe.type==="INITIAL_PUBLISH"){var Re=Fe.payload.critical;oe.beforeStart(Re,Fe.payload.movementMode),xe(Fe),oe.start(Re,Fe.payload.movementMode);return}if(Fe.type==="DROP_COMPLETE"){var _e=Fe.payload.completed.result;oe.flush(),xe(Fe),oe.drop(_e);return}if(xe(Fe),Fe.type==="FLUSH"){oe.abort();return}var bt=ge.getState();bt.phase==="DRAGGING"&&oe.update(bt.critical,bt.impact)}}}},Kt=function(te){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var ge=te.getState();ge.phase!=="DROP_ANIMATING"&&Ue(!1),te.dispatch(Oa({completed:ge.completed}))}}},Xa=function(te){var ae=null,oe=null;function ge(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(xe){return function(Fe){if((Fe.type==="FLUSH"||Fe.type==="DROP_COMPLETE"||Fe.type==="DROP_ANIMATION_FINISHED")&&ge(),xe(Fe),Fe.type==="DROP_ANIMATE"){var Re={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var bt=te.getState();bt.phase==="DROP_ANIMATING"&&te.dispatch(wr())}};oe=requestAnimationFrame(function(){oe=null,ae=lr(window,[Re])})}}}},_a=function(te){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&te.stopPublishing(),ae(oe)}}}},rr=function(te){var ae=!1;return function(){return function(oe){return function(ge){if(ge.type==="INITIAL_PUBLISH"){ae=!0,te.tryRecordFocus(ge.payload.critical.draggable.id),oe(ge),te.tryRestoreFocusRecorded();return}if(oe(ge),!!ae){if(ge.type==="FLUSH"){ae=!1,te.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){ae=!1;var xe=ge.payload.completed.result;xe.combine&&te.tryShiftRecord(xe.draggableId,xe.combine.draggableId),te.tryRestoreFocusRecorded()}}}}}},Tr=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},$r=function(te){return function(ae){return function(oe){return function(ge){if(Tr(ge)){te.stop(),oe(ge);return}if(ge.type==="INITIAL_PUBLISH"){oe(ge);var xe=ae.getState();xe.phase!=="DRAGGING"&&Ue(!1),te.start(xe);return}oe(ge),te.scroll(ae.getState())}}}},Dr=function(te){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var ge=te.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||te.dispatch(Br({reason:ge.reason})))}}}},Gr=Ze.qC,zr=function(te){var ae=te.dimensionMarshal,oe=te.focusMarshal,ge=te.styleMarshal,xe=te.getResponders,Fe=te.announce,Re=te.autoScroller;return(0,Ze.MT)(Wu,Gr((0,Ze.md)(Ko(ge),_a(ae),Gn(ae),Ee,Kt,Xa,Dr,$r(Re),Et,rr(oe),Aa(xe,Fe))))},tr=function(){return{additions:{},removals:{},modified:{}}};function nr(te){var ae=te.registry,oe=te.callbacks,ge=tr(),xe=null,Fe=function(){xe||(oe.collectionStarting(),xe=requestAnimationFrame(function(){xe=null,cu();var Mt=ge,Dt=Mt.additions,At=Mt.removals,Jt=Mt.modified,$n=Object.keys(Dt).map(function(hr){return ae.draggable.getById(hr).getDimension(dr)}).sort(function(hr,Vr){return hr.descriptor.index-Vr.descriptor.index}),ir=Object.keys(Jt).map(function(hr){var Vr=ae.droppable.getById(hr),ro=Vr.callbacks.getScrollWhileDragging();return{droppableId:hr,scroll:ro}}),mr={additions:$n,removals:Object.keys(At),modified:ir};ge=tr(),Qi(),oe.publish(mr)}))},Re=function(Mt){var Dt=Mt.descriptor.id;ge.additions[Dt]=Mt,ge.modified[Mt.descriptor.droppableId]=!0,ge.removals[Dt]&&delete ge.removals[Dt],Fe()},_e=function(Mt){var Dt=Mt.descriptor;ge.removals[Dt.id]=!0,ge.modified[Dt.droppableId]=!0,ge.additions[Dt.id]&&delete ge.additions[Dt.id],Fe()},bt=function(){xe&&(cancelAnimationFrame(xe),xe=null,ge=tr())};return{add:Re,remove:_e,stop:bt}}var fr=function(te){var ae=te.scrollHeight,oe=te.scrollWidth,ge=te.height,xe=te.width,Fe=Wr({x:oe,y:ae},{x:xe,y:ge}),Re={x:Math.max(0,Fe.x),y:Math.max(0,Fe.y)};return Re},Wa=function(){var te=document.documentElement;return te||Ue(!1),te},or=function(){var te=Wa(),ae=fr({scrollHeight:te.scrollHeight,scrollWidth:te.scrollWidth,width:te.clientWidth,height:te.clientHeight});return ae},Kr=function(){var te=Ce(),ae=or(),oe=te.y,ge=te.x,xe=Wa(),Fe=xe.clientWidth,Re=xe.clientHeight,_e=ge+Fe,bt=oe+Re,Tt=Jn({top:oe,left:ge,right:_e,bottom:bt}),Mt={frame:Tt,scroll:{initial:te,current:te,max:ae,diff:{value:dr,displacement:dr}}};return Mt},Po=function(te){var ae=te.critical,oe=te.scrollOptions,ge=te.registry;cu();var xe=Kr(),Fe=xe.scroll.current,Re=ae.droppable,_e=ge.droppable.getAllByType(Re.type).map(function(Dt){return Dt.callbacks.getDimensionAndWatchScroll(Fe,oe)}),bt=ge.draggable.getAllByType(ae.draggable.type).map(function(Dt){return Dt.getDimension(Fe)}),Tt={draggables:Yo(bt),droppables:Qo(_e)};Qi();var Mt={dimensions:Tt,critical:ae,viewport:xe};return Mt};function lo(te,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var ge=te.droppable.getById(oe.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var Mr=function(te,ae){var oe=null,ge=nr({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:te}),xe=function(Jt,$n){te.droppable.exists(Jt)||Ue(!1),oe&&ae.updateDroppableIsEnabled({id:Jt,isEnabled:$n})},Fe=function(Jt,$n){oe&&(te.droppable.exists(Jt)||Ue(!1),ae.updateDroppableIsCombineEnabled({id:Jt,isCombineEnabled:$n}))},Re=function(Jt,$n){oe&&(te.droppable.exists(Jt)||Ue(!1),ae.updateDroppableScroll({id:Jt,newScroll:$n}))},_e=function(Jt,$n){oe&&te.droppable.getById(Jt).callbacks.scroll($n)},bt=function(){if(oe){ge.stop();var Jt=oe.critical.droppable;te.droppable.getAllByType(Jt.type).forEach(function($n){return $n.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Jt){oe||Ue(!1);var $n=oe.critical.draggable;Jt.type==="ADDITION"&&lo(te,$n,Jt.value)&&ge.add(Jt.value),Jt.type==="REMOVAL"&&lo(te,$n,Jt.value)&&ge.remove(Jt.value)},Mt=function(Jt){oe&&Ue(!1);var $n=te.draggable.getById(Jt.draggableId),ir=te.droppable.getById($n.descriptor.droppableId),mr={draggable:$n.descriptor,droppable:ir.descriptor},hr=te.subscribe(Tt);return oe={critical:mr,unsubscribe:hr},Po({critical:mr,registry:te,scrollOptions:Jt.scrollOptions})},Dt={updateDroppableIsEnabled:xe,updateDroppableIsCombineEnabled:Fe,scrollDroppable:_e,updateDroppableScroll:Re,startPublishing:Mt,stopPublishing:bt};return Dt},vo=function(te,ae){return te.phase==="IDLE"?!0:te.phase!=="DROP_ANIMATING"||te.completed.result.draggableId===ae?!1:te.completed.result.reason==="DROP"},Bo=function(te){window.scrollBy(te.x,te.y)},Ra=Gt(function(te){return Oo(te).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),wo=function(ae,oe){var ge=gr(Ra(oe),function(xe){return xe.frame||Ue(!1),Bi(xe.frame.pageMarginBox)(ae)});return ge},yi=function(te){var ae=te.center,oe=te.destination,ge=te.droppables;if(oe){var xe=ge[oe];return xe.frame?xe:null}var Fe=wo(ae,ge);return Fe},Do={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Xr=function(te,ae){var oe=te[ae.size]*Do.startFromPercentage,ge=te[ae.size]*Do.maxScrollAtPercentage,xe={startScrollingFrom:oe,maxScrollValueAt:ge};return xe},bi=function(te){var ae=te.startOfRange,oe=te.endOfRange,ge=te.current,xe=oe-ae;if(xe===0)return 0;var Fe=ge-ae,Re=Fe/xe;return Re},Qr=1,gi=function(te,ae){if(te>ae.startScrollingFrom)return 0;if(te<=ae.maxScrollValueAt)return Do.maxPixelScroll;if(te===ae.startScrollingFrom)return Qr;var oe=bi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:te}),ge=1-oe,xe=Do.maxPixelScroll*Do.ease(ge);return Math.ceil(xe)},_o=Do.durationDampening.accelerateAt,_i=Do.durationDampening.stopDampeningAt,to=function(te,ae){var oe=ae,ge=_i,xe=Date.now(),Fe=xe-oe;if(Fe>=_i)return te;if(Fe<_o)return Qr;var Re=bi({startOfRange:_o,endOfRange:ge,current:Fe}),_e=te*Do.ease(Re);return Math.ceil(_e)},_r=function(te){var ae=te.distanceToEdge,oe=te.thresholds,ge=te.dragStartTime,xe=te.shouldUseTimeDampening,Fe=gi(ae,oe);return Fe===0?0:xe?Math.max(to(Fe,ge),Qr):Fe},Yr=function(te){var ae=te.container,oe=te.distanceToEdges,ge=te.dragStartTime,xe=te.axis,Fe=te.shouldUseTimeDampening,Re=Xr(ae,xe),_e=oe[xe.end]ae.height,Fe=oe.width>ae.width;return!Fe&&!xe?ge:Fe&&xe?null:{x:Fe?0:ge.x,y:xe?0:ge.y}},ce=Or(function(te){return te===0?0:te}),pe=function(te){var ae=te.dragStartTime,oe=te.container,ge=te.subject,xe=te.center,Fe=te.shouldUseTimeDampening,Re={top:xe.y-oe.top,right:oe.right-xe.x,bottom:oe.bottom-xe.y,left:xe.x-oe.left},_e=Yr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:dl,shouldUseTimeDampening:Fe}),bt=Yr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:gl,shouldUseTimeDampening:Fe}),Tt=ce({x:bt,y:_e});if(Ir(Tt,dr))return null;var Mt=Zr({container:oe,subject:ge,proposedScroll:Tt});return Mt?Ir(Mt,dr)?null:Mt:null},Pe=Or(function(te){return te===0?0:te>0?1:-1}),Ot=function(){var te=function(oe,ge){return oe<0?oe:oe>ge?oe-ge:0};return function(ae){var oe=ae.current,ge=ae.max,xe=ae.change,Fe=xr(oe,xe),Re={x:te(Fe.x,ge.x),y:te(Fe.y,ge.y)};return Ir(Re,dr)?null:Re}}(),tn=function(ae){var oe=ae.max,ge=ae.current,xe=ae.change,Fe={x:Math.max(ge.x,oe.x),y:Math.max(ge.y,oe.y)},Re=Pe(xe),_e=Ot({max:Fe,current:ge,change:Re});return!_e||Re.x!==0&&_e.x===0||Re.y!==0&&_e.y===0},wa=function(ae,oe){return tn({current:ae.scroll.current,max:ae.scroll.max,change:oe})},ma=function(ae,oe){if(!wa(ae,oe))return null;var ge=ae.scroll.max,xe=ae.scroll.current;return Ot({current:xe,max:ge,change:oe})},zn=function(ae,oe){var ge=ae.frame;return ge?tn({current:ge.scroll.current,max:ge.scroll.max,change:oe}):!1},Ht=function(ae,oe){var ge=ae.frame;return!ge||!zn(ae,oe)?null:Ot({current:ge.scroll.current,max:ge.scroll.max,change:oe})},Yn=function(te){var ae=te.viewport,oe=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=pe({dragStartTime:xe,container:ae.frame,subject:oe,center:ge,shouldUseTimeDampening:Fe});return Re&&wa(ae,Re)?Re:null},xn=function(te){var ae=te.droppable,oe=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=ae.frame;if(!Re)return null;var _e=pe({dragStartTime:xe,container:Re.pageMarginBox,subject:oe,center:ge,shouldUseTimeDampening:Fe});return _e&&zn(ae,_e)?_e:null},Ct=function(te){var ae=te.state,oe=te.dragStartTime,ge=te.shouldUseTimeDampening,xe=te.scrollWindow,Fe=te.scrollDroppable,Re=ae.current.page.borderBoxCenter,_e=ae.dimensions.draggables[ae.critical.draggable.id],bt=_e.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Mt=Yn({dragStartTime:oe,viewport:Tt,subject:bt,center:Re,shouldUseTimeDampening:ge});if(Mt){xe(Mt);return}}var Dt=yi({center:Re,destination:ji(ae.impact),droppables:ae.dimensions.droppables});if(Dt){var At=xn({dragStartTime:oe,droppable:Dt,subject:bt,center:Re,shouldUseTimeDampening:ge});At&&Fe(Dt.descriptor.id,At)}},gn=function(te){var ae=te.scrollWindow,oe=te.scrollDroppable,ge=wn(ae),xe=wn(oe),Fe=null,Re=function(Mt){Fe||Ue(!1);var Dt=Fe,At=Dt.shouldUseTimeDampening,Jt=Dt.dragStartTime;Ct({state:Mt,scrollWindow:ge,scrollDroppable:xe,dragStartTime:Jt,shouldUseTimeDampening:At})},_e=function(Mt){cu(),Fe&&Ue(!1);var Dt=Date.now(),At=!1,Jt=function(){At=!0};Ct({state:Mt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Jt,scrollDroppable:Jt}),Fe={dragStartTime:Dt,shouldUseTimeDampening:At},Qi(),At&&Re(Mt)},bt=function(){Fe&&(ge.cancel(),xe.cancel(),Fe=null)};return{start:_e,stop:bt,scroll:Re}},In=function(te){var ae=te.move,oe=te.scrollDroppable,ge=te.scrollWindow,xe=function(Tt,Mt){var Dt=xr(Tt.current.client.selection,Mt);ae({client:Dt})},Fe=function(Tt,Mt){if(!zn(Tt,Mt))return Mt;var Dt=Ht(Tt,Mt);if(!Dt)return oe(Tt.descriptor.id,Mt),null;var At=Wr(Mt,Dt);oe(Tt.descriptor.id,At);var Jt=Wr(Mt,At);return Jt},Re=function(Tt,Mt,Dt){if(!Tt||!wa(Mt,Dt))return Dt;var At=ma(Mt,Dt);if(!At)return ge(Dt),null;var Jt=Wr(Dt,At);ge(Jt);var $n=Wr(Dt,Jt);return $n},_e=function(Tt){var Mt=Tt.scrollJumpRequest;if(Mt){var Dt=ji(Tt.impact);Dt||Ue(!1);var At=Fe(Tt.dimensions.droppables[Dt],Mt);if(At){var Jt=Tt.viewport,$n=Re(Tt.isWindowScrollAllowed,Jt,At);$n&&xe(Tt,$n)}}};return _e},ra=function(te){var ae=te.scrollDroppable,oe=te.scrollWindow,ge=te.move,xe=gn({scrollWindow:oe,scrollDroppable:ae}),Fe=In({move:ge,scrollWindow:oe,scrollDroppable:ae}),Re=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){xe.scroll(Tt);return}Tt.scrollJumpRequest&&Fe(Tt)}},_e={scroll:Re,start:xe.start,stop:xe.stop};return _e},Hn="data-rbd",ba=function(){var te=Hn+"-drag-handle";return{base:te,draggableId:te+"-draggable-id",contextId:te+"-context-id"}}(),ta=function(){var te=Hn+"-draggable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),oa=function(){var te=Hn+"-droppable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),Ka={contextId:Hn+"-scroll-container-context-id"},Pn=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},ya=function(ae,oe){return ae.map(function(ge){var xe=ge.styles[oe];return xe?ge.selector+" { "+xe+" }":""}).join(" ")},ja="pointer-events: none;",qr=function(te){var ae=Pn(te),oe=function(){var _e=` + `},En={dragHandleUsageInstructions:Xt,onDragStart:Kn,onDragUpdate:Un,onDragEnd:da},dr={x:0,y:0},xr=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Wr=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},Ir=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},ha=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},za=function(ae,oe,ge){var xe;return ge===void 0&&(ge=0),xe={},xe[ae]=oe,xe[ae==="x"?"y":"x"]=ge,xe},Ua=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},La=function(ae,oe){return Math.min.apply(Math,oe.map(function(ge){return Ua(ae,ge)}))},Or=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},no=function(te,ae){var oe=Jn({top:Math.max(ae.top,te.top),right:Math.min(ae.right,te.right),bottom:Math.min(ae.bottom,te.bottom),left:Math.max(ae.left,te.left)});return oe.width<=0||oe.height<=0?null:oe},Fr=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},Er=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}]},Pr={top:0,right:0,bottom:0,left:0},si=function(ae,oe){return oe?Fr(ae,oe.scroll.diff.displacement):ae},ai=function(ae,oe,ge){if(ge&&ge.increasedBy){var xe;return(0,Ne.Z)({},ae,(xe={},xe[oe.end]=ae[oe.end]+ge.increasedBy[oe.line],xe))}return ae},xi=function(ae,oe){return oe&&oe.shouldClipSubject?no(oe.pageMarginBox,ae):Jn(ae)},ho=function(te){var ae=te.page,oe=te.withPlaceholder,ge=te.axis,xe=te.frame,Fe=si(ae.marginBox,xe),Re=ai(Fe,ge,oe),_e=xi(Re,xe);return{page:ae,withPlaceholder:oe,active:_e}},yo=function(te,ae){te.frame||Ue(!1);var oe=te.frame,ge=Wr(ae,oe.scroll.initial),xe=ha(ge),Fe=(0,Ne.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:ge,displacement:xe},max:oe.scroll.max}}),Re=ho({page:te.subject.page,withPlaceholder:te.subject.withPlaceholder,axis:te.axis,frame:Fe}),_e=(0,Ne.Z)({},te,{frame:Fe,subject:Re});return _e};function Go(te){return Number.isInteger?Number.isInteger(te):typeof te=="number"&&isFinite(te)&&Math.floor(te)===te}function Mo(te){return Object.values?Object.values(te):Object.keys(te).map(function(ae){return te[ae]})}function Ao(te,ae){if(te.findIndex)return te.findIndex(ae);for(var oe=0;oete.bottom,Tt=ge.leftte.right,Mt=bt&&Tt;if(Mt)return!0;var Dt=bt&&Re||Tt&&Fe;return Dt}},Wi=function(te){var ae=Vo(te.top,te.bottom),oe=Vo(te.left,te.right);return function(ge){var xe=ae(ge.top)&&ae(ge.bottom)&&oe(ge.left)&&oe(ge.right);return xe}},dl={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},gl={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Pl=function(te){return function(ae){var oe=Vo(ae.top,ae.bottom),ge=Vo(ae.left,ae.right);return function(xe){return te===dl?oe(xe.top)&&oe(xe.bottom):ge(xe.left)&&ge(xe.right)}}},kr=function(ae,oe){var ge=oe.frame?oe.frame.scroll.diff.displacement:dr;return Fr(ae,ge)},Qa=function(ae,oe,ge){return oe.subject.active?ge(oe.subject.active)(ae):!1},Ga=function(ae,oe,ge){return ge(oe)(ae)},Ya=function(ae){var oe=ae.target,ge=ae.destination,xe=ae.viewport,Fe=ae.withDroppableDisplacement,Re=ae.isVisibleThroughFrameFn,_e=Fe?kr(oe,ge):oe;return Qa(_e,ge,Re)&&Ga(_e,xe,Re)},so=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Fi}))},we=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Wi}))},fn=function(ae){return Ya((0,Ne.Z)({},ae,{isVisibleThroughFrameFn:Pl(ae.destination.axis)}))},Mn=function(ae,oe,ge){if(typeof ge=="boolean")return ge;if(!oe)return!0;var xe=oe.invisible,Fe=oe.visible;if(xe[ae])return!1;var Re=Fe[ae];return Re?Re.shouldAnimate:!0};function Sa(te,ae){var oe=te.page.marginBox,ge={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Jn(va(oe,ge))}function on(te){var ae=te.afterDragging,oe=te.destination,ge=te.displacedBy,xe=te.viewport,Fe=te.forceShouldAnimate,Re=te.last;return ae.reduce(function(bt,Tt){var Mt=Sa(Tt,ge),Dt=Tt.descriptor.id;bt.all.push(Dt);var At=so({target:Mt,destination:oe,viewport:xe,withDroppableDisplacement:!0});if(!At)return bt.invisible[Tt.descriptor.id]=!0,bt;var Jt=Mn(Dt,Re,Fe),$n={draggableId:Dt,shouldAnimate:Jt};return bt.visible[Dt]=$n,bt},{all:[],visible:{},invisible:{}})}function Ma(te,ae){if(!te.length)return 0;var oe=te[te.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function Fa(te){var ae=te.insideDestination,oe=te.inHomeList,ge=te.displacedBy,xe=te.destination,Fe=Ma(ae,{inHomeList:oe});return{displaced:tl,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:xe.descriptor.id,index:Fe}}}}function jn(te){var ae=te.draggable,oe=te.insideDestination,ge=te.destination,xe=te.viewport,Fe=te.displacedBy,Re=te.last,_e=te.index,bt=te.forceShouldAnimate,Tt=vi(ae,ge);if(_e==null)return Fa({insideDestination:oe,inHomeList:Tt,displacedBy:Fe,destination:ge});var Mt=gr(oe,function(ir){return ir.descriptor.index===_e});if(!Mt)return Fa({insideDestination:oe,inHomeList:Tt,displacedBy:Fe,destination:ge});var Dt=mo(ae,oe),At=oe.indexOf(Mt),Jt=Dt.slice(At),$n=on({afterDragging:Jt,destination:ge,displacedBy:Fe,last:Re,viewport:xe.frame,forceShouldAnimate:bt});return{displaced:$n,displacedBy:Fe,at:{type:"REORDER",destination:{droppableId:ge.descriptor.id,index:_e}}}}function Xn(te,ae){return!!ae.effected[te]}var sr=function(te){var ae=te.isMovingForward,oe=te.destination,ge=te.draggables,xe=te.combine,Fe=te.afterCritical;if(!oe.isCombineEnabled)return null;var Re=xe.draggableId,_e=ge[Re],bt=_e.descriptor.index,Tt=Xn(Re,Fe);return Tt?ae?bt:bt-1:ae?bt+1:bt},Ha=function(te){var ae=te.isMovingForward,oe=te.isInHomeList,ge=te.insideDestination,xe=te.location;if(!ge.length)return null;var Fe=xe.index,Re=ae?Fe+1:Fe-1,_e=ge[0].descriptor.index,bt=ge[ge.length-1].descriptor.index,Tt=oe?bt:bt+1;return Re<_e||Re>Tt?null:Re},Ta=function(te){var ae=te.isMovingForward,oe=te.isInHomeList,ge=te.draggable,xe=te.draggables,Fe=te.destination,Re=te.insideDestination,_e=te.previousImpact,bt=te.viewport,Tt=te.afterCritical,Mt=_e.at;if(Mt||Ue(!1),Mt.type==="REORDER"){var Dt=Ha({isMovingForward:ae,isInHomeList:oe,location:Mt.destination,insideDestination:Re});return Dt==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:Dt})}var At=sr({isMovingForward:ae,destination:Fe,displaced:_e.displaced,draggables:xe,combine:Mt.combine,afterCritical:Tt});return At==null?null:jn({draggable:ge,insideDestination:Re,destination:Fe,viewport:bt,last:_e.displaced,displacedBy:_e.displacedBy,index:At})},Ja=function(te){var ae=te.displaced,oe=te.afterCritical,ge=te.combineWith,xe=te.displacedBy,Fe=!!(ae.visible[ge]||ae.invisible[ge]);return Xn(ge,oe)?Fe?dr:ha(xe.point):Fe?xe.point:dr},Rr=function(te){var ae=te.afterCritical,oe=te.impact,ge=te.draggables,xe=ko(oe);xe||Ue(!1);var Fe=xe.draggableId,Re=ge[Fe].page.borderBox.center,_e=Ja({displaced:oe.displaced,afterCritical:ae,combineWith:Fe,displacedBy:oe.displacedBy});return xr(Re,_e)},bo=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},$o=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Wo=function(ae,oe,ge){return oe[ae.crossAxisStart]+ge.margin[ae.crossAxisStart]+ge.borderBox[ae.crossAxisSize]/2},Ti=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return za(oe.line,ge.marginBox[oe.end]+bo(oe,xe),Wo(oe,ge.marginBox,xe))},Ji=function(ae){var oe=ae.axis,ge=ae.moveRelativeTo,xe=ae.isMoving;return za(oe.line,ge.marginBox[oe.start]-$o(oe,xe),Wo(oe,ge.marginBox,xe))},al=function(ae){var oe=ae.axis,ge=ae.moveInto,xe=ae.isMoving;return za(oe.line,ge.contentBox[oe.start]+bo(oe,xe),Wo(oe,ge.contentBox,xe))},Zl=function(te){var ae=te.impact,oe=te.draggable,ge=te.draggables,xe=te.droppable,Fe=te.afterCritical,Re=ri(xe.descriptor.id,ge),_e=oe.page,bt=xe.axis;if(!Re.length)return al({axis:bt,moveInto:xe.page,isMoving:_e});var Tt=ae.displaced,Mt=ae.displacedBy,Dt=Tt.all[0];if(Dt){var At=ge[Dt];if(Xn(Dt,Fe))return Ji({axis:bt,moveRelativeTo:At.page,isMoving:_e});var Jt=en(At.page,Mt.point);return Ji({axis:bt,moveRelativeTo:Jt,isMoving:_e})}var $n=Re[Re.length-1];if($n.descriptor.id===oe.descriptor.id)return _e.borderBox.center;if(Xn($n.descriptor.id,Fe)){var ir=en($n.page,ha(Fe.displacedBy.point));return Ti({axis:bt,moveRelativeTo:ir,isMoving:_e})}return Ti({axis:bt,moveRelativeTo:$n.page,isMoving:_e})},Al=function(te,ae){var oe=te.frame;return oe?xr(ae,oe.scroll.diff.displacement):ae},So=function(ae){var oe=ae.impact,ge=ae.draggable,xe=ae.droppable,Fe=ae.draggables,Re=ae.afterCritical,_e=ge.page.borderBox.center,bt=oe.at;return!xe||!bt?_e:bt.type==="REORDER"?Zl({impact:oe,draggable:ge,draggables:Fe,droppable:xe,afterCritical:Re}):Rr({impact:oe,draggables:Fe,afterCritical:Re})},yl=function(te){var ae=So(te),oe=te.droppable,ge=oe?Al(oe,ae):ae;return ge},eu=function(te,ae){var oe=Wr(ae,te.scroll.initial),ge=ha(oe),xe=Jn({top:ae.y,bottom:ae.y+te.frame.height,left:ae.x,right:ae.x+te.frame.width}),Fe={frame:xe,scroll:{initial:te.scroll.initial,max:te.scroll.max,current:ae,diff:{value:oe,displacement:ge}}};return Fe};function Nl(te,ae){return te.map(function(oe){return ae[oe]})}function xl(te,ae){for(var oe=0;oe1?Mt.sort(function(Dt,At){return El(Dt)[_e.start]-El(At)[_e.start]})[0]:Tt.sort(function(Dt,At){var Jt=La(oe,Er(El(Dt))),$n=La(oe,Er(El(At)));return Jt!==$n?Jt-$n:El(Dt)[_e.start]-El(At)[_e.start]})[0]},Mu=function(ae,oe){var ge=ae.page.borderBox.center;return Xn(ae.descriptor.id,oe)?Wr(ge,oe.displacedBy.point):ge},rl=function(ae,oe){var ge=ae.page.borderBox;return Xn(ae.descriptor.id,oe)?Fr(ge,ha(oe.displacedBy.point)):ge},ku=function(te){var ae=te.pageBorderBoxCenter,oe=te.viewport,ge=te.destination,xe=te.insideDestination,Fe=te.afterCritical,Re=xe.filter(function(_e){return we({target:rl(_e,Fe),destination:ge,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(_e,bt){var Tt=Ua(ae,Al(ge,Mu(_e,Fe))),Mt=Ua(ae,Al(ge,Mu(bt,Fe)));return Ttae.left&&te.topae.top}function zu(te){var ae=te.pageBorderBox,oe=te.draggable,ge=te.candidates,xe=oe.page.borderBox.center,Fe=ge.map(function(Re){var _e=Re.axis,bt=za(Re.axis.line,ae.center[_e.line],Re.page.borderBox.center[_e.crossAxisLine]);return{id:Re.descriptor.id,distance:Ua(xe,bt)}}).sort(function(Re,_e){return _e.distance-Re.distance});return Fe[0]?Fe[0].id:null}function rs(te){var ae=te.pageBorderBox,oe=te.draggable,ge=te.droppables,xe=Oo(ge).filter(function(Fe){if(!Fe.isEnabled)return!1;var Re=Fe.subject.active;if(!Re||!Cu(ae,Re))return!1;if(Bi(Re)(ae.center))return!0;var _e=Fe.axis,bt=Re.center[_e.crossAxisLine],Tt=ae[_e.crossAxisStart],Mt=ae[_e.crossAxisEnd],Dt=Vo(Re[_e.crossAxisStart],Re[_e.crossAxisEnd]),At=Dt(Tt),Jt=Dt(Mt);return!At&&!Jt?!0:At?Ttbt});return xe.length?xe.length===1?xe[0].descriptor.id:zu({pageBorderBox:ae,draggable:oe,candidates:xe}):null}var Il=function(ae,oe){return Jn(Fr(ae,oe))},Hu=function(te,ae){var oe=te.frame;return oe?Il(ae,oe.scroll.diff.value):ae};function xu(te){var ae=te.displaced,oe=te.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Fu(te){var ae=te.draggable,oe=te.closest,ge=te.inHomeList;return oe?ge&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var Fl=function(te){var ae=te.pageBorderBoxWithDroppableScroll,oe=te.draggable,ge=te.destination,xe=te.insideDestination,Fe=te.last,Re=te.viewport,_e=te.afterCritical,bt=ge.axis,Tt=nu(ge.axis,oe.displaceBy),Mt=Tt.value,Dt=ae[bt.start],At=ae[bt.end],Jt=mo(oe,xe),$n=gr(Jt,function(mr){var hr=mr.descriptor.id,Vr=mr.page.borderBox.center[bt.line],ro=Xn(hr,_e),co=xu({displaced:Fe,id:hr});return ro?co?At<=Vr:Dthr[_e.start]+ro&&Dthr[_e.start]-Tt+ro&&Mthr[_e.start]+Tt+ro&&Dthr[_e.start]+ro&&Mt=Ni)return To;var Fe=xe/Ni,Re=Lo+wi*Fe,_e=ge==="CANCEL"?Re*fi:Re;return Number(_e.toFixed(2))},ol=function(te){var ae=te.impact,oe=te.draggable,ge=te.dimensions,xe=te.viewport,Fe=te.afterCritical,Re=ge.draggables,_e=ge.droppables,bt=ji(ae),Tt=bt?_e[bt]:null,Mt=_e[oe.descriptor.droppableId],Dt=du({impact:ae,draggable:oe,draggables:Re,afterCritical:Fe,droppable:Tt||Mt,viewport:xe}),At=Wr(Dt,oe.client.borderBox.center);return At},Xi=function(te){var ae=te.draggables,oe=te.reason,ge=te.lastImpact,xe=te.home,Fe=te.viewport,Re=te.onLiftImpact;if(!ge.at||oe!=="DROP"){var _e=qa({draggables:ae,impact:Re,destination:xe,viewport:Fe,forceShouldAnimate:!0});return{impact:_e,didDropInsideDroppable:!1}}if(ge.at.type==="REORDER")return{impact:ge,didDropInsideDroppable:!0};var bt=(0,Ne.Z)({},ge,{displaced:tl});return{impact:bt,didDropInsideDroppable:!0}},Ee=function(te){var ae=te.getState,oe=te.dispatch;return function(ge){return function(xe){if(xe.type!=="DROP"){ge(xe);return}var Fe=ae(),Re=xe.payload.reason;if(Fe.phase==="COLLECTING"){oe(vr({reason:Re}));return}if(Fe.phase!=="IDLE"){var _e=Fe.phase==="DROP_PENDING"&&Fe.isWaiting;_e&&Ue(!1),Fe.phase==="DRAGGING"||Fe.phase==="DROP_PENDING"||Ue(!1);var bt=Fe.critical,Tt=Fe.dimensions,Mt=Tt.draggables[Fe.critical.draggable.id],Dt=Xi({reason:Re,lastImpact:Fe.impact,afterCritical:Fe.afterCritical,onLiftImpact:Fe.onLiftImpact,home:Fe.dimensions.droppables[Fe.critical.droppable.id],viewport:Fe.viewport,draggables:Fe.dimensions.draggables}),At=Dt.impact,Jt=Dt.didDropInsideDroppable,$n=Jt?Hr(At):null,ir=Jt?ko(At):null,mr={index:bt.draggable.index,droppableId:bt.droppable.id},hr={draggableId:Mt.descriptor.id,type:Mt.descriptor.type,source:mr,reason:Re,mode:Fe.movementMode,destination:$n,combine:ir},Vr=ol({impact:At,draggable:Mt,dimensions:Tt,viewport:Fe.viewport,afterCritical:Fe.afterCritical}),ro={critical:Fe.critical,afterCritical:Fe.afterCritical,result:hr,impact:At},co=!Ir(Fe.current.client.offset,Vr)||!!hr.combine;if(!co){oe(Oa({completed:ro}));return}var ui=Ro({current:Fe.current.client.offset,destination:Vr,reason:Re}),ni={newHomeClientOffset:Vr,dropDuration:ui,completed:ro};oe(sa(ni))}}}},Ce=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Qe(te){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||te()}}}function rt(te){var ae=te.onWindowScroll;function oe(){ae(Ce())}var ge=wn(oe),xe=Qe(ge),Fe=Pa;function Re(){return Fe!==Pa}function _e(){Re()&&Ue(!1),Fe=lr(window,[xe])}function bt(){Re()||Ue(!1),ge.cancel(),Fe(),Fe=Pa}return{start:_e,stop:bt,isActive:Re}}var Pt=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Et=function(te){var ae=rt({onWindowScroll:function(ge){te.dispatch(aa({newScroll:ge}))}});return function(oe){return function(ge){!ae.isActive()&&ge.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Pt(ge)&&ae.stop(),oe(ge)}}},$t=function(te){var ae=!1,oe=!1,ge=setTimeout(function(){oe=!0}),xe=function(Re){ae||oe||(ae=!0,te(Re),clearTimeout(ge))};return xe.wasCalled=function(){return ae},xe},Yt=function(){var te=[],ae=function(Fe){var Re=Ao(te,function(Tt){return Tt.timerId===Fe});Re===-1&&Ue(!1);var _e=te.splice(Re,1),bt=_e[0];bt.callback()},oe=function(Fe){var Re=setTimeout(function(){return ae(Re)}),_e={timerId:Re,callback:Fe};te.push(_e)},ge=function(){if(te.length){var Fe=[].concat(te);te.length=0,Fe.forEach(function(Re){clearTimeout(Re.timerId),Re.callback()})}};return{add:oe,flush:ge}},Ut=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},Cn=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},vn=function(ae,oe){if(ae===oe)return!0;var ge=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,xe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return ge&&xe},pn=function(ae,oe){cu(),oe(),Qi()},qn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},na=function(ae,oe,ge,xe){if(!ae){ge(xe(oe));return}var Fe=$t(ge),Re={announce:Fe};ae(oe,Re),Fe.wasCalled()||ge(xe(oe))},ca=function(te,ae){var oe=Yt(),ge=null,xe=function(At,Jt){ge&&Ue(!1),pn("onBeforeCapture",function(){var $n=te().onBeforeCapture;if($n){var ir={draggableId:At,mode:Jt};$n(ir)}})},Fe=function(At,Jt){ge&&Ue(!1),pn("onBeforeDragStart",function(){var $n=te().onBeforeDragStart;$n&&$n(qn(At,Jt))})},Re=function(At,Jt){ge&&Ue(!1);var $n=qn(At,Jt);ge={mode:Jt,lastCritical:At,lastLocation:$n.source,lastCombine:null},oe.add(function(){pn("onDragStart",function(){return na(te().onDragStart,$n,ae,En.onDragStart)})})},_e=function(At,Jt){var $n=Hr(Jt),ir=ko(Jt);ge||Ue(!1);var mr=!vn(At,ge.lastCritical);mr&&(ge.lastCritical=At);var hr=!Ut(ge.lastLocation,$n);hr&&(ge.lastLocation=$n);var Vr=!Cn(ge.lastCombine,ir);if(Vr&&(ge.lastCombine=ir),!(!mr&&!hr&&!Vr)){var ro=(0,Ne.Z)({},qn(At,ge.mode),{combine:ir,destination:$n});oe.add(function(){pn("onDragUpdate",function(){return na(te().onDragUpdate,ro,ae,En.onDragUpdate)})})}},bt=function(){ge||Ue(!1),oe.flush()},Tt=function(At){ge||Ue(!1),ge=null,pn("onDragEnd",function(){return na(te().onDragEnd,At,ae,En.onDragEnd)})},Mt=function(){if(ge){var At=(0,Ne.Z)({},qn(ge.lastCritical,ge.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(At)}};return{beforeCapture:xe,beforeStart:Fe,start:Re,update:_e,flush:bt,drop:Tt,abort:Mt}},Aa=function(te,ae){var oe=ca(te,ae);return function(ge){return function(xe){return function(Fe){if(Fe.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Fe.payload.draggableId,Fe.payload.movementMode);return}if(Fe.type==="INITIAL_PUBLISH"){var Re=Fe.payload.critical;oe.beforeStart(Re,Fe.payload.movementMode),xe(Fe),oe.start(Re,Fe.payload.movementMode);return}if(Fe.type==="DROP_COMPLETE"){var _e=Fe.payload.completed.result;oe.flush(),xe(Fe),oe.drop(_e);return}if(xe(Fe),Fe.type==="FLUSH"){oe.abort();return}var bt=ge.getState();bt.phase==="DRAGGING"&&oe.update(bt.critical,bt.impact)}}}},Ht=function(te){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var ge=te.getState();ge.phase!=="DROP_ANIMATING"&&Ue(!1),te.dispatch(Oa({completed:ge.completed}))}}},Xa=function(te){var ae=null,oe=null;function ge(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(xe){return function(Fe){if((Fe.type==="FLUSH"||Fe.type==="DROP_COMPLETE"||Fe.type==="DROP_ANIMATION_FINISHED")&&ge(),xe(Fe),Fe.type==="DROP_ANIMATE"){var Re={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var bt=te.getState();bt.phase==="DROP_ANIMATING"&&te.dispatch(wr())}};oe=requestAnimationFrame(function(){oe=null,ae=lr(window,[Re])})}}}},_a=function(te){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&te.stopPublishing(),ae(oe)}}}},rr=function(te){var ae=!1;return function(){return function(oe){return function(ge){if(ge.type==="INITIAL_PUBLISH"){ae=!0,te.tryRecordFocus(ge.payload.critical.draggable.id),oe(ge),te.tryRestoreFocusRecorded();return}if(oe(ge),!!ae){if(ge.type==="FLUSH"){ae=!1,te.tryRestoreFocusRecorded();return}if(ge.type==="DROP_COMPLETE"){ae=!1;var xe=ge.payload.completed.result;xe.combine&&te.tryShiftRecord(xe.draggableId,xe.combine.draggableId),te.tryRestoreFocusRecorded()}}}}}},Tr=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},$r=function(te){return function(ae){return function(oe){return function(ge){if(Tr(ge)){te.stop(),oe(ge);return}if(ge.type==="INITIAL_PUBLISH"){oe(ge);var xe=ae.getState();xe.phase!=="DRAGGING"&&Ue(!1),te.start(xe);return}oe(ge),te.scroll(ae.getState())}}}},Dr=function(te){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var ge=te.getState();ge.phase==="DROP_PENDING"&&(ge.isWaiting||te.dispatch(Br({reason:ge.reason})))}}}},Gr=Ze.qC,zr=function(te){var ae=te.dimensionMarshal,oe=te.focusMarshal,ge=te.styleMarshal,xe=te.getResponders,Fe=te.announce,Re=te.autoScroller;return(0,Ze.MT)(Wu,Gr((0,Ze.md)(Ko(ge),_a(ae),Gn(ae),Ee,Ht,Xa,Dr,$r(Re),Et,rr(oe),Aa(xe,Fe))))},tr=function(){return{additions:{},removals:{},modified:{}}};function nr(te){var ae=te.registry,oe=te.callbacks,ge=tr(),xe=null,Fe=function(){xe||(oe.collectionStarting(),xe=requestAnimationFrame(function(){xe=null,cu();var Mt=ge,Dt=Mt.additions,At=Mt.removals,Jt=Mt.modified,$n=Object.keys(Dt).map(function(hr){return ae.draggable.getById(hr).getDimension(dr)}).sort(function(hr,Vr){return hr.descriptor.index-Vr.descriptor.index}),ir=Object.keys(Jt).map(function(hr){var Vr=ae.droppable.getById(hr),ro=Vr.callbacks.getScrollWhileDragging();return{droppableId:hr,scroll:ro}}),mr={additions:$n,removals:Object.keys(At),modified:ir};ge=tr(),Qi(),oe.publish(mr)}))},Re=function(Mt){var Dt=Mt.descriptor.id;ge.additions[Dt]=Mt,ge.modified[Mt.descriptor.droppableId]=!0,ge.removals[Dt]&&delete ge.removals[Dt],Fe()},_e=function(Mt){var Dt=Mt.descriptor;ge.removals[Dt.id]=!0,ge.modified[Dt.droppableId]=!0,ge.additions[Dt.id]&&delete ge.additions[Dt.id],Fe()},bt=function(){xe&&(cancelAnimationFrame(xe),xe=null,ge=tr())};return{add:Re,remove:_e,stop:bt}}var fr=function(te){var ae=te.scrollHeight,oe=te.scrollWidth,ge=te.height,xe=te.width,Fe=Wr({x:oe,y:ae},{x:xe,y:ge}),Re={x:Math.max(0,Fe.x),y:Math.max(0,Fe.y)};return Re},Wa=function(){var te=document.documentElement;return te||Ue(!1),te},or=function(){var te=Wa(),ae=fr({scrollHeight:te.scrollHeight,scrollWidth:te.scrollWidth,width:te.clientWidth,height:te.clientHeight});return ae},Kr=function(){var te=Ce(),ae=or(),oe=te.y,ge=te.x,xe=Wa(),Fe=xe.clientWidth,Re=xe.clientHeight,_e=ge+Fe,bt=oe+Re,Tt=Jn({top:oe,left:ge,right:_e,bottom:bt}),Mt={frame:Tt,scroll:{initial:te,current:te,max:ae,diff:{value:dr,displacement:dr}}};return Mt},Po=function(te){var ae=te.critical,oe=te.scrollOptions,ge=te.registry;cu();var xe=Kr(),Fe=xe.scroll.current,Re=ae.droppable,_e=ge.droppable.getAllByType(Re.type).map(function(Dt){return Dt.callbacks.getDimensionAndWatchScroll(Fe,oe)}),bt=ge.draggable.getAllByType(ae.draggable.type).map(function(Dt){return Dt.getDimension(Fe)}),Tt={draggables:Yo(bt),droppables:Qo(_e)};Qi();var Mt={dimensions:Tt,critical:ae,viewport:xe};return Mt};function lo(te,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var ge=te.droppable.getById(oe.descriptor.droppableId);return ge.descriptor.mode==="virtual"}var Mr=function(te,ae){var oe=null,ge=nr({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:te}),xe=function(Jt,$n){te.droppable.exists(Jt)||Ue(!1),oe&&ae.updateDroppableIsEnabled({id:Jt,isEnabled:$n})},Fe=function(Jt,$n){oe&&(te.droppable.exists(Jt)||Ue(!1),ae.updateDroppableIsCombineEnabled({id:Jt,isCombineEnabled:$n}))},Re=function(Jt,$n){oe&&(te.droppable.exists(Jt)||Ue(!1),ae.updateDroppableScroll({id:Jt,newScroll:$n}))},_e=function(Jt,$n){oe&&te.droppable.getById(Jt).callbacks.scroll($n)},bt=function(){if(oe){ge.stop();var Jt=oe.critical.droppable;te.droppable.getAllByType(Jt.type).forEach(function($n){return $n.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Jt){oe||Ue(!1);var $n=oe.critical.draggable;Jt.type==="ADDITION"&&lo(te,$n,Jt.value)&&ge.add(Jt.value),Jt.type==="REMOVAL"&&lo(te,$n,Jt.value)&&ge.remove(Jt.value)},Mt=function(Jt){oe&&Ue(!1);var $n=te.draggable.getById(Jt.draggableId),ir=te.droppable.getById($n.descriptor.droppableId),mr={draggable:$n.descriptor,droppable:ir.descriptor},hr=te.subscribe(Tt);return oe={critical:mr,unsubscribe:hr},Po({critical:mr,registry:te,scrollOptions:Jt.scrollOptions})},Dt={updateDroppableIsEnabled:xe,updateDroppableIsCombineEnabled:Fe,scrollDroppable:_e,updateDroppableScroll:Re,startPublishing:Mt,stopPublishing:bt};return Dt},vo=function(te,ae){return te.phase==="IDLE"?!0:te.phase!=="DROP_ANIMATING"||te.completed.result.draggableId===ae?!1:te.completed.result.reason==="DROP"},Bo=function(te){window.scrollBy(te.x,te.y)},Ra=Wt(function(te){return Oo(te).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),wo=function(ae,oe){var ge=gr(Ra(oe),function(xe){return xe.frame||Ue(!1),Bi(xe.frame.pageMarginBox)(ae)});return ge},yi=function(te){var ae=te.center,oe=te.destination,ge=te.droppables;if(oe){var xe=ge[oe];return xe.frame?xe:null}var Fe=wo(ae,ge);return Fe},Do={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Xr=function(te,ae){var oe=te[ae.size]*Do.startFromPercentage,ge=te[ae.size]*Do.maxScrollAtPercentage,xe={startScrollingFrom:oe,maxScrollValueAt:ge};return xe},bi=function(te){var ae=te.startOfRange,oe=te.endOfRange,ge=te.current,xe=oe-ae;if(xe===0)return 0;var Fe=ge-ae,Re=Fe/xe;return Re},Qr=1,gi=function(te,ae){if(te>ae.startScrollingFrom)return 0;if(te<=ae.maxScrollValueAt)return Do.maxPixelScroll;if(te===ae.startScrollingFrom)return Qr;var oe=bi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:te}),ge=1-oe,xe=Do.maxPixelScroll*Do.ease(ge);return Math.ceil(xe)},_o=Do.durationDampening.accelerateAt,_i=Do.durationDampening.stopDampeningAt,to=function(te,ae){var oe=ae,ge=_i,xe=Date.now(),Fe=xe-oe;if(Fe>=_i)return te;if(Fe<_o)return Qr;var Re=bi({startOfRange:_o,endOfRange:ge,current:Fe}),_e=te*Do.ease(Re);return Math.ceil(_e)},_r=function(te){var ae=te.distanceToEdge,oe=te.thresholds,ge=te.dragStartTime,xe=te.shouldUseTimeDampening,Fe=gi(ae,oe);return Fe===0?0:xe?Math.max(to(Fe,ge),Qr):Fe},Yr=function(te){var ae=te.container,oe=te.distanceToEdges,ge=te.dragStartTime,xe=te.axis,Fe=te.shouldUseTimeDampening,Re=Xr(ae,xe),_e=oe[xe.end]ae.height,Fe=oe.width>ae.width;return!Fe&&!xe?ge:Fe&&xe?null:{x:Fe?0:ge.x,y:xe?0:ge.y}},ce=Or(function(te){return te===0?0:te}),pe=function(te){var ae=te.dragStartTime,oe=te.container,ge=te.subject,xe=te.center,Fe=te.shouldUseTimeDampening,Re={top:xe.y-oe.top,right:oe.right-xe.x,bottom:oe.bottom-xe.y,left:xe.x-oe.left},_e=Yr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:dl,shouldUseTimeDampening:Fe}),bt=Yr({container:oe,distanceToEdges:Re,dragStartTime:ae,axis:gl,shouldUseTimeDampening:Fe}),Tt=ce({x:bt,y:_e});if(Ir(Tt,dr))return null;var Mt=Zr({container:oe,subject:ge,proposedScroll:Tt});return Mt?Ir(Mt,dr)?null:Mt:null},Pe=Or(function(te){return te===0?0:te>0?1:-1}),Ot=function(){var te=function(oe,ge){return oe<0?oe:oe>ge?oe-ge:0};return function(ae){var oe=ae.current,ge=ae.max,xe=ae.change,Fe=xr(oe,xe),Re={x:te(Fe.x,ge.x),y:te(Fe.y,ge.y)};return Ir(Re,dr)?null:Re}}(),tn=function(ae){var oe=ae.max,ge=ae.current,xe=ae.change,Fe={x:Math.max(ge.x,oe.x),y:Math.max(ge.y,oe.y)},Re=Pe(xe),_e=Ot({max:Fe,current:ge,change:Re});return!_e||Re.x!==0&&_e.x===0||Re.y!==0&&_e.y===0},wa=function(ae,oe){return tn({current:ae.scroll.current,max:ae.scroll.max,change:oe})},ma=function(ae,oe){if(!wa(ae,oe))return null;var ge=ae.scroll.max,xe=ae.scroll.current;return Ot({current:xe,max:ge,change:oe})},zn=function(ae,oe){var ge=ae.frame;return ge?tn({current:ge.scroll.current,max:ge.scroll.max,change:oe}):!1},jt=function(ae,oe){var ge=ae.frame;return!ge||!zn(ae,oe)?null:Ot({current:ge.scroll.current,max:ge.scroll.max,change:oe})},Yn=function(te){var ae=te.viewport,oe=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=pe({dragStartTime:xe,container:ae.frame,subject:oe,center:ge,shouldUseTimeDampening:Fe});return Re&&wa(ae,Re)?Re:null},xn=function(te){var ae=te.droppable,oe=te.subject,ge=te.center,xe=te.dragStartTime,Fe=te.shouldUseTimeDampening,Re=ae.frame;if(!Re)return null;var _e=pe({dragStartTime:xe,container:Re.pageMarginBox,subject:oe,center:ge,shouldUseTimeDampening:Fe});return _e&&zn(ae,_e)?_e:null},Ct=function(te){var ae=te.state,oe=te.dragStartTime,ge=te.shouldUseTimeDampening,xe=te.scrollWindow,Fe=te.scrollDroppable,Re=ae.current.page.borderBoxCenter,_e=ae.dimensions.draggables[ae.critical.draggable.id],bt=_e.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Mt=Yn({dragStartTime:oe,viewport:Tt,subject:bt,center:Re,shouldUseTimeDampening:ge});if(Mt){xe(Mt);return}}var Dt=yi({center:Re,destination:ji(ae.impact),droppables:ae.dimensions.droppables});if(Dt){var At=xn({dragStartTime:oe,droppable:Dt,subject:bt,center:Re,shouldUseTimeDampening:ge});At&&Fe(Dt.descriptor.id,At)}},gn=function(te){var ae=te.scrollWindow,oe=te.scrollDroppable,ge=wn(ae),xe=wn(oe),Fe=null,Re=function(Mt){Fe||Ue(!1);var Dt=Fe,At=Dt.shouldUseTimeDampening,Jt=Dt.dragStartTime;Ct({state:Mt,scrollWindow:ge,scrollDroppable:xe,dragStartTime:Jt,shouldUseTimeDampening:At})},_e=function(Mt){cu(),Fe&&Ue(!1);var Dt=Date.now(),At=!1,Jt=function(){At=!0};Ct({state:Mt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Jt,scrollDroppable:Jt}),Fe={dragStartTime:Dt,shouldUseTimeDampening:At},Qi(),At&&Re(Mt)},bt=function(){Fe&&(ge.cancel(),xe.cancel(),Fe=null)};return{start:_e,stop:bt,scroll:Re}},In=function(te){var ae=te.move,oe=te.scrollDroppable,ge=te.scrollWindow,xe=function(Tt,Mt){var Dt=xr(Tt.current.client.selection,Mt);ae({client:Dt})},Fe=function(Tt,Mt){if(!zn(Tt,Mt))return Mt;var Dt=jt(Tt,Mt);if(!Dt)return oe(Tt.descriptor.id,Mt),null;var At=Wr(Mt,Dt);oe(Tt.descriptor.id,At);var Jt=Wr(Mt,At);return Jt},Re=function(Tt,Mt,Dt){if(!Tt||!wa(Mt,Dt))return Dt;var At=ma(Mt,Dt);if(!At)return ge(Dt),null;var Jt=Wr(Dt,At);ge(Jt);var $n=Wr(Dt,Jt);return $n},_e=function(Tt){var Mt=Tt.scrollJumpRequest;if(Mt){var Dt=ji(Tt.impact);Dt||Ue(!1);var At=Fe(Tt.dimensions.droppables[Dt],Mt);if(At){var Jt=Tt.viewport,$n=Re(Tt.isWindowScrollAllowed,Jt,At);$n&&xe(Tt,$n)}}};return _e},ra=function(te){var ae=te.scrollDroppable,oe=te.scrollWindow,ge=te.move,xe=gn({scrollWindow:oe,scrollDroppable:ae}),Fe=In({move:ge,scrollWindow:oe,scrollDroppable:ae}),Re=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){xe.scroll(Tt);return}Tt.scrollJumpRequest&&Fe(Tt)}},_e={scroll:Re,start:xe.start,stop:xe.stop};return _e},Hn="data-rbd",ba=function(){var te=Hn+"-drag-handle";return{base:te,draggableId:te+"-draggable-id",contextId:te+"-context-id"}}(),ta=function(){var te=Hn+"-draggable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),oa=function(){var te=Hn+"-droppable";return{base:te,contextId:te+"-context-id",id:te+"-id"}}(),Ka={contextId:Hn+"-scroll-container-context-id"},Pn=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},ya=function(ae,oe){return ae.map(function(ge){var xe=ge.styles[oe];return xe?ge.selector+" { "+xe+" }":""}).join(" ")},ja="pointer-events: none;",qr=function(te){var ae=Pn(te),oe=function(){var _e=` cursor: -webkit-grab; cursor: grab; `;return{selector:ae(ba.contextId),styles:{always:` @@ -358,9 +358,9 @@ The error may be correlated with this previous error: -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},Re=[ge,oe,xe,Fe];return{always:ya(Re,"always"),resting:ya(Re,"resting"),dragging:ya(Re,"dragging"),dropAnimating:ya(Re,"dropAnimating"),userCancel:ya(Re,"userCancel")}},cr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,li=function(){var ae=document.querySelector("head");return ae||Ue(!1),ae},Za=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function Co(te,ae){var oe=wt(function(){return qr(te)},[te]),ge=(0,b.useRef)(null),xe=(0,b.useRef)(null),Fe=kt(Gt(function(Dt){var At=xe.current;At||Ue(!1),At.textContent=Dt}),[]),Re=kt(function(Dt){var At=ge.current;At||Ue(!1),At.textContent=Dt},[]);cr(function(){!ge.current&&!xe.current||Ue(!1);var Dt=Za(ae),At=Za(ae);return ge.current=Dt,xe.current=At,Dt.setAttribute(Hn+"-always",te),At.setAttribute(Hn+"-dynamic",te),li().appendChild(Dt),li().appendChild(At),Re(oe.always),Fe(oe.resting),function(){var Jt=function(ir){var mr=ir.current;mr||Ue(!1),li().removeChild(mr),ir.current=null};Jt(ge),Jt(xe)}},[ae,Re,Fe,oe.always,oe.resting,te]);var _e=kt(function(){return Fe(oe.dragging)},[Fe,oe.dragging]),bt=kt(function(Dt){if(Dt==="DROP"){Fe(oe.dropAnimating);return}Fe(oe.userCancel)},[Fe,oe.dropAnimating,oe.userCancel]),Tt=kt(function(){xe.current&&Fe(oe.resting)},[Fe,oe.resting]),Mt=wt(function(){return{dragging:_e,dropping:bt,resting:Tt}},[_e,bt,Tt]);return Mt}var Cr=function(te){return te&&te.ownerDocument?te.ownerDocument.defaultView:window};function ao(te){return te instanceof Cr(te).HTMLElement}function Eo(te,ae){var oe="["+ba.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(oe));if(!ge.length)return null;var xe=gr(ge,function(Fe){return Fe.getAttribute(ba.draggableId)===ae});return!xe||!ao(xe)?null:xe}function hi(te){var ae=(0,b.useRef)({}),oe=(0,b.useRef)(null),ge=(0,b.useRef)(null),xe=(0,b.useRef)(!1),Fe=kt(function(At,Jt){var $n={id:At,focus:Jt};return ae.current[At]=$n,function(){var mr=ae.current,hr=mr[At];hr!==$n&&delete mr[At]}},[]),Re=kt(function(At){var Jt=Eo(te,At);Jt&&Jt!==document.activeElement&&Jt.focus()},[te]),_e=kt(function(At,Jt){oe.current===At&&(oe.current=Jt)},[]),bt=kt(function(){ge.current||xe.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var At=oe.current;At&&Re(At)}))},[Re]),Tt=kt(function(At){oe.current=null;var Jt=document.activeElement;Jt&&Jt.getAttribute(ba.draggableId)===At&&(oe.current=At)},[]);cr(function(){return xe.current=!0,function(){xe.current=!1;var At=ge.current;At&&cancelAnimationFrame(At)}},[]);var Mt=wt(function(){return{register:Fe,tryRecordFocus:Tt,tryRestoreFocusRecorded:bt,tryShiftRecord:_e}},[Fe,Tt,bt,_e]);return Mt}function mi(){var te={draggables:{},droppables:{}},ae=[];function oe(Dt){return ae.push(Dt),function(){var Jt=ae.indexOf(Dt);Jt!==-1&&ae.splice(Jt,1)}}function ge(Dt){ae.length&&ae.forEach(function(At){return At(Dt)})}function xe(Dt){return te.draggables[Dt]||null}function Fe(Dt){var At=xe(Dt);return At||Ue(!1),At}var Re={register:function(At){te.draggables[At.descriptor.id]=At,ge({type:"ADDITION",value:At})},update:function(At,Jt){var $n=te.draggables[Jt.descriptor.id];$n&&$n.uniqueId===At.uniqueId&&(delete te.draggables[Jt.descriptor.id],te.draggables[At.descriptor.id]=At)},unregister:function(At){var Jt=At.descriptor.id,$n=xe(Jt);$n&&At.uniqueId===$n.uniqueId&&(delete te.draggables[Jt],ge({type:"REMOVAL",value:At}))},getById:Fe,findById:xe,exists:function(At){return!!xe(At)},getAllByType:function(At){return Mo(te.draggables).filter(function(Jt){return Jt.descriptor.type===At})}};function _e(Dt){return te.droppables[Dt]||null}function bt(Dt){var At=_e(Dt);return At||Ue(!1),At}var Tt={register:function(At){te.droppables[At.descriptor.id]=At},unregister:function(At){var Jt=_e(At.descriptor.id);Jt&&At.uniqueId===Jt.uniqueId&&delete te.droppables[At.descriptor.id]},getById:bt,findById:_e,exists:function(At){return!!_e(At)},getAllByType:function(At){return Mo(te.droppables).filter(function(Jt){return Jt.descriptor.type===At})}};function Mt(){te.draggables={},te.droppables={},ae.length=0}return{draggable:Re,droppable:Tt,subscribe:oe,clean:Mt}}function pr(){var te=wt(mi,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(te.clean)}},[te]),te}var po=b.createContext(null),Ki=function(){var te=document.body;return te||Ue(!1),te},Oi={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ea=function(ae){return"rbd-announcement-"+ae};function xo(te){var ae=wt(function(){return ea(te)},[te]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var Fe=document.createElement("div");return oe.current=Fe,Fe.id=ae,Fe.setAttribute("aria-live","assertive"),Fe.setAttribute("aria-atomic","true"),(0,Ne.Z)(Fe.style,Oi),Ki().appendChild(Fe),function(){setTimeout(function(){var bt=Ki();bt.contains(Fe)&&bt.removeChild(Fe),Fe===oe.current&&(oe.current=null)})}},[ae]);var ge=kt(function(xe){var Fe=oe.current;if(Fe){Fe.textContent=xe;return}},[]);return ge}var Li=0,Zo={separator:"::"};function Ci(){Li=0}function Ri(te,ae){return ae===void 0&&(ae=Zo),wt(function(){return""+te+ae.separator+Li++},[ae.separator,te])}function oi(te){var ae=te.contextId,oe=te.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function il(te){var ae=te.contextId,oe=te.text,ge=Ri("hidden-text",{separator:"-"}),xe=wt(function(){return oi({contextId:ae,uniqueId:ge})},[ge,ae]);return(0,b.useEffect)(function(){var Re=document.createElement("div");return Re.id=xe,Re.textContent=oe,Re.style.display="none",Ki().appendChild(Re),function(){var bt=Ki();bt.contains(Re)&&bt.removeChild(Re)}},[xe,oe]),xe}var ll=b.createContext(null),jl={react:"^16.8.5","react-dom":"^16.8.5"},Mi=/(\d+)\.(\d+)\.(\d+)/,cl=function(ae){var oe=Mi.exec(ae);oe==null&&Ue(!1);var ge=Number(oe[1]),xe=Number(oe[2]),Fe=Number(oe[3]);return{major:ge,minor:xe,patch:Fe,raw:ae}},Bl=function(ae,oe){return oe.major>ae.major?!0:oe.majorae.minor?!0:oe.minor=ae.patch},Gl=function(te,ae){var oe=cl(te),ge=cl(ae);Bl(oe,ge)},No=` + `}},Re=[ge,oe,xe,Fe];return{always:ya(Re,"always"),resting:ya(Re,"resting"),dragging:ya(Re,"dragging"),dropAnimating:ya(Re,"dropAnimating"),userCancel:ya(Re,"userCancel")}},cr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?b.useLayoutEffect:b.useEffect,li=function(){var ae=document.querySelector("head");return ae||Ue(!1),ae},Za=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function Co(te,ae){var oe=wt(function(){return qr(te)},[te]),ge=(0,b.useRef)(null),xe=(0,b.useRef)(null),Fe=kt(Wt(function(Dt){var At=xe.current;At||Ue(!1),At.textContent=Dt}),[]),Re=kt(function(Dt){var At=ge.current;At||Ue(!1),At.textContent=Dt},[]);cr(function(){!ge.current&&!xe.current||Ue(!1);var Dt=Za(ae),At=Za(ae);return ge.current=Dt,xe.current=At,Dt.setAttribute(Hn+"-always",te),At.setAttribute(Hn+"-dynamic",te),li().appendChild(Dt),li().appendChild(At),Re(oe.always),Fe(oe.resting),function(){var Jt=function(ir){var mr=ir.current;mr||Ue(!1),li().removeChild(mr),ir.current=null};Jt(ge),Jt(xe)}},[ae,Re,Fe,oe.always,oe.resting,te]);var _e=kt(function(){return Fe(oe.dragging)},[Fe,oe.dragging]),bt=kt(function(Dt){if(Dt==="DROP"){Fe(oe.dropAnimating);return}Fe(oe.userCancel)},[Fe,oe.dropAnimating,oe.userCancel]),Tt=kt(function(){xe.current&&Fe(oe.resting)},[Fe,oe.resting]),Mt=wt(function(){return{dragging:_e,dropping:bt,resting:Tt}},[_e,bt,Tt]);return Mt}var Cr=function(te){return te&&te.ownerDocument?te.ownerDocument.defaultView:window};function ao(te){return te instanceof Cr(te).HTMLElement}function Eo(te,ae){var oe="["+ba.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(oe));if(!ge.length)return null;var xe=gr(ge,function(Fe){return Fe.getAttribute(ba.draggableId)===ae});return!xe||!ao(xe)?null:xe}function hi(te){var ae=(0,b.useRef)({}),oe=(0,b.useRef)(null),ge=(0,b.useRef)(null),xe=(0,b.useRef)(!1),Fe=kt(function(At,Jt){var $n={id:At,focus:Jt};return ae.current[At]=$n,function(){var mr=ae.current,hr=mr[At];hr!==$n&&delete mr[At]}},[]),Re=kt(function(At){var Jt=Eo(te,At);Jt&&Jt!==document.activeElement&&Jt.focus()},[te]),_e=kt(function(At,Jt){oe.current===At&&(oe.current=Jt)},[]),bt=kt(function(){ge.current||xe.current&&(ge.current=requestAnimationFrame(function(){ge.current=null;var At=oe.current;At&&Re(At)}))},[Re]),Tt=kt(function(At){oe.current=null;var Jt=document.activeElement;Jt&&Jt.getAttribute(ba.draggableId)===At&&(oe.current=At)},[]);cr(function(){return xe.current=!0,function(){xe.current=!1;var At=ge.current;At&&cancelAnimationFrame(At)}},[]);var Mt=wt(function(){return{register:Fe,tryRecordFocus:Tt,tryRestoreFocusRecorded:bt,tryShiftRecord:_e}},[Fe,Tt,bt,_e]);return Mt}function mi(){var te={draggables:{},droppables:{}},ae=[];function oe(Dt){return ae.push(Dt),function(){var Jt=ae.indexOf(Dt);Jt!==-1&&ae.splice(Jt,1)}}function ge(Dt){ae.length&&ae.forEach(function(At){return At(Dt)})}function xe(Dt){return te.draggables[Dt]||null}function Fe(Dt){var At=xe(Dt);return At||Ue(!1),At}var Re={register:function(At){te.draggables[At.descriptor.id]=At,ge({type:"ADDITION",value:At})},update:function(At,Jt){var $n=te.draggables[Jt.descriptor.id];$n&&$n.uniqueId===At.uniqueId&&(delete te.draggables[Jt.descriptor.id],te.draggables[At.descriptor.id]=At)},unregister:function(At){var Jt=At.descriptor.id,$n=xe(Jt);$n&&At.uniqueId===$n.uniqueId&&(delete te.draggables[Jt],ge({type:"REMOVAL",value:At}))},getById:Fe,findById:xe,exists:function(At){return!!xe(At)},getAllByType:function(At){return Mo(te.draggables).filter(function(Jt){return Jt.descriptor.type===At})}};function _e(Dt){return te.droppables[Dt]||null}function bt(Dt){var At=_e(Dt);return At||Ue(!1),At}var Tt={register:function(At){te.droppables[At.descriptor.id]=At},unregister:function(At){var Jt=_e(At.descriptor.id);Jt&&At.uniqueId===Jt.uniqueId&&delete te.droppables[At.descriptor.id]},getById:bt,findById:_e,exists:function(At){return!!_e(At)},getAllByType:function(At){return Mo(te.droppables).filter(function(Jt){return Jt.descriptor.type===At})}};function Mt(){te.draggables={},te.droppables={},ae.length=0}return{draggable:Re,droppable:Tt,subscribe:oe,clean:Mt}}function pr(){var te=wt(mi,[]);return(0,b.useEffect)(function(){return function(){requestAnimationFrame(te.clean)}},[te]),te}var po=b.createContext(null),Ki=function(){var te=document.body;return te||Ue(!1),te},Li={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ea=function(ae){return"rbd-announcement-"+ae};function xo(te){var ae=wt(function(){return ea(te)},[te]),oe=(0,b.useRef)(null);(0,b.useEffect)(function(){var Fe=document.createElement("div");return oe.current=Fe,Fe.id=ae,Fe.setAttribute("aria-live","assertive"),Fe.setAttribute("aria-atomic","true"),(0,Ne.Z)(Fe.style,Li),Ki().appendChild(Fe),function(){setTimeout(function(){var bt=Ki();bt.contains(Fe)&&bt.removeChild(Fe),Fe===oe.current&&(oe.current=null)})}},[ae]);var ge=kt(function(xe){var Fe=oe.current;if(Fe){Fe.textContent=xe;return}},[]);return ge}var Ri=0,Zo={separator:"::"};function Ci(){Ri=0}function Mi(te,ae){return ae===void 0&&(ae=Zo),wt(function(){return""+te+ae.separator+Ri++},[ae.separator,te])}function oi(te){var ae=te.contextId,oe=te.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function il(te){var ae=te.contextId,oe=te.text,ge=Mi("hidden-text",{separator:"-"}),xe=wt(function(){return oi({contextId:ae,uniqueId:ge})},[ge,ae]);return(0,b.useEffect)(function(){var Re=document.createElement("div");return Re.id=xe,Re.textContent=oe,Re.style.display="none",Ki().appendChild(Re),function(){var bt=Ki();bt.contains(Re)&&bt.removeChild(Re)}},[xe,oe]),xe}var ll=b.createContext(null),jl={react:"^16.8.5","react-dom":"^16.8.5"},Ii=/(\d+)\.(\d+)\.(\d+)/,cl=function(ae){var oe=Ii.exec(ae);oe==null&&Ue(!1);var ge=Number(oe[1]),xe=Number(oe[2]),Fe=Number(oe[3]);return{major:ge,minor:xe,patch:Fe,raw:ae}},Bl=function(ae,oe){return oe.major>ae.major?!0:oe.majorae.minor?!0:oe.minor=ae.patch},Gl=function(te,ae){var oe=cl(te),ge=cl(ae);Bl(oe,ge)},No=` We expect a html5 doctype: This is to ensure consistent browser layout and measurement More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,Si=function(te){var ae=te.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function $i(te){}function Zi(te,ae){}function hl(){Zi(function(){Gl(jl.react,b.version),Si(document)},[])}function ul(te){var ae=(0,b.useRef)(te);return(0,b.useEffect)(function(){ae.current=te}),ae}function sl(){var te=null;function ae(){return!!te}function oe(Re){return Re===te}function ge(Re){te&&Ue(!1);var _e={abandon:Re};return te=_e,_e}function xe(){te||Ue(!1),te=null}function Fe(){te&&(te.abandon(),xe())}return{isClaimed:ae,isActive:oe,claim:ge,release:xe,tryAbandon:Fe}}var wl=9,Rl=13,ml=27,qi=32,Wl=33,Jo=34,vu=35,pu=36,Kl=37,gu=38,ua=39,er=40,Go,uo=(Go={},Go[Rl]=!0,Go[wl]=!0,Go),Fo=function(te){uo[te.keyCode]&&te.preventDefault()},Xo=function(){var te="visibilitychange";if(typeof document=="undefined")return te;var ae=[te,"ms"+te,"webkit"+te,"moz"+te,"o"+te],oe=gr(ae,function(ge){return"on"+ge in document});return oe||te}(),Vi=0,Di=5;function fl(te,ae){return Math.abs(ae.x-te.x)>=Di||Math.abs(ae.y-te.y)>=Di}var el={type:"IDLE"};function Ml(te){var ae=te.cancel,oe=te.completed,ge=te.getPhase,xe=te.setPhase;return[{eventName:"mousemove",fn:function(Re){var _e=Re.button,bt=Re.clientX,Tt=Re.clientY;if(_e===Vi){var Mt={x:bt,y:Tt},Dt=ge();if(Dt.type==="DRAGGING"){Re.preventDefault(),Dt.actions.move(Mt);return}Dt.type!=="PENDING"&&Ue(!1);var At=Dt.point;if(fl(At,Mt)){Re.preventDefault();var Jt=Dt.actions.fluidLift(Mt);xe({type:"DRAGGING",actions:Jt})}}}},{eventName:"mouseup",fn:function(Re){var _e=ge();if(_e.type!=="DRAGGING"){ae();return}Re.preventDefault(),_e.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Re){ge().type==="DRAGGING"&&Re.preventDefault(),ae()}},{eventName:"keydown",fn:function(Re){var _e=ge();if(_e.type==="PENDING"){ae();return}if(Re.keyCode===ml){Re.preventDefault(),ae();return}Fo(Re)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Re){var _e=ge();if(_e.type==="IDLE"&&Ue(!1),_e.actions.shouldRespectForcePress()){ae();return}Re.preventDefault()}},{eventName:Xo,fn:ae}]}function ou(te){var ae=(0,b.useRef)(el),oe=(0,b.useRef)(Pa),ge=wt(function(){return{eventName:"mousedown",fn:function(Dt){if(!Dt.defaultPrevented&&Dt.button===Vi&&!(Dt.ctrlKey||Dt.metaKey||Dt.shiftKey||Dt.altKey)){var At=te.findClosestDraggableId(Dt);if(At){var Jt=te.tryGetLock(At,Re,{sourceEvent:Dt});if(Jt){Dt.preventDefault();var $n={x:Dt.clientX,y:Dt.clientY};oe.current(),Tt(Jt,$n)}}}}}},[te]),xe=wt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Dt){if(!Dt.defaultPrevented){var At=te.findClosestDraggableId(Dt);if(At){var Jt=te.findOptionsForDraggable(At);Jt&&(Jt.shouldRespectForcePress||te.canGetLock(At)&&Dt.preventDefault())}}}}},[te]),Fe=kt(function(){var Dt={passive:!1,capture:!0};oe.current=lr(window,[xe,ge],Dt)},[xe,ge]),Re=kt(function(){var Mt=ae.current;Mt.type!=="IDLE"&&(ae.current=el,oe.current(),Fe())},[Fe]),_e=kt(function(){var Mt=ae.current;Re(),Mt.type==="DRAGGING"&&Mt.actions.cancel({shouldBlockNextClick:!0}),Mt.type==="PENDING"&&Mt.actions.abort()},[Re]),bt=kt(function(){var Dt={capture:!0,passive:!1},At=Ml({cancel:_e,completed:Re,getPhase:function(){return ae.current},setPhase:function($n){ae.current=$n}});oe.current=lr(window,At,Dt)},[_e,Re]),Tt=kt(function(Dt,At){ae.current.type!=="IDLE"&&Ue(!1),ae.current={type:"PENDING",point:At,actions:Dt},bt()},[bt]);cr(function(){return Fe(),function(){oe.current()}},[Fe])}var ei;function Hi(){}var Dl=(ei={},ei[Jo]=!0,ei[Wl]=!0,ei[pu]=!0,ei[vu]=!0,ei);function El(te,ae){function oe(){ae(),te.cancel()}function ge(){ae(),te.drop()}return[{eventName:"keydown",fn:function(Fe){if(Fe.keyCode===ml){Fe.preventDefault(),oe();return}if(Fe.keyCode===qi){Fe.preventDefault(),ge();return}if(Fe.keyCode===er){Fe.preventDefault(),te.moveDown();return}if(Fe.keyCode===gu){Fe.preventDefault(),te.moveUp();return}if(Fe.keyCode===ua){Fe.preventDefault(),te.moveRight();return}if(Fe.keyCode===Kl){Fe.preventDefault(),te.moveLeft();return}if(Dl[Fe.keyCode]){Fe.preventDefault();return}Fo(Fe)}},{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:Xo,fn:oe}]}function Vl(te){var ae=(0,b.useRef)(Hi),oe=wt(function(){return{eventName:"keydown",fn:function(Fe){if(Fe.defaultPrevented||Fe.keyCode!==qi)return;var Re=te.findClosestDraggableId(Fe);if(!Re)return;var _e=te.tryGetLock(Re,Mt,{sourceEvent:Fe});if(!_e)return;Fe.preventDefault();var bt=!0,Tt=_e.snapLift();ae.current();function Mt(){bt||Ue(!1),bt=!1,ae.current(),ge()}ae.current=lr(window,El(Tt,Mt),{capture:!0,passive:!1})}}},[te]),ge=kt(function(){var Fe={passive:!1,capture:!0};ae.current=lr(window,[oe],Fe)},[oe]);cr(function(){return ge(),function(){ae.current()}},[ge])}var kl={type:"IDLE"},Ku=120,Vu=.15;function $u(te){var ae=te.cancel,oe=te.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(xe){xe.preventDefault()}},{eventName:"keydown",fn:function(xe){if(oe().type!=="DRAGGING"){ae();return}xe.keyCode===ml&&xe.preventDefault(),ae()}},{eventName:Xo,fn:ae}]}function hu(te){var ae=te.cancel,oe=te.completed,ge=te.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Re.hasMoved=!0;var _e=Fe.touches[0],bt=_e.clientX,Tt=_e.clientY,Mt={x:bt,y:Tt};Fe.preventDefault(),Re.actions.move(Mt)}},{eventName:"touchend",fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Fe.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Fe){if(ge().type!=="DRAGGING"){ae();return}Fe.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Fe){var Re=ge();Re.type==="IDLE"&&Ue(!1);var _e=Fe.touches[0];if(_e){var bt=_e.force>=Vu;if(bt){var Tt=Re.actions.shouldRespectForcePress();if(Re.type==="PENDING"){Tt&&ae();return}if(Tt){if(Re.hasMoved){Fe.preventDefault();return}ae();return}Fe.preventDefault()}}}},{eventName:Xo,fn:ae}]}function Es(te){var ae=(0,b.useRef)(kl),oe=(0,b.useRef)(Pa),ge=kt(function(){return ae.current},[]),xe=kt(function(Jt){ae.current=Jt},[]),Fe=wt(function(){return{eventName:"touchstart",fn:function(Jt){if(!Jt.defaultPrevented){var $n=te.findClosestDraggableId(Jt);if($n){var ir=te.tryGetLock($n,_e,{sourceEvent:Jt});if(ir){var mr=Jt.touches[0],hr=mr.clientX,Vr=mr.clientY,ro={x:hr,y:Vr};oe.current(),Dt(ir,ro)}}}}}},[te]),Re=kt(function(){var Jt={capture:!0,passive:!1};oe.current=lr(window,[Fe],Jt)},[Fe]),_e=kt(function(){var At=ae.current;At.type!=="IDLE"&&(At.type==="PENDING"&&clearTimeout(At.longPressTimerId),xe(kl),oe.current(),Re())},[Re,xe]),bt=kt(function(){var At=ae.current;_e(),At.type==="DRAGGING"&&At.actions.cancel({shouldBlockNextClick:!0}),At.type==="PENDING"&&At.actions.abort()},[_e]),Tt=kt(function(){var Jt={capture:!0,passive:!1},$n={cancel:bt,completed:_e,getPhase:ge},ir=lr(window,hu($n),Jt),mr=lr(window,$u($n),Jt);oe.current=function(){ir(),mr()}},[bt,ge,_e]),Mt=kt(function(){var Jt=ge();Jt.type!=="PENDING"&&Ue(!1);var $n=Jt.actions.fluidLift(Jt.point);xe({type:"DRAGGING",actions:$n,hasMoved:!1})},[ge,xe]),Dt=kt(function(Jt,$n){ge().type!=="IDLE"&&Ue(!1);var ir=setTimeout(Mt,Ku);xe({type:"PENDING",point:$n,actions:Jt,longPressTimerId:ir}),Tt()},[Tt,ge,xe,Mt]);cr(function(){return Re(),function(){oe.current();var $n=ge();$n.type==="PENDING"&&(clearTimeout($n.longPressTimerId),xe(kl))}},[ge,Re,xe]),cr(function(){var Jt=lr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Jt},[])}function vs(te){}var ds={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Va(te,ae){if(ae==null)return!1;var oe=!!ds[ae.tagName.toLowerCase()];if(oe)return!0;var ge=ae.getAttribute("contenteditable");return ge==="true"||ge===""?!0:ae===te?!1:Va(te,ae.parentElement)}function io(te,ae){var oe=ae.target;return ao(oe)?Va(te,oe):!1}var Uo=function(te){return Jn(te.getBoundingClientRect()).center};function ci(te){return te instanceof Cr(te).Element}var ti=function(){var te="matches";if(typeof document=="undefined")return te;var ae=[te,"msMatchesSelector","webkitMatchesSelector"],oe=gr(ae,function(ge){return ge in Element.prototype});return oe||te}();function Ho(te,ae){return te==null?null:te[ti](ae)?te:Ho(te.parentElement,ae)}function Ii(te,ae){return te.closest?te.closest(ae):Ho(te,ae)}function Gi(te){return"["+ba.contextId+'="'+te+'"]'}function Cl(te,ae){var oe=ae.target;if(!ci(oe))return null;var ge=Gi(te),xe=Ii(oe,ge);return!xe||!ao(xe)?null:xe}function $l(te,ae){var oe=Cl(te,ae);return oe?oe.getAttribute(ba.draggableId):null}function Su(te,ae){var oe="["+ta.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(oe)),xe=gr(ge,function(Fe){return Fe.getAttribute(ta.id)===ae});return!xe||!ao(xe)?null:xe}function Ol(te){te.preventDefault()}function Ul(te){var ae=te.expected,oe=te.phase,ge=te.isLockActive,xe=te.shouldWarn;return!(!ge()||ae!==oe)}function Eu(te){var ae=te.lockAPI,oe=te.store,ge=te.registry,xe=te.draggableId;if(ae.isClaimed())return!1;var Fe=ge.draggable.findById(xe);return!(!Fe||!Fe.options.isEnabled||!vo(oe.getState(),xe))}function Du(te){var ae=te.lockAPI,oe=te.contextId,ge=te.store,xe=te.registry,Fe=te.draggableId,Re=te.forceSensorStop,_e=te.sourceEvent,bt=Eu({lockAPI:ae,store:ge,registry:xe,draggableId:Fe});if(!bt)return null;var Tt=xe.draggable.getById(Fe),Mt=Su(oe,Tt.descriptor.id);if(!Mt||_e&&!Tt.options.canDragInteractiveElements&&io(Mt,_e))return null;var Dt=ae.claim(Re||Pa),At="PRE_DRAG";function Jt(){return Tt.options.shouldRespectForcePress}function $n(){return ae.isActive(Dt)}function ir(ni,Ai){Ul({expected:ni,phase:At,isLockActive:$n,shouldWarn:!0})&&ge.dispatch(Ai())}var mr=ir.bind(null,"DRAGGING");function hr(ni){function Ai(){ae.release(),At="COMPLETED"}At!=="PRE_DRAG"&&(Ai(),At!=="PRE_DRAG"&&Ue(!1)),ge.dispatch(Se(ni.liftActionArgs)),At="DRAGGING";function vl(ki,pl){if(pl===void 0&&(pl={shouldBlockNextClick:!1}),ni.cleanup(),pl.shouldBlockNextClick){var Ll=lr(window,[{eventName:"click",fn:Ol,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ll)}Ai(),ge.dispatch(Br({reason:ki}))}return(0,Ne.Z)({isActive:function(){return Ul({expected:"DRAGGING",phase:At,isLockActive:$n,shouldWarn:!1})},shouldRespectForcePress:Jt,drop:function(pl){return vl("DROP",pl)},cancel:function(pl){return vl("CANCEL",pl)}},ni.actions)}function Vr(ni){var Ai=wn(function(ki){mr(function(){return Tn({client:ki})})}),vl=hr({liftActionArgs:{id:Fe,clientSelection:ni,movementMode:"FLUID"},cleanup:function(){return Ai.cancel()},actions:{move:Ai}});return(0,Ne.Z)({},vl,{move:Ai})}function ro(){var ni={moveUp:function(){return mr(ga)},moveRight:function(){return mr(Ba)},moveDown:function(){return mr(mn)},moveLeft:function(){return mr(Ia)}};return hr({liftActionArgs:{id:Fe,clientSelection:Uo(Mt),movementMode:"SNAP"},cleanup:Pa,actions:ni})}function co(){var ni=Ul({expected:"PRE_DRAG",phase:At,isLockActive:$n,shouldWarn:!0});ni&&ae.release()}var ui={isActive:function(){return Ul({expected:"PRE_DRAG",phase:At,isLockActive:$n,shouldWarn:!1})},shouldRespectForcePress:Jt,fluidLift:Vr,snapLift:ro,abort:co};return ui}var ps=[ou,Vl,Es];function hs(te){var ae=te.contextId,oe=te.store,ge=te.registry,xe=te.customSensors,Fe=te.enableDefaultSensors,Re=[].concat(Fe?ps:[],xe||[]),_e=(0,b.useState)(function(){return sl()})[0],bt=kt(function(Vr,ro){Vr.isDragging&&!ro.isDragging&&_e.tryAbandon()},[_e]);cr(function(){var Vr=oe.getState(),ro=oe.subscribe(function(){var co=oe.getState();bt(Vr,co),Vr=co});return ro},[_e,oe,bt]),cr(function(){return _e.tryAbandon},[_e.tryAbandon]);var Tt=kt(function(hr){return Eu({lockAPI:_e,registry:ge,store:oe,draggableId:hr})},[_e,ge,oe]),Mt=kt(function(hr,Vr,ro){return Du({lockAPI:_e,registry:ge,contextId:ae,store:oe,draggableId:hr,forceSensorStop:Vr,sourceEvent:ro&&ro.sourceEvent?ro.sourceEvent:null})},[ae,_e,ge,oe]),Dt=kt(function(hr){return $l(ae,hr)},[ae]),At=kt(function(hr){var Vr=ge.draggable.findById(hr);return Vr?Vr.options:null},[ge.draggable]),Jt=kt(function(){_e.isClaimed()&&(_e.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(kn()))},[_e,oe]),$n=kt(_e.isClaimed,[_e]),ir=wt(function(){return{canGetLock:Tt,tryGetLock:Mt,findClosestDraggableId:Dt,findOptionsForDraggable:At,tryReleaseLock:Jt,isLockClaimed:$n}},[Tt,Mt,Dt,At,Jt,$n]);vs(Re);for(var mr=0;mr=Di||Math.abs(ae.y-te.y)>=Di}var el={type:"IDLE"};function Ml(te){var ae=te.cancel,oe=te.completed,ge=te.getPhase,xe=te.setPhase;return[{eventName:"mousemove",fn:function(Re){var _e=Re.button,bt=Re.clientX,Tt=Re.clientY;if(_e===Vi){var Mt={x:bt,y:Tt},Dt=ge();if(Dt.type==="DRAGGING"){Re.preventDefault(),Dt.actions.move(Mt);return}Dt.type!=="PENDING"&&Ue(!1);var At=Dt.point;if(fl(At,Mt)){Re.preventDefault();var Jt=Dt.actions.fluidLift(Mt);xe({type:"DRAGGING",actions:Jt})}}}},{eventName:"mouseup",fn:function(Re){var _e=ge();if(_e.type!=="DRAGGING"){ae();return}Re.preventDefault(),_e.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Re){ge().type==="DRAGGING"&&Re.preventDefault(),ae()}},{eventName:"keydown",fn:function(Re){var _e=ge();if(_e.type==="PENDING"){ae();return}if(Re.keyCode===ml){Re.preventDefault(),ae();return}Fo(Re)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ge().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Re){var _e=ge();if(_e.type==="IDLE"&&Ue(!1),_e.actions.shouldRespectForcePress()){ae();return}Re.preventDefault()}},{eventName:Xo,fn:ae}]}function ou(te){var ae=(0,b.useRef)(el),oe=(0,b.useRef)(Pa),ge=wt(function(){return{eventName:"mousedown",fn:function(Dt){if(!Dt.defaultPrevented&&Dt.button===Vi&&!(Dt.ctrlKey||Dt.metaKey||Dt.shiftKey||Dt.altKey)){var At=te.findClosestDraggableId(Dt);if(At){var Jt=te.tryGetLock(At,Re,{sourceEvent:Dt});if(Jt){Dt.preventDefault();var $n={x:Dt.clientX,y:Dt.clientY};oe.current(),Tt(Jt,$n)}}}}}},[te]),xe=wt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Dt){if(!Dt.defaultPrevented){var At=te.findClosestDraggableId(Dt);if(At){var Jt=te.findOptionsForDraggable(At);Jt&&(Jt.shouldRespectForcePress||te.canGetLock(At)&&Dt.preventDefault())}}}}},[te]),Fe=kt(function(){var Dt={passive:!1,capture:!0};oe.current=lr(window,[xe,ge],Dt)},[xe,ge]),Re=kt(function(){var Mt=ae.current;Mt.type!=="IDLE"&&(ae.current=el,oe.current(),Fe())},[Fe]),_e=kt(function(){var Mt=ae.current;Re(),Mt.type==="DRAGGING"&&Mt.actions.cancel({shouldBlockNextClick:!0}),Mt.type==="PENDING"&&Mt.actions.abort()},[Re]),bt=kt(function(){var Dt={capture:!0,passive:!1},At=Ml({cancel:_e,completed:Re,getPhase:function(){return ae.current},setPhase:function($n){ae.current=$n}});oe.current=lr(window,At,Dt)},[_e,Re]),Tt=kt(function(Dt,At){ae.current.type!=="IDLE"&&Ue(!1),ae.current={type:"PENDING",point:At,actions:Dt},bt()},[bt]);cr(function(){return Fe(),function(){oe.current()}},[Fe])}var ei;function Hi(){}var Dl=(ei={},ei[Jo]=!0,ei[Wl]=!0,ei[pu]=!0,ei[vu]=!0,ei);function Sl(te,ae){function oe(){ae(),te.cancel()}function ge(){ae(),te.drop()}return[{eventName:"keydown",fn:function(Fe){if(Fe.keyCode===ml){Fe.preventDefault(),oe();return}if(Fe.keyCode===qi){Fe.preventDefault(),ge();return}if(Fe.keyCode===er){Fe.preventDefault(),te.moveDown();return}if(Fe.keyCode===gu){Fe.preventDefault(),te.moveUp();return}if(Fe.keyCode===ua){Fe.preventDefault(),te.moveRight();return}if(Fe.keyCode===Kl){Fe.preventDefault(),te.moveLeft();return}if(Dl[Fe.keyCode]){Fe.preventDefault();return}Fo(Fe)}},{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:Xo,fn:oe}]}function Vl(te){var ae=(0,b.useRef)(Hi),oe=wt(function(){return{eventName:"keydown",fn:function(Fe){if(Fe.defaultPrevented||Fe.keyCode!==qi)return;var Re=te.findClosestDraggableId(Fe);if(!Re)return;var _e=te.tryGetLock(Re,Mt,{sourceEvent:Fe});if(!_e)return;Fe.preventDefault();var bt=!0,Tt=_e.snapLift();ae.current();function Mt(){bt||Ue(!1),bt=!1,ae.current(),ge()}ae.current=lr(window,Sl(Tt,Mt),{capture:!0,passive:!1})}}},[te]),ge=kt(function(){var Fe={passive:!1,capture:!0};ae.current=lr(window,[oe],Fe)},[oe]);cr(function(){return ge(),function(){ae.current()}},[ge])}var kl={type:"IDLE"},Ku=120,Vu=.15;function $u(te){var ae=te.cancel,oe=te.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(xe){xe.preventDefault()}},{eventName:"keydown",fn:function(xe){if(oe().type!=="DRAGGING"){ae();return}xe.keyCode===ml&&xe.preventDefault(),ae()}},{eventName:Xo,fn:ae}]}function hu(te){var ae=te.cancel,oe=te.completed,ge=te.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Re.hasMoved=!0;var _e=Fe.touches[0],bt=_e.clientX,Tt=_e.clientY,Mt={x:bt,y:Tt};Fe.preventDefault(),Re.actions.move(Mt)}},{eventName:"touchend",fn:function(Fe){var Re=ge();if(Re.type!=="DRAGGING"){ae();return}Fe.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Fe){if(ge().type!=="DRAGGING"){ae();return}Fe.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Fe){var Re=ge();Re.type==="IDLE"&&Ue(!1);var _e=Fe.touches[0];if(_e){var bt=_e.force>=Vu;if(bt){var Tt=Re.actions.shouldRespectForcePress();if(Re.type==="PENDING"){Tt&&ae();return}if(Tt){if(Re.hasMoved){Fe.preventDefault();return}ae();return}Fe.preventDefault()}}}},{eventName:Xo,fn:ae}]}function Es(te){var ae=(0,b.useRef)(kl),oe=(0,b.useRef)(Pa),ge=kt(function(){return ae.current},[]),xe=kt(function(Jt){ae.current=Jt},[]),Fe=wt(function(){return{eventName:"touchstart",fn:function(Jt){if(!Jt.defaultPrevented){var $n=te.findClosestDraggableId(Jt);if($n){var ir=te.tryGetLock($n,_e,{sourceEvent:Jt});if(ir){var mr=Jt.touches[0],hr=mr.clientX,Vr=mr.clientY,ro={x:hr,y:Vr};oe.current(),Dt(ir,ro)}}}}}},[te]),Re=kt(function(){var Jt={capture:!0,passive:!1};oe.current=lr(window,[Fe],Jt)},[Fe]),_e=kt(function(){var At=ae.current;At.type!=="IDLE"&&(At.type==="PENDING"&&clearTimeout(At.longPressTimerId),xe(kl),oe.current(),Re())},[Re,xe]),bt=kt(function(){var At=ae.current;_e(),At.type==="DRAGGING"&&At.actions.cancel({shouldBlockNextClick:!0}),At.type==="PENDING"&&At.actions.abort()},[_e]),Tt=kt(function(){var Jt={capture:!0,passive:!1},$n={cancel:bt,completed:_e,getPhase:ge},ir=lr(window,hu($n),Jt),mr=lr(window,$u($n),Jt);oe.current=function(){ir(),mr()}},[bt,ge,_e]),Mt=kt(function(){var Jt=ge();Jt.type!=="PENDING"&&Ue(!1);var $n=Jt.actions.fluidLift(Jt.point);xe({type:"DRAGGING",actions:$n,hasMoved:!1})},[ge,xe]),Dt=kt(function(Jt,$n){ge().type!=="IDLE"&&Ue(!1);var ir=setTimeout(Mt,Ku);xe({type:"PENDING",point:$n,actions:Jt,longPressTimerId:ir}),Tt()},[Tt,ge,xe,Mt]);cr(function(){return Re(),function(){oe.current();var $n=ge();$n.type==="PENDING"&&(clearTimeout($n.longPressTimerId),xe(kl))}},[ge,Re,xe]),cr(function(){var Jt=lr(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Jt},[])}function vs(te){}var ds={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Va(te,ae){if(ae==null)return!1;var oe=!!ds[ae.tagName.toLowerCase()];if(oe)return!0;var ge=ae.getAttribute("contenteditable");return ge==="true"||ge===""?!0:ae===te?!1:Va(te,ae.parentElement)}function io(te,ae){var oe=ae.target;return ao(oe)?Va(te,oe):!1}var Uo=function(te){return Jn(te.getBoundingClientRect()).center};function ci(te){return te instanceof Cr(te).Element}var ti=function(){var te="matches";if(typeof document=="undefined")return te;var ae=[te,"msMatchesSelector","webkitMatchesSelector"],oe=gr(ae,function(ge){return ge in Element.prototype});return oe||te}();function jo(te,ae){return te==null?null:te[ti](ae)?te:jo(te.parentElement,ae)}function Oi(te,ae){return te.closest?te.closest(ae):jo(te,ae)}function Gi(te){return"["+ba.contextId+'="'+te+'"]'}function Cl(te,ae){var oe=ae.target;if(!ci(oe))return null;var ge=Gi(te),xe=Oi(oe,ge);return!xe||!ao(xe)?null:xe}function $l(te,ae){var oe=Cl(te,ae);return oe?oe.getAttribute(ba.draggableId):null}function Su(te,ae){var oe="["+ta.contextId+'="'+te+'"]',ge=eo(document.querySelectorAll(oe)),xe=gr(ge,function(Fe){return Fe.getAttribute(ta.id)===ae});return!xe||!ao(xe)?null:xe}function Ol(te){te.preventDefault()}function Ul(te){var ae=te.expected,oe=te.phase,ge=te.isLockActive,xe=te.shouldWarn;return!(!ge()||ae!==oe)}function Eu(te){var ae=te.lockAPI,oe=te.store,ge=te.registry,xe=te.draggableId;if(ae.isClaimed())return!1;var Fe=ge.draggable.findById(xe);return!(!Fe||!Fe.options.isEnabled||!vo(oe.getState(),xe))}function Du(te){var ae=te.lockAPI,oe=te.contextId,ge=te.store,xe=te.registry,Fe=te.draggableId,Re=te.forceSensorStop,_e=te.sourceEvent,bt=Eu({lockAPI:ae,store:ge,registry:xe,draggableId:Fe});if(!bt)return null;var Tt=xe.draggable.getById(Fe),Mt=Su(oe,Tt.descriptor.id);if(!Mt||_e&&!Tt.options.canDragInteractiveElements&&io(Mt,_e))return null;var Dt=ae.claim(Re||Pa),At="PRE_DRAG";function Jt(){return Tt.options.shouldRespectForcePress}function $n(){return ae.isActive(Dt)}function ir(ni,Ai){Ul({expected:ni,phase:At,isLockActive:$n,shouldWarn:!0})&&ge.dispatch(Ai())}var mr=ir.bind(null,"DRAGGING");function hr(ni){function Ai(){ae.release(),At="COMPLETED"}At!=="PRE_DRAG"&&(Ai(),At!=="PRE_DRAG"&&Ue(!1)),ge.dispatch(Se(ni.liftActionArgs)),At="DRAGGING";function vl(ki,pl){if(pl===void 0&&(pl={shouldBlockNextClick:!1}),ni.cleanup(),pl.shouldBlockNextClick){var Ll=lr(window,[{eventName:"click",fn:Ol,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ll)}Ai(),ge.dispatch(Br({reason:ki}))}return(0,Ne.Z)({isActive:function(){return Ul({expected:"DRAGGING",phase:At,isLockActive:$n,shouldWarn:!1})},shouldRespectForcePress:Jt,drop:function(pl){return vl("DROP",pl)},cancel:function(pl){return vl("CANCEL",pl)}},ni.actions)}function Vr(ni){var Ai=wn(function(ki){mr(function(){return Tn({client:ki})})}),vl=hr({liftActionArgs:{id:Fe,clientSelection:ni,movementMode:"FLUID"},cleanup:function(){return Ai.cancel()},actions:{move:Ai}});return(0,Ne.Z)({},vl,{move:Ai})}function ro(){var ni={moveUp:function(){return mr(ga)},moveRight:function(){return mr(Ba)},moveDown:function(){return mr(mn)},moveLeft:function(){return mr(Ia)}};return hr({liftActionArgs:{id:Fe,clientSelection:Uo(Mt),movementMode:"SNAP"},cleanup:Pa,actions:ni})}function co(){var ni=Ul({expected:"PRE_DRAG",phase:At,isLockActive:$n,shouldWarn:!0});ni&&ae.release()}var ui={isActive:function(){return Ul({expected:"PRE_DRAG",phase:At,isLockActive:$n,shouldWarn:!1})},shouldRespectForcePress:Jt,fluidLift:Vr,snapLift:ro,abort:co};return ui}var ps=[ou,Vl,Es];function hs(te){var ae=te.contextId,oe=te.store,ge=te.registry,xe=te.customSensors,Fe=te.enableDefaultSensors,Re=[].concat(Fe?ps:[],xe||[]),_e=(0,b.useState)(function(){return sl()})[0],bt=kt(function(Vr,ro){Vr.isDragging&&!ro.isDragging&&_e.tryAbandon()},[_e]);cr(function(){var Vr=oe.getState(),ro=oe.subscribe(function(){var co=oe.getState();bt(Vr,co),Vr=co});return ro},[_e,oe,bt]),cr(function(){return _e.tryAbandon},[_e.tryAbandon]);var Tt=kt(function(hr){return Eu({lockAPI:_e,registry:ge,store:oe,draggableId:hr})},[_e,ge,oe]),Mt=kt(function(hr,Vr,ro){return Du({lockAPI:_e,registry:ge,contextId:ae,store:oe,draggableId:hr,forceSensorStop:Vr,sourceEvent:ro&&ro.sourceEvent?ro.sourceEvent:null})},[ae,_e,ge,oe]),Dt=kt(function(hr){return $l(ae,hr)},[ae]),At=kt(function(hr){var Vr=ge.draggable.findById(hr);return Vr?Vr.options:null},[ge.draggable]),Jt=kt(function(){_e.isClaimed()&&(_e.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(kn()))},[_e,oe]),$n=kt(_e.isClaimed,[_e]),ir=wt(function(){return{canGetLock:Tt,tryGetLock:Mt,findClosestDraggableId:Dt,findOptionsForDraggable:At,tryReleaseLock:Jt,isLockClaimed:$n}},[Tt,Mt,Dt,At,Jt,$n]);vs(Re);for(var mr=0;mrVe in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[Ve]=Ue,se=(ot,Ve)=>{for(var Ue in Ve||(Ve={}))Me.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);if(Be)for(var Ue of Be(Ve))Le.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);return ot};const ct=ot=>React.createElement("svg",se({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"}));Kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},86087:function(Ut,Kt,te){"use strict";var x=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(ot,Ve,Ue)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[Ve]=Ue,se=(ot,Ve)=>{for(var Ue in Ve||(Ve={}))Me.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);if(Be)for(var Ue of Be(Ve))Le.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);return ot};const ct=ot=>React.createElement("svg",se({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"}));Kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74413:function(){"use strict";function Ut(le,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=le,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Ut.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(Ut.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(Ut.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(Ut.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,y){var a=go.Shape._FigureParameters[le];return a?a[y]:null},go.Shape.setFigureParameter=function(le,y,a){if(!(a instanceof Ut))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[le];b||(b=[],go.Shape._FigureParameters[le]=b),b[y]=a};var Kt=[];function te(le,y){var a=Kt.pop();return a===void 0?new go.Point(le,y):(a.x=le,a.y=y,a)}function x(){var le=Kt.pop();return le===void 0?new go.Point:le}function ue(le){Kt.push(le)}function Be(le,y,a,b,E,z,ne,re,ie){ie||(ie=new go.Point);var me=le-a,pe=E-ne,ye=NaN,je=NaN;if(me===0)if(pe===0)le===a&&(ye=le,je=y);else{var De=(z-re)/pe,Qe=z-De*E;ye=le,je=De*ye+Qe}else if(pe===0){var he=(y-b)/me,Te=y-he*le;ye=E,je=he*ye+Te}else{var he=(y-b)/me,De=(z-re)/pe,Te=y-he*le,Qe=z-De*E;ye=(Qe-Te)/(he-De),je=he*ye+Te}return ie.x=ye,ie.y=je,ie}function Me(le,y,a,b,E,z,ne,re,ie,me,pe,ye,je,De){var Qe=1-ie,he=ie,Te=le*Qe+a*he,Ye=y*Qe+b*he,bt=a*Qe+E*he,Ne=b*Qe+z*he,ut=E*Qe+ne*he,Bt=z*Qe+re*he,yt=Te*Qe+bt*he,gt=Ye*Qe+Ne*he,Yt=bt*Qe+ut*he,vt=Ne*Qe+Bt*he,rn=yt*Qe+Yt*he,xn=gt*Qe+vt*he;me.x=Te,me.y=Ye,pe.x=yt,pe.y=gt,ye.x=rn,ye.y=xn,je.x=Yt,je.y=vt,De.x=ut,De.y=Bt}var Le=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ut("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,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(le,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(le,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(le,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(le,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(le,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(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,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(le,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(le,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(le,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(le,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(le,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(le,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*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(le,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=Le,E.spot2=Oe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,se*y,0,y,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,se*a,(1-se)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,se*a,se*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*y,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,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(le,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(le,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(le,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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===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 b>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())),Ey&&(b=y);var E=Math.abs(b);if(b===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 b>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.5&&(b=.5);var E=Math.abs(b)*y;if(b===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 b>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())),Ey&&(b=y/2);var E=Math.abs(b);if(b===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 b>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())),Ey&&(b=y/2);var E=Math.abs(b);if(b===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 b>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())),E0&&(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=Le,z.spot2=Oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,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(le,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/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(le,y,a){var b=le?le.parameter1:NaN,E=le?le.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var z=b%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(le,y,a){var b=se/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-b)*a,(E+b)*y,(z+b)*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(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,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(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,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(le,y,a){var b=le?le.parameter1:NaN;if((isNaN(b)||b<0)&&(b=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=b-Math.min(Math.cos(re)*b/2,z),me=b-Math.min(Math.sin(re)*b/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,me)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,y,a-me)),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-me)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*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-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ut("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,se*y,0,y,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+se/2)*a,se*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,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(le,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(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.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*se;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*se,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*se,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()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.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),b.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),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*re,z*y,z*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(le,y,a){var b=.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-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure(ne*y,(re-z)*a);b.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=se*.4;var me=x(),pe=x(),ye=x(),je=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.42,me,pe,ye,je,je);var De=x(),Qe=x(),he=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.58,je,je,he,De,Qe);var Te=x(),Ye=x(),bt=x();Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.42,Te,Ye,bt,je,je);var Ne=x(),ut=x(),Bt=x();return Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.58,je,je,Bt,Ne,ut),ie.add(new go.PathSegment(go.PathSegment.Move,Bt.x*y,Bt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,Ne.x*y,Ne.y*a,ut.x*y,ut.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,ye.x*y,ye.y*a,me.x*y,me.y*a,pe.x*y,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Bt.x*y,Bt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,he.x*y,he.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,De.x*y,De.y*a,Qe.x*y,Qe.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,bt.x*y,bt.y*a,Te.x*y,Te.y*a,Ye.x*y,Ye.y*a).close()),ue(me),ue(pe),ue(ye),ue(je),ue(De),ue(Qe),ue(he),ue(Te),ue(Ye),ue(bt),ue(Ne),ue(ut),ue(Bt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(le,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(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,z=E+b;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(le,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(le,y,a){var b=new go.Geometry,E=se*.4,z=.4,ne=.5,re=.5,ie=x(),me=x(),pe=x(),ye=x(),je=new go.PathFigure((ne-z)*y,re*a,!1);b.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)),Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.44,pe,ye,me,ie,ie),je.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a));var De=te(me.x,me.y);Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.56,ie,ie,me,pe,ye);var Qe=te(me.x,me.y);je.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*y,De.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*y,De.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,(Qe.x*.1+.9)*y,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(Qe.x*.1+.9)*y,(Qe.y*.1+.05*.9)*a)),je.add(new go.PathSegment(go.PathSegment.Line,Qe.x*y,Qe.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,ye.x*y,ye.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=se*.35;var he=new go.PathFigure(ne*y,(re-z)*a,!1);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),he.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 Te=new go.PathFigure((ne-z)*y,re*a,!1);return b.add(Te),ue(ie),ue(me),ue(pe),ue(ye),ue(De),ue(Qe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(le,y,a){var b=new go.Geometry,E=.375,z=0,ne=-.125,re=E*se,ie=new go.PathFigure((.525+z)*y,(.5+E+ne)*a,!1);b.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*se;var ie=new go.PathFigure((1-.5+E+z)*y,(.5+ne)*a,!1);b.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 b.add(ie),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(le,y,a){var b=le?le.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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(le,y,a){var b=le?le.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,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(le,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(le,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(le,y,a){var b=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 b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(le,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(le,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(le,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(le,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(le,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(le,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=le?le.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-b)*y,ne=(.5-E/2)*a,re=(.5+E/2)*a,ie=new go.Geometry,me=new go.PathFigure(0,ne,!0);ie.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ne)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,z,a)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=le?le.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var z=y-b,ne=(a-E)/2,re=ne+E,ie=new go.Geometry,me=new go.PathFigure(0,ne,!0);ie.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ne)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,z,a)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.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,x());return ie.spot2=new go.Spot(pe.x,pe.y),ue(pe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ut("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,z=(.5+b/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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=40);var E=le?le.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-b)/2,ne=z+b,re=(a-E)/2,ie=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,z=(a-b)/2,ne=z+b,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var me=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);me.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 ye=Be(0,.5,.3,re/a,0,z/a,1,z/a,x());return me.spot1=new go.Spot(ye.x,ye.y),ye=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,ye),me.spot2=new go.Spot(ye.x,ye.y),ue(ye),me}),go.Shape.setFigureParameter("IBeamArrow",0,new Ut("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,z=(.5+b/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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=40);var E=le?le.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-b)/2,ne=z+b,re=(a-E)/2,ie=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,z=(a-b)/2,ne=z+b,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var me=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);me.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()),me.spot1=new go.Spot(0,z/a);var ye=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,x());return me.spot2=new go.Spot(ye.x,ye.y),ue(ye),me}),go.Shape.setFigureParameter("Pointer",0,new Ut("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,z=(.5+b/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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,z=E+b;b>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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*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,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(0,.9*a,!0);return b.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()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(0,b,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+z)*y,0,1*y,se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-se*b,(.5+z)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*y,1*a,0,a-se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var re=new go.PathFigure(y,b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-se*b,(.5+z)*y,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*y,2*b,0,2*b-se*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(0,a-b,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+z)*y,0,y,se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-se*b,(.5+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*y,a,0,a-se*b));var re=new go.PathFigure(0,a-b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-se*b,(.5-z)*y,a-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+z)*y,a-2*b,y,a-b-se*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(b,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+z)*a,y-se*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,se*b,0));var re=new go.PathFigure(b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+se*b,0,2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+z)*a,b+se*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(y-b,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+z)*a,y-se*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,se*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var re=new go.PathFigure(y-b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-se*b,0,y-2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+z)*a,y-b-se*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.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 b.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)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.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)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(le,y,a){var b=new go.Geometry,E=.2,z=.1,ne=se*E,re=se*z,ie=.5,me=.1,pe=new go.PathFigure(ie*y,(me+z)*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-E)*y,me*a,(ie-ne)*y,(me+z)*a,(ie-E)*y,(me+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-z)*a,(ie-E)*y,(me-re)*a,(ie-ne)*y,(me-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+E)*y,me*a,(ie+ne)*y,(me-z)*a,(ie+E)*y,(me-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+z)*a,(ie+E)*y,(me+re)*a,(ie+ne)*y,(me+z)*a));var ye=.05,je=se*ye;ie=.05,me=.25;var De=new go.PathFigure(.5*y,.2*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,me=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ye)*y,me*a,(ie+je)*y,(me-ye)*a,(ie+ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ye=.025,je=se*ye,ie=.825,me=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-je)*a,(ie+je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-je)*y,(me-ye)*a,(ie-ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ye=.05,je=se*ye,ie=.5,me=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-je)*a,(ie+je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-je)*y,(me-ye)*a,(ie-ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ye=.025,je=se*ye,ie=.175,me=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-je)*a,(ie+je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-je)*y,(me-ye)*a,(ie-ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ye=.05,je=se*ye,ie=.05,me=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie-ye)*y,(me-je)*a,(ie-je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ut("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.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 b.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)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Database",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(y,.1*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(y,.1*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.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()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=se*.2,ne=new go.PathFigure(0,.2*a,!0);b.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 b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.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()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.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)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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 b.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)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Junction",function(le,y,a){var b=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=se*.5,re=.5,ie=new go.PathFigure(y,re*a,!0);b.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 me=new go.PathFigure((z+E)*y,(z+E)*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z*y,z*a)),me.add(new go.PathSegment(go.PathSegment.Move,z*y,(z+E)*a)),me.add(new go.PathSegment(go.PathSegment.Line,(z+E)*y,z*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(.5*y,a,!0);return b.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)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.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()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.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 b.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)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,ne=new go.PathFigure(0,0,!0);b.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 b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("PaperTape",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.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()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Procedure",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Process",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*y,0,!0);b.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 b.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)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.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)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(le,y,a){var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);b.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);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,z*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Ground",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Inverter",function(le,y,a){var b=new go.Geometry,E=se*.1,z=.1,ne=.9,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);b.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 me=new go.PathFigure((ne+z)*y,re*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re-z)*a,(ne+z)*y,(re-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.4,ne=se*.1,re=.1,ie=.9,me=.5,pe=new go.PathFigure(.8*y,.5*a,!0);b.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 ye=new go.PathFigure((ie+re)*y,me*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+re)*a,(ie+re)*y,(me+ne)*a,(ie+ne)*y,(me+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y,me*a,(ie-ne)*y,(me+re)*a,(ie-re)*y,(me+ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-re)*a,(ie-re)*y,(me-ne)*a,(ie-ne)*y,(me-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y,me*a,(ie+ne)*y,(me-re)*a,(ie+re)*y,(me-ne)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=0,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);b.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=se*.1,ne=.9,re=.5;var me=new go.PathFigure((ne-E)*y,re*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=0,re=.5,ie=new go.PathFigure(0,0,!0);return b.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()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var me=new go.PathFigure(.8*y,.5*a,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),me.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=se*.1,ne=.9,re=.5;var pe=new go.PathFigure((ne-E)*y,re*a,!0);return b.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)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var me=new go.PathFigure(.2*y,0,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z)*y,(re-E)*a,.9*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Resistor",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Inductor",function(le,y,a){var b=new go.Geometry,E=se*.1,z=.1,ne=.1,re=.5,ie=new go.PathFigure((ne-E*.5)*y,a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure((ne-z)*y,re*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Diode",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.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)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(le,y,a){var b=new go.Geometry,E=y,z=a;y=y*.38,a=a*.6;var ne=se*.8,re=.8,ie=0,me=.5,pe=(E-y)/2,ye=(z-a)/2,je=new go.PathFigure(ie*y+pe,(me+re)*a+ye,!0);b.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,me*a+ye,ie*y+pe,(me-re)*a+ye,(ie-re+ne*.5)*y+pe,(me-ne)*a+ye)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie-re+ne*.5)*y+pe,(me+ne)*a+ye,ie*y+pe,(me+re)*a+ye).close()),ne=se*.4,re=.4,ie=.2,me=.5;var De=new go.PathFigure(ie*y+pe,(me+re)*a+ye,!0);b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,me*a+ye,ie*y+pe,(me-re)*a+ye,(ie-re+ne*.5)*y+pe,(me-ne)*a+ye)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie-re+ne*.5)*y+pe,(me+ne)*a+ye,ie*y+pe,(me+re)*a+ye).close()),ne=se*.2,re=.2,ie=.5,me=.5;var Qe=new go.PathFigure((ie-re)*y+pe,me*a+ye,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),ne=se*.4,re=.4,ie=.8,me=.5;var he=new go.PathFigure(ie*y+pe,(me-re)*a+ye,!0);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,me*a+ye,ie*y+pe,(me+re)*a+ye,(ie+re-ne*.5)*y+pe,(me+ne)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie+re-ne*.5)*y+pe,(me-ne)*a+ye,ie*y+pe,(me-re)*a+ye).close()),ne=se*.8,re=.8,ie=1,me=.5;var Te=new go.PathFigure(ie*y+pe,(me-re)*a+ye,!0);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,me*a+ye,ie*y+pe,(me+re)*a+ye,(ie+re-ne*.5)*y+pe,(me+ne)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie+re-ne*.5)*y+pe,(me-ne)*a+ye,ie*y+pe,(me-re)*a+ye).close()),b}),go.Shape.defineFigureGenerator("Email",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Ethernet",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.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);b.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);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Power",function(le,y,a){var b=new go.Geometry,E=se*.4,z=.4,ne=.5,re=.5,ie=x(),me=x(),pe=x(),ye=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,me,pe,ye);var je=te(me.x,me.y),De=new go.PathFigure(me.x*y,me.y*a,!0);b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,ye.x*y,ye.y*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)),Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,ye,me,ie,ie),De.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a)),E=se*.3,z=.3,Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,ye,me,ie,ie),De.add(new go.PathSegment(go.PathSegment.Line,me.x*y,me.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,ye.x*y,ye.y*a,pe.x*y,pe.y*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)),Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,me,pe,ye),De.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,ye.x*y,ye.y*a,pe.x*y,pe.y*a).close());var De=new go.PathFigure(.45*y,0,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ue(ie),ue(me),ue(pe),ue(ye),ue(je),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.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),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.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()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("FireHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.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()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,y,a){var b=new go.Geometry,E=.5,z=0,ne=0,re=E*se,ie=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,pe=1,ye=.5,je=.5,De=0,Qe=new go.PathFigure(ie*y,(1-me)*a,!1);return b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,ye*a,pe*y,.7*a,pe*y,ye*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(je+z)*y,(De+z)*a,(.5+E+z)*y,(.5-re+z)*a,(.5+re+z)*y,(.5-E+z)*a)),Qe.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)),Qe.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)),Qe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*y,.8*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*y,.9*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(y,a,!1);b.add(z);var ne=new go.PathFigure(0,.5*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(.335*y,(1-.555)*a,!0);b.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,me=Math.PI/4,pe=4*(1-Math.cos(me))/(3*Math.sin(me)),ye=pe*.5,je=ne,De=ne,Qe=pe*je,he=pe*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-je)*y,ie*a,(re-(Qe+je)/2)*y,(ie+(De+he)/2)*a,(re-je)*y,(ie+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ie-De)*a,(re-je)*y,(ie-he)*a,(re-Qe)*y,(ie-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+je)*y,ie*a,(re+Qe)*y,(ie-De)*a,(re+je)*y,(ie-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+je)*y,(ie+he)*a,(re+(Qe+je)/2)*y,(ie+(De+he)/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 Te=new go.PathFigure(.2*y,a,!1);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ye=new go.PathFigure(.8*y,a,!1);return b.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(y,a,!1);b.add(z);var ne=new go.PathFigure(.1*y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Caution",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.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)),b}),go.Shape.defineFigureGenerator("Recycle",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.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);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=new go.PathFigure(y,E*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Package",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.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 b.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()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Workcell",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Supermarket",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.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=se*.1,ie=.2,me=.9,pe=new go.PathFigure((ie-ne)*y,me*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ne)*a,(ie-ne)*y,(me-re)*a,(ie-re)*y,(me-ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,me*a,(ie+re)*y,(me-ne)*a,(ie+ne)*y,(me-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+ne)*a,(ie+ne)*y,(me+re)*a,(ie+re)*y,(me+ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,me*a,(ie-re)*y,(me+ne)*a,(ie-ne)*y,(me+re)*a).close()),ne=.1,re=se*.1,ie=.8,me=.9;var ye=new go.PathFigure((ie-ne)*y,me*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ne)*a,(ie-ne)*y,(me-re)*a,(ie-re)*y,(me-ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,me*a,(ie+re)*y,(me-ne)*a,(ie+ne)*y,(me-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+ne)*a,(ie+ne)*y,(me+re)*a,(ie+re)*y,(me+ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,me*a,(ie-re)*y,(me+ne)*a,(ie-ne)*y,(me+re)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Forklift",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.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);b.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);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,me=se*.1,pe=.1,ye=.9,je=new go.PathFigure((pe-ie)*y,ye*a,!0);b.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye-ie)*a,(pe-ie)*y,(ye-me)*a,(pe-me)*y,(ye-ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,ye*a,(pe+me)*y,(ye-ie)*a,(pe+ie)*y,(ye-me)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye+ie)*a,(pe+ie)*y,(ye+me)*a,(pe+me)*y,(ye+ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,ye*a,(pe-me)*y,(ye+ie)*a,(pe-ie)*y,(ye+me)*a)),ie=.1,me=se*.1,pe=.4,ye=.9;var De=new go.PathFigure((pe-ie)*y,ye*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye-ie)*a,(pe-ie)*y,(ye-me)*a,(pe-me)*y,(ye-ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,ye*a,(pe+me)*y,(ye-ie)*a,(pe+ie)*y,(ye-me)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye+ie)*a,(pe+ie)*y,(ye+me)*a,(pe+me)*y,(ye+ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,ye*a,(pe-me)*y,(ye+ie)*a,(pe-ie)*y,(ye+me)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);b.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,ye=se*.05,je=.175,De=.95,re=new go.PathFigure((je-pe)*y,De*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a));var pe=.05,ye=se*.05,je=.375,De=.95,ie=new go.PathFigure((je-pe)*y,De*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a));var pe=.05,ye=se*.05,je=.625,De=.95,me=new go.PathFigure((je-pe)*y,De*a,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a));var pe=.05,ye=se*.05,je=.825,De=.95,Qe=new go.PathFigure((je-pe)*y,De*a,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a).close());var he=new go.PathFigure(0,a,!1);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);b.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=se*.05,me=.35,pe=.775,ye=new go.PathFigure((me-re)*y,pe*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(pe-re)*a,(me-re)*y,(pe-ie)*a,(me-ie)*y,(pe-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*y,pe*a,(me+ie)*y,(pe-re)*a,(me+re)*y,(pe-ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(pe+re)*a,(me+re)*y,(pe+ie)*a,(me+ie)*y,(pe+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*y,pe*a,(me-ie)*y,(pe+re)*a,(me-re)*y,(pe+ie)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Globe",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Wave",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Operator",function(le,y,a){var b=new go.Geometry,E=.3,z=se*.3,ne=.5,re=.7,ie=new go.PathFigure((ne-E)*y,re*a,!0);b.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 me=new go.PathFigure(0,.7*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Battery",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!0);b.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 me=new go.PathFigure(.15*y,.5*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Help",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!1);b.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=se*.05,ne=.5,re=.8;var me=new go.PathFigure((ne-E)*y,re*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.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()),me.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),me.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Unlocked",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Gear",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Map",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Eject",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Pencil",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Staircase",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.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()),b}),go.Shape.defineFigureGenerator("5Bars",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("PC",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Plane",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Key",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.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()),b}),go.Shape.defineFigureGenerator("FilmTape",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,y,a){var b=new go.Geometry,E=8,z=E*se,ne=new go.PathFigure(E,0,!1);b.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);b.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);b.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 me=new go.PathFigure(y*.78,a*.05,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),me.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),me.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(b,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),re.add(new go.PathSegment(go.PathSegment.Line,y,z-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,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,b,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,E,z,0,z-E)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Windows",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Beaker",function(le,y,a){var b=new go.Geometry,E=15,z=E*se,ne=new go.PathFigure(y*.62,a*.475,!0);return b.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?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Bin",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.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()),b}),go.Shape.defineFigureGenerator("Upload",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.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()),b}),go.Shape.defineFigureGenerator("Drink",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.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 b.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()),b}),go.Shape.defineFigureGenerator("4Arrows",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.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()),b}),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")},80727: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={},Kt="5.0",te={},x=null,ue=!1,Be=!1,Me=null,Le=!1,Oe=null,se=null,ct=0;ct4?parseFloat(nt):5};Ut.setHTML5Codebase=function(nt,et){se=nt,vt(nt,et)},Ut.setJavaCodebase=Ut.setJavaCodebaseVersion=Ut.isCompiledInstalled=Ut.setPreCompiledScriptPath=Ut.setPreCompiledResourcePath=function(){},Ut.setHTML5CodebaseVersion=function(nt,et){var qt=parseFloat(nt);if(qt!==NaN&&qt<5){console.log("The GeoGebra HTML5 codebase version "+qt+" is deprecated. Using version latest instead.");return}Oe=nt,Yt(nt,et)},Ut.getHTML5CodebaseVersion=function(){return le},Ut.getParameters=function(){return te},Ut.setFontsCSSURL=function(nt){ne=nt},Ut.setGiacJSURL=function(nt){},Ut.setJNLPFile=function(nt){Ve=nt},Ut.setJNLPBaseDir=function(nt){},Ut.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var et="auto",qt=te.id,hn,Zt=!1,dn=0;dn=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 Qe=function(nt,et,qt){var hn=document.createElement("param");hn.setAttribute("name",et),hn.setAttribute("value",qt),nt.appendChild(hn)},he=function(nt){return nt&&nt!=="false"},Te=function(nt,et,qt){ie(le)<=4.2&&(qt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var dn=et.width,We=et.height;if(et.disableAutoScale=et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():et.disableAutoScale,et.width!==void 0)if(ie(le)<=4.4)he(et.showToolBar)&&(et.height-=7),he(et.showAlgebraInput)&&(et.height-=37),et.width<605&&he(et.showToolBar)&&(et.width=605,dn=605);else{var It=100;(he(et.showToolBar)||he(et.showMenuBar))&&(et.hasOwnProperty("customToolBar")&&(et.customToolbar=et.customToolBar),It=he(et.showMenuBar)?245:155),dn=5?(et.appletOnLoad=function(Ae){var ft=nt.querySelector(".ggb_preview");ft&&ft.parentNode.removeChild(ft),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ht),window.GGBT_wsf_view&&$(window).trigger("resize"),Mt(Ae)},rt||ht.appendChild(ze)):Zt.appendChild(ze),ht.appendChild(Zt),rt||nt.appendChild(ht),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(Zt),nt.appendChild(ve),et.appletOnLoad=function(Ae){Ut.resize(),Mt(Ae)}}function fe(Ae,ft){ft&&typeof ft.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ae,ft.appletOnLoad):renderGGBElement(Ae),rn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ft)}function qe(Ae,ft){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ae,params:ft}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(vn){fe(vn.article,vn.params)}),html5AppletsToProcess=null)},ie(le)<5&&(Ae.className+=" geogebraweb")):fe(Ae,ft)}if(hn){scriptLoadStarted=!0;for(var Rt=0;Rt0?(Gt.remove(),ht.attr("id","fullscreencontent").show(),jQuery(Mt).append(ht),window.dispatchEvent(new Event("resize"))):Te(Gt,et,!1),window.GGBT_wsf_view.launchFullScreen(Mt)}else Je=hn,Te(nt,et,!1);if(!window.GGBT_wsf_view)for(We=0;Went/4*3&&(Gt=nt/4*3),Mt=Gt/5.8,It.setAttribute("src",E),It.setAttribute("width",Gt),It.setAttribute("height",Mt);var ht=(nt-Gt)/2,rt=(et-Mt)/2;It.style.left=ht+"px",It.style.top=rt+"px",Zt.appendChild(It)}}return Zt.appendChild(We),Zt},yt=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],Yt=function(nt,et){if(le=nt,et){vt(le,!0);return}var qt=!ue;if(qt){var hn=ie(le);!isNaN(hn)&&hn<4.4&&(qt=!1)}var Zt,dn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var We=le.indexOf("//");We>0?dn=le:We===0?dn=Zt+le:dn="https://www.geogebra.org/apps/5.2.814.0/";for(var It in gt)if(le.slice(gt[It].length*-1)===gt[It]||le.slice((gt[It].length+1)*-1)===gt[It]+"/"){vt(dn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&qt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!he(te.showToolBar)&&!he(te.showMenuBar)&&!he(te.showAlgebraInput)&&!he(te.enableRightClick)&&(!te.appName||te.appName=="classic")?dn+="webSimple/":dn+="web3d/",vt(dn,!1)},vt=function(nt,et){if(nt.requirejs){Ue=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),Ue=nt,et===null&&(et=nt.indexOf("http")===-1),tt=et,y="web.nocache.js",a=!1;var qt=Ue.split("/");qt.length>1&&(!et&&qt[qt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):gt.indexOf(qt[qt.length-2])>=0&&(y=qt[qt.length-2]+".nocache.js")),qt=nt.split("/"),le=qt[qt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var hn=parseFloat(le);hn!==NaN&&hn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),Yt("5.0",et))},rn=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?ye(xn):xn();function xn(){var nt=Kt;Oe!==null?nt=Oe:parseFloat(nt)<5&&(nt="5.0"),Yt(nt,!1),se!==null&&vt(se,tt),Le=!0}return Ut},GGBAppletUtils=function(){"use strict";function Ut(){return window.GGBT_wsf_edit!==void 0}function Kt(Le,Oe){Oe!=1?(Le.style.transformOrigin="0% 0% 0px",Le.style.webkitTransformOrigin="0% 0% 0px",Le.style.transform="scale("+Oe+","+Oe+")",Le.style.webkitTransform="scale("+Oe+","+Oe+")",Le.style.maxWidth="initial",Le.querySelector(".ggb_preview")!==null&&(Le.querySelector(".ggb_preview").style.maxWidth="initial"),Le.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Le.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Le.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Le.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Le.style.transform="none",Le.style.webkitTransform="none")}function te(Le,Oe,se,ct,ot,Ve){var Ue=null;if(Ve!=null&&Ve!="")for(var tt=Le.parentNode;tt!=null;)if((" "+tt.className+" ").indexOf(" "+Ve+" ")>-1){Ue=tt;break}else tt=tt.parentNode;var Je=0,le=0,y=0,a=0,b=0,E=0,z=0;if(Ue)Je=Ue.offsetWidth,le=Math.max(ct?Ue.offsetWidth:0,Ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Je=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Je):(Je=window.innerWidth,le=window.innerHeight,y=window.innerWidth),Le){var ne=Le.getBoundingClientRect();ne.left>0&&ne.left<=Je&&(ot===void 0||!ot)&&(document.dir==="rtl"?(b=Je-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,b=y<=480?10:30),a=E+b)}if(Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Le.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Le&&((se===void 0||!se)&&Oe>0&&Oe+a1&&(Ve=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Le.hasOwnProperty("disableAutoScale")&&Le.disableAutoScale))ot=x(Le,Oe,Ve,se,Le.scaleContainerClass);else return ct;return Ve&&(!Le.hasOwnProperty("scale")||ct===1)?ot:Math.min(ct,ot)}function Be(Le){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),ct=Le.getBoundingClientRect(),ot=(Oe-ct.width)/2,Ve=(se-ct.height)/2;Ve<0&&(Ve=0),Le.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ot<40?Le.style.left="40px":Le.style.left=ot+"px",Le.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Le.style.top="40px":Le.style.top=Ve+"px",Le.style.left=ot+"px")}function Me(Le,Oe){var se=Le.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Le)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var ct=ue(Oe,Le);Ut()&&se.setAttribute("data-param-scale",ct);for(var ot=null,Ve=0;Ve=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 Kt=c[Ut];return Kt==null?null:Kt},r=d,webModule.__errFn=e}function B(){function Ut(Le){var Oe=Le.lastIndexOf(rb);Oe==-1&&(Oe=Le.length);var se=Le.indexOf(sb);se==-1&&(se=Le.length);var ct=Le.lastIndexOf(tb,Math.min(se,Oe));return ct>=O?Le.substring(O,ct+P):W}function Kt(Le){if(!Le.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=Le+vb,Le=Ut(Oe.src)}return Le}function te(){var Le=__gwt_getMetaProperty(wb);return Le!=null?Le:W}function x(){for(var Le=o.getElementsByTagName(_),Oe=O;OeO?Le[Le.length-P].href:W}function Be(){var Le=o.location;return Le.href==Le.protocol+zb+Le.host+Le.pathname+Le.search+Le.hash}var Me=te();return Me==W&&(Me=x()),Me==W&&(Me=ue()),Me==W&&Be()&&(Me=Ut(o.location.href)),Me=Kt(Me),Me}function C(Ut){return Ut.match(/^\//)||Ut.match(/^[a-zA-Z]+:\/\//)?Ut:webModule.__moduleBase+Ut}function D(){var Ut=[],Kt=O,te=[],x=[];function ue(Le){var Oe=x[Le](),se=te[Le];if(Oe in se)return Oe;var ct=[];for(var ot in se)ct[se[ot]]=ot;throw r&&r(Le,ct,Oe),null}if(__gwt_isKnownPropertyValue=function(Le,Oe){return Oe in te[Le]},webModule.__getPropMap=function(){var Le={};for(var Oe in te)te.hasOwnProperty(Oe)&&(Le[Oe]=ue(Oe));return Le},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Me=Be.indexOf(Db);Me!=-1&&(Kt=parseInt(Be.substring(Me+P),$),Be=Be.substring(O,Me))}catch(Le){}return webModule.__softPermutationId=Kt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},77903:function(Ut,Kt,te){"use strict";te.d(Kt,{Ax:function(){return Me},Ds:function(){return Le},KI:function(){return se},SI:function(){return Be},f1:function(){return ue}});var x=te(3294);function ue(ct){let ot=!0;if(ct.length>0){for(let Ve=0;Vea in y?Be(y,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[a]=b,Ve=(y,a)=>{for(var b in a||(a={}))se.call(a,b)&&ot(y,b,a[b]);if(Oe)for(var b of Oe(a))ct.call(a,b)&&ot(y,b,a[b]);return y},Ue=(y,a)=>Me(y,Le(a)),tt=(y,a)=>{var b={};for(var E in y)se.call(y,E)&&a.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&Oe)for(var E of Oe(y))a.indexOf(E)<0&&ct.call(y,E)&&(b[E]=y[E]);return b},Je=(y,a,b)=>new Promise((E,z)=>{var ne=me=>{try{ie(b.next(me))}catch(pe){z(pe)}},re=me=>{try{ie(b.throw(me))}catch(pe){z(pe)}},ie=me=>me.done?E(me.value):Promise.resolve(me.value).then(ne,re);ie((b=b.apply(y,a)).next())});const le=y=>{var a=y,{children:b}=a,E=tt(a,["children"]);const[z,ne]=(0,ue.useState)(!1);return ue.createElement(x.ZP,Ue(Ve({},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)}})}),b)}},85786:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Me}});var x=te(59301),ue={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Me=({number:Le,active:Oe,className:se})=>x.createElement("div",{className:`${ue.digitalLabel} ${Oe?ue.active:""} ${se}`},Le)},57647:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return E}});var x=te(59301),ue=te(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Me=te(73631),Le=te(5623),Oe=te(16149),se=Object.defineProperty,ct=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Je=(z,ne,re)=>ne in z?se(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Ue.call(ne,re)&&Je(z,re,ne[re]);if(Ve)for(var re of Ve(ne))tt.call(ne,re)&&Je(z,re,ne[re]);return z},y=(z,ne)=>ct(z,ot(ne)),a=(z,ne,re)=>new Promise((ie,me)=>{var pe=De=>{try{je(re.next(De))}catch(Qe){me(Qe)}},ye=De=>{try{je(re.throw(De))}catch(Qe){me(Qe)}},je=De=>De.done?ie(De.value):Promise.resolve(De.value).then(pe,ye);je((re=re.apply(z,ne)).next())}),E=({value:z,onChange:ne,scrollId:re})=>{const[ie,me]=(0,x.useState)([]);(0,x.useEffect)(()=>{pe()},[]);const pe=()=>a(void 0,null,function*(){const Te=yield(0,Oe.NZ)({});if(Te!=null&&Te.data){const Ye=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:!1,children:ye(Te.data||[])}];me(Ye)}}),ye=Te=>Te.map(Ye=>({title:Ye.name,key:Ye.group_id,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:Ye.children.length===0,children:ye(Ye.children)})),je=(Te,Ye,bt)=>Te.map(Ne=>Ne.key===Ye?le(le({},Ne),bt):Ne.children?y(le({},Ne),{children:je(Ne.children,Ye,bt)}):Ne),De=(Te,Ye,bt)=>Te.map(Ne=>{if(Ne.key===Ye)return y(le({},Ne),{icon:bt?x.createElement("img",{src:Le,className:Be.folderIcon}):x.createElement("img",{src:Me,className:Be.folderIcon})});if(Ne.children)return y(le({},Ne),{children:De(Ne.children,Ye,bt)})}),Qe=(Te,Ye)=>{me(bt=>De(bt,Ye.node.key,Ye.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ie.length>0&&x.createElement("div",{id:re||""},x.createElement(ue.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ie,className:Be.folderWrapper,onSelect:ne,onExpand:Qe},he)))}},32570:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Oe}});var x=te(60324),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=te(32637),Me=te(59301),Oe=({type:se,style:ct})=>{const ot=Me.createElement("div",{className:ue.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Me.createElement("p",null,se==="shixun"||se==="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",Me.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",se==="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"),Me.createElement("div",{className:ue.contact},Me.createElement("div",{className:ue.img},Me.createElement("img",{src:Be,width:"124px",height:"124px"})),Me.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Me.createElement(x.Z,{content:ot},Me.createElement("span",{className:ue.text,style:ct},"\u9AD8\u6D88\u8017"))}},73524:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Ue}});var x=te(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=te(92310),Me=te.n(Be),Le=te(71418),Oe=te(2859),se=te(99064),ct=te(955),ot=(tt,Je,le)=>new Promise((y,a)=>{var b=ne=>{try{z(le.next(ne))}catch(re){a(re)}},E=ne=>{try{z(le.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(b,E);z((le=le.apply(tt,Je)).next())}),Ue=({data:tt,className:Je,fullWidth:le,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:z})=>{const ne=(0,x.useRef)(null),re=(0,x.useRef)(null),ie=(0,x.useRef)(null),me=(0,x.useRef)(null),[pe,ye]=(0,x.useState)(!1),[je,De]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.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&&Qe()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[tt==null?void 0:tt.visible]);const Qe=()=>ot(void 0,null,function*(){ye(!0),De("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ne=yield(0,ct.ZJ)(tt==null?void 0:tt.src);ne.current.src="",ne.current.src=Ne,ne.current.onload=function(){bt()},ye(!1),De("")}),he=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Te=Ne=>ot(void 0,null,function*(){ye(!0),De("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ut=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:tt.title,file:Ne.dataUrl}});ut!=null&&ut.id&&!z?(yield(0,se.ZP)(`/api/attachments/${tt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ut==null?void 0:ut.id,settings:JSON.stringify(Ne.state)}})).status===0&&b():ut!=null&&ut.id&&b(ut),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",ye(!1),De("")}),Ye=()=>{const Ne=document.querySelector('a[href="https://markerjs.com/"]');Ne&&Ne.parentNode&&(Ne.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(Bt=>{const yt=document.querySelector(Bt.name);yt&&yt.setAttribute("title",Bt.title)})},bt=()=>{re.current=new Oe.hP(ne.current),re.current.targetRoot=me.current,re.current.addEventListener("render",Te),re.current.addEventListener("beforeclose",he),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),Ye()},300)};return x.createElement(x.Fragment,null,(tt==null?void 0:tt.visible)&&x.createElement(Le.Z,{spinning:pe,tip:je,style:{position:"absolute"}},x.createElement("div",{ref:me,className:Me()(ue.imageDimensions,Je,le?ue.fullWidth:""),style:y},x.createElement("img",{className:ue.img,ref:ne}))))}},14791:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ze},$:function(){return rt}});var x=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),Me=te.n(Be),Le=te(78241),Oe=te(8591),se=te(43418),ct=te(5871),ot=te(95237),Ve=te(24905),Ue=te(38854),tt=te(54580),Je=te(3113),le=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),z=te(43604),ne=te(29458),re=te(3294),ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7dAAAAAXNSR0IArs4c6QAABk1JREFUWEd1lwlsVkUQx3/7ClGMSMSrHCKXHCpQhYhCNB5AYqRQGq1AiKgEEAiokAJFFIoipcVE5EYFyn23IGCJgoTDQimWSJSzCIKIcglUEIGu2bdv3+77vo+XfPl2Z2Zn5z8zuzsjSPDJ0tZV2ftfGog0BG0Q1AbuRABCgJDBvxorWqDE5xkZh+4porNGjRXNyKvlMuCbf2OXDPRIWYHnnQJKqaSQOimFos3s67HmG1NCupzxWDcgD2Qjf0P1qT/fqGAcGh4Yb4x1ZZSsCySy3oAV4LnOCByi9Pl7CQ00HPvIDb0cz8sUqSUFLqgQkJRjPCavzEFUZoaecz2oNjYAjXGJgEQi5Bio1kYiZYDEOEt5z4+ecZ4D2I2kGePl0eWlkUJkVxp/+yvkpOa5IDOtxxIAiE2nuEg5RhjZ2EiFhgYpF6ZfTNq662KzI+TpgOGJPJFaMjwEJCc06YZgtY5AENLMA7HpCcVTYfd0TR/yi+Vvy4F9CyG5BaQviV9nKBeOwNrXoNdOSKqqqSe2wJZ3dfS9JP0LM+MmyJt63iEfaj6m11w5DUWdo+c1yUtX6SfkrNZVOXNpP1I2Cg+qApV1KN6wc+WQ31nTh+63/K05sHc+JLeEjKW3BnT+CKxKh66L4P4WWu7ySVj1sh63GwNN0u36IwVQMk6HPWMHVKmmeceLoOR9exnpFC2nHs2F/LDxqwi5PBIdJTA6ASClbE4XOHsIhjsR3DIByhboCPVYZg2qvAHST21tlA8oA9pnQYuemqwOff5TcP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zuaWroCnOh0SqEqsZTz2CmyW47YsD3hDH5YfnvilMqWGQCklJG5lbJUgjd0nMGhH3GJJTATBwwLuib7+tUxq7IffenD2xupwlcFxUfO43xCN6y4BcCuFTCrx2U8XOHN9dabmCbr6/NDq4RjO2fdLo1MfOy2Gw+mrb+Z6OC9qpUDA4fzn8ICbfb4wXm4XI4EKQE0MrS+GO8zOvXxwauew/iTQhBWNnhEhN9KLM19boyRQA6apSMS2t84fe7yRTCYPHhKTQFM2NPsCsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",je=te(99064),De=te(57647),Qe=te(5623),he=te(50304),Te=te(59879),Ye=te(28451),bt=te(15342),Ne=te.n(bt),ut=(ve,fe,qe)=>new Promise((Rt,Fe)=>{var xe=Ae=>{try{Xe(qe.next(Ae))}catch(ft){Fe(ft)}},at=Ae=>{try{Xe(qe.throw(Ae))}catch(ft){Fe(ft)}},Xe=Ae=>Ae.done?Rt(Ae.value):Promise.resolve(Ae.value).then(xe,at);Xe((qe=qe.apply(ve,fe)).next())}),yt=x.memo(({tagName:ve="div",value:fe="",className:qe,style:Rt={},onBlur:Fe,id:xe})=>{const at=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(!at.current)return;ut(void 0,null,function*(){const ft=at.current;ft.innerHTML="";const vn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Qt of vn)if(Qt.startsWith("$$")&&Qt.endsWith("$$")||Qt.startsWith("`$$")&&Qt.endsWith("$$`")){const jt=Qt.startsWith("`$$")?Qt.slice(3,-3):Qt.slice(2,-2),on=document.createElement("span");on.setAttribute("contentEditable","false"),on.setAttribute("title",Qt),on.className="edu_latex",ft.appendChild(on),Ne().render(jt,on,{throwOnError:!1})}else{const jt=Qt==null?void 0:Qt.replace(/<[^>]*>/g,on=>on.startsWith("{var Ae,ft;if(Fe&&at.current){const Qt=at.current.cloneNode(!0),jt=Qt.querySelectorAll("span.edu_latex");for(let on of jt){const cn=on.getAttribute("title"),_e=document.createTextNode(cn||""),Ft=on;(ft=(Ae=Ft.parentNode)==null?void 0:Ae.replaceChild)==null||ft.call(Ae,_e,Ft)}Fe(Qt.innerHTML)}};return x.createElement(x.Fragment,null,x.createElement(ve,{ref:at,contentEditable:!0,className:qe,style:Rt,onBlur:Xe}))}),gt=te(34604),Yt=Object.defineProperty,vt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,qt=(ve,fe,qe)=>fe in ve?Yt(ve,fe,{enumerable:!0,configurable:!0,writable:!0,value:qe}):ve[fe]=qe,hn=(ve,fe)=>{for(var qe in fe||(fe={}))nt.call(fe,qe)&&qt(ve,qe,fe[qe]);if(xn)for(var qe of xn(fe))et.call(fe,qe)&&qt(ve,qe,fe[qe]);return ve},Zt=(ve,fe)=>vt(ve,rn(fe)),dn=(ve,fe,qe)=>new Promise((Rt,Fe)=>{var xe=Ae=>{try{Xe(qe.next(Ae))}catch(ft){Fe(ft)}},at=Ae=>{try{Xe(qe.throw(Ae))}catch(ft){Fe(ft)}},Xe=Ae=>Ae.done?Rt(Ae.value):Promise.resolve(Ae.value).then(xe,at);Xe((qe=qe.apply(ve,fe)).next())});const We=ve=>{ve.preventDefault();let qe=(ve.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,qe)},It=ve=>{ve.key==="Enter"&&ve.preventDefault()},Gt=({children:ve,style:fe})=>x.createElement("div",{className:ue.leftBox,style:fe,onPaste:We},ve),Mt=({children:ve,style:fe,className:qe})=>x.createElement("div",{className:Me()(ue.rightBox,qe),style:fe,onPaste:We},ve),ht=({className:ve,style:fe={},width:qe=1200,onCancel:Rt=()=>{},onSuccess:Fe=()=>{},gather:xe={},mode:at=1,stickyTop:Xe=0,subDisciplineId:Ae=[],hideWordFeatures:ft,dataSource:vn=[],customLeftHeadNode:Qt,customRightHeadNode:jt,customLeftContent:on,hideRecognition:cn=!1,onExchange:_e,isSingleSelection:Ft=!1,underpinBackgroundStyle:Lt={},headExtraNode:St,isRefreshItemBank:Dt=!1,okText:pn="\u786E\u5B9A\u5BFC\u5165"})=>{var Pn;const[Sn,Rn]=(0,x.useState)(1),[na,aa]=(0,x.useState)(0),[zn,Pa]=(0,x.useState)(""),[Ea,_n]=(0,x.useState)(!1),[wa,en]=(0,x.useState)([]),[En,Mn]=(0,x.useState)([]),[$n,Ze]=(0,x.useState)(!1),[Nt,kt]=(0,x.useState)(!1),[Wt,tn]=(0,x.useState)(!1),[Ht,mn]=(0,x.useState)(!1),[st,Pt]=(0,x.useState)([]),[dt,ln]=(0,x.useState)(1),[Nn,bn]=(0,x.useState)(!1),[la,Hn]=(0,x.useState)(!1),[lt,$t]=(0,x.useState)(!0),[Jn,nn]=(0,x.useState)(0),[kn,ea]=(0,x.useState)(1),[Ra,va]=(0,x.useState)(""),[Ge,gn]=(0,x.useState)([]),[Jt,yn]=(0,x.useState)(0),[In,Zn]=(0,x.useState)(0),[An,Dn]=(0,x.useState)(0),[Fa,La]=(0,x.useState)(0),[fn,Da]=(0,x.useState)(0),[Yn]=Le.default.useForm(),[qa]=Le.default.useForm(),Ja=(0,x.useRef)(null),Wn=(0,x.useRef)(null),sa=(0,x.useRef)(),ma=["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"],ra=["C","C++","Java","Python","JavaScript","Ruby"];(0,x.useEffect)(()=>{vn!=null&&vn.length&&ei(vn)},[vn]),(0,x.useEffect)(()=>{Sn===2&&Ja.current.focus()},[Sn]),(0,x.useEffect)(()=>{Wt&&rr()},[Wt]);const Ua=()=>{if(Sn===1){Oe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}se.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:()=>dn(void 0,null,function*(){Rn(1)})})},rr=()=>dn(void 0,null,function*(){const Ce=yield(0,je.ZP)("/api/disciplines.json",{method:"get",params:{source:at===1?"new_question":"subject"}});Pt(Ce.disciplines||[])}),Ga=Ce=>{const sn=[],Cn=(Kn,an)=>{Kn.length>=2&&sn.push(Kn.join(""));for(let oa=an;oa(Ce=Ce||"",Ce=String(Ce),Ce=Ce.replace(/\s+/g,""),Ce),lr=Ce=>(Ce=Ce||"",Ce=String(Ce),Ce=Ce.replace(/
/g,""),Ce=Ce.replace(/
/g,` +(self.webpackChunk=self.webpackChunk||[]).push([[3260],{89489:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},59477:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},26227:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},49198:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},41464:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},87169:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},52671:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},8657:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},56082:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},33853:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},12893:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},15075:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},32134:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},43531:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},38819:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ct}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(Ve,Ue){return ue.createElement(Le.Z,(0,x.Z)({},Ve,{ref:Ue,icon:Me}))},se=ue.forwardRef(Oe),ct=se},88010:function(Ut,Kt){"use strict";Kt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},43809:function(Ut,Kt){"use strict";Kt.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"}},7761:function(Ut,Kt){"use strict";Kt.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"}},84287:function(Ut,Kt,te){"use strict";var x=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(ot,Ve,Ue)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[Ve]=Ue,se=(ot,Ve)=>{for(var Ue in Ve||(Ve={}))Me.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);if(Be)for(var Ue of Be(Ve))Le.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);return ot};const ct=ot=>React.createElement("svg",se({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"}));Kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},86087:function(Ut,Kt,te){"use strict";var x=te(59301),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(ot,Ve,Ue)=>Ve in ot?ue(ot,Ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):ot[Ve]=Ue,se=(ot,Ve)=>{for(var Ue in Ve||(Ve={}))Me.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);if(Be)for(var Ue of Be(Ve))Le.call(Ve,Ue)&&Oe(ot,Ue,Ve[Ue]);return ot};const ct=ot=>React.createElement("svg",se({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"}));Kt.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},74413:function(){"use strict";function Ut(le,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=le,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Ut.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(Ut.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(Ut.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(Ut.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,y){var a=go.Shape._FigureParameters[le];return a?a[y]:null},go.Shape.setFigureParameter=function(le,y,a){if(!(a instanceof Ut))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[le];b||(b=[],go.Shape._FigureParameters[le]=b),b[y]=a};var Kt=[];function te(le,y){var a=Kt.pop();return a===void 0?new go.Point(le,y):(a.x=le,a.y=y,a)}function x(){var le=Kt.pop();return le===void 0?new go.Point:le}function ue(le){Kt.push(le)}function Be(le,y,a,b,E,z,ne,re,ie){ie||(ie=new go.Point);var me=le-a,pe=E-ne,ye=NaN,je=NaN;if(me===0)if(pe===0)le===a&&(ye=le,je=y);else{var De=(z-re)/pe,Qe=z-De*E;ye=le,je=De*ye+Qe}else if(pe===0){var he=(y-b)/me,Te=y-he*le;ye=E,je=he*ye+Te}else{var he=(y-b)/me,De=(z-re)/pe,Te=y-he*le,Qe=z-De*E;ye=(Qe-Te)/(he-De),je=he*ye+Te}return ie.x=ye,ie.y=je,ie}function Me(le,y,a,b,E,z,ne,re,ie,me,pe,ye,je,De){var Qe=1-ie,he=ie,Te=le*Qe+a*he,Ye=y*Qe+b*he,bt=a*Qe+E*he,Ne=b*Qe+z*he,ut=E*Qe+ne*he,Bt=z*Qe+re*he,yt=Te*Qe+bt*he,gt=Ye*Qe+Ne*he,Yt=bt*Qe+ut*he,vt=Ne*Qe+Bt*he,rn=yt*Qe+Yt*he,xn=gt*Qe+vt*he;me.x=Te,me.y=Ye,pe.x=yt,pe.y=gt,ye.x=rn,ye.y=xn,je.x=Yt,je.y=vt,De.x=ut,De.y=Bt}var Le=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ut("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,z=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,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(le,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(le,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(le,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(le,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(le,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(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,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(le,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(le,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(le,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(le,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(le,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(le,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*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(le,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=Le,E.spot2=Oe,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(le,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,se*y,0,y,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,se*a,(1-se)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,se*a,se*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*y,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,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(le,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(le,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(le,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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===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 b>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())),Ey&&(b=y);var E=Math.abs(b);if(b===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 b>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.5&&(b=.5);var E=Math.abs(b)*y;if(b===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 b>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())),Ey&&(b=y/2);var E=Math.abs(b);if(b===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 b>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())),Ey&&(b=y/2);var E=Math.abs(b);if(b===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 b>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())),E0&&(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=Le,z.spot2=Oe,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,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(le,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/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(le,y,a){var b=le?le.parameter1:NaN,E=le?le.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var z=b%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(le,y,a){var b=se/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-b)*a,(E+b)*y,(z+b)*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(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,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(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,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(le,y,a){var b=le?le.parameter1:NaN;if((isNaN(b)||b<0)&&(b=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=b-Math.min(Math.cos(re)*b/2,z),me=b-Math.min(Math.sin(re)*b/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,me)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,y,a-me)),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-me)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,ne)),pe.add(new go.PathSegment(go.PathSegment.Line,0,me).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ut("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*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-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ut("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,se*y,0,y,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+se/2)*a,se*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,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(le,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(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.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*se;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*se,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*se,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()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.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),b.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),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*ne,a*re,z*y,z*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(le,y,a){var b=.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-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,z)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure(ne*y,(re-z)*a);b.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=se*.4;var me=x(),pe=x(),ye=x(),je=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.42,me,pe,ye,je,je);var De=x(),Qe=x(),he=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.58,je,je,he,De,Qe);var Te=x(),Ye=x(),bt=x();Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.42,Te,Ye,bt,je,je);var Ne=x(),ut=x(),Bt=x();return Me(ne,re+z,ne-E,re+z,ne-z,re+E,ne-z,re,.58,je,je,Bt,Ne,ut),ie.add(new go.PathSegment(go.PathSegment.Move,Bt.x*y,Bt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,Ne.x*y,Ne.y*a,ut.x*y,ut.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,ye.x*y,ye.y*a,me.x*y,me.y*a,pe.x*y,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Bt.x*y,Bt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,bt.x*y,bt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,he.x*y,he.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,De.x*y,De.y*a,Qe.x*y,Qe.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,bt.x*y,bt.y*a,Te.x*y,Te.y*a,Ye.x*y,Ye.y*a).close()),ue(me),ue(pe),ue(ye),ue(je),ue(De),ue(Qe),ue(he),ue(Te),ue(Ye),ue(bt),ue(Ne),ue(ut),ue(Bt),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(le,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(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,z=E+b;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(le,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(le,y,a){var b=new go.Geometry,E=se*.4,z=.4,ne=.5,re=.5,ie=x(),me=x(),pe=x(),ye=x(),je=new go.PathFigure((ne-z)*y,re*a,!1);b.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)),Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.44,pe,ye,me,ie,ie),je.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a));var De=te(me.x,me.y);Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.56,ie,ie,me,pe,ye);var Qe=te(me.x,me.y);je.add(new go.PathSegment(go.PathSegment.Line,(De.x*.1+.95*.9)*y,De.y*.1*a)),je.add(new go.PathSegment(go.PathSegment.Line,.85*y,De.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,(Qe.x*.1+.9)*y,.15*a)),je.add(new go.PathSegment(go.PathSegment.Line,(Qe.x*.1+.9)*y,(Qe.y*.1+.05*.9)*a)),je.add(new go.PathSegment(go.PathSegment.Line,Qe.x*y,Qe.y*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,ye.x*y,ye.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=se*.35;var he=new go.PathFigure(ne*y,(re-z)*a,!1);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),he.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 Te=new go.PathFigure((ne-z)*y,re*a,!1);return b.add(Te),ue(ie),ue(me),ue(pe),ue(ye),ue(De),ue(Qe),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(le,y,a){var b=new go.Geometry,E=.375,z=0,ne=-.125,re=E*se,ie=new go.PathFigure((.525+z)*y,(.5+E+ne)*a,!1);b.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*se;var ie=new go.PathFigure((1-.5+E+z)*y,(.5+ne)*a,!1);b.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 b.add(ie),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(le,y,a){var b=le?le.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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(le,y,a){var b=le?le.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*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,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,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(le,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(le,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(le,y,a){var b=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 b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(le,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(le,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(le,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(le,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(le,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(le,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=le?le.parameter2:NaN;isNaN(E)&&(E=.3);var z=(1-b)*y,ne=(.5-E/2)*a,re=(.5+E/2)*a,ie=new go.Geometry,me=new go.PathFigure(0,ne,!0);ie.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ne)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,z,a)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=le?le.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var z=y-b,ne=(a-E)/2,re=ne+E,ie=new go.Geometry,me=new go.PathFigure(0,ne,!0);ie.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z,ne)),me.add(new go.PathSegment(go.PathSegment.Line,z,0)),me.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Line,z,a)),me.add(new go.PathSegment(go.PathSegment.Line,z,re)),me.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,x());return ie.spot2=new go.Spot(pe.x,pe.y),ue(pe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ut("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,z=(.5+b/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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=40);var E=le?le.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-b)/2,ne=z+b,re=(a-E)/2,ie=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,z=(a-b)/2,ne=z+b,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var me=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);me.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 ye=Be(0,.5,.3,re/a,0,z/a,1,z/a,x());return me.spot1=new go.Spot(ye.x,ye.y),ye=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,ye),me.spot2=new go.Spot(ye.x,ye.y),ue(ye),me}),go.Shape.setFigureParameter("IBeamArrow",0,new Ut("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,z=(.5+b/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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=40);var E=le?le.parameter2:NaN;isNaN(E)&&(E=100);var z=(a-b)/2,ne=z+b,re=(a-E)/2,ie=re+E;(b>a||E>a)&&(E>b?(b=b*a/E,z=(a-b)/2,ne=z+b,re=0,ie=a):(z=0,ne=a,re=0,ie=a));var me=new go.Geometry,pe=new go.PathFigure(y,.5*a,!0);me.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()),me.spot1=new go.Spot(0,z/a);var ye=Be(.7,ie/a,1,.5,0,ne/a,1,ne/a,x());return me.spot2=new go.Spot(ye.x,ye.y),ue(ye),me}),go.Shape.setFigureParameter("Pointer",0,new Ut("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var ne=Be(.2,.65,1,.65,0,1,1,.5,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var ne=Be(0,.65,1,.65,0,1,1,.5,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,z=(.5+b/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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,z=E+b;b>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,x());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(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*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,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(0,.9*a,!0);return b.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()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(0,b,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+z)*y,0,1*y,se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-se*b,(.5+z)*y,1*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*y,1*a,0,a-se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,0,b));var re=new go.PathFigure(y,b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-se*b,(.5+z)*y,2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-z)*y,2*b,0,2*b-se*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(0,a-b,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,0,b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*b,(.5-z)*y,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+z)*y,0,y,se*b)),ne.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-se*b,(.5+z)*y,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-z)*y,a,0,a-se*b));var re=new go.PathFigure(0,a-b,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-se*b,(.5-z)*y,a-2*b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+z)*y,a-2*b,y,a-b-se*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(b,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+z)*a,y-se*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,se*b,0));var re=new go.PathFigure(b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+se*b,0,2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+z)*a,b+se*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,z=se*.5,ne=new go.PathFigure(y-b,0,!0);E.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*b,0,y,(.5-z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+z)*a,y-se*b,a)),ne.add(new go.PathSegment(go.PathSegment.Line,b,a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*b,a,0,(.5+z)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-z)*a,se*b,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var re=new go.PathFigure(y-b,0,!1);return E.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-se*b,0,y-2*b,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+z)*a,y-b-se*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.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 b.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)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.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)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(le,y,a){var b=new go.Geometry,E=.2,z=.1,ne=se*E,re=se*z,ie=.5,me=.1,pe=new go.PathFigure(ie*y,(me+z)*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-E)*y,me*a,(ie-ne)*y,(me+z)*a,(ie-E)*y,(me+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-z)*a,(ie-E)*y,(me-re)*a,(ie-ne)*y,(me-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+E)*y,me*a,(ie+ne)*y,(me-z)*a,(ie+E)*y,(me-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+z)*a,(ie+E)*y,(me+re)*a,(ie+ne)*y,(me+z)*a));var ye=.05,je=se*ye;ie=.05,me=.25;var De=new go.PathFigure(.5*y,.2*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,me=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ye)*y,me*a,(ie+je)*y,(me-ye)*a,(ie+ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ye=.025,je=se*ye,ie=.825,me=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-je)*a,(ie+je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-je)*y,(me-ye)*a,(ie-ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ye=.05,je=se*ye,ie=.5,me=.7,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-je)*a,(ie+je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-je)*y,(me-ye)*a,(ie-ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),De.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ye=.025,je=se*ye,ie=.175,me=.35,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie+ye)*y,(me-je)*a,(ie+je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ye)*y,me*a,(ie-je)*y,(me-ye)*a,(ie-ye)*y,(me-je)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),De.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ye=.05,je=se*ye,ie=.05,me=.25,De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ye)*a,(ie-ye)*y,(me-je)*a,(ie-je)*y,(me-ye)*a)),De.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ut("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,y,a){var b=le?le.parameter1:NaN;isNaN(b)&&(b=.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,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.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 b.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)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Database",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(y,.1*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.1,ne=new go.PathFigure(y,.1*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.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()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var z=se*.2,ne=new go.PathFigure(0,.2*a,!0);b.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 b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.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()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var z=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.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)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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 b.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)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a));var ne=new go.PathFigure(y,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.1);var ne=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Junction",function(le,y,a){var b=new go.Geometry,E=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,ne=se*.5,re=.5,ie=new go.PathFigure(y,re*a,!0);b.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 me=new go.PathFigure((z+E)*y,(z+E)*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,z*y,z*a)),me.add(new go.PathSegment(go.PathSegment.Move,z*y,(z+E)*a)),me.add(new go.PathSegment(go.PathSegment.Line,(z+E)*y,z*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(.5*y,a,!0);return b.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)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.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()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.7);var z=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.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 b.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)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.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 b.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)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=1-E,ne=new go.PathFigure(0,0,!0);b.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 b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("PaperTape",function(le,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.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()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(z)&&(z=.3);var ne=new go.PathFigure(0,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Procedure",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Process",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);b.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 b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.25);var z=new go.PathFigure(E*y,0,!0);b.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 b.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)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.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)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,y,a){var b=new go.Geometry,E=le?le.parameter1:NaN;isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(le,y,a){var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,0,!0);return b.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()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=new go.PathFigure(y,z*a,!0);b.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);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,z*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Ground",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Inverter",function(le,y,a){var b=new go.Geometry,E=se*.1,z=.1,ne=.9,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);b.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 me=new go.PathFigure((ne+z)*y,re*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+z)*a,(ne+z)*y,(re+E)*a,(ne+E)*y,(re+z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,(ne-E)*y,(re+z)*a,(ne-z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-z)*a,(ne-z)*y,(re-E)*a,(ne-E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,(ne+E)*y,(re-z)*a,(ne+z)*y,(re-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(le,y,a){var b=new go.Geometry,E=se*.5,z=se*.4,ne=se*.1,re=.1,ie=.9,me=.5,pe=new go.PathFigure(.8*y,.5*a,!0);b.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 ye=new go.PathFigure((ie+re)*y,me*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+re)*a,(ie+re)*y,(me+ne)*a,(ie+ne)*y,(me+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y,me*a,(ie-ne)*y,(me+re)*a,(ie-re)*y,(me+ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-re)*a,(ie-re)*y,(me-ne)*a,(ie-ne)*y,(me-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y,me*a,(ie+ne)*y,(me-re)*a,(ie+re)*y,(me-ne)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=0,re=.5,ie=new go.PathFigure(.8*y,.5*a,!0);b.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=se*.1,ne=.9,re=.5;var me=new go.PathFigure((ne-E)*y,re*a,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne-E)*y,re*a,(ne-z)*y,(re+E)*a,(ne-E)*y,(re+z)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=0,re=.5,ie=new go.PathFigure(0,0,!0);return b.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()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var me=new go.PathFigure(.8*y,.5*a,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),me.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=se*.1,ne=.9,re=.5;var pe=new go.PathFigure((ne-E)*y,re*a,!0);return b.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)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(le,y,a){var b=new go.Geometry,E=.5,z=se*E,ne=.2,re=.5,ie=new go.PathFigure(.1*y,0,!1);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var me=new go.PathFigure(.2*y,0,!0);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(ne+z)*y,(re-E)*a,.9*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Resistor",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Inductor",function(le,y,a){var b=new go.Geometry,E=se*.1,z=.1,ne=.1,re=.5,ie=new go.PathFigure((ne-E*.5)*y,a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,y,a){var b=new go.Geometry,E=se*.5,z=.5,ne=.5,re=.5,ie=new go.PathFigure((ne-z)*y,re*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Diode",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.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)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(le,y,a){var b=new go.Geometry,E=y,z=a;y=y*.38,a=a*.6;var ne=se*.8,re=.8,ie=0,me=.5,pe=(E-y)/2,ye=(z-a)/2,je=new go.PathFigure(ie*y+pe,(me+re)*a+ye,!0);b.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),je.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,me*a+ye,ie*y+pe,(me-re)*a+ye,(ie-re+ne*.5)*y+pe,(me-ne)*a+ye)),je.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie-re+ne*.5)*y+pe,(me+ne)*a+ye,ie*y+pe,(me+re)*a+ye).close()),ne=se*.4,re=.4,ie=.2,me=.5;var De=new go.PathFigure(ie*y+pe,(me+re)*a+ye,!0);b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+ne*.5)*y+pe,me*a+ye,ie*y+pe,(me-re)*a+ye,(ie-re+ne*.5)*y+pe,(me-ne)*a+ye)),De.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie-re+ne*.5)*y+pe,(me+ne)*a+ye,ie*y+pe,(me+re)*a+ye).close()),ne=se*.2,re=.2,ie=.5,me=.5;var Qe=new go.PathFigure((ie-re)*y+pe,me*a+ye,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie-re)*y+pe,(me-ne)*a+ye,(ie-ne)*y+pe,(me-re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*y+pe,me*a+ye,(ie-ne)*y+pe,(me+re)*a+ye,(ie-re)*y+pe,(me+ne)*a+ye)),ne=se*.4,re=.4,ie=.8,me=.5;var he=new go.PathFigure(ie*y+pe,(me-re)*a+ye,!0);b.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,me*a+ye,ie*y+pe,(me+re)*a+ye,(ie+re-ne*.5)*y+pe,(me+ne)*a+ye)),he.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie+re-ne*.5)*y+pe,(me-ne)*a+ye,ie*y+pe,(me-re)*a+ye).close()),ne=se*.8,re=.8,ie=1,me=.5;var Te=new go.PathFigure(ie*y+pe,(me-re)*a+ye,!0);return b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*y+pe,me*a+ye,(ie+ne)*y+pe,(me-re)*a+ye,(ie+re)*y+pe,(me-ne)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me+re)*a+ye,(ie+re)*y+pe,(me+ne)*a+ye,(ie+ne)*y+pe,(me+re)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-ne*.5)*y+pe,me*a+ye,ie*y+pe,(me+re)*a+ye,(ie+re-ne*.5)*y+pe,(me+ne)*a+ye)),Te.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+pe,(me-re)*a+ye,(ie+re-ne*.5)*y+pe,(me-ne)*a+ye,ie*y+pe,(me-re)*a+ye).close()),b}),go.Shape.defineFigureGenerator("Email",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Ethernet",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.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);b.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);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Power",function(le,y,a){var b=new go.Geometry,E=se*.4,z=.4,ne=.5,re=.5,ie=x(),me=x(),pe=x(),ye=x();Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,me,pe,ye);var je=te(me.x,me.y),De=new go.PathFigure(me.x*y,me.y*a,!0);b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne+z)*y,re*a,pe.x*y,pe.y*a,ye.x*y,ye.y*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)),Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,ye,me,ie,ie),De.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,pe.x*y,pe.y*a,ye.x*y,ye.y*a)),E=se*.3,z=.3,Me(ne-z,re,ne-z,re-E,ne-E,re-z,ne,re-z,.5,pe,ye,me,ie,ie),De.add(new go.PathSegment(go.PathSegment.Line,me.x*y,me.y*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(ne-z)*y,re*a,ye.x*y,ye.y*a,pe.x*y,pe.y*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)),Me(ne,re-z,ne+E,re-z,ne+z,re-E,ne+z,re,.5,ie,ie,me,pe,ye),De.add(new go.PathSegment(go.PathSegment.Bezier,me.x*y,me.y*a,ye.x*y,ye.y*a,pe.x*y,pe.y*a).close());var De=new go.PathFigure(.45*y,0,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),De.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),ue(ie),ue(me),ue(pe),ue(ye),ue(je),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.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),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.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()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.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()),b}),go.Shape.defineFigureGenerator("FireHazard",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.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()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,y,a){var b=new go.Geometry,E=.5,z=0,ne=0,re=E*se,ie=.4*Math.SQRT2/2+.5,me=.5-.5*Math.SQRT2/2,pe=1,ye=.5,je=.5,De=0,Qe=new go.PathFigure(ie*y,(1-me)*a,!1);return b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,ye*a,pe*y,.7*a,pe*y,ye*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(je+z)*y,(De+z)*a,(.5+E+z)*y,(.5-re+z)*a,(.5+re+z)*y,(.5-E+z)*a)),Qe.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)),Qe.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)),Qe.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*y,.8*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*y,.9*a)),Qe.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(y,a,!1);b.add(z);var ne=new go.PathFigure(0,.5*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(.335*y,(1-.555)*a,!0);b.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,me=Math.PI/4,pe=4*(1-Math.cos(me))/(3*Math.sin(me)),ye=pe*.5,je=ne,De=ne,Qe=pe*je,he=pe*De;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-je)*y,ie*a,(re-(Qe+je)/2)*y,(ie+(De+he)/2)*a,(re-je)*y,(ie+he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(ie-De)*a,(re-je)*y,(ie-he)*a,(re-Qe)*y,(ie-De)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+je)*y,ie*a,(re+Qe)*y,(ie-De)*a,(re+je)*y,(ie-he)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+je)*y,(ie+he)*a,(re+(Qe+je)/2)*y,(ie+(De+he)/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 Te=new go.PathFigure(.2*y,a,!1);b.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ye=new go.PathFigure(.8*y,a,!1);return b.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var z=new go.PathFigure(y,a,!1);b.add(z);var ne=new go.PathFigure(.1*y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Caution",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.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)),b}),go.Shape.defineFigureGenerator("Recycle",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.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);b.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 b.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)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=new go.PathFigure(y,E*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Package",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.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 b.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()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(0,.5*a,!1);return b.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Workcell",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Supermarket",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.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=se*.1,ie=.2,me=.9,pe=new go.PathFigure((ie-ne)*y,me*a,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ne)*a,(ie-ne)*y,(me-re)*a,(ie-re)*y,(me-ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,me*a,(ie+re)*y,(me-ne)*a,(ie+ne)*y,(me-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+ne)*a,(ie+ne)*y,(me+re)*a,(ie+re)*y,(me+ne)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,me*a,(ie-re)*y,(me+ne)*a,(ie-ne)*y,(me+re)*a).close()),ne=.1,re=se*.1,ie=.8,me=.9;var ye=new go.PathFigure((ie-ne)*y,me*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me-ne)*a,(ie-ne)*y,(me-re)*a,(ie-re)*y,(me-ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ne)*y,me*a,(ie+re)*y,(me-ne)*a,(ie+ne)*y,(me-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(me+ne)*a,(ie+ne)*y,(me+re)*a,(ie+re)*y,(me+ne)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ne)*y,me*a,(ie-re)*y,(me+ne)*a,(ie-ne)*y,(me+re)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Forklift",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.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);b.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);b.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,me=se*.1,pe=.1,ye=.9,je=new go.PathFigure((pe-ie)*y,ye*a,!0);b.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye-ie)*a,(pe-ie)*y,(ye-me)*a,(pe-me)*y,(ye-ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,ye*a,(pe+me)*y,(ye-ie)*a,(pe+ie)*y,(ye-me)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye+ie)*a,(pe+ie)*y,(ye+me)*a,(pe+me)*y,(ye+ie)*a)),je.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,ye*a,(pe-me)*y,(ye+ie)*a,(pe-ie)*y,(ye+me)*a)),ie=.1,me=se*.1,pe=.4,ye=.9;var De=new go.PathFigure((pe-ie)*y,ye*a,!0);return b.add(De),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye-ie)*a,(pe-ie)*y,(ye-me)*a,(pe-me)*y,(ye-ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(pe+ie)*y,ye*a,(pe+me)*y,(ye-ie)*a,(pe+ie)*y,(ye-me)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,pe*y,(ye+ie)*a,(pe+ie)*y,(ye+me)*a,(pe+me)*y,(ye+ie)*a)),De.add(new go.PathSegment(go.PathSegment.Bezier,(pe-ie)*y,ye*a,(pe-me)*y,(ye+ie)*a,(pe-ie)*y,(ye+me)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var ne=new go.PathFigure(.55*y,.4*a,!0);b.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,ye=se*.05,je=.175,De=.95,re=new go.PathFigure((je-pe)*y,De*a,!0);b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a));var pe=.05,ye=se*.05,je=.375,De=.95,ie=new go.PathFigure((je-pe)*y,De*a,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a));var pe=.05,ye=se*.05,je=.625,De=.95,me=new go.PathFigure((je-pe)*y,De*a,!0);b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a));var pe=.05,ye=se*.05,je=.825,De=.95,Qe=new go.PathFigure((je-pe)*y,De*a,!0);b.add(Qe),Qe.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De-pe)*a,(je-pe)*y,(De-ye)*a,(je-ye)*y,(De-pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(je+pe)*y,De*a,(je+ye)*y,(De-pe)*a,(je+pe)*y,(De-ye)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,je*y,(De+pe)*a,(je+pe)*y,(De+ye)*a,(je+ye)*y,(De+pe)*a)),Qe.add(new go.PathSegment(go.PathSegment.Bezier,(je-pe)*y,De*a,(je-ye)*y,(De+pe)*a,(je-pe)*y,(De+ye)*a).close());var he=new go.PathFigure(0,a,!1);return b.add(he),he.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var ne=new go.PathFigure(.15*y,a,!0);b.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=se*.05,me=.35,pe=.775,ye=new go.PathFigure((me-re)*y,pe*a,!0);return b.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(pe-re)*a,(me-re)*y,(pe-ie)*a,(me-ie)*y,(pe-re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me+re)*y,pe*a,(me+ie)*y,(pe-re)*a,(me+re)*y,(pe-ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,me*y,(pe+re)*a,(me+re)*y,(pe+ie)*a,(me+ie)*y,(pe+re)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(me-re)*y,pe*a,(me-ie)*y,(pe+re)*a,(me-re)*y,(pe+ie)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Bookmark",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Globe",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Wave",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.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)),b}),go.Shape.defineFigureGenerator("Operator",function(le,y,a){var b=new go.Geometry,E=.3,z=se*.3,ne=.5,re=.7,ie=new go.PathFigure((ne-E)*y,re*a,!0);b.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 me=new go.PathFigure(0,.7*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Battery",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.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 b.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!0);b.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 me=new go.PathFigure(.15*y,.5*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Help",function(le,y,a){var b=new go.Geometry,E=.5,z=se*.5,ne=.5,re=.5,ie=new go.PathFigure((ne-E)*y,re*a,!1);b.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=se*.05,ne=.5,re=.8;var me=new go.PathFigure((ne-E)*y,re*a,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re-E)*a,(ne-E)*y,(re-z)*a,(ne-z)*y,(re-E)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ne+E)*y,re*a,(ne+z)*y,(re-E)*a,(ne+E)*y,(re-z)*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(re+E)*a,(ne+E)*y,(re+z)*a,(ne+z)*y,(re+E)*a)),me.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()),me.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),me.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),me.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Unlocked",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.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 b.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)),b}),go.Shape.defineFigureGenerator("Gear",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Map",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.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)),b}),go.Shape.defineFigureGenerator("Eject",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Pencil",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Staircase",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.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()),b}),go.Shape.defineFigureGenerator("5Bars",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("PC",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Plane",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.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()),b}),go.Shape.defineFigureGenerator("Key",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.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()),b}),go.Shape.defineFigureGenerator("FilmTape",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.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);b.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);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,y,a){var b=new go.Geometry,E=8,z=E*se,ne=new go.PathFigure(E,0,!1);b.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);b.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);b.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 me=new go.PathFigure(y*.78,a*.05,!1);return b.add(me),me.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),me.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),me.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,y,a){var b=le?le.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*se,z=a*.8,ne=new go.Geometry,re=new go.PathFigure(b,0,!0);return ne.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),re.add(new go.PathSegment(go.PathSegment.Line,y,z-b)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-b,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,b,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-b,E,z,0,z-E)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Bezier,b,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Windows",function(le,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(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.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);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Beaker",function(le,y,a){var b=new go.Geometry,E=15,z=E*se,ne=new go.PathFigure(y*.62,a*.475,!0);return b.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?(b.spot1=new go.Spot(0,0,z,z),b.spot2=new go.Spot(1,1,-z,-z)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("Bin",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.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()),b}),go.Shape.defineFigureGenerator("Upload",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.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 b.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()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.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()),b}),go.Shape.defineFigureGenerator("Drink",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.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 b.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()),b}),go.Shape.defineFigureGenerator("4Arrows",function(le,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.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()),b}),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")},80727: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={},Kt="5.0",te={},x=null,ue=!1,Be=!1,Me=null,Le=!1,Oe=null,se=null,ct=0;ct4?parseFloat(nt):5};Ut.setHTML5Codebase=function(nt,et){se=nt,vt(nt,et)},Ut.setJavaCodebase=Ut.setJavaCodebaseVersion=Ut.isCompiledInstalled=Ut.setPreCompiledScriptPath=Ut.setPreCompiledResourcePath=function(){},Ut.setHTML5CodebaseVersion=function(nt,et){var qt=parseFloat(nt);if(qt!==NaN&&qt<5){console.log("The GeoGebra HTML5 codebase version "+qt+" is deprecated. Using version latest instead.");return}Oe=nt,Yt(nt,et)},Ut.getHTML5CodebaseVersion=function(){return le},Ut.getParameters=function(){return te},Ut.setFontsCSSURL=function(nt){ne=nt},Ut.setGiacJSURL=function(nt){},Ut.setJNLPFile=function(nt){Ve=nt},Ut.setJNLPBaseDir=function(nt){},Ut.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var et="auto",qt=te.id,hn,Zt=!1,dn=0;dn=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 Qe=function(nt,et,qt){var hn=document.createElement("param");hn.setAttribute("name",et),hn.setAttribute("value",qt),nt.appendChild(hn)},he=function(nt){return nt&&nt!=="false"},Te=function(nt,et,qt){ie(le)<=4.2&&(qt=!0);var hn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(hn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Zt=document.createElement("div");Zt.classList.add("appletParameters","notranslate");var dn=et.width,We=et.height;if(et.disableAutoScale=et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():et.disableAutoScale,et.width!==void 0)if(ie(le)<=4.4)he(et.showToolBar)&&(et.height-=7),he(et.showAlgebraInput)&&(et.height-=37),et.width<605&&he(et.showToolBar)&&(et.width=605,dn=605);else{var It=100;(he(et.showToolBar)||he(et.showMenuBar))&&(et.hasOwnProperty("customToolBar")&&(et.customToolbar=et.customToolBar),It=he(et.showMenuBar)?245:155),dn=5?(et.appletOnLoad=function(Ae){var ft=nt.querySelector(".ggb_preview");ft&&ft.parentNode.removeChild(ft),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ht),window.GGBT_wsf_view&&$(window).trigger("resize"),Mt(Ae)},rt||ht.appendChild(ze)):Zt.appendChild(ze),ht.appendChild(Zt),rt||nt.appendChild(ht),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(Zt),nt.appendChild(ve),et.appletOnLoad=function(Ae){Ut.resize(),Mt(Ae)}}function fe(Ae,ft){ft&&typeof ft.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ae,ft.appletOnLoad):renderGGBElement(Ae),rn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ft)}function qe(Ae,ft){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ae,params:ft}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(vn){fe(vn.article,vn.params)}),html5AppletsToProcess=null)},ie(le)<5&&(Ae.className+=" geogebraweb")):fe(Ae,ft)}if(hn){scriptLoadStarted=!0;for(var Rt=0;Rt0?(Gt.remove(),ht.attr("id","fullscreencontent").show(),jQuery(Mt).append(ht),window.dispatchEvent(new Event("resize"))):Te(Gt,et,!1),window.GGBT_wsf_view.launchFullScreen(Mt)}else Je=hn,Te(nt,et,!1);if(!window.GGBT_wsf_view)for(We=0;Went/4*3&&(Gt=nt/4*3),Mt=Gt/5.8,It.setAttribute("src",E),It.setAttribute("width",Gt),It.setAttribute("height",Mt);var ht=(nt-Gt)/2,rt=(et-Mt)/2;It.style.left=ht+"px",It.style.top=rt+"px",Zt.appendChild(It)}}return Zt.appendChild(We),Zt},yt=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},gt=["web","webSimple","web3d","tablet","tablet3d","phone"],Yt=function(nt,et){if(le=nt,et){vt(le,!0);return}var qt=!ue;if(qt){var hn=ie(le);!isNaN(hn)&&hn<4.4&&(qt=!1)}var Zt,dn;window.location.protocol.substr(0,4)==="http"?Zt=window.location.protocol:Zt="http:";var We=le.indexOf("//");We>0?dn=le:We===0?dn=Zt+le:dn="https://www.geogebra.org/apps/5.2.814.0/";for(var It in gt)if(le.slice(gt[It].length*-1)===gt[It]||le.slice((gt[It].length+1)*-1)===gt[It]+"/"){vt(dn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&qt&&!x.is3D&&!x.AV&&!x.SV&&!x.CV&&!x.EV2&&!x.CP&&!x.PC&&!x.DA&&!x.FI&&!x.PV&&!he(te.showToolBar)&&!he(te.showMenuBar)&&!he(te.showAlgebraInput)&&!he(te.enableRightClick)&&(!te.appName||te.appName=="classic")?dn+="webSimple/":dn+="web3d/",vt(dn,!1)},vt=function(nt,et){if(nt.requirejs){Ue=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),Ue=nt,et===null&&(et=nt.indexOf("http")===-1),tt=et,y="web.nocache.js",a=!1;var qt=Ue.split("/");qt.length>1&&(!et&&qt[qt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):gt.indexOf(qt[qt.length-2])>=0&&(y=qt[qt.length-2]+".nocache.js")),qt=nt.split("/"),le=qt[qt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var hn=parseFloat(le);hn!==NaN&&hn<5&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+hn+" is deprecated. Using version latest instead."),Yt("5.0",et))},rn=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?ye(xn):xn();function xn(){var nt=Kt;Oe!==null?nt=Oe:parseFloat(nt)<5&&(nt="5.0"),Yt(nt,!1),se!==null&&vt(se,tt),Le=!0}return Ut},GGBAppletUtils=function(){"use strict";function Ut(){return window.GGBT_wsf_edit!==void 0}function Kt(Le,Oe){Oe!=1?(Le.style.transformOrigin="0% 0% 0px",Le.style.webkitTransformOrigin="0% 0% 0px",Le.style.transform="scale("+Oe+","+Oe+")",Le.style.webkitTransform="scale("+Oe+","+Oe+")",Le.style.maxWidth="initial",Le.querySelector(".ggb_preview")!==null&&(Le.querySelector(".ggb_preview").style.maxWidth="initial"),Le.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Le.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Le.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Le.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Le.style.transform="none",Le.style.webkitTransform="none")}function te(Le,Oe,se,ct,ot,Ve){var Ue=null;if(Ve!=null&&Ve!="")for(var tt=Le.parentNode;tt!=null;)if((" "+tt.className+" ").indexOf(" "+Ve+" ")>-1){Ue=tt;break}else tt=tt.parentNode;var Je=0,le=0,y=0,a=0,b=0,E=0,z=0;if(Ue)Je=Ue.offsetWidth,le=Math.max(ct?Ue.offsetWidth:0,Ue.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Je=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Je):(Je=window.innerWidth,le=window.innerHeight,y=window.innerWidth),Le){var ne=Le.getBoundingClientRect();ne.left>0&&ne.left<=Je&&(ot===void 0||!ot)&&(document.dir==="rtl"?(b=Je-ne.width-ne.left,E=y<=480?10:30):(E=ne.left,b=y<=480?10:30),a=E+b)}if(Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Le.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return Le&&((se===void 0||!se)&&Oe>0&&Oe+a1&&(Ve=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ve=!0),!(Le.hasOwnProperty("disableAutoScale")&&Le.disableAutoScale))ot=x(Le,Oe,Ve,se,Le.scaleContainerClass);else return ct;return Ve&&(!Le.hasOwnProperty("scale")||ct===1)?ot:Math.min(ct,ot)}function Be(Le){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),ct=Le.getBoundingClientRect(),ot=(Oe-ct.width)/2,Ve=(se-ct.height)/2;Ve<0&&(Ve=0),Le.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ot<40?Le.style.left="40px":Le.style.left=ot+"px",Le.style.top=Ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ve<40?Le.style.top="40px":Le.style.top=Ve+"px",Le.style.left=ot+"px")}function Me(Le,Oe){var se=Le.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Le)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var ct=ue(Oe,Le);Ut()&&se.setAttribute("data-param-scale",ct);for(var ot=null,Ve=0;Ve=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 Kt=c[Ut];return Kt==null?null:Kt},r=d,webModule.__errFn=e}function B(){function Ut(Le){var Oe=Le.lastIndexOf(rb);Oe==-1&&(Oe=Le.length);var se=Le.indexOf(sb);se==-1&&(se=Le.length);var ct=Le.lastIndexOf(tb,Math.min(se,Oe));return ct>=O?Le.substring(O,ct+P):W}function Kt(Le){if(!Le.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=Le+vb,Le=Ut(Oe.src)}return Le}function te(){var Le=__gwt_getMetaProperty(wb);return Le!=null?Le:W}function x(){for(var Le=o.getElementsByTagName(_),Oe=O;OeO?Le[Le.length-P].href:W}function Be(){var Le=o.location;return Le.href==Le.protocol+zb+Le.host+Le.pathname+Le.search+Le.hash}var Me=te();return Me==W&&(Me=x()),Me==W&&(Me=ue()),Me==W&&Be()&&(Me=Ut(o.location.href)),Me=Kt(Me),Me}function C(Ut){return Ut.match(/^\//)||Ut.match(/^[a-zA-Z]+:\/\//)?Ut:webModule.__moduleBase+Ut}function D(){var Ut=[],Kt=O,te=[],x=[];function ue(Le){var Oe=x[Le](),se=te[Le];if(Oe in se)return Oe;var ct=[];for(var ot in se)ct[se[ot]]=ot;throw r&&r(Le,ct,Oe),null}if(__gwt_isKnownPropertyValue=function(Le,Oe){return Oe in te[Le]},webModule.__getPropMap=function(){var Le={};for(var Oe in te)te.hasOwnProperty(Oe)&&(Le[Oe]=ue(Oe));return Le},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Be;try{Be=Cb;var Me=Be.indexOf(Db);Me!=-1&&(Kt=parseInt(Be.substring(Me+P),$),Be=Be.substring(O,Me))}catch(Le){}return webModule.__softPermutationId=Kt,C(Be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},77903:function(Ut,Kt,te){"use strict";te.d(Kt,{Ax:function(){return Me},Ds:function(){return Le},KI:function(){return se},SI:function(){return Be},f1:function(){return ue}});var x=te(3294);function ue(ct){let ot=!0;if(ct.length>0){for(let Ve=0;Vea in y?Be(y,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[a]=b,Ve=(y,a)=>{for(var b in a||(a={}))se.call(a,b)&&ot(y,b,a[b]);if(Oe)for(var b of Oe(a))ct.call(a,b)&&ot(y,b,a[b]);return y},Ue=(y,a)=>Me(y,Le(a)),tt=(y,a)=>{var b={};for(var E in y)se.call(y,E)&&a.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&Oe)for(var E of Oe(y))a.indexOf(E)<0&&ct.call(y,E)&&(b[E]=y[E]);return b},Je=(y,a,b)=>new Promise((E,z)=>{var ne=me=>{try{ie(b.next(me))}catch(pe){z(pe)}},re=me=>{try{ie(b.throw(me))}catch(pe){z(pe)}},ie=me=>me.done?E(me.value):Promise.resolve(me.value).then(ne,re);ie((b=b.apply(y,a)).next())});const le=y=>{var a=y,{children:b}=a,E=tt(a,["children"]);const[z,ne]=(0,ue.useState)(!1);return ue.createElement(x.ZP,Ue(Ve({},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)}})}),b)}},85786:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Me}});var x=te(59301),ue={digitalLabel:"digitalLabel___tImKs",active:"active___Ck70Q"},Me=({number:Le,active:Oe,className:se})=>x.createElement("div",{className:`${ue.digitalLabel} ${Oe?ue.active:""} ${se}`},Le)},57647:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return E}});var x=te(59301),ue=te(17574),Be={folderWrapper:"folderWrapper___G__0a",folderIcon:"folderIcon___oTG6c"},Me=te(73631),Le=te(5623),Oe=te(16149),se=Object.defineProperty,ct=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Je=(z,ne,re)=>ne in z?se(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,le=(z,ne)=>{for(var re in ne||(ne={}))Ue.call(ne,re)&&Je(z,re,ne[re]);if(Ve)for(var re of Ve(ne))tt.call(ne,re)&&Je(z,re,ne[re]);return z},y=(z,ne)=>ct(z,ot(ne)),a=(z,ne,re)=>new Promise((ie,me)=>{var pe=De=>{try{je(re.next(De))}catch(Qe){me(Qe)}},ye=De=>{try{je(re.throw(De))}catch(Qe){me(Qe)}},je=De=>De.done?ie(De.value):Promise.resolve(De.value).then(pe,ye);je((re=re.apply(z,ne)).next())}),E=({value:z,onChange:ne,scrollId:re})=>{const[ie,me]=(0,x.useState)([]);(0,x.useEffect)(()=>{pe()},[]);const pe=()=>a(void 0,null,function*(){const Te=yield(0,Oe.NZ)({});if(Te!=null&&Te.data){const Ye=[{title:"\u6839\u76EE\u5F55",value:0,key:0,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:!1,children:ye(Te.data||[])}];me(Ye)}}),ye=Te=>Te.map(Ye=>({title:Ye.name,key:Ye.group_id,icon:x.createElement("img",{src:Me,className:Be.folderIcon}),isLeaf:Ye.children.length===0,children:ye(Ye.children)})),je=(Te,Ye,bt)=>Te.map(Ne=>Ne.key===Ye?le(le({},Ne),bt):Ne.children?y(le({},Ne),{children:je(Ne.children,Ye,bt)}):Ne),De=(Te,Ye,bt)=>Te.map(Ne=>{if(Ne.key===Ye)return y(le({},Ne),{icon:bt?x.createElement("img",{src:Le,className:Be.folderIcon}):x.createElement("img",{src:Me,className:Be.folderIcon})});if(Ne.children)return y(le({},Ne),{children:De(Ne.children,Ye,bt)})}),Qe=(Te,Ye)=>{me(bt=>De(bt,Ye.node.key,Ye.expanded))},he=z?{selectedKeys:z,defaultExpandedKeys:z}:{};return ie.length>0&&x.createElement("div",{id:re||""},x.createElement(ue.default,le({showLine:{showLeafIcon:!1},showIcon:!0,treeData:ie,className:Be.folderWrapper,onSelect:ne,onExpand:Qe},he)))}},32570:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Oe}});var x=te(60324),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Be=te(32637),Me=te(59301),Oe=({type:se,style:ct})=>{const ot=Me.createElement("div",{className:ue.wrap,onClick:Ve=>{Ve.preventDefault(),Ve.stopPropagation()}},Me.createElement("p",null,se==="shixun"||se==="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",Me.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",se==="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"),Me.createElement("div",{className:ue.contact},Me.createElement("div",{className:ue.img},Me.createElement("img",{src:Be,width:"124px",height:"124px"})),Me.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Me.createElement(x.Z,{content:ot},Me.createElement("span",{className:ue.text,style:ct},"\u9AD8\u6D88\u8017"))}},73524:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Ue}});var x=te(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Be=te(92310),Me=te.n(Be),Le=te(71418),Oe=te(2859),se=te(99064),ct=te(955),ot=(tt,Je,le)=>new Promise((y,a)=>{var b=ne=>{try{z(le.next(ne))}catch(re){a(re)}},E=ne=>{try{z(le.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(b,E);z((le=le.apply(tt,Je)).next())}),Ue=({data:tt,className:Je,fullWidth:le,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:z})=>{const ne=(0,x.useRef)(null),re=(0,x.useRef)(null),ie=(0,x.useRef)(null),me=(0,x.useRef)(null),[pe,ye]=(0,x.useState)(!1),[je,De]=(0,x.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,x.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&&Qe()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[tt==null?void 0:tt.visible]);const Qe=()=>ot(void 0,null,function*(){ye(!0),De("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ne=yield(0,ct.ZJ)(tt==null?void 0:tt.src);ne.current.src="",ne.current.src=Ne,ne.current.onload=function(){bt()},ye(!1),De("")}),he=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Te=Ne=>ot(void 0,null,function*(){ye(!0),De("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ut=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:tt.title,file:Ne.dataUrl}});ut!=null&&ut.id&&!z?(yield(0,se.ZP)(`/api/attachments/${tt.id}/add_subitem.json`,{method:"post",body:{subitem_id:ut==null?void 0:ut.id,settings:JSON.stringify(Ne.state)}})).status===0&&b():ut!=null&&ut.id&&b(ut),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",ye(!1),De("")}),Ye=()=>{const Ne=document.querySelector('a[href="https://markerjs.com/"]');Ne&&Ne.parentNode&&(Ne.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(Bt=>{const yt=document.querySelector(Bt.name);yt&&yt.setAttribute("title",Bt.title)})},bt=()=>{re.current=new Oe.hP(ne.current),re.current.targetRoot=me.current,re.current.addEventListener("render",Te),re.current.addEventListener("beforeclose",he),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),Ye()},300)};return x.createElement(x.Fragment,null,(tt==null?void 0:tt.visible)&&x.createElement(Le.Z,{spinning:pe,tip:je,style:{position:"absolute"}},x.createElement("div",{ref:me,className:Me()(ue.imageDimensions,Je,le?ue.fullWidth:""),style:y},x.createElement("img",{className:ue.img,ref:ne}))))}},14791:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ze},$:function(){return rt}});var x=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),Me=te.n(Be),Le=te(78241),Oe=te(8591),se=te(43418),ct=te(5871),ot=te(95237),Ve=te(24905),Ue=te(38854),tt=te(54580),Je=te(3113),le=te(93948),y=te(19842),a=te(92832),b=te(5112),E=te(6848),z=te(43604),ne=te(29458),re=te(3294),ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAAUCAYAAADC1B7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CsNKfddTGYjgJ1ARpNCahOiJF9sXiTIkEGjWh3xy4lINS5EigPkPzSQlVEmheg/4MSKA+O9PJ/a/QIfoKNS1Cqz/9E6OFLRQhuo0IhQa9SdCNvB63UKRoKS0UGtQnQYvZ6sxCk/D1OIke6IbG1z8T8f1Al7ZUhE+g0paK+vRpU5O+ROObmvSnTsk6gVBsKyQV+gSCEEgbe/X5o5NYgW6/u5m+Q1vr0SJ0C+gKpJdbdIkHnNMRSK+XBSwBU05VIL3giaHdhayKQHrFugsCsCX9CKRDDrCUu5jvJJCOGeki/CBK00E/QVA0WIOO2jIIP4jW8/OSP8u/m/aksJr16LC7IMj2sEbzuEkBnmdFo+u9PG7yNxidqHC3DAxxAAAAAElFTkSuQmCC",je=te(99064),De=te(57647),Qe=te(5623),he=te(50304),Te=te(59879),Ye=te(28451),bt=te(15342),Ne=te.n(bt),ut=(ve,fe,qe)=>new Promise((Rt,Fe)=>{var xe=Ae=>{try{Xe(qe.next(Ae))}catch(ft){Fe(ft)}},at=Ae=>{try{Xe(qe.throw(Ae))}catch(ft){Fe(ft)}},Xe=Ae=>Ae.done?Rt(Ae.value):Promise.resolve(Ae.value).then(xe,at);Xe((qe=qe.apply(ve,fe)).next())}),yt=x.memo(({tagName:ve="div",value:fe="",className:qe,style:Rt={},onBlur:Fe,id:xe})=>{const at=(0,x.useRef)(null);(0,x.useEffect)(()=>{if(!at.current)return;ut(void 0,null,function*(){const ft=at.current;ft.innerHTML="";const vn=fe==null?void 0:fe.split(/(`?\$\$[\s\S]*?\$\$`?)/g);for(const Qt of vn)if(Qt.startsWith("$$")&&Qt.endsWith("$$")||Qt.startsWith("`$$")&&Qt.endsWith("$$`")){const jt=Qt.startsWith("`$$")?Qt.slice(3,-3):Qt.slice(2,-2),on=document.createElement("span");on.setAttribute("contentEditable","false"),on.setAttribute("title",Qt),on.className="edu_latex",ft.appendChild(on),Ne().render(jt,on,{throwOnError:!1})}else{const jt=Qt==null?void 0:Qt.replace(/<[^>]*>/g,on=>on.startsWith("{var Ae,ft;if(Fe&&at.current){const Qt=at.current.cloneNode(!0),jt=Qt.querySelectorAll("span.edu_latex");for(let on of jt){const cn=on.getAttribute("title"),_e=document.createTextNode(cn||""),Ft=on;(ft=(Ae=Ft.parentNode)==null?void 0:Ae.replaceChild)==null||ft.call(Ae,_e,Ft)}Fe(Qt.innerHTML)}};return x.createElement(x.Fragment,null,x.createElement(ve,{ref:at,contentEditable:!0,className:qe,style:Rt,onBlur:Xe}))}),gt=te(34604),Yt=Object.defineProperty,vt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,qt=(ve,fe,qe)=>fe in ve?Yt(ve,fe,{enumerable:!0,configurable:!0,writable:!0,value:qe}):ve[fe]=qe,hn=(ve,fe)=>{for(var qe in fe||(fe={}))nt.call(fe,qe)&&qt(ve,qe,fe[qe]);if(xn)for(var qe of xn(fe))et.call(fe,qe)&&qt(ve,qe,fe[qe]);return ve},Zt=(ve,fe)=>vt(ve,rn(fe)),dn=(ve,fe,qe)=>new Promise((Rt,Fe)=>{var xe=Ae=>{try{Xe(qe.next(Ae))}catch(ft){Fe(ft)}},at=Ae=>{try{Xe(qe.throw(Ae))}catch(ft){Fe(ft)}},Xe=Ae=>Ae.done?Rt(Ae.value):Promise.resolve(Ae.value).then(xe,at);Xe((qe=qe.apply(ve,fe)).next())});const We=ve=>{ve.preventDefault();let qe=(ve.clipboardData||window.clipboardData).getData("Text");document.execCommand("insertText",!1,qe)},It=ve=>{ve.key==="Enter"&&ve.preventDefault()},Gt=({children:ve,style:fe})=>x.createElement("div",{className:ue.leftBox,style:fe,onPaste:We},ve),Mt=({children:ve,style:fe,className:qe})=>x.createElement("div",{className:Me()(ue.rightBox,qe),style:fe,onPaste:We},ve),ht=({className:ve,style:fe={},width:qe=1200,onCancel:Rt=()=>{},onSuccess:Fe=()=>{},gather:xe={},mode:at=1,stickyTop:Xe=0,subDisciplineId:Ae=[],hideWordFeatures:ft,dataSource:vn=[],customLeftHeadNode:Qt,customRightHeadNode:jt,customLeftContent:on,hideRecognition:cn=!1,onExchange:_e,isSingleSelection:Ft=!1,underpinBackgroundStyle:Lt={},headExtraNode:St,isRefreshItemBank:Dt=!1,okText:pn="\u786E\u5B9A\u5BFC\u5165"})=>{var Pn;const[Sn,Rn]=(0,x.useState)(1),[na,aa]=(0,x.useState)(0),[zn,Pa]=(0,x.useState)(""),[Ea,_n]=(0,x.useState)(!1),[wa,en]=(0,x.useState)([]),[En,Mn]=(0,x.useState)([]),[$n,Ze]=(0,x.useState)(!1),[Nt,kt]=(0,x.useState)(!1),[Wt,tn]=(0,x.useState)(!1),[Ht,mn]=(0,x.useState)(!1),[st,Pt]=(0,x.useState)([]),[dt,ln]=(0,x.useState)(1),[Nn,bn]=(0,x.useState)(!1),[la,Hn]=(0,x.useState)(!1),[lt,$t]=(0,x.useState)(!0),[Jn,nn]=(0,x.useState)(0),[kn,ea]=(0,x.useState)(1),[Ra,va]=(0,x.useState)(""),[Ge,gn]=(0,x.useState)([]),[Jt,yn]=(0,x.useState)(0),[In,Zn]=(0,x.useState)(0),[An,Dn]=(0,x.useState)(0),[Fa,La]=(0,x.useState)(0),[fn,Na]=(0,x.useState)(0),[Yn]=Le.default.useForm(),[qa]=Le.default.useForm(),Ja=(0,x.useRef)(null),Wn=(0,x.useRef)(null),sa=(0,x.useRef)(),ma=["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"],ra=["C","C++","Java","Python","JavaScript","Ruby"];(0,x.useEffect)(()=>{vn!=null&&vn.length&&ei(vn)},[vn]),(0,x.useEffect)(()=>{Sn===2&&Ja.current.focus()},[Sn]),(0,x.useEffect)(()=>{Wt&&rr()},[Wt]);const Ua=()=>{if(Sn===1){Oe.ZP.warning("\u8BF7\u5148\u4E0A\u4F20\u8BD5\u9898\uFF01");return}se.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:()=>dn(void 0,null,function*(){Rn(1)})})},rr=()=>dn(void 0,null,function*(){const Ce=yield(0,je.ZP)("/api/disciplines.json",{method:"get",params:{source:at===1?"new_question":"subject"}});Pt(Ce.disciplines||[])}),Ga=Ce=>{const sn=[],Cn=(Kn,an)=>{Kn.length>=2&&sn.push(Kn.join(""));for(let oa=an;oa(Ce=Ce||"",Ce=String(Ce),Ce=Ce.replace(/\s+/g,""),Ce),lr=Ce=>(Ce=Ce||"",Ce=String(Ce),Ce=Ce.replace(/
/g,""),Ce=Ce.replace(/
/g,` `),Ce=Ce.replace(/<\/div>/g,` `),Ce=Ir(Ce),Ce),Vr=Ce=>Ce.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),Ir=Ce=>Ce.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"),uo=Ce=>{var sn;const Cn=Ce.clipboardData;if(Cn){const Kn=Cn.types.toString(),an=Cn.items;if(Kn==="Files"||Cn.types.indexOf("Files")>-1){Ce.preventDefault();try{let oa=an[1];((sn=an[0])==null?void 0:sn.kind)==="file"&&(oa=an[0]);const ta=oa.getAsFile();(0,Ye.I)(ta,Bn=>{var On;if(Bn.id){if(((On=ta==null?void 0:ta.type)==null?void 0:On.indexOf("image"))>-1){const Aa=``;document.execCommand("insertText",!1,Aa)}}else(Bn==null?void 0:Bn.status)===401&&(document.location.href="/user/login")})}catch(oa){Oe.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};function yr(Ce,sn){return dn(this,null,function*(){if(typeof Ce=="string")return yield sn(Ce);if(typeof Ce!="object"||Ce===null)return Ce;if(Array.isArray(Ce))return yield Promise.all(Ce.map(an=>dn(this,null,function*(){return yield yr(an,sn)})));const Cn={};for(const Kn in Ce)if(Object.prototype.hasOwnProperty.call(Ce,Kn)){const an=Ce[Kn];typeof an=="string"?Cn[Kn]=yield sn(an):typeof an=="object"?Cn[Kn]=yield yr(an,sn):Cn[Kn]=an}return Cn})}const Sr=()=>dn(void 0,null,function*(){var Ce;_n(!0),Pa("\u5904\u7406\u4E2D"),yield new Promise(Kn=>setTimeout(Kn,1e3));let sn=(Ce=Wn.current)==null?void 0:Ce.querySelectorAll('[data-text="edit"]'),Cn="";try{sn.forEach(function(Kn){var an,oa,ta,Bn;const On=Kn.cloneNode(!0),Aa=On.querySelectorAll("span.edu_latex");for(let ca of Aa){const pa=ca.getAttribute("title"),Va=document.createTextNode(pa),vr=ca;(oa=(an=vr.parentNode)==null?void 0:an.replaceChild)==null||oa.call(an,Va,vr)}const Xn=On.querySelectorAll("span[style]");for(let ca of Xn)if(ca.style.fontFamily){const pa=ca.innerHTML,Va=document.createTextNode(pa),vr=ca;(Bn=(ta=vr.parentNode)==null?void 0:ta.replaceChild)==null||Bn.call(ta,Va,vr)}On==null||On.childNodes.forEach(function(ca){ca.nodeType===Node.ELEMENT_NODE&&ca.localName!=="h5"&&ca.localName!=="h4"?Cn+=`

${ca.innerHTML}

`:ca.nodeType===Node.TEXT_NODE&&(Cn+=`

${ca.textContent}

`)})}),$a("/api/intelligent_imports/import.json",{html:Ir(Cn)})}catch(Kn){console.error("\u5904\u7406\u8282\u70B9\u9519\u8BEF:",Kn)}}),Ar=Ce=>{let sn=Ce.filter(Cn=>!!(Cn!=null&&Cn.type));return sn=sn.map(Cn=>{var Kn;const an=(Kn=Po.find(ta=>ta.id===(Cn==null?void 0:Cn.type)))==null?void 0:Kn.deal,oa=Zt(hn({},Cn),{id:String(Math.random()).slice(-6),knowledgePoint:za(Cn==null?void 0:Cn.knowledgePoint)});return an?an(oa):oa}),sn},br=()=>{if(Sn===1){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!");return}se.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:Sr})},Br=()=>x.createElement("div",{className:ue.row},x.createElement("div",{className:ue.leftLayout},x.createElement(Gt,{style:{height:675}},Sn===1&&x.createElement("div",{style:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center"},onClick:()=>Rn(2)},x.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",x.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",x.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",x.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",x.createElement("br",null)),x.createElement("div",{className:ue.imgBox,style:{marginTop:75}},x.createElement("img",{width:56,src:me}),x.createElement("span",null,"\u7F16\u8F91\u533A"))),Sn===2&&x.createElement("div",{"data-text":"edit",onBlur:()=>{Ja.current.innerHTML||Rn(1)},ref:Ja,contentEditable:!0,style:{color:"#9096A3",height:"100%",overflow:"auto"}}))),x.createElement("div",{className:ue.rightLayout,style:{display:"flex",alignItems:"start",justifyContent:"center"}},x.createElement("div",{className:ue.imgBox,style:{marginTop:240}},x.createElement("img",{width:56,src:pe}),x.createElement("span",null,"\u9884\u89C8\u533A")))),Ta=(Ce,sn,Cn,Kn)=>{var an;console.log(Ce,sn,Cn,Kn,"onDataChange\u4FEE\u6539\u6570\u503C");const oa=JSON.parse(JSON.stringify(En));Kn===void 0?oa[sn][Ce]=Cn:oa[sn].questions[Kn][Ce]=Cn;const ta=hn({},oa[sn]),Bn=(an=Po.find(On=>On.id===(ta==null?void 0:ta.type)))==null?void 0:an.deal;oa[sn]=Bn(ta),Mn(oa)},or=(Ce,sn,Cn)=>{var Kn;const an=Cn!==void 0,oa=(Kn=Po.find(On=>On.id===(Ce==null?void 0:Ce.type)))==null?void 0:Kn.type,ta=`${sn+1}.${Cn===void 0?"":Cn+1+"."}`,Bn=`${(Ce==null?void 0:Ce.type)==="7"?"{{":""}${ta}\u3010${oa}\u3011${(Ce==null?void 0:Ce.question)||""}`;return x.createElement(x.Fragment,null,an&&x.createElement("h4",{contentEditable:!0}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",value:Bn}))},Lr=(Ce,sn)=>dn(void 0,null,function*(){var Cn;const Kn=yield _e(Ce,sn),an=(Cn=Kn==null?void 0:Kn.data)==null?void 0:Cn.content;if(an!=null&&an.length){const oa=Ar(an)[0];wa.splice(sn,1,oa),En.splice(sn,1,oa),en([...wa]),Mn([...En])}}),Or=(Ce,sn,Cn)=>{var Kn;const an=Cn!==void 0,oa=(Kn=Po.find(Bn=>Bn.id===(Ce==null?void 0:Ce.type)))==null?void 0:Kn.type,ta=`${sn+1}.${Cn===void 0?"":Cn+1+"."}`;return an?x.createElement("div",{style:{padding:"10px 18px"}},`${ta}\u3010${oa}\u3011`,x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"span",className:ue.edit,onBlur:Bn=>Ta("question",sn,Bn,Cn),value:(Ce==null?void 0:Ce.question)||""})):x.createElement(x.Fragment,null,x.createElement("div",{className:ue.actionHead},x.createElement("div",{className:"c-light-primary"},`${ta}\u3010${oa}\u3011`),at!==1&&x.createElement(ct.Z,{disabled:(Ce==null?void 0:Ce.type)==="7",min:0,max:100,style:{width:100,marginLeft:10},addonAfter:"\u5206",precision:1,size:"middle",onChange:Bn=>Ta("score",sn,Bn,Cn),value:Ce==null?void 0:Ce.score}),x.createElement(ot.Z,{align:"middle",style:{marginLeft:"auto"}},!!_e&&x.createElement("span",{className:"current c-light-primary mr30",onClick:()=>Lr(Ce,sn)},x.createElement("i",{className:"iconfont icon-huanyihuan mr5"}),"\u6362\u4E00\u6362"),x.createElement(Ve.default,{onChange:Bn=>Ta("checked",sn,Bn.target.checked,Cn),checked:!!(Ce!=null&&Ce.checked)},"\u4E0D\u5BFC\u5165\u6B64\u9898"))),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",style:{padding:"10px 18px"},className:ue.edit,onBlur:Bn=>Ta("question",sn,Bn,Cn),value:Ce==null?void 0:Ce.question}))},Cr=(Ce,sn,Cn)=>x.createElement(x.Fragment,null,["0","1","2","4"].includes(Ce==null?void 0:Ce.type)&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u7B54\u6848\uFF1A${sn||""}`,tagName:"p"}),!Cn&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u96BE\u5EA6\uFF1A${(Ce==null?void 0:Ce.difficulty)||""}`,tagName:"p"}),(Ce==null?void 0:Ce.type)!=="7"&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u89E3\u6790\uFF1A${(Ce==null?void 0:Ce.analyze)||""}`,tagName:"p"}),!Cn&&x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u77E5\u8BC6\u70B9\uFF1A${(Ce==null?void 0:Ce.knowledgePoint)||""}`,tagName:"p"})),$r=(Ce,sn,Cn,Kn)=>{const an=Kn!==void 0,oa=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],ta=an&&!Ce.last&&!Ce.errorMsg?{marginBottom:10}:{},Bn=oa.map(On=>({key:On,label:On,onClick:()=>Ta("difficulty",Cn,On,Kn)}));return x.createElement("div",{className:ue.liWrap,style:ta},["4"].includes(Ce==null?void 0:Ce.type)&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7B54\xA0\xA0\xA0\xA0\u6848\uFF1A"),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",className:`${ue.edit} c-black`,onBlur:On=>Ta("answer",Cn,[On],Kn),value:sn})),!an&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u96BE\xA0\xA0\xA0\xA0\u5EA6\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ue.Z,{menu:{items:Bn}},x.createElement("span",{className:"c-light-primary"},Ce==null?void 0:Ce.difficulty,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),(Ce==null?void 0:Ce.type)!=="7"&&x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u89E3\xA0\xA0\xA0\xA0\u6790\uFF1A"),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",className:`${ue.edit} c-grey-333`,onBlur:On=>Ta("analyze",Cn,On,Kn),value:Ce==null?void 0:Ce.analyze})),!an&&x.createElement("div",{onKeyDown:It,className:ue.li},x.createElement("aside",null,"\u77E5\u8BC6\u70B9\uFF1A"),x.createElement(yt,{id:Ce==null?void 0:Ce.id,tagName:"div",value:(Ce==null?void 0:Ce.knowledgePoint)||"",className:`${ue.edit} c-grey-333`,onBlur:On=>Ta("knowledgePoint",Cn,za(lr(On)),Kn)})))},jr=Ce=>x.createElement(x.Fragment,null,typeof(Ce==null?void 0:Ce.errorMsg)=="string"&&!!(Ce!=null&&Ce.errorMsg)&&x.createElement("h5",{contentEditable:!1},x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,Ce==null?void 0:Ce.errorMsg))),Xa=Ce=>x.createElement(x.Fragment,null,typeof(Ce==null?void 0:Ce.errorMsg)=="string"&&!!(Ce!=null&&Ce.errorMsg)&&x.createElement("h5",null,x.createElement("i",{className:"iconfont icon-shanchuhuanjing"}),x.createElement("div",null,Ce==null?void 0:Ce.errorMsg))),wr=(Ce,sn,Cn,Kn)=>{let an="flex";return(Ft&&Jn!==Kn||$n&&!(Cn!=null&&Cn.errorMsg))&&(an="none"),x.createElement("div",{className:ue.row,style:{display:an}},x.createElement("div",{className:ue.leftLayout},on||x.createElement(Gt,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},Ce))),x.createElement("div",{className:ue.rightLayout},x.createElement(Mt,{className:Cn!=null&&Cn.errorMsg?ue.error:""},sn)))},Po=[{id:"0",type:"\u5355\u9009\u9898",element:(Ce,sn,Cn)=>{var Kn,an;const oa=Cn!==void 0;let ta=(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn[0];const Bn=x.createElement(x.Fragment,null,or(Ce,sn,Cn),(an=Ce==null?void 0:Ce.options)==null?void 0:an.map((ca,pa)=>x.createElement(yt,{id:Ce==null?void 0:Ce.id,key:pa,value:`${ma[pa]}.${ca}`,tagName:"p"})),Cr(Ce,ta,oa),jr(Ce));let On=oa?Ce:En[sn];const Aa=On==null?void 0:On.options,Xn=x.createElement(x.Fragment,null,Or(On,sn,Cn),Aa==null?void 0:Aa.map((ca,pa)=>{var Va;return x.createElement("div",{key:pa,className:ue.option},x.createElement("aside",{className:((Va=On==null?void 0:On.answer)==null?void 0:Va[0])===ma[pa]?ue.active:"",onClick:()=>Ta("answer",sn,[ma[pa]],Cn)},ma[pa]),x.createElement(yt,{id:On==null?void 0:On.id,tagName:"div",className:`${ue.text}`,onBlur:vr=>{Aa[pa]=vr,Ta("options",sn,Aa,Cn)},value:ca}))}),$r(On,"",sn,Cn),Xa(On));return oa?[Bn,Xn]:wr(Bn,Xn,On,sn)},deal:Ce=>{var sn,Cn,Kn;Ce.score=Ce.score===void 0?2:Ce.score;let an=za((sn=Ce==null?void 0:Ce.answer)==null?void 0:sn[0]).toUpperCase();Ce.answer=an?[an]:[];let oa=[];if(!(Ce!=null&&Ce.options))oa.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{Ce.options=(Cn=Ce.options)==null?void 0:Cn.slice(0,8);const ta=Ce.options.map(On=>On==null?void 0:On.trim().replace(/^\s+|\s+$/g,""));new Set(ta).size!==ta.length&&oa.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return an||oa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AA \u201D"),an&&(ma.slice(0,((Kn=Ce==null?void 0:Ce.options)==null?void 0:Kn.length)||8).includes(an)||oa.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")),za(Ce==null?void 0:Ce.question)||oa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=oa.join(` `),Ce}},{id:"1",type:"\u591A\u9009\u9898",element:(Ce,sn,Cn)=>{var Kn,an;const oa=Cn!==void 0;let ta=(Kn=Ce==null?void 0:Ce.answer)==null?void 0:Kn[0];const Bn=x.createElement(x.Fragment,null,or(Ce,sn,Cn),(an=Ce==null?void 0:Ce.options)==null?void 0:an.map((ca,pa)=>x.createElement(yt,{id:Ce==null?void 0:Ce.id,key:pa,value:`${ma[pa]}.${ca}`,tagName:"p"})),Cr(Ce,ta,oa),jr(Ce));let On=oa?Ce:En[sn];const Aa=On==null?void 0:On.options,Xn=x.createElement(x.Fragment,null,Or(On,sn,Cn),Aa==null?void 0:Aa.map((ca,pa)=>{var Va,vr;return x.createElement("div",{key:pa,className:ue.option},x.createElement("aside",{className:(vr=(Va=On==null?void 0:On.answer)==null?void 0:Va[0])!=null&&vr.includes(ma[pa])?ue.active:"",onClick:()=>{var _r;let kr=((_r=On==null?void 0:On.answer)==null?void 0:_r[0])||"";const mo=ma[pa];kr.includes(mo)?kr=kr.replace(new RegExp(mo,"g"),""):kr+=mo,kr=kr.split("").sort().join(""),Ta("answer",sn,[kr],Cn)}},ma[pa]),x.createElement(yt,{id:On==null?void 0:On.id,tagName:"div",className:`${ue.text}`,onBlur:_r=>{Aa[pa]=_r,Ta("options",sn,Aa,Cn)},value:ca}))}),$r(On,"",sn,Cn),Xa(On));return oa?[Bn,Xn]:wr(Bn,Xn,On,sn)},deal:Ce=>{var sn,Cn,Kn;Ce.score=Ce.score===void 0?2:Ce.score;let an=za((sn=Ce==null?void 0:Ce.answer)==null?void 0:sn[0]).toUpperCase().split("").sort().join("");Ce.answer=an?[an]:[];let oa=[];if(!(Ce!=null&&Ce.options))oa.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{Ce.options=(Cn=Ce.options)==null?void 0:Cn.slice(0,8);const ta=Ce.options.map(On=>On==null?void 0:On.trim().replace(/^\s+|\s+$/g,""));new Set(ta).size!==ta.length&&oa.push("\u9009\u9879\u5185\u5BB9\u91CD\u590D")}if(an||oa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u201C \u7B54\u6848\uFF1AAB \u201D"),an){const ta=ma.slice(0,((Kn=Ce==null?void 0:Ce.options)==null?void 0:Kn.length)||8);Ga(ta).includes(an)||oa.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 za(Ce==null?void 0:Ce.question)||oa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),Ce.errorMsg=oa.join(` @@ -13,7 +13,7 @@ `)),vr}}Ce.questions=(sn=Ce.questions)!=null&&sn.length?Ar(Ce.questions.slice(0,20)):[],Ce.questions=(Cn=Ce.questions)==null?void 0:Cn.map((pa,Va)=>{var vr;if(pa.type==="0"||pa.type==="1"){const _r=(vr=pa.options)==null?void 0:vr.map(kr=>kr==null?void 0:kr.trim().replace(/^\s+|\s+$/g,""));_r&&new Set(_r).size!==_r.length&&(pa.errorMsg=(pa.errorMsg?pa.errorMsg+` `:"")+"\u9009\u9879\u5185\u5BB9\u91CD\u590D")}return Zt(hn({},pa),{last:Va===Ce.questions.length-1})});const Xn=(Kn=Ce.questions)==null?void 0:Kn.reduce((pa,Va)=>{const vr=parseFloat(Va.score);return isNaN(vr)?pa:pa+vr},0);Ce.score=Xn;let ca=[];return(an=Ce.questions)!=null&&an.length?Ce.errorMsg=((oa=Ce.questions)==null?void 0:oa.findIndex(pa=>!!pa.errorMsg))>-1:ca.push("\u8BF7\u6DFB\u52A0\u5C0F\u9898"),za(Ce==null?void 0:Ce.question)||ca.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),ca.length&&(Ce.errorMsg=ca.join(` `)),Ce}},{id:"8",type:"\u7A0B\u5E8F\u586B\u7A7A\u9898",element:(Ce,sn)=>{var Cn,Kn;const an=En[sn],oa=ra.map(ta=>({key:ta,label:ta,onClick:()=>Ta("platform",sn,ta)}));return x.createElement("div",{className:ue.row,style:{display:$n?an!=null&&an.errorMsg?"flex":"none":"flex"}},x.createElement("div",{className:ue.leftLayout},x.createElement(Gt,null,x.createElement("div",{"data-text":"edit",contentEditable:!0,className:ue.question},or(Ce,sn),Cr(Ce),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A${Ce==null?void 0:Ce.timeLimit}`,tagName:"p"}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u7F16\u7A0B\u8BED\u8A00\uFF1A${(Ce==null?void 0:Ce.platform)||""}`,tagName:"p"}),x.createElement("p",{contentEditable:!0},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement("h4",null),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:(Ce==null?void 0:Ce.code)||"",tagName:"div"}),x.createElement("h4",null),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A${(Ce==null?void 0:Ce.input)||""}`,tagName:"p"}),x.createElement(yt,{id:Ce==null?void 0:Ce.id,value:`\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A${(Ce==null?void 0:Ce.output)||""}`,tagName:"p"}),(Cn=Ce==null?void 0:Ce.answer)==null?void 0:Cn.map((ta,Bn)=>x.createElement(yt,{key:Bn,id:Ce==null?void 0:Ce.id,value:`\u7B54\u6848${Bn+1}\uFF1A${ta||""}`,tagName:"p"})),jr(Ce)))),x.createElement("div",{className:ue.rightLayout},x.createElement(Mt,{className:an!=null&&an.errorMsg?ue.error:""},Or(an,sn),$r(an,"",sn),x.createElement("div",{className:ue.liWrap},x.createElement("div",{className:ue.li,onKeyDown:It},x.createElement("aside",null,"\u65F6\u95F4\u9650\u5236\uFF08\u79D2\uFF09\uFF1A"),x.createElement(yt,{className:ue.edit,id:an==null?void 0:an.id,value:an==null?void 0:an.timeLimit,tagName:"div",onBlur:ta=>Ta("timeLimit",sn,lr(ta))})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u7F16\u7A0B\u8BED\u8A00\uFF1A"),x.createElement("div",{className:"c-black"},x.createElement(Ue.Z,{menu:{items:oa}},x.createElement("span",{className:"c-light-primary"},an==null?void 0:an.platform,x.createElement("i",{className:"iconfont icon-a-bianzu11 font14 ml4"}))))),x.createElement("div",{className:ue.li,style:{flexDirection:"column",alignItems:"start"}},x.createElement("aside",{className:"mb10"},"\u7A0B\u5E8F\u4EE3\u7801\uFF1A"),x.createElement(yt,{className:ue.edit,id:an==null?void 0:an.id,value:(an==null?void 0:an.code)||"",onBlur:ta=>Ta("code",sn,lr(ta)),tagName:"div"})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165\uFF1A"),x.createElement(yt,{className:ue.edit,id:an==null?void 0:an.id,value:(an==null?void 0:an.input)||"",onBlur:ta=>Ta("input",sn,lr(ta)),tagName:"div"})),x.createElement("div",{className:ue.li},x.createElement("aside",null,"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\uFF1A"),x.createElement(yt,{className:ue.edit,id:an==null?void 0:an.id,value:(an==null?void 0:an.output)||"",onBlur:ta=>Ta("output",sn,lr(ta)),tagName:"div"}))),x.createElement("div",{className:ue.liWrap},(Kn=an==null?void 0:an.answer)==null?void 0:Kn.map((ta,Bn)=>x.createElement("div",{className:ue.li,key:Bn},x.createElement("aside",null,"\u7B54\u6848",Bn+1,"\uFF1A"),x.createElement(yt,{id:an==null?void 0:an.id,value:ta||"",className:ue.edit,onBlur:On=>{const Aa=[...(an==null?void 0:an.answer)||[]];Aa[Bn]=lr(On),Ta("output",sn,Aa)},tagName:"div"})))),Xa(an))))},deal:Ce=>{var sn,Cn,Kn,an,oa,ta,Bn,On;Ce.score=Ce.score===void 0?10:Ce.score,Ce.code=(Kn=(Cn=(sn=Ce.code)==null?void 0:sn.trim())==null?void 0:Cn.replace(/@_@/g,"@\u2581@"))==null?void 0:Kn.replace(/@__@/g,"@\u2581\u2581@");let Aa=[];if(za(Ce==null?void 0:Ce.question)||Aa.push("\u672A\u8BC6\u522B\u5230\u9898\u5E72"),za(Ce==null?void 0:Ce.code)?/@▁@|@▁▁@/.test(Ce==null?void 0:Ce.code)?(an=Ce==null?void 0:Ce.answer)!=null&&an.length&&((oa=Ce==null?void 0:Ce.code.match(/@▁@|@▁▁@/g))==null?void 0:oa.length)!==((ta=Ce==null?void 0:Ce.answer)==null?void 0:ta.length)&&Aa.push("\u586B\u7A7A\u9879\u4E0E\u7B54\u6848\u4E2A\u6570\u4E0D\u5339\u914D\uFF0C\u8BF7\u8FDB\u884C\u8C03\u6574"):Aa.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"):Aa.push("\u672A\u8BC6\u522B\u5230\u7A0B\u5E8F\u4EE3\u7801"),Ce!=null&&Ce.answer?(Bn=Ce.answer)!=null&&Bn.some(ca=>!za(ca))&&Aa.push("\u7B54\u6848\u4E3A\u5FC5\u586B\u9879"):Aa.push("\u672A\u8BC6\u522B\u5230\u7B54\u6848\u3002\u63A8\u8350\u683C\u5F0F\uFF1A\u7B54\u68481\uFF1AHello\uFF1B\u7B54\u68482\uFF1AWorld"),Ce.platform=za(Ce==null?void 0:Ce.platform),Ce!=null&&Ce.platform){const ca=["c","c++","java","python","javascript","ruby"],pa=(On=Ce==null?void 0:Ce.platform)==null?void 0:On.toLowerCase(),Va=ca.findIndex(vr=>vr===pa);Va>-1?Ce.platform=ra[Va]:Aa.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00")}else Aa.push("\u7F16\u7A0B\u8BED\u8A00\u4E3A\u5FC5\u586B\u9879\uFF0C\u76EE\u524D\u53EA\u652F\u6301C\u3001C++\u3001Python\u3001Java\u3001JavaScript\u3001Ruby\u8BED\u8A00");za(Ce==null?void 0:Ce.output)||Aa.push("\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA\u4E3A\u5FC5\u586B\u9879");const Xn=za(String((Ce==null?void 0:Ce.timeLimit)||""));return Ce.timeLimit=Xn,(!Xn||Xn&&!["3","4","5","6","7","8","9","10"].includes(Xn))&&Aa.push("\u65F6\u95F4\u9650\u5236\u4E3A\u5FC5\u586B\u9879\uFF0C\u53EA\u652F\u63013-10\u7684\u6574\u6570"),Ce.errorMsg=Aa.join(` -`),Ce}}],$o=()=>x.createElement(x.Fragment,null,wa.filter(Ce=>{var sn;return!!((sn=Po.find(Kn=>Kn.id===(Ce==null?void 0:Ce.type)))==null?void 0:sn.element)}).map((Ce,sn)=>{var Cn;const Kn=(Cn=Po.find(an=>an.id===(Ce==null?void 0:Ce.type)))==null?void 0:Cn.element;return x.createElement(x.Fragment,{key:Ce.id},Kn(Ce,sn))})),jo=()=>dn(void 0,null,function*(){const Ce=En.filter(sn=>!sn.checked);if(Sn!==3||!Ce.length){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Yn.setFieldsValue({sub_discipline_id:Ae}),tn(!0)}),ei=Ce=>dn(void 0,null,function*(){const sn=Ar(Ce);en(sn),Mn(JSON.parse(JSON.stringify(sn))),Rn(3),_n(!1),bn(!1),Ze(!1)});(0,x.useEffect)(()=>{if(lt)return;const Ce=()=>{aa(sn=>sn>=90?(clearInterval(sa.current),90):sn+1)};return sa.current=setInterval(Ce,5e4/90),()=>clearInterval(sa.current)},[lt]);const $a=(Ce,sn)=>{$t(!1);const Cn=new FormData;Object.keys(sn).forEach(an=>{Cn.append(an,sn[an])});const Kn=new window.XMLHttpRequest;Kn.withCredentials=!0,Kn.addEventListener("load",function(an){return dn(this,null,function*(){var oa,ta;try{const Bn=JSON.parse((oa=an==null?void 0:an.target)==null?void 0:oa.response);if($t(!0),aa(100),yield new Promise(On=>setTimeout(()=>On(),780)),Bn.status===0){if(!((ta=Bn==null?void 0:Bn.data)!=null&&ta.length)){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),_n(!1);return}ei((Bn==null?void 0:Bn.data)||[])}else _n(!1),Oe.ZP.warning(Bn==null?void 0:Bn.message)}catch(Bn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Bn)}})}),Kn.addEventListener("error",()=>{_n(!1)}),Kn.open("POST",`${re.Z.API_SERVER}${Ce}`),Kn.send(Cn)},fa=Ce=>dn(void 0,null,function*(){const sn=Ce.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(sn)==-1?(Oe.ZP.error(`${Ce.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()):(_n(!0),Pa("\u5904\u7406\u4E2D"),$a("/api/intelligent_imports/import.json",{file:Ce}),Promise.reject())}),Tn=Ce=>dn(void 0,null,function*(){const sn=Ce.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()):Ce.size/1024/1024>200?(Oe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(Ge!=null&&Ge.length?se.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:()=>gn([Ce])}):gn([Ce]),Promise.reject())});let Ba=[{key:1,label:x.createElement(tt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:fa},x.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const gr=[En.length,(Pn=En.filter(Ce=>!!(Ce!=null&&Ce.errorMsg)))==null?void 0:Pn.length];return x.createElement("div",{className:Me()(ue.intelligentBox,"intelligent-body-curb",ve),style:Zt(hn({},fe),{width:qe}),ref:Wn},x.createElement("div",{className:ue.underpin},x.createElement("b",{style:Lt}),x.createElement("b",{style:Lt})),x.createElement("div",{className:ue.head,style:{top:Xe}},x.createElement("div",{className:ue.leftLayout},Qt||x.createElement(x.Fragment,null,x.createElement(ot.Z,{align:"middle"},x.createElement("div",{className:ue.title},"\u8BD5\u9898\u7F16\u8F91"),!ft&&x.createElement(ne.op,{href:`${re.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",x.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),x.createElement(ne.op,{onClick:Ua,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!ft&&x.createElement(Ue.Z,{overlayClassName:ue.menu,menu:{items:Ba}},x.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!St&&St),x.createElement("div",{className:ue.tip},x.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"))),x.createElement(ot.Z,{className:ue.rightLayout,style:{alignItems:"start"}},jt||x.createElement(x.Fragment,null,x.createElement("div",{className:ue.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Sn)&&x.createElement(Ve.default,{className:"ml20",checked:$n,onChange:Ce=>Ze(Ce.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Sn)&&x.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",x.createElement("span",{className:"ml5 mr5 c-light-primary"},gr[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",x.createElement("span",{className:"ml5 mr5 c-red-e53"},gr[1]),"\u9898")),Ft&&x.createElement("div",{className:ue.tabs},wa==null?void 0:wa.map((Ce,sn)=>x.createElement("div",{onClick:()=>{nn(sn)},className:Jn===sn&&ue.active,key:sn},"\u65B0\u9898",sn+1)))),x.createElement("div",{className:ue.centerBox},x.createElement("img",{className:"mb10",src:ye,width:56}),!cn&&x.createElement(ne.op,{onClick:br},"\u8BC6\u522B"))),[1,2].includes(Sn)&&Br(),[3].includes(Sn)&&$o(),x.createElement("div",{className:"pb10"}),x.createElement("div",{className:ue.buttonFixed},x.createElement("div",{className:ue.buttonWrap},x.createElement(Je.ZP,{size:"middle",className:`${ue.button} mr20`,onClick:Rt},"\u53D6\u6D88"),x.createElement(Je.ZP,{size:"middle",type:"primary",className:`${ue.button}`,onClick:jo},pn))),x.createElement(se.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Ea,title:null,footer:null,width:320,afterClose:()=>aa(0)},x.createElement(ot.Z,{align:"middle",style:{flexDirection:"column"}},x.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},zn,x.createElement("span",{className:ue.dotLoading},x.createElement("span",null,"."),x.createElement("span",null,"."),x.createElement("span",null,"."))),x.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:na}),x.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",x.createElement("span",{className:"ml5 c-light-primary"},na,"%")))),x.createElement(se.default,{centered:!0,open:Wt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Nt,width:480,onCancel:()=>tn(!1),onOk:()=>Yn.submit(),afterClose:()=>{Yn.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:Yn,layout:"horizontal",colon:!1,size:"large",onFinish:Ce=>dn(void 0,null,function*(){var sn,Cn,Kn,an,oa;const ta=En.filter(Aa=>!Aa.checked&&!Aa.errorMsg);kt(!0);const Bn=()=>dn(void 0,null,function*(){var Aa,Xn;const ca=yield(0,je.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(hn(hn({},xe),Ce),{list:ta,mode:at})});ca.status===0&&(Dt&&((Aa=ca==null?void 0:ca.data)!=null&&Aa.success)&&window.location.pathname==="/problemset"&&(gt.Z.publish("refresh-item-bank",Ce.group_id),yield new Promise(pa=>setTimeout(()=>pa(),1500))),Oe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Xn=ca==null?void 0:ca.data)==null?void 0:Xn.success}\u9053\u8BD5\u9898`,3),Fe(),tn(!1)),kt(!1)});if(at!==1){yield Bn();return}const On=yield(0,je.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:En,mode:at}});if(On.status===0){if(!((sn=On==null?void 0:On.data)!=null&&sn.error_size)){yield Bn();return}se.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{kt(!1)},title:"\u63D0\u793A",content:x.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",x.createElement("span",{className:"c-light-primary ml5 mr5"},(Cn=On==null?void 0:On.data)==null?void 0:Cn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",x.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Kn=On==null?void 0:On.data)==null?void 0:Kn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",x.createElement("span",{className:"ml5 mr5"},(oa=(an=On==null?void 0:On.data)==null?void 0:an.index)==null?void 0:oa.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:Bn})}})},x.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),x.createElement(Le.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"}]},x.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:st})),at===1&&x.createElement(Le.default.Item,{label:x.createElement(ot.Z,{align:"middle",style:{justifyContent:"space-between"}},x.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),x.createElement("div",{onClick:()=>mn(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},x.createElement("img",{className:"mr5 primary-hover",src:Qe}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},x.createElement(De.Z,{key:dt})))),x.createElement(se.default,{centered:!0,open:Ht,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:la,onCancel:()=>mn(!1),onOk:()=>qa.submit(),afterClose:()=>{qa.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:qa,layout:"horizontal",colon:!1,size:"large",onFinish:Ce=>dn(void 0,null,function*(){var sn;Hn(!0),(yield(0,je.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Ce.name,parent_id:(sn=Ce==null?void 0:Ce.parent_id)==null?void 0:sn[0]}})).status===0?(ln(dt+1),setTimeout(()=>{Oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),mn(!1),Hn(!1)},1e3)):Hn(!1)})},x.createElement(Le.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"}]},x.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),x.createElement(Le.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},x.createElement(De.Z,null)))),x.createElement(se.default,{centered:!0,open:Nn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>bn(!1),onOk:()=>{if(kn===1&&!za(Ra)){Oe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(kn===2&&!za(Ra)&&!(Ge!=null&&Ge.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 Ce=[{name:"\u5355\u9009\u9898",num:Jt||0},{name:"\u591A\u9009\u9898",num:In||0},{name:"\u5224\u65AD\u9898",num:An||0},{name:"\u586B\u7A7A\u9898",num:Fa||0},{name:"\u7B80\u7B54\u9898",num:fn||0}];if(Ce.reduce((Kn,an)=>Kn+an.num,0)===0){Oe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(kn,Jt,In),_n(!0),Pa("\u5904\u7406\u4E2D");const Cn={type:kn,query:Ra,item_types:JSON.stringify(Ce)};kn===2&&(Cn.file=(Ge==null?void 0:Ge[0])||null),$a("/api/intelligent_imports/large_model_intelligent_qa.json",Cn)}},x.createElement(ot.Z,{align:"middle",className:"mb10 c-black"},x.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),x.createElement(b.ZP.Group,{value:kn,onChange:Ce=>ea(Ce.target.value)},x.createElement(b.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),x.createElement(b.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),x.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:Ra,placeholder:kn===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:Ce=>{va(Ce.target.value)}}),kn===2&&x.createElement(x.Fragment,null,x.createElement(tt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:Ge,beforeUpload:Tn,className:"mb20",onRemove:()=>gn([])},x.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"},x.createElement(ne.op,{style:{borderRadius:2}},x.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),x.createElement("div",{style:{height:20}})),x.createElement(ot.Z,{align:"middle",className:"c-black"},x.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),x.createElement(ot.Z,{gutter:16},x.createElement(z.Z,null,x.createElement("label",null,"\u5355\u9009\u9898"),x.createElement(ct.Z,{min:0,max:10,value:Jt,onChange:yn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u591A\u9009\u9898"),x.createElement(ct.Z,{min:0,max:10,value:In,onChange:Zn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u5224\u65AD\u9898"),x.createElement(ct.Z,{min:0,max:10,value:An,onChange:Dn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u586B\u7A7A\u9898"),x.createElement(ct.Z,{min:0,max:10,value:Fa,onChange:La,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u7B80\u7B54\u9898"),x.createElement(ct.Z,{min:0,max:10,value:fn,onChange:Da,style:{marginLeft:"8px"}}))))))},rt=ie;var ze=ht},59879:function(Ut,Kt,te){"use strict";var x=te(59301),ue=te(88010),Be=te(48136),Me=te(41588),Le=te(43418),Oe=te(59301);const se=(0,x.forwardRef)(({callback:ct,width:ot,onChange:Ve,disabled:Ue,readOnly:tt,type:Je="",value:le="",style:y={}},a)=>{const b=(0,x.useRef)(),E=(0,x.useRef)(),[z,ne]=(0,x.useState)(0),[re,ie]=(0,x.useState)(0),[me,pe]=(0,x.useState)(!1),ye=()=>{var he=document.createElement("div");he.innerHTML=b.current.getValue();var Te=he.innerText;return ct&&ct(Te),Te};(0,x.useImperativeHandle)(a,()=>({getData:ye}));const je=he=>{he.preventDefault();const Te=he.clientX-z,Ye=he.clientY-re;document.body.onmousemove=bt=>{let Ne=bt.clientX-Te,ut=bt.clientY-Ye;const Bt=document.getElementsByClassName("markdown-popup-form")[0],yt=window.innerWidth-Bt.offsetWidth,gt=window.innerHeight-Bt.offsetHeight;Ne=Math.max(0,Math.min(Ne,yt)),ut=Math.max(0,Math.min(ut,gt)),De(bt.clientX,bt.clientY,Te,Ye)&&(ne(Ne),ie(ut))},document.body.onmouseup=function(){document.body.onmousemove=null}},De=(he,Te,Ye,bt)=>{const Ne=document.body.clientHeight,ut=document.body.clientWidth;return he<20&&Ye>he||he>ut-20&&YeTe||Te>Ne-20&&bt{me&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],Te=window.innerWidth/2-he.offsetWidth/2,Ye=window.innerHeight/2-he.offsetHeight/2;ne(Te),ie(Ye)},0)},[me]);const Qe=()=>{Ue||tt||pe(!0)};return Oe.createElement("div",{style:y},Oe.createElement("div",{style:{width:ot||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${Ue||tt?"cursorDefault":""}`,onClick:()=>Qe()},Oe.createElement("math-field",{disabled:Ue,locale:"zh_cn",class:`${ue.Z.mathField} ${Je}`,readOnly:tt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:le?18:14},value:le||""})),Oe.createElement(Le.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:me,onOk:()=>{const he=E.current.getData();b.current.setValue(he),Ve(he),pe(!1)},onCancel:()=>{pe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Oe.createElement(Me.Z,{value:le,ref:E,onChange:Ve,showSaveButton:!1})))});Kt.Z=se},41588:function(Ut,Kt,te){"use strict";var x=te(59301),ue=te(95237),Be=te(43604),Me=te(99313),Le=te(3113),Oe=te(85149),se=te(88010),ct=te(48136),ot=te(59301);const Ve=(0,x.forwardRef)(({callback:Ue,showSaveButton:tt,value:Je=""},le)=>{const y=(0,x.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 "}]}]}],b=[{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 +`),Ce}}],$o=()=>x.createElement(x.Fragment,null,wa.filter(Ce=>{var sn;return!!((sn=Po.find(Kn=>Kn.id===(Ce==null?void 0:Ce.type)))==null?void 0:sn.element)}).map((Ce,sn)=>{var Cn;const Kn=(Cn=Po.find(an=>an.id===(Ce==null?void 0:Ce.type)))==null?void 0:Cn.element;return x.createElement(x.Fragment,{key:Ce.id},Kn(Ce,sn))})),jo=()=>dn(void 0,null,function*(){const Ce=En.filter(sn=>!sn.checked);if(Sn!==3||!Ce.length){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898\uFF01");return}Yn.setFieldsValue({sub_discipline_id:Ae}),tn(!0)}),ei=Ce=>dn(void 0,null,function*(){const sn=Ar(Ce);en(sn),Mn(JSON.parse(JSON.stringify(sn))),Rn(3),_n(!1),bn(!1),Ze(!1)});(0,x.useEffect)(()=>{if(lt)return;const Ce=()=>{aa(sn=>sn>=90?(clearInterval(sa.current),90):sn+1)};return sa.current=setInterval(Ce,5e4/90),()=>clearInterval(sa.current)},[lt]);const $a=(Ce,sn)=>{$t(!1);const Cn=new FormData;Object.keys(sn).forEach(an=>{Cn.append(an,sn[an])});const Kn=new window.XMLHttpRequest;Kn.withCredentials=!0,Kn.addEventListener("load",function(an){return dn(this,null,function*(){var oa,ta;try{const Bn=JSON.parse((oa=an==null?void 0:an.target)==null?void 0:oa.response);if($t(!0),aa(100),yield new Promise(On=>setTimeout(()=>On(),780)),Bn.status===0){if(!((ta=Bn==null?void 0:Bn.data)!=null&&ta.length)){Oe.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898!"),_n(!1);return}ei((Bn==null?void 0:Bn.data)||[])}else _n(!1),Oe.ZP.warning(Bn==null?void 0:Bn.message)}catch(Bn){console.log("\u8BF7\u6C42\u9519\u8BEF\uFF1A",Bn)}})}),Kn.addEventListener("error",()=>{_n(!1)}),Kn.open("POST",`${re.Z.API_SERVER}${Ce}`),Kn.send(Cn)},fa=Ce=>dn(void 0,null,function*(){const sn=Ce.name.split(".").slice(-1)[0].toLowerCase();return["docx"].indexOf(sn)==-1?(Oe.ZP.error(`${Ce.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()):(_n(!0),Pa("\u5904\u7406\u4E2D"),$a("/api/intelligent_imports/import.json",{file:Ce}),Promise.reject())}),Tn=Ce=>dn(void 0,null,function*(){const sn=Ce.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()):Ce.size/1024/1024>200?(Oe.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(Ge!=null&&Ge.length?se.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:()=>gn([Ce])}):gn([Ce]),Promise.reject())});let Ba=[{key:1,label:x.createElement(tt.default,{showUploadList:!1,accept:".docx",maxCount:1,beforeUpload:fa},x.createElement("div",{style:{padding:"0 5px",width:108,height:35,lineHeight:"35px"}},"\u672C\u5730\u5BFC\u5165"))}];const gr=[En.length,(Pn=En.filter(Ce=>!!(Ce!=null&&Ce.errorMsg)))==null?void 0:Pn.length];return x.createElement("div",{className:Me()(ue.intelligentBox,"intelligent-body-curb",ve),style:Zt(hn({},fe),{width:qe}),ref:Wn},x.createElement("div",{className:ue.underpin},x.createElement("b",{style:Lt}),x.createElement("b",{style:Lt})),x.createElement("div",{className:ue.head,style:{top:Xe}},x.createElement("div",{className:ue.leftLayout},Qt||x.createElement(x.Fragment,null,x.createElement(ot.Z,{align:"middle"},x.createElement("div",{className:ue.title},"\u8BD5\u9898\u7F16\u8F91"),!ft&&x.createElement(ne.op,{href:`${re.Z.API_SERVER}/api/intelligent_imports/download_template`,download:!0,type:"link"},"\u4E0B\u8F7DWord\u6A21\u7248",x.createElement("i",{className:"iconfont icon-xiazai4 font14 ml10"})),x.createElement(ne.op,{onClick:Ua,shape:"default"},"\u4E00\u952E\u6E05\u7A7A"),!ft&&x.createElement(Ue.Z,{overlayClassName:ue.menu,menu:{items:Ba}},x.createElement(ne.op,{className:"ml20",type:"primary",shape:"default"},"\u5BFC\u5165\u8BD5\u9898")),!!St&&St),x.createElement("div",{className:ue.tip},x.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"))),x.createElement(ot.Z,{className:ue.rightLayout,style:{alignItems:"start"}},jt||x.createElement(x.Fragment,null,x.createElement("div",{className:ue.title,style:{marginRight:0}},"\u8BD5\u9898\u9884\u89C8"),[3].includes(Sn)&&x.createElement(Ve.default,{className:"ml20",checked:$n,onChange:Ce=>Ze(Ce.target.checked)},"\u4EC5\u67E5\u770B\u9519\u8BEF\u8BD5\u9898"),[3].includes(Sn)&&x.createElement("div",{style:{color:"#5F6368",marginLeft:"auto"}},"\u5171\u8BC6\u522B",x.createElement("span",{className:"ml5 mr5 c-light-primary"},gr[0]),"\u9898\uFF0C\u5176\u4E2D\u8BC6\u522B\u6709\u8BEF",x.createElement("span",{className:"ml5 mr5 c-red-e53"},gr[1]),"\u9898")),Ft&&x.createElement("div",{className:ue.tabs},wa==null?void 0:wa.map((Ce,sn)=>x.createElement("div",{onClick:()=>{nn(sn)},className:Jn===sn&&ue.active,key:sn},"\u65B0\u9898",sn+1)))),x.createElement("div",{className:ue.centerBox},x.createElement("img",{className:"mb10",src:ye,width:56}),!cn&&x.createElement(ne.op,{onClick:br},"\u8BC6\u522B"))),[1,2].includes(Sn)&&Br(),[3].includes(Sn)&&$o(),x.createElement("div",{className:"pb10"}),x.createElement("div",{className:ue.buttonFixed},x.createElement("div",{className:ue.buttonWrap},x.createElement(Je.ZP,{size:"middle",className:`${ue.button} mr20`,onClick:Rt},"\u53D6\u6D88"),x.createElement(Je.ZP,{size:"middle",type:"primary",className:`${ue.button}`,onClick:jo},pn))),x.createElement(se.default,{centered:!0,closable:!1,destroyOnClose:!0,open:Ea,title:null,footer:null,width:320,afterClose:()=>aa(0)},x.createElement(ot.Z,{align:"middle",style:{flexDirection:"column"}},x.createElement("b",{style:{color:"#5F6368"},className:"font16 mb5 mt20"},zn,x.createElement("span",{className:ue.dotLoading},x.createElement("span",null,"."),x.createElement("span",null,"."),x.createElement("span",null,"."))),x.createElement(le.Z,{style:{width:"auto"},size:[200,8],showInfo:!1,percent:na}),x.createElement("div",{style:{color:"#5F6368"},className:"mb20"},"\u6B63\u5728\u8BC6\u522B\uFF0C\u5DF2\u5B8C\u6210",x.createElement("span",{className:"ml5 c-light-primary"},na,"%")))),x.createElement(se.default,{centered:!0,open:Wt,title:"\u8BD5\u9898\u5BFC\u5165\u8BBE\u7F6E",confirmLoading:Nt,width:480,onCancel:()=>tn(!1),onOk:()=>Yn.submit(),afterClose:()=>{Yn.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:Yn,layout:"horizontal",colon:!1,size:"large",onFinish:Ce=>dn(void 0,null,function*(){var sn,Cn,Kn,an,oa;const ta=En.filter(Aa=>!Aa.checked&&!Aa.errorMsg);kt(!0);const Bn=()=>dn(void 0,null,function*(){var Aa,Xn;const ca=yield(0,je.ZP)("/api/intelligent_imports/save.json",{method:"post",body:Zt(hn(hn({},xe),Ce),{list:ta,mode:at})});ca.status===0&&(Dt&&((Aa=ca==null?void 0:ca.data)!=null&&Aa.success)&&window.location.pathname==="/problemset"&&(gt.Z.publish("refresh-item-bank",Ce.group_id),yield new Promise(pa=>setTimeout(()=>pa(),1500))),Oe.ZP.success(`\u6210\u529F\u5BFC\u5165${(Xn=ca==null?void 0:ca.data)==null?void 0:Xn.success}\u9053\u8BD5\u9898`,3),Fe(),tn(!1)),kt(!1)});if(at!==1){yield Bn();return}const On=yield(0,je.ZP)("/api/intelligent_imports/is_repeated.json",{method:"post",body:{list:En,mode:at}});if(On.status===0){if(!((sn=On==null?void 0:On.data)!=null&&sn.error_size)){yield Bn();return}se.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onCancel:()=>{kt(!1)},title:"\u63D0\u793A",content:x.createElement("div",{style:{overflow:"auto",maxHeight:500}},"\u5171",x.createElement("span",{className:"c-light-primary ml5 mr5"},(Cn=On==null?void 0:On.data)==null?void 0:Cn.all_size),"\u9053\u8BD5\u9898\uFF0C\u5176\u4E2D",x.createElement("span",{style:{color:"#FF9D18"},className:"ml5 mr5"},(Kn=On==null?void 0:On.data)==null?void 0:Kn.error_size),"\u9053\u8BD5\u9898\u91CD\u590D\uFF08\u7B2C",x.createElement("span",{className:"ml5 mr5"},(oa=(an=On==null?void 0:On.data)==null?void 0:an.index)==null?void 0:oa.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:Bn})}})},x.createElement("div",{className:"c-grey-999 mb20"},"\u63D0\u793A\uFF1A\u8BC6\u522B\u6709\u8BEF\u7684\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u5BFC\u5165"),x.createElement(Le.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"}]},x.createElement(y.Z,{placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},options:st})),at===1&&x.createElement(Le.default.Item,{label:x.createElement(ot.Z,{align:"middle",style:{justifyContent:"space-between"}},x.createElement("span",null,"\u653E\u5165\u6587\u4EF6\u5939\u76EE\u5F55"),x.createElement("div",{onClick:()=>mn(!0),style:{marginLeft:211,transform:"translateX(14px)",display:"flex",color:"#5F6368",cursor:"pointer"}},x.createElement("img",{className:"mr5 primary-hover",src:Qe}),"\u65B0\u5EFA\u6587\u4EF6\u5939")),rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"group_id",labelCol:{span:24},wrapperCol:{span:24}},x.createElement(De.Z,{key:dt})))),x.createElement(se.default,{centered:!0,open:Ht,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",destroyOnClose:!0,width:480,confirmLoading:la,onCancel:()=>mn(!1),onOk:()=>qa.submit(),afterClose:()=>{qa.resetFields()}},x.createElement(Le.default,{style:{maxHeight:550},form:qa,layout:"horizontal",colon:!1,size:"large",onFinish:Ce=>dn(void 0,null,function*(){var sn;Hn(!0),(yield(0,je.ZP)("/api/item_banks_groups.json",{method:"post",body:{name:Ce.name,parent_id:(sn=Ce==null?void 0:Ce.parent_id)==null?void 0:sn[0]}})).status===0?(ln(dt+1),setTimeout(()=>{Oe.ZP.success("\u64CD\u4F5C\u6210\u529F"),mn(!1),Hn(!1)},1e3)):Hn(!1)})},x.createElement(Le.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"}]},x.createElement(a.default,{maxLength:60,showCount:!0,placeholder:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0"})),x.createElement(Le.default.Item,{label:"\u6587\u4EF6\u5939\u4F4D\u7F6E",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6587\u4EF6\u5939"}],name:"parent_id"},x.createElement(De.Z,null)))),x.createElement(se.default,{centered:!0,open:Nn,title:"\u5927\u6A21\u578B\u667A\u80FD\u51FA\u9898",width:814,okText:"\u751F\u6210\u8BD5\u9898",onCancel:()=>bn(!1),onOk:()=>{if(kn===1&&!za(Ra)){Oe.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(kn===2&&!za(Ra)&&!(Ge!=null&&Ge.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 Ce=[{name:"\u5355\u9009\u9898",num:Jt||0},{name:"\u591A\u9009\u9898",num:In||0},{name:"\u5224\u65AD\u9898",num:An||0},{name:"\u586B\u7A7A\u9898",num:Fa||0},{name:"\u7B80\u7B54\u9898",num:fn||0}];if(Ce.reduce((Kn,an)=>Kn+an.num,0)===0){Oe.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}console.log(kn,Jt,In),_n(!0),Pa("\u5904\u7406\u4E2D");const Cn={type:kn,query:Ra,item_types:JSON.stringify(Ce)};kn===2&&(Cn.file=(Ge==null?void 0:Ge[0])||null),$a("/api/intelligent_imports/large_model_intelligent_qa.json",Cn)}},x.createElement(ot.Z,{align:"middle",className:"mb10 c-black"},x.createElement("div",{className:"mr10"},"\u51FA\u9898\u8981\u6C42"),x.createElement(b.ZP.Group,{value:kn,onChange:Ce=>ea(Ce.target.value)},x.createElement(b.ZP,{value:1,className:"c-black"},"\u6839\u636E\u77E5\u8BC6\u70B9\u51FA\u9898"),x.createElement(b.ZP,{value:2,className:"ml40 c-black"},"\u6839\u636E\u6750\u6599\u51FA\u9898"))),x.createElement(a.default.TextArea,{style:{height:120},className:"mb20",value:Ra,placeholder:kn===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:Ce=>{va(Ce.target.value)}}),kn===2&&x.createElement(x.Fragment,null,x.createElement(tt.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:Ge,beforeUpload:Tn,className:"mb20",onRemove:()=>gn([])},x.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"},x.createElement(ne.op,{style:{borderRadius:2}},x.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),x.createElement("div",{style:{height:20}})),x.createElement(ot.Z,{align:"middle",className:"c-black"},x.createElement("div",{className:"mb10"},"\u51FA\u9898\u6570\u91CF"),x.createElement(ot.Z,{gutter:16},x.createElement(z.Z,null,x.createElement("label",null,"\u5355\u9009\u9898"),x.createElement(ct.Z,{min:0,max:10,value:Jt,onChange:yn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u591A\u9009\u9898"),x.createElement(ct.Z,{min:0,max:10,value:In,onChange:Zn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u5224\u65AD\u9898"),x.createElement(ct.Z,{min:0,max:10,value:An,onChange:Dn,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u586B\u7A7A\u9898"),x.createElement(ct.Z,{min:0,max:10,value:Fa,onChange:La,style:{marginLeft:"8px"}})),x.createElement(z.Z,null,x.createElement("label",null,"\u7B80\u7B54\u9898"),x.createElement(ct.Z,{min:0,max:10,value:fn,onChange:Na,style:{marginLeft:"8px"}}))))))},rt=ie;var ze=ht},59879:function(Ut,Kt,te){"use strict";var x=te(59301),ue=te(88010),Be=te(48136),Me=te(41588),Le=te(43418),Oe=te(59301);const se=(0,x.forwardRef)(({callback:ct,width:ot,onChange:Ve,disabled:Ue,readOnly:tt,type:Je="",value:le="",style:y={}},a)=>{const b=(0,x.useRef)(),E=(0,x.useRef)(),[z,ne]=(0,x.useState)(0),[re,ie]=(0,x.useState)(0),[me,pe]=(0,x.useState)(!1),ye=()=>{var he=document.createElement("div");he.innerHTML=b.current.getValue();var Te=he.innerText;return ct&&ct(Te),Te};(0,x.useImperativeHandle)(a,()=>({getData:ye}));const je=he=>{he.preventDefault();const Te=he.clientX-z,Ye=he.clientY-re;document.body.onmousemove=bt=>{let Ne=bt.clientX-Te,ut=bt.clientY-Ye;const Bt=document.getElementsByClassName("markdown-popup-form")[0],yt=window.innerWidth-Bt.offsetWidth,gt=window.innerHeight-Bt.offsetHeight;Ne=Math.max(0,Math.min(Ne,yt)),ut=Math.max(0,Math.min(ut,gt)),De(bt.clientX,bt.clientY,Te,Ye)&&(ne(Ne),ie(ut))},document.body.onmouseup=function(){document.body.onmousemove=null}},De=(he,Te,Ye,bt)=>{const Ne=document.body.clientHeight,ut=document.body.clientWidth;return he<20&&Ye>he||he>ut-20&&YeTe||Te>Ne-20&&bt{me&&setTimeout(()=>{const he=document.getElementsByClassName("markdown-popup-form")[0],Te=window.innerWidth/2-he.offsetWidth/2,Ye=window.innerHeight/2-he.offsetHeight/2;ne(Te),ie(Ye)},0)},[me]);const Qe=()=>{Ue||tt||pe(!0)};return Oe.createElement("div",{style:y},Oe.createElement("div",{style:{width:ot||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${Ue||tt?"cursorDefault":""}`,onClick:()=>Qe()},Oe.createElement("math-field",{disabled:Ue,locale:"zh_cn",class:`${ue.Z.mathField} ${Je}`,readOnly:tt,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:b,style:{width:"100%",fontSize:le?18:14},value:le||""})),Oe.createElement(Le.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:me,onOk:()=>{const he=E.current.getData();b.current.setValue(he),Ve(he),pe(!1)},onCancel:()=>{pe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Oe.createElement(Me.Z,{value:le,ref:E,onChange:Ve,showSaveButton:!1})))});Kt.Z=se},41588:function(Ut,Kt,te){"use strict";var x=te(59301),ue=te(95237),Be=te(43604),Me=te(99313),Le=te(3113),Oe=te(85149),se=te(88010),ct=te(48136),ot=te(59301);const Ve=(0,x.forwardRef)(({callback:Ue,showSaveButton:tt,value:Je=""},le)=>{const y=(0,x.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 "}]}]}],b=[{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 @@ -81,7 +81,7 @@ \\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:se.Z.lists,gutter:[10,10]},a.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:se.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:`$$${re.value}$$`}),re.name),ot.createElement("div",{className:se.Z.children},re.children.map((me,pe)=>ot.createElement("div",{key:pe},ot.createElement("h1",null,me.name),ot.createElement(ue.Z,{gutter:[10,10]},me.data.map((ye,je)=>ot.createElement(Be.Z,{key:je,onClick:()=>E(ye),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ot.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},b.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:se.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),ot.createElement("div",{className:se.Z.children},re.children.map((me,pe)=>ot.createElement("div",{key:pe},me.name&&ot.createElement("h1",null,me.name),ot.createElement(ue.Z,{gutter:[10,10]},me.data.map((ye,je)=>ot.createElement(Be.Z,{key:je,onClick:()=>E(ye),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var ie=re.innerText;return Ue&&Ue(ie),ie};return(0,x.useImperativeHandle)(le,()=>({getData:ne})),ot.createElement("div",{className:se.Z.mathWrap},ot.createElement(Me.default,{defaultActiveKey:"1",items:z}),ot.createElement("math-field",{locale:"zh_cn",className:se.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:se.Z.button},ot.createElement(Le.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Kt.Z=Ve},87198:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return tt}});var x=te(59301),ue=te(78241),Be=te(43418),Me=te(92832),Le=te(87169),Oe=te(99064),se={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},ct=te(86918),ot=te(59301),Ve=(Je,le,y)=>new Promise((a,b)=>{var E=re=>{try{ne(y.next(re))}catch(ie){b(ie)}},z=re=>{try{ne(y.throw(re))}catch(ie){b(ie)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(E,z);ne((y=y.apply(Je,le)).next())}),tt=({type:Je="subject",open:le,onCancel:y,onOkClick:a,subDisciplineId:b})=>{const[E]=ue.default.useForm(),[z,ne]=(0,x.useState)([]),[re,ie]=(0,x.useState)(!1);(0,x.useEffect)(()=>{},[]);const me=()=>Ve(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:le,width:558,centered:!0,className:se.publicQuest,onCancel:()=>{y(),E.resetFields()},onOk:()=>{E.validateFields().then(pe=>Ve(void 0,null,function*(){const ye=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe==null?void 0:pe.name,sub_discipline_id:b}});(ye==null?void 0:ye.status)===0&&a({name:pe==null?void 0:pe.name,id:ye==null?void 0:ye.tag_discipline_id,public:!1,type:"personal"}),E.resetFields(),y()}))}},ot.createElement("div",{className:se.publicQuestContent},ot.createElement("div",{className:se.public_tips},ot.createElement(Le.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(Me.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),ot.createElement(ct.Z,{open:re,onCancel:()=>{ie(!1)}})))}},67248:function(Ut,Kt,te){"use strict";te.d(Kt,{Q:function(){return ot},Z:function(){return Ue}});var x=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),Me=te.n(Be),Le=te(43418),Oe=te(8591),se=te(24905),ct=(tt,Je,le)=>new Promise((y,a)=>{var b=ne=>{try{z(le.next(ne))}catch(re){a(re)}},E=ne=>{try{z(le.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(b,E);z((le=le.apply(tt,Je)).next())});const ot=({title:tt="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Je=[],visible:le,setVisible:y,tip:a,onOk:b})=>{const[E,z]=(0,x.useState)([]),[ne,re]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{le&&z(Je)},[le]),x.createElement(Le.default,{centered:!0,open:le,title:tt,confirmLoading:ne,width:564,onOk:()=>ct(void 0,null,function*(){if(!E.length){Oe.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield b(E),re(!1)}),onCancel:()=>y(!1)},!!a&&x.createElement("div",{className:"c-grey-666 font16 mb10"},a),x.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},x.createElement(se.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 Ue=({title:tt="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Je,style:le={},onEdit:y,dataSource:a=[]})=>{const b={C:x.createElement("div",{className:ue.c},"C"),"C++":x.createElement("div",{className:ue.cpp},"C++"),Java:x.createElement("div",{className:ue.java},"Java"),Python:x.createElement("div",{className:ue.python},"Python")};return x.createElement("div",{className:Me()(ue.tags,Je),style:le},!!tt&&x.createElement("div",{className:ue.text},tt),x.createElement("div",{className:ue.tagWrap},a==null?void 0:a.map(E=>x.createElement(x.Fragment,{key:E},b[E]))),!!y&&x.createElement("div",{onClick:y,className:`iconfont icon-bianji_Hover ${ue.edit}`}))}},90502:function(Ut,Kt,te){"use strict";te.d(Kt,{t:function(){return rt}});var x=te(59301),ue=te(92832),Be=te(78241),Me=te(43418),Le=te(95237),Oe=te(43604),se=te(5871),ct=te(57809),ot=te(5112),Ve=te(41984),Ue=te(89070),tt=te(43809),Je=te(8591),le=te(3113),y=te(71418),a=te(24334),b={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(99064),z=te(88264),ne=te(12290),re=te(56102),ie=te(74440),me=te(59301),pe=Object.defineProperty,ye=Object.defineProperties,je=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Te=(ze,ve,fe)=>ve in ze?pe(ze,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ze[ve]=fe,Ye=(ze,ve)=>{for(var fe in ve||(ve={}))Qe.call(ve,fe)&&Te(ze,fe,ve[fe]);if(De)for(var fe of De(ve))he.call(ve,fe)&&Te(ze,fe,ve[fe]);return ze},bt=(ze,ve)=>ye(ze,je(ve)),Ne=(ze,ve,fe)=>new Promise((qe,Rt)=>{var Fe=Xe=>{try{at(fe.next(Xe))}catch(Ae){Rt(Ae)}},xe=Xe=>{try{at(fe.throw(Xe))}catch(Ae){Rt(Ae)}},at=Xe=>Xe.done?qe(Xe.value):Promise.resolve(Xe.value).then(Fe,xe);at((fe=fe.apply(ze,ve)).next())}),Bt=({buttonProps:ze,buttonText:ve,form:fe,hackIdentifier:qe="",answerKey:Rt,data:Fe})=>{const[xe,at]=(0,x.useState)(!1),[Xe,Ae]=(0,x.useState)(!1),[ft,vn]=(0,x.useState)(!1),[Qt,jt]=(0,x.useState)({}),[on,cn]=(0,x.useState)(""),[_e,Ft]=(0,x.useState)(""),Lt=(0,x.useRef)(qe),St=(0,x.useRef)(""),Dt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{ft&&Rn()},[ft]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const pn=()=>new Date().getTime(),Pn=Fe==null?void 0:Fe.code,Sn=()=>{var zn,Pa;let Ea=Pn?Fe==null?void 0:Fe.code:(zn=fe.getFieldValue("hack_codes"))==null?void 0:zn.code,_n=Pn?Fe==null?void 0:Fe.answer_content:fe.getFieldValue(Rt),wa=Pn?Fe==null?void 0:Fe.input:(Pa=fe.getFieldValue("hack_sets"))==null?void 0:Pa.input;_n==null||_n.forEach(en=>{const En=en.value||en.answer_text||"";Ea=Ea.replace(/(@▁@|@▁▁@)/,En)}),Ft(wa),cn(Ea),jt({}),vn(!0)},Rn=()=>Ne(void 0,null,function*(){var zn,Pa,Ea,_n;const wa=pn(),en=Pn?Fe==null?void 0:Fe.time_limit:(zn=fe.getFieldsValue())==null?void 0:zn.hack.time_limit,En=Pn?(Pa=Fe==null?void 0:Fe.answer_content)==null?void 0:Pa.length:(_n=(Ea=fe.getFieldsValue())==null?void 0:Ea.standard_answers)==null?void 0:_n.length;at(!0),yield(0,z.bM)(St.current,{test_hack_code:on,test_input:_e});function Mn(){return Ne(this,null,function*(){const{status:$n,data:Ze}=yield(0,z.rX)(St.current,"submit"),kt=pn()-wa>(en+3)*1e3*En;if(Dt.current){if(kt){Je.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),at(!1);return}if($n===0){at(!1),jt(bt(Ye({},Ze),{showText:!0}));return}setTimeout(Mn,1e3)}})}Mn()}),na=()=>Ne(void 0,null,function*(){var zn,Pa,Ea,_n,wa,en,En;if(!Fe){try{yield fe.validateFields()}catch(Nt){(Ea=(Pa=(zn=Nt==null?void 0:Nt.errorFields)==null?void 0:zn[0])==null?void 0:Pa.name)!=null&&Ea.includes("standard_answers")?Je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Je.ZP.error(Nt.errorFields[0].errors[0]),fe.scrollToField(Nt.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ae(!0);let $n="";const Ze=fe.getFieldsValue();Lt.current?$n=yield(0,E.ZP)(`/api/problems/${Lt.current}.json`,{method:"put",body:bt(Ye({},Ze),{hack:bt(Ye({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(En=(en=Ze==null?void 0:Ze.hack)==null?void 0:en.sub_discipline_id)==null?void 0:En[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:bt(Ye({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),update_hack_sets:[Ye({},Ze.hack_sets)],is_blank:!0})}):($n=yield(0,E.ZP)("/api/problems.json",{method:"post",body:bt(Ye({},Ze),{hack:bt(Ye({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(wa=(_n=Ze==null?void 0:Ze.hack)==null?void 0:_n.sub_discipline_id)==null?void 0:wa[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:bt(Ye({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),hack_sets:[Ye({},Ze.hack_sets)],is_blank:!0})}),Lt.current=$n==null?void 0:$n.identifier,sessionStorage.projectFill=$n==null?void 0:$n.identifier)}const Mn=yield(0,E.ZP)(`/api/problems/${Lt.current}/start.json`,{method:"get"});if((Mn==null?void 0:Mn.status)===0){St.current=Mn==null?void 0:Mn.identifier,Dt.current=!0,Ae(!1),Sn();return}Ae(!1)}),aa=zn=>{const{status:Pa,error_msg:Ea,execute_time:_n,output:wa,input:en,expected_output:En}=zn;let Mn=null;switch(Pa){case ie.h.OK:Mn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",_n/1e3,"\u79D2"),me.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:Mn=me.createElement(me.Fragment,null,me.createElement("div",null,"\u8F93\u5165\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},en),me.createElement("div",null,"\u8F93\u51FA\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},wa&&a.Base64.decode(wa)),me.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},En&&a.Base64.decode(En)));break;case ie.h.EXECUTEFAILURE:Mn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",me.createElement("pre",null,en)),me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:"error"},a.Base64.decode(Ea)));break;case ie.h.COMPILEFAILURE:Mn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",me.createElement("pre",null,en)),me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:"error"},a.Base64.decode(Ea)));break;case ie.h.PODFAILURE:Mn=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:Mn=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",Mn," ")};return me.createElement("div",null,me.createElement(le.ZP,bt(Ye({loading:Xe},ze),{onClick:na}),ve),me.createElement(Me.default,{open:ft,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:xe,cancelButtonProps:{style:{display:"none"}},onOk:()=>Rn(),onCancel:()=>{Dt.current=!1,vn(!1)}},me.createElement("div",{className:b.result},me.createElement("div",{className:b.left},me.createElement("div",{className:"mb20"},me.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Fe&&me.createElement(re.CopyToClipboard,{text:on,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},me.createElement("span",{style:{float:"right"},className:"current c-light-primary"},me.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),me.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:on,onChange:zn=>cn(zn)})),me.createElement("div",{className:b.right},me.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),me.createElement("div",{className:b.box},me.createElement("div",{className:b.li},me.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:_e,onChange:zn=>Ft(zn.target.value),bordered:!1,style:{height:180}}))),me.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),me.createElement("div",{className:b.box},me.createElement(y.Z,{spinning:xe,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},me.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},aa(Qt))))))))},yt=te(87169),gt=te(59301),Yt=Object.defineProperty,vt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,qt=(ze,ve,fe)=>ve in ze?Yt(ze,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ze[ve]=fe,hn=(ze,ve)=>{for(var fe in ve||(ve={}))nt.call(ve,fe)&&qt(ze,fe,ve[fe]);if(xn)for(var fe of xn(ve))et.call(ve,fe)&&qt(ze,fe,ve[fe]);return ze},Zt=(ze,ve)=>vt(ze,rn(ve)),dn=(ze,ve)=>{var fe={};for(var qe in ze)nt.call(ze,qe)&&ve.indexOf(qe)<0&&(fe[qe]=ze[qe]);if(ze!=null&&xn)for(var qe of xn(ze))ve.indexOf(qe)<0&&et.call(ze,qe)&&(fe[qe]=ze[qe]);return fe};const{TextArea:We}=ue.default,It=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Gt=({value:ze,onChange:ve})=>gt.createElement(Switch,{checked:ze,onChange:fe=>{ve(fe)}}),Mt="@\u2581@",ht="@\u2581\u2581@",rt=({questionTitlePlaceholder:ze,form:ve,scoreByBlank:fe=!1,hackidentifier:qe,answerKey:Rt})=>{const[Fe,xe]=(0,x.useState)(!1),[at,Xe]=(0,x.useState)(!1),ft=(0,Ue.useParams)().type==="edit",vn=(St,Dt)=>{const pn=Dt.line;let Pn=0;for(let Rn=0;Rn{const Sn=St.getRange(Dt.from,Dt.to);let Rn=0;if(Dt.text.forEach(na=>{Rn+=na.split(Mt).length-1}),Dt.text.forEach(na=>{Rn+=na.split(ht).length-1}),Dt.origin!=="setValue"){if(Sn&&(Sn.indexOf(Mt)!==-1||Sn.indexOf(ht)!==-1)){const na=Sn.split(Mt).length-1+Sn.split(ht).length-1,aa=vn(St,Dt.from);if(console.log(`\u5220\u9664${na}\u4E2A\uFF0C \u524D\u9762\u6709${aa}\u4E2A\uFF0C\u65B0\u589E${Rn}\u4E2A`),na>1){const zn=Array.from({length:na},(Pa,Ea)=>aa+Ea);Pn(zn)}else Pn(aa)}else if(Rn>0){const na=vn(St,Dt.from);console.log(`\u65B0\u589E${Rn}\u4E2A\uFF0C\u4E4B\u524D\u6709${na}\u4E2A`),pn(Rn,na)}}},jt=()=>{const St=ve.getFieldValue(Rt);ve.setFieldsValue({[Rt]:St==null?void 0:St.map((Dt,pn)=>Zt(hn({},Dt),{position:pn+1}))})},on=(0,x.useRef)(),cn=(St,Dt)=>{for(let pn=0;pn{_e.current(St),jt()},Lt=Be.default.useWatch(Rt,ve);return gt.createElement("div",{className:tt.Z.wrap},gt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),gt.createElement("div",{className:tt.Z.questionTitleEditorWrap},gt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(St,Dt)=>{const pn=ve.getFieldValue(Rt);console.log("--preAnswerData",pn,Dt),ve.setFieldsValue({[Rt]:pn==null?void 0:pn.map((Pn,Sn)=>{var Rn;return Zt(hn({},Pn),{position:Sn+1,multi_line:(Rn=Dt==null?void 0:Dt[Sn])==null?void 0:Rn.multiLine})})})},placeholder:ze,onCMBeforeChange:(St,Dt)=>{Qt(St,Dt,cn,Ft)}}))),gt.createElement(Be.default.List,{name:Rt,rules:[{validator(St,Dt){if(!(Dt!=null&&Dt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const pn of Dt){const{answer_text:Pn}=pn||{};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()}}]},(St,{add:Dt,remove:pn},{errors:Pn})=>(on.current=Dt,_e.current=pn,gt.createElement(gt.Fragment,null,gt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},gt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),gt.createElement("div",{onClick:()=>{Me.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:gt.createElement("div",null,gt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",gt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),gt.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"}},gt.createElement(yt.Z,{style:{marginRight:3,color:"#3061D0"}}),gt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),St.map((Sn,Rn)=>{var na=Sn,{key:aa,name:zn}=na,Pa=dn(na,["key","name"]),Ea,_n;return gt.createElement(Le.Z,{className:"mb20",key:aa,align:"middle",wrap:!1},gt.createElement(Oe.Z,{flex:"0 0 auto",className:`${tt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Rn+1),gt.createElement(Oe.Z,{flex:1},gt.createElement(Le.Z,{align:"top",justify:"space-between",wrap:!1},gt.createElement(Oe.Z,null,gt.createElement(Be.default.Item,Zt(hn({},Pa),{name:[zn,"answer_text"],noStyle:!0}),(Ea=Lt==null?void 0:Lt[zn])!=null&&Ea.multi_line||(_n=Lt==null?void 0:Lt[zn])!=null&&_n.multiLine?gt.createElement(We,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(ue.default,{style:{marginLeft:10,width:550},className:tt.Z.blankInput,size:"large",maxLength:1e3,onBlur:wa=>{}}))),fe&>.createElement(Oe.Z,{flex:"224px"},gt.createElement(Be.default.Item,Zt(hn({},Pa),{name:[zn,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(se.Z,{size:"large",className:tt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>xe(!0)},gt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},gt.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))),gt.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"}]},gt.createElement(ct.default,{size:"large"},It.map(St=>gt.createElement(ct.default.Option,{key:St.title,value:St.key}," ",St.title)))),gt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},gt.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},gt.createElement(se.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),gt.createElement("span",{className:"ml10 font14"},"\u79D2")),gt.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"}]},gt.createElement(ot.ZP.Group,{style:{marginTop:-10}},gt.createElement(ot.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),gt.createElement(ot.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),gt.createElement(ot.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),gt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),gt.createElement("div",{style:{background:"#F6F7F9",padding:15}},gt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},gt.createElement(We,{rows:4})),gt.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"}]},gt.createElement(We,{rows:4}))),gt.createElement(Bt,{form:ve,answerKey:Rt,hackIdentifier:qe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:gt.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"}}}))}},65357:function(Ut,Kt,te){"use strict";te.d(Kt,{u:function(){return me}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(6848),Le=te(78241),Oe=te(43809),se=te(32134),ct=te(12893),ot=te(41984),Ve=te(59301),Ue=Object.defineProperty,tt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(pe,ye,je)=>ye in pe?Ue(pe,ye,{enumerable:!0,configurable:!0,writable:!0,value:je}):pe[ye]=je,E=(pe,ye)=>{for(var je in ye||(ye={}))y.call(ye,je)&&b(pe,je,ye[je]);if(le)for(var je of le(ye))a.call(ye,je)&&b(pe,je,ye[je]);return pe},z=(pe,ye)=>tt(pe,Je(ye)),ne=(pe,ye)=>{var je={};for(var De in pe)y.call(pe,De)&&ye.indexOf(De)<0&&(je[De]=pe[De]);if(pe!=null&&le)for(var De of le(pe))ye.indexOf(De)<0&&a.call(pe,De)&&(je[De]=pe[De]);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:ye,choiceTextKey:je,answerKey:De,index:Qe,isEdit:he,setInputActive:Te,form:Ye,choiceOptionsPath:bt,allowChangeMode:Ne,showAddIcon:ut,addItem:Bt,deleteItem:yt})=>{console.log(pe,"value");const gt=(pe==null?void 0:pe[De])===1,Yt=()=>{const rn=Ye.getFieldValue(bt);Ye.setFieldValue(bt,rn.map(xn=>z(E({},xn),{[De]:0})))},vt=()=>{gt?ye(z(E({},pe),{[De]:0})):(Ne||Yt(),ye(z(E({},pe),{[De]:1})))};return Ve.createElement(ue.Z,{className:Oe.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:vt,className:`${Oe.Z.choiceIndex} ${gt?Oe.Z.activeAnswer:""}`},re[Qe]),Ve.createElement(Be.Z,{flex:1,className:`${Oe.Z.editorWrap} ml15`,onClick:Te},Ve.createElement(ot.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:pe==null?void 0:pe[je],onChange:rn=>{ye(z(E({},pe),{[je]:rn}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:vt,className:`${Oe.Z.setAnswerBtn} ${gt?Oe.Z.activeAnswer:""}`},gt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:Oe.Z.actionWrapper},Ve.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(se.Z,{className:Oe.Z.addIcon,onClick:Bt,style:{visibility:ut?"visible":"hidden"}})),Ve.createElement(Me.Z,{title:"\u5220\u9664"},Ve.createElement(ct.Z,{className:Oe.Z.deleteIcon,onClick:yt,style:{visibility:Qe>1?"visible":"hidden"}}))))},me=({questionTitlePlaceholder:pe,titleKey:ye,choiceKey:je,analysisKey:De,choiceTextKey:Qe,answerKey:he,choiceOptionsPath:Te,allowChangeMode:Ye=!0,form:bt,showAnalysis:Ne=!0})=>{const[ut,Bt]=(0,x.useState)(),[yt,gt]=(0,x.useState)(!1);return Ve.createElement("div",{className:Oe.Z.wrap},Ve.createElement("div",{className:Oe.Z.questionTitleEditorWrap},Ve.createElement(Le.default.Item,{label:"\u9898\u5E72",name:ye,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(ot.h,{scrollId:Array.isArray(ye)?ye.join("_"):`${ye}`,watch:!0,height:140,placeholder:pe}))),Ve.createElement(Le.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Le.default.List,{name:je,rules:[{validator(Yt,vt){const rn=vt.some(nt=>nt[he]===1),xn=vt.findIndex(nt=>{var et;return((et=nt[Qe])==null?void 0:et.length)<=0});return xn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[xn]}\u9009\u9879\u7684\u5185\u5BB9`)):rn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Yt,{add:vt,remove:rn})=>Ve.createElement("div",{id:Array.isArray(Te)?Te.join("_"):`${Te}`},Yt.map((xn,nt)=>{var et=xn,{key:qt,name:hn}=et,Zt=ne(et,["key","name"]);const dn=ut===qt,We=()=>{Bt(qt)},It=nt<7&&nt===Yt.length-1,Gt=()=>vt({[Qe]:"",[he]:0}),Mt=()=>rn(hn);return Ve.createElement(Le.default.Item,z(E({},Zt),{key:qt,name:hn,className:Oe.Z.choiceListWrap,rules:[{validator(ht,rt){return rt!=null&&rt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[nt]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ie,{choiceTextKey:Qe,answerKey:he,index:nt,isEdit:dn,setInputActive:We,form:bt,choiceOptionsPath:Te,allowChangeMode:Ye,showAddIcon:It,addItem:Gt,deleteItem:Mt}))}),Yt.length<8&&Ve.createElement("div",{className:`${Oe.Z.addBtn} mb30`,onClick:()=>vt({[Qe]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ne&&Ve.createElement("div",{onClick:()=>gt(!0)},Ve.createElement(Le.default.Item,{name:De,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(ot.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},70472:function(Ut,Kt,te){"use strict";te.d(Kt,{u:function(){return Ye}});var x=te(59301),ue=te(43418),Be=te(95237),Me=te(43604),Le=te(92832),Oe=te(6848),se=te(78673),ct=te(78241),ot=te(5112),Ve=te(5871),Ue=te(41984),tt=te(12893),Je=te(61485),le=te(43809),y=te(59879),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,me=(bt,Ne,ut)=>Ne in bt?b(bt,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ut}):bt[Ne]=ut,pe=(bt,Ne)=>{for(var ut in Ne||(Ne={}))re.call(Ne,ut)&&me(bt,ut,Ne[ut]);if(ne)for(var ut of ne(Ne))ie.call(Ne,ut)&&me(bt,ut,Ne[ut]);return bt},ye=(bt,Ne)=>E(bt,z(Ne)),je=(bt,Ne)=>{var ut={};for(var Bt in bt)re.call(bt,Bt)&&Ne.indexOf(Bt)<0&&(ut[Bt]=bt[Bt]);if(bt!=null&&ne)for(var Bt of ne(bt))Ne.indexOf(Bt)<0&&ie.call(bt,Bt)&&(ut[Bt]=bt[Bt]);return ut};const De=({value:bt,onChange:Ne})=>{const ut=yt=>{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:le.Z.modal,onOk:()=>{const gt=[...bt];gt.splice(yt,1),Ne(gt)}})},Bt=()=>{const yt=[...bt];yt.push(""),Ne(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},bt==null?void 0:bt.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,className:"mb20"},a.createElement(Le.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:yt,autoSize:{maxRows:3},maxLength:1e3,onBlur:Yt=>{const vt=[...bt],rn=Yt.target.value.trim();vt[gt]=rn,Ne(vt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ut(gt)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{Bt()}},"\u65B0\u589E\u7B54\u6848")))},Qe=({value:bt,onChange:Ne})=>{const ut=yt=>{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:le.Z.modal,onOk:()=>{const gt=[...bt];gt.splice(yt,1),Ne(gt)}})},Bt=()=>{const yt=[...bt];yt.push(""),Ne(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},bt==null?void 0:bt.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:yt,style:{flex:1},onChange:Yt=>{const vt=[...bt];vt[gt]=Yt,Ne(vt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ut(gt)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{Bt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:bt=!0,onChange:Ne})=>a.createElement(se.Z,{checked:!bt,onChange:ut=>{Ne(!ut)}}),Te="\u2581",Ye=({questionTitlePlaceholder:bt,form:Ne,scoreByBlank:ut=!1,answerKey:Bt})=>{const[yt,gt]=(0,x.useState)(!1),Yt=(Zt,dn)=>{const We=dn.line;let It=0;for(let Mt=0;Mt{const Gt=Zt.getRange(dn.from,dn.to);let Mt=0;if(dn.text.forEach(ht=>{Mt+=ht.split(Te).length-1}),dn.origin!=="setValue"){if(Gt&&Gt.indexOf(Te)!==-1){const ht=Gt.split(Te).length-1,rt=Yt(Zt,dn.from);if(console.log(`\u5220\u9664${ht}\u4E2A\uFF0C \u524D\u9762\u6709${rt}\u4E2A\uFF0C\u65B0\u589E${Mt}\u4E2A`),ht>1){const ze=Array.from({length:ht},(ve,fe)=>rt+fe);It(ze)}else It(rt)}else if(Mt>0){const ht=Yt(Zt,dn.from);console.log(`\u65B0\u589E${Mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ht}\u4E2A`),We(Mt,ht)}}},rn=()=>{const Zt=Ne.getFieldValue(Bt);Ne.setFieldsValue({[Bt]:Zt.map((dn,We)=>ye(pe({},dn),{position:We+1}))})},xn=(0,x.useRef)(),nt=(Zt,dn)=>{for(let We=0;We{et.current(Zt),rn()},hn=ct.default.useWatch(Bt,Ne);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(ct.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ue.h,{scrollId:"name",watch:!0,height:140,placeholder:bt,showNullButton:!0,onCMBeforeChange:(Zt,dn)=>{vt(Zt,dn,nt,qt)}}))),a.createElement(ct.default.List,{name:Bt,rules:[{validator(Zt,dn){if(!(dn!=null&&dn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const We of dn){const{answer_text:It}=We||{};if(It!=null&&It.some(Gt=>(Gt==null?void 0:Gt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:dn,remove:We},{errors:It})=>(xn.current=dn,et.current=We,a.createElement(a.Fragment,null,a.createElement(ct.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.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}}),Zt.map((Gt,Mt)=>{var ht=Gt,{key:rt,name:ze}=ht,ve=je(ht,["key","name"]),fe,qe;return a.createElement("div",{style:{marginBottom:10},key:rt},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Me.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",Mt+1),a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"model"],noStyle:!0}),a.createElement(ot.ZP.Group,{onChange:()=>{const Rt=Ne.getFieldValue(Bt);Ne.setFieldsValue({[Bt]:Rt.map((Fe,xe)=>ye(pe({},Fe),{answer_text:ze===xe?[""]: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(Me.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"answer_text"],noStyle:!0}),((qe=(fe=Ne.getFieldValue(Bt))==null?void 0:fe[ze])==null?void 0:qe.model)===1?a.createElement(De,null):a.createElement(Qe,null))),ut&&a.createElement(Me.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"position"],noStyle:!0}),a.createElement(Le.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(ct.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Me.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(ct.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Me.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":`${le.Z.hide}`},a.createElement(ct.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Me.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:()=>gt(!0)},a.createElement(ct.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},11832:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ne}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(78241),Le=te(43809),Oe=te(41984),se=te(59301),ct=Object.defineProperty,ot=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,le=(re,ie,me)=>ie in re?ct(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):re[ie]=me,y=(re,ie)=>{for(var me in ie||(ie={}))tt.call(ie,me)&&le(re,me,ie[me]);if(Ue)for(var me of Ue(ie))Je.call(ie,me)&&le(re,me,ie[me]);return re},a=(re,ie)=>ot(re,Ve(ie)),b=(re,ie)=>{var me={};for(var pe in re)tt.call(re,pe)&&ie.indexOf(pe)<0&&(me[pe]=re[pe]);if(re!=null&&Ue)for(var pe of Ue(re))ie.indexOf(pe)<0&&Je.call(re,pe)&&(me[pe]=re[pe]);return me};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:me})=>{const pe=(re==null?void 0:re.is_answer)===1,ye=re==null?void 0:re.choice_text,je=()=>{const De=me.getFieldsValue().choices.map(Qe=>({choice_text:Qe.choice_text,is_answer:0}));me.setFieldsValue({choices:De}),ie(a(y({},re),{is_answer:1}))};return se.createElement(ue.Z,{className:Le.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},se.createElement(Be.Z,{onClick:je,className:`${Le.Z.choiceIndex} ${Le.Z.judgementIndex} ${pe?Le.Z.activeAnswer:""}`},E[ye]),se.createElement(Be.Z,{flex:1,className:`${Le.Z.editorWrap} ml15`},se.createElement("div",{className:`${Le.Z.inputBorder} ${Le.Z.placeholder} ${pe?Le.Z.activeJudgementAnswer:""}`},ye)),se.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},se.createElement("div",{onClick:je,className:`${Le.Z.setAnswerBtn} ${pe?Le.Z.activeAnswer:""}`},pe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ie,form:me})=>{const[pe,ye]=(0,x.useState)(!1);return se.createElement("div",{className:Le.Z.wrap},se.createElement("div",{className:Le.Z.questionTitleEditorWrap},se.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},se.createElement(Oe.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),se.createElement(Me.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},se.createElement(Me.default.List,{name:"choices",rules:[{validator(je,De){return De.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},je=>se.createElement("div",{id:"choices"},je.map(De=>{var Qe=De,{key:he,name:Te}=Qe,Ye=b(Qe,["key","name"]);return se.createElement(Me.default.Item,a(y({},Ye),{key:he,name:Te,noStyle:!0}),se.createElement(z,{form:me}))})))),se.createElement("div",{onClick:()=>ye(!0)},se.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},se.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))))}},41984:function(Ut,Kt,te){"use strict";te.d(Kt,{h:function(){return y},x:function(){return a}});var x=te(12290),ue=te(43809),Be=te(85149),Me=te(59301),Le=Object.defineProperty,Oe=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ue=(b,E,z)=>E in b?Le(b,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[E]=z,tt=(b,E)=>{for(var z in E||(E={}))ot.call(E,z)&&Ue(b,z,E[z]);if(ct)for(var z of ct(E))Ve.call(E,z)&&Ue(b,z,E[z]);return b},Je=(b,E)=>Oe(b,se(E)),le=(b,E)=>{var z={};for(var ne in b)ot.call(b,ne)&&E.indexOf(ne)<0&&(z[ne]=b[ne]);if(b!=null&&ct)for(var ne of ct(b))E.indexOf(ne)<0&&Ve.call(b,ne)&&(z[ne]=b[ne]);return z};const y=b=>{var E=b,{value:z,onChange:ne,scrollId:re}=E,ie=le(E,["value","onChange","scrollId"]);return Me.createElement("div",{id:re||""},Me.createElement(x.Z,Je(tt({},ie),{defaultValue:z,onChange:(me,pe)=>{pe!=null&&pe.length?ne(me,pe):ne(me)}})))},a=({value:b,onChange:E,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ie,watch:me=!0})=>re?Me.createElement(x.Z,{watch:me,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:b,onChange:E,miniToolbar:ie}):Me.createElement("div",{style:{cursor:"pointer"}},b?Me.createElement(Be.Z,{className:ue.Z.inputBorder,value:b}):Me.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},z))},35173:function(Ut,Kt,te){"use strict";te.d(Kt,{W:function(){return Qe}});var x=te(59301),ue=te(8591),Be=te(12563),Me=te(78241),Le=te(78673),Oe=te(95237),se=te(43604),ct=te(6848),ot=te(92832),Ve=te(5871),Ue=te(43809),tt=te(41984),Je=te(12290),le=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,Te,Ye)=>Te in he?y(he,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):he[Te]=Ye,ie=(he,Te)=>{for(var Ye in Te||(Te={}))z.call(Te,Ye)&&re(he,Ye,Te[Ye]);if(E)for(var Ye of E(Te))ne.call(Te,Ye)&&re(he,Ye,Te[Ye]);return he},me=(he,Te)=>a(he,b(Te)),pe=(he,Te)=>{var Ye={};for(var bt in he)z.call(he,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=he[bt]);if(he!=null&&E)for(var bt of E(he))Te.indexOf(bt)<0&&ne.call(he,bt)&&(Ye[bt]=he[bt]);return Ye};const ye=he=>{var Te=he,{value:Ye,onChange:bt}=Te,Ne=pe(Te,["value","onChange"]);const ut=Bt=>{bt([Bt])};return x.createElement(Je.Z,me(ie({},Ne),{defaultValue:Ye==null?void 0:Ye[0],onChange:ut}))},je=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Te=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==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},De=({value:he=[],onClose:Te})=>x.createElement(Be.default,{closable:!0,onClose:Te,className:Ue.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),Qe=({questionTitlePlaceholder:he,form:Te,showKeywords:Ye,isMustKeyWords:bt=Ye})=>{const[Ne,ut]=(0,x.useState)(!1),[Bt,yt]=(0,x.useState)(""),gt=Me.default.useWatch("use_keywords",Te),Yt=Me.default.useWatch("question_score",Te);return x.createElement("div",{className:Ue.Z.wrap},x.createElement("div",{className:Ue.Z.questionTitleEditorWrap},x.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(tt.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),x.createElement(Me.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(ye,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ye&&!bt&&x.createElement(Me.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,{defaultChecked:!0})),Ye&&bt&&x.createElement(Oe.Z,{align:"middle",className:"mb30"},x.createElement(Me.default.Item,{name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,null)),x.createElement(se.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(se.Z,null,x.createElement(ct.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"},x.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!bt)&&x.createElement(Me.default.List,{name:"keywords",rules:[{validator(vt,rn){return bt?rn!=null&&rn.length?(rn==null?void 0:rn.reduce((nt,et)=>nt+et.score,0))>parseFloat(Yt)?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()}}]},(vt,{add:rn,remove:xn})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ue.Z.title} mb10`},bt?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Oe.Z,{align:"middle",className:"font14 mb30"},x.createElement(se.Z,{flex:1},x.createElement(ot.default,{value:Bt,onChange:nt=>{yt(nt.target.value)},maxLength:50,allowClear:!0,onPressEnter:nt=>{var et,qt,hn,Zt;const dn=`${(et=nt.target)==null?void 0:et.value}`,We=(hn=(qt=dn==null?void 0:dn.split("|"))==null?void 0:qt.filter(Mt=>!!Mt))==null?void 0:hn.map(Mt=>Mt==null?void 0:Mt.trim()),It=Te.getFieldValue("keywords"),Gt=((Zt=It==null?void 0:It.map(Mt=>Mt==null?void 0:Mt.keyword))==null?void 0:Zt.flat())||[];for(const Mt of We)if(Gt.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(dn)&&(rn({keyword:We,score:1}),yt(""))},className:Ue.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"})),x.createElement(se.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),vt.map(nt=>{var et=nt,{key:qt,name:hn}=et,Zt=pe(et,["key","name"]);return x.createElement(Oe.Z,{key:qt,className:"mb20",style:{marginRight:148}},x.createElement(se.Z,{flex:1},x.createElement(Oe.Z,{align:"middle",justify:"space-between"},x.createElement(Me.default.Item,me(ie({},Zt),{name:[hn,"keyword"]}),x.createElement(De,{onClose:()=>xn(hn)})),bt&&x.createElement(Me.default.Item,me(ie({},Zt),{name:[hn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ue.Z.blankInputNumberWrapper}),x.createElement(Ve.Z,{className:Ue.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>ut(!0)},x.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(tt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ne}))))}},27693:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Le}});var x={text:"text___bQulM",sup:"sup___rX_Y3"},ue=te(78241),Be=te(59301),Le=({text:Oe,name:se="question_score"})=>{const ct=({value:ot})=>Be.createElement("div",{className:x.text},Be.createElement("span",{className:x.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:se},Be.createElement(ct,null))}},97692:function(Ut,Kt,te){"use strict";te.d(Kt,{h:function(){return re}});var x=te(59301),ue=te(57809),Be=te(78241),Me=te(3113),Le=te(89780),Oe=te.n(Le),se=te(37036),ct=te(95625),ot=Object.defineProperty,Ve=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,y=(ie,me,pe)=>me in ie?ot(ie,me,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ie[me]=pe,a=(ie,me)=>{for(var pe in me||(me={}))Je.call(me,pe)&&y(ie,pe,me[pe]);if(tt)for(var pe of tt(me))le.call(me,pe)&&y(ie,pe,me[pe]);return ie},b=(ie,me)=>Ve(ie,Ue(me));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"]};Kt.Z=({callback:ie,onCancel:me})=>{const[pe,ye]=(0,x.useState)("python");function je(Qe){ye(ne[Qe][1])}function De(Qe){ie(Qe)}return x.createElement(Be.default,b(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,style:{width:500}}),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ue.default,{getPopupContainer:Qe=>Qe.parentNode,onChange:je},Object.keys(ne).map(Qe=>x.createElement(E,{key:Qe,value:Qe},ne[Qe][0])))),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(re,{mode:pe})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Me.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function re({value:ie,onChange:me,mode:pe,options:ye={}}){const je=(0,x.useRef)(),[De,Qe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(De){let he=function(Te){const Ye=Te.getValue();me&&me(Ye)};return De.on("change",he),()=>{De.off("change",he)}}},[De,me]),(0,x.useEffect)(()=>{De&&De.setOption("mode",pe)},[De,pe]),(0,x.useEffect)(()=>{De&&(ie!==De.getValue()||ie==="")&&setTimeout(()=>{De.setValue(ie||"")},300)},[De,ie]),(0,x.useEffect)(()=>{if(je.current&&!De){const he=Oe().fromTextArea(je.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));Qe(he)}},[je.current,De]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:je}))}},12290:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return mn}});var x=te(59301),ue=te(89780),Be=te.n(ue),Me=te(76374),Le=te(37036),Oe=te(6313),se=te(25717),ct=te(99498),ot=te(25419),Ve=te(67549),Ue=te(85149),tt=({value:st="",className:Pt,showTextOnly:dt,showLines:ln,style:Nn={}})=>{const bn=(0,x.useMemo)(()=>"",[st]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:bn}}))},Je=te(59301),le=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(st,Pt,dt)=>Pt in st?le(st,Pt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):st[Pt]=dt,re=(st,Pt)=>{for(var dt in Pt||(Pt={}))E.call(Pt,dt)&&ne(st,dt,Pt[dt]);if(b)for(var dt of b(Pt))z.call(Pt,dt)&&ne(st,dt,Pt[dt]);return st},ie=(st,Pt)=>y(st,a(Pt));let me=[{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:Pt,icon:dt,actionName:ln,className:Nn="",children:bn}){function la(){st(ln)}return Je.createElement("a",{title:Pt,className:Nn,onClick:la},Je.createElement("i",{className:`${dt}`}),bn)}var ye=({watch:st,showNullButton:Pt,showNullProgramButton:dt,onActionCallback:ln,fullScreen:Nn,insertTemp:bn,hidetoolBar:la,extraUse:Hn})=>{const lt=[...me,{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"},!la&<.map(($t,Jn)=>Je.createElement("li",{key:Jn},$t.actionName?Je.createElement(pe,ie(re({},$t),{onActionCallback:ln})):Je.createElement("span",{className:"v-line"}))),Pt?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:ln},Je.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?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:ln},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:ln},Je.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,bn&&Je.createElement("li",null,Je.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${bn}`,onActionCallback:ln},Je.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Hn&&Je.createElement("li",null,Hn),Je.createElement("li",{className:"btn-full-screen"},Je.createElement(pe,{icon:`${Nn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Nn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ln})))},je=te(79346),De=te(78241),Qe=te(92832),he=te(3113),Te=Object.defineProperty,Ye=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(st,Pt,dt)=>Pt in st?Te(st,Pt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):st[Pt]=dt,gt=(st,Pt)=>{for(var dt in Pt||(Pt={}))ut.call(Pt,dt)&&yt(st,dt,Pt[dt]);if(Ne)for(var dt of Ne(Pt))Bt.call(Pt,dt)&&yt(st,dt,Pt[dt]);return st},Yt=(st,Pt)=>Ye(st,bt(Pt));const vt={labelCol:{span:4},wrapperCol:{span:20}};var rn=({callback:st,onCancel:Pt})=>{function dt(ln){st(ln)}return x.createElement(De.default,Yt(gt({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,style:{width:500}}),x.createElement(De.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Qe.default,null)),x.createElement(De.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Qe.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(he.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},xn=te(97692),nt=te(28451),et=te(43418),qt=te(95237),hn=te(73524),Zt=te(59301),dn=({callback:st,onCancel:Pt})=>{const dt=document.createElement("canvas"),ln=dt.getContext("2d");dt.width=1e3,dt.height=800,ln.fillStyle="#ffffff",ln.fillRect(0,0,dt.width,dt.height);const Nn=dt.toDataURL("image/png");return Zt.createElement(et.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(qt.Z,{style:{height:"100vh"}},Zt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Nn,visible:!0,title:String(Date.now())},onOk:bn=>{st({src:bn.url})},onClose:Pt})))},We=te(12378);function It(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(It,go.CommandHandler),It.prototype.canAlignSelection=function(){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<2)},It.prototype.alignLeft=function(){var st=this.diagram;st.startTransaction("aligning left");var Pt=1/0;st.selection.each(function(dt){dt instanceof go.Link||(Pt=Math.min(dt.position.x,Pt))}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(Pt,dt.position.y))}),st.commitTransaction("aligning left")},It.prototype.alignRight=function(){var st=this.diagram;st.startTransaction("aligning right");var Pt=-1/0;st.selection.each(function(dt){if(!(dt instanceof go.Link)){var ln=dt.actualBounds.x+dt.actualBounds.width;Pt=Math.max(ln,Pt)}}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(Pt-dt.actualBounds.width,dt.position.y))}),st.commitTransaction("aligning right")},It.prototype.alignTop=function(){var st=this.diagram;st.startTransaction("alignTop");var Pt=1/0;st.selection.each(function(dt){dt instanceof go.Link||(Pt=Math.min(dt.position.y,Pt))}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,Pt))}),st.commitTransaction("alignTop")},It.prototype.alignBottom=function(){var st=this.diagram;st.startTransaction("aligning bottom");var Pt=-1/0;st.selection.each(function(dt){if(!(dt instanceof go.Link)){var ln=dt.actualBounds.y+dt.actualBounds.height;Pt=Math.max(ln,Pt)}}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,Pt-dt.actualBounds.height))}),st.commitTransaction("aligning bottom")},It.prototype.alignCenterX=function(){var st=this.diagram,Pt=st.selection.first();if(Pt){st.startTransaction("aligning Center X");var dt=Pt.actualBounds.x+Pt.actualBounds.width/2;st.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(dt-ln.actualBounds.width/2,ln.actualBounds.y))}),st.commitTransaction("aligning Center X")}},It.prototype.alignCenterY=function(){var st=this.diagram,Pt=st.selection.first();if(Pt){st.startTransaction("aligning Center Y");var dt=Pt.actualBounds.y+Pt.actualBounds.height/2;st.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(ln.actualBounds.x,dt-ln.actualBounds.height/2))}),st.commitTransaction("aligning Center Y")}},It.prototype.alignColumn=function(st){var Pt=this.diagram;Pt.startTransaction("align Column"),st===void 0&&(st=0),st=parseFloat(st);var dt=new Array;Pt.selection.each(function(Hn){Hn instanceof go.Link||dt.push(Hn)});for(var ln=0;ln0){for(var Hn=bn.elt(la-1);Hn!==null&&Hn.isTreeExpanded&&!Hn.isTreeLeaf;){var lt=this._sortTreeChildrenByY(Hn);Hn=lt.last()}Hn!==null&&st.select(Hn)}else st.select(Nn)}}else if(dt.key==="Down")if(Pt.isTreeExpanded&&!Pt.isTreeLeaf){var ln=this._sortTreeChildrenByY(Pt).first();ln!==null&&st.select(ln)}else for(;Pt!==null;){var Nn=Pt.findTreeParentNode();if(Nn===null)break;var bn=this._sortTreeChildrenByY(Nn),la=bn.indexOf(Pt);if(labn.y?1:Nn.xbn.x?1:0}),Pt},It.prototype.copyToClipboard=function(st){go.CommandHandler.prototype.copyToClipboard.call(this,st),this._lastPasteOffset.set(this.pasteOffset)},It.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(It.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(It.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 Gt=It,Mt=te(74413),ht=te(43604),rt=te(99064),ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=te(59301),fe=(st,Pt,dt)=>new Promise((ln,Nn)=>{var bn=lt=>{try{Hn(dt.next(lt))}catch($t){Nn($t)}},la=lt=>{try{Hn(dt.throw(lt))}catch($t){Nn($t)}},Hn=lt=>lt.done?ln(lt.value):Promise.resolve(lt.value).then(bn,la);Hn((dt=dt.apply(st,Pt)).next())});function qe({onCancel:st,callback:Pt}){let dt=(0,x.useRef)(),ln=(0,x.useRef)(),Nn=(0,x.useRef)(),bn=(0,x.useRef)(!1);const la=(0,x.useRef)(!1),[Hn,lt]=(0,x.useState)(0);function $t(){const nn=We.bx.make,kn={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"};dt.current=new We.S0(ln.current,{padding:20,grid:nn(We.s_,"Grid",nn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Wn=>{var sa=Wn.diagram.commandHandler.addTopLevelParts(Wn.diagram.selection,!0);sa||Wn.diagram.currentTool.doCancel()},commandHandler:nn(Gt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Wn=>{var sa=Wn.subject;sa.location=sa.location.copy().snapToGridPoint(Wn.diagram.grid.gridOrigin,Wn.diagram.grid.gridCellSize),setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Wn=>{var sa=Wn.subject;setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Wn=>{var sa=Wn.parameter.part;sa.invalidateConnectedLinks();var ma=Wn.subject;Wn.diagram.toolManager.linkingTool.isForwards?ma.toNode.invalidateConnectedLinks():ma.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=nn(We.NB,"Auto",{locationSpot:We.z6.Center,locationObjectName:"SHAPE",desiredSize:new We.$u(120,60),minSize:new We.$u(40,40),resizable:!0,resizeCellSize:new We.$u(10,10),rotatable:!0},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),new We.KX("desiredSize","size",We.$u.parse).makeTwoWay(We.$u.stringify),nn(We.bn,{name:"SHAPE",fill:kn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("figure"),new We.KX("fill"),new We.KX("stroke","borderColor"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),nn(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),nn(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=nn("ToolTip",nn(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},nn(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),nn(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function ea(Wn,sa){var ma=(ra,Ua)=>{ra.handled=!0,ra.diagram.model.commit(rr=>{var Ga=Ua.part.adornedPart,za=new We.E9().setRectSpot(Ga.actualBounds,Wn);za.subtract(Ga.location),za.scale(2,2),za.x+=Math.sign(za.x)*130,za.y+=Math.sign(za.y)*130,za.add(Ga.location),za.snapToGridPoint(ra.diagram.grid.gridOrigin,ra.diagram.grid.gridCellSize);var lr=rr.copyNodeData(Ga.data);rr.setGroupKeyForNodeData(lr,rr.getGroupKeyForNodeData(Ga.data)),rr.addNodeData(lr);var Vr={from:Ga.key,to:rr.getKeyForNodeData(lr)};rr.addLinkData(Vr);var Ir=ra.diagram.findNodeForData(lr);Ir.location=za,ra.diagram.select(Ir),setTimeout(()=>{ra.diagram.commandHandler.editTextBlock()},20)})};return nn(We.bn,{figure:sa,alignment:Wn,alignmentFocus:Wn.opposite(),width:Wn.equals(We.z6.Top)||Wn.equals(We.z6.Bottom)?25:18,height:Wn.equals(We.z6.Top)||Wn.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:kn.white,strokeWidth:4,mouseEnter:(ra,Ua)=>Ua.fill="dodgerblue",mouseLeave:(ra,Ua)=>Ua.fill="orange",isActionable:!0,click:ma,contextClick:ma})}function Ra(Wn){return nn(We.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,ma)=>ma.fill="dodgerblue",mouseLeave:(sa,ma)=>ma.fill="orange",click:(sa,ma)=>{sa.diagram.commandHandler.showContextMenu(ma.part.adornedPart)}},Wn||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=nn(We.uz,"Spot",nn(We.Vm,{padding:10}),ea(We.z6.Top,"TriangleUp"),ea(We.z6.Left,"TriangleLeft"),ea(We.z6.Right,"TriangleRight"),ea(We.z6.Bottom,"TriangleDown"),Ra({alignment:new We.z6(.75,0)}));function va(Wn,sa){return(ma,ra)=>{ma.handled=!0,ma.diagram.model.commit(Ua=>{Ua.set(ra.part.adornedPart.data,Wn,sa)})}}function Ge(Wn,sa){return sa||(sa="color"),nn(We.bn,{width:16,height:16,stroke:"lightgray",fill:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.stroke="dodgerblue",mouseLeave:(ma,ra)=>ra.stroke="lightgray",click:va(sa,Wn),contextClick:va(sa,Wn)})}function gn(){return[nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.white,"fill"),Ge(kn.beige,"fill"),Ge(kn.extralightblue,"fill"),Ge(kn.extralightred,"fill"))),nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.lightgray,"fill"),Ge(kn.lightgreen,"fill"),Ge(kn.lightblue,"fill"),Ge(kn.lightred,"fill")))]}function Jt(){return[nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.black),Ge(kn.green),Ge(kn.blue),Ge(kn.red))),nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.white),Ge(kn.magenta),Ge(kn.purple),Ge(kn.orange)))]}function yn(Wn,sa){return sa||(sa="thickness"),nn(We.bn,"LineH",{width:16,height:16,strokeWidth:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:va(sa,Wn),contextClick:va(sa,Wn)})}function In(Wn,sa){return sa||(sa="dash"),nn(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:va(sa,Wn),contextClick:va(sa,Wn)})}function Zn(){return[nn("ContextMenuButton",nn(We.s_,"Horizontal",yn(1),yn(2),yn(3),yn(4))),nn("ContextMenuButton",nn(We.s_,"Horizontal",In(null),In([2,4]),In([4,4])))]}function An(Wn,sa){return sa||(sa="figure"),nn(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.fill="dodgerblue",mouseLeave:(ma,ra)=>ra.fill="lightgray",click:va(sa,Wn),contextClick:va(sa,Wn)})}dt.current.nodeTemplate.contextMenu=nn("ContextMenu",nn("ContextMenuButton",nn(We.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),nn("ContextMenuButton",nn(We.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),nn("ContextMenuButton",nn(We.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),gn(),Jt(),Zn()),dt.current.groupTemplate=nn(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Wn,sa)=>{var ma=sa.addMembers(sa.diagram.selection,!0);ma||sa.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),nn(We.s_,"Auto",{name:"BODY"},nn(We.bn,{parameter1:10,fill:kn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("fill"),new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),nn(We.Vm,{background:"transparent",margin:20})),nn(We.al,{alignment:We.z6.Top,alignmentFocus:We.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new We.KX("text"),new We.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=nn(We.uz,"Spot",nn(We.s_,"Auto",nn(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),nn(We.Vm,{margin:1.5})),Ra({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),dt.current.groupTemplate.contextMenu=nn("ContextMenu",gn(),Jt(),Zn()),dt.current.linkTemplate=nn(We.rU,{layerName:"Foreground",routing:We.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new We.KX("fromSpot","fromSpot",We.z6.parse),new We.KX("toSpot","toSpot",We.z6.parse),new We.KX("fromShortLength","dir",Wn=>Wn>=1?10:0),new We.KX("toShortLength","dir",Wn=>Wn>=1?10:0),new We.KX("points").makeTwoWay(),nn(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),nn(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,0),segmentOrientation:We.rU.OrientAlong,alignmentFocus:We.z6.Right,figure:"circle",width:10,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Wn=>Wn===1)),nn(We.bn,{segmentIndex:-1,segmentOffset:new We.E9(-10,6),segmentOrientation:We.rU.OrientPlus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Wn=>Wn>=1),new We.KX("width","thickness",Wn=>7+3*Wn),new We.KX("height","thickness",Wn=>7+3*Wn),new We.KX("segmentOffset","thickness",Wn=>new We.E9(-15,4+1.5*Wn))),nn(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,-6),segmentOrientation:We.rU.OrientMinus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Wn=>Wn===2),new We.KX("width","thickness",Wn=>7+3*Wn),new We.KX("height","thickness",Wn=>7+3*Wn),new We.KX("segmentOffset","thickness",Wn=>new We.E9(-15,4+1.5*Wn))),nn(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=nn(We.uz,nn(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Dn(2)},new We.KX("pathPattern","thickness",Dn)),Ra({alignmentFocus:new We.z6(0,0,-6,-4)}));function Dn(Wn){return nn(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Wn+4).toString()+" H3"})}function Fa(Wn){var sa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Wn===0?sa="M0 0 M16 16 M0 8 L16 8":Wn===2&&(sa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),nn(We.bn,{geometryString:sa,margin:2,background:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:va("dir",Wn),contextClick:va("dir",Wn)})}function La(Wn){var sa=(ma,ra)=>{ma.handled=!0,ma.diagram.model.commit(Ua=>{var rr=ra.part.adornedPart;Ua.set(rr.data,Wn?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(Wn?rr.toNode:rr.fromNode).invalidateConnectedLinks()})};return nn(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:sa,contextClick:sa})}function fn(Wn,sa){var ma=0,ra=We.z6.RightSide;Wn.equals(We.z6.Top)?(ma=270,ra=We.z6.TopSide):Wn.equals(We.z6.Left)?(ma=180,ra=We.z6.LeftSide):Wn.equals(We.z6.Bottom)&&(ma=90,ra=We.z6.BottomSide),sa||(ma-=180);var Ua=(rr,Ga)=>{rr.handled=!0,rr.diagram.model.commit(za=>{var lr=Ga.part.adornedPart;za.set(lr.data,sa?"toSpot":"fromSpot",We.z6.stringify(ra)),(sa?lr.toNode:lr.fromNode).invalidateConnectedLinks()})};return nn(We.bn,{alignment:Wn,alignmentFocus:Wn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ma,background:"transparent",mouseEnter:(rr,Ga)=>Ga.background="dodgerblue",mouseLeave:(rr,Ga)=>Ga.background="transparent",click:Ua,contextClick:Ua})}dt.current.linkTemplate.contextMenu=nn("ContextMenu",Jt(),Zn(),nn("ContextMenuButton",nn(We.s_,"Horizontal",Fa(0),Fa(1),Fa(2))),nn("ContextMenuButton",nn(We.s_,"Horizontal",nn(We.s_,"Spot",La(!1),fn(We.z6.Top,!1),fn(We.z6.Left,!1),fn(We.z6.Right,!1),fn(We.z6.Bottom,!1)),nn(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},La(!0),fn(We.z6.Top,!0),fn(We.z6.Left,!0),fn(We.z6.Right,!0),fn(We.z6.Bottom,!0)))));const Da=`{ "class": "GraphLinksModel", +\\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:se.Z.lists,gutter:[10,10]},a.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:se.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:`$$${re.value}$$`}),re.name),ot.createElement("div",{className:se.Z.children},re.children.map((me,pe)=>ot.createElement("div",{key:pe},ot.createElement("h1",null,me.name),ot.createElement(ue.Z,{gutter:[10,10]},me.data.map((ye,je)=>ot.createElement(Be.Z,{key:je,onClick:()=>E(ye),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:ot.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},b.map((re,ie)=>ot.createElement(Be.Z,{flex:"110px",className:se.Z.item},ot.createElement("div",null,ot.createElement(Oe.Z,{value:"`$$"+re.value+"$$`"}),re.name),ot.createElement("div",{className:se.Z.children},re.children.map((me,pe)=>ot.createElement("div",{key:pe},me.name&&ot.createElement("h1",null,me.name),ot.createElement(ue.Z,{gutter:[10,10]},me.data.map((ye,je)=>ot.createElement(Be.Z,{key:je,onClick:()=>E(ye),className:se.Z.diamond},ot.createElement(Oe.Z,{value:"`$$"+ye.value+"$$`"}))))))))))}],ne=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var ie=re.innerText;return Ue&&Ue(ie),ie};return(0,x.useImperativeHandle)(le,()=>({getData:ne})),ot.createElement("div",{className:se.Z.mathWrap},ot.createElement(Me.default,{defaultActiveKey:"1",items:z}),ot.createElement("math-field",{locale:"zh_cn",className:se.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:se.Z.button},ot.createElement(Le.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Kt.Z=Ve},87198:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return tt}});var x=te(59301),ue=te(78241),Be=te(43418),Me=te(92832),Le=te(87169),Oe=te(99064),se={publicQuest:"publicQuest___iYvzo",publicQuestContent:"publicQuestContent___vgbKh",public_tips:"public_tips___UX0Dn",concat:"concat___wOfND"},ct=te(86918),ot=te(59301),Ve=(Je,le,y)=>new Promise((a,b)=>{var E=re=>{try{ne(y.next(re))}catch(ie){b(ie)}},z=re=>{try{ne(y.throw(re))}catch(ie){b(ie)}},ne=re=>re.done?a(re.value):Promise.resolve(re.value).then(E,z);ne((y=y.apply(Je,le)).next())}),tt=({type:Je="subject",open:le,onCancel:y,onOkClick:a,subDisciplineId:b})=>{const[E]=ue.default.useForm(),[z,ne]=(0,x.useState)([]),[re,ie]=(0,x.useState)(!1);(0,x.useEffect)(()=>{},[]);const me=()=>Ve(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:le,width:558,centered:!0,className:se.publicQuest,onCancel:()=>{y(),E.resetFields()},onOk:()=>{E.validateFields().then(pe=>Ve(void 0,null,function*(){const ye=yield(0,Oe.ZP)("/api/tag_disciplines.json",{method:"post",body:{name:pe==null?void 0:pe.name,sub_discipline_id:b}});(ye==null?void 0:ye.status)===0&&a({name:pe==null?void 0:pe.name,id:ye==null?void 0:ye.tag_discipline_id,public:!1,type:"personal"}),E.resetFields(),y()}))}},ot.createElement("div",{className:se.publicQuestContent},ot.createElement("div",{className:se.public_tips},ot.createElement(Le.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(Me.default,{showCount:!0,maxLength:20,placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0"}))),ot.createElement(ct.Z,{open:re,onCancel:()=>{ie(!1)}})))}},67248:function(Ut,Kt,te){"use strict";te.d(Kt,{Q:function(){return ot},Z:function(){return Ue}});var x=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),Me=te.n(Be),Le=te(43418),Oe=te(8591),se=te(24905),ct=(tt,Je,le)=>new Promise((y,a)=>{var b=ne=>{try{z(le.next(ne))}catch(re){a(re)}},E=ne=>{try{z(le.throw(ne))}catch(re){a(re)}},z=ne=>ne.done?y(ne.value):Promise.resolve(ne.value).then(b,E);z((le=le.apply(tt,Je)).next())});const ot=({title:tt="\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00",dataSource:Je=[],visible:le,setVisible:y,tip:a,onOk:b})=>{const[E,z]=(0,x.useState)([]),[ne,re]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{le&&z(Je)},[le]),x.createElement(Le.default,{centered:!0,open:le,title:tt,confirmLoading:ne,width:564,onOk:()=>ct(void 0,null,function*(){if(!E.length){Oe.ZP.warning("\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00");return}re(!0),yield b(E),re(!1)}),onCancel:()=>y(!1)},!!a&&x.createElement("div",{className:"c-grey-666 font16 mb10"},a),x.createElement("div",{style:{background:"#F6F7F9",padding:"20px 20px 20px 26px"}},x.createElement(se.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 Ue=({title:tt="\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00",className:Je,style:le={},onEdit:y,dataSource:a=[]})=>{const b={C:x.createElement("div",{className:ue.c},"C"),"C++":x.createElement("div",{className:ue.cpp},"C++"),Java:x.createElement("div",{className:ue.java},"Java"),Python:x.createElement("div",{className:ue.python},"Python")};return x.createElement("div",{className:Me()(ue.tags,Je),style:le},!!tt&&x.createElement("div",{className:ue.text},tt),x.createElement("div",{className:ue.tagWrap},a==null?void 0:a.map(E=>x.createElement(x.Fragment,{key:E},b[E]))),!!y&&x.createElement("div",{onClick:y,className:`iconfont icon-bianji_Hover ${ue.edit}`}))}},90502:function(Ut,Kt,te){"use strict";te.d(Kt,{t:function(){return rt}});var x=te(59301),ue=te(92832),Be=te(78241),Me=te(43418),Le=te(95237),Oe=te(43604),se=te(5871),ct=te(57809),ot=te(5112),Ve=te(41984),Ue=te(89070),tt=te(43809),Je=te(8591),le=te(3113),y=te(71418),a=te(24334),b={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(99064),z=te(88264),ne=te(12290),re=te(56102),ie=te(74440),me=te(59301),pe=Object.defineProperty,ye=Object.defineProperties,je=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Te=(ze,ve,fe)=>ve in ze?pe(ze,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ze[ve]=fe,Ye=(ze,ve)=>{for(var fe in ve||(ve={}))Qe.call(ve,fe)&&Te(ze,fe,ve[fe]);if(De)for(var fe of De(ve))he.call(ve,fe)&&Te(ze,fe,ve[fe]);return ze},bt=(ze,ve)=>ye(ze,je(ve)),Ne=(ze,ve,fe)=>new Promise((qe,Rt)=>{var Fe=Xe=>{try{at(fe.next(Xe))}catch(Ae){Rt(Ae)}},xe=Xe=>{try{at(fe.throw(Xe))}catch(Ae){Rt(Ae)}},at=Xe=>Xe.done?qe(Xe.value):Promise.resolve(Xe.value).then(Fe,xe);at((fe=fe.apply(ze,ve)).next())}),Bt=({buttonProps:ze,buttonText:ve,form:fe,hackIdentifier:qe="",answerKey:Rt,data:Fe})=>{const[xe,at]=(0,x.useState)(!1),[Xe,Ae]=(0,x.useState)(!1),[ft,vn]=(0,x.useState)(!1),[Qt,jt]=(0,x.useState)({}),[on,cn]=(0,x.useState)(""),[_e,Ft]=(0,x.useState)(""),Lt=(0,x.useRef)(qe),St=(0,x.useRef)(""),Dt=(0,x.useRef)(!1);(0,x.useEffect)(()=>{ft&&Rn()},[ft]),(0,x.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const pn=()=>new Date().getTime(),Pn=Fe==null?void 0:Fe.code,Sn=()=>{var zn,Pa;let Ea=Pn?Fe==null?void 0:Fe.code:(zn=fe.getFieldValue("hack_codes"))==null?void 0:zn.code,_n=Pn?Fe==null?void 0:Fe.answer_content:fe.getFieldValue(Rt),wa=Pn?Fe==null?void 0:Fe.input:(Pa=fe.getFieldValue("hack_sets"))==null?void 0:Pa.input;_n==null||_n.forEach(en=>{const En=en.value||en.answer_text||"";Ea=Ea.replace(/(@▁@|@▁▁@)/,En)}),Ft(wa),cn(Ea),jt({}),vn(!0)},Rn=()=>Ne(void 0,null,function*(){var zn,Pa,Ea,_n;const wa=pn(),en=Pn?Fe==null?void 0:Fe.time_limit:(zn=fe.getFieldsValue())==null?void 0:zn.hack.time_limit,En=Pn?(Pa=Fe==null?void 0:Fe.answer_content)==null?void 0:Pa.length:(_n=(Ea=fe.getFieldsValue())==null?void 0:Ea.standard_answers)==null?void 0:_n.length;at(!0),yield(0,z.bM)(St.current,{test_hack_code:on,test_input:_e});function Mn(){return Ne(this,null,function*(){const{status:$n,data:Ze}=yield(0,z.rX)(St.current,"submit"),kt=pn()-wa>(en+3)*1e3*En;if(Dt.current){if(kt){Je.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),at(!1);return}if($n===0){at(!1),jt(bt(Ye({},Ze),{showText:!0}));return}setTimeout(Mn,1e3)}})}Mn()}),na=()=>Ne(void 0,null,function*(){var zn,Pa,Ea,_n,wa,en,En;if(!Fe){try{yield fe.validateFields()}catch(Nt){(Ea=(Pa=(zn=Nt==null?void 0:Nt.errorFields)==null?void 0:zn[0])==null?void 0:Pa.name)!=null&&Ea.includes("standard_answers")?Je.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Je.ZP.error(Nt.errorFields[0].errors[0]),fe.scrollToField(Nt.errorFields[0].name,{behavior:"smooth",block:"center"});return}Ae(!0);let $n="";const Ze=fe.getFieldsValue();Lt.current?$n=yield(0,E.ZP)(`/api/problems/${Lt.current}.json`,{method:"put",body:bt(Ye({},Ze),{hack:bt(Ye({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(En=(en=Ze==null?void 0:Ze.hack)==null?void 0:en.sub_discipline_id)==null?void 0:En[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:bt(Ye({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),update_hack_sets:[Ye({},Ze.hack_sets)],is_blank:!0})}):($n=yield(0,E.ZP)("/api/problems.json",{method:"post",body:bt(Ye({},Ze),{hack:bt(Ye({},Ze==null?void 0:Ze.hack),{sub_discipline_id:(wa=(_n=Ze==null?void 0:Ze.hack)==null?void 0:_n.sub_discipline_id)==null?void 0:wa[1],difficult:Ze.difficulty,item_banks_group_id:Ze.item_banks_group_id}),hack_codes:bt(Ye({},Ze.hack_codes),{code:a.Base64.encode(Ze.hack_codes.code)}),hack_sets:[Ye({},Ze.hack_sets)],is_blank:!0})}),Lt.current=$n==null?void 0:$n.identifier,sessionStorage.projectFill=$n==null?void 0:$n.identifier)}const Mn=yield(0,E.ZP)(`/api/problems/${Lt.current}/start.json`,{method:"get"});if((Mn==null?void 0:Mn.status)===0){St.current=Mn==null?void 0:Mn.identifier,Dt.current=!0,Ae(!1),Sn();return}Ae(!1)}),aa=zn=>{const{status:Pa,error_msg:Ea,execute_time:_n,output:wa,input:en,expected_output:En}=zn;let Mn=null;switch(Pa){case ie.h.OK:Mn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",_n/1e3,"\u79D2"),me.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:Mn=me.createElement(me.Fragment,null,me.createElement("div",null,"\u8F93\u5165\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},en),me.createElement("div",null,"\u8F93\u51FA\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},wa&&a.Base64.decode(wa)),me.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),me.createElement("pre",{style:{fontFamily:"initial"}},En&&a.Base64.decode(En)));break;case ie.h.EXECUTEFAILURE:Mn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",me.createElement("pre",null,en)),me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:"error"},a.Base64.decode(Ea)));break;case ie.h.COMPILEFAILURE:Mn=me.createElement(me.Fragment,null,me.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",me.createElement("pre",null,en)),me.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),me.createElement("pre",{className:"error"},a.Base64.decode(Ea)));break;case ie.h.PODFAILURE:Mn=me.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:Mn=me.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return me.createElement(me.Fragment,null," ",Mn," ")};return me.createElement("div",null,me.createElement(le.ZP,bt(Ye({loading:Xe},ze),{onClick:na}),ve),me.createElement(Me.default,{open:ft,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:xe,cancelButtonProps:{style:{display:"none"}},onOk:()=>Rn(),onCancel:()=>{Dt.current=!1,vn(!1)}},me.createElement("div",{className:b.result},me.createElement("div",{className:b.left},me.createElement("div",{className:"mb20"},me.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Fe&&me.createElement(re.CopyToClipboard,{text:on,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},me.createElement("span",{style:{float:"right"},className:"current c-light-primary"},me.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),me.createElement(ne.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:on,onChange:zn=>cn(zn)})),me.createElement("div",{className:b.right},me.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),me.createElement("div",{className:b.box},me.createElement("div",{className:b.li},me.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:_e,onChange:zn=>Ft(zn.target.value),bordered:!1,style:{height:180}}))),me.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),me.createElement("div",{className:b.box},me.createElement(y.Z,{spinning:xe,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},me.createElement("div",{className:b.li,style:{height:196,overflow:"auto",padding:10}},aa(Qt))))))))},yt=te(87169),gt=te(59301),Yt=Object.defineProperty,vt=Object.defineProperties,rn=Object.getOwnPropertyDescriptors,xn=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,qt=(ze,ve,fe)=>ve in ze?Yt(ze,ve,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ze[ve]=fe,hn=(ze,ve)=>{for(var fe in ve||(ve={}))nt.call(ve,fe)&&qt(ze,fe,ve[fe]);if(xn)for(var fe of xn(ve))et.call(ve,fe)&&qt(ze,fe,ve[fe]);return ze},Zt=(ze,ve)=>vt(ze,rn(ve)),dn=(ze,ve)=>{var fe={};for(var qe in ze)nt.call(ze,qe)&&ve.indexOf(qe)<0&&(fe[qe]=ze[qe]);if(ze!=null&&xn)for(var qe of xn(ze))ve.indexOf(qe)<0&&et.call(ze,qe)&&(fe[qe]=ze[qe]);return fe};const{TextArea:We}=ue.default,It=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],Gt=({value:ze,onChange:ve})=>gt.createElement(Switch,{checked:ze,onChange:fe=>{ve(fe)}}),Mt="@\u2581@",ht="@\u2581\u2581@",rt=({questionTitlePlaceholder:ze,form:ve,scoreByBlank:fe=!1,hackidentifier:qe,answerKey:Rt})=>{const[Fe,xe]=(0,x.useState)(!1),[at,Xe]=(0,x.useState)(!1),ft=(0,Ue.useParams)().type==="edit",vn=(St,Dt)=>{const pn=Dt.line;let Pn=0;for(let Rn=0;Rn{const Sn=St.getRange(Dt.from,Dt.to);let Rn=0;if(Dt.text.forEach(na=>{Rn+=na.split(Mt).length-1}),Dt.text.forEach(na=>{Rn+=na.split(ht).length-1}),Dt.origin!=="setValue"){if(Sn&&(Sn.indexOf(Mt)!==-1||Sn.indexOf(ht)!==-1)){const na=Sn.split(Mt).length-1+Sn.split(ht).length-1,aa=vn(St,Dt.from);if(console.log(`\u5220\u9664${na}\u4E2A\uFF0C \u524D\u9762\u6709${aa}\u4E2A\uFF0C\u65B0\u589E${Rn}\u4E2A`),na>1){const zn=Array.from({length:na},(Pa,Ea)=>aa+Ea);Pn(zn)}else Pn(aa)}else if(Rn>0){const na=vn(St,Dt.from);console.log(`\u65B0\u589E${Rn}\u4E2A\uFF0C\u4E4B\u524D\u6709${na}\u4E2A`),pn(Rn,na)}}},jt=()=>{const St=ve.getFieldValue(Rt);ve.setFieldsValue({[Rt]:St==null?void 0:St.map((Dt,pn)=>Zt(hn({},Dt),{position:pn+1}))})},on=(0,x.useRef)(),cn=(St,Dt)=>{for(let pn=0;pn{_e.current(St),jt()},Lt=Be.default.useWatch(Rt,ve);return gt.createElement("div",{className:tt.Z.wrap},gt.createElement(Be.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Ve.h,{scrollId:"name",watch:!0,height:140})),gt.createElement("div",{className:tt.Z.questionTitleEditorWrap},gt.createElement(Be.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},gt.createElement(Ve.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(St,Dt)=>{const pn=ve.getFieldValue(Rt);console.log("--preAnswerData",pn,Dt),ve.setFieldsValue({[Rt]:pn==null?void 0:pn.map((Pn,Sn)=>{var Rn;return Zt(hn({},Pn),{position:Sn+1,multi_line:(Rn=Dt==null?void 0:Dt[Sn])==null?void 0:Rn.multiLine})})})},placeholder:ze,onCMBeforeChange:(St,Dt)=>{Qt(St,Dt,cn,Ft)}}))),gt.createElement(Be.default.List,{name:Rt,rules:[{validator(St,Dt){if(!(Dt!=null&&Dt.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const pn of Dt){const{answer_text:Pn}=pn||{};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()}}]},(St,{add:Dt,remove:pn},{errors:Pn})=>(on.current=Dt,_e.current=pn,gt.createElement(gt.Fragment,null,gt.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},gt.createElement(Be.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),gt.createElement("div",{onClick:()=>{Me.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:gt.createElement("div",null,gt.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",gt.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),gt.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"}},gt.createElement(yt.Z,{style:{marginRight:3,color:"#3061D0"}}),gt.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),St.map((Sn,Rn)=>{var na=Sn,{key:aa,name:zn}=na,Pa=dn(na,["key","name"]),Ea,_n;return gt.createElement(Le.Z,{className:"mb20",key:aa,align:"middle",wrap:!1},gt.createElement(Oe.Z,{flex:"0 0 auto",className:`${tt.Z.blankIndex}`},"\u586B\u7A7A\u9879",Rn+1),gt.createElement(Oe.Z,{flex:1},gt.createElement(Le.Z,{align:"top",justify:"space-between",wrap:!1},gt.createElement(Oe.Z,null,gt.createElement(Be.default.Item,Zt(hn({},Pa),{name:[zn,"answer_text"],noStyle:!0}),(Ea=Lt==null?void 0:Lt[zn])!=null&&Ea.multi_line||(_n=Lt==null?void 0:Lt[zn])!=null&&_n.multiLine?gt.createElement(We,{spellCheck:!1,style:{marginLeft:10,width:550}}):gt.createElement(ue.default,{style:{marginLeft:10,width:550},className:tt.Z.blankInput,size:"large",maxLength:1e3,onBlur:wa=>{}}))),fe&>.createElement(Oe.Z,{flex:"224px"},gt.createElement(Be.default.Item,Zt(hn({},Pa),{name:[zn,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),gt.createElement(se.Z,{size:"large",className:tt.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),gt.createElement("div",{onClick:()=>xe(!0)},gt.createElement(Be.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},gt.createElement(Ve.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))),gt.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"}]},gt.createElement(ct.default,{size:"large"},It.map(St=>gt.createElement(ct.default.Option,{key:St.title,value:St.key}," ",St.title)))),gt.createElement(Be.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},gt.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},gt.createElement(se.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),gt.createElement("span",{className:"ml10 font14"},"\u79D2")),gt.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"}]},gt.createElement(ot.ZP.Group,{style:{marginTop:-10}},gt.createElement(ot.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),gt.createElement(ot.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),gt.createElement(ot.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),gt.createElement(Be.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),gt.createElement("div",{style:{background:"#F6F7F9",padding:15}},gt.createElement(Be.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},gt.createElement(We,{rows:4})),gt.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"}]},gt.createElement(We,{rows:4}))),gt.createElement(Bt,{form:ve,answerKey:Rt,hackIdentifier:qe,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:gt.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"}}}))}},65357:function(Ut,Kt,te){"use strict";te.d(Kt,{u:function(){return me}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(6848),Le=te(78241),Oe=te(43809),se=te(32134),ct=te(12893),ot=te(41984),Ve=te(59301),Ue=Object.defineProperty,tt=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(pe,ye,je)=>ye in pe?Ue(pe,ye,{enumerable:!0,configurable:!0,writable:!0,value:je}):pe[ye]=je,E=(pe,ye)=>{for(var je in ye||(ye={}))y.call(ye,je)&&b(pe,je,ye[je]);if(le)for(var je of le(ye))a.call(ye,je)&&b(pe,je,ye[je]);return pe},z=(pe,ye)=>tt(pe,Je(ye)),ne=(pe,ye)=>{var je={};for(var De in pe)y.call(pe,De)&&ye.indexOf(De)<0&&(je[De]=pe[De]);if(pe!=null&&le)for(var De of le(pe))ye.indexOf(De)<0&&a.call(pe,De)&&(je[De]=pe[De]);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:ye,choiceTextKey:je,answerKey:De,index:Qe,isEdit:he,setInputActive:Te,form:Ye,choiceOptionsPath:bt,allowChangeMode:Ne,showAddIcon:ut,addItem:Bt,deleteItem:yt})=>{console.log(pe,"value");const gt=(pe==null?void 0:pe[De])===1,Yt=()=>{const rn=Ye.getFieldValue(bt);Ye.setFieldValue(bt,rn.map(xn=>z(E({},xn),{[De]:0})))},vt=()=>{gt?ye(z(E({},pe),{[De]:0})):(Ne||Yt(),ye(z(E({},pe),{[De]:1})))};return Ve.createElement(ue.Z,{className:Oe.Z.choiceWrap,align:"middle",wrap:!1},Ve.createElement(Be.Z,{onClick:vt,className:`${Oe.Z.choiceIndex} ${gt?Oe.Z.activeAnswer:""}`},re[Qe]),Ve.createElement(Be.Z,{flex:1,className:`${Oe.Z.editorWrap} ml15`,onClick:Te},Ve.createElement(ot.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:he,value:pe==null?void 0:pe[je],onChange:rn=>{ye(z(E({},pe),{[je]:rn}))}})),Ve.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},Ve.createElement("div",{onClick:vt,className:`${Oe.Z.setAnswerBtn} ${gt?Oe.Z.activeAnswer:""}`},gt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ve.createElement(Be.Z,{className:Oe.Z.actionWrapper},Ve.createElement(Me.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ve.createElement(se.Z,{className:Oe.Z.addIcon,onClick:Bt,style:{visibility:ut?"visible":"hidden"}})),Ve.createElement(Me.Z,{title:"\u5220\u9664"},Ve.createElement(ct.Z,{className:Oe.Z.deleteIcon,onClick:yt,style:{visibility:Qe>1?"visible":"hidden"}}))))},me=({questionTitlePlaceholder:pe,titleKey:ye,choiceKey:je,analysisKey:De,choiceTextKey:Qe,answerKey:he,choiceOptionsPath:Te,allowChangeMode:Ye=!0,form:bt,showAnalysis:Ne=!0})=>{const[ut,Bt]=(0,x.useState)(),[yt,gt]=(0,x.useState)(!1);return Ve.createElement("div",{className:Oe.Z.wrap},Ve.createElement("div",{className:Oe.Z.questionTitleEditorWrap},Ve.createElement(Le.default.Item,{label:"\u9898\u5E72",name:ye,labelCol:{span:24},rules:[{required:!0}]},Ve.createElement(ot.h,{scrollId:Array.isArray(ye)?ye.join("_"):`${ye}`,watch:!0,height:140,placeholder:pe}))),Ve.createElement(Le.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ve.createElement(Le.default.List,{name:je,rules:[{validator(Yt,vt){const rn=vt.some(nt=>nt[he]===1),xn=vt.findIndex(nt=>{var et;return((et=nt[Qe])==null?void 0:et.length)<=0});return xn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[xn]}\u9009\u9879\u7684\u5185\u5BB9`)):rn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Yt,{add:vt,remove:rn})=>Ve.createElement("div",{id:Array.isArray(Te)?Te.join("_"):`${Te}`},Yt.map((xn,nt)=>{var et=xn,{key:qt,name:hn}=et,Zt=ne(et,["key","name"]);const dn=ut===qt,We=()=>{Bt(qt)},It=nt<7&&nt===Yt.length-1,Gt=()=>vt({[Qe]:"",[he]:0}),Mt=()=>rn(hn);return Ve.createElement(Le.default.Item,z(E({},Zt),{key:qt,name:hn,className:Oe.Z.choiceListWrap,rules:[{validator(ht,rt){return rt!=null&&rt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[nt]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),Ve.createElement(ie,{choiceTextKey:Qe,answerKey:he,index:nt,isEdit:dn,setInputActive:We,form:bt,choiceOptionsPath:Te,allowChangeMode:Ye,showAddIcon:It,addItem:Gt,deleteItem:Mt}))}),Yt.length<8&&Ve.createElement("div",{className:`${Oe.Z.addBtn} mb30`,onClick:()=>vt({[Qe]:"",[he]:0})},"\u6DFB\u52A0\u9009\u9879"))),Ne&&Ve.createElement("div",{onClick:()=>gt(!0)},Ve.createElement(Le.default.Item,{name:De,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ve.createElement(ot.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},70472:function(Ut,Kt,te){"use strict";te.d(Kt,{u:function(){return Ye}});var x=te(59301),ue=te(43418),Be=te(95237),Me=te(43604),Le=te(92832),Oe=te(6848),se=te(78673),ct=te(78241),ot=te(5112),Ve=te(5871),Ue=te(41984),tt=te(12893),Je=te(61485),le=te(43809),y=te(59879),a=te(59301),b=Object.defineProperty,E=Object.defineProperties,z=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,me=(bt,Ne,ut)=>Ne in bt?b(bt,Ne,{enumerable:!0,configurable:!0,writable:!0,value:ut}):bt[Ne]=ut,pe=(bt,Ne)=>{for(var ut in Ne||(Ne={}))re.call(Ne,ut)&&me(bt,ut,Ne[ut]);if(ne)for(var ut of ne(Ne))ie.call(Ne,ut)&&me(bt,ut,Ne[ut]);return bt},ye=(bt,Ne)=>E(bt,z(Ne)),je=(bt,Ne)=>{var ut={};for(var Bt in bt)re.call(bt,Bt)&&Ne.indexOf(Bt)<0&&(ut[Bt]=bt[Bt]);if(bt!=null&&ne)for(var Bt of ne(bt))Ne.indexOf(Bt)<0&&ie.call(bt,Bt)&&(ut[Bt]=bt[Bt]);return ut};const De=({value:bt,onChange:Ne})=>{const ut=yt=>{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:le.Z.modal,onOk:()=>{const gt=[...bt];gt.splice(yt,1),Ne(gt)}})},Bt=()=>{const yt=[...bt];yt.push(""),Ne(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},bt==null?void 0:bt.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,className:"mb20"},a.createElement(Le.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:yt,autoSize:{maxRows:3},maxLength:1e3,onBlur:Yt=>{const vt=[...bt],rn=Yt.target.value.trim();vt[gt]=rn,Ne(vt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ut(gt)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{Bt()}},"\u65B0\u589E\u7B54\u6848")))},Qe=({value:bt,onChange:Ne})=>{const ut=yt=>{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:le.Z.modal,onOk:()=>{const gt=[...bt];gt.splice(yt,1),Ne(gt)}})},Bt=()=>{const yt=[...bt];yt.push(""),Ne(yt)};return a.createElement(Be.Z,{className:"ml20"},a.createElement(Me.Z,{flex:1},bt==null?void 0:bt.map((yt,gt)=>a.createElement(Be.Z,{key:`${yt}_${gt}`,align:"middle",className:"mb20"},a.createElement(y.Z,{value:yt,style:{flex:1},onChange:Yt=>{const vt=[...bt];vt[gt]=Yt,Ne(vt)}}),a.createElement(Oe.Z,{title:"\u5220\u9664"},a.createElement(tt.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:gt>0?"visible":"hidden"},onClick:()=>ut(gt)}))))),a.createElement(Me.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{Bt()}},"\u65B0\u589E\u7B54\u6848")))},he=({value:bt=!0,onChange:Ne})=>a.createElement(se.Z,{checked:!bt,onChange:ut=>{Ne(!ut)}}),Te="\u2581",Ye=({questionTitlePlaceholder:bt,form:Ne,scoreByBlank:ut=!1,answerKey:Bt})=>{const[yt,gt]=(0,x.useState)(!1),Yt=(Zt,dn)=>{const We=dn.line;let It=0;for(let Mt=0;Mt{const Gt=Zt.getRange(dn.from,dn.to);let Mt=0;if(dn.text.forEach(ht=>{Mt+=ht.split(Te).length-1}),dn.origin!=="setValue"){if(Gt&&Gt.indexOf(Te)!==-1){const ht=Gt.split(Te).length-1,rt=Yt(Zt,dn.from);if(console.log(`\u5220\u9664${ht}\u4E2A\uFF0C \u524D\u9762\u6709${rt}\u4E2A\uFF0C\u65B0\u589E${Mt}\u4E2A`),ht>1){const ze=Array.from({length:ht},(ve,fe)=>rt+fe);It(ze)}else It(rt)}else if(Mt>0){const ht=Yt(Zt,dn.from);console.log(`\u65B0\u589E${Mt}\u4E2A\uFF0C\u4E4B\u524D\u6709${ht}\u4E2A`),We(Mt,ht)}}},rn=()=>{const Zt=Ne.getFieldValue(Bt);Ne.setFieldsValue({[Bt]:Zt.map((dn,We)=>ye(pe({},dn),{position:We+1}))})},xn=(0,x.useRef)(),nt=(Zt,dn)=>{for(let We=0;We{et.current(Zt),rn()},hn=ct.default.useWatch(Bt,Ne);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(ct.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(Ue.h,{scrollId:"name",watch:!0,height:140,placeholder:bt,showNullButton:!0,onCMBeforeChange:(Zt,dn)=>{vt(Zt,dn,nt,qt)}}))),a.createElement(ct.default.List,{name:Bt,rules:[{validator(Zt,dn){if(!(dn!=null&&dn.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const We of dn){const{answer_text:It}=We||{};if(It!=null&&It.some(Gt=>(Gt==null?void 0:Gt.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Zt,{add:dn,remove:We},{errors:It})=>(xn.current=dn,et.current=We,a.createElement(a.Fragment,null,a.createElement(ct.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Zt!=null&&Zt.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}}),Zt.map((Gt,Mt)=>{var ht=Gt,{key:rt,name:ze}=ht,ve=je(ht,["key","name"]),fe,qe;return a.createElement("div",{style:{marginBottom:10},key:rt},a.createElement(Be.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Me.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",Mt+1),a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"model"],noStyle:!0}),a.createElement(ot.ZP.Group,{onChange:()=>{const Rt=Ne.getFieldValue(Bt);Ne.setFieldsValue({[Bt]:Rt.map((Fe,xe)=>ye(pe({},Fe),{answer_text:ze===xe?[""]: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(Me.Z,{flex:1},a.createElement(Be.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Me.Z,{flex:1},a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"answer_text"],noStyle:!0}),((qe=(fe=Ne.getFieldValue(Bt))==null?void 0:fe[ze])==null?void 0:qe.model)===1?a.createElement(De,null):a.createElement(Qe,null))),ut&&a.createElement(Me.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(Ve.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(ct.default.Item,ye(pe({},ve),{name:[ze,"position"],noStyle:!0}),a.createElement(Le.default,{type:"hidden"})))))})))),a.createElement(Be.Z,{align:"middle"},a.createElement(ct.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Me.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(ct.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Me.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":`${le.Z.hide}`},a.createElement(ct.default.Item,{name:"is_ordered"},a.createElement(he,null)),a.createElement(Me.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:()=>gt(!0)},a.createElement(ct.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(Ue.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:yt}))))}},11832:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ne}});var x=te(59301),ue=te(95237),Be=te(43604),Me=te(78241),Le=te(43809),Oe=te(41984),se=te(59301),ct=Object.defineProperty,ot=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,le=(re,ie,me)=>ie in re?ct(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):re[ie]=me,y=(re,ie)=>{for(var me in ie||(ie={}))tt.call(ie,me)&&le(re,me,ie[me]);if(Ue)for(var me of Ue(ie))Je.call(ie,me)&&le(re,me,ie[me]);return re},a=(re,ie)=>ot(re,Ve(ie)),b=(re,ie)=>{var me={};for(var pe in re)tt.call(re,pe)&&ie.indexOf(pe)<0&&(me[pe]=re[pe]);if(re!=null&&Ue)for(var pe of Ue(re))ie.indexOf(pe)<0&&Je.call(re,pe)&&(me[pe]=re[pe]);return me};const E={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:me})=>{const pe=(re==null?void 0:re.is_answer)===1,ye=re==null?void 0:re.choice_text,je=()=>{const De=me.getFieldsValue().choices.map(Qe=>({choice_text:Qe.choice_text,is_answer:0}));me.setFieldsValue({choices:De}),ie(a(y({},re),{is_answer:1}))};return se.createElement(ue.Z,{className:Le.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},se.createElement(Be.Z,{onClick:je,className:`${Le.Z.choiceIndex} ${Le.Z.judgementIndex} ${pe?Le.Z.activeAnswer:""}`},E[ye]),se.createElement(Be.Z,{flex:1,className:`${Le.Z.editorWrap} ml15`},se.createElement("div",{className:`${Le.Z.inputBorder} ${Le.Z.placeholder} ${pe?Le.Z.activeJudgementAnswer:""}`},ye)),se.createElement(Be.Z,{flex:"0 0 auto",className:"ml15"},se.createElement("div",{onClick:je,className:`${Le.Z.setAnswerBtn} ${pe?Le.Z.activeAnswer:""}`},pe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ne=({questionTitlePlaceholder:re,choiceKey:ie,form:me})=>{const[pe,ye]=(0,x.useState)(!1);return se.createElement("div",{className:Le.Z.wrap},se.createElement("div",{className:Le.Z.questionTitleEditorWrap},se.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},se.createElement(Oe.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),se.createElement(Me.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},se.createElement(Me.default.List,{name:"choices",rules:[{validator(je,De){return De.some(he=>(he==null?void 0:he.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},je=>se.createElement("div",{id:"choices"},je.map(De=>{var Qe=De,{key:he,name:Te}=Qe,Ye=b(Qe,["key","name"]);return se.createElement(Me.default.Item,a(y({},Ye),{key:he,name:Te,noStyle:!0}),se.createElement(z,{form:me}))})))),se.createElement("div",{onClick:()=>ye(!0)},se.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},se.createElement(Oe.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:pe}))))}},41984:function(Ut,Kt,te){"use strict";te.d(Kt,{h:function(){return y},x:function(){return a}});var x=te(12290),ue=te(43809),Be=te(85149),Me=te(59301),Le=Object.defineProperty,Oe=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,Ue=(b,E,z)=>E in b?Le(b,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[E]=z,tt=(b,E)=>{for(var z in E||(E={}))ot.call(E,z)&&Ue(b,z,E[z]);if(ct)for(var z of ct(E))Ve.call(E,z)&&Ue(b,z,E[z]);return b},Je=(b,E)=>Oe(b,se(E)),le=(b,E)=>{var z={};for(var ne in b)ot.call(b,ne)&&E.indexOf(ne)<0&&(z[ne]=b[ne]);if(b!=null&&ct)for(var ne of ct(b))E.indexOf(ne)<0&&Ve.call(b,ne)&&(z[ne]=b[ne]);return z};const y=b=>{var E=b,{value:z,onChange:ne,scrollId:re}=E,ie=le(E,["value","onChange","scrollId"]);return Me.createElement("div",{id:re||""},Me.createElement(x.Z,Je(tt({},ie),{defaultValue:z,onChange:(me,pe)=>{pe!=null&&pe.length?ne(me,pe):ne(me)}})))},a=({value:b,onChange:E,placeholder:z,height:ne=140,isEdit:re,miniToolbar:ie,watch:me=!0})=>re?Me.createElement(x.Z,{watch:me,isFocus:!0,height:ne||void 0,placeholder:z,defaultValue:b,onChange:E,miniToolbar:ie}):Me.createElement("div",{style:{cursor:"pointer"}},b?Me.createElement(Be.Z,{className:ue.Z.inputBorder,value:b}):Me.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},z))},35173:function(Ut,Kt,te){"use strict";te.d(Kt,{W:function(){return Qe}});var x=te(59301),ue=te(8591),Be=te(12563),Me=te(78241),Le=te(78673),Oe=te(95237),se=te(43604),ct=te(6848),ot=te(92832),Ve=te(5871),Ue=te(43809),tt=te(41984),Je=te(12290),le=te(61485),y=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,re=(he,Te,Ye)=>Te in he?y(he,Te,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):he[Te]=Ye,ie=(he,Te)=>{for(var Ye in Te||(Te={}))z.call(Te,Ye)&&re(he,Ye,Te[Ye]);if(E)for(var Ye of E(Te))ne.call(Te,Ye)&&re(he,Ye,Te[Ye]);return he},me=(he,Te)=>a(he,b(Te)),pe=(he,Te)=>{var Ye={};for(var bt in he)z.call(he,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=he[bt]);if(he!=null&&E)for(var bt of E(he))Te.indexOf(bt)<0&&ne.call(he,bt)&&(Ye[bt]=he[bt]);return Ye};const ye=he=>{var Te=he,{value:Ye,onChange:bt}=Te,Ne=pe(Te,["value","onChange"]);const ut=Bt=>{bt([Bt])};return x.createElement(Je.Z,me(ie({},Ne),{defaultValue:Ye==null?void 0:Ye[0],onChange:ut}))},je=he=>{if(!he)return!1;if(/^s*$/.test(he)||he.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Te=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==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},De=({value:he=[],onClose:Te})=>x.createElement(Be.default,{closable:!0,onClose:Te,className:Ue.Z.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},he.join(" \u6216 "))),Qe=({questionTitlePlaceholder:he,form:Te,showKeywords:Ye,isMustKeyWords:bt=Ye})=>{const[Ne,ut]=(0,x.useState)(!1),[Bt,yt]=(0,x.useState)(""),gt=Me.default.useWatch("use_keywords",Te),Yt=Me.default.useWatch("question_score",Te);return x.createElement("div",{className:Ue.Z.wrap},x.createElement("div",{className:Ue.Z.questionTitleEditorWrap},x.createElement(Me.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},x.createElement(tt.h,{scrollId:"name",watch:!0,height:140,placeholder:he}))),x.createElement(Me.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},x.createElement(ye,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Ye&&!bt&&x.createElement(Me.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,{defaultChecked:!0})),Ye&&bt&&x.createElement(Oe.Z,{align:"middle",className:"mb30"},x.createElement(Me.default.Item,{name:"use_keywords",valuePropName:"checked"},x.createElement(Le.Z,null)),x.createElement(se.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(se.Z,null,x.createElement(ct.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"},x.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(gt||!bt)&&x.createElement(Me.default.List,{name:"keywords",rules:[{validator(vt,rn){return bt?rn!=null&&rn.length?(rn==null?void 0:rn.reduce((nt,et)=>nt+et.score,0))>parseFloat(Yt)?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()}}]},(vt,{add:rn,remove:xn})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ue.Z.title} mb10`},bt?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(Oe.Z,{align:"middle",className:"font14 mb30"},x.createElement(se.Z,{flex:1},x.createElement(ot.default,{value:Bt,onChange:nt=>{yt(nt.target.value)},maxLength:50,allowClear:!0,onPressEnter:nt=>{var et,qt,hn,Zt;const dn=`${(et=nt.target)==null?void 0:et.value}`,We=(hn=(qt=dn==null?void 0:dn.split("|"))==null?void 0:qt.filter(Mt=>!!Mt))==null?void 0:hn.map(Mt=>Mt==null?void 0:Mt.trim()),It=Te.getFieldValue("keywords"),Gt=((Zt=It==null?void 0:It.map(Mt=>Mt==null?void 0:Mt.keyword))==null?void 0:Zt.flat())||[];for(const Mt of We)if(Gt.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(dn)&&(rn({keyword:We,score:1}),yt(""))},className:Ue.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"})),x.createElement(se.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),vt.map(nt=>{var et=nt,{key:qt,name:hn}=et,Zt=pe(et,["key","name"]);return x.createElement(Oe.Z,{key:qt,className:"mb20",style:{marginRight:148}},x.createElement(se.Z,{flex:1},x.createElement(Oe.Z,{align:"middle",justify:"space-between"},x.createElement(Me.default.Item,me(ie({},Zt),{name:[hn,"keyword"]}),x.createElement(De,{onClose:()=>xn(hn)})),bt&&x.createElement(Me.default.Item,me(ie({},Zt),{name:[hn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ue.Z.blankInputNumberWrapper}),x.createElement(Ve.Z,{className:Ue.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>ut(!0)},x.createElement(Me.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(tt.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Ne}))))}},27693:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Le}});var x={text:"text___bQulM",sup:"sup___rX_Y3"},ue=te(78241),Be=te(59301),Le=({text:Oe,name:se="question_score"})=>{const ct=({value:ot})=>Be.createElement("div",{className:x.text},Be.createElement("span",{className:x.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:se},Be.createElement(ct,null))}},97692:function(Ut,Kt,te){"use strict";te.d(Kt,{h:function(){return re}});var x=te(59301),ue=te(57809),Be=te(78241),Me=te(3113),Le=te(89780),Oe=te.n(Le),se=te(37036),ct=te(95625),ot=Object.defineProperty,Ve=Object.defineProperties,Ue=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,y=(ie,me,pe)=>me in ie?ot(ie,me,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ie[me]=pe,a=(ie,me)=>{for(var pe in me||(me={}))Je.call(me,pe)&&y(ie,pe,me[pe]);if(tt)for(var pe of tt(me))le.call(me,pe)&&y(ie,pe,me[pe]);return ie},b=(ie,me)=>Ve(ie,Ue(me));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"]};Kt.Z=({callback:ie,onCancel:me})=>{const[pe,ye]=(0,x.useState)("python");function je(Qe){ye(ne[Qe][1])}function De(Qe){ie(Qe)}return x.createElement(Be.default,b(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:De,style:{width:500}}),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},x.createElement(ue.default,{getPopupContainer:Qe=>Qe.parentNode,onChange:je},Object.keys(ne).map(Qe=>x.createElement(E,{key:Qe,value:Qe},ne[Qe][0])))),x.createElement(Be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},x.createElement(re,{mode:pe})),x.createElement("div",{className:"flex-container flex-end"},x.createElement(Me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(Me.ZP,{type:"ghost",onClick:me},"\u53D6\u6D88")))};function re({value:ie,onChange:me,mode:pe,options:ye={}}){const je=(0,x.useRef)(),[De,Qe]=(0,x.useState)();return(0,x.useEffect)(()=>{if(De){let he=function(Te){const Ye=Te.getValue();me&&me(Ye)};return De.on("change",he),()=>{De.off("change",he)}}},[De,me]),(0,x.useEffect)(()=>{De&&De.setOption("mode",pe)},[De,pe]),(0,x.useEffect)(()=>{De&&(ie!==De.getValue()||ie==="")&&setTimeout(()=>{De.setValue(ie||"")},300)},[De,ie]),(0,x.useEffect)(()=>{if(je.current&&!De){const he=Oe().fromTextArea(je.current,a({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ye));Qe(he)}},[je.current,De]),x.createElement("div",{className:"my-codemirror-container"},x.createElement("textarea",{ref:je}))}},12290:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return mn}});var x=te(59301),ue=te(89780),Be=te.n(ue),Me=te(76374),Le=te(37036),Oe=te(6313),se=te(25717),ct=te(99498),ot=te(25419),Ve=te(67549),Ue=te(85149),tt=({value:st="",className:Pt,showTextOnly:dt,showLines:ln,style:Nn={}})=>{const bn=(0,x.useMemo)(()=>"",[st]);return x.createElement(x.Fragment,null,x.createElement("div",{dangerouslySetInnerHTML:{__html:bn}}))},Je=te(59301),le=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ne=(st,Pt,dt)=>Pt in st?le(st,Pt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):st[Pt]=dt,re=(st,Pt)=>{for(var dt in Pt||(Pt={}))E.call(Pt,dt)&&ne(st,dt,Pt[dt]);if(b)for(var dt of b(Pt))z.call(Pt,dt)&&ne(st,dt,Pt[dt]);return st},ie=(st,Pt)=>y(st,a(Pt));let me=[{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:Pt,icon:dt,actionName:ln,className:Nn="",children:bn}){function la(){st(ln)}return Je.createElement("a",{title:Pt,className:Nn,onClick:la},Je.createElement("i",{className:`${dt}`}),bn)}var ye=({watch:st,showNullButton:Pt,showNullProgramButton:dt,onActionCallback:ln,fullScreen:Nn,insertTemp:bn,hidetoolBar:la,extraUse:Hn})=>{const lt=[...me,{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"},!la&<.map(($t,Jn)=>Je.createElement("li",{key:Jn},$t.actionName?Je.createElement(pe,ie(re({},$t),{onActionCallback:ln})):Je.createElement("span",{className:"v-line"}))),Pt?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:ln},Je.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?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:ln},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:ln},Je.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,bn&&Je.createElement("li",null,Je.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${bn}`,onActionCallback:ln},Je.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Hn&&Je.createElement("li",null,Hn),Je.createElement("li",{className:"btn-full-screen"},Je.createElement(pe,{icon:`${Nn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Nn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ln})))},je=te(79346),De=te(78241),Qe=te(92832),he=te(3113),Te=Object.defineProperty,Ye=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(st,Pt,dt)=>Pt in st?Te(st,Pt,{enumerable:!0,configurable:!0,writable:!0,value:dt}):st[Pt]=dt,gt=(st,Pt)=>{for(var dt in Pt||(Pt={}))ut.call(Pt,dt)&&yt(st,dt,Pt[dt]);if(Ne)for(var dt of Ne(Pt))Bt.call(Pt,dt)&&yt(st,dt,Pt[dt]);return st},Yt=(st,Pt)=>Ye(st,bt(Pt));const vt={labelCol:{span:4},wrapperCol:{span:20}};var rn=({callback:st,onCancel:Pt})=>{function dt(ln){st(ln)}return x.createElement(De.default,Yt(gt({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,style:{width:500}}),x.createElement(De.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},x.createElement(Qe.default,null)),x.createElement(De.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},x.createElement(Qe.default,null)),x.createElement("div",{className:"flex-container flex-end"},x.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(he.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},xn=te(97692),nt=te(28451),et=te(43418),qt=te(95237),hn=te(73524),Zt=te(59301),dn=({callback:st,onCancel:Pt})=>{const dt=document.createElement("canvas"),ln=dt.getContext("2d");dt.width=1e3,dt.height=800,ln.fillStyle="#ffffff",ln.fillRect(0,0,dt.width,dt.height);const Nn=dt.toDataURL("image/png");return Zt.createElement(et.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Zt.createElement(qt.Z,{style:{height:"100vh"}},Zt.createElement(hn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Nn,visible:!0,title:String(Date.now())},onOk:bn=>{st({src:bn.url})},onClose:Pt})))},We=te(12378);function It(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(It,go.CommandHandler),It.prototype.canAlignSelection=function(){var st=this.diagram;return!(st===null||st.isReadOnly||st.isModelReadOnly||st.selection.count<2)},It.prototype.alignLeft=function(){var st=this.diagram;st.startTransaction("aligning left");var Pt=1/0;st.selection.each(function(dt){dt instanceof go.Link||(Pt=Math.min(dt.position.x,Pt))}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(Pt,dt.position.y))}),st.commitTransaction("aligning left")},It.prototype.alignRight=function(){var st=this.diagram;st.startTransaction("aligning right");var Pt=-1/0;st.selection.each(function(dt){if(!(dt instanceof go.Link)){var ln=dt.actualBounds.x+dt.actualBounds.width;Pt=Math.max(ln,Pt)}}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(Pt-dt.actualBounds.width,dt.position.y))}),st.commitTransaction("aligning right")},It.prototype.alignTop=function(){var st=this.diagram;st.startTransaction("alignTop");var Pt=1/0;st.selection.each(function(dt){dt instanceof go.Link||(Pt=Math.min(dt.position.y,Pt))}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,Pt))}),st.commitTransaction("alignTop")},It.prototype.alignBottom=function(){var st=this.diagram;st.startTransaction("aligning bottom");var Pt=-1/0;st.selection.each(function(dt){if(!(dt instanceof go.Link)){var ln=dt.actualBounds.y+dt.actualBounds.height;Pt=Math.max(ln,Pt)}}),st.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,Pt-dt.actualBounds.height))}),st.commitTransaction("aligning bottom")},It.prototype.alignCenterX=function(){var st=this.diagram,Pt=st.selection.first();if(Pt){st.startTransaction("aligning Center X");var dt=Pt.actualBounds.x+Pt.actualBounds.width/2;st.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(dt-ln.actualBounds.width/2,ln.actualBounds.y))}),st.commitTransaction("aligning Center X")}},It.prototype.alignCenterY=function(){var st=this.diagram,Pt=st.selection.first();if(Pt){st.startTransaction("aligning Center Y");var dt=Pt.actualBounds.y+Pt.actualBounds.height/2;st.selection.each(function(ln){ln instanceof go.Link||ln.move(new go.Point(ln.actualBounds.x,dt-ln.actualBounds.height/2))}),st.commitTransaction("aligning Center Y")}},It.prototype.alignColumn=function(st){var Pt=this.diagram;Pt.startTransaction("align Column"),st===void 0&&(st=0),st=parseFloat(st);var dt=new Array;Pt.selection.each(function(Hn){Hn instanceof go.Link||dt.push(Hn)});for(var ln=0;ln0){for(var Hn=bn.elt(la-1);Hn!==null&&Hn.isTreeExpanded&&!Hn.isTreeLeaf;){var lt=this._sortTreeChildrenByY(Hn);Hn=lt.last()}Hn!==null&&st.select(Hn)}else st.select(Nn)}}else if(dt.key==="Down")if(Pt.isTreeExpanded&&!Pt.isTreeLeaf){var ln=this._sortTreeChildrenByY(Pt).first();ln!==null&&st.select(ln)}else for(;Pt!==null;){var Nn=Pt.findTreeParentNode();if(Nn===null)break;var bn=this._sortTreeChildrenByY(Nn),la=bn.indexOf(Pt);if(labn.y?1:Nn.xbn.x?1:0}),Pt},It.prototype.copyToClipboard=function(st){go.CommandHandler.prototype.copyToClipboard.call(this,st),this._lastPasteOffset.set(this.pasteOffset)},It.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(It.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(It.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 Gt=It,Mt=te(74413),ht=te(43604),rt=te(99064),ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},ve=te(59301),fe=(st,Pt,dt)=>new Promise((ln,Nn)=>{var bn=lt=>{try{Hn(dt.next(lt))}catch($t){Nn($t)}},la=lt=>{try{Hn(dt.throw(lt))}catch($t){Nn($t)}},Hn=lt=>lt.done?ln(lt.value):Promise.resolve(lt.value).then(bn,la);Hn((dt=dt.apply(st,Pt)).next())});function qe({onCancel:st,callback:Pt}){let dt=(0,x.useRef)(),ln=(0,x.useRef)(),Nn=(0,x.useRef)(),bn=(0,x.useRef)(!1);const la=(0,x.useRef)(!1),[Hn,lt]=(0,x.useState)(0);function $t(){const nn=We.bx.make,kn={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"};dt.current=new We.S0(ln.current,{padding:20,grid:nn(We.s_,"Grid",nn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Wn=>{var sa=Wn.diagram.commandHandler.addTopLevelParts(Wn.diagram.selection,!0);sa||Wn.diagram.currentTool.doCancel()},commandHandler:nn(Gt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Wn=>{var sa=Wn.subject;sa.location=sa.location.copy().snapToGridPoint(Wn.diagram.grid.gridOrigin,Wn.diagram.grid.gridCellSize),setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Wn=>{var sa=Wn.subject;setTimeout(()=>{Wn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Wn=>{var sa=Wn.parameter.part;sa.invalidateConnectedLinks();var ma=Wn.subject;Wn.diagram.toolManager.linkingTool.isForwards?ma.toNode.invalidateConnectedLinks():ma.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=nn(We.NB,"Auto",{locationSpot:We.z6.Center,locationObjectName:"SHAPE",desiredSize:new We.$u(120,60),minSize:new We.$u(40,40),resizable:!0,resizeCellSize:new We.$u(10,10),rotatable:!0},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),new We.KX("desiredSize","size",We.$u.parse).makeTwoWay(We.$u.stringify),nn(We.bn,{name:"SHAPE",fill:kn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("figure"),new We.KX("fill"),new We.KX("stroke","borderColor"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),nn(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),nn(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=nn("ToolTip",nn(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},nn(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),nn(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function ea(Wn,sa){var ma=(ra,Ua)=>{ra.handled=!0,ra.diagram.model.commit(rr=>{var Ga=Ua.part.adornedPart,za=new We.E9().setRectSpot(Ga.actualBounds,Wn);za.subtract(Ga.location),za.scale(2,2),za.x+=Math.sign(za.x)*130,za.y+=Math.sign(za.y)*130,za.add(Ga.location),za.snapToGridPoint(ra.diagram.grid.gridOrigin,ra.diagram.grid.gridCellSize);var lr=rr.copyNodeData(Ga.data);rr.setGroupKeyForNodeData(lr,rr.getGroupKeyForNodeData(Ga.data)),rr.addNodeData(lr);var Vr={from:Ga.key,to:rr.getKeyForNodeData(lr)};rr.addLinkData(Vr);var Ir=ra.diagram.findNodeForData(lr);Ir.location=za,ra.diagram.select(Ir),setTimeout(()=>{ra.diagram.commandHandler.editTextBlock()},20)})};return nn(We.bn,{figure:sa,alignment:Wn,alignmentFocus:Wn.opposite(),width:Wn.equals(We.z6.Top)||Wn.equals(We.z6.Bottom)?25:18,height:Wn.equals(We.z6.Top)||Wn.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:kn.white,strokeWidth:4,mouseEnter:(ra,Ua)=>Ua.fill="dodgerblue",mouseLeave:(ra,Ua)=>Ua.fill="orange",isActionable:!0,click:ma,contextClick:ma})}function Ra(Wn){return nn(We.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,ma)=>ma.fill="dodgerblue",mouseLeave:(sa,ma)=>ma.fill="orange",click:(sa,ma)=>{sa.diagram.commandHandler.showContextMenu(ma.part.adornedPart)}},Wn||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=nn(We.uz,"Spot",nn(We.Vm,{padding:10}),ea(We.z6.Top,"TriangleUp"),ea(We.z6.Left,"TriangleLeft"),ea(We.z6.Right,"TriangleRight"),ea(We.z6.Bottom,"TriangleDown"),Ra({alignment:new We.z6(.75,0)}));function va(Wn,sa){return(ma,ra)=>{ma.handled=!0,ma.diagram.model.commit(Ua=>{Ua.set(ra.part.adornedPart.data,Wn,sa)})}}function Ge(Wn,sa){return sa||(sa="color"),nn(We.bn,{width:16,height:16,stroke:"lightgray",fill:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.stroke="dodgerblue",mouseLeave:(ma,ra)=>ra.stroke="lightgray",click:va(sa,Wn),contextClick:va(sa,Wn)})}function gn(){return[nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.white,"fill"),Ge(kn.beige,"fill"),Ge(kn.extralightblue,"fill"),Ge(kn.extralightred,"fill"))),nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.lightgray,"fill"),Ge(kn.lightgreen,"fill"),Ge(kn.lightblue,"fill"),Ge(kn.lightred,"fill")))]}function Jt(){return[nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.black),Ge(kn.green),Ge(kn.blue),Ge(kn.red))),nn("ContextMenuButton",nn(We.s_,"Horizontal",Ge(kn.white),Ge(kn.magenta),Ge(kn.purple),Ge(kn.orange)))]}function yn(Wn,sa){return sa||(sa="thickness"),nn(We.bn,"LineH",{width:16,height:16,strokeWidth:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:va(sa,Wn),contextClick:va(sa,Wn)})}function In(Wn,sa){return sa||(sa="dash"),nn(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:va(sa,Wn),contextClick:va(sa,Wn)})}function Zn(){return[nn("ContextMenuButton",nn(We.s_,"Horizontal",yn(1),yn(2),yn(3),yn(4))),nn("ContextMenuButton",nn(We.s_,"Horizontal",In(null),In([2,4]),In([4,4])))]}function An(Wn,sa){return sa||(sa="figure"),nn(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Wn,margin:1,background:"transparent",mouseEnter:(ma,ra)=>ra.fill="dodgerblue",mouseLeave:(ma,ra)=>ra.fill="lightgray",click:va(sa,Wn),contextClick:va(sa,Wn)})}dt.current.nodeTemplate.contextMenu=nn("ContextMenu",nn("ContextMenuButton",nn(We.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),nn("ContextMenuButton",nn(We.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),nn("ContextMenuButton",nn(We.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),gn(),Jt(),Zn()),dt.current.groupTemplate=nn(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Wn,sa)=>{var ma=sa.addMembers(sa.diagram.selection,!0);ma||sa.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),nn(We.s_,"Auto",{name:"BODY"},nn(We.bn,{parameter1:10,fill:kn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("fill"),new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),nn(We.Vm,{background:"transparent",margin:20})),nn(We.al,{alignment:We.z6.Top,alignmentFocus:We.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new We.KX("text"),new We.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=nn(We.uz,"Spot",nn(We.s_,"Auto",nn(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),nn(We.Vm,{margin:1.5})),Ra({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),dt.current.groupTemplate.contextMenu=nn("ContextMenu",gn(),Jt(),Zn()),dt.current.linkTemplate=nn(We.rU,{layerName:"Foreground",routing:We.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new We.KX("fromSpot","fromSpot",We.z6.parse),new We.KX("toSpot","toSpot",We.z6.parse),new We.KX("fromShortLength","dir",Wn=>Wn>=1?10:0),new We.KX("toShortLength","dir",Wn=>Wn>=1?10:0),new We.KX("points").makeTwoWay(),nn(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),nn(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,0),segmentOrientation:We.rU.OrientAlong,alignmentFocus:We.z6.Right,figure:"circle",width:10,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Wn=>Wn===1)),nn(We.bn,{segmentIndex:-1,segmentOffset:new We.E9(-10,6),segmentOrientation:We.rU.OrientPlus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Wn=>Wn>=1),new We.KX("width","thickness",Wn=>7+3*Wn),new We.KX("height","thickness",Wn=>7+3*Wn),new We.KX("segmentOffset","thickness",Wn=>new We.E9(-15,4+1.5*Wn))),nn(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,-6),segmentOrientation:We.rU.OrientMinus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Wn=>Wn===2),new We.KX("width","thickness",Wn=>7+3*Wn),new We.KX("height","thickness",Wn=>7+3*Wn),new We.KX("segmentOffset","thickness",Wn=>new We.E9(-15,4+1.5*Wn))),nn(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=nn(We.uz,nn(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Dn(2)},new We.KX("pathPattern","thickness",Dn)),Ra({alignmentFocus:new We.z6(0,0,-6,-4)}));function Dn(Wn){return nn(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Wn+4).toString()+" H3"})}function Fa(Wn){var sa="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Wn===0?sa="M0 0 M16 16 M0 8 L16 8":Wn===2&&(sa="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),nn(We.bn,{geometryString:sa,margin:2,background:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:va("dir",Wn),contextClick:va("dir",Wn)})}function La(Wn){var sa=(ma,ra)=>{ma.handled=!0,ma.diagram.model.commit(Ua=>{var rr=ra.part.adornedPart;Ua.set(rr.data,Wn?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(Wn?rr.toNode:rr.fromNode).invalidateConnectedLinks()})};return nn(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ma,ra)=>ra.background="dodgerblue",mouseLeave:(ma,ra)=>ra.background="transparent",click:sa,contextClick:sa})}function fn(Wn,sa){var ma=0,ra=We.z6.RightSide;Wn.equals(We.z6.Top)?(ma=270,ra=We.z6.TopSide):Wn.equals(We.z6.Left)?(ma=180,ra=We.z6.LeftSide):Wn.equals(We.z6.Bottom)&&(ma=90,ra=We.z6.BottomSide),sa||(ma-=180);var Ua=(rr,Ga)=>{rr.handled=!0,rr.diagram.model.commit(za=>{var lr=Ga.part.adornedPart;za.set(lr.data,sa?"toSpot":"fromSpot",We.z6.stringify(ra)),(sa?lr.toNode:lr.fromNode).invalidateConnectedLinks()})};return nn(We.bn,{alignment:Wn,alignmentFocus:Wn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ma,background:"transparent",mouseEnter:(rr,Ga)=>Ga.background="dodgerblue",mouseLeave:(rr,Ga)=>Ga.background="transparent",click:Ua,contextClick:Ua})}dt.current.linkTemplate.contextMenu=nn("ContextMenu",Jt(),Zn(),nn("ContextMenuButton",nn(We.s_,"Horizontal",Fa(0),Fa(1),Fa(2))),nn("ContextMenuButton",nn(We.s_,"Horizontal",nn(We.s_,"Spot",La(!1),fn(We.z6.Top,!1),fn(We.z6.Left,!1),fn(We.z6.Right,!1),fn(We.z6.Bottom,!1)),nn(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},La(!0),fn(We.z6.Top,!0),fn(We.z6.Left,!0),fn(We.z6.Right,!0),fn(We.z6.Bottom,!0)))));const Na=`{ "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"}, @@ -103,7 +103,7 @@ {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} ]}`;var Yn=["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(Wn){return console.log("shapeName:",Wn),Yn.indexOf(Wn)>=0}var Ja=new We.YI(Nn.current,{maxSelectionCount:1,linkTemplate:nn(We.rU,{locationSpot:We.z6.Center,selectionAdornmentTemplate:nn(We.uz,"Link",{locationSpot:We.z6.Center},nn(We.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),nn(We.bn,{toArrow:"Standard",stroke:null}))},{routing:We.rU.AvoidsNodes,curve:We.rU.JumpOver,corner:5,toShortLength:4},new We.KX("points"),nn(We.bn,{isPanelMain:!0,strokeWidth:2}),nn(We.bn,{toArrow:"Standard",stroke:null})),model:new We.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...We.bn.getFigureGenerators().toArray().map(Wn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Wn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(Wn){var sa;const ma=Wn.subject.part;var ra=(sa=document.activeElement)==null?void 0:sa.value;typeof ra=="string"&&ra.trim()===""&&dt.current.model.commit(function(Ua){Ua.set(ma.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),Ja.nodeTemplate=nn(We.NB,"Auto",{locationSpot:We.z6.Center},new We.KX("location","location",We.E9.parse).makeTwoWay(We.E9.stringify),nn(We.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 We.KX("stroke").makeTwoWay(),new We.KX("fill").makeTwoWay(),new We.KX("figure")),nn(We.al,{margin:new We.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new We.$u(16,16),maxSize:new We.$u(10,NaN),textAlign:"center",editable:!0},new We.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=nn(We.s_,"Grid",nn(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),nn(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const Jn=()=>fe(this,null,function*(){var nn=dt.current.makeImage();const kn=yield(0,rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:nn.src}});Pt({src:kn.url})});return(0,x.useEffect)(()=>(setTimeout(()=>{$t()},500),lt(Hn+1),()=>{dt.current=null}),[]),ve.createElement("div",{ref:la,className:bn.current?`${ze.maxH60} body-overflow-initial`:"body-overflow-initial"},ve.createElement(et.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Hn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:ve.createElement(qt.Z,null,ve.createElement(ht.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ve.createElement(ht.Z,{onClick:()=>{var nn,kn,ea=dt.current.selection.first();if(bn.current=!bn.current,document.activeElement&&ea){let Ra=(kn=(nn=document.activeElement)==null?void 0:nn.value)==null?void 0:kn.trim();typeof Ra=="string"&&dt.current.model.commit(function(va){va.set(ea.data,"text",Ra||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}lt(Hn+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:ze.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:ze.myPaletteDiv,ref:Nn})),ve.createElement("div",{style:{flex:1,position:"relative"}},ve.createElement("div",{ref:ln,style:{height:"80vh"}}))),ve.createElement("div",{className:"tr"},ve.createElement(he.ZP,{size:"large",onClick:Jn,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Rt=qe,Fe=te(5112),xe=te(5871);const at=Fe.ZP.Group,Xe={margin:"0 8px"};var Ae=({callback:st,onCancel:Pt})=>{function dt(ln){st(ln)}return x.createElement(De.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},x.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},x.createElement("span",{style:Xe},"\u5355\u5143\u683C\u6570\uFF1A"),x.createElement("span",{style:Xe},"\u884C\u6570"),x.createElement(De.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},x.createElement(xe.Z,null)),x.createElement("span",{style:Xe},"\u5217\u6570"),x.createElement(De.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},x.createElement(xe.Z,null))),x.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},x.createElement("span",{style:Xe},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),x.createElement(De.default.Item,{name:"align"},x.createElement(at,null,x.createElement(Fe.ZP,{value:"default"},x.createElement("i",{className:"fa fa-align-justify"})),x.createElement(Fe.ZP,{value:"left"},x.createElement("i",{className:"fa fa-align-left"})),x.createElement(Fe.ZP,{value:"center"},x.createElement("i",{className:"fa fa-align-center"})),x.createElement(Fe.ZP,{value:"right"},x.createElement("i",{className:"fa fa-align-right"}))))),x.createElement("div",{className:"flex-container flex-end"},x.createElement(he.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),x.createElement(he.ZP,{type:"ghost",onClick:Pt},"\u53D6\u6D88")))},ft=te(78673),vn=te(80727),Qt=te.n(vn),on=(0,x.forwardRef)(({use3d:st,width:Pt,height:dt,callback:ln,showSaveButton:Nn},bn)=>{const la=(0,x.useRef)(),Hn=(0,x.useRef)(),[lt,$t]=(0,x.useState)(!1),Jn=(0,x.useRef)({id:la,appName:"graphing",width:Pt||1e3,height:dt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,x.useEffect)(()=>{Hn.current=new(Qt())(Jn.current,!0),window.onload=function(){Hn.current.inject("applet_container")}},[]);const nn=()=>{var kn=window.ggbApplet.getPNGBase64(1,!0,72);return ln&&ln(kn),kn};return(0,x.useEffect)(()=>{Jn.current.appName=lt?"3D":"graphing",Hn.current.inject("applet_container")},[lt]),(0,x.useEffect)(()=>{$t(st)},[st]),(0,x.useImperativeHandle)(bn,()=>({getImgData:nn})),x.createElement(x.Fragment,null,x.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:la}),x.createElement(qt.Z,{align:"middle"},x.createElement(ht.Z,{flex:1},x.createElement(ft.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:lt,onChange:kn=>$t(kn)})),x.createElement(ht.Z,null,x.createElement(he.ZP,{size:"large",onClick:nn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),cn=te(41588),_e=te(1012),Ft=te(8591);const Lt="link",St="upload-image",Dt="add-flowchart",pn="draw-image",Pn="add-flowchart",Sn="code-block",Rn="add-table",na="------------",aa={default:na,left:`:${na}`,center:`:${na}:`,right:`${na}:`};var zn=te(58856),Pa=(st,Pt,dt)=>new Promise((ln,Nn)=>{var bn=lt=>{try{Hn(dt.next(lt))}catch($t){Nn($t)}},la=lt=>{try{Hn(dt.throw(lt))}catch($t){Nn($t)}},Hn=lt=>lt.done?ln(lt.value):Promise.resolve(lt.value).then(bn,la);Hn((dt=dt.apply(st,Pt)).next())});function Ea(){}let _n=0;const wa=1e4,en="\u2581",En="@\u2581\u2581@",Mn="@\u2581@",$n=` **\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 Nt(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"},Ht={[Lt]:"\u6DFB\u52A0\u94FE\u63A5",[Sn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[pn]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Rn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var mn=({defaultValue:st="",onChange:Pt,width:dt="100%",height:ln=400,miniToolbar:Nn=!1,isFocus:bn=!1,watch:la,insertTemp:Hn,mode:lt="markdown",id:$t="markdown-editor-id",showResizeBar:Jn=!1,noStorage:nn=!1,showNullButton:kn=!1,showNullProgramButton:ea=!1,hidetoolBar:Ra=!1,fullScreen:va=!1,onBlur:Ge,onCMBeforeChange:gn,onFullScreen:Jt,className:yn="",disablePaste:In=!1,disabled:Zn=!1,disabledFill:An=!1,placeholder:Dn="",values:Fa="",extraUse:La})=>{const[fn,Da]=(0,x.useState)(null),[Yn,qa]=(0,x.useState)(st),[Ja,Wn]=(0,x.useState)(la),[sa,ma]=(0,x.useState)(va),[ra,Ua]=(0,x.useState)(""),[rr,Ga]=(0,x.useState)(0),[za,lr]=(0,x.useState)(ln),[Vr,Ir]=(0,x.useState)(!1),uo=(0,x.useRef)((0,_e.Z)()),yr=(0,x.useRef)(!1),Sr=(0,x.useRef)(),[Ar,br]=(0,x.useState)(0),[Br,Ta]=(0,x.useState)(0),or=(0,x.useRef)(),Lr=(0,x.useRef)(),Or=(0,x.useRef)(),Cr=(0,x.useRef)(),$r=()=>Pa(void 0,null,function*(){var $a;const fa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:uo.current}});($a=fa==null?void 0:fa.attachments)!=null&&$a.length&&(console.log("cm:",fn,or),fa.attachments.map(Tn=>{Tn.content_type.indexOf("image")>-1?fn.replaceSelection(`![,](/api/attachments/${Tn.id}?type=${Tn.content_type})`):Tn.content_type.indexOf("video")>-1?fn.replaceSelection(``):Tn.content_type.indexOf("pdf")>-1?fn.replaceSelection(`${Tn.name}`):fn.replaceSelection(`[${Tn.name}](${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type})`)}))});(0,x.useEffect)(()=>{const $a=window.scrollY||window.pageYOffset;qa(Fa),fn==null||fn.setValue(Fa),window.scrollTo(0,$a)},[Fa]),(0,x.useEffect)(()=>{Jt==null||Jt(sa)},[sa]),(0,x.useEffect)(()=>{if(or.current){let $a=function(Tn,Ba){var gr;if(In){Ba.preventDefault();return}const Ce=Ba.clipboardData;if(Ce){const sn=Ce.types.toString(),Cn=Ce.items;if(sn==="Files"||Ce.types.indexOf("Files")>-1){if(Ba.preventDefault(),lt=="stex")return;try{let Kn=Cn[1];((gr=Cn[0])==null?void 0:gr.kind)==="file"&&(Kn=Cn[0]);const an=Kn.getAsFile(),oa=an.name.split(".").pop();(0,nt.I)(an,ta=>{var Bn,On,Aa;ta.id?((Bn=an==null?void 0:an.type)==null?void 0:Bn.indexOf("image"))>-1?fa.replaceSelection(``):((On=an==null?void 0:an.type)==null?void 0:On.indexOf("video"))>-1?fa.replaceSelection(``):((Aa=an==null?void 0:an.type)==null?void 0:Aa.indexOf("pdf"))>-1?fa.replaceSelection(`${an.name}`):Ze.includes(oa)?fa.replaceSelection(`${an.name}`):fa.replaceSelection(`[${an.name}](/api/attachments/${ta.id}?type=${ta.content_type})`):(ta==null?void 0:ta.status)===401&&(Ft.ZP.warning((ta==null?void 0:ta.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Kn){Ft.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const fa=Be().fromTextArea(or.current,{mode:lt,lineNumbers:!Nn,lineWrapping:!0,value:st,autoCloseTags:!ea,autoCloseBrackets:!0});return fa.on("keyup",function(Tn,Ba){Ba.keyCode===8&&(Tn.getValue()==""?fa.setOption("placeholder",Dn):fa.setOption("placeholder",null))}),fa.on("keydown",function(Tn,Ba){if(Ba.keyCode===8){var gr=Xa(Tn);gr&&Ba.preventDefault()}}),bn&&fa.focus(),fa.on("paste",$a),fa.on("dragleave",function(Tn,Ba){Lr.current.classList.remove("mouse-hover-md")}),Zn&&fa.on("beforeChange",function(Tn,Ba){(Ba.origin==="paste"||Ba.origin==="+input")&&Ba.cancel()}),Da(fa),()=>{fa.off("paste",$a)}}},[]);const jr=(0,x.useCallback)(()=>{if(Lr.current)try{}catch($a){console.log($a,"---- to set md editor body height")}},[za,Lr,sa]);(0,x.useEffect)(()=>{function $a(){let fa=new Me.Z(Tn=>{for(let Ba of Tn)(Ba.target.offsetHeight>0||Ba.target.offsetWidth>0)&&(jr(),fn.setSize("100%","100%"),fn.refresh())});return fa.observe(or.current.parentElement),fa}if(fn){const fa=$a();return()=>{var Tn,Ba;(Tn=or.current)!=null&&Tn.parentElement&&fa.unobserve((Ba=or.current)==null?void 0:Ba.parentElement)}}},[fn,jr]),(0,x.useEffect)(()=>{if(fn){let $a=[];for(const[fa,Tn]of Object.entries(tn)){let Ba={[fa]:()=>{wr(Tn)}};$a.push(Ba),fn.addKeyMap(Ba)}return Sr.current=setInterval(()=>{yr.current&&$r()},4e3),()=>{clearInterval(Sr.current);for(let fa of $a)fn.removeKeyMap(fa)}}},[fn]),(0,x.useEffect)(()=>{va!==sa&&ma(va)},[va]),(0,zn.Z)(()=>{if(!nn&&rr>0){let $a=new Date().getTime(),fa=window.sessionStorage.getItem($t);$a>=rr+wa&&(!fa||fa!==Yn)&&(window.sessionStorage.setItem($t,Yn),Ir(!0))}},wa),(0,x.useEffect)(()=>{Wn(la)},[fn,la]),(0,x.useEffect)(()=>{fn&&bn&&fn.focus()},[fn,bn]),(0,x.useEffect)(()=>{if(Ja&&fn){let $a=function(Tn){let Ba=Tn.target;if(Cr.current){let gr=Ba.scrollTop/Ba.scrollHeight;Cr.current.scrollTop=Cr.current.scrollHeight*gr}};const fa=fn.getScrollerElement();return fa.addEventListener("scroll",$a),()=>{fa.removeEventListener("scroll",$a)}}},[fn,Ja]),(0,x.useEffect)(()=>{if(fn&&gn){let $a=function(fa,Tn){gn(fa,Tn)};return fn.on("beforeChange",$a),()=>{fn.off("beforeChange",$a)}}},[fn,gn]),(0,x.useEffect)(()=>{if(fn&&Ge){let $a=function(){Ge(fn.getValue())};return fn.on("blur",$a),()=>{fn.off("blur",$a)}}},[fn,Ge]);function Xa($a,fa){var Tn=$a.getDoc(),Ba=Tn.getCursor(),gr=Tn.getLine(Ba.line),Ce=gr.charAt(Ba.ch-1),sn=gr.lastIndexOf("@\u2581@",Ba.ch),Cn=gr.lastIndexOf("@\u2581\u2581@",Ba.ch),Kn=sn>Cn?sn:Cn,an=sn>Cn?3:4;if(En.indexOf(Ce)===-1)return null;if(console.log("change1:",fa,$a,gr,Ba,Kn,sn,Cn,Ce),Kn>=0&&Ba.ch-Kn<5){var oa=Kn+an;return Tn.replaceRange("",{line:Ba.line,ch:Kn},{line:Ba.line,ch:oa}),{line:Ba.line,ch:oa}}return null}(0,x.useEffect)(()=>{if(fn){let $a=function(fa,Tn){const Ba=fa.getValue();qa(Ba),Ga(new Date().getTime()),fa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pt&&(ea?Pt(Ba,Yr(Ba)):Pt(Ba))};return fn.on("change",$a),()=>{fn.off("change",$a)}}},[fn,Pt]),(0,x.useEffect)(()=>{if(fn)if(st==null)fn.setValue(""),qa("");else{const $a=window.scrollY||window.pageYOffset;st!==fn.getValue()&&(fn.setValue(st),qa(st),fn.setCursor(Zn?1:fn.lineCount(),0),window.scrollTo(0,$a))}},[fn,st]);const wr=(0,x.useCallback)($a=>{const fa=fn.getCursor(),Tn=fn.getSelection();let Ba=Tn.split(` +\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 Nt(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"},Ht={[Lt]:"\u6DFB\u52A0\u94FE\u63A5",[Sn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[pn]:"\u6DFB\u52A0\u753B\u56FE",[Dt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Rn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var mn=({defaultValue:st="",onChange:Pt,width:dt="100%",height:ln=400,miniToolbar:Nn=!1,isFocus:bn=!1,watch:la,insertTemp:Hn,mode:lt="markdown",id:$t="markdown-editor-id",showResizeBar:Jn=!1,noStorage:nn=!1,showNullButton:kn=!1,showNullProgramButton:ea=!1,hidetoolBar:Ra=!1,fullScreen:va=!1,onBlur:Ge,onCMBeforeChange:gn,onFullScreen:Jt,className:yn="",disablePaste:In=!1,disabled:Zn=!1,disabledFill:An=!1,placeholder:Dn="",values:Fa="",extraUse:La})=>{const[fn,Na]=(0,x.useState)(null),[Yn,qa]=(0,x.useState)(st),[Ja,Wn]=(0,x.useState)(la),[sa,ma]=(0,x.useState)(va),[ra,Ua]=(0,x.useState)(""),[rr,Ga]=(0,x.useState)(0),[za,lr]=(0,x.useState)(ln),[Vr,Ir]=(0,x.useState)(!1),uo=(0,x.useRef)((0,_e.Z)()),yr=(0,x.useRef)(!1),Sr=(0,x.useRef)(),[Ar,br]=(0,x.useState)(0),[Br,Ta]=(0,x.useState)(0),or=(0,x.useRef)(),Lr=(0,x.useRef)(),Or=(0,x.useRef)(),Cr=(0,x.useRef)(),$r=()=>Pa(void 0,null,function*(){var $a;const fa=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:uo.current}});($a=fa==null?void 0:fa.attachments)!=null&&$a.length&&(console.log("cm:",fn,or),fa.attachments.map(Tn=>{Tn.content_type.indexOf("image")>-1?fn.replaceSelection(`![,](/api/attachments/${Tn.id}?type=${Tn.content_type})`):Tn.content_type.indexOf("video")>-1?fn.replaceSelection(``):Tn.content_type.indexOf("pdf")>-1?fn.replaceSelection(`${Tn.name}`):fn.replaceSelection(`[${Tn.name}](${ENV.API_SERVER}/api/attachments/${Tn.id}?type=${Tn.content_type})`)}))});(0,x.useEffect)(()=>{const $a=window.scrollY||window.pageYOffset;qa(Fa),fn==null||fn.setValue(Fa),window.scrollTo(0,$a)},[Fa]),(0,x.useEffect)(()=>{Jt==null||Jt(sa)},[sa]),(0,x.useEffect)(()=>{if(or.current){let $a=function(Tn,Ba){var gr;if(In){Ba.preventDefault();return}const Ce=Ba.clipboardData;if(Ce){const sn=Ce.types.toString(),Cn=Ce.items;if(sn==="Files"||Ce.types.indexOf("Files")>-1){if(Ba.preventDefault(),lt=="stex")return;try{let Kn=Cn[1];((gr=Cn[0])==null?void 0:gr.kind)==="file"&&(Kn=Cn[0]);const an=Kn.getAsFile(),oa=an.name.split(".").pop();(0,nt.I)(an,ta=>{var Bn,On,Aa;ta.id?((Bn=an==null?void 0:an.type)==null?void 0:Bn.indexOf("image"))>-1?fa.replaceSelection(``):((On=an==null?void 0:an.type)==null?void 0:On.indexOf("video"))>-1?fa.replaceSelection(``):((Aa=an==null?void 0:an.type)==null?void 0:Aa.indexOf("pdf"))>-1?fa.replaceSelection(`${an.name}`):Ze.includes(oa)?fa.replaceSelection(`${an.name}`):fa.replaceSelection(`[${an.name}](/api/attachments/${ta.id}?type=${ta.content_type})`):(ta==null?void 0:ta.status)===401&&(Ft.ZP.warning((ta==null?void 0:ta.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Kn){Ft.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const fa=Be().fromTextArea(or.current,{mode:lt,lineNumbers:!Nn,lineWrapping:!0,value:st,autoCloseTags:!ea,autoCloseBrackets:!0});return fa.on("keyup",function(Tn,Ba){Ba.keyCode===8&&(Tn.getValue()==""?fa.setOption("placeholder",Dn):fa.setOption("placeholder",null))}),fa.on("keydown",function(Tn,Ba){if(Ba.keyCode===8){var gr=Xa(Tn);gr&&Ba.preventDefault()}}),bn&&fa.focus(),fa.on("paste",$a),fa.on("dragleave",function(Tn,Ba){Lr.current.classList.remove("mouse-hover-md")}),Zn&&fa.on("beforeChange",function(Tn,Ba){(Ba.origin==="paste"||Ba.origin==="+input")&&Ba.cancel()}),Na(fa),()=>{fa.off("paste",$a)}}},[]);const jr=(0,x.useCallback)(()=>{if(Lr.current)try{}catch($a){console.log($a,"---- to set md editor body height")}},[za,Lr,sa]);(0,x.useEffect)(()=>{function $a(){let fa=new Me.Z(Tn=>{for(let Ba of Tn)(Ba.target.offsetHeight>0||Ba.target.offsetWidth>0)&&(jr(),fn.setSize("100%","100%"),fn.refresh())});return fa.observe(or.current.parentElement),fa}if(fn){const fa=$a();return()=>{var Tn,Ba;(Tn=or.current)!=null&&Tn.parentElement&&fa.unobserve((Ba=or.current)==null?void 0:Ba.parentElement)}}},[fn,jr]),(0,x.useEffect)(()=>{if(fn){let $a=[];for(const[fa,Tn]of Object.entries(tn)){let Ba={[fa]:()=>{wr(Tn)}};$a.push(Ba),fn.addKeyMap(Ba)}return Sr.current=setInterval(()=>{yr.current&&$r()},4e3),()=>{clearInterval(Sr.current);for(let fa of $a)fn.removeKeyMap(fa)}}},[fn]),(0,x.useEffect)(()=>{va!==sa&&ma(va)},[va]),(0,zn.Z)(()=>{if(!nn&&rr>0){let $a=new Date().getTime(),fa=window.sessionStorage.getItem($t);$a>=rr+wa&&(!fa||fa!==Yn)&&(window.sessionStorage.setItem($t,Yn),Ir(!0))}},wa),(0,x.useEffect)(()=>{Wn(la)},[fn,la]),(0,x.useEffect)(()=>{fn&&bn&&fn.focus()},[fn,bn]),(0,x.useEffect)(()=>{if(Ja&&fn){let $a=function(Tn){let Ba=Tn.target;if(Cr.current){let gr=Ba.scrollTop/Ba.scrollHeight;Cr.current.scrollTop=Cr.current.scrollHeight*gr}};const fa=fn.getScrollerElement();return fa.addEventListener("scroll",$a),()=>{fa.removeEventListener("scroll",$a)}}},[fn,Ja]),(0,x.useEffect)(()=>{if(fn&&gn){let $a=function(fa,Tn){gn(fa,Tn)};return fn.on("beforeChange",$a),()=>{fn.off("beforeChange",$a)}}},[fn,gn]),(0,x.useEffect)(()=>{if(fn&&Ge){let $a=function(){Ge(fn.getValue())};return fn.on("blur",$a),()=>{fn.off("blur",$a)}}},[fn,Ge]);function Xa($a,fa){var Tn=$a.getDoc(),Ba=Tn.getCursor(),gr=Tn.getLine(Ba.line),Ce=gr.charAt(Ba.ch-1),sn=gr.lastIndexOf("@\u2581@",Ba.ch),Cn=gr.lastIndexOf("@\u2581\u2581@",Ba.ch),Kn=sn>Cn?sn:Cn,an=sn>Cn?3:4;if(En.indexOf(Ce)===-1)return null;if(console.log("change1:",fa,$a,gr,Ba,Kn,sn,Cn,Ce),Kn>=0&&Ba.ch-Kn<5){var oa=Kn+an;return Tn.replaceRange("",{line:Ba.line,ch:Kn},{line:Ba.line,ch:oa}),{line:Ba.line,ch:oa}}return null}(0,x.useEffect)(()=>{if(fn){let $a=function(fa,Tn){const Ba=fa.getValue();qa(Ba),Ga(new Date().getTime()),fa.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Pt&&(ea?Pt(Ba,Yr(Ba)):Pt(Ba))};return fn.on("change",$a),()=>{fn.off("change",$a)}}},[fn,Pt]),(0,x.useEffect)(()=>{if(fn)if(st==null)fn.setValue(""),qa("");else{const $a=window.scrollY||window.pageYOffset;st!==fn.getValue()&&(fn.setValue(st),qa(st),fn.setCursor(Zn?1:fn.lineCount(),0),window.scrollTo(0,$a))}},[fn,st]);const wr=(0,x.useCallback)($a=>{const fa=fn.getCursor(),Tn=fn.getSelection();let Ba=Tn.split(` `);switch($a){case"bold":return fn.replaceSelection("**"+Tn+"**"),Tn===""&&fn.setCursor(fa.line,fa.ch+2),fn.focus();case"italic":return fn.replaceSelection("*"+Tn+"*"),Tn===""&&fn.setCursor(fa.line,fa.ch+1),fn.focus();case"code":return fn.replaceSelection("`"+Tn+"`"),Tn===""&&fn.setCursor(fa.line,fa.ch+1),fn.focus();case"inline-latex":return Ua("inline-latex"),fn.focus();case"latex":return fn.replaceSelection("```latex\n"+Tn+"\n```"),fn.setCursor(fa.line+1,Tn.length+1),fn.focus();case"line-break":return fn.replaceSelection(`
`),fn.focus();case"list-ul":return Tn===""?fn.replaceSelection("- "+Tn):fn.replaceSelection(Ba.map(gr=>gr===""?"":`- ${gr}`).join(` `)),fn.focus();case"list-ol":return Tn===""?fn.replaceSelection("1. "+Tn):fn.replaceSelection(Ba.map((gr,Ce)=>gr===""?"":`${Ce+1}. ${gr}`).join(` @@ -112,13 +112,13 @@ `;for(let xo=0;xo<_r;xo++){let pi=[],gi=[];for(let ri=0;ri{switch(ra){case Lt:return x.createElement(rn,{callback:pr,onCancel:no});case Sn:return x.createElement(xn.Z,{callback:pr,onCancel:no});case St:return x.createElement(nt.Z,{callback:pr,onCancel:no});case Dt:return x.createElement(Rt,{callback:pr,onCancel:no});case Rn:return x.createElement(Ae,{callback:pr,onCancel:no});case"maths-latex":return x.createElement(on,{showSaveButton:!0,callback:pr});case"inline-latex":return x.createElement(cn.Z,{showSaveButton:!0,callback:pr});default:return null}},[ra]);function no(){Ua("")}(0,x.useEffect)(()=>{if(Or.current){let $a=function(sn){gr=!0,Ce=sn.pageY},fa=function(){gr=!1},Tn=function(sn){if(gr){let Cn=sn.pageY-Ce;Cn<0&&(Cn=0),Cn>300&&(Cn=300);let Kn=ln+Cn+"px";lr(Kn)}},Ba=Or.current,gr=!1,Ce=0;return Ba.addEventListener("mousedown",$a),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",fa),()=>{Ba.removeEventListener("mousedown",$a),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",fa)}}},[fn,Or]),(0,x.useEffect)(()=>{lr(ln)},[ln]);const Bo=Nt(dt),To=Nt(za),ko={width:Bo,height:To},Dr=(0,x.useMemo)(()=>{if(rr){let $a=new Date(rr),fa=$a.getHours(),Tn=$a.getMinutes(),Ba=$a.getSeconds();return fa=fa<10?"0"+fa:fa,Tn=Tn<10?"0"+Tn:Tn,Ba=Ba<10?"0"+Ba:Ba,`${fa}:${Tn}:${Ba}`}return 0},[rr]),Yr=$a=>{const fa=[];if(ea){let Tn=-1;$a=$a.replace(/(@▁▁@|@▁@)/g,function(Ba,gr,Ce){fa.push({multiLine:Ba!==Mn})})}return fa};function Po(){window.sessionStorage.removeItem($t),Ir(!1),Ga(0)}function $o(){Ir(!1),Ga(0),fn.setValue(window.sessionStorage.getItem($t))}(0,x.useEffect)(()=>{Ht[ra]&&ra!==pn&&ra!==Dt&&setTimeout(()=>{const $a=document.getElementsByClassName("markdown-popup-form")[0],fa=window.innerWidth/2-$a.offsetWidth/2,Tn=window.innerHeight/2-$a.offsetHeight/2;br(fa),Ta(Tn)},0)},[ra]);const jo=$a=>{$a.preventDefault();const fa=$a.clientX-Ar,Tn=$a.clientY-Br;document.body.onmousemove=Ba=>{let gr=Ba.clientX-fa,Ce=Ba.clientY-Tn;const sn=document.getElementsByClassName("markdown-popup-form")[0],Cn=window.innerWidth-sn.offsetWidth,Kn=window.innerHeight-sn.offsetHeight;gr=Math.max(0,Math.min(gr,Cn)),Ce=Math.max(0,Math.min(Ce,Kn)),ei(Ba.clientX,Ba.clientY,fa,Tn)&&(br(gr),Ta(Ce))},document.body.onmouseup=function(){document.body.onmousemove=null}},ei=($a,fa,Tn,Ba)=>{const gr=document.body.clientHeight,Ce=document.body.clientWidth;return $a<20&&Tn>$a||$a>Ce-20&&Tn<$a||fa<20&&Ba>fa||fa>gr-20&&BaQe in De?tt(De,Qe,{enumerable:!0,configurable:!0,writable:!0,value:he}):De[Qe]=he,z=(De,Qe)=>{for(var he in Qe||(Qe={}))a.call(Qe,he)&&E(De,he,Qe[he]);if(y)for(var he of y(Qe))b.call(Qe,he)&&E(De,he,Qe[he]);return De},ne=(De,Qe)=>Je(De,le(Qe));const{useForm:re}=x.default,ie={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:De,onCancel:Qe})=>{const[he]=re();let Te=(0,ot.useRef)();function Ye(ut){Te.current.width=he.getFieldValue("width"),Te.current.align=he.getFieldValue("align"),De(ut,Te.current)}function bt(ut,Bt){if(ut.status===-1){ue.ZP.error(ut.message);return}he.setFieldsValue({src:`/api/attachments/${ut.id}`,type:Bt.type})}function Ne(ut){let Bt=ut.target.files[0];Te.current=Bt,je(Bt,bt)}return Ue.createElement(x.default,ne(z({form:he},me),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ue.createElement("div",{className:"flex-container"},Ue.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ue.createElement(Be.default,{style:ie})),Ue.createElement(ye,{onFileChange:Ne}))),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ue.createElement(Be.default,{style:{width:264}})),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ue.createElement(Me.Z,null,Ue.createElement(x.default.Item,{name:"width",style:{margin:0}},Ue.createElement(Le.Z,{style:{width:264}})),Ue.createElement("span",{className:"ml8"},"%"))),Ue.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ue.createElement(Oe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ue.createElement("aside",null,Ue.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ue.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ue.createElement(se.ZP,{type:"default",onClick:Qe},"\u53D6\u6D88"))))};function ye({onFileChange:De}){return Ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ue.createElement("input",{type:"file",onChange:De}))}function je(De,Qe){if(!De)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let he=new FormData;he.append("editormd-image-file",De),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(Ye){Qe(JSON.parse(Ye.target.responseText),De)},!1),Te.addEventListener("error",function(Ye){console.error(Ye)},!1),Te.open("POST",`${ct.KI}/api/attachments.json`),Te.send(he)}},79346:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Be}});var x=te(59301),ue=te(4676);class Be extends x.Component{constructor(Le){super(Le);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:Le}=this.props;return(0,ue.createPortal)(Le,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(Ut,Kt,te){"use strict";te.d(Kt,{i:function(){return ie},Z:function(){return pe}});var x={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),Me=te(92310),Le=te.n(Me),Oe=te(955),se=te(8797),ct=te(24065),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+IyYZrAH8sP3ECsVOBwx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AAAAAElFTkSuQmCC",re=te(59301);const ie=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:ot,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ue,swimg:tt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Je,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var pe=({className:ye,dataSource:je=[],col:De=4,right:Qe,bottom:he=23,precision:Te=0,wrapWidth:Ye=1200,trackEventItems:bt,loading:Ne,onRemove:ut=()=>{},isCurrent:Bt=!0,showAlias:yt=!1})=>{const gt=Math.floor((Ye-(De-1)*Qe)/De),Yt=[{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"}].map(vt=>(window.ENV==="build"&&(vt.ptimg=`/react/build${vt.ptimg}`,vt.swimg=`/react/build${vt.swimg}`),vt));return re.createElement(ue.Z,{spinning:Ne},re.createElement("div",{className:Le()(x.list,ye)},!!(je!=null&&je.length)&&(je==null?void 0:je.map((vt,rn)=>{var xn;const{name:nt,id:et,identifier:qt,featured:hn,school_name:Zt,image_url:dn,excellent:We,is_plan:It}=vt;return re.createElement("div",{key:et,className:x.wrap,style:{width:gt,marginRight:(1+rn)%De===0?0:Qe+Te,marginBottom:he}},re.createElement("a",{className:x.li,onClick:Gt=>{Gt.preventDefault(),Gt.stopPropagation(),bt&&(0,Oe.L9)([bt]),(0,Oe.xg)(`/paths/${qt}`)}},re.createElement("div",{className:x.img},re.createElement("img",{className:x.cover,src:`${dn}`}),Bt&&(0,ct.bg)()&&(vt==null?void 0:vt.studying)&&re.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Gt=>{Gt.stopPropagation(),ut(vt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xn=vt==null?void 0:vt.subject_tags)==null?void 0:xn.map((Gt,Mt)=>{var ht,rt;if(Mt===0){const ve=(ht=Yt.find(fe=>fe.name==Gt))==null?void 0:ht.swimg;return re.createElement("img",{className:x.sign,src:ve,style:{left:"-4px"}})}const ze=(rt=Yt.find(ve=>ve.name==Gt))==null?void 0:rt.ptimg;return re.createElement("img",{className:x.sign,src:ze,style:{left:`${48+52*(Mt-1)+2*Mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(vt==null?void 0:vt.excellent)&&re.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:x.name},re.createElement(Be.Z,{title:yt&&(vt!=null&&vt.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${vt==null?void 0:vt.excellent_alias_name}`)):nt},re.createElement("span",{className:x.e},yt&&(vt==null?void 0:vt.excellent_alias_name)||nt))),re.createElement("div",{className:x.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,vt.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,vt.members_count)))))))})),!je.length&&re.createElement(se.Z,null)))}},29458:function(Ut,Kt,te){"use strict";te.d(Kt,{jL:function(){return Le},w9:function(){return vt},QD:function(){return cn},cQ:function(){return ut.Z},op:function(){return Ae},O5:function(){return $n},_b:function(){return pn},t7:function(){return E},Gi:function(){return hn},YG:function(){return et},qp:function(){return Ue},vr:function(){return Lt},qE:function(){return Qt},Je:function(){return re},wb:function(){return Ne},cq:function(){return Mt},tp:function(){return le}});var x=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+iDB6BZurjsRSe2SogjhNwMZIngb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yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Le=({dataSource:Ze=[],img:Nt,imgWidth:kt=346,title:Wt,sunTitle:tn,bannerExtraContent:Ht})=>x.createElement("div",{className:ue.banner},x.createElement("div",{className:ue.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Wt),x.createElement("span",null,tn)),Ze.length>0&&x.createElement("div",{className:ue.btns},Ze.map((mn,st)=>x.createElement("div",{key:st,onClick:mn.click},mn.name,mn.sign?x.createElement("img",{src:Be,width:39}):null))),Ht),Nt&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Nt,width:kt}))),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"},se=te(92310),ct=te.n(se),ot=te(89392),Ue=({dataSource:Ze=[],value:Nt,onChange:kt,onTitleChange:Wt,className:tn,title:Ht,titleWidth:mn=41,style:st={},fontColor:Pt="#6A7283",showCount:dt})=>{const[ln,Nn]=(0,x.useState)(0),[bn,la]=(0,x.useState)(!1),Hn=(0,x.useRef)(null),lt=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var $t;Ze.length!==0&&((($t=Hn==null?void 0:Hn.current)==null?void 0:$t.clientHeight)>97?Nn(1):Nn(0)),Ze.length===0&&Nn(0),la(!1)},[Ze]),x.createElement("div",{className:ct()(Oe.row,tn),style:st},x.createElement("div",{onClick:(0,ot.throttle)(()=>Wt==null?void 0:Wt(),2e3),style:{width:mn,marginTop:bn?12:4},className:`${Oe.title} ${Wt?"current":""}`},Ht),x.createElement("div",{className:bn?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},x.createElement("div",{className:Oe.bar,ref:lt,style:ln>0?{height:ln===1?97:"auto",overflow:ln===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Oe.tag,ref:Hn},Ze==null?void 0:Ze.map($t=>x.createElement("span",{onClick:()=>kt($t.id),key:$t.id,style:{color:Pt},className:Nt===$t.id?Oe.active:""},x.createElement("span",{title:$t.name,className:Oe.name},$t.name),!!dt&&x.createElement("span",{className:Oe.num},$t.count))))),!!ln&&x.createElement(x.Fragment,null,ln===1?x.createElement("div",{onClick:()=>{var $t;Nn(2),(($t=Hn==null?void 0:Hn.current)==null?void 0:$t.clientHeight)>245?la(!0):la(!1)},className:Oe.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{lt.current.scrollTop=0,Nn(1),la(!1)},className:Oe.action},"\u6536\u8D77",x.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"},le=({dataSource:Ze=[],value:Nt,onChange:kt,className:Wt,style:tn={}})=>x.createElement("div",{style:tn,className:ct()(tt.tabs,Wt)},Ze.map(Ht=>x.createElement("span",{onClick:()=>kt(Ht.id),className:Nt===Ht.id?tt.active:"",key:Ht.id},Ht.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:Nt="",onChange:kt,onInputChange:Wt=()=>{},className:tn,style:Ht={},placeholder:mn,allowClear:st=!1})=>{var Pt;const[dt,ln]=(0,x.useState)(""),[Nn,bn]=(0,x.useState)("");(0,x.useEffect)(()=>{var lt;let $t=Nt;(lt=JSON.stringify(Nt))!=null&<.includes("{")&&(ln(Nt.id),$t=Nt.value||"");try{bn(decodeURIComponent($t||""))}catch(Jn){bn(decodeURIComponent($t||""))}},[Nt]);const la=()=>{kt(encodeURIComponent(Nn),dt||null)},Hn=lt=>{lt!==dt&&(ln(lt),kt(encodeURIComponent(Nn),lt))};return x.createElement("div",{className:ct()(y.input,tn),style:Ht},!!Ze.length&&x.createElement("div",{className:y.dropdown},x.createElement("div",{className:y.text},(Pt=Ze.find(lt=>lt.id===dt))==null?void 0:Pt.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:y.b1}),x.createElement("b",{className:y.b2})),x.createElement("div",{className:y.menu},Ze.map((lt,$t)=>x.createElement("div",{key:$t,onClick:()=>Hn(lt.id)},lt.name)))),x.createElement(a.default,{onPressEnter:la,value:Nn,onChange:lt=>{bn(lt.target.value),Wt(encodeURIComponent(lt.target.value),dt||null)},bordered:!1,placeholder:mn}),x.createElement("i",{onClick:la,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:Nt,className:kt,total:Wt,pageSize:tn,style:Ht={}})=>{const mn=Ze<2,st=Ze>=Math.ceil(Wt/tn);return Wt<=tn?x.createElement(x.Fragment,null):x.createElement("div",{className:ct()(z.quickPager,kt),style:Ht},x.createElement("div",{onClick:()=>{mn||Nt(Ze-1,"prev")},className:mn?z.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{st||Nt(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"},me=te(71418),pe=te(6848),ye=te(13570),je=te(3294),De=te(955),Qe=te(96908),he=te(57177),Te=te(81378),Ye=te(8797),Ne=({className:Ze,dataSource:Nt=[],col:kt=4,right:Wt,bottom:tn=23,precision:Ht=0,wrapWidth:mn=1200,trackEventItems:st,loading:Pt})=>{const dt=Math.floor((mn-(kt-1)*Wt)/kt);return x.createElement(me.Z,{spinning:Pt},x.createElement("div",{className:ct()(ie.list,Ze)},!!Nt.length&&Nt.map((ln,Nn)=>{const{name:bn,id:la,identifier:Hn,power:lt,cover_image_id:$t,pic:Jn}=ln;return x.createElement("div",{className:ie.wrap,key:la,style:{width:dt,marginRight:(1+Nn)%kt===0?0:Wt+Ht,marginBottom:tn}},x.createElement("a",{target:"_blank",href:`/shixuns/${Hn}/challenges`,className:ie.li,onClick:nn=>{nn.preventDefault(),st&&(0,De.L9)([st]),lt&&(0,De.xg)(`/shixuns/${Hn}/challenges`)}},x.createElement("div",{className:ie.img},x.createElement("img",{className:ie.cover,src:`${Jn}`}),ln.is_jupyter&&x.createElement("img",{className:ie.sign,src:Qe}),ln.is_jupyter_lab&&x.createElement("img",{className:ie.sign,src:he}),ln.is_unity_3d&&x.createElement("img",{className:ie.sign,src:Te})),x.createElement("div",{className:ie.name},x.createElement(pe.Z,{title:bn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:ie.e},bn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:ie.tags},x.createElement(pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,ln.challenges_count))),!!ln.myshixuns_count&&x.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,ln.myshixuns_count))),x.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,ln.level))),x.createElement("div",{className:ie.rate},x.createElement(ye.Z,{allowHalf:!0,disabled:!0,defaultValue:ln.score_info}),x.createElement("span",null,"\xA0",ln.score_info?`${ln.score_info}\u5206`:"5\u5206")))),!lt&&x.createElement("div",{className:ie.lockWrap},x.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Nt.length&&x.createElement(Ye.Z,null)))},ut=te(33847),Bt={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"},yt="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+l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GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=te(59301),vt=({className:Ze,dataSource:Nt=[],col:kt=4,right:Wt,bottom:tn=23,precision:Ht=0,wrapWidth:mn=1200,trackEventItems:st,loading:Pt})=>{const dt=Math.floor((mn-(kt-1)*Wt)/kt);return gt.createElement(me.Z,{spinning:Pt},gt.createElement("div",{className:ct()(Bt.list,Ze)},!!Nt.length&&Nt.map((ln,Nn)=>{const{subject_identifier:bn,id:la,identifier:Hn,power:lt}=ln,$t=ln.is_public!=0&&ln.is_public;return gt.createElement("div",{className:Bt.wrap,key:la,style:{width:dt,marginRight:(1+Nn)%kt===0?0:Wt+Ht,marginBottom:tn}},gt.createElement("a",{className:Bt.li,onClick:Jn=>{Jn.preventDefault(),st&&(0,De.L9)([st]),(0,De.xg)(ln.first_category_url)}},gt.createElement("div",{className:Bt.top},gt.createElement(pe.Z,{title:ln.name},gt.createElement("div",{className:Bt.name},ln.name)),gt.createElement("img",{className:Bt.img,src:je.Z.IMG_SERVER+"/images/"+ln.avatar_url}),gt.createElement("div",{className:Bt.text,title:ln.creator},ln.creator),bn&>.createElement("div",{className:Bt.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),$t&>.createElement("div",{className:Bt.sign},"\u516C\u5F00")),gt.createElement("div",{className:Bt.bottom},ln.visits>0&>.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,ln.visits))),ln.course_members_count>0&>.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),ln.course_members_count)),ln.tasks_count>0&>.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),ln.tasks_count)),ln.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ln.is_accessible&>.createElement("div",{className:Bt.lockWrap},gt.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Nt.length&>.createElement(Ye.Z,null)))},rn={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"},xn=te(89070),et=({dataSource:Ze=[],value:Nt,onChange:kt,className:Wt,style:tn={},tabBarExtraContent:Ht})=>x.createElement("div",{className:ct()(rn.tabs,Wt),style:tn},x.createElement("div",{className:rn.tabsWrap},Ze.map((mn,st)=>x.createElement("aside",{className:rn.tab,onClick:()=>{kt(mn.id),mn.link&&xn.history.push(mn.link)},key:st},x.createElement("div",{className:Nt===mn.id?rn.active:""},mn.name),(mn==null?void 0:mn.resetCount)==null&&(mn==null?void 0:mn.total)!==void 0&&x.createElement("span",null,"\uFF08",mn==null?void 0:mn.total,"\uFF09"),(mn==null?void 0:mn.resetCount)!==void 0&&(mn==null?void 0:mn.total)!==void 0&&x.createElement(pe.Z,{title:(mn==null?void 0:mn.tip)!=null?mn==null?void 0:mn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},mn==null?void 0:mn.resetCount),"/",x.createElement("span",null,mn==null?void 0:mn.total),"\uFF09"))))),x.createElement("div",{className:rn.tabBar},Ht)),hn=({className:Ze,style:Nt={},children:kt})=>x.createElement("div",{className:ct()(Ze),style:Nt},kt),Zt={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"},dn=te(38854),We=te(20834);const It=[{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:Nt,className:kt,onSort:Wt,onDrop:tn,dataSource:Ht=It})=>{var mn;return x.createElement("div",{className:ct()(Zt.orderWrap,kt)},x.createElement(dn.Z,{dropdownRender:()=>x.createElement(We.default,null,Ht.map((st,Pt)=>x.createElement(We.default.Item,{key:Pt,onClick:()=>tn(st.id)},st.name)))},x.createElement("span",{className:Zt.orderTextWrap},(mn=Ht.find(st=>Nt===st.id))==null?void 0:mn.name)),x.createElement("span",{className:Zt.orderIconWrap},x.createElement("span",{className:Zt.orderAsc},x.createElement("i",{className:Ze==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Wt(Ze==="asc"?"desc":"asc")})),x.createElement("span",{className:Zt.orderDesc},x.createElement("i",{className:Ze==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Wt(Ze==="asc"?"desc":"asc")}))))},ht={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),ze=Object.defineProperty,ve=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Rt=(Ze,Nt,kt)=>Nt in Ze?ze(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[Nt]=kt,Fe=(Ze,Nt)=>{for(var kt in Nt||(Nt={}))fe.call(Nt,kt)&&Rt(Ze,kt,Nt[kt]);if(ve)for(var kt of ve(Nt))qe.call(Nt,kt)&&Rt(Ze,kt,Nt[kt]);return Ze},xe=(Ze,Nt)=>{var kt={};for(var Wt in Ze)fe.call(Ze,Wt)&&Nt.indexOf(Wt)<0&&(kt[Wt]=Ze[Wt]);if(Ze!=null&&ve)for(var Wt of ve(Ze))Nt.indexOf(Wt)<0&&qe.call(Ze,Wt)&&(kt[Wt]=Ze[Wt]);return kt},at=(Ze,Nt,kt)=>new Promise((Wt,tn)=>{var Ht=Pt=>{try{st(kt.next(Pt))}catch(dt){tn(dt)}},mn=Pt=>{try{st(kt.throw(Pt))}catch(dt){tn(dt)}},st=Pt=>Pt.done?Wt(Pt.value):Promise.resolve(Pt.value).then(Ht,mn);st((kt=kt.apply(Ze,Nt)).next())}),Ae=Ze=>{var Nt=Ze,{className:kt,style:Wt,children:tn,loading:Ht=!1,openLoading:mn,onClick:st=()=>{},size:Pt="middle",shape:dt="round"}=Nt,ln=xe(Nt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Nn,bn]=(0,x.useState)(!1);return x.createElement(rt.ZP,Fe({onClick:(0,ot.throttle)(la=>at(void 0,null,function*(){mn&&bn(!0);try{yield st(la)}catch(Hn){console.log("error",Hn)}mn&&bn(!1)}),2e3,{leading:!0,trailing:!1}),className:ct()(ht.btn,ht[`${Pt}-${dt}`],kt),style:Wt,size:Pt,shape:dt,loading:Nn||Ht},ln),tn)},ft={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"},Qt=({className:Ze,style:Nt,children:kt=null,onClick:Wt,title:tn})=>x.createElement("div",{className:ct()(ft.head,Ze),style:Nt},x.createElement("span",{className:"primary-hover",onClick:Wt},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:tn},tn),x.createElement("div",{className:ft.node},kt)),jt={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"},cn=({confirmShow:Ze=!0,confirmTitle:Nt,confirmClick:kt,cancelShow:Wt=!0,cancelTitle:tn,cancelClick:Ht,className:mn,style:st,confirmLoading:Pt=!1})=>x.createElement("div",{className:ct()(jt.btns,mn),style:st},Ze&&x.createElement(rt.ZP,{loading:Pt,onClick:kt,type:"primary",className:jt.confirm},Nt),Wt&&x.createElement(rt.ZP,{onClick:Ht,className:jt.cancel},tn)),_e={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"},Lt=({className:Ze,style:Nt={},LeftContent:kt,children:Wt,RightContent:tn})=>x.createElement("div",{className:ct()(_e.fixedBottom,Ze),style:Nt},x.createElement("div",{className:_e.wrap},x.createElement("div",{className:_e.left},kt),x.createElement("div",{className:_e.center},Wt),x.createElement("div",{className:_e.right},tn))),St={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"},pn=({className:Ze,style:Nt={},dataSource:kt=[]})=>x.createElement("div",{className:ct()(St.crumbs,Ze),style:Nt},kt.map((Wt,tn)=>tnxn.history.push(Wt.path)},Wt.name):x.createElement("span",null,Wt.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:tn,style:{color:"#5F6368"}},Wt.name))),Pn=te(31797),Sn=Object.defineProperty,Rn=Object.defineProperties,na=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Ea=(Ze,Nt,kt)=>Nt in Ze?Sn(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[Nt]=kt,_n=(Ze,Nt)=>{for(var kt in Nt||(Nt={}))zn.call(Nt,kt)&&Ea(Ze,kt,Nt[kt]);if(aa)for(var kt of aa(Nt))Pa.call(Nt,kt)&&Ea(Ze,kt,Nt[kt]);return Ze},wa=(Ze,Nt)=>Rn(Ze,na(Nt)),en=(Ze,Nt)=>{var kt={};for(var Wt in Ze)zn.call(Ze,Wt)&&Nt.indexOf(Wt)<0&&(kt[Wt]=Ze[Wt]);if(Ze!=null&&aa)for(var Wt of aa(Ze))Nt.indexOf(Wt)<0&&Pa.call(Ze,Wt)&&(kt[Wt]=Ze[Wt]);return kt};const{Countdown:En}=Pn.default;var $n=Ze=>{var Nt=Ze,{onChange:kt}=Nt,Wt=en(Nt,["onChange"]);const[tn,Ht]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof tn=="number"&&tn>=0&&kt(tn)},[tn]);const mn=st=>{const Pt=Math.floor(st/1e3);Ht(Pt)};return x.createElement(En,wa(_n({},Wt),{onChange:mn}))}},58856:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ue}});var x=te(59301);function ue(Be,Me){const Le=(0,x.useRef)();(0,x.useEffect)(()=>{Le.current=Be}),(0,x.useEffect)(()=>{function Oe(){Le.current()}if(Me!==null){let se=setInterval(Oe,Me);return()=>clearInterval(se)}},[Me])}},42609:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return y}});var x=te(59301),ue=te(8591),Be=te(43418),Me=te(19842),Le=te(54580),Oe=te(3113),se=te(3294),ct=te(955),ot=te(99064),Ve=te(89070),Ue={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,b,E)=>new Promise((z,ne)=>{var re=pe=>{try{me(E.next(pe))}catch(ye){ne(ye)}},ie=pe=>{try{me(E.throw(pe))}catch(ye){ne(ye)}},me=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(re,ie);me((E=E.apply(a,b)).next())}),y=({visible:a,onOk:b,onCancel:E,sub_discipline_id:z=[]})=>{const[ne,re]=(0,x.useState)([]),[ie,me]=(0,x.useState)(!1),pe=(0,Ve.useParams)(),[ye,je]=(0,x.useState)([]),[De,Qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{a?he():(Qe([]),re([]),me(!1))},[a]);const he=()=>Je(void 0,null,function*(){const Bt=yield(0,ot.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});je(Bt.disciplines||[]),Qe((z==null?void 0:z.length)>0?z:[])}),Te=()=>{if((De==null?void 0:De.length)===0)return ue.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",De),me(!0),b(ne,De[1],()=>{me(!1)})},Ye=()=>{E()},bt=()=>{const Bt=`${se.Z.API_SERVER}/api/courses/${pe.coursesId}/exercises/down_template`;(0,ct.Nd)(null,Bt)},Ne=Bt=>{const yt={name:Bt.name,uid:Bt.uid,file:Bt};return re([yt]),!1},ut=()=>{re([])};return tt.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Te,centered:!0,wrapClassName:Ue.customModal,onCancel:Ye,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ue.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ie},tt.createElement("div",{className:Ue.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:bt},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),tt.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:bt,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),tt.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),tt.createElement("li",{className:Ue.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),tt.createElement("li",{className:Ue.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),tt.createElement("li",{className:Ue.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),tt.createElement("li",{className:Ue.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(Me.Z,{value:De,className:Ue.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ye,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Bt,yt)=>{Qe(Bt||[])}}),tt.createElement("br",null),tt.createElement(Le.default,{action:`${se.Z.API_SERVER}/api/attachments.json`,beforeUpload:Ne,onRemove:ut,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},tt.createElement(Oe.ZP,{className:Ue.upload,type:"primary",icon:tt.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((Bt,yt)=>tt.createElement("div",{key:yt,className:Ue.fileList},tt.createElement("span",{className:Ue.fileName},Bt==null?void 0:Bt.name),tt.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ut})))))))}},74440:function(Ut,Kt,te){"use strict";te.d(Kt,{h:function(){return x}});var x=(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))(x||{})},88264:function(Ut,Kt,te){"use strict";te.d(Kt,{H7:function(){return y},MK:function(){return le},MU:function(){return Ve},X6:function(){return tt},bM:function(){return ot},fi:function(){return a},fu:function(){return ct},n4:function(){return b},rX:function(){return Je},vl:function(){return E},zO:function(){return Ue}});var x=te(99064),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(z,ne,re)=>ne in z?ue(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,se=(z,ne)=>{for(var re in ne||(ne={}))Me.call(ne,re)&&Oe(z,re,ne[re]);if(Be)for(var re of Be(ne))Le.call(ne,re)&&Oe(z,re,ne[re]);return z};function ct(z,ne){return(0,x.U2)(`myproblems/${z}.json`,se({hidePopLogin:!0},ne||{}))}function ot(z,ne){return(0,x.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,x.v_)(`myproblems/${z}/code_debug.json`,ne)}function Ue(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,x.U2)(`myproblems/${z}/submit_records.json`,ne)}function tt(z){return(0,x.U2)("myproblems/record_detail.json",{id:z})}function Je(z,ne){return(0,x.U2)(`myproblems/${z}/result.json`,{mode:ne})}function le(z,ne){return(0,x.v_)(`myproblems/${z}/add_notes.json`,ne)}function y(z,ne){return(0,x.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,x.v_)(`myproblems/${z}/sync_code.json`)}function b(z,ne){return(0,x.v_)(`myproblems/${z}/update_code.json`,ne)}function E(z,ne){return(0,x.v_)(`discusses/${z}/plus.json`,ne)}},15730:function(Ut,Kt,te){"use strict";var x=te(59301),ue=te(6848),Be=te(92832),Me=te(8591),Le=te(7761),Oe=te(59301),se=(ot,Ve,Ue)=>new Promise((tt,Je)=>{var le=b=>{try{a(Ue.next(b))}catch(E){Je(E)}},y=b=>{try{a(Ue.throw(b))}catch(E){Je(E)}},a=b=>b.done?tt(b.value):Promise.resolve(b.value).then(le,y);a((Ue=Ue.apply(ot,Ve)).next())});const ct=({defaultValue:ot,onFinish:Ve})=>{const[Ue,tt]=(0,x.useState)(!1),[Je,le]=(0,x.useState)(ot);return(0,x.useEffect)(()=>{le(ot)},[ot]),Oe.createElement("div",null,Ue?Oe.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Je,onChange:y=>{le(y.target.value)},onBlur:()=>se(void 0,null,function*(){var y;if(((y=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Je))&&tt(!1)}),onPressEnter:()=>se(void 0,null,function*(){var y;if(((y=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Je))&&tt(!1)})}):Oe.createElement("div",{className:Le.Z.title},Je,Oe.createElement(ue.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Oe.createElement("i",{className:`${Le.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>tt(!0)}))))};Kt.Z=ct},8478:function(Ut,Kt,te){"use strict";te.r(Kt),te.d(Kt,{default:function(){return gl},useCourseOptions:function(){return dl}});var x=te(59301),ue=te(89070),Be=te(78241),Me=te(66104),Le=te(8591),Oe=te(71418),se=te(92832),ct=te(19842),ot=te(24905),Ve=te(5112),Ue=te(5871),tt=te(3113),Je=te(7761),le=te(80401),y=te(26422),a=te(6021),b=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"},me=te(955),pe=te(99064),ye=te(8797),je=te(67248),De=te(78113),Qe=te(85149),he=te(59301),Te=Object.defineProperty,Ye=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(Se,Ke,$e)=>Ke in Se?Te(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,gt=(Se,Ke)=>{for(var $e in Ke||(Ke={}))ut.call(Ke,$e)&&yt(Se,$e,Ke[$e]);if(Ne)for(var $e of Ne(Ke))Bt.call(Ke,$e)&&yt(Se,$e,Ke[$e]);return Se},Yt=(Se,Ke)=>Ye(Se,bt(Ke)),vt=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),xn=({Itemid:Se,setqitem:Ke,qitem:$e,data:un,getdata:ua,bigitem:ka,setBigqitem:Ka,isedit:ge,handleEditing:ce})=>{const[be,ke]=(0,x.useState)([]),[Ie,He]=(0,x.useState)(!1);(0,x.useEffect)(()=>{un.length>0&&ke([...un])},[un]);const pt=(xt,it)=>vt(void 0,null,function*(){if(ge){ce();return}if(!xt.destination)return;He(!0);let zt=yield(0,pe.ZP)(`/api/examination_banks/${Se}/examination_banks_item_banks/${it==null?void 0:it[xt.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:Se,itemid:it==null?void 0:it[xt.source.index].question_id,position:xt.destination.index}});He(!1),zt.status===0&&ua({id:it==null?void 0:it[xt.source.index].question_id})});return he.createElement("div",null,he.createElement(De.Z5,{onDragEnd:xt=>pt(xt,be)},he.createElement(De.bK,{droppableId:"droppable"},(xt,it)=>he.createElement("div",gt({ref:xt.innerRef},xt.droppableProps),he.createElement(Oe.Z,{spinning:Ie},be.map((zt,wt)=>he.createElement(De._l,{key:wt,draggableId:wt.toString(),index:wt},(Xt,Ln)=>{var _t,At;return he.createElement("aside",gt(gt({ref:Xt.innerRef},Xt.draggableProps),Xt.dragHandleProps),he.createElement(ne.Z,{title:he.createElement(Qe.Z,{value:(zt==null?void 0:zt.question_type)===8?(_t=zt==null?void 0:zt.program_attr)==null?void 0:_t.description:zt.question_title}),color:"#fff",placement:"left",overlayClassName:ie.titleTooltip},he.createElement("div",{onClick:()=>{if(ge){ce();return}Ke(Yt(gt({},zt),{index:wt+1})),Ka(ka),(0,me.Vf)("#question-scroll-id")},className:`${ie.qcount} ${zt.question_id===($e==null?void 0:$e.question_id)?ie.qcountclick:""}`},he.createElement("span",{className:ie.score},zt==null?void 0:zt.question_score,"\u5206"),he.createElement("span",{className:ie.qtitle},wt+1,"\u3001",he.createElement(Qe.Z,{value:(zt==null?void 0:zt.question_type)===8?(At=zt==null?void 0:zt.program_attr)==null?void 0:At.description:zt.question_title,showTextOnly:!0})))))}))),xt.placeholder))))},nt=te(95237),et=te(65357),qt=te(57809),hn=te(78673),Zt=te(61485),dn=te(87198),We=te(59301),It=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),Mt=({form:Se,TagDiscipline:Ke,exerciseitem:$e,qitem:un,getTagData:ua})=>{var ka;const[Ka,ge]=(0,x.useState)(!0),[ce,be]=(0,x.useState)(!1),[ke,Ie]=(0,x.useState)(""),[He,pt]=(0,x.useState)([]),[xt,it]=(0,x.useState)([]),[zt,wt]=(0,x.useState)(0);(0,x.useEffect)(()=>{Ln()},[]);const Xt=_t=>It(void 0,null,function*(){const At=yield(0,pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:_t==null?void 0:_t.sub_discipline_id}});it(At==null?void 0:At.tag_disciplines)}),Ln=()=>It(void 0,null,function*(){const _t=yield(0,pe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});pt(_t.disciplines||[]),un!=null&&un.sub_discipline_id&&Xt(un),wt(un!=null&&un.sub_discipline_id?1:0),Se.setFieldsValue({difficulty:un.difficulty||2,repeat_answer:!un.repeat_answer,sub_discipline_id:un!=null&&un.sub_discipline_id?[un==null?void 0:un.discipline_id,un==null?void 0:un.sub_discipline_id]:[]})});return We.createElement("div",null,We.createElement("div",{style:{marginTop:30,overflow:"hidden",height:Ka?"100%":0}},We.createElement(Be.default.Item,{className:ie.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},We.createElement(Ve.ZP.Group,{className:ie.radiogroup},We.createElement(Ve.ZP.Button,{className:ie.easy,value:1},"\u7B80\u5355"),We.createElement(Ve.ZP.Button,{className:ie.medium,value:2},"\u9002\u4E2D"),We.createElement(Ve.ZP.Button,{className:ie.hard,value:3},"\u56F0\u96BE"))),We.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:ie.formcenterselect},We.createElement(ct.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,At)=>{Se.setFieldsValue({sub_discipline_id:_t,tag_discipline_ids:[]}),wt(_t?_t.length:0),(_t==null?void 0:_t.length)>0&&(Xt({sub_discipline_id:_t[1]}),_t[1]==(un==null?void 0:un.sub_discipline_id)&&Se.setFieldValue("tag_discipline_ids",un.tag_discipline_ids))},onClear:()=>{it([]),Se.setFieldValue("tag_discipline_ids",[]),wt(0)}})),We.createElement(Be.default.Item,{className:ie.formcenterselect},We.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},We.createElement(Be.default.Item,{name:"tag_discipline_ids"},We.createElement(qt.default,{className:ie.selectitems,disabled:zt===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,At)=>At.key.indexOf(_t.toLowerCase())>=0},xt==null?void 0:xt.map(_t=>We.createElement(qt.default.Option,{key:_t.name+_t.id,value:_t.id},We.createElement("div",{style:{display:"flex",alignItems:"center"}},We.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},_t.name),(_t==null?void 0:_t.type)==="personal"&&We.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),zt>0&&We.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},We.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),We.createElement("a",{onClick:()=>{be(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),We.createElement(Be.default.Item,{className:ie.formcenterselect},We.createElement("div",{style:{display:"flex",alignItems:"center"}},We.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},We.createElement(hn.Z,null)),We.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",We.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"},We.createElement(Zt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),We.createElement(dn.Z,{open:ce,subDisciplineId:(ka=Se.getFieldValue("sub_discipline_id"))==null?void 0:ka[1],onCancel:()=>{be(!1)},onOkClick:_t=>{it(At=>[...At,_t]),Se.setFieldValue("tag_discipline_ids",[...Se.getFieldValue("tag_discipline_ids"),_t==null?void 0:_t.id])}}))},ht=te(59301),rt=Object.defineProperty,ze=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Fe=(Se,Ke,$e)=>Ke in Se?rt(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,xe=(Se,Ke)=>{for(var $e in Ke||(Ke={}))qe.call(Ke,$e)&&Fe(Se,$e,Ke[$e]);if(fe)for(var $e of fe(Ke))Rt.call(Ke,$e)&&Fe(Se,$e,Ke[$e]);return Se},at=(Se,Ke)=>ze(Se,ve(Ke)),Xe=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ft=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(at(xe({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(He=>at(xe({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)}))},[Se]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const He=Ie.map(xt=>{var it;return(it=xt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return ht.createElement("div",null,ht.createElement(Be.default,{form:be,colon:!1,onFinish:Ie=>{var He;if(ke(Ie.choices)){Le.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let pt=at(xe({},Ie),{item_type:Se==null?void 0:Se.question_type,choices:(He=Ie==null?void 0:Ie.choices)==null?void 0:He.map(xt=>at(xe({},xt),{is_answer:xt.standard_boolean}))});ua(xe(xe({},Se),pt))},onFinishFailed:Ie=>Xe(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},ht.createElement("div",{style:{display:"flex",alignItems:"center"}},ht.createElement("div",{style:{flex:1}},ht.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ht.createElement("span",null,(Se==null?void 0:Se.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!Se.isadd&&ht.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},ht.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ht.createElement(tt.ZP,{onClick:()=>{var Ie;Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(at(xe({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(He=>at(xe({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),ht.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ht.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ht.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")},ht.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Xe(void 0,null,function*(){be.submit()})},"\u4FDD\u5B58"))),ht.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ht.createElement(nt.Z,{align:"middle"},ht.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},ht.createElement(Ue.Z,{onBlur:Ie=>{Ie.target.value==="0"&&Le.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}))),ht.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"}),ht.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},vn=te(70472),Qt=te(27693),jt=te(59301),on=Object.defineProperty,cn=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Dt=(Se,Ke,$e)=>Ke in Se?on(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,pn=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Lt.call(Ke,$e)&&Dt(Se,$e,Ke[$e]);if(Ft)for(var $e of Ft(Ke))St.call(Ke,$e)&&Dt(Se,$e,Ke[$e]);return Se},Pn=(Se,Ke)=>cn(Se,_e(Ke)),Sn=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),na=({qitem:Se,TagDiscipline:Ke,exerciseitem:$e,setisedit:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm(),ke=Be.default.useWatch("use_blank_score",be);return(0,x.useEffect)(()=>{be.setFieldsValue(Pn(pn({},Se),{standard_answers:Se.standard_answers||[],name:Se.question_title,repeat_answer:!Se.repeat_answer}))},[Se]),jt.createElement("div",null,jt.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,xt,it,zt;if(Ie!=null&&Ie.standard_answers||Ie!=null&&Ie.use_blank_score){let wt=((pt=be.getFieldValue("standard_answers"))==null?void 0:pt.length)>0&&((it=(xt=be.getFieldValue("standard_answers"))==null?void 0:xt.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(wt==null?void 0:wt.length)>0&&be.setFieldsValue({question_score:(wt==null?void 0:wt.length)>0&&((zt=wt.reduce((Xt,Ln)=>Xt+Ln))==null?void 0:zt.toFixed(1))})}},onFinish:Ie=>{var He;ua(Pn(pn(pn({},Se),Ie),{item_type:Se==null?void 0:Se.question_type,standard_answers:(He=Ie.standard_answers)==null?void 0:He.map((pt,xt)=>Pn(pn({},pt),{position:pt.choice_id||xt+1}))}))},onFinishFailed:Ie=>Sn(void 0,null,function*(){var He,pt;Ie.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,me.pE)(),Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement("div",{style:{flex:1}},jt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jt.createElement("span",null,"\u586B\u7A7A\u9898")),!Se.isadd&&jt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},jt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),jt.createElement(tt.ZP,{onClick:()=>{Se.isadd?(un(!1),ge()):(be.setFieldsValue(Pn(pn({},Se),{standard_answers:Se.standard_answers,name:Se.question_title,repeat_answer:!Se.repeat_answer})),un(!1))}},"\u53D6\u6D88"),jt.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jt.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")},jt.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),jt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jt.createElement(nt.Z,{align:"middle"},ke?jt.createElement(Qt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):jt.createElement(Be.default.Item,{key:2,className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jt.createElement(Ue.Z,{onBlur:Ie=>{Ie.target.value==="0"&&Le.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})),jt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},jt.createElement(Ve.ZP.Group,{className:ie.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),jt.createElement(ne.Z,{overlayInnerStyle:{width:460},title:jt.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",jt.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")},jt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),jt.createElement(vn.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,answerKey:"standard_answers"}),jt.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:$e,TagDiscipline:Ke,form:be}))))},aa=te(11832),zn=te(59301),Pa=Object.defineProperty,Ea=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Mn=(Se,Ke,$e)=>Ke in Se?Pa(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,$n=(Se,Ke)=>{for(var $e in Ke||(Ke={}))en.call(Ke,$e)&&Mn(Se,$e,Ke[$e]);if(wa)for(var $e of wa(Ke))En.call(Ke,$e)&&Mn(Se,$e,Ke[$e]);return Se},Ze=(Se,Ke)=>Ea(Se,_n(Ke)),Nt=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),Wt=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke;be.setFieldsValue(Ze($n({},Se),{name:Se.question_title,repeat_answer:!Se.repeat_answer,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(Ie=>Ze($n({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0}))}))},[Se]),zn.createElement("div",null,zn.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua($n($n({},Se),ke))},onFinishFailed:ke=>Nt(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},zn.createElement("div",{style:{display:"flex",alignItems:"center"}},zn.createElement("div",{style:{flex:1}},zn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),zn.createElement("span",null,"\u5224\u65AD\u9898")),!(Se!=null&&Se.isadd)&&zn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},zn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),zn.createElement(tt.ZP,{onClick:()=>{var ke;Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(Ze($n({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(Ie=>Ze($n({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),zn.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:zn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},zn.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")},zn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),zn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},zn.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},zn.createElement(Ue.Z,{onBlur:ke=>{ke.target.value==="0"&&Le.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})),zn.createElement(aa.Z,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),zn.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},tn=te(36381),Ht={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"},mn=te(12893),st=te(12290),Pt=Object.defineProperty,dt=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable,Hn=(Se,Ke,$e)=>Ke in Se?Pt(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,lt=(Se,Ke)=>{for(var $e in Ke||(Ke={}))bn.call(Ke,$e)&&Hn(Se,$e,Ke[$e]);if(Nn)for(var $e of Nn(Ke))la.call(Ke,$e)&&Hn(Se,$e,Ke[$e]);return Se},$t=(Se,Ke)=>dt(Se,ln(Ke)),Jn=(Se,Ke)=>{var $e={};for(var un in Se)bn.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&Nn)for(var un of Nn(Se))Ke.indexOf(un)<0&&la.call(Se,un)&&($e[un]=Se[un]);return $e};const nn=Se=>{var Ke=Se,{value:$e,onChange:un,scrollId:ua}=Ke,ka=Jn(Ke,["value","onChange","scrollId"]);return x.createElement("div",{id:ua||""},x.createElement(st.Z,$t(lt({},ka),{defaultValue:$e,onChange:(Ka,ge)=>{console.log("a:",Ka,ge),ge!=null&&ge.length?un(Ka,ge):un(Ka)}})))},kn=({value:Se,onChange:Ke,placeholder:$e,height:un=140,isEdit:ua})=>ua?x.createElement(st.Z,{watch:!0,isFocus:!0,height:un,placeholder:$e,defaultValue:Se,onChange:Ke}):x.createElement("div",{style:{cursor:"pointer"}},Se?x.createElement(Qe.Z,{className:Ht.inputBorder,value:Se}):x.createElement("div",{className:`${Ht.inputBorder} ${Ht.placeholder}`},$e));var ea=te(43604),Ra=te(32134),va=Object.defineProperty,Ge=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,Zn=(Se,Ke,$e)=>Ke in Se?va(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,An=(Se,Ke)=>{for(var $e in Ke||(Ke={}))yn.call(Ke,$e)&&Zn(Se,$e,Ke[$e]);if(Jt)for(var $e of Jt(Ke))In.call(Ke,$e)&&Zn(Se,$e,Ke[$e]);return Se},Dn=(Se,Ke)=>Ge(Se,gn(Ke)),Fa=(Se,Ke)=>{var $e={};for(var un in Se)yn.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&Jt)for(var un of Jt(Se))Ke.indexOf(un)<0&&In.call(Se,un)&&($e[un]=Se[un]);return $e};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"],fn=({value:Se,onChange:Ke,choiceTextKey:$e,answerKey:un,index:ua,isEdit:ka,setInputActive:Ka,form:ge,choiceOptionsPath:ce,allowChangeMode:be,showAddIcon:ke,addItem:Ie,deleteItem:He})=>{const pt=(Se==null?void 0:Se[un])===1,xt=()=>{const zt=ge.getFieldValue(ce);ge.setFieldValue(ce,zt.map(wt=>Dn(An({},wt),{[un]:0})))},it=()=>{pt?Ke(Dn(An({},Se),{[un]:0})):(be||xt(),Ke(Dn(An({},Se),{[un]:1})))};return x.createElement(nt.Z,{className:Ht.choiceWrap,align:"middle",wrap:!1},x.createElement(ea.Z,{onClick:it,className:`${Ht.choiceIndex} ${pt?Ht.activeAnswer:""}`},La[ua]),x.createElement(ea.Z,{flex:1,className:`${Ht.editorWrap} ml15`,onClick:Ka},x.createElement(kn,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ka,value:Se==null?void 0:Se[$e],onChange:zt=>{Ke(Dn(An({},Se),{[$e]:zt}))}})),x.createElement(ea.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:it,className:`${Ht.setAnswerBtn} ${pt?Ht.activeAnswer:""}`},pt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),x.createElement(ea.Z,{className:Ht.actionWrapper},x.createElement(ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement(Ra.Z,{className:Ht.addIcon,onClick:Ie,style:{visibility:ke?"visible":"hidden"}})),x.createElement(ne.Z,{title:"\u5220\u9664"},x.createElement(mn.Z,{className:Ht.deleteIcon,onClick:He,style:{visibility:ua>1?"visible":"hidden"}}))))},Da=({questionTitlePlaceholder:Se,titleKey:Ke,choiceKey:$e,analysisKey:un,choiceTextKey:ua,answerKey:ka,choiceOptionsPath:Ka,allowChangeMode:ge=!0,form:ce,showAnalysis:be=!0})=>{const[ke,Ie]=(0,x.useState)(),[He,pt]=(0,x.useState)(!1);return x.createElement("div",{className:Ht.wrap},x.createElement("div",{className:Ht.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ke,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:Array.isArray(Ke)?Ke.join("_"):`${Ke}`,watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),x.createElement(Be.default.List,{name:$e,rules:[{validator(xt,it){const zt=it.some(Xt=>Xt[ka]===1),wt=it.findIndex(Xt=>{var Ln;return((Ln=Xt[ua])==null?void 0:Ln.length)<=0});return wt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${La[wt]}\u9009\u9879\u7684\u5185\u5BB9`)):zt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(xt,{add:it,remove:zt})=>x.createElement("div",{id:Array.isArray(Ka)?Ka.join("_"):`${Ka}`},xt.map((wt,Xt)=>{var Ln=wt,{key:_t,name:At}=Ln,Un=Fa(Ln,["key","name"]);const jn=ke===_t,Qn=()=>{Ie(_t)},Vn=Xt<7&&Xt===xt.length-1,qn=()=>it({[ua]:"",[ka]:0}),Fn=()=>zt(At);return x.createElement(Be.default.Item,Dn(An({},Un),{key:_t,name:At,noStyle:!0}),x.createElement(fn,{choiceTextKey:ua,answerKey:ka,index:Xt,isEdit:jn,setInputActive:Qn,form:ce,choiceOptionsPath:Ka,allowChangeMode:ge,showAddIcon:Vn,addItem:qn,deleteItem:Fn}))}),xt.length<8&&x.createElement("div",{className:`${Ht.addBtn} mb30`,onClick:()=>it({[ua]:"",[ka]:0})},"\u6DFB\u52A0\u9009\u9879"))),be&&x.createElement("div",{onClick:()=>pt(!0)},x.createElement(Be.default.Item,{name:un,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:He}))))};var Yn=te(59301),qa=Object.defineProperty,Ja=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,ra=Object.prototype.propertyIsEnumerable,Ua=(Se,Ke,$e)=>Ke in Se?qa(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,rr=(Se,Ke)=>{for(var $e in Ke||(Ke={}))ma.call(Ke,$e)&&Ua(Se,$e,Ke[$e]);if(sa)for(var $e of sa(Ke))ra.call(Ke,$e)&&Ua(Se,$e,Ke[$e]);return Se},Ga=(Se,Ke)=>Ja(Se,Wn(Ke)),za=(Se,Ke)=>{var $e={};for(var un in Se)ma.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&sa)for(var un of sa(Se))Ke.indexOf(un)<0&&ra.call(Se,un)&&($e[un]=Se[un]);return $e};const lr=({value:Se,onChange:Ke})=>{const $e=ua=>{b.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:Ht.modal,onOk:()=>{const ka=[...Se];ka.splice(ua,1),Ke(ka)}})},un=()=>{const ua=[...Se];ua.push(""),Ke(ua)};return Yn.createElement(nt.Z,{className:"ml20"},Yn.createElement(ea.Z,{flex:1},Se==null?void 0:Se.map((ua,ka)=>Yn.createElement(nt.Z,{key:`${ua}_${ka}`,align:"middle",className:"mb20"},Yn.createElement(se.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ua,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ka=>{const ge=[...Se],ce=Ka.target.value.trim();ge[ka]=ce,Ke(ge)}}),Yn.createElement(ne.Z,{title:"\u5220\u9664"},Yn.createElement(mn.Z,{className:Ht.deleteIcon,style:{marginLeft:15,visibility:ka>0?"visible":"hidden"},onClick:()=>$e(ka)}))))),Yn.createElement(ea.Z,null,Yn.createElement("div",{className:`${Ht.addBtn}`,onClick:()=>{un()}},"\u65B0\u589E\u7B54\u6848")))},Vr=({value:Se=!0,onChange:Ke})=>Yn.createElement(hn.Z,{checked:!Se,onChange:$e=>{Ke(!$e)}}),Ir="\u2581",uo=({questionTitlePlaceholder:Se,form:Ke,name:$e,scoreByBlank:un,answerKey:ua,titleKey:ka="name",analysisKey:Ka="analysis",isOrdered:ge="is_ordered"})=>{var ce,be;const[ke,Ie]=(0,x.useState)(!1),He=(_t,At)=>{const Un=At.line;let jn=0;for(let Vn=0;Vn{const Qn=_t.getRange(At.from,At.to);let Vn=0;if(At.text.forEach(qn=>{Vn+=qn.split(Ir).length-1}),At.origin!=="setValue"){if(Qn&&Qn.indexOf(Ir)!==-1){const qn=Qn.split(Ir).length-1,Fn=He(_t,At.from);if(console.log(`\u5220\u9664${qn}\u4E2A\uFF0C \u524D\u9762\u6709${Fn}\u4E2A\uFF0C\u65B0\u589E${Vn}\u4E2A`),qn>1){const Ca=Array.from({length:qn},(ba,Za)=>Fn+Za);jn(Ca)}else jn(Fn)}else if(Vn>0){const qn=He(_t,At.from);console.log(`\u65B0\u589E${Vn}\u4E2A\uFF0C\u4E4B\u524D\u6709${qn}\u4E2A`),Un(Vn,qn)}}},xt=()=>{const _t=Ke.getFieldValue(["sub_item_banks",...ua]);Ke.setFieldValue(["sub_item_banks",...ua],_t==null?void 0:_t.map((At,Un)=>Ga(rr({},At),{position:Un+1})))},it=(0,x.useRef)(),zt=(_t,At)=>{for(let Un=0;Un<_t;Un++)it.current({position:null,answer_text:[""]},At+Un);xt()},wt=(0,x.useRef)(),Xt=_t=>{wt.current(_t),xt()},Ln=(be=(ce=Ke.getFieldValue("sub_item_banks"))==null?void 0:ce[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",...un])),Yn.createElement("div",{className:Ht.wrap},Yn.createElement("div",{className:Ht.questionTitleEditorWrap},Yn.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ka,labelCol:{span:24},rules:[{required:!0}]},Yn.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:Se,showNullButton:!0,onCMBeforeChange:(_t,At)=>{pt(_t,At,zt,Xt)}}))),Yn.createElement(Be.default.List,{name:ua,rules:[{validator(_t,At){if((At==null?void 0:At.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Un of At){const{answer_text:jn}=Un||{};if(jn!=null&&jn.some(Qn=>(Qn==null?void 0:Qn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(_t,{add:At,remove:Un},{errors:jn})=>(it.current=At,wt.current=Un,Yn.createElement(Yn.Fragment,null,Yn.createElement(Be.default.Item,{label:Yn.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(_t!=null&&_t.length)&&Yn.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((Qn,Vn)=>{var qn=Qn,{key:Fn,name:Ca}=qn,ba=za(qn,["key","name"]);return Yn.createElement(nt.Z,{className:"mb20",key:Fn,align:"top"},Yn.createElement(ea.Z,{flex:"0 0 auto",className:`${Ht.blankIndex} pt5`},"\u586B\u7A7A\u9879",Vn+1),Yn.createElement(ea.Z,{flex:1},Yn.createElement(nt.Z,{align:"top",justify:"space-between"},Yn.createElement(ea.Z,{flex:1},Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"answer_text"],noStyle:!0}),Yn.createElement(lr,null))),(Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",...un]))&&Yn.createElement(ea.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ht.blankInputNumberWrapper}),Yn.createElement(Ue.Z,{onChange:()=>{var Za,ja;let ia=Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"standard_answers"]),ya=0;for(let Sa in ia)(Za=ia[Sa])!=null&&Za.score&&(ya+=Number((ja=ia[Sa])==null?void 0:ja.score));Ke==null||Ke.setFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"question_score"],ya)},className:Ht.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"position"],noStyle:!0}),Yn.createElement(se.default,{type:"hidden"}))))})))),Yn.createElement(nt.Z,{align:"middle"},Yn.createElement(Be.default.Item,{name:[$e,"downcase"],valuePropName:"checked"},Yn.createElement(hn.Z,null)),Yn.createElement(ea.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Yn.createElement(nt.Z,{align:"middle"},Yn.createElement(Be.default.Item,{name:[$e,"no_space"],valuePropName:"checked"},Yn.createElement(hn.Z,null)),Yn.createElement(ea.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ln==null?void 0:Ln.length)>1&&Yn.createElement(nt.Z,{align:"middle",className:(Ln==null?void 0:Ln.length)>1?"mb30":`${Ht.hide}`},Yn.createElement(Be.default.Item,{name:ge},Yn.createElement(Vr,null)),Yn.createElement(ea.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")),Yn.createElement("div",{onClick:()=>Ie(!0)},Yn.createElement(Be.default.Item,{name:Ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Yn.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var yr=Object.defineProperty,Sr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,br=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable,or=(Se,Ke,$e)=>Ke in Se?yr(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,Lr=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Br.call(Ke,$e)&&or(Se,$e,Ke[$e]);if(br)for(var $e of br(Ke))Ta.call(Ke,$e)&&or(Se,$e,Ke[$e]);return Se},Or=(Se,Ke)=>Sr(Se,Ar(Ke)),Cr=(Se,Ke)=>{var $e={};for(var un in Se)Br.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&br)for(var un of br(Se))Ke.indexOf(un)<0&&Ta.call(Se,un)&&($e[un]=Se[un]);return $e};const $r={\u6B63\u786E:"T",\u9519\u8BEF:"F"},jr=({value:Se,onChange:Ke,form:$e,choiceKey:un})=>{const ua=(Se==null?void 0:Se.is_answer)===1,ka=Se==null?void 0:Se.choice_text,Ka=()=>{var ge;const ce=(ge=$e==null?void 0:$e.getFieldValue(["sub_item_banks",...un]))==null?void 0:ge.map(be=>({choice_text:be.choice_text,is_answer:0}));$e==null||$e.setFieldValue(["sub_item_banks",...un],ce),Ke(Or(Lr({},Se),{is_answer:1}))};return x.createElement(nt.Z,{className:Ht.choiceWrap,align:"middle",wrap:!1},x.createElement(ea.Z,{onClick:Ka,className:`${Ht.choiceIndex} ${Ht.judgementIndex} ${ua?Ht.activeAnswer:""}`},$r[ka]),x.createElement(ea.Z,{flex:1,className:`${Ht.editorWrap} ml15`},x.createElement("div",{className:`${Ht.inputBorder} ${Ht.placeholder} ${ua?Ht.activeJudgementAnswer:""}`},ka)),x.createElement(ea.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Ka,className:`${Ht.setAnswerBtn} ${ua?Ht.activeAnswer:""}`},ua?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Xa=({questionTitlePlaceholder:Se,choiceKey:Ke="choices",form:$e,titleKey:un="name",analysisKey:ua="analysis"})=>{const[ka,Ka]=(0,x.useState)(!1);return x.createElement("div",{className:Ht.wrap},x.createElement("div",{className:Ht.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:un,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Be.default.List,{name:Ke,rules:[{validator(ge,ce){return ce.some(ke=>(ke==null?void 0:ke.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},ge=>x.createElement("div",{id:"choices"},ge.map(ce=>{var be=ce,{key:ke,name:Ie}=be,He=Cr(be,["key","name"]);return x.createElement(Be.default.Item,Or(Lr({},He),{key:ke,name:Ie,noStyle:!0}),x.createElement(jr,{form:$e,choiceKey:Ke}))})))),x.createElement("div",{onClick:()=>Ka(!0)},x.createElement(Be.default.Item,{name:ua,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ka}))))};var wr=te(12563),pr=Object.defineProperty,Qr=Object.defineProperties,no=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,Dr=(Se,Ke,$e)=>Ke in Se?pr(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,Yr=(Se,Ke)=>{for(var $e in Ke||(Ke={}))To.call(Ke,$e)&&Dr(Se,$e,Ke[$e]);if(Bo)for(var $e of Bo(Ke))ko.call(Ke,$e)&&Dr(Se,$e,Ke[$e]);return Se},Po=(Se,Ke)=>Qr(Se,no(Ke)),$o=(Se,Ke)=>{var $e={};for(var un in Se)To.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&Bo)for(var un of Bo(Se))Ke.indexOf(un)<0&&ko.call(Se,un)&&($e[un]=Se[un]);return $e};const jo=Se=>{var Ke=Se,{value:$e,onChange:un}=Ke,ua=$o(Ke,["value","onChange"]);const ka=Ka=>{un([Ka])};return x.createElement(st.Z,Po(Yr({},ua),{defaultValue:$e==null?void 0:$e[0],onChange:ka}))},ei=Se=>{if(!Se)return!1;if(/^s*$/.test(Se)||Se.trim()===""){Le.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 Se==="|"?(Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},$a=({value:Se=[],onClose:Ke})=>x.createElement(wr.default,{closable:!0,onClose:Ke,className:Ht.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Se.join(" \u6216 "))),fa=({questionTitlePlaceholder:Se,form:Ke,showKeywords:$e,isMustKeyWords:un=$e,titleKey:ua="name",analysisKey:ka="analysis",answerTexts:Ka="answer_texts",keywords:ge="keywords",useKeywords:ce="use_keywords",indexs:be})=>{var ke,Ie,He,pt;const[xt,it]=(0,x.useState)(!1),[zt,wt]=(0,x.useState)(""),Xt=(Ie=(ke=Ke.getFieldValue("sub_item_banks"))==null?void 0:ke[ce==null?void 0:ce[0]])==null?void 0:Ie[ce==null?void 0:ce[1]],Ln=(pt=(He=Ke.getFieldValue("sub_item_banks"))==null?void 0:He[ce==null?void 0:ce[0]])==null?void 0:pt.question_score;return x.createElement("div",{className:Ht.wrap},x.createElement("div",{className:Ht.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ua,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Ka,labelCol:{span:24}},x.createElement(jo,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),$e&&!un&&x.createElement(Be.default.Item,{hidden:!0,name:ce,valuePropName:"checked"},x.createElement(hn.Z,{defaultChecked:!0})),$e&&un&&x.createElement(nt.Z,{align:"middle",className:"mb30"},x.createElement(Be.default.Item,{name:ce,valuePropName:"checked"},x.createElement(hn.Z,null)),x.createElement(ea.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(ea.Z,null,x.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"},x.createElement(Zt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Xt||!un)&&x.createElement(Be.default.List,{name:ge,rules:[{validator(_t,At){return un?At!=null&&At.length?(At==null?void 0:At.reduce((jn,Qn)=>jn+Qn.score,0))>parseFloat(Ln)?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:At,remove:Un})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ht.title} mb10`},un?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(nt.Z,{align:"middle",className:"font14 mb30"},x.createElement(ea.Z,{flex:1},x.createElement(se.default,{value:zt,onChange:jn=>{wt(jn.target.value)},maxLength:50,allowClear:!0,onPressEnter:jn=>{var Qn,Vn,qn,Fn;const Ca=`${(Qn=jn.target)==null?void 0:Qn.value}`,ba=(qn=(Vn=Ca==null?void 0:Ca.split("|"))==null?void 0:Vn.filter(ia=>!!ia))==null?void 0:qn.map(ia=>ia.trim()),Za=Ke.getFieldValue(["sub_item_banks",...ge]),ja=((Fn=Za==null?void 0:Za.map(ia=>ia==null?void 0:ia.keyword))==null?void 0:Fn.flat())||[];for(const ia of ba)if(ja.includes(ia)){Le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ei(Ca)&&(At({keyword:ba,score:1}),wt(""))},className:Ht.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"})),x.createElement(ea.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),_t.map(jn=>{var Qn=jn,{key:Vn,name:qn}=Qn,Fn=$o(Qn,["key","name"]);return x.createElement(nt.Z,{key:Vn,className:"mb20",style:{marginRight:148}},x.createElement(ea.Z,{flex:1},x.createElement(nt.Z,{align:"middle",justify:"space-between"},x.createElement(Be.default.Item,Po(Yr({},Fn),{name:[qn,"keyword"]}),x.createElement($a,{onClose:()=>Un(qn)})),un&&x.createElement(Be.default.Item,Po(Yr({},Fn),{name:[qn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ht.blankInputNumberWrapper}),x.createElement(Ue.Z,{className:Ht.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>it(!0)},x.createElement(Be.default.Item,{name:ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xt}))))};var Tn=te(59301),Ba=Object.defineProperty,gr=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,an=(Se,Ke,$e)=>Ke in Se?Ba(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,oa=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Cn.call(Ke,$e)&&an(Se,$e,Ke[$e]);if(sn)for(var $e of sn(Ke))Kn.call(Ke,$e)&&an(Se,$e,Ke[$e]);return Se},ta=(Se,Ke)=>gr(Se,Ce(Ke)),Bn=(Se,Ke)=>{var $e={};for(var un in Se)Cn.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&sn)for(var un of sn(Se))Ke.indexOf(un)<0&&Kn.call(Se,un)&&($e[un]=Se[un]);return $e};const{Panel:On}=tn.default,Aa=({questionTitlePlaceholder:Se,choiceKey:Ke,form:$e,withScore:un})=>{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,x.useState)(),[ge,ce]=(0,x.useState)([]),be=Ie=>{ce(Ie)},ke=({value:Ie})=>Tn.createElement("div",{style:{width:150,paddingLeft:11}},Ie);return Tn.createElement("div",{className:Ht.wrap},Tn.createElement("div",{className:Ht.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:Se}))),Tn.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tn.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ie,He){return He?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ie,{add:He,remove:pt,move:xt})=>{const it=$e.getFieldValue("sub_item_banks");return Tn.createElement(Tn.Fragment,null,Tn.createElement(tn.default,{className:Ie.length>0?Ht.collapseWrapper:"",bordered:!1,activeKey:ge,onChange:be,expandIcon:({isActive:zt})=>Tn.createElement("i",{className:`iconfont icon-weizhankai ${zt?Ht.open:Ht.close}`,style:{fontSize:14,transition:"all .2s"}})},Ie.map((zt,wt)=>{var Xt=zt,{key:Ln,name:_t}=Xt,At=Bn(Xt,["key","name"]),Un,jn,Qn,Vn,qn,Fn,Ca,ba,Za,ja,ia,ya,Sa,Gn;return Tn.createElement(On,{className:Ht.panel,forceRender:!0,header:Tn.createElement("div",{className:Ht.panelHeader},"\u7B2C",wt+1,"\u5C0F\u9898",Tn.createElement("span",null,"\uFF08",((Un=it==null?void 0:it[_t])==null?void 0:Un.question_type)==0?"\u5355\u9009\u9898":((jn=it==null?void 0:it[_t])==null?void 0:jn.question_type)==1?"\u591A\u9009\u9898":((Qn=it==null?void 0:it[_t])==null?void 0:Qn.question_type)==3?"\u586B\u7A7A\u9898":((Vn=it==null?void 0:it[_t])==null?void 0:Vn.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:_t,extra:Tn.createElement(nt.Z,{align:"middle",onClick:ga=>ga.stopPropagation()},((qn=it==null?void 0:it[_t])==null?void 0:qn.question_type)==3&&Tn.createElement(Tn.Fragment,null,Tn.createElement(Ve.ZP.Group,{defaultValue:(Fn=it==null?void 0:it[_t])==null?void 0:Fn.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:ga=>{var Ma,tr,ar,Wa,mr;if($e==null||$e.setFieldValue(["sub_item_banks",_t,"use_blank_score"],(Ma=ga==null?void 0:ga.target)==null?void 0:Ma.value),(tr=ga==null?void 0:ga.target)!=null&&tr.value){let hr=0;for(let Wr in(ar=$e==null?void 0:$e.getFieldValue(["sub_item_banks",_t]))==null?void 0:ar.standard_answers)hr+=Number((mr=(Wa=$e==null?void 0:$e.getFieldValue(["sub_item_banks",_t]))==null?void 0:Wa.standard_answers[Wr])==null?void 0:mr.score);$e==null||$e.setFieldValue(["sub_item_banks",_t,"question_score"],hr||"")}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"}))),un&&Tn.createElement(Be.default.Item,ta(oa({},At),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[_t,"question_score"],className:Ht.blankInputNumberWrapper}),((Ca=it==null?void 0:it[_t])==null?void 0:Ca.question_type)==3&&((ba=it==null?void 0:it[_t])!=null&&ba.use_blank_score)?Tn.createElement(ke,null):Tn.createElement(Ue.Z,{className:Ht.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}},wt!==0&&Tn.createElement("div",{onClick:()=>{var ga;xt(wt,wt-1);const Ma=(ga=$e.getFieldValue("sub_item_banks"))==null?void 0:ga.map((tr,ar)=>(Ie.map((Wa,mr)=>{ar===mr&&(tr.q_position=Number(Wa.name)+1)}),tr));$e.setFieldValue("sub_item_banks",Ma)}},Tn.createElement(ne.Z,{title:"\u4E0A\u79FB"},Tn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),wt{var ga;xt(wt,wt+1);const Ma=(ga=$e.getFieldValue("sub_item_banks"))==null?void 0:ga.map((tr,ar)=>(Ie.map((Wa,mr)=>{ar===mr&&(tr.q_position=Number(Wa.name)+1)}),tr));$e.setFieldValue("sub_item_banks",Ma)},className:wt===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(mn.Z,{className:`${Ht.deleteIcon} ml40`,onClick:()=>pt(_t)})))},Tn.createElement(Be.default.Item,ta(oa({},At),{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:((ia=it==null?void 0:it[_t])==null?void 0:ia.question_type)==1,form:$e,choiceKey:[_t,"choices"],titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceOptionsPath:["sub_item_banks",_t,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((ya=it==null?void 0:it[_t])==null?void 0:ya.question_type)==3&&Tn.createElement(uo,{form:$e,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}),((Sa=it==null?void 0:it[_t])==null?void 0:Sa.question_type)==2&&Tn.createElement(Xa,{form:$e,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceKey:[_t,"choices"]}),((Gn=it==null?void 0:it[_t])==null?void 0:Gn.question_type)==4&&Tn.createElement(fa,{showKeywords:!0,isMustKeyWords:!0,form:$e,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})))})),Ie.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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(zt=>zt.show).map(zt=>({label:zt.label,key:zt.key}))}},Tn.createElement("div",{className:`${Ht.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Xn=te(59301),ca=Object.defineProperty,pa=Object.defineProperties,Va=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,mo=(Se,Ke,$e)=>Ke in Se?ca(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,vo=(Se,Ke)=>{for(var $e in Ke||(Ke={}))_r.call(Ke,$e)&&mo(Se,$e,Ke[$e]);if(vr)for(var $e of vr(Ke))kr.call(Ke,$e)&&mo(Se,$e,Ke[$e]);return Se},xo=(Se,Ke)=>pa(Se,Va(Ke)),pi=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ri=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(xo(vo({},Se),{name:Se.question_title,sub_item_banks:(Ie=Se.sub_exercise_questions)==null?void 0:Ie.map(He=>{var pt;return xo(vo({},He),{name:He.question_title,choices:(pt=He==null?void 0:He.question_choices)==null?void 0:pt.map(xt=>xo(vo({},xt),{is_answer:xt!=null&&xt.standard_boolean?1:0}))})}),repeat_answer:!Se.repeat_answer}))},[Se]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const He=Ie.map(xt=>{var it;return(it=xt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return Xn.createElement("div",null,Xn.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,xt,it;if(Ie!=null&&Ie.sub_item_banks){let zt=((pt=be.getFieldValue("sub_item_banks"))==null?void 0:pt.length)>0&&((it=(xt=be.getFieldValue("sub_item_banks"))==null?void 0:xt.map(wt=>{var Xt;if(wt.question_type==3&&(wt!=null&&wt.use_blank_score)){let Ln=0;for(let _t in wt==null?void 0:wt.standard_answers)Ln+=Number((Xt=wt==null?void 0:wt.standard_answers[_t])==null?void 0:Xt.score);return Ln}else return wt.question_score}))==null?void 0:it.filter(wt=>wt));(zt==null?void 0:zt.length)>0&&be.setFieldsValue({question_score:parseFloat(zt==null?void 0:zt.reduce((wt,Xt)=>parseFloat(wt)+parseFloat(Xt))).toFixed(1)})}},onFinish:Ie=>{var He,pt;if((He=Ie.sub_item_banks)==null?void 0:He.some(it=>it.question_type===0||it.question_type===1?ke(it.choices):!1)){Le.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}ua(xo(vo(vo({},Se),Ie),{sub_item_banks:(pt=Ie==null?void 0:Ie.sub_item_banks)==null?void 0:pt.map(it=>(console.log(it),xo(vo({},it),{item_type:it==null?void 0:it.question_type,id:(it==null?void 0:it.question_id)||""})))}))},onFinishFailed:Ie=>pi(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},Xn.createElement("div",{style:{display:"flex",alignItems:"center"}},Xn.createElement("div",{style:{flex:1}},Xn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Xn.createElement("span",null,"\u7EC4\u5408\u9898")),!Se.isadd&&Xn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Xn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Xn.createElement(tt.ZP,{onClick:()=>{var Ie;Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(xo(vo({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(He=>xo(vo({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Xn.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Xn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Xn.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")},Xn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Xn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Xn.createElement(Qt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Xn.createElement(Aa,{form:be,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Xn.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},ui=te(90502),vi=te(24334),yo=te(59301),hi=Object.defineProperty,Ni=Object.defineProperties,Ql=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Qo=(Se,Ke,$e)=>Ke in Se?hi(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,mi=(Se,Ke)=>{for(var $e in Ke||(Ke={}))nl.call(Ke,$e)&&Qo(Se,$e,Ke[$e]);if(Vi)for(var $e of Vi(Ke))Jl.call(Ke,$e)&&Qo(Se,$e,Ke[$e]);return Se},Bi=(Se,Ke)=>Ni(Se,Ql(Ke)),yl=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),Ii=({qitem:Se,TagDiscipline:Ke,exerciseitem:$e,setisedit:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm(),ke=!0;return(0,x.useEffect)(()=>{var Ie,He,pt;be.setFieldsValue(Bi(mi({},Se),{standard_answers:Se.standard_answer,difficulty:Se.difficulty,item_banks_group_id:Se.item_banks_group_id,hack:Bi(mi({},Se),{time_limit:(Se==null?void 0:Se.time_limit)||3}),hack_codes:{language:(Ie=Se==null?void 0:Se.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode(((He=Se==null?void 0:Se.program_attr)==null?void 0:He.code)||"")},hack_sets:mi({},(pt=Se==null?void 0:Se.hack_sets)==null?void 0:pt[0]),repeat_answer:!Se.repeat_answer}))},[Se]),yo.createElement("div",null,yo.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,xt,it,zt;if(Ie!=null&&Ie.standard_answers){let wt=((pt=be.getFieldValue("standard_answers"))==null?void 0:pt.length)>0&&((it=(xt=be.getFieldValue("standard_answers"))==null?void 0:xt.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(wt==null?void 0:wt.length)>0&&be.setFieldsValue({question_score:(wt==null?void 0:wt.length)>0&&((zt=wt.reduce((Xt,Ln)=>Xt+Ln))==null?void 0:zt.toFixed(1))})}},onFinish:Ie=>{var He;ua(Bi(mi(mi({},Se),Ie),{item_type:Se==null?void 0:Se.question_type,standard_answers:(He=Ie.standard_answers)==null?void 0:He.map((pt,xt)=>Bi(mi({},pt),{position:xt+1})),standard_answer:void 0}))},onFinishFailed:Ie=>yl(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},yo.createElement("div",{style:{display:"flex",alignItems:"center"}},yo.createElement("div",{style:{flex:1}},yo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),yo.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!Se.isadd&&yo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},yo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),yo.createElement(tt.ZP,{onClick:()=>{var Ie,He,pt;Se.isadd?(un(!1),ge()):(be.setFieldsValue(Bi(mi({},Se),{standard_answers:Se.standard_answer,difficulty:Se.difficult,item_banks_group_id:Se.item_banks_group_id,hack:mi({},Se),hack_codes:{language:(Ie=Se==null?void 0:Se.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode((He=Se==null?void 0:Se.program_attr)==null?void 0:He.code)},hack_sets:mi({},(pt=Se==null?void 0:Se.hack_sets)==null?void 0:pt[0]),repeat_answer:!Se.repeat_answer})),un(!1))}},"\u53D6\u6D88"),yo.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:yo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},yo.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")},yo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),yo.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},yo.createElement(Qt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),yo.createElement(ui.t,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,hackidentifier:Se==null?void 0:Se.hack_identifier,answerKey:"standard_answers"}),yo.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:$e,TagDiscipline:Ke,form:be}))))},Fo=te(59301),El=Object.defineProperty,bl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Cl=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Bl=(Se,Ke,$e)=>Ke in Se?El(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,di=(Se,Ke)=>{for(var $e in Ke||(Ke={}))xl.call(Ke,$e)&&Bl(Se,$e,Ke[$e]);if(Cl)for(var $e of Cl(Ke))oi.call(Ke,$e)&&Bl(Se,$e,Ke[$e]);return Se},Yo=(Se,Ke)=>bl(Se,Yl(Ke)),Qi=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ql=({qitem:Se,setqitem:Ke,setisedit:$e,TagDiscipline:un,exerciseitem:ua,seveeditor:ka,deleteitem:Ka,showTip:ge=!1})=>{var ce;const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke,Ie;be.setFieldsValue(Yo(di({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Se.shixun=(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(He=>Yo(di({},He),{defaultscore:He.challenge_score}))},[]),Fo.createElement("div",null,Fo.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{var Ie,He;let pt=Yo(di({},ke),{question_scores:(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(xt=>xt.challenge_score),item_type:Se==null?void 0:Se.question_type,choices:(He=ke==null?void 0:ke.choices)==null?void 0:He.map(xt=>Yo(di({},xt),{is_answer:xt.standard_boolean}))});ka(di(di({},Se),pt))},onFinishFailed:ke=>Qi(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Fo.createElement("div",{style:{display:"flex",alignItems:"center"}},Fo.createElement("div",{style:{flex:1}},Fo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Fo.createElement("span",null,"\u5B9E\u8BAD\u9898")),Fo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Ka()}},Fo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Fo.createElement(tt.ZP,{onClick:()=>{var ke,Ie;be.setFieldsValue(Yo(di({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Se.shixun=(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(He=>Yo(di({},He),{challenge_score:He.defaultscore})),Ke(di({},Se)),$e(!1)}},"\u53D6\u6D88"),Fo.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Fo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Fo.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")},Fo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Qi(void 0,null,function*(){var ke,Ie,He;if(((Ie=(ke=Se==null?void 0:Se.shixun)==null?void 0:ke.map)==null?void 0:Ie.call(ke,pt=>pt.challenge_score).filter(pt=>pt).length)<((He=Se==null?void 0:Se.shixun)==null?void 0:He.length)){Le.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}be.submit()})},"\u4FDD\u5B58"))),Fo.createElement(Qt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Fo.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Fo.createElement(st.Z,{watch:!0,height:140,placeholder:"",defaultValue:Se.question_title}))),Fo.createElement(nt.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Fo.createElement("div",null,Fo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Fo.createElement("a",{href:`/shixuns/${Se==null?void 0:Se.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Fo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(ce=Se==null?void 0:Se.shixun)==null?void 0:ce.map((ke,Ie)=>Fo.createElement("div",{key:ke.challenge_id,style:{display:"flex",marginBottom:20}},Fo.createElement("div",{style:{flex:1}},Ie+1,"\u3001",ke.challenge_name),Fo.createElement("div",null,Fo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Fo.createElement(Ue.Z,{precision:1,value:ke==null?void 0:ke.challenge_score,onChange:He=>{const pt=JSON.parse(JSON.stringify((Se==null?void 0:Se.shixun)||[]));pt[Ie].challenge_score=He;const xt=pt.every(zt=>!zt.challenge_score),it=parseFloat(pt==null?void 0:pt.map(zt=>zt.challenge_score).reduce((zt,wt)=>parseFloat(zt||0)+parseFloat(wt||0)));be.setFieldsValue({question_score:xt?"":it.toFixed(1)}),Ke(Yo(di({},Se),{shixun:pt}))},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(1710),al=te(59879),ha=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 Fs=({qitem:Se,newExercisePaper:Ke})=>{var $e,un,ua,ka,Ka,ge,ce,be,ke,Ie,He,pt,xt,it,zt,wt,Xt,Ln,_t,At,Un,jn,Qn,Vn,qn;return ha.createElement("div",{className:Ha.warp},((Se==null?void 0:Se.question_type)===0||(Se==null?void 0:Se.question_type)===2)&&ha.createElement("div",{className:Ha.normalWrap},($e=Se==null?void 0:Se.question_choices)==null?void 0:$e.map((Fn,Ca)=>ha.createElement("div",{className:Ha.redio,key:Ca},!(Fn!=null&&Fn.standard_boolean)&&ha.createElement("span",{className:Ha.redioitem}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},(Se==null?void 0:Se.question_type)===0?Li[Ca]:""),ha.createElement(Qe.Z,{className:Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title,value:Fn==null?void 0:Fn.choice_text}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(Se==null?void 0:Se.question_type)===1&&ha.createElement("div",{className:Ha.normalWrap},(un=Se==null?void 0:Se.question_choices)==null?void 0:un.map((Fn,Ca)=>ha.createElement("div",{className:Ha.checkbox,key:Ca},!(Fn!=null&&Fn.standard_boolean)&&ha.createElement("span",{className:Ha.checkboxitem}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[Ca]),ha.createElement(Qe.Z,{className:Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title,value:Fn==null?void 0:Fn.choice_text}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(Se==null?void 0:Se.question_type)===3&&ha.createElement("div",{className:Ha.completion},(ua=Se==null?void 0:Se.standard_answers)==null?void 0:ua.map((Fn,Ca)=>{var ba;return ha.createElement(nt.Z,{align:"top"},ha.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",Ca+1),ha.createElement("div",{className:Ha.content},(ba=Fn.answer_text)==null?void 0:ba.map((Za,ja)=>ha.createElement("div",{key:ja,className:Ha.items,style:(Fn==null?void 0:Fn.model)===2?{border:0,padding:0}:{}},(Fn==null?void 0:Fn.model)===1?ha.createElement("pre",{className:"mb0"},Za):ha.createElement(al.Z,{value:Za,disabled:!0})))))})),(Se==null?void 0:Se.question_type)===4&&ha.createElement("div",{className:Ha.simple},ha.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ka=Se==null?void 0:Se.answer_texts)!=null&&ka[0]?ha.createElement(Qe.Z,{className:Ha.content,value:(Ka=Se==null?void 0:Se.answer_texts)==null?void 0:Ka[0]}):ha.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ha.createElement("div",{className:"mt20 "},ha.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Se!=null&&Se.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(Se==null?void 0:Se.question_type)===5&&ha.createElement("div",{className:Ha.shixunWrapper},(ge=Se==null?void 0:Se.shixun)==null?void 0:ge.map((Fn,Ca)=>{var ba,Za;return ha.createElement("div",null,ha.createElement("div",{key:Ca,className:`${Ha.shixun} mb30`},ha.createElement("span",{className:Ha.score},"\uFF08",Fn==null?void 0:Fn.challenge_score,"\u5206\uFF09"),ha.createElement("span",{className:Ha.qtitle},(Se==null?void 0:Se.index)+"."+(Ca+1),"\u3001",Fn==null?void 0:Fn.challenge_name)),((Za=(ba=Ke==null?void 0:Ke.editData)==null?void 0:ba.exercise)==null?void 0:Za.show_challenge_task_pass)&&ha.createElement(Qe.Z,{className:Ha.content,value:(Fn==null?void 0:Fn.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(Se==null?void 0:Se.question_type)===6&&ha.createElement("div",{className:Ha.program,style:{border:!((be=(ce=Ke==null?void 0:Ke.editData)==null?void 0:ce.exercise)!=null&&be.show_hack_sets)&&!((Ie=(ke=Ke==null?void 0:Ke.editData)==null?void 0:ke.exercise)!=null&&Ie.show_hack_description)&&"none"}},((pt=(He=Ke==null?void 0:Ke.editData)==null?void 0:He.exercise)==null?void 0:pt.show_hack_sets)&&ha.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},ha.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},ha.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),ha.createElement(yi.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Fn,Ca,ba)=>ba+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Fn,Ca,ba)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,Fn)},ha.createElement("div",{className:Ha.divname},Fn))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Fn,Ca,ba)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,Fn)}," ",ha.createElement("div",{className:Ha.divname},Fn))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(xt=Se==null?void 0:Se.program_attr)==null?void 0:xt.hack_sets})),((zt=(it=Ke==null?void 0:Ke.editData)==null?void 0:it.exercise)==null?void 0:zt.show_hack_description)&&ha.createElement("div",null,ha.createElement(Qe.Z,{className:Ha.content,value:(Se==null?void 0:Se.description)||"- -"}))),(Se==null?void 0:Se.question_type)===7&&((wt=Se==null?void 0:Se.sub_exercise_questions)==null?void 0:wt.map((Fn,Ca)=>{var ba,Za,ja,ia,ya,Sa;return ha.createElement("div",{key:Ca},ha.createElement("div",{className:Ha.combination},ha.createElement("span",{className:Ha.score},Fn==null?void 0:Fn.question_score,"\u5206"),ha.createElement("span",{className:Ha.qtype},(ba=wl.find(Gn=>Gn.type==Fn.question_type))==null?void 0:ba.name),ha.createElement("span",{className:Ha.qtitle},ha.createElement(Qe.Z,{value:`${Ca+1}\u3001${Fn==null?void 0:Fn.question_title}`}))),(Fn.question_type===0||Fn.question_type===2)&&ha.createElement("div",{className:Ha.warp,style:{padding:"20px 58px 0 58px"}},ha.createElement("div",null,(Za=Fn==null?void 0:Fn.question_choices)==null?void 0:Za.map((Gn,ga)=>ha.createElement("div",{className:Ha.redio,key:ga},!(Gn!=null&&Gn.standard_boolean)&&ha.createElement("span",{className:Ha.redioitem}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ga]),ha.createElement(Qe.Z,{className:Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title,value:Gn==null?void 0:Gn.choice_text}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848"))))),Fn.question_type===1&&ha.createElement("div",{className:Ha.normalWrap},(ja=Fn==null?void 0:Fn.question_choices)==null?void 0:ja.map((Gn,ga)=>ha.createElement("div",{className:Ha.checkbox,key:ga},!(Gn!=null&&Gn.standard_boolean)&&ha.createElement("span",{className:Ha.checkboxitem}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ga]),ha.createElement(Qe.Z,{className:Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title,value:Gn==null?void 0:Gn.choice_text}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),Fn.question_type===3&&ha.createElement("div",{className:Ha.completion},(ia=Fn==null?void 0:Fn.standard_answers)==null?void 0:ia.map((Gn,ga)=>{var Ma;return ha.createElement(nt.Z,{align:"top"},ha.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",ga+1),ha.createElement("div",{className:Ha.content},(Ma=Gn.answer_text)==null?void 0:Ma.map((tr,ar)=>ha.createElement("div",{key:ar,className:Ha.items},ha.createElement("pre",{className:"mb0"},tr)))))})),Fn.question_type===4&&ha.createElement("div",{className:Ha.simple},ha.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ya=Fn==null?void 0:Fn.answer_texts)!=null&&ya[0]?ha.createElement(Qe.Z,{className:Ha.content,value:(Sa=Fn==null?void 0:Fn.answer_texts)==null?void 0:Sa[0]}):ha.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ha.createElement("div",{className:"mt20 "},ha.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Fn!=null&&Fn.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(Se==null?void 0:Se.question_type)===8&&ha.createElement("div",null,ha.createElement(Qe.Z,{disabledFill:!0,className:Ha.content,showProgramFill:!0,value:vi.Base64.decode(((Xt=Se==null?void 0:Se.program_attr)==null?void 0:Xt.code)||"")})),((Se==null?void 0:Se.question_type)<=4||[6,8].includes(Se==null?void 0:Se.question_type))&&ha.createElement("div",{className:Ha.bottom},ha.createElement("div",{className:`${Ha.bottomitem} mb30`},ha.createElement("span",{className:Ha.left},"\u89E3\u6790"),ha.createElement("span",{className:Ha.right},Se!=null&&Se.analysis?ha.createElement(Qe.Z,{value:Se==null?void 0:Se.analysis}):ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ha.createElement("div",{className:`${Ha.bottomitem} mb30`},ha.createElement("span",{className:Ha.left},"\u96BE\u5EA6"),ha.createElement("span",{className:Ha.right},(Se==null?void 0:Se.difficulty)===1?"\u7B80\u5355":(Se==null?void 0:Se.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ha.createElement("div",{className:Ha.bottomitem},ha.createElement("span",{className:Ha.left},"\u77E5\u8BC6\u70B9"),ha.createElement(ne.Z,{title:((Ln=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Ln.length)<=0||((_t=Se==null?void 0:Se.tag_discipline_names)==null?void 0:_t.length)==1&&["-"].includes(Se==null?void 0:Se.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Un=(At=Se==null?void 0:Se.tag_discipline_names)==null?void 0:At.join("\uFF1B"))==null?void 0:Un.toString()},ha.createElement("span",{className:Ha.right},((jn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:jn.length)<=0?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Qn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Qn.length)==1&&["-"].includes(Se==null?void 0:Se.tag_discipline_names[0])?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(qn=(Vn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Vn.join("\uFF1B"))==null?void 0:qn.toString())))))},Al=te(42609),rl=te(35173),Go=te(59301),ts=Object.defineProperty,bi=Object.defineProperties,ol=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Ji=(Se,Ke,$e)=>Ke in Se?ts(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,Ri=(Se,Ke)=>{for(var $e in Ke||(Ke={}))il.call(Ke,$e)&&Ji(Se,$e,Ke[$e]);if(Oi)for(var $e of Oi(Ke))Dl.call(Ke,$e)&&Ji(Se,$e,Ke[$e]);return Se},ll=(Se,Ke)=>bi(Se,ol(Ke)),Ti=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ns=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{be.setFieldsValue(ll(Ri({},Se),{name:Se.question_title,answer_texts:Se.answer_texts,repeat_answer:!Se.repeat_answer}))},[Se]),Go.createElement("div",null,Go.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua(Ri(Ri({},Se),ke))},onFinishFailed:ke=>Ti(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Go.createElement("div",{style:{display:"flex",alignItems:"center"}},Go.createElement("div",{style:{flex:1}},Go.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Go.createElement("span",null,"\u7B80\u7B54\u9898")),!(Se!=null&&Se.isadd)&&Go.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Go.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Go.createElement(tt.ZP,{onClick:()=>{Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(ll(Ri({},Se),{name:Se==null?void 0:Se.question_title,answer_texts:Se.answer_texts||[],repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Go.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Go.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Go.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")},Go.createElement(tt.ZP,{type:"primary",className:"ml20",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Go.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Go.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Go.createElement(Ue.Z,{onBlur:ke=>{ke.target.value==="0"&&Le.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})),Go.createElement(rl.W,{form:be,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Go.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},Lo=te(59301),as=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),sl=({setScoreShow:Se,ScoreShow:Ke,exerciseitem:$e,getdata:un})=>{var ua,ka,Ka;const[ge,ce]=(0,x.useState)(!1);function be(){return as(this,null,function*(){var ke,Ie,He;let pt=(Ie=(ke=$e==null?void 0:$e.exercise_question_types)==null?void 0:ke.filter(it=>it.Singlequestion))==null?void 0:Ie.map(it=>({question_type:it.question_type,score:it.Singlequestion})),xt=yield(0,pe.ZP)(`/api/examination_banks/${(He=$e==null?void 0:$e.exercise)==null?void 0:He.id}/batch_set_score.json`,{method:"POST",body:{question_arr:pt}});(xt==null?void 0:xt.status)===0&&un()})}return Lo.createElement("div",null,Ke&&Lo.createElement(b.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ke,width:640,centered:!0,zIndex:10,className:ie.scoremodal,onCancel:()=>{Se(!1)},onOk:()=>{var ke,Ie,He;if($e!=null&&$e.use_blank_score&&((He=(Ie=(ke=$e==null?void 0:$e.exercise_question_types)==null?void 0:ke.filter(pt=>pt.name==="\u586B\u7A7A\u9898"))==null?void 0:Ie[0])!=null&&He.Singlequestion)){ce(!0);return}be(),Se(!1)}},Lo.createElement("div",{className:"c-black"},"\u603B\u5206",Lo.createElement("span",{className:"ml10 c-light-primary"},($e==null?void 0:$e.exercise_question_types.length)>0&&((ua=$e==null?void 0:$e.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=$e==null?void 0:$e.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,Ie)=>{var He;return Lo.createElement("div",{key:Ie,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(Ue.Z,{min:.1,precision:1,max:100,onChange:pt=>{ke.Singlequestion=pt},defaultValue:ke.Singlequestion,style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Lo.createElement(b.default,{title:!1,footer:!1,centered:!0,open:ge,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:()=>{ce(!1)}},"\u53D6\u6D88"),Lo.createElement(tt.ZP,{className:ie.yes,onClick:()=>{be(),ce(!1),Se(!1)}},"\u786E\u8BA4"))))},Fi=te(79285),ki=te(88918),Nl=te(89392),rs=te(86248),As=te(14791),os=te(32570),Ia=te(59301),is=Object.defineProperty,Ds=Object.defineProperties,ls=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,ss=(Se,Ke,$e)=>Ke in Se?is(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,ti=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Ns.call(Ke,$e)&&ss(Se,$e,Ke[$e]);if(Il)for(var $e of Il(Ke))Ll.call(Ke,$e)&&ss(Se,$e,Ke[$e]);return Se},Ci=(Se,Ke)=>Ds(Se,ls(Ke)),Oo=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,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"}],us=({user:Se,dispatch:Ke,itemid:$e,newExercisePaper:un,setisedits:ua})=>{var ka,Ka,ge,ce,be,ke,Ie,He,pt,xt,it,zt;const[wt,Xt]=(0,x.useState)(),[Ln,_t]=(0,x.useState)(!1),[At,Un]=(0,x.useState)(),[jn,Qn]=(0,x.useState)(),Vn=(0,x.useRef)(),qn=(0,x.useRef)(),[Fn,Ca]=(0,x.useState)(),[ba,Za]=(0,x.useState)(!1),[ja,ia]=(0,x.useState)(!1),[ya,Sa]=(0,x.useState)(),[Gn,ga]=(0,x.useState)(!1),[Ma,tr]=(0,x.useState)(!1),[ar,Wa]=(0,x.useState)(!1),[mr,hr]=(0,x.useState)(!1),[Wr,Zr]=(0,x.useState)(!1),[ho,qr]=(0,x.useState)(!1),[xr,Do]=(0,x.useState)(!1),[Ur,So]=(0,x.useState)(!1),[ao]=Be.default.useForm(),[Jo,sr]=(0,x.useState)(!1),ur=(0,x.useRef)(null),[_a]=(0,ue.useSearchParams)(),[er,Gr]=(0,x.useState)(!1),nr=_a.get("isIntelligentAssistant"),[cr,Rr]=(0,x.useState)(!1);(0,x.useEffect)(()=>{ro(),Ke({type:"globalSetting/footerToggle",payload:!1})},[]),(0,x.useEffect)(()=>{ua(ja)},[ja]),(0,x.useEffect)(()=>{At!=null&&At.question_id&&(Qn(At==null?void 0:At.question_score),qn.current=At==null?void 0:At.question_id)},[At]);const Fr=da=>Oo(void 0,null,function*(){let Qa=yield Ke({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:da}});Sa(Qa)});function ro(){return Oo(this,null,function*(){var da,Qa,Pr,Er,Nr,zr;Za(!0),_t(!0);const oo=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Za(!1),_t(!1),Xt(oo),(da=oo==null?void 0:oo.exercise)!=null&&da.sub_discipline_id&&Fr((Qa=oo==null?void 0:oo.exercise)==null?void 0:Qa.sub_discipline_id),Un(Ci(ti({},(Nr=(Er=(Pr=oo==null?void 0:oo.exercise_question_types)==null?void 0:Pr[0])==null?void 0:Er.items)==null?void 0:Nr[0]),{index:1})),Ca(Ci(ti({},(zr=oo==null?void 0:oo.exercise_question_types)==null?void 0:zr[0]),{indexs:1}))})}function Ao(da,Qa=!0){return Oo(this,null,function*(){var Pr,Er,Nr,zr;Qa&&(Za(!0),_t(!0));const oo=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Xt(oo);let bo=[];(Pr=oo==null?void 0:oo.exercise_question_types)==null||Pr.map(_o=>{var ni;(ni=_o==null?void 0:_o.items)==null||ni.map((qo,fi)=>{bo.push(Ci(ti({},qo),{index:fi+1}))})});let lo=(Er=bo.filter(_o=>_o.question_id===(da==null?void 0:da.id)))==null?void 0:Er[0],ii=(zr=((Nr=oo==null?void 0:oo.exercise_question_types)==null?void 0:Nr.map((_o,ni)=>{if((lo==null?void 0:lo.question_type)===(_o==null?void 0:_o.question_type))return Ci(ti({},_o),{indexs:ni+1})})).filter(_o=>_o))==null?void 0:zr[0];Ca(ti({},ii)),Un(ti({},lo)),Qn(lo==null?void 0:lo.question_score),Za(!1),_t(!1)})}function Zo(da){return Oo(this,null,function*(){var Qa;let Pr=Ci(ti({},da),{difficulty:(da==null?void 0:da.difficulty)||2,item_type:da.question_type,sub_discipline_id:((Qa=da==null?void 0:da.sub_discipline_id)==null?void 0:Qa[1])||"",tag_discipline_ids:[],repeat_answer:!da.repeat_answer}),Er={};da.question_type===8&&(Er=Ci(ti({},da),{hack:Ci(ti({},da==null?void 0:da.hack),{difficult:da.difficulty}),hack_codes:Ci(ti({},da.hack_codes),{code:vi.Base64.encode(da.hack_codes.code)}),hack_sets:[ti({},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],Er.tag_discipline_ids=Array.isArray(da.tag_discipline_ids)?da.tag_discipline_ids:[da.tag_discipline_ids]),sessionStorage.projectFill&&(Er.hack_identifier=sessionStorage.projectFill);let Nr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:da.question_type===8?Er:Pr});(Nr==null?void 0:Nr.status)===0&&(ia(!1),Ao(Nr)),(0,me.Vf)("#question-scroll-id")})}function Ro(da){return Oo(this,null,function*(){_t(!0);let Qa=yield(0,pe.ZP)(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:{question_type:da}});_t(!1),(Qa==null?void 0:Qa.status)===0&&ro()})}const ci=(da,Qa,Pr)=>Oo(void 0,null,function*(){var Er;if(da.length===0){Le.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Pr();return}const Nr=yield(0,le.Hb)($e,(Er=da[0])==null?void 0:Er.file,Qa);Nr.status===0&&(Le.ZP.success(`\u6210\u529F\u5BFC\u5165${Nr==null?void 0:Nr.success}\u6761`),ga(!1),ro()),Pr()}),No=(da,Qa)=>Oo(void 0,null,function*(){const Pr=yield(0,le.kF)({score:(0,Nl.round)(da,1),question_id:Qa==null?void 0:Qa.question_id});if((Pr==null?void 0:Pr.status)===0){Le.ZP.success("\u4FEE\u6539\u6210\u529F"),Ao({id:qn.current},!1);return}(Pr==null?void 0:Pr.status)===-1&&Qn(Qa==null?void 0:Qa.question_score)});function Io(){return Oo(this,null,function*(){b.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(At.question_id){let da=yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks/${At.question_id}.json`,{method:"delete"});(da==null?void 0:da.status)===0&&(ro(),ia(!1))}else Un({}),ia(!1),ro()}),cancelText:"\u53D6\u6D88"})})}const Ai=da=>Oo(void 0,null,function*(){return yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:ti({},da)})}),{overflow:Xr,handleMouseEnter:eo,handleMouseLeave:co}=(0,ki.I)(),Eo=da=>Oo(void 0,null,function*(){var Qa,Pr;_t(!0);let Er=yield(0,pe.ZP)(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:{question_type:da}});if(_t(!1),(Er==null?void 0:Er.status)===0){const Nr=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Xt(Nr),(Qa=Nr==null?void 0:Nr.exercise)!=null&&Qa.sub_discipline_id&&Fr((Pr=Nr==null?void 0:Nr.exercise)==null?void 0:Pr.sub_discipline_id)}}),io=()=>ja?(Rr(!0),!0):!1;(0,x.useEffect)(()=>{if(cr){const da=setTimeout(()=>{Rr(!1)},2e3);return()=>clearTimeout(da)}},[cr]);const Tr=(da,Qa)=>Ia.createElement(E.default,null,Ia.createElement(E.default.Item,{key:"0",onClick:()=>Ko(da==null?void 0:da.question_type)},Ia.createElement("span",{className:ie.moreSpan},"\u65B0\u589E")),Ia.createElement(E.default.Item,{key:"1",disabled:Qa===0,onClick:()=>Oo(void 0,null,function*(){if(Qa===0||io())return;let Pr=(0,me.rz)(wt==null?void 0:wt.exercise_question_types,Qa,Qa-1);yield Eo(Pr.map(Er=>Er.name))})},Ia.createElement("span",{className:ie.moreSpan},"\u4E0A\u79FB")),Ia.createElement(E.default.Item,{key:"2",disabled:Qa===(wt==null?void 0:wt.exercise_question_types.length)-1,onClick:()=>Oo(void 0,null,function*(){if(Qa===(wt==null?void 0:wt.exercise_question_types.length)-1||io())return;let Pr=(0,me.rz)(wt==null?void 0:wt.exercise_question_types,Qa,Qa+1);yield Eo(Pr.map(Er=>Er.name))})},Ia.createElement("span",{className:ie.moreSpan},"\u4E0B\u79FB")),Ia.createElement(E.default.Item,{key:"3",onClick:()=>{var Pr;ao.setFieldsValue({name:da.name,item_type_en:(Pr=$i.find(Er=>Er.id==da.question_type))==null?void 0:Pr.nameType}),sr(!0)}},Ia.createElement("span",{className:ie.moreSpan},"\u91CD\u547D\u540D"))),Ko=da=>{var Qa,Pr,Er,Nr,zr,oo,bo,lo,po,ii,_o,ni,qo,fi,Xi,Kr,fo,Mo,Co,Wo,Uo,Xo,Si,_i,_l,ml,fl,pl;if(!io()){if(da===5){hr(!0),Zr(!0);return}if(da===6){if(_a.get("pageType")=="course")_a.get("updateType")=="course"?ue.history.push(`/problems/newcreate?express_id=${(Qa=wt==null?void 0:wt.exercise)==null?void 0:Qa.id}&callback_url=/paperlibrary/add/${(Pr=wt==null?void 0:wt.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=${(Er=wt==null?void 0:wt.exercise)==null?void 0:Er.id}&callback_url=/paperlibrary/add/${(Nr=wt==null?void 0:wt.exercise)==null?void 0:Nr.id}?type=2&pageType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`);else{let Yi=(oo=(zr=un==null?void 0:un.editData)==null?void 0:zr.exercise)!=null&&oo.set_question_sub_discipline?`/problems/newcreate?express_id=${(bo=wt==null?void 0:wt.exercise)==null?void 0:bo.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(po=(lo=un==null?void 0:un.editData)==null?void 0:lo.exercise)==null?void 0:po.discipline_id}&sub_discipline_id=${(_o=(ii=un==null?void 0:un.editData)==null?void 0:ii.exercise)==null?void 0:_o.sub_discipline_id}`:`/problems/newcreate?express_id=${(ni=wt==null?void 0:wt.exercise)==null?void 0:ni.id}&callback_url=${window.location.pathname+window.location.search}`;ue.history.push(Yi)}return}ia(!0),Un(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=un==null?void 0:un.editData)==null?void 0:qo.exercise)!=null&&fi.set_question_sub_discipline?(Kr=(Xi=un==null?void 0:un.editData)==null?void 0:Xi.exercise)==null?void 0:Kr.discipline_id:0,sub_discipline_id:(Mo=(fo=un==null?void 0:un.editData)==null?void 0:fo.exercise)!=null&&Mo.set_question_sub_discipline?(Wo=(Co=un==null?void 0:un.editData)==null?void 0:Co.exercise)==null?void 0:Wo.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=(Uo=un==null?void 0:un.editData)==null?void 0:Uo.exercise)!=null&&Xo.set_question_sub_discipline?(_i=(Si=un==null?void 0:un.editData)==null?void 0:Si.exercise)==null?void 0:_i.discipline_id:0,sub_discipline_id:(ml=(_l=un==null?void 0:un.editData)==null?void 0:_l.exercise)!=null&&ml.set_question_sub_discipline?(pl=(fl=un==null?void 0:un.editData)==null?void 0:fl.exercise)==null?void 0:pl.sub_discipline_id:0})}},Vo=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{io()||ga(!0)}}];return Ia.createElement("div",null,Ia.createElement(Oe.Z,{spinning:ba},Ia.createElement("div",{className:ie.bg},Ia.createElement("div",{style:{textAlign:"center"}},((ka=wt==null?void 0:wt.exercise_types)==null?void 0:ka.q_counts)===0&&!ja&&Ia.createElement(ye.Z,{styles:{marginTop:180},customText:Ia.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Ia.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Ka=wt==null?void 0:wt.exercise_types)==null?void 0:Ka.q_counts)>0||ja)&&Ia.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Ia.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Ia.createElement("div",{className:ie.left},Ia.createElement("div",{className:ie.leftAction},Ia.createElement(tt.ZP,{onClick:()=>{io()||Wa(!0)},className:ie.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Ia.createElement("div",{className:ie.scrollWrapper,style:{overflow:Xr},onMouseEnter:eo,onMouseLeave:co},(ge=wt==null?void 0:wt.exercise_question_types)==null?void 0:ge.map((da,Qa)=>Ia.createElement("div",{key:Qa,className:"mb30"},Ia.createElement("div",{className:ie.title},Ia.createElement("div",{className:ie.titleleft},Ia.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,me.EM)(Qa+1),"\u3001\u3010",da.name,"\u3011"),Ia.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",da.count,"\u5C0F\u9898\uFF0C\u5171",da.score,"\u5206\uFF09")),Ia.createElement(z.Z,{dropdownRender:()=>Tr(da,Qa),placement:"bottomLeft"},Ia.createElement("div",{className:ie.more_style},Ia.createElement("i",{className:"iconfont icon-sandian font12"})))),Ia.createElement(xn,{handleEditing:()=>{Rr(!0)},isedit:ja,setBigqitem:Ca,bigitem:Ci(ti({},da),{indexs:Qa+1}),setqitem:Pr=>Oo(void 0,null,function*(){var Er;(Er=Vn.current)==null||Er.blur(),Un(Pr)}),qitem:At,Itemid:$e,getdata:Ao,data:da.items})))))),Ia.createElement("div",{id:"question-scroll-id",style:{overflow:ja?"hidden":"auto"},className:ie.right,ref:ur},!(At!=null&&At.isadd)&&Ia.createElement("div",{className:ie.title},!ja&&Ia.createElement("div",{style:{flex:1}},Ia.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(Fn==null?void 0:Fn.indexs)&&(0,me.EM)(Fn==null?void 0:Fn.indexs),"\u3001\u3010",Fn==null?void 0:Fn.name,"\u3011"),Ia.createElement(ne.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Ia.createElement("i",{className:`${ie.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var da;ao.setFieldsValue({name:Fn.name,item_type_en:(da=$i.find(Qa=>Qa.id==Fn.question_type))==null?void 0:da.nameType}),sr(!0)}})),Ia.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",Fn==null?void 0:Fn.count,"\u5C0F\u9898\uFF0C\u5171",Fn==null?void 0:Fn.score,"\u5206\uFF09"),(At==null?void 0:At.question_type)===6&&Ia.createElement("span",{onClick:()=>Gr(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(At==null?void 0:At.question_type)===5&&Ia.createElement(ot.default,{defaultChecked:(be=(ce=un==null?void 0:un.editData)==null?void 0:ce.exercise)==null?void 0:be.show_challenge_task_pass,onChange:da=>Oo(void 0,null,function*(){let Qa=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:da.target.checked}});(Qa==null?void 0:Qa.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ao({id:qn.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(At==null?void 0:At.question_type)===6&&Ia.createElement("span",{style:{marginLeft:20},onClick:()=>{var da,Qa,Pr,Er;b.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Ia.createElement("div",null,(At==null?void 0:At.question_type)===6&&Ia.createElement(ot.default,{defaultChecked:(Qa=(da=un==null?void 0:un.editData)==null?void 0:da.exercise)==null?void 0:Qa.show_hack_sets,onChange:Nr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Nr.target.checked}});(zr==null?void 0:zr.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ao({id:qn.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Ia.createElement("br",null),(At==null?void 0:At.question_type)===6&&Ia.createElement(ot.default,{defaultChecked:(Er=(Pr=un==null?void 0:un.editData)==null?void 0:Pr.exercise)==null?void 0:Er.show_hack_description,onChange:Nr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_hack_description:Nr.target.checked}});(zr==null?void 0:zr.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ao({id:qn.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")),Ia.createElement("div",{style:{display:"flex",alignItems:"center"}},(At==null?void 0:At.question_type)===5&&!ja&&Ia.createElement("a",{className:ie.shixun,href:`/shixuns/${At==null?void 0:At.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Ia.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!ja&&[0,1,2,4,6].includes(At==null?void 0:At.question_type)&&Ia.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Ia.createElement(Ue.Z,{precision:1,ref:Vn,onChange:da=>Qn(da),value:jn,onBlur:da=>{No(da.target.value,At)}})),!ja&&Ia.createElement(ne.Z,{title:"\u5220\u9664"},Ia.createElement("i",{onClick:()=>{Io()},style:{marginRight:20},className:`${ie.delete} iconfont icon-shanchu13 mr5 `})),!ja&&Ia.createElement(ne.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Ia.createElement("i",{onClick:()=>{var da,Qa,Pr;(At==null?void 0:At.question_type)===6?_a.get("pageType")=="course"?_a.get("updateType")=="course"?ue.history.push(`/problems/newedit/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(da=wt==null?void 0:wt.exercise)==null?void 0:da.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.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/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(Qa=wt==null?void 0:wt.exercise)==null?void 0:Qa.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.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/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(Pr=wt==null?void 0:wt.exercise)==null?void 0:Pr.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):ia(!0)},className:`${ie.edit} iconfont icon-bianji_Hover mr5 `})))),!ja&&Ia.createElement("div",null,Ia.createElement("div",{className:ie.qcount},Ia.createElement("span",{className:ie.score},At==null?void 0:At.question_score,"\u5206"),Ia.createElement(Qe.Z,{className:ie.qtitle,value:(At==null?void 0:At.index)+`\u3001${(At==null?void 0:At.question_type)==8?(ke=At==null?void 0:At.program_attr)==null?void 0:ke.description:At==null?void 0:At.question_title}`}),(At==null?void 0:At.high_resources_consume)&&Ia.createElement(os.Z,{type:"shixun",style:{marginLeft:10}})),(At==null?void 0:At.question_type)===6&&Ia.createElement(je.Z,{onEdit:()=>Gr(1),className:"mt10",dataSource:(At==null?void 0:At.languages)||[]}),Ia.createElement(Fs,{newExercisePaper:un,TagDiscipline:ya,qitem:At})),ja&&Ia.createElement("div",null,(At==null?void 0:At.question_type)<=1&&Ia.createElement(ft,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===5&&Ia.createElement(ql,{setqitem:Un,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,showTip:cr}),(At==null?void 0:At.question_type)===3&&Ia.createElement(na,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===2&&Ia.createElement(Wt,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===4&&Ia.createElement(ns,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===7&&Ia.createElement(ri,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===8&&Ia.createElement(Ii,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}))))))),Ia.createElement("div",{className:ie.bottomdiv},Ia.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},Ia.createElement("span",{className:ie.spanBtn,onClick:()=>{io()||(hr(!0),Zr(!1))}},"\u9898\u5E93\u9009\u9898"),Ia.createElement(z.Z,{menu:{items:Vo}},Ia.createElement("span",{className:ie.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Ia.createElement("span",{className:ie.spanBtn,onClick:()=>Oo(void 0,null,function*(){var da;if(io())return;const Qa=yield(0,le.JP)($e);Qa.status===0&&window.open(`/classrooms/coursesId/exercise/${Qa.exercise_id}/${(da=Se.userInfo)==null?void 0:da.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Ia.createElement("span",{className:ie.spanBtn,onClick:()=>{if(!io()){if(nr){window.open(`/paperlibrary/see/${$e}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${$e}`)}}},"\u8BD5\u5377\u9884\u89C8"),$i==null?void 0:$i.map((da,Qa)=>Ia.createElement(tt.ZP,{key:Qa,className:ie.addQuestionBtn,type:"primary",onClick:()=>{Ko(da.id)}},da.name)),Ia.createElement(tt.ZP,{className:ie.saveBtn,loading:Ur,onClick:()=>{var da,Qa;const Pr=()=>Oo(void 0,null,function*(){if(_a.get("pageType")=="course")if(_a.get("updateType")=="course")Le.ZP.info("\u7F16\u8F91\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`);else{if(io())return;(0,rs._C)({id:_a.get("stageId"),subject_id:_a.get("courseId"),homework_type:"exercise",examination_bank_ids:[$e]}).then(zr=>{(zr==null?void 0:zr.status)==0&&(Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`))})}else{if(io())return;if(nr){So(!0);const zr=yield(0,pe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:$e}});if(So(!1),(zr==null?void 0:zr.status)!==0)return}Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.push("/paperlibrary?defaultActiveKey=0")}});let Er=(Qa=(da=wt==null?void 0:wt.exercise_question_types)==null?void 0:da.filter(zr=>zr.question_type===5)[0])==null?void 0:Qa.items,Nr=0;Er==null||Er.map(zr=>{zr.high_resources_consume&&(Nr=Nr+1)}),console.log(Nr),Nr>0?Ke({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Nr,fn:()=>{Pr()}}}):Pr()}},Ia.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Ia.createElement(sl,{setScoreShow:Wa,ScoreShow:ar,exerciseitem:wt,getdata:ro}),mr&&Ia.createElement(Fi.Z,{setScoreShow:hr,isshixuns:Wr,ScoreShow:mr,isloadings:ho,onOk:(da,Qa,Pr,Er)=>Oo(void 0,null,function*(){qr(!0);let zr=yield Ai({exam_id:$e,item_bank_ids:da,shixun_ids:Qa});qr(!1),(zr==null?void 0:zr.status)===0&&b.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:()=>{ro()},onCancel:()=>{hr(!1),ro()}})})}),Ia.createElement(Al.Z,{sub_discipline_id:(Ie=wt==null?void 0:wt.exercise)!=null&&Ie.sub_discipline_id?[(He=wt==null?void 0:wt.exercise)==null?void 0:He.discipline_id,(pt=wt==null?void 0:wt.exercise)==null?void 0:pt.sub_discipline_id]:[],visible:Gn,onCancel:()=>ga(!1),onOk:ci}),Ia.createElement(b.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:Jo,width:500,onOk:()=>ao.submit(),onCancel:()=>sr(!1)},Ia.createElement(Be.default,{form:ao,initialValues:{},onFinish:da=>Oo(void 0,null,function*(){(yield(0,le.RK)(ti({id:$e},da))).status==0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),ro(),sr(!1))})},Ia.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,Qa){var Pr,Er,Nr,zr;const oo=(Pr=$i==null?void 0:$i.find(bo=>bo.nameType==ao.getFieldValue("item_type_en")))==null?void 0:Pr.id;return(zr=(Nr=(Er=wt==null?void 0:wt.exercise_question_types)==null?void 0:Er.filter(bo=>bo.question_type!=oo))==null?void 0:Nr.map(bo=>bo==null?void 0:bo.name))!=null&&zr.includes(Qa)?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()}}]},Ia.createElement(se.default,{size:"large",maxLength:10,showCount:!0})),Ia.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Ia.createElement(se.default,{size:"large"})))),Ia.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ma},Ia.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Ia.createElement(As.Z,{stickyTop:-24,subDisciplineId:(xt=wt==null?void 0:wt.exercise)!=null&&xt.sub_discipline_id?[(it=wt==null?void 0:wt.exercise)==null?void 0:it.discipline_id,(zt=wt==null?void 0:wt.exercise)==null?void 0:zt.sub_discipline_id]:[],onCancel:()=>tr(!1),mode:2,gather:{exam_id:$e},onSuccess:()=>{tr(!1),ro()}}),Ia.createElement("div",{style:{height:70}})),Ia.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?At==null?void 0:At.languages:[],onOk:da=>Oo(void 0,null,function*(){const Qa={languages:da};er===1?Qa.hack_id=At==null?void 0:At.hack_id:Qa.exam_id=$e,(yield(0,pe.ZP)("/api/problems/update_languages.json",{method:"post",body:Qa})).status===0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),Ao({id:qn.current}),Gr(!1))})}))};var Ol=(0,ue.connect)(({user:Se,newExercisePaper:Ke,dispatch:$e})=>({user:Se,newExercisePaper:Ke,dispatch:$e}))(us),Rl=te(85786),Tl=te(15730),Ml=te(86918),fr=te(59301),kl=Object.defineProperty,Vs=Object.defineProperties,ds=Object.getOwnPropertyDescriptors,cs=Object.getOwnPropertySymbols,gs=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Zi=(Se,Ke,$e)=>Ke in Se?kl(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,ul=(Se,Ke)=>{for(var $e in Ke||(Ke={}))gs.call(Ke,$e)&&Zi(Se,$e,Ke[$e]);if(cs)for(var $e of cs(Ke))Zl.call(Ke,$e)&&Zi(Se,$e,Ke[$e]);return Se},xi=(Se,Ke)=>Vs(Se,ds(Ke)),wi=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())});const dl=()=>{const[Se,Ke]=(0,x.useState)([]);return(0,x.useEffect)(()=>{wi(void 0,null,function*(){const un=yield(0,le.d1)({source:"question"});un!=null&&un.disciplines&&Ke((0,y.L)(un==null?void 0:un.disciplines))})},[]),Se},cl=({user:Se,newExercisePaper:Ke,dispatch:$e})=>{var un,ua,ka,Ka,ge,ce,be,ke,Ie,He,pt,xt;const it=(0,ue.useParams)(),zt=dl(),[wt]=Be.default.useForm(),[Xt,Ln]=(0,x.useState)(),[_t,At]=(0,x.useState)(!1),[Un,jn]=(0,x.useState)(1),[Qn,Vn]=(0,x.useState)(""),[qn]=(0,ue.useSearchParams)(),[Fn,Ca]=(0,x.useState)(!1),[ba,Za]=(0,x.useState)(!1),[ja,ia]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{qn.get("type")==="2"&&(Vn(it.id),jn(2))},[qn.get("type")]),(0,x.useEffect)(()=>{if(it.id){if(!zt.length)return;wi(void 0,null,function*(){var Sa,Gn,ga;At(!0);const Ma=yield(0,le.Di)({id:it.id});At(!1);const tr=(Sa=Ma==null?void 0:Ma.exercise)==null?void 0:Sa.sub_discipline_id;let ar=[];for(const hr of zt)for(const Wr of hr.children)Wr.value===tr&&(ar=[hr.value,Wr.value]);const Wa=(Gn=Ma==null?void 0:Ma.exercise)==null?void 0:Gn.time,mr=xi(ul({},Ma.exercise),{sub_discipline_id:ar,time:Wa===-1?null:Wa});Ln(mr),ia((ga=Ma.exercise)==null?void 0:ga.set_question_sub_discipline)})}else Ln({time:60,difficulty:2});$e({type:"globalSetting/footerToggle",payload:!1})},[zt]),fr.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},fr.createElement("section",{className:"edu-container"},fr.createElement("section",{className:"animated fadeIn"},fr.createElement("aside",{style:{marginTop:15}},fr.createElement(Me.Z,{separator:">"},fr.createElement(Me.Z.Item,null,fr.createElement(ue.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),fr.createElement(Me.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),fr.createElement("div",{className:"bg-white"},fr.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},fr.createElement("div",{onClick:()=>{if(Fn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}jn(1)},className:Un===1?Je.Z.selectdiv:Je.Z.divitem},fr.createElement(Rl.Z,{number:1,active:Un===1,className:"mr10"}),fr.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),fr.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),fr.createElement("div",{onClick:()=>{if(!it.id&&!Qn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}jn(2),!Qn&&Vn(it.id)},className:Un!==1?Je.Z.selectdiv:Je.Z.divitem},fr.createElement(Rl.Z,{number:2,active:Un!==1,className:"mr10"}),fr.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),Un===2&&fr.createElement("div",{className:"tc"},fr.createElement(Tl.Z,{defaultValue:(ua=(un=Ke==null?void 0:Ke.editData)==null?void 0:un.exercise)==null?void 0:ua.exercise_name,onFinish:ya=>wi(void 0,null,function*(){var Sa,Gn,ga,Ma,tr,ar,Wa,mr,hr,Wr,Zr,ho;return ya.trim()===((Gn=(Sa=Ke==null?void 0:Ke.editData)==null?void 0:Sa.exercise)==null?void 0:Gn.exercise_name)?!0:(yield(0,le.w0)({id:`${(Ma=(ga=Ke==null?void 0:Ke.editData)==null?void 0:ga.exercise)==null?void 0:Ma.id}`,sub_discipline_id:(ar=(tr=Ke==null?void 0:Ke.editData)==null?void 0:tr.exercise)==null?void 0:ar.sub_discipline_id,time:`${(mr=(Wa=Ke==null?void 0:Ke.editData)==null?void 0:Wa.exercise)==null?void 0:mr.time}`,exercise_name:ya,exercise_description:(Wr=(hr=Ke==null?void 0:Ke.editData)==null?void 0:hr.exercise)==null?void 0:Wr.exercise_description,difficulty:(ho=(Zr=Ke==null?void 0:Ke.editData)==null?void 0:Zr.exercise)==null?void 0:ho.difficulty})).status===0?(wt.setFieldValue("exercise_name",ya),$e({type:"newExercisePaper/modifyTitle",payload:ya}),!0):!1})}),fr.createElement("div",{style:{fontSize:14}},fr.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",fr.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)),fr.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},((ce=(ge=Ke==null?void 0:Ke.editData)==null?void 0:ge.exercise)==null?void 0:ce.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")),fr.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},((He=(Ie=Ke==null?void 0:Ke.editData)==null?void 0:Ie.exercise_types)==null?void 0:He.q_counts)||0)),fr.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},(xt=(pt=Ke==null?void 0:Ke.editData)==null?void 0:pt.exercise_types)==null?void 0:xt.q_scores))))),Un===1&&fr.createElement(Oe.Z,{spinning:_t,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},fr.createElement("section",{className:[Je.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Xt&&fr.createElement(Be.default,{layout:"horizontal",form:wt,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:Je.Z.formWrap,initialValues:Xt},fr.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.Z.baseLineHeight,rules:[{required:!0,validator:(ya,Sa)=>{var Gn;return((Gn=Sa==null?void 0:Sa.replaceAll(" ",""))==null?void 0:Gn.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},fr.createElement(se.default,{maxLength:60,className:Je.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),fr.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:Je.Z.baseLineHeight},fr.createElement(ct.Z,{className:Je.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:zt,popupClassName:Je.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),fr.createElement("div",{className:Je.Z.concat},fr.createElement("div",null,fr.createElement(ot.default,{checked:ja,onChange:ya=>{ia(ya.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")),fr.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",fr.createElement("a",{onClick:()=>Za(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),fr.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},fr.createElement(Ve.ZP.Group,{className:Je.Z.radiogroup},fr.createElement(Ve.ZP.Button,{className:Je.Z.easy,value:1},"\u7B80\u5355"),fr.createElement(Ve.ZP.Button,{className:Je.Z.medium,value:2},"\u9002\u4E2D"),fr.createElement(Ve.ZP.Button,{className:Je.Z.hard,value:3},"\u56F0\u96BE"))),fr.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.Z.baseLineHeight},fr.createElement("div",{style:{display:"flex",width:"100%"}},fr.createElement(Be.default.Item,{name:"time",noStyle:!0},fr.createElement(Ue.Z,{min:1,className:Je.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),fr.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),fr.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},fr.createElement(se.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),fr.createElement("div",{className:Je.Z.bottmodiv},fr.createElement(tt.ZP,{className:`${Je.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{qn.get("pageType")=="course"?ue.history.push(`/paths/${qn.get("courseId")}`):ue.history.push("/paperlibrary")}},"\u53D6\u6D88"),fr.createElement(a.Z,{className:`${Je.Z.confirmBtn} ml15`,type:"primary",onClick:()=>wi(void 0,null,function*(){var ya,Sa,Gn,ga;yield wt.validateFields();const Ma=wt.getFieldsValue();if(Ma.sub_discipline_id=((ya=Ma.sub_discipline_id)==null?void 0:ya.length)>0?Ma.sub_discipline_id[1]:"",Ma.set_question_sub_discipline=ja,it.id){(yield(0,le.w0)(ul({id:it.id},Ma))).status===0&&(Vn(it.id),jn(2),ue.history.replace(`/paperlibrary/add/${it.id}?type=2`));return}const tr=yield(0,le.un)(Ma);tr.status===0&&(Vn((Sa=tr==null?void 0:tr.data)==null?void 0:Sa.exam_id),jn(2),qn.get("pageType")=="course"?ue.history.replace(`/paperlibrary/add/${(Gn=tr==null?void 0:tr.data)==null?void 0:Gn.exam_id}?type=2&pageType=course&courseId=${qn.get("courseId")}&stageId=${qn.get("stageId")}`):ue.history.replace(`/paperlibrary/add/${(ga=tr==null?void 0:tr.data)==null?void 0:ga.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),Un===2&&fr.createElement("div",null,fr.createElement(Ol,{setisedits:Ca,itemid:Qn}))),fr.createElement(Ml.Z,{open:ba,onCancel:()=>{Za(!1)}}))};var gl=(0,ue.connect)(({user:Se,newExercisePaper:Ke,dispatch:$e})=>({user:Se,newExercisePaper:Ke,dispatch:$e}))(cl)},79285:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return nt}});var x=te(59301),ue=te(78241),Be=te(8591),Me=te(43418),Le=te(99313),Oe=te(57809),se=te(19842),ct=te(98228),ot=te(92832),Ve=te(1710),Ue=te(6848),tt=te(58421),Je=te(3113),le=te(99064),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(26422),b={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(85149),z=te(955),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 me=({qitem:et})=>{var qt,hn,Zt,dn,We,It,Gt,Mt,ht,rt;return x.createElement("div",{className:b.warp},x.createElement("div",{className:b.mainPart},x.createElement("div",{className:b.qcount},(et==null?void 0:et.question_type)===8&&x.createElement(E.Z,{className:b.content,showProgramFill:!0,value:(qt=et==null?void 0:et.program_attr)==null?void 0:qt.description}),(et==null?void 0:et.question_type)!=8&&x.createElement(E.Z,{className:b.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)&&x.createElement("div",null,(hn=et==null?void 0:et.choices)==null?void 0:hn.map((ze,ve)=>x.createElement("div",{className:b.redio},!(ze!=null&&ze.is_answer)&&x.createElement("span",{className:b.redioitem}),(ze==null?void 0:ze.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:ze!=null&&ze.is_answer?b.titleyes:b.title,value:re[ve]+(ze==null?void 0:ze.choice_text)}),(ze==null?void 0:ze.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===1&&x.createElement("div",null,(Zt=et==null?void 0:et.choices)==null?void 0:Zt.map((ze,ve)=>x.createElement("div",{className:b.checkbox},!(ze!=null&&ze.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(ze==null?void 0:ze.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:ze!=null&&ze.is_answer?b.titleyes:b.title,value:re[ve]+(ze==null?void 0:ze.choice_text)}),(ze==null?void 0:ze.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===3&&x.createElement("div",{className:b.completion},(dn=et==null?void 0:et.standard_answer)==null?void 0:dn.map((ze,ve)=>{var fe;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",ve+1),x.createElement("div",{className:b.content},(fe=ze==null?void 0:ze.answer_text)==null?void 0:fe.map((qe,Rt)=>x.createElement("div",{className:b.items},qe))))})),(et==null?void 0:et.question_type)===4&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(We=et==null?void 0:et.answer_texts)!=null&&We[0]?x.createElement(E.Z,{className:b.content,value:(It=et==null?void 0:et.answer_texts)==null?void 0:It[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(et==null?void 0:et.question_type)===5&&((Gt=et==null?void 0:et.challenge_names)==null?void 0:Gt.map((ze,ve)=>x.createElement("div",{className:b.shixun},x.createElement("span",{className:b.qtitle},x.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(ve+1),"\u9898"),ze)))),(et==null?void 0:et.question_type)===6&&x.createElement("div",{className:b.program},x.createElement(E.Z,{className:b.content,value:((Mt=et==null?void 0:et.program_attr)==null?void 0:Mt.description)||"- -"})),(et==null?void 0:et.question_type)===7&&((ht=et==null?void 0:et.sub_item_banks)==null?void 0:ht.map((ze,ve)=>{var fe,qe,Rt,Fe,xe;return x.createElement("div",null,x.createElement("div",{className:b.combination},x.createElement("span",{className:b.qtitle},ze==null?void 0:ze.name)),x.createElement("div",{className:b.warp,style:{padding:"0px",paddingTop:20}},x.createElement("div",null,((ze==null?void 0:ze.item_type)=="SINGLE"||(ze==null?void 0:ze.item_type)=="JUDGMENT")&&((fe=ze==null?void 0:ze.choices)==null?void 0:fe.map((at,Xe)=>x.createElement("div",{className:b.redio},!(at!=null&&at.is_answer)&&x.createElement("span",{className:b.redioitem}),(at==null?void 0:at.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:at!=null&&at.is_answer?b.titleyes:b.title,value:re[Xe]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.item_type)=="MULTIPLE"&&((qe=ze==null?void 0:ze.choices)==null?void 0:qe.map((at,Xe)=>x.createElement("div",{className:b.checkbox},!(at!=null&&at.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(at==null?void 0:at.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:at!=null&&at.is_answer?b.titleyes:b.title,value:re[Xe]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.item_type)=="COMPLETION"&&x.createElement("div",{className:b.completion},(Rt=ze==null?void 0:ze.standard_answer)==null?void 0:Rt.map((at,Xe)=>{var Ae;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Xe+1),x.createElement("div",{className:b.content},(Ae=at==null?void 0:at.answer_text)==null?void 0:Ae.map((ft,vn)=>x.createElement("div",{className:b.items},ft))))})),(ze==null?void 0:ze.item_type)=="SUBJECTIVE"&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Fe=ze==null?void 0:ze.answer_texts)!=null&&Fe[0]?x.createElement(E.Z,{className:b.content,value:(xe=ze==null?void 0:ze.answer_texts)==null?void 0:xe[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(et==null?void 0:et.question_type)===8&&x.createElement("div",null,x.createElement(E.Z,{disabledFill:!0,className:b.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&&x.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},x.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_school_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.study_count)||"0"))),x.createElement("a",{className:b.shixunbutton,href:`/shixuns/${et==null?void 0:et.identifier}/challenges?exercise=true`,target:"_blank"},x.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))&&x.createElement("div",{className:b.bottom},x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u89E3\u6790"),x.createElement("span",{className:b.right},et!=null&&et.analysis?x.createElement(E.Z,{value:et==null?void 0:et.analysis}):x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u96BE\u5EA6"),x.createElement("span",{className:b.right},(et==null?void 0:et.difficulty)===1?"\u7B80\u5355":(et==null?void 0:et.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u77E5\u8BC6\u70B9"),x.createElement("span",{className:b.right},et!=null&&et.tag_discipline?et==null?void 0:et.tag_discipline:x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},pe=te(86087),ye=te(84287),je=te(89070),De=te(61485),Qe=te(32570),he=te(16149),Te=te(59301),Ye=Object.defineProperty,bt=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,gt=(et,qt,hn)=>qt in et?Ye(et,qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):et[qt]=hn,Yt=(et,qt)=>{for(var hn in qt||(qt={}))Bt.call(qt,hn)&>(et,hn,qt[hn]);if(ut)for(var hn of ut(qt))yt.call(qt,hn)&>(et,hn,qt[hn]);return et},vt=(et,qt)=>bt(et,Ne(qt)),rn=(et,qt,hn)=>new Promise((Zt,dn)=>{var We=Mt=>{try{Gt(hn.next(Mt))}catch(ht){dn(ht)}},It=Mt=>{try{Gt(hn.throw(Mt))}catch(ht){dn(ht)}},Gt=Mt=>Mt.done?Zt(Mt.value):Promise.resolve(Mt.value).then(We,It);Gt((hn=hn.apply(et,qt)).next())});const xn=({setScoreShow:et,ScoreShow:qt,onOk:hn,isshixuns:Zt,isloadings:dn,dispatch:We,isIntelligentAssistant:It=!1,newExercisePaper:Gt,shixunsDetail:Mt})=>{var ht,rt,ze;let[ve,fe]=(0,x.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:It,group_id:[]}),[qe,Rt]=(0,x.useState)([]),[Fe,xe]=(0,x.useState)([]),[at,Xe]=(0,x.useState)([]),[Ae,ft]=(0,x.useState)([]);const[vn,Qt]=(0,x.useState)(!1),[jt]=ue.default.useForm(),[on,cn]=(0,x.useState)(),[_e,Ft]=(0,x.useState)(!1);let[Lt,St]=(0,x.useState)(Zt);const[Dt,pn]=(0,x.useState)([]),[Pn,Sn]=(0,x.useState)(0),[Rn,na]=(0,x.useState)(!0),[aa,zn]=(0,x.useState)([]),[Pa,Ea]=(0,x.useState)([]),_n=[{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[wa,en]=(0,x.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 En=(0,x.useRef)(new Set),Mn=(0,x.useRef)(new Set),$n=[{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}],Nt=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[kt,Wt]=(0,x.useState)(!1),tn=()=>{jt.resetFields(),Lt=!1,St(!1),Wt(!1),jt.submit()};(0,x.useEffect)(()=>{var lt,$t,Jn,nn,kn,ea,Ra,va,Ge,gn;(((Jn=($t=(lt=Gt==null?void 0:Gt.editData)==null?void 0:lt.exercise)==null?void 0:$t.exist_item_bank_ids)==null?void 0:Jn.length)>0||((ea=(kn=(nn=Gt==null?void 0:Gt.editData)==null?void 0:nn.exercise)==null?void 0:kn.exist_item_bank_shixun_ids)==null?void 0:ea.length)>0)&&Ea([...(va=(Ra=Gt==null?void 0:Gt.editData)==null?void 0:Ra.exercise)==null?void 0:va.exist_item_bank_ids,...(gn=(Ge=Gt==null?void 0:Gt.editData)==null?void 0:Ge.exercise)==null?void 0:gn.exist_item_bank_shixun_ids])},[(rt=(ht=Gt==null?void 0:Gt.editData)==null?void 0:ht.exercise)==null?void 0:rt.exist_item_bank_ids]),(0,x.useEffect)(()=>{qt&&(jt.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Rn&&Lt&&(jt.setFieldsValue({item_type:"SHIXUN"}),ve.item_type="SHIXUN",fe(Yt({},ve)),na(!1)),Ht(ve),mn(),st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[qt]),(0,x.useEffect)(()=>{Pn>0&&setTimeout(()=>{Sn(0)},2e3)},[Pn]);function Ht(lt){return rn(this,null,function*(){var $t,Jn,nn;if(Qt(!0),fe(Yt({},lt)),(at==null?void 0:at.length)<=0&<.type==="5"){ft([]),Qt(!1);return}console.log("----",at,Dt);let kn=lt.type==="5"?at==null?void 0:at.filter(va=>!Dt.includes(va)):null,ea=lt.type==="5"?at==null?void 0:at.filter(va=>Dt.includes(va)):null;lt.group_id=(($t=lt.group_id)==null?void 0:$t.map(va=>va==null?void 0:va.value))||null;let Ra=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:vt(Yt({},lt),{discipline_id:((Jn=lt==null?void 0:lt.courseid)==null?void 0:Jn[0])||null,sub_discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[1])||null,ids:kn,shixun_ids:ea,include_shixuns:!It,keyword:lt.keyword?encodeURIComponent(lt.keyword):lt.keyword,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});ft(Ra),Qt(!1)})}function mn(){return rn(this,null,function*(){let lt=yield(0,le.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:ve.type==="5"?null:ve.type,clazz:"ItemBanksGroup"}});Rt((0,a.L)(lt==null?void 0:lt.disciplines))})}function st(lt){return rn(this,null,function*(){var $t;let Jn=yield(0,le.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=Jn==null?void 0:Jn.data)==null?void 0:$t.map(kn=>({title:kn.name,id:kn.id,pid:kn.id,value:kn.id,key:kn.id,isLeaf:!kn.have_child}))}];zn(nn)})}function Pt(lt){return rn(this,null,function*(){var $t,Jn,nn,kn;Qt(!0);let ea=($t=lt.list)==null?void 0:$t.filter(Ge=>!Dt.includes(Ge)),Ra=(Jn=lt.list)==null?void 0:Jn.filter(Ge=>Dt.includes(Ge));if(ea.length===0&&Ra.length===0){Qt(!1),ft([]);return}let va=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:vt(Yt({},lt),{discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[0])||null,sub_discipline_id:((kn=lt==null?void 0:lt.courseid)==null?void 0:kn[1])||null,ids:ea,shixun_ids:Ra,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});Qt(!1),ft(va)})}const dt=lt=>rn(void 0,null,function*(){const $t=yield We({type:"shixunsDetail/release",payload:{id:lt}});let Jn=$t==null?void 0:$t.tag_position,nn=($t==null?void 0:$t.evaluation_set_position)||[],kn=$t.status;return kn===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),Ht(ve),!0):(kn===2?Be.ZP.error(`\u7B2C${nn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):kn===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Jn.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)}),ln=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":"",Nn=(lt,$t,Jn)=>lt.map(nn=>nn.key===$t?Yt(Yt({},nn),Jn):nn.children?vt(Yt({},nn),{children:Nn(nn.children,$t,Jn)}):nn),bn=lt=>rn(void 0,null,function*(){const{key:$t}=lt;let Jn=ve.type;const nn=yield(0,he.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs($t),type:Jn}),{data:kn,total_count:ea}=nn||{};ea>0&&zn(Ra=>Nn(Ra,$t,{children:kn.map(va=>({title:va.name,id:va.id,pid:va.id,value:va.id,key:va.id,isLeaf:!va.have_child}))}))});function la(lt){console.log("----",ve),lt==="1"&&(wa.gg=Yt({},ve)),lt==="2"&&(wa.scj=Yt({},ve)),lt==="3"&&(wa.ttgx=Yt({},ve)),lt==="0"&&(wa.wcjd=Yt({},ve)),lt==="5"&&(wa.yx=Yt({},ve)),en(Yt({},wa))}function Hn(){ve.type==="1"&&(ve=wa.gg),ve.type==="2"&&(ve=wa.scj),ve.type==="3"&&(ve=wa.ttgx),ve.type==="0"&&(ve=wa.wcjd),ve.type==="5"&&(ve=wa.yx),(ve==null?void 0:ve.item_type)==="SHIXUN"?(Lt=!0,St(!0)):(Lt=!1,St(!1)),jt.setFieldsValue(Yt({},ve)),fe(Yt({},ve)),Ht(Yt({},ve))}return Te.createElement("div",null,Te.createElement(Me.default,{title:!1,footer:!1,open:qt,width:1200,centered:!0,className:y.scoremodal,onCancel:()=>{et(!1)}},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("div",{className:y.title},It?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),It&&Te.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"),Te.createElement(Le.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"}),la(ve.type),ve.type=lt,(ve==null?void 0:ve.item_type)==="SHIXUN"&&ve.type!=="5"&&(Lt=!0,St(!0)),Wt(!1),ve.type==="5"&&(Lt=!1,St(!1)),Hn(),mn()},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:Te.createElement("div",null,"\u5DF2\u9009",at.length>0&&Te.createElement("span",{className:y.titlecount},at.length),Pn>0&&Te.createElement("span",{className:y.add},"+",Pn)),key:"5"}]}),Te.createElement(ue.default,{layout:"inline",form:jt,onValuesChange:(lt,$t)=>{const Jn=Object.values($t).some(kn=>kn!==null&&kn!==""&&kn!==void 0),nn=$t.keyword==="";if(Wt(Jn||!nn),ve.page=1,($t==null?void 0:$t.item_type)==="SHIXUN"){if(ve.type==="5"?St(!1):St(!0),lt.keyword||lt.keyword==="")return;jt.submit()}else{if(lt!=null&<.courseid&&jt.setFieldsValue({tag_discipline_id:""}),St(!1),lt.keyword||lt.keyword==="")return;jt.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(Yt(Yt({},ve),lt)),Ht(Yt(Yt({},ve),lt))}},Te.createElement(ue.default.Item,{name:"item_type"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(It?_n.slice(0,6):_n).map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Te.createElement(ue.default.Item,{name:"courseid"},Te.createElement(se.Z,{className:y.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:qe})),!Lt&&Te.createElement(ue.default.Item,{name:"tag_discipline_id"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(ze=Ae==null?void 0:Ae.tag_disciplines)==null?void 0:ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.id},lt.name)))),Te.createElement(ue.default.Item,{name:Lt?"diff":"difficulty"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Lt&&$n.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)),Lt&&Ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Lt&&Te.createElement(ue.default.Item,{name:"shixun_publish_status"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Nt.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),(ve.type==="3"||ve.type==="0")&&!Lt&&Te.createElement(ue.default.Item,{name:"group_id"},Te.createElement(ct.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:bn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:aa})),kt&&Te.createElement("span",{className:y.allqingchu,onClick:tn},Te.createElement("i",{className:"iconfont icon-guanbi4"}),Te.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Te.createElement(ue.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Te.createElement(ot.default.Search,{className:y.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Te.createElement("i",{className:`iconfont icon-sousuo9 font14 ${y.searchIcon}`,onClick:()=>jt.submit()}),onSearch:lt=>{jt.submit()}}))),Te.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Te.createElement("div",{onClick:()=>{ve.updated_at==="asc"?ve.updated_at="desc":ve.updated_at="asc",fe(vt(Yt({},ve),{page:1})),Ht(vt(Yt({},ve),{page:1}))}}," ",ve.updated_at?Te.createElement("img",{src:ve.updated_at==="asc"?pe.Z:ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Te.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Te.createElement("div",{onClick:()=>{ve.quotes==="asc"?ve.quotes="desc":ve.quotes="asc",fe(vt(Yt({},ve),{page:1})),Ht(vt(Yt({},ve),{page:1}))},style:{marginLeft:20}}," ",ve.quotes?Te.createElement("img",{src:ve.quotes==="asc"?pe.Z:ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Te.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Te.createElement(Ve.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ae==null?void 0:Ae.items)||(Ae==null?void 0:Ae.shixun_list),pagination:!1,loading:vn,rowKey:lt=>lt.id,rowSelection:{type:It?"radio":"checkbox",selectedRowKeys:Fe,getCheckboxProps:lt=>({disabled:lt.shixun_tag_num===1||(Pa==null?void 0:Pa.find($t=>lt.id===$t))}),onSelect(lt,$t,Jn){if(It){xe([lt.id]),Mn.current=new Set([lt.id]),Sn(1),Xe([lt.id]);return}if($t)Lt&&pn([...Dt,lt.id]),xe([...Fe,lt.id]),lt.identifier?En.current.add(lt.id):Mn.current.add(lt.id),Sn(1),Xe([...at,lt.id]);else{lt.identifier?En.current.delete(lt.id):Mn.current.delete(lt.id);let nn=at.filter(kn=>kn!==lt.id);if(xe(nn),Xe(nn),Lt){let kn=Dt.filter(ea=>ea!==lt.id);pn([...kn])}if(ve.type==="5"){Pt(vt(Yt({},ve),{list:[...nn]}));return}}},onSelectAll(lt,$t,Jn){if(lt){const nn=Jn.map(kn=>kn.id);Lt&&pn([...Dt,...nn]),xe([...Fe,...nn]),Xe([...at,...nn]);for(const kn of Jn)kn.identifier?En.current.add(kn.id):Mn.current.add(kn.id)}else{const nn=Jn.map(ea=>ea.id),kn=Fe.filter(ea=>!nn.some(Ra=>Ra===ea));if(xe([...kn]),Xe([...kn]),Lt){let ea=Dt.filter(Ra=>!nn.some(va=>va===Ra.id));pn([...ea])}ve.type==="5"&&Pt(vt(Yt({},ve),{list:[...kn]}));for(const ea of nn)ea.identifier?En.current.delete(ea):Mn.current.delete(ea)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(lt,$t,Jn)=>{var nn,kn;return Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?"\u5B9E\u8BAD\u9898":(kn=(nn=_n==null?void 0:_n.filter(ea=>ea.value===lt))==null?void 0:nn[0])==null?void 0:kn.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Lt?"30%":"60%",key:"name",render:(lt,$t,Jn)=>{var nn;return Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",{className:$t!=null&&$t.high_resources_consume?y.q_title:""},Te.createElement(E.Z,{key:1,showLines:1,showTextOnly:!0,value:Lt||$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)&&Te.createElement(Qe.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Lt,render:(lt,$t,Jn)=>{var nn;return Te.createElement(Ue.Z,{title:ln($t)},Te.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:!Lt,render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("span",null,lt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(lt,$t,Jn)=>{var nn,kn,ea,Ra;return Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?($t==null?void 0:$t.level)||((kn=(nn=$n==null?void 0:$n.filter(va=>va.value===lt))==null?void 0:nn[0])==null?void 0:kn.name):(Ra=(ea=$n==null?void 0:$n.filter(va=>va.value===lt))==null?void 0:ea[0])==null?void 0:Ra.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,lt||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement("span",null,lt||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?($t==null?void 0:$t.study_count)||($t==null?void 0:$t.stu_num):lt))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(De.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,lt||"- -"))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(De.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement("span",null,lt||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",{style:{flex:1,textAlign:"start"}},Te.createElement("a",{onClick:()=>{var nn,kn;cn(vt(Yt({},$t),{question_type:Lt||$t!=null&&$t.challenge_names?5:(kn=(nn=_n==null?void 0:_n.filter(ea=>ea.value===($t==null?void 0:$t.item_type)))==null?void 0:nn[0])==null?void 0:kn.question_type})),Ft(!0)}},"\u67E5\u770B"),($t==null?void 0:$t.shixun_tag_num)===1&&Te.createElement("a",{style:{marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Te.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Te.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:()=>rn(void 0,null,function*(){if(!dt($t==null?void 0:$t.identifier))return new Promise((nn,kn)=>{kn()})})})}},"\u53D1\u5E03")))}].filter(lt=>!lt.hidden)}),Te.createElement(tt.Z,{current:ve.page,total:(Ae==null?void 0:Ae.items_count)||(Ae==null?void 0:Ae.shixuns_count),style:{marginBottom:20},defaultPageSize:ve.per_page,showTotal:lt=>Te.createElement("span",null,"\u5171\xA0",Te.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(Yt({},ve)),Ht(Yt({},ve))}}),Te.createElement("div",{className:y.bottom},Te.createElement(Je.ZP,{className:y.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Te.createElement(Je.ZP,{loading:dn,style:{width:dn&&75},className:y.yes,onClick:()=>rn(void 0,null,function*(){if((at==null?void 0:at.length)<=0){Be.ZP.info(It?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}hn([...Mn.current],[...En.current],!0,at==null?void 0:at.length)})},It?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Te.createElement(Me.default,{open:_e,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:y.previewModal,width:1e3,centered:!0,onCancel:()=>{Ft(!1)},onOk:()=>{Ft(!1)}},Te.createElement(me,{qitem:on})))};var nt=(0,je.connect)(({shixunsDetail:et,newExercisePaper:qt})=>({shixunsDetail:et,newExercisePaper:qt}))(xn)},86918:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Ve}});var x=te(43418),ue={ul:"ul___TdfYY"},Be=te(32637),Me=te(59301),Le=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ct=(Ue,tt)=>{var Je={};for(var le in Ue)Oe.call(Ue,le)&&tt.indexOf(le)<0&&(Je[le]=Ue[le]);if(Ue!=null&&Le)for(var le of Le(Ue))tt.indexOf(le)<0&&se.call(Ue,le)&&(Je[le]=Ue[le]);return Je},Ve=Ue=>{var tt=Ue,{open:Je,onCancel:le}=tt,y=ct(tt,["open","onCancel"]);return Me.createElement(x.default,{centered:!0,open:Je,title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Me.createElement("div",null,Me.createElement("div",{className:"tc"},Me.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Me.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Me.createElement("ul",{className:ue.ul},Me.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"),Me.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"),Me.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")))))}},88918:function(Ut,Kt,te){"use strict";te.d(Kt,{I:function(){return ue}});var x=te(59301);const ue=()=>{const[Be,Me]=(0,x.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Me("auto"),handleMouseLeave:()=>Me("hidden")}}},50371:function(Ut,Kt){"use strict";function te(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue{const Le=Be[Me];Le!==void 0&&(x[Me]=Le)})}return x}Kt.Z=te},77578:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return x}});const x=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(Ut,Kt,te){"use strict";te.d(Kt,{F:function(){return x},Z:function(){return ue}});function x(Be){return Be!=null&&Be===Be.window}function ue(Be,Me){var Le,Oe;if(typeof window=="undefined")return 0;const se=Me?"scrollTop":"scrollLeft";let ct=0;return x(Be)?ct=Be[Me?"pageYOffset":"pageXOffset"]:Be instanceof Document?ct=Be.documentElement[se]:(Be instanceof HTMLElement||Be)&&(ct=Be[se]),Be&&!x(Be)&&typeof ct!="number"&&(ct=(Oe=((Le=Be.ownerDocument)!==null&&Le!==void 0?Le:Be).documentElement)===null||Oe===void 0?void 0:Oe[se]),ct}},56762:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ue}});var x=te(59301);function ue(){const[,Be]=x.useReducer(Me=>Me+1,0);return Be}},68031:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Me}});var x=te(16089);function ue(Le,Oe,se,ct){const ot=se-Oe;return Le/=ct/2,Le<1?ot/2*Le*Le*Le+Oe:ot/2*((Le-=2)*Le*Le+2)+Oe}var Be=te(13845);function Me(Le){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:ct,duration:ot=450}=Oe,Ve=se(),Ue=(0,Be.Z)(Ve,!0),tt=Date.now(),Je=()=>{const y=Date.now()-tt,a=ue(y>ot?ot:y,Ue,Le,ot);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,y{let{children:ut}=Ne;const{getPrefixCls:Bt}=Le.useContext(se.E_),yt=Bt("breadcrumb");return Le.createElement("li",{className:`${yt}-separator`,"aria-hidden":"true"},ut===""?ut:ut||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var Ue=Ve,tt=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gtut[gt]||yt)}function le(Ne,ut,Bt,yt){if(Bt==null)return null;const{className:gt,onClick:Yt}=ut,vt=tt(ut,["className","onClick"]),rn=Object.assign(Object.assign({},(0,Me.Z)(vt,{data:!0,aria:!0})),{onClick:Yt});return yt!==void 0?Le.createElement("a",Object.assign({},rn,{className:ue()(`${Ne}-link`,gt),href:yt}),Bt):Le.createElement("span",Object.assign({},rn,{className:ue()(`${Ne}-link`,gt)}),Bt)}function y(Ne,ut){return(yt,gt,Yt,vt,rn)=>{if(ut)return ut(yt,gt,Yt,vt);const xn=Je(yt,gt);return le(Ne,yt,xn,rn)}}var a=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt{const{prefixCls:ut,separator:Bt="/",children:yt,menu:gt,overlay:Yt,dropdownProps:vt,href:rn}=Ne,nt=(et=>{if(gt||Yt){const qt=Object.assign({},vt);if(gt){const hn=gt||{},{items:Zt}=hn,dn=a(hn,["items"]);qt.menu=Object.assign(Object.assign({},dn),{items:Zt==null?void 0:Zt.map((We,It)=>{var{key:Gt,title:Mt,label:ht,path:rt}=We,ze=a(We,["key","title","label","path"]);let ve=ht!=null?ht:Mt;return rt&&(ve=Le.createElement("a",{href:`${rn}${rt}`},ve)),Object.assign(Object.assign({},ze),{key:Gt!=null?Gt:It,label:ve})})})}else Yt&&(qt.overlay=Yt);return Le.createElement(ot.Z,Object.assign({placement:"bottom"},qt),Le.createElement("span",{className:`${ut}-overlay-link`},et,Le.createElement(ct.Z,null)))}return et})(yt);return nt!=null?Le.createElement(Le.Fragment,null,Le.createElement("li",null,nt),Bt&&Le.createElement(Ue,null,Bt)):null},E=Ne=>{const{prefixCls:ut,children:Bt,href:yt}=Ne,gt=a(Ne,["prefixCls","children","href"]),{getPrefixCls:Yt}=Le.useContext(se.E_),vt=Yt("breadcrumb",ut);return Le.createElement(b,Object.assign({},gt,{prefixCls:vt}),le(vt,gt,Bt,yt))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,ne=te(17313),re=te(83116),ie=te(37613);const me=Ne=>{const{componentCls:ut,iconCls:Bt}=Ne;return{[ut]:Object.assign(Object.assign({},(0,ne.Wf)(Ne)),{color:Ne.itemColor,fontSize:Ne.fontSize,[Bt]:{fontSize:Ne.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ne.linkColor,transition:`color ${Ne.motionDurationMid}`,padding:`0 ${Ne.paddingXXS}px`,borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",marginInline:-Ne.marginXXS,"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover}},(0,ne.Qy)(Ne)),"li:last-child":{color:Ne.lastItemColor},[`${ut}-separator`]:{marginInline:Ne.separatorMargin,color:Ne.separatorColor},[`${ut}-link`]:{[` +`),fn.focus();default:throw new Error}},[fn,ra]),Qr=(0,x.useMemo)(()=>{switch(ra){case Lt:return x.createElement(rn,{callback:pr,onCancel:no});case Sn:return x.createElement(xn.Z,{callback:pr,onCancel:no});case St:return x.createElement(nt.Z,{callback:pr,onCancel:no});case Dt:return x.createElement(Rt,{callback:pr,onCancel:no});case Rn:return x.createElement(Ae,{callback:pr,onCancel:no});case"maths-latex":return x.createElement(on,{showSaveButton:!0,callback:pr});case"inline-latex":return x.createElement(cn.Z,{showSaveButton:!0,callback:pr});default:return null}},[ra]);function no(){Ua("")}(0,x.useEffect)(()=>{if(Or.current){let $a=function(sn){gr=!0,Ce=sn.pageY},fa=function(){gr=!1},Tn=function(sn){if(gr){let Cn=sn.pageY-Ce;Cn<0&&(Cn=0),Cn>300&&(Cn=300);let Kn=ln+Cn+"px";lr(Kn)}},Ba=Or.current,gr=!1,Ce=0;return Ba.addEventListener("mousedown",$a),document.addEventListener("mousemove",Tn),document.addEventListener("mouseup",fa),()=>{Ba.removeEventListener("mousedown",$a),document.removeEventListener("mousemove",Tn),document.removeEventListener("mouseup",fa)}}},[fn,Or]),(0,x.useEffect)(()=>{lr(ln)},[ln]);const Bo=Nt(dt),To=Nt(za),ko={width:Bo,height:To},Dr=(0,x.useMemo)(()=>{if(rr){let $a=new Date(rr),fa=$a.getHours(),Tn=$a.getMinutes(),Ba=$a.getSeconds();return fa=fa<10?"0"+fa:fa,Tn=Tn<10?"0"+Tn:Tn,Ba=Ba<10?"0"+Ba:Ba,`${fa}:${Tn}:${Ba}`}return 0},[rr]),Yr=$a=>{const fa=[];if(ea){let Tn=-1;$a=$a.replace(/(@▁▁@|@▁@)/g,function(Ba,gr,Ce){fa.push({multiLine:Ba!==Mn})})}return fa};function Po(){window.sessionStorage.removeItem($t),Ir(!1),Ga(0)}function $o(){Ir(!1),Ga(0),fn.setValue(window.sessionStorage.getItem($t))}(0,x.useEffect)(()=>{Ht[ra]&&ra!==pn&&ra!==Dt&&setTimeout(()=>{const $a=document.getElementsByClassName("markdown-popup-form")[0],fa=window.innerWidth/2-$a.offsetWidth/2,Tn=window.innerHeight/2-$a.offsetHeight/2;br(fa),Ta(Tn)},0)},[ra]);const jo=$a=>{$a.preventDefault();const fa=$a.clientX-Ar,Tn=$a.clientY-Br;document.body.onmousemove=Ba=>{let gr=Ba.clientX-fa,Ce=Ba.clientY-Tn;const sn=document.getElementsByClassName("markdown-popup-form")[0],Cn=window.innerWidth-sn.offsetWidth,Kn=window.innerHeight-sn.offsetHeight;gr=Math.max(0,Math.min(gr,Cn)),Ce=Math.max(0,Math.min(Ce,Kn)),ei(Ba.clientX,Ba.clientY,fa,Tn)&&(br(gr),Ta(Ce))},document.body.onmouseup=function(){document.body.onmousemove=null}},ei=($a,fa,Tn,Ba)=>{const gr=document.body.clientHeight,Ce=document.body.clientWidth;return $a<20&&Tn>$a||$a>Ce-20&&Tn<$a||fa<20&&Ba>fa||fa>gr-20&&BaQe in De?tt(De,Qe,{enumerable:!0,configurable:!0,writable:!0,value:he}):De[Qe]=he,z=(De,Qe)=>{for(var he in Qe||(Qe={}))a.call(Qe,he)&&E(De,he,Qe[he]);if(y)for(var he of y(Qe))b.call(Qe,he)&&E(De,he,Qe[he]);return De},ne=(De,Qe)=>Je(De,le(Qe));const{useForm:re}=x.default,ie={width:280,marginRight:10},me={labelCol:{span:5},wrapperCol:{span:19}};var pe=({callback:De,onCancel:Qe})=>{const[he]=re();let Te=(0,ot.useRef)();function Ye(ut){Te.current.width=he.getFieldValue("width"),Te.current.align=he.getFieldValue("align"),De(ut,Te.current)}function bt(ut,Bt){if(ut.status===-1){ue.ZP.error(ut.message);return}he.setFieldsValue({src:`/api/attachments/${ut.id}`,type:Bt.type})}function Ne(ut){let Bt=ut.target.files[0];Te.current=Bt,je(Bt,bt)}return Ue.createElement(x.default,ne(z({form:he},me),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},Ue.createElement("div",{className:"flex-container"},Ue.createElement(x.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Ue.createElement(Be.default,{style:ie})),Ue.createElement(ye,{onFileChange:Ne}))),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},Ue.createElement(Be.default,{style:{width:264}})),Ue.createElement(x.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},Ue.createElement(Me.Z,null,Ue.createElement(x.default.Item,{name:"width",style:{margin:0}},Ue.createElement(Le.Z,{style:{width:264}})),Ue.createElement("span",{className:"ml8"},"%"))),Ue.createElement(x.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},Ue.createElement(Oe.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),Ue.createElement("aside",null,Ue.createElement(x.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Ue.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),Ue.createElement(se.ZP,{type:"default",onClick:Qe},"\u53D6\u6D88"))))};function ye({onFileChange:De}){return Ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Ue.createElement("input",{type:"file",onChange:De}))}function je(De,Qe){if(!De)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ve.bg)())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let he=new FormData;he.append("editormd-image-file",De),he.append("file_param_name","editormd-image-file"),he.append("byxhr","true");var Te=new window.XMLHttpRequest;Te.withCredentials=!0,Te.addEventListener("load",function(Ye){Qe(JSON.parse(Ye.target.responseText),De)},!1),Te.addEventListener("error",function(Ye){console.error(Ye)},!1),Te.open("POST",`${ct.KI}/api/attachments.json`),Te.send(he)}},79346:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Be}});var x=te(59301),ue=te(4676);class Be extends x.Component{constructor(Le){super(Le);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:Le}=this.props;return(0,ue.createPortal)(Le,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(Ut,Kt,te){"use strict";te.d(Kt,{i:function(){return ie},Z:function(){return pe}});var x={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),Me=te(92310),Le=te.n(Me),Oe=te(955),se=te(8797),ct=te(24065),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/ReYxDaFf41Vkr46F0C8MLRihmCF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8350\u81EA\u5B66",ptimg:ot,swimg:Ve},{name:"101\u8BA1\u5212",ptimg:Ue,swimg:tt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Je,swimg:le},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:E},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ne}];var pe=({className:ye,dataSource:je=[],col:De=4,right:Qe,bottom:he=23,precision:Te=0,wrapWidth:Ye=1200,trackEventItems:bt,loading:Ne,onRemove:ut=()=>{},isCurrent:Bt=!0,showAlias:yt=!1})=>{const gt=Math.floor((Ye-(De-1)*Qe)/De),Yt=[{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"}].map(vt=>(window.ENV==="build"&&(vt.ptimg=`/react/build${vt.ptimg}`,vt.swimg=`/react/build${vt.swimg}`),vt));return re.createElement(ue.Z,{spinning:Ne},re.createElement("div",{className:Le()(x.list,ye)},!!(je!=null&&je.length)&&(je==null?void 0:je.map((vt,rn)=>{var xn;const{name:nt,id:et,identifier:qt,featured:hn,school_name:Zt,image_url:dn,excellent:We,is_plan:It}=vt;return re.createElement("div",{key:et,className:x.wrap,style:{width:gt,marginRight:(1+rn)%De===0?0:Qe+Te,marginBottom:he}},re.createElement("a",{className:x.li,onClick:Gt=>{Gt.preventDefault(),Gt.stopPropagation(),bt&&(0,Oe.L9)([bt]),(0,Oe.xg)(`/paths/${qt}`)}},re.createElement("div",{className:x.img},re.createElement("img",{className:x.cover,src:`${dn}`}),Bt&&(0,ct.bg)()&&(vt==null?void 0:vt.studying)&&re.createElement("div",{className:`${x.movebq} user-path-items`,onClick:Gt=>{Gt.stopPropagation(),ut(vt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(xn=vt==null?void 0:vt.subject_tags)==null?void 0:xn.map((Gt,Mt)=>{var ht,rt;if(Mt===0){const ve=(ht=Yt.find(fe=>fe.name==Gt))==null?void 0:ht.swimg;return re.createElement("img",{className:x.sign,src:ve,style:{left:"-4px"}})}const ze=(rt=Yt.find(ve=>ve.name==Gt))==null?void 0:rt.ptimg;return re.createElement("img",{className:x.sign,src:ze,style:{left:`${48+52*(Mt-1)+2*Mt}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(vt==null?void 0:vt.excellent)&&re.createElement("div",{className:x.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:x.name},re.createElement(Be.Z,{title:yt&&(vt!=null&&vt.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${vt==null?void 0:vt.excellent_alias_name}`)):nt},re.createElement("span",{className:x.e},yt&&(vt==null?void 0:vt.excellent_alias_name)||nt))),re.createElement("div",{className:x.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,vt.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,vt.members_count)))))))})),!je.length&&re.createElement(se.Z,null)))}},29458:function(Ut,Kt,te){"use strict";te.d(Kt,{jL:function(){return Le},w9:function(){return vt},QD:function(){return cn},cQ:function(){return ut.Z},op:function(){return Ae},O5:function(){return $n},_b:function(){return pn},t7:function(){return E},Gi:function(){return hn},YG:function(){return et},qp:function(){return Ue},vr:function(){return Lt},qE:function(){return Qt},Je:function(){return re},wb:function(){return Ne},cq:function(){return Mt},tp:function(){return le}});var x=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/k8c3LQvv5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u1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Le=({dataSource:Ze=[],img:Nt,imgWidth:kt=346,title:Wt,sunTitle:tn,bannerExtraContent:Ht})=>x.createElement("div",{className:ue.banner},x.createElement("div",{className:ue.content},x.createElement("aside",null,x.createElement("p",null,x.createElement("b",null,Wt),x.createElement("span",null,tn)),Ze.length>0&&x.createElement("div",{className:ue.btns},Ze.map((mn,st)=>x.createElement("div",{key:st,onClick:mn.click},mn.name,mn.sign?x.createElement("img",{src:Be,width:39}):null))),Ht),Nt&&x.createElement("img",{style:{marginTop:33,marginRight:38},src:Nt,width:kt}))),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"},se=te(92310),ct=te.n(se),ot=te(89392),Ue=({dataSource:Ze=[],value:Nt,onChange:kt,onTitleChange:Wt,className:tn,title:Ht,titleWidth:mn=41,style:st={},fontColor:Pt="#6A7283",showCount:dt})=>{const[ln,Nn]=(0,x.useState)(0),[bn,la]=(0,x.useState)(!1),Hn=(0,x.useRef)(null),lt=(0,x.useRef)(null);return(0,x.useEffect)(()=>{var $t;Ze.length!==0&&((($t=Hn==null?void 0:Hn.current)==null?void 0:$t.clientHeight)>97?Nn(1):Nn(0)),Ze.length===0&&Nn(0),la(!1)},[Ze]),x.createElement("div",{className:ct()(Oe.row,tn),style:st},x.createElement("div",{onClick:(0,ot.throttle)(()=>Wt==null?void 0:Wt(),2e3),style:{width:mn,marginTop:bn?12:4},className:`${Oe.title} ${Wt?"current":""}`},Ht),x.createElement("div",{className:bn?`${Oe.tagsWrap} ${Oe.tagsBorderWrap}`:Oe.tagsWrap},x.createElement("div",{className:Oe.bar,ref:lt,style:ln>0?{height:ln===1?97:"auto",overflow:ln===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},x.createElement("div",{className:Oe.tag,ref:Hn},Ze==null?void 0:Ze.map($t=>x.createElement("span",{onClick:()=>kt($t.id),key:$t.id,style:{color:Pt},className:Nt===$t.id?Oe.active:""},x.createElement("span",{title:$t.name,className:Oe.name},$t.name),!!dt&&x.createElement("span",{className:Oe.num},$t.count))))),!!ln&&x.createElement(x.Fragment,null,ln===1?x.createElement("div",{onClick:()=>{var $t;Nn(2),(($t=Hn==null?void 0:Hn.current)==null?void 0:$t.clientHeight)>245?la(!0):la(!1)},className:Oe.action},"\u5C55\u5F00",x.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):x.createElement("div",{onClick:()=>{lt.current.scrollTop=0,Nn(1),la(!1)},className:Oe.action},"\u6536\u8D77",x.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"},le=({dataSource:Ze=[],value:Nt,onChange:kt,className:Wt,style:tn={}})=>x.createElement("div",{style:tn,className:ct()(tt.tabs,Wt)},Ze.map(Ht=>x.createElement("span",{onClick:()=>kt(Ht.id),className:Nt===Ht.id?tt.active:"",key:Ht.id},Ht.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:Nt="",onChange:kt,onInputChange:Wt=()=>{},className:tn,style:Ht={},placeholder:mn,allowClear:st=!1})=>{var Pt;const[dt,ln]=(0,x.useState)(""),[Nn,bn]=(0,x.useState)("");(0,x.useEffect)(()=>{var lt;let $t=Nt;(lt=JSON.stringify(Nt))!=null&<.includes("{")&&(ln(Nt.id),$t=Nt.value||"");try{bn(decodeURIComponent($t||""))}catch(Jn){bn(decodeURIComponent($t||""))}},[Nt]);const la=()=>{kt(encodeURIComponent(Nn),dt||null)},Hn=lt=>{lt!==dt&&(ln(lt),kt(encodeURIComponent(Nn),lt))};return x.createElement("div",{className:ct()(y.input,tn),style:Ht},!!Ze.length&&x.createElement("div",{className:y.dropdown},x.createElement("div",{className:y.text},(Pt=Ze.find(lt=>lt.id===dt))==null?void 0:Pt.name,x.createElement("i",{className:"iconfont icon-zhankai4"}),x.createElement("b",{className:y.b1}),x.createElement("b",{className:y.b2})),x.createElement("div",{className:y.menu},Ze.map((lt,$t)=>x.createElement("div",{key:$t,onClick:()=>Hn(lt.id)},lt.name)))),x.createElement(a.default,{onPressEnter:la,value:Nn,onChange:lt=>{bn(lt.target.value),Wt(encodeURIComponent(lt.target.value),dt||null)},bordered:!1,placeholder:mn}),x.createElement("i",{onClick:la,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:Nt,className:kt,total:Wt,pageSize:tn,style:Ht={}})=>{const mn=Ze<2,st=Ze>=Math.ceil(Wt/tn);return Wt<=tn?x.createElement(x.Fragment,null):x.createElement("div",{className:ct()(z.quickPager,kt),style:Ht},x.createElement("div",{onClick:()=>{mn||Nt(Ze-1,"prev")},className:mn?z.disabled:""},"\u4E0A\u4E00\u9875"),x.createElement("div",{onClick:()=>{st||Nt(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"},me=te(71418),pe=te(6848),ye=te(13570),je=te(3294),De=te(955),Qe=te(96908),he=te(57177),Te=te(81378),Ye=te(8797),Ne=({className:Ze,dataSource:Nt=[],col:kt=4,right:Wt,bottom:tn=23,precision:Ht=0,wrapWidth:mn=1200,trackEventItems:st,loading:Pt})=>{const dt=Math.floor((mn-(kt-1)*Wt)/kt);return x.createElement(me.Z,{spinning:Pt},x.createElement("div",{className:ct()(ie.list,Ze)},!!Nt.length&&Nt.map((ln,Nn)=>{const{name:bn,id:la,identifier:Hn,power:lt,cover_image_id:$t,pic:Jn}=ln;return x.createElement("div",{className:ie.wrap,key:la,style:{width:dt,marginRight:(1+Nn)%kt===0?0:Wt+Ht,marginBottom:tn}},x.createElement("a",{target:"_blank",href:`/shixuns/${Hn}/challenges`,className:ie.li,onClick:nn=>{nn.preventDefault(),st&&(0,De.L9)([st]),lt&&(0,De.xg)(`/shixuns/${Hn}/challenges`)}},x.createElement("div",{className:ie.img},x.createElement("img",{className:ie.cover,src:`${Jn}`}),ln.is_jupyter&&x.createElement("img",{className:ie.sign,src:Qe}),ln.is_jupyter_lab&&x.createElement("img",{className:ie.sign,src:he}),ln.is_unity_3d&&x.createElement("img",{className:ie.sign,src:Te})),x.createElement("div",{className:ie.name},x.createElement(pe.Z,{title:bn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},x.createElement("span",{className:ie.e},bn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),x.createElement("div",{className:ie.tags},x.createElement(pe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),x.createElement("span",null,ln.challenges_count))),!!ln.myshixuns_count&&x.createElement(pe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},x.createElement("span",null,x.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),x.createElement("span",null,ln.myshixuns_count))),x.createElement(pe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},x.createElement("span",null,x.createElement("span",null,ln.level))),x.createElement("div",{className:ie.rate},x.createElement(ye.Z,{allowHalf:!0,disabled:!0,defaultValue:ln.score_info}),x.createElement("span",null,"\xA0",ln.score_info?`${ln.score_info}\u5206`:"5\u5206")))),!lt&&x.createElement("div",{className:ie.lockWrap},x.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),x.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Nt.length&&x.createElement(Ye.Z,null)))},ut=te(33847),Bt={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"},yt="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/BHhkOSe5evqiaaXoT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84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",gt=te(59301),vt=({className:Ze,dataSource:Nt=[],col:kt=4,right:Wt,bottom:tn=23,precision:Ht=0,wrapWidth:mn=1200,trackEventItems:st,loading:Pt})=>{const dt=Math.floor((mn-(kt-1)*Wt)/kt);return gt.createElement(me.Z,{spinning:Pt},gt.createElement("div",{className:ct()(Bt.list,Ze)},!!Nt.length&&Nt.map((ln,Nn)=>{const{subject_identifier:bn,id:la,identifier:Hn,power:lt}=ln,$t=ln.is_public!=0&&ln.is_public;return gt.createElement("div",{className:Bt.wrap,key:la,style:{width:dt,marginRight:(1+Nn)%kt===0?0:Wt+Ht,marginBottom:tn}},gt.createElement("a",{className:Bt.li,onClick:Jn=>{Jn.preventDefault(),st&&(0,De.L9)([st]),(0,De.xg)(ln.first_category_url)}},gt.createElement("div",{className:Bt.top},gt.createElement(pe.Z,{title:ln.name},gt.createElement("div",{className:Bt.name},ln.name)),gt.createElement("img",{className:Bt.img,src:je.Z.IMG_SERVER+"/images/"+ln.avatar_url}),gt.createElement("div",{className:Bt.text,title:ln.creator},ln.creator),bn&>.createElement("div",{className:Bt.btns},gt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),gt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),$t&>.createElement("div",{className:Bt.sign},"\u516C\u5F00")),gt.createElement("div",{className:Bt.bottom},ln.visits>0&>.createElement(pe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-liulanyan"}),gt.createElement("span",null,ln.visits))),ln.course_members_count>0&>.createElement(pe.Z,{title:"\u6210\u5458",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-chengyuan"}),ln.course_members_count)),ln.tasks_count>0&>.createElement(pe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},gt.createElement("span",null,gt.createElement("i",{className:"iconfont icon-zuoye"}),ln.tasks_count)),ln.is_end?gt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):gt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!ln.is_accessible&>.createElement("div",{className:Bt.lockWrap},gt.createElement("img",{src:`${je.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),gt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Nt.length&>.createElement(Ye.Z,null)))},rn={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"},xn=te(89070),et=({dataSource:Ze=[],value:Nt,onChange:kt,className:Wt,style:tn={},tabBarExtraContent:Ht})=>x.createElement("div",{className:ct()(rn.tabs,Wt),style:tn},x.createElement("div",{className:rn.tabsWrap},Ze.map((mn,st)=>x.createElement("aside",{className:rn.tab,onClick:()=>{kt(mn.id),mn.link&&xn.history.push(mn.link)},key:st},x.createElement("div",{className:Nt===mn.id?rn.active:""},mn.name),(mn==null?void 0:mn.resetCount)==null&&(mn==null?void 0:mn.total)!==void 0&&x.createElement("span",null,"\uFF08",mn==null?void 0:mn.total,"\uFF09"),(mn==null?void 0:mn.resetCount)!==void 0&&(mn==null?void 0:mn.total)!==void 0&&x.createElement(pe.Z,{title:(mn==null?void 0:mn.tip)!=null?mn==null?void 0:mn.tip:""},x.createElement("span",{style:{color:"#9096A3"}},"\uFF08",x.createElement("span",{style:{color:"#000"}},mn==null?void 0:mn.resetCount),"/",x.createElement("span",null,mn==null?void 0:mn.total),"\uFF09"))))),x.createElement("div",{className:rn.tabBar},Ht)),hn=({className:Ze,style:Nt={},children:kt})=>x.createElement("div",{className:ct()(Ze),style:Nt},kt),Zt={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"},dn=te(38854),We=te(20834);const It=[{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:Nt,className:kt,onSort:Wt,onDrop:tn,dataSource:Ht=It})=>{var mn;return x.createElement("div",{className:ct()(Zt.orderWrap,kt)},x.createElement(dn.Z,{dropdownRender:()=>x.createElement(We.default,null,Ht.map((st,Pt)=>x.createElement(We.default.Item,{key:Pt,onClick:()=>tn(st.id)},st.name)))},x.createElement("span",{className:Zt.orderTextWrap},(mn=Ht.find(st=>Nt===st.id))==null?void 0:mn.name)),x.createElement("span",{className:Zt.orderIconWrap},x.createElement("span",{className:Zt.orderAsc},x.createElement("i",{className:Ze==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-up font12 ${Zt.cursorPointer}`,onClick:()=>Wt(Ze==="asc"?"desc":"asc")})),x.createElement("span",{className:Zt.orderDesc},x.createElement("i",{className:Ze==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer} ${Zt.active}`:`iconfont icon-sanjiaoxing-down font12 ${Zt.cursorPointer}`,onClick:()=>Wt(Ze==="asc"?"desc":"asc")}))))},ht={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),ze=Object.defineProperty,ve=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,Rt=(Ze,Nt,kt)=>Nt in Ze?ze(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[Nt]=kt,Fe=(Ze,Nt)=>{for(var kt in Nt||(Nt={}))fe.call(Nt,kt)&&Rt(Ze,kt,Nt[kt]);if(ve)for(var kt of ve(Nt))qe.call(Nt,kt)&&Rt(Ze,kt,Nt[kt]);return Ze},xe=(Ze,Nt)=>{var kt={};for(var Wt in Ze)fe.call(Ze,Wt)&&Nt.indexOf(Wt)<0&&(kt[Wt]=Ze[Wt]);if(Ze!=null&&ve)for(var Wt of ve(Ze))Nt.indexOf(Wt)<0&&qe.call(Ze,Wt)&&(kt[Wt]=Ze[Wt]);return kt},at=(Ze,Nt,kt)=>new Promise((Wt,tn)=>{var Ht=Pt=>{try{st(kt.next(Pt))}catch(dt){tn(dt)}},mn=Pt=>{try{st(kt.throw(Pt))}catch(dt){tn(dt)}},st=Pt=>Pt.done?Wt(Pt.value):Promise.resolve(Pt.value).then(Ht,mn);st((kt=kt.apply(Ze,Nt)).next())}),Ae=Ze=>{var Nt=Ze,{className:kt,style:Wt,children:tn,loading:Ht=!1,openLoading:mn,onClick:st=()=>{},size:Pt="middle",shape:dt="round"}=Nt,ln=xe(Nt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[Nn,bn]=(0,x.useState)(!1);return x.createElement(rt.ZP,Fe({onClick:(0,ot.throttle)(la=>at(void 0,null,function*(){mn&&bn(!0);try{yield st(la)}catch(Hn){console.log("error",Hn)}mn&&bn(!1)}),2e3,{leading:!0,trailing:!1}),className:ct()(ht.btn,ht[`${Pt}-${dt}`],kt),style:Wt,size:Pt,shape:dt,loading:Nn||Ht},ln),tn)},ft={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"},Qt=({className:Ze,style:Nt,children:kt=null,onClick:Wt,title:tn})=>x.createElement("div",{className:ct()(ft.head,Ze),style:Nt},x.createElement("span",{className:"primary-hover",onClick:Wt},x.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),x.createElement("b",{title:tn},tn),x.createElement("div",{className:ft.node},kt)),jt={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"},cn=({confirmShow:Ze=!0,confirmTitle:Nt,confirmClick:kt,cancelShow:Wt=!0,cancelTitle:tn,cancelClick:Ht,className:mn,style:st,confirmLoading:Pt=!1})=>x.createElement("div",{className:ct()(jt.btns,mn),style:st},Ze&&x.createElement(rt.ZP,{loading:Pt,onClick:kt,type:"primary",className:jt.confirm},Nt),Wt&&x.createElement(rt.ZP,{onClick:Ht,className:jt.cancel},tn)),_e={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"},Lt=({className:Ze,style:Nt={},LeftContent:kt,children:Wt,RightContent:tn})=>x.createElement("div",{className:ct()(_e.fixedBottom,Ze),style:Nt},x.createElement("div",{className:_e.wrap},x.createElement("div",{className:_e.left},kt),x.createElement("div",{className:_e.center},Wt),x.createElement("div",{className:_e.right},tn))),St={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"},pn=({className:Ze,style:Nt={},dataSource:kt=[]})=>x.createElement("div",{className:ct()(St.crumbs,Ze),style:Nt},kt.map((Wt,tn)=>tnxn.history.push(Wt.path)},Wt.name):x.createElement("span",null,Wt.name),x.createElement("span",null,"\xA0",">","\xA0")):x.createElement("span",{key:tn,style:{color:"#5F6368"}},Wt.name))),Pn=te(31797),Sn=Object.defineProperty,Rn=Object.defineProperties,na=Object.getOwnPropertyDescriptors,aa=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Pa=Object.prototype.propertyIsEnumerable,Ea=(Ze,Nt,kt)=>Nt in Ze?Sn(Ze,Nt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Ze[Nt]=kt,_n=(Ze,Nt)=>{for(var kt in Nt||(Nt={}))zn.call(Nt,kt)&&Ea(Ze,kt,Nt[kt]);if(aa)for(var kt of aa(Nt))Pa.call(Nt,kt)&&Ea(Ze,kt,Nt[kt]);return Ze},wa=(Ze,Nt)=>Rn(Ze,na(Nt)),en=(Ze,Nt)=>{var kt={};for(var Wt in Ze)zn.call(Ze,Wt)&&Nt.indexOf(Wt)<0&&(kt[Wt]=Ze[Wt]);if(Ze!=null&&aa)for(var Wt of aa(Ze))Nt.indexOf(Wt)<0&&Pa.call(Ze,Wt)&&(kt[Wt]=Ze[Wt]);return kt};const{Countdown:En}=Pn.default;var $n=Ze=>{var Nt=Ze,{onChange:kt}=Nt,Wt=en(Nt,["onChange"]);const[tn,Ht]=(0,x.useState)(null);(0,x.useEffect)(()=>{typeof tn=="number"&&tn>=0&&kt(tn)},[tn]);const mn=st=>{const Pt=Math.floor(st/1e3);Ht(Pt)};return x.createElement(En,wa(_n({},Wt),{onChange:mn}))}},58856:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ue}});var x=te(59301);function ue(Be,Me){const Le=(0,x.useRef)();(0,x.useEffect)(()=>{Le.current=Be}),(0,x.useEffect)(()=>{function Oe(){Le.current()}if(Me!==null){let se=setInterval(Oe,Me);return()=>clearInterval(se)}},[Me])}},42609:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return y}});var x=te(59301),ue=te(8591),Be=te(43418),Me=te(19842),Le=te(54580),Oe=te(3113),se=te(3294),ct=te(955),ot=te(99064),Ve=te(89070),Ue={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,b,E)=>new Promise((z,ne)=>{var re=pe=>{try{me(E.next(pe))}catch(ye){ne(ye)}},ie=pe=>{try{me(E.throw(pe))}catch(ye){ne(ye)}},me=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(re,ie);me((E=E.apply(a,b)).next())}),y=({visible:a,onOk:b,onCancel:E,sub_discipline_id:z=[]})=>{const[ne,re]=(0,x.useState)([]),[ie,me]=(0,x.useState)(!1),pe=(0,Ve.useParams)(),[ye,je]=(0,x.useState)([]),[De,Qe]=(0,x.useState)([]);(0,x.useEffect)(()=>{a?he():(Qe([]),re([]),me(!1))},[a]);const he=()=>Je(void 0,null,function*(){const Bt=yield(0,ot.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});je(Bt.disciplines||[]),Qe((z==null?void 0:z.length)>0?z:[])}),Te=()=>{if((De==null?void 0:De.length)===0)return ue.ZP.warning("\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B\uFF01");console.log("subDisciplineId",De),me(!0),b(ne,De[1],()=>{me(!1)})},Ye=()=>{E()},bt=()=>{const Bt=`${se.Z.API_SERVER}/api/courses/${pe.coursesId}/exercises/down_template`;(0,ct.Nd)(null,Bt)},Ne=Bt=>{const yt={name:Bt.name,uid:Bt.uid,file:Bt};return re([yt]),!1},ut=()=>{re([])};return tt.createElement(Be.default,{title:"\u5BFC\u5165\u8BD5\u9898",open:a,onOk:Te,centered:!0,wrapClassName:Ue.customModal,onCancel:Ye,width:663,okText:"\u786E\u8BA4",okButtonProps:{className:Ue.okBtn},cancelText:"\u53D6\u6D88",confirmLoading:ie},tt.createElement("div",{className:Ue.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:bt},"\u4E0B\u8F7D\u8003\u8BD5\u8BD5\u9898\u6A21\u677F"),tt.createElement("i",{className:"iconfont icon-xiazai4 ml10",onClick:bt,style:{fontSize:14,cursor:"pointer",color:"#0152d9"}})),tt.createElement("li",{style:{color:"#FA6400"},className:"mt10"},"\u63D0\u793A"),tt.createElement("li",{className:Ue.infoText},"1\u3001\u76EE\u524D\u4EC5\u652F\u6301Excel\u683C\u5F0F\u6A21\u677F\uFF1B "),tt.createElement("li",{className:Ue.infoText},"2\u3001\u4E0D\u652F\u6301\u7EC4\u5408\u9898\u548C\u5B9E\u8BAD\u9898\u5BFC\u5165\uFF1B"),tt.createElement("li",{className:Ue.infoText},"3\u3001\u6BCF\u6B21\u6700\u591A\u5BFC\u5165300\u9898\uFF1B"),tt.createElement("li",{className:Ue.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(Me.Z,{value:De,className:Ue.selectitems,expandTrigger:"hover",placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:ye,fieldNames:{label:"name",value:"id",children:"sub_disciplines"},onChange:(Bt,yt)=>{Qe(Bt||[])}}),tt.createElement("br",null),tt.createElement(Le.default,{action:`${se.Z.API_SERVER}/api/attachments.json`,beforeUpload:Ne,onRemove:ut,withCredentials:!0,fileList:ne,accept:".xls,.xlsx",showUploadList:!1},tt.createElement(Oe.ZP,{className:Ue.upload,type:"primary",icon:tt.createElement("i",{className:"iconfont icon-shangchuan3",style:{fontSize:14}})},"\u4E0A\u4F20\u6587\u4EF6"))),ne.map((Bt,yt)=>tt.createElement("div",{key:yt,className:Ue.fileList},tt.createElement("span",{className:Ue.fileName},Bt==null?void 0:Bt.name),tt.createElement("i",{className:"iconfont icon-shanchu12",style:{color:"#F65160",fontSize:16,cursor:"pointer"},onClick:ut})))))))}},74440:function(Ut,Kt,te){"use strict";te.d(Kt,{h:function(){return x}});var x=(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))(x||{})},88264:function(Ut,Kt,te){"use strict";te.d(Kt,{H7:function(){return y},MK:function(){return le},MU:function(){return Ve},X6:function(){return tt},bM:function(){return ot},fi:function(){return a},fu:function(){return ct},n4:function(){return b},rX:function(){return Je},vl:function(){return E},zO:function(){return Ue}});var x=te(99064),ue=Object.defineProperty,Be=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,Oe=(z,ne,re)=>ne in z?ue(z,ne,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[ne]=re,se=(z,ne)=>{for(var re in ne||(ne={}))Me.call(ne,re)&&Oe(z,re,ne[re]);if(Be)for(var re of Be(ne))Le.call(ne,re)&&Oe(z,re,ne[re]);return z};function ct(z,ne){return(0,x.U2)(`myproblems/${z}.json`,se({hidePopLogin:!0},ne||{}))}function ot(z,ne){return(0,x.v_)(`myproblems/${z}/code_submit.json`,ne)}function Ve(z,ne){return(0,x.v_)(`myproblems/${z}/code_debug.json`,ne)}function Ue(z,ne){return ne.language&&(ne.language=encodeURIComponent(ne.language)),(0,x.U2)(`myproblems/${z}/submit_records.json`,ne)}function tt(z){return(0,x.U2)("myproblems/record_detail.json",{id:z})}function Je(z,ne){return(0,x.U2)(`myproblems/${z}/result.json`,{mode:ne})}function le(z,ne){return(0,x.v_)(`myproblems/${z}/add_notes.json`,ne)}function y(z,ne){return(0,x.v_)(`myproblems/${z}/restore_initial_code.json`,ne)}function a(z){return(0,x.v_)(`myproblems/${z}/sync_code.json`)}function b(z,ne){return(0,x.v_)(`myproblems/${z}/update_code.json`,ne)}function E(z,ne){return(0,x.v_)(`discusses/${z}/plus.json`,ne)}},15730:function(Ut,Kt,te){"use strict";var x=te(59301),ue=te(6848),Be=te(92832),Me=te(8591),Le=te(7761),Oe=te(59301),se=(ot,Ve,Ue)=>new Promise((tt,Je)=>{var le=b=>{try{a(Ue.next(b))}catch(E){Je(E)}},y=b=>{try{a(Ue.throw(b))}catch(E){Je(E)}},a=b=>b.done?tt(b.value):Promise.resolve(b.value).then(le,y);a((Ue=Ue.apply(ot,Ve)).next())});const ct=({defaultValue:ot,onFinish:Ve})=>{const[Ue,tt]=(0,x.useState)(!1),[Je,le]=(0,x.useState)(ot);return(0,x.useEffect)(()=>{le(ot)},[ot]),Oe.createElement("div",null,Ue?Oe.createElement(Be.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:Je,onChange:y=>{le(y.target.value)},onBlur:()=>se(void 0,null,function*(){var y;if(((y=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Je))&&tt(!1)}),onPressEnter:()=>se(void 0,null,function*(){var y;if(((y=Je==null?void 0:Je.replaceAll(" ",""))==null?void 0:y.length)<=0){Me.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield Ve(Je))&&tt(!1)})}):Oe.createElement("div",{className:Le.Z.title},Je,Oe.createElement(ue.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},Oe.createElement("i",{className:`${Le.Z.editIcon} iconfont icon-bianji_Hover`,onClick:()=>tt(!0)}))))};Kt.Z=ct},8478:function(Ut,Kt,te){"use strict";te.r(Kt),te.d(Kt,{default:function(){return gl},useCourseOptions:function(){return dl}});var x=te(59301),ue=te(89070),Be=te(78241),Me=te(66104),Le=te(8591),Oe=te(71418),se=te(92832),ct=te(19842),ot=te(24905),Ve=te(5112),Ue=te(5871),tt=te(3113),Je=te(7761),le=te(80401),y=te(26422),a=te(6021),b=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"},me=te(955),pe=te(99064),ye=te(8797),je=te(67248),De=te(78113),Qe=te(85149),he=te(59301),Te=Object.defineProperty,Ye=Object.defineProperties,bt=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(Se,Ke,$e)=>Ke in Se?Te(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,gt=(Se,Ke)=>{for(var $e in Ke||(Ke={}))ut.call(Ke,$e)&&yt(Se,$e,Ke[$e]);if(Ne)for(var $e of Ne(Ke))Bt.call(Ke,$e)&&yt(Se,$e,Ke[$e]);return Se},Yt=(Se,Ke)=>Ye(Se,bt(Ke)),vt=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),xn=({Itemid:Se,setqitem:Ke,qitem:$e,data:un,getdata:ua,bigitem:ka,setBigqitem:Ka,isedit:ge,handleEditing:ce})=>{const[be,ke]=(0,x.useState)([]),[Ie,He]=(0,x.useState)(!1);(0,x.useEffect)(()=>{un.length>0&&ke([...un])},[un]);const pt=(xt,it)=>vt(void 0,null,function*(){if(ge){ce();return}if(!xt.destination)return;He(!0);let zt=yield(0,pe.ZP)(`/api/examination_banks/${Se}/examination_banks_item_banks/${it==null?void 0:it[xt.source.index].question_id}/adjust_position.json`,{method:"post",body:{id:Se,itemid:it==null?void 0:it[xt.source.index].question_id,position:xt.destination.index}});He(!1),zt.status===0&&ua({id:it==null?void 0:it[xt.source.index].question_id})});return he.createElement("div",null,he.createElement(De.Z5,{onDragEnd:xt=>pt(xt,be)},he.createElement(De.bK,{droppableId:"droppable"},(xt,it)=>he.createElement("div",gt({ref:xt.innerRef},xt.droppableProps),he.createElement(Oe.Z,{spinning:Ie},be.map((zt,wt)=>he.createElement(De._l,{key:wt,draggableId:wt.toString(),index:wt},(Xt,Ln)=>{var _t,At;return he.createElement("aside",gt(gt({ref:Xt.innerRef},Xt.draggableProps),Xt.dragHandleProps),he.createElement(ne.Z,{title:he.createElement(Qe.Z,{value:(zt==null?void 0:zt.question_type)===8?(_t=zt==null?void 0:zt.program_attr)==null?void 0:_t.description:zt.question_title}),color:"#fff",placement:"left",overlayClassName:ie.titleTooltip},he.createElement("div",{onClick:()=>{if(ge){ce();return}Ke(Yt(gt({},zt),{index:wt+1})),Ka(ka),(0,me.Vf)("#question-scroll-id")},className:`${ie.qcount} ${zt.question_id===($e==null?void 0:$e.question_id)?ie.qcountclick:""}`},he.createElement("span",{className:ie.score},zt==null?void 0:zt.question_score,"\u5206"),he.createElement("span",{className:ie.qtitle},wt+1,"\u3001",he.createElement(Qe.Z,{value:(zt==null?void 0:zt.question_type)===8?(At=zt==null?void 0:zt.program_attr)==null?void 0:At.description:zt.question_title,showTextOnly:!0})))))}))),xt.placeholder))))},nt=te(95237),et=te(65357),qt=te(57809),hn=te(78673),Zt=te(61485),dn=te(87198),We=te(59301),It=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),Mt=({form:Se,TagDiscipline:Ke,exerciseitem:$e,qitem:un,getTagData:ua})=>{var ka;const[Ka,ge]=(0,x.useState)(!0),[ce,be]=(0,x.useState)(!1),[ke,Ie]=(0,x.useState)(""),[He,pt]=(0,x.useState)([]),[xt,it]=(0,x.useState)([]),[zt,wt]=(0,x.useState)(0);(0,x.useEffect)(()=>{Ln()},[]);const Xt=_t=>It(void 0,null,function*(){const At=yield(0,pe.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:_t==null?void 0:_t.sub_discipline_id}});it(At==null?void 0:At.tag_disciplines)}),Ln=()=>It(void 0,null,function*(){const _t=yield(0,pe.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});pt(_t.disciplines||[]),un!=null&&un.sub_discipline_id&&Xt(un),wt(un!=null&&un.sub_discipline_id?1:0),Se.setFieldsValue({difficulty:un.difficulty||2,repeat_answer:!un.repeat_answer,sub_discipline_id:un!=null&&un.sub_discipline_id?[un==null?void 0:un.discipline_id,un==null?void 0:un.sub_discipline_id]:[]})});return We.createElement("div",null,We.createElement("div",{style:{marginTop:30,overflow:"hidden",height:Ka?"100%":0}},We.createElement(Be.default.Item,{className:ie.formcenter,rules:[{required:!0,message:"\u8BF7\u5148\u9009\u62E9\u96BE\u5EA6"}],label:"\u96BE\u5EA6",name:"difficulty"},We.createElement(Ve.ZP.Group,{className:ie.radiogroup},We.createElement(Ve.ZP.Button,{className:ie.easy,value:1},"\u7B80\u5355"),We.createElement(Ve.ZP.Button,{className:ie.medium,value:2},"\u9002\u4E2D"),We.createElement(Ve.ZP.Button,{className:ie.hard,value:3},"\u56F0\u96BE"))),We.createElement(Be.default.Item,{name:"sub_discipline_id",label:"\u77E5\u8BC6\u70B9",className:ie.formcenterselect},We.createElement(ct.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,At)=>{Se.setFieldsValue({sub_discipline_id:_t,tag_discipline_ids:[]}),wt(_t?_t.length:0),(_t==null?void 0:_t.length)>0&&(Xt({sub_discipline_id:_t[1]}),_t[1]==(un==null?void 0:un.sub_discipline_id)&&Se.setFieldValue("tag_discipline_ids",un.tag_discipline_ids))},onClear:()=>{it([]),Se.setFieldValue("tag_discipline_ids",[]),wt(0)}})),We.createElement(Be.default.Item,{className:ie.formcenterselect},We.createElement("div",{style:{display:"flex",alignItems:"center",paddingLeft:55}},We.createElement(Be.default.Item,{name:"tag_discipline_ids"},We.createElement(qt.default,{className:ie.selectitems,disabled:zt===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,At)=>At.key.indexOf(_t.toLowerCase())>=0},xt==null?void 0:xt.map(_t=>We.createElement(qt.default.Option,{key:_t.name+_t.id,value:_t.id},We.createElement("div",{style:{display:"flex",alignItems:"center"}},We.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},_t.name),(_t==null?void 0:_t.type)==="personal"&&We.createElement("div",{style:{marginLeft:"5px",border:"1px solid #24C074",color:"#24C074",padding:"0 4px",borderRadius:"2px",fontSize:"12px",height:"20px",lineHeight:"20px"}},"\u81EA\u7528")))))),zt>0&&We.createElement("div",{style:{marginLeft:20,marginTop:"-16px",lineHeight:"48px",height:48,fontSize:14}},We.createElement("span",null,"\u6CA1\u6709\u5408\u9002\u7684\u77E5\u8BC6\u70B9\uFF1F"),We.createElement("a",{onClick:()=>{be(!0)},style:{marginLeft:3,color:"#3061D0"}},"\u65B0\u5EFA\u77E5\u8BC6\u70B9")))),We.createElement(Be.default.Item,{className:ie.formcenterselect},We.createElement("div",{style:{display:"flex",alignItems:"center"}},We.createElement(Be.default.Item,{name:"repeat_answer",valuePropName:"checked"},We.createElement(hn.Z,null)),We.createElement("div",{style:{marginLeft:10,marginTop:"-16px",lineHeight:"40px",height:48,color:"#000000"}},"\u4E0D\u5141\u8BB8\u5B66\u751F\u91CD\u590D\u7B54\u9898",We.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"},We.createElement(Zt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))))),We.createElement(dn.Z,{open:ce,subDisciplineId:(ka=Se.getFieldValue("sub_discipline_id"))==null?void 0:ka[1],onCancel:()=>{be(!1)},onOkClick:_t=>{it(At=>[...At,_t]),Se.setFieldValue("tag_discipline_ids",[...Se.getFieldValue("tag_discipline_ids"),_t==null?void 0:_t.id])}}))},ht=te(59301),rt=Object.defineProperty,ze=Object.defineProperties,ve=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,qe=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Fe=(Se,Ke,$e)=>Ke in Se?rt(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,xe=(Se,Ke)=>{for(var $e in Ke||(Ke={}))qe.call(Ke,$e)&&Fe(Se,$e,Ke[$e]);if(fe)for(var $e of fe(Ke))Rt.call(Ke,$e)&&Fe(Se,$e,Ke[$e]);return Se},at=(Se,Ke)=>ze(Se,ve(Ke)),Xe=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ft=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(at(xe({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(He=>at(xe({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)}))},[Se]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const He=Ie.map(xt=>{var it;return(it=xt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return ht.createElement("div",null,ht.createElement(Be.default,{form:be,colon:!1,onFinish:Ie=>{var He;if(ke(Ie.choices)){Le.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}let pt=at(xe({},Ie),{item_type:Se==null?void 0:Se.question_type,choices:(He=Ie==null?void 0:Ie.choices)==null?void 0:He.map(xt=>at(xe({},xt),{is_answer:xt.standard_boolean}))});ua(xe(xe({},Se),pt))},onFinishFailed:Ie=>Xe(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},ht.createElement("div",{style:{display:"flex",alignItems:"center"}},ht.createElement("div",{style:{flex:1}},ht.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),ht.createElement("span",null,(Se==null?void 0:Se.question_type)===1?"\u591A\u9009\u9898":"\u5355\u9009\u9898")),!Se.isadd&&ht.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},ht.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),ht.createElement(tt.ZP,{onClick:()=>{var Ie;Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(at(xe({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(He=>at(xe({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),ht.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:ht.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},ht.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")},ht.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Xe(void 0,null,function*(){be.submit()})},"\u4FDD\u5B58"))),ht.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},ht.createElement(nt.Z,{align:"middle"},ht.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},ht.createElement(Ue.Z,{onBlur:Ie=>{Ie.target.value==="0"&&Le.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}))),ht.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"}),ht.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},vn=te(70472),Qt=te(27693),jt=te(59301),on=Object.defineProperty,cn=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Dt=(Se,Ke,$e)=>Ke in Se?on(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,pn=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Lt.call(Ke,$e)&&Dt(Se,$e,Ke[$e]);if(Ft)for(var $e of Ft(Ke))St.call(Ke,$e)&&Dt(Se,$e,Ke[$e]);return Se},Pn=(Se,Ke)=>cn(Se,_e(Ke)),Sn=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),na=({qitem:Se,TagDiscipline:Ke,exerciseitem:$e,setisedit:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm(),ke=Be.default.useWatch("use_blank_score",be);return(0,x.useEffect)(()=>{be.setFieldsValue(Pn(pn({},Se),{standard_answers:Se.standard_answers||[],name:Se.question_title,repeat_answer:!Se.repeat_answer}))},[Se]),jt.createElement("div",null,jt.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,xt,it,zt;if(Ie!=null&&Ie.standard_answers||Ie!=null&&Ie.use_blank_score){let wt=((pt=be.getFieldValue("standard_answers"))==null?void 0:pt.length)>0&&((it=(xt=be.getFieldValue("standard_answers"))==null?void 0:xt.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(wt==null?void 0:wt.length)>0&&be.setFieldsValue({question_score:(wt==null?void 0:wt.length)>0&&((zt=wt.reduce((Xt,Ln)=>Xt+Ln))==null?void 0:zt.toFixed(1))})}},onFinish:Ie=>{var He;ua(Pn(pn(pn({},Se),Ie),{item_type:Se==null?void 0:Se.question_type,standard_answers:(He=Ie.standard_answers)==null?void 0:He.map((pt,xt)=>Pn(pn({},pt),{position:pt.choice_id||xt+1}))}))},onFinishFailed:Ie=>Sn(void 0,null,function*(){var He,pt;Ie.errorFields[0].errors[0]==="\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"&&(0,me.pE)(),Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},jt.createElement("div",{style:{display:"flex",alignItems:"center"}},jt.createElement("div",{style:{flex:1}},jt.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),jt.createElement("span",null,"\u586B\u7A7A\u9898")),!Se.isadd&&jt.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},jt.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),jt.createElement(tt.ZP,{onClick:()=>{Se.isadd?(un(!1),ge()):(be.setFieldsValue(Pn(pn({},Se),{standard_answers:Se.standard_answers,name:Se.question_title,repeat_answer:!Se.repeat_answer})),un(!1))}},"\u53D6\u6D88"),jt.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:jt.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},jt.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")},jt.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),jt.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},jt.createElement(nt.Z,{align:"middle"},ke?jt.createElement(Qt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}):jt.createElement(Be.default.Item,{key:2,className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},jt.createElement(Ue.Z,{onBlur:Ie=>{Ie.target.value==="0"&&Le.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})),jt.createElement(Be.default.Item,{name:"use_blank_score",noStyle:!0},jt.createElement(Ve.ZP.Group,{className:ie.scoreByBlankRadio,optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}]})),jt.createElement(ne.Z,{overlayInnerStyle:{width:460},title:jt.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",jt.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")},jt.createElement("i",{className:"icon-tishixiaowenhao font18 ml20 c-3061d0"}))),jt.createElement(vn.u,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,answerKey:"standard_answers"}),jt.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:$e,TagDiscipline:Ke,form:be}))))},aa=te(11832),zn=te(59301),Pa=Object.defineProperty,Ea=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,wa=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Mn=(Se,Ke,$e)=>Ke in Se?Pa(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,$n=(Se,Ke)=>{for(var $e in Ke||(Ke={}))en.call(Ke,$e)&&Mn(Se,$e,Ke[$e]);if(wa)for(var $e of wa(Ke))En.call(Ke,$e)&&Mn(Se,$e,Ke[$e]);return Se},Ze=(Se,Ke)=>Ea(Se,_n(Ke)),Nt=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),Wt=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke;be.setFieldsValue(Ze($n({},Se),{name:Se.question_title,repeat_answer:!Se.repeat_answer,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(Ie=>Ze($n({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0}))}))},[Se]),zn.createElement("div",null,zn.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua($n($n({},Se),ke))},onFinishFailed:ke=>Nt(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},zn.createElement("div",{style:{display:"flex",alignItems:"center"}},zn.createElement("div",{style:{flex:1}},zn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),zn.createElement("span",null,"\u5224\u65AD\u9898")),!(Se!=null&&Se.isadd)&&zn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},zn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),zn.createElement(tt.ZP,{onClick:()=>{var ke;Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(Ze($n({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(Ie=>Ze($n({},Ie),{is_answer:Ie!=null&&Ie.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),zn.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:zn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},zn.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")},zn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),zn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},zn.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},zn.createElement(Ue.Z,{onBlur:ke=>{ke.target.value==="0"&&Le.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})),zn.createElement(aa.Z,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",choiceKey:""}),zn.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},tn=te(36381),Ht={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"},mn=te(12893),st=te(12290),Pt=Object.defineProperty,dt=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,bn=Object.prototype.hasOwnProperty,la=Object.prototype.propertyIsEnumerable,Hn=(Se,Ke,$e)=>Ke in Se?Pt(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,lt=(Se,Ke)=>{for(var $e in Ke||(Ke={}))bn.call(Ke,$e)&&Hn(Se,$e,Ke[$e]);if(Nn)for(var $e of Nn(Ke))la.call(Ke,$e)&&Hn(Se,$e,Ke[$e]);return Se},$t=(Se,Ke)=>dt(Se,ln(Ke)),Jn=(Se,Ke)=>{var $e={};for(var un in Se)bn.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&Nn)for(var un of Nn(Se))Ke.indexOf(un)<0&&la.call(Se,un)&&($e[un]=Se[un]);return $e};const nn=Se=>{var Ke=Se,{value:$e,onChange:un,scrollId:ua}=Ke,ka=Jn(Ke,["value","onChange","scrollId"]);return x.createElement("div",{id:ua||""},x.createElement(st.Z,$t(lt({},ka),{defaultValue:$e,onChange:(Ka,ge)=>{console.log("a:",Ka,ge),ge!=null&&ge.length?un(Ka,ge):un(Ka)}})))},kn=({value:Se,onChange:Ke,placeholder:$e,height:un=140,isEdit:ua})=>ua?x.createElement(st.Z,{watch:!0,isFocus:!0,height:un,placeholder:$e,defaultValue:Se,onChange:Ke}):x.createElement("div",{style:{cursor:"pointer"}},Se?x.createElement(Qe.Z,{className:Ht.inputBorder,value:Se}):x.createElement("div",{className:`${Ht.inputBorder} ${Ht.placeholder}`},$e));var ea=te(43604),Ra=te(32134),va=Object.defineProperty,Ge=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,Jt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,Zn=(Se,Ke,$e)=>Ke in Se?va(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,An=(Se,Ke)=>{for(var $e in Ke||(Ke={}))yn.call(Ke,$e)&&Zn(Se,$e,Ke[$e]);if(Jt)for(var $e of Jt(Ke))In.call(Ke,$e)&&Zn(Se,$e,Ke[$e]);return Se},Dn=(Se,Ke)=>Ge(Se,gn(Ke)),Fa=(Se,Ke)=>{var $e={};for(var un in Se)yn.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&Jt)for(var un of Jt(Se))Ke.indexOf(un)<0&&In.call(Se,un)&&($e[un]=Se[un]);return $e};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"],fn=({value:Se,onChange:Ke,choiceTextKey:$e,answerKey:un,index:ua,isEdit:ka,setInputActive:Ka,form:ge,choiceOptionsPath:ce,allowChangeMode:be,showAddIcon:ke,addItem:Ie,deleteItem:He})=>{const pt=(Se==null?void 0:Se[un])===1,xt=()=>{const zt=ge.getFieldValue(ce);ge.setFieldValue(ce,zt.map(wt=>Dn(An({},wt),{[un]:0})))},it=()=>{pt?Ke(Dn(An({},Se),{[un]:0})):(be||xt(),Ke(Dn(An({},Se),{[un]:1})))};return x.createElement(nt.Z,{className:Ht.choiceWrap,align:"middle",wrap:!1},x.createElement(ea.Z,{onClick:it,className:`${Ht.choiceIndex} ${pt?Ht.activeAnswer:""}`},La[ua]),x.createElement(ea.Z,{flex:1,className:`${Ht.editorWrap} ml15`,onClick:Ka},x.createElement(kn,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:ka,value:Se==null?void 0:Se[$e],onChange:zt=>{Ke(Dn(An({},Se),{[$e]:zt}))}})),x.createElement(ea.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:it,className:`${Ht.setAnswerBtn} ${pt?Ht.activeAnswer:""}`},pt?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),x.createElement(ea.Z,{className:Ht.actionWrapper},x.createElement(ne.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},x.createElement(Ra.Z,{className:Ht.addIcon,onClick:Ie,style:{visibility:ke?"visible":"hidden"}})),x.createElement(ne.Z,{title:"\u5220\u9664"},x.createElement(mn.Z,{className:Ht.deleteIcon,onClick:He,style:{visibility:ua>1?"visible":"hidden"}}))))},Na=({questionTitlePlaceholder:Se,titleKey:Ke,choiceKey:$e,analysisKey:un,choiceTextKey:ua,answerKey:ka,choiceOptionsPath:Ka,allowChangeMode:ge=!0,form:ce,showAnalysis:be=!0})=>{const[ke,Ie]=(0,x.useState)(),[He,pt]=(0,x.useState)(!1);return x.createElement("div",{className:Ht.wrap},x.createElement("div",{className:Ht.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:Ke,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:Array.isArray(Ke)?Ke.join("_"):`${Ke}`,watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),x.createElement(Be.default.List,{name:$e,rules:[{validator(xt,it){const zt=it.some(Xt=>Xt[ka]===1),wt=it.findIndex(Xt=>{var Ln;return((Ln=Xt[ua])==null?void 0:Ln.length)<=0});return wt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${La[wt]}\u9009\u9879\u7684\u5185\u5BB9`)):zt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(xt,{add:it,remove:zt})=>x.createElement("div",{id:Array.isArray(Ka)?Ka.join("_"):`${Ka}`},xt.map((wt,Xt)=>{var Ln=wt,{key:_t,name:At}=Ln,Un=Fa(Ln,["key","name"]);const jn=ke===_t,Qn=()=>{Ie(_t)},Vn=Xt<7&&Xt===xt.length-1,qn=()=>it({[ua]:"",[ka]:0}),Fn=()=>zt(At);return x.createElement(Be.default.Item,Dn(An({},Un),{key:_t,name:At,noStyle:!0}),x.createElement(fn,{choiceTextKey:ua,answerKey:ka,index:Xt,isEdit:jn,setInputActive:Qn,form:ce,choiceOptionsPath:Ka,allowChangeMode:ge,showAddIcon:Vn,addItem:qn,deleteItem:Fn}))}),xt.length<8&&x.createElement("div",{className:`${Ht.addBtn} mb30`,onClick:()=>it({[ua]:"",[ka]:0})},"\u6DFB\u52A0\u9009\u9879"))),be&&x.createElement("div",{onClick:()=>pt(!0)},x.createElement(Be.default.Item,{name:un,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:He}))))};var Yn=te(59301),qa=Object.defineProperty,Ja=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,sa=Object.getOwnPropertySymbols,ma=Object.prototype.hasOwnProperty,ra=Object.prototype.propertyIsEnumerable,Ua=(Se,Ke,$e)=>Ke in Se?qa(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,rr=(Se,Ke)=>{for(var $e in Ke||(Ke={}))ma.call(Ke,$e)&&Ua(Se,$e,Ke[$e]);if(sa)for(var $e of sa(Ke))ra.call(Ke,$e)&&Ua(Se,$e,Ke[$e]);return Se},Ga=(Se,Ke)=>Ja(Se,Wn(Ke)),za=(Se,Ke)=>{var $e={};for(var un in Se)ma.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&sa)for(var un of sa(Se))Ke.indexOf(un)<0&&ra.call(Se,un)&&($e[un]=Se[un]);return $e};const lr=({value:Se,onChange:Ke})=>{const $e=ua=>{b.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:Ht.modal,onOk:()=>{const ka=[...Se];ka.splice(ua,1),Ke(ka)}})},un=()=>{const ua=[...Se];ua.push(""),Ke(ua)};return Yn.createElement(nt.Z,{className:"ml20"},Yn.createElement(ea.Z,{flex:1},Se==null?void 0:Se.map((ua,ka)=>Yn.createElement(nt.Z,{key:`${ua}_${ka}`,align:"middle",className:"mb20"},Yn.createElement(se.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:ua,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ka=>{const ge=[...Se],ce=Ka.target.value.trim();ge[ka]=ce,Ke(ge)}}),Yn.createElement(ne.Z,{title:"\u5220\u9664"},Yn.createElement(mn.Z,{className:Ht.deleteIcon,style:{marginLeft:15,visibility:ka>0?"visible":"hidden"},onClick:()=>$e(ka)}))))),Yn.createElement(ea.Z,null,Yn.createElement("div",{className:`${Ht.addBtn}`,onClick:()=>{un()}},"\u65B0\u589E\u7B54\u6848")))},Vr=({value:Se=!0,onChange:Ke})=>Yn.createElement(hn.Z,{checked:!Se,onChange:$e=>{Ke(!$e)}}),Ir="\u2581",uo=({questionTitlePlaceholder:Se,form:Ke,name:$e,scoreByBlank:un,answerKey:ua,titleKey:ka="name",analysisKey:Ka="analysis",isOrdered:ge="is_ordered"})=>{var ce,be;const[ke,Ie]=(0,x.useState)(!1),He=(_t,At)=>{const Un=At.line;let jn=0;for(let Vn=0;Vn{const Qn=_t.getRange(At.from,At.to);let Vn=0;if(At.text.forEach(qn=>{Vn+=qn.split(Ir).length-1}),At.origin!=="setValue"){if(Qn&&Qn.indexOf(Ir)!==-1){const qn=Qn.split(Ir).length-1,Fn=He(_t,At.from);if(console.log(`\u5220\u9664${qn}\u4E2A\uFF0C \u524D\u9762\u6709${Fn}\u4E2A\uFF0C\u65B0\u589E${Vn}\u4E2A`),qn>1){const Ca=Array.from({length:qn},(ba,Za)=>Fn+Za);jn(Ca)}else jn(Fn)}else if(Vn>0){const qn=He(_t,At.from);console.log(`\u65B0\u589E${Vn}\u4E2A\uFF0C\u4E4B\u524D\u6709${qn}\u4E2A`),Un(Vn,qn)}}},xt=()=>{const _t=Ke.getFieldValue(["sub_item_banks",...ua]);Ke.setFieldValue(["sub_item_banks",...ua],_t==null?void 0:_t.map((At,Un)=>Ga(rr({},At),{position:Un+1})))},it=(0,x.useRef)(),zt=(_t,At)=>{for(let Un=0;Un<_t;Un++)it.current({position:null,answer_text:[""]},At+Un);xt()},wt=(0,x.useRef)(),Xt=_t=>{wt.current(_t),xt()},Ln=(be=(ce=Ke.getFieldValue("sub_item_banks"))==null?void 0:ce[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",...un])),Yn.createElement("div",{className:Ht.wrap},Yn.createElement("div",{className:Ht.questionTitleEditorWrap},Yn.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ka,labelCol:{span:24},rules:[{required:!0}]},Yn.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:Se,showNullButton:!0,onCMBeforeChange:(_t,At)=>{pt(_t,At,zt,Xt)}}))),Yn.createElement(Be.default.List,{name:ua,rules:[{validator(_t,At){if((At==null?void 0:At.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Un of At){const{answer_text:jn}=Un||{};if(jn!=null&&jn.some(Qn=>(Qn==null?void 0:Qn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(_t,{add:At,remove:Un},{errors:jn})=>(it.current=At,wt.current=Un,Yn.createElement(Yn.Fragment,null,Yn.createElement(Be.default.Item,{label:Yn.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(_t!=null&&_t.length)&&Yn.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((Qn,Vn)=>{var qn=Qn,{key:Fn,name:Ca}=qn,ba=za(qn,["key","name"]);return Yn.createElement(nt.Z,{className:"mb20",key:Fn,align:"top"},Yn.createElement(ea.Z,{flex:"0 0 auto",className:`${Ht.blankIndex} pt5`},"\u586B\u7A7A\u9879",Vn+1),Yn.createElement(ea.Z,{flex:1},Yn.createElement(nt.Z,{align:"top",justify:"space-between"},Yn.createElement(ea.Z,{flex:1},Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"answer_text"],noStyle:!0}),Yn.createElement(lr,null))),(Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",...un]))&&Yn.createElement(ea.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ht.blankInputNumberWrapper}),Yn.createElement(Ue.Z,{onChange:()=>{var Za,ja;let ia=Ke==null?void 0:Ke.getFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"standard_answers"]),ya=0;for(let Sa in ia)(Za=ia[Sa])!=null&&Za.score&&(ya+=Number((ja=ia[Sa])==null?void 0:ja.score));Ke==null||Ke.setFieldValue(["sub_item_banks",ua==null?void 0:ua[0],"question_score"],ya)},className:Ht.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),Yn.createElement(Be.default.Item,Ga(rr({},ba),{name:[Ca,"position"],noStyle:!0}),Yn.createElement(se.default,{type:"hidden"}))))})))),Yn.createElement(nt.Z,{align:"middle"},Yn.createElement(Be.default.Item,{name:[$e,"downcase"],valuePropName:"checked"},Yn.createElement(hn.Z,null)),Yn.createElement(ea.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Yn.createElement(nt.Z,{align:"middle"},Yn.createElement(Be.default.Item,{name:[$e,"no_space"],valuePropName:"checked"},Yn.createElement(hn.Z,null)),Yn.createElement(ea.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ln==null?void 0:Ln.length)>1&&Yn.createElement(nt.Z,{align:"middle",className:(Ln==null?void 0:Ln.length)>1?"mb30":`${Ht.hide}`},Yn.createElement(Be.default.Item,{name:ge},Yn.createElement(Vr,null)),Yn.createElement(ea.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")),Yn.createElement("div",{onClick:()=>Ie(!0)},Yn.createElement(Be.default.Item,{name:Ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Yn.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ke}))))};var yr=Object.defineProperty,Sr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,br=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,Ta=Object.prototype.propertyIsEnumerable,or=(Se,Ke,$e)=>Ke in Se?yr(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,Lr=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Br.call(Ke,$e)&&or(Se,$e,Ke[$e]);if(br)for(var $e of br(Ke))Ta.call(Ke,$e)&&or(Se,$e,Ke[$e]);return Se},Or=(Se,Ke)=>Sr(Se,Ar(Ke)),Cr=(Se,Ke)=>{var $e={};for(var un in Se)Br.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&br)for(var un of br(Se))Ke.indexOf(un)<0&&Ta.call(Se,un)&&($e[un]=Se[un]);return $e};const $r={\u6B63\u786E:"T",\u9519\u8BEF:"F"},jr=({value:Se,onChange:Ke,form:$e,choiceKey:un})=>{const ua=(Se==null?void 0:Se.is_answer)===1,ka=Se==null?void 0:Se.choice_text,Ka=()=>{var ge;const ce=(ge=$e==null?void 0:$e.getFieldValue(["sub_item_banks",...un]))==null?void 0:ge.map(be=>({choice_text:be.choice_text,is_answer:0}));$e==null||$e.setFieldValue(["sub_item_banks",...un],ce),Ke(Or(Lr({},Se),{is_answer:1}))};return x.createElement(nt.Z,{className:Ht.choiceWrap,align:"middle",wrap:!1},x.createElement(ea.Z,{onClick:Ka,className:`${Ht.choiceIndex} ${Ht.judgementIndex} ${ua?Ht.activeAnswer:""}`},$r[ka]),x.createElement(ea.Z,{flex:1,className:`${Ht.editorWrap} ml15`},x.createElement("div",{className:`${Ht.inputBorder} ${Ht.placeholder} ${ua?Ht.activeJudgementAnswer:""}`},ka)),x.createElement(ea.Z,{flex:"0 0 auto",className:"ml15"},x.createElement("div",{onClick:Ka,className:`${Ht.setAnswerBtn} ${ua?Ht.activeAnswer:""}`},ua?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},Xa=({questionTitlePlaceholder:Se,choiceKey:Ke="choices",form:$e,titleKey:un="name",analysisKey:ua="analysis"})=>{const[ka,Ka]=(0,x.useState)(!1);return x.createElement("div",{className:Ht.wrap},x.createElement("div",{className:Ht.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:un,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},x.createElement(Be.default.List,{name:Ke,rules:[{validator(ge,ce){return ce.some(ke=>(ke==null?void 0:ke.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},ge=>x.createElement("div",{id:"choices"},ge.map(ce=>{var be=ce,{key:ke,name:Ie}=be,He=Cr(be,["key","name"]);return x.createElement(Be.default.Item,Or(Lr({},He),{key:ke,name:Ie,noStyle:!0}),x.createElement(jr,{form:$e,choiceKey:Ke}))})))),x.createElement("div",{onClick:()=>Ka(!0)},x.createElement(Be.default.Item,{name:ua,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ka}))))};var wr=te(12563),pr=Object.defineProperty,Qr=Object.defineProperties,no=Object.getOwnPropertyDescriptors,Bo=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,Dr=(Se,Ke,$e)=>Ke in Se?pr(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,Yr=(Se,Ke)=>{for(var $e in Ke||(Ke={}))To.call(Ke,$e)&&Dr(Se,$e,Ke[$e]);if(Bo)for(var $e of Bo(Ke))ko.call(Ke,$e)&&Dr(Se,$e,Ke[$e]);return Se},Po=(Se,Ke)=>Qr(Se,no(Ke)),$o=(Se,Ke)=>{var $e={};for(var un in Se)To.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&Bo)for(var un of Bo(Se))Ke.indexOf(un)<0&&ko.call(Se,un)&&($e[un]=Se[un]);return $e};const jo=Se=>{var Ke=Se,{value:$e,onChange:un}=Ke,ua=$o(Ke,["value","onChange"]);const ka=Ka=>{un([Ka])};return x.createElement(st.Z,Po(Yr({},ua),{defaultValue:$e==null?void 0:$e[0],onChange:ka}))},ei=Se=>{if(!Se)return!1;if(/^s*$/.test(Se)||Se.trim()===""){Le.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 Se==="|"?(Le.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},$a=({value:Se=[],onClose:Ke})=>x.createElement(wr.default,{closable:!0,onClose:Ke,className:Ht.keywordTag},x.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Se.join(" \u6216 "))),fa=({questionTitlePlaceholder:Se,form:Ke,showKeywords:$e,isMustKeyWords:un=$e,titleKey:ua="name",analysisKey:ka="analysis",answerTexts:Ka="answer_texts",keywords:ge="keywords",useKeywords:ce="use_keywords",indexs:be})=>{var ke,Ie,He,pt;const[xt,it]=(0,x.useState)(!1),[zt,wt]=(0,x.useState)(""),Xt=(Ie=(ke=Ke.getFieldValue("sub_item_banks"))==null?void 0:ke[ce==null?void 0:ce[0]])==null?void 0:Ie[ce==null?void 0:ce[1]],Ln=(pt=(He=Ke.getFieldValue("sub_item_banks"))==null?void 0:He[ce==null?void 0:ce[0]])==null?void 0:pt.question_score;return x.createElement("div",{className:Ht.wrap},x.createElement("div",{className:Ht.questionTitleEditorWrap},x.createElement(Be.default.Item,{label:"\u9898\u5E72",name:ua,labelCol:{span:24},rules:[{required:!0}]},x.createElement(nn,{scrollId:"name",watch:!0,height:140,placeholder:Se}))),x.createElement(Be.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Ka,labelCol:{span:24}},x.createElement(jo,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),$e&&!un&&x.createElement(Be.default.Item,{hidden:!0,name:ce,valuePropName:"checked"},x.createElement(hn.Z,{defaultChecked:!0})),$e&&un&&x.createElement(nt.Z,{align:"middle",className:"mb30"},x.createElement(Be.default.Item,{name:ce,valuePropName:"checked"},x.createElement(hn.Z,null)),x.createElement(ea.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),x.createElement(ea.Z,null,x.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"},x.createElement(Zt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Xt||!un)&&x.createElement(Be.default.List,{name:ge,rules:[{validator(_t,At){return un?At!=null&&At.length?(At==null?void 0:At.reduce((jn,Qn)=>jn+Qn.score,0))>parseFloat(Ln)?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:At,remove:Un})=>x.createElement(x.Fragment,null,x.createElement("div",{className:`${Ht.title} mb10`},un?"\u5173\u952E\u8BCD":x.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),x.createElement(nt.Z,{align:"middle",className:"font14 mb30"},x.createElement(ea.Z,{flex:1},x.createElement(se.default,{value:zt,onChange:jn=>{wt(jn.target.value)},maxLength:50,allowClear:!0,onPressEnter:jn=>{var Qn,Vn,qn,Fn;const Ca=`${(Qn=jn.target)==null?void 0:Qn.value}`,ba=(qn=(Vn=Ca==null?void 0:Ca.split("|"))==null?void 0:Vn.filter(ia=>!!ia))==null?void 0:qn.map(ia=>ia.trim()),Za=Ke.getFieldValue(["sub_item_banks",...ge]),ja=((Fn=Za==null?void 0:Za.map(ia=>ia==null?void 0:ia.keyword))==null?void 0:Fn.flat())||[];for(const ia of ba)if(ja.includes(ia)){Le.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ei(Ca)&&(At({keyword:ba,score:1}),wt(""))},className:Ht.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"})),x.createElement(ea.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),_t.map(jn=>{var Qn=jn,{key:Vn,name:qn}=Qn,Fn=$o(Qn,["key","name"]);return x.createElement(nt.Z,{key:Vn,className:"mb20",style:{marginRight:148}},x.createElement(ea.Z,{flex:1},x.createElement(nt.Z,{align:"middle",justify:"space-between"},x.createElement(Be.default.Item,Po(Yr({},Fn),{name:[qn,"keyword"]}),x.createElement($a,{onClose:()=>Un(qn)})),un&&x.createElement(Be.default.Item,Po(Yr({},Fn),{name:[qn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Ht.blankInputNumberWrapper}),x.createElement(Ue.Z,{className:Ht.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),x.createElement("div",{onClick:()=>it(!0)},x.createElement(Be.default.Item,{name:ka,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},x.createElement(kn,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:xt}))))};var Tn=te(59301),Ba=Object.defineProperty,gr=Object.defineProperties,Ce=Object.getOwnPropertyDescriptors,sn=Object.getOwnPropertySymbols,Cn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,an=(Se,Ke,$e)=>Ke in Se?Ba(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,oa=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Cn.call(Ke,$e)&&an(Se,$e,Ke[$e]);if(sn)for(var $e of sn(Ke))Kn.call(Ke,$e)&&an(Se,$e,Ke[$e]);return Se},ta=(Se,Ke)=>gr(Se,Ce(Ke)),Bn=(Se,Ke)=>{var $e={};for(var un in Se)Cn.call(Se,un)&&Ke.indexOf(un)<0&&($e[un]=Se[un]);if(Se!=null&&sn)for(var un of sn(Se))Ke.indexOf(un)<0&&Kn.call(Se,un)&&($e[un]=Se[un]);return $e};const{Panel:On}=tn.default,Aa=({questionTitlePlaceholder:Se,choiceKey:Ke,form:$e,withScore:un})=>{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,x.useState)(),[ge,ce]=(0,x.useState)([]),be=Ie=>{ce(Ie)},ke=({value:Ie})=>Tn.createElement("div",{style:{width:150,paddingLeft:11}},Ie);return Tn.createElement("div",{className:Ht.wrap},Tn.createElement("div",{className:Ht.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:Se}))),Tn.createElement(Be.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tn.createElement(Be.default.List,{name:"sub_item_banks",rules:[{validator(Ie,He){return He?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Ie,{add:He,remove:pt,move:xt})=>{const it=$e.getFieldValue("sub_item_banks");return Tn.createElement(Tn.Fragment,null,Tn.createElement(tn.default,{className:Ie.length>0?Ht.collapseWrapper:"",bordered:!1,activeKey:ge,onChange:be,expandIcon:({isActive:zt})=>Tn.createElement("i",{className:`iconfont icon-weizhankai ${zt?Ht.open:Ht.close}`,style:{fontSize:14,transition:"all .2s"}})},Ie.map((zt,wt)=>{var Xt=zt,{key:Ln,name:_t}=Xt,At=Bn(Xt,["key","name"]),Un,jn,Qn,Vn,qn,Fn,Ca,ba,Za,ja,ia,ya,Sa,Gn;return Tn.createElement(On,{className:Ht.panel,forceRender:!0,header:Tn.createElement("div",{className:Ht.panelHeader},"\u7B2C",wt+1,"\u5C0F\u9898",Tn.createElement("span",null,"\uFF08",((Un=it==null?void 0:it[_t])==null?void 0:Un.question_type)==0?"\u5355\u9009\u9898":((jn=it==null?void 0:it[_t])==null?void 0:jn.question_type)==1?"\u591A\u9009\u9898":((Qn=it==null?void 0:it[_t])==null?void 0:Qn.question_type)==3?"\u586B\u7A7A\u9898":((Vn=it==null?void 0:it[_t])==null?void 0:Vn.question_type)==2?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:_t,extra:Tn.createElement(nt.Z,{align:"middle",onClick:ga=>ga.stopPropagation()},((qn=it==null?void 0:it[_t])==null?void 0:qn.question_type)==3&&Tn.createElement(Tn.Fragment,null,Tn.createElement(Ve.ZP.Group,{defaultValue:(Fn=it==null?void 0:it[_t])==null?void 0:Fn.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:ga=>{var Ma,er,ar,Wa,mr;if($e==null||$e.setFieldValue(["sub_item_banks",_t,"use_blank_score"],(Ma=ga==null?void 0:ga.target)==null?void 0:Ma.value),(er=ga==null?void 0:ga.target)!=null&&er.value){let hr=0;for(let Wr in(ar=$e==null?void 0:$e.getFieldValue(["sub_item_banks",_t]))==null?void 0:ar.standard_answers)hr+=Number((mr=(Wa=$e==null?void 0:$e.getFieldValue(["sub_item_banks",_t]))==null?void 0:Wa.standard_answers[Wr])==null?void 0:mr.score);$e==null||$e.setFieldValue(["sub_item_banks",_t,"question_score"],hr||"")}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"}))),un&&Tn.createElement(Be.default.Item,ta(oa({},At),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[_t,"question_score"],className:Ht.blankInputNumberWrapper}),((Ca=it==null?void 0:it[_t])==null?void 0:Ca.question_type)==3&&((ba=it==null?void 0:it[_t])!=null&&ba.use_blank_score)?Tn.createElement(ke,null):Tn.createElement(Ue.Z,{className:Ht.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}},wt!==0&&Tn.createElement("div",{onClick:()=>{var ga;xt(wt,wt-1);const Ma=(ga=$e.getFieldValue("sub_item_banks"))==null?void 0:ga.map((er,ar)=>(Ie.map((Wa,mr)=>{ar===mr&&(er.q_position=Number(Wa.name)+1)}),er));$e.setFieldValue("sub_item_banks",Ma)}},Tn.createElement(ne.Z,{title:"\u4E0A\u79FB"},Tn.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),wt{var ga;xt(wt,wt+1);const Ma=(ga=$e.getFieldValue("sub_item_banks"))==null?void 0:ga.map((er,ar)=>(Ie.map((Wa,mr)=>{ar===mr&&(er.q_position=Number(Wa.name)+1)}),er));$e.setFieldValue("sub_item_banks",Ma)},className:wt===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(mn.Z,{className:`${Ht.deleteIcon} ml40`,onClick:()=>pt(_t)})))},Tn.createElement(Be.default.Item,ta(oa({},At),{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(Na,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((ia=it==null?void 0:it[_t])==null?void 0:ia.question_type)==1,form:$e,choiceKey:[_t,"choices"],titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceOptionsPath:["sub_item_banks",_t,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((ya=it==null?void 0:it[_t])==null?void 0:ya.question_type)==3&&Tn.createElement(uo,{form:$e,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}),((Sa=it==null?void 0:it[_t])==null?void 0:Sa.question_type)==2&&Tn.createElement(Xa,{form:$e,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[_t,"name"],analysisKey:[_t,"analysis"],choiceKey:[_t,"choices"]}),((Gn=it==null?void 0:it[_t])==null?void 0:Gn.question_type)==4&&Tn.createElement(fa,{showKeywords:!0,isMustKeyWords:!0,form:$e,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})))})),Ie.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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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}),ce([Ie==null?void 0:Ie.length,...ge])}},"\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"}),ce([Ie==null?void 0:Ie.length,...ge])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(zt=>zt.show).map(zt=>({label:zt.label,key:zt.key}))}},Tn.createElement("div",{className:`${Ht.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var Xn=te(59301),ca=Object.defineProperty,pa=Object.defineProperties,Va=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,_r=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,mo=(Se,Ke,$e)=>Ke in Se?ca(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,vo=(Se,Ke)=>{for(var $e in Ke||(Ke={}))_r.call(Ke,$e)&&mo(Se,$e,Ke[$e]);if(vr)for(var $e of vr(Ke))kr.call(Ke,$e)&&mo(Se,$e,Ke[$e]);return Se},xo=(Se,Ke)=>pa(Se,Va(Ke)),pi=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ri=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();(0,x.useEffect)(()=>{var Ie;be.setFieldsValue(xo(vo({},Se),{name:Se.question_title,sub_item_banks:(Ie=Se.sub_exercise_questions)==null?void 0:Ie.map(He=>{var pt;return xo(vo({},He),{name:He.question_title,choices:(pt=He==null?void 0:He.question_choices)==null?void 0:pt.map(xt=>xo(vo({},xt),{is_answer:xt!=null&&xt.standard_boolean?1:0}))})}),repeat_answer:!Se.repeat_answer}))},[Se]);const ke=Ie=>{if(!(Ie!=null&&Ie.length))return!1;const He=Ie.map(xt=>{var it;return(it=xt.choice_text)==null?void 0:it.trim().replace(/^\s+|\s+$/g,"")});return new Set(He).size!==He.length};return Xn.createElement("div",null,Xn.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,xt,it;if(Ie!=null&&Ie.sub_item_banks){let zt=((pt=be.getFieldValue("sub_item_banks"))==null?void 0:pt.length)>0&&((it=(xt=be.getFieldValue("sub_item_banks"))==null?void 0:xt.map(wt=>{var Xt;if(wt.question_type==3&&(wt!=null&&wt.use_blank_score)){let Ln=0;for(let _t in wt==null?void 0:wt.standard_answers)Ln+=Number((Xt=wt==null?void 0:wt.standard_answers[_t])==null?void 0:Xt.score);return Ln}else return wt.question_score}))==null?void 0:it.filter(wt=>wt));(zt==null?void 0:zt.length)>0&&be.setFieldsValue({question_score:parseFloat(zt==null?void 0:zt.reduce((wt,Xt)=>parseFloat(wt)+parseFloat(Xt))).toFixed(1)})}},onFinish:Ie=>{var He,pt;if((He=Ie.sub_item_banks)==null?void 0:He.some(it=>it.question_type===0||it.question_type===1?ke(it.choices):!1)){Le.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}ua(xo(vo(vo({},Se),Ie),{sub_item_banks:(pt=Ie==null?void 0:Ie.sub_item_banks)==null?void 0:pt.map(it=>(console.log(it),xo(vo({},it),{item_type:it==null?void 0:it.question_type,id:(it==null?void 0:it.question_id)||""})))}))},onFinishFailed:Ie=>pi(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},Xn.createElement("div",{style:{display:"flex",alignItems:"center"}},Xn.createElement("div",{style:{flex:1}},Xn.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Xn.createElement("span",null,"\u7EC4\u5408\u9898")),!Se.isadd&&Xn.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Xn.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Xn.createElement(tt.ZP,{onClick:()=>{var Ie;Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(xo(vo({},Se),{name:Se==null?void 0:Se.question_title,choices:(Ie=Se==null?void 0:Se.question_choices)==null?void 0:Ie.map(He=>xo(vo({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Xn.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Xn.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Xn.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")},Xn.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Xn.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Xn.createElement(Qt.Z,{text:"\uFF08\u7EC4\u5408\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5C0F\u9898\u5206\u503C\u4E4B\u548C\uFF09"}),Xn.createElement(Aa,{form:be,withScore:!0,choiceKey:"",questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7EC4\u5408\u9898\u9898\u5E72\u5185\u5BB9"}),Xn.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},ui=te(90502),vi=te(24334),yo=te(59301),hi=Object.defineProperty,Ni=Object.defineProperties,Ql=Object.getOwnPropertyDescriptors,Vi=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,Qo=(Se,Ke,$e)=>Ke in Se?hi(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,mi=(Se,Ke)=>{for(var $e in Ke||(Ke={}))nl.call(Ke,$e)&&Qo(Se,$e,Ke[$e]);if(Vi)for(var $e of Vi(Ke))Jl.call(Ke,$e)&&Qo(Se,$e,Ke[$e]);return Se},Bi=(Se,Ke)=>Ni(Se,Ql(Ke)),yl=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),Ii=({qitem:Se,TagDiscipline:Ke,exerciseitem:$e,setisedit:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm(),ke=!0;return(0,x.useEffect)(()=>{var Ie,He,pt;be.setFieldsValue(Bi(mi({},Se),{standard_answers:Se.standard_answer,difficulty:Se.difficulty,item_banks_group_id:Se.item_banks_group_id,hack:Bi(mi({},Se),{time_limit:(Se==null?void 0:Se.time_limit)||3}),hack_codes:{language:(Ie=Se==null?void 0:Se.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode(((He=Se==null?void 0:Se.program_attr)==null?void 0:He.code)||"")},hack_sets:mi({},(pt=Se==null?void 0:Se.hack_sets)==null?void 0:pt[0]),repeat_answer:!Se.repeat_answer}))},[Se]),yo.createElement("div",null,yo.createElement(Be.default,{form:be,colon:!1,onValuesChange:(Ie,He)=>{var pt,xt,it,zt;if(Ie!=null&&Ie.standard_answers){let wt=((pt=be.getFieldValue("standard_answers"))==null?void 0:pt.length)>0&&((it=(xt=be.getFieldValue("standard_answers"))==null?void 0:xt.map(Xt=>Xt.score))==null?void 0:it.filter(Xt=>Xt));(wt==null?void 0:wt.length)>0&&be.setFieldsValue({question_score:(wt==null?void 0:wt.length)>0&&((zt=wt.reduce((Xt,Ln)=>Xt+Ln))==null?void 0:zt.toFixed(1))})}},onFinish:Ie=>{var He;ua(Bi(mi(mi({},Se),Ie),{item_type:Se==null?void 0:Se.question_type,standard_answers:(He=Ie.standard_answers)==null?void 0:He.map((pt,xt)=>Bi(mi({},pt),{position:xt+1})),standard_answer:void 0}))},onFinishFailed:Ie=>yl(void 0,null,function*(){var He,pt;Le.ZP.error(Ie.errorFields[0].errors[0]),be.scrollToField((pt=(He=Ie==null?void 0:Ie.errorFields)==null?void 0:He[0])==null?void 0:pt.name,{behavior:"smooth",block:"center"})})},yo.createElement("div",{style:{display:"flex",alignItems:"center"}},yo.createElement("div",{style:{flex:1}},yo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),yo.createElement("span",null,"\u7A0B\u5E8F\u586B\u7A7A\u9898")),!Se.isadd&&yo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},yo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}})," \u5220\u9664"),yo.createElement(tt.ZP,{onClick:()=>{var Ie,He,pt;Se.isadd?(un(!1),ge()):(be.setFieldsValue(Bi(mi({},Se),{standard_answers:Se.standard_answer,difficulty:Se.difficult,item_banks_group_id:Se.item_banks_group_id,hack:mi({},Se),hack_codes:{language:(Ie=Se==null?void 0:Se.program_attr)==null?void 0:Ie.language,code:vi.Base64.decode((He=Se==null?void 0:Se.program_attr)==null?void 0:He.code)},hack_sets:mi({},(pt=Se==null?void 0:Se.hack_sets)==null?void 0:pt[0]),repeat_answer:!Se.repeat_answer})),un(!1))}},"\u53D6\u6D88"),yo.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:yo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},yo.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")},yo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),yo.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},yo.createElement(Qt.Z,{text:"\uFF08\u5C0F\u9898\u5206\u503C\u7B49\u4E8E\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\uFF09"}),yo.createElement(ui.t,{form:be,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7A0B\u5E8F\u586B\u7A7A\u9898\u9898\u5E72\u5185\u5BB9",scoreByBlank:ke,hackidentifier:Se==null?void 0:Se.hack_identifier,answerKey:"standard_answers"}),yo.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:$e,TagDiscipline:Ke,form:be}))))},Fo=te(59301),El=Object.defineProperty,bl=Object.defineProperties,Yl=Object.getOwnPropertyDescriptors,Cl=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,Bl=(Se,Ke,$e)=>Ke in Se?El(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,di=(Se,Ke)=>{for(var $e in Ke||(Ke={}))xl.call(Ke,$e)&&Bl(Se,$e,Ke[$e]);if(Cl)for(var $e of Cl(Ke))oi.call(Ke,$e)&&Bl(Se,$e,Ke[$e]);return Se},Yo=(Se,Ke)=>bl(Se,Yl(Ke)),Qi=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ql=({qitem:Se,setqitem:Ke,setisedit:$e,TagDiscipline:un,exerciseitem:ua,seveeditor:ka,deleteitem:Ka,showTip:ge=!1})=>{var ce;const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{var ke,Ie;be.setFieldsValue(Yo(di({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Se.shixun=(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(He=>Yo(di({},He),{defaultscore:He.challenge_score}))},[]),Fo.createElement("div",null,Fo.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{var Ie,He;let pt=Yo(di({},ke),{question_scores:(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(xt=>xt.challenge_score),item_type:Se==null?void 0:Se.question_type,choices:(He=ke==null?void 0:ke.choices)==null?void 0:He.map(xt=>Yo(di({},xt),{is_answer:xt.standard_boolean}))});ka(di(di({},Se),pt))},onFinishFailed:ke=>Qi(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Fo.createElement("div",{style:{display:"flex",alignItems:"center"}},Fo.createElement("div",{style:{flex:1}},Fo.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Fo.createElement("span",null,"\u5B9E\u8BAD\u9898")),Fo.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{Ka()}},Fo.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Fo.createElement(tt.ZP,{onClick:()=>{var ke,Ie;be.setFieldsValue(Yo(di({},Se),{name:Se==null?void 0:Se.question_title,choices:(ke=Se==null?void 0:Se.question_choices)==null?void 0:ke.map(He=>Yo(di({},He),{standard_boolean:He!=null&&He.standard_boolean?1:0})),repeat_answer:!(Se!=null&&Se.repeat_answer)})),Se.shixun=(Ie=Se==null?void 0:Se.shixun)==null?void 0:Ie.map(He=>Yo(di({},He),{challenge_score:He.defaultscore})),Ke(di({},Se)),$e(!1)}},"\u53D6\u6D88"),Fo.createElement(ne.Z,{overlayClassName:ie.shake,open:ge,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Fo.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Fo.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")},Fo.createElement(tt.ZP,{className:"ml20",type:"primary",onClick:()=>Qi(void 0,null,function*(){var ke,Ie,He;if(((Ie=(ke=Se==null?void 0:Se.shixun)==null?void 0:ke.map)==null?void 0:Ie.call(ke,pt=>pt.challenge_score).filter(pt=>pt).length)<((He=Se==null?void 0:Se.shixun)==null?void 0:He.length)){Le.ZP.info("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A");return}be.submit()})},"\u4FDD\u5B58"))),Fo.createElement(Qt.Z,{text:"\uFF08\u5B9E\u8BAD\u9898\u5206\u503C\u7B49\u4E8E\u5404\u5173\u5361\u5206\u503C\u4E4B\u548C\uFF09"}),Fo.createElement(Be.default.Item,{label:"\u9898\u5E72",name:"question_title",labelCol:{span:24},rules:[{required:!0}]},Fo.createElement(st.Z,{watch:!0,height:140,placeholder:"",defaultValue:Se.question_title}))),Fo.createElement(nt.Z,{style:{marginBottom:15},align:"middle",justify:"space-between"},Fo.createElement("div",null,Fo.createElement("span",{style:{color:"red"}},"*"),"\u5173\u5361\u540D\u79F0"),Fo.createElement("a",{href:`/shixuns/${Se==null?void 0:Se.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Fo.createElement("i",{onClick:()=>{},className:"iconfont icon-shixunkecheng font14 mr5"}),"\u5B9E\u8BAD\u8BE6\u60C5")),(ce=Se==null?void 0:Se.shixun)==null?void 0:ce.map((ke,Ie)=>Fo.createElement("div",{key:ke.challenge_id,style:{display:"flex",marginBottom:20}},Fo.createElement("div",{style:{flex:1}},Ie+1,"\u3001",ke.challenge_name),Fo.createElement("div",null,Fo.createElement("span",{style:{color:"red"}},"*"),"\u5206\u503C",Fo.createElement(Ue.Z,{precision:1,value:ke==null?void 0:ke.challenge_score,onChange:He=>{const pt=JSON.parse(JSON.stringify((Se==null?void 0:Se.shixun)||[]));pt[Ie].challenge_score=He;const xt=pt.every(zt=>!zt.challenge_score),it=parseFloat(pt==null?void 0:pt.map(zt=>zt.challenge_score).reduce((zt,wt)=>parseFloat(zt||0)+parseFloat(wt||0)));be.setFieldsValue({question_score:xt?"":it.toFixed(1)}),Ke(Yo(di({},Se),{shixun:pt}))},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(1710),al=te(59879),ha=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:Se,newExercisePaper:Ke})=>{var $e,un,ua,ka,Ka,ge,ce,be,ke,Ie,He,pt,xt,it,zt,wt,Xt,Ln,_t,At,Un,jn,Qn,Vn,qn;return ha.createElement("div",{className:Ha.warp},((Se==null?void 0:Se.question_type)===0||(Se==null?void 0:Se.question_type)===2)&&ha.createElement("div",{className:Ha.normalWrap},($e=Se==null?void 0:Se.question_choices)==null?void 0:$e.map((Fn,Ca)=>ha.createElement("div",{className:Ha.redio,key:Ca},!(Fn!=null&&Fn.standard_boolean)&&ha.createElement("span",{className:Ha.redioitem}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},(Se==null?void 0:Se.question_type)===0?Li[Ca]:""),ha.createElement(Qe.Z,{className:Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title,value:Fn==null?void 0:Fn.choice_text}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(Se==null?void 0:Se.question_type)===1&&ha.createElement("div",{className:Ha.normalWrap},(un=Se==null?void 0:Se.question_choices)==null?void 0:un.map((Fn,Ca)=>ha.createElement("div",{className:Ha.checkbox,key:Ca},!(Fn!=null&&Fn.standard_boolean)&&ha.createElement("span",{className:Ha.checkboxitem}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[Ca]),ha.createElement(Qe.Z,{className:Fn!=null&&Fn.standard_boolean?Ha.titleyes:Ha.title,value:Fn==null?void 0:Fn.choice_text}),(Fn==null?void 0:Fn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),(Se==null?void 0:Se.question_type)===3&&ha.createElement("div",{className:Ha.completion},(ua=Se==null?void 0:Se.standard_answers)==null?void 0:ua.map((Fn,Ca)=>{var ba;return ha.createElement(nt.Z,{align:"top"},ha.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",Ca+1),ha.createElement("div",{className:Ha.content},(ba=Fn.answer_text)==null?void 0:ba.map((Za,ja)=>ha.createElement("div",{key:ja,className:Ha.items,style:(Fn==null?void 0:Fn.model)===2?{border:0,padding:0}:{}},(Fn==null?void 0:Fn.model)===1?ha.createElement("pre",{className:"mb0"},Za):ha.createElement(al.Z,{value:Za,disabled:!0})))))})),(Se==null?void 0:Se.question_type)===4&&ha.createElement("div",{className:Ha.simple},ha.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ka=Se==null?void 0:Se.answer_texts)!=null&&ka[0]?ha.createElement(Qe.Z,{className:Ha.content,value:(Ka=Se==null?void 0:Se.answer_texts)==null?void 0:Ka[0]}):ha.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ha.createElement("div",{className:"mt20 "},ha.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Se!=null&&Se.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))),(Se==null?void 0:Se.question_type)===5&&ha.createElement("div",{className:Ha.shixunWrapper},(ge=Se==null?void 0:Se.shixun)==null?void 0:ge.map((Fn,Ca)=>{var ba,Za;return ha.createElement("div",null,ha.createElement("div",{key:Ca,className:`${Ha.shixun} mb30`},ha.createElement("span",{className:Ha.score},"\uFF08",Fn==null?void 0:Fn.challenge_score,"\u5206\uFF09"),ha.createElement("span",{className:Ha.qtitle},(Se==null?void 0:Se.index)+"."+(Ca+1),"\u3001",Fn==null?void 0:Fn.challenge_name)),((Za=(ba=Ke==null?void 0:Ke.editData)==null?void 0:ba.exercise)==null?void 0:Za.show_challenge_task_pass)&&ha.createElement(Qe.Z,{className:Ha.content,value:(Fn==null?void 0:Fn.challenge_task_pass)||"\u6682\u65E0\u5173\u5361\u63CF\u8FF0"}))})),(Se==null?void 0:Se.question_type)===6&&ha.createElement("div",{className:Ha.program,style:{border:!((be=(ce=Ke==null?void 0:Ke.editData)==null?void 0:ce.exercise)!=null&&be.show_hack_sets)&&!((Ie=(ke=Ke==null?void 0:Ke.editData)==null?void 0:ke.exercise)!=null&&Ie.show_hack_description)&&"none"}},((pt=(He=Ke==null?void 0:Ke.editData)==null?void 0:He.exercise)==null?void 0:pt.show_hack_sets)&&ha.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},ha.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},ha.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),ha.createElement(yi.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Fn,Ca,ba)=>ba+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Fn,Ca,ba)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,Fn)},ha.createElement("div",{className:Ha.divname},Fn))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Fn,Ca,ba)=>ha.createElement(ne.Z,{title:ha.createElement("pre",null,Fn)}," ",ha.createElement("div",{className:Ha.divname},Fn))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(xt=Se==null?void 0:Se.program_attr)==null?void 0:xt.hack_sets})),((zt=(it=Ke==null?void 0:Ke.editData)==null?void 0:it.exercise)==null?void 0:zt.show_hack_description)&&ha.createElement("div",null,ha.createElement(Qe.Z,{className:Ha.content,value:(Se==null?void 0:Se.description)||"- -"}))),(Se==null?void 0:Se.question_type)===7&&((wt=Se==null?void 0:Se.sub_exercise_questions)==null?void 0:wt.map((Fn,Ca)=>{var ba,Za,ja,ia,ya,Sa;return ha.createElement("div",{key:Ca},ha.createElement("div",{className:Ha.combination},ha.createElement("span",{className:Ha.score},Fn==null?void 0:Fn.question_score,"\u5206"),ha.createElement("span",{className:Ha.qtype},(ba=wl.find(Gn=>Gn.type==Fn.question_type))==null?void 0:ba.name),ha.createElement("span",{className:Ha.qtitle},ha.createElement(Qe.Z,{value:`${Ca+1}\u3001${Fn==null?void 0:Fn.question_title}`}))),(Fn.question_type===0||Fn.question_type===2)&&ha.createElement("div",{className:Ha.warp,style:{padding:"20px 58px 0 58px"}},ha.createElement("div",null,(Za=Fn==null?void 0:Fn.question_choices)==null?void 0:Za.map((Gn,ga)=>ha.createElement("div",{className:Ha.redio,key:ga},!(Gn!=null&&Gn.standard_boolean)&&ha.createElement("span",{className:Ha.redioitem}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("i",{className:`${Ha.redioitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ga]),ha.createElement(Qe.Z,{className:Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title,value:Gn==null?void 0:Gn.choice_text}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848"))))),Fn.question_type===1&&ha.createElement("div",{className:Ha.normalWrap},(ja=Fn==null?void 0:Fn.question_choices)==null?void 0:ja.map((Gn,ga)=>ha.createElement("div",{className:Ha.checkbox,key:ga},!(Gn!=null&&Gn.standard_boolean)&&ha.createElement("span",{className:Ha.checkboxitem}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("i",{className:`${Ha.checkboxitemyes} icon-duigou1`}),ha.createElement("span",{className:`${Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title} ${Ha.indexTag}`},Li[ga]),ha.createElement(Qe.Z,{className:Gn!=null&&Gn.standard_boolean?Ha.titleyes:Ha.title,value:Gn==null?void 0:Gn.choice_text}),(Gn==null?void 0:Gn.standard_boolean)&&ha.createElement("div",{className:Ha.yestag},"\u6B63\u786E\u7B54\u6848")))),Fn.question_type===3&&ha.createElement("div",{className:Ha.completion},(ia=Fn==null?void 0:Fn.standard_answers)==null?void 0:ia.map((Gn,ga)=>{var Ma;return ha.createElement(nt.Z,{align:"top"},ha.createElement("span",{className:Ha.title},"\u586B\u7A7A\u9879",ga+1),ha.createElement("div",{className:Ha.content},(Ma=Gn.answer_text)==null?void 0:Ma.map((er,ar)=>ha.createElement("div",{key:ar,className:Ha.items},ha.createElement("pre",{className:"mb0"},er)))))})),Fn.question_type===4&&ha.createElement("div",{className:Ha.simple},ha.createElement("div",{className:Ha.title},"\u53C2\u8003\u7B54\u6848"),ha.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(ya=Fn==null?void 0:Fn.answer_texts)!=null&&ya[0]?ha.createElement(Qe.Z,{className:Ha.content,value:(Sa=Fn==null?void 0:Fn.answer_texts)==null?void 0:Sa[0]}):ha.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")),ha.createElement("div",{className:"mt20 "},ha.createElement("span",{className:Ha.title,style:{color:"#3061D0"}},"\u5224\u5206\u65B9\u5F0F"),ha.createElement("span",{style:{color:"#000",marginLeft:10,fontSize:"16px"}},Fn!=null&&Fn.use_keywords?"\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206":"\u624B\u52A8\u5224\u5206"))))})),(Se==null?void 0:Se.question_type)===8&&ha.createElement("div",null,ha.createElement(Qe.Z,{disabledFill:!0,className:Ha.content,showProgramFill:!0,value:vi.Base64.decode(((Xt=Se==null?void 0:Se.program_attr)==null?void 0:Xt.code)||"")})),((Se==null?void 0:Se.question_type)<=4||[6,8].includes(Se==null?void 0:Se.question_type))&&ha.createElement("div",{className:Ha.bottom},ha.createElement("div",{className:`${Ha.bottomitem} mb30`},ha.createElement("span",{className:Ha.left},"\u89E3\u6790"),ha.createElement("span",{className:Ha.right},Se!=null&&Se.analysis?ha.createElement(Qe.Z,{value:Se==null?void 0:Se.analysis}):ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),ha.createElement("div",{className:`${Ha.bottomitem} mb30`},ha.createElement("span",{className:Ha.left},"\u96BE\u5EA6"),ha.createElement("span",{className:Ha.right},(Se==null?void 0:Se.difficulty)===1?"\u7B80\u5355":(Se==null?void 0:Se.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),ha.createElement("div",{className:Ha.bottomitem},ha.createElement("span",{className:Ha.left},"\u77E5\u8BC6\u70B9"),ha.createElement(ne.Z,{title:((Ln=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Ln.length)<=0||((_t=Se==null?void 0:Se.tag_discipline_names)==null?void 0:_t.length)==1&&["-"].includes(Se==null?void 0:Se.tag_discipline_names[0])?"\u6682\u672A\u8BBE\u7F6E~":(Un=(At=Se==null?void 0:Se.tag_discipline_names)==null?void 0:At.join("\uFF1B"))==null?void 0:Un.toString()},ha.createElement("span",{className:Ha.right},((jn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:jn.length)<=0?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):((Qn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Qn.length)==1&&["-"].includes(Se==null?void 0:Se.tag_discipline_names[0])?ha.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"):(qn=(Vn=Se==null?void 0:Se.tag_discipline_names)==null?void 0:Vn.join("\uFF1B"))==null?void 0:qn.toString())))))},Al=te(42609),rl=te(35173),Go=te(59301),ts=Object.defineProperty,bi=Object.defineProperties,ol=Object.getOwnPropertyDescriptors,Oi=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Dl=Object.prototype.propertyIsEnumerable,Ji=(Se,Ke,$e)=>Ke in Se?ts(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,Ri=(Se,Ke)=>{for(var $e in Ke||(Ke={}))il.call(Ke,$e)&&Ji(Se,$e,Ke[$e]);if(Oi)for(var $e of Oi(Ke))Dl.call(Ke,$e)&&Ji(Se,$e,Ke[$e]);return Se},ll=(Se,Ke)=>bi(Se,ol(Ke)),Ti=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),ns=({qitem:Se,setisedit:Ke,TagDiscipline:$e,exerciseitem:un,seveeditor:ua,deleteitem:ka,getTagData:Ka,init:ge,showTip:ce=!1})=>{const[be]=Be.default.useForm();return(0,x.useEffect)(()=>{be.setFieldsValue(ll(Ri({},Se),{name:Se.question_title,answer_texts:Se.answer_texts,repeat_answer:!Se.repeat_answer}))},[Se]),Go.createElement("div",null,Go.createElement(Be.default,{form:be,colon:!1,onFinish:ke=>{ua(Ri(Ri({},Se),ke))},onFinishFailed:ke=>Ti(void 0,null,function*(){var Ie,He;Le.ZP.error(ke.errorFields[0].errors[0]),be.scrollToField((He=(Ie=ke==null?void 0:ke.errorFields)==null?void 0:Ie[0])==null?void 0:He.name,{behavior:"smooth",block:"center"})})},Go.createElement("div",{style:{display:"flex",alignItems:"center"}},Go.createElement("div",{style:{flex:1}},Go.createElement("span",{style:{display:"inline-flex",border:"1px solid #9096A3",borderRadius:"50%",width:10,height:10,marginRight:5,background:"#9096A3"}}),Go.createElement("span",null,"\u7B80\u7B54\u9898")),!(Se!=null&&Se.isadd)&&Go.createElement("span",{style:{marginLeft:20,marginRight:20,color:"red",cursor:"pointer"},onClick:()=>{ka()}},Go.createElement("i",{className:"iconfont icon-piliangshanchu3",style:{fontSize:14,marginRight:6}}),"\u5220\u9664"),Go.createElement(tt.ZP,{onClick:()=>{Se.isadd?(Ke(!1),ge()):(be.setFieldsValue(ll(Ri({},Se),{name:Se==null?void 0:Se.question_title,answer_texts:Se.answer_texts||[],repeat_answer:!(Se!=null&&Se.repeat_answer)})),Ke(!1))}},"\u53D6\u6D88"),Go.createElement(ne.Z,{overlayClassName:ie.shake,open:ce,placement:"bottom",color:"rgba(244,156,14,0.19)",title:Go.createElement("div",{style:{color:"#FF841A",fontSize:"14px"}},Go.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")},Go.createElement(tt.ZP,{type:"primary",className:"ml20",onClick:()=>{be.submit()}},"\u4FDD\u5B58"))),Go.createElement("div",{style:{maxHeight:"calc(100vh - 148px)",overflowY:"auto",marginTop:"10px",paddingRight:"5px"}},Go.createElement(Be.default.Item,{className:ie.scoreinput,name:"question_score",label:"\u5206\u503C",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5206\u503C"}]},Go.createElement(Ue.Z,{onBlur:ke=>{ke.target.value==="0"&&Le.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})),Go.createElement(rl.W,{form:be,showKeywords:!0,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"}),Go.createElement(Mt,{getTagData:Ka,qitem:Se,exerciseitem:un,TagDiscipline:$e,form:be}))))},Lo=te(59301),as=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())}),sl=({setScoreShow:Se,ScoreShow:Ke,exerciseitem:$e,getdata:un})=>{var ua,ka,Ka;const[ge,ce]=(0,x.useState)(!1);function be(){return as(this,null,function*(){var ke,Ie,He;let pt=(Ie=(ke=$e==null?void 0:$e.exercise_question_types)==null?void 0:ke.filter(it=>it.Singlequestion))==null?void 0:Ie.map(it=>({question_type:it.question_type,score:it.Singlequestion})),xt=yield(0,pe.ZP)(`/api/examination_banks/${(He=$e==null?void 0:$e.exercise)==null?void 0:He.id}/batch_set_score.json`,{method:"POST",body:{question_arr:pt}});(xt==null?void 0:xt.status)===0&&un()})}return Lo.createElement("div",null,Ke&&Lo.createElement(b.default,{title:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C",open:Ke,width:640,centered:!0,zIndex:10,className:ie.scoremodal,onCancel:()=>{Se(!1)},onOk:()=>{var ke,Ie,He;if($e!=null&&$e.use_blank_score&&((He=(Ie=(ke=$e==null?void 0:$e.exercise_question_types)==null?void 0:ke.filter(pt=>pt.name==="\u586B\u7A7A\u9898"))==null?void 0:Ie[0])!=null&&He.Singlequestion)){ce(!0);return}be(),Se(!1)}},Lo.createElement("div",{className:"c-black"},"\u603B\u5206",Lo.createElement("span",{className:"ml10 c-light-primary"},($e==null?void 0:$e.exercise_question_types.length)>0&&((ua=$e==null?void 0:$e.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=$e==null?void 0:$e.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,Ie)=>{var He;return Lo.createElement("div",{key:Ie,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(Ue.Z,{min:.1,precision:1,max:100,onChange:pt=>{ke.Singlequestion=pt},defaultValue:ke.Singlequestion,style:{width:90,height:38,margin:"0px 10px",display:"flex",alignItems:"center"}}),"\u5206"))})),Lo.createElement(b.default,{title:!1,footer:!1,centered:!0,open:ge,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:()=>{ce(!1)}},"\u53D6\u6D88"),Lo.createElement(tt.ZP,{className:ie.yes,onClick:()=>{be(),ce(!1),Se(!1)}},"\u786E\u8BA4"))))},Fi=te(79285),ki=te(88918),Nl=te(89392),rs=te(86248),os=te(14791),is=te(32570),Da=te(59301),ls=Object.defineProperty,Ds=Object.defineProperties,ss=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,Ns=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,us=(Se,Ke,$e)=>Ke in Se?ls(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,ti=(Se,Ke)=>{for(var $e in Ke||(Ke={}))Ns.call(Ke,$e)&&us(Se,$e,Ke[$e]);if(Il)for(var $e of Il(Ke))Ll.call(Ke,$e)&&us(Se,$e,Ke[$e]);return Se},Ci=(Se,Ke)=>Ds(Se,ss(Ke)),Oo=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,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:Se,dispatch:Ke,itemid:$e,newExercisePaper:un,setisedits:ua})=>{var ka,Ka,ge,ce,be,ke,Ie,He,pt,xt,it,zt;const[wt,Xt]=(0,x.useState)(),[Ln,_t]=(0,x.useState)(!1),[At,Un]=(0,x.useState)(),[jn,Qn]=(0,x.useState)(),Vn=(0,x.useRef)(),qn=(0,x.useRef)(),[Fn,Ca]=(0,x.useState)(),[ba,Za]=(0,x.useState)(!1),[ja,ia]=(0,x.useState)(!1),[ya,Sa]=(0,x.useState)(),[Gn,ga]=(0,x.useState)(!1),[Ma,er]=(0,x.useState)(!1),[ar,Wa]=(0,x.useState)(!1),[mr,hr]=(0,x.useState)(!1),[Wr,Zr]=(0,x.useState)(!1),[ho,qr]=(0,x.useState)(!1),[xr,Do]=(0,x.useState)(!1),[Ur,So]=(0,x.useState)(!1),[ao]=Be.default.useForm(),[Jo,sr]=(0,x.useState)(!1),ur=(0,x.useRef)(null),[_a]=(0,ue.useSearchParams)(),[tr,Gr]=(0,x.useState)(!1),nr=_a.get("isIntelligentAssistant"),[cr,Rr]=(0,x.useState)(!1);(0,x.useEffect)(()=>{ro(),Ke({type:"globalSetting/footerToggle",payload:!1})},[]),(0,x.useEffect)(()=>{ua(ja)},[ja]),(0,x.useEffect)(()=>{At!=null&&At.question_id&&(Qn(At==null?void 0:At.question_score),qn.current=At==null?void 0:At.question_id)},[At]);const Fr=da=>Oo(void 0,null,function*(){let Qa=yield Ke({type:"newExercisePaper/getTagDiscipline",payload:{sub_discipline_id:da}});Sa(Qa)});function ro(){return Oo(this,null,function*(){var da,Qa,Pr,Er,Nr,zr;Za(!0),_t(!0);const io=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Za(!1),_t(!1),Xt(io),(da=io==null?void 0:io.exercise)!=null&&da.sub_discipline_id&&Fr((Qa=io==null?void 0:io.exercise)==null?void 0:Qa.sub_discipline_id),Un(Ci(ti({},(Nr=(Er=(Pr=io==null?void 0:io.exercise_question_types)==null?void 0:Pr[0])==null?void 0:Er.items)==null?void 0:Nr[0]),{index:1})),Ca(Ci(ti({},(zr=io==null?void 0:io.exercise_question_types)==null?void 0:zr[0]),{indexs:1}))})}function Ao(da,Qa=!0){return Oo(this,null,function*(){var Pr,Er,Nr,zr;Qa&&(Za(!0),_t(!0));const io=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Xt(io);let bo=[];(Pr=io==null?void 0:io.exercise_question_types)==null||Pr.map(_o=>{var ni;(ni=_o==null?void 0:_o.items)==null||ni.map((qo,fi)=>{bo.push(Ci(ti({},qo),{index:fi+1}))})});let lo=(Er=bo.filter(_o=>_o.question_id===(da==null?void 0:da.id)))==null?void 0:Er[0],ii=(zr=((Nr=io==null?void 0:io.exercise_question_types)==null?void 0:Nr.map((_o,ni)=>{if((lo==null?void 0:lo.question_type)===(_o==null?void 0:_o.question_type))return Ci(ti({},_o),{indexs:ni+1})})).filter(_o=>_o))==null?void 0:zr[0];Ca(ti({},ii)),Un(ti({},lo)),Qn(lo==null?void 0:lo.question_score),Za(!1),_t(!1)})}function Zo(da){return Oo(this,null,function*(){var Qa;let Pr=Ci(ti({},da),{difficulty:(da==null?void 0:da.difficulty)||2,item_type:da.question_type,sub_discipline_id:((Qa=da==null?void 0:da.sub_discipline_id)==null?void 0:Qa[1])||"",tag_discipline_ids:[],repeat_answer:!da.repeat_answer}),Er={};da.question_type===8&&(Er=Ci(ti({},da),{hack:Ci(ti({},da==null?void 0:da.hack),{difficult:da.difficulty}),hack_codes:Ci(ti({},da.hack_codes),{code:vi.Base64.encode(da.hack_codes.code)}),hack_sets:[ti({},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],Er.tag_discipline_ids=Array.isArray(da.tag_discipline_ids)?da.tag_discipline_ids:[da.tag_discipline_ids]),sessionStorage.projectFill&&(Er.hack_identifier=sessionStorage.projectFill);let Nr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:da.question_type===8?Er:Pr});(Nr==null?void 0:Nr.status)===0&&(ia(!1),Ao(Nr)),(0,me.Vf)("#question-scroll-id")})}function Ro(da){return Oo(this,null,function*(){_t(!0);let Qa=yield(0,pe.ZP)(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:{question_type:da}});_t(!1),(Qa==null?void 0:Qa.status)===0&&ro()})}const ci=(da,Qa,Pr)=>Oo(void 0,null,function*(){var Er;if(da.length===0){Le.ZP.warning("\u8BF7\u4E0A\u4F20\u6587\u4EF6"),Pr();return}const Nr=yield(0,le.Hb)($e,(Er=da[0])==null?void 0:Er.file,Qa);Nr.status===0&&(Le.ZP.success(`\u6210\u529F\u5BFC\u5165${Nr==null?void 0:Nr.success}\u6761`),ga(!1),ro()),Pr()}),No=(da,Qa)=>Oo(void 0,null,function*(){const Pr=yield(0,le.kF)({score:(0,Nl.round)(da,1),question_id:Qa==null?void 0:Qa.question_id});if((Pr==null?void 0:Pr.status)===0){Le.ZP.success("\u4FEE\u6539\u6210\u529F"),Ao({id:qn.current},!1);return}(Pr==null?void 0:Pr.status)===-1&&Qn(Qa==null?void 0:Qa.question_score)});function Io(){return Oo(this,null,function*(){b.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(At.question_id){let da=yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks/${At.question_id}.json`,{method:"delete"});(da==null?void 0:da.status)===0&&(ro(),ia(!1))}else Un({}),ia(!1),ro()}),cancelText:"\u53D6\u6D88"})})}const Ai=da=>Oo(void 0,null,function*(){return yield(0,pe.ZP)(`/api/examination_banks/${$e}/examination_banks_item_banks.json`,{method:"post",body:ti({},da)})}),{overflow:Xr,handleMouseEnter:eo,handleMouseLeave:co}=(0,ki.I)(),Eo=da=>Oo(void 0,null,function*(){var Qa,Pr;_t(!0);let Er=yield(0,pe.ZP)(`/api/examination_banks/${$e}/sort_question_type.json`,{method:"post",body:{question_type:da}});if(_t(!1),(Er==null?void 0:Er.status)===0){const Nr=yield Ke({type:"newExercisePaper/editExercise",payload:{id:$e}});Xt(Nr),(Qa=Nr==null?void 0:Nr.exercise)!=null&&Qa.sub_discipline_id&&Fr((Pr=Nr==null?void 0:Nr.exercise)==null?void 0:Pr.sub_discipline_id)}}),oo=()=>ja?(Rr(!0),!0):!1;(0,x.useEffect)(()=>{if(cr){const da=setTimeout(()=>{Rr(!1)},2e3);return()=>clearTimeout(da)}},[cr]);const Tr=(da,Qa)=>Da.createElement(E.default,null,Da.createElement(E.default.Item,{key:"0",onClick:()=>Ko(da==null?void 0:da.question_type)},Da.createElement("span",{className:ie.moreSpan},"\u65B0\u589E")),Da.createElement(E.default.Item,{key:"1",disabled:Qa===0,onClick:()=>Oo(void 0,null,function*(){if(Qa===0||oo())return;let Pr=(0,me.rz)(wt==null?void 0:wt.exercise_question_types,Qa,Qa-1);yield Eo(Pr.map(Er=>Er.name))})},Da.createElement("span",{className:ie.moreSpan},"\u4E0A\u79FB")),Da.createElement(E.default.Item,{key:"2",disabled:Qa===(wt==null?void 0:wt.exercise_question_types.length)-1,onClick:()=>Oo(void 0,null,function*(){if(Qa===(wt==null?void 0:wt.exercise_question_types.length)-1||oo())return;let Pr=(0,me.rz)(wt==null?void 0:wt.exercise_question_types,Qa,Qa+1);yield Eo(Pr.map(Er=>Er.name))})},Da.createElement("span",{className:ie.moreSpan},"\u4E0B\u79FB")),Da.createElement(E.default.Item,{key:"3",onClick:()=>{var Pr;ao.setFieldsValue({name:da.name,item_type_en:(Pr=$i.find(Er=>Er.id==da.question_type))==null?void 0:Pr.nameType}),sr(!0)}},Da.createElement("span",{className:ie.moreSpan},"\u91CD\u547D\u540D"))),Ko=da=>{var Qa,Pr,Er,Nr,zr,io,bo,lo,po,ii,_o,ni,qo,fi,Xi,Kr,fo,Mo,Co,Wo,Uo,Xo,Si,_i,_l,ml,fl,pl;if(!oo()){if(da===5){hr(!0),Zr(!0);return}if(da===6){if(_a.get("pageType")=="course")_a.get("updateType")=="course"?ue.history.push(`/problems/newcreate?express_id=${(Qa=wt==null?void 0:wt.exercise)==null?void 0:Qa.id}&callback_url=/paperlibrary/add/${(Pr=wt==null?void 0:wt.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=${(Er=wt==null?void 0:wt.exercise)==null?void 0:Er.id}&callback_url=/paperlibrary/add/${(Nr=wt==null?void 0:wt.exercise)==null?void 0:Nr.id}?type=2&pageType=course&courseId=${_a.get("courseId")}&stageId=${_a.get("stageId")}`);else{let Yi=(io=(zr=un==null?void 0:un.editData)==null?void 0:zr.exercise)!=null&&io.set_question_sub_discipline?`/problems/newcreate?express_id=${(bo=wt==null?void 0:wt.exercise)==null?void 0:bo.id}&callback_url=${window.location.pathname+window.location.search}&discipline_id=${(po=(lo=un==null?void 0:un.editData)==null?void 0:lo.exercise)==null?void 0:po.discipline_id}&sub_discipline_id=${(_o=(ii=un==null?void 0:un.editData)==null?void 0:ii.exercise)==null?void 0:_o.sub_discipline_id}`:`/problems/newcreate?express_id=${(ni=wt==null?void 0:wt.exercise)==null?void 0:ni.id}&callback_url=${window.location.pathname+window.location.search}`;ue.history.push(Yi)}return}ia(!0),Un(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=un==null?void 0:un.editData)==null?void 0:qo.exercise)!=null&&fi.set_question_sub_discipline?(Kr=(Xi=un==null?void 0:un.editData)==null?void 0:Xi.exercise)==null?void 0:Kr.discipline_id:0,sub_discipline_id:(Mo=(fo=un==null?void 0:un.editData)==null?void 0:fo.exercise)!=null&&Mo.set_question_sub_discipline?(Wo=(Co=un==null?void 0:un.editData)==null?void 0:Co.exercise)==null?void 0:Wo.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=(Uo=un==null?void 0:un.editData)==null?void 0:Uo.exercise)!=null&&Xo.set_question_sub_discipline?(_i=(Si=un==null?void 0:un.editData)==null?void 0:Si.exercise)==null?void 0:_i.discipline_id:0,sub_discipline_id:(ml=(_l=un==null?void 0:un.editData)==null?void 0:_l.exercise)!=null&&ml.set_question_sub_discipline?(pl=(fl=un==null?void 0:un.editData)==null?void 0:fl.exercise)==null?void 0:pl.sub_discipline_id:0})}},Vo=[{key:1,label:"\u6279\u91CF\u5BFC\u5165",onClick:()=>{oo()||ga(!0)}},{key:2,label:Da.createElement("div",null,Da.createElement("img",{width:26,style:{position:"absolute",top:-2},src:os.$}),Da.createElement("span",null,"\u667A\u80FD\u5BFC\u5165")),onClick:()=>{oo()||er(!0)}}];return Da.createElement("div",null,Da.createElement(Oe.Z,{spinning:ba},Da.createElement("div",{className:ie.bg},Da.createElement("div",{style:{textAlign:"center"}},((ka=wt==null?void 0:wt.exercise_types)==null?void 0:ka.q_counts)===0&&!ja&&Da.createElement(ye.Z,{styles:{marginTop:180},customText:Da.createElement("span",null,"\u8FD8\u6CA1\u6709\u8BD5\u9898\uFF0C\u8BF7\u4ECE",Da.createElement("span",{className:"c-light-primary"},"\u5E95\u90E8\u64CD\u4F5C\u680F"),"\u8FDB\u884C\u6DFB\u52A0~")}),(((Ka=wt==null?void 0:wt.exercise_types)==null?void 0:Ka.q_counts)>0||ja)&&Da.createElement("div",{style:{marginTop:20,borderTop:"1px solid #DCDCDC",display:"block",alignItems:"stretch"}},Da.createElement("div",{style:{backgroundColor:"#F6F7F9",display:"inline-block",position:"sticky",top:0}},Da.createElement("div",{className:ie.left},Da.createElement("div",{className:ie.leftAction},Da.createElement(tt.ZP,{onClick:()=>{oo()||Wa(!0)},className:ie.Button},"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C")),Da.createElement("div",{className:ie.scrollWrapper,style:{overflow:Xr},onMouseEnter:eo,onMouseLeave:co},(ge=wt==null?void 0:wt.exercise_question_types)==null?void 0:ge.map((da,Qa)=>Da.createElement("div",{key:Qa,className:"mb30"},Da.createElement("div",{className:ie.title},Da.createElement("div",{className:ie.titleleft},Da.createElement("span",{style:{color:"#000000",fontWeight:400,fontSize:12}}," ",(0,me.EM)(Qa+1),"\u3001\u3010",da.name,"\u3011"),Da.createElement("span",{style:{color:"#464F66",fontSize:12}},"\uFF08",da.count,"\u5C0F\u9898\uFF0C\u5171",da.score,"\u5206\uFF09")),Da.createElement(z.Z,{dropdownRender:()=>Tr(da,Qa),placement:"bottomLeft"},Da.createElement("div",{className:ie.more_style},Da.createElement("i",{className:"iconfont icon-sandian font12"})))),Da.createElement(xn,{handleEditing:()=>{Rr(!0)},isedit:ja,setBigqitem:Ca,bigitem:Ci(ti({},da),{indexs:Qa+1}),setqitem:Pr=>Oo(void 0,null,function*(){var Er;(Er=Vn.current)==null||Er.blur(),Un(Pr)}),qitem:At,Itemid:$e,getdata:Ao,data:da.items})))))),Da.createElement("div",{id:"question-scroll-id",style:{overflow:ja?"hidden":"auto"},className:ie.right,ref:ur},!(At!=null&&At.isadd)&&Da.createElement("div",{className:ie.title},!ja&&Da.createElement("div",{style:{flex:1}},Da.createElement("span",{style:{color:"#000000",fontWeight:600,fontSize:16}}," ",(Fn==null?void 0:Fn.indexs)&&(0,me.EM)(Fn==null?void 0:Fn.indexs),"\u3001\u3010",Fn==null?void 0:Fn.name,"\u3011"),Da.createElement(ne.Z,{title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0"},Da.createElement("i",{className:`${ie.edit} iconfont icon-bianji_Hover mr5 ml5 font18`,onClick:()=>{var da;ao.setFieldsValue({name:Fn.name,item_type_en:(da=$i.find(Qa=>Qa.id==Fn.question_type))==null?void 0:da.nameType}),sr(!0)}})),Da.createElement("span",{style:{color:"#464F66",fontSize:16,fontWeight:400}},"\uFF08",Fn==null?void 0:Fn.count,"\u5C0F\u9898\uFF0C\u5171",Fn==null?void 0:Fn.score,"\u5206\uFF09"),(At==null?void 0:At.question_type)===6&&Da.createElement("span",{onClick:()=>Gr(2),className:"current c-light-primary font14 bold-400"},"\u6279\u91CF\u8BBE\u7F6E\u7F16\u7A0B\u8BED\u8A00"),(At==null?void 0:At.question_type)===5&&Da.createElement(ot.default,{defaultChecked:(be=(ce=un==null?void 0:un.editData)==null?void 0:ce.exercise)==null?void 0:be.show_challenge_task_pass,onChange:da=>Oo(void 0,null,function*(){let Qa=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_challenge_task_pass:da.target.checked}});(Qa==null?void 0:Qa.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),Ao({id:qn.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u5173\u5361\u63CF\u8FF0"),(At==null?void 0:At.question_type)===6&&Da.createElement("span",{style:{marginLeft:20},onClick:()=>{var da,Qa,Pr,Er;b.default.confirm({title:"\u7F16\u7A0B\u9898\u8BBE\u7F6E",icon:null,centered:!0,closable:!0,footer:null,content:Da.createElement("div",null,(At==null?void 0:At.question_type)===6&&Da.createElement(ot.default,{defaultChecked:(Qa=(da=un==null?void 0:un.editData)==null?void 0:da.exercise)==null?void 0:Qa.show_hack_sets,onChange:Nr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_hack_sets:Nr.target.checked}});(zr==null?void 0:zr.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ao({id:qn.current}))}),style:{marginTop:20,marginBottom:20}},"\u5C55\u793A\u6D4B\u8BD5\u7528\u4F8B"),Da.createElement("br",null),(At==null?void 0:At.question_type)===6&&Da.createElement(ot.default,{defaultChecked:(Er=(Pr=un==null?void 0:un.editData)==null?void 0:Pr.exercise)==null?void 0:Er.show_hack_description,onChange:Nr=>Oo(void 0,null,function*(){let zr=yield(0,pe.ZP)(`/api/examination_banks/${$e}/update_show_columns.json`,{method:"post",body:{show_hack_description:Nr.target.checked}});(zr==null?void 0:zr.status)===0&&(Le.ZP.info("\u8BBE\u7F6E\u6210\u529F"),b.default.destroyAll(),Ao({id:qn.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")),Da.createElement("div",{style:{display:"flex",alignItems:"center"}},(At==null?void 0:At.question_type)===5&&!ja&&Da.createElement("a",{className:ie.shixun,href:`/shixuns/${At==null?void 0:At.shixun_identifier}/challenges?exercise=true`,target:"_blank"},Da.createElement("i",{onClick:()=>{},style:{marginRight:20},className:"iconfont icon-shixunkecheng mr5 "}),"\u5B9E\u8BAD\u8BE6\u60C5"),!ja&&[0,1,2,4,6].includes(At==null?void 0:At.question_type)&&Da.createElement(Be.default.Item,{label:"\u5206\u503C",style:{margin:"0 20px"},required:!0},Da.createElement(Ue.Z,{precision:1,ref:Vn,onChange:da=>Qn(da),value:jn,onBlur:da=>{No(da.target.value,At)}})),!ja&&Da.createElement(ne.Z,{title:"\u5220\u9664"},Da.createElement("i",{onClick:()=>{Io()},style:{marginRight:20},className:`${ie.delete} iconfont icon-shanchu13 mr5 `})),!ja&&Da.createElement(ne.Z,{title:"\u7F16\u8F91\u8BD5\u9898"},Da.createElement("i",{onClick:()=>{var da,Qa,Pr;(At==null?void 0:At.question_type)===6?_a.get("pageType")=="course"?_a.get("updateType")=="course"?ue.history.push(`/problems/newedit/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(da=wt==null?void 0:wt.exercise)==null?void 0:da.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.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/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(Qa=wt==null?void 0:wt.exercise)==null?void 0:Qa.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.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/${At==null?void 0:At.hack_identifier}?type=exercises&express_id=${(Pr=wt==null?void 0:wt.exercise)==null?void 0:Pr.id}&question_id=${At==null?void 0:At.question_id}&score=${At==null?void 0:At.question_score}&exercise=true&callback_url=${window.location.pathname+window.location.search}`):ia(!0)},className:`${ie.edit} iconfont icon-bianji_Hover mr5 `})))),!ja&&Da.createElement("div",null,Da.createElement("div",{className:ie.qcount},Da.createElement("span",{className:ie.score},At==null?void 0:At.question_score,"\u5206"),Da.createElement(Qe.Z,{className:ie.qtitle,value:(At==null?void 0:At.index)+`\u3001${(At==null?void 0:At.question_type)==8?(ke=At==null?void 0:At.program_attr)==null?void 0:ke.description:At==null?void 0:At.question_title}`}),(At==null?void 0:At.high_resources_consume)&&Da.createElement(is.Z,{type:"shixun",style:{marginLeft:10}})),(At==null?void 0:At.question_type)===6&&Da.createElement(je.Z,{onEdit:()=>Gr(1),className:"mt10",dataSource:(At==null?void 0:At.languages)||[]}),Da.createElement(ws,{newExercisePaper:un,TagDiscipline:ya,qitem:At})),ja&&Da.createElement("div",null,(At==null?void 0:At.question_type)<=1&&Da.createElement(ft,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===5&&Da.createElement(ql,{setqitem:Un,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,showTip:cr}),(At==null?void 0:At.question_type)===3&&Da.createElement(na,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===2&&Da.createElement(Wt,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===4&&Da.createElement(ns,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===7&&Da.createElement(ri,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}),(At==null?void 0:At.question_type)===8&&Da.createElement(Ii,{getTagData:Fr,deleteitem:Io,seveeditor:Zo,exerciseitem:wt,TagDiscipline:ya,setisedit:ia,qitem:At,init:ro,showTip:cr}))))))),Da.createElement("div",{className:ie.bottomdiv},Da.createElement("div",{style:{width:1200,margin:"0px auto",display:"flex",justifyContent:"space-between",alignItems:"center"}},Da.createElement("span",{className:ie.spanBtn,onClick:()=>{oo()||(hr(!0),Zr(!1))}},"\u9898\u5E93\u9009\u9898"),Da.createElement(z.Z,{menu:{items:Vo}},Da.createElement("span",{className:ie.spanBtn},"\u5BFC\u5165\u8BD5\u9898")),Da.createElement("span",{className:ie.spanBtn,onClick:()=>Oo(void 0,null,function*(){var da;if(oo())return;const Qa=yield(0,le.JP)($e);Qa.status===0&&window.open(`/classrooms/coursesId/exercise/${Qa.exercise_id}/${(da=Se.userInfo)==null?void 0:da.login}/initate_answer`)})},"\u6A21\u62DF\u8003\u8BD5"),Da.createElement("span",{className:ie.spanBtn,onClick:()=>{if(!oo()){if(nr){window.open(`/paperlibrary/see/${$e}?isIntelligentAssistant=true`);return}window.open(`/paperlibrary/see/${$e}`)}}},"\u8BD5\u5377\u9884\u89C8"),$i==null?void 0:$i.map((da,Qa)=>Da.createElement(tt.ZP,{key:Qa,className:ie.addQuestionBtn,type:"primary",onClick:()=>{Ko(da.id)}},da.name)),Da.createElement(tt.ZP,{className:ie.saveBtn,loading:Ur,onClick:()=>{var da,Qa;const Pr=()=>Oo(void 0,null,function*(){if(_a.get("pageType")=="course")if(_a.get("updateType")=="course")Le.ZP.info("\u7F16\u8F91\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`);else{if(oo())return;(0,rs._C)({id:_a.get("stageId"),subject_id:_a.get("courseId"),homework_type:"exercise",examination_bank_ids:[$e]}).then(zr=>{(zr==null?void 0:zr.status)==0&&(Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.replace(`/paths/${_a.get("courseId")}`))})}else{if(oo())return;if(nr){So(!0);const zr=yield(0,pe.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:$e}});if(So(!1),(zr==null?void 0:zr.status)!==0)return}Le.ZP.info("\u521B\u5EFA\u6210\u529F"),ue.history.push("/paperlibrary?defaultActiveKey=0")}});let Er=(Qa=(da=wt==null?void 0:wt.exercise_question_types)==null?void 0:da.filter(zr=>zr.question_type===5)[0])==null?void 0:Qa.items,Nr=0;Er==null||Er.map(zr=>{zr.high_resources_consume&&(Nr=Nr+1)}),console.log(Nr),Nr>0?Ke({type:"classroomList/setActionTabs",payload:{key:"\u6388\u6743\u63D0\u793A",count:Nr,fn:()=>{Pr()}}}):Pr()}},Da.createElement("i",{className:"iconfont icon-baocun1",style:{fontSize:15,marginRight:5}}),"\u4FDD\u5B58\u8BD5\u5377"))),Da.createElement(sl,{setScoreShow:Wa,ScoreShow:ar,exerciseitem:wt,getdata:ro}),mr&&Da.createElement(Fi.Z,{setScoreShow:hr,isshixuns:Wr,ScoreShow:mr,isloadings:ho,onOk:(da,Qa,Pr,Er)=>Oo(void 0,null,function*(){qr(!0);let zr=yield Ai({exam_id:$e,item_bank_ids:da,shixun_ids:Qa});qr(!1),(zr==null?void 0:zr.status)===0&&b.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:()=>{ro()},onCancel:()=>{hr(!1),ro()}})})}),Da.createElement(Al.Z,{sub_discipline_id:(Ie=wt==null?void 0:wt.exercise)!=null&&Ie.sub_discipline_id?[(He=wt==null?void 0:wt.exercise)==null?void 0:He.discipline_id,(pt=wt==null?void 0:wt.exercise)==null?void 0:pt.sub_discipline_id]:[],visible:Gn,onCancel:()=>ga(!1),onOk:ci}),Da.createElement(b.default,{centered:!0,title:"\u7F16\u8F91\u9898\u578B\u540D\u79F0",open:Jo,width:500,onOk:()=>ao.submit(),onCancel:()=>sr(!1)},Da.createElement(Be.default,{form:ao,initialValues:{},onFinish:da=>Oo(void 0,null,function*(){(yield(0,le.RK)(ti({id:$e},da))).status==0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),ro(),sr(!1))})},Da.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,Qa){var Pr,Er,Nr,zr;const io=(Pr=$i==null?void 0:$i.find(bo=>bo.nameType==ao.getFieldValue("item_type_en")))==null?void 0:Pr.id;return(zr=(Nr=(Er=wt==null?void 0:wt.exercise_question_types)==null?void 0:Er.filter(bo=>bo.question_type!=io))==null?void 0:Nr.map(bo=>bo==null?void 0:bo.name))!=null&&zr.includes(Qa)?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()}}]},Da.createElement(se.default,{size:"large",maxLength:10,showCount:!0})),Da.createElement(Be.default.Item,{hidden:!0,name:"item_type_en"},Da.createElement(se.default,{size:"large"})))),Da.createElement(re.Z,{placement:"bottom",height:"100%",destroyOnClose:!0,closable:!1,className:"body-overflow-hidden",open:Ma},Da.createElement("div",{style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},"\u667A\u80FD\u5BFC\u5165"),Da.createElement(os.Z,{stickyTop:-24,subDisciplineId:(xt=wt==null?void 0:wt.exercise)!=null&&xt.sub_discipline_id?[(it=wt==null?void 0:wt.exercise)==null?void 0:it.discipline_id,(zt=wt==null?void 0:wt.exercise)==null?void 0:zt.sub_discipline_id]:[],onCancel:()=>er(!1),mode:2,gather:{exam_id:$e},onSuccess:()=>{er(!1),ro()}}),Da.createElement("div",{style:{height:70}})),Da.createElement(je.Q,{visible:!!tr,setVisible:Gr,tip:tr===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:tr===1?At==null?void 0:At.languages:[],onOk:da=>Oo(void 0,null,function*(){const Qa={languages:da};tr===1?Qa.hack_id=At==null?void 0:At.hack_id:Qa.exam_id=$e,(yield(0,pe.ZP)("/api/problems/update_languages.json",{method:"post",body:Qa})).status===0&&(Le.ZP.success("\u4FEE\u6539\u6210\u529F"),Ao({id:qn.current}),Gr(!1))})}))};var Ol=(0,ue.connect)(({user:Se,newExercisePaper:Ke,dispatch:$e})=>({user:Se,newExercisePaper:Ke,dispatch:$e}))(ds),Rl=te(85786),Tl=te(15730),Ml=te(86918),fr=te(59301),kl=Object.defineProperty,Vs=Object.defineProperties,cs=Object.getOwnPropertyDescriptors,gs=Object.getOwnPropertySymbols,ms=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,Zi=(Se,Ke,$e)=>Ke in Se?kl(Se,Ke,{enumerable:!0,configurable:!0,writable:!0,value:$e}):Se[Ke]=$e,ul=(Se,Ke)=>{for(var $e in Ke||(Ke={}))ms.call(Ke,$e)&&Zi(Se,$e,Ke[$e]);if(gs)for(var $e of gs(Ke))Zl.call(Ke,$e)&&Zi(Se,$e,Ke[$e]);return Se},xi=(Se,Ke)=>Vs(Se,cs(Ke)),wi=(Se,Ke,$e)=>new Promise((un,ua)=>{var ka=ce=>{try{ge($e.next(ce))}catch(be){ua(be)}},Ka=ce=>{try{ge($e.throw(ce))}catch(be){ua(be)}},ge=ce=>ce.done?un(ce.value):Promise.resolve(ce.value).then(ka,Ka);ge(($e=$e.apply(Se,Ke)).next())});const dl=()=>{const[Se,Ke]=(0,x.useState)([]);return(0,x.useEffect)(()=>{wi(void 0,null,function*(){const un=yield(0,le.d1)({source:"question"});un!=null&&un.disciplines&&Ke((0,y.L)(un==null?void 0:un.disciplines))})},[]),Se},cl=({user:Se,newExercisePaper:Ke,dispatch:$e})=>{var un,ua,ka,Ka,ge,ce,be,ke,Ie,He,pt,xt;const it=(0,ue.useParams)(),zt=dl(),[wt]=Be.default.useForm(),[Xt,Ln]=(0,x.useState)(),[_t,At]=(0,x.useState)(!1),[Un,jn]=(0,x.useState)(1),[Qn,Vn]=(0,x.useState)(""),[qn]=(0,ue.useSearchParams)(),[Fn,Ca]=(0,x.useState)(!1),[ba,Za]=(0,x.useState)(!1),[ja,ia]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{qn.get("type")==="2"&&(Vn(it.id),jn(2))},[qn.get("type")]),(0,x.useEffect)(()=>{if(it.id){if(!zt.length)return;wi(void 0,null,function*(){var Sa,Gn,ga;At(!0);const Ma=yield(0,le.Di)({id:it.id});At(!1);const er=(Sa=Ma==null?void 0:Ma.exercise)==null?void 0:Sa.sub_discipline_id;let ar=[];for(const hr of zt)for(const Wr of hr.children)Wr.value===er&&(ar=[hr.value,Wr.value]);const Wa=(Gn=Ma==null?void 0:Ma.exercise)==null?void 0:Gn.time,mr=xi(ul({},Ma.exercise),{sub_discipline_id:ar,time:Wa===-1?null:Wa});Ln(mr),ia((ga=Ma.exercise)==null?void 0:ga.set_question_sub_discipline)})}else Ln({time:60,difficulty:2});$e({type:"globalSetting/footerToggle",payload:!1})},[zt]),fr.createElement("div",{style:{background:"#ffffff",marginTop:-8,padding:8,minHeight:"100vh",paddingBottom:64}},fr.createElement("section",{className:"edu-container"},fr.createElement("section",{className:"animated fadeIn"},fr.createElement("aside",{style:{marginTop:15}},fr.createElement(Me.Z,{separator:">"},fr.createElement(Me.Z.Item,null,fr.createElement(ue.Link,{to:"/paperlibrary"},"\u8BD5\u5377\u5E93")),fr.createElement(Me.Z.Item,null,"\u4EBA\u5DE5\u7EC4\u5377")))),fr.createElement("div",{className:"bg-white"},fr.createElement("div",{style:{display:"flex",justifyContent:"center",paddingTop:20,alignItems:"center"}},fr.createElement("div",{onClick:()=>{if(Fn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898\u3002");return}jn(1)},className:Un===1?Je.Z.selectdiv:Je.Z.divitem},fr.createElement(Rl.Z,{number:1,active:Un===1,className:"mr10"}),fr.createElement("span",null,"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F")),fr.createElement("div",{style:{width:188,border:"1px dotted #9096A3",margin:"0px 30px",height:1}}),fr.createElement("div",{onClick:()=>{if(!it.id&&!Qn){Le.ZP.info("\u8BF7\u5148\u4FDD\u5B58\u57FA\u7840\u4FE1\u606F\u518D\u65B0\u5EFA\u8BD5\u9898");return}jn(2),!Qn&&Vn(it.id)},className:Un!==1?Je.Z.selectdiv:Je.Z.divitem},fr.createElement(Rl.Z,{number:2,active:Un!==1,className:"mr10"}),fr.createElement("span",null,"\u7F16\u8F91\u8BD5\u9898"))),Un===2&&fr.createElement("div",{className:"tc"},fr.createElement(Tl.Z,{defaultValue:(ua=(un=Ke==null?void 0:Ke.editData)==null?void 0:un.exercise)==null?void 0:ua.exercise_name,onFinish:ya=>wi(void 0,null,function*(){var Sa,Gn,ga,Ma,er,ar,Wa,mr,hr,Wr,Zr,ho;return ya.trim()===((Gn=(Sa=Ke==null?void 0:Ke.editData)==null?void 0:Sa.exercise)==null?void 0:Gn.exercise_name)?!0:(yield(0,le.w0)({id:`${(Ma=(ga=Ke==null?void 0:Ke.editData)==null?void 0:ga.exercise)==null?void 0:Ma.id}`,sub_discipline_id:(ar=(er=Ke==null?void 0:Ke.editData)==null?void 0:er.exercise)==null?void 0:ar.sub_discipline_id,time:`${(mr=(Wa=Ke==null?void 0:Ke.editData)==null?void 0:Wa.exercise)==null?void 0:mr.time}`,exercise_name:ya,exercise_description:(Wr=(hr=Ke==null?void 0:Ke.editData)==null?void 0:hr.exercise)==null?void 0:Wr.exercise_description,difficulty:(ho=(Zr=Ke==null?void 0:Ke.editData)==null?void 0:Zr.exercise)==null?void 0:ho.difficulty})).status===0?(wt.setFieldValue("exercise_name",ya),$e({type:"newExercisePaper/modifyTitle",payload:ya}),!0):!1})}),fr.createElement("div",{style:{fontSize:14}},fr.createElement("span",{style:{color:"#5F6368"}},"\u7B54\u9898\u65F6\u957F",fr.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)),fr.createElement("span",{style:{margin:"0px 30px",color:"#5F6368"}},"\u96BE\u5EA6",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},((ce=(ge=Ke==null?void 0:Ke.editData)==null?void 0:ge.exercise)==null?void 0:ce.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")),fr.createElement("span",{style:{marginRight:30,color:"#5F6368"}},"\u8BD5\u9898\u603B\u6570",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},((He=(Ie=Ke==null?void 0:Ke.editData)==null?void 0:Ie.exercise_types)==null?void 0:He.q_counts)||0)),fr.createElement("span",{style:{color:"#5F6368"}},"\u603B\u5206",fr.createElement("span",{style:{color:"#000000",marginLeft:8}},(xt=(pt=Ke==null?void 0:Ke.editData)==null?void 0:pt.exercise_types)==null?void 0:xt.q_scores))))),Un===1&&fr.createElement(Oe.Z,{spinning:_t,size:"middle",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},fr.createElement("section",{className:[Je.Z.bg,"mt20"].join(" "),style:{padding:"30px 120px 300px 120px"}},Xt&&fr.createElement(Be.default,{layout:"horizontal",form:wt,colon:!1,labelCol:{span:4},wrapperCol:{span:20},className:Je.Z.formWrap,initialValues:Xt},fr.createElement(Be.default.Item,{name:"exercise_name",label:"\u8BD5\u5377\u540D\u79F0",className:Je.Z.baseLineHeight,rules:[{required:!0,validator:(ya,Sa)=>{var Gn;return((Gn=Sa==null?void 0:Sa.replaceAll(" ",""))==null?void 0:Gn.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},fr.createElement(se.default,{maxLength:60,className:Je.Z.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),fr.createElement(Be.default.Item,{label:"\u65B9\u5411&\u8BFE\u7A0B",name:"sub_discipline_id",className:Je.Z.baseLineHeight},fr.createElement(ct.Z,{className:Je.Z.baseFormItem,allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:zt,popupClassName:Je.Z.cascaderPopup,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),fr.createElement("div",{className:Je.Z.concat},fr.createElement("div",null,fr.createElement(ot.default,{checked:ja,onChange:ya=>{ia(ya.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")),fr.createElement("div",null,"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",fr.createElement("a",{onClick:()=>Za(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"))),fr.createElement(Be.default.Item,{label:"\u96BE\u5EA6",name:"difficulty",className:Je.Z.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},fr.createElement(Ve.ZP.Group,{className:Je.Z.radiogroup},fr.createElement(Ve.ZP.Button,{className:Je.Z.easy,value:1},"\u7B80\u5355"),fr.createElement(Ve.ZP.Button,{className:Je.Z.medium,value:2},"\u9002\u4E2D"),fr.createElement(Ve.ZP.Button,{className:Je.Z.hard,value:3},"\u56F0\u96BE"))),fr.createElement(Be.default.Item,{label:"\u7B54\u9898\u65F6\u957F",className:Je.Z.baseLineHeight},fr.createElement("div",{style:{display:"flex",width:"100%"}},fr.createElement(Be.default.Item,{name:"time",noStyle:!0},fr.createElement(Ue.Z,{min:1,className:Je.Z.baseFormItem,max:9999,style:{width:220},maxLength:60,placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),fr.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},"\u5206\u949F"))),fr.createElement(Be.default.Item,{label:"\u8BD5\u5377\u987B\u77E5",name:"exercise_description"},fr.createElement(se.default.TextArea,{rows:6,maxLength:65535,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})))),fr.createElement("div",{className:Je.Z.bottmodiv},fr.createElement(tt.ZP,{className:`${Je.Z.cancelBtn} mr5`,type:"primary",onClick:()=>{qn.get("pageType")=="course"?ue.history.push(`/paths/${qn.get("courseId")}`):ue.history.push("/paperlibrary")}},"\u53D6\u6D88"),fr.createElement(a.Z,{className:`${Je.Z.confirmBtn} ml15`,type:"primary",onClick:()=>wi(void 0,null,function*(){var ya,Sa,Gn,ga;yield wt.validateFields();const Ma=wt.getFieldsValue();if(Ma.sub_discipline_id=((ya=Ma.sub_discipline_id)==null?void 0:ya.length)>0?Ma.sub_discipline_id[1]:"",Ma.set_question_sub_discipline=ja,it.id){(yield(0,le.w0)(ul({id:it.id},Ma))).status===0&&(Vn(it.id),jn(2),ue.history.replace(`/paperlibrary/add/${it.id}?type=2`));return}const er=yield(0,le.un)(Ma);er.status===0&&(Vn((Sa=er==null?void 0:er.data)==null?void 0:Sa.exam_id),jn(2),qn.get("pageType")=="course"?ue.history.replace(`/paperlibrary/add/${(Gn=er==null?void 0:er.data)==null?void 0:Gn.exam_id}?type=2&pageType=course&courseId=${qn.get("courseId")}&stageId=${qn.get("stageId")}`):ue.history.replace(`/paperlibrary/add/${(ga=er==null?void 0:er.data)==null?void 0:ga.exam_id}?type=2`))})},"\u4E0B\u4E00\u6B65"))),Un===2&&fr.createElement("div",null,fr.createElement(Ol,{setisedits:Ca,itemid:Qn}))),fr.createElement(Ml.Z,{open:ba,onCancel:()=>{Za(!1)}}))};var gl=(0,ue.connect)(({user:Se,newExercisePaper:Ke,dispatch:$e})=>({user:Se,newExercisePaper:Ke,dispatch:$e}))(cl)},79285:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return nt}});var x=te(59301),ue=te(78241),Be=te(8591),Me=te(43418),Le=te(99313),Oe=te(57809),se=te(19842),ct=te(98228),ot=te(92832),Ve=te(1710),Ue=te(6848),tt=te(58421),Je=te(3113),le=te(99064),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(26422),b={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(85149),z=te(955),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 me=({qitem:et})=>{var qt,hn,Zt,dn,We,It,Gt,Mt,ht,rt;return x.createElement("div",{className:b.warp},x.createElement("div",{className:b.mainPart},x.createElement("div",{className:b.qcount},(et==null?void 0:et.question_type)===8&&x.createElement(E.Z,{className:b.content,showProgramFill:!0,value:(qt=et==null?void 0:et.program_attr)==null?void 0:qt.description}),(et==null?void 0:et.question_type)!=8&&x.createElement(E.Z,{className:b.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)&&x.createElement("div",null,(hn=et==null?void 0:et.choices)==null?void 0:hn.map((ze,ve)=>x.createElement("div",{className:b.redio},!(ze!=null&&ze.is_answer)&&x.createElement("span",{className:b.redioitem}),(ze==null?void 0:ze.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:ze!=null&&ze.is_answer?b.titleyes:b.title,value:re[ve]+(ze==null?void 0:ze.choice_text)}),(ze==null?void 0:ze.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===1&&x.createElement("div",null,(Zt=et==null?void 0:et.choices)==null?void 0:Zt.map((ze,ve)=>x.createElement("div",{className:b.checkbox},!(ze!=null&&ze.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(ze==null?void 0:ze.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:ze!=null&&ze.is_answer?b.titleyes:b.title,value:re[ve]+(ze==null?void 0:ze.choice_text)}),(ze==null?void 0:ze.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(et==null?void 0:et.question_type)===3&&x.createElement("div",{className:b.completion},(dn=et==null?void 0:et.standard_answer)==null?void 0:dn.map((ze,ve)=>{var fe;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",ve+1),x.createElement("div",{className:b.content},(fe=ze==null?void 0:ze.answer_text)==null?void 0:fe.map((qe,Rt)=>x.createElement("div",{className:b.items},qe))))})),(et==null?void 0:et.question_type)===4&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(We=et==null?void 0:et.answer_texts)!=null&&We[0]?x.createElement(E.Z,{className:b.content,value:(It=et==null?void 0:et.answer_texts)==null?void 0:It[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),(et==null?void 0:et.question_type)===5&&((Gt=et==null?void 0:et.challenge_names)==null?void 0:Gt.map((ze,ve)=>x.createElement("div",{className:b.shixun},x.createElement("span",{className:b.qtitle},x.createElement("span",{style:{marginRight:10}},"\u7B2C",(0,z.EM)(ve+1),"\u9898"),ze)))),(et==null?void 0:et.question_type)===6&&x.createElement("div",{className:b.program},x.createElement(E.Z,{className:b.content,value:((Mt=et==null?void 0:et.program_attr)==null?void 0:Mt.description)||"- -"})),(et==null?void 0:et.question_type)===7&&((ht=et==null?void 0:et.sub_item_banks)==null?void 0:ht.map((ze,ve)=>{var fe,qe,Rt,Fe,xe;return x.createElement("div",null,x.createElement("div",{className:b.combination},x.createElement("span",{className:b.qtitle},ze==null?void 0:ze.name)),x.createElement("div",{className:b.warp,style:{padding:"0px",paddingTop:20}},x.createElement("div",null,((ze==null?void 0:ze.item_type)=="SINGLE"||(ze==null?void 0:ze.item_type)=="JUDGMENT")&&((fe=ze==null?void 0:ze.choices)==null?void 0:fe.map((at,Xe)=>x.createElement("div",{className:b.redio},!(at!=null&&at.is_answer)&&x.createElement("span",{className:b.redioitem}),(at==null?void 0:at.is_answer)&&x.createElement("i",{className:`${b.redioitemyes} icon-duigou1`}),x.createElement(E.Z,{className:at!=null&&at.is_answer?b.titleyes:b.title,value:re[Xe]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.item_type)=="MULTIPLE"&&((qe=ze==null?void 0:ze.choices)==null?void 0:qe.map((at,Xe)=>x.createElement("div",{className:b.checkbox},!(at!=null&&at.is_answer)&&x.createElement("span",{className:b.checkboxitem}),(at==null?void 0:at.is_answer)&&x.createElement("i",{className:`${b.checkboxitemyes} icon-duigou1`}),x.createElement(E.Z,{className:at!=null&&at.is_answer?b.titleyes:b.title,value:re[Xe]+(at==null?void 0:at.choice_text)}),(at==null?void 0:at.is_answer)&&x.createElement("div",{className:b.yestag},"\u6B63\u786E\u7B54\u6848")))),(ze==null?void 0:ze.item_type)=="COMPLETION"&&x.createElement("div",{className:b.completion},(Rt=ze==null?void 0:ze.standard_answer)==null?void 0:Rt.map((at,Xe)=>{var Ae;return x.createElement("div",{style:{display:"flex"}},x.createElement("span",{className:b.title},"\u586B\u7A7A\u9879",Xe+1),x.createElement("div",{className:b.content},(Ae=at==null?void 0:at.answer_text)==null?void 0:Ae.map((ft,vn)=>x.createElement("div",{className:b.items},ft))))})),(ze==null?void 0:ze.item_type)=="SUBJECTIVE"&&x.createElement("div",{className:b.simple},x.createElement("div",{className:b.title},"\u53C2\u8003\u7B54\u6848"),x.createElement("div",{className:"mt10",style:{fontSize:"16px"}},(Fe=ze==null?void 0:ze.answer_texts)!=null&&Fe[0]?x.createElement(E.Z,{className:b.content,value:(xe=ze==null?void 0:ze.answer_texts)==null?void 0:xe[0]}):x.createElement("div",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))))))})),(et==null?void 0:et.question_type)===8&&x.createElement("div",null,x.createElement(E.Z,{disabledFill:!0,className:b.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&&x.createElement("div",{style:{background:"#F6F7F9",padding:"0px 20px",height:46,lineHeight:"46px",marginTop:40,display:"flex",alignItems:"center"}},x.createElement("div",{style:{flex:1,alignItems:"center",display:"flex"}},x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u521B\u5EFA\u8005"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u6240\u5C5E\u5355\u4F4D"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.author_school_name)||"- -")),x.createElement("div",{style:{marginRight:30}},x.createElement("span",{style:{marginRight:10}},"\u5B66\u4E60\u4EBA\u6570"),x.createElement("span",{style:{color:"#000000"}},(et==null?void 0:et.study_count)||"0"))),x.createElement("a",{className:b.shixunbutton,href:`/shixuns/${et==null?void 0:et.identifier}/challenges?exercise=true`,target:"_blank"},x.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))&&x.createElement("div",{className:b.bottom},x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u89E3\u6790"),x.createElement("span",{className:b.right},et!=null&&et.analysis?x.createElement(E.Z,{value:et==null?void 0:et.analysis}):x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~"))),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u96BE\u5EA6"),x.createElement("span",{className:b.right},(et==null?void 0:et.difficulty)===1?"\u7B80\u5355":(et==null?void 0:et.difficulty)===2?"\u9002\u4E2D":"\u56F0\u96BE")),x.createElement("div",{className:b.bottomitem},x.createElement("span",{className:b.left},"\u77E5\u8BC6\u70B9"),x.createElement("span",{className:b.right},et!=null&&et.tag_discipline?et==null?void 0:et.tag_discipline:x.createElement("span",{style:{color:"#C1C1C1"}},"\u6682\u672A\u8BBE\u7F6E~")))))},pe=te(86087),ye=te(84287),je=te(89070),De=te(61485),Qe=te(32570),he=te(16149),Te=te(59301),Ye=Object.defineProperty,bt=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,ut=Object.getOwnPropertySymbols,Bt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,gt=(et,qt,hn)=>qt in et?Ye(et,qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):et[qt]=hn,Yt=(et,qt)=>{for(var hn in qt||(qt={}))Bt.call(qt,hn)&>(et,hn,qt[hn]);if(ut)for(var hn of ut(qt))yt.call(qt,hn)&>(et,hn,qt[hn]);return et},vt=(et,qt)=>bt(et,Ne(qt)),rn=(et,qt,hn)=>new Promise((Zt,dn)=>{var We=Mt=>{try{Gt(hn.next(Mt))}catch(ht){dn(ht)}},It=Mt=>{try{Gt(hn.throw(Mt))}catch(ht){dn(ht)}},Gt=Mt=>Mt.done?Zt(Mt.value):Promise.resolve(Mt.value).then(We,It);Gt((hn=hn.apply(et,qt)).next())});const xn=({setScoreShow:et,ScoreShow:qt,onOk:hn,isshixuns:Zt,isloadings:dn,dispatch:We,isIntelligentAssistant:It=!1,newExercisePaper:Gt,shixunsDetail:Mt})=>{var ht,rt,ze;let[ve,fe]=(0,x.useState)({type:"0",page:1,updated_at:"",quotes:"",item_type:null,per_page:10,courseid:"",tag_discipline_id:null,difficulty:null,keyword:null,bigmodel:It,group_id:[]}),[qe,Rt]=(0,x.useState)([]),[Fe,xe]=(0,x.useState)([]),[at,Xe]=(0,x.useState)([]),[Ae,ft]=(0,x.useState)([]);const[vn,Qt]=(0,x.useState)(!1),[jt]=ue.default.useForm(),[on,cn]=(0,x.useState)(),[_e,Ft]=(0,x.useState)(!1);let[Lt,St]=(0,x.useState)(Zt);const[Dt,pn]=(0,x.useState)([]),[Pn,Sn]=(0,x.useState)(0),[Rn,na]=(0,x.useState)(!0),[aa,zn]=(0,x.useState)([]),[Pa,Ea]=(0,x.useState)([]),_n=[{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[wa,en]=(0,x.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 En=(0,x.useRef)(new Set),Mn=(0,x.useRef)(new Set),$n=[{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}],Nt=[{name:"\u672A\u53D1\u5E03",value:"unpublish"},{name:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{name:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],[kt,Wt]=(0,x.useState)(!1),tn=()=>{jt.resetFields(),Lt=!1,St(!1),Wt(!1),jt.submit()};(0,x.useEffect)(()=>{var lt,$t,Jn,nn,kn,ea,Ra,va,Ge,gn;(((Jn=($t=(lt=Gt==null?void 0:Gt.editData)==null?void 0:lt.exercise)==null?void 0:$t.exist_item_bank_ids)==null?void 0:Jn.length)>0||((ea=(kn=(nn=Gt==null?void 0:Gt.editData)==null?void 0:nn.exercise)==null?void 0:kn.exist_item_bank_shixun_ids)==null?void 0:ea.length)>0)&&Ea([...(va=(Ra=Gt==null?void 0:Gt.editData)==null?void 0:Ra.exercise)==null?void 0:va.exist_item_bank_ids,...(gn=(Ge=Gt==null?void 0:Gt.editData)==null?void 0:Ge.exercise)==null?void 0:gn.exist_item_bank_shixun_ids])},[(rt=(ht=Gt==null?void 0:Gt.editData)==null?void 0:ht.exercise)==null?void 0:rt.exist_item_bank_ids]),(0,x.useEffect)(()=>{qt&&(jt.setFieldsValue({item_type:"",courseid:"",tag_discipline_id:null,difficulty:null,keyword:null}),Rn&&Lt&&(jt.setFieldsValue({item_type:"SHIXUN"}),ve.item_type="SHIXUN",fe(Yt({},ve)),na(!1)),Ht(ve),mn(),st({group_id:0,page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",type:"0"}))},[qt]),(0,x.useEffect)(()=>{Pn>0&&setTimeout(()=>{Sn(0)},2e3)},[Pn]);function Ht(lt){return rn(this,null,function*(){var $t,Jn,nn;if(Qt(!0),fe(Yt({},lt)),(at==null?void 0:at.length)<=0&<.type==="5"){ft([]),Qt(!1);return}console.log("----",at,Dt);let kn=lt.type==="5"?at==null?void 0:at.filter(va=>!Dt.includes(va)):null,ea=lt.type==="5"?at==null?void 0:at.filter(va=>Dt.includes(va)):null;lt.group_id=(($t=lt.group_id)==null?void 0:$t.map(va=>va==null?void 0:va.value))||null;let Ra=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:vt(Yt({},lt),{discipline_id:((Jn=lt==null?void 0:lt.courseid)==null?void 0:Jn[0])||null,sub_discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[1])||null,ids:kn,shixun_ids:ea,include_shixuns:!It,keyword:lt.keyword?encodeURIComponent(lt.keyword):lt.keyword,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});ft(Ra),Qt(!1)})}function mn(){return rn(this,null,function*(){let lt=yield(0,le.ZP)("/api/disciplines.json",{method:"get",params:{source:"question",group_id:0,group_type:ve.type==="5"?null:ve.type,clazz:"ItemBanksGroup"}});Rt((0,a.L)(lt==null?void 0:lt.disciplines))})}function st(lt){return rn(this,null,function*(){var $t;let Jn=yield(0,le.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=Jn==null?void 0:Jn.data)==null?void 0:$t.map(kn=>({title:kn.name,id:kn.id,pid:kn.id,value:kn.id,key:kn.id,isLeaf:!kn.have_child}))}];zn(nn)})}function Pt(lt){return rn(this,null,function*(){var $t,Jn,nn,kn;Qt(!0);let ea=($t=lt.list)==null?void 0:$t.filter(Ge=>!Dt.includes(Ge)),Ra=(Jn=lt.list)==null?void 0:Jn.filter(Ge=>Dt.includes(Ge));if(ea.length===0&&Ra.length===0){Qt(!1),ft([]);return}let va=yield(0,le.ZP)("/api/item_banks.json",{method:"get",params:vt(Yt({},lt),{discipline_id:((nn=lt==null?void 0:lt.courseid)==null?void 0:nn[0])||null,sub_discipline_id:((kn=lt==null?void 0:lt.courseid)==null?void 0:kn[1])||null,ids:ea,shixun_ids:Ra,type:lt.type==="5"?null:lt.type,clazz:lt.type==="3"?"ItemBanksGroup":null})});Qt(!1),ft(va)})}const dt=lt=>rn(void 0,null,function*(){const $t=yield We({type:"shixunsDetail/release",payload:{id:lt}});let Jn=$t==null?void 0:$t.tag_position,nn=($t==null?void 0:$t.evaluation_set_position)||[],kn=$t.status;return kn===0?(Be.ZP.success("\u53D1\u5E03\u6210\u529F"),Ht(ve),!0):(kn===2?Be.ZP.error(`\u7B2C${nn.join(",")}\u5173\u5C1A\u672A\u5B8C\u6210\uFF0C\u65E0\u6CD5\u7533\u8BF7\u53D1\u5E03`):kn===3?Be.ZP.error(`\u6BCF\u4E00\u4E2A\u5173\u5361\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u6280\u80FD\u6807\u7B7E, \u7B2C${Jn.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)}),ln=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":"",Nn=(lt,$t,Jn)=>lt.map(nn=>nn.key===$t?Yt(Yt({},nn),Jn):nn.children?vt(Yt({},nn),{children:Nn(nn.children,$t,Jn)}):nn),bn=lt=>rn(void 0,null,function*(){const{key:$t}=lt;let Jn=ve.type;const nn=yield(0,he.ex)({page:1,per_page:20,sort_by:"updated_at",sort_direction:"desc",group_id:Math.abs($t),type:Jn}),{data:kn,total_count:ea}=nn||{};ea>0&&zn(Ra=>Nn(Ra,$t,{children:kn.map(va=>({title:va.name,id:va.id,pid:va.id,value:va.id,key:va.id,isLeaf:!va.have_child}))}))});function la(lt){console.log("----",ve),lt==="1"&&(wa.gg=Yt({},ve)),lt==="2"&&(wa.scj=Yt({},ve)),lt==="3"&&(wa.ttgx=Yt({},ve)),lt==="0"&&(wa.wcjd=Yt({},ve)),lt==="5"&&(wa.yx=Yt({},ve)),en(Yt({},wa))}function Hn(){ve.type==="1"&&(ve=wa.gg),ve.type==="2"&&(ve=wa.scj),ve.type==="3"&&(ve=wa.ttgx),ve.type==="0"&&(ve=wa.wcjd),ve.type==="5"&&(ve=wa.yx),(ve==null?void 0:ve.item_type)==="SHIXUN"?(Lt=!0,St(!0)):(Lt=!1,St(!1)),jt.setFieldsValue(Yt({},ve)),fe(Yt({},ve)),Ht(Yt({},ve))}return Te.createElement("div",null,Te.createElement(Me.default,{title:!1,footer:!1,open:qt,width:1200,centered:!0,className:y.scoremodal,onCancel:()=>{et(!1)}},Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement("div",{className:y.title},It?"\u4EE5\u9898\u6362\u9898":"\u9898\u5E93\u9009\u9898")),It&&Te.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"),Te.createElement(Le.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"}),la(ve.type),ve.type=lt,(ve==null?void 0:ve.item_type)==="SHIXUN"&&ve.type!=="5"&&(Lt=!0,St(!0)),Wt(!1),ve.type==="5"&&(Lt=!1,St(!1)),Hn(),mn()},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:Te.createElement("div",null,"\u5DF2\u9009",at.length>0&&Te.createElement("span",{className:y.titlecount},at.length),Pn>0&&Te.createElement("span",{className:y.add},"+",Pn)),key:"5"}]}),Te.createElement(ue.default,{layout:"inline",form:jt,onValuesChange:(lt,$t)=>{const Jn=Object.values($t).some(kn=>kn!==null&&kn!==""&&kn!==void 0),nn=$t.keyword==="";if(Wt(Jn||!nn),ve.page=1,($t==null?void 0:$t.item_type)==="SHIXUN"){if(ve.type==="5"?St(!1):St(!0),lt.keyword||lt.keyword==="")return;jt.submit()}else{if(lt!=null&<.courseid&&jt.setFieldsValue({tag_discipline_id:""}),St(!1),lt.keyword||lt.keyword==="")return;jt.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(Yt(Yt({},ve),lt)),Ht(Yt(Yt({},ve),lt))}},Te.createElement(ue.default.Item,{name:"item_type"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u9898\u578B",style:{width:110},size:"middle"},(It?_n.slice(0,6):_n).map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Te.createElement(ue.default.Item,{name:"courseid"},Te.createElement(se.Z,{className:y.selectWrapper,style:{width:160},size:"middle",placeholder:"\u65B9\u5411&\u8BFE\u7A0B",options:qe})),!Lt&&Te.createElement(ue.default.Item,{name:"tag_discipline_id"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u77E5\u8BC6\u70B9",style:{width:160},size:"middle",allowClear:!0},(ze=Ae==null?void 0:Ae.tag_disciplines)==null?void 0:ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.id},lt.name)))),Te.createElement(ue.default.Item,{name:Lt?"diff":"difficulty"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u96BE\u5EA6",style:{width:118},size:"middle",allowClear:!0},!Lt&&$n.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)),Lt&&Ze.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),Lt&&Te.createElement(ue.default.Item,{name:"shixun_publish_status"},Te.createElement(Oe.default,{className:y.selectWrapper,placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"middle",allowClear:!0},Nt.map(lt=>Te.createElement(Oe.default.Option,{key:lt.value},lt.name)))),(ve.type==="3"||ve.type==="0")&&!Lt&&Te.createElement(ue.default.Item,{name:"group_id"},Te.createElement(ct.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:bn,treeDefaultExpandedKeys:[0],maxTagCount:0,treeCheckable:!0,treeData:aa})),kt&&Te.createElement("span",{className:y.allqingchu,onClick:tn},Te.createElement("i",{className:"iconfont icon-guanbi4"}),Te.createElement("span",null,"\u6E05\u9664\u7B5B\u9009\u6761\u4EF6")),Te.createElement(ue.default.Item,{style:{flex:"0 0 auto",marginRight:0,marginLeft:"auto"},name:"keyword"},Te.createElement(ot.default.Search,{className:y.search,placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",allowClear:!0,suffix:Te.createElement("i",{className:`iconfont icon-sousuo9 font14 ${y.searchIcon}`,onClick:()=>jt.submit()}),onSearch:lt=>{jt.submit()}}))),Te.createElement("div",{style:{background:"#F6F7F9",display:"flex",alignItems:"center",marginTop:18,height:40,paddingLeft:10,paddingRight:20}},Te.createElement("div",{onClick:()=>{ve.updated_at==="asc"?ve.updated_at="desc":ve.updated_at="asc",fe(vt(Yt({},ve),{page:1})),Ht(vt(Yt({},ve),{page:1}))}}," ",ve.updated_at?Te.createElement("img",{src:ve.updated_at==="asc"?pe.Z:ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Te.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u66F4\u65B0\u65F6\u95F4\u6392\u5E8F"),Te.createElement("div",{onClick:()=>{ve.quotes==="asc"?ve.quotes="desc":ve.quotes="asc",fe(vt(Yt({},ve),{page:1})),Ht(vt(Yt({},ve),{page:1}))},style:{marginLeft:20}}," ",ve.quotes?Te.createElement("img",{src:ve.quotes==="asc"?pe.Z:ye.Z,style:{width:"15px",verticalAlign:"text-bottom"},className:"font14 mr5 c-light-primary"}):Te.createElement("i",{style:{fontSize:"14px"},className:"iconfont icon-jiangxu mr5 c-light-primary"}),"\u6309\u4F7F\u7528\u6B21\u6570\u6392\u5E8F")),Te.createElement(Ve.default,{style:{marginTop:2,marginBottom:20},scroll:{y:260},dataSource:(Ae==null?void 0:Ae.items)||(Ae==null?void 0:Ae.shixun_list),pagination:!1,loading:vn,rowKey:lt=>lt.id,rowSelection:{type:It?"radio":"checkbox",selectedRowKeys:Fe,getCheckboxProps:lt=>({disabled:lt.shixun_tag_num===1||(Pa==null?void 0:Pa.find($t=>lt.id===$t))}),onSelect(lt,$t,Jn){if(It){xe([lt.id]),Mn.current=new Set([lt.id]),Sn(1),Xe([lt.id]);return}if($t)Lt&&pn([...Dt,lt.id]),xe([...Fe,lt.id]),lt.identifier?En.current.add(lt.id):Mn.current.add(lt.id),Sn(1),Xe([...at,lt.id]);else{lt.identifier?En.current.delete(lt.id):Mn.current.delete(lt.id);let nn=at.filter(kn=>kn!==lt.id);if(xe(nn),Xe(nn),Lt){let kn=Dt.filter(ea=>ea!==lt.id);pn([...kn])}if(ve.type==="5"){Pt(vt(Yt({},ve),{list:[...nn]}));return}}},onSelectAll(lt,$t,Jn){if(lt){const nn=Jn.map(kn=>kn.id);Lt&&pn([...Dt,...nn]),xe([...Fe,...nn]),Xe([...at,...nn]);for(const kn of Jn)kn.identifier?En.current.add(kn.id):Mn.current.add(kn.id)}else{const nn=Jn.map(ea=>ea.id),kn=Fe.filter(ea=>!nn.some(Ra=>Ra===ea));if(xe([...kn]),Xe([...kn]),Lt){let ea=Dt.filter(Ra=>!nn.some(va=>va===Ra.id));pn([...ea])}ve.type==="5"&&Pt(vt(Yt({},ve),{list:[...kn]}));for(const ea of nn)ea.identifier?En.current.delete(ea):Mn.current.delete(ea)}}},columns:[{title:"\u9898\u578B",dataIndex:"item_type",key:"item_type",render:(lt,$t,Jn)=>{var nn,kn;return Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?"\u5B9E\u8BAD\u9898":(kn=(nn=_n==null?void 0:_n.filter(ea=>ea.value===lt))==null?void 0:nn[0])==null?void 0:kn.name))}},{title:"\u8BD5\u9898\u540D\u79F0",dataIndex:"name",width:Lt?"30%":"60%",key:"name",render:(lt,$t,Jn)=>{var nn;return Te.createElement("div",{style:{display:"flex",alignItems:"center"}},Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",{className:$t!=null&&$t.high_resources_consume?y.q_title:""},Te.createElement(E.Z,{key:1,showLines:1,showTextOnly:!0,value:Lt||$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)&&Te.createElement(Qe.Z,{type:"shixun",style:{marginLeft:10}}))}},{title:"\u521B\u5EFA\u8005",dataIndex:"author_name",key:"author_name",hidden:!Lt,render:(lt,$t,Jn)=>{var nn;return Te.createElement(Ue.Z,{title:ln($t)},Te.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:!Lt,render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("span",null,lt||"- -"))},{title:"\u96BE\u5EA6",dataIndex:"difficulty",key:"difficulty",render:(lt,$t,Jn)=>{var nn,kn,ea,Ra;return Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?($t==null?void 0:$t.level)||((kn=(nn=$n==null?void 0:$n.filter(va=>va.value===lt))==null?void 0:nn[0])==null?void 0:kn.name):(Ra=(ea=$n==null?void 0:$n.filter(va=>va.value===lt))==null?void 0:ea[0])==null?void 0:Ra.name))}},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,lt||"- -"))},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement("span",null,lt||"- -")},{title:"\u4F7F\u7528\u6B21\u6570",dataIndex:"quotes",key:"quotes",render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,Lt||$t!=null&&$t.challenge_names?($t==null?void 0:$t.study_count)||($t==null?void 0:$t.stu_num):lt))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(De.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",null,lt||"- -"))},{title:Te.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",Te.createElement(Ue.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},Te.createElement(De.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",hidden:!Lt,render:(lt,$t,Jn)=>Te.createElement("span",null,lt||"- -")},{title:"\u64CD\u4F5C",dataIndex:"id",key:"item_type",render:(lt,$t,Jn)=>Te.createElement(Ue.Z,{title:ln($t)},Te.createElement("div",{style:{flex:1,textAlign:"start"}},Te.createElement("a",{onClick:()=>{var nn,kn;cn(vt(Yt({},$t),{question_type:Lt||$t!=null&&$t.challenge_names?5:(kn=(nn=_n==null?void 0:_n.filter(ea=>ea.value===($t==null?void 0:$t.item_type)))==null?void 0:nn[0])==null?void 0:kn.question_type})),Ft(!0)}},"\u67E5\u770B"),($t==null?void 0:$t.shixun_tag_num)===1&&Te.createElement("a",{style:{marginLeft:10},onClick:()=>{Me.default.confirm({title:"\u63D0\u793A",icon:null,centered:!0,width:400,content:Te.createElement("div",null,"\u662F\u5426\u786E\u5B9A\u53D1\u5E03",Te.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:()=>rn(void 0,null,function*(){if(!dt($t==null?void 0:$t.identifier))return new Promise((nn,kn)=>{kn()})})})}},"\u53D1\u5E03")))}].filter(lt=>!lt.hidden)}),Te.createElement(tt.Z,{current:ve.page,total:(Ae==null?void 0:Ae.items_count)||(Ae==null?void 0:Ae.shixuns_count),style:{marginBottom:20},defaultPageSize:ve.per_page,showTotal:lt=>Te.createElement("span",null,"\u5171\xA0",Te.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(Yt({},ve)),Ht(Yt({},ve))}}),Te.createElement("div",{className:y.bottom},Te.createElement(Je.ZP,{className:y.no,onClick:()=>{et(!1)}},"\u53D6\u6D88"),Te.createElement(Je.ZP,{loading:dn,style:{width:dn&&75},className:y.yes,onClick:()=>rn(void 0,null,function*(){if((at==null?void 0:at.length)<=0){Be.ZP.info(It?"\u8BF7\u9009\u62E9\u4E00\u9053\u8BD5\u9898":"\u5F53\u524D\u6682\u672A\u9009\u62E9\u6570\u636E");return}hn([...Mn.current],[...En.current],!0,at==null?void 0:at.length)})},It?"\u5F00\u59CB\u6362\u9898":"\u786E\u8BA4"))),Te.createElement(Me.default,{open:_e,title:"\u9898\u76EE\u8BE6\u60C5",footer:!1,className:y.previewModal,width:1e3,centered:!0,onCancel:()=>{Ft(!1)},onOk:()=>{Ft(!1)}},Te.createElement(me,{qitem:on})))};var nt=(0,je.connect)(({shixunsDetail:et,newExercisePaper:qt})=>({shixunsDetail:et,newExercisePaper:qt}))(xn)},86918:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Ve}});var x=te(43418),ue={ul:"ul___TdfYY"},Be=te(32637),Me=te(59301),Le=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ct=(Ue,tt)=>{var Je={};for(var le in Ue)Oe.call(Ue,le)&&tt.indexOf(le)<0&&(Je[le]=Ue[le]);if(Ue!=null&&Le)for(var le of Le(Ue))tt.indexOf(le)<0&&se.call(Ue,le)&&(Je[le]=Ue[le]);return Je},Ve=Ue=>{var tt=Ue,{open:Je,onCancel:le}=tt,y=ct(tt,["open","onCancel"]);return Me.createElement(x.default,{centered:!0,open:Je,title:Me.createElement("div",{style:{fontWeight:"bold"}},"\u8054\u7CFB\u6559\u7814\u52A9\u7406"),width:"696px",onCancel:le,footer:null},Me.createElement("div",null,Me.createElement("div",{className:"tc"},Me.createElement("img",{className:"mt10",src:Be,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),Me.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),Me.createElement("div",{style:{color:"#333"},className:"pt30 font14"},Me.createElement("ul",{className:ue.ul},Me.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"),Me.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"),Me.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")))))}},88918:function(Ut,Kt,te){"use strict";te.d(Kt,{I:function(){return ue}});var x=te(59301);const ue=()=>{const[Be,Me]=(0,x.useState)("hidden");return{overflow:Be,handleMouseEnter:()=>Me("auto"),handleMouseLeave:()=>Me("hidden")}}},50371:function(Ut,Kt){"use strict";function te(){const x=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue{const Le=Be[Me];Le!==void 0&&(x[Me]=Le)})}return x}Kt.Z=te},77578:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return x}});const x=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(Ut,Kt,te){"use strict";te.d(Kt,{F:function(){return x},Z:function(){return ue}});function x(Be){return Be!=null&&Be===Be.window}function ue(Be,Me){var Le,Oe;if(typeof window=="undefined")return 0;const se=Me?"scrollTop":"scrollLeft";let ct=0;return x(Be)?ct=Be[Me?"pageYOffset":"pageXOffset"]:Be instanceof Document?ct=Be.documentElement[se]:(Be instanceof HTMLElement||Be)&&(ct=Be[se]),Be&&!x(Be)&&typeof ct!="number"&&(ct=(Oe=((Le=Be.ownerDocument)!==null&&Le!==void 0?Le:Be).documentElement)===null||Oe===void 0?void 0:Oe[se]),ct}},56762:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ue}});var x=te(59301);function ue(){const[,Be]=x.useReducer(Me=>Me+1,0);return Be}},68031:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return Me}});var x=te(16089);function ue(Le,Oe,se,ct){const ot=se-Oe;return Le/=ct/2,Le<1?ot/2*Le*Le*Le+Oe:ot/2*((Le-=2)*Le*Le+2)+Oe}var Be=te(13845);function Me(Le){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:ct,duration:ot=450}=Oe,Ve=se(),Ue=(0,Be.Z)(Ve,!0),tt=Date.now(),Je=()=>{const y=Date.now()-tt,a=ue(y>ot?ot:y,Ue,Le,ot);(0,Be.F)(Ve)?Ve.scrollTo(window.pageXOffset,a):Ve instanceof Document||Ve.constructor.name==="HTMLDocument"?Ve.documentElement.scrollTop=a:Ve.scrollTop=a,y{let{children:ut}=Ne;const{getPrefixCls:Bt}=Le.useContext(se.E_),yt=Bt("breadcrumb");return Le.createElement("li",{className:`${yt}-separator`,"aria-hidden":"true"},ut===""?ut:ut||"/")};Ve.__ANT_BREADCRUMB_SEPARATOR=!0;var Ue=Ve,tt=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gtut[gt]||yt)}function le(Ne,ut,Bt,yt){if(Bt==null)return null;const{className:gt,onClick:Yt}=ut,vt=tt(ut,["className","onClick"]),rn=Object.assign(Object.assign({},(0,Me.Z)(vt,{data:!0,aria:!0})),{onClick:Yt});return yt!==void 0?Le.createElement("a",Object.assign({},rn,{className:ue()(`${Ne}-link`,gt),href:yt}),Bt):Le.createElement("span",Object.assign({},rn,{className:ue()(`${Ne}-link`,gt)}),Bt)}function y(Ne,ut){return(yt,gt,Yt,vt,rn)=>{if(ut)return ut(yt,gt,Yt,vt);const xn=Je(yt,gt);return le(Ne,yt,xn,rn)}}var a=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt{const{prefixCls:ut,separator:Bt="/",children:yt,menu:gt,overlay:Yt,dropdownProps:vt,href:rn}=Ne,nt=(et=>{if(gt||Yt){const qt=Object.assign({},vt);if(gt){const hn=gt||{},{items:Zt}=hn,dn=a(hn,["items"]);qt.menu=Object.assign(Object.assign({},dn),{items:Zt==null?void 0:Zt.map((We,It)=>{var{key:Gt,title:Mt,label:ht,path:rt}=We,ze=a(We,["key","title","label","path"]);let ve=ht!=null?ht:Mt;return rt&&(ve=Le.createElement("a",{href:`${rn}${rt}`},ve)),Object.assign(Object.assign({},ze),{key:Gt!=null?Gt:It,label:ve})})})}else Yt&&(qt.overlay=Yt);return Le.createElement(ot.Z,Object.assign({placement:"bottom"},qt),Le.createElement("span",{className:`${ut}-overlay-link`},et,Le.createElement(ct.Z,null)))}return et})(yt);return nt!=null?Le.createElement(Le.Fragment,null,Le.createElement("li",null,nt),Bt&&Le.createElement(Ue,null,Bt)):null},E=Ne=>{const{prefixCls:ut,children:Bt,href:yt}=Ne,gt=a(Ne,["prefixCls","children","href"]),{getPrefixCls:Yt}=Le.useContext(se.E_),vt=Yt("breadcrumb",ut);return Le.createElement(b,Object.assign({},gt,{prefixCls:vt}),le(vt,gt,Bt,yt))};E.__ANT_BREADCRUMB_ITEM=!0;var z=E,ne=te(17313),re=te(83116),ie=te(37613);const me=Ne=>{const{componentCls:ut,iconCls:Bt}=Ne;return{[ut]:Object.assign(Object.assign({},(0,ne.Wf)(Ne)),{color:Ne.itemColor,fontSize:Ne.fontSize,[Bt]:{fontSize:Ne.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Ne.linkColor,transition:`color ${Ne.motionDurationMid}`,padding:`0 ${Ne.paddingXXS}px`,borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",marginInline:-Ne.marginXXS,"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover}},(0,ne.Qy)(Ne)),"li:last-child":{color:Ne.lastItemColor},[`${ut}-separator`]:{marginInline:Ne.separatorMargin,color:Ne.separatorColor},[`${ut}-link`]:{[` > ${Bt} + span, > ${Bt} + a - `]:{marginInlineStart:Ne.marginXXS}},[`${ut}-overlay-link`]:{borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",padding:`0 ${Ne.paddingXXS}px`,marginInline:-Ne.marginXXS,[`> ${Bt}`]:{marginInlineStart:Ne.marginXXS,fontSize:Ne.fontSizeIcon},"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover,a:{color:Ne.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ne.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",Ne=>{const ut=(0,ie.TS)(Ne,{});return[me(ut)]},Ne=>({itemColor:Ne.colorTextDescription,lastItemColor:Ne.colorText,iconFontSize:Ne.fontSize,linkColor:Ne.colorTextDescription,linkHoverColor:Ne.colorText,separatorColor:Ne.colorTextDescription,separatorMargin:Ne.marginXS})),ye=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt{var{breadcrumbName:vt}=Yt,rn=ye(Yt,["breadcrumbName"]);return Object.assign(Object.assign({},rn),{title:vt})})}),gt}function De(Ne,ut){return(0,Le.useMemo)(()=>Ne||(ut?ut.map(je):null),[Ne,ut])}var Qe=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt{if(ut===void 0)return ut;let Bt=(ut||"").replace(/^\//,"");return Object.keys(Ne).forEach(yt=>{Bt=Bt.replace(`:${yt}`,Ne[yt])}),Bt},Te=Ne=>{const{prefixCls:ut,separator:Bt="/",style:yt,className:gt,rootClassName:Yt,routes:vt,items:rn,children:xn,itemRender:nt,params:et={}}=Ne,qt=Qe(Ne,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:hn,direction:Zt,breadcrumb:dn}=Le.useContext(se.E_);let We;const It=hn("breadcrumb",ut),[Gt,Mt]=pe(It),ht=De(rn,vt),rt=y(It,nt);if(ht&&ht.length>0){const fe=[],qe=rn||vt;We=ht.map((Rt,Fe)=>{const{path:xe,key:at,type:Xe,menu:Ae,overlay:ft,onClick:vn,className:Qt,separator:jt,dropdownProps:on}=Rt,cn=he(et,xe);cn!==void 0&&fe.push(cn);const _e=at!=null?at:Fe;if(Xe==="separator")return Le.createElement(Ue,{key:_e},jt);const Ft={},Lt=Fe===ht.length-1;Ae?Ft.menu=Ae:ft&&(Ft.overlay=ft);let{href:St}=Rt;return fe.length&&cn!==void 0&&(St=`#/${fe.join("/")}`),Le.createElement(b,Object.assign({key:_e},Ft,(0,Me.Z)(Rt,{data:!0,aria:!0}),{className:Qt,dropdownProps:on,href:St,separator:Lt?"":Bt,onClick:vn,prefixCls:It}),rt(Rt,et,qe,fe,St))})}else if(xn){const fe=(0,Be.Z)(xn).length;We=(0,Be.Z)(xn).map((qe,Rt)=>{if(!qe)return qe;const Fe=Rt===fe-1;return(0,Oe.Tm)(qe,{separator:Fe?"":Bt,key:Rt})})}const ze=ue()(It,dn==null?void 0:dn.className,{[`${It}-rtl`]:Zt==="rtl"},gt,Yt,Mt),ve=Object.assign(Object.assign({},dn==null?void 0:dn.style),yt);return Gt(Le.createElement("nav",Object.assign({className:ze,style:ve},qt),Le.createElement("ol",null,We)))};Te.Item=z,Te.Separator=Ue;var Ye=Te,bt=Ye},19842:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return $n}});var x=te(26407),ue=te(59301),Be=te(33853),Me=te(58617),Le=te(38819),Oe=te(92310),se=te.n(Oe),ct=te(92413),ot=te(33606),Ve=te(37061),Ue=te(77861),tt=te(17115),Je=te(90782),le=te(6089),y=te(18929),a=ue.createContext(null),b=a,E=te(39559),z=te(400),ne=te(33708),re="__rc_cascader_search_mark__",ie=function(Nt,kt,Wt){var tn=Wt.label;return kt.some(function(Ht){return String(Ht[tn]).toLowerCase().includes(Nt.toLowerCase())})},me=function(Nt,kt,Wt,tn){return kt.map(function(Ht){return Ht[tn.label]}).join(" / ")},pe=function(Ze,Nt,kt,Wt,tn,Ht){var mn=tn.filter,st=mn===void 0?ie:mn,Pt=tn.render,dt=Pt===void 0?me:Pt,ln=tn.limit,Nn=ln===void 0?50:ln,bn=tn.sort;return ue.useMemo(function(){var la=[];if(!Ze)return[];function Hn(lt,$t){var Jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;lt.forEach(function(nn){if(!(!bn&&Nn!==!1&&Nn>0&&la.length>=Nn)){var kn=[].concat((0,x.Z)($t),[nn]),ea=nn[kt.children],Ra=Jn||nn.disabled;if((!ea||ea.length===0||Ht)&&st(Ze,kn,{label:kt.label})){var va;la.push((0,ne.Z)((0,ne.Z)({},nn),{},(va={disabled:Ra},(0,z.Z)(va,kt.label,dt(Ze,kn,Wt,kt)),(0,z.Z)(va,re,kn),(0,z.Z)(va,kt.children,void 0),va)))}ea&&Hn(nn[kt.children],kn,Ra)}})}return Hn(Nt,[]),bn&&la.sort(function(lt,$t){return bn(lt[re],$t[re],Ze,kt)}),Nn!==!1&&Nn>0?la.slice(0,Nn):la},[Ze,Nt,kt,Wt,dt,Ht,st,bn,Nn])},ye="__RC_CASCADER_SPLIT__",je="SHOW_PARENT",De="SHOW_CHILD";function Qe(Ze){return Ze.join(ye)}function he(Ze){return Ze.map(Qe)}function Te(Ze){return Ze.split(ye)}function Ye(Ze){var Nt=Ze||{},kt=Nt.label,Wt=Nt.value,tn=Nt.children,Ht=Wt||"value";return{label:kt||"label",value:Ht,key:Ht,children:tn||"children"}}function bt(Ze,Nt){var kt,Wt;return(kt=Ze.isLeaf)!==null&&kt!==void 0?kt:!((Wt=Ze[Nt.children])!==null&&Wt!==void 0&&Wt.length)}function Ne(Ze){var Nt=Ze.parentElement;if(Nt){var kt=Ze.offsetTop-Nt.offsetTop;kt-Nt.scrollTop<0?Nt.scrollTo({top:kt}):kt+Ze.offsetHeight-Nt.scrollTop>Nt.offsetHeight&&Nt.scrollTo({top:kt+Ze.offsetHeight-Nt.offsetHeight})}}function ut(Ze,Nt){return Ze.map(function(kt){var Wt;return(Wt=kt[re])===null||Wt===void 0?void 0:Wt.map(function(tn){return tn[Nt.value]})})}function Bt(Ze,Nt,kt){var Wt=new Set(Ze),tn=Nt();return Ze.filter(function(Ht){var mn=tn[Ht],st=mn?mn.parent:null,Pt=mn?mn.children:null;return mn&&mn.node.disabled?!0:kt===De?!(Pt&&Pt.some(function(dt){return dt.key&&Wt.has(dt.key)})):!(st&&!st.node.disabled&&Wt.has(st.key))})}function yt(Ze,Nt,kt){for(var Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=Nt,Ht=[],mn=function(){var dt,ln,Nn,bn=Ze[st],la=(dt=tn)===null||dt===void 0?void 0:dt.findIndex(function(lt){var $t=lt[kt.value];return Wt?String($t)===String(bn):$t===bn}),Hn=la!==-1?(ln=tn)===null||ln===void 0?void 0:ln[la]:null;Ht.push({value:(Nn=Hn==null?void 0:Hn[kt.value])!==null&&Nn!==void 0?Nn:bn,index:la,option:Hn}),tn=Hn==null?void 0:Hn[kt.children]},st=0;st1){var Ge=Hn.slice(0,-1);nn(Ge)}else dt(!1)},Ra=function(){var Ge,gn=((Ge=$t[lt])===null||Ge===void 0?void 0:Ge[kt.children])||[],Jt=gn.find(function(In){return!In.disabled});if(Jt){var yn=[].concat((0,x.Z)(Hn),[Jt[kt.value]]);nn(yn)}};ue.useImperativeHandle(Ze,function(){return{onKeyDown:function(Ge){var gn=Ge.which;switch(gn){case It.Z.UP:case It.Z.DOWN:{var Jt=0;gn===It.Z.UP?Jt=-1:gn===It.Z.DOWN&&(Jt=1),Jt!==0&&kn(Jt);break}case It.Z.LEFT:{if(Pt)break;Nn?Ra():ea();break}case It.Z.RIGHT:{if(Pt)break;Nn?ea():Ra();break}case It.Z.BACKSPACE:{Pt||ea();break}case It.Z.ENTER:{if(Hn.length){var yn=$t[lt],In=(yn==null?void 0:yn[re])||[];In.length?Ht(In.map(function(Zn){return Zn[kt.value]}),In[In.length-1]):Ht(Hn,$t[lt])}break}case It.Z.ESC:dt(!1),ln&&Ge.stopPropagation()}},onKeyUp:function(){}}})},Mt=ue.forwardRef(function(Ze,Nt){var kt,Wt,tn,Ht,mn=(0,Ue.lk)(),st=mn.prefixCls,Pt=mn.multiple,dt=mn.searchValue,ln=mn.toggleOpen,Nn=mn.notFoundContent,bn=mn.direction,la=mn.open,Hn=ue.useRef(),lt=bn==="rtl",$t=ue.useContext(b),Jn=$t.options,nn=$t.values,kn=$t.halfValues,ea=$t.fieldNames,Ra=$t.changeOnSelect,va=$t.onSelect,Ge=$t.searchOptions,gn=$t.dropdownPrefixCls,Jt=$t.loadData,yn=$t.expandTrigger,In=gn||st,Zn=ue.useState([]),An=(0,ot.Z)(Zn,2),Dn=An[0],Fa=An[1],La=function(Sr){if(!(!Jt||dt)){var Ar=yt(Sr,Jn,ea),br=Ar.map(function(or){var Lr=or.option;return Lr}),Br=br[br.length-1];if(Br&&!bt(Br,ea)){var Ta=Qe(Sr);Fa(function(or){return[].concat((0,x.Z)(or),[Ta])}),Jt(br)}}};ue.useEffect(function(){Dn.length&&Dn.forEach(function(yr){var Sr=Te(yr),Ar=yt(Sr,Jn,ea,!0).map(function(Br){var Ta=Br.option;return Ta}),br=Ar[Ar.length-1];(!br||br[ea.children]||bt(br,ea))&&Fa(function(Br){return Br.filter(function(Ta){return Ta!==yr})})})},[Jn,Dn,ea]);var fn=ue.useMemo(function(){return new Set(he(nn))},[nn]),Da=ue.useMemo(function(){return new Set(he(kn))},[kn]),Yn=We(),qa=(0,ot.Z)(Yn,2),Ja=qa[0],Wn=qa[1],sa=function(Sr){Wn(Sr),La(Sr)},ma=function(Sr){var Ar=Sr.disabled,br=bt(Sr,ea);return!Ar&&(br||Ra||Pt)},ra=function(Sr,Ar){var br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;va(Sr),!Pt&&(Ar||Ra&&(yn==="hover"||br))&&ln(!1)},Ua=ue.useMemo(function(){return dt?Ge:Jn},[dt,Ge,Jn]),rr=ue.useMemo(function(){for(var yr=[{options:Ua}],Sr=Ua,Ar=ut(Sr,ea),br=function(){var Lr=Ja[Br],Or=Sr.find(function($r,jr){return(Ar[jr]?Qe(Ar[jr]):$r[ea.value])===Lr}),Cr=Or==null?void 0:Or[ea.children];if(!(Cr!=null&&Cr.length))return"break";Sr=Cr,yr.push({options:Cr})},Br=0;Br":Dn,La=Ze.loadingIcon,fn=Ze.children,Da=Ze.dropdownMatchSelectWidth,Yn=Da===void 0?!1:Da,qa=Ze.showCheckedStrategy,Ja=qa===void 0?je:qa,Wn=(0,Ve.Z)(Ze,fe),sa=(0,tt.ZP)(kt),ma=!!Nn,ra=(0,y.Z)(mn,{value:st,postState:Rt}),Ua=(0,ot.Z)(ra,2),rr=Ua[0],Ga=Ua[1],za=ue.useMemo(function(){return Ye(Ht)},[JSON.stringify(Ht)]),lr=ue.useMemo(function(){return nn||[]},[nn]),Vr=vt(lr,za),Ir=ue.useCallback(function(fa){var Tn=Vr();return fa.map(function(Ba){var gr=Tn[Ba].nodes;return gr.map(function(Ce){return Ce[za.value]})})},[Vr,za]),uo=(0,y.Z)("",{value:Hn,postState:function(Tn){return Tn||""}}),yr=(0,ot.Z)(uo,2),Sr=yr[0],Ar=yr[1],br=function(Tn,Ba){Ar(Tn),Ba.source!=="blur"&<&<(Tn)},Br=nt($t),Ta=(0,ot.Z)(Br,2),or=Ta[0],Lr=Ta[1],Or=pe(Sr,lr,za,kn||tn,Lr,Pt),Cr=rn(lr,za),$r=ue.useMemo(function(){var fa=Cr(rr),Tn=(0,ot.Z)(fa,2),Ba=Tn[0],gr=Tn[1];if(!ma||!rr.length)return[Ba,[],gr];var Ce=he(Ba),sn=Vr(),Cn=(0,Je.S)(Ce,!0,sn),Kn=Cn.checkedKeys,an=Cn.halfCheckedKeys;return[Ir(Kn),Ir(an),gr]},[ma,rr,Vr,Ir,Cr]),jr=(0,ot.Z)($r,3),Xa=jr[0],wr=jr[1],pr=jr[2],Qr=ue.useMemo(function(){var fa=he(Xa),Tn=Bt(fa,Vr,Ja);return[].concat((0,x.Z)(pr),(0,x.Z)(Ir(Tn)))},[Xa,Vr,Ir,pr,Ja]),no=gt(Qr,lr,za,ma,ln),Bo=(0,le.Z)(function(fa){if(Ga(fa),dt){var Tn=Rt(fa),Ba=Tn.map(function(sn){return yt(sn,lr,za).map(function(Cn){return Cn.option})}),gr=ma?Tn:Tn[0],Ce=ma?Ba:Ba[0];dt(gr,Ce)}}),To=(0,le.Z)(function(fa){if((!ma||la)&&Ar(""),!ma)Bo(fa);else{var Tn=Qe(fa),Ba=he(Xa),gr=he(wr),Ce=Ba.includes(Tn),sn=pr.some(function(Xn){return Qe(Xn)===Tn}),Cn=Xa,Kn=pr;if(sn&&!Ce)Kn=pr.filter(function(Xn){return Qe(Xn)!==Tn});else{var an=Ce?Ba.filter(function(Xn){return Xn!==Tn}):[].concat((0,x.Z)(Ba),[Tn]),oa=Vr(),ta;if(Ce){var Bn=(0,Je.S)(an,{checked:!1,halfCheckedKeys:gr},oa);ta=Bn.checkedKeys}else{var On=(0,Je.S)(an,!0,oa);ta=On.checkedKeys}var Aa=Bt(ta,Vr,Ja);Cn=Ir(Aa)}Bo([].concat((0,x.Z)(Kn),(0,x.Z)(Cn)))}}),ko=function(Tn,Ba){if(Ba.type==="clear"){Bo([]);return}var gr=Ba.values[0],Ce=gr.valueCells;To(Ce)},Dr=va!==void 0?va:Ra,Yr=gn||Ge,Po=In||yn,$o=function(Tn){Zn==null||Zn(Tn),An==null||An(Tn)},jo=ue.useMemo(function(){return{options:lr,fieldNames:za,values:Xa,halfValues:wr,changeOnSelect:Pt,onSelect:To,checkable:Nn,searchOptions:Or,dropdownPrefixCls:kn,loadData:ea,expandTrigger:Jn,expandIcon:Fa,loadingIcon:La,dropdownMenuColumnStyle:Jt}},[lr,za,Xa,wr,Pt,To,Nn,Or,kn,ea,Jn,Fa,La,Jt]),ei=!(Sr?Or:lr).length,$a=Sr&&Lr.matchInputWidth||ei?{}:{minWidth:"auto"};return ue.createElement(b.Provider,{value:jo},ue.createElement(Ue.Ac,(0,ct.Z)({},Wn,{ref:Nt,id:sa,prefixCls:tn,autoClearSearchValue:la,dropdownMatchSelectWidth:Yn,dropdownStyle:$a,displayValues:no,onDisplayValuesChange:ko,mode:ma?"multiple":void 0,searchValue:Sr,onSearch:br,showSearch:or,OptionList:ht,emptyOptions:ei,open:Dr,dropdownClassName:Yr,placement:Po,onDropdownVisibleChange:$o,getRawInputElement:function(){return fn}})))});Fe.SHOW_PARENT=je,Fe.SHOW_CHILD=De;var xe=Fe,at=xe,Xe=te(2738),Ae=te(62892),ft=te(53487),vn=te(19080),Qt=te(36355),jt=te(93891),on=te(1684),cn=te(19716),_e=te(32441),Ft=te(14154),Lt=te(58582),St=te(84443),Dt=te(66339),pn=te(33234),Pn=te(98447),Sn=te(17313),Rn=te(74207),na=te(83116);const aa=Ze=>{const{prefixCls:Nt,componentCls:kt,antCls:Wt}=Ze,tn=`${kt}-menu-item`,Ht=` + `]:{marginInlineStart:Ne.marginXXS}},[`${ut}-overlay-link`]:{borderRadius:Ne.borderRadiusSM,height:Ne.lineHeight*Ne.fontSize,display:"inline-block",padding:`0 ${Ne.paddingXXS}px`,marginInline:-Ne.marginXXS,[`> ${Bt}`]:{marginInlineStart:Ne.marginXXS,fontSize:Ne.fontSizeIcon},"&:hover":{color:Ne.linkHoverColor,backgroundColor:Ne.colorBgTextHover,a:{color:Ne.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Ne.componentCls}-rtl`]:{direction:"rtl"}})}};var pe=(0,re.Z)("Breadcrumb",Ne=>{const ut=(0,ie.TS)(Ne,{});return[me(ut)]},Ne=>({itemColor:Ne.colorTextDescription,lastItemColor:Ne.colorText,iconFontSize:Ne.fontSize,linkColor:Ne.colorTextDescription,linkHoverColor:Ne.colorText,separatorColor:Ne.colorTextDescription,separatorMargin:Ne.marginXS})),ye=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt{var{breadcrumbName:vt}=Yt,rn=ye(Yt,["breadcrumbName"]);return Object.assign(Object.assign({},rn),{title:vt})})}),gt}function De(Ne,ut){return(0,Le.useMemo)(()=>Ne||(ut?ut.map(je):null),[Ne,ut])}var Qe=function(Ne,ut){var Bt={};for(var yt in Ne)Object.prototype.hasOwnProperty.call(Ne,yt)&&ut.indexOf(yt)<0&&(Bt[yt]=Ne[yt]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var gt=0,yt=Object.getOwnPropertySymbols(Ne);gt{if(ut===void 0)return ut;let Bt=(ut||"").replace(/^\//,"");return Object.keys(Ne).forEach(yt=>{Bt=Bt.replace(`:${yt}`,Ne[yt])}),Bt},Te=Ne=>{const{prefixCls:ut,separator:Bt="/",style:yt,className:gt,rootClassName:Yt,routes:vt,items:rn,children:xn,itemRender:nt,params:et={}}=Ne,qt=Qe(Ne,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:hn,direction:Zt,breadcrumb:dn}=Le.useContext(se.E_);let We;const It=hn("breadcrumb",ut),[Gt,Mt]=pe(It),ht=De(rn,vt),rt=y(It,nt);if(ht&&ht.length>0){const fe=[],qe=rn||vt;We=ht.map((Rt,Fe)=>{const{path:xe,key:at,type:Xe,menu:Ae,overlay:ft,onClick:vn,className:Qt,separator:jt,dropdownProps:on}=Rt,cn=he(et,xe);cn!==void 0&&fe.push(cn);const _e=at!=null?at:Fe;if(Xe==="separator")return Le.createElement(Ue,{key:_e},jt);const Ft={},Lt=Fe===ht.length-1;Ae?Ft.menu=Ae:ft&&(Ft.overlay=ft);let{href:St}=Rt;return fe.length&&cn!==void 0&&(St=`#/${fe.join("/")}`),Le.createElement(b,Object.assign({key:_e},Ft,(0,Me.Z)(Rt,{data:!0,aria:!0}),{className:Qt,dropdownProps:on,href:St,separator:Lt?"":Bt,onClick:vn,prefixCls:It}),rt(Rt,et,qe,fe,St))})}else if(xn){const fe=(0,Be.Z)(xn).length;We=(0,Be.Z)(xn).map((qe,Rt)=>{if(!qe)return qe;const Fe=Rt===fe-1;return(0,Oe.Tm)(qe,{separator:Fe?"":Bt,key:Rt})})}const ze=ue()(It,dn==null?void 0:dn.className,{[`${It}-rtl`]:Zt==="rtl"},gt,Yt,Mt),ve=Object.assign(Object.assign({},dn==null?void 0:dn.style),yt);return Gt(Le.createElement("nav",Object.assign({className:ze,style:ve},qt),Le.createElement("ol",null,We)))};Te.Item=z,Te.Separator=Ue;var Ye=Te,bt=Ye},19842:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return $n}});var x=te(26407),ue=te(59301),Be=te(33853),Me=te(58617),Le=te(38819),Oe=te(92310),se=te.n(Oe),ct=te(92413),ot=te(33606),Ve=te(37061),Ue=te(77861),tt=te(17115),Je=te(90782),le=te(6089),y=te(18929),a=ue.createContext(null),b=a,E=te(39559),z=te(400),ne=te(33708),re="__rc_cascader_search_mark__",ie=function(Nt,kt,Wt){var tn=Wt.label;return kt.some(function(Ht){return String(Ht[tn]).toLowerCase().includes(Nt.toLowerCase())})},me=function(Nt,kt,Wt,tn){return kt.map(function(Ht){return Ht[tn.label]}).join(" / ")},pe=function(Ze,Nt,kt,Wt,tn,Ht){var mn=tn.filter,st=mn===void 0?ie:mn,Pt=tn.render,dt=Pt===void 0?me:Pt,ln=tn.limit,Nn=ln===void 0?50:ln,bn=tn.sort;return ue.useMemo(function(){var la=[];if(!Ze)return[];function Hn(lt,$t){var Jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;lt.forEach(function(nn){if(!(!bn&&Nn!==!1&&Nn>0&&la.length>=Nn)){var kn=[].concat((0,x.Z)($t),[nn]),ea=nn[kt.children],Ra=Jn||nn.disabled;if((!ea||ea.length===0||Ht)&&st(Ze,kn,{label:kt.label})){var va;la.push((0,ne.Z)((0,ne.Z)({},nn),{},(va={disabled:Ra},(0,z.Z)(va,kt.label,dt(Ze,kn,Wt,kt)),(0,z.Z)(va,re,kn),(0,z.Z)(va,kt.children,void 0),va)))}ea&&Hn(nn[kt.children],kn,Ra)}})}return Hn(Nt,[]),bn&&la.sort(function(lt,$t){return bn(lt[re],$t[re],Ze,kt)}),Nn!==!1&&Nn>0?la.slice(0,Nn):la},[Ze,Nt,kt,Wt,dt,Ht,st,bn,Nn])},ye="__RC_CASCADER_SPLIT__",je="SHOW_PARENT",De="SHOW_CHILD";function Qe(Ze){return Ze.join(ye)}function he(Ze){return Ze.map(Qe)}function Te(Ze){return Ze.split(ye)}function Ye(Ze){var Nt=Ze||{},kt=Nt.label,Wt=Nt.value,tn=Nt.children,Ht=Wt||"value";return{label:kt||"label",value:Ht,key:Ht,children:tn||"children"}}function bt(Ze,Nt){var kt,Wt;return(kt=Ze.isLeaf)!==null&&kt!==void 0?kt:!((Wt=Ze[Nt.children])!==null&&Wt!==void 0&&Wt.length)}function Ne(Ze){var Nt=Ze.parentElement;if(Nt){var kt=Ze.offsetTop-Nt.offsetTop;kt-Nt.scrollTop<0?Nt.scrollTo({top:kt}):kt+Ze.offsetHeight-Nt.scrollTop>Nt.offsetHeight&&Nt.scrollTo({top:kt+Ze.offsetHeight-Nt.offsetHeight})}}function ut(Ze,Nt){return Ze.map(function(kt){var Wt;return(Wt=kt[re])===null||Wt===void 0?void 0:Wt.map(function(tn){return tn[Nt.value]})})}function Bt(Ze,Nt,kt){var Wt=new Set(Ze),tn=Nt();return Ze.filter(function(Ht){var mn=tn[Ht],st=mn?mn.parent:null,Pt=mn?mn.children:null;return mn&&mn.node.disabled?!0:kt===De?!(Pt&&Pt.some(function(dt){return dt.key&&Wt.has(dt.key)})):!(st&&!st.node.disabled&&Wt.has(st.key))})}function yt(Ze,Nt,kt){for(var Wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,tn=Nt,Ht=[],mn=function(){var dt,ln,Nn,bn=Ze[st],la=(dt=tn)===null||dt===void 0?void 0:dt.findIndex(function(lt){var $t=lt[kt.value];return Wt?String($t)===String(bn):$t===bn}),Hn=la!==-1?(ln=tn)===null||ln===void 0?void 0:ln[la]:null;Ht.push({value:(Nn=Hn==null?void 0:Hn[kt.value])!==null&&Nn!==void 0?Nn:bn,index:la,option:Hn}),tn=Hn==null?void 0:Hn[kt.children]},st=0;st1){var Ge=Hn.slice(0,-1);nn(Ge)}else dt(!1)},Ra=function(){var Ge,gn=((Ge=$t[lt])===null||Ge===void 0?void 0:Ge[kt.children])||[],Jt=gn.find(function(In){return!In.disabled});if(Jt){var yn=[].concat((0,x.Z)(Hn),[Jt[kt.value]]);nn(yn)}};ue.useImperativeHandle(Ze,function(){return{onKeyDown:function(Ge){var gn=Ge.which;switch(gn){case It.Z.UP:case It.Z.DOWN:{var Jt=0;gn===It.Z.UP?Jt=-1:gn===It.Z.DOWN&&(Jt=1),Jt!==0&&kn(Jt);break}case It.Z.LEFT:{if(Pt)break;Nn?Ra():ea();break}case It.Z.RIGHT:{if(Pt)break;Nn?ea():Ra();break}case It.Z.BACKSPACE:{Pt||ea();break}case It.Z.ENTER:{if(Hn.length){var yn=$t[lt],In=(yn==null?void 0:yn[re])||[];In.length?Ht(In.map(function(Zn){return Zn[kt.value]}),In[In.length-1]):Ht(Hn,$t[lt])}break}case It.Z.ESC:dt(!1),ln&&Ge.stopPropagation()}},onKeyUp:function(){}}})},Mt=ue.forwardRef(function(Ze,Nt){var kt,Wt,tn,Ht,mn=(0,Ue.lk)(),st=mn.prefixCls,Pt=mn.multiple,dt=mn.searchValue,ln=mn.toggleOpen,Nn=mn.notFoundContent,bn=mn.direction,la=mn.open,Hn=ue.useRef(),lt=bn==="rtl",$t=ue.useContext(b),Jn=$t.options,nn=$t.values,kn=$t.halfValues,ea=$t.fieldNames,Ra=$t.changeOnSelect,va=$t.onSelect,Ge=$t.searchOptions,gn=$t.dropdownPrefixCls,Jt=$t.loadData,yn=$t.expandTrigger,In=gn||st,Zn=ue.useState([]),An=(0,ot.Z)(Zn,2),Dn=An[0],Fa=An[1],La=function(Sr){if(!(!Jt||dt)){var Ar=yt(Sr,Jn,ea),br=Ar.map(function(or){var Lr=or.option;return Lr}),Br=br[br.length-1];if(Br&&!bt(Br,ea)){var Ta=Qe(Sr);Fa(function(or){return[].concat((0,x.Z)(or),[Ta])}),Jt(br)}}};ue.useEffect(function(){Dn.length&&Dn.forEach(function(yr){var Sr=Te(yr),Ar=yt(Sr,Jn,ea,!0).map(function(Br){var Ta=Br.option;return Ta}),br=Ar[Ar.length-1];(!br||br[ea.children]||bt(br,ea))&&Fa(function(Br){return Br.filter(function(Ta){return Ta!==yr})})})},[Jn,Dn,ea]);var fn=ue.useMemo(function(){return new Set(he(nn))},[nn]),Na=ue.useMemo(function(){return new Set(he(kn))},[kn]),Yn=We(),qa=(0,ot.Z)(Yn,2),Ja=qa[0],Wn=qa[1],sa=function(Sr){Wn(Sr),La(Sr)},ma=function(Sr){var Ar=Sr.disabled,br=bt(Sr,ea);return!Ar&&(br||Ra||Pt)},ra=function(Sr,Ar){var br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;va(Sr),!Pt&&(Ar||Ra&&(yn==="hover"||br))&&ln(!1)},Ua=ue.useMemo(function(){return dt?Ge:Jn},[dt,Ge,Jn]),rr=ue.useMemo(function(){for(var yr=[{options:Ua}],Sr=Ua,Ar=ut(Sr,ea),br=function(){var Lr=Ja[Br],Or=Sr.find(function($r,jr){return(Ar[jr]?Qe(Ar[jr]):$r[ea.value])===Lr}),Cr=Or==null?void 0:Or[ea.children];if(!(Cr!=null&&Cr.length))return"break";Sr=Cr,yr.push({options:Cr})},Br=0;Br":Dn,La=Ze.loadingIcon,fn=Ze.children,Na=Ze.dropdownMatchSelectWidth,Yn=Na===void 0?!1:Na,qa=Ze.showCheckedStrategy,Ja=qa===void 0?je:qa,Wn=(0,Ve.Z)(Ze,fe),sa=(0,tt.ZP)(kt),ma=!!Nn,ra=(0,y.Z)(mn,{value:st,postState:Rt}),Ua=(0,ot.Z)(ra,2),rr=Ua[0],Ga=Ua[1],za=ue.useMemo(function(){return Ye(Ht)},[JSON.stringify(Ht)]),lr=ue.useMemo(function(){return nn||[]},[nn]),Vr=vt(lr,za),Ir=ue.useCallback(function(fa){var Tn=Vr();return fa.map(function(Ba){var gr=Tn[Ba].nodes;return gr.map(function(Ce){return Ce[za.value]})})},[Vr,za]),uo=(0,y.Z)("",{value:Hn,postState:function(Tn){return Tn||""}}),yr=(0,ot.Z)(uo,2),Sr=yr[0],Ar=yr[1],br=function(Tn,Ba){Ar(Tn),Ba.source!=="blur"&<&<(Tn)},Br=nt($t),Ta=(0,ot.Z)(Br,2),or=Ta[0],Lr=Ta[1],Or=pe(Sr,lr,za,kn||tn,Lr,Pt),Cr=rn(lr,za),$r=ue.useMemo(function(){var fa=Cr(rr),Tn=(0,ot.Z)(fa,2),Ba=Tn[0],gr=Tn[1];if(!ma||!rr.length)return[Ba,[],gr];var Ce=he(Ba),sn=Vr(),Cn=(0,Je.S)(Ce,!0,sn),Kn=Cn.checkedKeys,an=Cn.halfCheckedKeys;return[Ir(Kn),Ir(an),gr]},[ma,rr,Vr,Ir,Cr]),jr=(0,ot.Z)($r,3),Xa=jr[0],wr=jr[1],pr=jr[2],Qr=ue.useMemo(function(){var fa=he(Xa),Tn=Bt(fa,Vr,Ja);return[].concat((0,x.Z)(pr),(0,x.Z)(Ir(Tn)))},[Xa,Vr,Ir,pr,Ja]),no=gt(Qr,lr,za,ma,ln),Bo=(0,le.Z)(function(fa){if(Ga(fa),dt){var Tn=Rt(fa),Ba=Tn.map(function(sn){return yt(sn,lr,za).map(function(Cn){return Cn.option})}),gr=ma?Tn:Tn[0],Ce=ma?Ba:Ba[0];dt(gr,Ce)}}),To=(0,le.Z)(function(fa){if((!ma||la)&&Ar(""),!ma)Bo(fa);else{var Tn=Qe(fa),Ba=he(Xa),gr=he(wr),Ce=Ba.includes(Tn),sn=pr.some(function(Xn){return Qe(Xn)===Tn}),Cn=Xa,Kn=pr;if(sn&&!Ce)Kn=pr.filter(function(Xn){return Qe(Xn)!==Tn});else{var an=Ce?Ba.filter(function(Xn){return Xn!==Tn}):[].concat((0,x.Z)(Ba),[Tn]),oa=Vr(),ta;if(Ce){var Bn=(0,Je.S)(an,{checked:!1,halfCheckedKeys:gr},oa);ta=Bn.checkedKeys}else{var On=(0,Je.S)(an,!0,oa);ta=On.checkedKeys}var Aa=Bt(ta,Vr,Ja);Cn=Ir(Aa)}Bo([].concat((0,x.Z)(Kn),(0,x.Z)(Cn)))}}),ko=function(Tn,Ba){if(Ba.type==="clear"){Bo([]);return}var gr=Ba.values[0],Ce=gr.valueCells;To(Ce)},Dr=va!==void 0?va:Ra,Yr=gn||Ge,Po=In||yn,$o=function(Tn){Zn==null||Zn(Tn),An==null||An(Tn)},jo=ue.useMemo(function(){return{options:lr,fieldNames:za,values:Xa,halfValues:wr,changeOnSelect:Pt,onSelect:To,checkable:Nn,searchOptions:Or,dropdownPrefixCls:kn,loadData:ea,expandTrigger:Jn,expandIcon:Fa,loadingIcon:La,dropdownMenuColumnStyle:Jt}},[lr,za,Xa,wr,Pt,To,Nn,Or,kn,ea,Jn,Fa,La,Jt]),ei=!(Sr?Or:lr).length,$a=Sr&&Lr.matchInputWidth||ei?{}:{minWidth:"auto"};return ue.createElement(b.Provider,{value:jo},ue.createElement(Ue.Ac,(0,ct.Z)({},Wn,{ref:Nt,id:sa,prefixCls:tn,autoClearSearchValue:la,dropdownMatchSelectWidth:Yn,dropdownStyle:$a,displayValues:no,onDisplayValuesChange:ko,mode:ma?"multiple":void 0,searchValue:Sr,onSearch:br,showSearch:or,OptionList:ht,emptyOptions:ei,open:Dr,dropdownClassName:Yr,placement:Po,onDropdownVisibleChange:$o,getRawInputElement:function(){return fn}})))});Fe.SHOW_PARENT=je,Fe.SHOW_CHILD=De;var xe=Fe,at=xe,Xe=te(2738),Ae=te(62892),ft=te(53487),vn=te(19080),Qt=te(36355),jt=te(93891),on=te(1684),cn=te(19716),_e=te(32441),Ft=te(14154),Lt=te(58582),St=te(84443),Dt=te(66339),pn=te(33234),Pn=te(98447),Sn=te(17313),Rn=te(74207),na=te(83116);const aa=Ze=>{const{prefixCls:Nt,componentCls:kt,antCls:Wt}=Ze,tn=`${kt}-menu-item`,Ht=` &${tn}-expand ${tn}-expand-icon, ${tn}-loading-icon - `;return[{[kt]:{width:Ze.controlWidth}},{[`${kt}-dropdown`]:[(0,Pn.C2)(`${Nt}-checkbox`,Ze),{[`&${Wt}-select-dropdown`]:{padding:0}},{[kt]:{"&-checkbox":{top:0,marginInlineEnd:Ze.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${kt}-menu-empty`]:{[`${kt}-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({},Sn.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"},[Ht]:{color:Ze.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg}},"&-content":{flex:"auto"},[Ht]:{marginInlineStart:Ze.paddingXXS,color:Ze.colorTextDescription,fontSize:Ze.fontSizeIcon},"&-keyword":{color:Ze.colorHighlight}})}}}]},{[`${kt}-dropdown-rtl`]:{direction:"rtl"}},(0,Rn.c)(Ze)]};var zn=(0,na.Z)("Cascader",Ze=>[aa(Ze)],Ze=>{const Nt=Math.round((Ze.controlHeight-Ze.fontSize*Ze.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ze.controlItemBgActive,optionSelectedFontWeight:Ze.fontWeightStrong,optionPadding:`${Nt}px ${Ze.paddingSM}px`,menuPadding:Ze.paddingXXS}}),Pa=function(Ze,Nt){var kt={};for(var Wt in Ze)Object.prototype.hasOwnProperty.call(Ze,Wt)&&Nt.indexOf(Wt)<0&&(kt[Wt]=Ze[Wt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Wt=Object.getOwnPropertySymbols(Ze);tnPt===0?[st]:[].concat((0,x.Z)(mn),[Nt,st]),[]),tn=[];let Ht=0;return Wt.forEach((mn,st)=>{const Pt=Ht+mn.length;let dt=Ze.slice(Ht,Pt);Ht=Pt,st%2===1&&(dt=ue.createElement("span",{className:`${kt}-menu-item-keyword`,key:`separator-${st}`},dt)),tn.push(dt)}),tn}const en=(Ze,Nt,kt,Wt)=>{const tn=[],Ht=Ze.toLowerCase();return Nt.forEach((mn,st)=>{st!==0&&tn.push(" / ");let Pt=mn[Wt.label];const dt=typeof Pt;(dt==="string"||dt==="number")&&(Pt=wa(String(Pt),Ht,kt)),tn.push(Pt)}),tn},En=ue.forwardRef((Ze,Nt)=>{const{prefixCls:kt,size:Wt,disabled:tn,className:Ht,rootClassName:mn,multiple:st,bordered:Pt=!0,transitionName:dt,choiceTransitionName:ln="",popupClassName:Nn,dropdownClassName:bn,expandIcon:la,placement:Hn,showSearch:lt,allowClear:$t=!0,notFoundContent:Jn,direction:nn,getPopupContainer:kn,status:ea,showArrow:Ra,builtinPlacements:va,style:Ge}=Ze,gn=Pa(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,Xe.Z)(gn,["suffixIcon"]),{getPopupContainer:yn,getPrefixCls:In,renderEmpty:Zn,direction:An,popupOverflow:Dn,cascader:Fa}=ue.useContext(Qt.E_),La=nn||An,fn=La==="rtl",{status:Da,hasFeedback:Yn,isFormItemInput:qa,feedbackIcon:Ja}=ue.useContext(_e.aM),Wn=(0,vn.F)(Da,ea),sa=Jn||(Zn==null?void 0:Zn("Cascader"))||ue.createElement(jt.Z,{componentName:"Cascader"}),ma=In(),ra=In("select",kt),Ua=In("cascader",kt),[rr,Ga]=(0,Ft.Z)(ra),[za]=zn(Ua),{compactSize:lr,compactItemClassnames:Vr}=(0,pn.ri)(ra,nn),Ir=se()(Nn||bn,`${Ua}-dropdown`,{[`${Ua}-dropdown-rtl`]:La==="rtl"},mn,Ga),uo=ue.useMemo(()=>{if(!lt)return lt;let pr={render:en};return typeof lt=="object"&&(pr=Object.assign(Object.assign({},pr),lt)),pr},[lt]),yr=(0,cn.Z)(pr=>{var Qr;return(Qr=Wt!=null?Wt:lr)!==null&&Qr!==void 0?Qr:pr}),Sr=ue.useContext(on.Z),Ar=tn!=null?tn:Sr;let br=la;la||(br=fn?ue.createElement(Be.Z,null):ue.createElement(Le.Z,null));const Br=ue.createElement("span",{className:`${ra}-menu-item-loading-icon`},ue.createElement(Me.Z,{spin:!0})),Ta=ue.useMemo(()=>st?ue.createElement("span",{className:`${Ua}-checkbox-inner`}):!1,[st]),or=(0,St.Z)(Ze.suffixIcon,Ra),{suffixIcon:Lr,removeIcon:Or,clearIcon:Cr}=(0,Dt.Z)(Object.assign(Object.assign({},Ze),{hasFeedback:Yn,feedbackIcon:Ja,showSuffixIcon:or,multiple:st,prefixCls:ra,componentName:"Cascader"})),$r=ue.useMemo(()=>Hn!==void 0?Hn:fn?"bottomRight":"bottomLeft",[Hn,fn]),jr=(0,Lt.Z)(va,Dn),Xa=$t===!0?{clearIcon:Cr}:$t,wr=ue.createElement(at,Object.assign({prefixCls:ra,className:se()(!kt&&Ua,{[`${ra}-lg`]:yr==="large",[`${ra}-sm`]:yr==="small",[`${ra}-rtl`]:fn,[`${ra}-borderless`]:!Pt,[`${ra}-in-form-item`]:qa},(0,vn.Z)(ra,Wn,Yn),Vr,Fa==null?void 0:Fa.className,Ht,mn,Ga),disabled:Ar,style:Object.assign(Object.assign({},Fa==null?void 0:Fa.style),Ge)},Jt,{builtinPlacements:jr,direction:La,placement:$r,notFoundContent:sa,allowClear:Xa,showSearch:uo,expandIcon:br,suffixIcon:Lr,removeIcon:Or,loadingIcon:Br,checkable:Ta,dropdownClassName:Ir,dropdownPrefixCls:kt||Ua,choiceTransitionName:(0,Ae.m)(ma,"",ln),transitionName:(0,Ae.m)(ma,"slide-up",dt),getPopupContainer:kn||yn,ref:Nt}));return za(rr(wr))}),Mn=(0,ft.Z)(En);En.SHOW_PARENT=_n,En.SHOW_CHILD=Ea,En._InternalPanelDoNotUseOrYouWillBeFired=Mn;var $n=En},24905:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return pe}});var x=te(92310),ue=te.n(x),Be=te(5630),Me=te(59301),Le=te(36355),Oe=te(1684),se=te(32441),ot=Me.createContext(null),Ve=te(98447),Ue=te(14088),tt=te(4572),Je=function(ye,je){var De={};for(var Qe in ye)Object.prototype.hasOwnProperty.call(ye,Qe)&&je.indexOf(Qe)<0&&(De[Qe]=ye[Qe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(ye);he{var De;const{prefixCls:Qe,className:he,rootClassName:Te,children:Ye,indeterminate:bt=!1,style:Ne,onMouseEnter:ut,onMouseLeave:Bt,skipGroup:yt=!1,disabled:gt}=ye,Yt=Je(ye,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:vt,direction:rn,checkbox:xn}=Me.useContext(Le.E_),nt=Me.useContext(ot),{isFormItemInput:et}=Me.useContext(se.aM),qt=Me.useContext(Oe.Z),hn=(De=(nt==null?void 0:nt.disabled)||gt)!==null&&De!==void 0?De:qt,Zt=Me.useRef(Yt.value);Me.useEffect(()=>{nt==null||nt.registerValue(Yt.value)},[]),Me.useEffect(()=>{if(!yt)return Yt.value!==Zt.current&&(nt==null||nt.cancelValue(Zt.current),nt==null||nt.registerValue(Yt.value),Zt.current=Yt.value),()=>nt==null?void 0:nt.cancelValue(Yt.value)},[Yt.value]);const dn=vt("checkbox",Qe),[We,It]=(0,Ve.ZP)(dn),Gt=Object.assign({},Yt);nt&&!yt&&(Gt.onChange=function(){Yt.onChange&&Yt.onChange.apply(Yt,arguments),nt.toggleOption&&nt.toggleOption({label:Ye,value:Yt.value})},Gt.name=nt.name,Gt.checked=nt.value.includes(Yt.value));const Mt=ue()(`${dn}-wrapper`,{[`${dn}-rtl`]:rn==="rtl",[`${dn}-wrapper-checked`]:Gt.checked,[`${dn}-wrapper-disabled`]:hn,[`${dn}-wrapper-in-form-item`]:et},xn==null?void 0:xn.className,he,Te,It),ht=ue()({[`${dn}-indeterminate`]:bt},tt.A,It),rt=bt?"mixed":void 0;return We(Me.createElement(Ue.Z,{component:"Checkbox",disabled:hn},Me.createElement("label",{className:Mt,style:Object.assign(Object.assign({},xn==null?void 0:xn.style),Ne),onMouseEnter:ut,onMouseLeave:Bt},Me.createElement(Be.Z,Object.assign({"aria-checked":rt},Gt,{prefixCls:dn,className:ht,disabled:hn,ref:je})),Ye!==void 0&&Me.createElement("span",null,Ye))))};var a=Me.forwardRef(le),b=te(26407),E=te(2738),z=function(ye,je){var De={};for(var Qe in ye)Object.prototype.hasOwnProperty.call(ye,Qe)&&je.indexOf(Qe)<0&&(De[Qe]=ye[Qe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(ye);he{const{defaultValue:De,children:Qe,options:he=[],prefixCls:Te,className:Ye,rootClassName:bt,style:Ne,onChange:ut}=ye,Bt=z(ye,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:yt,direction:gt}=Me.useContext(Le.E_),[Yt,vt]=Me.useState(Bt.value||De||[]),[rn,xn]=Me.useState([]);Me.useEffect(()=>{"value"in Bt&&vt(Bt.value||[])},[Bt.value]);const nt=Me.useMemo(()=>he.map(ze=>typeof ze=="string"||typeof ze=="number"?{label:ze,value:ze}:ze),[he]),et=ze=>{xn(ve=>ve.filter(fe=>fe!==ze))},qt=ze=>{xn(ve=>[].concat((0,b.Z)(ve),[ze]))},hn=ze=>{const ve=Yt.indexOf(ze.value),fe=(0,b.Z)(Yt);ve===-1?fe.push(ze.value):fe.splice(ve,1),"value"in Bt||vt(fe),ut==null||ut(fe.filter(qe=>rn.includes(qe)).sort((qe,Rt)=>{const Fe=nt.findIndex(at=>at.value===qe),xe=nt.findIndex(at=>at.value===Rt);return Fe-xe}))},Zt=yt("checkbox",Te),dn=`${Zt}-group`,[We,It]=(0,Ve.ZP)(Zt),Gt=(0,E.Z)(Bt,["value","disabled"]),Mt=he.length?nt.map(ze=>Me.createElement(a,{prefixCls:Zt,key:ze.value.toString(),disabled:"disabled"in ze?ze.disabled:Bt.disabled,value:ze.value,checked:Yt.includes(ze.value),onChange:ze.onChange,className:`${dn}-item`,style:ze.style,title:ze.title},ze.label)):Qe,ht={toggleOption:hn,value:Yt,disabled:Bt.disabled,name:Bt.name,registerValue:qt,cancelValue:et},rt=ue()(dn,{[`${dn}-rtl`]:gt==="rtl"},Ye,bt,It);return We(Me.createElement("div",Object.assign({className:rt,style:Ne},Gt,{ref:je}),Me.createElement(ot.Provider,{value:ht},Mt)))},re=Me.forwardRef(ne);var ie=Me.memo(re);const me=a;me.Group=ie,me.__ANT_CHECKBOX=!0;var pe=me},98447:function(Ut,Kt,te){"use strict";te.d(Kt,{C2:function(){return Le}});var x=te(17313),ue=te(37613),Be=te(83116);const Me=Oe=>{const{checkboxCls:se}=Oe,ct=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Oe.marginXS,[`> ${Oe.antCls}-row`]:{flex:1}}),[ct]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ct}`]:{marginInlineStart:0},[`&${ct}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Oe.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,x.oN)(Oe))},[`${se}-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}})},{[` + `;return[{[kt]:{width:Ze.controlWidth}},{[`${kt}-dropdown`]:[(0,Pn.C2)(`${Nt}-checkbox`,Ze),{[`&${Wt}-select-dropdown`]:{padding:0}},{[kt]:{"&-checkbox":{top:0,marginInlineEnd:Ze.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${kt}-menu-empty`]:{[`${kt}-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({},Sn.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"},[Ht]:{color:Ze.colorTextDisabled}},[`&-active:not(${tn}-disabled)`]:{"&, &:hover":{fontWeight:Ze.optionSelectedFontWeight,backgroundColor:Ze.optionSelectedBg}},"&-content":{flex:"auto"},[Ht]:{marginInlineStart:Ze.paddingXXS,color:Ze.colorTextDescription,fontSize:Ze.fontSizeIcon},"&-keyword":{color:Ze.colorHighlight}})}}}]},{[`${kt}-dropdown-rtl`]:{direction:"rtl"}},(0,Rn.c)(Ze)]};var zn=(0,na.Z)("Cascader",Ze=>[aa(Ze)],Ze=>{const Nt=Math.round((Ze.controlHeight-Ze.fontSize*Ze.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:Ze.controlItemBgActive,optionSelectedFontWeight:Ze.fontWeightStrong,optionPadding:`${Nt}px ${Ze.paddingSM}px`,menuPadding:Ze.paddingXXS}}),Pa=function(Ze,Nt){var kt={};for(var Wt in Ze)Object.prototype.hasOwnProperty.call(Ze,Wt)&&Nt.indexOf(Wt)<0&&(kt[Wt]=Ze[Wt]);if(Ze!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tn=0,Wt=Object.getOwnPropertySymbols(Ze);tnPt===0?[st]:[].concat((0,x.Z)(mn),[Nt,st]),[]),tn=[];let Ht=0;return Wt.forEach((mn,st)=>{const Pt=Ht+mn.length;let dt=Ze.slice(Ht,Pt);Ht=Pt,st%2===1&&(dt=ue.createElement("span",{className:`${kt}-menu-item-keyword`,key:`separator-${st}`},dt)),tn.push(dt)}),tn}const en=(Ze,Nt,kt,Wt)=>{const tn=[],Ht=Ze.toLowerCase();return Nt.forEach((mn,st)=>{st!==0&&tn.push(" / ");let Pt=mn[Wt.label];const dt=typeof Pt;(dt==="string"||dt==="number")&&(Pt=wa(String(Pt),Ht,kt)),tn.push(Pt)}),tn},En=ue.forwardRef((Ze,Nt)=>{const{prefixCls:kt,size:Wt,disabled:tn,className:Ht,rootClassName:mn,multiple:st,bordered:Pt=!0,transitionName:dt,choiceTransitionName:ln="",popupClassName:Nn,dropdownClassName:bn,expandIcon:la,placement:Hn,showSearch:lt,allowClear:$t=!0,notFoundContent:Jn,direction:nn,getPopupContainer:kn,status:ea,showArrow:Ra,builtinPlacements:va,style:Ge}=Ze,gn=Pa(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,Xe.Z)(gn,["suffixIcon"]),{getPopupContainer:yn,getPrefixCls:In,renderEmpty:Zn,direction:An,popupOverflow:Dn,cascader:Fa}=ue.useContext(Qt.E_),La=nn||An,fn=La==="rtl",{status:Na,hasFeedback:Yn,isFormItemInput:qa,feedbackIcon:Ja}=ue.useContext(_e.aM),Wn=(0,vn.F)(Na,ea),sa=Jn||(Zn==null?void 0:Zn("Cascader"))||ue.createElement(jt.Z,{componentName:"Cascader"}),ma=In(),ra=In("select",kt),Ua=In("cascader",kt),[rr,Ga]=(0,Ft.Z)(ra),[za]=zn(Ua),{compactSize:lr,compactItemClassnames:Vr}=(0,pn.ri)(ra,nn),Ir=se()(Nn||bn,`${Ua}-dropdown`,{[`${Ua}-dropdown-rtl`]:La==="rtl"},mn,Ga),uo=ue.useMemo(()=>{if(!lt)return lt;let pr={render:en};return typeof lt=="object"&&(pr=Object.assign(Object.assign({},pr),lt)),pr},[lt]),yr=(0,cn.Z)(pr=>{var Qr;return(Qr=Wt!=null?Wt:lr)!==null&&Qr!==void 0?Qr:pr}),Sr=ue.useContext(on.Z),Ar=tn!=null?tn:Sr;let br=la;la||(br=fn?ue.createElement(Be.Z,null):ue.createElement(Le.Z,null));const Br=ue.createElement("span",{className:`${ra}-menu-item-loading-icon`},ue.createElement(Me.Z,{spin:!0})),Ta=ue.useMemo(()=>st?ue.createElement("span",{className:`${Ua}-checkbox-inner`}):!1,[st]),or=(0,St.Z)(Ze.suffixIcon,Ra),{suffixIcon:Lr,removeIcon:Or,clearIcon:Cr}=(0,Dt.Z)(Object.assign(Object.assign({},Ze),{hasFeedback:Yn,feedbackIcon:Ja,showSuffixIcon:or,multiple:st,prefixCls:ra,componentName:"Cascader"})),$r=ue.useMemo(()=>Hn!==void 0?Hn:fn?"bottomRight":"bottomLeft",[Hn,fn]),jr=(0,Lt.Z)(va,Dn),Xa=$t===!0?{clearIcon:Cr}:$t,wr=ue.createElement(at,Object.assign({prefixCls:ra,className:se()(!kt&&Ua,{[`${ra}-lg`]:yr==="large",[`${ra}-sm`]:yr==="small",[`${ra}-rtl`]:fn,[`${ra}-borderless`]:!Pt,[`${ra}-in-form-item`]:qa},(0,vn.Z)(ra,Wn,Yn),Vr,Fa==null?void 0:Fa.className,Ht,mn,Ga),disabled:Ar,style:Object.assign(Object.assign({},Fa==null?void 0:Fa.style),Ge)},Jt,{builtinPlacements:jr,direction:La,placement:$r,notFoundContent:sa,allowClear:Xa,showSearch:uo,expandIcon:br,suffixIcon:Lr,removeIcon:Or,loadingIcon:Br,checkable:Ta,dropdownClassName:Ir,dropdownPrefixCls:kt||Ua,choiceTransitionName:(0,Ae.m)(ma,"",ln),transitionName:(0,Ae.m)(ma,"slide-up",dt),getPopupContainer:kn||yn,ref:Nt}));return za(rr(wr))}),Mn=(0,ft.Z)(En);En.SHOW_PARENT=_n,En.SHOW_CHILD=Ea,En._InternalPanelDoNotUseOrYouWillBeFired=Mn;var $n=En},24905:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return pe}});var x=te(92310),ue=te.n(x),Be=te(5630),Me=te(59301),Le=te(36355),Oe=te(1684),se=te(32441),ot=Me.createContext(null),Ve=te(98447),Ue=te(14088),tt=te(4572),Je=function(ye,je){var De={};for(var Qe in ye)Object.prototype.hasOwnProperty.call(ye,Qe)&&je.indexOf(Qe)<0&&(De[Qe]=ye[Qe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(ye);he{var De;const{prefixCls:Qe,className:he,rootClassName:Te,children:Ye,indeterminate:bt=!1,style:Ne,onMouseEnter:ut,onMouseLeave:Bt,skipGroup:yt=!1,disabled:gt}=ye,Yt=Je(ye,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:vt,direction:rn,checkbox:xn}=Me.useContext(Le.E_),nt=Me.useContext(ot),{isFormItemInput:et}=Me.useContext(se.aM),qt=Me.useContext(Oe.Z),hn=(De=(nt==null?void 0:nt.disabled)||gt)!==null&&De!==void 0?De:qt,Zt=Me.useRef(Yt.value);Me.useEffect(()=>{nt==null||nt.registerValue(Yt.value)},[]),Me.useEffect(()=>{if(!yt)return Yt.value!==Zt.current&&(nt==null||nt.cancelValue(Zt.current),nt==null||nt.registerValue(Yt.value),Zt.current=Yt.value),()=>nt==null?void 0:nt.cancelValue(Yt.value)},[Yt.value]);const dn=vt("checkbox",Qe),[We,It]=(0,Ve.ZP)(dn),Gt=Object.assign({},Yt);nt&&!yt&&(Gt.onChange=function(){Yt.onChange&&Yt.onChange.apply(Yt,arguments),nt.toggleOption&&nt.toggleOption({label:Ye,value:Yt.value})},Gt.name=nt.name,Gt.checked=nt.value.includes(Yt.value));const Mt=ue()(`${dn}-wrapper`,{[`${dn}-rtl`]:rn==="rtl",[`${dn}-wrapper-checked`]:Gt.checked,[`${dn}-wrapper-disabled`]:hn,[`${dn}-wrapper-in-form-item`]:et},xn==null?void 0:xn.className,he,Te,It),ht=ue()({[`${dn}-indeterminate`]:bt},tt.A,It),rt=bt?"mixed":void 0;return We(Me.createElement(Ue.Z,{component:"Checkbox",disabled:hn},Me.createElement("label",{className:Mt,style:Object.assign(Object.assign({},xn==null?void 0:xn.style),Ne),onMouseEnter:ut,onMouseLeave:Bt},Me.createElement(Be.Z,Object.assign({"aria-checked":rt},Gt,{prefixCls:dn,className:ht,disabled:hn,ref:je})),Ye!==void 0&&Me.createElement("span",null,Ye))))};var a=Me.forwardRef(le),b=te(26407),E=te(2738),z=function(ye,je){var De={};for(var Qe in ye)Object.prototype.hasOwnProperty.call(ye,Qe)&&je.indexOf(Qe)<0&&(De[Qe]=ye[Qe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,Qe=Object.getOwnPropertySymbols(ye);he{const{defaultValue:De,children:Qe,options:he=[],prefixCls:Te,className:Ye,rootClassName:bt,style:Ne,onChange:ut}=ye,Bt=z(ye,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:yt,direction:gt}=Me.useContext(Le.E_),[Yt,vt]=Me.useState(Bt.value||De||[]),[rn,xn]=Me.useState([]);Me.useEffect(()=>{"value"in Bt&&vt(Bt.value||[])},[Bt.value]);const nt=Me.useMemo(()=>he.map(ze=>typeof ze=="string"||typeof ze=="number"?{label:ze,value:ze}:ze),[he]),et=ze=>{xn(ve=>ve.filter(fe=>fe!==ze))},qt=ze=>{xn(ve=>[].concat((0,b.Z)(ve),[ze]))},hn=ze=>{const ve=Yt.indexOf(ze.value),fe=(0,b.Z)(Yt);ve===-1?fe.push(ze.value):fe.splice(ve,1),"value"in Bt||vt(fe),ut==null||ut(fe.filter(qe=>rn.includes(qe)).sort((qe,Rt)=>{const Fe=nt.findIndex(at=>at.value===qe),xe=nt.findIndex(at=>at.value===Rt);return Fe-xe}))},Zt=yt("checkbox",Te),dn=`${Zt}-group`,[We,It]=(0,Ve.ZP)(Zt),Gt=(0,E.Z)(Bt,["value","disabled"]),Mt=he.length?nt.map(ze=>Me.createElement(a,{prefixCls:Zt,key:ze.value.toString(),disabled:"disabled"in ze?ze.disabled:Bt.disabled,value:ze.value,checked:Yt.includes(ze.value),onChange:ze.onChange,className:`${dn}-item`,style:ze.style,title:ze.title},ze.label)):Qe,ht={toggleOption:hn,value:Yt,disabled:Bt.disabled,name:Bt.name,registerValue:qt,cancelValue:et},rt=ue()(dn,{[`${dn}-rtl`]:gt==="rtl"},Ye,bt,It);return We(Me.createElement("div",Object.assign({className:rt,style:Ne},Gt,{ref:je}),Me.createElement(ot.Provider,{value:ht},Mt)))},re=Me.forwardRef(ne);var ie=Me.memo(re);const me=a;me.Group=ie,me.__ANT_CHECKBOX=!0;var pe=me},98447:function(Ut,Kt,te){"use strict";te.d(Kt,{C2:function(){return Le}});var x=te(17313),ue=te(37613),Be=te(83116);const Me=Oe=>{const{checkboxCls:se}=Oe,ct=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Oe.marginXS,[`> ${Oe.antCls}-row`]:{flex:1}}),[ct]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ct}`]:{marginInlineStart:0},[`&${ct}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,x.Wf)(Oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Oe.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,x.oN)(Oe))},[`${se}-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}})},{[` ${ct}:not(${ct}-disabled), ${se}:not(${se}-disabled) `]:{[`&:hover ${se}-inner`]:{borderColor:Oe.colorPrimary}},[`${ct}:not(${ct}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:Oe.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-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}`}}},[` @@ -178,7 +178,7 @@ ${xe}, ${at}, ${Xe} - `]:Object.assign({},le(ve))}}};var pe=(0,ot.Z)("Skeleton",ve=>{const{componentCls:fe}=ve,qe=(0,Ve.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[me(qe)]},ve=>{const{colorFillContent:fe,colorFill:qe}=ve,Rt=fe,Fe=qe;return{color:Rt,colorGradientEnd:Fe,gradientFromColor:Rt,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:qe,rootClassName:Rt,active:Fe,shape:xe="circle",size:at="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=(0,Le.Z)(ve,["prefixCls","className"]),jt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe},qe,Rt,vn);return ft(Be.createElement("div",{className:jt},Be.createElement(se,Object.assign({prefixCls:`${Ae}-avatar`,shape:xe,size:at},Qt))))},Qe=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,active:Fe,block:xe=!1,size:at="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=(0,Le.Z)(ve,["prefixCls"]),jt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe,[`${Ae}-block`]:xe},qe,Rt,vn);return ft(Be.createElement("div",{className:jt},Be.createElement(se,Object.assign({prefixCls:`${Ae}-button`,size:at},Qt))))};const he="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 Ye=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,style:Fe,active:xe}=ve,{getPrefixCls:at}=Be.useContext(Me.E_),Xe=at("skeleton",fe),[Ae,ft]=pe(Xe),vn=ue()(Xe,`${Xe}-element`,{[`${Xe}-active`]:xe},qe,Rt,ft);return Ae(Be.createElement("div",{className:vn},Be.createElement("div",{className:ue()(`${Xe}-image`,qe),style:Fe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Xe}-image-svg`},Be.createElement("path",{d:he,className:`${Xe}-image-path`})))))},Ne=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,active:Fe,block:xe,size:at="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=(0,Le.Z)(ve,["prefixCls"]),jt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe,[`${Ae}-block`]:xe},qe,Rt,vn);return ft(Be.createElement("div",{className:jt},Be.createElement(se,Object.assign({prefixCls:`${Ae}-input`,size:at},Qt))))},ut=te(92413),Bt={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"},yt=Bt,gt=te(7657),Yt=function(fe,qe){return Be.createElement(gt.Z,(0,ut.Z)({},fe,{ref:qe,icon:yt}))},vt=Be.forwardRef(Yt),rn=vt,nt=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,style:Fe,active:xe,children:at}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:xe},vn,qe,Rt),jt=at!=null?at:Be.createElement(rn,null);return ft(Be.createElement("div",{className:Qt},Be.createElement("div",{className:ue()(`${Ae}-image`,qe),style:Fe},jt)))},et=te(26407),hn=ve=>{const fe=Xe=>{const{width:Ae,rows:ft=2}=ve;if(Array.isArray(Ae))return Ae[Xe];if(ft-1===Xe)return Ae},{prefixCls:qe,className:Rt,style:Fe,rows:xe}=ve,at=(0,et.Z)(Array(xe)).map((Xe,Ae)=>Be.createElement("li",{key:Ae,style:{width:fe(Ae)}}));return Be.createElement("ul",{className:ue()(qe,Rt),style:Fe},at)},dn=ve=>{let{prefixCls:fe,className:qe,width:Rt,style:Fe}=ve;return Be.createElement("h3",{className:ue()(fe,qe),style:Object.assign({width:Rt},Fe)})};function We(ve){return ve&&typeof ve=="object"?ve:{}}function It(ve,fe){return ve&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Gt(ve,fe){return!ve&&fe?{width:"38%"}:ve&&fe?{width:"50%"}:{}}function Mt(ve,fe){const qe={};return(!ve||!fe)&&(qe.width="61%"),!ve&&fe?qe.rows=3:qe.rows=2,qe}const ht=ve=>{const{prefixCls:fe,loading:qe,className:Rt,rootClassName:Fe,style:xe,children:at,avatar:Xe=!1,title:Ae=!0,paragraph:ft=!0,active:vn,round:Qt}=ve,{getPrefixCls:jt,direction:on,skeleton:cn}=Be.useContext(Me.E_),_e=jt("skeleton",fe),[Ft,Lt]=pe(_e);if(qe||!("loading"in ve)){const St=!!Xe,Dt=!!Ae,pn=!!ft;let Pn;if(St){const na=Object.assign(Object.assign({prefixCls:`${_e}-avatar`},It(Dt,pn)),We(Xe));Pn=Be.createElement("div",{className:`${_e}-header`},Be.createElement(se,Object.assign({},na)))}let Sn;if(Dt||pn){let na;if(Dt){const zn=Object.assign(Object.assign({prefixCls:`${_e}-title`},Gt(St,pn)),We(Ae));na=Be.createElement(dn,Object.assign({},zn))}let aa;if(pn){const zn=Object.assign(Object.assign({prefixCls:`${_e}-paragraph`},Mt(St,Dt)),We(ft));aa=Be.createElement(hn,Object.assign({},zn))}Sn=Be.createElement("div",{className:`${_e}-content`},na,aa)}const Rn=ue()(_e,{[`${_e}-with-avatar`]:St,[`${_e}-active`]:vn,[`${_e}-rtl`]:on==="rtl",[`${_e}-round`]:Qt},cn==null?void 0:cn.className,Rt,Fe,Lt);return Ft(Be.createElement("div",{className:Rn,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),xe)},Pn,Sn))}return typeof at!="undefined"?at:null};ht.Button=Qe,ht.Avatar=je,ht.Input=Ne,ht.Image=Ye,ht.Node=nt;var rt=ht,ze=rt},31797:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return pe}});var x=te(59301),ue=te(56762),Be=te(92343),Me=te(92310),Le=te.n(Me),Oe=te(36355),se=te(61621),ot=ye=>{const{value:je,formatter:De,precision:Qe,decimalSeparator:he,groupSeparator:Te="",prefixCls:Ye}=ye;let bt;if(typeof De=="function")bt=De(je);else{const Ne=String(je),ut=Ne.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ut||Ne==="-")bt=Ne;else{const Bt=ut[1];let yt=ut[2]||"0",gt=ut[4]||"";yt=yt.replace(/\B(?=(\d{3})+(?!\d))/g,Te),typeof Qe=="number"&&(gt=gt.padEnd(Qe,"0").slice(0,Qe>0?Qe:0)),gt&&(gt=`${he}${gt}`),bt=[x.createElement("span",{key:"int",className:`${Ye}-content-value-int`},Bt,yt),gt&&x.createElement("span",{key:"decimal",className:`${Ye}-content-value-decimal`},gt)]}}return x.createElement("span",{className:`${Ye}-content-value`},bt)},Ve=te(17313),Ue=te(83116),tt=te(37613);const Je=ye=>{const{componentCls:je,marginXXS:De,padding:Qe,colorTextDescription:he,titleFontSize:Te,colorTextHeading:Ye,contentFontSize:bt,fontFamily:Ne}=ye;return{[`${je}`]:Object.assign(Object.assign({},(0,Ve.Wf)(ye)),{[`${je}-title`]:{marginBottom:De,color:he,fontSize:Te},[`${je}-skeleton`]:{paddingTop:Qe},[`${je}-content`]:{color:Ye,fontSize:bt,fontFamily:Ne,[`${je}-content-value`]:{display:"inline-block",direction:"ltr"},[`${je}-content-prefix, ${je}-content-suffix`]:{display:"inline-block"},[`${je}-content-prefix`]:{marginInlineEnd:De},[`${je}-content-suffix`]:{marginInlineStart:De}}})}};var le=(0,Ue.Z)("Statistic",ye=>{const je=(0,tt.TS)(ye,{});return[Je(je)]},ye=>{const{fontSizeHeading3:je,fontSize:De}=ye;return{titleFontSize:De,contentFontSize:je}}),a=ye=>{const{prefixCls:je,className:De,rootClassName:Qe,style:he,valueStyle:Te,value:Ye=0,title:bt,valueRender:Ne,prefix:ut,suffix:Bt,loading:yt=!1,onMouseEnter:gt,onMouseLeave:Yt,decimalSeparator:vt=".",groupSeparator:rn=","}=ye,{getPrefixCls:xn,direction:nt,statistic:et}=x.useContext(Oe.E_),qt=xn("statistic",je),[hn,Zt]=le(qt),dn=x.createElement(ot,Object.assign({decimalSeparator:vt,groupSeparator:rn,prefixCls:qt},ye,{value:Ye})),We=Le()(qt,{[`${qt}-rtl`]:nt==="rtl"},et==null?void 0:et.className,De,Qe,Zt);return hn(x.createElement("div",{className:We,style:Object.assign(Object.assign({},et==null?void 0:et.style),he),onMouseEnter:gt,onMouseLeave:Yt},bt&&x.createElement("div",{className:`${qt}-title`},bt),x.createElement(se.Z,{paragraph:!1,loading:yt,className:`${qt}-skeleton`},x.createElement("div",{style:Te,className:`${qt}-content`},ut&&x.createElement("span",{className:`${qt}-content-prefix`},ut),Ne?Ne(dn):dn,Bt&&x.createElement("span",{className:`${qt}-content-suffix`},Bt)))))};const b=[["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(ye,je){let De=ye;const Qe=/\[[^\]]*]/g,he=(je.match(Qe)||[]).map(Ne=>Ne.slice(1,-1)),Te=je.replace(Qe,"[]"),Ye=b.reduce((Ne,ut)=>{let[Bt,yt]=ut;if(Ne.includes(Bt)){const gt=Math.floor(De/yt);return De-=gt*yt,Ne.replace(new RegExp(`${Bt}+`,"g"),Yt=>{const vt=Yt.length;return gt.toString().padStart(vt,"0")})}return Ne},Te);let bt=0;return Ye.replace(Qe,()=>{const Ne=he[bt];return bt+=1,Ne})}function z(ye,je){const{format:De=""}=je,Qe=new Date(ye).getTime(),he=Date.now(),Te=Math.max(Qe-he,0);return E(Te,De)}const ne=1e3/30;function re(ye){return new Date(ye).getTime()}const ie=ye=>{const{value:je,format:De="HH:mm:ss",onChange:Qe,onFinish:he}=ye,Te=(0,ue.Z)(),Ye=x.useRef(null),bt=()=>{he==null||he(),Ye.current&&(clearInterval(Ye.current),Ye.current=null)},Ne=()=>{const yt=re(je);yt>=Date.now()&&(Ye.current=setInterval(()=>{Te(),Qe==null||Qe(yt-Date.now()),yt(Ne(),()=>{Ye.current&&(clearInterval(Ye.current),Ye.current=null)}),[je]);const ut=(yt,gt)=>z(yt,Object.assign(Object.assign({},gt),{format:De})),Bt=yt=>(0,Be.Tm)(yt,{title:void 0});return x.createElement(a,Object.assign({},ye,{valueRender:Bt,formatter:ut}))};var me=x.memo(ie);a.Countdown=me;var pe=a},15969:function(Ut,Kt,te){"use strict";te.d(Kt,{N:function(){return x}});const x=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},1710:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return Ka}});var x={},ue="rc-table-internal-hook",Be=te(33606),Me=te(6089),Le=te(34280),Oe=te(13697),se=te(59301),ct=te(4676);function ot(ge){var ce=se.createContext(void 0),be=function(Ie){var He=Ie.value,pt=Ie.children,xt=se.useRef(He);xt.current=He;var it=se.useState(function(){return{getValue:function(){return xt.current},listeners:new Set}}),zt=(0,Be.Z)(it,1),wt=zt[0];return(0,Le.Z)(function(){(0,ct.unstable_batchedUpdates)(function(){wt.listeners.forEach(function(Xt){Xt(He)})})},[He]),se.createElement(ce.Provider,{value:wt},pt)};return{Context:ce,Provider:be,defaultValue:ge}}function Ve(ge,ce){var be=(0,Me.Z)(typeof ce=="function"?ce:function(Xt){if(ce===void 0)return Xt;if(!Array.isArray(ce))return Xt[ce];var Ln={};return ce.forEach(function(_t){Ln[_t]=Xt[_t]}),Ln}),ke=se.useContext(ge==null?void 0:ge.Context),Ie=ke||{},He=Ie.listeners,pt=Ie.getValue,xt=se.useRef();xt.current=be(ke?pt():ge==null?void 0:ge.defaultValue);var it=se.useState({}),zt=(0,Be.Z)(it,2),wt=zt[1];return(0,Le.Z)(function(){if(!ke)return;function Xt(Ln){var _t=be(Ln);(0,Oe.Z)(xt.current,_t,!0)||wt({})}return He.add(Xt),function(){He.delete(Xt)}},[ke]),xt.current}var Ue=te(92413),tt=te(8654);function Je(){var ge=se.createContext(null);function ce(){return se.useContext(ge)}function be(Ie,He){var pt=(0,tt.Yr)(Ie),xt=function(zt,wt){var Xt=pt?{ref:wt}:{},Ln=se.useRef(0),_t=se.useRef(zt),At=ce();return At!==null?se.createElement(Ie,(0,Ue.Z)({},zt,Xt)):((!He||He(_t.current,zt))&&(Ln.current+=1),_t.current=zt,se.createElement(ge.Provider,{value:Ln.current},se.createElement(Ie,(0,Ue.Z)({},zt,Xt))))};return pt?se.forwardRef(xt):xt}function ke(Ie,He){var pt=(0,tt.Yr)(Ie),xt=function(zt,wt){var Xt=pt?{ref:wt}:{};return ce(),se.createElement(Ie,(0,Ue.Z)({},zt,Xt))};return pt?se.memo(se.forwardRef(xt),He):se.memo(xt,He)}return{makeImmutable:be,responseImmutable:ke,useImmutableMark:ce}}var le=Je(),y=le.makeImmutable,a=le.responseImmutable,b=le.useImmutableMark,E=Je(),z=E.makeImmutable,ne=E.responseImmutable,re=E.useImmutableMark,ie=ot(),me=ie;function pe(ge,ce){var be=se.useRef(0);be.current+=1;var ke=se.useRef(ge),Ie=[];Object.keys(ge||{}).map(function(pt){var xt;(ge==null?void 0:ge[pt])!==((xt=ke.current)===null||xt===void 0?void 0:xt[pt])&&Ie.push(pt)}),ke.current=ge;var He=se.useRef([]);return Ie.length&&(He.current=Ie),se.useDebugValue(be.current),se.useDebugValue(He.current.join(", ")),ce&&console.log("".concat(ce,":"),be.current,He.current),be.current}var ye=null,je=se.memo(function(){var ge=pe();return se.createElement("h1",null,"Render Times: ",ge)});je.displayName="RenderBlock";var De=te(39559),Qe=te(33708),he=te(400),Te=te(92310),Ye=te.n(Te),bt=te(80547),Ne=te(97938),ut=te(48736),Bt=se.createContext({renderWithProps:!1}),yt=Bt,gt="RC_TABLE_KEY";function Yt(ge){return ge==null?[]:Array.isArray(ge)?ge:[ge]}function vt(ge){var ce=[],be={};return ge.forEach(function(ke){for(var Ie=ke||{},He=Ie.key,pt=Ie.dataIndex,xt=He||Yt(pt).join("-")||gt;be[xt];)xt="".concat(xt,"_next");be[xt]=!0,ce.push(xt)}),ce}function rn(ge){return ge!=null}function xn(ge){return ge&&(0,De.Z)(ge)==="object"&&!Array.isArray(ge)&&!se.isValidElement(ge)}function nt(ge,ce,be,ke,Ie,He){var pt=se.useContext(yt),xt=re(),it=(0,bt.Z)(function(){if(rn(ke))return[ke];var zt=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],wt=(0,Ne.Z)(ge,zt),Xt=wt,Ln=void 0;if(Ie){var _t=Ie(wt,ge,be);xn(_t)?(Xt=_t.children,Ln=_t.props,pt.renderWithProps=!0):Xt=_t}return[Xt,Ln]},[xt,ge,ke,ce,Ie,be],function(zt,wt){if(He){var Xt=(0,Be.Z)(zt,2),Ln=Xt[1],_t=(0,Be.Z)(wt,2),At=_t[1];return He(At,Ln)}return pt.renderWithProps?!0:!(0,Oe.Z)(zt,wt,!0)});return it}function et(ge,ce,be,ke){var Ie=ge+ce-1;return ge<=ke&&Ie>=be}function qt(ge,ce){return Ve(me,function(be){var ke=et(ge,ce||1,be.hoverStartRow,be.hoverEndRow);return[ke,be.onHover]})}var hn=function(ce){var be=ce.ellipsis,ke=ce.rowType,Ie=ce.children,He,pt=be===!0?{showTitle:!0}:be;return pt&&(pt.showTitle||ke==="header")&&(typeof Ie=="string"||typeof Ie=="number"?He=Ie.toString():se.isValidElement(Ie)&&typeof Ie.props.children=="string"&&(He=Ie.props.children)),He};function Zt(ge){var ce,be,ke,Ie,He,pt,xt,it,zt=ge.component,wt=ge.children,Xt=ge.ellipsis,Ln=ge.scope,_t=ge.prefixCls,At=ge.className,Un=ge.align,jn=ge.record,Qn=ge.render,Vn=ge.dataIndex,qn=ge.renderIndex,Fn=ge.shouldCellUpdate,Ca=ge.index,ba=ge.rowType,Za=ge.colSpan,ja=ge.rowSpan,ia=ge.fixLeft,ya=ge.fixRight,Sa=ge.firstFixLeft,Gn=ge.lastFixLeft,ga=ge.firstFixRight,Ma=ge.lastFixRight,tr=ge.appendNode,ar=ge.additionalProps,Wa=ar===void 0?{}:ar,mr=ge.isSticky,hr="".concat(_t,"-cell"),Wr=Ve(me,["supportSticky","allColumnsFixedLeft"]),Zr=Wr.supportSticky,ho=Wr.allColumnsFixedLeft,qr=nt(jn,Vn,qn,wt,Qn,Fn),xr=(0,Be.Z)(qr,2),Do=xr[0],Ur=xr[1],So={},ao=typeof ia=="number"&&Zr,Jo=typeof ya=="number"&&Zr;ao&&(So.position="sticky",So.left=ia),Jo&&(So.position="sticky",So.right=ya);var sr=(ce=(be=(ke=Ur==null?void 0:Ur.colSpan)!==null&&ke!==void 0?ke:Wa.colSpan)!==null&&be!==void 0?be:Za)!==null&&ce!==void 0?ce:1,ur=(Ie=(He=(pt=Ur==null?void 0:Ur.rowSpan)!==null&&pt!==void 0?pt:Wa.rowSpan)!==null&&He!==void 0?He:ja)!==null&&Ie!==void 0?Ie:1,_a=qt(Ca,ur),er=(0,Be.Z)(_a,2),Gr=er[0],nr=er[1],cr=function(No){var Io;jn&&nr(Ca,Ca+ur-1),Wa==null||(Io=Wa.onMouseEnter)===null||Io===void 0||Io.call(Wa,No)},Rr=function(No){var Io;jn&&nr(-1,-1),Wa==null||(Io=Wa.onMouseLeave)===null||Io===void 0||Io.call(Wa,No)};if(sr===0||ur===0)return null;var Fr=(xt=Wa.title)!==null&&xt!==void 0?xt:hn({rowType:ba,ellipsis:Xt,children:Do}),ro=Ye()(hr,At,(it={},(0,he.Z)(it,"".concat(hr,"-fix-left"),ao&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-first"),Sa&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-last"),Gn&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-all"),Gn&&ho&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right"),Jo&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right-first"),ga&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right-last"),Ma&&Zr),(0,he.Z)(it,"".concat(hr,"-ellipsis"),Xt),(0,he.Z)(it,"".concat(hr,"-with-append"),tr),(0,he.Z)(it,"".concat(hr,"-fix-sticky"),(ao||Jo)&&mr&&Zr),(0,he.Z)(it,"".concat(hr,"-row-hover"),!Ur&&Gr),it),Wa.className,Ur==null?void 0:Ur.className),Ao={};Un&&(Ao.textAlign=Un);var Zo=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},So),Wa.style),Ao),Ur==null?void 0:Ur.style),Ro=Do;return(0,De.Z)(Ro)==="object"&&!Array.isArray(Ro)&&!se.isValidElement(Ro)&&(Ro=null),Xt&&(Gn||ga)&&(Ro=se.createElement("span",{className:"".concat(hr,"-content")},Ro)),se.createElement(zt,(0,Ue.Z)({},Ur,Wa,{className:ro,style:Zo,title:Fr,scope:Ln,onMouseEnter:cr,onMouseLeave:Rr,colSpan:sr!==1?sr:null,rowSpan:ur!==1?ur:null}),tr,Ro)}var dn=se.memo(Zt);function We(ge,ce,be,ke,Ie,He){var pt=be[ge]||{},xt=be[ce]||{},it,zt;pt.fixed==="left"?it=ke.left[Ie==="rtl"?ce:ge]:xt.fixed==="right"&&(zt=ke.right[Ie==="rtl"?ge:ce]);var wt=!1,Xt=!1,Ln=!1,_t=!1,At=be[ce+1],Un=be[ge-1],jn=!(He!=null&&He.children);if(Ie==="rtl"){if(it!==void 0){var Qn=Un&&Un.fixed==="left";_t=!Qn&&jn}else if(zt!==void 0){var Vn=At&&At.fixed==="right";Ln=!Vn&&jn}}else if(it!==void 0){var qn=At&&At.fixed==="left";wt=!qn&&jn}else if(zt!==void 0){var Fn=Un&&Un.fixed==="right";Xt=!Fn&&jn}return{fixLeft:it,fixRight:zt,lastFixLeft:wt,firstFixRight:Xt,lastFixRight:Ln,firstFixLeft:_t,isSticky:ke.isSticky}}var It=se.createContext({}),Gt=It;function Mt(ge){var ce=ge.className,be=ge.index,ke=ge.children,Ie=ge.colSpan,He=Ie===void 0?1:Ie,pt=ge.rowSpan,xt=ge.align,it=Ve(me,["prefixCls","direction"]),zt=it.prefixCls,wt=it.direction,Xt=se.useContext(Gt),Ln=Xt.scrollColumnIndex,_t=Xt.stickyOffsets,At=Xt.flattenColumns,Un=Xt.columns,jn=be+He-1,Qn=jn+1===Ln?He+1:He,Vn=We(be,be+Qn-1,At,_t,wt,Un==null?void 0:Un[be]);return se.createElement(dn,(0,Ue.Z)({className:ce,index:be,component:"td",prefixCls:zt,record:null,dataIndex:null,align:xt,colSpan:Qn,rowSpan:pt,render:function(){return ke}},Vn))}var ht=te(37061),rt=["children"];function ze(ge){var ce=ge.children,be=(0,ht.Z)(ge,rt);return se.createElement("tr",be,ce)}function ve(ge){var ce=ge.children;return ce}ve.Row=ze,ve.Cell=Mt;var fe=ve;function qe(ge){var ce=ge.children,be=ge.stickyOffsets,ke=ge.flattenColumns,Ie=ge.columns,He=Ve(me,"prefixCls"),pt=ke.length-1,xt=ke[pt],it=se.useMemo(function(){return{stickyOffsets:be,flattenColumns:ke,scrollColumnIndex:xt!=null&&xt.scrollbar?pt:null,columns:Ie}},[xt,ke,pt,be,Ie]);return se.createElement(Gt.Provider,{value:it},se.createElement("tfoot",{className:"".concat(He,"-summary")},ce))}var Rt=ne(qe),Fe=fe,xe=te(70425),at=te(29301),Xe=te(29194),Ae=te(24514),ft=te(75152),vn=te(26112);function Qt(ge,ce,be,ke,Ie,He,pt){ge.push({record:ce,indent:be,index:pt});var xt=He(ce),it=Ie==null?void 0:Ie.has(xt);if(ce&&Array.isArray(ce[ke])&&it)for(var zt=0;zt1?Sa-1:0),ga=1;ga=0;xt-=1){var it=ce[xt],zt=be&&be[xt],wt=zt&&zt[na];if(it||wt||pt){var Xt=wt||{},Ln=Xt.columnType,_t=(0,ht.Z)(Xt,zn);Ie.unshift(se.createElement("col",(0,Ue.Z)({key:xt,style:{width:it}},_t))),pt=!0}}return se.createElement("colgroup",null,Ie)}var Ea=Pa,_n=te(26407),wa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(ge,ce){return(0,se.useMemo)(function(){for(var be=[],ke=0;ke1?"colgroup":"col":null,ellipsis:jn.ellipsis,align:jn.align,component:jn.title?He:pt,prefixCls:wt,key:_t[Un]},Qn,{additionalProps:Vn,rowType:"header"}))}))}$n.displayName="HeaderRow";var Ze=$n;function Nt(ge){var ce=[];function be(pt,xt){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[it]=ce[it]||[];var zt=xt,wt=pt.filter(Boolean).map(function(Xt){var Ln={key:Xt.key,className:Xt.className||"",children:Xt.title,column:Xt,colStart:zt},_t=1,At=Xt.children;return At&&At.length>0&&(_t=be(At,zt,it+1).reduce(function(Un,jn){return Un+jn},0),Ln.hasSubColumns=!0),"colSpan"in Xt&&(_t=Xt.colSpan),"rowSpan"in Xt&&(Ln.rowSpan=Xt.rowSpan),Ln.colSpan=_t,Ln.colEnd=Ln.colStart+_t-1,ce[it].push(Ln),zt+=_t,_t});return wt}be(ge,0);for(var ke=ce.length,Ie=function(xt){ce[xt].forEach(function(it){!("rowSpan"in it)&&!it.hasSubColumns&&(it.rowSpan=ke-xt)})},He=0;He1&&arguments[1]!==void 0?arguments[1]:"";return typeof ce=="number"?ce:ce.endsWith("%")?ge*parseFloat(ce)/100:null}function mn(ge,ce){return se.useMemo(function(){if(ce&&ce>0){var be=0,ke=0;ge.forEach(function(zt){var wt=Ht(ce,zt.width);wt?be+=wt:ke+=1});var Ie=ce-be,He=ke,pt=Ie/ke,xt=0,it=ge.map(function(zt){var wt=(0,Qe.Z)({},zt),Xt=Ht(ce,wt.width);if(Xt)wt.width=Xt;else{var Ln=Math.floor(pt);wt.width=He===1?Ie:Ln,Ie-=Ln,He-=1}return xt+=wt.width,wt});return[it,xt]}return[ge,ce]},[ge,ce])}var st=["children"],Pt=["fixed"];function dt(ge){return(0,tn.Z)(ge).filter(function(ce){return se.isValidElement(ce)}).map(function(ce){var be=ce.key,ke=ce.props,Ie=ke.children,He=(0,ht.Z)(ke,st),pt=(0,Qe.Z)({key:be},He);return Ie&&(pt.children=dt(Ie)),pt})}function ln(ge){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ge.filter(function(be){return be&&(0,De.Z)(be)==="object"}).reduce(function(be,ke,Ie){var He=ke.fixed,pt=He===!0?"left":He,xt="".concat(ce,"-").concat(Ie),it=ke.children;return it&&it.length>0?[].concat((0,_n.Z)(be),(0,_n.Z)(ln(it,xt).map(function(zt){return(0,Qe.Z)({fixed:pt},zt)}))):[].concat((0,_n.Z)(be),[(0,Qe.Z)((0,Qe.Z)({key:xt},ke),{},{fixed:pt})])},[])}function Nn(ge){for(var ce=!0,be=0;be=0;He-=1){var pt=ge[He];if(Ie&&pt.fixed!=="right")Ie=!1;else if(!Ie&&pt.fixed==="right"){warning(!1,"Index ".concat(He+1," of `columns` missing `fixed='right'` prop."));break}}}function bn(ge){return ge.map(function(ce){var be=ce.fixed,ke=(0,ht.Z)(ce,Pt),Ie=be;return be==="left"?Ie="right":be==="right"&&(Ie="left"),(0,Qe.Z)({fixed:Ie},ke)})}function la(ge,ce){var be=ge.prefixCls,ke=ge.columns,Ie=ge.children,He=ge.expandable,pt=ge.expandedKeys,xt=ge.columnTitle,it=ge.getRowKey,zt=ge.onTriggerExpand,wt=ge.expandIcon,Xt=ge.rowExpandable,Ln=ge.expandIconColumnIndex,_t=ge.direction,At=ge.expandRowByClick,Un=ge.columnWidth,jn=ge.fixed,Qn=ge.scrollWidth,Vn=se.useMemo(function(){return ke||dt(Ie)},[ke,Ie]),qn=se.useMemo(function(){if(He){var ya,Sa=Vn.slice();if(!Sa.includes(x)){var Gn=Ln||0;Gn>=0&&Sa.splice(Gn,0,x)}var ga=Sa.indexOf(x);Sa=Sa.filter(function(Wa,mr){return Wa!==x||mr===ga});var Ma=Vn[ga],tr;(jn==="left"||jn)&&!Ln?tr="left":(jn==="right"||jn)&&Ln===Vn.length?tr="right":tr=Ma?Ma.fixed:null;var ar=(ya={},(0,he.Z)(ya,na,{className:"".concat(be,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(ya,"title",xt),(0,he.Z)(ya,"fixed",tr),(0,he.Z)(ya,"className","".concat(be,"-row-expand-icon-cell")),(0,he.Z)(ya,"width",Un),(0,he.Z)(ya,"render",function(mr,hr,Wr){var Zr=it(hr,Wr),ho=pt.has(Zr),qr=Xt?Xt(hr):!0,xr=wt({prefixCls:be,expanded:ho,expandable:qr,record:hr,onExpand:zt});return At?se.createElement("span",{onClick:function(Ur){return Ur.stopPropagation()}},xr):xr}),ya);return Sa.map(function(Wa){return Wa===x?ar:Wa})}return Vn.filter(function(Wa){return Wa!==x})},[He,Vn,it,pt,wt,_t]),Fn=se.useMemo(function(){var ya=qn;return ce&&(ya=ce(ya)),ya.length||(ya=[{render:function(){return null}}]),ya},[ce,qn,_t]),Ca=se.useMemo(function(){return _t==="rtl"?bn(ln(Fn)):ln(Fn)},[Fn,_t,Qn]),ba=mn(Ca,Qn),Za=(0,Be.Z)(ba,2),ja=Za[0],ia=Za[1];return[Fn,ja,ia]}var Hn=la;function lt(ge){var ce,be=ge.prefixCls,ke=ge.record,Ie=ge.onExpand,He=ge.expanded,pt=ge.expandable,xt="".concat(be,"-row-expand-icon");if(!pt)return se.createElement("span",{className:Ye()(xt,"".concat(be,"-row-spaced"))});var it=function(wt){Ie(ke,wt),wt.stopPropagation()};return se.createElement("span",{className:Ye()(xt,(ce={},(0,he.Z)(ce,"".concat(be,"-row-expanded"),He),(0,he.Z)(ce,"".concat(be,"-row-collapsed"),!He),ce)),onClick:it})}function $t(ge,ce,be){var ke=[];function Ie(He){(He||[]).forEach(function(pt,xt){ke.push(ce(pt,xt)),Ie(pt[be])})}return Ie(ge),ke}function Jn(ge,ce,be){var ke=aa(ge),Ie=ke.expandIcon,He=ke.expandedRowKeys,pt=ke.defaultExpandedRowKeys,xt=ke.defaultExpandAllRows,it=ke.expandedRowRender,zt=ke.onExpand,wt=ke.onExpandedRowsChange,Xt=ke.childrenColumnName,Ln=Ie||lt,_t=Xt||"children",At=se.useMemo(function(){return it?"row":ge.expandable&&ge.internalHooks===ue&&ge.expandable.__PARENT_RENDER_ICON__||ce.some(function(Ca){return Ca&&(0,De.Z)(Ca)==="object"&&Ca[_t]})?"nest":!1},[!!it,ce]),Un=se.useState(function(){return pt||(xt?$t(ce,be,_t):[])}),jn=(0,Be.Z)(Un,2),Qn=jn[0],Vn=jn[1],qn=se.useMemo(function(){return new Set(He||Qn||[])},[He,Qn]),Fn=se.useCallback(function(Ca){var ba=be(Ca,ce.indexOf(Ca)),Za,ja=qn.has(ba);ja?(qn.delete(ba),Za=(0,_n.Z)(qn)):Za=[].concat((0,_n.Z)(qn),[ba]),Vn(Za),zt&&zt(!ja,Ca),wt&&wt(Za)},[be,qn,ce,zt,wt]);return[ke,At,qn,Ln,_t,Fn]}function nn(ge,ce,be,ke){var Ie=ge.map(function(He,pt){return We(pt,pt,ge,ce,be,ke==null?void 0:ke[pt])});return(0,bt.Z)(function(){return Ie},[Ie],function(He,pt){return!(0,Oe.Z)(He,pt)})}function kn(ge){var ce=(0,se.useRef)(ge),be=(0,se.useState)({}),ke=(0,Be.Z)(be,2),Ie=ke[1],He=(0,se.useRef)(null),pt=(0,se.useRef)([]);function xt(it){pt.current.push(it);var zt=Promise.resolve();He.current=zt,zt.then(function(){if(He.current===zt){var wt=pt.current,Xt=ce.current;pt.current=[],wt.forEach(function(Ln){ce.current=Ln(ce.current)}),He.current=null,Xt!==ce.current&&Ie({})}})}return(0,se.useEffect)(function(){return function(){He.current=null}},[]),[ce.current,xt]}function ea(ge){var ce=(0,se.useRef)(ge||null),be=(0,se.useRef)();function ke(){window.clearTimeout(be.current)}function Ie(pt){ce.current=pt,ke(),be.current=window.setTimeout(function(){ce.current=null,be.current=void 0},100)}function He(){return ce.current}return(0,se.useEffect)(function(){return ke},[]),[Ie,He]}function Ra(){var ge=se.useState(-1),ce=(0,Be.Z)(ge,2),be=ce[0],ke=ce[1],Ie=se.useState(-1),He=(0,Be.Z)(Ie,2),pt=He[0],xt=He[1],it=se.useCallback(function(zt,wt){ke(zt),xt(wt)},[]);return[be,pt,it]}var va=te(47273),Ge=(0,va.Z)()?window:null;function gn(ge,ce){var be=(0,De.Z)(ge)==="object"?ge:{},ke=be.offsetHeader,Ie=ke===void 0?0:ke,He=be.offsetSummary,pt=He===void 0?0:He,xt=be.offsetScroll,it=xt===void 0?0:xt,zt=be.getContainer,wt=zt===void 0?function(){return Ge}:zt,Xt=wt()||Ge;return se.useMemo(function(){var Ln=!!ge;return{isSticky:Ln,stickyClassName:Ln?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ie,offsetSummary:pt,offsetScroll:it,container:Xt}},[it,Ie,pt,ce,Xt])}function Jt(ge,ce,be){var ke=(0,se.useMemo)(function(){for(var Ie=[],He=[],pt=0,xt=0,it=0;it=Xt&&(Wa=Xt-Ln),pt({scrollLeft:Wa/Xt*(wt+2)}),Vn.current.x=ga.pageX},ya=function(){if(He.current){var ga=(0,Dn.os)(He.current).top,Ma=ga+He.current.offsetHeight,tr=it===window?document.documentElement.scrollTop+window.innerHeight:(0,Dn.os)(it).top+it.clientHeight;Ma-(0,ft.Z)()<=tr||ga>=tr-xt?Qn(function(ar){return(0,Qe.Z)((0,Qe.Z)({},ar),{},{isHiddenScrollBar:!0})}):Qn(function(ar){return(0,Qe.Z)((0,Qe.Z)({},ar),{},{isHiddenScrollBar:!1})})}},Sa=function(ga){Qn(function(Ma){return(0,Qe.Z)((0,Qe.Z)({},Ma),{},{scrollLeft:ga/wt*Xt||0})})};return se.useImperativeHandle(be,function(){return{setScrollLeft:Sa}}),se.useEffect(function(){var Gn=(0,An.Z)(document.body,"mouseup",Za,!1),ga=(0,An.Z)(document.body,"mousemove",ia,!1);return ya(),function(){Gn.remove(),ga.remove()}},[Ln,Ca]),se.useEffect(function(){var Gn=(0,An.Z)(it,"scroll",ya,!1),ga=(0,An.Z)(window,"resize",ya,!1);return function(){Gn.remove(),ga.remove()}},[it]),se.useEffect(function(){jn.isHiddenScrollBar||Qn(function(Gn){var ga=He.current;return ga?(0,Qe.Z)((0,Qe.Z)({},Gn),{},{scrollLeft:ga.scrollLeft/ga.scrollWidth*ga.clientWidth}):Gn})},[jn.isHiddenScrollBar]),wt<=Xt||!Ln||jn.isHiddenScrollBar?null:se.createElement("div",{style:{height:(0,ft.Z)(),width:Xt,bottom:xt},className:"".concat(zt,"-sticky-scroll")},se.createElement("div",{onMouseDown:ja,ref:_t,className:Ye()("".concat(zt,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),Ca)),style:{width:"".concat(Ln,"px"),transform:"translate3d(".concat(jn.scrollLeft,"px, 0, 0)")}}))},La=se.forwardRef(Fa);function fn(ge){return null}var Da=fn;function Yn(ge){return null}var qa=Yn,Ja="rc-table",Wn=[],sa={};function ma(){return"No Data"}function ra(ge){var ce,be=(0,Qe.Z)({rowKey:"key",prefixCls:Ja,emptyText:ma},ge),ke=be.prefixCls,Ie=be.className,He=be.rowClassName,pt=be.style,xt=be.data,it=be.rowKey,zt=be.scroll,wt=be.tableLayout,Xt=be.direction,Ln=be.title,_t=be.footer,At=be.summary,Un=be.caption,jn=be.id,Qn=be.showHeader,Vn=be.components,qn=be.emptyText,Fn=be.onRow,Ca=be.onHeaderRow,ba=be.internalHooks,Za=be.transformColumns,ja=be.internalRefs,ia=be.tailor,ya=be.sticky,Sa=xt||Wn,Gn=!!Sa.length,ga=ba===ue,Ma=se.useCallback(function(Jr,wo){return(0,Ne.Z)(Vn,Jr)||wo},[Vn]),tr=se.useMemo(function(){return typeof it=="function"?it:function(Jr){var wo=Jr&&Jr[it];return wo}},[it]),ar=Ma(["body"]),Wa=Ra(),mr=(0,Be.Z)(Wa,3),hr=mr[0],Wr=mr[1],Zr=mr[2],ho=Jn(be,Sa,tr),qr=(0,Be.Z)(ho,6),xr=qr[0],Do=qr[1],Ur=qr[2],So=qr[3],ao=qr[4],Jo=qr[5],sr=zt==null?void 0:zt.x,ur=se.useState(0),_a=(0,Be.Z)(ur,2),er=_a[0],Gr=_a[1],nr=Hn((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},be),xr),{},{expandable:!!xr.expandedRowRender,columnTitle:xr.columnTitle,expandedKeys:Ur,getRowKey:tr,onTriggerExpand:Jo,expandIcon:So,expandIconColumnIndex:xr.expandIconColumnIndex,direction:Xt,scrollWidth:ga&&ia&&typeof sr=="number"?sr:null}),ga?Za:null),cr=(0,Be.Z)(nr,3),Rr=cr[0],Fr=cr[1],ro=cr[2],Ao=ro!=null?ro:sr,Zo=se.useMemo(function(){return{columns:Rr,flattenColumns:Fr}},[Rr,Fr]),Ro=se.useRef(),ci=se.useRef(),No=se.useRef(),Io=se.useRef(),Ai=se.useRef(),Xr=se.useState(!1),eo=(0,Be.Z)(Xr,2),co=eo[0],Eo=eo[1],io=se.useState(!1),Tr=(0,Be.Z)(io,2),Ko=Tr[0],Vo=Tr[1],da=kn(new Map),Qa=(0,Be.Z)(da,2),Pr=Qa[0],Er=Qa[1],Nr=vt(Fr),zr=Nr.map(function(Jr){return Pr.get(Jr)}),oo=se.useMemo(function(){return zr},[zr.join("_")]),bo=yn(oo,Fr.length,Xt),lo=zt&&rn(zt.y),po=zt&&rn(Ao)||!!xr.fixed,ii=po&&Fr.some(function(Jr){var wo=Jr.fixed;return wo}),_o=se.useRef(),ni=gn(ya,ke),qo=ni.isSticky,fi=ni.offsetHeader,Xi=ni.offsetSummary,Kr=ni.offsetScroll,fo=ni.stickyClassName,Mo=ni.container,Co=se.useMemo(function(){return At==null?void 0:At(Sa)},[At,Sa]),Wo=(lo||qo)&&se.isValidElement(Co)&&Co.type===fe&&Co.props.fixed,Uo,Xo,Si;lo&&(Xo={overflowY:"scroll",maxHeight:zt.y}),po&&(Uo={overflowX:"auto"},lo||(Xo={overflowY:"hidden"}),Si={width:Ao===!0?"auto":Ao,minWidth:"100%"});var _i=se.useCallback(function(Jr,wo){(0,Xe.Z)(Ro.current)&&Er(function(Pi){if(Pi.get(Jr)!==wo){var zi=new Map(Pi);return zi.set(Jr,wo),zi}return Pi})},[]),_l=ea(null),ml=(0,Be.Z)(_l,2),fl=ml[0],pl=ml[1];function Yi(Jr,wo){wo&&(typeof wo=="function"?wo(Jr):wo.scrollLeft!==Jr&&(wo.scrollLeft=Jr,wo.scrollLeft!==Jr&&setTimeout(function(){wo.scrollLeft=Jr},0)))}var vl=(0,Me.Z)(function(Jr){var wo=Jr.currentTarget,Pi=Jr.scrollLeft,zi=Xt==="rtl",Hi=typeof Pi=="number"?Pi:wo.scrollLeft,Vl=wo||sa;if(!pl()||pl()===Vl){var Ss;fl(Vl),Yi(Hi,ci.current),Yi(Hi,No.current),Yi(Hi,Ai.current),Yi(Hi,(Ss=_o.current)===null||Ss===void 0?void 0:Ss.setScrollLeft)}var Ps=wo||ci.current;if(Ps){var ys=Ps.scrollWidth,Es=Ps.clientWidth;if(ys===Es){Eo(!1),Vo(!1);return}zi?(Eo(-Hi0)):(Eo(Hi>0),Vo(Hi1?Un-ga:0,tr=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},Za),it),{},{flex:"0 0 ".concat(ga,"px"),width:"".concat(ga,"px"),marginRight:Ma,pointerEvents:"auto"}),ar=se.useMemo(function(){return wt?Sa<=1:ia===0||Sa===0||Sa>1},[Sa,ia,wt]);ar?tr.visibility="hidden":wt&&(tr.height=Xt==null?void 0:Xt(Sa));var Wa=ar?function(){return null}:Ln,mr={};return(Sa===0||ia===0)&&(mr.rowSpan=1,mr.colSpan=1),se.createElement(dn,(0,Ue.Z)({className:Ye()(At,zt),ellipsis:be.ellipsis,align:be.align,scope:be.rowScope,component:"div",prefixCls:ce.prefixCls,key:qn,record:xt,index:He,renderIndex:pt,dataIndex:_t,render:Wa,shouldCellUpdate:be.shouldCellUpdate},Fn,{appendNode:Ca,additionalProps:(0,Qe.Z)((0,Qe.Z)({},ba),{},{style:tr},mr)}))}var yr=uo,Sr=["data","index","className","rowKey","style","extra","getHeight"],Ar=se.forwardRef(function(ge,ce){var be=ge.data,ke=ge.index,Ie=ge.className,He=ge.rowKey,pt=ge.style,xt=ge.extra,it=ge.getHeight,zt=(0,ht.Z)(ge,Sr),wt=be.record,Xt=be.indent,Ln=be.index,_t=Ve(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),At=_t.scrollX,Un=_t.flattenColumns,jn=_t.prefixCls,Qn=_t.fixColumn,Vn=_t.componentWidth,qn=_e(wt,He,ke,Xt),Fn=qn.rowSupportExpand,Ca=qn.expanded,ba=qn.rowProps,Za=qn.expandedRowRender,ja=qn.expandedRowClassName,ia;if(Fn&&Ca){var ya=Za(wt,ke,Xt+1,Ca),Sa=ja==null?void 0:ja(wt,ke,Xt),Gn={};Qn&&(Gn={style:(0,he.Z)({},"--virtual-width","".concat(Vn,"px"))});var ga="".concat(jn,"-expanded-row-cell");ia=se.createElement("div",{className:Ye()("".concat(jn,"-expanded-row"),"".concat(jn,"-expanded-row-level-").concat(Xt+1),Sa)},se.createElement(dn,{component:"div",prefixCls:jn,className:Ye()(ga,(0,he.Z)({},"".concat(ga,"-fixed"),Qn)),additionalProps:Gn},ya))}var Ma=(0,Qe.Z)((0,Qe.Z)({},pt),{},{width:At});xt&&(Ma.position="absolute",Ma.pointerEvents="none");var tr=se.createElement("div",(0,Ue.Z)({},ba,zt,{ref:Fn?null:ce,className:Ye()(Ie,"".concat(jn,"-row"),ba==null?void 0:ba.className,(0,he.Z)({},"".concat(jn,"-row-extra"),xt)),style:(0,Qe.Z)((0,Qe.Z)({},Ma),ba==null?void 0:ba.style)}),Un.map(function(ar,Wa){return se.createElement(yr,{key:Wa,rowInfo:qn,column:ar,colIndex:Wa,indent:Xt,index:ke,renderIndex:Ln,record:wt,inverse:xt,getHeight:it})}));return Fn?se.createElement("div",{ref:ce},tr,ia):tr}),br=ne(Ar),Br=br,Ta=se.forwardRef(function(ge,ce){var be=ge.data,ke=ge.onScroll,Ie=Ve(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),He=Ie.flattenColumns,pt=Ie.onColumnResize,xt=Ie.getRowKey,it=Ie.expandedKeys,zt=Ie.prefixCls,wt=Ie.childrenColumnName,Xt=Ie.emptyNode,Ln=Ie.scrollX,_t=Ve(lr),At=_t.scrollY,Un=_t.listItemHeight,jn=se.useRef(),Qn=jt(be,wt,it,xt),Vn=se.useMemo(function(){var ia=0;return He.map(function(ya){var Sa=ya.width,Gn=ya.key;return ia+=Sa,[Gn,Sa,ia]})},[He]),qn=se.useMemo(function(){return Vn.map(function(ia){return ia[2]})},[Vn]);se.useEffect(function(){Vn.forEach(function(ia){var ya=(0,Be.Z)(ia,2),Sa=ya[0],Gn=ya[1];pt(Sa,Gn)})},[Vn]),se.useImperativeHandle(ce,function(){var ia={};return Object.defineProperty(ia,"scrollLeft",{get:function(){var Sa;return((Sa=jn.current)===null||Sa===void 0?void 0:Sa.getScrollInfo().x)||0},set:function(Sa){var Gn;(Gn=jn.current)===null||Gn===void 0||Gn.scrollTo({left:Sa})}}),ia});var Fn=function(ya,Sa){var Gn,ga=(Gn=Qn[Sa])===null||Gn===void 0?void 0:Gn.record,Ma=ya.onCell;if(Ma){var tr,ar=Ma(ga,Sa);return(tr=ar==null?void 0:ar.rowSpan)!==null&&tr!==void 0?tr:1}return 1},Ca=function(ya){var Sa=ya.start,Gn=ya.end,ga=ya.getSize,Ma=ya.offsetY;if(Gn<0)return null;for(var tr=He.filter(function(sr){return Fn(sr,Sa)===0}),ar=Sa,Wa=function(ur){if(tr=tr.filter(function(_a){return Fn(_a,ur)===0}),!tr.length)return ar=ur,"break"},mr=Sa;mr>=0;mr-=1){var hr=Wa(mr);if(hr==="break")break}for(var Wr=He.filter(function(sr){return Fn(sr,Gn)!==1}),Zr=Gn,ho=function(ur){if(Wr=Wr.filter(function(_a){return Fn(_a,ur)!==1}),!Wr.length)return Zr=Math.max(ur-1,Gn),"break"},qr=Gn;qr1})&&Do.push(ur)},So=ar;So<=Zr;So+=1)var ao=Ur(So);var Jo=Do.map(function(sr){var ur=Qn[sr],_a=xt(ur.record,sr),er=function(cr){var Rr=sr+cr-1,Fr=xt(Qn[Rr].record,Rr),ro=ga(_a,Fr);return ro.bottom-ro.top},Gr=ga(_a);return se.createElement(Br,{key:sr,data:ur,rowKey:_a,index:sr,style:{top:-Ma+Gr.top},extra:!0,getHeight:er})});return Jo},ba=se.useMemo(function(){return{columnsOffset:qn}},[qn]),Za="".concat(zt,"-tbody"),ja;return Qn.length?ja=se.createElement(za.Z,{fullHeight:!1,ref:jn,className:Ye()(Za,"".concat(Za,"-virtual")),height:At,itemHeight:Un||24,data:Qn,itemKey:function(ya){return xt(ya.record)},scrollWidth:Ln,onVirtualScroll:function(ya){var Sa=ya.x;ke({scrollLeft:Sa})},extraRender:Ca},function(ia,ya,Sa){var Gn=xt(ia.record,ya);return se.createElement(Br,(0,Ue.Z)({data:ia,rowKey:Gn,index:ya},Sa))}):ja=se.createElement("div",{className:Ye()("".concat(zt,"-placeholder"))},se.createElement(dn,{component:"div",prefixCls:zt},Xt)),se.createElement(Vr.Provider,{value:ba},ja)}),or=ne(Ta),Lr=or,Or=function(ce,be){var ke=be.ref,Ie=be.onScroll;return se.createElement(Lr,{ref:ke,data:ce,onScroll:Ie})},Cr=100;function $r(ge){var ce=ge.columns,be=ge.scroll,ke=ge.prefixCls,Ie=ke===void 0?Ja:ke,He=ge.className,pt=ge.listItemHeight,xt=be||{},it=xt.x,zt=xt.y;typeof it!="number"&&(it=((ce||[]).length+1)*Cr),typeof zt!="number"&&(zt=500);var wt=se.useMemo(function(){return{scrollY:zt,listItemHeight:pt}},[zt,pt]);return se.createElement(lr.Provider,{value:wt},se.createElement(Ga,(0,Ue.Z)({},ge,{className:Ye()(He,"".concat(Ie,"-virtual")),scroll:(0,Qe.Z)((0,Qe.Z)({},be),{},{x:it}),components:{body:Or},columns:ce,internalHooks:ue,tailor:!0})))}function jr(ge){return z($r,ge)}var Xa=jr(),wr=null;function pr(ge){return null}var Qr=pr;function no(ge){return null}var Bo=no,To=te(2738),ko=te(68031),Dr=te(36355),Yr=te(93891),Po=te(19716),$o=te(8628),jo=te(31724),ei=te(58421),$a=te(71418),fa=te(88088);function Tn(ge){return function(be){let{prefixCls:ke,onExpand:Ie,record:He,expanded:pt,expandable:xt}=be;const it=`${ke}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:zt=>{Ie(He,zt),zt.stopPropagation()},className:Ye()(it,{[`${it}-spaced`]:!xt,[`${it}-expanded`]:xt&&pt,[`${it}-collapsed`]:xt&&!pt}),"aria-label":pt?ge.collapse:ge.expand,"aria-expanded":pt})}}var Ba=Tn;function gr(ge,ce){return"key"in ge&&ge.key!==void 0&&ge.key!==null?ge.key:ge.dataIndex?Array.isArray(ge.dataIndex)?ge.dataIndex.join("."):ge.dataIndex:ce}function Ce(ge,ce){return ce?`${ce}-${ge}`:`${ge}`}function sn(ge,ce){return typeof ge=="function"?ge(ce):ge}function Cn(ge,ce){const be=sn(ge,ce);return Object.prototype.toString.call(be)==="[object Object]"?"":be}var Kn={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"},an=Kn,oa=te(7657),ta=function(ce,be){return se.createElement(oa.Z,(0,Ue.Z)({},ce,{ref:be,icon:an}))},Bn=se.forwardRef(ta),On=Bn,Aa=te(56762);function Xn(ge){const ce=se.useRef(ge),be=(0,Aa.Z)();return[()=>ce.current,ke=>{ce.current=ke,be()}]}var ca=te(3113),pa=te(24905),Va=te(38854),vr=te(64165),_r=te(20834),kr=te(40875),mo=te(5112),vo=te(17574),xo=te(47472),pi=te(92832);function gi(ge){let{value:ce,onChange:be,filterSearch:ke,tablePrefixCls:Ie,locale:He}=ge;return ke?se.createElement("div",{className:`${Ie}-filter-dropdown-search`},se.createElement(pi.default,{prefix:se.createElement(xo.Z,null),placeholder:He.filterSearchPlaceholder,onChange:be,value:ce,htmlSize:1,className:`${Ie}-filter-dropdown-search-input`})):null}var ri=gi,ui=te(10228);const vi=ge=>{const{keyCode:ce}=ge;ce===ui.Z.ENTER&&ge.stopPropagation()};var hi=se.forwardRef((ge,ce)=>se.createElement("div",{className:ge.className,onClick:be=>be.stopPropagation(),onKeyDown:vi,ref:ce},ge.children));function Ni(ge){let ce=[];return(ge||[]).forEach(be=>{let{value:ke,children:Ie}=be;ce.push(ke),Ie&&(ce=[].concat((0,_n.Z)(ce),(0,_n.Z)(Ni(Ie))))}),ce}function Ql(ge){return ge.some(ce=>{let{children:be}=ce;return be})}function Vi(ge,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(ge.trim().toLowerCase()):!1}function nl(ge){let{filters:ce,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:He,filterSearch:pt}=ge;return ce.map((xt,it)=>{const zt=String(xt.value);if(xt.children)return{key:zt||it,label:xt.text,popupClassName:`${be}-dropdown-submenu`,children:nl({filters:xt.children,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:He,filterSearch:pt})};const wt=Ie?pa.default:mo.ZP,Xt={key:xt.value!==void 0?zt:it,label:se.createElement(se.Fragment,null,se.createElement(wt,{checked:ke.includes(zt)}),se.createElement("span",null,xt.text))};return He.trim()?typeof pt=="function"?pt(He,xt)?Xt:null:Vi(He,xt.text)?Xt:null:Xt})}function Jl(ge){var ce,be;const{tablePrefixCls:ke,prefixCls:Ie,column:He,dropdownPrefixCls:pt,columnKey:xt,filterMultiple:it,filterMode:zt="menu",filterSearch:wt=!1,filterState:Xt,triggerFilter:Ln,locale:_t,children:At,getPopupContainer:Un}=ge,{filterDropdownOpen:jn,onFilterDropdownOpenChange:Qn,filterResetToDefaultFilteredValue:Vn,defaultFilteredValue:qn,filterDropdownVisible:Fn,onFilterDropdownVisibleChange:Ca}=He,[ba,Za]=se.useState(!1),ja=!!(Xt&&(!((ce=Xt.filteredKeys)===null||ce===void 0)&&ce.length||Xt.forceFiltered)),ia=nr=>{Za(nr),Qn==null||Qn(nr),Ca==null||Ca(nr)},ya=(be=jn!=null?jn:Fn)!==null&&be!==void 0?be:ba,Sa=Xt==null?void 0:Xt.filteredKeys,[Gn,ga]=Xn(Sa||[]),Ma=nr=>{let{selectedKeys:cr}=nr;ga(cr)},tr=(nr,cr)=>{let{node:Rr,checked:Fr}=cr;Ma(it?{selectedKeys:nr}:{selectedKeys:Fr&&Rr.key?[Rr.key]:[]})};se.useEffect(()=>{ba&&Ma({selectedKeys:Sa||[]})},[Sa]);const[ar,Wa]=se.useState([]),mr=nr=>{Wa(nr)},[hr,Wr]=se.useState(""),Zr=nr=>{const{value:cr}=nr.target;Wr(cr)};se.useEffect(()=>{ba||Wr("")},[ba]);const ho=nr=>{const cr=nr&&nr.length?nr:null;if(cr===null&&(!Xt||!Xt.filteredKeys)||(0,Oe.Z)(cr,Xt==null?void 0:Xt.filteredKeys,!0))return null;Ln({column:He,key:xt,filteredKeys:cr})},qr=()=>{ia(!1),ho(Gn())},xr=function(){let{confirm:nr,closeDropdown:cr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};nr&&ho([]),cr&&ia(!1),Wr(""),ga(Vn?(qn||[]).map(Rr=>String(Rr)):[])},Do=function(){let{closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};nr&&ia(!1),ho(Gn())},Ur=nr=>{nr&&Sa!==void 0&&ga(Sa||[]),ia(nr),!nr&&!He.filterDropdown&&qr()},So=Ye()({[`${pt}-menu-without-submenu`]:!Ql(He.filters||[])}),ao=nr=>{if(nr.target.checked){const cr=Ni(He==null?void 0:He.filters).map(Rr=>String(Rr));ga(cr)}else ga([])},Jo=nr=>{let{filters:cr}=nr;return(cr||[]).map((Rr,Fr)=>{const ro=String(Rr.value),Ao={title:Rr.text,key:Rr.value!==void 0?ro:Fr};return Rr.children&&(Ao.children=Jo({filters:Rr.children})),Ao})},sr=nr=>{var cr;return Object.assign(Object.assign({},nr),{text:nr.title,value:nr.key,children:((cr=nr.children)===null||cr===void 0?void 0:cr.map(Rr=>sr(Rr)))||[]})};let ur;if(typeof He.filterDropdown=="function")ur=He.filterDropdown({prefixCls:`${pt}-custom`,setSelectedKeys:nr=>Ma({selectedKeys:nr}),selectedKeys:Gn(),confirm:Do,clearFilters:xr,filters:He.filters,visible:ya,close:()=>{ia(!1)}});else if(He.filterDropdown)ur=He.filterDropdown;else{const nr=Gn()||[],cr=()=>(He.filters||[]).length===0?se.createElement(vr.Z,{image:vr.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zt==="tree"?se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:wt,value:hr,onChange:Zr,tablePrefixCls:ke,locale:_t}),se.createElement("div",{className:`${ke}-filter-dropdown-tree`},it?se.createElement(pa.default,{checked:nr.length===Ni(He.filters).length,indeterminate:nr.length>0&&nr.lengthtypeof wt=="function"?wt(hr,sr(Fr)):Vi(hr,Fr.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:wt,value:hr,onChange:Zr,tablePrefixCls:ke,locale:_t}),se.createElement(_r.default,{selectable:!0,multiple:it,prefixCls:`${pt}-menu`,className:So,onSelect:Ma,onDeselect:Ma,selectedKeys:nr,getPopupContainer:Un,openKeys:ar,onOpenChange:mr,items:nl({filters:He.filters||[],filterSearch:wt,prefixCls:Ie,filteredKeys:Gn(),filterMultiple:it,searchValue:hr})})),Rr=()=>Vn?(0,Oe.Z)((qn||[]).map(Fr=>String(Fr)),nr,!0):nr.length===0;ur=se.createElement(se.Fragment,null,cr(),se.createElement("div",{className:`${Ie}-dropdown-btns`},se.createElement(ca.ZP,{type:"link",size:"small",disabled:Rr(),onClick:()=>xr()},_t.filterReset),se.createElement(ca.ZP,{type:"primary",size:"small",onClick:qr},_t.filterConfirm)))}He.filterDropdown&&(ur=se.createElement(kr.J,{selectable:void 0},ur));const _a=()=>se.createElement(hi,{className:`${Ie}-dropdown`},ur);let er;typeof He.filterIcon=="function"?er=He.filterIcon(ja):He.filterIcon?er=He.filterIcon:er=se.createElement(On,null);const{direction:Gr}=se.useContext(Dr.E_);return se.createElement("div",{className:`${Ie}-column`},se.createElement("span",{className:`${ke}-column-title`},At),se.createElement(Va.Z,{dropdownRender:_a,trigger:["click"],open:ya,onOpenChange:Ur,getPopupContainer:Un,placement:Gr==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Ye()(`${Ie}-trigger`,{active:ja}),onClick:nr=>{nr.stopPropagation()}},er)))}var Qo=Jl;function mi(ge,ce,be){let ke=[];return(ge||[]).forEach((Ie,He)=>{var pt;const xt=Ce(He,be);if(Ie.filters||"filterDropdown"in Ie||"onFilter"in Ie)if("filteredValue"in Ie){let it=Ie.filteredValue;"filterDropdown"in Ie||(it=(pt=it==null?void 0:it.map(String))!==null&&pt!==void 0?pt:it),ke.push({column:Ie,key:gr(Ie,xt),filteredKeys:it,forceFiltered:Ie.filtered})}else ke.push({column:Ie,key:gr(Ie,xt),filteredKeys:ce&&Ie.defaultFilteredValue?Ie.defaultFilteredValue:void 0,forceFiltered:Ie.filtered});"children"in Ie&&(ke=[].concat((0,_n.Z)(ke),(0,_n.Z)(mi(Ie.children,ce,xt))))}),ke}function Bi(ge,ce,be,ke,Ie,He,pt,xt){return be.map((it,zt)=>{const wt=Ce(zt,xt),{filterMultiple:Xt=!0,filterMode:Ln,filterSearch:_t}=it;let At=it;if(At.filters||At.filterDropdown){const Un=gr(At,wt),jn=ke.find(Qn=>{let{key:Vn}=Qn;return Un===Vn});At=Object.assign(Object.assign({},At),{title:Qn=>se.createElement(Qo,{tablePrefixCls:ge,prefixCls:`${ge}-filter`,dropdownPrefixCls:ce,column:At,columnKey:Un,filterState:jn,filterMultiple:Xt,filterMode:Ln,filterSearch:_t,triggerFilter:He,locale:Ie,getPopupContainer:pt},sn(it.title,Qn))})}return"children"in At&&(At=Object.assign(Object.assign({},At),{children:Bi(ge,ce,At.children,ke,Ie,He,pt,wt)})),At})}function yl(ge){const ce={};return ge.forEach(be=>{let{key:ke,filteredKeys:Ie,column:He}=be;const{filters:pt,filterDropdown:xt}=He;if(xt)ce[ke]=Ie||null;else if(Array.isArray(Ie)){const it=Ni(pt);ce[ke]=it.filter(zt=>Ie.includes(String(zt)))}else ce[ke]=null}),ce}function Xl(ge,ce){return ce.reduce((be,ke)=>{const{column:{onFilter:Ie,filters:He},filteredKeys:pt}=ke;return Ie&&pt&&pt.length?be.filter(xt=>pt.some(it=>{const zt=Ni(He),wt=zt.findIndex(Ln=>String(Ln)===String(it)),Xt=wt!==-1?zt[wt]:it;return Ie(Xt,xt)})):be},ge)}const Ii=ge=>ge.flatMap(ce=>"children"in ce?[ce].concat((0,_n.Z)(Ii(ce.children||[]))):[ce]);function Fo(ge){let{prefixCls:ce,dropdownPrefixCls:be,mergedColumns:ke,onFilterChange:Ie,getPopupContainer:He,locale:pt}=ge;const xt=se.useMemo(()=>Ii(ke||[]),[ke]),[it,zt]=se.useState(()=>mi(xt,!0)),wt=se.useMemo(()=>{const At=mi(xt,!1);if(At.length===0)return At;let Un=!0,jn=!0;if(At.forEach(Qn=>{let{filteredKeys:Vn}=Qn;Vn!==void 0?Un=!1:jn=!1}),Un){const Qn=(xt||[]).map((Vn,qn)=>gr(Vn,Ce(qn)));return it.filter(Vn=>{let{key:qn}=Vn;return Qn.includes(qn)}).map(Vn=>{const qn=xt[Qn.findIndex(Fn=>Fn===Vn.key)];return Object.assign(Object.assign({},Vn),{column:Object.assign(Object.assign({},Vn.column),qn),forceFiltered:qn.filtered})})}return At},[xt,it]),Xt=se.useMemo(()=>yl(wt),[wt]),Ln=At=>{const Un=wt.filter(jn=>{let{key:Qn}=jn;return Qn!==At.key});Un.push(At),zt(Un),Ie(yl(Un),Un)};return[At=>Bi(ce,be,At,wt,pt,Ln,He),wt,Xt]}var El=Fo;function bl(ge,ce,be){const ke=se.useRef({});function Ie(He){if(!ke.current||ke.current.data!==ge||ke.current.childrenColumnName!==ce||ke.current.getRowKey!==be){let xt=function(it){it.forEach((zt,wt)=>{const Xt=be(zt,wt);pt.set(Xt,zt),zt&&typeof zt=="object"&&ce in zt&&xt(zt[ce]||[])})};const pt=new Map;xt(ge),ke.current={data:ge,childrenColumnName:ce,kvMap:pt,getRowKey:be}}return ke.current.kvMap.get(He)}return[Ie]}var Yl=te(50371),Cl=function(ge,ce){var be={};for(var ke in ge)Object.prototype.hasOwnProperty.call(ge,ke)&&ce.indexOf(ke)<0&&(be[ke]=ge[ke]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,ke=Object.getOwnPropertySymbols(ge);Ie{const He=ge[Ie];typeof He!="function"&&(be[Ie]=He)}),be}function Bl(ge,ce,be){const ke=be&&typeof be=="object"?be:{},{total:Ie=0}=ke,He=Cl(ke,["total"]),[pt,xt]=(0,se.useState)(()=>({current:"defaultCurrent"in He?He.defaultCurrent:1,pageSize:"defaultPageSize"in He?He.defaultPageSize:xl})),it=(0,Yl.Z)(pt,He,{total:Ie>0?Ie:ge}),zt=Math.ceil((Ie||ge)/it.pageSize);it.current>zt&&(it.current=zt||1);const wt=(Ln,_t)=>{xt({current:Ln!=null?Ln:1,pageSize:_t||it.pageSize})},Xt=(Ln,_t)=>{var At;be&&((At=be.onChange)===null||At===void 0||At.call(be,Ln,_t)),wt(Ln,_t),ce(Ln,_t||(it==null?void 0:it.pageSize))};return be===!1?[{},()=>{}]:[Object.assign(Object.assign({},it),{onChange:Xt}),wt]}var di=Bl,Yo=te(84105),Qi=te(35654),Fl=te(90782),ql=te(71430),Ha=te(18929);const yi={},al="SELECT_ALL",ha="SELECT_INVERT",Li="SELECT_NONE",wl=[],es=(ge,ce)=>{let be=[];return(ce||[]).forEach(ke=>{be.push(ke),ke&&typeof ke=="object"&&ge in ke&&(be=[].concat((0,_n.Z)(be),(0,_n.Z)(es(ge,ke[ge]))))}),be};var Al=(ge,ce)=>{const{preserveSelectedRowKeys:be,selectedRowKeys:ke,defaultSelectedRowKeys:Ie,getCheckboxProps:He,onChange:pt,onSelect:xt,onSelectAll:it,onSelectInvert:zt,onSelectNone:wt,onSelectMultiple:Xt,columnWidth:Ln,type:_t,selections:At,fixed:Un,renderCell:jn,hideSelectAll:Qn,checkStrictly:Vn=!0}=ce||{},{prefixCls:qn,data:Fn,pageData:Ca,getRecordByKey:ba,getRowKey:Za,expandType:ja,childrenColumnName:ia,locale:ya,getPopupContainer:Sa}=ge,[Gn,ga]=(0,Ha.Z)(ke||Ie||wl,{value:ke}),Ma=se.useRef(new Map),tr=(0,se.useCallback)(sr=>{if(be){const ur=new Map;sr.forEach(_a=>{let er=ba(_a);!er&&Ma.current.has(_a)&&(er=Ma.current.get(_a)),ur.set(_a,er)}),Ma.current=ur}},[ba,be]);se.useEffect(()=>{tr(Gn)},[Gn]);const{keyEntities:ar}=(0,se.useMemo)(()=>{if(Vn)return{keyEntities:null};let sr=Fn;if(be){const ur=new Set(Fn.map((er,Gr)=>Za(er,Gr))),_a=Array.from(Ma.current).reduce((er,Gr)=>{let[nr,cr]=Gr;return ur.has(nr)?er:er.concat(cr)},[]);sr=[].concat((0,_n.Z)(sr),(0,_n.Z)(_a))}return(0,ql.I8)(sr,{externalGetKey:Za,childrenPropName:ia})},[Fn,Za,Vn,ia,be]),Wa=(0,se.useMemo)(()=>es(ia,Ca),[ia,Ca]),mr=(0,se.useMemo)(()=>{const sr=new Map;return Wa.forEach((ur,_a)=>{const er=Za(ur,_a),Gr=(He?He(ur):null)||{};sr.set(er,Gr)}),sr},[Wa,Za,He]),hr=(0,se.useCallback)(sr=>{var ur;return!!(!((ur=mr.get(Za(sr)))===null||ur===void 0)&&ur.disabled)},[mr,Za]),[Wr,Zr]=(0,se.useMemo)(()=>{if(Vn)return[Gn||[],[]];const{checkedKeys:sr,halfCheckedKeys:ur}=(0,Fl.S)(Gn,!0,ar,hr);return[sr||[],ur]},[Gn,Vn,ar,hr]),ho=(0,se.useMemo)(()=>{const sr=_t==="radio"?Wr.slice(0,1):Wr;return new Set(sr)},[Wr,_t]),qr=(0,se.useMemo)(()=>_t==="radio"?new Set:new Set(Zr),[Zr,_t]),[xr,Do]=(0,se.useState)(null);se.useEffect(()=>{ce||ga(wl)},[!!ce]);const Ur=(0,se.useCallback)((sr,ur)=>{let _a,er;tr(sr),be?(_a=sr,er=sr.map(Gr=>Ma.current.get(Gr))):(_a=[],er=[],sr.forEach(Gr=>{const nr=ba(Gr);nr!==void 0&&(_a.push(Gr),er.push(nr))})),ga(_a),pt==null||pt(_a,er,{type:ur})},[ga,ba,pt,be]),So=(0,se.useCallback)((sr,ur,_a,er)=>{if(xt){const Gr=_a.map(nr=>ba(nr));xt(ba(sr),ur,Gr,er)}Ur(_a,"single")},[xt,ba,Ur]),ao=(0,se.useMemo)(()=>!At||Qn?null:(At===!0?[al,ha,Li]:At).map(ur=>ur===al?{key:"all",text:ya.selectionAll,onSelect(){Ur(Fn.map((_a,er)=>Za(_a,er)).filter(_a=>{const er=mr.get(_a);return!(er!=null&&er.disabled)||ho.has(_a)}),"all")}}:ur===ha?{key:"invert",text:ya.selectInvert,onSelect(){const _a=new Set(ho);Ca.forEach((Gr,nr)=>{const cr=Za(Gr,nr),Rr=mr.get(cr);Rr!=null&&Rr.disabled||(_a.has(cr)?_a.delete(cr):_a.add(cr))});const er=Array.from(_a);zt&&zt(er),Ur(er,"invert")}}:ur===Li?{key:"none",text:ya.selectNone,onSelect(){wt==null||wt(),Ur(Array.from(ho).filter(_a=>{const er=mr.get(_a);return er==null?void 0:er.disabled}),"none")}}:ur).map(ur=>Object.assign(Object.assign({},ur),{onSelect:function(){for(var _a,er,Gr=arguments.length,nr=new Array(Gr),cr=0;cr{var ur;if(!ce)return sr.filter(Xr=>Xr!==yi);let _a=(0,_n.Z)(sr);const er=new Set(ho),Gr=Wa.map(Za).filter(Xr=>!mr.get(Xr).disabled),nr=Gr.every(Xr=>er.has(Xr)),cr=Gr.some(Xr=>er.has(Xr)),Rr=()=>{const Xr=[];nr?Gr.forEach(co=>{er.delete(co),Xr.push(co)}):Gr.forEach(co=>{er.has(co)||(er.add(co),Xr.push(co))});const eo=Array.from(er);it==null||it(!nr,eo.map(co=>ba(co)),Xr.map(co=>ba(co))),Ur(eo,"all"),Do(null)};let Fr;if(_t!=="radio"){let Xr;if(ao){const Tr={getPopupContainer:Sa,items:ao.map((Ko,Vo)=>{const{key:da,text:Qa,onSelect:Pr}=Ko;return{key:da!=null?da:Vo,onClick:()=>{Pr==null||Pr(Gr)},label:Qa}})};Xr=se.createElement("div",{className:`${qn}-selection-extra`},se.createElement(Va.Z,{menu:Tr,getPopupContainer:Sa},se.createElement("span",null,se.createElement(Yo.Z,null))))}const eo=Wa.map((Tr,Ko)=>{const Vo=Za(Tr,Ko),da=mr.get(Vo)||{};return Object.assign({checked:er.has(Vo)},da)}).filter(Tr=>{let{disabled:Ko}=Tr;return Ko}),co=!!eo.length&&eo.length===Wa.length,Eo=co&&eo.every(Tr=>{let{checked:Ko}=Tr;return Ko}),io=co&&eo.some(Tr=>{let{checked:Ko}=Tr;return Ko});Fr=!Qn&&se.createElement("div",{className:`${qn}-selection`},se.createElement(pa.default,{checked:co?Eo:!!Wa.length&&nr,indeterminate:co?!Eo&&io:!nr&&cr,onChange:Rr,disabled:Wa.length===0||co,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Xr)}let ro;_t==="radio"?ro=(Xr,eo,co)=>{const Eo=Za(eo,co),io=er.has(Eo);return{node:se.createElement(mo.ZP,Object.assign({},mr.get(Eo),{checked:io,onClick:Tr=>Tr.stopPropagation(),onChange:Tr=>{er.has(Eo)||So(Eo,!0,[Eo],Tr.nativeEvent)}})),checked:io}}:ro=(Xr,eo,co)=>{var Eo;const io=Za(eo,co),Tr=er.has(io),Ko=qr.has(io),Vo=mr.get(io);let da;return ja==="nest"?da=Ko:da=(Eo=Vo==null?void 0:Vo.indeterminate)!==null&&Eo!==void 0?Eo:Ko,{node:se.createElement(pa.default,Object.assign({},Vo,{indeterminate:da,checked:Tr,skipGroup:!0,onClick:Qa=>Qa.stopPropagation(),onChange:Qa=>{let{nativeEvent:Pr}=Qa;const{shiftKey:Er}=Pr;let Nr=-1,zr=-1;if(Er&&Vn){const oo=new Set([xr,io]);Gr.some((bo,lo)=>{if(oo.has(bo))if(Nr===-1)Nr=lo;else return zr=lo,!0;return!1})}if(zr!==-1&&Nr!==zr&&Vn){const oo=Gr.slice(Nr,zr+1),bo=[];Tr?oo.forEach(po=>{er.has(po)&&(bo.push(po),er.delete(po))}):oo.forEach(po=>{er.has(po)||(bo.push(po),er.add(po))});const lo=Array.from(er);Xt==null||Xt(!Tr,lo.map(po=>ba(po)),bo.map(po=>ba(po))),Ur(lo,"multiple")}else{const oo=Wr;if(Vn){const bo=Tr?(0,Qi._5)(oo,io):(0,Qi.L0)(oo,io);So(io,!Tr,bo,Pr)}else{const bo=(0,Fl.S)([].concat((0,_n.Z)(oo),[io]),!0,ar,hr),{checkedKeys:lo,halfCheckedKeys:po}=bo;let ii=lo;if(Tr){const _o=new Set(lo);_o.delete(io),ii=(0,Fl.S)(Array.from(_o),{checked:!1,halfCheckedKeys:po},ar,hr).checkedKeys}So(io,!Tr,ii,Pr)}}Do(Tr?null:io)}})),checked:Tr}};const Ao=(Xr,eo,co)=>{const{node:Eo,checked:io}=ro(Xr,eo,co);return jn?jn(io,eo,co,Eo):Eo};if(!_a.includes(yi))if(_a.findIndex(Xr=>{var eo;return((eo=Xr[na])===null||eo===void 0?void 0:eo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...eo]=_a;_a=[Xr,yi].concat((0,_n.Z)(eo))}else _a=[yi].concat((0,_n.Z)(_a));const Zo=_a.indexOf(yi);_a=_a.filter((Xr,eo)=>Xr!==yi||eo===Zo);const Ro=_a[Zo-1],ci=_a[Zo+1];let No=Un;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&&((ur=Ro[na])===null||ur===void 0?void 0:ur.columnType)==="EXPAND_COLUMN"&&Ro.fixed===void 0&&(Ro.fixed=No);const Io=Ye()(`${qn}-selection-col`,{[`${qn}-selection-col-with-dropdown`]:At&&_t==="checkbox"}),Ai={fixed:No,width:Ln,className:`${qn}-selection-column`,title:ce.columnTitle||Fr,render:Ao,onCell:ce.onCell,[na]:{className:Io}};return _a.map(Xr=>Xr===yi?Ai:Xr)},[Za,Wa,ce,Wr,ho,qr,Ln,ao,ja,xr,mr,Xt,So,hr]),ho]},rl=te(89489),Go=te(59477),ts=te(6848);const bi="ascend",ol="descend";function Oi(ge){return typeof ge.sorter=="object"&&typeof ge.sorter.multiple=="number"?ge.sorter.multiple:!1}function il(ge){return typeof ge=="function"?ge:ge&&typeof ge=="object"&&ge.compare?ge.compare:!1}function Dl(ge,ce){return ce?ge[ge.indexOf(ce)+1]:ge[0]}function Ji(ge,ce,be){let ke=[];function Ie(He,pt){ke.push({column:He,key:gr(He,pt),multiplePriority:Oi(He),sortOrder:He.sortOrder})}return(ge||[]).forEach((He,pt)=>{const xt=Ce(pt,be);He.children?("sortOrder"in He&&Ie(He,xt),ke=[].concat((0,_n.Z)(ke),(0,_n.Z)(Ji(He.children,ce,xt)))):He.sorter&&("sortOrder"in He?Ie(He,xt):ce&&He.defaultSortOrder&&ke.push({column:He,key:gr(He,xt),multiplePriority:Oi(He),sortOrder:He.defaultSortOrder}))}),ke}function Ri(ge,ce,be,ke,Ie,He,pt,xt){return(ce||[]).map((it,zt)=>{const wt=Ce(zt,xt);let Xt=it;if(Xt.sorter){const Ln=Xt.sortDirections||Ie,_t=Xt.showSorterTooltip===void 0?pt:Xt.showSorterTooltip,At=gr(Xt,wt),Un=be.find(ja=>{let{key:ia}=ja;return ia===At}),jn=Un?Un.sortOrder:null,Qn=Dl(Ln,jn);let Vn;if(it.sortIcon)Vn=it.sortIcon({sortOrder:jn});else{const ja=Ln.includes(bi)&&se.createElement(Go.Z,{className:Ye()(`${ge}-column-sorter-up`,{active:jn===bi})}),ia=Ln.includes(ol)&&se.createElement(rl.Z,{className:Ye()(`${ge}-column-sorter-down`,{active:jn===ol})});Vn=se.createElement("span",{className:Ye()(`${ge}-column-sorter`,{[`${ge}-column-sorter-full`]:!!(ja&&ia)})},se.createElement("span",{className:`${ge}-column-sorter-inner`,"aria-hidden":"true"},ja,ia))}const{cancelSort:qn,triggerAsc:Fn,triggerDesc:Ca}=He||{};let ba=qn;Qn===ol?ba=Ca:Qn===bi&&(ba=Fn);const Za=typeof _t=="object"?_t:{title:ba};Xt=Object.assign(Object.assign({},Xt),{className:Ye()(Xt.className,{[`${ge}-column-sort`]:jn}),title:ja=>{const ia=se.createElement("div",{className:`${ge}-column-sorters`},se.createElement("span",{className:`${ge}-column-title`},sn(it.title,ja)),Vn);return _t?se.createElement(ts.Z,Object.assign({},Za),ia):ia},onHeaderCell:ja=>{const ia=it.onHeaderCell&&it.onHeaderCell(ja)||{},ya=ia.onClick,Sa=ia.onKeyDown;ia.onClick=Ma=>{ke({column:it,key:At,sortOrder:Qn,multiplePriority:Oi(it)}),ya==null||ya(Ma)},ia.onKeyDown=Ma=>{Ma.keyCode===ui.Z.ENTER&&(ke({column:it,key:At,sortOrder:Qn,multiplePriority:Oi(it)}),Sa==null||Sa(Ma))};const Gn=Cn(it.title,{}),ga=Gn==null?void 0:Gn.toString();return jn?ia["aria-sort"]=jn==="ascend"?"ascending":"descending":ia["aria-label"]=ga||"",ia.className=Ye()(ia.className,`${ge}-column-has-sorters`),ia.tabIndex=0,it.ellipsis&&(ia.title=(Gn!=null?Gn:"").toString()),ia}})}return"children"in Xt&&(Xt=Object.assign(Object.assign({},Xt),{children:Ri(ge,Xt.children,be,ke,Ie,He,pt,wt)})),Xt})}function ll(ge){const{column:ce,sortOrder:be}=ge;return{column:ce,order:be,field:ce.dataIndex,columnKey:ce.key}}function Ti(ge){const ce=ge.filter(be=>{let{sortOrder:ke}=be;return ke}).map(ll);return ce.length===0&&ge.length?Object.assign(Object.assign({},ll(ge[ge.length-1])),{column:void 0}):ce.length<=1?ce[0]||{}:ce}function Mi(ge,ce,be){const ke=ce.slice().sort((pt,xt)=>xt.multiplePriority-pt.multiplePriority),Ie=ge.slice(),He=ke.filter(pt=>{let{column:{sorter:xt},sortOrder:it}=pt;return il(xt)&&it});return He.length?Ie.sort((pt,xt)=>{for(let it=0;it{const xt=pt[be];return xt?Object.assign(Object.assign({},pt),{[be]:Mi(xt,ce,be)}):pt}):Ie}function ns(ge){let{prefixCls:ce,mergedColumns:be,onSorterChange:ke,sortDirections:Ie,tableLocale:He,showSorterTooltip:pt}=ge;const[xt,it]=se.useState(Ji(be,!0)),zt=se.useMemo(()=>{let At=!0;const Un=Ji(be,!1);if(!Un.length)return xt;const jn=[];function Qn(qn){At?jn.push(qn):jn.push(Object.assign(Object.assign({},qn),{sortOrder:null}))}let Vn=null;return Un.forEach(qn=>{Vn===null?(Qn(qn),qn.sortOrder&&(qn.multiplePriority===!1?At=!1:Vn=!0)):(Vn&&qn.multiplePriority!==!1||(At=!1),Qn(qn))}),jn},[be,xt]),wt=se.useMemo(()=>{const At=zt.map(Un=>{let{column:jn,sortOrder:Qn}=Un;return{column:jn,order:Qn}});return{sortColumns:At,sortColumn:At[0]&&At[0].column,sortOrder:At[0]&&At[0].order}},[zt]);function Xt(At){let Un;At.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?Un=[At]:Un=[].concat((0,_n.Z)(zt.filter(jn=>{let{key:Qn}=jn;return Qn!==At.key})),[At]),it(Un),ke(Ti(Un),Un)}return[At=>Ri(ce,At,zt,Xt,Ie,He,pt),zt,wt,()=>Ti(zt)]}function Lo(ge,ce){return ge.map(be=>{const ke=Object.assign({},be);return ke.title=sn(be.title,ce),"children"in ke&&(ke.children=Lo(ke.children,ce)),ke})}function as(ge){return[se.useCallback(be=>Lo(be,ge),[ge])]}var ws=Ua((ge,ce)=>{const{_renderTimes:be}=ge,{_renderTimes:ke}=ce;return be!==ke}),sl=jr((ge,ce)=>{const{_renderTimes:be}=ge,{_renderTimes:ke}=ce;return be!==ke}),Fi=te(64993),ki=te(17313),Nl=te(83116),rs=te(37613),os=ge=>{const{componentCls:ce}=ge,be=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,ke=(Ie,He,pt)=>({[`&${ce}-${Ie}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${He}px -${pt+ge.lineWidth}px`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:be,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:be,borderTop:be,[` + `]:Object.assign({},le(ve))}}};var pe=(0,ot.Z)("Skeleton",ve=>{const{componentCls:fe}=ve,qe=(0,Ve.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[me(qe)]},ve=>{const{colorFillContent:fe,colorFill:qe}=ve,Rt=fe,Fe=qe;return{color:Rt,colorGradientEnd:Fe,gradientFromColor:Rt,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:qe,rootClassName:Rt,active:Fe,shape:xe="circle",size:at="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=(0,Le.Z)(ve,["prefixCls","className"]),jt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe},qe,Rt,vn);return ft(Be.createElement("div",{className:jt},Be.createElement(se,Object.assign({prefixCls:`${Ae}-avatar`,shape:xe,size:at},Qt))))},Qe=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,active:Fe,block:xe=!1,size:at="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=(0,Le.Z)(ve,["prefixCls"]),jt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe,[`${Ae}-block`]:xe},qe,Rt,vn);return ft(Be.createElement("div",{className:jt},Be.createElement(se,Object.assign({prefixCls:`${Ae}-button`,size:at},Qt))))};const he="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 Ye=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,style:Fe,active:xe}=ve,{getPrefixCls:at}=Be.useContext(Me.E_),Xe=at("skeleton",fe),[Ae,ft]=pe(Xe),vn=ue()(Xe,`${Xe}-element`,{[`${Xe}-active`]:xe},qe,Rt,ft);return Ae(Be.createElement("div",{className:vn},Be.createElement("div",{className:ue()(`${Xe}-image`,qe),style:Fe},Be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Xe}-image-svg`},Be.createElement("path",{d:he,className:`${Xe}-image-path`})))))},Ne=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,active:Fe,block:xe,size:at="default"}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=(0,Le.Z)(ve,["prefixCls"]),jt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:Fe,[`${Ae}-block`]:xe},qe,Rt,vn);return ft(Be.createElement("div",{className:jt},Be.createElement(se,Object.assign({prefixCls:`${Ae}-input`,size:at},Qt))))},ut=te(92413),Bt={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"},yt=Bt,gt=te(7657),Yt=function(fe,qe){return Be.createElement(gt.Z,(0,ut.Z)({},fe,{ref:qe,icon:yt}))},vt=Be.forwardRef(Yt),rn=vt,nt=ve=>{const{prefixCls:fe,className:qe,rootClassName:Rt,style:Fe,active:xe,children:at}=ve,{getPrefixCls:Xe}=Be.useContext(Me.E_),Ae=Xe("skeleton",fe),[ft,vn]=pe(Ae),Qt=ue()(Ae,`${Ae}-element`,{[`${Ae}-active`]:xe},vn,qe,Rt),jt=at!=null?at:Be.createElement(rn,null);return ft(Be.createElement("div",{className:Qt},Be.createElement("div",{className:ue()(`${Ae}-image`,qe),style:Fe},jt)))},et=te(26407),hn=ve=>{const fe=Xe=>{const{width:Ae,rows:ft=2}=ve;if(Array.isArray(Ae))return Ae[Xe];if(ft-1===Xe)return Ae},{prefixCls:qe,className:Rt,style:Fe,rows:xe}=ve,at=(0,et.Z)(Array(xe)).map((Xe,Ae)=>Be.createElement("li",{key:Ae,style:{width:fe(Ae)}}));return Be.createElement("ul",{className:ue()(qe,Rt),style:Fe},at)},dn=ve=>{let{prefixCls:fe,className:qe,width:Rt,style:Fe}=ve;return Be.createElement("h3",{className:ue()(fe,qe),style:Object.assign({width:Rt},Fe)})};function We(ve){return ve&&typeof ve=="object"?ve:{}}function It(ve,fe){return ve&&!fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Gt(ve,fe){return!ve&&fe?{width:"38%"}:ve&&fe?{width:"50%"}:{}}function Mt(ve,fe){const qe={};return(!ve||!fe)&&(qe.width="61%"),!ve&&fe?qe.rows=3:qe.rows=2,qe}const ht=ve=>{const{prefixCls:fe,loading:qe,className:Rt,rootClassName:Fe,style:xe,children:at,avatar:Xe=!1,title:Ae=!0,paragraph:ft=!0,active:vn,round:Qt}=ve,{getPrefixCls:jt,direction:on,skeleton:cn}=Be.useContext(Me.E_),_e=jt("skeleton",fe),[Ft,Lt]=pe(_e);if(qe||!("loading"in ve)){const St=!!Xe,Dt=!!Ae,pn=!!ft;let Pn;if(St){const na=Object.assign(Object.assign({prefixCls:`${_e}-avatar`},It(Dt,pn)),We(Xe));Pn=Be.createElement("div",{className:`${_e}-header`},Be.createElement(se,Object.assign({},na)))}let Sn;if(Dt||pn){let na;if(Dt){const zn=Object.assign(Object.assign({prefixCls:`${_e}-title`},Gt(St,pn)),We(Ae));na=Be.createElement(dn,Object.assign({},zn))}let aa;if(pn){const zn=Object.assign(Object.assign({prefixCls:`${_e}-paragraph`},Mt(St,Dt)),We(ft));aa=Be.createElement(hn,Object.assign({},zn))}Sn=Be.createElement("div",{className:`${_e}-content`},na,aa)}const Rn=ue()(_e,{[`${_e}-with-avatar`]:St,[`${_e}-active`]:vn,[`${_e}-rtl`]:on==="rtl",[`${_e}-round`]:Qt},cn==null?void 0:cn.className,Rt,Fe,Lt);return Ft(Be.createElement("div",{className:Rn,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),xe)},Pn,Sn))}return typeof at!="undefined"?at:null};ht.Button=Qe,ht.Avatar=je,ht.Input=Ne,ht.Image=Ye,ht.Node=nt;var rt=ht,ze=rt},31797:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return pe}});var x=te(59301),ue=te(56762),Be=te(92343),Me=te(92310),Le=te.n(Me),Oe=te(36355),se=te(61621),ot=ye=>{const{value:je,formatter:De,precision:Qe,decimalSeparator:he,groupSeparator:Te="",prefixCls:Ye}=ye;let bt;if(typeof De=="function")bt=De(je);else{const Ne=String(je),ut=Ne.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ut||Ne==="-")bt=Ne;else{const Bt=ut[1];let yt=ut[2]||"0",gt=ut[4]||"";yt=yt.replace(/\B(?=(\d{3})+(?!\d))/g,Te),typeof Qe=="number"&&(gt=gt.padEnd(Qe,"0").slice(0,Qe>0?Qe:0)),gt&&(gt=`${he}${gt}`),bt=[x.createElement("span",{key:"int",className:`${Ye}-content-value-int`},Bt,yt),gt&&x.createElement("span",{key:"decimal",className:`${Ye}-content-value-decimal`},gt)]}}return x.createElement("span",{className:`${Ye}-content-value`},bt)},Ve=te(17313),Ue=te(83116),tt=te(37613);const Je=ye=>{const{componentCls:je,marginXXS:De,padding:Qe,colorTextDescription:he,titleFontSize:Te,colorTextHeading:Ye,contentFontSize:bt,fontFamily:Ne}=ye;return{[`${je}`]:Object.assign(Object.assign({},(0,Ve.Wf)(ye)),{[`${je}-title`]:{marginBottom:De,color:he,fontSize:Te},[`${je}-skeleton`]:{paddingTop:Qe},[`${je}-content`]:{color:Ye,fontSize:bt,fontFamily:Ne,[`${je}-content-value`]:{display:"inline-block",direction:"ltr"},[`${je}-content-prefix, ${je}-content-suffix`]:{display:"inline-block"},[`${je}-content-prefix`]:{marginInlineEnd:De},[`${je}-content-suffix`]:{marginInlineStart:De}}})}};var le=(0,Ue.Z)("Statistic",ye=>{const je=(0,tt.TS)(ye,{});return[Je(je)]},ye=>{const{fontSizeHeading3:je,fontSize:De}=ye;return{titleFontSize:De,contentFontSize:je}}),a=ye=>{const{prefixCls:je,className:De,rootClassName:Qe,style:he,valueStyle:Te,value:Ye=0,title:bt,valueRender:Ne,prefix:ut,suffix:Bt,loading:yt=!1,onMouseEnter:gt,onMouseLeave:Yt,decimalSeparator:vt=".",groupSeparator:rn=","}=ye,{getPrefixCls:xn,direction:nt,statistic:et}=x.useContext(Oe.E_),qt=xn("statistic",je),[hn,Zt]=le(qt),dn=x.createElement(ot,Object.assign({decimalSeparator:vt,groupSeparator:rn,prefixCls:qt},ye,{value:Ye})),We=Le()(qt,{[`${qt}-rtl`]:nt==="rtl"},et==null?void 0:et.className,De,Qe,Zt);return hn(x.createElement("div",{className:We,style:Object.assign(Object.assign({},et==null?void 0:et.style),he),onMouseEnter:gt,onMouseLeave:Yt},bt&&x.createElement("div",{className:`${qt}-title`},bt),x.createElement(se.Z,{paragraph:!1,loading:yt,className:`${qt}-skeleton`},x.createElement("div",{style:Te,className:`${qt}-content`},ut&&x.createElement("span",{className:`${qt}-content-prefix`},ut),Ne?Ne(dn):dn,Bt&&x.createElement("span",{className:`${qt}-content-suffix`},Bt)))))};const b=[["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(ye,je){let De=ye;const Qe=/\[[^\]]*]/g,he=(je.match(Qe)||[]).map(Ne=>Ne.slice(1,-1)),Te=je.replace(Qe,"[]"),Ye=b.reduce((Ne,ut)=>{let[Bt,yt]=ut;if(Ne.includes(Bt)){const gt=Math.floor(De/yt);return De-=gt*yt,Ne.replace(new RegExp(`${Bt}+`,"g"),Yt=>{const vt=Yt.length;return gt.toString().padStart(vt,"0")})}return Ne},Te);let bt=0;return Ye.replace(Qe,()=>{const Ne=he[bt];return bt+=1,Ne})}function z(ye,je){const{format:De=""}=je,Qe=new Date(ye).getTime(),he=Date.now(),Te=Math.max(Qe-he,0);return E(Te,De)}const ne=1e3/30;function re(ye){return new Date(ye).getTime()}const ie=ye=>{const{value:je,format:De="HH:mm:ss",onChange:Qe,onFinish:he}=ye,Te=(0,ue.Z)(),Ye=x.useRef(null),bt=()=>{he==null||he(),Ye.current&&(clearInterval(Ye.current),Ye.current=null)},Ne=()=>{const yt=re(je);yt>=Date.now()&&(Ye.current=setInterval(()=>{Te(),Qe==null||Qe(yt-Date.now()),yt(Ne(),()=>{Ye.current&&(clearInterval(Ye.current),Ye.current=null)}),[je]);const ut=(yt,gt)=>z(yt,Object.assign(Object.assign({},gt),{format:De})),Bt=yt=>(0,Be.Tm)(yt,{title:void 0});return x.createElement(a,Object.assign({},ye,{valueRender:Bt,formatter:ut}))};var me=x.memo(ie);a.Countdown=me;var pe=a},15969:function(Ut,Kt,te){"use strict";te.d(Kt,{N:function(){return x}});const x=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},1710:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return Ka}});var x={},ue="rc-table-internal-hook",Be=te(33606),Me=te(6089),Le=te(34280),Oe=te(13697),se=te(59301),ct=te(4676);function ot(ge){var ce=se.createContext(void 0),be=function(Ie){var He=Ie.value,pt=Ie.children,xt=se.useRef(He);xt.current=He;var it=se.useState(function(){return{getValue:function(){return xt.current},listeners:new Set}}),zt=(0,Be.Z)(it,1),wt=zt[0];return(0,Le.Z)(function(){(0,ct.unstable_batchedUpdates)(function(){wt.listeners.forEach(function(Xt){Xt(He)})})},[He]),se.createElement(ce.Provider,{value:wt},pt)};return{Context:ce,Provider:be,defaultValue:ge}}function Ve(ge,ce){var be=(0,Me.Z)(typeof ce=="function"?ce:function(Xt){if(ce===void 0)return Xt;if(!Array.isArray(ce))return Xt[ce];var Ln={};return ce.forEach(function(_t){Ln[_t]=Xt[_t]}),Ln}),ke=se.useContext(ge==null?void 0:ge.Context),Ie=ke||{},He=Ie.listeners,pt=Ie.getValue,xt=se.useRef();xt.current=be(ke?pt():ge==null?void 0:ge.defaultValue);var it=se.useState({}),zt=(0,Be.Z)(it,2),wt=zt[1];return(0,Le.Z)(function(){if(!ke)return;function Xt(Ln){var _t=be(Ln);(0,Oe.Z)(xt.current,_t,!0)||wt({})}return He.add(Xt),function(){He.delete(Xt)}},[ke]),xt.current}var Ue=te(92413),tt=te(8654);function Je(){var ge=se.createContext(null);function ce(){return se.useContext(ge)}function be(Ie,He){var pt=(0,tt.Yr)(Ie),xt=function(zt,wt){var Xt=pt?{ref:wt}:{},Ln=se.useRef(0),_t=se.useRef(zt),At=ce();return At!==null?se.createElement(Ie,(0,Ue.Z)({},zt,Xt)):((!He||He(_t.current,zt))&&(Ln.current+=1),_t.current=zt,se.createElement(ge.Provider,{value:Ln.current},se.createElement(Ie,(0,Ue.Z)({},zt,Xt))))};return pt?se.forwardRef(xt):xt}function ke(Ie,He){var pt=(0,tt.Yr)(Ie),xt=function(zt,wt){var Xt=pt?{ref:wt}:{};return ce(),se.createElement(Ie,(0,Ue.Z)({},zt,Xt))};return pt?se.memo(se.forwardRef(xt),He):se.memo(xt,He)}return{makeImmutable:be,responseImmutable:ke,useImmutableMark:ce}}var le=Je(),y=le.makeImmutable,a=le.responseImmutable,b=le.useImmutableMark,E=Je(),z=E.makeImmutable,ne=E.responseImmutable,re=E.useImmutableMark,ie=ot(),me=ie;function pe(ge,ce){var be=se.useRef(0);be.current+=1;var ke=se.useRef(ge),Ie=[];Object.keys(ge||{}).map(function(pt){var xt;(ge==null?void 0:ge[pt])!==((xt=ke.current)===null||xt===void 0?void 0:xt[pt])&&Ie.push(pt)}),ke.current=ge;var He=se.useRef([]);return Ie.length&&(He.current=Ie),se.useDebugValue(be.current),se.useDebugValue(He.current.join(", ")),ce&&console.log("".concat(ce,":"),be.current,He.current),be.current}var ye=null,je=se.memo(function(){var ge=pe();return se.createElement("h1",null,"Render Times: ",ge)});je.displayName="RenderBlock";var De=te(39559),Qe=te(33708),he=te(400),Te=te(92310),Ye=te.n(Te),bt=te(80547),Ne=te(97938),ut=te(48736),Bt=se.createContext({renderWithProps:!1}),yt=Bt,gt="RC_TABLE_KEY";function Yt(ge){return ge==null?[]:Array.isArray(ge)?ge:[ge]}function vt(ge){var ce=[],be={};return ge.forEach(function(ke){for(var Ie=ke||{},He=Ie.key,pt=Ie.dataIndex,xt=He||Yt(pt).join("-")||gt;be[xt];)xt="".concat(xt,"_next");be[xt]=!0,ce.push(xt)}),ce}function rn(ge){return ge!=null}function xn(ge){return ge&&(0,De.Z)(ge)==="object"&&!Array.isArray(ge)&&!se.isValidElement(ge)}function nt(ge,ce,be,ke,Ie,He){var pt=se.useContext(yt),xt=re(),it=(0,bt.Z)(function(){if(rn(ke))return[ke];var zt=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],wt=(0,Ne.Z)(ge,zt),Xt=wt,Ln=void 0;if(Ie){var _t=Ie(wt,ge,be);xn(_t)?(Xt=_t.children,Ln=_t.props,pt.renderWithProps=!0):Xt=_t}return[Xt,Ln]},[xt,ge,ke,ce,Ie,be],function(zt,wt){if(He){var Xt=(0,Be.Z)(zt,2),Ln=Xt[1],_t=(0,Be.Z)(wt,2),At=_t[1];return He(At,Ln)}return pt.renderWithProps?!0:!(0,Oe.Z)(zt,wt,!0)});return it}function et(ge,ce,be,ke){var Ie=ge+ce-1;return ge<=ke&&Ie>=be}function qt(ge,ce){return Ve(me,function(be){var ke=et(ge,ce||1,be.hoverStartRow,be.hoverEndRow);return[ke,be.onHover]})}var hn=function(ce){var be=ce.ellipsis,ke=ce.rowType,Ie=ce.children,He,pt=be===!0?{showTitle:!0}:be;return pt&&(pt.showTitle||ke==="header")&&(typeof Ie=="string"||typeof Ie=="number"?He=Ie.toString():se.isValidElement(Ie)&&typeof Ie.props.children=="string"&&(He=Ie.props.children)),He};function Zt(ge){var ce,be,ke,Ie,He,pt,xt,it,zt=ge.component,wt=ge.children,Xt=ge.ellipsis,Ln=ge.scope,_t=ge.prefixCls,At=ge.className,Un=ge.align,jn=ge.record,Qn=ge.render,Vn=ge.dataIndex,qn=ge.renderIndex,Fn=ge.shouldCellUpdate,Ca=ge.index,ba=ge.rowType,Za=ge.colSpan,ja=ge.rowSpan,ia=ge.fixLeft,ya=ge.fixRight,Sa=ge.firstFixLeft,Gn=ge.lastFixLeft,ga=ge.firstFixRight,Ma=ge.lastFixRight,er=ge.appendNode,ar=ge.additionalProps,Wa=ar===void 0?{}:ar,mr=ge.isSticky,hr="".concat(_t,"-cell"),Wr=Ve(me,["supportSticky","allColumnsFixedLeft"]),Zr=Wr.supportSticky,ho=Wr.allColumnsFixedLeft,qr=nt(jn,Vn,qn,wt,Qn,Fn),xr=(0,Be.Z)(qr,2),Do=xr[0],Ur=xr[1],So={},ao=typeof ia=="number"&&Zr,Jo=typeof ya=="number"&&Zr;ao&&(So.position="sticky",So.left=ia),Jo&&(So.position="sticky",So.right=ya);var sr=(ce=(be=(ke=Ur==null?void 0:Ur.colSpan)!==null&&ke!==void 0?ke:Wa.colSpan)!==null&&be!==void 0?be:Za)!==null&&ce!==void 0?ce:1,ur=(Ie=(He=(pt=Ur==null?void 0:Ur.rowSpan)!==null&&pt!==void 0?pt:Wa.rowSpan)!==null&&He!==void 0?He:ja)!==null&&Ie!==void 0?Ie:1,_a=qt(Ca,ur),tr=(0,Be.Z)(_a,2),Gr=tr[0],nr=tr[1],cr=function(No){var Io;jn&&nr(Ca,Ca+ur-1),Wa==null||(Io=Wa.onMouseEnter)===null||Io===void 0||Io.call(Wa,No)},Rr=function(No){var Io;jn&&nr(-1,-1),Wa==null||(Io=Wa.onMouseLeave)===null||Io===void 0||Io.call(Wa,No)};if(sr===0||ur===0)return null;var Fr=(xt=Wa.title)!==null&&xt!==void 0?xt:hn({rowType:ba,ellipsis:Xt,children:Do}),ro=Ye()(hr,At,(it={},(0,he.Z)(it,"".concat(hr,"-fix-left"),ao&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-first"),Sa&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-last"),Gn&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-left-all"),Gn&&ho&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right"),Jo&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right-first"),ga&&Zr),(0,he.Z)(it,"".concat(hr,"-fix-right-last"),Ma&&Zr),(0,he.Z)(it,"".concat(hr,"-ellipsis"),Xt),(0,he.Z)(it,"".concat(hr,"-with-append"),er),(0,he.Z)(it,"".concat(hr,"-fix-sticky"),(ao||Jo)&&mr&&Zr),(0,he.Z)(it,"".concat(hr,"-row-hover"),!Ur&&Gr),it),Wa.className,Ur==null?void 0:Ur.className),Ao={};Un&&(Ao.textAlign=Un);var Zo=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},So),Wa.style),Ao),Ur==null?void 0:Ur.style),Ro=Do;return(0,De.Z)(Ro)==="object"&&!Array.isArray(Ro)&&!se.isValidElement(Ro)&&(Ro=null),Xt&&(Gn||ga)&&(Ro=se.createElement("span",{className:"".concat(hr,"-content")},Ro)),se.createElement(zt,(0,Ue.Z)({},Ur,Wa,{className:ro,style:Zo,title:Fr,scope:Ln,onMouseEnter:cr,onMouseLeave:Rr,colSpan:sr!==1?sr:null,rowSpan:ur!==1?ur:null}),er,Ro)}var dn=se.memo(Zt);function We(ge,ce,be,ke,Ie,He){var pt=be[ge]||{},xt=be[ce]||{},it,zt;pt.fixed==="left"?it=ke.left[Ie==="rtl"?ce:ge]:xt.fixed==="right"&&(zt=ke.right[Ie==="rtl"?ge:ce]);var wt=!1,Xt=!1,Ln=!1,_t=!1,At=be[ce+1],Un=be[ge-1],jn=!(He!=null&&He.children);if(Ie==="rtl"){if(it!==void 0){var Qn=Un&&Un.fixed==="left";_t=!Qn&&jn}else if(zt!==void 0){var Vn=At&&At.fixed==="right";Ln=!Vn&&jn}}else if(it!==void 0){var qn=At&&At.fixed==="left";wt=!qn&&jn}else if(zt!==void 0){var Fn=Un&&Un.fixed==="right";Xt=!Fn&&jn}return{fixLeft:it,fixRight:zt,lastFixLeft:wt,firstFixRight:Xt,lastFixRight:Ln,firstFixLeft:_t,isSticky:ke.isSticky}}var It=se.createContext({}),Gt=It;function Mt(ge){var ce=ge.className,be=ge.index,ke=ge.children,Ie=ge.colSpan,He=Ie===void 0?1:Ie,pt=ge.rowSpan,xt=ge.align,it=Ve(me,["prefixCls","direction"]),zt=it.prefixCls,wt=it.direction,Xt=se.useContext(Gt),Ln=Xt.scrollColumnIndex,_t=Xt.stickyOffsets,At=Xt.flattenColumns,Un=Xt.columns,jn=be+He-1,Qn=jn+1===Ln?He+1:He,Vn=We(be,be+Qn-1,At,_t,wt,Un==null?void 0:Un[be]);return se.createElement(dn,(0,Ue.Z)({className:ce,index:be,component:"td",prefixCls:zt,record:null,dataIndex:null,align:xt,colSpan:Qn,rowSpan:pt,render:function(){return ke}},Vn))}var ht=te(37061),rt=["children"];function ze(ge){var ce=ge.children,be=(0,ht.Z)(ge,rt);return se.createElement("tr",be,ce)}function ve(ge){var ce=ge.children;return ce}ve.Row=ze,ve.Cell=Mt;var fe=ve;function qe(ge){var ce=ge.children,be=ge.stickyOffsets,ke=ge.flattenColumns,Ie=ge.columns,He=Ve(me,"prefixCls"),pt=ke.length-1,xt=ke[pt],it=se.useMemo(function(){return{stickyOffsets:be,flattenColumns:ke,scrollColumnIndex:xt!=null&&xt.scrollbar?pt:null,columns:Ie}},[xt,ke,pt,be,Ie]);return se.createElement(Gt.Provider,{value:it},se.createElement("tfoot",{className:"".concat(He,"-summary")},ce))}var Rt=ne(qe),Fe=fe,xe=te(70425),at=te(29301),Xe=te(29194),Ae=te(24514),ft=te(75152),vn=te(26112);function Qt(ge,ce,be,ke,Ie,He,pt){ge.push({record:ce,indent:be,index:pt});var xt=He(ce),it=Ie==null?void 0:Ie.has(xt);if(ce&&Array.isArray(ce[ke])&&it)for(var zt=0;zt1?Sa-1:0),ga=1;ga=0;xt-=1){var it=ce[xt],zt=be&&be[xt],wt=zt&&zt[na];if(it||wt||pt){var Xt=wt||{},Ln=Xt.columnType,_t=(0,ht.Z)(Xt,zn);Ie.unshift(se.createElement("col",(0,Ue.Z)({key:xt,style:{width:it}},_t))),pt=!0}}return se.createElement("colgroup",null,Ie)}var Ea=Pa,_n=te(26407),wa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function en(ge,ce){return(0,se.useMemo)(function(){for(var be=[],ke=0;ke1?"colgroup":"col":null,ellipsis:jn.ellipsis,align:jn.align,component:jn.title?He:pt,prefixCls:wt,key:_t[Un]},Qn,{additionalProps:Vn,rowType:"header"}))}))}$n.displayName="HeaderRow";var Ze=$n;function Nt(ge){var ce=[];function be(pt,xt){var it=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[it]=ce[it]||[];var zt=xt,wt=pt.filter(Boolean).map(function(Xt){var Ln={key:Xt.key,className:Xt.className||"",children:Xt.title,column:Xt,colStart:zt},_t=1,At=Xt.children;return At&&At.length>0&&(_t=be(At,zt,it+1).reduce(function(Un,jn){return Un+jn},0),Ln.hasSubColumns=!0),"colSpan"in Xt&&(_t=Xt.colSpan),"rowSpan"in Xt&&(Ln.rowSpan=Xt.rowSpan),Ln.colSpan=_t,Ln.colEnd=Ln.colStart+_t-1,ce[it].push(Ln),zt+=_t,_t});return wt}be(ge,0);for(var ke=ce.length,Ie=function(xt){ce[xt].forEach(function(it){!("rowSpan"in it)&&!it.hasSubColumns&&(it.rowSpan=ke-xt)})},He=0;He1&&arguments[1]!==void 0?arguments[1]:"";return typeof ce=="number"?ce:ce.endsWith("%")?ge*parseFloat(ce)/100:null}function mn(ge,ce){return se.useMemo(function(){if(ce&&ce>0){var be=0,ke=0;ge.forEach(function(zt){var wt=Ht(ce,zt.width);wt?be+=wt:ke+=1});var Ie=ce-be,He=ke,pt=Ie/ke,xt=0,it=ge.map(function(zt){var wt=(0,Qe.Z)({},zt),Xt=Ht(ce,wt.width);if(Xt)wt.width=Xt;else{var Ln=Math.floor(pt);wt.width=He===1?Ie:Ln,Ie-=Ln,He-=1}return xt+=wt.width,wt});return[it,xt]}return[ge,ce]},[ge,ce])}var st=["children"],Pt=["fixed"];function dt(ge){return(0,tn.Z)(ge).filter(function(ce){return se.isValidElement(ce)}).map(function(ce){var be=ce.key,ke=ce.props,Ie=ke.children,He=(0,ht.Z)(ke,st),pt=(0,Qe.Z)({key:be},He);return Ie&&(pt.children=dt(Ie)),pt})}function ln(ge){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return ge.filter(function(be){return be&&(0,De.Z)(be)==="object"}).reduce(function(be,ke,Ie){var He=ke.fixed,pt=He===!0?"left":He,xt="".concat(ce,"-").concat(Ie),it=ke.children;return it&&it.length>0?[].concat((0,_n.Z)(be),(0,_n.Z)(ln(it,xt).map(function(zt){return(0,Qe.Z)({fixed:pt},zt)}))):[].concat((0,_n.Z)(be),[(0,Qe.Z)((0,Qe.Z)({key:xt},ke),{},{fixed:pt})])},[])}function Nn(ge){for(var ce=!0,be=0;be=0;He-=1){var pt=ge[He];if(Ie&&pt.fixed!=="right")Ie=!1;else if(!Ie&&pt.fixed==="right"){warning(!1,"Index ".concat(He+1," of `columns` missing `fixed='right'` prop."));break}}}function bn(ge){return ge.map(function(ce){var be=ce.fixed,ke=(0,ht.Z)(ce,Pt),Ie=be;return be==="left"?Ie="right":be==="right"&&(Ie="left"),(0,Qe.Z)({fixed:Ie},ke)})}function la(ge,ce){var be=ge.prefixCls,ke=ge.columns,Ie=ge.children,He=ge.expandable,pt=ge.expandedKeys,xt=ge.columnTitle,it=ge.getRowKey,zt=ge.onTriggerExpand,wt=ge.expandIcon,Xt=ge.rowExpandable,Ln=ge.expandIconColumnIndex,_t=ge.direction,At=ge.expandRowByClick,Un=ge.columnWidth,jn=ge.fixed,Qn=ge.scrollWidth,Vn=se.useMemo(function(){return ke||dt(Ie)},[ke,Ie]),qn=se.useMemo(function(){if(He){var ya,Sa=Vn.slice();if(!Sa.includes(x)){var Gn=Ln||0;Gn>=0&&Sa.splice(Gn,0,x)}var ga=Sa.indexOf(x);Sa=Sa.filter(function(Wa,mr){return Wa!==x||mr===ga});var Ma=Vn[ga],er;(jn==="left"||jn)&&!Ln?er="left":(jn==="right"||jn)&&Ln===Vn.length?er="right":er=Ma?Ma.fixed:null;var ar=(ya={},(0,he.Z)(ya,na,{className:"".concat(be,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,he.Z)(ya,"title",xt),(0,he.Z)(ya,"fixed",er),(0,he.Z)(ya,"className","".concat(be,"-row-expand-icon-cell")),(0,he.Z)(ya,"width",Un),(0,he.Z)(ya,"render",function(mr,hr,Wr){var Zr=it(hr,Wr),ho=pt.has(Zr),qr=Xt?Xt(hr):!0,xr=wt({prefixCls:be,expanded:ho,expandable:qr,record:hr,onExpand:zt});return At?se.createElement("span",{onClick:function(Ur){return Ur.stopPropagation()}},xr):xr}),ya);return Sa.map(function(Wa){return Wa===x?ar:Wa})}return Vn.filter(function(Wa){return Wa!==x})},[He,Vn,it,pt,wt,_t]),Fn=se.useMemo(function(){var ya=qn;return ce&&(ya=ce(ya)),ya.length||(ya=[{render:function(){return null}}]),ya},[ce,qn,_t]),Ca=se.useMemo(function(){return _t==="rtl"?bn(ln(Fn)):ln(Fn)},[Fn,_t,Qn]),ba=mn(Ca,Qn),Za=(0,Be.Z)(ba,2),ja=Za[0],ia=Za[1];return[Fn,ja,ia]}var Hn=la;function lt(ge){var ce,be=ge.prefixCls,ke=ge.record,Ie=ge.onExpand,He=ge.expanded,pt=ge.expandable,xt="".concat(be,"-row-expand-icon");if(!pt)return se.createElement("span",{className:Ye()(xt,"".concat(be,"-row-spaced"))});var it=function(wt){Ie(ke,wt),wt.stopPropagation()};return se.createElement("span",{className:Ye()(xt,(ce={},(0,he.Z)(ce,"".concat(be,"-row-expanded"),He),(0,he.Z)(ce,"".concat(be,"-row-collapsed"),!He),ce)),onClick:it})}function $t(ge,ce,be){var ke=[];function Ie(He){(He||[]).forEach(function(pt,xt){ke.push(ce(pt,xt)),Ie(pt[be])})}return Ie(ge),ke}function Jn(ge,ce,be){var ke=aa(ge),Ie=ke.expandIcon,He=ke.expandedRowKeys,pt=ke.defaultExpandedRowKeys,xt=ke.defaultExpandAllRows,it=ke.expandedRowRender,zt=ke.onExpand,wt=ke.onExpandedRowsChange,Xt=ke.childrenColumnName,Ln=Ie||lt,_t=Xt||"children",At=se.useMemo(function(){return it?"row":ge.expandable&&ge.internalHooks===ue&&ge.expandable.__PARENT_RENDER_ICON__||ce.some(function(Ca){return Ca&&(0,De.Z)(Ca)==="object"&&Ca[_t]})?"nest":!1},[!!it,ce]),Un=se.useState(function(){return pt||(xt?$t(ce,be,_t):[])}),jn=(0,Be.Z)(Un,2),Qn=jn[0],Vn=jn[1],qn=se.useMemo(function(){return new Set(He||Qn||[])},[He,Qn]),Fn=se.useCallback(function(Ca){var ba=be(Ca,ce.indexOf(Ca)),Za,ja=qn.has(ba);ja?(qn.delete(ba),Za=(0,_n.Z)(qn)):Za=[].concat((0,_n.Z)(qn),[ba]),Vn(Za),zt&&zt(!ja,Ca),wt&&wt(Za)},[be,qn,ce,zt,wt]);return[ke,At,qn,Ln,_t,Fn]}function nn(ge,ce,be,ke){var Ie=ge.map(function(He,pt){return We(pt,pt,ge,ce,be,ke==null?void 0:ke[pt])});return(0,bt.Z)(function(){return Ie},[Ie],function(He,pt){return!(0,Oe.Z)(He,pt)})}function kn(ge){var ce=(0,se.useRef)(ge),be=(0,se.useState)({}),ke=(0,Be.Z)(be,2),Ie=ke[1],He=(0,se.useRef)(null),pt=(0,se.useRef)([]);function xt(it){pt.current.push(it);var zt=Promise.resolve();He.current=zt,zt.then(function(){if(He.current===zt){var wt=pt.current,Xt=ce.current;pt.current=[],wt.forEach(function(Ln){ce.current=Ln(ce.current)}),He.current=null,Xt!==ce.current&&Ie({})}})}return(0,se.useEffect)(function(){return function(){He.current=null}},[]),[ce.current,xt]}function ea(ge){var ce=(0,se.useRef)(ge||null),be=(0,se.useRef)();function ke(){window.clearTimeout(be.current)}function Ie(pt){ce.current=pt,ke(),be.current=window.setTimeout(function(){ce.current=null,be.current=void 0},100)}function He(){return ce.current}return(0,se.useEffect)(function(){return ke},[]),[Ie,He]}function Ra(){var ge=se.useState(-1),ce=(0,Be.Z)(ge,2),be=ce[0],ke=ce[1],Ie=se.useState(-1),He=(0,Be.Z)(Ie,2),pt=He[0],xt=He[1],it=se.useCallback(function(zt,wt){ke(zt),xt(wt)},[]);return[be,pt,it]}var va=te(47273),Ge=(0,va.Z)()?window:null;function gn(ge,ce){var be=(0,De.Z)(ge)==="object"?ge:{},ke=be.offsetHeader,Ie=ke===void 0?0:ke,He=be.offsetSummary,pt=He===void 0?0:He,xt=be.offsetScroll,it=xt===void 0?0:xt,zt=be.getContainer,wt=zt===void 0?function(){return Ge}:zt,Xt=wt()||Ge;return se.useMemo(function(){var Ln=!!ge;return{isSticky:Ln,stickyClassName:Ln?"".concat(ce,"-sticky-holder"):"",offsetHeader:Ie,offsetSummary:pt,offsetScroll:it,container:Xt}},[it,Ie,pt,ce,Xt])}function Jt(ge,ce,be){var ke=(0,se.useMemo)(function(){for(var Ie=[],He=[],pt=0,xt=0,it=0;it=Xt&&(Wa=Xt-Ln),pt({scrollLeft:Wa/Xt*(wt+2)}),Vn.current.x=ga.pageX},ya=function(){if(He.current){var ga=(0,Dn.os)(He.current).top,Ma=ga+He.current.offsetHeight,er=it===window?document.documentElement.scrollTop+window.innerHeight:(0,Dn.os)(it).top+it.clientHeight;Ma-(0,ft.Z)()<=er||ga>=er-xt?Qn(function(ar){return(0,Qe.Z)((0,Qe.Z)({},ar),{},{isHiddenScrollBar:!0})}):Qn(function(ar){return(0,Qe.Z)((0,Qe.Z)({},ar),{},{isHiddenScrollBar:!1})})}},Sa=function(ga){Qn(function(Ma){return(0,Qe.Z)((0,Qe.Z)({},Ma),{},{scrollLeft:ga/wt*Xt||0})})};return se.useImperativeHandle(be,function(){return{setScrollLeft:Sa}}),se.useEffect(function(){var Gn=(0,An.Z)(document.body,"mouseup",Za,!1),ga=(0,An.Z)(document.body,"mousemove",ia,!1);return ya(),function(){Gn.remove(),ga.remove()}},[Ln,Ca]),se.useEffect(function(){var Gn=(0,An.Z)(it,"scroll",ya,!1),ga=(0,An.Z)(window,"resize",ya,!1);return function(){Gn.remove(),ga.remove()}},[it]),se.useEffect(function(){jn.isHiddenScrollBar||Qn(function(Gn){var ga=He.current;return ga?(0,Qe.Z)((0,Qe.Z)({},Gn),{},{scrollLeft:ga.scrollLeft/ga.scrollWidth*ga.clientWidth}):Gn})},[jn.isHiddenScrollBar]),wt<=Xt||!Ln||jn.isHiddenScrollBar?null:se.createElement("div",{style:{height:(0,ft.Z)(),width:Xt,bottom:xt},className:"".concat(zt,"-sticky-scroll")},se.createElement("div",{onMouseDown:ja,ref:_t,className:Ye()("".concat(zt,"-sticky-scroll-bar"),(0,he.Z)({},"".concat(zt,"-sticky-scroll-bar-active"),Ca)),style:{width:"".concat(Ln,"px"),transform:"translate3d(".concat(jn.scrollLeft,"px, 0, 0)")}}))},La=se.forwardRef(Fa);function fn(ge){return null}var Na=fn;function Yn(ge){return null}var qa=Yn,Ja="rc-table",Wn=[],sa={};function ma(){return"No Data"}function ra(ge){var ce,be=(0,Qe.Z)({rowKey:"key",prefixCls:Ja,emptyText:ma},ge),ke=be.prefixCls,Ie=be.className,He=be.rowClassName,pt=be.style,xt=be.data,it=be.rowKey,zt=be.scroll,wt=be.tableLayout,Xt=be.direction,Ln=be.title,_t=be.footer,At=be.summary,Un=be.caption,jn=be.id,Qn=be.showHeader,Vn=be.components,qn=be.emptyText,Fn=be.onRow,Ca=be.onHeaderRow,ba=be.internalHooks,Za=be.transformColumns,ja=be.internalRefs,ia=be.tailor,ya=be.sticky,Sa=xt||Wn,Gn=!!Sa.length,ga=ba===ue,Ma=se.useCallback(function(Jr,wo){return(0,Ne.Z)(Vn,Jr)||wo},[Vn]),er=se.useMemo(function(){return typeof it=="function"?it:function(Jr){var wo=Jr&&Jr[it];return wo}},[it]),ar=Ma(["body"]),Wa=Ra(),mr=(0,Be.Z)(Wa,3),hr=mr[0],Wr=mr[1],Zr=mr[2],ho=Jn(be,Sa,er),qr=(0,Be.Z)(ho,6),xr=qr[0],Do=qr[1],Ur=qr[2],So=qr[3],ao=qr[4],Jo=qr[5],sr=zt==null?void 0:zt.x,ur=se.useState(0),_a=(0,Be.Z)(ur,2),tr=_a[0],Gr=_a[1],nr=Hn((0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},be),xr),{},{expandable:!!xr.expandedRowRender,columnTitle:xr.columnTitle,expandedKeys:Ur,getRowKey:er,onTriggerExpand:Jo,expandIcon:So,expandIconColumnIndex:xr.expandIconColumnIndex,direction:Xt,scrollWidth:ga&&ia&&typeof sr=="number"?sr:null}),ga?Za:null),cr=(0,Be.Z)(nr,3),Rr=cr[0],Fr=cr[1],ro=cr[2],Ao=ro!=null?ro:sr,Zo=se.useMemo(function(){return{columns:Rr,flattenColumns:Fr}},[Rr,Fr]),Ro=se.useRef(),ci=se.useRef(),No=se.useRef(),Io=se.useRef(),Ai=se.useRef(),Xr=se.useState(!1),eo=(0,Be.Z)(Xr,2),co=eo[0],Eo=eo[1],oo=se.useState(!1),Tr=(0,Be.Z)(oo,2),Ko=Tr[0],Vo=Tr[1],da=kn(new Map),Qa=(0,Be.Z)(da,2),Pr=Qa[0],Er=Qa[1],Nr=vt(Fr),zr=Nr.map(function(Jr){return Pr.get(Jr)}),io=se.useMemo(function(){return zr},[zr.join("_")]),bo=yn(io,Fr.length,Xt),lo=zt&&rn(zt.y),po=zt&&rn(Ao)||!!xr.fixed,ii=po&&Fr.some(function(Jr){var wo=Jr.fixed;return wo}),_o=se.useRef(),ni=gn(ya,ke),qo=ni.isSticky,fi=ni.offsetHeader,Xi=ni.offsetSummary,Kr=ni.offsetScroll,fo=ni.stickyClassName,Mo=ni.container,Co=se.useMemo(function(){return At==null?void 0:At(Sa)},[At,Sa]),Wo=(lo||qo)&&se.isValidElement(Co)&&Co.type===fe&&Co.props.fixed,Uo,Xo,Si;lo&&(Xo={overflowY:"scroll",maxHeight:zt.y}),po&&(Uo={overflowX:"auto"},lo||(Xo={overflowY:"hidden"}),Si={width:Ao===!0?"auto":Ao,minWidth:"100%"});var _i=se.useCallback(function(Jr,wo){(0,Xe.Z)(Ro.current)&&Er(function(Pi){if(Pi.get(Jr)!==wo){var zi=new Map(Pi);return zi.set(Jr,wo),zi}return Pi})},[]),_l=ea(null),ml=(0,Be.Z)(_l,2),fl=ml[0],pl=ml[1];function Yi(Jr,wo){wo&&(typeof wo=="function"?wo(Jr):wo.scrollLeft!==Jr&&(wo.scrollLeft=Jr,wo.scrollLeft!==Jr&&setTimeout(function(){wo.scrollLeft=Jr},0)))}var vl=(0,Me.Z)(function(Jr){var wo=Jr.currentTarget,Pi=Jr.scrollLeft,zi=Xt==="rtl",Hi=typeof Pi=="number"?Pi:wo.scrollLeft,Vl=wo||sa;if(!pl()||pl()===Vl){var Ps;fl(Vl),Yi(Hi,ci.current),Yi(Hi,No.current),Yi(Hi,Ai.current),Yi(Hi,(Ps=_o.current)===null||Ps===void 0?void 0:Ps.setScrollLeft)}var ys=wo||ci.current;if(ys){var Es=ys.scrollWidth,bs=ys.clientWidth;if(Es===bs){Eo(!1),Vo(!1);return}zi?(Eo(-Hi0)):(Eo(Hi>0),Vo(Hi1?Un-ga:0,er=(0,Qe.Z)((0,Qe.Z)((0,Qe.Z)({},Za),it),{},{flex:"0 0 ".concat(ga,"px"),width:"".concat(ga,"px"),marginRight:Ma,pointerEvents:"auto"}),ar=se.useMemo(function(){return wt?Sa<=1:ia===0||Sa===0||Sa>1},[Sa,ia,wt]);ar?er.visibility="hidden":wt&&(er.height=Xt==null?void 0:Xt(Sa));var Wa=ar?function(){return null}:Ln,mr={};return(Sa===0||ia===0)&&(mr.rowSpan=1,mr.colSpan=1),se.createElement(dn,(0,Ue.Z)({className:Ye()(At,zt),ellipsis:be.ellipsis,align:be.align,scope:be.rowScope,component:"div",prefixCls:ce.prefixCls,key:qn,record:xt,index:He,renderIndex:pt,dataIndex:_t,render:Wa,shouldCellUpdate:be.shouldCellUpdate},Fn,{appendNode:Ca,additionalProps:(0,Qe.Z)((0,Qe.Z)({},ba),{},{style:er},mr)}))}var yr=uo,Sr=["data","index","className","rowKey","style","extra","getHeight"],Ar=se.forwardRef(function(ge,ce){var be=ge.data,ke=ge.index,Ie=ge.className,He=ge.rowKey,pt=ge.style,xt=ge.extra,it=ge.getHeight,zt=(0,ht.Z)(ge,Sr),wt=be.record,Xt=be.indent,Ln=be.index,_t=Ve(me,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),At=_t.scrollX,Un=_t.flattenColumns,jn=_t.prefixCls,Qn=_t.fixColumn,Vn=_t.componentWidth,qn=_e(wt,He,ke,Xt),Fn=qn.rowSupportExpand,Ca=qn.expanded,ba=qn.rowProps,Za=qn.expandedRowRender,ja=qn.expandedRowClassName,ia;if(Fn&&Ca){var ya=Za(wt,ke,Xt+1,Ca),Sa=ja==null?void 0:ja(wt,ke,Xt),Gn={};Qn&&(Gn={style:(0,he.Z)({},"--virtual-width","".concat(Vn,"px"))});var ga="".concat(jn,"-expanded-row-cell");ia=se.createElement("div",{className:Ye()("".concat(jn,"-expanded-row"),"".concat(jn,"-expanded-row-level-").concat(Xt+1),Sa)},se.createElement(dn,{component:"div",prefixCls:jn,className:Ye()(ga,(0,he.Z)({},"".concat(ga,"-fixed"),Qn)),additionalProps:Gn},ya))}var Ma=(0,Qe.Z)((0,Qe.Z)({},pt),{},{width:At});xt&&(Ma.position="absolute",Ma.pointerEvents="none");var er=se.createElement("div",(0,Ue.Z)({},ba,zt,{ref:Fn?null:ce,className:Ye()(Ie,"".concat(jn,"-row"),ba==null?void 0:ba.className,(0,he.Z)({},"".concat(jn,"-row-extra"),xt)),style:(0,Qe.Z)((0,Qe.Z)({},Ma),ba==null?void 0:ba.style)}),Un.map(function(ar,Wa){return se.createElement(yr,{key:Wa,rowInfo:qn,column:ar,colIndex:Wa,indent:Xt,index:ke,renderIndex:Ln,record:wt,inverse:xt,getHeight:it})}));return Fn?se.createElement("div",{ref:ce},er,ia):er}),br=ne(Ar),Br=br,Ta=se.forwardRef(function(ge,ce){var be=ge.data,ke=ge.onScroll,Ie=Ve(me,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),He=Ie.flattenColumns,pt=Ie.onColumnResize,xt=Ie.getRowKey,it=Ie.expandedKeys,zt=Ie.prefixCls,wt=Ie.childrenColumnName,Xt=Ie.emptyNode,Ln=Ie.scrollX,_t=Ve(lr),At=_t.scrollY,Un=_t.listItemHeight,jn=se.useRef(),Qn=jt(be,wt,it,xt),Vn=se.useMemo(function(){var ia=0;return He.map(function(ya){var Sa=ya.width,Gn=ya.key;return ia+=Sa,[Gn,Sa,ia]})},[He]),qn=se.useMemo(function(){return Vn.map(function(ia){return ia[2]})},[Vn]);se.useEffect(function(){Vn.forEach(function(ia){var ya=(0,Be.Z)(ia,2),Sa=ya[0],Gn=ya[1];pt(Sa,Gn)})},[Vn]),se.useImperativeHandle(ce,function(){var ia={};return Object.defineProperty(ia,"scrollLeft",{get:function(){var Sa;return((Sa=jn.current)===null||Sa===void 0?void 0:Sa.getScrollInfo().x)||0},set:function(Sa){var Gn;(Gn=jn.current)===null||Gn===void 0||Gn.scrollTo({left:Sa})}}),ia});var Fn=function(ya,Sa){var Gn,ga=(Gn=Qn[Sa])===null||Gn===void 0?void 0:Gn.record,Ma=ya.onCell;if(Ma){var er,ar=Ma(ga,Sa);return(er=ar==null?void 0:ar.rowSpan)!==null&&er!==void 0?er:1}return 1},Ca=function(ya){var Sa=ya.start,Gn=ya.end,ga=ya.getSize,Ma=ya.offsetY;if(Gn<0)return null;for(var er=He.filter(function(sr){return Fn(sr,Sa)===0}),ar=Sa,Wa=function(ur){if(er=er.filter(function(_a){return Fn(_a,ur)===0}),!er.length)return ar=ur,"break"},mr=Sa;mr>=0;mr-=1){var hr=Wa(mr);if(hr==="break")break}for(var Wr=He.filter(function(sr){return Fn(sr,Gn)!==1}),Zr=Gn,ho=function(ur){if(Wr=Wr.filter(function(_a){return Fn(_a,ur)!==1}),!Wr.length)return Zr=Math.max(ur-1,Gn),"break"},qr=Gn;qr1})&&Do.push(ur)},So=ar;So<=Zr;So+=1)var ao=Ur(So);var Jo=Do.map(function(sr){var ur=Qn[sr],_a=xt(ur.record,sr),tr=function(cr){var Rr=sr+cr-1,Fr=xt(Qn[Rr].record,Rr),ro=ga(_a,Fr);return ro.bottom-ro.top},Gr=ga(_a);return se.createElement(Br,{key:sr,data:ur,rowKey:_a,index:sr,style:{top:-Ma+Gr.top},extra:!0,getHeight:tr})});return Jo},ba=se.useMemo(function(){return{columnsOffset:qn}},[qn]),Za="".concat(zt,"-tbody"),ja;return Qn.length?ja=se.createElement(za.Z,{fullHeight:!1,ref:jn,className:Ye()(Za,"".concat(Za,"-virtual")),height:At,itemHeight:Un||24,data:Qn,itemKey:function(ya){return xt(ya.record)},scrollWidth:Ln,onVirtualScroll:function(ya){var Sa=ya.x;ke({scrollLeft:Sa})},extraRender:Ca},function(ia,ya,Sa){var Gn=xt(ia.record,ya);return se.createElement(Br,(0,Ue.Z)({data:ia,rowKey:Gn,index:ya},Sa))}):ja=se.createElement("div",{className:Ye()("".concat(zt,"-placeholder"))},se.createElement(dn,{component:"div",prefixCls:zt},Xt)),se.createElement(Vr.Provider,{value:ba},ja)}),or=ne(Ta),Lr=or,Or=function(ce,be){var ke=be.ref,Ie=be.onScroll;return se.createElement(Lr,{ref:ke,data:ce,onScroll:Ie})},Cr=100;function $r(ge){var ce=ge.columns,be=ge.scroll,ke=ge.prefixCls,Ie=ke===void 0?Ja:ke,He=ge.className,pt=ge.listItemHeight,xt=be||{},it=xt.x,zt=xt.y;typeof it!="number"&&(it=((ce||[]).length+1)*Cr),typeof zt!="number"&&(zt=500);var wt=se.useMemo(function(){return{scrollY:zt,listItemHeight:pt}},[zt,pt]);return se.createElement(lr.Provider,{value:wt},se.createElement(Ga,(0,Ue.Z)({},ge,{className:Ye()(He,"".concat(Ie,"-virtual")),scroll:(0,Qe.Z)((0,Qe.Z)({},be),{},{x:it}),components:{body:Or},columns:ce,internalHooks:ue,tailor:!0})))}function jr(ge){return z($r,ge)}var Xa=jr(),wr=null;function pr(ge){return null}var Qr=pr;function no(ge){return null}var Bo=no,To=te(2738),ko=te(68031),Dr=te(36355),Yr=te(93891),Po=te(19716),$o=te(8628),jo=te(31724),ei=te(58421),$a=te(71418),fa=te(88088);function Tn(ge){return function(be){let{prefixCls:ke,onExpand:Ie,record:He,expanded:pt,expandable:xt}=be;const it=`${ke}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:zt=>{Ie(He,zt),zt.stopPropagation()},className:Ye()(it,{[`${it}-spaced`]:!xt,[`${it}-expanded`]:xt&&pt,[`${it}-collapsed`]:xt&&!pt}),"aria-label":pt?ge.collapse:ge.expand,"aria-expanded":pt})}}var Ba=Tn;function gr(ge,ce){return"key"in ge&&ge.key!==void 0&&ge.key!==null?ge.key:ge.dataIndex?Array.isArray(ge.dataIndex)?ge.dataIndex.join("."):ge.dataIndex:ce}function Ce(ge,ce){return ce?`${ce}-${ge}`:`${ge}`}function sn(ge,ce){return typeof ge=="function"?ge(ce):ge}function Cn(ge,ce){const be=sn(ge,ce);return Object.prototype.toString.call(be)==="[object Object]"?"":be}var Kn={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"},an=Kn,oa=te(7657),ta=function(ce,be){return se.createElement(oa.Z,(0,Ue.Z)({},ce,{ref:be,icon:an}))},Bn=se.forwardRef(ta),On=Bn,Aa=te(56762);function Xn(ge){const ce=se.useRef(ge),be=(0,Aa.Z)();return[()=>ce.current,ke=>{ce.current=ke,be()}]}var ca=te(3113),pa=te(24905),Va=te(38854),vr=te(64165),_r=te(20834),kr=te(40875),mo=te(5112),vo=te(17574),xo=te(47472),pi=te(92832);function gi(ge){let{value:ce,onChange:be,filterSearch:ke,tablePrefixCls:Ie,locale:He}=ge;return ke?se.createElement("div",{className:`${Ie}-filter-dropdown-search`},se.createElement(pi.default,{prefix:se.createElement(xo.Z,null),placeholder:He.filterSearchPlaceholder,onChange:be,value:ce,htmlSize:1,className:`${Ie}-filter-dropdown-search-input`})):null}var ri=gi,ui=te(10228);const vi=ge=>{const{keyCode:ce}=ge;ce===ui.Z.ENTER&&ge.stopPropagation()};var hi=se.forwardRef((ge,ce)=>se.createElement("div",{className:ge.className,onClick:be=>be.stopPropagation(),onKeyDown:vi,ref:ce},ge.children));function Ni(ge){let ce=[];return(ge||[]).forEach(be=>{let{value:ke,children:Ie}=be;ce.push(ke),Ie&&(ce=[].concat((0,_n.Z)(ce),(0,_n.Z)(Ni(Ie))))}),ce}function Ql(ge){return ge.some(ce=>{let{children:be}=ce;return be})}function Vi(ge,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(ge.trim().toLowerCase()):!1}function nl(ge){let{filters:ce,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:He,filterSearch:pt}=ge;return ce.map((xt,it)=>{const zt=String(xt.value);if(xt.children)return{key:zt||it,label:xt.text,popupClassName:`${be}-dropdown-submenu`,children:nl({filters:xt.children,prefixCls:be,filteredKeys:ke,filterMultiple:Ie,searchValue:He,filterSearch:pt})};const wt=Ie?pa.default:mo.ZP,Xt={key:xt.value!==void 0?zt:it,label:se.createElement(se.Fragment,null,se.createElement(wt,{checked:ke.includes(zt)}),se.createElement("span",null,xt.text))};return He.trim()?typeof pt=="function"?pt(He,xt)?Xt:null:Vi(He,xt.text)?Xt:null:Xt})}function Jl(ge){var ce,be;const{tablePrefixCls:ke,prefixCls:Ie,column:He,dropdownPrefixCls:pt,columnKey:xt,filterMultiple:it,filterMode:zt="menu",filterSearch:wt=!1,filterState:Xt,triggerFilter:Ln,locale:_t,children:At,getPopupContainer:Un}=ge,{filterDropdownOpen:jn,onFilterDropdownOpenChange:Qn,filterResetToDefaultFilteredValue:Vn,defaultFilteredValue:qn,filterDropdownVisible:Fn,onFilterDropdownVisibleChange:Ca}=He,[ba,Za]=se.useState(!1),ja=!!(Xt&&(!((ce=Xt.filteredKeys)===null||ce===void 0)&&ce.length||Xt.forceFiltered)),ia=nr=>{Za(nr),Qn==null||Qn(nr),Ca==null||Ca(nr)},ya=(be=jn!=null?jn:Fn)!==null&&be!==void 0?be:ba,Sa=Xt==null?void 0:Xt.filteredKeys,[Gn,ga]=Xn(Sa||[]),Ma=nr=>{let{selectedKeys:cr}=nr;ga(cr)},er=(nr,cr)=>{let{node:Rr,checked:Fr}=cr;Ma(it?{selectedKeys:nr}:{selectedKeys:Fr&&Rr.key?[Rr.key]:[]})};se.useEffect(()=>{ba&&Ma({selectedKeys:Sa||[]})},[Sa]);const[ar,Wa]=se.useState([]),mr=nr=>{Wa(nr)},[hr,Wr]=se.useState(""),Zr=nr=>{const{value:cr}=nr.target;Wr(cr)};se.useEffect(()=>{ba||Wr("")},[ba]);const ho=nr=>{const cr=nr&&nr.length?nr:null;if(cr===null&&(!Xt||!Xt.filteredKeys)||(0,Oe.Z)(cr,Xt==null?void 0:Xt.filteredKeys,!0))return null;Ln({column:He,key:xt,filteredKeys:cr})},qr=()=>{ia(!1),ho(Gn())},xr=function(){let{confirm:nr,closeDropdown:cr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};nr&&ho([]),cr&&ia(!1),Wr(""),ga(Vn?(qn||[]).map(Rr=>String(Rr)):[])},Do=function(){let{closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};nr&&ia(!1),ho(Gn())},Ur=nr=>{nr&&Sa!==void 0&&ga(Sa||[]),ia(nr),!nr&&!He.filterDropdown&&qr()},So=Ye()({[`${pt}-menu-without-submenu`]:!Ql(He.filters||[])}),ao=nr=>{if(nr.target.checked){const cr=Ni(He==null?void 0:He.filters).map(Rr=>String(Rr));ga(cr)}else ga([])},Jo=nr=>{let{filters:cr}=nr;return(cr||[]).map((Rr,Fr)=>{const ro=String(Rr.value),Ao={title:Rr.text,key:Rr.value!==void 0?ro:Fr};return Rr.children&&(Ao.children=Jo({filters:Rr.children})),Ao})},sr=nr=>{var cr;return Object.assign(Object.assign({},nr),{text:nr.title,value:nr.key,children:((cr=nr.children)===null||cr===void 0?void 0:cr.map(Rr=>sr(Rr)))||[]})};let ur;if(typeof He.filterDropdown=="function")ur=He.filterDropdown({prefixCls:`${pt}-custom`,setSelectedKeys:nr=>Ma({selectedKeys:nr}),selectedKeys:Gn(),confirm:Do,clearFilters:xr,filters:He.filters,visible:ya,close:()=>{ia(!1)}});else if(He.filterDropdown)ur=He.filterDropdown;else{const nr=Gn()||[],cr=()=>(He.filters||[]).length===0?se.createElement(vr.Z,{image:vr.Z.PRESENTED_IMAGE_SIMPLE,description:_t.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):zt==="tree"?se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:wt,value:hr,onChange:Zr,tablePrefixCls:ke,locale:_t}),se.createElement("div",{className:`${ke}-filter-dropdown-tree`},it?se.createElement(pa.default,{checked:nr.length===Ni(He.filters).length,indeterminate:nr.length>0&&nr.lengthtypeof wt=="function"?wt(hr,sr(Fr)):Vi(hr,Fr.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(ri,{filterSearch:wt,value:hr,onChange:Zr,tablePrefixCls:ke,locale:_t}),se.createElement(_r.default,{selectable:!0,multiple:it,prefixCls:`${pt}-menu`,className:So,onSelect:Ma,onDeselect:Ma,selectedKeys:nr,getPopupContainer:Un,openKeys:ar,onOpenChange:mr,items:nl({filters:He.filters||[],filterSearch:wt,prefixCls:Ie,filteredKeys:Gn(),filterMultiple:it,searchValue:hr})})),Rr=()=>Vn?(0,Oe.Z)((qn||[]).map(Fr=>String(Fr)),nr,!0):nr.length===0;ur=se.createElement(se.Fragment,null,cr(),se.createElement("div",{className:`${Ie}-dropdown-btns`},se.createElement(ca.ZP,{type:"link",size:"small",disabled:Rr(),onClick:()=>xr()},_t.filterReset),se.createElement(ca.ZP,{type:"primary",size:"small",onClick:qr},_t.filterConfirm)))}He.filterDropdown&&(ur=se.createElement(kr.J,{selectable:void 0},ur));const _a=()=>se.createElement(hi,{className:`${Ie}-dropdown`},ur);let tr;typeof He.filterIcon=="function"?tr=He.filterIcon(ja):He.filterIcon?tr=He.filterIcon:tr=se.createElement(On,null);const{direction:Gr}=se.useContext(Dr.E_);return se.createElement("div",{className:`${Ie}-column`},se.createElement("span",{className:`${ke}-column-title`},At),se.createElement(Va.Z,{dropdownRender:_a,trigger:["click"],open:ya,onOpenChange:Ur,getPopupContainer:Un,placement:Gr==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Ye()(`${Ie}-trigger`,{active:ja}),onClick:nr=>{nr.stopPropagation()}},tr)))}var Qo=Jl;function mi(ge,ce,be){let ke=[];return(ge||[]).forEach((Ie,He)=>{var pt;const xt=Ce(He,be);if(Ie.filters||"filterDropdown"in Ie||"onFilter"in Ie)if("filteredValue"in Ie){let it=Ie.filteredValue;"filterDropdown"in Ie||(it=(pt=it==null?void 0:it.map(String))!==null&&pt!==void 0?pt:it),ke.push({column:Ie,key:gr(Ie,xt),filteredKeys:it,forceFiltered:Ie.filtered})}else ke.push({column:Ie,key:gr(Ie,xt),filteredKeys:ce&&Ie.defaultFilteredValue?Ie.defaultFilteredValue:void 0,forceFiltered:Ie.filtered});"children"in Ie&&(ke=[].concat((0,_n.Z)(ke),(0,_n.Z)(mi(Ie.children,ce,xt))))}),ke}function Bi(ge,ce,be,ke,Ie,He,pt,xt){return be.map((it,zt)=>{const wt=Ce(zt,xt),{filterMultiple:Xt=!0,filterMode:Ln,filterSearch:_t}=it;let At=it;if(At.filters||At.filterDropdown){const Un=gr(At,wt),jn=ke.find(Qn=>{let{key:Vn}=Qn;return Un===Vn});At=Object.assign(Object.assign({},At),{title:Qn=>se.createElement(Qo,{tablePrefixCls:ge,prefixCls:`${ge}-filter`,dropdownPrefixCls:ce,column:At,columnKey:Un,filterState:jn,filterMultiple:Xt,filterMode:Ln,filterSearch:_t,triggerFilter:He,locale:Ie,getPopupContainer:pt},sn(it.title,Qn))})}return"children"in At&&(At=Object.assign(Object.assign({},At),{children:Bi(ge,ce,At.children,ke,Ie,He,pt,wt)})),At})}function yl(ge){const ce={};return ge.forEach(be=>{let{key:ke,filteredKeys:Ie,column:He}=be;const{filters:pt,filterDropdown:xt}=He;if(xt)ce[ke]=Ie||null;else if(Array.isArray(Ie)){const it=Ni(pt);ce[ke]=it.filter(zt=>Ie.includes(String(zt)))}else ce[ke]=null}),ce}function Xl(ge,ce){return ce.reduce((be,ke)=>{const{column:{onFilter:Ie,filters:He},filteredKeys:pt}=ke;return Ie&&pt&&pt.length?be.filter(xt=>pt.some(it=>{const zt=Ni(He),wt=zt.findIndex(Ln=>String(Ln)===String(it)),Xt=wt!==-1?zt[wt]:it;return Ie(Xt,xt)})):be},ge)}const Ii=ge=>ge.flatMap(ce=>"children"in ce?[ce].concat((0,_n.Z)(Ii(ce.children||[]))):[ce]);function Fo(ge){let{prefixCls:ce,dropdownPrefixCls:be,mergedColumns:ke,onFilterChange:Ie,getPopupContainer:He,locale:pt}=ge;const xt=se.useMemo(()=>Ii(ke||[]),[ke]),[it,zt]=se.useState(()=>mi(xt,!0)),wt=se.useMemo(()=>{const At=mi(xt,!1);if(At.length===0)return At;let Un=!0,jn=!0;if(At.forEach(Qn=>{let{filteredKeys:Vn}=Qn;Vn!==void 0?Un=!1:jn=!1}),Un){const Qn=(xt||[]).map((Vn,qn)=>gr(Vn,Ce(qn)));return it.filter(Vn=>{let{key:qn}=Vn;return Qn.includes(qn)}).map(Vn=>{const qn=xt[Qn.findIndex(Fn=>Fn===Vn.key)];return Object.assign(Object.assign({},Vn),{column:Object.assign(Object.assign({},Vn.column),qn),forceFiltered:qn.filtered})})}return At},[xt,it]),Xt=se.useMemo(()=>yl(wt),[wt]),Ln=At=>{const Un=wt.filter(jn=>{let{key:Qn}=jn;return Qn!==At.key});Un.push(At),zt(Un),Ie(yl(Un),Un)};return[At=>Bi(ce,be,At,wt,pt,Ln,He),wt,Xt]}var El=Fo;function bl(ge,ce,be){const ke=se.useRef({});function Ie(He){if(!ke.current||ke.current.data!==ge||ke.current.childrenColumnName!==ce||ke.current.getRowKey!==be){let xt=function(it){it.forEach((zt,wt)=>{const Xt=be(zt,wt);pt.set(Xt,zt),zt&&typeof zt=="object"&&ce in zt&&xt(zt[ce]||[])})};const pt=new Map;xt(ge),ke.current={data:ge,childrenColumnName:ce,kvMap:pt,getRowKey:be}}return ke.current.kvMap.get(He)}return[Ie]}var Yl=te(50371),Cl=function(ge,ce){var be={};for(var ke in ge)Object.prototype.hasOwnProperty.call(ge,ke)&&ce.indexOf(ke)<0&&(be[ke]=ge[ke]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,ke=Object.getOwnPropertySymbols(ge);Ie{const He=ge[Ie];typeof He!="function"&&(be[Ie]=He)}),be}function Bl(ge,ce,be){const ke=be&&typeof be=="object"?be:{},{total:Ie=0}=ke,He=Cl(ke,["total"]),[pt,xt]=(0,se.useState)(()=>({current:"defaultCurrent"in He?He.defaultCurrent:1,pageSize:"defaultPageSize"in He?He.defaultPageSize:xl})),it=(0,Yl.Z)(pt,He,{total:Ie>0?Ie:ge}),zt=Math.ceil((Ie||ge)/it.pageSize);it.current>zt&&(it.current=zt||1);const wt=(Ln,_t)=>{xt({current:Ln!=null?Ln:1,pageSize:_t||it.pageSize})},Xt=(Ln,_t)=>{var At;be&&((At=be.onChange)===null||At===void 0||At.call(be,Ln,_t)),wt(Ln,_t),ce(Ln,_t||(it==null?void 0:it.pageSize))};return be===!1?[{},()=>{}]:[Object.assign(Object.assign({},it),{onChange:Xt}),wt]}var di=Bl,Yo=te(84105),Qi=te(35654),Fl=te(90782),ql=te(71430),Ha=te(18929);const yi={},al="SELECT_ALL",ha="SELECT_INVERT",Li="SELECT_NONE",wl=[],es=(ge,ce)=>{let be=[];return(ce||[]).forEach(ke=>{be.push(ke),ke&&typeof ke=="object"&&ge in ke&&(be=[].concat((0,_n.Z)(be),(0,_n.Z)(es(ge,ke[ge]))))}),be};var Al=(ge,ce)=>{const{preserveSelectedRowKeys:be,selectedRowKeys:ke,defaultSelectedRowKeys:Ie,getCheckboxProps:He,onChange:pt,onSelect:xt,onSelectAll:it,onSelectInvert:zt,onSelectNone:wt,onSelectMultiple:Xt,columnWidth:Ln,type:_t,selections:At,fixed:Un,renderCell:jn,hideSelectAll:Qn,checkStrictly:Vn=!0}=ce||{},{prefixCls:qn,data:Fn,pageData:Ca,getRecordByKey:ba,getRowKey:Za,expandType:ja,childrenColumnName:ia,locale:ya,getPopupContainer:Sa}=ge,[Gn,ga]=(0,Ha.Z)(ke||Ie||wl,{value:ke}),Ma=se.useRef(new Map),er=(0,se.useCallback)(sr=>{if(be){const ur=new Map;sr.forEach(_a=>{let tr=ba(_a);!tr&&Ma.current.has(_a)&&(tr=Ma.current.get(_a)),ur.set(_a,tr)}),Ma.current=ur}},[ba,be]);se.useEffect(()=>{er(Gn)},[Gn]);const{keyEntities:ar}=(0,se.useMemo)(()=>{if(Vn)return{keyEntities:null};let sr=Fn;if(be){const ur=new Set(Fn.map((tr,Gr)=>Za(tr,Gr))),_a=Array.from(Ma.current).reduce((tr,Gr)=>{let[nr,cr]=Gr;return ur.has(nr)?tr:tr.concat(cr)},[]);sr=[].concat((0,_n.Z)(sr),(0,_n.Z)(_a))}return(0,ql.I8)(sr,{externalGetKey:Za,childrenPropName:ia})},[Fn,Za,Vn,ia,be]),Wa=(0,se.useMemo)(()=>es(ia,Ca),[ia,Ca]),mr=(0,se.useMemo)(()=>{const sr=new Map;return Wa.forEach((ur,_a)=>{const tr=Za(ur,_a),Gr=(He?He(ur):null)||{};sr.set(tr,Gr)}),sr},[Wa,Za,He]),hr=(0,se.useCallback)(sr=>{var ur;return!!(!((ur=mr.get(Za(sr)))===null||ur===void 0)&&ur.disabled)},[mr,Za]),[Wr,Zr]=(0,se.useMemo)(()=>{if(Vn)return[Gn||[],[]];const{checkedKeys:sr,halfCheckedKeys:ur}=(0,Fl.S)(Gn,!0,ar,hr);return[sr||[],ur]},[Gn,Vn,ar,hr]),ho=(0,se.useMemo)(()=>{const sr=_t==="radio"?Wr.slice(0,1):Wr;return new Set(sr)},[Wr,_t]),qr=(0,se.useMemo)(()=>_t==="radio"?new Set:new Set(Zr),[Zr,_t]),[xr,Do]=(0,se.useState)(null);se.useEffect(()=>{ce||ga(wl)},[!!ce]);const Ur=(0,se.useCallback)((sr,ur)=>{let _a,tr;er(sr),be?(_a=sr,tr=sr.map(Gr=>Ma.current.get(Gr))):(_a=[],tr=[],sr.forEach(Gr=>{const nr=ba(Gr);nr!==void 0&&(_a.push(Gr),tr.push(nr))})),ga(_a),pt==null||pt(_a,tr,{type:ur})},[ga,ba,pt,be]),So=(0,se.useCallback)((sr,ur,_a,tr)=>{if(xt){const Gr=_a.map(nr=>ba(nr));xt(ba(sr),ur,Gr,tr)}Ur(_a,"single")},[xt,ba,Ur]),ao=(0,se.useMemo)(()=>!At||Qn?null:(At===!0?[al,ha,Li]:At).map(ur=>ur===al?{key:"all",text:ya.selectionAll,onSelect(){Ur(Fn.map((_a,tr)=>Za(_a,tr)).filter(_a=>{const tr=mr.get(_a);return!(tr!=null&&tr.disabled)||ho.has(_a)}),"all")}}:ur===ha?{key:"invert",text:ya.selectInvert,onSelect(){const _a=new Set(ho);Ca.forEach((Gr,nr)=>{const cr=Za(Gr,nr),Rr=mr.get(cr);Rr!=null&&Rr.disabled||(_a.has(cr)?_a.delete(cr):_a.add(cr))});const tr=Array.from(_a);zt&&zt(tr),Ur(tr,"invert")}}:ur===Li?{key:"none",text:ya.selectNone,onSelect(){wt==null||wt(),Ur(Array.from(ho).filter(_a=>{const tr=mr.get(_a);return tr==null?void 0:tr.disabled}),"none")}}:ur).map(ur=>Object.assign(Object.assign({},ur),{onSelect:function(){for(var _a,tr,Gr=arguments.length,nr=new Array(Gr),cr=0;cr{var ur;if(!ce)return sr.filter(Xr=>Xr!==yi);let _a=(0,_n.Z)(sr);const tr=new Set(ho),Gr=Wa.map(Za).filter(Xr=>!mr.get(Xr).disabled),nr=Gr.every(Xr=>tr.has(Xr)),cr=Gr.some(Xr=>tr.has(Xr)),Rr=()=>{const Xr=[];nr?Gr.forEach(co=>{tr.delete(co),Xr.push(co)}):Gr.forEach(co=>{tr.has(co)||(tr.add(co),Xr.push(co))});const eo=Array.from(tr);it==null||it(!nr,eo.map(co=>ba(co)),Xr.map(co=>ba(co))),Ur(eo,"all"),Do(null)};let Fr;if(_t!=="radio"){let Xr;if(ao){const Tr={getPopupContainer:Sa,items:ao.map((Ko,Vo)=>{const{key:da,text:Qa,onSelect:Pr}=Ko;return{key:da!=null?da:Vo,onClick:()=>{Pr==null||Pr(Gr)},label:Qa}})};Xr=se.createElement("div",{className:`${qn}-selection-extra`},se.createElement(Va.Z,{menu:Tr,getPopupContainer:Sa},se.createElement("span",null,se.createElement(Yo.Z,null))))}const eo=Wa.map((Tr,Ko)=>{const Vo=Za(Tr,Ko),da=mr.get(Vo)||{};return Object.assign({checked:tr.has(Vo)},da)}).filter(Tr=>{let{disabled:Ko}=Tr;return Ko}),co=!!eo.length&&eo.length===Wa.length,Eo=co&&eo.every(Tr=>{let{checked:Ko}=Tr;return Ko}),oo=co&&eo.some(Tr=>{let{checked:Ko}=Tr;return Ko});Fr=!Qn&&se.createElement("div",{className:`${qn}-selection`},se.createElement(pa.default,{checked:co?Eo:!!Wa.length&&nr,indeterminate:co?!Eo&&oo:!nr&&cr,onChange:Rr,disabled:Wa.length===0||co,"aria-label":Xr?"Custom selection":"Select all",skipGroup:!0}),Xr)}let ro;_t==="radio"?ro=(Xr,eo,co)=>{const Eo=Za(eo,co),oo=tr.has(Eo);return{node:se.createElement(mo.ZP,Object.assign({},mr.get(Eo),{checked:oo,onClick:Tr=>Tr.stopPropagation(),onChange:Tr=>{tr.has(Eo)||So(Eo,!0,[Eo],Tr.nativeEvent)}})),checked:oo}}:ro=(Xr,eo,co)=>{var Eo;const oo=Za(eo,co),Tr=tr.has(oo),Ko=qr.has(oo),Vo=mr.get(oo);let da;return ja==="nest"?da=Ko:da=(Eo=Vo==null?void 0:Vo.indeterminate)!==null&&Eo!==void 0?Eo:Ko,{node:se.createElement(pa.default,Object.assign({},Vo,{indeterminate:da,checked:Tr,skipGroup:!0,onClick:Qa=>Qa.stopPropagation(),onChange:Qa=>{let{nativeEvent:Pr}=Qa;const{shiftKey:Er}=Pr;let Nr=-1,zr=-1;if(Er&&Vn){const io=new Set([xr,oo]);Gr.some((bo,lo)=>{if(io.has(bo))if(Nr===-1)Nr=lo;else return zr=lo,!0;return!1})}if(zr!==-1&&Nr!==zr&&Vn){const io=Gr.slice(Nr,zr+1),bo=[];Tr?io.forEach(po=>{tr.has(po)&&(bo.push(po),tr.delete(po))}):io.forEach(po=>{tr.has(po)||(bo.push(po),tr.add(po))});const lo=Array.from(tr);Xt==null||Xt(!Tr,lo.map(po=>ba(po)),bo.map(po=>ba(po))),Ur(lo,"multiple")}else{const io=Wr;if(Vn){const bo=Tr?(0,Qi._5)(io,oo):(0,Qi.L0)(io,oo);So(oo,!Tr,bo,Pr)}else{const bo=(0,Fl.S)([].concat((0,_n.Z)(io),[oo]),!0,ar,hr),{checkedKeys:lo,halfCheckedKeys:po}=bo;let ii=lo;if(Tr){const _o=new Set(lo);_o.delete(oo),ii=(0,Fl.S)(Array.from(_o),{checked:!1,halfCheckedKeys:po},ar,hr).checkedKeys}So(oo,!Tr,ii,Pr)}}Do(Tr?null:oo)}})),checked:Tr}};const Ao=(Xr,eo,co)=>{const{node:Eo,checked:oo}=ro(Xr,eo,co);return jn?jn(oo,eo,co,Eo):Eo};if(!_a.includes(yi))if(_a.findIndex(Xr=>{var eo;return((eo=Xr[na])===null||eo===void 0?void 0:eo.columnType)==="EXPAND_COLUMN"})===0){const[Xr,...eo]=_a;_a=[Xr,yi].concat((0,_n.Z)(eo))}else _a=[yi].concat((0,_n.Z)(_a));const Zo=_a.indexOf(yi);_a=_a.filter((Xr,eo)=>Xr!==yi||eo===Zo);const Ro=_a[Zo-1],ci=_a[Zo+1];let No=Un;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&&((ur=Ro[na])===null||ur===void 0?void 0:ur.columnType)==="EXPAND_COLUMN"&&Ro.fixed===void 0&&(Ro.fixed=No);const Io=Ye()(`${qn}-selection-col`,{[`${qn}-selection-col-with-dropdown`]:At&&_t==="checkbox"}),Ai={fixed:No,width:Ln,className:`${qn}-selection-column`,title:ce.columnTitle||Fr,render:Ao,onCell:ce.onCell,[na]:{className:Io}};return _a.map(Xr=>Xr===yi?Ai:Xr)},[Za,Wa,ce,Wr,ho,qr,Ln,ao,ja,xr,mr,Xt,So,hr]),ho]},rl=te(89489),Go=te(59477),ts=te(6848);const bi="ascend",ol="descend";function Oi(ge){return typeof ge.sorter=="object"&&typeof ge.sorter.multiple=="number"?ge.sorter.multiple:!1}function il(ge){return typeof ge=="function"?ge:ge&&typeof ge=="object"&&ge.compare?ge.compare:!1}function Dl(ge,ce){return ce?ge[ge.indexOf(ce)+1]:ge[0]}function Ji(ge,ce,be){let ke=[];function Ie(He,pt){ke.push({column:He,key:gr(He,pt),multiplePriority:Oi(He),sortOrder:He.sortOrder})}return(ge||[]).forEach((He,pt)=>{const xt=Ce(pt,be);He.children?("sortOrder"in He&&Ie(He,xt),ke=[].concat((0,_n.Z)(ke),(0,_n.Z)(Ji(He.children,ce,xt)))):He.sorter&&("sortOrder"in He?Ie(He,xt):ce&&He.defaultSortOrder&&ke.push({column:He,key:gr(He,xt),multiplePriority:Oi(He),sortOrder:He.defaultSortOrder}))}),ke}function Ri(ge,ce,be,ke,Ie,He,pt,xt){return(ce||[]).map((it,zt)=>{const wt=Ce(zt,xt);let Xt=it;if(Xt.sorter){const Ln=Xt.sortDirections||Ie,_t=Xt.showSorterTooltip===void 0?pt:Xt.showSorterTooltip,At=gr(Xt,wt),Un=be.find(ja=>{let{key:ia}=ja;return ia===At}),jn=Un?Un.sortOrder:null,Qn=Dl(Ln,jn);let Vn;if(it.sortIcon)Vn=it.sortIcon({sortOrder:jn});else{const ja=Ln.includes(bi)&&se.createElement(Go.Z,{className:Ye()(`${ge}-column-sorter-up`,{active:jn===bi})}),ia=Ln.includes(ol)&&se.createElement(rl.Z,{className:Ye()(`${ge}-column-sorter-down`,{active:jn===ol})});Vn=se.createElement("span",{className:Ye()(`${ge}-column-sorter`,{[`${ge}-column-sorter-full`]:!!(ja&&ia)})},se.createElement("span",{className:`${ge}-column-sorter-inner`,"aria-hidden":"true"},ja,ia))}const{cancelSort:qn,triggerAsc:Fn,triggerDesc:Ca}=He||{};let ba=qn;Qn===ol?ba=Ca:Qn===bi&&(ba=Fn);const Za=typeof _t=="object"?_t:{title:ba};Xt=Object.assign(Object.assign({},Xt),{className:Ye()(Xt.className,{[`${ge}-column-sort`]:jn}),title:ja=>{const ia=se.createElement("div",{className:`${ge}-column-sorters`},se.createElement("span",{className:`${ge}-column-title`},sn(it.title,ja)),Vn);return _t?se.createElement(ts.Z,Object.assign({},Za),ia):ia},onHeaderCell:ja=>{const ia=it.onHeaderCell&&it.onHeaderCell(ja)||{},ya=ia.onClick,Sa=ia.onKeyDown;ia.onClick=Ma=>{ke({column:it,key:At,sortOrder:Qn,multiplePriority:Oi(it)}),ya==null||ya(Ma)},ia.onKeyDown=Ma=>{Ma.keyCode===ui.Z.ENTER&&(ke({column:it,key:At,sortOrder:Qn,multiplePriority:Oi(it)}),Sa==null||Sa(Ma))};const Gn=Cn(it.title,{}),ga=Gn==null?void 0:Gn.toString();return jn?ia["aria-sort"]=jn==="ascend"?"ascending":"descending":ia["aria-label"]=ga||"",ia.className=Ye()(ia.className,`${ge}-column-has-sorters`),ia.tabIndex=0,it.ellipsis&&(ia.title=(Gn!=null?Gn:"").toString()),ia}})}return"children"in Xt&&(Xt=Object.assign(Object.assign({},Xt),{children:Ri(ge,Xt.children,be,ke,Ie,He,pt,wt)})),Xt})}function ll(ge){const{column:ce,sortOrder:be}=ge;return{column:ce,order:be,field:ce.dataIndex,columnKey:ce.key}}function Ti(ge){const ce=ge.filter(be=>{let{sortOrder:ke}=be;return ke}).map(ll);return ce.length===0&&ge.length?Object.assign(Object.assign({},ll(ge[ge.length-1])),{column:void 0}):ce.length<=1?ce[0]||{}:ce}function Mi(ge,ce,be){const ke=ce.slice().sort((pt,xt)=>xt.multiplePriority-pt.multiplePriority),Ie=ge.slice(),He=ke.filter(pt=>{let{column:{sorter:xt},sortOrder:it}=pt;return il(xt)&&it});return He.length?Ie.sort((pt,xt)=>{for(let it=0;it{const xt=pt[be];return xt?Object.assign(Object.assign({},pt),{[be]:Mi(xt,ce,be)}):pt}):Ie}function ns(ge){let{prefixCls:ce,mergedColumns:be,onSorterChange:ke,sortDirections:Ie,tableLocale:He,showSorterTooltip:pt}=ge;const[xt,it]=se.useState(Ji(be,!0)),zt=se.useMemo(()=>{let At=!0;const Un=Ji(be,!1);if(!Un.length)return xt;const jn=[];function Qn(qn){At?jn.push(qn):jn.push(Object.assign(Object.assign({},qn),{sortOrder:null}))}let Vn=null;return Un.forEach(qn=>{Vn===null?(Qn(qn),qn.sortOrder&&(qn.multiplePriority===!1?At=!1:Vn=!0)):(Vn&&qn.multiplePriority!==!1||(At=!1),Qn(qn))}),jn},[be,xt]),wt=se.useMemo(()=>{const At=zt.map(Un=>{let{column:jn,sortOrder:Qn}=Un;return{column:jn,order:Qn}});return{sortColumns:At,sortColumn:At[0]&&At[0].column,sortOrder:At[0]&&At[0].order}},[zt]);function Xt(At){let Un;At.multiplePriority===!1||!zt.length||zt[0].multiplePriority===!1?Un=[At]:Un=[].concat((0,_n.Z)(zt.filter(jn=>{let{key:Qn}=jn;return Qn!==At.key})),[At]),it(Un),ke(Ti(Un),Un)}return[At=>Ri(ce,At,zt,Xt,Ie,He,pt),zt,wt,()=>Ti(zt)]}function Lo(ge,ce){return ge.map(be=>{const ke=Object.assign({},be);return ke.title=sn(be.title,ce),"children"in ke&&(ke.children=Lo(ke.children,ce)),ke})}function as(ge){return[se.useCallback(be=>Lo(be,ge),[ge])]}var As=Ua((ge,ce)=>{const{_renderTimes:be}=ge,{_renderTimes:ke}=ce;return be!==ke}),sl=jr((ge,ce)=>{const{_renderTimes:be}=ge,{_renderTimes:ke}=ce;return be!==ke}),Fi=te(64993),ki=te(17313),Nl=te(83116),rs=te(37613),is=ge=>{const{componentCls:ce}=ge,be=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,ke=(Ie,He,pt)=>({[`&${ce}-${Ie}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${He}px -${pt+ge.lineWidth}px`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:be,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:be,borderTop:be,[` > ${ce}-content, > ${ce}-header, > ${ce}-body, @@ -186,10 +186,10 @@ `]:{"> 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 ":{[`> ${ce}-cell-fix-right-first::after`]:{borderInlineEnd:be}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${ge.tablePaddingVertical}px -${ge.tablePaddingHorizontal+ge.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:ge.lineWidth,bottom:0,borderInlineEnd:be,content:'""'}}}}}},[`&${ce}-scroll-horizontal`]:{[`> ${ce}-container > ${ce}-body`]:{"> table > tbody":{[` > tr${ce}-expanded-row, > tr${ce}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},ke("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle)),ke("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:be,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ge.lineWidth}px 0 ${ge.lineWidth}px ${ge.tableHeaderBg}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:be}}}},is=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},ki.vS),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},ke("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle)),ke("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:be,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${ge.lineWidth}px 0 ${ge.lineWidth}px ${ge.tableHeaderBg}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:be}}}},ls=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},ki.vS),{wordBreak:"keep-all",[` &${ce}-cell-fix-left-last, &${ce}-cell-fix-right-first - `]:{overflow:"visible",[`${ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ls=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:ge.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ge.colorBgContainer}}}}},Il=te(15969),Ll=ge=>{const{componentCls:ce,antCls:be,controlInteractiveSize:ke,motionDurationSlow:Ie,lineWidth:He,paddingXS:pt,lineType:xt,tableBorderColor:it,tableExpandIconBg:zt,tableExpandColumnWidth:wt,borderRadius:Xt,fontSize:Ln,fontSizeSM:_t,lineHeight:At,tablePaddingVertical:Un,tablePaddingHorizontal:jn,tableExpandedRowBg:Qn,paddingXXS:Vn}=ge,qn=ke/2-He,Fn=qn*2+He*3,Ca=`${He}px ${xt} ${it}`,ba=Vn-He;return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:wt},[`${ce}-row-expand-icon-cell`]:{textAlign:"center",[`${ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ce}-row-indent`]:{height:1,float:"left"},[`${ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Il.N)(ge)),{position:"relative",float:"left",boxSizing:"border-box",width:Fn,height:Fn,padding:0,color:"inherit",lineHeight:`${Fn}px`,background:zt,border:Ca,borderRadius:Xt,transform:`scale(${ke/Fn})`,transition:`all ${Ie}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ie} ease-out`,content:'""'},"&::before":{top:qn,insetInlineEnd:ba,insetInlineStart:ba,height:He},"&::after":{top:ba,bottom:ba,insetInlineStart:qn,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"}}),[`${ce}-row-indent + ${ce}-row-expand-icon`]:{marginTop:(Ln*At-He*3)/2-Math.ceil((_t*1.4-He*3)/2),marginInlineEnd:pt},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Qn}},[`${be}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Un}px -${jn}px`,padding:`${Un}px ${jn}px`}}}},ti=ge=>{const{componentCls:ce,antCls:be,iconCls:ke,tableFilterDropdownWidth:Ie,tableFilterDropdownSearchWidth:He,paddingXXS:pt,paddingXS:xt,colorText:it,lineWidth:zt,lineType:wt,tableBorderColor:Xt,tableHeaderIconColor:Ln,fontSizeSM:_t,tablePaddingHorizontal:At,borderRadius:Un,motionDurationSlow:jn,colorTextDescription:Qn,colorPrimary:Vn,tableHeaderFilterActiveBg:qn,colorTextDisabled:Fn,tableFilterDropdownBg:Ca,tableFilterDropdownHeight:ba,controlItemBgHover:Za,controlItemBgActive:ja,boxShadowSecondary:ia,filterDropdownMenuBg:ya}=ge,Sa=`${be}-dropdown`,Gn=`${ce}-filter-dropdown`,ga=`${be}-tree`,Ma=`${zt}px ${wt} ${Xt}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-pt,marginInline:`${pt}px ${-At/2}px`,padding:`0 ${pt}px`,color:Ln,fontSize:_t,borderRadius:Un,cursor:"pointer",transition:`all ${jn}`,"&:hover":{color:Qn,background:qn},"&.active":{color:Vn}}}},{[`${be}-dropdown`]:{[Gn]:Object.assign(Object.assign({},(0,ki.Wf)(ge)),{minWidth:Ie,backgroundColor:Ca,borderRadius:Un,boxShadow:ia,overflow:"hidden",[`${Sa}-menu`]:{maxHeight:ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ya,"&:empty::after":{display:"block",padding:`${xt}px 0`,color:Fn,fontSize:_t,textAlign:"center",content:'"Not Found"'}},[`${Gn}-tree`]:{paddingBlock:`${xt}px 0`,paddingInline:xt,[ga]:{padding:0},[`${ga}-treenode ${ga}-node-content-wrapper:hover`]:{backgroundColor:Za},[`${ga}-treenode-checkbox-checked ${ga}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ja}}},[`${Gn}-search`]:{padding:xt,borderBottom:Ma,"&-input":{input:{minWidth:He},[ke]:{color:Fn}}},[`${Gn}-checkall`]:{width:"100%",marginBottom:pt,marginInlineStart:pt},[`${Gn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${xt-zt}px ${xt}px`,overflow:"hidden",borderTop:Ma}})}},{[`${be}-dropdown ${Gn}, ${Gn}-submenu`]:{[`${be}-checkbox-wrapper + span`]:{paddingInlineStart:xt,color:it},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Oo=ge=>{const{componentCls:ce,lineWidth:be,colorSplit:ke,motionDurationSlow:Ie,zIndexTableFixed:He,tableBg:pt,zIndexTableSticky:xt}=ge,it=ke;return{[`${ce}-wrapper`]:{[` + `]:{overflow:"visible",[`${ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ss=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:ge.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:ge.colorBgContainer}}}}},Il=te(15969),Ll=ge=>{const{componentCls:ce,antCls:be,controlInteractiveSize:ke,motionDurationSlow:Ie,lineWidth:He,paddingXS:pt,lineType:xt,tableBorderColor:it,tableExpandIconBg:zt,tableExpandColumnWidth:wt,borderRadius:Xt,fontSize:Ln,fontSizeSM:_t,lineHeight:At,tablePaddingVertical:Un,tablePaddingHorizontal:jn,tableExpandedRowBg:Qn,paddingXXS:Vn}=ge,qn=ke/2-He,Fn=qn*2+He*3,Ca=`${He}px ${xt} ${it}`,ba=Vn-He;return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:wt},[`${ce}-row-expand-icon-cell`]:{textAlign:"center",[`${ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ce}-row-indent`]:{height:1,float:"left"},[`${ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,Il.N)(ge)),{position:"relative",float:"left",boxSizing:"border-box",width:Fn,height:Fn,padding:0,color:"inherit",lineHeight:`${Fn}px`,background:zt,border:Ca,borderRadius:Xt,transform:`scale(${ke/Fn})`,transition:`all ${Ie}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ie} ease-out`,content:'""'},"&::before":{top:qn,insetInlineEnd:ba,insetInlineStart:ba,height:He},"&::after":{top:ba,bottom:ba,insetInlineStart:qn,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"}}),[`${ce}-row-indent + ${ce}-row-expand-icon`]:{marginTop:(Ln*At-He*3)/2-Math.ceil((_t*1.4-He*3)/2),marginInlineEnd:pt},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Qn}},[`${be}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${Un}px -${jn}px`,padding:`${Un}px ${jn}px`}}}},ti=ge=>{const{componentCls:ce,antCls:be,iconCls:ke,tableFilterDropdownWidth:Ie,tableFilterDropdownSearchWidth:He,paddingXXS:pt,paddingXS:xt,colorText:it,lineWidth:zt,lineType:wt,tableBorderColor:Xt,tableHeaderIconColor:Ln,fontSizeSM:_t,tablePaddingHorizontal:At,borderRadius:Un,motionDurationSlow:jn,colorTextDescription:Qn,colorPrimary:Vn,tableHeaderFilterActiveBg:qn,colorTextDisabled:Fn,tableFilterDropdownBg:Ca,tableFilterDropdownHeight:ba,controlItemBgHover:Za,controlItemBgActive:ja,boxShadowSecondary:ia,filterDropdownMenuBg:ya}=ge,Sa=`${be}-dropdown`,Gn=`${ce}-filter-dropdown`,ga=`${be}-tree`,Ma=`${zt}px ${wt} ${Xt}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-pt,marginInline:`${pt}px ${-At/2}px`,padding:`0 ${pt}px`,color:Ln,fontSize:_t,borderRadius:Un,cursor:"pointer",transition:`all ${jn}`,"&:hover":{color:Qn,background:qn},"&.active":{color:Vn}}}},{[`${be}-dropdown`]:{[Gn]:Object.assign(Object.assign({},(0,ki.Wf)(ge)),{minWidth:Ie,backgroundColor:Ca,borderRadius:Un,boxShadow:ia,overflow:"hidden",[`${Sa}-menu`]:{maxHeight:ba,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:ya,"&:empty::after":{display:"block",padding:`${xt}px 0`,color:Fn,fontSize:_t,textAlign:"center",content:'"Not Found"'}},[`${Gn}-tree`]:{paddingBlock:`${xt}px 0`,paddingInline:xt,[ga]:{padding:0},[`${ga}-treenode ${ga}-node-content-wrapper:hover`]:{backgroundColor:Za},[`${ga}-treenode-checkbox-checked ${ga}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:ja}}},[`${Gn}-search`]:{padding:xt,borderBottom:Ma,"&-input":{input:{minWidth:He},[ke]:{color:Fn}}},[`${Gn}-checkall`]:{width:"100%",marginBottom:pt,marginInlineStart:pt},[`${Gn}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${xt-zt}px ${xt}px`,overflow:"hidden",borderTop:Ma}})}},{[`${be}-dropdown ${Gn}, ${Gn}-submenu`]:{[`${be}-checkbox-wrapper + span`]:{paddingInlineStart:xt,color:it},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Oo=ge=>{const{componentCls:ce,lineWidth:be,colorSplit:ke,motionDurationSlow:Ie,zIndexTableFixed:He,tableBg:pt,zIndexTableSticky:xt}=ge,it=ke;return{[`${ce}-wrapper`]:{[` ${ce}-cell-fix-left, ${ce}-cell-fix-right `]:{position:"sticky !important",zIndex:He,background:pt},[` @@ -204,10 +204,10 @@ `]:{boxShadow:`inset 10px 0 8px -8px ${it}`},[`${ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ce}-ping-right`]:{[`&:not(${ce}-has-fix-right) ${ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${it}`}},[` ${ce}-cell-fix-right-first::after, ${ce}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${it}`}}}}},us=ge=>{const{componentCls:ce,antCls:be}=ge;return{[`${ce}-wrapper`]:{[`${ce}-pagination${be}-pagination`]:{margin:`${ge.margin}px 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ge.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Rl=ge=>{const{componentCls:ce,tableRadius:be}=ge;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${be}px ${be}px 0 0`},[`${ce}-title + ${ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ce}-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=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ce}-pagination-left`]:{justifyContent:"flex-end"},[`${ce}-pagination-right`]:{justifyContent:"flex-start"},[`${ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ce}-row-indent`]:{float:"right"}}}}},kl=ge=>{const{componentCls:ce,antCls:be,iconCls:ke,fontSizeIcon:Ie,padding:He,paddingXS:pt,tableHeaderIconColor:xt,tableHeaderIconColorHover:it,tableSelectionColumnWidth:zt}=ge;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:zt,[`&${ce}-selection-col-with-dropdown`]:{width:zt+Ie+He/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:zt+pt*2,[`&${ce}-selection-col-with-dropdown`]:{width:zt+Ie+He/4+pt*2}},[` + `]:{boxShadow:`inset -10px 0 8px -8px ${it}`}}}}},ds=ge=>{const{componentCls:ce,antCls:be}=ge;return{[`${ce}-wrapper`]:{[`${ce}-pagination${be}-pagination`]:{margin:`${ge.margin}px 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:ge.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Rl=ge=>{const{componentCls:ce,tableRadius:be}=ge;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${be}px ${be}px 0 0`},[`${ce}-title + ${ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ce}-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=ge=>{const{componentCls:ce}=ge;return{[`${ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ce}-pagination-left`]:{justifyContent:"flex-end"},[`${ce}-pagination-right`]:{justifyContent:"flex-start"},[`${ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ce}-row-indent`]:{float:"right"}}}}},kl=ge=>{const{componentCls:ce,antCls:be,iconCls:ke,fontSizeIcon:Ie,padding:He,paddingXS:pt,tableHeaderIconColor:xt,tableHeaderIconColorHover:it,tableSelectionColumnWidth:zt}=ge;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:zt,[`&${ce}-selection-col-with-dropdown`]:{width:zt+Ie+He/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:zt+pt*2,[`&${ce}-selection-col-with-dropdown`]:{width:zt+Ie+He/4+pt*2}},[` table tr th${ce}-selection-column, table tr td${ce}-selection-column - `]:{paddingInlineEnd:ge.paddingXS,paddingInlineStart:ge.paddingXS,textAlign:"center",[`${be}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:ge.zIndexTableFixed+1},[`table tr th${ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ge.tablePaddingHorizontal/4}px`,[ke]:{color:xt,fontSize:Ie,verticalAlign:"baseline","&:hover":{color:it}}}}}},ds=ge=>{const{componentCls:ce}=ge,be=(ke,Ie,He,pt)=>({[`${ce}${ce}-${ke}`]:{fontSize:pt,[` + `]:{paddingInlineEnd:ge.paddingXS,paddingInlineStart:ge.paddingXS,textAlign:"center",[`${be}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:ge.zIndexTableFixed+1},[`table tr th${ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${ge.tablePaddingHorizontal/4}px`,[ke]:{color:xt,fontSize:Ie,verticalAlign:"baseline","&:hover":{color:it}}}}}},cs=ge=>{const{componentCls:ce}=ge,be=(ke,Ie,He,pt)=>({[`${ce}${ce}-${ke}`]:{fontSize:pt,[` ${ce}-title, ${ce}-footer, ${ce}-cell, @@ -216,7 +216,7 @@ ${ce}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${Ie}px ${He}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${He/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${Ie}px -${He}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${Ie}px`,marginInline:`${ge.tableExpandColumnWidth-He}px -${He}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${He/4}px`}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},be("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle,ge.tableFontSizeMiddle)),be("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall,ge.tableFontSizeSmall))}},gs=ge=>{const{componentCls:ce,marginXXS:be,fontSizeIcon:ke,tableHeaderIconColor:Ie,tableHeaderIconColorHover:He}=ge;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,"&:hover":{background:ge.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ge.colorPrimary},[` + `]:{padding:`${Ie}px ${He}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${He/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${Ie}px -${He}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${Ie}px`,marginInline:`${ge.tableExpandColumnWidth-He}px -${He}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${He/4}px`}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},be("middle",ge.tablePaddingVerticalMiddle,ge.tablePaddingHorizontalMiddle,ge.tableFontSizeMiddle)),be("small",ge.tablePaddingVerticalSmall,ge.tablePaddingHorizontalSmall,ge.tableFontSizeSmall))}},ms=ge=>{const{componentCls:ce,marginXXS:be,fontSizeIcon:ke,tableHeaderIconColor:Ie,tableHeaderIconColorHover:He}=ge;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${ge.motionDurationSlow}`,"&:hover":{background:ge.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:ge.colorPrimary},[` &${ce}-cell-fix-left:hover, &${ce}-cell-fix-right:hover `]:{background:ge.tableFixedHeaderSortActiveBg}},[`${ce}-thead th${ce}-column-sort`]:{background:ge.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ce}-column-sort`]:{background:ge.tableBodySortBg},[`${ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ce}-column-sorter`]:{marginInlineStart:be,color:Ie,fontSize:0,transition:`color ${ge.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ke,"&.active":{color:ge.colorPrimary}},[`${ce}-column-sorter-up + ${ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ce}-column-sorters:hover ${ce}-column-sorter`]:{color:He}}}},Zi=ge=>{const{componentCls:ce,opacityLoading:be,tableScrollThumbBg:ke,tableScrollThumbBgHover:Ie,tableScrollThumbSize:He,tableScrollBg:pt,zIndexTableSticky:xt,stickyScrollBarBorderRadius:it}=ge,zt=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:xt,background:ge.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${He}px !important`,zIndex:xt,display:"flex",alignItems:"center",background:pt,borderTop:zt,opacity:be,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:He,backgroundColor:ke,borderRadius:it,transition:`all ${ge.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ie}}}}}}},xi=ge=>{const{componentCls:ce,lineWidth:be,tableBorderColor:ke}=ge,Ie=`${be}px ${ge.lineType} ${ke}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:ge.zIndexTableFixed,background:ge.tableBg,"> tr":{"> th, > td":{borderBottom:Ie}}},[`div${ce}-summary`]:{boxShadow:`0 -${be}px 0 ${ke}`}}}},dl=ge=>{const{componentCls:ce}=ge,be=`${ge.lineWidth}px ${ge.lineType} ${ge.tableBorderColor}`,ke=`${ce}-expanded-row-cell`;return{[`${ce}-wrapper`]:{[`${ce}-tbody-virtual`]:{[`${ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ce}-cell`]:{borderBottom:be},[`${ce}-expanded-row`]:{[`${ke}${ke}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${ge.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ce}-bordered`]:{[`${ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:be,position:"absolute"},[`${ce}-cell`]:{borderInlineEnd:be,[`&${ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-ge.lineWidth,borderInlineStart:be}}}}}}};const cl=ge=>{const{componentCls:ce,fontWeightStrong:be,tablePaddingVertical:ke,tablePaddingHorizontal:Ie,lineWidth:He,lineType:pt,tableBorderColor:xt,tableFontSize:it,tableBg:zt,tableRadius:wt,tableHeaderTextColor:Xt,motionDurationMid:Ln,tableHeaderBg:_t,tableHeaderCellSplitColor:At,tableRowHoverBg:Un,tableSelectedRowBg:jn,tableSelectedRowHoverBg:Qn,tableFooterTextColor:Vn,tableFooterBg:qn,paddingContentVerticalLG:Fn}=ge,Ca=`${He}px ${pt} ${xt}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ki.dF)()),{[ce]:Object.assign(Object.assign({},(0,ki.Wf)(ge)),{fontSize:it,background:zt,borderRadius:`${wt}px ${wt}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${wt}px ${wt}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` @@ -234,7 +234,7 @@ &${ce}-row:hover > td, > th${ce}-cell-row-hover, > td${ce}-cell-row-hover - `]:{background:Un},[`&${ce}-row-selected`]:{"> th, > td":{background:jn},"&:hover > th, &:hover > td":{background:Qn}}}},[`${ce}-footer`]:{padding:`${ke}px ${Ie}px`,color:Vn,background:qn}})}};var gl=(0,Nl.Z)("Table",ge=>{const{colorTextHeading:ce,colorSplit:be,colorIcon:ke,colorIconHover:Ie,opacityLoading:He,colorBgContainer:pt,controlInteractiveSize:xt,headerBg:it,headerColor:zt,headerSortActiveBg:wt,headerSortHoverBg:Xt,bodySortBg:Ln,rowHoverBg:_t,rowSelectedBg:At,rowSelectedHoverBg:Un,rowExpandedBg:jn,cellPaddingBlock:Qn,cellPaddingInline:Vn,cellPaddingBlockMD:qn,cellPaddingInlineMD:Fn,cellPaddingBlockSM:Ca,cellPaddingInlineSM:ba,borderColor:Za,footerBg:ja,footerColor:ia,headerBorderRadius:ya,cellFontSize:Sa,cellFontSizeMD:Gn,cellFontSizeSM:ga,headerSplitColor:Ma,fixedHeaderSortActiveBg:tr,headerFilterHoverBg:ar,filterDropdownBg:Wa,expandIconBg:mr,selectionColumnWidth:hr,stickyScrollBarBg:Wr}=ge,Zr=new Fi.C(ke),ho=new Fi.C(Ie),qr=2,xr=(0,rs.TS)(ge,{tableFontSize:Sa,tableBg:pt,tableRadius:ya,tablePaddingVertical:Qn,tablePaddingHorizontal:Vn,tablePaddingVerticalMiddle:qn,tablePaddingHorizontalMiddle:Fn,tablePaddingVerticalSmall:Ca,tablePaddingHorizontalSmall:ba,tableBorderColor:Za,tableHeaderTextColor:zt,tableHeaderBg:it,tableFooterTextColor:ia,tableFooterBg:ja,tableHeaderCellSplitColor:Ma,tableHeaderSortBg:wt,tableHeaderSortHoverBg:Xt,tableHeaderIconColor:Zr.clone().setAlpha(Zr.getAlpha()*He).toRgbString(),tableHeaderIconColorHover:ho.clone().setAlpha(ho.getAlpha()*He).toRgbString(),tableBodySortBg:Ln,tableFixedHeaderSortActiveBg:tr,tableHeaderFilterActiveBg:ar,tableFilterDropdownBg:Wa,tableRowHoverBg:_t,tableSelectedRowBg:At,tableSelectedRowHoverBg:Un,zIndexTableFixed:qr,zIndexTableSticky:qr+1,tableFontSizeMiddle:Gn,tableFontSizeSmall:ga,tableSelectionColumnWidth:hr,tableExpandIconBg:mr,tableExpandColumnWidth:xt+2*ge.padding,tableExpandedRowBg:jn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wr,tableScrollThumbBgHover:ce,tableScrollBg:be});return[cl(xr),us(xr),xi(xr),gs(xr),ti(xr),os(xr),Rl(xr),Ll(xr),xi(xr),ls(xr),kl(xr),Oo(xr),Zi(xr),is(xr),ds(xr),Ml(xr),dl(xr)]},ge=>{const{colorFillAlter:ce,colorBgContainer:be,colorTextHeading:ke,colorFillSecondary:Ie,colorFillContent:He,controlItemBgActive:pt,controlItemBgActiveHover:xt,padding:it,paddingSM:zt,paddingXS:wt,colorBorderSecondary:Xt,borderRadiusLG:Ln,fontSize:_t,controlHeight:At,colorTextPlaceholder:Un}=ge,jn=new Fi.C(Ie).onBackground(be).toHexShortString(),Qn=new Fi.C(He).onBackground(be).toHexShortString(),Vn=new Fi.C(ce).onBackground(be).toHexShortString();return{headerBg:Vn,headerColor:ke,headerSortActiveBg:jn,headerSortHoverBg:Qn,bodySortBg:Vn,rowHoverBg:Vn,rowSelectedBg:pt,rowSelectedHoverBg:xt,rowExpandedBg:ce,cellPaddingBlock:it,cellPaddingInline:it,cellPaddingBlockMD:zt,cellPaddingInlineMD:wt,cellPaddingBlockSM:wt,cellPaddingInlineSM:wt,borderColor:Xt,headerBorderRadius:Ln,footerBg:Vn,footerColor:ke,cellFontSize:_t,cellFontSizeMD:_t,cellFontSizeSM:_t,headerSplitColor:Xt,fixedHeaderSortActiveBg:jn,headerFilterHoverBg:He,filterDropdownMenuBg:be,filterDropdownBg:be,expandIconBg:be,selectionColumnWidth:At,stickyScrollBarBg:Un,stickyScrollBarBorderRadius:100}});const Se=[],Ke=(ge,ce)=>{const{prefixCls:be,className:ke,rootClassName:Ie,style:He,size:pt,bordered:xt,dropdownPrefixCls:it,dataSource:zt,pagination:wt,rowSelection:Xt,rowKey:Ln="key",rowClassName:_t,columns:At,children:Un,childrenColumnName:jn,onChange:Qn,getPopupContainer:Vn,loading:qn,expandIcon:Fn,expandable:Ca,expandedRowRender:ba,expandIconColumnIndex:Za,indentSize:ja,scroll:ia,sortDirections:ya,locale:Sa,showSorterTooltip:Gn=!0,virtual:ga}=ge,Ma=se.useMemo(()=>At||dt(Un),[At,Un]),tr=se.useMemo(()=>Ma.some(Kr=>Kr.responsive),[Ma]),ar=(0,$o.Z)(tr),Wa=se.useMemo(()=>{const Kr=new Set(Object.keys(ar).filter(fo=>ar[fo]));return Ma.filter(fo=>!fo.responsive||fo.responsive.some(Mo=>Kr.has(Mo)))},[Ma,ar]),mr=(0,To.Z)(ge,["className","style","columns"]),{locale:hr=jo.Z,direction:Wr,table:Zr,renderEmpty:ho,getPrefixCls:qr,getPopupContainer:xr}=se.useContext(Dr.E_),Do=(0,Po.Z)(pt),Ur=Object.assign(Object.assign({},hr.Table),Sa),So=zt||Se,ao=qr("table",be),Jo=qr("dropdown",it),sr=Object.assign({childrenColumnName:jn,expandIconColumnIndex:Za},Ca),{childrenColumnName:ur="children"}=sr,_a=se.useMemo(()=>So.some(Kr=>Kr==null?void 0:Kr[ur])?"nest":ba||Ca&&Ca.expandedRowRender?"row":null,[So]),er={body:se.useRef()},Gr=se.useMemo(()=>typeof Ln=="function"?Ln:Kr=>Kr==null?void 0:Kr[Ln],[Ln]),[nr]=bl(So,ur,Gr),cr={},Rr=function(Kr,fo){let Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Co,Wo,Uo;const Xo=Object.assign(Object.assign({},cr),Kr);Mo&&((Co=cr.resetPagination)===null||Co===void 0||Co.call(cr),!((Wo=Xo.pagination)===null||Wo===void 0)&&Wo.current&&(Xo.pagination.current=1),wt&&wt.onChange&&wt.onChange(1,(Uo=Xo.pagination)===null||Uo===void 0?void 0:Uo.pageSize)),ia&&ia.scrollToFirstRowOnChange!==!1&&er.body.current&&(0,ko.Z)(0,{getContainer:()=>er.body.current}),Qn==null||Qn(Xo.pagination,Xo.filters,Xo.sorter,{currentDataSource:Xl(Mi(So,Xo.sorterStates,ur),Xo.filterStates),action:fo})},Fr=(Kr,fo)=>{Rr({sorter:Kr,sorterStates:fo},"sort",!1)},[ro,Ao,Zo,Ro]=ns({prefixCls:ao,mergedColumns:Wa,onSorterChange:Fr,sortDirections:ya||["ascend","descend"],tableLocale:Ur,showSorterTooltip:Gn}),ci=se.useMemo(()=>Mi(So,Ao,ur),[So,Ao]);cr.sorter=Ro(),cr.sorterStates=Ao;const No=(Kr,fo)=>{Rr({filters:Kr,filterStates:fo},"filter",!0)},[Io,Ai,Xr]=El({prefixCls:ao,locale:Ur,dropdownPrefixCls:Jo,mergedColumns:Wa,onFilterChange:No,getPopupContainer:Vn||xr}),eo=Xl(ci,Ai);cr.filters=Xr,cr.filterStates=Ai;const co=se.useMemo(()=>{const Kr={};return Object.keys(Xr).forEach(fo=>{Xr[fo]!==null&&(Kr[fo]=Xr[fo])}),Object.assign(Object.assign({},Zo),{filters:Kr})},[Zo,Xr]),[Eo]=as(co),io=(Kr,fo)=>{Rr({pagination:Object.assign(Object.assign({},cr.pagination),{current:Kr,pageSize:fo})},"paginate")},[Tr,Ko]=di(eo.length,io,wt);cr.pagination=wt===!1?{}:oi(Tr,wt),cr.resetPagination=Ko;const Vo=se.useMemo(()=>{if(wt===!1||!Tr.pageSize)return eo;const{current:Kr=1,total:fo,pageSize:Mo=xl}=Tr;return eo.lengthMo?eo.slice((Kr-1)*Mo,Kr*Mo):eo:eo.slice((Kr-1)*Mo,Kr*Mo)},[!!wt,eo,Tr&&Tr.current,Tr&&Tr.pageSize,Tr&&Tr.total]),[da,Qa]=Al({prefixCls:ao,data:eo,pageData:Vo,getRowKey:Gr,getRecordByKey:nr,expandType:_a,childrenColumnName:ur,locale:Ur,getPopupContainer:Vn||xr},Xt),Pr=(Kr,fo,Mo)=>{let Co;return typeof _t=="function"?Co=Ye()(_t(Kr,fo,Mo)):Co=Ye()(_t),Ye()({[`${ao}-row-selected`]:Qa.has(Gr(Kr,fo))},Co)};sr.__PARENT_RENDER_ICON__=sr.expandIcon,sr.expandIcon=sr.expandIcon||Fn||Ba(Ur),_a==="nest"&&sr.expandIconColumnIndex===void 0?sr.expandIconColumnIndex=Xt?1:0:sr.expandIconColumnIndex>0&&Xt&&(sr.expandIconColumnIndex-=1),typeof sr.indentSize!="number"&&(sr.indentSize=typeof ja=="number"?ja:15);const Er=se.useCallback(Kr=>Eo(da(Io(ro(Kr)))),[ro,Io,da]);let Nr,zr;if(wt!==!1&&(Tr!=null&&Tr.total)){let Kr;Tr.size?Kr=Tr.size:Kr=Do==="small"||Do==="middle"?"small":void 0;const fo=Wo=>se.createElement(ei.Z,Object.assign({},Tr,{className:Ye()(`${ao}-pagination ${ao}-pagination-${Wo}`,Tr.className),size:Kr})),Mo=Wr==="rtl"?"left":"right",{position:Co}=Tr;if(Co!==null&&Array.isArray(Co)){const Wo=Co.find(Si=>Si.includes("top")),Uo=Co.find(Si=>Si.includes("bottom")),Xo=Co.every(Si=>`${Si}`=="none");!Wo&&!Uo&&!Xo&&(zr=fo(Mo)),Wo&&(Nr=fo(Wo.toLowerCase().replace("top",""))),Uo&&(zr=fo(Uo.toLowerCase().replace("bottom","")))}else zr=fo(Mo)}let oo;typeof qn=="boolean"?oo={spinning:qn}:typeof qn=="object"&&(oo=Object.assign({spinning:!0},qn));const[bo,lo]=gl(ao),[,po]=(0,fa.Z)(),ii=Ye()(`${ao}-wrapper`,Zr==null?void 0:Zr.className,{[`${ao}-wrapper-rtl`]:Wr==="rtl"},ke,Ie,lo),_o=Object.assign(Object.assign({},Zr==null?void 0:Zr.style),He),ni=Sa&&Sa.emptyText||(ho==null?void 0:ho("Table"))||se.createElement(Yr.Z,{componentName:"Table"}),qo=ga?sl:ws,fi={},Xi=se.useMemo(()=>{const{fontSize:Kr,lineHeight:fo,padding:Mo,paddingXS:Co,paddingSM:Wo}=po,Uo=Math.floor(Kr*fo);switch(Do){case"large":return Mo*2+Uo;case"small":return Co*2+Uo;default:return Wo*2+Uo}},[po,Do]);return ga&&(fi.listItemHeight=Xi),bo(se.createElement("div",{ref:ce,className:ii,style:_o},se.createElement($a.Z,Object.assign({spinning:!1},oo),Nr,se.createElement(qo,Object.assign({},fi,mr,{columns:Wa,direction:Wr,expandable:sr,prefixCls:ao,className:Ye()({[`${ao}-middle`]:Do==="middle",[`${ao}-small`]:Do==="small",[`${ao}-bordered`]:xt,[`${ao}-empty`]:So.length===0}),data:Vo,rowKey:Gr,rowClassName:Pr,emptyText:ni,internalHooks:ue,internalRefs:er,transformColumns:Er})),zr)))};var $e=se.forwardRef(Ke);const un=(ge,ce)=>{const be=se.useRef(0);return be.current+=1,se.createElement($e,Object.assign({},ge,{ref:ce,_renderTimes:be.current}))},ua=se.forwardRef(un);ua.SELECTION_COLUMN=yi,ua.EXPAND_COLUMN=x,ua.SELECTION_ALL=al,ua.SELECTION_INVERT=ha,ua.SELECTION_NONE=Li,ua.Column=Qr,ua.ColumnGroup=Bo,ua.Summary=Fe;var ka=ua,Ka=ka},12563:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return Qe}});var x=te(59301),ue=te(99267),Be=te(92310),Me=te.n(Be),Le=te(36785),Oe=te(47729),se=te(14088),ct=te(36355),ot=te(17313),Ve=te(37613),Ue=te(83116);const tt=he=>{const{paddingXXS:Te,lineWidth:Ye,tagPaddingHorizontal:bt,componentCls:Ne}=he,ut=bt-Ye,Bt=Te-Ye;return{[Ne]:Object.assign(Object.assign({},(0,ot.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ut,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ne}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Ne}-close-icon`]:{marginInlineStart:Bt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Ne}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ne}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ut}}),[`${Ne}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Je=he=>{const{lineWidth:Te,fontSizeIcon:Ye}=he,bt=he.fontSizeSM,Ne=`${he.lineHeightSM*bt}px`;return(0,Ve.TS)(he,{tagFontSize:bt,tagLineHeight:Ne,tagIconSize:Ye-2*Te,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},le=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var y=(0,Ue.Z)("Tag",he=>{const Te=Je(he);return tt(Te)},le),a=function(he,Te){var Ye={};for(var bt in he)Object.prototype.hasOwnProperty.call(he,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=he[bt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,bt=Object.getOwnPropertySymbols(he);Ne{const{prefixCls:Te,style:Ye,className:bt,checked:Ne,onChange:ut,onClick:Bt}=he,yt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:Yt}=x.useContext(ct.E_),vt=qt=>{ut==null||ut(!Ne),Bt==null||Bt(qt)},rn=gt("tag",Te),[xn,nt]=y(rn),et=Me()(rn,`${rn}-checkable`,{[`${rn}-checkable-checked`]:Ne},Yt==null?void 0:Yt.className,bt,nt);return xn(x.createElement("span",Object.assign({},yt,{style:Object.assign(Object.assign({},Ye),Yt==null?void 0:Yt.style),className:et,onClick:vt})))},z=te(45157);const ne=he=>(0,z.Z)(he,(Te,Ye)=>{let{textColor:bt,lightBorderColor:Ne,lightColor:ut,darkColor:Bt}=Ye;return{[`${he.componentCls}-${Te}`]:{color:bt,background:ut,borderColor:Ne,"&-inverse":{color:he.colorTextLightSolid,background:Bt,borderColor:Bt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ue.b)(["Tag","preset"],he=>{const Te=Je(he);return ne(Te)},le);function ie(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const me=(he,Te,Ye)=>{const bt=ie(Ye);return{[`${he.componentCls}-${Te}`]:{color:he[`color${Ye}`],background:he[`color${bt}Bg`],borderColor:he[`color${bt}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,Ue.b)(["Tag","status"],he=>{const Te=Je(he);return[me(Te,"success","Success"),me(Te,"processing","Info"),me(Te,"error","Error"),me(Te,"warning","Warning")]},le),ye=function(he,Te){var Ye={};for(var bt in he)Object.prototype.hasOwnProperty.call(he,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=he[bt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,bt=Object.getOwnPropertySymbols(he);Ne{const{prefixCls:Ye,className:bt,rootClassName:Ne,style:ut,children:Bt,icon:yt,color:gt,onClose:Yt,closeIcon:vt,closable:rn,bordered:xn=!0}=he,nt=ye(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:et,direction:qt,tag:hn}=x.useContext(ct.E_),[Zt,dn]=x.useState(!0);x.useEffect(()=>{"visible"in nt&&dn(nt.visible)},[nt.visible]);const We=(0,Le.o2)(gt),It=(0,Le.yT)(gt),Gt=We||It,Mt=Object.assign(Object.assign({backgroundColor:gt&&!Gt?gt:void 0},hn==null?void 0:hn.style),ut),ht=et("tag",Ye),[rt,ze]=y(ht),ve=Me()(ht,hn==null?void 0:hn.className,{[`${ht}-${gt}`]:Gt,[`${ht}-has-color`]:gt&&!Gt,[`${ht}-hidden`]:!Zt,[`${ht}-rtl`]:qt==="rtl",[`${ht}-borderless`]:!xn},bt,Ne,ze),fe=Xe=>{Xe.stopPropagation(),Yt==null||Yt(Xe),!Xe.defaultPrevented&&dn(!1)},[,qe]=(0,Oe.Z)(rn,vt,Xe=>Xe===null?x.createElement(ue.Z,{className:`${ht}-close-icon`,onClick:fe}):x.createElement("span",{className:`${ht}-close-icon`,onClick:fe},Xe),null,!1),Rt=typeof nt.onClick=="function"||Bt&&Bt.type==="a",Fe=yt||null,xe=Fe?x.createElement(x.Fragment,null,Fe,Bt&&x.createElement("span",null,Bt)):Bt,at=x.createElement("span",Object.assign({},nt,{ref:Te,className:ve,style:Mt}),xe,qe,We&&x.createElement(re,{key:"preset",prefixCls:ht}),It&&x.createElement(pe,{key:"status",prefixCls:ht}));return rt(Rt?x.createElement(se.Z,{component:"Tag"},at):at)},De=x.forwardRef(je);De.CheckableTag=E;var Qe=De},98228:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return wa}});var x=te(92310),ue=te.n(x),Be=te(92413),Me=te(26407),Le=te(33708),Oe=te(33606),se=te(37061),ct=te(39559),ot=te(77861),Ve=te(17115),Ue=te(90782),tt=te(18929),Je=te(48736),le=te(59301),y=function(en){var En=le.useRef({valueLabels:new Map});return le.useMemo(function(){var Mn=En.current.valueLabels,$n=new Map,Ze=en.map(function(Nt){var kt,Wt=Nt.value,tn=(kt=Nt.label)!==null&&kt!==void 0?kt:Mn.get(Wt);return $n.set(Wt,tn),(0,Le.Z)((0,Le.Z)({},Nt),{},{label:tn})});return En.current.valueLabels=$n,[Ze]},[en])},a=function(en,En,Mn,$n){return le.useMemo(function(){var Ze=en.map(function(tn){var Ht=tn.value;return Ht}),Nt=En.map(function(tn){var Ht=tn.value;return Ht}),kt=Ze.filter(function(tn){return!$n[tn]});if(Mn){var Wt=(0,Ue.S)(Ze,!0,$n);Ze=Wt.checkedKeys,Nt=Wt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Me.Z)(kt),(0,Me.Z)(Ze)))),Nt]},[en,En,Mn,$n])},b=te(71430),E=function(en,En){return le.useMemo(function(){var Mn=(0,b.I8)(en,{fieldNames:En,initWrapper:function(Ze){return(0,Le.Z)((0,Le.Z)({},Ze),{},{valueEntities:new Map})},processEntity:function(Ze,Nt){var kt=Ze.node[En.value];if(0)var Wt;Nt.valueEntities.set(kt,Ze)}});return Mn},[en,En])},z=te(400),ne=te(11592),re=function(){return null},ie=re,me=["children","value"];function pe(en){return(0,ne.Z)(en).map(function(En){if(!le.isValidElement(En)||!En.type)return null;var Mn=En,$n=Mn.key,Ze=Mn.props,Nt=Ze.children,kt=Ze.value,Wt=(0,se.Z)(Ze,me),tn=(0,Le.Z)({key:$n,value:kt},Wt),Ht=pe(Nt);return Ht.length&&(tn.children=Ht),tn}).filter(function(En){return En})}function ye(en){if(!en)return en;var En=(0,Le.Z)({},en);return"props"in En||Object.defineProperty(En,"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."),En}}),En}function je(en,En,Mn,$n,Ze,Nt){var kt=null,Wt=null;function tn(){function Ht(mn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return mn.map(function(dt,ln){var Nn="".concat(st,"-").concat(ln),bn=dt[Nt.value],la=Mn.includes(bn),Hn=Ht(dt[Nt.children]||[],Nn,la),lt=le.createElement(ie,dt,Hn.map(function(Jn){return Jn.node}));if(En===bn&&(kt=lt),la){var $t={pos:Nn,node:lt,children:Hn};return Pt||Wt.push($t),$t}return null}).filter(function(dt){return dt})}Wt||(Wt=[],Ht($n),Wt.sort(function(mn,st){var Pt=mn.node.props.value,dt=st.node.props.value,ln=Mn.indexOf(Pt),Nn=Mn.indexOf(dt);return ln-Nn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),kt}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),Ze?Wt:Wt.map(function(mn){var st=mn.node;return st})}})}var De=function(en,En,Mn){var $n=Mn.treeNodeFilterProp,Ze=Mn.filterTreeNode,Nt=Mn.fieldNames,kt=Nt.children;return le.useMemo(function(){if(!En||Ze===!1)return en;var Wt;if(typeof Ze=="function")Wt=Ze;else{var tn=En.toUpperCase();Wt=function(st,Pt){var dt=Pt[$n];return String(dt).toUpperCase().includes(tn)}}function Ht(mn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return mn.reduce(function(Pt,dt){var ln=dt[kt],Nn=st||Wt(En,ye(dt)),bn=Ht(ln||[],Nn);return(Nn||bn.length)&&Pt.push((0,Le.Z)((0,Le.Z)({},dt),{},(0,z.Z)({isLeaf:void 0},kt,bn))),Pt},[])}return Ht(en)},[en,En,kt,$n,Ze])};function Qe(en){var En=le.useRef();En.current=en;var Mn=le.useCallback(function(){return En.current.apply(En,arguments)},[]);return Mn}function he(en,En){var Mn=En.id,$n=En.pId,Ze=En.rootPId,Nt={},kt=[],Wt=en.map(function(tn){var Ht=(0,Le.Z)({},tn),mn=Ht[Mn];return Nt[mn]=Ht,Ht.key=Ht.key||mn,Ht});return Wt.forEach(function(tn){var Ht=tn[$n],mn=Nt[Ht];mn&&(mn.children=mn.children||[],mn.children.push(tn)),(Ht===Ze||!mn&&Ze===null)&&kt.push(tn)}),kt}function Te(en,En,Mn){return le.useMemo(function(){return en?Mn?he(en,(0,Le.Z)({id:"id",pId:"pId",rootPId:null},Mn!==!0?Mn:{})):en:pe(En)},[En,Mn,en])}var Ye=le.createContext(null),bt=Ye,Ne=te(10228),ut=te(80547),Bt=te(23130),yt=le.createContext(null),gt=yt;function Yt(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function vt(en){var En=en||{},Mn=En.label,$n=En.value,Ze=En.children,Nt=$n||"value";return{_title:Mn?[Mn]:["title","label"],value:Nt,key:Nt,children:Ze||"children"}}function rn(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function xn(en,En){var Mn=[];function $n(Ze){Ze.forEach(function(Nt){var kt=Nt[En.children];kt&&(Mn.push(Nt[En.value]),$n(kt))})}return $n(en),Mn}function nt(en){return en==null}var et={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},qt=function(En,Mn){var $n=(0,ot.lk)(),Ze=$n.prefixCls,Nt=$n.multiple,kt=$n.searchValue,Wt=$n.toggleOpen,tn=$n.open,Ht=$n.notFoundContent,mn=le.useContext(gt),st=mn.virtual,Pt=mn.listHeight,dt=mn.listItemHeight,ln=mn.treeData,Nn=mn.fieldNames,bn=mn.onSelect,la=mn.dropdownMatchSelectWidth,Hn=mn.treeExpandAction,lt=le.useContext(bt),$t=lt.checkable,Jn=lt.checkedKeys,nn=lt.halfCheckedKeys,kn=lt.treeExpandedKeys,ea=lt.treeDefaultExpandAll,Ra=lt.treeDefaultExpandedKeys,va=lt.onTreeExpand,Ge=lt.treeIcon,gn=lt.showTreeIcon,Jt=lt.switcherIcon,yn=lt.treeLine,In=lt.treeNodeFilterProp,Zn=lt.loadData,An=lt.treeLoadedKeys,Dn=lt.treeMotion,Fa=lt.onTreeLoad,La=lt.keyEntities,fn=le.useRef(),Da=(0,ut.Z)(function(){return ln},[tn,ln],function(or,Lr){return Lr[0]&&or[1]!==Lr[1]}),Yn=le.useState(null),qa=(0,Oe.Z)(Yn,2),Ja=qa[0],Wn=qa[1],sa=La[Ja],ma=le.useMemo(function(){return $t?{checked:Jn,halfChecked:nn}:null},[$t,Jn,nn]);le.useEffect(function(){if(tn&&!Nt&&Jn.length){var or;(or=fn.current)===null||or===void 0||or.scrollTo({key:Jn[0]}),Wn(Jn[0])}},[tn]);var ra=String(kt).toLowerCase(),Ua=function(Lr){return ra?String(Lr[In]).toLowerCase().includes(ra):!1},rr=le.useState(Ra),Ga=(0,Oe.Z)(rr,2),za=Ga[0],lr=Ga[1],Vr=le.useState(null),Ir=(0,Oe.Z)(Vr,2),uo=Ir[0],yr=Ir[1],Sr=le.useMemo(function(){return kn?(0,Me.Z)(kn):kt?uo:za},[za,uo,kn,kt]);le.useEffect(function(){kt&&yr(xn(ln,Nn))},[kt]);var Ar=function(Lr){lr(Lr),yr(Lr),va&&va(Lr)},br=function(Lr){Lr.preventDefault()},Br=function(Lr,Or){var Cr=Or.node;$t&&rn(Cr)||(bn(Cr.key,{selected:!Jn.includes(Cr.key)}),Nt||Wt(!1))};if(le.useImperativeHandle(Mn,function(){var or;return{scrollTo:(or=fn.current)===null||or===void 0?void 0:or.scrollTo,onKeyDown:function(Or){var Cr,$r=Or.which;switch($r){case Ne.Z.UP:case Ne.Z.DOWN:case Ne.Z.LEFT:case Ne.Z.RIGHT:(Cr=fn.current)===null||Cr===void 0||Cr.onKeyDown(Or);break;case Ne.Z.ENTER:{if(sa){var jr=(sa==null?void 0:sa.node)||{},Xa=jr.selectable,wr=jr.value;Xa!==!1&&Br(null,{node:{key:Ja},selected:!Jn.includes(wr)})}break}case Ne.Z.ESC:Wt(!1)}},onKeyUp:function(){}}}),Da.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Ze,"-empty"),onMouseDown:br},Ht);var Ta={fieldNames:Nn};return An&&(Ta.loadedKeys=An),Sr&&(Ta.expandedKeys=Sr),le.createElement("div",{onMouseDown:br},sa&&tn&&le.createElement("span",{style:et,"aria-live":"assertive"},sa.node.value),le.createElement(Bt.Z,(0,Be.Z)({ref:fn,focusable:!1,prefixCls:"".concat(Ze,"-tree"),treeData:Da,height:Pt,itemHeight:dt,virtual:st!==!1&&la!==!1,multiple:Nt,icon:Ge,showIcon:gn,switcherIcon:Jt,showLine:yn,loadData:kt?null:Zn,motion:Dn,activeKey:Ja,checkable:$t,checkStrictly:!0,checkedKeys:ma,selectedKeys:$t?[]:Jn,defaultExpandAll:ea},Ta,{onActiveChange:Wn,onSelect:Br,onCheck:Br,onExpand:Ar,onLoad:Fa,filterTreeNode:Ua,expandAction:Hn})))},hn=le.forwardRef(qt);hn.displayName="OptionList";var Zt=hn,dn="SHOW_ALL",We="SHOW_PARENT",It="SHOW_CHILD";function Gt(en,En,Mn,$n){var Ze=new Set(en);return En===It?en.filter(function(Nt){var kt=Mn[Nt];return!(kt&&kt.children&&kt.children.some(function(Wt){var tn=Wt.node;return Ze.has(tn[$n.value])})&&kt.children.every(function(Wt){var tn=Wt.node;return rn(tn)||Ze.has(tn[$n.value])}))}):En===We?en.filter(function(Nt){var kt=Mn[Nt],Wt=kt?kt.parent:null;return!(Wt&&!rn(Wt.node)&&Ze.has(Wt.key))}):en}function Mt(en){var En=en.searchPlaceholder,Mn=en.treeCheckStrictly,$n=en.treeCheckable,Ze=en.labelInValue,Nt=en.value,kt=en.multiple;warning(!En,"`searchPlaceholder` has been removed."),Mn&&Ze===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ze||Mn)&&warning(toArray(Nt).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."),Mn||kt||$n?warning(!Nt||Array.isArray(Nt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Nt),"`value` should not be array when `TreeSelect` is single mode.")}var ht=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 ze(en){return!en||(0,ct.Z)(en)!=="object"}var ve=le.forwardRef(function(en,En){var Mn=en.id,$n=en.prefixCls,Ze=$n===void 0?"rc-tree-select":$n,Nt=en.value,kt=en.defaultValue,Wt=en.onChange,tn=en.onSelect,Ht=en.onDeselect,mn=en.searchValue,st=en.inputValue,Pt=en.onSearch,dt=en.autoClearSearchValue,ln=dt===void 0?!0:dt,Nn=en.filterTreeNode,bn=en.treeNodeFilterProp,la=bn===void 0?"value":bn,Hn=en.showCheckedStrategy,lt=en.treeNodeLabelProp,$t=en.multiple,Jn=en.treeCheckable,nn=en.treeCheckStrictly,kn=en.labelInValue,ea=en.fieldNames,Ra=en.treeDataSimpleMode,va=en.treeData,Ge=en.children,gn=en.loadData,Jt=en.treeLoadedKeys,yn=en.onTreeLoad,In=en.treeDefaultExpandAll,Zn=en.treeExpandedKeys,An=en.treeDefaultExpandedKeys,Dn=en.onTreeExpand,Fa=en.treeExpandAction,La=en.virtual,fn=en.listHeight,Da=fn===void 0?200:fn,Yn=en.listItemHeight,qa=Yn===void 0?20:Yn,Ja=en.onDropdownVisibleChange,Wn=en.dropdownMatchSelectWidth,sa=Wn===void 0?!0:Wn,ma=en.treeLine,ra=en.treeIcon,Ua=en.showTreeIcon,rr=en.switcherIcon,Ga=en.treeMotion,za=(0,se.Z)(en,rt),lr=(0,Ve.ZP)(Mn),Vr=Jn&&!nn,Ir=Jn||nn,uo=nn||kn,yr=Ir||$t,Sr=(0,tt.Z)(kt,{value:Nt}),Ar=(0,Oe.Z)(Sr,2),br=Ar[0],Br=Ar[1],Ta=le.useMemo(function(){return Jn?Hn||It:dn},[Hn,Jn]),or=le.useMemo(function(){return vt(ea)},[JSON.stringify(ea)]),Lr=(0,tt.Z)("",{value:mn!==void 0?mn:st,postState:function(ca){return ca||""}}),Or=(0,Oe.Z)(Lr,2),Cr=Or[0],$r=Or[1],jr=function(ca){$r(ca),Pt==null||Pt(ca)},Xa=Te(va,Ge,Ra),wr=E(Xa,or),pr=wr.keyEntities,Qr=wr.valueEntities,no=le.useCallback(function(Xn){var ca=[],pa=[];return Xn.forEach(function(Va){Qr.has(Va)?pa.push(Va):ca.push(Va)}),{missingRawValues:ca,existRawValues:pa}},[Qr]),Bo=De(Xa,Cr,{fieldNames:or,treeNodeFilterProp:la,filterTreeNode:Nn}),To=le.useCallback(function(Xn){if(Xn){if(lt)return Xn[lt];for(var ca=or._title,pa=0;pa{const{componentCls:En,treePrefixCls:Mn,colorBgElevated:$n}=en,Ze=`.${Mn}`;return[{[`${En}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Sn.Yk)(Mn,(0,pn.TS)(en,{colorBgContainer:$n})),{[Ze]:{borderRadius:0,[`${Ze}-list-holder-inner`]:{alignItems:"stretch",[`${Ze}-treenode`]:{[`${Ze}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Dt.C2)(`${Mn}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${Ze}-switcher${Ze}-switcher_close`]:{[`${Ze}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function na(en,En){return(0,Pn.Z)("TreeSelect",Mn=>{const $n=(0,pn.TS)(Mn,{treePrefixCls:En});return[Rn($n)]},Sn.TM)(en)}var aa=function(en,En){var Mn={};for(var $n in en)Object.prototype.hasOwnProperty.call(en,$n)&&En.indexOf($n)<0&&(Mn[$n]=en[$n]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,$n=Object.getOwnPropertySymbols(en);Ze<$n.length;Ze++)En.indexOf($n[Ze])<0&&Object.prototype.propertyIsEnumerable.call(en,$n[Ze])&&(Mn[$n[Ze]]=en[$n[Ze]]);return Mn};const zn=(en,En)=>{var Mn,{prefixCls:$n,size:Ze,disabled:Nt,bordered:kt=!0,className:Wt,rootClassName:tn,treeCheckable:Ht,multiple:mn,listHeight:st=256,listItemHeight:Pt=26,placement:dt,notFoundContent:ln,switcherIcon:Nn,treeLine:bn,getPopupContainer:la,popupClassName:Hn,dropdownClassName:lt,treeIcon:$t=!1,transitionName:Jn,choiceTransitionName:nn="",status:kn,treeExpandAction:ea,builtinPlacements:Ra,dropdownMatchSelectWidth:va,popupMatchSelectWidth:Ge,allowClear:gn}=en,Jt=aa(en,["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:yn,getPrefixCls:In,renderEmpty:Zn,direction:An,virtual:Dn,popupMatchSelectWidth:Fa,popupOverflow:La}=le.useContext(Ae.E_),fn=In(),Da=In("select",$n),Yn=In("select-tree",$n),qa=In("tree-select",$n),{compactSize:Ja,compactItemClassnames:Wn}=(0,Lt.ri)(Da,An),[sa,ma]=(0,on.Z)(Da),[ra]=na(qa,Yn),Ua=ue()(Hn||lt,`${qa}-dropdown`,{[`${qa}-dropdown-rtl`]:An==="rtl"},tn,ma),rr=!!(Ht||mn),Ga=(0,_e.Z)(Jt.suffixIcon,Jt.showArrow),za=(Mn=Ge!=null?Ge:va)!==null&&Mn!==void 0?Mn:Fa,{status:lr,hasFeedback:Vr,isFormItemInput:Ir,feedbackIcon:uo}=le.useContext(jt.aM),yr=(0,Xe.F)(lr,kn),{suffixIcon:Sr,removeIcon:Ar,clearIcon:br}=(0,Ft.Z)(Object.assign(Object.assign({},Jt),{multiple:rr,showSuffixIcon:Ga,hasFeedback:Vr,feedbackIcon:uo,prefixCls:Da,componentName:"TreeSelect"})),Br=gn===!0?{clearIcon:br}:gn;let Ta;ln!==void 0?Ta=ln:Ta=(Zn==null?void 0:Zn("Select"))||le.createElement(vn.Z,{componentName:"Select"});const or=(0,Fe.Z)(Jt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Lr=le.useMemo(()=>dt!==void 0?dt:An==="rtl"?"bottomRight":"bottomLeft",[dt,An]),Or=(0,cn.Z)(Ra,La),Cr=(0,Qt.Z)(Qr=>{var no;return(no=Ze!=null?Ze:Ja)!==null&&no!==void 0?no:Qr}),$r=le.useContext(ft.Z),jr=Nt!=null?Nt:$r,Xa=ue()(!$n&&qa,{[`${Da}-lg`]:Cr==="large",[`${Da}-sm`]:Cr==="small",[`${Da}-rtl`]:An==="rtl",[`${Da}-borderless`]:!kt,[`${Da}-in-form-item`]:Ir},(0,Xe.Z)(Da,yr,Vr),Wn,Wt,tn,ma),wr=Qr=>le.createElement(St.Z,{prefixCls:Yn,switcherIcon:Nn,treeNodeProps:Qr,showLine:bn}),pr=le.createElement(Rt,Object.assign({virtual:Dn,disabled:jr},or,{dropdownMatchSelectWidth:za,builtinPlacements:Or,ref:En,prefixCls:Da,className:Xa,listHeight:st,listItemHeight:Pt,treeCheckable:Ht&&le.createElement("span",{className:`${Da}-tree-checkbox-inner`}),treeLine:!!bn,suffixIcon:Sr,multiple:rr,placement:Lr,removeIcon:Ar,allowClear:Br,switcherIcon:wr,showTreeIcon:$t,notFoundContent:Ta,getPopupContainer:la||yn,treeMotion:null,dropdownClassName:Ua,choiceTransitionName:(0,at.m)(fn,"",nn),transitionName:(0,at.m)(fn,"slide-up",Jn),treeExpandAction:ea}));return sa(ra(pr))},Ea=le.forwardRef(zn),_n=(0,xe.Z)(Ea);Ea.TreeNode=ie,Ea.SHOW_ALL=dn,Ea.SHOW_PARENT=We,Ea.SHOW_CHILD=It,Ea._InternalPanelDoNotUseOrYouWillBeFired=_n;var wa=Ea},17574:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return gt}});var x=te(23130),ue=te(26407),Be=te(52671),Me=te(8657),Le=te(92413),Oe=te(59301),se={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"},ct=se,ot=te(7657),Ve=function(vt,rn){return Oe.createElement(ot.Z,(0,Le.Z)({},vt,{ref:rn,icon:ct}))},Ue=Oe.forwardRef(Ve),tt=Ue,Je=te(92310),le=te.n(Je),y=te(35654),a=te(71430),b=te(36355),E=te(56082),z=te(62892),ne=te(20648);const re=4;function ie(Yt){const{dropPosition:vt,dropLevelOffset:rn,prefixCls:xn,indent:nt,direction:et="ltr"}=Yt,qt=et==="ltr"?"left":"right",hn=et==="ltr"?"right":"left",Zt={[qt]:-rn*nt+re,[hn]:0};switch(vt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[qt]=nt+re;break}return Oe.createElement("div",{style:Zt,className:`${xn}-drop-indicator`})}var me=te(71997),ye=Oe.forwardRef((Yt,vt)=>{const{getPrefixCls:rn,direction:xn,virtual:nt,tree:et}=Oe.useContext(b.E_),{prefixCls:qt,className:hn,showIcon:Zt=!1,showLine:dn,switcherIcon:We,blockNode:It=!1,children:Gt,checkable:Mt=!1,selectable:ht=!0,draggable:rt,motion:ze,style:ve}=Yt,fe=rn("tree",qt),qe=rn(),Rt=ze!=null?ze:Object.assign(Object.assign({},(0,z.Z)(qe)),{motionAppear:!1}),Fe=Object.assign(Object.assign({},Yt),{checkable:Mt,selectable:ht,showIcon:Zt,motion:Rt,blockNode:It,showLine:!!dn,dropIndicatorRender:ie}),[xe,at]=(0,ne.ZP)(fe),Xe=Oe.useMemo(()=>{if(!rt)return!1;let ft={};switch(typeof rt){case"function":ft.nodeDraggable=rt;break;case"object":ft=Object.assign({},rt);break;default:break}return ft.icon!==!1&&(ft.icon=ft.icon||Oe.createElement(E.Z,null)),ft},[rt]),Ae=ft=>Oe.createElement(me.Z,{prefixCls:fe,switcherIcon:We,treeNodeProps:ft,showLine:dn});return xe(Oe.createElement(x.Z,Object.assign({itemHeight:20,ref:vt,virtual:nt},Fe,{style:Object.assign(Object.assign({},et==null?void 0:et.style),ve),prefixCls:fe,className:le()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:It,[`${fe}-unselectable`]:!ht,[`${fe}-rtl`]:xn==="rtl"},et==null?void 0:et.className,hn,at),direction:xn,checkable:Mt&&Oe.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:ht,switcherIcon:Ae,draggable:Xe}),Gt))}),je;(function(Yt){Yt[Yt.None=0]="None",Yt[Yt.Start=1]="Start",Yt[Yt.End=2]="End"})(je||(je={}));function De(Yt,vt){function rn(xn){const{key:nt,children:et}=xn;vt(nt,xn)!==!1&&De(et||[],vt)}Yt.forEach(rn)}function Qe(Yt){let{treeData:vt,expandedKeys:rn,startKey:xn,endKey:nt}=Yt;const et=[];let qt=je.None;if(xn&&xn===nt)return[xn];if(!xn||!nt)return[];function hn(Zt){return Zt===xn||Zt===nt}return De(vt,Zt=>{if(qt===je.End)return!1;if(hn(Zt)){if(et.push(Zt),qt===je.None)qt=je.Start;else if(qt===je.Start)return qt=je.End,!1}else qt===je.Start&&et.push(Zt);return rn.includes(Zt)}),et}function he(Yt,vt){const rn=(0,ue.Z)(vt),xn=[];return De(Yt,(nt,et)=>{const qt=rn.indexOf(nt);return qt!==-1&&(xn.push(et),rn.splice(qt,1)),!!rn.length}),xn}var Te=function(Yt,vt){var rn={};for(var xn in Yt)Object.prototype.hasOwnProperty.call(Yt,xn)&&vt.indexOf(xn)<0&&(rn[xn]=Yt[xn]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,xn=Object.getOwnPropertySymbols(Yt);nt{var{defaultExpandAll:rn,defaultExpandParent:xn,defaultExpandedKeys:nt}=Yt,et=Te(Yt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const qt=Oe.useRef(),hn=Oe.useRef(),Zt=()=>{const{keyEntities:Xe}=(0,a.I8)(bt(et));let Ae;return rn?Ae=Object.keys(Xe):xn?Ae=(0,y.r7)(et.expandedKeys||nt||[],Xe):Ae=et.expandedKeys||nt,Ae},[dn,We]=Oe.useState(et.selectedKeys||et.defaultSelectedKeys||[]),[It,Gt]=Oe.useState(()=>Zt());Oe.useEffect(()=>{"selectedKeys"in et&&We(et.selectedKeys)},[et.selectedKeys]),Oe.useEffect(()=>{"expandedKeys"in et&&Gt(et.expandedKeys)},[et.expandedKeys]);const Mt=(Xe,Ae)=>{var ft;return"expandedKeys"in et||Gt(Xe),(ft=et.onExpand)===null||ft===void 0?void 0:ft.call(et,Xe,Ae)},ht=(Xe,Ae)=>{var ft;const{multiple:vn}=et,{node:Qt,nativeEvent:jt}=Ae,{key:on=""}=Qt,cn=bt(et),_e=Object.assign(Object.assign({},Ae),{selected:!0}),Ft=(jt==null?void 0:jt.ctrlKey)||(jt==null?void 0:jt.metaKey),Lt=jt==null?void 0:jt.shiftKey;let St;vn&&Ft?(St=Xe,qt.current=on,hn.current=St,_e.selectedNodes=he(cn,St)):vn&&Lt?(St=Array.from(new Set([].concat((0,ue.Z)(hn.current||[]),(0,ue.Z)(Qe({treeData:cn,expandedKeys:It,startKey:on,endKey:qt.current}))))),_e.selectedNodes=he(cn,St)):(St=[on],qt.current=on,hn.current=St,_e.selectedNodes=he(cn,St)),(ft=et.onSelect)===null||ft===void 0||ft.call(et,St,_e),"selectedKeys"in et||We(St)},{getPrefixCls:rt,direction:ze}=Oe.useContext(b.E_),{prefixCls:ve,className:fe,showIcon:qe=!0,expandAction:Rt="click"}=et,Fe=Te(et,["prefixCls","className","showIcon","expandAction"]),xe=rt("tree",ve),at=le()(`${xe}-directory`,{[`${xe}-directory-rtl`]:ze==="rtl"},fe);return Oe.createElement(ye,Object.assign({icon:Ye,ref:vt,blockNode:!0},Fe,{showIcon:qe,expandAction:Rt,prefixCls:xe,className:at,expandedKeys:It,selectedKeys:dn,onSelect:ht,onExpand:Mt}))};var Bt=Oe.forwardRef(Ne);const yt=ye;yt.DirectoryTree=Bt,yt.TreeNode=x.O;var gt=yt},20648:function(Ut,Kt,te){"use strict";te.d(Kt,{TM:function(){return Je},Yk:function(){return tt}});var x=te(93083),ue=te(98447),Be=te(17313),Me=te(8378),Le=te(37613),Oe=te(83116);const se=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ct=(le,y)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),ot=(le,y)=>({[`.${le}-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:'""'}}}),Ve=(le,y)=>{const{treeCls:a,treeNodeCls:b,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"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:se,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{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(${b}-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}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-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({},ct(le,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(le,y)),[`${b}.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"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Ue=le=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:z}=le;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${le.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=(le,y)=>{const a=`.${le}`,b=`${a}-treenode`,E=y.paddingXS/2,z=(0,Le.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[Ve(le,z),Ue(z)]},Je=le=>{const{controlHeightSM:y}=le;return{titleHeight:y,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};Kt.ZP=(0,Oe.Z)("Tree",(le,y)=>{let{prefixCls:a}=y;return[{[le.componentCls]:(0,ue.C2)(`${a}-checkbox`,le)},tt(a,le),(0,Me.Z)(le)]},le=>{const{colorTextLightSolid:y,colorPrimary:a}=le;return Object.assign(Object.assign({},Je(le)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return b}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(z,ne){return ue.createElement(Le.Z,(0,x.Z)({},z,{ref:ne,icon:Me}))},se=ue.forwardRef(Oe),ct=se,ot=te(52671),Ve=te(58617),Ue=te(15075),tt=te(43531),Je=te(92310),le=te.n(Je),y=te(92343),b=E=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ie}=E,{isLeaf:me,expanded:pe,loading:ye}=re;if(ye)return ue.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let je;if(ie&&typeof ie=="object"&&(je=ie.showLeafIcon),me){if(!ie)return null;if(typeof je!="boolean"&&je){const he=typeof je=="function"?je(re):je,Te=`${z}-switcher-line-custom-icon`;return(0,y.l$)(he)?(0,y.Tm)(he,{className:le()(he.props.className||"",Te)}):he}return je?ue.createElement(ot.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const De=`${z}-switcher-icon`,Qe=typeof ne=="function"?ne(re):ne;return(0,y.l$)(Qe)?(0,y.Tm)(Qe,{className:le()(Qe.props.className||"",De)}):Qe!==void 0?Qe:ie?pe?ue.createElement(Ue.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(tt.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(ct,{className:De})}},54580:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return va}});var x=te(59301),ue=te(26407),Be=te(92310),Me=te.n(Be),Le=te(92413),Oe=te(6909),se=te(4771),ct=te(9427),ot=te(25440),Ve=te(400),Ue=te(37061),tt=te(85195),Je=te(39559),le=te(20569),y=te(26112);function a(Ge,gn){var Jt="cannot ".concat(Ge.method," ").concat(Ge.action," ").concat(gn.status,"'"),yn=new Error(Jt);return yn.status=gn.status,yn.method=Ge.method,yn.url=Ge.action,yn}function b(Ge){var gn=Ge.responseText||Ge.response;if(!gn)return gn;try{return JSON.parse(gn)}catch(Jt){return gn}}function E(Ge){var gn=new XMLHttpRequest;Ge.onProgress&&gn.upload&&(gn.upload.onprogress=function(Zn){Zn.total>0&&(Zn.percent=Zn.loaded/Zn.total*100),Ge.onProgress(Zn)});var Jt=new FormData;Ge.data&&Object.keys(Ge.data).forEach(function(In){var Zn=Ge.data[In];if(Array.isArray(Zn)){Zn.forEach(function(An){Jt.append("".concat(In,"[]"),An)});return}Jt.append(In,Zn)}),Ge.file instanceof Blob?Jt.append(Ge.filename,Ge.file,Ge.file.name):Jt.append(Ge.filename,Ge.file),gn.onerror=function(Zn){Ge.onError(Zn)},gn.onload=function(){return gn.status<200||gn.status>=300?Ge.onError(a(Ge,gn),b(gn)):Ge.onSuccess(b(gn),gn)},gn.open(Ge.method,Ge.action,!0),Ge.withCredentials&&"withCredentials"in gn&&(gn.withCredentials=!0);var yn=Ge.headers||{};return yn["X-Requested-With"]!==null&&gn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(yn).forEach(function(In){yn[In]!==null&&gn.setRequestHeader(In,yn[In])}),gn.send(Jt),{abort:function(){gn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ie=te(48736),me=function(Ge,gn){if(Ge&&gn){var Jt=Array.isArray(gn)?gn:gn.split(","),yn=Ge.name||"",In=Ge.type||"",Zn=In.replace(/\/.*$/,"");return Jt.some(function(An){var Dn=An.trim();if(/^\*(\/\*)?$/.test(An))return!0;if(Dn.charAt(0)==="."){var Fa=yn.toLowerCase(),La=Dn.toLowerCase(),fn=[La];return(La===".jpg"||La===".jpeg")&&(fn=[".jpg",".jpeg"]),fn.some(function(Da){return Fa.endsWith(Da)})}return/\/\*$/.test(Dn)?Zn===Dn.replace(/\/.*$/,""):In===Dn?!0:/^\w+$/.test(Dn)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Dn,"'.Skip for check.")),!0):!1})}return!0};function pe(Ge,gn){var Jt=Ge.createReader(),yn=[];function In(){Jt.readEntries(function(Zn){var An=Array.prototype.slice.apply(Zn);yn=yn.concat(An);var Dn=!An.length;Dn?gn(yn):In()})}In()}var ye=function(gn,Jt,yn){var In=function Zn(An,Dn){An&&(An.path=Dn||"",An.isFile?An.file(function(Fa){yn(Fa)&&(An.fullPath&&!Fa.webkitRelativePath&&(Object.defineProperties(Fa,{webkitRelativePath:{writable:!0}}),Fa.webkitRelativePath=An.fullPath.replace(/^\//,""),Object.defineProperties(Fa,{webkitRelativePath:{writable:!1}})),Jt([Fa]))}):An.isDirectory&&pe(An,function(Fa){Fa.forEach(function(La){Zn(La,"".concat(Dn).concat(An.name,"/"))})}))};gn.forEach(function(Zn){In(Zn.webkitGetAsEntry())})},je=ye,De=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Qe=function(Ge){(0,ct.Z)(Jt,Ge);var gn=(0,ot.Z)(Jt);function Jt(){var yn;(0,Oe.Z)(this,Jt);for(var In=arguments.length,Zn=new Array(In),An=0;An{let{uid:Zn}=In;return Zn===Ge.uid});return yn===-1?Jt.push(Ge):Jt[yn]=Ge,Jt}function ft(Ge,gn){const Jt=Ge.uid!==void 0?"uid":"name";return gn.filter(yn=>yn[Jt]===Ge[Jt])[0]}function vn(Ge,gn){const Jt=Ge.uid!==void 0?"uid":"name",yn=gn.filter(In=>In[Jt]!==Ge[Jt]);return yn.length===gn.length?null:yn}const Qt=function(){const gn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),yn=gn[gn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(yn)||[""])[0]},jt=Ge=>Ge.indexOf("image/")===0,on=Ge=>{if(Ge.type&&!Ge.thumbUrl)return jt(Ge.type);const gn=Ge.thumbUrl||Ge.url||"",Jt=Qt(gn);return/^data:image\//.test(gn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Jt)?!0:!(/^data:/.test(gn)||Jt)},cn=200;function _e(Ge){return new Promise(gn=>{if(!Ge.type||!jt(Ge.type)){gn("");return}const Jt=document.createElement("canvas");Jt.width=cn,Jt.height=cn,Jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${cn}px; height: ${cn}px; z-index: 9999; display: none;`,document.body.appendChild(Jt);const yn=Jt.getContext("2d"),In=new Image;if(In.onload=()=>{const{width:Zn,height:An}=In;let Dn=cn,Fa=cn,La=0,fn=0;Zn>An?(Fa=An*(cn/Zn),fn=-(Fa-Dn)/2):(Dn=Zn*(cn/An),La=-(Dn-Fa)/2),yn.drawImage(In,La,fn,Dn,Fa);const Da=Jt.toDataURL();document.body.removeChild(Jt),window.URL.revokeObjectURL(In.src),gn(Da)},In.crossOrigin="anonymous",Ge.type.startsWith("image/svg+xml")){const Zn=new FileReader;Zn.onload=()=>{Zn.result&&(In.src=Zn.result)},Zn.readAsDataURL(Ge)}else if(Ge.type.startsWith("image/gif")){const Zn=new FileReader;Zn.onload=()=>{Zn.result&&gn(Zn.result)},Zn.readAsDataURL(Ge)}else In.src=window.URL.createObjectURL(Ge)})}var Ft=te(26227),Lt=te(41464),St=te(15277),Dt=te(93948),pn=te(6848),Sn=x.forwardRef((Ge,gn)=>{let{prefixCls:Jt,className:yn,style:In,locale:Zn,listType:An,file:Dn,items:Fa,progress:La,iconRender:fn,actionIconRender:Da,itemRender:Yn,isImgUrl:qa,showPreviewIcon:Ja,showRemoveIcon:Wn,showDownloadIcon:sa,previewIcon:ma,removeIcon:ra,downloadIcon:Ua,onPreview:rr,onDownload:Ga,onClose:za}=Ge;var lr,Vr;const{status:Ir}=Dn,[uo,yr]=x.useState(Ir);x.useEffect(()=>{Ir!=="removed"&&yr(Ir)},[Ir]);const[Sr,Ar]=x.useState(!1);x.useEffect(()=>{const Dr=setTimeout(()=>{Ar(!0)},300);return()=>{clearTimeout(Dr)}},[]);const br=fn(Dn);let Br=x.createElement("div",{className:`${Jt}-icon`},br);if(An==="picture"||An==="picture-card"||An==="picture-circle")if(uo==="uploading"||!Dn.thumbUrl&&!Dn.url){const Dr=Me()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:uo!=="uploading"});Br=x.createElement("div",{className:Dr},br)}else{const Dr=qa!=null&&qa(Dn)?x.createElement("img",{src:Dn.thumbUrl||Dn.url,alt:Dn.name,className:`${Jt}-list-item-image`,crossOrigin:Dn.crossOrigin}):br,Yr=Me()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:qa&&!qa(Dn)});Br=x.createElement("a",{className:Yr,onClick:Po=>rr(Dn,Po),href:Dn.url||Dn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Dr)}const Ta=Me()(`${Jt}-list-item`,`${Jt}-list-item-${uo}`),or=typeof Dn.linkProps=="string"?JSON.parse(Dn.linkProps):Dn.linkProps,Lr=Wn?Da((typeof ra=="function"?ra(Dn):ra)||x.createElement(Ft.Z,null),()=>za(Dn),Jt,Zn.removeFile):null,Or=sa&&uo==="done"?Da((typeof Ua=="function"?Ua(Dn):Ua)||x.createElement(Lt.Z,null),()=>Ga(Dn),Jt,Zn.downloadFile):null,Cr=An!=="picture-card"&&An!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Me()(`${Jt}-list-item-actions`,{picture:An==="picture"})},Or,Lr),$r=Me()(`${Jt}-list-item-name`),jr=Dn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:$r,title:Dn.name},or,{href:Dn.url,onClick:Dr=>rr(Dn,Dr)}),Dn.name),Cr]:[x.createElement("span",{key:"view",className:$r,onClick:Dr=>rr(Dn,Dr),title:Dn.name},Dn.name),Cr],Xa={pointerEvents:"none",opacity:.5},wr=Ja?x.createElement("a",{href:Dn.url||Dn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Dn.url||Dn.thumbUrl?void 0:Xa,onClick:Dr=>rr(Dn,Dr),title:Zn.previewFile},typeof ma=="function"?ma(Dn):ma||x.createElement(St.Z,null)):null,pr=(An==="picture-card"||An==="picture-circle")&&uo!=="uploading"&&x.createElement("span",{className:`${Jt}-list-item-actions`},wr,uo==="done"&&Or,Lr),{getPrefixCls:Qr}=x.useContext(yt.E_),no=Qr(),Bo=x.createElement("div",{className:Ta},Br,jr,pr,Sr&&x.createElement(qe.default,{motionName:`${no}-fade`,visible:uo==="uploading",motionDeadline:2e3},Dr=>{let{className:Yr}=Dr;const Po="percent"in Dn?x.createElement(Dt.Z,Object.assign({},La,{type:"line",percent:Dn.percent,"aria-label":Dn["aria-label"],"aria-labelledby":Dn["aria-labelledby"]})):null;return x.createElement("div",{className:Me()(`${Jt}-list-item-progress`,Yr)},Po)})),To=Dn.response&&typeof Dn.response=="string"?Dn.response:((lr=Dn.error)===null||lr===void 0?void 0:lr.statusText)||((Vr=Dn.error)===null||Vr===void 0?void 0:Vr.message)||Zn.uploadError,ko=uo==="error"?x.createElement(pn.Z,{title:To,getPopupContainer:Dr=>Dr.parentNode},Bo):Bo;return x.createElement("div",{className:Me()(`${Jt}-list-item-container`,yn),style:In,ref:gn},Yn?Yn(ko,Dn,Fa,{download:Ga.bind(null,Dn),preview:rr.bind(null,Dn),remove:za.bind(null,Dn)}):ko)});const Rn=(Ge,gn)=>{const{listType:Jt="text",previewFile:yn=_e,onPreview:In,onDownload:Zn,onRemove:An,locale:Dn,iconRender:Fa,isImageUrl:La=on,prefixCls:fn,items:Da=[],showPreviewIcon:Yn=!0,showRemoveIcon:qa=!0,showDownloadIcon:Ja=!1,removeIcon:Wn,previewIcon:sa,downloadIcon:ma,progress:ra={size:[-1,2],showInfo:!1},appendAction:Ua,appendActionVisible:rr=!0,itemRender:Ga,disabled:za}=Ge,lr=(0,Rt.Z)(),[Vr,Ir]=x.useState(!1);x.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="",yn&&yn(Xa.originFileObj).then(wr=>{Xa.thumbUrl=wr||"",lr()}))})},[Jt,Da,yn]),x.useEffect(()=>{Ir(!0)},[]);const uo=(Xa,wr)=>{if(In)return wr==null||wr.preventDefault(),In(Xa)},yr=Xa=>{typeof Zn=="function"?Zn(Xa):Xa.url&&window.open(Xa.url)},Sr=Xa=>{An==null||An(Xa)},Ar=Xa=>{if(Fa)return Fa(Xa,Jt);const wr=Xa.status==="uploading",pr=La&&La(Xa)?x.createElement(fe,null):x.createElement(hn,null);let Qr=wr?x.createElement(Zt.Z,null):x.createElement(Mt,null);return Jt==="picture"?Qr=wr?x.createElement(Zt.Z,null):pr:(Jt==="picture-card"||Jt==="picture-circle")&&(Qr=wr?Dn.uploading:pr),Qr},br=(Xa,wr,pr,Qr)=>{const no={type:"text",size:"small",title:Qr,onClick:Bo=>{wr(),(0,xe.l$)(Xa)&&Xa.props.onClick&&Xa.props.onClick(Bo)},className:`${pr}-list-item-action`,disabled:za};if((0,xe.l$)(Xa)){const Bo=(0,xe.Tm)(Xa,Object.assign(Object.assign({},Xa.props),{onClick:()=>{}}));return x.createElement(at.ZP,Object.assign({},no,{icon:Bo}))}return x.createElement(at.ZP,Object.assign({},no),x.createElement("span",null,Xa))};x.useImperativeHandle(gn,()=>({handlePreview:uo,handleDownload:yr}));const{getPrefixCls:Br}=x.useContext(yt.E_),Ta=Br("upload",fn),or=Br(),Lr=Me()(`${Ta}-list`,`${Ta}-list-${Jt}`),Or=(0,ue.Z)(Da.map(Xa=>({key:Xa.uid,file:Xa})));let $r={motionDeadline:2e3,motionName:`${Ta}-${Jt==="picture-card"||Jt==="picture-circle"?"animate-inline":"animate"}`,keys:Or,motionAppear:Vr};const jr=x.useMemo(()=>{const Xa=Object.assign({},(0,Fe.Z)(or));return delete Xa.onAppearEnd,delete Xa.onEnterEnd,delete Xa.onLeaveEnd,Xa},[or]);return Jt!=="picture-card"&&Jt!=="picture-circle"&&($r=Object.assign(Object.assign({},jr),$r)),x.createElement("div",{className:Lr},x.createElement(qe.CSSMotionList,Object.assign({},$r,{component:!1}),Xa=>{let{key:wr,file:pr,className:Qr,style:no}=Xa;return x.createElement(Sn,{key:wr,locale:Dn,prefixCls:Ta,className:Qr,style:no,file:pr,items:Da,progress:ra,listType:Jt,isImgUrl:La,showPreviewIcon:Yn,showRemoveIcon:qa,showDownloadIcon:Ja,removeIcon:Wn,previewIcon:sa,downloadIcon:ma,iconRender:Ar,actionIconRender:br,itemRender:Ga,onPreview:uo,onDownload:yr,onClose:Sr})}),Ua&&x.createElement(qe.default,Object.assign({},$r,{visible:rr,forceRender:!0}),Xa=>{let{className:wr,style:pr}=Xa;return(0,xe.Tm)(Ua,Qr=>({className:Me()(Qr.className,wr),style:Object.assign(Object.assign(Object.assign({},pr),{pointerEvents:wr?"none":void 0}),Qr.style)}))}))};var aa=x.forwardRef(Rn),zn=te(17313),Pa=te(8378),Ea=te(83116),_n=te(37613),en=Ge=>{const{componentCls:gn,iconCls:Jt}=Ge;return{[`${gn}-wrapper`]:{[`${gn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ge.colorFillAlter,border:`${Ge.lineWidth}px dashed ${Ge.colorBorder}`,borderRadius:Ge.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ge.motionDurationSlow}`,[gn]:{padding:`${Ge.padding}px 0`},[`${gn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${gn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${gn}-disabled):hover`]:{borderColor:Ge.colorPrimaryHover},[`p${gn}-drag-icon`]:{marginBottom:Ge.margin,[Jt]:{color:Ge.colorPrimary,fontSize:Ge.uploadThumbnailSize}},[`p${gn}-text`]:{margin:`0 0 ${Ge.marginXXS}px`,color:Ge.colorTextHeading,fontSize:Ge.fontSizeLG},[`p${gn}-hint`]:{color:Ge.colorTextDescription,fontSize:Ge.fontSize},[`&${gn}-disabled`]:{cursor:"not-allowed",[`p${gn}-drag-icon ${Jt}, + `]:{background:Un},[`&${ce}-row-selected`]:{"> th, > td":{background:jn},"&:hover > th, &:hover > td":{background:Qn}}}},[`${ce}-footer`]:{padding:`${ke}px ${Ie}px`,color:Vn,background:qn}})}};var gl=(0,Nl.Z)("Table",ge=>{const{colorTextHeading:ce,colorSplit:be,colorIcon:ke,colorIconHover:Ie,opacityLoading:He,colorBgContainer:pt,controlInteractiveSize:xt,headerBg:it,headerColor:zt,headerSortActiveBg:wt,headerSortHoverBg:Xt,bodySortBg:Ln,rowHoverBg:_t,rowSelectedBg:At,rowSelectedHoverBg:Un,rowExpandedBg:jn,cellPaddingBlock:Qn,cellPaddingInline:Vn,cellPaddingBlockMD:qn,cellPaddingInlineMD:Fn,cellPaddingBlockSM:Ca,cellPaddingInlineSM:ba,borderColor:Za,footerBg:ja,footerColor:ia,headerBorderRadius:ya,cellFontSize:Sa,cellFontSizeMD:Gn,cellFontSizeSM:ga,headerSplitColor:Ma,fixedHeaderSortActiveBg:er,headerFilterHoverBg:ar,filterDropdownBg:Wa,expandIconBg:mr,selectionColumnWidth:hr,stickyScrollBarBg:Wr}=ge,Zr=new Fi.C(ke),ho=new Fi.C(Ie),qr=2,xr=(0,rs.TS)(ge,{tableFontSize:Sa,tableBg:pt,tableRadius:ya,tablePaddingVertical:Qn,tablePaddingHorizontal:Vn,tablePaddingVerticalMiddle:qn,tablePaddingHorizontalMiddle:Fn,tablePaddingVerticalSmall:Ca,tablePaddingHorizontalSmall:ba,tableBorderColor:Za,tableHeaderTextColor:zt,tableHeaderBg:it,tableFooterTextColor:ia,tableFooterBg:ja,tableHeaderCellSplitColor:Ma,tableHeaderSortBg:wt,tableHeaderSortHoverBg:Xt,tableHeaderIconColor:Zr.clone().setAlpha(Zr.getAlpha()*He).toRgbString(),tableHeaderIconColorHover:ho.clone().setAlpha(ho.getAlpha()*He).toRgbString(),tableBodySortBg:Ln,tableFixedHeaderSortActiveBg:er,tableHeaderFilterActiveBg:ar,tableFilterDropdownBg:Wa,tableRowHoverBg:_t,tableSelectedRowBg:At,tableSelectedRowHoverBg:Un,zIndexTableFixed:qr,zIndexTableSticky:qr+1,tableFontSizeMiddle:Gn,tableFontSizeSmall:ga,tableSelectionColumnWidth:hr,tableExpandIconBg:mr,tableExpandColumnWidth:xt+2*ge.padding,tableExpandedRowBg:jn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wr,tableScrollThumbBgHover:ce,tableScrollBg:be});return[cl(xr),ds(xr),xi(xr),ms(xr),ti(xr),is(xr),Rl(xr),Ll(xr),xi(xr),ss(xr),kl(xr),Oo(xr),Zi(xr),ls(xr),cs(xr),Ml(xr),dl(xr)]},ge=>{const{colorFillAlter:ce,colorBgContainer:be,colorTextHeading:ke,colorFillSecondary:Ie,colorFillContent:He,controlItemBgActive:pt,controlItemBgActiveHover:xt,padding:it,paddingSM:zt,paddingXS:wt,colorBorderSecondary:Xt,borderRadiusLG:Ln,fontSize:_t,controlHeight:At,colorTextPlaceholder:Un}=ge,jn=new Fi.C(Ie).onBackground(be).toHexShortString(),Qn=new Fi.C(He).onBackground(be).toHexShortString(),Vn=new Fi.C(ce).onBackground(be).toHexShortString();return{headerBg:Vn,headerColor:ke,headerSortActiveBg:jn,headerSortHoverBg:Qn,bodySortBg:Vn,rowHoverBg:Vn,rowSelectedBg:pt,rowSelectedHoverBg:xt,rowExpandedBg:ce,cellPaddingBlock:it,cellPaddingInline:it,cellPaddingBlockMD:zt,cellPaddingInlineMD:wt,cellPaddingBlockSM:wt,cellPaddingInlineSM:wt,borderColor:Xt,headerBorderRadius:Ln,footerBg:Vn,footerColor:ke,cellFontSize:_t,cellFontSizeMD:_t,cellFontSizeSM:_t,headerSplitColor:Xt,fixedHeaderSortActiveBg:jn,headerFilterHoverBg:He,filterDropdownMenuBg:be,filterDropdownBg:be,expandIconBg:be,selectionColumnWidth:At,stickyScrollBarBg:Un,stickyScrollBarBorderRadius:100}});const Se=[],Ke=(ge,ce)=>{const{prefixCls:be,className:ke,rootClassName:Ie,style:He,size:pt,bordered:xt,dropdownPrefixCls:it,dataSource:zt,pagination:wt,rowSelection:Xt,rowKey:Ln="key",rowClassName:_t,columns:At,children:Un,childrenColumnName:jn,onChange:Qn,getPopupContainer:Vn,loading:qn,expandIcon:Fn,expandable:Ca,expandedRowRender:ba,expandIconColumnIndex:Za,indentSize:ja,scroll:ia,sortDirections:ya,locale:Sa,showSorterTooltip:Gn=!0,virtual:ga}=ge,Ma=se.useMemo(()=>At||dt(Un),[At,Un]),er=se.useMemo(()=>Ma.some(Kr=>Kr.responsive),[Ma]),ar=(0,$o.Z)(er),Wa=se.useMemo(()=>{const Kr=new Set(Object.keys(ar).filter(fo=>ar[fo]));return Ma.filter(fo=>!fo.responsive||fo.responsive.some(Mo=>Kr.has(Mo)))},[Ma,ar]),mr=(0,To.Z)(ge,["className","style","columns"]),{locale:hr=jo.Z,direction:Wr,table:Zr,renderEmpty:ho,getPrefixCls:qr,getPopupContainer:xr}=se.useContext(Dr.E_),Do=(0,Po.Z)(pt),Ur=Object.assign(Object.assign({},hr.Table),Sa),So=zt||Se,ao=qr("table",be),Jo=qr("dropdown",it),sr=Object.assign({childrenColumnName:jn,expandIconColumnIndex:Za},Ca),{childrenColumnName:ur="children"}=sr,_a=se.useMemo(()=>So.some(Kr=>Kr==null?void 0:Kr[ur])?"nest":ba||Ca&&Ca.expandedRowRender?"row":null,[So]),tr={body:se.useRef()},Gr=se.useMemo(()=>typeof Ln=="function"?Ln:Kr=>Kr==null?void 0:Kr[Ln],[Ln]),[nr]=bl(So,ur,Gr),cr={},Rr=function(Kr,fo){let Mo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Co,Wo,Uo;const Xo=Object.assign(Object.assign({},cr),Kr);Mo&&((Co=cr.resetPagination)===null||Co===void 0||Co.call(cr),!((Wo=Xo.pagination)===null||Wo===void 0)&&Wo.current&&(Xo.pagination.current=1),wt&&wt.onChange&&wt.onChange(1,(Uo=Xo.pagination)===null||Uo===void 0?void 0:Uo.pageSize)),ia&&ia.scrollToFirstRowOnChange!==!1&&tr.body.current&&(0,ko.Z)(0,{getContainer:()=>tr.body.current}),Qn==null||Qn(Xo.pagination,Xo.filters,Xo.sorter,{currentDataSource:Xl(Mi(So,Xo.sorterStates,ur),Xo.filterStates),action:fo})},Fr=(Kr,fo)=>{Rr({sorter:Kr,sorterStates:fo},"sort",!1)},[ro,Ao,Zo,Ro]=ns({prefixCls:ao,mergedColumns:Wa,onSorterChange:Fr,sortDirections:ya||["ascend","descend"],tableLocale:Ur,showSorterTooltip:Gn}),ci=se.useMemo(()=>Mi(So,Ao,ur),[So,Ao]);cr.sorter=Ro(),cr.sorterStates=Ao;const No=(Kr,fo)=>{Rr({filters:Kr,filterStates:fo},"filter",!0)},[Io,Ai,Xr]=El({prefixCls:ao,locale:Ur,dropdownPrefixCls:Jo,mergedColumns:Wa,onFilterChange:No,getPopupContainer:Vn||xr}),eo=Xl(ci,Ai);cr.filters=Xr,cr.filterStates=Ai;const co=se.useMemo(()=>{const Kr={};return Object.keys(Xr).forEach(fo=>{Xr[fo]!==null&&(Kr[fo]=Xr[fo])}),Object.assign(Object.assign({},Zo),{filters:Kr})},[Zo,Xr]),[Eo]=as(co),oo=(Kr,fo)=>{Rr({pagination:Object.assign(Object.assign({},cr.pagination),{current:Kr,pageSize:fo})},"paginate")},[Tr,Ko]=di(eo.length,oo,wt);cr.pagination=wt===!1?{}:oi(Tr,wt),cr.resetPagination=Ko;const Vo=se.useMemo(()=>{if(wt===!1||!Tr.pageSize)return eo;const{current:Kr=1,total:fo,pageSize:Mo=xl}=Tr;return eo.lengthMo?eo.slice((Kr-1)*Mo,Kr*Mo):eo:eo.slice((Kr-1)*Mo,Kr*Mo)},[!!wt,eo,Tr&&Tr.current,Tr&&Tr.pageSize,Tr&&Tr.total]),[da,Qa]=Al({prefixCls:ao,data:eo,pageData:Vo,getRowKey:Gr,getRecordByKey:nr,expandType:_a,childrenColumnName:ur,locale:Ur,getPopupContainer:Vn||xr},Xt),Pr=(Kr,fo,Mo)=>{let Co;return typeof _t=="function"?Co=Ye()(_t(Kr,fo,Mo)):Co=Ye()(_t),Ye()({[`${ao}-row-selected`]:Qa.has(Gr(Kr,fo))},Co)};sr.__PARENT_RENDER_ICON__=sr.expandIcon,sr.expandIcon=sr.expandIcon||Fn||Ba(Ur),_a==="nest"&&sr.expandIconColumnIndex===void 0?sr.expandIconColumnIndex=Xt?1:0:sr.expandIconColumnIndex>0&&Xt&&(sr.expandIconColumnIndex-=1),typeof sr.indentSize!="number"&&(sr.indentSize=typeof ja=="number"?ja:15);const Er=se.useCallback(Kr=>Eo(da(Io(ro(Kr)))),[ro,Io,da]);let Nr,zr;if(wt!==!1&&(Tr!=null&&Tr.total)){let Kr;Tr.size?Kr=Tr.size:Kr=Do==="small"||Do==="middle"?"small":void 0;const fo=Wo=>se.createElement(ei.Z,Object.assign({},Tr,{className:Ye()(`${ao}-pagination ${ao}-pagination-${Wo}`,Tr.className),size:Kr})),Mo=Wr==="rtl"?"left":"right",{position:Co}=Tr;if(Co!==null&&Array.isArray(Co)){const Wo=Co.find(Si=>Si.includes("top")),Uo=Co.find(Si=>Si.includes("bottom")),Xo=Co.every(Si=>`${Si}`=="none");!Wo&&!Uo&&!Xo&&(zr=fo(Mo)),Wo&&(Nr=fo(Wo.toLowerCase().replace("top",""))),Uo&&(zr=fo(Uo.toLowerCase().replace("bottom","")))}else zr=fo(Mo)}let io;typeof qn=="boolean"?io={spinning:qn}:typeof qn=="object"&&(io=Object.assign({spinning:!0},qn));const[bo,lo]=gl(ao),[,po]=(0,fa.Z)(),ii=Ye()(`${ao}-wrapper`,Zr==null?void 0:Zr.className,{[`${ao}-wrapper-rtl`]:Wr==="rtl"},ke,Ie,lo),_o=Object.assign(Object.assign({},Zr==null?void 0:Zr.style),He),ni=Sa&&Sa.emptyText||(ho==null?void 0:ho("Table"))||se.createElement(Yr.Z,{componentName:"Table"}),qo=ga?sl:As,fi={},Xi=se.useMemo(()=>{const{fontSize:Kr,lineHeight:fo,padding:Mo,paddingXS:Co,paddingSM:Wo}=po,Uo=Math.floor(Kr*fo);switch(Do){case"large":return Mo*2+Uo;case"small":return Co*2+Uo;default:return Wo*2+Uo}},[po,Do]);return ga&&(fi.listItemHeight=Xi),bo(se.createElement("div",{ref:ce,className:ii,style:_o},se.createElement($a.Z,Object.assign({spinning:!1},io),Nr,se.createElement(qo,Object.assign({},fi,mr,{columns:Wa,direction:Wr,expandable:sr,prefixCls:ao,className:Ye()({[`${ao}-middle`]:Do==="middle",[`${ao}-small`]:Do==="small",[`${ao}-bordered`]:xt,[`${ao}-empty`]:So.length===0}),data:Vo,rowKey:Gr,rowClassName:Pr,emptyText:ni,internalHooks:ue,internalRefs:tr,transformColumns:Er})),zr)))};var $e=se.forwardRef(Ke);const un=(ge,ce)=>{const be=se.useRef(0);return be.current+=1,se.createElement($e,Object.assign({},ge,{ref:ce,_renderTimes:be.current}))},ua=se.forwardRef(un);ua.SELECTION_COLUMN=yi,ua.EXPAND_COLUMN=x,ua.SELECTION_ALL=al,ua.SELECTION_INVERT=ha,ua.SELECTION_NONE=Li,ua.Column=Qr,ua.ColumnGroup=Bo,ua.Summary=Fe;var ka=ua,Ka=ka},12563:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return Qe}});var x=te(59301),ue=te(99267),Be=te(92310),Me=te.n(Be),Le=te(36785),Oe=te(47729),se=te(14088),ct=te(36355),ot=te(17313),Ve=te(37613),Ue=te(83116);const tt=he=>{const{paddingXXS:Te,lineWidth:Ye,tagPaddingHorizontal:bt,componentCls:Ne}=he,ut=bt-Ye,Bt=Te-Ye;return{[Ne]:Object.assign(Object.assign({},(0,ot.Wf)(he)),{display:"inline-block",height:"auto",marginInlineEnd:he.marginXS,paddingInline:ut,fontSize:he.tagFontSize,lineHeight:he.tagLineHeight,whiteSpace:"nowrap",background:he.defaultBg,border:`${he.lineWidth}px ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadiusSM,opacity:1,transition:`all ${he.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ne}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:he.defaultColor},[`${Ne}-close-icon`]:{marginInlineStart:Bt,color:he.colorTextDescription,fontSize:he.tagIconSize,cursor:"pointer",transition:`all ${he.motionDurationMid}`,"&:hover":{color:he.colorTextHeading}},[`&${Ne}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${he.iconCls}-close, ${he.iconCls}-close:hover`]:{color:he.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ne}-checkable-checked):hover`]:{color:he.colorPrimary,backgroundColor:he.colorFillSecondary},"&:active, &-checked":{color:he.colorTextLightSolid},"&-checked":{backgroundColor:he.colorPrimary,"&:hover":{backgroundColor:he.colorPrimaryHover}},"&:active":{backgroundColor:he.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${he.iconCls} + span, > span + ${he.iconCls}`]:{marginInlineStart:ut}}),[`${Ne}-borderless`]:{borderColor:"transparent",background:he.tagBorderlessBg}}},Je=he=>{const{lineWidth:Te,fontSizeIcon:Ye}=he,bt=he.fontSizeSM,Ne=`${he.lineHeightSM*bt}px`;return(0,Ve.TS)(he,{tagFontSize:bt,tagLineHeight:Ne,tagIconSize:Ye-2*Te,tagPaddingHorizontal:8,tagBorderlessBg:he.colorFillTertiary})},le=he=>({defaultBg:he.colorFillQuaternary,defaultColor:he.colorText});var y=(0,Ue.Z)("Tag",he=>{const Te=Je(he);return tt(Te)},le),a=function(he,Te){var Ye={};for(var bt in he)Object.prototype.hasOwnProperty.call(he,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=he[bt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,bt=Object.getOwnPropertySymbols(he);Ne{const{prefixCls:Te,style:Ye,className:bt,checked:Ne,onChange:ut,onClick:Bt}=he,yt=a(he,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:gt,tag:Yt}=x.useContext(ct.E_),vt=qt=>{ut==null||ut(!Ne),Bt==null||Bt(qt)},rn=gt("tag",Te),[xn,nt]=y(rn),et=Me()(rn,`${rn}-checkable`,{[`${rn}-checkable-checked`]:Ne},Yt==null?void 0:Yt.className,bt,nt);return xn(x.createElement("span",Object.assign({},yt,{style:Object.assign(Object.assign({},Ye),Yt==null?void 0:Yt.style),className:et,onClick:vt})))},z=te(45157);const ne=he=>(0,z.Z)(he,(Te,Ye)=>{let{textColor:bt,lightBorderColor:Ne,lightColor:ut,darkColor:Bt}=Ye;return{[`${he.componentCls}-${Te}`]:{color:bt,background:ut,borderColor:Ne,"&-inverse":{color:he.colorTextLightSolid,background:Bt,borderColor:Bt},[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,Ue.b)(["Tag","preset"],he=>{const Te=Je(he);return ne(Te)},le);function ie(he){return typeof he!="string"?he:he.charAt(0).toUpperCase()+he.slice(1)}const me=(he,Te,Ye)=>{const bt=ie(Ye);return{[`${he.componentCls}-${Te}`]:{color:he[`color${Ye}`],background:he[`color${bt}Bg`],borderColor:he[`color${bt}Border`],[`&${he.componentCls}-borderless`]:{borderColor:"transparent"}}}};var pe=(0,Ue.b)(["Tag","status"],he=>{const Te=Je(he);return[me(Te,"success","Success"),me(Te,"processing","Info"),me(Te,"error","Error"),me(Te,"warning","Warning")]},le),ye=function(he,Te){var Ye={};for(var bt in he)Object.prototype.hasOwnProperty.call(he,bt)&&Te.indexOf(bt)<0&&(Ye[bt]=he[bt]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,bt=Object.getOwnPropertySymbols(he);Ne{const{prefixCls:Ye,className:bt,rootClassName:Ne,style:ut,children:Bt,icon:yt,color:gt,onClose:Yt,closeIcon:vt,closable:rn,bordered:xn=!0}=he,nt=ye(he,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:et,direction:qt,tag:hn}=x.useContext(ct.E_),[Zt,dn]=x.useState(!0);x.useEffect(()=>{"visible"in nt&&dn(nt.visible)},[nt.visible]);const We=(0,Le.o2)(gt),It=(0,Le.yT)(gt),Gt=We||It,Mt=Object.assign(Object.assign({backgroundColor:gt&&!Gt?gt:void 0},hn==null?void 0:hn.style),ut),ht=et("tag",Ye),[rt,ze]=y(ht),ve=Me()(ht,hn==null?void 0:hn.className,{[`${ht}-${gt}`]:Gt,[`${ht}-has-color`]:gt&&!Gt,[`${ht}-hidden`]:!Zt,[`${ht}-rtl`]:qt==="rtl",[`${ht}-borderless`]:!xn},bt,Ne,ze),fe=Xe=>{Xe.stopPropagation(),Yt==null||Yt(Xe),!Xe.defaultPrevented&&dn(!1)},[,qe]=(0,Oe.Z)(rn,vt,Xe=>Xe===null?x.createElement(ue.Z,{className:`${ht}-close-icon`,onClick:fe}):x.createElement("span",{className:`${ht}-close-icon`,onClick:fe},Xe),null,!1),Rt=typeof nt.onClick=="function"||Bt&&Bt.type==="a",Fe=yt||null,xe=Fe?x.createElement(x.Fragment,null,Fe,Bt&&x.createElement("span",null,Bt)):Bt,at=x.createElement("span",Object.assign({},nt,{ref:Te,className:ve,style:Mt}),xe,qe,We&&x.createElement(re,{key:"preset",prefixCls:ht}),It&&x.createElement(pe,{key:"status",prefixCls:ht}));return rt(Rt?x.createElement(se.Z,{component:"Tag"},at):at)},De=x.forwardRef(je);De.CheckableTag=E;var Qe=De},98228:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return wa}});var x=te(92310),ue=te.n(x),Be=te(92413),Me=te(26407),Le=te(33708),Oe=te(33606),se=te(37061),ct=te(39559),ot=te(77861),Ve=te(17115),Ue=te(90782),tt=te(18929),Je=te(48736),le=te(59301),y=function(en){var En=le.useRef({valueLabels:new Map});return le.useMemo(function(){var Mn=En.current.valueLabels,$n=new Map,Ze=en.map(function(Nt){var kt,Wt=Nt.value,tn=(kt=Nt.label)!==null&&kt!==void 0?kt:Mn.get(Wt);return $n.set(Wt,tn),(0,Le.Z)((0,Le.Z)({},Nt),{},{label:tn})});return En.current.valueLabels=$n,[Ze]},[en])},a=function(en,En,Mn,$n){return le.useMemo(function(){var Ze=en.map(function(tn){var Ht=tn.value;return Ht}),Nt=En.map(function(tn){var Ht=tn.value;return Ht}),kt=Ze.filter(function(tn){return!$n[tn]});if(Mn){var Wt=(0,Ue.S)(Ze,!0,$n);Ze=Wt.checkedKeys,Nt=Wt.halfCheckedKeys}return[Array.from(new Set([].concat((0,Me.Z)(kt),(0,Me.Z)(Ze)))),Nt]},[en,En,Mn,$n])},b=te(71430),E=function(en,En){return le.useMemo(function(){var Mn=(0,b.I8)(en,{fieldNames:En,initWrapper:function(Ze){return(0,Le.Z)((0,Le.Z)({},Ze),{},{valueEntities:new Map})},processEntity:function(Ze,Nt){var kt=Ze.node[En.value];if(0)var Wt;Nt.valueEntities.set(kt,Ze)}});return Mn},[en,En])},z=te(400),ne=te(11592),re=function(){return null},ie=re,me=["children","value"];function pe(en){return(0,ne.Z)(en).map(function(En){if(!le.isValidElement(En)||!En.type)return null;var Mn=En,$n=Mn.key,Ze=Mn.props,Nt=Ze.children,kt=Ze.value,Wt=(0,se.Z)(Ze,me),tn=(0,Le.Z)({key:$n,value:kt},Wt),Ht=pe(Nt);return Ht.length&&(tn.children=Ht),tn}).filter(function(En){return En})}function ye(en){if(!en)return en;var En=(0,Le.Z)({},en);return"props"in En||Object.defineProperty(En,"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."),En}}),En}function je(en,En,Mn,$n,Ze,Nt){var kt=null,Wt=null;function tn(){function Ht(mn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",Pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return mn.map(function(dt,ln){var Nn="".concat(st,"-").concat(ln),bn=dt[Nt.value],la=Mn.includes(bn),Hn=Ht(dt[Nt.children]||[],Nn,la),lt=le.createElement(ie,dt,Hn.map(function(Jn){return Jn.node}));if(En===bn&&(kt=lt),la){var $t={pos:Nn,node:lt,children:Hn};return Pt||Wt.push($t),$t}return null}).filter(function(dt){return dt})}Wt||(Wt=[],Ht($n),Wt.sort(function(mn,st){var Pt=mn.node.props.value,dt=st.node.props.value,ln=Mn.indexOf(Pt),Nn=Mn.indexOf(dt);return ln-Nn}))}Object.defineProperty(en,"triggerNode",{get:function(){return(0,Je.ZP)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),tn(),kt}}),Object.defineProperty(en,"allCheckedNodes",{get:function(){return(0,Je.ZP)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),tn(),Ze?Wt:Wt.map(function(mn){var st=mn.node;return st})}})}var De=function(en,En,Mn){var $n=Mn.treeNodeFilterProp,Ze=Mn.filterTreeNode,Nt=Mn.fieldNames,kt=Nt.children;return le.useMemo(function(){if(!En||Ze===!1)return en;var Wt;if(typeof Ze=="function")Wt=Ze;else{var tn=En.toUpperCase();Wt=function(st,Pt){var dt=Pt[$n];return String(dt).toUpperCase().includes(tn)}}function Ht(mn){var st=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return mn.reduce(function(Pt,dt){var ln=dt[kt],Nn=st||Wt(En,ye(dt)),bn=Ht(ln||[],Nn);return(Nn||bn.length)&&Pt.push((0,Le.Z)((0,Le.Z)({},dt),{},(0,z.Z)({isLeaf:void 0},kt,bn))),Pt},[])}return Ht(en)},[en,En,kt,$n,Ze])};function Qe(en){var En=le.useRef();En.current=en;var Mn=le.useCallback(function(){return En.current.apply(En,arguments)},[]);return Mn}function he(en,En){var Mn=En.id,$n=En.pId,Ze=En.rootPId,Nt={},kt=[],Wt=en.map(function(tn){var Ht=(0,Le.Z)({},tn),mn=Ht[Mn];return Nt[mn]=Ht,Ht.key=Ht.key||mn,Ht});return Wt.forEach(function(tn){var Ht=tn[$n],mn=Nt[Ht];mn&&(mn.children=mn.children||[],mn.children.push(tn)),(Ht===Ze||!mn&&Ze===null)&&kt.push(tn)}),kt}function Te(en,En,Mn){return le.useMemo(function(){return en?Mn?he(en,(0,Le.Z)({id:"id",pId:"pId",rootPId:null},Mn!==!0?Mn:{})):en:pe(En)},[En,Mn,en])}var Ye=le.createContext(null),bt=Ye,Ne=te(10228),ut=te(80547),Bt=te(23130),yt=le.createContext(null),gt=yt;function Yt(en){return Array.isArray(en)?en:en!==void 0?[en]:[]}function vt(en){var En=en||{},Mn=En.label,$n=En.value,Ze=En.children,Nt=$n||"value";return{_title:Mn?[Mn]:["title","label"],value:Nt,key:Nt,children:Ze||"children"}}function rn(en){return!en||en.disabled||en.disableCheckbox||en.checkable===!1}function xn(en,En){var Mn=[];function $n(Ze){Ze.forEach(function(Nt){var kt=Nt[En.children];kt&&(Mn.push(Nt[En.value]),$n(kt))})}return $n(en),Mn}function nt(en){return en==null}var et={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},qt=function(En,Mn){var $n=(0,ot.lk)(),Ze=$n.prefixCls,Nt=$n.multiple,kt=$n.searchValue,Wt=$n.toggleOpen,tn=$n.open,Ht=$n.notFoundContent,mn=le.useContext(gt),st=mn.virtual,Pt=mn.listHeight,dt=mn.listItemHeight,ln=mn.treeData,Nn=mn.fieldNames,bn=mn.onSelect,la=mn.dropdownMatchSelectWidth,Hn=mn.treeExpandAction,lt=le.useContext(bt),$t=lt.checkable,Jn=lt.checkedKeys,nn=lt.halfCheckedKeys,kn=lt.treeExpandedKeys,ea=lt.treeDefaultExpandAll,Ra=lt.treeDefaultExpandedKeys,va=lt.onTreeExpand,Ge=lt.treeIcon,gn=lt.showTreeIcon,Jt=lt.switcherIcon,yn=lt.treeLine,In=lt.treeNodeFilterProp,Zn=lt.loadData,An=lt.treeLoadedKeys,Dn=lt.treeMotion,Fa=lt.onTreeLoad,La=lt.keyEntities,fn=le.useRef(),Na=(0,ut.Z)(function(){return ln},[tn,ln],function(or,Lr){return Lr[0]&&or[1]!==Lr[1]}),Yn=le.useState(null),qa=(0,Oe.Z)(Yn,2),Ja=qa[0],Wn=qa[1],sa=La[Ja],ma=le.useMemo(function(){return $t?{checked:Jn,halfChecked:nn}:null},[$t,Jn,nn]);le.useEffect(function(){if(tn&&!Nt&&Jn.length){var or;(or=fn.current)===null||or===void 0||or.scrollTo({key:Jn[0]}),Wn(Jn[0])}},[tn]);var ra=String(kt).toLowerCase(),Ua=function(Lr){return ra?String(Lr[In]).toLowerCase().includes(ra):!1},rr=le.useState(Ra),Ga=(0,Oe.Z)(rr,2),za=Ga[0],lr=Ga[1],Vr=le.useState(null),Ir=(0,Oe.Z)(Vr,2),uo=Ir[0],yr=Ir[1],Sr=le.useMemo(function(){return kn?(0,Me.Z)(kn):kt?uo:za},[za,uo,kn,kt]);le.useEffect(function(){kt&&yr(xn(ln,Nn))},[kt]);var Ar=function(Lr){lr(Lr),yr(Lr),va&&va(Lr)},br=function(Lr){Lr.preventDefault()},Br=function(Lr,Or){var Cr=Or.node;$t&&rn(Cr)||(bn(Cr.key,{selected:!Jn.includes(Cr.key)}),Nt||Wt(!1))};if(le.useImperativeHandle(Mn,function(){var or;return{scrollTo:(or=fn.current)===null||or===void 0?void 0:or.scrollTo,onKeyDown:function(Or){var Cr,$r=Or.which;switch($r){case Ne.Z.UP:case Ne.Z.DOWN:case Ne.Z.LEFT:case Ne.Z.RIGHT:(Cr=fn.current)===null||Cr===void 0||Cr.onKeyDown(Or);break;case Ne.Z.ENTER:{if(sa){var jr=(sa==null?void 0:sa.node)||{},Xa=jr.selectable,wr=jr.value;Xa!==!1&&Br(null,{node:{key:Ja},selected:!Jn.includes(wr)})}break}case Ne.Z.ESC:Wt(!1)}},onKeyUp:function(){}}}),Na.length===0)return le.createElement("div",{role:"listbox",className:"".concat(Ze,"-empty"),onMouseDown:br},Ht);var Ta={fieldNames:Nn};return An&&(Ta.loadedKeys=An),Sr&&(Ta.expandedKeys=Sr),le.createElement("div",{onMouseDown:br},sa&&tn&&le.createElement("span",{style:et,"aria-live":"assertive"},sa.node.value),le.createElement(Bt.Z,(0,Be.Z)({ref:fn,focusable:!1,prefixCls:"".concat(Ze,"-tree"),treeData:Na,height:Pt,itemHeight:dt,virtual:st!==!1&&la!==!1,multiple:Nt,icon:Ge,showIcon:gn,switcherIcon:Jt,showLine:yn,loadData:kt?null:Zn,motion:Dn,activeKey:Ja,checkable:$t,checkStrictly:!0,checkedKeys:ma,selectedKeys:$t?[]:Jn,defaultExpandAll:ea},Ta,{onActiveChange:Wn,onSelect:Br,onCheck:Br,onExpand:Ar,onLoad:Fa,filterTreeNode:Ua,expandAction:Hn})))},hn=le.forwardRef(qt);hn.displayName="OptionList";var Zt=hn,dn="SHOW_ALL",We="SHOW_PARENT",It="SHOW_CHILD";function Gt(en,En,Mn,$n){var Ze=new Set(en);return En===It?en.filter(function(Nt){var kt=Mn[Nt];return!(kt&&kt.children&&kt.children.some(function(Wt){var tn=Wt.node;return Ze.has(tn[$n.value])})&&kt.children.every(function(Wt){var tn=Wt.node;return rn(tn)||Ze.has(tn[$n.value])}))}):En===We?en.filter(function(Nt){var kt=Mn[Nt],Wt=kt?kt.parent:null;return!(Wt&&!rn(Wt.node)&&Ze.has(Wt.key))}):en}function Mt(en){var En=en.searchPlaceholder,Mn=en.treeCheckStrictly,$n=en.treeCheckable,Ze=en.labelInValue,Nt=en.value,kt=en.multiple;warning(!En,"`searchPlaceholder` has been removed."),Mn&&Ze===!1&&warning(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(Ze||Mn)&&warning(toArray(Nt).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."),Mn||kt||$n?warning(!Nt||Array.isArray(Nt),"`value` should be an array when `TreeSelect` is checkable or multiple."):warning(!Array.isArray(Nt),"`value` should not be array when `TreeSelect` is single mode.")}var ht=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 ze(en){return!en||(0,ct.Z)(en)!=="object"}var ve=le.forwardRef(function(en,En){var Mn=en.id,$n=en.prefixCls,Ze=$n===void 0?"rc-tree-select":$n,Nt=en.value,kt=en.defaultValue,Wt=en.onChange,tn=en.onSelect,Ht=en.onDeselect,mn=en.searchValue,st=en.inputValue,Pt=en.onSearch,dt=en.autoClearSearchValue,ln=dt===void 0?!0:dt,Nn=en.filterTreeNode,bn=en.treeNodeFilterProp,la=bn===void 0?"value":bn,Hn=en.showCheckedStrategy,lt=en.treeNodeLabelProp,$t=en.multiple,Jn=en.treeCheckable,nn=en.treeCheckStrictly,kn=en.labelInValue,ea=en.fieldNames,Ra=en.treeDataSimpleMode,va=en.treeData,Ge=en.children,gn=en.loadData,Jt=en.treeLoadedKeys,yn=en.onTreeLoad,In=en.treeDefaultExpandAll,Zn=en.treeExpandedKeys,An=en.treeDefaultExpandedKeys,Dn=en.onTreeExpand,Fa=en.treeExpandAction,La=en.virtual,fn=en.listHeight,Na=fn===void 0?200:fn,Yn=en.listItemHeight,qa=Yn===void 0?20:Yn,Ja=en.onDropdownVisibleChange,Wn=en.dropdownMatchSelectWidth,sa=Wn===void 0?!0:Wn,ma=en.treeLine,ra=en.treeIcon,Ua=en.showTreeIcon,rr=en.switcherIcon,Ga=en.treeMotion,za=(0,se.Z)(en,rt),lr=(0,Ve.ZP)(Mn),Vr=Jn&&!nn,Ir=Jn||nn,uo=nn||kn,yr=Ir||$t,Sr=(0,tt.Z)(kt,{value:Nt}),Ar=(0,Oe.Z)(Sr,2),br=Ar[0],Br=Ar[1],Ta=le.useMemo(function(){return Jn?Hn||It:dn},[Hn,Jn]),or=le.useMemo(function(){return vt(ea)},[JSON.stringify(ea)]),Lr=(0,tt.Z)("",{value:mn!==void 0?mn:st,postState:function(ca){return ca||""}}),Or=(0,Oe.Z)(Lr,2),Cr=Or[0],$r=Or[1],jr=function(ca){$r(ca),Pt==null||Pt(ca)},Xa=Te(va,Ge,Ra),wr=E(Xa,or),pr=wr.keyEntities,Qr=wr.valueEntities,no=le.useCallback(function(Xn){var ca=[],pa=[];return Xn.forEach(function(Va){Qr.has(Va)?pa.push(Va):ca.push(Va)}),{missingRawValues:ca,existRawValues:pa}},[Qr]),Bo=De(Xa,Cr,{fieldNames:or,treeNodeFilterProp:la,filterTreeNode:Nn}),To=le.useCallback(function(Xn){if(Xn){if(lt)return Xn[lt];for(var ca=or._title,pa=0;pa{const{componentCls:En,treePrefixCls:Mn,colorBgElevated:$n}=en,Ze=`.${Mn}`;return[{[`${En}-dropdown`]:[{padding:`${en.paddingXS}px ${en.paddingXS/2}px`},(0,Sn.Yk)(Mn,(0,pn.TS)(en,{colorBgContainer:$n})),{[Ze]:{borderRadius:0,[`${Ze}-list-holder-inner`]:{alignItems:"stretch",[`${Ze}-treenode`]:{[`${Ze}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Dt.C2)(`${Mn}-checkbox`,en),{"&-rtl":{direction:"rtl",[`${Ze}-switcher${Ze}-switcher_close`]:{[`${Ze}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function na(en,En){return(0,Pn.Z)("TreeSelect",Mn=>{const $n=(0,pn.TS)(Mn,{treePrefixCls:En});return[Rn($n)]},Sn.TM)(en)}var aa=function(en,En){var Mn={};for(var $n in en)Object.prototype.hasOwnProperty.call(en,$n)&&En.indexOf($n)<0&&(Mn[$n]=en[$n]);if(en!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,$n=Object.getOwnPropertySymbols(en);Ze<$n.length;Ze++)En.indexOf($n[Ze])<0&&Object.prototype.propertyIsEnumerable.call(en,$n[Ze])&&(Mn[$n[Ze]]=en[$n[Ze]]);return Mn};const zn=(en,En)=>{var Mn,{prefixCls:$n,size:Ze,disabled:Nt,bordered:kt=!0,className:Wt,rootClassName:tn,treeCheckable:Ht,multiple:mn,listHeight:st=256,listItemHeight:Pt=26,placement:dt,notFoundContent:ln,switcherIcon:Nn,treeLine:bn,getPopupContainer:la,popupClassName:Hn,dropdownClassName:lt,treeIcon:$t=!1,transitionName:Jn,choiceTransitionName:nn="",status:kn,treeExpandAction:ea,builtinPlacements:Ra,dropdownMatchSelectWidth:va,popupMatchSelectWidth:Ge,allowClear:gn}=en,Jt=aa(en,["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:yn,getPrefixCls:In,renderEmpty:Zn,direction:An,virtual:Dn,popupMatchSelectWidth:Fa,popupOverflow:La}=le.useContext(Ae.E_),fn=In(),Na=In("select",$n),Yn=In("select-tree",$n),qa=In("tree-select",$n),{compactSize:Ja,compactItemClassnames:Wn}=(0,Lt.ri)(Na,An),[sa,ma]=(0,on.Z)(Na),[ra]=na(qa,Yn),Ua=ue()(Hn||lt,`${qa}-dropdown`,{[`${qa}-dropdown-rtl`]:An==="rtl"},tn,ma),rr=!!(Ht||mn),Ga=(0,_e.Z)(Jt.suffixIcon,Jt.showArrow),za=(Mn=Ge!=null?Ge:va)!==null&&Mn!==void 0?Mn:Fa,{status:lr,hasFeedback:Vr,isFormItemInput:Ir,feedbackIcon:uo}=le.useContext(jt.aM),yr=(0,Xe.F)(lr,kn),{suffixIcon:Sr,removeIcon:Ar,clearIcon:br}=(0,Ft.Z)(Object.assign(Object.assign({},Jt),{multiple:rr,showSuffixIcon:Ga,hasFeedback:Vr,feedbackIcon:uo,prefixCls:Na,componentName:"TreeSelect"})),Br=gn===!0?{clearIcon:br}:gn;let Ta;ln!==void 0?Ta=ln:Ta=(Zn==null?void 0:Zn("Select"))||le.createElement(vn.Z,{componentName:"Select"});const or=(0,Fe.Z)(Jt,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Lr=le.useMemo(()=>dt!==void 0?dt:An==="rtl"?"bottomRight":"bottomLeft",[dt,An]),Or=(0,cn.Z)(Ra,La),Cr=(0,Qt.Z)(Qr=>{var no;return(no=Ze!=null?Ze:Ja)!==null&&no!==void 0?no:Qr}),$r=le.useContext(ft.Z),jr=Nt!=null?Nt:$r,Xa=ue()(!$n&&qa,{[`${Na}-lg`]:Cr==="large",[`${Na}-sm`]:Cr==="small",[`${Na}-rtl`]:An==="rtl",[`${Na}-borderless`]:!kt,[`${Na}-in-form-item`]:Ir},(0,Xe.Z)(Na,yr,Vr),Wn,Wt,tn,ma),wr=Qr=>le.createElement(St.Z,{prefixCls:Yn,switcherIcon:Nn,treeNodeProps:Qr,showLine:bn}),pr=le.createElement(Rt,Object.assign({virtual:Dn,disabled:jr},or,{dropdownMatchSelectWidth:za,builtinPlacements:Or,ref:En,prefixCls:Na,className:Xa,listHeight:st,listItemHeight:Pt,treeCheckable:Ht&&le.createElement("span",{className:`${Na}-tree-checkbox-inner`}),treeLine:!!bn,suffixIcon:Sr,multiple:rr,placement:Lr,removeIcon:Ar,allowClear:Br,switcherIcon:wr,showTreeIcon:$t,notFoundContent:Ta,getPopupContainer:la||yn,treeMotion:null,dropdownClassName:Ua,choiceTransitionName:(0,at.m)(fn,"",nn),transitionName:(0,at.m)(fn,"slide-up",Jn),treeExpandAction:ea}));return sa(ra(pr))},Ea=le.forwardRef(zn),_n=(0,xe.Z)(Ea);Ea.TreeNode=ie,Ea.SHOW_ALL=dn,Ea.SHOW_PARENT=We,Ea.SHOW_CHILD=It,Ea._InternalPanelDoNotUseOrYouWillBeFired=_n;var wa=Ea},17574:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return gt}});var x=te(23130),ue=te(26407),Be=te(52671),Me=te(8657),Le=te(92413),Oe=te(59301),se={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"},ct=se,ot=te(7657),Ve=function(vt,rn){return Oe.createElement(ot.Z,(0,Le.Z)({},vt,{ref:rn,icon:ct}))},Ue=Oe.forwardRef(Ve),tt=Ue,Je=te(92310),le=te.n(Je),y=te(35654),a=te(71430),b=te(36355),E=te(56082),z=te(62892),ne=te(20648);const re=4;function ie(Yt){const{dropPosition:vt,dropLevelOffset:rn,prefixCls:xn,indent:nt,direction:et="ltr"}=Yt,qt=et==="ltr"?"left":"right",hn=et==="ltr"?"right":"left",Zt={[qt]:-rn*nt+re,[hn]:0};switch(vt){case-1:Zt.top=-3;break;case 1:Zt.bottom=-3;break;default:Zt.bottom=-3,Zt[qt]=nt+re;break}return Oe.createElement("div",{style:Zt,className:`${xn}-drop-indicator`})}var me=te(71997),ye=Oe.forwardRef((Yt,vt)=>{const{getPrefixCls:rn,direction:xn,virtual:nt,tree:et}=Oe.useContext(b.E_),{prefixCls:qt,className:hn,showIcon:Zt=!1,showLine:dn,switcherIcon:We,blockNode:It=!1,children:Gt,checkable:Mt=!1,selectable:ht=!0,draggable:rt,motion:ze,style:ve}=Yt,fe=rn("tree",qt),qe=rn(),Rt=ze!=null?ze:Object.assign(Object.assign({},(0,z.Z)(qe)),{motionAppear:!1}),Fe=Object.assign(Object.assign({},Yt),{checkable:Mt,selectable:ht,showIcon:Zt,motion:Rt,blockNode:It,showLine:!!dn,dropIndicatorRender:ie}),[xe,at]=(0,ne.ZP)(fe),Xe=Oe.useMemo(()=>{if(!rt)return!1;let ft={};switch(typeof rt){case"function":ft.nodeDraggable=rt;break;case"object":ft=Object.assign({},rt);break;default:break}return ft.icon!==!1&&(ft.icon=ft.icon||Oe.createElement(E.Z,null)),ft},[rt]),Ae=ft=>Oe.createElement(me.Z,{prefixCls:fe,switcherIcon:We,treeNodeProps:ft,showLine:dn});return xe(Oe.createElement(x.Z,Object.assign({itemHeight:20,ref:vt,virtual:nt},Fe,{style:Object.assign(Object.assign({},et==null?void 0:et.style),ve),prefixCls:fe,className:le()({[`${fe}-icon-hide`]:!Zt,[`${fe}-block-node`]:It,[`${fe}-unselectable`]:!ht,[`${fe}-rtl`]:xn==="rtl"},et==null?void 0:et.className,hn,at),direction:xn,checkable:Mt&&Oe.createElement("span",{className:`${fe}-checkbox-inner`}),selectable:ht,switcherIcon:Ae,draggable:Xe}),Gt))}),je;(function(Yt){Yt[Yt.None=0]="None",Yt[Yt.Start=1]="Start",Yt[Yt.End=2]="End"})(je||(je={}));function De(Yt,vt){function rn(xn){const{key:nt,children:et}=xn;vt(nt,xn)!==!1&&De(et||[],vt)}Yt.forEach(rn)}function Qe(Yt){let{treeData:vt,expandedKeys:rn,startKey:xn,endKey:nt}=Yt;const et=[];let qt=je.None;if(xn&&xn===nt)return[xn];if(!xn||!nt)return[];function hn(Zt){return Zt===xn||Zt===nt}return De(vt,Zt=>{if(qt===je.End)return!1;if(hn(Zt)){if(et.push(Zt),qt===je.None)qt=je.Start;else if(qt===je.Start)return qt=je.End,!1}else qt===je.Start&&et.push(Zt);return rn.includes(Zt)}),et}function he(Yt,vt){const rn=(0,ue.Z)(vt),xn=[];return De(Yt,(nt,et)=>{const qt=rn.indexOf(nt);return qt!==-1&&(xn.push(et),rn.splice(qt,1)),!!rn.length}),xn}var Te=function(Yt,vt){var rn={};for(var xn in Yt)Object.prototype.hasOwnProperty.call(Yt,xn)&&vt.indexOf(xn)<0&&(rn[xn]=Yt[xn]);if(Yt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,xn=Object.getOwnPropertySymbols(Yt);nt{var{defaultExpandAll:rn,defaultExpandParent:xn,defaultExpandedKeys:nt}=Yt,et=Te(Yt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const qt=Oe.useRef(),hn=Oe.useRef(),Zt=()=>{const{keyEntities:Xe}=(0,a.I8)(bt(et));let Ae;return rn?Ae=Object.keys(Xe):xn?Ae=(0,y.r7)(et.expandedKeys||nt||[],Xe):Ae=et.expandedKeys||nt,Ae},[dn,We]=Oe.useState(et.selectedKeys||et.defaultSelectedKeys||[]),[It,Gt]=Oe.useState(()=>Zt());Oe.useEffect(()=>{"selectedKeys"in et&&We(et.selectedKeys)},[et.selectedKeys]),Oe.useEffect(()=>{"expandedKeys"in et&&Gt(et.expandedKeys)},[et.expandedKeys]);const Mt=(Xe,Ae)=>{var ft;return"expandedKeys"in et||Gt(Xe),(ft=et.onExpand)===null||ft===void 0?void 0:ft.call(et,Xe,Ae)},ht=(Xe,Ae)=>{var ft;const{multiple:vn}=et,{node:Qt,nativeEvent:jt}=Ae,{key:on=""}=Qt,cn=bt(et),_e=Object.assign(Object.assign({},Ae),{selected:!0}),Ft=(jt==null?void 0:jt.ctrlKey)||(jt==null?void 0:jt.metaKey),Lt=jt==null?void 0:jt.shiftKey;let St;vn&&Ft?(St=Xe,qt.current=on,hn.current=St,_e.selectedNodes=he(cn,St)):vn&&Lt?(St=Array.from(new Set([].concat((0,ue.Z)(hn.current||[]),(0,ue.Z)(Qe({treeData:cn,expandedKeys:It,startKey:on,endKey:qt.current}))))),_e.selectedNodes=he(cn,St)):(St=[on],qt.current=on,hn.current=St,_e.selectedNodes=he(cn,St)),(ft=et.onSelect)===null||ft===void 0||ft.call(et,St,_e),"selectedKeys"in et||We(St)},{getPrefixCls:rt,direction:ze}=Oe.useContext(b.E_),{prefixCls:ve,className:fe,showIcon:qe=!0,expandAction:Rt="click"}=et,Fe=Te(et,["prefixCls","className","showIcon","expandAction"]),xe=rt("tree",ve),at=le()(`${xe}-directory`,{[`${xe}-directory-rtl`]:ze==="rtl"},fe);return Oe.createElement(ye,Object.assign({icon:Ye,ref:vt,blockNode:!0},Fe,{showIcon:qe,expandAction:Rt,prefixCls:xe,className:at,expandedKeys:It,selectedKeys:dn,onSelect:ht,onExpand:Mt}))};var Bt=Oe.forwardRef(Ne);const yt=ye;yt.DirectoryTree=Bt,yt.TreeNode=x.O;var gt=yt},20648:function(Ut,Kt,te){"use strict";te.d(Kt,{TM:function(){return Je},Yk:function(){return tt}});var x=te(93083),ue=te(98447),Be=te(17313),Me=te(8378),Le=te(37613),Oe=te(83116);const se=new x.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ct=(le,y)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),ot=(le,y)=>({[`.${le}-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:'""'}}}),Ve=(le,y)=>{const{treeCls:a,treeNodeCls:b,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"},[`${b}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:se,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${b}`]:{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(${b}-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}`,[`${b}:hover &`]:{opacity:.45}},[`&${b}-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({},ct(le,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(le,y)),[`${b}.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"}}},[`${b}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},Ue=le=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:b,directoryNodeSelectedBg:E,directoryNodeSelectedColor:z}=le;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${le.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=(le,y)=>{const a=`.${le}`,b=`${a}-treenode`,E=y.paddingXS/2,z=(0,Le.TS)(y,{treeCls:a,treeNodeCls:b,treeNodePadding:E});return[Ve(le,z),Ue(z)]},Je=le=>{const{controlHeightSM:y}=le;return{titleHeight:y,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};Kt.ZP=(0,Oe.Z)("Tree",(le,y)=>{let{prefixCls:a}=y;return[{[le.componentCls]:(0,ue.C2)(`${a}-checkbox`,le)},tt(a,le),(0,Me.Z)(le)]},le=>{const{colorTextLightSolid:y,colorPrimary:a}=le;return Object.assign(Object.assign({},Je(le)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return b}});var x=te(92413),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"},Me=Be,Le=te(7657),Oe=function(z,ne){return ue.createElement(Le.Z,(0,x.Z)({},z,{ref:ne,icon:Me}))},se=ue.forwardRef(Oe),ct=se,ot=te(52671),Ve=te(58617),Ue=te(15075),tt=te(43531),Je=te(92310),le=te.n(Je),y=te(92343),b=E=>{const{prefixCls:z,switcherIcon:ne,treeNodeProps:re,showLine:ie}=E,{isLeaf:me,expanded:pe,loading:ye}=re;if(ye)return ue.createElement(Ve.Z,{className:`${z}-switcher-loading-icon`});let je;if(ie&&typeof ie=="object"&&(je=ie.showLeafIcon),me){if(!ie)return null;if(typeof je!="boolean"&&je){const he=typeof je=="function"?je(re):je,Te=`${z}-switcher-line-custom-icon`;return(0,y.l$)(he)?(0,y.Tm)(he,{className:le()(he.props.className||"",Te)}):he}return je?ue.createElement(ot.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const De=`${z}-switcher-icon`,Qe=typeof ne=="function"?ne(re):ne;return(0,y.l$)(Qe)?(0,y.Tm)(Qe,{className:le()(Qe.props.className||"",De)}):Qe!==void 0?Qe:ie?pe?ue.createElement(Ue.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(tt.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(ct,{className:De})}},54580:function(Ut,Kt,te){"use strict";te.d(Kt,{default:function(){return va}});var x=te(59301),ue=te(26407),Be=te(92310),Me=te.n(Be),Le=te(92413),Oe=te(6909),se=te(4771),ct=te(9427),ot=te(25440),Ve=te(400),Ue=te(37061),tt=te(85195),Je=te(39559),le=te(20569),y=te(26112);function a(Ge,gn){var Jt="cannot ".concat(Ge.method," ").concat(Ge.action," ").concat(gn.status,"'"),yn=new Error(Jt);return yn.status=gn.status,yn.method=Ge.method,yn.url=Ge.action,yn}function b(Ge){var gn=Ge.responseText||Ge.response;if(!gn)return gn;try{return JSON.parse(gn)}catch(Jt){return gn}}function E(Ge){var gn=new XMLHttpRequest;Ge.onProgress&&gn.upload&&(gn.upload.onprogress=function(Zn){Zn.total>0&&(Zn.percent=Zn.loaded/Zn.total*100),Ge.onProgress(Zn)});var Jt=new FormData;Ge.data&&Object.keys(Ge.data).forEach(function(In){var Zn=Ge.data[In];if(Array.isArray(Zn)){Zn.forEach(function(An){Jt.append("".concat(In,"[]"),An)});return}Jt.append(In,Zn)}),Ge.file instanceof Blob?Jt.append(Ge.filename,Ge.file,Ge.file.name):Jt.append(Ge.filename,Ge.file),gn.onerror=function(Zn){Ge.onError(Zn)},gn.onload=function(){return gn.status<200||gn.status>=300?Ge.onError(a(Ge,gn),b(gn)):Ge.onSuccess(b(gn),gn)},gn.open(Ge.method,Ge.action,!0),Ge.withCredentials&&"withCredentials"in gn&&(gn.withCredentials=!0);var yn=Ge.headers||{};return yn["X-Requested-With"]!==null&&gn.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(yn).forEach(function(In){yn[In]!==null&&gn.setRequestHeader(In,yn[In])}),gn.send(Jt),{abort:function(){gn.abort()}}}var z=+new Date,ne=0;function re(){return"rc-upload-".concat(z,"-").concat(++ne)}var ie=te(48736),me=function(Ge,gn){if(Ge&&gn){var Jt=Array.isArray(gn)?gn:gn.split(","),yn=Ge.name||"",In=Ge.type||"",Zn=In.replace(/\/.*$/,"");return Jt.some(function(An){var Dn=An.trim();if(/^\*(\/\*)?$/.test(An))return!0;if(Dn.charAt(0)==="."){var Fa=yn.toLowerCase(),La=Dn.toLowerCase(),fn=[La];return(La===".jpg"||La===".jpeg")&&(fn=[".jpg",".jpeg"]),fn.some(function(Na){return Fa.endsWith(Na)})}return/\/\*$/.test(Dn)?Zn===Dn.replace(/\/.*$/,""):In===Dn?!0:/^\w+$/.test(Dn)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Dn,"'.Skip for check.")),!0):!1})}return!0};function pe(Ge,gn){var Jt=Ge.createReader(),yn=[];function In(){Jt.readEntries(function(Zn){var An=Array.prototype.slice.apply(Zn);yn=yn.concat(An);var Dn=!An.length;Dn?gn(yn):In()})}In()}var ye=function(gn,Jt,yn){var In=function Zn(An,Dn){An&&(An.path=Dn||"",An.isFile?An.file(function(Fa){yn(Fa)&&(An.fullPath&&!Fa.webkitRelativePath&&(Object.defineProperties(Fa,{webkitRelativePath:{writable:!0}}),Fa.webkitRelativePath=An.fullPath.replace(/^\//,""),Object.defineProperties(Fa,{webkitRelativePath:{writable:!1}})),Jt([Fa]))}):An.isDirectory&&pe(An,function(Fa){Fa.forEach(function(La){Zn(La,"".concat(Dn).concat(An.name,"/"))})}))};gn.forEach(function(Zn){In(Zn.webkitGetAsEntry())})},je=ye,De=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Qe=function(Ge){(0,ct.Z)(Jt,Ge);var gn=(0,ot.Z)(Jt);function Jt(){var yn;(0,Oe.Z)(this,Jt);for(var In=arguments.length,Zn=new Array(In),An=0;An{let{uid:Zn}=In;return Zn===Ge.uid});return yn===-1?Jt.push(Ge):Jt[yn]=Ge,Jt}function ft(Ge,gn){const Jt=Ge.uid!==void 0?"uid":"name";return gn.filter(yn=>yn[Jt]===Ge[Jt])[0]}function vn(Ge,gn){const Jt=Ge.uid!==void 0?"uid":"name",yn=gn.filter(In=>In[Jt]!==Ge[Jt]);return yn.length===gn.length?null:yn}const Qt=function(){const gn=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),yn=gn[gn.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(yn)||[""])[0]},jt=Ge=>Ge.indexOf("image/")===0,on=Ge=>{if(Ge.type&&!Ge.thumbUrl)return jt(Ge.type);const gn=Ge.thumbUrl||Ge.url||"",Jt=Qt(gn);return/^data:image\//.test(gn)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Jt)?!0:!(/^data:/.test(gn)||Jt)},cn=200;function _e(Ge){return new Promise(gn=>{if(!Ge.type||!jt(Ge.type)){gn("");return}const Jt=document.createElement("canvas");Jt.width=cn,Jt.height=cn,Jt.style.cssText=`position: fixed; left: 0; top: 0; width: ${cn}px; height: ${cn}px; z-index: 9999; display: none;`,document.body.appendChild(Jt);const yn=Jt.getContext("2d"),In=new Image;if(In.onload=()=>{const{width:Zn,height:An}=In;let Dn=cn,Fa=cn,La=0,fn=0;Zn>An?(Fa=An*(cn/Zn),fn=-(Fa-Dn)/2):(Dn=Zn*(cn/An),La=-(Dn-Fa)/2),yn.drawImage(In,La,fn,Dn,Fa);const Na=Jt.toDataURL();document.body.removeChild(Jt),window.URL.revokeObjectURL(In.src),gn(Na)},In.crossOrigin="anonymous",Ge.type.startsWith("image/svg+xml")){const Zn=new FileReader;Zn.onload=()=>{Zn.result&&(In.src=Zn.result)},Zn.readAsDataURL(Ge)}else if(Ge.type.startsWith("image/gif")){const Zn=new FileReader;Zn.onload=()=>{Zn.result&&gn(Zn.result)},Zn.readAsDataURL(Ge)}else In.src=window.URL.createObjectURL(Ge)})}var Ft=te(26227),Lt=te(41464),St=te(15277),Dt=te(93948),pn=te(6848),Sn=x.forwardRef((Ge,gn)=>{let{prefixCls:Jt,className:yn,style:In,locale:Zn,listType:An,file:Dn,items:Fa,progress:La,iconRender:fn,actionIconRender:Na,itemRender:Yn,isImgUrl:qa,showPreviewIcon:Ja,showRemoveIcon:Wn,showDownloadIcon:sa,previewIcon:ma,removeIcon:ra,downloadIcon:Ua,onPreview:rr,onDownload:Ga,onClose:za}=Ge;var lr,Vr;const{status:Ir}=Dn,[uo,yr]=x.useState(Ir);x.useEffect(()=>{Ir!=="removed"&&yr(Ir)},[Ir]);const[Sr,Ar]=x.useState(!1);x.useEffect(()=>{const Dr=setTimeout(()=>{Ar(!0)},300);return()=>{clearTimeout(Dr)}},[]);const br=fn(Dn);let Br=x.createElement("div",{className:`${Jt}-icon`},br);if(An==="picture"||An==="picture-card"||An==="picture-circle")if(uo==="uploading"||!Dn.thumbUrl&&!Dn.url){const Dr=Me()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:uo!=="uploading"});Br=x.createElement("div",{className:Dr},br)}else{const Dr=qa!=null&&qa(Dn)?x.createElement("img",{src:Dn.thumbUrl||Dn.url,alt:Dn.name,className:`${Jt}-list-item-image`,crossOrigin:Dn.crossOrigin}):br,Yr=Me()(`${Jt}-list-item-thumbnail`,{[`${Jt}-list-item-file`]:qa&&!qa(Dn)});Br=x.createElement("a",{className:Yr,onClick:Po=>rr(Dn,Po),href:Dn.url||Dn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Dr)}const Ta=Me()(`${Jt}-list-item`,`${Jt}-list-item-${uo}`),or=typeof Dn.linkProps=="string"?JSON.parse(Dn.linkProps):Dn.linkProps,Lr=Wn?Na((typeof ra=="function"?ra(Dn):ra)||x.createElement(Ft.Z,null),()=>za(Dn),Jt,Zn.removeFile):null,Or=sa&&uo==="done"?Na((typeof Ua=="function"?Ua(Dn):Ua)||x.createElement(Lt.Z,null),()=>Ga(Dn),Jt,Zn.downloadFile):null,Cr=An!=="picture-card"&&An!=="picture-circle"&&x.createElement("span",{key:"download-delete",className:Me()(`${Jt}-list-item-actions`,{picture:An==="picture"})},Or,Lr),$r=Me()(`${Jt}-list-item-name`),jr=Dn.url?[x.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:$r,title:Dn.name},or,{href:Dn.url,onClick:Dr=>rr(Dn,Dr)}),Dn.name),Cr]:[x.createElement("span",{key:"view",className:$r,onClick:Dr=>rr(Dn,Dr),title:Dn.name},Dn.name),Cr],Xa={pointerEvents:"none",opacity:.5},wr=Ja?x.createElement("a",{href:Dn.url||Dn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Dn.url||Dn.thumbUrl?void 0:Xa,onClick:Dr=>rr(Dn,Dr),title:Zn.previewFile},typeof ma=="function"?ma(Dn):ma||x.createElement(St.Z,null)):null,pr=(An==="picture-card"||An==="picture-circle")&&uo!=="uploading"&&x.createElement("span",{className:`${Jt}-list-item-actions`},wr,uo==="done"&&Or,Lr),{getPrefixCls:Qr}=x.useContext(yt.E_),no=Qr(),Bo=x.createElement("div",{className:Ta},Br,jr,pr,Sr&&x.createElement(qe.default,{motionName:`${no}-fade`,visible:uo==="uploading",motionDeadline:2e3},Dr=>{let{className:Yr}=Dr;const Po="percent"in Dn?x.createElement(Dt.Z,Object.assign({},La,{type:"line",percent:Dn.percent,"aria-label":Dn["aria-label"],"aria-labelledby":Dn["aria-labelledby"]})):null;return x.createElement("div",{className:Me()(`${Jt}-list-item-progress`,Yr)},Po)})),To=Dn.response&&typeof Dn.response=="string"?Dn.response:((lr=Dn.error)===null||lr===void 0?void 0:lr.statusText)||((Vr=Dn.error)===null||Vr===void 0?void 0:Vr.message)||Zn.uploadError,ko=uo==="error"?x.createElement(pn.Z,{title:To,getPopupContainer:Dr=>Dr.parentNode},Bo):Bo;return x.createElement("div",{className:Me()(`${Jt}-list-item-container`,yn),style:In,ref:gn},Yn?Yn(ko,Dn,Fa,{download:Ga.bind(null,Dn),preview:rr.bind(null,Dn),remove:za.bind(null,Dn)}):ko)});const Rn=(Ge,gn)=>{const{listType:Jt="text",previewFile:yn=_e,onPreview:In,onDownload:Zn,onRemove:An,locale:Dn,iconRender:Fa,isImageUrl:La=on,prefixCls:fn,items:Na=[],showPreviewIcon:Yn=!0,showRemoveIcon:qa=!0,showDownloadIcon:Ja=!1,removeIcon:Wn,previewIcon:sa,downloadIcon:ma,progress:ra={size:[-1,2],showInfo:!1},appendAction:Ua,appendActionVisible:rr=!0,itemRender:Ga,disabled:za}=Ge,lr=(0,Rt.Z)(),[Vr,Ir]=x.useState(!1);x.useEffect(()=>{Jt!=="picture"&&Jt!=="picture-card"&&Jt!=="picture-circle"||(Na||[]).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="",yn&&yn(Xa.originFileObj).then(wr=>{Xa.thumbUrl=wr||"",lr()}))})},[Jt,Na,yn]),x.useEffect(()=>{Ir(!0)},[]);const uo=(Xa,wr)=>{if(In)return wr==null||wr.preventDefault(),In(Xa)},yr=Xa=>{typeof Zn=="function"?Zn(Xa):Xa.url&&window.open(Xa.url)},Sr=Xa=>{An==null||An(Xa)},Ar=Xa=>{if(Fa)return Fa(Xa,Jt);const wr=Xa.status==="uploading",pr=La&&La(Xa)?x.createElement(fe,null):x.createElement(hn,null);let Qr=wr?x.createElement(Zt.Z,null):x.createElement(Mt,null);return Jt==="picture"?Qr=wr?x.createElement(Zt.Z,null):pr:(Jt==="picture-card"||Jt==="picture-circle")&&(Qr=wr?Dn.uploading:pr),Qr},br=(Xa,wr,pr,Qr)=>{const no={type:"text",size:"small",title:Qr,onClick:Bo=>{wr(),(0,xe.l$)(Xa)&&Xa.props.onClick&&Xa.props.onClick(Bo)},className:`${pr}-list-item-action`,disabled:za};if((0,xe.l$)(Xa)){const Bo=(0,xe.Tm)(Xa,Object.assign(Object.assign({},Xa.props),{onClick:()=>{}}));return x.createElement(at.ZP,Object.assign({},no,{icon:Bo}))}return x.createElement(at.ZP,Object.assign({},no),x.createElement("span",null,Xa))};x.useImperativeHandle(gn,()=>({handlePreview:uo,handleDownload:yr}));const{getPrefixCls:Br}=x.useContext(yt.E_),Ta=Br("upload",fn),or=Br(),Lr=Me()(`${Ta}-list`,`${Ta}-list-${Jt}`),Or=(0,ue.Z)(Na.map(Xa=>({key:Xa.uid,file:Xa})));let $r={motionDeadline:2e3,motionName:`${Ta}-${Jt==="picture-card"||Jt==="picture-circle"?"animate-inline":"animate"}`,keys:Or,motionAppear:Vr};const jr=x.useMemo(()=>{const Xa=Object.assign({},(0,Fe.Z)(or));return delete Xa.onAppearEnd,delete Xa.onEnterEnd,delete Xa.onLeaveEnd,Xa},[or]);return Jt!=="picture-card"&&Jt!=="picture-circle"&&($r=Object.assign(Object.assign({},jr),$r)),x.createElement("div",{className:Lr},x.createElement(qe.CSSMotionList,Object.assign({},$r,{component:!1}),Xa=>{let{key:wr,file:pr,className:Qr,style:no}=Xa;return x.createElement(Sn,{key:wr,locale:Dn,prefixCls:Ta,className:Qr,style:no,file:pr,items:Na,progress:ra,listType:Jt,isImgUrl:La,showPreviewIcon:Yn,showRemoveIcon:qa,showDownloadIcon:Ja,removeIcon:Wn,previewIcon:sa,downloadIcon:ma,iconRender:Ar,actionIconRender:br,itemRender:Ga,onPreview:uo,onDownload:yr,onClose:Sr})}),Ua&&x.createElement(qe.default,Object.assign({},$r,{visible:rr,forceRender:!0}),Xa=>{let{className:wr,style:pr}=Xa;return(0,xe.Tm)(Ua,Qr=>({className:Me()(Qr.className,wr),style:Object.assign(Object.assign(Object.assign({},pr),{pointerEvents:wr?"none":void 0}),Qr.style)}))}))};var aa=x.forwardRef(Rn),zn=te(17313),Pa=te(8378),Ea=te(83116),_n=te(37613),en=Ge=>{const{componentCls:gn,iconCls:Jt}=Ge;return{[`${gn}-wrapper`]:{[`${gn}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ge.colorFillAlter,border:`${Ge.lineWidth}px dashed ${Ge.colorBorder}`,borderRadius:Ge.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ge.motionDurationSlow}`,[gn]:{padding:`${Ge.padding}px 0`},[`${gn}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${gn}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${gn}-disabled):hover`]:{borderColor:Ge.colorPrimaryHover},[`p${gn}-drag-icon`]:{marginBottom:Ge.margin,[Jt]:{color:Ge.colorPrimary,fontSize:Ge.uploadThumbnailSize}},[`p${gn}-text`]:{margin:`0 0 ${Ge.marginXXS}px`,color:Ge.colorTextHeading,fontSize:Ge.fontSizeLG},[`p${gn}-hint`]:{color:Ge.colorTextDescription,fontSize:Ge.fontSize},[`&${gn}-disabled`]:{cursor:"not-allowed",[`p${gn}-drag-icon ${Jt}, p${gn}-text, p${gn}-hint `]:{color:Ge.colorTextDisabled}}}}}},Mn=Ge=>{const{componentCls:gn,antCls:Jt,iconCls:yn,fontSize:In,lineHeight:Zn}=Ge,An=`${gn}-list-item`,Dn=`${An}-actions`,Fa=`${An}-action`,La=Math.round(In*Zn);return{[`${gn}-wrapper`]:{[`${gn}-list`]:Object.assign(Object.assign({},(0,zn.dF)()),{lineHeight:Ge.lineHeight,[An]:{position:"relative",height:Ge.lineHeight*In,marginTop:Ge.marginXS,fontSize:In,display:"flex",alignItems:"center",transition:`background-color ${Ge.motionDurationSlow}`,"&:hover":{backgroundColor:Ge.controlItemBgHover},[`${An}-name`]:Object.assign(Object.assign({},zn.vS),{padding:`0 ${Ge.paddingXS}px`,lineHeight:Zn,flex:"auto",transition:`all ${Ge.motionDurationSlow}`}),[Dn]:{[Fa]:{opacity:0},[`${Fa}${Jt}-btn-sm`]:{height:La,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` @@ -247,11 +247,11 @@ `]:{[An]:{position:"relative",height:yn+Ge.lineWidth*2+Ge.paddingXS*2,padding:Ge.paddingXS,border:`${Ge.lineWidth}px ${Ge.lineType} ${Ge.colorBorder}`,borderRadius:Ge.borderRadiusLG,"&:hover":{background:"transparent"},[`${An}-thumbnail`]:Object.assign(Object.assign({},zn.vS),{width:yn,height:yn,lineHeight:`${yn+Ge.paddingSM}px`,textAlign:"center",flex:"none",[Jt]:{fontSize:Ge.fontSizeHeading2,color:Ge.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${An}-progress`]:{bottom:In,width:`calc(100% - ${Ge.paddingSM*2}px)`,marginTop:0,paddingInlineStart:yn+Ge.paddingXS}},[`${An}-error`]:{borderColor:Ge.colorError,[`${An}-thumbnail ${Jt}`]:{[`svg path[fill='${Ht.blue[0]}']`]:{fill:Ge.colorErrorBg},[`svg path[fill='${Ht.blue.primary}']`]:{fill:Ge.colorError}}},[`${An}-uploading`]:{borderStyle:"dashed",[`${An}-name`]:{marginBottom:In}}},[`${Zn}${Zn}-picture-circle ${An}`]:{[`&, &::before, ${An}-thumbnail`]:{borderRadius:"50%"}}}}},Pt=Ge=>{const{componentCls:gn,iconCls:Jt,fontSizeLG:yn,colorTextLightSolid:In}=Ge,Zn=`${gn}-list`,An=`${Zn}-item`,Dn=Ge.uploadPicCardSize;return{[` ${gn}-wrapper${gn}-picture-card-wrapper, ${gn}-wrapper${gn}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,zn.dF)()),{display:"inline-block",width:"100%",[`${gn}${gn}-select`]:{width:Dn,height:Dn,marginInlineEnd:Ge.marginXS,marginBottom:Ge.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ge.colorFillAlter,border:`${Ge.lineWidth}px dashed ${Ge.colorBorder}`,borderRadius:Ge.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ge.motionDurationSlow}`,[`> ${gn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${gn}-disabled):hover`]:{borderColor:Ge.colorPrimary}},[`${Zn}${Zn}-picture-card, ${Zn}${Zn}-picture-circle`]:{[`${Zn}-item-container`]:{display:"inline-block",width:Dn,height:Dn,marginBlock:`0 ${Ge.marginXS}px`,marginInline:`0 ${Ge.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[An]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ge.paddingXS*2}px)`,height:`calc(100% - ${Ge.paddingXS*2}px)`,backgroundColor:Ge.colorBgMask,opacity:0,transition:`all ${Ge.motionDurationSlow}`,content:'" "'}},[`${An}:hover`]:{[`&::before, ${An}-actions`]:{opacity:1}},[`${An}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ge.motionDurationSlow}`,[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{zIndex:10,width:yn,margin:`0 ${Ge.marginXXS}px`,fontSize:yn,cursor:"pointer",transition:`all ${Ge.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${An}-actions, ${An}-actions:hover`]:{[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{color:new mn.C(In).setAlpha(.65).toRgbString(),"&:hover":{color:In}}},[`${An}-thumbnail, ${An}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${An}-name`]:{display:"none",textAlign:"center"},[`${An}-file + ${An}-name`]:{position:"absolute",bottom:Ge.margin,display:"block",width:`calc(100% - ${Ge.paddingXS*2}px)`},[`${An}-uploading`]:{[`&${An}`]:{backgroundColor:Ge.colorFillAlter},[`&::before, ${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{display:"none"}},[`${An}-progress`]:{bottom:Ge.marginXL,width:`calc(100% - ${Ge.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${gn}-wrapper${gn}-picture-circle-wrapper`]:{[`${gn}${gn}-select`]:{borderRadius:"50%"}}}};var ln=Ge=>{const{componentCls:gn}=Ge;return{[`${gn}-rtl`]:{direction:"rtl"}}};const Nn=Ge=>{const{componentCls:gn,colorTextDisabled:Jt}=Ge;return{[`${gn}-wrapper`]:Object.assign(Object.assign({},(0,zn.Wf)(Ge)),{[gn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${gn}-select`]:{display:"inline-block"},[`${gn}-disabled`]:{color:Jt,cursor:"not-allowed"}})}};var bn=(0,Ea.Z)("Upload",Ge=>{const{fontSizeHeading3:gn,fontSize:Jt,lineHeight:yn,lineWidth:In,controlHeightLG:Zn}=Ge,An=Math.round(Jt*yn),Dn=(0,_n.TS)(Ge,{uploadThumbnailSize:gn*2,uploadProgressOffset:An/2+In,uploadPicCardSize:Zn*2.55});return[Nn(Dn),en(Dn),st(Dn),Pt(Dn),Mn(Dn),tn(Dn),ln(Dn),(0,Pa.Z)(Dn)]},Ge=>({actionsColor:Ge.colorTextDescription})),la=function(Ge,gn,Jt,yn){function In(Zn){return Zn instanceof Jt?Zn:new Jt(function(An){An(Zn)})}return new(Jt||(Jt=Promise))(function(Zn,An){function Dn(fn){try{La(yn.next(fn))}catch(Da){An(Da)}}function Fa(fn){try{La(yn.throw(fn))}catch(Da){An(Da)}}function La(fn){fn.done?Zn(fn.value):In(fn.value).then(Dn,Fa)}La((yn=yn.apply(Ge,gn||[])).next())})};const Hn=`__LIST_IGNORE_${Date.now()}__`,lt=(Ge,gn)=>{const{fileList:Jt,defaultFileList:yn,onRemove:In,showUploadList:Zn=!0,listType:An="text",onPreview:Dn,onDownload:Fa,onChange:La,onDrop:fn,previewFile:Da,disabled:Yn,locale:qa,iconRender:Ja,isImageUrl:Wn,progress:sa,prefixCls:ma,className:ra,type:Ua="select",children:rr,style:Ga,itemRender:za,maxCount:lr,data:Vr={},multiple:Ir=!1,action:uo="",accept:yr="",supportServerRender:Sr=!0,rootClassName:Ar}=Ge,br=x.useContext(gt.Z),Br=Yn!=null?Yn:br,[Ta,or]=(0,ut.Z)(yn||[],{value:Jt,postState:Bn=>Bn!=null?Bn:[]}),[Lr,Or]=x.useState("drop"),Cr=x.useRef(null);x.useMemo(()=>{const Bn=Date.now();(Jt||[]).forEach((On,Aa)=>{!On.uid&&!Object.isFrozen(On)&&(On.uid=`__AUTO__${Bn}_${Aa}__`)})},[Jt]);const $r=(Bn,On,Aa)=>{let Xn=(0,ue.Z)(On),ca=!1;lr===1?Xn=Xn.slice(-1):lr&&(ca=Xn.length>lr,Xn=Xn.slice(0,lr)),(0,Bt.flushSync)(()=>{or(Xn)});const pa={file:Bn,fileList:Xn};Aa&&(pa.event=Aa),(!ca||Xn.some(Va=>Va.uid===Bn.uid))&&(0,Bt.flushSync)(()=>{La==null||La(pa)})},jr=(Bn,On)=>la(void 0,void 0,void 0,function*(){const{beforeUpload:Aa,transformFile:Xn}=Ge;let ca=Bn;if(Aa){const pa=yield Aa(Bn,On);if(pa===!1)return!1;if(delete Bn[Hn],pa===Hn)return Object.defineProperty(Bn,Hn,{value:!0,configurable:!0}),!1;typeof pa=="object"&&pa&&(ca=pa)}return Xn&&(ca=yield Xn(ca)),ca}),Xa=Bn=>{const On=Bn.filter(ca=>!ca.file[Hn]);if(!On.length)return;const Aa=On.map(ca=>Xe(ca.file));let Xn=(0,ue.Z)(Ta);Aa.forEach(ca=>{Xn=Ae(ca,Xn)}),Aa.forEach((ca,pa)=>{let Va=ca;if(On[pa].parsedFile)ca.status="uploading";else{const{originFileObj:vr}=ca;let _r;try{_r=new File([vr],vr.name,{type:vr.type})}catch(kr){_r=new Blob([vr],{type:vr.type}),_r.name=vr.name,_r.lastModifiedDate=new Date,_r.lastModified=new Date().getTime()}_r.uid=ca.uid,Va=_r}$r(Va,Xn)})},wr=(Bn,On,Aa)=>{try{typeof Bn=="string"&&(Bn=JSON.parse(Bn))}catch(pa){}if(!ft(On,Ta))return;const Xn=Xe(On);Xn.status="done",Xn.percent=100,Xn.response=Bn,Xn.xhr=Aa;const ca=Ae(Xn,Ta);$r(Xn,ca)},pr=(Bn,On)=>{if(!ft(On,Ta))return;const Aa=Xe(On);Aa.status="uploading",Aa.percent=Bn.percent;const Xn=Ae(Aa,Ta);$r(Aa,Xn,Bn)},Qr=(Bn,On,Aa)=>{if(!ft(Aa,Ta))return;const Xn=Xe(Aa);Xn.error=Bn,Xn.response=On,Xn.status="error";const ca=Ae(Xn,Ta);$r(Xn,ca)},no=Bn=>{let On;Promise.resolve(typeof In=="function"?In(Bn):In).then(Aa=>{var Xn;if(Aa===!1)return;const ca=vn(Bn,Ta);ca&&(On=Object.assign(Object.assign({},Bn),{status:"removed"}),Ta==null||Ta.forEach(pa=>{const Va=On.uid!==void 0?"uid":"name";pa[Va]===On[Va]&&!Object.isFrozen(pa)&&(pa.status="removed")}),(Xn=Cr.current)===null||Xn===void 0||Xn.abort(On),$r(On,ca))})},Bo=Bn=>{Or(Bn.type),Bn.type==="drop"&&(fn==null||fn(Bn))};x.useImperativeHandle(gn,()=>({onBatchStart:Xa,onSuccess:wr,onProgress:pr,onError:Qr,fileList:Ta,upload:Cr.current}));const{getPrefixCls:To,direction:ko,upload:Dr}=x.useContext(yt.E_),Yr=To("upload",ma),Po=Object.assign(Object.assign({onBatchStart:Xa,onError:Qr,onProgress:pr,onSuccess:wr},Ge),{data:Vr,multiple:Ir,action:uo,accept:yr,supportServerRender:Sr,prefixCls:Yr,disabled:Br,beforeUpload:jr,onChange:void 0});delete Po.className,delete Po.style,(!rr||Br)&&delete Po.id;const[$o,jo]=bn(Yr),[ei]=(0,Yt.Z)("Upload",vt.Z.Upload),{showRemoveIcon:$a,showPreviewIcon:fa,showDownloadIcon:Tn,removeIcon:Ba,previewIcon:gr,downloadIcon:Ce}=typeof Zn=="boolean"?{}:Zn,sn=(Bn,On)=>Zn?x.createElement(aa,{prefixCls:Yr,listType:An,items:Ta,previewFile:Da,onPreview:Dn,onDownload:Fa,onRemove:no,showRemoveIcon:!Br&&$a,showPreviewIcon:fa,showDownloadIcon:Tn,removeIcon:Ba,previewIcon:gr,downloadIcon:Ce,iconRender:Ja,locale:Object.assign(Object.assign({},ei),qa),isImageUrl:Wn,progress:sa,appendAction:Bn,appendActionVisible:On,itemRender:za,disabled:Br}):Bn,Cn=Me()(`${Yr}-wrapper`,ra,Ar,jo,Dr==null?void 0:Dr.className,{[`${Yr}-rtl`]:ko==="rtl",[`${Yr}-picture-card-wrapper`]:An==="picture-card",[`${Yr}-picture-circle-wrapper`]:An==="picture-circle"}),Kn=Object.assign(Object.assign({},Dr==null?void 0:Dr.style),Ga);if(Ua==="drag"){const Bn=Me()(jo,Yr,`${Yr}-drag`,{[`${Yr}-drag-uploading`]:Ta.some(On=>On.status==="uploading"),[`${Yr}-drag-hover`]:Lr==="dragover",[`${Yr}-disabled`]:Br,[`${Yr}-rtl`]:ko==="rtl"});return $o(x.createElement("span",{className:Cn},x.createElement("div",{className:Bn,style:Kn,onDrop:Bo,onDragOver:Bo,onDragLeave:Bo},x.createElement(Ne,Object.assign({},Po,{ref:Cr,className:`${Yr}-btn`}),x.createElement("div",{className:`${Yr}-drag-container`},rr))),sn()))}const an=Me()(Yr,`${Yr}-select`,{[`${Yr}-disabled`]:Br}),ta=(Bn=>x.createElement("div",{className:an,style:Bn},x.createElement(Ne,Object.assign({},Po,{ref:Cr}))))(rr?void 0:{display:"none"});return $o(An==="picture-card"||An==="picture-circle"?x.createElement("span",{className:Cn},sn(ta,!!rr)):x.createElement("span",{className:Cn},ta,sn()))};var Jn=x.forwardRef(lt),nn=function(Ge,gn){var Jt={};for(var yn in Ge)Object.prototype.hasOwnProperty.call(Ge,yn)&&gn.indexOf(yn)<0&&(Jt[yn]=Ge[yn]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,yn=Object.getOwnPropertySymbols(Ge);In{var{style:Jt,height:yn}=Ge,In=nn(Ge,["style","height"]);return x.createElement(Jn,Object.assign({ref:gn},In,{type:"drag",style:Object.assign(Object.assign({},Jt),{height:yn})}))});const Ra=Jn;Ra.Dragger=ea,Ra.LIST_IGNORE=Hn;var va=Ra},24334:function(Ut,Kt,te){var x,ue;(function(Be,Me){Ut.exports=Me(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Be){"use strict";Be=Be||{};var Me=Be.Base64,Le="2.6.4",Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(Ye){for(var bt={},Ne=0,ut=Ye.length;Ne>>6)+ct(128|bt&63):ct(224|bt>>>12&15)+ct(128|bt>>>6&63)+ct(128|bt&63)}else{var bt=65536+(Ye.charCodeAt(0)-55296)*1024+(Ye.charCodeAt(1)-56320);return ct(240|bt>>>18&7)+ct(128|bt>>>12&63)+ct(128|bt>>>6&63)+ct(128|bt&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ue=function(Ye){return Ye.replace(Ve,ot)},tt=function(Ye){var bt=[0,2,1][Ye.length%3],Ne=Ye.charCodeAt(0)<<16|(Ye.length>1?Ye.charCodeAt(1):0)<<8|(Ye.length>2?Ye.charCodeAt(2):0),ut=[Oe.charAt(Ne>>>18),Oe.charAt(Ne>>>12&63),bt>=2?"=":Oe.charAt(Ne>>>6&63),bt>=1?"=":Oe.charAt(Ne&63)];return ut.join("")},Je=Be.btoa&&typeof Be.btoa=="function"?function(Ye){return Be.btoa(Ye)}:function(Ye){if(Ye.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ye.replace(/[\s\S]{1,3}/g,tt)},le=function(Ye){return Je(Ue(String(Ye)))},y=function(Ye){return Ye.replace(/[+\/]/g,function(bt){return bt=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ye,bt){return bt?y(le(Ye)):le(Ye)},b=function(Ye){return a(Ye,!0)},E;Be.Uint8Array&&(E=function(Ye,bt){for(var Ne="",ut=0,Bt=Ye.length;ut>>18)+Oe.charAt(vt>>>12&63)+(typeof gt!="undefined"?Oe.charAt(vt>>>6&63):"=")+(typeof Yt!="undefined"?Oe.charAt(vt&63):"=")}return bt?y(Ne):Ne});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ye){switch(Ye.length){case 4:var bt=(7&Ye.charCodeAt(0))<<18|(63&Ye.charCodeAt(1))<<12|(63&Ye.charCodeAt(2))<<6|63&Ye.charCodeAt(3),Ne=bt-65536;return ct((Ne>>>10)+55296)+ct((Ne&1023)+56320);case 3:return ct((15&Ye.charCodeAt(0))<<12|(63&Ye.charCodeAt(1))<<6|63&Ye.charCodeAt(2));default:return ct((31&Ye.charCodeAt(0))<<6|63&Ye.charCodeAt(1))}},re=function(Ye){return Ye.replace(z,ne)},ie=function(Ye){var bt=Ye.length,Ne=bt%4,ut=(bt>0?se[Ye.charAt(0)]<<18:0)|(bt>1?se[Ye.charAt(1)]<<12:0)|(bt>2?se[Ye.charAt(2)]<<6:0)|(bt>3?se[Ye.charAt(3)]:0),Bt=[ct(ut>>>16),ct(ut>>>8&255),ct(ut&255)];return Bt.length-=[0,0,2,1][Ne],Bt.join("")},me=Be.atob&&typeof Be.atob=="function"?function(Ye){return Be.atob(Ye)}:function(Ye){return Ye.replace(/\S{1,4}/g,ie)},pe=function(Ye){return me(String(Ye).replace(/[^A-Za-z0-9\+\/]/g,""))},ye=function(Ye){return re(me(Ye))},je=function(Ye){return String(Ye).replace(/[-_]/g,function(bt){return bt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},De=function(Ye){return ye(je(Ye))},Qe;Be.Uint8Array&&(Qe=function(Ye){return Uint8Array.from(pe(je(Ye)),function(bt){return bt.charCodeAt(0)})});var he=function(){var Ye=Be.Base64;return Be.Base64=Me,Ye};if(Be.Base64={VERSION:Le,atob:pe,btoa:Je,fromBase64:De,toBase64:a,utob:Ue,encode:a,encodeURI:b,btou:re,decode:De,noConflict:he,fromUint8Array:E,toUint8Array:Qe},typeof Object.defineProperty=="function"){var Te=function(Ye){return{value:Ye,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Te(function(){return De(this)})),Object.defineProperty(String.prototype,"toBase64",Te(function(Ye){return a(this,Ye)})),Object.defineProperty(String.prototype,"toBase64URI",Te(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Ut.exports?Ut.exports.Base64=Be.Base64:(x=[],ue=function(){return Be.Base64}.apply(Kt,x),ue!==void 0&&(Ut.exports=ue)),{Base64:Be.Base64}})},39417:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ye}});var x=te(92413),ue=te(400),Be=te(37061),Me=te(33708),Le=te(6909),Oe=te(4771),se=te(25314),ct=te(9427),ot=te(25440),Ve=te(92310),Ue=te.n(Ve),tt=te(26112),Je=te(59301),le=te(39378),y=function(De){for(var Qe=De.prefixCls,he=De.level,Te=De.isStart,Ye=De.isEnd,bt="".concat(Qe,"-indent-unit"),Ne=[],ut=0;ut0&&arguments[0]!==void 0?arguments[0]:[],ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=rt.length,fe=ze.length;if(Math.abs(ve-fe)!==1)return{add:!1,key:null};function qe(Rt,Fe){var xe=new Map;Rt.forEach(function(Xe){xe.set(Xe,!0)});var at=Fe.filter(function(Xe){return!xe.has(Xe)});return at.length===1?at[0]:null}return ve ").concat(ze);return ze}var qt=a.forwardRef(function(rt,ze){var ve=rt.prefixCls,fe=rt.data,qe=rt.selectable,Rt=rt.checkable,Fe=rt.expandedKeys,xe=rt.selectedKeys,at=rt.checkedKeys,Xe=rt.loadedKeys,Ae=rt.loadingKeys,ft=rt.halfCheckedKeys,vn=rt.keyEntities,Qt=rt.disabled,jt=rt.dragging,on=rt.dragOverNodeKey,cn=rt.dropPosition,_e=rt.motion,Ft=rt.height,Lt=rt.itemHeight,St=rt.virtual,Dt=rt.focusable,pn=rt.activeItem,Pn=rt.focused,Sn=rt.tabIndex,Rn=rt.onKeyDown,na=rt.onFocus,aa=rt.onBlur,zn=rt.onActiveChange,Pa=rt.onListChangeStart,Ea=rt.onListChangeEnd,_n=(0,re.Z)(rt,ut),wa=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(ze,function(){return{scrollTo:function(va){wa.current.scrollTo(va)},getIndentWidth:function(){return en.current.offsetWidth}}});var En=a.useState(Fe),Mn=(0,ne.Z)(En,2),$n=Mn[0],Ze=Mn[1],Nt=a.useState(fe),kt=(0,ne.Z)(Nt,2),Wt=kt[0],tn=kt[1],Ht=a.useState(fe),mn=(0,ne.Z)(Ht,2),st=mn[0],Pt=mn[1],dt=a.useState([]),ln=(0,ne.Z)(dt,2),Nn=ln[0],bn=ln[1],la=a.useState(null),Hn=(0,ne.Z)(la,2),lt=Hn[0],$t=Hn[1],Jn=a.useRef(fe);Jn.current=fe;function nn(){var Ra=Jn.current;tn(Ra),Pt(Ra),bn([]),$t(null),Ea()}(0,ie.Z)(function(){Ze(Fe);var Ra=bt($n,Fe);if(Ra.key!==null)if(Ra.add){var va=Wt.findIndex(function(Zn){var An=Zn.key;return An===Ra.key}),Ge=xn(Ne(Wt,fe,Ra.key),St,Ft,Lt),gn=Wt.slice();gn.splice(va+1,0,rn),Pt(gn),bn(Ge),$t("show")}else{var Jt=fe.findIndex(function(Zn){var An=Zn.key;return An===Ra.key}),yn=xn(Ne(fe,Wt,Ra.key),St,Ft,Lt),In=fe.slice();In.splice(Jt+1,0,rn),Pt(In),bn(yn),$t("hide")}else Wt!==fe&&(tn(fe),Pt(fe))},[Fe,fe]),a.useEffect(function(){jt||nn()},[jt]);var kn=_e?st:fe,ea={expandedKeys:Fe,selectedKeys:xe,loadedKeys:Xe,loadingKeys:Ae,checkedKeys:at,halfCheckedKeys:ft,dragOverNodeKey:on,dropPosition:cn,keyEntities:vn};return a.createElement(a.Fragment,null,Pn&&pn&&a.createElement("span",{style:Bt,"aria-live":"assertive"},et(pn)),a.createElement("div",null,a.createElement("input",{style:Bt,disabled:Dt===!1||Qt,tabIndex:Dt!==!1?Sn:null,onKeyDown:Rn,onFocus:na,onBlur:aa,value:"",onChange:yt,"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:en,className:"".concat(ve,"-indent-unit")}))),a.createElement(me.Z,(0,x.Z)({},_n,{data:kn,itemKey:nt,height:Ft,fullHeight:!1,virtual:St,itemHeight:Lt,prefixCls:"".concat(ve,"-list"),ref:wa,onVisibleChange:function(va,Ge){var gn=new Set(va),Jt=Ge.filter(function(yn){return!gn.has(yn)});Jt.some(function(yn){return nt(yn)===gt})&&nn()}}),function(Ra){var va=Ra.pos,Ge=(0,x.Z)({},(z(Ra.data),Ra.data)),gn=Ra.title,Jt=Ra.key,yn=Ra.isStart,In=Ra.isEnd,Zn=(0,De.km)(Jt,va);delete Ge.key,delete Ge.children;var An=(0,De.H8)(Zn,ea);return a.createElement(Ye,(0,x.Z)({},Ge,An,{title:gn,active:!!pn&&Jt===pn.key,pos:va,data:Ra.data,isStart:yn,isEnd:In,motion:_e,motionNodes:Jt===gt?Nn:null,motionType:lt,onMotionStart:Pa,onMotionEnd:nn,treeNodeRequiredProps:ea,onMouseMove:function(){zn(null)}}))}))});qt.displayName="NodeList";var hn=qt,Zt=te(35654),dn=te(90782),We=te(67841),It=10,Gt=function(rt){(0,ot.Z)(ve,rt);var ze=(0,Ve.Z)(ve);function ve(){var fe;(0,Oe.Z)(this,ve);for(var qe=arguments.length,Rt=new Array(qe),Fe=0;Fe2&&arguments[2]!==void 0?arguments[2]:!1,ft=fe.state,vn=ft.dragChildrenKeys,Qt=ft.dropPosition,jt=ft.dropTargetKey,on=ft.dropTargetPos,cn=ft.dropAllowed;if(cn){var _e=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),jt!==null){var Ft=(0,Me.Z)((0,Me.Z)({},(0,De.H8)(jt,fe.getTreeNodeRequiredProps())),{},{active:((Xe=fe.getActiveItem())===null||Xe===void 0?void 0:Xe.key)===jt,data:(0,We.Z)(fe.state.keyEntities,jt).node}),Lt=vn.indexOf(jt)!==-1;(0,y.ZP)(!Lt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var St=(0,Zt.yx)(on),Dt={event:xe,node:(0,De.F)(Ft),dragNode:fe.dragNode?(0,De.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(vn),dropToGap:Qt!==0,dropPosition:Qt+Number(St[St.length-1])};Ae||_e==null||_e(Dt),fe.dragNode=null}}},fe.cleanDragState=function(){var xe=fe.state.draggingNodeKey;xe!==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(xe,at){var Xe=fe.state,Ae=Xe.expandedKeys,ft=Xe.flattenNodes,vn=at.expanded,Qt=at.key,jt=at.isLeaf;if(!(jt||xe.shiftKey||xe.metaKey||xe.ctrlKey)){var on=ft.filter(function(_e){return _e.key===Qt})[0],cn=(0,De.F)((0,Me.Z)((0,Me.Z)({},(0,De.H8)(Qt,fe.getTreeNodeRequiredProps())),{},{data:on.data}));fe.setExpandedKeys(vn?(0,Zt._5)(Ae,Qt):(0,Zt.L0)(Ae,Qt)),fe.onNodeExpand(xe,cn)}},fe.onNodeClick=function(xe,at){var Xe=fe.props,Ae=Xe.onClick,ft=Xe.expandAction;ft==="click"&&fe.triggerExpandActionExpand(xe,at),Ae==null||Ae(xe,at)},fe.onNodeDoubleClick=function(xe,at){var Xe=fe.props,Ae=Xe.onDoubleClick,ft=Xe.expandAction;ft==="doubleClick"&&fe.triggerExpandActionExpand(xe,at),Ae==null||Ae(xe,at)},fe.onNodeSelect=function(xe,at){var Xe=fe.state.selectedKeys,Ae=fe.state,ft=Ae.keyEntities,vn=Ae.fieldNames,Qt=fe.props,jt=Qt.onSelect,on=Qt.multiple,cn=at.selected,_e=at[vn.key],Ft=!cn;Ft?on?Xe=(0,Zt.L0)(Xe,_e):Xe=[_e]:Xe=(0,Zt._5)(Xe,_e);var Lt=Xe.map(function(St){var Dt=(0,We.Z)(ft,St);return Dt?Dt.node:null}).filter(function(St){return St});fe.setUncontrolledState({selectedKeys:Xe}),jt==null||jt(Xe,{event:"select",selected:Ft,node:at,selectedNodes:Lt,nativeEvent:xe.nativeEvent})},fe.onNodeCheck=function(xe,at,Xe){var Ae=fe.state,ft=Ae.keyEntities,vn=Ae.checkedKeys,Qt=Ae.halfCheckedKeys,jt=fe.props,on=jt.checkStrictly,cn=jt.onCheck,_e=at.key,Ft,Lt={event:"check",node:at,checked:Xe,nativeEvent:xe.nativeEvent};if(on){var St=Xe?(0,Zt.L0)(vn,_e):(0,Zt._5)(vn,_e),Dt=(0,Zt._5)(Qt,_e);Ft={checked:St,halfChecked:Dt},Lt.checkedNodes=St.map(function(aa){return(0,We.Z)(ft,aa)}).filter(function(aa){return aa}).map(function(aa){return aa.node}),fe.setUncontrolledState({checkedKeys:St})}else{var pn=(0,dn.S)([].concat((0,Le.Z)(vn),[_e]),!0,ft),Pn=pn.checkedKeys,Sn=pn.halfCheckedKeys;if(!Xe){var Rn=new Set(Pn);Rn.delete(_e);var na=(0,dn.S)(Array.from(Rn),{checked:!1,halfCheckedKeys:Sn},ft);Pn=na.checkedKeys,Sn=na.halfCheckedKeys}Ft=Pn,Lt.checkedNodes=[],Lt.checkedNodesPositions=[],Lt.halfCheckedKeys=Sn,Pn.forEach(function(aa){var zn=(0,We.Z)(ft,aa);if(zn){var Pa=zn.node,Ea=zn.pos;Lt.checkedNodes.push(Pa),Lt.checkedNodesPositions.push({node:Pa,pos:Ea})}}),fe.setUncontrolledState({checkedKeys:Pn},!1,{halfCheckedKeys:Sn})}cn==null||cn(Ft,Lt)},fe.onNodeLoad=function(xe){var at=xe.key,Xe=new Promise(function(Ae,ft){fe.setState(function(vn){var Qt=vn.loadedKeys,jt=Qt===void 0?[]:Qt,on=vn.loadingKeys,cn=on===void 0?[]:on,_e=fe.props,Ft=_e.loadData,Lt=_e.onLoad;if(!Ft||jt.indexOf(at)!==-1||cn.indexOf(at)!==-1)return null;var St=Ft(xe);return St.then(function(){var Dt=fe.state.loadedKeys,pn=(0,Zt.L0)(Dt,at);Lt==null||Lt(pn,{event:"load",node:xe}),fe.setUncontrolledState({loadedKeys:pn}),fe.setState(function(Pn){return{loadingKeys:(0,Zt._5)(Pn.loadingKeys,at)}}),Ae()}).catch(function(Dt){if(fe.setState(function(Pn){return{loadingKeys:(0,Zt._5)(Pn.loadingKeys,at)}}),fe.loadingRetryTimes[at]=(fe.loadingRetryTimes[at]||0)+1,fe.loadingRetryTimes[at]>=It){var pn=fe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(pn,at)}),Ae()}ft(Dt)}),{loadingKeys:(0,Zt.L0)(cn,at)}})});return Xe.catch(function(){}),Xe},fe.onNodeMouseEnter=function(xe,at){var Xe=fe.props.onMouseEnter;Xe==null||Xe({event:xe,node:at})},fe.onNodeMouseLeave=function(xe,at){var Xe=fe.props.onMouseLeave;Xe==null||Xe({event:xe,node:at})},fe.onNodeContextMenu=function(xe,at){var Xe=fe.props.onRightClick;Xe&&(xe.preventDefault(),Xe({event:xe,node:at}))},fe.onFocus=function(){var xe=fe.props.onFocus;fe.setState({focused:!0});for(var at=arguments.length,Xe=new Array(at),Ae=0;Ae1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Ae=!1,ft=!0,vn={};Object.keys(xe).forEach(function(Qt){if(Qt in fe.props){ft=!1;return}Ae=!0,vn[Qt]=xe[Qt]}),Ae&&(!at||ft)&&fe.setState((0,Me.Z)((0,Me.Z)({},vn),Xe))}},fe.scrollTo=function(xe){fe.listRef.current.scrollTo(xe)},fe}return(0,se.Z)(ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var qe=this.props.activeKey;qe!==void 0&&qe!==this.state.activeKey&&(this.setState({activeKey:qe}),qe!==null&&this.scrollTo({key:qe}))}},{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 qe,Rt=this.state,Fe=Rt.focused,xe=Rt.flattenNodes,at=Rt.keyEntities,Xe=Rt.draggingNodeKey,Ae=Rt.activeKey,ft=Rt.dropLevelOffset,vn=Rt.dropContainerKey,Qt=Rt.dropTargetKey,jt=Rt.dropPosition,on=Rt.dragOverNodeKey,cn=Rt.indent,_e=this.props,Ft=_e.prefixCls,Lt=_e.className,St=_e.style,Dt=_e.showLine,pn=_e.focusable,Pn=_e.tabIndex,Sn=Pn===void 0?0:Pn,Rn=_e.selectable,na=_e.showIcon,aa=_e.icon,zn=_e.switcherIcon,Pa=_e.draggable,Ea=_e.checkable,_n=_e.checkStrictly,wa=_e.disabled,en=_e.motion,En=_e.loadData,Mn=_e.filterTreeNode,$n=_e.height,Ze=_e.itemHeight,Nt=_e.virtual,kt=_e.titleRender,Wt=_e.dropIndicatorRender,tn=_e.onContextMenu,Ht=_e.onScroll,mn=_e.direction,st=_e.rootClassName,Pt=_e.rootStyle,dt=(0,le.Z)(this.props,{aria:!0,data:!0}),ln;return Pa&&((0,Be.Z)(Pa)==="object"?ln=Pa:typeof Pa=="function"?ln={nodeDraggable:Pa}:ln={}),a.createElement(b.k.Provider,{value:{prefixCls:Ft,selectable:Rn,showIcon:na,icon:aa,switcherIcon:zn,draggable:ln,draggingNodeKey:Xe,checkable:Ea,checkStrictly:_n,disabled:wa,keyEntities:at,dropLevelOffset:ft,dropContainerKey:vn,dropTargetKey:Qt,dropPosition:jt,dragOverNodeKey:on,indent:cn,direction:mn,dropIndicatorRender:Wt,loadData:En,filterTreeNode:Mn,titleRender:kt,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()(Ft,Lt,st,(qe={},(0,ue.Z)(qe,"".concat(Ft,"-show-line"),Dt),(0,ue.Z)(qe,"".concat(Ft,"-focused"),Fe),(0,ue.Z)(qe,"".concat(Ft,"-active-focused"),Ae!==null),qe)),style:Pt},a.createElement(hn,(0,x.Z)({ref:this.listRef,prefixCls:Ft,style:St,data:xe,disabled:wa,selectable:Rn,checkable:!!Ea,motion:en,dragging:Xe!==null,height:$n,itemHeight:Ze,virtual:Nt,focusable:pn,focused:Fe,tabIndex:Sn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:Ht},this.getTreeNodeRequiredProps(),dt))))}}],[{key:"getDerivedStateFromProps",value:function(qe,Rt){var Fe=Rt.prevProps,xe={prevProps:qe};function at(pn){return!Fe&&pn in qe||Fe&&Fe[pn]!==qe[pn]}var Xe,Ae=Rt.fieldNames;if(at("fieldNames")&&(Ae=(0,De.w$)(qe.fieldNames),xe.fieldNames=Ae),at("treeData")?Xe=qe.treeData:at("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Xe=(0,De.zn)(qe.children)),Xe){xe.treeData=Xe;var ft=(0,De.I8)(Xe,{fieldNames:Ae});xe.keyEntities=(0,Me.Z)((0,ue.Z)({},gt,vt),ft.keyEntities)}var vn=xe.keyEntities||Rt.keyEntities;if(at("expandedKeys")||Fe&&at("autoExpandParent"))xe.expandedKeys=qe.autoExpandParent||!Fe&&qe.defaultExpandParent?(0,Zt.r7)(qe.expandedKeys,vn):qe.expandedKeys;else if(!Fe&&qe.defaultExpandAll){var Qt=(0,Me.Z)({},vn);delete Qt[gt],xe.expandedKeys=Object.keys(Qt).map(function(pn){return Qt[pn].key})}else!Fe&&qe.defaultExpandedKeys&&(xe.expandedKeys=qe.autoExpandParent||qe.defaultExpandParent?(0,Zt.r7)(qe.defaultExpandedKeys,vn):qe.defaultExpandedKeys);if(xe.expandedKeys||delete xe.expandedKeys,Xe||xe.expandedKeys){var jt=(0,De.oH)(Xe||Rt.treeData,xe.expandedKeys||Rt.expandedKeys,Ae);xe.flattenNodes=jt}if(qe.selectable&&(at("selectedKeys")?xe.selectedKeys=(0,Zt.BT)(qe.selectedKeys,qe):!Fe&&qe.defaultSelectedKeys&&(xe.selectedKeys=(0,Zt.BT)(qe.defaultSelectedKeys,qe))),qe.checkable){var on;if(at("checkedKeys")?on=(0,Zt.E6)(qe.checkedKeys)||{}:!Fe&&qe.defaultCheckedKeys?on=(0,Zt.E6)(qe.defaultCheckedKeys)||{}:Xe&&(on=(0,Zt.E6)(qe.checkedKeys)||{checkedKeys:Rt.checkedKeys,halfCheckedKeys:Rt.halfCheckedKeys}),on){var cn=on,_e=cn.checkedKeys,Ft=_e===void 0?[]:_e,Lt=cn.halfCheckedKeys,St=Lt===void 0?[]:Lt;if(!qe.checkStrictly){var Dt=(0,dn.S)(Ft,!0,vn);Ft=Dt.checkedKeys,St=Dt.halfCheckedKeys}xe.checkedKeys=Ft,xe.halfCheckedKeys=St}}return at("loadedKeys")&&(xe.loadedKeys=qe.loadedKeys),xe}}]),ve}(a.Component);Gt.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},Gt.TreeNode=ye.Z;var Mt=Gt,ht=Mt},35654:function(Ut,Kt,te){"use strict";te.d(Kt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return y},_5:function(){return ot},r7:function(){return ne},wA:function(){return tt},yx:function(){return Ue}});var x=te(26407),ue=te(39559),Be=te(48736),Me=te(59301),Le=te(39417),Oe=te(67841),se=te(71430),ct=null;function ot(re,ie){if(!re)return[];var me=re.slice(),pe=me.indexOf(ie);return pe>=0&&me.splice(pe,1),me}function Ve(re,ie){var me=(re||[]).slice();return me.indexOf(ie)===-1&&me.push(ie),me}function Ue(re){return re.split("-")}function tt(re,ie){var me=[],pe=(0,Oe.Z)(ie,re);function ye(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(De){var Qe=De.key,he=De.children;me.push(Qe),ye(he)})}return ye(pe.children),me}function Je(re){if(re.parent){var ie=Ue(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=Ue(re.pos);return Number(ie[ie.length-1])===0}function y(re,ie,me,pe,ye,je,De,Qe,he,Te){var Ye,bt=re.clientX,Ne=re.clientY,ut=re.target.getBoundingClientRect(),Bt=ut.top,yt=ut.height,gt=(Te==="rtl"?-1:1)*(((ye==null?void 0:ye.x)||0)-bt),Yt=(gt-12)/pe,vt=(0,Oe.Z)(Qe,me.props.eventKey);if(Ne-1.5?je({dragNode:It,dropNode:Gt,dropPosition:1})?Zt=1:Mt=!1:je({dragNode:It,dropNode:Gt,dropPosition:0})?Zt=0:je({dragNode:It,dropNode:Gt,dropPosition:1})?Zt=1:Mt=!1:je({dragNode:It,dropNode:Gt,dropPosition:1})?Zt=1:Mt=!1,{dropPosition:Zt,dropLevelOffset:dn,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:hn,dropContainerKey:Zt===0?null:((Ye=vt.parent)===null||Ye===void 0?void 0:Ye.key)||null,dropAllowed:Mt}}function a(re,ie){if(re){var me=ie.multiple;return me?re.slice():re.length?[re[0]]:re}}var b=function(ie){return ie};function E(re,ie){if(!re)return[];var me=ie||{},pe=me.processProps,ye=pe===void 0?b:pe,je=Array.isArray(re)?re:[re];return je.map(function(De){var Qe=De.children,he=_objectWithoutProperties(De,ct),Te=E(Qe,ie);return React.createElement(TreeNode,_extends({key:he.key},ye(he)),Te)})}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 me=new Set;function pe(ye){if(!me.has(ye)){var je=(0,Oe.Z)(ie,ye);if(je){me.add(ye);var De=je.parent,Qe=je.node;Qe.disabled||De&&pe(De.key)}}}return(re||[]).forEach(function(ye){pe(ye)}),(0,x.Z)(me)}},90782:function(Ut,Kt,te){"use strict";te.d(Kt,{S:function(){return se}});var x=te(48736),ue=te(67841);function Be(ct,ot){var Ve=new Set;return ct.forEach(function(Ue){ot.has(Ue)||Ve.add(Ue)}),Ve}function Me(ct){var ot=ct||{},Ve=ot.disabled,Ue=ot.disableCheckbox,tt=ot.checkable;return!!(Ve||Ue)||tt===!1}function Le(ct,ot,Ve,Ue){for(var tt=new Set(ct),Je=new Set,le=0;le<=Ve;le+=1){var y=ot.get(le)||new Set;y.forEach(function(z){var ne=z.key,re=z.node,ie=z.children,me=ie===void 0?[]:ie;tt.has(ne)&&!Ue(re)&&me.filter(function(pe){return!Ue(pe.node)}).forEach(function(pe){tt.add(pe.key)})})}for(var a=new Set,b=Ve;b>=0;b-=1){var E=ot.get(b)||new Set;E.forEach(function(z){var ne=z.parent,re=z.node;if(!(Ue(re)||!z.parent||a.has(z.parent.key))){if(Ue(z.parent.node)){a.add(ne.key);return}var ie=!0,me=!1;(ne.children||[]).filter(function(pe){return!Ue(pe.node)}).forEach(function(pe){var ye=pe.key,je=tt.has(ye);ie&&!je&&(ie=!1),!me&&(je||Je.has(ye))&&(me=!0)}),ie&&tt.add(ne.key),me&&Je.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(tt),halfCheckedKeys:Array.from(Be(Je,tt))}}function Oe(ct,ot,Ve,Ue,tt){for(var Je=new Set(ct),le=new Set(ot),y=0;y<=Ue;y+=1){var a=Ve.get(y)||new Set;a.forEach(function(ne){var re=ne.key,ie=ne.node,me=ne.children,pe=me===void 0?[]:me;!Je.has(re)&&!le.has(re)&&!tt(ie)&&pe.filter(function(ye){return!tt(ye.node)}).forEach(function(ye){Je.delete(ye.key)})})}le=new Set;for(var b=new Set,E=Ue;E>=0;E-=1){var z=Ve.get(E)||new Set;z.forEach(function(ne){var re=ne.parent,ie=ne.node;if(!(tt(ie)||!ne.parent||b.has(ne.parent.key))){if(tt(ne.parent.node)){b.add(re.key);return}var me=!0,pe=!1;(re.children||[]).filter(function(ye){return!tt(ye.node)}).forEach(function(ye){var je=ye.key,De=Je.has(je);me&&!De&&(me=!1),!pe&&(De||le.has(je))&&(pe=!0)}),me||Je.delete(re.key),pe&&le.add(re.key),b.add(re.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(le,Je))}}function se(ct,ot,Ve,Ue){var tt=[],Je;Ue?Je=Ue:Je=Me;var le=new Set(ct.filter(function(E){var z=!!(0,ue.Z)(Ve,E);return z||tt.push(E),z})),y=new Map,a=0;Object.keys(Ve).forEach(function(E){var z=Ve[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,x.ZP)(!tt.length,"Tree missing follow keys: ".concat(tt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return ot===!0?b=Le(le,y,a,Je):b=Oe(le,ot.halfCheckedKeys,y,a,Je),b}},67841:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return x}});function x(ue,Be){return ue[Be]}},71430:function(Ut,Kt,te){"use strict";te.d(Kt,{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 x=te(39559),ue=te(26407),Be=te(33708),Me=te(37061),Le=te(11592),Oe=te(2738),se=te(48736),ct=te(67841),ot=["children"];function Ve(re,ie){return"".concat(re,"-").concat(ie)}function Ue(re){return re&&re.type&&re.type.isTreeNode}function tt(re,ie){return re!=null?re:ie}function Je(re){var ie=re||{},me=ie.title,pe=ie._title,ye=ie.key,je=ie.children,De=me||"title";return{title:De,_title:pe||[De],key:ye||"key",children:je||"children"}}function le(re,ie){var me=new Map;function pe(ye){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(De){var Qe=De[ie.key],he=De[ie.children];warning(Qe!=null,"Tree node must have a certain key: [".concat(je).concat(Qe,"]"));var Te=String(Qe);warning(!me.has(Te)||Qe===null||Qe===void 0,"Same 'key' exist in the Tree: ".concat(Te)),me.set(Te,!0),pe(he,"".concat(je).concat(Te," > "))})}pe(re)}function y(re){function ie(me){var pe=(0,Le.Z)(me);return pe.map(function(ye){if(!Ue(ye))return(0,se.ZP)(!ye,"Tree/TreeNode can only accept TreeNode as children."),null;var je=ye.key,De=ye.props,Qe=De.children,he=(0,Me.Z)(De,ot),Te=(0,Be.Z)({key:je},he),Ye=ie(Qe);return Ye.length&&(Te.children=Ye),Te}).filter(function(ye){return ye})}return ie(re)}function a(re,ie,me){var pe=Je(me),ye=pe._title,je=pe.key,De=pe.children,Qe=new Set(ie===!0?[]:ie),he=[];function Te(Ye){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ye.map(function(Ne,ut){for(var Bt=Ve(bt?bt.pos:"0",ut),yt=tt(Ne[je],Bt),gt,Yt=0;Yt1&&arguments[1]!==void 0?arguments[1]:{},me=ie.initWrapper,pe=ie.processEntity,ye=ie.onProcessFinished,je=ie.externalGetKey,De=ie.childrenPropName,Qe=ie.fieldNames,he=arguments.length>2?arguments[2]:void 0,Te=je||he,Ye={},bt={},Ne={posEntities:Ye,keyEntities:bt};return me&&(Ne=me(Ne)||Ne),b(re,function(ut){var Bt=ut.node,yt=ut.index,gt=ut.pos,Yt=ut.key,vt=ut.parentPos,rn=ut.level,xn=ut.nodes,nt={node:Bt,nodes:xn,index:yt,key:Yt,pos:gt,level:rn},et=tt(Yt,gt);Ye[gt]=nt,bt[et]=nt,nt.parent=Ye[vt],nt.parent&&(nt.parent.children=nt.parent.children||[],nt.parent.children.push(nt)),pe&&pe(nt,Ne)},{externalGetKey:Te,childrenPropName:De,fieldNames:Qe}),ye&&ye(Ne),Ne}function z(re,ie){var me=ie.expandedKeys,pe=ie.selectedKeys,ye=ie.loadedKeys,je=ie.loadingKeys,De=ie.checkedKeys,Qe=ie.halfCheckedKeys,he=ie.dragOverNodeKey,Te=ie.dropPosition,Ye=ie.keyEntities,bt=(0,ct.Z)(Ye,re),Ne={eventKey:re,expanded:me.indexOf(re)!==-1,selected:pe.indexOf(re)!==-1,loaded:ye.indexOf(re)!==-1,loading:je.indexOf(re)!==-1,checked:De.indexOf(re)!==-1,halfChecked:Qe.indexOf(re)!==-1,pos:String(bt?bt.pos:""),dragOver:he===re&&Te===0,dragOverGapTop:he===re&&Te===-1,dragOverGapBottom:he===re&&Te===1};return Ne}function ne(re){var ie=re.data,me=re.expanded,pe=re.selected,ye=re.checked,je=re.loaded,De=re.loading,Qe=re.halfChecked,he=re.dragOver,Te=re.dragOverGapTop,Ye=re.dragOverGapBottom,bt=re.pos,Ne=re.active,ut=re.eventKey,Bt=(0,Be.Z)((0,Be.Z)({},ie),{},{expanded:me,selected:pe,checked:ye,loaded:je,loading:De,halfChecked:Qe,dragOver:he,dragOverGapTop:Te,dragOverGapBottom:Ye,pos:bt,active:Ne,key:ut});return"props"in Bt||Object.defineProperty(Bt,"props",{get:function(){return(0,se.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),Bt}},8224:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ue}});var x=te(4676);function ue(Be,Me,Le,Oe){var se=x.unstable_batchedUpdates?function(ot){x.unstable_batchedUpdates(Le,ot)}:Le;return Be!=null&&Be.addEventListener&&Be.addEventListener(Me,se,Oe),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Me,se,Oe)}}}},55468:function(Ut,Kt,te){"use strict";te.d(Kt,{g1:function(){return Ue},os:function(){return Je}});var x=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Me(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function Le(le,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return le.offsetHeight;if(y==="width")return le.offsetWidth}return y in ue||(ue[y]=x.test(y)),ue[y]?parseFloat(a)||0:a}function Oe(le,y){var a=arguments.length,b=Me(le);return y=Be[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,a===1?b:Le(le,y,b[y]||le.style[y])}function se(le,y,a){var b=arguments.length;if(y=Be[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,b===3)return typeof a=="number"&&x.test(y)&&(a="".concat(a,"px")),le.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&se(le,E,y[E]);return Me(le)}function ct(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function ot(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function Ve(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:y}}function Ue(){var le=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:le,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(le){var y=le.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)}}},24514:function(Ut,Kt,te){"use strict";te.d(Kt,{G:function(){return Me}});var x=te(47273),ue=function(Oe){if((0,x.Z)()&&window.document.documentElement){var se=Array.isArray(Oe)?Oe:[Oe],ct=window.document.documentElement;return se.some(function(ot){return ot in ct.style})}return!1},Be=function(Oe,se){if(!ue(Oe))return!1;var ct=document.createElement("div"),ot=ct.style[Oe];return ct.style[Oe]=se,ct.style[Oe]!==ot};function Me(Le,Oe){return!Array.isArray(Le)&&Oe!==void 0?Be(Le,Oe):ue(Le)}},78113:function(Ut,Kt,te){"use strict";te.d(Kt,{Z5:function(){return Yu},_l:function(){return Hd},bK:function(){return Au}});var x=te(59301),ue=te(2505);function Be(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Me=te(92413),Le=te(59781),Oe=x.createContext(null),se=null;function ct(ee){ee()}var ot=ct,Ve=function(ae){return ot=ae},Ue=function(){return ot};function tt(){var ee=Ue(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ee(function(){for(var Pe=ae;Pe;)Pe.callback(),Pe=Pe.next})},get:function(){for(var Pe=[],Ee=ae;Ee;)Pe.push(Ee),Ee=Ee.next;return Pe},subscribe:function(Pe){var Ee=!0,we=oe={callback:Pe,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 le(ee,ae){var oe,de=Je;function Pe(Et){return mt(),de.subscribe(Et)}function Ee(){de.notify()}function we(){Ot.onStateChange&&Ot.onStateChange()}function Re(){return!!oe}function mt(){oe||(oe=ae?ae.addNestedSub(we):ee.subscribe(we),de=tt())}function Tt(){oe&&(oe(),oe=void 0,de.clear(),de=Je)}var Ot={addNestedSub:Pe,notifyNestedSubs:Ee,handleChangeWrapper:we,isSubscribed:Re,trySubscribe:mt,tryUnsubscribe:Tt,getListeners:function(){return de}};return Ot}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect;function a(ee){var ae=ee.store,oe=ee.context,de=ee.children,Pe=(0,x.useMemo)(function(){var Re=le(ae);return{store:ae,subscription:Re}},[ae]),Ee=(0,x.useMemo)(function(){return ae.getState()},[ae]);y(function(){var Re=Pe.subscription;return Re.onStateChange=Re.notifyNestedSubs,Re.trySubscribe(),Ee!==ae.getState()&&Re.notifyNestedSubs(),function(){Re.tryUnsubscribe(),Re.onStateChange=null}},[Pe,Ee]);var we=oe||Oe;return x.createElement(we.Provider,{value:Pe},de)}var b=a,E=te(96529),z=te(94266),ne=te.n(z),re=te(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],me=["reactReduxForwardedRef"],pe=[],ye=[null,null],je=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function De(ee,ae){var oe=ee[1];return[ae.payload,oe+1]}function Qe(ee,ae,oe){y(function(){return ee.apply(void 0,ae)},oe)}function he(ee,ae,oe,de,Pe,Ee,we){ee.current=de,ae.current=Pe,oe.current=!1,Ee.current&&(Ee.current=null,we())}function Te(ee,ae,oe,de,Pe,Ee,we,Re,mt,Tt){if(ee){var Ot=!1,Et=null,Ct=function(){if(!Ot){var xa=ae.getState(),Na,Oa;try{Na=de(xa,Pe.current)}catch(Ya){Oa=Ya,Et=Ya}Oa||(Et=null),Na===Ee.current?we.current||mt():(Ee.current=Na,Re.current=Na,we.current=!0,Tt({type:"STORE_UPDATED",payload:{error:Oa}}))}};oe.onStateChange=Ct,oe.trySubscribe(),Ct();var Vt=function(){if(Ot=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Et)throw Et};return Vt}}var Ye=function(){return[null,0]};function bt(ee,ae){ae===void 0&&(ae={});var oe=ae,de=oe.getDisplayName,Pe=de===void 0?function(Mr){return"ConnectAdvanced("+Mr+")"}:de,Ee=oe.methodName,we=Ee===void 0?"connectAdvanced":Ee,Re=oe.renderCountProp,mt=Re===void 0?void 0:Re,Tt=oe.shouldHandleStateChanges,Ot=Tt===void 0?!0:Tt,Et=oe.storeKey,Ct=Et===void 0?"store":Et,Vt=oe.withRef,wn=Vt===void 0?!1:Vt,xa=oe.forwardRef,Na=xa===void 0?!1:xa,Oa=oe.context,Ya=Oa===void 0?Oe:Oa,ir=(0,E.Z)(oe,ie);if(0)var dr;var Hr=Ya;return function(to){var zo=to.displayName||to.name||"Component",so=Pe(zo),Ho=(0,Me.Z)({},ir,{getDisplayName:Pe,methodName:we,renderCountProp:mt,shouldHandleStateChanges:Ot,storeKey:Ct,displayName:so,wrappedComponentName:zo,WrappedComponent:to}),ai=ir.pure;function li(si){return ee(si.dispatch,Ho)}var ji=ai?x.useMemo:function(si){return si()};function Di(si){var el=(0,x.useMemo)(function(){var Bs=si.reactReduxForwardedRef,du=(0,E.Z)(si,me);return[si.context,Bs,du]},[si]),Ki=el[0],Cs=el[1],Sl=el[2],tl=(0,x.useMemo)(function(){return Ki&&Ki.Consumer&&(0,re.isContextConsumer)(x.createElement(Ki.Consumer,null))?Ki:Hr},[Ki,Hr]),Wi=(0,x.useContext)(tl),Pl=!!si.store&&!!si.store.getState&&!!si.store.dispatch,Hs=!!Wi&&!!Wi.store,Ui=Pl?si.store:Wi.store,xs=(0,x.useMemo)(function(){return li(Ui)},[Ui]),js=(0,x.useMemo)(function(){if(!Ot)return ye;var Bs=le(Ui,Pl?null:Wi.subscription),du=Bs.notifyNestedSubs.bind(Bs);return[Bs,du]},[Ui,Pl,Wi]),$l=js[0],Gs=js[1],Ks=(0,x.useMemo)(function(){return Pl?Wi:(0,Me.Z)({},Wi,{subscription:$l})},[Pl,Wi,$l]),Du=(0,x.useReducer)(De,pe,Ye),Vd=Du[0],Ws=Vd[0],$d=Du[1];if(Ws&&Ws.error)throw Ws.error;var Nu=(0,x.useRef)(),lu=(0,x.useRef)(Sl),Us=(0,x.useRef)(),Iu=(0,x.useRef)(!1),su=ji(function(){return Us.current&&Sl===lu.current?Us.current:xs(Ui.getState(),Sl)},[Ui,Ws,Sl]);Qe(he,[lu,Nu,Iu,Sl,su,Us,Gs]),Qe(Te,[Ot,Ui,$l,xs,lu,Nu,Iu,Us,Gs,$d],[Ui,$l,xs]);var uu=(0,x.useMemo)(function(){return x.createElement(to,(0,Me.Z)({},su,{ref:Cs}))},[Cs,to,su]),Qd=(0,x.useMemo)(function(){return Ot?x.createElement(tl.Provider,{value:Ks},uu):uu},[tl,uu,Ks]);return Qd}var Ei=ai?x.memo(Di):Di;if(Ei.WrappedComponent=to,Ei.displayName=Di.displayName=so,Na){var Gi=x.forwardRef(function(el,Ki){return x.createElement(Ei,(0,Me.Z)({},el,{reactReduxForwardedRef:Ki}))});return Gi.displayName=so,Gi.WrappedComponent=to,ne()(Gi,to)}return ne()(Ei,to)}}function Ne(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function ut(ee,ae){if(Ne(ee,ae))return!0;if(typeof ee!="object"||ee===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ee),de=Object.keys(ae);if(oe.length!==de.length)return!1;for(var Pe=0;Pe=0;de--){var Pe=ae[de](ee);if(Pe)return Pe}return function(Ee,we){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+we.wrappedComponentName+".")}}function qe(ee,ae){return ee===ae}function Rt(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,de=oe===void 0?bt:oe,Pe=ae.mapStateToPropsFactories,Ee=Pe===void 0?hn:Pe,we=ae.mapDispatchToPropsFactories,Re=we===void 0?nt:we,mt=ae.mergePropsFactories,Tt=mt===void 0?Gt:mt,Ot=ae.selectorFactory,Et=Ot===void 0?ze:Ot;return function(Vt,wn,xa,Na){Na===void 0&&(Na={});var Oa=Na,Ya=Oa.pure,ir=Ya===void 0?!0:Ya,dr=Oa.areStatesEqual,Hr=dr===void 0?qe:dr,Mr=Oa.areOwnPropsEqual,to=Mr===void 0?ut:Mr,zo=Oa.areStatePropsEqual,so=zo===void 0?ut:zo,Ho=Oa.areMergedPropsEqual,ai=Ho===void 0?ut:Ho,li=(0,E.Z)(Oa,ve),ji=fe(Vt,Ee,"mapStateToProps"),Di=fe(wn,Re,"mapDispatchToProps"),Ei=fe(xa,Tt,"mergeProps");return de(Et,(0,Me.Z)({methodName:"connect",getDisplayName:function(si){return"Connect("+si+")"},shouldHandleStateChanges:!!Vt,initMapStateToProps:ji,initMapDispatchToProps:Di,initMergeProps:Ei,pure:ir,areStatesEqual:Hr,areOwnPropsEqual:to,areStatePropsEqual:so,areMergedPropsEqual:ai},li))}}var Fe=Rt();function xe(){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 de=ae(),Pe=de.store;return Pe}}var Xe=null;function Ae(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ae();return de.dispatch}}var ft=null,vn=function(ae,oe){return ae===oe};function Qt(ee,ae,oe,de){var Pe=useReducer(function(wn){return wn+1},0),Ee=Pe[1],we=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Re=useRef(),mt=useRef(),Tt=useRef(),Ot=useRef(),Et=oe.getState(),Ct;try{if(ee!==mt.current||Et!==Tt.current||Re.current){var Vt=ee(Et);Ot.current===void 0||!ae(Vt,Ot.current)?Ct=Vt:Ct=Ot.current}else Ct=Ot.current}catch(wn){throw Re.current&&(wn.message+=` + `]:Object.assign(Object.assign({},(0,zn.dF)()),{display:"inline-block",width:"100%",[`${gn}${gn}-select`]:{width:Dn,height:Dn,marginInlineEnd:Ge.marginXS,marginBottom:Ge.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ge.colorFillAlter,border:`${Ge.lineWidth}px dashed ${Ge.colorBorder}`,borderRadius:Ge.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ge.motionDurationSlow}`,[`> ${gn}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${gn}-disabled):hover`]:{borderColor:Ge.colorPrimary}},[`${Zn}${Zn}-picture-card, ${Zn}${Zn}-picture-circle`]:{[`${Zn}-item-container`]:{display:"inline-block",width:Dn,height:Dn,marginBlock:`0 ${Ge.marginXS}px`,marginInline:`0 ${Ge.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[An]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ge.paddingXS*2}px)`,height:`calc(100% - ${Ge.paddingXS*2}px)`,backgroundColor:Ge.colorBgMask,opacity:0,transition:`all ${Ge.motionDurationSlow}`,content:'" "'}},[`${An}:hover`]:{[`&::before, ${An}-actions`]:{opacity:1}},[`${An}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ge.motionDurationSlow}`,[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{zIndex:10,width:yn,margin:`0 ${Ge.marginXXS}px`,fontSize:yn,cursor:"pointer",transition:`all ${Ge.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${An}-actions, ${An}-actions:hover`]:{[`${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{color:new mn.C(In).setAlpha(.65).toRgbString(),"&:hover":{color:In}}},[`${An}-thumbnail, ${An}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${An}-name`]:{display:"none",textAlign:"center"},[`${An}-file + ${An}-name`]:{position:"absolute",bottom:Ge.margin,display:"block",width:`calc(100% - ${Ge.paddingXS*2}px)`},[`${An}-uploading`]:{[`&${An}`]:{backgroundColor:Ge.colorFillAlter},[`&::before, ${Jt}-eye, ${Jt}-download, ${Jt}-delete`]:{display:"none"}},[`${An}-progress`]:{bottom:Ge.marginXL,width:`calc(100% - ${Ge.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${gn}-wrapper${gn}-picture-circle-wrapper`]:{[`${gn}${gn}-select`]:{borderRadius:"50%"}}}};var ln=Ge=>{const{componentCls:gn}=Ge;return{[`${gn}-rtl`]:{direction:"rtl"}}};const Nn=Ge=>{const{componentCls:gn,colorTextDisabled:Jt}=Ge;return{[`${gn}-wrapper`]:Object.assign(Object.assign({},(0,zn.Wf)(Ge)),{[gn]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${gn}-select`]:{display:"inline-block"},[`${gn}-disabled`]:{color:Jt,cursor:"not-allowed"}})}};var bn=(0,Ea.Z)("Upload",Ge=>{const{fontSizeHeading3:gn,fontSize:Jt,lineHeight:yn,lineWidth:In,controlHeightLG:Zn}=Ge,An=Math.round(Jt*yn),Dn=(0,_n.TS)(Ge,{uploadThumbnailSize:gn*2,uploadProgressOffset:An/2+In,uploadPicCardSize:Zn*2.55});return[Nn(Dn),en(Dn),st(Dn),Pt(Dn),Mn(Dn),tn(Dn),ln(Dn),(0,Pa.Z)(Dn)]},Ge=>({actionsColor:Ge.colorTextDescription})),la=function(Ge,gn,Jt,yn){function In(Zn){return Zn instanceof Jt?Zn:new Jt(function(An){An(Zn)})}return new(Jt||(Jt=Promise))(function(Zn,An){function Dn(fn){try{La(yn.next(fn))}catch(Na){An(Na)}}function Fa(fn){try{La(yn.throw(fn))}catch(Na){An(Na)}}function La(fn){fn.done?Zn(fn.value):In(fn.value).then(Dn,Fa)}La((yn=yn.apply(Ge,gn||[])).next())})};const Hn=`__LIST_IGNORE_${Date.now()}__`,lt=(Ge,gn)=>{const{fileList:Jt,defaultFileList:yn,onRemove:In,showUploadList:Zn=!0,listType:An="text",onPreview:Dn,onDownload:Fa,onChange:La,onDrop:fn,previewFile:Na,disabled:Yn,locale:qa,iconRender:Ja,isImageUrl:Wn,progress:sa,prefixCls:ma,className:ra,type:Ua="select",children:rr,style:Ga,itemRender:za,maxCount:lr,data:Vr={},multiple:Ir=!1,action:uo="",accept:yr="",supportServerRender:Sr=!0,rootClassName:Ar}=Ge,br=x.useContext(gt.Z),Br=Yn!=null?Yn:br,[Ta,or]=(0,ut.Z)(yn||[],{value:Jt,postState:Bn=>Bn!=null?Bn:[]}),[Lr,Or]=x.useState("drop"),Cr=x.useRef(null);x.useMemo(()=>{const Bn=Date.now();(Jt||[]).forEach((On,Aa)=>{!On.uid&&!Object.isFrozen(On)&&(On.uid=`__AUTO__${Bn}_${Aa}__`)})},[Jt]);const $r=(Bn,On,Aa)=>{let Xn=(0,ue.Z)(On),ca=!1;lr===1?Xn=Xn.slice(-1):lr&&(ca=Xn.length>lr,Xn=Xn.slice(0,lr)),(0,Bt.flushSync)(()=>{or(Xn)});const pa={file:Bn,fileList:Xn};Aa&&(pa.event=Aa),(!ca||Xn.some(Va=>Va.uid===Bn.uid))&&(0,Bt.flushSync)(()=>{La==null||La(pa)})},jr=(Bn,On)=>la(void 0,void 0,void 0,function*(){const{beforeUpload:Aa,transformFile:Xn}=Ge;let ca=Bn;if(Aa){const pa=yield Aa(Bn,On);if(pa===!1)return!1;if(delete Bn[Hn],pa===Hn)return Object.defineProperty(Bn,Hn,{value:!0,configurable:!0}),!1;typeof pa=="object"&&pa&&(ca=pa)}return Xn&&(ca=yield Xn(ca)),ca}),Xa=Bn=>{const On=Bn.filter(ca=>!ca.file[Hn]);if(!On.length)return;const Aa=On.map(ca=>Xe(ca.file));let Xn=(0,ue.Z)(Ta);Aa.forEach(ca=>{Xn=Ae(ca,Xn)}),Aa.forEach((ca,pa)=>{let Va=ca;if(On[pa].parsedFile)ca.status="uploading";else{const{originFileObj:vr}=ca;let _r;try{_r=new File([vr],vr.name,{type:vr.type})}catch(kr){_r=new Blob([vr],{type:vr.type}),_r.name=vr.name,_r.lastModifiedDate=new Date,_r.lastModified=new Date().getTime()}_r.uid=ca.uid,Va=_r}$r(Va,Xn)})},wr=(Bn,On,Aa)=>{try{typeof Bn=="string"&&(Bn=JSON.parse(Bn))}catch(pa){}if(!ft(On,Ta))return;const Xn=Xe(On);Xn.status="done",Xn.percent=100,Xn.response=Bn,Xn.xhr=Aa;const ca=Ae(Xn,Ta);$r(Xn,ca)},pr=(Bn,On)=>{if(!ft(On,Ta))return;const Aa=Xe(On);Aa.status="uploading",Aa.percent=Bn.percent;const Xn=Ae(Aa,Ta);$r(Aa,Xn,Bn)},Qr=(Bn,On,Aa)=>{if(!ft(Aa,Ta))return;const Xn=Xe(Aa);Xn.error=Bn,Xn.response=On,Xn.status="error";const ca=Ae(Xn,Ta);$r(Xn,ca)},no=Bn=>{let On;Promise.resolve(typeof In=="function"?In(Bn):In).then(Aa=>{var Xn;if(Aa===!1)return;const ca=vn(Bn,Ta);ca&&(On=Object.assign(Object.assign({},Bn),{status:"removed"}),Ta==null||Ta.forEach(pa=>{const Va=On.uid!==void 0?"uid":"name";pa[Va]===On[Va]&&!Object.isFrozen(pa)&&(pa.status="removed")}),(Xn=Cr.current)===null||Xn===void 0||Xn.abort(On),$r(On,ca))})},Bo=Bn=>{Or(Bn.type),Bn.type==="drop"&&(fn==null||fn(Bn))};x.useImperativeHandle(gn,()=>({onBatchStart:Xa,onSuccess:wr,onProgress:pr,onError:Qr,fileList:Ta,upload:Cr.current}));const{getPrefixCls:To,direction:ko,upload:Dr}=x.useContext(yt.E_),Yr=To("upload",ma),Po=Object.assign(Object.assign({onBatchStart:Xa,onError:Qr,onProgress:pr,onSuccess:wr},Ge),{data:Vr,multiple:Ir,action:uo,accept:yr,supportServerRender:Sr,prefixCls:Yr,disabled:Br,beforeUpload:jr,onChange:void 0});delete Po.className,delete Po.style,(!rr||Br)&&delete Po.id;const[$o,jo]=bn(Yr),[ei]=(0,Yt.Z)("Upload",vt.Z.Upload),{showRemoveIcon:$a,showPreviewIcon:fa,showDownloadIcon:Tn,removeIcon:Ba,previewIcon:gr,downloadIcon:Ce}=typeof Zn=="boolean"?{}:Zn,sn=(Bn,On)=>Zn?x.createElement(aa,{prefixCls:Yr,listType:An,items:Ta,previewFile:Na,onPreview:Dn,onDownload:Fa,onRemove:no,showRemoveIcon:!Br&&$a,showPreviewIcon:fa,showDownloadIcon:Tn,removeIcon:Ba,previewIcon:gr,downloadIcon:Ce,iconRender:Ja,locale:Object.assign(Object.assign({},ei),qa),isImageUrl:Wn,progress:sa,appendAction:Bn,appendActionVisible:On,itemRender:za,disabled:Br}):Bn,Cn=Me()(`${Yr}-wrapper`,ra,Ar,jo,Dr==null?void 0:Dr.className,{[`${Yr}-rtl`]:ko==="rtl",[`${Yr}-picture-card-wrapper`]:An==="picture-card",[`${Yr}-picture-circle-wrapper`]:An==="picture-circle"}),Kn=Object.assign(Object.assign({},Dr==null?void 0:Dr.style),Ga);if(Ua==="drag"){const Bn=Me()(jo,Yr,`${Yr}-drag`,{[`${Yr}-drag-uploading`]:Ta.some(On=>On.status==="uploading"),[`${Yr}-drag-hover`]:Lr==="dragover",[`${Yr}-disabled`]:Br,[`${Yr}-rtl`]:ko==="rtl"});return $o(x.createElement("span",{className:Cn},x.createElement("div",{className:Bn,style:Kn,onDrop:Bo,onDragOver:Bo,onDragLeave:Bo},x.createElement(Ne,Object.assign({},Po,{ref:Cr,className:`${Yr}-btn`}),x.createElement("div",{className:`${Yr}-drag-container`},rr))),sn()))}const an=Me()(Yr,`${Yr}-select`,{[`${Yr}-disabled`]:Br}),ta=(Bn=>x.createElement("div",{className:an,style:Bn},x.createElement(Ne,Object.assign({},Po,{ref:Cr}))))(rr?void 0:{display:"none"});return $o(An==="picture-card"||An==="picture-circle"?x.createElement("span",{className:Cn},sn(ta,!!rr)):x.createElement("span",{className:Cn},ta,sn()))};var Jn=x.forwardRef(lt),nn=function(Ge,gn){var Jt={};for(var yn in Ge)Object.prototype.hasOwnProperty.call(Ge,yn)&&gn.indexOf(yn)<0&&(Jt[yn]=Ge[yn]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var In=0,yn=Object.getOwnPropertySymbols(Ge);In{var{style:Jt,height:yn}=Ge,In=nn(Ge,["style","height"]);return x.createElement(Jn,Object.assign({ref:gn},In,{type:"drag",style:Object.assign(Object.assign({},Jt),{height:yn})}))});const Ra=Jn;Ra.Dragger=ea,Ra.LIST_IGNORE=Hn;var va=Ra},24334:function(Ut,Kt,te){var x,ue;(function(Be,Me){Ut.exports=Me(Be)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof te.g!="undefined"?te.g:this,function(Be){"use strict";Be=Be||{};var Me=Be.Base64,Le="2.6.4",Oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(Ye){for(var bt={},Ne=0,ut=Ye.length;Ne>>6)+ct(128|bt&63):ct(224|bt>>>12&15)+ct(128|bt>>>6&63)+ct(128|bt&63)}else{var bt=65536+(Ye.charCodeAt(0)-55296)*1024+(Ye.charCodeAt(1)-56320);return ct(240|bt>>>18&7)+ct(128|bt>>>12&63)+ct(128|bt>>>6&63)+ct(128|bt&63)}},Ve=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Ue=function(Ye){return Ye.replace(Ve,ot)},tt=function(Ye){var bt=[0,2,1][Ye.length%3],Ne=Ye.charCodeAt(0)<<16|(Ye.length>1?Ye.charCodeAt(1):0)<<8|(Ye.length>2?Ye.charCodeAt(2):0),ut=[Oe.charAt(Ne>>>18),Oe.charAt(Ne>>>12&63),bt>=2?"=":Oe.charAt(Ne>>>6&63),bt>=1?"=":Oe.charAt(Ne&63)];return ut.join("")},Je=Be.btoa&&typeof Be.btoa=="function"?function(Ye){return Be.btoa(Ye)}:function(Ye){if(Ye.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ye.replace(/[\s\S]{1,3}/g,tt)},le=function(Ye){return Je(Ue(String(Ye)))},y=function(Ye){return Ye.replace(/[+\/]/g,function(bt){return bt=="+"?"-":"_"}).replace(/=/g,"")},a=function(Ye,bt){return bt?y(le(Ye)):le(Ye)},b=function(Ye){return a(Ye,!0)},E;Be.Uint8Array&&(E=function(Ye,bt){for(var Ne="",ut=0,Bt=Ye.length;ut>>18)+Oe.charAt(vt>>>12&63)+(typeof gt!="undefined"?Oe.charAt(vt>>>6&63):"=")+(typeof Yt!="undefined"?Oe.charAt(vt&63):"=")}return bt?y(Ne):Ne});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ne=function(Ye){switch(Ye.length){case 4:var bt=(7&Ye.charCodeAt(0))<<18|(63&Ye.charCodeAt(1))<<12|(63&Ye.charCodeAt(2))<<6|63&Ye.charCodeAt(3),Ne=bt-65536;return ct((Ne>>>10)+55296)+ct((Ne&1023)+56320);case 3:return ct((15&Ye.charCodeAt(0))<<12|(63&Ye.charCodeAt(1))<<6|63&Ye.charCodeAt(2));default:return ct((31&Ye.charCodeAt(0))<<6|63&Ye.charCodeAt(1))}},re=function(Ye){return Ye.replace(z,ne)},ie=function(Ye){var bt=Ye.length,Ne=bt%4,ut=(bt>0?se[Ye.charAt(0)]<<18:0)|(bt>1?se[Ye.charAt(1)]<<12:0)|(bt>2?se[Ye.charAt(2)]<<6:0)|(bt>3?se[Ye.charAt(3)]:0),Bt=[ct(ut>>>16),ct(ut>>>8&255),ct(ut&255)];return Bt.length-=[0,0,2,1][Ne],Bt.join("")},me=Be.atob&&typeof Be.atob=="function"?function(Ye){return Be.atob(Ye)}:function(Ye){return Ye.replace(/\S{1,4}/g,ie)},pe=function(Ye){return me(String(Ye).replace(/[^A-Za-z0-9\+\/]/g,""))},ye=function(Ye){return re(me(Ye))},je=function(Ye){return String(Ye).replace(/[-_]/g,function(bt){return bt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},De=function(Ye){return ye(je(Ye))},Qe;Be.Uint8Array&&(Qe=function(Ye){return Uint8Array.from(pe(je(Ye)),function(bt){return bt.charCodeAt(0)})});var he=function(){var Ye=Be.Base64;return Be.Base64=Me,Ye};if(Be.Base64={VERSION:Le,atob:pe,btoa:Je,fromBase64:De,toBase64:a,utob:Ue,encode:a,encodeURI:b,btou:re,decode:De,noConflict:he,fromUint8Array:E,toUint8Array:Qe},typeof Object.defineProperty=="function"){var Te=function(Ye){return{value:Ye,enumerable:!1,writable:!0,configurable:!0}};Be.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Te(function(){return De(this)})),Object.defineProperty(String.prototype,"toBase64",Te(function(Ye){return a(this,Ye)})),Object.defineProperty(String.prototype,"toBase64URI",Te(function(){return a(this,!0)}))}}return Be.Meteor&&(Base64=Be.Base64),Ut.exports?Ut.exports.Base64=Be.Base64:(x=[],ue=function(){return Be.Base64}.apply(Kt,x),ue!==void 0&&(Ut.exports=ue)),{Base64:Be.Base64}})},39417:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ye}});var x=te(92413),ue=te(400),Be=te(37061),Me=te(33708),Le=te(6909),Oe=te(4771),se=te(25314),ct=te(9427),ot=te(25440),Ve=te(92310),Ue=te.n(Ve),tt=te(26112),Je=te(59301),le=te(39378),y=function(De){for(var Qe=De.prefixCls,he=De.level,Te=De.isStart,Ye=De.isEnd,bt="".concat(Qe,"-indent-unit"),Ne=[],ut=0;ut0&&arguments[0]!==void 0?arguments[0]:[],ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=rt.length,fe=ze.length;if(Math.abs(ve-fe)!==1)return{add:!1,key:null};function qe(Rt,Fe){var xe=new Map;Rt.forEach(function(Xe){xe.set(Xe,!0)});var at=Fe.filter(function(Xe){return!xe.has(Xe)});return at.length===1?at[0]:null}return ve ").concat(ze);return ze}var qt=a.forwardRef(function(rt,ze){var ve=rt.prefixCls,fe=rt.data,qe=rt.selectable,Rt=rt.checkable,Fe=rt.expandedKeys,xe=rt.selectedKeys,at=rt.checkedKeys,Xe=rt.loadedKeys,Ae=rt.loadingKeys,ft=rt.halfCheckedKeys,vn=rt.keyEntities,Qt=rt.disabled,jt=rt.dragging,on=rt.dragOverNodeKey,cn=rt.dropPosition,_e=rt.motion,Ft=rt.height,Lt=rt.itemHeight,St=rt.virtual,Dt=rt.focusable,pn=rt.activeItem,Pn=rt.focused,Sn=rt.tabIndex,Rn=rt.onKeyDown,na=rt.onFocus,aa=rt.onBlur,zn=rt.onActiveChange,Pa=rt.onListChangeStart,Ea=rt.onListChangeEnd,_n=(0,re.Z)(rt,ut),wa=a.useRef(null),en=a.useRef(null);a.useImperativeHandle(ze,function(){return{scrollTo:function(va){wa.current.scrollTo(va)},getIndentWidth:function(){return en.current.offsetWidth}}});var En=a.useState(Fe),Mn=(0,ne.Z)(En,2),$n=Mn[0],Ze=Mn[1],Nt=a.useState(fe),kt=(0,ne.Z)(Nt,2),Wt=kt[0],tn=kt[1],Ht=a.useState(fe),mn=(0,ne.Z)(Ht,2),st=mn[0],Pt=mn[1],dt=a.useState([]),ln=(0,ne.Z)(dt,2),Nn=ln[0],bn=ln[1],la=a.useState(null),Hn=(0,ne.Z)(la,2),lt=Hn[0],$t=Hn[1],Jn=a.useRef(fe);Jn.current=fe;function nn(){var Ra=Jn.current;tn(Ra),Pt(Ra),bn([]),$t(null),Ea()}(0,ie.Z)(function(){Ze(Fe);var Ra=bt($n,Fe);if(Ra.key!==null)if(Ra.add){var va=Wt.findIndex(function(Zn){var An=Zn.key;return An===Ra.key}),Ge=xn(Ne(Wt,fe,Ra.key),St,Ft,Lt),gn=Wt.slice();gn.splice(va+1,0,rn),Pt(gn),bn(Ge),$t("show")}else{var Jt=fe.findIndex(function(Zn){var An=Zn.key;return An===Ra.key}),yn=xn(Ne(fe,Wt,Ra.key),St,Ft,Lt),In=fe.slice();In.splice(Jt+1,0,rn),Pt(In),bn(yn),$t("hide")}else Wt!==fe&&(tn(fe),Pt(fe))},[Fe,fe]),a.useEffect(function(){jt||nn()},[jt]);var kn=_e?st:fe,ea={expandedKeys:Fe,selectedKeys:xe,loadedKeys:Xe,loadingKeys:Ae,checkedKeys:at,halfCheckedKeys:ft,dragOverNodeKey:on,dropPosition:cn,keyEntities:vn};return a.createElement(a.Fragment,null,Pn&&pn&&a.createElement("span",{style:Bt,"aria-live":"assertive"},et(pn)),a.createElement("div",null,a.createElement("input",{style:Bt,disabled:Dt===!1||Qt,tabIndex:Dt!==!1?Sn:null,onKeyDown:Rn,onFocus:na,onBlur:aa,value:"",onChange:yt,"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:en,className:"".concat(ve,"-indent-unit")}))),a.createElement(me.Z,(0,x.Z)({},_n,{data:kn,itemKey:nt,height:Ft,fullHeight:!1,virtual:St,itemHeight:Lt,prefixCls:"".concat(ve,"-list"),ref:wa,onVisibleChange:function(va,Ge){var gn=new Set(va),Jt=Ge.filter(function(yn){return!gn.has(yn)});Jt.some(function(yn){return nt(yn)===gt})&&nn()}}),function(Ra){var va=Ra.pos,Ge=(0,x.Z)({},(z(Ra.data),Ra.data)),gn=Ra.title,Jt=Ra.key,yn=Ra.isStart,In=Ra.isEnd,Zn=(0,De.km)(Jt,va);delete Ge.key,delete Ge.children;var An=(0,De.H8)(Zn,ea);return a.createElement(Ye,(0,x.Z)({},Ge,An,{title:gn,active:!!pn&&Jt===pn.key,pos:va,data:Ra.data,isStart:yn,isEnd:In,motion:_e,motionNodes:Jt===gt?Nn:null,motionType:lt,onMotionStart:Pa,onMotionEnd:nn,treeNodeRequiredProps:ea,onMouseMove:function(){zn(null)}}))}))});qt.displayName="NodeList";var hn=qt,Zt=te(35654),dn=te(90782),We=te(67841),It=10,Gt=function(rt){(0,ot.Z)(ve,rt);var ze=(0,Ve.Z)(ve);function ve(){var fe;(0,Oe.Z)(this,ve);for(var qe=arguments.length,Rt=new Array(qe),Fe=0;Fe2&&arguments[2]!==void 0?arguments[2]:!1,ft=fe.state,vn=ft.dragChildrenKeys,Qt=ft.dropPosition,jt=ft.dropTargetKey,on=ft.dropTargetPos,cn=ft.dropAllowed;if(cn){var _e=fe.props.onDrop;if(fe.setState({dragOverNodeKey:null}),fe.cleanDragState(),jt!==null){var Ft=(0,Me.Z)((0,Me.Z)({},(0,De.H8)(jt,fe.getTreeNodeRequiredProps())),{},{active:((Xe=fe.getActiveItem())===null||Xe===void 0?void 0:Xe.key)===jt,data:(0,We.Z)(fe.state.keyEntities,jt).node}),Lt=vn.indexOf(jt)!==-1;(0,y.ZP)(!Lt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var St=(0,Zt.yx)(on),Dt={event:xe,node:(0,De.F)(Ft),dragNode:fe.dragNode?(0,De.F)(fe.dragNode.props):null,dragNodesKeys:[fe.dragNode.props.eventKey].concat(vn),dropToGap:Qt!==0,dropPosition:Qt+Number(St[St.length-1])};Ae||_e==null||_e(Dt),fe.dragNode=null}}},fe.cleanDragState=function(){var xe=fe.state.draggingNodeKey;xe!==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(xe,at){var Xe=fe.state,Ae=Xe.expandedKeys,ft=Xe.flattenNodes,vn=at.expanded,Qt=at.key,jt=at.isLeaf;if(!(jt||xe.shiftKey||xe.metaKey||xe.ctrlKey)){var on=ft.filter(function(_e){return _e.key===Qt})[0],cn=(0,De.F)((0,Me.Z)((0,Me.Z)({},(0,De.H8)(Qt,fe.getTreeNodeRequiredProps())),{},{data:on.data}));fe.setExpandedKeys(vn?(0,Zt._5)(Ae,Qt):(0,Zt.L0)(Ae,Qt)),fe.onNodeExpand(xe,cn)}},fe.onNodeClick=function(xe,at){var Xe=fe.props,Ae=Xe.onClick,ft=Xe.expandAction;ft==="click"&&fe.triggerExpandActionExpand(xe,at),Ae==null||Ae(xe,at)},fe.onNodeDoubleClick=function(xe,at){var Xe=fe.props,Ae=Xe.onDoubleClick,ft=Xe.expandAction;ft==="doubleClick"&&fe.triggerExpandActionExpand(xe,at),Ae==null||Ae(xe,at)},fe.onNodeSelect=function(xe,at){var Xe=fe.state.selectedKeys,Ae=fe.state,ft=Ae.keyEntities,vn=Ae.fieldNames,Qt=fe.props,jt=Qt.onSelect,on=Qt.multiple,cn=at.selected,_e=at[vn.key],Ft=!cn;Ft?on?Xe=(0,Zt.L0)(Xe,_e):Xe=[_e]:Xe=(0,Zt._5)(Xe,_e);var Lt=Xe.map(function(St){var Dt=(0,We.Z)(ft,St);return Dt?Dt.node:null}).filter(function(St){return St});fe.setUncontrolledState({selectedKeys:Xe}),jt==null||jt(Xe,{event:"select",selected:Ft,node:at,selectedNodes:Lt,nativeEvent:xe.nativeEvent})},fe.onNodeCheck=function(xe,at,Xe){var Ae=fe.state,ft=Ae.keyEntities,vn=Ae.checkedKeys,Qt=Ae.halfCheckedKeys,jt=fe.props,on=jt.checkStrictly,cn=jt.onCheck,_e=at.key,Ft,Lt={event:"check",node:at,checked:Xe,nativeEvent:xe.nativeEvent};if(on){var St=Xe?(0,Zt.L0)(vn,_e):(0,Zt._5)(vn,_e),Dt=(0,Zt._5)(Qt,_e);Ft={checked:St,halfChecked:Dt},Lt.checkedNodes=St.map(function(aa){return(0,We.Z)(ft,aa)}).filter(function(aa){return aa}).map(function(aa){return aa.node}),fe.setUncontrolledState({checkedKeys:St})}else{var pn=(0,dn.S)([].concat((0,Le.Z)(vn),[_e]),!0,ft),Pn=pn.checkedKeys,Sn=pn.halfCheckedKeys;if(!Xe){var Rn=new Set(Pn);Rn.delete(_e);var na=(0,dn.S)(Array.from(Rn),{checked:!1,halfCheckedKeys:Sn},ft);Pn=na.checkedKeys,Sn=na.halfCheckedKeys}Ft=Pn,Lt.checkedNodes=[],Lt.checkedNodesPositions=[],Lt.halfCheckedKeys=Sn,Pn.forEach(function(aa){var zn=(0,We.Z)(ft,aa);if(zn){var Pa=zn.node,Ea=zn.pos;Lt.checkedNodes.push(Pa),Lt.checkedNodesPositions.push({node:Pa,pos:Ea})}}),fe.setUncontrolledState({checkedKeys:Pn},!1,{halfCheckedKeys:Sn})}cn==null||cn(Ft,Lt)},fe.onNodeLoad=function(xe){var at=xe.key,Xe=new Promise(function(Ae,ft){fe.setState(function(vn){var Qt=vn.loadedKeys,jt=Qt===void 0?[]:Qt,on=vn.loadingKeys,cn=on===void 0?[]:on,_e=fe.props,Ft=_e.loadData,Lt=_e.onLoad;if(!Ft||jt.indexOf(at)!==-1||cn.indexOf(at)!==-1)return null;var St=Ft(xe);return St.then(function(){var Dt=fe.state.loadedKeys,pn=(0,Zt.L0)(Dt,at);Lt==null||Lt(pn,{event:"load",node:xe}),fe.setUncontrolledState({loadedKeys:pn}),fe.setState(function(Pn){return{loadingKeys:(0,Zt._5)(Pn.loadingKeys,at)}}),Ae()}).catch(function(Dt){if(fe.setState(function(Pn){return{loadingKeys:(0,Zt._5)(Pn.loadingKeys,at)}}),fe.loadingRetryTimes[at]=(fe.loadingRetryTimes[at]||0)+1,fe.loadingRetryTimes[at]>=It){var pn=fe.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),fe.setUncontrolledState({loadedKeys:(0,Zt.L0)(pn,at)}),Ae()}ft(Dt)}),{loadingKeys:(0,Zt.L0)(cn,at)}})});return Xe.catch(function(){}),Xe},fe.onNodeMouseEnter=function(xe,at){var Xe=fe.props.onMouseEnter;Xe==null||Xe({event:xe,node:at})},fe.onNodeMouseLeave=function(xe,at){var Xe=fe.props.onMouseLeave;Xe==null||Xe({event:xe,node:at})},fe.onNodeContextMenu=function(xe,at){var Xe=fe.props.onRightClick;Xe&&(xe.preventDefault(),Xe({event:xe,node:at}))},fe.onFocus=function(){var xe=fe.props.onFocus;fe.setState({focused:!0});for(var at=arguments.length,Xe=new Array(at),Ae=0;Ae1&&arguments[1]!==void 0?arguments[1]:!1,Xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fe.destroyed){var Ae=!1,ft=!0,vn={};Object.keys(xe).forEach(function(Qt){if(Qt in fe.props){ft=!1;return}Ae=!0,vn[Qt]=xe[Qt]}),Ae&&(!at||ft)&&fe.setState((0,Me.Z)((0,Me.Z)({},vn),Xe))}},fe.scrollTo=function(xe){fe.listRef.current.scrollTo(xe)},fe}return(0,se.Z)(ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var qe=this.props.activeKey;qe!==void 0&&qe!==this.state.activeKey&&(this.setState({activeKey:qe}),qe!==null&&this.scrollTo({key:qe}))}},{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 qe,Rt=this.state,Fe=Rt.focused,xe=Rt.flattenNodes,at=Rt.keyEntities,Xe=Rt.draggingNodeKey,Ae=Rt.activeKey,ft=Rt.dropLevelOffset,vn=Rt.dropContainerKey,Qt=Rt.dropTargetKey,jt=Rt.dropPosition,on=Rt.dragOverNodeKey,cn=Rt.indent,_e=this.props,Ft=_e.prefixCls,Lt=_e.className,St=_e.style,Dt=_e.showLine,pn=_e.focusable,Pn=_e.tabIndex,Sn=Pn===void 0?0:Pn,Rn=_e.selectable,na=_e.showIcon,aa=_e.icon,zn=_e.switcherIcon,Pa=_e.draggable,Ea=_e.checkable,_n=_e.checkStrictly,wa=_e.disabled,en=_e.motion,En=_e.loadData,Mn=_e.filterTreeNode,$n=_e.height,Ze=_e.itemHeight,Nt=_e.virtual,kt=_e.titleRender,Wt=_e.dropIndicatorRender,tn=_e.onContextMenu,Ht=_e.onScroll,mn=_e.direction,st=_e.rootClassName,Pt=_e.rootStyle,dt=(0,le.Z)(this.props,{aria:!0,data:!0}),ln;return Pa&&((0,Be.Z)(Pa)==="object"?ln=Pa:typeof Pa=="function"?ln={nodeDraggable:Pa}:ln={}),a.createElement(b.k.Provider,{value:{prefixCls:Ft,selectable:Rn,showIcon:na,icon:aa,switcherIcon:zn,draggable:ln,draggingNodeKey:Xe,checkable:Ea,checkStrictly:_n,disabled:wa,keyEntities:at,dropLevelOffset:ft,dropContainerKey:vn,dropTargetKey:Qt,dropPosition:jt,dragOverNodeKey:on,indent:cn,direction:mn,dropIndicatorRender:Wt,loadData:En,filterTreeNode:Mn,titleRender:kt,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()(Ft,Lt,st,(qe={},(0,ue.Z)(qe,"".concat(Ft,"-show-line"),Dt),(0,ue.Z)(qe,"".concat(Ft,"-focused"),Fe),(0,ue.Z)(qe,"".concat(Ft,"-active-focused"),Ae!==null),qe)),style:Pt},a.createElement(hn,(0,x.Z)({ref:this.listRef,prefixCls:Ft,style:St,data:xe,disabled:wa,selectable:Rn,checkable:!!Ea,motion:en,dragging:Xe!==null,height:$n,itemHeight:Ze,virtual:Nt,focusable:pn,focused:Fe,tabIndex:Sn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:tn,onScroll:Ht},this.getTreeNodeRequiredProps(),dt))))}}],[{key:"getDerivedStateFromProps",value:function(qe,Rt){var Fe=Rt.prevProps,xe={prevProps:qe};function at(pn){return!Fe&&pn in qe||Fe&&Fe[pn]!==qe[pn]}var Xe,Ae=Rt.fieldNames;if(at("fieldNames")&&(Ae=(0,De.w$)(qe.fieldNames),xe.fieldNames=Ae),at("treeData")?Xe=qe.treeData:at("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Xe=(0,De.zn)(qe.children)),Xe){xe.treeData=Xe;var ft=(0,De.I8)(Xe,{fieldNames:Ae});xe.keyEntities=(0,Me.Z)((0,ue.Z)({},gt,vt),ft.keyEntities)}var vn=xe.keyEntities||Rt.keyEntities;if(at("expandedKeys")||Fe&&at("autoExpandParent"))xe.expandedKeys=qe.autoExpandParent||!Fe&&qe.defaultExpandParent?(0,Zt.r7)(qe.expandedKeys,vn):qe.expandedKeys;else if(!Fe&&qe.defaultExpandAll){var Qt=(0,Me.Z)({},vn);delete Qt[gt],xe.expandedKeys=Object.keys(Qt).map(function(pn){return Qt[pn].key})}else!Fe&&qe.defaultExpandedKeys&&(xe.expandedKeys=qe.autoExpandParent||qe.defaultExpandParent?(0,Zt.r7)(qe.defaultExpandedKeys,vn):qe.defaultExpandedKeys);if(xe.expandedKeys||delete xe.expandedKeys,Xe||xe.expandedKeys){var jt=(0,De.oH)(Xe||Rt.treeData,xe.expandedKeys||Rt.expandedKeys,Ae);xe.flattenNodes=jt}if(qe.selectable&&(at("selectedKeys")?xe.selectedKeys=(0,Zt.BT)(qe.selectedKeys,qe):!Fe&&qe.defaultSelectedKeys&&(xe.selectedKeys=(0,Zt.BT)(qe.defaultSelectedKeys,qe))),qe.checkable){var on;if(at("checkedKeys")?on=(0,Zt.E6)(qe.checkedKeys)||{}:!Fe&&qe.defaultCheckedKeys?on=(0,Zt.E6)(qe.defaultCheckedKeys)||{}:Xe&&(on=(0,Zt.E6)(qe.checkedKeys)||{checkedKeys:Rt.checkedKeys,halfCheckedKeys:Rt.halfCheckedKeys}),on){var cn=on,_e=cn.checkedKeys,Ft=_e===void 0?[]:_e,Lt=cn.halfCheckedKeys,St=Lt===void 0?[]:Lt;if(!qe.checkStrictly){var Dt=(0,dn.S)(Ft,!0,vn);Ft=Dt.checkedKeys,St=Dt.halfCheckedKeys}xe.checkedKeys=Ft,xe.halfCheckedKeys=St}}return at("loadedKeys")&&(xe.loadedKeys=qe.loadedKeys),xe}}]),ve}(a.Component);Gt.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},Gt.TreeNode=ye.Z;var Mt=Gt,ht=Mt},35654:function(Ut,Kt,te){"use strict";te.d(Kt,{BT:function(){return a},E6:function(){return z},L0:function(){return Ve},OM:function(){return y},_5:function(){return ot},r7:function(){return ne},wA:function(){return tt},yx:function(){return Ue}});var x=te(26407),ue=te(39559),Be=te(48736),Me=te(59301),Le=te(39417),Oe=te(67841),se=te(71430),ct=null;function ot(re,ie){if(!re)return[];var me=re.slice(),pe=me.indexOf(ie);return pe>=0&&me.splice(pe,1),me}function Ve(re,ie){var me=(re||[]).slice();return me.indexOf(ie)===-1&&me.push(ie),me}function Ue(re){return re.split("-")}function tt(re,ie){var me=[],pe=(0,Oe.Z)(ie,re);function ye(){var je=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];je.forEach(function(De){var Qe=De.key,he=De.children;me.push(Qe),ye(he)})}return ye(pe.children),me}function Je(re){if(re.parent){var ie=Ue(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=Ue(re.pos);return Number(ie[ie.length-1])===0}function y(re,ie,me,pe,ye,je,De,Qe,he,Te){var Ye,bt=re.clientX,Ne=re.clientY,ut=re.target.getBoundingClientRect(),Bt=ut.top,yt=ut.height,gt=(Te==="rtl"?-1:1)*(((ye==null?void 0:ye.x)||0)-bt),Yt=(gt-12)/pe,vt=(0,Oe.Z)(Qe,me.props.eventKey);if(Ne-1.5?je({dragNode:It,dropNode:Gt,dropPosition:1})?Zt=1:Mt=!1:je({dragNode:It,dropNode:Gt,dropPosition:0})?Zt=0:je({dragNode:It,dropNode:Gt,dropPosition:1})?Zt=1:Mt=!1:je({dragNode:It,dropNode:Gt,dropPosition:1})?Zt=1:Mt=!1,{dropPosition:Zt,dropLevelOffset:dn,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:hn,dropContainerKey:Zt===0?null:((Ye=vt.parent)===null||Ye===void 0?void 0:Ye.key)||null,dropAllowed:Mt}}function a(re,ie){if(re){var me=ie.multiple;return me?re.slice():re.length?[re[0]]:re}}var b=function(ie){return ie};function E(re,ie){if(!re)return[];var me=ie||{},pe=me.processProps,ye=pe===void 0?b:pe,je=Array.isArray(re)?re:[re];return je.map(function(De){var Qe=De.children,he=_objectWithoutProperties(De,ct),Te=E(Qe,ie);return React.createElement(TreeNode,_extends({key:he.key},ye(he)),Te)})}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 me=new Set;function pe(ye){if(!me.has(ye)){var je=(0,Oe.Z)(ie,ye);if(je){me.add(ye);var De=je.parent,Qe=je.node;Qe.disabled||De&&pe(De.key)}}}return(re||[]).forEach(function(ye){pe(ye)}),(0,x.Z)(me)}},90782:function(Ut,Kt,te){"use strict";te.d(Kt,{S:function(){return se}});var x=te(48736),ue=te(67841);function Be(ct,ot){var Ve=new Set;return ct.forEach(function(Ue){ot.has(Ue)||Ve.add(Ue)}),Ve}function Me(ct){var ot=ct||{},Ve=ot.disabled,Ue=ot.disableCheckbox,tt=ot.checkable;return!!(Ve||Ue)||tt===!1}function Le(ct,ot,Ve,Ue){for(var tt=new Set(ct),Je=new Set,le=0;le<=Ve;le+=1){var y=ot.get(le)||new Set;y.forEach(function(z){var ne=z.key,re=z.node,ie=z.children,me=ie===void 0?[]:ie;tt.has(ne)&&!Ue(re)&&me.filter(function(pe){return!Ue(pe.node)}).forEach(function(pe){tt.add(pe.key)})})}for(var a=new Set,b=Ve;b>=0;b-=1){var E=ot.get(b)||new Set;E.forEach(function(z){var ne=z.parent,re=z.node;if(!(Ue(re)||!z.parent||a.has(z.parent.key))){if(Ue(z.parent.node)){a.add(ne.key);return}var ie=!0,me=!1;(ne.children||[]).filter(function(pe){return!Ue(pe.node)}).forEach(function(pe){var ye=pe.key,je=tt.has(ye);ie&&!je&&(ie=!1),!me&&(je||Je.has(ye))&&(me=!0)}),ie&&tt.add(ne.key),me&&Je.add(ne.key),a.add(ne.key)}})}return{checkedKeys:Array.from(tt),halfCheckedKeys:Array.from(Be(Je,tt))}}function Oe(ct,ot,Ve,Ue,tt){for(var Je=new Set(ct),le=new Set(ot),y=0;y<=Ue;y+=1){var a=Ve.get(y)||new Set;a.forEach(function(ne){var re=ne.key,ie=ne.node,me=ne.children,pe=me===void 0?[]:me;!Je.has(re)&&!le.has(re)&&!tt(ie)&&pe.filter(function(ye){return!tt(ye.node)}).forEach(function(ye){Je.delete(ye.key)})})}le=new Set;for(var b=new Set,E=Ue;E>=0;E-=1){var z=Ve.get(E)||new Set;z.forEach(function(ne){var re=ne.parent,ie=ne.node;if(!(tt(ie)||!ne.parent||b.has(ne.parent.key))){if(tt(ne.parent.node)){b.add(re.key);return}var me=!0,pe=!1;(re.children||[]).filter(function(ye){return!tt(ye.node)}).forEach(function(ye){var je=ye.key,De=Je.has(je);me&&!De&&(me=!1),!pe&&(De||le.has(je))&&(pe=!0)}),me||Je.delete(re.key),pe&&le.add(re.key),b.add(re.key)}})}return{checkedKeys:Array.from(Je),halfCheckedKeys:Array.from(Be(le,Je))}}function se(ct,ot,Ve,Ue){var tt=[],Je;Ue?Je=Ue:Je=Me;var le=new Set(ct.filter(function(E){var z=!!(0,ue.Z)(Ve,E);return z||tt.push(E),z})),y=new Map,a=0;Object.keys(Ve).forEach(function(E){var z=Ve[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,x.ZP)(!tt.length,"Tree missing follow keys: ".concat(tt.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return ot===!0?b=Le(le,y,a,Je):b=Oe(le,ot.halfCheckedKeys,y,a,Je),b}},67841:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return x}});function x(ue,Be){return ue[Be]}},71430:function(Ut,Kt,te){"use strict";te.d(Kt,{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 x=te(39559),ue=te(26407),Be=te(33708),Me=te(37061),Le=te(11592),Oe=te(2738),se=te(48736),ct=te(67841),ot=["children"];function Ve(re,ie){return"".concat(re,"-").concat(ie)}function Ue(re){return re&&re.type&&re.type.isTreeNode}function tt(re,ie){return re!=null?re:ie}function Je(re){var ie=re||{},me=ie.title,pe=ie._title,ye=ie.key,je=ie.children,De=me||"title";return{title:De,_title:pe||[De],key:ye||"key",children:je||"children"}}function le(re,ie){var me=new Map;function pe(ye){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ye||[]).forEach(function(De){var Qe=De[ie.key],he=De[ie.children];warning(Qe!=null,"Tree node must have a certain key: [".concat(je).concat(Qe,"]"));var Te=String(Qe);warning(!me.has(Te)||Qe===null||Qe===void 0,"Same 'key' exist in the Tree: ".concat(Te)),me.set(Te,!0),pe(he,"".concat(je).concat(Te," > "))})}pe(re)}function y(re){function ie(me){var pe=(0,Le.Z)(me);return pe.map(function(ye){if(!Ue(ye))return(0,se.ZP)(!ye,"Tree/TreeNode can only accept TreeNode as children."),null;var je=ye.key,De=ye.props,Qe=De.children,he=(0,Me.Z)(De,ot),Te=(0,Be.Z)({key:je},he),Ye=ie(Qe);return Ye.length&&(Te.children=Ye),Te}).filter(function(ye){return ye})}return ie(re)}function a(re,ie,me){var pe=Je(me),ye=pe._title,je=pe.key,De=pe.children,Qe=new Set(ie===!0?[]:ie),he=[];function Te(Ye){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ye.map(function(Ne,ut){for(var Bt=Ve(bt?bt.pos:"0",ut),yt=tt(Ne[je],Bt),gt,Yt=0;Yt1&&arguments[1]!==void 0?arguments[1]:{},me=ie.initWrapper,pe=ie.processEntity,ye=ie.onProcessFinished,je=ie.externalGetKey,De=ie.childrenPropName,Qe=ie.fieldNames,he=arguments.length>2?arguments[2]:void 0,Te=je||he,Ye={},bt={},Ne={posEntities:Ye,keyEntities:bt};return me&&(Ne=me(Ne)||Ne),b(re,function(ut){var Bt=ut.node,yt=ut.index,gt=ut.pos,Yt=ut.key,vt=ut.parentPos,rn=ut.level,xn=ut.nodes,nt={node:Bt,nodes:xn,index:yt,key:Yt,pos:gt,level:rn},et=tt(Yt,gt);Ye[gt]=nt,bt[et]=nt,nt.parent=Ye[vt],nt.parent&&(nt.parent.children=nt.parent.children||[],nt.parent.children.push(nt)),pe&&pe(nt,Ne)},{externalGetKey:Te,childrenPropName:De,fieldNames:Qe}),ye&&ye(Ne),Ne}function z(re,ie){var me=ie.expandedKeys,pe=ie.selectedKeys,ye=ie.loadedKeys,je=ie.loadingKeys,De=ie.checkedKeys,Qe=ie.halfCheckedKeys,he=ie.dragOverNodeKey,Te=ie.dropPosition,Ye=ie.keyEntities,bt=(0,ct.Z)(Ye,re),Ne={eventKey:re,expanded:me.indexOf(re)!==-1,selected:pe.indexOf(re)!==-1,loaded:ye.indexOf(re)!==-1,loading:je.indexOf(re)!==-1,checked:De.indexOf(re)!==-1,halfChecked:Qe.indexOf(re)!==-1,pos:String(bt?bt.pos:""),dragOver:he===re&&Te===0,dragOverGapTop:he===re&&Te===-1,dragOverGapBottom:he===re&&Te===1};return Ne}function ne(re){var ie=re.data,me=re.expanded,pe=re.selected,ye=re.checked,je=re.loaded,De=re.loading,Qe=re.halfChecked,he=re.dragOver,Te=re.dragOverGapTop,Ye=re.dragOverGapBottom,bt=re.pos,Ne=re.active,ut=re.eventKey,Bt=(0,Be.Z)((0,Be.Z)({},ie),{},{expanded:me,selected:pe,checked:ye,loaded:je,loading:De,halfChecked:Qe,dragOver:he,dragOverGapTop:Te,dragOverGapBottom:Ye,pos:bt,active:Ne,key:ut});return"props"in Bt||Object.defineProperty(Bt,"props",{get:function(){return(0,se.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),Bt}},8224:function(Ut,Kt,te){"use strict";te.d(Kt,{Z:function(){return ue}});var x=te(4676);function ue(Be,Me,Le,Oe){var se=x.unstable_batchedUpdates?function(ot){x.unstable_batchedUpdates(Le,ot)}:Le;return Be!=null&&Be.addEventListener&&Be.addEventListener(Me,se,Oe),{remove:function(){Be!=null&&Be.removeEventListener&&Be.removeEventListener(Me,se,Oe)}}}},55468:function(Ut,Kt,te){"use strict";te.d(Kt,{g1:function(){return Ue},os:function(){return Je}});var x=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Be={cssFloat:1,styleFloat:1,float:1};function Me(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function Le(le,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return le.offsetHeight;if(y==="width")return le.offsetWidth}return y in ue||(ue[y]=x.test(y)),ue[y]?parseFloat(a)||0:a}function Oe(le,y){var a=arguments.length,b=Me(le);return y=Be[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,a===1?b:Le(le,y,b[y]||le.style[y])}function se(le,y,a){var b=arguments.length;if(y=Be[y]?"cssFloat"in le.style?"cssFloat":"styleFloat":y,b===3)return typeof a=="number"&&x.test(y)&&(a="".concat(a,"px")),le.style[y]=a,a;for(var E in y)y.hasOwnProperty(E)&&se(le,E,y[E]);return Me(le)}function ct(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function ot(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function Ve(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:y}}function Ue(){var le=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:le,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(le){var y=le.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)}}},24514:function(Ut,Kt,te){"use strict";te.d(Kt,{G:function(){return Me}});var x=te(47273),ue=function(Oe){if((0,x.Z)()&&window.document.documentElement){var se=Array.isArray(Oe)?Oe:[Oe],ct=window.document.documentElement;return se.some(function(ot){return ot in ct.style})}return!1},Be=function(Oe,se){if(!ue(Oe))return!1;var ct=document.createElement("div"),ot=ct.style[Oe];return ct.style[Oe]=se,ct.style[Oe]!==ot};function Me(Le,Oe){return!Array.isArray(Le)&&Oe!==void 0?Be(Le,Oe):ue(Le)}},78113:function(Ut,Kt,te){"use strict";te.d(Kt,{Z5:function(){return Yu},_l:function(){return Hd},bK:function(){return Au}});var x=te(59301),ue=te(2505);function Be(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Me=te(92413),Le=te(59781),Oe=x.createContext(null),se=null;function ct(ee){ee()}var ot=ct,Ve=function(ae){return ot=ae},Ue=function(){return ot};function tt(){var ee=Ue(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ee(function(){for(var Pe=ae;Pe;)Pe.callback(),Pe=Pe.next})},get:function(){for(var Pe=[],Ee=ae;Ee;)Pe.push(Ee),Ee=Ee.next;return Pe},subscribe:function(Pe){var Ee=!0,we=oe={callback:Pe,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 le(ee,ae){var oe,de=Je;function Pe(Et){return mt(),de.subscribe(Et)}function Ee(){de.notify()}function we(){Ot.onStateChange&&Ot.onStateChange()}function Re(){return!!oe}function mt(){oe||(oe=ae?ae.addNestedSub(we):ee.subscribe(we),de=tt())}function Tt(){oe&&(oe(),oe=void 0,de.clear(),de=Je)}var Ot={addNestedSub:Pe,notifyNestedSubs:Ee,handleChangeWrapper:we,isSubscribed:Re,trySubscribe:mt,tryUnsubscribe:Tt,getListeners:function(){return de}};return Ot}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect;function a(ee){var ae=ee.store,oe=ee.context,de=ee.children,Pe=(0,x.useMemo)(function(){var Re=le(ae);return{store:ae,subscription:Re}},[ae]),Ee=(0,x.useMemo)(function(){return ae.getState()},[ae]);y(function(){var Re=Pe.subscription;return Re.onStateChange=Re.notifyNestedSubs,Re.trySubscribe(),Ee!==ae.getState()&&Re.notifyNestedSubs(),function(){Re.tryUnsubscribe(),Re.onStateChange=null}},[Pe,Ee]);var we=oe||Oe;return x.createElement(we.Provider,{value:Pe},de)}var b=a,E=te(96529),z=te(94266),ne=te.n(z),re=te(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],me=["reactReduxForwardedRef"],pe=[],ye=[null,null],je=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function De(ee,ae){var oe=ee[1];return[ae.payload,oe+1]}function Qe(ee,ae,oe){y(function(){return ee.apply(void 0,ae)},oe)}function he(ee,ae,oe,de,Pe,Ee,we){ee.current=de,ae.current=Pe,oe.current=!1,Ee.current&&(Ee.current=null,we())}function Te(ee,ae,oe,de,Pe,Ee,we,Re,mt,Tt){if(ee){var Ot=!1,Et=null,Ct=function(){if(!Ot){var xa=ae.getState(),Ia,Oa;try{Ia=de(xa,Pe.current)}catch(Ya){Oa=Ya,Et=Ya}Oa||(Et=null),Ia===Ee.current?we.current||mt():(Ee.current=Ia,Re.current=Ia,we.current=!0,Tt({type:"STORE_UPDATED",payload:{error:Oa}}))}};oe.onStateChange=Ct,oe.trySubscribe(),Ct();var Vt=function(){if(Ot=!0,oe.tryUnsubscribe(),oe.onStateChange=null,Et)throw Et};return Vt}}var Ye=function(){return[null,0]};function bt(ee,ae){ae===void 0&&(ae={});var oe=ae,de=oe.getDisplayName,Pe=de===void 0?function(Mr){return"ConnectAdvanced("+Mr+")"}:de,Ee=oe.methodName,we=Ee===void 0?"connectAdvanced":Ee,Re=oe.renderCountProp,mt=Re===void 0?void 0:Re,Tt=oe.shouldHandleStateChanges,Ot=Tt===void 0?!0:Tt,Et=oe.storeKey,Ct=Et===void 0?"store":Et,Vt=oe.withRef,wn=Vt===void 0?!1:Vt,xa=oe.forwardRef,Ia=xa===void 0?!1:xa,Oa=oe.context,Ya=Oa===void 0?Oe:Oa,ir=(0,E.Z)(oe,ie);if(0)var dr;var Hr=Ya;return function(to){var zo=to.displayName||to.name||"Component",so=Pe(zo),Ho=(0,Me.Z)({},ir,{getDisplayName:Pe,methodName:we,renderCountProp:mt,shouldHandleStateChanges:Ot,storeKey:Ct,displayName:so,wrappedComponentName:zo,WrappedComponent:to}),ai=ir.pure;function li(si){return ee(si.dispatch,Ho)}var ji=ai?x.useMemo:function(si){return si()};function Di(si){var el=(0,x.useMemo)(function(){var Fs=si.reactReduxForwardedRef,du=(0,E.Z)(si,me);return[si.context,Fs,du]},[si]),Ki=el[0],xs=el[1],Sl=el[2],tl=(0,x.useMemo)(function(){return Ki&&Ki.Consumer&&(0,re.isContextConsumer)(x.createElement(Ki.Consumer,null))?Ki:Hr},[Ki,Hr]),Wi=(0,x.useContext)(tl),Pl=!!si.store&&!!si.store.getState&&!!si.store.dispatch,Hs=!!Wi&&!!Wi.store,Ui=Pl?si.store:Wi.store,Bs=(0,x.useMemo)(function(){return li(Ui)},[Ui]),js=(0,x.useMemo)(function(){if(!Ot)return ye;var Fs=le(Ui,Pl?null:Wi.subscription),du=Fs.notifyNestedSubs.bind(Fs);return[Fs,du]},[Ui,Pl,Wi]),$l=js[0],Gs=js[1],Ks=(0,x.useMemo)(function(){return Pl?Wi:(0,Me.Z)({},Wi,{subscription:$l})},[Pl,Wi,$l]),Du=(0,x.useReducer)(De,pe,Ye),Vd=Du[0],Ws=Vd[0],$d=Du[1];if(Ws&&Ws.error)throw Ws.error;var Nu=(0,x.useRef)(),lu=(0,x.useRef)(Sl),Us=(0,x.useRef)(),Iu=(0,x.useRef)(!1),su=ji(function(){return Us.current&&Sl===lu.current?Us.current:Bs(Ui.getState(),Sl)},[Ui,Ws,Sl]);Qe(he,[lu,Nu,Iu,Sl,su,Us,Gs]),Qe(Te,[Ot,Ui,$l,Bs,lu,Nu,Iu,Us,Gs,$d],[Ui,$l,Bs]);var uu=(0,x.useMemo)(function(){return x.createElement(to,(0,Me.Z)({},su,{ref:xs}))},[xs,to,su]),Qd=(0,x.useMemo)(function(){return Ot?x.createElement(tl.Provider,{value:Ks},uu):uu},[tl,uu,Ks]);return Qd}var Ei=ai?x.memo(Di):Di;if(Ei.WrappedComponent=to,Ei.displayName=Di.displayName=so,Ia){var Gi=x.forwardRef(function(el,Ki){return x.createElement(Ei,(0,Me.Z)({},el,{reactReduxForwardedRef:Ki}))});return Gi.displayName=so,Gi.WrappedComponent=to,ne()(Gi,to)}return ne()(Ei,to)}}function Ne(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function ut(ee,ae){if(Ne(ee,ae))return!0;if(typeof ee!="object"||ee===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ee),de=Object.keys(ae);if(oe.length!==de.length)return!1;for(var Pe=0;Pe=0;de--){var Pe=ae[de](ee);if(Pe)return Pe}return function(Ee,we){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+we.wrappedComponentName+".")}}function qe(ee,ae){return ee===ae}function Rt(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,de=oe===void 0?bt:oe,Pe=ae.mapStateToPropsFactories,Ee=Pe===void 0?hn:Pe,we=ae.mapDispatchToPropsFactories,Re=we===void 0?nt:we,mt=ae.mergePropsFactories,Tt=mt===void 0?Gt:mt,Ot=ae.selectorFactory,Et=Ot===void 0?ze:Ot;return function(Vt,wn,xa,Ia){Ia===void 0&&(Ia={});var Oa=Ia,Ya=Oa.pure,ir=Ya===void 0?!0:Ya,dr=Oa.areStatesEqual,Hr=dr===void 0?qe:dr,Mr=Oa.areOwnPropsEqual,to=Mr===void 0?ut:Mr,zo=Oa.areStatePropsEqual,so=zo===void 0?ut:zo,Ho=Oa.areMergedPropsEqual,ai=Ho===void 0?ut:Ho,li=(0,E.Z)(Oa,ve),ji=fe(Vt,Ee,"mapStateToProps"),Di=fe(wn,Re,"mapDispatchToProps"),Ei=fe(xa,Tt,"mergeProps");return de(Et,(0,Me.Z)({methodName:"connect",getDisplayName:function(si){return"Connect("+si+")"},shouldHandleStateChanges:!!Vt,initMapStateToProps:ji,initMapDispatchToProps:Di,initMergeProps:Ei,pure:ir,areStatesEqual:Hr,areOwnPropsEqual:to,areStatePropsEqual:so,areMergedPropsEqual:ai},li))}}var Fe=Rt();function xe(){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 de=ae(),Pe=de.store;return Pe}}var Xe=null;function Ae(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ae();return de.dispatch}}var ft=null,vn=function(ae,oe){return ae===oe};function Qt(ee,ae,oe,de){var Pe=useReducer(function(wn){return wn+1},0),Ee=Pe[1],we=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Re=useRef(),mt=useRef(),Tt=useRef(),Ot=useRef(),Et=oe.getState(),Ct;try{if(ee!==mt.current||Et!==Tt.current||Re.current){var Vt=ee(Et);Ot.current===void 0||!ae(Vt,Ot.current)?Ct=Vt:Ct=Ot.current}else Ct=Ot.current}catch(wn){throw Re.current&&(wn.message+=` The error may be correlated with this previous error: `+Re.current.stack+` -`),wn}return useIsomorphicLayoutEffect(function(){mt.current=ee,Tt.current=Et,Ot.current=Ct,Re.current=void 0}),useIsomorphicLayoutEffect(function(){function wn(){try{var xa=oe.getState();if(xa===Tt.current)return;var Na=mt.current(xa);if(ae(Na,Ot.current))return;Ot.current=Na,Tt.current=xa}catch(Oa){Re.current=Oa}Ee()}return we.onStateChange=wn,we.trySubscribe(),wn(),function(){return we.tryUnsubscribe()}},[oe,we]),Ct}function jt(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,Pe){Pe===void 0&&(Pe=vn);var Ee=ae(),we=Ee.store,Re=Ee.subscription,mt=Qt(de,Pe,we,Re);return useDebugValue(mt),mt}}var on=null,cn=te(4676);Ve(cn.unstable_batchedUpdates);function _e(ee,ae){if(ee.length!==ae.length)return!1;for(var oe=0;oeee.bottom,Tt=de.leftee.right,Ot=mt&&Tt;if(Ot)return!0;var Et=mt&&we||Tt&&Ee;return Et}},Po=function(ee){var ae=Dr(ee.top,ee.bottom),oe=Dr(ee.left,ee.right);return function(de){var Pe=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);return Pe}},$o={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},jo={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ei=function(ee){return function(ae){var oe=Dr(ae.top,ae.bottom),de=Dr(ae.left,ae.right);return function(Pe){return ee===$o?oe(Pe.top)&&oe(Pe.bottom):de(Pe.left)&&de(Pe.right)}}},$a=function(ae,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Da;return Ga(ae,de)},fa=function(ae,oe,de){return oe.subject.active?de(oe.subject.active)(ae):!1},Tn=function(ae,oe,de){return de(oe)(ae)},Ba=function(ae){var oe=ae.target,de=ae.destination,Pe=ae.viewport,Ee=ae.withDroppableDisplacement,we=ae.isVisibleThroughFrameFn,Re=Ee?$a(oe,de):oe;return fa(Re,de,we)&&Tn(Re,Pe,we)},gr=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Yr}))},Ce=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Po}))},sn=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:ei(ae.destination.axis)}))},Cn=function(ae,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Pe=oe.invisible,Ee=oe.visible;if(Pe[ae])return!1;var we=Ee[ae];return we?we.shouldAnimate:!0};function Kn(ee,ae){var oe=ee.page.marginBox,de={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Rn(na(oe,de))}function an(ee){var ae=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Pe=ee.viewport,Ee=ee.forceShouldAnimate,we=ee.last;return ae.reduce(function(mt,Tt){var Ot=Kn(Tt,de),Et=Tt.descriptor.id;mt.all.push(Et);var Ct=gr({target:Ot,destination:oe,viewport:Pe,withDroppableDisplacement:!0});if(!Ct)return mt.invisible[Tt.descriptor.id]=!0,mt;var Vt=Cn(Et,we,Ee),wn={draggableId:Et,shouldAnimate:Vt};return mt.visible[Et]=wn,mt},{all:[],visible:{},invisible:{}})}function oa(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function ta(ee){var ae=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Pe=ee.destination,Ee=oa(ae,{inHomeList:oe});return{displaced:To,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Pe.descriptor.id,index:Ee}}}}function Bn(ee){var ae=ee.draggable,oe=ee.insideDestination,de=ee.destination,Pe=ee.viewport,Ee=ee.displacedBy,we=ee.last,Re=ee.index,mt=ee.forceShouldAnimate,Tt=no(ae,de);if(Re==null)return ta({insideDestination:oe,inHomeList:Tt,displacedBy:Ee,destination:de});var Ot=Ta(oe,function(xa){return xa.descriptor.index===Re});if(!Ot)return ta({insideDestination:oe,inHomeList:Tt,displacedBy:Ee,destination:de});var Et=pr(ae,oe),Ct=oe.indexOf(Ot),Vt=Et.slice(Ct),wn=an({afterDragging:Vt,destination:de,displacedBy:Ee,last:we,viewport:Pe.frame,forceShouldAnimate:mt});return{displaced:wn,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Re}}}}function On(ee,ae){return!!ae.effected[ee]}var Aa=function(ee){var ae=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Pe=ee.combine,Ee=ee.afterCritical;if(!oe.isCombineEnabled)return null;var we=Pe.draggableId,Re=de[we],mt=Re.descriptor.index,Tt=On(we,Ee);return Tt?ae?mt:mt-1:ae?mt+1:mt},Xn=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Pe=ee.location;if(!de.length)return null;var Ee=Pe.index,we=ae?Ee+1:Ee-1,Re=de[0].descriptor.index,mt=de[de.length-1].descriptor.index,Tt=oe?mt:mt+1;return weTt?null:we},ca=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Pe=ee.draggables,Ee=ee.destination,we=ee.insideDestination,Re=ee.previousImpact,mt=ee.viewport,Tt=ee.afterCritical,Ot=Re.at;if(Ot||Ge(!1),Ot.type==="REORDER"){var Et=Xn({isMovingForward:ae,isInHomeList:oe,location:Ot.destination,insideDestination:we});return Et==null?null:Bn({draggable:de,insideDestination:we,destination:Ee,viewport:mt,last:Re.displaced,displacedBy:Re.displacedBy,index:Et})}var Ct=Aa({isMovingForward:ae,destination:Ee,displaced:Re.displaced,draggables:Pe,combine:Ot.combine,afterCritical:Tt});return Ct==null?null:Bn({draggable:de,insideDestination:we,destination:Ee,viewport:mt,last:Re.displaced,displacedBy:Re.displacedBy,index:Ct})},pa=function(ee){var ae=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Pe=ee.displacedBy,Ee=!!(ae.visible[de]||ae.invisible[de]);return On(de,oe)?Ee?Da:Wn(Pe.point):Ee?Pe.point:Da},Va=function(ee){var ae=ee.afterCritical,oe=ee.impact,de=ee.draggables,Pe=wr(oe);Pe||Ge(!1);var Ee=Pe.draggableId,we=de[Ee].page.borderBox.center,Re=pa({displaced:oe.displaced,afterCritical:ae,combineWith:Ee,displacedBy:oe.displacedBy});return Yn(we,Re)},vr=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},_r=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},kr=function(ae,oe,de){return oe[ae.crossAxisStart]+de.margin[ae.crossAxisStart]+de.borderBox[ae.crossAxisSize]/2},mo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return sa(oe.line,de.marginBox[oe.end]+vr(oe,Pe),kr(oe,de.marginBox,Pe))},vo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return sa(oe.line,de.marginBox[oe.start]-_r(oe,Pe),kr(oe,de.marginBox,Pe))},xo=function(ae){var oe=ae.axis,de=ae.moveInto,Pe=ae.isMoving;return sa(oe.line,de.contentBox[oe.start]+vr(oe,Pe),kr(oe,de.contentBox,Pe))},pi=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.draggables,Pe=ee.droppable,Ee=ee.afterCritical,we=jr(Pe.descriptor.id,de),Re=oe.page,mt=Pe.axis;if(!we.length)return xo({axis:mt,moveInto:Pe.page,isMoving:Re});var Tt=ae.displaced,Ot=ae.displacedBy,Et=Tt.all[0];if(Et){var Ct=de[Et];if(On(Et,Ee))return vo({axis:mt,moveRelativeTo:Ct.page,isMoving:Re});var Vt=en(Ct.page,Ot.point);return vo({axis:mt,moveRelativeTo:Vt,isMoving:Re})}var wn=we[we.length-1];if(wn.descriptor.id===oe.descriptor.id)return Re.borderBox.center;if(On(wn.descriptor.id,Ee)){var xa=en(wn.page,Wn(Ee.displacedBy.point));return mo({axis:mt,moveRelativeTo:xa,isMoving:Re})}return mo({axis:mt,moveRelativeTo:wn.page,isMoving:Re})},gi=function(ee,ae){var oe=ee.frame;return oe?Yn(ae,oe.scroll.diff.displacement):ae},ri=function(ae){var oe=ae.impact,de=ae.draggable,Pe=ae.droppable,Ee=ae.draggables,we=ae.afterCritical,Re=de.page.borderBox.center,mt=oe.at;return!Pe||!mt?Re:mt.type==="REORDER"?pi({impact:oe,draggable:de,draggables:Ee,droppable:Pe,afterCritical:we}):Va({impact:oe,draggables:Ee,afterCritical:we})},ui=function(ee){var ae=ri(ee),oe=ee.droppable,de=oe?gi(oe,ae):ae;return de},vi=function(ee,ae){var oe=qa(ae,ee.scroll.initial),de=Wn(oe),Pe=Rn({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),Ee={frame:Pe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:de}}};return Ee};function yo(ee,ae){return ee.map(function(oe){return ae[oe]})}function hi(ee,ae){for(var oe=0;oe1?Ot.sort(function(Et,Ct){return Qo(Et)[Re.start]-Qo(Ct)[Re.start]})[0]:Tt.sort(function(Et,Ct){var Vt=ra(oe,za(Qo(Et))),wn=ra(oe,za(Qo(Ct)));return Vt!==wn?Vt-wn:Qo(Et)[Re.start]-Qo(Ct)[Re.start]})[0]},Bi=function(ae,oe){var de=ae.page.borderBox.center;return On(ae.descriptor.id,oe)?qa(de,oe.displacedBy.point):de},yl=function(ae,oe){var de=ae.page.borderBox;return On(ae.descriptor.id,oe)?Ga(de,Wn(oe.displacedBy.point)):de},Xl=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Pe=ee.insideDestination,Ee=ee.afterCritical,we=Pe.filter(function(Re){return Ce({target:yl(Re,Ee),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Re,mt){var Tt=ma(ae,gi(de,Bi(Re,Ee))),Ot=ma(ae,gi(de,Bi(mt,Ee)));return Ttae.left&&ee.topae.top}function ql(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,Pe=oe.page.borderBox.center,Ee=de.map(function(we){var Re=we.axis,mt=sa(we.axis.line,ae.center[Re.line],we.page.borderBox.center[Re.crossAxisLine]);return{id:we.descriptor.id,distance:ma(Pe,mt)}}).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,de=ee.droppables,Pe=Cr(de).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,mt=we.center[Re.crossAxisLine],Tt=ae[Re.crossAxisStart],Ot=ae[Re.crossAxisEnd],Et=Dr(we[Re.crossAxisStart],we[Re.crossAxisEnd]),Ct=Et(Tt),Vt=Et(Ot);return!Ct&&!Vt?!0:Ct?Ttmt});return Pe.length?Pe.length===1?Pe[0].descriptor.id:ql({pageBorderBox:ae,draggable:oe,candidates:Pe}):null}var yi=function(ae,oe){return Rn(Ga(ae,oe))},al=function(ee,ae){var oe=ee.frame;return oe?yi(ae,oe.scroll.diff.value):ae};function ha(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,de=ee.inHomeList;return oe?de&&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,de=ee.destination,Pe=ee.insideDestination,Ee=ee.last,we=ee.viewport,Re=ee.afterCritical,mt=de.axis,Tt=Ii(de.axis,oe.displaceBy),Ot=Tt.value,Et=ae[mt.start],Ct=ae[mt.end],Vt=pr(oe,Pe),wn=Ta(Vt,function(Na){var Oa=Na.descriptor.id,Ya=Na.page.borderBox.center[mt.line],ir=On(Oa,Re),dr=ha({displaced:Ee,id:Oa});return ir?dr?Ct<=Ya:EtOa[Re.start]+ir&&EtOa[Re.start]-Tt+ir&&OtOa[Re.start]+Tt+ir&&EtOa[Re.start]+ir&&Ot=$e)return Se;var Ee=Pe/$e,we=gl+Ke*Ee,Re=de==="CANCEL"?we*un:we;return Number(Re.toFixed(2))},ka=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.dimensions,Pe=ee.viewport,Ee=ee.afterCritical,we=de.draggables,Re=de.droppables,mt=oi(ae),Tt=mt?Re[mt]:null,Ot=Re[oe.descriptor.droppableId],Et=il({impact:ae,draggable:oe,draggables:we,afterCritical:Ee,droppable:Tt||Ot,viewport:Pe}),Ct=qa(Et,oe.client.borderBox.center);return Ct},Ka=function(ee){var ae=ee.draggables,oe=ee.reason,de=ee.lastImpact,Pe=ee.home,Ee=ee.viewport,we=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Re=Oi({draggables:ae,impact:we,destination:Pe,viewport:Ee,forceShouldAnimate:!0});return{impact:Re,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var mt=(0,Me.Z)({},de,{displaced:To});return{impact:mt,didDropInsideDroppable:!0}},ge=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(de){return function(Pe){if(Pe.type!=="DROP"){de(Pe);return}var Ee=ae(),we=Pe.payload.reason;if(Ee.phase==="COLLECTING"){oe(fr({reason:we}));return}if(Ee.phase!=="IDLE"){var Re=Ee.phase==="DROP_PENDING"&&Ee.isWaiting;Re&&Ge(!1),Ee.phase==="DRAGGING"||Ee.phase==="DROP_PENDING"||Ge(!1);var mt=Ee.critical,Tt=Ee.dimensions,Ot=Tt.draggables[Ee.critical.draggable.id],Et=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}),Ct=Et.impact,Vt=Et.didDropInsideDroppable,wn=Vt?Xa(Ct):null,xa=Vt?wr(Ct):null,Na={index:mt.draggable.index,droppableId:mt.droppable.id},Oa={draggableId:Ot.descriptor.id,type:Ot.descriptor.type,source:Na,reason:we,mode:Ee.movementMode,destination:wn,combine:xa},Ya=ka({impact:Ct,draggable:Ot,dimensions:Tt,viewport:Ee.viewport,afterCritical:Ee.afterCritical}),ir={critical:Ee.critical,afterCritical:Ee.afterCritical,result:Oa,impact:Ct},dr=!Ja(Ee.current.client.offset,Ya)||!!Oa.combine;if(!dr){oe(Tl({completed:ir}));return}var Hr=ua({current:Ee.current.client.offset,destination:Ya,reason:we}),Mr={newHomeClientOffset:Ya,dropDuration:Hr,completed:ir};oe(Rl(Mr))}}}},ce=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(ce())}var de=mn(oe),Pe=be(de),Ee=Jn;function we(){return Ee!==Jn}function Re(){we()&&Ge(!1),Ee=kn(window,[Pe])}function mt(){we()||Ge(!1),de.cancel(),Ee(),Ee=Jn}return{start:Re,stop:mt,isActive:we}}var Ie=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},He=function(ee){var ae=ke({onWindowScroll:function(de){ee.dispatch(ss({newScroll:de}))}});return function(oe){return function(de){!ae.isActive()&&de.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Ie(de)&&ae.stop(),oe(de)}}},pt=function(ee){var ae=!1,oe=!1,de=setTimeout(function(){oe=!0}),Pe=function(we){ae||oe||(ae=!0,ee(we),clearTimeout(de))};return Pe.wasCalled=function(){return ae},Pe},xt=function(){var ee=[],ae=function(Ee){var we=Br(ee,function(Tt){return Tt.timerId===Ee});we===-1&&Ge(!1);var Re=ee.splice(we,1),mt=Re[0];mt.callback()},oe=function(Ee){var we=setTimeout(function(){return ae(we)}),Re={timerId:we,callback:Ee};ee.push(Re)},de=function(){if(ee.length){var Ee=[].concat(ee);ee.length=0,Ee.forEach(function(we){clearTimeout(we.timerId),we.callback()})}};return{add:oe,flush:de}},it=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},zt=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},wt=function(ae,oe){if(ae===oe)return!0;var de=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,Pe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return de&&Pe},Xt=function(ae,oe){Ti(),oe(),Mi()},Ln=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,de,Pe){if(!ae){de(Pe(oe));return}var Ee=pt(de),we={announce:Ee};ae(oe,we),Ee.wasCalled()||de(Pe(oe))},At=function(ee,ae){var oe=xt(),de=null,Pe=function(Ct,Vt){de&&Ge(!1),Xt("onBeforeCapture",function(){var wn=ee().onBeforeCapture;if(wn){var xa={draggableId:Ct,mode:Vt};wn(xa)}})},Ee=function(Ct,Vt){de&&Ge(!1),Xt("onBeforeDragStart",function(){var wn=ee().onBeforeDragStart;wn&&wn(Ln(Ct,Vt))})},we=function(Ct,Vt){de&&Ge(!1);var wn=Ln(Ct,Vt);de={mode:Vt,lastCritical:Ct,lastLocation:wn.source,lastCombine:null},oe.add(function(){Xt("onDragStart",function(){return _t(ee().onDragStart,wn,ae,fn.onDragStart)})})},Re=function(Ct,Vt){var wn=Xa(Vt),xa=wr(Vt);de||Ge(!1);var Na=!wt(Ct,de.lastCritical);Na&&(de.lastCritical=Ct);var Oa=!it(de.lastLocation,wn);Oa&&(de.lastLocation=wn);var Ya=!zt(de.lastCombine,xa);if(Ya&&(de.lastCombine=xa),!(!Na&&!Oa&&!Ya)){var ir=(0,Me.Z)({},Ln(Ct,de.mode),{combine:xa,destination:wn});oe.add(function(){Xt("onDragUpdate",function(){return _t(ee().onDragUpdate,ir,ae,fn.onDragUpdate)})})}},mt=function(){de||Ge(!1),oe.flush()},Tt=function(Ct){de||Ge(!1),de=null,Xt("onDragEnd",function(){return _t(ee().onDragEnd,Ct,ae,fn.onDragEnd)})},Ot=function(){if(de){var Ct=(0,Me.Z)({},Ln(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(Ct)}};return{beforeCapture:Pe,beforeStart:Ee,start:we,update:Re,flush:mt,drop:Tt,abort:Ot}},Un=function(ee,ae){var oe=At(ee,ae);return function(de){return function(Pe){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),Pe(Ee),oe.start(we,Ee.payload.movementMode);return}if(Ee.type==="DROP_COMPLETE"){var Re=Ee.payload.completed.result;oe.flush(),Pe(Ee),oe.drop(Re);return}if(Pe(Ee),Ee.type==="FLUSH"){oe.abort();return}var mt=de.getState();mt.phase==="DRAGGING"&&oe.update(mt.critical,mt.impact)}}}},jn=function(ee){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&Ge(!1),ee.dispatch(Tl({completed:de.completed}))}}},Qn=function(ee){var ae=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(Pe){return function(Ee){if((Ee.type==="FLUSH"||Ee.type==="DROP_COMPLETE"||Ee.type==="DROP_ANIMATION_FINISHED")&&de(),Pe(Ee),Ee.type==="DROP_ANIMATE"){var we={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var mt=ee.getState();mt.phase==="DROP_ANIMATING"&&ee.dispatch(kl())}};oe=requestAnimationFrame(function(){oe=null,ae=kn(window,[we])})}}}},Vn=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)}}}},qn=function(ee){var ae=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ae=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ae){if(de.type==="FLUSH"){ae=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ae=!1;var Pe=de.payload.completed.result;Pe.combine&&ee.tryShiftRecord(Pe.draggableId,Pe.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},Fn=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Ca=function(ee){return function(ae){return function(oe){return function(de){if(Fn(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Pe=ae.getState();Pe.phase!=="DRAGGING"&&Ge(!1),ee.start(Pe);return}oe(de),ee.scroll(ae.getState())}}}},ba=function(ee){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(Ml({reason:de.reason})))}}}},Za=Le.qC,ja=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Pe=ee.getResponders,Ee=ee.announce,we=ee.autoScroller;return(0,Le.MT)(rs,Za((0,Le.md)(gs(de),Vn(ae),cs(ae),ge,jn,Qn,ba,Ca(we),He,qn(oe),Un(Pe,Ee))))},ia=function(){return{additions:{},removals:{},modified:{}}};function ya(ee){var ae=ee.registry,oe=ee.callbacks,de=ia(),Pe=null,Ee=function(){Pe||(oe.collectionStarting(),Pe=requestAnimationFrame(function(){Pe=null,Ti();var Ot=de,Et=Ot.additions,Ct=Ot.removals,Vt=Ot.modified,wn=Object.keys(Et).map(function(Oa){return ae.draggable.getById(Oa).getDimension(Da)}).sort(function(Oa,Ya){return Oa.descriptor.index-Ya.descriptor.index}),xa=Object.keys(Vt).map(function(Oa){var Ya=ae.droppable.getById(Oa),ir=Ya.callbacks.getScrollWhileDragging();return{droppableId:Oa,scroll:ir}}),Na={additions:wn,removals:Object.keys(Ct),modified:xa};de=ia(),Mi(),oe.publish(Na)}))},we=function(Ot){var Et=Ot.descriptor.id;de.additions[Et]=Ot,de.modified[Ot.descriptor.droppableId]=!0,de.removals[Et]&&delete de.removals[Et],Ee()},Re=function(Ot){var Et=Ot.descriptor;de.removals[Et.id]=!0,de.modified[Et.droppableId]=!0,de.additions[Et.id]&&delete de.additions[Et.id],Ee()},mt=function(){Pe&&(cancelAnimationFrame(Pe),Pe=null,de=ia())};return{add:we,remove:Re,stop:mt}}var Sa=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Pe=ee.width,Ee=qa({x:oe,y:ae},{x:Pe,y:de}),we={x:Math.max(0,Ee.x),y:Math.max(0,Ee.y)};return we},Gn=function(){var ee=document.documentElement;return ee||Ge(!1),ee},ga=function(){var ee=Gn(),ae=Sa({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},Ma=function(){var ee=ce(),ae=ga(),oe=ee.y,de=ee.x,Pe=Gn(),Ee=Pe.clientWidth,we=Pe.clientHeight,Re=de+Ee,mt=oe+we,Tt=Rn({top:oe,left:de,right:Re,bottom:mt}),Ot={frame:Tt,scroll:{initial:ee,current:ee,max:ae,diff:{value:Da,displacement:Da}}};return Ot},tr=function(ee){var ae=ee.critical,oe=ee.scrollOptions,de=ee.registry;Ti();var Pe=Ma(),Ee=Pe.scroll.current,we=ae.droppable,Re=de.droppable.getAllByType(we.type).map(function(Et){return Et.callbacks.getDimensionAndWatchScroll(Ee,oe)}),mt=de.draggable.getAllByType(ae.draggable.type).map(function(Et){return Et.getDimension(Ee)}),Tt={draggables:Or(mt),droppables:Lr(Re)};Mi();var Ot={dimensions:Tt,critical:ae,viewport:Pe};return Ot};function ar(ee,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var Wa=function(ee,ae){var oe=null,de=ya({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),Pe=function(Vt,wn){ee.droppable.exists(Vt)||Ge(!1),oe&&ae.updateDroppableIsEnabled({id:Vt,isEnabled:wn})},Ee=function(Vt,wn){oe&&(ee.droppable.exists(Vt)||Ge(!1),ae.updateDroppableIsCombineEnabled({id:Vt,isCombineEnabled:wn}))},we=function(Vt,wn){oe&&(ee.droppable.exists(Vt)||Ge(!1),ae.updateDroppableScroll({id:Vt,newScroll:wn}))},Re=function(Vt,wn){oe&&ee.droppable.getById(Vt).callbacks.scroll(wn)},mt=function(){if(oe){de.stop();var Vt=oe.critical.droppable;ee.droppable.getAllByType(Vt.type).forEach(function(wn){return wn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Vt){oe||Ge(!1);var wn=oe.critical.draggable;Vt.type==="ADDITION"&&ar(ee,wn,Vt.value)&&de.add(Vt.value),Vt.type==="REMOVAL"&&ar(ee,wn,Vt.value)&&de.remove(Vt.value)},Ot=function(Vt){oe&&Ge(!1);var wn=ee.draggable.getById(Vt.draggableId),xa=ee.droppable.getById(wn.descriptor.droppableId),Na={draggable:wn.descriptor,droppable:xa.descriptor},Oa=ee.subscribe(Tt);return oe={critical:Na,unsubscribe:Oa},tr({critical:Na,registry:ee,scrollOptions:Vt.scrollOptions})},Et={updateDroppableIsEnabled:Pe,updateDroppableIsCombineEnabled:Ee,scrollDroppable:Re,updateDroppableScroll:we,startPublishing:Ot,stopPublishing:mt};return Et},mr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},hr=function(ee){window.scrollBy(ee.x,ee.y)},Wr=tn(function(ee){return Cr(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Zr=function(ae,oe){var de=Ta(Wr(oe),function(Pe){return Pe.frame||Ge(!1),Qi(Pe.frame.pageMarginBox)(ae)});return de},ho=function(ee){var ae=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var Pe=de[oe];return Pe.frame?Pe:null}var Ee=Zr(ae,de);return Ee},qr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},xr=function(ee,ae){var oe=ee[ae.size]*qr.startFromPercentage,de=ee[ae.size]*qr.maxScrollAtPercentage,Pe={startScrollingFrom:oe,maxScrollValueAt:de};return Pe},Do=function(ee){var ae=ee.startOfRange,oe=ee.endOfRange,de=ee.current,Pe=oe-ae;if(Pe===0)return 0;var Ee=de-ae,we=Ee/Pe;return we},Ur=1,So=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return qr.maxPixelScroll;if(ee===ae.startScrollingFrom)return Ur;var oe=Do({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),de=1-oe,Pe=qr.maxPixelScroll*qr.ease(de);return Math.ceil(Pe)},ao=qr.durationDampening.accelerateAt,Jo=qr.durationDampening.stopDampeningAt,sr=function(ee,ae){var oe=ae,de=Jo,Pe=Date.now(),Ee=Pe-oe;if(Ee>=Jo)return ee;if(Eeae.height,Ee=oe.width>ae.width;return!Ee&&!Pe?de:Ee&&Pe?null:{x:Ee?0:de.x,y:Pe?0:de.y}},Gr=Ua(function(ee){return ee===0?0:ee}),nr=function(ee){var ae=ee.dragStartTime,oe=ee.container,de=ee.subject,Pe=ee.center,Ee=ee.shouldUseTimeDampening,we={top:Pe.y-oe.top,right:oe.right-Pe.x,bottom:oe.bottom-Pe.y,left:Pe.x-oe.left},Re=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:$o,shouldUseTimeDampening:Ee}),mt=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:jo,shouldUseTimeDampening:Ee}),Tt=Gr({x:mt,y:Re});if(Ja(Tt,Da))return null;var Ot=er({container:oe,subject:de,proposedScroll:Tt});return Ot?Ja(Ot,Da)?null:Ot:null},cr=Ua(function(ee){return ee===0?0:ee>0?1:-1}),Rr=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ae){var oe=ae.current,de=ae.max,Pe=ae.change,Ee=Yn(oe,Pe),we={x:ee(Ee.x,de.x),y:ee(Ee.y,de.y)};return Ja(we,Da)?null:we}}(),Fr=function(ae){var oe=ae.max,de=ae.current,Pe=ae.change,Ee={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},we=cr(Pe),Re=Rr({max:Ee,current:de,change:we});return!Re||we.x!==0&&Re.x===0||we.y!==0&&Re.y===0},ro=function(ae,oe){return Fr({current:ae.scroll.current,max:ae.scroll.max,change:oe})},Ao=function(ae,oe){if(!ro(ae,oe))return null;var de=ae.scroll.max,Pe=ae.scroll.current;return Rr({current:Pe,max:de,change:oe})},Zo=function(ae,oe){var de=ae.frame;return de?Fr({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Ro=function(ae,oe){var de=ae.frame;return!de||!Zo(ae,oe)?null:Rr({current:de.scroll.current,max:de.scroll.max,change:oe})},ci=function(ee){var ae=ee.viewport,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=nr({dragStartTime:Pe,container:ae.frame,subject:oe,center:de,shouldUseTimeDampening:Ee});return we&&ro(ae,we)?we:null},No=function(ee){var ae=ee.droppable,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=ae.frame;if(!we)return null;var Re=nr({dragStartTime:Pe,container:we.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:Ee});return Re&&Zo(ae,Re)?Re:null},Io=function(ee){var ae=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Pe=ee.scrollWindow,Ee=ee.scrollDroppable,we=ae.current.page.borderBoxCenter,Re=ae.dimensions.draggables[ae.critical.draggable.id],mt=Re.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Ot=ci({dragStartTime:oe,viewport:Tt,subject:mt,center:we,shouldUseTimeDampening:de});if(Ot){Pe(Ot);return}}var Et=ho({center:we,destination:oi(ae.impact),droppables:ae.dimensions.droppables});if(Et){var Ct=No({dragStartTime:oe,droppable:Et,subject:mt,center:we,shouldUseTimeDampening:de});Ct&&Ee(Et.descriptor.id,Ct)}},Ai=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,de=mn(ae),Pe=mn(oe),Ee=null,we=function(Ot){Ee||Ge(!1);var Et=Ee,Ct=Et.shouldUseTimeDampening,Vt=Et.dragStartTime;Io({state:Ot,scrollWindow:de,scrollDroppable:Pe,dragStartTime:Vt,shouldUseTimeDampening:Ct})},Re=function(Ot){Ti(),Ee&&Ge(!1);var Et=Date.now(),Ct=!1,Vt=function(){Ct=!0};Io({state:Ot,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Vt,scrollDroppable:Vt}),Ee={dragStartTime:Et,shouldUseTimeDampening:Ct},Mi(),Ct&&we(Ot)},mt=function(){Ee&&(de.cancel(),Pe.cancel(),Ee=null)};return{start:Re,stop:mt,scroll:we}},Xr=function(ee){var ae=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Pe=function(Tt,Ot){var Et=Yn(Tt.current.client.selection,Ot);ae({client:Et})},Ee=function(Tt,Ot){if(!Zo(Tt,Ot))return Ot;var Et=Ro(Tt,Ot);if(!Et)return oe(Tt.descriptor.id,Ot),null;var Ct=qa(Ot,Et);oe(Tt.descriptor.id,Ct);var Vt=qa(Ot,Ct);return Vt},we=function(Tt,Ot,Et){if(!Tt||!ro(Ot,Et))return Et;var Ct=Ao(Ot,Et);if(!Ct)return de(Et),null;var Vt=qa(Et,Ct);de(Vt);var wn=qa(Et,Vt);return wn},Re=function(Tt){var Ot=Tt.scrollJumpRequest;if(Ot){var Et=oi(Tt.impact);Et||Ge(!1);var Ct=Ee(Tt.dimensions.droppables[Et],Ot);if(Ct){var Vt=Tt.viewport,wn=we(Tt.isWindowScrollAllowed,Vt,Ct);wn&&Pe(Tt,wn)}}};return Re},eo=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Pe=Ai({scrollWindow:oe,scrollDroppable:ae}),Ee=Xr({move:de,scrollWindow:oe,scrollDroppable:ae}),we=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){Pe.scroll(Tt);return}Tt.scrollJumpRequest&&Ee(Tt)}},Re={scroll:we,start:Pe.start,stop:Pe.stop};return Re},co="data-rbd",Eo=function(){var ee=co+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),io=function(){var ee=co+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Tr=function(){var ee=co+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ko={contextId:co+"-scroll-container-context-id"},Vo=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},da=function(ae,oe){return ae.map(function(de){var Pe=de.styles[oe];return Pe?de.selector+" { "+Pe+" }":""}).join(" ")},Qa="pointer-events: none;",Pr=function(ee){var ae=Vo(ee),oe=function(){var Re=` + `},fn={dragHandleUsageInstructions:Jt,onDragStart:In,onDragUpdate:Dn,onDragEnd:La},Na={x:0,y:0},Yn=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},Wn=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},sa=function(ae,oe,de){var Pe;return de===void 0&&(de=0),Pe={},Pe[ae]=oe,Pe[ae==="x"?"y":"x"]=de,Pe},ma=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},ra=function(ae,oe){return Math.min.apply(Math,oe.map(function(de){return ma(ae,de)}))},Ua=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},rr=function(ee,ae){var oe=Rn({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}},za=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}]},lr={top:0,right:0,bottom:0,left:0},Vr=function(ae,oe){return oe?Ga(ae,oe.scroll.diff.displacement):ae},Ir=function(ae,oe,de){if(de&&de.increasedBy){var Pe;return(0,Me.Z)({},ae,(Pe={},Pe[oe.end]=ae[oe.end]+de.increasedBy[oe.line],Pe))}return ae},uo=function(ae,oe){return oe&&oe.shouldClipSubject?rr(oe.pageMarginBox,ae):Rn(ae)},yr=function(ee){var ae=ee.page,oe=ee.withPlaceholder,de=ee.axis,Pe=ee.frame,Ee=Vr(ae.marginBox,Pe),we=Ir(Ee,de,oe),Re=uo(we,Pe);return{page:ae,withPlaceholder:oe,active:Re}},Sr=function(ee,ae){ee.frame||Ge(!1);var oe=ee.frame,de=qa(ae,oe.scroll.initial),Pe=Wn(de),Ee=(0,Me.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:de,displacement:Pe},max:oe.scroll.max}}),we=yr({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Ee}),Re=(0,Me.Z)({},ee,{frame:Ee,subject:we});return Re};function Ar(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function br(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ae){return ee[ae]})}function Br(ee,ae){if(ee.findIndex)return ee.findIndex(ae);for(var oe=0;oeee.bottom,Tt=de.leftee.right,Ot=mt&&Tt;if(Ot)return!0;var Et=mt&&we||Tt&&Ee;return Et}},Po=function(ee){var ae=Dr(ee.top,ee.bottom),oe=Dr(ee.left,ee.right);return function(de){var Pe=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);return Pe}},$o={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},jo={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ei=function(ee){return function(ae){var oe=Dr(ae.top,ae.bottom),de=Dr(ae.left,ae.right);return function(Pe){return ee===$o?oe(Pe.top)&&oe(Pe.bottom):de(Pe.left)&&de(Pe.right)}}},$a=function(ae,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Na;return Ga(ae,de)},fa=function(ae,oe,de){return oe.subject.active?de(oe.subject.active)(ae):!1},Tn=function(ae,oe,de){return de(oe)(ae)},Ba=function(ae){var oe=ae.target,de=ae.destination,Pe=ae.viewport,Ee=ae.withDroppableDisplacement,we=ae.isVisibleThroughFrameFn,Re=Ee?$a(oe,de):oe;return fa(Re,de,we)&&Tn(Re,Pe,we)},gr=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Yr}))},Ce=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:Po}))},sn=function(ae){return Ba((0,Me.Z)({},ae,{isVisibleThroughFrameFn:ei(ae.destination.axis)}))},Cn=function(ae,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Pe=oe.invisible,Ee=oe.visible;if(Pe[ae])return!1;var we=Ee[ae];return we?we.shouldAnimate:!0};function Kn(ee,ae){var oe=ee.page.marginBox,de={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Rn(na(oe,de))}function an(ee){var ae=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Pe=ee.viewport,Ee=ee.forceShouldAnimate,we=ee.last;return ae.reduce(function(mt,Tt){var Ot=Kn(Tt,de),Et=Tt.descriptor.id;mt.all.push(Et);var Ct=gr({target:Ot,destination:oe,viewport:Pe,withDroppableDisplacement:!0});if(!Ct)return mt.invisible[Tt.descriptor.id]=!0,mt;var Vt=Cn(Et,we,Ee),wn={draggableId:Et,shouldAnimate:Vt};return mt.visible[Et]=wn,mt},{all:[],visible:{},invisible:{}})}function oa(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function ta(ee){var ae=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Pe=ee.destination,Ee=oa(ae,{inHomeList:oe});return{displaced:To,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Pe.descriptor.id,index:Ee}}}}function Bn(ee){var ae=ee.draggable,oe=ee.insideDestination,de=ee.destination,Pe=ee.viewport,Ee=ee.displacedBy,we=ee.last,Re=ee.index,mt=ee.forceShouldAnimate,Tt=no(ae,de);if(Re==null)return ta({insideDestination:oe,inHomeList:Tt,displacedBy:Ee,destination:de});var Ot=Ta(oe,function(xa){return xa.descriptor.index===Re});if(!Ot)return ta({insideDestination:oe,inHomeList:Tt,displacedBy:Ee,destination:de});var Et=pr(ae,oe),Ct=oe.indexOf(Ot),Vt=Et.slice(Ct),wn=an({afterDragging:Vt,destination:de,displacedBy:Ee,last:we,viewport:Pe.frame,forceShouldAnimate:mt});return{displaced:wn,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Re}}}}function On(ee,ae){return!!ae.effected[ee]}var Aa=function(ee){var ae=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Pe=ee.combine,Ee=ee.afterCritical;if(!oe.isCombineEnabled)return null;var we=Pe.draggableId,Re=de[we],mt=Re.descriptor.index,Tt=On(we,Ee);return Tt?ae?mt:mt-1:ae?mt+1:mt},Xn=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Pe=ee.location;if(!de.length)return null;var Ee=Pe.index,we=ae?Ee+1:Ee-1,Re=de[0].descriptor.index,mt=de[de.length-1].descriptor.index,Tt=oe?mt:mt+1;return weTt?null:we},ca=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Pe=ee.draggables,Ee=ee.destination,we=ee.insideDestination,Re=ee.previousImpact,mt=ee.viewport,Tt=ee.afterCritical,Ot=Re.at;if(Ot||Ge(!1),Ot.type==="REORDER"){var Et=Xn({isMovingForward:ae,isInHomeList:oe,location:Ot.destination,insideDestination:we});return Et==null?null:Bn({draggable:de,insideDestination:we,destination:Ee,viewport:mt,last:Re.displaced,displacedBy:Re.displacedBy,index:Et})}var Ct=Aa({isMovingForward:ae,destination:Ee,displaced:Re.displaced,draggables:Pe,combine:Ot.combine,afterCritical:Tt});return Ct==null?null:Bn({draggable:de,insideDestination:we,destination:Ee,viewport:mt,last:Re.displaced,displacedBy:Re.displacedBy,index:Ct})},pa=function(ee){var ae=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Pe=ee.displacedBy,Ee=!!(ae.visible[de]||ae.invisible[de]);return On(de,oe)?Ee?Na:Wn(Pe.point):Ee?Pe.point:Na},Va=function(ee){var ae=ee.afterCritical,oe=ee.impact,de=ee.draggables,Pe=wr(oe);Pe||Ge(!1);var Ee=Pe.draggableId,we=de[Ee].page.borderBox.center,Re=pa({displaced:oe.displaced,afterCritical:ae,combineWith:Ee,displacedBy:oe.displacedBy});return Yn(we,Re)},vr=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},_r=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},kr=function(ae,oe,de){return oe[ae.crossAxisStart]+de.margin[ae.crossAxisStart]+de.borderBox[ae.crossAxisSize]/2},mo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return sa(oe.line,de.marginBox[oe.end]+vr(oe,Pe),kr(oe,de.marginBox,Pe))},vo=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Pe=ae.isMoving;return sa(oe.line,de.marginBox[oe.start]-_r(oe,Pe),kr(oe,de.marginBox,Pe))},xo=function(ae){var oe=ae.axis,de=ae.moveInto,Pe=ae.isMoving;return sa(oe.line,de.contentBox[oe.start]+vr(oe,Pe),kr(oe,de.contentBox,Pe))},pi=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.draggables,Pe=ee.droppable,Ee=ee.afterCritical,we=jr(Pe.descriptor.id,de),Re=oe.page,mt=Pe.axis;if(!we.length)return xo({axis:mt,moveInto:Pe.page,isMoving:Re});var Tt=ae.displaced,Ot=ae.displacedBy,Et=Tt.all[0];if(Et){var Ct=de[Et];if(On(Et,Ee))return vo({axis:mt,moveRelativeTo:Ct.page,isMoving:Re});var Vt=en(Ct.page,Ot.point);return vo({axis:mt,moveRelativeTo:Vt,isMoving:Re})}var wn=we[we.length-1];if(wn.descriptor.id===oe.descriptor.id)return Re.borderBox.center;if(On(wn.descriptor.id,Ee)){var xa=en(wn.page,Wn(Ee.displacedBy.point));return mo({axis:mt,moveRelativeTo:xa,isMoving:Re})}return mo({axis:mt,moveRelativeTo:wn.page,isMoving:Re})},gi=function(ee,ae){var oe=ee.frame;return oe?Yn(ae,oe.scroll.diff.displacement):ae},ri=function(ae){var oe=ae.impact,de=ae.draggable,Pe=ae.droppable,Ee=ae.draggables,we=ae.afterCritical,Re=de.page.borderBox.center,mt=oe.at;return!Pe||!mt?Re:mt.type==="REORDER"?pi({impact:oe,draggable:de,draggables:Ee,droppable:Pe,afterCritical:we}):Va({impact:oe,draggables:Ee,afterCritical:we})},ui=function(ee){var ae=ri(ee),oe=ee.droppable,de=oe?gi(oe,ae):ae;return de},vi=function(ee,ae){var oe=qa(ae,ee.scroll.initial),de=Wn(oe),Pe=Rn({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),Ee={frame:Pe,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:de}}};return Ee};function yo(ee,ae){return ee.map(function(oe){return ae[oe]})}function hi(ee,ae){for(var oe=0;oe1?Ot.sort(function(Et,Ct){return Qo(Et)[Re.start]-Qo(Ct)[Re.start]})[0]:Tt.sort(function(Et,Ct){var Vt=ra(oe,za(Qo(Et))),wn=ra(oe,za(Qo(Ct)));return Vt!==wn?Vt-wn:Qo(Et)[Re.start]-Qo(Ct)[Re.start]})[0]},Bi=function(ae,oe){var de=ae.page.borderBox.center;return On(ae.descriptor.id,oe)?qa(de,oe.displacedBy.point):de},yl=function(ae,oe){var de=ae.page.borderBox;return On(ae.descriptor.id,oe)?Ga(de,Wn(oe.displacedBy.point)):de},Xl=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Pe=ee.insideDestination,Ee=ee.afterCritical,we=Pe.filter(function(Re){return Ce({target:yl(Re,Ee),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Re,mt){var Tt=ma(ae,gi(de,Bi(Re,Ee))),Ot=ma(ae,gi(de,Bi(mt,Ee)));return Ttae.left&&ee.topae.top}function ql(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,Pe=oe.page.borderBox.center,Ee=de.map(function(we){var Re=we.axis,mt=sa(we.axis.line,ae.center[Re.line],we.page.borderBox.center[Re.crossAxisLine]);return{id:we.descriptor.id,distance:ma(Pe,mt)}}).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,de=ee.droppables,Pe=Cr(de).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,mt=we.center[Re.crossAxisLine],Tt=ae[Re.crossAxisStart],Ot=ae[Re.crossAxisEnd],Et=Dr(we[Re.crossAxisStart],we[Re.crossAxisEnd]),Ct=Et(Tt),Vt=Et(Ot);return!Ct&&!Vt?!0:Ct?Ttmt});return Pe.length?Pe.length===1?Pe[0].descriptor.id:ql({pageBorderBox:ae,draggable:oe,candidates:Pe}):null}var yi=function(ae,oe){return Rn(Ga(ae,oe))},al=function(ee,ae){var oe=ee.frame;return oe?yi(ae,oe.scroll.diff.value):ae};function ha(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,de=ee.inHomeList;return oe?de&&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,de=ee.destination,Pe=ee.insideDestination,Ee=ee.last,we=ee.viewport,Re=ee.afterCritical,mt=de.axis,Tt=Ii(de.axis,oe.displaceBy),Ot=Tt.value,Et=ae[mt.start],Ct=ae[mt.end],Vt=pr(oe,Pe),wn=Ta(Vt,function(Ia){var Oa=Ia.descriptor.id,Ya=Ia.page.borderBox.center[mt.line],ir=On(Oa,Re),dr=ha({displaced:Ee,id:Oa});return ir?dr?Ct<=Ya:EtOa[Re.start]+ir&&EtOa[Re.start]-Tt+ir&&OtOa[Re.start]+Tt+ir&&EtOa[Re.start]+ir&&Ot=$e)return Se;var Ee=Pe/$e,we=gl+Ke*Ee,Re=de==="CANCEL"?we*un:we;return Number(Re.toFixed(2))},ka=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.dimensions,Pe=ee.viewport,Ee=ee.afterCritical,we=de.draggables,Re=de.droppables,mt=oi(ae),Tt=mt?Re[mt]:null,Ot=Re[oe.descriptor.droppableId],Et=il({impact:ae,draggable:oe,draggables:we,afterCritical:Ee,droppable:Tt||Ot,viewport:Pe}),Ct=qa(Et,oe.client.borderBox.center);return Ct},Ka=function(ee){var ae=ee.draggables,oe=ee.reason,de=ee.lastImpact,Pe=ee.home,Ee=ee.viewport,we=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Re=Oi({draggables:ae,impact:we,destination:Pe,viewport:Ee,forceShouldAnimate:!0});return{impact:Re,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var mt=(0,Me.Z)({},de,{displaced:To});return{impact:mt,didDropInsideDroppable:!0}},ge=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(de){return function(Pe){if(Pe.type!=="DROP"){de(Pe);return}var Ee=ae(),we=Pe.payload.reason;if(Ee.phase==="COLLECTING"){oe(fr({reason:we}));return}if(Ee.phase!=="IDLE"){var Re=Ee.phase==="DROP_PENDING"&&Ee.isWaiting;Re&&Ge(!1),Ee.phase==="DRAGGING"||Ee.phase==="DROP_PENDING"||Ge(!1);var mt=Ee.critical,Tt=Ee.dimensions,Ot=Tt.draggables[Ee.critical.draggable.id],Et=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}),Ct=Et.impact,Vt=Et.didDropInsideDroppable,wn=Vt?Xa(Ct):null,xa=Vt?wr(Ct):null,Ia={index:mt.draggable.index,droppableId:mt.droppable.id},Oa={draggableId:Ot.descriptor.id,type:Ot.descriptor.type,source:Ia,reason:we,mode:Ee.movementMode,destination:wn,combine:xa},Ya=ka({impact:Ct,draggable:Ot,dimensions:Tt,viewport:Ee.viewport,afterCritical:Ee.afterCritical}),ir={critical:Ee.critical,afterCritical:Ee.afterCritical,result:Oa,impact:Ct},dr=!Ja(Ee.current.client.offset,Ya)||!!Oa.combine;if(!dr){oe(Tl({completed:ir}));return}var Hr=ua({current:Ee.current.client.offset,destination:Ya,reason:we}),Mr={newHomeClientOffset:Ya,dropDuration:Hr,completed:ir};oe(Rl(Mr))}}}},ce=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(ce())}var de=mn(oe),Pe=be(de),Ee=Jn;function we(){return Ee!==Jn}function Re(){we()&&Ge(!1),Ee=kn(window,[Pe])}function mt(){we()||Ge(!1),de.cancel(),Ee(),Ee=Jn}return{start:Re,stop:mt,isActive:we}}var Ie=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},He=function(ee){var ae=ke({onWindowScroll:function(de){ee.dispatch(us({newScroll:de}))}});return function(oe){return function(de){!ae.isActive()&&de.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&Ie(de)&&ae.stop(),oe(de)}}},pt=function(ee){var ae=!1,oe=!1,de=setTimeout(function(){oe=!0}),Pe=function(we){ae||oe||(ae=!0,ee(we),clearTimeout(de))};return Pe.wasCalled=function(){return ae},Pe},xt=function(){var ee=[],ae=function(Ee){var we=Br(ee,function(Tt){return Tt.timerId===Ee});we===-1&&Ge(!1);var Re=ee.splice(we,1),mt=Re[0];mt.callback()},oe=function(Ee){var we=setTimeout(function(){return ae(we)}),Re={timerId:we,callback:Ee};ee.push(Re)},de=function(){if(ee.length){var Ee=[].concat(ee);ee.length=0,Ee.forEach(function(we){clearTimeout(we.timerId),we.callback()})}};return{add:oe,flush:de}},it=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},zt=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},wt=function(ae,oe){if(ae===oe)return!0;var de=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,Pe=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return de&&Pe},Xt=function(ae,oe){Ti(),oe(),Mi()},Ln=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,de,Pe){if(!ae){de(Pe(oe));return}var Ee=pt(de),we={announce:Ee};ae(oe,we),Ee.wasCalled()||de(Pe(oe))},At=function(ee,ae){var oe=xt(),de=null,Pe=function(Ct,Vt){de&&Ge(!1),Xt("onBeforeCapture",function(){var wn=ee().onBeforeCapture;if(wn){var xa={draggableId:Ct,mode:Vt};wn(xa)}})},Ee=function(Ct,Vt){de&&Ge(!1),Xt("onBeforeDragStart",function(){var wn=ee().onBeforeDragStart;wn&&wn(Ln(Ct,Vt))})},we=function(Ct,Vt){de&&Ge(!1);var wn=Ln(Ct,Vt);de={mode:Vt,lastCritical:Ct,lastLocation:wn.source,lastCombine:null},oe.add(function(){Xt("onDragStart",function(){return _t(ee().onDragStart,wn,ae,fn.onDragStart)})})},Re=function(Ct,Vt){var wn=Xa(Vt),xa=wr(Vt);de||Ge(!1);var Ia=!wt(Ct,de.lastCritical);Ia&&(de.lastCritical=Ct);var Oa=!it(de.lastLocation,wn);Oa&&(de.lastLocation=wn);var Ya=!zt(de.lastCombine,xa);if(Ya&&(de.lastCombine=xa),!(!Ia&&!Oa&&!Ya)){var ir=(0,Me.Z)({},Ln(Ct,de.mode),{combine:xa,destination:wn});oe.add(function(){Xt("onDragUpdate",function(){return _t(ee().onDragUpdate,ir,ae,fn.onDragUpdate)})})}},mt=function(){de||Ge(!1),oe.flush()},Tt=function(Ct){de||Ge(!1),de=null,Xt("onDragEnd",function(){return _t(ee().onDragEnd,Ct,ae,fn.onDragEnd)})},Ot=function(){if(de){var Ct=(0,Me.Z)({},Ln(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Tt(Ct)}};return{beforeCapture:Pe,beforeStart:Ee,start:we,update:Re,flush:mt,drop:Tt,abort:Ot}},Un=function(ee,ae){var oe=At(ee,ae);return function(de){return function(Pe){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),Pe(Ee),oe.start(we,Ee.payload.movementMode);return}if(Ee.type==="DROP_COMPLETE"){var Re=Ee.payload.completed.result;oe.flush(),Pe(Ee),oe.drop(Re);return}if(Pe(Ee),Ee.type==="FLUSH"){oe.abort();return}var mt=de.getState();mt.phase==="DRAGGING"&&oe.update(mt.critical,mt.impact)}}}},jn=function(ee){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&Ge(!1),ee.dispatch(Tl({completed:de.completed}))}}},Qn=function(ee){var ae=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(Pe){return function(Ee){if((Ee.type==="FLUSH"||Ee.type==="DROP_COMPLETE"||Ee.type==="DROP_ANIMATION_FINISHED")&&de(),Pe(Ee),Ee.type==="DROP_ANIMATE"){var we={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var mt=ee.getState();mt.phase==="DROP_ANIMATING"&&ee.dispatch(kl())}};oe=requestAnimationFrame(function(){oe=null,ae=kn(window,[we])})}}}},Vn=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)}}}},qn=function(ee){var ae=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ae=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ae){if(de.type==="FLUSH"){ae=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ae=!1;var Pe=de.payload.completed.result;Pe.combine&&ee.tryShiftRecord(Pe.draggableId,Pe.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},Fn=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},Ca=function(ee){return function(ae){return function(oe){return function(de){if(Fn(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Pe=ae.getState();Pe.phase!=="DRAGGING"&&Ge(!1),ee.start(Pe);return}oe(de),ee.scroll(ae.getState())}}}},ba=function(ee){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(Ml({reason:de.reason})))}}}},Za=Le.qC,ja=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Pe=ee.getResponders,Ee=ee.announce,we=ee.autoScroller;return(0,Le.MT)(rs,Za((0,Le.md)(ms(de),Vn(ae),gs(ae),ge,jn,Qn,ba,Ca(we),He,qn(oe),Un(Pe,Ee))))},ia=function(){return{additions:{},removals:{},modified:{}}};function ya(ee){var ae=ee.registry,oe=ee.callbacks,de=ia(),Pe=null,Ee=function(){Pe||(oe.collectionStarting(),Pe=requestAnimationFrame(function(){Pe=null,Ti();var Ot=de,Et=Ot.additions,Ct=Ot.removals,Vt=Ot.modified,wn=Object.keys(Et).map(function(Oa){return ae.draggable.getById(Oa).getDimension(Na)}).sort(function(Oa,Ya){return Oa.descriptor.index-Ya.descriptor.index}),xa=Object.keys(Vt).map(function(Oa){var Ya=ae.droppable.getById(Oa),ir=Ya.callbacks.getScrollWhileDragging();return{droppableId:Oa,scroll:ir}}),Ia={additions:wn,removals:Object.keys(Ct),modified:xa};de=ia(),Mi(),oe.publish(Ia)}))},we=function(Ot){var Et=Ot.descriptor.id;de.additions[Et]=Ot,de.modified[Ot.descriptor.droppableId]=!0,de.removals[Et]&&delete de.removals[Et],Ee()},Re=function(Ot){var Et=Ot.descriptor;de.removals[Et.id]=!0,de.modified[Et.droppableId]=!0,de.additions[Et.id]&&delete de.additions[Et.id],Ee()},mt=function(){Pe&&(cancelAnimationFrame(Pe),Pe=null,de=ia())};return{add:we,remove:Re,stop:mt}}var Sa=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Pe=ee.width,Ee=qa({x:oe,y:ae},{x:Pe,y:de}),we={x:Math.max(0,Ee.x),y:Math.max(0,Ee.y)};return we},Gn=function(){var ee=document.documentElement;return ee||Ge(!1),ee},ga=function(){var ee=Gn(),ae=Sa({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},Ma=function(){var ee=ce(),ae=ga(),oe=ee.y,de=ee.x,Pe=Gn(),Ee=Pe.clientWidth,we=Pe.clientHeight,Re=de+Ee,mt=oe+we,Tt=Rn({top:oe,left:de,right:Re,bottom:mt}),Ot={frame:Tt,scroll:{initial:ee,current:ee,max:ae,diff:{value:Na,displacement:Na}}};return Ot},er=function(ee){var ae=ee.critical,oe=ee.scrollOptions,de=ee.registry;Ti();var Pe=Ma(),Ee=Pe.scroll.current,we=ae.droppable,Re=de.droppable.getAllByType(we.type).map(function(Et){return Et.callbacks.getDimensionAndWatchScroll(Ee,oe)}),mt=de.draggable.getAllByType(ae.draggable.type).map(function(Et){return Et.getDimension(Ee)}),Tt={draggables:Or(mt),droppables:Lr(Re)};Mi();var Ot={dimensions:Tt,critical:ae,viewport:Pe};return Ot};function ar(ee,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var Wa=function(ee,ae){var oe=null,de=ya({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),Pe=function(Vt,wn){ee.droppable.exists(Vt)||Ge(!1),oe&&ae.updateDroppableIsEnabled({id:Vt,isEnabled:wn})},Ee=function(Vt,wn){oe&&(ee.droppable.exists(Vt)||Ge(!1),ae.updateDroppableIsCombineEnabled({id:Vt,isCombineEnabled:wn}))},we=function(Vt,wn){oe&&(ee.droppable.exists(Vt)||Ge(!1),ae.updateDroppableScroll({id:Vt,newScroll:wn}))},Re=function(Vt,wn){oe&&ee.droppable.getById(Vt).callbacks.scroll(wn)},mt=function(){if(oe){de.stop();var Vt=oe.critical.droppable;ee.droppable.getAllByType(Vt.type).forEach(function(wn){return wn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Tt=function(Vt){oe||Ge(!1);var wn=oe.critical.draggable;Vt.type==="ADDITION"&&ar(ee,wn,Vt.value)&&de.add(Vt.value),Vt.type==="REMOVAL"&&ar(ee,wn,Vt.value)&&de.remove(Vt.value)},Ot=function(Vt){oe&&Ge(!1);var wn=ee.draggable.getById(Vt.draggableId),xa=ee.droppable.getById(wn.descriptor.droppableId),Ia={draggable:wn.descriptor,droppable:xa.descriptor},Oa=ee.subscribe(Tt);return oe={critical:Ia,unsubscribe:Oa},er({critical:Ia,registry:ee,scrollOptions:Vt.scrollOptions})},Et={updateDroppableIsEnabled:Pe,updateDroppableIsCombineEnabled:Ee,scrollDroppable:Re,updateDroppableScroll:we,startPublishing:Ot,stopPublishing:mt};return Et},mr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},hr=function(ee){window.scrollBy(ee.x,ee.y)},Wr=tn(function(ee){return Cr(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Zr=function(ae,oe){var de=Ta(Wr(oe),function(Pe){return Pe.frame||Ge(!1),Qi(Pe.frame.pageMarginBox)(ae)});return de},ho=function(ee){var ae=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var Pe=de[oe];return Pe.frame?Pe:null}var Ee=Zr(ae,de);return Ee},qr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},xr=function(ee,ae){var oe=ee[ae.size]*qr.startFromPercentage,de=ee[ae.size]*qr.maxScrollAtPercentage,Pe={startScrollingFrom:oe,maxScrollValueAt:de};return Pe},Do=function(ee){var ae=ee.startOfRange,oe=ee.endOfRange,de=ee.current,Pe=oe-ae;if(Pe===0)return 0;var Ee=de-ae,we=Ee/Pe;return we},Ur=1,So=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return qr.maxPixelScroll;if(ee===ae.startScrollingFrom)return Ur;var oe=Do({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),de=1-oe,Pe=qr.maxPixelScroll*qr.ease(de);return Math.ceil(Pe)},ao=qr.durationDampening.accelerateAt,Jo=qr.durationDampening.stopDampeningAt,sr=function(ee,ae){var oe=ae,de=Jo,Pe=Date.now(),Ee=Pe-oe;if(Ee>=Jo)return ee;if(Eeae.height,Ee=oe.width>ae.width;return!Ee&&!Pe?de:Ee&&Pe?null:{x:Ee?0:de.x,y:Pe?0:de.y}},Gr=Ua(function(ee){return ee===0?0:ee}),nr=function(ee){var ae=ee.dragStartTime,oe=ee.container,de=ee.subject,Pe=ee.center,Ee=ee.shouldUseTimeDampening,we={top:Pe.y-oe.top,right:oe.right-Pe.x,bottom:oe.bottom-Pe.y,left:Pe.x-oe.left},Re=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:$o,shouldUseTimeDampening:Ee}),mt=_a({container:oe,distanceToEdges:we,dragStartTime:ae,axis:jo,shouldUseTimeDampening:Ee}),Tt=Gr({x:mt,y:Re});if(Ja(Tt,Na))return null;var Ot=tr({container:oe,subject:de,proposedScroll:Tt});return Ot?Ja(Ot,Na)?null:Ot:null},cr=Ua(function(ee){return ee===0?0:ee>0?1:-1}),Rr=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ae){var oe=ae.current,de=ae.max,Pe=ae.change,Ee=Yn(oe,Pe),we={x:ee(Ee.x,de.x),y:ee(Ee.y,de.y)};return Ja(we,Na)?null:we}}(),Fr=function(ae){var oe=ae.max,de=ae.current,Pe=ae.change,Ee={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},we=cr(Pe),Re=Rr({max:Ee,current:de,change:we});return!Re||we.x!==0&&Re.x===0||we.y!==0&&Re.y===0},ro=function(ae,oe){return Fr({current:ae.scroll.current,max:ae.scroll.max,change:oe})},Ao=function(ae,oe){if(!ro(ae,oe))return null;var de=ae.scroll.max,Pe=ae.scroll.current;return Rr({current:Pe,max:de,change:oe})},Zo=function(ae,oe){var de=ae.frame;return de?Fr({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Ro=function(ae,oe){var de=ae.frame;return!de||!Zo(ae,oe)?null:Rr({current:de.scroll.current,max:de.scroll.max,change:oe})},ci=function(ee){var ae=ee.viewport,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=nr({dragStartTime:Pe,container:ae.frame,subject:oe,center:de,shouldUseTimeDampening:Ee});return we&&ro(ae,we)?we:null},No=function(ee){var ae=ee.droppable,oe=ee.subject,de=ee.center,Pe=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,we=ae.frame;if(!we)return null;var Re=nr({dragStartTime:Pe,container:we.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:Ee});return Re&&Zo(ae,Re)?Re:null},Io=function(ee){var ae=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Pe=ee.scrollWindow,Ee=ee.scrollDroppable,we=ae.current.page.borderBoxCenter,Re=ae.dimensions.draggables[ae.critical.draggable.id],mt=Re.page.marginBox;if(ae.isWindowScrollAllowed){var Tt=ae.viewport,Ot=ci({dragStartTime:oe,viewport:Tt,subject:mt,center:we,shouldUseTimeDampening:de});if(Ot){Pe(Ot);return}}var Et=ho({center:we,destination:oi(ae.impact),droppables:ae.dimensions.droppables});if(Et){var Ct=No({dragStartTime:oe,droppable:Et,subject:mt,center:we,shouldUseTimeDampening:de});Ct&&Ee(Et.descriptor.id,Ct)}},Ai=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,de=mn(ae),Pe=mn(oe),Ee=null,we=function(Ot){Ee||Ge(!1);var Et=Ee,Ct=Et.shouldUseTimeDampening,Vt=Et.dragStartTime;Io({state:Ot,scrollWindow:de,scrollDroppable:Pe,dragStartTime:Vt,shouldUseTimeDampening:Ct})},Re=function(Ot){Ti(),Ee&&Ge(!1);var Et=Date.now(),Ct=!1,Vt=function(){Ct=!0};Io({state:Ot,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Vt,scrollDroppable:Vt}),Ee={dragStartTime:Et,shouldUseTimeDampening:Ct},Mi(),Ct&&we(Ot)},mt=function(){Ee&&(de.cancel(),Pe.cancel(),Ee=null)};return{start:Re,stop:mt,scroll:we}},Xr=function(ee){var ae=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Pe=function(Tt,Ot){var Et=Yn(Tt.current.client.selection,Ot);ae({client:Et})},Ee=function(Tt,Ot){if(!Zo(Tt,Ot))return Ot;var Et=Ro(Tt,Ot);if(!Et)return oe(Tt.descriptor.id,Ot),null;var Ct=qa(Ot,Et);oe(Tt.descriptor.id,Ct);var Vt=qa(Ot,Ct);return Vt},we=function(Tt,Ot,Et){if(!Tt||!ro(Ot,Et))return Et;var Ct=Ao(Ot,Et);if(!Ct)return de(Et),null;var Vt=qa(Et,Ct);de(Vt);var wn=qa(Et,Vt);return wn},Re=function(Tt){var Ot=Tt.scrollJumpRequest;if(Ot){var Et=oi(Tt.impact);Et||Ge(!1);var Ct=Ee(Tt.dimensions.droppables[Et],Ot);if(Ct){var Vt=Tt.viewport,wn=we(Tt.isWindowScrollAllowed,Vt,Ct);wn&&Pe(Tt,wn)}}};return Re},eo=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Pe=Ai({scrollWindow:oe,scrollDroppable:ae}),Ee=Xr({move:de,scrollWindow:oe,scrollDroppable:ae}),we=function(Tt){if(Tt.phase==="DRAGGING"){if(Tt.movementMode==="FLUID"){Pe.scroll(Tt);return}Tt.scrollJumpRequest&&Ee(Tt)}},Re={scroll:we,start:Pe.start,stop:Pe.stop};return Re},co="data-rbd",Eo=function(){var ee=co+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),oo=function(){var ee=co+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Tr=function(){var ee=co+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ko={contextId:co+"-scroll-container-context-id"},Vo=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},da=function(ae,oe){return ae.map(function(de){var Pe=de.styles[oe];return Pe?de.selector+" { "+Pe+" }":""}).join(" ")},Qa="pointer-events: none;",Pr=function(ee){var ae=Vo(ee),oe=function(){var Re=` cursor: -webkit-grab; cursor: grab; `;return{selector:ae(Eo.contextId),styles:{always:` @@ -302,7 +302,7 @@ The error may be correlated with this previous error: touch-action: manipulation; `,resting:Re,dragging:Qa,dropAnimating:Re}}}(),de=function(){var Re=` transition: `+wi.outOfTheWay+`; - `;return{selector:ae(io.contextId),styles:{dragging:Re,dropAnimating:Re,userCancel:Re}}}(),Pe={selector:ae(Tr.contextId),styles:{always:"overflow-anchor: none;"}},Ee={selector:"body",styles:{dragging:` + `;return{selector:ae(oo.contextId),styles:{dragging:Re,dropAnimating:Re,userCancel:Re}}}(),Pe={selector:ae(Tr.contextId),styles:{always:"overflow-anchor: none;"}},Ee={selector:"body",styles:{dragging:` cursor: grabbing; cursor: -webkit-grabbing; user-select: none; @@ -310,9 +310,9 @@ The error may be correlated with this previous error: -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},we=[de,oe,Pe,Ee];return{always:da(we,"always"),resting:da(we,"resting"),dragging:da(we,"dragging"),dropAnimating:da(we,"dropAnimating"),userCancel:da(we,"userCancel")}},Er=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Nr=function(){var ae=document.querySelector("head");return ae||Ge(!1),ae},zr=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function oo(ee,ae){var oe=St(function(){return Pr(ee)},[ee]),de=(0,x.useRef)(null),Pe=(0,x.useRef)(null),Ee=Dt(tn(function(Et){var Ct=Pe.current;Ct||Ge(!1),Ct.textContent=Et}),[]),we=Dt(function(Et){var Ct=de.current;Ct||Ge(!1),Ct.textContent=Et},[]);Er(function(){!de.current&&!Pe.current||Ge(!1);var Et=zr(ae),Ct=zr(ae);return de.current=Et,Pe.current=Ct,Et.setAttribute(co+"-always",ee),Ct.setAttribute(co+"-dynamic",ee),Nr().appendChild(Et),Nr().appendChild(Ct),we(oe.always),Ee(oe.resting),function(){var Vt=function(xa){var Na=xa.current;Na||Ge(!1),Nr().removeChild(Na),xa.current=null};Vt(de),Vt(Pe)}},[ae,we,Ee,oe.always,oe.resting,ee]);var Re=Dt(function(){return Ee(oe.dragging)},[Ee,oe.dragging]),mt=Dt(function(Et){if(Et==="DROP"){Ee(oe.dropAnimating);return}Ee(oe.userCancel)},[Ee,oe.dropAnimating,oe.userCancel]),Tt=Dt(function(){Pe.current&&Ee(oe.resting)},[Ee,oe.resting]),Ot=St(function(){return{dragging:Re,dropping:mt,resting:Tt}},[Re,mt,Tt]);return Ot}var bo=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function lo(ee){return ee instanceof bo(ee).HTMLElement}function po(ee,ae){var oe="["+Eo.contextId+'="'+ee+'"]',de=or(document.querySelectorAll(oe));if(!de.length)return null;var Pe=Ta(de,function(Ee){return Ee.getAttribute(Eo.draggableId)===ae});return!Pe||!lo(Pe)?null:Pe}function ii(ee){var ae=(0,x.useRef)({}),oe=(0,x.useRef)(null),de=(0,x.useRef)(null),Pe=(0,x.useRef)(!1),Ee=Dt(function(Ct,Vt){var wn={id:Ct,focus:Vt};return ae.current[Ct]=wn,function(){var Na=ae.current,Oa=Na[Ct];Oa!==wn&&delete Na[Ct]}},[]),we=Dt(function(Ct){var Vt=po(ee,Ct);Vt&&Vt!==document.activeElement&&Vt.focus()},[ee]),Re=Dt(function(Ct,Vt){oe.current===Ct&&(oe.current=Vt)},[]),mt=Dt(function(){de.current||Pe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ct=oe.current;Ct&&we(Ct)}))},[we]),Tt=Dt(function(Ct){oe.current=null;var Vt=document.activeElement;Vt&&Vt.getAttribute(Eo.draggableId)===Ct&&(oe.current=Ct)},[]);Er(function(){return Pe.current=!0,function(){Pe.current=!1;var Ct=de.current;Ct&&cancelAnimationFrame(Ct)}},[]);var Ot=St(function(){return{register:Ee,tryRecordFocus:Tt,tryRestoreFocusRecorded:mt,tryShiftRecord:Re}},[Ee,Tt,mt,Re]);return Ot}function _o(){var ee={draggables:{},droppables:{}},ae=[];function oe(Et){return ae.push(Et),function(){var Vt=ae.indexOf(Et);Vt!==-1&&ae.splice(Vt,1)}}function de(Et){ae.length&&ae.forEach(function(Ct){return Ct(Et)})}function Pe(Et){return ee.draggables[Et]||null}function Ee(Et){var Ct=Pe(Et);return Ct||Ge(!1),Ct}var we={register:function(Ct){ee.draggables[Ct.descriptor.id]=Ct,de({type:"ADDITION",value:Ct})},update:function(Ct,Vt){var wn=ee.draggables[Vt.descriptor.id];wn&&wn.uniqueId===Ct.uniqueId&&(delete ee.draggables[Vt.descriptor.id],ee.draggables[Ct.descriptor.id]=Ct)},unregister:function(Ct){var Vt=Ct.descriptor.id,wn=Pe(Vt);wn&&Ct.uniqueId===wn.uniqueId&&(delete ee.draggables[Vt],de({type:"REMOVAL",value:Ct}))},getById:Ee,findById:Pe,exists:function(Ct){return!!Pe(Ct)},getAllByType:function(Ct){return br(ee.draggables).filter(function(Vt){return Vt.descriptor.type===Ct})}};function Re(Et){return ee.droppables[Et]||null}function mt(Et){var Ct=Re(Et);return Ct||Ge(!1),Ct}var Tt={register:function(Ct){ee.droppables[Ct.descriptor.id]=Ct},unregister:function(Ct){var Vt=Re(Ct.descriptor.id);Vt&&Ct.uniqueId===Vt.uniqueId&&delete ee.droppables[Ct.descriptor.id]},getById:mt,findById:Re,exists:function(Ct){return!!Re(Ct)},getAllByType:function(Ct){return br(ee.droppables).filter(function(Vt){return Vt.descriptor.type===Ct})}};function Ot(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:we,droppable:Tt,subscribe:oe,clean:Ot}}function ni(){var ee=St(_o,[]);return(0,x.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var qo=x.createContext(null),fi=function(){var ee=document.body;return ee||Ge(!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 fo(ee){var ae=St(function(){return Kr(ee)},[ee]),oe=(0,x.useRef)(null);(0,x.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,Me.Z)(Ee.style,Xi),fi().appendChild(Ee),function(){setTimeout(function(){var mt=fi();mt.contains(Ee)&&mt.removeChild(Ee),Ee===oe.current&&(oe.current=null)})}},[ae]);var de=Dt(function(Pe){var Ee=oe.current;if(Ee){Ee.textContent=Pe;return}},[]);return de}var Mo=0,Co={separator:"::"};function Wo(){Mo=0}function Uo(ee,ae){return ae===void 0&&(ae=Co),St(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,de=Uo("hidden-text",{separator:"-"}),Pe=St(function(){return Xo({contextId:ae,uniqueId:de})},[de,ae]);return(0,x.useEffect)(function(){var we=document.createElement("div");return we.id=Pe,we.textContent=oe,we.style.display="none",fi().appendChild(we),function(){var mt=fi();mt.contains(we)&&mt.removeChild(we)}},[Pe,oe]),Pe}var _i=x.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&&Ge(!1);var de=Number(oe[1]),Pe=Number(oe[2]),Ee=Number(oe[3]);return{major:de,minor:Pe,patch:Ee,raw:ae}},pl=function(ae,oe){return oe.major>ae.major?!0:oe.majorae.minor?!0:oe.minor=ae.patch},Yi=function(ee,ae){var oe=fl(ee),de=fl(ae);pl(oe,de)},vl=` + `}},we=[de,oe,Pe,Ee];return{always:da(we,"always"),resting:da(we,"resting"),dragging:da(we,"dragging"),dropAnimating:da(we,"dropAnimating"),userCancel:da(we,"userCancel")}},Er=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Nr=function(){var ae=document.querySelector("head");return ae||Ge(!1),ae},zr=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function io(ee,ae){var oe=St(function(){return Pr(ee)},[ee]),de=(0,x.useRef)(null),Pe=(0,x.useRef)(null),Ee=Dt(tn(function(Et){var Ct=Pe.current;Ct||Ge(!1),Ct.textContent=Et}),[]),we=Dt(function(Et){var Ct=de.current;Ct||Ge(!1),Ct.textContent=Et},[]);Er(function(){!de.current&&!Pe.current||Ge(!1);var Et=zr(ae),Ct=zr(ae);return de.current=Et,Pe.current=Ct,Et.setAttribute(co+"-always",ee),Ct.setAttribute(co+"-dynamic",ee),Nr().appendChild(Et),Nr().appendChild(Ct),we(oe.always),Ee(oe.resting),function(){var Vt=function(xa){var Ia=xa.current;Ia||Ge(!1),Nr().removeChild(Ia),xa.current=null};Vt(de),Vt(Pe)}},[ae,we,Ee,oe.always,oe.resting,ee]);var Re=Dt(function(){return Ee(oe.dragging)},[Ee,oe.dragging]),mt=Dt(function(Et){if(Et==="DROP"){Ee(oe.dropAnimating);return}Ee(oe.userCancel)},[Ee,oe.dropAnimating,oe.userCancel]),Tt=Dt(function(){Pe.current&&Ee(oe.resting)},[Ee,oe.resting]),Ot=St(function(){return{dragging:Re,dropping:mt,resting:Tt}},[Re,mt,Tt]);return Ot}var bo=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function lo(ee){return ee instanceof bo(ee).HTMLElement}function po(ee,ae){var oe="["+Eo.contextId+'="'+ee+'"]',de=or(document.querySelectorAll(oe));if(!de.length)return null;var Pe=Ta(de,function(Ee){return Ee.getAttribute(Eo.draggableId)===ae});return!Pe||!lo(Pe)?null:Pe}function ii(ee){var ae=(0,x.useRef)({}),oe=(0,x.useRef)(null),de=(0,x.useRef)(null),Pe=(0,x.useRef)(!1),Ee=Dt(function(Ct,Vt){var wn={id:Ct,focus:Vt};return ae.current[Ct]=wn,function(){var Ia=ae.current,Oa=Ia[Ct];Oa!==wn&&delete Ia[Ct]}},[]),we=Dt(function(Ct){var Vt=po(ee,Ct);Vt&&Vt!==document.activeElement&&Vt.focus()},[ee]),Re=Dt(function(Ct,Vt){oe.current===Ct&&(oe.current=Vt)},[]),mt=Dt(function(){de.current||Pe.current&&(de.current=requestAnimationFrame(function(){de.current=null;var Ct=oe.current;Ct&&we(Ct)}))},[we]),Tt=Dt(function(Ct){oe.current=null;var Vt=document.activeElement;Vt&&Vt.getAttribute(Eo.draggableId)===Ct&&(oe.current=Ct)},[]);Er(function(){return Pe.current=!0,function(){Pe.current=!1;var Ct=de.current;Ct&&cancelAnimationFrame(Ct)}},[]);var Ot=St(function(){return{register:Ee,tryRecordFocus:Tt,tryRestoreFocusRecorded:mt,tryShiftRecord:Re}},[Ee,Tt,mt,Re]);return Ot}function _o(){var ee={draggables:{},droppables:{}},ae=[];function oe(Et){return ae.push(Et),function(){var Vt=ae.indexOf(Et);Vt!==-1&&ae.splice(Vt,1)}}function de(Et){ae.length&&ae.forEach(function(Ct){return Ct(Et)})}function Pe(Et){return ee.draggables[Et]||null}function Ee(Et){var Ct=Pe(Et);return Ct||Ge(!1),Ct}var we={register:function(Ct){ee.draggables[Ct.descriptor.id]=Ct,de({type:"ADDITION",value:Ct})},update:function(Ct,Vt){var wn=ee.draggables[Vt.descriptor.id];wn&&wn.uniqueId===Ct.uniqueId&&(delete ee.draggables[Vt.descriptor.id],ee.draggables[Ct.descriptor.id]=Ct)},unregister:function(Ct){var Vt=Ct.descriptor.id,wn=Pe(Vt);wn&&Ct.uniqueId===wn.uniqueId&&(delete ee.draggables[Vt],de({type:"REMOVAL",value:Ct}))},getById:Ee,findById:Pe,exists:function(Ct){return!!Pe(Ct)},getAllByType:function(Ct){return br(ee.draggables).filter(function(Vt){return Vt.descriptor.type===Ct})}};function Re(Et){return ee.droppables[Et]||null}function mt(Et){var Ct=Re(Et);return Ct||Ge(!1),Ct}var Tt={register:function(Ct){ee.droppables[Ct.descriptor.id]=Ct},unregister:function(Ct){var Vt=Re(Ct.descriptor.id);Vt&&Ct.uniqueId===Vt.uniqueId&&delete ee.droppables[Ct.descriptor.id]},getById:mt,findById:Re,exists:function(Ct){return!!Re(Ct)},getAllByType:function(Ct){return br(ee.droppables).filter(function(Vt){return Vt.descriptor.type===Ct})}};function Ot(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:we,droppable:Tt,subscribe:oe,clean:Ot}}function ni(){var ee=St(_o,[]);return(0,x.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var qo=x.createContext(null),fi=function(){var ee=document.body;return ee||Ge(!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 fo(ee){var ae=St(function(){return Kr(ee)},[ee]),oe=(0,x.useRef)(null);(0,x.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,Me.Z)(Ee.style,Xi),fi().appendChild(Ee),function(){setTimeout(function(){var mt=fi();mt.contains(Ee)&&mt.removeChild(Ee),Ee===oe.current&&(oe.current=null)})}},[ae]);var de=Dt(function(Pe){var Ee=oe.current;if(Ee){Ee.textContent=Pe;return}},[]);return de}var Mo=0,Co={separator:"::"};function Wo(){Mo=0}function Uo(ee,ae){return ae===void 0&&(ae=Co),St(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,de=Uo("hidden-text",{separator:"-"}),Pe=St(function(){return Xo({contextId:ae,uniqueId:de})},[de,ae]);return(0,x.useEffect)(function(){var we=document.createElement("div");return we.id=Pe,we.textContent=oe,we.style.display="none",fi().appendChild(we),function(){var mt=fi();mt.contains(we)&&mt.removeChild(we)}},[Pe,oe]),Pe}var _i=x.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&&Ge(!1);var de=Number(oe[1]),Pe=Number(oe[2]),Ee=Number(oe[3]);return{major:de,minor:Pe,patch:Ee,raw:ae}},pl=function(ae,oe){return oe.major>ae.major?!0:oe.majorae.minor?!0:oe.minor=ae.patch},Yi=function(ee,ae){var oe=fl(ee),de=fl(ae);pl(oe,de)},vl=` We expect a html5 doctype: 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,x.version),Is(document)},[])}function zl(ee){var ae=(0,x.useRef)(ee);return(0,x.useEffect)(function(){ae.current=ee}),ae}function Hl(){var ee=null;function ae(){return!!ee}function oe(we){return we===ee}function de(we){ee&&Ge(!1);var Re={abandon:we};return ee=Re,Re}function Pe(){ee||Ge(!1),ee=null}function Ee(){ee&&(ee.abandon(),Pe())}return{isClaimed:ae,isActive:oe,claim:de,release:Pe,tryAbandon:Ee}}var Ls=9,Qs=13,jl=27,ms=32,Js=33,Xs=34,Ys=35,Os=36,Gl=37,fs=38,ps=39,Rs=40,hl,Ts=(hl={},hl[Qs]=!0,hl[Ls]=!0,hl),vs=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=Ta(ae,function(de){return"on"+de in document});return oe||ee}(),hs=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,de=ee.getPhase,Pe=ee.setPhase;return[{eventName:"mousemove",fn:function(we){var Re=we.button,mt=we.clientX,Tt=we.clientY;if(Re===hs){var Ot={x:mt,y:Tt},Et=de();if(Et.type==="DRAGGING"){we.preventDefault(),Et.actions.move(Ot);return}Et.type!=="PENDING"&&Ge(!1);var Ct=Et.point;if(Ms(Ct,Ot)){we.preventDefault();var Vt=Et.actions.fluidLift(Ot);Pe({type:"DRAGGING",actions:Vt})}}}},{eventName:"mouseup",fn:function(we){var Re=de();if(Re.type!=="DRAGGING"){ae();return}we.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(we){de().type==="DRAGGING"&&we.preventDefault(),ae()}},{eventName:"keydown",fn:function(we){var Re=de();if(Re.type==="PENDING"){ae();return}if(we.keyCode===jl){we.preventDefault(),ae();return}vs(we)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(we){var Re=de();if(Re.type==="IDLE"&&Ge(!1),Re.actions.shouldRespectForcePress()){ae();return}we.preventDefault()}},{eventName:Kl,fn:ae}]}function qs(ee){var ae=(0,x.useRef)(Ul),oe=(0,x.useRef)(Jn),de=St(function(){return{eventName:"mousedown",fn:function(Et){if(!Et.defaultPrevented&&Et.button===hs&&!(Et.ctrlKey||Et.metaKey||Et.shiftKey||Et.altKey)){var Ct=ee.findClosestDraggableId(Et);if(Ct){var Vt=ee.tryGetLock(Ct,we,{sourceEvent:Et});if(Vt){Et.preventDefault();var wn={x:Et.clientX,y:Et.clientY};oe.current(),Tt(Vt,wn)}}}}}},[ee]),Pe=St(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Et){if(!Et.defaultPrevented){var Ct=ee.findClosestDraggableId(Et);if(Ct){var Vt=ee.findOptionsForDraggable(Ct);Vt&&(Vt.shouldRespectForcePress||ee.canGetLock(Ct)&&Et.preventDefault())}}}}},[ee]),Ee=Dt(function(){var Et={passive:!1,capture:!0};oe.current=kn(window,[Pe,de],Et)},[Pe,de]),we=Dt(function(){var Ot=ae.current;Ot.type!=="IDLE"&&(ae.current=Ul,oe.current(),Ee())},[Ee]),Re=Dt(function(){var Ot=ae.current;we(),Ot.type==="DRAGGING"&&Ot.actions.cancel({shouldBlockNextClick:!0}),Ot.type==="PENDING"&&Ot.actions.abort()},[we]),mt=Dt(function(){var Et={capture:!0,passive:!1},Ct=ks({cancel:Re,completed:we,getPhase:function(){return ae.current},setPhase:function(wn){ae.current=wn}});oe.current=kn(window,Ct,Et)},[Re,we]),Tt=Dt(function(Et,Ct){ae.current.type!=="IDLE"&&Ge(!1),ae.current={type:"PENDING",point:Ct,actions:Et},mt()},[mt]);Er(function(){return Ee(),function(){oe.current()}},[Ee])}var Jr;function wo(){}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 de(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(Ee){if(Ee.keyCode===jl){Ee.preventDefault(),oe();return}if(Ee.keyCode===ms){Ee.preventDefault(),de();return}if(Ee.keyCode===Rs){Ee.preventDefault(),ee.moveDown();return}if(Ee.keyCode===fs){Ee.preventDefault(),ee.moveUp();return}if(Ee.keyCode===ps){Ee.preventDefault(),ee.moveRight();return}if(Ee.keyCode===Gl){Ee.preventDefault(),ee.moveLeft();return}if(Pi[Ee.keyCode]){Ee.preventDefault();return}vs(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,x.useRef)(wo),oe=St(function(){return{eventName:"keydown",fn:function(Ee){if(Ee.defaultPrevented||Ee.keyCode!==ms)return;var we=ee.findClosestDraggableId(Ee);if(!we)return;var Re=ee.tryGetLock(we,Ot,{sourceEvent:Ee});if(!Re)return;Ee.preventDefault();var mt=!0,Tt=Re.snapLift();ae.current();function Ot(){mt||Ge(!1),mt=!1,ae.current(),de()}ae.current=kn(window,zi(Tt,Ot),{capture:!0,passive:!1})}}},[ee]),de=Dt(function(){var Ee={passive:!1,capture:!0};ae.current=kn(window,[oe],Ee)},[oe]);Er(function(){return de(),function(){ae.current()}},[de])}var Vl={type:"IDLE"},Ss=120,Ps=.15;function ys(ee){var ae=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(Pe){Pe.preventDefault()}},{eventName:"keydown",fn:function(Pe){if(oe().type!=="DRAGGING"){ae();return}Pe.keyCode===jl&&Pe.preventDefault(),ae()}},{eventName:Kl,fn:ae}]}function Es(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ee){var we=de();if(we.type!=="DRAGGING"){ae();return}we.hasMoved=!0;var Re=Ee.touches[0],mt=Re.clientX,Tt=Re.clientY,Ot={x:mt,y:Tt};Ee.preventDefault(),we.actions.move(Ot)}},{eventName:"touchend",fn:function(Ee){var we=de();if(we.type!=="DRAGGING"){ae();return}Ee.preventDefault(),we.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Ee){if(de().type!=="DRAGGING"){ae();return}Ee.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ee){var we=de();we.type==="IDLE"&&Ge(!1);var Re=Ee.touches[0];if(Re){var mt=Re.force>=Ps;if(mt){var Tt=we.actions.shouldRespectForcePress();if(we.type==="PENDING"){Tt&&ae();return}if(Tt){if(we.hasMoved){Ee.preventDefault();return}ae();return}Ee.preventDefault()}}}},{eventName:Kl,fn:ae}]}function Lu(ee){var ae=(0,x.useRef)(Vl),oe=(0,x.useRef)(Jn),de=Dt(function(){return ae.current},[]),Pe=Dt(function(Vt){ae.current=Vt},[]),Ee=St(function(){return{eventName:"touchstart",fn:function(Vt){if(!Vt.defaultPrevented){var wn=ee.findClosestDraggableId(Vt);if(wn){var xa=ee.tryGetLock(wn,Re,{sourceEvent:Vt});if(xa){var Na=Vt.touches[0],Oa=Na.clientX,Ya=Na.clientY,ir={x:Oa,y:Ya};oe.current(),Et(xa,ir)}}}}}},[ee]),we=Dt(function(){var Vt={capture:!0,passive:!1};oe.current=kn(window,[Ee],Vt)},[Ee]),Re=Dt(function(){var Ct=ae.current;Ct.type!=="IDLE"&&(Ct.type==="PENDING"&&clearTimeout(Ct.longPressTimerId),Pe(Vl),oe.current(),we())},[we,Pe]),mt=Dt(function(){var Ct=ae.current;Re(),Ct.type==="DRAGGING"&&Ct.actions.cancel({shouldBlockNextClick:!0}),Ct.type==="PENDING"&&Ct.actions.abort()},[Re]),Tt=Dt(function(){var Vt={capture:!0,passive:!1},wn={cancel:mt,completed:Re,getPhase:de},xa=kn(window,Es(wn),Vt),Na=kn(window,ys(wn),Vt);oe.current=function(){xa(),Na()}},[mt,de,Re]),Ot=Dt(function(){var Vt=de();Vt.type!=="PENDING"&&Ge(!1);var wn=Vt.actions.fluidLift(Vt.point);Pe({type:"DRAGGING",actions:wn,hasMoved:!1})},[de,Pe]),Et=Dt(function(Vt,wn){de().type!=="IDLE"&&Ge(!1);var xa=setTimeout(Ot,Ss);Pe({type:"PENDING",point:wn,actions:Vt,longPressTimerId:xa}),Tt()},[Tt,de,Pe,Ot]);Er(function(){return we(),function(){oe.current();var wn=de();wn.type==="PENDING"&&(clearTimeout(wn.longPressTimerId),Pe(Vl))}},[de,we,Pe]),Er(function(){var Vt=kn(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 de=ae.getAttribute("contenteditable");return de==="true"||de===""?!0:ae===ee?!1:gu(ee,ae.parentElement)}function Tu(ee,ae){var oe=ae.target;return lo(oe)?gu(ee,oe):!1}var Mu=function(ee){return Rn(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof bo(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Ta(ae,function(de){return de 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"["+Eo.contextId+'="'+ee+'"]'}function Hu(ee,ae){var oe=ae.target;if(!ku(oe))return null;var de=zu(ee),Pe=_u(oe,de);return!Pe||!lo(Pe)?null:Pe}function ju(ee,ae){var oe=Hu(ee,ae);return oe?oe.getAttribute(Eo.draggableId):null}function Gu(ee,ae){var oe="["+io.contextId+'="'+ee+'"]',de=or(document.querySelectorAll(oe)),Pe=Ta(de,function(Ee){return Ee.getAttribute(io.id)===ae});return!Pe||!lo(Pe)?null:Pe}function Ku(ee){ee.preventDefault()}function Zs(ee){var ae=ee.expected,oe=ee.phase,de=ee.isLockActive,Pe=ee.shouldWarn;return!(!de()||ae!==oe)}function fu(ee){var ae=ee.lockAPI,oe=ee.store,de=ee.registry,Pe=ee.draggableId;if(ae.isClaimed())return!1;var Ee=de.draggable.findById(Pe);return!(!Ee||!Ee.options.isEnabled||!mr(oe.getState(),Pe))}function Wu(ee){var ae=ee.lockAPI,oe=ee.contextId,de=ee.store,Pe=ee.registry,Ee=ee.draggableId,we=ee.forceSensorStop,Re=ee.sourceEvent,mt=fu({lockAPI:ae,store:de,registry:Pe,draggableId:Ee});if(!mt)return null;var Tt=Pe.draggable.getById(Ee),Ot=Gu(oe,Tt.descriptor.id);if(!Ot||Re&&!Tt.options.canDragInteractiveElements&&Tu(Ot,Re))return null;var Et=ae.claim(we||Jn),Ct="PRE_DRAG";function Vt(){return Tt.options.shouldRespectForcePress}function wn(){return ae.isActive(Et)}function xa(Mr,to){Zs({expected:Mr,phase:Ct,isLockActive:wn,shouldWarn:!0})&&de.dispatch(to())}var Na=xa.bind(null,"DRAGGING");function Oa(Mr){function to(){ae.release(),Ct="COMPLETED"}Ct!=="PRE_DRAG"&&(to(),Ct!=="PRE_DRAG"&&Ge(!1)),de.dispatch(os(Mr.liftActionArgs)),Ct="DRAGGING";function zo(so,Ho){if(Ho===void 0&&(Ho={shouldBlockNextClick:!1}),Mr.cleanup(),Ho.shouldBlockNextClick){var ai=kn(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ai)}to(),de.dispatch(Ml({reason:so}))}return(0,Me.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:Ct,isLockActive:wn,shouldWarn:!1})},shouldRespectForcePress:Vt,drop:function(Ho){return zo("DROP",Ho)},cancel:function(Ho){return zo("CANCEL",Ho)}},Mr.actions)}function Ya(Mr){var to=mn(function(so){Na(function(){return Ll({client:so})})}),zo=Oa({liftActionArgs:{id:Ee,clientSelection:Mr,movementMode:"FLUID"},cleanup:function(){return to.cancel()},actions:{move:to}});return(0,Me.Z)({},zo,{move:to})}function ir(){var Mr={moveUp:function(){return Na(Ci)},moveRight:function(){return Na($i)},moveDown:function(){return Na(Oo)},moveLeft:function(){return Na(us)}};return Oa({liftActionArgs:{id:Ee,clientSelection:Mu(Ot),movementMode:"SNAP"},cleanup:Jn,actions:Mr})}function dr(){var Mr=Zs({expected:"PRE_DRAG",phase:Ct,isLockActive:wn,shouldWarn:!0});Mr&&ae.release()}var Hr={isActive:function(){return Zs({expected:"PRE_DRAG",phase:Ct,isLockActive:wn,shouldWarn:!1})},shouldRespectForcePress:Vt,fluidLift:Ya,snapLift:ir,abort:dr};return Hr}var Uu=[qs,Hi,Lu];function Vu(ee){var ae=ee.contextId,oe=ee.store,de=ee.registry,Pe=ee.customSensors,Ee=ee.enableDefaultSensors,we=[].concat(Ee?Uu:[],Pe||[]),Re=(0,x.useState)(function(){return Hl()})[0],mt=Dt(function(Ya,ir){Ya.isDragging&&!ir.isDragging&&Re.tryAbandon()},[Re]);Er(function(){var Ya=oe.getState(),ir=oe.subscribe(function(){var dr=oe.getState();mt(Ya,dr),Ya=dr});return ir},[Re,oe,mt]),Er(function(){return Re.tryAbandon},[Re.tryAbandon]);var Tt=Dt(function(Oa){return fu({lockAPI:Re,registry:de,store:oe,draggableId:Oa})},[Re,de,oe]),Ot=Dt(function(Oa,Ya,ir){return Wu({lockAPI:Re,registry:de,contextId:ae,store:oe,draggableId:Oa,forceSensorStop:Ya,sourceEvent:ir&&ir.sourceEvent?ir.sourceEvent:null})},[ae,Re,de,oe]),Et=Dt(function(Oa){return ju(ae,Oa)},[ae]),Ct=Dt(function(Oa){var Ya=de.draggable.findById(Oa);return Ya?Ya.options:null},[de.draggable]),Vt=Dt(function(){Re.isClaimed()&&(Re.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Ol()))},[Re,oe]),wn=Dt(Re.isClaimed,[Re]),xa=St(function(){return{canGetLock:Tt,tryGetLock:Ot,findClosestDraggableId:Et,findOptionsForDraggable:Ct,tryReleaseLock:Vt,isLockClaimed:wn}},[Tt,Ot,Et,Ct,Vt,wn]);Ou(we);for(var Na=0;Na=Wl||Math.abs(ae.y-ee.y)>=Wl}var Ul={type:"IDLE"};function ks(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase,Pe=ee.setPhase;return[{eventName:"mousemove",fn:function(we){var Re=we.button,mt=we.clientX,Tt=we.clientY;if(Re===Ss){var Ot={x:mt,y:Tt},Et=de();if(Et.type==="DRAGGING"){we.preventDefault(),Et.actions.move(Ot);return}Et.type!=="PENDING"&&Ge(!1);var Ct=Et.point;if(Ms(Ct,Ot)){we.preventDefault();var Vt=Et.actions.fluidLift(Ot);Pe({type:"DRAGGING",actions:Vt})}}}},{eventName:"mouseup",fn:function(we){var Re=de();if(Re.type!=="DRAGGING"){ae();return}we.preventDefault(),Re.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(we){de().type==="DRAGGING"&&we.preventDefault(),ae()}},{eventName:"keydown",fn:function(we){var Re=de();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(){de().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(we){var Re=de();if(Re.type==="IDLE"&&Ge(!1),Re.actions.shouldRespectForcePress()){ae();return}we.preventDefault()}},{eventName:Kl,fn:ae}]}function qs(ee){var ae=(0,x.useRef)(Ul),oe=(0,x.useRef)(Jn),de=St(function(){return{eventName:"mousedown",fn:function(Et){if(!Et.defaultPrevented&&Et.button===Ss&&!(Et.ctrlKey||Et.metaKey||Et.shiftKey||Et.altKey)){var Ct=ee.findClosestDraggableId(Et);if(Ct){var Vt=ee.tryGetLock(Ct,we,{sourceEvent:Et});if(Vt){Et.preventDefault();var wn={x:Et.clientX,y:Et.clientY};oe.current(),Tt(Vt,wn)}}}}}},[ee]),Pe=St(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Et){if(!Et.defaultPrevented){var Ct=ee.findClosestDraggableId(Et);if(Ct){var Vt=ee.findOptionsForDraggable(Ct);Vt&&(Vt.shouldRespectForcePress||ee.canGetLock(Ct)&&Et.preventDefault())}}}}},[ee]),Ee=Dt(function(){var Et={passive:!1,capture:!0};oe.current=kn(window,[Pe,de],Et)},[Pe,de]),we=Dt(function(){var Ot=ae.current;Ot.type!=="IDLE"&&(ae.current=Ul,oe.current(),Ee())},[Ee]),Re=Dt(function(){var Ot=ae.current;we(),Ot.type==="DRAGGING"&&Ot.actions.cancel({shouldBlockNextClick:!0}),Ot.type==="PENDING"&&Ot.actions.abort()},[we]),mt=Dt(function(){var Et={capture:!0,passive:!1},Ct=ks({cancel:Re,completed:we,getPhase:function(){return ae.current},setPhase:function(wn){ae.current=wn}});oe.current=kn(window,Ct,Et)},[Re,we]),Tt=Dt(function(Et,Ct){ae.current.type!=="IDLE"&&Ge(!1),ae.current={type:"PENDING",point:Ct,actions:Et},mt()},[mt]);Er(function(){return Ee(),function(){oe.current()}},[Ee])}var Jr;function wo(){}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 de(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(Ee){if(Ee.keyCode===jl){Ee.preventDefault(),oe();return}if(Ee.keyCode===fs){Ee.preventDefault(),de();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,x.useRef)(wo),oe=St(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,Ot,{sourceEvent:Ee});if(!Re)return;Ee.preventDefault();var mt=!0,Tt=Re.snapLift();ae.current();function Ot(){mt||Ge(!1),mt=!1,ae.current(),de()}ae.current=kn(window,zi(Tt,Ot),{capture:!0,passive:!1})}}},[ee]),de=Dt(function(){var Ee={passive:!1,capture:!0};ae.current=kn(window,[oe],Ee)},[oe]);Er(function(){return de(),function(){ae.current()}},[de])}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(Pe){Pe.preventDefault()}},{eventName:"keydown",fn:function(Pe){if(oe().type!=="DRAGGING"){ae();return}Pe.keyCode===jl&&Pe.preventDefault(),ae()}},{eventName:Kl,fn:ae}]}function bs(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ee){var we=de();if(we.type!=="DRAGGING"){ae();return}we.hasMoved=!0;var Re=Ee.touches[0],mt=Re.clientX,Tt=Re.clientY,Ot={x:mt,y:Tt};Ee.preventDefault(),we.actions.move(Ot)}},{eventName:"touchend",fn:function(Ee){var we=de();if(we.type!=="DRAGGING"){ae();return}Ee.preventDefault(),we.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Ee){if(de().type!=="DRAGGING"){ae();return}Ee.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ee){var we=de();we.type==="IDLE"&&Ge(!1);var Re=Ee.touches[0];if(Re){var mt=Re.force>=ys;if(mt){var Tt=we.actions.shouldRespectForcePress();if(we.type==="PENDING"){Tt&&ae();return}if(Tt){if(we.hasMoved){Ee.preventDefault();return}ae();return}Ee.preventDefault()}}}},{eventName:Kl,fn:ae}]}function Lu(ee){var ae=(0,x.useRef)(Vl),oe=(0,x.useRef)(Jn),de=Dt(function(){return ae.current},[]),Pe=Dt(function(Vt){ae.current=Vt},[]),Ee=St(function(){return{eventName:"touchstart",fn:function(Vt){if(!Vt.defaultPrevented){var wn=ee.findClosestDraggableId(Vt);if(wn){var xa=ee.tryGetLock(wn,Re,{sourceEvent:Vt});if(xa){var Ia=Vt.touches[0],Oa=Ia.clientX,Ya=Ia.clientY,ir={x:Oa,y:Ya};oe.current(),Et(xa,ir)}}}}}},[ee]),we=Dt(function(){var Vt={capture:!0,passive:!1};oe.current=kn(window,[Ee],Vt)},[Ee]),Re=Dt(function(){var Ct=ae.current;Ct.type!=="IDLE"&&(Ct.type==="PENDING"&&clearTimeout(Ct.longPressTimerId),Pe(Vl),oe.current(),we())},[we,Pe]),mt=Dt(function(){var Ct=ae.current;Re(),Ct.type==="DRAGGING"&&Ct.actions.cancel({shouldBlockNextClick:!0}),Ct.type==="PENDING"&&Ct.actions.abort()},[Re]),Tt=Dt(function(){var Vt={capture:!0,passive:!1},wn={cancel:mt,completed:Re,getPhase:de},xa=kn(window,bs(wn),Vt),Ia=kn(window,Es(wn),Vt);oe.current=function(){xa(),Ia()}},[mt,de,Re]),Ot=Dt(function(){var Vt=de();Vt.type!=="PENDING"&&Ge(!1);var wn=Vt.actions.fluidLift(Vt.point);Pe({type:"DRAGGING",actions:wn,hasMoved:!1})},[de,Pe]),Et=Dt(function(Vt,wn){de().type!=="IDLE"&&Ge(!1);var xa=setTimeout(Ot,Ps);Pe({type:"PENDING",point:wn,actions:Vt,longPressTimerId:xa}),Tt()},[Tt,de,Pe,Ot]);Er(function(){return we(),function(){oe.current();var wn=de();wn.type==="PENDING"&&(clearTimeout(wn.longPressTimerId),Pe(Vl))}},[de,we,Pe]),Er(function(){var Vt=kn(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 de=ae.getAttribute("contenteditable");return de==="true"||de===""?!0:ae===ee?!1:gu(ee,ae.parentElement)}function Tu(ee,ae){var oe=ae.target;return lo(oe)?gu(ee,oe):!1}var Mu=function(ee){return Rn(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof bo(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Ta(ae,function(de){return de 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"["+Eo.contextId+'="'+ee+'"]'}function Hu(ee,ae){var oe=ae.target;if(!ku(oe))return null;var de=zu(ee),Pe=_u(oe,de);return!Pe||!lo(Pe)?null:Pe}function ju(ee,ae){var oe=Hu(ee,ae);return oe?oe.getAttribute(Eo.draggableId):null}function Gu(ee,ae){var oe="["+oo.contextId+'="'+ee+'"]',de=or(document.querySelectorAll(oe)),Pe=Ta(de,function(Ee){return Ee.getAttribute(oo.id)===ae});return!Pe||!lo(Pe)?null:Pe}function Ku(ee){ee.preventDefault()}function Zs(ee){var ae=ee.expected,oe=ee.phase,de=ee.isLockActive,Pe=ee.shouldWarn;return!(!de()||ae!==oe)}function fu(ee){var ae=ee.lockAPI,oe=ee.store,de=ee.registry,Pe=ee.draggableId;if(ae.isClaimed())return!1;var Ee=de.draggable.findById(Pe);return!(!Ee||!Ee.options.isEnabled||!mr(oe.getState(),Pe))}function Wu(ee){var ae=ee.lockAPI,oe=ee.contextId,de=ee.store,Pe=ee.registry,Ee=ee.draggableId,we=ee.forceSensorStop,Re=ee.sourceEvent,mt=fu({lockAPI:ae,store:de,registry:Pe,draggableId:Ee});if(!mt)return null;var Tt=Pe.draggable.getById(Ee),Ot=Gu(oe,Tt.descriptor.id);if(!Ot||Re&&!Tt.options.canDragInteractiveElements&&Tu(Ot,Re))return null;var Et=ae.claim(we||Jn),Ct="PRE_DRAG";function Vt(){return Tt.options.shouldRespectForcePress}function wn(){return ae.isActive(Et)}function xa(Mr,to){Zs({expected:Mr,phase:Ct,isLockActive:wn,shouldWarn:!0})&&de.dispatch(to())}var Ia=xa.bind(null,"DRAGGING");function Oa(Mr){function to(){ae.release(),Ct="COMPLETED"}Ct!=="PRE_DRAG"&&(to(),Ct!=="PRE_DRAG"&&Ge(!1)),de.dispatch(is(Mr.liftActionArgs)),Ct="DRAGGING";function zo(so,Ho){if(Ho===void 0&&(Ho={shouldBlockNextClick:!1}),Mr.cleanup(),Ho.shouldBlockNextClick){var ai=kn(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ai)}to(),de.dispatch(Ml({reason:so}))}return(0,Me.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:Ct,isLockActive:wn,shouldWarn:!1})},shouldRespectForcePress:Vt,drop:function(Ho){return zo("DROP",Ho)},cancel:function(Ho){return zo("CANCEL",Ho)}},Mr.actions)}function Ya(Mr){var to=mn(function(so){Ia(function(){return Ll({client:so})})}),zo=Oa({liftActionArgs:{id:Ee,clientSelection:Mr,movementMode:"FLUID"},cleanup:function(){return to.cancel()},actions:{move:to}});return(0,Me.Z)({},zo,{move:to})}function ir(){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(Ot),movementMode:"SNAP"},cleanup:Jn,actions:Mr})}function dr(){var Mr=Zs({expected:"PRE_DRAG",phase:Ct,isLockActive:wn,shouldWarn:!0});Mr&&ae.release()}var Hr={isActive:function(){return Zs({expected:"PRE_DRAG",phase:Ct,isLockActive:wn,shouldWarn:!1})},shouldRespectForcePress:Vt,fluidLift:Ya,snapLift:ir,abort:dr};return Hr}var Uu=[qs,Hi,Lu];function Vu(ee){var ae=ee.contextId,oe=ee.store,de=ee.registry,Pe=ee.customSensors,Ee=ee.enableDefaultSensors,we=[].concat(Ee?Uu:[],Pe||[]),Re=(0,x.useState)(function(){return Hl()})[0],mt=Dt(function(Ya,ir){Ya.isDragging&&!ir.isDragging&&Re.tryAbandon()},[Re]);Er(function(){var Ya=oe.getState(),ir=oe.subscribe(function(){var dr=oe.getState();mt(Ya,dr),Ya=dr});return ir},[Re,oe,mt]),Er(function(){return Re.tryAbandon},[Re.tryAbandon]);var Tt=Dt(function(Oa){return fu({lockAPI:Re,registry:de,store:oe,draggableId:Oa})},[Re,de,oe]),Ot=Dt(function(Oa,Ya,ir){return Wu({lockAPI:Re,registry:de,contextId:ae,store:oe,draggableId:Oa,forceSensorStop:Ya,sourceEvent:ir&&ir.sourceEvent?ir.sourceEvent:null})},[ae,Re,de,oe]),Et=Dt(function(Oa){return ju(ae,Oa)},[ae]),Ct=Dt(function(Oa){var Ya=de.draggable.findById(Oa);return Ya?Ya.options:null},[de.draggable]),Vt=Dt(function(){Re.isClaimed()&&(Re.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Ol()))},[Re,oe]),wn=Dt(Re.isClaimed,[Re]),xa=St(function(){return{canGetLock:Tt,tryGetLock:Ot,findClosestDraggableId:Et,findOptionsForDraggable:Ct,tryReleaseLock:Vt,isLockClaimed:wn}},[Tt,Ot,Et,Ct,Vt,wn]);Ou(we);for(var Ia=0;Ia0&&he.push(vt)},H.onparsingerror=function(vt){Xe=vt},H.onflush=function(){if(Xe){N(Xe);return}I(he)},oe.forEach(vt=>{if(lt)if(Gl(vt,"X-TIMESTAMP-MAP=")){lt=!1,vt.slice(16).split(",").forEach(Qt=>{Gl(Qt,"LOCAL:")?Se=Qt.slice(6):Gl(Qt,"MPEGTS:")&&(De=parseInt(Qt.slice(7)))});try{He=wc(Se)/1e3}catch(Qt){Xe=Qt}return}else vt===""&&(lt=!1);H.parse(vt+` `)}),H.flush()}const au="stpp.ttml.im1t",el=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Gs=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,No={left:"start",center:"center",right:"end",start:"start",end:"end"};function $o(j,r,a,_){const E=ct(new Uint8Array(j),["mdat"]);if(E.length===0){_(new Error("Could not parse IMSC1 mdat"));return}const I=E.map(H=>qe(H)),N=$i(r.baseTime,1,r.timescale);try{I.forEach(H=>a(Kl(H,N)))}catch(H){_(H)}}function Kl(j,r){const E=new DOMParser().parseFromString(j,"text/xml").getElementsByTagName("tt")[0];if(!E)throw new Error("Invalid ttml");const I={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},N=Object.keys(I).reduce((Se,De)=>(Se[De]=E.getAttribute(`ttp:${De}`)||I[De],Se),{}),H=E.getAttribute("xml:space")!=="preserve",oe=su(Vu(E,"styling","style")),he=su(Vu(E,"layout","region")),be=Vu(E,"body","[begin]");return[].map.call(be,Se=>{const De=Vl(Se,H);if(!De||!Se.hasAttribute("begin"))return null;const He=du(Se.getAttribute("begin"),N),Xe=du(Se.getAttribute("dur"),N);let lt=du(Se.getAttribute("end"),N);if(He===null)throw tl(Se);if(lt===null){if(Xe===null)throw tl(Se);lt=He+Xe}const vt=new qu(He-r,lt-r,De);vt.id=ju(vt.startTime,vt.endTime,vt.text);const Qt=he[Se.getAttribute("region")],yr=oe[Se.getAttribute("style")],Tr=cc(Qt,yr,oe),{textAlign:Wr}=Tr;if(Wr){const Br=No[Wr];Br&&(vt.lineAlign=Br),vt.align=Wr}return i(vt,Tr),vt}).filter(Se=>Se!==null)}function Vu(j,r,a){const _=j.getElementsByTagName(r)[0];return _?[].slice.call(_.querySelectorAll(a)):[]}function su(j){return j.reduce((r,a)=>{const _=a.getAttribute("xml:id");return _&&(r[_]=a),r},{})}function Vl(j,r){return[].slice.call(j.childNodes).reduce((a,_,E)=>{var I;return _.nodeName==="br"&&E?a+` `:(I=_.childNodes)!=null&&I.length?Vl(_,r):r?a+_.textContent.trim().replace(/\s+/g," "):a+_.textContent},"")}function cc(j,r,a){const _="http://www.w3.org/ns/ttml#styling";let E=null;const I=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],N=j!=null&&j.hasAttribute("style")?j.getAttribute("style"):null;return N&&a.hasOwnProperty(N)&&(E=a[N]),I.reduce((H,oe)=>{const he=Qo(r,_,oe)||Qo(j,_,oe)||Qo(E,_,oe);return he&&(H[oe]=he),H},{})}function Qo(j,r,a){return j&&j.hasAttributeNS(r,a)?j.getAttributeNS(r,a):null}function tl(j){return new Error(`Could not parse ttml timestamp ${j}`)}function du(j,r){if(!j)return null;let a=Zl(j);return a===null&&(el.test(j)?a=Yl(j,r):Gs.test(j)&&(a=rl(j,r))),a}function Yl(j,r){const a=el.exec(j),_=(a[4]|0)+(a[5]|0)/r.subFrameRate;return(a[1]|0)*3600+(a[2]|0)*60+(a[3]|0)+_/r.frameRate}function rl(j,r){const a=Gs.exec(j),_=Number(a[1]);switch(a[2]){case"h":return _*3600;case"m":return _*60;case"ms":return _*1e3;case"f":return _/r.frameRate;case"t":return _/r.tickRate}return _}class Ma{constructor(r){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Xl(),this.captionsProperties=void 0,this.hls=r,this.config=r.config,this.Cues=r.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},r.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),r.on(l.MEDIA_DETACHING,this.onMediaDetaching,this),r.on(l.MANIFEST_LOADING,this.onManifestLoading,this),r.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.on(l.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),r.on(l.FRAG_LOADING,this.onFragLoading,this),r.on(l.FRAG_LOADED,this.onFragLoaded,this),r.on(l.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),r.on(l.FRAG_DECRYPTED,this.onFragDecrypted,this),r.on(l.INIT_PTS_FOUND,this.onInitPtsFound,this),r.on(l.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),r.on(l.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:r}=this;r.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),r.off(l.MEDIA_DETACHING,this.onMediaDetaching,this),r.off(l.MANIFEST_LOADING,this.onManifestLoading,this),r.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.off(l.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),r.off(l.FRAG_LOADING,this.onFragLoading,this),r.off(l.FRAG_LOADED,this.onFragLoaded,this),r.off(l.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),r.off(l.FRAG_DECRYPTED,this.onFragDecrypted,this),r.off(l.INIT_PTS_FOUND,this.onInitPtsFound,this),r.off(l.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),r.off(l.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){if(this.config.enableCEA708Captions&&(!this.cea608Parser1||!this.cea608Parser2)){const r=new vl(this,"textTrack1"),a=new vl(this,"textTrack2"),_=new vl(this,"textTrack3"),E=new vl(this,"textTrack4");this.cea608Parser1=new Xo(1,r,a),this.cea608Parser2=new Xo(3,_,E)}}addCues(r,a,_,E,I){let N=!1;for(let H=I.length;H--;){const oe=I[H],he=Uu(oe[0],oe[1],a,_);if(he>=0&&(oe[0]=Math.min(oe[0],a),oe[1]=Math.max(oe[1],_),N=!0,he/(_-a)>.5))return}if(N||I.push([a,_]),this.config.renderTextTracksNatively){const H=this.captionsTracks[r];this.Cues.newCue(H,a,_,E)}else{const H=this.Cues.newCue(null,a,_,E);this.hls.trigger(l.CUES_PARSED,{type:"captions",cues:H,track:r})}}onInitPtsFound(r,{frag:a,id:_,initPTS:E,timescale:I}){const{unparsedVttFrags:N}=this;_==="main"&&(this.initPTS[a.cc]={baseTime:E,timescale:I}),N.length&&(this.unparsedVttFrags=[],N.forEach(H=>{this.onFragLoaded(l.FRAG_LOADED,H)}))}getExistingTrack(r,a){const{media:_}=this;if(_)for(let E=0;E<_.textTracks.length;E++){const I=_.textTracks[E];if(fc(I,{name:r,lang:a,attrs:{}}))return I}return null}createCaptionsTrack(r){this.config.renderTextTracksNatively?this.createNativeTrack(r):this.createNonNativeTrack(r)}createNativeTrack(r){if(this.captionsTracks[r])return;const{captionsProperties:a,captionsTracks:_,media:E}=this,{label:I,languageCode:N}=a[r],H=this.getExistingTrack(I,N);if(H)_[r]=H,yn(_[r]),Ir(_[r],E);else{const oe=this.createTextTrack("captions",I,N);oe&&(oe[r]=!0,_[r]=oe)}}createNonNativeTrack(r){if(this.nonNativeCaptionsTracks[r])return;const a=this.captionsProperties[r];if(!a)return;const _=a.label,E={_id:r,label:_,kind:"captions",default:a.media?!!a.media.default:!1,closedCaptions:a.media};this.nonNativeCaptionsTracks[r]=E,this.hls.trigger(l.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[E]})}createTextTrack(r,a,_){const E=this.media;if(E)return E.addTextTrack(r,a,_)}onMediaAttaching(r,a){this.media=a.media,this._cleanTracks()}onMediaDetaching(){const{captionsTracks:r}=this;Object.keys(r).forEach(a=>{yn(r[a]),delete r[a]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Xl(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:r}=this;if(!r)return;const a=r.textTracks;if(a)for(let _=0;_I.textCodec===au);if(this.config.enableWebVTT||E&&this.config.enableIMSC1){if(aa(this.tracks,_)){this.tracks=_;return}if(this.textTracks=[],this.tracks=_,this.config.renderTextTracksNatively){const N=this.media,H=N?on(N.textTracks):null;if(this.tracks.forEach((oe,he)=>{let be;if(H){let Se=null;for(let De=0;Dehe!==null).map(he=>he.label);oe.length&&R.warn(`Media element contains unused subtitle tracks: ${oe.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const N=this.tracks.map(H=>({label:H.name,kind:H.type.toLowerCase(),default:H.default,subtitleTrack:H}));this.hls.trigger(l.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:N})}}}onManifestLoaded(r,a){this.config.enableCEA708Captions&&a.captions&&a.captions.forEach(_=>{const E=/(?:CC|SERVICE)([1-4])/.exec(_.instreamId);if(!E)return;const I=`textTrack${E[1]}`,N=this.captionsProperties[I];N&&(N.label=_.name,_.lang&&(N.languageCode=_.lang),N.media=_)})}closedCaptionsForLevel(r){const a=this.hls.levels[r.level];return a==null?void 0:a.attrs["CLOSED-CAPTIONS"]}onFragLoading(r,a){if(this.enabled&&a.frag.type===Ye.MAIN){var _,E;const{cea608Parser1:I,cea608Parser2:N,lastSn:H}=this,{cc:oe,sn:he}=a.frag,be=(_=(E=a.part)==null?void 0:E.index)!=null?_:-1;I&&N&&(he!==H+1||he===H&&be!==this.lastPartIndex+1||oe!==this.lastCc)&&(I.reset(),N.reset()),this.lastCc=oe,this.lastSn=he,this.lastPartIndex=be}}onFragLoaded(r,a){const{frag:_,payload:E}=a;if(_.type===Ye.SUBTITLE)if(E.byteLength){const I=_.decryptdata,N="stats"in a;if(I==null||!I.encrypted||N){const H=this.tracks[_.level],oe=this.vttCCs;oe[_.cc]||(oe[_.cc]={start:_.start,prevCC:this.prevCC,new:!0},this.prevCC=_.cc),H&&H.textCodec===au?this._parseIMSC1(_,E):this._parseVTTs(a)}}else this.hls.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:_,error:new Error("Empty subtitle payload")})}_parseIMSC1(r,a){const _=this.hls;$o(a,this.initPTS[r.cc],E=>{this._appendCues(E,r.level),_.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:r})},E=>{R.log(`Failed to parse IMSC1: ${E}`),_.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r,error:E})})}_parseVTTs(r){var a;const{frag:_,payload:E}=r,{initPTS:I,unparsedVttFrags:N}=this,H=I.length-1;if(!I[_.cc]&&H===-1){N.push(r);return}const oe=this.hls,he=(a=_.initSegment)!=null&&a.data?dr(_.initSegment.data,new Uint8Array(E)):E;gl(he,this.initPTS[_.cc],this.vttCCs,_.cc,_.start,be=>{this._appendCues(be,_.level),oe.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:_})},be=>{const Se=be.message==="Missing initPTS for VTT MPEGTS";Se?N.push(r):this._fallbackToIMSC1(_,E),R.log(`Failed to parse VTT cue: ${be}`),!(Se&&H>_.cc)&&oe.trigger(l.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:_,error:be})})}_fallbackToIMSC1(r,a){const _=this.tracks[r.level];_.textCodec||$o(a,this.initPTS[r.cc],()=>{_.textCodec=au,this._parseIMSC1(r,a)},()=>{_.textCodec="wvtt"})}_appendCues(r,a){const _=this.hls;if(this.config.renderTextTracksNatively){const E=this.textTracks[a];if(!E||E.mode==="disabled")return;r.forEach(I=>Hr(E,I))}else{const E=this.tracks[a];if(!E)return;const I=E.default?"default":"subtitles"+a;_.trigger(l.CUES_PARSED,{type:"subtitles",cues:r,track:I})}}onFragDecrypted(r,a){const{frag:_}=a;_.type===Ye.SUBTITLE&&this.onFragLoaded(l.FRAG_LOADED,a)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(r,a){this.initCea608Parsers();const{cea608Parser1:_,cea608Parser2:E}=this;if(!this.enabled||!_||!E)return;const{frag:I,samples:N}=a;if(!(I.type===Ye.MAIN&&this.closedCaptionsForLevel(I)==="NONE"))for(let H=0;HAr(H[oe],a,_))}if(this.config.renderTextTracksNatively&&a===0&&E!==void 0){const{textTracks:H}=this;Object.keys(H).forEach(oe=>Ar(H[oe],a,E))}}}extractCea608Data(r){const a=[[],[]],_=r[0]&31;let E=2;for(let I=0;I<_;I++){const N=r[E++],H=127&r[E++],oe=127&r[E++];if(H===0&&oe===0)continue;if((4&N)!==0){const be=3&N;(be===0||be===1)&&(a[be].push(H),a[be].push(oe))}}return a}}function Ec(j){return j.characteristics&&/transcribes-spoken-dialog/gi.test(j.characteristics)&&/describes-music-and-sound/gi.test(j.characteristics)?"captions":"subtitles"}function fc(j,r){return!!j&&j.kind===Ec(r)&&is(r,j)}function Uu(j,r,a,_){return Math.min(r,_)-Math.max(j,a)}function Xl(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}class dc{constructor(r){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=r,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(r){this.streamController=r}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:r}=this;r.on(l.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),r.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this),r.on(l.MANIFEST_PARSED,this.onManifestParsed,this),r.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),r.on(l.BUFFER_CODECS,this.onBufferCodecs,this),r.on(l.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:r}=this;r.off(l.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),r.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this),r.off(l.MANIFEST_PARSED,this.onManifestParsed,this),r.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),r.off(l.BUFFER_CODECS,this.onBufferCodecs,this),r.off(l.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(r,a){const _=this.hls.levels[a.droppedLevel];this.isLevelAllowed(_)&&this.restrictedLevels.push({bitrate:_.bitrate,height:_.height,width:_.width})}onMediaAttaching(r,a){this.media=a.media instanceof HTMLVideoElement?a.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(r,a){const _=this.hls;this.restrictedLevels=[],this.firstLevel=a.firstLevel,_.config.capLevelToPlayerSize&&a.video&&this.startCapping()}onLevelsUpdated(r,a){this.timer&&y(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(r,a){this.hls.config.capLevelToPlayerSize&&a.video&&this.startCapping()}onMediaDetaching(){this.stopCapping()}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const r=this.hls.levels;if(r.length){const a=this.hls,_=this.getMaxLevel(r.length-1);_!==this.autoLevelCapping&&R.log(`Setting autoLevelCapping to ${_}: ${r[_].height}p@${r[_].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),a.autoLevelCapping=_,a.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=a.autoLevelCapping}}}getMaxLevel(r){const a=this.hls.levels;if(!a.length)return-1;const _=a.filter((E,I)=>this.isLevelAllowed(E)&&I<=r);return this.clientRect=null,dc.getMaxLevelByMediaSize(_,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const r=this.media,a={width:0,height:0};if(r){const _=r.getBoundingClientRect();a.width=_.width,a.height=_.height,!a.width&&!a.height&&(a.width=_.right-_.left||r.width||0,a.height=_.bottom-_.top||r.height||0)}return this.clientRect=a,a}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let r=1;if(!this.hls.config.ignoreDevicePixelRatio)try{r=self.devicePixelRatio}catch(a){}return r}isLevelAllowed(r){return!this.restrictedLevels.some(_=>r.bitrate===_.bitrate&&r.width===_.width&&r.height===_.height)}static getMaxLevelByMediaSize(r,a,_){if(!(r!=null&&r.length))return-1;const E=(H,oe)=>oe?H.width!==oe.width||H.height!==oe.height:!0;let I=r.length-1;const N=Math.max(a,_);for(let H=0;H=N||oe.height>=N)&&E(oe,r[H+1])){I=H;break}}return I}}class Ql{constructor(r){this.hls=void 0,this.isVideoPlaybackQualityAvailable=!1,this.timer=void 0,this.media=null,this.lastTime=void 0,this.lastDroppedFrames=0,this.lastDecodedFrames=0,this.streamController=void 0,this.hls=r,this.registerListeners()}setStreamController(r){this.streamController=r}registerListeners(){this.hls.on(l.MEDIA_ATTACHING,this.onMediaAttaching,this)}unregisterListeners(){this.hls.off(l.MEDIA_ATTACHING,this.onMediaAttaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(r,a){const _=this.hls.config;if(_.capLevelOnFPSDrop){const E=a.media instanceof self.HTMLVideoElement?a.media:null;this.media=E,E&&typeof E.getVideoPlaybackQuality=="function"&&(this.isVideoPlaybackQualityAvailable=!0),self.clearInterval(this.timer),this.timer=self.setInterval(this.checkFPSInterval.bind(this),_.fpsDroppedMonitoringPeriod)}}checkFPS(r,a,_){const E=performance.now();if(a){if(this.lastTime){const I=E-this.lastTime,N=_-this.lastDroppedFrames,H=a-this.lastDecodedFrames,oe=1e3*N/I,he=this.hls;if(he.trigger(l.FPS_DROP,{currentDropped:N,currentDecoded:H,totalDroppedFrames:_}),oe>0&&N>he.config.fpsDroppedMonitoringThreshold*H){let be=he.currentLevel;R.warn("drop FPS ratio greater than max allowed value for currentLevel: "+be),be>0&&(he.autoLevelCapping===-1||he.autoLevelCapping>=be)&&(be=be-1,he.trigger(l.FPS_DROP_LEVEL_CAPPING,{level:be,droppedLevel:he.currentLevel}),he.autoLevelCapping=be,this.streamController.nextLevelSwitch())}}this.lastTime=E,this.lastDroppedFrames=_,this.lastDecodedFrames=a}}checkFPSInterval(){const r=this.media;if(r)if(this.isVideoPlaybackQualityAvailable){const a=r.getVideoPlaybackQuality();this.checkFPS(r,a.totalVideoFrames,a.droppedVideoFrames)}else this.checkFPS(r,r.webkitDecodedFrameCount,r.webkitDroppedFrameCount)}}const Go="[eme]";class nl{constructor(r){this.hls=void 0,this.config=void 0,this.media=null,this.keyFormatPromise=null,this.keySystemAccessPromises={},this._requestLicenseFailureCount=0,this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},this.setMediaKeysQueue=nl.CDMCleanupPromise?[nl.CDMCleanupPromise]:[],this.debug=R.debug.bind(R,Go),this.log=R.log.bind(R,Go),this.warn=R.warn.bind(R,Go),this.error=R.error.bind(R,Go),this.onMediaEncrypted=a=>{const{initDataType:_,initData:E}=a,I=`"${a.type}" event: init data type: "${_}"`;if(this.debug(I),E!==null){if(!this.keyFormatPromise){let N=Object.keys(this.keySystemAccessPromises);N.length||(N=qt(this.config));const H=N.map(tr).filter(oe=>!!oe);this.keyFormatPromise=this.getKeyFormatPromise(H)}this.keyFormatPromise.then(N=>{const H=Ft(N);let oe,he;if(_==="sinf"){if(H!==Me.FAIRPLAY){this.warn(`Ignoring unexpected "${a.type}" event with init data type: "${_}" for selected key-system ${H}`);return}const Xe=ze(new Uint8Array(E));try{const lt=M(JSON.parse(Xe).sinf),vt=Dr(lt);if(!vt)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");oe=vt.subarray(8,24),he=Me.FAIRPLAY}catch(lt){this.warn(`${I} Failed to parse sinf: ${lt}`);return}}else{if(H!==Me.WIDEVINE&&H!==Me.PLAYREADY){this.warn(`Ignoring unexpected "${a.type}" event with init data type: "${_}" for selected key-system ${H}`);return}const Xe=Sr(E),lt=Xe.filter(Qt=>!!Qt.systemId&&At(Qt.systemId)===H);lt.length>1&&this.warn(`${I} Using first of ${lt.length} pssh found for selected key-system ${H}`);const vt=lt[0];if(!vt){Xe.length===0||Xe.some(Qt=>!Qt.systemId)?this.warn(`${I} contains incomplete or invalid pssh data`):this.log(`ignoring ${I} for ${Xe.map(Qt=>At(Qt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(he=At(vt.systemId),vt.version===0&&vt.data)if(he===Me.WIDEVINE){const Qt=vt.data.length-22;oe=vt.data.subarray(Qt,Qt+16)}else he===Me.PLAYREADY&&(oe=zt(vt.data))}if(!he||!oe){this.log(`Unable to handle ${I} with key-system ${H}`);return}const be=Nt.hexDump(oe),{keyIdToKeySessionPromise:Se,mediaKeySessions:De}=this;let He=Se[be];for(let Xe=0;Xethis.generateRequestWithPreferredKeySession(lt,_,E,"encrypted-event-key-match")),He.catch(yr=>this.handleError(yr));break}}if(!He){if(he!==H){this.log(`Ignoring "${I}" with ${he} init data for selected key-system ${H}`);return}He=Se[be]=this.getKeySystemSelectionPromise([he]).then(({keySystem:Xe,mediaKeys:lt})=>{var vt;this.throwIfDestroyed();const Qt=new Mr("ISO-23001-7",be,(vt=tr(Xe))!=null?vt:"");return Qt.pssh=new Uint8Array(E),Qt.keyId=oe,this.attemptSetMediaKeys(Xe,lt).then(()=>{this.throwIfDestroyed();const yr=this.createMediaKeySessionContext({decryptdata:Qt,keySystem:Xe,mediaKeys:lt});return this.generateRequestWithPreferredKeySession(yr,_,E,"encrypted-event-no-match")})}),He.catch(Xe=>this.handleError(Xe))}})}},this.onWaitingForKey=a=>{this.log(`"${a.type}" event`)},this.hls=r,this.config=r.config,this.registerListeners()}destroy(){this.unregisterListeners(),this.onMediaDetached();const r=this.config;r.requestMediaKeySystemAccessFunc=null,r.licenseXhrSetup=r.licenseResponseCallback=void 0,r.drmSystems=r.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(l.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(l.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(l.MANIFEST_LOADED,this.onManifestLoaded,this)}unregisterListeners(){this.hls.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(l.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(l.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(l.MANIFEST_LOADED,this.onManifestLoaded,this)}getLicenseServerUrl(r){const{drmSystems:a,widevineLicenseUrl:_}=this.config,E=a[r];if(E)return E.licenseUrl;if(r===Me.WIDEVINE&&_)return _}getLicenseServerUrlOrThrow(r){const a=this.getLicenseServerUrl(r);if(a===void 0)throw new Error(`no license server URL configured for key-system "${r}"`);return a}getServerCertificateUrl(r){const{drmSystems:a}=this.config,_=a[r];if(_)return _.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${r}"]`)}attemptKeySystemAccess(r){const a=this.hls.levels,_=(N,H,oe)=>!!N&&oe.indexOf(N)===H,E=a.map(N=>N.audioCodec).filter(_),I=a.map(N=>N.videoCodec).filter(_);return E.length+I.length===0&&I.push("avc1.42e01e"),new Promise((N,H)=>{const oe=he=>{const be=he.shift();this.getMediaKeysPromise(be,E,I).then(Se=>N({keySystem:be,mediaKeys:Se})).catch(Se=>{he.length?oe(he):Se instanceof Jo?H(Se):H(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_ACCESS,error:Se,fatal:!0},Se.message))})};oe(r)})}requestMediaKeySystemAccess(r,a){const{requestMediaKeySystemAccessFunc:_}=this.config;if(typeof _!="function"){let E=`Configured requestMediaKeySystemAccess is not a function ${_}`;return cr===null&&self.location.protocol==="http:"&&(E=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(E))}return _(r,a)}getMediaKeysPromise(r,a,_){const E=Qe(r,a,_,this.config.drmSystemOptions),I=this.keySystemAccessPromises[r];let N=I==null?void 0:I.keySystemAccess;if(!N){this.log(`Requesting encrypted media "${r}" key-system access with config: ${JSON.stringify(E)}`),N=this.requestMediaKeySystemAccess(r,E);const H=this.keySystemAccessPromises[r]={keySystemAccess:N};return N.catch(oe=>{this.log(`Failed to obtain access to key-system "${r}": ${oe}`)}),N.then(oe=>{this.log(`Access for key-system "${oe.keySystem}" obtained`);const he=this.fetchServerCertificate(r);return this.log(`Create media-keys for "${r}"`),H.mediaKeys=oe.createMediaKeys().then(be=>(this.log(`Media-keys created for "${r}"`),he.then(Se=>Se?this.setMediaKeysServerCertificate(be,r,Se):be))),H.mediaKeys.catch(be=>{this.error(`Failed to create media-keys for "${r}"}: ${be}`)}),H.mediaKeys})}return N.then(()=>I.mediaKeys)}createMediaKeySessionContext({decryptdata:r,keySystem:a,mediaKeys:_}){this.log(`Creating key-system session "${a}" keyId: ${Nt.hexDump(r.keyId||[])}`);const E=_.createSession(),I={decryptdata:r,keySystem:a,mediaKeys:_,mediaKeysSession:E,keyStatus:"status-pending"};return this.mediaKeySessions.push(I),I}renewKeySession(r){const a=r.decryptdata;if(a.pssh){const _=this.createMediaKeySessionContext(r),E=this.getKeyIdString(a),I="cenc";this.keyIdToKeySessionPromise[E]=this.generateRequestWithPreferredKeySession(_,I,a.pssh,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(r)}getKeyIdString(r){if(!r)throw new Error("Could not read keyId of undefined decryptdata");if(r.keyId===null)throw new Error("keyId is null");return Nt.hexDump(r.keyId)}updateKeySession(r,a){var _;const E=r.mediaKeysSession;return this.log(`Updating key-session "${E.sessionId}" for keyID ${Nt.hexDump(((_=r.decryptdata)==null?void 0:_.keyId)||[])} - } (data length: ${a&&a.byteLength})`),E.update(a)}selectKeySystemFormat(r){const a=Object.keys(r.levelkeys||{});return this.keyFormatPromise||(this.log(`Selecting key-system from fragment (sn: ${r.sn} ${r.type}: ${r.level}) key formats ${a.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(a)),this.keyFormatPromise}getKeyFormatPromise(r){return new Promise((a,_)=>{const E=qt(this.config),I=r.map(Ft).filter(N=>!!N&&E.indexOf(N)!==-1);return this.getKeySystemSelectionPromise(I).then(({keySystem:N})=>{const H=tr(N);H?a(H):_(new Error(`Unable to find format for key-system "${N}"`))}).catch(_)})}loadKey(r){const a=r.keyInfo.decryptdata,_=this.getKeyIdString(a),E=`(keyId: ${_} format: "${a.keyFormat}" method: ${a.method} uri: ${a.uri})`;this.log(`Starting session for key ${E}`);let I=this.keyIdToKeySessionPromise[_];return I||(I=this.keyIdToKeySessionPromise[_]=this.getKeySystemForKeyPromise(a).then(({keySystem:N,mediaKeys:H})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${r.frag.sn} ${r.frag.type}: ${r.frag.level} using key ${E}`),this.attemptSetMediaKeys(N,H).then(()=>{this.throwIfDestroyed();const oe=this.createMediaKeySessionContext({keySystem:N,mediaKeys:H,decryptdata:a});return this.generateRequestWithPreferredKeySession(oe,"cenc",a.pssh,"playlist-key")}))),I.catch(N=>this.handleError(N))),I}throwIfDestroyed(r="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(r){this.hls&&(this.error(r.message),r instanceof Jo?this.hls.trigger(l.ERROR,r.data):this.hls.trigger(l.ERROR,{type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_KEYS,error:r,fatal:!0}))}getKeySystemForKeyPromise(r){const a=this.getKeyIdString(r),_=this.keyIdToKeySessionPromise[a];if(!_){const E=Ft(r.keyFormat),I=E?[E]:qt(this.config);return this.attemptKeySystemAccess(I)}return _}getKeySystemSelectionPromise(r){if(r.length||(r=qt(this.config)),r.length===0)throw new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(r)}attemptSetMediaKeys(r,a){const _=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${r}"`);const E=Promise.all(_).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(a)});return this.setMediaKeysQueue.push(E),E.then(()=>{this.log(`Media-keys set for "${r}"`),_.push(E),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(I=>_.indexOf(I)===-1)})}generateRequestWithPreferredKeySession(r,a,_,E){var I,N;const H=(I=this.config.drmSystems)==null||(N=I[r.keySystem])==null?void 0:N.generateRequest;if(H)try{const Xe=H.call(this.hls,a,_,r);if(!Xe)throw new Error("Invalid response from configured generateRequest filter");a=Xe.initDataType,_=r.decryptdata.pssh=Xe.initData?new Uint8Array(Xe.initData):null}catch(Xe){var oe;if(this.warn(Xe.message),(oe=this.hls)!=null&&oe.config.debug)throw Xe}if(_===null)return this.log(`Skipping key-session request for "${E}" (no initData)`),Promise.resolve(r);const he=this.getKeyIdString(r.decryptdata);this.log(`Generating key-session request for "${E}": ${he} (init data type: ${a} length: ${_?_.byteLength:null})`);const be=new Zn,Se=r._onmessage=Xe=>{const lt=r.mediaKeysSession;if(!lt){be.emit("error",new Error("invalid state"));return}const{messageType:vt,message:Qt}=Xe;this.log(`"${vt}" message event for session "${lt.sessionId}" message size: ${Qt.byteLength}`),vt==="license-request"||vt==="license-renewal"?this.renewLicense(r,Qt).catch(yr=>{this.handleError(yr),be.emit("error",yr)}):vt==="license-release"?r.keySystem===Me.FAIRPLAY&&(this.updateKeySession(r,xe("acknowledged")),this.removeSession(r)):this.warn(`unhandled media key message type "${vt}"`)},De=r._onkeystatuseschange=Xe=>{if(!r.mediaKeysSession){be.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(r);const vt=r.keyStatus;be.emit("keyStatus",vt),vt==="expired"&&(this.warn(`${r.keySystem} expired for key ${he}`),this.renewKeySession(r))};r.mediaKeysSession.addEventListener("message",Se),r.mediaKeysSession.addEventListener("keystatuseschange",De);const He=new Promise((Xe,lt)=>{be.on("error",lt),be.on("keyStatus",vt=>{vt.startsWith("usable")?Xe():vt==="output-restricted"?lt(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):vt==="internal-error"?lt(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${vt}"`)):vt==="expired"?lt(new Error("key expired while generating request")):this.warn(`unhandled key status change "${vt}"`)})});return r.mediaKeysSession.generateRequest(a,_).then(()=>{var Xe;this.log(`Request generated for key-session "${(Xe=r.mediaKeysSession)==null?void 0:Xe.sessionId}" keyId: ${he}`)}).catch(Xe=>{throw new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_SESSION,error:Xe,fatal:!1},`Error generating key-session request: ${Xe}`)}).then(()=>He).catch(Xe=>{throw be.removeAllListeners(),this.removeSession(r),Xe}).then(()=>(be.removeAllListeners(),r))}onKeyStatusChange(r){r.mediaKeysSession.keyStatuses.forEach((a,_)=>{this.log(`key status change "${a}" for keyStatuses keyId: ${Nt.hexDump("buffer"in _?new Uint8Array(_.buffer,_.byteOffset,_.byteLength):new Uint8Array(_))} session keyId: ${Nt.hexDump(new Uint8Array(r.decryptdata.keyId||[]))} uri: ${r.decryptdata.uri}`),r.keyStatus=a})}fetchServerCertificate(r){const a=this.config,_=a.loader,E=new _(a),I=this.getServerCertificateUrl(r);return I?(this.log(`Fetching server certificate for "${r}"`),new Promise((N,H)=>{const oe={responseType:"arraybuffer",url:I},he=a.certLoadPolicy.default,be={loadPolicy:he,timeout:he.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},Se={onSuccess:(De,He,Xe,lt)=>{N(De.data)},onError:(De,He,Xe,lt)=>{H(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Xe,response:f({url:oe.url,data:void 0},De)},`"${r}" certificate request failed (${I}). Status: ${De.code} (${De.text})`))},onTimeout:(De,He,Xe)=>{H(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Xe,response:{url:oe.url,data:void 0}},`"${r}" certificate request timed out (${I})`))},onAbort:(De,He,Xe)=>{H(new Error("aborted"))}};E.load(oe,be,Se)})):Promise.resolve()}setMediaKeysServerCertificate(r,a,_){return new Promise((E,I)=>{r.setServerCertificate(_).then(N=>{this.log(`setServerCertificate ${N?"success":"not supported by CDM"} (${_==null?void 0:_.byteLength}) on "${a}"`),E(r)}).catch(N=>{I(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:N,fatal:!0},N.message))})})}renewLicense(r,a){return this.requestLicense(r,new Uint8Array(a)).then(_=>this.updateKeySession(r,new Uint8Array(_)).catch(E=>{throw new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:E,fatal:!0},E.message)}))}unpackPlayReadyKeyMessage(r,a){const _=String.fromCharCode.apply(null,new Uint16Array(a.buffer));if(!_.includes("PlayReadyKeyMessage"))return r.setRequestHeader("Content-Type","text/xml; charset=utf-8"),a;const E=new DOMParser().parseFromString(_,"application/xml"),I=E.querySelectorAll("HttpHeader");if(I.length>0){let be;for(let Se=0,De=I.length;Se in key message");return xe(atob(he))}setupLicenseXHR(r,a,_,E){const I=this.config.licenseXhrSetup;return I?Promise.resolve().then(()=>{if(!_.decryptdata)throw new Error("Key removed");return I.call(this.hls,r,a,_,E)}).catch(N=>{if(!_.decryptdata)throw N;return r.open("POST",a,!0),I.call(this.hls,r,a,_,E)}).then(N=>(r.readyState||r.open("POST",a,!0),{xhr:r,licenseChallenge:N||E})):(r.open("POST",a,!0),Promise.resolve({xhr:r,licenseChallenge:E}))}requestLicense(r,a){const _=this.config.keyLoadPolicy.default;return new Promise((E,I)=>{const N=this.getLicenseServerUrlOrThrow(r.keySystem);this.log(`Sending license request to URL: ${N}`);const H=new XMLHttpRequest;H.responseType="arraybuffer",H.onreadystatechange=()=>{if(!this.hls||!r.mediaKeysSession)return I(new Error("invalid state"));if(H.readyState===4)if(H.status===200){this._requestLicenseFailureCount=0;let oe=H.response;this.log(`License received ${oe instanceof ArrayBuffer?oe.byteLength:oe}`);const he=this.config.licenseResponseCallback;if(he)try{oe=he.call(this.hls,H,N,r)}catch(be){this.error(be)}E(oe)}else{const oe=_.errorRetry,he=oe?oe.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>he||H.status>=400&&H.status<500)I(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:H,response:{url:N,data:void 0,code:H.status,text:H.statusText}},`License Request XHR failed (${N}). Status: ${H.status} (${H.statusText})`));else{const be=he-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${be} attempts left`),this.requestLicense(r,a).then(E,I)}}},r.licenseXhr&&r.licenseXhr.readyState!==XMLHttpRequest.DONE&&r.licenseXhr.abort(),r.licenseXhr=H,this.setupLicenseXHR(H,N,r,a).then(({xhr:oe,licenseChallenge:he})=>{r.keySystem==Me.PLAYREADY&&(he=this.unpackPlayReadyKeyMessage(oe,he)),oe.send(he)})})}onMediaAttached(r,a){if(!this.config.emeEnabled)return;const _=a.media;this.media=_,_.removeEventListener("encrypted",this.onMediaEncrypted),_.removeEventListener("waitingforkey",this.onWaitingForKey),_.addEventListener("encrypted",this.onMediaEncrypted),_.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const r=this.media,a=this.mediaKeySessions;r&&(r.removeEventListener("encrypted",this.onMediaEncrypted),r.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Mr.clearKeyUriToKeyIdMap();const _=a.length;nl.CDMCleanupPromise=Promise.all(a.map(E=>this.removeSession(E)).concat(r==null?void 0:r.setMediaKeys(null).catch(E=>{this.log(`Could not clear media keys: ${E}`)}))).then(()=>{_&&(this.log("finished closing key sessions and clearing media keys"),a.length=0)}).catch(E=>{this.log(`Could not close sessions and clear media keys: ${E}`)})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(r,{sessionKeys:a}){if(!(!a||!this.config.emeEnabled)&&!this.keyFormatPromise){const _=a.reduce((E,I)=>(E.indexOf(I.keyFormat)===-1&&E.push(I.keyFormat),E),[]);this.log(`Selecting key-system from session-keys ${_.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(_)}}removeSession(r){const{mediaKeysSession:a,licenseXhr:_}=r;if(a){this.log(`Remove licenses and keys and close session ${a.sessionId}`),r._onmessage&&(a.removeEventListener("message",r._onmessage),r._onmessage=void 0),r._onkeystatuseschange&&(a.removeEventListener("keystatuseschange",r._onkeystatuseschange),r._onkeystatuseschange=void 0),_&&_.readyState!==XMLHttpRequest.DONE&&_.abort(),r.mediaKeysSession=r.decryptdata=r.licenseXhr=void 0;const E=this.mediaKeySessions.indexOf(r);return E>-1&&this.mediaKeySessions.splice(E,1),a.remove().catch(I=>{this.log(`Could not remove session: ${I}`)}).then(()=>a.close()).catch(I=>{this.log(`Could not close session: ${I}`)})}}}nl.CDMCleanupPromise=void 0;class Jo extends Error{constructor(r,a){super(a),this.data=void 0,r.error||(r.error=new Error(a)),this.data=r,r.err=r.error}}var go;(function(j){j.MANIFEST="m",j.AUDIO="a",j.VIDEO="v",j.MUXED="av",j.INIT="i",j.CAPTION="c",j.TIMED_TEXT="tt",j.KEY="k",j.OTHER="o"})(go||(go={}));var Jl;(function(j){j.DASH="d",j.HLS="h",j.SMOOTH="s",j.OTHER="o"})(Jl||(Jl={}));var zu;(function(j){j.OBJECT="CMCD-Object",j.REQUEST="CMCD-Request",j.SESSION="CMCD-Session",j.STATUS="CMCD-Status"})(zu||(zu={}));const hu={[zu.OBJECT]:["br","d","ot","tb"],[zu.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[zu.SESSION]:["cid","pr","sf","sid","st","v"],[zu.STATUS]:["bs","rtp"]};class ou{constructor(r,a){this.value=void 0,this.params=void 0,Array.isArray(r)&&(r=r.map(_=>_ instanceof ou?_:new ou(_))),this.value=r,this.params=a}}class Dl{constructor(r){this.description=void 0,this.description=r}}const Zu="Dict";function hc(j){return Array.isArray(j)?JSON.stringify(j):j instanceof Map?"Map{}":j instanceof Set?"Set{}":typeof j=="object"?JSON.stringify(j):String(j)}function Sc(j,r,a,_){return new Error(`failed to ${j} "${hc(r)}" as ${a}`,{cause:_})}const yl="Bare Item",uo="Boolean",Cc="Byte Sequence",pc="Decimal",il="Integer";function ku(j){return j<-999999999999999||99999999999999912)throw gu(j,pc);const a=r.toString();return a.includes(".")?a:`${a}.0`}const Ol="String";function Ko(j){if(lo.test(j))throw gu(j,Ol);return`"${j.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Eu(j){return j.description||j.toString().slice(7,-1)}function kl(j){const r=Eu(j);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(r)===!1)throw gu(r,al);return r}function ul(j){switch(typeof j){case"number":if(!y(j))throw gu(j,yl);return Number.isInteger(j)?ol(j):uu(j);case"string":return Ko(j);case"symbol":return kl(j);case"boolean":return Ac(j);case"object":if(j instanceof Date)return je(j);if(j instanceof Uint8Array)return jo(j);if(j instanceof Dl)return kl(j);default:throw gu(j,yl)}}function Hu(j){if(/^[a-z*][a-z0-9\-_.*]*$/.test(j)===!1)throw gu(j,Dc);return j}function Ru(j){return j==null?"":Object.entries(j).map(([r,a])=>a===!0?`;${Hu(r)}`:`;${Hu(r)}=${ul(a)}`).join("")}function Su(j){return j instanceof ou?`${ul(j.value)}${Ru(j.params)}`:ul(j)}function _c(j){return`(${j.value.map(Su).join(" ")})${Ru(j.params)}`}function Rl(j,r={whitespace:!0}){if(typeof j!="object")throw gu(j,Zu);const a=j instanceof Map?j.entries():Object.entries(j),_=r!=null&&r.whitespace?" ":"";return Array.from(a).map(([E,I])=>{I instanceof ou||(I=new ou(I));let N=Hu(E);return I.value===!0?N+=Ru(I.params):(N+="=",Array.isArray(I.value)?N+=_c(I):N+=Su(I)),N}).join(`,${_}`)}function pu(j,r){return Rl(j,r)}const Yu=j=>j==="ot"||j==="sf"||j==="st",Cu=j=>typeof j=="number"?y(j):j!=null&&j!==""&&j!==!1;function Bc(j,r){const a=new URL(j),_=new URL(r);if(a.origin!==_.origin)return j;const E=a.pathname.split("/").slice(1),I=_.pathname.split("/").slice(1,-1);for(;E[0]===I[0];)E.shift(),I.shift();for(;I.length;)I.shift(),E.unshift("..");return E.join("/")}function Tc(){try{return crypto.randomUUID()}catch(j){try{const r=URL.createObjectURL(new Blob),a=r.toString();return URL.revokeObjectURL(r),a.slice(a.lastIndexOf("/")+1)}catch(r){let a=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,E=>{const I=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(E=="x"?I:I&3|8).toString(16)})}}}const Ao=j=>Math.round(j),ll=(j,r)=>(r!=null&&r.baseUrl&&(j=Bc(j,r.baseUrl)),encodeURIComponent(j)),bl=j=>Ao(j/100)*100,Ll={br:Ao,d:Ao,bl,dl:bl,mtp:bl,nor:ll,rtp:bl,tb:Ao};function Ml(j,r){const a={};if(j==null||typeof j!="object")return a;const _=Object.keys(j).sort(),E=i({},Ll,r==null?void 0:r.formatters),I=r==null?void 0:r.filter;return _.forEach(N=>{if(I!=null&&I(N))return;let H=j[N];const oe=E[N];oe&&(H=oe(H,r)),!(N==="v"&&H===1)&&(N=="pr"&&H===1||Cu(H)&&(Yu(N)&&typeof H=="string"&&(H=new Dl(H)),a[N]=H))}),a}function xl(j,r={}){return j?pu(Ml(j,r),i({whitespace:!1},r)):""}function Fl(j,r={}){if(!j)return{};const a=Object.entries(j),_=Object.entries(hu).concat(Object.entries((r==null?void 0:r.customHeaderMap)||{})),E=a.reduce((I,N)=>{var H,oe;const[he,be]=N,Se=((H=_.find(De=>De[1].includes(he)))==null?void 0:H[0])||zu.REQUEST;return(oe=I[Se])!=null||(I[Se]={}),I[Se][he]=be,I},{});return Object.entries(E).reduce((I,[N,H])=>(I[N]=xl(H,r),I),{})}function Oc(j,r,a){return i(j,Fl(r,a))}const ql="CMCD";function Bl(j,r={}){if(!j)return"";const a=xl(j,r);return`${ql}=${encodeURIComponent(a)}`}const cl=/CMCD=[^&#]+/;function Pc(j,r,a){const _=Bl(r,a);if(!_)return j;if(cl.test(j))return j.replace(cl,_);const E=j.includes("?")?"&":"?";return`${j}${E}${_}`}class mc{constructor(r){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=E=>{try{this.apply(E,{ot:go.MANIFEST,su:!this.initialized})}catch(I){R.warn("Could not generate manifest CMCD data.",I)}},this.applyFragmentData=E=>{try{const I=E.frag,N=this.hls.levels[I.level],H=this.getObjectType(I),oe={d:I.duration*1e3,ot:H};(H===go.VIDEO||H===go.AUDIO||H==go.MUXED)&&(oe.br=N.bitrate/1e3,oe.tb=this.getTopBandwidth(H)/1e3,oe.bl=this.getBufferLength(H)),this.apply(E,oe)}catch(I){R.warn("Could not generate segment CMCD data.",I)}},this.hls=r;const a=this.config=r.config,{cmcd:_}=a;_!=null&&(a.pLoader=this.createPlaylistLoader(),a.fLoader=this.createFragmentLoader(),this.sid=_.sessionId||Tc(),this.cid=_.contentId,this.useHeaders=_.useHeaders===!0,this.includeKeys=_.includeKeys,this.registerListeners())}registerListeners(){const r=this.hls;r.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),r.on(l.MEDIA_DETACHED,this.onMediaDetached,this),r.on(l.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const r=this.hls;r.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),r.off(l.MEDIA_DETACHED,this.onMediaDetached,this),r.off(l.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=null}onMediaAttached(r,a){this.media=a.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(r,a){var _,E;this.audioBuffer=(_=a.tracks.audio)==null?void 0:_.buffer,this.videoBuffer=(E=a.tracks.video)==null?void 0:E.buffer}createData(){var r;return{v:1,sf:Jl.HLS,sid:this.sid,cid:this.cid,pr:(r=this.media)==null?void 0:r.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(r,a={}){i(a,this.createData());const _=a.ot===go.INIT||a.ot===go.VIDEO||a.ot===go.MUXED;this.starved&&_&&(a.bs=!0,a.su=!0,this.starved=!1),a.su==null&&(a.su=this.buffering);const{includeKeys:E}=this;E&&(a=Object.keys(a).reduce((I,N)=>(E.includes(N)&&(I[N]=a[N]),I),{})),this.useHeaders?(r.headers||(r.headers={}),Oc(r.headers,a)):r.url=Pc(r.url,a)}getObjectType(r){const{type:a}=r;if(a==="subtitle")return go.TIMED_TEXT;if(r.sn==="initSegment")return go.INIT;if(a==="audio")return go.AUDIO;if(a==="main")return this.hls.audioTracks.length?go.VIDEO:go.MUXED}getTopBandwidth(r){let a=0,_;const E=this.hls;if(r===go.AUDIO)_=E.audioTracks;else{const I=E.maxAutoLevel,N=I>-1?I+1:E.levels.length;_=E.levels.slice(0,N)}for(const I of _)I.bitrate>a&&(a=I.bitrate);return a>0?a:NaN}getBufferLength(r){const a=this.hls.media,_=r===go.AUDIO?this.audioBuffer:this.videoBuffer;return!_||!a?NaN:hr.bufferInfo(_,a.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:r}=this.config,a=this.applyPlaylistData,_=r||this.config.loader;return class{constructor(I){this.loader=void 0,this.loader=new _(I)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(I,N,H){a(I),this.loader.load(I,N,H)}}}createFragmentLoader(){const{fLoader:r}=this.config,a=this.applyFragmentData,_=r||this.config.loader;return class{constructor(I){this.loader=void 0,this.loader=new _(I)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(I,N,H){a(I),this.loader.load(I,N,H)}}}}const Lu=3e5;class Nl{constructor(r){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=r,this.log=R.log.bind(R,"[content-steering]:"),this.registerListeners()}registerListeners(){const r=this.hls;r.on(l.MANIFEST_LOADING,this.onManifestLoading,this),r.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.on(l.MANIFEST_PARSED,this.onManifestParsed,this),r.on(l.ERROR,this.onError,this)}unregisterListeners(){const r=this.hls;r&&(r.off(l.MANIFEST_LOADING,this.onManifestLoading,this),r.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.off(l.MANIFEST_PARSED,this.onManifestParsed,this),r.off(l.ERROR,this.onError,this))}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const r=this.timeToLoad*1e3-(performance.now()-this.updated);if(r>0){this.scheduleRefresh(this.uri,r);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(r){const a=this.levels;a&&(this.levels=a.filter(_=>_!==r))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(r,a){const{contentSteering:_}=a;_!==null&&(this.pathwayId=_.pathwayId,this.uri=_.uri,this.started&&this.startLoad())}onManifestParsed(r,a){this.audioTracks=a.audioTracks,this.subtitleTracks=a.subtitleTracks}onError(r,a){const{errorAction:_}=a;if((_==null?void 0:_.action)===Yn.SendAlternateToPenaltyBox&&_.flags===va.MoveAllAlternatesMatchingHost){const E=this.levels;let I=this.pathwayPriority,N=this.pathwayId;if(a.context){const{groupId:H,pathwayId:oe,type:he}=a.context;H&&E?N=this.getPathwayForGroupId(H,he,N):oe&&(N=oe)}N in this.penalizedPathways||(this.penalizedPathways[N]=performance.now()),!I&&E&&(I=E.reduce((H,oe)=>(H.indexOf(oe.pathwayId)===-1&&H.push(oe.pathwayId),H),[])),I&&I.length>1&&(this.updatePathwayPriority(I),_.resolved=this.pathwayId!==N),_.resolved||R.warn(`Could not resolve ${a.details} ("${a.error.message}") with content-steering for Pathway: ${N} levels: ${E&&E.length} priorities: ${JSON.stringify(I)} penalized: ${JSON.stringify(this.penalizedPathways)}`)}}filterParsedLevels(r){this.levels=r;let a=this.getLevelsForPathway(this.pathwayId);if(a.length===0){const _=r[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${_}"`),a=this.getLevelsForPathway(_),this.pathwayId=_}return a.length!==r.length&&this.log(`Found ${a.length}/${r.length} levels in Pathway "${this.pathwayId}"`),a}getLevelsForPathway(r){return this.levels===null?[]:this.levels.filter(a=>r===a.pathwayId)}updatePathwayPriority(r){this.pathwayPriority=r;let a;const _=this.penalizedPathways,E=performance.now();Object.keys(_).forEach(I=>{E-_[I]>Lu&&delete _[I]});for(let I=0;I0){this.log(`Setting Pathway to "${N}"`),this.pathwayId=N,za(a),this.hls.trigger(l.LEVELS_UPDATED,{levels:a});const he=this.hls.levels[H];oe&&he&&this.levels&&(he.attrs["STABLE-VARIANT-ID"]!==oe.attrs["STABLE-VARIANT-ID"]&&he.bitrate!==oe.bitrate&&this.log(`Unstable Pathways change from bitrate ${oe.bitrate} to ${he.bitrate}`),this.hls.nextLoadLevel=H);break}}}getPathwayForGroupId(r,a,_){const E=this.getLevelsForPathway(_).concat(this.levels||[]);for(let I=0;I{const{ID:N,"BASE-ID":H,"URI-REPLACEMENT":oe}=I;if(a.some(be=>be.pathwayId===N))return;const he=this.getLevelsForPathway(H).map(be=>{const Se=new Z(be.attrs);Se["PATHWAY-ID"]=N;const De=Se.AUDIO&&`${Se.AUDIO}_clone_${N}`,He=Se.SUBTITLES&&`${Se.SUBTITLES}_clone_${N}`;De&&(_[Se.AUDIO]=De,Se.AUDIO=De),He&&(E[Se.SUBTITLES]=He,Se.SUBTITLES=He);const Xe=ec(be.uri,Se["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",oe),lt=new Fa({attrs:Se,audioCodec:be.audioCodec,bitrate:be.bitrate,height:be.height,name:be.name,url:Xe,videoCodec:be.videoCodec,width:be.width});if(be.audioGroups)for(let vt=1;vt{this.log(`Loaded steering manifest: "${E}"`);const Xe=be.data;if(Xe.VERSION!==1){this.log(`Steering VERSION ${Xe.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Xe.TTL;const{"RELOAD-URI":lt,"PATHWAY-CLONES":vt,"PATHWAY-PRIORITY":Qt}=Xe;if(lt)try{this.uri=new self.URL(lt,E).href}catch(Tr){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${lt}`);return}this.scheduleRefresh(this.uri||De.url),vt&&this.clonePathways(vt);const yr={steeringManifest:Xe,url:E.toString()};this.hls.trigger(l.STEERING_MANIFEST_LOADED,yr),Qt&&this.updatePathwayPriority(Qt)},onError:(be,Se,De,He)=>{if(this.log(`Error loading steering manifest: ${be.code} ${be.text} (${Se.url})`),this.stopLoad(),be.code===410){this.enabled=!1,this.log(`Steering manifest ${Se.url} no longer available`);return}let Xe=this.timeToLoad*1e3;if(be.code===429){const lt=this.loader;if(typeof(lt==null?void 0:lt.getResponseHeader)=="function"){const vt=lt.getResponseHeader("Retry-After");vt&&(Xe=parseFloat(vt)*1e3)}this.log(`Steering manifest ${Se.url} rate limited`);return}this.scheduleRefresh(this.uri||Se.url,Xe)},onTimeout:(be,Se,De)=>{this.log(`Timeout loading steering manifest (${Se.url})`),this.scheduleRefresh(this.uri||Se.url)}};this.log(`Requesting steering manifest: ${E}`),this.loader.load(I,oe,he)}scheduleRefresh(r,a=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var _;const E=(_=this.hls)==null?void 0:_.media;if(E&&!E.ended){this.loadSteeringManifest(r);return}this.scheduleRefresh(r,this.timeToLoad*1e3)},a)}}function wl(j,r,a,_){j&&Object.keys(r).forEach(E=>{const I=j.filter(N=>N.groupId===E).map(N=>{const H=i({},N);return H.details=void 0,H.attrs=new Z(H.attrs),H.url=H.attrs.URI=ec(N.url,N.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",a),H.groupId=H.attrs["GROUP-ID"]=r[E],H.attrs["PATHWAY-ID"]=_,H});j.push(...I)})}function ec(j,r,a,_){const{HOST:E,PARAMS:I,[a]:N}=_;let H;r&&(H=N==null?void 0:N[r],H&&(j=H));const oe=new self.URL(j);return E&&!H&&(oe.host=E),I&&Object.keys(I).sort().forEach(he=>{he&&oe.searchParams.set(he,I[he])}),oe.href}const tc=/^age:\s*[\d.]+\s*$/im;class vc{constructor(r){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=r&&r.xhrSetup||null,this.stats=new Q,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const r=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),r&&(r.onreadystatechange=null,r.onprogress=null,r.readyState!==4&&(this.stats.aborted=!0,r.abort()))}abort(){var r;this.abortInternal(),(r=this.callbacks)!=null&&r.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(r,a,_){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=r,this.config=a,this.callbacks=_,this.loadInternal()}loadInternal(){const{config:r,context:a}=this;if(!r||!a)return;const _=this.loader=new self.XMLHttpRequest,E=this.stats;E.loading.first=0,E.loaded=0,E.aborted=!1;const I=this.xhrSetup;I?Promise.resolve().then(()=>{if(!(this.loader!==_||this.stats.aborted))return I(_,a.url)}).catch(N=>{if(!(this.loader!==_||this.stats.aborted))return _.open("GET",a.url,!0),I(_,a.url)}).then(()=>{this.loader!==_||this.stats.aborted||this.openAndSendXhr(_,a,r)}).catch(N=>{this.callbacks.onError({code:_.status,text:N.message},a,_,E)}):this.openAndSendXhr(_,a,r)}openAndSendXhr(r,a,_){r.readyState||r.open("GET",a.url,!0);const E=a.headers,{maxTimeToFirstByteMs:I,maxLoadTimeMs:N}=_.loadPolicy;if(E)for(const H in E)r.setRequestHeader(H,E[H]);a.rangeEnd&&r.setRequestHeader("Range","bytes="+a.rangeStart+"-"+(a.rangeEnd-1)),r.onreadystatechange=this.readystatechange.bind(this),r.onprogress=this.loadprogress.bind(this),r.responseType=a.responseType,self.clearTimeout(this.requestTimeout),_.timeout=I&&y(I)?I:N,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),_.timeout),r.send()}readystatechange(){const{context:r,loader:a,stats:_}=this;if(!r||!a)return;const E=a.readyState,I=this.config;if(!_.aborted&&E>=2&&(_.loading.first===0&&(_.loading.first=Math.max(self.performance.now(),_.loading.start),I.timeout!==I.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),I.timeout=I.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),I.loadPolicy.maxLoadTimeMs-(_.loading.first-_.loading.start)))),E===4)){self.clearTimeout(this.requestTimeout),a.onreadystatechange=null,a.onprogress=null;const N=a.status,H=a.responseType==="text"?a.responseText:null;if(N>=200&&N<300){const Se=H!=null?H:a.response;if(Se!=null){_.loading.end=Math.max(self.performance.now(),_.loading.first);const De=a.responseType==="arraybuffer"?Se.byteLength:Se.length;if(_.loaded=_.total=De,_.bwEstimate=_.total*8e3/(_.loading.end-_.loading.first),!this.callbacks)return;const He=this.callbacks.onProgress;if(He&&He(_,r,Se,a),!this.callbacks)return;const Xe={url:a.responseURL,data:Se,code:N};this.callbacks.onSuccess(Xe,_,r,a);return}}const oe=I.loadPolicy.errorRetry,he=_.retry,be={url:r.url,data:void 0,code:N};fo(oe,he,!1,be)?this.retry(oe):(R.error(`${N} while loading ${r.url}`),this.callbacks.onError({code:N,text:a.statusText},r,a,_))}}loadtimeout(){if(!this.config)return;const r=this.config.loadPolicy.timeoutRetry,a=this.stats.retry;if(fo(r,a,!0))this.retry(r);else{var _;R.warn(`timeout while loading ${(_=this.context)==null?void 0:_.url}`);const E=this.callbacks;E&&(this.abortInternal(),E.onTimeout(this.stats,this.context,this.loader))}}retry(r){const{context:a,stats:_}=this;this.retryDelay=Ks(r,_.retry),_.retry++,R.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${a==null?void 0:a.url}, retrying ${_.retry}/${r.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(r){const a=this.stats;a.loaded=r.loaded,r.lengthComputable&&(a.total=r.total)}getCacheAge(){let r=null;if(this.loader&&tc.test(this.loader.getAllResponseHeaders())){const a=this.loader.getResponseHeader("age");r=a?parseFloat(a):null}return r}getResponseHeader(r){return this.loader&&new RegExp(`^${r}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(r):null}}function A(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(j){}return!1}const P=/(\d+)-(\d+)\/(\d+)/;class D{constructor(r){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=r.fetchSetup||zn,this.controller=new self.AbortController,this.stats=new Q}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var r;this.abortInternal(),(r=this.callbacks)!=null&&r.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(r,a,_){const E=this.stats;if(E.loading.start)throw new Error("Loader can only be used once.");E.loading.start=self.performance.now();const I=pe(r,this.controller.signal),N=_.onProgress,H=r.responseType==="arraybuffer",oe=H?"byteLength":"length",{maxTimeToFirstByteMs:he,maxLoadTimeMs:be}=a.loadPolicy;this.context=r,this.config=a,this.callbacks=_,this.request=this.fetchSetup(r,I),self.clearTimeout(this.requestTimeout),a.timeout=he&&y(he)?he:be,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),_.onTimeout(E,r,this.response)},a.timeout),self.fetch(this.request).then(Se=>{this.response=this.loader=Se;const De=Math.max(self.performance.now(),E.loading.start);if(self.clearTimeout(this.requestTimeout),a.timeout=be,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),_.onTimeout(E,r,this.response)},be-(De-E.loading.start)),!Se.ok){const{status:He,statusText:Xe}=Se;throw new dn(Xe||"fetch, bad network response",He,Se)}return E.loading.first=De,E.total=an(Se.headers)||E.total,N&&y(a.highWaterMark)?this.loadProgressively(Se,E,r,a.highWaterMark,N):H?Se.arrayBuffer():r.responseType==="json"?Se.json():Se.text()}).then(Se=>{const De=this.response;if(!De)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),E.loading.end=Math.max(self.performance.now(),E.loading.first);const He=Se[oe];He&&(E.loaded=E.total=He);const Xe={url:De.url,data:Se,code:De.status};N&&!y(a.highWaterMark)&&N(E,r,Se,De),_.onSuccess(Xe,E,r,De)}).catch(Se=>{if(self.clearTimeout(this.requestTimeout),E.aborted)return;const De=Se&&Se.code||0,He=Se?Se.message:null;_.onError({code:De,text:He},r,Se?Se.details:null,E)})}getCacheAge(){let r=null;if(this.response){const a=this.response.headers.get("age");r=a?parseFloat(a):null}return r}getResponseHeader(r){return this.response?this.response.headers.get(r):null}loadProgressively(r,a,_,E=0,I){const N=new Bs,H=r.body.getReader(),oe=()=>H.read().then(he=>{if(he.done)return N.dataLength&&I(a,_,N.flush(),r),Promise.resolve(new ArrayBuffer(0));const be=he.value,Se=be.length;return a.loaded+=Se,Se=E&&I(a,_,N.flush(),r)):I(a,_,be,r),oe()}).catch(()=>Promise.reject());return oe()}}function pe(j,r){const a={method:"GET",mode:"cors",credentials:"same-origin",signal:r,headers:new self.Headers(i({},j.headers))};return j.rangeEnd&&a.headers.set("Range","bytes="+j.rangeStart+"-"+String(j.rangeEnd-1)),a}function Oe(j){const r=P.exec(j);if(r)return parseInt(r[2])-parseInt(r[1])+1}function an(j){const r=j.get("Content-Range");if(r){const _=Oe(r);if(y(_))return _}const a=j.get("Content-Length");if(a)return parseInt(a)}function zn(j,r){return new self.Request(j.url,r)}class dn extends Error{constructor(r,a,_){super(r),this.code=void 0,this.details=void 0,this.code=a,this.details=_}}const Mi=/\s/,Qa={newCue(j,r,a,_){const E=[];let I,N,H,oe,he;const be=self.VTTCue||self.TextTrackCue;for(let De=0;De<_.rows.length;De++)if(I=_.rows[De],H=!0,oe=0,he="",!I.isEmpty()){var Se;for(let lt=0;lt=16?oe--:oe++;const He=Wl(he.trim()),Xe=ju(r,a,He);j!=null&&(Se=j.cues)!=null&&Se.getCueById(Xe)||(N=new be(r,a,He),N.id=Xe,N.line=De+1,N.align="left",N.position=10+Math.min(80,Math.floor(oe*8/32)*10),E.push(N))}return j&&E.length&&(E.sort((De,He)=>De.line==="auto"||He.line==="auto"?0:De.line>8&&He.line>8?He.line-De.line:De.line-He.line),E.forEach(De=>Hr(j,De))),E}},Oa={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},To=f(f({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:vc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Bo,bufferController:mo,capLevelController:dc,errorController:ts,fpsController:Ql,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:cr,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,useMediaCapabilities:!0,certLoadPolicy:{default:Oa},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},ds()),{},{subtitleStreamController:cs,subtitleTrackController:Hs,timelineController:Ma,audioStreamController:ha,audioTrackController:gs,emeController:nl,cmcdController:mc,contentSteeringController:Nl});function ds(){return{cueHandler:Qa,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function yo(j,r){if((r.liveSyncDurationCount||r.liveMaxLatencyDurationCount)&&(r.liveSyncDuration||r.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(r.liveMaxLatencyDurationCount!==void 0&&(r.liveSyncDurationCount===void 0||r.liveMaxLatencyDurationCount<=r.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(r.liveMaxLatencyDuration!==void 0&&(r.liveSyncDuration===void 0||r.liveMaxLatencyDuration<=r.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const a=ys(j),_=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return _.forEach(I=>{const N=`${I==="level"?"playlist":I}LoadPolicy`,H=r[N]===void 0,oe=[];E.forEach(he=>{const be=`${I}Loading${he}`,Se=r[be];if(Se!==void 0&&H){oe.push(be);const De=a[N].default;switch(r[N]={default:De},he){case"TimeOut":De.maxLoadTimeMs=Se,De.maxTimeToFirstByteMs=Se;break;case"MaxRetry":De.errorRetry.maxNumRetry=Se,De.timeoutRetry.maxNumRetry=Se;break;case"RetryDelay":De.errorRetry.retryDelayMs=Se,De.timeoutRetry.retryDelayMs=Se;break;case"MaxRetryTimeout":De.errorRetry.maxRetryDelayMs=Se,De.timeoutRetry.maxRetryDelayMs=Se;break}}}),oe.length&&R.warn(`hls.js config: "${oe.join('", "')}" setting(s) are deprecated, use "${N}": ${JSON.stringify(r[N])}`)}),f(f({},a),r)}function ys(j){return j&&typeof j=="object"?Array.isArray(j)?j.map(ys):Object.keys(j).reduce((r,a)=>(r[a]=ys(j[a]),r),{}):j}function gc(j){const r=j.loader;r!==D&&r!==vc?(R.log("[config]: Custom loader detected, cannot enable progressive streaming"),j.progressive=!1):A()&&(j.loader=D,j.progressive=!0,j.enableSoftwareAES=!0,R.log("[config]: Progressive streaming enabled, using FetchLoader"))}let $l;class rc extends Ka{constructor(r,a){super(r,"[level-controller]"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=a,this._registerListeners()}_registerListeners(){const{hls:r}=this;r.on(l.MANIFEST_LOADING,this.onManifestLoading,this),r.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.on(l.LEVEL_LOADED,this.onLevelLoaded,this),r.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),r.on(l.FRAG_BUFFERED,this.onFragBuffered,this),r.on(l.ERROR,this.onError,this)}_unregisterListeners(){const{hls:r}=this;r.off(l.MANIFEST_LOADING,this.onManifestLoading,this),r.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.off(l.LEVEL_LOADED,this.onLevelLoaded,this),r.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),r.off(l.FRAG_BUFFERED,this.onFragBuffered,this),r.off(l.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(a=>{a.loadError=0,a.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(r,a){this.resetLevels()}onManifestLoaded(r,a){const _=this.hls.config.preferManagedMediaSource,E=[],I={},N={};let H=!1,oe=!1,he=!1;a.levels.forEach(be=>{var Se,De;const He=be.attrs;let{audioCodec:Xe,videoCodec:lt}=be;((Se=Xe)==null?void 0:Se.indexOf("mp4a.40.34"))!==-1&&($l||($l=/chrome|firefox/i.test(navigator.userAgent)),$l&&(be.audioCodec=Xe=void 0)),Xe&&(be.audioCodec=Xe=wi(Xe,_)),((De=lt)==null?void 0:De.indexOf("avc1"))===0&&(lt=be.videoCodec=Ji(lt));const{width:vt,height:Qt,unknownCodecs:yr}=be;if(H||(H=!!(vt&&Qt)),oe||(oe=!!lt),he||(he=!!Xe),yr!=null&&yr.length||Xe&&!yi(Xe,"audio",_)||lt&&!yi(lt,"video",_))return;const{CODECS:Tr,"FRAME-RATE":Wr,"HDCP-LEVEL":Br,"PATHWAY-ID":Cn,RESOLUTION:un,"VIDEO-RANGE":Hn}=He,En=`${`${Cn||"."}-`}${be.bitrate}-${un}-${Wr}-${Tr}-${Hn}-${Br}`;if(I[En])if(I[En].uri!==be.url&&!be.attrs["PATHWAY-ID"]){const qn=N[En]+=1;be.attrs["PATHWAY-ID"]=new Array(qn+1).join(".");const Ta=new Fa(be);I[En]=Ta,E.push(Ta)}else I[En].addGroupId("audio",He.AUDIO),I[En].addGroupId("text",He.SUBTITLES);else{const qn=new Fa(be);I[En]=qn,N[En]=1,E.push(qn)}}),this.filterAndSortMediaOptions(E,a,H,oe,he)}filterAndSortMediaOptions(r,a,_,E,I){let N=[],H=[],oe=r;if((_||E)&&I&&(oe=oe.filter(({videoCodec:Xe,videoRange:lt,width:vt,height:Qt})=>(!!Xe||!!(vt&&Qt))&&es(lt))),oe.length===0){Promise.resolve().then(()=>{if(this.hls){a.levels.length&&this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(a.levels[0].attrs)}`);const Xe=new Error("no level with compatible codecs found in manifest");this.hls.trigger(l.ERROR,{type:b.MEDIA_ERROR,details:x.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:a.url,error:Xe,reason:Xe.message})}});return}if(a.audioTracks){const{preferManagedMediaSource:Xe}=this.hls.config;N=a.audioTracks.filter(lt=>!lt.audioCodec||yi(lt.audioCodec,"audio",Xe)),nc(N)}a.subtitles&&(H=a.subtitles,nc(H));const he=oe.slice(0);oe.sort((Xe,lt)=>{if(Xe.attrs["HDCP-LEVEL"]!==lt.attrs["HDCP-LEVEL"])return(Xe.attrs["HDCP-LEVEL"]||"")>(lt.attrs["HDCP-LEVEL"]||"")?1:-1;if(_&&Xe.height!==lt.height)return Xe.height-lt.height;if(Xe.frameRate!==lt.frameRate)return Xe.frameRate-lt.frameRate;if(Xe.videoRange!==lt.videoRange)return Ds.indexOf(Xe.videoRange)-Ds.indexOf(lt.videoRange);if(Xe.videoCodec!==lt.videoCodec){const vt=oi(Xe.videoCodec),Qt=oi(lt.videoCodec);if(vt!==Qt)return Qt-vt}if(Xe.uri===lt.uri&&Xe.codecSet!==lt.codecSet){const vt=Wi(Xe.codecSet),Qt=Wi(lt.codecSet);if(vt!==Qt)return Qt-vt}return Xe.averageBitrate!==lt.averageBitrate?Xe.averageBitrate-lt.averageBitrate:0});let be=he[0];if(this.steering&&(oe=this.steering.filterParsedLevels(oe),oe.length!==he.length)){for(let Xe=0;Xevt&&vt===To.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Qt)}break}const De=I&&!E,He={levels:oe,audioTracks:N,subtitleTracks:H,sessionData:a.sessionData,sessionKeys:a.sessionKeys,firstLevel:this._firstLevel,stats:a.stats,audio:I,video:E,altAudio:!De&&N.some(Xe=>!!Xe.url)};this.hls.trigger(l.MANIFEST_PARSED,He),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return this._levels.length===0?null:this._levels}get level(){return this.currentLevelIndex}set level(r){const a=this._levels;if(a.length===0)return;if(r<0||r>=a.length){const be=new Error("invalid level idx"),Se=r<0;if(this.hls.trigger(l.ERROR,{type:b.OTHER_ERROR,details:x.LEVEL_SWITCH_ERROR,level:r,fatal:Se,error:be,reason:be.message}),Se)return;r=Math.min(r,a.length-1)}const _=this.currentLevelIndex,E=this.currentLevel,I=E?E.attrs["PATHWAY-ID"]:void 0,N=a[r],H=N.attrs["PATHWAY-ID"];if(this.currentLevelIndex=r,this.currentLevel=N,_===r&&N.details&&E&&I===H)return;this.log(`Switching to level ${r} (${N.height?N.height+"p ":""}${N.videoRange?N.videoRange+" ":""}${N.codecSet?N.codecSet+" ":""}@${N.bitrate})${H?" with Pathway "+H:""} from level ${_}${I?" with Pathway "+I:""}`);const oe={level:r,attrs:N.attrs,details:N.details,bitrate:N.bitrate,averageBitrate:N.averageBitrate,maxBitrate:N.maxBitrate,realBitrate:N.realBitrate,width:N.width,height:N.height,codecSet:N.codecSet,audioCodec:N.audioCodec,videoCodec:N.videoCodec,audioGroups:N.audioGroups,subtitleGroups:N.subtitleGroups,loaded:N.loaded,loadError:N.loadError,fragmentError:N.fragmentError,name:N.name,id:N.id,uri:N.uri,url:N.url,urlId:0,audioGroupIds:N.audioGroupIds,textGroupIds:N.textGroupIds};this.hls.trigger(l.LEVEL_SWITCHING,oe);const he=N.details;if(!he||he.live){const be=this.switchParams(N.uri,E==null?void 0:E.details,he);this.loadPlaylist(be)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(r){this.manualLevelIndex=r,this._startLevel===void 0&&(this._startLevel=r),r!==-1&&(this.level=r)}get firstLevel(){return this._firstLevel}set firstLevel(r){this._firstLevel=r}get startLevel(){if(this._startLevel===void 0){const r=this.hls.config.startLevel;return r!==void 0?r:this.hls.firstAutoLevel}return this._startLevel}set startLevel(r){this._startLevel=r}onError(r,a){a.fatal||!a.context||a.context.type===ye.LEVEL&&a.context.level===this.level&&this.checkRetry(a)}onFragBuffered(r,{frag:a}){if(a!==void 0&&a.type===Ye.MAIN){const _=a.elementaryStreams;if(!Object.keys(_).some(I=>!!_[I]))return;const E=this._levels[a.level];E!=null&&E.loadError&&(this.log(`Resetting level error count of ${E.loadError} on frag buffered`),E.loadError=0)}}onLevelLoaded(r,a){var _;const{level:E,details:I}=a,N=this._levels[E];if(!N){var H;this.warn(`Invalid level index ${E}`),(H=a.deliveryDirectives)!=null&&H.skip&&(I.deltaUpdateFailed=!0);return}E===this.currentLevelIndex?(N.fragmentError===0&&(N.loadError=0),this.playlistLoaded(E,a,N.details)):(_=a.deliveryDirectives)!=null&&_.skip&&(I.deltaUpdateFailed=!0)}loadPlaylist(r){super.loadPlaylist();const a=this.currentLevelIndex,_=this.currentLevel;if(_&&this.shouldLoadPlaylist(_)){let E=_.uri;if(r)try{E=r.addDirectives(E)}catch(N){this.warn(`Could not construct new URL with HLS Delivery Directives: ${N}`)}const I=_.attrs["PATHWAY-ID"];this.log(`Loading level index ${a}${(r==null?void 0:r.msn)!==void 0?" at sn "+r.msn+" part "+r.part:""} with${I?" Pathway "+I:""} ${E}`),this.clearTimer(),this.hls.trigger(l.LEVEL_LOADING,{url:E,level:a,pathwayId:_.attrs["PATHWAY-ID"],id:0,deliveryDirectives:r||null})}}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(r){this.level=r,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=r)}removeLevel(r){var a;const _=this._levels.filter((E,I)=>I!==r?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(N=>N.level=-1)),!1));za(_),this._levels=_,this.currentLevelIndex>-1&&(a=this.currentLevel)!=null&&a.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.hls.trigger(l.LEVELS_UPDATED,{levels:_})}onLevelsUpdated(r,{levels:a}){this._levels=a}checkMaxAutoUpdated(){const{autoLevelCapping:r,maxAutoLevel:a,maxHdcpLevel:_}=this.hls;this._maxAutoLevel!==a&&(this._maxAutoLevel=a,this.hls.trigger(l.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:r,levels:this.levels,maxAutoLevel:a,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:_}))}}function nc(j){const r={};j.forEach(a=>{const _=a.groupId||"";a.id=r[_]=r[_]||0,r[_]++})}class fl{constructor(r){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=r}abort(r){for(const _ in this.keyUriToKeyInfo){const E=this.keyUriToKeyInfo[_].loader;if(E){var a;if(r&&r!==((a=E.context)==null?void 0:a.frag.type))return;E.abort()}}}detach(){for(const r in this.keyUriToKeyInfo){const a=this.keyUriToKeyInfo[r];(a.mediaKeySessionContext||a.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[r]}}destroy(){this.detach();for(const r in this.keyUriToKeyInfo){const a=this.keyUriToKeyInfo[r].loader;a&&a.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(r,a=x.KEY_LOAD_ERROR,_,E,I){return new Ni({type:b.NETWORK_ERROR,details:a,fatal:!1,frag:r,response:I,error:_,networkDetails:E})}loadClear(r,a){if(this.emeController&&this.config.emeEnabled){const{sn:_,cc:E}=r;for(let I=0;I{N.setKeyFormat(H)});break}}}}load(r){return!r.decryptdata&&r.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(r).then(a=>this.loadInternal(r,a)):this.loadInternal(r)}loadInternal(r,a){var _,E;a&&r.setKeyFormat(a);const I=r.decryptdata;if(!I){const he=new Error(a?`Expected frag.decryptdata to be defined after setting format ${a}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(r,x.KEY_LOAD_ERROR,he))}const N=I.uri;if(!N)return Promise.reject(this.createKeyLoadError(r,x.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${N}"`)));let H=this.keyUriToKeyInfo[N];if((_=H)!=null&&_.decryptdata.key)return I.key=H.decryptdata.key,Promise.resolve({frag:r,keyInfo:H});if((E=H)!=null&&E.keyLoadPromise){var oe;switch((oe=H.mediaKeySessionContext)==null?void 0:oe.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return H.keyLoadPromise.then(he=>(I.key=he.keyInfo.decryptdata.key,{frag:r,keyInfo:H}))}}switch(H=this.keyUriToKeyInfo[N]={decryptdata:I,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},I.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return I.keyFormat==="identity"?this.loadKeyHTTP(H,r):this.loadKeyEME(H,r);case"AES-128":return this.loadKeyHTTP(H,r);default:return Promise.reject(this.createKeyLoadError(r,x.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${I.method}"`)))}}loadKeyEME(r,a){const _={frag:a,keyInfo:r};if(this.emeController&&this.config.emeEnabled){const E=this.emeController.loadKey(_);if(E)return(r.keyLoadPromise=E.then(I=>(r.mediaKeySessionContext=I,_))).catch(I=>{throw r.keyLoadPromise=null,I})}return Promise.resolve(_)}loadKeyHTTP(r,a){const _=this.config,E=_.loader,I=new E(_);return a.keyLoader=r.loader=I,r.keyLoadPromise=new Promise((N,H)=>{const oe={keyInfo:r,frag:a,responseType:"arraybuffer",url:r.decryptdata.uri},he=_.keyLoadPolicy.default,be={loadPolicy:he,timeout:he.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},Se={onSuccess:(De,He,Xe,lt)=>{const{frag:vt,keyInfo:Qt,url:yr}=Xe;if(!vt.decryptdata||Qt!==this.keyUriToKeyInfo[yr])return H(this.createKeyLoadError(vt,x.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),lt));Qt.decryptdata.key=vt.decryptdata.key=new Uint8Array(De.data),vt.keyLoader=null,Qt.loader=null,N({frag:vt,keyInfo:Qt})},onError:(De,He,Xe,lt)=>{this.resetLoader(He),H(this.createKeyLoadError(a,x.KEY_LOAD_ERROR,new Error(`HTTP Error ${De.code} loading key ${De.text}`),Xe,f({url:oe.url,data:void 0},De)))},onTimeout:(De,He,Xe)=>{this.resetLoader(He),H(this.createKeyLoadError(a,x.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Xe))},onAbort:(De,He,Xe)=>{this.resetLoader(He),H(this.createKeyLoadError(a,x.INTERNAL_ABORTED,new Error("key loading aborted"),Xe))}};I.load(oe,be,Se)})}resetLoader(r){const{frag:a,keyInfo:_,url:E}=r,I=_.loader;a.keyLoader===I&&(a.keyLoader=null,_.loader=null),delete this.keyUriToKeyInfo[E],I&&I.destroy()}}function ki(){return self.SourceBuffer||self.WebKitSourceBuffer}function El(){if(!si())return!1;const r=ki();return!r||r.prototype&&typeof r.prototype.appendBuffer=="function"&&typeof r.prototype.remove=="function"}function ic(){if(!El())return!1;const j=si();return typeof(j==null?void 0:j.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(r=>j.isTypeSupported(la(r,"video")))||["mp4a.40.2","fLaC"].some(r=>j.isTypeSupported(la(r,"audio"))))}function Uo(){var j;const r=ki();return typeof(r==null||(j=r.prototype)==null?void 0:j.changeType)=="function"}const no=250,Wa=2,dl=.1,Sl=.05;class ac{constructor(r,a,_,E){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=r,this.media=a,this.fragmentTracker=_,this.hls=E}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(r,a){const{config:_,media:E,stalled:I}=this;if(E===null)return;const{currentTime:N,seeking:H}=E,oe=this.seeking&&!H,he=!this.seeking&&H;if(this.seeking=H,N!==r){if(this.moved=!0,H||(this.nudgeRetry=0),I!==null){if(this.stallReported){const vt=self.performance.now()-I;R.warn(`playback not stuck anymore @${N}, after ${Math.round(vt)}ms`),this.stallReported=!1}this.stalled=null}return}if(he||oe){this.stalled=null;return}if(E.paused&&!H||E.ended||E.playbackRate===0||!hr.getBuffered(E).length){this.nudgeRetry=0;return}const be=hr.bufferInfo(E,N,0),Se=be.nextStart||0;if(H){const vt=be.len>Wa,Qt=!Se||a&&a.start<=N||Se-N>Wa&&!this.fragmentTracker.getPartialFragment(N);if(vt||Qt)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var De;if(!(be.len>0)&&!Se)return;const Qt=Math.max(Se,be.start||0)-N,yr=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,Wr=(yr==null||(De=yr.details)==null?void 0:De.live)?yr.details.targetduration*2:Wa,Br=this.fragmentTracker.getPartialFragment(N);if(Qt>0&&(Qt<=Wr||Br)){E.paused||this._trySkipBufferHole(Br);return}}const He=self.performance.now();if(I===null){this.stalled=He;return}const Xe=He-I;if(!H&&Xe>=no&&(this._reportStall(be),!this.media))return;const lt=hr.bufferInfo(E,N,_.maxBufferHole);this._tryFixBufferStall(lt,Xe)}_tryFixBufferStall(r,a){const{config:_,fragmentTracker:E,media:I}=this;if(I===null)return;const N=I.currentTime,H=E.getPartialFragment(N);H&&(this._trySkipBufferHole(H)||!this.media)||(r.len>_.maxBufferHole||r.nextStart&&r.nextStart-N<_.maxBufferHole)&&a>_.highBufferWatchdogPeriod*1e3&&(R.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(r){const{hls:a,media:_,stallReported:E}=this;if(!E&&_){this.stallReported=!0;const I=new Error(`Playback stalling at @${_.currentTime} due to low buffer (${JSON.stringify(r)})`);R.warn(I.message),a.trigger(l.ERROR,{type:b.MEDIA_ERROR,details:x.BUFFER_STALLED_ERROR,fatal:!1,error:I,buffer:r.len})}}_trySkipBufferHole(r){const{config:a,hls:_,media:E}=this;if(E===null)return 0;const I=E.currentTime,N=hr.bufferInfo(E,I,0),H=I0&&N.len<1&&E.readyState<3,be=H-I;if(be>0&&(oe||he)){if(be>a.maxBufferHole){const{fragmentTracker:De}=this;let He=!1;if(I===0){const Xe=De.getAppendedFrag(0,Ye.MAIN);Xe&&H1?(E=0,this.bitrateTest=!0):E=_.firstAutoLevel),_.nextLoadLevel=E,this.level=_.loadLevel,this.loadedmetadata=!1}a>0&&r===-1&&(this.log(`Override startPosition with lastCurrentTime @${a.toFixed(3)}`),r=a),this.state=pn.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=r,this.tick()}else this._forceStartLoad=!0,this.state=pn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case pn.WAITING_LEVEL:{const{levels:a,level:_}=this,E=a==null?void 0:a[_],I=E==null?void 0:E.details;if(I&&(!I.live||this.levelLastLoaded===E)){if(this.waitForCdnTuneIn(I))break;this.state=pn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=pn.IDLE;break}break}case pn.FRAG_LOADING_WAITING_RETRY:{var r;const a=self.performance.now(),_=this.retryDate;if(!_||a>=_||(r=this.media)!=null&&r.seeking){const{levels:E,level:I}=this,N=E==null?void 0:E[I];this.resetStartWhenNotLoaded(N||null),this.state=pn.IDLE}}break}this.state===pn.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:r,levelLastLoaded:a,levels:_,media:E}=this;if(a===null||!E&&(this.startFragRequested||!r.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const I=this.buffering?r.nextLoadLevel:r.loadLevel;if(!(_!=null&&_[I]))return;const N=_[I],H=this.getMainFwdBufferInfo();if(H===null)return;const oe=this.getLevelDetails();if(oe&&this._streamEnded(H,oe)){const lt={};this.altAudio&&(lt.type="video"),this.hls.trigger(l.BUFFER_EOS,lt),this.state=pn.ENDED;return}if(!this.buffering)return;r.loadLevel!==I&&r.manualLevel===-1&&this.log(`Adapting to level ${I} from level ${this.level}`),this.level=r.nextLoadLevel=I;const he=N.details;if(!he||this.state===pn.WAITING_LEVEL||he.live&&this.levelLastLoaded!==N){this.level=I,this.state=pn.WAITING_LEVEL;return}const be=H.len,Se=this.getMaxBufferLength(N.maxBitrate);if(be>=Se)return;this.backtrackFragment&&this.backtrackFragment.start>H.end&&(this.backtrackFragment=null);const De=this.backtrackFragment?this.backtrackFragment.start:H.end;let He=this.getNextFragment(De,he);if(this.couldBacktrack&&!this.fragPrevious&&He&&He.sn!=="initSegment"&&this.fragmentTracker.getState(He)!==Zs.OK){var Xe;const vt=((Xe=this.backtrackFragment)!=null?Xe:He).sn-he.startSN,Qt=he.fragments[vt-1];Qt&&He.cc===Qt.cc&&(He=Qt,this.fragmentTracker.removeFragment(Qt))}else this.backtrackFragment&&H.len&&(this.backtrackFragment=null);if(He&&this.isLoopLoading(He,De)){if(!He.gap){const vt=this.audioOnly&&!this.altAudio?Y.AUDIO:Y.VIDEO,Qt=(vt===Y.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Qt&&this.afterBufferFlushed(Qt,vt,Ye.MAIN)}He=this.getNextFragmentLoopLoading(He,he,H,Ye.MAIN,Se)}He&&(He.initSegment&&!He.initSegment.data&&!this.bitrateTest&&(He=He.initSegment),this.loadFragment(He,N,De))}loadFragment(r,a,_){const E=this.fragmentTracker.getState(r);this.fragCurrent=r,E===Zs.NOT_LOADED||E===Zs.PARTIAL?r.sn==="initSegment"?this._loadInitSegment(r,a):this.bitrateTest?(this.log(`Fragment ${r.sn} of level ${r.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(r,a)):(this.startFragRequested=!0,super.loadFragment(r,a,_)):this.clearTrackerIfNeeded(r)}getBufferedFrag(r){return this.fragmentTracker.getBufferedFrag(r,Ye.MAIN)}followingBufferedFrag(r){return r?this.getBufferedFrag(r.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:r,media:a}=this;if(a!=null&&a.readyState){let _;const E=this.getAppendedFrag(a.currentTime);E&&E.start>1&&this.flushMainBuffer(0,E.start-1);const I=this.getLevelDetails();if(I!=null&&I.live){const H=this.getMainFwdBufferInfo();if(!H||H.len{const N=I.audioCodec;N&&(_=_||N.indexOf("mp4a.40.2")!==-1,E=E||N.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=_&&E&&!Uo(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=a.levels,this.startFragRequested=!1}onLevelLoading(r,a){const{levels:_}=this;if(!_||this.state!==pn.IDLE)return;const E=_[a.level];(!E.details||E.details.live&&this.levelLastLoaded!==E||this.waitForCdnTuneIn(E.details))&&(this.state=pn.WAITING_LEVEL)}onLevelLoaded(r,a){var _;const{levels:E}=this,I=a.level,N=a.details,H=N.totalduration;if(!E){this.warn(`Levels were reset while loading level ${I}`);return}this.log(`Level ${I} loaded [${N.startSN},${N.endSN}]${N.lastPartSn?`[part-${N.lastPartSn}-${N.lastPartIndex}]`:""}, cc [${N.startCC}, ${N.endCC}] duration:${H}`);const oe=E[I],he=this.fragCurrent;he&&(this.state===pn.FRAG_LOADING||this.state===pn.FRAG_LOADING_WAITING_RETRY)&&he.level!==a.level&&he.loader&&this.abortCurrentFrag();let be=0;if(N.live||(_=oe.details)!=null&&_.live){var Se;if(this.checkLiveUpdate(N),N.deltaUpdateFailed)return;be=this.alignPlaylists(N,oe.details,(Se=this.levelLastLoaded)==null?void 0:Se.details)}if(oe.details=N,this.levelLastLoaded=oe,this.hls.trigger(l.LEVEL_UPDATED,{details:N,level:I}),this.state===pn.WAITING_LEVEL){if(this.waitForCdnTuneIn(N))return;this.state=pn.IDLE}this.startFragRequested?N.live&&this.synchronizeToLiveEdge(N):this.setStartPosition(N,be),this.tick()}_handleFragmentLoadProgress(r){var a;const{frag:_,part:E,payload:I}=r,{levels:N}=this;if(!N){this.warn(`Levels were reset while fragment load was in progress. Fragment ${_.sn} of level ${_.level} will not be buffered`);return}const H=N[_.level],oe=H.details;if(!oe){this.warn(`Dropping fragment ${_.sn} of level ${_.level} after level details were reset`),this.fragmentTracker.removeFragment(_);return}const he=H.videoCodec,be=oe.PTSKnown||!oe.live,Se=(a=_.initSegment)==null?void 0:a.data,De=this._getAudioCodec(H),He=this.transmuxer=this.transmuxer||new Xn(this.hls,Ye.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Xe=E?E.index:-1,lt=Xe!==-1,vt=new mn(_.level,_.sn,_.stats.chunkCount,I.byteLength,Xe,lt),Qt=this.initPTS[_.cc];He.push(I,Se,De,he,_,E,oe.totalduration,be,vt,Qt)}onAudioTrackSwitching(r,a){const _=this.altAudio;if(!!!a.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const N=this.fragCurrent;N&&(this.log("Switching to main audio track, cancel main fragment load"),N.abortRequests(),this.fragmentTracker.removeFragment(N)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const I=this.hls;_&&(I.trigger(l.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),I.trigger(l.AUDIO_TRACK_SWITCHED,a)}}onAudioTrackSwitched(r,a){const _=a.id,E=!!this.hls.audioTracks[_].url;if(E){const I=this.videoBuffer;I&&this.mediaBuffer!==I&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=I)}this.altAudio=E,this.tick()}onBufferCreated(r,a){const _=a.tracks;let E,I,N=!1;for(const H in _){const oe=_[H];if(oe.id==="main"){if(I=H,E=oe,H==="video"){const he=_[H];he&&(this.videoBuffer=he.buffer)}}else N=!0}N&&E?(this.log(`Alternate track found, use ${I}.buffered to schedule main fragment loading`),this.mediaBuffer=E.buffer):this.mediaBuffer=this.media}onFragBuffered(r,a){const{frag:_,part:E}=a;if(_&&_.type!==Ye.MAIN)return;if(this.fragContextChanged(_)){this.warn(`Fragment ${_.sn}${E?" p: "+E.index:""} of level ${_.level} finished buffering, but was aborted. state: ${this.state}`),this.state===pn.PARSED&&(this.state=pn.IDLE);return}const I=E?E.stats:_.stats;this.fragLastKbps=Math.round(8*I.total/(I.buffering.end-I.loading.first)),_.sn!=="initSegment"&&(this.fragPrevious=_),this.fragBufferedComplete(_,E)}onError(r,a){var _;if(a.fatal){this.state=pn.ERROR;return}switch(a.details){case x.FRAG_GAP:case x.FRAG_PARSING_ERROR:case x.FRAG_DECRYPT_ERROR:case x.FRAG_LOAD_ERROR:case x.FRAG_LOAD_TIMEOUT:case x.KEY_LOAD_ERROR:case x.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Ye.MAIN,a);break;case x.LEVEL_LOAD_ERROR:case x.LEVEL_LOAD_TIMEOUT:case x.LEVEL_PARSING_ERROR:!a.levelRetry&&this.state===pn.WAITING_LEVEL&&((_=a.context)==null?void 0:_.type)===ye.LEVEL&&(this.state=pn.IDLE);break;case x.BUFFER_APPEND_ERROR:case x.BUFFER_FULL_ERROR:if(!a.parent||a.parent!=="main")return;if(a.details===x.BUFFER_APPEND_ERROR){this.resetLoadingState();return}this.reduceLengthAndFlushBuffer(a)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case x.INTERNAL_EXCEPTION:this.recoverWorkerError(a);break}}checkBuffer(){const{media:r,gapController:a}=this;if(!(!r||!a||!r.readyState)){if(this.loadedmetadata||!hr.getBuffered(r).length){const _=this.state!==pn.IDLE?this.fragCurrent:null;a.poll(this.lastCurrentTime,_)}this.lastCurrentTime=r.currentTime}}onFragLoadEmergencyAborted(){this.state=pn.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(r,{type:a}){if(a!==Y.AUDIO||this.audioOnly&&!this.altAudio){const _=(a===Y.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(_,a,Ye.MAIN),this.tick()}}onLevelsUpdated(r,a){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level),this.levels=a.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:r}=this;if(!r)return;const a=r.currentTime;let _=this.startPosition;if(_>=0&&a<_){if(r.seeking){this.log(`could not seek to ${_}, already seeking at ${a}`);return}const E=hr.getBuffered(r),N=(E.length?E.start(0):0)-_;N>0&&(N{const{hls:E}=this;if(!_||this.fragContextChanged(r))return;a.fragmentError=0,this.state=pn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const I=r.stats;I.parsing.start=I.parsing.end=I.buffering.start=I.buffering.end=self.performance.now(),E.trigger(l.FRAG_LOADED,_),r.bitrateTest=!1})}_handleTransmuxComplete(r){var a;const _="main",{hls:E}=this,{remuxResult:I,chunkMeta:N}=r,H=this.getCurrentContext(N);if(!H){this.resetWhenMissingContext(N);return}const{frag:oe,part:he,level:be}=H,{video:Se,text:De,id3:He,initSegment:Xe}=I,{details:lt}=be,vt=this.altAudio?void 0:I.audio;if(this.fragContextChanged(oe)){this.fragmentTracker.removeFragment(oe);return}if(this.state=pn.PARSING,Xe){if(Xe!=null&&Xe.tracks){const Tr=oe.initSegment||oe;this._bufferInitSegment(be,Xe.tracks,Tr,N),E.trigger(l.FRAG_PARSING_INIT_SEGMENT,{frag:Tr,id:_,tracks:Xe.tracks})}const Qt=Xe.initPTS,yr=Xe.timescale;y(Qt)&&(this.initPTS[oe.cc]={baseTime:Qt,timescale:yr},E.trigger(l.INIT_PTS_FOUND,{frag:oe,id:_,initPTS:Qt,timescale:yr}))}if(Se&<&&oe.sn!=="initSegment"){const Qt=lt.fragments[oe.sn-1-lt.startSN],yr=oe.sn===lt.startSN,Tr=!Qt||oe.cc>Qt.cc;if(I.independent!==!1){const{startPTS:Wr,endPTS:Br,startDTS:Cn,endDTS:un}=Se;if(he)he.elementaryStreams[Se.type]={startPTS:Wr,endPTS:Br,startDTS:Cn,endDTS:un};else if(Se.firstKeyFrame&&Se.independent&&N.id===1&&!Tr&&(this.couldBacktrack=!0),Se.dropped&&Se.independent){const Hn=this.getMainFwdBufferInfo(),li=(Hn?Hn.end:this.getLoadPosition())+this.config.maxBufferHole,En=Se.firstKeyFramePTS?Se.firstKeyFramePTS:Wr;if(!yr&&liWa&&(oe.gap=!0);oe.setElementaryStreamInfo(Se.type,Wr,Br,Cn,un),this.backtrackFragment&&(this.backtrackFragment=oe),this.bufferFragmentData(Se,oe,he,N,yr||Tr)}else if(yr||Tr)oe.gap=!0;else{this.backtrack(oe);return}}if(vt){const{startPTS:Qt,endPTS:yr,startDTS:Tr,endDTS:Wr}=vt;he&&(he.elementaryStreams[Y.AUDIO]={startPTS:Qt,endPTS:yr,startDTS:Tr,endDTS:Wr}),oe.setElementaryStreamInfo(Y.AUDIO,Qt,yr,Tr,Wr),this.bufferFragmentData(vt,oe,he,N)}if(lt&&He!=null&&(a=He.samples)!=null&&a.length){const Qt={id:_,frag:oe,details:lt,samples:He.samples};E.trigger(l.FRAG_PARSING_METADATA,Qt)}if(lt&&De){const Qt={id:_,frag:oe,details:lt,samples:De.samples};E.trigger(l.FRAG_PARSING_USERDATA,Qt)}}_bufferInitSegment(r,a,_,E){if(this.state!==pn.PARSING)return;this.audioOnly=!!a.audio&&!a.video,this.altAudio&&!this.audioOnly&&delete a.audio;const{audio:I,video:N,audiovideo:H}=a;if(I){let oe=r.audioCodec;const he=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){oe&&(oe.indexOf("mp4a.40.5")!==-1?oe="mp4a.40.2":oe="mp4a.40.5");const be=I.metadata;be&&"channelCount"in be&&(be.channelCount||1)!==1&&he.indexOf("firefox")===-1&&(oe="mp4a.40.5")}oe&&oe.indexOf("mp4a.40.5")!==-1&&he.indexOf("android")!==-1&&I.container!=="audio/mpeg"&&(oe="mp4a.40.2",this.log(`Android: force audio codec to ${oe}`)),r.audioCodec&&r.audioCodec!==oe&&this.log(`Swapping manifest audio codec "${r.audioCodec}" for "${oe}"`),I.levelCodec=oe,I.id="main",this.log(`Init audio buffer, container:${I.container}, codecs[selected/level/parsed]=[${oe||""}/${r.audioCodec||""}/${I.codec}]`)}N&&(N.levelCodec=r.videoCodec,N.id="main",this.log(`Init video buffer, container:${N.container}, codecs[level/parsed]=[${r.videoCodec||""}/${N.codec}]`)),H&&this.log(`Init audiovideo buffer, container:${H.container}, codecs[level/parsed]=[${r.codecs}/${H.codec}]`),this.hls.trigger(l.BUFFER_CODECS,a),Object.keys(a).forEach(oe=>{const be=a[oe].initSegment;be!=null&&be.byteLength&&this.hls.trigger(l.BUFFER_APPENDING,{type:oe,data:be,frag:_,part:null,chunkMeta:E,parent:_.type})}),this.tickImmediate()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,Ye.MAIN)}backtrack(r){this.couldBacktrack=!0,this.backtrackFragment=r,this.resetTransmuxer(),this.flushBufferGap(r),this.fragmentTracker.removeFragment(r),this.fragPrevious=null,this.nextLoadPosition=r.start,this.state=pn.IDLE}checkFragmentChanged(){const r=this.media;let a=null;if(r&&r.readyState>1&&r.seeking===!1){const _=r.currentTime;if(hr.isBuffered(r,_)?a=this.getAppendedFrag(_):hr.isBuffered(r,_+.1)&&(a=this.getAppendedFrag(_+.1)),a){this.backtrackFragment=null;const E=this.fragPlaying,I=a.level;(!E||a.sn!==E.sn||E.level!==I)&&(this.fragPlaying=a,this.hls.trigger(l.FRAG_CHANGED,{frag:a}),(!E||E.level!==I)&&this.hls.trigger(l.LEVEL_SWITCHED,{level:I}))}}}get nextLevel(){const r=this.nextBufferedFrag;return r?r.level:-1}get currentFrag(){const r=this.media;return r?this.fragPlaying||this.getAppendedFrag(r.currentTime):null}get currentProgramDateTime(){const r=this.media;if(r){const a=r.currentTime,_=this.currentFrag;if(_&&y(a)&&y(_.programDateTime)){const E=_.programDateTime+(a-_.start)*1e3;return new Date(E)}}return null}get currentLevel(){const r=this.currentFrag;return r?r.level:-1}get nextBufferedFrag(){const r=this.currentFrag;return r?this.followingBufferedFrag(r):null}get forceStartLoad(){return this._forceStartLoad}}class Xu{static get version(){return"1.5.20"}static isMSESupported(){return El()}static isSupported(){return ic()}static getMediaSource(){return si()}static get Events(){return l}static get ErrorTypes(){return b}static get ErrorDetails(){return x}static get DefaultConfig(){return Xu.defaultConfig?Xu.defaultConfig:To}static set DefaultConfig(r){Xu.defaultConfig=r}constructor(r={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this.started=!1,this._emitter=new Zn,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,this.triggeringException=void 0,$(r.debug||!1,"Hls instance");const a=this.config=yo(Xu.DefaultConfig,r);this.userConfig=r,a.progressive&&gc(a);const{abrController:_,bufferController:E,capLevelController:I,errorController:N,fpsController:H}=a,oe=new N(this),he=this.abrController=new _(this),be=this.bufferController=new E(this),Se=this.capLevelController=new I(this),De=new H(this),He=new Or(this),Xe=new fa(this),lt=a.contentSteeringController,vt=lt?new lt(this):null,Qt=this.levelController=new rc(this,vt),yr=new Jt(this),Tr=new fl(this.config),Wr=this.streamController=new pl(this,yr,Tr);Se.setStreamController(Wr),De.setStreamController(Wr);const Br=[He,Qt,Wr];vt&&Br.splice(1,0,vt),this.networkControllers=Br;const Cn=[he,be,Se,De,Xe,yr];this.audioTrackController=this.createController(a.audioTrackController,Br);const un=a.audioStreamController;un&&Br.push(new un(this,yr,Tr)),this.subtitleTrackController=this.createController(a.subtitleTrackController,Br);const Hn=a.subtitleStreamController;Hn&&Br.push(new Hn(this,yr,Tr)),this.createController(a.timelineController,Cn),Tr.emeController=this.emeController=this.createController(a.emeController,Cn),this.cmcdController=this.createController(a.cmcdController,Cn),this.latencyController=this.createController(Ls,Cn),this.coreComponents=Cn,Br.push(oe);const li=oe.onErrorOut;typeof li=="function"&&this.on(l.ERROR,li,oe)}createController(r,a){if(r){const _=new r(this);return a&&a.push(_),_}return null}on(r,a,_=this){this._emitter.on(r,a,_)}once(r,a,_=this){this._emitter.once(r,a,_)}removeAllListeners(r){this._emitter.removeAllListeners(r)}off(r,a,_=this,E){this._emitter.off(r,a,_,E)}listeners(r){return this._emitter.listeners(r)}emit(r,a,_){return this._emitter.emit(r,a,_)}trigger(r,a){if(this.config.debug)return this.emit(r,r,a);try{return this.emit(r,r,a)}catch(_){if(R.error("An internal error happened while handling event "+r+'. Error message: "'+_.message+'". Here is a stacktrace:',_),!this.triggeringException){this.triggeringException=!0;const E=r===l.ERROR;this.trigger(l.ERROR,{type:b.OTHER_ERROR,details:x.INTERNAL_EXCEPTION,fatal:E,event:r,error:_}),this.triggeringException=!1}}return!1}listenerCount(r){return this._emitter.listenerCount(r)}destroy(){R.log("destroy"),this.trigger(l.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach(a=>a.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(a=>a.destroy()),this.coreComponents.length=0;const r=this.config;r.xhrSetup=r.fetchSetup=void 0,this.userConfig=null}attachMedia(r){R.log("attachMedia"),this._media=r,this.trigger(l.MEDIA_ATTACHING,{media:r})}detachMedia(){R.log("detachMedia"),this.trigger(l.MEDIA_DETACHING,void 0),this._media=null}loadSource(r){this.stopLoad();const a=this.media,_=this.url,E=this.url=s.buildAbsoluteURL(self.location.href,r,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,R.log(`loadSource:${E}`),a&&_&&(_!==E||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(a)),this.trigger(l.MANIFEST_LOADING,{url:r})}startLoad(r=-1){R.log(`startLoad(${r})`),this.started=!0,this.resumeBuffering();for(let a=0;a{r.resumeBuffering&&r.resumeBuffering()})}pauseBuffering(){R.log("pause buffering"),this.networkControllers.forEach(r=>{r.pauseBuffering&&r.pauseBuffering()})}swapAudioCodec(){R.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){R.log("recoverMediaError");const r=this._media;this.detachMedia(),r&&this.attachMedia(r)}removeLevel(r){this.levelController.removeLevel(r)}get levels(){const r=this.levelController.levels;return r||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(r){R.log(`set currentLevel:${r}`),this.levelController.manualLevel=r,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(r){R.log(`set nextLevel:${r}`),this.levelController.manualLevel=r,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(r){R.log(`set loadLevel:${r}`),this.levelController.manualLevel=r}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(r){this.levelController.nextLoadLevel=r}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(r){R.log(`set firstLevel:${r}`),this.levelController.firstLevel=r}get startLevel(){const r=this.levelController.startLevel;return r===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:r}set startLevel(r){R.log(`set startLevel:${r}`),r!==-1&&(r=Math.max(r,this.minAutoLevel)),this.levelController.startLevel=r}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(r){const a=!!r;a!==this.config.capLevelToPlayerSize&&(a?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=a)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:r}=this.abrController;return r?r.getEstimate():NaN}set bandwidthEstimate(r){this.abrController.resetEstimator(r)}get ttfbEstimate(){const{bwEstimator:r}=this.abrController;return r?r.getEstimateTTFB():NaN}set autoLevelCapping(r){this._autoLevelCapping!==r&&(R.log(`set autoLevelCapping:${r}`),this._autoLevelCapping=r,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(r){Is(r)&&this._maxHdcpLevel!==r&&(this._maxHdcpLevel=r,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:r,config:{minAutoBitrate:a}}=this;if(!r)return 0;const _=r.length;for(let E=0;E<_;E++)if(r[E].maxBitrate>=a)return E;return 0}get maxAutoLevel(){const{levels:r,autoLevelCapping:a,maxHdcpLevel:_}=this;let E;if(a===-1&&r!=null&&r.length?E=r.length-1:E=a,_)for(let I=E;I--;){const N=r[I].attrs["HDCP-LEVEL"];if(N&&N<=_)return I}return E}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(r){this.abrController.nextAutoLevel=r}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}setAudioOption(r){var a;return(a=this.audioTrackController)==null?void 0:a.setAudioOption(r)}setSubtitleOption(r){var a;return(a=this.subtitleTrackController)==null||a.setSubtitleOption(r),null}get allAudioTracks(){const r=this.audioTrackController;return r?r.allAudioTracks:[]}get audioTracks(){const r=this.audioTrackController;return r?r.audioTracks:[]}get audioTrack(){const r=this.audioTrackController;return r?r.audioTrack:-1}set audioTrack(r){const a=this.audioTrackController;a&&(a.audioTrack=r)}get allSubtitleTracks(){const r=this.subtitleTrackController;return r?r.allSubtitleTracks:[]}get subtitleTracks(){const r=this.subtitleTrackController;return r?r.subtitleTracks:[]}get subtitleTrack(){const r=this.subtitleTrackController;return r?r.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(r){const a=this.subtitleTrackController;a&&(a.subtitleTrack=r)}get subtitleDisplay(){const r=this.subtitleTrackController;return r?r.subtitleDisplay:!1}set subtitleDisplay(r){const a=this.subtitleTrackController;a&&(a.subtitleDisplay=r)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(r){this.config.lowLatencyMode=r}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}Xu.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return n}});function t(s,u,f){var c=f||{},h=c.noTrailing,o=h===void 0?!1:h,i=c.noLeading,y=i===void 0?!1:i,p=c.debounceMode,g=p===void 0?void 0:p,l,b=!1,x=0;function O(){l&&clearTimeout(l)}function k(T){var F=T||{},$=F.upcomingOnly,R=$===void 0?!1:$;O(),b=!R}function C(){for(var T=arguments.length,F=new Array(T),$=0;$s?y?(x=Date.now(),o||(l=setTimeout(g?Z:W,s))):W():o!==!0&&(l=setTimeout(g?Z:W,g===void 0?s-K:s))}return C.cancel=k,C}function n(s,u,f){var c=f||{},h=c.atBegin,o=h===void 0?!1:h;return t(s,u,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var n=Object.create(null);__webpack_require__.r(n);var s={};v=v||[null,d({}),d([]),d(d)];for(var u=t&2&&e;typeof u=="object"&&!~v.indexOf(u);u=d(u))Object.getOwnPropertyNames(u).forEach(function(f){s[f]=function(){return e[f]}});return s.default=function(){return e},__webpack_require__.d(n,s),n}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"b5a17d10",67:"ea46e6ea",109:"9d565bc0",195:"1eadc809",264:"3af2cf29",265:"ad000f98",278:"ba836481",292:"3e7d58c7",310:"94f1e69d",316:"1f60ada6",337:"ef2e3ac9",342:"a7e4a7cd",354:"d4d139cf",479:"10c7f490",485:"0046425c",508:"e3325df6",532:"28e49e5d",533:"0a3132ea",547:"3b89fa9b",556:"950a3b16",559:"7bbdb725",570:"b3bae61b",576:"a5bc115d",629:"44a1d9a5",643:"2c8dbf74",671:"4a609b8d",672:"7e437e38",680:"e3f7edd0",700:"2d5147fd",737:"53351035",741:"ac5fd360",799:"23e3ff92",869:"a0344305",895:"63f4bbde",921:"807511d5",928:"832b16fc",981:"24da50c7",1006:"077b65bc",1043:"64ee5d18",1045:"6de7e8c7",1048:"a13a8d6e",1070:"67f5eb80",1144:"c90eccaf",1148:"a9b70fe2",1154:"8cb80842",1211:"cae7c9a5",1253:"7adb9c26",1257:"dd97250d",1265:"5e2df554",1274:"5f6ea65a",1276:"1232c571",1343:"3a993a6b",1416:"b070a9ed",1423:"66f74898",1427:"4bc6835b",1450:"e81d1acb",1461:"50dcc517",1462:"fcf08abc",1470:"e54dfc41",1475:"1d005f8d",1482:"6e27147c",1512:"7922e899",1520:"cc619401",1545:"685c5411",1578:"6672d6ee",1581:"e7a1c12e",1582:"d483151f",1646:"e6e27b60",1657:"c4475161",1660:"8e9561a4",1674:"040ff4e3",1702:"1605628e",1713:"2281460e",1717:"a99520d0",1727:"ba3cd77e",1783:"a259e9f1",1799:"eda241f5",1831:"6b745336",1836:"063f3647",1855:"18c35631",1880:"43924c52",1939:"19d62b4a",1953:"3f68079b",1962:"c4475293",2011:"59d51f98",2045:"206aa7e1",2076:"9607bafd",2102:"a8ff458e",2141:"8bdd4029",2216:"cb38c9fa",2240:"9859c090",2249:"f4830452",2254:"848bab85",2300:"e1bf89cf",2303:"c95e7816",2307:"2b8921b5",2338:"b9b31201",2339:"eadf7103",2386:"192e235c",2396:"f5000627",2404:"497ea8f2",2412:"e3f8a789",2413:"2e4f93bb",2425:"f48074cb",2443:"77556fe9",2476:"6b302d57",2494:"68080a87",2501:"4759a841",2509:"146a5b3d",2529:"4a409128",2538:"de4a3723",2539:"8048e0c4",2548:"a8fbf09d",2570:"3a37fc16",2594:"e87d3761",2603:"9e3851b5",2654:"83ef3f60",2659:"c0671c95",2707:"81da7675",2806:"faf3e94c",2819:"d339257a",2823:"63e9cf90",2826:"eafecf5b",2829:"7e6ac366",2837:"54a82605",2865:"3cc4e882",2875:"e7a44d6c",2884:"ecc081d4",2969:"ab3357d7",2983:"99299b38",3006:"e84475fa",3133:"9bf3f89c",3141:"22e073f2",3157:"545de38f",3183:"597e724b",3198:"8e655451",3212:"336f1e25",3220:"82e90907",3247:"16b7c9a1",3260:"5dc084e6",3267:"7bab569a",3276:"1f646d97",3282:"1d6bfa2f",3317:"59a8752e",3332:"53636357",3339:"c666ab4f",3355:"5634858e",3356:"8c28c5d4",3391:"0bf3d035",3433:"1af2f5ee",3442:"17ca7c00",3447:"fba71bdd",3451:"0f9176cd",3496:"80ba5591",3509:"82fdab66",3550:"3dc83156",3581:"b28198fa",3585:"bad15ef1",3665:"cff4902a",3668:"34f5ad7a",3697:"481a10d9",3747:"b13c2e45",3777:"d5b0f2f1",3784:"8403b84f",3805:"9dbcb95e",3862:"41064403",3873:"fc810aa4",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"a11291fe",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"d78eed38",4056:"5b5b4e38",4058:"4b8bcbfb",4078:"2c831272",4088:"236723f3",4093:"b4efd28a",4105:"571a2bf8",4144:"a9c23711",4164:"6cd6b107",4184:"ff08337d",4216:"dd9bd0b7",4217:"244dfc8a",4227:"3ddc78f0",4259:"69ea90fe",4264:"1a6a710f",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"7078f96a",4492:"9a163485",4496:"a4a27799",4498:"7415e591",4504:"9a3d395a",4514:"87d8352b",4520:"80421107",4546:"7c79664f",4565:"34ca03e6",4572:"59656db9",4599:"61def4cb",4601:"c2a44459",4610:"c3976d23",4621:"9528062b",4628:"ece2c60c",4662:"68b91324",4685:"c33f1528",4715:"64ac438f",4736:"4f169ace",4741:"2a05567c",4757:"a112876d",4766:"d267690e",4770:"76950dda",4790:"619413e4",4795:"57ce3ca1",4797:"a24e92db",4800:"072a616e",4849:"c1796515",4850:"1edda4b7",4862:"10a6d769",4884:"863451bb",4889:"b2c3e5be",4928:"e1d392ed",4973:"193eb6ba",4994:"6dd9edb9",5022:"ff6e8d51",5043:"765d6904",5048:"e6fe6603",5060:"85dafcc6",5096:"f2447cf1",5111:"94bf3a92",5125:"f483edee",5148:"5b60dcab",5176:"040e7794",5179:"c72b341f",5186:"bb0a0442",5191:"2b64c23d",5238:"6970f2c8",5290:"5dabcdc2",5297:"1f5f15ee",5319:"c699f6ed",5321:"1163c84e",5335:"e64eea05",5354:"7ae70604",5357:"2e12b907",5359:"4c1d2332",5382:"3b2083ba",5402:"8b4da2a1",5416:"454536b7",5434:"38b302a6",5470:"1c150c7a",5494:"d89549c4",5518:"5a2695b9",5549:"86715a72",5572:"7325a62c",5573:"e15af26d",5599:"c962248c",5624:"9d38edb9",5631:"e00d3d36",5650:"683857d1",5679:"4a090bef",5705:"41d2c5f1",5729:"6aad4118",5764:"e0d7e586",5775:"0c3fc6c1",5786:"ae92d5f7",5798:"28fba1b3",5816:"ff5ba054",5825:"a3ade6d5",5876:"5eded409",5886:"490e40cd",5888:"4cb11448",5891:"a0aefd97",5895:"b1bcb484",5902:"5ce89da2",5915:"7a2565ce",5972:"99aa2344",5992:"e3be5df2",6029:"44a62a4e",6034:"5a6d4649",6045:"d268f87f",6047:"3ce45acd",6052:"307d10f4",6063:"129963dd",6069:"87bf5c48",6126:"99519171",6127:"5698febb",6170:"07f25c2b",6265:"b115c1cb",6270:"7e812263",6277:"5289ce91",6328:"302a185c",6366:"9a59e638",6378:"7f3a946a",6411:"7d1994e3",6434:"77e1023b",6444:"d4109938",6452:"01304c5e",6531:"eac0ffe2",6541:"4545bb2e",6583:"92adcf5c",6587:"b4e96f68",6634:"40417f79",6651:"1a8b2885",6675:"08742a1e",6685:"0c97bd35",6729:"166fc1ae",6741:"af4c39f0",6758:"4b372a1e",6774:"59d4d618",6784:"e6c50689",6788:"719255ca",6796:"bba1c1dd",6805:"cbdf3925",6820:"0e15c00a",6845:"fc1b10a2",6882:"de865a13",6883:"6cb80143",6904:"9b2c9214",6913:"523a5d7d",6949:"b3a692b0",6963:"e09e8258",6982:"19375bde",7008:"42b920cf",7043:"e0d53fa0",7045:"64b0720d",7046:"1821c5d5",7058:"3fcd9c63",7062:"8124951a",7084:"46ccce72",7156:"e7466006",7178:"692f39fb",7180:"e964a7e9",7182:"ca61617c",7242:"4477a513",7260:"f37551de",7331:"2e27a23b",7333:"073fbf91",7365:"1005464f",7395:"b90269f4",7460:"b1d30a2a",7477:"630d7da8",7482:"989633fa",7527:"95506ceb",7545:"38ef4a46",7560:"00698094",7589:"862793c5",7591:"c8233ce9",7614:"dd2d53f8",7622:"c1ad6687",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"32f83b09",7852:"8a085842",7855:"f8f10465",7857:"c83de972",7878:"6a5dcb1c",7884:"4a1aab46",7922:"33733242",7948:"2576064d",7964:"29aed9a1",8014:"3f2636ea",8062:"3b4d85a2",8072:"69418f3e",8077:"db2a8b03",8085:"06477415",8089:"d536b13a",8143:"22d5b2a0",8155:"bec7d019",8161:"83c5fa9a",8237:"03cb30ed",8241:"a02be93c",8302:"18a803c9",8307:"5c21e9ef",8340:"47b8eb29",8350:"07df8a75",8365:"67a5f363",8398:"80cdb0c5",8431:"3ada71fb",8435:"86df2ec7",8447:"5322ed91",8517:"7b9469f2",8561:"333e8ec9",8563:"a2609cbc",8600:"b7a54cc4",8634:"c402daae",8639:"68809bd0",8665:"71ca82e5",8688:"4867e56d",8689:"28f5d6e8",8723:"c1138277",8737:"ce7dad23",8776:"0ad26240",8782:"b057cd50",8787:"2003b7ea",8797:"6e3ec344",8823:"9eecf90f",8827:"543bf06b",8842:"9f25a3e2",8866:"ef839c9e",8882:"d5bd5d9a",8885:"1a00e1e5",8898:"d002bcd8",8909:"6cabf3a9",8920:"7f82440c",8963:"790aecdd",8982:"1d6777d8",8999:"b23663ba",9076:"e0aaaea3",9104:"bbcb2345",9133:"691c93ef",9205:"aa105956",9215:"50c5a03e",9252:"0d791a59",9260:"cf5f8140",9332:"710dda6f",9360:"9b3c1ca7",9366:"76adbf40",9391:"a62d9180",9404:"9fcc3d3e",9408:"f817a9bf",9416:"cf2d0ef9",9487:"bbefb860",9489:"cafcb89c",9507:"87d375de",9519:"6896493a",9554:"ed358e7b",9559:"f794af19",9590:"6713b07d",9647:"873cf3e0",9649:"657f7441",9674:"2baac237",9677:"b14a32f6",9695:"c3d53222",9715:"3368f788",9716:"a2f27af9",9785:"9d709aeb",9788:"70271441",9890:"69ebde56",9891:"2198fdc3",9895:"b8e31ff2",9921:"7aadcb2f",9922:"56f91dbf",9928:"5989f5e0",9944:"c9fa0099",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"4c1ff0fa",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3267:"03cdfb68",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"99f7daed",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,t,n){if(d[v]){d[v].push(e);return}var s,u;if(t!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c{const E=qt(this.config),I=r.map(Ft).filter(N=>!!N&&E.indexOf(N)!==-1);return this.getKeySystemSelectionPromise(I).then(({keySystem:N})=>{const H=tr(N);H?a(H):_(new Error(`Unable to find format for key-system "${N}"`))}).catch(_)})}loadKey(r){const a=r.keyInfo.decryptdata,_=this.getKeyIdString(a),E=`(keyId: ${_} format: "${a.keyFormat}" method: ${a.method} uri: ${a.uri})`;this.log(`Starting session for key ${E}`);let I=this.keyIdToKeySessionPromise[_];return I||(I=this.keyIdToKeySessionPromise[_]=this.getKeySystemForKeyPromise(a).then(({keySystem:N,mediaKeys:H})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${r.frag.sn} ${r.frag.type}: ${r.frag.level} using key ${E}`),this.attemptSetMediaKeys(N,H).then(()=>{this.throwIfDestroyed();const oe=this.createMediaKeySessionContext({keySystem:N,mediaKeys:H,decryptdata:a});return this.generateRequestWithPreferredKeySession(oe,"cenc",a.pssh,"playlist-key")}))),I.catch(N=>this.handleError(N))),I}throwIfDestroyed(r="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(r){this.hls&&(this.error(r.message),r instanceof Jo?this.hls.trigger(l.ERROR,r.data):this.hls.trigger(l.ERROR,{type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_KEYS,error:r,fatal:!0}))}getKeySystemForKeyPromise(r){const a=this.getKeyIdString(r),_=this.keyIdToKeySessionPromise[a];if(!_){const E=Ft(r.keyFormat),I=E?[E]:qt(this.config);return this.attemptKeySystemAccess(I)}return _}getKeySystemSelectionPromise(r){if(r.length||(r=qt(this.config)),r.length===0)throw new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${JSON.stringify({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(r)}attemptSetMediaKeys(r,a){const _=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${r}"`);const E=Promise.all(_).then(()=>{if(!this.media)throw new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(a)});return this.setMediaKeysQueue.push(E),E.then(()=>{this.log(`Media-keys set for "${r}"`),_.push(E),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(I=>_.indexOf(I)===-1)})}generateRequestWithPreferredKeySession(r,a,_,E){var I,N;const H=(I=this.config.drmSystems)==null||(N=I[r.keySystem])==null?void 0:N.generateRequest;if(H)try{const Xe=H.call(this.hls,a,_,r);if(!Xe)throw new Error("Invalid response from configured generateRequest filter");a=Xe.initDataType,_=r.decryptdata.pssh=Xe.initData?new Uint8Array(Xe.initData):null}catch(Xe){var oe;if(this.warn(Xe.message),(oe=this.hls)!=null&&oe.config.debug)throw Xe}if(_===null)return this.log(`Skipping key-session request for "${E}" (no initData)`),Promise.resolve(r);const he=this.getKeyIdString(r.decryptdata);this.log(`Generating key-session request for "${E}": ${he} (init data type: ${a} length: ${_?_.byteLength:null})`);const be=new Zn,Se=r._onmessage=Xe=>{const lt=r.mediaKeysSession;if(!lt){be.emit("error",new Error("invalid state"));return}const{messageType:vt,message:Qt}=Xe;this.log(`"${vt}" message event for session "${lt.sessionId}" message size: ${Qt.byteLength}`),vt==="license-request"||vt==="license-renewal"?this.renewLicense(r,Qt).catch(yr=>{this.handleError(yr),be.emit("error",yr)}):vt==="license-release"?r.keySystem===Me.FAIRPLAY&&(this.updateKeySession(r,xe("acknowledged")),this.removeSession(r)):this.warn(`unhandled media key message type "${vt}"`)},De=r._onkeystatuseschange=Xe=>{if(!r.mediaKeysSession){be.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(r);const vt=r.keyStatus;be.emit("keyStatus",vt),vt==="expired"&&(this.warn(`${r.keySystem} expired for key ${he}`),this.renewKeySession(r))};r.mediaKeysSession.addEventListener("message",Se),r.mediaKeysSession.addEventListener("keystatuseschange",De);const He=new Promise((Xe,lt)=>{be.on("error",lt),be.on("keyStatus",vt=>{vt.startsWith("usable")?Xe():vt==="output-restricted"?lt(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):vt==="internal-error"?lt(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${vt}"`)):vt==="expired"?lt(new Error("key expired while generating request")):this.warn(`unhandled key status change "${vt}"`)})});return r.mediaKeysSession.generateRequest(a,_).then(()=>{var Xe;this.log(`Request generated for key-session "${(Xe=r.mediaKeysSession)==null?void 0:Xe.sessionId}" keyId: ${he}`)}).catch(Xe=>{throw new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_NO_SESSION,error:Xe,fatal:!1},`Error generating key-session request: ${Xe}`)}).then(()=>He).catch(Xe=>{throw be.removeAllListeners(),this.removeSession(r),Xe}).then(()=>(be.removeAllListeners(),r))}onKeyStatusChange(r){r.mediaKeysSession.keyStatuses.forEach((a,_)=>{this.log(`key status change "${a}" for keyStatuses keyId: ${Nt.hexDump("buffer"in _?new Uint8Array(_.buffer,_.byteOffset,_.byteLength):new Uint8Array(_))} session keyId: ${Nt.hexDump(new Uint8Array(r.decryptdata.keyId||[]))} uri: ${r.decryptdata.uri}`),r.keyStatus=a})}fetchServerCertificate(r){const a=this.config,_=a.loader,E=new _(a),I=this.getServerCertificateUrl(r);return I?(this.log(`Fetching server certificate for "${r}"`),new Promise((N,H)=>{const oe={responseType:"arraybuffer",url:I},he=a.certLoadPolicy.default,be={loadPolicy:he,timeout:he.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},Se={onSuccess:(De,He,Xe,lt)=>{N(De.data)},onError:(De,He,Xe,lt)=>{H(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Xe,response:f({url:oe.url,data:void 0},De)},`"${r}" certificate request failed (${I}). Status: ${De.code} (${De.text})`))},onTimeout:(De,He,Xe)=>{H(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Xe,response:{url:oe.url,data:void 0}},`"${r}" certificate request timed out (${I})`))},onAbort:(De,He,Xe)=>{H(new Error("aborted"))}};E.load(oe,be,Se)})):Promise.resolve()}setMediaKeysServerCertificate(r,a,_){return new Promise((E,I)=>{r.setServerCertificate(_).then(N=>{this.log(`setServerCertificate ${N?"success":"not supported by CDM"} (${_==null?void 0:_.byteLength}) on "${a}"`),E(r)}).catch(N=>{I(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:N,fatal:!0},N.message))})})}renewLicense(r,a){return this.requestLicense(r,new Uint8Array(a)).then(_=>this.updateKeySession(r,new Uint8Array(_)).catch(E=>{throw new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:E,fatal:!0},E.message)}))}unpackPlayReadyKeyMessage(r,a){const _=String.fromCharCode.apply(null,new Uint16Array(a.buffer));if(!_.includes("PlayReadyKeyMessage"))return r.setRequestHeader("Content-Type","text/xml; charset=utf-8"),a;const E=new DOMParser().parseFromString(_,"application/xml"),I=E.querySelectorAll("HttpHeader");if(I.length>0){let be;for(let Se=0,De=I.length;Se in key message");return xe(atob(he))}setupLicenseXHR(r,a,_,E){const I=this.config.licenseXhrSetup;return I?Promise.resolve().then(()=>{if(!_.decryptdata)throw new Error("Key removed");return I.call(this.hls,r,a,_,E)}).catch(N=>{if(!_.decryptdata)throw N;return r.open("POST",a,!0),I.call(this.hls,r,a,_,E)}).then(N=>(r.readyState||r.open("POST",a,!0),{xhr:r,licenseChallenge:N||E})):(r.open("POST",a,!0),Promise.resolve({xhr:r,licenseChallenge:E}))}requestLicense(r,a){const _=this.config.keyLoadPolicy.default;return new Promise((E,I)=>{const N=this.getLicenseServerUrlOrThrow(r.keySystem);this.log(`Sending license request to URL: ${N}`);const H=new XMLHttpRequest;H.responseType="arraybuffer",H.onreadystatechange=()=>{if(!this.hls||!r.mediaKeysSession)return I(new Error("invalid state"));if(H.readyState===4)if(H.status===200){this._requestLicenseFailureCount=0;let oe=H.response;this.log(`License received ${oe instanceof ArrayBuffer?oe.byteLength:oe}`);const he=this.config.licenseResponseCallback;if(he)try{oe=he.call(this.hls,H,N,r)}catch(be){this.error(be)}E(oe)}else{const oe=_.errorRetry,he=oe?oe.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>he||H.status>=400&&H.status<500)I(new Jo({type:b.KEY_SYSTEM_ERROR,details:x.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:H,response:{url:N,data:void 0,code:H.status,text:H.statusText}},`License Request XHR failed (${N}). Status: ${H.status} (${H.statusText})`));else{const be=he-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${be} attempts left`),this.requestLicense(r,a).then(E,I)}}},r.licenseXhr&&r.licenseXhr.readyState!==XMLHttpRequest.DONE&&r.licenseXhr.abort(),r.licenseXhr=H,this.setupLicenseXHR(H,N,r,a).then(({xhr:oe,licenseChallenge:he})=>{r.keySystem==Me.PLAYREADY&&(he=this.unpackPlayReadyKeyMessage(oe,he)),oe.send(he)})})}onMediaAttached(r,a){if(!this.config.emeEnabled)return;const _=a.media;this.media=_,_.removeEventListener("encrypted",this.onMediaEncrypted),_.removeEventListener("waitingforkey",this.onWaitingForKey),_.addEventListener("encrypted",this.onMediaEncrypted),_.addEventListener("waitingforkey",this.onWaitingForKey)}onMediaDetached(){const r=this.media,a=this.mediaKeySessions;r&&(r.removeEventListener("encrypted",this.onMediaEncrypted),r.removeEventListener("waitingforkey",this.onWaitingForKey),this.media=null),this._requestLicenseFailureCount=0,this.setMediaKeysQueue=[],this.mediaKeySessions=[],this.keyIdToKeySessionPromise={},Mr.clearKeyUriToKeyIdMap();const _=a.length;nl.CDMCleanupPromise=Promise.all(a.map(E=>this.removeSession(E)).concat(r==null?void 0:r.setMediaKeys(null).catch(E=>{this.log(`Could not clear media keys: ${E}`)}))).then(()=>{_&&(this.log("finished closing key sessions and clearing media keys"),a.length=0)}).catch(E=>{this.log(`Could not close sessions and clear media keys: ${E}`)})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(r,{sessionKeys:a}){if(!(!a||!this.config.emeEnabled)&&!this.keyFormatPromise){const _=a.reduce((E,I)=>(E.indexOf(I.keyFormat)===-1&&E.push(I.keyFormat),E),[]);this.log(`Selecting key-system from session-keys ${_.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(_)}}removeSession(r){const{mediaKeysSession:a,licenseXhr:_}=r;if(a){this.log(`Remove licenses and keys and close session ${a.sessionId}`),r._onmessage&&(a.removeEventListener("message",r._onmessage),r._onmessage=void 0),r._onkeystatuseschange&&(a.removeEventListener("keystatuseschange",r._onkeystatuseschange),r._onkeystatuseschange=void 0),_&&_.readyState!==XMLHttpRequest.DONE&&_.abort(),r.mediaKeysSession=r.decryptdata=r.licenseXhr=void 0;const E=this.mediaKeySessions.indexOf(r);return E>-1&&this.mediaKeySessions.splice(E,1),a.remove().catch(I=>{this.log(`Could not remove session: ${I}`)}).then(()=>a.close()).catch(I=>{this.log(`Could not close session: ${I}`)})}}}nl.CDMCleanupPromise=void 0;class Jo extends Error{constructor(r,a){super(a),this.data=void 0,r.error||(r.error=new Error(a)),this.data=r,r.err=r.error}}var go;(function(j){j.MANIFEST="m",j.AUDIO="a",j.VIDEO="v",j.MUXED="av",j.INIT="i",j.CAPTION="c",j.TIMED_TEXT="tt",j.KEY="k",j.OTHER="o"})(go||(go={}));var Jl;(function(j){j.DASH="d",j.HLS="h",j.SMOOTH="s",j.OTHER="o"})(Jl||(Jl={}));var zu;(function(j){j.OBJECT="CMCD-Object",j.REQUEST="CMCD-Request",j.SESSION="CMCD-Session",j.STATUS="CMCD-Status"})(zu||(zu={}));const hu={[zu.OBJECT]:["br","d","ot","tb"],[zu.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[zu.SESSION]:["cid","pr","sf","sid","st","v"],[zu.STATUS]:["bs","rtp"]};class ou{constructor(r,a){this.value=void 0,this.params=void 0,Array.isArray(r)&&(r=r.map(_=>_ instanceof ou?_:new ou(_))),this.value=r,this.params=a}}class Dl{constructor(r){this.description=void 0,this.description=r}}const Zu="Dict";function hc(j){return Array.isArray(j)?JSON.stringify(j):j instanceof Map?"Map{}":j instanceof Set?"Set{}":typeof j=="object"?JSON.stringify(j):String(j)}function Sc(j,r,a,_){return new Error(`failed to ${j} "${hc(r)}" as ${a}`,{cause:_})}const yl="Bare Item",uo="Boolean",Cc="Byte Sequence",pc="Decimal",il="Integer";function ku(j){return j<-999999999999999||99999999999999912)throw gu(j,pc);const a=r.toString();return a.includes(".")?a:`${a}.0`}const Ol="String";function Ko(j){if(lo.test(j))throw gu(j,Ol);return`"${j.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Eu(j){return j.description||j.toString().slice(7,-1)}function kl(j){const r=Eu(j);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(r)===!1)throw gu(r,al);return r}function ul(j){switch(typeof j){case"number":if(!y(j))throw gu(j,yl);return Number.isInteger(j)?ol(j):uu(j);case"string":return Ko(j);case"symbol":return kl(j);case"boolean":return Ac(j);case"object":if(j instanceof Date)return je(j);if(j instanceof Uint8Array)return jo(j);if(j instanceof Dl)return kl(j);default:throw gu(j,yl)}}function Hu(j){if(/^[a-z*][a-z0-9\-_.*]*$/.test(j)===!1)throw gu(j,Dc);return j}function Ru(j){return j==null?"":Object.entries(j).map(([r,a])=>a===!0?`;${Hu(r)}`:`;${Hu(r)}=${ul(a)}`).join("")}function Su(j){return j instanceof ou?`${ul(j.value)}${Ru(j.params)}`:ul(j)}function _c(j){return`(${j.value.map(Su).join(" ")})${Ru(j.params)}`}function Rl(j,r={whitespace:!0}){if(typeof j!="object")throw gu(j,Zu);const a=j instanceof Map?j.entries():Object.entries(j),_=r!=null&&r.whitespace?" ":"";return Array.from(a).map(([E,I])=>{I instanceof ou||(I=new ou(I));let N=Hu(E);return I.value===!0?N+=Ru(I.params):(N+="=",Array.isArray(I.value)?N+=_c(I):N+=Su(I)),N}).join(`,${_}`)}function pu(j,r){return Rl(j,r)}const Yu=j=>j==="ot"||j==="sf"||j==="st",Cu=j=>typeof j=="number"?y(j):j!=null&&j!==""&&j!==!1;function Bc(j,r){const a=new URL(j),_=new URL(r);if(a.origin!==_.origin)return j;const E=a.pathname.split("/").slice(1),I=_.pathname.split("/").slice(1,-1);for(;E[0]===I[0];)E.shift(),I.shift();for(;I.length;)I.shift(),E.unshift("..");return E.join("/")}function Tc(){try{return crypto.randomUUID()}catch(j){try{const r=URL.createObjectURL(new Blob),a=r.toString();return URL.revokeObjectURL(r),a.slice(a.lastIndexOf("/")+1)}catch(r){let a=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,E=>{const I=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(E=="x"?I:I&3|8).toString(16)})}}}const Ao=j=>Math.round(j),ll=(j,r)=>(r!=null&&r.baseUrl&&(j=Bc(j,r.baseUrl)),encodeURIComponent(j)),bl=j=>Ao(j/100)*100,Ll={br:Ao,d:Ao,bl,dl:bl,mtp:bl,nor:ll,rtp:bl,tb:Ao};function Ml(j,r){const a={};if(j==null||typeof j!="object")return a;const _=Object.keys(j).sort(),E=i({},Ll,r==null?void 0:r.formatters),I=r==null?void 0:r.filter;return _.forEach(N=>{if(I!=null&&I(N))return;let H=j[N];const oe=E[N];oe&&(H=oe(H,r)),!(N==="v"&&H===1)&&(N=="pr"&&H===1||Cu(H)&&(Yu(N)&&typeof H=="string"&&(H=new Dl(H)),a[N]=H))}),a}function xl(j,r={}){return j?pu(Ml(j,r),i({whitespace:!1},r)):""}function Fl(j,r={}){if(!j)return{};const a=Object.entries(j),_=Object.entries(hu).concat(Object.entries((r==null?void 0:r.customHeaderMap)||{})),E=a.reduce((I,N)=>{var H,oe;const[he,be]=N,Se=((H=_.find(De=>De[1].includes(he)))==null?void 0:H[0])||zu.REQUEST;return(oe=I[Se])!=null||(I[Se]={}),I[Se][he]=be,I},{});return Object.entries(E).reduce((I,[N,H])=>(I[N]=xl(H,r),I),{})}function Oc(j,r,a){return i(j,Fl(r,a))}const ql="CMCD";function Bl(j,r={}){if(!j)return"";const a=xl(j,r);return`${ql}=${encodeURIComponent(a)}`}const cl=/CMCD=[^&#]+/;function Pc(j,r,a){const _=Bl(r,a);if(!_)return j;if(cl.test(j))return j.replace(cl,_);const E=j.includes("?")?"&":"?";return`${j}${E}${_}`}class mc{constructor(r){this.hls=void 0,this.config=void 0,this.media=void 0,this.sid=void 0,this.cid=void 0,this.useHeaders=!1,this.includeKeys=void 0,this.initialized=!1,this.starved=!1,this.buffering=!0,this.audioBuffer=void 0,this.videoBuffer=void 0,this.onWaiting=()=>{this.initialized&&(this.starved=!0),this.buffering=!0},this.onPlaying=()=>{this.initialized||(this.initialized=!0),this.buffering=!1},this.applyPlaylistData=E=>{try{this.apply(E,{ot:go.MANIFEST,su:!this.initialized})}catch(I){R.warn("Could not generate manifest CMCD data.",I)}},this.applyFragmentData=E=>{try{const I=E.frag,N=this.hls.levels[I.level],H=this.getObjectType(I),oe={d:I.duration*1e3,ot:H};(H===go.VIDEO||H===go.AUDIO||H==go.MUXED)&&(oe.br=N.bitrate/1e3,oe.tb=this.getTopBandwidth(H)/1e3,oe.bl=this.getBufferLength(H)),this.apply(E,oe)}catch(I){R.warn("Could not generate segment CMCD data.",I)}},this.hls=r;const a=this.config=r.config,{cmcd:_}=a;_!=null&&(a.pLoader=this.createPlaylistLoader(),a.fLoader=this.createFragmentLoader(),this.sid=_.sessionId||Tc(),this.cid=_.contentId,this.useHeaders=_.useHeaders===!0,this.includeKeys=_.includeKeys,this.registerListeners())}registerListeners(){const r=this.hls;r.on(l.MEDIA_ATTACHED,this.onMediaAttached,this),r.on(l.MEDIA_DETACHED,this.onMediaDetached,this),r.on(l.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const r=this.hls;r.off(l.MEDIA_ATTACHED,this.onMediaAttached,this),r.off(l.MEDIA_DETACHED,this.onMediaDetached,this),r.off(l.BUFFER_CREATED,this.onBufferCreated,this)}destroy(){this.unregisterListeners(),this.onMediaDetached(),this.hls=this.config=this.audioBuffer=this.videoBuffer=null,this.onWaiting=this.onPlaying=null}onMediaAttached(r,a){this.media=a.media,this.media.addEventListener("waiting",this.onWaiting),this.media.addEventListener("playing",this.onPlaying)}onMediaDetached(){this.media&&(this.media.removeEventListener("waiting",this.onWaiting),this.media.removeEventListener("playing",this.onPlaying),this.media=null)}onBufferCreated(r,a){var _,E;this.audioBuffer=(_=a.tracks.audio)==null?void 0:_.buffer,this.videoBuffer=(E=a.tracks.video)==null?void 0:E.buffer}createData(){var r;return{v:1,sf:Jl.HLS,sid:this.sid,cid:this.cid,pr:(r=this.media)==null?void 0:r.playbackRate,mtp:this.hls.bandwidthEstimate/1e3}}apply(r,a={}){i(a,this.createData());const _=a.ot===go.INIT||a.ot===go.VIDEO||a.ot===go.MUXED;this.starved&&_&&(a.bs=!0,a.su=!0,this.starved=!1),a.su==null&&(a.su=this.buffering);const{includeKeys:E}=this;E&&(a=Object.keys(a).reduce((I,N)=>(E.includes(N)&&(I[N]=a[N]),I),{})),this.useHeaders?(r.headers||(r.headers={}),Oc(r.headers,a)):r.url=Pc(r.url,a)}getObjectType(r){const{type:a}=r;if(a==="subtitle")return go.TIMED_TEXT;if(r.sn==="initSegment")return go.INIT;if(a==="audio")return go.AUDIO;if(a==="main")return this.hls.audioTracks.length?go.VIDEO:go.MUXED}getTopBandwidth(r){let a=0,_;const E=this.hls;if(r===go.AUDIO)_=E.audioTracks;else{const I=E.maxAutoLevel,N=I>-1?I+1:E.levels.length;_=E.levels.slice(0,N)}for(const I of _)I.bitrate>a&&(a=I.bitrate);return a>0?a:NaN}getBufferLength(r){const a=this.hls.media,_=r===go.AUDIO?this.audioBuffer:this.videoBuffer;return!_||!a?NaN:hr.bufferInfo(_,a.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:r}=this.config,a=this.applyPlaylistData,_=r||this.config.loader;return class{constructor(I){this.loader=void 0,this.loader=new _(I)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(I,N,H){a(I),this.loader.load(I,N,H)}}}createFragmentLoader(){const{fLoader:r}=this.config,a=this.applyFragmentData,_=r||this.config.loader;return class{constructor(I){this.loader=void 0,this.loader=new _(I)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(I,N,H){a(I),this.loader.load(I,N,H)}}}}const Lu=3e5;class Nl{constructor(r){this.hls=void 0,this.log=void 0,this.loader=null,this.uri=null,this.pathwayId=".",this.pathwayPriority=null,this.timeToLoad=300,this.reloadTimer=-1,this.updated=0,this.started=!1,this.enabled=!0,this.levels=null,this.audioTracks=null,this.subtitleTracks=null,this.penalizedPathways={},this.hls=r,this.log=R.log.bind(R,"[content-steering]:"),this.registerListeners()}registerListeners(){const r=this.hls;r.on(l.MANIFEST_LOADING,this.onManifestLoading,this),r.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.on(l.MANIFEST_PARSED,this.onManifestParsed,this),r.on(l.ERROR,this.onError,this)}unregisterListeners(){const r=this.hls;r&&(r.off(l.MANIFEST_LOADING,this.onManifestLoading,this),r.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.off(l.MANIFEST_PARSED,this.onManifestParsed,this),r.off(l.ERROR,this.onError,this))}startLoad(){if(this.started=!0,this.clearTimeout(),this.enabled&&this.uri){if(this.updated){const r=this.timeToLoad*1e3-(performance.now()-this.updated);if(r>0){this.scheduleRefresh(this.uri,r);return}}this.loadSteeringManifest(this.uri)}}stopLoad(){this.started=!1,this.loader&&(this.loader.destroy(),this.loader=null),this.clearTimeout()}clearTimeout(){this.reloadTimer!==-1&&(self.clearTimeout(this.reloadTimer),this.reloadTimer=-1)}destroy(){this.unregisterListeners(),this.stopLoad(),this.hls=null,this.levels=this.audioTracks=this.subtitleTracks=null}removeLevel(r){const a=this.levels;a&&(this.levels=a.filter(_=>_!==r))}onManifestLoading(){this.stopLoad(),this.enabled=!0,this.timeToLoad=300,this.updated=0,this.uri=null,this.pathwayId=".",this.levels=this.audioTracks=this.subtitleTracks=null}onManifestLoaded(r,a){const{contentSteering:_}=a;_!==null&&(this.pathwayId=_.pathwayId,this.uri=_.uri,this.started&&this.startLoad())}onManifestParsed(r,a){this.audioTracks=a.audioTracks,this.subtitleTracks=a.subtitleTracks}onError(r,a){const{errorAction:_}=a;if((_==null?void 0:_.action)===Yn.SendAlternateToPenaltyBox&&_.flags===va.MoveAllAlternatesMatchingHost){const E=this.levels;let I=this.pathwayPriority,N=this.pathwayId;if(a.context){const{groupId:H,pathwayId:oe,type:he}=a.context;H&&E?N=this.getPathwayForGroupId(H,he,N):oe&&(N=oe)}N in this.penalizedPathways||(this.penalizedPathways[N]=performance.now()),!I&&E&&(I=E.reduce((H,oe)=>(H.indexOf(oe.pathwayId)===-1&&H.push(oe.pathwayId),H),[])),I&&I.length>1&&(this.updatePathwayPriority(I),_.resolved=this.pathwayId!==N),_.resolved||R.warn(`Could not resolve ${a.details} ("${a.error.message}") with content-steering for Pathway: ${N} levels: ${E&&E.length} priorities: ${JSON.stringify(I)} penalized: ${JSON.stringify(this.penalizedPathways)}`)}}filterParsedLevels(r){this.levels=r;let a=this.getLevelsForPathway(this.pathwayId);if(a.length===0){const _=r[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${_}"`),a=this.getLevelsForPathway(_),this.pathwayId=_}return a.length!==r.length&&this.log(`Found ${a.length}/${r.length} levels in Pathway "${this.pathwayId}"`),a}getLevelsForPathway(r){return this.levels===null?[]:this.levels.filter(a=>r===a.pathwayId)}updatePathwayPriority(r){this.pathwayPriority=r;let a;const _=this.penalizedPathways,E=performance.now();Object.keys(_).forEach(I=>{E-_[I]>Lu&&delete _[I]});for(let I=0;I0){this.log(`Setting Pathway to "${N}"`),this.pathwayId=N,za(a),this.hls.trigger(l.LEVELS_UPDATED,{levels:a});const he=this.hls.levels[H];oe&&he&&this.levels&&(he.attrs["STABLE-VARIANT-ID"]!==oe.attrs["STABLE-VARIANT-ID"]&&he.bitrate!==oe.bitrate&&this.log(`Unstable Pathways change from bitrate ${oe.bitrate} to ${he.bitrate}`),this.hls.nextLoadLevel=H);break}}}getPathwayForGroupId(r,a,_){const E=this.getLevelsForPathway(_).concat(this.levels||[]);for(let I=0;I{const{ID:N,"BASE-ID":H,"URI-REPLACEMENT":oe}=I;if(a.some(be=>be.pathwayId===N))return;const he=this.getLevelsForPathway(H).map(be=>{const Se=new Z(be.attrs);Se["PATHWAY-ID"]=N;const De=Se.AUDIO&&`${Se.AUDIO}_clone_${N}`,He=Se.SUBTITLES&&`${Se.SUBTITLES}_clone_${N}`;De&&(_[Se.AUDIO]=De,Se.AUDIO=De),He&&(E[Se.SUBTITLES]=He,Se.SUBTITLES=He);const Xe=ec(be.uri,Se["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",oe),lt=new Fa({attrs:Se,audioCodec:be.audioCodec,bitrate:be.bitrate,height:be.height,name:be.name,url:Xe,videoCodec:be.videoCodec,width:be.width});if(be.audioGroups)for(let vt=1;vt{this.log(`Loaded steering manifest: "${E}"`);const Xe=be.data;if(Xe.VERSION!==1){this.log(`Steering VERSION ${Xe.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Xe.TTL;const{"RELOAD-URI":lt,"PATHWAY-CLONES":vt,"PATHWAY-PRIORITY":Qt}=Xe;if(lt)try{this.uri=new self.URL(lt,E).href}catch(Tr){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${lt}`);return}this.scheduleRefresh(this.uri||De.url),vt&&this.clonePathways(vt);const yr={steeringManifest:Xe,url:E.toString()};this.hls.trigger(l.STEERING_MANIFEST_LOADED,yr),Qt&&this.updatePathwayPriority(Qt)},onError:(be,Se,De,He)=>{if(this.log(`Error loading steering manifest: ${be.code} ${be.text} (${Se.url})`),this.stopLoad(),be.code===410){this.enabled=!1,this.log(`Steering manifest ${Se.url} no longer available`);return}let Xe=this.timeToLoad*1e3;if(be.code===429){const lt=this.loader;if(typeof(lt==null?void 0:lt.getResponseHeader)=="function"){const vt=lt.getResponseHeader("Retry-After");vt&&(Xe=parseFloat(vt)*1e3)}this.log(`Steering manifest ${Se.url} rate limited`);return}this.scheduleRefresh(this.uri||Se.url,Xe)},onTimeout:(be,Se,De)=>{this.log(`Timeout loading steering manifest (${Se.url})`),this.scheduleRefresh(this.uri||Se.url)}};this.log(`Requesting steering manifest: ${E}`),this.loader.load(I,oe,he)}scheduleRefresh(r,a=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var _;const E=(_=this.hls)==null?void 0:_.media;if(E&&!E.ended){this.loadSteeringManifest(r);return}this.scheduleRefresh(r,this.timeToLoad*1e3)},a)}}function wl(j,r,a,_){j&&Object.keys(r).forEach(E=>{const I=j.filter(N=>N.groupId===E).map(N=>{const H=i({},N);return H.details=void 0,H.attrs=new Z(H.attrs),H.url=H.attrs.URI=ec(N.url,N.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",a),H.groupId=H.attrs["GROUP-ID"]=r[E],H.attrs["PATHWAY-ID"]=_,H});j.push(...I)})}function ec(j,r,a,_){const{HOST:E,PARAMS:I,[a]:N}=_;let H;r&&(H=N==null?void 0:N[r],H&&(j=H));const oe=new self.URL(j);return E&&!H&&(oe.host=E),I&&Object.keys(I).sort().forEach(he=>{he&&oe.searchParams.set(he,I[he])}),oe.href}const tc=/^age:\s*[\d.]+\s*$/im;class vc{constructor(r){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=r&&r.xhrSetup||null,this.stats=new Q,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const r=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),r&&(r.onreadystatechange=null,r.onprogress=null,r.readyState!==4&&(this.stats.aborted=!0,r.abort()))}abort(){var r;this.abortInternal(),(r=this.callbacks)!=null&&r.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(r,a,_){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=r,this.config=a,this.callbacks=_,this.loadInternal()}loadInternal(){const{config:r,context:a}=this;if(!r||!a)return;const _=this.loader=new self.XMLHttpRequest,E=this.stats;E.loading.first=0,E.loaded=0,E.aborted=!1;const I=this.xhrSetup;I?Promise.resolve().then(()=>{if(!(this.loader!==_||this.stats.aborted))return I(_,a.url)}).catch(N=>{if(!(this.loader!==_||this.stats.aborted))return _.open("GET",a.url,!0),I(_,a.url)}).then(()=>{this.loader!==_||this.stats.aborted||this.openAndSendXhr(_,a,r)}).catch(N=>{this.callbacks.onError({code:_.status,text:N.message},a,_,E)}):this.openAndSendXhr(_,a,r)}openAndSendXhr(r,a,_){r.readyState||r.open("GET",a.url,!0);const E=a.headers,{maxTimeToFirstByteMs:I,maxLoadTimeMs:N}=_.loadPolicy;if(E)for(const H in E)r.setRequestHeader(H,E[H]);a.rangeEnd&&r.setRequestHeader("Range","bytes="+a.rangeStart+"-"+(a.rangeEnd-1)),r.onreadystatechange=this.readystatechange.bind(this),r.onprogress=this.loadprogress.bind(this),r.responseType=a.responseType,self.clearTimeout(this.requestTimeout),_.timeout=I&&y(I)?I:N,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),_.timeout),r.send()}readystatechange(){const{context:r,loader:a,stats:_}=this;if(!r||!a)return;const E=a.readyState,I=this.config;if(!_.aborted&&E>=2&&(_.loading.first===0&&(_.loading.first=Math.max(self.performance.now(),_.loading.start),I.timeout!==I.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),I.timeout=I.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),I.loadPolicy.maxLoadTimeMs-(_.loading.first-_.loading.start)))),E===4)){self.clearTimeout(this.requestTimeout),a.onreadystatechange=null,a.onprogress=null;const N=a.status,H=a.responseType==="text"?a.responseText:null;if(N>=200&&N<300){const Se=H!=null?H:a.response;if(Se!=null){_.loading.end=Math.max(self.performance.now(),_.loading.first);const De=a.responseType==="arraybuffer"?Se.byteLength:Se.length;if(_.loaded=_.total=De,_.bwEstimate=_.total*8e3/(_.loading.end-_.loading.first),!this.callbacks)return;const He=this.callbacks.onProgress;if(He&&He(_,r,Se,a),!this.callbacks)return;const Xe={url:a.responseURL,data:Se,code:N};this.callbacks.onSuccess(Xe,_,r,a);return}}const oe=I.loadPolicy.errorRetry,he=_.retry,be={url:r.url,data:void 0,code:N};fo(oe,he,!1,be)?this.retry(oe):(R.error(`${N} while loading ${r.url}`),this.callbacks.onError({code:N,text:a.statusText},r,a,_))}}loadtimeout(){if(!this.config)return;const r=this.config.loadPolicy.timeoutRetry,a=this.stats.retry;if(fo(r,a,!0))this.retry(r);else{var _;R.warn(`timeout while loading ${(_=this.context)==null?void 0:_.url}`);const E=this.callbacks;E&&(this.abortInternal(),E.onTimeout(this.stats,this.context,this.loader))}}retry(r){const{context:a,stats:_}=this;this.retryDelay=Ks(r,_.retry),_.retry++,R.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${a==null?void 0:a.url}, retrying ${_.retry}/${r.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(r){const a=this.stats;a.loaded=r.loaded,r.lengthComputable&&(a.total=r.total)}getCacheAge(){let r=null;if(this.loader&&tc.test(this.loader.getAllResponseHeaders())){const a=this.loader.getResponseHeader("age");r=a?parseFloat(a):null}return r}getResponseHeader(r){return this.loader&&new RegExp(`^${r}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(r):null}}function A(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(j){}return!1}const P=/(\d+)-(\d+)\/(\d+)/;class D{constructor(r){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=r.fetchSetup||zn,this.controller=new self.AbortController,this.stats=new Q}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var r;this.abortInternal(),(r=this.callbacks)!=null&&r.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(r,a,_){const E=this.stats;if(E.loading.start)throw new Error("Loader can only be used once.");E.loading.start=self.performance.now();const I=pe(r,this.controller.signal),N=_.onProgress,H=r.responseType==="arraybuffer",oe=H?"byteLength":"length",{maxTimeToFirstByteMs:he,maxLoadTimeMs:be}=a.loadPolicy;this.context=r,this.config=a,this.callbacks=_,this.request=this.fetchSetup(r,I),self.clearTimeout(this.requestTimeout),a.timeout=he&&y(he)?he:be,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),_.onTimeout(E,r,this.response)},a.timeout),self.fetch(this.request).then(Se=>{this.response=this.loader=Se;const De=Math.max(self.performance.now(),E.loading.start);if(self.clearTimeout(this.requestTimeout),a.timeout=be,this.requestTimeout=self.setTimeout(()=>{this.abortInternal(),_.onTimeout(E,r,this.response)},be-(De-E.loading.start)),!Se.ok){const{status:He,statusText:Xe}=Se;throw new dn(Xe||"fetch, bad network response",He,Se)}return E.loading.first=De,E.total=an(Se.headers)||E.total,N&&y(a.highWaterMark)?this.loadProgressively(Se,E,r,a.highWaterMark,N):H?Se.arrayBuffer():r.responseType==="json"?Se.json():Se.text()}).then(Se=>{const De=this.response;if(!De)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),E.loading.end=Math.max(self.performance.now(),E.loading.first);const He=Se[oe];He&&(E.loaded=E.total=He);const Xe={url:De.url,data:Se,code:De.status};N&&!y(a.highWaterMark)&&N(E,r,Se,De),_.onSuccess(Xe,E,r,De)}).catch(Se=>{if(self.clearTimeout(this.requestTimeout),E.aborted)return;const De=Se&&Se.code||0,He=Se?Se.message:null;_.onError({code:De,text:He},r,Se?Se.details:null,E)})}getCacheAge(){let r=null;if(this.response){const a=this.response.headers.get("age");r=a?parseFloat(a):null}return r}getResponseHeader(r){return this.response?this.response.headers.get(r):null}loadProgressively(r,a,_,E=0,I){const N=new Bs,H=r.body.getReader(),oe=()=>H.read().then(he=>{if(he.done)return N.dataLength&&I(a,_,N.flush(),r),Promise.resolve(new ArrayBuffer(0));const be=he.value,Se=be.length;return a.loaded+=Se,Se=E&&I(a,_,N.flush(),r)):I(a,_,be,r),oe()}).catch(()=>Promise.reject());return oe()}}function pe(j,r){const a={method:"GET",mode:"cors",credentials:"same-origin",signal:r,headers:new self.Headers(i({},j.headers))};return j.rangeEnd&&a.headers.set("Range","bytes="+j.rangeStart+"-"+String(j.rangeEnd-1)),a}function Oe(j){const r=P.exec(j);if(r)return parseInt(r[2])-parseInt(r[1])+1}function an(j){const r=j.get("Content-Range");if(r){const _=Oe(r);if(y(_))return _}const a=j.get("Content-Length");if(a)return parseInt(a)}function zn(j,r){return new self.Request(j.url,r)}class dn extends Error{constructor(r,a,_){super(r),this.code=void 0,this.details=void 0,this.code=a,this.details=_}}const Mi=/\s/,Qa={newCue(j,r,a,_){const E=[];let I,N,H,oe,he;const be=self.VTTCue||self.TextTrackCue;for(let De=0;De<_.rows.length;De++)if(I=_.rows[De],H=!0,oe=0,he="",!I.isEmpty()){var Se;for(let lt=0;lt=16?oe--:oe++;const He=Wl(he.trim()),Xe=ju(r,a,He);j!=null&&(Se=j.cues)!=null&&Se.getCueById(Xe)||(N=new be(r,a,He),N.id=Xe,N.line=De+1,N.align="left",N.position=10+Math.min(80,Math.floor(oe*8/32)*10),E.push(N))}return j&&E.length&&(E.sort((De,He)=>De.line==="auto"||He.line==="auto"?0:De.line>8&&He.line>8?He.line-De.line:De.line-He.line),E.forEach(De=>Hr(j,De))),E}},Oa={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},To=f(f({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxBufferHole:.1,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:vc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Bo,bufferController:mo,capLevelController:dc,errorController:ts,fpsController:Ql,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:cr,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableID3MetadataCues:!0,useMediaCapabilities:!0,certLoadPolicy:{default:Oa},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},ds()),{},{subtitleStreamController:cs,subtitleTrackController:Hs,timelineController:Ma,audioStreamController:ha,audioTrackController:gs,emeController:nl,cmcdController:mc,contentSteeringController:Nl});function ds(){return{cueHandler:Qa,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function yo(j,r){if((r.liveSyncDurationCount||r.liveMaxLatencyDurationCount)&&(r.liveSyncDuration||r.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(r.liveMaxLatencyDurationCount!==void 0&&(r.liveSyncDurationCount===void 0||r.liveMaxLatencyDurationCount<=r.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(r.liveMaxLatencyDuration!==void 0&&(r.liveSyncDuration===void 0||r.liveMaxLatencyDuration<=r.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const a=ys(j),_=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return _.forEach(I=>{const N=`${I==="level"?"playlist":I}LoadPolicy`,H=r[N]===void 0,oe=[];E.forEach(he=>{const be=`${I}Loading${he}`,Se=r[be];if(Se!==void 0&&H){oe.push(be);const De=a[N].default;switch(r[N]={default:De},he){case"TimeOut":De.maxLoadTimeMs=Se,De.maxTimeToFirstByteMs=Se;break;case"MaxRetry":De.errorRetry.maxNumRetry=Se,De.timeoutRetry.maxNumRetry=Se;break;case"RetryDelay":De.errorRetry.retryDelayMs=Se,De.timeoutRetry.retryDelayMs=Se;break;case"MaxRetryTimeout":De.errorRetry.maxRetryDelayMs=Se,De.timeoutRetry.maxRetryDelayMs=Se;break}}}),oe.length&&R.warn(`hls.js config: "${oe.join('", "')}" setting(s) are deprecated, use "${N}": ${JSON.stringify(r[N])}`)}),f(f({},a),r)}function ys(j){return j&&typeof j=="object"?Array.isArray(j)?j.map(ys):Object.keys(j).reduce((r,a)=>(r[a]=ys(j[a]),r),{}):j}function gc(j){const r=j.loader;r!==D&&r!==vc?(R.log("[config]: Custom loader detected, cannot enable progressive streaming"),j.progressive=!1):A()&&(j.loader=D,j.progressive=!0,j.enableSoftwareAES=!0,R.log("[config]: Progressive streaming enabled, using FetchLoader"))}let $l;class rc extends Ka{constructor(r,a){super(r,"[level-controller]"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=a,this._registerListeners()}_registerListeners(){const{hls:r}=this;r.on(l.MANIFEST_LOADING,this.onManifestLoading,this),r.on(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.on(l.LEVEL_LOADED,this.onLevelLoaded,this),r.on(l.LEVELS_UPDATED,this.onLevelsUpdated,this),r.on(l.FRAG_BUFFERED,this.onFragBuffered,this),r.on(l.ERROR,this.onError,this)}_unregisterListeners(){const{hls:r}=this;r.off(l.MANIFEST_LOADING,this.onManifestLoading,this),r.off(l.MANIFEST_LOADED,this.onManifestLoaded,this),r.off(l.LEVEL_LOADED,this.onLevelLoaded,this),r.off(l.LEVELS_UPDATED,this.onLevelsUpdated,this),r.off(l.FRAG_BUFFERED,this.onFragBuffered,this),r.off(l.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(a=>{a.loadError=0,a.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(r,a){this.resetLevels()}onManifestLoaded(r,a){const _=this.hls.config.preferManagedMediaSource,E=[],I={},N={};let H=!1,oe=!1,he=!1;a.levels.forEach(be=>{var Se,De;const He=be.attrs;let{audioCodec:Xe,videoCodec:lt}=be;((Se=Xe)==null?void 0:Se.indexOf("mp4a.40.34"))!==-1&&($l||($l=/chrome|firefox/i.test(navigator.userAgent)),$l&&(be.audioCodec=Xe=void 0)),Xe&&(be.audioCodec=Xe=wi(Xe,_)),((De=lt)==null?void 0:De.indexOf("avc1"))===0&&(lt=be.videoCodec=Ji(lt));const{width:vt,height:Qt,unknownCodecs:yr}=be;if(H||(H=!!(vt&&Qt)),oe||(oe=!!lt),he||(he=!!Xe),yr!=null&&yr.length||Xe&&!yi(Xe,"audio",_)||lt&&!yi(lt,"video",_))return;const{CODECS:Tr,"FRAME-RATE":Wr,"HDCP-LEVEL":Br,"PATHWAY-ID":Cn,RESOLUTION:un,"VIDEO-RANGE":Hn}=He,En=`${`${Cn||"."}-`}${be.bitrate}-${un}-${Wr}-${Tr}-${Hn}-${Br}`;if(I[En])if(I[En].uri!==be.url&&!be.attrs["PATHWAY-ID"]){const qn=N[En]+=1;be.attrs["PATHWAY-ID"]=new Array(qn+1).join(".");const Ta=new Fa(be);I[En]=Ta,E.push(Ta)}else I[En].addGroupId("audio",He.AUDIO),I[En].addGroupId("text",He.SUBTITLES);else{const qn=new Fa(be);I[En]=qn,N[En]=1,E.push(qn)}}),this.filterAndSortMediaOptions(E,a,H,oe,he)}filterAndSortMediaOptions(r,a,_,E,I){let N=[],H=[],oe=r;if((_||E)&&I&&(oe=oe.filter(({videoCodec:Xe,videoRange:lt,width:vt,height:Qt})=>(!!Xe||!!(vt&&Qt))&&es(lt))),oe.length===0){Promise.resolve().then(()=>{if(this.hls){a.levels.length&&this.warn(`One or more CODECS in variant not supported: ${JSON.stringify(a.levels[0].attrs)}`);const Xe=new Error("no level with compatible codecs found in manifest");this.hls.trigger(l.ERROR,{type:b.MEDIA_ERROR,details:x.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:a.url,error:Xe,reason:Xe.message})}});return}if(a.audioTracks){const{preferManagedMediaSource:Xe}=this.hls.config;N=a.audioTracks.filter(lt=>!lt.audioCodec||yi(lt.audioCodec,"audio",Xe)),nc(N)}a.subtitles&&(H=a.subtitles,nc(H));const he=oe.slice(0);oe.sort((Xe,lt)=>{if(Xe.attrs["HDCP-LEVEL"]!==lt.attrs["HDCP-LEVEL"])return(Xe.attrs["HDCP-LEVEL"]||"")>(lt.attrs["HDCP-LEVEL"]||"")?1:-1;if(_&&Xe.height!==lt.height)return Xe.height-lt.height;if(Xe.frameRate!==lt.frameRate)return Xe.frameRate-lt.frameRate;if(Xe.videoRange!==lt.videoRange)return Ds.indexOf(Xe.videoRange)-Ds.indexOf(lt.videoRange);if(Xe.videoCodec!==lt.videoCodec){const vt=oi(Xe.videoCodec),Qt=oi(lt.videoCodec);if(vt!==Qt)return Qt-vt}if(Xe.uri===lt.uri&&Xe.codecSet!==lt.codecSet){const vt=Wi(Xe.codecSet),Qt=Wi(lt.codecSet);if(vt!==Qt)return Qt-vt}return Xe.averageBitrate!==lt.averageBitrate?Xe.averageBitrate-lt.averageBitrate:0});let be=he[0];if(this.steering&&(oe=this.steering.filterParsedLevels(oe),oe.length!==he.length)){for(let Xe=0;Xevt&&vt===To.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Qt)}break}const De=I&&!E,He={levels:oe,audioTracks:N,subtitleTracks:H,sessionData:a.sessionData,sessionKeys:a.sessionKeys,firstLevel:this._firstLevel,stats:a.stats,audio:I,video:E,altAudio:!De&&N.some(Xe=>!!Xe.url)};this.hls.trigger(l.MANIFEST_PARSED,He),(this.hls.config.autoStartLoad||this.hls.forceStartLoad)&&this.hls.startLoad(this.hls.config.startPosition)}get levels(){return this._levels.length===0?null:this._levels}get level(){return this.currentLevelIndex}set level(r){const a=this._levels;if(a.length===0)return;if(r<0||r>=a.length){const be=new Error("invalid level idx"),Se=r<0;if(this.hls.trigger(l.ERROR,{type:b.OTHER_ERROR,details:x.LEVEL_SWITCH_ERROR,level:r,fatal:Se,error:be,reason:be.message}),Se)return;r=Math.min(r,a.length-1)}const _=this.currentLevelIndex,E=this.currentLevel,I=E?E.attrs["PATHWAY-ID"]:void 0,N=a[r],H=N.attrs["PATHWAY-ID"];if(this.currentLevelIndex=r,this.currentLevel=N,_===r&&N.details&&E&&I===H)return;this.log(`Switching to level ${r} (${N.height?N.height+"p ":""}${N.videoRange?N.videoRange+" ":""}${N.codecSet?N.codecSet+" ":""}@${N.bitrate})${H?" with Pathway "+H:""} from level ${_}${I?" with Pathway "+I:""}`);const oe={level:r,attrs:N.attrs,details:N.details,bitrate:N.bitrate,averageBitrate:N.averageBitrate,maxBitrate:N.maxBitrate,realBitrate:N.realBitrate,width:N.width,height:N.height,codecSet:N.codecSet,audioCodec:N.audioCodec,videoCodec:N.videoCodec,audioGroups:N.audioGroups,subtitleGroups:N.subtitleGroups,loaded:N.loaded,loadError:N.loadError,fragmentError:N.fragmentError,name:N.name,id:N.id,uri:N.uri,url:N.url,urlId:0,audioGroupIds:N.audioGroupIds,textGroupIds:N.textGroupIds};this.hls.trigger(l.LEVEL_SWITCHING,oe);const he=N.details;if(!he||he.live){const be=this.switchParams(N.uri,E==null?void 0:E.details,he);this.loadPlaylist(be)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(r){this.manualLevelIndex=r,this._startLevel===void 0&&(this._startLevel=r),r!==-1&&(this.level=r)}get firstLevel(){return this._firstLevel}set firstLevel(r){this._firstLevel=r}get startLevel(){if(this._startLevel===void 0){const r=this.hls.config.startLevel;return r!==void 0?r:this.hls.firstAutoLevel}return this._startLevel}set startLevel(r){this._startLevel=r}onError(r,a){a.fatal||!a.context||a.context.type===ye.LEVEL&&a.context.level===this.level&&this.checkRetry(a)}onFragBuffered(r,{frag:a}){if(a!==void 0&&a.type===Ye.MAIN){const _=a.elementaryStreams;if(!Object.keys(_).some(I=>!!_[I]))return;const E=this._levels[a.level];E!=null&&E.loadError&&(this.log(`Resetting level error count of ${E.loadError} on frag buffered`),E.loadError=0)}}onLevelLoaded(r,a){var _;const{level:E,details:I}=a,N=this._levels[E];if(!N){var H;this.warn(`Invalid level index ${E}`),(H=a.deliveryDirectives)!=null&&H.skip&&(I.deltaUpdateFailed=!0);return}E===this.currentLevelIndex?(N.fragmentError===0&&(N.loadError=0),this.playlistLoaded(E,a,N.details)):(_=a.deliveryDirectives)!=null&&_.skip&&(I.deltaUpdateFailed=!0)}loadPlaylist(r){super.loadPlaylist();const a=this.currentLevelIndex,_=this.currentLevel;if(_&&this.shouldLoadPlaylist(_)){let E=_.uri;if(r)try{E=r.addDirectives(E)}catch(N){this.warn(`Could not construct new URL with HLS Delivery Directives: ${N}`)}const I=_.attrs["PATHWAY-ID"];this.log(`Loading level index ${a}${(r==null?void 0:r.msn)!==void 0?" at sn "+r.msn+" part "+r.part:""} with${I?" Pathway "+I:""} ${E}`),this.clearTimer(),this.hls.trigger(l.LEVEL_LOADING,{url:E,level:a,pathwayId:_.attrs["PATHWAY-ID"],id:0,deliveryDirectives:r||null})}}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(r){this.level=r,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=r)}removeLevel(r){var a;const _=this._levels.filter((E,I)=>I!==r?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(N=>N.level=-1)),!1));za(_),this._levels=_,this.currentLevelIndex>-1&&(a=this.currentLevel)!=null&&a.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.hls.trigger(l.LEVELS_UPDATED,{levels:_})}onLevelsUpdated(r,{levels:a}){this._levels=a}checkMaxAutoUpdated(){const{autoLevelCapping:r,maxAutoLevel:a,maxHdcpLevel:_}=this.hls;this._maxAutoLevel!==a&&(this._maxAutoLevel=a,this.hls.trigger(l.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:r,levels:this.levels,maxAutoLevel:a,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:_}))}}function nc(j){const r={};j.forEach(a=>{const _=a.groupId||"";a.id=r[_]=r[_]||0,r[_]++})}class fl{constructor(r){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=r}abort(r){for(const _ in this.keyUriToKeyInfo){const E=this.keyUriToKeyInfo[_].loader;if(E){var a;if(r&&r!==((a=E.context)==null?void 0:a.frag.type))return;E.abort()}}}detach(){for(const r in this.keyUriToKeyInfo){const a=this.keyUriToKeyInfo[r];(a.mediaKeySessionContext||a.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[r]}}destroy(){this.detach();for(const r in this.keyUriToKeyInfo){const a=this.keyUriToKeyInfo[r].loader;a&&a.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(r,a=x.KEY_LOAD_ERROR,_,E,I){return new Ni({type:b.NETWORK_ERROR,details:a,fatal:!1,frag:r,response:I,error:_,networkDetails:E})}loadClear(r,a){if(this.emeController&&this.config.emeEnabled){const{sn:_,cc:E}=r;for(let I=0;I{N.setKeyFormat(H)});break}}}}load(r){return!r.decryptdata&&r.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(r).then(a=>this.loadInternal(r,a)):this.loadInternal(r)}loadInternal(r,a){var _,E;a&&r.setKeyFormat(a);const I=r.decryptdata;if(!I){const he=new Error(a?`Expected frag.decryptdata to be defined after setting format ${a}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(r,x.KEY_LOAD_ERROR,he))}const N=I.uri;if(!N)return Promise.reject(this.createKeyLoadError(r,x.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${N}"`)));let H=this.keyUriToKeyInfo[N];if((_=H)!=null&&_.decryptdata.key)return I.key=H.decryptdata.key,Promise.resolve({frag:r,keyInfo:H});if((E=H)!=null&&E.keyLoadPromise){var oe;switch((oe=H.mediaKeySessionContext)==null?void 0:oe.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return H.keyLoadPromise.then(he=>(I.key=he.keyInfo.decryptdata.key,{frag:r,keyInfo:H}))}}switch(H=this.keyUriToKeyInfo[N]={decryptdata:I,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},I.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return I.keyFormat==="identity"?this.loadKeyHTTP(H,r):this.loadKeyEME(H,r);case"AES-128":return this.loadKeyHTTP(H,r);default:return Promise.reject(this.createKeyLoadError(r,x.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${I.method}"`)))}}loadKeyEME(r,a){const _={frag:a,keyInfo:r};if(this.emeController&&this.config.emeEnabled){const E=this.emeController.loadKey(_);if(E)return(r.keyLoadPromise=E.then(I=>(r.mediaKeySessionContext=I,_))).catch(I=>{throw r.keyLoadPromise=null,I})}return Promise.resolve(_)}loadKeyHTTP(r,a){const _=this.config,E=_.loader,I=new E(_);return a.keyLoader=r.loader=I,r.keyLoadPromise=new Promise((N,H)=>{const oe={keyInfo:r,frag:a,responseType:"arraybuffer",url:r.decryptdata.uri},he=_.keyLoadPolicy.default,be={loadPolicy:he,timeout:he.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},Se={onSuccess:(De,He,Xe,lt)=>{const{frag:vt,keyInfo:Qt,url:yr}=Xe;if(!vt.decryptdata||Qt!==this.keyUriToKeyInfo[yr])return H(this.createKeyLoadError(vt,x.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),lt));Qt.decryptdata.key=vt.decryptdata.key=new Uint8Array(De.data),vt.keyLoader=null,Qt.loader=null,N({frag:vt,keyInfo:Qt})},onError:(De,He,Xe,lt)=>{this.resetLoader(He),H(this.createKeyLoadError(a,x.KEY_LOAD_ERROR,new Error(`HTTP Error ${De.code} loading key ${De.text}`),Xe,f({url:oe.url,data:void 0},De)))},onTimeout:(De,He,Xe)=>{this.resetLoader(He),H(this.createKeyLoadError(a,x.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Xe))},onAbort:(De,He,Xe)=>{this.resetLoader(He),H(this.createKeyLoadError(a,x.INTERNAL_ABORTED,new Error("key loading aborted"),Xe))}};I.load(oe,be,Se)})}resetLoader(r){const{frag:a,keyInfo:_,url:E}=r,I=_.loader;a.keyLoader===I&&(a.keyLoader=null,_.loader=null),delete this.keyUriToKeyInfo[E],I&&I.destroy()}}function ki(){return self.SourceBuffer||self.WebKitSourceBuffer}function El(){if(!si())return!1;const r=ki();return!r||r.prototype&&typeof r.prototype.appendBuffer=="function"&&typeof r.prototype.remove=="function"}function ic(){if(!El())return!1;const j=si();return typeof(j==null?void 0:j.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(r=>j.isTypeSupported(la(r,"video")))||["mp4a.40.2","fLaC"].some(r=>j.isTypeSupported(la(r,"audio"))))}function Uo(){var j;const r=ki();return typeof(r==null||(j=r.prototype)==null?void 0:j.changeType)=="function"}const no=250,Wa=2,dl=.1,Sl=.05;class ac{constructor(r,a,_,E){this.config=void 0,this.media=null,this.fragmentTracker=void 0,this.hls=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.config=r,this.media=a,this.fragmentTracker=_,this.hls=E}destroy(){this.media=null,this.hls=this.fragmentTracker=null}poll(r,a){const{config:_,media:E,stalled:I}=this;if(E===null)return;const{currentTime:N,seeking:H}=E,oe=this.seeking&&!H,he=!this.seeking&&H;if(this.seeking=H,N!==r){if(this.moved=!0,H||(this.nudgeRetry=0),I!==null){if(this.stallReported){const vt=self.performance.now()-I;R.warn(`playback not stuck anymore @${N}, after ${Math.round(vt)}ms`),this.stallReported=!1}this.stalled=null}return}if(he||oe){this.stalled=null;return}if(E.paused&&!H||E.ended||E.playbackRate===0||!hr.getBuffered(E).length){this.nudgeRetry=0;return}const be=hr.bufferInfo(E,N,0),Se=be.nextStart||0;if(H){const vt=be.len>Wa,Qt=!Se||a&&a.start<=N||Se-N>Wa&&!this.fragmentTracker.getPartialFragment(N);if(vt||Qt)return;this.moved=!1}if(!this.moved&&this.stalled!==null){var De;if(!(be.len>0)&&!Se)return;const Qt=Math.max(Se,be.start||0)-N,yr=this.hls.levels?this.hls.levels[this.hls.currentLevel]:null,Wr=(yr==null||(De=yr.details)==null?void 0:De.live)?yr.details.targetduration*2:Wa,Br=this.fragmentTracker.getPartialFragment(N);if(Qt>0&&(Qt<=Wr||Br)){E.paused||this._trySkipBufferHole(Br);return}}const He=self.performance.now();if(I===null){this.stalled=He;return}const Xe=He-I;if(!H&&Xe>=no&&(this._reportStall(be),!this.media))return;const lt=hr.bufferInfo(E,N,_.maxBufferHole);this._tryFixBufferStall(lt,Xe)}_tryFixBufferStall(r,a){const{config:_,fragmentTracker:E,media:I}=this;if(I===null)return;const N=I.currentTime,H=E.getPartialFragment(N);H&&(this._trySkipBufferHole(H)||!this.media)||(r.len>_.maxBufferHole||r.nextStart&&r.nextStart-N<_.maxBufferHole)&&a>_.highBufferWatchdogPeriod*1e3&&(R.warn("Trying to nudge playhead over buffer-hole"),this.stalled=null,this._tryNudgeBuffer())}_reportStall(r){const{hls:a,media:_,stallReported:E}=this;if(!E&&_){this.stallReported=!0;const I=new Error(`Playback stalling at @${_.currentTime} due to low buffer (${JSON.stringify(r)})`);R.warn(I.message),a.trigger(l.ERROR,{type:b.MEDIA_ERROR,details:x.BUFFER_STALLED_ERROR,fatal:!1,error:I,buffer:r.len})}}_trySkipBufferHole(r){const{config:a,hls:_,media:E}=this;if(E===null)return 0;const I=E.currentTime,N=hr.bufferInfo(E,I,0),H=I0&&N.len<1&&E.readyState<3,be=H-I;if(be>0&&(oe||he)){if(be>a.maxBufferHole){const{fragmentTracker:De}=this;let He=!1;if(I===0){const Xe=De.getAppendedFrag(0,Ye.MAIN);Xe&&H1?(E=0,this.bitrateTest=!0):E=_.firstAutoLevel),_.nextLoadLevel=E,this.level=_.loadLevel,this.loadedmetadata=!1}a>0&&r===-1&&(this.log(`Override startPosition with lastCurrentTime @${a.toFixed(3)}`),r=a),this.state=pn.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=r,this.tick()}else this._forceStartLoad=!0,this.state=pn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case pn.WAITING_LEVEL:{const{levels:a,level:_}=this,E=a==null?void 0:a[_],I=E==null?void 0:E.details;if(I&&(!I.live||this.levelLastLoaded===E)){if(this.waitForCdnTuneIn(I))break;this.state=pn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=pn.IDLE;break}break}case pn.FRAG_LOADING_WAITING_RETRY:{var r;const a=self.performance.now(),_=this.retryDate;if(!_||a>=_||(r=this.media)!=null&&r.seeking){const{levels:E,level:I}=this,N=E==null?void 0:E[I];this.resetStartWhenNotLoaded(N||null),this.state=pn.IDLE}}break}this.state===pn.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){super.onTickEnd(),this.checkBuffer(),this.checkFragmentChanged()}doTickIdle(){const{hls:r,levelLastLoaded:a,levels:_,media:E}=this;if(a===null||!E&&(this.startFragRequested||!r.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const I=this.buffering?r.nextLoadLevel:r.loadLevel;if(!(_!=null&&_[I]))return;const N=_[I],H=this.getMainFwdBufferInfo();if(H===null)return;const oe=this.getLevelDetails();if(oe&&this._streamEnded(H,oe)){const lt={};this.altAudio&&(lt.type="video"),this.hls.trigger(l.BUFFER_EOS,lt),this.state=pn.ENDED;return}if(!this.buffering)return;r.loadLevel!==I&&r.manualLevel===-1&&this.log(`Adapting to level ${I} from level ${this.level}`),this.level=r.nextLoadLevel=I;const he=N.details;if(!he||this.state===pn.WAITING_LEVEL||he.live&&this.levelLastLoaded!==N){this.level=I,this.state=pn.WAITING_LEVEL;return}const be=H.len,Se=this.getMaxBufferLength(N.maxBitrate);if(be>=Se)return;this.backtrackFragment&&this.backtrackFragment.start>H.end&&(this.backtrackFragment=null);const De=this.backtrackFragment?this.backtrackFragment.start:H.end;let He=this.getNextFragment(De,he);if(this.couldBacktrack&&!this.fragPrevious&&He&&He.sn!=="initSegment"&&this.fragmentTracker.getState(He)!==Zs.OK){var Xe;const vt=((Xe=this.backtrackFragment)!=null?Xe:He).sn-he.startSN,Qt=he.fragments[vt-1];Qt&&He.cc===Qt.cc&&(He=Qt,this.fragmentTracker.removeFragment(Qt))}else this.backtrackFragment&&H.len&&(this.backtrackFragment=null);if(He&&this.isLoopLoading(He,De)){if(!He.gap){const vt=this.audioOnly&&!this.altAudio?Y.AUDIO:Y.VIDEO,Qt=(vt===Y.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Qt&&this.afterBufferFlushed(Qt,vt,Ye.MAIN)}He=this.getNextFragmentLoopLoading(He,he,H,Ye.MAIN,Se)}He&&(He.initSegment&&!He.initSegment.data&&!this.bitrateTest&&(He=He.initSegment),this.loadFragment(He,N,De))}loadFragment(r,a,_){const E=this.fragmentTracker.getState(r);this.fragCurrent=r,E===Zs.NOT_LOADED||E===Zs.PARTIAL?r.sn==="initSegment"?this._loadInitSegment(r,a):this.bitrateTest?(this.log(`Fragment ${r.sn} of level ${r.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(r,a)):(this.startFragRequested=!0,super.loadFragment(r,a,_)):this.clearTrackerIfNeeded(r)}getBufferedFrag(r){return this.fragmentTracker.getBufferedFrag(r,Ye.MAIN)}followingBufferedFrag(r){return r?this.getBufferedFrag(r.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:r,media:a}=this;if(a!=null&&a.readyState){let _;const E=this.getAppendedFrag(a.currentTime);E&&E.start>1&&this.flushMainBuffer(0,E.start-1);const I=this.getLevelDetails();if(I!=null&&I.live){const H=this.getMainFwdBufferInfo();if(!H||H.len{const N=I.audioCodec;N&&(_=_||N.indexOf("mp4a.40.2")!==-1,E=E||N.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=_&&E&&!Uo(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=a.levels,this.startFragRequested=!1}onLevelLoading(r,a){const{levels:_}=this;if(!_||this.state!==pn.IDLE)return;const E=_[a.level];(!E.details||E.details.live&&this.levelLastLoaded!==E||this.waitForCdnTuneIn(E.details))&&(this.state=pn.WAITING_LEVEL)}onLevelLoaded(r,a){var _;const{levels:E}=this,I=a.level,N=a.details,H=N.totalduration;if(!E){this.warn(`Levels were reset while loading level ${I}`);return}this.log(`Level ${I} loaded [${N.startSN},${N.endSN}]${N.lastPartSn?`[part-${N.lastPartSn}-${N.lastPartIndex}]`:""}, cc [${N.startCC}, ${N.endCC}] duration:${H}`);const oe=E[I],he=this.fragCurrent;he&&(this.state===pn.FRAG_LOADING||this.state===pn.FRAG_LOADING_WAITING_RETRY)&&he.level!==a.level&&he.loader&&this.abortCurrentFrag();let be=0;if(N.live||(_=oe.details)!=null&&_.live){var Se;if(this.checkLiveUpdate(N),N.deltaUpdateFailed)return;be=this.alignPlaylists(N,oe.details,(Se=this.levelLastLoaded)==null?void 0:Se.details)}if(oe.details=N,this.levelLastLoaded=oe,this.hls.trigger(l.LEVEL_UPDATED,{details:N,level:I}),this.state===pn.WAITING_LEVEL){if(this.waitForCdnTuneIn(N))return;this.state=pn.IDLE}this.startFragRequested?N.live&&this.synchronizeToLiveEdge(N):this.setStartPosition(N,be),this.tick()}_handleFragmentLoadProgress(r){var a;const{frag:_,part:E,payload:I}=r,{levels:N}=this;if(!N){this.warn(`Levels were reset while fragment load was in progress. Fragment ${_.sn} of level ${_.level} will not be buffered`);return}const H=N[_.level],oe=H.details;if(!oe){this.warn(`Dropping fragment ${_.sn} of level ${_.level} after level details were reset`),this.fragmentTracker.removeFragment(_);return}const he=H.videoCodec,be=oe.PTSKnown||!oe.live,Se=(a=_.initSegment)==null?void 0:a.data,De=this._getAudioCodec(H),He=this.transmuxer=this.transmuxer||new Xn(this.hls,Ye.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Xe=E?E.index:-1,lt=Xe!==-1,vt=new mn(_.level,_.sn,_.stats.chunkCount,I.byteLength,Xe,lt),Qt=this.initPTS[_.cc];He.push(I,Se,De,he,_,E,oe.totalduration,be,vt,Qt)}onAudioTrackSwitching(r,a){const _=this.altAudio;if(!!!a.url){if(this.mediaBuffer!==this.media){this.log("Switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;const N=this.fragCurrent;N&&(this.log("Switching to main audio track, cancel main fragment load"),N.abortRequests(),this.fragmentTracker.removeFragment(N)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();const I=this.hls;_&&(I.trigger(l.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null}),this.fragmentTracker.removeAllFragments()),I.trigger(l.AUDIO_TRACK_SWITCHED,a)}}onAudioTrackSwitched(r,a){const _=a.id,E=!!this.hls.audioTracks[_].url;if(E){const I=this.videoBuffer;I&&this.mediaBuffer!==I&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=I)}this.altAudio=E,this.tick()}onBufferCreated(r,a){const _=a.tracks;let E,I,N=!1;for(const H in _){const oe=_[H];if(oe.id==="main"){if(I=H,E=oe,H==="video"){const he=_[H];he&&(this.videoBuffer=he.buffer)}}else N=!0}N&&E?(this.log(`Alternate track found, use ${I}.buffered to schedule main fragment loading`),this.mediaBuffer=E.buffer):this.mediaBuffer=this.media}onFragBuffered(r,a){const{frag:_,part:E}=a;if(_&&_.type!==Ye.MAIN)return;if(this.fragContextChanged(_)){this.warn(`Fragment ${_.sn}${E?" p: "+E.index:""} of level ${_.level} finished buffering, but was aborted. state: ${this.state}`),this.state===pn.PARSED&&(this.state=pn.IDLE);return}const I=E?E.stats:_.stats;this.fragLastKbps=Math.round(8*I.total/(I.buffering.end-I.loading.first)),_.sn!=="initSegment"&&(this.fragPrevious=_),this.fragBufferedComplete(_,E)}onError(r,a){var _;if(a.fatal){this.state=pn.ERROR;return}switch(a.details){case x.FRAG_GAP:case x.FRAG_PARSING_ERROR:case x.FRAG_DECRYPT_ERROR:case x.FRAG_LOAD_ERROR:case x.FRAG_LOAD_TIMEOUT:case x.KEY_LOAD_ERROR:case x.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(Ye.MAIN,a);break;case x.LEVEL_LOAD_ERROR:case x.LEVEL_LOAD_TIMEOUT:case x.LEVEL_PARSING_ERROR:!a.levelRetry&&this.state===pn.WAITING_LEVEL&&((_=a.context)==null?void 0:_.type)===ye.LEVEL&&(this.state=pn.IDLE);break;case x.BUFFER_APPEND_ERROR:case x.BUFFER_FULL_ERROR:if(!a.parent||a.parent!=="main")return;if(a.details===x.BUFFER_APPEND_ERROR){this.resetLoadingState();return}this.reduceLengthAndFlushBuffer(a)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case x.INTERNAL_EXCEPTION:this.recoverWorkerError(a);break}}checkBuffer(){const{media:r,gapController:a}=this;if(!(!r||!a||!r.readyState)){if(this.loadedmetadata||!hr.getBuffered(r).length){const _=this.state!==pn.IDLE?this.fragCurrent:null;a.poll(this.lastCurrentTime,_)}this.lastCurrentTime=r.currentTime}}onFragLoadEmergencyAborted(){this.state=pn.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tickImmediate()}onBufferFlushed(r,{type:a}){if(a!==Y.AUDIO||this.audioOnly&&!this.altAudio){const _=(a===Y.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;this.afterBufferFlushed(_,a,Ye.MAIN),this.tick()}}onLevelsUpdated(r,a){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level),this.levels=a.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:r}=this;if(!r)return;const a=r.currentTime;let _=this.startPosition;if(_>=0&&a<_){if(r.seeking){this.log(`could not seek to ${_}, already seeking at ${a}`);return}const E=hr.getBuffered(r),N=(E.length?E.start(0):0)-_;N>0&&(N{const{hls:E}=this;if(!_||this.fragContextChanged(r))return;a.fragmentError=0,this.state=pn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const I=r.stats;I.parsing.start=I.parsing.end=I.buffering.start=I.buffering.end=self.performance.now(),E.trigger(l.FRAG_LOADED,_),r.bitrateTest=!1})}_handleTransmuxComplete(r){var a;const _="main",{hls:E}=this,{remuxResult:I,chunkMeta:N}=r,H=this.getCurrentContext(N);if(!H){this.resetWhenMissingContext(N);return}const{frag:oe,part:he,level:be}=H,{video:Se,text:De,id3:He,initSegment:Xe}=I,{details:lt}=be,vt=this.altAudio?void 0:I.audio;if(this.fragContextChanged(oe)){this.fragmentTracker.removeFragment(oe);return}if(this.state=pn.PARSING,Xe){if(Xe!=null&&Xe.tracks){const Tr=oe.initSegment||oe;this._bufferInitSegment(be,Xe.tracks,Tr,N),E.trigger(l.FRAG_PARSING_INIT_SEGMENT,{frag:Tr,id:_,tracks:Xe.tracks})}const Qt=Xe.initPTS,yr=Xe.timescale;y(Qt)&&(this.initPTS[oe.cc]={baseTime:Qt,timescale:yr},E.trigger(l.INIT_PTS_FOUND,{frag:oe,id:_,initPTS:Qt,timescale:yr}))}if(Se&<&&oe.sn!=="initSegment"){const Qt=lt.fragments[oe.sn-1-lt.startSN],yr=oe.sn===lt.startSN,Tr=!Qt||oe.cc>Qt.cc;if(I.independent!==!1){const{startPTS:Wr,endPTS:Br,startDTS:Cn,endDTS:un}=Se;if(he)he.elementaryStreams[Se.type]={startPTS:Wr,endPTS:Br,startDTS:Cn,endDTS:un};else if(Se.firstKeyFrame&&Se.independent&&N.id===1&&!Tr&&(this.couldBacktrack=!0),Se.dropped&&Se.independent){const Hn=this.getMainFwdBufferInfo(),li=(Hn?Hn.end:this.getLoadPosition())+this.config.maxBufferHole,En=Se.firstKeyFramePTS?Se.firstKeyFramePTS:Wr;if(!yr&&liWa&&(oe.gap=!0);oe.setElementaryStreamInfo(Se.type,Wr,Br,Cn,un),this.backtrackFragment&&(this.backtrackFragment=oe),this.bufferFragmentData(Se,oe,he,N,yr||Tr)}else if(yr||Tr)oe.gap=!0;else{this.backtrack(oe);return}}if(vt){const{startPTS:Qt,endPTS:yr,startDTS:Tr,endDTS:Wr}=vt;he&&(he.elementaryStreams[Y.AUDIO]={startPTS:Qt,endPTS:yr,startDTS:Tr,endDTS:Wr}),oe.setElementaryStreamInfo(Y.AUDIO,Qt,yr,Tr,Wr),this.bufferFragmentData(vt,oe,he,N)}if(lt&&He!=null&&(a=He.samples)!=null&&a.length){const Qt={id:_,frag:oe,details:lt,samples:He.samples};E.trigger(l.FRAG_PARSING_METADATA,Qt)}if(lt&&De){const Qt={id:_,frag:oe,details:lt,samples:De.samples};E.trigger(l.FRAG_PARSING_USERDATA,Qt)}}_bufferInitSegment(r,a,_,E){if(this.state!==pn.PARSING)return;this.audioOnly=!!a.audio&&!a.video,this.altAudio&&!this.audioOnly&&delete a.audio;const{audio:I,video:N,audiovideo:H}=a;if(I){let oe=r.audioCodec;const he=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){oe&&(oe.indexOf("mp4a.40.5")!==-1?oe="mp4a.40.2":oe="mp4a.40.5");const be=I.metadata;be&&"channelCount"in be&&(be.channelCount||1)!==1&&he.indexOf("firefox")===-1&&(oe="mp4a.40.5")}oe&&oe.indexOf("mp4a.40.5")!==-1&&he.indexOf("android")!==-1&&I.container!=="audio/mpeg"&&(oe="mp4a.40.2",this.log(`Android: force audio codec to ${oe}`)),r.audioCodec&&r.audioCodec!==oe&&this.log(`Swapping manifest audio codec "${r.audioCodec}" for "${oe}"`),I.levelCodec=oe,I.id="main",this.log(`Init audio buffer, container:${I.container}, codecs[selected/level/parsed]=[${oe||""}/${r.audioCodec||""}/${I.codec}]`)}N&&(N.levelCodec=r.videoCodec,N.id="main",this.log(`Init video buffer, container:${N.container}, codecs[level/parsed]=[${r.videoCodec||""}/${N.codec}]`)),H&&this.log(`Init audiovideo buffer, container:${H.container}, codecs[level/parsed]=[${r.codecs}/${H.codec}]`),this.hls.trigger(l.BUFFER_CODECS,a),Object.keys(a).forEach(oe=>{const be=a[oe].initSegment;be!=null&&be.byteLength&&this.hls.trigger(l.BUFFER_APPENDING,{type:oe,data:be,frag:_,part:null,chunkMeta:E,parent:_.type})}),this.tickImmediate()}getMainFwdBufferInfo(){return this.getFwdBufferInfo(this.mediaBuffer?this.mediaBuffer:this.media,Ye.MAIN)}backtrack(r){this.couldBacktrack=!0,this.backtrackFragment=r,this.resetTransmuxer(),this.flushBufferGap(r),this.fragmentTracker.removeFragment(r),this.fragPrevious=null,this.nextLoadPosition=r.start,this.state=pn.IDLE}checkFragmentChanged(){const r=this.media;let a=null;if(r&&r.readyState>1&&r.seeking===!1){const _=r.currentTime;if(hr.isBuffered(r,_)?a=this.getAppendedFrag(_):hr.isBuffered(r,_+.1)&&(a=this.getAppendedFrag(_+.1)),a){this.backtrackFragment=null;const E=this.fragPlaying,I=a.level;(!E||a.sn!==E.sn||E.level!==I)&&(this.fragPlaying=a,this.hls.trigger(l.FRAG_CHANGED,{frag:a}),(!E||E.level!==I)&&this.hls.trigger(l.LEVEL_SWITCHED,{level:I}))}}}get nextLevel(){const r=this.nextBufferedFrag;return r?r.level:-1}get currentFrag(){const r=this.media;return r?this.fragPlaying||this.getAppendedFrag(r.currentTime):null}get currentProgramDateTime(){const r=this.media;if(r){const a=r.currentTime,_=this.currentFrag;if(_&&y(a)&&y(_.programDateTime)){const E=_.programDateTime+(a-_.start)*1e3;return new Date(E)}}return null}get currentLevel(){const r=this.currentFrag;return r?r.level:-1}get nextBufferedFrag(){const r=this.currentFrag;return r?this.followingBufferedFrag(r):null}get forceStartLoad(){return this._forceStartLoad}}class Xu{static get version(){return"1.5.20"}static isMSESupported(){return El()}static isSupported(){return ic()}static getMediaSource(){return si()}static get Events(){return l}static get ErrorTypes(){return b}static get ErrorDetails(){return x}static get DefaultConfig(){return Xu.defaultConfig?Xu.defaultConfig:To}static set DefaultConfig(r){Xu.defaultConfig=r}constructor(r={}){this.config=void 0,this.userConfig=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this.started=!1,this._emitter=new Zn,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this.url=null,this.triggeringException=void 0,$(r.debug||!1,"Hls instance");const a=this.config=yo(Xu.DefaultConfig,r);this.userConfig=r,a.progressive&&gc(a);const{abrController:_,bufferController:E,capLevelController:I,errorController:N,fpsController:H}=a,oe=new N(this),he=this.abrController=new _(this),be=this.bufferController=new E(this),Se=this.capLevelController=new I(this),De=new H(this),He=new Or(this),Xe=new fa(this),lt=a.contentSteeringController,vt=lt?new lt(this):null,Qt=this.levelController=new rc(this,vt),yr=new Jt(this),Tr=new fl(this.config),Wr=this.streamController=new pl(this,yr,Tr);Se.setStreamController(Wr),De.setStreamController(Wr);const Br=[He,Qt,Wr];vt&&Br.splice(1,0,vt),this.networkControllers=Br;const Cn=[he,be,Se,De,Xe,yr];this.audioTrackController=this.createController(a.audioTrackController,Br);const un=a.audioStreamController;un&&Br.push(new un(this,yr,Tr)),this.subtitleTrackController=this.createController(a.subtitleTrackController,Br);const Hn=a.subtitleStreamController;Hn&&Br.push(new Hn(this,yr,Tr)),this.createController(a.timelineController,Cn),Tr.emeController=this.emeController=this.createController(a.emeController,Cn),this.cmcdController=this.createController(a.cmcdController,Cn),this.latencyController=this.createController(Ls,Cn),this.coreComponents=Cn,Br.push(oe);const li=oe.onErrorOut;typeof li=="function"&&this.on(l.ERROR,li,oe)}createController(r,a){if(r){const _=new r(this);return a&&a.push(_),_}return null}on(r,a,_=this){this._emitter.on(r,a,_)}once(r,a,_=this){this._emitter.once(r,a,_)}removeAllListeners(r){this._emitter.removeAllListeners(r)}off(r,a,_=this,E){this._emitter.off(r,a,_,E)}listeners(r){return this._emitter.listeners(r)}emit(r,a,_){return this._emitter.emit(r,a,_)}trigger(r,a){if(this.config.debug)return this.emit(r,r,a);try{return this.emit(r,r,a)}catch(_){if(R.error("An internal error happened while handling event "+r+'. Error message: "'+_.message+'". Here is a stacktrace:',_),!this.triggeringException){this.triggeringException=!0;const E=r===l.ERROR;this.trigger(l.ERROR,{type:b.OTHER_ERROR,details:x.INTERNAL_EXCEPTION,fatal:E,event:r,error:_}),this.triggeringException=!1}}return!1}listenerCount(r){return this._emitter.listenerCount(r)}destroy(){R.log("destroy"),this.trigger(l.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this.url=null,this.networkControllers.forEach(a=>a.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(a=>a.destroy()),this.coreComponents.length=0;const r=this.config;r.xhrSetup=r.fetchSetup=void 0,this.userConfig=null}attachMedia(r){R.log("attachMedia"),this._media=r,this.trigger(l.MEDIA_ATTACHING,{media:r})}detachMedia(){R.log("detachMedia"),this.trigger(l.MEDIA_DETACHING,void 0),this._media=null}loadSource(r){this.stopLoad();const a=this.media,_=this.url,E=this.url=s.buildAbsoluteURL(self.location.href,r,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,R.log(`loadSource:${E}`),a&&_&&(_!==E||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(a)),this.trigger(l.MANIFEST_LOADING,{url:r})}startLoad(r=-1){R.log(`startLoad(${r})`),this.started=!0,this.resumeBuffering();for(let a=0;a{r.resumeBuffering&&r.resumeBuffering()})}pauseBuffering(){R.log("pause buffering"),this.networkControllers.forEach(r=>{r.pauseBuffering&&r.pauseBuffering()})}swapAudioCodec(){R.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){R.log("recoverMediaError");const r=this._media;this.detachMedia(),r&&this.attachMedia(r)}removeLevel(r){this.levelController.removeLevel(r)}get levels(){const r=this.levelController.levels;return r||[]}get currentLevel(){return this.streamController.currentLevel}set currentLevel(r){R.log(`set currentLevel:${r}`),this.levelController.manualLevel=r,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(r){R.log(`set nextLevel:${r}`),this.levelController.manualLevel=r,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(r){R.log(`set loadLevel:${r}`),this.levelController.manualLevel=r}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(r){this.levelController.nextLoadLevel=r}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(r){R.log(`set firstLevel:${r}`),this.levelController.firstLevel=r}get startLevel(){const r=this.levelController.startLevel;return r===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:r}set startLevel(r){R.log(`set startLevel:${r}`),r!==-1&&(r=Math.max(r,this.minAutoLevel)),this.levelController.startLevel=r}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(r){const a=!!r;a!==this.config.capLevelToPlayerSize&&(a?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=a)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:r}=this.abrController;return r?r.getEstimate():NaN}set bandwidthEstimate(r){this.abrController.resetEstimator(r)}get ttfbEstimate(){const{bwEstimator:r}=this.abrController;return r?r.getEstimateTTFB():NaN}set autoLevelCapping(r){this._autoLevelCapping!==r&&(R.log(`set autoLevelCapping:${r}`),this._autoLevelCapping=r,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(r){Is(r)&&this._maxHdcpLevel!==r&&(this._maxHdcpLevel=r,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:r,config:{minAutoBitrate:a}}=this;if(!r)return 0;const _=r.length;for(let E=0;E<_;E++)if(r[E].maxBitrate>=a)return E;return 0}get maxAutoLevel(){const{levels:r,autoLevelCapping:a,maxHdcpLevel:_}=this;let E;if(a===-1&&r!=null&&r.length?E=r.length-1:E=a,_)for(let I=E;I--;){const N=r[I].attrs["HDCP-LEVEL"];if(N&&N<=_)return I}return E}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(r){this.abrController.nextAutoLevel=r}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}setAudioOption(r){var a;return(a=this.audioTrackController)==null?void 0:a.setAudioOption(r)}setSubtitleOption(r){var a;return(a=this.subtitleTrackController)==null||a.setSubtitleOption(r),null}get allAudioTracks(){const r=this.audioTrackController;return r?r.allAudioTracks:[]}get audioTracks(){const r=this.audioTrackController;return r?r.audioTracks:[]}get audioTrack(){const r=this.audioTrackController;return r?r.audioTrack:-1}set audioTrack(r){const a=this.audioTrackController;a&&(a.audioTrack=r)}get allSubtitleTracks(){const r=this.subtitleTrackController;return r?r.allSubtitleTracks:[]}get subtitleTracks(){const r=this.subtitleTrackController;return r?r.subtitleTracks:[]}get subtitleTrack(){const r=this.subtitleTrackController;return r?r.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(r){const a=this.subtitleTrackController;a&&(a.subtitleTrack=r)}get subtitleDisplay(){const r=this.subtitleTrackController;return r?r.subtitleDisplay:!1}set subtitleDisplay(r){const a=this.subtitleTrackController;a&&(a.subtitleDisplay=r)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(r){this.config.lowLatencyMode=r}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}}Xu.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return n}});function t(s,u,f){var c=f||{},h=c.noTrailing,o=h===void 0?!1:h,i=c.noLeading,y=i===void 0?!1:i,p=c.debounceMode,g=p===void 0?void 0:p,l,b=!1,x=0;function O(){l&&clearTimeout(l)}function k(T){var F=T||{},$=F.upcomingOnly,R=$===void 0?!1:$;O(),b=!R}function C(){for(var T=arguments.length,F=new Array(T),$=0;$s?y?(x=Date.now(),o||(l=setTimeout(g?Z:W,s))):W():o!==!0&&(l=setTimeout(g?Z:W,g===void 0?s-K:s))}return C.cancel=k,C}function n(s,u,f){var c=f||{},h=c.atBegin,o=h===void 0?!1:h;return t(s,u,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var v=__webpack_module_cache__[d];if(v!==void 0)return v.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var v=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(v,{a:v}),v}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},v;__webpack_require__.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var n=Object.create(null);__webpack_require__.r(n);var s={};v=v||[null,d({}),d([]),d(d)];for(var u=t&2&&e;typeof u=="object"&&!~v.indexOf(u);u=d(u))Object.getOwnPropertyNames(u).forEach(function(f){s[f]=function(){return e[f]}});return s.default=function(){return e},__webpack_require__.d(n,s),n}}(),function(){__webpack_require__.d=function(d,v){for(var e in v)__webpack_require__.o(v,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:v[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(v,e){return __webpack_require__.f[e](d,v),v},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"b5a17d10",67:"ea46e6ea",109:"9d565bc0",195:"1eadc809",264:"3af2cf29",265:"ad000f98",278:"ba836481",292:"4d9ea351",310:"94f1e69d",316:"1f60ada6",337:"ef2e3ac9",342:"a7e4a7cd",354:"d4d139cf",479:"10c7f490",485:"0046425c",508:"e3325df6",532:"28e49e5d",533:"0a3132ea",547:"3b89fa9b",556:"950a3b16",559:"7bbdb725",570:"b3bae61b",576:"a5bc115d",629:"44a1d9a5",643:"2c8dbf74",671:"4a609b8d",672:"7e437e38",680:"e3f7edd0",700:"2d5147fd",737:"53351035",741:"ac5fd360",799:"23e3ff92",869:"a0344305",895:"63f4bbde",921:"807511d5",928:"832b16fc",981:"24da50c7",1006:"077b65bc",1043:"64ee5d18",1045:"6de7e8c7",1048:"a13a8d6e",1070:"67f5eb80",1144:"c90eccaf",1148:"a9b70fe2",1154:"8cb80842",1211:"cae7c9a5",1253:"7adb9c26",1257:"dd97250d",1265:"5e2df554",1274:"5f6ea65a",1276:"1232c571",1343:"3a993a6b",1416:"b070a9ed",1423:"66f74898",1427:"4bc6835b",1450:"e81d1acb",1461:"50dcc517",1462:"fcf08abc",1470:"e54dfc41",1475:"1d005f8d",1482:"6e27147c",1512:"7922e899",1520:"cc619401",1545:"685c5411",1578:"6672d6ee",1581:"e7a1c12e",1582:"d483151f",1646:"e6e27b60",1657:"c4475161",1660:"8e9561a4",1674:"040ff4e3",1702:"1605628e",1713:"2281460e",1717:"a99520d0",1727:"ba3cd77e",1783:"a259e9f1",1799:"eda241f5",1831:"6b745336",1836:"063f3647",1855:"18c35631",1880:"43924c52",1939:"19d62b4a",1953:"3f68079b",1962:"c4475293",2011:"59d51f98",2045:"206aa7e1",2076:"9607bafd",2102:"a8ff458e",2141:"8bdd4029",2216:"cb38c9fa",2240:"9859c090",2249:"f4830452",2254:"848bab85",2300:"e1bf89cf",2303:"c95e7816",2307:"2b8921b5",2338:"b9b31201",2339:"eadf7103",2386:"192e235c",2396:"f5000627",2404:"497ea8f2",2412:"e3f8a789",2413:"2e4f93bb",2425:"f48074cb",2443:"77556fe9",2476:"6b302d57",2494:"68080a87",2501:"4759a841",2509:"146a5b3d",2529:"4a409128",2538:"de4a3723",2539:"8048e0c4",2548:"a8fbf09d",2570:"3a37fc16",2594:"e87d3761",2603:"9e3851b5",2654:"83ef3f60",2659:"c0671c95",2707:"81da7675",2806:"faf3e94c",2819:"d339257a",2823:"63e9cf90",2826:"eafecf5b",2829:"7e6ac366",2837:"54a82605",2865:"3cc4e882",2875:"e7a44d6c",2884:"ecc081d4",2969:"ab3357d7",2983:"99299b38",3006:"e84475fa",3133:"9bf3f89c",3141:"22e073f2",3157:"545de38f",3183:"597e724b",3198:"8e655451",3212:"336f1e25",3220:"82e90907",3247:"16b7c9a1",3260:"9718ee8c",3267:"7bab569a",3276:"1f646d97",3282:"1d6bfa2f",3317:"59a8752e",3332:"53636357",3339:"c666ab4f",3355:"5634858e",3356:"8c28c5d4",3391:"0bf3d035",3433:"1af2f5ee",3442:"17ca7c00",3447:"fba71bdd",3451:"0f9176cd",3496:"80ba5591",3509:"82fdab66",3550:"3dc83156",3581:"b28198fa",3585:"bad15ef1",3665:"cff4902a",3668:"34f5ad7a",3697:"481a10d9",3747:"b13c2e45",3777:"d5b0f2f1",3784:"8403b84f",3805:"9dbcb95e",3862:"41064403",3873:"fc810aa4",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"a11291fe",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"d78eed38",4056:"5b5b4e38",4058:"4b8bcbfb",4078:"2c831272",4088:"236723f3",4093:"b4efd28a",4105:"571a2bf8",4144:"a9c23711",4164:"6cd6b107",4184:"ff08337d",4216:"dd9bd0b7",4217:"244dfc8a",4227:"3ddc78f0",4259:"69ea90fe",4264:"1a6a710f",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"7078f96a",4492:"9a163485",4496:"a4a27799",4498:"7415e591",4504:"9a3d395a",4514:"87d8352b",4520:"80421107",4546:"7c79664f",4565:"34ca03e6",4572:"59656db9",4599:"61def4cb",4601:"c2a44459",4610:"c3976d23",4621:"9528062b",4628:"ece2c60c",4662:"68b91324",4685:"c33f1528",4715:"64ac438f",4736:"4f169ace",4741:"2a05567c",4757:"a112876d",4766:"d267690e",4770:"76950dda",4790:"619413e4",4795:"57ce3ca1",4797:"a24e92db",4800:"072a616e",4849:"c1796515",4850:"1edda4b7",4862:"10a6d769",4884:"863451bb",4889:"b2c3e5be",4928:"e1d392ed",4973:"193eb6ba",4994:"6dd9edb9",5022:"ff6e8d51",5043:"765d6904",5048:"e6fe6603",5060:"85dafcc6",5096:"f2447cf1",5111:"94bf3a92",5125:"f483edee",5148:"5b60dcab",5176:"040e7794",5179:"c72b341f",5186:"bb0a0442",5191:"2b64c23d",5238:"6970f2c8",5290:"5dabcdc2",5297:"1f5f15ee",5319:"c699f6ed",5321:"1163c84e",5335:"e64eea05",5354:"7ae70604",5357:"2e12b907",5359:"4c1d2332",5382:"3b2083ba",5402:"8b4da2a1",5416:"454536b7",5434:"38b302a6",5470:"1c150c7a",5494:"d89549c4",5518:"5a2695b9",5549:"86715a72",5572:"7325a62c",5573:"e15af26d",5599:"c962248c",5624:"9d38edb9",5631:"e00d3d36",5650:"683857d1",5679:"4a090bef",5705:"41d2c5f1",5729:"6aad4118",5764:"e0d7e586",5775:"0c3fc6c1",5786:"ae92d5f7",5798:"28fba1b3",5816:"ff5ba054",5825:"a3ade6d5",5876:"5eded409",5886:"490e40cd",5888:"4cb11448",5891:"a0aefd97",5895:"b1bcb484",5902:"5ce89da2",5915:"7a2565ce",5972:"99aa2344",5992:"e3be5df2",6029:"44a62a4e",6034:"5a6d4649",6045:"d268f87f",6047:"3ce45acd",6052:"307d10f4",6063:"129963dd",6069:"87bf5c48",6126:"99519171",6127:"5698febb",6170:"07f25c2b",6265:"b115c1cb",6270:"7e812263",6277:"5289ce91",6328:"302a185c",6366:"9a59e638",6378:"7f3a946a",6411:"7d1994e3",6434:"77e1023b",6444:"d4109938",6452:"01304c5e",6531:"eac0ffe2",6541:"4545bb2e",6583:"92adcf5c",6587:"b4e96f68",6634:"40417f79",6651:"1a8b2885",6675:"08742a1e",6685:"0c97bd35",6729:"166fc1ae",6741:"af4c39f0",6758:"4b372a1e",6774:"59d4d618",6784:"e6c50689",6788:"719255ca",6796:"bba1c1dd",6805:"cbdf3925",6820:"0e15c00a",6845:"fc1b10a2",6882:"de865a13",6883:"6cb80143",6904:"9b2c9214",6913:"523a5d7d",6949:"b3a692b0",6963:"e09e8258",6982:"19375bde",7008:"42b920cf",7043:"e0d53fa0",7045:"64b0720d",7046:"1821c5d5",7058:"3fcd9c63",7062:"8124951a",7084:"46ccce72",7156:"e7466006",7178:"692f39fb",7180:"e964a7e9",7182:"ca61617c",7242:"4477a513",7260:"f37551de",7331:"2e27a23b",7333:"073fbf91",7365:"1005464f",7395:"b90269f4",7460:"b1d30a2a",7477:"630d7da8",7482:"989633fa",7527:"95506ceb",7545:"38ef4a46",7560:"00698094",7589:"862793c5",7591:"c8233ce9",7614:"dd2d53f8",7622:"c1ad6687",7631:"dee68dc0",7686:"4fcec9f9",7706:"c2a79e40",7806:"32f83b09",7852:"8a085842",7855:"f8f10465",7857:"c83de972",7878:"6a5dcb1c",7884:"4a1aab46",7922:"33733242",7948:"2576064d",7964:"29aed9a1",8014:"3f2636ea",8062:"3b4d85a2",8072:"69418f3e",8077:"db2a8b03",8085:"06477415",8089:"d536b13a",8143:"22d5b2a0",8155:"bec7d019",8161:"83c5fa9a",8237:"03cb30ed",8241:"a02be93c",8302:"18a803c9",8307:"5c21e9ef",8340:"47b8eb29",8350:"07df8a75",8365:"67a5f363",8398:"80cdb0c5",8431:"3ada71fb",8435:"86df2ec7",8447:"5322ed91",8517:"7b9469f2",8561:"333e8ec9",8563:"a2609cbc",8600:"b7a54cc4",8634:"c402daae",8639:"68809bd0",8665:"71ca82e5",8688:"4867e56d",8689:"28f5d6e8",8723:"c1138277",8737:"ce7dad23",8776:"0ad26240",8782:"b057cd50",8787:"2003b7ea",8797:"6e3ec344",8823:"9eecf90f",8827:"543bf06b",8842:"9f25a3e2",8866:"ef839c9e",8882:"d5bd5d9a",8885:"1a00e1e5",8898:"d002bcd8",8909:"6cabf3a9",8920:"7f82440c",8963:"790aecdd",8982:"1d6777d8",8999:"b23663ba",9076:"e0aaaea3",9104:"bbcb2345",9133:"691c93ef",9205:"aa105956",9215:"50c5a03e",9252:"0d791a59",9260:"cf5f8140",9332:"710dda6f",9360:"9b3c1ca7",9366:"76adbf40",9391:"a62d9180",9404:"9fcc3d3e",9408:"f817a9bf",9416:"cf2d0ef9",9487:"bbefb860",9489:"cafcb89c",9507:"87d375de",9519:"6896493a",9554:"ed358e7b",9559:"f794af19",9590:"6713b07d",9647:"873cf3e0",9649:"657f7441",9674:"2baac237",9677:"b14a32f6",9695:"c3d53222",9715:"3368f788",9716:"a2f27af9",9785:"9d709aeb",9788:"70271441",9890:"69ebde56",9891:"2198fdc3",9895:"b8e31ff2",9921:"7aadcb2f",9922:"56f91dbf",9928:"5989f5e0",9944:"c9fa0099",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"4c1ff0fa",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3267:"03cdfb68",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"99f7daed",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,v){return Object.prototype.hasOwnProperty.call(d,v)}}(),function(){var d={};__webpack_require__.l=function(v,e,t,n){if(d[v]){d[v].push(e);return}var s,u;if(t!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c0&&arguments[0]!==void 0?arguments[0]:"";return De.endsWith("/")?De:"".concat(De,"/")}var kl=__webpack_require__(38127),ul=__webpack_require__(38329),Hu=__webpack_require__(8616),Ru=["content"],Su=["content"],_c=/^(http:|https:)?\/\//;function Rl(De){return _c.test(De)||De.startsWith("/")&&!De.startsWith("/*")||De.startsWith("./")||De.startsWith("../")}var pu=function(){return je.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},Yu=function(He){var Xe,lt=He.loaderData,vt=He.htmlPageOpts,Qt=He.manifest,yr=(Qt==null||(Xe=Qt.assets)===null||Xe===void 0?void 0:Xe["umi.css"])||"";return je.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(lt||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(vt||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(yr,"'")}})};function Cu(De){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof De=="string")return Rl(De)?(0,jo.Z)({src:De},He):{content:De};if((0,Hu.Z)(De)==="object")return(0,jo.Z)((0,jo.Z)({},De),He);throw new Error("Invalid script type: ".concat((0,Hu.Z)(De)))}function Bc(De){return Rl(De)?{type:"link",href:De}:{type:"style",content:De}}var Tc=function(He){var Xe,lt,vt,Qt,yr,Tr,Wr=He.htmlPageOpts;return je.createElement(je.Fragment,null,(Wr==null?void 0:Wr.title)&&je.createElement("title",null,Wr.title),Wr==null||(Xe=Wr.favicons)===null||Xe===void 0?void 0:Xe.map(function(Br,Cn){return je.createElement("link",{key:Cn,rel:"shortcut icon",href:Br})}),(Wr==null?void 0:Wr.description)&&je.createElement("meta",{name:"description",content:Wr.description}),(Wr==null||(lt=Wr.keywords)===null||lt===void 0?void 0:lt.length)&&je.createElement("meta",{name:"keywords",content:Wr.keywords.join(",")}),Wr==null||(vt=Wr.metas)===null||vt===void 0?void 0:vt.map(function(Br){return je.createElement("meta",{key:Br.name,name:Br.name,content:Br.content})}),Wr==null||(Qt=Wr.links)===null||Qt===void 0?void 0:Qt.map(function(Br,Cn){return je.createElement("link",(0,ul.Z)({key:Cn},Br))}),Wr==null||(yr=Wr.styles)===null||yr===void 0?void 0:yr.map(function(Br,Cn){var un=Bc(Br),Hn=un.type,li=un.href,En=un.content;if(Hn==="link")return je.createElement("link",{key:Cn,rel:"stylesheet",href:li});if(Hn==="style")return je.createElement("style",{key:Cn},En)}),Wr==null||(Tr=Wr.headScripts)===null||Tr===void 0?void 0:Tr.map(function(Br,Cn){var un=Cu(Br),Hn=un.content,li=(0,kl.Z)(un,Ru);return je.createElement("script",(0,ul.Z)({dangerouslySetInnerHTML:{__html:Hn},key:Cn},li))}))};function Ao(De){var He,Xe=De.children,lt=De.loaderData,vt=De.manifest,Qt=De.htmlPageOpts,yr=De.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Tr=De.mountElementId;if(yr!=null&&yr.pureHtml)return je.createElement("html",null,je.createElement("head",null),je.createElement("body",null,je.createElement(pu,null),je.createElement("div",{id:Tr},Xe),je.createElement(Yu,{manifest:vt,loaderData:lt,htmlPageOpts:Qt})));if(yr!=null&&yr.pureApp)return je.createElement(je.Fragment,null,Xe);var Wr=typeof window=="undefined"?vt==null?void 0:vt.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return je.createElement("html",{suppressHydrationWarning:!0,lang:(Qt==null?void 0:Qt.lang)||"en"},je.createElement("head",null,je.createElement("meta",{charSet:"utf-8"}),je.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Wr&&je.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Wr}),je.createElement(Tc,{htmlPageOpts:Qt})),je.createElement("body",null,je.createElement(pu,null),je.createElement("div",{id:Tr},Xe),je.createElement(Yu,{manifest:vt,loaderData:lt,htmlPageOpts:Qt}),Qt==null||(He=Qt.scripts)===null||He===void 0?void 0:He.map(function(Br,Cn){var un=Cu(Br),Hn=un.content,li=(0,kl.Z)(un,Su);return je.createElement("script",(0,ul.Z)({dangerouslySetInnerHTML:{__html:Hn},key:Cn},li))})))}var ll=je.createContext(void 0);function bl(){return je.useContext(ll)}var Ll=["redirect"];function Ml(De){var He=De.routesById,Xe=De.parentId,lt=De.routeComponents,vt=De.useStream,Qt=vt===void 0?!0:vt;return Object.keys(He).filter(function(yr){return He[yr].parentId===Xe}).map(function(yr){var Tr=Fl((0,jo.Z)((0,jo.Z)({route:He[yr],routeComponent:lt[yr],loadingComponent:De.loadingComponent,reactRouter5Compat:De.reactRouter5Compat},De.reactRouter5Compat&&{hasChildren:Object.keys(He).filter(function(Br){return He[Br].parentId===yr}).length>0}),{},{useStream:Qt})),Wr=Ml({routesById:He,routeComponents:lt,parentId:Tr.id,loadingComponent:De.loadingComponent,reactRouter5Compat:De.reactRouter5Compat,useStream:Qt});return Wr.length>0&&(Tr.children=Wr,Tr.routes=Wr),Tr})}function xl(De){var He=(0,uu.UO)(),Xe=(0,uu.Gn)(De.to,He),lt=(0,Ol.T$)(),vt=(0,uu.TH)();if(lt!=null&<.keepQuery){var Qt=vt.search+vt.hash;Xe+=Qt}var yr=(0,jo.Z)((0,jo.Z)({},De),{},{to:Xe});return je.createElement(uu.Fg,(0,ul.Z)({replace:!0},yr))}function Fl(De){var He=De.route,Xe=De.useStream,lt=Xe===void 0?!0:Xe,vt=He.redirect,Qt=(0,kl.Z)(He,Ll),yr=De.reactRouter5Compat?ql:Bl;return(0,jo.Z)({element:vt?je.createElement(xl,{to:vt}):je.createElement(ll.Provider,{value:{route:De.route}},je.createElement(yr,{loader:je.memo(De.routeComponent),loadingComponent:De.loadingComponent||Oc,hasChildren:De.hasChildren,useStream:lt}))},Qt)}function Oc(){return je.createElement("div",null)}function ql(De){var He=bl(),Xe=He.route,lt=(0,Ol.Ov)(),vt=lt.history,Qt=lt.clientRoutes,yr=(0,uu.UO)(),Tr={params:yr,isExact:!0,path:Xe.path,url:vt.location.pathname},Wr=De.loader,Br={location:vt.location,match:Tr,history:vt,params:yr,route:Xe,routes:Qt};return De.useStream?je.createElement(je.Suspense,{fallback:je.createElement(De.loadingComponent,null)},je.createElement(Wr,Br,De.hasChildren&&je.createElement(uu.j3,null))):je.createElement(Wr,Br,De.hasChildren&&je.createElement(uu.j3,null))}function Bl(De){var He=De.loader;return De.useStream?je.createElement(je.Suspense,{fallback:je.createElement(De.loadingComponent,null)},je.createElement(He,null)):je.createElement(He,null)}var cl=null;function Pc(){return cl}function mc(De){var He=De.history,Xe=je.useState({action:He.action,location:He.location}),lt=(0,ol.Z)(Xe,2),vt=lt[0],Qt=lt[1];return(0,je.useLayoutEffect)(function(){return He.listen(Qt)},[He]),(0,je.useLayoutEffect)(function(){function yr(Tr){De.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:De.routes,clientRoutes:De.clientRoutes,location:Tr.location,action:Tr.action,basename:De.basename,isFirst:!!Tr.isFirst}})}return yr({location:vt.location,action:vt.action,isFirst:!0}),He.listen(yr)},[He,De.routes,De.clientRoutes]),je.createElement(uu.F0,{navigator:He,location:vt.location,basename:De.basename},De.children)}function Lu(){var De=(0,Ol.Ov)(),He=De.clientRoutes;return(0,uu.V$)(He)}var Nl=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],wl=function(He,Xe){var lt=He.basename||"/",vt=Ml({routesById:He.routes,routeComponents:He.routeComponents,loadingComponent:He.loadingComponent,reactRouter5Compat:He.reactRouter5Compat,useStream:He.useStream});He.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:vt}});for(var Qt=je.createElement(mc,{basename:lt,pluginManager:He.pluginManager,routes:He.routes,clientRoutes:vt,history:He.history},Xe),yr=0,Tr=Nl;yrnew Promise((lt,vt)=>{var Qt=Wr=>{try{Tr(Xe.next(Wr))}catch(Br){vt(Br)}},yr=Wr=>{try{Tr(Xe.throw(Wr))}catch(Br){vt(Br)}},Tr=Wr=>Wr.done?lt(Wr.value):Promise.resolve(Wr.value).then(Qt,yr);Tr((Xe=Xe.apply(De,He)).next())});function vc(){return tc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/onlinenum",parentId:"1",id:"431"},432:{path:"/onlinenum",parentId:"431",id:"432"},433:{path:"/shixuncontext",parentId:"1",id:"433"},434:{path:"/shixuncontext",parentId:"433",id:"434"},435:{path:"/shixuncontext/:Id/detail",parentId:"433",id:"435"},436:{path:"/educoder-demo",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/quality",parentId:"1",id:"440"},441:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"440",id:"441"},442:{path:"/otherlogin",exact:!0,parentId:"1",id:"442"},443:{path:"/otherloginqq",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginstart",exact:!0,parentId:"1",id:"444"},445:{path:"/pathsoverview",exact:!0,parentId:"1",id:"445"},446:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/login",parentId:"1",id:"448"},449:{path:"/login",parentId:"448",id:"449"},450:{path:"/user",parentId:"1",id:"450"},451:{path:"/user/login",parentId:"450",id:"451"},452:{path:"/user/register",parentId:"450",id:"452"},453:{path:"/user/reset-password",parentId:"450",id:"453"},454:{path:"/colleges",parentId:"1",id:"454"},455:{path:"/colleges/:id/statistics",parentId:"454",id:"455"},456:{path:"/help",parentId:"1",id:"456"},457:{path:"/help/:id",parentId:"456",id:"457"},458:{path:"/video",parentId:"1",id:"458"},459:{path:"/video/:videoId",parentId:"458",id:"459"},460:{path:"/terminal",parentId:"1",id:"460"},461:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"461"},462:{path:"/",parentId:"1",id:"462"},463:{path:"/",exact:!0,parentId:"462",id:"463"},464:{path:"/api/*",exact:!0,parentId:"462",id:"464"},465:{path:"/search",exact:!0,parentId:"462",id:"465"},466:{path:"/moop_cases",exact:!0,parentId:"462",id:"466"},467:{path:"/moop_cases/new",exact:!0,parentId:"462",id:"467"},468:{path:"/moop_cases/:caseId",exact:!0,parentId:"462",id:"468"},469:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"462",id:"469"},470:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"462",id:"470"},471:{path:"/randompaper",exact:!0,parentId:"462",id:"471"},472:{path:"/randompaper/edit/:id",exact:!0,parentId:"462",id:"472"},473:{path:"/randompaper/detail/:id",exact:!0,parentId:"462",id:"473"},474:{path:"/403",parentId:"462",id:"474"},475:{path:"/500",parentId:"462",id:"475"},476:{path:"/404",parentId:"462",id:"476"},477:{path:"/download",parentId:"462",id:"477"},478:{path:"/iwce",parentId:"462",id:"478"},479:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"462",id:"479"},480:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"462",id:"480"},481:{path:"/Activities",parentId:"462",id:"481"},482:{path:"/iwce/:itemname",parentId:"462",id:"482"},483:{path:"/hpc-course",parentId:"462",id:"483"},484:{path:"/user_agents",parentId:"462",id:"484"},485:{path:"/three",parentId:"462",id:"485"},486:{path:"/introduction",parentId:"462",id:"486"},487:{path:"/chatgpt",parentId:"462",id:"487"},488:{path:"/*",parentId:"462",id:"488"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:je.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),3:je.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),4:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:je.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,66415))),7:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),10:je.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16568))),11:je.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),20:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:je.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),22:je.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:je.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:je.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:je.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,9920))),32:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),33:je.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),37:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),38:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:je.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,42562))),43:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:je.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:je.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),53:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),54:je.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,69884))),55:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:je.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:je.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:je.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:je.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:je.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:je.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:je.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:je.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:je.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:je.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:je.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:je.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),101:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:je.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:je.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:je.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:je.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:je.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:je.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:je.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:je.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:je.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:je.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:je.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,24401))),135:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:je.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),141:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),142:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:je.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:je.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44739))),152:je.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),153:je.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),154:je.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),155:je.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),156:je.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),157:je.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),158:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),159:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),160:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),161:je.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),162:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),163:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),164:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),165:je.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),166:je.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),167:je.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),168:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),169:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),170:je.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),171:je.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),172:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),173:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),174:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),175:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),176:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),177:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),178:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),179:je.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,71806))),180:je.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),181:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),182:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),183:je.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),184:je.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),185:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),186:je.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),187:je.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),188:je.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),189:je.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),190:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),191:je.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),192:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),193:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),194:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),195:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),196:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),197:je.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),198:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),199:je.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),200:je.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),201:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),202:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),203:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),204:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),205:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),206:je.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),207:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),208:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),209:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),210:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),211:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),213:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),215:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),217:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),218:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),219:je.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),220:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),221:je.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),222:je.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),223:je.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),224:je.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),225:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),226:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),228:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),229:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),230:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),231:je.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,85597))),232:je.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,8735))),233:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),234:je.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),235:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),236:je.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),237:je.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),238:je.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),239:je.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,39674))),240:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),241:je.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),242:je.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),243:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),244:je.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),245:je.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),246:je.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),247:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),248:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),249:je.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),250:je.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),251:je.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,56890))),252:je.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,18131))),253:je.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),254:je.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),255:je.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),256:je.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,80643))),257:je.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),258:je.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),259:je.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),260:je.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),261:je.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),262:je.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),263:je.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),264:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),265:je.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),266:je.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),267:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),268:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),269:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),270:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),271:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),272:je.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),273:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),274:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),275:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),276:je.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),277:je.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),278:je.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),279:je.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),280:je.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),281:je.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),282:je.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),283:je.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),284:je.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),285:je.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),286:je.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),287:je.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),288:je.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),289:je.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),290:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),291:je.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),292:je.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),293:je.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),294:je.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),295:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),296:je.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),297:je.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),298:je.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),299:je.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),300:je.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),301:je.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),302:je.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),303:je.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),304:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),305:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),306:je.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),307:je.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),308:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),309:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),311:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),312:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),313:je.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),314:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),315:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),316:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),317:je.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),318:je.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),319:je.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),320:je.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),321:je.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),322:je.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),323:je.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),324:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),325:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),326:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),327:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),328:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),329:je.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),330:je.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),331:je.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),332:je.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),333:je.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),334:je.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),335:je.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),336:je.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),337:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),338:je.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,5233))),339:je.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),340:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),341:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),342:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),343:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),344:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),345:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),346:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),347:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),348:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),349:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),350:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),351:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),352:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),353:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),354:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),355:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),356:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),357:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),358:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),359:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),360:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),361:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),362:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),363:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),364:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),365:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),366:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),367:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),368:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),369:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),370:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),371:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),372:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),373:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),374:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),375:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),376:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),377:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),378:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),379:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),380:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),381:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),382:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),383:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),384:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),385:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),386:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),387:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),388:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),389:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),390:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),391:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),392:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),393:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),394:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),395:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),396:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),397:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),398:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),399:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),400:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),401:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),402:je.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),403:je.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),404:je.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),405:je.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),406:je.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),407:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),408:je.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),409:je.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),410:je.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),411:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),412:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),413:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),414:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),415:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),419:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),420:je.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),421:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),422:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),423:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),424:je.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),425:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),426:je.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),427:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),428:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),429:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,64384))),430:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),431:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),432:je.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,50804))),433:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),434:je.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,50212))),435:je.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,49079))),436:je.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),437:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),438:je.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),439:je.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),440:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),441:je.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),442:je.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),443:je.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),444:je.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),445:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),446:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),447:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),448:je.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),449:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),450:je.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,24236))),451:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),452:je.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,92521))),453:je.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48412))),454:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),455:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),456:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),457:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),458:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),459:je.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,33154))),460:je.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),461:je.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),462:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),463:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,92132))),464:je.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),465:je.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),466:je.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),467:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),468:je.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),469:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),470:je.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),471:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),472:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),473:je.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),474:je.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),475:je.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),476:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),477:je.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),478:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),479:je.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),480:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),481:je.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),482:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),483:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),484:je.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),485:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),486:je.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),487:je.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),488:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":je.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,68513)))}}})}var A=__webpack_require__(5085),P=__webpack_require__(37989),D=__webpack_require__(71418),pe=__webpack_require__(26278),Oe=()=>je.createElement(D.Z,{size:"middle",className:pe.Z.loading}),an=__webpack_require__(89070),zn=__webpack_require__(61186),dn=__webpack_require__.n(zn),Mi=__webpack_require__(91392),Qa=__webpack_require__.n(Mi),Oa=__webpack_require__(34749),To=__webpack_require__.n(Oa),ds=__webpack_require__(19277),yo=__webpack_require__.n(ds),ys=__webpack_require__(10238),gc=__webpack_require__.n(ys),$l=__webpack_require__(33656),rc=__webpack_require__.n($l),nc=__webpack_require__(90111),fl=__webpack_require__.n(nc),ki=__webpack_require__(74959),El=__webpack_require__.n(ki),ic=__webpack_require__(23250),Uo=__webpack_require__.n(ic),no=__webpack_require__(58862),Wa=__webpack_require__.n(no),dl=__webpack_require__(58319),Sl=__webpack_require__.n(dl),ac=__webpack_require__(62053),hl=__webpack_require__.n(ac),pl=__webpack_require__(47477),Xu=__webpack_require__.n(pl),j=__webpack_require__(59717),r=__webpack_require__.n(j);dn().extend(To()),dn().extend(yo()),dn().extend(gc()),dn().extend(rc()),dn().extend(fl()),dn().extend(El()),dn().extend(Uo()),dn().extend(Wa()),dn().extend(Sl()),dn().extend(hl()),dn().extend(Xu()),dn().extend(r()),dn().extend(Qa());var a=Object.defineProperty,_=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,N=(De,He,Xe)=>He in De?a(De,He,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):De[He]=Xe,H=(De,He)=>{for(var Xe in He||(He={}))E.call(He,Xe)&&N(De,Xe,He[Xe]);if(_)for(var Xe of _(He))I.call(He,Xe)&&N(De,Xe,He[Xe]);return De},oe=(De,He,Xe)=>new Promise((lt,vt)=>{var Qt=Wr=>{try{Tr(Xe.next(Wr))}catch(Br){vt(Br)}},yr=Wr=>{try{Tr(Xe.throw(Wr))}catch(Br){vt(Br)}},Tr=Wr=>Wr.done?lt(Wr.value):Promise.resolve(Wr.value).then(Qt,yr);Tr((Xe=Xe.apply(De,He)).next())});const he="/react/build/",be=!1;function Se(){return oe(this,null,function*(){const De=(0,A.gD)(),{routes:He,routeComponents:Xe}=yield vc(De);yield De.applyPlugins({key:"patchRoutes",type:an.ApplyPluginsType.event,args:{routes:He,routeComponents:Xe}});const lt=De.applyPlugins({key:"modifyContextOpts",type:an.ApplyPluginsType.modify,initialValue:{}}),vt=lt.basename||"/",Qt=lt.historyType||"browser",yr=(0,P.fi)(H({type:Qt,basename:vt},lt.historyOpts));return De.applyPlugins({key:"render",type:an.ApplyPluginsType.compose,initialValue(){const Tr={useStream:!0,routes:He,routeComponents:Xe,pluginManager:De,mountElementId:"root",rootElement:lt.rootElement||document.getElementById("root"),loadingComponent:Oe,publicPath:he,runtimePublicPath:be,history:yr,historyType:Qt,basename:vt,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:lt.callback},Wr=De.applyPlugins({key:"modifyClientRenderOpts",type:an.ApplyPluginsType.modify,initialValue:Tr});return ec(Wr)}})()})}Se(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})();